MCPcopy Create free account

hub / github.com/ChristopherBiscardi/advent-of-code / functions

Functions2,332 in github.com/ChristopherBiscardi/advent-of-code

↓ 57 callersMethodsum
(iter: I)
2021/rust/day-18/src/lib.rs:50
↓ 38 callersFunctionsnailfish
(input: &str)
2021/rust/day-18/src/lib.rs:592
↓ 36 callersMethodcmp
(&self, other: &Self)
2022/rust/day-13/src/lib.rs:74
↓ 35 callersMethodsplit
()
2021/rust/day-18/src/lib.rs:552
↓ 35 callersFunctionvalue
(input: &str)
2022/rust/day-11/src/lib.rs:108
↓ 32 callersMethodget_column
( &self, target_x: u32, )
2022/rust/day-22/src/part1.rs:90
↓ 24 callersMethodadd
(self, other: Self)
2021/rust/day-18/src/lib.rs:45
↓ 22 callersFunctionparse
(input: &str)
2023/rust/day-02-parsing/src/nom_intro.rs:56
↓ 18 callersFunctionprocess
( input: &str, )
2023/rust/day-09/src/part1.rs:6
↓ 15 callersMethodrun
(&mut self, value: i64)
2019/rust/11/main.rs:955
↓ 14 callersFunctionprocess
(input: &str)
2024/rust/day-01/src/part1.rs:2
↓ 13 callersFunctionget_value
(input: &Vec<i64>, position: usize, mode: Option<u32>)
2019/rust/07-2/main.rs:84
↓ 13 callersMethodrun
(&mut self)
2022/rust/day-19/src/lib.rs:117
↓ 12 callersFunctionget_value
(input: &Vec<i64>, position: usize, mode: Option<u32>)
2019/rust/07/main.rs:201
↓ 12 callersFunctionget_value
(input: &Vec<i64>, position: usize, mode: Option<u32>)
2019/rust/05-2/main.rs:124
↓ 12 callersFunctionget_value
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/09/main.rs:259
↓ 12 callersFunctionget_value
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/13/main.rs:317
↓ 12 callersFunctionget_value
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/11/main.rs:892
↓ 12 callersFunctionget_value
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/13-2/main.rs:317
↓ 12 callersFunctionposition
(input: &str)
2022/rust/day-15/src/lib.rs:68
↓ 12 callersFunctionprocess
( input: &str, )
2023/rust/day-01/src/part1.rs:4
↓ 12 callersFunctionprocess
( input: &str, )
2023/rust/day-03/src/part1.rs:15
↓ 12 callersMethodreduce
(&self)
2021/rust/day-18/src/lib.rs:120
↓ 11 callersMethodid
(&self)
2020/rust/day-05/src/lib.rs:12
↓ 11 callersFunctionprocess
( input: &str, )
2023/rust/day-04/src/part1.rs:66
↓ 11 callersFunctionprocess
( input: &str, )
2023/rust/day-15/src/part1.rs:4
↓ 10 callersFunctionNewSegment
(length int)
2017/13/main.go:47
↓ 10 callersFunctionprocess
(input: &str)
2024/rust/day-19/src/part1.rs:13
↓ 9 callersFunctionprocess
( input: &str, )
2023/rust/day-07/src/part1.rs:59
↓ 9 callersFunctionprocess
( input: &str, )
2023/rust/day-02/src/part1.rs:83
↓ 8 callersFunctionchunk
( original_input: &str, )
2021/rust/day-10/src/lib.rs:21
↓ 8 callersFunctionget_seat
( x: usize, y: usize, x_inc: isize, y_inc: isize, grid: &HashMap<(usize, usize), Seat>, )
2020/rust/day-11/src/lib.rs:76
↓ 8 callersMethodinspect
( &mut self, relief_lowers_worry_level: bool, magic_trick: u64, )
2022/rust/day-11/src/lib.rs:53
↓ 8 callersMethodmove_to_next_instruction
(&mut self)
2024/rust/day-17/src/part1.rs:54
↓ 8 callersMethodmove_to_next_instruction
(&mut self)
2024/rust/day-17/src/part2.rs:139
↓ 8 callersMethodpartial_cmp
( &self, other: &Self, )
2022/rust/day-02/src/lib.rs:11
↓ 8 callersFunctionprocess
(input: &str)
2024/rust/day-10/src/part1.rs:15
↓ 8 callersFunctionprocess
(input: &str)
2024/rust/day-03/src/part1.rs:11
↓ 8 callersFunctionprocess
(input: &str)
2024/rust/day-05/src/part1.rs:12
↓ 8 callersFunctionprocess
(input: &str)
2024/rust/day-07/src/part1.rs:14
↓ 8 callersFunctionprocess
(input: &str)
2025/rust/day-08/src/part1.rs:12
↓ 8 callersFunctionprocess
(input: &str)
2025/rust/day-04/src/part1.rs:18
↓ 8 callersFunctionprocess
(input: &str)
2025/rust/day-02/src/part1.rs:10
↓ 8 callersFunctionprocess
( input: &str, )
2023/rust/day-06/src/part1.rs:24
↓ 8 callersFunctionprocess
( input: &str, )
2023/rust/day-18/src/part1.rs:70
↓ 7 callersMethodMove
Move moves n % r.Len() elements backward (n < 0) or forward (n >= 0) in the ring and returns that ring element. r must not be empty.
2017/10/number_ring.go:32
↓ 7 callersFunctionprocess
( input: &str, step_count: usize, )
2023/rust/day-21/src/part1.rs:55
↓ 6 callersFunctionabsInt
(i int)
2017/3/main.go:52
↓ 6 callersFunctionparse
( input: &str, )
2024/rust/day-17/src/part1.rs:213
↓ 6 callersFunctionparse
( input: &str, )
2024/rust/day-17/src/part2.rs:300
↓ 6 callersFunctionparse_bricks
( input: &str, )
2023/rust/day-22/src/part1.rs:44
↓ 6 callersFunctionprocess
(input: &str)
2024/rust/day-09/src/part1.rs:2
↓ 6 callersFunctionprocess
(input: &str)
2024/rust/day-08/src/part1.rs:14
↓ 6 callersFunctionprocess
(input: &str)
2024/rust/day-22/src/part1.rs:6
↓ 6 callersFunctionprocess
(input: &str)
2025/rust/day-03/src/part1.rs:5
↓ 6 callersFunctionprocess
(input: &str)
2025/rust/day-06/src/part1.rs:13
↓ 6 callersFunctionprocess
( _input: &str, )
2023/rust/daily-template/src/part1.rs:4
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-11/src/part1.rs:8
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-10/src/part1.rs:126
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-17/src/part1.rs:44
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-19/src/part1.rs:196
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-12/src/part1.rs:14
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-08/src/part1.rs:67
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-20/src/part1.rs:172
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-05/src/part1.rs:83
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-13/src/part1.rs:12
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-24/src/part1.rs:84
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-14/src/part1.rs:29
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-25/src/part1.rs:34
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-16/src/part1.rs:98
↓ 6 callersFunctionprocess
( input: &str, )
2023/rust/day-23/src/part1.rs:154
↓ 6 callersFunctionrun
( registers: &mut Registers, instructions: &[Instruction], )
2024/rust/day-17/src/part1.rs:26
↓ 6 callersFunctionrun
( registers: &mut Registers, instructions: &[Instruction], )
2024/rust/day-17/src/part2.rs:109
↓ 5 callersFunctionNew
New creates a ring of n elements.
2017/10/number_ring.go:47
↓ 5 callersMethodcombo
(&self, operand: &Instruction)
2024/rust/day-17/src/part1.rs:57
↓ 5 callersMethodcombo
(&self, operand: &Instruction)
2024/rust/day-17/src/part2.rs:142
↓ 5 callersFunctionprocess
(input: &str)
2024/rust/day-06/src/part1.rs:14
↓ 5 callersFunctionprocess
(input: &str)
2025/rust/day-01/src/part1.rs:12
↓ 5 callersFunctionwith_xy
(span: Span)
2023/rust/day-23/src/part1.rs:76
↓ 5 callersFunctionwith_xy
(span: Span)
2023/rust/day-23/src/part2.rs:76
↓ 4 callersFunctionDistribute
(banks []int)
2017/6/main.go:51
↓ 4 callersMethodEqualsSlice
(slice []int)
2017/10/number_ring.go:126
↓ 4 callersMethodLen
Len computes the number of elements in ring r. It executes in time proportional to the number of elements.
2017/10/number_ring.go:72
↓ 4 callersMethodReverse
Reverse a length of the ring specified by `length` from a specific index Reverse should wrap around and no length > the ring length should be allowed
2017/10/number_ring.go:96
↓ 4 callersMethodToSlice
()
2017/10/number_ring.go:118
↓ 4 callersFunctionWithMatch
(t *testing.T, match string, result int)
2017/1/main_test.go:12
↓ 4 callersFunctionchunk_2
(original_input: &str)
2021/rust/day-10/src/lib.rs:96
↓ 4 callersFunctionget_position
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/09/main.rs:272
↓ 4 callersFunctionget_position
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/13/main.rs:330
↓ 4 callersFunctionget_position
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/11/main.rs:905
↓ 4 callersFunctionget_position
(input: &Vec<i64>, relative_base: &i64, position: usize, mode: Option<u32>)
2019/rust/13-2/main.rs:330
↓ 4 callersMethodincrement_energy
fn should_flash(&self) -> bool { match self { Squid::Energy(x) if x > &9 => true, _ => false, } }
2021/rust/day-11/src/lib.rs:25
↓ 4 callersFunctioninsert
( graph: &mut GraphMap<Node, (), Undirected>, heightmap: &Array2<Option<u8>>, point: (usize, usize
2021/rust/day-09/src/lib.rs:173
↓ 4 callersFunctioninsert
( graph: &mut GraphMap<Node, u32, Undirected>, heightmap: &Array2<u8>, point: (usize, usize),
2021/rust/day-15/src/lib.rs:48
↓ 4 callersFunctionpace
( current_position: &mut UVec2, paces_to_move: u32, positions: impl Iterator<Item = &'a (&'a UVec2
2022/rust/day-22/src/part1.rs:185
↓ 4 callersFunctionpace
( current_position: &mut UVec2, paces_to_move: u32, positions: impl Iterator<Item = &'a (&'a UVec2
2022/rust/day-22/src/part2.rs:185
↓ 4 callersFunctionparse
( input: &str, )
2023/rust/day-19/src/part1.rs:187
↓ 4 callersFunctionprocess
(_input: &str)
2024/rust/daily-template/src/part1.rs:2
↓ 4 callersFunctionprocess
( input: &str, blinks: u64, )
2024/rust/day-11/src/part1.rs:5
↓ 4 callersFunctionprocess
(input: &str)
2024/rust/day-17/src/part1.rs:16
next →1–100 of 2,332, ranked by callers