- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for checkcast (0.23 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt
import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.primitiveTypeStrings import org.gradle.kotlin.dsl.support.bytecode.ALOAD import org.gradle.kotlin.dsl.support.bytecode.ARETURN import org.gradle.kotlin.dsl.support.bytecode.CHECKCAST import org.gradle.kotlin.dsl.support.bytecode.INVOKEINTERFACE import org.gradle.kotlin.dsl.support.bytecode.INVOKESTATIC import org.gradle.kotlin.dsl.support.bytecode.InternalName
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 40.2K bytes - Viewed (0) -
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java
} public void _NEW(Type type) { super.visitTypeInsn(NEW, type.getInternalName()); } public void _CHECKCAST(Type type) { _CHECKCAST(type.getInternalName()); } private void _CHECKCAST(String internalName) { super.visitTypeInsn(CHECKCAST, internalName); } public void _INSTANCEOF(Type type) { super.visitTypeInsn(INSTANCEOF, type.getInternalName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:29 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
@Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly if (object == null) { throw new NullPointerException(); } } Platform.checkCast(type, object); // behave badly return Arrays.asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
@Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly if (object == null) { throw new NullPointerException(); } } Platform.checkCast(type, object); // behave badly return Arrays.asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
import org.gradle.kotlin.dsl.support.bytecode.ALOAD import org.gradle.kotlin.dsl.support.bytecode.ARETURN import org.gradle.kotlin.dsl.support.bytecode.ASTORE import org.gradle.kotlin.dsl.support.bytecode.CHECKCAST import org.gradle.kotlin.dsl.support.bytecode.DUP import org.gradle.kotlin.dsl.support.bytecode.GETSTATIC import org.gradle.kotlin.dsl.support.bytecode.ICONST_0 import org.gradle.kotlin.dsl.support.bytecode.INVOKEINTERFACE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0) -
test/typeparam/list2.go
l3 := _New[int]() l3.PushBackList(l1) checkList(l3, []interface{}{1, 2, 3}) l3.PushBackList(l2) checkList(l3, []interface{}{1, 2, 3, 4, 5}) l3 = _New[int]() l3.PushFrontList(l2) checkList(l3, []interface{}{4, 5}) l3.PushFrontList(l1) checkList(l3, []interface{}{1, 2, 3, 4, 5}) checkList(l1, []interface{}{1, 2, 3}) checkList(l2, []interface{}{4, 5}) l3 = _New[int]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
} for _, check := range checks { if check.Name() == ipv4File { checkList = append(checkList, ipv4File) } if check.Name() == ipv6File { checkList = append(checkList, ipv6File) } } if diff := cmp.Diff(checkList, rt.expStr); diff != "" { t.Fatalf("unexpected file content check (-want,+got):\n%s", diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} else { got := fmt.Sprintf("%v", err) checkWant("meta data", got) } // Now try to emit counter data file to a bad dir. if err := coverage.WriteCountersDir(mangled); err == nil { log.Fatal("expected error emitting counter data to bad dir") } else { got := fmt.Sprintf("%v", err) checkWant("counter data", got) } } func emitToUnwritableDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
<!--- The issue this PR addresses --> <!-- Fixes #? --> ### Context <!--- Why do you believe many users will benefit from this change? --> <!--- Link to relevant issues or forum discussions here --> ### Contributor Checklist - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 13 22:36:19 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
private static final byte GREATEST = Byte.MAX_VALUE; private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST}; public void testCheckedCast() { for (byte value : VALUES) { assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value); } assertCastFails(GREATEST + 1L); assertCastFails(LEAST - 1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7K bytes - Viewed (0)