Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 256 for Reference (0.04 sec)

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

    public final class ExecutionSequencer {
    
      private ExecutionSequencer() {}
    
      /** Creates a new instance. */
      public static ExecutionSequencer create() {
        return new ExecutionSequencer();
      }
    
      /** This reference acts as a pointer tracking the head of a linked list of ListenableFutures. */
      private final AtomicReference<ListenableFuture<@Nullable Void>> ref =
          new AtomicReference<>(immediateVoidFuture());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Hashing}.
     *
     * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit
     * tests to reference them from there.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashingTest extends TestCase {
      public void testMd5() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  3. docs/contribute/concurrency.md

    new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into the connection pool. For HTTP/2, the connection can...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // Submitted by AWS Security <******@****.***>
    // Reference: c35bed18-6f4f-424f-9298-5756f2f7d72b
    amplifyapp.com
    
    // AWS App Runner
    // Submitted by AWS Security <******@****.***>
    // Reference: 6828c008-ba5d-442f-ade5-48da4e7c2316
    *.awsapprunner.com
    
    // AWS Cloud9
    // Submitted by: AWS Security <******@****.***>
    // Reference: 30717f72-4007-4f0f-8ed4-864c6f2efec9
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

              latch3.countDown()
              try {
                latch4.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
            }
          }
    
        // Get a reference to the connection so we can violently destroy it.
        val connection = AtomicReference<Connection?>()
        val client1 =
          client
            .newBuilder()
            .addNetworkInterceptor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Suppliers.java

      }
    
      /**
       * Returns a function that accepts a supplier and returns the result of invoking {@link
       * Supplier#get} on that supplier.
       *
       * <p>Prefer to use the method reference {@code Supplier::get} instead, though note that it is not
       * serializable unless you explicitly make it {@link Serializable}, typically by writing {@code
       * (Function<Supplier<T>, T> & Serializable) Supplier::get}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       However, the precise conditions for skipping the copy operation are undefined.
     *   <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link
     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeBasedTable.java

              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
              }
            }
    
            lastValue = null; // clear reference to unused data
            return endOfData();
          }
        };
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Strings.java

       * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}.
       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@Nullable String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top