sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
35e943e45b08215559577de9c5b4af5edf3a2798f578b2602d2bda20d2dbe013 | C/C++ | 2,267 | 57 | /*
* 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... |
05cbecadc2e3079d48217def4714896346fe03476c7cd58886727aeb476a5ba3 | C/C++ | 2,271 | 84 | /* 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... |
84ff3f8fcbfddbbc2ace85b566d9d355fe19a9e90e00f9b1dd8bb03e4c785f4e | C/C++ | 2,271 | 102 | /* 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... |
0bb3ee02a600302955f8dc25892bc2af5194e342a9ebcbe74c63ea3f1f25e6f6 | C/C++ | 2,290 | 33 | /*
* 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... |
3463628a82e10ac27fa7ced2c307608b9b8f8554f8a52b189242d45a0729c927 | C/C++ | 2,292 | 46 | /*
* Copyright (C) 2011 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
7c24f05df1a6eacbe973022591c8ec409ac38b82af8766211c51a3582eee4713 | C/C++ | 2,293 | 85 | /**
* 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 SparseLinear class implements the lookup tables used in starspace model.
#pragma once
#include "matrix.h"
#include <stdl... |
b0a46f85c6b488aa1e834263043db550ea16da5ab8c0dffd77c188c257c19167 | C/C++ | 2,305 | 67 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
0910845b18d80262ea3bc458dfa69d520d3aa335f3c19e43d565f43ea01950b7 | C/C++ | 2,308 | 76 | /************************************************************************/
/* Public implementation follows */
/************************************************************************/
/*--- Defines ----------------------------------------------------------*/
/* None */
/*--- Types -------------------------... |
0372a09c9061b1e152b0047e456508c836001c7591af06a6462898fdaf12c0d4 | C/C++ | 2,315 | 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... |
232a3a231f0098c154ee660f91d65e85c7939ca9bb2f49f54e6b1e9ebae11093 | C/C++ | 2,318 | 63 | /*
* 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... |
887ed2017814ec0332eb06f01e2847b62115f0de4a8ce5819770e6856c6cac42 | C/C++ | 2,320 | 51 | //
// fitch.h
// MorPhy2
//
// Created by mbrazeau on 02/05/2017.
// Copyright © 2017 brazeaulab. All rights reserved.
//
#ifndef fitch_h
#define fitch_h
int mpl_fitch_downpass(MPLndsets* lset, MPLndsets* rset, MPLndsets* nset, MPLpartition* part);
int mpl_fitch_uppass(MPLndsets* lset, MPLndsets* rset, MPLndsets... |
0875b7664c485bedeb735941aa5a639d842169c3f92c2a0d32468395c05b48e8 | C/C++ | 2,348 | 93 | #ifndef PROPCA_MATMULT_H_
#define PROPCA_MATMULT_H_
#include "genotype.h"
#include <Eigen/Dense>
#include <Eigen/Core>
using namespace Eigen;
typedef Matrix<double, Dynamic, Dynamic, RowMajor> MatrixXdr;
class MatMult {
public:
genotype g;
MatrixXdr geno_matrix; // (p,n)
bool debug; // = false;
bool var_nor... |
d31782eb0f4849943afef8c50e12cf433c4f92e8a9a3d5a3a72d0c46eb5516a2 | C/C++ | 2,357 | 58 | /* 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... |
77fd73781df522c272eed76d2e56e346de2cdb239fbc2ac90ef56a460a6d5418 | C/C++ | 2,373 | 104 | /*
* 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... |
0161bccb7e191431c2a865afb1e95f6adcbdb23f9e64a502d9589cb77a2cc4e4 | C/C++ | 2,377 | 64 | /*
* Copyright (C) 2010-2011 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... |
82e00695e5531fe33103e5c01b95960b11cf76ba7822f7f6b14d450adf801fc2 | C/C++ | 2,380 | 72 | /*
* Pins and other defines for MaCaQuE_firmware
*/
/*** PINS ***/
// Neopixel
#define PIN_NEO 15
#define PIN_TOUCH 18
// Shift register for Touch
#define PIN_TOUCH_CLK 16
#define PIN_TOUCH_LATCH 17
#define PIN_REWARD 22
#define PIN_REWARD_LED 21 //21 or 13 for reward debugging... |
dc2254d5383a8ee25e5be0e840fd660b8edd76ae0f22c75e208ddb4afb20708b | C/C++ | 2,384 | 62 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/QhullError.h#2 $$Change: 2066 $
** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $
**
***********************************************... |
9f4a5a9860312f3e06f404ea7a8645f55b92c7087e88e415bc6f43a3aaf2b45d | C/C++ | 2,389 | 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... |
5753b2918775bb689c4ca7f76d647b93dbfe1bca529e1d7ce6c738350f6b67cc | C/C++ | 2,391 | 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... |
c938e42c73c7f07d557ca240ac0a52e7ff1b1ca0dd6583a7a41b30be05569475 | C/C++ | 2,395 | 81 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
36c0448092d83d8b64707e3907357859e38ccaab12fcb19f5d485de5150492aa | C/C++ | 2,405 | 98 | // ***************************************************************************
// bamtools_pileup_engine.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011
// -------... |
9686198ea72ae9e6043e45f776f70411413a4ca60d22e351616b82f2cce1680a | C/C++ | 2,408 | 81 | #ifndef GENOTYPE_H
#define GENOTYPE_H
#include <bits/stdc++.h>
#include "storage.h"
#include <Eigen/Dense>
#include <Eigen/Core>
#include <Eigen/LU>
#include <Eigen/SVD>
class genotype {
std::vector< std::vector <bool> > msb;
std::vector< std::vector <bool> > lsb;
//std::vector<int> columnsum;
//std::vector<int> ... |
a559b6d2a667884e65c508463cb4860d143561cfed0f74a4fab1453e85c743e5 | C/C++ | 2,410 | 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... |
9f834326c208b2efc0c5915215fa8294939767a4ece8159a5aa84809021bae3b | C/C++ | 2,415 | 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... |
84f53ec96e910383892276b51e910ca9c28bf213d918d2b5dd0e6aa9778ed502 | C/C++ | 2,416 | 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... |
9f24a6d5d1868e9644873bd74b5cd5f96244b51f044e274efdd57073b74bd6ff | C/C++ | 2,422 | 65 | /*
* 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... |
13eec08c2a18372abe47093900a36ae2c09cee49ebaf98a3fe6e9d0d261edb6f | C/C++ | 2,426 | 69 | /****************************************************************************
**
** Copyright (c) 2008-2015 C.B. Barber. All rights reserved.
** $Id: //main/2015/qhull/src/libqhullcpp/RboxPoints.h#4 $$Change: 2079 $
** $DateTime: 2016/02/07 17:43:34 $$Author: bbarber $
**
***********************************************... |
649d44c90a6af24c2560d227dbe6b15d901c1ad60f7c53b36247eaa01a10121e | C/C++ | 2,436 | 54 | /*!
@file mplerror.h
@brief Error codes and descriptions for MorphyLib.
*/
#ifndef mplerror_h
#define mplerror_h
/*!
@typedef MPL_ERR_T
@brief List of error codes. Each error is a negative value.
@discussion These error codes are returned by library interface functions (and
used by some internal functions) to ... |
7b52469921fa37f4756e2009ac80a5ca793ce92cefaf46a8fb1546fd320ff153 | C/C++ | 2,436 | 74 | /*
* 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... |
1603b6464f871f383750c8e0f4229b052393e9d9e57ba79e5348e48de953ef7c | C/C++ | 2,442 | 68 | /*
* 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... |
7d36f45d4894342b2f8b080dfc823ed9f3d23730c2f2478cceb2009be96fed33 | C/C++ | 2,444 | 68 | /* 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... |
d3dc5cff0fd1d6c7864312f455ecce89c29d7de19ee8872ca05027954994ed5e | C/C++ | 2,446 | 86 | /*
* Copyright (C) 2012-2013 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... |
9ee6959337e43bc935eed8ca21038180dd6d12ae9d0c42549ea90e4ec3244d88 | C/C++ | 2,449 | 84 | /* 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... |
9a561c8cb7bacb49c05b2c004e36c5259c6f7dae8ae953113a2d765ed8da7eb3 | C/C++ | 2,452 | 72 | /*
* 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... |
9175ad6fd5c0e4b58c2548aebdad9e99dac93e4c837c86fae0fdcb09d0fdb2a2 | C/C++ | 2,457 | 97 | /* 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... |
b5c2442521d817cba57416f0d8a727783f2fd269819d668d33597367c3042c09 | C/C++ | 2,461 | 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... |
f26f2748e9561330157f5fc94d6f730dd5ec503d81234aad1bb2b7dd842c324c | C/C++ | 2,461 | 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... |
8a53f9cc8c0df3300a7caaec755885ddb81f583bf2ac52b7914a692f9b833e7c | C/C++ | 2,465 | 48 | #pragma once
#include <glm.hpp>
#include "Core.h"
#include "Element/Cutout.h"
#include "InvocationState.h"
#include "Rand.h"
#include "Ray.h"
namespace rayx {
struct RAYX_API CollisionPoint {
glm::dvec3 hitpoint;
glm::dvec3 normal;
};
static_assert(std::is_trivially_copyable_v<CollisionPoint>);
using OptCol... |
3c95927378087bd7cb46ac8e95c58a9deadb0aedb86d9273093d7785872bdbfb | C/C++ | 2,468 | 60 | #ifndef VALIDATION_H
#define VALIDATION_H
// UPG-007: Centralized input validation for GENIE
// This module provides validation functions to catch common user errors early
// with clear error messages.
//
// Note: This header must be included AFTER the options struct is defined
// (see arguments.h for include location... |
c4e03737a087bd83db5939feeba89dbfd83aa9ddeb96fbe8404c3e9152a34afe | C/C++ | 2,472 | 95 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
6bb21b893f5b3ab75a3522e0ce3f3253b0a858ce4998608ff10c6075310935ba | C/C++ | 2,474 | 63 | /*
* 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... |
76ba81b9913c6444ef241082d7be74eeb9bf17a46d81bb5fc45751f0ab318102 | C/C++ | 2,485 | 84 | /*
* treelib.h
*
* Header file containing structures, data definitions and function
* prototypes for treelib
*
*/
#ifndef __TREELIB_H__
#define __TREELIB_H__
#ifdef __cplusplus
extern "C" {
#endif /*__cplusplus */
#include "tldefs.h"
/*!
@discussion This is the interface struct pointer. It's of type void so... |
23b53e7fc0bf95fef1a697b445bbfa4e32551539d7996f5c653d89a54f0cab07 | C/C++ | 2,488 | 58 | // 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... |
3f3d3640388b8eb22bddc599ab3cd2f1a315793649906542cdc91a4115c3a740 | C/C++ | 2,493 | 65 | /*
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 ... |
5fd6bf8e260b2fea1287eb75b3ae70a147cfa26b2d47d059bfbb50670e4459fa | C/C++ | 2,513 | 62 | /*
* 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... |
2329f6d8c74cf3082d1ace29dcdb88c8e589bb4c3e39b560be9fd3599a57e317 | C/C++ | 2,516 | 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... |
47dfee205067e7138156ae5f2ee34750788173f5807a2b36a09beb459e69b145 | C/C++ | 2,530 | 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... |
f7d5c8667a8de7450eef694582197bb62980582c152180f78f51167f2fff9fb3 | C/C++ | 2,537 | 88 | #ifndef __HW_CONFIG_COM_H__
#define __HW_CONFIG_COM_H__
// ### AXILITE CORE 0 ###
// #########################################################
// Number of registers for Axilite : hh core 0
#define NB_REGS_WRITE_AXILITE_CORE0 63
#define NB_REGS_READ_AXILITE_CORE0 9
// Registers ID for Axilite Core 0: hardwar... |
1c09743305a09a58c79359c2a9ba7aa9a1a44d294bbf3431aa06c8d255b3cec3 | C/C++ | 2,540 | 69 | // ***************************************************************************
// SamSequence.h (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011 (DB)
// ----------------------------... |
e69d36cad22a3fcf36f0f6fdca89f6a2d4344371831eb8cd74ba9574413390c1 | C/C++ | 2,544 | 94 | // ***************************************************************************
// BamHttp_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 November 2011 (DB)
// -----------------------------... |
1b7a9b786594fe4a7f13e6416aa31c0d429743143b81b627ef9b78a89a639443 | C/C++ | 2,568 | 93 | // ***************************************************************************
// BamFtp_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 November 2011 (DB)
// ------------------------------... |
d2e6514ac3f0c857667060446b7b4ed919092de06278f3d3d56f5fe63e032fac | C/C++ | 2,569 | 81 | /*
* Copyright (C) 2011 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 License... |
1ccc88f0752f7f8b97e3240710e42ec4613afb7911322bd97e6ca87446e68c19 | C/C++ | 2,575 | 77 | /************************************************************************/
/* Public implementation follows */
/************************************************************************/
/*--- Defines ----------------------------------------------------------*/
/* None */
/*--- Types -------------------------... |
c23a1b757a60c270c32996b90403f5e306d28575f289a9d5a3042f438bfd39e4 | C/C++ | 2,577 | 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... |
44d77c20e6d76d5bc54f4316518db3e4128fa2bfe78d9b02cb4e7581165bed3d | C/C++ | 2,579 | 115 | /*
* def,table3.h
* declarations
*/
#include <string.h> /* for memset */
#define mymod(k,K) ((k) - (K) * floor((k) / (double) (K)))
#define iround(x) floor(x + 0.5)
/* interp3_table1_for.c */
extern void interp3_table0_complex_per(
const double *r_ck, /* [K1,K2,K3] in */
const double *i_ck,
const int K1,
const int K... |
70bf318ce793c92212a292ab6db2e399425596dc916971ddfeedb67604bf0616 | C/C++ | 2,584 | 64 | // ***************************************************************************
// bamtools_utilities.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 7 October 2011
// ------------... |
b3a1d2970d3341253832371db994d0fe9347abdee07d8543e4ff07db2996c86d | C/C++ | 2,592 | 84 | #pragma once
#include "Core.h"
#include "Variant.h"
namespace rayx {
enum class ToroidType {
Convex,
Concave,
};
// a surface is a potentially infinite curved surface in 3d space.
// as our elements are mostly finite in size, they are represented by a (potentially infinite) surface in combination with a fin... |
ffe12823012253dfe12c3144a3c3bdecc952168a2408ca9f792cccafd058ee76 | C/C++ | 2,593 | 105 | /* 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... |
5604a814f5521dca78e19ae55f8626a3853df4d7160f04c13594c8b1bf3ed8df | C/C++ | 2,600 | 98 | #pragma once
#include "Core.h"
#if defined(RAYX_CUDA_ENABLED)
#include <cuda/std/variant>
#else
#include <variant>
#endif
#if defined(RAYX_CUDA_ENABLED)
namespace variant = cuda::std;
#else
namespace variant = std;
#endif
namespace rayx {
/**
* @brief A variant class that extends a base class and holds a variant ... |
7c6a1bcb37d9d1969c27c981ef030c021d69e845e0ca3099113b93aef0296ec6 | C/C++ | 2,604 | 94 | /* 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... |
cb89dce36f1c7bd259bbdfe5e19bff2901f1f5e13d7d189bc7c14ab1e6084edc | C/C++ | 2,607 | 58 | /* 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... |
4db37c89e2a7bd82b1c3ea96a7cffef9d3b676d2963757b75e034fa2c69949f2 | C/C++ | 2,615 | 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... |
00ca0ebd4782b0ee91cbf7e5700dc24be3d1d128c2a29fafa9b52bed37f93bf6 | C/C++ | 2,617 | 90 | /*
* 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... |
d4fcfa9beb7c59c274de94a261185cef83b16b2b717d3b030fe256955d560873 | C/C++ | 2,631 | 80 | #pragma once
#include <glm.hpp>
#include <map>
#include <optional>
#include <string>
#include "Behaviour.h"
#include "Coating.h"
#include "Core.h"
#include "Cutout.h"
#include "Rml/xml.h"
#include "Shader/SlopeError.h"
#include "Surface.h"
namespace rayx {
class DesignElement;
enum class ElementType {
Undefine... |
196d9a21990cf77d706af1ee689350039de0226f3c84acff94af8a67f65fbc2a | C/C++ | 2,633 | 84 | /* 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... |
54c53086360fdf4a8cad548ddf538006c1fb6f0492dec765935fa7f75c795956 | C/C++ | 2,636 | 94 | /* 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... |
60b18f646389bc9ca67b4ce44b2be887c6c95516daeb9742b831e10f14dab24a | C/C++ | 2,640 | 84 | /*
* Copyright (C) 2010 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
3aba8856240945f2f82d9bf83b5c42119d819604bf25ae7b23af59973bac9dfc | C/C++ | 2,658 | 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... |
c6eef6bd50d81d8fb085155dc71b606392df526667f642a061c0b41c1de78746 | C/C++ | 2,659 | 74 | #pragma once
#include <vulkan/vulkan.h>
#include <memory>
#include <stdexcept>
#include <vector>
#include "Device.h"
class SwapChain {
public:
SwapChain(Device& deviceRef, VkExtent2D windowExtent, std::shared_ptr<SwapChain> previous = nullptr);
~SwapChain();
SwapChain(const SwapChain&) = delete;
... |
17cafd203cbae779bcb9d82bacef3a2d9609ee6e2488cfe69141e4609c21277d | C/C++ | 2,666 | 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... |
161b25e3c54de540033c2b18e3c3705099c5353e26510ab2a2410f5b591a30c5 | C/C++ | 2,676 | 70 | /*
* Copyright (C) 2011 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
987b19bbc0aa5f24833e3e94961f3b8dae8fa3a44d51308d14a508a471a642cd | C/C++ | 2,680 | 94 | /*
* Copyright (C) 2013 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
0a89635830ab838564b6f12a14cb8532d4e8449d4580571c5b16fb88f3580d7b | C/C++ | 2,688 | 91 | /* 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... |
1bb070cda10a7c0633655c8396cbc2e0ecd0995fdb6892b2ae4b0d68fcda9736 | C/C++ | 2,695 | 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... |
e15b13be69d4598e558fe68982572319f8accfffa7b7de53e14b2f26c118d8c5 | C/C++ | 2,698 | 98 | // ***************************************************************************
// BamRandomAccessController_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011(DB)
// -------------... |
ce04519f8eb2812a3168bbb07e4c45c518035b708e0f16a375440aa79fcd3da5 | C/C++ | 2,703 | 81 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
7229db391719afbd30400fc14cf516450281619b0282c63a3f1c9926fe8d04dc | C/C++ | 2,715 | 84 | /*
* Copyright (C) 2010 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
700eef0d6c1eb5b63eda56502d3ec10f183e46df839c54e4cc7a7b5854630641 | C/C++ | 2,717 | 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... |
cc2a701a105bc4fa3e84fcbf7a24a5f6d92e99f02f3348f9d74b09655afd7c4e | C/C++ | 2,731 | 104 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
39711c9171960ca71a3510d86259c7e05a3c5a57b5dc452b807239c1493f3bed | C/C++ | 2,735 | 92 | /* 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... |
fce21e116e6fad33794514b2e84c0e19eb3e4d43b2a18e89fc064c2f869b2bb4 | C/C++ | 2,735 | 70 | //
// morphy.h
// MorPhy2
//
// Created by mbrazeau on 23/04/2017.
// Copyright © 2017 brazeaulab. All rights reserved.
//
#ifndef morphy_h
#define morphy_h
#ifdef DEBUG
#include <stdio.h>
#define dbg_printf(...) printf(__VA_ARGS__)
#else
#define dbg_printf(...)
#endif
#include <stdlib.h>
#include <assert.h>
#in... |
1826f0eb72aee8313b8837a331283a95ca53198fb92bf7d854695a25070abce5 | C/C++ | 2,748 | 106 | /* Copyright (c) 2008-2026 the MRtrix3 contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Covered Software is provided under this License on an "a... |
240714f51126702ce51c452deb5c777bc69a3b345e3d5ad5d4e3df0cdb402801 | C/C++ | 2,749 | 99 | /*
* 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... |
dadb24a376415b16c812a24e461f002692aa0e2d8d19d87f1b21b2ddba9eede3 | C/C++ | 2,754 | 98 | // ***************************************************************************
// BamIndex.h (c) 2009 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011 (DB)
// -------------------------------... |
6627ee3e2ce216886b2424f243f6e93e33eddbb6dadbf0c09283702bdc6e6f4e | C/C++ | 2,758 | 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... |
d044d32fc8877a82bfa2fa868f815559b15abfc87f17330d897268fc466a802d | C/C++ | 2,759 | 117 | /* 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... |
abc60cea49d0ad0adbc38b22407ad3e1101b76bd86f085d8e5697de652ac1996 | C/C++ | 2,774 | 90 | /*
* 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... |
6facafed7e6eb8d056fbacced06c06ad75ea4f3919fc5ea48b59dac945d94b8e | C/C++ | 2,776 | 97 | /* 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... |
c0714b25e618ef5137248f893230e492bf626b495606873b2b717c4c5420579b | C/C++ | 2,778 | 88 | #pragma once
#include "Core.h"
#include "Cutout.h"
#include "Variant.h"
namespace rayx {
#undef m_private_serialization_params
// A behaviour decides what happens whenever a ray hits the surface of this element.
// Each behaviour type has its own `behave` function in `Behave.h`.
enum class BehaveType { Mirror, Grat... |
9f0c1f52b93458d9451ee78f27d66e1c957ef3f29173e3eeedf39aca323c416e | C/C++ | 2,791 | 87 | //------------------------------------------------------------------
// Released under the BDS License
//
// Located at http://sourceforge.net/projects/varflow
//
//------------------------------------------------------------------
#ifndef VARFLOW_H
#define VARFLOW_H
#include <cv.h>
#include <cxcore.h>
/**
* @brief... |
236831e802f850c2e03e5d4e06ec91834b0b70cf5b93cfac664a8380e89bf09b | C/C++ | 2,802 | 64 | /*
* 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... |
2cb728df6b0114abb3b724f9ee1350a218f1ff3d3d9760ce943275fd94b86edc | C/C++ | 2,802 | 112 | /*
*! @title Axi DMA object
*! @file AxiDma.h
*! @author Romain Beaubois
*! @date 24 Aug 2022
*! @copyright
*! SPDX-FileCopyrightText: © 2022 Romain Beaubois <refbeaubois@yahoo.com>
*! SPDX-License-Identifier: GPL-3.0-or-later
*!
*! @brief
*!
*! @details
*! > **24 Aug 2022** : file cre... |
84ba38835f57f62259066599ea5592b5b162954b586358bcba55f58e9ebf4991 | C/C++ | 2,803 | 99 | /*
* 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... |
25cffd7d50328c197f37d38d6dee0020132543315d415c6300556979946fc8c4 | C/C++ | 2,816 | 82 | /*
* 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... |
cadcb878694911183f43f78d425b6409ecce70ca7bacf888c988130218e42612 | C/C++ | 2,818 | 100 | // ***************************************************************************
// IBamIODevice.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 November 2011 (DB)
// --------------------------... |
84edad4deb1570bc4f995dc18597d4baac2e580030c71cb858d330a6453c7ec1 | C/C++ | 2,822 | 84 | // ***************************************************************************
// SamProgramChain.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011 (DB)
// ------------------------... |
36eddea4ad86acd6d983365b3fef541d162f21f7fffb88b2da4fb75b7f03c84a | C/C++ | 2,828 | 64 | #pragma once
#include <vulkan/vulkan.h>
#include <string>
#include "Device.h"
struct PipelineConfigInfo {
PipelineConfigInfo() = default;
PipelineConfigInfo(const PipelineConfigInfo&) = delete;
PipelineConfigInfo& operator=(const PipelineConfigInfo&) = dele... |
8d602790a67aa399444ee84f8712fb04e06ff291452b68b92e357535945014aa | C/C++ | 2,840 | 96 | // ***************************************************************************
// BgzfStream_p.h (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 17 January 2012(DB)
// ----------------------------... |
4e7e72fdec766ee67cdb6caca6a05103c726cecdf90156f0e6203016c62c4864 | C/C++ | 2,842 | 76 | // ***************************************************************************
// SamHeader.h (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 October 2011 (DB)
// ------------------------------... |
0a733c69c349a53ade9aa5d1524c7c1c84ab418f281828bada52f34ad66b60ce | C/C++ | 2,844 | 81 | /*
* Copyright (C) 2013 Regents of the University of Michigan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.