- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 418 for Allocate (0.2 sec)
-
src/runtime/cgo/gcc_linux_amd64.c
clang before 3.8. The test for this is misc/cgo/testsanitizers. GCC works hard to eliminate a seemingly unnecessary call to malloc, so we actually use the memory we allocate. */ setg_gcc = setg; pbounds = (uintptr*)malloc(2 * sizeof(uintptr)); if (pbounds == NULL) { fatalf("malloc failed: %s", strerror(errno)); } _cgo_set_stacklo(g, pbounds); free(pbounds);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/c/tf_buffer.cc
} const size_t proto_size = in.ByteSizeLong(); void* buf = port::Malloc(proto_size); if (buf == nullptr) { return tensorflow::errors::ResourceExhausted( "Failed to allocate memory to serialize message of type '", in.GetTypeName(), "' and size ", proto_size); } if (!in.SerializeWithCachedSizesToArray(static_cast<uint8_t*>(buf))) { port::Free(buf);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_arm64.c
clang before 3.8. The test for this is misc/cgo/testsanitizers. GCC works hard to eliminate a seemingly unnecessary call to malloc, so we actually use the memory we allocate. */ setg_gcc = setg; pbounds = (uintptr*)malloc(2 * sizeof(uintptr)); if (pbounds == NULL) { fatalf("malloc failed: %s", strerror(errno)); } _cgo_set_stacklo(g, pbounds); free(pbounds);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.2K bytes - Viewed (0) -
common-protos/k8s.io/api/networking/v1alpha1/generated.proto
// resources, all of which will be considered when allocating a CIDR for a // Node. A ClusterCIDR is eligible to be used for a given Node when the node // selector matches the node in question and has free CIDRs to allocate. In // case of multiple matching ClusterCIDR resources, the allocator will attempt // to break ties using internal heuristics, but any ClusterCIDR whose node // selector matches the Node may be used. message ClusterCIDR {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6K bytes - Viewed (0) -
staging/src/k8s.io/api/networking/v1alpha1/types.go
// +k8s:prerelease-lifecycle-gen:introduced=1.27 // 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. type ServiceCIDR struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:30 UTC 2023 - 6.5K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/sync/sync_test.go
wantError: true, }, { desc: "allocate range", mode: SyncFromCloud, node: nodeWithoutCIDRRange, events: []fakeEvent{{"node1", "CloudCIDRAllocatorInvalidMode"}}, wantError: true, }, { desc: "allocate range", mode: SyncFromCluster, node: nodeWithoutCIDRRange, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 7.6K bytes - Viewed (0) -
src/runtime/cgo/asm_ppc64x.s
// The value of R2 is saved on the new stack frame, and not // the caller's frame due to issue #43228. TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0 // Start with standard C stack frame layout and linkage, allocate // 32 bytes of argument space, save callee-save regs, and set R0 to $0. STACK_AND_SAVE_HOST_TO_GO_ABI(32) // The above will not preserve R2 (TOC). Save it in case Go is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 2.4K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_ppc64x.S
// license that can be found in the LICENSE file. //go:build linux && (ppc64 || ppc64le) .file "gcc_linux_ppc64x.S" // Define a frame which has no argument space, but is compatible with // a call into a Go ABI. We allocate 32B to match FIXED_FRAME with // similar semantics, except we store the backchain pointer, not the // LR at offset 0. R2 is stored in the Go TOC save slot (offset 24). .set GPR_OFFSET, 32 .set FPR_OFFSET, GPR_OFFSET + 18*8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:03:04 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/os_dragonfly.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 } // Called to initialize a new m (including the bootstrap m). // Called on the new thread, cannot allocate memory. func minit() { getg().m.procid = uint64(lwp_gettid()) minitSignals() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0) -
internal/s3select/json/preader.go
if r.err != nil { return nil, r.err } // Move to next block item, ok := <-r.queue if !ok { r.err = io.EOF return nil, r.err } //nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer. r.kvDstPool.Put(r.current) r.current = <-item.dst r.err = item.err r.recordsRead = 0 } kvRecord := r.current[r.recordsRead]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 6.4K bytes - Viewed (0)