- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 101 for outputStream (0.1 seconds)
-
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
builder.field("test", "value"); builder.endObject(); return builder; }; OutputStream outputStream = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON); assertNotNull(outputStream); assertTrue(outputStream instanceof ByteArrayOutputStream); } @Test public void test_getXContentBuilderOutputStream_ioException() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
} /** * Creates an OutputStream from an XContentBuilder using the provided callback function. * * @param func the callback function to build XContent * @param mediaType the media type for the content builder * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early // These should pass through to the underlying implementation assertDoesNotThrow(() -> outputStream.write(data, 0, 10)); // valid - will consume first mock (10)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Funnels.java
} } /** * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of * the object to an {@code OutputStream}. * * <p>The {@code close} and {@code flush} methods of the returned {@code OutputStream} do nothing, * and no method throws {@code IOException}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
CloseableUtil.close((OutputStream) null); } /** * @throws Exception */ @Test public void testClose_noThrowIOException() throws Exception { final OutputStream out = new IOExceptionOccurOutputStream(); CloseableUtil.close(out); } private static class NotifyOutputStream extends OutputStream { private String notify_; @Override
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageClient.java
/** * Downloads an object from storage. * * @param objectName the name/path of the object to download * @param outputStream the output stream to write data to */ void downloadObject(String objectName, OutputStream outputStream); /** * Deletes an object from storage. * * @param objectName the name/path of the object to delete */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* Wraps the output stream with a {@link BufferedOutputStream} if necessary. * * @param os the output stream * @return the wrapped output stream */ protected static OutputStream wrap(final OutputStream os) { if (os instanceof BufferedOutputStream) { return os; } if (os instanceof ByteArrayOutputStream) { return os; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
connection.setUseCaches(useCaches); } private static class CacheStream extends OutputStream { private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
this.connection.setConnectTimeout(connectTimeout); } private static class CacheStream extends OutputStream { private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override
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)