Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 679 for asStream (0.05 sec)

  1. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

             *
             * @param value the configuration value string to parse
             */
            public Config(final String value) {
                values = StreamUtil.split(value, Pattern.quote("|")).get(stream -> stream.map(String::trim).toArray(n -> new String[n]));
            }
    
            /**
             * Checks if the cache option is enabled in the configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Arrange: minimal stubs so stream construction works
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true); // simplifies stream init
            when(tree.getReceiveBufferSize()).thenReturn(4096);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top