- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 80 for isIncompatible (0.1 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, ) assertThat(tlsSpec.isCompatible(socket)).isTrue() socket.enabledCipherSuites = arrayOf( CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, ) assertThat(tlsSpec.isCompatible(socket)).isFalse() } @Test fun allEnabledCipherSuites() { platform.assumeNotConscrypt()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param object the object to cast * @return object cast to type * @throws PACDecodingException if types are incompatible */ public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException { if (!type.isInstance(object)) { throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass()); } return type.cast(object); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
cmd/storage-datatypes.go
NoOp bool `msg:"np"` } // DiskInfo is an extended type which returns current // disk usage per path. // The above means that any added/deleted fields are incompatible. // // The above means that any added/deleted fields are incompatible. // //msgp:tuple DiskInfo type DiskInfo struct { Total uint64 Free uint64 Used uint64 UsedInodes uint64 FreeInodes uint64 Major uint32
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
// Test failed casting Object obj = 123; // Integer assertThrows(PACDecodingException.class, () -> { ASN1Util.as(String.class, obj); }, "Should throw PACDecodingException for incompatible types"); } // --- as(Class, Enumeration) --- @Test void testAs_Enumeration_Success() throws PACDecodingException { // Test successful casting from enumerationCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
assertSame(innerTree, inner, "Should return correct inner tree"); } /** * Test for unwrap with incompatible type. * Verifies behavior when trying to unwrap to an incompatible type. */ @Test void testUnwrap_incompatibleType() { when(smbTree.unwrap(IncompatibleTree.class)).thenReturn(null);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true * <li>comparing each object against null returns false * <li>comparing each object against an instance of an incompatible class returns false * <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
LICENSES/vendor/cyphar.com/go-pathrs/LICENSE
any references to the name of the license steward (except to note that such modified license differs from this License). 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Wed Nov 12 14:46:31 GMT 2025 - 16.5K 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("me.champeau.gradle:japicmp-gradle-plugin") implementation(projects.dependencyModules) implementation("gradlebuild:basics") implementation("gradlebuild:module-identity")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
import static com.google.common.io.FileBackedOutputStreamTest.write; import com.google.common.testing.GcFinalization; import java.io.File; import org.jspecify.annotations.NullUnmarked; /** * Android-incompatible tests for {@link FileBackedOutputStream}. * * @author Chris Nokleberg */ @AndroidIncompatible // Finalization probably just doesn't happen fast enough? @NullUnmarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt
// They can depend on nullaway-undefined, which any external dependency is going to be. producerValue == NullawayState.DISABLED && consumerValue == NullawayState.ENABLED -> incompatible() else -> compatible() } } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 1.9K bytes - Click Count (0)