Home
last modified time | relevance | path

Searched refs:getInt64WithDefault (Results 1 – 7 of 7) sorted by relevance

/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js1196 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(0));
1201 expect(accessor.getInt64WithDefault(1, Int64.fromInt(2)))
1207 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(1));
1213 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(2));
1221 accessor.getInt64WithDefault(1);
1228 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(0));
1235 () => Kernel.createEmpty().getInt64WithDefault(-1, Int64.fromInt(1)))
1238 expect(Kernel.createEmpty().getInt64WithDefault(-1, Int64.fromInt(1)))
1247 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(2));
1261 expect(accessor.getInt64WithDefault(1)).toEqual(Int64.fromInt(1));
[all …]
Dkernel.js654 getInt64WithDefault(fieldNumber, defaultValue = Int64.getZero()) { method in Kernel
761 return this.getInt64WithDefault(fieldNumber, defaultValue);
/third_party/protobuf/js/experimental/benchmarks/code_size/kernel/
Dpopular_types.js56 s += message.getInt64WithDefault(1);
Dall_types.js164 s += message.getInt64WithDefault(1);
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dtest_all_types_proto2.js54 const value = requestAccessor.getInt64WithDefault(2);
Dtest_all_types_proto3.js54 const value = requestAccessor.getInt64WithDefault(2);
/third_party/protobuf/js/experimental/runtime/testing/binary/
Dtest_message.js122 getInt64WithDefault(fieldNumber, defaultValue = Int64.getZero()) { method in TestMessage
123 return this.kernel_.getInt64WithDefault(fieldNumber, defaultValue);