Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for isSatisfied (0.14 sec)

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

        }
    
        @Override
        public boolean isSatisfied() {
          return state() == NEW;
        }
      }
    
      private final Guard isStoppable = new IsStoppableGuard();
    
      @WeakOuter
      private final class IsStoppableGuard extends Guard {
        IsStoppableGuard() {
          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state().compareTo(RUNNING) <= 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

        }
    
        @Override
        public boolean isSatisfied() {
          return state() == NEW;
        }
      }
    
      private final Guard isStoppable = new IsStoppableGuard();
    
      @WeakOuter
      private final class IsStoppableGuard extends Guard {
        IsStoppableGuard() {
          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state().compareTo(RUNNING) <= 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        notEmpty =
            new Monitor.Guard(monitor) {
              @Override
              public boolean isSatisfied() {
                return count > 0;
              }
            };
        notFull =
            new Monitor.Guard(monitor) {
              @Override
              public boolean isSatisfied() {
                return count < items.length;
              }
            };
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          AwaitHealthGuard() {
            super(ServiceManagerState.this.monitor);
          }
    
          @Override
          @GuardedBy("ServiceManagerState.this.monitor")
          public boolean isSatisfied() {
            // All services have started or some service has terminated/failed.
            return states.count(RUNNING) == numberOfServices
                || states.contains(STOPPING)
                || states.contains(TERMINATED)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

          AwaitHealthGuard() {
            super(ServiceManagerState.this.monitor);
          }
    
          @Override
          @GuardedBy("ServiceManagerState.this.monitor")
          public boolean isSatisfied() {
            // All services have started or some service has terminated/failed.
            return states.count(RUNNING) == numberOfServices
                || states.contains(STOPPING)
                || states.contains(TERMINATED)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final Method method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final Method method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
            }
          };
    
      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. cmd/postpolicyform.go

    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    // checkPolicyCond returns a boolean to indicate if a condition is satisfied according
    // to the passed operator
    func checkPolicyCond(op string, input1, input2 string) bool {
    	switch op {
    	case policyCondEqual:
    		return input1 == input2
    	case policyCondStartsWith:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

      // excluded from the requirement check. Possible values are:
      //
      // - In: the requirement is satisfied if at least one container exit code
      //   (might be multiple if there are multiple containers not restricted
      //   by the 'containerName' field) is in the set of specified values.
      // - NotIn: the requirement is satisfied if at least one container exit code
      //   (might be multiple if there are multiple containers not restricted
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top