Home
last modified time | relevance | path

Searched refs:lastFieldId (Results 1 – 3 of 3) sorted by relevance

/thrift-3.4.0/lib/lua/
DTCompactProtocol.lua37 lastFieldId = 0,
98 self.lastFieldId = 0
121 self.lastField[self.lastFieldIndex] = self.lastFieldId
123 self.lastFieldId = 0
128 self.lastFieldId = self.lastField[self.lastFieldIndex]
224 local offset = id - self.lastFieldId
225 if id > self.lastFieldId and offset <= 15 then
231 self.lastFieldId = id
278 self.lastField[self.lastFieldIndex] = self.lastFieldId
280 self.lastFieldId = 0
[all …]
/thrift-3.4.0/lib/swift/Sources/
DTCompactProtocol.swift54 var lastFieldId: UInt8 = 0 variable
275 lastField.append(lastFieldId) in readStructBegin()
276 lastFieldId = 0 in readStructBegin()
281 lastFieldId = lastField.last ?? 0 in readStructEnd()
305 fieldId = Int16(lastFieldId + modifier) in readFieldBegin()
317 lastFieldId = UInt8(fieldId) in readFieldBegin()
463 lastField.append(lastFieldId) in writeStructBegin()
464 lastFieldId = 0 in writeStructBegin()
468 lastFieldId = lastField.last ?? 0 in writeStructEnd()
496 let diff = UInt8(fieldID) - lastFieldId
[all …]
/thrift-3.4.0/lib/go/thrift/
Dcompact_protocol.go114 lastFieldId int member
181 p.lastField = append(p.lastField, p.lastFieldId)
182 p.lastFieldId = 0
193 p.lastFieldId = p.lastField[len(p.lastField)-1]
224 if fieldId > p.lastFieldId && fieldId-p.lastFieldId <= 15 {
226 err := p.writeByteDirect(byte((fieldId-p.lastFieldId)<<4) | typeToWrite)
243 p.lastFieldId = fieldId
419 p.lastField = append(p.lastField, p.lastFieldId)
420 p.lastFieldId = 0
431 p.lastFieldId = p.lastField[len(p.lastField)-1]
[all …]