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

Function Sha256_reset

python/stringzilla.c:6039–6045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6037}
6038
6039static PyObject *Sha256_reset(PyObject *self_obj, PyObject *noargs) {
6040 sz_unused_(noargs);
6041 Sha256 *self = (Sha256 *)self_obj;
6042 sz_sha256_state_init(&self->state);
6043 Py_INCREF(self_obj);
6044 return self_obj;
6045}
6046
6047static PyObject *Sha256_copy(PyObject *self_obj, PyObject *noargs) {
6048 sz_unused_(noargs);

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…