- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 953 for size_a (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
int initialSize = getNumElements(); Iterator<K> iterator = getMap().keySet().iterator(); iterator.next(); iterator.remove(); assertEquals(initialSize - 1, getMap().size()); assertEquals(initialSize - 1, getMap().inverse().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
List<V> expectedValues = copyToList(values); assertTrue(multimap().put(key, value)); expectedValues.add(value); assertGet(key, expectedValues); assertEquals(value, values.get(values.size() - 1)); } } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
bufferIndex += 2; } return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */ @Override public int size () { return 4 + ( this.ciphers != null ? 2 * this.ciphers.length : 0 ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
protected Iterator<E> standardIterator() { return Multisets.iteratorImpl(this); } /** * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected int standardSize() { return Multisets.linearTimeSizeImpl(this); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
if err != nil { err = msgp.WrapError(err) return } for zb0007, zb0008 := range z { err = en.WriteString(zb0007) if err != nil { err = msgp.WrapError(err) return } // map header, size 2 // write "Bins" err = en.Append(0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73) if err != nil { return } err = en.WriteArrayHeader(uint32(24)) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
} private static ByteSource newByteSource(final int start, final int size) { return new ByteSource() { @Override public InputStream openStream() { return new ByteArrayInputStream(newPreFilledByteArray(start, size)); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
if (!src.isEmpty()) { List<PluginExecution> tgt = target.getExecutions(); Map<Object, PluginExecution> merged = new LinkedHashMap<>((src.size() + tgt.size()) * 2); for (PluginExecution element : src) { Object key = getPluginExecutionKey().apply(element); merged.put(key, element); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
d = extractDigit() } eliminateDigit(d) fmt.Printf("%c", d+'0') if i++; i%50 == 0 { fmt.Printf("\n") if i >= 1000 { break } } } fmt.Printf("\n%d calls; bit sizes: %d %d %d\n", runtime.NumCgoCall(), numer.Len(), accum.Len(), denom.Len())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
} } assertThat(requestsMade.size).isEqualTo(0) mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
.getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(values, sortedSet.comparator()); // some tests assume SEVERAL == 3 if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } } @CollectionSize.Require(ZERO) public void testEmptySetFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0)