Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 95 for MethodGet (0.17 sec)

  1. pilot/pkg/xds/eds_test.go

    // TODO: use this in integration tests.
    // TODO: refine the output
    // TODO: dump the ServiceInstances as well
    func testEdsz(t *testing.T, s *xdsfake.FakeDiscoveryServer, proxyID string) {
    	req, err := http.NewRequest(http.MethodGet, "/debug/edsz?proxyID="+proxyID, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	rr := httptest.NewRecorder()
    	debug := http.HandlerFunc(s.Discovery.Edsz)
    	debug.ServeHTTP(rr, req)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodSet.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Objects;
    
    import static java.util.Collections.unmodifiableCollection;
    
    public class MethodSet implements Iterable<Method> {
        private final Map<MethodKey, Method> methods = new LinkedHashMap<>();
    
        public void add(Method method) {
            MethodKey key = new MethodKey(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		longRunningFunc,
    		fakeFilter,
    		func(_ *http.Request, _, _ string) fcrequest.WorkEstimate { return workExpected },
    		time.Minute/4,
    	)
    
    	w := httptest.NewRecorder()
    	req, err := http.NewRequest(http.MethodGet, "/bar", nil)
    	if err != nil {
    		t.Fatalf("Failed to create new http request - %v", err)
    	}
    	req = req.WithContext(apirequest.WithRequestInfo(req.Context(), reqDigestExpected.RequestInfo))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    		wantBody string
    	}{
    		{MethodGet, nil, "text/html; charset=utf-8", "<a href=\"/foo\">Found</a>.\n\n"},
    		{MethodHead, nil, "text/html; charset=utf-8", ""},
    		{MethodPost, nil, "", ""},
    		{MethodDelete, nil, "", ""},
    		{"foo", nil, "", ""},
    		{MethodGet, &ctHeader{[]string{"application/test"}}, "application/test", ""},
    		{MethodGet, &ctHeader{[]string{}}, "", ""},
    		{MethodGet, &ctHeader{nil}, "", ""},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    func getKubernetesInfo(dctx context.Context) madmin.KubernetesInfo {
    	ctx, cancel := context.WithCancel(dctx)
    	defer cancel()
    
    	ki := madmin.KubernetesInfo{}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, kubernetesVersionEndpoint, nil)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go

    // MethodSet(T) is called so that repeat queries are fast.
    // The zero value is a ready-to-use cache instance.
    type MethodSetCache struct {
    	mu     sync.Mutex
    	named  map[*types.Named]struct{ value, pointer *types.MethodSet } // method sets for named N and *N
    	others map[types.Type]*types.MethodSet                            // all other types
    }
    
    // MethodSet returns the method set of type T.  It is thread-safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 18:08:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutablePropertyDetails.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    
    class MutablePropertyDetails implements PropertyDetails {
        private final String name;
        private final MethodSet getters = new MethodSet();
        private final MethodSet setters = new MethodSet();
        private Field field;
    
        MutablePropertyDetails(String name) {
            this.name = name;
        }
    
        @Override
        public String getName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    	reqURL := &url.URL{
    		Scheme: epURL.Scheme,
    		Host:   epURL.Host,
    		Path:   healthCheckPathPrefix + healthCheckReadinessPath,
    	}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
    	if err != nil {
    		return err
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/ui.go

    )
    
    // IntuitiveMethodSet returns the intuitive method set of a type T,
    // which is the set of methods you can call on an addressable value of
    // that type.
    //
    // The result always contains MethodSet(T), and is exactly MethodSet(T)
    // for interface types and for pointer-to-concrete types.
    // For all other concrete types T, the result additionally
    // contains each method belonging to *T if there is no identically
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    		"deadline-exceeded",
    		"internal",
    		"resource-exhausted",
    		"unavailable",
    	)
    
    	// golang supported methods: https://golang.org/src/net/http/method.go
    	supportedMethods = sets.New(
    		http.MethodGet,
    		http.MethodHead,
    		http.MethodPost,
    		http.MethodPut,
    		http.MethodPatch,
    		http.MethodDelete,
    		http.MethodConnect,
    		http.MethodOptions,
    		http.MethodTrace,
    	)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top