Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for hugger (0.2 sec)

  1. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * 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>The main purpose of {@link #addListener addListener} is to support this chaining. You will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
          return local;
        }
        synchronized (this) {
          local = logger;
          if (local != null) {
            return local;
          }
          return logger = Logger.getLogger(loggerName);
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
        assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      @CheckForNull
      public E higher(@ParametricNullness E e) {
        return delegate().higher(e);
      }
    
      /**
       * A sensible definition of {@link #higher} in terms of the {@code iterator} method of {@link
       * #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may wish to
       * override {@link #higher} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
        Exiter(Runtime runtime) {
          this.runtime = runtime;
        }
    
        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import java.util.logging.Logger;
    import java.util.zip.ZipEntry;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /** Functional tests of {@link ClassPath}. */
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

            new Suppression(c1, c3Exception, c1Exception));
      }
    
      public static void testLoggingSuppressor() throws IOException {
        TestLogHandler logHandler = new TestLogHandler();
    
        Closeables.logger.addHandler(logHandler);
        try {
          Closer closer = new Closer(new Closer.LoggingSuppressor());
    
          TestCloseable c1 = closer.register(TestCloseable.throwsOnClose(new IOException()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import java.util.logging.Logger;
    import java.util.zip.ZipEntry;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /** Functional tests of {@link ClassPath}. */
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top