- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 244 for allocable (0.3 sec)
-
src/internal/saferio/io.go
// data but the input may be corrupt, or may be provided by an // untrustworthy attacker. package saferio import ( "io" "unsafe" ) // chunk is an arbitrary limit on how much memory we are willing // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 00:34:05 UTC 2023 - 3.4K bytes - Viewed (0) -
src/runtime/textflag.h
#define WRAPPER 32 // This function uses its incoming context register. #define NEEDCTXT 64 // Allocate a word of thread local storage and store the offset from the // thread local base to the thread local storage in this variable. #define TLSBSS 256 // Do not insert instructions to allocate a stack frame for this function. // Only valid on functions that declare a frame size of 0. #define NOFRAME 512
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 17:28:41 UTC 2023 - 1.5K bytes - Viewed (0) -
test/fixedbugs/issue13160.go
package main import ( "fmt" "runtime" ) const N = 100000 func main() { // Allocate more Ps than processors. This raises // the chance that we get interrupted by the OS // in exactly the right (wrong!) place. p := runtime.NumCPU() runtime.GOMAXPROCS(2 * p) // Allocate some pointers. ptrs := make([]*int, p) for i := 0; i < p; i++ { ptrs[i] = new(int) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.5K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/AbstractAvailablePortAllocator.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 05 16:58:31 UTC 2022 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go
alloc := &testAllocator{} if err := target.EncodeWithAllocator(tc.obj, writer2, alloc); err != nil { t.Fatal(err) } if alloc.allocateCount != 1 { t.Fatalf("expected the Allocate method to be called exactly 1 but it was executed: %v times ", alloc.allocateCount) } // to ensure compatibility of the new method with the old one, serialized data must be equal
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 03:17:50 UTC 2022 - 5K bytes - Viewed (0) -
test/fixedbugs/issue16095.go
sink = &x sink = nil // Go to deferreturn after the panic below. defer func() { recover() }() // This call collects the heap-allocated version of x (oops!) runtime.GC() // Allocate that same object again and clobber it. y := new([20]byte) for i := 0; i < 20; i++ { y[i] = 99 } // Make sure y is heap allocated. sink = y panic(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 27 16:48:48 UTC 2016 - 1.9K bytes - Viewed (0) -
src/runtime/cgo/asm_s390x.s
TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0 // Start with standard C stack frame layout and linkage. // Save R6-R15 in the register save area of the calling function. STMG R6, R15, 48(R15) // Allocate 96 bytes on the stack. MOVD $-96(R15), R15 // Save F8-F15 in our stack frame. FMOVD F8, 32(R15) FMOVD F9, 40(R15) FMOVD F10, 48(R15) FMOVD F11, 56(R15) FMOVD F12, 64(R15) FMOVD F13, 72(R15)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/internal/obj/textflag.go
NEEDCTXT = 64 // When passed to objw.Global, causes Local to be set to true on the LSym it creates. LOCAL = 128 // Allocate a word of thread local storage and store the offset from the // thread local base to the thread local storage in this variable. TLSBSS = 256 // Do not insert instructions to allocate a stack frame for this function. // Only valid on functions that declare a frame size of 0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 20:25:30 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_none_test.go
defaultCPUSet: cpuset.New(1, 2, 3, 4, 5, 6, 7), } testPod := makePod("fakePod", "fakeContainer", "1000m", "1000m") container := &testPod.Spec.Containers[0] err := policy.Allocate(st, testPod, container) if err != nil { t.Errorf("NonePolicy Allocate() error. expected no error but got: %v", err) } } func TestNonePolicyRemove(t *testing.T) { policy := &nonePolicy{} st := &mockState{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.CSINode.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: drivers: - allocatable: count: 1 name: nameValue nodeID: nodeIDValue topologyKeys:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 991 bytes - Viewed (0)