I hereby claim:
- I am nkoneko on github.
- I am nkoneko (https://keybase.io/nkoneko) on keybase.
- I have a public key ASAhz2IXdewhiiw7odFnh3GOB4PYKUlJh2xQH_YbjTaougo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def gf_mul(a, b): | |
result = 0 | |
while b: | |
if b & 1: | |
result ^= a | |
a <<= 1 | |
if a & 0x100: | |
a ^= 0x11b | |
b >>= 1 | |
return result |
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <mach/port.h> | |
#include <mach/mach.h> | |
#include <mach/vm_region.h> | |
#include <mach/vm_map.h> | |
#include <chrono> | |
#include <thread> |
#include <iostream> | |
int main() { | |
std::cout << "Hello World!\n"; | |
} |
#include <stdio.h> | |
#include <time.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/event.h> | |
#include <ctype.h> | |
struct ReaderState { | |
int initialized; | |
int isInStr; |
function BloomFilter(bitSet, filterSize, numHashes) { | |
if (!!filterSize && !!numHashes) { | |
if (!bitSet) { | |
var numBins = filterSize / 32; | |
this._bitSet = new Array(numBins); | |
var i; | |
for (i = 0; i < numBins; i++) { | |
this._bitSet[i] = 0; | |
} | |
} else { |
Action<T>の関数ポインターにブレークポイントを張りたい... | |
Il2CppDumperをかけてみた。 | |
// Namespace: System | |
public sealed class Action`1 : MulticastDelegate // TypeDefIndex: 139 | |
{ | |
// Methods | |
public void .ctor(object object, IntPtr method); // RVA: 0x101166128 Offset: 0x1166128 | |
public virtual void Invoke(T obj); // RVA: 0x101166138 Offset: 0x1166138 | |
public virtual IAsyncResult BeginInvoke(T obj, AsyncCallback callback, object object); // RVA: 0x101162F50 Offset: 0x1162F50 |
function stats(imp) { | |
function compareNumbers(x, y) { | |
return x - y; | |
} | |
return (function(exports) { | |
var Sequence = function(values) { | |
this.sortedValues = values; | |
this.sortedValues.sort(compareNumbers); | |
this.quartiles = Array(5); | |
}; |
import urllib.parse | |
import urllib.request | |
import base64 | |
import json | |
class APIMeta(type): | |
def __init__(cls, name, bases, nmspc): | |
super(APIMeta, cls).__init__(name, bases, nmspc) | |
@property | |
def URL(cls): |