- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 407 for stopfn (0.15 seconds)
-
CHANGELOG.md
supply trailers for a `Response`. * New: `Path.asRequestBody()` is now a non-experimental API. * New: `FileDescriptor.toRequestBody()` is now a non-experimental API. * New: Stop using experimental coroutines APIs in our `okhttp-coroutines` artifact. * Breaking: Move `gzip` from `RequestBody` to `Request.Builder`. This new API handles both
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
} /** * OkHttp currently doesn't implement failing the request body stream independently of failing the * corresponding response body stream. This is necessary if we want servers to be able to stop * inbound data and send an early 400 before the request body completes. * * This test sends a slow request that is canceled by the server. It expects the response to still
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
if (expectedOldCount != 0) { return false; } else if (newCount == 0) { return true; } else { // if our write lost the race, it must have lost to a nonzero value, so we can stop return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null; } } int oldValue = existingCounter.get(); if (oldValue == expectedOldCount) { if (oldValue == 0) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
tensorflow/c/c_api.h
// Starts an in-process TensorFlow server. TF_CAPI_EXPORT extern void TF_ServerStart(TF_Server* server, TF_Status* status); // Stops an in-process TensorFlow server. TF_CAPI_EXPORT extern void TF_ServerStop(TF_Server* server, TF_Status* status); // Blocks until the server has been successfully stopped (via TF_ServerStop or // TF_ServerClose).
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
client = client .newBuilder() // Set the bad override directly on the client .withOverride(badValue) .addInterceptor { chain -> // the only way to stop a bad override of a client is with a good override of an interceptor chain .run { if (testItFails) { this } else {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
# name-prepped away to nothing. # U+200B, U+2060, and U+FEFF, are ignored http://GOO\u200b\u2060\ufeffgoo.com s:http p:/ h:googoo.com # Ideographic full stop (full-width period for Chinese, etc.) should be # treated as a dot. # U+3002 is mapped to U+002E (dot) http://www.foo\u3002bar.com s:http p:/ h:www.foo.bar.com # Invalid unicode characters should fail...
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 14.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))); } } } /** Resets the contents of sortedMultiset to have entries a, c, for the navigation tests. */ // Needed to stop Eclipse whining private void resetWithHole() { List<E> container = new ArrayList<>(); container.addAll(nCopies(a.getCount(), a.getElement())); container.addAll(nCopies(c.getCount(), c.getElement()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
cmd/erasure-metadata.go
} // Previously we checked if we had quorum on DataDir value. // We have removed this check to allow reading objects with different DataDir // values in a few drives (due to a rebalance-stop race bug) // provided their their etags or ModTimes match. if !meta.Deleted && meta.Size != 0 { fmt.Fprintf(h, "%v+%v", meta.Erasure.DataBlocks, meta.Erasure.ParityBlocks)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
} }; final boolean result = helper.tryStartOperation("test_op", null, 3); assertFalse(result); assertEquals(3, cleanupCallCount.get()); // Called with retries=3,2,1; stops when retries=0 } // =================================================================================== // completeOperation SafetyCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
/** * Degrades this connection such that new streams can neither be created locally, nor accepted * from the remote peer. Existing streams are not impacted. This is intended to permit an endpoint * to gracefully stop accepting new requests without harming previously established streams. */ @Throws(IOException::class) fun shutdown(statusCode: ErrorCode) { writer.withLock { val lastGoodStreamId: Int
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)