- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 578 for apple (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
cipherSuites: List<CipherSuite>? = null, ): OkHttpClient = this.client .newBuilder() .apply { if (connectionSpec != null) { connectionSpecs( listOf( ConnectionSpec .Builder(connectionSpec) .apply { if (tlsVersion != null) { tlsVersions(tlsVersion) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
@Override public Optional<?> apply(@Nullable Object obj) { return Optional.fromNullable(obj); } }; private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE = new Function<Optional<?>, @Nullable Object>() { @Override public @Nullable Object apply(Optional<?> optional) { return optional.orNull(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
Function<String, String> internerFunction = Interners.asFunction(Interners.<String>newStrongInterner()); assertSame(canonical, internerFunction.apply(canonical)); assertSame(canonical, internerFunction.apply(not)); } public void testNullPointerExceptions() { new NullPointerTester().testAllPublicStaticMethods(Interners.class); } public void testConcurrencyLevel_zero() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
import java.net.Proxy import okhttp3.internal.http.RecordingProxySelector import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java
@Test void testDefaultPolicy() throws Exception { MetadataGraphEdge res; res = policy.apply(e1, e2); assertEquals("1.1", res.getVersion(), "Wrong depth edge selected"); res = policy.apply(e1, e3); assertEquals("1.2", res.getVersion(), "Wrong version edge selected"); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
gorm.go
if opt != nil { if applyErr := opt.Apply(config); applyErr != nil { return nil, applyErr } defer func(opt Option) { if skipAfterInitialize { return } if errr := opt.AfterInitialize(db); errr != nil { err = errr } }(opt) } } if d, ok := dialector.(interface{ Apply(*Config) error }); ok { if err = d.Apply(config); err != nil { return } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
import org.junit.jupiter.api.Assertions.fail import org.junit.jupiter.api.extension.AfterEachCallback import org.junit.jupiter.api.extension.BeforeEachCallback import org.junit.jupiter.api.extension.ExtensionContext /** * Apply this rule to all tests. It adds additional checks for leaked resources and uncaught * exceptions. * * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically * configured for testing.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class) fun logHandler() = ConsoleHandler().apply { level = Level.FINE formatter = object : SimpleFormatter() { override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
private fun allAscii(encoding: Encoding) = apply { for (i in 0..127) { encodings[i] = encoding } } fun override( encoding: Encoding, vararg codePoints: Int, ) = apply { for (codePoint in codePoints) { encodings[codePoint] = encoding } } fun nonPrintableAscii(encoding: Encoding) = apply { encodings[ 0x0] = encoding // Null character
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0)