diff options
| author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-31 13:57:24 +0200 | 
|---|---|---|
| committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-31 13:57:24 +0200 | 
| commit | f1ba05780db1705493d9afb562332498b93d26f1 (patch) | |
| tree | fb429a657ba97f33e8140742de9bc74d9fc88e75 /klm/util/bit_packing.hh | |
| parent | aadabfdf37dfd451485277cb77fad02f77b361c6 (diff) | |
| parent | 317d650f6cb1e24ac6f3be6f7bf9d4246a59e0e5 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'klm/util/bit_packing.hh')
| -rw-r--r-- | klm/util/bit_packing.hh | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/klm/util/bit_packing.hh b/klm/util/bit_packing.hh index 73a5cb22..dcbd814c 100644 --- a/klm/util/bit_packing.hh +++ b/klm/util/bit_packing.hh @@ -174,6 +174,13 @@ struct BitsMask {    uint64_t mask;  }; +struct BitAddress { +  BitAddress(void *in_base, uint64_t in_offset) : base(in_base), offset(in_offset) {} + +  void *base; +  uint64_t offset; +}; +  } // namespace util  #endif // UTIL_BIT_PACKING__ | 
