Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Vinnie Falco vinniefalco

🏠
Working from home
View GitHub Profile
View gist:62d50ecbc095e37cd7c6fcdb29e9d620
branch: develop
Parse array.json,msvc x64/sse2,boost (pool),244
Parse canada.json,msvc x64/sse2,boost (pool),320
Parse citm_catalog.json,msvc x64/sse2,boost (pool),452
Parse citm_catalog_nws.json,msvc x64/sse2,boost (pool),158
Parse integers-32.json,msvc x64/sse2,boost (pool),347
Parse integers-64.json,msvc x64/sse2,boost (pool),492
Parse random.json,msvc x64/sse2,boost (pool),251
Parse small.json,msvc x64/sse2,boost (pool),265
Parse strings.json,msvc x64/sse2,boost (pool),4781
View gist:625480167cb826d2282475942845f7a9
branch: add-comments
Parse array.json,clang x64/sse2,boost (pool),280
Parse canada.json,clang x64/sse2,boost (pool),374
Parse citm_catalog.json,clang x64/sse2,boost (pool),550
Parse citm_catalog_nws.json,clang x64/sse2,boost (pool),196
Parse integers-32.json,clang x64/sse2,boost (pool),418
Parse integers-64.json,clang x64/sse2,boost (pool),574
Parse random.json,clang x64/sse2,boost (pool),324
Parse small.json,clang x64/sse2,boost (pool),324
Parse strings.json,clang x64/sse2,boost (pool),5244
View gist:61f868c0a5de82365ad9e1c6210fbc87
void parse_white_and_comments()
{
for(;;)
{
maybe_skip_white();
if(*cs != '/')
return;
++cs;
do_wht1:
View gist:d88bb6fc1bac84cebec01f0d27577160
// Create the server.
auto server = lounge::server::create();
// (Add user-defined services)
// Start the services.
server->start();
// Run configuration RPC commands
server->do_rpc(
View gist:475b84011b2ecb1ef8c929611c230025
template<class T, class = void>
struct is_buffers_generator
: std::false_type
{
};
template<class T, class = void>
struct is_buffers_generator<T, detail::void_t<
std::is_constructible<
typename T::const_buffers_type, decltype(
View gist:1db48a0c6ea4a3e18e4a2f0ff5180d02
// VFALCO temporarily needed until
// boost::string_view supports std::hash
struct hash
{
std::size_t
operator()(
string_view s) const
{
return (*this)(s,
std::integral_constant<bool,
View gist:ea48786c6ed028df3030901d949bd162
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ cmake ..
-- The CXX compiler identification is MSVC 19.25.28611.0
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost 1.73.0 at C:/Users/vinnie/src/boost/stage/lib/cmake/Boost-1.73.0
View gist:4b3662e45f6092268de838c6091da2a3
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ cmake -DBoost_DEBUG=ON --debug-find ..
Running with debug output on for the `find` commands.
CMake Debug Log at CMakeLists.txt:94 (find_package):
<PackageName>_ROOT CMake variable [CMAKE_FIND_USE_PACKAGE_ROOT_PATH].
C:/Users/vinnie/src/boost
View gist:76c3e7fc559f96558a3b32c4c82972d5
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ export Boost_ROOT="C:\\Users\\Vinnie\\src\\boost\\stage"
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ echo $Boost_ROOT
C:\Users\Vinnie\src\boost\stage
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ cmake -DBoost_DEBUG=ON ..
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1466 ] _boost_TEST_VERSIONS = <unset>
View gist:8d7ddd1a56e0e52141f77e6b02244aac
vinnie@VF-Corsair MINGW64 ~/src/lounge/bin64 (develop)
$ cmake -DBoost_DEBUG=ON ..
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1466 ] _boost_TEST_VERSIONS = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1467 ] Boost_USE_MULTITHREADED = "TRUE"
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1468 ] Boost_USE_STATIC_LIBS = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1469 ] Boost_USE_STATIC_RUNTIME = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1470 ] Boost_ADDITIONAL_VERSIONS = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1471 ] Boost_NO_SYSTEM_PATHS = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1503 ] BOOST_ROOT = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.17/Modules/FindBoost.cmake:1504 ] ENV{BOOST_ROOT} = "C:\Users\Vinnie\src\boost"
You can’t perform that action at this time.