I hereby claim:
- I am profan on github.
- I am profan (https://keybase.io/profan) on keybase.
- I have a public key whose fingerprint is 1798 B62C B04E F796 5A68 BED3 A350 4CCE 50E5 110D
To claim this, I am signing this object:
function findFunction(search_table, funcname) | |
for k, v in pairs(search_table) do | |
if type(v) == "table" then | |
for i, l in pairs(v) do | |
if type(l) == "function" then | |
if string.match(i, funcname) then | |
io.write(k .. ".".. i .. "\n"); | |
end | |
end | |
end |
#ifndef VOX_KEYEVENTMANAGER_HPP | |
#define VOX_KEYEVENTMANAGER_HPP | |
#include "easylogging++.h" | |
#include "Keyboard.hpp" | |
#include "KeyNew.hpp" | |
#include <SDL2/SDL.h> | |
#include <vector> | |
#include "Profiler.h" |
I hereby claim:
To claim this, I am signing this object:
#include <stdlib.h> | |
#include <stdio.h> | |
struct Node { | |
size_t attempted_allocations; | |
size_t successful_allocations; | |
size_t size; | |
struct Node* next; |
struct ScopedBuffer(T) { | |
private IAllocator allocator_; | |
private { | |
T[] buffer_; | |
} |
/** | |
* Intrusive single linked list, uses next pointer already present in the type | |
* to avoid extra dynamic memory allocation. | |
*/ | |
struct ILinkedList(T) { | |
T* head_; | |
void add(T* item) { |
import std.typecons : tuple; | |
import std.stdio; | |
import std.meta; | |
import derelict.sdl2.sdl; | |
import gland.win; | |
import gland.gl; | |
import util; |
extends Node2D | |
export(float) var width | |
export(float) var height | |
var glow_speed = 0.00125 # per second | |
export(float) var glow_min_target = 0.425 | |
export(float) var glow_max_target = 0.515 | |
export(float) var glow_mul = 0.05 |
extends Node2D | |
const Util = preload("res://util.gd") | |
const Flickering = Util.Flickering | |
export(float) var width | |
export(float) var height | |
var glow_speed = 0.00125 # per second | |
export(float) var glow_min_target = 0.425 |
import vibe.d; | |
import vibe.data.json; | |
import vibe.http.router; | |
import std.concurrency : spawnLinked, Tid, thisTid; | |
import orb.net : NetworkClient; | |
import orb.server : Server; | |
shared static this() { |