huggingface / xet-core
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system9% (2,082 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
rs9% (2,022 lines)
toml8% (60 lines)
Duplication per Component (primary)
cas_client17% (525 lines)
cas_object14% (417 lines)
merkledb10% (290 lines)
mdb_shard6% (270 lines)
chunk_cache12% (158 lines)
progress_tracking8% (106 lines)
data5% (82 lines)
hf_xet7% (68 lines)
utils5% (64 lines)
file_utils9% (58 lines)
ROOT16% (24 lines)
chunk_cache_bench5% (14 lines)
hf_xet_wasm<1% (6 lines)
cas_types0% (0 lines)
parutils0% (0 lines)
merklehash0% (0 lines)
error_printer0% (0 lines)
deduplication0% (0 lines)
xet_threadpool0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 249 duplicates...
Size#FoldersFilesLinesCode
27 x 2 merkledb/src
merkledb/src
400:433 (8%)
445:478 (8%)
view
25 x 2 cas_client/src
cas_client/src
1094:1125 (2%)
1166:1197 (2%)
view
25 x 2 cas_client/src
cas_client/src
1018:1049 (2%)
1094:1125 (2%)
view
25 x 2 cas_client/src
cas_client/src
1018:1049 (2%)
1166:1197 (2%)
view
24 x 2 cas_client/src
cas_client/src
1166:1194 (2%)
1265:1293 (2%)
view
24 x 2 hf_xet
ROOT
1:28 (92%)
1:28 (88%)
view
24 x 2 cas_client/src
cas_client/src
1018:1046 (2%)
1265:1293 (2%)
view
24 x 2 cas_client/src
cas_client/src
1094:1122 (2%)
1265:1293 (2%)
view
23 x 2 cas_client/src
cas_client/src
992:1015 (2%)
1140:1163 (2%)
view
21 x 2 mdb_shard/src
mdb_shard/src
1461:1484 (1%)
1513:1536 (1%)
view
19 x 2 chunk_cache/src
chunk_cache/src
1268:1292 (2%)
1302:1326 (2%)
view
19 x 2 cas_object/src
cas_object/src
1900:1925 (1%)
1930:1955 (1%)
view
17 x 2 cas_client/src
cas_client/src
999:1015 (1%)
1075:1091 (1%)
view
17 x 2 cas_client/src
cas_client/src
1075:1091 (1%)
1147:1163 (1%)
view
16 x 2 cas_object/src
cas_object/src
1869:1888 (1%)
1930:1949 (1%)
view
16 x 2 cas_object/src
cas_object/src
1869:1888 (1%)
1900:1919 (1%)
view
16 x 2 cas_object/src
cas_object/src
1989:2008 (1%)
2020:2039 (1%)
view
16 x 2 mdb_shard/src
mdb_shard/src
978:993 (1%)
1001:1016 (1%)
view
16 x 2 utils/src
utils/src
434:451 (3%)
465:482 (3%)
view
15 x 2 cas_object/src/byte_grouping
cas_object/src/byte_grouping
181:198 (6%)
237:254 (6%)
view
15 x 2 cas_object/src
cas_object/src
1960:1977 (1%)
2050:2067 (1%)
view
13 x 2 mdb_shard/src
mdb_shard/src
656:678 (1%)
1562:1584 (1%)
view
13 x 2 cas_object/src
cas_object/src
1877:1895 (<1%)
1997:2015 (<1%)
view
13 x 2 cas_object/src
cas_object/src
1783:1796 (<1%)
2050:2064 (<1%)
view
13 x 2 cas_object/src
cas_object/src
1783:1796 (<1%)
1960:1974 (<1%)
view
13 x 2 merkledb/benches
merkledb/benches
79:95 (6%)
149:165 (6%)
view
13 x 2 hf_xet/src
hf_xet/src
51:65 (7%)
82:96 (7%)
view
13 x 2 merkledb/src
merkledb/src
39:60 (7%)
148:169 (7%)
view
12 x 2 mdb_shard/src
mdb_shard/src
1361:1372 (1%)
1378:1389 (1%)
view
12 x 2 cas_client/src
cas_client/src
167:180 (1%)
241:254 (1%)
view
12 x 2 cas_object/src
cas_object/src
1908:1925 (<1%)
2028:2045 (<1%)
view
12 x 2 chunk_cache/src
chunk_cache/src
851:864 (1%)
883:897 (1%)
view
12 x 2 cas_object/src
cas_object/src/cas_chunk_format
198:213 (5%)
61:76 (9%)
view
12 x 2 cas_object/src
cas_object/src
1938:1955 (<1%)
2028:2045 (<1%)
view
12 x 2 file_utils/src
file_utils/src
241:258 (5%)
305:322 (5%)
view
11 x 2 merkledb/src
merkledb/src
63:77 (6%)
172:186 (6%)
view
11 x 2 progress_tracking/src
progress_tracking/src
186:200 (1%)
414:425 (1%)
view
10 x 2 cas_client/src
cas_client/src
120:131 (6%)
224:235 (6%)
view
10 x 2 cas_object/src/byte_grouping
cas_object/src/byte_grouping
163:174 (4%)
202:213 (4%)
view
10 x 2 cas_object/src
cas_object/src
1850:1861 (<1%)
1869:1880 (<1%)
view
10 x 2 cas_object/src
cas_object/src
1850:1861 (<1%)
1900:1911 (<1%)
view
10 x 2 cas_object/src
cas_object/src
1850:1861 (<1%)
1930:1941 (<1%)
view
10 x 2 data/src
data/src
308:322 (3%)
343:357 (3%)
view
10 x 2 merkledb/src
merkledb/src
148:158 (2%)
366:376 (2%)
view
10 x 2 cas_client/src
cas_client/src
443:453 (2%)
470:480 (2%)
view
10 x 2 utils/src
utils/src
45:57 (9%)
80:92 (9%)
view
10 x 2 cas_object/src
cas_object/src
1540:1550 (<1%)
1593:1604 (<1%)
view
10 x 2 cas_object/src
cas_object/src
2078:2089 (<1%)
2108:2119 (<1%)
view
9 x 2 hf_xet/src
hf_xet/src
39:48 (5%)
70:79 (5%)
view
9 x 2 mdb_shard/src
mdb_shard/src
280:295 (2%)
324:339 (2%)
view