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

Function serializer_offset

benchmarks/plot_style.py:87–88  ·  view source on GitHub ↗
(index: int, count: int)

Source from the content-addressed store, hash-verified

85
86
87def serializer_offset(index: int, count: int) -> float:
88 return (index - (count - 1) / 2) * GROUP_OFFSET_STEP
89
90
91def set_grouped_operation_axis(ax, labels=("Serialize", "Deserialize")) -> None:

Callers 9

plot_summary_groupFunction · 0.90
plot_groupFunction · 0.90
plot_groupFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected