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
; ModuleID = 'test_coro.cc' | |
source_filename = "test_coro.cc" | |
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" | |
target triple = "aarch64-unknown-linux-gnu" | |
%_Z6do_runv.Frame = type { void (%_Z6do_runv.Frame*)*, void (%_Z6do_runv.Frame*)*, %"struct.task::promise_type", i1, i32, [2 x i64] } | |
%"struct.task::promise_type" = type { i8 } | |
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 |
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
## Rampage captain elections | |
candidates = 'ABCDEFGHIJKLM' | |
ballots = [ | |
'HAE', | |
'AEC', | |
'AGE', | |
'ACE', | |
'EIC', |
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
:) create table t(x UInt32) engine TinyLog | |
CREATE TABLE t | |
( | |
x UInt32 | |
) | |
ENGINE = TinyLog | |
Ok. |
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
$ cmake .. -DODBC_LIBRARIES=/usr/local/lib/libodbc.a | |
-- The C compiler identification is AppleClang 9.0.0.9000038 | |
-- The CXX compiler identification is AppleClang 9.0.0.9000038 | |
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc | |
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ |
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
#include <iostream> | |
#include <boost/coroutine2/all.hpp> | |
int main() | |
{ | |
try | |
{ | |
using Coro = boost::coroutines2::coroutine<void>; | |
Coro::pull_type coro([](Coro::push_type & yield) | |
{ |
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
#include <linux/videodev2.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <sys/ioctl.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <sys/mman.h> | |
#include <assert.h> |
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
[2012-09-26 15:42:53,273: DEBUG/MainProcess] [Worker] Loading modules. | |
[2012-09-26 15:42:53,358: DEBUG/MainProcess] [Worker] Claiming components. | |
[2012-09-26 15:42:53,358: DEBUG/MainProcess] [Worker] Building boot step graph. | |
[2012-09-26 15:42:53,359: DEBUG/MainProcess] [Worker] New boot order: {ev, queues, beat, pool, mediator, autoreloader, timers, state-db, autoscaler, consumer} | |
[2012-09-26 15:42:53,361: DEBUG/MainProcess] Starting celery.worker.hub.Hub... | |
[2012-09-26 15:42:53,361: DEBUG/MainProcess] celery.worker.hub.Hub OK! | |
[2012-09-26 15:42:53,361: DEBUG/MainProcess] Starting celery.concurrency.processes.TaskPool... | |
[2012-09-26 15:42:53,363: DEBUG/MainProcess] created semlock with handle 139872425488384 | |
[2012-09-26 15:42:53,364: DEBUG/MainProcess] created semlock with handle 139872425484288 | |
[2012-09-26 15:42:53,364: DEBUG/MainProcess] created semlock with handle 139872425480192 |