Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Carter (0.22 sec)

  1. android/guava/src/com/google/common/math/IntMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class IntMath {
      // NOTE: Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    
      @VisibleForTesting static final int MAX_SIGNED_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key - Hash Key First";
    
        checkSha1("aa4ae5e15272d00e95705637ce8a3b55ed402112", key, data);
      }
    
      public void testRfc2202_hmacSha1_case7() {
        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data";
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

     * prior notice.
     *
     */
    public interface ProjectRealmCache {
    
        /**
         * A cache key.
         */
        interface Key {
            // marker interface for cache keys
        }
    
        /**
         * CacheRecord
         */
        class CacheRecord {
    
            public ClassRealm getRealm() {
                return realm;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Bytes.asList(array),
       * distance)}, but is somewhat faster.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(byte[] array, int distance) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Floats.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(float[] array, int distance) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE;
      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      public static class GoodEqualsFactory {
        public static Object good(
            String a,
            int b,
            // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value.
            @SuppressWarnings("unused") OneConstantEnum oneConstantOnly,
            // noConstant doesn't matter since it can only be null
            @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) {
          return new GoodEquals(a, b);
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top