- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 140 for typeOff (0.12 sec)
-
src/unique/clone_test.go
} func cSeq(stringOffsets ...uintptr) cloneSeq { return cloneSeq{stringOffsets: stringOffsets} } func testCloneSeq[T any](t *testing.T, want cloneSeq) { typName := reflect.TypeFor[T]().Name() typ := abi.TypeOf(*new(T)) t.Run(typName, func(t *testing.T) { got := makeCloneSeq(typ) if !reflect.DeepEqual(got, want) { t.Errorf("unexpected cloneSeq for type %s: got %#v, want %#v", typName, got, want) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 1K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.h
PartialTensorShape shape; // If the argument is a resource variable, the type and shape of the // variable's value. DataType handle_type = DT_INVALID; PartialTensorShape handle_shape; }; typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo; // Infer shapes for all Tensors in a graph, and save them in a map. The vector // for a Node contains the information about each of its outputs.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/sizeof_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 892 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go
ExtraReturnErrors: cbor.ExtraDecErrorUnknownField, // Decode maps into concrete type map[string]interface{} when the destination is an // interface{}. DefaultMapType: reflect.TypeOf(map[string]interface{}(nil)), // A CBOR text string whose content is not a valid UTF-8 sequence is well-formed but // invalid according to the CBOR spec. Reject invalid inputs. Encoders are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 14:03:36 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt
import kotlin.reflect.KMutableProperty import kotlin.reflect.KProperty import kotlin.reflect.full.isSubclassOf import kotlin.reflect.full.memberFunctions import kotlin.reflect.full.memberProperties import kotlin.reflect.typeOf internal class DependencyCollectorFunctionExtractorAndRuntimeResolver( private val gavDependencyParam: DataParameter, private val projectDependencyParam: DataParameter
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:07 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/depBase/dep.go
func (d *Dep) Method() int { // This code below causes various go.itab.* symbols to be generated in // the shared library. Similar code in ../exe/exe.go results in // exercising https://golang.org/issues/17594 reflect.TypeOf(os.Stdout).Elem() return 10 } func F() int { defer func() {}() return V } func H() { // Issue 67635: deadcoded closures causes linker crash. func() { F() }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 1K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
} } // GetRSAKeySize returns the size if it is RSA key, otherwise it returns an error. func GetRSAKeySize(privKey crypto.PrivateKey) (int, error) { if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) { return 0, fmt.Errorf("key type is not RSA: %v", t) } pkey := privKey.(*rsa.PrivateKey) return pkey.N.BitLen(), nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirReceiverParameterSymbol.kt
) : KaReceiverParameterSymbol(), KaLifetimeOwner { override val token: KaLifetimeToken get() = analysisSession.token override val psi: PsiElement? = withValidityAssertion { firSymbol.fir.receiverParameter?.typeRef?.psi } init { requireWithAttachment(firSymbol.fir.receiverParameter != null, { "${firSymbol::class} doesn't have an extension receiver." }) { withFirEntry("callable", firSymbol.fir) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
import kotlin.reflect.KVisibility import kotlin.reflect.full.instanceParameter import kotlin.reflect.full.isSubtypeOf import kotlin.reflect.full.memberFunctions import kotlin.reflect.jvm.javaMethod import kotlin.reflect.typeOf interface FunctionExtractor { fun memberFunctions(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<SchemaMemberFunction>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/typemap/map.go
type TypeMap struct { inner map[reflect.Type]any } func NewTypeMap() TypeMap { return TypeMap{make(map[reflect.Type]any)} } func Set[T any](t TypeMap, v T) { interfaceType := reflect.TypeOf((*T)(nil)).Elem() t.inner[interfaceType] = v } func Get[T any](t TypeMap) *T { v, f := t.inner[reflect.TypeFor[T]()] if f { return ptr.Of(v.(T)) } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.2K bytes - Viewed (0)