Home
last modified time | relevance | path

Searched refs:max_items (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer_test.cc496 size_t max_items = total_items; in TEST() local
506 EXPECT_EQ(slow_reader.EntryCount(), max_items); in TEST()
507 EXPECT_EQ(fast_reader.EntryCount(), total_items - max_items); in TEST()
509 for (int i = total_items - max_items; i < total_items; ++i) { in TEST()
512 if (static_cast<size_t>(i) >= max_items) { in TEST()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc689 int max_items = 0; in ValidateArray() local
690 if (schema->GetInteger(schema::kMaxItems, &max_items)) { in ValidateArray()
691 CHECK(max_items >= 0); in ValidateArray()
692 if (instance_size > static_cast<size_t>(max_items)) { in ValidateArray()
694 kArrayMaxItems, base::IntToString(max_items)))); in ValidateArray()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py90 def __init__(self, max_items=256, max_tensor_size=10000): argument
92 self._max_items = max_items
Dcore_test.py1131 cache = context._EagerTensorCache(max_items=100, max_tensor_size=3)