Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Workers (0.44 sec)

  1. android/guava/src/com/google/common/net/HttpHeaders.java

        public static final String UNSAFE_URL = "unsafe-url";
      }
    
      /**
       * The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">{@code
       * Service-Worker}</a> header field name.
       *
       * @since 20.0
       */
      public static final String SERVICE_WORKER = "Service-Worker";
      /** The HTTP {@code TE} header field name. */
      public static final String TE = "TE";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeBasedTable.java

      }
    
      /**
       * Creates an empty {@code TreeBasedTable} that is ordered by the specified comparators.
       *
       * @param rowComparator the comparator that orders the row keys
       * @param columnComparator the comparator that orders the column keys
       */
      public static <R, C, V> TreeBasedTable<R, C, V> create(
          Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns a comparator of {@link Optional} values which treats {@link Optional#empty} as less
       * than all other values, and orders the rest using {@code valueComparator} on the contained
       * value.
       *
       * @since 22.0
       */
      public static <T> Comparator<Optional<T>> emptiesFirst(Comparator<? super T> valueComparator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Graph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
     *   <li>orders {@link Graph#nodes()} in the order in which the elements were added (insertion
     *       order)
     * </ul>
     *
     * <p>{@code Graph}s built by this class also guarantee that each collection-returning accessor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        checkArgument(elements.length == 3);
                        // Put the sets in different orders for the hell of it
                        return Sets.union(
                            Sets.newLinkedHashSet(asList(elements)),
                            Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2])));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A bounded {@linkplain BlockingQueue blocking queue} backed by an array. This queue orders
     * elements FIFO (first-in-first-out). The head of the queue is that element that has been
     * on the queue the longest time. The tail of the queue is that element that has been on
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
      // do borders on absurd overkill. Better safe than sorry, though?
    
      @GwtIncompatible // java.util.BitSet
      public void testSetBits() {
        doTestSetBits(CharMatcher.any());
        doTestSetBits(CharMatcher.none());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
      // do borders on absurd overkill. Better safe than sorry, though?
    
      @GwtIncompatible // java.util.BitSet
      public void testSetBits() {
        doTestSetBits(CharMatcher.any());
        doTestSetBits(CharMatcher.none());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

      @GwtCompatible(serializable = true)
      public <S extends T> Ordering<@Nullable S> nullsLast() {
        return new NullsLastOrdering<S>(this);
      }
    
      /**
       * Returns a new ordering on {@code F} which orders elements by first applying a function to them,
       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top