- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 680 for iostream (0.55 sec)
-
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
}); } public void test_ofNull() { assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length)); Object[] o = {}; assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length)); Map<Object, Object> map = new HashMap<Object, Object>(); assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length)); } public void test_ofMap() {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
/** * Creates a {@link Reader} to read from a file with the specified encoding. * * @param is * the input stream (must not be {@literal null}) * @param encoding * the encoding of the input stream (must not be {@literal null} or empty) * @return a {@link Reader} to read from the file */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
final PutObjectArgs args = PutObjectArgs.builder() .bucket(fessConfig.getStorageBucket()) .object(objectName) .stream(in, uploadFile.getFileSize(), -1) .contentType("application/octet-stream") .build(); minioClient.putObject(args); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
* unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
return parseContext; } /** * Returns an input stream from a deferred file output stream. * * @param dfos A deferred file output stream. * @return An input stream. * @throws IOException if an I/O error occurs. */ protected InputStream getContentStream(final DeferredFileOutputStream dfos) throws IOException {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verifyNoInteractions; import java.lang.reflect.Modifier; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p))); putResultDataBody(dataMap, fessConfig.getIndexFieldRole(), roleTypeList); // virtualHosts putResultDataBody(dataMap, fessConfig.getIndexFieldVirtualHost(), stream(crawlingConfig.getVirtualHosts()).get(stream -> stream.filter(StringUtil::isNotBlank).collect(Collectors.toList())));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
return loader.getResource(p); } /** * Returns the resource as a stream from the context class loader. * * @param path * The resource path. Must not be {@literal null} or empty string. * @return The input stream * @see #getResourceAsStream(String, String) */ public static InputStream getResourceAsStream(final String path) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
} /** * Traverses resources contained in a ZIP file input stream. * <p> * Of the resources in the input stream, only those with paths starting with the specified prefix are traversed. * The handler receives the entry name with the prefix removed. For example, if the prefix is <code>/aaa/bbb/</code> * and the input stream contains a resource <code>/aaa/bbb/ccc/ddd/eee.txt</code>, the handler receivesRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0)