This file contains hidden or 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
--- | |
BasedOnStyle: Microsoft | |
FixNamespaceComments: true | |
IndentCaseLabels: true | |
IndentPPDirectives: BeforeHash | |
IndentWidth: 8 | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SortIncludes: false | |
Standard: Latest |
This file contains hidden or 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
#!/bin/bash | |
TOP=$(cd `dirname $0`;cd ..;pwd) | |
SRCDIR="$TOP/src/" | |
files=`find "$TOP" -iname "*.c" -o -iname "*.cpp" -o -iname "*.cc" -o -iname "*.h"` | |
for file in $files; do | |
clang-format -i $file | |
done |
This file contains hidden or 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
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_size = 8 | |
indent_style = tab |
This file contains hidden or 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
from pydm.widgets.qtplugins import * |
This file contains hidden or 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
function sloc() | |
{ | |
(find $1 -type f \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" -o -iname "*.cc" -o -iname "*.hxx" -o -iname "*.c" \) -print0 | xargs -0 cat) | wc -l | |
} |
This file contains hidden or 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
--- | |
BasedOnStyle: Microsoft | |
FixNamespaceComments: 'true' | |
IndentCaseLabels: 'true' | |
IndentPPDirectives: BeforeHash | |
IndentWidth: '4' | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SortIncludes: 'false' | |
Standard: Cpp11 |
This file contains hidden or 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
r-value to l-value binding. | |
template specialization in the class scope. (Normally this must be done at namespace scope, so not in a class!) | |
template specialization without the template<> keyword | |
function template partial specialization | |
explicit template specializations can have storage classes (e.g. explicit specialization on static function) |
This file contains hidden or 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
" Vim Syntax file for VPC (Valve Project Creator) files | |
" Author: JJL77 | |
" Common keys | |
syn match vpcCommand "\$ImpLib" | |
syn match vpcCommand "\$ImportLibrary" | |
syn match vpcCommand "\$AdditionalDependencies" | |
syn match vpcCommand "\$POSIX_RPaths" | |
syn match vpcCommand "\$SymbolVisibility" | |
syn match vpcCommand "\$AdditionalOutputFiles" |
This file contains hidden or 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
--- | |
Language: Cpp | |
# BasedOnStyle: Microsoft | |
AccessModifierOffset: -2 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveMacros: false | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveBitFields: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: Right |
This file contains hidden or 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
// Compile time info | |
#pragma once | |
//==========================================================// | |
// Feature test macros. Enjoy (or not) | |
//==========================================================// | |
// FORBID_XXX stuff is used to force disable various intrinsics | |
// See the OS_XXX section (near the bottom) to find which OS you're using | |
#if ( defined(__AVX__) ) && !( defined(FORBID_SIMD) || defined(FORBID_AVX) ) |