123456789101112131415161718192021222324252627282930 |
- cimport lakesuperior.cy_include.cytpl as tpl
- ctypedef tpl.tpl_bin Buffer
- ctypedef size_t Key
- ctypedef Key DoubleKey[2]
- ctypedef Key TripleKey[3]
- ctypedef Key QuadKey[4]
- cdef enum:
- KLEN = sizeof(Key)
- DBL_KLEN = 2 * sizeof(Key)
- TRP_KLEN = 3 * sizeof(Key)
- QUAD_KLEN = 4 * sizeof(Key)
- cdef bytes buffer_dump(Buffer* buf)
- cdef Key NULL_KEY = 0
- cdef Key FIRST_KEY = 1
- cdef TripleKey NULL_TRP = [NULL_KEY, NULL_KEY, NULL_KEY]
|