Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 2,109 for Collect (0.09 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

        /**
         * Ctor to be used in Java code/providers.
         */
        public DefaultLifecycleMapping(final List<Lifecycle> lifecycles) {
            this.lifecycleMap =
                    Collections.unmodifiableMap(lifecycles.stream().collect(toMap(Lifecycle::getId, identity())));
        }
    
        /**
         * Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done).
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Comparators.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.Iterator;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. cmd/metrics-v3-api.go

    //
    // This function currently ignores `opts`.
    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    	// Currently we only collect S3 API related stats, so we set the "type"
    	// label to "s3".
    
    	m.Set(apiRejectedAuthTotal, float64(httpStats.TotalS3RejectedAuth), "type", "s3")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

            // We therefore use an explicit sequence.
            String retrySequence = IntStream.rangeClosed(1, 10).mapToObj(String::valueOf).collect(Collectors.joining(" "));
    
            StringBuilder commandWithRetry = new StringBuilder("for iter in " + retrySequence + "; do \n");
            commandWithRetry.append(indent).append("  ").append(command).append(" && \n");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

                            }
                            return new BasicNameValuePair(name, value);
                        }).collect(Collectors.toList()));
                if (paramList != null) {
                    parameters.addAll(
                            paramList.stream().map(p -> new BasicNameValuePair(p.getFirst(), p.getSecond())).collect(Collectors.toList()));
                }
                return new UrlEncodedFormEntity(parameters, encoding);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
            for (Path pom : state.poms) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. cmd/metrics-v3-system-cpu.go

    		cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    		m.Set(sysCPUNice, cpuNiceVal)
    		cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100
    		m.Set(sysCPUSteal, cpuStealVal)
    	}
    
    	// metrics-resource.go runs a job to collect resource metrics including their Avg values and
    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 20 17:55:03 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java

         *            <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void injectLifecycleBindings(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java

         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void injectProfile(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestExecuter.java

                    .filter(d -> d.getId() instanceof CompositeIdGenerator.CompositeId)
                    .sorted(Comparator.comparing(o -> o.getId().toString()))
                    .map(TestDescriptorInternal::getName)
                    .collect(Collectors.joining(" > "))
                + "\n"
                + "================\n";
            System.out.println(report);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.1K bytes
    - Click Count (0)
Back to Top