Skip to content

Commit 2fa5c53

Browse files
author
lix19937
committed
new create
1 parent 758b3e0 commit 2fa5c53

File tree

2,604 files changed

+347458
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,604 files changed

+347458
-0
lines changed

.clang-format

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
Language: Cpp
3+
AccessModifierOffset: 0
4+
AlignAfterOpenBracket: Align
5+
AlignConsecutiveAssignments: true
6+
AlignConsecutiveDeclarations: false
7+
AlignEscapedNewlinesLeft: true
8+
AlignOperands: true
9+
AlignTrailingComments: true
10+
AllowAllParametersOfDeclarationOnNextLine: true
11+
AllowShortBlocksOnASingleLine: true
12+
AllowShortCaseLabelsOnASingleLine: true
13+
AllowShortFunctionsOnASingleLine: All
14+
AllowShortIfStatementsOnASingleLine: false
15+
AllowShortLoopsOnASingleLine: false
16+
AlwaysBreakAfterDefinitionReturnType: None
17+
AlwaysBreakAfterReturnType: None
18+
AlwaysBreakBeforeMultilineStrings: false
19+
AlwaysBreakTemplateDeclarations: true
20+
BinPackArguments: false
21+
BinPackParameters: false
22+
BraceWrapping:
23+
AfterClass: true
24+
AfterControlStatement: true
25+
AfterEnum: true
26+
AfterFunction: true
27+
AfterNamespace: false
28+
AfterObjCDeclaration: true
29+
AfterStruct: true
30+
AfterUnion: true
31+
BeforeCatch: true
32+
BeforeElse: true
33+
IndentBraces: false
34+
BreakBeforeBinaryOperators: None
35+
BreakBeforeBraces: Custom
36+
BreakBeforeTernaryOperators: true
37+
BreakConstructorInitializersBeforeComma: false
38+
ColumnLimit: 100
39+
CommentPragmas: '^ IWYU pragma:'
40+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
41+
ConstructorInitializerIndentWidth: 4
42+
ContinuationIndentWidth: 4
43+
Cpp11BracedListStyle: true
44+
DerivePointerAlignment: false
45+
DisableFormat: false
46+
ExperimentalAutoDetectBinPacking: false
47+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
48+
IncludeCategories:
49+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
50+
Priority: 2
51+
- Regex: '^(<|"(gtest|isl|json)/)'
52+
Priority: 3
53+
- Regex: '.*'
54+
Priority: 1
55+
IndentCaseLabels: false
56+
IndentWidth: 4
57+
IndentWrappedFunctionNames: false
58+
KeepEmptyLinesAtTheStartOfBlocks: true
59+
MacroBlockBegin: ''
60+
MacroBlockEnd: ''
61+
MaxEmptyLinesToKeep: 1
62+
NamespaceIndentation: None
63+
ObjCBlockIndentWidth: 2
64+
ObjCSpaceAfterProperty: false
65+
ObjCSpaceBeforeProtocolList: true
66+
PenaltyBreakBeforeFirstCallParameter: 19
67+
PenaltyBreakComment: 300
68+
PenaltyBreakFirstLessLess: 120
69+
PenaltyBreakString: 1000
70+
PenaltyExcessCharacter: 1000000
71+
PenaltyReturnTypeOnItsOwnLine: 60
72+
PointerAlignment: Left
73+
ReflowComments: true
74+
SortIncludes: false
75+
SpaceAfterCStyleCast: false
76+
# SpaceAfterTemplateKeyword: true
77+
SpaceBeforeAssignmentOperators: true
78+
SpaceBeforeParens: Never
79+
SpaceInEmptyParentheses: false
80+
SpacesBeforeTrailingComments: 1
81+
SpacesInAngles: false
82+
SpacesInContainerLiterals: true
83+
SpacesInCStyleCastParentheses: false
84+
SpacesInParentheses: false
85+
SpacesInSquareBrackets: false
86+
Standard: Cpp11
87+
TabWidth: 8
88+
UseTab: Never
89+
...
90+

.gitignore

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
#==============================================================================#
2+
# File extensions to be ignored anywhere in the tree.
3+
#==============================================================================#
4+
5+
# Temp files created by most text editors
6+
*~
7+
8+
# Merge files created by git
9+
*.orig
10+
11+
# Byte compiled python modules
12+
*.pyc
13+
*.pyd
14+
15+
# Vim swap files
16+
.*.sw?
17+
.sw?
18+
19+
# Visual Studio
20+
.vs
21+
/.vscode/*
22+
23+
# Sublime Text settings
24+
*.sublime-workspace
25+
*.sublime-project
26+
27+
# Eclipse Project settings
28+
*.*project
29+
.settings
30+
31+
# OS X specific files
32+
.DS_store
33+
34+
#==============================================================================#
35+
# Explicit files to ignore (only matches one).
36+
#==============================================================================#
37+
38+
# Various tags
39+
/tags
40+
/TAGS
41+
/GPATH
42+
/GRTAGS
43+
/GSYMS
44+
/GTAGS
45+
/ID
46+
.gitusers
47+
/compile_commands.json
48+
49+
/CMakeSettings.json
50+
51+
# documentation artifacts
52+
_toc.yml
53+
54+
#==============================================================================#
55+
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
56+
#==============================================================================#
57+
# Nested build directory
58+
/build*
59+
60+
# Downloaded models
61+
test/onnx/models
62+
63+
# VS2017 and VSCode config files.
64+
.vscode
65+
.vs
66+
67+
# documentation artifacts
68+
docs/_build
69+
docs/_images
70+
docs/_static
71+
docs/_templates
72+
docs/.doxygen/docBin
73+
docs/.doxygen/DoxygenWarningLog.txt
74+
docs/_doxygen
75+
docs/html
76+
/_readthedocs
77+
78+
# JetBrains config directories (ignoring symlinks)
79+
.idea/
80+
cmake-build*/
81+
build*/
82+
83+
# Recommended location to install rbuild dependencies from README.md
84+
depend
85+

0 commit comments

Comments
 (0)