Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fallocate (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. internal/crypto/metadata.go

    	}
    	if _, ok := metadata[MetaContext]; ok {
    		return nil, true
    	}
    	return nil, false
    }
    
    // CreateMultipartMetadata adds the multipart flag entry to metadata
    // and returns modified metadata. It allocates a new metadata map if
    // metadata is nil.
    func CreateMultipartMetadata(metadata map[string]string) map[string]string {
    	if metadata == nil {
    		return map[string]string{MetaMultipart: ""}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/runtime/coro.go

    // These switches continue until a call to coroexit(c),
    // which ends the use of the coro by releasing the blocked
    // goroutine in c and exiting the current goroutine.
    //
    // Coros are heap allocated and garbage collected, so that user code
    // can hold a pointer to a coro without causing potential dangling
    // pointer errors.
    type coro struct {
    	gp guintptr
    	f  func(*coro)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top