Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for fromType (0.48 sec)

  1. src/cmd/compile/internal/walk/convert.go

    // an interface.
    func dataWord(conv *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	pos, n := conv.Pos(), conv.X
    	fromType := n.Type()
    
    	// If it's a pointer, it is its own representation.
    	if types.IsDirectIface(fromType) {
    		return n
    	}
    
    	isInteger := fromType.IsInteger()
    	isBool := fromType.IsBoolean()
    	if sc := fromType.SoleComponent(); sc != nil {
    		isInteger = sc.IsInteger()
    		isBool = sc.IsBoolean()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactory.java

            NotationParser<Object, MavenArtifact> sourceNotationParser = NotationParserBuilder
                .toType(MavenArtifact.class)
                .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                .fromType(AbstractArchiveTask.class, archiveTaskNotationConverter)
                .fromType(PublishArtifact.class, publishArtifactNotationConverter)
                .converter(fileNotationConverter)
                .toComposite();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyNotationParser.java

                .fromCharSequence(stringNotationConverter)
                .fromType(MinimalExternalModuleDependency.class, minimalExternalDependencyNotationConverter)
                .converter(mapNotationConverter)
                .fromType(FileCollection.class, filesNotationConverter)
                .fromType(Project.class, projectNotationConverter)
                .fromType(DependencyFactoryInternal.ClassPathNotation.class, dependencyClassPathNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph_test.go

    	cases := []struct {
    		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,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyConstraintNotationParser.java

                .toType(DependencyConstraint.class)
                .fromType(MinimalExternalModuleDependency.class, minimalExternalDependencyNotationConverter)
                .fromCharSequence(stringNotationConverter)
                .converter(new DependencyMapNotationConverter<>(instantiator, DefaultDependencyConstraint.class))
                .fromType(Project.class, new DependencyConstraintProjectNotationConverter(instantiator, dependencyFactory))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactory.java

            NotationParser<Object, IvyArtifact> sourceNotationParser = NotationParserBuilder
                    .toType(IvyArtifact.class)
                    .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                    .converter(archiveTaskNotationConverter)
                    .converter(publishArtifactNotationConverter)
                    .converter(fileNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyClassPathNotationConverterTest.groovy

            GRADLE_API      | "Gradle API"
            GRADLE_TEST_KIT | "Gradle TestKit"
            LOCAL_GROOVY    | "Local Groovy"
        }
    
        def parse(def value) {
            return NotationParserBuilder.toType(Dependency).fromType(DependencyFactoryInternal.ClassPathNotation, factory).toComposite().parseNotation(value)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ComponentSelectorParsers.java

                .toType(ComponentSelector.class)
                .fromCharSequence(new StringConverter())
                .converter(new MapConverter())
                .fromType(Project.class, new ProjectConverter());
    
        public static NotationParser<Object, Set<ComponentSelector>> multiParser() {
            return builder().toFlatteningComposite();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 01:47:36 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/graph.go

    // will delete each orphaned "from" vertex, but will never delete the "to" vertex
    func (g *Graph) deleteEdges_locked(fromType, toType vertexType, toNamespace, toName string) {
    	// get the "to" side
    	toVert, exists := g.getVertex_rlocked(toType, toNamespace, toName)
    	if !exists {
    		return
    	}
    
    	// delete all edges between vertices of fromType and toVert
    	neighborsToRemove := []*namedVertex{}
    	edgesToRemove := []graph.Edge{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc

      static constexpr char kId[] = "CPU";
    
      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)
Back to top