repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/RemoteHook/thread.c
null
null
null
null
null
null
C
2026-05-04T18:33:15.147102
// EasyHook (File: EasyHookDll\thread.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/Rtl/file.c
null
null
null
null
null
null
C
2026-05-04T18:33:15.159495
// EasyHook (File: EasyHookDll\file.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction,...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/dllmain.c
null
null
null
null
null
null
C
2026-05-04T18:33:15.250456
// EasyHook (File: EasyHookDll\dllmain.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restricti...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/Rtl/memory.c
null
null
null
null
null
null
C
2026-05-04T18:33:15.256669
// EasyHook (File: EasyHookDll\memory.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/ntstatus.h
null
null
null
null
null
null
C
2026-05-04T18:33:15.328633
// EasyHook (File: EasyHookDll\ntstatus.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrict...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/stdafx.h
null
null
null
null
null
null
C
2026-05-04T18:33:15.986449
// EasyHook (File: EasyHookDll\stdafx.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookSys/LocalHook/acl.c
null
null
null
null
null
null
C
2026-05-04T18:33:16.075216
// EasyHook (File: EasyHookSys\acl.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, ...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
Examples/TestDriver/main.c
null
null
null
null
null
null
C
2026-05-04T18:33:16.121245
/* You may use this file without any restriction... */ #include "stdafx.h" NTSTATUS DriverEntry( IN PDRIVER_OBJECT InDriverObject, IN PUNICODE_STRING InRegistryPath); NTSTATUS TestDriverDispatchCreate( IN PDEVICE_OBJECT InDeviceObject, IN PIRP InIrp); NTSTATUS TestDriverDispatchClose( IN PDEVICE_OBJECT InDe...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookDll/resource.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.123049
// EasyHook (File: EasyHookDll\resource.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrict...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookSys/main.c
null
null
null
null
null
null
C
2026-05-04T18:33:16.123748
// EasyHook (File: EasyHookSys\main.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction,...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookSys/stdafx.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.316653
// EasyHook (File: EasyHookSys\stdafx.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
Examples/TestDriver/stdafx.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.343329
#ifndef _STDAFX_H_ #define _STDAFX_H_ #include "easyhook.h" #include "drivershared.h" EASYHOOK_NT_INTERNAL RunTestSuite(); #endif
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookSys/Rtl/memory.c
null
null
null
null
null
null
C
2026-05-04T18:33:16.418268
// EasyHook (File: EasyHookSys\memory.c) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
Examples/TestDriver/Trace.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.546756
/*++ Module Name: Trace.h Abstract: Header file for the debug tracing related function defintions and macros. Environment: Kernel mode --*/ // // Define the tracing flags. // // Tracing GUID - 5977a7b0-8d4e-412a-8f78-0b5d30cadf02 // #define WPP_CONTROL_GUIDS ...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
Examples/TestDriver/testsuite.c
null
null
null
null
null
null
C
2026-05-04T18:33:16.633488
/* You may use this file without any restriction... */ #include "EasyHook.h" #define FORCE(expr) {if(!NT_SUCCESS(NtStatus = (expr))) goto ERROR_ABORT;} static EASYHOOK_INTERFACE_API_v_1 Interface; BOOLEAN KeCancelTimer_Hook(PKTIMER InTimer) { PVOID CallStack[64]; MODULE_INFORMATION Mod; ULONG M...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
EasyHookSys/Trace.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.716005
// EasyHook (File: EasyHookSys\Trace.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction...
EasyHook/EasyHook
https://github.com/EasyHook/EasyHook
null
null
null
null
3,275
null
null
mit
null
null
null
null
null
null
null
Public/easyhook.h
null
null
null
null
null
null
C
2026-05-04T18:33:16.716543
// EasyHook (File: EasyHookDll\easyhook.h) // // Copyright (c) 2009 Christoph Husse & Copyright (c) 2015 Justin Stenning // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrict...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_mt.c
null
null
null
null
null
null
C
2026-05-04T18:33:19.411491
/* A C-program for MT19937-64 (2004/9/29 version). Coded by Takuji Nishimura and Makoto Matsumoto. This is a 64-bit version of Mersenne Twister pseudorandom number generator. Before using, initialize the state by using init_genrand64(seed) or init_by_array64(init_key, key_length). Copyright (...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_mt.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.412066
#ifndef THEFT_MT_H #define THEFT_MT_H #include <stdint.h> /* Wrapper for Mersenne Twister. * See copyright and license in theft_mt.c, more details at: * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html * * The code has been modified to store internal state in heap/stack * allocated memory, rather tha...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_bloom.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.424248
#ifndef THEFT_BLOOM_H #define THEFT_BLOOM_H #include <stdlib.h> #include <stdint.h> #include <stdbool.h> struct theft_bloom { uint8_t bit_count; size_t size; uint8_t bits[]; }; /* Initialize a bloom filter. */ struct theft_bloom *theft_bloom_init(uint8_t bit_size2); /* Hash data and mark it in the bloom...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft.c
null
null
null
null
null
null
C
2026-05-04T18:33:19.426151
#include <string.h> #include "theft.h" #include "theft_types_internal.h" #include "theft_bloom.h" #include "theft_mt.h" /* Initialize a theft test runner. * BLOOM_BITS sets the size of the table used for detecting * combinations of arguments that have already been tested. * If 0, a default size will be chosen base...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/greatest/greatest.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.463658
/* * Copyright (c) 2011-2017 Scott Vokes <vokes.s@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS I...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_types.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.495877
#ifndef THEFT_TYPES_H #define THEFT_TYPES_H /* A pseudo-random number/seed, used to generate instances. */ typedef uint64_t theft_seed; /* A hash of an instance. */ typedef uint64_t theft_hash; /* These are opaque, as far as the API is concerned. */ struct theft_bloom; /* bloom filter */ struct theft_mt;...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.525504
#ifndef THEFT_H #define THEFT_H #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <stdbool.h> /* Version 0.2.0 */ #define THEFT_VERSION_MAJOR 0 #define THEFT_VERSION_MINOR 2 #define THEFT_VERSION_PATCH 0 /* A property can have at most this many arguments. */ #define THEFT_MAX_ARITY 10 #include "th...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_bloom.c
null
null
null
null
null
null
C
2026-05-04T18:33:19.544861
#include <string.h> #include <stdio.h> #include "theft.h" #include "theft_bloom.h" #define DEFAULT_BLOOM_BITS 17 #define DEBUG_BLOOM_FILTER 0 #define LOG2_BITS_PER_BYTE 3 #define HASH_COUNT 4 static uint8_t get_bits_set_count(uint8_t counts[256], uint8_t byte); /* Initialize a bloom filter. */ struct theft_bloom *t...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_types_internal.h
null
null
null
null
null
null
C
2026-05-04T18:33:19.545507
#ifndef THEFT_TYPES_INTERNAL_H #define THEFT_TYPES_INTERNAL_H typedef struct theft theft; #define THEFT_MAX_TACTICS ((uint32_t)-1) #define DEFAULT_THEFT_SEED 0xa600d16b175eedL typedef enum { ALL_GEN_OK, /* all arguments generated okay */ ALL_GEN_SKIP, /* skip due to user constra...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
deps/theft/theft_hash.c
null
null
null
null
null
null
C
2026-05-04T18:33:19.558426
#include "theft.h" /* Fowler/Noll/Vo hash, 64-bit FNV-1a. * This hashing algorithm is in the public domain. * For more details, see: http://www.isthe.com/chongo/tech/comp/fnv/. */ static const uint64_t fnv64_prime = 1099511628211L; static const uint64_t fnv64_offset_basis = 14695981039346656037UL; /* Init a hasher ...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/config.def.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.018768
#ifdef __cplusplus extern "C" { #endif #define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW #define SCORE_GAP_LEADING -0.005 #define SCORE_GAP_TRAILING -0.005 #define SCORE_GAP_INNER -0.01 #define SCORE_MATCH_CONSECUTIVE 1.0 #define SCORE_MATCH_SLASH 0.9 #define SCORE_MATCH_WORD 0.8 #define SCORE_MATCH_CAPITAL 0.7 #define S...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/bonus.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.019330
#ifndef BONUS_H #define BONUS_H BONUS_H #include "../config.h" #ifdef __cplusplus extern "C" { #endif #define ASSIGN_LOWER(v) \ ['a'] = (v), \ ['b'] = (v), \ ['c'] = (v), \ ['d'] = (v), \ ['e'] = (v), \ ['f'] = (v), \ ['g'] = (v), \ ['h'] = (v), \ ['i'] = (v), \ ['j'] = (v), \ ['k'] = (v), \ ['l'] = (v)...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/fzy.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.070324
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <limits.h> #include <unistd.h> #include "match.h" #include "tty.h" #include "choices.h" #include "options.h" #include "tty_interface.h" #include "../config.h" int main(int argc, char *argv[]) { int ret = 0; options_t options; ...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/choices.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.099722
#ifndef CHOICES_H #define CHOICES_H CHOICES_H #include <stdio.h> #include "match.h" #include "options.h" #ifdef __cplusplus extern "C" { #endif struct scored_result { score_t score; const char *str; }; typedef struct { char *buffer; size_t buffer_size; size_t capacity; size_t size; const char **strings; ...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/choices.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.111598
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <pthread.h> #include <unistd.h> #include <errno.h> #include "options.h" #include "choices.h" #include "match.h" /* Initial size of buffer for storing input in memory */ #define INITIAL_BUFFER_CAPACITY 4096 /* Initial size of choices array */ #define...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/match.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.119574
#include <ctype.h> #include <string.h> #include <strings.h> #include <stdio.h> #include <float.h> #include <math.h> #include <stdlib.h> #include "match.h" #include "bonus.h" #include "../config.h" char *strcasechr(const char *s, char c) { const char accept[3] = {c, toupper(c), 0}; return strpbrk(s, accept); } int...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/options.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.183869
#ifndef OPTIONS_H #define OPTIONS_H OPTIONS_H #ifdef __cplusplus extern "C" { #endif typedef struct { int benchmark; const char *filter; const char *init_search; const char *tty_filename; int show_scores; unsigned int num_lines; unsigned int scrolloff; const char *prompt; unsigned int workers; char input_de...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/tty.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.186201
#include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <stdarg.h> #include <termios.h> #include <sys/ioctl.h> #include <sys/select.h> #include <signal.h> #include <errno.h> #include "tty.h" #include "../config.h" void tty_reset(tty_t *tty) { tcsetattr(tty->fdin, TCSANOW, &tty->original_termios); } voi...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/match.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.225496
#ifndef MATCH_H #define MATCH_H MATCH_H #include <math.h> #ifdef __cplusplus extern "C" { #endif typedef double score_t; #define SCORE_MAX INFINITY #define SCORE_MIN -INFINITY #define MATCH_MAX_LEN 1024 int has_match(const char *needle, const char *haystack); score_t match_positions(const char *needle, const char ...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/options.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.226095
#include <getopt.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "options.h" #include "../config.h" static const char *usage_str = "" "Usage: fzy [OPTION]...\n" " -l, --lines=LINES Specify how many lines of results to show (default 10)\n" " -p, --prom...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/tty_interface.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.656763
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "match.h" #include "tty_interface.h" #include "../config.h" static int isprint_unicode(char c) { return isprint(c) || c & (1 << 7); } static int is_boundary(char c) { return ~c & (1 << 7) || c & (1 << 6); } static void clear(tt...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/tty.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.676664
#ifndef TTY_H #define TTY_H TTY_H #include <stddef.h> #include <stdio.h> #include <termios.h> #ifdef __cplusplus extern "C" { #endif typedef struct { int fdin; FILE *fout; struct termios original_termios; int fgcolor; size_t maxwidth; size_t maxheight; } tty_t; void tty_reset(tty_t *tty); void tty_close(tty_...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
src/tty_interface.h
null
null
null
null
null
null
C
2026-05-04T18:33:20.711184
#ifndef TTY_INTERFACE_H #define TTY_INTERFACE_H TTY_INTERFACE_H #include "choices.h" #include "options.h" #include "tty.h" #ifdef __cplusplus extern "C" { #endif #define SEARCH_SIZE_MAX 4096 typedef struct { tty_t *tty; choices_t *choices; options_t *options; char search[SEARCH_SIZE_MAX + 1]; char last_searc...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
test/fzytest.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.741001
#include "greatest/greatest.h" SUITE(match_suite); SUITE(choices_suite); SUITE(properties_suite); GREATEST_MAIN_DEFS(); int main(int argc, char *argv[]) { GREATEST_MAIN_BEGIN(); RUN_SUITE(match_suite); RUN_SUITE(choices_suite); RUN_SUITE(properties_suite); GREATEST_MAIN_END(); }
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
test/test_choices.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.770020
#define _GNU_SOURCE #include <stdlib.h> #include <string.h> #include "../config.h" #include "options.h" #include "choices.h" #include "greatest/greatest.h" #define ASSERT_SIZE_T_EQ(a,b) ASSERT_EQ_FMT((size_t)(a), (b), "%zu") static options_t default_options; static choices_t choices; static void setup(void *udata)...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
test/test_match.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.770485
#include <stdlib.h> #include "../config.h" #include "match.h" #include "greatest/greatest.h" #define SCORE_TOLERANCE 0.000001 #define ASSERT_SCORE_EQ(a,b) ASSERT_IN_RANGE((a), (b), SCORE_TOLERANCE) #define ASSERT_SIZE_T_EQ(a,b) ASSERT_EQ_FMT((size_t)(a), (b), "%zu") /* has_match(char *needle, char *haystack) */ TES...
jhawthorn/fzy
https://github.com/jhawthorn/fzy
null
null
null
null
3,236
null
null
mit
null
null
null
null
null
null
null
test/test_properties.c
null
null
null
null
null
null
C
2026-05-04T18:33:20.963263
#define _DEFAULT_SOURCE #include <string.h> #include "greatest/greatest.h" #include "theft/theft.h" #include "match.h" static void *string_alloc_cb(struct theft *t, theft_hash seed, void *env) { (void)env; int limit = 128; size_t sz = (size_t)(seed % limit) + 1; char *str = malloc(sz + 1); if (str == NULL) { ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/cache8.c
null
null
null
null
null
null
C
2026-05-04T18:33:23.361180
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "cache8.h" #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "mem.h" #include "ruby.h" #define BITS 4...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/cache8.h
null
null
null
null
null
null
C
2026-05-04T18:33:23.362107
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_CACHE8_H #define OJ_CACHE8_H #include "ruby.h" #include "stdint.h" typedef struct _cache8 *Cache8; typedef uint64_t slot_t; typedef uint64_t si...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/buf.h
null
null
null
null
null
null
C
2026-05-04T18:33:23.384709
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_BUF_H #define OJ_BUF_H #include "mem.h" #include "ruby.h" typedef struct _buf { char *head; char *end; char *tail; char base[1024]; } *Buf; ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/cache.h
null
null
null
null
null
null
C
2026-05-04T18:33:23.385878
// Copyright (c) 2021 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef CACHE_H #define CACHE_H #include <ruby.h> #include <stdbool.h> #define CACHE_MAX_KEY 35 struct _cache; typedef struct _cache *Cache; extern struct _cache *cac...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/circarray.c
null
null
null
null
null
null
C
2026-05-04T18:33:23.387480
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "circarray.h" #include "mem.h" CircArray oj_circ_array_new(void) { CircArray ca; if (0 == (ca = OJ_R_ALLOC(struct _circArray))) { rb_raise(rb_...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/circarray.h
null
null
null
null
null
null
C
2026-05-04T18:33:23.388523
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for // license details. #ifndef OJ_CIRCARRAY_H #define OJ_CIRCARRAY_H #include "ruby.h" typedef struct _circArray { VALUE obj_array[1024]; VALUE* objs; unsigned l...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/cache.c
null
null
null
null
null
null
C
2026-05-04T18:33:23.416705
// Copyright (c) 2011, 2021 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #if HAVE_PTHREAD_MUTEX_INIT #include <pthread.h> #endif #include <stdlib.h> #include "cache.h" #include "mem.h" // The stdlib calloc, realloc, and free are used i...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/code.h
null
null
null
null
null
null
C
2026-05-04T18:33:23.494495
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_CODE_H #define OJ_CODE_H #include <ruby.h> #include "oj.h" typedef void (*EncodeFunc)(VALUE obj, int depth, Out out); typedef VALUE (*DecodeFunc)(VALUE clas...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/compat.c
null
null
null
null
null
null
C
2026-05-04T18:33:23.497699
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <stdio.h> #include "encode.h" #include "err.h" #include "intern.h" #include "mem.h" #include "oj.h" #include "parse.h" #include "resolve.h" #include "trace.h" ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/code.c
null
null
null
null
null
null
C
2026-05-04T18:33:23.682617
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "code.h" #include "dump.h" inline static VALUE resolve_classname(VALUE mod, const char *classname) { VALUE clas = Qundef; ID ci = rb_intern(classn...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/custom.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.011709
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <stdint.h> #include <stdio.h> #include "code.h" #include "dump.h" #include "encode.h" #include "err.h" #include "intern.h" #include "mem.h" #include "odd....
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/debug.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.013644
// Copyright (c) 2021, Peter Ohler, All rights reserved. #include "parser.h" static void add_null(struct _ojParser *p) { switch (p->stack[p->depth]) { case TOP_FUN: printf("*** add_null at top\n"); break; case ARRAY_FUN: printf("*** add_null to array\n"); break; case OBJECT_FUN: printf("*** add_null w...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump_compat.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.015394
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "code.h" #include "dump.h" #include "rails.h" #include "trace.h" // Workaround in case INFINITY is not defined in math.h or if the OS is CentOS #define OJ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.020822
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_DUMP_H #define OJ_DUMP_H #include <ruby.h> #include "oj.h" #include "simd.h" #define MAX_DEPTH 1000 // Extra padding at end of buffer. #define BUFFER_EXTRA...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump_leaf.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.021342
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <errno.h> #include "dump.h" #include "oj.h" static void dump_leaf(Leaf leaf, int depth, Out out); inline static void dump_chars(const char *s, size_t si...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.054067
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "dump.h" #include <errno.h> #include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #if !IS_W...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump_strict.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.122046
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <errno.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include "dump.h" #include "t...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/encode.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.125541
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_ENCODE_H #define OJ_ENCODE_H #include "oj.h" #include "ruby.h" #include "ruby/encoding.h" static inline VALUE oj_encode(VALUE rstr) { rb_enc_associate(rs...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/dump_object.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.146187
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "dump.h" #include "mem.h" #include "odd.h" #include "trace.h" static const char hex_chars[17] = "0123456789abcdef"; static void dump_obj_attrs(VALUE obj,...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/err.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.339327
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "err.h" #include <stdarg.h> void oj_err_set(Err e, VALUE clas, const char *format, ...) { va_list ap; va_start(ap, format); e->clas = clas; vs...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/intern.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.631938
// Copyright (c) 2011, 2021 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_INTERN_H #define OJ_INTERN_H #include <ruby.h> #include <stdbool.h> struct _parseInfo; extern void oj_hash_init(void); extern VALUE oj_str_intern(con...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/intern.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.641996
// Copyright (c) 2011, 2021 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "intern.h" #include <stdint.h> #if HAVE_PTHREAD_MUTEX_INIT #include <pthread.h> #endif #include "cache.h" #include "mem.h" #include "parse.h" // Only u...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/fast.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.643859
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for // license details. #if !IS_WINDOWS #include <sys/resource.h> // for getrlimit() on linux #endif #include <errno.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <str...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/mem.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.669368
// Copyright (c) 2018, Peter Ohler, All rights reserved. #ifndef OJ_MEM_H #define OJ_MEM_H #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef MEM_DEBUG #define OJ_MALLOC(size) oj_malloc(size, __FILE__, __LINE__) #define OJ_REALLOC(ptr, size) oj_realloc(ptr, size, __FILE__, __LINE__) #define OJ_CALLOC...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/mem.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.673451
// Copyright (c) 2018, Peter Ohler, All rights reserved. #include "mem.h" #include <pthread.h> #include <ruby.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct _rec { struct _rec *next; const void *ptr; size_t size; const char...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/err.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.754680
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_ERR_H #define OJ_ERR_H #include <errno.h> #include "ruby.h" // Needed to silence 2.4.0 warnings. #ifndef NORETURN #define NORETURN(x) x #endif #define OJ_E...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/odd.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.773523
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "odd.h" #include <string.h> #include "mem.h" static Odd odds = NULL; static ID sec_id; static ID sec_fraction_id; static ID to_f_id; static ID numerator_i...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/mimic_json.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.886665
// Copyright (c) 2012, 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "dump.h" #include "encode.h" #include "mem.h" #include "oj.h" #include "parse.h" extern const char oj_json_class[]; VALUE oj_array_nl_sym; VALUE oj_ascii...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/object.c
null
null
null
null
null
null
C
2026-05-04T18:33:24.927425
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <stdint.h> #include <stdio.h> #include <time.h> #include "encode.h" #include "err.h" #include "intern.h" #include "odd.h" #include "oj.h" #include "parse.h" #in...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/odd.h
null
null
null
null
null
null
C
2026-05-04T18:33:24.979991
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_ODD_H #define OJ_ODD_H #include <stdbool.h> #include "ruby.h" #define MAX_ODD_ARGS 10 typedef VALUE (*AttrGetFunc)(VALUE obj); typedef struct _odd { s...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/parse.c
null
null
null
null
null
null
C
2026-05-04T18:33:25.242299
// Copyright (c) 2013 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "parse.h" #include <math.h> #include <ruby/util.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "buf.h" #include "en...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/oj.h
null
null
null
null
null
null
C
2026-05-04T18:33:25.267332
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_H #define OJ_H #if defined(cplusplus) extern "C" { #if 0 } /* satisfy cc-mode */ #endif #endif #define RSTRING_NOT_MODIFIED #include <stdbool.h> #include <s...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/parser.c
null
null
null
null
null
null
C
2026-05-04T18:33:25.366869
// Copyright (c) 2020, 2021, Peter Ohler, All rights reserved. #include "parser.h" #include <fcntl.h> #include "oj.h" #define DEBUG 0 #define USE_THREAD_LIMIT 0 // #define USE_THREAD_LIMIT 100000 #define MAX_EXP 4932 // max in the pow_map which is the limit for double #define MAX_POW 308 #define MIN_SLEEP (100000...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/parse.h
null
null
null
null
null
null
C
2026-05-04T18:33:25.379642
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_PARSE_H #define OJ_PARSE_H #include <stdarg.h> #include <stdio.h> #include <string.h> #include "circarray.h" #include "oj.h" #include "reader.h" #include "ru...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/parser.h
null
null
null
null
null
null
C
2026-05-04T18:33:25.416987
// Copyright (c) 2021 Peter Ohler, All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_PARSER_H #define OJ_PARSER_H #include <ruby.h> #include <stdbool.h> #include "buf.h" #define TOP_FUN 0 #define ARRAY_FUN 1 #define OBJECT_FUN 2 typedef uin...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/oj.c
null
null
null
null
null
null
C
2026-05-04T18:33:25.530843
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "oj.h" #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include "du...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/rails.c
null
null
null
null
null
null
C
2026-05-04T18:33:25.547124
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include "rails.h" #include "code.h" #include "encode.h" #include "mem.h" #include "trace.h" #include "util.h" #define OJ_INFINITY (1.0 / 0.0) // TBD keep static array...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/reader.c
null
null
null
null
null
null
C
2026-05-04T18:33:25.603307
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <sys/types.h> #ifdef NEEDS_UIO #if NEEDS_UIO #include <sys/uio.h> #endif #endif #i...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/rails.h
null
null
null
null
null
null
C
2026-05-04T18:33:25.626304
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_RAILS_H #define OJ_RAILS_H #include "dump.h" extern void oj_mimic_rails_init(void); extern ROpt oj_rails_get_opt(ROptTable rot, VALUE clas); extern bool oj_...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/reader.h
null
null
null
null
null
null
C
2026-05-04T18:33:25.661751
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_READER_H #define OJ_READER_H #include "mem.h" typedef struct _reader { char base[0x00001000]; char *head; char *end; char *tail; char *r...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/resolve.h
null
null
null
null
null
null
C
2026-05-04T18:33:26.189594
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_RESOLVE_H #define OJ_RESOLVE_H #include "ruby.h" extern VALUE oj_name2class(ParseInfo pi, const char *name, size_t len, int auto_define, VALUE error_class); ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/rxclass.c
null
null
null
null
null
null
C
2026-05-04T18:33:26.214420
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #if !IS_WINDOWS #include <regex.h> #endif #include "mem.h" #include ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/resolve.c
null
null
null
null
null
null
C
2026-05-04T18:33:26.254174
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef HAVE_PTHREAD_MUTEX_INIT #include <pthread.h> #endif #include "err.h" #include "intern.h" #include "oj.h...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/rxclass.h
null
null
null
null
null
null
C
2026-05-04T18:33:26.283877
// Copyright (c) 2017 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_RXCLASS_H #define OJ_RXCLASS_H #include <stdbool.h> #include "ruby.h" struct _rxC; typedef struct _rxClass { struct _rxC *head; struct _rxC *tail; ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/safe.c
null
null
null
null
null
null
C
2026-05-04T18:33:26.328496
#include "safe.h" static VALUE max_hash_size_sym, max_array_size_sym, max_depth_sym, max_total_elements_sym, max_hash_size_error_class, max_array_size_error_class, max_depth_error_class, max_total_elements_error_class; static void check_object_size(safe_T safe) { if (NIL_P(safe->max_hash_size)) { retu...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/safe.h
null
null
null
null
null
null
C
2026-05-04T18:33:27.189211
#include <ruby.h> #include "parser.h" #include "usual.h" #define SET_CONFIG(config_name) \ do { \ VALUE rb_##config_name = rb_hash_aref(options, config_name##_sym); ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/saj.c
null
null
null
null
null
null
C
2026-05-04T18:33:27.593250
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #if !IS_WINDOWS #include <sys/resource.h> /* for getrlimit() on linux */ #endif #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/saj2.h
null
null
null
null
null
null
C
2026-05-04T18:33:31.432974
// Copyright (c) 2021, Peter Ohler, All rights reserved. #include <ruby.h> #include <stdbool.h> struct _cache; struct _ojParser; typedef struct _saj { VALUE handler; VALUE *keys; VALUE *tail; size_t klen; struct _cache *str_cache; uint8_t cache_str; ...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/saj2.c
null
null
null
null
null
null
C
2026-05-04T18:33:31.433584
// Copyright (c) 2021, Peter Ohler, All rights reserved. #include "saj2.h" #include "cache.h" #include "mem.h" #include "oj.h" #include "parser.h" static VALUE get_key(ojParser p) { Saj d = (Saj)p->ctx; const char *key = buf_str(&p->key); size_t len = buf_len(&p->key); volatil...
ohler55/oj
https://github.com/ohler55/oj
null
null
null
null
3,206
null
null
mit
null
null
null
null
null
null
null
ext/oj/scp.c
null
null
null
null
null
null
C
2026-05-04T18:33:31.581181
// Copyright (c) 2012 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include "encode.h" #include "intern.h" #include ...
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
build/env_build/helloword/include/config/autoconfig.h
null
null
null
null
null
null
C
2026-05-04T18:33:35.371800
#define CONFIG_GEAR_LIB y #define CONFIG_LIBAVCAP y #define CONFIG_LIBBASE64 y #define CONFIG_LIBPOSIX y
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
build/c_cpp_project_framework/examples/demo1/main/src/test_liblog.c
null
null
null
null
null
null
C
2026-05-04T18:33:35.372807
/****************************************************************************** * Copyright (C) 2014-2020 Zhifeng Gong <gozfree@163.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software...
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
build/c_cpp_project_framework/examples/demo1/main/src/test_libcollections.c
null
null
null
null
null
null
C
2026-05-04T18:33:35.381473
/****************************************************************************** * Copyright (C) 2014-2020 dianjixz <18637716021@163.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software...
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
build/c_cpp_project_framework/examples/demo1/main/src/main.c
null
null
null
null
null
null
C
2026-05-04T18:33:35.382412
#include <stdio.h> #include "test.h" // #include "global_config.h" // #include "global_build_info_time.h" // #include "global_build_info_version.h" // #include "lib1.h" // #if CONFIG_COMPONENT2_ENABLED // #include "lib2.h" // #endif // #if CONFIG_COMPONENT3_ENABLED // #include "lib3.h" // #endif // #include "lib2...
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
build/esp32-env/main/app_main.c
null
null
null
null
null
null
C
2026-05-04T18:33:35.384591
#include <libposix.h> #include <liblog.h> #include <libmedia-io.h> #include <libavcap.h> #include <libfile.h> #include <libhal.h> //#include <libdarray.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <esp_err.h> #include <esp_log.h> #include <nvs_flash.h> #include <esp_event_legacy.h> #include <d...
gozfree/gear-lib
https://github.com/gozfree/gear-lib
null
null
null
null
3,203
null
null
mit
null
null
null
null
null
null
null
gear-lib/libavcap/audiocap.h
null
null
null
null
null
null
C
2026-05-04T18:33:35.386660
/****************************************************************************** * Copyright (C) 2014-2020 Zhifeng Gong <gozfree@163.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software...