- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for kduration (0.09 seconds)
-
.teamcity/performance-test-durations.json
"durations" : [ { "testProject" : "largeEmptyMultiProjectDeclarativeDsl", "linux" : 350, "windows" : 828, "macOs" : 229 } ] }, { "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.clean checkout", "durations" : [ { "testProject" : "largeEmptyMultiProjectDeclarativeDsl", "linux" : 503Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 04:45:09 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
} static class DurationSpec { private final long duration; private final TimeUnit unit; private DurationSpec(long duration, TimeUnit unit) { this.duration = duration; this.unit = unit; } public static DurationSpec of(long duration, TimeUnit unit) { return new DurationSpec(duration, unit); } @Override public int hashCode() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
val durations: List<Map<String, Any>> = objectMapper.readValue(performanceTestDurationsJson) val pairs = durations.flatMap { scenarioDurations -> val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String) (scenarioDurations["durations"] as List<Map<String, Any>>).flatMap { duration ->
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
* <li>{@code maximumWeight=[long]}: sets {@link CacheBuilder#maximumWeight}. * <li>{@code expireAfterAccess=[duration]}: sets {@link CacheBuilder#expireAfterAccess}. * <li>{@code expireAfterWrite=[duration]}: sets {@link CacheBuilder#expireAfterWrite}. * <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}. * <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* <li>{@code maximumWeight=[long]}: sets {@link CacheBuilder#maximumWeight}. * <li>{@code expireAfterAccess=[duration]}: sets {@link CacheBuilder#expireAfterAccess}. * <li>{@code expireAfterWrite=[duration]}: sets {@link CacheBuilder#expireAfterWrite}. * <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}. * <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@GwtIncompatible // Duration @SuppressWarnings("GoodTime") // Duration decomposition @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from private static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilder.java
@GwtIncompatible // Duration @SuppressWarnings("GoodTime") // duration decomposition private static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 51.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
private static Thread acquireFor(Lock lock, long duration, TimeUnit unit) { CountDownLatch latch = new CountDownLatch(1); Thread thread = new Thread() { @Override public void run() { lock.lock(); try { latch.countDown(); Thread.sleep(unit.toMillis(duration)); } catch (InterruptedException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
executorService.scheduleAtFixedRate(command, Duration.ofDays(2), Duration.ofHours(4)); assertThat(future.get()).isEqualTo("scheduleAtFixedRate"); assertThat(recordedCommand).isSameInstanceAs(command); assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS); assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofDays(2)); assertThat(Duration.ofNanos(recordedInterval)).isEqualTo(Duration.ofHours(4)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 6.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration); return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration)); } @VisibleForTesting
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0)