Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for toRType (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/ClosureToSpecNotationConverterTest.groovy

            expect:
            spec.isSatisfiedBy("foo")
            !spec.isSatisfiedBy("FOO")
            !spec.isSatisfiedBy("bar")
        }
    
        def parse(def value) {
            return NotationParserBuilder.toType(Spec).fromType(Closure, converter).toComposite().parseNotation(value)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 18 06:12:27 UTC 2014
    - 1.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/TypedNotationConverterTest.groovy

     */
    
    package org.gradle.internal.typeconversion;
    
    
    import spock.lang.Specification
    
    public class TypedNotationConverterTest extends Specification {
    
        def parser = NotationParserBuilder.toType(Integer).converter(new DummyConverter()).toComposite()
    
        def "parses object of source type"(){
            expect:
            parser.parseNotation("100") == 100
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 16 07:34:13 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top