Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,357 for todo (0.03 sec)

  1. guava/src/com/google/common/collect/CompactLinkedHashMap.java

    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends CompactHashMap<K, V> {
      // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement
    
      /** Creates an empty {@code CompactLinkedHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/QueuesTest.java

          // we indeed waited; a slow thread had enough time to interrupt us
        }
      }
    
      // same as above; uninterruptible version
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      private void assertUninterruptibleDrained(BlockingQueue<Object> q) {
        assertEquals(0, Queues.drainUninterruptibly(q, ImmutableList.of(), 0, 10, MILLISECONDS));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

       * @return if parsing was successful, a populated HostAndPort object.
       * @throws IllegalArgumentException if nothing meaningful could be parsed.
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static HostAndPort fromString(String hostPortString) {
        checkNotNull(hostPortString);
        String host;
        String portString = null;
        boolean hasBracketlessColons = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SortedLists.java

        checkNotNull(list);
        checkNotNull(presentBehavior);
        checkNotNull(absentBehavior);
        if (!(list instanceof RandomAccess)) {
          list = new ArrayList<>(list);
        }
        // TODO(lowasser): benchmark when it's best to do a linear search
    
        int lower = 0;
        int upper = list.size() - 1;
    
        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    /**
     * Tests for {@link ImmutableBiMap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableBiMapTest extends TestCase {
    
      // TODO: Reduce duplication of ImmutableMapTest code
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. fastapi/security/oauth2.py

    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    
    # TODO: import from typing when deprecating Python 3.9
    from typing_extensions import Annotated, Doc
    
    
    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    				typedef[sub.Go.(*ast.Ident).Name].C = t.C
    			}
    
    			// If we've seen this typedef before, and it
    			// was an anonymous struct/union/class before
    			// too, use the old definition.
    			// TODO: it would be safer to only do this if
    			// we verify that the types are the same.
    			if oldType != nil && isStructUnionClass(oldType.Go) {
    				t.Go = oldType.Go
    			}
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

         * if:
         *
         * <pre>{@code
         * Objects.equal(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }</pre>
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@CheckForNull Object o);
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite // TODO(cpovirk): add to collect/gwt/suites
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableMultisetTest.class);
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top