Skip to content

Instantly share code, notes, and snippets.

@mferrera
mferrera / test.c
Created October 7, 2020 12:35
RLE packing
#include <stdio.h>
#include <stdlib.h>
#define NUM 80
#define PAIR_SIZE (sizeof(int) + sizeof(char))
int main() {
void *ptr = calloc(27, PAIR_SIZE);
void *copy = ptr;

Keybase proof

I hereby claim:

  • I am mferrera on github.
  • I am mferrera (https://keybase.io/mferrera) on keybase.
  • I have a public key ASBkfJZWOcdSmi4L_87LjdpuD29A-s0yI-lHnHBimiQwFwo

To claim this, I am signing this object: