sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
747a0ca199c25b4fe3e149d6829ab1b34b526f55deffd499842f27cfbe342fcd | C++ | 2,246 | 70 | /*
#################################################################################
#
# 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... |
2b92b53ed55cb2a7080d2c303710714169e3750356e3a6e3372f313527768c30 | C++ | 2,247 | 95 | /* 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... |
6ea1e57ac5ba40da8f55f0f5f9dee79b6befa4fd4322ae55f64b6a75bfa4c0d4 | C++ | 2,252 | 71 | /*
#################################################################################
#
# 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... |
3fef548df6e6c21321a0ba6da548a09c195b01a707e60bbc3535065d8107bba9 | C++ | 2,259 | 70 | /*
#################################################################################
#
# 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 ... |
048330b801e422411774754257f5bc25213fae02c48d6eb3ce824ab586a7c6cb | C++ | 2,262 | 70 | /*
#################################################################################
#
# 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 ... |
8b740228b2d8ebc983c1d1eb1c425af5c1f6c8fa5277fff80e230fc5a8a21bbc | C++ | 2,265 | 66 | /*
* 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... |
d7f7005a562c1576c8124202b76b4abe2b7d83f3846fbf798eab0971f484e149 | C++ | 2,266 | 80 | /* 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... |
e9a66474fc67b24f3b539c831630b08c6c4c8977aec0625fe3872a33f4643deb | C++ | 2,268 | 71 | /*
#################################################################################
#
# 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 ... |
9a10e8aa04ff32cfd3f6db83b39d4976d5f7f8e686b7500dc1590cfb0c7ee3c2 | C++ | 2,278 | 81 | /* 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... |
cb93caf5db8641592954bdda1f75904d6ab13b0c336d66ef744bd759e1370cbc | C++ | 2,281 | 88 | #include <stdio.h>
#include "hocdec.h"
extern int nrnmpi_myid;
extern int nrn_nobanner_;
#if defined(__cplusplus)
extern "C" {
#endif
extern void _Im_reg(void);
extern void _bk_reg(void);
extern void _cadyn_reg(void);
extern void _cal12_reg(void);
extern void _cal13_reg(void);
extern void _caldyn_reg(void);
extern voi... |
7bd4d73e6ec414625c8d7e8daee814dd266c9c5e9213e40c4eb3fda307ca04f6 | C++ | 2,301 | 67 | /* 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... |
3e2b3e63b4b9a780d35fce21f9c39972cc90ecee0f7bdb3973486660dc5b9ccf | C++ | 2,303 | 83 | /* 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... |
fea0c70be5e30713543c28addede709c906c99a10181629dc22f2a02cc391894 | C++ | 2,305 | 75 | /*
#################################################################################
#
# 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... |
efbef89cc1af12bb5775790a5cd85cb27cf1d72f4a52a6c085dabd3d8c94c310 | C++ | 2,308 | 79 | /* 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... |
c0b114585ced01fa3c6ceaf480a6d216e3b8093481ec8ae3c4338824166cf124 | C++ | 2,312 | 88 | /*
* 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... |
ae8eb13b1f4e4d8235d32214230d793fc965b643a168c368bf948455ebb44860 | C++ | 2,321 | 75 | /*
#################################################################################
#
# 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 ... |
0f59c045020b6c4a41c4d03a2b09419f55ca10a91770e42dde2687b8ebdeafbd | C++ | 2,335 | 62 | #include "Refrac.h"
#include "Ray.h"
namespace rayx {
/**
calculates refracted ray
@params: ray: Ray
normal: normal at intersection point of ray and element
az: linedensity in z direction varied spacing for different collision angles is already considered
ax: linedensity in x dir... |
9a4dbfb3d4b8374e041054d9fba4cdae9330b991ffb6b9158382095dcd465018 | C++ | 2,339 | 89 | /*
* 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... |
69d35af6732f71b95aa9d3c65c9345f58a99b87bcac5bc44acc8409272d5c621 | C++ | 2,344 | 76 | /*
* 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... |
67c1cc29321c8abe349afe7f40940f0ed01205c2fc9e4a33bfdbb6ced926a144 | C++ | 2,351 | 115 | // This file is part of gltfpack; see gltfpack.h for version/license details
#include "gltfpack.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <process.h>
#else
#include <unistd.h>
#endif
std::string getTempPrefix()
{
#if defined(_WIN32)
const char* temp_dir = getenv("TEMP");
... |
59c5c5aaeed756c996272fbba57875e0c7bf092107df60190ee83e28485428eb | C++ | 2,365 | 89 | /* 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... |
44ff0789bce604063fb7380172fda0e649d55ebe9b4ab1b6b5a399bc25b90d92 | C++ | 2,366 | 75 | /*
#################################################################################
#
# 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... |
59794c36d2853fddcfd028bb9575c3d98867c9e5325cee30468c74631341356e | C++ | 2,367 | 82 | /* 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... |
ad0b3f46a3b95b399f1b717a1efba01c5e186717eebb46d00fb33e735c5f0382 | C++ | 2,373 | 91 | /**
* 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 <gtest/gtest.h>
#include "../matrix.h"
using namespace starspace;
TEST(Matrix, init) {
srand(12);
Matrix<float> mtx... |
b8f29ba33aa4c76a88f20b64474c2c1b3b4b40f2fe970d79f12ce8f2803917d7 | C++ | 2,382 | 75 | /*
#################################################################################
#
# 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 ... |
b0049e51fcba696d21f234462170543d5b8833dd67250c435fca0d18b8055168 | C++ | 2,394 | 59 | #include "GeometryUtils.h"
#include <vector>
#include "Colors.h"
#include "Shader/Constants.h"
#include "Variant.h"
/**
* Given a Cutout object, this function calculates and returns the width and
* length depending on the cutout's type (rectangle, ellipse, trapezoid, etc.).
*/
std::pair<double, double> getRectang... |
cb21aedb07862106fba4f9001c380f665b8626ee4902bdf27504c54e16811140 | C++ | 2,396 | 90 | /* 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... |
64b6c35345241d1138dd3d74f3aa418d6f9ab17bfe821c0adf2eaaf249a63ae9 | C++ | 2,414 | 86 | /* 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... |
95e074699bc2854ff034f5cb5922265f8165aab77bcea7c542dde5d964d94c08 | C++ | 2,414 | 90 | #include "rng/small_binomial.hpp"
#include <cmath>
#include <iostream>
#include <random>
#include <catch2/catch_test_macros.hpp>
using namespace steps::rng;
// - - - One-Sample Chi-Squared Goodness of Fit - - -
// Measures distance from expected counts for each possible value
// Significance level for rejecting H0... |
f645e0ed8fb8fa62e3e6f8791a936b68601239f8a6acf4a2db3bbaa8a82d3ea4 | C++ | 2,422 | 93 | /*<html><pre> -<a href="qh-user_r.htm"
>-------------------------------</a><a name="TOP">-</a>
usermem_r-cpp.cpp
Redefine qh_exit() as 'throw std::runtime_error("QH10003 ...")'
This file is not included in the Qhull builds.
qhull_r calls qh_exit() when qh_errexit() is not ... |
f0c342c3e4e847a9e5a3fc207d205e5a2c698caf39a3550dba438395bc492f8a | C++ | 2,426 | 103 | /**
* 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_parser.h"
#include "utils/normalize.h"
#include <string>
#include <vector>
#include <fstream>
#include <boost/algor... |
2ac16fb0cd0747d1b91957c29cda0e845d0eff9da19f1908e1e7f7caa98295b6 | C++ | 2,433 | 65 | /*
#################################################################################
#
# 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... |
dfcbaa076c7f21489b654d1c55ff177c044606ba70e525d3df71f19253cbb43c | C++ | 2,433 | 89 | /* 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... |
4f26a728efe4fd401abe0154631dcf0cacad9b56939b303a85b84127f9582e62 | C++ | 2,436 | 114 | /* 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... |
0fba3ba126b1b168509938af41eeff0a4ed1689c9a3145e05d89c96ed5ef049c | C++ | 2,437 | 96 | /* 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... |
40beb53e0dcf52ee52ea2f97435e854b377c5fd0037c89c151e132b7b558b765 | C++ | 2,438 | 47 | #include "RenderSystem.h"
RenderSystem::RenderSystem(Device& device, const Input& input, const std::vector<VkDescriptorSetLayout>& setLayouts) : m_Device(device) {
createPipelineLayout(setLayouts);
createPipeline(input);
}
RenderSystem::~RenderSystem() { vkDestroyPipelineLayout(m_Device.device(), m_PipelineLa... |
5b777764d5d11147829af7de72249652900d14842643eef32e97015e3e4f1c2a | C++ | 2,449 | 87 | /*
#################################################################################
#
# 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... |
9e55ea43856f1011a743c198998e1ce2b3124ee6cde63f2df435ce9f1f9127ca | C++ | 2,455 | 79 | /* 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... |
6c51d537c61b327b6f5d00085836d97353f664c7b70087ce0f5a9d1cc1ea05b0 | C++ | 2,463 | 78 | /* 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... |
7e155c5f4f394cf2779ba7caf0516c3e299f1db3ac2f2b121fe235521d0f13b9 | C++ | 2,463 | 90 | /*
#################################################################################
#
# 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... |
6ab9588fdfb4cabed69090b75db289936fd8a78cfce5059b7eee4b4d16648168 | C++ | 2,464 | 62 | /* 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... |
8602ed736d4ef328c0deab27e8e40ce3cb5a08e2bec0edbda15026745ae26742 | C++ | 2,465 | 87 | /*
#################################################################################
#
# 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 ... |
d0aeb78a5a132b4d83a11f3ef1ed9c57e9ac821743974005f3d55b5e2e4e6a79 | C++ | 2,474 | 79 | /*
#################################################################################
#
# 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 ... |
ccb048314b9575c27cac27e930ceedd08e0405c9b1d2c61b827f4d415334e999 | C++ | 2,477 | 82 | /*
#################################################################################
#
# 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... |
e5cdfabe099f071328b308e8ff36701c3867dd71c4572d9e4822f116fdb7c611 | C++ | 2,478 | 78 | #include "Adafruit_Sensor.h"
/**************************************************************************/
/*!
@brief Prints sensor information to serial console
*/
/**************************************************************************/
void Adafruit_Sensor::printSensorDetails(void) {
sensor_t sensor;
get... |
24f4ae2c5a2ff74fd5338b10fd8795fbfc6e4e767367d44146ebf5a976efddf5 | C++ | 2,479 | 90 | /*
#################################################################################
#
# 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 ... |
9d42646dfa40accda77cd0b0349d98c8dac62794f90c988fdf93792ac21cf947 | C++ | 2,487 | 85 | /* 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... |
3252c711215c630ae5c365356b0ccd475ac5df358ca2b5f62ff505710435d5de | C++ | 2,488 | 94 | /*
* 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... |
fbe1cc1669834767c6df0a8ed9d62156c4234855ec671cb22663fa380c644599 | C++ | 2,493 | 82 | /*
#################################################################################
#
# 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 ... |
2c08d46c3d8614bfa8697692ad241835c74898fc4123055b6bb240a0d78fd97d | C++ | 2,508 | 87 | // [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::interfaces(r, cpp)]]
#define ARMA_64BIT_WORD 1
#include <RcppArmadillo.h>
#include <Rcpp.h>
#include <math.h>
using namespace Rcpp;
// declare K_Binary_SPA
double K_Binary_SPA(double x, arma::vec muhat, arma::vec G);
// declare K_Binary_SPA_alt (alternative way if not c... |
ada1ef6f749228588f83ddf95bc93db287f1e45209329ac2bfbc4a5cf2303c2f | C++ | 2,512 | 73 | /* 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... |
8cf421f741153b74057c92cb625bc6aa861bc50cd0a86e0ae1f0f95647644cf2 | C++ | 2,516 | 76 | /* 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... |
88a81191a0830614d5e6f653bc488fe0d0a5270c7b8eff2a11429b68987abe41 | C++ | 2,523 | 79 | /*
* 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... |
0b166bbfe2cb1bc4d952b6458c82b53a48b6e81be45847002e695b1373a90d54 | C++ | 2,527 | 70 | /* 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... |
7884c9012d25e0ccb675c21b8d9e915b67134794396fe19a0ca9b3b1a4b81d96 | C++ | 2,534 | 98 | #include <cmath>
#include <iterator>
#include <numeric>
#include "math/bbox.hpp"
#include "math/point.hpp"
#include <catch2/catch_test_macros.hpp>
using steps::math::bounding_box;
using steps::math::point3d;
TEST_CASE("BoundingBox_constructors") {
bounding_box b_empty;
REQUIRE(b_empty.empty());
point3d... |
53fd2468b5ad11a0761deee51f326793df66c74f9807acfcbb13be9901f8ce93 | C++ | 2,538 | 76 | /* 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... |
4e26554571a2748e678158682155f298dff642826cd7e1bfed30ddf31678c104 | C++ | 2,540 | 92 | /*
#################################################################################
#
# 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... |
788227dc50833c5638e752489d59d798f54e48ed266c2fa75960fc924fca9353 | C++ | 2,543 | 89 | /* 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... |
941cd292941608e40d2aa197cfaf230b24885d5adcf60514b4853866e68954ec | C++ | 2,546 | 113 | // ***************************************************************************
// ByteArray_p.cpp (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 November 2011 (DB)
// -------------------------... |
288aaf0b713af5cafcaa2a1202f0fd31a75945de09c697768124d38237fc80ca | C++ | 2,552 | 80 | /* 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... |
306580301634807ec8aaa0ba6aa7e4a9701d698f3a593f544270d930b780e231 | C++ | 2,552 | 61 | /*
#################################################################################
#
# 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... |
14f4c390d5b2764e9fea2bc478d7428a0221254c941afc343ed99737c9520d4f | C++ | 2,556 | 92 | /*
#################################################################################
#
# 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 ... |
2715783e70e09bf6d05c9ed0c3374116c113e8ab88833862c172101f7011095e | C++ | 2,560 | 85 | /*
#################################################################################
#
# 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... |
650ebb4a71d85c7a4b30090dd99222e07dec62e85338afe5bebea01ad262eca2 | C++ | 2,565 | 85 | /* 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... |
0bcc0767cd57c3e86e7c4eb5a945192b9ca2531a78eaa545b7431fd78a8aa30f | C++ | 2,566 | 71 | /* 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... |
720799dde604efd62bddcc93913d6242ae276f2ca140634484afb32fd7e2a85c | C++ | 2,568 | 70 | /*
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... |
b6a39c7a599999162d2bceb67e40ebba009f7783860eb091fa1e0b493cf6a397 | C++ | 2,568 | 61 | /*
#################################################################################
#
# 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 ... |
ce12858367e2c1a4484b067a6cca3285c4dc581ef2346488f6896a38f3f6480c | C++ | 2,576 | 85 | /*
#################################################################################
#
# 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 ... |
52771b0bdf0567e07d64b7cfd888aa309491e2fa3526260c4ec6a932ff33d127 | C++ | 2,577 | 100 | /* 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... |
489a0ff64fc935d5a9361bc9656e50a049871f03558c47c1648bf315caf1875a | C++ | 2,580 | 97 | /*
* 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... |
8c96874c322feee9d6f6059e4b7ffa17094bec5f5c09490967b9c40e0af90b71 | C++ | 2,581 | 83 | /* 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... |
a5515c1dad656219d90bba234494fe147928b12faba55b1e396204538c6bfb5e | C++ | 2,592 | 70 | #include "BeamlineOutliner.h"
#include <imgui.h>
#include <filesystem>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "Design/DesignElement.h"
#include "Design/DesignSource.h"
#include "Settings.h"
// Constructor / Destructor
BeamlineOutliner::BeamlineOutliner() {}
BeamlineOutline... |
4a2bdd3afba25daee26f28c29f37d4fa1724b07a8f34659bc54ca7cc701e1b6a | C++ | 2,593 | 74 | /* 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... |
75559bdc7a0c87cdb64cb618b2a98287382b66cef7f751c86c0a4e15eb4d4e00 | C++ | 2,620 | 85 | /* 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... |
109e1c4df1ae34f29aac8da612c74268e11494c7bf7bdc3e48e6fd4da76fdfb2 | C++ | 2,623 | 108 | /*
* Copyright (C) 2010-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 la... |
0fbb76593a998e4889f21fb707ab89f17798cf33c258ac09e8f43cf85b17a29c | C++ | 2,637 | 84 | /*
#################################################################################
#
# 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... |
694ec788ab9a8b5fd4c637325ede4025d7befd4bd9f6d96bcfdbfbe6d3b18de5 | C++ | 2,639 | 92 | /*
#################################################################################
#
# 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... |
6f5a4e580100df83fa1e96288158d6815a30776865497edaaadc672c00bcb88d | C++ | 2,640 | 106 | /* 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... |
6a4df9e11985cf77fd601028b24090fd3b025f09d42796b5d487e0d29f2d8b18 | C++ | 2,646 | 59 | #include "Random.h"
#include "setupTests.h"
// This module tests beamlines with randomness.
// As it's hard to check strict properties for a randomly generated output, we choose a fixed seed approach.
//
// in this module tests mostly compare rayx's output with an older "correct" output from rayx, which was manually c... |
0f9c5148b7d19f3f6b9905474c82aaed876226e28c44f471f195b60a40972b9b | C++ | 2,653 | 84 | /*
#################################################################################
#
# 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 ... |
e51d46ca9ff3a8468ceed63a411d53aaa07287cdef74df213e81f365292b7541 | C++ | 2,655 | 92 | /*
#################################################################################
#
# 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 ... |
4d1b1689f2e047d7d4f045f35a5c7fb4bd7964031a0a75e7f4fd35655f429571 | C++ | 2,656 | 90 | /*
#################################################################################
#
# 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... |
789a43489fb24e6f8cf24e57a7fb552c477aae265867312e79fe1e8437b3ac81 | C++ | 2,660 | 73 | #include "mpi/dist/tetopsplit/kproc/event_queue.hpp"
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
using steps::dist::kproc::EventQueue;
using steps::dist::kproc::KProcID;
TEST_CASE("KProcEventQueue_CreateAndUpdate") {
EventQueue queue;
REQUIRE_THROWS_A... |
23bca844ec8cd0b43010e4a8e8d4050cde2d943408218b5812e942d5d93876f2 | C++ | 2,666 | 82 |
#include <mex.h>
#include <algorithm>
#define NARGIN 2
#define IN_I pRhs[0] // image
#define IN_S pRhs[1] // scale
#define NARGOUT 1
#define OUT_F pLhs[0] // filtered
inline void mexAssert(bool b, char *msg) {
if (!b) {
mexErrMsgTxt(msg);
}
}
#include <string>
inline void mexPrintMsg(std::string msg, long d... |
e417401f2ff98f8f98e88fd096d7d5db62864727c2c5913a399170f443896c3c | C++ | 2,667 | 72 | #include "ssa_operator.hpp"
#include "../kproc/diffusions.hpp"
#include "../kproc/kproc_state.hpp"
#include "util/profile/profiler_interface.hpp"
#undef MPI_Allreduce
namespace steps::dist {
template <NextEventSearchMethod SearchMethod>
SSAOperator<SearchMethod>::SSAOperator(MolState& mol_state,
... |
c8a625c16b3f8e370f80076b675fa4041d60f74e685744363856eb4cb6f3f7b8 | C++ | 2,672 | 90 | /*
#################################################################################
#
# 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 ... |
a7b6c47a8c8eab0d76ad185413c6fe8efdb9a88a2498ed4051976f4d9aa5359e | C++ | 2,675 | 94 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/qhulltest/qhulltest.cpp#5 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
************************************************... |
0668d87f5d8892e48288e4ae96142d86f941e22d681e10f5ada42e7f94dd3921 | C++ | 2,677 | 84 | /*
* 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... |
c8037c2085c55b227e72e84a3552465a0c486dafc7b0955f7be0a369c9e1220d | C++ | 2,698 | 96 | /* 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... |
0a3d8f32cf12e882fa1801dc0f8e8412a24fccc6dffbdb158ca8a6188c2fe0da | C++ | 2,702 | 79 | /*
* 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... |
0b2ffd3b93f584fbe29c11eff0aee6b2e88dd79a5d845a3948288d4e376b990c | C++ | 2,702 | 92 | /*
#################################################################################
#
# 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... |
aa65e68af7474810fbd963ee1d997fe8a3eb42e619d3f43e2212455566ebe7ab | C++ | 2,713 | 130 | /****************************************************************************
**
** Copyright (c) 2009-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/qt-qhull.cpp#1 $$Change: 1981 $
** $DateTime: 2015/09/28 20:26:32 $$Author: bbarber $
**
***********************************************... |
141e76dd1a36b411f02686a56238bff5ecb1b517b7a2ca446f8ed651dd1834d9 | C++ | 2,716 | 69 | /*
#################################################################################
#
# 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 ... |
b3bca863fa8a8997c1ccf0349231ffd62ed94325119107758a8f2bc3e931a5c1 | C++ | 2,718 | 92 | /*
#################################################################################
#
# 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 ... |
b170b17aeecb60700c6d0509c59eb173228a3bb66dbc0e663ea59e33671869a0 | C++ | 2,722 | 83 | /*
#################################################################################
#
# 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... |
8bd0efeeb5cf8d927cb034802d2ff3b142834a14a2884603b033bdaf60d761a9 | C++ | 2,723 | 104 | /* 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... |
aa481ece91671fc747bbbdd70d847a47d3ff0091fe31efd912f770fa372ef689 | C++ | 2,731 | 95 | /*
#################################################################################
#
# 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... |
b856dcb1ad9ff41eec266c6f142b4284054ba959d8acbc5a8470b34ea0460769 | C++ | 2,732 | 72 | /* 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... |
576861679650beda71fb1dd1372e7b774a62d7fd12c3481fa3083fb5d72158f8 | C++ | 2,734 | 103 | /*
* 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... |
ee6c6a7b5ee178e0894a16486be1cbef1614921a0a501622b5b847cf5867dc91 | C++ | 2,738 | 83 | /*
#################################################################################
#
# 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.