- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 418 for Allocate (0.38 sec)
-
pkg/controller/nodeipam/node_ipam_controller.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:18:38 UTC 2024 - 5.4K bytes - Viewed (0) -
pilot/pkg/xds/nds_test.go
dnsProto "istio.io/istio/pkg/dns/proto" ) func TestNDS(t *testing.T) { cases := []struct { name string meta model.NodeMetadata expected *dnsProto.NameTable }{ { name: "auto allocate", meta: model.NodeMetadata{ DNSCapture: true, DNSAutoAllocate: true, }, expected: &dnsProto.NameTable{ Table: map[string]*dnsProto.NameTable_NameInfo{ "random-1.host.example": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 4.6K bytes - Viewed (0) -
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) -
src/compress/flate/huffman_code.go
func (h *huffmanEncoder) generate(freq []int32, maxBits int32) { if h.freqcache == nil { // Allocate a reusable buffer with the longest possible frequency table. // Possible lengths are codegenCodeCount, offsetCodeCount and maxNumLit. // The largest of these is maxNumLit, so we allocate for that case. h.freqcache = make([]literalNode, maxNumLit+1) } list := h.freqcache[:len(freq)+1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 9.7K 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) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
import java.io.InputStreamReader; import java.nio.charset.Charset; import java.util.Random; /** * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) public class ByteSourceAsCharSourceReadBenchmark { enum ReadStrategy { TO_BYTE_ARRAY_NEW_STRING { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/scope.go
// but topologymanager do not track providers anymore func (s *scope) allocateAlignedResources(pod *v1.Pod, container *v1.Container) error { for _, provider := range s.hintProviders { err := provider.Allocate(pod, container) if err != nil { return err } } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 14:44:24 UTC 2023 - 5K bytes - Viewed (0) -
src/runtime/libfuzzer.go
// The number of PCs and PCFlags is the same as the number of 8-bit counters. Each PC table entry has // the size of two ptr-sized integers. We allocate one more byte than what we actually need so that we can // get a pointer representing the end of the PC table array. size := (uintptr(end)-uintptr(start))*unsafe.Sizeof(uintptr(0))*2 + 1 pcTables = make([]byte, size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 23 01:12:02 UTC 2022 - 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) -
pkg/util/procfs/procfs_linux.go
dirFD, err := os.Open("/proc") if err != nil { return nil } defer dirFD.Close() for { // Read a small number at a time in case there are many entries, we don't want to // allocate a lot here. ls, err := dirFD.Readdir(10) if err == io.EOF { break } if err != nil { return nil } for _, entry := range ls { if !entry.IsDir() { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 4.1K bytes - Viewed (0)