sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
67e19cdc017cc15e1d34fb822cd048b7fa24817a706c33ef5120fefb410ab136
C++
5,922
177
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
18984cb62ab512c1caa3663dcbdba11f98027200ecee1f1a978702614371ffab
C++
5,939
187
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
2a9a99b49e39d2e3deb416f0378a9d8e8cefc7cd4e1969799d8409383b83a94f
C++
5,950
170
/* *! @title Class to handle hardware monitoring *! @file HwMonitoring.cpp *! @author Romain Beaubois *! @date 02 Nov 2022 *! @copyright *! SPDX-FileCopyrightText: © 2022 Romain Beaubois <refbeaubois@yahoo.com> *! SPDX-License-Identifier: GPL-3.0-or-later *! *! @brief *! *! @details *!...
c9bc66918fd87342480b0c117746ba39b65d5151b24eb69340e89c4d9aca6890
C++
5,969
133
#include "CutoutFns.h" #include "Throw.h" #include "Variant.h" namespace rayx { // checks whether the point (x, z) is within the cutout. RAYX_FN_ACC bool RAYX_API inCutout(Cutout cutout, double x, double z) { return cutout.visit([&]<typename T>(const T& cutout_type) { if constexpr (std::is_same_v<T, Cuto...
6f76b75dc93d2aed83db185cd7564e0de39c9d70c4c1b7fb6e412a271eb388a4
C++
5,975
211
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b54277c8354410ff21fd0cf359078369d8070cd734d72d87c2808265af3d435f
C++
6,008
233
#include "../src/meshoptimizer.h" #include <vector> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 #include <fcntl.h> #include <io.h> #endif size_t measure(const char* cmd, const std::vector<unsigned char>& data) { FILE* file = fopen("/tmp/codectest.in", "wb"); if (!fil...
a51115611b86f05a27db9363e89707c68b311bb6df34b422a077be869d541edf
C++
6,021
202
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
a451720b4d66c9af152bcdc0f3d8af9fcc3febc8b81446cc1997e132ce81693e
C++
6,030
155
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ecea98aa5522ec65cd8a6db5c6eb01a31fd568fe00fdb6f61c554da4f5093a72
C++
6,032
229
#include "util/flat_multimap.hpp" #include <catch2/catch_approx.hpp> #include <catch2/catch_template_test_macros.hpp> using namespace Catch::literals; // NOLINT #include <catch2/matchers/catch_matchers_floating_point.hpp> using steps::fmm_ab2c_padding; using steps::fmm_stl; template <int Mask> struct Policy { ...
0e174b4601f80c3e1829ae0709a131ca2f2f795ef1a86254e31c72ba36f85307
C++
6,033
214
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
290bbb23b5c91b790865851c872565b8ddf8a0d1a380f579d14368dff5519ddb
C++
6,037
202
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
171a1c86df332d3e1c3e7df87f9704afaa853dfb5df229ebd09f10941aa31d9a
C++
6,038
181
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
00e192a308d100bc104bb01fa2aeeeb44611d390920913cb86eaea0c21d5d4d4
C++
6,054
226
/* * Copyright (C) 2013 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
88773f0284e71d7c9e898ba81aafe0abe1cd0a2eb067a00519fc4741e877a0a7
C++
6,061
199
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
a7f90cc4f613bca9ab26bb8308f4d40312d4f23b19932ca2e2d43c8b617c2bee
C++
6,064
171
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
2bae144511ea6db3542f8646ceb966ee510990527e64f7d91cb77770c3cb2795
C++
6,077
199
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
7fbd5bbcfce58c02897c5919a5856fe44a9b7207cdb315fe03da3564f5ff6449
C++
6,082
215
/**************************************************************************** ** ** Copyright (c) 2006-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/qhulltest/RboxPoints_test.cpp#2 $$Change: 2062 $ ** $DateTime: 2016/01/17 13:13:18 $$Author: bbarber $ ** ******************************************...
fd9981717a0470b52723bb42bf4452f6b1b74e33bf1ea11f5614d10fda7c5d27
C++
6,085
201
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
674b0c0e71c776d269d9fae8cf39a70db22b55e334343f7bff11fc77114b52db
C++
6,150
227
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
9c6f8bad810a2118854c7918fa769b1b068c1866e6fc7912fe0c6752110987ab
C++
6,157
318
// A class of nonlinear filters using median, trimmed mean, and weighted median filters #include<stdio.h> #include <string.h> #include <fstream> #include <iostream> using namespace std; #include "list.h" #include "nonlinear_filter.h" ////////////////////////////////////////////////////////////////////////...
5ef8ac92fcf494fd9357c5dc881e2e7ac8ecad57a1745daf98e48322bb05422e
C++
6,172
112
#include "Trace.h" #include "Behave.h" #include "Collision.h" #include "RecordEvent.h" #include "Utils.h" namespace rayx { #define assertObjectIdInBounds(object_id, numObjects) \ _debug_assert(0 <= object_id && object_id < numObjects, "error: ray object id '%d' is out of bounds [0, %d)", object_id, numObjects); ...
1274cd502fd40d03fbb98d88fc3569eb7a5ee1b401548e0a991299a836500d6b
C++
6,207
228
// *************************************************************************** // SamHeader.cpp (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 25 October 2011 (DB) // ----------------------------...
189e21f2ec262229d3d2dc4f75b07995c602358d21c71aa717021b3ac8d20aac
C++
6,214
132
/* *! @title Software configuration *! @file SwConfigParser.cpp *! @author Romain Beaubois *! @date 27 Apr 2023 *! @copyright *! SPDX-FileCopyrightText: © 2023 Romain Beaubois <refbeaubois@yahoo.com> *! SPDX-License-Identifier: GPL-3.0-or-later *! *! @brief *! *! @details *! > **27 Apr 2023** : fi...
2700ebd42933cb2555cab1075f6586833fbea03c3934c9a920c88826c821b2d6
C++
6,218
207
#include "DeviceConfig.h" #include <algorithm> #include <alpaka/alpaka.hpp> #include <ranges> #include <sstream> #include "Debug/Debug.h" #include "Debug/Instrumentor.h" namespace { using DeviceType = rayx::DeviceConfig::DeviceType; using Device = rayx::DeviceConfig::Device; using Index = Device::Index; us...
b9ef22b8aad8bc2885694e9e09b10da18f345d3f84bee18eb4172a183046a574
C++
6,218
317
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
ffb6d126cd02b7372d42931b46b70d86a03b174ce74313344b35256a91193d78
C++
6,242
146
#include "RenderObject.h" #include <glm/gtx/matrix_decompose.hpp> #include "Debug/Instrumentor.h" #include "Plotting.h" #include "RayProcessing.h" #include "Triangulation/GeometryUtils.h" #include "Triangulation/Triangulate.h" /** * Constructor sets up vertex and index buffers based on the input parameters. */ Ren...
220fc602a75fb2e626e099828fc0d70b0371e0d7513c3e996831201e2e96318c
C++
6,259
209
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
6a02ccf5e46d75b9559a81cbd2bcafa34dbf09d6692d99f3e55024de65b3e5c9
C++
6,260
193
/* * Copyright (C) 2011 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
601159210e9754da766bab5b1775b35887a49140b14483325c704e49dde2f2b3
C++
6,274
224
/**************************************************************************** ** ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/RboxPoints.cpp#3 $$Change: 2066 $ ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $ ** *********************************************...
1dc15966a05975dcc0fd5f75f197f688f447b0b025288f8ad31b7ff596bf7bfd
C++
6,289
176
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
0103308b9a2895cc2a256429b43f210f309cfe3ab430e5a35d20b4e6ea934575
C++
6,291
198
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
553dff8a955945b53ccc6ff9e3924f4d840bd3907931f569b7ab39d4dfaf79ed
C++
6,295
220
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
98597ac1e9543b851ac33fd08b693b4e5e4607aff6e054f674634ada7fdc495f
C++
6,297
121
#include "CommandParser.h" #include <CLI/CLI.hpp> #include "Debug/Debug.h" #include "Debug/Instrumentor.h" #include "Random.h" #include "TerminalAppConfig.h" #include "Tracer/Tracer.h" namespace { void getVersion() { std::cout << R"( ╔═══╗╔═══╗╔╗ ╔╗╔═╗╔═╗ ║╔═╗║║╔═╗║║╚╗╔╝║╚╗╚╝╔╝ ║╚═╝║║║ ║║╚╗╚╝╔╝ ╚╗╔╝ ║...
720d931221c9077db7424ffebd0f6ddb13feb52fdc16d984017ce28c1bc01ffc
C++
6,307
194
// (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) // (C) Copyright 2003-2007 Jonathan Turkanis // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) // See http://www.boost.org/libs/iostreams for docume...
0be4906b5c7a9c2ad6fddb7b9d561c388519387fa7128618e3f294047b10630f
C++
6,324
216
// *************************************************************************** // bamtools_revert.cpp (c) 2010 Derek Barnett, Alistair Ward // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 7 April 2011 // ---------------...
4230f6d9c7290916bfd9f5474b5bad1656a14192631b1319c0f5d6ed91f8c153
C++
6,339
211
#include "Material.h" #ifdef _WIN32 #include <string.h> #else #include <strings.h> #endif #include "Debug/Debug.h" #include "NffTable.h" #include "PalikTable.h" #include "CromerTable.h" #include "MolecTable.h" namespace rayx { /** * returns the name of the material: * EXAMPLE: getMaterialName(Material::Cu) == "CU...
0392820215009d2019c9bdcdb640628a17e2505d3f850a2629b6dec0dedee511
C++
6,344
178
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
a45edcd231c321227147260462e5d7ef4905177e387cb8a43f05fc404353e9e5
C++
6,347
199
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
cb10f65bad6d6cba7cf68969df609212128f7dff29956cecd36b2255de6980cc
C++
6,372
160
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ee967ed6c8f2cd887e69e6de9b810786303ca7d453abfcb1d3595bb370bb3e60
C++
6,376
174
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
aa1246f3b061ba316321d26f88ee0bdaf3a17d25bae6345753cb5b65e9e19c71
C++
6,385
180
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
cd5e5238761eafc1512466771734ac9b1b39ebf42e3d2a49b73f0c6a86866702
C++
6,408
178
// A single or two-stage median filter /* Open Source ECG Toolbox, version 2.0, March 2008 Released under the GNU General Public License Copyright (C) 2008 Reza Sameni Sharif University of Technology, Tehran, Iran -- GIPSA-Lab, INPG, Grenoble, France reza.sameni@gmail.com This program...
22943f9ba21b3ce462eb779bad426ae89de468c6452701bb0e97b7f0fc4cd74b
C++
6,436
196
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
5d5f7802f593dbeab56325c31a457e0a8157682fcedae5bac0bfceb700ff404d
C++
6,441
162
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ef08d4aff825adfd99627e5c038025614b67fcbddcda8f970657961a554ed90c
C++
6,454
240
// An ascending sorted list class used for efficient max/min finding and trimmed mean/median filtering /* % Revision History: % 2008: First release % 2023: Renamed from deprecated version List.cpp % 2024: Added max/min finding % % Reza Sameni, 2022-2023 The Open-Source Electrophysiological Toolbox % htt...
85754fafcd66cf0dcb561704c2a8147b78064e0b7b92fcc7faeb43203b0fdeba
C++
6,466
181
#include "Importer.h" #include <cstring> #include <memory> #include <rapidxml.hpp> #include <sstream> #include <string> #include "Beamline/Beamline.h" #include "Debug/Debug.h" #include "Debug/Instrumentor.h" #include "Design/DesignElement.h" #include "DesignElementWriter.h" #include "DesignSourceWriter.h" #include "E...
ebbb167915ad639e78efbac7c176fefc212c6476f8a30379ba7fb882ddc4ebc0
C++
6,467
213
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
f9701b68ef4fefee73eb9fc5cbc83fb7d3b0c0ccc4d09e99e8f8473d9382cff6
C++
6,483
213
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
4f04bfa5012167711b8a86a702be6c6c8c6e07e5a37b8e4674548399c72f8b51
C++
6,499
227
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
52a141ca116077b98eeb27824db3ba9788cc67ad31618c7610d71a753e8e50f3
C++
6,506
230
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "doc_data.h" #include "utils/utils.h" #include <string> #include <vector> #include <fstream> #include <assert.h> #includ...
93bd527b6d9a75a4a570f6dc118e60508f3be5ff0afb8f5d2048504b8da84b94
C++
6,515
227
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
e1591035a957c5d18fb5b47117c4b1ff603cae7a826975f08092084d0e049627
C++
6,533
207
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
499e4a02ce965d3886bd5f840fbaf50c3930ea9ab4c7d2599fbab7d0ab79d38f
C++
6,586
168
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
f4f8cc0a3db58de647c9d890725ed94df819767df721709301f4adb27a10d000
C++
6,612
181
#include "Camera.h" #include <imgui_impl_sdl3.h> #include <imgui_impl_vulkan.h> #include <fstream> #include <glm/gtc/matrix_transform.hpp> #include <sstream> CameraController::CameraController() : m_position(0.0f, 5.0f, -10.0f), m_direction(0.0f, 0.0f, 1.0f), m_cameraMode(CameraMode::Perspective), ...
981d4a77ef0514ab22144cdde79a5a63414764f679f02ba9eed2dfe5458c6843
C++
6,626
237
/**************************************************************************** ** ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/QhullQh.cpp#5 $$Change: 2066 $ ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $ ** ************************************************...
bdbcab98555d779847f68605b9e7c42fb2414cf851749bf8d844350229bea1cb
C++
6,684
188
#include "efield.hpp" #include "../mol_state.hpp" #include "geom/dist/distmemb.hpp" #include "geom/dist/distmesh.hpp" #include "geom/patch.hpp" #include "math/constants.hpp" #include "model/chan.hpp" #include "model/chanstate.hpp" #include "model/ghkcurr.hpp" #include "model/ohmiccurr.hpp" #include "model/surfsys.hpp"...
9b6530eb7f61d915684ca2ddcc01bcc8b52f36c34d33e2f13b3e2e5523b237d0
C++
6,701
161
#include "Behaviour.h" #include "Beamline/Beamline.h" #include "Beamline/Definitions.h" #include "Design/DesignElement.h" #include "Shader/Utils.h" namespace rayx { Behaviour makeBehaviour(const DesignElement& dele) { switch (dele.getBehaviourType()) { case BehaviourType::Crystal: return make...
60314174ac2f271f3f36043025dbf79a60955eb70225150b8ec0ff6c2822fd5e
C++
6,704
134
#include <FAST/Testing.hpp> #include <FAST/Algorithms/NeuralNetwork/SegmentationNetwork.hpp> #include <FAST/Importers/ImageFileImporter.hpp> #include <FAST/Visualization/SimpleWindow.hpp> #include <FAST/Streamers/ImageFileStreamer.hpp> #include <FAST/Algorithms/NeuralNetwork/InferenceEngineManager.hpp> #include <fstrea...
1b351bbf0f29be5ddb3238aa88bfd483948c517be564049ae9726376b7dba9d0
C++
6,713
180
#include "model/diff.hpp" #include "model/volsys.hpp" #include "mpi/dist/tetopsplit/kproc/kproc_state.hpp" #include "steps/mpi/dist/tetopsplit/mol_state.hpp" #include "test_common.hpp" #include <iostream> #include <catch2/catch_test_macros.hpp> #include <catch2/matchers/catch_matchers_floating_point.hpp> namespace ...
ca6b8bd0ba0a8c242e62642b164569c650b2ddbfb3b54cf947d7cba38e985809
C++
6,726
166
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
4ff0c9366f4d558cabcb8464379484630d4dc8f72cba4898ab989112c7f24246
C++
6,729
179
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
5409cb5e63e94c2964ac14810114402547e9b42fdedda76cc3509dbeb025237b
C++
6,746
217
/* * Copyright (C) 2012 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
7df7f3f8e8c6c2a77d61d90cb6e36f0fb187f763ce2537c1af5d3ea97d8f129c
C++
6,749
158
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
fea457295c4559e79ff7a1461170557408e248c52e07197601460ced0e372410
C++
6,788
187
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
9c4ac773278e742c7680f1d9a842301d8d5ec6d0b7f44eca8acd82f1d986c664
C++
6,821
233
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
10fda0e3e7577f858446ad888ec6d692fdcbf78e72e2906961f782bf3cbb8711
C++
6,837
233
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
cde9b63e42bbe6851dfdf33a9ca9a37563352ef0e0b43165ee76c6a14f2b82e6
C++
6,864
211
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
baba9abb8fb2c8f83975ff1e3efc1b50b868629403cfbb0e6f6d6e7e6b4090c5
C++
6,878
214
// *************************************************************************** // bamtools.cpp (c) 2010 Derek Barnett, Erik Garrison // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 12 October 2012 (DB) // --------------...
a0dc66d51fb4991453dc79426a5d2083b42cf48d52790643179890a3ac04e9d9
C++
6,882
189
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b3612e90f38223ff1555e1ad872ef9f1daa3e6c83d54ff2166a5253fd284a5be
C++
6,885
184
#include "../src/meshoptimizer.h" #include <stdint.h> #include <stdlib.h> #include <string.h> void fuzzDecoder(const uint8_t* data, size_t size, size_t stride, int (*decode)(void*, size_t, size_t, const unsigned char*, size_t)) { size_t count = 66; // must be divisible by 3 for decodeIndexBuffer; should be >=64 to c...
f5d4fa046badc1f9ecaa9caf51090abefbe3f6fa2d6d62392a9d54094150ff9c
C++
6,889
214
// This file is part of gltfpack; see gltfpack.h for version/license details #ifdef WITH_BASISU #include "gltfpack.h" #define BASISU_NO_ITERATOR_DEBUG_LEVEL #ifdef __clang__ #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Warray-bounds" #pragma GCC diagnostic ignored "-Wc++1...
4f3449cc20eeaef72135b38a6fa759d66f452bacac915ffbe07064783705f31f
C++
6,892
224
// *************************************************************************** // HostInfo_p.cpp (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 8 December 2011 (DB) // ---------------------------...
ec82b5f56de86ab39563fde156283d7a2097a23a5391c7725189d5a299c70bfa
C++
6,893
235
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
1a47b1e825085d2905a4f1f8f94ab3aa5716501f9eeeda38713786d27f8fd1f0
C++
6,900
231
// *************************************************************************** // bamtools_count.cpp (c) 2010 Derek Barnett, Erik Garrison // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 December 2012 // ------------...
639e457517d71f38e4231fbed094ed7610dd23502c3816c6a1ee06514921c89e
C++
6,915
147
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
db5693f6bd258df65a0e8774d2c7f7a7d8b9a248bd2891069c02db36f08a51fe
C++
6,940
197
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
38bd63e0082a2f17c015a67bd5432e8ecb6ba310778ea49e505a347f59122a38
C++
6,952
273
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for det...
c343fd7e665c7da3f729de30fb64e1be9a93eb9904fcbccbab0d9893b599ee56
C++
6,968
273
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for...
d665bf81db601d991fa96d89eef1e92548f8be4886cad125d9cbd3bf2f58e57f
C++
6,974
241
#include "genomult.h" #include <iostream> #include <fstream> #include <vector> using namespace std; // // Compute y^T X X^T y : output is a scalar // X = X0[1:Nindv,index:(index+num_snp-1)] // X0 : genotype matrix of Nindv X Nsnp // vec (matrix of dimension Nindv X 1) (usually phenotype) double compute_yXXy (int num...
17dff87ae38f46697e7d7c64396f881c4e8e52af0c9b5e18a32af28c111af44b
C++
7,015
206
/* Copyright (C) 2014 Sergey Demyanov. contact: sergey@demyanov.net http://www.demyanov.net This program 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 License, or (at your option) any l...
f26473ab5749b37edd39b52b0433b1e47487479eb87aff2cd988e03e38d0d94b
C++
7,019
220
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
e78bc248a7974d9c1cbf70a2e61c8c444266acd974427d0f28b53186711f7ad5
C++
7,024
191
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program 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 License, or * (at your option) any later v...
376d27ddd3c45c2e33a3afee9c546b675efb69bf91fc2706271f383b5e03b213
C++
7,032
204
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
0957329aa5cb1553acf85250169b5a38b82baaba7449b136eb92fd1daccd32ad
C++
7,033
246
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
fa8aafc98c8130954a11971927b21f35cf231f7718b97665c2183b7581535d02
C++
7,034
227
// *************************************************************************** // TcpSocketEngine_unix_p.cpp (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 15 November 2011 (DB) // --------------...
cf559a92febdbb29a0d5b8ab2826613112b54f49dd5a93a44a94cdd1453e93ec
C++
7,048
204
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
b83d4b69897dc99c31eda97019e3684d185802495423c63d4309342b185d986b
C++
7,052
227
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
18dbf7841ebdae4d670e9fbc5aef7c87af00dc0bab422f472dab43f8bb10d574
C++
7,065
188
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
bc6550ef31a4c767f72847fdeb8082c0861a9cce32afd9a8b4997c18626f573e
C++
7,068
227
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
b49432f2a0283aad71de7ec4e51112521bece2f56fa31cc14b62feb33830e0ca
C++
7,070
249
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
9c16972065af70bd1840a1ed0abaf5a728575aa676abc31b86e2ee1d4bce2a49
C++
7,091
203
#include "distpatch.hpp" #include <sstream> #include "util/error.hpp" #include "util/mpitools.hpp" namespace steps::dist { DistPatch::DistPatch(const mesh::patch_name& patch, DistMesh& mesh, DistComp& icomp, DistComp* ocomp) : DistPatch(patch, mesh,...
675bfd90b3b17dd2b1b74e7eaab1ed5049163fc927aeefe54e395238aef6b951
C++
7,108
164
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
c13b030cc1148adc8fc78637c66d289212af6b3379f8261ba648c61a71e9e8e7
C++
7,110
163
#include "diffusions.hpp" #include "../simulation_data.hpp" #include "geom/dist/distmesh.hpp" #include "model/diff.hpp" #include "mpi/dist/tetopsplit/definition/statedef.hpp" #include "util/vocabulary.hpp" namespace steps::dist::kproc { DiffusionDiscretizedRates::DiffusionDiscretizedRates(const osh::LOs& neighbors_p...
c4873a11b1d002cb2d789ad81c09bf0c46382c569a406ed7d190ef9625d759f8
C++
7,121
226
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
83a63f70936b262543aea07e8ccba53b2f3af3abace049b1b570e0492dce8a35
C++
7,135
162
#include "Scene.h" #include <algorithm> #include <numeric> #include <unordered_set> #include "Debug/Instrumentor.h" #include "Plotting.h" #include "RayProcessing.h" #include "RenderObject.h" #include "Triangulation/GeometryUtils.h" #include "Triangulation/Triangulate.h" #include "Vertex.h" Scene::Scene(Device& devic...
09c440df3bb5e2db52b3b2c7c006997c2f84e29cad417664b608a48d0959b441
C++
7,137
226
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
7810d22e1aaa6ae73c3ff6daa1cab436281b3bbf262d9ae6ee9c6fa14c2f51a3
C++
7,141
178
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d1f9e3043ab5639fc25b2e9c228bf03d4db807ccd59df4dc6e37b12eab034fc6
C++
7,154
199
// Resampler.cpp: implementation of a fractional Resampler class. /* % Revision History: % 2012: First release % 2023: Renamed from deprecated version Resampler.cpp % % Reza Sameni, 2012-2023 The Open-Source Electrophysiological Toolbox % https://github.com/alphanumericslab/OSET */ ///////////////////////////////...
3cc7776f4e932cf6b2ed5ed1a0003a58ae37c0bea2322fe421bef8b141da5702
C++
7,155
172
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * 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 obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ef37c74f0de9db54f0b8209dc92c873472f8c081ec096a9a963bea2f867c3a28
C++
7,185
258
/* * Copyright (C) 2012-2013 Regents of the University of Michigan * * This program 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 License, or * (at your option) any la...