Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for printStream (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            super.displayHelp(request, printStream);
            printStream.accept("");
            // we have no DI here (to discover)
            printStream.accept("Goals:");
            printStream.accept("  help  - display this help message");
            printStream.accept("  check - check for available upgrades");
            printStream.accept("  apply - apply available upgrades");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

        }
    
        @Test
        void testSetInstanceMultipleTimes() {
            // Test setting instance multiple times
            PrintStream stream1 = new PrintStream(new ByteArrayOutputStream());
            PrintStream stream2 = new PrintStream(new ByteArrayOutputStream());
    
            LogStream.setInstance(stream1);
            LogStream instance1 = LogStream.getInstance();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/LogStream.java

     */
    
    package jcifs.smb1.util;
    
    import java.io.PrintStream;
    
    /**
    0 - nothing
    1 - critical [default]
    2 - basic info can be logged under load
    3 - almost everything
    N - debugging
     */
    
    public class LogStream extends PrintStream {
    
        private static LogStream inst;
    
        /**
         * The current logging level.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            super.displayHelp(request, printStream);
            printStream.accept("");
            // we have no DI here (to discover)
            printStream.accept("Goals:");
            printStream.accept("  diag - display encryption configuration diagnostic");
            printStream.accept("  init - wizard to configure encryption (interactive only)");
            printStream.accept("  encrypt - encrypts input");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/HexdumpTest.java

        @Test
        @DisplayName("Should perform hexdump with correct formatting")
        void testHexdump() {
            // Capture output
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
            // Test with 16 bytes (one complete line)
            byte[] data1 = createTestData(16);
            Hexdump.hexdump(ps, data1, 0, 16);
            String output1 = baos.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                        new MojoExecutionEvent(session, project, mojoExecution, mojo, e));
                ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
                PrintStream ps = new PrintStream(os);
                ps.println(
                        "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage());
                pluginRealm.display(ps);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

     * Does not require a real SMB server - focuses on application logic.
     */
    @ExtendWith(MockitoExtension.class)
    class TestLockingTest {
    
        private PrintStream originalOut;
        private PrintStream originalErr;
        private ByteArrayOutputStream outContent;
        private ByteArrayOutputStream errContent;
    
        @Mock
        private SmbFile mockSmbFile;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.exception;
    
    import java.io.PrintStream;
    import java.io.PrintWriter;
    
    /**
     * An exception that indicates multiple crawling access exceptions occurred.
     * This exception holds an array of Throwable objects representing the individual causes.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

         * </pre>
         *
         * @param ps the PrintStream to write the hexdump output to
         * @param src the source byte array containing the data to dump
         * @param srcIndex the starting index in the source array
         * @param length the number of bytes to dump from the source array
         */
    
        public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
    
                if ((cause instanceof NoClassDefFoundError) || (cause instanceof ClassNotFoundException)) {
                    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
                    PrintStream ps = new PrintStream(os);
                    ps.println("Unable to load the mojo '" + mojoDescriptor.getGoal() + "' in the plugin '"
                            + pluginDescriptor.getId() + "'. A required class is missing: "
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
Back to top