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

Function func

test/core/test_alloca_stack.c:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <stdlib.h>
11
12int func(int i) {
13 char *pc = (char *)alloca(100);
14 *pc = i;
15 (*pc)++;
16 return (*pc) % 10;
17}
18int main() {
19 int total = 0;
20 for (int i = 0; i < 1024 * 1024; i++) total += func(i);

Callers 15

mainFunction · 0.70
conoutfvFunction · 0.70
mainFunction · 0.70
visitNodesFunction · 0.50
decoratedFunction · 0.50
decoratedFunction · 0.50
modifiedFunction · 0.50
metafuncFunction · 0.50
decoratedFunction · 0.50
metafuncFunction · 0.50
decoratedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected