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

Function Hasher_digest

python/stringzilla.c:5931–5936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5929}
5930
5931static PyObject *Hasher_digest(PyObject *self_obj, PyObject *noargs) {
5932 sz_unused_(noargs);
5933 Hasher *self = (Hasher *)self_obj;
5934 sz_u64_t hash = sz_hash_state_digest(&self->state);
5935 return PyLong_FromUnsignedLongLong((unsigned long long)hash);
5936}
5937
5938static PyObject *Hasher_hexdigest(PyObject *self_obj, PyObject *noargs) {
5939 sz_unused_(noargs);

Callers

nothing calls this directly

Calls 1

sz_hash_state_digestFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…