- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for isIncompatible (0.12 seconds)
-
build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts
fun String.startsWithAnyOf(vararg prefixes: String): Boolean = prefixes.any { prefix -> startsWith(prefix) } fun Task.typeSimpleName(): String = DslObject(this).declaredType.simpleName fun isIncompatible(task: Task): Boolean = when { // Working tasks that would otherwise be matched by filters below task.name in listOf( "publishEmbeddedKotlinPluginMarkerMavenPublicationToTestRepository",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 15:18:40 GMT 2026 - 3.8K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K 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: Sun Apr 05 00:10:12 GMT 2026 - 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K 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) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* @param <T> the type of the decoded response data * @param responseType the class of the expected response type * @return decoded data * @throws SmbException if decoding fails or the response type is incompatible */ @SuppressWarnings("unchecked") public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException { final Decodable out = getOutputData();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/annotations/Beta.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Signifies that a public API (public class, method or field) is subject to incompatible changes, * or even removal, in a future release. An API bearing this annotation is exempt from any * compatibility guarantees made by its containing library. Note that the presence of this
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/annotations/Beta.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Signifies that a public API (public class, method or field) is subject to incompatible changes, * or even removal, in a future release. An API bearing this annotation is exempt from any * compatibility guarantees made by its containing library. Note that the presence of this
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 1.8K 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 Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 1.9K bytes - Click Count (0)