Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,851 for gbyte (0.06 sec)

  1. src/crypto/aes/aes_gcm.go

    //go:noescape
    func gcmAesInit(productTable *[256]byte, ks []uint32)
    
    //go:noescape
    func gcmAesData(productTable *[256]byte, data []byte, T *[16]byte)
    
    //go:noescape
    func gcmAesEnc(productTable *[256]byte, dst, src []byte, ctr, T *[16]byte, ks []uint32)
    
    //go:noescape
    func gcmAesDec(productTable *[256]byte, dst, src []byte, ctr, T *[16]byte, ks []uint32)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins_test.go

    	{"append", `var s []int; _ = (append)(s, 0)`, `func([]int, ...int) []int`},
    	{"append", `var s []byte; _ = ((append))(s, 0)`, `func([]byte, ...byte) []byte`},
    	{"append", `var s []byte; _ = append(s, "foo"...)`, `func([]byte, string...) []byte`},
    	{"append", `type T []byte; var s T; var str string; _ = append(s, str...)`, `func(p.T, string...) p.T`},
    	{"append", `type T []byte; type U string; var s T; var str U; _ = append(s, str...)`, `func(p.T, p.U...) p.T`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Base64Util.java

            final byte b0 = DECODE_TABLE[inData.charAt(inIndex)];
            final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)];
            final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)];
            final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)];
            outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/net/http/internal/chunked_test.go

    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	var buf bytes.Buffer
    	w := NewChunkedWriter(&buf)
    	a, b, c := []byte("aaaaaa"), []byte("bbbbbbbbbbbb"), []byte("cccccccccccccccccccccccc")
    	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() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. internal/event/name_test.go

    	testCases := []struct {
    		name         Name
    		expectedData []byte
    		expectErr    bool
    	}{
    		{ObjectAccessedAll, []byte("<Name>s3:ObjectAccessed:*</Name>"), false},
    		{ObjectRemovedDelete, []byte("<Name>s3:ObjectRemoved:Delete</Name>"), false},
    		{ObjectRemovedNoOP, []byte("<Name>s3:ObjectRemoved:NoOP</Name>"), false},
    		{blankName, []byte("<Name></Name>"), false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/crypto/tls/key_schedule.go

    func (c *cipherSuiteTLS13) expandLabel(secret []byte, label string, context []byte, length int) []byte {
    	var hkdfLabel cryptobyte.Builder
    	hkdfLabel.AddUint16(uint16(length))
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes([]byte("tls13 "))
    		b.AddBytes([]byte(label))
    	})
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes(context)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceAccessorTest.groovy

            expectResourceRead(new ByteArrayInputStream(new byte[4096]))
    
            when:
            def result = accessor.withContent(location, false, action)
    
            then:
            result == "result"
    
            and:
            1 * action.execute(_, _) >> { inputStream, metaData ->
                inputStream.read(new byte[2])
                inputStream.read(new byte[560])
                inputStream.read(new byte[1000])
                inputStream.read(new byte[1600])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:31:19 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read empty frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 0 && bytes.Equal(buf, []byte{}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with larger buffer than frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 1 && bytes.Equal(buf, []byte{0x08}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	Ngroups int16
    	Groups  [16]uint32
    	_       *byte
    }
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type Iovec struct {
    	Base *byte
    	Len  uint64
    }
    
    type IPMreq struct {
    	Multiaddr [4]byte /* in_addr */
    	Interface [4]byte /* in_addr */
    }
    
    type IPMreqn struct {
    	Multiaddr [4]byte /* in_addr */
    	Address   [4]byte /* in_addr */
    	Ifindex   int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. src/math/big/intmarsh.go

    	"fmt"
    )
    
    // Gob codec version. Permits backward-compatible changes to the encoding.
    const intGobVersion byte = 1
    
    // GobEncode implements the [encoding/gob.GobEncoder] interface.
    func (x *Int) GobEncode() ([]byte, error) {
    	if x == nil {
    		return nil, nil
    	}
    	buf := make([]byte, 1+len(x.abs)*_S) // extra byte for version and sign bit
    	i := x.abs.bytes(buf) - 1            // i >= 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top