Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 411 for forEach (0.07 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            projects.forEach { (path, info) ->
                val details = info.details
                if (!details.requiredRuntimes.isEmpty()) {
                    (details.dependencies + path).forEach { dependency ->
                        details.requiredRuntimes.forEach { requiredRuntime ->
                            computedTargetRuntimes.getOrPut(dependency) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

             * Resets any existing values from previous initializations.
             */
            public void reset() {
                Arrays.stream(BuildParams.class.getDeclaredFields()).filter(f -> Modifier.isStatic(f.getModifiers())).forEach(f -> {
                    try {
                        // Since we are mutating private static fields from a public static inner class we need to suppress
                        // accessibility controls here.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            this.clientMap = clientMap;
        }
    
        /**
         * Closes all clients in the factory.
         */
        @Override
        public void close() {
            clientMap.values().stream().distinct().forEach(client -> {
                try {
                    client.close();
                } catch (final Exception e) {
                    logger.warn("Failed to close {}.", client.getClass().getCanonicalName(), e);
                }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                final String[] oldLabels = DocumentUtil.getValue(dataMap, fessConfig.getIndexFieldLabel(), String[].class);
                StreamUtil.stream(oldLabels).of(stream -> stream.forEach(newLabelSet::add));
                matchedLabelSet.stream().forEach(newLabelSet::add);
                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        public Stream<E> parallelStream() {
          synchronized (mutex) {
            return delegate().parallelStream();
          }
        }
    
        @Override
        public void forEach(Consumer<? super E> action) {
          synchronized (mutex) {
            delegate().forEach(action);
          }
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          synchronized (mutex) {
            return delegate().remove(o);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java

         */
        public QueryBuilder buildFilterQuery(final String fieldName, final List<String> words) {
            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery().minimumShouldMatch(1);
            words.stream().forEach(word -> boolQueryBuilder.should(QueryBuilders.termQuery(fieldName, word)));
            return boolQueryBuilder;
        }
    
        /**
         * Builds a function score query.
         * @param query The query string.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. maven-tests/mvnw.cmd

    if ($env:MAVEN_USER_HOME) {
      $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain"
    }
    $MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join ''
    $MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME"
    
    if (Test-Path -Path "$MAVEN_HOME" -PathType Container) {
      Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            } else {
                protoSession.getUserProperties().entrySet().stream()
                        .filter(k -> context.pushedUserProperties.contains(k.getKey()) || !sys.contains(k.getKey()))
                        .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         */
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
            }
            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
                    printStats(e.getKey(), data, begin, false);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

         */
        protected ArtifactTypeRegistry getArtifactTypeRegistry() {
            DefaultArtifactTypeRegistry stereotypes = new DefaultArtifactTypeRegistry();
            new DefaultTypeProvider().types().forEach(t -> stereotypes.add(t.toArtifactType()));
            return stereotypes;
        }
    
        protected ArtifactDescriptorPolicy getArtifactDescriptorPolicy() {
            return new SimpleArtifactDescriptorPolicy(true, true);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top