Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Earley (0.28 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      private OverflowAvoidingLockSupport() {}
    
      static void parkNanos(@CheckForNull Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * consistency with how weak references are cleared). That's a behavior change -- arguably the
           * removal of a feature.
           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
          //
          seenExceptionsLocal = newConcurrentHashSet();
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Internal.java

        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Internal.java

        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@code Futures#withTimeout}.
     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
     * in an {@link ExecutionException}) if the specified duration expires. The delegate future is
     * interrupted and cancelled if it times out.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * Tasks execute with the same happens-before order that the function calls to {@link #submit} and
     * {@link #submitAsync} that submitted those tasks had.
     *
     * <p>This class has limited support for cancellation and other "early completions":
     *
     * <ul>
     *   <li>While calls to {@code submit} and {@code submitAsync} return a {@code Future} that can be
     *       cancelled, cancellation never propagates to a task that has started to run -- neither to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p><b>Warning:</b> {@code ArrayTable} is rarely the {@link Table} implementation you want. First,
     * it requires that the complete universe of rows and columns be specified at construction time.
     * Second, it is always backed by an array large enough to hold a value for every possible
     * combination of row and column keys. (This is rarely optimal unless the table is extremely dense.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharStreams.java

       * {@code readable}. Note that this method may not fully consume the contents of {@code readable}
       * if the processor stops processing early.
       *
       * @throws IOException if an I/O error occurs
       * @since 14.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top