MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / execute_until_output

Method execute_until_output

2019/src/intcoder.rs:56–61  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

54 }
55
56 pub fn execute_until_output(&mut self) -> i64 {
57 match self.execute() {
58 ExitCode::Output(o) => o,
59 _ => panic!("assumed CPU would exit with output"),
60 }
61 }
62
63 pub fn push_input<T: Into<i64>>(&mut self, input: T) {
64 self.input.push_back(input.into());

Callers 9

runFunction · 0.80
fetch_print_mapFunction · 0.80
in_beamFunction · 0.80
part_oneFunction · 0.80
part_oneFunction · 0.80
part_twoFunction · 0.80
runFunction · 0.80
part_oneFunction · 0.80
part_twoFunction · 0.80

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected