MCPcopy Create free account
hub / github.com/apache/datafusion / insert_replacement

Function insert_replacement

benchmarks/src/sql_benchmark.rs:1311–1317  ·  view source on GitHub ↗
(
    replacement_map: &mut HashMap<String, String>,
    key: &str,
    value: String,
)

Source from the content-addressed store, hash-verified

1309}
1310
1311fn insert_replacement(
1312 replacement_map: &mut HashMap<String, String>,
1313 key: &str,
1314 value: String,
1315) {
1316 replacement_map.insert(key.to_lowercase(), value);
1317}
1318
1319fn replace_all<E>(
1320 re: &Regex,

Callers 5

newMethod · 0.85
process_fileMethod · 0.85
process_templateMethod · 0.85
replacement_mapFunction · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…