- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AppendUint (0.06 sec)
-
cmd/xl-storage-format-v2.go
// We will fill out the correct size when we know it. dst = append(dst, 0xc6, 0, 0, 0, 0) dataOffset := len(dst) dst = msgp.AppendUint(dst, xlHeaderVersion) dst = msgp.AppendUint(dst, xlMetaVersion) dst = msgp.AppendInt(dst, len(x.versions)) tmp := metaDataPoolGet() defer metaDataPoolPut(tmp) for _, ver := range x.versions { var err error // Add header
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
cmd/bucket-replication-utils_gen.go
// string "o" o = append(o, 0xa1, 0x6f) o = msgp.AppendString(o, za0002.Object) // string "rc" o = append(o, 0xa2, 0x72, 0x63) o = msgp.AppendInt(o, za0002.RetryCount) } // string "v" o = append(o, 0xa1, 0x76) o = msgp.AppendInt(o, z.Version) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *MRFReplicateEntries) UnmarshalMsg(bts []byte) (o []byte, err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 59.8K bytes - Viewed (0) -
src/bytes/buffer_test.go
} } func TestWriteAppend(t *testing.T) { var got Buffer var want []byte for i := 0; i < 1000; i++ { b := got.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) want = strconv.AppendInt(want, int64(i), 10) got.Write(b) } if !Equal(got.Bytes(), want) { t.Fatalf("Bytes() = %q, want %q", &got, want) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
src/bytes/example_test.go
os.Stdout.Write(buf.Bytes()) // Output: hello world } func ExampleBuffer_AvailableBuffer() { var buf bytes.Buffer for i := 0; i < 4; i++ { b := buf.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) b = append(b, ' ') buf.Write(b) } os.Stdout.Write(buf.Bytes()) // Output: 0 1 2 3 } func ExampleBuffer_Cap() { buf1 := bytes.NewBuffer(make([]byte, 10))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
return } if z.Data == nil { // allownil: if nil o = msgp.AppendNil(o) } else { o = msgp.AppendBytes(o, z.Data) } o = msgp.AppendInt(o, z.NumVersions) o = msgp.AppendTime(o, z.SuccessorModTime) o = msgp.AppendBool(o, z.Fresh) o = msgp.AppendInt(o, z.Idx) if z.Checksum == nil { // allownil: if nil o = msgp.AppendNil(o) } else { o = msgp.AppendBytes(o, z.Checksum) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 152K bytes - Viewed (0)