Lines Matching refs:block_size
55 int block_size = 0;
56 EXPECT_TRUE(reader.GetHashes(path1, &block_size, &read_hashes1));
57 EXPECT_EQ(block_size, 4096);
58 block_size = 0;
59 EXPECT_TRUE(reader.GetHashes(path2, &block_size, &read_hashes2));
60 EXPECT_EQ(block_size, 2048);
69 reader.GetHashes(path1_badcase, &block_size, &read_hashes1_badcase));
70 EXPECT_EQ(block_size, 4096);
77 block_size = 0;
78 EXPECT_TRUE(reader.GetHashes(path2_fwd_slashes, &block_size, &read_hashes2));
92 const int block_size = 4096;
99 ComputedHashes::ComputeHashesForContent(content1, block_size, &hashes1);
111 ComputedHashes::ComputeHashesForContent(content2, block_size, &hashes2);
119 ComputedHashes::ComputeHashesForContent(content3, block_size, &hashes3);