MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / callInterface2

Function callInterface2

test/embind/embind_benchmark.cpp:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void callInterface2(unsigned N, Interface& o) {
204 int i = 0;
205 for (unsigned i = 0; i < N; i += 8) {
206 o.call_with_typed_array(sizeof(int), &i);
207 o.call_with_typed_array(sizeof(int), &i);
208 o.call_with_typed_array(sizeof(int), &i);
209 o.call_with_typed_array(sizeof(int), &i);
210 o.call_with_typed_array(sizeof(int), &i);
211 o.call_with_typed_array(sizeof(int), &i);
212 o.call_with_typed_array(sizeof(int), &i);
213 o.call_with_typed_array(sizeof(int), &i);
214 }
215}
216
217void callInterface3(unsigned N, Interface& o) {
218 for (unsigned i = 0; i < N; i += 8) {

Callers

nothing calls this directly

Calls 1

call_with_typed_arrayMethod · 0.80

Tested by

no test coverage detected