Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for fallocate (0.15 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

        }
        return DeviceMemoryBaseFromC(mem);
      }
      DeviceMemoryBase Allocate(uint64 size) {
        return Allocate(size, /*memory_space=*/0);
      }
    
      void Deallocate(DeviceMemoryBase* mem) override {
        SP_DeviceMemoryBase device_memory_base = DeviceMemoryBaseToC(mem);
        stream_executor_->deallocate(&device_, &device_memory_base);
      }
    
      absl::StatusOr<std::unique_ptr<MemoryAllocation>> HostMemoryAllocate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mfinal.go

    // objects in memory. See https://go.dev/ref/spec#Size_and_alignment_guarantees.
    //
    // It is not guaranteed that a finalizer will run for objects allocated
    // in initializers for package-level variables. Such objects may be
    // linker-allocated, not heap-allocated.
    //
    // Note that because finalizers may execute arbitrarily far into the future
    // after an object is no longer referenced, the runtime is allowed to perform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K 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. tensorflow/compiler/mlir/lite/utils/string_utils.h

      // Add string to dynamic buffer by resizing the buffer and copying the data.
      absl::Status AddString(const char* str, size_t len);
    
      // Fill content into a buffer and returns the number of bytes stored.
      // The function allocates space for the buffer but does NOT take ownership.
      int WriteToBuffer(char** buffer);
    
     private:
      // Data buffer to store contents of strings, not including headers.
      std::vector<char> data_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. manifests/charts/gateway/values.yaml

        annotations: {}
        loadBalancerIP: ""
        loadBalancerSourceRanges: []
        externalTrafficPolicy: ""
        externalIPs: []
        ipFamilyPolicy: ""
        ipFamilies: []
        ## Whether to automatically allocate NodePorts (only for LoadBalancers).
        # allocateLoadBalancerNodePorts: false
    
      resources:
        requests:
          cpu: 100m
          memory: 128Mi
        limits:
          cpu: 2000m
          memory: 1024Mi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 16:51:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    }
    
    // VersionPurgeStatusKey denotes purge status in metadata
    const (
    	VersionPurgeStatusKey = ReservedMetadataPrefixLower + "purgestatus"
    )
    
    // newFileInfo - initializes new FileInfo, allocates a fresh erasure info.
    func newFileInfo(object string, dataBlocks, parityBlocks int) (fi FileInfo) {
    	fi.Erasure = ErasureInfo{
    		Algorithm:    erasureAlgorithm,
    		DataBlocks:   dataBlocks,
    		ParityBlocks: parityBlocks,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/queries.libsonnet

              'Heap (In Use) ({{pod}})',
              |||
                sum by (pod) (
                  go_memstats_heap_inuse_bytes{%(appLabels)s}
                )
              |||
            ),
            self.query(
              'Heap (Allocated) ({{pod}})',
              |||
                sum by (pod) (
                  go_memstats_heap_alloc_bytes{%(appLabels)s}
                )
              |||
            ),
          ],
    
          goAllocations: [
            self.query(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	if err != nil {
    		return ObjectInfo{}, toObjectErr(err, minioMetaBucket, key)
    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func.go

    	IsPgoHot    bool
    
    	// when register allocation is done, maps value ids to locations
    	RegAlloc []Location
    
    	// temporary registers allocated to rare instructions
    	tempRegs map[ID]*Register
    
    	// map from LocalSlot to set of Values that we want to store in that slot.
    	NamedValues map[LocalSlot][]*Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top