- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for 1013 (0.03 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} @Override public boolean removeAll(Collection<?> c) { if (c.isEmpty()) { return false; } int oldSize = size(); // calls refreshIfEmpty // Guava issue 1013: AbstractSet and most JDK set implementations are // susceptible to quadratic removeAll performance on lists; // use a slightly smarter implementation hereRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* is just more than the set's size. We augment the test by * assuming that sets have fast contains() performance, and other * collections don't. See * https://github.com/google/guava/issues/1013 */ if (collection instanceof Set && collection.size() > set.size()) { return Iterators.removeAll(set.iterator(), collection); } else { return removeAllImpl(set, collection.iterator());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
Route( factory.newAddress(uriHost = "1.2.3.4", uriPort = 1003), Proxy.NO_PROXY, InetSocketAddress(ipv4Address, 1003), ).toString(), ).isEqualTo("1.2.3.4:1003") assertThat( Route( factory.newAddress(uriHost = "example.com", uriPort = 1003), Proxy.NO_PROXY, InetSocketAddress(ipv4Address, 1003), ).toString(), ).isEqualTo("example.com at 1.2.3.4:1003")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 20.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
val clientReason = "unexpected Sec-WebSocket-Extensions in response header" serverListener.assertClosing(1010, clientReason) server.close(1010, "") clientListener.assertClosing(1010, "") clientListener.assertClosed(1010, "") serverListener.assertClosed(1010, clientReason) clientListener.assertExhausted() serverListener.assertExhausted() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, response.writeDataWireFormat(buffer, i * 10)); assertEquals(0, response.readSetupWireFormat(buffer, i * 10, 10)); assertEquals(0, response.readParametersWireFormat(buffer, i * 10, 10)); assertEquals(0, response.readDataWireFormat(buffer, i * 10, 10)); } } @Test @DisplayName("Test toString contains proper class name") void testToStringFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.putAll("bar", asList(4, 5)); multimap.putAll("foo", asList(6)); multimap.putAll("baz", asList(7, 8)); multimap.putAll("dog", asList(9)); multimap.putAll("bar", asList(10, 11)); multimap.putAll("cat", asList(12, 13, 14)); return multimap.keySet().iterator(); } @Override protected void verify(List<String> elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.contains(EMPTY, 1.0)).isFalse(); assertThat(Doubles.contains(ARRAY1, 2.0)).isFalse(); assertThat(Doubles.contains(ARRAY234, 1.0)).isFalse(); assertThat(Doubles.contains(new double[] {-1.0}, -1.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 2.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 3.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 4.0)).isTrue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test safe integer multiplication") void testSafeMultiplication() { assertEquals(100, InputValidator.safeMultiply(10, 10)); assertEquals(-100, InputValidator.safeMultiply(10, -10)); assertThrows(ArithmeticException.class, () -> InputValidator.safeMultiply(Integer.MAX_VALUE, 2));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// separate above expected = assertThrows( IllegalArgumentException.class, () -> range.intersection(Range.closed(10, 12))); assertThat(expected).hasMessageThat().contains("connected"); } public void testGap_overlapping() { Range<Integer> range = Range.closedOpen(3, 5);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
in 5..7 -> { data.writeByte('\n'.code) // 'data' on a line of its own. } in 8..9 -> { id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 10..12 -> { id = null // 'id' on a line of its own. } in 13..14 -> { type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 15..17 -> {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 4.3K bytes - Viewed (0)