Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaurenzV/hayro
/ functions
Functions
3,975 in github.com/LaurenzV/hayro
⨍
Functions
3,975
◇
Types & classes
595
↓ 1,505 callers
Function
run_render_test
(name: &str, file_path: &str, range_str: Option<&str>)
hayro-tests/tests/mod.rs:234
↓ 338 callers
Function
nz
(n: u32)
hayro-jbig2/src/huffman_tables_generated.rs:7
↓ 315 callers
Method
clone
(&self)
hayro-syntax/src/content/mod.rs:451
↓ 158 callers
Method
iter
(&self)
hayro-svg/src/lib.rs:468
↓ 157 callers
Method
new
(range_low: int, prefix_length: int, range_length: int)
hayro-jbig2/generate_huffman_tables.py:25
↓ 156 callers
Method
map
(&self, entry: usize, column: usize)
hayro-jpeg2000/src/jp2/pclr.rs:67
↓ 145 callers
Method
get
(&self)
hayro-interpret/src/context.rs:254
↓ 141 callers
Method
len
Return the number of objects present in the PDF file.
hayro-syntax/src/pdf.rs:72
↓ 128 callers
Method
push
(&mut self, byte_len: usize, range: CidRange)
hayro-cmap/src/lib.rs:557
↓ 125 callers
Method
as_ref
(&self)
hayro-syntax/src/data.rs:27
↓ 106 callers
Method
map
(&self, code: u16)
hayro-interpret/src/font/cid.rs:495
↓ 106 callers
Function
op_impl
(prog: &str, out: &[f32])
hayro-interpret/src/function/type4.rs:604
↓ 97 callers
Method
get_mut
(&mut self)
hayro-interpret/src/context.rs:258
↓ 78 callers
Function
load_pdf
(file: &[u8])
hayro-tests/tests/load.rs:9
↓ 60 callers
Method
contains
(&self, hash: u128)
hayro-svg/src/lib.rs:447
↓ 53 callers
Method
push
(&mut self, n: T)
hayro-interpret/src/function/type4.rs:108
↓ 51 callers
Method
insert
(&mut self, value: T)
hayro-svg/src/lib.rs:462
↓ 50 callers
Method
min
(self, other: Self)
hayro-jpeg2000/src/math.rs:70
↓ 49 callers
Method
max
(self, other: Self)
hayro-jpeg2000/src/math.rs:77
↓ 47 callers
Method
len
(&self)
hayro-interpret/src/function/type4.rs:98
↓ 46 callers
Function
read
(reader: &mut BitReader<'a>)
hayro-jpeg2000/src/jp2/box.rs:69
↓ 45 callers
Method
write
(&mut self, val: u32)
hayro-syntax/src/bit_reader.rs:195
↓ 44 callers
Method
as_f64
Return the value as an `f64`.
hayro-postscript/src/number.rs:29
↓ 41 callers
Method
skip_white_spaces_and_comments
(&mut self)
hayro-syntax/src/reader.rs:103
↓ 39 callers
Method
forward_tag
(&mut self, tag: &[u8])
hayro-syntax/src/byte_reader.rs:153
↓ 37 callers
Method
next
(&mut self)
hayro-syntax/src/content/mod.rs:123
↓ 36 callers
Method
get
(&self, byte_len: u8)
hayro-cmap/src/lib.rs:566
↓ 35 callers
Method
clear
(&mut self)
hayro-syntax/src/content/mod.rs:410
↓ 34 callers
Method
is_empty
(&self)
hayro-svg/src/lib.rs:475
↓ 34 callers
Function
run_svg_test
(name: &str, file_path: &str, range_str: Option<&str>)
hayro-tests/tests/mod.rs:318
↓ 32 callers
Method
len
Returns the number of entries in the dictionary.
hayro-syntax/src/object/dict.rs:56
↓ 31 callers
Method
as_ref
(&self)
hayro-syntax/src/object/name.rs:34
↓ 31 callers
Method
read_byte
(&mut self)
hayro-jpeg2000/src/j2c/arithmetic_decoder.rs:57
↓ 30 callers
Method
decode
Decode the image data through the given [`Decoder`].
hayro-jbig2/src/lib.rs:185
↓ 30 callers
Function
parse
( data: &[u8], get_cmap: impl Fn(CMapName<'_>) -> Option<&'a [u8]> + Clone + 'a, depth: u32, )
hayro-cmap/src/bcmap/mod.rs:51
↓ 29 callers
Method
cmp
(&self, other: &Self)
hayro-syntax/src/object/name.rs:69
↓ 27 callers
Method
decoded
Return the decoded data of the stream. Note that the result of this method will not be cached, so calling it multiple times is expensive.
hayro-syntax/src/object/stream.rs:159
↓ 27 callers
Method
dict
Return the raw, underlying dictionary of the stream.
hayro-syntax/src/object/stream.rs:137
↓ 27 callers
Method
len
(&self)
hayro-syntax/src/content/mod.rs:414
↓ 26 callers
Method
get
(&self, init: impl FnOnce() -> T)
hayro-jbig2/src/lazy.rs:11
↓ 26 callers
Method
push
(&mut self, operand: Object<'a>)
hayro-syntax/src/content/mod.rs:400
↓ 26 callers
Method
read_marker
(&mut self)
hayro-jpeg2000/src/reader.rs:168
↓ 26 callers
Function
run_write_test
( name: &str, file_path: &str, page_indices: &[usize], renderer: Renderer, page: bool, )
hayro-tests/tests/mod.rs:328
↓ 24 callers
Function
filter_paeth
(a: u8, b: u8, c: u8)
hayro-syntax/src/filter/png/paeth.rs:8
↓ 24 callers
Method
offset
(&self)
hayro-postscript/src/reader.rs:26
↓ 24 callers
Method
pages
Return the pages of the PDF file.
hayro-syntax/src/pdf.rs:95
↓ 24 callers
Method
read_u16
(&mut self)
hayro-jpeg2000/src/reader.rs:85
↓ 23 callers
Method
as_f32
(&self)
hayro-interpret/src/function/type4.rs:70
↓ 23 callers
Method
read_bit
(&mut self, context: &mut ArithmeticDecoderContext)
hayro-jpeg2000/src/j2c/bitplane.rs:1003
↓ 23 callers
Method
read_bytes
(&mut self, len: usize)
hayro-syntax/src/byte_reader.rs:77
↓ 22 callers
Function
load_jpeg2000
(file: &[u8])
hayro-tests/tests/load.rs:31
↓ 22 callers
Method
offset
(&self)
hayro-syntax/src/byte_reader.rs:71
↓ 21 callers
Method
forward
(&mut self)
hayro-postscript/src/reader.rs:66
↓ 21 callers
Method
read_byte
(&mut self)
hayro-jbig2/src/reader.rs:52
↓ 20 callers
Method
as_slice
(&self)
hayro-syntax/src/content/mod.rs:418
↓ 20 callers
Method
is_nearly_equal
Whether the number is nearly equal to another number.
hayro-interpret/src/util.rs:33
↓ 19 callers
Method
index
(&self, padded_width: u32)
hayro-jpeg2000/src/j2c/bitplane.rs:987
↓ 19 callers
Method
pop
(&mut self)
hayro-interpret/src/function/type4.rs:140
↓ 19 callers
Method
read_byte
(&mut self)
hayro-syntax/src/byte_reader.rs:86
↓ 19 callers
Method
read_u32
(&mut self)
hayro-jbig2/src/reader.rs:113
↓ 19 callers
Method
read_u32
(&mut self)
hayro-jpeg2000/src/reader.rs:92
↓ 19 callers
Method
store
(self, slice: &mut [f32])
hayro-jpeg2000/src/math.rs:51
↓ 18 callers
Method
as_str
(&self)
hayro-interpret/src/font/standard_font.rs:88
↓ 18 callers
Method
cache_key
(&self)
hayro-interpret/src/types.rs:20
↓ 18 callers
Method
iter
(&self)
hayro-syntax/src/object/array.rs:39
↓ 18 callers
Method
last
(&self)
hayro-interpret/src/function/type4.rs:131
↓ 18 callers
Method
resolve
Resolve the `MaybeRef` object with the given xref table.
hayro-syntax/src/object/ref.rs:89
↓ 18 callers
Method
skip_white_spaces
(&mut self)
hayro-syntax/src/reader.rs:66
↓ 18 callers
Method
take
(self)
hayro-interpret/src/font/outline.rs:37
↓ 17 callers
Method
get
(&self)
hayro-jpeg2000/src/j2c/bitplane.rs:264
↓ 17 callers
Function
hash128
Calculate a 128-bit siphash of a value.
hayro-interpret/src/util.rs:113
↓ 16 callers
Method
get
(&self, index: usize)
hayro-syntax/src/filter/lzw_flate.rs:679
↓ 16 callers
Method
height
(&self)
hayro/src/renderer.rs:78
↓ 16 callers
Method
read_bits_with_stuffing
(&mut self, bit_size: u8)
hayro-jpeg2000/src/reader.rs:129
↓ 16 callers
Method
width
(&self)
hayro/src/renderer.rs:70
↓ 15 callers
Method
get
(&'a self, id: ObjectIdentifier)
hayro-syntax/src/xref.rs:522
↓ 15 callers
Method
height
The height of the image in pixels.
hayro-jbig2/src/lib.rs:180
↓ 15 callers
Method
is_empty
(&self)
hayro-interpret/src/function/type4.rs:103
↓ 15 callers
Method
is_nearly_zero
Whether the number is approximately 0.
hayro-interpret/src/util.rs:28
↓ 15 callers
Method
is_none
(&self)
hayro-interpret/src/color.rs:459
↓ 15 callers
Function
load_embedded
(_name: CMapName<'_>)
hayro-cmap/src/lib.rs:29
↓ 15 callers
Method
mul_add
(self, mul: Self, addend: Self)
hayro-jpeg2000/src/math.rs:37
↓ 15 callers
Method
width
The width of the image in pixels.
hayro-jbig2/src/lib.rs:175
↓ 14 callers
Method
get
Get access to the original data of the PDF.
hayro-syntax/src/data.rs:89
↓ 14 callers
Function
interpolate
Linearly interpolate the value `x`, assuming that it lies within the range `x_min` and `x_max`, to the range `y_min` and `y_max`.
hayro-interpret/src/function/mod.rs:111
↓ 14 callers
Method
parse_object
Parse the next object.
hayro-postscript/src/lib.rs:59
↓ 14 callers
Function
parse_with_preamble
(body: &[u8])
hayro-cmap/src/lib.rs:728
↓ 14 callers
Method
path
(&self)
hayro-interpret/src/context.rs:222
↓ 14 callers
Method
push
(&mut self, entry: Vec<u8>)
hayro-syntax/src/filter/lzw_flate.rs:661
↓ 14 callers
Method
to_rgba
(&self, c: &[f32], opacity: f32, manual_scale: bool)
hayro-interpret/src/color.rs:335
↓ 14 callers
Method
upper
(range_low: int, prefix_length: int, range_length: int)
hayro-jbig2/generate_huffman_tables.py:33
↓ 14 callers
Method
width
(&self)
hayro-jpeg2000/src/j2c/rect.rs:23
↓ 13 callers
Method
as_bytes
Returns the string data as a byte slice.
hayro-syntax/src/object/string.rs:37
↓ 13 callers
Method
peek_byte
(&self)
hayro-postscript/src/reader.rs:50
↓ 13 callers
Function
run_render_test_with_password
( name: &str, file_path: &str, range_str: Option<&str>, password: &str, )
hayro-tests/tests/mod.rs:238
↓ 13 callers
Method
xref
Return the xref of the PDF file.
hayro-syntax/src/pdf.rs:100
↓ 12 callers
Method
cast
Try casting the object to a specific subtype.
hayro-syntax/src/object/mod.rs:67
↓ 12 callers
Method
contains_key
Checks whether the dictionary contains an entry with a specific key.
hayro-syntax/src/object/dict.rs:66
↓ 12 callers
Method
finish
(mut self)
hayro-svg/src/lib.rs:402
↓ 12 callers
Method
font_ref
(&self)
hayro-interpret/src/font/blob.rs:240
next →
1–100 of 3,975, ranked by callers