Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 167 for waiters (0.1 sec)

  1. src/syscall/exec_plan9.go

    			forkc <- ret
    			return
    		}
    
    		waitc := make(chan *waitErr, 1)
    
    		// Mark that the process is running.
    		procs.Lock()
    		if procs.waits == nil {
    			procs.waits = make(map[int]chan *waitErr)
    		}
    		procs.waits[ret.pid] = waitc
    		procs.Unlock()
    
    		forkc <- ret
    
    		var w waitErr
    		for w.err == nil && w.Pid != ret.pid {
    			w.err = Await(&w.Waitmsg)
    		}
    		waitc <- &w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/net/dnsclient_unix_test.go

    			ips, err := r.LookupIPAddr(context.Background(), name)
    
    			var wantErr error
    			if strict {
    				wantErr = tt.wantStrictErr
    			} else {
    				wantErr = tt.wantLaxErr
    			}
    			if !reflect.DeepEqual(err, wantErr) {
    				t.Errorf("#%d (%s) strict=%v: got err %#v; want %#v", i, tt.desc, strict, err, wantErr)
    			}
    
    			gotIPs := map[string]struct{}{}
    			for _, ip := range ips {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/apiclient/wait.go

    }
    
    // KubeWaiter is an implementation of Waiter that is backed by a Kubernetes client
    type KubeWaiter struct {
    	client  clientset.Interface
    	timeout time.Duration
    	writer  io.Writer
    }
    
    // NewKubeWaiter returns a new Waiter object that talks to the given Kubernetes cluster
    func NewKubeWaiter(client clientset.Interface, timeout time.Duration, writer io.Writer) Waiter {
    	return &KubeWaiter{
    		client:  client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs_src/app_testing/app_b/test_main.py

            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b_an_py39/test_main.py

            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    			if err := printOrCreateKubeProxyObjects(cmByte, dsByte, client, out, tt.printManifest); (err != nil) != tt.wantErr {
    				t.Fatalf("printOrCreateKubeProxyObjects() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if gotOut := out.String(); gotOut != tt.wantOut {
    				t.Fatalf("printOrCreateKubeProxyObjects() = %v, want %v", gotOut, tt.wantOut)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_py310/test_main.py

            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs_src/app_testing/app_b_an/test_main.py

            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs_src/app_testing/app_b_an_py310/test_main.py

            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "id": "foobar",
            "title": "Foo Bar",
            "description": "The Foo Barters",
        }
    
    
    def test_create_item_bad_token():
        response = client.post(
            "/items/",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/helper/helpers_test.go

    	tests := []struct {
    		size     int64
    		expected string
    		wantErr  bool
    	}{
    		{
    			size:     1024,
    			expected: "1KB",
    			wantErr:  false,
    		},
    		{
    			size:     33554432,
    			expected: "32MB",
    			wantErr:  false,
    		},
    		{
    			size:     3221225472,
    			expected: "3GB",
    			wantErr:  false,
    		},
    		{
    			size:     1024 * 1024 * 1023 * 3,
    			expected: "3069MB",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top