Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,872 for type3 (0.07 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

        def store = new DefaultModelSchemaStore(extractor)
    
        def "caches schema for a type"() {
            // intentionally use two different “instances” of the same type
            def type1 = ModelType.of(SimpleManagedType)
            def type2 = ModelType.of(SimpleManagedType)
    
            expect:
            store.getSchema(type1).is(store.getSchema(type2))
        }
    
        def "each thread receives same schema object"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            def snapshot = snapshotter.snapshot(Type1.TWO)
            snapshotter.snapshot(Type1.TWO, snapshot).is(snapshot)
    
            snapshotter.snapshot(Type1.ONE, snapshot) != snapshot
            snapshotter.snapshot(Type1.ONE, snapshot) == snapshotter.snapshot(Type1.ONE)
    
            snapshotter.snapshot(Type2.TWO, snapshot) != snapshot
            snapshotter.snapshot(Type2.TWO, snapshot) == snapshotter.snapshot(Type2.TWO)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue53650.go

    import (
    	"reflect"
    	"testing"
    )
    
    type T1 int
    type T2 int
    
    func f[P T1 | T2, _ []P]() {}
    
    var _ = f[T1]
    
    // test case from issue
    
    type BaseT interface {
    	Type1 | Type2
    }
    type BaseType int
    type Type1 BaseType
    type Type2 BaseType // float64
    
    type ValueT[T BaseT] struct {
    	A1 T
    }
    
    func NewType1() *ValueT[Type1] {
    	r := NewT[Type1]()
    	return r
    }
    func NewType2() *ValueT[Type2] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:58 UTC 2023
    - 877 bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        Class<?>[] value() default {};
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         * 
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message ( CIFSContext tc, Type1Message type1 ) {
            this(tc, type1, null, null);
        }
    
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         * 
         * @param tc
         *            context to use
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ParameterizedTypeWrapper.java

        }
    
        public static boolean contains(TypeWrapper type1, TypeWrapper type2) {
            if (type1 instanceof WildcardWrapper) {
                WildcardWrapper wildcardType1 = (WildcardWrapper) type1;
                TypeWrapper bound1 = wildcardType1.getLowerBound();
                if (bound1 != null) {
                    // type1 = ? super T
                    TypeWrapper bound2;
                    if (type2 instanceof WildcardWrapper) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    	}{
    		// void
    		{`package n0; func f() { f() }`, `f()`, `void`},
    
    		// types
    		{`package t0; type _ int`, `int`, `type`},
    		{`package t1; type _ []int`, `[]int`, `type`},
    		{`package t2; type _ func()`, `func()`, `type`},
    		{`package t3; type _ func(int)`, `int`, `type`},
    		{`package t3; type _ func(...int)`, `...int`, `type`},
    
    		// built-ins
    		{`package b0; var _ = len("")`, `len`, `builtin`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc

        int index = it.index();
        Type type0 = std::get<0>(it.value());
        Type type1 = std::get<1>(it.value());
        if (!AreCastCompatible({type0, type1}))
          return op->emitOpError(llvm::formatv(
              "{0} type {1} is incompatible with {2} type {3} at index {4}",
              range0.second, type0, range1.second, type1, index));
      }
      return success();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    #define GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
    
    // This header implements typed tests and type-parameterized tests.
    
    // Typed (aka type-driven) tests repeat the same test for types in a
    // list.  You must know which types you want to test with when writing
    // typed tests. Here's how you do it:
    
    #if 0
    
    // First, define a fixture class template.  It should be parameterized
    // by a type.  Remember to derive it from testing::Test.
    template <typename T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top