Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dpy_test.py204 self.assertEqual(monster2.VectorOfDoubles(0), 0)
496 self.assertEqual(monster.VectorOfDoubles(0), -1.7976931348623157e+308)
497 self.assertEqual(monster.VectorOfDoubles(1), 0)
498 self.assertEqual(monster.VectorOfDoubles(2), 1.7976931348623157e+308)
606 == [monster.VectorOfDoubles(i)
623 VectorOfDoubles = monster.VectorOfDoublesAsNumpy()
624 asserter(VectorOfDoubles.dtype == np.dtype('float64'))
625 asserter(VectorOfDoubles[0] == np.finfo('float64').min)
626 asserter(VectorOfDoubles[1] == 0.0)
627 asserter(VectorOfDoubles[2] == np.finfo('float64').max)
[all …]
Dluatest.lua59 assert(mon:VectorOfDoubles(i) == dbls[i])
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs562 Assert.AreEqual(a.VectorOfDoublesLength, b.VectorOfDoubles.Count); in AreEqual()
565 Assert.AreEqual(a.VectorOfDoubles(i), b.VectorOfDoubles[i]); in AreEqual()
653 Assert.AreEqual(a.VectorOfDoubles(i), b.VectorOfDoubles(i)); in AreEqual()
/external/flatbuffers/tests/MyGame/Example/
DMonster.go44 VectorOfDoubles []float64 member
164 if t.VectorOfDoubles != nil {
165 vectorOfDoublesLength := len(t.VectorOfDoubles)
168 builder.PrependFloat64(t.VectorOfDoubles[j])
374 t.VectorOfDoubles = make([]float64, vectorOfDoublesLength)
376 t.VectorOfDoubles[j] = rcv.VectorOfDoubles(j)
971 func (rcv *Monster) VectorOfDoubles(j int) float64 { func
DMonster.cs127 …public double VectorOfDoubles(int j) { int o = __p.__offset(70); return o != 0 ? __p.bb.GetDouble(… in VectorOfDoubles() method
383 _o.VectorOfDoubles = new List<double>(); in UnPackTo()
384 …(var _j = 0; _j < this.VectorOfDoublesLength; ++_j) {_o.VectorOfDoubles.Add(this.VectorOfDoubles(_… in UnPackTo()
500 if (_o.VectorOfDoubles != null) { in Pack()
501 var __vector_of_doubles = _o.VectorOfDoubles.ToArray(); in Pack()
678 public List<double> VectorOfDoubles { get; set; } property in MyGame.Example.MonsterT
766 this.VectorOfDoubles = null; in MonsterT()
DMonster.lua354 function Monster_mt:VectorOfDoubles(j) function
DMonster.py465 def VectorOfDoubles(self, j): member in Monster
979 self.vectorOfDoubles.append(monster.VectorOfDoubles(i))