/usr/include/kmer/eliasGammaEncoding.h is in libmeryl-dev 0~20150903+r2013-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef ELIAS_GAMMA_ENCODING_H
#define ELIAS_GAMMA_ENCODING_H
#include "bitPacking.h"
inline
void
setEliasGammaEncodedNumber(uint64 *ptr,
                           uint64  pos,
                           uint64 *siz,
                           uint64  val) {
  uint64 b = logBaseTwo64(val);
  setUnaryEncodedNumber(ptr, pos, siz, b);
  pos += *siz;
  setDecodedValue(ptr, pos, b, val);
  *siz += b;
}
inline
uint64
getEliasGammaEncodedNumber(uint64 *ptr,
                           uint64  pos,
                           uint64 *siz) {
  uint64 b = getUnaryEncodedNumber(ptr, pos, siz);
  pos  += *siz;
  *siz += b;
  return(getDecodedValue(ptr, pos, b));
}
#endif  //  ELIAS_GAMMA_ENCODING_H
 |