• Home
  • Raw
  • Download

Lines Matching full:builder

142 def MonsterExtraStart(builder: flatbuffers.Builder):  argument
143 builder.StartObject(11)
145 def Start(builder: flatbuffers.Builder): argument
146 MonsterExtraStart(builder)
148 def MonsterExtraAddD0(builder: flatbuffers.Builder, d0: float): argument
149 builder.PrependFloat64Slot(0, d0, float('nan'))
151 def AddD0(builder: flatbuffers.Builder, d0: float): argument
152 MonsterExtraAddD0(builder, d0)
154 def MonsterExtraAddD1(builder: flatbuffers.Builder, d1: float): argument
155 builder.PrependFloat64Slot(1, d1, float('nan'))
157 def AddD1(builder: flatbuffers.Builder, d1: float): argument
158 MonsterExtraAddD1(builder, d1)
160 def MonsterExtraAddD2(builder: flatbuffers.Builder, d2: float): argument
161 builder.PrependFloat64Slot(2, d2, float('inf'))
163 def AddD2(builder: flatbuffers.Builder, d2: float): argument
164 MonsterExtraAddD2(builder, d2)
166 def MonsterExtraAddD3(builder: flatbuffers.Builder, d3: float): argument
167 builder.PrependFloat64Slot(3, d3, float('-inf'))
169 def AddD3(builder: flatbuffers.Builder, d3: float): argument
170 MonsterExtraAddD3(builder, d3)
172 def MonsterExtraAddF0(builder: flatbuffers.Builder, f0: float): argument
173 builder.PrependFloat32Slot(4, f0, float('nan'))
175 def AddF0(builder: flatbuffers.Builder, f0: float): argument
176 MonsterExtraAddF0(builder, f0)
178 def MonsterExtraAddF1(builder: flatbuffers.Builder, f1: float): argument
179 builder.PrependFloat32Slot(5, f1, float('nan'))
181 def AddF1(builder: flatbuffers.Builder, f1: float): argument
182 MonsterExtraAddF1(builder, f1)
184 def MonsterExtraAddF2(builder: flatbuffers.Builder, f2: float): argument
185 builder.PrependFloat32Slot(6, f2, float('inf'))
187 def AddF2(builder: flatbuffers.Builder, f2: float): argument
188 MonsterExtraAddF2(builder, f2)
190 def MonsterExtraAddF3(builder: flatbuffers.Builder, f3: float): argument
191 builder.PrependFloat32Slot(7, f3, float('-inf'))
193 def AddF3(builder: flatbuffers.Builder, f3: float): argument
194 MonsterExtraAddF3(builder, f3)
196 def MonsterExtraAddDvec(builder: flatbuffers.Builder, dvec: int): argument
197 builder.PrependUOffsetTRelativeSlot(8, flatbuffers.number_types.UOffsetTFlags.py_type(dvec), 0)
199 def AddDvec(builder: flatbuffers.Builder, dvec: int): argument
200 MonsterExtraAddDvec(builder, dvec)
202 def MonsterExtraStartDvecVector(builder, numElems: int) -> int: argument
203 return builder.StartVector(8, numElems, 8)
205 def StartDvecVector(builder, numElems: int) -> int: argument
206 return MonsterExtraStartDvecVector(builder, numElems)
208 def MonsterExtraAddFvec(builder: flatbuffers.Builder, fvec: int): argument
209 builder.PrependUOffsetTRelativeSlot(9, flatbuffers.number_types.UOffsetTFlags.py_type(fvec), 0)
211 def AddFvec(builder: flatbuffers.Builder, fvec: int): argument
212 MonsterExtraAddFvec(builder, fvec)
214 def MonsterExtraStartFvecVector(builder, numElems: int) -> int: argument
215 return builder.StartVector(4, numElems, 4)
217 def StartFvecVector(builder, numElems: int) -> int: argument
218 return MonsterExtraStartFvecVector(builder, numElems)
220 def MonsterExtraEnd(builder: flatbuffers.Builder) -> int: argument
221 return builder.EndObject()
223 def End(builder: flatbuffers.Builder) -> int: argument
224 return MonsterExtraEnd(builder)
304 def Pack(self, builder): argument
307 dvec = builder.CreateNumpyVector(self.dvec)
309 MonsterExtraStartDvecVector(builder, len(self.dvec))
311 builder.PrependFloat64(self.dvec[i])
312 dvec = builder.EndVector()
315 fvec = builder.CreateNumpyVector(self.fvec)
317 MonsterExtraStartFvecVector(builder, len(self.fvec))
319 builder.PrependFloat32(self.fvec[i])
320 fvec = builder.EndVector()
321 MonsterExtraStart(builder)
322 MonsterExtraAddD0(builder, self.d0)
323 MonsterExtraAddD1(builder, self.d1)
324 MonsterExtraAddD2(builder, self.d2)
325 MonsterExtraAddD3(builder, self.d3)
326 MonsterExtraAddF0(builder, self.f0)
327 MonsterExtraAddF1(builder, self.f1)
328 MonsterExtraAddF2(builder, self.f2)
329 MonsterExtraAddF3(builder, self.f3)
331 MonsterExtraAddDvec(builder, dvec)
333 MonsterExtraAddFvec(builder, fvec)
334 monsterExtra = MonsterExtraEnd(builder)