Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,831 for byte (0.04 sec)

  1. 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: 2024-06-16 00:44
    - Last Modified: 2024-02-02 00:13
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-04-06 12:56
    - 12.7K bytes
    - Viewed (0)
  3. src/net/http/internal/chunked_test.go

    	w.Write(a)
    	w.Write(b)
    	w.Write(c)
    	w.Close()
    
    	readBuf := make([]byte, len(a)+len(b)+len(c)+1)
    	byter := bytes.NewReader(buf.Bytes())
    	bufr := bufio.NewReader(byter)
    	mallocs := testing.AllocsPerRun(100, func() {
    		byter.Seek(0, io.SeekStart)
    		bufr.Reset(byter)
    		r := NewChunkedReader(bufr)
    		n, err := io.ReadFull(r, readBuf)
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-01-04 20:45
    - 8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/AbstractHasher.java

      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-06-15 20:59
    - 3.5K bytes
    - Viewed (0)
  5. src/internal/bytealg/index_ppc64x.s

    	SUB   R7, R9, R9     // Number of bytes left
    	ANDCC $15, R7, R10   // 16 byte offset
    	ADD   R10, R9, R11   // offset + len
    	CMP   R11, $16       // >= 16?
    	BLE   short          // Does not cross 16 bytes
    	VLOADSWAP(R7, R0, V1, V1) // Load 16 bytes @R7 into V1
    	BR    index2to16next // Continue on
    
    short:
    	RLDICR   $0, R7, $59, R9 // Adjust addr to 16 byte container
    	VLOADSWAP(R9, R0, V1, V1)// Load 16 bytes @R9 into V1
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-04-21 16:47
    - 31.6K bytes
    - Viewed (0)
  6. 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: 2024-06-12 15:45
    - Last Modified: 2019-03-22 21:10
    - 22.5K bytes
    - Viewed (0)
  7. 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: 2024-06-12 15:45
    - Last Modified: 2019-03-22 21:10
    - 22.9K bytes
    - Viewed (0)
  8. src/runtime/slice_test.go

    const N = 20
    
    func BenchmarkMakeSliceCopy(b *testing.B) {
    	const length = 32
    	var bytes = make([]byte, 8*length)
    	var ints = make([]int, length)
    	var ptrs = make([]*byte, length)
    	b.Run("mallocmove", func(b *testing.B) {
    		b.Run("Byte", func(b *testing.B) {
    			var x []byte
    			for i := 0; i < b.N; i++ {
    				x = make([]byte, len(bytes))
    				copy(x, bytes)
    			}
    		})
    		b.Run("Int", func(b *testing.B) {
    			var x []int
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-08-17 09:45
    - 10.3K bytes
    - Viewed (0)
  9. src/crypto/cipher/ctr_test.go

    	}
    }
    
    func xor(a, b []byte) {
    	for i := range a {
    		a[i] ^= b[i]
    	}
    }
    
    func TestCTR(t *testing.T) {
    	for size := 64; size <= 1024; size *= 2 {
    		iv := make([]byte, size)
    		ctr := cipher.NewCTR(noopBlock(size), iv)
    		src := make([]byte, 1024)
    		for i := range src {
    			src[i] = 0xff
    		}
    		want := make([]byte, 1024)
    		copy(want, src)
    		counter := make([]byte, size)
    		for i := 1; i < len(want)/size; i++ {
    Registered: 2024-06-12 16:32
    - Last Modified: 2015-10-20 21:38
    - 1.1K bytes
    - Viewed (0)
  10. src/crypto/md5/md5.go

    	tmp := [1 + 63 + 8]byte{0x80}
    	pad := (55 - d.len) % 64                     // calculate number of padding bytes
    	byteorder.LePutUint64(tmp[1+pad:], d.len<<3) // append length in bits
    	d.Write(tmp[:1+pad+8])
    
    	// The previous write ensures that a whole number of
    	// blocks (i.e. a multiple of 64 bytes) have been hashed.
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-13 18:57
    - 4.3K bytes
    - Viewed (0)
Back to top