sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
06c45e39157e90359fc021630beb2434ec69c58757e3d80280f9826d924d3b2a | C/C++ | 4,595 | 197 | /** \file COMMON.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef COMMON_H
#define COMMON_H
#include <k4a/k4atypes.h>
#include <assert.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _guid_t
{
uint8_t id[16];
} guid_t... |
f56b5faa832d150de62c3f993d6809ef82d5503f95dd24e2cc4dcb333ce531f0 | C/C++ | 4,605 | 80 | /* statistics/gsl_statistics_int.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 ... |
974b940f14a8f63af8965122551e1fd3db89bc05ee41818581ad66ecb493284b | C/C++ | 4,606 | 79 | /* statistics/gsl_statistics_short.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
bc8edea6789d40e46e9260d7eb29c66c0c679b9106fb222e124e8b311f75ad02 | C/C++ | 4,607 | 120 | /***************************************************************************************************
* 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... |
4add615b800450842f7aea8c5301fda1ea452fcd095ff4a2e1072578426066a1 | C/C++ | 4,613 | 145 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// 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 Lesser General Public
// License version 3 as published by the Fr... |
ec6df078ffcde26d2d50fc4e8ac03756c03f728d2cd0f446f8b77c78b3089c08 | C/C++ | 4,614 | 126 | /*
* 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 ... |
3335fbeb3eb1b8aca67e6c5305d4005531cbee41ea13668d6dd38c5b364a84eb | C/C++ | 4,641 | 104 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
5cf3c1f315f3612ebea679ae9055d47283a777e290112d07513518507bdbbca7 | C/C++ | 4,645 | 188 | // parameter_data_structures.h --- Datastructures for storing energy parameters
// Copyright (C) 2008-2011 Kristoffer Enøe Johansson, 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 publi... |
64e554c5733e73edc34d57645c9392fab80ef304c7851eadaeb49375269bb30d | C/C++ | 4,667 | 133 | // Copyright 2020-2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
27ebf923078e2f89114ddd2d924810c3fb490bdbb1900bb1d467d26976988b66 | C/C++ | 4,678 | 135 | /***************************************************************************************************
* 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... |
5b3d03e2da3e6e93884aed90b251bcd9d758757066a187550dec63372e9897db | C/C++ | 4,681 | 80 | /* statistics/gsl_statistics_char.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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... |
f68818480c38c3ab39ac583239bfc52bdb28086c4e2edf9a5766763331497301 | C/C++ | 4,681 | 80 | /* statistics/gsl_statistics_long.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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... |
1c16ab98113327607e644c333da2371001f1f28e1afd68407f4a99c081fd4121 | C/C++ | 4,688 | 137 | /***************************************************************************************************
* 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... |
90ae2615f0869bea684b7c4b2a24b7a0e84c5009fb0a2f7c898628674c3be96c | C/C++ | 4,688 | 153 | /**
* (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... |
3cd3d9dcf9e5ba7864f5cc6799545822a6b78380a499835ededf75dcb871854b | C/C++ | 4,689 | 129 | /***************************************************************************************************
* 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... |
5816ca53a360629b5336d5482b4bc13f684ab7b790a334c9c47e11bdade46fa9 | C/C++ | 4,689 | 124 | /***************************************************************************************************
* 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... |
7a6508605febd8f06dc1b12a3dd96f15f10f2eef5c390f56fb838bde2092a7bf | C/C++ | 4,697 | 145 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "rng.h"
#include <memory>
namespace RPU {
template <typename T> struct DriftParameter {
T nu = (T)0.0; // zero ! Set to non-zero to cause the ... |
73cad1ea65330bef98b2f2b96dc24e64134acf95422a02c1864ec28e9c87da38 | C/C++ | 4,701 | 131 | // 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... |
0de535f75a0546d04ea7f00278d3a14be1c86f94db3cc45553b71bd1d4f21a92 | C/C++ | 4,703 | 123 | /***************************************************************************************************
* 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... |
a0d1390d726b5a47dc1a31a7fe601432afacbda4dc67776defeea4978ec61cc7 | C/C++ | 4,705 | 123 | /***************************************************************************************************
* 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... |
ebedb60eec2af7657a42e6511563240e3ff9c54bb2fcbdf1e3d6ac44df7a014c | C/C++ | 4,717 | 148 | /** \file queue.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef QUEUE_H
#define QUEUE_H
#include <k4a/k4atypes.h>
#include <k4ainternal/capture.h>
#include <k4ainternal/common.h>
#include <assert.h>
#ifdef __cplusplus
extern "C" ... |
faeb0c13ec82f85d6aebea8a940822bd41da23d35b0011a1996017b148a8f2f8 | C/C++ | 4,732 | 135 | /***************************************************************************************************
* 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... |
72617b74916d349bbff2720026b2d4b6be37ec19d0ccc506c58e829e18257e36 | C/C++ | 4,742 | 109 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
f7e135419649d4a288ec1f7886c6a75f794e995af0bccef50eea65d7111b4150 | C/C++ | 4,748 | 58 | #ifndef _KERNELS_H_
#define _KERNELS_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void helm3d_f_(const int32_t* nd, const float* zk, const float* sources, const float* charge, const int32_t* ns, const float* ztarg, const int32_t* nt, float* pot, const float* thresh);
void helm3d_vec_f_(const int32_... |
38141623bb0d521d513244340d21ce1e4cc33e5edf5a466e122d6997a4a96fba | C/C++ | 4,757 | 80 | /* statistics/gsl_statistics_short.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
9d066e953da8a3b9b375c9a0f11fbabc8b02f246828a81d2dd4bd2e38ac5a9c3 | C/C++ | 4,763 | 124 | /***************************************************************************************************
* 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... |
c5ad09d214eaeb1e603510601506032d9fd772b6f5c4658955fbbcce5b9e0cd9 | C/C++ | 4,763 | 126 | /*
* -----------------------------------------------------------------
* $Revision: 1.6 $
* $Date: 2009/02/17 02:39:26 $
* -----------------------------------------------------------------
* Programmer: Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 2006, T... |
3fbb9768df1f2a3f40d5b94f871a32ac214129c36b9a101256ed58807c4a096f | C/C++ | 4,768 | 99 | double *brownian(int dim_num, int n, int *seed);
void daxpy(int n, double da, double dx[], int incx, double dy[], int incy);
double ddot(int n, double dx[], int incx, double dy[], int incy);
double *dge_mxv(int m, int n, double a[], double x[]);
void direction_uniform_nd(int dim_num, int *seed, double w[]);
int dpofa(d... |
203b3486eeecf09de4ccdf2395c51001d51dcf633737b20c340a11c7223e3bf7 | C/C++ | 4,778 | 115 | /*
* 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 ... |
5a03b74f38438f676c76952352d4bf4bafe81936c33fe05ee4250fca1acac39b | C/C++ | 4,789 | 171 | //
// mglEyelink.h
//
//
// Created by Eric DeWitt, NYU on 2009-03-06.
// Copyright 2009 Eric DeWitt. All rights reserved.
//
#ifndef __MGLEYELINK_H
#define __MGLEYELINK_H
#include "../mgl.h"
#include <eyelink.h>
#include <core_expt.h>
// #include <CarbonEvents.h>
// ===========
// = Defines =
// =========... |
411a3ab6f811761d2c834d1670902a3585398ee4e99d44d9c1f18ff320caba24 | C/C++ | 4,792 | 142 | /***************************************************************************************************
* 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... |
56db0e3248e15e93f24a75aa443a0c47816e260d7298cff03dceba99e50d5b6b | C/C++ | 4,821 | 141 | /***************************************************************************************************
* 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... |
9d5c6623add7886510009d9f2a57bb43b275c44048a3466cd9879ea6c8fd28e4 | C/C++ | 4,831 | 117 | /***************************************************************************************************
* 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... |
efe95a186758b2904de37e4ff2f36e4d3dab15ff83022d21ada15d411ae9dc2e | C/C++ | 4,834 | 135 | // Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
d6eac2e6553eedebcc2de4a82770408e6ac818cd869a365ab00babe201f14a83 | C/C++ | 4,838 | 128 | /***************************************************************************************************
* 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... |
e1c8ad5bcf33895c000acfa1ff716a96ef267cf8a36a02af648a76dd606a2d72 | C/C++ | 4,839 | 150 | /* For iOS video I/O
* by Eduard Feicho on 29/07/12
* Copyright 2012. All rights reserved.
*
* 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 ... |
47d1eded479cac26721aeb627c86a6dd2615a46b8ec8f85bfe1b48cee061985c | C/C++ | 4,845 | 140 | /*
* -----------------------------------------------------------------
* $Revision: 1.6 $
* $Date: 2010/12/01 22:13:10 $
* -----------------------------------------------------------------
* Programmer(s): Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 200... |
48e08b744262db34b3ef4081018395efce2b5e073c9930f26a731dbabe234873 | C/C++ | 4,845 | 79 | /* statistics/gsl_statistics_uint.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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... |
c451493e816a20f2238e2a7a0ef7a5181f204511323138caab327ece3eb63bfe | C/C++ | 4,846 | 159 | #ifndef _LAYER_H
#define _LAYER_H
#include <tuple>
#include <functional>
#include "Tensor.h"
#include "Spike.h"
#include "ClassParameter.h"
#include "Plot.h"
#include "plot/Reconstruction.h"
#include "plot/Time.h"
#include "Process.h"
#include "SpikeConverter.h"
class AbstractExperiment;
class Layer : public Abstr... |
abbf39edd410400102251d34dd91bf29d7cc985cc0f9e639da773f93331e63a7 | C/C++ | 4,849 | 123 | // Copyright 2020-2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
ac5db0fb1db990e693331f4e88936e5713b8d5f708afe3c90587959af024e6cb | C/C++ | 4,855 | 170 | // -*- C++ -*-
// CLASSDOC OFF
// ---------------------------------------------------------------------------
// CLASSDOC ON
//
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
//
// This software written by Nobu Katayama and Mike Smyth, Cornell University.
//
// This is the definition o... |
c10facc662d691a368441246ff3e2b590300598c8049dfa6a2f2d04cc813c1b1 | C/C++ | 4,859 | 152 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "rng.h"
#include "rpu_pulsed_device.h"
#include "utility_functions.h"
namespace RPU {
template <typename T> class PowStepReferenceRPUDevice;
BUILD_PU... |
38caf85198dbe0a8f642805e5fc1aaaa7d5408e08d80fd2438b2e2299e0e0aa9 | C/C++ | 4,864 | 130 | // MessageLogger.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... |
eea1ba9c0c9b5f22e946c36281884d43aaa09c67fad6798f4821b065734018f6 | C/C++ | 4,875 | 151 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-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 b... |
23106dc799a0642951dd0a46382bae7e6a7794a9970a8b2921d8da4b2ec11548 | C/C++ | 4,880 | 105 | /***************************************************************************************************
* 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... |
1a491c962441ded890b823bcd1d2f4e552d80b9de91a001ea319e68593112580 | C/C++ | 4,881 | 156 | /**
* (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_mixedprec_device_base.h"
#include "rpu_pulsed_device.h"
#include "rpu_simple_device.h"
#include "rpu_weight_updater.h"
#include <sstream>
#include <... |
da317adc4902c5e595e823372e813c671f7fd0cad400e18bda2f5deb94874cdd | C/C++ | 4,884 | 200 | /*============================================================================
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... |
2ddee49dac9cfb0666ab64477ea280114e620d4b3dcec2807c84946c50006f72 | C/C++ | 4,893 | 120 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
58d104ef191d0493630aa375e6a7d9583a1a0c8b86cf7ddf6e678991d6bd83b2 | C/C++ | 4,897 | 143 | /**
* (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 "utility_functions.h"
namespace RPU {
template <typename T> class HiddenStepRPUDevice;
BUILD_PULSED_DEVICE_META_PARAME... |
8242a07db25f2b61be8ecfe147b2ecb3af3fe34ed6bc11608d3517608106dac3 | C/C++ | 4,897 | 174 | /*============================================================================
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... |
b7e3e50b5bc9f1366d53dbcea86d25ebb5a746e87771ce9381c916ffc5c790b6 | C/C++ | 4,902 | 127 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2011 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 the Fr... |
28676131cd4d3b95fc7c2829ca669efbe10c1645edaffbc27f58738d51fbcfd0 | C/C++ | 4,906 | 129 | // BaseConverter.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... |
aa9055b4b68f8b7e407eb68d4ec7852e395ceda47efa91ea72940b005f022a24 | C/C++ | 4,912 | 70 | #pragma once
#include <cstdint>
#define FLOATPREC_INIT(EL, ML) \
const uint32_t bias_el = (1 << (EL - 1)) - 1; \
const uint32_t sat_el = (1 << EL) - 1; ... |
2f6c4886b3ac80fa3b9ae8679b75e1965c636d66070c7ddb0cbff669d492fc2b | C/C++ | 4,914 | 158 | // xtc_chain.h --- Input/Output chains in XTC trajectory format
// Copyright (C) 2008-2012 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 Foundation, e... |
97ef0346748458c273ba42ec8b74331817ff484ac1d5d940cb6f08f213083eb6 | C/C++ | 4,918 | 79 | /* statistics/gsl_statistics_uchar.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
dea462ec809559deae45f7616a833a8bbb1dcc79009b1e9474c23cebe5ec7cfd | C/C++ | 4,918 | 79 | /* statistics/gsl_statistics_ulong.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
e7c242404d42c03c21b0b1933c9f6eb677df7ab4d80a4ac5f17562e35d44503c | C/C++ | 4,919 | 101 | /***************************************************************************************************
* 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... |
670dbb065848f649216c26c8d85e70b4d257526e0608e5b13c3672185d631e17 | C/C++ | 4,932 | 135 | /**
* (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... |
4cdd857e537cbd9337aa6fec4b337df784be0249e2cff33247eb048ffea7826b | C/C++ | 4,934 | 153 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "rng.h"
#include "rpu.h"
#include "rpu_forward_backward_pass.h"
#include "rpu_pulsed_device.h"
#include "rpu_pulsed_meta_parameter.h"
#include "rpu_weig... |
5a542651837e8e024a010ee6bea984702fb5ddd67cfb753d2b6aa0c5a941c1b2 | C/C++ | 4,943 | 113 | // FixedWeights.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... |
46063c93281fe06d93540b26e9dc4fe82f89f5cd4ba4a7a87153b9cf307dae14 | C/C++ | 4,944 | 126 | #if !defined(MegaAvr20MHz_h_)
#define MegaAvr20MHz_h_
#if defined(ARDUINO_ARCH_MEGAAVR) && (F_CPU == 20000000UL) && defined(MILLIS_USE_TIMERB3)
#define MegaAvr20MHzCorrected
// Quick hack to correct the millis() and micros() functions for 20MHz MegaAVR boards.
// by Kees van der Oord <Kees.van.der.Oord@inter.nl.net>
//... |
c4945ca7b8ed47652d25ee7410df355932bcffcfe3b238e155b969f81da472cc | C/C++ | 4,985 | 123 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.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 the... |
910de20c6926f9887160347aad5881e78dd4dd140958caa76f39407eea80902f | C/C++ | 4,987 | 129 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "noise_manager.h"
#include "pulsed_weight_updater.h"
#include "rpu_mixedprec_device_base.h"
#include "rpucuda_simple_device.h"
namespace RPU {
templat... |
b0cc5a495d5b32427a2ad22e8e0e3c34f9604a404a092266cfff27de7791a9b5 | C/C++ | 4,987 | 139 | /*
Copyright 2000-2003 Virginia Commonwealth University
Advisory:
1. The authors make no claim of accuracy of the information in these files or the
results derived from use of these files.
2. You are not allowed to re-distribute these files or the information contained within.
3. This methods and information... |
f43518c86b24e9c888e1d5ca91db40241ffdb718de8dd37355b874a55f2c9899 | C/C++ | 4,991 | 79 | /* statistics/gsl_statistics_ushort.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 t... |
ccbe10808996d19967a23c0e70eb2aa238bd6e196911312cee458a0946c1679d | C/C++ | 5,009 | 80 | /* statistics/gsl_statistics_uint.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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... |
1d45a5436dd7344dd75fb1e8a35aaab01690999abf989348edc501e31b65f3b5 | C/C++ | 5,015 | 141 | /** \file depth_mcu.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef DEPTH_MCU_H
#define DEPTH_MCU_H
#include <k4a/k4atypes.h>
#include <k4ainternal/common.h>
#include <k4ainternal/handle.h>
#include <k4ainternal/usbcommand.h>
#incl... |
b9572eba5a9955ced04dde56d9e52b028f1cff5576c5ea6550280855a14bcd72 | C/C++ | 5,016 | 130 | /***************************************************************************************************
* 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... |
68a3fce128456b8e18349d457aa89bcdca74ba1f6bb2aeaee4934d0947d9986c | C/C++ | 5,019 | 137 | // git.h --- Interface to Gauss Integral Tuned code
// Copyright (C) 2011 Tim Harder, Thomas Hamelryck, 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 ... |
643233bf3f140c9eb95d3f544e5b5e4a3c44e26a7a074bc3eefd42fed1403e3d | C/C++ | 5,020 | 128 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Licens... |
3f1ae22ad9032066ac828adb70dc3d8f0efb18afa02db7b56eece07d3986af6a | C/C++ | 5,026 | 113 | /***************************************************************************************************
* 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... |
1010c0ff4d3acc403195fdd17d22f509d0d99917d0e91257473a634917e7302f | C/C++ | 5,029 | 137 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/**
* Kinect For Azure SDK.
*/
#ifndef DEVICE_COMMAND_H
#define DEVICE_COMMAND_H
//************************ Includes *****************************
#include <k4a/k4atypes.h>
#ifdef __cplusplus
extern "C" {
#endif
//***... |
b7d2d8c35c9cfe6a8debd1f70c152dc06dfaa1532b436049d377d1aabecf13d4 | C/C++ | 5,030 | 136 | /***************************************************************************************************
* 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... |
abded4ac6f54652873438bd314a29454d7da4d03aedd620896c8bbb0979f49ce | C/C++ | 5,040 | 137 | /** \file image.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef IMAGE_H
#define IMAGE_H
#include <k4a/k4atypes.h>
#include <k4ainternal/handle.h>
#include <k4ainternal/allocator.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef v... |
8e52fd447d3760e5a9e97f1adaa2a7842fe720712c29db6788c3a9a1258a0e1c | C/C++ | 5,048 | 95 | //=====================================================================================================================
//
// pertmgr.h : Constants and other declarations for PERTMGR.C
//
// ****** FOR DESCRIPTION, REVISION HISTORY, ETC, SEE IMPLEMENTATION FILE ******
//
//=============================================... |
4f1882f6e775f2d9b2e6757160b9f708dd929bfde331ff74b53d07cd1664f4b3 | C/C++ | 5,058 | 182 | //
// mglEyelink.h
//
//
// Created by Eric DeWitt, NYU on 2009-03-06.
// Copyright 2009 Eric DeWitt. All rights reserved.
//
#ifndef __MGLEYELINK_H
#define __MGLEYELINK_H
#include "../mgl.h"
#include <eyelink.h>
#include <core_expt.h>
#include "matrix.h"
#include "engine.h"
// #include <CarbonEvents.h>
//... |
67b309ff3114889b0bd609c8799206c47a63858236d8a934c82ed6f9947c0295 | C/C++ | 5,058 | 151 | /**
* (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... |
76806aeac43be8dd3a8f613ba6b2fc90b16451068b161f34f14752a3757035cb | C/C++ | 5,063 | 215 | #ifndef _PLOT_RECONSTRUCTION_H
#define _PLOT_RECONSTRUCTION_H
#ifdef ENABLE_QT
#include <QWidget>
#include <QGridLayout>
#include <QPainter>
#include <map>
#include <iostream>
#include "Tensor.h"
#include "Color.h"
#include "Plot.h"
class Layer;
namespace plot {
namespace priv {
struct ReconstructionHelper {... |
6b623a1cbebcb4aba74b16eaaaa9662d55e4f5c10efb92e61ae3b35a71b35e9d | C/C++ | 5,065 | 114 | // 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... |
5a1a07ddbfbf0d35f85dd24ebdb743f51756227586209cd56e7913d27ce8e500 | C/C++ | 5,066 | 143 | /** \returns an expression of the coefficient wise product of \c *this and \a other
*
* \sa MatrixBase::cwiseProduct
*/
template<typename OtherDerived>
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)
operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
{
r... |
040e729f3df19adb91d812cfaa19a36ab7d29298c2ad12cc91597e32be95f703 | C/C++ | 5,070 | 137 | /*
* 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 ... |
03501048162b932e5d0d33f497aaa0d2c550cb60bc88fda93dd00e9d4409fb6a | C/C++ | 5,074 | 150 | /** \file depth.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef DEPTH_H
#define DEPTH_H
#include <k4a/k4atypes.h>
#include <k4ainternal/handle.h>
#include <k4ainternal/depth_mcu.h>
#include <k4ainternal/calibration.h>
#ifdef __cpl... |
9db1bba1390b127d4bdbf51119977bbae5db38880f78dda0c6c3453ddc1c1b88 | C/C++ | 5,074 | 142 | // timer.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 wi... |
6e4d4fca8d8676454d6d5033323dacbed72acc4e4aaebb46f185dcdefa2f8f34 | C/C++ | 5,085 | 145 | // rg.h --- Radius of gyration energy term
// 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 Foundation, either version 3 of the... |
7ed7b003ba31ee0d3e95ec0733e281922ffb4206f8e5a7171556ca09f98b3df8 | C/C++ | 5,085 | 80 | /* statistics/gsl_statistics_uchar.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
fec479b6054c6717516bd9513de259eb94a7e58f3c73b0eb202f4838086f2b32 | C/C++ | 5,085 | 80 | /* statistics/gsl_statistics_ulong.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, 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 th... |
9a61a5cc54788564a759f1f7d84138ecbbc7688630f93fc4a7f7b9843bbaebaa | C/C++ | 5,095 | 140 | /**
* (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 "maximizer.h"
#include "noise_manager.h"
#include "rpu_pulsed.h"
namespace RPU {
template <typename... |
14a9a22fce142f921a7569a1d473202672ed10c0917be282e2e861e866029f17 | C/C++ | 5,102 | 174 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef MFCAMERAREADER_H
#define MFCAMERAREADER_H
// Platform
#include <windows.h>
// STL
#include <queue>
// Media Foundation
#include <mfidl.h>
#include <mfapi.h>
#include <mfreadwrite.h>
#include <Mferror.h>
#include <... |
6c06e5f7c007c7ac5ab8e3db466a9dc3a1764eb32473676863429a49c357f836 | C/C++ | 5,103 | 177 | /*
Copyright (C) 2006 Pedro Felzenszwalb
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 2 of the License, or
(at your option) any later version.
This program is distributed i... |
74b8cff9d5db5be1ebec65d33f46d691be7a7b55493948e6a386c9c7e679d2c5 | C/C++ | 5,103 | 158 | /***************************************************************************************************
* 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... |
cdc3b08d3e5abbfbe70023061d6da385c6b6b636fc21ca34d2c940b433b951fc | C/C++ | 5,108 | 140 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-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 b... |
39379846ff5841a413adea6f71b427f134e9953882448f6a81920319b2a7a2a1 | C/C++ | 5,117 | 164 | /*
* 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 ... |
e0ff0b198b1c2d8577c79b1b41b32de76d86d0edec9b4b1a2b494244ae220812 | C/C++ | 5,117 | 154 | /*
* 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 ... |
7151255fa1b4c1ae52abd8c364fd34fef65ea6efc048acd3c158be5a261ab599 | C/C++ | 5,124 | 200 | /** @file qsort-def.h
** @brief QSort preprocessor metaprogram
** @author Andrea Vedaldi
**/
/*
Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/
/** @file qs... |
3025ed6667a7f92445124b71d85537db11beced1a882d0fadb6adfd7e58c3dcf | C/C++ | 5,125 | 131 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2010 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... |
47c5b9c64493434be44db69b5405961f568f9b76b8ebeb0b10cd6c95db699dd9 | C/C++ | 5,130 | 144 | // 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) 2006-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... |
4989fbd5f38b3adacaeca91b77912e437f87e337defcd9818e0b20615bd34829 | C/C++ | 5,132 | 124 | // 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... |
a4fea4c700f47643d10ce8f3eb28de4f0504978f41391fea6de56fc7b09ec3ce | C/C++ | 5,132 | 167 | // Copyright 2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
55c2b741822d33ca0098d489daaadcdb33d361ad51fdfd3399a6ea675ac97320 | C/C++ | 5,134 | 135 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-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 b... |
f22716e5fa5059fbc978939b44ef45e94bd834a5f79ce0644a5f3844ad015822 | C/C++ | 5,155 | 109 | /***************************************************************************************************
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.