Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/libcxx/test/std/containers/associative/map/map.ops/
Dupper_bound.pass.cpp43 R r = m.upper_bound(5); in main()
45 r = m.upper_bound(7); in main()
47 r = m.upper_bound(9); in main()
49 r = m.upper_bound(11); in main()
51 r = m.upper_bound(13); in main()
53 r = m.upper_bound(15); in main()
55 r = m.upper_bound(17); in main()
57 r = m.upper_bound(19); in main()
59 r = m.upper_bound(4); in main()
61 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dupper_bound.pass.cpp43 R r = m.upper_bound(5); in main()
45 r = m.upper_bound(7); in main()
47 r = m.upper_bound(9); in main()
49 r = m.upper_bound(11); in main()
51 r = m.upper_bound(13); in main()
53 r = m.upper_bound(15); in main()
55 r = m.upper_bound(17); in main()
57 r = m.upper_bound(19); in main()
59 r = m.upper_bound(4); in main()
61 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/
Dupper_bound.pass.cpp45 R r = m.upper_bound(4); in main()
47 r = m.upper_bound(5); in main()
49 r = m.upper_bound(6); in main()
51 r = m.upper_bound(7); in main()
53 r = m.upper_bound(8); in main()
55 r = m.upper_bound(9); in main()
57 r = m.upper_bound(10); in main()
75 R r = m.upper_bound(4); in main()
77 r = m.upper_bound(5); in main()
79 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/std/containers/associative/multiset/
Dupper_bound.pass.cpp44 R r = m.upper_bound(4); in main()
46 r = m.upper_bound(5); in main()
48 r = m.upper_bound(6); in main()
50 r = m.upper_bound(7); in main()
52 r = m.upper_bound(8); in main()
54 r = m.upper_bound(9); in main()
56 r = m.upper_bound(11); in main()
74 R r = m.upper_bound(4); in main()
76 r = m.upper_bound(5); in main()
78 r = m.upper_bound(6); in main()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dtake_while_dataset_serialization_test.py34 def _build_dataset(self, num_elements, upper_bound): argument
36 take_while_ops.take_while(lambda x: x < upper_bound))
41 combinations.combine(num_elements=[10, 23], upper_bound=[10, 23])))
42 def testCore(self, num_elements, upper_bound): argument
43 self.run_core_tests(lambda: self._build_dataset(num_elements, upper_bound),
44 min(num_elements, upper_bound))
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dtake_while_test.py59 num_elements=[10], upper_bound=[2], out_of_bounds=[False]) +
61 num_elements=[16], upper_bound=[7], out_of_bounds=[False]) +
63 num_elements=[100], upper_bound=[99], out_of_bounds=[False]) +
65 num_elements=[100], upper_bound=[101], out_of_bounds=[True]) +
67 num_elements=[0], upper_bound=[1], out_of_bounds=[True])))
68 def testTakeWhileDatasetRange(self, num_elements, upper_bound, out_of_bounds): argument
70 take_while_ops.take_while(lambda x: x < upper_bound))
74 self.assertDatasetProduces(dataset, np.arange(upper_bound))
77 self.assertDatasetProduces(dataset, np.arange(upper_bound))
/external/v8/src/heap/
Dslot-set.cc69 std::map<uint32_t, uint32_t>::const_iterator upper_bound = in ClearInvalidSlots() local
70 invalid_ranges.upper_bound(offset); in ClearInvalidSlots()
71 if (upper_bound == invalid_ranges.begin()) continue; in ClearInvalidSlots()
74 upper_bound--; in ClearInvalidSlots()
75 DCHECK_LE(upper_bound->first, offset); in ClearInvalidSlots()
76 if (upper_bound->second > offset) { in ClearInvalidSlots()
Dmemory-measurement.cc31 void AddTotal(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddTotal() argument
33 NewResult(estimate, lower_bound, upper_bound)); in AddTotal()
35 void AddCurrent(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddCurrent() argument
38 NewResult(estimate, lower_bound, upper_bound)); in AddCurrent()
40 void AddOther(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddOther() argument
42 other_.push_back(NewResult(estimate, lower_bound, upper_bound)); in AddOther()
59 size_t upper_bound) { in NewResult() argument
63 Handle<Object> range = NewRange(lower_bound, upper_bound); in NewResult()
73 Handle<JSArray> NewRange(size_t lower_bound, size_t upper_bound) { in NewRange() argument
75 Handle<Object> upper = NewNumber(upper_bound); in NewRange()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_output_test.cc36 OutputTest(int16_t lower_bound, int16_t upper_bound);
43 void SetOutputBound(int16_t lower_bound, int16_t upper_bound);
53 VoEOutputCheckMediaProcess(int16_t lower_bound, int16_t upper_bound);
75 OutputTest::OutputTest(int16_t lower_bound, int16_t upper_bound) in OutputTest() argument
76 : output_checker_(lower_bound, upper_bound) { in OutputTest()
143 int16_t lower_bound, int16_t upper_bound) in VoEOutputCheckMediaProcess() argument
146 upper_bound_(upper_bound) {} in VoEOutputCheckMediaProcess()
/external/v8/infra/testing/
DPRESUBMIT.py72 upper_bound=None): argument
82 if upper_bound is not None and value > upper_bound:
83 return error_msg('If specified, %s must be <=%d' % (prop_name, upper_bound))
91 error_msg, task_attrs, 'priority', lower_bound=25, upper_bound=100)
127 error_msg, test, 'shards', lower_bound=1, upper_bound=14)
/external/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/upper.bound/
Dupper_bound.pass.cpp28 return (std::upper_bound(std::begin(ia), std::end(ia), 2) == ia+1) in test_constexpr()
29 && (std::upper_bound(std::begin(ia), std::end(ia), 3) == ia+2) in test_constexpr()
30 && (std::upper_bound(std::begin(ia), std::end(ia), 9) == std::end(ia)) in test_constexpr()
39 Iter i = std::upper_bound(first, last, value); in test()
Dupper_bound_comp.pass.cpp31 return (std::upper_bound(std::begin(ia), std::end(ia), 2, lt) == ia+1) in test_constexpr()
32 && (std::upper_bound(std::begin(ia), std::end(ia), 3, lt) == ia+2) in test_constexpr()
33 && (std::upper_bound(std::begin(ia), std::end(ia), 9, lt) == std::end(ia)) in test_constexpr()
42 Iter i = std::upper_bound(first, last, value, std::greater<int>()); in test()
/external/libevent/
Darc4random.c517 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() argument
521 if (upper_bound < 2) in arc4random_uniform()
525 min = 0x100000000UL % upper_bound; in arc4random_uniform()
528 if (upper_bound > 0x80000000) in arc4random_uniform()
529 min = 1 + ~upper_bound; /* 2**32 - upper_bound */ in arc4random_uniform()
532 min = ((0xffffffff - (upper_bound * 2)) + 1) % upper_bound; in arc4random_uniform()
548 return r % upper_bound; in arc4random_uniform()
/external/ltp/testcases/kernel/sched/eas/
Dsched_cfs_prio.c60 long long upper_bound, upper_bound_pct, upper_bound_us; in check_bounds() local
71 upper_bound = upper_bound_us; in check_bounds()
73 upper_bound = upper_bound_pct; in check_bounds()
80 if (runtime_us > upper_bound) { in check_bounds()
82 upper_bound/1000); in check_bounds()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_dependence_helpers.cpp93 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
97 return upper_bound; in GetUpperBound()
103 SENode* upper_bound = in GetUpperBound() local
107 return upper_bound; in GetUpperBound()
114 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
116 return upper_bound; in GetUpperBound()
149 SENode* upper_bound = GetUpperBound(loop); in IsProvablyOutsideOfLoopBounds() local
150 if (!lower_bound || !upper_bound) { in IsProvablyOutsideOfLoopBounds()
164 scalar_evolution_.CreateSubtraction(upper_bound, lower_bound)); in IsProvablyOutsideOfLoopBounds()
170 scalar_evolution_.CreateSubtraction(lower_bound, upper_bound)); in IsProvablyOutsideOfLoopBounds()
/external/angle/third_party/spirv-tools/src/source/opt/
Dloop_dependence_helpers.cpp93 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
97 return upper_bound; in GetUpperBound()
103 SENode* upper_bound = in GetUpperBound() local
107 return upper_bound; in GetUpperBound()
114 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
116 return upper_bound; in GetUpperBound()
149 SENode* upper_bound = GetUpperBound(loop); in IsProvablyOutsideOfLoopBounds() local
150 if (!lower_bound || !upper_bound) { in IsProvablyOutsideOfLoopBounds()
164 scalar_evolution_.CreateSubtraction(upper_bound, lower_bound)); in IsProvablyOutsideOfLoopBounds()
170 scalar_evolution_.CreateSubtraction(lower_bound, upper_bound)); in IsProvablyOutsideOfLoopBounds()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_dependence_helpers.cpp93 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
97 return upper_bound; in GetUpperBound()
103 SENode* upper_bound = in GetUpperBound() local
107 return upper_bound; in GetUpperBound()
114 SENode* upper_bound = scalar_evolution_.SimplifyExpression( in GetUpperBound() local
116 return upper_bound; in GetUpperBound()
149 SENode* upper_bound = GetUpperBound(loop); in IsProvablyOutsideOfLoopBounds() local
150 if (!lower_bound || !upper_bound) { in IsProvablyOutsideOfLoopBounds()
164 scalar_evolution_.CreateSubtraction(upper_bound, lower_bound)); in IsProvablyOutsideOfLoopBounds()
170 scalar_evolution_.CreateSubtraction(lower_bound, upper_bound)); in IsProvablyOutsideOfLoopBounds()
/external/grpc-grpc/tools/run_tests/performance/
Dmassage_qps_stats_helpers.py35 upper_bound = boundaries[lower_idx + 1]
36 return (upper_bound - (upper_bound - lower_bound) *
/external/autotest/server/tests/netpipe/
Dcontrol.srv16 upper_bound - Specify the upper boundary to the size of message being tested.
31 upper_bound = 1048576
36 upper_bound=upper_bound, variance=variance)
Dnetpipe.py7 def run_once(self, pair, buffer, upper_bound, variance): argument
43 buffer, upper_bound, variance,
46 buffer, upper_bound, variance,
Dcontrol.stress.srv18 upper_bound - Specify the upper boundary to the size of message being tested.
42 upper_bound = 1048576
50 upper_bound=upper_bound, variance=variance)
/external/jemalloc/src/
Dquarantine.c18 size_t upper_bound);
109 quarantine_drain(tsdn_t *tsdn, quarantine_t *quarantine, size_t upper_bound) in quarantine_drain() argument
112 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0) in quarantine_drain()
134 size_t upper_bound = (opt_quarantine >= usize) ? opt_quarantine in quarantine() local
136 quarantine_drain(tsd_tsdn(tsd), quarantine, upper_bound); in quarantine()
/external/openssh/openbsd-compat/
Darc4random.c282 arc4random_uniform(u_int32_t upper_bound) in arc4random_uniform() argument
286 if (upper_bound < 2) in arc4random_uniform()
290 min = -upper_bound % upper_bound; in arc4random_uniform()
304 return r % upper_bound; in arc4random_uniform()
/external/pdfium/testing/
Drange_set.cpp19 auto it = ranges().upper_bound(fixed_range); in Contains()
38 auto start = ranges_.upper_bound(fixed_range); in Union()
45 auto end = ranges_.upper_bound(Range(fixed_range.second, fixed_range.second)); in Union()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DebugNumericSummary.pbtxt31 name: "upper_bound"
70 [6]: positive element count (excluding +inf), if upper_bound is the default
71 -inf. Otherwise, this is the count of elements < upper_bound and > 0.
72 [7]: generalized +inf count, elements >= upper_bound. upper_bound is +inf by

12345678910