Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 99 for LI (0.16 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      /**
       * Returns a fresh instance for {@code type} if possible. The returned instance could be:
       *
       * <ul>
       *   <li>exactly of the given type, including generic type parameters, such as {@code
       *       ImmutableList<String>};
       *   <li>of the raw type;
       *   <li>null if no value can be generated.
       * </ul>
       */
      final @Nullable Object generateFresh(TypeToken<?> type) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

       * filters to be compatible, they must:
       *
       * <ul>
       *   <li>not be the same instance
       *   <li>have the same number of hash functions
       *   <li>have the same bit size
       *   <li>have the same strategy
       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
       *       comparator.compare(tj, ti) > 0} for {@code i < j}, where {@code ti =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

    import java.util.Random;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Files}.
     *
     * <p>Some methods are tested in separate files:
     *
     * <ul>
     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    public class FilesTest extends IoTestCase {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Stats.java

     *
     * <p>There are two ways to obtain a {@code Stats} instance:
     *
     * <ul>
     *   <li>If all the values you want to summarize are already known, use the appropriate {@code
     *       Stats.of} factory method below. Primitive arrays, iterables and iterators of any kind of
     *       {@code Number}, and primitive varargs are supported.
     *   <li>Or, to avoid storing up all the data first, create a {@link StatsAccumulator} instance,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

          this.size = calculateSize(inputList, comparator);
        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
         *       increased by a factor of (n choose r).
         * </ul>
         */
        private static <E> int calculateSize(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <ul>
     *   <li>automatic loading of entries into the cache
     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@code WeakReference}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
       *       CompactHashing.createTable, whose values are either
       *       <ul>
       *         <li>UNSET, meaning "null pointer"
       *         <li>one plus an index into the keys, values, and entries arrays
       *       </ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         *
         * <p>This method performs the main logic of ServiceManager in the following steps.
         *
         * <ol>
         *   <li>Update the {@link #servicesByState()}
         *   <li>Update the {@link #startupTimers}
         *   <li>Based on the new state queue listeners to run
         *   <li>Run the listeners (outside of the lock)
         * </ol>
         */
        void transitionService(final Service service, State from, State to) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
Back to top