- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 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) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy
final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock() { module(_, _) >> { args -> DefaultModuleIdentifier.newId(*args) } } @Subject parser = NotationParserBuilder.toType(ComponentSelector).converter(new ModuleSelectorStringNotationConverter(moduleIdentifierFactory)).toComposite() def "parses module identifier notation"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ClientModuleNotationParserFactory.java
this.stringInterner = stringInterner; } @Nonnull @Override public NotationParser<Object, org.gradle.api.artifacts.ClientModule> create() { return NotationParserBuilder.toType(org.gradle.api.artifacts.ClientModule.class) .fromCharSequence(new DependencyStringNotationConverter<>(instantiator, DefaultClientModule.class, stringInterner))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.9K bytes - Viewed (0)