Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Gugger (0.14 sec)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

      private static CharBuffer grow(CharBuffer buf) {
        char[] copy = Arrays.copyOf(buf.array(), buf.capacity() * 2);
        CharBuffer bigger = CharBuffer.wrap(copy);
        Java8Compatibility.position(bigger, buf.position());
        Java8Compatibility.limit(bigger, buf.limit());
        return bigger;
      }
    
      /** Handle the case of underflow caused by needing more input characters. */
      private void readMoreChars() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          thrownReflectionFailure = reflectionFailure;
          helper = new SynchronizedAtomicHelper();
        }
        ATOMIC_HELPER = helper;
        // Log after all static init is finished; if an installed logger uses any Futures methods, it
        // shouldn't break in cases where reflection is missing/broken.
        if (thrownReflectionFailure != null) {
          log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure);
    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)
  4. 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)
  5. 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)
  6. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                ExampleClassUnderTest.logger.setUseParentHandlers(true);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                ExampleClassUnderTest.logger.setUseParentHandlers(true);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    
    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     */
    public abstract class IoTestCase extends TestCase {
    
      private static final Logger logger = Logger.getLogger(IoTestCase.class.getName());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top