- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,067 for gbyte (0.04 sec)
-
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) -
src/cmd/compile/internal/types2/typestring.go
} sort.Strings(termHashes) if !first { w.byte(';') } w.string(strings.Join(termHashes, "|")) } } func (w *typeWriter) typeList(list []Type) { w.byte('[') for i, typ := range list { if i > 0 { w.byte(',') } w.typ(typ) } w.byte(']') } func (w *typeWriter) tParamList(list []*TypeParam) { w.byte('[') var prev Type for i, tpar := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768.go
// // The shared key must be kept secret. func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) { // The actual logic is in a separate function to outline this allocation. var cc [CiphertextSize]byte return encapsulate(&cc, encapsulationKey) } func encapsulate(cc *[CiphertextSize]byte, encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) { if len(encapsulationKey) != EncapsulationKeySize {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 28.4K bytes - Viewed (0) -
src/encoding/asn1/marshal.go
func makeUTF8String(s string) encoder { return stringEncoder(s) } func appendTwoDigits(dst []byte, v int) []byte { return append(dst, byte('0'+(v/10)%10), byte('0'+v%10)) } func appendFourDigits(dst []byte, v int) []byte { return append(dst, byte('0'+(v/1000)%10), byte('0'+(v/100)%10), byte('0'+(v/10)%10), byte('0'+v%10)) } func outsideUTCRange(t time.Time) bool { year := t.Year()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
src/hash/crc64/crc64.go
func (d *digest) Sum(in []byte) []byte { s := d.Sum64() return append(in, byte(s>>56), byte(s>>48), byte(s>>40), byte(s>>32), byte(s>>24), byte(s>>16), byte(s>>8), byte(s)) } // Checksum returns the CRC-64 checksum of data // using the polynomial represented by the [Table]. func Checksum(data []byte, tab *Table) uint64 { return update(0, tab, data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 5.2K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
} func permutation(t *testing.T, h *hashSet, s []uint32, n int) { b := make([]byte, n*4) genPerm(h, b, s, 0) h.check(t) } func genPerm(h *hashSet, b []byte, s []uint32, n int) { h.addB(b[:n]) if n == len(b) { return } for _, v := range s { b[n] = byte(v) b[n+1] = byte(v >> 8) b[n+2] = byte(v >> 16) b[n+3] = byte(v >> 24) genPerm(h, b, s, n+4) } } type key interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
src/crypto/md5/md5.go
b, d.s[3] = consumeUint32(b) b = b[copy(d.x[:], b):] b, d.len = consumeUint64(b) d.nx = int(d.len % BlockSize) return nil } func consumeUint64(b []byte) ([]byte, uint64) { return b[8:], byteorder.BeUint64(b[0:8]) } func consumeUint32(b []byte) ([]byte, uint32) { return b[4:], byteorder.BeUint32(b[0:4]) } // New returns a new hash.Hash computing the MD5 checksum. The Hash also
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
internal/grid/grid_test.go
local := grid.Managers[0] // 1: Echo errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) { t.Log("1: server payload: ", len(payload), "bytes.") return append([]byte{}, payload...), nil })) // 2: Return as error errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) { t.Log("2: server payload: ", len(payload), "bytes.") err := RemoteErr(payload)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
src/crypto/ecdh/nist.go
name string newPoint func() Point scalarOrder []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) ScalarMult(T, []byte) (T, error) ScalarBaseMult([]byte) (T, error) } func (c *nistCurve[Point]) String() string { return c.name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 8.1K bytes - Viewed (0)