MCPcopy Index your code

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

Functions441 in github.com/8051Enthusiast/biodiff

↓ 19 callersFunctionon_hexview
Executes function either on aligned or unaligned hexview in current cursive context
src/dialog.rs:92
↓ 18 callersFunctionquit_with_error
Convenience function for quitting and uninitializing the terminal before it
src/backend.rs:389
↓ 17 callersMethodappend_text
(&mut self, text: &str, _: Color, _: BackgroundColor, _: Effect)
src/backend.rs:296
↓ 16 callersMethodrefresh
Updates the view and draws it.
src/view/aligned.rs:262
↓ 13 callersMethodbounds
(&self)
src/datastruct.rs:37
↓ 13 callersFunctionclose_top_maybe_quit
We only want to quit cursive and return to our crossterm native implementation when no other windows are open. This function wraps that behaviour.
src/dialog.rs:104
↓ 12 callersMethodget_size_y
gets the number of rows of the view rectangle
src/cursor.rs:60
↓ 12 callersFunctionhelp_window
A help window that displays a fixed text.
src/dialog.rs:116
↓ 12 callersMethodnext
(&mut self)
src/datastruct.rs:214
↓ 11 callersMethodget_signed
(&self, index: isize)
src/datastruct.rs:41
↓ 11 callersMethodis_first
Cursor is enabled on the first view
src/cursor.rs:197
↓ 11 callersMethodmove_around
Moves the cursor xdiff down and ydiff to the right, redrawing/scrolling if necessary.
src/view/aligned.rs:192
↓ 11 callersMethodmove_around
moves the cursor xdiff down and ydiff to the right, redrawing/scrolling if necessary
src/view/unaligned.rs:233
↓ 10 callersMethodcursor_index
returns the current index of the cursor into the data
src/view/unaligned.rs:185
↓ 10 callersMethodget_size_x
gets the number of columns of the view rectangle
src/cursor.rs:56
↓ 10 callersMethodgoto_index
jump to a given index with the currently active cursor
src/view/unaligned.rs:370
↓ 10 callersMethodis_second
Cursor is enabled on the second view
src/cursor.rs:204
↓ 10 callersFunctiontest_matches
test whether the given regex matches the underlined ranges and only them
hexagex/src/lib.rs:983
↓ 9 callersMethodget_index
gets the index of the cursor within the view rectangle
src/cursor.rs:64
↓ 9 callersMethodrefresh
Resizes and redraws.
src/view/unaligned.rs:68
↓ 8 callersFunctioncontinue_dialog
Wraps the callback in a box that also returns DelegateEvent::Continue
src/dialog.rs:172
↓ 8 callersMethodget
gets the current preset at the cursor, giving back the default if the cursor doesn't have an index
src/preset.rs:56
↓ 8 callersMethodget_y
gets the row of the cursor
src/cursor.rs:52
↓ 8 callersFunctionparse_box
parses the content of a EditView with a given name, appending errors into err on failure and writing into val on success
src/dialog.rs:77
↓ 8 callersFunctionvalidated_box
A box that changes color when the content is invalid
src/dialog.rs:53
↓ 8 callersFunctionwrite_with_span
write the regex with an underline given by span
hexagex/src/lib.rs:795
↓ 7 callersMethodcursor_index
returns the current index of the cursor into the data
src/view/aligned.rs:151
↓ 7 callersMethodfirst
(&self)
src/datastruct.rs:68
↓ 7 callersMethodget_data
Returns the two arrays
src/datastruct.rs:152
↓ 7 callersMethodindex_address
get the index of the current file address with the side given by `right`
src/view/aligned.rs:273
↓ 7 callersMethodlast
(&self)
src/datastruct.rs:72
↓ 7 callersMethodredraw
Redraws the current view without checking and updating the view for changes.
src/view/aligned.rs:251
↓ 7 callersMethodredraw
Redraws without checking for resize. clear indicates whether the screen should be cleared before.
src/view/unaligned.rs:57
↓ 7 callersMethodselect
selects the preset at the cursor
src/preset.rs:111
↓ 7 callersMethodselection
(&self)
src/control.rs:138
↓ 7 callersMethodset_line
(&mut self, _: usize)
src/backend.rs:292
↓ 6 callersFunctionbyte
(data: ByteData)
src/style.rs:32
↓ 6 callersMethodclear
(&mut self, cursor_act: CursorActive)
src/search.rs:213
↓ 6 callersMethodget_content
Gets a useful form of the information contained in the alignement data for printing.
src/view/aligned.rs:96
↓ 6 callersMethodget_x
gets the column of the cursor
src/cursor.rs:48
↓ 6 callersMethodgoto_index
jump to a given index with the currently active cursor
src/view/aligned.rs:267
↓ 6 callersMethodset_pos
(&mut self, _: usize, _: usize)
src/backend.rs:294
↓ 5 callersMethodaddr_size
(&self)
src/style.rs:339
↓ 5 callersMethodalign
(&self, x: &[u8], y: &[u8], mode: InternalMode)
src/align.rs:311
↓ 5 callersMethodextend_front
(&mut self, other: &[T])
src/datastruct.rs:60
↓ 5 callersMethodhor_half_width
width of a screen half when in horizontal split
src/doublehex.rs:124
↓ 5 callersMethodis_active
List of whether view is enabled
src/cursor.rs:211
↓ 4 callersMethodactive_data_bounds
returns the bound of the index of the currently active cursor(s)
src/view/unaligned.rs:177
↓ 4 callersFunctionbackground_color
(x: ByteData)
src/style.rs:168
↓ 4 callersMethodbytes_per_row
gets the number of bytes in a row this is different from the number of columns in case where the bytes would not all fit in a row
src/cursor.rs:74
↓ 4 callersMethodcolor
(&self, a: ByteData, b: ByteData, row: usize)
src/style.rs:232
↓ 4 callersFunctiondelegate_action
Converts an event to a delegation
src/control.rs:344
↓ 4 callersFunctionerror_window
An error window that displays a fixed text.
src/dialog.rs:127
↓ 4 callersMethodextend_end
(&mut self, other: &[T])
src/datastruct.rs:64
↓ 4 callersMethodfull_height
(&self)
src/doublehex.rs:137
↓ 4 callersMethodfull_width
(&self)
src/doublehex.rs:131
↓ 4 callersMethodget_range
(&self, range: Range<isize>)
src/datastruct.rs:10
↓ 4 callersMethodis_in_result
calculates whether the given address is inside a result
src/search.rs:119
↓ 4 callersFunctionis_text_escape_literal
(lit: &ast::Literal)
hexagex/src/lib.rs:254
↓ 4 callersMethodjump_next_difference
Jump to the index where the next bytes are different
src/view/aligned.rs:401
↓ 4 callersMethodjump_next_difference
Jump to the index where the next bytes are different
src/view/unaligned.rs:500
↓ 4 callersMethodmap_pair
Map same-value pairs from two elements together. The value must appear in at least one of them to be mapped.
hexagex/src/lib.rs:667
↓ 4 callersMethodprint_half
Prints one side of the line
src/doublehex.rs:32
↓ 4 callersMethodprint_hor
Prints the DoubleHexLine using the given backend at the line given in `line` with the views being on the left and right
src/doublehex.rs:85
↓ 4 callersMethodprint_unimportant
(&self, printer: &mut B, text: &str)
src/doublehex.rs:23
↓ 4 callersMethodselection_status
(&self, offset: [isize; 2])
src/selection.rs:69
↓ 4 callersMethodsequence
turn single element into a sequence of one element
hexagex/src/lib.rs:747
↓ 4 callersMethodset
sets the preset at the cursor, returning false if the name is already taken
src/preset.rs:128
↓ 4 callersMethodset_cursor
Paints the cursor at the current position
src/view/aligned.rs:155
↓ 4 callersMethodset_cursor
Paints the cursor at the current position
src/view/unaligned.rs:85
↓ 4 callersMethodsize_per_byte
(&self)
src/style.rs:223
↓ 4 callersMethodspawn
(mut self)
src/util.rs:29
↓ 4 callersMethodvert_half_height
height of a screen half when in vertical split
src/doublehex.rs:128
↓ 3 callersMethodadd_second_shift
Adds a shift to the right vector, returns the change of index to the same element
src/datastruct.rs:131
↓ 3 callersMethodaligner
(&self)
src/align.rs:88
↓ 3 callersMethodappend
Appends alignment data to the underlying DoubleVec. Returns true if something in view changed.
src/view/aligned.rs:230
↓ 3 callersFunctionapply_presets
(siv: &mut Cursive, global: &RadioGroup<u32>, semiglobal: &RadioGroup<u32>)
src/dialog/algorithm_presets.rs:128
↓ 3 callersFunctionbinary_ast_to_final_ast
the way the conversion of the ast with hex literals work is that we collect "PartialSequences" which is basically an array of PartialElements, which a
hexagex/src/lib.rs:51
↓ 3 callersFunctionbyte_effect
(x: ByteData)
src/style.rs:161
↓ 3 callersMethodchange_active_cursor
changes the active cursor to be cursor_act and moves back into bounds if the active cursor is outside bounds
src/view/aligned.rs:86
↓ 3 callersMethodchange_active_cursor
changes the active cursor to be cursor_act and moves back into bounds if the active cursor is outside bounds
src/view/unaligned.rs:105
↓ 3 callersMethodclear_selection
clears the selection with the currently active cursors
src/view/aligned.rs:500
↓ 3 callersMethodclear_selection
clears the selection with the currently active cursors
src/view/unaligned.rs:337
↓ 3 callersMethodcol
returns the logical column of the cursor
src/doublehex.rs:158
↓ 3 callersFunctioncolor_from_bytes
Insertions/Deletions are typically green, mismatches red and same bytes white
src/style.rs:185
↓ 3 callersFunctionconfig_path
()
src/config.rs:17
↓ 3 callersMethodcurrent_cursor_addresses
get the file addresses of the current cursors
src/view/aligned.rs:318
↓ 3 callersMethodcurrent_cursor_addresses
get the file addresses of the current cursors
src/view/unaligned.rs:423
↓ 3 callersMethodcurrent_info
(&self)
src/preset.rs:48
↓ 3 callersMethoddestruct
Turn an Aligned view into its part, including information on where it points
src/view/aligned.rs:587
↓ 3 callersMethoddisp
(&self, a: Option<u8>, short: bool)
src/style.rs:245
↓ 3 callersMethodfind
finds the preset with the given name, returning a cursor
src/preset.rs:99
↓ 3 callersMethodget_first_addr
Gets the address of the left vector at a given index
src/datastruct.rs:135
↓ 3 callersMethodget_second_addr
Gets the address of the right vector at a given index
src/datastruct.rs:143
↓ 3 callersMethodget_size
gets the size of the view
src/cursor.rs:68
↓ 3 callersMethodgoto_index_both
go to an index on both sides, regardless of currently active cursor
src/view/unaligned.rs:207
↓ 3 callersFunctionhexagex
Convert the hexagex given in `hexagex` into a regex from `regex::bytes` you can use to match.
hexagex/src/lib.rs:20
↓ 3 callersMethodjump_next_search_result
Jump to the next search result on either active cursor after the current index
src/view/aligned.rs:379
↓ 3 callersFunctionmap_both
(r: Result<T, T>, f: impl FnOnce(T) -> S)
src/search.rs:79
↓ 3 callersMethodmax_row
returns the maximum row the cursor may be at
src/cursor.rs:178
next →1–100 of 441, ranked by callers