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
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lauxlib.c
null
null
null
null
null
null
C
2026-05-04T18:46:47.965187
/* ** $Id: lauxlib.c $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ #define lauxlib_c #define LUA_LIB #include "lprefix.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. *...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lcode.c
null
null
null
null
null
null
C
2026-05-04T18:46:47.997427
/* ** $Id: lcode.c $ ** Code generator for Lua ** See Copyright Notice in lua.h */ #define lcode_c #define LUA_CORE #include "lprefix.h" #include <float.h> #include <limits.h> #include <math.h> #include <stdlib.h> #include "lua.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include "lgc.h" #include "...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lcode.h
null
null
null
null
null
null
C
2026-05-04T18:46:48.172228
/* ** $Id: lcode.h $ ** 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 absolute ** address, and as a list link (would l...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lcorolib.c
null
null
null
null
null
null
C
2026-05-04T18:46:48.324505
/* ** $Id: lcorolib.c $ ** Coroutine Library ** See Copyright Notice in lua.h */ #define lcorolib_c #define LUA_LIB #include "lprefix.h" #include <stdlib.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" #include "llimits.h" static lua_State *getco (lua_State *L) { lua_State *co = lua_tothread(L, 1...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldblib.c
null
null
null
null
null
null
C
2026-05-04T18:46:48.325963
/* ** $Id: ldblib.c $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ #define ldblib_c #define LUA_LIB #include "lprefix.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "lua.h" #include "lauxlib.h" #include "lualib.h" #include "llimits.h" /* ** The hook table at...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lctype.c
null
null
null
null
null
null
C
2026-05-04T18:46:48.361001
/* ** $Id: lctype.c $ ** 'ctype' functions for Lua ** See Copyright Notice in lua.h */ #define lctype_c #define LUA_CORE #include "lprefix.h" #include "lctype.h" #if !LUA_USE_CTYPE /* { */ #include <limits.h> #if defined (LUA_UCID) /* accept UniCode IDentifiers? */ /* consider all non-ASCII codepoints to be al...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lctype.h
null
null
null
null
null
null
C
2026-05-04T18:46:48.361500
/* ** $Id: lctype.h $ ** 'ctype' functions for Lua ** See Copyright Notice in lua.h */ #ifndef lctype_h #define lctype_h #include "lua.h" /* ** WARNING: the functions defined here do not necessarily correspond ** to the similar functions in the standard C ctype.h. They are ** optimized for the specific needs of Lua...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldebug.c
null
null
null
null
null
null
C
2026-05-04T18:46:48.391135
/* ** $Id: ldebug.c $ ** Debug Interface ** See Copyright Notice in lua.h */ #define ldebug_c #define LUA_CORE #include "lprefix.h" #include <stdarg.h> #include <stddef.h> #include <string.h> #include "lua.h" #include "lapi.h" #include "lcode.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lo...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldebug.h
null
null
null
null
null
null
C
2026-05-04T18:46:48.618690
/* ** $Id: ldebug.h $ ** 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) /* Active Lua function (given call info) */ #define ci_func(ci) (clLvalue(s2v((ci)->func.p))) ...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldo.c
null
null
null
null
null
null
C
2026-05-04T18:46:48.738686
/* ** $Id: ldo.c $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #define ldo_c #define LUA_CORE #include "lprefix.h" #include <setjmp.h> #include <stdlib.h> #include <string.h> #include "lua.h" #include "lapi.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #inc...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldo.h
null
null
null
null
null
null
C
2026-05-04T18:46:48.946059
/* ** $Id: ldo.h $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ #ifndef ldo_h #define ldo_h #include "llimits.h" #include "lobject.h" #include "lstate.h" #include "lzio.h" /* ** Macro to check stack size and grow stack if needed. Parameters ** 'pre'/'pos' allow the macro to preserve a po...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lfunc.c
null
null
null
null
null
null
C
2026-05-04T18:46:49.165726
/* ** $Id: lfunc.c $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ #define lfunc_c #define LUA_CORE #include "lprefix.h" #include <stddef.h> #include "lua.h" #include "ldebug.h" #include "ldo.h" #include "lfunc.h" #include "lgc.h" #include "lmem.h" #include "lobj...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/ldump.c
null
null
null
null
null
null
C
2026-05-04T18:46:49.166662
/* ** $Id: ldump.c $ ** save precompiled Lua chunks ** See Copyright Notice in lua.h */ #define ldump_c #define LUA_CORE #include "lprefix.h" #include <limits.h> #include <stddef.h> #include "lua.h" #include "lapi.h" #include "lgc.h" #include "lobject.h" #include "lstate.h" #include "ltable.h" #include "lundump.h...
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua-md5/md5.h
null
null
null
null
null
null
C
2026-05-04T18:46:54.783238
/** * $Id: md5.h,v 1.2 2006/03/03 15:04:49 tomas Exp $ * Cryptographic module for Lua. * @author Roberto Ierusalimschy */ #ifndef md5_h #define md5_h #include <lua.h> #define HASHSIZE 16 void md5 (const char *message, long len, char *output); int luaopen_md5_core (lua_State *L); #endif
cloudwu/skynet
https://github.com/cloudwu/skynet
null
null
null
null
14,027
null
null
mit
null
null
null
null
null
null
null
3rd/lua/lapi.h
null
null
null
null
null
null
C
2026-05-04T18:46:54.783932
/* ** $Id: lapi.h $ ** Auxiliary functions from Lua API ** See Copyright Notice in lua.h */ #ifndef lapi_h #define lapi_h #include "llimits.h" #include "lstate.h" #if defined(LUA_USE_APICHECK) #include <assert.h> #define api_check(l,e,msg) assert(e) #else /* for testing */ #define api_check(l,e,msg) ((void)(l), lu...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:00.677869
#include "utils.h" #include "peripherals/mini_uart.h" #include "peripherals/gpio.h" void uart_send ( char c ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x20) break; } put32(AUX_MU_IO_REG,c); } char uart_recv ( void ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x01) break; } return(get32(AUX_MU_IO_REG)&0xFF); }...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:00.679657
#ifndef _MINI_UART_H #define _MINI_UART_H void uart_init ( unsigned int baudrate ); char uart_recv ( void ); void uart_send ( char c ); void uart_send_string(char* str); #endif /*_MINI_UART_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:00.682154
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:01.273195
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE+0x00215004) #define AUX_MU_IO_REG (PBASE+0x00215040) #define AUX_MU_IER_REG (PBASE+0x00215044) #define AUX_MU_IIR_REG (PBASE+0x00215048) #define AUX_MU_LCR_REG (PBASE+0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:01.315384
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE+0x00200004) #define GPSET0 (PBASE+0x0020001C) #define GPCLR0 (PBASE+0x00200028) #define GPPUD (PBASE+0x00200094) #define GPPUDCLK0 (PBASE+0x00200098) #endif /*_P_GPIO_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:02.152855
#include "utils.h" #include "peripherals/mini_uart.h" #include "peripherals/gpio.h" void uart_send ( char c ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x20) break; } put32(AUX_MU_IO_REG,c); } char uart_recv ( void ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x01) break; } return(get32(AUX_MU_IO_REG)&0xFF); }...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:02.183852
#ifndef _BOOT_H #define _BOOT_H extern void delay ( unsigned long); extern void put32 ( unsigned long, unsigned int ); extern unsigned int get32 ( unsigned long ); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:02.975915
#ifndef _MINI_UART_H #define _MINI_UART_H char uart_recv ( void ); void uart_send ( char c ); void uart_send_string(char* str); /* Support 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200 Baud */ typedef enum { BAUD_1200 = 1200, BAUD_2400 = 2400, BAUD_4800 = 4800, BAUD_9600 = 9600, BAUD_192...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:02.976919
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.787731
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE+0x00200004) #define GPSET0 (PBASE+0x0020001C) #define GPCLR0 (PBASE+0x00200028) #define GPPUD (PBASE+0x00200094) #define GPPUDCLK0 (PBASE+0x00200098) #endif /*_P_GPIO_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.789124
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE+0x00200004) #define GPSET0 (PBASE+0x0020001C) #define GPCLR0 (PBASE+0x00200028) #define GPPUD (PBASE+0x00200094) #define GPPUDCLK0 (PBASE+0x00200098) #endif /*_P_GPIO_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.790007
#ifndef _MINI_UART_H #define _MINI_UART_H void uart_init ( void ); char uart_recv ( void ); void uart_send ( char c ); void uart_send_string(char* str); #endif /*_MINI_UART_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.791248
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.882399
#ifndef _BOOT_H #define _BOOT_H extern void delay ( unsigned long); extern void put32 ( unsigned long, unsigned int ); extern unsigned int get32 ( unsigned long ); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/src/kernel.c
null
null
null
null
null
null
C
2026-05-04T18:47:03.900474
#include "mini_uart.h" void kernel_main(void) { uart_init(); uart_send_string("Hello, world!\r\n"); while (1) { uart_send(uart_recv()); } }
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/H-4ND-H/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:03.942715
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE+0x00215004) #define AUX_MU_IO_REG (PBASE+0x00215040) #define AUX_MU_IER_REG (PBASE+0x00215044) #define AUX_MU_IIR_REG (PBASE+0x00215048) #define AUX_MU_LCR_REG (PBASE+0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.431606
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE+0x00215004) #define AUX_MU_IO_REG (PBASE+0x00215040) #define AUX_MU_IER_REG (PBASE+0x00215044) #define AUX_MU_IIR_REG (PBASE+0x00215048) #define AUX_MU_LCR_REG (PBASE+0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.432891
#ifndef _BOOT_H #define _BOOT_H extern void delay ( unsigned long); extern void put32 ( unsigned long, unsigned int ); extern unsigned int get32 ( unsigned long ); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.464649
#ifndef _MINI_UART_H #define _MINI_UART_H // values according to N = (ClockFreq./(8*BAUD RATE))-1 #define BAUDRATE_9600 3254 #define BAUDRATE_19200 1626 #define BAUDRATE_38400 812 #define BAUDRATE_57600 541 #define BAUDRATE_115200 270 void uart_init ( int baudrate ); char uart_recv ( void ); void uart_send ( char c...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/src/kernel.c
null
null
null
null
null
null
C
2026-05-04T18:47:04.466243
#include "mini_uart.h" void kernel_main(void) { uart_init(BAUD_9600); uart_send_string("Hello, world!\r\n"); while (1) { uart_send(uart_recv()); } }
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.467353
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/adkaster/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:04.480520
#include "utils.h" #include "mini_uart.h" #include "peripherals/mini_uart.h" #include "peripherals/gpio.h" #include <stdint.h> void uart_send ( char c ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x20) break; } put32(AUX_MU_IO_REG,c); } char uart_recv ( void ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x01) brea...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.715589
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE+0x00215004) #define AUX_MU_IO_REG (PBASE+0x00215040) #define AUX_MU_IER_REG (PBASE+0x00215044) #define AUX_MU_IIR_REG (PBASE+0x00215048) #define AUX_MU_LCR_REG (PBASE+0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:04.744536
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE+0x00200004) #define GPSET0 (PBASE+0x0020001C) #define GPCLR0 (PBASE+0x00200028) #define GPPUD (PBASE+0x00200094) #define GPPUDCLK0 (PBASE+0x00200098) #endif /*_P_GPIO_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/src/kernel.c
null
null
null
null
null
null
C
2026-05-04T18:47:05.061480
#include "mini_uart.h" void kernel_main(void) { uart_init(BAUDRATE_19200); // the baud rate constants are definide in 'mini_uart.h' uart_send_string("Hello, world!\r\n"); while (1) { uart_send(uart_recv()); } }
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.092304
#ifndef _BOOT_H #define _BOOT_H extern void delay ( unsigned long); extern void put32 ( unsigned long, unsigned int ); extern unsigned int get32 ( unsigned long ); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.093575
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/avenito/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:05.175038
#include "utils.h" #include "peripherals/mini_uart.h" #include "peripherals/gpio.h" void uart_send ( char c ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x20) break; } put32(AUX_MU_IO_REG,c); } char uart_recv ( void ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x01) break; } return(get32(AUX_MU_IO_REG)&0xFF); }...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.176582
#ifndef _MINI_UART_H #define _MINI_UART_H void uart_init ( void ); char uart_recv ( void ); void uart_send ( char c ); void uart_send_string(char* str); #endif /*_MINI_UART_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.480021
#ifndef _BOOT_H #define _BOOT_H extern void delay ( unsigned long); extern void put32 ( unsigned long, unsigned int ); extern unsigned int get32 ( unsigned long ); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.480990
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE+0x00200004) #define GPSET0 (PBASE+0x0020001C) #define GPCLR0 (PBASE+0x00200028) #define GPPUD (PBASE+0x00200094) #define GPPUDCLK0 (PBASE+0x00200098) #define BAUD_RATE 115200 #define SYS...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.533755
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE+0x00215004) #define AUX_MU_IO_REG (PBASE+0x00215040) #define AUX_MU_IER_REG (PBASE+0x00215044) #define AUX_MU_IIR_REG (PBASE+0x00215048) #define AUX_MU_LCR_REG (PBASE+0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/src/kernel.c
null
null
null
null
null
null
C
2026-05-04T18:47:05.693659
#include "mini_uart.h" void kernel_main(void) { uart_init(); uart_send_string("Hello, world!\r\n"); while (1) { uart_send(uart_recv()); } }
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/bl4ckout31/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:05.695032
#include "utils.h" #include "peripherals/mini_uart.h" #include "peripherals/gpio.h" void uart_send ( char c ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x20) break; } put32(AUX_MU_IO_REG,c); } char uart_recv ( void ) { while(1) { if(get32(AUX_MU_LSR_REG)&0x01) break; } return(get32(AUX_MU_IO_REG)&0xFF); }...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.728671
#ifndef _MINI_UART_H #define _MINI_UART_H void uart_init(void); char uart_recv(void); void uart_send(char c); void uart_send_string(char* str); unsigned int get_reg_baud(unsigned int core_freq, unsigned int baud); #endif
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.794654
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned long src, unsigned long n); #endi...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/include/peripherals/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:47:05.837448
#ifndef _P_GPIO_H #define _P_GPIO_H #include "peripherals/base.h" #define GPFSEL1 (PBASE + 0x00200004) #define GPSET0 (PBASE + 0x0020001C) #define GPCLR0 (PBASE + 0x00200028) #define GPPUD (PBASE + 0x00200094) #define GPPUDCLK0 (PBASE + 0x00200098) #endif /*_P_GPIO_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/include/peripherals/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:06.247481
#ifndef _P_MINI_UART_H #define _P_MINI_UART_H #include "peripherals/base.h" #define AUX_ENABLES (PBASE + 0x00215004) #define AUX_MU_IO_REG (PBASE + 0x00215040) #define AUX_MU_IER_REG (PBASE + 0x00215044) #define AUX_MU_IIR_REG (PBASE + 0x00215048) #define AUX_MU_LCR_REG (PBASE + 0x0021504C) #define AUX_MU_MCR_REG (PB...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/src/kernel_main.c
null
null
null
null
null
null
C
2026-05-04T18:47:06.266612
#include "mini_uart.h" int a; void kernel_main(void) { uart_init(); uart_send_string("Hello, world!\r\n"); while(1) { uart_send(uart_recv()); } }
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/include/utils.h
null
null
null
null
null
null
C
2026-05-04T18:47:06.267502
#ifndef _BOOT_H #define _BOOT_H extern void delay(unsigned long); extern void put32(unsigned long, unsigned int); extern unsigned int get32(unsigned long); #endif /*_BOOT_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/gcrisis/include/mini_uart.h
null
null
null
null
null
null
C
2026-05-04T18:47:06.296864
#ifndef _MINI_UART_H #define _MINI_UART_H void uart_init (int baudrate ); char uart_recv ( void ); void uart_send ( char c ); void uart_send_string(char* str); #endif /*_MINI_UART_H */
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/evopen/src/mini_uart.c
null
null
null
null
null
null
C
2026-05-04T18:47:06.361282
#include "peripherals/mini_uart.h" #include "peripherals/gpio.h" #include "utils.h" unsigned int get_reg_baud(unsigned int core_freq, unsigned int baud) { return core_freq * 1000000 / (8 * baud) - 1; } void uart_init(void) { unsigned int selector; // 32 bits selector = get32(GPFSEL1); selector &= ~(...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/gcrisis/include/mm.h
null
null
null
null
null
null
C
2026-05-04T18:47:06.410051
#ifndef _MM_H #define _MM_H #define PAGE_SHIFT 12 #define TABLE_SHIFT 9 #define SECTION_SHIFT (PAGE_SHIFT + TABLE_SHIFT) #define PAGE_SIZE (1 << PAGE_SHIFT) #define SECTION_SIZE (1 << SECTION_SHIFT) #define LOW_MEMORY (2 * SECTION_SIZE) #ifndef __ASSEMBLER__ void memzero(unsigned lon...
s-matyukevich/raspberry-pi-os
https://github.com/s-matyukevich/raspberry-pi-os
null
null
null
null
13,811
null
null
mit
null
null
null
null
null
null
null
exercises/lesson01/1/a-v-v/src/kernel.c
null
null
null
null
null
null
C
2026-05-04T18:47:06.862308
#include "mini_uart.h" void kernel_main(void) { const unsigned int baud_rate = 460800; uart_init(baud_rate); uart_send_string("Hello, world!\r\n"); while (1) { uart_send(uart_recv()); } }
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc/track.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.535331
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc/prim.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.536574
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc-stats.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.552843
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2025, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc-new-delete.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.572502
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2020 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.573829
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2026, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc/internal.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.575509
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc-override.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.576616
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2020 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc/types.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.600056
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
include/mimalloc/atomic.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.620882
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
doc/mimalloc-doc.h
null
null
null
null
null
null
C
2026-05-04T18:47:09.621936
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2025, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/alloc-posix.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.147866
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/alloc-override.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.154305
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2026, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/alloc-aligned.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.197105
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/bitmap.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.222834
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2023 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/arena-abandon.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.228156
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/alloc.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.231591
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/bitmap.h
null
null
null
null
null
null
C
2026-05-04T18:47:10.252468
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2023 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/arena.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.253699
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/heap.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.254901
/*---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/free.c
null
null
null
null
null
null
C
2026-05-04T18:47:10.260687
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/libc.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.059133
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/options.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.060797
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/init.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.061366
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2022, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/os.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.063344
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2025, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/osx/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.281070
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/osx/alloc-override-zone.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.282981
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2022, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/page-queue.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.284282
/*---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/emscripten/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.688394
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2025, Microsoft Research, Daan Leijen, Alon Zakai This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:11.689680
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/wasi/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.213748
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/page.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.215237
/*---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distrib...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/unix/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.217496
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2025, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/random.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.310291
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/segment.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.326243
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/stats.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.457648
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/prim/windows/prim.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.535460
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
src/segment-map.c
null
null
null
null
null
null
C
2026-05-04T18:47:12.971554
/* ---------------------------------------------------------------------------- Copyright (c) 2019-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
test/main-override-static.c
null
null
null
null
null
null
C
2026-05-04T18:47:13.163945
#if _WIN32 #include <windows.h> #endif #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> #include <stdint.h> #include <mimalloc.h> #include <mimalloc-override.h> // redefines malloc etc. static void double_free1(); static void double_free2(); static void corrupt_free(); static void bloc...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
test/main.c
null
null
null
null
null
null
C
2026-05-04T18:47:13.170419
#include <stdio.h> #include <assert.h> #include <mimalloc.h> void test_heap(void* p_out) { mi_heap_t* heap = mi_heap_new(); void* p1 = mi_heap_malloc(heap,32); void* p2 = mi_heap_malloc(heap,48); mi_free(p_out); mi_heap_destroy(heap); //mi_heap_delete(heap); mi_free(p1); mi_free(p2); } void test_large() {...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
test/test-api-fill.c
null
null
null
null
null
null
C
2026-05-04T18:47:13.170903
/* ---------------------------------------------------------------------------- Copyright (c) 2018-2020, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file "LICENSE" at the root of this distri...
microsoft/mimalloc
https://github.com/microsoft/mimalloc
null
null
null
null
12,763
null
null
mit
null
null
null
null
null
null
null
test/main-override-dep.h
null
null
null
null
null
null
C
2026-05-04T18:47:13.180640
#pragma once // Issue #981: test overriding allocation in a DLL that is compiled independent of mimalloc. // This is imported by the `mimalloc-test-override` project. #include <string> class TestAllocInDll { public: __declspec(dllexport) std::string GetString(); };