HomeSort by relevance Sort by last modified time
    Searched refs:xrange (Results 1 - 25 of 426) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/test/CodeGen/SystemZ/Large/
branch-range-01.py 78 for i in xrange(branch_blocks):
89 for i in xrange(0, main_size, 6):
96 for i in xrange(branch_blocks):
branch-range-03.py 78 for i in xrange(branch_blocks):
90 for i in xrange(0, main_size, 6):
97 for i in xrange(branch_blocks):
branch-range-04.py 82 for i in xrange(branch_blocks):
94 for i in xrange(0, main_size, 6):
101 for i in xrange(branch_blocks):
branch-range-05.py 82 for i in xrange(branch_blocks):
93 for i in xrange(0, main_size, 6):
100 for i in xrange(branch_blocks):
branch-range-06.py 82 for i in xrange(branch_blocks):
93 for i in xrange(0, main_size, 6):
100 for i in xrange(branch_blocks):
branch-range-07.py 41 for i in xrange(branch_blocks - 1, -1, -1):
53 for i in xrange(0, main_size, 6):
60 for i in xrange(branch_blocks):
branch-range-08.py 42 for i in xrange(branch_blocks - 1, -1, -1):
54 for i in xrange(0, main_size, 6):
61 for i in xrange(branch_blocks):
branch-range-02.py 67 for i in xrange(blocks):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_xrange.py 50 # Check that two xrange objects are equivalent, in the sense of the
52 # xrange objects, so instead of converting to lists and comparing
72 self.assertEqual(list(xrange(3)), [0, 1, 2])
73 self.assertEqual(list(xrange(1, 5)), [1, 2, 3, 4])
74 self.assertEqual(list(xrange(0)), [])
75 self.assertEqual(list(xrange(-3)), [])
76 self.assertEqual(list(xrange(1, 10, 3)), [1, 4, 7])
77 self.assertEqual(list(xrange(5, -5, -3)), [5, 2, -1, -4])
83 self.assertEqual(list(xrange(a, a+2)), [a, a+1])
84 self.assertEqual(list(xrange(a+2, a, -1L)), [a+2, a+1]
    [all...]
test_genexps.py 62 ... return (i*i for i in xrange(n))
67 ... return ((i,j) for i in xrange(3) for j in xrange(n))
71 ... return ((i,j) for i in xrange(3) for j in xrange(4) if j in xrange(n))
80 ... return i*i for i in xrange(n)
87 >>> dict(a = i for i in xrange(10))
94 >>> dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS
131 >>> tupleids = map(id, ((i,i) for i in xrange(10))
    [all...]
test_iterlen.py 12 For instance, an iterable such as xrange(10) always reports its length as ten,
13 but it=iter(xrange(10)) starts at ten, and then goes to nine after it.next().
19 This is the case for tuples, xrange objects, and itertools.repeat().
67 for i in reversed(xrange(1, n+1)):
102 self.it = iter(xrange(n))
107 self.it = reversed(xrange(n))
112 self.it = iter(tuple(xrange(n)))
119 d = deque(xrange(n))
126 d = deque(xrange(n))
133 d = dict.fromkeys(xrange(n)
    [all...]
test_strtod.py 116 for i in xrange(TEST_SIZE):
152 for i in xrange(100 * TEST_SIZE):
187 for j in xrange(1000):
200 for exponent in xrange(-400, -320):
202 for j in xrange(TEST_SIZE):
210 for i in xrange(10 * TEST_SIZE):
223 for i in xrange(1000):
224 for j in xrange(TEST_SIZE):
227 s += ''.join(random.choice(digits) for _ in xrange(intpart_len))
232 for _ in xrange(fracpart_len)
    [all...]
time_hashlib.py 17 for f in xrange(iterations):
25 for f in xrange(20000):
33 for f in xrange(20000):
test_deque.py 32 d = deque(xrange(-5125, -5000))
33 d.__init__(xrange(200))
34 for i in xrange(200, 400):
36 for i in reversed(xrange(-200, 0)):
41 left = [d.popleft() for i in xrange(250)]
45 right = [d.pop() for i in xrange(250)]
67 d = deque(xrange(200), maxlen=10)
196 d = deque(xrange(n))
198 for i in xrange(n):
204 for j in xrange(1-len(l), len(l))
    [all...]
test_random.py 19 return [self.gen.random() for i in xrange(n)]
72 population = xrange(N)
73 for k in xrange(N+1):
88 return reduce(int.__mul__, xrange(1, n), 1)
89 for k in xrange(n):
92 for i in xrange(trials):
103 self.gen.sample(xrange(20), 2)
118 d = dict((i, complex(i, i)) for i in xrange(N))
119 for k in xrange(N+1):
146 origseq = [self.gen.random() for i in xrange(10)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_xrange.py 50 # Check that two xrange objects are equivalent, in the sense of the
52 # xrange objects, so instead of converting to lists and comparing
72 self.assertEqual(list(xrange(3)), [0, 1, 2])
73 self.assertEqual(list(xrange(1, 5)), [1, 2, 3, 4])
74 self.assertEqual(list(xrange(0)), [])
75 self.assertEqual(list(xrange(-3)), [])
76 self.assertEqual(list(xrange(1, 10, 3)), [1, 4, 7])
77 self.assertEqual(list(xrange(5, -5, -3)), [5, 2, -1, -4])
83 self.assertEqual(list(xrange(a, a+2)), [a, a+1])
84 self.assertEqual(list(xrange(a+2, a, -1L)), [a+2, a+1]
    [all...]
test_genexps.py 62 ... return (i*i for i in xrange(n))
67 ... return ((i,j) for i in xrange(3) for j in xrange(n))
71 ... return ((i,j) for i in xrange(3) for j in xrange(4) if j in xrange(n))
80 ... return i*i for i in xrange(n)
87 >>> dict(a = i for i in xrange(10))
94 >>> dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS
131 >>> tupleids = map(id, ((i,i) for i in xrange(10))
    [all...]
test_iterlen.py 12 For instance, an iterable such as xrange(10) always reports its length as ten,
13 but it=iter(xrange(10)) starts at ten, and then goes to nine after it.next().
19 This is the case for tuples, xrange objects, and itertools.repeat().
67 for i in reversed(xrange(1, n+1)):
102 self.it = iter(xrange(n))
107 self.it = reversed(xrange(n))
112 self.it = iter(tuple(xrange(n)))
119 d = deque(xrange(n))
126 d = deque(xrange(n))
133 d = dict.fromkeys(xrange(n)
    [all...]
test_strtod.py 116 for i in xrange(TEST_SIZE):
152 for i in xrange(100 * TEST_SIZE):
187 for j in xrange(1000):
200 for exponent in xrange(-400, -320):
202 for j in xrange(TEST_SIZE):
210 for i in xrange(10 * TEST_SIZE):
223 for i in xrange(1000):
224 for j in xrange(TEST_SIZE):
227 s += ''.join(random.choice(digits) for _ in xrange(intpart_len))
232 for _ in xrange(fracpart_len)
    [all...]
time_hashlib.py 17 for f in xrange(iterations):
25 for f in xrange(20000):
33 for f in xrange(20000):
test_deque.py 32 d = deque(xrange(-5125, -5000))
33 d.__init__(xrange(200))
34 for i in xrange(200, 400):
36 for i in reversed(xrange(-200, 0)):
41 left = [d.popleft() for i in xrange(250)]
45 right = [d.pop() for i in xrange(250)]
67 d = deque(xrange(200), maxlen=10)
196 d = deque(xrange(n))
198 for i in xrange(n):
204 for j in xrange(1-len(l), len(l))
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
rijndael.py 66 for i in xrange(255):
73 for i in xrange(1, 255):
83 box = [[0] * 8 for i in xrange(256)]
85 for i in xrange(2, 256):
87 for t in xrange(8):
93 cox = [[0] * 8 for i in xrange(256)]
94 for i in xrange(256):
95 for t in xrange(8):
97 for j in xrange(8):
103 for i in xrange(256)
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
bench_wsh.py 55 for i in xrange(count):
  /external/chromium_org/tools/python/google/
process_utils.py 160 outputs = [[] for i in xrange(command_num)]
161 procs = [None for i in xrange(command_num)]
162 eofs = [False for i in xrange(command_num)]
174 for i in xrange(command_num):
188 for i in xrange(command_num):
215 for i in xrange(command_num):
221 return [(procs[i].returncode, outputs[i]) for i in xrange(command_num)]
  /external/chromium_org/tools/site_compare/commands/
timeload.py 98 for b in xrange(num_browsers):
122 for b in xrange(num_browsers):
132 for b in xrange(num_browsers):
143 for b in xrange(num_browsers):

Completed in 2083 milliseconds

1 2 3 4 5 6 7 8 91011>>