- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 863 for entries (0.23 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
builder.put(entry.getKey(), entry.getValue()); } return ImmutableMap.copyOf(builder); } } public static class ImmutableMapCopyOfEntriesGenerator extends TestStringMapGenerator { @Override protected Map<String, String> create(Entry<String, String>[] entries) { return ImmutableMap.copyOf(asList(entries)); } } public static class ImmutableMapUnhashableValuesGenerator
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
private final transient ImmutableList<Entry<K, V>> entries; RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) { this(map, asImmutableList(entries)); } RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) { this.map = map; this.entries = entries; } @Override ImmutableMap<K, V> map() { return map; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
// If the `next` bits in `entries[i]` are 0 that means there are no further entries for the given // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value. // // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator { @Override protected BiMap<String, String> create(Entry<String, String>[] entries) { ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
// If the `next` bits in `entries[i]` are 0 that means there are no further entries for the given // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value. // // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals(0, response.status, "Status should be 0."); assertEquals(2, response.numEntries, "Number of entries should be 2."); } /** * Tests the readDataWireFormat method. * This test simulates a response with two share entries. */ @Test void testReadDataWireFormat() throws IOException { NetShareEnumResponse response = new NetShareEnumResponse();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
} private final transient Map<K, V> delegateMap; private final transient ImmutableList<Entry<K, V>> entries; JdkBackedImmutableMap(Map<K, V> delegateMap, ImmutableList<Entry<K, V>> entries) { this.delegateMap = delegateMap; this.entries = entries; } @Override public int size() { return entries.size(); } @Override public @Nullable V get(@Nullable Object key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
if (entries instanceof Collection) { ensureCapacity(size + ((Collection<?>) entries).size()); } for (Entry<? extends K, ? extends V> entry : entries) { put(entry); } return this; } /** * Configures this {@code Builder} to order entries by value according to the specified * comparator.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
entryIndex = next - 1; entry = entries[entryIndex]; next = CompactHashing.getNext(entry, mask); } while (next != srcNext); // here, entries[entryIndex] points to the old entry location; update it entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask); } } else { elements[dstIndex] = null; entries[dstIndex] = 0; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 23.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
@Test @DisplayName("Happy path without filter: iterates all entries in order") void happyPath_noFilter_returnsAll() throws Exception { SmbFile parent = newParent(); List<FileEntry> entries = Arrays.asList(entry("foo", SmbConstants.TYPE_SHARE), entry("bar", SmbConstants.TYPE_SHARE)); ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null); // hasNext/next sequence over two elementsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0)