Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Gugger (0.22 sec)

  1. guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class SloppyTearDown implements TearDown {
      private static final Logger logger = Logger.getLogger(SloppyTearDown.class.getName());
    
      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.enqueue(THROWING_EVENT, "custom-label");
    
        Logger logger = Logger.getLogger(ListenerCallQueue.class.getName());
        logger.setLevel(Level.SEVERE);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closeables.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    
    /**
     * Utility methods for working with {@link Closeable} objects.
     *
     * @author Michael Lancaster
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Closeables {
      @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          listenerLatch.await();
        }
        return returnValue;
      }
    
      // This is the old implementation of ExecutionList using a LinkedList.
      private static final class OldExecutionList {
        static final Logger log = Logger.getLogger(OldExecutionList.class.getName());
        final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList();
        boolean executed = false;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

          String objectToString =
              o.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(o));
          // Logger is created inline with fixed name to avoid forcing Proguard to create another class.
          Logger.getLogger("com.google.common.base.Strings")
              .log(WARNING, "Exception during lenientFormat for " + objectToString, e);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * 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>
     *
     * <h4>{@link java.util.concurrent.CompletableFuture} / {@link java.util.concurrent.CompletionStage}
     * </h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LoadingCache.java

       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
       * currently contains a value for {@code key}, and {@link CacheLoader#load} otherwise. Loading is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * illustrating the cycle in lock acquisition order.
         */
        WARN {
          @Override
          public void handlePotentialDeadlock(PotentialDeadlockException e) {
            logger.get().log(Level.SEVERE, "Detected potential deadlock", e);
          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  10. android/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 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top