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

Function buildNumericCollections

integration_tests/idl_tests/javascript/roundtrip.ts:322–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320}
321
322function buildNumericCollections(): NumericCollections {
323 return {
324 int8Values: [1, -2, 3],
325 int16Values: [100, -200, 300],
326 int32Values: [1000, -2000, 3000],
327 int64Values: [10000n, -20000n, 30000n],
328 uint8Values: [200, 250],
329 uint16Values: [50000, 60000],
330 uint32Values: [2000000000, 2100000000],
331 uint64Values: [9000000000n, 12000000000n],
332 float32Values: [1.5, 2.5],
333 float64Values: [3.5, 4.5],
334 };
335}
336
337function buildNumericCollectionUnion(): NumericCollectionUnion {
338 return {

Callers 1

runStandardRoundTripFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected