MCPcopy Index your code
hub / github.com/nodejs/node / ensureFixtureLibrary

Function ensureFixtureLibrary

benchmark/ffi/common.js:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 'ffi_test_library.so');
14
15function ensureFixtureLibrary() {
16 if (!fs.existsSync(libraryPath)) {
17 throw new Error(
18 `Missing FFI fixture library: ${libraryPath}. ` +
19 'Build it with `tools/test.py test/ffi/test-ffi-calls.js` first.',
20 );
21 }
22}
23
24module.exports = { libraryPath, ensureFixtureLibrary };

Callers 15

add-i16.jsFile · 0.70
add-u16.jsFile · 0.70
sum-3-i32.jsFile · 0.70
add-f32.jsFile · 0.70
pointer-buffer.jsFile · 0.70
add-f64.jsFile · 0.70

Calls 1

existsSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…