Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for eens (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

    import com.google.common.collect.Iterables;
    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)
  6. android/guava/src/com/google/common/graph/ImmutableGraph.java

     * of the {@code Immutable*} types</a> for more information on the properties and guarantees
     * provided by this class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @author Omar Darwish
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N"})
    @ElementTypesAreNonnullByDefault
    public class ImmutableGraph<N> extends ForwardingGraph<N> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableNetwork.java

     * of the {@code Immutable*} types</a> for more information on the properties and guarantees
     * provided by this class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @author Omar Darwish
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N", "E"})
    @SuppressWarnings("Immutable") // Extends StandardNetwork but uses ImmutableMaps.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/graph/Traverser.java

     *   <li>(1) "no" and (2) "yes", <b><i>neither will work</i></b>, but if you transform your node
     *       objects into a non-recursive form, you can use {@code forGraph()}.
     * </ul>
     *
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @since 23.1
     */
    @Beta
    @DoNotMock(
        "Call forGraph or forTree, passing a lambda or a Graph with the desired edges (built with"
            + " GraphBuilder)")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  10. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
Back to top