- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 740 for gbyte (0.14 sec)
-
src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go
// //go:noescape func kimd(function code, chain *[200]byte, src []byte) // klmd is a wrapper for the 'compute last message digest' instruction. // src padding is handled by the instruction. // //go:noescape func klmd(function code, chain *[200]byte, dst, src []byte) type asmState struct { a [200]byte // 1600 bit state buf []byte // care must be taken to ensure cap(buf) is a multiple of rate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
const metaDataReadDefault = 4 << 10 // Return used metadata byte slices here. var metaDataPool = sync.Pool{New: func() interface{} { return make([]byte, 0, metaDataReadDefault) }} // metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault. // It will be length 0. func metaDataPoolGet() []byte { return metaDataPool.Get().([]byte)[:0] }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("0.1 kB", format.format(_50_bytes, ScaleUnit.KILOBYTE)); assertEquals("0 MB", format.format(_50_bytes, ScaleUnit.MEGABYTE)); assertEquals("0 GB", format.format(_50_bytes, ScaleUnit.GIGABYTE)); long _999_bytes = 999L; assertEquals("999 B", format.format(_999_bytes)); assertEquals("999 B", format.format(_999_bytes, ScaleUnit.BYTE));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 13K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
func (z xlMetaBuf) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendBytes(o, []byte(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *xlMetaBuf) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 []byte zb0001, bts, err = msgp.ReadBytesBytes(bts, []byte((*z))) if err != nil { err = msgp.WrapError(err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 53.8K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
} // MarshalMsg implements msgp.Marshaler func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 0 _ = z o = append(o, 0x80) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BaseOptions) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 130.6K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
func testGoldenIEEE(t *testing.T, crcFunc func(b []byte) uint32) { for _, g := range golden { if crc := crcFunc([]byte(g.in)); crc != g.ieee { t.Errorf("IEEE(%s) = 0x%x want 0x%x", g.in, crc, g.ieee) } } } // testGoldenCastagnoli verifies that the given function returns // correct IEEE checksums. func testGoldenCastagnoli(t *testing.T, crcFunc func(b []byte) uint32) { for _, g := range golden {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
return false; } byte[] bytes = ip.getAddress(); if ((bytes[8] | (byte) 0x03) != (byte) 0x03) { // Verify that high byte of the 64 bit identifier is zero, modulo // the U/L and G bits, with which we are not concerned. return false; } return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 47.1K bytes - Viewed (0) -
src/syscall/syscall_linux.go
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) { return mapper.Mmap(fd, offset, length, prot, flags) } func Munmap(b []byte) (err error) { return mapper.Munmap(b) } //sys Madvise(b []byte, advice int) (err error) //sys Mprotect(b []byte, prot int) (err error) //sys Mlock(b []byte) (err error) //sys Munlock(b []byte) (err error) //sys Mlockall(flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/go/build/read.go
b *bufio.Reader buf []byte peek byte err error eof bool nerr int pos token.Position } var bom = []byte{0xef, 0xbb, 0xbf} func newImportReader(name string, r io.Reader) *importReader { b := bufio.NewReader(r) // Remove leading UTF-8 BOM. // Per https://golang.org/ref/spec#Source_code_representation: // a compiler may ignore a UTF-8-encoded byte order mark (U+FEFF)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
name string fn func(order ByteOrder, data any) ([]byte, error) }{ { "Write", func(order ByteOrder, data any) ([]byte, error) { buf := new(bytes.Buffer) err := Write(buf, order, data) return buf.Bytes(), err }, }, { "Encode", func(order ByteOrder, data any) ([]byte, error) { size := Size(data) var buf []byte if size > 0 { buf = make([]byte, Size(data))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0)