Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for Palmer (0.16 sec)

  1. guava/src/com/google/common/collect/CompactHashing.java

       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
      static void tableSet(Object table, int index, int entry) {
        if (table instanceof byte[]) {
          ((byte[]) table)[index] = (byte) entry; // unsigned write
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
      static void tableSet(Object table, int index, int entry) {
        if (table instanceof byte[]) {
          ((byte[]) table)[index] = (byte) entry; // unsigned write
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * in no particular order.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
       *
       * @return an array containing all of the elements in this queue
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
       *
       * @return an array containing all of the elements in this queue
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
       * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code
       * getChecked} holds no strong references to the class.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/HostAndPort.java

     * </ul>
     *
     * <p>Note that this is not an exhaustive list, because these methods are only concerned with
     * brackets, colons, and port numbers. Full validation of the host field (if desired) is the
     * caller's responsibility.
     *
     * @author Paul Marks
     * @since 10.0
     */
    @Immutable
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HostAndPort implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

       * loading the value for this key, simply waits for that thread to finish and returns its loaded
       * value. Note that multiple threads can concurrently load values for distinct keys.
       *
       * <p>This method does not alter the state of this {@code CacheBuilder} instance, so it can be
       * invoked again to create multiple independent caches.
       *
       * @param loader the cache loader used to obtain new values
    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)
  8. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

       * input bit(i) and output bit(j), two pairs of keys must be found with all bits identical except
       * bit(i). One pair must differ in output bit(j), and one pair must not. This proves that input
       * bit(i) can alter output bit(j).
       */
      static void checkNoFunnels(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
    
        // output loop tests input bit
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        /**
         * It is implicitly assumed that all the services are NEW and that they will all remain NEW
         * until all the Listeners are installed and {@link #markReady()} is called. It is our caller's
         * responsibility to only call {@link #markReady()} if all services were new at the time this
         * method was called and when all the listeners were installed.
         */
    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)
  10. android/guava/src/com/google/common/hash/HashCode.java

       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
       * changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays
       * returned by this method.
       */
      // TODO(user): consider ByteString here, when that is available
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
Back to top