- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,056 for sizeOf (0.17 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
assertFalse( "Sets of different sizes should not be equal.", getSet().equals(MinimalSet.from(fewerElements))); } public void testEquals_largerSet() { Collection<E> moreElements = getSampleElements(getNumElements() + 1); assertFalse( "Sets of different sizes should not be equal.", getSet().equals(MinimalSet.from(moreElements))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
if (synonymItemList == null) { reload(null); } if (offset >= synonymItemList.size() || offset < 0) { return new PagingList<>(Collections.<SynonymItem> emptyList(), offset, size, synonymItemList.size()); } int toIndex = offset + size; if (toIndex > synonymItemList.size()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
"cache-control", "no-store", "user-agent", "OkHttp", ) val headerMap = headers.toMultimap() assertThat(headerMap["cache-control"]!!.size).isEqualTo(2) assertThat(headerMap["user-agent"]!!.size).isEqualTo(1) } @Test fun toMultimapUsesCanonicalCase() { val headers = Headers.headersOf( "cache-control", "no-store",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
for (int j = 0; j < 2; j++) { nonnegInt[i][j] = randomNonNegativeBigInteger(Integer.SIZE - 2).intValue(); nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue(); } do { for (int j = 0; j < 2; j++) { intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue(); } } while (!Impl.GUAVA.noAddOverflow(intsToAdd[i][0], intsToAdd[i][1]));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
// no equals and hashCode; it would break the contract! } /** Returns the number of elements in {@code iterable}. */ public static int size(Iterable<?> iterable) { return (iterable instanceof Collection) ? ((Collection<?>) iterable).size() : Iterators.size(iterable.iterator()); } /** * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
} response = r; executeCallbacks = new ArrayList<>(doneCallbacks.size()); Consumer<RESPONSE> callback; while ((callback = doneCallbacks.poll()) != null) { executeCallbacks.add(callback); } } if (executeCallbacks.size() > 0) { try { executeCallbacks.stream().forEach(callback -> callback.accept(response));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertEquals("false", depArtifact.getProperty("includesDependencies", null)); assertEquals(4, depArtifact.getProperties().size()); assertEquals("compile", dep2.getScope()); assertFalse(dep2.isOptional()); assertEquals(0, dep2.getExclusions().size()); depArtifact = dep2.getArtifact(); assertEquals("ut.simple", depArtifact.getGroupId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
value.put(keys.get(3), "str"); docMap = new DocMap(value); assertFalse(docMap.isEmpty()); Set<Map.Entry<String, Object>> actual = docMap.entrySet(); assertTrue(actual.size() == keys.size()); docMap.clear(); assertTrue(docMap.isEmpty()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/archive/tar/writer_test.go
switch maker := v.maker.(type) { case makeReg: fw = ®FileWriter{w, maker.size} wantStr = maker.wantStr case makeSparse: if !validateSparseEntries(maker.sph, maker.size) { t.Fatalf("invalid sparse map: %v", maker.sph) } spd := invertSparseEntries(maker.sph, maker.size) fw = ®FileWriter{w, maker.makeReg.size} fw = &sparseFileWriter{fw, spd, 0} wantStr = maker.makeReg.wantStr
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0)