Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for intSlice (0.18 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Float64Slice).Search", Method, 0},
    		{"(Float64Slice).Sort", Method, 0},
    		{"(Float64Slice).Swap", Method, 0},
    		{"(IntSlice).Len", Method, 0},
    		{"(IntSlice).Less", Method, 0},
    		{"(IntSlice).Search", Method, 0},
    		{"(IntSlice).Sort", Method, 0},
    		{"(IntSlice).Swap", Method, 0},
    		{"(StringSlice).Len", Method, 0},
    		{"(StringSlice).Less", Method, 0},
    		{"(StringSlice).Search", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  2. src/runtime/type.go

    	case abi.Func:
    		ft := (*functype)(unsafe.Pointer(t))
    		fv := (*functype)(unsafe.Pointer(v))
    		if ft.OutCount != fv.OutCount || ft.InCount != fv.InCount {
    			return false
    		}
    		tin, vin := ft.InSlice(), fv.InSlice()
    		for i := 0; i < len(tin); i++ {
    			if !typesEqual(tin[i], vin[i], seen) {
    				return false
    			}
    		}
    		tout, vout := ft.OutSlice(), fv.OutSlice()
    		for i := 0; i < len(tout); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/text/template/funcs.go

    	}
    	if value.Type().AssignableTo(argType) {
    		return value, nil
    	}
    	if intLike(value.Kind()) && intLike(argType.Kind()) && value.Type().ConvertibleTo(argType) {
    		value = value.Convert(argType)
    		return value, nil
    	}
    	return reflect.Value{}, fmt.Errorf("value has type %s; should be %s", value.Type(), argType)
    }
    
    func intLike(typ reflect.Kind) bool {
    	switch typ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. src/internal/abi/type.go

    }
    
    func (t *FuncType) In(i int) *Type {
    	return t.InSlice()[i]
    }
    
    func (t *FuncType) NumIn() int {
    	return int(t.InCount)
    }
    
    func (t *FuncType) NumOut() int {
    	return int(t.OutCount & (1<<15 - 1))
    }
    
    func (t *FuncType) Out(i int) *Type {
    	return (t.OutSlice()[i])
    }
    
    func (t *FuncType) InSlice() []*Type {
    	uadd := unsafe.Sizeof(*t)
    	if t.TFlag&TFlagUncommon != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. src/internal/reflectlite/type.go

    func (t rtype) Elem() Type {
    	return toType(elem(t.common()))
    }
    
    func (t rtype) In(i int) Type {
    	tt := t.Type.FuncType()
    	if tt == nil {
    		panic("reflect: In of non-func type")
    	}
    	return toType(tt.InSlice()[i])
    }
    
    func (t rtype) Key() Type {
    	tt := t.Type.MapType()
    	if tt == nil {
    		panic("reflect: Key of non-map type")
    	}
    	return toType(tt.Key)
    }
    
    func (t rtype) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    		if stkStep != nil {
    			if isPtr {
    				stackPtrs.append(1)
    			} else {
    				stackPtrs.append(0)
    			}
    		} else {
    			spill += goarch.PtrSize
    		}
    	}
    	for i, arg := range t.InSlice() {
    		stkStep := in.addArg(arg)
    		if stkStep != nil {
    			addTypeBits(stackPtrs, stkStep.stkOff, arg)
    		} else {
    			spill = align(spill, uintptr(arg.Align()))
    			spill += arg.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/staticinit/sched.go

    			// copy pointer
    			staticdata.InitAddr(l, loff, staticdata.GlobalLinksym(s.Temps[r]))
    			return true
    		}
    
    	case ir.OSLICELIT:
    		r := r.(*ir.CompLitExpr)
    		// copy slice
    		staticdata.InitSlice(l, loff, staticdata.GlobalLinksym(s.Temps[r]), r.Len)
    		return true
    
    	case ir.OARRAYLIT, ir.OSTRUCTLIT:
    		r := r.(*ir.CompLitExpr)
    		p := s.Plans[r]
    		for i := range p.E {
    			e := &p.E[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/runtime/syscall_windows.go

    	}
    	ft := (*functype)(unsafe.Pointer(fn._type))
    
    	// Check arguments and construct ABI translation.
    	var abiMap abiDesc
    	for _, t := range ft.InSlice() {
    		abiMap.assignArg(t)
    	}
    	// The Go ABI aligns the result to the word size. src is
    	// already aligned.
    	abiMap.dstStackSize = alignUp(abiMap.dstStackSize, goarch.PtrSize)
    	abiMap.retOffset = abiMap.dstStackSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/mfinal.go

    	}
    	if ft.InCount != 1 {
    		throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string())
    	}
    	fint := ft.InSlice()[0]
    	switch {
    	case fint == etyp:
    		// ok - same type
    		goto okarg
    	case fint.Kind_&abi.KindMask == abi.Pointer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                "type": "boolean"
              },
              "int": {
                "description": "IntValue is a 64-bit integer.",
                "format": "int64",
                "type": "integer"
              },
              "intSlice": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
Back to top