- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,033 for Allocate (0.11 sec)
-
platforms/software/version-control/src/main/java/org/gradle/vcs/git/GitVersionControlSpec.java
* full contract of {@link java.net.URL} clients of this interface. * Specifically, {@link java.net.URL} extends {@link URI} to add network * operations which are both unsuited for simple data specification and * allocate additional memory.</p> */ URI getUrl(); /** * Sets the URL of the repository. */ void setUrl(URI url); /** * Sets the URL of the repository. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.4K bytes - Viewed (0) -
test/finprofiled.go
import ( "runtime" "time" "unsafe" ) func main() { runtime.MemProfileRate = 1 // Allocate 1M 4-byte objects and set a finalizer for every third object. // Assuming that tiny block size is 16, some objects get finalizers setup // only for middle bytes. The finalizer resurrects that object. // As the result, all allocated memory must stay alive. const ( N = 1 << 20 tinyBlockSize = 16 // runtime._TinySize )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go
return false, fmt.Errorf("checking node %q and resources of driver %q: %w", nodeName, driverName, err) } if !okay { return false, nil } } return true, nil } func (c claimController) allocate(ctx context.Context, nodeName string, resources resources) (string, *resourcev1alpha2.AllocationResult, error) { allocation := &resourcev1alpha2.AllocationResult{ Shareable: c.claimParameters.Shareable,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 22 09:03:22 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/os3_solaris.go
// Called on the parent thread (main thread in case of bootstrap), can allocate memory. func mpreinit(mp *m) { mp.gsignal = malg(32 * 1024) mp.gsignal.m = mp } func miniterrno() // Called to initialize a new m (including the bootstrap m). // Called on the new thread, cannot allocate memory. func minit() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
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/controller/nodeipam/ipam/range_allocator.go
// NodeController restart will return all falsely allocated CIDRs to the pool. if !apierrors.IsServerTimeout(err) { logger.Error(err, "CIDR assignment for node failed. Releasing allocated CIDR", "node", klog.KObj(node)) for idx, cidr := range allocatedCIDRs { if releaseErr := r.cidrSets[idx].Release(cidr); releaseErr != nil { logger.Error(releaseErr, "Error releasing allocated CIDR for node", "node", klog.KObj(node)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 16.2K 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) -
pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go
for _, dev := range m.devs { devs[dev.ID] = *dev } return m.getPreferredAllocFunc(r, devs) } // Allocate does a mock allocation func (m *Stub) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error) { klog.InfoS("Allocate", "request", r) devs := make(map[string]pluginapi.Device) for _, dev := range m.devs { devs[dev.ID] = *dev }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 11:19:10 UTC 2023 - 11.5K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
CharsetDecoder decoder = charset.newDecoder().onMalformedInput( CodingErrorAction.REPLACE).onUnmappableCharacter( CodingErrorAction.REPLACE); CharBuffer charbuffer = CharBuffer.allocate(totalBytesUnread()); ByteBuffer buf = null; boolean wasUnderflow = false; ByteBuffer nextBuf = null; boolean needsFlush = false;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.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)