- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 258 for typeOff (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go
) // TypeRef is the implementation of TypeRef for an unstructured object. // This is especially usefully when the schema is not known or available. type TypeRef struct { celObjectType *types.Type celTypeType *types.Type } func (r *TypeRef) HasTrait(trait int) bool { return common.ObjectTraits|trait != 0 } // TypeName returns the name of this TypeRef. func (r *TypeRef) TypeName() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 00:01:35 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go
// construction syntax. type ObjectVal struct { typeRef TypeRef fields map[string]ref.Val } // NewObjectVal creates an ObjectVal by its TypeRef and its fields. func NewObjectVal(typeRef TypeRef, fields map[string]ref.Val) *ObjectVal { return &ObjectVal{ typeRef: typeRef, fields: fields, } } var _ ref.Val = (*ObjectVal)(nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 21:55:08 UTC 2024 - 4.2K bytes - Viewed (0) -
src/reflect/value.go
panic("reflect: " + op + " of method on nil interface value") } rcvrtype = iface.itab.Type fn = unsafe.Pointer(&unsafe.Slice(&iface.itab.Fun[0], i+1)[i]) t = (*funcType)(unsafe.Pointer(tt.typeOff(m.Typ))) } else { rcvrtype = v.typ() ms := v.typ().ExportedMethods() if uint(i) >= uint(len(ms)) { panic("reflect: internal error: invalid method index") } m := ms[i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
struct _jobject; typedef struct _jobject *jobject; typedef jobject jclass; typedef jobject jthrowable; typedef jobject jstring; typedef jobject jarray; typedef jarray jbooleanArray; typedef jarray jbyteArray; typedef jarray jcharArray; typedef jarray jshortArray; typedef jarray jintArray; typedef jarray jlongArray; typedef jarray jfloatArray; typedef jarray jdoubleArray;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 181.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)