Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 13 (0.13 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            int ms_usage = keyusage;
            switch ( ms_usage ) {
            case 3:
                ms_usage = 8;
            case 9:
                ms_usage = 8;
            case 23:
                ms_usage = 13;
            }
            return ms_usage;
        }
    
    
        public static byte[] calculateMacHMACAES ( int usage, KerberosKey baseKey, byte[] input ) throws GeneralSecurityException {
            byte[] cst = new byte[] {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

                throw new NdrException("Unexpected ptype: " + ptype);
    
            if (ptype == 2 || ptype == 3) { /* Response or Fault */
                alloc_hint = buf.dec_ndr_long();
                buf.dec_ndr_short();        /* context id */
                buf.dec_ndr_short();        /* cancel count */
            }
            if (ptype == 3 || ptype == 13) {               /* Fault */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        }
    
    
        @Override
        public void decode ( NdrBuffer buf ) throws NdrException {
            decode_header(buf);
    
            if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 )
                throw new NdrException("Unexpected ptype: " + this.ptype);
    
            if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */
                this.alloc_hint = buf.dec_ndr_long();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

                        // each entry 94 byte + 2 * name length
                        // = 128 byte per entry
                        try ( SmbResource r = f.resolve(String.format("%04x%s", i, repeat('X', 13))) ) {
                            r.createNewFile();
                        }
                    }
                    // == 5*128 = 640
    
                    // . and .. entries = 200 byte (includes alignment)
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testCopyFileLargeNoAlign () throws IOException {
            long length = 4096 * 16 * 1024 + 13;
            try ( SmbFile f = createTestFile();
                  SmbTreeHandle treeHandle = f.getTreeHandle() ) {
                // this is tremendously slow on SMB1
                try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/MD4.java

            B = GG(B, C, D, A, X[13], 13);
            A = GG(A, B, C, D, X[ 2],  3);
            D = GG(D, A, B, C, X[ 6],  5);
            C = GG(C, D, A, B, X[10],  9);
            B = GG(B, C, D, A, X[14], 13);
            A = GG(A, B, C, D, X[ 3],  3);
            D = GG(D, A, B, C, X[ 7],  5);
            C = GG(C, D, A, B, X[11],  9);
            B = GG(B, C, D, A, X[15], 13);
    
            A = HH(A, B, C, D, X[ 0],  3);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/DES.java

            (byte)13, (byte) 5, (byte)60, (byte)52, (byte)44, (byte)36, (byte)28,
            (byte)20, (byte)12, (byte) 4, (byte)27, (byte)19, (byte)11, (byte)3
        };
        private static int[] totrot = {
            1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28
        };
    
        private static byte[] pc2 = {
            (byte)13, (byte)16, (byte)10, (byte)23, (byte) 0, (byte) 4,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

            results = new SmbShareInfo[numEntries];
            for( int i = 0; i < numEntries; i++ ) {
                results[i] = e = new SmbShareInfo();
                e.netName = readString( buffer, bufferIndex, 13, false );
                bufferIndex += 14;
                e.type = readInt2( buffer, bufferIndex );
                bufferIndex += 2;
                int off = readInt4( buffer, bufferIndex );
                bufferIndex += 4;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            SmbShareInfo[] results = new SmbShareInfo[getNumEntries()];
            for ( int i = 0; i < getNumEntries(); i++ ) {
                results[ i ] = e = new SmbShareInfo();
                e.netName = readString(buffer, bufferIndex, 13, false);
                bufferIndex += 14;
                e.type = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
Back to top