-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ba56732
Showing
550 changed files
with
232,461 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
# by @Samuel Maynard | ||
# --- | ||
# Our C++ format is an adaption of Google's standards to the standards laid out | ||
# in the "Standard Development and Coding Practices" document which was | ||
# compiled by the Advacned Technology department. | ||
# There are many more format style options than are listed here. They can be | ||
# found at https://clang.llvm.org/docs/ClangFormatStyleOptions.html | ||
# When an option is not sepecified, it defaults to Google's style (this can be | ||
# changed with the BasedOnStyle option) | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: false | ||
AlignConsecutiveDeclarations: false | ||
AlignEscapedNewlines: Right | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BreakBeforeBraces: Allman | ||
ConstructorInitializerIndentWidth: 4 | ||
DerivePointerAlignment: false | ||
FixNamespaceComments: true | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
- Regex: '^"pch.h"' | ||
Priority: -1 | ||
- Regex: '^"stdafx.h"' | ||
Priority: -1 | ||
- Regex: '^<ext/.*\.h>' | ||
Priority: 2 | ||
- Regex: '^<.*\.h>' | ||
Priority: 1 | ||
- Regex: '^<.*' | ||
Priority: 2 | ||
- Regex: '.*' | ||
Priority: 3 | ||
IndentWidth: 4 | ||
IndentCaseLabels: false | ||
MaxEmptyLinesToKeep: 1 | ||
# this will insert a \n at the end of the file, | ||
# which won't show as a new line, only \n\n will show as new line | ||
#InsertNewlineAtEOF: true | ||
# this will keep the empty line(\n\n) at the end of file | ||
# KeepEmptyLinesAtEOF: true | ||
NamespaceIndentation: None | ||
PointerAlignment: Right | ||
SpaceAfterCStyleCast: true | ||
SpacesInContainerLiterals: false | ||
--- | ||
Language: Proto | ||
BasedOnStyle: Google | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: test-clang-format | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: DoozyX/[email protected] | ||
with: | ||
source: '.' | ||
exclude: './third_party ./external ./redis ./include/redis ./lua ./fpconv' | ||
extensions: 'h,cpp' | ||
clangFormatVersion: 14 | ||
style: file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Reviewdog | ||
on: [pull_request] | ||
|
||
jobs: | ||
cpplint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: reviewdog/action-cpplint@master | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
flags: --linelength=80 # Optional | ||
filter: "-readability/braces\ | ||
,-whitespace/braces\ | ||
,-whitespace/comments\ | ||
,-whitespace/indent\ | ||
,-whitespace/newline\ | ||
,-whitespace/operators\ | ||
,-whitespace/parens\ | ||
,-build/include_subdir\ | ||
,-runtime/references\ | ||
" # Optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
*.code-workspace | ||
.vscode | ||
.idea | ||
.root | ||
.DS_Store | ||
.cache | ||
.clangd | ||
|
||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
aws | ||
abseil-cpp | ||
|
||
# pre-commit | ||
.pre-commit-config.yaml | ||
|
||
# Swap files | ||
*.swp | ||
*.swo | ||
|
||
logs/ | ||
data/ | ||
build/ | ||
cmake-build* | ||
|
||
bin | ||
bld | ||
bin | ||
cmake/ | ||
tests/tmp | ||
*.cnf | ||
|
||
*.pb.* | ||
|
||
.editorconfig | ||
compile_commands* | ||
|
||
*.log | ||
|
||
eloq_data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[submodule "cass"] | ||
path = cass | ||
url = [email protected]:eloqdata/cpp-driver.git | ||
[submodule "eloq_metrics"] | ||
path = eloq_metrics | ||
url = [email protected]:eloqdata/eloq-metrics.git | ||
[submodule "tx_service"] | ||
path = tx_service | ||
url = [email protected]:eloqdata/tx_service.git | ||
[submodule "crcspeed"] | ||
path = crcspeed | ||
url = https://github.com/mattsta/crcspeed | ||
[submodule "log_service"] | ||
path = log_service | ||
url = [email protected]:eloqdata/log_service.git |
Oops, something went wrong.