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
dependsTester.exe depends.exe paraview.exe -dr --server=testserver --test-directory=C:/Work/ParaView/build/Testing/Temporary --test-slave --test-baseline=C:/Work/ParaView/ParaViewData/Baseline/ZLibXDMF.png --exit |
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
dependsTester.exe depends.exe paraview.exe -dr |
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
# Configs | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidthMax 3000 | |
config keyboardLayout dvorak | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false |
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
class Parser | |
{ | |
public: | |
template<typename Channel, typename... Args> | |
bool operator()(Channel& c, Args... args) const | |
{ | |
} | |
}; |
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
//extract the first element of a parameter packs type or actual item | |
template <class First, class ...T> | |
struct first | |
{ | |
typedef First type; | |
type operator()(First f, T...) const | |
{ | |
return f; | |
} |
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
//extract the last element of a parameter packs type or actual item | |
template<class First, class ...T> | |
struct last | |
{ | |
typedef typename last<T...>::type type; | |
type operator()(First, T... t) const | |
{ | |
return last<T...>::operator()(t...); | |
} |
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
//trim N element off front of the arguments passed in and create a Factory type | |
//with those elements | |
template< template<class ...> class Factory, int N, class T, class ...OtherArgs> | |
struct ltrim | |
{ | |
typedef typename ltrim<Factory,N-1,OtherArgs...>::type type; | |
type operator()(T t, OtherArgs... args) const | |
{ | |
return ltrim<Factory,N-1,OtherArgs...>()(args...); |
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
namespace detail | |
{ | |
//create a Factory item with only the first N items in it | |
template< template<class ...> class Factory, | |
int TruncateSize, | |
int ItemsToDrop, | |
class T, | |
class ...OtherArgs> | |
struct rtrim | |
{ |
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
//holds a sequence of integers. | |
template<int ...> | |
struct static_indices { }; | |
//generate a struct with template args of incrementing values from Start to End | |
//which is inclusive at the start, exclusive at end. | |
//start must be less than end | |
template<int Start, int End, int ...S> | |
struct make_indices { typedef typename make_indices<Start,End-1, End-1, S...>::type type; }; |
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
# Based on @berenm's pull request https://github.com/quarnster/SublimeClang/pull/135 | |
# Create the database with cmake with for example: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. | |
# or you could have set(CMAKE_EXPORT_COMPILE_COMMANDS ON) in your CMakeLists.txt | |
# Usage within SublimeClang: | |
# "sublimeclang_options_script": "python ${home}/code/cmake_options_script.py ${project_path:build}/compile_commands.json", | |
import re | |
import os | |
import os.path |
OlderNewer