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/third_party/stb/stb_vorbis.h
#ifndef COSMOPOLITAN_THIRD_PARTY_STB_STB_VORBIS_H_ #define COSMOPOLITAN_THIRD_PARTY_STB_STB_VORBIS_H_ #include "libc/stdio/stdio.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ enum STBVorbisError { VORBIS__no_error, VORBIS_need_more_data = 1, // not a real error VORBIS_invalid_api_mixing, ...
13,382
265
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_image.h
#ifndef COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_H_ #define COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ enum { STBI_default = 0, // only used for desired_channels STBI_grey = 1, STBI_grey_alpha = 2, STBI_rgb = 3, STBI_rgb_alpha = 4 }; struct FILE; ty...
5,323
119
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_truetype.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:3;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=3 sts=3 sw=3 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
175,752
4,285
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_rect_pack.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:3;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=3 sts=3 sw=3 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
17,586
461
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_rect_pack.h
#ifndef COSMOPOLITAN_THIRD_PARTY_STB_STB_RECT_PACK_H_ #define COSMOPOLITAN_THIRD_PARTY_STB_STB_RECT_PACK_H_ #define STBRP__MAXVAL 0x7fffffff #define STB_RECT_PACK_VERSION 1 #define STBRP_HEURISTIC_Skyline_default 0 #define STBRP_HEURISTIC_Skyline_BL_sortHeight 0 #define STBRP_HEURISTIC_Skyline_BF_sortHe...
1,433
51
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_image_resize.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│ ╞═════════════════════════════════════════════════â•...
94,884
2,374
jart/cosmopolitan
false
cosmopolitan/third_party/stb/stb_image_resize.h
#ifndef COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_RESIZE_H_ #define COSMOPOLITAN_THIRD_PARTY_STB_STB_IMAGE_RESIZE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ // Easy-to-use API: // // * "input pixels" points to an array of image data with 'num_channels' // channels (e.g. RGB=3, RGBA=4) // *...
8,969
193
jart/cosmopolitan
false
cosmopolitan/third_party/puff/README.cosmo
DESCRIPTION puff is a tiny implementation of deflate decompression LICENSE zlib license ORIGIN Origin: git@github.com:madler/zlib.git Commit: 03614c56ad299f9b238c75aa1e66f0c08fc4fc8b Author: Mark Adler <madler@alumni.caltech.edu> Date: Sun Oct 30 08:36:13 2016 -0700 LOCAL CHANGES None.
310
19
jart/cosmopolitan
false
cosmopolitan/third_party/puff/puff.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
40,512
876
jart/cosmopolitan
false
cosmopolitan/third_party/puff/puff.h
#ifndef COSMOPOLITAN_THIRD_PARTY_ZLIB_PUFF_H_ #define COSMOPOLITAN_THIRD_PARTY_ZLIB_PUFF_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #ifndef NIL #define NIL ((unsigned char *)0) /* for no output option */ #endif int _puff(unsigned char *dest, unsigned long *destlen, const unsigned char *s...
473
16
jart/cosmopolitan
false
cosmopolitan/third_party/puff/puff.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 += THIRD_PARTY_PUFF THIRD_PARTY_PUFF_ARTIFACTS += THIRD_PARTY_PUFF_A THIRD_PARTY_PUFF = $(THIRD_PARTY_PUFF_A_DEPS...
1,700
46
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/LICENSE
MIT License Copyright (c) 2023 Georgi Gerganov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, d...
1,072
22
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/common-gptneox.h
// -*- c++; c-basic-offset:4 -*- #ifndef COSMOPOLITAN_THIRD_PARTY_RADPAJAMA_COMMON_GPTNEOX_H_ #define COSMOPOLITAN_THIRD_PARTY_RADPAJAMA_COMMON_GPTNEOX_H_ #include "libc/macros.internal.h" #include "libc/runtime/runtime.h" #include "third_party/libcxx/random" #include "third_party/libcxx/string" #include "third_party/l...
4,703
115
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/gptneox-util.h
// -*- c++; c-basic-offset:4 -*- #ifndef GPTNEOX_UTIL_H #define GPTNEOX_UTIL_H #include "libc/calls/calls.h" #include "libc/calls/struct/rlimit.h" #include "libc/calls/struct/rusage.h" #include "libc/calls/weirdtypes.h" #include "libc/errno.h" #include "libc/runtime/pathconf.h" #include "libc/runtime/runtime.h" #includ...
13,233
442
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/main-redpajama.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
27,956
659
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/quantize-gptneox.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
5,515
123
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/README.cosmo
DESCRIPTION radpajama is a port of ggml for the open source Red Pajama LLM. It started as a fork of redpajama.cpp from Together Computer. LICENSE MIT ORIGIN github.com/togethercomputer/redpajama.cpp/ commit bfa6466199b8ef92185ecb72e2a550e12baf6602 Author: Szhangce <czhang@cs.stanford.edu> Date: Tue M...
430
20
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/gptneox.h
// -*- c++; c-basic-offset:4 -*- #ifndef GPTNEOX_H #define GPTNEOX_H // clang-format off #ifdef GPTNEOX_SHARED # if defined(_WIN32) && !defined(__MINGW32__) # ifdef GPTNEOX_BUILD # define GPTNEOX_API __declspec(dllexport) # else # define GPTNEOX_API __declspec(dllimport) # ...
14,385
274
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/README.md
# gglm Support for RedPajama Model ## Ackonwledgement We highly appreciate the great effort from the fork of [gptneox.cpp](https://github.com/byroneverson/gptneox.cpp). Our support of the RedPajama Model is mainly based on this implementation. We extend the model configure and fixed a bug when setting use_parallel_r...
4,253
144
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/radpajama.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 += THIRD_PARTY_RADPAJAMA ################################################################################ # redpa...
5,606
147
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/gptneox.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
109,223
2,989
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/copy-gptneox.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
4,536
91
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/common-gptneox.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
19,043
395
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/main-redpajama-chat.cc
/*-*-mode:c++;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8-*-│ │vi: set net ft=c++ ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╚─────────────────────────────────────────────────â”...
16,545
390
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/scripts/convert_gptneox_to_ggml.py
// clang-format off # Convert Hugging Face fine-tuned gpt-neox-like models to ggml format import io import os import sys import struct import json import code import torch import numpy as np from transformers import AutoModelForCausalLM, AutoTokenizer # ref: https://github.com/openai/gpt-2/blob/master/src/encoder.py...
4,778
146
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/scripts/install-RedPajama-INCITE-Instruct-3B-v1.sh
// clang-format off #!/bin/bash # cd to scripts dir cd `dirname $0` # download model to models dir echo "Downloading model" python ./convert_gptneox_to_ggml.py togethercomputer/RedPajama-INCITE-Instruct-3B-v1 ../models/pythia # remove temp cache dir echo "Removing temp cache dir" rm -r ../models/pythia-cache # quan...
532
22
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/scripts/install-RedPajama-INCITE-Base-3B-v1.sh
// clang-format off #!/bin/bash # cd to scripts dir cd `dirname $0` # download model to models dir echo "Downloading model" python ./convert_gptneox_to_ggml.py togethercomputer/RedPajama-INCITE-Base-3B-v1 ../models/pythia # remove temp cache dir echo "Removing temp cache dir" rm -r ../models/pythia-cache # quantize...
524
22
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/scripts/quantize-gptneox.py
// clang-format off #!/usr/bin/env python3 """Script to execute the "quantize" script on a given set of models.""" import subprocess import argparse import glob import sys import os def main(): """Update the quantize binary name depending on the platform and parse the command line arguments and execute the ...
4,793
142
jart/cosmopolitan
false
cosmopolitan/third_party/radpajama/scripts/install-RedPajama-INCITE-Chat-3B-v1.sh
// clang-format off #!/bin/bash # cd to scripts dir cd `dirname $0` # download model to models dir echo "Downloading model" python ./convert_gptneox_to_ggml.py togethercomputer/RedPajama-INCITE-Chat-3B-v1 ../models/pythia # remove temp cache dir echo "Removing temp cache dir" rm -r ../models/pythia-cache # quantize...
524
22
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/smallz4.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 += THIRD_PARTY_SMALLZ4 THIRD_PARTY_SMALLZ4_SRCS = $(THIRD_PARTY_SMALLZ4_A_SRCS) THIRD_PARTY_SMALLZ4_HDRS = $(THIR...
3,139
86
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/smallz4.hh
#ifndef COSMOPOLITAN_THIRD_PARTY_SMALLZ4_SMALLZ4_H_ #define COSMOPOLITAN_THIRD_PARTY_SMALLZ4_SMALLZ4_H_ #include "libc/intrin/bits.h" #include "third_party/libcxx/vector" /** * LZ4 compression with optimal parsing * * See smallz4.cc for a basic I/O interface you can easily replace it by * a in-memory version then ...
30,878
808
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/README.cosmo
Source: https://create.stephan-brumme.com/smallz4/ Date: 2022-03-22 License: MIT
87
7
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/smallz4cat.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,336
359
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/stub.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│ ╞═════════════════════════════════════════════════â•...
1,865
21
jart/cosmopolitan
false
cosmopolitan/third_party/smallz4/smallz4.cc
/*-*- 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│ ╚─────────────────────────────────────────────────â”...
11,529
315
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ffsdi2.c
/* clang-format off */ /* ===-- ffsdi2.c - Implement __ffsdi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,029
37
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_trunc_common.inc
/* clang-format off */ //=== lib/fp_trunc.h - high precision -> low precision conversion *- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===------------------...
2,078
78
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_fixuint_impl.inc
/* clang-format off */ //===-- lib/fixdfsi.c - Double-precision -> integer conversion ----*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,526
41
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/divmoddi4.c
/* clang-format off */ /*===-- divmoddi4.c - Implement __divmoddi4 --------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------...
790
29
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/truncsfhf2.c
/* clang-format off */ //===-- lib/truncsfhf2.c - single -> half conversion --------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,076
36
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_extend_common.inc
/* clang-format off */ //===-lib/fp_extend.h - low precision -> high precision conversion -*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------...
2,504
94
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/subsf3.c
/* clang-format off */ //===-- lib/subsf3.c - Single-precision subtraction ---------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,098
36
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/udivmoddi4.c
/* clang-format off */ /* ===-- udivmoddi4.c - Implement __udivmoddi4 -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
6,735
235
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/compiler_rt.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 += THIRD_PARTY_COMPILER_RT THIRD_PARTY_COMPILER_RT_ARTIFACTS += THIRD_PARTY_COMPILER_RT_A THIRD_PARTY_COMPILER_RT...
2,816
64
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/absvti2.c
/* clang-format off */ /* ===-- absvti2.c - Implement __absvdi2 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
962
38
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/negdf2.c
/* clang-format off */ //===-- lib/negdf2.c - double-precision negation ------------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
942
34
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/extendhfsf2.c
/* clang-format off */ //===-- lib/extendhfsf2.c - half -> single conversion -------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,085
37
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/mulxc3.c
/* clang-format off */ /* ===-- mulxc3.c - Implement __mulxc3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
2,602
81
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/int_endianness.h
/* clang-format off */ /* ===-- int_endianness.h - configuration header for compiler-rt ------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===----------------------------...
714
24
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/clzdi2.c
/* clang-format off */ /* ===-- clzdi2.c - Implement __clzdi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------------...
1,484
44
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/floatunsidf.c
/* clang-format off */ //===-- lib/floatunsidf.c - uint -> double-precision conversion ---*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,663
54
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/umodsi3.c
/* clang-format off */ /* ===-- umodsi3.c - Implement __umodsi3 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
735
27
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/divdf3.c
/* clang-format off */ //===-- lib/divdf3.c - Double-precision division ------------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
7,974
198
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/os_version_check.c
/* clang-format off */ /* ===-- os_version_check.c - OS version checking -------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
7,541
205
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixunssfdi.c
/* clang-format off */ /* ===-- fixunssfdi.c - Implement __fixunssfdi -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,494
57
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/multc3.c
/* clang-third_party/compiler_rt/format off */ /* ===-- multc3.c - Implement __multc3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. *...
2,131
63
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixunsdfsi.c
/* clang-format off */ /* ===-- fixunsdfsi.c - Implement __fixunsdfsi -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
881
33
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/paritysi2.c
/* clang-format off */ /* ===-- paritysi2.c - Implement __paritysi2 -------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
845
31
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/divdi3.c
/* clang-format off */ /* ===-- divdi3.c - Implement __divdi3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,227
33
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/cmpti2.c
/* clang-format off */ /* ===-- cmpti2.c - Implement __cmpti2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,093
46
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixdfsi.c
/* clang-format off */ /* ===-- fixdfsi.c - Implement __fixdfsi -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
893
34
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/muldi3.c
/* clang-format off */ /* ===-- muldi3.c - Implement __muldi3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,754
62
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ucmpdi2.c
/* clang-format off */ /* ===-- ucmpdi2.c - Implement __ucmpdi2 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,272
55
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/negdi2.c
/* clang-format off */ /* ===-- negdi2.c - Implement __negdi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
814
30
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixxfti.c
/* clang-format off */ /* ===-- fixxfti.c - Implement __fixxfti -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------------...
1,665
55
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/lshrdi3.c
/* clang-format off */ /* ===-- lshrdi3.c - Implement __lshrdi3 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,396
49
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_trunc_impl.inc
/* clang-format off */ //= lib/fp_trunc_impl.inc - high precision -> low precision conversion *-*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
6,026
138
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/divmodsi4.c
/* clang-format off */ /*===-- divmodsi4.c - Implement __divmodsi4 --------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------...
793
31
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/cmpdi2.c
/* clang-format off */ /* ===-- cmpdi2.c - Implement __cmpdi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,262
55
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/floattitf.c
/* clang-format off */ //===-- lib/floattitf.c - int128 -> quad-precision conversion -----*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
3,084
86
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_mul_impl.inc
/* clang-format off */ //===---- lib/fp_mul_impl.inc - floating point multiplication -----*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
4,882
119
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixsfdi.c
/* clang-format off */ /* ===-- fixsfdi.c - Implement __fixsfdi -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,407
59
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/udivmodsi4.c
/* clang-format off */ /*===-- udivmodsi4.c - Implement __udivmodsi4 ------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------...
795
31
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ffsti2.c
/* clang-format off */ /* ===-- ffsti2.c - Implement __ffsti2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,085
41
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ffssi2.c
/* clang-format off */ /* ===-- ffssi2.c - Implement __ffssi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
883
33
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ilogbl.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│ ╚─────────────────────────────────────────────────â”...
3,862
91
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/moddi3.c
/* clang-format off */ /*===-- moddi3.c - Implement __moddi3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-------------------...
1,133
34
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/addsf3.c
/* clang-format off */ //===-- lib/addsf3.c - Single-precision addition ------------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
1,037
34
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixxfdi.c
/* clang-format off */ /* ===-- fixxfdi.c - Implement __fixxfdi -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------------...
1,641
52
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fp_lib.inc
/* clang-format off */ //===-- lib/fp_lib.h - Floating-point utilities -------------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
10,606
315
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixunstfdi.c
/* clang-format off */ /* ===-- fixunstfdi.c - Implement __fixunstfdi -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
713
26
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/int_types.h
/* clang-format off */ /* ===-- int_lib.h - configuration header for compiler-rt -----------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
3,076
162
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/floatdidf.c
/* clang-format off */ /*===-- floatdidf.c - Implement __floatdidf -------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * *===-------------------...
3,801
120
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/logbl.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│ ╚─────────────────────────────────────────────────â”...
3,026
51
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/udivsi3.c
/* clang-format off */ /* ===-- udivsi3.c - Implement __udivsi3 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,975
72
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ashrdi3.c
/* clang-format off */ /*===-- ashrdi3.c - Implement __ashrdi3 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------...
1,485
50
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/comprt.S
#include "libc/macros.internal.h" // Nop ref this to force pull the license into linkage. .section .yoink huge_compiler_rt_license: ret .endobj huge_compiler_rt_license,globl,hidden .previous .ident "\n compiler_rt (Licensed MIT) Copyright (c) 2009-2015 by the contributors listed in: github.com/llvm-mirror/compil...
2,193
51
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/comparesf2.c
/* clang-format off */ //===-- lib/comparesf2.c - Single-precision comparisons -----------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
4,515
158
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ctzsi2.c
/* clang-format off */ /* ===-- ctzsi2.c - Implement __ctzsi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,844
61
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/truncdfhf2.c
/* clang-format off */ //===-- lib/truncdfhf2.c - double -> half conversion --------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
829
30
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixtfsi.c
/* clang-format off */ /* ===-- fixtfsi.c - Implement __fixtfsi -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
733
27
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixunsdfti.c
/* clang-format off */ /* ===-- fixunsdfti.c - Implement __fixunsdfti -----------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
747
27
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ctzdi2.c
/* clang-format off */ /* ===-- ctzdi2.c - Implement __ctzdi2 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,494
44
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/fixsfsi.c
/* clang-format off */ /* ===-- fixsfsi.c - Implement __fixsfsi -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
893
34
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ashrti3.c
/* clang-format off */ /* ===-- ashrti3.c - Implement __ashrti3 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,429
50
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/ucmpti2.c
/* clang-format off */ /* ===-- ucmpti2.c - Implement __ucmpti2 -----------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,097
46
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/powidf2.c
/* clang-format off */ /* ===-- powidf2.cpp - Implement __powidf2 ---------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
910
38
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/floatundixf.c
/* clang-format off */ /* ===-- floatundixf.c - Implement __floatundixf ---------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===-----------------...
1,431
46
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/floatuntitf.c
/* clang-format off */ //===-- lib/floatuntitf.c - uint128 -> quad-precision conversion --*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
2,956
83
jart/cosmopolitan
false
cosmopolitan/third_party/compiler_rt/divsc3.c
/* clang-format off */ /*===-- divsc3.c - Implement __divsc3 -------------------------------------=== * * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. * * ===------------------...
2,479
67
jart/cosmopolitan
false