- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 832 for Entries (0.05 seconds)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int nSeededEntries = 100; Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress // entries for (int i = 0; i < nSeededEntries; i++) { String s = "b" + i; cache.getUnchecked(s); expectedKeys.add(s); } computationShouldWait.set(true);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
cmd/naughty-disk_test.go
if err := d.calcError(); err != nil { return err } return d.disk.WalkDir(ctx, opts, wr) } func (d *naughtyDisk) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) { if err := d.calcError(); err != nil { return []string{}, err } return d.disk.ListDir(ctx, origvolume, volume, dirPath, count) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Striped64.java
* is a power of two. Indexing uses masked per-thread hash codes. * Nearly all declarations in this class are package-private, * accessed directly by subclasses. * * Table entries are of class Cell; a variant of AtomicLong padded * to reduce cache contention on most processors. Padding is * overkill for most Atomics because they are usually irregularly
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
this.builder = builder; } @Override protected Map<String, String> create(Entry<String, String>[] entries) { LocalCache<String, String> map = makeLocalCache(builder); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } } @AndroidIncompatible // test-suite buildersCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
this.builder = builder; } @Override protected Map<String, String> create(Entry<String, String>[] entries) { LocalCache<String, String> map = makeLocalCache(builder); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } } @AndroidIncompatible // test-suite buildersCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
toResolve[i].acctName = "user" + (i + 1); } return null; }).when(cache).resolveSids0(any(), any(), any()); // Resolve first two entries cache.resolveSids(ctx, null, arr, 0, 2); // Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
void testMirrorStopOnFirstMatch() { // exact matches win first Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2"); Mirror mirrorA = newMirror("a", "a", "http://a"); // make sure repeated entries are skipped Mirror mirrorA3 = newMirror("a", "a", "http://a3"); Mirror mirrorB = newMirror("b", "b", "http://b"); Mirror mirrorC = newMirror("c", "d,e", "http://de");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 10.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
int size = 0; for (Multiset.Entry<E> entry : getMultiset().entrySet()) { size += entry.getCount(); } assertEquals( "multiset.size() should be the sum of the counts of all entries", size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
README.md
SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced); // Specialized collections LruHashMap<String, Object> lruCache = new LruHashMap<>(100); // LRU cache with max 100 entries CaseInsensitiveMap<String> configMap = new CaseInsensitiveMap<>(); ``` ### Resource Management ```java import org.codelibs.core.io.*; // Resource loading and management
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
}; ComponentUtil.setFessConfig(fessConfig); try { queryFieldConfig.init(); // Should handle invalid formats gracefully // Check that only valid entries are added assertTrue(queryFieldConfig.additionalDefaultList.size() >= 0); } catch (NumberFormatException e) { // Expected for invalid float format } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0)