예제 #1
0
void ProcessingContextImpl::ProcessDataBlockPhase2() {
  for (uint64_t file_offset : found_) {
    Result result;
    result.offset = file_offset;
    result.size = search_text_.size();
    report_->ReportFound(file_path_, result);
  }
  found_.clear();
}
예제 #2
0
void RegexSearch::ProcessDataBlockPhase2() {
  for (const Result& result : found_)
    report_->ReportFound(file_path_, result);
  found_.clear();
}