Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 250 for cpovirk (0.08 seconds)

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

     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    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.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      // TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet?
    
      // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim,
      // which overrides ImmutableSet & which ImmutableSortedSet extends.
      // It is necessary here because otherwise the builder() method
      // would be inherited from the emulated ImmutableSet.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Platform.java

       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. android/guava/pom.xml

                  <placement>X</placement>
                </tag>
                <tag>
                  <name>spec</name>
                  <placement>X</placement>
                </tag>
              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
              <!-- We add the link ourselves so that we can choose Java 25 over the version that -source suggests. -->
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class MultisetsCollectionTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

       * inputs, regardless of how the elements are divided.
       */
      @SafeVarargs
      @CanIgnoreReturnValue
      @SuppressWarnings("nullness") // TODO(cpovirk): Remove after we fix whatever the bug is.
      public final CollectorTester<T, A, R> expectCollects(R expectedResult, T... inputs) {
        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * characters).
       *
       * @param c the character to escape
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      // TODO(dbeaumont,cpovirk): Rename this something better once refactoring done
      protected abstract char @Nullable [] escapeUnsafe(char c);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            }
          } else {
            Thread.yield();
          }
          state = get();
        }
        if (restoreInterruptedBit) {
          currentThread.interrupt();
        }
        /*
         * TODO(cpovirk): Clear interrupt status here? We currently don't, which means that an interrupt
         * before, during, or after runInterruptibly() (unless it produced an InterruptedException
         * caught above) can linger and affect listeners.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
      // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder.
      // At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this.
      @SuppressWarnings("ThreadPriorityCheck") // We only propagate user requests (which we discourage).
      private static ThreadFactory doBuild(ThreadFactoryBuilder builder) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:35:26 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              SpliteratorDecompositionStrategy.ALL_STRATEGIES) {
            List<E> resultsForStrategy = new ArrayList<>();
            strategy.forEach(spliteratorSupplier.get(), resultsForStrategy::add);
    
            // TODO(cpovirk): better failure messages
            if ((characteristics & Spliterator.NONNULL) != 0) {
              assertFalse(resultsForStrategy.contains(null));
            }
            if ((characteristics & Spliterator.SORTED) != 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top