- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,261 for Stream (0.31 seconds)
-
tests/test_stream_cancellation.py
] app = FastAPI() @app.get("/stream-raw", response_class=StreamingResponse) async def stream_raw() -> AsyncIterable[str]: """Async generator with no internal await - would hang without checkpoint.""" i = 0 while True: yield f"item {i}\n" i += 1 @app.get("/stream-jsonl") async def stream_jsonl() -> AsyncIterable[int]:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
return Multisets.iteratorImpl(this); } @GwtIncompatible // java.io.ObjectOutputStream private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(type); Serialization.writeMultiset(this, stream); } /** * @serialData the {@code Class<E>} for the enum type, the number of distinct elements, the first
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* * <p>Temporary files created by this stream may live in the local filesystem until either: * * <ul> * <li>{@link #reset} is called (removing the data in this stream and deleting the file), or... * <li>this stream (or, more precisely, its {@link #asByteSource} view) is garbage collected, * <strong>AND</strong> this stream was constructed with {@linkplain
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java
} } /** * Method write. * * @param stream a stream object. * @param settings a settings object. * @throws IOException java.io.IOException if any. */ public void write(OutputStream stream, Settings settings) throws IOException { try { delegate.write(stream, settings.getDelegate()); } catch (XMLStreamException e) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Assert: same instances are returned subsequently assertSame(in1, in2, "Input stream should be cached"); assertSame(out1, out2, "Output stream should be cached"); // Close and verify subsequent calls throw handle.close(); CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Executors; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.api.Lifecycle; import org.apache.maven.api.MonotonicClock; import org.apache.maven.api.services.LifecycleRegistry; import org.apache.maven.api.services.MavenException;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream()); String separator = LINE_SEPARATOR.value(); assertThat(sink.getString()) .isEqualTo("foo" + separator + "bar" + separator + "baz" + separator); } public void testWriteLines_stream_separator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!"); assertThat(sink.getString()).isEqualTo("foo!bar!baz!");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/Handler.java
private static URLStreamHandlerFactory factory; /** * Sets the URL stream handler factory for the environment. This * allows specification of the factory used in creating underlying * stream handlers. This can be called once per JVM instance. * * @param factory The URL stream handler factory. */ public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} } return (int) (this.fp - start); } } /** * 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 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0)