sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
adce74c50289430896011cb71966ca58145ff34dc4ffd729d3d1e1a7d081af99
C/C++
7,956
235
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
e586c49e6e53feb157d5aafd57d58b17a873849a75d6ce1723f3c2398e8314f0
C/C++
7,978
204
// move_fixed_structure.h --- Initializing move - changes chain to fixed reference structure // Copyright (C) 2006-2008 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // th...
b0d3fe6bbf4489b6b5076c2e4e083434d1d1e4baf9e171b9e652140e24a4aa5f
C/C++
7,979
245
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
115cd3f71bd24be5457af55f5744f3b2d9b2117404651f382e6a5d489d0b1cfd
C/C++
8,009
195
/** @file svm.h ** @brief Support Vector Machines (@ref svm) ** @author Milan Sulc ** @author Daniele Perrone ** @author Andrea Vedaldi **/ /* Copyright (C) 2013 Milan Sulc. Copyright (C) 2012 Daniele Perrone. Copyright (C) 2011-13 Andrea Vedaldi. All rights reserved. This file is part of the VLFeat library and...
51ec95fce706057c6459c727364fef3d1b3b5b33b07a08e72f985a8df1bd061d
C/C++
8,020
227
// opls_bond_stretch.h --- OPLS bond-stretch energy term // Copyright (C) 2009-2011 Kristoffer Enøe Johansson // // This file is part of Phaistos // // Phaistos 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...
12c84d201823b3dcc9618f23985e43f4fadcf4de2ca11dad18c3ef424ff917e9
C/C++
8,033
221
/* * DS3231.h * * Arduino Library for the DS3231 Real-Time Clock chip * * (c) Eric Ayars * 4/1/11 * released into the public domain. If you use this, please let me know * (just out of pure curiosity!) by sending me an email: * eric@ayars.org * * Changed the parameter type in isleapYear() to uint16_t from uin...
cc8b181014effb1204265dbf36612fc12d43e9a27da3b53c3eb7ae2f3794840b
C/C++
8,072
258
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
383907a42c2088a806b2c3b26686d8503da73c8df07e29a9b327418d2461ee2c
C/C++
8,073
224
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2009 Ricard Marxer <email@ricardmarxer.com> // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; ...
d3d4d2021e8766035f40b6be648beea88bb1583a20abfcb1a08709c4aae81766
C/C++
8,080
250
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
03a3a623d0c65808b337ed7ec3cc1ef82878e40ca99c9bfb236f9b1bb9fbce62
C/C++
8,093
242
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
588f03ee6d4f5f7fa7d635044b8e78f618911c7a336cddaaaf2167a78aaa24bd
C/C++
8,113
211
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
db849940b1017544bd99601000d5066dce0f28e61fe08be0dbb08293c2032638
C/C++
8,122
185
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
86a973ef2ef6408ae8092cf3a1227375745d025ff138122fbb03f62bd3145f45
C/C++
8,139
248
/* vector/gsl_vector_complex_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 ...
885b128516eda33bb2d8cd6a370ce8aca8e1dbf0fe3a690e3a0b9cb03c4ebb6e
C/C++
8,144
219
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
6fe50a96dc23db6afd481b9b020b73b4b4c71b641fee8a8755f986cd4b5cf0f5
C/C++
8,146
247
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
aabadc0d5710ad410992537e3945eb0bc6c0d45aea45f4c00838489de3872404
C/C++
8,167
230
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
a2e902d31505df427df861e9961f7cce657e9c0de694302152b4a3662f81d073
C/C++
8,195
251
/** @internal ** @file svms_common.h ** @brief Common functions for SVMs in MATLAB ** @author Milan Sulc ** @author Daniele Perrone ** @author Andrea Vedaldi **/ /* Copyright (C) 2013 Milan Sulc. Copyright (C) 2012 Daniele Perrone. Copyright (C) 2011-12 Andrea Vedaldi. All rights reserved. This file is part of...
32586b3d01df84140e0a373ee42c69b460b5a12807cde9aaba42d76b73cc5a6b
C/C++
8,200
107
#ifndef MONOALG3D_MODEL_TORORD_LAND_MIXED_ENDO_MID_EPI_H #define MONOALG3D_MODEL_TORORD_LAND_MIXED_ENDO_MID_EPI_H // (Margara, F., Wang, Z.J., Levrero-Florencio, F., Santiago, A., Vázquez, M., Bueno-Orovio, A., // and Rodriguez, B. (2020). In-silico human electro-mechanical ventricular modelling and simulation for // ...
bdcc384f03e78dc0a8c5c065fbbd047cccaf7c705020c37e607cd5f03438fe5f
C/C++
8,205
213
/*============================================================================ MetaIO Copyright 2000-2010 Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without ev...
bcf1bf74dabe04a3084cc731f87c231cb242a7d192ebdbc31ef45697030cbc64
C/C++
8,223
188
// StatisticsLogReader.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the h...
03754cc99bd4fd20e863d107fe464f65229cb341f7b70d2d065fa9d67d2df961
C/C++
8,232
256
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "cuda_util.h" #include "forward_backward_pass.h" #include "pulsed_weight_updater.h" #include "rpu_pulsed.h" #include "rpucuda.h" #include "rpucuda_pulse...
63dd01141b7d2210a95e4257d55e8b5bd93501c14611a74ce150b9d90558998f
C/C++
8,235
227
/* vector/gsl_vector_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 ...
b8e003a87c6dbc5d64c39d9a2da6b940126fa149dab115c40e7185c749e31c3a
C/C++
8,238
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
c6f2af6f2e09358880e15affeae7d1b421b86af7754c116d40b59eb0de10aa3b
C/C++
8,260
280
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
94ff8c2f56c49e30cd401dde50507874f2e5e8859b747302a1f9bae29516c903
C/C++
8,261
289
/* Copyright 2002, 2003 Alexis Guillaume <aguillau@liris.univ-lyon2.fr> for "Laboratoire LIRIS, université Lyon II, France." Copyright 2002, 2008 David Coeurjolly < david.coeurjolly@liris.cnrs.fr> for "Laboratoire LIRIS, CNRS, France." This file is part of libvol. libvol is free software; you can redistribute it ...
b6e7dba523282f362c8c2301b0bd6cb091872e55c82ba2ea65c8b0419b134de5
C/C++
8,264
240
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ff0fcebe58a89c941bf065fd66a2dca7b9924a06f218b382fee66bc1c842fab1
C/C++
8,267
183
// AverageSlope.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope tha...
303f6ce2be4529f3fe7cf5a5017a4574b1feb93fad0f6183bafb4c367db6a59a
C/C++
8,268
251
/* vector/gsl_vector_complex_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 ...
80b5b0d0fc3df1bc02539a885551223701ec9fc77fab4dc80c5314e9df0b2060
C/C++
8,269
274
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
f8a05d127632ae239e376046a1b362fbfa21ff74f27921b6138e072d617d20a8
C/C++
8,274
218
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. 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 ...
e087274dafe5b058ae813d95b3db549225a1ac9a3031bbb1d519a2fb7f70ac61
C/C++
8,322
283
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
3422e0ece6c0ec15d148b03347aa3788c2ca6b0cd8becced5fed4d0176611486
C/C++
8,343
247
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
fb637bda7e0b2c39995a1af8d1f62e8c9132e58951b69a065613729936270580
C/C++
8,364
258
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
3ab4c57bd6e13e9f63dc9161380a264dc799a5cd4f87502c40c5f75daa08489c
C/C++
8,368
316
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "cuda_util.h" #include <iterator> static_assert(sizeof(unsigned long long int) == sizeof(uint64_t), "64 bit mismatch "); #if !defined(__CUDA_ARCH__) |...
4101b068d483a57c9d4b79eeda3a18002ab10ec8472da6cda5f28899387f35e9
C/C++
8,368
230
/* vector/gsl_vector_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 ...
cdf69f7d68e71187807f8d22381a2d0fc271c35232f1256b19a833a59cb61fdd
C/C++
8,374
278
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
00044617ef21cc50dadd7417600092e393c7972bb372df10b3f369d5082dc9f3
C/C++
8,385
209
// LineSearchAlgorithm.h // Copyright (c) 2011 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope t...
3171f4b4953ec4f7a3474d0af18d37db08fb485181f16e6618250563a88fb624
C/C++
8,385
266
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. 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 ...
9a4503885eb0b8ef9e83a13d64cbd6b62fc434455047777c016263bd1038aae0
C/C++
8,399
286
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
176d5f3ad3a857a4ee5109b3e2aee28a01803ece6b240af00acd656244c7a5ed
C/C++
8,422
301
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Disable deprecated functions and enums while building */ #define GSL_DISABLE_DEPRECATED 1 /* Define if you have inline with C99 behavior */ /* #undef HAVE_C99_INLINE */ /* Define to 1 if you ...
d1e9aa3e7849420a78a2f24823fe1816fe34be344beb64adef01d042b5c029ba
C/C++
8,423
247
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2065a1d2d253ec92b3d4d88b4424b142fa6d3064a7d0251373ad81a523c89edb
C/C++
8,436
251
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
8783572d721a94be61b2e11a879dc4bdab69241ba357231fb6b00b1fae847bd0
C/C++
8,438
214
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
dc71470255ab41a484c4912cbe8b1bc3848b9f5e5bfd5991aaa08efdd653e70c
C/C++
8,446
233
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "rpu_pulsed_device.h" #include "rpu_simple_device.h" #include <sstream> #include <stdio.h> namespace RPU { template <typename T> class VectorRPUDevice...
50e21107f5fe220db0e80ef18be155fd8569bc3dcb5fb882a7dfdbb2eafb43db
C/C++
8,453
216
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
87f97460c386c459a72aa751e1948fb0d3f62803c5812e06ceedff4ca3b3dd65
C/C++
8,467
234
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
eaed70f35e0a6be91b3277b13c39cb22792663e50580ae9a7958c933bae355f2
C/C++
8,474
256
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
d59105768cd4c0126b23baba7c3e8a69abf94fa704b6598c218b24d656acc1de
C/C++
8,489
199
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the...
be8a3099eac4b2ad24c5ac86a448210f1c18655ea2d322ef6b9d624492cac59b
C/C++
8,493
246
// OptionsParser.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope th...
15cb117e5f3c8fcf4f7f70834917fd18658666862d166db7d9d34d04d8ebbdff
C/C++
8,505
345
#ifndef SGRAPH1_WRITE_H #define SGRAPH1_WRITE_H /* This code does not depend on FORMAT_$ or WEIGHTS_$. */ /* Write the graph G to the file FILENAME_OUT in Sgraph 1 format. * * Return 0. * On error, print an error message and return -1. */ int sgraph1_write_$(struct graph_$ *g, const char *filename_out) { as...
a673b6695f7ef6f2e78944f44ef1def9c9b6ac4eeac0ed7f8e44713a76ffb3b2
C/C++
8,521
250
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b0bfa404858de4b8e07d132e8c4d2adead851537c1063cda82333b57dab0e985
C/C++
8,522
288
/* Copyright 2002, 2003 Alexis Guillaume <aguillau@liris.univ-lyon2.fr> for "Laboratoire LIRIS, université Lyon II, France." Copyright 2002, 2003 David Coeurjolly <dcoeurjo@liris.univ-lyon2.fr> for "Laboratoire LIRIS, université Lyon II, France." This file is part of liblongvol. liblongvol is free software; you c...
c5a3de674c0f7df2cf9c0e7aea48ac353dc02affc77d1235197d7edb4e1ac61f
C/C++
8,531
223
// move_sidechain_uniform.h --- Move: Simple sidechain moves sampling chi angles from a uniform distribution // Copyright (C) 2006-2011 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as pub...
d41981fccc74b5c6612fb1b2007fea2316292c93060f77ce04dadd65a5cc253f
C/C++
8,537
261
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
cf0ae9627037f7ace66dae9d144536c8ffd9046797d2a25e7e5bf3adbdf30283
C/C++
8,577
315
/* specfunc/gsl_sf_legendre.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004 Gerard Jungman * * 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 Li...
b6c69ab5edeec68bcf5768b655006b80815253d23bb288a9ac72b6729faa3cc6
C/C++
8,583
162
// MLE.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope that it will...
37d2d02afbcd4fcffad46a2c43c3346f05f992f9f487fd25e8cab96a5f3f4cae
C/C++
8,598
192
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
9b2f5dc12d074adc1ae92990f5681eb916ed3d9c27667e022baf69e75f07de31
C/C++
8,607
185
/* randist/gsl_randist.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * 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...
f21f53ee13a849d027bf4b51b9a1ce661e5423bb577434a9475a32ceed87aaaa
C/C++
8,613
249
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the...
162df268a38e390a3c5ab1b539b5b5a850f27a4ce2ba8e1324e48212e1f4551a
C/C++
8,644
217
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
a8407c9a80b89ea58f365aadfdc7533aaaa86430dba583b8ec151b40d97061c8
C/C++
8,644
233
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "rpu_forward_backward_pass.h" #include "rpu_pulsed_device.h" #include "rpu_simple_device.h" #include "rpu_vector_device.h" #include "rpu_weight_updater....
707c5d38f0d510d8fcada2ff8f472e7737f0f6b88e8a491ec7b7e051bedd519d
C/C++
8,653
190
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
10414307a64972acc1578c17be860d380b31e2053827d7f4df0b035808c68065
C/C++
8,657
330
#ifndef OPENCV_FLANN_ANY_H_ #define OPENCV_FLANN_ANY_H_ /* * (C) Copyright Christopher Diggins 2005-2011 * (C) Copyright Pablo Aguilar 2005 * (C) Copyright Kevlin Henney 2001 * * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/...
e032278b032cfdf8ba7bed19396f9321b6f8101a41751bf8baa478bf2ab47b2b
C/C++
8,658
258
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9eb38d420039147583514ffe952ad81c548927b627533125ec17f3015b3b49bc
C/C++
8,666
262
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0b27dcc13d5cf8acb67a80afe3ce716344102566bc78c0df6d39bce59693507e
C/C++
8,677
232
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
05e3a1a87b8d5f494dbc7d9f5b31ff32bf204db9aa0bf6c00cee2ca47e411b0f
C/C++
8,685
231
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef K4AVIDEOWINDOW_H #define K4AVIDEOWINDOW_H // System headers // #include <memory> #include <sstream> #include <string> // Library headers // // Project headers // #include "ik4avisualizationwindow.h" #include "k4a...
da699aaccd34b2a07bd2df0c55132cc4e9d212d9f9d3e760ab85abc46b19c729
C/C++
8,693
299
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4432e14293c5d7854c2966939d00c596514fc801ddc9bfa2b369420e976a4b23
C/C++
8,698
223
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms o...
c93d89a2e8fa4102113bd7ff6628953b9b3ce544c7fdcf64ee43a95e73a0510f
C/C++
8,723
221
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by t...
be879e6094cf2034e01e30a3ec7fb6df07b560c3d31e9d5e6ef9ddca90a339b3
C/C++
8,730
322
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
23da72b3daee5ab0c769fa74a878e9135c0e073efe18134a6bdfe378032d143b
C/C++
8,751
213
// move_pivot_uniform.h --- Move: Simple pivot move sampling changes to phi,psi angles from a uniform distribution // Copyright (C) 2006-2010 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License ...
f32c9ddf4d28e586d40e5a3d42a0a17f45f7c6288f80a4aae0255af949bfa078
C/C++
8,754
232
// Proline phi angle torsional energy(Gauss distribution) // Copyright (C) 2010-2011 Pengfei Tian, Wouter Boomsma, Jesper Ferkinghoff-Borg // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by /...
00dcbd9a16611b2d0e08f2f51d6e8e20ed81975c85404604040d604d7e6a8fa7
C/C++
8,791
222
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
7fa7ca6270fbc539ccc821665b31d72fd8f8093275502824532378c65bdc0912
C/C++
8,806
239
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
c02462128337ecf506155b1100e0ede0e7fc46ea5bd8f84cad4af316e0bb23d0
C/C++
8,812
215
// monte_carlo_simulated_annealing.h --- Simulated annealing // Copyright (C) 2006-2010 Mikael Borg, Wouter Boomsma, Jes Frellsen // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Fre...
ddd6a8efb77dd86ef73757999a7862447925a41726ae60fb12c29682684b34e8
C/C++
8,817
399
#ifndef SGRAPH1_IO_H #define SGRAPH1_IO_H /* * Reader for Sgraph version 1. */ #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> #include "sgraph.h" #include "consts.h" struct sgraph1_reader_$ { /* This is the address of the mapping */ ...
06aa1c260e2f106c25095e1ea1e5c7d8bb07e2bffa11e5e73badbc8281ae517f
C/C++
8,844
340
#ifndef PairWiseD_H_ #define PairWiseD_H_ using namespace std; int Region_PairWise_D(In3str1v * paraFA04, Para_18 * para_18 , map <string,map <llong, vector <BaseType> > > & SNPList, int & Flag_for_pro) { string StatDD =(paraFA04->InStr2)+".TriangleV.gz"; string StatSite=(paraFA04->InStr2)+".site.gz"; string S...
6c4bbcf3ade8fccac9d27babeb7f9b90ceb1993b9f82d688ebd3e7d450f95a77
C/C++
8,844
228
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
dec4f74e207f69a83c5002d197c9d2036185a6657de981e7bf89e73fa8381a68
C/C++
8,845
233
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
f4bf1a3b9610af7ca132c7457d01d91d528ad7ee20f5a3ce86f233b9d394a902
C/C++
8,845
233
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
132551f29dd91c1bd4c2810baa855e1486a62f5055d073508093a1603b4676cb
C/C++
8,861
250
// TArrayUtils.h // Copyright (c) 2010-2012 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope that...
6ac45ba4051ca0452621196d8fe9f4288128fc3e4f66ce74e678a7a1b98326f5
C/C++
8,863
341
#ifndef PairWiseRR_H_ #define PairWiseRR_H_ using namespace std; int Region_PairWise_RR(In3str1v * paraFA04, Para_18 * para_18 , map <string,map <llong, vector <BaseType> > > & SNPList, int & Flag_for_pro) { string StatRR =(paraFA04->InStr2)+".TriangleV.gz"; string StatSite=(paraFA04->InStr2)+".site.gz"; strin...
e7f2db470f739c7fc9025ae6bd406dbacee10732f80bf6eb878fcc50db9ed233
C/C++
8,866
217
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
edeb9326a7b2e56e4f62e2164d9bde06f0054c91421acc5f8939be0d6498d5db
C/C++
8,926
244
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
77569b97eafc9de18260d2e08fe8e75e950dd26e30a286c197f3bba4c68e0237
C/C++
8,929
258
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b63b9db7f3297160f4ae69f19e34401e152c596fe39086fb676bb5f5aed8abe4
C/C++
8,932
248
/* vector/gsl_vector_complex_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 o...
1b559bb84b4632422a0da02456a61f9871262f3ee3a817d685c7cce87cbab028
C/C++
8,955
204
// NewtonRootFinder.h // Copyright (c) 2011 Jes Frellsen // // This file is part of Muninn. // // Muninn is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 as // published by the Free Software Foundation. // // Muninn is distributed in the hope that...
acd06e6bab6d8e0294f7befb67d46254292cea05e6ed86d7c4eb4db59ef7251d
C/C++
8,956
264
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 3 as published by the...
e2e1db1b47726f26ab161138863b72adc5111ddeec813d4af276d761a0e95ef7
C/C++
8,970
238
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
d347fc2598b8f93aee310829dfc75a0819434d74314a15075464052715ed5b54
C/C++
8,988
266
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
d6d25e9b174d2f1129c6933a4fa8542889fa75ae3fc6325e45182aae7d751de5
C/C++
8,993
250
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #pragma once #include "cuda_math_util.h" #include "cuda_util.h" #include "io_iterator.h" #include "rng.h" #include "rpu.h" #include "utility_functions.h" #include "weight_cli...
d988aa0f8be55538ae1375384a8ee2c4f8dd7d6c28b7d75e4cc4d0ac8434e281
C/C++
8,995
232
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
082608e24cb3b130242fa8441b88b1abe08f1679be4ebdb21231575eddc92bc8
C/C++
9,012
273
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4367aa1a928ec78b40299fd0750737693e28aeaa7046979bb8628a5632846e8d
C/C++
9,036
261
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
bb81bc5e2f076f16ff6e6197e83722d95987467e014615916cf5f85262689f47
C/C++
9,044
317
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
61e919a69a9f0d65835854fed63f5bae87d0fa603d3538e5aa4c9ba89f07b90d
C/C++
9,057
216
// observable_angle_hist.h --- Generate angle distribution historgrams // Copyright (C) 2008-2011 Wouter Boomsma // // This file is part of Phaistos // // Phaistos 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 Founda...
1f7c06afd2c9e356db6d569a24b59f8b576c98e6dd236128b19277e3058628b7
C/C++
9,058
277
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
63379e63788c09e018147197b3ad4738164433f2fa6a9257e6a55452ae8f021f
C/C++
9,079
251
/* vector/gsl_vector_complex_float.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * 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 o...
48c92e84cc3b910731004bbf1ad78dc52846737bba138fd8c406e5a1410614a5
C/C++
9,111
251
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...