Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for resptr (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/registry/authentication/selfsubjectreview/rest.go

    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/registry/rest"
    	authenticationapi "k8s.io/kubernetes/pkg/apis/authentication"
    )
    
    var _ interface {
    	rest.Creater
    	rest.NamespaceScopedStrategy
    	rest.Scoper
    	rest.Storage
    } = &REST{}
    
    // REST implements a RESTStorage for selfsubjectreviews.
    type REST struct {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pkg/registry/authorization/localsubjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.LocalSubjectAccessReview{}
    }
    
    // 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 "localsubjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top