Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 716 for streams (0.54 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableLongArray.of().stream().forEach(i -> fail());
        ImmutableLongArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableLongArray.of(0, 1, 3).stream().toArray()).isEqualTo(new long[] {0, 1, 3});
      }
    
      public void testSubArray() {
        ImmutableLongArray iia0 = ImmutableLongArray.of();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        } else {
                            ignoreFields = new String[] { Constants.INDEXING_TARGET, Constants.SESSION_ID };
                        }
                        stream(ignoreFields).of(stream -> stream.map(String::trim).forEach(s -> dataMap.remove(s)));
    
                        indexUpdateCallback.store(paramMap, dataMap);
                        crawlerStatsHelper.record(keyObj, StatsAction.PROCESSED);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/HandlerTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    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
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param in the input stream (must not be {@literal null})
         */
        public static void load(final Properties props, final InputStream in) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      @get:JvmName("headers") val headers: Headers,
      /**
       * Returns a non-null stream with the server's response. The returned value must be
       * [closed][ResponseBody] and may be consumed only once.
       *
       * If this is a [cacheResponse], [networkResponse], or [priorResponse], the server's response body
       * is not available, and it is always an error to attempt read its streamed content. Reading from
       * [ResponseBody.source] always throws on such instances.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. 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)
  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