Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,541 for bytes (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         */
        public void setBuffer ( byte[] buffer ) {
            this.txn_buf = buffer;
        }
    
    
        /**
         * @return the txn_buf
         */
        public byte[] releaseBuffer () {
            byte[] buf = this.txn_buf;
            this.txn_buf = null;
            return buf;
        }
    
    
        /**
         * @return the subCommand
         */
        public final byte getSubCommand () {
            return this.subCommand;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    raf.write(new byte[] {
                        0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8
                    });
                    raf.seek(0);
                    assertEquals(0, raf.getFilePointer());
    
                    byte[] buf = new byte[4];
    
                    raf.readFully(buf);
                    assertArrayEquals(new byte[] {
                        0x1, 0x2, 0x3, 0x4
                    }, buf);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Crypto.java

        }
    
    
        /**
         * @param key
         *            7-byte "raw" DES key
         * @return 8-byte DES key with parity
         */
        static byte[] des7to8 ( byte[] key ) {
            byte key8[] = new byte[8];
            key8[ 0 ] = (byte) ( key[ 0 ] & 0xFE );
            key8[ 1 ] = (byte) ( ( key[ 0 ] << 7 ) | ( ( key[ 1 ] & 0xFF ) >>> 1 ) );
            key8[ 2 ] = (byte) ( ( key[ 1 ] << 6 ) | ( ( key[ 2 ] & 0xFF ) >>> 2 ) );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                dstIndex += 2;
            }
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            writeInt4( capabilities, dst, dstIndex );
            dstIndex += 4;
    
            return dstIndex - start;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Name.java

        }
    
        int readWireFormat( byte[] src, int srcIndex ) {
    
            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for( int i = 0; i < 15; i++ ) {
                tmp[i] = (byte)((( src[srcIndex + ( 2 * i + 1 )] & 0xFF ) - 0x41 ) << 4 );
                tmp[i] |= (byte)((( src[srcIndex + ( 2 * i + 2 )] & 0xFF ) - 0x41 ) & 0x0F );
                if( tmp[i] != (byte)' ' ) {
                    length = i + 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private byte expectInfoType;
        private byte expectInfoClass;
        private Decodable info;
    
    
        /**
         * @param config
         * @param expectInfoType
         * @param expectInfoClass
         */
        public Smb2QueryInfoResponse ( Configuration config, byte expectInfoType, byte expectInfoClass ) {
            super(config);
            this.expectInfoType = expectInfoType;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            return 0;
        }
    
        public void write( int b ) throws SmbException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte b[] ) throws SmbException {
            write( b, 0, b.length );
        }
        public void write( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  10. internal/event/config_test.go

    	testCases := []struct {
    		data           []byte
    		expectedResult *FilterRule
    		expectErr      bool
    	}{
    		{[]byte(`<FilterRule></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Name></Name></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Value></Value></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Name></Name><Value></Value></FilterRule>`), nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
Back to top