We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cimport
1 parent 4341ce3 commit 4baf1e1Copy full SHA for 4baf1e1
numcodecs/fletcher32.pyx
@@ -2,13 +2,16 @@
2
# cython: overflowcheck=False
3
# cython: cdivision=True
4
5
-from numcodecs.abc import Codec
6
-from numcodecs.compat import ensure_contiguous_ndarray
7
8
from libc.stdint cimport uint8_t, uint16_t, uint32_t
9
+from cpython.bytes cimport PyBytes_FromStringAndSize
+
10
from ._utils cimport store_le32, load_le32
11
12
+from numcodecs.abc import Codec
13
+from numcodecs.compat import ensure_contiguous_ndarray
14
15
16
cdef uint32_t _fletcher32(const uint8_t[::1] _data):
17
# converted from
0 commit comments