- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 418 for Allocate (0.27 sec)
-
pkg/util/tail/tail.go
blockSize = 1024 ) // ReadAtMost reads at most max bytes from the end of the file identified by path or // returns an error. It returns true if the file was longer than max. It will // allocate up to max bytes. func ReadAtMost(path string, max int64) ([]byte, bool, error) { f, err := os.Open(path) if err != nil { return nil, false, err } defer f.Close() fi, err := f.Stat() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager.go
// concrete resource allocations per Pod in terms of NUMA locality hints. GetPodTopologyHints(pod *v1.Pod) map[string][]TopologyHint // Allocate triggers resource allocation to occur on the HintProvider after // all hints have been gathered and the aggregated Hint is available via a // call to Store.GetAffinity(). Allocate(pod *v1.Pod, container *v1.Container) error } // Store interface is to allow Hint Providers to retrieve pod affinity
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 12:43:16 UTC 2023 - 7.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/runtime/mklockrank.go
traceBuf < traceStrings; # Malloc allg, allocmR, allp, # procresize execR, # May grow stack execW, # May allocate after BeforeFork hchan, notifyList, reflectOffs, timer, traceStrings, userArenaState # Above MALLOC are things that can allocate memory. < MALLOC # Below MALLOC is the malloc implementation. < fin, spanSetSpine, mspanSpecial, traceTypeTab,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseRegistry.java
package org.gradle.internal.work; import org.gradle.internal.resources.ResourceLock; /** * Used to obtain and release worker leases to run work. There are a limited number of leases available and this service is used to allocate these to worker threads. * * Used where the operation cannot be packaged as a unit of work, for example when the operation is started and completed in response to separate * events. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store_test.go
} if !store.allocateNeeded { t.Errorf("expected allocate needed") } store.allocateNeeded = false store.deleteServices(httpDNSRR.NamespacedName()) got = store.getAllServices() if len(got) != 0 { t.Errorf("got unexpected services %v", got) } if store.allocateNeeded { t.Errorf("expected no allocate needed") } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 8.1K bytes - Viewed (0)