id: 1 unit: fn create_tensor() file: bindings/python/src/lib.rs start line: 1087 end line: 1207 size: 113 LOC McCabe index: 9 number of parameters: 5 id: 2 unit: fn new() file: bindings/python/src/lib.rs start line: 434 end line: 536 size: 83 LOC McCabe index: 9 number of parameters: 3 id: 3 unit: fn gpt2_like() file: safetensors/src/tensor.rs start line: 1198 end line: 1261 size: 59 LOC McCabe index: 4 number of parameters: 2 id: 4 unit: fn prepare() file: bindings/python/src/lib.rs start line: 50 end line: 107 size: 56 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: fn test_slicing() file: safetensors/src/tensor.rs start line: 1140 end line: 1186 size: 45 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: fn get_pydtype() file: bindings/python/src/lib.rs start line: 1209 end line: 1252 size: 44 LOC McCabe index: 3 number of parameters: 3 id: 7 unit: def _tobytes() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 44 LOC McCabe index: 8 number of parameters: 2 id: 8 unit: fn arbitrary_metadata() file: safetensors/src/tensor.rs start line: 919 end line: 966 size: 43 LOC McCabe index: 3 number of parameters: 0 id: 9 unit: def pyi_file() file: bindings/python/stub.py start line: 0 end line: 0 size: 41 LOC McCabe index: 12 number of parameters: 2 id: 10 unit: fn test_json_attack() file: safetensors/src/tensor.rs start line: 1307 end line: 1347 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 11 unit: fn slice_to_indexer() file: bindings/python/src/lib.rs start line: 199 end line: 234 size: 35 LOC McCabe index: 4 number of parameters: 3 id: 12 unit: def write() file: bindings/python/stub.py start line: 0 end line: 0 size: 35 LOC McCabe index: 9 number of parameters: 4 id: 13 unit: fn validate() file: safetensors/src/tensor.rs start line: 587 end line: 624 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 14 unit: def _flatten() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 32 LOC McCabe index: 10 number of parameters: 2 id: 15 unit: fn test_serialization_forced_alignement() file: safetensors/src/tensor.rs start line: 1106 end line: 1137 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: fn extract_bound() file: bindings/python/src/lib.rs start line: 325 end line: 351 size: 27 LOC McCabe index: 9 number of parameters: 1 id: 17 unit: fn fmt() file: safetensors/src/tensor.rs start line: 68 end line: 95 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 18 unit: fn test_empty() file: safetensors/src/tensor.rs start line: 1078 end line: 1103 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: def _parse_every_object() file: attacks/paddle_ace_create.py start line: 0 end line: 0 size: 24 LOC McCabe index: 8 number of parameters: 3 id: 20 unit: fn fmt() file: safetensors/src/tensor.rs start line: 853 end line: 875 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: fn arbitrary_dtype() file: safetensors/src/tensor.rs start line: 891 end line: 912 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: fn test_serialization() file: safetensors/src/tensor.rs start line: 1011 end line: 1033 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: def _filter_shared_not_shared() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 24 unit: fn test_serialization_fp4() file: safetensors/src/tensor.rs start line: 1036 end line: 1056 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: fn from_string() file: bindings/python/src/lib.rs start line: 399 end line: 422 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: fn dtype() file: safetensors/src/tensor.rs start line: 210 end line: 229 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: fn deserialize() file: bindings/python/src/lib.rs start line: 176 end line: 197 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: fn extract_bound() file: bindings/python/src/lib.rs start line: 258 end line: 278 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: fn serialize() file: safetensors/src/tensor.rs start line: 535 end line: 556 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: fn fmt() file: safetensors/src/slice.rs start line: 30 end line: 46 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 31 unit: def get_discard_names() file: bindings/python/convert.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 32 unit: def _is_little_endian() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 33 unit: fn from() file: safetensors/src/slice.rs start line: 109 end line: 125 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: fn test_roundtrip() file: safetensors/src/tensor.rs start line: 991 end line: 1007 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: fn test_metadata_incomplete_buffer() file: safetensors/src/tensor.rs start line: 1350 end line: 1369 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: fn test_validation_overflow() file: safetensors/src/tensor.rs start line: 1472 end line: 1491 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: def TestOneInput() file: bindings/python/fuzz.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: fn data() file: bindings/python/src/view.rs start line: 37 end line: 50 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: fn fmt() file: bindings/python/src/lib.rs start line: 297 end line: 309 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: fn into_pyobject() file: bindings/python/src/lib.rs start line: 359 end line: 371 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: def _view2torch() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: def function() file: bindings/python/stub.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 43 unit: def do_black() file: bindings/python/stub.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: def create_payload() file: attacks/safetensors_abuse_attempt_2.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: def create_diff() file: bindings/python/convert.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 4 id: 46 unit: def previous_pr() file: bindings/python/convert.py start line: 0 end line: 0 size: 12 LOC McCabe index: 7 number of parameters: 4 id: 47 unit: fn serialize() file: bindings/python/src/lib.rs start line: 123 end line: 133 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: def fn_predicate() file: bindings/python/stub.py start line: 0 end line: 0 size: 11 LOC McCabe index: 8 number of parameters: 1 id: 49 unit: def create_payload() file: attacks/safetensors_abuse_attempt_3.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: fn serialize_file() file: bindings/python/src/lib.rs start line: 151 end line: 162 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 51 unit: fn parse_device() file: bindings/python/src/lib.rs start line: 313 end line: 322 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: fn get_module() file: bindings/python/src/lib.rs start line: 1076 end line: 1085 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: fn fmt() file: safetensors/src/slice.rs start line: 74 end line: 83 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: fn test_deserialization() file: safetensors/src/tensor.rs start line: 1277 end line: 1289 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: fn test_lifetimes() file: safetensors/src/tensor.rs start line: 1292 end line: 1304 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: fn fmt() file: bindings/python/src/lib.rs start line: 246 end line: 254 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: def py_file() file: bindings/python/stub.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: fn source() file: safetensors/src/tensor.rs start line: 112 end line: 120 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: fn test_serialization_fp4_invalid() file: safetensors/src/tensor.rs start line: 1067 end line: 1075 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: fn test_empty_shapes_allowed() file: safetensors/src/tensor.rs start line: 1264 end line: 1274 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: fn test_zero_sized_tensor() file: safetensors/src/tensor.rs start line: 1449 end line: 1458 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: fn get_sample_data() file: safetensors/benches/benchmark.rs start line: 7 end line: 16 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: def storage_ptr() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 64 unit: def storage_size() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 65 unit: def _find_shared_tensors() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 66 unit: def get_module_members() file: bindings/python/stub.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 67 unit: fn source() file: safetensors/src/tensor.rs start line: 100 end line: 107 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: fn deserialize() file: safetensors/src/tensor.rs start line: 523 end line: 531 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: fn test_header_too_large() file: safetensors/src/tensor.rs start line: 1372 end line: 1381 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: fn test_header_too_small() file: safetensors/src/tensor.rs start line: 1384 end line: 1392 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: fn test_invalid_header_length() file: safetensors/src/tensor.rs start line: 1395 end line: 1403 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: fn test_invalid_header_non_utf8() file: safetensors/src/tensor.rs start line: 1406 end line: 1414 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: fn test_invalid_header_not_json() file: safetensors/src/tensor.rs start line: 1417 end line: 1425 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: fn test_invalid_info() file: safetensors/src/tensor.rs start line: 1461 end line: 1469 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: def __reduce__() file: attacks/paddle_ace_create.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: def create_payload() file: attacks/safetensors_abuse_attempt_1.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: def __reduce__() file: attacks/torch_ace_create.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: fn new() file: bindings/python/src/lib.rs start line: 391 end line: 397 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: fn inner() file: bindings/python/src/lib.rs start line: 748 end line: 754 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: fn fmt() file: bindings/python/src/lib.rs start line: 874 end line: 880 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 81 unit: def _view2np() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: def check_file_size() file: bindings/python/convert.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: fn display_bound() file: safetensors/src/slice.rs start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: fn test_indexing() file: safetensors/src/tensor.rs start line: 983 end line: 989 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: def load_file() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: def load_file() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 87 unit: def load_file() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 88 unit: def _end_ptr() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: def load_file() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 90 unit: def load_file() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: def member_sort() file: bindings/python/stub.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: fn slice() file: safetensors/src/slice.rs start line: 142 end line: 148 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 93 unit: fn slice() file: safetensors/src/slice.rs start line: 182 end line: 187 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: fn try_from() file: safetensors/src/tensor.rs start line: 510 end line: 519 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: fn test_serialization_fp4_misaligned() file: safetensors/src/tensor.rs start line: 1059 end line: 1064 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: def save() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 97 unit: def _remove_duplicate_names() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: def save_model() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: def load_model() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: def _mx2np() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 101 unit: def _remove_duplicate_names() file: bindings/python/convert.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: def rename() file: bindings/python/convert.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: fn slice() file: safetensors/src/slice.rs start line: 169 end line: 173 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: fn test_whitespace_padded_header() file: safetensors/src/tensor.rs start line: 1429 end line: 1433 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: fn new() file: bindings/python/src/lib.rs start line: 761 end line: 764 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: def save_file() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: def _np2tf() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: def _tf2np() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 109 unit: def save_file() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: def _np2jnp() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 111 unit: def _jnp2np() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 112 unit: def save_file() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: def load_file() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 114 unit: def _np2paddle() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: def _paddle2np() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 116 unit: def _tobytes() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: def save() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 118 unit: def save_file() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: def save_file() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: def _np2mx() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 121 unit: def convert_file() file: bindings/python/convert.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: fn slice() file: safetensors/src/slice.rs start line: 158 end line: 161 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: def exec_() file: attacks/tf_ace_create.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: def exec_() file: attacks/tf_safe_ace_create.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 125 unit: fn data() file: bindings/python/src/view.rs start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: fn shape() file: bindings/python/src/view.rs start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: fn dtype() file: bindings/python/src/view.rs start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: fn data_len() file: bindings/python/src/view.rs start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: fn data() file: bindings/python/src/lib.rs start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: fn shape() file: bindings/python/src/lib.rs start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: fn dtype() file: bindings/python/src/lib.rs start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: fn data_len() file: bindings/python/src/lib.rs start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: def save() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 134 unit: def load() file: bindings/python/py_src/safetensors/tensorflow.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: def save() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 136 unit: def load() file: bindings/python/py_src/safetensors/flax.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: def save() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 138 unit: def load() file: bindings/python/py_src/safetensors/paddle.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: def load() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: def load() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: def save() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 142 unit: def load() file: bindings/python/py_src/safetensors/mlx.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: fn from() file: safetensors/src/slice.rs start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: fn slice() file: safetensors/src/slice.rs start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: fn from() file: safetensors/src/tensor.rs start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: fn from() file: safetensors/src/tensor.rs start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: fn dtype() file: safetensors/src/tensor.rs start line: 673 end line: 675 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: fn shape() file: safetensors/src/tensor.rs start line: 677 end line: 679 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: fn data() file: safetensors/src/tensor.rs start line: 681 end line: 683 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: fn data_len() file: safetensors/src/tensor.rs start line: 685 end line: 687 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: fn dtype() file: safetensors/src/tensor.rs start line: 691 end line: 693 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: fn shape() file: safetensors/src/tensor.rs start line: 695 end line: 697 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: fn data() file: safetensors/src/tensor.rs start line: 699 end line: 701 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: fn data_len() file: safetensors/src/tensor.rs start line: 703 end line: 705 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: fn arbitrary_shape() file: safetensors/src/tensor.rs start line: 914 end line: 917 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: fn data_size() file: safetensors/src/tensor.rs start line: 975 end line: 977 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: fn test_gpt2() file: safetensors/src/tensor.rs start line: 1189 end line: 1191 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: fn test_gpt2_tiny() file: safetensors/src/tensor.rs start line: 1194 end line: 1196 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: def __init__() file: attacks/paddle_ace_create.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 160 unit: def __init__() file: attacks/torch_ace_create.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 161 unit: def save_file() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: def _getdtype() file: bindings/python/py_src/safetensors/numpy.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: def _is_complete() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 164 unit: def _getdtype() file: bindings/python/py_src/safetensors/torch.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: def deserialize() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: def serialize() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: def serialize_file() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 168 unit: def __init__() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 169 unit: def __enter__() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: def __exit__() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 171 unit: def get_slice() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: def get_tensor() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: def keys() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: def metadata() file: bindings/python/py_src/safetensors/__init__.pyi start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: def do_indent() file: bindings/python/stub.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 176 unit: def convert_multi() file: bindings/python/convert.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: def convert_single() file: bindings/python/convert.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: def convert_generic() file: bindings/python/convert.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 179 unit: def convert() file: bindings/python/convert.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0