Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for Allocate (0.49 sec)

  1. 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)
  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/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)
  4. src/vendor/golang.org/x/crypto/sha3/doc.go

    //
    // # Guidance
    //
    // If you aren't sure what function you need, use SHAKE256 with at least 64
    // bytes of output. The SHAKE instances are faster than the SHA3 instances;
    // the latter have to allocate memory to conform to the hash.Hash interface.
    //
    // If you need a secret-key MAC (message authentication code), prepend the
    // secret key to the input, hash with SHAKE256 and read at least 32 bytes of
    // output.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. 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)
  6. pkg/proxy/util/nfacct/nfacct_linux.go

    		// to know the data type in advance. We achieve this by switching on the attribute-type, and we
    		// allocate the 'adjusted length' bytes (as done in step(3)) for the data-structure.
    		switch attrType {
    		case attrName:
    			// NFACCT_NAME has a variable size, so we allocate a slice of 'adjusted length' bytes
    			// and read the next 'adjusted length' bytes into this slice.
    			data := make([]byte, length)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/node_ipam_controller.go

    	if allocatorType != ipam.CloudAllocatorType {
    		if len(clusterCIDRs) == 0 {
    			return nil, fmt.Errorf("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set")
    		}
    
    		for idx, cidr := range clusterCIDRs {
    			mask := cidr.Mask
    			if maskSize, _ := mask.Size(); maskSize > nodeCIDRMaskSizes[idx] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

                            } catch (IOException e) {
                                return
                            }
                            try {
                                connection.read(ByteBuffer.allocate(4096))
                                connection.write(ByteBuffer.wrap("hello".bytes))
                            } finally {
                                connection.close()
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/os/path_windows.go

    			// Already extended with \\?\ or any combination of directory separators.
    			return path
    		}
    	}
    
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/index/suffixarray/suffixarray.go

    	}
    	if int64(int(n64)) != n64 || int(n64) < 0 {
    		return errTooBig
    	}
    	n := int(n64)
    
    	// allocate space
    	if 2*n < cap(x.data) || cap(x.data) < n || x.sa.int32 != nil && n > maxData32 || x.sa.int64 != nil && n <= maxData32 {
    		// new data is significantly smaller or larger than
    		// existing buffers - allocate new ones
    		x.data = make([]byte, n)
    		x.sa.int32 = nil
    		x.sa.int64 = nil
    		if n <= maxData32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top