- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 969 for val3 (0.03 seconds)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
*/ class BouncyCastlePlatform private constructor() : Platform() { private val provider: Provider = BouncyCastleJsseProvider() override fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS", provider) override fun platformTrustManager(): X509TrustManager { val factory = TrustManagerFactory.getInstance( "PKIX", BouncyCastleJsseProvider.PROVIDER_NAME, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.3K bytes - Click Count (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi" private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8" private const val REPO_NAME = "OsgiTest" }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts
val main = sourceSets?.findByName("main") ?: sourceSets?.findByName("jvmMain") if (main != null) { this.sourceSets = listOf(main) } } val androidSignature = configurations.maybeCreate("androidSignature") val jvmSignature = configurations.maybeCreate("jvmSignature") configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck" val sourceSets = project.extensions.findByType<SourceSetContainer>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.9K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
url: HttpUrl, header: String, ): List<Cookie> { val result = mutableListOf<Cookie>() var pos = 0 val limit = header.length var pairEnd: Int while (pos < limit) { pairEnd = header.delimiterOffset(";,", pos, limit) val equalsSign = header.delimiterOffset('=', pos, pairEnd) val name = header.trimSubstring(pos, equalsSign) if (name.startsWith("$")) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
class Http2Server( private val baseDirectory: File, private val sslSocketFactory: SSLSocketFactory, ) : Http2Connection.Listener() { private fun run() { val serverSocket = ServerSocket(8888) serverSocket.reuseAddress = true while (true) { var socket: Socket? = null try { socket = serverSocket.accept() val sslSocket = doSsl(socket)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt
override fun beforeAll(context: ExtensionContext) { val store = context.getStore(Namespace.create(StartStop::class.java)) val staticFields = findAnnotatedFields( context.requiredTestClass, StartStop::class.java, ) { Modifier.isStatic(it.modifiers) } for (field in staticFields) { field.setAccessible(true) val server = field.get(null) as? MockWebServer ?: continue
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 2.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Nov 24 20:45:41 GMT 2025 - 5K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
@Suppress("ktlint:standard:max-line-length") class LoggingEventListenerTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private val handshakeCertificates = platform.localhostHandshakeCertificates() private val logRecorder = HttpLoggingInterceptorTest.LogRecorder( prefix = Regex("""\[\d+ ms] """),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
/** * Returns the result of dividing this by {@code val}. * * @since 14.0 */ public UnsignedLong dividedBy(UnsignedLong val) { return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value)); } /** * Returns this modulo {@code val}. * * @since 14.0 */ public UnsignedLong mod(UnsignedLong val) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
* connects successfully. This kicks off new attempts every 250 ms until a connect succeeds. */ internal class FastFallbackExchangeFinder( override val routePlanner: RoutePlanner, private val taskRunner: TaskRunner, ) : ExchangeFinder { private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L) private var nextTcpConnectAtNanos = Long.MIN_VALUE /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0)