- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 530 for Allocate (0.24 sec)
-
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
checkArgument(bufferSize % chunkSize == 0); // TODO(user): benchmark performance difference with longer buffer // always space for a single primitive this.buffer = ByteBuffer.allocate(bufferSize + 7).order(ByteOrder.LITTLE_ENDIAN); this.bufferSize = bufferSize; this.chunkSize = chunkSize; } /** Processes the available bytes of the buffer (at most {@code chunk} bytes). */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
src/runtime/trace/annotation.go
pid := fromContext(pctx).id id := newID() userTaskCreate(id, pid, taskType) s := &Task{id: id} return context.WithValue(pctx, traceContextKey{}, s), s // We allocate a new task even when // the tracing is disabled because the context and task // can be used across trace enable/disable boundaries, // which complicates the problem. // // For example, consider the following scenario:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 00:47:09 UTC 2023 - 6.1K bytes - Viewed (0) -
src/runtime/sys_windows_arm64.s
MOVD $100, R1 MUL R1, R0 MOVD R0, ret+0(FP) RET // This is called from rt0_go, which runs on the system stack // using the initial stack allocated by the OS. // It calls back into standard C using the BL below. TEXT runtime·wintls(SB),NOSPLIT,$0 // Allocate a TLS slot to hold g across calls to external code MOVD runtime·_TlsAlloc(SB), R0 SUB $16, RSP // skip over saved frame pointer below RSP BL (R0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.8K bytes - Viewed (0) -
src/runtime/os_aix.go
perrno uintptr // pointer to tls errno } //go:nosplit func semacreate(mp *m) { if mp.waitsema != 0 { return } var sem *semt // Call libc's malloc rather than malloc. This will // allocate space on the C heap. We can't call mallocgc // here because it could cause a deadlock. sem = (*semt)(malloc(unsafe.Sizeof(*sem))) if sem_init(sem, 0, 0) != 0 { throw("sem_init") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
NetworkingServiceSubnet = "service-cidr" // NetworkingPodSubnet flag sets the range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. NetworkingPodSubnet = "pod-network-cidr" // NodeCRISocket flag sets the CRI socket to connect to. NodeCRISocket = "cri-socket" // NodeName flag sets the node name. NodeName = "node-name"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
src/runtime/sys_windows_arm.s
// using the initial stack allocated by the OS. // It calls back into standard C using the BL below. // To do that, the stack pointer must be 8-byte-aligned. TEXT runtime·_initcgo(SB),NOSPLIT|NOFRAME,$0 MOVM.DB.W [R4, R14], (R13) // push {r4, lr} // Ensure stack is 8-byte aligned before calling C code MOVW R13, R4 BIC $0x7, R13 // Allocate a TLS slot to hold g across calls to external code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 7.7K bytes - Viewed (0) -
src/runtime/debug/garbage_test.go
"testing" "time" ) func TestReadGCStats(t *testing.T) { defer SetGCPercent(SetGCPercent(-1)) var stats GCStats var mstats runtime.MemStats var min, max time.Duration // First ReadGCStats will allocate, second should not, // especially if we follow up with an explicit garbage collection. stats.PauseQuantiles = make([]time.Duration, 10) ReadGCStats(&stats) runtime.GC()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 7.2K bytes - Viewed (0) -
src/path/path.go
package path import "internal/bytealg" // 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 { s string buf []byte w int } func (b *lazybuf) index(i int) byte { if b.buf != nil { return b.buf[i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 23 17:33:57 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go
// returns because it stops execution of the calling thread. // It is the base case in the recursion. func isIntrinsicNoReturn(fn *types.Func) bool { // Add functions here as the need arises, but don't allocate memory. path, name := fn.Pkg().Path(), fn.Name() return path == "syscall" && (name == "Exit" || name == "ExitProcess" || name == "ExitThread") || path == "runtime" && name == "Goexit"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.6K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.h
// tensors. The caller takes ownership of temporary variables and is responsible // for freeing them with TF_DestroyTemporaryVariable. This function will return // an error when the following conditions are met: // 1. Cannot allocate a new temporary variable // 2. Calling plugin allocator failed TF_CAPI_EXPORT extern void TF_TemporaryVariable( TF_OpKernelContext* ctx, TF_DataType dtype, const int64_t* dims, int num_dims, TF_StringView* var_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 07 14:44:39 UTC 2023 - 9.4K bytes - Viewed (0)