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
andreas-mausch/whatsapp-viewer
https://github.com/andreas-mausch/whatsapp-viewer
null
null
null
null
1,425
null
null
mit
null
null
null
null
null
null
null
source/Libraries/AES/mbedtls/ecdh.c
null
null
null
null
null
null
C
2026-05-04T18:25:45.949021
/* * Elliptic curve Diffie-Hellman * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the Licen...
andreas-mausch/whatsapp-viewer
https://github.com/andreas-mausch/whatsapp-viewer
null
null
null
null
1,425
null
null
mit
null
null
null
null
null
null
null
source/Libraries/AES/mbedtls/ccm.h
null
null
null
null
null
null
C
2026-05-04T18:25:57.716586
/** * \file ccm.h * * \brief Counter with CBC-MAC (CCM) for 128-bit block ciphers * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lapi.h
null
null
null
null
null
null
C
2026-05-04T18:26:00.411377
/* ** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions from Lua API ** See Copyright Notice in lua.h */ #ifndef lapi_h #define lapi_h #include "lobject.h" LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); #endif
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lapi.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.430376
/* ** $Id: lapi.c,v 2.55.1.5 2008/07/04 18:41:18 roberto Exp $ ** Lua API ** See Copyright Notice in lua.h */ #include <assert.h> #include <math.h> #include <stdarg.h> #include <string.h> #define lapi_c #define LUA_CORE #include "lua.h" #include "lapi.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #inc...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lcode.h
null
null
null
null
null
null
C
2026-05-04T18:26:00.432449
/* ** $Id: lcode.h,v 1.48.1.1 2007/12/27 13:02:25 roberto Exp $ ** Code generator for Lua ** See Copyright Notice in lua.h */ #ifndef lcode_h #define lcode_h #include "llex.h" #include "lobject.h" #include "lopcodes.h" #include "lparser.h" /* ** Marks the end of a patch list. It is an invalid value both as an absol...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/etc/min.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.433563
/* * min.c -- a minimal Lua interpreter * loads stdin only with minimal error handling. * no interaction, and no standard library, only a "print" function. */ #include <stdio.h> #include "lua.h" #include "lauxlib.h" static int print(lua_State *L) { int n=lua_gettop(L); int i; for (i=1; i<=n; i++) { if (i>1) pr...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lcode.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.435519
/* ** $Id: lcode.c,v 2.25.1.5 2011/01/31 14:53:16 roberto Exp $ ** Code generator for Lua ** See Copyright Notice in lua.h */ #include <stdlib.h> #define lcode_c #define LUA_CORE #include "lua.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include "lgc.h" #include "llex.h" #include "lmem.h" #include "...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lauxlib.h
null
null
null
null
null
null
C
2026-05-04T18:26:00.436986
/* ** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #ifndef lauxlib_h #define lauxlib_h #include <stddef.h> #include <stdio.h> #include "lua.h" #if defined(LUA_COMPAT_GETN) LUALIB_API int (luaL_getn) (lua_State *L...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lbaselib.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.438969
/* ** $Id: lbaselib.c,v 1.191.1.6 2008/02/14 16:46:22 roberto Exp $ ** Basic library ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lbaselib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" /* ** If your syst...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/etc/all.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.439891
/* * all.c -- Lua core, libraries and interpreter in a single file */ #define luaall_c #include "lapi.c" #include "lcode.c" #include "ldebug.c" #include "ldo.c" #include "ldump.c" #include "lfunc.c" #include "lgc.c" #include "llex.c" #include "lmem.c" #include "lobject.c" #include "lopcodes.c" #include "lparser.c" #i...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lauxlib.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.441122
/* ** $Id: lauxlib.c,v 1.159.1.3 2008/01/21 13:20:51 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #include <ctype.h> #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* This file uses only the official API of Lua...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/etc/noparser.c
null
null
null
null
null
null
C
2026-05-04T18:26:00.443769
/* * The code below can be used to make a Lua core that does not contain the * parsing modules (lcode, llex, lparser), which represent 35% of the total core. * You'll only be able to load binary files and strings, precompiled with luac. * (Of course, you'll have to build luac with the original parsing modules!) * * To ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lfunc.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.413345
/* ** $Id: lfunc.c,v 2.12.1.2 2007/12/28 14:58:43 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ #include <stddef.h> #define lfunc_c #define LUA_CORE #include "lua.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobject.h" #include ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldo.h
null
null
null
null
null
null
C
2026-05-04T18:26:01.415145
/* ** $Id: ldo.h,v 2.7.1.1 2007/12/27 13:02:25 roberto Exp $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #ifndef ldo_h #define ldo_h #include "lobject.h" #include "lstate.h" #include "lzio.h" #define luaD_checkstack(L,n) \ if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(T...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lgc.h
null
null
null
null
null
null
C
2026-05-04T18:26:01.416452
/* ** $Id: lgc.h,v 2.15.1.1 2007/12/27 13:02:25 roberto Exp $ ** Garbage Collector ** See Copyright Notice in lua.h */ #ifndef lgc_h #define lgc_h #include "lobject.h" /* ** Possible states of the Garbage Collector */ #define GCSpause 0 #define GCSpropagate 1 #define GCSsweepstring 2 #define GCSsweep 3 #define GCS...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldump.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.417698
/* ** $Id: ldump.c,v 2.8.1.1 2007/12/27 13:02:25 roberto Exp $ ** save precompiled Lua chunks ** See Copyright Notice in lua.h */ #include <stddef.h> #define ldump_c #define LUA_CORE #include "lua.h" #include "lobject.h" #include "lstate.h" #include "lundump.h" typedef struct { lua_State* L; lua_Writer writer; ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lgc.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.425138
/* ** $Id: lgc.c,v 2.38.1.2 2011/03/18 18:05:38 roberto Exp $ ** Garbage Collector ** See Copyright Notice in lua.h */ #include <string.h> #define lgc_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobject.h" #include "lstate....
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lfunc.h
null
null
null
null
null
null
C
2026-05-04T18:26:01.426887
/* ** $Id: lfunc.h,v 2.4.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ #ifndef lfunc_h #define lfunc_h #include "lobject.h" #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ cast(int, sizeof(TVa...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldblib.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.455006
/* ** $Id: ldblib.c,v 1.104.1.4 2009/08/04 18:50:18 roberto Exp $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define ldblib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" static int db_getregi...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldebug.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.499600
/* ** $Id: ldebug.c,v 2.29.1.6 2008/05/08 16:56:26 roberto Exp $ ** Debug Interface ** See Copyright Notice in lua.h */ #include <stdarg.h> #include <stddef.h> #include <string.h> #define ldebug_c #define LUA_CORE #include "lua.h" #include "lapi.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldebug.h
null
null
null
null
null
null
C
2026-05-04T18:26:01.500401
/* ** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ #ifndef ldebug_h #define ldebug_h #include "lstate.h" #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ldo.c
null
null
null
null
null
null
C
2026-05-04T18:26:01.619022
/* ** $Id: ldo.c,v 2.38.1.4 2012/01/18 02:27:10 roberto Exp $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #include <setjmp.h> #include <stdlib.h> #include <string.h> #define ldo_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/liolib.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.244954
/* ** $Id: liolib.c,v 2.73.1.4 2010/05/14 15:33:51 roberto Exp $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define liolib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" #defi...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/llex.h
null
null
null
null
null
null
C
2026-05-04T18:26:02.290795
/* ** $Id: llex.h,v 1.58.1.1 2007/12/27 13:02:25 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ #ifndef llex_h #define llex_h #include "lobject.h" #include "lzio.h" #define FIRST_RESERVED 257 /* maximum length of a reserved word */ #define TOKEN_LEN (sizeof("function")/sizeof(char)) /* * W...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lmem.h
null
null
null
null
null
null
C
2026-05-04T18:26:02.436686
/* ** $Id: lmem.h,v 1.31.1.1 2007/12/27 13:02:25 roberto Exp $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ #ifndef lmem_h #define lmem_h #include <stddef.h> #include "llimits.h" #include "lua.h" #define MEMERRMSG "not enough memory" #define luaM_reallocv(L,b,on,n,e) \ ((cast(size_t, (n)+1...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/llex.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.438489
/* ** $Id: llex.c,v 2.20.1.2 2009/11/23 14:58:22 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ #include <ctype.h> #include <locale.h> #include <string.h> #define llex_c #define LUA_CORE #include "lua.h" #include "ldo.h" #include "llex.h" #include "lobject.h" #include "lparser.h" #include "l...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/llimits.h
null
null
null
null
null
null
C
2026-05-04T18:26:02.439557
/* ** $Id: llimits.h,v 1.69.1.1 2007/12/27 13:02:25 roberto Exp $ ** Limits, basic types, and some other `installation-dependent' definitions ** See Copyright Notice in lua.h */ #ifndef llimits_h #define llimits_h #include <limits.h> #include <stddef.h> #include "lua.h" typedef LUAI_UINT32 lu_int32; typedef LUA...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lmem.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.450642
/* ** $Id: lmem.c,v 1.70.1.1 2007/12/27 13:02:25 roberto Exp $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ #include <stddef.h> #define lmem_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lmem.h" #include "lobject.h" #include "lstate.h" /* ** About the r...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lmathlib.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.451165
/* ** $Id: lmathlib.c,v 1.67.1.1 2007/12/27 13:02:25 roberto Exp $ ** Standard mathematical library ** See Copyright Notice in lua.h */ #include <stdlib.h> #include <math.h> #define lmathlib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" #undef PI #define PI (3.14159265358979323846) ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/linit.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.474465
/* ** $Id: linit.c,v 1.14.1.1 2007/12/27 13:02:25 roberto Exp $ ** Initialization of libraries for lua.c ** See Copyright Notice in lua.h */ #define linit_c #define LUA_LIB #include "lua.h" #include "lualib.h" #include "lauxlib.h" static const luaL_Reg lualibs[] = { {"", luaopen_base}, {LUA_LOADLIBNAME, luaop...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lobject.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.475944
/* ** $Id: lobject.c,v 2.22.1.1 2007/12/27 13:02:25 roberto Exp $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lobject_c #define LUA_CORE #include "lua.h" #include "ldo.h" #inc...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/loadlib.c
null
null
null
null
null
null
C
2026-05-04T18:26:02.504291
/* ** $Id: loadlib.c,v 1.52.1.4 2009/09/09 13:17:16 roberto Exp $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** ** This module contains an implementation of loadlib for Unix systems ** that have dlfcn, an implementation for Darwin (Mac OS X), an ** implementation for Windows, and a stub for othe...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lobject.h
null
null
null
null
null
null
C
2026-05-04T18:26:03.052356
/* ** $Id: lobject.h,v 2.20.1.2 2008/08/06 13:29:48 roberto Exp $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ #ifndef lobject_h #define lobject_h #include <stdarg.h> #include "llimits.h" #include "lua.h" /* tags for values visible from Lua */ #define LAST_TAG LUA_TTHREAD #define NUM...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lopcodes.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.109824
/* ** $Id: lopcodes.c,v 1.37.1.1 2007/12/27 13:02:25 roberto Exp $ ** See Copyright Notice in lua.h */ #define lopcodes_c #define LUA_CORE #include "lopcodes.h" /* ORDER OP */ const char *const luaP_opnames[NUM_OPCODES+1] = { "MOVE", "LOADK", "LOADBOOL", "LOADNIL", "GETUPVAL", "GETGLOBAL", "GETTABL...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lstate.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.288350
/* ** $Id: lstate.c,v 2.36.1.2 2008/01/03 15:20:39 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ #include <stddef.h> #define lstate_c #define LUA_CORE #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "llex.h" #include "lmem.h" #include "lstate.h...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lopcodes.h
null
null
null
null
null
null
C
2026-05-04T18:26:03.325444
/* ** $Id: lopcodes.h,v 1.125.1.1 2007/12/27 13:02:25 roberto Exp $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ #ifndef lopcodes_h #define lopcodes_h #include "llimits.h" /*=========================================================================== We assume that instructions are unsign...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lstate.h
null
null
null
null
null
null
C
2026-05-04T18:26:03.461476
/* ** $Id: lstate.h,v 2.24.1.2 2008/01/03 15:20:39 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ #ifndef lstate_h #define lstate_h #include "lua.h" #include "lobject.h" #include "ltm.h" #include "lzio.h" struct lua_longjmp; /* defined in ldo.c */ /* table of globals */ #define gt(L) (&L->l_...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/loslib.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.463245
/* ** $Id: loslib.c,v 1.19.1.3 2008/01/18 16:38:18 roberto Exp $ ** Standard Operating System library ** See Copyright Notice in lua.h */ #include <errno.h> #include <locale.h> #include <stdlib.h> #include <string.h> #include <time.h> #define loslib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lstring.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.464575
/* ** $Id: lstring.c,v 2.8.1.1 2007/12/27 13:02:25 roberto Exp $ ** String table (keeps all strings handled by Lua) ** See Copyright Notice in lua.h */ #include <string.h> #define lstring_c #define LUA_CORE #include "lua.h" #include "lmem.h" #include "lobject.h" #include "lstate.h" #include "lstring.h" void lua...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lparser.h
null
null
null
null
null
null
C
2026-05-04T18:26:03.504617
/* ** $Id: lparser.h,v 1.57.1.1 2007/12/27 13:02:25 roberto Exp $ ** Lua Parser ** See Copyright Notice in lua.h */ #ifndef lparser_h #define lparser_h #include "llimits.h" #include "lobject.h" #include "lzio.h" /* ** Expression descriptor */ typedef enum { VVOID, /* no value */ VNIL, VTRUE, VFALSE, VK, ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lstring.h
null
null
null
null
null
null
C
2026-05-04T18:26:03.505681
/* ** $Id: lstring.h,v 1.43.1.1 2007/12/27 13:02:25 roberto Exp $ ** String table (keep all strings handled by Lua) ** See Copyright Notice in lua.h */ #ifndef lstring_h #define lstring_h #include "lgc.h" #include "lobject.h" #include "lstate.h" #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lparser.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.534037
/* ** $Id: lparser.c,v 2.42.1.4 2011/10/21 19:31:42 roberto Exp $ ** Lua Parser ** See Copyright Notice in lua.h */ #include <string.h> #define lparser_c #define LUA_CORE #include "lua.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "llex.h" #include "lmem.h" #include "lobjec...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lstrlib.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.874262
/* ** $Id: lstrlib.c,v 1.132.1.5 2010/05/14 15:34:19 roberto Exp $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lstrlib_c #define LUA_LIB #include "lua.h" ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ltable.c
null
null
null
null
null
null
C
2026-05-04T18:26:03.929777
/* ** $Id: ltable.c,v 2.32.1.2 2007/12/28 15:32:23 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ /* ** Implementation of tables (aka arrays, objects, or hash tables). ** Tables keep its elements in two parts: an array part and a hash part. ** Non-negative integer keys are all candidates to be...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ltable.h
null
null
null
null
null
null
C
2026-05-04T18:26:04.186656
/* ** $Id: ltable.h,v 2.10.1.1 2007/12/27 13:02:25 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ #ifndef ltable_h #define ltable_h #include "lobject.h" #define gnode(t,i) (&(t)->node[i]) #define gkey(n) (&(n)->i_key.nk) #define gval(n) (&(n)->i_val) #define gnext(n) ((n)->i_key.nk.next) ...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ltablib.c
null
null
null
null
null
null
C
2026-05-04T18:26:04.221348
/* ** $Id: ltablib.c,v 1.38.1.3 2008/02/14 16:46:58 roberto Exp $ ** Library for Table Manipulation ** See Copyright Notice in lua.h */ #include <stddef.h> #define ltablib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_get...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lua.c
null
null
null
null
null
null
C
2026-05-04T18:26:04.372080
/* ** $Id: lua.c,v 1.160.1.2 2007/12/28 15:32:23 roberto Exp $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lua_c #include "lua.h" #include "lauxlib.h" #include "lualib.h" static lua_State *globalL = NUL...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/luaconf.h
null
null
null
null
null
null
C
2026-05-04T18:26:04.404924
/* ** $Id: luaconf.h,v 1.82.1.7 2008/02/11 16:25:08 roberto Exp $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ #ifndef lconfig_h #define lconfig_h #include <limits.h> #include <stddef.h> /* ** ================================================================== ** Search for "@@" to find all con...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/lua.h
null
null
null
null
null
null
C
2026-05-04T18:26:04.405609
/* ** $Id: lua.h,v 1.218.1.7 2012/01/13 20:36:20 roberto Exp $ ** Lua - An Extensible Extension Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file */ #ifndef lua_h #define lua_h #include <stdarg.h> #include <stddef.h> #include "luaconf.h" #define LUA_VERSION...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/luac.c
null
null
null
null
null
null
C
2026-05-04T18:26:04.434627
/* ** $Id: luac.c,v 1.54 2006/06/02 17:37:11 lhf Exp $ ** Lua compiler (saves bytecodes to files; also list bytecodes) ** See Copyright Notice in lua.h */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define luac_c #define LUA_CORE #include "lua.h" #include "lauxlib.h" #include "ldo...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ltm.h
null
null
null
null
null
null
C
2026-05-04T18:26:04.465533
/* ** $Id: ltm.h,v 2.6.1.1 2007/12/27 13:02:25 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ #ifndef ltm_h #define ltm_h #include "lobject.h" /* * WARNING: if you change the order of this enumeration, * grep "ORDER TM" */ typedef enum { TM_INDEX, TM_NEWINDEX, TM_GC, TM_MODE, TM_EQ, /*...
pangweiwei/slua
https://github.com/pangweiwei/slua
null
null
null
null
1,419
null
null
mit
null
null
null
null
null
null
null
build/lua-5.1.5/src/ltm.c
null
null
null
null
null
null
C
2026-05-04T18:26:04.520937
/* ** $Id: ltm.c,v 2.8.1.1 2007/12/27 13:02:25 roberto Exp $ ** Tag methods ** See Copyright Notice in lua.h */ #include <string.h> #define ltm_c #define LUA_CORE #include "lua.h" #include "lobject.h" #include "lstate.h" #include "lstring.h" #include "ltable.h" #include "ltm.h" const char *const luaT_typenames[...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/lookahead_iterator.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.213513
#include "types.h" void lookahead_iterator_dealloc(LookaheadIterator *self) { if (self->lookahead_iterator) { ts_lookahead_iterator_delete(self->lookahead_iterator); } Py_XDECREF(self->language); Py_TYPE(self)->tp_free(self); } PyObject *lookahead_iterator_repr(LookaheadIterator *self) { r...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/module.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.224021
#include "types.h" extern PyType_Spec language_type_spec; extern PyType_Spec lookahead_iterator_type_spec; extern PyType_Spec node_type_spec; extern PyType_Spec parser_type_spec; extern PyType_Spec point_type_spec; extern PyType_Spec query_cursor_type_spec; extern PyType_Spec query_predicate_anyof_type_spec; extern Py...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/language.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.224797
#include "types.h" int language_init(Language *self, PyObject *args, PyObject *Py_UNUSED(kwargs)) { PyObject *language; if (!PyArg_ParseTuple(args, "O:__init__", &language)) { return -1; } if (PyCapsule_CheckExact(language)) { self->language = PyCapsule_GetPointer(language, "tree_sitte...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/parser.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.236517
#include "types.h" PyObject *point_new_internal(ModuleState *state, TSPoint point); #define SET_ATTRIBUTE_ERROR(name) \ (name != NULL && name != Py_None && parser_set_##name(self, name, NULL) < 0) typedef struct { PyObject *read_cb; Py_buff...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/query.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.239599
#include "types.h" #include <string.h> PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree); bool query_satisfies_predicates(Query *query, TSQueryMatch match, Tree *tree, PyObject *callable); #define QUERY_ERROR(...) PyErr_Format(state->query_error, __VA_ARGS__) #define CHECK_INDEX(query, i...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/query_cursor.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.247317
#include "types.h" PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree); bool query_satisfies_predicates(Query *query, TSQueryMatch match, Tree *tree, PyObject *callable); void query_cursor_dealloc(QueryCursor *self) { ts_query_cursor_delete(self->cursor); Py_XDECREF(self->query); ...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/query_predicates.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.274525
#include "types.h" PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree); PyObject *node_get_text(Node *self, void *payload); #define PREDICATE_CMP(val1, val2, predicate) \ PyObject_RichCompareBool((val1), (val2), (predicate)->is_positi...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/node.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.275195
#include "types.h" PyObject *point_new_internal(ModuleState *state, TSPoint point); PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree) { Node *self = PyObject_New(Node, state->node_type); if (self == NULL) { return NULL; } self->node = node; self->tree = Py_NewRef...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/point.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.310169
#include "types.h" PyObject *point_new_internal(ModuleState *state, TSPoint point) { PyObject *self = PyTuple_New(2); if (self == NULL) { return NULL; } PyTuple_SET_ITEM(self, 0, PyLong_FromUnsignedLong(point.row)); PyTuple_SET_ITEM(self, 1, PyLong_FromUnsignedLong(point.column)); retur...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/range.c
null
null
null
null
null
null
C
2026-05-04T18:26:08.310829
#include "types.h" PyObject *point_new_internal(ModuleState *state, TSPoint point); int range_init(Range *self, PyObject *args, PyObject *kwargs) { uint32_t start_row, start_col, end_row, end_col, start_byte, end_byte; char *keywords[] = { "start_point", "end_point", "start_byte", "end_byte", NULL, ...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/tree.c
null
null
null
null
null
null
C
2026-05-04T18:26:09.181220
#include "types.h" PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree); void tree_dealloc(Tree *self) { ts_tree_delete(self->tree); Py_XDECREF(self->language); Py_XDECREF(self->source); Py_TYPE(self)->tp_free(self); } PyObject *tree_get_root_node(Tree *self, void *Py_UNUSED(p...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/tree_cursor.c
null
null
null
null
null
null
C
2026-05-04T18:26:09.181871
#include "types.h" PyObject *node_new_internal(ModuleState *state, TSNode node, PyObject *tree); void tree_cursor_dealloc(TreeCursor *self) { ts_tree_cursor_delete(&self->cursor); Py_XDECREF(self->node); Py_XDECREF(self->tree); Py_TYPE(self)->tp_free(self); } PyObject *tree_cursor_get_node(TreeCursor...
tree-sitter/py-tree-sitter
https://github.com/tree-sitter/py-tree-sitter
null
null
null
null
1,415
null
null
mit
null
null
null
null
null
null
null
tree_sitter/binding/types.h
null
null
null
null
null
null
C
2026-05-04T18:26:09.327296
#pragma once #include "tree_sitter/api.h" #include <Python.h> // Types typedef struct { PyObject_HEAD TSNode node; PyObject *children; PyObject *tree; } Node; typedef struct { PyObject_HEAD TSTree *tree; PyObject *source; PyObject *language; } Tree; typedef struct { PyObject_HE...
boku7/BokuLoader
https://github.com/boku7/BokuLoader
null
null
null
null
1,413
null
null
mit
null
null
null
null
null
null
null
src/BokuLoader.h
null
null
null
null
null
null
C
2026-05-04T18:26:12.102093
#define WIN32_LEAN_AND_MEAN #include <windows.h> #define STATUS_SUCCESS 0x0 #define MAX_STACK_SIZE 12000 #define RBP_OP_INFO 0x5 #define true 1 typedef struct Spoof_Struct { PVOID Fixup; // +0x00 PVOID original_return_address; // +0x08 PVOID rbx; // +0x10 PV...
boku7/BokuLoader
https://github.com/boku7/BokuLoader
null
null
null
null
1,413
null
null
mit
null
null
null
null
null
null
null
src/BokuLoader.c
null
null
null
null
null
null
C
2026-05-04T18:26:12.103337
#include "BokuLoader.h" // align stack so we don't end up crashing later with MMX registers __asm__( "Setup:\n" " push rsi\n" // Save rsi to the stack " mov rsi, rsp\n" // Set rsi to the current stack pointer " and rsp, 0x0FFFFFFFFFFFFFFF0\n" // Align the stack to a 16-byt...
spacehuhn/wifi_ducky
https://github.com/spacehuhn/wifi_ducky
null
null
null
null
1,409
null
null
mit
null
null
null
null
null
null
null
esp8266_wifi_duck/Settings.h
null
null
null
null
null
null
C
2026-05-04T18:26:15.444847
#pragma once #include "Arduino.h" #include <EEPROM.h> #define ssidLenAdr 0 #define ssidAdr 1 #define passwordLenAdr 33 #define passwordAdr 34 #define channelAdr 66 #define hiddenAdr 67 #define autoExecAdr 68 #define autostartLenAdr 69 #define autostartAdr 70 #define debug false class Settings{ publi...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
scripts/geodata/text/pytokenize.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.115630
#include <Python.h> #include <libpostal/libpostal.h> #if PY_MAJOR_VERSION >= 3 #define IS_PY3K #endif struct module_state { PyObject *error; }; #ifdef IS_PY3K #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m)) #else #define GETSTATE(m) (&_state) static struct module_state _state; #end...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.116258
/* address_parser.h ---------------- International address parser, designed to use OSM training data, over 40M addresses formatted with the OpenCage address formatting templates: https://github.com/OpenCageData/address-formatting. This is a sequence modeling problem similar to e.g. part-of-speech tagging, named entit...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/acronyms.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.136107
#ifndef ACRONYMS_H #define ACRONYMS_H #include <stdio.h> #include <stdlib.h> #include "address_dictionary.h" #include "collections.h" #include "tokens.h" #include "token_types.h" bool stopword_positions(uint32_array *stopwords_array, const char *str, token_array *tokens, size_t num_languages, char **languages); bool...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.137372
#include "address_parser.h" #include "address_dictionary.h" #include "features.h" #include "ngrams.h" #include "scanner.h" #include "graph_builder.h" #include "klib/ksort.h" #include "log/log.h" #define ADDRESS_PARSER_MODEL_FILENAME "address_parser.dat" #define ADDRESS_PARSER_MODEL_FILENAME_CRF "address_parser_crf.d...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_expansion_rule.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.143620
#ifndef ADDRESS_EXPANSION_RULE_H #define ADDRESS_EXPANSION_RULE_H #include <stdlib.h> #include <stdint.h> #include "constants.h" #include "gazetteers.h" #define MAX_DICTIONARY_TYPES 5 typedef struct address_expansion_rule { char *phrase; uint32_t num_dictionaries; dictionary_type_t dictionaries[MAX_DIC...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_dictionary.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.144383
#include <dirent.h> #include <limits.h> #include <stdarg.h> #include "address_dictionary.h" #define ADDRESS_DICTIONARY_SIGNATURE 0xBABABABA #define ADDRESS_DICTIONARY_SETUP_ERROR "address_dictionary module not setup, call libpostal_setup() or address_dictionary_module_setup()\n" address_dictionary_t *address_dict =...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_dictionary.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.148766
#ifndef ADDRESS_DICTIONARY_H #define ADDRESS_DICTIONARY_H #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <string.h> #include "address_expansion_rule.h" #include "libpostal_config.h" #include "constants.h" #include "collections.h" #include "file_utils.h" #include "gazettee...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
scripts/geodata/text/pynormalize.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.149848
#include <Python.h> #include <libpostal/libpostal.h> #if PY_MAJOR_VERSION >= 3 #define IS_PY3K #endif struct module_state { PyObject *error; }; #ifdef IS_PY3K #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m)) #else #define GETSTATE(m) (&_state) static struct module_state _state; #end...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/acronyms.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.178848
#include "acronyms.h" #include "token_types.h" bool existing_acronym_phrase_positions(uint32_array *existing_acronyms_array, const char *str, token_array *token_array, size_t num_languages, char **languages) { if (existing_acronyms_array == NULL || token_array == NULL) return false; size_t num_tokens = token_...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_dictionary_builder.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.179394
#include <stdio.h> #include <stdlib.h> #include "address_dictionary.h" #include "address_expansion_data.c" #include "collections.h" #include "config.h" #include "constants.h" #include "gazetteer_data.c" int main(int argc, char **argv) { char *output_file; if (argc > 1) { output_file = argv[1]; } ...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser_io.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.799512
#include "address_parser_io.h" address_parser_data_set_t *address_parser_data_set_init(char *filename) { address_parser_data_set_t *data_set = malloc(sizeof(address_parser_data_set_t)); data_set->f = fopen(filename, "r"); if (data_set->f == NULL) { free(data_set); return NULL; } da...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser_cli.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.800140
#include <stdio.h> #include <stdlib.h> #include "json_encode.h" #include "libpostal.h" #include "linenoise/linenoise.h" #include "log/log.h" #include "strndup.h" int main(int argc, char **argv) { char *address_parser_dir = NULL; char *history_file = "address_parser.history"; if (argc > 1) { addr...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron_tagger.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.817508
#include "averaged_perceptron_tagger.h" #include "log/log.h" bool averaged_perceptron_tagger_predict(averaged_perceptron_t *model, void *tagger, void *context, cstring_array *features, cstring_array *prev_tag_features, cstring_array *prev2_tag_features, cstring_array *labels, tagger_feature_function feature_function, ...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.818528
#include "averaged_perceptron.h" #define PERCEPTRON_SIGNATURE 0xCBCBCBCB static inline bool averaged_perceptron_get_feature_id(averaged_perceptron_t *self, char *feature, uint32_t *feature_id) { return trie_get_data(self->features, feature, feature_id); } inline double_array *averaged_perceptron_predict_scores(a...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser_io.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.848064
#ifndef ADDRESS_PARSER_IO_H #define ADDRESS_PARSER_IO_H #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "address_parser.h" #include "collections.h" #include "file_utils.h" #include "scanner.h" #include "string_utils.h" #define AMBIGUOUS_LANGUAGE "xxx" #define UNKNOWN_LANGUAGE "unk" enum address...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser_test.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.857941
#include "address_parser.h" #include "address_parser_io.h" #include "address_dictionary.h" #include "collections.h" #include "constants.h" #include "file_utils.h" #include "geodb.h" #include "normalize.h" #include "log/log.h" typedef struct address_parser_test_results { size_t num_errors; size_t num_predictio...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron_trainer.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.872179
#include "averaged_perceptron_trainer.h" void averaged_perceptron_trainer_destroy(averaged_perceptron_trainer_t *self) { if (self == NULL) return; const char *key; uint32_t id; if (self->features != NULL) { kh_foreach(self->features, key, id, { free((char *)key); }) ...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/address_parser_train.c
null
null
null
null
null
null
C
2026-05-04T18:26:22.873717
#include <stdint.h> #include "address_parser.h" #include "address_parser_io.h" #include "address_dictionary.h" #include "averaged_perceptron_trainer.h" #include "crf_trainer_averaged_perceptron.h" #include "collections.h" #include "constants.h" #include "file_utils.h" #include "graph.h" #include "graph_builder.h" #inc...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.906321
/* averaged_perceptron.h --------------------- The averaged perceptron is a simple, efficient and effective method for training sequence models. The averaged perceptron is a linear model, meaning the score for a given class is the dot product of weights and the feature values. This implementation of the averaged per...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron_tagger.h
null
null
null
null
null
null
C
2026-05-04T18:26:22.907382
/* averaged_perceptron_tagger.h ---------------------------- An averaged perceptron tagger is a greedy sequence labeling algorithm which uses features of the current token, surrounding tokens and n (typically n=2) previous predictions to predict the current value. */ #ifndef AVERAGED_PERCEPTRON_TAGGER_H #define AVER...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/bench.c
null
null
null
null
null
null
C
2026-05-04T18:26:23.646214
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #include <time.h> #else #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #else #include <time.h> #endif #endif #include "libpostal.h" #include "libpostal_config.h" #include "log/log.h" #include "scanner.h" int mai...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/averaged_perceptron_trainer.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.647215
/* averaged_perceptron_trainer.h ----------------------------- Trainer for a generic averaged perceptron model. The averaged perceptron uses a simple online error-driven learning algorithm. Given some features and the true label, it predicts the expected label under the current weights. If it guess correctly, there's...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/bloom.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.648797
#ifndef BLOOM_H #define BLOOM_H #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include "file_utils.h" #define SALT_CONSTANT 0x66e8c41d typedef struct bloom_filter { uint64_t capacity; double error; uint64_t num_bits; uint64_t num_bytes; uint32_t num_hashes; double bits_per_en...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/constants.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.847756
#ifndef LIBPOSTAL_CONSTANTS_H #define LIBPOSTAL_CONSTANTS_H #include <stdlib.h> #include <string.h> #define NAMESPACE_SEPARATOR_CHAR "|" #define NAMESPACE_SEPARATOR_CHAR_LEN strlen(NAMESPACE_SEPARATOR_CHAR) #define LANGUAGE_SEPARATOR_CHAR "|" #define LANGUAGE_SEPARATOR_CHAR_LEN strlen(LANGUAGE_SEPARATOR_CHAR) // Su...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/cartesian_product.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.848296
#ifndef CARTESIAN_PRODUCT_H #define CARTESIAN_PRODUCT_H #include <stdlib.h> #include <stdarg.h> #include "collections.h" typedef struct cartesian_product_iterator { size_t remaining; uint32_array *lengths; uint32_array *state; } cartesian_product_iterator_t; cartesian_product_iterator_t *cartesian_produ...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/cartesian_product.c
null
null
null
null
null
null
C
2026-05-04T18:26:23.854274
#include "cartesian_product.h" #include <stdarg.h> cartesian_product_iterator_t *cartesian_product_iterator_new_vargs(size_t n, va_list args) { cartesian_product_iterator_t *iter = malloc(sizeof(cartesian_product_iterator_t)); if (iter == NULL) return NULL; iter->lengths = uint32_array_new_size(n); if...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/cmp/cmp.c
null
null
null
null
null
null
C
2026-05-04T18:26:23.855524
#include <stdbool.h> #include <stddef.h> #include <stdint.h> #include "cmp.h" static const uint32_t version = 10; static const uint32_t mp_version = 5; enum { POSITIVE_FIXNUM_MARKER = 0x00, FIXMAP_MARKER = 0x80, FIXARRAY_MARKER = 0x90, FIXSTR_MARKER = 0xA0, NIL_MARKER =...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/cmp/cmp.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.867419
#ifndef CMP_H__ #define CMP_H__ struct cmp_ctx_s; typedef bool (*cmp_reader)(struct cmp_ctx_s *ctx, void *data, size_t limit); typedef size_t (*cmp_writer)(struct cmp_ctx_s *ctx, const void *data, size_t count); enum { CMP_TYPE_POSITIVE_FIXNUM, /* 0 */ CMP_T...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/bloom.c
null
null
null
null
null
null
C
2026-05-04T18:26:23.894369
#include <math.h> #include "bloom.h" #include "murmur/murmur.h" #define BLOOM_FILTER_SIGNATURE 0xBABABABA #define LOG2_SQUARED 0.4804530139182014 #define LOG2 0.6931471805599453 static int bloom_filter_check_add(bloom_filter_t *self, const char *key, size_t len, bool add) { uint64_t checksum[2]; MurmurHash...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/collections.h
null
null
null
null
null
null
C
2026-05-04T18:26:23.895096
#ifndef COLLECTIONS_H #define COLLECTIONS_H #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include "log/log.h" #include "klib/khash.h" #include "klib/ksort.h" #include "vector.h" #include "vector_math.h" #define nop(x) (x) // Init collections used in multiple places // Maps KHASH_MAP_INIT_INT(int_u...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/crf.c
null
null
null
null
null
null
C
2026-05-04T18:26:24.333611
#include "crf.h" #include "log/log.h" #define CRF_SIGNATURE 0xCFCFCFCF static inline bool crf_get_feature_id(crf_t *self, char *feature, uint32_t *feature_id) { return trie_get_data(self->state_features, feature, feature_id); } static inline bool crf_get_state_trans_feature_id(crf_t *self, char *feature, uint32...
openvenues/libpostal
https://github.com/openvenues/libpostal
null
null
null
null
4,784
null
null
mit
null
null
null
null
null
null
null
src/crf_context.c
null
null
null
null
null
null
C
2026-05-04T18:26:24.335127
#include "crf_context.h" #include "float_utils.h" crf_context_t *crf_context_new(int flag, size_t L, size_t T) { crf_context_t *context = malloc(sizeof(crf_context_t)); if (context == NULL) return NULL; context->flag = flag; context->num_labels = L; context->scale_factor = double_array_new_size_f...