Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 702 for secunds (0.09 sec)

  1. cmd/bootstrap-peer-server.go

    					mu.Lock()
    					offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected))
    					mu.Unlock()
    					return
    				}
    
    				ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
    				defer cancel()
    
    				err := clnt.Verify(ctx, srcCfg)
    				mu.Lock()
    				if err != nil {
    					bootstrapTraceMsg(fmt.Sprintf("bootstrapVerify: %v, endpoint: %s", err, clnt))
    					if !isNetworkError(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    					return
    				}
    				goto sendResp
    			}
    		case <-pingTimer:
    			if !m.doPing(respHandler) {
    				return
    			}
    		}
    	}
    }
    
    // doPing checks last ping time and sends another ping.
    func (m *muxClient) doPing(respHandler chan<- Response) (ok bool) {
    	m.respMu.Lock()
    	if m.closed {
    		m.respMu.Unlock()
    		// Already closed. This is not an error state;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      /** Delay the response body by sleeping 1s.  */
      @Test
      fun delayResponse() {
        assumeNotWindows()
        server.enqueue(
          MockResponse()
            .setBody("ABCDEF")
            .setBodyDelay(1, TimeUnit.SECONDS),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo('A'.code)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      /** Delay the response body by sleeping 1s.  */
      @Test
      fun delayResponse() {
        assumeNotWindows()
        server.enqueue(
          MockResponse.Builder()
            .body("ABCDEF")
            .bodyDelay(1, TimeUnit.SECONDS)
            .build(),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        val inputStream = connection!!.getInputStream()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. docs/es/docs/python-types.md

    #### Diccionarios (Dicts)
    
    Para definir un `dict` le pasas 2 sub-tipos separados por comas.
    
    El primer sub-tipo es para los keys del `dict`.
    
    El segundo sub-tipo es para los valores del `dict`:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial008.py!}
    ```
    
    Esto significa:
    
    * La variable `prices` es un `dict`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          T first = shuffledList.get(0);
          T second = shuffledList.get(1);
          T third = shuffledList.get(2);
          T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
    
          assertEquals(min, ordering.min(shuffledList));
          assertEquals(min, ordering.min(shuffledList.iterator()));
          assertEquals(min, ordering.min(first, second, third, rest));
          assertEquals(min, ordering.min(min, max));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

          T first = shuffledList.get(0);
          T second = shuffledList.get(1);
          T third = shuffledList.get(2);
          T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
    
          assertEquals(min, ordering.min(shuffledList));
          assertEquals(min, ordering.min(shuffledList.iterator()));
          assertEquals(min, ordering.min(first, second, third, rest));
          assertEquals(min, ordering.min(min, max));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. fastapi/security/http.py

        The HTTP authorization credentials in the result of using `HTTPBearer` or
        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
        Authorization: Bearer deadbeef12346
        ```
    
        In this case:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. tests/prepared_stmt_test.go

    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	user2 := *GetUser("prepared_stmt2", Config{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. manifests/charts/README.md

    ```bash
    iop istio-control istio-discovery $IBASE/istio-control/istio-discovery \
                --set global.istioNamespace=istio-system
    
    # Second istio-discovery, using master version of istio
    TAG=latest HUB=gcr.io/istio-testing iop istio-master istio-discovery-master $IBASE/istio-control/istio-discovery \
                --set policy.enable=false \
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 16:56:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top