- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tableGet (0.06 sec)
-
android/guava/src/com/google/common/collect/CompactHashSet.java
int tableIndex = hash & mask; int next = CompactHashing.tableGet(requireTable(), tableIndex); if (next == UNSET) { // uninitialized bucket if (newSize > mask) { // Resize and add new entry mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex); } else { CompactHashing.tableSet(requireTable(), tableIndex, newEntryIndex + 1); } } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively. */ static int tableGet(Object table, int index) { if (table instanceof byte[]) { return ((byte[]) table)[index] & BYTE_MASK; // unsigned read } else if (table instanceof short[]) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
int tableIndex = hash & mask; int next = CompactHashing.tableGet(requireTable(), tableIndex); if (next == UNSET) { // uninitialized bucket if (newSize > mask) { // Resize and add new entry mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex); } else { CompactHashing.tableSet(requireTable(), tableIndex, newEntryIndex + 1); } } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively. */ static int tableGet(Object table, int index) { if (table instanceof byte[]) { return ((byte[]) table)[index] & BYTE_MASK; // unsigned read } else if (table instanceof short[]) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0)