Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for intSlice (0.23 sec)

  1. 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)
  2. src/cmd/compile/internal/walk/complit.go

    		// copy static to slice
    		var_ = typecheck.AssignExpr(var_)
    		name, offset, ok := staticinit.StaticLoc(var_)
    		if !ok || name.Class != ir.PEXTERN {
    			base.Fatalf("slicelit: %v", var_)
    		}
    		staticdata.InitSlice(name, offset, vstat.Linksym(), t.NumElem())
    		return
    	}
    
    	// recipe for var = []t{...}
    	// 1. make a static array
    	//	var vstat [...]t
    	// 2. assign (data statements) the constant part
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/reflect/type.go

    	m.Name = pname.Name()
    	fl := flag(Func)
    	mtyp := t.typeOff(p.Mtyp)
    	ft := (*funcType)(unsafe.Pointer(mtyp))
    	in := make([]Type, 0, 1+ft.NumIn())
    	in = append(in, t)
    	for _, arg := range ft.InSlice() {
    		in = append(in, toRType(arg))
    	}
    	out := make([]Type, 0, ft.NumOut())
    	for _, ret := range ft.OutSlice() {
    		out = append(out, toRType(ret))
    	}
    	mt := FuncOf(in, out, ft.IsVariadic())
    	m.Type = mt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. src/reflect/value.go

    	}
    	ftyp := ctxt.ftyp
    	f := ctxt.fn
    
    	_, _, abid := funcLayout(ftyp, nil)
    
    	// Copy arguments into Values.
    	ptr := frame
    	in := make([]Value, 0, int(ftyp.InCount))
    	for i, typ := range ftyp.InSlice() {
    		if typ.Size() == 0 {
    			in = append(in, Zero(toRType(typ)))
    			continue
    		}
    		v := Value{typ, nil, flag(typ.Kind())}
    		steps := abid.call.stepsForValue(i)
    		if st := steps[0]; st.kind == abiStepStack {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    					"int": {
    						SchemaProps: spec.SchemaProps{
    							Description: "IntValue is a 64-bit integer.",
    							Type:        []string{"integer"},
    							Format:      "int64",
    						},
    					},
    					"intSlice": {
    						SchemaProps: spec.SchemaProps{
    							Description: "IntSliceValue is an array of 64-bit integers.",
    							Ref:         ref("k8s.io/api/resource/v1alpha2.NamedResourcesIntSlice"),
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. api/openapi-spec/swagger.json

              "type": "boolean"
            },
            "int": {
              "description": "IntValue is a 64-bit integer.",
              "format": "int64",
              "type": "integer"
            },
            "intSlice": {
              "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice",
              "description": "IntSliceValue is an array of 64-bit integers."
            },
            "name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top