- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for foo71 (0.2 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) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-name-bug.pbtxt
# This test is tailored to reproduce b/141617294. In particular, the function # library contains "foo1", "foo2", ..., "foo20", from which "foo1" and "foo11" # were mapped to the same name "foo110" in the bug. node { name: "unnamed" op: "foo1" } node { name: "unnamed1" op: "foo11" } library { function { signature { name: "foo1" } } function { signature { name: "foo2" } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2K bytes - Viewed (0) -
pkg/cache/cache_test.go
go func() { for j := 0; j < each; j++ { c.Set("foo1", "bar") c.Set("foo2", "bar") c.Set("foo3", "bar") c.Set("foo4", "bar") c.Set("foo5", "bar") c.Set("foo6", "bar") c.Set("foo7", "bar") } wg.Done() }() } wg.Wait() } func benchmarkCacheGetSetConcurrent(c Cache, b *testing.B) { c.Set("foo1", "bar") c.Set("foo2", "bar") c.Set("foo3", "bar")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
// remove a driver ObjectMeta: metav1.ObjectMeta{Name: "foo1"}, Spec: storage.CSINodeSpec{ Drivers: []storage.CSINodeDriver{{ Name: "io.kubernetes.storage.csi.driver-1", NodeID: nodeID, TopologyKeys: []string{"company.com/zone1", "company.com/zone2"}, }}, }, }, { // add a driver ObjectMeta: metav1.ObjectMeta{Name: "foo1"}, Spec: storage.CSINodeSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K 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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
} configurations { conf } """ def foo11 = mavenRepo.module("org", "foo", '1.0').publish() mavenRepo.module("org", "foo", '1.1').publish() mavenRepo.module("org", "bar", '1.0').dependsOn(foo11).publish() } void "force resolution strategy is applied to dependency constraints"() { given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 6.4K bytes - Viewed (0) -
src/internal/types/testdata/check/lookup2.go
_ = x.foo1 // ERROR "x.foo1 undefined (type S has no field or method foo1, but does have field Foo1)" _ = x.foo2 // ERROR "x.foo2 undefined (type S has no field or method foo2, but does have field FoO2)" _ = x.foo3 // OK _ = x.foo4 // ERROR "x.foo4 undefined (type S has no field or method foo4, but does have field foO4)" } func _() { _ = S{Foo1: 0} // OK
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 4.8K 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)