Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,735 for itemout (0.19 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

         * @param request
         * @param response
         * @param params
         * @param timeout
         * @return
         * @throws IOException
         */
        protected <T extends Response> long doSend ( Request request, T response, Set<RequestParam> params, long timeout ) throws IOException {
            long firstKey = prepareRequests(request, response, params, timeout);
            doSend(request);
            return firstKey;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget.go

    //	budget := newTimeBudget(...)
    //	...
    //	timeout := budget.takeAvailable()
    //	// Now you can spend at most timeout on doing stuff
    //	...
    //	// If you didn't use all timeout, return what you didn't use
    //	budget.returnUnused(<unused part of timeout>)
    //
    // NOTE: It's not recommended to be used concurrently from multiple threads -
    // if first user takes the whole timeout, the second one will get 0 timeout
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	var timeout time.Duration
    	if opts.TimeoutSeconds != nil {
    		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
    	}
    	result = &v1.CustomResourceDefinitionList{}
    	err = c.client.Get().
    		Resource("customresourcedefinitions").
    		VersionedParams(&opts, scheme.ParameterCodec).
    		Timeout(timeout).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/probe/tcp/tcp.go

    type Prober interface {
    	Probe(host string, port int, timeout time.Duration) (probe.Result, string, error)
    }
    
    type tcpProber struct{}
    
    // Probe checks that a TCP connection to the address can be opened.
    func (pr tcpProber) Probe(host string, port int, timeout time.Duration) (probe.Result, string, error) {
    	return DoTCPProbe(net.JoinHostPort(host, strconv.Itoa(port)), timeout)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Call.kt

      /**
       * Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
       * body, server processing, and reading the response body. If the call requires redirects or
       * retries all must complete within one timeout period.
       *
       * Configure the client's default timeout with [OkHttpClient.Builder.callTimeout].
       */
      fun timeout(): Timeout
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. pkg/hbone/dialer_test.go

    	})
    	return n.Addr().String()
    }
    
    func TestDialerError(t *testing.T) {
    	timeout := 500 * time.Millisecond
    	d := NewDialer(Config{
    		ProxyAddress: "127.0.0.10:1", // Random address that should fail to dial
    		Headers: map[string][]string{
    			"some-addition-metadata": {"test-value"},
    		},
    		TLS:     nil, // No TLS for simplification
    		Timeout: &timeout,
    	})
    
    	_, err := d.Dial("tcp", "fake")
    	if err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 26 23:44:52 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/context/net_test.go

    	err, ok := context.DeadlineExceeded.(net.Error)
    	if !ok {
    		t.Fatal("DeadlineExceeded does not implement net.Error")
    	}
    	if !err.Timeout() || !err.Temporary() {
    		t.Fatalf("Timeout() = %v, Temporary() = %v, want true, true", err.Timeout(), err.Temporary())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 05 15:53:04 UTC 2016
    - 538 bytes
    - Viewed (0)
  8. pkg/kubelet/prober/prober.go

    		}
    		klog.V(4).InfoS("TCP-Probe", "host", host, "port", port, "timeout", timeout)
    		return pb.tcp.Probe(host, port, timeout)
    
    	case p.GRPC != nil:
    		host := status.PodIP
    		service := ""
    		if p.GRPC.Service != nil {
    			service = *p.GRPC.Service
    		}
    		klog.V(4).InfoS("GRPC-Probe", "host", host, "service", service, "port", p.GRPC.Port, "timeout", timeout)
    		return pb.grpc.Probe(host, service, int(p.GRPC.Port), timeout)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ConsumingStandardInputCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    import spock.lang.Timeout
    
    class ConsumingStandardInputCrossVersionSpec extends ToolingApiSpecification {
    
        def setup() {
            if (!dist.toolingApiStdinInEmbeddedModeSupported) {
                // Did not work in embedded mode in older versions
                toolingApi.requireDaemons()
            }
        }
    
        @Timeout(90)
        def "consumes input when building model"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/initsystem/initsystem_windows.go

    	}
    
    	if status.State != svc.Stopped && status.State != svc.StopPending {
    		return nil
    	}
    
    	timeout := time.Now().Add(10 * time.Second)
    	for status.State != svc.Stopped {
    		if timeout.Before(time.Now()) {
    			return errors.Errorf("timeout waiting for %s service to stop", service)
    		}
    		time.Sleep(300 * time.Millisecond)
    		status, err = s.Query()
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 08:56:16 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top