Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for pass3 (0.01 sec)

  1. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
       *
       * @since 10.0
       */
      public abstract static class SimpleForwardingLoadingCache<K, V>
          extends ForwardingLoadingCache<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. gradlew.bat

    set APP_HOME=%DIRNAME%
    
    @rem Resolve any "." and ".." in APP_HOME to make it shorter.
    for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
    
    @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 26 02:17:22 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
            };
    
        // It should pass through untouched
        SomeUncheckedException e = assertThrows(SomeUncheckedException.class, iter::hasNext);
        assertSame(exception, e);
      }
    
      public void testExceptionAfterEndOfData() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = new CopyOnWriteArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

        sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt");
    
        try {
          sendRequest(client, "https://google.com/robots.txt");
          if (androidMorEarlier) {
            // will pass with default CAs on N or later
            fail();
          }
        } catch (SSLHandshakeException sslhe) {
          assertTrue(androidMorEarlier);
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

     * @author Dimitris Andreou
     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    abstract class AbstractStreamingHasher extends AbstractHasher {
      /** Buffer via which we pass data to the hash algorithm (the implementor) */
      private final ByteBuffer buffer;
    
      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top