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

Method get

2019/src/intcoder.rs:82–84  ·  view source on GitHub ↗
(&self, adr: i64)

Source from the content-addressed store, hash-verified

80 }
81
82 fn get(&self, adr: i64) -> i64 {
83 *self.ram.get(adr as usize).unwrap_or(&0)
84 }
85
86 fn get_mode(&self, offset: i64) -> i64 {
87 let d = match offset {

Callers 15

part_twoFunction · 0.80
eval_p2Function · 0.80
part_oneFunction · 0.80
should_swap_p1Function · 0.80
find_neighbourFunction · 0.80
writeFunction · 0.80
move_cartFunction · 0.80
getFunction · 0.80
reachable_ninesFunction · 0.80
calculate_costFunction · 0.80
solveFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected