I hereby claim:
- I am kalamay on github.
- I am larkin (https://keybase.io/larkin) on keybase.
- I have a public key whose fingerprint is 3D36 AC61 46EB 55A0 2C2E 44EE 40DD 1BCD 1615 DE69
To claim this, I am signing this object:
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetObject" | |
], | |
"Resource": "arn:aws:s3:::mybucket/*" | |
}, | |
{ |
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:Get*", | |
"s3:ListBucket" | |
], | |
"Resource": ["arn:aws:s3:::mybucket", "arn:aws:s3:::mybucket/*"] | |
} |
local ffi = require('ffi') | |
ffi.cdef[[ | |
typedef struct Other Other; | |
typedef struct Thing Thing; | |
struct Other { | |
Thing *thing; | |
int index; | |
}; |
I hereby claim:
To claim this, I am signing this object:
// based on: http://locklessinc.com/articles/locks/ | |
#include <unistd.h> | |
#define XPAUSE() __asm__ __volatile__("pause\n": : :"memory") | |
#define XBARRIER() __asm__ __volatile__("": : :"memory") | |
#define XCMPXCHG(P, O, N) __sync_bool_compare_and_swap((P), (O), (N)) | |
#define XATOMIC_FETCH_ADD(P, V) __sync_fetch_and_add((P), (V)) | |
#define XATOMIC_ADD_FETCH(P, V) __sync_add_and_fetch((P), (V)) | |
#define XWAIT(cond) do { \ | |
for (unsigned n = 0; (cond); n++) { \ |
#include <memory> | |
#include <cstddef> | |
template <class T, class Deleter = std::default_delete<T>> | |
class ilist | |
{ | |
public: | |
using self_type = ilist<T>; | |
using pointer = T*; | |
using unique_ptr = std::unique_ptr<T, Deleter>; |