Lines Matching full:datasize
22 const size_t dataSize = 1024; in TEST() local
25 std::vector<uint8_t> data(dataSize + slopSize); in TEST()
26 std::fill(data.begin(), data.begin() + dataSize, goodValue); in TEST()
27 std::fill(data.begin() + dataSize, data.end(), badValue); in TEST()
29 std::vector<uint8_t> outputData(dataSize); in TEST()
35 gl::BinaryInputStream stream(data.data(), dataSize); in TEST()
36 stream.readBytes(outputData.data(), dataSize); in TEST()
44 gl::BinaryInputStream stream(data.data(), dataSize); in TEST()
45 stream.readBytes(outputData.data(), dataSize / 2); in TEST()
47 stream.readBytes(outputData.data() + dataSize / 2, dataSize / 2); in TEST()
55 gl::BinaryInputStream stream(data.data(), dataSize); in TEST()
56 stream.readBytes(outputData.data(), dataSize + 1); in TEST()
62 gl::BinaryInputStream stream(data.data(), dataSize); in TEST()
63 stream.readBytes(outputData.data(), dataSize - 1); in TEST()
65 stream.readBytes(outputData.data(), std::numeric_limits<size_t>::max() - dataSize - 2); in TEST()