Searched refs:createSharedString (Results 1 – 5 of 5) sorted by relevance
438 let mainOffset = builder.createSharedString(shared_string);439 assert.strictEqual(builder.createSharedString(shared_string), mainOffset);445 assert.strictEqual(builder.createSharedString(null), 0);447 assert.strictEqual(builder.createSharedString(undefined), 0);
466 val offset = fb.createSharedString(testString); in TestSharedStringPool()468 assert(offset == fb.createSharedString(testString)); in TestSharedStringPool()
1223 int offset = fb.createSharedString(testString); in TestSharedStringPool()1225 TestEq(offset, fb.createSharedString(testString)); in TestSharedStringPool()
504 createSharedString(s: string | Uint8Array): Offset { method in Builder
575 public int createSharedString(String s) { in createSharedString() method in FlatBufferBuilder