Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 502 for init (0.22 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                stream.write(b);
                collector.write(b);
            }
    
            public void write(byte[] b, int off, int len) throws IOException {
                stream.write(b, off, len);
                collector.write(b, off, len);
            }
    
            public void write(int b) throws IOException {
                stream.write(b);
                collector.write(b);
            }
    
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         */
        public static List<AvPair> decode ( byte[] data ) throws CIFSException {
            List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while ( pos + 4 <= data.length ) {
                int avId = SMBUtil.readInt2(data, pos);
                int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
                if ( avId == AvPair.MsvAvEOL ) {
                    if ( avLen != 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            this.calledName = calledName;
            this.callingName = callingName;
        }
        int writeTrailerWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += calledName.writeWireFormat( dst, dstIndex );
            dstIndex += callingName.writeWireFormat( dst, dstIndex );
            return dstIndex - start;
        }
        int readTrailerWireFormat( InputStream in,
                                byte[] buffer,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

    abstract class SmbComNtTransaction extends SmbComTransaction {
    
        // relative to headerStart
        private static final int NTT_PRIMARY_SETUP_OFFSET       = 69;
        private static final int NTT_SECONDARY_PARAMETER_OFFSET  = 51;
    
        static final int NT_TRANSACT_QUERY_SECURITY_DESC = 6;
    
        int function;
    
        SmbComNtTransaction() {
            super();
            primarySetupOffset = NTT_PRIMARY_SETUP_OFFSET;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/ACE.java

        }
    
    
        @Override
        public int getAccessMask () {
            return this.access;
        }
    
    
        @Override
        public SID getSID () {
            return this.sid;
        }
    
    
        @Override
        public int decode ( byte[] buf, int bi, int len ) {
            this.allow = buf[ bi++ ] == (byte) 0x00;
            this.flags = buf[ bi++ ] & 0xFF;
            int size = SMBUtil.readInt2(buf, bi);
            bi += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            this.zterm = zterm;
        }
    
        public UnicodeString(String str, boolean zterm) {
            this.zterm = zterm;
    
            int len = str.length();
            int zt = zterm ? 1 : 0;
    
            length = maximum_length = (short)((len + zt) * 2);
            buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                buffer[i] = (short)str.charAt(i);
            }
            if (zterm) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NamingTest.java

            }
            runFilenameTest(splitString(str, 8));
        }
    
    
        private static String makeCharsetString ( Charset cs, int min, int max, int... excludes ) {
            ByteBuffer buf = ByteBuffer.allocate(128);
            Arrays.sort(excludes);
            for ( int i = 128; i < 255; i++ ) {
                int idx = Arrays.binarySearch(excludes, i);
                if ( idx < 0 || excludes[ idx ] == i ) {
                    continue;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/NtlmTest.java

        }
    
    
        @Test
        public void testParsingType1 () throws IOException {
            int flags = 0x80000000;
            String suppliedDomain = "TESTDOM";
            String suppliedWorkstation = "TESTWS";
            Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation);
    
            int origFlags = t1.getFlags();
    
            Type1Message parsed = new Type1Message(t1.toByteArray());
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 16 10:38:43 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            }
            writeDirect( b, off, len, 0 );
        }
    /**
     * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
     */
        public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException {
            if( len <= 0 ) {
                return;
            }
    
            if( tmp == null ) {
                throw new IOException( "Bad file descriptor" );
            }
            ensureOpen();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Encodable.java

     * @author mbechler
     *
     */
    public interface Encodable {
    
        /**
         * @param dst
         * @param dstIndex
         * @return encoded length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @return the encoded size
         */
        int size ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1K bytes
    - Viewed (0)
Back to top