Home
last modified time | relevance | path

Searched refs:DEFAULT_PIVOT (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/js/experimental/runtime/kernel/
Dbinary_storage_test.js14 const DEFAULT_PIVOT = 24; constant
39 const storage = new BinaryStorage(DEFAULT_PIVOT);
42 storage.set(DEFAULT_PIVOT, field2);
44 expect(storage.getPivot()).toBe(DEFAULT_PIVOT);
46 expect(storage.get(DEFAULT_PIVOT)).toBe(field2);
50 const storage = new BinaryStorage(DEFAULT_PIVOT);
52 storage.set(DEFAULT_PIVOT + 1, field1);
55 expect(storage.get(DEFAULT_PIVOT + 1)).toBe(field1);
74 storage.set(DEFAULT_PIVOT, field2);
75 storage.set(DEFAULT_PIVOT + 1, field3);
[all …]
Dstorage.js63 Storage.DEFAULT_PIVOT = 24;
Dbinary_storage.js17 constructor(pivot = Storage.DEFAULT_PIVOT) {