Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 398 for typeOff (0.13 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    template <typename T1, typename T2>
    struct Types2 {
      typedef T1 Head;
      typedef Types1<T2> Tail;
    };
    
    template <typename T1, typename T2, typename T3>
    struct Types3 {
      typedef T1 Head;
      typedef Types2<T2, T3> Tail;
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct Types0 {};
    
    // Type lists of length 1, 2, 3, and so on.
    
    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    
    $range i 2..n
    
    $for i [[
    $range j 1..i
    $range k 2..i
    template <$for j, [[typename T$j]]>
    struct Types$i {
      typedef T1 Head;
      typedef Types$(i-1)<$for k, [[T$k]]> Tail;
    };
    
    
    ]]
    
    }  // namespace internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/goboringcrypto.h

    	GO_NID_sha256 = 672,
    	GO_NID_sha384 = 673,
    	GO_NID_sha512 = 674,
    };
    
    // #include <openssl/sha.h>
    typedef struct GO_SHA_CTX { char data[96]; } GO_SHA_CTX;
    int _goboringcrypto_SHA1_Init(GO_SHA_CTX*);
    int _goboringcrypto_SHA1_Update(GO_SHA_CTX*, const void*, size_t);
    int _goboringcrypto_SHA1_Final(uint8_t*, GO_SHA_CTX*);
    
    typedef struct GO_SHA256_CTX { char data[48+64]; } GO_SHA256_CTX;
    int _goboringcrypto_SHA224_Init(GO_SHA256_CTX*);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct Types0 {};
    
    // Type lists of length 1, 2, 3, and so on.
    
    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    
    $range i 2..n
    
    $for i [[
    $range j 1..i
    $range k 2..i
    template <$for j, [[typename T$j]]>
    struct Types$i {
      typedef T1 Head;
      typedef Types$(i-1)<$for k, [[T$k]]> Tail;
    };
    
    
    ]]
    
    }  // namespace internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go

    	if name == "nonExisting" {
    		return nil, false
    	}
    	return m.TypeRef.Field(name)
    }
    
    func (m *mockTypeResolverForOptional) Resolve(name string) (common.TypeRef, bool) {
    	r, ok := m.mockTypeResolver.Resolve(name)
    	if ok {
    		return &mockTypeRefForOptional{TypeRef: r}, ok
    	}
    	return nil, false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/reflect/type_test.go

    		{"func(func(int, int))", reflect.TypeOf(func(func(int, int)) {}), false},
    		{"int64", reflect.TypeOf(int64(1)), false},
    		{"uint64", reflect.TypeOf(uint64(1)), false},
    		{"*[4]int", reflect.TypeOf(&[4]int{}), true},
    		{"chan int64", reflect.TypeOf(make(chan int64)), false},
    		{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
    		{"string", reflect.TypeOf(""), true},
    		{"[]int", reflect.TypeOf([]int{}), true},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionsStorageTest.groovy

        def "favor exact same type over assignable"() {
            given:
            storage.add typeOf(Integer), 'int', 23
            storage.add typeOf(Number), 'num', 42
            storage.add new TypeOf<List<String>>() {}, 'stringList', ['string']
    
            expect:
            storage.findByType(typeOf(Number)) == 42
            storage.findByType(new TypeOf<List<String>>() {}) == ['string']
        }
    
        def "get schema"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt

            }
    
            withBuildScript(
                """
                plugins {
                    my
                }
    
                inline fun <reified T> typeOf(value: T) = typeOf<T>()
    
                println("closureExtension: " + typeOf(closureExtension))
    
                val casted = closureExtension as groovy.lang.Closure<*>
                println(casted.call("some"))
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/TreatInterfaceAsConfigureLambdaTest.kt

        @Test
        fun recognizesLambdaType() {
            assertEquals(typeOf<Int>(), customConfigureLambdas.getTypeConfiguredByLambda(typeOf<MyFunctionalInterface<Int>>()))
            assertTrue { customConfigureLambdas.isConfigureLambdaForType(typeOf<Int>(), typeOf<MyFunctionalInterface<Int>>()) }
            assertFalse { customConfigureLambdas.isConfigureLambdaForType(typeOf<String>(), typeOf<MyFunctionalInterface<Int>>()) }
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

                          bar: typeOf(Capability),
                          boo: typeOf(Child),
                          baz: new TypeOf<List<String>>() {},
                          cat: typeOf(Thing),
                          meo: typeOf(Thing)]
        }
    
        def "can configure extensions by name"() {
            given:
            container.add "foo", extension
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top