- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 58 for foo214 (0.23 sec)
-
src/cmd/compile/internal/test/switch_test.go
a := []string{ "foo", "foo1", "foo22", "foo333", "foo4444", "foo55555", "foo666666", "foo7777777", } n := 0 rng := newRNG() for i := 0; i < b.N; i++ { rng = rng.next(predictable) switch a[rng.value()&7] { case "foo": n += 1 case "foo1": n += 2 case "foo22": n += 3 case "foo333": n += 4 case "foo4444":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.2K bytes - Viewed (0) -
test/escape_indir.go
return p } func foo(p **int) { // ERROR "p does not escape" i := 0 // ERROR "moved to heap: i" y := p *y = &i } func foo1(p *int) { // ERROR "p does not escape" i := 0 // ERROR "moved to heap: i" y := &p *y = &i } func foo2() { type Z struct { f **int } x := new(int) // ERROR "moved to heap: x" "new\(int\) escapes to heap" sink = &x var z Z z.f = &x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 3.3K bytes - Viewed (0) -
pkg/kubelet/util/sliceutils/sliceutils_test.go
func buildPodsByCreationTime() PodsByCreationTime { return []*v1.Pod{ { ObjectMeta: metav1.ObjectMeta{ Name: "foo1", Namespace: v1.NamespaceDefault, CreationTimestamp: metav1.Time{ Time: time.Now(), }, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "foo2", Namespace: v1.NamespaceDefault, CreationTimestamp: metav1.Time{ Time: time.Now().Add(time.Hour * 1), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 13 08:27:42 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
ObjectMeta: metav1.ObjectMeta{Name: "foo1"}, Status: api.NodeStatus{Conditions: []api.NodeCondition{{Type: api.NodeReady, Status: api.ConditionTrue}}}, }, // Columns: Name, Status, Roles, Age, KubeletVersion expected: []metav1.TableRow{{Cells: []interface{}{"foo1", "Ready", "<none>", "<unknown>", ""}}}, }, { node: api.Node{ ObjectMeta: metav1.ObjectMeta{Name: "foo2"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
} } } func TestWalkSkipAll(t *testing.T) { initOverlay(t, ` { "Replace": { "dir/subdir1/foo1": "dummy.txt", "dir/subdir1/foo2": "dummy.txt", "dir/subdir1/foo3": "dummy.txt", "dir/subdir2/foo4": "dummy.txt", "dir/zzlast": "dummy.txt" } } -- dummy.txt -- `) var seen []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
test/fixedbugs/bug441.go
// in inlined functions. Issue 3593. package main var did int func main() { foo(side()) foo2(side(), side()) foo3(side(), side()) T.m1(T(side())) T(1).m2(side()) const want = 7 if did != want { println("BUG: missing", want-did, "calls") } } func foo(_ int) {} func foo2(_, _ int) {} func foo3(int, int) {} type T int func (_ T) m1() {} func (t T) m2(_ int) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 641 bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy
launchTests { TestLauncher launcher -> launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"]) } then: assertTaskNotExecuted(":test") assertTaskExecuted(":secondTest") assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest") assertTestNotExecuted(className: "example.MyTest", methodName: "foo") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/controller/daemon/update_test.go
addNodes(manager.nodeStore, 0, 5, nil) manager.dsStore.Add(ds) expectSyncDaemonSets(t, manager, ds, podControl, 5, 0, 0) markPodsReady(podControl.podStore) ds.Spec.Template.Spec.Containers[0].Image = "foo2/bar2" ds.Spec.UpdateStrategy.Type = apps.RollingUpdateDaemonSetStrategyType intStr := intstr.FromInt32(int32(maxUnavailable)) ds.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateDaemonSet{MaxUnavailable: &intStr}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 10 21:10:35 UTC 2024 - 28.9K bytes - Viewed (0) -
test/escape2.go
func foo13(yyy **int) { // ERROR "leaking param content: yyy$" *xxx = *yyy } func foo14(yyy **int) { // ERROR "yyy does not escape$" **xxx = **yyy } func foo15(yy *int) { // ERROR "moved to heap: yy$" xxx = &yy } func foo16(yy *int) { // ERROR "leaking param: yy$" *xxx = yy } func foo17(yy *int) { // ERROR "yy does not escape$" **xxx = *yy }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "ns1", CreationTimestamp: now, UID: types.UID("abcdef0123")}, Other: "foo", }, list: []genericapitesting.Simple{ { ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "ns1", CreationTimestamp: now, UID: types.UID("newer")}, Other: "foo", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0)