Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 401 for Satisfied (0.13 sec)

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

        lock.lock();
    
        boolean satisfied = false;
        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the
       * lock, but does not wait for the guard to be satisfied.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/TestPrecondition.java

        /**
         * Returns true if the precondition is satisfied.
         * @throws Exception if the precondition cannot be checked
         */
        boolean isSatisfied() throws Exception;
    
        /**
         * Utility method to check if a precondition class is satisfied.
         *
         * @param preconditionClass the class of the precondition to be checked
         * @return true if the precondition is satisfied
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Monitor.java

        lock.lock();
    
        boolean satisfied = false;
        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the
       * lock, but does not wait for the guard to be satisfied.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/AbstractPmdPluginVersionIntegrationTest.groovy

                "java.sourceCompatibility = 1.8"
            } else if (versionNumber < VersionNumber.parse('6.4.0') && TestPrecondition.satisfied(UnitTestPreconditions.Jdk10OrLater)) {
                "java.sourceCompatibility = 9"
            } else if (versionNumber < VersionNumber.parse('6.6.0') && TestPrecondition.satisfied(UnitTestPreconditions.Jdk11OrLater)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

    import static org.gradle.test.precondition.TestPrecondition.satisfied;
    import static org.gradle.test.precondition.TestPrecondition.notSatisfied;
    
    @CompileStatic
    class UnitTestPreconditions {
    
        static final class Symlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return satisfied(MacOs) || satisfied(Linux)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        private volatile boolean satisfied;
    
        public TestGuard(boolean satisfied) {
          super(MonitorTestCase.this.monitor);
          this.satisfied = satisfied;
        }
    
        @Override
        public boolean isSatisfied() {
          return this.satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final boolean interruptible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/PluginTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("bash") != null
            }
        }
    
        static class DashAvailable implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("dash") != null
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        private volatile boolean satisfied;
    
        public TestGuard(boolean satisfied) {
          super(MonitorTestCase.this.monitor);
          this.satisfied = satisfied;
        }
    
        @Override
        public boolean isSatisfied() {
          return this.satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final boolean interruptible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. testing/precondition-tester/README.md

    # Gradle / precondition Tester
    
    This project collections information about where test preconditions can be satisfied.
    We can use this information (i.e. by looking at the test results in Develocity) to see if we have any preconditions or combinations of preconditions, which are never satisfied &ndash; a situation which we otherwise would hardly notice.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. testing/precondition-tester/src/test/groovy/org/gradle/test/precondition/PreconditionProbingTest.groovy

     * <p>
     * Each combination can have three outcomes:
     * <ul>
     *     <li><b>Successful:</b> the precondition combination could be satisfied.</li>
     *     <li>
     *         <b>Skipped:</b> the precondition combination could <i>not</i> be satisfied.
     *         This is normal, and simply signifies that the precondition is not satisfied on the current system
     *     </li>
     *     <li>
     *         <b>Failed:</b> there was an error while checking the combination.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top