MCPcopy Create free account
hub / github.com/davisking/dlib / make_an_array

Function make_an_array

dlib/java/swig_api.h:109–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109array<int32_t> make_an_array(size_t s)
110{
111 array<int32_t> arr(s);
112 array_view_crit<int32_t> a(arr);
113
114 for (size_t i = 0; i < a.size(); ++i)
115 a[i] = i;
116
117 return arr;
118}
119
120
121// ----------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected