- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for checkTask (0.12 sec)
-
guava-testlib/src/com/google/common/collect/testing/Platform.java
*/ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 04 01:39:13 UTC 2022 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt
internal fun MethodVisitor.PUTFIELD(owner: InternalName, name: String, desc: String) { visitFieldInsn(Opcodes.PUTFIELD, owner.value, name, desc) } internal fun MethodVisitor.CHECKCAST(type: InternalName) { visitTypeInsn(Opcodes.CHECKCAST, type) } internal fun MethodVisitor.ACONST_NULL() { visitInsn(Opcodes.ACONST_NULL) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.5K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
* * <p><strong>This .java file should never be consumed by javac.</strong> * * @author Hayward Chan */ final class Platform { // Class.cast is not supported in GWT. static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) { return (T[]) Arrays.copyOfRange(array, 0, array.length); } // TODO: Consolidate different copies in one single place.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.1K bytes - Viewed (0) -
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-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java
import static org.objectweb.asm.Opcodes.ALOAD; import static org.objectweb.asm.Opcodes.ARETURN; import static org.objectweb.asm.Opcodes.ASTORE; import static org.objectweb.asm.Opcodes.ATHROW; import static org.objectweb.asm.Opcodes.CHECKCAST; import static org.objectweb.asm.Opcodes.DCONST_0; import static org.objectweb.asm.Opcodes.DUP; import static org.objectweb.asm.Opcodes.FCONST_0; import static org.objectweb.asm.Opcodes.GETFIELD;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 55.3K 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-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java
import static org.objectweb.asm.Opcodes.ALOAD; import static org.objectweb.asm.Opcodes.ANEWARRAY; import static org.objectweb.asm.Opcodes.ARETURN; import static org.objectweb.asm.Opcodes.ASTORE; import static org.objectweb.asm.Opcodes.CHECKCAST; import static org.objectweb.asm.Opcodes.DUP; import static org.objectweb.asm.Opcodes.F_SAME; import static org.objectweb.asm.Opcodes.GETFIELD; import static org.objectweb.asm.Opcodes.GETSTATIC;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:29 UTC 2024 - 12.4K bytes - Viewed (0) -
src/runtime/asm_wasm.s
UNDEF TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0 CALL runtime·mstart0(SB) RET // not reached DATA runtime·mainPC+0(SB)/8,$runtime·main(SB) GLOBL runtime·mainPC(SB),RODATA,$8 // func checkASM() bool TEXT ·checkASM(SB), NOSPLIT, $0-1 MOVB $1, ret+0(FP) RET TEXT runtime·gogo(SB), NOSPLIT, $0-8 MOVD buf+0(FP), R0 MOVD gobuf_g(R0), R1 MOVD 0(R1), R2 // make sure g != nil MOVD R1, g
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:26:51 UTC 2023 - 11.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)