Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 317 for Allocate (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/sync/pool.go

    	s := p.localSize
    	l := p.local
    	if uintptr(pid) < s {
    		return indexLocal(l, pid), pid
    	}
    	if p.local == nil {
    		allPools = append(allPools, p)
    	}
    	// If GOMAXPROCS changes between GCs, we re-allocate the array and lose the old one.
    	size := runtime.GOMAXPROCS(0)
    	local := make([]poolLocal, size)
    	atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/runtime/rt0_linux_ppc64le.s

    	XOR R0, R0	  // Make sure R0 is zero before _main
    	BR _main<>(SB)
    
    TEXT _rt0_ppc64le_linux_lib(SB),NOSPLIT|NOFRAME,$0
    	// This is called with ELFv2 calling conventions. Convert to Go.
    	// Allocate argument storage for call to newosproc0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(16)
    
    	MOVD	R3, _rt0_ppc64le_linux_lib_argc<>(SB)
    	MOVD	R4, _rt0_ppc64le_linux_lib_argv<>(SB)
    
    	// Synchronous initialization.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader.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.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	csvRecord := r.current[r.recordsRead]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_tensor.cc

        uint64 size =
            client->backend().transfer_manager()->GetByteSizeRequirement(subshape);
        TF_ASSIGN_OR_RETURN(se::OwningDeviceMemory buffer,
                            client->backend().memory_allocator()->Allocate(
                                device_ordinal, size, /*retry_on_failure=*/false,
                                subshape.layout().memory_space()));
        // Move our buffer into shaped_buffer, which takes ownership of it.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top