Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for toRType (0.23 sec)

  1. 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)
  2. 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)
  3. plugin/pkg/auth/authorizer/node/graph_test.go

    		desc        string
    		fromType    vertexType
    		toType      vertexType
    		toNamespace string
    		toName      string
    		start       *Graph
    		expect      *Graph
    	}{
    		{
    			// single edge from a configmap to a node, will delete edge and orphaned configmap
    			desc:        "edges and source orphans are deleted, destination orphans are preserved",
    			fromType:    configMapVertexType,
    			toType:      nodeVertexType,
    			toNamespace: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/walk/convert.go

    		ta := ir.NewTypeAssertExpr(base.Pos, c, toType)
    		ta.SetOp(ir.ODOTTYPE2)
    		// Allocate a descriptor for this conversion to pass to the runtime.
    		ta.Descriptor = makeTypeAssertDescriptor(toType, true)
    		rhs = ta
    	} else {
    		ta := ir.NewDynamicTypeAssertExpr(base.Pos, ir.ODYNAMICDOTTYPE2, c, n.TypeWord)
    		rhs = ta
    	}
    	rhs.SetType(toType)
    	rhs.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParser.java

    import javax.annotation.Nullable;
    
    class NativeDependencyNotationParser {
        public static NotationParser<Object, NativeLibraryRequirement> parser() {
            return NotationParserBuilder
                    .toType(NativeLibraryRequirement.class)
                    .converter(new LibraryConverter())
                    .converter(new NativeLibraryRequirementMapNotationConverter())
                    .toComposite();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyMetadataNotationParser.java

        public static <T extends DependencyMetadata<T>, B extends T> NotationParser<Object, B> parser(Instantiator instantiator, Class<B> implementationType, Interner<String> stringInterner) {
            return NotationParserBuilder
                .toType(implementationType)
                .fromCharSequence(new DependencyStringNotationConverter<>(instantiator, implementationType, stringInterner))
                .converter(new DependencyMapNotationConverter<>(instantiator, implementationType))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top