MCPcopy Create free account

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

Functions628 in github.com/connorslade/advent-of-code

↓ 207 callersMethoditer
(&self)
aoc_lib/src/matrix.rs:49
↓ 175 callersMethodmap
(&self, value: u32)
aoc_2023/src/day_05.rs:101
↓ 131 callersMethodpush
-> was successful
aoc_2024/src/day_15.rs:117
↓ 64 callersMethodcontains
(&self, p: Vec3<u32>)
aoc_2023/src/day_22.rs:69
↓ 41 callersFunctionparse
(input: &str)
aoc_2024/src/day_02.rs:47
↓ 37 callersMethodmax
(&self, other: &Self)
aoc_2023/src/day_02.rs:69
↓ 35 callersMethodclone
(&self)
aoc_lib/src/matrix.rs:124
↓ 24 callersMethodfind
(&self, value: T)
aoc_lib/src/matrix.rs:76
↓ 23 callersMethodget
(&self, key: &'a str)
aoc_2024/src/day_24.rs:184
↓ 22 callersMethodget
(&self, pos: &'a str, i: usize)
aoc_2023/src/day_08.rs:66
↓ 21 callersMethodcount
( memo: &mut HashMap<(usize, usize, usize), usize>, spring: &Spring, pos:
aoc_2023/src/day_12.rs:48
↓ 20 callersFunctionparse
(raw: &str)
aoc_2022/src/day_18.rs:111
↓ 19 callersMethodparse
(raw: &str)
aoc_2021/src/day_14.rs:61
↓ 16 callersMethodwrapping_advance
(&self, pos: Vec2<T>)
aoc_lib/src/direction/cardinal.rs:52
↓ 15 callersMethodset
(&mut self, pos: Vec2<K>, value: T)
aoc_lib/src/matrix.rs:67
↓ 14 callersMethodget
(&self, x: usize, y: usize)
aoc_2022/src/day_14.rs:124
↓ 13 callersMethodget_mut
(&mut self, x: usize, y: usize)
aoc_2022/src/day_14.rs:128
↓ 12 callersMethodtry_advance
(&self, pos: Vec2<T>)
aoc_lib/src/direction/ordinal.rs:28
↓ 10 callersFunctioncount
(grid: &Grid<Tile>)
aoc_2025/src/day_04.rs:41
↓ 10 callersMethodevaluate
== Evaluate ==
aoc_2022/src/day_21.rs:55
↓ 10 callersMethodsort
(&mut self)
aoc_2024/src/day_09.rs:50
↓ 8 callersMethodexpect
(&mut self, str: &str)
aoc_2024/src/day_03.rs:57
↓ 8 callersMethodkeys
(&self)
aoc_2024/src/day_24.rs:173
↓ 8 callersFunctionparse
(raw: &str)
aoc_2021/src/day_11.rs:110
↓ 8 callersMethodreg
(&self, reg: u64)
aoc_2024/src/day_17.rs:130
↓ 7 callersMethodadvance
(&mut self, count: usize)
aoc_2024/src/day_03.rs:80
↓ 7 callersMethodsize
(&self)
aoc_lib/src/matrix.rs:72
↓ 7 callersMethodturn_right
(&self)
aoc_lib/src/direction/cardinal.rs:79
↓ 6 callersFunctionflush
(working: &mut String, out: &mut Vec<Token>)
aoc_2022/src/day_13.rs:98
↓ 6 callersMethodformat
(&self, args: T)
scaffold/src/formatter.rs:37
↓ 6 callersFunctionparse
(input: &str)
aoc_2023/src/day_05.rs:61
↓ 6 callersMethodreg_mut
(&mut self, reg: u64)
aoc_2024/src/day_17.rs:134
↓ 5 callersMethodas_blizzard
(&self)
aoc_2022/src/day_24.rs:174
↓ 5 callersFunctionlazer
(cavern: &Grid<Tile>, start: Pos, direction: Direction)
aoc_2023/src/day_16.rs:46
↓ 5 callersMethodparse
(line: &str)
aoc_2025/src/day_10.rs:90
↓ 5 callersFunctionprocess
(raw: &str, steps: usize)
aoc_2021/src/day_14.rs:15
↓ 4 callersMethodas_float
(&self)
aoc_2023/src/day_24.rs:89
↓ 4 callersMethodend
(&self)
aoc_2022/src/day_24.rs:168
↓ 4 callersMethodfill_to
(&mut self, end: usize)
aoc_2024/src/day_18.rs:67
↓ 4 callersMethodfold
Cordantes go from 0 onwards
aoc_2021/src/day_13.rs:52
↓ 4 callersFunctionparse
(input: &str)
aoc_2025/src/day_05.rs:29
↓ 4 callersFunctionparse_input
(input: &str)
aoc_2023/src/day_20.rs:165
↓ 4 callersFunctionpath
(states: &[Basin], state: usize, start: Pos, end: Pos)
aoc_2022/src/day_24.rs:30
↓ 4 callersFunctionprocess_slice
((local_best, height): &mut (usize, usize), iter: impl Iterator<Item = usize>)
aoc_2022/src/day_08.rs:55
↓ 4 callersFunctionsolve
(mut hands: Vec<Hand>, score: fn(&Hand) -> HandType)
aoc_2023/src/day_07.rs:18
↓ 4 callersFunctionsolve
( cache: &mut HashMap<(usize, u32, u64), u32>, parse: &ParseResult, open: u64, pos: usize,
aoc_2022/src/day_16.rs:30
↓ 3 callersMethod_evaluate
(&self, monkey: &str)
aoc_2022/src/day_21.rs:59
↓ 3 callersMethodapply
(&self, pos: Point)
aoc_2022/src/day_22.rs:167
↓ 3 callersMethodcmp
(&self, other: &Self)
aoc_2023/src/day_17.rs:97
↓ 3 callersMethodcmp
(&self, other: &Self)
aoc_2022/src/day_13.rs:52
↓ 3 callersMethodget
(self, processor: &Processor)
aoc_2024/src/day_17.rs:213
↓ 3 callersMethodget
(&self, name: &str)
scaffold/src/formatter.rs:90
↓ 3 callersMethodget
(&self, index: isize)
aoc_2022/src/day_20.rs:48
↓ 3 callersMethodget_path
(&mut self, path: &[String])
aoc_2022/src/day_07.rs:100
↓ 3 callersFunctionget_year
(year: u16)
src/main.rs:21
↓ 3 callersMethodis_sensed
(&self, point: Point)
aoc_2022/src/day_15.rs:79
↓ 3 callersMethodneighbors
(&self, point: &Pos)
aoc_2022/src/day_18.rs:59
↓ 3 callersMethodopposite
(&self)
aoc_lib/src/direction/cardinal.rs:61
↓ 3 callersMethodparse
(raw: &str)
aoc_2021/src/day_13.rs:43
↓ 3 callersMethodpoints
(&self)
aoc_2022/src/day_17.rs:201
↓ 3 callersMethodscore
(&self)
aoc_2023/src/day_14.rs:83
↓ 3 callersMethodshortest_path
(&self)
aoc_2024/src/day_18.rs:76
↓ 3 callersMethodtick
(&mut self)
aoc_2022/src/day_23.rs:61
↓ 3 callersMethodturn_left
(&self)
aoc_lib/src/direction/cardinal.rs:70
↓ 2 callersMethodall_states
(mut self)
aoc_2022/src/day_24.rs:156
↓ 2 callersFunctionarea
(a: &Vec2<u64>, b: &Vec2<u64>)
aoc_2025/src/day_09.rs:45
↓ 2 callersMethodarrangements
(&self)
aoc_2023/src/day_12.rs:47
↓ 2 callersFunctionassignment_loop
(raw: &str)
aoc_2022/src/day_04.rs:25
↓ 2 callersMethodauthenticated
(self, session: &Session)
scaffold/src/session.rs:66
↓ 2 callersFunctionbounds
(a: &Vec2<u64>, b: &Vec2<u64>)
aoc_2025/src/day_09.rs:49
↓ 2 callersFunctionchar_contains_key
(inp: char)
aoc_2021/src/day_10.rs:96
↓ 2 callersFunctionchar_for_char
(inp: char)
aoc_2021/src/day_10.rs:82
↓ 2 callersMethodcmp
(&self, other: &Self)
aoc_2024/src/day_16.rs:141
↓ 2 callersMethodcoordinates
(&self)
aoc_2022/src/day_20.rs:35
↓ 2 callersMethodcost_map
(&self, start: Vec2<usize>)
aoc_2024/src/day_20.rs:65
↓ 2 callersFunctioncount_invalid
(input: &str, is_invalid: fn(u64) -> bool)
aoc_2025/src/day_02.rs:41
↓ 2 callersFunctioncount_paths
( memo: &mut HashMap<(&'a str, [bool; 2]), u64>, map: &HashMap<&'a str, Vec<&'a str>>, current: &'
aoc_2025/src/day_11.rs:15
↓ 2 callersMethodcount_sand
(&self)
aoc_2022/src/day_14.rs:116
↓ 2 callersFunctioncount_ways
(memo: &mut HashMap<&'a str, u64>, expected: &'a str, sources: &[&'a str])
aoc_2024/src/day_19.rs:49
↓ 2 callersFunctioncreate_file
(path: &Path, allow_overwrite: bool)
scaffold/src/commands/init.rs:135
↓ 2 callersMethodderive
(&self, win: bool)
aoc_2022/src/day_02.rs:79
↓ 2 callersMethodexpand
(&mut self, mut multiplier: usize)
aoc_2023/src/day_11.rs:54
↓ 2 callersFunctionfield_idx
(field: &str)
aoc_2023/src/day_19.rs:174
↓ 2 callersMethodfinal_out
Get sum of all unchecked numbers
aoc_2021/src/day_04.rs:178
↓ 2 callersFunctionfind
(graph: &'a UnGraph<Node<'a>, ()>, name: &str)
aoc_2021/src/day_12.rs:113
↓ 2 callersMethodflood
(&mut self, start: Vec2<usize>)
aoc_2024/src/day_12.rs:75
↓ 2 callersMethodforeword
Use dijkstra's to find the shortest path, populating a costs grid with the minimum cost needed to reach that tile, which will be used for part B.
aoc_2024/src/day_16.rs:64
↓ 2 callersFunctiongen_raw
(mut old: Vec<[u32; 2]>, num_len: usize, keep: &[&str])
aoc_2021/src/day_03.rs:78
↓ 2 callersMethodget_all_children
(&self)
aoc_2022/src/day_07.rs:121
↓ 2 callersFunctionget_elfs
(data: &str)
aoc_2022/src/day_01.rs:17
↓ 2 callersFunctionget_imax
(raw: &[[u32; 2]], i: usize)
aoc_2021/src/day_03.rs:95
↓ 2 callersFunctionget_node
( nodes: &mut HashMap<&'a str, NodeIndex>, wire: &mut Graph<&'a str, (), Undirected>,
aoc_2023/src/day_25.rs:33
↓ 2 callersFunctionget_node
( nodes: &mut HashMap<&'a str, NodeIndex>, graph: &mut UnGraph<Node<'a>, ()>, name: &'
aoc_2021/src/day_12.rs:96
↓ 2 callersFunctionget_paths
(start: usize, end: usize, keys: &[Vec2<usize>])
aoc_2024/src/day_21.rs:96
↓ 2 callersFunctionhash
(input: &str)
aoc_2023/src/day_15.rs:56
↓ 2 callersMethodinner_keys
(&self)
aoc_2024/src/day_24.rs:180
↓ 2 callersFunctionint_from_bin
(inp: &[u32])
aoc_2021/src/day_03.rs:67
↓ 2 callersMethodis_valid
(&self, idx: usize)
aoc_2024/src/day_05.rs:61
↓ 2 callersMethodis_valid
(&self, part_b: bool)
aoc_2024/src/day_07.rs:67
↓ 2 callersMethodmix
(&mut self)
aoc_2022/src/day_20.rs:54
next →1–100 of 628, ranked by callers