Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Beek (0.13 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

     *
     */
    public class SmbComSeek extends ServerMessageBlock {
    
        /**
         * @param config
         * @param fid
         */
        public SmbComSeek ( Configuration config, int fid ) {
            super(config, SMB_COM_SEEK);
            this.fid = fid;
        }
    
        private int fid;
        private int mode;
        private long offset;
    
    
        /**
         * @param fid
         *            the fid to set
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * 
         */
        public static final int FSCTL_DFS_GET_REFERRALS = 0x0060194;
        /**
         * 
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
        /**
         * 
         */
        public static final int FSCTL_PIPE_WAIT = 0x00110018;
        /**
         * 
         */
        public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017;
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                    if ( closed ) {
                        log.trace("Remote closed connection");
                    }
                    else if ( timeout ) {
                        log.debug("socket timeout in non peek state", ex);
                    }
                    else {
                        log.debug("recv failed", ex);
                    }
    
                    synchronized ( this ) {
                        try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbRandomAccess.java

    
        /**
         * Current position in file
         * 
         * @return current position
         */
        long getFilePointer ();
    
    
        /**
         * Seek to new position
         * 
         * @param pos
         */
        void seek ( long pos );
    
    
        /**
         * Get the current file length
         * 
         * @return file length
         * @throws SmbException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    /**
     * 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.
     */
        public int available() throws IOException {
            SmbNamedPipe pipe;
            TransPeekNamedPipe req;
    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)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         * 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.
         */
        @Override
        public int available () throws IOException {
            return 0;
        }
    
    
        /**
    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)
  7. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) {
                        raf.seek(10);
                        Assert.assertEquals(-1, raf.read());
                    }
    
                    byte[] buf = new byte[4];
                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) {
                        raf.seek(6);
                        Assert.assertEquals(2, raf.read(buf));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

                    && ! ( status == NtStatus.NT_STATUS_BUFFER_OVERFLOW && ( this.ctlCode == Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE
                            || this.ctlCode == Smb2IoctlRequest.FSCTL_PIPE_PEEK || this.ctlCode == Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS ) )
                    && super.isErrorResponseStatus();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
        public long getFilePointer () {
            return this.fp;
        }
    
    
        @Override
        public void seek ( long pos ) {
            this.fp = pos;
        }
    
    
        @Override
        public long length () throws SmbException {
            return this.file.length();
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                    case SmbComTransaction.NET_SHARE_ENUM:
                    case SmbComTransaction.NET_SERVER_ENUM2:
                    case SmbComTransaction.NET_SERVER_ENUM3:
                    case SmbComTransaction.TRANS_PEEK_NAMED_PIPE:
                    case SmbComTransaction.TRANS_WAIT_NAMED_PIPE:
                    case SmbComTransaction.TRANS_CALL_NAMED_PIPE:
                    case SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top