Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PrintStream (0.04 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            try {
                // Redirect to ByteArrayOutputStream to avoid console output
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                java.io.PrintStream ps = new java.io.PrintStream(baos);
                exception.printStackTrace(ps);
    
                String output = baos.toString();
                assertNotNull(output);
                assertTrue(output.contains("DictionaryExpiredException"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top