- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 155 for badtype (0.33 sec)
-
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
class BeanPropertyReader( private val beanType: Class<*>, private val constructors: BeanConstructors, instantiatorFactory: InstantiatorFactory ) : BeanStateReader { // TODO should use the same scheme as the original bean private val instantiationScheme: InstantiationScheme = instantiatorFactory.decorateScheme() private val relevantFields = relevantStateOf(beanType) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt
@ServiceScope(Scope.BuildTree::class) interface BeanStateWriterLookup { fun beanStateWriterFor(beanType: Class<*>): BeanStateWriter } @ServiceScope(Scope.BuildTree::class) interface BeanStateReaderLookup { fun beanStateReaderFor(beanType: Class<*>): BeanStateReader } class DefaultWriteContext( codec: Codec<Any?>, private val encoder: Encoder,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.3K bytes - Viewed (0) -
test/typeparam/adder.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" ) type AddType interface { int | int64 | string } // Add can add numbers or strings func Add[T AddType](a, b T) T { return a + b } func main() { if got, want := Add(5, 3), 8; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 559 bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
targs := make([]types.Type, len) for i := range targs { targs[i] = r.typ() } baseType := r.typ() // The imported instantiated type doesn't include any methods, so // we must always use the methods of the base (orig) type. // TODO provide a non-nil *Context t, _ := types.Instantiate(nil, baseType, targs, false) return t case unionType: if r.p.exportVersion < iexportVersionGenerics {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaReflectionUtil.java
* Returns the {@link TypeToken} of a parameter specified by index. * * @param beanType the TypeToken of the bean * @param parameterizedClass the parameterized class * @param typeParameterIndex the index of the parameter * @return a TypeToken */ public static <T> TypeToken<?> extractNestedType(TypeToken<T> beanType, Class<? super T> parameterizedClass, int typeParameterIndex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenCustomPackagingResolveIntegrationTest.groovy
@Issue("https://issues.gradle.org/browse/GRADLE-2984") def "can resolve local module with custom packaging"() { using m2 def local = m2.mavenRepo().module("local", "local", "1.0").hasType("aar").hasPackaging("aar").publish() when: buildScript """ configurations { local } repositories { mavenLocal()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt
internal class RecordingObjectOutputStream( private val beanType: Class<*>, private val bean: Any ) : ObjectOutputStream() { private val operations = mutableListOf<suspend WriteContext.() -> Unit>() suspend fun WriteContext.playback() { withBeanTrace(beanType) { operations.forEach { operation -> operation() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateWriterLookup.kt
class DefaultBeanStateWriterLookup : BeanStateWriterLookup { private val beanPropertyWriters = ConcurrentHashMap<Class<*>, BeanStateWriter>() override fun beanStateWriterFor(beanType: Class<*>): BeanStateWriter = beanPropertyWriters.computeIfAbsent(beanType, ::BeanPropertyWriter)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) // cmdType is one of the commands used to generate and optionally apply a manifest. type cmdType string const ( // istioctl manifest generate cmdGenerate cmdType = "istioctl manifest generate" // istioctl install cmdApply cmdType = "istioctl install" // in-cluster controller cmdController cmdType = "operator controller" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 20 22:39:28 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java
@Override public boolean matches(Class<?> baseType, Class<?> candidate) { return baseType.isAssignableFrom(candidate); } } private static class StrictSerializerMatcher implements SerializerClassMatcherStrategy { @Override public boolean matches(Class<?> baseType, Class<?> candidate) { return baseType.equals(candidate); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 10.1K bytes - Viewed (0)