MCPcopy Create free account

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

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

↓ 1 callersMethodadd_rock
(&mut self)
aoc_2022/src/day_17.rs:134
↓ 1 callersMethodadvance
(&self, pos: Pos)
aoc_2022/src/day_24.rs:183
↓ 1 callersMethodas_vector
(&self)
aoc_lib/src/direction/cardinal.rs:22
↓ 1 callersMethodavailable
(&self, pos: Pos)
aoc_2022/src/day_24.rs:86
↓ 1 callersFunctionbasin
(map: &mut Vec<Vec<u32>>, x: usize, y: usize)
aoc_2021/src/day_09.rs:58
↓ 1 callersFunctionbasins
(mut inp: Vec<Vec<u32>>)
aoc_2021/src/day_09.rs:44
↓ 1 callersMethodbounds
(&self)
aoc_2021/src/day_13.rs:71
↓ 1 callersMethodbounds
(&self)
aoc_2022/src/day_18.rs:69
↓ 1 callersMethodbounds
(&self)
aoc_2022/src/day_23.rs:133
↓ 1 callersFunctionbron_kerbosch
( graph: &HashMap<&'a str, HashSet<&'a str>>, r: &mut HashSet<&'a str>, p: &mut HashSet<&'a str>,
aoc_2024/src/day_23.rs:61
↓ 1 callersMethodbuild
(&self, resources: &mut [u8; 4])
aoc_2022/src/day_19.rs:174
↓ 1 callersFunctioncalc_size
(ranges: &[(u32, u32); 4])
aoc_2023/src/day_19.rs:103
↓ 1 callersMethodcan_push
(&self, pos: Vec2<usize>, dir: Direction)
aoc_2024/src/day_15.rs:144
↓ 1 callersMethodcant_beat
(&self, ticks: u8, max_geodes: u8)
aoc_2022/src/day_19.rs:56
↓ 1 callersMethodcheapest
(&self)
aoc_2024/src/day_13.rs:26
↓ 1 callersMethodcmp
(&self, other: &Self)
aoc_2021/src/day_15.rs:78
↓ 1 callersMethodcollision
(&self, other: &Self)
aoc_2023/src/day_24.rs:96
↓ 1 callersMethodcount_blank
(&self)
aoc_2022/src/day_23.rs:99
↓ 1 callersFunctioncycle
(ins: &[Instruction])
aoc_2022/src/day_10.rs:67
↓ 1 callersMethodderive
(&self)
aoc_2023/src/day_09.rs:40
↓ 1 callersFunctiondigits
(i: &str)
aoc_2023/src/day_01.rs:31
↓ 1 callersFunctiondir_matches
(dir: Direction, chr: char)
aoc_2023/src/day_23.rs:131
↓ 1 callersMethoddirections
(&self)
aoc_2022/src/day_24.rs:194
↓ 1 callersMethoddump
(&self)
aoc_2021/src/day_05.rs:67
↓ 1 callersFunctionencode
(real: i64)
aoc_2022/src/day_25.rs:30
↓ 1 callersMethodevaluate
(&self, a: u64, b: u64)
aoc_2024/src/day_07.rs:103
↓ 1 callersMethodevaluate
(self, proc: &mut Processor, (combo, literal): (Option<Argument>, u64))
aoc_2024/src/day_17.rs:165
↓ 1 callersMethodexpand
(&self)
aoc_2023/src/day_12.rs:86
↓ 1 callersFunctionfetch_input
(session: &Session, base: &Url, day: u8, year: u16)
scaffold/src/commands/init.rs:103
↓ 1 callersMethodfill
(&mut self, value: T)
aoc_lib/src/matrix.rs:88
↓ 1 callersFunctionfind_sequence
(haystack: &[i8], (a, b, c, d): (i8, i8, i8, i8))
aoc_2024/src/day_22.rs:79
↓ 1 callersMethodfits
(&self, other: &Self)
aoc_2024/src/day_25.rs:69
↓ 1 callersMethodflood_fill
(&self, start: Pos)
aoc_2022/src/day_18.rs:81
↓ 1 callersMethodflush
(working: &mut String, out: &mut Vec<Self>)
aoc_2022/src/day_22.rs:148
↓ 1 callersFunctiongcd
(mut a: T, mut b: T)
aoc_lib/src/math.rs:3
↓ 1 callersMethodget
(&self, pos: Vec2<usize>)
aoc_lib/src/matrix.rs:57
↓ 1 callersFunctionget_answer
(cmd: &SubmitArgs)
scaffold/src/commands/submit.rs:27
↓ 1 callersMethodhorizontal_reflection
Find a horizontal reflection in the valley. Horizontal reflections is from left to right.
aoc_2023/src/day_13.rs:45
↓ 1 callersFunctionimportant_connections
(connections: &'a HashMap<&'a str, Connection<'a>>)
aoc_2023/src/day_20.rs:129
↓ 1 callersMethodindex
(&self)
aoc_2022/src/day_19.rs:165
↓ 1 callersMethodinfo
(&self)
aoc_2022/src/day_10.rs:48
↓ 1 callersFunctioninit
(session: &Session, cmd: &InitArgs, args: &Args)
scaffold/src/commands/init.rs:18
↓ 1 callersFunctionintersecting_line
( (la, lb): (&Vec2<u64>, &Vec2<u64>), (min, max): (Vec2<u64>, Vec2<u64>), )
aoc_2025/src/day_09.rs:56
↓ 1 callersMethodinto_tuple
(self)
aoc_lib/src/vector.rs:7
↓ 1 callersMethodis_eof
(&self)
aoc_2024/src/day_03.rs:84
↓ 1 callersMethodis_from_env
(&self)
scaffold/src/session.rs:31
↓ 1 callersMethodis_possible
(&self)
aoc_2023/src/day_02.rs:77
↓ 1 callersFunctionis_safe
(input: &[i32])
aoc_2024/src/day_02.rs:16
↓ 1 callersFunctionis_safe_b
(input: &[i32], skip: Option<usize>)
aoc_2024/src/day_02.rs:25
↓ 1 callersFunctionjoltage
(digits: &[u8], n: usize)
aoc_2025/src/day_03.rs:26
↓ 1 callersFunctionlist
(cmd: &ListArgs)
src/commands/list.rs:5
↓ 1 callersFunctionload_raw
Load the input for the given year and day.
common/src/misc.rs:10
↓ 1 callersMethodloops
(&self, obstacle: Vec2<usize>)
aoc_2024/src/day_06.rs:77
↓ 1 callersMethodlosing_solve
(self)
aoc_2021/src/day_04.rs:70
↓ 1 callersFunctionlowest
(inp: Vec<Vec<u32>>)
aoc_2021/src/day_09.rs:25
↓ 1 callersFunctionmake_lines
(raw: &str, width: usize)
aoc_2022/src/day_10.rs:56
↓ 1 callersFunctionmake_node
(name: &str)
aoc_2021/src/day_12.rs:83
↓ 1 callersFunctionmap_pos
(pos: Vec2<i32>, size: Vec2<i32>)
aoc_2023/src/day_21.rs:75
↓ 1 callersMethodmatching_dir
(&self, direction: Direction)
aoc_2023/src/day_16.rs:110
↓ 1 callersFunctionmove_crabs
(crabs: &[u32], to: u32)
aoc_2021/src/day_07.rs:48
↓ 1 callersFunctionmove_crabs_b
(crabs: &[u32], to: u32)
aoc_2021/src/day_07.rs:57
↓ 1 callersMethodmultiply
(self, val: i64)
aoc_2022/src/day_20.rs:42
↓ 1 callersMethodnext_flow
(&mut self)
aoc_2022/src/day_17.rs:188
↓ 1 callersMethodnext_instruction
(&mut self)
aoc_2024/src/day_17.rs:138
↓ 1 callersMethodnext_move
(&self, pos: &Point)
aoc_2022/src/day_23.rs:115
↓ 1 callersFunctionnext_release
()
scaffold/src/commands/timer.rs:57
↓ 1 callersFunctionocto_neighbors
(octopi: &[Vec<Octopus>], x: usize, y: usize)
aoc_2021/src/day_11.rs:85
↓ 1 callersFunctionparse
(input: &str)
aoc_2023/src/day_15.rs:45
↓ 1 callersFunctionparse
(input: &str)
aoc_2023/src/day_25.rs:29
↓ 1 callersFunctionparse
(input: &str)
aoc_2025/src/day_12.rs:30
↓ 1 callersMethodparse
(raw: &str)
aoc_2022/src/day_22.rs:51
↓ 1 callersFunctionparse_a
(input: &str)
aoc_2023/src/day_06.rs:24
↓ 1 callersFunctionparse_a
(input: &str)
aoc_2023/src/day_18.rs:61
↓ 1 callersFunctionparse_b
(input: &str)
aoc_2023/src/day_06.rs:39
↓ 1 callersFunctionparse_b
(input: &str)
aoc_2023/src/day_18.rs:43
↓ 1 callersFunctionparse_crates
(raw: &str)
aoc_2022/src/day_05.rs:40
↓ 1 callersMethodparse_processor
(&mut self)
scaffold/src/formatter.rs:176
↓ 1 callersMethodpart_b
(mut self)
aoc_2024/src/day_13.rs:83
↓ 1 callersFunctionpermutations
Modified from https://stackoverflow.com/a/59939809/12471934
aoc_2021/src/day_08.rs:124
↓ 1 callersMethodpoints
(&self)
aoc_2022/src/day_14.rs:143
↓ 1 callersMethodpossible
Returns the number of possible towel designs by counting all the towels that can be made a non-zero number of ways.
aoc_2024/src/day_19.rs:33
↓ 1 callersMethodpredict
(&self)
aoc_2023/src/day_09.rs:62
↓ 1 callersMethodprint
(&self)
aoc_2021/src/day_13.rs:77
↓ 1 callersMethodprocess
(&mut self, steps: usize)
aoc_2021/src/day_14.rs:27
↓ 1 callersMethodprocess
(&self, input: &str)
scaffold/src/formatter.rs:75
↓ 1 callersMethodpropagate_size
(&mut self)
aoc_2022/src/day_07.rs:113
↓ 1 callersMethodpush_b
(&mut self, pos: Vec2<usize>, dir: Direction)
aoc_2024/src/day_15.rs:172
↓ 1 callersMethodremove_garbage
(&mut self, walls: &HashSet<Pos>)
aoc_2023/src/day_10.rs:140
↓ 1 callersMethodreverse
(mut self)
aoc_2023/src/day_09.rs:57
↓ 1 callersMethodreverse
Walks backwards from the end using a BFS to find all the tiles that are on any of the shortest path.
aoc_2024/src/day_16.rs:98
↓ 1 callersMethodroot_eq
(mut self)
aoc_2022/src/day_21.rs:104
↓ 1 callersFunctionrun_inserters
(cmd: &InitArgs, formats: &[(&str, String)])
scaffold/src/commands/init.rs:71
↓ 1 callersMethodscore
(&self)
aoc_2024/src/day_14.rs:92
↓ 1 callersMethodscore
Simple BFS for pathfinding, where we don't avoid going to already explored tiles if on part B.
aoc_2024/src/day_10.rs:44
↓ 1 callersMethodscore_first
(&self, other: &Hand)
aoc_2023/src/day_07.rs:124
↓ 1 callersMethodsearch
(&self, bounds: isize)
aoc_2022/src/day_15.rs:60
↓ 1 callersFunctionsolve
(exp: &[u64], n: usize, a: u64)
aoc_2024/src/day_17.rs:36
↓ 1 callersMethodsolve
== Solve ==
aoc_2022/src/day_21.rs:68
↓ 1 callersFunctionsolve_a
Simple DFS to find the longest path for part A
aoc_2023/src/day_23.rs:23
↓ 1 callersFunctionsolve_a
(stones: &[HailStone<i64>], range: RangeInclusive<f64>)
aoc_2023/src/day_24.rs:73
← previousnext →201–300 of 628, ranked by callers