Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,174 for asStream (0.07 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    package org.elasticsearch.common.bytes;
    
    import org.elasticsearch.common.io.stream.BytesStreamOutput;
    import org.elasticsearch.common.io.stream.StreamInput;
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.BenchmarkMode;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Measurement;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import java.nio.file.FileSystem;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.stream.Stream;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.commons.cli.CommandLine;
    import org.apache.commons.cli.CommandLineParser;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import javax.inject.Inject;
    
    import static java.util.Comparator.naturalOrder;
    import static java.util.stream.Collectors.toList;
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Orchestrates the steps required to generate or update various release notes files.
     */
    public class GenerateReleaseNotesTask extends DefaultTask {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableIntArray.of().stream().forEach(i -> fail());
        ImmutableIntArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableIntArray.of(0, 1, 3).stream().toArray()).isEqualTo(new int[] {0, 1, 3});
      }
    
      public void testSubArray() {
        ImmutableIntArray iia0 = ImmutableIntArray.of();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final String requiredKeysStr = fessConfig.getCookieSearchParameterRequiredKeys();
                if (StringUtil.isNotBlank(requiredKeysStr) && StreamUtil.split(requiredKeysStr, ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).anyMatch(name -> {
                            final String[] values = req.getParameterValues(name);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  6. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import java.lang.reflect.Method;
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            }
        }
    
        /**
         * Reloads the dictionary file with the specified updater and input stream.
         * @param updater the updater to use for processing items
         * @param in the input stream containing the file content
         */
        protected void reload(final ProtwordsUpdater updater, final InputStream in) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.util.ArrayList;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/transport/Transport.java

            // Default constructor
        }
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        /**
         * Reads exactly len bytes from the input stream into the buffer.
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the number of bytes to read
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top