MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / sha256HasherReset

Function sha256HasherReset

javascript/lib.c:532–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532napi_value sha256HasherReset(napi_env env, napi_callback_info info) {
533 napi_value js_this;
534 napi_get_cb_info(env, info, NULL, NULL, &js_this, NULL);
535
536 sha256_hasher_t *hasher;
537 napi_unwrap(env, js_this, (void **)&hasher);
538
539 sz_sha256_state_init(&hasher->state);
540 return js_this;
541}
542
543napi_value findLastAPI(napi_env env, napi_callback_info info) {
544 size_t argc = 2;

Callers

nothing calls this directly

Calls 1

sz_sha256_state_initFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…