1 viewer
rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off
crates/cre8-app-emulation/src/rom_patch.rs
Items
const ROM_PATCH_LOG_SCHEMA const MAX_EDIT_BYTES const MAX_LOG_ENTRIES const GB_ROM_BANK_BYTES struct RomEdit struct RomPatchEntry struct RomPatchLog impl RomPatchLog struct Change
Functions
By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| encode_hexsrc/rom_patch.rs:270 | fn | 3 | 1 | 3 | 0 | 3.4 | |
| sha256_hexsrc/rom_patch.rs:266 | fn | 3 | 1 | 7 | 1 | 2.9 | |
| decode_hexsrc/rom_patch.rs:276 | fn | 15 | 2 | 4 | 0 | 1.5 | |
| RomPatchLog::replaysrc/rom_patch.rs:163 | method | 42 | 10 | 4 | 4 | 1.3 | |
| RomPatchLog::standingsrc/rom_patch.rs:88 | method | 12 | 3 | 6 | 0 | 1.1 | |
| RomPatchLog::image_sha256src/rom_patch.rs:82 | method | 3 | 1 | 6 | 0 | 1.1 | |
| edit_rangesrc/rom_patch.rs:218 | fn | 13 | 3 | 3 | 0 | 1 | |
| RomPatchLog::newsrc/rom_patch.rs:67 | method | 8 | 1 | 5 | 1 | 0.9 | |
| entry_linksrc/rom_patch.rs:232 | fn | 12 | 1 | 2 | 1 | 0.9 | |
| basesrc/rom_patch.rs:296 | fn | 3 | 1 | 4 | 0 | 0.9 | |
| editsrc/rom_patch.rs:300 | fn | 3 | 1 | 4 | 0 | 0.9 | |
| gb_cpu_addr_for_offsetsrc/rom_patch.rs:262 | fn | 3 | 2 | 2 | 0 | 0.9 | |
| gb_rom_offsetsrc/rom_patch.rs:249 | fn | 10 | 3 | 2 | 0 | 0.8 | |
| RomPatchLog::head_linksrc/rom_patch.rs:77 | method | 3 | 1 | 3 | 0 | 0.8 | |
| RomPatchLog::check_roomsrc/rom_patch.rs:133 | method | 6 | 2 | 2 | 0 | 0.8 | |
| RomPatchLog::appendsrc/rom_patch.rs:140 | method | 20 | 1 | 2 | 4 | 0.8 | |
| RomPatchLog::undo_lastsrc/rom_patch.rs:116 | method | 16 | 2 | 2 | 5 | 0.7 | |
| RomPatchLog::applysrc/rom_patch.rs:103 | method | 9 | 1 | 0 | 3 | 0.5 | |
| replay_rebuilds_the_patched_image_from_the_basesrc/rom_patch.rs:305 | fn | 10 | 1 | 0 | 7 | 0.5 | |
| undo_appends_the_inverse_and_restores_the_bytessrc/rom_patch.rs:317 | fn | 16 | 1 | 0 | 6 | 0.5 | |
| replay_refuses_a_tampered_log_or_the_wrong_basesrc/rom_patch.rs:335 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| edits_never_grow_or_escape_the_imagesrc/rom_patch.rs:350 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| gb_addresses_map_through_the_switchable_banksrc/rom_patch.rs:362 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| hex_reads_spaces_and_casesrc/rom_patch.rs:374 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.