Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for t1 (0.31 sec)

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

                }
                chain.proceed(chain.request())
              },
            )
            .build()
        val t1 = makeSynchronousCall(client.newCall(newRequest("http://a/3")))
        ready.await(5, TimeUnit.SECONDS)
        executor.finishJob("http://a/2")
        assertThat(idle.get()).isFalse()
        proceed.countDown()
        t1.join()
        assertThat(idle.get()).isTrue()
      }
    
      @Test
      fun executionRejectedImmediately() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	if globalTrace.NumSubscribers(madmin.TraceBootstrap) == 0 {
    		return
    	}
    
    	globalTrace.Publish(info)
    }
    
    func initServerConfig(ctx context.Context, newObject ObjectLayer) error {
    	t1 := time.Now()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for {
    		select {
    		case <-ctx.Done():
    			// Retry was canceled successfully.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  3. doc/go_spec.html

    or of a type containing <code>T</code> as a component, directly or indirectly,
    if those containing types are only array or struct types.
    </p>
    
    <pre>
    // invalid array types
    type (
    	T1 [10]T1                 // element type of T1 is T1
    	T2 [10]struct{ f T2 }     // T2 contains T2 as component of a struct
    	T3 [10]T4                 // T3 contains T3 as component of a struct in T4
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    <pre>
    t.z          // t.z
    t.y          // t.T1.y
    t.x          // (*t.T0).x
    
    p.z          // (*p).z
    p.y          // (*p).T1.y
    p.x          // (*(*p).T0).x
    
    q.x          // (*(*q).T0).x        (*q).x is a valid field selector
    
    p.M0()       // ((*p).T0).M0()      M0 expects *T0 receiver
    p.M1()       // ((*p).T1).M1()      M1 expects T1 receiver
    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)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        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)
        assertThat(response2.body.string()).isEqualTo("A")
    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)
Back to top