- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 544 for acceptT2 (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
val empty = CompressionInterceptor() val client = clientTestRule .newClientBuilder() .addInterceptor(empty) .addInterceptor { chain -> assertThat(chain.request().header("Accept-Encoding")).isNull() Response .Builder() .request(chain.request()) .protocol(Protocol.HTTP_1_1) .code(200) .message("OK")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
} @Override public SocketAddress getLocalSocketAddress() { return endpoint; } @Override public Socket accept() throws IOException { try { UnixSocketChannel channel = serverSocketChannel.accept(); return new TunnelingUnixSocket(path, channel, endpoint); } catch (ClosedChannelException e) { SocketException exception = new SocketException();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 12 16:33:52 GMT 2019 - 3.1K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java
} if (false == line.startsWith(leadingSpaces)) { log.accept(lines.lastLineNumber, "snippet line should start with [" + leadingSpaces + "]"); continue; } int width = line.length() - leadingSpaces.length(); if (width > max) { log.accept(lines.lastLineNumber, "snippet line should be no more than [" + max + "] characters but was [" + width + "]");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 10 23:06:44 GMT 2021 - 3.1K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
[ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: SchemaType | list[SchemaType] | None, ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value) assert schema.type == type_value def test_invalid_type_value() -> None:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectSpliterators.java
@Override public boolean tryAdvance(Consumer<? super T> action) { return delegate.tryAdvance((IntConsumer) i -> action.accept(function.apply(i))); } @Override public void forEachRemaining(Consumer<? super T> action) { delegate.forEachRemaining((IntConsumer) i -> action.accept(function.apply(i))); } @Override public @Nullable Spliterator<T> trySplit() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 20.5K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
* limitations under the License. */ package okhttp3.sse import okhttp3.Response abstract class EventSourceListener { /** * Invoked when an event source has been accepted by the remote peer and may begin transmitting * events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } open fun onEvent( eventSource: EventSource,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
.assertHeader("Donut", "a") .assertHeader("ETag", "v1") .assertRequestUrl(server.url("/")) .assertRequestHeader("Accept-Language") // No Vary on Accept-Language. .assertRequestHeader("Accept-Charset", "UTF-8") // Because of Vary on Accept-Charset. .assertRequestHeader("If-None-Match") // This wasn't present in the original request.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
cmd/typed-errors.go
var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted") // error returned in SFTP when user used certificate which does not contain principal(s) var errSftpCertWithoutPrincipals = errors.New("certificates without principal(s) are not accepted") // error returned when group name contains reserved characters
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 5.9K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) { collector.accumulator().accept(accum, input); } return accum; } }, /** Get one accumulator for each element and merge the accumulators left-to-right. */ MERGE_LEFT_ASSOCIATIVE { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call * is accepted, then this future is guaranteed to have been completed with the supplied future by * the time this method returns. If the supplied future is not done and the call is accepted, then * the future will be <i>set asynchronously</i>. Note that such a result, though not yet known,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0)