Lines Matching full:is
18 software distributed under the License is distributed on an
19 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
29 The information here is _mostly_ based on the Java implementation in the Apache thrift library (ver…
54 numbers into the positive number space. When we read 0, 1, 2, 3, 4 or 5 from the wire, this is tran…
64 The zigzag int is then encoded as a *var int*, also known as *Unsigned LEB128*. Var ints take 1 to…
69 For example, the integer 50399 is encoded as follows:
82 To encode an `int16` as zigzag int, it is first converted to an `int32` and then encoded as such. T…
91 Binary is sent as follows:
102 * `byte length` is the length of the byte array, using var int encoding (must be >= 0).
114 in 8 bytes in big endian order, the compact protocol encodes it in little endian order - this is du…
119 Booleans are encoded differently depending on whether it is a field value (in a struct) or an eleme…
129 *Note*: Since the length is fixed, no `byte length` prefix is necessary and the field is always 16 …
145 * `pppppppp` is the protocol id, fixed to `1000 0010`, 0x82.
146 * `mmm` is the message type, an unsigned 3 bit integer.
147 * `vvvvv` is the version, an unsigned 5 bit integer, fixed to `00001`.
148 * `seq id` is the sequence id, a signed 32 bit integer encoded as a var int.
149 * `name length` is the byte length of the name field, a signed 32 bit integer encoded as a var int …
150 * `name` is the method name to invoke, a UTF-8 encoded string.
161 A *Struct* is a sequence of zero or more fields, followed by a stop field. Each field starts with a…
162 is followed by the encoded field value. The encoding can be summarized by the following BNF:
170 order. Thrift's type system is not extensible; you can only encode the primitive types and structs.…
174 Note that the field name is not encoded so field renames in the IDL do not affect forward and backw…
177 another field-type than what is expected. Theoretically this could be detected at the cost of some …
180 A *Union* is encoded exactly the same as a struct with the additional restriction that at most 1 fi…
182 An *Exception* is encoded exactly the same as a struct.
205 * `dddd` is the field id delta, an unsigned 4 bits integer, strictly positive.
206 * `tttt` is field-type id, an unsigned 4 bit integer.
210 …an be computed by `current-field-id - previous-field-id`, or just `current-field-id` if this is the
211 first of the struct. The short form should be used when the field id delta is in the range 1 - 15 (…
251 * `ssss` is the size, 4 bit unsigned int, values `0` - `14`
252 * `tttt` is the element-type, a 4 bit unsigned int
253 * `size` is the size, a var int (int32), positive values `15` or higher
256 The short form should be used when the length is in the range 0 - 14 (inclusive).
273 *Note*: Although field-types and element-types lists are currently very similar, there is _no guara…
276 The maximum list/set size is configurable. By default there is no limit (meaning the limit is the m…
304 * `size` is the size, a var int (int32), strictly positive values
305 * `kkkk` is the key element-type, a 4 bit unsigned int
306 * `vvvv` is the value element-type, a 4 bit unsigned int
309 The element-types are the same as for lists. The full list is included in the 'List and set' sectio…
311 The maximum map size is configurable. By default there is no limit (meaning the limit is the maximu…
316 The following BNF notation is used:
318 * a plus `+` appended to an item represents repetition; the item is repeated 1 or more times
319 * a star `*` appended to an item represents optional repetition; the item is repeated 0 or more tim…
320 * a pipe `|` between items represents choice, the first matching item is selected