- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,497 for Unit (0.02 seconds)
-
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
} /** * Converts an expiration duration/unit pair into a single Long for hashing and equality. Uses * nanos to match CacheBuilder implementation. */ private static @Nullable Long durationInNanos(long duration, @Nullable TimeUnit unit) { return (unit == null) ? null : unit.toNanos(duration); } /** Base class for parsing integers. */
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
} /** * Converts an expiration duration/unit pair into a single Long for hashing and equality. Uses * nanos to match CacheBuilder implementation. */ private static @Nullable Long durationInNanos(long duration, @Nullable TimeUnit unit) { return (unit == null) ? null : unit.toNanos(duration); } /** Base class for parsing integers. */
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-tests/test/com/google/common/base/OptionalTest.java
} @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOr_t_present() { assertThat(Optional.of("a").or("default")).isEqualTo("a"); } public void testOr_t_absent() { assertEquals("default", Optional.absent().or("default")); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOr_supplier_present() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt
open val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {}, ) : BuildType() { init { this.init() } } open class OsAwareBaseGradleBuildType( val os: Os, override val stage: Stage? = null, override val failStage: Boolean = true, init: OsAwareBaseGradleBuildType.() -> Unit = {}, ) : BaseGradleBuildType(stage, failStage) { init { this.init() }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 07 10:42:35 GMT 2026 - 602 bytes - Click Count (0) -
internal/dsync/utils.go
package dsync import ( "math/rand" "time" ) func backoffWait(minSleep, unit, maxSleep time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(r *rand.Rand, attempt uint) time.Duration { sleep := minSleep sleep += unit * time.Duration(attempt) if sleep > maxSleep { sleep = maxSleep }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
} @Override public boolean awaitTermination(long timeout, TimeUnit unit) { return true; } @Override public void execute(Runnable runnable) {} @Override public <V> ListenableScheduledFuture<V> schedule( Callable<V> callable, long delay, TimeUnit unit) { return NeverScheduledFuture.create(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java
*/ @Override ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit); /** * @since 15.0 (previously returned ScheduledFuture) */ @Override <V extends @Nullable Object> ListenableScheduledFuture<V> schedule( Callable<V> callable, long delay, TimeUnit unit); /** * @since 15.0 (previously returned ScheduledFuture) */ @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 17:30:04 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
private final long delay; private final TimeUnit unit; /** * @param delay the time from now to delay execution * @param unit the time unit of the delay parameter */ public Schedule(long delay, TimeUnit unit) { this.delay = delay; this.unit = checkNotNull(unit); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/replication/minio-replication-node.json
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 57.5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
org.setName("Testing Maven Unit"); org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } @Test public void testToStringNotNonsense10() { Organization org = new Organization(); org.setName("Testing Maven Unit");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0)