Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 260 for elem2 (0.04 sec)

  1. src/cmd/compile/internal/types2/infer.go

    	}()
    
    	switch t := typ.(type) {
    	case *Basic:
    		// nothing to do
    
    	case *Alias:
    		return w.isParameterized(Unalias(t))
    
    	case *Array:
    		return w.isParameterized(t.elem)
    
    	case *Slice:
    		return w.isParameterized(t.elem)
    
    	case *Struct:
    		return w.varList(t.fields)
    
    	case *Pointer:
    		return w.isParameterized(t.base)
    
    	case *Tuple:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec.go

    	for {
    		i := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    		t := x.Type
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		b = x.Block
    		v0 := b.NewValue0(v.Pos, OpLoad, v.Type)
    		v.copyOf(v0)
    		v1 := b.NewValue0(v.Pos, OpOffPtr, v.Type.PtrTo())
    		v1.AuxInt = int64ToAuxInt(t.Elem().Size() * i)
    		v1.AddArg(ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

    Type ToLegalType(Type type) {
      if (IsTFQintType(type)) return GetIntTypeFromTFQint(type);
      if (auto shaped = mlir::dyn_cast<ShapedType>(type)) {
        Type elem = shaped.getElementType();
        if (IsTFQintType(elem)) return shaped.clone(ToLegalType(elem));
      }
      return type;
    }
    
    bool IsQintToIntCast(Operation *op) {
      auto cast_op = llvm::dyn_cast<TF::CastOp>(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	}()
    
    	return pathJoinBuf(sb, elem...)
    }
    
    // pathJoinBuf - like path.Join() but retains trailing SlashSeparator of the last element.
    // Provide a string builder to reduce allocation.
    func pathJoinBuf(dst *bytebufferpool.ByteBuffer, elem ...string) string {
    	trailingSlash := len(elem) > 0 && hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar)
    	dst.Reset()
    	added := 0
    	for _, e := range elem {
    		if added > 0 || e != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeMultiset.java

         */
        @CheckForNull private AvlNode<E> pred;
        @CheckForNull private AvlNode<E> succ;
    
        AvlNode(@ParametricNullness E elem, int elemCount) {
          checkArgument(elemCount > 0);
          this.elem = elem;
          this.elemCount = elemCount;
          this.totalCount = elemCount;
          this.distinctElements = 1;
          this.height = 1;
          this.left = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	if suffix == "y" || suffix == "n" {
    		pattern = suffix
    		suffix = ""
    	} else {
    		var elem []string
    		if suffix != "" {
    			elem = append(elem, "+", suffix)
    		}
    		for _, x := range b.Add {
    			elem = append(elem, "+", x)
    		}
    		for _, x := range b.Skip {
    			elem = append(elem, "-", x)
    		}
    		pattern = strings.Join(elem, "")
    		if pattern == "" {
    			pattern = "y"
    		}
    	}
    	if b.Disable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. association.go

    			}
    
    			appendToFieldValues := func(ev reflect.Value) {
    				if ev.Type().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev)
    				} else if ev.Type().Elem().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev.Elem())
    				} else {
    					association.Error = fmt.Errorf("unsupported data type: %v for relation %s", ev.Type(), association.Relationship.Name)
    				}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/go/types/builtins.go

    			check.errorf(x, InvalidCopy, invalidArg+"copy expects slice arguments; found %s and %s", x, y)
    			return
    		}
    
    		if !Identical(dst.elem, src.elem) {
    			check.errorf(x, InvalidCopy, invalidArg+"arguments to copy %s and %s have different element types %s and %s", x, y, dst.elem, src.elem)
    			return
    		}
    
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(Typ[Int], x.typ, y.typ))
    		}
    		x.mode = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/typecheck.go

    		if !types.Identical(rcvr, tt) {
    			if rcvr.IsPtr() && types.Identical(rcvr.Elem(), tt) {
    				checklvalue(n.X, "call pointer method on")
    				addr := NodAddr(n.X)
    				addr.SetImplicit(true)
    				n.X = typecheck(addr, ctxType|ctxExpr)
    			} else if tt.IsPtr() && (!rcvr.IsPtr() || rcvr.IsPtr() && rcvr.Elem().NotInHeap()) && types.Identical(tt.Elem(), rcvr) {
    				star := ir.NewStarExpr(base.Pos, n.X)
    				star.SetImplicit(true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    	}()
    
    	switch t := typ.(type) {
    	case *Basic:
    		// nothing to do
    
    	case *Alias:
    		return w.isParameterized(Unalias(t))
    
    	case *Array:
    		return w.isParameterized(t.elem)
    
    	case *Slice:
    		return w.isParameterized(t.elem)
    
    	case *Struct:
    		return w.varList(t.fields)
    
    	case *Pointer:
    		return w.isParameterized(t.base)
    
    	case *Tuple:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top