sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
ae22d2e8c0fb88ca60b7d65e59510c063a6e58178535e89499c9753e7cd757a6 | C++ | 15,213 | 561 | /****************************************************************************
**
** Copyright (p) 2009-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/qhulltest/QhullPoints_test.cpp#3 $$Change: 2062 $
** $DateTime: 2016/01/17 13:13:18 $$Author: bbarber $
**
*****************************************... |
8bdc5c4e0a1ffe45c777665472e104aed5a5333ef67067c43efaeac97f9b300d | C++ | 15,251 | 426 | /*
#################################################################################
#
# 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... |
95c308faabb51d9bc3cf8dd4db20d8e3267bdddfe0d67f8833427494712aaf8b | C++ | 15,267 | 426 | /*
#################################################################################
#
# 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 ... |
2d7e7890bd50c3a24b9f4cefe66b95cb14d6c4fc18d51a3e3bf67c7fb390c141 | C++ | 15,286 | 481 | /* 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... |
419e62c38843dad8aee96bb33e35628f77c0e47fc72e9c8f5bb77c6a0360e5f0 | C++ | 15,331 | 566 | /*
* 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... |
f22ab768d3d4a06efd37f1360809186bb33393e88d483257401abeeee77f3329 | C++ | 15,340 | 452 | #include "stdafx.h"
#include <sstream>
#include <cmath>
#include <string>
#include <omp.h>
#include <time.h>
#include "Labeling.h"
#define _USE_MATH_DEFINES
#include <math.h>
#else // Release[hÌê
#pragma comment( lib,"opencv_world411.lib") //
#endif
#include <opencv2/core/core.hpp>
#inclu... |
9ce74c33cab510397e274bd513acb55725965807b2a11d00029025f54358ba64 | C++ | 15,484 | 518 | /*
#################################################################################
#
# 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 ... |
cce89ac61341ffe5520f956f9953bcc7a1f30ac5cdc7c1021d99ed2c9a2e5b54 | C++ | 15,509 | 519 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/QhullFacet.cpp#3 $$Change: 2066 $
** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $
**
*********************************************... |
541a493b97105148cea4118d233387fca147aba05364e3576306581bf96e6cbd | C++ | 15,533 | 486 | /*
* 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... |
b4bceaaeb8a878c47de049c2935e0bc07f6ab4d10aed47f801a5cec060bc3111 | C++ | 15,563 | 312 | /* 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... |
836976319b0b38dc95dda35851e3c0ed497eba3159b1be72250166eada9ac63e | C++ | 15,757 | 422 | /*
#################################################################################
#
# 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 ... |
225d84ba049b4a073d5a0375047f8602c495541ed544c49a6fdc8398d48668b1 | C++ | 15,844 | 526 | /*
#################################################################################
#
# 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... |
4cb8c9ae36e04d926606705413c0f0280b013f4dbc846feb9e93aadd4c370aaf | C++ | 15,929 | 378 | /* 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... |
9b2abc9aae72f6e978460d0df6be5994273f76178192da54553da1bebe6e0579 | C++ | 15,982 | 485 | /*
* 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... |
3e8f63bf0b958d0ce6ba19ba5fcfdf9ab588509af8464eb2c3dffc2b91ef966c | C++ | 16,070 | 503 | // ***************************************************************************
// BgzfStream_p.cpp (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 17 January 2012(DB)
// --------------------------... |
cb09bb25b3028110f2e3270e6bd5bbfee77c7c42094dd0bf10f7ebe38f7608c3 | C++ | 16,117 | 526 | // Copyright (c) Facebook, Inc. and its affiliates.
#include <ATen/TensorUtils.h>
#include <cmath>
#include "ROIAlignRotated.h"
// Note: this implementation originates from the Caffe2 ROIAlignRotated Op
// and PyTorch ROIAlign (non-rotated) Op implementations.
// The key difference between this implementation and tho... |
1c49dfcf1944ed29bd3fe08d860c3df0d403094a2366395914ce8b373b1cf8a0 | C++ | 16,120 | 586 | // ***************************************************************************
// BamHttp_p.cpp (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 24 July 2013 (DB)
// -------------------------------... |
7b8378a22d115c6a592ebb95ffd0ca5b9e5b7848cabf512b08f053c230a5a1ee | C++ | 16,167 | 406 | /* 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... |
9b73ff58c40a6b6eba69c09bb49002b7fb555bdaca806b1d09184696c60d4a34 | C++ | 16,252 | 553 | /*
* Class for Teensy (Arduino) Serial Communication (cpp file)
*
* mostly adapted from: http://www.pjrc.com/tmp/host_software/
*
* author: Michael Berger
* German Primate Center
* mail: mberger@dpz.eu
*/
// local includes
#include "serial_communication.h"
// global includes
#include <iostream>
#inclu... |
3a2edd441417c397eea0b0d849bba261b0a4609ec03457b9a88a456b737ee5f3 | C++ | 16,292 | 736 | /*
* 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... |
d2845b5d332c99b2dabe90894dcc1777bf218617998c1d2d93383261a9b6be09 | C++ | 16,294 | 442 | // ***************************************************************************
// BamMultiReader.cpp (c) 2010 Erik Garrison, Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 14 January 2013 (DB)
// --------... |
fa833589235670c5a8754b19c019b4bea576f8da2319e8e4ae94646ce1c600f0 | C++ | 16,332 | 471 | /*
#################################################################################
#
# 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 ... |
193ca75c767e4f0a678bf1bb014a0e6460965908c6272e7111373279d614413c | C++ | 16,359 | 472 | /*
#################################################################################
#
# 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... |
d7745fec46603690d9df52b580d2a75245bdeb61de5c253fe9b5ded39d2416b8 | C++ | 16,394 | 551 | /*
* Copyright (C) 2010-2012 Regents of the University of Michigan,
* Hyun Min Kang, Matthew Flickenger, Matthew Snyder,
* and Goncalo Abecasis
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
b3d7a756be1c54af471cfce617a846fde792c9196941b06d8b2d77e5f0cf4534 | C++ | 16,425 | 691 | #include "genotype.h"
//#include "arguments.h"
#include "storage.h"
#include "functions.h"
#include "vectorfn.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
void genotype::init_means(bool is_missing){
columnmeans.resize (Nsnp);
for(int i=0;i< Nsnp;i++){
double sum = columnsum[i]... |
d07d1b3785ef7dfbc7d5577e5a2e9128e3470783d7bb5309ca52076990d847f9 | C++ | 16,430 | 439 | /*
#################################################################################
#
# 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... |
f9426c61b17b802600aef01ba51e878befc9b17c9cae3f25bc9a4a3e55fcee11 | C++ | 16,467 | 497 | #include <fstream>
#include <vector>
#include "solver/fwd.hpp"
#include "util/checkpointing.hpp"
#include "util/error.hpp"
#include "util/init.hpp"
#include "util/vocabulary.hpp"
#include <catch2/catch_session.hpp>
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
T... |
f832cf44eda518b76567917984f0d8ee49e6dfd214f0e341ccac4a06d6a6dab5 | C++ | 16,497 | 235 | /*
* 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... |
afcf117b80ebc210c9f41c07ddaabefb5c13dc9cd298790df502a4683c561149 | C++ | 16,562 | 620 | /*
* 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... |
66924726b6ce8e4b2017a24c06d59ff95b19885449e38d4322f6267a9361177d | C++ | 16,569 | 550 | // ***************************************************************************
// SamHeaderValidator.cpp (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 25 October 2011 (DB)
// -------------------... |
7feb6e6c3b9da54b00ca466ed624f727663faa3bf12fb25c53bb5cfd024bba98 | C++ | 16,605 | 486 | /*
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... |
ccd7cea7536796b8489d7fb2a452cf4594914bbbcf5a10d4f18e49363c0aad80 | C++ | 16,656 | 563 | /*
* 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... |
9f65d918e96bc555f6236de12bcc3bd586db9cb26eda1130b2be24080f68f396 | C++ | 16,665 | 567 | /**************************************************************************/
/*!
@file Adafruit_TSL2591.cpp
@author KT0WN (adafruit.com)
This is a library for the Adafruit TSL2591 breakout board
This library works with the Adafruit TSL2591 breakout
----> https://www.adafruit.com/products/1980... |
8578f6163dbec5c0f710d87fa332162c0105d74a070e2b67bad04e61924eaa57 | C++ | 16,797 | 539 | /*
#################################################################################
#
# 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 ... |
511ae80322dab774671bd53f04804b6c0560aa805870466cd089b873c5a869fe | C++ | 16,809 | 748 | /*
* 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... |
477af571f5f9f182040132c3b214c6c6f9f92dd1bffcbb874e287bf5ab0beb85 | C++ | 16,836 | 458 | /* 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... |
173a816f48ddbf5d5f25db3b7e7c9ba22cff1cc2583e91a0fbf5b91ccf81c4b3 | C++ | 16,853 | 429 | /* 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... |
48e8bc21aeae151803bca1e261b052d2aa4c32c77435db8e2eb709148f1a59bd | C++ | 16,887 | 336 | #include "Application.h"
#include <SDL3/SDL.h>
#include <chrono>
#include <future>
#include "CanonicalizePath.h"
#include "Colors.h"
#include "Debug/Debug.h"
#include "Debug/Instrumentor.h"
#include "FrameInfo.h"
#include "GraphicsCore/Renderer.h"
#include "GraphicsCore/Window.h"
#include "RayProcessing.h"
#include ... |
7967b73c6999c7f95382edee76ff18361c500c6f079dff592c0a6d93395ff24e | C++ | 16,927 | 574 | /*
#################################################################################
#
# 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... |
f8f4d42dc4b838f0e7ea111b07668c468a0097149d9547e0e9c68d12806c9225 | C++ | 16,945 | 574 | /*
#################################################################################
#
# 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 ... |
7a5f5b49c4f7d354ea575bdbf7cf1919673dec28051aabd84b959e893f7d9d83 | C++ | 17,060 | 530 | // For reference, see the original Nanite paper:
// Brian Karis. Nanite: A Deep Dive. 2021
#include "../src/meshoptimizer.h"
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <vector>
#define CLUSTERLOD_IMPLEMENTATION
#include "clusterlod.h"
struct Vertex
{
f... |
ff7e322391ce9cb2f082acdd43bce4ddce7eb05a19cc8b645bd718a7f308e1a5 | C++ | 17,064 | 600 | /*
* 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... |
80d0b8ada40190612fbda1545d9356e3e9517ee22095176222b67492efa73fd2 | C++ | 17,078 | 517 | /*
#################################################################################
#
# 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 ... |
bb5b99166791ba56b224a73f7a965b15b79d915a7b1e6e4b1d9d517a5843f10b | C++ | 17,113 | 411 | /* 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... |
c2e0e641986fb3368e27c49c57b61316c40afabf05b9122172c964e2b434d45a | C++ | 17,157 | 547 | /*
#################################################################################
#
# 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... |
61ff92f331007c8a8800d42d23314defd2ee3f5a8f02235bf6daabc6981ea6b2 | C++ | 17,249 | 393 | /**
* 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 "args.h"
#include <iostream>
#include <algorithm>
#include <string>
#include <cstring>
#include <assert.h>
using namesp... |
e2b5e70341a486e50c9bf11f224d64926c4d34e57f64671090867a1b48fbbaca | C++ | 17,281 | 366 | #include "Swapchain.h"
#include <array>
#include <iostream>
#include <limits>
#include <utility>
#include "Debug/Debug.h"
SwapChain::SwapChain(Device& deviceRef, VkExtent2D extent, std::shared_ptr<SwapChain> previous)
: m_Device{deviceRef}, m_WindowExtent{extent}, m_oldSwapChain(std::move(previous)) {
init()... |
c877f0d2c3b4f8008a7e598ff3b7fba073fd09a7736f43d10e1f646ea63b6f3e | C++ | 17,297 | 460 | /* 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... |
78f071ab68440baa0a165259dcce174cc390be551d1b54f676ff9483b69212b5 | C++ | 17,360 | 489 | #include "steps/mpi/dist/tetopsplit/kproc/kproc_id.hpp"
#define CATCH_CONFIG_RUNNER
#include <Omega_h_file.hpp>
#include <catch2/catch.hpp>
#include <mpi.h>
#include "test_common.hpp"
#include "steps/geom/dist/distmesh.hpp"
#include "steps/mpi/dist/test/ca_burst_background.hpp"
#include "steps/mpi/dist/test/multi_co... |
80d9513a7f1ddcf4d98e13a34b5e142e6257f062ecf4b0f5ca46f3548534970b | C++ | 17,405 | 489 | #include "steps/mpi/dist/tetopsplit/kproc/kproc_id.hpp"
#include <Omega_h_file.hpp>
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
#include <mpi.h>
#include "test_common.hpp"
#include "steps/geom/dist/distmesh.hpp"
#include "steps/mpi/dist/test/ca_burst_backgroun... |
04d67f9b961257b2e1cd618936553ffc0a0b7a8d0df35ed97b53bc1ee8c5a7d8 | C++ | 17,468 | 637 | /*
* 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... |
b2380dbf9b250949fbc7d27e94c84bc6c80f62954c44c4a51e7079d58be462e1 | C++ | 17,475 | 500 | #include "Beamline.h"
#include <sstream>
#include <stack>
#include <stdexcept>
#include "Debug/Instrumentor.h"
#include "Design/DesignElement.h"
#include "Design/DesignSource.h"
namespace rayx {
namespace {
std::string getUniqueUnnamedGroupName() {
static size_t counter = 0;
return std::format("<unnamed_gro... |
19e55babd3f8477ac80d108236c911591137dfa61ed4c89ace05323329608a3f | C++ | 17,531 | 519 | /* 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... |
ef20cd55abe1422a4869077606b84b89a0e3c5fb0f9fa7f31061edc103ed273c | C++ | 17,547 | 526 | /*
#################################################################################
#
# 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... |
207cb7ed1ce97f222be8cf344230f10e5e1a75d91fda2b8967f7502da17ad91b | C++ | 17,560 | 491 | /*
#################################################################################
#
# 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... |
27e1a2d1fc4fec21bb386062d792084f2aee3b22b4549fb1707e0bac8144a2f3 | C++ | 17,576 | 491 | /*
#################################################################################
#
# 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 ... |
cfad607b6cf9471f77a490a6b7e5be2e5578b7973c8b74d206daed02a5d2eabe | C++ | 17,675 | 675 | /*
* 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... |
cf4d78a93137f86733fac34a7e4427fa50daea86a7fe86af7c7ab6a8e3b71da3 | C++ | 17,772 | 434 | #include "Triangulate.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/string_cast.hpp>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include "Colors.h"
#include "Debug/Debug.h"
#include "Debug/Instrumentor.h"
#include "Design/DesignElement.h"
#include "Element/Cutout.h"
#include "Geom... |
5cdd1ce17ca813fd2bbf00a6272ba706fd8cb5667df08b8faf2ae401a477f512 | C++ | 17,953 | 446 | /* 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... |
50613bd0c1c059909d3336033034693aadeda09c0edda7c7e220929dc3e6c2f7 | C++ | 18,087 | 694 | // ***************************************************************************
// bamtools_fasta.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 9 March 2012 (DB)
// -----------... |
942372a91830f2bc12006f18e303fa02b9e25940c7225fb217b74586ab3e0ab9 | C++ | 18,194 | 447 | /* 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... |
4abcce1ff98004ec2b702189c52e9426222d2bb6b3ca7174f8ffc3cd0ece9ce1 | C++ | 18,420 | 576 | /* 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... |
a0e987e280517462d20137208b45fc692847b185e034d389a1b3c8bd9f323dcd | C++ | 18,521 | 488 | /*
* 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... |
81037b530d10aaac80a43197294aef5b27b3ccf8d1e323c5ccdc0945fc4c5d69 | C++ | 18,567 | 557 | // This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
#include <assert.h>
#include <math.h>
#include <string.h>
namespace meshopt
{
// opacity micromaps use a "bird" traversal order which recursively subdivides the triangles:
// https://docs.vulkan.... |
d4c122b739759b28aa9bf729ecd250e983c4deb7775f67bc800684e52e5ef329 | C++ | 18,622 | 457 | /* 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... |
b60799dc75a2a3df8d8600341baf711388212636f5cba5e71d999d9aa8344932 | C++ | 18,681 | 515 | /* 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... |
03950cfbb395d12125b505fa44a85a065cd4c30390f99a78ae87bfae01c4acca | C++ | 18,753 | 637 | // This file is part of gltfpack; see gltfpack.h for version/license details
#include "gltfpack.h"
#include <string.h>
static bool areTexturesEqual(const cgltf_texture& lhs, const cgltf_texture& rhs)
{
if (lhs.image != rhs.image)
return false;
if (lhs.sampler != rhs.sampler)
return false;
if (lhs.basisu_imag... |
566dd6804d87498fdf65b4de84f2ca9bf43890d76959acb0114d5db3863a1008 | C++ | 18,781 | 575 | /*
#################################################################################
#
# 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... |
af6120be6fd47309c2849af1ce1dcaf36674245e8f14bdb6c90ebf460550afab | C++ | 18,783 | 446 | /*
#################################################################################
#
# 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... |
70a30d669223ff019105406feb3ae4e08151e1850957e76248eee6c03a3610ad | C++ | 18,814 | 360 | /* 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... |
0efc1a02dba71308db5fb2c1f16a39437e3102976b5893662b961ce45a6fedbd | C++ | 18,846 | 492 | /* 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... |
cf436cae2e6c6d01ce0043d2e1f5940c5a8e4cb0cd8165a3e1b2ec84a1bd5c28 | C++ | 18,961 | 581 | /* 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... |
098095c7089ca78b98bbba5a91c523387125e622c413764d7bc25ab8da9b4acb | C++ | 18,963 | 528 | /*
*! @title Class to handle hardware configuration
*! @file HwCfg.cpp
*! @author Romain Beaubois
*! @date 09 Aug 2022
*! @copyright
*! SPDX-FileCopyrightText: © 2022 Romain Beaubois <refbeaubois@yahoo.com>
*! SPDX-License-Identifier: GPL-3.0-or-later
*!
*! @brief
*!
*! @details
*! > *... |
7953a36e5c86f4c130957f85d1e83c17a41c20a1829e5c6faccc0290d8c2eeee | C++ | 19,012 | 398 | /* 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... |
3cb3018a9ed489b3ac15d2c5e5d2d472cde458e6e50168dd78daffebc9413d19 | C++ | 19,083 | 496 | /*
#################################################################################
#
# 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... |
2740efd3ad03f90f718644a19293e728e0a0860798d3405131049d2b9c979d96 | C++ | 19,225 | 442 | /* 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... |
1cb96bd0abb054cc6f7ce3b9d0a080ab4c13f0a1bbeff9bddd10edde954d517b | C++ | 19,267 | 609 | // This file is part of gltfpack; see gltfpack.h for version/license details
#include "gltfpack.h"
#include <memory>
#include <math.h>
#include "../extern/micro_ply.h"
#include "../src/meshoptimizer.h"
enum SplatAttribute
{
Splat_Position = 0,
Splat_Rotation,
Splat_Scale,
Splat_Opacity,
Splat_SH0,
Splat_SH1,
... |
216a2cd4fbe63541093435b75abd23e2565fa6ab91153d34f7931bdcef8c03d1 | C++ | 19,324 | 406 |
#include "kproc_state.hpp"
#include <stdexcept>
#include <Omega_h_for.hpp>
#include <boost/graph/connected_components.hpp>
#include <boost/graph/copy.hpp>
#include <boost/graph/graphviz.hpp>
#include "diffusions.hpp"
#include "mpi/dist/tetopsplit/definition/compdef.hpp"
#include "mpi/dist/tetopsplit/definition/stat... |
cf34f00dd7a550c7b18b31c35d683ac2efb9e1d711bcec411649d311477d4b2d | C++ | 19,387 | 621 | // This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
#include <assert.h>
#include <math.h>
#include <string.h>
// This work is based on:
// Takio Kurita. An efficient agglomerative clustering algorithm using a heap. 1991
namespace meshopt
{
// To a... |
1f931e09f862cf48c6554ba43eecc0ed2c105134f8d07d70f1bf47608932310f | C++ | 19,390 | 596 | /*
#################################################################################
#
# 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 ... |
bb2755631a4ca49df1f854fd672e6a581df370c05ebefde20395c40cbdffd9fe | C++ | 19,504 | 619 | /*
#################################################################################
#
# 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 ... |
0473e320152633bb05ca09e620e700c5035de7344f438310c64ef2c5dfa85f67 | C++ | 19,547 | 501 | /* 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... |
fc59260c53844834ba6a74d0668866b54671a0e5b6e8fc36aa97385b57ec9bcb | C++ | 19,576 | 618 | /*
#################################################################################
#
# 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 ... |
15ce628ce7276c3a14b1623c1710fa28c910d21bca57746afbfdddd6386200e8 | C++ | 19,717 | 604 | /*
#################################################################################
#
# 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... |
4dde20b7c874b497dae52aa78dec4743075571bbca24709579c9a4acc894ae03 | C++ | 19,855 | 760 | #include <bits/stdc++.h>
#include "genotype.h"
#include "storage.h"
using namespace std;
float genotype::get_observed_pj(const std::string &line){
int observed_sum=0;
int observed_ct=0;
for(int j=0;j<line.size();j++){
int val = int(line[j]-'0');
if(val==0 || val==1 || val==2){
observed_sum+=val;
observed... |
c04336ec240906c36e087a134555fab4e4ce6e49e5f9bc5f33b0936db46a05b5 | C++ | 19,944 | 614 | /*
#################################################################################
#
# 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... |
d42af3197492b884b7a1924ea7ab1c89da5959d945712d92b481fc168ce00618 | C++ | 19,947 | 625 | /*
#################################################################################
#
# 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 ... |
0b79f99107e5419ea30ed05f80a2c479c7ae189bd370d173487915dd5c2fdc1b | C++ | 19,999 | 475 | /* 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... |
64d72d3bd5eeb511038a939565f73e42d6cc832560114ea05add824f17f18326 | C++ | 20,025 | 625 | /*
#################################################################################
#
# 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... |
14e071c99bea84f8ad91d4ab6412a441776f1978790849eb4bc575f2b2ae479c | C++ | 20,044 | 623 | /*
#################################################################################
#
# 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... |
93cca3a31bf61230e09dbe6b4d309dc020e695a17aac363aa2ed9c234101d1d5 | C++ | 20,063 | 474 | #include "Device.h"
#include <SDL3/SDL_vulkan.h>
#include <cstring>
#include <iostream>
#include <set>
#include <unordered_set>
#include "Debug/Debug.h"
// local callback functions (needs to have this signature to be passed to vulkan)
static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback([[maybe_unused]] VkDebugUtils... |
6248a503e21cf499e1a16d54d29bd194dbccd91e6d00403937fb519508d17eac | C++ | 20,161 | 477 | /* 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... |
5320bceb95d268e3156975141aed5b72ca8904e990bdfeedbdab042b8fc18fe0 | C++ | 20,170 | 704 | // 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>
#include "../src/meshoptimizer.h"
static const size_t kMaxStreams = 16;
static const char* getError(cgltf_result result, cgltf_data* data)
{
switch (result)
... |
58ff0b528bcdcb870b9b83217ffbf64746e76510d5dd3a36248b12175d98379b | C++ | 20,192 | 502 | #include "DipoleSource.h"
#include <fstream>
#include "Debug/Debug.h"
#include "Debug/Instrumentor.h"
#include "Design/DesignSource.h"
#include "Random.h"
#include "Rml/xml.h"
#include "Shader/Constants.h"
#include "Shader/EventType.h"
#include "Shader/Utils.h"
namespace rayx {
// TODO: why does this source get see... |
573c92ff2aa599a9d94cba6f01ace8ab788801f082fd714723b877eca68c699d | C++ | 20,237 | 422 | /* 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... |
2c912ebc3047986380296dc851e22f9c9512a1bf23ca3f1d211ed18cb9b70721 | C++ | 20,332 | 638 | /*
#################################################################################
#
# 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 ... |
9c97a377c94b1ceccec7eeb9c9c4287840e0415feee55830de1c3098785f8081 | C++ | 20,362 | 500 | /*
#################################################################################
#
# 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 ... |
97822b15fe33a3a128a3329bd6bc764a6c22e55e8b859a507ad5c1a4eaa0f155 | C++ | 20,404 | 631 | /*
#################################################################################
#
# 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... |
5f0817db7525e4651be65c58520a543ff6f5864d18b4d1c019e27ac84af88a5c | C++ | 20,436 | 531 | #include <cmath>
#include <limits>
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
#include "math/point.hpp"
#include "math/segment.hpp"
#include "math/tetrahedron.hpp"
#include "math/triangle.hpp"
using namespace steps::math;
// these segments are in the order of... |
3f97e91e762dfbdb90ad0609b956b7c2b5cb690e44a8d5f7fd64fbc5e4f29271 | C++ | 20,611 | 620 | // This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
#include <assert.h>
#include <float.h>
#include <math.h>
#include <string.h>
// This work is based on:
// Matthaeus Chajdas. GeometryFX 1.2 - Cluster Culling. 2016
// Jack Ritter. An Efficient Bou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.