Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,367 for gbyte (0.09 sec)

  1. 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)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go

    	F_asyncwrites uint64
    	F_asyncreads  uint64
    	F_fsid        Fsid
    	F_namemax     uint32
    	F_owner       uint32
    	F_ctime       uint64
    	F_fstypename  [16]byte
    	F_mntonname   [90]byte
    	F_mntfromname [90]byte
    	F_mntfromspec [90]byte
    	_             [2]byte
    	Mount_info    [160]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    )
    
    type FdSet struct {
    	Bits [1024]int64
    }
    
    type Utsname struct {
    	Sysname  [257]byte
    	Nodename [257]byte
    	Release  [257]byte
    	Version  [257]byte
    	Machine  [257]byte
    }
    
    type Ustat_t struct {
    	Tfree  int64
    	Tinode uint64
    	Fname  [6]int8
    	Fpack  [6]int8
    	_      [4]byte
    }
    
    const (
    	AT_FDCWD            = 0xffd19553
    	AT_SYMLINK_NOFOLLOW = 0x1000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/internal/xcoff/ar.go

    	Arsize   [20]byte // File member size
    	Arnxtmem [20]byte // Next member pointer
    	Arprvmem [20]byte // Previous member pointer
    	Ardate   [12]byte // File member date
    	Aruid    [12]byte // File member uid
    	Argid    [12]byte // File member gid
    	Armode   [12]byte // File member mode (octal)
    	Arnamlen [4]byte  // File member name length
    	// _ar_nam is removed because it's easier to get name without it.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer_benchmark_test.go

    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/time_fake.go

    	// Playback header: 0 0 P B <8-byte time> <4-byte data length> (big endian)
    	var buf [4 + 8 + 4]byte
    	buf[2] = 'P'
    	buf[3] = 'B'
    	tu := uint64(t)
    	buf[4] = byte(tu >> (7 * 8))
    	buf[5] = byte(tu >> (6 * 8))
    	buf[6] = byte(tu >> (5 * 8))
    	buf[7] = byte(tu >> (4 * 8))
    	buf[8] = byte(tu >> (3 * 8))
    	buf[9] = byte(tu >> (2 * 8))
    	buf[10] = byte(tu >> (1 * 8))
    	buf[11] = byte(tu >> (0 * 8))
    	nu := uint32(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/syscall/dir_plan9.go

    	return &d, nil
    }
    
    // pbit8 copies the 8-bit number v to b and returns the remaining slice of b.
    func pbit8(b []byte, v uint8) []byte {
    	b[0] = byte(v)
    	return b[1:]
    }
    
    // pbit16 copies the 16-bit number v to b in little-endian order and returns the remaining slice of b.
    func pbit16(b []byte, v uint16) []byte {
    	byteorder.LePutUint16(b, v)
    	return b[2:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Addrlen uint8
    	_       [1]byte
    }
    
    type FdSet struct {
    	Bits [1024]int64
    }
    
    type Utsname struct {
    	Sysname  [32]byte
    	Nodename [32]byte
    	Release  [32]byte
    	Version  [32]byte
    	Machine  [32]byte
    }
    
    type Ustat_t struct{}
    
    type Sigset_t struct {
    	Set [4]uint64
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. test/escape_mutations.go

    	sink = &([]byte(s))[10] // ERROR "\(\[\]byte\)\(s\) escapes to heap"
    }
    
    func h(out []byte, s string) { // ERROR "mutates param: out derefs=0" "s does not escape, mutate, or call"
    	copy(out, []byte(s)) // ERROR "zero-copy string->\[\]byte conversion" "\(\[\]byte\)\(s\) does not escape"
    }
    
    func i(s string) byte { // ERROR "s does not escape, mutate, or call"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 18 11:58:37 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top