This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) 2025 H.Overman <opsec.ee@pm.me> | |
| // JSON Polymorphic Dispatch | |
| // Email: opsec.ee@pm.me | |
| // | |
| // Changelog: | |
| // - Handles actual JSON parsing with minimal overhead | |
| // - Maintains polymorphic dispatch for varied data | |
| // - Zero-copy where possible | |
| // - Computed goto for dispatch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * ISAAC CSPRNG High-Performance Implementation v2.0.0 | |
| * | |
| * Based on Bob Jenkins' ISAAC algorithm (1993) - Public Domain | |
| * | |
| * Version: 2.0.0 - H.Overman <opsec.ee@pm.me> | |
| * Date: 2025-01-13 | |
| * License: Public Domain (following original ISAAC license) | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Feature test macros for POSIX functions | |
| #define _POSIX_C_SOURCE 200112L | |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <stdint.h> | |
| #include <time.h> | |
| #include <assert.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://rosettacode.org/wiki/Huffman_coding - solved in C | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <sys/time.h> | |
| typedef struct timeval timepoint_t; | |
| static inline timepoint_t get_time(void) { | |
| struct timeval t; gettimeofday(&t, NULL); return t; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Erdős-Selfridge Prime Categorization Engine - C11 Compatible | |
| * Copyright (c) 2025 H.O <opsec.ee@pm.me> | |
| * Target: 10+ million primes/second | |
| * COMPLEXITY: O(n log m) - Near-linear performance | |
| * Where: n = num primes, m = largest prime val | |
| * | |
| * Optimizations: | |
| * - Enhanced wheel factorization with branch elimination | |
| * - Optimized memory layout for cache performance |