Searched refs:kTestBufferSize (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | wpd_tree_unittest.cc | 26 const size_t kTestBufferSize = 100; in TEST() local 30 float test_buffer[kTestBufferSize]; in TEST() 31 memset(test_buffer, 0.f, kTestBufferSize * sizeof(*test_buffer)); in TEST() 35 WPDTree tree(kTestBufferSize, in TEST() 60 EXPECT_EQ(0, tree.Update(test_buffer, kTestBufferSize)); in TEST() 61 EXPECT_EQ(-1, tree.Update(NULL, kTestBufferSize)); in TEST() 62 EXPECT_EQ(-1, tree.Update(test_buffer, kTestBufferSize - 1)); in TEST() 77 const size_t kTestBufferSize = 160; in TEST() local 80 const size_t kLeavesSamples = kTestBufferSize >> kLevels; in TEST() 82 WPDTree tree(kTestBufferSize, in TEST() [all …]
|
/external/libchrome/base/ |
D | rand_util_unittest.cc | 160 const size_t kTestBufferSize = 1 * 1024 * 1024; in TEST() local 162 std::unique_ptr<uint8_t[]> buffer(new uint8_t[kTestBufferSize]); in TEST() 165 base::RandBytes(buffer.get(), kTestBufferSize); in TEST() 168 LOG(INFO) << "RandBytes(" << kTestBufferSize << ") took: " in TEST()
|