MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / append_zero_entry

Method append_zero_entry

ciphercore-base/src/evaluators/join.rs:164–171  ·  view source on GitHub ↗
(&mut self, header: &str)

Source from the content-addressed store, hash-verified

162 }
163
164 fn append_zero_entry(&mut self, header: &str) {
165 let row_size = self.get_row_size(header);
166 let col_ind = self.header_index_map[header];
167 self.columns_data[col_ind].extend(vec![0; row_size]);
168 if !self.columns_masks.is_empty() {
169 self.columns_masks[col_ind].push(0);
170 }
171 }
172
173 // Add new elements from a column with a given header to another
174 fn copy_entry_from_column(

Callers 3

get_left_join_columnsFunction · 0.80
get_union_columnsFunction · 0.80

Calls 4

get_row_sizeMethod · 0.80
is_emptyMethod · 0.80
extendMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected