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
Process: rtype-client-bin [10520] | |
Path: /Users/USER/*/rtype-client-bin | |
Identifier: rtype-client-bin | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: bash [10511] | |
Responsible: iTerm [9618] | |
User ID: 501 | |
Date/Time: 2013-11-19 11:32:00.900 +0100 |
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
#ifndef FUNCTIONSIGNATURE_H_ | |
# define FUNCTIONSIGNATURE_H_ | |
#include <cstdlib> | |
template<class T> | |
class FunctionSignature | |
{ | |
public: | |
class type |
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
#ifndef FUNCTIONSIGNATURE_H_ | |
# define FUNCTIONSIGNATURE_H_ | |
#include <cstdlib> | |
template<class Retour, class T> | |
class FunctionSignature | |
{ | |
public: | |
class type<Retour<T> > |
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
template<class Retour, class T> | |
struct FunctionSignature<Retour(T)> | |
{ | |
typedef Retour (*type)(T); | |
}; |
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
#ifndef FUNCTION_H_ | |
# define FUNCTION_H_ | |
#include <cstdlib> | |
template<class T> | |
class Function | |
{ | |
}; |
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
#ifndef FUNCTION_H_ | |
# define FUNCTION_H_ | |
#include <cstdlib> | |
template<class T> | |
class Function | |
{ | |
public: | |
Function() : _obj(NULL), _func(NULL) {} |
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
template<class Retour, class T, class I> | |
class Function<Retour(T, I)> | |
{ | |
public: | |
Function() : _inner(NULL), _func(NULL) {} | |
virtual ~Function() { delete _inner; } | |
template<class U> | |
Function(U* obj) : _inner(NULL), _func(NULL) { _inner = new InnerClass<U>(obj); } | |
Function(Retour(*func)(T, I)) : _inner(NULL), _func(func) {} |
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
class Thread | |
{ | |
public: | |
Thread(std::function<void(void)> &func) : _thread(func) {} | |
template<class T> | |
Thread(T& obj) : _thread(boost::bind(&T::run, &obj)) {} | |
void join() { _thread.join(); } | |
static void Sleep(unsigned int ms) { boost::this_thread::sleep(boost::posix_time::milliseconds(ms)); } |
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
src/shared/libshared.a(TcpSocket.cpp.o): | |
0000000000005a48 s EH_frame0 | |
0000000000005a98 s EH_frame1 | |
0000000000003ff4 s GCC_except_table0 | |
00000000000041f8 s GCC_except_table11 | |
0000000000004210 s GCC_except_table12 | |
0000000000004228 s GCC_except_table15 | |
0000000000004254 s GCC_except_table18 | |
0000000000004294 s GCC_except_table20 |
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
#! /bin/sh | |
# Script to bring a network (tap) device for qemu up. | |
# The idea is to add the tap device to the same bridge | |
# as we have default routing to. | |
# in order to be able to find brctl | |
PATH=$PATH:/sbin:/usr/sbin | |
ip=$(which ip) | |
if [ -n "$ip" ]; then |
OlderNewer