MCPcopy Create free account
hub / github.com/apache/fory / create_numeric_struct

Function create_numeric_struct

benchmarks/python/benchmark.py:282–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280
281
282def create_numeric_struct() -> NumericStruct:
283 return NumericStruct(
284 f1=-12345,
285 f2=987654321,
286 f3=-31415,
287 f4=27182818,
288 f5=-32000,
289 f6=1000000,
290 f7=-999999999,
291 f8=42,
292 f9=123456789,
293 f10=-42,
294 f11=31415926,
295 f12=-27182818,
296 )
297
298
299def create_sample() -> Sample:

Callers 2

create_benchmark_dataFunction · 0.70

Calls 1

NumericStructClass · 0.70

Tested by

no test coverage detected