sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
2ec4c79b96b5babbce0908a63ddcb3e022482d6a8c51a0681c67eba80b44ffc7 | C/C++ | 4,865 | 146 | #ifndef LiquidCrystalFast_h
#define LiquidCrystalFast_h
#include <inttypes.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h" // for digitalRead, digitalWrite, pinMode, delayMicroseconds
#else
#include "WProgram.h"
#endif
// commands
#define LCD_CLEARDISPLAY 0x01
#define LCD_RETURNHOME 0x02
#define LCD... |
3ca1d348640c7a164fa431b1f1c3ac6d7d691d6581b00a4fcb1731a02e00f3d5 | C/C++ | 4,910 | 140 | #pragma once
#include <filesystem>
#include <random>
#include <string>
#include <vector>
#include "Beamline/Beamline.h"
#include "Core.h"
#include "Element/Cutout.h"
namespace rayx {
namespace {
EnergySpreadUnit parseEnergySpreadUnitOrDefault(xml::Parser parser) {
int energySpreadUnit = 0;
if (!xml::paramIn... |
2b050a8ac1910e74bc7b17e27cdb78acb4388c0a9d1c7cb6ac64de5f96e7a0bd | C/C++ | 4,929 | 164 | /*
* Copyright (C) 2011-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... |
701628d6646bd657de61c1707ac75b39f826c4073ac5ef8dd5356148ec9e3877 | C/C++ | 4,952 | 178 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
062db89c85d29bda856f14d9670551aa7da3de011713a3839975b1c8373569dd | C/C++ | 4,966 | 130 | /* 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... |
813ea1c6dd6b83bb92a8d5787987c1790a706d5abc3403996b6e8f144512d2ec | C/C++ | 4,996 | 119 | /*
* 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... |
e4f41d184d0516e2f4281de0838c0a04c8e451c7d49753c05801e6b097d05d41 | C/C++ | 5,006 | 130 | /* 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... |
fd889ae8e0e3e0f873fb0ffe3ba87dc314f95c85a783debff0ba5cbcadcee189 | C/C++ | 5,012 | 178 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
b4b1ed096520591a3e82c6387d3ce6168a63fd731b1d6a0d7d4151455220c542 | C/C++ | 5,013 | 139 | /*
* 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... |
1693ed248d323743d87812a957352a2a1bc4d3072a68d8fa2a79ea4e3bfdfbad | C/C++ | 5,026 | 172 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
0f692f833b9ff525f9c5be6eda4ba5d1c179693dd9ff0dad110e1be940ced635 | C/C++ | 5,040 | 179 | /*
* 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... |
3ce31a1114eae29f1bb53bc5251ab4a1b47d406d5f64a6c1bf059e894098ad5a | C/C++ | 5,043 | 169 | /*
* 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... |
9c9dd4473738dd62b1ce4b0f12483c6e4224eaa54334d9bb9b04aa4269a472d6 | C/C++ | 5,059 | 173 | /* 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... |
ec5d74a232cb8ca4402f0dbec7bdee2d5ba85e57bc2389194d1c1c73482d5536 | C/C++ | 5,078 | 165 | /* 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... |
0948061df7037978f7d015849a9f69c3a4245b2d0009e6f3c6311670314a4479 | C/C++ | 5,106 | 200 | /*
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... |
6703bf5a0eefac2ddf15f3ea1969415b078a0a636e8e5f33105b8dc197be0df1 | C/C++ | 5,130 | 115 | /*
* 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... |
4c8be3ca83675e569f83d47249060a8d20ad03acfdba22d198fdc2ecc075a342 | C/C++ | 5,146 | 148 | /* 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... |
4e174b9cfa11421ac06e69e09c36f74bb2d37f05eed1630c05fd14170eacae4a | C/C++ | 5,146 | 177 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
d3433cb279aa5cd23639055ec3a3f54a25c785b5dc97e73d50e1127a868c30b2 | C/C++ | 5,167 | 162 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
6fbed7f97a22f611f9dcd25533d9383657d80d175a6f5b3d35644bd918913e24 | C/C++ | 5,182 | 158 | /*<html><pre> -<a href="qh-qhull_r.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull_ra.h
all header files for compiling qhull with reentrant code
included before C++ headers for user_r.h:QHULL_CRTDBG
see qh-qhull.htm
see libqhull_r.h for user-level defi... |
6015c7de08a866967cd25136b301a52ebf76b93cf6740da3fef491ddf0d599a3 | C/C++ | 5,192 | 272 | /*
* 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... |
aa2f819a88cf54f68ae5358aa6718c5b562260ff282bec6ee0fb6b9773aa44ad | C/C++ | 5,206 | 109 | /*
* 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... |
f356fc4f30b12265b24a741c61c9e31c32525b32948bbfae42011afa9b9ac580 | C/C++ | 5,209 | 132 | /* 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... |
d5156e20b6842777e9526dd55e10a51d44dc044711ca64b3df730922d8cbd8ee | C/C++ | 5,219 | 209 | /**
* 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.
*/
/**
* Mostly a collection of convenience routines around ublas.
* We avoid doing any actual compute-intensive work in this fi... |
ede6a800ce34003ef742fe62c643aa4eaec9f6bacfde846d1043e09257ce5521 | C/C++ | 5,224 | 160 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
e84f73a3f8118af88298b6cc495297adecda1997eddc3b494f801adccd94c3ea | C/C++ | 5,262 | 146 | /* 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... |
a8bdcfc8bb40eb96686df16eb88669fdfaa6836c7807b2ca6192ab35bfd9e96b | C/C++ | 5,280 | 120 | /* 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... |
7534a2e2cd811d1ce0d9754cb91253b49ae4c1358b44bf25a8eaca64a435c1da | C/C++ | 5,287 | 114 | #pragma once
#include <string>
#include "Device.h"
/**
* @class Buffer
* @brief Manages Vulkan Buffer memory and functionalities.
*
* The Buffer class handles the creation, mapping, and manipulation of Vulkan Buffers.
* This class is intended for use with Device objects and can be used for both static and dynam... |
b2725bcda4e3f4b94997f134a47e7ad63158870d83cb8a8bd2dddcd25b9f0be4 | C/C++ | 5,337 | 162 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
85d259afed45a52c8a72ebb85b59f584e5b9fff41b171a34dd6284e406becde8 | C/C++ | 5,349 | 258 | /*
* 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... |
339f567322ec6ada9f3f45057cf259176e15a9901b0b3045436dd1bd140d2bda | C/C++ | 5,370 | 172 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
d82c6c68cf13851b7ec4944bcc6e81bae120685fa9e4d3567ac691a98c7b2393 | C/C++ | 5,382 | 85 | #pragma once
#include <map>
#include "Settings.h"
class BeamlineDesignHandler {
public:
void showBeamlineDesignWindow(UIBeamlineInfo& uiBeamlineInfo);
private:
void showParameters(rayx::DesignMap& parameters, bool& changed, SelectedType type);
void createInputField(const std::string& key, rayx::Desig... |
28161aa0125cbfe3657e9ced9f0ca25d482a3aab0274b253246728c0ab321432 | C/C++ | 5,395 | 101 | /*
* 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... |
e497f18bf6815b698d8835bc666429f8dd07cfa279481be0d269cf242096a1a8 | C/C++ | 5,415 | 162 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
3c9b940aba3b0130125fbbcf8a5d5d8e4cdf89313c250dc9b74b4e9de90f2f76 | C/C++ | 5,432 | 145 | /* 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... |
718c0268d57999149448c4bb93f9d06cf0adeeec380ed44ca1f98480e6ece415 | C/C++ | 5,472 | 186 | /**
* 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.
*/
#pragma once
#include "matrix.h"
#include "proj.h"
#include "dict.h"
#include "utils/normalize.h"
#include "utils/args.h"
#includ... |
333c8849f4f24ec725a60f746a7daefb5513ba30165a3a707b80d006e7ad1b2a | C/C++ | 5,534 | 147 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
ee7b7d87e707942482ab7df808425eeeb1fac2fdf25853c57833d8c40f81b256 | C/C++ | 5,555 | 141 | /*
* Copyright (C) 2011-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 Public Li... |
ba92ffc1315e4902085b800f20a3e04a7f0cfceb1be94f6246e9e754e2411361 | C/C++ | 5,564 | 141 | /*
* 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... |
44cacad3e65fe9f82fe9bfdc05d74dcb9f4d7160465b4f5c0db628431dccd57f | C/C++ | 5,590 | 206 | /* 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... |
96ec55e3ab244f535e248dc58826434e3c750586e48f869d17c2bb5afa127143 | C/C++ | 5,594 | 145 | #pragma once
#include <alpaka/alpaka.hpp>
#include <optional>
#include <vector>
#include "Debug/Instrumentor.h"
#include "Shader/Rand.h"
#include "Shader/RaysPtr.h"
namespace rayx {
template <typename Acc, typename T>
using OptBuf = std::optional<alpaka::Buf<Acc, T, alpaka::DimInt<1>, int32_t>>;
// this struct is ... |
80ee2716f86550614b6c6e1e0de3074a9a65b667e67c892069c2bc6442cefdc1 | C/C++ | 5,604 | 181 | /* 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... |
f2239bd5ce52c36738de7b58553a92e6def49e1488367d779a3196f090d72570 | C/C++ | 5,605 | 143 | /* 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... |
02090b557c2ef0299e681d65fdcf7e18177d94c9b60e6f1fb94162638d1d23c6 | C/C++ | 5,609 | 153 | /* 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... |
f099106e38b4b49fb259f2b56f63cb0afba52c825dd0a5bcf422a4aef743916a | C/C++ | 5,616 | 154 | /*
* 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... |
6b141da04020a8ed455f63e679dc5e46fbd384f17f5e34cde4b693b11e6421c6 | C/C++ | 5,626 | 166 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
d6be9b7ec8ebcded6ef3370682d6a4c45080a29cea7a1b0c9cf43e51b294b13d | C/C++ | 5,638 | 214 | /*
* Copyright (C) 2010 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
d43420e323c6770df89d323febe7a85cec2fa6c60dcbec579082ef20e469200a | C/C++ | 5,663 | 149 | /* 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... |
730e1a4ea97a17cd49e67dbef8fe8347443b30cf5037b2c6768a69a60063dd84 | C/C++ | 5,728 | 262 | /*
* 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... |
2ef7385fa3462e2f99abf7a5e8cffe413837e2972f5638ab184fb0f6f6d26aea | C/C++ | 5,735 | 220 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
5fbde0393c7fd586639b6c14217f4d57f4b53c912bbed2f6863b576c1e406085 | C/C++ | 5,760 | 200 | /* 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... |
8a4f32f4567b44f2daf5dc613ad164861bfeb459ebd37c84512e30407d4b412f | C/C++ | 5,773 | 197 | // ***************************************************************************
// BamToolsIndex.h (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 November 2011 (DB)
// -------------------------... |
04148b5d29f0726b1f8704f7a62d3f8ae1a9a0a5d6dbfca6c1dce0e91c27b6e0 | C/C++ | 5,789 | 160 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
692808c47fc720cb5f862fa92504615c968c96fc4f0c80b88d49694b91bcffb3 | C/C++ | 5,802 | 197 | /* The MIT License
Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology
2011 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 dea... |
c9cb803fbaf63cab7bd70723f0fb60ff6504199ad596ba7b878c48716dac5804 | C/C++ | 5,803 | 243 | /*
* 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... |
b5d681677b17b1ccdb095160f3e0bd92ae70b3213cedfcf1e0999c884e2c2795 | C/C++ | 5,844 | 224 | /************************************************************************/
/* Public implementation follows */
/************************************************************************/
/*--- Defines ----------------------------------------------------------*/
/* None */
/*--- Types -------------------------... |
7611db43076c12e9b5aa1c08fd7699f6b8d992980754a85d750e6142a158f202 | C/C++ | 5,856 | 173 | /* 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... |
777ca3b9344392d787751e636d4ac07718a6a6bc700c88adb932dfe6dd47e4d0 | C/C++ | 5,901 | 156 | // Copyright 2024 DeepMind Technologies Limited
//
// AlphaFold 3 source code is licensed under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with the
// License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... |
83a5ccbd249ae5961d77a0c4be0abc84dbbf9ab31c2c522555db84eb5e5decea | C/C++ | 5,906 | 162 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
0d7272f58d6fad6e7ac17caa4a1f5db13f8c54d622e278e92c43ffd72ad6d81d | C/C++ | 5,928 | 157 | /* 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... |
e79f50822a6fac10f3fa3ce08285eead7bba9bf195d4df5a5abf13e441a9c794 | C/C++ | 5,973 | 172 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
1767a26ac35be5239d35fafec67f480310f3c7fd1bbd35f82ddf37b43319feaf | C/C++ | 5,978 | 191 | /* 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... |
84028e2161bc4a9ba4568081711e5f471f7ac9127d4ab04223b8061d4ae21277 | C/C++ | 5,999 | 195 | /* This derivative file contributed via email by Gabriel Rockefeller on 8/5/2013 */
/*
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 sour... |
22c849904eb70c98b496c23a5a86d32374fc0b35055844084d0a973686bc6f6a | C/C++ | 6,007 | 147 | #pragma once
#include <variant>
#include <vector>
#include "Core.h"
#include "Debug/Debug.h"
namespace rayx {
class RAYX_API ObjectIndexMask {
ObjectIndexMask(const std::vector<bool>& sourceMask, const std::vector<bool>& elementMask)
: m_sourceMask(sourceMask), m_elementMask(elementMask) {}
ObjectIn... |
3112c924d819c98539fbd639b61a6d0c447cdadc3c5a38905cc41819159e68c7 | C/C++ | 6,035 | 224 | //
// morphydefs.h
// MorPhy2
//
// Created by mbrazeau on 07/05/2017.
// Copyright © 2017 brazeaulab. All rights reserved.
//
#ifndef morphydefs_h
#define morphydefs_h
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
//#ifdef MPLDBL
typedef double Mflt;
#define MPL_EPSILON DBL_EPS... |
621531e4a2925700122cb6679670d1e117f88347a5ef0783c3d83dd5651a5f49 | C/C++ | 6,036 | 216 | /*
* 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... |
c2b5f84b47204666625c91710cdfc0bcd248e0406b1618652c29cfd15c6f99a0 | C/C++ | 6,052 | 194 | /*
Copyright (c) 2012-2013 Genome Research Ltd.
Author: James Bonfield <jkb@sanger.ac.uk>
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 notice,
this l... |
b325e2750e70769156aa73736699cd4c89003826f49418d9eb64de8e637345e9 | C/C++ | 6,071 | 212 | /*
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... |
2b6ffac871d5ee98b1206a2320925a865019fb2509d039577f316de1b30d77f2 | C/C++ | 6,078 | 228 | /* 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... |
fe782b110f9114c7d8e023df65c2d9fe7e3148fa816cdc4f040847261aee38a0 | C/C++ | 6,156 | 253 | /* 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... |
80df56700417b83ccc905899391e9500314ec917ab3fba04e5ba4805ee8ed83d | C/C++ | 6,158 | 160 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
4b2525a882e12f0595e7d6d561af22d3c8009cfb523d6694de301dbd77b50980 | C/C++ | 6,172 | 152 | #pragma once
// This file contains various utility functions that are used throughout the program and didn't really belong in their own header
#include <stdint.h>
#include "TriMesh.h"
#include "cuda.h"
#include "cuda_runtime.h"
#include <string>
#include <fstream>
template<typename trimeshtype>
inline floa... |
5493a61b280a442d9f672e84d6f1b616a962cbc8b4e594c40a8ac820bc7589c2 | C/C++ | 6,197 | 188 | // ***************************************************************************
// bamtools_options.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011
// -------------... |
4329ee7e1d6534e6f30b9c3effb9fe494bb72afeb2f4bd69fd15ff5b342eaf8f | C/C++ | 6,198 | 160 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
44ae67ec6510e24b0613c26008798183872b6ee3225a8890d7f0c13c6aae4ae6 | C/C++ | 6,229 | 153 | // Copyright 2024 DeepMind Technologies Limited
//
// AlphaFold 3 source code is licensed under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with the
// License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... |
ad5c7f868db058b02cf0496f3dd1a6ededfb11fc3f14e3325e8c7611feefaa5e | C/C++ | 6,252 | 191 | /***************************************************************************
*cr
*cr (C) Copyright 1995-2006 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
***************************************************************... |
8490dec215c921052a2b55e2e69c8df3a3e6d82f6953761b4acbd2554b007166 | C/C++ | 6,293 | 151 | /*
* 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... |
059b6e9f6a75199ed7c3f36c5d82f0d7c52690294c8324752dcc5b12cd7a2beb | C/C++ | 6,315 | 165 | /* 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... |
504b1878527692703332221fe397ae1b12f1a5361c574c13cde741ab900485ce | C/C++ | 6,348 | 211 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
a801c0630a016103a5106ca216f0c80c31151b926c24c1988d63660cf42c57ec | C/C++ | 6,377 | 229 | /* 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... |
7a4a616a039686c06c5ae331ffb676a2411fb1e641b7d30ad7b99375877d1d01 | C/C++ | 6,387 | 182 | /* 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... |
4e1c47ad3b243fd9281c7356b92e19c46fbbdddf4b9016e9ce5770dc775057af | C/C++ | 6,406 | 211 | /* This derivative file contributed via email by Gabriel Rockefeller on 8/5/2013 */
/*
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 sour... |
eb1e878cfe0bb70e0dded289b4a2c9f065acff0afd6f62ea21d88c2342fe45e1 | C/C++ | 6,409 | 158 | /* consensus_pileup.h -- Pileup orientated data per consensus column
Copyright (C) 2013-2016, 2020-2022, 2024 Genome Research Ltd.
Author: James Bonfied <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 "S... |
ad4697e2a657f4583c43e9c97b679754b3a28932bfbc8282b3cec70bca08aed7 | C/C++ | 6,451 | 183 | /* 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... |
afad7df208c96bbd046063e8ac6cbdbea9f9db6809081eba9d4fef116c98c313 | C/C++ | 6,469 | 212 | /* 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... |
c6dee714eadb899ff6a78eda61d6767029935cd8d382389dac6c9bd2daeebf65 | C/C++ | 6,469 | 107 | /*
* 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... |
e673bcab179c7026d63c0ee7da79f30a4b7cb1c7c05447fd1c9712cc1526c119 | C/C++ | 6,482 | 244 | /************************************************************************/
/* Public implementation follows */
/************************************************************************/
/*--- Defines ----------------------------------------------------------*/
/* None */
/*--- Types -------------------------... |
2150fb3237a52289d3d5e47b7755a3ebdde9e58d3a585ec0c84a1018e5076ab9 | C/C++ | 6,515 | 313 | /*
* 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... |
56d25559a94b6cd252faac4a4630fc3fcbab74246811d5a37cb23122765cd3d7 | C/C++ | 6,540 | 132 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/Qhull.h#3 $$Change: 2066 $
** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $
**
****************************************************... |
4f52bde84c7f80e55506d936286ee038cc4fe16f6f1eed171093eb7c187931e7 | C/C++ | 6,572 | 165 | #pragma once
#include <cmath>
#include "Complex.h"
#include "Constants.h"
#include "Core.h"
#include "Utils.h"
namespace rayx {
// **********************************************************
// Function to calculate the local normal incidence angle theta
// from the direction cosines of the surface normal and the ra... |
28f9996b9f200661bdba675c8450a1b623fcf2b29027bd47231435e55e049c3a | C/C++ | 6,591 | 173 | /*
* 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... |
0d66e23ba9d0d0e1dd7cd98771eb855d4b40f9066480a082ac7c82b5f9f32100 | C/C++ | 6,632 | 291 | /*
* 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... |
a564ae53f4da38e3b4e8085490646d5f5681b92ffce5772884c32e55680932ff | C/C++ | 6,666 | 200 | /* 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... |
c8b047c868a7f1412b31ef387bce110c0da9d723039ffe5b1c888739e1d3d214 | C/C++ | 6,667 | 182 | /* 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... |
68ef90cd57c8f1b9f368b9105f7f2f11f15603fdd08fa5b02e21ce8d31226151 | C/C++ | 6,677 | 192 | /* 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... |
e75ad71ce01650de4e98347a3b9f1b3f9e10b654be23c6c46db79e6fb062355d | C/C++ | 6,688 | 153 | /* 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... |
1c53ada4230d0c14bea26af0c9dcd78b90724c80c928ca29faa010aff1649da4 | C/C++ | 6,725 | 292 |
#ifndef _INC_HITO //ܾÇÝÜêĢȯêÎȺÌð·é
#define _INC_HITO //·ÅÉÇÝÜêĢ鯢¤Úóð¯é
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <string>
#include <omp.h>
#include <time.h>
#include "Labeling.h"
#in... |
8814ac0160efbcba41cf11f8e29cd2ff17f0783899796caf5a93b21121df22c5 | C/C++ | 6,728 | 154 | /*
* 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... |
4088dc690288c449fb5d4c60b05d74c48f812a00d55c24e0d4aae96364c7fad9 | C/C++ | 6,742 | 180 | /*
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... |
ca20bd8c706e336682d80676efa4a0f01398f949902bdefc9579fbba3e41eadf | C/C++ | 6,809 | 183 | /* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.