Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 695 for ordered (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      internal var shutdown = false
    
      /** This queue's currently-executing task, or null if none is currently executing. */
      internal var activeTask: Task? = null
    
      /** Scheduled tasks ordered by [Task.nextExecuteNanoTime]. */
      internal val futureTasks = mutableListOf<Task>()
    
      /** True if the [activeTask] should be canceled when it completes. */
      internal var cancelActiveTask = false
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.join(",", '1', '2')).isEqualTo("1,2");
        assertThat(Chars.join("", '1', '2', '3')).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<char[]> ordered =
            Arrays.asList(
                new char[] {},
                new char[] {LEAST},
                new char[] {LEAST, LEAST},
                new char[] {LEAST, (char) 1},
                new char[] {(char) 1},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            policy, CycleDetectingLockFactory.createNodes(enumClass));
      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Table.java

    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection that associates an ordered pair of keys, called a row key and a column key, with a
     * single value. A table may be sparse, with only a small fraction of row key / column key pairs
     * possessing a corresponding value.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return new EntryComparator<K, V>(keyComparator);
      }
    
      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * @see #testComparator(Comparator, List)
       */
      public static <T extends @Nullable Object> void testComparator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        List<E> expected = copyToList(getOrderedElements());
        assertEquals("Different ordered iteration", expected, iteratorElements);
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_nullElement() {
        initCollectionWithNullElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      @CheckForNull private transient int[] predecessor;
    
      /**
       * Pointer to the successor of an entry in insertion order. ENDPOINT indicates a node is the last
       * node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.join(",", 1.3, 2.4)).isEqualTo("1.3,2.4");
        assertThat(Doubles.join("", 1.4, 2.5, 3.6)).isEqualTo("1.42.53.6");
      }
    
      public void testLexicographicalComparator() {
        List<double[]> ordered =
            Arrays.asList(
                new double[] {},
                new double[] {LEAST},
                new double[] {LEAST, LEAST},
                new double[] {LEAST, (double) 1},
                new double[] {(double) 1},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  10. api/go1.23.txt

    pkg slices, func SortedFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
    pkg slices, func SortedStableFunc[$0 interface{}](iter.Seq[$0], func($0, $0) int) []$0 #61899
    pkg slices, func Sorted[$0 cmp.Ordered](iter.Seq[$0]) []$0 #61899
    pkg slices, func Values[$0 interface{ ~[]$1 }, $1 interface{}]($0) iter.Seq[$1] #61899
    pkg structs, type HostLayout struct #66408
    pkg sync, method (*Map) Clear() #61696
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top