- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 70 for entries2 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableMap.java
Builder(int initialCapacity) { this.entries = new @Nullable Entry[initialCapacity]; this.size = 0; this.entriesUsed = false; } private void ensureCapacity(int minCapacity) { if (minCapacity > entries.length) { entries = Arrays.copyOf( entries, ImmutableCollection.Builder.expandedCapacity(entries.length, minCapacity)); entriesUsed = false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
List<Entry<K, V>> entries = copyToList( getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { c = entries.get(2); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX); Set<?> expected = new HashMap<>(cache.asMap()).entrySet(); assertThat(entries).containsExactlyElementsIn(expected); assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
final List<Entry<K, V>> entries; @Nullable Comparator<? super V> valueComparator; public Builder() { this.entries = Lists.newArrayList(); } Builder(int initCapacity) { this.entries = Lists.newArrayListWithCapacity(initCapacity); } @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { entries.add(entryOf(key, value)); return this;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K 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) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Set<Entry<@Nullable String, @Nullable Boolean>> entries = map.entrySet(); assertTrue(entries.contains(immutableEntry("a", true))); assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null))); assertTrue( entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null))); assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Set<Entry<@Nullable String, @Nullable Boolean>> entries = map.entrySet(); assertTrue(entries.contains(immutableEntry("a", true))); assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null))); assertTrue( entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null))); assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
Set<Entry<String, Collection<Integer>>> entries = asMap.entrySet(); assertFalse(entries.contains((Object) 4.5)); assertFalse(entries.remove((Object) 4.5)); assertFalse(entries.contains(Maps.immutableEntry("foo", singletonList(1)))); assertFalse(entries.remove(Maps.immutableEntry("foo", singletonList(1)))); assertFalse(entries.contains(Maps.immutableEntry("foo", new LinkedHashSet<>(asList(1, 2)))));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
internal/lru/lru.go
const numBuckets = 100 // NewLRU returns a new thread-safe cache with expirable entries. // // Size parameter set to 0 makes cache of unlimited size, e.g. turns LRU mechanism off. // // Providing 0 TTL turns expiring off. // // Delete expired entries every 1/100th of ttl value. Goroutine which deletes expired entries runs indefinitely.
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0)