Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,369 for fair (0.04 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. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    limitations under the License.
    */
    
    // Package queueset implements a technique called "fair queuing for
    // server requests".  One QueueSet is a set of queues operating
    // according to this technique.
    //
    // Fair queuing for server requests is inspired by the fair queuing
    // technique from the world of networking.  You can find a good paper
    // on that at https://dl.acm.org/citation.cfm?doid=75247.75248 or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    // Each client needs to be demanding enough to use more than its fair share,
    // or overall care needs to be taken about timing so that scheduling details
    // do not cause any client to actually request a significantly smaller share
    // than it theoretically should.
    // expectFair indicate whether the QueueSet is expected to be
    // fair in the respective halves of a split scenario;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *            キューの容量
         * @param fair
         *            {@code true}の場合、挿入または削除時にブロックされたスレッドに対するキューアクセス
         * @return {@link ArrayBlockingQueue}の新しいインスタンス
         * @see ArrayBlockingQueue#ArrayBlockingQueue(int, boolean)
         */
        public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(final int capacity, final boolean fair) {
            return new ArrayBlockingQueue<>(capacity, fair);
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/go-version/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: Thu Jun 06 15:59:40 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top