Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 616 for asStream (0.07 sec)

  1. src/test/java/jcifs/smb/DosErrorTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    
    import java.util.Arrays;
    import java.util.List;
    import java.util.function.BiConsumer;
    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
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * file output stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void write(final byte[] b) throws IOException {
            write(b, 0, b.length);
        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request = Request.Builder().url(server.url("/")).build()
        val response = client.newCall(request).execute()
        response.processEventSource(listener)
        listener.assertOpen()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    import com.google.common.collect.testing.SpliteratorTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Spliterator;
    import java.util.stream.DoubleStream;
    import java.util.stream.IntStream;
    import java.util.stream.LongStream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code CollectSpliterators}. */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_PRIORITY)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeInt(0) // Independent stream.
        frame.writeByte(255) // Heaviest weight, zero-indexed.
        frame.writeAll(headerBytes)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun priority(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.UnsupportedEncodingException;
    import java.net.InetAddress;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashingInputStream.java

       * Reads the next byte of data from the underlying input stream and updates the hasher with the
       * byte read.
       */
      @Override
      @CanIgnoreReturnValue
      public int read() throws IOException {
        int b = in.read();
        if (b != -1) {
          hasher.putByte((byte) b);
        }
        return b;
      }
    
      /**
       * Reads the specified bytes of data from the underlying input stream and updates the hasher with
       * the bytes read.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top