- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for forType (0.09 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java
// TODO This should probably use the task class info store boolean cacheable = taskType.isAnnotationPresent(CacheableTask.class); TypeValidationContext typeValidationContext = validationContext.forType(taskType, cacheable); context.getTaskProperties().validateType(typeValidationContext); context.getTaskProperties().validate(new DefaultPropertyValidationContext( fileResolver,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
this.elementType = elementType; this.collectionFactory = collectionFactory; valueCollector = new ValidatingValueCollector<>(collectionType, elementType, ValueSanitizers.forType(elementType)); init(); } private void init() { defaultValue = emptySupplier(); init(defaultValue, noValueSupplier()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 29.8K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/DefaultMethodArgsSerializerTest.groovy
expect: def arraySerializer = serializer.forTypes([String, Long, String] as Class[]) serialize(["a", 12L, "b"] as Object[], arraySerializer) == ["a", 12L, "b"] as Object[] } def "falls back to default when no serializer registry knows about types"() { given: def serializer = Stub(Serializer) defaultArgsBuilder.forTypes(_) >> serializer expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 2.2K bytes - Viewed (0) -
test/typeparam/issue47708.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type FooType[T any] interface { Foo(BarType[T]) string } type BarType[T any] interface { Bar(FooType[T]) string } // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // type Baz[T any] T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 934 bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/JavaSerializationBackedMethodArgsSerializerTest.groovy
expect: def arraySerializer = serializer.forTypes([] as Class[]) serialize([] as Object[], arraySerializer).length == 0 toBytes([] as Object[], arraySerializer).length == 0 } def "serializes single args"() { expect: def arraySerializer = serializer.forTypes([String,] as Class[]) serialize(["a"] as Object[], arraySerializer) == ["a"] as Object[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.5K bytes - Viewed (0) -
test/typeparam/issue47710.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 398 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go
// bar is an object with a string field "bar", an integer field "common", and an integer field "confusion" func buildTestEnv() (*cel.Env, error) { fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType") barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.1K bytes - Viewed (0) -
src/runtime/error.go
func (e *TypeAssertionError) Error() string { inter := "interface" if e._interface != nil { inter = toRType(e._interface).string() } as := toRType(e.asserted).string() if e.concrete == nil { return "interface conversion: " + inter + " is nil, not " + as } cs := toRType(e.concrete).string() if e.missingMethod == "" { msg := "interface conversion: " + inter + " is " + cs + ", not " + as if cs == as {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/DefaultMethodArgsSerializer.java
this.serializerRegistries = serializerRegistries; this.defaultArgsSerializer = defaultArgsSerializer; } @Override public Serializer<Object[]> forTypes(Class<?>[] types) { if (types.length == 0) { return new EmptyArraySerializer(); } SerializerRegistry selected = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 3.3K bytes - Viewed (0) -
src/runtime/alg.go
// typehash, but we want to report the topmost type in // the error text (e.g. in a struct with a field of slice type // we want to report the struct, not the slice). panic(errorString("hash of unhashable type " + toRType(t).string())) } if isDirectIface(t) { return c1 * typehash(t, unsafe.Pointer(&a.data), h^c0) } else { return c1 * typehash(t, a.data, h^c0) } } // nilinterhash should be an internal detail,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 13.6K bytes - Viewed (0)