/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | timeseries.py | 39 start_index=None, argument 145 if start_index and (start_index < 0 or start_index >= len(data)): 148 'for data of length %s.' % (start_index, len(data))) 150 if start_index and end_index <= start_index: 153 (start_index, end_index)) 173 if start_index is None: 174 start_index = 0 179 num_seqs = end_index - start_index - (sequence_length * sampling_rate) + 1 209 dataset = sequences_from_indices(data, indices, start_index, end_index) 216 targets, indices, start_index, end_index) [all …]
|
D | timeseries_test.py | 122 start_index = i * 5 + j 123 end_index = start_index + 9 * 2 124 self.assertAllClose(inputs[j], np.arange(start_index, end_index, 2)) 143 start_index = i * 5 * 3 + j * 3 144 end_index = start_index + 9 146 np.arange(start_index, end_index)) 153 start_index=10, end_index=90) 162 np.arange(10), None, 3, start_index=-1) 165 np.arange(10), None, 3, start_index=11)
|
/external/webrtc/rtc_tools/frame_analyzer/ |
D | video_temporal_aligner_unittest.cc | 83 const size_t start_index = 12345; in TEST_F() local 85 indices.push_back(start_index % reference_video->number_of_frames()); in TEST_F() 86 indices.push_back((start_index + 1) % reference_video->number_of_frames()); in TEST_F() 87 indices.push_back((start_index + 2) % reference_video->number_of_frames()); in TEST_F() 88 indices.push_back((start_index + 5) % reference_video->number_of_frames()); in TEST_F() 89 indices.push_back((start_index + 10) % reference_video->number_of_frames()); in TEST_F() 90 indices.push_back((start_index + 20) % reference_video->number_of_frames()); in TEST_F() 91 indices.push_back((start_index + 20) % reference_video->number_of_frames()); in TEST_F() 92 indices.push_back((start_index + 22) % reference_video->number_of_frames()); in TEST_F() 93 indices.push_back((start_index + 32) % reference_video->number_of_frames()); in TEST_F() [all …]
|
/external/python/google-api-python-client/samples/adexchangeseller/ |
D | generate_report_with_paging.py | 57 start_index = 0 68 startIndex=start_index, 72 if start_index == 0: 83 start_index += len(result['rows']) 87 if start_index + MAX_PAGE_SIZE > ROW_LIMIT: 88 rows_to_obtain = ROW_LIMIT - start_index 92 if (start_index >= int(result['totalMatchedRows'])):
|
/external/autotest/client/cros/audio/ |
D | audio_quality_measurement.py | 402 start_index, end_index = length - 1 , 0 408 start_index = min(start_index, left_border) 410 return (start_index, end_index) 413 def noise_detection(start_index, end_index, argument 449 if ((start_index - rate * NEAR_SINE_START_OR_END_SECS) <= index and 478 if noise_time_point[i] < float(start_index) / rate - APPEND_ZEROS_SECS: 486 def delay_detection(start_index, end_index, argument 533 start_time = float(start_index) / rate - APPEND_ZEROS_SECS 535 for index in range(start_index, end_index): 577 def burst_detection(start_index, end_index, argument [all …]
|
D | audio_quality_measurement_unittest.py | 97 start_index = int(self.delay_start_time[i] * self.rate) 99 for j in range(start_index,end_index): 133 start_index = int(self.burst_start_time[i] * self.rate) 135 for j in range(start_index, end_index): 144 start_index = int(start_time[i] * self.rate) 146 for j in range(start_index,end_index):
|
/external/rust/crates/tokio/src/sync/mpsc/ |
D | block.rs | 17 start_index: usize, field 65 pub(crate) fn start_index(slot_index: usize) -> usize { in start_index() function 76 pub(crate) fn new(start_index: usize) -> Block<T> { in new() 79 start_index, in new() 96 self.start_index == index in is_at_index() 105 other_index.wrapping_sub(self.start_index) / BLOCK_CAP in distance() 173 self.start_index = 0; in reclaim() 235 ret.map(|block| block.as_ref().start_index == self.start_index.wrapping_add(BLOCK_CAP)) in load_next() 264 block.as_mut().start_index = self.start_index.wrapping_add(BLOCK_CAP); in try_push() 295 let new_block = Box::new(Block::new(self.start_index + BLOCK_CAP)); in grow()
|
D | list.rs | 86 let start_index = block::start_index(slot_index); in find_block() localVariable 97 let distance = block.distance(start_index); in find_block() 115 if block.is_at_index(start_index) { in find_block() 247 let block_index = block::start_index(self.index); in try_advancing_head()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_loop.cc | 35 llvm::Value* start_index, llvm::Value* end_index, in ForLoop() argument 40 start_index_(start_index), in ForLoop() 48 absl::string_view prefix, llvm::Value* start_index, llvm::Value* end_index, in EmitForLoop() argument 51 std::unique_ptr<ForLoop> loop(new ForLoop(prefix, /*suffix=*/"", start_index, in EmitForLoop() 178 llvm::Value* start_index, in AddLoop() argument 182 return AddLoop(suffix, start_index, end_index, GetConstantWithIndexType(1), in AddLoop() 187 absl::string_view suffix, llvm::Value* start_index, llvm::Value* end_index, in AddLoop() argument 194 /*prefix=*/name_, suffix, start_index, end_index, stride, unroll_mode, in AddLoop() 211 std::unique_ptr<ForLoop> ForLoopNest::AddLoop(int64 start_index, in AddLoop() argument 216 CHECK_LE(start_index, end_index); in AddLoop() [all …]
|
D | llvm_loop.h | 84 absl::string_view prefix, llvm::Value* start_index, 140 llvm::Value* start_index, llvm::Value* end_index, llvm::Value* step, 197 absl::string_view suffix, llvm::Value* start_index, 204 absl::string_view suffix, llvm::Value* start_index, 212 int64 start_index, int64 end_index, int64 stride, 219 int64 start_index, int64 end_index, absl::string_view suffix,
|
/external/webrtc/modules/video_coding/ |
D | packet_buffer.cc | 268 int start_index = index; in FindFrames() local 270 int64_t frame_timestamp = buffer_[start_index]->timestamp; in FindFrames() 273 bool is_h264 = buffer_[start_index]->codec() == kVideoCodecH264; in FindFrames() 283 if (!is_h264 && buffer_[start_index]->is_first_packet_in_frame()) in FindFrames() 288 &buffer_[start_index]->video_header.video_type_header); in FindFrames() 309 if (buffer_[start_index]->width() > 0 && in FindFrames() 310 buffer_[start_index]->height() > 0) { in FindFrames() 311 idr_width = buffer_[start_index]->width(); in FindFrames() 312 idr_height = buffer_[start_index]->height(); in FindFrames() 320 start_index = start_index > 0 ? start_index - 1 : buffer_.size() - 1; in FindFrames() [all …]
|
/external/pdfium/core/fxcrt/ |
D | cfx_binarybuf.cpp | 18 void CFX_BinaryBuf::Delete(size_t start_index, size_t count) { in Delete() argument 19 if (!m_pBuffer || count > m_DataSize || start_index > m_DataSize - count) in Delete() 22 memmove(m_pBuffer.get() + start_index, m_pBuffer.get() + start_index + count, in Delete() 23 m_DataSize - start_index - count); in Delete()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | audio_multi_vector.cc | 132 size_t AudioMultiVector::ReadInterleavedFromIndex(size_t start_index, in ReadInterleavedFromIndex() argument 137 RTC_DCHECK_LE(start_index, Size()); in ReadInterleavedFromIndex() 138 start_index = std::min(start_index, Size()); in ReadInterleavedFromIndex() 139 if (length + start_index > Size()) { in ReadInterleavedFromIndex() 140 length = Size() - start_index; in ReadInterleavedFromIndex() 144 (*this)[0].CopyTo(length, start_index, destination); in ReadInterleavedFromIndex() 149 destination[index] = (*this)[channel][i + start_index]; in ReadInterleavedFromIndex()
|
D | merge.cc | 346 size_t start_index = timestamps_per_call_ + expand_->overlap_length(); in CorrelateAndPeakSearch() local 347 start_index = std::max(start_position, start_index); in CorrelateAndPeakSearch() 348 start_index = (input_length > start_index) ? 0 : (start_index - input_length); in CorrelateAndPeakSearch() 350 size_t start_index_downsamp = start_index / (fs_mult_ * 2); in CorrelateAndPeakSearch() 365 best_correlation_index += start_index; in CorrelateAndPeakSearch()
|
D | dsp_helper.cc | 72 size_t start_index, in RampSignal() argument 78 for (size_t i = start_index; i < start_index + length; ++i) { in RampSignal() 88 size_t start_index, in RampSignal() argument 92 assert(start_index + length <= signal->Size()); in RampSignal() 93 if (start_index + length > signal->Size()) { in RampSignal() 101 RampSignal(&(*signal)[channel], start_index, length, factor, increment); in RampSignal()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | JSON.cpp | 234 const uint64_t start_index = m_index; in GetToken() local 279 << start_index; in GetToken() 293 error << " at offset " << start_index; in GetToken() 349 error << "error: extra decimal point found at offset " << start_index; in GetToken() 362 << start_index; in GetToken() 378 << start_index; in GetToken() 390 if (m_index > start_index) { in GetToken() 391 value = m_packet.substr(start_index, m_index - start_index); in GetToken() 428 error << "error: invalid number found at offset " << start_index; in GetToken() 436 error << "error: failed to parse token at offset " << start_index in GetToken()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | stacktrace_handler.cc | 85 int start_index = 2; in PtrToString() local 86 for (int i = num_hex_chars - 1 + start_index; i >= start_index; --i) { in PtrToString() 92 int current_index = start_index + num_hex_chars; in PtrToString()
|
/external/tflite-support/tensorflow_lite_support/examples/task/text/desktop/ |
D | README.md | 44 logit: 1.84847, start_index: 39, end_index: 40 46 logit: 1.2921, start_index: 34, end_index: 40 48 logit: -0.0959535, start_index: 36, end_index: 40 50 logit: -0.498558, start_index: 28, end_index: 40 52 logit: -0.774266, start_index: 37, end_index: 40
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.cc | 177 CodepointIndex start_index = kInvalidIndex; in FindDurationStartingAt() local 196 if (start_index == kInvalidIndex) { in FindDurationStartingAt() 197 start_index = token.start; in FindDurationStartingAt() 203 if (start_index == kInvalidIndex) { in FindDurationStartingAt() 204 start_index = token.start; in FindDurationStartingAt() 250 context, {start_index, end_index}); in FindDurationStartingAt()
|
/external/antlr/runtime/Ruby/lib/antlr3/modes/ |
D | filter.rb | 50 def memoize( rule, start_index, success ) argument 51 super( rule, start_index, success ) if @state.backtracking > 1
|
/external/python/cpython2/Lib/ |
D | argparse.py | 1814 def consume_optional(start_index): argument 1817 option_tuple = option_string_indices[start_index] 1828 extras.append(arg_strings[start_index]) 1829 return start_index + 1 1856 stop = start_index + 1 1871 start = start_index + 1 1891 def consume_positionals(start_index): argument 1894 selected_pattern = arg_strings_pattern[start_index:] 1900 args = arg_strings[start_index: start_index + arg_count] 1901 start_index += arg_count [all …]
|
/external/llvm-project/polly/utils/ |
D | argparse.py | 1803 def consume_optional(start_index): argument 1806 option_tuple = option_string_indices[start_index] 1817 extras.append(arg_strings[start_index]) 1818 return start_index + 1 1845 stop = start_index + 1 1860 start = start_index + 1 1880 def consume_positionals(start_index): argument 1883 selected_pattern = arg_strings_pattern[start_index:] 1889 args = arg_strings[start_index: start_index + arg_count] 1890 start_index += arg_count [all …]
|
/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.h | 208 int32_t SearchUShort(int32_t start_index, 225 int32_t SearchUShort(int32_t start_index, 243 int32_t SearchULong(int32_t start_index,
|
D | readable_font_data.cc | 227 int32_t ReadableFontData::SearchUShort(int32_t start_index, in SearchUShort() argument 238 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort() 258 int32_t ReadableFontData::SearchUShort(int32_t start_index, in SearchUShort() argument 267 int32_t location_start = ReadUShort(start_index + location * start_offset); in SearchUShort() 282 int32_t ReadableFontData::SearchULong(int32_t start_index, in SearchULong() argument 293 int32_t location_start = ReadULongAsInt(start_index in SearchULong()
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | filterbank.c | 26 energy += state->start_index; in FilterbankConvertFftComplexToEnergy() 27 fft_output += state->start_index; in FilterbankConvertFftComplexToEnergy() 28 for (i = state->start_index; i < end_index; ++i) { in FilterbankConvertFftComplexToEnergy()
|