Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for foo121 (0.25 sec)

  1. pkg/cache/cache_test.go

    			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)
  2. src/internal/types/testdata/fixedbugs/issue47747.go

    // func _[t any](f Fooer1[t]) t {
    // 	var b Bar[t]
    // 	f.Foo(&b)
    // 	return t(b)
    // }
    
    // Test case 2 from issue
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // type Fooer2[t any] interface {
    // 	Foo()
    // }
    // 
    // type Foo2[t any] t
    // 
    // func (f *Foo2[t]) Foo() {}
    // 
    // func _[t any](v t) {
    // 	var f = Foo2[t](v)
    // 	_ = Fooer2[t](&f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			name:          "a",
    			expectedValue: "a1",
    			expectedIdx:   0,
    			startIdx:      0,
    		},
    		{
    			testName:      "argument exists with empty value",
    			args:          []Arg{{Name: "foo1", Value: ""}, {Name: "foo2", Value: ""}},
    			name:          "foo2",
    			expectedValue: "",
    			expectedIdx:   1,
    			startIdx:      -1,
    		},
    		{
    			testName:      "argument does not exists",
    			args:          []Arg{{Name: "foo", Value: "bar"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue39634.go

    type G15[X any] s /* ERROR "undefined" */
    func (G15 /* ERRORx `generic type .* without instantiation` */ ) p()
    
    // crash 16
    type Foo16[T any] r16 /* ERROR "not a type" */
    func r16[T any]() Foo16[Foo16[T]] { panic(0) }
    
    // crash 17
    type Y17 interface{ c() }
    type Z17 interface {
    	c() Y17
    	Y17 /* ERROR "duplicate method" */
    }
    func F17[T Z17](T) {}
    
    // crash 18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/mock/discovery_mock.go

    		ServiceAccounts: []string{
    			"spiffe://cluster.local/ns/default/sa/foo1",
    			"spiffe://cluster.local/ns/default/sa/foo-share",
    		},
    		ClusterID: "",
    	})
    	ReplicatedFooServiceV2 = MakeService(ServiceArgs{
    		Hostname: ReplicatedFooServiceName,
    		Address:  "10.3.0.1",
    		ServiceAccounts: []string{
    			"spiffe://cluster.local/ns/default/sa/foo2",
    			"spiffe://cluster.local/ns/default/sa/foo-share",
    		},
    		ClusterID: "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 23 02:37:56 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "foo1/hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path);
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "foo1/foo2/hoge.html";
            file = fileTransformer.createFile(path);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/printers/internalversion/printers_test.go

    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:   "foo11",
    					Labels: map[string]string{"kubernetes.io/role": "node"},
    				},
    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion
    			expected: []metav1.TableRow{{Cells: []interface{}{"foo11", "Unknown", "node", "<unknown>", ""}}},
    		},
    	}
    
    	for i, test := range table {
    		rows, err := printNode(&test.node, printers.GenerateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            if (supportsEfficientClassFiltering()) {
                assert events.tests.size() == 10
                assertTestNotExecuted(className: "example2.MyOtherTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top