MCPcopy Create free account
hub / github.com/WheretIB/nullc / duplicate

Function duplicate

NULLC/Compiler.cpp:150–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148int[] __newA(int size, int count, int type);\r\n\
149auto ref duplicate(auto ref obj);\r\n\
150void __duplicate_array(auto[] ref dst, auto[] src);\r\n\
151auto[] duplicate(auto[] arr){ auto[] r; __duplicate_array(&r, arr); return r; }\r\n\
152auto ref replace(auto ref l, r);\r\n\
153void swap(auto ref l, r);\r\n\
154int equal(auto ref l, r);\r\n\

Callers 2

TestSpecial.cppFile · 0.50

Calls 1

__duplicate_arrayFunction · 0.85

Tested by

no test coverage detected