Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 171 for Allocate (0.11 sec)

  1. src/runtime/mcheckmark.go

    func startCheckmarks() {
    	assertWorldStopped()
    
    	// Clear all checkmarks.
    	for _, ai := range mheap_.allArenas {
    		arena := mheap_.arenas[ai.l1()][ai.l2()]
    		bitmap := arena.checkmarks
    
    		if bitmap == nil {
    			// Allocate bitmap on first use.
    			bitmap = (*checkmarksMap)(persistentalloc(unsafe.Sizeof(*bitmap), 0, &memstats.gcMiscSys))
    			if bitmap == nil {
    				throw("out of memory allocating checkmarks bitmap")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/sync/pool.go

    	s := p.localSize
    	l := p.local
    	if uintptr(pid) < s {
    		return indexLocal(l, pid), pid
    	}
    	if p.local == nil {
    		allPools = append(allPools, p)
    	}
    	// If GOMAXPROCS changes between GCs, we re-allocate the array and lose the old one.
    	size := runtime.GOMAXPROCS(0)
    	local := make([]poolLocal, size)
    	atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/runtime/rt0_linux_ppc64le.s

    	XOR R0, R0	  // Make sure R0 is zero before _main
    	BR _main<>(SB)
    
    TEXT _rt0_ppc64le_linux_lib(SB),NOSPLIT|NOFRAME,$0
    	// This is called with ELFv2 calling conventions. Convert to Go.
    	// Allocate argument storage for call to newosproc0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(16)
    
    	MOVD	R3, _rt0_ppc64le_linux_lib_argc<>(SB)
    	MOVD	R4, _rt0_ppc64le_linux_lib_argv<>(SB)
    
    	// Synchronous initialization.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader.go

    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    		r.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tensor.cc

        uint64 size =
            client->backend().transfer_manager()->GetByteSizeRequirement(subshape);
        TF_ASSIGN_OR_RETURN(se::OwningDeviceMemory buffer,
                            client->backend().memory_allocator()->Allocate(
                                device_ordinal, size, /*retry_on_failure=*/false,
                                subshape.layout().memory_space()));
        // Move our buffer into shaped_buffer, which takes ownership of it.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top