MCPcopy Create free account
hub / github.com/argumentcomputer/ix / finalize

Method finalize

crates/ffi/src/kernel.rs:164–172  ·  view source on GitHub ↗

Append the trailing `# total failures: N` summary. Called once after all per-constant checks have reported.

(&self)

Source from the content-addressed store, hash-verified

162 /// Append the trailing `# total failures: N` summary. Called once after
163 /// all per-constant checks have reported.
164 fn finalize(&self) {
165 let mut file = self.writer.lock().unwrap();
166 let _ = writeln!(
167 file,
168 "# total failures: {}",
169 self.count.load(Ordering::Relaxed)
170 );
171 let _ = file.flush();
172 }
173
174 fn count(&self) -> usize {
175 self.count.load(Ordering::Relaxed)

Callers 15

univ_params_keyFunction · 0.80
rs_sha256Function · 0.80
rs_kernel_check_ixonFunction · 0.80
rs_kernel_check_anonFunction · 0.80
find_diffFunction · 0.80
strMethod · 0.80
numMethod · 0.80
succMethod · 0.80
maxMethod · 0.80
imaxMethod · 0.80
paramMethod · 0.80

Calls 1

flushMethod · 0.80

Tested by 2