- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for AppendUint (0.15 sec)
-
cmd/batch-handlers_gen.go
// string "lu" o = append(o, 0xa2, 0x6c, 0x75) o = msgp.AppendTime(o, z.LastUpdate) // string "ra" o = append(o, 0xa2, 0x72, 0x61) o = msgp.AppendInt(o, z.RetryAttempts) // string "at" o = append(o, 0xa2, 0x61, 0x74) o = msgp.AppendInt(o, z.Attempts) // string "cmp" o = append(o, 0xa3, 0x63, 0x6d, 0x70) o = msgp.AppendBool(o, z.Complete) // string "fld" o = append(o, 0xa3, 0x66, 0x6c, 0x64)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 20:27:52 UTC 2024 - 18.6K bytes - Viewed (0) -
src/archive/tar/writer.go
// Format the sparse map. hdr.Size = 0 // Replace with encoded size spb = append(strconv.AppendInt(spb, int64(len(spd)), 10), '\n') for _, s := range spd { hdr.Size += s.Length spb = append(strconv.AppendInt(spb, s.Offset, 10), '\n') spb = append(strconv.AppendInt(spb, s.Length, 10), '\n') } pad := blockPadding(int64(len(spb))) spb = append(spb, zeroBlock[:pad]...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K 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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
o = append(o, 0xa9, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78) o = msgp.AppendInt(o, z.PoolIndex) // string "SetIndex" o = append(o, 0xa8, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78) o = msgp.AppendInt(o, z.SetIndex) // string "DiskIndex" o = append(o, 0xa9, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78) o = msgp.AppendInt(o, z.DiskIndex) // string "Path" o = append(o, 0xa4, 0x50, 0x61, 0x74, 0x68)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 28 17:05:40 UTC 2024 - 21.5K bytes - Viewed (0) -
cmd/batch-expire_gen.go
o = append(o, 0xa5, 0x50, 0x75, 0x72, 0x67, 0x65) // map header, size 1 // string "RetainVersions" o = append(o, 0x81, 0xae, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73) o = msgp.AppendInt(o, z.Purge.RetainVersions) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BatchJobExpireFilter) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 19.8K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "Attempts" o = append(o, 0x82, 0xa8, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73) o = msgp.AppendInt(o, z.Attempts) // string "Delay" o = append(o, 0xa5, 0x44, 0x65, 0x6c, 0x61, 0x79) o = msgp.AppendDuration(o, z.Delay) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
src/net/http/cookie.go
if validCookieExpires(c.Expires) { b.WriteString("; Expires=") b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat)) } if c.MaxAge > 0 { b.WriteString("; Max-Age=") b.Write(strconv.AppendInt(buf[:0], int64(c.MaxAge), 10)) } else if c.MaxAge < 0 { b.WriteString("; Max-Age=0") } if c.HttpOnly { b.WriteString("; HttpOnly") } if c.Secure { b.WriteString("; Secure") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen.go
// map header, size 3 // string "Curr" o = append(o, 0x83, 0xa4, 0x43, 0x75, 0x72, 0x72) o = msgp.AppendInt(o, z.Curr) // string "Avg" o = append(o, 0xa3, 0x41, 0x76, 0x67) o = msgp.AppendFloat32(o, z.Avg) // string "Max" o = append(o, 0xa3, 0x4d, 0x61, 0x78) o = msgp.AppendInt(o, z.Max) return } // UnmarshalMsg implements msgp.Unmarshaler
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 33.3K bytes - Viewed (0) -
src/time/format_test.go
{0, 9, "000000000"}, {123, 9, "000000123"}, {123456, 9, "000123456"}, {123456789, 9, "123456789"}, } var got []byte for _, tt := range tests { got = AppendInt(got[:0], tt.in, tt.width) if string(got) != tt.want { t.Errorf("appendInt(%d, %d) = %s, want %s", tt.in, tt.width, got, tt.want) } } } type FormatTest struct { name string format string result string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/etag/etag.go
var n int64 h := md5.New() for _, etag := range etags { if !etag.IsMultipart() && !etag.IsEncrypted() { h.Write(etag) n++ } } etag := append(h.Sum(nil), '-') return strconv.AppendInt(etag, n, 10) } // Set adds the ETag to the HTTP headers. It overwrites any // existing ETag entry. // // Due to legacy S3 clients, that make incorrect assumptions
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0)