MCPcopy Index your code
hub / github.com/dask/dask / hash_buffer_hex

Function hash_buffer_hex

dask/hashing.py:94–100  ·  view source on GitHub ↗

Same as hash_buffer, but returns its result in hex-encoded form.

(buf, hasher=None)

Source from the content-addressed store, hash-verified

92
93
94def hash_buffer_hex(buf, hasher=None):
95 """
96 Same as hash_buffer, but returns its result in hex-encoded form.
97 """
98 h = hash_buffer(buf, hasher)
99 s = binascii.b2a_hex(h)
100 return s.decode()

Callers 5

_normalize_pickleFunction · 0.90
normalize_bufferFunction · 0.90
normalize_arrayFunction · 0.90
normalize_mmapFunction · 0.90
test_hash_buffer_hexFunction · 0.90

Calls 1

hash_bufferFunction · 0.85

Tested by 1

test_hash_buffer_hexFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…