| LOW | crates/searcher/src/line_buffer.rs | 1 | use std::io; |
| LOW | crates/searcher/src/line_buffer.rs | 41 | |
| LOW | crates/searcher/src/line_buffer.rs | 141 | pub(crate) fn capacity( |
| LOW | crates/searcher/src/line_buffer.rs | 161 | &mut self, |
| LOW | crates/searcher/src/line_buffer.rs | 241 | } |
| LOW | crates/searcher/src/line_buffer.rs | 281 | /// This is a convenience function for `consume(buffer.len())`. |
| LOW | crates/searcher/src/line_buffer.rs | 301 | pos: usize, |
| LOW | crates/searcher/src/line_buffer.rs | 381 | /// |
| LOW | crates/searcher/src/sink.rs | 61 | |
| LOW | crates/searcher/src/sink.rs | 81 | /// this, which already implements `SinkError`. |
| LOW | crates/searcher/src/sink.rs | 101 | /// [`sinks`] module. |
| LOW | crates/searcher/src/sink.rs | 121 | /// If this returns an error, then searching is stopped immediately, |
| LOW | crates/searcher/src/sink.rs | 141 | /// of the searcher. |
| LOW | crates/searcher/src/sink.rs | 161 | /// `false`, then searching is stopped immediately and `finish` is called. |
| LOW | crates/searcher/src/sink.rs | 181 | /// |
| LOW | crates/searcher/src/sink.rs | 201 | /// |
| LOW | crates/searcher/src/sink.rs | 381 | } |
| LOW | crates/searcher/src/sink.rs | 461 | &self.kind |
| LOW | crates/searcher/src/sink.rs | 481 | self.absolute_byte_offset |
| LOW | crates/searcher/src/sink.rs | 501 | /// `Sink`. |
| LOW | crates/searcher/src/sink.rs | 521 | |
| LOW | crates/searcher/src/sink.rs | 561 | None => { |
| LOW | crates/searcher/src/sink.rs | 621 | } |
| LOW | crates/searcher/src/lines.rs | 41 | /// This iterator avoids borrowing the bytes themselves, and instead requires |
| LOW | crates/searcher/src/lines.rs | 61 | /// |
| LOW | crates/searcher/src/searcher/mod.rs | 41 | /// true, which is why binary detection is disabled by default. |
| LOW | crates/searcher/src/searcher/mod.rs | 61 | /// This is the default. |
| LOW | crates/searcher/src/searcher/mod.rs | 81 | } |
| LOW | crates/searcher/src/searcher/mod.rs | 121 | /// |
| LOW | crates/searcher/src/searcher/mod.rs | 161 | passthru: bool, |
| LOW | crates/searcher/src/searcher/mod.rs | 241 | /// to construct a `Searcher` from a `SearcherBuilder`. |
| LOW | crates/searcher/src/searcher/mod.rs | 361 | } |
| LOW | crates/searcher/src/searcher/mod.rs | 381 | /// will be used if possible and if they are enabled, which avoids using |
| LOW | crates/searcher/src/searcher/mod.rs | 421 | /// Whether to enable the "passthru" feature or not. |
| LOW | crates/searcher/src/searcher/mod.rs | 441 | /// * When searching using a fixed size buffer, the heap limit controls |
| LOW | crates/searcher/src/searcher/mod.rs | 461 | self.config.heap_limit = bytes; |
| LOW | crates/searcher/src/searcher/mod.rs | 481 | /// the memory maps. |
| LOW | crates/searcher/src/searcher/mod.rs | 521 | /// transcoded using the encoding, unless a BOM is present. If a BOM is |
| LOW | crates/searcher/src/searcher/mod.rs | 541 | /// Enable automatic transcoding based on BOM sniffing. |
| LOW | crates/searcher/src/searcher/mod.rs | 561 | /// This is useful for searching sorted files where it is expected that all |
| LOW | crates/searcher/src/searcher/mod.rs | 581 | /// By default, no limit is set. |
| LOW | crates/searcher/src/searcher/mod.rs | 601 | /// public API methods, which can be queried in implementations of `Sink` |
| LOW | crates/searcher/src/searcher/mod.rs | 621 | /// multi line search. In particular, multi line searches cannot be |
| LOW | crates/searcher/src/searcher/mod.rs | 861 | /// Returns true if and only if this searcher is configured to perform |
| LOW | crates/searcher/src/searcher/mod.rs | 881 | /// |
| LOW | crates/searcher/src/searcher/mmap.rs | 21 | impl Default for MmapChoice { |
| LOW | crates/searcher/src/searcher/mmap.rs | 41 | /// without simultaneously negating some or all of their benefits. |
| LOW | crates/searcher/src/searcher/glue.rs | 221 | let line = |
| LOW | crates/core/haystack.rs | 121 | /// Returns true if and only if this entry corresponds to a haystack to |
| LOW | crates/core/main.rs | 21 | // allocator, which is pretty good. In particular, ripgrep does not have a |
| LOW | crates/core/main.rs | 421 | |
| LOW | crates/core/messages.rs | 21 | static MESSAGES: AtomicBool = AtomicBool::new(false); |
| LOW | crates/core/flags/defs.rs | 1861 | // This checks that invalid UTF-8 can be used. This case isn't too tricky |
| LOW | crates/core/flags/hiargs.rs | 221 | |
| LOW | crates/core/flags/hiargs.rs | 341 | /// |
| LOW | crates/core/flags/hiargs.rs | 741 | builder.encoding(Some(enc.clone())); |
| LOW | crates/core/flags/hiargs.rs | 841 | BufferMode::Line => grep::cli::stdout_buffered_line(color), |
| LOW | crates/core/flags/hiargs.rs | 921 | /// State that only needs to be computed once during argument parsing. |
| LOW | crates/core/flags/hiargs.rs | 961 | } |
| LOW | crates/core/flags/hiargs.rs | 1141 | |
| 264 more matches not shown… |