Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sleep (0.18 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val request1ReceivedAt = System.currentTimeMillis()
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
    
        // Hit that stored response. It's different, but Vary says it doesn't matter.
        Thread.sleep(10) // Make sure the timestamps are unique.
        val cacheHit =
          executeSynchronously(
            "/",
            "Accept-Language",
            "en-US",
            "Accept-Charset",
            "UTF-8",
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Give the server time to enact the socket policy if it's one that could happen after the
        // client has received the response.
        Thread.sleep(500)
        val response2 = getResponse(newRequest("/b"))
        response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
        assertContent("This comes after a busted connection", response2)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like what I get" is the same thing as "I get what I like"!'
    
      `You might just as well say,' added the Dormouse, who seemed to
    be talking in his sleep, `that "I breathe when I sleep" is the
    same thing as "I sleep when I breathe"!'
    
      `It IS the same thing with you,' said the Hatter, and here the
    conversation dropped, and the party sat silent for a minute,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like what I get" is the same thing as "I get what I like"!'
    
      `You might just as well say,' added the Dormouse, who seemed to
    be talking in his sleep, `that "I breathe when I sleep" is the
    same thing as "I sleep when I breathe"!'
    
      `It IS the same thing with you,' said the Hatter, and here the
    conversation dropped, and the party sat silent for a minute,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/testdata/configdump.yaml

                              "filter_state": {
                               "key": "io.istio.peer_principal",
                               "string_match": {
                                "exact": "spiffe://cluster.local/ns/default/sa/sleep"
                               }
                              }
                             }
                            ]
                           }
                          },
                          {
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response1.header("Allow")).isNull()
        assertThat((response1.receivedResponseAtMillis - t0).toDouble()).isCloseTo(0.0, 250.0)
    
        // A conditional cache hit updates the cache.
        Thread.sleep(500) // Make sure t0 and t1 are distinct.
        val t1 = System.currentTimeMillis()
        val response2 = get(server.url("/a"))
        assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    	c.RLock()
    	defer c.RUnlock()
    	if c.enabled {
    		logger.Info("Cluster replication initialized")
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  9. CHANGELOG/CHANGELOG-1.30.md

    - A new metric `lifecycle_handler_sleep_terminated_total` is added to record how many times LifecycleHandler sleep got unexpectedly terminated. ([#122456](https://github.com/kubernetes/kubernetes/pull/122456), [@AxeZhan](https://github.com/AxeZhan))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    When the function terminates, its goroutine also terminates.
    If the function has any return values, they are discarded when the
    function completes.
    </p>
    
    <pre>
    go Server()
    go func(ch chan&lt;- bool) { for { sleep(10); ch &lt;- true }} (c)
    </pre>
    
    
    <h3 id="Select_statements">Select statements</h3>
    
    <p>
    A "select" statement chooses which of a set of possible
    <a href="#Send_statements">send</a> or
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top