Home
last modified time | relevance | path

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

/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js1984 expect(accessor.getDoubleWithDefault(1)).toEqual(0);
1989 expect(accessor.getDoubleWithDefault(1, 2)).toEqual(2);
1995 expect(accessor.getDoubleWithDefault(1)).toEqual(1);
2003 expect(accessor.getDoubleWithDefault(1)).toEqual(-1);
2011 accessor.getDoubleWithDefault(1);
2019 expect(() => Kernel.createEmpty().getDoubleWithDefault(-1, 1))
2022 expect(Kernel.createEmpty().getDoubleWithDefault(-1, 1)).toEqual(1);
2031 expect(accessor.getDoubleWithDefault(1)).toEqual(2);
2048 expect(accessor.getDoubleWithDefault(1)).toBe(1);
2051 expect(accessor.getDoubleWithDefault(1)).toBe(1);
[all …]
Dkernel.js581 getDoubleWithDefault(fieldNumber, defaultValue = 0) { method in Kernel
/third_party/protobuf/js/experimental/benchmarks/code_size/kernel/
Dpopular_types.js57 s += message.getDoubleWithDefault(1);
Dall_types.js159 s += message.getDoubleWithDefault(1);
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dtest_all_types_proto2.js104 const value = requestAccessor.getDoubleWithDefault(12);
Dtest_all_types_proto3.js104 const value = requestAccessor.getDoubleWithDefault(12);
/third_party/protobuf/js/experimental/runtime/testing/binary/
Dtest_message.js77 getDoubleWithDefault(fieldNumber, defaultValue = 0) { method in TestMessage
78 return this.kernel_.getDoubleWithDefault(fieldNumber, defaultValue);