sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
43c17166933fb40b1f1848a4dd0b20509bdbabecf860adb58a72dfa24d9f45ad | C/C++ | 2,262 | 65 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 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 Sof... |
8a2d44f0cc1c34c21eb75e01cec568b45b901678fba9ca2dc3b0c9a9f0364e7c | C/C++ | 2,309 | 113 | /**
******************************************************************************
* @file usbd_ioreq.h
* @author MCD Application Team
* @brief Header file for the usbd_ioreq.c file
******************************************************************************
* @attention
*
* Copyright (c) 2015 S... |
49dbe59c569757343eb73b86f533b312855995fcb59febaa3c72f8ea8f717331 | C/C++ | 2,324 | 62 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 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 Sof... |
1f3c0c0ec524956a8ea51686c91514526f208132c2d88cd21681cc8f86cf7d18 | C/C++ | 2,346 | 59 | // BSD 2-Clause License
//
// Copyright 2021 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
b82131518f113f8efa6f7699957fca398740424141e43d517f59163f14620782 | C/C++ | 2,364 | 88 | /**
* Copyright 2026, XGBoost Contributors
*/
#pragma once
#include <cstddef> // for size_t
#include <cstdint> // for int32_t
#include <utility> // for forward, move
namespace xgboost::common {
/**
* @brief Execution metadata for one invocation of a parallel loop.
*
* IDs satisfy 0 <= Id() < requested threads.... |
2d23491a016c4d4e0c200f4d4844ea44379d12b09542167abea8c383dba99fb1 | C/C++ | 2,366 | 67 | /**
* (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... |
ab81667d9999ecf1ca87a9c8355f2268b10257bc48275ed6bae82b8d1654e206 | C/C++ | 2,413 | 88 | /**
******************************************************************************
* @file stm32wbxx_hal_pcd_ex.h
* @author MCD Application Team
* @brief Header file of PCD HAL Extension module.
******************************************************************************
* @attention
*
* Copyrig... |
858530be00f6f15224dc62cedd2ae1cfa8e0305d70241afe0122d8ff80c22f0c | C/C++ | 2,434 | 74 | /*
* Author: Landon Fuller <landonf@plausible.coop>
*
* Copyright (c) 2008-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... |
69b5251bde5a383c9d2832cb134d293b4e8a867cb37a7a0be50b2940c419c6e6 | C/C++ | 2,454 | 72 | /**
* Copyright 2021-2026, XGBoost Contributors
*/
#pragma once
#include <gtest/gtest.h>
#include <xgboost/data.h>
#include <xgboost/host_device_vector.h>
#include <xgboost/linalg.h>
#include <numeric>
#include "../../../src/common/linalg_op.h"
namespace xgboost {
inline void TestMetaInfoStridedData(DeviceOrd devi... |
a986602f58fc75c0be156abc030994ce81fd12397b990cb54f85352c28cfbbb3 | C/C++ | 2,466 | 104 | /**
* (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... |
baf0a0fca568258752098c2721fab303e4968c0a2bab566a87ef3009aa028bd6 | C/C++ | 2,545 | 111 | /**
******************************************************************************
* @file system_stm32wbxx.h
* @author MCD Application Team
* @brief CMSIS Cortex Device System Source File for STM32WBxx devices.
******************************************************************************
* @attentio... |
71ea58d688450f15c63afe268adc35f8fe4f12f4189bfef62cdcf6d24d06b6cf | C/C++ | 2,549 | 78 | /**
* (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... |
745a8c6c2882fb1c784305d9ce22cce936d52b38899fef4bb8af519f580221c2 | C/C++ | 2,549 | 68 | /* C API for frame-sequence (C wrapper for frame-sequence.h) */
#ifndef FRAME_SEQUENCE_C_H
#define FRAME_SEQUENCE_C_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Opaque FrameSequence handle */
typedef void* FrameSequenceHandle;
/* Forward declaration from led-matrix-c.h */
stru... |
fa1982bba586a2c5034762b4a6f9ad3b5e003f26efa7bd64ed3cf184a67b48b4 | C/C++ | 2,554 | 92 | /**
* (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... |
21f206f2774969dab6661615d0a60aace7ff8a0df163b01036618123a3d31bf4 | C/C++ | 2,566 | 55 | #ifndef CIRCULAR_STAT_CIRCULAR_STAT_H
#define CIRCULAR_STAT_CIRCULAR_STAT_H
#include <cstddef>
#include <complex>
// void circ_diff(size_t n, complex* c1, complex* c2, complex* cdiff);
void circ_diff(std::complex<double>* c1, size_t n1, std::complex<double>* c2, size_t n2,
std::complex<double>* cdiff,... |
14bd04912027a5a0b49685852047e062ec7cd0558701469cda329be97edf1a3d | C/C++ | 2,595 | 77 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 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 Sof... |
878a3f910f4c19834c9dc41ccb92350866ec05cfaba70c92530ea2d0af8b0a46 | C/C++ | 2,598 | 96 | #ifndef Channels_ICells_H
#define Channels_ICells_H
#include<cmath>
#include "Variables.h"
/**********************************************************/
/* Channels for Interneurons */
/**********************************************************/
double Na_steadystate_m_I(double memV){
do... |
a2a3d9bcabeae43f34ca2c0838ad380f8a28886faa8e82737133f8f8ed017467 | C/C++ | 2,618 | 106 | //
// Created by m on 6/10/16.
//
#pragma once
#include <vector>
#include <memory>
#include "enums.h"
#include "unusedparam.h"
#include <complex>
class MorletWaveletTransform;
class ThreadPool;
class MorletWaveletTransformMP {
private:
unsigned int cpus = 1;
unsigned int num_freq = -1;
std::vector<std... |
ef6189400cf2007264493de33803631f175261d09e0fa526813086810512bab5 | C/C++ | 2,636 | 90 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 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 Sof... |
f217735e728e4d0b29e2f6eb840c1a75a538c0428bcc15be0d14e1e567f7b8a9 | C/C++ | 2,642 | 131 | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_cdc_if.h
* @version : v3.0_Cube
* @brief : Header for usbd_cdc_if.c file.
******************************************************************************
* ... |
db294f889a618c1f622ead15acc9ac695f57bd25f9d9893d87b6f20ddbb6beda | C/C++ | 2,714 | 86 | // -*- 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 ... |
a8bad02e272516286ad863b4dfdda5ced62490f1f30643acb24c20cccfc3c0b7 | C/C++ | 2,750 | 85 | /**
* (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... |
8670ba9cb52b63eab6ff5e5cd4a4992925f575944a10378ceff5483dc9901beb | C/C++ | 2,756 | 93 | /**
* (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... |
24839f27e4c4964c7441577ad7303b2ce26b28408397717649424b90e95e36ed | C/C++ | 2,766 | 89 | /**
* (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... |
1142f1d714498a0e75f06f71a9df38962cdc91df3f07acb949f7f0b183c2a879 | C/C++ | 2,809 | 143 | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_desc.c
* @version : v3.0_Cube
* @brief : Header for usbd_conf.c file.
******************************************************************************
* @att... |
8366130c3c1f3ada0ca6edb12583aa07a25ae6f986e9100ef2d3fe2eb6b2b409 | C/C++ | 2,817 | 68 | /*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... |
c0faf9d54d2dc37dfe5d176995e1dd0964353790c0f183874eddac0d10ce4cc1 | C/C++ | 2,857 | 88 | // -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
// Copyright (C) 2026
//
// 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.
#ifndef RPI_FRAME_SEQUENCE_H
#define RPI_FR... |
fa78b89f6823750ddb4f468034387319c02e3139fdc35d63ce711e5902f15551 | C/C++ | 2,870 | 77 | /* $Id: tif_predict.h,v 1.8 2010-03-10 18:56:49 bfriesen Exp $ */
/*
* Copyright (c) 1995-1997 Sam Leffler
* Copyright (c) 1995-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
* tha... |
a394a1886275fb819634ec9a60257a38592c712a915fc9d622777bb89390d135 | C/C++ | 2,877 | 79 | /**
* Copyright 2024-2026, XGBoost Contributors
*/
#pragma once
#include <gtest/gtest.h>
#include <xgboost/base.h>
#include <xgboost/context.h>
#include <cstddef> // for size_t
#include "../../../src/tree/param.h" // for TrainParam
#include "../helpers.h" // for RandomDataGenerator
namespace xgboo... |
8eb00c381cbe1ac46c7b679e59580a1eb6cc5e80912315c605958cc1dafb5634 | C/C++ | 2,900 | 91 | /**
* (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... |
c7d67fc86e88f98ad538dae3404c06ee92722f5a7e29d3a7e47833a44460a2fd | C/C++ | 2,917 | 76 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
65e6e679c87192c9369e2942764a32963df527fddea78e456e12007290b5bb24 | C/C++ | 2,936 | 87 | /**
* (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... |
e221eb948b6f41f38ec254de7cd4c518b05aed6982ef1eda4a09cfa925710432 | C/C++ | 3,021 | 84 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
ed51a9117d6d3d3d76f0246491a0016775f7dc68e4c72ad1ddae34c3b874b2c4 | C/C++ | 3,024 | 73 | /*
* Author: Landon Fuller <landonf@plausible.coop>
*
* Copyright (c) 2008-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... |
fe0dbc33ca67c2809063aced80641a0d04cedf464afe726bc039c333dacd5843 | C/C++ | 3,113 | 88 | /**
* (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... |
ea46b046f11dc2e8e6e584703ad93c36c839c24225532939baed8a075f4a7924 | C/C++ | 3,125 | 88 | /**
* (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... |
23b458760b0efd180be0c78282f0dbe92007df8e60e7964dcfaaab69969a8b3a | C/C++ | 3,130 | 89 | /**
* (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... |
b4c043ed99b486e726e0338e1402f38a45cc2113955307f203a927cda6aaf7fe | C/C++ | 3,143 | 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... |
65f49d1ca040a6f64bebd85629c30d9776e5d9e2edcd4bc1d744d8a6753188cc | C/C++ | 3,204 | 83 | /**
* Copyright 2026, XGBoost Contributors
* \file elementwise_metric.h
* \brief Typed elementwise metric kernels and CPU implementations.
*/
#ifndef XGBOOST_METRIC_ELEMENTWISE_METRIC_H_
#define XGBOOST_METRIC_ELEMENTWISE_METRIC_H_
#include <array> // for array
#include <cstddef> // for size_t
#include "../co... |
6e9f698705f2d712d7a8d35bac00ab0cf9d0060850ce52daa5551603fc80b31b | C/C++ | 3,206 | 120 | /**
* (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... |
848ba8668ac4b6ef668944c84df730020e69437b75b53004534ebc4a5caf7fe5 | C/C++ | 3,238 | 83 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
a6433e5ea0030f4bffd41bcc2f064008afd79de4270cf28494bd43d2fbc5da06 | C/C++ | 3,250 | 91 | /*
* jinclude.h
*
* Copyright (C) 1991-1994, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file exists to provide a single place to fix any problems with
* including the wrong system include file... |
1ceaea508b176b3bb44d35410f8d468b2094cfc9bc731316512587236166d3e4 | C/C++ | 3,299 | 103 | // -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
// Copyright (C) 2014 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 ... |
e27aa42202f0814006a439fd44380fa959fe74c75246cf5f5dd52a59b6f220c9 | C/C++ | 3,305 | 84 | /**
* Copyright 2026, XGBoost Contributors
* \file elementwise_objective.h
* \brief SYCL implementations of the typed elementwise objective kernels.
*/
#ifndef PLUGIN_SYCL_OBJECTIVE_ELEMENTWISE_OBJECTIVE_H_
#define PLUGIN_SYCL_OBJECTIVE_ELEMENTWISE_OBJECTIVE_H_
#include <cstddef> // for size_t
#include "../../..... |
e832c2c9dd7d446364f1b6b6065dc690d755ca395440d8a65816a0c6498fa1fb | C/C++ | 3,346 | 121 | /* $Id: tiffconf.wince.h,v 1.3 2010-03-10 18:56:49 bfriesen Exp $ */
/*
* Windows CE platform tiffconf.wince.h
* Created by Mateusz Loskot (mateusz@loskot.net)
*
* NOTE: Requires WCELIBCEX library with wceex_* functions,
* It's an extension to C library on Windows CE platform.
* For example, HAVE_STDIO_H definit... |
3d051088a033ffb24c66afeb168996400ac9d8fd2d7a7cd29e82d48b45d8eac4 | C/C++ | 3,351 | 97 | /**
* (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... |
dd6d8e5c9860da3e96b8c47306f15b110a76e6740788f39bf5c9a7e976cfc29f | C/C++ | 3,388 | 84 | /**
* (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... |
e9c19fe2bad513bf3e9645a8555cdc81d75eefbe46448ac9ee3d6f6f29813040 | C/C++ | 3,484 | 157 | #ifndef Network_H
#define Network_H
#include <iostream>
#include <math.h>
#include <fstream>
#include <stdlib.h>
// #include "Randomnumber.h"
// #include "Variables.h"
using namespace std;
long sed=1234567;
double ran1(long *idum) {
int j;
long k;
static long iy=0;
static long iv[NTAB1];
double temp;
if (*... |
aaac05ae9e43f30b599f99ed17127dee1e41d127f5a2350396a9bc825b1e41a4 | C/C++ | 3,515 | 103 | /*
* Author: Damian Morris <damian@moso.com.au>
*
* Copyright (c) 2010 MOSO Corporation, Pty Ltd.
* Copyright (c) 2010-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
... |
80ca4c02592b812e9d30cd22b831e06db38e779207563b69024b35a38e598ff0 | C/C++ | 3,520 | 83 | /*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... |
2f1cdcf98238b23fd0914bee77fb64e8f2e7ae826ffc70ad8ae3ef5412cfe523 | C/C++ | 3,543 | 132 | /**
* (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... |
d7d55eee9bd0b4856801370d490ca213648b1ef5bff50917c0e47c1760bf2577 | C/C++ | 3,549 | 113 | /**
* (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... |
25bb7cbf0678e93bb9076824c005d0ae4565e3af16781b9e952a563f5e27c494 | C/C++ | 3,556 | 103 | /******************************************************************************
* tif_ovrcache.h,v 1.3 2005/05/25 09:03:16 dron Exp
*
* Project: TIFF Overview Builder
* Purpose: Library functions to maintain two rows of tiles or two strips
* of data for output overviews as an output cache.
* Author: ... |
b6c1f5c31b6d4fd7f5de9366295eb7b1aab298798dec92d6dc9a722a7f340593 | C/C++ | 3,607 | 103 | /**
* (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... |
baa833c64f8d65612b2a02aa6c523878a49a8d651f3daad4fe3480db79eabc24 | C/C++ | 3,630 | 104 | /*
* 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... |
e16b35927d4cacd7203e7785a707618ba9adb9e2cad9423e96ee59065c187c9a | C/C++ | 3,656 | 108 | /**
* (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... |
a255101abe0a827731cbf2594f27a7730178b9b992b9962537ba4d36eb2e30e8 | C/C++ | 3,666 | 117 | /**
* (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... |
302b4ed42b377e7bf228c8fed2e065af091cbfd07dbef7d7943d4da5f0499e80 | C/C++ | 3,669 | 95 | /**
* (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... |
65f569afaa545f6ce1d846a6a3038c31e31ba1f12d4bec0678582193f1147aba | C/C++ | 3,686 | 142 | // UWOT -- An R package for dimensionality reduction using UMAP
//
// Copyright (C) 2018 James Melville
//
// This file is part of UWOT
//
// UWOT 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... |
190afaea96a2b15eb0401e635f081935484607ac5302dfce3edc29ea45b95722 | C/C++ | 3,716 | 94 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
20f76f93fe946d9a1b47f97cd8f23cde3b75e1ddf4e9ef7235b3f21c3f78034a | C/C++ | 3,747 | 138 | // -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
//
// Abstractions to read and write FrameCanvas objects to streams. This allows
// you to create canned streams of content with minimal overhead at runtime
// to play with extreme pixel-throughput which also minimizes overheads in
// the Pi to avoid stutt... |
d370997abe29c3cfb9679af9aaa1657350fa8a0e81466af18ffcc0605aa5b939 | C/C++ | 3,769 | 94 | /*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... |
84736226c7cc161799a5b793d2b1c8c002da9695030c07d7867dd524170360d6 | C/C++ | 3,782 | 80 | #ifndef DATAMONGER_H
#define DATAMONGER_H
#include <stddef.h>
#include <stdint.h>
#ifdef _WIN32
#define DM_API __declspec(dllimport)
#else
#define DM_API
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* ABI 1. All structs use the platform C layout and native byte order.
* Borrowed input buffers must be aligned, reada... |
ea5f7a5c177026a416b4a7819273c8ac145e7ef4dfc44ddc4835589dc05b0c2c | C/C++ | 3,854 | 138 | /**
******************************************************************************
* @file stm32wbxx_hal_flash_ex.h
* @author MCD Application Team
* @brief Header file of FLASH HAL Extended module.
******************************************************************************
* @attention
*
* Copy... |
ef46ebb645d76c916cb57ba6d38c3cb7710a22287ca157a651cf243418a5e600 | C/C++ | 3,862 | 105 | /**
* (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... |
ab118ef57ff0d76df782d1558433d345d0c6d1eef0ccbda34178d43a70098e1b | C/C++ | 3,886 | 138 | // UWOT -- An R package for dimensionality reduction using UMAP
//
// Copyright (C) 2020 James Melville
//
// This file is part of UWOT
//
// UWOT 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... |
134082d9d88bce17bac0b0a34c85a83f1943a1a73fac3a4a5d8469937150581e | C/C++ | 3,934 | 129 | /**
* (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... |
1ee908ea9f762b6c619bd49d741cd412d5137b143e59d1ec892c259a8fbc5278 | C/C++ | 3,943 | 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... |
3e1f35cd67189d3d2b1b559bd9003c61cf13b54154868bbbe9772d30533dabee | C/C++ | 3,957 | 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... |
be514dab9a0df95e82ba5a978e4b0d9f4eec5577248f0ad21ca5bce20538a077 | C/C++ | 3,972 | 174 | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_conf.h
* @version : v3.0_Cube
* @brief : Header for usbd_conf.c file.
******************************************************************************
* @att... |
10fd5411070fe73d3f0eb52e64fc385df1e142772921cd0529cbacf0dde534ce | C/C++ | 4,016 | 160 | /*
Configuration defines for installed libtiff.
This file maintained for backward compatibility. Do not use definitions
from this file in your programs.
*/
#ifndef _TIFFCONF_
#define _TIFFCONF_
/* Define to 1 if the system has the type `int16'. */
/* #undef HAVE_INT16 */
/* Define to 1 if the system has the ty... |
8ab8771b614def9b3cf660d738678a2dd9f436a08443e73c01ed70d874b44c36 | C/C++ | 4,095 | 131 | /**
* Copyright 2026, XGBoost Contributors
*/
#pragma once
#include <dmlc/common.h> // for OMPException
#include <dmlc/omp.h> // for omp_get_thread_num, omp_get_max_threads, omp_in_parallel
#include <algorithm> // for min
#include <cstddef> // for size_t
#include <cstdint> // for int32_t
#include "execu... |
f3cf7bbe24777f3219f83744c3b0d4c6cc5ad34e3da6f7c17ff78640e7ea262b | C/C++ | 4,283 | 137 | //
// Created by busygin on 1/11/16.
//
#pragma once
#include <fftw3.h>
#include <cmath>
#include <complex>
#include "enums.h"
#include "unusedparam.h"
#include <functional>
#include <map>
#include <iostream>
class MorletWaveFFT {
public:
size_t len0;
size_t len;
fftw_complex *fft;
size_t nt;
... |
3292d7e671316c2142e4f54f585e7901d28929b68c8c2089b46d3baae28964df | C/C++ | 4,457 | 114 | /**
* (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... |
1c4b2214310a6c007dd1382c2d6056f288267df8a5952b85b49e8f81fb0e8818 | C/C++ | 4,682 | 153 | /**
* (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... |
5c74669f38b1325870840d9908e317bceed00a052b58e9eecc6b39ebaf685a3a | C/C++ | 4,696 | 171 | /* libtiff/tif_config.h. Generated from tif_config.h.in by configure. */
/* libtiff/tif_config.h.in. Generated from configure.ac by autoheader. */
/* Support CCITT Group 3 & 4 algorithms */
#define CCITT_SUPPORT 1
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
lacking the tag (def... |
da80d794eff5a84042d5ad6a48f32aef8147340cd141dfbf779343361816a88c | C/C++ | 4,698 | 146 | /**
* Copyright 2021-2026, XGBoost Contributors
*/
#pragma once
#include <xgboost/span.h>
#include <cstddef> // for size_t
#include <functional> // for function
#include <queue> // for priority_queue
#include <vector> // for vector
#include "./param.h" // for TrainParam
namespace xgboost::tree {
... |
2f92494d351cbfc3c6911f66d03bd8cf19edd9cd42adc572965e0a6bfa9b3ff6 | C/C++ | 4,709 | 136 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
b9d9a2f26fe6954ef82e6b87c0ad02c328223411e98acef2985822f86356bc6b | C/C++ | 4,756 | 154 | /**
* (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... |
105bef46b60ba2b10ae314aba0a357c3dcfb011515fd8734cb19e86f19d9dd67 | C/C++ | 4,779 | 139 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
a564d4ff9728f6fa502cd607c160feacc328b28be3034730a08617b9ce6ef8a2 | C/C++ | 4,926 | 135 | /**
* (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... |
504ad677cbd4e9f6c8f956a85c965930be306c89a7a2cf78a0eb63e17173d217 | C/C++ | 4,931 | 186 | #ifndef NeuronsStructure_H
#define NeuronsStructure_H
#include "Randomnumber.h"
int* neurons_WITH_KNaChannel;
int* neurons_WITH_KCaChannel;
int* fewNeuronsWITH;
int* fewNeuronsWITHOUT;
int* auxiliar;
int numb_neurons_withKNa;
int numb_neurons_withKCa;
void neurons_with_KNA(double percentageKNa, double percentage... |
a50d9b952d99e70adc5a9c93b38a89d5059331da863fb946e078c3bf4420af45 | C/C++ | 5,037 | 151 | /**
* (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... |
0194125234a3113ef19bd73b7e30daccb224af939f7b74e20cae06ea65c15939 | C/C++ | 5,083 | 152 | /**
* (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... |
fde99ff1e984f8c9de052a234c87c9cc72e732b2170ab7792ce5d87b3e623090 | C/C++ | 5,169 | 149 | /**
* (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... |
c9c98f75f0c034f7d29a293bb623ebf81205637b6ce7d5d79300dc8157bbb3b0 | C/C++ | 5,184 | 156 | // BSD 2-Clause License
//
// Copyright 2020 James Melville
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of condition... |
cb97e84e78d66f58cdc42bce306024978ae7a7eadcd360879e9f7c54fa6599e7 | C/C++ | 5,185 | 118 | // -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
// Copyright (C) 2018 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 ... |
10664414fe793c07f16f432f1d271bfd4132a756ce1a83dcb1b004f0e470c586 | C/C++ | 5,201 | 145 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 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 Software... |
09eb809a64cc7fc4fffcb3743779751ca238704cdfbd3e6e31b3afe2015bb7ab | C/C++ | 5,211 | 158 | /**
* (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... |
c859848f6bf61ba5d16f0728e8a7a9ac6147ce323da35bd7e75369b582d01214 | C/C++ | 5,222 | 184 | /**
******************************************************************************
* @file usbd_cdc.h
* @author MCD Application Team
* @brief header file for the usbd_cdc.c file.
******************************************************************************
* @attention
*
* Copyright (c) 2015 STMi... |
a416b1e0f81c5651ea60596be1e7bff9879381211f1b9529af9038126ed8fecb | C/C++ | 5,236 | 162 | /**
* (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... |
aabfd6203565d0356b7676d3b5c395e52f41d9de36fffb76b1601b7d3caf3f56 | C/C++ | 5,245 | 134 | /**
* (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... |
89e2999029f6c9f094de2ea19691db4102dae1f4810e8f0e1382fc8ad0320704 | C/C++ | 5,290 | 148 | /**
* (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... |
c2a6c1d8a22295d55d0a95e22cd5052a76cd0221af7ad5b0e85cd45293827cd5 | C/C++ | 5,314 | 137 | /*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 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 Sof... |
adb5f0a60c4eee6a81907f1deb040e38f118e99b79355011b7df488171a07150 | C/C++ | 5,331 | 134 | /*
* cderror.h
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 2009 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 error and message codes for the cjpeg/djpeg
* appl... |
f62dd7a0de0a98a859e8863ae2c303972fea4089f8cdd19cb94a02e175644c45 | C/C++ | 5,358 | 126 | /**
* Copyright 2023-2024 by XGBoost Contributors
*/
#ifndef XGBOOST_TREE_HIST_HIST_CACHE_H_
#define XGBOOST_TREE_HIST_HIST_CACHE_H_
#include <algorithm> // for max, min
#include <cstddef> // for size_t
#include <limits> // for numeric_limits
#include <map> // for map
#include <memory> // for uniqu... |
8862cc773873c598027113054678bbdc116558da3fd93aa4c75dfd1fb3737c1b | C/C++ | 5,440 | 172 | /**
******************************************************************************
* @file usbd_core.h
* @author MCD Application Team
* @brief Header file for usbd_core.c file
******************************************************************************
* @attention
*
* Copyright (c) 2015 STMicro... |
75d6800e18d60c1b35d1fccfad8ab63b8148f0ab9fc908a14e3863023a7749d3 | C/C++ | 5,455 | 146 | /**
* (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... |
b908fdaea1054b9c47c8fbfb00fa3364c0af6fdf508105929e707afad282ab84 | C/C++ | 5,626 | 174 | // -*- 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 ... |
02e9e59c8be60d8ea4d12e176766733f38cb7fa920d0470020e0ef75ca6a98ec | C/C++ | 5,635 | 180 | /* Version 1.0 generated April 7, 1997 by Greg Ward Larson, SGI */
#define UV_SQSIZ (float)0.003500
#define UV_NDIVS 16289
#define UV_VSTART (float)0.016940
#define UV_NVS 163
static struct {
float ustart;
short nus, ncum;
} uv_row[UV_NVS] = {
{ (float)0.247663, 4, 0 },
{ (float)0.243779, 6, 4 },
{ (float)0.24168... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.