- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,618 for call (0.02 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} fun wrap(eventRecorder: EventRecorder) = wrap(eventRecorder.eventListener) fun wrap(eventListenerFactory: EventListener.Factory) = EventListener.Factory { call -> ClientRuleEventListener(::addEvent) + eventListenerFactory.create(call) } /** * Returns an OkHttpClient for tests to use as a starting point. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* of occurrences of all other elements has not changed. * * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code * Set}: * * <pre> * collection.add(existingElement); * expectAdded(existingElement);</pre> * * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* state indicates that a peer has sent all of its outgoing messages and received all of its * incoming messages. But it does not guarantee that the other peer will successfully receive all of * its incoming messages. * * ## Message Queue * * Messages enqueued with [send] are buffered in an outgoing message queue. This queue has a 16 MiB
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
protected void finalize() { finalizerRan.countDown(); } }); } // We call the method only after checking that it's present. @IgnoreJRERequirement @SuppressWarnings({ "Java8ApiChecker", // This method is a helper, which we call from a `finally` block, as recommended. "ReachabilityFenceUsage", }) static void reachabilityFence(@Nullable Object o) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/MessageTest.java
}; } @Test void testRetainPayload() { // Initially, retainPayload should be false assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially"); // Call retainPayload and check if it becomes true message.retainPayload(); assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_internal.h
bool async = false; TFE_ContextDevicePlacementPolicy device_placement_policy{ TFE_DEVICE_PLACEMENT_SILENT}; // If true, use TFRT backend bool use_tfrt = false; // Whether to run elementary eager ops wrapped in a call op. bool run_eager_op_as_function = false; // Whether to rewrite jit_compile functions. bool jit_compile_rewrite = false; };Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 18 19:26:34 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/s3select/select.go
rsc.reader = nil } return rsc.offset, nil } // Read call to implement io.Reader func (rsc *ObjectReadSeekCloser) Read(p []byte) (n int, err error) { if rsc.reader == nil { rsc.reader, err = rsc.segmentReader(rsc.offset) if err != nil { return 0, err } } return rsc.reader.Read(p) } // Close call to implement io.Closer. Calling Read/Seek after Close reopens the
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
noNewExchangesEvent = !noNewExchanges noNewExchanges = true // If this route hasn't completed a call, avoid it for new connections. if (successCount == 0) { if (e != null) { connectFailed(call.client, route, e) } routeFailureCount++ } } Unit } if (noNewExchangesEvent) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Internal.java
* * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
rateLimitHelper.blockIp("192.168.1.100", 1L); assertEquals(1, rateLimitHelper.getBlockedIpCount()); // Guava Cache handles expiration automatically // Wait for cache to expire and call cleanup try { Thread.sleep(100L); } catch (final InterruptedException e) { // ignore } rateLimitHelper.cleanup();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0)