Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for RESP (0.21 sec)

  1. pkg/istio-agent/xds_proxy_delta.go

    	forward(resp)
    }
    
    func forwardDeltaToEnvoy(con *ProxyConnection, resp *discovery.DeltaDiscoveryResponse) {
    	if !model.IsEnvoyType(resp.TypeUrl) && resp.TypeUrl != model.WorkloadType {
    		proxyLog.Errorf("Skipping forwarding type url %s to Envoy as is not a valid Envoy type", resp.TypeUrl)
    		return
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    	if r != h.nilResp {
    		h.respPool.Put(r)
    	}
    }
    
    // NewResponse creates a new response.
    // Handlers can use this to create a reusable response.
    func (h *StreamTypeHandler[Payload, Req, Resp]) NewResponse() Resp {
    	return h.respPool.Get().(Resp)
    }
    
    func newStreamHandler[Payload, Req, Resp RoundTripper](h HandlerID) *StreamTypeHandler[Payload, Req, Resp] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            Trans2GetDfsReferralResponse resp = new Trans2GetDfsReferralResponse();
            ipc.send( new Trans2GetDfsReferral( path ), resp );
    
            if (resp.numReferrals == 0) {
                return null;
            } else if (rn == 0 || resp.numReferrals < rn) {
                rn = resp.numReferrals;
            }
    
            DfsReferral dr = new DfsReferral();
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue53702.go

    type Base struct {
    	elem [8]*Elem
    }
    
    var g_val = 1
    
    func (s *Base) Do() *int {
    	resp := &g_val
    	for _, e := range s.elem {
    		e.Wait(func() {
    			*resp = 0
    		})
    	}
    	return resp
    }
    
    type Sub struct {
    	*Base
    }
    
    func main() {
    	a := Sub{new(Base)}
    	resp := a.Do()
    	if resp != nil && *resp != 1 {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 14 00:14:04 UTC 2022
    - 551 bytes
    - Viewed (0)
  5. test/fixedbugs/issue11053.dir/p_test.go

    	s.Add(out) // not inlined.
    	return out
    }
    
    var s T
    
    func main() {
    	println("Starting")
    	fmt.Sprint(new(int32))
    	resp := F(s).(*P)
    	println("Before, *resp.V=", *resp.V) // Trashes *resp.V in process of printing.
    	println("After,  *resp.V=", *resp.V)
    	if got, want := *resp.V, int32(42); got != want {
    		fmt.Printf("FAIL, got %v, want %v", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 828 bytes
    - Viewed (0)
  6. pilot/pkg/xds/delta_test.go

    		ResourceNamesSubscribe: []string{"outbound|80||test-1.default"},
    	})
    	resp := ads.ExpectResponse()
    	if len(resp.Resources) != 1 || resp.Resources[0].Name != "outbound|80||test-1.default" {
    		t.Fatalf("received unexpected eds resource %v", resp.Resources)
    	}
    	if len(resp.RemovedResources) != 0 {
    		t.Fatalf("received unexpected removed eds resource %v", resp.RemovedResources)
    	}
    
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	}()
    	var n int
    	err = stream.Results(func(resp *testResponse) error {
    		// t.Logf("got resp: %+v", *resp.Msg)
    		const wantString = testPayload + testPayload
    		if resp.OrgString != testPayload+testPayload {
    			t.Errorf("want %q, got %q", wantString, resp.OrgString)
    		}
    		if resp.OrgNum != n+1 {
    			t.Errorf("want %d, got %d", n+1, resp.OrgNum)
    		}
    		handler.PutResponse(resp)
    		n++
    		return nil
    	})
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server_test.go

    func assertHealthIsOk(t *testing.T, httpURL string) {
    	resp, err := http.Get(httpURL)
    	if err != nil {
    		t.Fatalf("Got error GETing: %v", err)
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		t.Errorf("expected status code %d, got %d", http.StatusOK, resp.StatusCode)
    	}
    	body, readErr := io.ReadAll(resp.Body)
    	if readErr != nil {
    		// copying the response body did not work
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized ( resp ) {
                if ( resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0 ) {
                    resp.setAsyncHandled(true);
                    boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. pilot/pkg/xds/deltaadstest.go

    	select {
    	case <-time.After(a.timeout):
    		a.t.Fatalf("did not get response in time")
    	case resp := <-a.responses:
    		if resp == nil {
    			a.t.Fatalf("expected response")
    		}
    		if resp != nil && (len(resp.RemovedResources) > 0 || len(resp.Resources) > 0) {
    			a.t.Fatalf("expected empty response. received %v", resp)
    		}
    		return resp
    	case err := <-a.error:
    		a.t.Fatalf("got error: %v", err)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top