Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 737 for gbyte (0.04 sec)

  1. src/crypto/tls/quic_test.go

    		t.Fatalf("error during connection handshake: %v", err)
    	}
    
    	size := maxHandshake + 1
    	if err := cli.conn.HandleData(QUICEncryptionLevelApplication, []byte{
    		byte(typeNewSessionTicket),
    		byte(size >> 16),
    		byte(size >> 8),
    		byte(size),
    	}); err == nil {
    		t.Fatalf("%v-byte post-handshake message: got no error, want one", size)
    	}
    }
    
    func TestQUICHandshakeError(t *testing.T) {
    	clientConfig := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java

        }
    
        @Override
        public byte[] getContent() throws IOException {
            return withInputStream(new IoFunction<InputStream, byte[]>() {
                @Override
                public byte[] apply(InputStream inputStream) throws IOException {
                    int size = size();
                    if (size >= 0) {
                        byte[] content = new byte[size];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm.go

    func (p *P256Point) Bytes() []byte {
    	// This function is outlined to make the allocations inline in the caller
    	// rather than happen on the heap.
    	var out [p256UncompressedLength]byte
    	return p.bytes(&out)
    }
    
    func (p *P256Point) bytes(out *[p256UncompressedLength]byte) []byte {
    	// The proper representation of the point at infinity is a single zero byte.
    	if p.isInfinity() == 1 {
    		return append(out[:0], 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa.go

    	newPoint func() Point
    	curve    elliptic.Curve
    	N        *bigmod.Modulus
    	nMinus2  []byte
    }
    
    // nistPoint is a generic constraint for the nistec Point types.
    type nistPoint[T any] interface {
    	Bytes() []byte
    	BytesX() ([]byte, error)
    	SetBytes([]byte) (T, error)
    	Add(T, T) T
    	ScalarMult(T, []byte) (T, error)
    	ScalarBaseMult([]byte) (T, error)
    }
    
    // pointFromAffine is used to convert the PublicKey to a nistec Point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/gc-stress.go

    		ballast[i] = new([1024]*node)
    		for j := range ballast[i] {
    			ballast[i][j] = &node{
    				data: [128]byte{1, 2, 3, 4},
    			}
    		}
    	}
    
    	procs := runtime.GOMAXPROCS(-1)
    	sink = make([][]byte, procs)
    
    	for i := 0; i < procs; i++ {
    		i := i
    		go func() {
    			for {
    				sink[i] = make([]byte, 4<<10)
    			}
    		}()
    	}
    	// Increase the chance that we end up starting and stopping
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/crypto/rsa/pkcs1v15.go

    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
    	// Special case: crypto.Hash(0) is used to indicate that the data is
    	// signed directly.
    	var prefix []byte
    	if hash != 0 {
    		if len(hashed) != hash.Size() {
    			return nil, errors.New("crypto/rsa: input must be hashed message")
    		}
    		var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_test.go

    		vers:        VersionTLS12,
    		random:      make([]byte, 32),
    		cipherSuite: TLS_RSA_WITH_AES_256_GCM_SHA384,
    	}
    	serverHelloBytes := mustMarshal(t, serverHello)
    
    	s.Write([]byte{
    		byte(recordTypeHandshake),
    		byte(VersionTLS12 >> 8),
    		byte(VersionTLS12 & 0xff),
    		byte(len(serverHelloBytes) >> 8),
    		byte(len(serverHelloBytes)),
    	})
    	s.Write(serverHelloBytes)
    	s.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/IoTestCase.java

      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
      static byte[] newPreFilledByteArray(int size) {
        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/crypto/tls/cipher_suites.go

    func (f *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
    	for i, b := range nonce {
    		f.nonceMask[4+i] ^= b
    	}
    	result := f.aead.Seal(out, f.nonceMask[:], plaintext, additionalData)
    	for i, b := range nonce {
    		f.nonceMask[4+i] ^= b
    	}
    
    	return result
    }
    
    func (f *xorNonceAEAD) Open(out, nonce, ciphertext, additionalData []byte) ([]byte, error) {
    	for i, b := range nonce {
    		f.nonceMask[4+i] ^= b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top