- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 530 for Allocate (0.23 sec)
-
src/runtime/sigqueue_plan9.go
type noteData struct { s [_ERRMAX]byte n int // n bytes of s are valid } type noteQueue struct { lock mutex data [qsize]noteData ri int wi int full bool } // It is not allowed to allocate memory in the signal handler. func (q *noteQueue) push(item *byte) bool { lock(&q.lock) if q.full { unlock(&q.lock) return false } s := gostringnocopy(item) copy(q.data[q.wi].s[:], s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 3.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) -
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) -
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) -
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/runtime/rt0_aix_ppc64.s
// Start with standard C stack frame layout and linkage. MOVD LR, R0 MOVD R0, 16(R1) // Save LR in caller's frame. MOVW CR, R0 // Save CR in caller's frame MOVD R0, 8(R1) MOVDU R1, -344(R1) // Allocate frame. // Preserve callee-save registers. MOVD R14, 48(R1) MOVD R15, 56(R1) MOVD R16, 64(R1) MOVD R17, 72(R1) MOVD R18, 80(R1) MOVD R19, 88(R1) MOVD R20, 96(R1) MOVD R21,104(R1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 22:20:51 UTC 2023 - 4.1K bytes - Viewed (0) -
test/ken/embed.go
if p.a != p.a1 { println("SubpSub", p, p.a1) panic("fail") } return p.a } /****** ****** ******/ func main() { var i I var s *S // allocate s = new(S) s.Subp = new(Subp) s.Sub.SubSubp = new(SubSubp) s.Subp.SubpSubp = new(SubpSubp) // explicit assignment s.a = 1 s.Sub.a = 2 s.Subp.a = 3 s.Sub.SubSub.a = 4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 03 17:03:15 UTC 2016 - 4.3K bytes - Viewed (0)