Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 196 for generic (1.69 sec)

  1. doc/next/2-language.md

    For details see the [language spec](/ref/spec#For_statements).
    
    <!-- go.dev/issue/46477, CL 566856, CL 586955, CL 586956 -->
    Go 1.23 includes preview support for [generic type aliases](/issue/46477).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/opGen.go

    		generic: true,
    	},
    	{
    		name:    "Neg64F",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Com8",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Com16",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Com32",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Com64",
    		argLen:  1,
    		generic: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    	nval := 0          // number of (constant or variable) values in the cycle; valid if !generic
    	ndef := 0          // number of type definitions in the cycle; valid if !generic
    loop:
    	for _, obj := range cycle {
    		switch obj := obj.(type) {
    		case *Const, *Var:
    			nval++
    		case *TypeName:
    			// If we reach a generic type that is part of a cycle
    			// and we are in a type parameter list, we have a cycle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    		if sig == orig {
    			copy := *sig
    			sig = &copy
    		}
    		// After instantiating a generic signature, it is not generic
    		// anymore; we need to set tparams to nil.
    		sig.tparams = nil
    		res = sig
    
    	default:
    		// only types and functions can be generic
    		panic(fmt.Sprintf("%v: cannot instantiate %v", pos, orig))
    	}
    
    	// Update all contexts; it's possible that we've lost a race.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

        }
    
        def "model creation rule cannot be generic"() {
            when:
            extract(HasGenericModelRule)
    
            then:
            def e = thrown(InvalidModelRuleDeclarationException)
            e.message == """Type ${fullyQualifiedNameOf(HasGenericModelRule)} is not a valid rule source:
    - Method thing() is not a valid rule method: Cannot have type variables (i.e. cannot be a generic method)"""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

     * under the License.
     */
    package org.apache.maven.model.merge;
    
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
     * more adapted algorithms.
     *
     */
    public class MavenModelMerger extends org.apache.maven.internal.impl.model.MavenModelMerger {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/schemaBuildingUtils.kt

    
    private
    fun KType.toDataTypeRef(): DataTypeRef? = when {
        // isMarkedNullable -> TODO: support nullable types
        arguments.isNotEmpty() -> null // TODO: support for some particular generic types
        else -> when (val classifier = classifier) {
            null -> null
            else -> classifier.toDataTypeRef()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/FunctionSinceRepository.kt

                        if (sourceFile.name in filesWithUnsupportedAnnotations) {
                            // This is a hack.
                            //
                            // qdox doesn't understand annotations placed in generic type parameters
                            // The only place we use this is with Nullable, so this hackily removes the annotation when
                            // the source file is processed by qdox.
                            //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top