- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,233 for jstream (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
Map<String, Node> nodes = node.stream() .collect(Collectors.toMap(n -> getDependencyKey(n.getDependency()), Function.identity())); Map<String, Dependency> directDependencies = model.getDependencies().stream() .filter(dependency -> !"import".equals(dependency.getScope()))Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
* corresponding response body stream. This is necessary if we want servers to be able to stop * inbound data and send an early 400 before the request body completes. * * This test sends a slow request that is canceled by the server. It expects the response to still * be readable after the request stream is canceled. */ @Disabled @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override public void close() throws IOException { this.stream.close(); this.collector.close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
tests/test_datastructures.py
assert testing_file_store[0].file.closed # For UploadFile coverage, segments copied from Starlette tests @pytest.mark.anyio async def test_upload_file(): stream = io.BytesIO(b"data") file = UploadFile(filename="file", file=stream, size=4) assert await file.read() == b"data" assert file.size == 4 await file.write(b" and more data!") assert await file.read() == b"" assert file.size == 19
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
if (logLevel != null) { cmdList.add("-Dfess.log.level=" + logLevel); } stream(fessConfig.getJvmThumbnailOptionsAsArray()) .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value))); File ownTmpDir = null; final String tmpDir = System.getProperty("java.io.tmpdir");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; 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 - 15.5K bytes - Click Count (0) -
fastapi/sse.py
class EventSourceResponse(StreamingResponse): """Streaming response with `text/event-stream` media type. Use as `response_class=EventSourceResponse` on a *path operation* that uses `yield` to enable Server Sent Events (SSE) responses. Works with **any HTTP method** (`GET`, `POST`, etc.), which makes it compatible with protocols like MCP that stream SSE over `POST`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 12 17:42:01 GMT 2021 - 8.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
} @Override public List<Lifecycle.Phase> phases() { return phases; } @Override public Stream<Lifecycle.Phase> allPhases() { return Stream.concat(Stream.of(this), phases().stream().flatMap(Lifecycle.Phase::allPhases)); } } static class DefaultAlias implements Lifecycle.Alias { private final String v3Phase;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 8.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
@Nullable Path getPath(); /** * Creates a new input stream to read the source contents. * Each call creates a fresh stream starting from the beginning. * The caller is responsible for closing the returned stream. * * @return a new input stream positioned at the start of the content * @throws IOException if the stream cannot be created or opened */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0)