Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BurntSushi/advent-of-code
/ functions
Functions
257 in github.com/BurntSushi/advent-of-code
⨍
Functions
257
◇
Types & classes
82
↓ 1 callers
Method
merge
(&mut self, i1: usize, i2: usize)
aoc25/src/main.rs:62
↓ 1 callers
Method
mv
(self, direction: char)
aoc20/src/main.rs:90
↓ 1 callers
Method
nearest_step
( &self, unit: Coordinate, target: Coordinate, )
aoc15/src/main.rs:121
↓ 1 callers
Method
nearest_target
(&self, unit: Coordinate)
aoc15/src/main.rs:133
↓ 1 callers
Method
next_state
(&self, current: &[Pot])
aoc12/src/main.rs:90
↓ 1 callers
Method
next_step
(&self, unit: Coordinate)
aoc15/src/main.rs:117
↓ 1 callers
Method
normal_x
(&self, x: i32)
aoc10/src/main.rs:113
↓ 1 callers
Method
normal_y
(&self, y: i32)
aoc10/src/main.rs:121
↓ 1 callers
Method
outcome
(&mut self)
aoc15/src/main.rs:57
↓ 1 callers
Function
part1
(minutes_asleep: &GuardSleepFrequency)
aoc04/src/main.rs:70
↓ 1 callers
Function
part1
(prog: &Program)
aoc19/src/main.rs:25
↓ 1 callers
Function
part1
(samples: &Samples)
aoc16/src/main.rs:31
↓ 1 callers
Function
part1
(polymer: &str)
aoc05/src/main.rs:16
↓ 1 callers
Function
part1
(input: &str)
aoc01/src/main.rs:15
↓ 1 callers
Function
part1
(prog: &Program)
aoc21/src/main.rs:26
↓ 1 callers
Function
part1
(input: &str)
aoc02/src/main.rs:14
↓ 1 callers
Function
part1
(points: &[Point])
aoc25/src/main.rs:29
↓ 1 callers
Function
part1
(required_for: &RequiredFor)
aoc07/src/main.rs:48
↓ 1 callers
Function
part1
(grid: &Grid)
aoc11/src/main.rs:25
↓ 1 callers
Function
part1
(recipe_count: usize)
aoc14/src/main.rs:13
↓ 1 callers
Function
part1
(grid: &Grid)
aoc03/src/main.rs:46
↓ 1 callers
Function
part1
(grid: &Grid)
aoc06/src/main.rs:29
↓ 1 callers
Function
part1
(root: &Node)
aoc08/src/main.rs:26
↓ 1 callers
Function
part1
()
aoc09/src/main.rs:12
↓ 1 callers
Function
part2
(minutes_asleep: &GuardSleepFrequency)
aoc04/src/main.rs:87
↓ 1 callers
Function
part2
(prog: &Program)
aoc19/src/main.rs:31
↓ 1 callers
Function
part2
(samples: &Samples, program: &str)
aoc16/src/main.rs:42
↓ 1 callers
Function
part2
(polymer: &str)
aoc05/src/main.rs:21
↓ 1 callers
Function
part2
(input: &str)
aoc01/src/main.rs:25
↓ 1 callers
Function
part2
(prog: &Program)
aoc21/src/main.rs:37
↓ 1 callers
Function
part2
(input: &str)
aoc02/src/main.rs:39
↓ 1 callers
Function
part2
(required_for: &RequiredFor)
aoc07/src/main.rs:67
↓ 1 callers
Function
part2
(grid: &Grid)
aoc11/src/main.rs:42
↓ 1 callers
Function
part2
(digits: &[u32])
aoc14/src/main.rs:28
↓ 1 callers
Function
part2
(claims: &[Claim], grid: &Grid)
aoc03/src/main.rs:52
↓ 1 callers
Function
part2
(grid: &Grid)
aoc06/src/main.rs:46
↓ 1 callers
Function
part2
(root: &Node)
aoc08/src/main.rs:31
↓ 1 callers
Function
part2
()
aoc09/src/main.rs:26
↓ 1 callers
Method
partial_cmp
(&self, other: &Coordinate)
aoc15/src/main.rs:357
↓ 1 callers
Method
partial_cmp
(&self, other: &Coordinate)
aoc13/src/main.rs:87
↓ 1 callers
Function
prob
(iter: usize, in_range_old: u64, in_range_new: u64)
aoc23/src/main.rs:60
↓ 1 callers
Method
random_neighbor
(&self, mut rng: R)
aoc23/src/main.rs:243
↓ 1 callers
Method
random_surface_coordinate
(&self, mut rng: R)
aoc23/src/main.rs:177
↓ 1 callers
Function
react
Reacts the given polymer and returns the final inert form.
aoc05/src/main.rs:37
↓ 1 callers
Function
reacts
Returns true if and only if the given bytes correspond to types that react with one another.
aoc05/src/main.rs:69
↓ 1 callers
Method
right
(&self, c: Coordinate)
aoc17/src/main.rs:170
↓ 1 callers
Method
right
(self)
aoc13/src/main.rs:75
↓ 1 callers
Method
run_one_step
Run one step in the simulation. Workers that have finished their work are transitioned to idle status.
aoc07/src/main.rs:170
↓ 1 callers
Method
scan
(&mut self)
aoc22/src/main.rs:115
↓ 1 callers
Function
search
(bots: &Bots)
aoc23/src/main.rs:55
↓ 1 callers
Method
set
(&mut self, r: Register, v: i64)
aoc16/src/main.rs:159
↓ 1 callers
Method
set
(&mut self, x: i32, y: i32, power: i32)
aoc11/src/main.rs:88
↓ 1 callers
Method
set_elf_attack_power
(&mut self, power: usize)
aoc15/src/main.rs:74
↓ 1 callers
Method
set_pot
(&mut self, i: i32, pot: Pot)
aoc12/src/main.rs:111
↓ 1 callers
Method
step
(&self)
aoc12/src/main.rs:71
↓ 1 callers
Method
step
(&mut self)
aoc25/src/main.rs:50
↓ 1 callers
Method
step
(&mut self)
aoc15/src/main.rs:86
↓ 1 callers
Method
step
(&mut self)
aoc10/src/main.rs:57
↓ 1 callers
Method
step_cell
( &self, x: usize, y: usize, new: &mut Vec<Vec<Acre>>, )
aoc18/src/main.rs:93
↓ 1 callers
Method
target_selection
(&self)
aoc24/src/main.rs:158
↓ 1 callers
Method
target_selection_order
(&self)
aoc24/src/main.rs:189
↓ 1 callers
Method
targets
(&self, origin: Coordinate)
aoc15/src/main.rs:173
↓ 1 callers
Method
turn
(&mut self, player: &mut Player, value: MarbleValue)
aoc09/src/main.rs:86
↓ 1 callers
Method
turn_left
(self)
aoc13/src/main.rs:227
↓ 1 callers
Method
turn_right
(self)
aoc13/src/main.rs:240
↓ 1 callers
Method
uncrashed
(&self)
aoc13/src/main.rs:132
↓ 1 callers
Method
up
(self)
aoc13/src/main.rs:55
↓ 1 callers
Method
width
(&self)
aoc10/src/main.rs:129
↓ 1 callers
Method
winner
(&self)
aoc24/src/main.rs:147
↓ 1 callers
Method
work_on
(&mut self, worker: WorkerID, step: Step)
aoc07/src/main.rs:160
Method
derive
Upon success, the map returned has length exactly equal to 16 and uniquely maps every opcode number from the unknown encoding to the known encoding. T
aoc16/src/main.rs:205
Method
distance
(&self, other: Coordinate)
aoc15/src/main.rs:318
Method
exec
(&mut self, prog: &Program)
aoc19/src/main.rs:45
Method
exec_part2
Like exec, but we collect all values of R5 at instruction 28. Assuming there is a pattern, we collect all such values in the cycle in the order in whi
aoc21/src/main.rs:69
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc12/src/main.rs:166
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc17/src/main.rs:264
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc15/src/main.rs:279
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc18/src/main.rs:223
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc13/src/main.rs:168
Method
fmt
(&self, f: &mut fmt::Formatter)
aoc09/src/main.rs:152
Method
from_flat
(flat: &[i32])
aoc08/src/main.rs:46
Method
from_number
(n: i64)
aoc19/src/main.rs:213
Method
from_number
(n: i64)
aoc16/src/main.rs:170
Method
from_number
(n: i64)
aoc21/src/main.rs:207
Method
from_slice
(registers: &[i64])
aoc16/src/main.rs:143
Method
from_str
(s: &str)
aoc04/src/main.rs:206
Method
from_str
(s: &str)
aoc19/src/main.rs:104
Method
from_str
(s: &str)
aoc12/src/main.rs:123
Method
from_str
(s: &str)
aoc16/src/main.rs:298
Method
from_str
(s: &str)
aoc17/src/main.rs:232
Method
from_str
(s: &str)
aoc21/src/main.rs:98
Method
from_str
(s: &str)
aoc25/src/main.rs:117
Method
from_str
(s: &str)
aoc07/src/main.rs:200
Method
from_str
(s: &str)
aoc15/src/main.rs:236
Method
from_str
(s: &str)
aoc18/src/main.rs:171
Method
from_str
(s: &str)
aoc13/src/main.rs:144
Method
from_str
(s: &str)
aoc03/src/main.rs:107
Method
from_str
(s: &str)
aoc06/src/main.rs:158
Method
from_str
(s: &str)
aoc10/src/main.rs:149
Method
from_str
(s: &str)
aoc23/src/main.rs:147
← previous
next →
101–200 of 257, ranked by callers