Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for checkcast (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitFieldInsn(Opcodes.PUTFIELD, owner.value, name, desc)
    }
    
    
    internal
    fun MethodVisitor.CHECKCAST(type: KClass<*>) {
        CHECKCAST(type.internalName)
    }
    
    
    internal
    fun MethodVisitor.CHECKCAST(type: InternalName) {
        visitTypeInsn(Opcodes.CHECKCAST, type)
    }
    
    
    internal
    fun MethodVisitor.ACONST_NULL() {
        visitInsn(Opcodes.ACONST_NULL)
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. .idea/dictionaries/dzharkov.xml

    <component name="ProjectDictionaryState">
      <dictionary name="dzharkov">
        <words>
          <w>checkcast</w>
          <w>coroutine</w>
          <w>experimentalities</w>
          <w>experimentality</w>
          <w>insn</w>
          <w>liveness</w>
          <w>parameterless</w>
        </words>
      </dictionary>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 12 06:48:13 UTC 2018
    - 300 bytes
    - Viewed (0)
  3. android/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-additional-test-types/tests/checkTask.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: checkTask.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 163 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/java/jvm-multi-project-with-additional-test-types/tests/checkTask.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: checkTask.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 163 bytes
    - Viewed (0)
Back to top