- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for foo31 (0.14 sec)
-
test/escape2n.go
package foo import ( "fmt" "unsafe" ) var gxx *int func foo1(x int) { // ERROR "moved to heap: x$" gxx = &x } func foo2(yy *int) { // ERROR "leaking param: yy$" gxx = yy } func foo3(x int) *int { // ERROR "moved to heap: x$" return &x } type T *T func foo3b(t T) { // ERROR "leaking param: t$" *t = t } // xx isn't going anywhere, so use of yy is ok
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
package foo import ( "fmt" "unsafe" ) var gxx *int func foo1(x int) { // ERROR "moved to heap: x$" gxx = &x } func foo2(yy *int) { // ERROR "leaking param: yy$" gxx = yy } func foo3(x int) *int { // ERROR "moved to heap: x$" return &x } type T *T func foo3b(t T) { // ERROR "leaking param: t$" *t = t } // xx isn't going anywhere, so use of yy is ok
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) -
src/internal/types/testdata/check/lookup2.go
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
}), constructResourceWithOptions("foo3", "foo3.bar.com", "192.1.1.3", "1", func(resource *mcp.Resource) { resource.Metadata.Labels = patchLabel(resource.Metadata.Labels, label.IoIstioRev.Name, rev) // to add }), }, expectedResources: [][]string{ {"foo1", "foo1.bar.com", "192.1.1.1"}, {"foo3", "foo3.bar.com", "192.1.1.3"}, }, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 15.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
}, }, { 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'", "request.requestResource.foo4 == 'nope'": "undefined field 'foo4'",
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/kubelet/util/queue/work_queue_test.go
} } func TestGetWork(t *testing.T) { q, clock := newTestBasicWorkQueue() q.Enqueue(types.UID("foo1"), -1*time.Minute) q.Enqueue(types.UID("foo2"), -1*time.Minute) q.Enqueue(types.UID("foo3"), 1*time.Minute) q.Enqueue(types.UID("foo4"), 1*time.Minute) expected := []types.UID{types.UID("foo1"), types.UID("foo2")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K 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/apis/storage/validation/validation_test.go
// Empty NodeID ObjectMeta: metav1.ObjectMeta{Name: "foo13"}, Spec: storage.CSINodeSpec{ Drivers: []storage.CSINodeDriver{{ Name: driverName, NodeID: "", TopologyKeys: []string{"company.com/zone1", "company.com/zone2"}, }}, }, }, { // Volume limits with negative number ObjectMeta: metav1.ObjectMeta{Name: "foo11"}, 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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy
given: def foo11 = mavenRepo.module("org", "foo", '1.0').artifact(classifier: 'shaded').publish() mavenRepo.module("org", "foo", '1.1').artifact(classifier: 'shaded').publish() mavenRepo.module("org", "bar", '1.0').dependsOn(classifier: 'shaded', foo11).publish() writeSpec { rootProject { dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 28.8K bytes - Viewed (0)