/third_party/boost/libs/test/test/test-organization-ts/datasets-test/ |
D | xrange-test.cpp | 28 BOOST_TEST( data::xrange( 5 ).size() == 5 ); in BOOST_AUTO_TEST_CASE() 29 BOOST_TEST( data::xrange( 3. ).size() == 3 ); in BOOST_AUTO_TEST_CASE() 30 BOOST_CHECK_THROW( data::xrange( -5 ), std::logic_error ); in BOOST_AUTO_TEST_CASE() 31 BOOST_CHECK_THROW( data::xrange( 0 ), std::logic_error ); in BOOST_AUTO_TEST_CASE() 33 BOOST_TEST( data::xrange( 1, 5 ).size() == 4 ); in BOOST_AUTO_TEST_CASE() 34 BOOST_TEST( data::xrange( -5, 0 ).size() == 5 ); in BOOST_AUTO_TEST_CASE() 35 BOOST_TEST( data::xrange( 1., 7.5 ).size() == 7 ); in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK_THROW( data::xrange( 0, 0 ), std::logic_error ); in BOOST_AUTO_TEST_CASE() 37 BOOST_CHECK_THROW( data::xrange( 3, 1 ), std::logic_error ); in BOOST_AUTO_TEST_CASE() 39 BOOST_TEST( data::xrange( 3, 9, 2 ).size() == 3 ); in BOOST_AUTO_TEST_CASE() [all …]
|
D | mono-grid-test.cpp | 43 auto ds2 = data::xrange(5); in BOOST_AUTO_TEST_CASE() 181 …BOOST_TEST( (data::xrange(2) * data::xrange(2) * data::xrange(2) * data::xrange(2)).size() == (1 <… in BOOST_AUTO_TEST_CASE()
|
/third_party/python/Tools/iobench/ |
D | iobench.py | 19 xrange 21 xrange = range variable 106 for i in xrange(0, size - 1): 116 for i in xrange(0, size - 1, 1000): 140 for i in xrange(0, len(source)): 147 for i in xrange(0, len(source), 20): 154 for i in xrange(0, len(source), 4096): 161 for i in xrange(0, len(source), 1000000): 170 for i in xrange(0, len(source)): 178 for i in xrange(0, len(source), 20): [all …]
|
/third_party/boost/libs/test/doc/examples/ |
D | dataset_example64.run-fail.cpp | 19 bdata::xrange(2) * bdata::xrange(3), 28 bdata::xrange(3) 32 ^ bdata::xrange(2)
|
D | dataset_example59.run-fail.cpp | 16 BOOST_DATA_TEST_CASE( test1, bdata::xrange(5) ) 24 bdata::xrange<int>( (bdata::begin=1, bdata::end=10, bdata::step=3)) ) in BOOST_DATA_TEST_CASE()
|
D | dataset_example63.run-fail.cpp | 19 bdata::random(1, 17) ^ bdata::xrange(7), 30 ^ bdata::xrange(7),
|
D | example49.run.cpp | 14 BOOST_DATA_TEST_CASE( free_test_function, boost::unit_test::data::xrange(1000) )
|
D | decorator_00.run.cpp | 17 BOOST_DATA_TEST_CASE(test_1, data::xrange(4))
|
D | dataset_example66.run.cpp | 20 bdata::xrange(2) ^ bdata::make(arr),
|
D | dataset_example65.run.cpp | 30 bdata::xrange(3) ^ bdata::make(2),
|
/third_party/boost/libs/test/doc/snippet/dataset_1/ |
D | test_file.cpp | 25 BOOST_DATA_TEST_CASE( test_case_arity1_implicit, data::xrange(5) ) 32 BOOST_DATA_TEST_CASE( test_case_arity1, data::xrange(5), my_var ) 41 BOOST_DATA_TEST_CASE( test_case_arity2, data::xrange(2) ^ data::xrange(5), apples, potatoes)
|
/third_party/boost/boost/test/data/monomorphic/generators/ |
D | xrange.hpp | 163 xrange( Params const& params ) in xrange() function 173 xrange( SampleType const& end_val ) in xrange() function 184 xrange( SampleType const& end_val, Params const& params ) in xrange() function 194 xrange( SampleType const& begin_val, SampleType const& end_val ) in xrange() function 208 xrange( SampleType const& begin_val, SampleType const& end_val, StepType const& step_val ) in xrange() function
|
/third_party/node/tools/ |
D | compress_json.py | 9 xrange # Python 2 13 xrange = range # Python 3 variable 28 slices = (data[i:i+step] for i in xrange(0, len(data), step))
|
/third_party/libinput/tools/ |
D | make-ptraccel-graphs.sh | 23 set xrange [0:400] 43 set xrange [0:400] 64 set xrange [0:400] 82 set xrange [0:1]
|
D | libinput-measure-touchpad-size.py | 61 self.xrange = (x.maximum - x.minimum) 63 self.width = self.xrange / x.resolution 73 …self.rows = int(self.columns * (self.yrange // y.resolution) // (self.xrange // x.resolution) / 2.… 95 self.pos.x = min(0.99, (x - self._x.minimum) / self.xrange)
|
/third_party/boost/libs/metaparse/tools/ |
D | string_headers.py | 35 for depth in xrange(len(self.names) - 1, -1, -1): 132 xrange( 142 return ('C{0}'.format(i) for i in xrange(0, count)) 162 steps = [2 ** n for n in xrange(int(math.log(max_step, 2)), -1, -1)] 246 for limit in xrange(0, max_limit + 1): 270 for i in xrange(prev_limit, length_limit)
|
/third_party/boost/libs/test/test/smoke-ts/ |
D | basic-smoke-test.cpp | 20 bdata::xrange(2) * bdata::xrange(3),
|
/third_party/ninja/misc/ |
D | write_fake_manifests.py | 68 for _ in xrange(n)] 76 for _ in xrange(1 + paretoint(0.6, alpha=4))]) 87 for _ in xrange(paretoint(20, alpha=3))] 230 targets = [Target(gen, LIB) for i in xrange(num_targets - 1)]
|
/third_party/flatbuffers/samples/ |
D | sample_binary.py | 109 for i in xrange(monster.InventoryLength()): 115 for i in xrange(monster.WeaponsLength()):
|
/third_party/boost/libs/test/test/framework-ts/ |
D | decorators-datatestcase-test.cpp | 26 BOOST_DATA_TEST_CASE(test_timeout, data::xrange(2), value)
|
/third_party/flutter/skia/infra/bots/recipe_modules/gsutil/ |
D | api.py | 37 for i in xrange(UPLOAD_ATTEMPTS):
|
/third_party/boost/libs/compatibility/ |
D | generate_cpp_c_headers.py | 263 for i in xrange(n_endif): print '#endif'
|
/third_party/flatbuffers/python/flatbuffers/ |
D | compat.py | 40 range_func = xrange
|
/third_party/boost/libs/metaparse/tools/benchmark/ |
D | generate.py | 60 for _ in xrange(0, number) 108 for i in xrange(bmp_at + len(prefix), len(base)):
|
/third_party/json/third_party/cpplint/ |
D | cpplint.py | 65 xrange # Python 2 68 xrange = range # Python 3 variable 1748 for i in xrange(startpos, len(line)): 1977 for line in xrange(1, min(len(lines), 11)): 2184 for i in xrange(1, len(raw_lines) - 1): 2527 for i in xrange(linenum - 1, self.starting_linenum, -1): 3313 for start_linenum in xrange(linenum, clean_lines.NumLines()): 3770 for i in xrange(first_line, last_line + 1, 1): 3834 for offset in xrange(endlinenum + 1, 4387 for i in xrange(linenum + 1, end_line): [all …]
|