Searched refs:seq_len (Results 1 – 5 of 5) sorted by relevance
591 constexpr int seq_len = std::numeric_limits<uint16_t>::max() / sizeof(uint32_t) + 1; in TEST_F() local592 options.op_count_max = seq_len; in TEST_F()597 uint32_t sequence[seq_len]; in TEST_F()598 for (int i = 0; i < seq_len; i++) { in TEST_F()602 ASSERT_TRUE(writer->AddSequenceData(seq_len, sequence)); in TEST_F()603 ASSERT_TRUE(writer->AddZeroBlocks(1, seq_len - 1)); in TEST_F()608 ASSERT_TRUE(writer->AddRawBlocks(seq_len, data.data(), data.size())); in TEST_F()617 for (int i = 0; i < seq_len; i++) { in TEST_F()621 ASSERT_EQ(op->new_block, seq_len - i); in TEST_F()622 if (op->new_block == seq_len) { in TEST_F()[all …]
224 size_t seq_len = op->data_length / sizeof(uint32_t); in Inspect() local225 merge_op_blocks.resize(seq_len); in Inspect()232 for (size_t i = 0; i < seq_len; i++) { in Inspect()234 if ((i + 1) % 10 == 0 || i + 1 == seq_len) std::cout << "\n"; in Inspect()
1254 const int seq_len = std::numeric_limits<uint16_t>::max() / sizeof(uint32_t) + 1; in TEST_F() local1255 uint32_t sequence[seq_len]; in TEST_F()1256 for (int i = 0; i < seq_len; i++) { in TEST_F()1262 ASSERT_TRUE(writer.AddSequenceData(seq_len, sequence)); in TEST_F()1263 ASSERT_TRUE(writer.AddZeroBlocks(1, seq_len)); in TEST_F()1272 for (int i = 0; i < seq_len; i++) { in TEST_F()1276 ASSERT_EQ(op->new_block, seq_len - i); in TEST_F()1286 const int seq_len = 10; in TEST_F() local1287 uint32_t sequence[seq_len]; in TEST_F()1288 for (int i = 0; i < seq_len; i++) { in TEST_F()[all …]
367 size_t seq_len = current_op.data_length / sizeof(uint32_t); in GetSequenceDataV2() local369 merge_op_blocks->resize(merge_op_blocks->size() + seq_len); in GetSequenceDataV2()375 for (size_t j = num_seqs; j < num_seqs + seq_len; j++) { in GetSequenceDataV2()378 num_seqs += seq_len; in GetSequenceDataV2()
1001 size_t seq_len = num_blocks_per_op; in CreateV3CowDeviceForVariableBlockSize() local1002 uint32_t sequence[seq_len]; in CreateV3CowDeviceForVariableBlockSize()1003 size_t xor_block_start = seq_len * 3; in CreateV3CowDeviceForVariableBlockSize()1004 for (size_t i = 0; i < seq_len; i++) { in CreateV3CowDeviceForVariableBlockSize()1007 ASSERT_TRUE(writer->AddSequenceData(seq_len, sequence)); in CreateV3CowDeviceForVariableBlockSize()