1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-device/src/ipp/codec.rs
Items
const MAX_COLLECTION_DEPTH enum IppValue impl IppValue struct IppAttribute impl IppAttribute struct IppGroup struct IppMessage impl IppMessage struct Reader impl Reader
Functions
By call-graph weight (PageRank; 1.0 is the average function). 41 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| IppAttribute::newsrc/ipp/codec.rs:133 | method | 3 | 1 | 13 | 0 | 3.9 | |
| Reader::takesrc/ipp/codec.rs:337 | method | 11 | 1 | 3 | 0 | 3.4 | |
| IppMessage::newsrc/ipp/codec.rs:165 | method | 3 | 1 | 9 | 0 | 2.4 | |
| IppAttribute::with_valuessrc/ipp/codec.rs:137 | method | 3 | 1 | 7 | 0 | 2.1 | |
| IppMessage::attributesrc/ipp/codec.rs:179 | method | 3 | 1 | 8 | 0 | 2.1 | |
| decodesrc/ipp/codec.rs:371 | fn | 33 | 4 | 6 | 5 | 1.8 | |
| IppValue::as_boolsrc/ipp/codec.rs:118 | method | 6 | 2 | 4 | 0 | 1.6 | |
| Reader::u16src/ipp/codec.rs:353 | method | 4 | 1 | 4 | 1 | 1.6 | |
| IppMessage::stringssrc/ipp/codec.rs:197 | method | 5 | 1 | 6 | 2 | 1.5 | |
| with_languagesrc/ipp/codec.rs:318 | fn | 10 | 1 | 1 | 0 | 1.4 | |
| raw_attrsrc/ipp/codec.rs:531 | fn | 7 | 1 | 2 | 0 | 1.3 | |
| IppValue::as_strsrc/ipp/codec.rs:94 | method | 15 | 4 | 3 | 0 | 1.3 | |
| write_valuesrc/ipp/codec.rs:252 | fn | 20 | 6 | 1 | 2 | 1.3 | |
| Reader::restsrc/ipp/codec.rs:363 | method | 4 | 1 | 2 | 0 | 1.2 | |
| IppAttribute::firstsrc/ipp/codec.rs:141 | method | 3 | 1 | 6 | 0 | 1.1 | |
| IppMessage::is_successsrc/ipp/codec.rs:211 | method | 3 | 1 | 7 | 1 | 1 | |
| write_tlvsrc/ipp/codec.rs:273 | fn | 10 | 1 | 1 | 0 | 1 | |
| value_bodysrc/ipp/codec.rs:284 | fn | 33 | 11 | 1 | 1 | 1 | |
| Reader::u8src/ipp/codec.rs:349 | method | 3 | 1 | 2 | 1 | 1 | |
| parse_valuesrc/ipp/codec.rs:455 | fn | 51 | 23 | 2 | 2 | 0.9 | |
| write_attributesrc/ipp/codec.rs:238 | fn | 13 | 5 | 1 | 1 | 0.9 | |
| be_i32src/ipp/codec.rs:507 | fn | 4 | 1 | 1 | 0 | 0.9 | |
| split_languagesrc/ipp/codec.rs:512 | fn | 11 | 2 | 1 | 2 | 0.9 | |
| IppValue::as_i32src/ipp/codec.rs:111 | method | 6 | 2 | 3 | 0 | 0.8 | |
| Reader::u32src/ipp/codec.rs:358 | method | 4 | 1 | 1 | 1 | 0.8 | |
| read_valuesrc/ipp/codec.rs:405 | fn | 8 | 2 | 1 | 3 | 0.8 | |
| printer_attributes_response_bytessrc/ipp/codec.rs:543 | fn | 43 | 1 | 2 | 1 | 0.8 | |
| read_collection_memberssrc/ipp/codec.rs:414 | fn | 40 | 7 | 1 | 3 | 0.7 | |
| IppMessage::group_attributesrc/ipp/codec.rs:184 | method | 7 | 1 | 3 | 0 | 0.7 | |
| IppValue::tagsrc/ipp/codec.rs:68 | method | 23 | 19 | 0 | 0 | 0.5 | |
| IppMessage::pushsrc/ipp/codec.rs:171 | method | 6 | 3 | 0 | 0 | 0.5 | |
| IppMessage::stringsrc/ipp/codec.rs:192 | method | 3 | 1 | 0 | 3 | 0.5 | |
| IppMessage::integersrc/ipp/codec.rs:203 | method | 3 | 1 | 0 | 3 | 0.5 | |
| IppMessage::booleansrc/ipp/codec.rs:207 | method | 3 | 1 | 0 | 3 | 0.5 | |
| IppMessage::encodesrc/ipp/codec.rs:215 | method | 19 | 6 | 0 | 1 | 0.5 | |
| decodes_a_hand_built_get_printer_attributes_responsesrc/ipp/codec.rs:588 | fn | 47 | 1 | 0 | 8 | 0.5 | |
| hand_built_response_reencodes_byte_for_bytesrc/ipp/codec.rs:637 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| request_with_document_round_tripssrc/ipp/codec.rs:644 | fn | 51 | 1 | 0 | 4 | 0.5 | |
| additional_values_use_zero_length_namessrc/ipp/codec.rs:697 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| malformed_input_is_an_error_not_a_panicsrc/ipp/codec.rs:719 | fn | 23 | 1 | 0 | 2 | 0.5 | |
| encode_refuses_nameless_or_empty_attributessrc/ipp/codec.rs:744 | fn | 8 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.