6 references to ENTRY_MASK
System.Runtime.Caching (6)
System\Runtime\Caching\CacheUsage.cs (6)
28
Debug.Assert((Math.Abs(entryIndex) &
ENTRY_MASK
) == (Math.Abs(entryIndex)), "(Math.Abs(entryIndex) & ENTRY_MASK) == Math.Abs(entryIndex)");
31
_ref = ((((uint)pageIndex) << PAGE_SHIFT) | (((uint)(entryIndex)) &
ENTRY_MASK
));
51
int result = (int)(sbyte)(_ref &
ENTRY_MASK
);
61
int result = (int)(sbyte)(_ref &
ENTRY_MASK
);
67
internal bool IsRef1 => ((int)(sbyte)(_ref &
ENTRY_MASK
)) > 0;
69
internal bool IsRef2 => ((int)(sbyte)(_ref &
ENTRY_MASK
)) < 0;