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

Function set_cell

nodedb-query/src/window/value_eval.rs:212–218  ·  view source on GitHub ↗
(rows: &mut [Vec<Value>], row_idx: usize, col_idx: usize, val: Value)

Source from the content-addressed store, hash-verified

210// ── Cell write helper (pub(super) for value_agg) ──────────────────────────────
211
212pub(super) fn set_cell(rows: &mut [Vec<Value>], row_idx: usize, col_idx: usize, val: Value) {
213 if let Some(row) = rows.get_mut(row_idx)
214 && let Some(cell) = row.get_mut(col_idx)
215 {
216 *cell = val;
217 }
218}
219
220// ── Ranking functions ─────────────────────────────────────────────────────────
221

Callers 11

apply_v_row_numberFunction · 0.85
apply_v_rankFunction · 0.85
apply_v_dense_rankFunction · 0.85
apply_v_ntileFunction · 0.85
apply_v_percent_rankFunction · 0.85
apply_v_cume_distFunction · 0.85
apply_v_lagFunction · 0.85
apply_v_leadFunction · 0.85
apply_v_nth_valueFunction · 0.85

Calls 1

get_mutMethod · 0.45

Tested by

no test coverage detected