Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Compose (0.03 sec)

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

       *     the returned future.
       * @param executor Executor to run the function in.
       * @return A future that holds result of the transformation.
       * @since 9.0 (in 2.0 as {@code compose})
       */
      public static <I extends @Nullable Object, O extends @Nullable Object>
          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * #queue}, the Executor will complete its tasks, and then restore the interruption. This means
         * that once the Thread returns to the Executor that this Executor composes, the interruption
         * will still be present. If the composed Executor is an ExecutorService, it can respond to
         * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

       * ```
       */
      var tagClass: Int,
      /** Identifies which member in the ASN.1 schema the field holds. */
      var tag: Long,
      /**
       * If the constructed bit is set it indicates that the value is composed of other values that have
       * their own headers.
       *
       * This value is encoded in bit 6 of the first byte of each value.
       *
       * ```
       * 0bxx0xxxxx Primitive
       * 0bxx1xxxxx Constructed
       * ```
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
        return publicSuffixIndex() > 0;
      }
    
      /**
       * Indicates whether this domain name is composed of exactly one subdomain component followed by a
       * {@linkplain #isPublicSuffix() public suffix}. For example, returns {@code true} for {@code
       * google.com} {@code foo.co.uk}, and {@code myblog.blogspot.com}, but not for {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       * a default value.
       *
       * If this does read a value, it starts with the tag and length, and reads an entire value,
       * including any potential composed values.
       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    import okhttp3.internal.and
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * This class was originally composed from the following classes in
     * [Twitter Hpack][twitter_hpack].
     *
     *  * `com.twitter.hpack.HuffmanEncoder`
     *  * `com.twitter.hpack.HuffmanDecoder`
     *  * `com.twitter.hpack.HpackUtil`
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
     * directly if required. While URI escapers impose specific semantics on which characters are
     * considered 'safe', this class has a minimal set of restrictions.
     *
     * <p>When escaping a String, the following rules apply:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        e.execute(runMe);
        fakePool.runAll();
    
        assertEquals(2, numCalls.get());
      }
    
      public void testInterrupt_beforeRunRestoresInterruption() throws Exception {
        // Run a task on the composed Executor that interrupts its thread (i.e. this thread).
        fakePool.execute(
            new Runnable() {
              @Override
              public void run() {
                Thread.currentThread().interrupt();
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Network.java

     * whose edges are <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#uniqueness">unique</a> objects.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

              hashFunction.newHasher().putString(string, charset).hash());
        }
      }
    
      /**
       * This verifies that putUnencodedChars(String) and hashUnencodedChars(String) are equivalent,
       * even for funny strings composed by (possibly unmatched, and mostly illegal) surrogate
       * characters. (But doesn't test that they do the right thing - just their consistency).
       */
      private static void assertHashStringWithSurrogatesEquivalence(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top