How to use protobuf - 10 common examples

To help you get started, we’ve selected a few protobuf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webrtc-uwp / chromium-third_party / protobuf / python / google / protobuf / internal / test_util.py View on Github external
def __rtruediv__(self, y):
    return NonStandardInteger(operator.truediv(y, self.val))
github webrtc-uwp / chromium-third_party / protobuf / python / google / protobuf / internal / test_util.py View on Github external
def __lt__(self, y):
    if isinstance(y, NonStandardInteger):
      y = y.val
    return operator.lt(self.val, y)
github webrtc-uwp / chromium-third_party / protobuf / python / google / protobuf / internal / test_util.py View on Github external
def __rrshift__(self, y):
    return NonStandardInteger(operator.rshift(y, self.val))