Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,371 for Allocate (0.15 sec)

  1. src/syscall/exec_unix.go

    // descriptors close-on-exec and then, in the child, explicitly
    // unmark the ones we want the exec'ed program to keep.
    // Unix doesn't make this easy: there is, in general, no way to
    // allocate a new file descriptor close-on-exec. Instead you
    // have to allocate the descriptor and then mark it close-on-exec.
    // If a fork happens between those two events, the child's exec
    // will inherit an unwanted file descriptor.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/cidrset/cidr_set.go

    	nodeMaskSize int
    	// maxCIDRs is the maximum number of CIDRs that can be allocated
    	maxCIDRs int
    	// allocatedCIDRs counts the number of CIDRs allocated
    	allocatedCIDRs int
    	// nextCandidate points to the next CIDR that should be free
    	nextCandidate int
    	// used is a bitmap used to track the CIDRs allocated
    	used big.Int
    	// label is used to identify the metrics
    	label string
    }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_manager.go

    				// The container is terminated but we can't call m.RemoveContainer()
    				// here because it could remove the allocated cpuset for the container
    				// which may be in the process of being restarted.  That would result
    				// in the container losing any exclusively-allocated CPUs that it
    				// was allocated.
    				_, _, err := m.containerMap.GetContainerRef(containerID)
    				if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/WindowsOsMemoryInfo.java

                    // Note: the commit limit is usually less than the hard limit of the commit peak, but I think it would be prudent
                    // for us to not force the user's OS to allocate more page file space, so we'll use the commit limit here.
                    windowsMemoryInfo.getCommitLimit(), availableCommitMemory(windowsMemoryInfo)
                );
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/callback.go

    	if os.Getenv("RUNTIME_TEST_SHORT") != "" {
    		P = 10
    	}
    
    	if e := extraMInUse.Load(); e != 0 {
    		fmt.Printf("before testing extraMInUse got %d want 0\n", e)
    		os.Exit(1)
    	}
    
    	done := make(chan bool)
    	// allocate a bunch of stack frames and spray them with pointers
    	for i := 0; i < P; i++ {
    		go func() {
    			grow()
    			done <- true
    		}()
    	}
    	for i := 0; i < P; i++ {
    		<-done
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 14:05:01 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/runtime/os_openbsd.go

    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	gsignalSize := int32(32 * 1024)
    	if GOARCH == "mips64" {
    		gsignalSize = int32(64 * 1024)
    	}
    	mp.gsignal = malg(gsignalSize)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, can not allocate memory.
    func minit() {
    	getg().m.procid = uint64(getthrid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    // to safely deal with potentially invalid pointers, since resolving
    // such pointers may race with a span being allocated.
    type mSpanState uint8
    
    const (
    	mSpanDead   mSpanState = iota
    	mSpanInUse             // allocated for garbage collected heap
    	mSpanManual            // allocated for manual management (e.g., stack allocator)
    )
    
    // mSpanStateNames are the names of the span states, indexed by
    // mSpanState.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/abi.go

    	// need to allocate stack space, so it should be OK to mark them
    	// as NOSPLIT in these cases. In addition, my assumption is that
    	// functions written in assembly are NOSPLIT in most (but not all)
    	// cases. In the case of an ABIInternal target that has too many
    	// parameters to fit into registers, the wrapper would need to
    	// allocate stack space, but this seems like an unlikely scenario.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    		pod := makePod("fakePod", "fakeContainer", "2", "2")
    		container := &pod.Spec.Containers[0]
    		mgr.activePods = func() []*v1.Pod { return nil }
    
    		err := mgr.Allocate(pod, container)
    		if !reflect.DeepEqual(err, testCase.expAllocateErr) {
    			t.Errorf("CPU Manager Allocate() error (%v). expected error: %v but got: %v",
    				testCase.description, testCase.expAllocateErr, err)
    		}
    
    		mgr.AddContainer(pod, container, "fakeID")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    // NUMA nodes to allocate any 'remainder' CPUs from (in cases where the total
    // number of CPUs to allocate cannot be evenly distributed across the chosen
    // set of NUMA nodes). This "balance score" is calculated as the standard
    // deviation of how many CPUs will be available on each NUMA node after all
    // evenly distributed and remainder CPUs are allocated. The subset with the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top