Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for TMP (0.14 sec)

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

            tmp[0] = (byte)(v ? 1 : 0);
            write( tmp, 0, 1 );
        }
        public final void writeByte( int v ) throws SmbException {
            tmp[0] = (byte)v;
            write( tmp, 0, 1 );
        }
        public final void writeShort( int v ) throws SmbException {
            Encdec.enc_uint16be( (short)v, tmp, 0 );
            write( tmp, 0, 2 );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

                                     */
                                    tmp.map = links.map;
                                    tmp.key = "\\";
                                }
                                tmp.pathConsumed -= len;
                                tmp = tmp.next;
                            } while (tmp != dr);
    
                            if (dr.key != null)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

            path = pipe.unc;
        }
    
        public void close() throws IOException {
            pipe.close();
        }
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
        public void write( byte[] b, int off, int len ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

                            }
                            continue;
                        }
                        tmp[i++] = RESOLVER_WINS;
                    } else if( s.equalsIgnoreCase( "BCAST" )) {
                        tmp[i++] = RESOLVER_BCAST;
                    } else if( s.equalsIgnoreCase( "DNS" )) {
                        tmp[i++] = RESOLVER_DNS;
                    } else if( log.level > 1 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                }
            } else {
                int[] tmp = new int[3];
                StringTokenizer st = new StringTokenizer( RO, "," );
                int i = 0;
                while( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if( s.equalsIgnoreCase( "LMHOSTS" )) {
                        tmp[i++] = RESOLVER_LMHOSTS;
                    } else if( s.equalsIgnoreCase( "WINS" )) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
    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)
  7. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

    class SocketInputStream extends InputStream {
    
        private static final int TMP_BUFFER_SIZE = 256;
    
        private InputStream in;
        private SessionServicePacket ssp;
        private int tot, bip, n;
        private byte[] header, tmp;
    
        SocketInputStream( InputStream in ) {
            this.in = in;
            header = new byte[4];
            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        public synchronized int read() throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Name.java

            dst[dstIndex] = 0x20;
    
            // write name
            try {
                byte tmp[] = name.getBytes( Name.OEM_ENCODING );
                int i;
                for( i = 0; i < tmp.length; i++ ) {
                    dst[dstIndex + ( 2 * i + 1 )] = (byte)((( tmp[i] & 0xF0 ) >> 4 ) + 0x41 );
                    dst[dstIndex + ( 2 * i + 2 )] = (byte)(( tmp[i] & 0x0F ) + 0x41 );
                }
                for( ; i < 15; i++ ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                    System.arraycopy( tmp, 0, pipe_buf, i, used - i ); 
                } else {
                    System.arraycopy( tmp, beg_idx, pipe_buf, 0, used );
                }
                beg_idx = 0;
                nxt_idx = used;
                tmp = null;
            }
    
            i = pipe_buf.length - nxt_idx;
            if( len > i ) {
                System.arraycopy( b, off, pipe_buf, nxt_idx, i );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
    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)
Back to top