- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 159 for typeName (0.24 sec)
-
pkg/ptr/pointer.go
return empty } // ToList returns an empty list if t is nil, or a list with a single element func ToList[T any](t *T) []T { if t == nil { return nil } return []T{*t} } // TypeName returns the name of the type func TypeName[T any]() string { var empty T return fmt.Sprintf("%T", empty) } // Flatten converts a double pointer to a single pointer by referencing if its non-nil func Flatten[T any](t **T) *T {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 07 14:56:54 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
var Unsafe *Package var ( universeIota Object universeByte Type // uint8 alias, but has name "byte" universeRune Type // int32 alias, but has name "rune" universeAnyNoAlias *TypeName universeAnyAlias *TypeName universeError Type universeComparable Object ) // Typ contains the predeclared *Basic types indexed by their // corresponding BasicKind. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
var Unsafe *Package var ( universeIota Object universeByte Type // uint8 alias, but has name "byte" universeRune Type // int32 alias, but has name "rune" universeAnyNoAlias *TypeName universeAnyAlias *TypeName universeError Type universeComparable Object ) // Typ contains the predeclared *Basic types indexed by their // corresponding BasicKind. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler_client.h
#include <optional> #include <string> #include <variant> #include "tensorflow/compiler/tf2xla/xla_compiler.h" #include "xla/client/executable_build_options.h" namespace tensorflow { template <typename ExecutableType, typename ClientType> class DeviceCompilerClient { public: DeviceCompilerClient() = default; virtual ~DeviceCompilerClient() = default; // Compiles `result` (HLO) to an `ExecutableType` using `ClientType` and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/UnknownImplementationSnapshot.java
this.reason = reason; this.solution = solution; } } private final UnknownReason unknownReason; public UnknownImplementationSnapshot(String typeName, UnknownReason unknownReason) { super(typeName); this.unknownReason = unknownReason; } @Override public void appendToHasher(Hasher hasher) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/codeQuality/codeQuality/kotlin/config/checkstyle/suppressions.xml
<?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> <suppressions> <suppress checks="TypeName" files="bad_name.java"/>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 256 bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleReferencedType.java
* limitations under the License. */ package org.gradle.internal.instrumentation.processor.codegen; import com.squareup.javapoet.ClassName; import com.squareup.javapoet.TypeName; import org.objectweb.asm.Type; /** * Used since we don't want to depend on Gradle types directly, since that way we have to depend on Gradle projects like core-api.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/permutation.h
// Permutes `values` with `permutation`. Returns the permuted values. Sizes of // `values` and `permutation` must be equal, and the elements of `permutation` // should be less than `values.size()`. template <typename T, typename = std::enable_if_t<std::is_default_constructible_v<T>, void>> SmallVector<T> Permute(const ArrayRef<T> values, const ArrayRef<int64_t> permutation) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 00:14:00 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono.go
// vertex index. nameIdx map[*TypeName]int } type monoVertex struct { weight int // weight of heaviest known path to this vertex pre int // previous edge (if any) in the above path len int // length of the above path // obj is the defined type or type parameter represented by this // vertex. obj *TypeName } type monoEdge struct { dst, src int weight int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 00:05:29 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/typeparam.go
// constraint is non-nil, it must be fully defined. func NewTypeParam(obj *TypeName, constraint Type) *TypeParam { return (*Checker)(nil).newTypeParam(obj, constraint) } // check may be nil func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam { // Always increment lastID, even if it is not used. id := nextID() if check != nil { check.nextID++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0)