Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,174 for asStream (0.78 seconds)

  1. android/guava/src/com/google/common/base/Splitter.java

      @IgnoreJRERequirement
      public Stream<String> splitToStream(CharSequence sequence) {
        // Can't use Streams.stream() from base
        return StreamSupport.stream(split(sequence).spliterator(), false);
      }
    
      /**
       * Returns a {@code MapSplitter} which splits entries based on this splitter, and splits entries
       * into keys and values using the specified separator.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. cmd/bitrot-streaming.go

    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/ringbuffer"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    	canClose     *sync.WaitGroup
    	byteBuf      []byte
    	finished     bool
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableDoubleArray.of().stream().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableDoubleArray.of(0, 1, 3).stream().toArray())
            .isEqualTo(new double[] {0, 1, 3});
      }
    
      public void testSubArray() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.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)
  5. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.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)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    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 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    
    /**
     * Lifecycle definition, with eventual plugin bindings (when they are not packaging-specific).
     */
    public class Lifecycle {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/MoreFiles.java

        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
          if (stream instanceof SecureDirectoryStream) {
            SecureDirectoryStream<Path> sds = (SecureDirectoryStream<Path>) stream;
            exceptions = deleteDirectoryContentsSecure(sds);
          } else {
            checkAllowsInsecure(path, options);
            exceptions = deleteDirectoryContentsInsecure(stream);
          }
        } catch (IOException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.exbhv;
    
    import java.util.Map;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.opensearch.user.bsbhv.BsUserBhv;
    import org.codelibs.fess.opensearch.user.exentity.User;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                    logger.warn("Failed to load certificate_authorities: path={}", authorities, e);
                }
            }
    
            final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",")
                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/"))));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top