- Sort Score
- Num 10 results
- Language All
Results 1071 - 1080 of 3,637 for throwIf (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
val body = response.body.string() responses.add(RecordedResponse(call.request(), response, null, body, null)) (this as Object).notifyAll() } /** * Returns the recorded response triggered by `request`. Throws if the response isn't * enqueued before the timeout. */ @Synchronized fun await(url: HttpUrl): RecordedResponse { val timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ThreadUtil.java
* @throws InterruptedRuntimeException * if any thread has interrupted the current thread. */ public static void sleep(final long millis) { if (millis < 1L) { return; } try { Thread.sleep(millis); } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
} return new FilteredCollection<>(checkNotNull(unfiltered), checkNotNull(predicate)); } /** * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method * throws a {@code ClassCastException} or {@code NullPointerException}. */ static boolean safeContains(Collection<?> collection, @Nullable Object object) { checkNotNull(collection); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
} catch (e: ClassNotFoundException) { null } catch (e: RuntimeException) { // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to // JEP 403 Strongly Encapsulate JDK Internals. if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") { throw e } null } } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
return this; } /** * Specifies the expected number of nodes in the network. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) { this.expectedNodeCount = checkNonNegative(expectedNodeCount); return this; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
*/ public int getLeaseFlags() { return leaseFlags; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { int start = bufferIndex; if (len < 32) { throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len); } // Read lease V1 data (32 bytes) byte[] keyBytes = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
return dstIndex - start; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { final int start = bufferIndex; if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
return md == null ? "no metadata" : md.toString(); } // ------------------------------------------------------------------ public String graphHash() throws MetadataResolutionException { if (md == null) { throw new MetadataResolutionException( "treenode without metadata, parent: " + (parent == null ? "null" : parent.toString())); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* this method is guaranteed to be called once the computation is complete. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and * logged. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0)