- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,698 for _size (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
createNewCacheWithSize(10) set("a", "a", "aaa") // size 4 set("b", "bb", "bbbb") // size 6 cache.maxSize = 20 set("c", "c", "c") // size 12 assertThat(cache.size()).isEqualTo(12) } @Test fun shrinkMaxSizeEvicts() { cache.close() createNewCacheWithSize(20) set("a", "a", "aaa") // size 4 set("b", "bb", "bbbb") // size 6 set("c", "c", "c") // size 12
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
@Nullable Node<K, V> previous; int expectedModCount = modCount; NodeIterator(int index) { int size = size(); checkPositionIndex(index, size); if (index >= (size / 2)) { previous = tail; nextIndex = size; while (index++ < size) { previous(); } } else { next = head; while (index-- > 0) { next();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
// not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100); assertTrue(Striped.lock(256).size() == 256); assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } public void testWeakImplementations() { for (Striped<?> striped : weakImplementations()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
// not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100); assertTrue(Striped.lock(256).size() == 256); assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } public void testWeakImplementations() { for (Striped<?> striped : weakImplementations()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
public void test1() throws Exception { DisposableUtil.add(new TestDisposable("a")); assertThat(DisposableUtil.disposables.size(), is(1)); DisposableUtil.dispose(); assertThat(count, is(1)); assertThat(names, is("a")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * @throws Exception */ @Test public void test2() throws Exception {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
rowKeyToIndex = table.rowKeyToIndex; columnKeyToIndex = table.columnKeyToIndex; @SuppressWarnings("unchecked") @Nullable V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()]; array = copy; for (int i = 0; i < rowList.size(); i++) { arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length); } } private abstract static class ArrayMap<K, V extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
/** The number of key-value pairs in this form-encoded body. */ @get:JvmName("size") val size: Int get() = encodedNames.size @JvmName("-deprecated_size") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "size"), level = DeprecationLevel.ERROR, ) fun size(): Int = size fun encodedName(index: Int): String = encodedNames[index]Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
* @param index The index name. */ public void setIndex(final String index) { this.index = index; } /** * Sets the size of results. * @param size The size. */ public void setSize(final int size) { this.size = size; } /** * Sets the seed for random function. * @param seed The seed. */ public void setSeed(final String seed) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Aug 07 02:41:28 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
private final long size; private final long lastModified; private final boolean isDirectory; private final long attributes; private final long creationTime; private final long lastAccessTime; /** * Create file info from name and attributes * * @param name file name * @param size file sizeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0)