- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for isCompatible (0.06 seconds)
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertFalse(bf1.isCompatible(bf2)); assertThrows(IllegalArgumentException.class, () -> bf1.putAll(bf2)); assertFalse(bf2.isCompatible(bf1)); assertThrows(IllegalArgumentException.class, () -> bf2.putAll(bf1)); } public void testPutAllWithSelf() { BloomFilter<Integer> bf1 = BloomFilter.create(integerFunnel(), 1); assertFalse(bf1.isCompatible(bf1));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
connectionSpecs: List<ConnectionSpec>, sslSocket: SSLSocket, ): ConnectPlan? { for (i in connectionSpecIndex + 1 until connectionSpecs.size) { if (connectionSpecs[i].isCompatible(sslSocket)) { return copy(connectionSpecIndex = i, isTlsFallback = (connectionSpecIndex != -1)) } } return null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
* least one cipher suite enabled. * * For protocols, at least one of the [required protocols][tlsVersions] must match the socket's * enabled protocols. */ fun isCompatible(socket: SSLSocket): Boolean { if (!isTls) { return false } if (tlsVersionsAsString != null && !tlsVersionsAsString.hasIntersection(socket.enabledProtocols, naturalOrder()) ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 13.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* <li>have the same strategy * <li>have equal funnels * </ul> * * @param that The Bloom filter to check for compatibility. * @since 15.0 */ public boolean isCompatible(BloomFilter<T> that) { checkNotNull(that); return this != that && this.numHashFunctions == that.numHashFunctions && this.bitSize() == that.bitSize()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun -deprecated_tlsVersions ()Ljava/util/List; public final fun cipherSuites ()Ljava/util/List; public fun equals (Ljava/lang/Object;)Z public fun hashCode ()I public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z public final fun isTls ()Z public final fun supportsTlsExtensions ()Z public final fun tlsVersions ()Ljava/util/List; public fun toString ()Ljava/lang/String; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun -deprecated_tlsVersions ()Ljava/util/List; public final fun cipherSuites ()Ljava/util/List; public fun equals (Ljava/lang/Object;)Z public fun hashCode ()I public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z public final fun isTls ()Z public final fun supportsTlsExtensions ()Z public final fun tlsVersions ()Ljava/util/List; public fun toString ()Ljava/lang/String; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions val compatible: Boolean = connectionSpec.isCompatible( localhost().sslSocketFactory().createSocket() as SSLSocket, ) } @Test fun connectionSpecBuilder() { var builder = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
build-logic/binary-compatibility/build.gradle.kts
plugins { id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin") id("gradlebuild.build-logic.groovy-dsl-gradle-plugin") } description = "Provides a plugin for configuring japicmp-gradle-plugin to detect binary incompatible changes" dependencies { api(buildLibs.japiCmpPlugin) implementation(projects.dependencyModules) implementation("gradlebuild:basics") implementation("gradlebuild:module-identity")Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 09:06:26 GMT 2026 - 927 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java
@NullUnmarked final class UnannotatedJavaClass { // The Checker Framework assumes that unannotated types are non-null instead of unspecified. @SuppressWarnings("nullness:return.type.incompatible") static Object getNull() { return null; } private UnannotatedJavaClass() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 1K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts
freeCompilerArgs.addAll( "-Xjvm-default=all", "-Xexpect-actual-classes", ) } } extensions.configure<TapmocExtension> { // Fail the build if any api dependency exposes incompatible Kotlin metadata, Kotlin stdlib, or Java bytecode version. checkDependencies()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Feb 09 14:40:26 GMT 2026 - 1.4K bytes - Click Count (0)