Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for Subtype2 (0.21 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UserTypesCodecTest.kt

        @Test
        fun `can handle anonymous enum subtypes`() {
            EnumSuperType.values().forEach {
                assertThat(
                    configurationCacheRoundtripOf(it),
                    sameInstance(it)
                )
            }
        }
    
        enum class EnumSuperType {
    
            SubType1 {
                override fun displayName() = "one"
            },
            SubType2 {
                override fun displayName() = "two"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
            def subtypes = [ "org.gradle.Subtype1", "org.gradle.Subtype2", "org.gradle.Subtype3", "org.gradle.Subtype4" ].collect {
                ClassDoc subtype = Mock()
                _ * subtype.name >> it
                subtype
            }
            _ * classDoc.subClasses >> subtypes
    
            when:
            def result = parse('<root/>')
            withCategories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

        } else if (parts.size() == 3) {
          // First part is the type, second is the subtype
          ArrayInfo::SubTypeInfo subtype;
          TF_RETURN_IF_ERROR(HandleSubtype(parts[1], &subtype));
          info.subtypes.push_back(std::move(subtype));
        }
        if (!DataType_Parse(parts[0], &info.imported_dtype)) {
          return errors::FailedPrecondition(
              absl::StrCat("Invalid node type '", node_dtypes[i], "'"));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-multi-data-type-with-subtype.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x,y,z,t -tf-input-shapes=10::10:10: -tf-input-data-types="DT_INT32,DT_VARIANT(10:DT_FLOAT),DT_INT8,DT_DOUBLE,DT_RESOURCE(10:DT_INT32)" -tf-output-arrays=p,x,y,z,t -o - | FileCheck %s -check-prefix=CHECK-SUBTYPE
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:11:42 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

    /**
     * [KaSubtypingErrorTypePolicy] determines the treatment of error types in type equality and subtyping checks.
     */
    public enum class KaSubtypingErrorTypePolicy {
        /**
         * Error types are not considered equal to or subtypes of any other type.
         *
         * [STRICT] is the default policy for the following reasons:
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java

     *
     * <p>
     * Property annotations are inherited from super-types on a per-category basis: subtypes can override each super-type annotation category separately.
     * If a subtype doesn't override a super-type defined category, the corresponding annotation in that category gets inherited.
     * Subtypes can mark methods to be ignored by using an ignore annotation.
     * Ignored methods don't inherit super-type annotations.
     * </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToken.java

        @SuppressWarnings("unchecked") // guarded by the isAssignableFrom() statement above
        TypeToken<? extends T> subtype = (TypeToken<? extends T>) of(resolvedTypeArgs);
        checkArgument(
            subtype.isSubtypeOf(this), "%s does not appear to be a subtype of %s", subtype, this);
        return subtype;
      }
    
      /**
       * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainer.java

                        + "does not support creating elements by name alone. Please specify which subtype of %s to create. "
                        + "Known subtypes are: %s", getTypeDisplayName(), name, getTypeDisplayName(), namedEntityInstantiator.getSupportedTypeNames()));
                } else {
                    throw e;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeToken.java

        @SuppressWarnings("unchecked") // guarded by the isAssignableFrom() statement above
        TypeToken<? extends T> subtype = (TypeToken<? extends T>) of(resolvedTypeArgs);
        checkArgument(
            subtype.isSubtypeOf(this), "%s does not appear to be a subtype of %s", subtype, this);
        return subtype;
      }
    
      /**
       * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top