Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for byte1 (0.07 sec)

  1. src/runtime/mbitmap.go

    	// 512 bytes (8 KiB / 512 bytes * 8 bytes-per-header = 128 bytes of overhead).
    	// On 32-bit platforms, this same point is the 256 byte size class
    	// (8 KiB / 256 bytes * 8 bytes-per-header = 256 bytes of overhead).
    	//
    	// Guaranteed to be exactly at a size class boundary. The reason this value is
    	// an exclusive minimum is subtle. Suppose we're allocating a 504-byte object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	if n := len(eofR.buf); n != 0 {
    		t.Fatalf("got %d bytes left in bufio.Reader source; want 0 bytes", n)
    	}
    	// To prove the point, check that there are still 5 bytes available to read.
    	if n := r.Buffered(); n != 5 {
    		t.Fatalf("got %d bytes buffered in bufio.Reader; want 5 bytes", n)
    	}
    
    	// This is the second read of 0 bytes.
    	read, err = r.Read([]byte{})
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 62.6K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    	// channel-binding.
    	clientFinished [12]byte
    	serverFinished [12]byte
    
    	// clientProtocol is the negotiated ALPN protocol.
    	clientProtocol string
    
    	// input/output
    	in, out   halfConn
    	rawInput  bytes.Buffer // raw input, starting with a record header
    	input     bytes.Reader // application data waiting to be read, from rawInput.Next
    	hand      bytes.Buffer // handshake data waiting to be read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/crypto/des/des_test.go

    		[]byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff},
    		[]byte{0x35, 0x55, 0x50, 0xb2, 0x15, 0x0e, 0x24, 0x51}},
    	{
    		[]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    		[]byte{0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef},
    		[]byte{0x61, 0x7b, 0x3a, 0x0c, 0xe8, 0xf0, 0x71, 0x00}},
    	{
    		[]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  6. src/encoding/xml/marshal_test.go

    			Float: 23.5,
    			Uint8: 255,
    			Bool:  true,
    			Str:   "str",
    			Bytes: []byte("byt"),
    		},
    		ExpectXML: `<AttrTest Int="8" int="9" Float="23.5" Uint8="255"` +
    			` Bool="true" Str="str" Bytes="byt"></AttrTest>`,
    	},
    	{
    		Value: &AttrTest{Bytes: []byte{}},
    		ExpectXML: `<AttrTest Int="0" int="0" Float="0" Uint8="0"` +
    			` Bool="false" Str="" Bytes=""></AttrTest>`,
    	},
    	{
    		Value: &AttrsTest{
    			Attrs: []Attr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			}
    			testReq := testCase.requestXML
    			if len(testReq) == 0 {
    				var escaped bytes.Buffer
    				xml.EscapeText(&escaped, []byte(testCase.query))
    				testReq = []byte(fmt.Sprintf(defRequest, escaped.String()))
    			}
    			s3Select, err := NewS3Select(bytes.NewReader(testReq))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			in := input
    			if len(testCase.withJSON) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    	Raw                     []byte // Complete ASN.1 DER content (certificate, signature algorithm and signature).
    	RawTBSCertificate       []byte // Certificate part of raw ASN.1 DER content.
    	RawSubjectPublicKeyInfo []byte // DER encoded SubjectPublicKeyInfo.
    	RawSubject              []byte // DER encoded Subject
    	RawIssuer               []byte // DER encoded Issuer
    
    	Signature          []byte
    	SignatureAlgorithm SignatureAlgorithm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_messages.go

    func (m *serverHelloDoneMsg) marshal() ([]byte, error) {
    	x := make([]byte, 4)
    	x[0] = typeServerHelloDone
    	return x, nil
    }
    
    func (m *serverHelloDoneMsg) unmarshal(data []byte) bool {
    	return len(data) == 4
    }
    
    type clientKeyExchangeMsg struct {
    	ciphertext []byte
    }
    
    func (m *clientKeyExchangeMsg) marshal() ([]byte, error) {
    	length := len(m.ciphertext)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    func (o *opensslOutputSink) Write(data []byte) (n int, err error) {
    	o.line = append(o.line, data...)
    	o.all = append(o.all, data...)
    
    	for {
    		line, next, ok := bytes.Cut(o.line, []byte("\n"))
    		if !ok {
    			break
    		}
    
    		if bytes.Equal([]byte(opensslEndOfHandshake), line) {
    			o.handshakeComplete <- struct{}{}
    		}
    		if bytes.Equal([]byte(opensslReadKeyUpdate), line) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top