- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 999 for Allocations (0.39 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/errors/errors_test.go
import ( "errors" "testing" ) func TestNewEqual(t *testing.T) { // Different allocations should not be equal. if errors.New("abc") == errors.New("abc") { t.Errorf(`New("abc") == New("abc")`) } if errors.New("abc") == errors.New("xyz") { t.Errorf(`New("abc") == New("xyz")`) } // Same allocation should be equal to itself (not crash). err := errors.New("jkl") if err != err { t.Errorf(`err != err`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 21:55:10 UTC 2023 - 765 bytes - Viewed (0) -
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. * Attempting to create new streams on these allocations will fail. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 4.3K bytes - Viewed (0)