Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for ascii (0.57 sec)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            return derived;
        }
    
    
        /**
         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes ( String string ) {
            byte[] data = new byte[string.length() + 1];
            System.arraycopy(string.getBytes(StandardCharsets.US_ASCII), 0, data, 0, string.length());
            return data;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            System.arraycopy( dialects, 0, dst, dstIndex, dialects.length );
            return dialects.length;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( NET_SHARE_ENUM, dst, dstIndex );
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int FLAGS_TARGET_MUST_BE_FILE         = 0x0001; 
        static final int FLAGS_TARGET_MUST_BE_DIRECTORY    = 0x0002; 
        static final int FLAGS_COPY_TARGET_MODE_ASCII      = 0x0004; 
        static final int FLAGS_COPY_SOURCE_MODE_ASCII      = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES           = 0x0010; 
        static final int FLAGS_TREE_COPY                   = 0x0020; 
    
        // open function
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
    
            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * to register the SMB protocol handler.
     * <p>
     * The userinfo component of the SMB URL (<tt>domain;user:pass</tt>) must
     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
     * to delimit the userinfo component from the server and '%' which is the
     * URL escape character itself.
     * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. src/main/java/jcifs/SmbConstants.java

        // flags for move and copy
        static final int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
        static final int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        static final int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        static final int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        static final int FLAGS_TREE_COPY = 0x0020;
    
        // open function
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
Back to top