Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 571 for fstream (0.2 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
       * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
       * equivalent {@link InputStream#transferTo} method instead.
       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            verifyTokenKeep(() -> downloadpage(form.dictId));
            return stopwordsService.getStopwordsFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Locale;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import javax.annotation.PostConstruct;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSink.java

       * required to be a {@link BufferedOutputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Concatenates multiple {@link ByteSource} instances into a single source. Streams returned from
       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.CollectorTester;
    import java.util.function.BiPredicate;
    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Unit tests for {@link TableCollectors}. */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java

            private final Map<String, T> values;
    
            DefaultExtensibleEnumRegistry(List<P> providers, T... builtinValues) {
                values = Stream.<T>concat(
                                Stream.of(builtinValues), providers.stream().flatMap(p -> p.provides().stream()))
                        .collect(Collectors.toMap(t -> t.id(), t -> t));
            }
    
            @Override
            public Optional<T> lookup(String id) {
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    }
                    stream(accessToken.getPermissions()).of(stream -> stream.forEach(permissionSet::add));
                    final String name = accessToken.getParameterName();
                    stream(request.getParameterValues(name)).of(stream -> stream.filter(StringUtil::isNotBlank).forEach(permissionSet::add));
                    return OptionalEntity.of(permissionSet);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top