/external/jackson-core/src/test/java/perf/ |
D | ManualCharAccessTest.java | 49 final int REPS = (int) ((double) (80 * 1000 * 1000) / (double) INPUT_CHARS.length); in test() local 51 INPUT_CHARS.length, REPS); in test() 71 msecs = readClassic(REPS, INPUT_CHARS, OUTPUT); in test() 75 msecs = readWithByte(REPS, INPUT_CHARS, OUTPUT); in test() 79 msecs = readWithInt(REPS, INPUT_CHARS, OUTPUT); in test() 112 private final long readClassic(int REPS, char[] input, char[] output) throws Exception in readClassic() argument 118 while (--REPS >= 0) { in readClassic() 137 private final long readWithByte(int REPS, char[] input, char[] output) throws Exception in readWithByte() argument 141 while (--REPS >= 0) { in readWithByte() 162 private final long readWithInt(int REPS, char[] input, char[] output) throws Exception in readWithInt() argument [all …]
|
D | ParserTestBase.java | 11 final int REPS = (int) ((double) (10 * 1000 * 1000) / (double) expSize); in test() local 14 expSize, REPS); in test() 35 msecs = _testRead1(REPS); in test() 39 msecs = _testRead2(REPS); in test()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
D | DDMTest.java | 37 public static final int REPS = 4; field in DDMTest 95 for (int rep = 0; rep < REPS; rep++) { in testChunk001() 136 logWriter.println("Connecting and disconnecting " + REPS + " times with calls"); in testChunk001() 137 for (int rep = 0; rep < REPS; rep++) { in testChunk001() 154 logWriter.println("Connecting and disconnecting " + REPS + " times without calls"); in testChunk001() 155 for (int rep = 0; rep < REPS; rep++) { in testChunk001() 173 REPS + 1, active_cnt); in testChunk001() 176 REPS + 1, deactive_cnt); in testChunk001()
|
/external/jackson-databind/src/test/java/perf/ |
D | ObjectWriterTestBase.java | 18 final int REPS; in test() local 24 REPS = (int) ((double) (targetSizeMegs() * 1000 * 1000) / (double) input1.length); in test() 26 input1.length, input2.length, REPS); in test() 66 double msecs = testSer(REPS, value, writer); in test() 106 protected double testSer(int REPS, Object value, ObjectWriter writer) throws Exception in testSer() argument 110 while (--REPS >= 0) { in testSer()
|
D | ObjectReaderTestBase.java | 16 protected int REPS; field in ObjectReaderTestBase 30 REPS = (int) ((double) (targetSizeMegs() * 1000 * 1000) / (double) byteInput1.length); in testFromBytes() 52 REPS = (int) ((double) (targetSizeMegs() * 1000 * 1000) / (double) input1.length()); in testFromString() 69 byteInput1.length, byteInput2.length, REPS); in doTest() 92 msesc = testDeser1(REPS, byteInput1, jsonReader); in doTest() 96 msesc = testDeser2(REPS, byteInput2, arrayReader); in doTest() 110 input1.length(), input2.length(), REPS); in doTest() 134 msecs = testDeser1(REPS, input1, jsonReader); in doTest() 138 msecs = testDeser2(REPS, input2, arrayReader); in doTest()
|
D | ManualReadWithTypeResolution.java | 24 private final int REPS; field in ManualReadWithTypeResolution 51 REPS = (int) ((double) (15 * 1000 * 1000) / (double) _input.length); in ManualReadWithTypeResolution() 60 _input.length, REPS); in doTest() 78 msesc = testDeser(REPS, _input, _mapper, _inputType); in doTest() 82 msesc = testDeser(REPS, _input, _mapper, _inputTypeRef); in doTest()
|
D | ManualWritePerfUntyped.java | 33 protected double testSer(int REPS, Object value, ObjectWriter writer) throws Exception in testSer() argument 54 while (--REPS >= 0) { in testSer()
|
D | ManualWritePerfWithAllTypes.java | 34 protected double testSer(int REPS, Object value, ObjectWriter writer) throws Exception in testSer() argument 40 while (--REPS >= 0) { in testSer()
|
/external/xz-java/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderNormal.java | 32 private final int[] repLens = new int[REPS]; 129 for (int rep = 0; rep < REPS; ++rep) { in getNextSymbol() 158 back = mainDist + REPS; in getNextSymbol() 217 System.arraycopy(reps, 0, opts[0].reps, 0, REPS); in getNextSymbol() 224 for (int rep = 0; rep < REPS; ++rep) { in getNextSymbol() 257 opts[len].set1(price, 0, dist + REPS); in getNextSymbol() 315 if (opts[optCur].backPrev2 < REPS) in updateOptStateAndReps() 338 opts[optCur].reps, 0, REPS); in updateOptStateAndReps() 347 if (back < REPS) in updateOptStateAndReps() 353 if (back < REPS) { in updateOptStateAndReps() [all …]
|
D | LZMAEncoderFast.java | 67 for (int rep = 0; rep < REPS; ++rep) { in getNextSymbol() 94 back = mainDist + REPS; in getNextSymbol() 145 for (int rep = 0; rep < REPS; ++rep) in getNextSymbol() 149 back = mainDist + REPS; in getNextSymbol()
|
D | LZMACoder.java | 33 static final int REPS = 4; field in LZMACoder 37 final int[] reps = new int[REPS];
|
D | Optimum.java | 17 final int[] reps = new int[LZMACoder.REPS];
|
D | LZMAEncoder.java | 299 if (back < REPS) { in encodeSymbol() 307 assert lz.getMatchLen(-readAhead, back - REPS, len) == len; in encodeSymbol() 309 encodeMatch(back - REPS, len, posState); in encodeSymbol()
|
/external/python/cpython3/Lib/test/ |
D | test_longexp.py | 5 REPS = 65580 6 l = eval("[" + "2," * REPS + "]") 7 self.assertEqual(len(l), REPS)
|
/external/python/cpython2/Lib/test/ |
D | test_longexp.py | 6 REPS = 65580 7 l = eval("[" + "2," * REPS + "]") 8 self.assertEqual(len(l), REPS)
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | run_param_test.sh | 31 REPS=1000 40 ./param_test ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit 1 42 …./param_test_compare_twice ${TEST_LIST[$i]} -r ${REPS} -t ${NR_THREADS} ${@} ${EXTRA_ARGS} || exit…
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncNonStdParsingTest.java | 19 final int REPS = 1050; in testLargeUnquotedNames() local 20 for (int i = 0; i < REPS; ++i) { in testLargeUnquotedNames() 35 _testLargeUnquoted(f, REPS, doc, 0, 99); in testLargeUnquotedNames() 36 _testLargeUnquoted(f, REPS, doc, 0, 5); in testLargeUnquotedNames() 37 _testLargeUnquoted(f, REPS, doc, 0, 3); in testLargeUnquotedNames() 38 _testLargeUnquoted(f, REPS, doc, 0, 2); in testLargeUnquotedNames() 39 _testLargeUnquoted(f, REPS, doc, 0, 1); in testLargeUnquotedNames() 41 _testLargeUnquoted(f, REPS, doc, 1, 99); in testLargeUnquotedNames() 42 _testLargeUnquoted(f, REPS, doc, 1, 1); in testLargeUnquotedNames()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | NonStandardUnquotedNamesTest.java | 112 final int REPS = 1050; in _testLargeUnquoted() local 113 for (int i = 0; i < REPS; ++i) { in _testLargeUnquoted() 129 for (int i = 0; i < REPS; ++i) { in _testLargeUnquoted()
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_lzma2.h | 202 #define REPS 4 macro
|
/external/toybox/toys/pending/ |
D | xzcat.c | 1177 #define REPS 4 macro
|