- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,033 for STREAM (0.1 sec)
-
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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 17 18:59:58 UTC 2024 - 29.7K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultOutputFileProperty.java
* limitations under the License. */ package org.gradle.internal.enterprise.test.impl; import org.gradle.internal.enterprise.test.OutputFileProperty; import java.io.File; import java.util.stream.Stream; import java.util.stream.StreamSupport; class DefaultOutputFileProperty implements OutputFileProperty { private final String propertyName; private final Iterable<File> files; private final Type type;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedDecoderTest.groovy
decoder.readInt() == 12 } InputStream encoded(String text) { def stream = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(stream) encoder.writeString(text) encoder.writeInt(12) encoder.flush() return new ByteArrayInputStream(stream.toByteArray()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
/** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Dec 13 02:09:05 UTC 2022 - 5.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestRuntimesGenerator.java
import java.nio.file.Files; import java.nio.file.StandardOpenOption; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import static java.util.stream.Collectors.toMap; public class PerformanceTestRuntimesGenerator { public static void main(String[] args) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
.stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build()); minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt") .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} /** In-memory stream-based implementation of Hasher. */ private final class BufferingHasher extends AbstractHasher { final ExposedByteArrayOutputStream stream; BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); } @Override public Hasher putByte(byte b) { stream.write(b); return this; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.ds; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
/** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements. * @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
public String sdh; @Override public String getQuery() { return q; } @Override public String[] getExtraQueries() { return stream(ex_q).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])); } @Override public Map<String, String[]> getFields() { return fields; } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K bytes - Viewed (0)