Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for fooA (0.05 sec)

  1. test/typeparam/issue48838.go

    func main() {
    	check[string]()
    }
    
    func check[T any]() {
    	var result setter[T]
    	switch result.(type) {
    	case fooA[T]:
    	case fooB[T]:
    	}
    }
    
    type setter[T any] interface {
    	Set(T)
    }
    
    type fooA[T any] struct{}
    
    func (fooA[T]) Set(T) {}
    
    type fooB[T any] struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 467 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/functions.kt

            private fun e() {}
            enum class F {
                private fun f() {}
            }
        }
    }
    
    enum class G {
        H, I;
    
        private fun g() {}
    }
    
    
    fun foo() {
        private fun fooA() {}
    
        class FooI {
            private fun m() {}
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 475 bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                        file("A.txt") << "fooA"
                        dir("a") {
                            file("A.txt") << "fooA"
                        }
                    }
                    dir("empty") {
                        dir("empty")
                    }
                }
            }
    
            when:
            succeeds("a:foo")
    
            then:
            def result = snapshotResults(":a:foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcs/vcs_test.go

    	ok    bool
    }{
    	{"private:all", "is-public.com/foo", "zzz", false},
    	{"private:all", "is-private.com/foo", "zzz", true},
    	{"public:all", "is-public.com/foo", "zzz", true},
    	{"public:all", "is-private.com/foo", "zzz", false},
    	{"public:all,private:none", "is-public.com/foo", "zzz", true},
    	{"public:all,private:none", "is-private.com/foo", "zzz", false},
    	{"*:all", "is-public.com/foo", "zzz", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 15:33:59 UTC 2022
    - 17K bytes
    - Viewed (0)
  5. test/fixedbugs/issue5755.dir/a.go

    package a
    
    type I interface {
    	F()
    }
    
    type foo1 []byte
    type foo2 []rune
    type foo3 []uint8
    type foo4 []int32
    type foo5 string
    type foo6 string
    type foo7 string
    type foo8 string
    type foo9 string
    
    func (f foo1) F() { return }
    func (f foo2) F() { return }
    func (f foo3) F() { return }
    func (f foo4) F() { return }
    func (f foo5) F() { return }
    func (f foo6) F() { return }
    func (f foo7) F() { return }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-name-bug.pbtxt

        }
      }
      function {
        signature {
          name: "foo4"
        }
      }
      function {
        signature {
          name: "foo5"
        }
      }
      function {
        signature {
          name: "foo6"
        }
      }
      function {
        signature {
          name: "foo7"
        }
      }
      function {
        signature {
          name: "foo8"
        }
      }
      function {
        signature {
          name: "foo9"
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. pkg/cache/cache_test.go

    	c.Set("foo5", "bar")
    	c.Set("foo6", "bar")
    	c.Set("foo7", "bar")
    
    	wg := new(sync.WaitGroup)
    	workers := runtime.NumCPU()
    	each := b.N / workers
    	wg.Add(workers)
    
    	b.ResetTimer()
    	for i := 0; i < workers; i++ {
    		go func() {
    			for j := 0; j < each; j++ {
    				c.Get("foo1")
    				c.Get("foo2")
    				c.Get("foo3")
    				c.Get("foo5")
    				c.Get("foo6")
    				c.Get("foo7")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. pkg/util/labels/labels_test.go

    				"foo3": "bar3",
    				"foo4": "food",
    			},
    		},
    		{
    			labels:     nil,
    			labelKey:   "foo4",
    			labelValue: "food",
    			want: map[string]string{
    				"foo4": "food",
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		got := AddLabel(tc.labels, tc.labelKey, tc.labelValue)
    		if !reflect.DeepEqual(got, tc.want) {
    			t.Errorf("got %v, want %v", got, tc.want)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 17:34:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			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'",
    				"request.userInfo.foo5 == 'nope'":        "undefined field 'foo5'",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2", "dev-foo3", "dev-foo4"),
    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3", "dev-bar4"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top