Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for totalByteLength (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/s3select/genmessage.go

    	buf.WriteString(":event-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 4})
    	buf.WriteString("Cont")
    
    	header := buf.Bytes()
    	headerLength := len(header)
    	payloadLength := 0
    	totalLength := totalByteLength(headerLength, payloadLength)
    
    	buf = new(bytes.Buffer)
    	binary.Write(buf, binary.BigEndian, uint32(totalLength))
    	binary.Write(buf, binary.BigEndian, uint32(headerLength))
    	prelude := buf.Bytes()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  2. internal/s3select/message.go

    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    func genMessage(header, payload []byte) []byte {
    	headerLength := len(header)
    	payloadLength := len(payload)
    	totalLength := totalByteLength(headerLength, payloadLength)
    
    	buf := new(bytes.Buffer)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top