Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,364 for crinal (0.2 sec)

  1. guava-tests/test/com/google/common/io/SourceSinkTester.java

              .put("\\r at EOF", "hello\nworld\r")
              .put("lorem ipsum", LOREM_IPSUM)
              .buildOrThrow();
    
      protected final F factory;
      protected final T data;
      protected final T expected;
    
      private final String suiteName;
      private final String caseDesc;
    
      SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) {
        super(method.getName());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

    public class JoinerTest extends TestCase {
      private static final Joiner J = Joiner.on("-");
    
      // <Integer> needed to prevent warning :(
      private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * forwards the calls to the underlying {@code Map}.
       */
      private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable {
        private final Map<String, String> map;
        private final AtomicBoolean setUpRan;
    
        CheckSetUpInvocationHandler(Map<String, String> map, AtomicBoolean setUpRan) {
          this.map = map;
          this.setUpRan = setUpRan;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

      }
    
      private static final class BigIntegerDomain extends DiscreteDomain<BigInteger>
          implements Serializable {
        private static final BigIntegerDomain INSTANCE = new BigIntegerDomain();
    
        BigIntegerDomain() {
          super(true);
        }
    
        private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
        private static final BigInteger MAX_LONG = BigInteger.valueOf(Long.MAX_VALUE);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheLoader.java

          final CacheLoader<K, V> loader, final Executor executor) {
        checkNotNull(loader);
        checkNotNull(executor);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
          public ListenableFuture<V> reload(final K key, final V oldValue) {
            ListenableFutureTask<V> task =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapValues.java

     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ImmutableMapValues<K, V> extends ImmutableCollection<V> {
      private final ImmutableMap<K, V> map;
    
      ImmutableMapValues(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

      }
    
      /** A Future that doesn't implement ListenableFuture, useful for testing listenInPoolThread. */
      private static final class NonListenableSettableFuture<V> extends ForwardingFuture<V> {
        static <V> NonListenableSettableFuture<V> create() {
          return new NonListenableSettableFuture<V>();
        }
    
        final SettableFuture<V> delegate = SettableFuture.create();
    
        @Override
        protected Future<V> delegate() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

            return of();
          }
          return JdkBackedImmutableMultiset.create(contents.entrySet());
        }
      }
    
      static final class ElementSet<E> extends ImmutableSet.Indexed<E> {
        private final List<Entry<E>> entries;
        // TODO(cpovirk): @Weak?
        private final Multiset<E> delegate;
    
        ElementSet(List<Entry<E>> entries, Multiset<E> delegate) {
          this.entries = entries;
          this.delegate = delegate;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * @author Justin T. Sampson
     */
    public final class TestThread<L> extends Thread implements TearDown {
    
      private static final long DUE_DILIGENCE_MILLIS = 100;
      private static final long TIMEOUT_MILLIS = 5000;
    
      private final L lockLikeObject;
    
      private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<>();
      private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<>();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          service.addListener(listener, directExecutor());
          return listener;
        }
    
        final Service service;
    
        RecordingListener(Service service) {
          this.service = service;
        }
    
        @GuardedBy("this")
        final List<State> stateHistory = Lists.newArrayList();
    
        final CountDownLatch completionLatch = new CountDownLatch(1);
    
        ImmutableList<State> getStateHistory() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
Back to top