Home
last modified time | relevance | path

Searched refs:kDefaultLimit (Results 1 – 25 of 27) sorted by relevance

12

/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dwindow_manager_test.cc30 : wm_(kDefaultLimit, absl::bind_front(&WindowManagerTest::OnCall, this)), in WindowManagerTest()
35 const int64_t kDefaultLimit = 32 * 1024 * 3; member in http2::adapter::test::__anon0bde70a80111::WindowManagerTest
44 wm_.SetWindowSizeLimit(kDefaultLimit); in TEST_F()
46 wm_.SetWindowSizeLimit(kDefaultLimit); in TEST_F()
56 while (total < kDefaultLimit) { in TEST_F()
57 int64_t s = std::min<int64_t>(kDefaultLimit - total, random_.Uniform(1024)); in TEST_F()
70 int64_t buffered = std::min<int64_t>(kDefaultLimit - total_buffered, in TEST_F()
83 EXPECT_GE(total_buffered, kDefaultLimit / 3); in TEST_F()
115 int64_t consumed = kDefaultLimit / 3 - 1; in TEST_F()
126 wm_.SetWindowSizeLimit(kDefaultLimit - 1024); in TEST_F()
[all …]
/external/abseil-cpp/absl/strings/
Dcord_buffer_test.cc52 constexpr size_t kDefaultLimit = CordBuffer::kDefaultLimit; variable
67 kInlinedSize + 1, kDefaultLimit - 1,
68 kDefaultLimit));
167 EXPECT_THAT(buffer.capacity(), Le(2 * CordBuffer::kDefaultLimit)); in TEST()
240 CordBuffer buffer = CordBuffer::CreateWithCustomLimit(k64KiB, kDefaultLimit); in TEST()
241 EXPECT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
243 Le(MaxCapacityFor(kMaxFlatSize, kDefaultLimit))); in TEST()
271 ASSERT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
Dcord_buffer.cc25 constexpr size_t CordBuffer::kDefaultLimit; member in absl::CordBuffer
Dcord_buffer.h111 static constexpr size_t kDefaultLimit = cord_internal::kMaxFlatLength;
482 } else if (capacity <= kDefaultLimit) { in CreateWithCustomLimitImpl()
Dcord_test.cc764 EXPECT_EQ(buffer.capacity(), absl::CordBuffer::kDefaultLimit); in TEST_P()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc52 constexpr size_t kDefaultLimit = CordBuffer::kDefaultLimit; variable
67 kInlinedSize + 1, kDefaultLimit - 1,
68 kDefaultLimit));
167 EXPECT_THAT(buffer.capacity(), Le(2 * CordBuffer::kDefaultLimit)); in TEST()
240 CordBuffer buffer = CordBuffer::CreateWithCustomLimit(k64KiB, kDefaultLimit); in TEST()
241 EXPECT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
243 Le(MaxCapacityFor(kMaxFlatSize, kDefaultLimit))); in TEST()
271 ASSERT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
Dcord_buffer.cc25 constexpr size_t CordBuffer::kDefaultLimit; member in absl::CordBuffer
Dcord_buffer.h111 static constexpr size_t kDefaultLimit = cord_internal::kMaxFlatLength;
482 } else if (capacity <= kDefaultLimit) { in CreateWithCustomLimitImpl()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/
Dcord_buffer_test.cc52 constexpr size_t kDefaultLimit = CordBuffer::kDefaultLimit; variable
67 kInlinedSize + 1, kDefaultLimit - 1,
68 kDefaultLimit));
167 EXPECT_THAT(buffer.capacity(), Le(2 * CordBuffer::kDefaultLimit)); in TEST()
240 CordBuffer buffer = CordBuffer::CreateWithCustomLimit(k64KiB, kDefaultLimit); in TEST()
241 EXPECT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
243 Le(MaxCapacityFor(kMaxFlatSize, kDefaultLimit))); in TEST()
271 ASSERT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
Dcord_buffer.cc25 constexpr size_t CordBuffer::kDefaultLimit; member in absl::CordBuffer
Dcord_buffer.h111 static constexpr size_t kDefaultLimit = cord_internal::kMaxFlatLength;
485 } else if (capacity <= kDefaultLimit) { in CreateWithCustomLimitImpl()
Dcord_test.cc746 return is_default() ? absl::CordBuffer::kDefaultLimit in limit()
/external/cronet/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc52 constexpr size_t kDefaultLimit = CordBuffer::kDefaultLimit; variable
67 kInlinedSize + 1, kDefaultLimit - 1,
68 kDefaultLimit));
167 EXPECT_THAT(buffer.capacity(), Le(2 * CordBuffer::kDefaultLimit)); in TEST()
240 CordBuffer buffer = CordBuffer::CreateWithCustomLimit(k64KiB, kDefaultLimit); in TEST()
241 EXPECT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
243 Le(MaxCapacityFor(kMaxFlatSize, kDefaultLimit))); in TEST()
271 ASSERT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
Dcord_buffer.cc25 constexpr size_t CordBuffer::kDefaultLimit; member in absl::CordBuffer
Dcord_buffer.h111 static constexpr size_t kDefaultLimit = cord_internal::kMaxFlatLength;
482 } else if (capacity <= kDefaultLimit) { in CreateWithCustomLimitImpl()
Dcord_test.cc747 return is_default() ? absl::CordBuffer::kDefaultLimit in limit()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_buffer_test.cc52 constexpr size_t kDefaultLimit = CordBuffer::kDefaultLimit; variable
67 kInlinedSize + 1, kDefaultLimit - 1,
68 kDefaultLimit));
167 EXPECT_THAT(buffer.capacity(), Le(2 * CordBuffer::kDefaultLimit)); in TEST()
240 CordBuffer buffer = CordBuffer::CreateWithCustomLimit(k64KiB, kDefaultLimit); in TEST()
241 EXPECT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
243 Le(MaxCapacityFor(kMaxFlatSize, kDefaultLimit))); in TEST()
271 ASSERT_THAT(buffer.capacity(), Ge(kDefaultLimit)); in TEST()
Dcord_buffer.cc25 constexpr size_t CordBuffer::kDefaultLimit; member in absl::CordBuffer
Dcord_buffer.h111 static constexpr size_t kDefaultLimit = cord_internal::kMaxFlatLength;
485 } else if (capacity <= kDefaultLimit) { in CreateWithCustomLimitImpl()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h36 static constexpr uint32_t kDefaultLimit = 100;
39 ScalarReplacementPass(uint32_t limit = kDefaultLimit)
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_replacement_pass.h36 static const uint32_t kDefaultLimit = 100;
39 ScalarReplacementPass(uint32_t limit = kDefaultLimit)
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dscalar_replacement_pass.h36 static constexpr uint32_t kDefaultLimit = 100;
39 ScalarReplacementPass(uint32_t limit = kDefaultLimit)
/external/boringssl/src/ssl/
Dssl_lib.cc784 static const size_t kDefaultLimit = 16384; in SSL_quic_max_handshake_flight_len() local
788 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
797 ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
803 if (2*ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
807 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
812 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
/external/cronet/third_party/boringssl/src/ssl/
Dssl_lib.cc786 static const size_t kDefaultLimit = 16384; in SSL_quic_max_handshake_flight_len() local
790 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
799 ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
805 if (2*ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
809 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
814 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_lib.cc761 static const size_t kDefaultLimit = 16384; in SSL_quic_max_handshake_flight_len() local
765 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
774 ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
780 if (2*ssl->max_cert_list > kDefaultLimit) { in SSL_quic_max_handshake_flight_len()
784 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()
789 return kDefaultLimit; in SSL_quic_max_handshake_flight_len()

12