Home
last modified time | relevance | path

Searched refs:MAX_FIELD_NUMBER (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/js/experimental/runtime/internal/
Dchecks.js38 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/
Dkernel_test.js17 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 …]
Dwriter_test.js16 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/
Ddescriptor.py529 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor