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

Class IntCoder

2019/src/intcoder.rs:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12#[derive(Clone)]
13pub struct IntCoder {
14 ram: Vec<i64>,
15 input: VecDeque<i64>,
16 rel_base: i64,
17 pc: i64,
18}
19
20impl IntCoder {
21 pub fn new(program: &[i64]) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected