- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 2,308 for _size (0.02 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
assertEquals(1, Iterators.size(registry.getSubscribers(1))); registry.register(new IntegerSubscriber()); assertEquals(3, Iterators.size(registry.getSubscribers(""))); assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); assertEquals(2, Iterators.size(registry.getSubscribers(1))); } public void testGetSubscribers_returnsImmutableSnapshot() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0) -
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
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java
/** * The name of the scheduled job. */ @Required @Size(max = 100) public String name; /** * The target class for the scheduled job. */ @Required @Size(max = 100) public String target; /** * The cron expression defining when the job should run. */ @Size(max = 100) @CronExpression public String cronExpression; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java
} /** * Returns the page size. * * @return The page size. */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; } /** * Sets the page size. * * @param pageSize The page size. */ public void setPageSize(final int pageSize) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (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); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (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); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
val rule = findMatchingRule(domainLabels) if (domainLabels.size == rule.size && rule[0][0] != EXCEPTION_MARKER) { return null // The domain is a public suffix. } val firstLabelOffset = if (rule[0][0] == EXCEPTION_MARKER) { // Exception rules hold the effective TLD plus one. domainLabels.size - rule.size } else {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
var buf bytes.Buffer gob.NewEncoder(&buf).Encode(v) encoded := buf.Bytes() b.Log("Size:", buf.Len(), "bytes") b.SetBytes(1) b.ReportAllocs()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
internal/hash/reader.go
CalculatedSHA256: sha256Hex, } } if r.size >= 0 && size >= 0 && r.size != size { return nil, SizeMismatch{Want: r.size, Got: size} } r.checksum = MD5 r.contentSHA256 = SHA256 if r.size < 0 && size >= 0 { r.src = etag.Wrap(ioutil.HardLimitReader(r.src, size), r.src) r.size = size } if r.actualSize <= 0 && actualSize >= 0 { r.actualSize = actualSizeRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java
*/ @Required @Size(max = 200) public String name; /** * The description of the web configuration. */ @Size(max = 1000) public String description; /** * The URLs to be crawled by this web configuration. */ @Required @UriType(protocolType = ProtocolType.WEB) @CustomSize(maxKey = "form.admin.max.input.size") public String urls; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0)