Lines Matching refs:i

46   for (size_t i = 1; i <= kMaxCachedSize; i++) {  in TEST_F()  local
47 std::vector<uint8_t> buffer(i); in TEST_F()
48 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
49 << "Read failed at size " << i; in TEST_F()
50 ASSERT_EQ(std::vector<uint8_t>(i, 0xab), buffer) << "Failed at size " << i; in TEST_F()
55 for (size_t i = 1; i <= kMaxCachedSize; i++) { in TEST_F() local
56 std::vector<uint8_t> buffer(i); in TEST_F()
57 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
58 << "Read failed at size " << i; in TEST_F()
59 ASSERT_EQ(std::vector<uint8_t>(i, 0xab), buffer) << "Failed at size " << i; in TEST_F()
64 for (size_t i = 1; i <= kMaxCachedSize; i++) { in TEST_F() local
65 std::vector<uint8_t> buffer(i); in TEST_F()
66 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
67 << "Read failed at size " << i; in TEST_F()
68 ASSERT_EQ(std::vector<uint8_t>(i, 0xab), buffer) << "Failed at size " << i; in TEST_F()
74 for (size_t i = 1; i <= kMaxCachedSize; i++) { in TEST_F() local
75 std::vector<uint8_t> buffer(i); in TEST_F()
76 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
77 << "Read failed at size " << i; in TEST_F()
78 ASSERT_EQ(std::vector<uint8_t>(i, 0xff), buffer) << "Failed at size " << i; in TEST_F()
98 for (size_t i = kMaxCachedSize + 1; i < 2 * kMaxCachedSize; i++) { in TEST_F() local
99 std::vector<uint8_t> buffer(i); in TEST_F()
100 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
101 << "Read failed at size " << i; in TEST_F()
102 ASSERT_EQ(std::vector<uint8_t>(i, 0xab), buffer) << "Failed at size " << i; in TEST_F()
107 for (size_t i = kMaxCachedSize + 1; i < 2 * kMaxCachedSize; i++) { in TEST_F() local
108 std::vector<uint8_t> buffer(i); in TEST_F()
109 ASSERT_TRUE(memory_cache_->ReadFully(0x8000 + i, buffer.data(), i)) in TEST_F()
110 << "Read failed at size " << i; in TEST_F()
111 ASSERT_EQ(std::vector<uint8_t>(i, 0xff), buffer) << "Failed at size " << i; in TEST_F()