Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,030 for stream (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            private final List<Object> keys;
            private final String type;
    
            Key(Collection<WorkspaceReader> readers) {
                keys = readers.stream().map(r -> r.getRepository().getKey()).collect(Collectors.toList());
                type = readers.stream().map(r -> r.getRepository().getContentType()).collect(Collectors.joining("+"));
            }
    
            public String getContentType() {
                return type;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

            validateApi(body, messages -> {});
            return stemmerOverrideService.getStemmerOverrideFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
                        throwValidationErrorApi(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        } else {
                            ignoreFields = new String[] { Constants.INDEXING_TARGET, Constants.SESSION_ID };
                        }
                        stream(ignoreFields).of(stream -> stream.map(String::trim).forEach(s -> dataMap.remove(s)));
    
                        indexUpdateCallback.store(paramMap, dataMap);
                        crawlerStatsHelper.record(keyObj, StatsAction.PROCESSED);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  4. cmd/dummy-data-generator_test.go

    }
    
    // NewDummyDataGen returns a ReadSeeker over the first `totalLength`
    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    // The skipOffset (generally = 0) can be used to skip a given number
    // of bytes from the beginning of the infinite stream. This is useful
    // to compare such streams of bytes that may be split up, because:
    //
    // Given the function:
    //
    //	f := func(r io.Reader) string {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#filter Stream.filter}.
       */
      public static <E extends @Nullable Object> Collection<E> filter(
          Collection<E> unfiltered, Predicate<? super E> predicate) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

    package org.apache.maven.lifecycle;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.maven.internal.impl.DefaultLifecycleRegistry;
    import org.apache.maven.internal.impl.DefaultLookup;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/RC4.java

                final byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
    
        /**
         * Encrypts or decrypts data using the RC4 stream cipher.
         * Since RC4 is a stream cipher, the same operation is used for both encryption and decryption.
         *
         * @param src the source data array
         * @param soff the offset in the source array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                }
            }
            if (gasLocations.values().stream().anyMatch(l -> l.size() > 1)) {
                throw new IllegalStateException("Extension conflicts in file " + extensionFile + ": "
                        + gasLocations.entrySet().stream()
                                .map(e -> e.getKey() + " defined on lines "
                                        + e.getValue().stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         *
         * @return an array of repository URLs
         */
        protected String[] getRepositories() {
            return split(ComponentUtil.getFessConfig().getPluginRepositories(), ",")
                    .get(stream -> stream.map(String::trim).toArray(n -> new String[n]));
        }
    
        /**
         * Loads artifacts from a YAML-based repository.
         *
         * @param url the URL of the YAML repository
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/QueryContext.java

        /**
         * Adds sort builders to the query context.
         * @param sortBuilders Variable number of sort builders to add.
         */
        public void addSorts(final SortBuilder<?>... sortBuilders) {
            stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder)));
        }
    
        /**
         * Checks if any sort builders have been added to this context.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top