I hereby claim:
- I am zrax on github.
- I am zrax (https://keybase.io/zrax) on keybase.
- I have a public key whose fingerprint is 69C4 E17B C20E D6EF 3D1D B62F F48F AA18 C84F DF4D
To claim this, I am signing this object:
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 582b808..d7c2e1b 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -52,7 +52,7 @@ endif() | |
add_subdirectory(oshw-${OSHW}) | |
-add_executable(${TWORLD_EXE} WIN32 tworld.c) | |
+add_executable(${TWORLD_EXE} tworld.c) |
I hereby claim:
To claim this, I am signing this object:
# Maintainer: Nicolas Quiénot < niQo at aur > | |
pkgname=libkqueue | |
pkgver=2.1.0 | |
pkgrel=1 | |
pkgdesc="userspace implementation of the kqueue kernel event notification mechanism found in FreeBSD and other BSD-based" | |
url="https://github.com/mheily/libkqueue" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
depends=('glibc') |
# Maintainer: Musikolo <musikolo {at} hotmail [dot] com> | |
# Contributor: Magician <magician21 ett lycos daht com> | |
# Contributor: Petrovo https://aur.archlinux.org/account.php?Action=AccountInfo&ID=33361 | |
# Contributor: Pierre-François Gomez https://aur.archlinux.org/account/pef/ | |
# Contributor: Shura https://aur.archlinux.org/account/shura/ | |
# Contributor: Michael Hansen <zrax0111 gmail com> | |
# Original PKGBUILD file from: | |
# - https://bbs.archlinux.org/viewtopic.php?pid=757428#p757428 | |
# - http://www.scootersoftware.com/vbulletin/showpost.php?s=3c1f289bc76655230b49f440dbe17b53&p=26449&postcount=7 |
/* | |
GCC -O0 GCC -O3 Clang -O0 Clang -O3 VC12 Dbg VC12 Rel | |
Nothing : 3.86 ms 0.44 ms 3.02 ms 0.40 ms 0.98 ms 0.00 ms | |
Empty plString : 5.27 ms 0.44 ms 5.20 ms 0.37 ms 5.86 ms 0.98 ms | |
Empty std::string : 2.55 ms 0.44 ms 2.05 ms 0.37 ms 112.38 ms 0.00 ms | |
Short plString : 9.57 ms 2.94 ms 7.40 ms 2.94 ms 22.48 ms 2.93 ms | |
Short std::string : 5.71 ms 0.44 ms 4.98 ms 0.37 ms 119.22 ms 1.95 ms | |
Long plString : 17.86 ms 11.05 ms 15.99 ms 10.11 ms 248.21 ms 214.01 ms | |
Long std::string : 9.91 ms 3.58 ms 8.89 ms 3.82 ms 237.46 ms 111.40 ms |
#define _X_WITH_ID_(x) _x_with_once_id_ ## x ## _ | |
#define _X_WITH_ID(x) _X_WITH_ID_(x) | |
#define with(decl) \ | |
if (bool _X_WITH_ID(__LINE__) = true) \ | |
for (decl; _X_WITH_ID(__LINE__); _X_WITH_ID(__LINE__) = false) | |
with (std::lock_guard<std::mutex> lock(m_mutex)) { | |
// Do stuff | |
if (failed) |
I hereby claim:
To claim this, I am signing this object:
0 0x00007ffff78b4a5c in hsKeyedObjectStub::ClassIndex (this=0xdd3d70) | |
at /home/zrax/dev/cpp/Plasma/core/PRP/KeyedObject/hsKeyedObject.h:85 | |
#1 0x00007ffff790f3f6 in plModifier::Convert (pCre=0xdd3d70, | |
requireValid=true) | |
at /home/zrax/dev/cpp/Plasma/core/PRP/Modifier/plModifier.h:25 | |
#2 0x00007ffff790d800 in plSceneObject::addTarget (this=0x6da200, | |
obj=0xdd3d70) | |
at /home/zrax/dev/cpp/Plasma/core/PRP/Object/plSceneObject.cpp:21 | |
#3 0x00007ffff790fe18 in std::_Mem_fn<void (plSceneObject::*)(hsKeyedObject*)>::operator() (this=0x6d9b10, __object=0x6da200, __args#0=0xdd3d70) | |
at /usr/include/c++/4.7/functional:554 |
static std::set<plStringBuffer<wchar_t>> bufs; | |
plStringBuffer<wchar_t> buf = text.ToWchar(); | |
bufs.insert(buf); | |
TVITEM tvi = {0}; | |
tvi.mask = TVIF_TEXT | TVIF_PARAM; | |
tvi.pszText = const_cast<LPWSTR>(buf.GetData()); | |
tvi.cchTextMax = static_cast<int>(text.GetSize()); | |
tvi.lParam = NULL; |
diff --git a/Sources/Plasma/Apps/plClient/plClient.cpp b/Sources/Plasma/Apps/plClient/plClient.cpp | |
index b0e895d..a1dc8e5 100644 | |
--- a/Sources/Plasma/Apps/plClient/plClient.cpp | |
+++ b/Sources/Plasma/Apps/plClient/plClient.cpp | |
@@ -990,7 +990,7 @@ void plClient::SetHoldLoadRequests(bool hold) | |
void plClient::IQueueRoomLoad(const std::vector<plLocation>& locs, bool hold) | |
{ | |
bool allSameAge = true; | |
- const char* lastAgeName = nil; | |
+ plString lastAgeName; |