- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for uint16 (0.11 sec)
-
cmd/batch-handlers.go
} // Read header switch binary.LittleEndian.Uint16(data[0:2]) { case format: default: return fmt.Errorf("%s: unknown format: %d", ri.JobType, binary.LittleEndian.Uint16(data[0:2])) } switch binary.LittleEndian.Uint16(data[2:4]) { case version: default: return fmt.Errorf("%s: unknown version: %d", ri.JobType, binary.LittleEndian.Uint16(data[2:4])) } ri.mu.Lock() defer ri.mu.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
cmd/bucket-replication.go
// Read resync meta header switch binary.LittleEndian.Uint16(data[0:2]) { case resyncMetaFormat: default: return brs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2])) } switch binary.LittleEndian.Uint16(data[2:4]) { case resyncMetaVersion: default: return brs, fmt.Errorf("resyncMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4])) } // OK, parse data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
} if bytes.Equal(buf[4:8], []byte("1 ")) { // Set as 1,0. major, minor = 1, 0 } else { major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8]) } if major > xlVersionMajor { return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major) } return buf[8:], major, minor, nil } func isXL2V1Format(buf []byte) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
func (z *dataUsageEntry) EncodeMsg(en *msgp.Writer) (err error) { // check for omitted fields zb0001Len := uint32(9) var zb0001Mask uint16 /* 9 bits */ _ = zb0001Mask if z.AllTierStats == nil { zb0001Len-- zb0001Mask |= 0x80 } // variable map header, size zb0001Len err = en.Append(0x80 | uint8(zb0001Len)) if err != nil { return } if zb0001Len == 0 { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 75K bytes - Viewed (0) -
doc/go1.17_spec.html
<a href="#Blocks">universe block</a>: </p> <pre class="grammar"> Types: bool byte complex64 complex128 error float32 float64 int int8 int16 int32 int64 rune string uint uint8 uint16 uint32 uint64 uintptr Constants: true false iota Zero value: nil Functions: append cap close complex copy delete imag len
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
// check for omitted fields zb0001Len := uint32(8) var zb0001Mask uint8 /* 8 bits */ _ = zb0001Mask if z.Index == nil { zb0001Len-- zb0001Mask |= 0x20 } if z.Checksums == nil { zb0001Len-- zb0001Mask |= 0x40 } if z.Error == "" { zb0001Len-- zb0001Mask |= 0x80 } // variable map header, size zb0001Len err = en.Append(0x80 | uint8(zb0001Len)) if err != nil { return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) { // check for omitted fields zb0001Len := uint32(1) var zb0001Mask uint8 /* 1 bits */ _ = zb0001Mask if z.ObjectV2 == nil { zb0001Len-- zb0001Mask |= 0x1 } // variable map header, size zb0001Len err = en.Append(0x80 | uint8(zb0001Len)) if err != nil { return } if zb0001Len == 0 { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
func (z *DeleteOptions) EncodeMsg(en *msgp.Writer) (err error) { // check for omitted fields zb0001Len := uint32(5) var zb0001Mask uint8 /* 5 bits */ _ = zb0001Mask if z.OldDataDir == "" { zb0001Len-- zb0001Mask |= 0x10 } // variable map header, size zb0001Len err = en.Append(0x80 | uint8(zb0001Len)) if err != nil { return } if zb0001Len == 0 { return } // write "BaseOptions"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/data-usage-cache.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm.go
func ParseARMCondition(cond string) (uint8, bool) { return parseARMCondition(cond, armLS, armSCOND) } func parseARMCondition(cond string, ls, scond map[string]uint8) (uint8, bool) { cond = strings.TrimPrefix(cond, ".") if cond == "" { return arm.C_SCOND_NONE, true } names := strings.Split(cond, ".") bits := uint8(0) for _, name := range names {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 6.1K bytes - Viewed (0)