The distribution of size of files (measured in lines of code).
File | # lines | # units |
---|---|---|
ast_native.cc in src/compiler |
550 | 13 |
c_api.cc in src/c_api |
495 | 41 |
predictor.cc in runtime/native/src |
405 | 9 |
frontend.py in python/treelite |
381 | 43 |
builder.cc in src/frontend |
380 | 4 |
xgboost.cc in src/frontend |
376 | 26 |
lightgbm.cc in src/frontend |
349 | 6 |
failsafe.cc in src/compiler |
321 | 7 |
common.h in include/treelite |
306 | 25 |
protobuf.cc in src/frontend |
281 | 5 |
azure-pipelines.yml in root |
269 | - |
predictor.py in runtime/native/python/treelite_runtime |
257 | 13 |
tree.h in include/treelite |
249 | 34 |
filesystem.h in src/common |
214 | 5 |
treelite4j.cpp in runtime/java/treelite4j/src/native |
199 | 2 |
ast.h in src/compiler/ast |
172 | 15 |
core.py in python/treelite |
168 | 12 |
Utils.cmake in cmake |
166 | - |
code_folding_util.h in src/compiler/common |
156 | - |
c_api_runtime.cc in runtime/native/src/c_api |
143 | 13 |
Predictor.java in runtime/java/treelite4j/src/main/java/ml/dmlc/treelite4j |
139 | 5 |
util.py in python/treelite/contrib |
129 | 11 |
annotator.cc in src |
125 | 4 |
c_api.h in include/treelite |
119 | - |
__init__.py in python/treelite/contrib |
118 | 4 |
pred_transform.h in src/compiler/native |
114 | 8 |
elf_formatter.cc in src/compiler/elf |
111 | 5 |
thread_pool.h in runtime/native/src/thread_pool |
108 | 3 |
BatchBuilder.java in runtime/java/treelite4j/src/main/java/ml/dmlc/treelite4j |
107 | 3 |
NativeLibLoader.java in runtime/java/treelite4j/src/main/java/ml/dmlc/treelite4j |
99 | 5 |
predictor.h in runtime/native/include/treelite |
93 | 7 |
msvc.py in python/treelite/contrib |
80 | 6 |
fold_code.cc in src/compiler/ast |
79 | 2 |
spsc_queue.h in runtime/native/src/thread_pool |
79 | 4 |
Utils.cmake in runtime/native/cmake |
78 | - |
pred_transform.cc in src/compiler |
74 | - |
build.cc in src/compiler/ast |
71 | 1 |
create_jni.py in runtime/java/treelite4j |
69 | 5 |
data.cc in src |
66 | - |
setup.py in python |
65 | - |
tree.proto in src |
64 | - |
quantize.cc in src/compiler/ast |
63 | 1 |
qnode_template.h in src/compiler/native |
60 | 1 |
frontend.h in include/treelite |
60 | - |
builder.h in src/compiler/ast |
59 | - |
split.cc in src/compiler/ast |
54 | 2 |
compiler.h in include/treelite |
53 | 2 |
c_api_runtime.h in runtime/native/include/treelite |
49 | - |
TreeliteJNI.java in runtime/java/treelite4j/src/main/java/ml/dmlc/treelite4j |
48 | 2 |
main_template.h in src/compiler/native |
44 | - |
File | # lines | # units |
---|---|---|
frontend.py in python/treelite |
381 | 43 |
c_api.cc in src/c_api |
495 | 41 |
tree.h in include/treelite |
249 | 34 |
xgboost.cc in src/frontend |
376 | 26 |
common.h in include/treelite |
306 | 25 |
ast.h in src/compiler/ast |
172 | 15 |
ast_native.cc in src/compiler |
550 | 13 |
c_api_runtime.cc in runtime/native/src/c_api |
143 | 13 |
predictor.py in runtime/native/python/treelite_runtime |
257 | 13 |
core.py in python/treelite |
168 | 12 |
util.py in python/treelite/contrib |
129 | 11 |
predictor.cc in runtime/native/src |
405 | 9 |
pred_transform.h in src/compiler/native |
114 | 8 |
failsafe.cc in src/compiler |
321 | 7 |
Entry.java in runtime/java/treelite4j/src/main/java/ml/dmlc/treelite4j |
29 | 7 |
predictor.h in runtime/native/include/treelite |
93 | 7 |
compat.py in python/treelite/common |
39 | 7 |
lightgbm.cc in src/frontend |
349 | 6 |
msvc.py in python/treelite/contrib |
80 | 6 |
util.py in python/treelite/common |
37 | 6 |
There are 2 files with lines longer than 120 characters. In total, there are 2 long lines.
File | # lines | # units | # long lines |
---|---|---|---|
azure-pipelines.yml in root |
269 | - | 1 |
DataPoint.scala in runtime/java/treelite4j/src/main/scala/ml/dmlc/treelite4j |
6 | - | 1 |