Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for foo31 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/internal/types/testdata/check/lookup2.go

    type S struct {
    	Foo1 int
    	FoO2 int
    	foo3 int
    	foO4 int
    }
    
    func _() {
    	var x S
    	_ = x.Foo1 // OK
    	_ = x.Foo2 // ERROR "x.Foo2 undefined (type S has no field or method Foo2, but does have field FoO2)"
    	_ = x.Foo3 // ERROR "x.Foo3 undefined (type S has no field or method Foo3, but does have field foo3)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt

    abstract class X<T> {
        fun <S> foo1(t: T): T = t
        fun <Q> foo2(t: T) {}
        fun <U> foo3() {}
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 129 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top