Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 887 for Callable (0.1 sec)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A striped {@code Lock/Semaphore/ReadWriteLock}. This offers the underlying lock striping similar
     * to that of {@code ConcurrentHashMap} in a reusable form, and extends it for semaphores and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

      private final ImmutableListMultimap<String, String> parameters;
    
      @LazyInit private @Nullable String toString;
    
      @LazyInit private int hashCode;
    
      // We need to differentiate between "not computed" and "computed to be absent."
      @SuppressWarnings("NullableOptional")
      @LazyInit
      private @Nullable Optional<Charset> parsedCharset;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Longs}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class LongsTest extends TestCase {
      private static final long[] EMPTY = {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Shorts}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class ShortsTest extends TestCase {
      private static final short[] EMPTY = {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.zip.Adler32;
    import java.util.zip.CRC32;
    import java.util.zip.Checksum;
    import javax.crypto.spec.SecretKeySpec;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static methods to obtain {@link HashFunction} instances, and other static hashing-related
     * utilities.
     *
     * <p>A comparison of the various hash functions can be found <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/Stats.java

    import java.util.Objects;
    import java.util.stream.Collector;
    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    import java.util.stream.LongStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A bundle of statistical summary values -- sum, count, mean/average, min and max, and several
     * forms of variance -- that were computed from a single set of zero or more floating-point values.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.function.BooleanSupplier;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A synchronization abstraction supporting waiting on arbitrary boolean conditions.
     *
     * <p>This class is intended as a replacement for {@link ReentrantLock}. Code using {@code Monitor}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The {@code CycleDetectingLockFactory} creates {@link ReentrantLock} instances and {@link
     * ReentrantReadWriteLock} instances that detect potential deadlock by checking for cycles in lock
     * acquisition order.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top