- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for foo71 (0.19 sec)
-
test/escape2n.go
foo64(m) } func foo70(mv1 *MV, m M) { // ERROR "leaking param: m$" "leaking param: mv1$" m = mv1 foo64(m) } func foo71(x *int) []*int { // ERROR "leaking param: x$" var y []*int y = append(y, x) return y } func foo71a(x int) []*int { // ERROR "moved to heap: x$" var y []*int y = append(y, &x) return y } func foo72() { var x int var y [1]*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
foo64(m) } func foo70(mv1 *MV, m M) { // ERROR "leaking param: m$" "leaking param: mv1$" m = mv1 foo64(m) } func foo71(x *int) []*int { // ERROR "leaking param: x$" var y []*int y = append(y, x) return y } func foo71a(x int) []*int { // ERROR "moved to heap: x$" var y []*int y = append(y, &x) return y } func foo72() { var x int var y [1]*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) -
src/strings/replace_test.go
// and 1- or 2- byte extensions from the common prefix. foo1 := NewReplacer( "foo1", "A", "foo2", "B", "foo3", "C", ) foo2 := NewReplacer( "foo1", "A", "foo2", "B", "foo31", "C", "foo32", "D", ) foo3 := NewReplacer( "foo11", "A", "foo12", "B", "foo31", "C", "foo32", "D", ) foo4 := NewReplacer( "foo12", "B", "foo32", "D",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 22:53:05 UTC 2017 - 14.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc_test.go
makeGCContainer("foo", "bar", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo1", "baz", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo1", "baz", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo1", "baz", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED), makeGCContainer("foo2", "bar", 2, 2, runtimeapi.ContainerState_CONTAINER_EXITED),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/util/taints/taints_test.go
taintToFind: &v1.Taint{Key: "foo_1", Value: "bar_1", Effect: v1.TaintEffectNoExecute}, expectedResult: true, }, { name: "different key", taintToFind: &v1.Taint{Key: "no_such_key", Value: "bar_1", Effect: v1.TaintEffectNoExecute}, expectedResult: false, }, { name: "different effect", taintToFind: &v1.Taint{Key: "foo_1", Value: "bar_1", Effect: v1.TaintEffectNoSchedule},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 09:23:35 UTC 2022 - 22.6K bytes - Viewed (0) -
pkg/adsc/adsc_test.go
constructResource("foo1", "foo1.bar.com", "192.1.1.1", "1"), constructResource("foo2", "foo2.bar.com", "192.1.1.2", "1"), }, expectedResources: [][]string{ {"foo1", "foo1.bar.com", "192.1.1.1"}, {"foo2", "foo2.bar.com", "192.1.1.2"}, }, }, { desc: "create-resources-rev-1", resources: []*anypb.Any{ constructResource("foo1", "foo1.bar.com", "192.1.1.1", "1"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 15.4K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
trus: []tokenRequestUnit{ { name: "foo-sa", namespace: "foo-ns", tr: &authenticationv1.TokenRequest{ Spec: authenticationv1.TokenRequestSpec{ Audiences: []string{"foo1", "foo2"}, ExpirationSeconds: getInt64Point(2000), BoundObjectRef: &authenticationv1.BoundObjectReference{ Kind: "pod", Name: "foo-pod", UID: "foo-uid", }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
"request.dryRun == false", "request.options == {'whatever': 'you want'}", }, }, { name: "invalid request", errorExpressions: map[string]string{ "request.foo1 == 'nope'": "undefined field 'foo1'", "request.resource.foo2 == 'nope'": "undefined field 'foo2'", "request.requestKind.foo3 == 'nope'": "undefined field 'foo3'",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/kube/krt/collection_test.go
cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "foo1", Labels: lblFoo}}) assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1"}}}) cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "switch", Labels: lblFoo}}) assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1", "switch"}}})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy
given: buildTestFixture.withBuildInSubDir() def build1 = singleProjectBuild("build1") { buildFile << "task foo1" } def build2 = singleProjectBuild("build2") { buildFile << "task foo2" } when: def allProgress = new CopyOnWriteArrayList<String>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.7K bytes - Viewed (0)