Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/8051Enthusiast/biodiff
/ functions
Functions
441 in github.com/8051Enthusiast/biodiff
⨍
Functions
441
◇
Types & classes
99
↓ 3 callers
Method
min_row
returns the minimum row the cursor may be at
src/cursor.rs:182
↓ 3 callers
Method
move_cursor_unbounded
Moves the cursor xdiff columns and ydiff rows Returns the change of position of the underlying view into the grid
src/cursor.rs:80
↓ 3 callers
Method
n_column_width
width of n columns (note that this is differnt than calling nth_column_pos and adding an cursor offset because rtl could be enabled)
src/style.rs:346
↓ 3 callers
Method
print_doublehex_screen
Prints a whole screen of hex data
src/doublehex.rs:144
↓ 3 callers
Method
process_action
Process events
src/view/aligned.rs:559
↓ 3 callers
Method
query
get the query associated with this SearchResults set
src/search.rs:110
↓ 3 callers
Method
selection_file_ranges
(&self)
src/view/aligned.rs:324
↓ 3 callers
Method
set_addr_size
(&mut self, x: &FileContent, y: &FileContent)
src/style.rs:334
↓ 3 callers
Method
set_shift
(&mut self, shift: isize)
src/view/unaligned.rs:166
↓ 3 callers
Method
shift_to_second
converts a position in the first half into one of the second half
src/doublehex.rs:187
↓ 3 callers
Method
signed_binary_search
(&self, key: &T, cmp: F)
src/datastruct.rs:13
↓ 3 callers
Method
size
(&mut self)
src/backend.rs:317
↓ 3 callers
Method
to_cross
Converts to a crossterm color
src/backend.rs:188
↓ 2 callers
Function
add_byte_range_to_class
Adds a byte range to an ast class (for conversion of PartialSequence back into ast)
hexagex/src/lib.rs:464
↓ 2 callers
Method
add_first_shift
Adds a shift to the left vector, returns the change of index to the same element
src/datastruct.rs:126
↓ 2 callers
Method
add_match
add a match range to the set
src/search.rs:114
↓ 2 callers
Method
add_search_results
Adds a batch of search results to the current ones if they are of the same query.
src/view/aligned.rs:427
↓ 2 callers
Method
address_digits
gets the number of digits used to represent the file addresses (rounded up to be in pairs
src/file.rs:33
↓ 2 callers
Function
algorithm
Creates a dialog box for algorithm settings.
src/dialog/algorithm_settings.rs:173
↓ 2 callers
Method
align_end
Blockwise alignment in the ascending address direction
src/align.rs:377
↓ 2 callers
Method
align_front
Same as align_end, but in the other direction
src/align.rs:420
↓ 2 callers
Function
apply_algorithm
Reads the algorithm settings from the algorithm dialog box and applies it onto the AlignAlgorithm stored in the user data.
src/dialog/algorithm_settings.rs:49
↓ 2 callers
Method
ascii_width
width of one ascii column
src/style.rs:358
↓ 2 callers
Method
auto_columns
looks at where the autocorrelation peaks are and sets the column count
src/doublehex.rs:472
↓ 2 callers
Function
binary_ast_to_maybe_ast
convert the hexagex ast either into a regular ast or a partialsequence which is then later turned into an ast
hexagex/src/lib.rs:60
↓ 2 callers
Method
can_scroll
(&self)
src/style.rs:260
↓ 2 callers
Method
check_params
( &self, _: &AlignAlgorithm, mode: InternalMode, x_size: usize
src/align/wfa2.rs:123
↓ 2 callers
Function
color_secondary_from_bytes
Insertions/Deletions are typically green, mismatches red and same bytes white
src/style.rs:194
↓ 2 callers
Method
const_overhead
the amount of characters that are on a line regardless of column number
src/style.rs:415
↓ 2 callers
Method
current_search_query
Returns the active search query for one of the currently cursors
src/view/aligned.rs:555
↓ 2 callers
Method
dec_columns
decrease the amount of columns by one
src/doublehex.rs:449
↓ 2 callers
Function
disp_addr
Contains `digits` digits of an address, with a space at the end
src/style.rs:37
↓ 2 callers
Function
disp_bottom_addr
Formats the addresses that get displayed on the lower right of the screen
src/style.rs:49
↓ 2 callers
Method
first_cursor
returns the position of the first cursor on the hex view
src/doublehex.rs:166
↓ 2 callers
Method
first_cursor_ascii
returns the position of the first cursor on the ascii view
src/doublehex.rs:173
↓ 2 callers
Method
first_cursor_bars
returns the position of the first cursor on the bars view
src/doublehex.rs:180
↓ 2 callers
Method
fixed
(self)
src/style.rs:274
↓ 2 callers
Method
full_row_move
returns Some(amount of rows) if the difference given as argument is a multiple of the number of columns, otherwise None
src/cursor.rs:170
↓ 2 callers
Method
get_content
Converts the content of the CompVec into DoubleHexLines so they can be displayed
src/view/unaligned.rs:116
↓ 2 callers
Method
get_doublehex_dims
returns the number of columns that are displayed on a given display width Goes in steps of 8 above 24, steps of 4 for 8 - 24 and steps of 1 for < 8 in
src/style.rs:432
↓ 2 callers
Method
goto
Go to the address in `pos`, right is true if on the second view, else the first view is used. Returns true if the address exists.
src/view/aligned.rs:280
↓ 2 callers
Function
hex_line
(buf: &[AlignElement], line_num: usize, cols: u16)
src/print.rs:32
↓ 2 callers
Method
inc_columns
increase the amount of columns by one
src/doublehex.rs:461
↓ 2 callers
Method
index_address
get the file address of the current index, with the side given by `right`
src/view/unaligned.rs:470
↓ 2 callers
Method
is_final
(&self)
src/util.rs:73
↓ 2 callers
Method
is_in_view
Checks whether a given range of indexes overlaps with the indexes currently visible.
src/view/aligned.rs:81
↓ 2 callers
Method
jump
Jump the curser relative to current position. Returns relative change in (column, rows)
src/cursor.rs:40
↓ 2 callers
Function
load_file
(file: &OsStr)
src/main.rs:26
↓ 2 callers
Method
max_possible
gets the maximum possible value the element could have with the given bit length
hexagex/src/lib.rs:755
↓ 2 callers
Method
modify_shift
adds relative_shift to self.shift, ensuring that the arrays still overlap and returns the actual relative shift applied
src/datastruct.rs:113
↓ 2 callers
Method
mov
moves according to the information in the move struct without going out of bounds
src/cursor.rs:159
↓ 2 callers
Method
move_back_into_bounds
when the currently active cursor is outside of bounds, move it back into bounds
src/view/unaligned.rs:190
↓ 2 callers
Function
next_difference
( address: isize, range: Range<isize>, forward: bool, is_different: impl Fn(isize) -> bool, )
src/view.rs:9
↓ 2 callers
Function
no_memory_warn_file
()
src/config.rs:39
↓ 2 callers
Function
number_to_stylemode
(x: &usize)
src/dialog/style_settings.rs:63
↓ 2 callers
Function
parse_hex
(s: &str)
src/dialog/goto.rs:3
↓ 2 callers
Function
peel_onion
this one causes tears to come from my eyes
src/control.rs:296
↓ 2 callers
Function
presets
Allows the user to select a global/semiglobal preset from the preset lists and create new presets
src/dialog/algorithm_presets.rs:38
↓ 2 callers
Method
print_bars
Prints the top and bottom bar.
src/view/aligned.rs:180
↓ 2 callers
Method
print_bars
Prints the top and bottom bar
src/view/unaligned.rs:170
↓ 2 callers
Method
print_bottom_line
Prints the bottom text containing key information
src/doublehex.rs:417
↓ 2 callers
Method
print_doublehex_scrolled
Scrolls the hex view and rewrites the missing content, which should be more efficient
src/doublehex.rs:212
↓ 2 callers
Function
print_impl
( settings: Settings, x: Arc<FileBytes>, y: Arc<FileBytes>, cols: u16, backend: &mut B, )
src/print.rs:53
↓ 2 callers
Method
print_title_line
prints the line at the top containing the filenames and status
src/doublehex.rs:352
↓ 2 callers
Method
print_vert
(&self, printer: &mut B, lines: [usize; 2], style: Style)
src/doublehex.rs:98
↓ 2 callers
Method
process_escape
Executes an action corresponding to an escape and returns true if anything was done (currently, this only returns true if the selection was cleared)
src/view/aligned.rs:507
↓ 2 callers
Method
ranges
(&self, cursor_act: CursorActive)
src/selection.rs:90
↓ 2 callers
Method
reflect_rtl
reflects the x direction in case right-to-left mode is enabled, since we do not actually want to mirror the x movements so we mirror them back
src/cursor.rs:234
↓ 2 callers
Function
refresh_presets
(siv: &mut Cursive)
src/dialog/algorithm_presets.rs:118
↓ 2 callers
Method
reread
(&self)
src/file.rs:27
↓ 2 callers
Method
resize
Resize the view without printing it, returns whether redrawing is necessary.
src/view/aligned.rs:243
↓ 2 callers
Method
resize
Resizes the view without drawing it, returning if anything changed
src/view/unaligned.rs:48
↓ 2 callers
Method
restrict_xdiff
when trying to move xdiff in the x direction, this returns the actual amount you can move without going out of bounds
src/cursor.rs:96
↓ 2 callers
Method
restrict_ydiff
when trying to move ydiff in the y direction, this returns the actual amount you can move without going out of bounds
src/cursor.rs:104
↓ 2 callers
Method
search_data
get the search results and positions of all active cursors
src/view/aligned.rs:355
↓ 2 callers
Method
search_data
get the search results and positions of all active cursors
src/view/unaligned.rs:454
↓ 2 callers
Function
send_cross_actions
Reads crossterm events and sends them into a sender that understands them
src/backend.rs:132
↓ 2 callers
Method
set_doublehex_cursor
Refreshes the cursor position of a DoubleHex view. at_cursor contains the bytes at the cursor Note: The old cursor needs to be deleted first by calli
src/doublehex.rs:261
↓ 2 callers
Function
settings_file
()
src/config.rs:33
↓ 2 callers
Method
setup_search
Initializes the empty search results for the search query on the currently active cursors
src/view/aligned.rs:452
↓ 2 callers
Method
start
(&mut self, offset: [isize; 2], cursor_act: CursorActive)
src/selection.rs:36
↓ 2 callers
Method
start_align_with_selection
( &self, files: [FileContent; 2], selection: [Option<Range<usize>>; 2], addr:
src/align.rs:170
↓ 2 callers
Method
to_cursiv
Converts to a cursive color (with black background)
src/backend.rs:200
↓ 2 callers
Function
transpose_both
(r: Result<Option<T>, Option<T>>)
src/search.rs:86
↓ 2 callers
Method
uninit
uninitializes everything we initialized and goes back to the normal screen
src/backend.rs:376
↓ 2 callers
Function
unwrap_both
(r: Result<T, T>)
src/search.rs:94
↓ 2 callers
Method
update
(&mut self, offset: [isize; 2], cursor_act: CursorActive)
src/selection.rs:60
↓ 2 callers
Method
with_span
replace the span of the current element
hexagex/src/lib.rs:759
↓ 1 callers
Method
add_column
Inreases the column count by one and refreshes the view
src/view/aligned.rs:463
↓ 1 callers
Method
add_column
Inreases the column count by one and refreshes the view
src/view/unaligned.rs:299
↓ 1 callers
Function
add_search_results
use a list of search results to update the progress window and maybe close it and jump the hexview to the next result when finished.
src/dialog/search.rs:169
↓ 1 callers
Method
align_custom
set the current shift in the data to `shift` and jump to the common sequence of highest entropy length
src/view/unaligned.rs:215
↓ 1 callers
Method
align_end
align the ends of the data and jump to them
src/view/unaligned.rs:226
↓ 1 callers
Method
align_flat
this finds the alignment between two arrays *without* removing elements such that fewest bytes are different (for the compvec)
src/align.rs:591
↓ 1 callers
Method
align_initial_block
( &self, x: FileContent, y: FileContent, (xaddr, yaddr): (usize, usize),
src/align.rs:318
↓ 1 callers
Method
align_start
align the starts of the data and jump to them
src/view/unaligned.rs:221
↓ 1 callers
Method
align_whole
Aligns x to y as a whole
src/align.rs:277
↓ 1 callers
Method
align_with_selection
aligns two files first using the semiglobal algorithm, then aligns the rest of the files using the global algorithm The bool in selection indicates wh
src/align.rs:205
↓ 1 callers
Function
aligned_callback
the alignment process sends back messages of two kinds: incomplete messages, which include the current progress (from 0 to 256) an complete message, w
src/dialog/set_offset.rs:123
↓ 1 callers
Function
aligned_cross
Using the existing message channel (send, recv), setup a thread that processes the messages and also read the crossterm events in the main thread. The
src/control.rs:426
← previous
next →
101–200 of 441, ranked by callers