Home | History | Annotate | Download | only in streams

Lines Matching defs:kMaxSize

183   const uint64_t kMaxSize = std::numeric_limits<int64_t>::max();
278 EXPECT_CALL(fd_mock(), Truncate(kMaxSize)).WillOnce(Return(0));
279 EXPECT_TRUE(stream_->SetSizeBlocking(kMaxSize, nullptr));
321 EXPECT_CALL(fd_mock(), Seek(kMaxSize, SEEK_SET))
322 .WillRepeatedly(Return(kMaxSize));
323 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, &pos,
325 EXPECT_EQ(kMaxSize, pos);
326 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, nullptr,