Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for fstream (0.2 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                response.off += n;
            } while( len > 0 && n == r );
    
            return (int)(fp - start);
        }
    /**
     * This stream class is unbuffered. Therefore this method will always
     * return 0 for streams connected to regular files. However, a 
     * stream created from a Named Pipe this method will query the server using a
     * "peek named pipe" operation and return the number of available bytes
     * on the server.
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/LogStream.java

        public LogStream( PrintStream stream ) {
            super( stream );
        }
    
        public static void setLevel( int level ) {
            LogStream.level = level;
        }
        /**
         * This must be called before <tt>getInstance</tt> is called or
         * it will have no effect.
         */
        public static void setInstance( PrintStream stream ) {
            inst = new LogStream( stream );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbFile f = createTestFile();
                  SmbFileOutputStream ostream = f.openOutputStream(true, SmbConstants.FILE_NO_SHARE);
                  SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) {
    
                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
                    f.delete();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/Handler.java

        private CIFSContext transportContext;
    
    
        /**
         * Sets the URL stream handler factory for the environment. This
         * allows specification of the factory used in creating underlying
         * stream handlers. This can be called once per JVM instance.
         *
         * @param factory
         *            The URL stream handler factory.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_NAME = 0x200;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x400;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x800;
    
        private final byte[] fileId;
        private int outputBufferLength;
        private int notifyFlags;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * @return the pipe
         */
        SmbPipeResource getPipe ();
    
    
        /**
         * 
         * @return this pipe's input stream
         * @throws CIFSException
         */
        InputStream getInput () throws CIFSException;
    
    
        /**
         * 
         * @return this pipe's output stream
         * @throws CIFSException
         */
        OutputStream getOutput () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            update(sequence, 0, sequence.length); 
            index += 8;
            if( response.command == ServerMessageBlock.SMB_COM_READ_ANDX ) {
                /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                SmbComReadAndXResponse raxr = (SmbComReadAndXResponse)response;
                int length = response.length - raxr.dataLength;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/https/Handler.java

    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTPS handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends jcifs.smb1.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * File stream has been added
         */
        public static final int FILE_ACTION_ADDED_STREAM = 0x00000006;
        /**
         * File stream has been removed
         */
        public static final int FILE_ACTION_REMOVED_STREAM = 0x00000007;
        /**
         * File stream has modified
         */
        public static final int FILE_ACTION_MODIFIED_STREAM = 0x00000008;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.9K bytes
    - Viewed (0)
Back to top