Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for hugger (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(
            "Modifying the builder should not have changed any already" + " built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LongMathTest.java

                  || !fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k] + 1, k)));
          // In the first case, any long is valid; in the second, we want to test that the next-bigger
          // long overflows.
        }
        int k = LongMath.biggestBinomials.length;
        assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k)));
        // 2 * k is the smallest value for which we don't replace k with (n-k).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

     * find it easier to use a framework. Frameworks automate the process, often adding features like
     * monitoring, debugging, and cancellation. Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}.
     *
     * @author Kevin Bourrillion
     * @author Nishant Thakkar
     * @author Sven Mawson
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

      public InternetDomainName parent() {
        checkState(hasParent(), "Domain '%s' has no parent", name);
        return ancestor(1);
      }
    
      /**
       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          if (state != null) {
            // Log before the transition, so that if the process exits in response to server failure,
            // there is a higher likelihood that the cause will be in the logs.
            boolean log = !(service instanceof NoOpService);
            if (log) {
              logger
                  .get()
                  .log(
                      Level.SEVERE,
    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)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

              return 0;
            }
          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
    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-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return suppressedTests;
      }
    
      private static final Logger logger =
          Logger.getLogger(FeatureSpecificTestSuiteBuilder.class.getName());
    
      /** Creates a runnable JUnit test suite based on the criteria already given. */
      public TestSuite createTestSuite() {
        checkCanCreate();
    
        logger.fine(" Testing: " + name);
        logger.fine("Features: " + formatFeatureSet(features));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

            B extends PerCollectionSizeTestSuiteBuilder<B, G, T, E>,
            G extends TestContainerGenerator<T, E>,
            T,
            E>
        extends FeatureSpecificTestSuiteBuilder<B, G> {
      private static final Logger logger =
          Logger.getLogger(PerCollectionSizeTestSuiteBuilder.class.getName());
    
      /** Creates a runnable JUnit test suite based on the criteria already given. */
      @Override
      public TestSuite createTestSuite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          return emptySet(comparator());
        }
      }
    
      @CheckForNull
      E higher(E e) {
        checkNotNull(e);
        Iterator<E> iterator = tailSet(e).iterator();
        while (iterator.hasNext()) {
          E higher = iterator.next();
          if (comparator().compare(e, higher) < 0) {
            return higher;
          }
        }
        return null;
      }
    
      @CheckForNull
      public E ceiling(E e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top