Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,417 for fair (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void addTests(TestSuite suite, Method method) {
        if (isGuarded(method)) {
          for (boolean fair1 : new boolean[] {true, false}) {
            for (boolean fair2 : new boolean[] {true, false}) {
              suite.addTest(generateGuardWithWrongMonitorTestCase(method, fair1, fair2));
            }
          }
        }
        if (isAnyEnter(method)) {
          addTests(
              suite,
              method,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void addTests(TestSuite suite, Method method) {
        if (isGuarded(method)) {
          for (boolean fair1 : new boolean[] {true, false}) {
            for (boolean fair2 : new boolean[] {true, false}) {
              suite.addTest(generateGuardWithWrongMonitorTestCase(method, fair1, fair2));
            }
          }
        }
        if (isAnyEnter(method)) {
          addTests(
              suite,
              method,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
        return policy == Policies.DISABLED
            ? new ReentrantLock(fair)
            : new CycleDetectingReentrantLock(new LockGraphNode(lockName), fair);
      }
    
      /** Equivalent to {@code newReentrantReadWriteLock(lockName, false)}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

      /**
       * Creates a monitor with a non-fair (but fast) ordering policy. Equivalent to {@code
       * Monitor(false)}.
       */
      public Monitor() {
        this(false);
      }
    
      /**
       * Creates a monitor with the given ordering policy.
       *
       * @param fair whether this monitor should use a fair ordering policy rather than a non-fair (but
       *     fast) one
       */
      public Monitor(boolean fair) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
        return policy == Policies.DISABLED
            ? new ReentrantLock(fair)
            : new CycleDetectingReentrantLock(new LockGraphNode(lockName), fair);
      }
    
      /** Equivalent to {@code newReentrantReadWriteLock(lockName, false)}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Monitor.java

      /**
       * Creates a monitor with a non-fair (but fast) ordering policy. Equivalent to {@code
       * Monitor(false)}.
       */
      public Monitor() {
        this(false);
      }
    
      /**
       * Creates a monitor with the given ordering policy.
       *
       * @param fair whether this monitor should use a fair ordering policy rather than a non-fair (but
       *     fast) one
       */
      public Monitor(boolean fair) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
       *     are processed in FIFO order; if {@code false} the access order is unspecified.
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair) {
        if (capacity <= 0) throw new IllegalArgumentException();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
       *     are processed in FIFO order; if {@code false} the access order is unspecified.
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair) {
        if (capacity <= 0) throw new IllegalArgumentException();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/hcl/LICENSE

         are its original creation(s) or it has sufficient rights to grant the
         rights to its Contributions conveyed by this License.
    
    2.6. Fair Use
    
         This License is not intended to limit any rights You have under applicable
         copyright doctrines of fair use, fair dealing, or other equivalents.
    
    2.7. Conditions
    
         Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
         Section 2.1.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/errwrap/LICENSE

         are its original creation(s) or it has sufficient rights to grant the
         rights to its Contributions conveyed by this License.
    
    2.6. Fair Use
    
         This License is not intended to limit any rights You have under applicable
         copyright doctrines of fair use, fair dealing, or other equivalents.
    
    2.7. Conditions
    
         Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
         Section 2.1.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
Back to top