MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / range_impl

Function range_impl

flow-rs/src/config/parser.rs:27–29  ·  view source on GitHub ↗
(start: i64, end: i64, step: i64)

Source from the content-addressed store, hash-verified

25}
26
27fn range_impl(start: i64, end: i64, step: i64) -> Vec<i64> {
28 (start..end).step_by(step as usize).collect()
29}
30
31fn range(n: Data) -> Data {
32 let list = match &*n {

Callers 1

rangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected