- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 91 for isIncompatible (0.22 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) -
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.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-testlib/test/com/google/common/testing/EqualsTesterTest.java
return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */ public void testTestEqualsEmptyLists() { equalsTester.addEqualityGroup(reference); equalsTester.testEquals(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K 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) -
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 Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Nov 12 14:46:31 GMT 2025 - 16.5K 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)