Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,307 for until (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Running at time 50, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 60, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(60L)).isEqualTo(90L)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

     */
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.Closeable
    import java.util.AbstractQueue
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.logging.Logger
    import kotlin.concurrent.withLock
    import okhttp3.OkHttpClient
    import okhttp3.TestUtil.threadFactory
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

     */
    package okhttp3.internal.http2
    
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.SocketTimeoutException
    import java.util.ArrayDeque
    import java.util.concurrent.locks.Condition
    import java.util.concurrent.locks.ReentrantLock
    import okhttp3.Headers
    import okhttp3.internal.EMPTY_HEADERS
    import okhttp3.internal.assertNotHeld
    import okhttp3.internal.connection.Locks.withLock
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

    package com.google.common.testing;
    
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.concurrent.CancellationException;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.charsetOrUtf8
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import com.google.common.collect.testing.Helpers;
    import java.util.Collection;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for list testers.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                std::bind(&DeviceThread::Run, this))) {}
      ~DeviceThread();
    
      // Requests that the worker thread execute the specified operation. Blocks
      // until the previously pending operation (a StartExecute without a Join) has
      // finished, if any.
      //
      // `cancellation_manager` must live until after `Join` finishes and pending
      // `is_async` operations finish. In addition to allowing the caller to cancel
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  8. guava/src/com/google/common/base/Suppliers.java

       * delegating calls until it returns valid data.
       *
       * @param duration the length of time after a value is created that it should stop being returned
       *     by subsequent {@code get()} calls
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 33.1.0
       */
      @Beta // only until we're confident that Java 8+ APIs are safe for our Android users
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    	// wait until pod add was called
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    			}
    			ch <- g
    		}(index, isReadLock, c)
    	}
    
    	// Wait until we have either
    	//
    	// a) received all lock responses
    	// b) received too many 'non-'locks for quorum to be still possible
    	// c) timed out
    	//
    	i, locksFailed := 0, 0
    	done := false
    
    	for ; i < len(restClnts); i++ { // Loop until we acquired all locks
    		select {
    		case grant := <-ch:
    			if grant.isLocked() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top