Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for iostream (0.05 sec)

  1. src/main/java/jcifs/smb1/util/LogStream.java

    N - debugging
     */
    
    public class LogStream extends PrintStream {
    
        private static LogStream inst;
    
        /**
         * The current logging level.
         */
        public static int level = 1;
    
        /**
         * Constructs a LogStream with the specified output stream.
         *
         * @param stream the output stream for logging
         */
        public LogStream(final PrintStream stream) {
            super(stream);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static final Hashtable TAB = new Hashtable();
        private static long lastModified = 1L;
        private static int alt;
        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test constructor creates a LogStream that extends PrintStream
            LogStream logStream = new LogStream(testStream);
            assertNotNull(logStream);
            assertTrue(logStream instanceof PrintStream);
        }
    
        @Test
        void testSetLevel() {
            // Test setting log level
            LogStream.setLevel(0);
            assertEquals(0, LogStream.level);
    
            LogStream.setLevel(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        public Transport() {
            // Default constructor
        }
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
        /**
         * Reads exactly len bytes from the input stream into the buffer.
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	var buf bytes.Buffer
    	e := json.NewEncoder(&buf)
    	d := jstream.NewDecoder(r, 0).ObjectAsKVS().MaxDepth(10)
    	sset := set.NewStringSet()
    	for mv := range d.Stream() {
    		if mv.ValueType == jstream.Object {
    			// This is a JSON object type (that preserves key order)
    			kvs, ok := mv.Value.(jstream.KVS)
    			if ok {
    				for _, kv := range kvs {
    					if sset.Contains(kv.Key) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            try {
                file.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

                if (LogStream.level > 1) {
                    log.println("SecurityException: jcifs.smb1 will ignore System properties");
                }
            }
        }
    
        /**
         * Load the <code>Config</code> with properties from the stream
         * <code>in</code> from a <code>Properties</code> file.
         *
         * @param in the input stream to load properties from
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * file output stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void write(final byte[] b) throws IOException {
            write(b, 0, b.length);
        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return true if the stream is open, false otherwise
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    /**
     * To filter 0 len updates and for debugging
     */
    
    public class SigningDigest implements SmbConstants {
    
        static LogStream log = LogStream.getInstance();
    
        private MessageDigest digest;
        private byte[] macSigningKey;
        private boolean bypass = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    import jcifs.smb1.util.transport.Request;
    import jcifs.smb1.util.transport.Response;
    
    abstract class ServerMessageBlock extends Response implements Request, SmbConstants {
    
        static LogStream log = LogStream.getInstance();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top