Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 503 for Allocations (0.13 sec)

  1. 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)
  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. 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)
  4. 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)
  5. src/runtime/unsafe.go

    	// Check that underlying array doesn't straddle multiple heap objects.
    	// unsafestring64 has already checked for overflow.
    	if checkptrStraddles(ptr, uintptr(len64)) {
    		throw("checkptr: unsafe.String result straddles multiple allocations")
    	}
    }
    
    func panicunsafestringlen() {
    	panic(errorString("unsafe.String: len out of range"))
    }
    
    func panicunsafestringnilptr() {
    	panic(errorString("unsafe.String: ptr is nil and len is not zero"))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    	/gc/heap/objects:objects
    		Number of objects, live or unswept, occupying heap memory.
    
    	/gc/heap/tiny/allocs:objects
    		Count of small allocations that are packed together into blocks.
    		These allocations are counted separately from other allocations
    		because each individual allocation is not tracked by the
    		runtime, only their block. Each block is already accounted for
    		in allocs-by-size and frees-by-size.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/cmd/trace/viewer.go

    package main
    
    import (
    	"fmt"
    	"internal/trace"
    	"internal/trace/traceviewer"
    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    			File: f.File,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/runtime/mstats.go

    		nFree += f
    		bySize[i].Frees = f
    	}
    
    	// Account for tiny allocations.
    	// For historical reasons, MemStats includes tiny allocations
    	// in both the total free and total alloc count. This double-counts
    	// memory in some sense because their tiny allocation block is also
    	// counted. Tracking the lifetime of individual tiny allocations is
    	// currently not done because it would be too expensive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. src/unique/handle.go

    }
    
    func addUniqueMap[T comparable](typ *abi.Type) *uniqueMap[T] {
    	// Create a map for T and try to register it. We could
    	// race with someone else, but that's fine; it's one
    	// small, stray allocation. The number of allocations
    	// this can create is bounded by a small constant.
    	m := &uniqueMap[T]{
    		HashTrieMap: concurrent.NewHashTrieMap[T, weak.Pointer[T]](),
    		cloneSeq:    makeCloneSeq(typ),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. pkg/model/authentication.go

    	SDSDefaultResourceName = "default"
    
    	// SDSRootResourceName is the sdsconfig name for root CA, used for fetching root cert.
    	SDSRootResourceName = "ROOTCA"
    )
    
    // Preconfigured SDS configs to avoid excessive memory allocations
    var (
    	defaultSDSConfig = &tls.SdsSecretConfig{
    		Name: SDSDefaultResourceName,
    		SdsConfig: &core.ConfigSource{
    			ConfigSourceSpecifier: &core.ConfigSource_ApiConfigSource{
    				ApiConfigSource: &core.ApiConfigSource{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top