Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for 256 (0.11 sec)

  1. src/main/java/jcifs/smb1/util/RC4.java

        public RC4(byte[] key)
        {
            init(key, 0, key.length);
        }
    
        public void init(byte[] key, int ki, int klen)
        {
            s = new byte[256];
    
            for (i = 0; i < 256; i++)
                s[i] = (byte)i;
    
            for (i = j = 0; i < 256; i++) {
                j = (j + key[ki + i % klen] + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NamingTest.java

                case "cp850":
                    str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 240, 255);
                    break;
                case "windows-1252":
                    str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 0x81, 0x8D, 0x8F, 0x90, 0x9D);
                    break;
                default:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                        len = Strings.findUNITermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromUNIBytes(buffer, bufferIndex, len);
                    }
                    else {
                        len = Strings.findTermination(buffer, bufferIndex, 256);
                        this.server.oemDomainName = Strings.fromOEMBytes(buffer, bufferIndex, len, getConfig());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PACTest.java

    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

        public void update( byte[] input, int offset, int len ) {
            if( log.level >= 5 ) {
                log.println( "update: " + updates + " " + offset + ":" + len );
                Hexdump.hexdump( log, input, offset, Math.min( len, 256 ));
                log.flush();
            }
            if( len == 0 ) {
                return; /* CRITICAL */
            }
            digest.update( input, offset, len );
            updates++;
        }
        public byte[] digest() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for ( int i = 5; id > 0; i-- ) {
                this.identifier_authority[ i ] = (byte) ( id % 256 );
                id >>= 8;
            }
    
            this.sub_authority_count = (byte) st.countTokens();
            if ( this.sub_authority_count > 0 ) {
                this.sub_authority = new int[this.sub_authority_count];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                            buffer[bufferIndex + len + 1] != (byte)0x00 ) {
                                len += 2;
                                if( len > 256 ) {
                                    throw new RuntimeException( "zero termination not found" );
                                }
                            }
                            server.oemDomainName = new String( buffer, bufferIndex,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                    // start with some reasonably safe defaults, the server will till us if it does not like it
                    // can we resume this if we loose the file descriptor?
    
                    int maxChunks = 256;
                    int maxChunkSize = 1024 * 1024;
                    int byteLimit = 16 * 1024 * 1024;
                    boolean retry = false;
                    do {
                        long ooff = 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        public static final int ACB_NORMAL = 16;
        public static final int ACB_MNS = 32;
        public static final int ACB_DOMTRUST = 64;
        public static final int ACB_WSTRUST = 128;
        public static final int ACB_SVRTRUST = 256;
        public static final int ACB_PWNOEXP = 512;
        public static final int ACB_AUTOLOCK = 1024;
        public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048;
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ReadWriteTest.java

            // regular nextBytes is not reproducible if the reads are not aligned
            for ( int i = 0; i < buffer.length; i++ ) {
                buffer[ i ] = (byte) r.nextInt(256);
            }
    
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
Back to top