Commit Graph

22 Commits

Author SHA1 Message Date
Sebastian Messmer
ea30ac641b Data::LoadFromStream() and Data::StoreToStream() 2015-10-24 18:39:11 +02:00
Sebastian Messmer
60b7f853d9 DataFixture::generateFixedSize() 2015-10-24 01:53:11 +02:00
Sebastian Messmer
ca5edb48db Refactor random library 2015-10-22 17:36:03 +02:00
Sebastian Meßmer
c51e2c115a Added new random pool library and FixedSizeData:CreatePseudoRandom() uses it. This generates pseudorandom data in another thread and keeps a pool instead of calling the pseudorandom algorithm each time. Since that algorithm needs to be mutexed, that caused quite a lot of locking before 2015-10-16 02:46:17 +02:00
Sebastian Meßmer
02d89fa721 Unify (and fix) include guards 2015-10-15 12:58:16 +02:00
Sebastian Messmer
b402d99fff Fix includes 2015-10-14 14:50:31 +02:00
Sebastian Messmer
2385c4ac0e TODOs 2015-10-14 14:43:18 +02:00
Sebastian Messmer
8b99d277a2 FixedSizeData::CreatePseudoRandom() is threadsafe 2015-10-14 14:38:22 +02:00
Sebastian Messmer
4b84f5d211 Added Data::dataOffset() and made most Data functions inline 2015-10-05 02:28:53 +02:00
Sebastian Messmer
63fe94ffe6 Add FixedSizeData::Null() 2015-10-04 17:14:32 +02:00
Sebastian Messmer
cce24dd64b Implemented ASSERT macro 2015-07-22 13:39:38 +02:00
Sebastian Messmer
9572cf9ea7 Removed unnecessary using statement 2015-07-21 18:23:41 +02:00
Sebastian Meßmer
590beac11c Added dynamic_pointer_move for unique_ref 2015-06-18 02:36:57 +02:00
Sebastian Messmer
f6669e2f05 FixedSizeData offers generating PseudoRandom or OsRandom blocks 2015-06-16 16:51:26 +02:00
Sebastian Messmer
9999c13ac4 TODOs 2015-04-26 11:40:27 +02:00
Sebastian Messmer
864f0a0186 Added more test cases for Data 2015-04-26 00:41:29 +02:00
Sebastian Messmer
61337eef85 Removed DataBlockFixture 2015-04-25 17:45:18 +02:00
Sebastian Messmer
a07c03d752 Added test cases for DataFixture 2015-04-25 17:03:18 +02:00
Sebastian Messmer
dcc979d65f Allow move assignment for Data class 2015-04-25 16:44:24 +02:00
Sebastian Messmer
40451e762c Started replacing DataBlockFixture with DataFixture.
Step 1: Create DataFixture
2015-04-25 13:20:26 +02:00
Sebastian Messmer
0b2984888d TODOs 2015-04-25 02:25:55 +02:00
Sebastian Messmer
d8a6b23962 Moved data classes to cpp-utils 2015-04-25 02:24:18 +02:00