Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Early (0.14 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 21 03:35:09 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 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

    /**
     * Interface used to locate the root directory for a given project.
     *
     * The root locator is usually looked up from the plexus container.
     * One notable exception is the computation of the early {@code session.rootDirectory}
     * property which happens very early.  The implementation used in this case
     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * instance construction.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        // TODO This is too early for build extensions, so maybe just remove it?
        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

             */
            EXTERNAL
        }
    
        /**
         * Reports plugin issues applicable to the plugin as a whole.
         * <p>
         * This method should be used in "early" phase of plugin execution, possibly even when plugin or mojo descriptor
         * does not exist yet. In turn, this method will not record extra information like plugin occurrence or declaration
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. 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 19 12:43:09 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertFalse(Ascii.equalsIgnoreCase("x", ""));
        assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER));
        assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER));
        // Create new strings here to avoid early-out logic.
        assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Component able to contribute to Maven session user properties. This SPI component is invoked
     * very early, while there is no session created yet.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface PropertyContributor extends SpiService {
        /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top