- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 590 for BOTH (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableMap.java
* nullness annotations in ImmutableMap and those in its own Map type. In response, it considers * the parameter and return type both to be platform types. As a result, Kotlin permits calls * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers * use `get(key) ?: defaultValue` instead of this method, anyway.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} } else if (messageOrClose is Close) { val close = messageOrClose writer!!.writeClose(close.code, close.reason) // We closed the writer: now both reader and writer are closed. if (sendOnClosed) { listener.onClosed(this, receivedCloseCode, receivedCloseReason!!) } } else { throw AssertionError() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} /* * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that * (so much for "black box") and try instances that both do and don't pass the check. The "don't" * half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* <p>A non-empty {@link SetMultimap} cannot be equal to a non-empty {@link ListMultimap}, since * their {@link #asMap} views contain unequal collections as values. However, any two empty * multimaps are equal, because they both have empty {@link #asMap} views. */ @Override boolean equals(@Nullable Object obj); /** * Returns the hash code for this multimap. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertArrayEquals(testFileId, closeResponse.getFileId()); assertNull(closeResponse.getFileName()); } @Test @DisplayName("Constructor should accept both null parameters") void testConstructorWithBothNull() { // When Smb2CloseResponse closeResponse = new Smb2CloseResponse(mockConfig, null, null); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers * the parameter and return type both to be platform types. As a result, Kotlin permits calls * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers * use `get(key) ?: defaultValue` instead of this method, anyway.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
// Leading. assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected) // Trailing. assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected) // Both. assertThat(parse(" http://host/ ")).isEqualTo(expected) // Both. assertThat(parse(" http://host/ ")).isEqualTo(expected) assertThat(parse("http://host/").resolve(" ")).isEqualTo(expected)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
README.md
You will see the JSON response as: ```JSON {"item_id": 5, "q": "somequery"} ``` You already created an API that: * Receives HTTP requests in the _paths_ `/` and `/items/{item_id}`. * Both _paths_ take `GET` operations (also known as HTTP _methods_). * The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 24.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} } /** * Destroys the DI container and stops the timeout manager. * This method ensures proper cleanup of resources when the crawler shuts down. * It's called both during normal shutdown and in error conditions. */ private static void destroyContainer() { if (running.getAndSet(false)) { TimeoutManager.getInstance().stop();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
TypeToken<?> convertToType = type.resolveType(Converter.class.getTypeParameters()[1]); @SuppressWarnings("unchecked") // returns default for both F and T T defaultConverter = (T) defaultConverter(convertFromType, convertToType); return defaultConverter; } if (type.getRawType().isInterface()) { return newDefaultReturningProxy(type);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0)