- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 530 for Allocate (0.22 sec)
-
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) -
src/os/stat_plan9.go
} // Pull the real size out of the stat message. size = int(uint16(buf[0]) | uint16(buf[1])<<8) // If the stat message is larger than our buffer we will // go around the loop and allocate one that is big enough. if size <= n { d, err := syscall.UnmarshalDir(buf[:n]) if err != nil { return nil, &PathError{Op: "stat", Path: name, Err: err} } return d, nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 2.4K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/nodeipamcontroller.go
func (o *NodeIPAMControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.StringVar(&o.ServiceCIDR, "service-cluster-ip-range", o.ServiceCIDR, "CIDR Range for Services in cluster. Requires --allocate-node-cidrs to be true") fs.Int32Var(&o.NodeCIDRMaskSize, "node-cidr-mask-size", o.NodeCIDRMaskSize, "Mask size for node cidr in cluster. Default is 24 for IPv4 and 64 for IPv6.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 21 06:08:58 UTC 2019 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
* * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and * Reader implementations, this compares the performance of the different options. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) public class CharStreamsCopyBenchmark { enum CopyStrategy { OLD { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:59:54 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.cc
memcpy(data_.data() + offset_.back(), str, len); offset_.push_back(offset_.back() + len); return absl::OkStatus(); } int MiniDynamicBuffer::WriteToBuffer(char** buffer) { // Allocate sufficient memory to tensor buffer. int32_t num_strings = offset_.size() - 1; // Total bytes include: // * size of content (data_.size) // * offset of each tensor (sizeof(int32_t) * num_strings)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
} @Test void emptySha1Calculator() { ChecksumAlgorithmService.ChecksumCalculator calculator = service.select("SHA-1").getCalculator(); calculator.update(ByteBuffer.allocate(0)); assertEquals(calculator.checksum(), "da39a3ee5e6b4b0d3255bfef95601890afd80709"); } @Test void calculateByte() throws IOException {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Dec 21 08:05:10 UTC 2023 - 4.2K bytes - Viewed (0) -
src/runtime/mcheckmark.go
func startCheckmarks() { assertWorldStopped() // Clear all checkmarks. for _, ai := range mheap_.allArenas { arena := mheap_.arenas[ai.l1()][ai.l2()] bitmap := arena.checkmarks if bitmap == nil { // Allocate bitmap on first use. bitmap = (*checkmarksMap)(persistentalloc(unsafe.Sizeof(*bitmap), 0, &memstats.gcMiscSys)) if bitmap == nil { throw("out of memory allocating checkmarks bitmap") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.8K bytes - Viewed (0) -
test/fibo.go
for i := 1; i < n; i++ { f2 := nat(nil).halfAdd(f1, f0) // allocate a new f2 each time f0, f1 = f1, f2 } } } else { if opt { var f2 nat // reuse f2 for i := 1; i < n; i++ { f2 = f2.add(f1, f0) f0, f1, f2 = f1, f2, f0 } } else { for i := 1; i < n; i++ { f2 := nat(nil).add(f1, f0) // allocate a new f2 each time f0, f1 = f1, f2 } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0)