|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Variables | |
| int | TAG_TYPE_BITS = 3 |
| tuple | TAG_TYPE_MASK = (1 << TAG_TYPE_BITS) - 1 |
| int | WIRETYPE_VARINT = 0 |
| int | WIRETYPE_FIXED64 = 1 |
| int | WIRETYPE_LENGTH_DELIMITED = 2 |
| int | WIRETYPE_START_GROUP = 3 |
| int | WIRETYPE_END_GROUP = 4 |
| int | WIRETYPE_FIXED32 = 5 |
| INT32_MAX = int((1 << 31) - 1) | |
| INT32_MIN = int(-(1 << 31)) | |
| tuple | UINT32_MAX = (1 << 32) - 1 |
| tuple | INT64_MAX = (1 << 63) - 1 |
| INT64_MIN = -(1 << 63) | |
| tuple | UINT64_MAX = (1 << 64) - 1 |
| string | FORMAT_UINT32_LITTLE_ENDIAN = '<I' |
| string | FORMAT_UINT64_LITTLE_ENDIAN = '<Q' |
| string | FORMAT_FLOAT_LITTLE_ENDIAN = '<f' |
| string | FORMAT_DOUBLE_LITTLE_ENDIAN = '<d' |
| tuple | NON_PACKABLE_TYPES |
| def google.protobuf.internal.wire_format.BoolByteSize | ( | field_number, | |
| b | |||
| ) |
| def google.protobuf.internal.wire_format.BytesByteSize | ( | field_number, | |
| b | |||
| ) |
| def google.protobuf.internal.wire_format.DoubleByteSize | ( | field_number, | |
| double | |||
| ) |
| def google.protobuf.internal.wire_format.EnumByteSize | ( | field_number, | |
| enum | |||
| ) |
| def google.protobuf.internal.wire_format.Fixed32ByteSize | ( | field_number, | |
| fixed32 | |||
| ) |
| def google.protobuf.internal.wire_format.Fixed64ByteSize | ( | field_number, | |
| fixed64 | |||
| ) |
| def google.protobuf.internal.wire_format.FloatByteSize | ( | field_number, | |
| flt | |||
| ) |
| def google.protobuf.internal.wire_format.GroupByteSize | ( | field_number, | |
| message | |||
| ) |
| def google.protobuf.internal.wire_format.Int32ByteSize | ( | field_number, | |
| int32 | |||
| ) |
| def google.protobuf.internal.wire_format.Int32ByteSizeNoTag | ( | int32 | ) |
| def google.protobuf.internal.wire_format.Int64ByteSize | ( | field_number, | |
| int64 | |||
| ) |
| def google.protobuf.internal.wire_format.IsTypePackable | ( | field_type | ) |
Return true iff packable = true is valid for fields of this type. Args: field_type: a FieldDescriptor::Type value. Returns: True iff fields of this type are packable.
| def google.protobuf.internal.wire_format.MessageByteSize | ( | field_number, | |
| message | |||
| ) |
| def google.protobuf.internal.wire_format.MessageSetItemByteSize | ( | field_number, | |
| msg | |||
| ) |
| def google.protobuf.internal.wire_format.PackTag | ( | field_number, | |
| wire_type | |||
| ) |
Returns an unsigned 32-bit integer that encodes the field number and wire type information in standard protocol message wire format. Args: field_number: Expected to be an integer in the range [1, 1 << 29) wire_type: One of the WIRETYPE_* constants.
| def google.protobuf.internal.wire_format.SFixed32ByteSize | ( | field_number, | |
| sfixed32 | |||
| ) |
| def google.protobuf.internal.wire_format.SFixed64ByteSize | ( | field_number, | |
| sfixed64 | |||
| ) |
| def google.protobuf.internal.wire_format.SInt32ByteSize | ( | field_number, | |
| int32 | |||
| ) |
| def google.protobuf.internal.wire_format.SInt64ByteSize | ( | field_number, | |
| int64 | |||
| ) |
| def google.protobuf.internal.wire_format.StringByteSize | ( | field_number, | |
| string | |||
| ) |
| def google.protobuf.internal.wire_format.TagByteSize | ( | field_number | ) |
Returns the bytes required to serialize a tag with this field number.
| def google.protobuf.internal.wire_format.UInt32ByteSize | ( | field_number, | |
| uint32 | |||
| ) |
| def google.protobuf.internal.wire_format.UInt64ByteSize | ( | field_number, | |
| uint64 | |||
| ) |
| def google.protobuf.internal.wire_format.UnpackTag | ( | tag | ) |
The inverse of PackTag(). Given an unsigned 32-bit number, returns a (field_number, wire_type) tuple.
| def google.protobuf.internal.wire_format.ZigZagDecode | ( | value | ) |
Inverse of ZigZagEncode().
| def google.protobuf.internal.wire_format.ZigZagEncode | ( | value | ) |
ZigZag Transform: Encodes signed integers so that they can be effectively used with varint encoding. See wire_format.h for more details.
| string google.protobuf.internal.wire_format.FORMAT_UINT64_LITTLE_ENDIAN = '<Q' |
| google.protobuf.internal.wire_format.INT32_MAX = int((1 << 31) - 1) |
| google.protobuf.internal.wire_format.INT32_MIN = int(-(1 << 31)) |
| tuple google.protobuf.internal.wire_format.INT64_MAX = (1 << 63) - 1 |
| google.protobuf.internal.wire_format.INT64_MIN = -(1 << 63) |
| tuple google.protobuf.internal.wire_format.NON_PACKABLE_TYPES |
| int google.protobuf.internal.wire_format.TAG_TYPE_BITS = 3 |
| tuple google.protobuf.internal.wire_format.TAG_TYPE_MASK = (1 << TAG_TYPE_BITS) - 1 |
| tuple google.protobuf.internal.wire_format.UINT32_MAX = (1 << 32) - 1 |
| tuple google.protobuf.internal.wire_format.UINT64_MAX = (1 << 64) - 1 |
| int google.protobuf.internal.wire_format.WIRETYPE_END_GROUP = 4 |
| int google.protobuf.internal.wire_format.WIRETYPE_FIXED32 = 5 |
| int google.protobuf.internal.wire_format.WIRETYPE_FIXED64 = 1 |
| int google.protobuf.internal.wire_format.WIRETYPE_LENGTH_DELIMITED = 2 |
| int google.protobuf.internal.wire_format.WIRETYPE_START_GROUP = 3 |
| int google.protobuf.internal.wire_format.WIRETYPE_VARINT = 0 |
1.8.13