MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / ci

Function ci

nodedb-query/src/window/value_eval.rs:466–472  ·  view source on GitHub ↗
(names: &[&str])

Source from the content-addressed store, hash-verified

464 use crate::window::spec::WindowFrame;
465
466 fn ci(names: &[&str]) -> HashMap<String, usize> {
467 names
468 .iter()
469 .enumerate()
470 .map(|(i, n)| (n.to_string(), i))
471 .collect()
472 }
473
474 fn spec(
475 func: &str,

Callers 10

row_number_sequentialFunction · 0.70
rank_handles_tiesFunction · 0.70
dense_rank_handles_tiesFunction · 0.70
ntile_bucketsFunction · 0.70
lag_default_and_offsetFunction · 0.70
lead_boundaryFunction · 0.70
unknown_function_errorsFunction · 0.70

Calls 3

collectMethod · 0.80
to_stringMethod · 0.80
iterMethod · 0.45

Tested by 10

row_number_sequentialFunction · 0.56
rank_handles_tiesFunction · 0.56
dense_rank_handles_tiesFunction · 0.56
ntile_bucketsFunction · 0.56
lag_default_and_offsetFunction · 0.56
lead_boundaryFunction · 0.56
unknown_function_errorsFunction · 0.56