Searched refs:VectorOfLongs (Results 1 – 7 of 7) sorted by relevance
/third_party/flatbuffers/tests/ |
D | py_test.py | 200 self.assertEqual(monster2.VectorOfLongs(0), 0) 479 self.assertEqual(monster.VectorOfLongs(0), 1) 480 self.assertEqual(monster.VectorOfLongs(1), 100) 481 self.assertEqual(monster.VectorOfLongs(2), 10000) 482 self.assertEqual(monster.VectorOfLongs(3), 1000000) 483 self.assertEqual(monster.VectorOfLongs(4), 100000000) 602 asserter(monster.VectorOfLongs(i) == 10 ** (i * 2)) 618 VectorOfLongs = monster.VectorOfLongsAsNumpy() 619 asserter(VectorOfLongs.dtype == np.dtype('int64')) 621 asserter(VectorOfLongs[i] == 10 ** (i * 2)) [all …]
|
D | luatest.lua | 67 assert(mon:VectorOfLongs(i) == 10^((i-1)*2))
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Monster.go | 43 VectorOfLongs []int64 member 157 if t.VectorOfLongs != nil { 158 vectorOfLongsLength := len(t.VectorOfLongs) 161 builder.PrependInt64(t.VectorOfLongs[j]) 390 t.VectorOfLongs = make([]int64, vectorOfLongsLength) 392 t.VectorOfLongs[j] = rcv.VectorOfLongs(j) 981 func (rcv *Monster) VectorOfLongs(j int) int64 { func
|
D | Monster.cs | 121 …public long VectorOfLongs(int j) { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(__p.__… in VectorOfLongs() method 516 _o.VectorOfLongs = new List<long>(); in UnPackTo() 517 …for (var _j = 0; _j < this.VectorOfLongsLength; ++_j) {_o.VectorOfLongs.Add(this.VectorOfLongs(_j)… in UnPackTo() 634 if (_o.VectorOfLongs != null) { in Pack() 635 var __vector_of_longs = _o.VectorOfLongs.ToArray(); in Pack() 828 public List<long> VectorOfLongs { get; set; } property in MyGame.Example.MonsterT 921 this.VectorOfLongs = null; in MonsterT()
|
D | Monster.lua | 351 function Monster_mt:VectorOfLongs(j) function
|
D | Monster.py | 450 def VectorOfLongs(self, j): member in Monster 1285 self.vectorOfLongs.append(monster.VectorOfLongs(i))
|
/third_party/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersExampleTests.cs | 558 Assert.AreEqual(a.VectorOfLongsLength, b.VectorOfLongs.Count); in AreEqual() 561 Assert.AreEqual(a.VectorOfLongs(i), b.VectorOfLongs[i]); in AreEqual() 649 Assert.AreEqual(a.VectorOfLongs(i), b.VectorOfLongs(i)); in AreEqual()
|