Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for computed (2.17 sec)

  1. android/guava/src/com/google/common/base/Suppliers.java

          // Because Supplier is read-heavy, we use the "double-checked locking" pattern.
          if (delegate != SUCCESSFULLY_COMPUTED) {
            synchronized (this) {
              if (delegate != SUCCESSFULLY_COMPUTED) {
                T t = delegate.get();
                value = t;
                delegate = (Supplier<T>) SUCCESSFULLY_COMPUTED;
                return t;
              }
            }
          }
          // This is safe because we checked `delegate`.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

          // Because Supplier is read-heavy, we use the "double-checked locking" pattern.
          if (delegate != SUCCESSFULLY_COMPUTED) {
            synchronized (this) {
              if (delegate != SUCCESSFULLY_COMPUTED) {
                T t = delegate.get();
                value = t;
                delegate = (Supplier<T>) SUCCESSFULLY_COMPUTED;
                return t;
              }
            }
          }
          // This is safe because we checked `delegate`.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    import java.util.Set;
    import java.util.function.Predicate;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathType;
    
    /**
     * Cache of {@link PathModularization} instances computed for given {@link Path} elements.
     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

        String id();
    
        /**
         * Collection of phases for this lifecycle
         */
        Collection<Phase> phases();
    
        /**
         * Pre-ordered list of phases.
         * If not provided, a default order will be computed.
         */
        default Optional<List<String>> orderedPhases() {
            return Optional.empty();
        }
    
        /**
         * A phase in the lifecycle.
         */
        interface Phase {
            String name();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    import java.util.Set;
    import java.util.function.Predicate;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathType;
    
    /**
     * Cache of {@link PathModularization} instances computed for given {@link Path} elements.
     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            // If no repository is defined in the user/global settings,
            // it means that we have "old" settings (as those are new in 4.0)
            // so add central to the computed settings for backward compatibility.
            if (effective.getRepositories().isEmpty()
                    && effective.getPluginRepositories().isEmpty()) {
                Repository central = Repository.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       * the information of these hash codes in an ordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in the <i>same</i> order.
       *
       * @throws IllegalArgumentException if {@code hashCodes} is empty, or the hash codes do not all
       *     have the same bit length
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
         * Each invocation computes a new map of effective properties. To be used in interpolation.
         * <p>
         * Effective properties are computed from system, user and optionally project properties, layered with
         * defined precedence onto each other to achieve proper precedence. Precedence is defined as:
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top