MCPcopy Create free account
hub / github.com/compilets/compilets / slice

Method slice

cpp/runtime/array.h:205–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204
205 Array<T>* slice(double start = 0) const {
206 return MakeArray<T>(sane::vector<T>(arr_.begin() + GetIndex(start),
207 arr_.end()));
208 }
209
210 Array<T>* slice(double start, double end) const {
211 return MakeArray<T>(sane::vector<T>(arr_.begin() + GetIndex(start),

Callers 4

TEST_FFunction · 0.80
castArgumentsFunction · 0.80
cli.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64