- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,059 for Streams (0.08 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
import static java.lang.Double.isNaN; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Iterator; import java.util.stream.DoubleStream; import java.util.stream.IntStream; import java.util.stream.LongStream; /** * A mutable object which accumulates double values and tracks some basic statistics over all the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
internal/grid/README.md
conn := manager.Connection(host).Subroute("asubroute") payload := []byte("request") stream, err := conn.NewStream(ctx, grid.HandlerDiskInfo, payload) if err != nil { return err } // Read results from the stream err = stream.Results(func(result []byte) error { fmt.Println("Got result", string(result)) // Return the response for reuse
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.jspecify.annotations.Nullable; /** * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code * ByteBuffer} and streams all bytes to a sink to compute the hash. * * @author Colin Decker */ abstract class AbstractByteHasher extends AbstractHasher { private @Nullable ByteBuffer scratch;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 12:40:17 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /** * This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytes * on the server.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static ImmutableLongArray copyOf(LongStream stream) { // Note this uses very different growth behavior from copyOf(Iterable) and the builder. long[] array = stream.toArray();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
import okio.buffer /** * Adapts a [java.net.Socket] to MockWebServer's needs. * * Note that [asOkioSocket] returns a socket that closes the underlying [java.net.Socket] when both * of its component streams are closed. This class takes advantage of that. */ internal class MockWebServerSocket( val javaNetSocket: Socket, ) : Closeable, BufferedSocket { private val delegate = javaNetSocket.asOkioSocket()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/io/CharStreams.java
* if the processor stops processing early. * * <p><b>Users who can use {@code Stream}:</b> If your input is a {@link Reader}, consider * wrapping it with a {@link BufferedReader} and operating on the {@link java.util.stream.Stream} * of lines returned by {@link BufferedReader#lines()}. * * @throws IOException if an I/O error occurs * @since 14.0 */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (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 beCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 5.6K bytes - Click Count (0)