Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for deallocating (0.18 sec)

  1. tensorflow/c/tf_tensor_internal.h

    // `operation` is a name for this operation.
    void* allocate_tensor(const char* operation, size_t len, Allocator* allocator);
    
    // Deallocates tensor data buffer.
    // Defaults to deallocating using CPU allocator. You can pass pointer to
    // a different Allocator as `arg`.
    void deallocate_buffer(void* data, size_t len, void* arg);
    
    class TensorInterface : public AbstractTensorInterface {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    								DeallocationRequested(true).
    								Obj()
    						},
    					},
    					status: framework.NewStatus(framework.Unschedulable, `deallocation of ResourceClaim completed`),
    				},
    			},
    		},
    		"wrong-topology-immediate-allocation": {
    			// PostFilter tries to get the pod scheduleable by
    			// deallocating the claim.
    			pod:    podWithClaimName,
    			claims: []*resourcev1alpha2.ResourceClaim{allocatedImmediateClaimWithWrongTopology},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// The only time the pointer to the `TF_*` structures from section 1 is not
    /// marked `const` in these functions is when these function are either
    /// allocating or deallocating the plugin specific data. That is, in the 4
    /// `cleanup` functions (one for each data structure), the `init` function for
    /// `TF_Filesystem` and the `new_*` methods of `TF_FilesystemOps` to initialize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    		t.Error("idle time is zero")
    	}
    }
    
    func TestMetricHeapUnusedLargeObjectOverflow(t *testing.T) {
    	// This test makes sure /memory/classes/heap/unused:bytes
    	// doesn't overflow when allocating and deallocating large
    	// objects. It is a regression test for #67019.
    	done := make(chan struct{})
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for {
    			for range 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    		if len(obj.Status.ReservedFor) > 0 {
    			states = append(states, "reserved")
    		} else if obj.DeletionTimestamp != nil || obj.Status.DeallocationRequested {
    			states = append(states, "deallocating")
    		}
    	}
    	return strings.Join(states, ",")
    }
    
    func printResourceClaimList(list *resource.ResourceClaimList, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h

     *  05-Sep-2004   Added internal test interface. (JDS)
     */
    
    /** @file
     *  Memory management functions (user interface).
     *  Two versions of memory allocation/deallocation are available.
     *  If compiled with MEMTRACE defined, CUnit keeps track of all
     *  system allocations & deallocations.  The memory record can
     *  then be reported using CU_CREATE_MEMORY_REPORT.  Otherwise,
     *  standard system memory allocation is used without tracing.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/internal/saferio/io.go

    // to allocate without concern.
    const chunk = 10 << 20 // 10M
    
    // ReadData reads n bytes from the input stream, but avoids allocating
    // all n bytes if n is large. This avoids crashing the program by
    // allocating all n bytes in cases where n is incorrect.
    //
    // The error is io.EOF only if no bytes were read.
    // If an io.EOF happens after reading some but not all the bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/runtime/mem_darwin.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	v, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		return nil
    	}
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/runtime/mem_bsd.go

    //go:build dragonfly || freebsd || netbsd || openbsd || solaris
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this function may be invoked without a valid G,
    // which prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	v, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		return nil
    	}
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/runtime/mem_aix.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Don't split the stack as this method may be invoked without a valid G, which
    // prevents us from allocating more stack.
    //
    //go:nosplit
    func sysAllocOS(n uintptr) unsafe.Pointer {
    	p, err := mmap(nil, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0)
    	if err != 0 {
    		if err == _EACCES {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top