Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 244 for allocable (0.14 sec)

  1. src/runtime/mheap.go

    	if needPhysPageAlign {
    		// Overallocate by a physical page to allow for later alignment.
    		extraPages := physPageSize / pageSize
    
    		// Find a big enough region first, but then only allocate the
    		// aligned portion. We can't just allocate and then free the
    		// edges because we need to account for scavenged memory, and
    		// that's difficult with alloc.
    		//
    		// Note that we skip updates to searchAddr here. It's OK if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager.go

    	index := int(v/userNsLength) - m.off
    	if index < 0 || index >= m.len {
    		return true
    	}
    	return m.used.Has(index)
    }
    
    // allocateOne finds a free user namespace and allocate it to the specified pod.
    // The first return value is the first ID in the user namespace, the second returns
    // the length for the user namespace range.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof.go

    		memStats = new(runtime.MemStats)
    		runtime.ReadMemStats(memStats)
    	}
    
    	// Find out how many records there are (MemProfile(nil, true)),
    	// allocate that many records, and get the data.
    	// There's a race—more records might be added between
    	// the two calls—so allocate a few extra records for safety
    	// and also try again if we're very unlucky.
    	// The loop should only execute one iteration in the common case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    		// registers. In that case, we should store registers
    		// in a context object. If we pre-allocate one per P,
    		// asyncPreempt can spill just a few registers to the
    		// stack, then grab its context object and spill into
    		// it. When it enters the runtime, it would allocate a
    		// new context for the P.
    		print("runtime: asyncPreemptStack=", asyncPreemptStack, "\n")
    		throw("async stack too large")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. 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)
  6. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    	if csiNode != nil {
    		for i := range csiNode.Spec.Drivers {
    			d := csiNode.Spec.Drivers[i]
    			if d.Allocatable != nil && d.Allocatable.Count != nil {
    				// TODO: drop GetCSIAttachLimitKey once we don't get values from Node object (v1.18)
    				k := v1.ResourceName(volumeutil.GetCSIAttachLimitKey(d.Name))
    				nodeVolumeLimits[k] = int64(*d.Allocatable.Count)
    			}
    		}
    	}
    	return nodeVolumeLimits
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K 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. 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)
  9. src/runtime/stack.go

    	stackSystem = goos.IsWindows*512*goarch.PtrSize + goos.IsPlan9*512 + goos.IsIos*goarch.IsArm64*1024
    
    	// The minimum size of stack used by Go code
    	stackMin = 2048
    
    	// The minimum stack size to allocate.
    	// The hackery here rounds fixedStack0 up to a power of 2.
    	fixedStack0 = stackMin + stackSystem
    	fixedStack1 = fixedStack0 - 1
    	fixedStack2 = fixedStack1 | (fixedStack1 >> 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/runtime/os_plan9.go

    	}
    	if neg {
    		n = -n
    	}
    	return n
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	// Initialize stack and goroutine for note handling.
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top