path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/examples/gettimeofday.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,211
30
jart/cosmopolitan
false
cosmopolitan/examples/exec.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,306
33
jart/cosmopolitan
false
cosmopolitan/examples/ctrlc.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,994
63
jart/cosmopolitan
false
cosmopolitan/examples/cosh.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
9,763
320
jart/cosmopolitan
false
cosmopolitan/examples/vga.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,179
65
jart/cosmopolitan
false
cosmopolitan/examples/forkexecwait.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,101
26
jart/cosmopolitan
false
cosmopolitan/examples/vga2.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,589
45
jart/cosmopolitan
false
cosmopolitan/examples/compress.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
7,629
230
jart/cosmopolitan
false
cosmopolitan/examples/auto-launch-gdb-on-crash.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,050
47
jart/cosmopolitan
false
cosmopolitan/examples/gui.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,914
80
jart/cosmopolitan
false
cosmopolitan/examples/printprimes.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,368
40
jart/cosmopolitan
false
cosmopolitan/examples/nomodifyself.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,538
38
jart/cosmopolitan
false
cosmopolitan/examples/gc.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
986
18
jart/cosmopolitan
false
cosmopolitan/examples/hello.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
964
19
jart/cosmopolitan
false
cosmopolitan/examples/nesemu1.cc
/* NESEMU1 :: EMULATOR FOR THE NINTENDO ENTERTAINMENT SYSTEM (R) ARCHITECTURE */ /* WRITTEN BY AND COPYRIGHT 2011 JOEL YLILUOMA ── SEE: http://iki.fi/bisqwit/ */ /* PORTED TO TELETYPEWRITERS IN YEAR 2020 BY JUSTINE ALEXANDRA ROBERTS TUNNEY */ /* TRADEMARKS ARE OWNED BY THEIR RESPECTIVE OWNERS LAWYERCATS LUV TAUTOLO...
59,766
1,868
jart/cosmopolitan
false
cosmopolitan/examples/rlimit.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,975
74
jart/cosmopolitan
false
cosmopolitan/examples/clock_getres.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,996
59
jart/cosmopolitan
false
cosmopolitan/examples/symtab.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,534
43
jart/cosmopolitan
false
cosmopolitan/examples/setitimer.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,683
73
jart/cosmopolitan
false
cosmopolitan/examples/statfs.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
5,490
164
jart/cosmopolitan
false
cosmopolitan/examples/hello2.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
901
17
jart/cosmopolitan
false
cosmopolitan/examples/ttyinfo.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
4,799
167
jart/cosmopolitan
false
cosmopolitan/examples/check.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
3,623
89
jart/cosmopolitan
false
cosmopolitan/examples/unbourne.c
/*bin/echo ' #-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;coding:utf-8 -*-┤ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
301,774
11,037
jart/cosmopolitan
false
cosmopolitan/examples/tls.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,049
24
jart/cosmopolitan
false
cosmopolitan/examples/datauri.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,940
64
jart/cosmopolitan
false
cosmopolitan/examples/crashreport.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,550
43
jart/cosmopolitan
false
cosmopolitan/examples/forkexec.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,066
24
jart/cosmopolitan
false
cosmopolitan/examples/hello3.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
940
18
jart/cosmopolitan
false
cosmopolitan/examples/sysinfo.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,739
80
jart/cosmopolitan
false
cosmopolitan/examples/stackoverflow.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
3,158
78
jart/cosmopolitan
false
cosmopolitan/examples/hangman.c
/* UNIX v7 usr/src/games/hangman.c * * Copyright 2002 Caldera International Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code and documentation must retain the * above co...
4,474
198
jart/cosmopolitan
false
cosmopolitan/examples/hostname.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,105
22
jart/cosmopolitan
false
cosmopolitan/examples/script.txt
SCRIPT(1) Cosmopolitan General Commands Manual SCRIPT(1) 𝐍𝐀𝐌𝐄 𝘀𝗰𝗿𝗶𝗽𝘁 — make typescript of terminal session 𝐒𝐘𝐍𝐎𝐏𝐒𝐈𝐒 𝘀𝗰𝗿𝗶𝗽𝘁 [-𝗮𝗱𝗲𝗳𝗸𝗽𝗾𝗿] [-𝐅 p̲i̲p̲e̲] [-𝘁 t̲i̲m̲e̲] [f̲i̲lÌ...
5,030
101
jart/cosmopolitan
false
cosmopolitan/examples/stat.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
3,314
102
jart/cosmopolitan
false
cosmopolitan/examples/mkhello.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
930
18
jart/cosmopolitan
false
cosmopolitan/examples/ucontext-sigfpe-recovery.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,148
50
jart/cosmopolitan
false
cosmopolitan/examples/getdomainname.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,009
22
jart/cosmopolitan
false
cosmopolitan/examples/loadavg.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,041
21
jart/cosmopolitan
false
cosmopolitan/examples/greenbean.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
11,539
344
jart/cosmopolitan
false
cosmopolitan/examples/img.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,933
107
jart/cosmopolitan
false
cosmopolitan/examples/shutdown.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,521
40
jart/cosmopolitan
false
cosmopolitan/examples/whois.c
/*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ │vi: set et ft=c ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
16,492
618
jart/cosmopolitan
false
cosmopolitan/examples/decompress.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,788
99
jart/cosmopolitan
false
cosmopolitan/examples/life.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
813
14
jart/cosmopolitan
false
cosmopolitan/examples/crashreport2.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,170
54
jart/cosmopolitan
false
cosmopolitan/examples/x86split.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,781
90
jart/cosmopolitan
false
cosmopolitan/examples/printargs.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
853
15
jart/cosmopolitan
false
cosmopolitan/examples/system.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,140
27
jart/cosmopolitan
false
cosmopolitan/examples/kilo.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
42,415
1,404
jart/cosmopolitan
false
cosmopolitan/examples/panels.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
5,275
179
jart/cosmopolitan
false
cosmopolitan/examples/forkrand.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,568
42
jart/cosmopolitan
false
cosmopolitan/examples/linenoise.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,104
24
jart/cosmopolitan
false
cosmopolitan/examples/rusage.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
4,766
128
jart/cosmopolitan
false
cosmopolitan/examples/hellolua.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,274
31
jart/cosmopolitan
false
cosmopolitan/examples/seq.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,336
40
jart/cosmopolitan
false
cosmopolitan/examples/picol.c
/* Tcl in ~ 500 lines of code. * * Copyright (c) 2007-2016, Salvatore Sanfilippo <antirez at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of sourc...
17,542
652
jart/cosmopolitan
false
cosmopolitan/examples/getrandom.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
7,865
321
jart/cosmopolitan
false
cosmopolitan/examples/date.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,032
22
jart/cosmopolitan
false
cosmopolitan/examples/walk.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,464
56
jart/cosmopolitan
false
cosmopolitan/examples/cplusplus-stl.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,446
39
jart/cosmopolitan
false
cosmopolitan/examples/hiredis.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,937
56
jart/cosmopolitan
false
cosmopolitan/examples/generalized-automatic-datastructure-printing.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,965
53
jart/cosmopolitan
false
cosmopolitan/examples/auto-memory-safety-crash.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
2,808
63
jart/cosmopolitan
false
cosmopolitan/examples/nanosleep_test.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,689
44
jart/cosmopolitan
false
cosmopolitan/examples/cplusplus.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,422
54
jart/cosmopolitan
false
cosmopolitan/examples/examples.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ PKGS += EXAMPLES ifeq ($(MODE),tiny) EXAMPLES_BOOTLOADER = $(CRT) $(APE) else EXAMPLES_BOOTLOADER = $(CRT) $(APE_NO_MO...
5,518
201
jart/cosmopolitan
false
cosmopolitan/examples/uname.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,308
25
jart/cosmopolitan
false
cosmopolitan/examples/nc.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
4,430
161
jart/cosmopolitan
false
cosmopolitan/examples/hellolua.lua
print(string.format("2 + 3 = %g", NativeAdd(2, 3)))
52
2
jart/cosmopolitan
false
cosmopolitan/examples/stringbuffer.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,507
38
jart/cosmopolitan
false
cosmopolitan/examples/portscan.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
4,011
128
jart/cosmopolitan
false
cosmopolitan/examples/clock.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,639
42
jart/cosmopolitan
false
cosmopolitan/examples/script.c
/*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ │vi: set et ft=c ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
13,071
522
jart/cosmopolitan
false
cosmopolitan/examples/auto-memory-safety-crash2.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
3,274
81
jart/cosmopolitan
false
cosmopolitan/examples/vqsort.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,204
26
jart/cosmopolitan
false
cosmopolitan/examples/reboot.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,514
40
jart/cosmopolitan
false
cosmopolitan/examples/dot.c
#if 0 /*─────────────────────────────────────────────────────────────────╗ │ To the extent possible under law, Justine Tunney has waived │ │ all copyright and related or neighbo...
1,605
43
jart/cosmopolitan
false
cosmopolitan/examples/package/program.c
#include "examples/package/lib/myprint.h" int main(int argc, char *argv[]) { MyPrint("welcome to your package\n"); return 0; }
132
7
jart/cosmopolitan
false
cosmopolitan/examples/package/new.sh
#!/bin/sh # # SYNOPSIS # # Creates new package in repository. # # EXAMPLE # # examples/package/new.sh com/github/user/project DIR=${1:?need directory arg} VAR=$(echo "$DIR" | tr a-z A-Z | tr / _) DIRNAME=${DIR%/*} BASENAME=${DIR##*/} FILENAME="$DIR/$BASENAME" MAKEFILE="$DIR/$BASENAME.mk" if [ -d "$DIR" ]; then ...
979
41
jart/cosmopolitan
false
cosmopolitan/examples/package/build.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ # # SYNOPSIS # # Your package build config for executable programs # # DESCRIPTION # # We assume each .c file in thi...
2,374
74
jart/cosmopolitan
false
cosmopolitan/examples/package/lib/myasm.S
#include "libc/macros.internal.h" // Example assembly function. // // @note param agnostic // @note we love stack frames // easiest way to do backtraces // somehow they usually make code faster // it's convention for keeping stack 16-byte aligned // cpus still devote much to pushing & popping b/c i386 MyAsm: #ifd...
498
26
jart/cosmopolitan
false
cosmopolitan/examples/package/lib/build.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ # # SYNOPSIS # # Your package static library build config # # DESCRIPTION # # Your library doesn't have a main() fun...
4,571
113
jart/cosmopolitan
false
cosmopolitan/examples/package/lib/myprint.c
#include "examples/package/lib/myprint.h" #include "libc/stdio/stdio.h" /** * Calls MyPrint2() indirected via assembly function. */ void MyPrint(const char *s) { MyAsm(s); } /** * Prints string to output. * * @param s is null-terminated c string usually having \n * @see printf() which has domain-specific lang...
382
20
jart/cosmopolitan
false
cosmopolitan/examples/package/lib/myprint.h
#ifndef COSMOPOLITAN_EXAMPLES_PACKAGE_LIB_MYPRINT_H_ #define COSMOPOLITAN_EXAMPLES_PACKAGE_LIB_MYPRINT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void MyPrint(const char *); void MyAsm(const char *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_EXAMPLES...
347
12
jart/cosmopolitan
false
cosmopolitan/examples/pyapp/pyapp.py
def main(): print('cosmopolitan is cool!') if __name__ == '__main__': main()
81
5
jart/cosmopolitan
false
cosmopolitan/examples/pyapp/pyapp.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ # # SYNOPSIS # # Actually Portable Python Tutorial # # DESCRIPTION # # This tutorial demonstrates how to compile Pyt...
4,844
117
jart/cosmopolitan
false
cosmopolitan/examples/pylife/pylife.py
import sys sys.exit(42)
24
3
jart/cosmopolitan
false
cosmopolitan/examples/pylife/pylife.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ # # SYNOPSIS # # Actually Portable Python Tutorial # # DESCRIPTION # # This tutorial demonstrates how to compile Pyt...
4,903
117
jart/cosmopolitan
false
cosmopolitan/test/test.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ .PHONY: o/$(MODE)/test o/$(MODE)/test: o/$(MODE)/test/dsp \ o/$(MODE)/test/libc \ o/$(MODE)/test/net \ o/$(MODE)...
331
9
jart/cosmopolitan
false
cosmopolitan/test/libc/test.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ .PHONY: o/$(MODE)/test/libc o/$(MODE)/test/libc: \ o/$(MODE)/test/libc/calls \ o/$(MODE)/test/libc/dns \ ...
813
24
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/arena_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,809
108
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/sortedints_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
5,032
127
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/bisectcarleft_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,441
58
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/strdup_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,315
41
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/malloc_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
6,301
187
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/tarjan_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
5,707
124
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/replacestr_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,467
42
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/arraylist_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,142
104
jart/cosmopolitan
false
cosmopolitan/test/libc/mem/realloc_in_place_test.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,567
43
jart/cosmopolitan
false