Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 424 for uint32 (0.19 sec)

  1. internal/grid/muxclient.go

    	}
    	m.addResponse(Response{Err: &err})
    }
    
    func (m *muxClient) ack(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	if m.acked || m.outBlock == nil {
    		return
    	}
    	available := cap(m.outBlock)
    	for i := 0; i < available; i++ {
    		m.outBlock <- struct{}{}
    	}
    	m.acked = true
    }
    
    func (m *muxClient) unblockSend(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/bucket-stats_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Totals":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    		return nil, fmt.Errorf("Unsupported flag (%d)", flag)
    	}
    
    	var createflag uint32
    	switch {
    	case flag&syscall.O_CREAT == syscall.O_CREAT:
    		createflag = syscall.OPEN_ALWAYS
    	default:
    		createflag = syscall.OPEN_EXISTING
    	}
    
    	shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE)
    	accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. internal/disk/type_windows.go

    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(path string) string {
    	volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260)
    	var lpVolumeSerialNumber uint32
    	var lpFileSystemFlags, lpMaximumComponentLength uint32
    	var lpFileSystemNameBuffer, volumeName [260]uint16
    	ps := syscall.StringToUTF16Ptr(filepath.VolumeName(path))
    
    	// Extract values safely
    	// BOOL WINAPI GetVolumeInformation(
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom_gen.go

    	// string "bkts"
    	o = append(o, 0xa4, 0x62, 0x6b, 0x74, 0x73)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.QueuedBuckets)))
    	for za0001 := range z.QueuedBuckets {
    		o = msgp.AppendString(o, z.QueuedBuckets[za0001])
    	}
    	// string "dbkts"
    	o = append(o, 0xa5, 0x64, 0x62, 0x6b, 0x74, 0x73)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.DecommissionedBuckets)))
    	for za0002 := range z.DecommissionedBuckets {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 04 21:02:54 GMT 2022
    - 26.7K bytes
    - Viewed (0)
  6. cmd/last-minute_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != uint32(sizeLastElemMarker) {
    		err = msgp.ArrayError{Wanted: uint32(sizeLastElemMarker), Got: zb0001}
    		return
    	}
    	for za0001 := range z {
    		var field []byte
    		_ = field
    		var zb0002 uint32
    		zb0002, err = dc.ReadMapHeader()
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  7. 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"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  8. utils/utils_test.go

    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    		{"uint32", uint32(math.MaxUint32), "4294967295"},
    		{"uint64", uint64(math.MaxUint64), "18446744073709551615"},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. cmd/batch-rotate_gen.go

    	o = msgp.AppendArrayHeader(o, uint32(len(z.Tags)))
    	for za0001 := range z.Tags {
    		o, err = z.Tags[za0001].MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Tags", za0001)
    			return
    		}
    	}
    	// string "Metadata"
    	o = append(o, 0xa8, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.Metadata)))
    	for za0002 := range z.Metadata {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 27.1K bytes
    - Viewed (0)
  10. internal/grid/msg.go

    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    type message struct {
    	MuxID      uint64    // Mux to receive message if any.
    	Seq        uint32    // Sequence number.
    	DeadlineMS uint32    // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days)
    	Handler    HandlerID // ID of handler if invoking a remote handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top