35+ results for 'ripgrep lang:rust' (0 ms)
Not the results you expected?
05_ripgrep.rs (https://github.com/chromium/chromium.git) Rust · 952 lines
3 //
4 // CLI used is adapted from ripgrep 48a8a3a691220f9e5b2b08f4051abe8655ea7e8a
242 const ABOUT: &str = "
243 ripgrep (rg) recursively searches your current directory for a regex pattern.
245 ripgrep's regex engine uses finite automata and guarantees linear time
246 searching. Because of this, features like backreferences and arbitrary
249 Project home page: https://github.com/BurntSushi/ripgrep
304 Command::new("ripgrep")
305 .author("BurntSushi") // simulating since it's only a bench
_05_ripgrep.rs (https://github.com/anp/lolbench.git) Rust · 783 lines
3 //
4 // CLI used is adapted from ripgrep 48a8a3a691220f9e5b2b08f4051abe8655ea7e8a
11 wrap_libtest! {
12 _05_ripgrep,
13 fn build_app_short(b: &mut Bencher) { b.iter(|| app_short()); }
16 wrap_libtest! {
17 _05_ripgrep,
18 fn build_app_long(b: &mut Bencher) { b.iter(|| app_long()); }
21 wrap_libtest! {
22 _05_ripgrep,
23 fn build_help_short(b: &mut Bencher) {
29 wrap_libtest! {
30 _05_ripgrep,
31 fn build_help_long(b: &mut Bencher) {
lib.rs (https://github.com/liuchengxu/vim-clap.git) Rust · 144 lines
pipe.rs (https://github.com/phiresky/ripgrep-all.git) Rust · 196 lines
main.rs (https://github.com/Manishearth/oreutils.git) Rust · 187 lines
misc.rs (git://github.com/fosskers/aura.git) Rust · 36 lines
rga-fzf.rs (https://github.com/phiresky/ripgrep-all.git) Rust · 64 lines
rga-preproc.rs (https://github.com/phiresky/ripgrep-all.git) Rust · 38 lines
lib.rs (https://github.com/phiresky/ripgrep-all.git) Rust · 70 lines
logger.rs (https://github.com/gnzlbg/cargo-asm.git) Rust · 71 lines
app.rs (https://github.com/liuchengxu/vim-clap.git) Rust · 112 lines
templates.rs (https://github.com/RustRPM/cargo-rpm.git) Rust · 137 lines
main.rs (https://bitbucket.org/sailfish009/rust.git) Rust · 139 lines
05-ripgrep-parse-lots.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-build-help-short.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-build-help-long.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-build-app-short.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
lib.rs (https://github.com/anp/lolbench.git) Rust · 15 lines
05-ripgrep-parse-complex.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-parse-clean.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-build-app-long.rs (https://github.com/anp/lolbench.git) Rust · 4 lines
05-ripgrep-parse-lots.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-parse-complex.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-parse-clean.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-build-help-short.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-build-help-long.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-build-app-short.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
05-ripgrep-build-app-long.rs (https://github.com/anp/lolbench.git) Rust · 3 lines
tests.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 22 lines
10 // Tests for ripgrep's handling of binary files.
11 mod binary;
12 // Tests related to most features in ripgrep. If you're adding something new
13 // to ripgrep, tests should probably go in here.
14 mod feature;
15 // Tests for ripgrep's JSON format.
16 mod json;
18 mod misc;
19 // Tests for ripgrep's multiline search support.
20 mod multiline;
lib.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 23 lines
config.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 169 lines
1 // This module provides routines for reading ripgrep config "rc" files. The
2 // primary output of these routines is a sequence of arguments, where each
17 /// Return a sequence of arguments derived from ripgrep rc configuration files.
18 pub fn args() -> Vec<OsString> {
19 let config_path = match env::var_os("RIPGREP_CONFIG_PATH") {
20 None => return vec![],
48 /// Parse a single ripgrep rc file from the given path.
49 ///
50 /// On success, this returns a set of shell arguments, in order, that should
51 /// be pre-pended to the arguments given to ripgrep at the command line.
52 ///
66 /// Parse a single ripgrep rc file from the given reader.
67 ///
messages.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 74 lines
bench.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 116 lines
subject.rs (https://github.com/BurntSushi/ripgrep.git) Rust · 160 lines
63 // At this point, we only want to search something if it's explicitly a
64 // file. This omits symlinks. (If ripgrep was configured to follow
65 // symlinks, then they have already been followed by the directory
127 ///
128 /// However, note that ripgrep does not see through shell globbing. e.g.,
129 /// in `rg foo ./some-dir/*`, `./some-dir/some-other-file` will be treated
05_ripgrep.rs (https://github.com/kbknapp/clap-rs.git) Rust · 953 lines
3 //
4 // CLI used is adapted from ripgrep 48a8a3a691220f9e5b2b08f4051abe8655ea7e8a
242 const ABOUT: &str = "
243 ripgrep (rg) recursively searches your current directory for a regex pattern.
245 ripgrep's regex engine uses finite automata and guarantees linear time
246 searching. Because of this, features like backreferences and arbitrary
249 Project home page: https://github.com/BurntSushi/ripgrep
304 App::new("ripgrep")
305 .author("BurntSushi") // simulating since it's only a bench