keyset.pxd 513 B

1234567891011121314151617
  1. from lakesuperior.cy_include cimport collections as cc
  2. from lakesuperior.model.base cimport (
  3. KeyIdx, Key, DoubleKey, TripleKey, Buffer
  4. )
  5. cdef class Keyset:
  6. cdef:
  7. readonly size_t ct, size
  8. readonly cc.Array* data
  9. readonly cc.ArrayConf conf
  10. unsigned char *get_item(self, i)
  11. bint iter_next(self, unsigned char** val)
  12. bint contains(self, const void *val)
  13. Keyset lookup(
  14. self, const KeyIdx* sk, const KeyIdx* pk, const KeyIdx* ok
  15. )