Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for foo20 (0.03 sec)

  1. pkg/filewatcher/fakefilewatcher_test.go

    		select {
    		case gotError := <-watcher.Errors(file):
    			t.Fatalf("Unexpected Errors() after Remove(): got %v", gotError)
    		default:
    		}
    	}
    
    	// verify double Add() / Remove()
    	for _, file := range []string{"foo2", "bar2", "baz2"} {
    		if err := watcher.Add(file); err != nil {
    			t.Fatalf("Add() returned error: %v", err)
    		}
    		if err := watcher.Add(file); err == nil {
    			t.Fatal("Adding a path that already exists should fail")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/ingress/testdata/overlay.yaml

              - backend:
                  service:
                    name: service1
                    port:
                      number: 4200
    ---
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      name: foo2
      namespace: ns
    spec:
      rules:
        - host: foohost.bar.com
          http:
            paths:
              - path: /second
                backend:
                  service:
                    name: service2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 596 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. 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)
  5. pkg/cache/cache_test.go

    				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")
    	c.Set("foo4", "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)
  6. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			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)
  7. test/fixedbugs/issue4215.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func foo() (int, int) {
    	return 2.3 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int\)|not enough arguments to return"
    }
    
    func foo2() {
    	return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type"
    }
    
    func foo3(v int) (a, b, c, d int) {
    	if v >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

                    fflush(stdout);
                    return 0;
                }
    
                """),
                sourceFile("asm", "foo1/sum.s", getAsmSource("sum1")),
                sourceFile("asm", "foo2/sum.s", getAsmSource("sum2"))
            ]
        }
    
        @Override
        List<SourceFile> getHeaderFiles() {
            []
        }
    
        protected def getAsmSource(String methodName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

    class PropertiesAsMapTest {
    
        @Test
        void testPropertiesAsMap() {
            Properties props = new Properties();
            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/IncrementalAndroidTestProject.groovy

        )
    
        static final UBER_MOBILE_APP = new IncrementalAndroidTestProject(
            templateName: 'uberMobileApp',
            pathToChange: 'leafModuleAvg/src/main/java/leafModuleAvgpackageJava0/Foo0.java',
            taskToRunForChange: ':rootModule:assembleDebug'
        )
    
        String pathToChange
        String taskToRunForChange
    
        @Override
        void configure(CrossVersionPerformanceTestRunner runner) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top