Home
last modified time | relevance | path

Searched refs:repeat (Results 1 - 25 of 345) sorted by relevance

12345678910>>...14

/third_party/googletest/googletest/test/
H A Dgtest_repeat_test.cc140 void TestRepeat(int repeat) { in TestRepeat() argument
141 GTEST_FLAG_SET(repeat, repeat); in TestRepeat()
145 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
146 CheckCounts(repeat); in TestRepeat()
151 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
152 GTEST_FLAG_SET(repeat, repeat); in TestRepeatWithEmptyFilter()
163 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
164 GTEST_FLAG_SET(repeat, repea in TestRepeatWithFilterForSuccessfulTests()
180 TestRepeatWithFilterForFailedTests(int repeat) TestRepeatWithFilterForFailedTests() argument
[all...]
/third_party/rust/crates/regex/bench/src/
H A Dmisc.rs3 use std::iter::repeat;
19 repeat("a?").take(100).collect::<String>(),
20 repeat("a").take(100).collect::<String>()
23 repeat("a").take(100).collect()
27 format!("{}y", repeat("x").take(50).collect::<String>())
31 format!("{}y", repeat("x").take(50).collect::<String>())
35 format!("{}w", repeat("xxxx").take(20).collect::<String>())
39 format!("{}c", repeat("bbbb").take(20).collect::<String>())
45 format!("{}a", repeat("☃5☃5").take(20).collect::<String>())
53 repeat("abcdefghijklmnopqrstuvwxy
[all...]
/third_party/python/Tools/importbench/
H A Dimportbench.py20 def bench(name, cleanup=lambda: None, *, seconds=1, repeat=3):
25 for x in range(repeat):
40 def from_cache(seconds, repeat):
48 yield from bench(name, repeat=repeat, seconds=seconds)
51 def builtin_mod(seconds, repeat):
57 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
61 def source_wo_bytecode(seconds, repeat):
73 yield from bench(name, lambda: sys.modules.pop(name), repeat
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dstring-prototype-repeat.js19 z.repeat (-1);
28 print(z.repeat (Infinity));
35 assert (z.repeat (0) === "");
36 assert (z.repeat (NaN) === "");
39 assert (y.repeat (3) === "I am batman I am batman I am batman ");
41 assert (String.prototype.repeat.call ("My cat is awesome. ", 3) === "My cat is awesome. My cat is awesome. My cat is awesome. ");
44 String.prototype.repeat.call (undefined);
51 String.prototype.repeat.call (null);
58 String.prototype.repeat.call (undefined, "Sylveon");
66 String.prototype.repeat
[all...]
/third_party/python/Lib/
H A Dtimeit.py16 -r/--repeat N: how many times to repeat the timer (default 5)
20 -v/--verbose: print raw timing results; repeat for more digits precision
47 repeat(string, string) -> list
57 __all__ = ["Timer", "timeit", "repeat", "default_timer"]
95 timeit() method. The repeat() method is a convenience to call
144 t.timeit(...) # or t.repeat(...)
174 it = itertools.repeat(None, number)
184 def repeat(self, repeat member in Timer
236 def repeat(stmt="pass", setup="pass", timer=default_timer, global() function
[all...]
/third_party/node/deps/uv/src/
H A Dtimer.c62 handle->repeat = 0; in uv_timer_init()
70 uint64_t repeat) { in uv_timer_start()
85 handle->repeat = repeat; in uv_timer_start()
115 if (handle->repeat) { in uv_timer_again()
117 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again()
124 void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat) { in uv_timer_set_repeat() argument
125 handle->repeat = repeat; in uv_timer_set_repeat()
67 uv_timer_start(uv_timer_t* handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat) uv_timer_start() argument
[all...]
/third_party/node/benchmark/buffers/
H A Dbuffer-bytelength-string.js7 repeat: [1, 2, 16, 256], // x16
19 function getInput(type, repeat, encoding) {
20 const original = (repeat === 1) ? chars[type] : chars[type].repeat(repeat);
27 function main({ n, repeat, encoding, type }) {
28 const data = getInput(type, repeat, encoding);
/third_party/python/Lib/test/
H A Dtest_timeit.py164 def repeat(self, stmt, setup, repeat=None, number=None): member in TestTimeit
168 if repeat is None:
169 repeat = DEFAULT_REPEAT
171 kwargs['repeat'] = repeat
176 delta_times = t.repeat(**kwargs)
177 self.assertEqual(self.fake_timer.setup_calls, repeat)
178 self.assertEqual(self.fake_timer.count, repeat * number)
179 self.assertEqual(delta_times, repeat * [floa
[all...]
H A Dtest_tuple.py195 tryone("range(100) by 3", list(product(range(100), repeat=3)),
206 tryone("-10 .. 8 by 4", list(product(cands, repeat=4)),
217 tryone("0..99 << 60 by 3", list(product(L, repeat=3)),
222 tryone("[-3, 3] by 18", list(product([-3, 3], repeat=18)),
227 tryone("[0, 0.5] by 18", list(product([0, 0.5], repeat=18)),
240 list(product("abcdefghijklmnopqrstuvwxyz", repeat=4)),
250 xp = list(product(base, repeat=2))
263 L2 = list(product(A, repeat=2))
264 L3 = L2 + list(product(A, repeat=3))
265 L4 = L3 + list(product(A, repeat
[all...]
/third_party/libuv/src/
H A Dtimer.c65 handle->repeat = 0; in uv_timer_init()
73 uint64_t repeat) { in uv_timer_start()
88 handle->repeat = repeat; in uv_timer_start()
126 if (handle->repeat) { in uv_timer_again()
128 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again()
135 void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat) { in uv_timer_set_repeat() argument
136 handle->repeat = repeat; in uv_timer_set_repeat()
70 uv_timer_start(uv_timer_t* handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat) uv_timer_start() argument
[all...]
/third_party/node/benchmark/misc/
H A Dgetstringwidth.js16 ascii: 'foobar'.repeat(100),
17 mixed: 'foo'.repeat(100) + '?' + 'bar'.repeat(100),
18 emojiseq: '?‍?‍?‍??‍?‍?‍??‍?‍?‍??‍?‍?‍?'.repeat(10),
19 fullwidth: '你好'.repeat(150),
/third_party/node/test/parallel/
H A Dtest-http2-backpressure.js22 assert.strictEqual(stream.write('A'.repeat(5)), true);
23 assert.strictEqual(stream.write('A'.repeat(40)), false);
24 assert.strictEqual(await event(req, 'data'), 'A'.repeat(5));
25 assert.strictEqual(await event(req, 'data'), 'A'.repeat(40));
27 assert.strictEqual(stream.write('A'.repeat(5)), true);
28 assert.strictEqual(stream.write('A'.repeat(40)), false);
H A Dtest-buffer-alloc.js414 assert.strictEqual(Buffer.from('Kio=', encoding).toString(), '*'.repeat(2));
415 assert.strictEqual(Buffer.from('Kioq', encoding).toString(), '*'.repeat(3));
417 Buffer.from('KioqKg==', encoding).toString(), '*'.repeat(4));
419 Buffer.from('KioqKio=', encoding).toString(), '*'.repeat(5));
421 Buffer.from('KioqKioq', encoding).toString(), '*'.repeat(6));
423 '*'.repeat(7));
425 '*'.repeat(8));
427 '*'.repeat(9));
429 '*'.repeat(10));
431 '*'.repeat(1
[all...]
H A Dtest-https-max-header-size-per-stream.js33 assert.strictEqual(res.headers.hello, 'A'.repeat(http.maxHeaderSize * 3));
41 'Hello: ' + 'A'.repeat(http.maxHeaderSize * 3) + '\r\n' +
58 'Hello: ' + 'A'.repeat(http.maxHeaderSize * 3) + '\r\n' +
84 'Hello: ' + 'A'.repeat(http.maxHeaderSize * 3) + '\r\n' +
110 'Hello: ' + 'A'.repeat(http.maxHeaderSize * 3) + '\r\n' +
/third_party/skia/third_party/externals/tint/src/
H A Dsource.cc56 auto repeat = [&](char c, size_t n) { in operator <<() local
72 repeat(' ', rng.begin.column - 1); in operator <<()
73 repeat('^', std::max<size_t>(rng.end.column - rng.begin.column, 1)); in operator <<()
76 repeat(' ', rng.begin.column - 1); in operator <<()
77 repeat('^', len - (rng.begin.column - 1)); in operator <<()
80 repeat('^', rng.end.column - 1); in operator <<()
83 repeat('^', len); in operator <<()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DScalarizeVecAndMatConstructorArgs.cpp136 int repeat = std::min(size, originalArg->getNominalSize()); in scalarizeArgs() local
137 size -= repeat; in scalarizeArgs()
138 for (int index = 0; index < repeat; ++index) in scalarizeArgs()
157 int repeat = std::min(size, originalArg->getCols() * originalArg->getRows()); in scalarizeArgs() local
158 size -= repeat; in scalarizeArgs()
159 while (repeat > 0) in scalarizeArgs()
170 repeat--; in scalarizeArgs()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_split_prim.h47 int repeat = 0; in util_split_prim_next() local
70 repeat = 1; in util_split_prim_next()
89 repeat = 2; in util_split_prim_next()
93 repeat = 1; in util_split_prim_next()
100 repeat = 2; in util_split_prim_next()
110 s->p_start += (max_verts - repeat); in util_split_prim_next()
/third_party/python/Lib/lib2to3/
H A Dpatcomp.py104 repeat = None
106 repeat = nodes[-1]
110 pattern = self.compile_basic(nodes, repeat)
112 if repeat is not None:
113 assert repeat.type == self.syms.Repeater
114 children = repeat.children
138 def compile_basic(self, nodes, repeat=None):
168 assert repeat is None
/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Dformatter.cc96 /// repeat queues the character c to be written to the printer n times.
99 void repeat(char c, size_t n) { in repeat() function
206 state.repeat(' ', style_.tab_width); in format()
229 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
230 state.repeat('^', std::max<size_t>( in format()
234 state.repeat(' ', num_glyphs(1, rng.begin.column)); in format()
235 state.repeat('^', num_glyphs(rng.begin.column, line_len + 1)); in format()
238 state.repeat('^', num_glyphs(1, rng.end.column)); in format()
241 state.repeat('^', num_glyphs(1, line_len + 1)); in format()
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/lib/
H A Dindex.js103 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col));
113 ts += ' '.repeat(w - mixin.stringWidth(ts) - 1);
119 str += ' '.repeat(padding[left]);
125 str += ' '.repeat(padding[right]);
163 return target.trimEnd() + ' '.repeat(leadingWhitespace - targetTextWidth) + source.trimStart();
181 wrapped.unshift('.' + '-'.repeat(this.negatePadding(col) + 2) + '.');
182 wrapped.push("'" + '-'.repeat(this.negatePadding(col) + 2) + "'");
279 return ' '.repeat(width - strWidth) + str;
291 return ' '.repeat((width - strWidth) >> 1) + str;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DTrieMapTest.java178 public void time(int repeat) { in timeIteration()
179 for (int tt = 0; tt < repeat; ++tt) { in timeIteration()
196 public void time(int repeat) { in timeIteration()
197 for (int tt = 0; tt < repeat; ++tt) { in timeIteration()
319 public void time(int repeat) { in timeBuilding()
320 for (int tt = 0; tt < repeat; ++tt) { in timeBuilding()
330 public void time(int repeat) { in timeBuilding()
331 for (int tt = 0; tt < repeat; ++tt) { in timeBuilding()
342 public void time(int repeat) { in timeBuilding()
343 for (int tt = 0; tt < repeat; in timeBuilding()
506 time(int repeat) time() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTrieMapTest.java175 public void time(int repeat) { in timeIteration()
176 for (int tt = 0; tt < repeat; ++tt) { in timeIteration()
193 public void time(int repeat) { in timeIteration()
194 for (int tt = 0; tt < repeat; ++tt) { in timeIteration()
316 public void time(int repeat) { in timeBuilding()
317 for (int tt = 0; tt < repeat; ++tt) { in timeBuilding()
327 public void time(int repeat) { in timeBuilding()
328 for (int tt = 0; tt < repeat; ++tt) { in timeBuilding()
339 public void time(int repeat) { in timeBuilding()
340 for (int tt = 0; tt < repeat; in timeBuilding()
503 time(int repeat) time() argument
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dsign.rs728 iter::repeat(0x0b_u8).take(16).collect(), in hmac_md5()
738 iter::repeat(0xaa_u8).take(16).collect(), in hmac_md5()
739 iter::repeat(0xdd_u8).take(50).collect(), in hmac_md5()
744 iter::repeat(0xcd_u8).take(50).collect(), in hmac_md5()
748 iter::repeat(0x0c_u8).take(16).collect(), in hmac_md5()
753 iter::repeat(0xaa_u8).take(80).collect(), in hmac_md5()
758 iter::repeat(0xaa_u8).take(80).collect(), in hmac_md5()
775 iter::repeat(0x0b_u8).take(20).collect(), in hmac_sha1()
785 iter::repeat(0xaa_u8).take(20).collect(), in hmac_sha1()
786 iter::repeat( in hmac_sha1()
[all...]
/third_party/node/src/
H A Dtimer_wrap.cc26 void TimerWrap::Update(uint64_t interval, uint64_t repeat) { in Update() argument
28 uv_timer_start(&timer_, OnTimeout, interval, repeat); in Update()
69 void TimerWrapHandle::Update(uint64_t interval, uint64_t repeat) { in Update() argument
71 timer_->Update(interval, repeat); in Update()
/third_party/libuv/src/win/
H A Dcore.c434 int repeat; in uv__poll_wine() local
450 for (repeat = 0; ; repeat++) { in uv__poll_wine()
510 timeout += repeat ? (1 << (repeat - 1)) : 0; in uv__poll_wine()
526 int repeat; in uv__poll() local
543 for (repeat = 0; ; repeat++) { in uv__poll()
612 timeout += repeat ? (1 << (repeat in uv__poll()
[all...]

Completed in 18 milliseconds

12345678910>>...14