Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,295 for codec (0.19 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putFloat(float f);
    
      /** Equivalent to {@code putLong(Double.doubleToRawLongBits(d))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putDouble(double d);
    
      /** Equivalent to {@code putByte(b ? (byte) 1 : (byte) 0)}. */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

     * <i>implemented</i>, the design of the {@code Multimap} API is based on the <i>second</i> form.
     * So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2},
     * and the {@link #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For those
     * times when the first style is more useful, use the multimap's {@link #asMap} view (or create a
     * {@code Map<K, Collection<V>>} in the first place).
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
        utf8Lengths.put(0x800, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
      public void testAlwaysTrue_apply() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * Returns an iterable whose iterators cycle indefinitely over the elements of {@code iterable}.
       *
       * <p>That iterator supports {@code remove()} if {@code iterable.iterator()} does. After {@code
       * remove()} is called, subsequent cycles omit the removed element, which is no longer in {@code
       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * </h4>
     *
     * <p>Users of {@code CompletableFuture} will likely want to continue using {@code
     * CompletableFuture}. {@code FluentFuture} is targeted at people who use {@code ListenableFuture},
     * who can't use Java 8, or who want an API more focused than {@code CompletableFuture}. (If you
     * need to adapt between {@code CompletableFuture} and {@code ListenableFuture}, consider <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
       * <p>This method takes ownership of {@code contents}; do not modify {@code contents} after this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} appended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"}
       *   <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"}
       * </ul>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
Back to top