- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Nymand (0.17 sec)
-
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
* time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in * for your real time-limiter while you're debugging. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class FakeTimeLimiter implements TimeLimiter { @CanIgnoreReturnValue // TODO(kak): consider removing this
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
* time limit expires for a given method call, the thread running the call will be interrupted. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class SimpleTimeLimiter implements TimeLimiter { private final ExecutorService executor;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
import java.util.concurrent.TimeoutException; import org.checkerframework.checker.nullness.qual.Nullable; /** * Imposes a time limit on method calls. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @DoNotMock("Use FakeTimeLimiter") @J2ktIncompatible @GwtIncompatible @SuppressWarnings("GoodTime") // should have java.time.Duration overloads @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code * int} values are boxed into {@link Integer} instances on demand, which can be very expensive. * The returned list should be used once and discarded. For any usages beyond that, pass the * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
} /** * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code * double} values are boxed into {@link Double} instances on demand, which can be very expensive. * The returned list should be used once and discarded. For any usages beyond that, pass the * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Unit test for {@link SimpleTimeLimiter}. * * @author kevinb * @author Jens Nyman */ public class SimpleTimeLimiterTest extends TestCase { private static final long DELAY_MS = 50; private static final long ENOUGH_MS = 10000; private static final long NOT_ENOUGH_MS = 5;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* </ol> * * <p>In summary, the time it takes to move to the left (spend K permits), is equal to the area of * the function of width == K. * * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* * <p>The outer list is unmodifiable, but reflects the latest state of the source list. The inner * lists are sublist views of the original list, produced on demand using {@link List#subList(int, * int)}, and are subject to all the usual caveats about modification as explained in that API. * * @param list the list to return consecutive sublists of
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 16:48:36 GMT 2024 - 41.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.File; import java.io.IOException; /** * Tests for {@link Files#fileTraverser()}. * * @author Jens Nyman */ public class FilesFileTraverserTest extends IoTestCase { private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Apr 21 20:17:27 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
import java.util.concurrent.atomic.AtomicBoolean; import javax.annotation.CheckForNull; /** * An implementation of {@link GraphConnections} for directed graphs. * * @author James Sexton * @author Jens Nyman * @param <N> Node parameter type * @param <V> Value parameter type */ @ElementTypesAreNonnullByDefault final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> { /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 18K bytes - Viewed (0)