sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
8d57210a2fe3c73b86f554a1529d0b120484d54d83756a2cbb76977cada10676
C
44,138
1,435
/* ricecomp.c */ /* Copyright (Unpublished--all rights reserved under the copyright laws of the United States), U.S. Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S. Code. Permission to free...
6886b91e07710b45571734f3ef08a2dea2fd1443718c08459f7c1d238bcb8a6d
C
45,733
1,310
//======================================================================== // GLFW 3.4 Wayland - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2014 Jonas Ådahl <jadahl@gmail.com> // // This software is provided 'as-is', without any express or implied // warrant...
d47805ee0593572ddfeddae6359601edbe233c0635b17f14f9c65622e477aac7
C
45,765
1,535
/* thread_pool.c -- A pool of generic worker threads Copyright (c) 2013-2020 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> 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 Softwa...
64ee8e88b8a59f06adabb276005d320af1bf55497412b4180fece170b9233e2e
C
46,485
1,531
/* ccitt.c */ /* Initially generated with assistance from Claude (Anthropic), then reviewed and adapted by Christoph Gohlke. */ /* SPDX-License-Identifier: 0BSD Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS"...
1e60b349084c00d00b1895df224f74c049d76fe3bad401b1dacb7cb797797036
C
46,486
1,494
/* * Copyright (c) 2011-2013, 2018-2022 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright no...
f56533a874ea58afee30522e41419f1f14e0a97e55e55957f4016926b8c5e89b
C
47,694
1,467
/* synced_bcf_reader.c -- stream through multiple VCF files. Copyright (C) 2012-2021 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> 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 ...
b8454dac15f9c0b857e5dcf97e2213df453b3e87c8c4f4b802272effdf6bfb61
C
48,108
1,226
// // Created by sachetto on 11/11/17. // #include <bits/stdint-uintn.h> #include <float.h> #include <string.h> #include <sys/types.h> //This need to be before RAYGUI_IMPLEMENTATION #include "gui.h" #include "gui_colors.h" #include "gui_mesh_helpers.h" #include "gui_window_helpers.h" #include "gui_draw.h" #include "g...
34fca123619bbedb902545195568091fbbcbe05d7f1fd35d80aaca4aba539796
C
48,444
1,144
//// //// Created by sachetto on 06/10/17. //// #include <criterion/criterion.h> #include "../3dparty/ini_parser/ini.h" #include "../3dparty/sds/sds.h" #include "../3dparty/stb_ds.h" #include "../alg/grid/grid.h" #include "../config/domain_config.h" #include "../config/save_mesh_config.h" int test_cuboid_mesh(char *s...
7a31826487b31cf3db977cae7ed93c37fa07df88c013becd9fe3d6c7ca3a21e4
C
48,678
1,899
/* now called sos_triangle ! */ /* surface: This program is part of the HOLE suit of programs */ /* Copyright Guy M.P. Coates 1998-1999 */ /* Version 1.1 */ /* OSS 11.2000 introduce vmd option RENAME surface to sos_triangle */ /* OSS 11.2000 reorder_triangle function introduced to sort */ /* out smoothed...
3b2b6ff510565ed3fafa28d13bc3bdc1b52b638c08f8c487cb1335ef236b5da5
C
49,242
1,563
/* hfile_libcurl.c -- libcurl backend for low-level file streams. Copyright (C) 2015-2017, 2019-2020 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
7aaff034e227eca1ed450e4fd8b01a4811d85b82f845fbaf1464dc6a370df0e7
C
49,389
1,111
// // Created by sachetto on 13/10/17. // #include <stdbool.h> #include <stdlib.h> #include "../3dparty/sds/sds.h" #include "../alg/grid/grid.h" #include "../config/save_mesh_config.h" #include "../utils/utils.h" #include "../extra_data_library/helper_functions.h" #include "../domains_library/mesh_info_data.h" #incl...
98a722fff1706eab3432088cf4389fbf072e097f73b67fc84a29aea02e05bfae
C
49,444
1,473
// Shuffle.c // Random permutation of array elements // SHUFFLE works in Inplace, Index and Derange mode: // // 1. INPLACE MODE: Y = Shuffle(X, Dim) -------------------------------------- // The elements of the input array are randomly re-ordered along the specified // dimension. In opposite to X(RANDPERM(LENGTH(X)) ...
5cb1364c64180e24645a82b35f5c957b540ae7954c2f4b6952b736657d7b8100
C
51,868
721
#define IFNUMBER_1(name)if((celltype==1.000000000000000e+00f)) { (name) = (cmdnmax_b*1.300000000000000e+00f); } else{ (name) = cmdnmax_b; } #define IFNUMBER_2(name)if((v_old_>=(-4.000000000000000e+01f))) { (name) = 0.000000000000000e+00f; } else{ (name) = (5.700000000000000e-02f*exp(((-(v_old_+8.000000000000...
31f79e2821375acfa788abdbcd8e54b0f15e6ca964656d65ab72baeaf7b85447
C
52,135
1,321
#include <stdlib.h> #include <string.h> #include <assert.h> #include <errno.h> #include <cinttypes> #include <algorithm> #include <tuple> #include <omp.h> #include <iostream> #include "kthread.h" #include "kvec.h" #include "kalloc.h" #include "sdust.h" #include "mmpriv.h" #include "bseq.h" #include "khash.h" struct mm...
aa932bdea3dc8e6d1867b25a7b009f8aece4acca9bd0eab56499085f82924fef
C
53,066
1,691
/* * Copyright (c) 2017-2023 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * ...
4bc8786638742007bb3d04e50304068780dc89fe60f454390db51e6dbfa2b605
C
53,198
1,227
static struct element fill_element(uint32_t position, enum transition_direction direction, real_cpu dx, real_cpu dy, real_cpu dz, real_cpu sigma_x, real_cpu sigma_y, real_cpu sigma_z, struct element *cell_elements, struct cell_node *cell); static void initialize_diagonal_elements(str...
fa61c517a2066face55e55102702df5f993fcd55df299c7da6c50c41669d6137
C
55,946
1,814
//======================================================================== // GLFW 3.4 Wayland - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2014 Jonas Ådahl <jadahl@gmail.com> // // This software is provided 'as-is', without any express or implied // warrant...
47dcfd8460eac5580fa92a2e83162f357c75c2f53b46d44d91e5653c56e38399
C
57,892
1,782
// // Created by bergolho on 02/06/21. // #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "../3dparty/sds/sds.h" #include "../3dparty/stb_ds.h" #include "../alg/grid/grid.h" #include "../config/assembly_matrix_config.h" #include "../libraries_common/common_d...
3a9957b5e02b5fb87396bb7adb45e9df3424c5c72bde40e13b93386a32e11bc3
C
60,981
1,500
//======================================================================== // GLFW 3.4 X11 - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org> // // This software is provided 'a...
48acb9e3b6982fe238b0b6891b33a02899875b2893b2851ba978c1bf3edebc58
C
61,496
1,808
/* * Copyright (c) 2016-2022 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, *...
d2f20e88f9f48c2d88714aea2fad4b10818df1e3b4077a45bc47b8bf28382508
C
63,136
1,673
/* real membrane_v; real ions_na_junc; real ions_na_sl; real ions_na_i; real ions_k_i; real ions_ca_junc; real ions_ca_sl; real ions_ca_i; real ions_cl_i; real ions_ca_SR; real buffers_NaBj; real buffers_NaBsl; real buffers_TnClow; real buffers_TnCHc; real buffers_TnCHm; real buffe...
ac9cac4ccd74fda754cc2824485efefc5c1d05972bfa0ce8ad2ef2f02d55bccb
C
64,904
1,650
/* * Copyright (c) 2017-2023 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * ...
7073d3d94a559ec7989005ed946a0a2cd6df671d46325d23d860ebd2c855e69d
C
66,819
1,166
// // Created by sachetto on 30/09/17. // #include "cell.h" #include "string.h" #include "../../3dparty/stb_ds.h" #include <assert.h> #define SET_TRANSITION_NODE(t_node, direction) \ do { ...
1445603d451c5f765f2e785b82ad41ed9da5aee924d0e8f086ea36deca883ab0
C
67,109
2,072
/* * Bitshuffle - Filter for improving compression of typed binary data. * * Author: Kiyoshi Masui <kiyo@physics.ubc.ca> * Website: https://www.github.com/kiyo-masui/bitshuffle * Created: 2014 * * See LICENSE file for details about copyright and rights to use. * */ #include "bitshuffle_core.h" #include "bitsh...
258564b67f6d71e3052dfe6a797939f7dddb974626c071fc81361d9cfc53d72c
C
68,682
1,723
// Model Parameters // TODO: Current multipliers (this will become extra_data later!) real INa_Multiplier = 1.0; real INaL_Multiplier = 1.0; real INab_Multiplier = 1.0; real INaK_Multiplier = 1.0; real IKr_Multiplier = 1.0; real IKs_Multiplier = 1.0; real IKb_Multiplier = 1.0; real Itos_Multiplier = 1.0; real Itof_Mul...
1d97d3f27e7668644eafcd2d0794a9626028a63cf9cdfb0297f5e1cdd0231830
C
69,388
1,797
/********************************************************************************************** * * rtext - Basic functions to load fonts and draw text * * CONFIGURATION: * * #define SUPPORT_FILEFORMAT_FNT * #define SUPPORT_FILEFORMAT_TTF * Selected desired fileformats to be supported for loading. Some of...
aa467533c75e79c69eb2192e5f7860766d82827cc3e656590469782c3742adfc
C
69,775
2,226
#include "lbfgsb.h" static integer c__1 = 1; /* Table of constant values */ static integer c__11 = 11; /* Subroutine */ int active(integer *n, double *l, double *u, integer *nbd, double *x, integer *iwhere, integer *iprint, logical *prjctd, logical *cnstnd, logical *boxed) { /* System generated locals */ ...
d4dc7c0adc75bdd478fc85f2c5e7f7a74303d67ed0d4d87a8575e7b445cec2e5
C
69,919
1,638
/****************************************************************************** * * This file is part of meryl-utility, a collection of miscellaneous code * used by Meryl, Canu and others. * * This software is based on: * 'Canu' v2.0 (https://github.com/marbl/canu) * which is based on: * ...
1cebc60351495627ded8ad50b2b3a18b69fdb4ed2637f26ad0677138351629a3
C
70,728
1,774
/* * Copyright (c) 2017-2023 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * ...
f2ef332f2717cb9bdc15884e4ef7c6ddf8feb3db7e862df26c749672d1f4b012
C
71,838
1,247
// // Created by bergolho on 30/09/20. // #include <stdbool.h> #include <stdlib.h> #include "../3dparty/sds/sds.h" #include "../alg/grid/grid.h" #include "../config/save_mesh_config.h" #include "../utils/utils.h" #include "../extra_data_library/helper_functions.h" #include "../domains_library/mesh_info_data.h" #incl...
7367a52b445c0202f8cecf928b66254ce1671bcbe20a7a238c0df909f9c05f58
C
72,664
1,743
// // Created by sachetto on 03/10/17. // #ifdef COMPILE_GUI #include "../gui/gui.h" #endif #ifdef COMPILE_CUDA #include "../gpu_utils/gpu_utils.h" #endif #include "../3dparty/stb_ds.h" #include "../config/modify_current_domain_config.h" #include "../config/stim_config.h" #include "../libraries_common/common_data_st...
291635cc0d9ef97571e8fb20d6ec483c999dd0bb2f206a344a001b0dadbb7f0d
C
72,919
1,812
/********************************************************************************************** * * rshapes - Basic functions to draw 2d shapes and check collisions * * NOTES: * Shapes can be draw using 3 types of primitives: LINES, TRIANGLES and QUADS. * Some functions implement two drawing options: TRIANG...
83933492e9f812764d5f4f3e41ad6d3c3bc5043639dc27bc28d0664b1e616eca
C
73,279
1,847
#include "gui_colors.h" #include <math.h> static float color_scales[NUM_SCALES][NUM_COLORS][3] = { { //RAINBOW {0.2298057,0.298717966,0.753683153}, {0.234299935,0.305559204,0.759874796}, {0.238810063,0.312388385,0.766005866}, {0.243336663,0.319205292,...
167aef2cdccaef29cff2a97c9f407732503415f0143c024d2f97d97e26b75fa3
C
74,180
2,405
//======================================================================== // GLFW 3.4 Win32 - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org> // // This software is provided ...
6bfee9eb19af8a59447445a40f88f1c5f092515de9373d42584c87abbd837c14
C
75,129
1,438
// // Created by sachetto on 19/03/2021. // #include "helper_functions.h" #include <stdlib.h> #include <stdio.h> #include "../config_helpers/config_helpers.h" struct extra_data_for_fibrosis* set_common_schemia_data(struct config *config, uint32_t num_cells) { struct extra_data_for_fibrosis *extra_data = MALLOC_...
2bbb7802332882294cadeaa0623c59f330edd152a38391b34d7a97206502df06
C
75,318
1,962
/* * Copyright (c) 2017-2023 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * ...
9a0b35829c2b8d64f2f04a14c7d7299d8fd0fb7a44f9dfbc0f02e94979e172cd
C
80,224
2,740
/* Copyright (c) 2018-2020 Genome Research Ltd. Authors: James Bonfield <jkb@sanger.ac.uk>, Valeriu Ohan <vo2@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain th...
3160c676ed7bb1b53630e3fe789629ffd3582831c6cdb95c4a5214097e406977
C
80,935
3,123
/* dwarf.c -- Get file/line information from DWARF for backtraces. Copyright (C) 2012-2016 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Re...
1b7f890db6079bbef26094dd6bbb3975b8d34b7093eeba67189342d8b6f92533
C
82,052
2,579
/* The MIT License Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology 2011, 2012 Attractive Chaos <attractor@live.co.uk> Copyright (C) 2009, 2013-2021 Genome Research Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
02b98f3af3a7e31a21fbecea2501e8f9183a99b22b42452699d1810dc4342283
C
82,458
2,289
/* test/sam.c -- SAM/BAM/CRAM API test cases. Copyright (C) 2014-2020, 2022 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> 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 Softwar...
144f0b2ca78cf035f0cfb37807139ad3437c1f33ba109fbab1d3daf7be334f8c
C
85,405
3,445
/* hcompress.c */ /* Copyright (Unpublished--all rights reserved under the copyright laws of the United States), U.S. Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S. Code. Permission to fre...
3321a776a27098daf41b438e40e2367eb1bf63b3260a5cfe992cd80ef513e8d4
C
85,945
2,158
#include <assert.h> #include <string.h> #include "../3dparty/ini_parser/ini_file_sections.h" #include "../3dparty/sds/sds.h" #include "../3dparty/tinyexpr/tinyexpr.h" #include "../utils/file_utils.h" #include "config_parser.h" #include "../3dparty/stb_ds.h" #include "postprocessor_config.h" static const char *batch_o...
679d82b3c68603c303a8d233fcaa849823d0bef14bdec02914fd3ce39ac14438
C
87,260
2,983
/* imagecodecs/imcd.c */ /* Copyright (c) 2008-2026, Christoph Gohlke. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
49d8d17b3bfa193c1f5ef3628851e14308abcaa33107edf4c1a78d2140da84bb
C
89,424
3,313
/* The interface routines for reading and writing PLY polygon files. Greg Turk --------------------------------------------------------------- A PLY file contains a single polygonal _object_. An object is composed of lists of _elements_. Typical elements are vertices, faces, edges and materials. Each type of ele...
ff7a0cc98b3becaadaa55e2e7cbe9fd98c955de6c56a3ff22d36b632e178a790
C
92,383
2,380
/********************************************************************************************** * * raudio v1.0 - A simple and easy-to-use audio library based on miniaudio * * FEATURES: * - Manage audio device (init/close) * - Manage raw audio context * - Manage mixing channels * - Load and ...
c7931f0a5d54488659eb973dda2aa05762b22e51545f4f3724629c16a03d1be6
C
95,515
2,640
// // Created by sachetto on 30/10/18. // // #include "../3dparty/fast_double_parser.h" #include "vtk_unstructured_grid.h" #include "../3dparty/stb_ds.h" #include "../3dparty/xml_parser/yxml.h" #include "../domains_library/mesh_info_data.h" #include "../logger/logger.h" #include "../utils/file_utils.h" #include "data...
f90e629a2c38e84ecb62fa3e298e1975c9b629920ee8696aa4316c636ae02f83
C
104,425
3,310
//======================================================================== // GLFW 3.4 X11 - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org> // // This software is provided 'a...
b69b9caa434f8919e75da82d63d4d5d6b8ee8a37b40898d09a3fb06be1564014
C
109,362
1,791
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <glad/gl.h> #ifndef GLAD_IMPL_UTIL_C_ #define GLAD_IMPL_UTIL_C_ #ifdef _MSC_VER #define GLAD_IMPL_UTIL_SSCANF sscanf_s #else #define GLAD_IMPL_UTIL_SSCANF sscanf #endif #endif /* GLAD_IMPL_UTIL_C_ */ int GLAD_GL_VERSION_1_0 = 0; int GLAD_GL_VERSIO...
a234a9340f61c802a25d8b95f260f9ab570cde480600458a4db885730d486290
C
110,179
1,754
/* =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. ...
5c9da7c0d5a44433909be444d08f18f6e7242067afab6b13ccfb73b408e82146
C
124,606
4,123
/* Copyright (c) 2012-2021,2023 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, thi...
e0992a363655d9c9bc194e26fcf3c76f28c8be6ec5b9744fecb5704eff1d3766
C
125,126
3,580
/* Copyright (c) 2012-2020, 2022 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, th...
fdfef52de9554b17bf08cba9dae09bae7dd3588ab900787b6c5dce396ea09876
C
143,312
4,004
/* Copyright (c) 2012-2020, 2022-2023 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notic...
c5a5004645096d54e28599a2b17b0a4dcc4bd2aa987fd53497d2e6bfaa36ef40
C
156,914
6,101
/*_________ / \ tinyfiledialogs.c v2.9.3 [July 12, 2017] zlib licence |tiny file| Unique code file created [November 9, 2014] | dialogs | Copyright (c) 2014 - 2017 Guillaume Vareille http://ysengrin.com \____ ___/ http://tinyfiledialogs.sourceforge.net \| git://git.cod...
7c31fa6d7b688121337a2a0e10f3a2581dc998202312963075d1b0ed12f9af3d
C
161,463
4,929
/* hts.c -- format-neutral I/O, indexing, and iterator API functions. Copyright (C) 2008, 2009, 2012-2023 Genome Research Ltd. Copyright (C) 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
bfbd4e7cec9c3a61f94acce66537053aecb9c93afdbfb8c4089ea4ba49df10ae
C
174,152
5,942
/* Copyright (c) 2012-2023 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
4c3cd105ea218c2ea20e6ecf6df852cffbb78c8a95c15da3efa9975b20a696e2
C
180,936
5,281
/* vcf.c -- VCF/BCF API functions. Copyright (C) 2012, 2013 Broad Institute. Copyright (C) 2012-2023 Genome Research Ltd. Portions copyright (C) 2014 Intel Corporation. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
ea13b2802cb621a5659c3156c5620b4ef126a2fb386e3323add14aad68756064
C
183,685
4,507
/* Generated by Cython 3.2.4 */ #ifndef PY_SSIZE_T_CLEAN #define PY_SSIZE_T_CLEAN #endif /* PY_SSIZE_T_CLEAN */ /* InitLimitedAPI */ #if defined(Py_LIMITED_API) #if !defined(CYTHON_LIMITED_API) #define CYTHON_LIMITED_API 1 #endif #elif defined(CYTHON_LIMITED_API) #ifdef _MSC_VER #pragma message ("Limited API...
eae08b5262b614627fab4eecd2390bf9f268b5380bda3a6e65cb9de7bd7d4530
C
192,840
1,595
# 1 "CMakeCUDACompilerId.cu" # 64 "CMakeCUDACompilerId.cu" extern const char *info_compiler; extern const char *info_simulate; # 377 "CMakeCUDACompilerId.cu" static const char info_version[50]; # 406 "CMakeCUDACompilerId.cu" static const char info_simulate_version[41]; # 426 "CMakeCUDACompilerId.cu" extern const char ...
109ebdb028d28d3f3f7401ec8f808c86a6c69b1fdb3a6af8fdc92a7398d7d2ee
C
193,699
1,615
# 1 "CMakeCUDACompilerId.cu" # 492 "CMakeCUDACompilerId.cu" extern const char *info_compiler; extern const char *info_simulate; # 819 "CMakeCUDACompilerId.cu" static const char info_version[50]; # 848 "CMakeCUDACompilerId.cu" static const char info_simulate_version[41]; # 868 "CMakeCUDACompilerId.cu" extern const char...
c6b4bc43b05755dc71b133a9c1a82ec69b1a24310def3a85e58f47b4dda877c3
C
199,426
4,761
/********************************************************************************************** * * rtextures - Basic functions to load and draw textures * * CONFIGURATION: * * #define SUPPORT_FILEFORMAT_BMP * #define SUPPORT_FILEFORMAT_PNG * #define SUPPORT_FILEFORMAT_TGA * #define SUPPORT_FILEFORMAT_JPG *...
59243c1ca05956f124c7debef763b707378b52e4dbfeaf17e6192917dd8c8dc2
C
199,677
6,980
/* SPDX-License-Identifier: (BSD-2-Clause AND libpng-2.0) */ #define SPNG__BUILD #include "spng.h" #include <limits.h> #include <string.h> #include <stdio.h> #include <math.h> #define ZLIB_CONST #ifdef __FRAMAC__ #define SPNG_DISABLE_OPT #include "tests/framac_stubs.h" #else #ifdef SPNG_USE_MINIZ ...
06dc2d2b7ce61fbacabf736326a04ea386a2be97aca2f06425e4433e07c79977
C
199,731
6,982
/* SPDX-License-Identifier: (BSD-2-Clause AND libpng-2.0) */ #define SPNG__BUILD #include "spng.h" #include <limits.h> #include <string.h> #include <stdio.h> #include <math.h> #define ZLIB_CONST #ifdef __FRAMAC__ #define SPNG_DISABLE_OPT #include "tests/framac_stubs.h" #else #ifdef SPNG_USE_MINIZ ...
0db5d52c16b1cf116995c3c347988fb32f4fea66889ea7641d6915bacec85304
C
200,000
4,331
/* Generated by Cython 0.29.13 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython...
1e60cd825995cff101dd4081de907fb1c76ff31846996833d9e800694a02a674
C
200,000
4,717
/************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this s...
366eaa050f436a5fcfe91651e1935ed61144cb73afe8c2c89d90518baf73076b
C
200,000
5,137
/********************************************************************************************** * * rcore - Basic functions to manage windows, OpenGL context and input on multiple platforms * * PLATFORMS SUPPORTED: * - PLATFORM_DESKTOP: Windows (Win32, Win64) * - PLATFORM_DESKTOP: Linux (X11 desktop mod...
39e6c42f5e45602ff4c781228567c427d9cc5c5b45045bb3021ca701a72ab88e
C
200,000
5,842
/** * @file * * @author jeffrey.daily@gmail.com * * Copyright (c) 2015 Battelle Memorial Institute. */ #include "config.h" #include <stdint.h> #include <stdlib.h> #include "parasail.h" #include "cpuid.h" /* forward declare the dispatcher functions */ parasail_function_t parasail_sg_qe_db_scan_64_dispatcher; pa...
458f986d7201a50246bdf275e2de48f60701bfce762c49e8908d308c3647d0e5
C
200,000
6,052
/** * @file * * @author jeffrey.daily@gmail.com * * Copyright (c) 2015 Battelle Memorial Institute. */ #include "config.h" #include <stdint.h> #include <stdlib.h> #include "parasail.h" #include "cpuid.h" /* forward declare the dispatcher functions */ parasail_function_t parasail_sg_qx_scan_64_dispatcher; paras...
648f1e835fe2d28ca75bb795b6583d88e2a909dcb5813d498178e0815b2c02d8
C
200,000
6,234
/* sam.c -- SAM and BAM file I/O and manipulation. Copyright (C) 2008-2010, 2012-2023 Genome Research Ltd. Copyright (C) 2010, 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docum...
71ce068ab92226ef6e2c27a0c3b2e06e3d5afaef33c4a6e5d49dcba54740e051
C
200,000
4,705
#include "miniz.h" /************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining ...
95c0e97d02c7879030c979ddaacdc4db49d3e49c366c94a199939c0267a4b1cd
C
200,000
4,824
/* Generated by Cython 0.29.21 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython...
ad4f15b04f5281b592355168c8775b30c5589ebc64bc68638bddf97779340caa
C
200,000
3,644
/* ** The OpenGL Extension Wrangler Library ** Copyright (C) 2008-2015, Nigel Stewart <nigels[]users sourceforge net> ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> ** Copyright (C) 2002, Lev Povalahev ** All rights reserved. ** **...
b21d11812bc8d3067fbf67bdc5b8fec0085110e8c3b892666219c42645b798cd
C
200,000
5,842
/** * @file * * @author jeffrey.daily@gmail.com * * Copyright (c) 2015 Battelle Memorial Institute. */ #include "config.h" #include <stdint.h> #include <stdlib.h> #include "parasail.h" #include "cpuid.h" /* forward declare the dispatcher functions */ parasail_function_t parasail_sg_qb_de_scan_64_dispatcher; pa...
b2e3d73e880895f061a197a894508cd9055483e4f5d6e0752b11b84921811bcb
C
200,000
21,797
// peaks. Copyright (c) 2020. Winfield Chen. #include <stdint.h> #include "map.h" struct map const map03 = { .n = 215981, .position = (uint32_t[]) { 61113, 61495, 62226, 62309, 62614, 62746, 63411, 64165, 64512, 65269, 65672, 66866, 66894, 69244, 69635, 70895, 71283, 71404, 72365, 72479, 72739, 73573, 73603, ...
c28b919844bfaa14599efb4150ff37004a71098d7669e816646153ee698c78b9
C
200,000
4,693
/********************************************************************************************** * * rmodels - Basic functions to draw 3d shapes and load and draw 3d models * * CONFIGURATION: * * #define SUPPORT_FILEFORMAT_OBJ * #define SUPPORT_FILEFORMAT_MTL * #define SUPPORT_FILEFORMAT_IQM * #define SUPPOR...
f130be5d63ca2a3a7df927dcb05f3fdf4db104ef27be31b716241e5ac6cb28ed
C
200,000
20,915
// peaks. Copyright (c) 2020. Winfield Chen. #include <stdint.h> #include "map.h" struct map const map01 = { .n = 248796, .position = (uint32_t[]) { 55550, 568322, 568527, 721290, 723819, 723891, 728242, 729948, 740857, 750235, 752566, 754192, 754745, 765948, 767070, 768448, 769551, 771521, 774047, 775659, 77...
fe2e6ecf11f29084688f9c6afa21cae1b8dfa3b19fb0e134b3e5bd3018373c92
C
200,000
21,488
// peaks. Copyright (c) 2020. Winfield Chen. #include <stdint.h> #include "map.h" struct map const map02 = { .n = 278749, .position = (uint32_t[]) { 12994, 15491, 15672, 15703, 16111, 16937, 18674, 18856, 21243, 21494, 21833, 24445, 25806, 27572, 28228, 28722, 29443, 31366, 33012, 34049, 34503, 36787, 37100, ...
086dd02a653fe91b1e7f3aa9f74d5cee8d7b7f98443c6ee7362b9fd21d2598ff
C++
14
1
#error removed
3ba85f8e2249a7132400e97bd11ec23d4c884c49a907ec618fde6074484cc3f9
C++
16
4
int main() { }
294ae6ef84350ff721cf764a30fb72e5f2fbe4c86c24cb8cb55ed8250e92922e
C++
19
1
#include "stdwx.h"
71ec4573fa5c6a89aa580f200a8adcb671a32e828ab6ff86b2a403aa0a3fe6e8
C++
23
1
#include <cxxopts.hpp>
95a230c31b1cee4556de1f17a88169b21f3e4c60a4618def1cc85bee22cc937e
C++
25
1
void thalamus_m_stub() {}
cb00b5b6f0cdfc2c05486c3bb307b4ec95344c6215096a9b1ed48cbaf1575853
C++
29
1
#include <thalamus/util.hpp>
23f427df7cdff648e70ea50197377e4bcf38d74136717a98ce4593e276648049
C++
38
1
cout << MatrixXi::Zero(2,3) << endl;
4113fd102dbeef888275697a522a664a3c5c1035586012f7370bed7f31638768
C++
38
3
// // Created by dimi on 02.05.22. //
6b18977fbc531e1521b604c2892d955d8b568b244d257fbdc8ff221da5bda47b
C++
38
1
cout << VectorXi::Random(2) << endl;
c2f71580e5b13d6fbfebc2575904077a5915e2b069317f70321472b9512732b4
C++
38
1
cout << MatrixXi::Ones(2,3) << endl;
5919a998be4dc5eccb1097df0538509c0ce6b54b485be572100e14e062d3c949
C++
40
1
cout << MatrixXi::Random(2,3) << endl;
1e02ddc1bc9c50225933c94192a1336006f6e88f8d1bee3ddf796ac65749120e
C++
41
2
Array3d v(1,2,3); cout << v+5 << endl;
a43844e4b2d094a0bd06a7d2bbe616906817f5cece2559450598d5bc3e8bdfe4
C++
41
2
Array3d v(1,2,3); cout << v-5 << endl;
e448e0a4b915ae38b7b3a61cd2a86054769777dab5877d9fcb78d673af34befc
C++
42
2
VectorXi v {{1, 2}}; cout << v << endl;
6c1769c83538e9e6a17b8ecf9f0ad677b6fda3c2d197e5f6d96343fb3a625bd4
C++
43
1
cout << MatrixXd::Identity(4, 3) << endl;
e58c81306c56927074f898e7ed6bbbc42d8685c67d6e0b06cdf3e989db165d91
C++
43
1
cout << 100 * Matrix2i::Random() << endl;
1a2d514f616fcc0e8df156358483030c257cd7600c2563e7d9817159b0e3474f
C++
45
2
Array3d v(1,2,3); cout << v.log() << endl;
f8f3477dedb46a634c272e918d817a5e2053af80eff43a01f80de2f00728ebbc
C++
45
2
Array3d v(1,2,3); cout << v.exp() << endl;
2781a5e2414bc2c8dd6662acc8fc09b3d3ffe1cfea1c8dadd7d7e6d90d96813f
C++
46
2
Array3d v(2,3,4); cout << v.cube() << endl;
be5a3b9e3d6260154c1b466058162ef274d1e99036d9cac74dfe92487d3c2987
C++
46
2
Array3d v(1,2,4); cout << v.sqrt() << endl;
5847fda35c1320d94f8d088aaf34229d689f66f1da235f885cbb28c8f17e4260
C++
47
2
#define CATCH_CONFIG_MAIN #include "catch.hpp"
9eea666690db6ec59bbf4d269a36bcc6c16aacbfecc97ef34d1e33d30f91f9a4
C++
47
2
Array3d v(1,-2,-3); cout << v.abs() << endl;
a187a828e2e69ef5b12e57d0f3bb5ef296e5867aa40dc26359fdb06f6c3dff35
C++
47
2
Array3d v(-3,5,0); cout << v.sign() << endl;
52d832e3582389098952af0b8d9d9bcf7c7ab62db6e1e482847b3198a797df6c
C++
48
3
Array3d v(1,2,3); v += 5; cout << v << endl;