Searched refs:kMaxBufferCapacity (Results 1 – 2 of 2) sorted by relevance
46 static const int kMaxBufferCapacity = 20 * kMegabyte; variable90 *out_forward_capacity = std::min(*out_forward_capacity, kMaxBufferCapacity); in ComputeTargetBufferWindow()91 *out_backward_capacity = std::min(*out_backward_capacity, kMaxBufferCapacity); in ComputeTargetBufferWindow()263 if (read_size_ > kMaxBufferCapacity) { in Read()
278 static const int kMaxBufferCapacity = 20 * 1024 * 1024; in CheckBufferWindowBounds() local279 EXPECT_LE(loader_->buffer_.forward_capacity(), kMaxBufferCapacity); in CheckBufferWindowBounds()280 EXPECT_LE(loader_->buffer_.backward_capacity(), kMaxBufferCapacity); in CheckBufferWindowBounds()