sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
7348ee1c318d1275f2f69eb94af5beb3433a996009ec0dc39e28ec7cd4ccb234
C/C++
31,632
1,015
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
646399eb34ba87499d78046edd0a689bfb0022cd9d5adc2496539ec38c05bb03
C/C++
31,670
1,332
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
f6d804d03695d2b96019dc6154bc1a16f947d017633255f3e4ee3fc55ee6cc8d
C/C++
32,476
1,014
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
9f97107eaeba9ae31e90644efe67cbd14964996583a63b42806dde44aee7230e
C/C++
33,103
1,029
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
1b02864339679983c32af9e8ba4409870781a9f06f32aa1b2c7f20af901d9bf6
C/C++
34,220
278
#pragma once // ----------------------------------------------------- // XML Scenario importer // ----------------------------------------------------- #define OVP_GD_ClassId_Algorithm_XMLScenarioImporter OpenViBE::CIdentifier(0xe80c3ea2, 0x149c4a05) #define OVP_GD_ClassId_Algo...
888d1dcae36b178ac9e1ef02b3da62c1937e2675abf66008b930e2ed1eb25fb9
C/C++
34,391
935
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
126b9cd75c09d35c00e01133e77f3bdcc5c695e307f5e765706740afc4b2a1a8
C/C++
34,757
829
//---------------------------------------------------------------------- // File: ANN.h // Programmer: Sunil Arya and David Mount // Last modified: 05/03/05 (Release 1.1) // Description: Basic include file for approximate nearest // neighbor searching. //---------------------------------------------------------...
0f02c64628623d48fe4d9f36ae61ad780bb76f9798832d0e04da7d7a452e9619
C/C++
35,106
790
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
089d5d59132706bde487fdea11674b42c0d94a523c7470e25c01a64390111628
C/C++
37,344
985
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
792cc1ad60f309d315398cd1b67fb5ba75bcafc54e40d4814161fb2785a6a7c3
C/C++
37,408
1,344
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
eb8a17f0409fdb47205c587e425b13b2f8f00ace21eabc895b60427fac93cb0b
C/C++
37,526
1,123
//$ nobt /** * @file r8bbase.h * * @brief The "base" inclusion file with basic classes and functions. * * This is the "base" inclusion file for the "r8brain-free-src" sample rate * converter. This inclusion file contains implementations of several small * utility classes and functions used by the library. * *...
11cc25300578e054582a8a1bb78ac9451147423d9c2b707c7ef1baa79825eed0
C/C++
37,594
1,420
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
c3f2dd92cd2baeffba99f415a26f70242bff2b8e631f4d85134d98d9adc337b2
C/C++
38,155
977
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2008-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2009 Kenneth Riddile <kfriddile@yahoo.com> // Copyright (C) 2010 Hauke Hei...
607258087c74aad8ec75d2ed1d8847a94ce185057be5cfae844479ff25741cb7
C/C++
38,279
1,017
/* -------------------------------------------------------------------------- * * Lepton * * -------------------------------------------------------------------------- * * This is part of the Lepton expression parser originating from * ...
0e54bbed60363b91472f6f7d060fa28786c9070cc28b198b4b3f7ab223266f9e
C/C++
38,686
1,186
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
7067ef8f1dbd95bb218f3912934ceb356cbfd4c6907337fb3153daaaa13a9454
C/C++
38,749
1,089
/*! * Copyright (c) 2016-2026 Microsoft Corporation. All rights reserved. * Copyright (c) 2016-2026 The LightGBM developers. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. */ #ifndef LIGHTGBM_INCLUDE_LIGHTGBM_DATASET_H_ #define LIGHTGBM_INCLUDE_L...
2d9619d5e2a5908f4797c308868a191006d564478d69b6706e4db3ce513deedc
C/C++
38,788
1,116
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
0fd1dfa5bc19f5841d67f3d29edeff7b7a04c1d70bab55db18b488b081432c0b
C/C++
39,079
961
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ...
ca55a78f0ece74637fd4171c8b216c5c9d98a71f4bcaf0a8b7fc346326be60ec
C/C++
39,548
1,446
/*++ Copyright © 2001-2011 Future Technology Devices International Limited THIS SOFTWARE IS PROVIDED BY FUTURE TECHNOLOGY DEVICES INTERNATIONAL LIMITED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCL...
9527706f08560fa66bf15f3d90ed1b79a69d604eedc0b7f48adcaebb2f0a366e
C/C++
41,529
1,230
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
3d471ee6b7c495b6c716d181074dc08e520aa079a450cded1e16e354411486c4
C/C++
42,216
858
//-------------------------------------------------- // ImPlot3D v0.3 WIP // implot3d.h // Date: 2024-11-16 // Author: Breno Cunha Queiroz (brenocq.com) // // Acknowledgments: // ImPlot3D is heavily inspired by ImPlot // (https://github.com/epezent/implot) by Evan Pezent, // and follows a similar code style and stru...
3a11132deb0c790d79655eff6ba2a054a7a8a52d27459799016cfc8019ef5517
C/C++
42,522
1,177
/***************************************************************************** bedFile.h (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licensed under the GNU General Public License 2.0 license. *******************...
6aab770e44c7ef12267105b37f81c7b43cfdcf1721ea2a31efdf44ca2bffe1d1
C/C++
44,037
1,303
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
f14fe345d3a99d12d5f8b83135719f41d7593620c15955987cae9f169b246fd0
C/C++
44,962
1,259
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
d3e170941d4f2358d4622baddead3ca3f0e609bf19a4e4122c2800a3ddee31f1
C/C++
45,382
648
// dear imgui test engine // (context when a running test + end user automation API) // This is the main (if not only) interface that your Tests will be using. // This file is governed by the "Dear ImGui Test Engine License". // Details of the license are provided in the LICENSE.txt file in the same directory. #pragm...
520a1570f513f1b6aac6f2772a88a5c9a685be2a646300631674c9c7b10672ff
C/C++
46,257
1,341
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
ff48c4d477ed83b5ee900ca97b340cfaae6379248e2640c5c9000e69d8553449
C/C++
46,958
1,365
//$ nobt //$ nocpp /** * @file fft4g.h * * @brief Wrapper class for Takuya OOURA's FFT functions. * * Functions from the FFT package by: Copyright(C) 1996-2001 Takuya OOURA * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html * * Modified and used with permission granted by the license. * * Here, the original "...
4ce20a8b698c290ce0f865a1380be117956708dffb7a7305892bafcea11399d6
C/C++
50,126
1,288
// ============================================================================= // Created at: // International Institute of Molecular and Cell Biology in Warsaw, Poland // Author: // Grzegorz Chojnowski - gchojnowski@genesilico.pl, gchojnowski@gmail.com // ===========================================================...
49629c9e321aea96f4da3553067e662c7b0f79f8fa5bdeca73229cac48b877f2
C/C++
50,397
1,824
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
bf05245fdf5fbd9c0967143a01cfa6f32903224ada3b04336000e12bc5fe1eea
C/C++
51,690
1,637
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
16be5c3304d353870710049fc1894b34fd209f129fa50d842723ead082005b54
C/C++
51,928
1,688
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
6d16266c53edd65e3a584f70bda4869a95459bfd030bad3b50637ef8cb623c91
C/C++
52,185
1,263
/* ***************************************************************************** * * Copyright (c) 2009 - 2024 Teunis van Beelen * All rights reserved. * * Email: teuniz@protonmail.com * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
079816041012df29f487d9aa30a70f9ba4217901817123d7ecd71a83a441bb36
C/C++
52,740
1,607
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
d90231a8ee53f8503ef0725e9ac7563bf34183baf5ea6181a1f2bf1db7e6a096
C/C++
52,906
1,659
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
2036a33479325bfad0f90b25e9e2f6a0b1f5285542e283a24d34729ab9ad978a
C/C++
53,453
856
#pragma once #include <toolkit/ovtk_stimulations.h> //__________________________________________________________________// // // // OpenViBE toolkit input and output type identifiers // //___________________________________________________...
d595a7798a050ea78f408f1ee6ba4488b1b02f71bf04806405f654ebc427c19f
C/C++
55,605
1,754
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
6bc30e449286876e459566f227dc643577edad341090cf4d19dcb32a808cf777
C/C++
55,787
1,440
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2010 Hauke Heibel <hauke.heibel@gmail.com> // // This Source Code Form is subject to...
9a487a15f3fe633977f70802165c26879be9f3b420f7d93b56c805a046cc9b50
C/C++
58,754
1,348
#include <cmath> #include <cstring> #include <stdexcept> // Gotran generated C/C++ code for the immature WT base model // from Jaeger KH, Wall S, Tveito A. "Computational prediction of drug response in short QT syndrome type 1 based on measurements of compound effect in stem cell-derived cardiomyocytes". PLoS Computati...
0c89300e9e4a8fef845ccec953d438576fb01c76abdb7a37f7affed7a437c120
C/C++
59,710
1,612
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
a985f5fa0ed97353d493b497961e9eef52082edcd045cf6954b69990ec9d0741
C/C++
60,111
1,527
// [DEAR IMGUI] // This is a slightly modified version of stb_textedit.h 1.14. // Those changes would need to be pushed into nothings/stb: // - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321) // - Fix in stb_textedit_find_charpos to handle last line (see https://github.com/ocornut/imgu...
a821bed6427e3647436dd081ea4a3dbc0191b8238d5218034b49d9ddd9098878
C/C++
64,377
2,147
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
3533473e0638efa5b7fcaee7ee3ccf25caa2d91cf57d4a4298d58da5e464b2b1
C/C++
64,564
2,139
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
4a7244b82babade4236abdefb943a369255f5ed92e800fbb504207eaeaae20e0
C/C++
66,371
1,617
/* stb_image_write - v1.13 - public domain - http://nothings.org/stb/stb_image_write.h writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015 no warranty implied; use at your own risk Before #including, #define STB_IMAGE_WRITE_IMPLEMENTATION in...
8075563fa5b38a48f8af4d815020dc6ca667e2173b47c6be29c8b4acfca252de
C/C++
67,549
1,670
// MIT License // Copyright (c) 2023 Evan Pezent // 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, mer...
28d9822a36e87072f5ab48a41531979796e7e5faf792dd0638bdcc8aed6e346a
C/C++
70,657
2,134
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
2d56dcbfce356cf736f846f6d5cc4539ee4eeb803090dc4f32ac20c7aad1bbb4
C/C++
71,515
2,510
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
417fa5c490cb92010e84b87bef9aecbeac4fc9ec2b418feeb98d034f0d6757b7
C/C++
72,031
1,093
#ifndef LAPACK_H #define LAPACK_H #include "blas.h" #ifdef __cplusplus extern "C" { #endif extern void F77_NAME(dbdsqr)(const char *uplo, const int *n, const int *ncvt, const int *nru, const int *ncc, double *d, double *e, double *vt, const int *ldvt, double ...
1647536308dd1099e11241f998b9360acfbf576e6d68d1292872a4f851813550
C/C++
72,749
1,336
/*! * Copyright (c) 2016-2026 Microsoft Corporation. All rights reserved. * Copyright (c) 2016-2026 The LightGBM developers. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. * * \note * - desc and descl2 fields must be written in reStructuredText...
2a7ac14e44d85878036c1292da556d42f88b803f35e8a6557dcbe926d98fbf92
C/C++
80,055
1,301
// MIT License // Copyright (c) 2023 Evan Pezent // 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, mer...
b154a1834fcb2714468d8104bd67f498642c6348954de3143039a7e2d25eda76
C/C++
84,311
2,687
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
b7e8d81c076cfdd48eb019169df2855273603b69cb5ca7e5718b86ce375ebb33
C/C++
84,609
2,506
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
09eff29a00d2c29db4b8331894c8afd8b6195a170d217b0394ef8797498482e5
C/C++
86,230
2,754
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
f83f1e6107ae0f8f9036bad0d5fc45b3e9b48440e761733f4e4a6a868c7af384
C/C++
106,140
1,912
/////////////////////////////////////////////////////////////////////////////// // // // TetGen // // // ...
8bb12c788b162c0b60222113ee19be5a781b0b49da969a087c7b7560d343be59
C/C++
112,822
3,505
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
1162294a0f626a41c7fd6bb11bd47ea61de09077d3434fabbe8832b9a3a342f2
C/C++
112,976
3,638
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
879b1451c4adb30de484c353b03c41c52ab7cb27cffff700426c4f7f61328791
C/C++
119,337
4,057
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
d6a8272c1e6346bbeb50db32728678f5b9b7b00edb36f01d3a8b74ecbf2535ac
C/C++
119,973
3,854
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
d361df604cb98e78b60bfcf6630b36e98660bb6036a792499592296d146c62e0
C/C++
132,379
845
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
d370ae6cd60f6463199d0cd53e97510aed8eae47112425ea0376920e03c88aaa
C/C++
185,698
5,954
//===--- ItaniumDemangle.h -----------*- mode:c++;eval:(read-only-mode) -*-===// // Do not edit! See README.txt. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ...
c51a0f7e7ea760f2366bd3752635ec58e21fccfec4a832501639990ba6ce0528
C/C++
199,503
5,085
// [DEAR IMGUI] // This is a slightly modified version of stb_truetype.h 1.26. // Mostly fixing for compiler and static analyzer warnings. // Grep for [DEAR IMGUI] to find the changes. // stb_truetype.h - v1.26 - public domain // authored from 2009-2021 by Sean Barrett / RAD Game Tools // // ==========================...
2d22a456e10b9c7ac6e7318048bc28de92a072069da60549d5307953caa90981
C/C++
200,000
4,749
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui //based on imgui.h file version "1.92.0" 19200 from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api //with imgui_freetype.h api //docking branch #ifndef CIMGUI_INCLUDED #define CIMGUI_INCLUDED #include...
34f7bcf5aaba990768082ab5f7b24b03b62da5d307043b025dbecfe8bc9b0eea
C/C++
200,000
2,860
// dear imgui, v1.92.7 WIP // (internal structures/api) // You may use this file to debug, understand or extend Dear ImGui features but we don't provide any guarantee of forward compatibility. /* Index of this file: // [SECTION] Header mess // [SECTION] Forward declarations // [SECTION] Context pointer // [SECTION]...
45dc551e0658ccf3e36c79e65f7f28d0b872e091bc228425e9a00dafd2ca2b93
C/C++
200,000
2,791
/* * This file was generated with gl3w_gen.py, part of imgl3w * (hosted at https://github.com/dearimgui/gl3w_stripped) * * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code ...
7da24e222987088c86a0777c974586c5e3cb000cc618c9b1904eb31d8f437521
C/C++
200,000
3,930
/* Audio playback and capture library. Choice of public domain or MIT-0. See license statements at the end of this file. miniaudio - v0.11.21 - 2023-11-15 David Reid - mackron@gmail.com Website: https://miniaud.io Documentation: https://miniaud.io/docs GitHub: https://github.com/mackron/miniaudio */ /* ...
8947ceae2074a45702b8d329317fc438ab963a6a06e34ea02b8030a822c5bb08
C/C++
200,000
5,036
/*************************************************************************** ** ** ** QCustomPlot, an easy to use, modern plotting widget for Qt ** ** Copyright (C) 2011-2016 Emanuel Eichhammer ** ** ...
9685fb853f7cffe5d43b019d61daa3f4697d3b1d1b04c682920e9d704f7ad4c2
C/C++
200,000
1,902
// dear imgui, v1.92.7 WIP // (headers) // Help: // - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that. // - Read top of imgui.cpp for more details, links and comments. // - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including imgui.h (or in imconfig.h) to acc...
d59f10f80c05d73ecef4a8bdfa870095a1a351d7c8513cafb922c4d8e3c51da3
C/C++
200,000
4,074
/* ** 2001 September 15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *******************...
fc599b1750afcd5d356d1bac45adfd8825efb6796713bacdcdc7d9a5524d11d0
C/C++
200,000
5,502
/* stb_image - v2.28 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like...
eb1049bc65e219964769378212b45731eadec0910784050eda13d76d0fa23de3
CUDA
1,689
53
#include "solver_kernels.cuh" __global__ void solve_kernel0(double* vec_a, double* vec_b, double* vec_d, double* vec_rhs, int* parent_index, int nstride, int* stride, int* firstnode, int* lastnode, int* cellsize, int ncell) { unsigned int tid; unsigned int thread_stride; int i, istride, ip, icell, icellsize; ...
25523dca4fedabcb2915939b865f44da76456a8a5fddb97e4a41eb342860b2ef
CUDA
1,943
70
/* Szymon Rusinkiewicz Princeton University TriMesh_stats.cc Computation of various statistics on the mesh. */ #include "TriMesh.h" #include <algorithm> // A characteristic "feature size" for the mesh. Computed as an approximation // to the median edge length float TriMesh::feature_size() { need_face...
175fefa302dfa5bc4b49fc48105066de78dc5a434499911314320ac418bec4a4
CUDA
2,009
74
#include <cuda_runtime.h> #include <assert.h> #include <stdio.h> #include "solver_kernels.cuh" __global__ void kernel17(double* vec_a, double* vec_b, double* vec_d, double* vec_rhs, int* parent_index, int* stride, int* max_order_per_thread, int* min_order_per_thread, i...
b50f305c839e2c7684b66a411c3e015a324f622d1693ae003ceccb06106e452a
CUDA
2,600
109
/* Szymon Rusinkiewicz Princeton University TriMesh_grid.cc Code for dealing with range grids */ #include "TriMesh.h" #include "TriMesh_algo.h" // Helper function - make a face with the 3 given vertices from the grid static void mkface(TriMesh *mesh, int v1, int v2, int v3) { mesh->faces.push_back(TriMesh::Face( ...
12e0d4ff32c7c143e9af41e51630178c0922642231c867e6e83d07bd3da27fb5
CUDA
2,892
119
/* Szymon Rusinkiewicz Princeton University TriMesh_normals.cc Compute per-vertex normals for TriMeshes For meshes, uses average of per-face normals, weighted according to: Max, N. "Weights for Computing Vertex Normals from Facet Normals," Journal of Graphics Tools, Vol. 4, No. 2, 1999. For raw point clouds, f...
5dba03c69f6f657ca2a8d74cabb76fc2a7617d703454ead92842975a8438a86d
CUDA
3,158
105
#include <stdio.h> __global__ void my_pooling(float* const out, float const* const data, size_t const H, size_t const W, size_t const C, size_t const N, size_t const stride) { //channel const size_t d = blockIdx.x; //image number const size_t n = blockIdx.y; // spatial dimensions of the output array const siz...
49fde5efc9c7ebeca33d9f5e1e14578144f49a66b03acde7dbd28cde4c78f92c
CUDA
3,180
114
#include <cuda.h> #include <cuda_runtime.h> #include <cutil.h> #include <thrust/scan.h> template<typename IndexType, typename ValueType> void __global__ neighbor_count_kernel(IndexType* tri0, IndexType* tri1, IndexType* tri2, IndexType ne, IndexType* nbcount) { for(int eidx = threadIdx.x; eidx < ne; eidx += gridDim....
7cb895586b230b2c2b25231fc70e9fa2a8ef9b1eca6ed14418a53f7346dfc318
CUDA
3,375
135
/* Szymon Rusinkiewicz Princeton University TriMesh_bounding.cc Bounding box and bounding sphere. */ #include <stdio.h> #include <float.h> #include "TriMesh.h" #include "bsphere.h" // Find axis-aligned bounding box of the vertices void TriMesh::need_bbox() { if (vertices.empty() || bbox.valid) return; dprintf...
bc9c763cb726afa6e8767a299c0af31a8d03c19ea3f1a284be366bfc7e756cd1
CUDA
3,790
95
//------------------------------------------------------------------- // // Copyright (C) 2015 // Scientific Computing & Imaging Institute // University of Utah // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files ( the "S...
50be129086360aa9efc33a799c9a1126b8af288eac2101482a4b3abe0945ee2d
CUDA
4,585
118
//------------------------------------------------------------------- // // Copyright (C) 2015 // Scientific Computing & Imaging Institute // University of Utah // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files ( the "S...
a58b7d12f3cd3108323bc468f62a78de25150994ce9418fd4822cd20b519bcfa
CUDA
4,644
115
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #include "coreneuron/utils/utils_cuda.h" #include "corene...
372e74b2c8daa84161b19a53064317bdee986526175798e82f3bbbc46cc565ad
CUDA
4,914
166
#include <cuda_runtime_api.h> #include <cuda_runtime.h> #include <assert.h> #include <stdio.h> #include "solver_kernels.cuh" __global__ void kernel18(double* vec_a, double* vec_b, double* vec_d, double* vec_rhs, int* parent_index, int* stride, int* max_order_per_thread, int* min_order_per_thre...
69cb6d1b81aa8bb6df7c61f597923cdee658d2f37b00170d988984c89d725790
CUDA
5,118
245
/* Szymon Rusinkiewicz Princeton University TriMesh_tstrips.cc Code for dealing with triangle strips */ #include "TriMesh.h" // Forward declarations static void tstrip_build(TriMesh &mesh, int f, std::vector<signed char> &face_avail, std::vector<int> &todo); //static void collect_tris_in_strips(vector<int> &tstri...
d57eb9c2db8d950ce2b390e5f650ab3e227aad271a6ed5ae4ec09bbd55253274
CUDA
6,370
279
/* Szymon Rusinkiewicz Princeton University TriMesh_connectivity.cc Manipulate data structures that describe connectivity between faces and verts. */ #include <stdio.h> #include <time.h> #include "TriMesh.h" #include <algorithm> void TriMesh::need_Rinscribe() { need_faceedges(); int nf = faces.size...
e969d377740bd02128e153830fcc7f2e1f4dea9bfc10310b28fd1bb24b957769
CUDA
8,963
279
#include "Eikonal.h" #include <cmath> Eikonal::Eikonal(bool isTriMesh, std::string fname, bool verbose) : verbose_(verbose), filename_(fname), maxBlocks_(16), maxVertsPerBlock_(64), stopDistance_(50000.f), isStructured_(false), userSetInitial_(false), speedType_(ONE), squareLength_(16), squareWidth...
4662c57f10a4d8235d3007445b4c13f00eb7f7906690741892faab15324d182f
CUDA
9,701
281
#include <cusparse.h> #include <cusolverSp.h> #include <cuda_runtime_api.h> #include <assert.h> #include <stdio.h> #include "solver_kernels.cuh" __global__ void kernel16(double* vec_a, double* vec_b, double* vec_d, double* vec_rhs, int* parent_index, int* prev_node, int* next_node, int* max_o...
5311aa28e47d176cc1c77bf435dfe4d3aca27addb1143c579c9f812769aec2cb
CUDA
11,073
483
#include <stdio.h> #include <algorithm> #include <stdlib.h> #include <time.h> #include <math.h> #include "tetmesh.h" #include <fstream> void TetMesh::init(float* pointlist, int numpoint, int*trilist, int numtri, int* tetlist, int numtet, float* attrlist, std::vector<float> speedMtx, bool verbose) { numVert =...
c9e725a848c8aa54497f4773538dda839879635d3c0ff79fd93fce8c4562e2fe
CUDA
14,609
427
#include <cusolverSp.h> #include <cuda_runtime_api.h> #include <cuda.h> #include <cuda_runtime.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <time.h> #include <iostream> #include <vector> #include <math.h> #include <string.h> #include <device_launch_parameters.h> #include "solver_kernels.cuh" ...
34c08f88e55a0e99d2e843b2bc595c87875b59ec52fcb95a82b09766ef42b42e
CUDA
16,320
409
// // main.cu // tetFIM // // Created by Steffen Schuler in July 2020. // Copyright © 2020 IBT. All rights reserved. // #include <Eikonal.h> #include <vtkSmartPointer.h> #include <vtkDataSetReader.h> #include <vtkXMLUnstructuredGridReader.h> #include <vtkUnstructuredGrid.h> #include <vtkCell.h> #include <vtkCellDa...
cd8aed585ae4fd613c9f3f794c2dfbbd849bea0b48be44b769e37b44147f011f
CUDA
18,615
799
#include <cuda_runtime.h> #include <cutil.h> #include "CUDADefines.h" #include "TriMesh.h" __global__ void run_reduction(int *con, int *blockCon,int* ActiveList, int nActiveBlock, int* blockSizes) { int list_idx = blockIdx.x; int tx = threadIdx.x; int block_idx = ActiveList[list_idx]; int start = block_idx*b...
e25ea748ae37ae80bad2928285b0348c9902e2fa8af63a02d7bc7d1dbecfd943
CUDA
21,344
668
#include <cuda_runtime.h> #include "CUDADefines.h" #include "tetmesh.h" __global__ void run_reduction(bool *con, bool *blockCon,int* ActiveList, int nActiveBlock, int* blockSizes) { int list_idx = blockIdx.y*gridDim.x + blockIdx.x; int maxblocksize = blockDim.x; int tx = threadIdx.x; int block_idx = ActiveLi...
eae64ac630089611f59c3d53cca06090f83e7ed1d32d054d902a7d7aa7525653
CUDA
31,089
864
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // modified to use only 7 floats for triMem //1. #define TRIMEMLENGTH 7 //2. in FIMCuda and run_neighbor_check, add initilize old at the begining of ite...
d4fac6dba575fe7d5812f5d03914120c2745e5de532df9edd42d13be4fad6a16
CUDA
32,028
940
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // modified to use only 7 floats for triMem //1. #define TRIMEMLENGTH 7 //2. in FIMCuda and run_neighbor_check, add initilize old at the begining of ite...
8dda4b96622dcc7f85a4157cf6ea00eca265caa2456a158c706d4b8ede3c2139
CUDA
55,268
1,928
/* Szymon Rusinkiewicz Princeton University TriMesh_io.cc Input and output of triangle meshes Can read: PLY (triangle mesh and range grid), OFF, OBJ, RAY, SM, 3DS, VVD Can write: PLY (triangle mesh and range grid), OFF, OBJ, RAY, SM, C++ */ #include <stdio.h> #include <string.h> #include <ctype.h> ...
ee2ad97bdaa09116e41e1f1b16557fa956309e119f02a2d9a66a995219ffef61
CUDA
164,802
4,187
/*****************************************************************************/ /* */ /* Routines for Arbitrary Precision Floating-point Arithmetic */ /* and Fast Robust Geometric Predicates */ ...
4e92f56c40621ae368190c0564d63db6f8cc1da2a6ee3eb94770006bf06b2b69
CUDA
200,000
5,591
/////////////////////////////////////////////////////////////////////////////// // // // TetGen // // // ...
ca2987102cd73d82c5179802a4891963cf3b408e967e637aa38d70d2a8629a29
Fortran
4,264
125
! ! This code illustrates passing a matrix in from OpenViBE, making modifications, ! and sending another matrix back. Care must be taken that the difference in C/Fortran ! row/column major order of the matrix storage is taken into account. ! ! This example adds the channel number to the channel data (so each channel ...
78c3011a8b25236416152a9f2935b1a8c543c7b4505e7871f9710cff6c3da5bc
Java
153
12
package tools; import java.io.*; public class MyBR extends BufferedReader { public MyBR(Reader in, int size) { super(in, size); } }
e0b59f9825c7041caa0733fc9d85edd7674407162266ae3b6e12d08317c48846
Java
232
14
package phylonet.coalescent; public class CannotResolveException extends Exception { /** * */ private static final long serialVersionUID = 5345180960017149729L; public CannotResolveException(String v) { super(v); } }
1fba14b9fce261db4549f18e4d5bab1b0742121caefe47406c27ac32bc2e33f7
Java
313
25
package phylonet.coalescent; import phylonet.tree.model.Tree; public class Solution { public Solution() { } public Tree getTree() { return _st; } public Long getCoalNum() { return _totalCoals; } Tree _st; Long _totalCoals; int _clusterIDs[]; }
c6433fe9957b2121eb02176987b59af17a32d4689da5f643291ddbbc327d7bb8
Java
444
24
package phylonet.coalescent; import java.util.Random; /** * Global singelton classes * @author smirarab * */ public class GlobalMaps{ /*** * Maps gene names to gene IDs (and vice versa) */ public static TaxonIdentifier taxonIdentifier = new TaxonIdentifier(); /** * Manages naming between gene and specie...
a6f6dcfc3d89aec7fd73236b5d247f81cffa8353677f461ac6079876198e80ff
Java
573
29
package tools; import java.awt.*; import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; import java.io.*; import java.util.Iterator; import javax.imageio.*; import javax.imageio.stream.FileImageOutputStream; public class Heatmap { String sFile; public Heatmap(String s) { sFile ...