Home
last modified time | relevance | path

Searched refs:repeat (Results 1 – 25 of 1342) sorted by relevance

12345678910>>...54

/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_repeat_test.cc42 GTEST_DECLARE_int32_(repeat);
48 using testing::GTEST_FLAG(repeat);
155 void TestRepeat(int repeat) { in TestRepeat() argument
156 GTEST_FLAG(repeat) = repeat; in TestRepeat()
159 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
160 CheckCounts(repeat); in TestRepeat()
165 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
166 GTEST_FLAG(repeat) = repeat; in TestRepeatWithEmptyFilter()
176 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
177 GTEST_FLAG(repeat) = repeat; in TestRepeatWithFilterForSuccessfulTests()
[all …]
/external/googletest/googletest/test/
Dgtest_repeat_test.cc42 GTEST_DECLARE_int32_(repeat);
48 using testing::GTEST_FLAG(repeat);
155 void TestRepeat(int repeat) { in TestRepeat() argument
156 GTEST_FLAG(repeat) = repeat; in TestRepeat()
159 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
160 CheckCounts(repeat); in TestRepeat()
165 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
166 GTEST_FLAG(repeat) = repeat; in TestRepeatWithEmptyFilter()
176 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
177 GTEST_FLAG(repeat) = repeat; in TestRepeatWithFilterForSuccessfulTests()
[all …]
/external/okio/okio/src/jvmTest/java/okio/
DBufferTest.java30 import static kotlin.text.StringsKt.repeat;
81 buffer.writeUtf8(repeat("a", 1000)); in multipleSegmentBuffers()
82 buffer.writeUtf8(repeat("b", 2500)); in multipleSegmentBuffers()
83 buffer.writeUtf8(repeat("c", 5000)); in multipleSegmentBuffers()
84 buffer.writeUtf8(repeat("d", 10000)); in multipleSegmentBuffers()
85 buffer.writeUtf8(repeat("e", 25000)); in multipleSegmentBuffers()
86 buffer.writeUtf8(repeat("f", 50000)); in multipleSegmentBuffers()
88 assertEquals(repeat("a", 999), buffer.readUtf8(999)); // a...a in multipleSegmentBuffers()
89 assertEquals("a" + repeat("b", 2500) + "c", buffer.readUtf8(2502)); // ab...bc in multipleSegmentBuffers()
90 assertEquals(repeat("c", 4998), buffer.readUtf8(4998)); // c...c in multipleSegmentBuffers()
[all …]
/external/okio/okio/src/commonTest/kotlin/okio/
DCommonBufferTest.kt72 buffer.writeUtf8('a'.repeat(1000)) in multipleSegmentBuffers()
73 buffer.writeUtf8('b'.repeat(2500)) in multipleSegmentBuffers()
74 buffer.writeUtf8('c'.repeat(5000)) in multipleSegmentBuffers()
75 buffer.writeUtf8('d'.repeat(10000)) in multipleSegmentBuffers()
76 buffer.writeUtf8('e'.repeat(25000)) in multipleSegmentBuffers()
77 buffer.writeUtf8('f'.repeat(50000)) in multipleSegmentBuffers()
79 assertEquals('a'.repeat(999), buffer.readUtf8(999)) // a...a in multipleSegmentBuffers()
80 assertEquals("a" + 'b'.repeat(2500) + "c", buffer.readUtf8(2502)) // ab...bc in multipleSegmentBuffers()
81 assertEquals('c'.repeat(4998), buffer.readUtf8(4998)) // c...c in multipleSegmentBuffers()
82 assertEquals("c" + 'd'.repeat(10000) + "e", buffer.readUtf8(10002)) // cd...de in multipleSegmentBuffers()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DBufferTest.java28 import static okio.TestUtil.repeat;
64 buffer.writeUtf8(repeat('a', Segment.SIZE * 4)); in completeSegmentByteCountOnBufferWithFullSegments()
70 buffer.writeUtf8(repeat('a', Segment.SIZE * 4 - 10)); in completeSegmentByteCountOnBufferWithIncompleteTailSegment()
93 buffer.writeUtf8(repeat('a', 6144)); in toStringOnMultipleSegmentBuffer()
99 buffer.writeUtf8(repeat('a', 1000)); in multipleSegmentBuffers()
100 buffer.writeUtf8(repeat('b', 2500)); in multipleSegmentBuffers()
101 buffer.writeUtf8(repeat('c', 5000)); in multipleSegmentBuffers()
102 buffer.writeUtf8(repeat('d', 10000)); in multipleSegmentBuffers()
103 buffer.writeUtf8(repeat('e', 25000)); in multipleSegmentBuffers()
104 buffer.writeUtf8(repeat('f', 50000)); in multipleSegmentBuffers()
[all …]
DRealBufferedSourceTest.java23 import static okio.TestUtil.repeat;
36 source.writeUtf8(repeat('b', Segment.SIZE)); in inputStreamTracksSegments()
51 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8)); in inputStreamTracksSegments()
119 source.writeUtf8(repeat('a', Segment.SIZE)); in requireReadsOneSegmentAtATime()
120 source.writeUtf8(repeat('b', Segment.SIZE)); in requireReadsOneSegmentAtATime()
131 source.writeUtf8(repeat('a', Segment.SIZE)); in skipReadsOneSegmentAtATime()
132 source.writeUtf8(repeat('b', Segment.SIZE)); in skipReadsOneSegmentAtATime()
201 Buffer write1 = new Buffer().writeUtf8(TestUtil.repeat('a', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
202 Buffer write2 = new Buffer().writeUtf8(TestUtil.repeat('b', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
203 Buffer write3 = new Buffer().writeUtf8(TestUtil.repeat('c', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
[all …]
/external/python/cpython3/Tools/importbench/
Dimportbench.py20 def bench(name, cleanup=lambda: None, *, seconds=1, repeat=3): argument
25 for x in range(repeat):
40 def from_cache(seconds, repeat): argument
48 yield from bench(name, repeat=repeat, seconds=seconds)
51 def builtin_mod(seconds, repeat): argument
57 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
61 def source_wo_bytecode(seconds, repeat): argument
73 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
81 def benchmark_wo_bytecode(seconds, repeat): argument
89 repeat=repeat, seconds=seconds)
[all …]
/external/llvm-project/flang/runtime/
Dformat-implementation.h43 int repeat{0}; in GetMaxParenthesisNesting()
50 repeat = 10 * repeat + *p - '0'; in GetMaxParenthesisNesting()
59 p += repeat; in GetMaxParenthesisNesting()
62 "Hollerith (%dH) too long in FORMAT", repeat); in GetMaxParenthesisNesting()
76 repeat = 0; in GetMaxParenthesisNesting()
226 std::optional<int> repeat; in CueUpNextDataEdit() local
239 repeat = GetIntField(context, ch); in CueUpNextDataEdit()
262 } else if (repeat) { in CueUpNextDataEdit()
263 if (*repeat <= 0) { in CueUpNextDataEdit()
264 *repeat = 1; // error recovery in CueUpNextDataEdit()
[all …]
/external/jacoco/org.jacoco.doc/docroot/doc/resources/
Ddoc.css5 background-repeat:no-repeat;
12 background-repeat:no-repeat;
19 background-repeat:no-repeat;
43 background:transparent url(extern.gif) center left no-repeat;
68 background-repeat:no-repeat;
75 background-repeat:no-repeat;
82 background-repeat:no-repeat;
89 background-repeat:no-repeat;
96 background-repeat:no-repeat;
103 background-repeat:no-repeat;
[all …]
/external/tensorflow/tensorflow/python/ops/numpy_ops/integration_test/benchmarks/
Dmicro_benchmarks.py53 repeat=None, argument
58 repeat = repeat or int(FLAGS.repeat)
65 for _ in range(repeat):
101 …def _benchmark_np_and_tf_np(self, name, op, args, repeat=None): # pylint: disable=redefined-built… argument
106 '{}_numpy'.format(name), lambda: fn(*args), repeat=repeat)
113 '{}_tfnp_cpu'.format(name), lambda: fn(*args), repeat=repeat)
128 repeats = [FLAGS.repeat] * 2 + [10]
130 for size, repeat in zip(sizes, repeats):
133 times.append(self._benchmark_np_and_tf_np(name, op, (x,), repeat))
151 repeats = [FLAGS.repeat] * 3 + [50, 10]
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dreport.css28 background-repeat:no-repeat;
35 background-repeat:no-repeat;
42 background-repeat:no-repeat;
49 background-repeat:no-repeat;
56 background-repeat:no-repeat;
63 background-repeat:no-repeat;
70 background-repeat:no-repeat;
77 background-repeat:no-repeat;
110 background-repeat: no-repeat;
120 background-repeat: no-repeat;
[all …]
/external/python/cpython2/Lib/
Dtimeit.py196 it = itertools.repeat(None, number)
208 def repeat(self, repeat=default_repeat, number=default_number): argument
229 for i in range(repeat):
239 def repeat(stmt="pass", setup="pass", timer=default_timer, argument
240 repeat=default_repeat, number=default_number):
242 return Timer(stmt, setup, timer).repeat(repeat, number)
276 repeat = default_repeat
285 repeat = int(a)
286 if repeat <= 0:
287 repeat = 1
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dcardinality_test.py51 ("Batch4", lambda: dataset_ops.Dataset.range(5).repeat().batch(2),
60 ("Concatenate3", lambda: dataset_ops.Dataset.range(5).repeat().
69 ("Concatenate6", lambda: dataset_ops.Dataset.range(5).repeat().
73 dataset_ops.Dataset.range(5).repeat()), dataset_ops.INFINITE),
76 dataset_ops.Dataset.range(5).repeat()), dataset_ops.INFINITE),
78 lambda: dataset_ops.Dataset.range(5).repeat().concatenate(
79 dataset_ops.Dataset.range(5).repeat()), dataset_ops.INFINITE),
97 ("Interleave3", lambda: dataset_ops.Dataset.range(5).repeat().interleave(
108 lambda: dataset_ops.Dataset.range(5).repeat().padded_batch(2, []),
118 ("Repeat1", lambda: dataset_ops.Dataset.range(0).repeat(0), 0),
[all …]
/external/kotlinx.atomicfu/atomicfu/src/nativeTest/kotlin/kotlinx/atomicfu/locks/
DSynchronizedTest.kt15 repeat(iterations) { in <lambda>()
23 repeat(increments) { in <lambda>()
25 repeat(nestedLocks) { lock.lock() } in <lambda>()
28 repeat(nestedLocks) { lock.unlock() } in <lambda>()
42 repeat(iterations) { in <lambda>()
51 repeat(increments) { in <lambda>()
69 repeat(iterations) { in <lambda>()
77 repeat(increments) { in <lambda>()
94 repeat(iterations) { in <lambda>()
102 repeat(increments) { in <lambda>()
[all …]
/external/python/cpython2/Lib/test/
Dtest_timeit.py141 def repeat(self, stmt, setup, repeat=None, number=None): argument
145 if repeat is None:
146 repeat = DEFAULT_REPEAT
148 kwargs['repeat'] = repeat
153 delta_times = t.repeat(**kwargs)
154 self.assertEqual(self.fake_timer.setup_calls, repeat)
155 self.assertEqual(self.fake_timer.count, repeat * number)
156 self.assertEqual(delta_times, repeat * [float(number)])
163 self.repeat(self.fake_stmt, self.fake_setup, repeat=0)
166 self.repeat(self.fake_stmt, self.fake_setup, number=0)
[all …]
/external/libyuv/files/unit_test/
Dunit_test.cc144 const char* repeat = getenv("LIBYUV_REPEAT"); in LibYUVConvertTest() local
145 if (repeat) { in LibYUVConvertTest()
146 benchmark_iterations_ = atoi(repeat); // NOLINT in LibYUVConvertTest()
200 const char* repeat = getenv("LIBYUV_REPEAT"); in LibYUVColorTest() local
201 if (repeat) { in LibYUVColorTest()
202 benchmark_iterations_ = atoi(repeat); // NOLINT in LibYUVColorTest()
256 const char* repeat = getenv("LIBYUV_REPEAT"); in LibYUVScaleTest() local
257 if (repeat) { in LibYUVScaleTest()
258 benchmark_iterations_ = atoi(repeat); // NOLINT in LibYUVScaleTest()
312 const char* repeat = getenv("LIBYUV_REPEAT"); in LibYUVRotateTest() local
[all …]
/external/curl/tests/data/
Dtest55348 Header0: %repeat[5000 x A]%
49 Header1: %repeat[5000 x A]%
50 Header2: %repeat[5000 x A]%
51 Header3: %repeat[5000 x A]%
52 Header4: %repeat[5000 x A]%
53 Header5: %repeat[5000 x A]%
54 Header6: %repeat[5000 x A]%
55 Header7: %repeat[5000 x A]%
59 %repeat[40960 x A]%
/external/python/cpython3/Lib/
Dtimeit.py173 it = itertools.repeat(None, number)
183 def repeat(self, repeat=default_repeat, number=default_number): argument
204 for i in range(repeat):
235 def repeat(stmt="pass", setup="pass", timer=default_timer, function
236 repeat=default_repeat, number=default_number, globals=None):
238 return Timer(stmt, setup, timer, globals).repeat(repeat, number)
274 repeat = default_repeat
292 repeat = int(a)
293 if repeat <= 0:
294 repeat = 1
[all …]
/external/libxml2/
DtestThreads.c112 unsigned int i, repeat; in main() local
116 for (repeat = 0;repeat < TEST_REPEAT_COUNT;repeat++) { in main()
159 unsigned int i, repeat; in main() local
163 for (repeat = 0;repeat < TEST_REPEAT_COUNT;repeat++) in main()
216 unsigned int i, repeat; in main() local
221 for (repeat = 0;repeat < TEST_REPEAT_COUNT;repeat++) { in main()
222 printf("repeat: %d\n",repeat); in main()
/external/mesa3d/src/freedreno/ir3/
Dir3.c81 uint32_t repeat, uint32_t valid_flags) in reg() argument
92 repeat = 0; in reg()
103 max = (reg->array.offset + repeat + components - 1); in reg()
108 max = (reg->num + repeat + components - 1); in reg()
145 cat0->repeat = instr->repeat; in emit_cat0()
174 cat1->off = reg(src, info, instr->repeat, in emit_cat1()
179 cat1->src = reg(src, info, instr->repeat, in emit_cat1()
184 cat1->dst = reg(dst, info, instr->repeat, in emit_cat1()
187 cat1->repeat = instr->repeat; in emit_cat1()
215 iassert(!instr->repeat); in emit_cat2()
[all …]
/external/python/cpython3/Lib/test/
Dtest_timeit.py155 def repeat(self, stmt, setup, repeat=None, number=None): member in TestTimeit
159 if repeat is None:
160 repeat = DEFAULT_REPEAT
162 kwargs['repeat'] = repeat
167 delta_times = t.repeat(**kwargs)
168 self.assertEqual(self.fake_timer.setup_calls, repeat)
169 self.assertEqual(self.fake_timer.count, repeat * number)
170 self.assertEqual(delta_times, repeat * [float(number)])
177 self.repeat(self.fake_stmt, self.fake_setup, repeat=0)
180 self.repeat(self.fake_stmt, self.fake_setup, number=0)
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemVibrator.java44 protected void vibrate(long[] pattern, int repeat) { in vibrate() argument
45 recordVibratePattern(pattern, repeat); in vibrate()
49 protected void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { in vibrate() argument
50 recordVibratePattern(pattern, repeat); in vibrate()
54 …protected void vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attribut… in vibrate() argument
55 recordVibratePattern(pattern, repeat); in vibrate()
119 private void recordVibratePattern(long[] pattern, int repeat) { in recordVibratePattern() argument
120 long duration = repeat < 0 ? Arrays.stream(pattern).sum() : Long.MAX_VALUE; in recordVibratePattern()
121 recordVibratePattern(duration, pattern, repeat); in recordVibratePattern()
124 private void recordVibratePattern(long milliseconds, long[] pattern, int repeat) {
[all …]
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dppc-vaarg-agg.ll9 br i1 undef, label %repeat, label %maxlen_reached
11 repeat: ; preds = %entry
20 sw.bb72: ; preds = %repeat
23 sw.bb309: ; preds = %repeat
26 sw.bb313: ; preds = %repeat
29 sw.bb321: ; preds = %repeat
32 sw.bb323: ; preds = %repeat
36 sw.bb326: ; preds = %repeat
/external/llvm/test/CodeGen/PowerPC/
Dppc-vaarg-agg.ll9 br i1 undef, label %repeat, label %maxlen_reached
11 repeat: ; preds = %entry
20 sw.bb72: ; preds = %repeat
23 sw.bb309: ; preds = %repeat
26 sw.bb313: ; preds = %repeat
29 sw.bb321: ; preds = %repeat
32 sw.bb323: ; preds = %repeat
36 sw.bb326: ; preds = %repeat
/external/libxkbcommon/test/data/keymaps/
Dno-types.xkb305 interpret.repeat= false;
421 repeat= true;
425 repeat= true;
429 repeat= true;
433 repeat= true;
437 repeat= true;
441 repeat= true;
445 repeat= true;
449 repeat= true;
453 repeat= true;
[all …]

12345678910>>...54