Home
last modified time | relevance | path

Searched refs:irange (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_itertools.py890 def irange(n): function
898 a, b = tee(irange(n)) # test 100% interleaved
901 a, b = tee(irange(n)) # test 0% interleaved
905 a, b = tee(irange(n)) # test dealloc of leading iterator
911 a, b = tee(irange(n)) # test dealloc of trailing iterator
921 its = tee(irange(n))
/external/libpng/contrib/tools/
Dpngcp.c1337 png_byte j, irange = 0; in find_val() local
1348 rlo = options[opt].values[j-1U].value, irange = j; in find_val()
1354 if (irange > 0) in find_val()
1361 dp->entry[opt] = irange; /* range_lo */ in find_val()
/external/python/cpython3/Lib/test/
Dtest_itertools.py45 def irange(n): function
1347 a, b = tee(irange(n)) # test 100% interleaved
1350 a, b = tee(irange(n)) # test 0% interleaved
1354 a, b = tee(irange(n)) # test dealloc of leading iterator
1360 a, b = tee(irange(n)) # test dealloc of trailing iterator
1370 its = tee(irange(n))