Skip to content

Instantly share code, notes, and snippets.


Jordan Cristiano SizzlingCalamari

View GitHub Profile
donny-dont / aligned_allocator.cpp
Created Dec 13, 2011
An aligned allocator for placing SIMD types in std::vector
View aligned_allocator.cpp
#ifdef _WIN32
#include <malloc.h>
#include <cstdint>
#include <vector>
#include <iostream>
* Allocator for aligned data.
rygorous / magic_ring.cpp
Created Jul 22, 2012
The magic ring buffer.
View magic_ring.cpp
#include <stdio.h>
#include <string.h>
#include <Windows.h>
// This allocates a "magic ring buffer" that is mapped twice, with the two
// copies being contiguous in (virtual) memory. The advantage of this is
// that this allows any function that expects data to be contiguous in
// memory to read from (or write to) such a buffer. It also means that
View delta_compression.cpp
Delta Compression by Glenn Fiedler.
This source code is placed in the public domain.
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
baldurk /
Last active Aug 30, 2022
Source indexing for github projects

Symbol Servers

I'm assuming you are familiar with symbol servers - you might not have one set up yourself for your own projects, but you probably use Microsoft's public symbol server for downloading symbols for system DLLs.

For your own projects it might be useful to set up a symbol server - I won't go into how you do that here since it's well documented elsewhere, but basically you just set up a folder somewhere - say X:\symbols\ or \servername\symbols or even which has a defined tree structure: