Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,371 for Allocate (0.13 sec)

  1. pilot/pkg/xds/nds_test.go

    	dnsProto "istio.io/istio/pkg/dns/proto"
    )
    
    func TestNDS(t *testing.T) {
    	cases := []struct {
    		name     string
    		meta     model.NodeMetadata
    		expected *dnsProto.NameTable
    	}{
    		{
    			name: "auto allocate",
    			meta: model.NodeMetadata{
    				DNSCapture:      true,
    				DNSAutoAllocate: true,
    			},
    			expected: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"random-1.host.example": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.h

      // Deallocate the device memory previously allocated via this interface.
      // Deallocation of a nullptr-representative value is permitted.
      void (*deallocate)(const SP_Device* device, SP_DeviceMemoryBase* memory);
    
      // Allocates a region of host memory and registers it with the platform API.
      // Memory allocated in this manner is required for use in asynchronous memcpy
      // operations, such as `memcpy_dtoh`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  3. src/runtime/sigqueue_plan9.go

    type noteData struct {
    	s [_ERRMAX]byte
    	n int // n bytes of s are valid
    }
    
    type noteQueue struct {
    	lock mutex
    	data [qsize]noteData
    	ri   int
    	wi   int
    	full bool
    }
    
    // It is not allowed to allocate memory in the signal handler.
    func (q *noteQueue) push(item *byte) bool {
    	lock(&q.lock)
    	if q.full {
    		unlock(&q.lock)
    		return false
    	}
    	s := gostringnocopy(item)
    	copy(q.data[q.wi].s[:], s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/runtime/os_darwin.go

    //go:nosplit
    //go:nowritebarrierrec
    func libpreinit() {
    	initsig(true)
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // OS X wants >= 8K
    	mp.gsignal.m = mp
    	if GOOS == "darwin" && GOARCH == "arm64" {
    		// mlock the signal stack to work around a kernel bug where it may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/controller/repair_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	previous.Allocate(netutils.ParseIPSloppy("192.168.1.10"))
    
    	_, secondaryCIDR, _ := netutils.ParseCIDRSloppy("2000::/108")
    	secondaryPrevious, err := ipallocator.NewInMemory(secondaryCIDR)
    	if err != nil {
    		t.Fatal(err)
    	}
    	secondaryPrevious.Allocate(netutils.ParseIPSloppy("2000::1"))
    
    	var dst api.RangeAllocation
    	err = previous.Snapshot(&dst)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. pkg/volume/util/selinux.go

    		// and all options returned by contextOptions are known.
    		return "", err
    	}
    	// InitLabels() may allocate a new unique SELinux label in kubelet memory. The label is *not* allocated
    	// in the container runtime. Clear it to avoid memory problems.
    	// ReleaseLabel on non-allocated label is NOOP.
    	selinux.ReleaseLabel(processLabel)
    
    	return fileLabel, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 14:40:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/compress/flate/huffman_code.go

    func (h *huffmanEncoder) generate(freq []int32, maxBits int32) {
    	if h.freqcache == nil {
    		// Allocate a reusable buffer with the longest possible frequency table.
    		// Possible lengths are codegenCodeCount, offsetCodeCount and maxNumLit.
    		// The largest of these is maxNumLit, so we allocate for that case.
    		h.freqcache = make([]literalNode, maxNumLit+1)
    	}
    	list := h.freqcache[:len(freq)+1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  8. src/runtime/os_netbsd.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() {
    	gp := getg()
    	gp.m.procid = uint64(lwp_self())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    		//   panicking with ErrAbortHandler also suppresses logging of a stack trace to the server's error log.
    		return
    	}
    
    	// Same as stdlib http server code. Manually allocate stack trace buffer size
    	// to prevent excessively large logs
    	const size = 64 << 10
    	stacktrace := make([]byte, size)
    	stacktrace = stacktrace[:runtime.Stack(stacktrace, false)]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/c/tf_tensor.h

    // memory alignment preferences.
    TF_CAPI_EXPORT extern size_t TF_TensorDefaultAlignment();
    
    // Allocate and return a new Tensor.
    //
    // This function is an alternative to TF_NewTensor and should be used when
    // memory is allocated to pass the Tensor to the C API. The allocated memory
    // satisfies TensorFlow's memory alignment preferences and should be preferred
    // over calling malloc and free.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top