Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for hugger (0.4 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
      private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class);
    
      // TODO(chrisn): promote AppendOnlyCollection for use here.
      private final List<PerListenerQueue<L>> listeners =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public NavigableSet<E> headSet(E toElement, boolean inclusive) {
        return new SafeTreeSet<>(delegate.headSet(checkValid(toElement), inclusive));
      }
    
      @Override
      public @Nullable E higher(E e) {
        return delegate.higher(checkValid(e));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Iterator<E> iterator() {
        return delegate.iterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

     * @author Jesse Wilson
     * @since 1.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractExecutionThreadService implements Service {
      private static final LazyLogger logger = new LazyLogger(AbstractExecutionThreadService.class);
    
      /* use AbstractService for state management */
      private final Service delegate =
          new AbstractService() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  4. android/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 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      @CheckForNull
      public K firstKey() {
        return sortedDelegate.firstKey();
      }
    
      @CheckForNull
      public K lastKey() {
        return sortedDelegate.lastKey();
      }
    
      @CheckForNull
      K higher(K k) {
        Iterator<K> iterator = keySet().tailSet(k).iterator();
        while (iterator.hasNext()) {
          K tmp = iterator.next();
          if (comparator().compare(k, tmp) < 0) {
            return tmp;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests for {@link ExecutionSequencer} */
    public class ExecutionSequencerTest extends TestCase {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests for {@link ExecutionSequencer} */
    public class ExecutionSequencerTest extends TestCase {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
     * implement {@code BiPredicate<T, T>} (as it does in the main Guava artifact), but we currently
     * target a lower API level. In the meantime, if you have support for method references you can use
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  10. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top