- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,090 for timeIt (0.05 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
import okio.buffer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.assertArrayEquals import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(5) @Tag("Slow") class Http2ConnectionTest { private val peer = MockHttp2Peer() private val taskFaker = TaskFaker() @AfterEach fun tearDown() { peer.close() taskFaker.close() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
cni/test/install_cni.go
func compareConfResult(result, expected string, t *testing.T) { t.Helper() retry.UntilSuccessOrFail(t, func() error { return checkResult(result, expected) }, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*3)) } // checkBinDir verifies the presence/absence of test files. func checkBinDir(t *testing.T, tempCNIBinDir, op string, files ...string) error { t.Helper() for _, f := range files {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
): Boolean { // If there was a protocol problem, don't recover. if (e is ProtocolException) { return false } // If there was an interruption don't recover, but if there was a timeout connecting to a route // we should try the next route (if there is one). if (e is InterruptedIOException) { return e is SocketTimeoutException && !requestSendStarted }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
public boolean isTerminated() { synchronized (lock) { return shutdown && runningTasks == 0; } } @Override public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { long nanos = unit.toNanos(timeout); synchronized (lock) { while (true) { if (shutdown && runningTasks == 0) { return true; } else if (nanos <= 0) { return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
return getResponse(1, TimeUnit.MINUTES); } public RESPONSE getResponse(final long time, final TimeUnit unit) { try { final boolean isTimeout = !latch.await(time, unit); if (isTimeout) { throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name()); } if (error != null) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
val connectTimeout: Int by option( "--connect-timeout", help = "Maximum time allowed for connection (seconds)", ).int().default(DEFAULT_TIMEOUT) val readTimeout: Int by option("--read-timeout", help = "Maximum time allowed for reading data (seconds)").int().default(DEFAULT_TIMEOUT) val callTimeout: Int by option( "--call-timeout", help = "Maximum time allowed for the entire call (seconds)",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
ci/official/containers/linux_arm64/setup.python.sh
if [[ ! -f "/usr/local/include/$VERSION" ]]; then ln -sf /usr/include/$VERSION /usr/local/include/$VERSION fi # Install pip wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py /usr/bin/$VERSION get-pip.py /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip # Disable the cache dir to save image space, and install packages
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 01 12:56:16 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/url_test.go
b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() if err := req.ParseForm(); err != nil { b.Fatal(err) } b.RunParallel(func(pb *testing.PB) { for pb.Next() { req.Form.Get("uploadId") } }) // Benchmark ends here. Stop timer. b.StopTimer() } // BenchmarkURLQuery - benchmark URL memory allocations
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 2K bytes - Viewed (0) -
cmd/erasure-sets.go
func (s *erasureSets) monitorAndConnectEndpoints(ctx context.Context, monitorInterval time.Duration) { r := rand.New(rand.NewSource(time.Now().UnixNano())) time.Sleep(time.Duration(r.Float64() * float64(time.Second))) // Pre-emptively connect the disks if possible. s.connectDisks(false) monitor := time.NewTimer(monitorInterval) defer monitor.Stop() for { select { case <-ctx.Done():
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1) -
cmd/background-newdisks-heal-ops.go
disk StorageAPI `msg:"-"` mu *sync.RWMutex `msg:"-"` ID string PoolIndex int SetIndex int DiskIndex int Path string Endpoint string Started time.Time LastUpdate time.Time ObjectsTotalCount uint64 ObjectsTotalSize uint64 ItemsHealed uint64 ItemsFailed uint64 BytesDone uint64 BytesFailed uint64 // Last object scanned.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.6K bytes - Viewed (0)