Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Initializing (0.28 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

          }
        }
        return suite;
      }
    
      @Override
      public void runTest() throws Exception {
        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
       * @since 20.0
       */
      public static HashFunction hmacMd5(Key key) {
        return new MacHashFunction("HmacMD5", key, hmacToString("hmacMd5", key));
      }
    
      /**
    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)
  3. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.Collections;
    import java.util.Map;
    
    /**
     * An implementation-specific parameter class suitable for initializing {@link
     * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used
     * when more than one escaper is created using the same character replacement mapping to allow the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

          list.add(e);
        }
        return Collections.unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
      protected int getNullLocation() {
        return getNumElements() / 2;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NaturalOrdering.java

    @ElementTypesAreNonnullByDefault
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
      // TODO: b/287198172 - Consider eagerly initializing these (but think about serialization).
      @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsFirst;
      @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsLast;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

          }
        }
        return suite;
      }
    
      @Override
      public void runTest() throws Exception {
        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "UnsafeAtomicHelper");
        checkHelperVersion(NO_UNSAFE, "SafeAtomicHelper");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

          }
        }
        return suite;
      }
    
      @Override
      public void runTest() throws Exception {
        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

          list.add(e);
        }
        return Collections.unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
      protected int getNullLocation() {
        return getNumElements() / 2;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top