Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 530 for Allocate (0.35 sec)

  1. src/vendor/golang.org/x/crypto/sha3/doc.go

    //
    // # Guidance
    //
    // If you aren't sure what function you need, use SHAKE256 with at least 64
    // bytes of output. The SHAKE instances are faster than the SHA3 instances;
    // the latter have to allocate memory to conform to the hash.Hash interface.
    //
    // If you need a secret-key MAC (message authentication code), prepend the
    // secret key to the input, hash with SHAKE256 and read at least 32 bytes of
    // output.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/critical.go

    					d.Pos = p.Pos
    					blocks[argID] = d
    					if f.pass.debug > 0 {
    						f.Warnl(p.Pos, "split critical edge")
    					}
    				} else {
    					reusedBlock = true
    				}
    			} else {
    				// no existing block, so allocate a new block
    				// to place on the edge
    				d = f.NewBlock(BlockPlain)
    				d.Pos = p.Pos
    				if f.pass.debug > 0 {
    					f.Warnl(p.Pos, "split critical edge")
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. pkg/proxy/util/nfacct/nfacct_linux.go

    		// to know the data type in advance. We achieve this by switching on the attribute-type, and we
    		// allocate the 'adjusted length' bytes (as done in step(3)) for the data-structure.
    		switch attrType {
    		case attrName:
    			// NFACCT_NAME has a variable size, so we allocate a slice of 'adjusted length' bytes
    			// and read the next 'adjusted length' bytes into this slice.
    			data := make([]byte, length)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. pkg/fieldpath/fieldpath.go

    	keys := make([]string, 0, len(m))
    	var grow int
    	for k, v := range m {
    		keys = append(keys, k)
    		// why add 4: (for =, \n, " and ")
    		grow += len(k) + len(v) + 4
    	}
    	sort.Strings(keys)
    	// allocate space to avoid expansion
    	dst := make([]byte, 0, grow)
    	for _, key := range keys {
    		if len(dst) > 0 {
    			dst = append(dst, '\n')
    		}
    		dst = append(dst, key...)
    		dst = append(dst, '=')
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. manifests/charts/gateway/values.yaml

        annotations: {}
        loadBalancerIP: ""
        loadBalancerSourceRanges: []
        externalTrafficPolicy: ""
        externalIPs: []
        ipFamilyPolicy: ""
        ipFamilies: []
        ## Whether to automatically allocate NodePorts (only for LoadBalancers).
        # allocateLoadBalancerNodePorts: false
    
      resources:
        requests:
          cpu: 100m
          memory: 128Mi
        limits:
          cpu: 2000m
          memory: 1024Mi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/pkg.go

    	internedStrings   = map[string]string{}
    )
    
    func InternString(b []byte) string {
    	internedStringsmu.Lock()
    	s, ok := internedStrings[string(b)] // string(b) here doesn't allocate
    	if !ok {
    		s = string(b)
    		internedStrings[s] = s
    	}
    	internedStringsmu.Unlock()
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:28:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/node_ipam_controller.go

    	if allocatorType != ipam.CloudAllocatorType {
    		if len(clusterCIDRs) == 0 {
    			return nil, fmt.Errorf("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set")
    		}
    
    		for idx, cidr := range clusterCIDRs {
    			mask := cidr.Mask
    			if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. pilot/pkg/xds/nds_test.go

    	dnsProto "istio.io/istio/pkg/dns/proto"
    )
    
    func TestNDS(t *testing.T) {
    	cases := []struct {
    		name     string
    		meta     model.NodeMetadata
    		expected *dnsProto.NameTable
    	}{
    		{
    			name: "auto allocate",
    			meta: model.NodeMetadata{
    				DNSCapture:      true,
    				DNSAutoAllocate: true,
    			},
    			expected: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"random-1.host.example": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. test/fixedbugs/issue15002.go

    import (
    	"fmt"
    	"syscall"
    )
    
    // Use global variables so the compiler
    // doesn't know that they are constants.
    var p = syscall.Getpagesize()
    var zero = 0
    var one = 1
    
    func main() {
    	// Allocate 2 pages of memory.
    	b, err := syscall.Mmap(-1, 0, 2*p, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE)
    	if err != nil {
    		panic(err)
    	}
    	// Mark the second page as faulting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/mfixalloc.go

    // write barrier to be called since that could result in the object being reachable.
    type mlink struct {
    	_    sys.NotInHeap
    	next *mlink
    }
    
    // Initialize f to allocate objects of the given size,
    // using the allocator to obtain chunks of memory.
    func (f *fixalloc) init(size uintptr, first func(arg, p unsafe.Pointer), arg unsafe.Pointer, stat *sysMemStat) {
    	if size > _FixAllocChunk {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top