- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 612 for Khan (0.02 sec)
-
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
// run() on the same thread that called execute() - such as in a thread pool, and think // that it was happening inline. As a side benefit, avoids holding on to the Thread object // longer than necessary. submitting = null; } } @SuppressWarnings("ShortCircuitBoolean") @Override public void run() { Thread currentThread = Thread.currentThread();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
public static int hashCode(boolean value) { return Boolean.hashCode(value); } /** * Compares the two specified {@code boolean} values in the standard way ({@code false} is * considered less than {@code true}). The sign of the value returned is the same as that of * {@code ((Boolean) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
public static int hashCode(boolean value) { return Boolean.hashCode(value); } /** * Compares the two specified {@code boolean} values in the standard way ({@code false} is * considered less than {@code true}). The sign of the value returned is the same as that of * {@code ((Boolean) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
@Override void visitClass(Class<?> fromClass) { if (to instanceof WildcardType) { return; // Okay to say Foo is <?> } // Can't map from a raw class to anything other than itself or a wildcard. // You can't say "assuming String is Integer". // And we don't support "assuming String is T"; user has to say "assuming T is String".Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
@DisplayName("Skip handles amount larger than available") void skipHandlesLargerThanAvailable() throws IOException { // Create message with 3 bytes of data byte[] data = new byte[] { 1, 2, 3 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(3), data)); SocketInputStream sis = new SocketInputStream(in); // Try to skip more than availableRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* operation. This may be incremented not in conjunction with {@code missCount} if the load occurs * as a result of a refresh or if the cache loader returned more items than was requested. {@code * missCount} may also be incremented not in conjunction with this (nor {@link * #loadExceptionCount}) on calls to {@code getIfPresent}. */ public long loadSuccessCount() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* operation. This may be incremented not in conjunction with {@code missCount} if the load occurs * as a result of a refresh or if the cache loader returned more items than was requested. {@code * missCount} may also be incremented not in conjunction with this (nor {@link * #loadExceptionCount}) on calls to {@code getIfPresent}. */ public long loadSuccessCount() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/recipes.md
Download a file, print its headers, and print its response body as a string. The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body as a stream. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
ByteArrayInputStream bais = new ByteArrayInputStream(buffer); SessionRequestPacket packet = new SessionRequestPacket(mockConfig); packet.length = 100; // Expect more data than available // Create a larger buffer for reading to avoid IndexOutOfBoundsException byte[] readBuffer = new byte[100]; assertThrows(IOException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
} @Test void testSetURLStreamHandlerFactory_ThrowsIllegalStateExceptionOnSecondAttempt() { // This test ensures that attempting to set the URLStreamHandlerFactory more than once // throws an IllegalStateException as per the contract. URLStreamHandlerFactory mockFactory1 = mock(URLStreamHandlerFactory.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)