From 49515c3a73faa2069e1e7c175278849813516412 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 2 Aug 2017 04:59:42 -0400 Subject: [PATCH] Whitespace check-in --- validat0.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/validat0.cpp b/validat0.cpp index 8c2f7692..3a24c6b3 100644 --- a/validat0.cpp +++ b/validat0.cpp @@ -198,14 +198,14 @@ bool TestCompressors() { std::string filename = "test.txt"; std::string comment = "This is a test"; - word32 filetime = GlobalRNG().GenerateWord32(8, 0xffffff); + word32 filetime = GlobalRNG().GenerateWord32(4, 0xffffff); AlgorithmParameters params = MakeParameters(Name::FileTime(), (int)filetime) (Name::FileName(), ConstByteArrayParameter(filename.c_str(), false)) (Name::Comment(), ConstByteArrayParameter(comment.c_str(), false)); std::string src, dest; - unsigned int len = GlobalRNG().GenerateWord32(8, 0xfff); + unsigned int len = GlobalRNG().GenerateWord32(4, 0xfff); src.resize(len); GlobalRNG().GenerateBlock(reinterpret_cast(&src[0]), src.size()); @@ -233,7 +233,7 @@ bool TestCompressors() for (unsigned int i = 0; i<128; i++) { std::string src, dest; - unsigned int len = GlobalRNG().GenerateWord32(8, 0xfff); + unsigned int len = GlobalRNG().GenerateWord32(4, 0xfff); src.resize(len); GlobalRNG().GenerateBlock(reinterpret_cast(&src[0]), src.size()); @@ -248,7 +248,7 @@ bool TestCompressors() for (unsigned int i = 0; i<128; i++) { std::string src, dest; - unsigned int len = GlobalRNG().GenerateWord32(8, 0xfff); + unsigned int len = GlobalRNG().GenerateWord32(4, 0xfff); src.resize(len); GlobalRNG().GenerateBlock(reinterpret_cast(&src[0]), src.size()); @@ -345,7 +345,7 @@ bool TestCompressors() for (unsigned int i = 0; i<128; i++) { std::string src, dest; - unsigned int len = GlobalRNG().GenerateWord32(8, 0xfff); + unsigned int len = GlobalRNG().GenerateWord32(4, 0xfff); src.resize(len); GlobalRNG().GenerateBlock(reinterpret_cast(&src[0]), src.size()); @@ -443,7 +443,7 @@ bool TestEncryptors() for (unsigned int i=0; i(&src[0]), src.size()); @@ -475,7 +475,7 @@ bool TestEncryptors() { for (unsigned int i=0; i