- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 794 for sekonda (0.24 sec)
-
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
.connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.SECONDS) .callTimeout(10, TimeUnit.SECONDS) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build();
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Viewed (0) -
cmd/prepare-storage.go
// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks. // All times are rounded to avoid showing milli, micro and nano seconds formatStartTime := time.Now().Round(time.Second) getElapsedTime := func() string { return time.Now().Round(time.Second).Sub(formatStartTime).String() } var ( tries int verbose bool )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
runLatch.await(); taskLatch.countDown(); ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, TimeUnit.SECONDS)); assertEquals(IllegalStateException.class, e.getCause().getClass()); assertTrue(listenerLatch.await(5, TimeUnit.SECONDS)); assertTrue(task.isDone()); assertFalse(task.isCancelled()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
avg = l.rttMsSum / float64(l.successRequestCount) } now := time.Now().UTC() return Metrics{ LastReachableSecs: now.Sub(o.serviceMetrics.LastCheckSuccess).Seconds(), LastUnreachableSecs: now.Sub(o.serviceMetrics.LastCheckFailure).Seconds(), TotalRequests: l.failedRequestCount + l.successRequestCount, FailedRequests: l.failedRequestCount, AvgSuccRTTMs: avg, MaxSuccRTTMs: l.maxRttMs,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 13.3K bytes - Viewed (3) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
future.set(RESULT); /* * getUninterruptibly should call the timed get method once with a * wait of 0 seconds (and it should succeed, since the result is already * available). */ assertEquals(RESULT, getUninterruptibly(future, 0, SECONDS)); } public void testMakeUninterruptible_timedGetNegativeTimeoutAttempted() throws TimeoutException, ExecutionException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.1K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
// +protobuf.options.(gogoproto.goproto_stringer)=false message MicroTime { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. optional int64 seconds = 1; // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 53.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
@Override protected Scheduler scheduler() { return newFixedDelaySchedule(Long.MAX_VALUE, Long.MAX_VALUE, SECONDS); } }; service.startAsync().awaitRunning(); assertThrows(TimeoutException.class, () -> service.firstBarrier.await(5, SECONDS)); assertEquals(0, service.numIterations.get()); service.stopAsync(); service.awaitTerminated(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
ImmutableSet.of( DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withExpireAfterAccesses( ImmutableSet.of( DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))) .withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
cmd/jwt.go
owner = globalActiveCred.AccessKey == ucred.ParentUser } groups = ucred.Groups } return claims, groups, owner, nil } // newCachedAuthToken returns a token that is cached up to 15 seconds. // If globalActiveCred is updated it is reflected at once. func newCachedAuthToken() func(audience string) string { fn := func(accessKey, secretKey, audience string) (s string, err error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:14 GMT 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
return; } long timeoutSeconds = timeoutSeconds(); long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); do { System.runFinalization(); if (future.isDone()) { return; } System.gc(); try { future.get(1L, SECONDS); return; } catch (CancellationException | ExecutionException ok) { return;
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)