- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for toRType (0.14 sec)
-
src/runtime/tracetype.go
} w.flush().end() t.tab.reset() } func dumpTypesRec(node *traceMapNode, w traceExpWriter) traceExpWriter { typ := (*abi.Type)(*(*unsafe.Pointer)(unsafe.Pointer(&node.data[0]))) typName := toRType(typ).string() // The maximum number of bytes required to hold the encoded type. maxBytes := 1 + 5*traceBytesPerNumber + len(typName) // Estimate the size of this record. This
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/plugin.go
// a dependency on the reflect package. syms = make(map[string]any, len(md.ptab)) for _, ptab := range md.ptab { symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name) t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler? var val any valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val)) (*valp)[0] = unsafe.Pointer(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy
and: def parser = NotationParserBuilder.toType(String.class).fromCharSequence(converter).toComposite() expect: parser.parseNotation(new StringBuilder("12")) == "[12]" } def "can add a converter that converts CharSequence notations when the target type is String"() { def parser = NotationParserBuilder.toType(String.class).fromCharSequence().toComposite() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/simple_hardware.cc
} double SimpleHardware::GetHardwareSwitchingCost(const TargetHardware* from, size_t buffer_size) const { auto from_type = from->GetTypeId(); auto to_type = GetTypeId(); if (from_type == to_type) return 0.0f; // TODO(renjieliu): Implement a better version for different hardware cases. return buffer_size * kCrossHardwareTransferPerByteCost / 8.0 + kCrossHardwareTransferFixedCost; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 21 01:22:53 UTC 2021 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java
this.convention = DeprecationLogger.whileDisabled(() -> toType(object, org.gradle.api.internal.HasConvention.class).getConvention() ); } return convention; } @Override public ExtensionContainer getExtensions() { if (extensionContainer == null) { this.extensionContainer = toType(object, ExtensionAware.class).getExtensions(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ParamsMatchingConstructorSelector.java
while (param != null && toParam < parameterTypes.length) { Class<?> toType = parameterTypes[toParam]; if (toType.isPrimitive()) { toType = JavaReflectionUtil.getWrapperTypeForPrimitiveType(toType); } if (toType.isInstance(param)) { break; } toParam++;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc
double GetHardwareSwitchingCost(const TargetHardware* from, size_t buffer_size) const override { auto from_type = from->GetTypeId(); auto to_type = GetTypeId(); if (from_type == to_type) return 0.0f; // TODO(renjieliu): Implement a better version for different hardware cases. return buffer_size * kCrossHardwareTransferPerByteCost / 8.0 +
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 5.9K bytes - Viewed (0) -
src/reflect/export_test.go
func gcbits(any) []byte // provided by runtime func MapBucketOf(x, y Type) Type { return toType(bucketOf(x.common(), y.common())) } func CachedBucketOf(m Type) Type { t := m.(*rtype) if Kind(t.t.Kind_&abi.KindMask) != Map { panic("not map") } tt := (*mapType)(unsafe.Pointer(t)) return toType(tt.Bucket) } type EmbedWithUnexpMeth struct{} func (EmbedWithUnexpMeth) f() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc
} double GpuHardware::GetHardwareSwitchingCost(const TargetHardware* from, size_t buffer_size) const { auto from_type = from->GetTypeId(); auto to_type = GetTypeId(); if (from_type == to_type) return 0.0f; // TODO(renjieliu): Implement a better version for different hardware cases. return buffer_size * kCrossHardwareTransferPerByteCost / 8.0 + kCrossHardwareTransferFixedCost; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompileJavaBuildOperationReportingCompiler.java
return new DefaultAnnotationProcessorDetails(result.getClassName(), toType(result.getType()), result.getExecutionTimeInMillis()); } private AnnotationProcessorDetails.Type toType(IncrementalAnnotationProcessorType type) { if (type == IncrementalAnnotationProcessorType.AGGREGATING) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:33:35 UTC 2024 - 5.7K bytes - Viewed (0)