sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
96a736e66454e46d22a97ff247d9e780c2f3f2e23bf2dddaa8fc6437ca6d1f2e | C/C++ | 10,923 | 436 | /*
* 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... |
7401cae6fe3b26a8964dc490a0319f7cdde53efbf2139500c3faf6156edf6aaf | C/C++ | 11,066 | 296 | /*<html><pre> -<a href="qh-poly.htm"
>-------------------------------</a><a name="TOP">-</a>
poly.h
header file for poly.c and poly2.c
see qh-poly.htm, libqhull.h and poly.c
Copyright (c) 1993-2015 The Geometry Center.
$Id: //main/2015/qhull/src/libqhull/poly.h#3 $$Chang... |
82dc7f08568fba4d996e0cbd5e81260899c9d9790e7a6961a4f70819365874c4 | C/C++ | 11,080 | 288 | /* 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... |
593f3273f5a9c0aa5e42010de0bc20deb608fe26ff69681de1193bd3a4d6198b | C/C++ | 11,313 | 304 | /* This file is part of xtb.
*
* Copyright (C) 2019-2020 Sebastian Ehlert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option)... |
e1747daf3ad18c01e3264d584dc1da55aa5e122292a8506cf4afebc2156b411d | C/C++ | 11,404 | 273 | #pragma once
#include <numeric>
#include <vector>
#include "Debug/Instrumentor.h"
#include "RayAttrMask.h"
namespace rayx {
/**
* @brief A structure representing a collection of rays and their attributes.
* Each attribute is stored as a vector, allowing for efficient storage and manipulation of multiple rays.
* ... |
8cb919671f34eb28adcf9a2d236dc7f3567d1d7e7e0b829cccbd4252a9b06d6d | C/C++ | 11,423 | 335 | /* The MIT License
Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology
2011, 2012 Attractive Chaos <attractor@live.co.uk>
Copyright (C) 2009, 2013, 2014 Genome Research Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software... |
6f9a0bf2071712f0247579870d3fcc3076ecf5ac452d0e4000e7210e63a3a44c | C/C++ | 11,538 | 261 | /* 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... |
859bf431f93417c499f0583477bc31a83924c9c8723edc90706c03e92d0096f7 | C/C++ | 11,550 | 327 | /* 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... |
67b892a13d8ee614402c0ff6bb52088f4b47524246c9acafc162e33764ec14a2 | C/C++ | 11,558 | 343 | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... |
bef720c23fce1971eebf28a460a0e73aa46c47b4eeab7e7a9748d8cd6646f7ee | C/C++ | 11,596 | 373 | /*!
* @file Adafruit_BME280.h
*
* Designed specifically to work with the Adafruit BME280 Breakout
* ----> http://www.adafruit.com/products/2650
*
* These sensors use I2C or SPI to communicate, 2 or 4 pins are required
* to interface.
*
* Adafruit invests time and resources providing this open source code,
* p... |
7a776219434e9d7921f053722d0f948958089bda7bde2765583ae0c6e582092b | C/C++ | 11,608 | 333 | /// Json-cpp amalgated forward header (http://jsoncpp.sourceforge.net/).
/// It is intended to be used with #include "json/json-forwards.h"
/// This header provides forward declaration for all JsonCpp types.
// //////////////////////////////////////////////////////////////////////
// Beginning of content of file: LICE... |
9f10821fa905dd035de3b668d54d76c82c2d2dde96c338d82673d71cdb209109 | C/C++ | 11,747 | 303 | /*<html><pre> -<a href="qh-poly_r.htm"
>-------------------------------</a><a name="TOP">-</a>
poly_r.h
header file for poly_r.c and poly2_r.c
see qh-poly_r.htm, libqhull_r.h and poly_r.c
Copyright (c) 1993-2015 The Geometry Center.
$Id: //main/2015/qhull/src/libqhull_r/... |
64635ecf717aa02db71ca7ee9bc30ba0ce253a8435da3beca53db290a1ba6d1f | C/C++ | 11,797 | 348 | /* 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... |
3e2894bc5c726a2c4b14ea6907455e7b419bb75123d3d2268367d9f02bca8cab | C/C++ | 11,940 | 307 | /* 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... |
e136108f319891069080285406418cbcf08e48bcf363c94dd3b69ba1f657e186 | C/C++ | 11,989 | 267 | /* 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... |
9cad91398024ca1c81eae84b6caeac5d4f0873ca89acfefd71984ca47271bc0b | C/C++ | 11,998 | 329 | /*
* 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... |
e27862009dc2a397b844ca2b0633c51d2bc01be0a5fbb7b2dec9695b59715612 | C/C++ | 12,156 | 379 | // ***************************************************************************
// Sort.h (c) 2009 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ---------------------------------------------------------------------------
// Last modified: 4 April 2012 (DB)
// --------------... |
8cecd74cc5beda62e6d1b9e835bcc251704b8550ef98ec6647a92ccfe783453d | C/C++ | 12,250 | 300 | /* 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... |
b61b8702242a514dfed0d219bcbb9a8b7cb513f007b32fc27bacc900e24cbeb5 | C/C++ | 12,275 | 363 | /* 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... |
54c37baacfdbf957a848674ec6622862e89f271dc6a2e85937f98f8dab6da937 | C/C++ | 12,311 | 288 | #pragma once
#include <fstream>
#include <functional>
#include <sstream>
#include <type_traits>
#include "CanonicalizePath.h"
#include "Core.h"
#include "Debug/Debug.h"
#include "Design/DesignElement.h"
#include "Design/DesignSource.h"
#include "Material/Material.h"
#include "Random.h"
#include "Rml/Importer.h"
#incl... |
811c559b96266c3079a383b6e2225ad7e88728e50d5ea3434cceddf3f0561648 | C/C++ | 12,433 | 293 | /* 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... |
9e26c7b0f8c01f55f24803cc23d4ff0aee9cb1a2dfb0d72252d23f44e2fbfc7a | C/C++ | 12,492 | 369 | /* 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... |
7b7bca15a1403976db2b7fd358d82541a7e5024456a679a973372b17c03d7941 | C/C++ | 12,533 | 533 | /*<html><pre> -<a href="qh-stat_r.htm"
>-------------------------------</a><a name="TOP">-</a>
stat_r.h
contains all statistics that are collected for qhull
see qh-stat_r.htm and stat_r.c
Copyright (c) 1993-2015 The Geometry Center.
$Id: //main/2015/qhull/src/libqhull_... |
feb6a557db2372a6c7ab6df7f01283b0a95130bf3385b45c396f4f337a2b4b3b | C/C++ | 12,637 | 388 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/QhullLinkedList.h#7 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
******************************************... |
ba6cc4fec981c31116cca16042bb103472d4d35f7a868f8bf99ee8020da70817 | C/C++ | 12,651 | 403 | //
// This is a C++ friendly, limited use MD5 checksum copied
// from the reference implementation at http://www.ietf.org/rfc/rfc1321.txt
//
// The sole purpose of this file is to eliminate dependence on the
// openssl MD5 code, which poses a maintenance problem for general
// users trying to build libstatgen.
//
// It... |
1599d8638f9fcb5aee6fa0f447dda4ef2f33f77ddd766adefe285274ec995644 | C/C++ | 12,722 | 361 | /* 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... |
f35ab60b5498259112ea73577168e7642f356c50d10a22106f7b7e65b8682ce3 | C/C++ | 12,797 | 267 | /* 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... |
3eaa02202e3cadb452cf33773334065148c5c3bc0002db0b7c691a330dbcf061 | C/C++ | 12,818 | 304 | /*
Bayesian Functional GWAS --- MCMC (bfGWAS:MCMC)
Copyright (C) 2016 Jingjing Yang
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 yo... |
b2d0ac0286c6a0799a21e4c1ac07064a94d52f4e4495bbe3c4aa6ce161ebe6cd | C/C++ | 12,830 | 340 | /* 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... |
b3a066d804c95cee4cc7ac39950ee0817a9e6d3acbc1ef597dcfa94a991720d4 | C/C++ | 12,911 | 543 | /*<html><pre> -<a href="qh-stat.htm"
>-------------------------------</a><a name="TOP">-</a>
stat.h
contains all statistics that are collected for qhull
see qh-stat.htm and stat.c
Copyright (c) 1993-2015 The Geometry Center.
$Id: //main/2015/qhull/src/libqhull/stat.h#4... |
507f1401601c23d8698fed9c6e617e33158f29d35fe47bb8fafffe5eaf5fa4d9 | C/C++ | 13,108 | 336 | /* 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... |
7ccad37cb780fba99647ce84c199ae1eebe7a0302a9a067a58c7f09a63cfb64c | C/C++ | 13,255 | 341 | /* 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... |
892cf61a62b0eeba9032f790d77b3fb86d27bc5dadfd06674f6c633aa7f8425e | C/C++ | 13,301 | 404 | /* bam_consensus_tab.h -- constant lookup tables for the consensus algorithm
Copyright (C) 2024 Genome Research Ltd.
Author: James Bonfield <jkb@sanger.ac.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to d... |
770ea0627c285c375fa3622b67f962374c524e3c98b63ea4bbdc1ff5fe3db13b | C/C++ | 13,431 | 416 | /* 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... |
126d2aeaf15913d3443519649b3f67255e7f923badd78233350063cebb40badd | C/C++ | 13,505 | 402 | /* 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... |
09e062d7f07ae340d31ece7ce919cd3389acd39c8ccd57fe561e21ab25022042 | C/C++ | 13,809 | 398 | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... |
9f0b3d90865301302920feb426d275e642760a141e2b8e65abfebc08d2e3e374 | C/C++ | 13,850 | 254 | /*
* Copyright <2012> <Vincent Le Guilloux,Peter Schmidtke, Pierre Tuffery>
* Copyright <2013-2018> <Peter Schmidtke, Vincent Le Guilloux>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without... |
722baf909269135548a4bd385735727fb9ddd21509227e90543d3e39a866497d | C/C++ | 13,901 | 283 | /* 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... |
fd72d50e4dcec83fd89498f114c351e887558dc521674104efc011faf9e500aa | C/C++ | 13,946 | 385 | /* 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... |
25ae1f24fd1bc41f666ef7b4caafac43fd56aa04629cf76e62d10fd39c1a6f0a | C/C++ | 13,955 | 415 | /*
* 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... |
17f2bf175d5e45369fff362b834effe70b5841b44e4dda2016e22dc6caf1ef4c | C/C++ | 14,114 | 238 | #pragma once
#include <array>
#include <filesystem>
#include <glm.hpp>
#include <optional>
#include <rapidxml.hpp>
#include <vector>
#include "Angle.h"
#include "Beamline/Definitions.h"
#include "Beamline/EnergyDistribution.h"
#include "Element/Coating.h"
#include "Element/Cutout.h"
#include "Element/Surface.h"
#incl... |
b9032e515e59ad67025b34e94cc15407a8eb6da5401056bc88cf355e6903a075 | C/C++ | 14,127 | 452 | /* 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... |
3efc62fc529966683870e8d337a2058e6b8c91e65229b8ffd79768cf91e2689c | C/C++ | 14,296 | 294 | /* 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... |
edb85ab27841a3b5b696fabe21f99849e61fc7ea4302446f9b4143b9af2ad66e | C/C++ | 14,605 | 437 | /* 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... |
e7d3ecff8e0f005580ea43ee05129edd67b636a1ae6e3340d0257cae5c7f44c1 | C/C++ | 14,621 | 200 | /* The MIT License
Copyright (c) 2021 Genome Research Ltd (GRL).
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use... |
b224ccf68fd0a24632256df55d75433f6c95612e732420e810c334ba53bdd7eb | C/C++ | 14,681 | 343 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_biomoccaplugin_init(void);
extern int molfile_biomoccaplugin_register(void *, vmdplugin_register_cb);
extern int molfile_biomoccaplugin_fini(void);
extern int molfile_cpmdplugin_ini... |
a4769ac4c7f86b03dfac9be2b8288e4074b13a4eae7510c53f4f2f1e8aa6a223 | C/C++ | 14,778 | 316 | #pragma once
#include <alpaka/alpaka.hpp>
#include "Beamline/Beamline.h"
#include "Beamline/StringConversion.h"
#include "Debug/Instrumentor.h"
#include "Random.h"
#include "Rays.h"
#include "Shader/LightSources/CircleSource.h"
#include "Shader/LightSources/DipoleSource.h"
#include "Shader/LightSources/EnergyDistribu... |
0c8f5f2497aedfc15b98172604b9983c10f78ac50f230ee8f550c0e9679b81a4 | C/C++ | 14,856 | 459 | /**
* gltfpack - version 1.3
*
* Copyright (C) 2016-2026, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
* Report bugs and download new versions at https://github.com/zeux/meshoptimizer
*
* This application is distributed under the MIT License. See notice at the end of this file.
*/
#pragma once
#ifndef _CR... |
f46f7c216b8b615d69b7b506a44ebea13893b24529d5550a67801e498d726260 | C/C++ | 14,895 | 431 | /* 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... |
5e04bcf67124c31922e2781d4a2785938694eba067270b4c14d72ec561d9133f | C/C++ | 14,923 | 490 | /*<html><pre> -<a href="qh-set.htm"
>-------------------------------</a><a name="TOP">-</a>
qset.h
header file for qset.c that implements set
see qh-set.htm and qset.c
only uses mem.c, malloc/free
for error handling, writes message and calls
qh_errexit(qhmem_ERR... |
db3e424387f3d87d040fd8ba491c03bbdb84565d22d69b2a5aeed1b2acea3265 | C/C++ | 14,950 | 428 | /* 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... |
d051166f9fd677a241addf680a62b3f870d11be7737e7479c77287193a0a0aca | C/C++ | 15,098 | 399 | /* 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... |
f2efce2b39d1524ea73d6ea2e0c25f1e84833aedc8af6fc70ca0e21c2d6715aa | C/C++ | 15,104 | 425 | /* 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... |
68375b1ed0a409e43ac801d108e5706573fc37a3e36c0519a4c040d2dbf6ace3 | C/C++ | 15,180 | 486 | // Copyright 2018 Stephane Cuillerdier @Aiekick
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without
// limitation the rights to use, copy, modify, merge... |
39ae46a42d2e892b860ab26fc247f312fbcaaa68660e0614bbcc3cffdd05cee7 | C/C++ | 15,207 | 386 | /* 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... |
87db8df77c0ae8eff67288d3fa7beeb1d6130a658910d4d7b42fc81f657bd9c3 | C/C++ | 15,231 | 355 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_biomoccaplugin_init(void);
extern int molfile_biomoccaplugin_register(void *, vmdplugin_register_cb);
extern int molfile_biomoccaplugin_fini(void);
extern int molfile_cpmdplugin_ini... |
663c0f0e24cf97e5e1244d11a0de6702826576a3057ae58edbfb89cb42b489d6 | C/C++ | 15,302 | 339 | /* 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... |
6b9f803416c719dc0af1925afc7e818ea0e4259bf62ad5c4077e4b29fc5e760a | C/C++ | 15,305 | 349 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_biomoccaplugin_init(void);
extern int molfile_biomoccaplugin_register(void *, vmdplugin_register_cb);
extern int molfile_biomoccaplugin_fini(void);
extern int molfile_cpm... |
29661d07c0e2957b0bcf0fc0b0a7f40e7d66a599337a74d5453a80d67316f749 | C/C++ | 15,417 | 390 | /* 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... |
29b396892bfb08de791c8445594e81c1792e0e883396042823b64a262a98bb33 | C/C++ | 15,458 | 502 | /*<html><pre> -<a href="qh-set_r.htm"
>-------------------------------</a><a name="TOP">-</a>
qset_r.h
header file for qset_r.c that implements set
see qh-set_r.htm and qset_r.c
only uses mem_r.c, malloc/free
for error handling, writes message and calls
qh_errex... |
0953aa4a213bf6dca84de23620a627260f311ac6f261cdb3c76011dca0c2e062 | C/C++ | 15,694 | 493 | /* 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... |
a6e60a84554538cd8afb6fcb587bce73e54e37b64a8adc89219b7dace47d0c61 | C/C++ | 15,744 | 443 | /* 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... |
a2cba078879786bbb201c83f688ab7ce6ebb6c61e904d65a35bcb6986c71f369 | C/C++ | 15,929 | 303 | /****************************************************************************
**
** Copyright (c) 2009-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/Coordinates.h#6 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
**********************************************... |
51eecddd9b528bee200199f9a1487cc07abafdb426980418cc87c0f5d2a67fe8 | C/C++ | 16,435 | 213 | #pragma once
#include <iostream>
#include <map>
#include <string>
#include "Shader/LightSources/LightSource.h"
namespace rayx {
// String conversion functions
// SpreadType conversion
const std::map<SpreadType, std::string> SpreadTypeToString = {
{SpreadType::HardEdge, "HardEdge"}, {SpreadType::SoftEdge, "Soft... |
41dcb8c988e9f085ed4d6673deaa0fb0dbe7ba79bfef5184f406ef6028e098a6 | C/C++ | 16,680 | 416 | /* 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... |
640cb08571b634ccf244ef501d12b0a87955b1f8da1c4456e319ede29640c08b | C/C++ | 16,729 | 537 | /* 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... |
dd0e37fb0498b901d16dd3d3042e2fbda5e8d0cabe114d1f4836073189f15c6c | C/C++ | 16,756 | 438 | /* 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... |
91e537c497323ffd8e2c9e58d6383fe8e9277d95c448bd2e31452a1123a0c330 | C/C++ | 16,917 | 391 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_abinitplugin_init(void);
extern int molfile_abinitplugin_register(void *, vmdplugin_register_cb);
extern int molfile_abinitplugin_fini(void);
extern int molfile_avsplugin_init(void)... |
c15885fee0d5dc9989f6cee903299bf98ebc32723b68fa77463faaa84ae8baa9 | C/C++ | 16,961 | 403 | /*
* 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... |
2514b2d22dcabcdc517827f37b360c8e9fb1a73e6314c5aa413e7dcd26595b32 | C/C++ | 17,089 | 454 | /* sam.h -- SAM and BAM file I/O and manipulation.
Copyright (C) 2008, 2009, 2013-2014 Genome Research Ltd.
Copyright (C) 2010, 2012, 2013 Broad Institute.
Author: Heng Li <lh3@sanger.ac.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated docu... |
d96661e94821c0eb6d4c1fcc1d31d9b7183a196ae472370d38eefb48ff20526e | C/C++ | 17,094 | 555 | /*
* 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... |
5e2c1140ebf18480bd15992efbdfce4883699de454a86c3ed5f11ef2f0ab4f65 | C/C++ | 17,392 | 352 | /* 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... |
ad62b74b2511b4081960b0fbb507fb609d9cfd7e6c2aa9df1fd30290bbeed5c3 | C/C++ | 17,473 | 394 | /* 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... |
17b5adb845eedecee980404c580f59dc86464e24126adb32a988fac6539a1603 | C/C++ | 17,600 | 443 | /* 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... |
2fbca7e8ac3593acbd102fb125b4e487cf0606f007d7e6320f8f26b581f347e0 | C/C++ | 17,678 | 474 | /* 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... |
410ea65ff3b474a31cf846742b92d5e4b4295d7f5ce9fd37ca361d6c3be7eb6f | C/C++ | 17,860 | 532 | /* The MIT License
Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without ... |
1bd2ca75d0ab716e295dc87d76ec97d2dfd432307284ecde1467b6daabda8ade | C/C++ | 17,943 | 355 | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... |
1edf4781679749e8ce62a8b683036b6a6a727ec08e4d3c5f04e93945513a1eac | C/C++ | 17,963 | 415 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_abinitplugin_init(void);
extern int molfile_abinitplugin_register(void *, vmdplugin_register_cb);
extern int molfile_abinitplugin_fini(void);
extern int molfile_amiraplugin_init(voi... |
fdbfe93dfa6de9576fa4eb4b38e8be0ca4acfc2073156451075cb4d9d83bb03c | C/C++ | 17,968 | 808 | /* Labeling.h
*
* Copyright (c) 2010, IMURA Masataka.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* ... |
f5093d2276a5392357a092baece25e3398c7e074b30f00995d6e6699d00c4830 | C/C++ | 18,437 | 485 | /* 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... |
217b0e63d8ee4715d208c72c2ffe19a0d6670f9fced6d1533f5a2e24c01f4770 | C/C++ | 18,513 | 427 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_abinitplugin_init(void);
extern int molfile_abinitplugin_register(void *, vmdplugin_register_cb);
extern int molfile_abinitplugin_fini(void);
extern int molfile_amiraplugin_init(voi... |
230dbc18746d773f361e5c87e8eeecec6640a48cd946c477d0bc6b3fd4432d0f | C/C++ | 18,667 | 479 | /* 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... |
6daaf0707aa36f50b60901490a53bfab25ced1f33e5b62843bfe7337e2b21bf4 | C/C++ | 18,691 | 506 | /* 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... |
bf84b5f905ad60dfa62dfd8e50291175e5337c65f7230259957afd8c7f202089 | C/C++ | 18,707 | 676 | /*!
@file mpl.h
@brief Defines the Morphy Phylogenetic Library API: a library for phylogenetic
computation accommodating morphological character hierarchies.
Copyright (C) 2017 Martin D. Brazeau
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Publi... |
fe07456166b06d1f660de6c38ae2ce8a46ee165fb0f0e175d3d24444903ff690 | C/C++ | 18,713 | 379 | #pragma once
#include <numeric>
#include <set>
#include "Beamline/Beamline.h"
#include "Debug/Instrumentor.h"
#include "DeviceTracer.h"
#include "GenRays.h"
#include "Material/Material.h"
#include "Random.h"
#include "Shader/Trace.h"
#include "Util.h"
namespace rayx {
namespace {
constexpr int WARP_SIZE ... |
7a94c4af51d86f00bd68ca5f4bd422147e1cf6de12d8d250ace375f22b6fb556 | C/C++ | 18,770 | 433 | #ifndef LIBMOLFILE_PLUGIN_H
#define LIBMOLFILE_PLUGIN_H
#include "vmdplugin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int molfile_abinitplugin_init(void);
extern int molfile_abinitplugin_register(void *, vmdplugin_register_cb);
extern int molfile_abinitplugin_fini(void);
extern int molfile_amiraplugin_init(voi... |
8166aa8671ab2ce4a8e19a4c799e7b4c23d2b4f135f5f86688976dddda809d07 | C/C++ | 18,839 | 266 | /****************************************************************************
**
** Copyright (c) 2009-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/QhullPoints.h#5 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
**********************************************... |
23d2d995a4965013e0331f2b26cc507f918a484f6dab625a85313fbabf9c1b39 | C/C++ | 19,116 | 462 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/QhullSet.h#6 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
*************************************************... |
41431a3042dbcda6e12b5605da66642faec373fba2e7fe79c25ebd19218200a9 | C/C++ | 19,519 | 546 | /*
* Copyright (C) 2010-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 la... |
b19388ef38c5a694d697b85b7b7c11a89b94aacd9cf605130533dba484671e7e | C/C++ | 19,659 | 477 | /*
* 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... |
4c8780bef8cb64d5b1f97b7eaed068792c0df0a2b2a55061051b7868d2052944 | C/C++ | 19,854 | 578 | #ifndef ARGUMENTS_H
#define ARGUMENTS_H
#include <iostream>
#include <string>
#include <sstream>
#include <map>
#include <fstream>
#include <bits/stdc++.h>
#include "io.h"
#include "std.h"
using namespace std;
int io::debug = 0;
struct options{
std::string GENOTYPE_FILE_PATH;
std::string OUTPUT_FILE_PATH;
std::s... |
696ff6e5e7a2b94dc04d5d1c950cf20c6e22c836e76bdf00579cd5b2ffda07db | C/C++ | 19,929 | 514 | /* 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... |
0d5108fdc27901cf7c415a75323cbb2960de8643671fef469f369438f8949d31 | C/C++ | 20,321 | 558 | /*
* 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... |
5bccece8c253b564cdb83320c5ae0229adaffda03dfeab23fe260b5c7bf2b2c4 | C/C++ | 20,375 | 605 | // ***************************************************************************
// bamtools_filter_engine.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 3 May 2013
// ------------... |
67819a25a0a04d1c1da6411ff415cb18ebc048b4dafd28ac26ca854673e65a06 | C/C++ | 20,929 | 553 | /* 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... |
204338895ac82dfa156d50bd5ef84e1a9a6a342be3a8dc477f338821a22ebc20 | C/C++ | 20,987 | 580 | /* bam.h -- BAM API.
Copyright (C) 2008-2014 Genome Research Ltd.
Portions copyright (C) 2010-2012 Broad Institute.
Author: Heng Li <lh3@sanger.ac.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to dea... |
18e5db4993352b2bca7ad871b07ce157083e3c65d28a8f125e248451bdc9f4b1 | C/C++ | 21,410 | 555 | /*Licensed under MIT or Public Domain. See bottom of file for details.
micro_ply.h
Written by Nick Klingensmith, @koujaku on Twitter, @maluoi on GitHub
This is a small ASCII and binary little-endian .ply loader and converter.
It's intended to be as short as possible, while still being easily
readable! The idea is... |
7c57a8aa815c981fd4dc8e68a773be3128c02ca7d076fccb22ecd928ca76fdc8 | C/C++ | 21,928 | 600 | /* 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... |
e296757db4c88dbb5857c24ce7b1c11b9c5c4d638a31d1f7e34cdc8f3bd8dd3e | C/C++ | 21,950 | 639 | /* hts.h -- format-neutral I/O, indexing, and iterator API functions.
Copyright (C) 2012-2015 Genome Research Ltd.
Copyright (C) 2012 Broad Institute.
Author: Heng Li <lh3@sanger.ac.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documenta... |
6c2ef219a855885499a73b338d5f41dafe079618b2dae2f60ea86ee785d771e2 | C/C++ | 22,028 | 493 | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.