Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,648 for byte (0.02 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                        masterKey = new byte[16];
                        RANDOM.nextBytes(masterKey);
    
                        byte[] exchangedKey = new byte[16];
                        RC4 rc4 = new RC4(userSessionKey);
                        rc4.update(masterKey, 0, 16, exchangedKey, 0);
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 22.9K bytes
    - Viewed (0)
  2. internal/crypto/key_test.go

    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    		UnsealExtKey: [32]byte{}, UnsealDomain: "SSE-C", UnsealBucket: "bucket", UnsealObject: "object",
    		ShouldPass: true,
    	}, // 0
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-07-12 20:51
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

     * Represents an NTLMSSP Type-3 message.
     */
    public class Type3Message extends NtlmMessage {
    
        private byte[] lmResponse;
        private byte[] ntResponse;
        private String domain;
        private String user;
        private String workstation;
        private byte[] masterKey = null;
        private byte[] sessionKey = null;
        private byte[] mic = null;
        private boolean micRequired;
    
    
        /**
    Registered: 2025-05-25 00:10
    - Last Modified: 2020-07-07 12:07
    - 30.6K bytes
    - Viewed (0)
  4. internal/s3select/jstream/scanner_test.go

    package jstream
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"io"
    	"sync/atomic"
    	"testing"
    )
    
    var (
    	smallInput  = make([]byte, 1024*12)       // 12K
    	mediumInput = make([]byte, 1024*1024*12)  // 12MB
    	largeInput  = make([]byte, 1024*1024*128) // 128MB
    )
    
    func TestScanner(t *testing.T) {
    	t.Skip("Unstable test")
    	data := []byte("abcdefghijklmnopqrstuvwxyz0123456789")
    
    	var i int
    	r := bytes.NewReader(data)
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-03-12 17:26
    - 3.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
        if (b == -1) {
          return bytes;
        }
    
        // the stream was longer, so read the rest normally
        Queue<byte[]> bufs = new ArrayDeque<>(TO_BYTE_ARRAY_DEQUE_SIZE + 2);
        bufs.add(bytes);
        bufs.add(new byte[] {(byte) b});
        return toByteArrayInternal(in, bufs, bytes.length + 1);
      }
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-03-20 20:55
    - 31.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 7.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        private byte[] bytes;
    
        public AppendableByteSource(byte[] initialBytes) {
          this.bytes = initialBytes.clone();
        }
    
        @Override
        public InputStream openStream() {
          return new In();
        }
    
        public void append(byte[] b) {
          byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length);
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        // KGS!@#$%
        private static final byte[] S8 = {
            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 22.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
                dst[ start + ANDX_COMMAND_OFFSET ] = (byte) 0xFF;
                dst[ start + ANDX_RESERVED_OFFSET ] = (byte) 0x00;
                // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
    Registered: 2025-05-25 00:10
    - Last Modified: 2022-11-28 10:56
    - 14.3K bytes
    - Viewed (0)
  10. internal/grid/types.go

    }
    
    // Bytes provides a byte slice that can be serialized.
    type Bytes []byte
    
    // UnmarshalMsg deserializes b from the provided byte slice and returns the
    // remainder of bytes.
    func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) {
    	if b == nil {
    		return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer")
    	}
    	if bytes, err := msgp.ReadNilBytes(bytes); err == nil {
    		if *b != nil {
    			PutByteBuffer(*b)
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-01 15:28
    - 15.5K bytes
    - Viewed (0)
Back to top