- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for foo78 (0.03 sec)
-
test/escape2n.go
j := 0 myprint1(nil, &j) // ERROR "... argument does not escape$" } func foo78(z int) *int { // ERROR "moved to heap: z$" return &z } func foo78a(z int) *int { // ERROR "moved to heap: z$" y := &z x := &y return *x // really return y } func foo79() *int { return new(int) // ERROR "new\(int\) escapes to heap$" } func foo80() *int { var z *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2.go
j := 0 myprint1(nil, &j) // ERROR "... argument does not escape$" } func foo78(z int) *int { // ERROR "moved to heap: z$" return &z } func foo78a(z int) *int { // ERROR "moved to heap: z$" y := &z x := &y return *x // really return y } func foo79() *int { return new(int) // ERROR "new\(int\) escapes to heap$" } func foo80() *int { var z *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc_test.go
makeGCContainer("foo5", "bar5", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo6", "bar6", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo7", "bar7", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED), }, remain: []int{0, 2, 4, 6, 8, 9}, evictTerminatingPods: false, allSourcesReady: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20.6K bytes - Viewed (0)