sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
359fe00f428c9b530a1c8d02351206f54ef702b183872924146baeb172f56fe8
C/C++
1,882
78
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
50b4d002ce6141f9d3bc53c9ba98becdd15e692d9f0a22b5f9fe56067361f694
C/C++
1,886
52
#pragma once #include <SDL3/SDL.h> // Forward declaration of the CameraController class. class CameraController; /** * @brief Context for user input. * * Encapsulates parameters that might be needed for input processing. */ struct UserInputContext { CameraController* camController; bool isSceneWindowHove...
b9c6dd7e1585c03cdf1d949b1297e1eedd986f92403e1b86be4290181abf13a5
C/C++
1,888
39
/* * 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...
2cb25d3def04ce7bebdd5bfeea7662f8604f66ba20bccbecfdeaef75fe0bb7f4
C/C++
1,889
82
/* 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 your ...
51a776af86a6c20034851dcedc7197390a237b1da85b497632e76beb5f48c22f
C/C++
1,898
72
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
dbb20cd2c1cf5e1deea916e5fc5d1277c5509b72d28c6585bd93cd5007854563
C/C++
1,908
72
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b7dc6cda8d5e9dc653a49a906ce97e45cb83e570e0f0adda8085fda01d174794
C/C++
1,910
57
/* 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...
9e9ad4fe3999405faa7e3d539fbdf345faf5d48e757de93e285d8d4097c45e7c
C/C++
1,917
58
/* bam_ampliconclip.h -- shared functions between amplicon clip/stats Copyright (C) 2020-2021 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...
8b9547309fc0e5819265c18c36fcaf72d1d524cc463de35d7cc50ba15a7e7cfa
C/C++
1,919
76
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
56c04f6a4ea9197bc21b52260fa3fb67fff64a1eb7d2957c72a254b30102b663
C/C++
1,924
64
/* 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...
25fd432ee1fade1d93aa912540e9691d18db1f6b9fb66513da33d338d2c550a6
C/C++
1,925
38
/* * 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...
952b4a5852e6666c5ae774f0647b56e6491b5b93b7a29b3946315c60f8b324f8
C/C++
1,927
62
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
22fc82c2e72db8dbb504f69f5b4666bfd96f95bc27892b9b5bc3b53686782d61
C/C++
1,928
69
/* 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...
01d75397f548034b81bae8f020930baf347c548abf6bb08237ac9226a3c04e3f
C/C++
1,929
50
/* 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...
230682d6b6f82e19627cf476438249a065c25025e2ec0cf7d379a98e3b173d03
C/C++
1,929
59
/* 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...
c99daa9fd030b17ccef17e361e824443751e745856d92664c127fa17b058f225
C/C++
1,934
52
/* 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...
038837c93515282c5c691a00907dc1f71f5b3497f6f4cbcbe88da40d8d045c47
C/C++
1,936
37
/* * 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...
22fdc718cfa478f9c91b1e1689d0fcdeb7ebd4b8a4d0b1fe30b5fbe03178526b
C/C++
1,938
73
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
aec0051d41ff13febafafefd0c790183df94cae5a86d0cc39d7d1864a964feeb
C/C++
1,941
64
/* 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...
b7a34f33106529acc4dfd5748555082d401f9ae22c9467188e6a48c013ba041d
C/C++
1,945
60
/* * 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...
0cb975e0683f37da705cc7a11ac866062ec8a07c22b760523df47665e6d1a575
C/C++
1,950
70
// *************************************************************************** // BamWriter.h (c) 2009 Michael Str�mberg, Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 October 2011 (DB) // -----------...
b061c3bc8a00eb72dc28bcd1855d92793268e22a0828ec97bb56a4ec20ae826d
C/C++
1,958
54
/* 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...
5b4fee05fe396e7d59faac033e2645bfa9b4de13e8194ea55bb9165b1627fcc2
C/C++
1,961
72
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
35fc10602efc0a98fa9406ad241a904e12600c1ab2967da6654401276be2bec7
C/C++
1,963
78
// *************************************************************************** // HostInfo_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 November 2011 (DB) // ----------------------------...
9386da0e092a22f768135dc6d0c45fff137f5025b2c1b32b9960c5b2ffb10701
C/C++
1,963
55
/* 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...
08e1a5f78d8facbdcd14b58f19a07419ea90382e245a5be2e60191f1c07af3e9
C/C++
1,964
73
/* * 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...
8fd84e8b62e8dc6c8efc7a8389c34f2b952c83454e290a56d79c97e7db0e2b5c
C/C++
1,965
62
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b05eceaf8e7f9b2ac72975d79ca755739ec6820172b840556bf2514fe3c5be8f
C/C++
1,969
58
/* * 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...
182dcd3c3e067fef68393242012a7e74e2455c784c70e62ffea17604418f3379
C/C++
1,970
77
/* 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...
a84187e65d20542c92041797ad1be1b6e3ae10752ad27f6987a8f8f5540e4afc
C/C++
1,970
72
/* * 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...
cc5556af4bfeec7ddc734f8e99e61dd43400bc36c673d3d3d746ece75fa22636
C/C++
1,973
68
#include <stdlib.h> #include <gsl/gsl_spline.h> /* vectors smaller than this are not normalized */ #define NORM_EPSILON 1E-12 enum proj_side { TOP, BOTTOM }; struct interp_params { float *rdepth; // relative depth float *x,*y,*z; // orientation field size_t nx; // matrix X dimension size_t n...
861b6b2e9656a32f8adb9123aaea1892ae92710933947df26967002f8c0c6f81
C/C++
1,974
53
/* 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...
c33441788531ff45eee4ad2cbe3417a558bd8dc64a8dd6efc446795ed7af5746
C/C++
1,976
41
/* * 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...
e42981c55b52886bf5934943a0e9bb5f6c75832de70dc9200c71ebe87132323f
C/C++
1,979
47
/* * 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...
8fecef705d49bb27e86e5521a4e2b9ca9f87aca11814816aede5f02fce8997d9
C/C++
1,984
56
/* 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...
4998dcc8fe661e1896f906600c242c3636a75a76e7ebb0c643204c11a5f2a4a7
C/C++
1,986
85
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
bbd8a1e016648fd4084110f2d5fe0ec0f926515c1b2c6bfd7ba0b42322c7a7e9
C/C++
1,993
67
#pragma once #include <SDL3/SDL.h> #include <vulkan/vulkan.hpp> struct [[maybe_unused]] Extent2D { uint32_t width; uint32_t height; }; /** * @brief Class representing a window in RAYX-UI. * * This class is responsible for window creation, handling events and resizing, * as well as surface creation for V...
7e200f4561a3a99cacca4f6de72fc01ba99cfd8e215cbd9637887f4a623bd580
C/C++
2,000
76
/************************************************************************/ /* Public implementation follows */ /************************************************************************/ /*--- Defines ----------------------------------------------------------*/ /* None */ /*--- Types -------------------------...
375d76a8509e440f6e4cd90a989ed357fba52c26ccecd96dc2e8908d1896b4e9
C/C++
2,002
76
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d80c221b1053eb9ec9dea4145192f156eba86d82c01b6dda9794ac3144bf2523
C/C++
2,007
64
/* * 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...
dd013e8fb75edd9818160ee49f46141263b94689a87b2f90634062b233c40533
C/C++
2,007
40
/* * 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...
ee7c2e8e7056c3b1cb1a71ff1bf14cf43d9d6bd87a9bc50360164a20df92525e
C/C++
2,007
73
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
0d4c8a0815d3ecdcfa645791f8214e96e06f6d7e415073ffdaf1333d1ca66ba1
C/C++
2,008
74
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ec2ea4b7c49ae869d09c1317233c124c7553afbfeb7b77b6d929a3887cf5bc59
C/C++
2,012
51
// // statedata.h // MorPhy2 // // Created by mbrazeau on 26/04/2017. // Copyright © 2017 brazeaulab. All rights reserved. // #ifndef statedata_h #define statedata_h #include <limits.h> #include <string.h> #include <stdbool.h> #include <ctype.h> #define VALID_NEXMAT_PUNC "{}();" #define VALID_XREAD_MATPUNC "[...
501a12af353a81032131497dc30039192176957d34de0186f3965439e61861e0
C/C++
2,020
42
/* * 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...
9f8c844b93c526d0528ede72c9964a4d578be4f5db5485ee3a39a302c8261026
C/C++
2,022
58
/* * 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...
2d21c8e36c449d44631c943f2f79055a488018123c483a129eaae87cfba6f14f
C/C++
2,048
88
/* 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...
3a79ee81c939151388d74e5c54e2f8bf098a94749e62bd8b8e06dcae465fdd8a
C/C++
2,048
88
/* 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...
1241295a912b798f2412a0940410ec1cd8c162dad306af29561663af5c71a4a7
C/C++
2,050
55
#pragma once #include <memory> #include <vector> #include "BundleHistory.h" #include "Rays.h" /** * @brief Creates a grid representing the footprint of rays within a specified range. * * This function takes a vector of rays, along with the minimum and maximum x and z coordinates, * and the number of cells in the...
4cda40e95be8024dc5036acef60b3906433d8880bd2ab1730e703d574f4db340
C/C++
2,051
59
/* bam2bcf.h -- variant calling. Copyright (C) 2010-2012 Broad Institute. Copyright (C) 2012-2014, 2019, 2021 Genome Research Ltd. 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 "Sof...
97d61332258f67aa17f635233f674d1ddd4a6dfe41364838b7dd0f3fe1ae150c
C/C++
2,051
75
/* 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...
357a8d7e632754967932927672e923842570f0293d169af0520144cee2b3d3ce
C/C++
2,063
63
// // Basic instrumentation profiler by Cherno #pragma once #include <algorithm> #include <chrono> #include <fstream> #include <iostream> #include <string> #include <thread> #include "Core.h" namespace rayx { extern bool RAYX_API BENCH_FLAG; class RAYX_API InstrumentationTimer { public: InstrumentationTimer(...
0d7937c782f20c556ca3b3cdffb7ace8b8d4d8ac12438579696f6765565fa6bc
C/C++
2,065
80
/* * 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...
14ce9be2e30951ea565757943dfce65a874377c3e0edfe7b0e96a7dcc8a1d682
C/C++
2,066
52
// // statedata.h // MorPhy2 // // Created by mbrazeau on 26/04/2017. // Copyright © 2017 brazeaulab. All rights reserved. // #ifndef statedata_h #define statedata_h #include <limits.h> #include <string.h> #include <stdbool.h> #include <ctype.h> #define VALID_NEXMAT_PUNC "{}();" #define VALID_XREAD_MATPUNC "[...
0bf094ca52a56888fcdc39390d802f1ec1ac895bd5a4d3ad10bb99eb7f84022f
C/C++
2,067
74
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
325d8ac3e7d59bd3335efbd21e5c9085c2d40134684584114bc52292d7974f67
C/C++
2,069
77
/* 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...
6515075ebcf6dba8b3eaff189c6265098c9eab5bb79f56cff64d018114ddfff2
C/C++
2,081
48
/* * 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...
abccb2fa0df5802c68be32220c71ea585ac943745f3f8e838a01af3a8dc35761
C/C++
2,081
71
/* * 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...
ad9ff37820136696e9590bc957e273eee096bb9da7f2084387972066ccb29bd7
C/C++
2,082
52
/* * 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...
31c7a6393ba10109127b27f4f5f6997c80f255eda9bf6339225bf63fd66a662a
C/C++
2,083
60
/* * 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...
a4fd253ee8b2d5c05e035974c79d58d3979908de59dec3046a82f036b52fc161
C/C++
2,087
89
/** * 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. */ /** * This is the basic class of data parsing. * It provides essential functions as follows: * - parse(input, output): * ta...
8833045927abff9716d65b3a5aebfd0fc61cb447e4f9d7ffcf90d45dc28e94a4
C/C++
2,090
76
#pragma once #include "Core.h" #include "Variant.h" namespace rayx { // Cutout types: // a subset of points of the XZ-plane. used to limit the potentially infinite surfaces. // note that the first 3 need to be RECT; ELLIPTICAL; TRAPEZOID in order to be compatible with `geometricalShape` from Ray-UI. enum class Cutou...
93004fdcb1c71f0cad596fa887c960680c7785ec594a659e5ec0a16010859946
C/C++
2,096
75
#pragma once #include <glm.hpp> #include <string> struct Camera { alignas(16) glm::mat4 view = glm::mat4(1.0f); alignas(16) glm::mat4 proj = glm::mat4(1.0f); alignas(4) float n = 0.0f; alignas(4) float f = 0.0f; alignas(4) uint32_t isOrtho = 0; }; class CameraController { pu...
50118636839950a71e87c0d894cdc837804227cadbb7a337f40fad4e4dadaa94
C/C++
2,099
78
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
2c169b595c416e11ef380ef0121b8ce1acdf8bb0574ba220085d7a32afec3992
C/C++
2,103
64
/* 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...
c7cc8c075479ac0b6cb877d75de000d4891399c08e3a365581c15ce063d40c2e
C/C++
2,105
40
/* * 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...
4947917bef502cd69c33904a523552b0ec666af2e20f4b4041c4b21c99cb4088
C/C++
2,118
53
/* * 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...
9e6fe7195b65910ea87b87787748b0d1b23b5aab1fda40004241dac311dfb44a
C/C++
2,118
57
/* * 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...
84386e7677a7c567a8418cd86a2d8af3e4b96a84a15559891110b701ca0e6763
C/C++
2,125
77
/* 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...
6125fe16f630bb1ded1398750ffe373d9f28aeb748604c63dd49ee5f2886267d
C/C++
2,130
32
#pragma once #include "Collision.h" #include "Core.h" #include "InvocationState.h" #include "Ray.h" namespace rayx { /// Each `behave*` function gets a `Ray ray` (in element-coords), the element itself, a randomness counter and the `Collision col`. /// `col.hitpoint` expresses where the given ray will hit the elemen...
a46f9c6bd34ba60af1cbd4579b81950da184df5508004f0aad4bbf8b0a6498b1
C/C++
2,133
51
// *************************************************************************** // BamIndexFactory_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 October 2011 (DB) // ----------------------...
42c057536b2a903aad1e63ad2d2f8b20ff0661834a7c7685400fe5e60fe4ab5d
C/C++
2,134
51
#pragma once #include <memory> #include <string> #include <vector> #include "Core.h" #include "DeviceConfig.h" #include "DeviceTracer.h" #include "Rays.h" // Abstract Tracer base class. namespace rayx { // this value is picked in a 'good' way if it can divide number of rays without rest. for a number of rays picked...
2eff99a7e03c88ad1c539fdff0d4f994812ffbfb7a8e99887e63ab06fc65da08
C/C++
2,135
95
/* * def,table2.h * declarations */ #include <string.h> /* for memset */ #define mymod(k,K) ((k) - (K) * floor((k) / (double) (K))) #define iround(x) floor(x + 0.5) /* interp2_table1_for.c */ extern void interp2_table0_complex_per( const double *r_ck, /* [K1,K2] in */ const double *i_ck, const int K1, const int K2, ...
59fef32181fcf3f9a10b47afaf2df35aabc4be87a0b8384a893f6b0107b24357
C/C++
2,135
86
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
7d3e16a4e0fe72adf9c319f99ad13d5c8c30e2304cfd4912d6ab3c0328768dfb
C/C++
2,135
57
#pragma once #include "Complex.h" #include "InvocationState.h" namespace rayx { /// Both of these structs are used to effectively calculate the Refractive Index of some material when hit by a photon with a particular m_energy. /// The PalikEntry represents the the complex-valued refractive index directly as n + ik. ...
2df53427445b8e20661af70e000d8792906ecff17dec650843db96d50ac6db3e
C/C++
2,136
81
// *************************************************************************** // bamtools_global.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 October 2011 (DB) // ------------------------...
4c98c5f30b0f18badcb3e883115c723ff4a37a534db9cae49543567565102e79
C/C++
2,150
73
// *************************************************************************** // BamHeader_p.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 18 November 2012 (DB) // ---------------------------...
aa296ac8a644c00237d3b586f3a1b7a37642699b2e021ff2bd49420c49efbd72
C/C++
2,151
51
#pragma once #include <variant> #include "Core.h" #include "DatFile.h" namespace rayx { enum class SpreadType { HardEdge, SoftEdge, SeparateEnergies }; // default WhiteBand enum class EnergyDistributionType { File, Values, Total, Param }; // default ET_VALUES /// Describes a __uniform__ distribution over the i...
e478fb636ab918195186ff365d168a35f22b0bdf2efac1588c9c36a026e4930f
C/C++
2,156
69
/* * Copyright (C) 2012 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
6aa73931e97e79f0d288c05e9fd5f19fa5ea6c9fa373202b55a5aaadb8da95b5
C/C++
2,164
70
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
92817040074c1c8e96a691ac4f68d7fae696c7d0bbbd62cdce007b79e0fd45bb
C/C++
2,164
87
/* * GPExpand_types.h * * Code generation for function 'GPExpand' * * C source code generated on: Sun Aug 23 01:10:53 2015 * */ #ifndef __GPEXPAND_TYPES_H__ #define __GPEXPAND_TYPES_H__ /* Include files */ #include "rtwtypes.h" /* Type Definitions */ #ifndef typedef_ResolvedFunctionInfo #define typedef_Resolv...
f0b9b949201a4f4f4eb5e7356d5400705728e6227d6a24d7b0ef4f0a8eef5ae9
C/C++
2,168
76
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
a83b2b6792c39a461cbb8eb358b20cfd72b5463c74cbb084730f988fa6ddd6e9
C/C++
2,174
62
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
14d32e1cace2e4e56a5a86b793ebb45cbba7239cde4c5eaa683efb6cff18f8c1
C/C++
2,176
72
/* * 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...
6fe87eef63d32a2d23cd2cb658bd7a03e68f96655da6d0de769369d8f5771f97
C/C++
2,181
39
/* * 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...
a53ca6072140d0b60252fa2e45f59b928301be25588b3a05cf7cacc165b3afb8
C/C++
2,185
89
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
eb712d8330b84b85843a79f3d007146929bdf6435bf3561d43f579a41218a18b
C/C++
2,197
102
/**************************************************************************** ** ** Copyright (c) 2008-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/qhulltest/RoadTest.h#2 $$Change: 2062 $ ** $Date: 2016/01/17 $$Author: bbarber $ ** ****************************************************************...
d82b9ed6ae5444e4806ff53bc523633637e2acf30d1dce6d094fcd2d11033344
C/C++
2,202
70
/* Copyright (C) 2014 Sergey Demyanov. contact: sergey@demyanov.net http://www.demyanov.net This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
02ae81907cd8501c5806b9fb143099a0cc5e614041c2fb75e02416b620ed970e
C/C++
2,210
83
/** * 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 "utils/args.h" #include "dict.h" #include "matrix.h" #include "parser.h" #include "doc_parser.h" #include "...
cf3b1cdca9eef2972a2b12bff93d1c1d1dd93e48caba03c12126a2bd6ad8ff2a
C/C++
2,214
49
/* * 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...
ac289de8ce3b60efc9df05df268bc352303bc41abcdac252e1f19c48f5aecbf6
C/C++
2,216
90
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
5a42ca047efeb9e1a14a0bb2e6318044048453a4d9fbf8c536db0bcc8cff144c
C/C++
2,240
69
/* The MIT License Copyright (c) 2008-2010 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 t...
4e1b5876f2f9f47155ee477a423b166a65539f874e4adf74ef98ac151c7714c0
C/C++
2,247
54
// The shader-internal constants are mostly defined in this file. #pragma once #include "Core.h" #include "EventType.h" #include "ImageType.h" namespace rayx { /// inverse nanometer-electron volt relationship / reziprocal factor constexpr double INV_NM_TO_EVOLT = 1239.841984332002622; constexpr double PI = 3.14159...
a7a48aab6774fd58b2379f95a54ee424bd746f80f2487ec4e19a83ddd2a628d5
C/C++
2,249
76
// *************************************************************************** // BamWriter_p.h (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 25 October 2011 (DB) // ----------------------------...
12180088caee4eb96a3f4bf68b73df7a540a7e1f777f0fc13e985cb10effb43d
C/C++
2,251
107
/* * 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...
cd196e0e8ee9d2705ca0a3ac92d756e0c1148da551849f2be36d6468e04e392f
C/C++
2,256
71
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
26a7892924713f197b3733a82234a6664e45112a845e4cbb38acb0e1cd361575
C/C++
2,260
79
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
e6016a58ef1fb0b17ee1276d730fc9ba4dcbc8471776fa9297bae9b3d91c79b9
C/C++
2,261
64
// *************************************************************************** // SamProgram.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 October 2011 (DB) // -----------------------------...
7840204c82402e67464ddf365d42f65bae4238b69fec4a86e37596fdf4dd4f8e
C/C++
2,266
74
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
ab1193ae70490e33b3fc12a6954485045726252a9ba36856a20129d6eea8cc57
C/C++
2,266
90
/** * 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. */ /** * The implementation of dictionary here is very similar to the dictionary used * in fastText (https://github.com/facebookres...