Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 634 for iostream (0.07 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = new byte[0];
            ContentCache cache = new ContentCache(data);
    
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
                assertEquals(-1, stream.read()); // Should indicate end of stream
            }
        }
    
        @Test
        public void testFileBasedCacheWithEmptyFile() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

        @BeforeEach
        void setUp() {
            dfs = new Dfs();
            testDfs = new TestDfs();
    
            // Mock static methods
            logStreamMockedStatic = mockStatic(LogStream.class);
            lenient().when(LogStream.getInstance()).thenReturn(mock(LogStream.class));
    
            uniAddressMockedStatic = mockStatic(UniAddress.class);
            smbTransportMockedStatic = mockStatic(SmbTransport.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @return ActionResponse with the file download stream
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final DownloadForm form) {
            validate(form, messages -> {}, () -> downloadpage(form.dictId));
            verifyTokenKeep(() -> downloadpage(form.dictId));
            return synonymService.getSynonymFile(form.dictId)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  5. guava/src/com/google/common/io/ByteStreams.java

      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
       * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
       * equivalent {@link InputStream#transferTo} method instead.
       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

                    permissionSet.add(systemHelper.getSearchRoleByUser(nameId));
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
                    stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s))));
                    permissions = permissionSet.toArray(new String[permissionSet.size()]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            webProtocols = split(fessConfig.getCrawlerWebProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
            fileProtocols = split(fessConfig.getCrawlerFileProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/LifecycleRegistry.java

    package org.apache.maven.api.services;
    
    import java.util.List;
    import java.util.stream.Stream;
    import java.util.stream.StreamSupport;
    
    import org.apache.maven.api.Lifecycle;
    
    public interface LifecycleRegistry extends ExtensibleEnumRegistry<Lifecycle>, Iterable<Lifecycle> {
    
        default Stream<Lifecycle> stream() {
            return StreamSupport.stream(spliterator(), false);
        }
    
        List<String> computePhases(Lifecycle lifecycle);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (ttl == 0) {
                    ttl = Dfs.TTL;
                }
                expiration = System.currentTimeMillis() + ttl * 1000L;
                map = new HashMap();
            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

     */
    public class NetworkExplorer extends HttpServlet {
    
        /**
         * Default constructor.
         */
        public NetworkExplorer() {
            super();
        }
    
        private static LogStream log = LogStream.getInstance();
    
        /** The MIME type mapping */
        private MimeMap mimeMap;
        /** The CSS style for HTML rendering */
        private String style;
        /** The NTLM SSP handler */
        private NtlmSsp ntlmSsp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top