MCPcopy
hub / github.com/opentrace/opentrace / assert

Function assert

ui/public/lbug_wasm_worker.js:1673–1677  ·  view source on GitHub ↗
(condition, text)

Source from the content-addressed store, hash-verified

1671 var ABORT = false;
1672 var EXITSTATUS;
1673 function assert(condition, text) {
1674 if (!condition) {
1675 abort('Assertion failed' + (text ? ': ' + text : ''));
1676 }
1677 }
1678 var isFileURI = (filename) => filename.startsWith('file://');
1679 function writeStackCookie() {
1680 var max = _emscripten_stack_get_end();

Callers 15

writeStackCookieFunction · 0.85
makeInvalidEarlyAccessFunction · 0.85
initRuntimeFunction · 0.85
createExportWrapperFunction · 0.85
ptrToStringFunction · 0.85
UTF8ToStringFunction · 0.85
___cxa_end_catchFunction · 0.85
stringToUTF8ArrayFunction · 0.85
alignMemoryFunction · 0.85
getFileDataAsTypedArrayFunction · 0.85

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected