Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 616 for asStream (0.15 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    }
                }
    
                final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
    
                // set urls
                split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> {
                    if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

    import jcifs.smb.SID;
    
    /**
     * Input stream for reading PAC data structures with proper alignment and byte ordering.
     * Handles little-endian byte order and data alignment requirements of PAC structures.
     */
    public class PacDataInputStream {
    
        private final DataInputStream dis;
        private final int size;
    
        /**
         * Constructs a PAC data input stream from the given input stream.
         * @param in the underlying input stream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            if (logLevel != null) {
                cmdList.add("-Dfess.log.level=" + logLevel);
            }
            stream(fessConfig.getJvmThumbnailOptionsAsArray())
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value)));
    
            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            stream(ComponentUtil.getFessConfig().getSearchDefaultPermissionsAsArray()).of(stream -> stream.forEach(name -> {
                defaultRoleList.add(name);
            }));
        }
    
        /**
         * Builds a set of roles from the request.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. 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)
  9. 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 receives
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Nested
        @DisplayName("Constructor createDisposition calculation")
        class CreateDispositionTests {
            static java.util.stream.Stream<Arguments> flagsProvider() {
                return java.util.stream.Stream.of(
                        Arguments.of(SmbConstants.O_TRUNC | SmbConstants.O_CREAT, SmbComNTCreateAndX.FILE_OVERWRITE_IF),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top