Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for fromType (0.23 sec)

  1. 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)
  2. internal/s3select/sql/funceval.go

    	t, ok := timeVal.ToTimestamp()
    	if !ok {
    		return nil, errNonTimestampArg
    	}
    
    	return extract(strings.ToUpper(e.Timeword), t)
    }
    
    func errUnsupportedCast(fromType, toType string) error {
    	return fmt.Errorf("Cannot cast from %v to %v", fromType, toType)
    }
    
    func errCastFailure(msg string) error {
    	return fmt.Errorf("Error casting: %s", msg)
    }
    
    // Allowed cast types
    const (
    	castBool      = "BOOL"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/NotationParserBuilder.java

            this.notationParsers.add(converter);
            return this;
        }
    
        /**
         * Adds a converter that accepts only notations of the given type.
         */
        public <S extends N> NotationParserBuilder<N, T> fromType(Class<S> notationType, NotationConverter<? super S, ? extends T> converter) {
            this.notationParsers.add(new TypeFilteringNotationConverter<Object, S, T>(notationType, converter));
            return this;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 27 20:34:59 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  5. 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 +
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

      return patterns;
    }
    
    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 +
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    type AddrPos struct {
    	Addr
    	Pos OperandPos
    }
    
    type OperandPos int8
    
    const (
    	Source OperandPos = iota
    	Destination
    )
    
    // From3Type returns p.GetFrom3().Type, or TYPE_NONE when
    // p.GetFrom3() returns nil.
    func (p *Prog) From3Type() AddrType {
    	from3 := p.GetFrom3()
    	if from3 == nil {
    		return TYPE_NONE
    	}
    	return from3.Type
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    		} else if p.From3Type() == obj.TYPE_CONST {
    			/* imm imm reg reg */
    			/* operand order: SIX, VRA, ST, VRT */
    			six := int(c.regoff(&p.From))
    			st := int(c.regoff(p.GetFrom3()))
    			o1 = AOP_IIRR(c.opiirr(p.As), uint32(p.To.Reg), uint32(p.Reg), uint32(st), uint32(six))
    		} else if p.From3Type() == obj.TYPE_NONE && p.Reg != 0 {
    			/* imm reg reg */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/asm7.go

    		cond := SpecialOperand(p.From.Offset)
    		if cond < SPOP_EQ || cond > SPOP_NV || (cond == SPOP_AL || cond == SPOP_NV) && p.From3Type() == obj.TYPE_NONE {
    			c.ctxt.Diag("invalid condition: %v", p)
    		} else {
    			cond -= SPOP_EQ
    		}
    
    		r := int(p.Reg)
    		var rf int = r
    		if p.From3Type() == obj.TYPE_NONE {
    			/* CINC/CINV/CNEG or CSET/CSETM*/
    			if r == obj.REG_NONE {
    				/* CSET/CSETM */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top