Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for baz2 (0.06 sec)

  1. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3"),
    		"baz": sets.New[string]("dev-baz1", "dev-baz2", "dev-baz3"),
    	}
    	resp = devs.Filter(cond)
    	expected = `{"bar":{"dev-bar1":{"ID":"bar1"},"dev-bar2":{"ID":"bar2"},"dev-bar3":{"ID":"bar3"}},"baz":{"dev-baz1":{"ID":"baz1"},"dev-baz2":{"ID":"baz2"},"dev-baz3":{"ID":"baz3"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"},"dev-foo3":{"ID":"foo3"}}}`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. pkg/filewatcher/fakefilewatcher_test.go

    		}
    	}
    
    	// verify Close()
    	for _, file := range []string{"foo3", "bar3", "baz3"} {
    		watcher.Add(file)
    	}
    	if err := watcher.Close(); err != nil {
    		t.Fatalf("Close() failed: %v", err)
    	}
    
    	for _, file := range []string{"foo2", "bar2", "baz2"} {
    		wantEvent := fsnotify.Event{Name: file, Op: fsnotify.Write}
    		fakeWatcher.InjectEvent(file, wantEvent)
    		select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue5755.dir/a.go

    type bar map[int]int
    
    func (b bar) F() { return }
    
    func TestBar() I { return bar{1: 2} }
    
    type baz int
    
    func IsBaz(x interface{}) bool { _, ok := x.(baz); return ok }
    
    type baz2 int
    
    func IsBaz2(x interface{}) bool {
    	switch x.(type) {
    	case baz2:
    		return true
    	default:
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  4. src/net/http/clientserver_test.go

    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Foo", "Bar")
    		w.Header().Set("Trailer:Foo", "Baz")
    		w.(Flusher).Flush()
    		w.Header().Add("Trailer:Foo", "Baz2")
    		w.Header().Set("Trailer:Bar", "Quux")
    	}))
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            source.iteratorNoFlush().collect() == ["fuzz", "buzz"]
    
            when:
            iterator.previous()
            iterator.set("bazz")
    
            then:
            source.iteratorNoFlush().collect() == ["bazz", "buzz"]
    
            and:
            source.iterator().collect() == ["bazz", "bar", "baz", "buzz", "buzz"]
        }
    
        def "listIterator provides accurate indexes"() {
            given:
            source.add("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy

            and:
            source.iterator().collect { it.toString() } == iterationOrder("foo", "bar", "baz", "fizz", "fuzz", "bazz")
        }
    
        def "can remove elements using iteratorNoFlush"() {
            source.add("foo")
            source.addPending(provider("bar"))
            source.addPendingCollection(setProvider("baz", "fooz"))
            source.add("fizz")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. src/strings/example_test.go

    func ExampleFields() {
    	fmt.Printf("Fields are: %q", strings.Fields("  foo bar  baz   "))
    	// Output: Fields are: ["foo" "bar" "baz"]
    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    	fmt.Printf("Fields are: %q", strings.FieldsFunc("  foo1;bar2,baz3...", f))
    	// Output: Fields are: ["foo1" "bar2" "baz3"]
    }
    
    func ExampleHasPrefix() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

            source.add("bar")
            source.add("baz")
            source.addPending(provider("fizz"))
            source.addPendingCollection(setProvider("fuzz", "bazz"))
    
            then:
            source.iteratorNoFlush().collect() == iterationOrder("bar", "baz")
    
            and:
            source.iterator().collect() == iterationOrder("foo", "bar", "baz", "fizz", "fuzz", "bazz")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/testdata/ignore_non_source/baz.log

    Michael Matloob <******@****.***> 1664988840 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 05 18:59:21 UTC 2022
    - Viewed (0)
  10. docs_src/app_testing/app_b_py310/test_main.py

        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
            headers={"X-Token": "hailhydra"},
            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top