Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AppendUint32 (0.07 sec)

  1. internal/grid/msg_gen.go

    func (z *message) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// array header, size 7
    	o = append(o, 0x97)
    	o = msgp.AppendUint64(o, z.MuxID)
    	o = msgp.AppendUint32(o, z.Seq)
    	o = msgp.AppendUint32(o, z.DeadlineMS)
    	o = msgp.AppendUint8(o, uint8(z.Handler))
    	o = msgp.AppendUint8(o, uint8(z.Op))
    	o = msgp.AppendUint8(o, uint8(z.Flags))
    	o = msgp.AppendBytes(o, z.Payload)
    	return
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    		if debugPrint {
    			fmt.Println("Added subroute", hid.String(), "to message", msg, "len", len(dst)-before)
    		}
    	}
    	if msg.Flags&FlagCRCxxh3 != 0 {
    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    	return m.parent.send(m.ctx, dst)
    }
    
    // RequestStateless will send a single payload request and stream back results.
    // req may not be read/written to after calling.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	dst := GetByteBufferCap(msg.Msgsize())
    	dst, err := msg.MarshalMsg(dst)
    	if err != nil {
    		return err
    	}
    	if msg.Flags&FlagCRCxxh3 != 0 {
    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    	return c.send(c.ctx, dst)
    }
    
    // sendMsg will send
    func (c *Connection) sendMsg(conn net.Conn, msg message, payload msgp.MarshalSizer) error {
    	if payload != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    	o = msgp.AppendString(o, z.Name)
    	// string "Dir"
    	o = append(o, 0xa3, 0x44, 0x69, 0x72)
    	o = msgp.AppendBool(o, z.Dir)
    	// string "Mode"
    	o = append(o, 0xa4, 0x4d, 0x6f, 0x64, 0x65)
    	o = msgp.AppendUint32(o, z.Mode)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *StatInfo) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 41.2K bytes
    - Viewed (0)
Back to top