- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 171 for Allocate (0.1 sec)
-
pkg/volume/util/selinux.go
// and all options returned by contextOptions are known. return "", err } // InitLabels() may allocate a new unique SELinux label in kubelet memory. The label is *not* allocated // in the container runtime. Clear it to avoid memory problems. // ReleaseLabel on non-allocated label is NOOP. selinux.ReleaseLabel(processLabel) return fileLabel, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 14:40:21 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/c/tf_tensor.h
// memory alignment preferences. TF_CAPI_EXPORT extern size_t TF_TensorDefaultAlignment(); // Allocate and return a new Tensor. // // This function is an alternative to TF_NewTensor and should be used when // memory is allocated to pass the Tensor to the C API. The allocated memory // satisfies TensorFlow's memory alignment preferences and should be preferred // over calling malloc and free. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 16:40:30 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 07:46:29 UTC 2024 - 6.5K bytes - Viewed (0) -
src/os/path_windows.go
// Already extended with \\?\ or any combination of directory separators. return path } } // Do nothing (and don't allocate) if the path is "short". // Empirically (at least on the Windows Server 2013 builder), // the kernel is arbitrarily okay with < 248 bytes. That // matches what the docs above say:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
src/index/suffixarray/suffixarray.go
} if int64(int(n64)) != n64 || int(n64) < 0 { return errTooBig } n := int(n64) // allocate space if 2*n < cap(x.data) || cap(x.data) < n || x.sa.int32 != nil && n > maxData32 || x.sa.int64 != nil && n <= maxData32 { // new data is significantly smaller or larger than // existing buffers - allocate new ones x.data = make([]byte, n) x.sa.int32 = nil x.sa.int64 = nil if n <= maxData32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidr_allocator.go
cidrUpdateRetries = 3 ) // nodePollInterval is used in listing node var nodePollInterval = 10 * time.Second // CIDRAllocator is an interface implemented by things that know how // to allocate/occupy/recycle CIDR for nodes. type CIDRAllocator interface { // AllocateOrOccupyCIDR looks at the given node, assigns it a valid // CIDR if it doesn't currently have one or mark the CIDR as used if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 13:03:57 UTC 2024 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go
m := json.RawMessage(data[:0]) if err := r.decoder.Decode(&m); err != nil { return 0, err } // If capacity of data is less than length of the message, decoder will allocate a new slice // and set m to it, which means we need to copy the partial result back into data and preserve // the remaining result for subsequent reads. if len(m) > cap(data) { copy(data, m)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 13:33:12 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/netpoll_aix.go
) func netpollinit() { // Create the pipe we use to wakeup poll. r, w, errno := nonblockingPipe() if errno != 0 { throw("netpollinit: failed to create pipe") } rdwake = r wrwake = w // Pre-allocate array of pollfd structures for poll. pfds = make([]pollfd, 1, 128) // Poll the read side of the pipe. pfds[0].fd = rdwake pfds[0].events = _POLLIN pds = make([]*pollDesc, 1, 128) pds[0] = nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/networking/v1alpha1/generated.proto
// +required optional string name = 4; } // ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). // This range is used to allocate ClusterIPs to Service objects. message ServiceCIDR { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/filepathlite/path.go
"slices" ) var errInvalidPath = errors.New("invalid path") // A lazybuf is a lazily constructed path buffer. // It supports append, reading previously appended bytes, // and retrieving the final string. It does not allocate a buffer // to hold the output until that output diverges from s. type lazybuf struct { path string buf []byte w int volAndPath string volLen int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0)