sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
7e7ce4e10aafd5fa4a767c23c6f766f6407cfa72ef9d2f1b391948cf8cd3ba85
C/C++
21,782
520
// -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*- // Copyright (C) 2013 Henner Zeller <h.zeller@acm.org> // // 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 version 2. // // This ...
051c1146a132af2857958d81ad508a7c26a408e46d1778b600b6d65b4004503e
C/C++
21,872
314
/* * Author: Landon Fuller <landonf@plausible.coop> * * Copyright (c) 2012-2013 Plausible Labs Cooperative, Inc. * All rights reserved. * * 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 Softwa...
98c88293caddee78988c17ac270b6d32a4a11c2266d0496b1263321d79f35266
C/C++
22,013
677
/** * Copyright 2014-2026, XGBoost Contributors * \file sparse_page_source.h */ #ifndef XGBOOST_DATA_SPARSE_PAGE_SOURCE_H_ #define XGBOOST_DATA_SPARSE_PAGE_SOURCE_H_ #include <algorithm> // for min #include <atomic> // for atomic #include <cstdint> // for uint64_t #include <future> // for future #inclu...
acca078beaa3784354e379abb90fae48b04dea70e78e7449be2b0e6b2332cca5
C/C++
22,563
548
/* $Id: tiffio.h,v 1.89 2012-02-18 16:20:26 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i...
c9d0c5c4c6872b352c3733ea059467c5b79067451565f394469437a4a78f4010
C/C++
22,590
735
/* ********************************************************************* * * * Open Bloom Filter * * * * Author: Arash Partow - 2000 ...
e2cf4b5c0494b2be980ca107d895ab2996ff26eb8192c71876a32a57c6286164
C/C++
22,997
513
/** ****************************************************************************** * @file stm32wbxx_hal_pwr.h * @author MCD Application Team * @brief Header file of PWR HAL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
8fb70342369b9c922edfef0ca00e30f1b63a23541dbb15519c7fd492c5a15e55
C/C++
23,003
557
/* $Id: tiffio.h,v 1.91 2012-07-29 15:45:29 tgl Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the...
83fc16869afde96ad1226a6bc1ce574695bdf743525ad5d52953f3ecf5427263
C/C++
23,307
473
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
bbdb4841c7f851c2409eb0ec717591200c169066a9ca3df0b2da5c0d6ac8e090
C/C++
23,937
615
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
4f9c908d6c780f556c53768e66eef7890f741854f3fc0cac3154150398bb7f41
C/C++
24,232
711
/** * Copyright 2018-2025, XGBoost contributors * \brief span class based on ISO++20 span * * About NOLINTs in this file: * * If we want Span to work with std interface, like range for loop, the * naming must be consistent with std, not XGBoost. Also, the interface also * conflicts with XGBoost coding sty...
afc425b3cca596e223f5865f6de5a9ba6de67cd50672d976c487e1d72664358a
C/C++
24,352
643
/** ****************************************************************************** * @file stm32wbxx_ll_cortex.h * @author MCD Application Team * @brief Header file of CORTEX LL module. ****************************************************************************** * @attention * * Copyright (c) 20...
3666810733625d281fbb12b48f68382a192f255e1d8cbe520b50a148c71d982e
C/C++
24,436
244
#ifndef _SVM_linear_Parameters #define _SVM_linear_Parameters #include "arm_math.h" #define linear_NB_SUPPORT_VECTORS 196 #define linear_VECTOR_DIMENSION 7 /* Those parameters was generated with the scikit-learn and Marek's script. */ //Classes: ['AF' 'Normal' ] const int32_t linearClasses[2]={ 0, 1}; const float3...
3a536c4945d06c595217e4cea5e73f016cc0690ebb0137b8e77c4aafdcfa02b5
C/C++
24,639
795
/** ****************************************************************************** * @file stm32wbxx_ll_crs.h * @author MCD Application Team * @brief Header file of CRS LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
896c53629aa922bbb146d31d2a9eb20f696d59ad7390013230492695ea5690c9
C/C++
25,272
770
/** * Copyright 2015-2026, XGBoost Contributors * \file data.h * \brief The input data structure of xgboost. * \author Tianqi Chen */ #ifndef XGBOOST_DATA_H_ #define XGBOOST_DATA_H_ #include <dmlc/base.h> #include <dmlc/io.h> // for Stream #include <dmlc/serializer.h> // for Handler #include <xgboost/ba...
65ad6363dcf1081ea3c868e2a3b89eb07d7b098304d9bc4ba3460400dc686f13
C/C++
25,304
677
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
17670dcf7532bf637115a94875513cd3d519e03d2b9e6a857cd93f43c460c4ac
C/C++
27,234
481
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
0e53ab1d70888bda4b919f588438a4207406fa177fc3a3a9331a450a71f30e5b
C/C++
27,733
879
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2023-24 Raspberry Pi Ltd. * All rights reserved. */ #ifndef _PIOLIB_H #define _PIOLIB_H #ifdef __cplusplus extern "C" { #endif #include "pio_platform.h" #include "hardware/clocks.h" #include "hardware/gpio.h" #ifndef PARAM_ASSERTIONS_ENABLED...
5a80286d68d0b4478895a222da683c8ca561d3bcf6392aaaea225d4a117c843e
C/C++
28,132
894
/**************************************************************************//** * @file cmsis_armcc.h * @brief CMSIS compiler ARMCC (Arm Compiler 5) header file * @version V5.1.0 * @date 08. May 2019 ******************************************************************************/ /* * Copyright (c) 200...
820bcd68b0a92f97abf5cdde6413e5e842fb286e0514be2c1be1547bb2dd2e7d
C/C++
28,163
964
/**************************************************************************//** * @file cmsis_iccarm.h * @brief CMSIS compiler ICCARM (IAR Compiler for Arm) header file * @version V5.1.0 * @date 08. May 2019 ******************************************************************************/ //------------...
cfae273b0856b31a35a57f172a28a32b0695ce014ea4340fa968336073831d34
C/C++
28,422
282
#ifndef _SVM_sigmoid_Parameters #define _SVM_sigmoid_Parameters #include "arm_math.h" #define sigmoid_NB_SUPPORT_VECTORS 228 #define sigmoid_VECTOR_DIMENSION 7 /* Those parameters was generated with the scikit-learn and Marek's script. */ //Classes: ['AF' 'Normal' ] const int32_t sigmoidClasses[2]={ 0, 1}; const f...
8a68e88d062be06e2241857427a720d818164440451fd483fec6cc3774d2a147
C/C++
29,431
553
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
82c8b41739cc06273366839c7d8baeb76c7cdadd8c62d7ac0dd546ebc463d6c0
C/C++
30,670
762
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
97fce2b1144d3a0d6a04a53fa923814f38c84d7ac360d924a9687fdd4f33f0ad
C/C++
31,935
974
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
0bb3b94d4a2b4631eb226a3f298261795bbe18e3b135649e3338635c467e7c9c
C/C++
32,037
626
/* ***************************************************************************** * * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Teunis van Beelen * All rights reserved. * * email: teuniz@gmail.com * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
81cf3fc4e79500093d10fd7d66a391979f4ea40bb416d2ab7ff62da9a73d66c6
C/C++
32,988
945
/** * Copyright 2014-2026, XGBoost Contributors * \file quantile.h * \brief util to compute quantiles * \author Tianqi Chen */ #ifndef XGBOOST_COMMON_QUANTILE_H_ #define XGBOOST_COMMON_QUANTILE_H_ #include <xgboost/data.h> #include <xgboost/logging.h> #include <algorithm> #include <cmath> #include <limits> #incl...
bacadd9aacde05a2f87a06c77cf139020718d05f94ac9a6ec719324bc6b64076
C/C++
33,190
880
/** ****************************************************************************** * @file stm32wbxx_ll_hsem.h * @author MCD Application Team * @brief Header file of HSEM LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
a933a1e63d24cf68d54a3b64f2a57f86ac6c40bec10594209ebfa3562255d05d
C/C++
33,381
679
/** ****************************************************************************** * @file stm32wbxx_hal_gpio_ex.h * @author MCD Application Team * @brief Header file of GPIO HAL Extended module. ****************************************************************************** * @attention * * Copyri...
96e1adddeb2c03b32fd8ca7c590eb8ef3a45eedef97e91fc082e81ed3a72fb54
C/C++
33,462
710
/** ****************************************************************************** * @file stm32wbxx_hal.h * @author MCD Application Team * @brief This file contains all the functions prototypes for the HAL * module driver. *********************************************************************...
b1cff86bc23ab9de4745998d931a957af3e391a48dbb3ad8c9e169ae0df333ea
C/C++
34,152
650
/* $Id: tiff.h,v 1.67 2011-01-24 21:06:32 olivier Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) ...
64040098b8a280f44fd0afc0d62d686ffcf36756bbcf793eb0dac19fac95a783
C/C++
34,952
994
/** ****************************************************************************** * @file stm32wbxx_hal_pcd.h * @author MCD Application Team * @brief Header file of PCD HAL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
4ae2a2cbe95cfc9ae9a0a8675ab401de16244dd0952d9dbfd6b8cc8060867ba3
C/C++
34,968
712
/** ****************************************************************************** * @file stm32wbxx_hal_dma.h * @author MCD Application Team * @brief Header file of DMA HAL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
d5f6f9d162ebe89ed6f449535d508aa97f1cc3d9e52db75d36cce65b695c1c83
C/C++
35,784
678
/* $Id: tiff.h,v 1.68 2012-08-19 16:56:35 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1991-1997 Silicon Graphics, Inc. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i)...
28bfab5031feffe3a37fc6804fcd202ee0ed3cc922c7b28c5263df518035f37f
C/C++
37,654
989
/** ****************************************************************************** * @file stm32wbxx_ll_gpio.h * @author MCD Application Team * @brief Header file of GPIO LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
0131c302c090d4312dc6173baa8ff6d2787d4893928be6871eddc790211ddbe4
C/C++
37,933
861
/** * Copyright 2021-2026, XGBoost Contributors */ #ifndef XGBOOST_TREE_HIST_EVALUATE_SPLITS_H_ #define XGBOOST_TREE_HIST_EVALUATE_SPLITS_H_ #include <algorithm> // for copy #include <array> // for array #include <cstddef> // for size_t #include <limits> // for numeric_limits #include <memory> // fo...
a37d33a22c580e677dfd6fc982b154159141126803dc27f5793fc74945cd0040
C/C++
41,134
617
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
52e8826259be4fcb10d0de2d3655c24d52436e54cd1509f3beb1a31a45524f38
C/C++
41,430
952
/**************************************************************************//** * @file core_cm0.h * @brief CMSIS Cortex-M0 Core Peripheral Access Layer Header File * @version V5.0.6 * @date 13. March 2019 ******************************************************************************/ /* * Copyright (...
944bf0c4f940eef30a632cd99d5dcfe8270e8a8431eb98c0f081bcf4f61f728e
C/C++
42,626
979
/**************************************************************************//** * @file core_cm1.h * @brief CMSIS Cortex-M1 Core Peripheral Access Layer Header File * @version V1.0.1 * @date 12. November 2018 ******************************************************************************/ /* * Copyrigh...
7e1369cffa34a86b5e48be540e04ab5210b9c4c38be8ab9ae33a2c1d79d10221
C/C++
44,738
976
/** ****************************************************************************** * @file stm32wbxx_hal_pwr_ex.h * @author MCD Application Team * @brief Header file of PWR HAL Extended module. ****************************************************************************** * @attention * * Copyrigh...
097925de512a54be614df48a93029e5a8bb8445496fa96a3993686c7179a869b
C/C++
45,354
1,587
/* pyconfig.h. Generated from pyconfig.h.in by configure. */ /* pyconfig.h.in. Generated from configure.ac by autoheader. */ #ifndef Py_PYCONFIG_H #define Py_PYCONFIG_H /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* Define for AIX if your compiler is a genui...
e24f4bd1548b94e0ad424f4f13f59a4db4ca5aad7b644d10a893a330775d3003
C/C++
45,899
1,444
/**************************************************************************//** * @file cmsis_armclang.h * @brief CMSIS compiler armclang (Arm Compiler 6) header file * @version V5.2.0 * @date 08. May 2019 ******************************************************************************/ /* * Copyright (...
cc9037b32401824436d251de860799fcdbab3cf69e2321438c8f446f3f342526
C/C++
46,407
1,025
/**************************************************************************//** * @file core_sc000.h * @brief CMSIS SC000 Core Peripheral Access Layer Header File * @version V5.0.6 * @date 12. November 2018 ******************************************************************************/ /* * Copyright ...
babdff7f2255c308dbbb195dc193d099e004b2aab7de19ef82aca5528d09bc8b
C/C++
48,102
1,527
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
2c510673e0b5fc7a6f37c0ee86af333438dc1e18339bc1410c7c3ff0ca6513e4
C/C++
48,569
1,160
/* * jpeglib.h * * Copyright (C) 1991-1998, Thomas G. Lane. * Modified 2002-2011 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the application interface for the JPEG library. *...
36e9aec815eef944241e5fed7085845346de6bcb5ba30561f956356b393ba5f0
C/C++
49,524
1,085
/**************************************************************************//** * @file core_cm0plus.h * @brief CMSIS Cortex-M0+ Core Peripheral Access Layer Header File * @version V5.0.7 * @date 13. March 2019 ******************************************************************************/ /* * Copyri...
db39b7822ee5acb331f3ae03c40be8af1b884a11acf9e5a8222f7a65ca70b8de
C/C++
53,725
1,907
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
59b7c740bf9dcc90ea3b2429330fa7b6a6c804a4f4c74131c7bc6afd57f78f35
C/C++
54,436
2,026
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
e8f040e9ef61e466cc751677ab3c413a463cb74d1fc33fb6dfd94225bd93c8c1
C/C++
55,224
1,891
/**************************************************************************//** * @file cmsis_armclang_ltm.h * @brief CMSIS compiler armclang (Arm Compiler 6) header file * @version V1.2.0 * @date 08. May 2019 ******************************************************************************/ /* * Copyrig...
c46a159b79a87586f78e12d91b03a666438517782c3a422c4285de0e442f2748
C/C++
57,247
987
/** ****************************************************************************** * @file stm32wbxx_hal_flash.h * @author MCD Application Team * @brief Header file of FLASH HAL module. ****************************************************************************** * @attention * * Copyright (c) 20...
05caf907b549005c36209d8e345e5b9dcc0bea651f05345dd36624baf0eca525
C/C++
57,823
640
#define leanghtOfFeaturesArray 639 float32_t featuresArray[][7] = {{0.402,0.844,0.5902857142857143,0.583,0.14133181283306784,0.649919995076317,0.8571428571428571}, {0.602,1.15,0.8502222222222222,0.842,0.1857752525080896,0.659469483751902,0.6666666666666666}, {0.902,0.934,0.9233333333333333,0.924,0.01048808848170152...
2ee99277e6c15cb6ce86fdebde30cb42f48664beb59e8ca1be93947193038aaa
C/C++
62,432
1,073
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
1fba3e120e5c0a439e0982bd37fae04bd033dbd14187428214462a1707c56252
C/C++
62,627
2,168
/**************************************************************************//** * @file cmsis_gcc.h * @brief CMSIS compiler GCC header file * @version V5.2.0 * @date 08. May 2019 ******************************************************************************/ /* * Copyright (c) 2009-2019 Arm Limited. A...
af2a8f35f1cbe53192fb50614af5ea0a99c124701de78cbfc2bfff8f36309a30
C/C++
65,052
1,633
/** ****************************************************************************** * @file stm32wbxx_ll_exti.h * @author MCD Application Team * @brief Header file of EXTI LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
dae392c86d44b8c20f15bdf4abe8d08a2554cc4baaea50374a75c35b2936dee0
C/C++
69,621
1,626
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
a114302329d991ab5af0d6ca0e046f9c86a47a7c5a8c19997f15a5a0a1da4bed
C/C++
74,989
1,659
/** ****************************************************************************** * @file stm32wbxx_hal_rcc_ex.h * @author MCD Application Team * @brief Header file of RCC HAL Extended module. ****************************************************************************** * @attention * * Copyrigh...
5c2164ca6ceb13e2f0c6198c030cc60868252f1acaa102b64776159158e5d342
C/C++
80,222
1,756
/** ****************************************************************************** * @file stm32wbxx_ll_dmamux.h * @author MCD Application Team * @brief Header file of DMAMUX LL module. ****************************************************************************** * @attention * * Copyright (c) 20...
7e1cde4c9f333b89f309bc40b2c52d4cdbbba60dc68065acb0f7cae560dad7af
C/C++
83,550
2,305
/* Copyright (c) 2016 Taylor C. Richberger <taywee@gmx.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy...
1da5c450f161c157d79fbba644efd239794bddc30e023d2bff75af9d3f231812
C/C++
86,871
2,159
/** ****************************************************************************** * @file stm32wbxx_ll_dma.h * @author MCD Application Team * @brief Header file of DMA LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
29efe627744104dda5a949b05d4669b5a40961f6cb8dc1d3e2e5c4d07ddad3d3
C/C++
90,194
4,340
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
372b837813ff253e24027abfcea0185d369d1bfc85d5c6cc2958f851e1c45cec
C/C++
95,787
2,725
/** ****************************************************************************** * @file stm32wbxx_ll_pwr.h * @author MCD Application Team * @brief Header file of PWR LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
74b92c994af7355e222b45a0342754840b7221b611ef95bd206345879cc2caaa
C/C++
96,139
1,921
/**************************************************************************//** * @file core_armv8mbl.h * @brief CMSIS Armv8-M Baseline Core Peripheral Access Layer Header File * @version V5.0.8 * @date 12. November 2018 ******************************************************************************/ /*...
4dd642bc452595b02419441f43ce12dde3ddeaa10bbe06b1a6685965300a56d5
C/C++
97,318
2,377
/** ****************************************************************************** * @file stm32wbxx_ll_bus.h * @author MCD Application Team * @brief Header file of BUS LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
2efe8bd0cc5d65e4ee15c2d2051f4ef1900fb7dc11108c942c278f0772ef3d73
C/C++
97,355
2,277
/** ****************************************************************************** * @file stm32wbxx_ll_system.h * @author MCD Application Team * @brief Header file of SYSTEM LL module. ****************************************************************************** * @attention * * Copyright (c) 20...
6f1260d64be896f017eb258be05be05ad914277f884ebffd407034ce0915a426
C/C++
101,405
3,219
/* * Copyright 2011, Ben Langmead <langmea@cs.jhu.edu> * * This file is part of Bowtie 2. * * Bowtie 2 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 opt...
f04d3e5f385b0ff219a75f6648acabf7debb779a72f0628573b64dac5ad49fdc
C/C++
102,697
1,996
/**************************************************************************//** * @file core_cm23.h * @brief CMSIS Cortex-M23 Core Peripheral Access Layer Header File * @version V5.0.8 * @date 12. November 2018 ******************************************************************************/ /* * Copyri...
c82c265a8cea5c5069f1215d69bf65b3aefbd5e20bb63ff4fe0d3ec25acdc6ef
C/C++
107,969
3,629
/********************************************************************** * File: StreamFormat.h * Stream format definitions. Copied from \\PostProcessing\StreamFormat.h * History: * 11/03/05 - file created * 09/11/05 - file updated with definitions from NeuroDrive, Wireless projects. * 05/01/06 - file updated with de...
e6a78d85b3ca77e35dc512e32e535028a46e156adab8629360fa4b7fe6731827
C/C++
108,414
1,912
/**************************************************************************//** * @file core_sc300.h * @brief CMSIS SC300 Core Peripheral Access Layer Header File * @version V5.0.8 * @date 31. May 2019 ******************************************************************************/ /* * Copyright (c) 2...
0191499015f3af7b37ce83092df29d1d63dbba9fa5f31b6d2341a2e850b20cb4
C/C++
109,420
1,937
/**************************************************************************//** * @file core_cm3.h * @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File * @version V5.1.0 * @date 13. March 2019 ******************************************************************************/ /* * Copyright (...
b1edbc23b4c35f6cc47f9cc5029bc30434d8c0cb76faf1a9e888c441b6ddb8b7
C/C++
118,325
1,468
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * 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 F...
53d609b900c262650fcaf5a48eabd0fa299c3ac4d1426eb0f20e2aab053f8abb
C/C++
120,867
2,124
/**************************************************************************//** * @file core_cm4.h * @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File * @version V5.1.0 * @date 13. March 2019 ******************************************************************************/ /* * Copyright (...
ee59ff6b91026500718f96c93a57abaf53482e00c3e5065ed80b24d0e440c2d1
C/C++
133,410
3,052
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
d7d8de3ac4f33548b20ad9849509b53b60ffd224d6029d82474ced2288e4b898
C/C++
142,570
2,422
/** ****************************************************************************** * @file stm32wbxx_hal_tim.h * @author MCD Application Team * @brief Header file of TIM HAL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
34d91327a5f1b251c54fa6bb532d9f5ec0423bf3b7f2b679c8f7b3df95af0fc8
C/C++
149,036
2,725
/**************************************************************************//** * @file core_cm7.h * @brief CMSIS Cortex-M7 Core Peripheral Access Layer Header File * @version V5.1.1 * @date 28. March 2019 ******************************************************************************/ /* * Copyright (...
77255f30508cf0d225f8b72207e28bf81353f8b353e8b120132c6db7e9bead9e
C/C++
158,497
2,835
/**************************************************************************//** * @file core_armv8mml.h * @brief CMSIS Armv8-M Mainline Core Peripheral Access Layer Header File * @version V5.1.0 * @date 12. September 2018 ******************************************************************************/ /...
3566c5bf835091b1cc46baf6e9b6ce94d83dd0885e0db122f43e901e9326945a
C/C++
165,085
2,910
/**************************************************************************//** * @file core_cm33.h * @brief CMSIS Cortex-M33 Core Peripheral Access Layer Header File * @version V5.1.0 * @date 12. November 2018 ******************************************************************************/ /* * Copyri...
1f6da4c033261293acb8f0a7da42a0e9b6ab392c9462cc26f5e3e35d4db4e2d3
C/C++
165,095
2,910
/**************************************************************************//** * @file core_cm35p.h * @brief CMSIS Cortex-M35P Core Peripheral Access Layer Header File * @version V1.0.0 * @date 12. November 2018 ******************************************************************************/ /* * Copy...
b4bc83a6ff10fd2fb7e4c0abefdbd447eb7f78f3db898ca9aac5676307e2b862
C/C++
168,772
2,968
/**************************************************************************//** * @file core_armv81mml.h * @brief CMSIS Armv8.1-M Mainline Core Peripheral Access Layer Header File * @version V1.0.0 * @date 15. March 2019 ******************************************************************************/ /*...
4f16847d22c1c1c9d28017d01c5c9a84bb56a3a7e78f6dc4d0da0cc05a1437fc
C/C++
175,393
4,560
/** ****************************************************************************** * @file stm32wbxx_ll_rcc.h * @author MCD Application Team * @brief Header file of RCC LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
bd2b47ac8dcfde3e12806d89a878a3a1e482fb0aec9cd4c22216ded20ed939c6
C/C++
176,758
3,222
/** * Copyright (c) 2023 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ // ============================================================================= // Register block : PROC_PIO // Version : 1 // Bus type : ahbl // Description : Programmable IO block // ======...
187e1b2a93e4b0991b6c78a63a95a5a887c971d50bf1ba2efa5c8cb78436c5e6
C/C++
188,055
3,443
/** ****************************************************************************** * @file stm32wbxx_hal_rcc.h * @author MCD Application Team * @brief Header file of RCC HAL module. ****************************************************************************** * @attention * * Copyright (c) 2019 S...
4923cb2a971bedf571fdc394a93b25c0d42f10e560b04e654d1bcfe2d8f2425f
C/C++
200,000
4,301
/** ****************************************************************************** * @file stm32wbxx_ll_tim.h * @author MCD Application Team * @brief Header file of TIM LL module. ****************************************************************************** * @attention * * Copyright (c) 2019 STM...
a077caf01d77de1c9e7753481183e501e3bade8c6e7663a323222c127c566e6e
C/C++
200,000
3,591
/** ****************************************************************************** * @file stm32_hal_legacy.h * @author MCD Application Team * @brief This file contains aliases definition for the STM32Cube HAL constants * macros and functions maintained for legacy purpose. *******************...
c29d596840e0510dec3a839db19c525b5934424270910974acd8b6ee5a7664db
C/C++
200,000
2,638
/** ****************************************************************************** * @file stm32wb55xx.h * @author MCD Application Team * @brief CMSIS Cortex Device Peripheral Access Layer Header File. * This file contains all the peripheral register's definitions, bits * definitions...
c225bba5828eccad4bb5828b7f7f2dd37bf6f72d9d908232bf88aca369130012
CUDA
813
19
/** * Copyright 2026, XGBoost Contributors */ #include "../common/kernel.h" // for KernelRegistration #include "../common/linalg_op.cuh" // for ElementWiseKernel #include "random_projection.h" namespace xgboost::gbm { namespace { void ProjectGradient(Context const* ctx, linalg::MatrixView<GradientPair const> ...
bcaa3d56523827c5a932fe009fb186f48955a8d289f3f97dbc4d0964cb260ed0
CUDA
3,732
117
/** * Copyright 2020-2026, XGBoost contributors */ #include <gtest/gtest.h> #include "../../../../src/tree/driver.h" #include "../../../../src/tree/gpu_hist/expand_entry.cuh" #include "../../../../src/tree/gpu_hist/quantiser.cuh" #include "../test_child_hessian.h" #include "../test_empty_pop.h" namespace xgboost { ...
630e88c664d7ae631fb4c39ae79833f4c2e0edad2df9a6c9852bb8598cf1bcf7
CUDA
3,854
90
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
cc9e5cc9ecb08fa9ebd38b6343139b8c64bf4339ca7c0b53746ff44e9722bf27
CUDA
3,854
138
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
b0224354203ab4628f591a0e475caf05b2c6786a74661fd0096b06e268c677be
CUDA
4,271
130
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
dbf5dd142bfbe1bd1de41130275384a8317ef7fe5586c926c15f35de3244eab2
CUDA
4,311
142
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
828dc5343bb940bf6715aa8b3ffc3f53c808ae3c14cfd39f7316feef3d87d594
CUDA
4,317
125
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
b458412c4704bafe197f041ecaa35e3812595df50160b77eb68570bd8ea01036
CUDA
4,471
119
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...
7afe07b2011439531cd3494d6601d65ed7703a59670ab50102d660771717550d
CUDA
4,500
150
/** * Copyright 2019-2026, XGBoost contributors */ #include <dmlc/registry.h> #include <cstddef> // for size_t #include <vector> // for vector #include "../common/cuda_context.cuh" // for CUDAContext #include "../common/cuda_stream.h" // for Event #include "../common/io.h" // for Align...
216d37fc62938d44cdd4172d78d2c745279cd554c44b15bd3b96c2eabe5f87b5
CUDA
5,236
117
/** * Copyright 2025-2026, XGBoost contributors */ #include <thrust/scan.h> // for inclusive_scan #include <thrust/version.h> // for THRUST_VERSION #include <cstddef> // for size_t #include <cstdint> // for int32_t #include <cub/device/device_segme...
9638fe8f7797f46212268c2370f2d66ebe08b878b21fb866dac5ef713f164323
CUDA
5,390
147
/** * Copyright 2018-2025, XGBoost Contributors */ #include <gtest/gtest.h> #include <thrust/device_vector.h> #include <thrust/sequence.h> // for sequence #include <algorithm> // for generate #include <cstddef> // for size_t #include <cstdint> // for int32_t, uint32_t #include <vector> // for vector #in...
f2c767ee87b259cff6387b249efbc2f8a85122185cf8461a28431d7a5f478bbd
CUDA
5,401
128
/** * Copyright 2022-2026, XGBoost Contributors */ #include <cstddef> // for size_t #include <memory> // for unique_ptr #include <vector> // for vector #include "../common/column_matrix.h" #include "../common/hist_util.h" // Index #include "ellpack_page.cuh" #include "gradient_index.h" #include "xgboost/data.h...
c5bed4d3b31eef610d18ecf61182315944992427ce2958eb4088f0c587d75c57
CUDA
5,406
149
/** * Copyright 2023-2025, XGBoost Contributors */ #include <gtest/gtest.h> #include <thrust/copy.h> // copy #include <thrust/sequence.h> // sequence #include <thrust/sort.h> // is_sorted #include <algorithm> // is_sorted #include <cstddef> // size_t #include <cuda/std/functional> ...
1d85355b5996c0b0fc3d4d7c62ded68ebc94f079b1aaf05875aee9bfe8186659
CUDA
5,480
158
/** * Copyright 2017-2026, XGBoost Contributors */ #include <gtest/gtest.h> #include <xgboost/json.h> #include <xgboost/learner.h> #include <memory> #include "../helpers.h" #include "test_predictor.h" #include "test_shap.h" namespace xgboost { TEST(GPUPredictor, CompareCPUShap) { auto ctx = MakeCUDACtx(0); Co...
67d7988076a94dfb15f8af36b3b7ac8c7d9a892a07c6d8caaf256f8c2927ddef
CUDA
5,509
143
/** * Copyright 2024-2026, XGBoost Contributors * * The @ref ExtMemQuantileDMatrix for GPU prefetches 2 pages by default and can optionally * cache page in the device memory for the validation DMatrix. In addition, it can * concatenate user-provded pages to form larger @ref EllpackPage to avoid small GPU * kernel...
be81166dd381fcc6833a877183ef45cdcb9b70b325d351be898c163c9033c5eb
CUDA
5,647
123
/** * Copyright 2026, XGBoost Contributors * \file multiclass_obj.cu * \brief CUDA implementations of multiclass objective kernels. */ #include <dmlc/registry.h> #include <cassert> // for assert #include <cmath> // for expf, fmaxf #include <cstddef> // for size_t #include <limits> // for numeric_limits #in...
9a52ac9beb0251b2aa72973c68cd2a55f0f440424721b51b212dd594f39f6297
CUDA
5,695
153
/** * Copyright 2020-2025, XGBoost contributors */ #include <memory> // for shared_ptr #include <utility> // for move #include "batch_utils.h" // for RegenGHist, CheckParam #include "device_adapter.cuh" #include "ellpack_page.cuh" #include "ellpack_page_raw_format.h" // for EllpackPageRawFormat #include "ellpac...
b55d8c68ef35a30e733e5041069701c0391dcac426145044a410eda4600bea71
CUDA
5,927
169
/** * (C) Copyright 2020, 2021, 2022, 2023 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 modifications...