Searched refs:MAX_FIELD_NUMBER (Results 1 – 4 of 4) sorted by relevance
/third_party/protobuf/js/experimental/runtime/internal/ |
D | checks.js | 38 const MAX_FIELD_NUMBER = Math.pow(2, 29) - 1; constant 290 if (fieldNumber <= 0 || fieldNumber > MAX_FIELD_NUMBER) { 706 MAX_FIELD_NUMBER, property
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | kernel_test.js | 17 const {CHECK_BOUNDS, CHECK_CRITICAL_STATE, CHECK_CRITICAL_TYPE, CHECK_TYPE, MAX_FIELD_NUMBER} = goo… 36 expect(accessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toBe(true); 37 accessor.setBool(MAX_FIELD_NUMBER, false); 162 accessor.setBool(MAX_FIELD_NUMBER, true); 164 accessor.clearField(MAX_FIELD_NUMBER); 166 expect(accessor.hasFieldNumber(MAX_FIELD_NUMBER)).toEqual(false); 167 expect(accessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toEqual(false); 175 accessor.setBool(MAX_FIELD_NUMBER, true); 178 expect(clonedAccessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toEqual(true); 181 accessor.setBool(MAX_FIELD_NUMBER, false); [all …]
|
D | writer_test.js | 16 const {CHECK_BOUNDS, CHECK_TYPE, MAX_FIELD_NUMBER} = goog.require('protobuf.internal.checks'); 87 expect(() => writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT)) 94 writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT);
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor.py | 529 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor
|