Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 984 for allocations (1.1 sec)

  1. src/runtime/checkptr_test.go

    		{"CheckPtrAlignmentNilPtr", ""},
    		{"CheckPtrArithmetic", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrArithmetic2", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrSize", "fatal error: checkptr: converted pointer straddles multiple allocations\n"},
    		{"CheckPtrSmall", "fatal error: checkptr: pointer arithmetic computed bad pointer value\n"},
    		{"CheckPtrSliceOK", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/pilot.libsonnet

        row.new('Resource Usage')
        + row.withPanels([
          panels.timeSeries.bytes('Memory Usage', queries.goMemoryUsage, 'Memory usage of each running instance'),
          panels.timeSeries.allocations('Memory Allocations', queries.goAllocations, 'Details about memory allocations'),
          panels.timeSeries.base('CPU Usage', queries.cpuUsage, 'CPU usage of each running instance'),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    		t.Run(name, func(t *testing.T) {
    			var actualModel Model
    			for _, resources := range tc.resources {
    				AddResources(&actualModel, resources)
    			}
    			for _, allocation := range tc.allocations {
    				AddAllocation(&actualModel, allocation)
    			}
    
    			require.Equal(t, tc.expectModel, actualModel)
    		})
    	}
    
    }
    
    func TestController(t *testing.T) {
    	filterAny := &resourceapi.NamedResourcesFilter{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/log/slog/internal/benchmarks/benchmarks_test.go

    )
    
    func init() {
    	flag.BoolVar(&internal.IgnorePC, "nopc", false, "do not invoke runtime.Callers")
    }
    
    // We pass Attrs inline because it affects allocations: building
    // up a list outside of the benchmarked code and passing it in with "..."
    // reduces measured allocations.
    
    func BenchmarkAttrs(b *testing.B) {
    	ctx := context.Background()
    	for _, handler := range []struct {
    		name     string
    		h        slog.Handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h

     */
    
    /** @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.
     */
    /** @addtogroup Framework
     * @{
     */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/internal/poll/errno_unix.go

    //go:build unix || wasip1
    
    package poll
    
    import "syscall"
    
    // Do the interface allocations only once for common
    // Errno values.
    var (
    	errEAGAIN error = syscall.EAGAIN
    	errEINVAL error = syscall.EINVAL
    	errENOENT error = syscall.ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 696 bytes
    - Viewed (0)
  7. src/internal/poll/errno_windows.go

    //go:build windows
    
    package poll
    
    import "syscall"
    
    // Do the interface allocations only once for common
    // Errno values.
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(syscall.ERROR_IO_PENDING)
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 725 bytes
    - Viewed (0)
  8. src/runtime/checkptr.go

    		}
    	}
    
    	throw("checkptr: pointer arithmetic result points to invalid allocation")
    }
    
    // checkptrBase returns the base address for the allocation containing
    // the address p.
    //
    // Importantly, if p1 and p2 point into the same variable, then
    // checkptrBase(p1) == checkptrBase(p2). However, the converse/inverse
    // is not necessarily true as allocations can have trailing padding,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	// range allocator to do node CIDR range allocations.
    	RangeAllocatorType CIDRAllocatorType = "RangeAllocator"
    	// CloudAllocatorType is the allocator that uses cloud platform
    	// support to do node CIDR range allocations.
    	CloudAllocatorType CIDRAllocatorType = "CloudAllocator"
    	// IPAMFromClusterAllocatorType uses the ipam controller sync'ing the node
    	// CIDR range allocations from the cluster to the cloud.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * this class separates _allocations_ from _streams_. An allocation is created by a call, used for
     * one or more streams, and then released. An allocated connection won't be stolen by other calls
     * while a redirect or authorization challenge is being handled.
     *
     * When the maximum concurrent streams limit is reduced, some allocations will be rescinded.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top