/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
D | sieve.cpp | 85 double midpoint(double *times, double i, int n) { in midpoint() argument 90 return times[(int)fl]; in midpoint() 92 return (times[(int)fl]+times[(int)ce])/2; in midpoint() 96 double medianof(double *times, int n, int type) { in medianof() argument 99 return midpoint(times,n/4,n); in medianof() 101 return midpoint(times,n/2,n); in medianof() 103 return midpoint(times,(n/2)+(n/4),n); in medianof() 108 double qs(double *times, int n, double *q1, double *q2, double *q3) { in qs() argument 109 *q1 = medianof(times,n,1); in qs() 110 *q2 = medianof(times,n,2); in qs() [all …]
|
/external/libpng/contrib/pngsuite/ |
D | README | 62 Filter 0 was used 32 times 64 Filter 0 was used 32 times 66 Filter 0 was used 32 times 68 Filter 1 was used 9 times 69 Filter 4 was used 23 times 71 Filter 1 was used 1 times 72 Filter 2 was used 31 times 74 Filter 1 was used 5 times 75 Filter 4 was used 27 times 77 Filter 1 was used 1 times [all …]
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | BasicVerificationInOrderTest.java | 48 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrder() 58 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderUsingAtLeastOnce() 67 inOrder.verify(mockOne, times(0)).oneArg(false); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes() 69 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes() 70 inOrder.verify(mockTwo, times(0)).simpleMethod(22); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes() 74 inOrder.verify(mockThree, times(0)).oneArg(false); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes() 91 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldFailWhenLastMockCalledTwice() 104 inOrder.verify(mockOne, times(0)).simpleMethod(1); in shouldFailOnFirstMethodBecauseOneInvocationWanted() 109 inOrder.verify(mockOne, times(2)).simpleMethod(1); in shouldFailOnFirstMethodBecauseOneInvocationWantedAgain() 114 inOrder.verify(mockOne, times(1)).simpleMethod(1); in shouldFailOnSecondMethodBecauseFourInvocationsWanted() [all …]
|
D | RelaxedVerificationInOrderTest.java | 50 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAllInvocations() 59 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderAndBeRelaxed() 67 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldAllowFirstChunkBeforeLastInvocation() 78 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldAllowAllChunksBeforeLastInvocation() 86 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyDetectFirstChunkOfInvocationThatExistInManyChunks() 96 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldVerifyDetectAllChunksOfInvocationThatExistInManyChunks() 113 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInteractionsFromFirstChunk() 122 inOrder.verify(mockTwo, times(1)).simpleMethod(2); in shouldFailVerificationOfNonFirstChunk() 129 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldPassOnCombinationOfTimesAndAtLeastOnce() 148 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree() [all …]
|
D | ExactNumberOfTimesVerificationTest.java | 35 verify(mock, times(2)).clear(); in shouldDetectTooLittleActualInvocations() 37 verify(mock, times(100)).clear(); in shouldDetectTooLittleActualInvocations() 51 verify(mock, times(2)).clear(); in shouldDetectTooManyActualInvocations() 53 verify(mock, times(1)).clear(); in shouldDetectTooManyActualInvocations() 64 verify(mock, times(0)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero() 66 verify(mock, times(15)).clear(); in shouldDetectActualInvocationsCountIsMoreThanZero() 76 verify(mock, times(0)).clear(); in shouldDetectActuallyCalledOnce() 85 verify(mock, times(0)).clear(); in shouldPassWhenMethodsActuallyNotCalled() 86 verify(mock, times(0)).add("yes, I wasn't called"); in shouldPassWhenMethodsActuallyNotCalled() 97 verify(mock, times(2)).add("test"); in shouldNotCountInStubbedInvocations()
|
D | SelectedMocksInOrderVerificationTest.java | 43 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyAllInvocationsInOrder() 54 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyInOrderMockTwoAndThree() 106 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldVerifyMockTwoWhenThreeTimesUsed() 135 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldThrowNoMoreInvocationsForMockTwo() 145 inOrder.verify(mockTwo, times(4)).simpleMethod(2); in shouldThrowTooLittleInvocationsForMockTwo() 155 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldThrowTooManyInvocationsForMockTwo() 164 inOrder.verify(mockTwo, times(3)).simpleMethod(2); in shouldAllowThreeTimesOnMockTwo() 172 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldVerifyMockTwoCompletely() 182 inOrder.verify(mockTwo, times(2)).simpleMethod(2); in shouldAllowTwoTimesOnMockTwo()
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
D | model_utils.py | 69 def canonicalize_times_or_steps_from_output(times, steps, argument 72 if steps is not None and times is not None: 74 if steps is None and times is None: 76 if times is not None: 77 times = numpy.array(times) 78 if len(times.shape) != 2: 79 times = times[None, ...] 81 times.shape[0]): 86 times.shape[0], previous_model_output[ 89 times[:, 0]).all(): [all …]
|
D | model.py | 276 def _process_exogenous_features(self, times, features): argument 324 array_ops.shape(times), array_ops.shape( 328 exogenous_regressors.set_shape(times.get_shape().concatenate( 500 def _loss_additions(self, times, values, mode): argument 512 del times, values, mode 515 def _window_initializer(self, times, state): argument 572 times=current_times, 605 times = math_ops.cast(features[TrainEvalFeatures.TIMES], dtype=dtypes.int64) 610 times=times, 631 times=times, state=state, state_update_fn=_batch_loss_filtering_step, [all …]
|
D | ar_model.py | 166 def prediction_ops(self, times, values): argument 181 times.get_shape().assert_is_compatible_with([None, self.window_size]) 188 _, time_features = self._compute_time_features(times) 372 times = math_ops.cast(features[TrainEvalFeatures.TIMES], dtypes.int64) 379 if not times.get_shape().is_compatible_with(expected_times_shape): 392 times_shape=times.get_shape())) 398 prediction_ops = self.prediction_ops(times, input_values) 421 end_state=(times[:, -self.input_window_size:], 425 prediction_times=times[:, -self.output_window_size:]) 467 times = features[TrainEvalFeatures.TIMES] [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | session_benchmark.py | 52 times = [] 64 times.append(end_time - start_time) 65 print("%s %d %f" % (name, size, np.median(times))) 66 self.report_benchmark(iters=1, wall_time=np.median(times), name=name) 80 times = [] 92 times.append(end_time - start_time) 93 print("%s %d %f" % (name, size, np.median(times))) 94 self.report_benchmark(iters=1, wall_time=np.median(times), name=name) 108 times = [] 121 times.append(end_time - start_time) [all …]
|
/external/icu/icu4c/source/data/rbnf/ |
D | fil.txt | 16 "%%number-times:", 28 "20: <%%number-times< p\u00FB[\u2019t >>];", 29 "100: <%%number-times< da\u00E1n[ at >>];", 30 "1000: <%%number-times< lib\u00F3[\u2019t >>];", 46 "20: <%%number-times< p\u00FB[\u2019t >>];", 47 "100: <%%number-times< da\u00E1n[ at >>];", 48 "1000: <%%number-times< lib\u00F3[\u2019t >>];", 49 "1000000: <%%number-times< mily\u00F3n[ at >>];", 50 "1000000000: <%%number-times< bily\u00F3n[ at >>];", 51 "1000000000000: <%%number-times< trily\u00F3n[ at >>];", [all …]
|
/external/e2fsprogs/tests/f_pre_1970_date_encoding/ |
D | expect | 1 times for year-1909 = 6 times for year-1979 = 11 times for year-2039 = 16 times for year-2139 = 21 times for year-1909 = 26 times for year-1979 = 31 times for year-2039 = 36 times for year-2139 = 41 times for year-1909 =
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
D | VerificationModeBuilder.java | 14 private Integer times = 1; field in VerificationModeBuilder 17 return VerificationModeFactory.times(times); in inOrder() 20 public VerificationModeBuilder times(int times) { in times() method in VerificationModeBuilder 21 this.times = times; in times()
|
/external/easymock/src/org/easymock/ |
D | MockControl.java | 200 public void setVoidCallable(int times) { in setVoidCallable() argument 203 .times(times); in setVoidCallable() 223 public void setThrowable(Throwable throwable, int times) { in setThrowable() argument 226 .andThrow(throwable).times(times); in setThrowable() 242 public void setReturnValue(Object value, int times) { in setReturnValue() argument 245 .andReturn(value).times(times); in setReturnValue() 348 .times(minCount, maxCount); in setVoidCallable() 379 .andThrow(throwable).times(minCount, maxCount); in setThrowable() 408 .andReturn(value).times(minCount, maxCount); in setReturnValue() 512 EasyMock.expectLastCall().andReturn(value).times(count); in expectAndReturn() [all …]
|
/external/gemmlowp/test/ |
D | benchmark_meta_gemm.cc | 113 void print_summary(std::vector<double>* times, bool full) { in print_summary() argument 114 std::sort(times->begin(), times->end()); in print_summary() 120 const size_t count_trimmed = times->size() * trim_ratio; in print_summary() 124 const size_t count_best = times->size() * best_ratio; in print_summary() 126 for (size_t i = 0; i < times->size(); i++) { in print_summary() 127 sum_times += (*times)[i]; in print_summary() 128 if (i >= count_trimmed && i < times->size() - count_trimmed) { in print_summary() 129 sum_times_trimmed += (*times)[i]; in print_summary() 133 sum_times_best += (*times)[i]; in print_summary() 138 const double min_latency = times->front(); in print_summary() [all …]
|
/external/clang/test/SemaObjC/ |
D | arc-repeated-weak.mm | 22 …use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times in this … 57 use(a.weakProp); // expected-warning{{weak property 'weakProp' is accessed multiple times}} 66 …); // expected-warning{{weak property 'weakProp' may be accessed multiple times in this function a… 71 …trongProp.weakProp); // expected-warning{{weak property 'weakProp' may be accessed multiple times}} 76 …licitProp); // expected-warning{{weak implicit property 'implicitProp' is accessed multiple times}} 81 …Test.weakProp); // expected-warning{{weak implicit property 'weakProp' is accessed multiple times}} 92 …e(a->weakIvar); // expected-warning{{weak instance variable 'weakIvar' is accessed multiple times}} 98 use(a); // expected-warning{{weak variable 'a' is accessed multiple times}} 103 use([a weakProp]); // expected-warning{{weak property 'weakProp' is accessed multiple times}} 114 use([a weakProp]); // expected-warning{{weak property 'weakProp' is accessed multiple times}} [all …]
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | IdleConnectionHandler.java | 98 TimeValues times = connectionToTimes.remove(connection); in remove() local 99 if(times == null) { in remove() 103 return System.currentTimeMillis() <= times.timeExpires; in remove() 134 TimeValues times = connectionToTimes.get(conn); in closeIdleConnections() local 135 Long connectionTime = times.timeAdded; in closeIdleConnections() 162 TimeValues times = connectionToTimes.get(conn); in closeExpiredConnections() local 163 if(times.timeExpires <= now) { in closeExpiredConnections() 165 log.debug("Closing connection, expired @: " + times.timeExpires); in closeExpiredConnections()
|
/external/swiftshader/third_party/LLVM/test/Analysis/Profiling/ |
D | profiling-tool-chain.ll | 71 ; PROF:;;; %oneblock called 2 times. 76 ; PROF: ;;; Basic block executed 2 times. 83 ; PROF:;;; %main called 2 times. 88 ; PROF: ;;; Basic block executed 2 times. 107 ; PROF: ;;; Basic block executed 6 times. 115 ; PROF: ;;; Basic block executed 3 times. 122 ; PROF: ;;; Basic block executed 9 times. 131 ; PROF: ;;; Basic block executed 9 times. 144 ; PROF: ;;; Basic block executed 9 times. 154 ; PROF: ;;; Basic block executed 12 times. [all …]
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
D | futimesat01.c | 59 int myfutimesat(int dirfd, const char *filename, struct timeval *times) in myfutimesat() argument 61 return ltp_syscall(__NR_futimesat, dirfd, filename, times); in myfutimesat() 67 struct timeval times[2]; in main() local 80 gettimeofday(×[0], NULL); in main() 81 gettimeofday(×[1], NULL); in main() 82 TEST(myfutimesat(fds[i], filenames[i], times)); in main()
|
/external/autotest/client/cros/cellular/wardmodem/ |
D | task_loop_unittest.py | 116 self.times = {} 123 diff1 = round(self.times[1] - self.times[0], 3) 124 diff2 = round(self.times[2] - self.times[1], 3) 125 diff3 = round(self.times[3] - self.times[2], 3) 165 self.times[self.count] = time.time()
|
/external/easymock/src/org/easymock/internal/ |
D | RecordState.java | 98 times(MocksControl.ONCE); in andReturn() 107 times(MocksControl.ONCE); in andThrow() 116 times(MocksControl.ONCE); in andAnswer() 125 times(MocksControl.ONCE); in andDelegateTo() 135 times(MocksControl.ONCE); in andStubReturn() 147 times(MocksControl.ONCE); in setDefaultReturnValue() 176 times(MocksControl.ONCE); in andStubThrow() 187 times(MocksControl.ONCE); in setDefaultThrowable() 199 times(MocksControl.ONCE); in andStubAnswer() 209 times(MocksControl.ONCE); in andStubDelegateTo() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | main.py | 138 times=[], 142 times = [] 169 times.append(result / xcount) 172 print_("%8.2f ms" % times[-1], end=" ") 174 if len(times) <= 1: 178 '%.2f' % (timed / times[-1]) for timed in times[:-1] 180 struct[-1]['times'].append((name, times[-1]))
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
D | main.py | 140 times=[], 144 times = [] 171 times.append(result / xcount) 174 print_("%8.2f ms" % times[-1], end=" ") 176 if len(times) <= 1: 180 '%.2f' % (timed / times[-1]) for timed in times[:-1] 182 struct[-1]['times'].append((name, times[-1]))
|
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
D | PointingStackTraceToActualInvocationChunkInOrderTest.java | 58 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation() 59 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointStackTraceToPreviousInvocation() 83 inOrder.verify(mock, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 84 inOrder.verify(mockTwo, times(2)).simpleMethod(anyInt()); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 88 inOrder.verify(mockTwo, times(3)).simpleMethod(999); in shouldPointToThirdChunkWhenTooLittleActualInvocations() 100 inOrder.verify(mockTwo, times(0)).simpleMethod(anyInt()); in shouldPointToFourthChunkBecauseTooManyActualInvocations()
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/ |
D | state_space_model.py | 308 def _window_initializer(self, times, state): argument 311 times = ops.convert_to_tensor(times) 313 intra_batch_gaps = array_ops.reshape(times[:, 1:] - times[:, :-1], [-1]) 316 starting_gaps = math_ops.maximum(times[:, 0] - priors_from_time, 0) 611 def _loss_additions(self, times, values, mode): argument 623 array_ops.shape(times)[1], self.dtype) 812 times=math_ops.range(series_length)).eval(feed_dict=model_parameters) 828 times = numpy.tile( 831 return {TrainEvalFeatures.TIMES: times, 855 def get_observation_model(self, times): argument [all …]
|