- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for asSubtype (0.3 sec)
-
subprojects/core-api/src/test/groovy/org/gradle/model/internal/core/ModelTypeTest.groovy
!anything.isAssignableFrom(extendsTypeVar) } def "asSubtype"() { expect: ModelType.of(String).asSubtype(ModelType.of(String)) == ModelType.of(String) ModelType.of(String).asSubtype(ModelType.of(CharSequence)) == ModelType.of(String) } def "asSubtype failures"() { def extendsString = new ModelType<List<? extends String>>() {}.typeVariables[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 11 21:42:04 UTC 2018 - 22.3K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/ComponentTypeModelRuleExtractor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java
* * @throws ClassCastException if this cannot be cast as the subtype of the given type. * @throws IllegalStateException if this is a wildcard. * @throws IllegalArgumentException if the given type is a wildcard. */ public <U> ModelType<? extends U> asSubtype(ModelType<U> modelType) { if (isWildcard()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
return notSubtype(arg); // isSubtype() currently incorrectly considers it a subtype. } } private static class WildcardSubtypingTests extends SubtypeTester { @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public Iterable<?> noBounds(List<?> list) { return isSubtype(list); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
return notSubtype(arg); // isSubtype() currently incorrectly considers it a subtype. } } private static class WildcardSubtypingTests extends SubtypeTester { @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public Iterable<?> noBounds(List<?> list) { return isSubtype(list); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
return create(AUDIO_TYPE, subtype); } /** * Creates a media type with the "font" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createFontType(String subtype) { return create(FONT_TYPE, subtype); } /** * Creates a media type with the "image" type and the given subtype. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 07 16:17:10 UTC 2023 - 46.2K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
return create(AUDIO_TYPE, subtype); } /** * Creates a media type with the "font" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createFontType(String subtype) { return create(FONT_TYPE, subtype); } /** * Creates a media type with the "image" type and the given subtype. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Aug 07 16:17:10 UTC 2023 - 46.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
return errors::InvalidArgument("Invalid type '", type, "'"); } 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(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy
serializationProblem("Task `:notDeclared` of type `Broken`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer', a subtype of 'org.gradle.api.artifacts.ConfigurationContainer', as these are not supported with the...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertEquals("application", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateAudioType() { MediaType newType = MediaType.createAudioType("yams"); assertEquals("audio", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateFontType() { MediaType newType = MediaType.createFontType("yams");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0)