Download ADOOR_ACE/node_modules/dtrace-provider/test/basic_fire.js from thisisAce/adoor-store: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/thisisAce/adoor-store/resolve/main/ADOOR_ACE/node_modules/dtrace-provider/test/basic_fire.js
- Command line
-
hf download hf://thisisAce/adoor-store/ADOOR_ACE/node_modules/dtrace-provider/test/basic_fire.js
-
curl -L -o basic_fire.js https://huggingface.co/thisisAce/adoor-store/resolve/main/ADOOR_ACE/node_modules/dtrace-provider/test/basic_fire.js
222 Bytes
| var d = require('../dtrace-provider'); | |
| var provider = d.createDTraceProvider("nodeapp"); | |
| var probe = provider.addProbe("p1", "int", "char *"); | |
| provider.enable(); | |
| probe.fire(function(p) { | |
| return [42, 'forty-two']; | |
| }); | |