Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for printStream (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (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.
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

        }
    
        LoggingOutputStream(EolBaos out, Consumer<String> consumer) {
            super(out);
            this.buf = out;
            this.consumer = consumer;
        }
    
        public PrintStream printStream() {
            return new LoggingPrintStream(this);
        }
    
        @Override
        public void write(int b) throws IOException {
            super.write(b);
            if (buf.isEol()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 12:31:43 GMT 2025
    - 3K bytes
    - Click Count (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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

            this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream, true);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

                } else {
                    return format(progressedSize);
                }
            }
        }
    
        protected PrintStream out;
    
        protected AbstractMavenTransferListener(PrintStream out) {
            this.out = out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. 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.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

    public class ConsoleTransferListener extends AbstractTransferListener {
    
        private PrintStream out;
    
        private Map<TransferResource, Long> downloads = new ConcurrentHashMap<>();
    
        private int lastLength;
    
        public ConsoleTransferListener() {
            this(null);
        }
    
        public ConsoleTransferListener(PrintStream out) {
            this.out = (out != null) ? out : System.out;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.transfer;
    
    import java.io.PrintStream;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import org.eclipse.aether.transfer.TransferCancelledException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (1)
Back to Top