Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,041 for product (0.34 sec)

  1. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CartesianList.java

            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CartesianList.java

            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            this.session = session;
            this.project = project;
            this.packaging = session.requirePackaging(project.getPackaging());
        }
    
        public InternalMavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        @Nonnull
        @Override
        public String getGroupId() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.CycleDetectedException;
    import org.apache.maven.project.DuplicateProjectException;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectSorter;
    
    /**
     * Describes the interdependencies between projects in the reactor.
     *
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

        private MavenProject project;
    
        public ProjectArtifact(MavenProject project) {
            super(
                    project.getGroupId(),
                    project.getArtifactId(),
                    project.getVersion(),
                    null,
                    "pom",
                    null,
                    new PomArtifactHandler());
            this.project = project;
            setFile(project.getFile());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

        private boolean canResume = false;
    
        public MavenExecutionResult setProject(MavenProject project) {
            this.project = project;
    
            return this;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionRequest.java

        }
    
        public DefaultDependencyResolutionRequest(MavenProject project, RepositorySystemSession session) {
            setMavenProject(project);
            setRepositorySession(session);
        }
    
        public DependencyFilter getResolutionFilter() {
            return filter;
        }
    
        public MavenProject getMavenProject() {
            return project;
        }
    
        public RepositorySystemSession getRepositorySession() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java

         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top