Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for count (0.13 sec)

  1. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            Map<String, String> props = new HashMap<>();
            int count = entropy.nextInt(10);
            for (int i = 0; i < count; i++) {
                props.put("name" + Long.toHexString(entropy.nextLong()), "value" + Long.toHexString(entropy.nextLong()));
            }
            count = entropy.nextInt(3);
            List<Repository> repos = new ArrayList<>();
            for (int i = 0; i < count; i++) {
                Repository r = Repository.newBuilder()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            setScopedVertices(scopedVertices);
    
            this.versionedVertices = scopedVertices || versionedVertices;
            this.scopedVertices = scopedVertices;
    
            int count = countNodes(tree);
    
            init(count, count + (count / 2));
    
            processTreeNodes(null, tree, 0, 0);
        }
        // ------------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                }
    
                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

            if (prerequisites != null) {
                properties.put("prerequisites.maven", prerequisites.getMaven());
            }
    
            List<License> licenses = model.getLicenses();
            properties.put("license.count", licenses.size());
            for (int i = 0; i < licenses.size(); i++) {
                License license = licenses.get(i);
                properties.put("license." + i + ".name", license.getName());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                }
    
                @Override
                public int size() {
                    return (int) properties.entrySet().stream()
                            .filter(PropertiesAsMap::matches)
                            .count();
                }
            };
        }
    
        private static boolean matches(Entry<Object, Object> entry) {
            return entry.getKey() instanceof String && entry.getValue() instanceof String;
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Returns a collection of {@link ChecksumAlgorithm} in same order as algorithm names are ordered, or throws if
         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                    prefixlessObjectBasedValueSource =
                            new ProblemDetectingValueSource(prefixlessObjectBasedValueSource, "", PREFIX_PROJECT, problems);
                }
            }
    
            // NOTE: Order counts here!
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            if (projectDir != null) {
                ValueSource basedirValueSource = new PrefixedValueSourceWrapper(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    isSymbolicLink(java.io.File, String) throws java.io.IOException; static void <clinit>(); } org/codehaus/plexus/util/DirectoryWalker$DirStackEntry.class package org.codehaus.plexus.util; synchronized class DirectoryWalker$DirStackEntry { public int count; public java.io.File dir; public int index; public double percentageOffset; public double percentageSize; public void DirectoryWalker$DirStackEntry(DirectoryWalker, java.io.File, int); public double getNextPercentageOff(); public double getNextPercentageSiz();...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 200.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                if (degreeOfConcurrency > 1) {
                    logger.info("");
                    logger.info(String.format(
                            "Using the %s implementation with a thread count of %d",
                            builder.getClass().getSimpleName(), degreeOfConcurrency));
                }
                builder.build(session, reactorContext, projectBuilds, taskSegments, reactorBuildStatus);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:56:36 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top