Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 418 for Allocate (0.16 sec)

  1. src/runtime/rt0_aix_ppc64.s

    	// Start with standard C stack frame layout and linkage.
    	MOVD	LR, R0
    	MOVD	R0, 16(R1) // Save LR in caller's frame.
    	MOVW	CR, R0	   // Save CR in caller's frame
    	MOVD	R0, 8(R1)
    
    	MOVDU	R1, -344(R1) // Allocate frame.
    
    	// Preserve callee-save registers.
    	MOVD	R14, 48(R1)
    	MOVD	R15, 56(R1)
    	MOVD	R16, 64(R1)
    	MOVD	R17, 72(R1)
    	MOVD	R18, 80(R1)
    	MOVD	R19, 88(R1)
    	MOVD	R20, 96(R1)
    	MOVD	R21,104(R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:20:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/bcache/cache.go

    	//     The next time down the list, we can stop at noK,
    	//     because new entries are inserted at the front of the list.
    	//     This guarantees we never traverse an entry
    	//     multiple times.
    	//
    	//  2. We only allocate the entry to be added once,
    	//     saving it in add for the next attempt.
    	var add, noK *cacheEntry[K, V]
    	n := 0
    	for {
    		e := head.Load()
    		start := e
    		for ; e != nil && e != noK; e = e.next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray.go

    	}
    	if int64(int(n64)) != n64 || int(n64) < 0 {
    		return errTooBig
    	}
    	n := int(n64)
    
    	// allocate space
    	if 2*n < cap(x.data) || cap(x.data) < n || x.sa.int32 != nil && n > maxData32 || x.sa.int64 != nil && n <= maxData32 {
    		// new data is significantly smaller or larger than
    		// existing buffers - allocate new ones
    		x.data = make([]byte, n)
    		x.sa.int32 = nil
    		x.sa.int64 = nil
    		if n <= maxData32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/os/path_windows.go

    			// Already extended with \\?\ or any combination of directory separators.
    			return path
    		}
    	}
    
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/net/writev_test.go

    	}
    	c2.Close()
    
    	// 1 GB of data should be enough to notice the connection is gone.
    	// Just a few bytes is not enough.
    	// Arrange to reuse the same 1 MB buffer so that we don't allocate much.
    	buf := make([]byte, 1<<20)
    	buffers := make(Buffers, 1<<10)
    	for i := range buffers {
    		buffers[i] = buf
    	}
    	if _, err := buffers.WriteTo(c1); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	cidrUpdateRetries = 3
    )
    
    // nodePollInterval is used in listing node
    var nodePollInterval = 10 * time.Second
    
    // CIDRAllocator is an interface implemented by things that know how
    // to allocate/occupy/recycle CIDR for nodes.
    type CIDRAllocator interface {
    	// AllocateOrOccupyCIDR looks at the given node, assigns it a valid
    	// CIDR if it doesn't currently have one or mark the CIDR as used if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go

    	return map_ParentReference
    }
    
    var map_ServiceCIDR = map[string]string{
    	"":         "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
    	"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    	m := json.RawMessage(data[:0])
    	if err := r.decoder.Decode(&m); err != nil {
    		return 0, err
    	}
    
    	// If capacity of data is less than length of the message, decoder will allocate a new slice
    	// and set m to it, which means we need to copy the partial result back into data and preserve
    	// the remaining result for subsequent reads.
    	if len(m) > cap(data) {
    		copy(data, m)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/runtime/netpoll_aix.go

    )
    
    func netpollinit() {
    	// Create the pipe we use to wakeup poll.
    	r, w, errno := nonblockingPipe()
    	if errno != 0 {
    		throw("netpollinit: failed to create pipe")
    	}
    	rdwake = r
    	wrwake = w
    
    	// Pre-allocate array of pollfd structures for poll.
    	pfds = make([]pollfd, 1, 128)
    
    	// Poll the read side of the pipe.
    	pfds[0].fd = rdwake
    	pfds[0].events = _POLLIN
    
    	pds = make([]*pollDesc, 1, 128)
    	pds[0] = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    			}
    			commandLine = append(commandLine, c)
    		}
    		commandLine = append(commandLine, '"')
    	} else {
    		if len(args) == 1 {
    			// args[0] is a valid command line representing itself.
    			// No need to allocate a new slice or string for it.
    			return prog
    		}
    		commandLine = []byte(prog)
    	}
    
    	for _, arg := range args[1:] {
    		commandLine = append(commandLine, ' ')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top