MCPcopy Create free account

hub / github.com/8051Enthusiast/biodiff / functions

Functions441 in github.com/8051Enthusiast/biodiff

↓ 3 callersMethodmin_row
returns the minimum row the cursor may be at
src/cursor.rs:182
↓ 3 callersMethodmove_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 callersMethodn_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 callersMethodprint_doublehex_screen
Prints a whole screen of hex data
src/doublehex.rs:144
↓ 3 callersMethodprocess_action
Process events
src/view/aligned.rs:559
↓ 3 callersMethodquery
get the query associated with this SearchResults set
src/search.rs:110
↓ 3 callersMethodselection_file_ranges
(&self)
src/view/aligned.rs:324
↓ 3 callersMethodset_addr_size
(&mut self, x: &FileContent, y: &FileContent)
src/style.rs:334
↓ 3 callersMethodset_shift
(&mut self, shift: isize)
src/view/unaligned.rs:166
↓ 3 callersMethodshift_to_second
converts a position in the first half into one of the second half
src/doublehex.rs:187
↓ 3 callersMethodsigned_binary_search
(&self, key: &T, cmp: F)
src/datastruct.rs:13
↓ 3 callersMethodsize
(&mut self)
src/backend.rs:317
↓ 3 callersMethodto_cross
Converts to a crossterm color
src/backend.rs:188
↓ 2 callersFunctionadd_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 callersMethodadd_first_shift
Adds a shift to the left vector, returns the change of index to the same element
src/datastruct.rs:126
↓ 2 callersMethodadd_match
add a match range to the set
src/search.rs:114
↓ 2 callersMethodadd_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 callersMethodaddress_digits
gets the number of digits used to represent the file addresses (rounded up to be in pairs
src/file.rs:33
↓ 2 callersFunctionalgorithm
Creates a dialog box for algorithm settings.
src/dialog/algorithm_settings.rs:173
↓ 2 callersMethodalign_end
Blockwise alignment in the ascending address direction
src/align.rs:377
↓ 2 callersMethodalign_front
Same as align_end, but in the other direction
src/align.rs:420
↓ 2 callersFunctionapply_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 callersMethodascii_width
width of one ascii column
src/style.rs:358
↓ 2 callersMethodauto_columns
looks at where the autocorrelation peaks are and sets the column count
src/doublehex.rs:472
↓ 2 callersFunctionbinary_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 callersMethodcan_scroll
(&self)
src/style.rs:260
↓ 2 callersMethodcheck_params
( &self, _: &AlignAlgorithm, mode: InternalMode, x_size: usize
src/align/wfa2.rs:123
↓ 2 callersFunctioncolor_secondary_from_bytes
Insertions/Deletions are typically green, mismatches red and same bytes white
src/style.rs:194
↓ 2 callersMethodconst_overhead
the amount of characters that are on a line regardless of column number
src/style.rs:415
↓ 2 callersMethodcurrent_search_query
Returns the active search query for one of the currently cursors
src/view/aligned.rs:555
↓ 2 callersMethoddec_columns
decrease the amount of columns by one
src/doublehex.rs:449
↓ 2 callersFunctiondisp_addr
Contains `digits` digits of an address, with a space at the end
src/style.rs:37
↓ 2 callersFunctiondisp_bottom_addr
Formats the addresses that get displayed on the lower right of the screen
src/style.rs:49
↓ 2 callersMethodfirst_cursor
returns the position of the first cursor on the hex view
src/doublehex.rs:166
↓ 2 callersMethodfirst_cursor_ascii
returns the position of the first cursor on the ascii view
src/doublehex.rs:173
↓ 2 callersMethodfirst_cursor_bars
returns the position of the first cursor on the bars view
src/doublehex.rs:180
↓ 2 callersMethodfixed
(self)
src/style.rs:274
↓ 2 callersMethodfull_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 callersMethodget_content
Converts the content of the CompVec into DoubleHexLines so they can be displayed
src/view/unaligned.rs:116
↓ 2 callersMethodget_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 callersMethodgoto
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 callersFunctionhex_line
(buf: &[AlignElement], line_num: usize, cols: u16)
src/print.rs:32
↓ 2 callersMethodinc_columns
increase the amount of columns by one
src/doublehex.rs:461
↓ 2 callersMethodindex_address
get the file address of the current index, with the side given by `right`
src/view/unaligned.rs:470
↓ 2 callersMethodis_final
(&self)
src/util.rs:73
↓ 2 callersMethodis_in_view
Checks whether a given range of indexes overlaps with the indexes currently visible.
src/view/aligned.rs:81
↓ 2 callersMethodjump
Jump the curser relative to current position. Returns relative change in (column, rows)
src/cursor.rs:40
↓ 2 callersFunctionload_file
(file: &OsStr)
src/main.rs:26
↓ 2 callersMethodmax_possible
gets the maximum possible value the element could have with the given bit length
hexagex/src/lib.rs:755
↓ 2 callersMethodmodify_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 callersMethodmov
moves according to the information in the move struct without going out of bounds
src/cursor.rs:159
↓ 2 callersMethodmove_back_into_bounds
when the currently active cursor is outside of bounds, move it back into bounds
src/view/unaligned.rs:190
↓ 2 callersFunctionnext_difference
( address: isize, range: Range<isize>, forward: bool, is_different: impl Fn(isize) -> bool, )
src/view.rs:9
↓ 2 callersFunctionno_memory_warn_file
()
src/config.rs:39
↓ 2 callersFunctionnumber_to_stylemode
(x: &usize)
src/dialog/style_settings.rs:63
↓ 2 callersFunctionparse_hex
(s: &str)
src/dialog/goto.rs:3
↓ 2 callersFunctionpeel_onion
this one causes tears to come from my eyes
src/control.rs:296
↓ 2 callersFunctionpresets
Allows the user to select a global/semiglobal preset from the preset lists and create new presets
src/dialog/algorithm_presets.rs:38
↓ 2 callersMethodprint_bars
Prints the top and bottom bar.
src/view/aligned.rs:180
↓ 2 callersMethodprint_bars
Prints the top and bottom bar
src/view/unaligned.rs:170
↓ 2 callersMethodprint_bottom_line
Prints the bottom text containing key information
src/doublehex.rs:417
↓ 2 callersMethodprint_doublehex_scrolled
Scrolls the hex view and rewrites the missing content, which should be more efficient
src/doublehex.rs:212
↓ 2 callersFunctionprint_impl
( settings: Settings, x: Arc<FileBytes>, y: Arc<FileBytes>, cols: u16, backend: &mut B, )
src/print.rs:53
↓ 2 callersMethodprint_title_line
prints the line at the top containing the filenames and status
src/doublehex.rs:352
↓ 2 callersMethodprint_vert
(&self, printer: &mut B, lines: [usize; 2], style: Style)
src/doublehex.rs:98
↓ 2 callersMethodprocess_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 callersMethodranges
(&self, cursor_act: CursorActive)
src/selection.rs:90
↓ 2 callersMethodreflect_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 callersFunctionrefresh_presets
(siv: &mut Cursive)
src/dialog/algorithm_presets.rs:118
↓ 2 callersMethodreread
(&self)
src/file.rs:27
↓ 2 callersMethodresize
Resize the view without printing it, returns whether redrawing is necessary.
src/view/aligned.rs:243
↓ 2 callersMethodresize
Resizes the view without drawing it, returning if anything changed
src/view/unaligned.rs:48
↓ 2 callersMethodrestrict_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 callersMethodrestrict_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 callersMethodsearch_data
get the search results and positions of all active cursors
src/view/aligned.rs:355
↓ 2 callersMethodsearch_data
get the search results and positions of all active cursors
src/view/unaligned.rs:454
↓ 2 callersFunctionsend_cross_actions
Reads crossterm events and sends them into a sender that understands them
src/backend.rs:132
↓ 2 callersMethodset_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 callersFunctionsettings_file
()
src/config.rs:33
↓ 2 callersMethodsetup_search
Initializes the empty search results for the search query on the currently active cursors
src/view/aligned.rs:452
↓ 2 callersMethodstart
(&mut self, offset: [isize; 2], cursor_act: CursorActive)
src/selection.rs:36
↓ 2 callersMethodstart_align_with_selection
( &self, files: [FileContent; 2], selection: [Option<Range<usize>>; 2], addr:
src/align.rs:170
↓ 2 callersMethodto_cursiv
Converts to a cursive color (with black background)
src/backend.rs:200
↓ 2 callersFunctiontranspose_both
(r: Result<Option<T>, Option<T>>)
src/search.rs:86
↓ 2 callersMethoduninit
uninitializes everything we initialized and goes back to the normal screen
src/backend.rs:376
↓ 2 callersFunctionunwrap_both
(r: Result<T, T>)
src/search.rs:94
↓ 2 callersMethodupdate
(&mut self, offset: [isize; 2], cursor_act: CursorActive)
src/selection.rs:60
↓ 2 callersMethodwith_span
replace the span of the current element
hexagex/src/lib.rs:759
↓ 1 callersMethodadd_column
Inreases the column count by one and refreshes the view
src/view/aligned.rs:463
↓ 1 callersMethodadd_column
Inreases the column count by one and refreshes the view
src/view/unaligned.rs:299
↓ 1 callersFunctionadd_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 callersMethodalign_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 callersMethodalign_end
align the ends of the data and jump to them
src/view/unaligned.rs:226
↓ 1 callersMethodalign_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 callersMethodalign_initial_block
( &self, x: FileContent, y: FileContent, (xaddr, yaddr): (usize, usize),
src/align.rs:318
↓ 1 callersMethodalign_start
align the starts of the data and jump to them
src/view/unaligned.rs:221
↓ 1 callersMethodalign_whole
Aligns x to y as a whole
src/align.rs:277
↓ 1 callersMethodalign_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 callersFunctionaligned_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 callersFunctionaligned_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
← previousnext →101–200 of 441, ranked by callers