Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 600 for itemout (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          check(!sink.finished) { "already finished" }
          require(trailers.size != 0) { "trailers.size() == 0" }
          this.sink.trailers = trailers
        }
      }
    
      fun readTimeout(): Timeout = readTimeout
    
      fun writeTimeout(): Timeout = writeTimeout
    
      /** Returns a source that reads data from the peer. */
      fun getSource(): Source = source
    
      /**
       * Returns a sink that can be used to write data to the peer.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/discovery/token/token.go

    // validating the cluster CA against a set of pinned public keys
    func RetrieveValidatedConfigInfo(cfg *kubeadmapi.Discovery, timeout time.Duration) (*clientcmdapi.Config, error) {
    	return retrieveValidatedConfigInfo(nil, cfg, constants.DiscoveryRetryInterval, timeout)
    }
    
    // retrieveValidatedConfigInfo is a private implementation of RetrieveValidatedConfigInfo.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private fun readHeader() {
        if (closed) throw IOException("closed")
    
        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	connRemoteLocal := remote.Connection(localHost)
    
    	t.Run("testStreamRoundtrip", func(t *testing.T) {
    		defer timeout(5 * time.Second)()
    		testStreamRoundtrip(t, local, remote)
    		assertNoActive(t, connRemoteLocal)
    		assertNoActive(t, connLocalToRemote)
    	})
    	t.Run("testStreamCancel", func(t *testing.T) {
    		defer timeout(5 * time.Second)()
    		testStreamCancel(t, local, remote)
    		assertNoActive(t, connRemoteLocal)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/manager_test.go

    		driverName:                 driverName,
    		prepareResourcesResponse:   prepareResourcesResponse,
    		unprepareResourcesResponse: unprepareResourcesResponse,
    	}
    	if shouldTimeout {
    		timeout := *pluginClientTimeout * 2
    		fakeDRADriverGRPCServer.timeout = &timeout
    	}
    
    	drapbv1.RegisterNodeServer(s, fakeDRADriverGRPCServer)
    
    	go func() {
    		go s.Serve(l)
    		<-stopCh
    		s.GracefulStop()
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_linux.go

    		timeout := int(s.Config.Conntrack.TCPEstablishedTimeout.Duration / time.Second)
    		if err := ct.SetTCPEstablishedTimeout(ctx, timeout); err != nil {
    			return err
    		}
    	}
    
    	if s.Config.Conntrack.TCPCloseWaitTimeout != nil && s.Config.Conntrack.TCPCloseWaitTimeout.Duration > 0 {
    		timeout := int(s.Config.Conntrack.TCPCloseWaitTimeout.Duration / time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/etcd/etcd.go

    	PeerURL string
    }
    
    func (c *Client) listMembers(timeout time.Duration) (*clientv3.MemberListResponse, error) {
    	// Gets the member list
    	var lastError error
    	var resp *clientv3.MemberListResponse
    	if timeout == 0 {
    		timeout = constants.EtcdAPICallTimeout
    	}
    	err := wait.PollUntilContextTimeout(context.Background(), constants.EtcdAPICallRetryInterval, timeout,
    		true, func(_ context.Context) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        }
    
        private BlockingHandler addBlockingOptionalHandler(final int concurrent, final Collection<? extends ResourceExpectation> expectations) {
            return handler.addHandler(previous -> new MaybeNConcurrentRequests(lock, serverId, timeout, concurrent, previous, expectations));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/os/signal/signal_test.go

    	Notify(cs, syscall.SIGINT)
    	defer Stop(cs)
    
    	const execs = 10
    	for i := 0; i < execs; i++ {
    		timeout := "0"
    		if deadline, ok := t.Deadline(); ok {
    			timeout = time.Until(deadline).String()
    		}
    		cmd := testenv.Command(t, os.Args[0], "-test.run=^TestAtomicStop$", "-test.timeout="+timeout)
    		cmd.Env = append(os.Environ(), "GO_TEST_ATOMIC_STOP=1")
    		out, err := cmd.CombinedOutput()
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/testflag.go

    		}
    		switch short {
    		case "timeout":
    			timeoutSet = true
    		case "outputdir":
    			outputDirSet = true
    		}
    	})
    
    	// 'go test' has a default timeout, but the test binary itself does not.
    	// If the timeout wasn't set (and forwarded) explicitly, add the default
    	// timeout to the command line.
    	if testTimeout > 0 && !timeoutSet {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top