Sebastian Messmer
62549eeae6
Adapt to new cpputils::Random interface
2015-10-22 17:41:43 +02:00
Sebastian Meßmer
821550e62f
Unify (and fix) include guards
2015-10-15 13:09:21 +02:00
Sebastian Messmer
fd93e4c199
Use the new assert that doesn't crash the program in a release build
2015-07-22 13:42:07 +02:00
Sebastian Messmer
a945e4f0fc
Changed Blockstore::tryCreate() to return optional<unique_ref<Block>> instead of unique_ptr<Block>
2015-07-20 18:57:48 +02:00
Sebastian Messmer
2110831374
Make constructors explicit where adequate
2015-04-27 18:20:51 +02:00
Sebastian Messmer
59bfddc18f
Moved Data, FixedSizeData and DataBlockFixture to cpp-utils
2015-04-25 02:48:41 +02:00
Sebastian Messmer
6e50c9d8a5
Factor out encryption algorithm from EncryptedBlockStore
2015-04-24 18:14:25 +02:00
Sebastian Meßmer
417a701636
- BlockStore::create() gets the data of the new block as a parameter
...
- Fixed numBlocks() in OnDiskBlockStore, FakeBlockStore, CachingBlockStore, ...
- CachingBlockStore caches created blocks and doesn't directly create them in the underlying blockstore
2015-04-18 14:47:12 +02:00
Sebastian Messmer
75253c74ea
Key is not default constructible anymore
2015-04-17 12:59:40 +02:00
Sebastian Messmer
4a5416dbec
Use unordered_map instead of map for cache
2015-04-17 12:56:21 +02:00
Sebastian Messmer
b185729113
Caching blocks works
2015-04-15 20:39:58 +02:00
Sebastian Messmer
990ca6ca26
Generalized Key to FixedSizeData
2015-04-09 20:07:03 +02:00
Sebastian Meßmer
5571a42980
Continued working on SynchronizedBlockStore. remove() doesn't work yet.
2015-03-28 13:44:22 -04:00
Sebastian Messmer
294530c662
Replaced absolute paths to messmer/blockstore/... with relative local paths
2015-03-12 14:27:51 +01:00
Sebastian Messmer
ffd9ada260
Test BlockStoreUtils fillWithZeroes()
2015-03-08 00:36:59 +01:00
Sebastian Messmer
d42bda0ca6
Added Block::write() and removed writeable data() pointer
2015-03-04 20:47:02 +01:00
Sebastian Messmer
aeec8b1490
Add utility function to copy blocks
2015-02-22 19:29:30 +01:00
Sebastian Messmer
0c851fa452
Switch to biicode
2015-02-17 00:23:33 +01:00