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
| void foo_impl3() { | |
| std::cout<<"foo"<<std::endl; | |
| } | |
| void foo_impl2() { | |
| foo_impl3(); | |
| } | |
| void foo_impl1() { |
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 | |
| #A clang fether/builder from llvm, using svn | |
| rm -rf llvm | |
| rm -rf llvmbuild | |
| svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm | |
| cd llvm/tools | |
| svn co http://llvm.org/svn/llvm-project/cfe/trunk clang |
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
| #include <iostream> | |
| #include <string> | |
| #include <ctime> | |
| #include <vector> | |
| #include <algorithm> | |
| #include <unistd.h> | |
| const static std::string magic = "METHINKS IT IS LIKE A WEASEL"; | |
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
| #include <iostream> | |
| #include <mutex> | |
| #include <vector> | |
| class Bar { }; | |
| class Foo1 { | |
| std::mutex _mutex; | |
| std::vector<Bar> _data; |
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
| template<typename T> | |
| struct ThreadWrapper { | |
| /* ... */ | |
| }; | |
| template<typename T, typename Ts...> | |
| class PipelineFunctions { | |
| public: | |
| PipelineFunctions() { |
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
| { | |
| "sdfVersion": 2, | |
| "name": "interpolated-1", | |
| "width": 1280, | |
| "height": 720, | |
| "exposure": 1.0, | |
| "postprocess": 1, | |
| "renderTime": 3904879, | |
| "spp": 3950, | |
| "sppTarget": 5001, |
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
| #!/usr/bin/python | |
| import os | |
| import xml.etree.ElementTree as ET | |
| tree = ET.parse('smileys.xml') | |
| root = tree.getroot() | |
| smileys = [] |
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
| void foo(T t) { | |
| foo_impl1(t); | |
| } | |
| void foo_impl1(T u) { | |
| foo_impl2(u); | |
| } | |
| void foo_impl2(T w) { | |
| std::cout<<w<<std::endl; |
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
| #include <iterator> | |
| #include <chrono> | |
| #include <random> | |
| #include <cstring> | |
| #include <algorithm> | |
| #include <iostream> | |
| #include <type_traits> | |
| namespace ph { |
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
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| ycmpath = os.path.expanduser("~/.vim/bundle/YouCompleteMe") | |
| def main(): | |
| sys.path.insert(0, os.path.join(ycmpath, 'third_party/ycmd')) |
OlderNewer