Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for resptr (0.17 sec)

  1. src/cmd/compile/internal/ssa/shift_test.go

    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    			Valu("resptr", OpOffPtr, ptyp, 16, nil, "SP"),
    			Valu("load", OpLoad, typ, 0, nil, "argptr", "mem"),
    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. internal/config/subnet/subnet.go

    		Transport: c.transport,
    	}
    
    	resp, err := client.Do(r)
    	if err != nil {
    		return "", err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	respBytes, err := io.ReadAll(io.LimitReader(resp.Body, respBodyLimit))
    	if err != nil {
    		return "", err
    	}
    	respStr := string(respBytes)
    
    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue9537.dir/b.go

    type Intf interface {
    	Get()        []byte
    	RetPtr(int)  *int
    	RetRPtr(int) (int, *int)
    }
    
    func main() {
    	x := &a.X{T: [32]byte{1, 2, 3, 4}}
    	var ix Intf = X{x}
    	t1 := ix.Get()
    	t2 := x.Get()
    	if !bytes.Equal(t1, t2) {
    		panic(t1)
    	}
    
    	p1 := ix.RetPtr(5)
    	p2 := x.RetPtr(7)
    	if *p1 != 6 || *p2 != 8 {
    		panic(*p1)
    	}
    
    	r1, r2 := ix.RetRPtr(10)
    	r3, r4 := x.RetRPtr(13)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 22 03:25:12 UTC 2015
    - 678 bytes
    - Viewed (0)
  4. src/reflect/makefunc.go

    type makeFuncCtxt struct {
    	fn      uintptr
    	stack   *bitVector // ptrmap for both stack args and results
    	argLen  uintptr    // just args
    	regPtrs abi.IntArgRegBitmap
    }
    
    // moveMakeFuncArgPtrs uses ctxt.regPtrs to copy integer pointer arguments
    // in args.Ints to args.Ptrs where the GC can see them.
    //
    // This is similar to what reflectcallmove does in the runtime, except
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/crypto/aes/ctr_s390x.go

    	if len(iv) != BlockSize {
    		panic("cipher.NewCTR: IV length must equal block size")
    	}
    	var ac aesctr
    	ac.block = c
    	ac.ctr[0] = byteorder.BeUint64(iv[0:]) // high bits
    	ac.ctr[1] = byteorder.BeUint64(iv[8:]) // low bits
    	ac.buffer = ac.storage[:0]
    	return &ac
    }
    
    func (c *aesctr) refill() {
    	// Fill up the buffer with an incrementing count.
    	c.buffer = c.storage[:streamBufferSize]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/reflect/swapper.go

    			if i != 0 || j != 0 {
    				panic("reflect: slice index out of range")
    			}
    		}
    	}
    
    	typ := v.Type().Elem().common()
    	size := typ.Size()
    	hasPtr := typ.Pointers()
    
    	// Some common & small cases, without using memmove:
    	if hasPtr {
    		if size == goarch.PtrSize {
    			ps := *(*[]unsafe.Pointer)(v.ptr)
    			return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] }
    		}
    		if typ.Kind() == abi.String {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. pkg/registry/authorization/selfsubjectrulesreview/rest.go

    	"k8s.io/apiserver/pkg/registry/rest"
    	authorizationapi "k8s.io/kubernetes/pkg/apis/authorization"
    )
    
    // REST implements a RESTStorage for selfsubjectrulesreview.
    type REST struct {
    	ruleResolver authorizer.RuleResolver
    }
    
    // NewREST returns a RESTStorage object that will work against selfsubjectrulesreview.
    func NewREST(ruleResolver authorizer.RuleResolver) *REST {
    	return &REST{ruleResolver}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. pkg/registry/authorization/subjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.SubjectAccessReview{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (r *REST) GetSingularName() string {
    	return "subjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. pkg/registry/authorization/selfsubjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.SelfSubjectAccessReview{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (r *REST) GetSingularName() string {
    	return "selfsubjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. pkg/registry/core/componentstatus/rest.go

    	return &REST{
    		GetServersToValidate: serverRetriever,
    		TableConvertor:       printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    }
    
    func (*REST) NamespaceScoped() bool {
    	return false
    }
    
    func (rs *REST) New() runtime.Object {
    	return &api.ComponentStatus{}
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top