sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
e8e9fd18520ba7082c95a1980cc428f4e22dc5349a3c1f5ba0531dcd87145557 | C/C++ | 6,115 | 173 | // 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... |
3c1b6a4c82dbd563db1f20a57691f4b758a4a11f76957e7053ee51f28735052c | C/C++ | 6,117 | 153 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 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... |
7e3733f77ec03272c79d7b69cd1b8261ba49c852de6fbe3b2903bf890bee37b0 | C/C++ | 6,118 | 173 | /*
* 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 ... |
94296ec8fb67a222daabd4c01d5dd74834494df5a6f35e6a7ef45299203a2349 | C/C++ | 6,124 | 179 | // cluster_rmsd.h --- cluster class using RMSD distances
// 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 Soft... |
8e2072c6cc4e7fd590bcb45eb036345bf31e7f634f98c916a2894faddf0a557e | C/C++ | 6,135 | 206 | //
// mglCommandTypes.h
// mglMetal
//
// Created by Benjamin Heasly on 12/7/21.
// Copyright © 2021 GRU. All rights reserved.
//
#ifndef mglCommandTypes_h
#define mglCommandTypes_h
#include <stdio.h>
#include <stdint.h>
// Source of truth for supported commands and their numeric codes.
// Communication code sho... |
8298d1adc4b60a036b8b27e61a766151be6ae7cb741a66866141b0964c75d630 | C/C++ | 6,140 | 147 | // 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>
// Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify... |
2396f4b4d7fb509f526ec2a1340e8d5c2342b07c435fb5dd296f7a8d65c4b6ff | C/C++ | 6,145 | 212 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "cuda_util.h"
#include "rpu_pulsed_meta_parameter.h"
#include "update_management_helper.h"
namespace RPU {
enum BLMOutputFormat {
NotSet, // dummy i... |
015e47fbf65900763135befedc7aba487333784461b140ecf0f3fff062651a15 | C/C++ | 6,148 | 173 | /**
* (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... |
b09e6140b8c3c0f736d9d729116b59e0bbde99416bb0f4ac1bd442fdbfa2c083 | C/C++ | 6,157 | 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... |
28156c0858ef2a4abb43f3106ea0d5dd4b639c20bb36b2e7cbd0be6bed503ae7 | C/C++ | 6,165 | 204 | /*
* 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 ... |
87f3f71637891716805fee20d2e124b682743cdd6f99c0dd1fb3a8dfa88dd33d | C/C++ | 6,165 | 174 | /***************************************************************************************************
* 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... |
c4ef916d876b28aacb31d6609d0ceba52e25d4f34020eb4568aed8d1b0d6bbc0 | C/C++ | 6,172 | 155 | /**
* (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... |
fc07e86daa3535df29ee72528d40c268af97df91304e2d50417de50b2e86fdf9 | C/C++ | 6,180 | 205 | /*
* 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 ... |
111911dcf78e1a019626d9ec64d6d82ed1dc2f811813ca19d73245b1e0e27adf | C/C++ | 6,193 | 130 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License version 3 as published by the... |
7c8deaee5de0bc3a55846a23f336d426cf89048314997632d58b797188764cc6 | C/C++ | 6,233 | 192 | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution an... |
1d5174b974aff2e11af27b4c31d720369788400560435b5ad4bc7e951b434bcb | C/C++ | 6,249 | 146 | // Binner.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 w... |
0c7607e5e45340e4a8b8626ffd1eda7df8d1fe8f23cc58b3c38506d9c232f93b | C/C++ | 6,253 | 178 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
bc023a828dc5057f981d8bc9bc081c583a72865756bcfb98a5efe0423f26bb8c | C/C++ | 6,253 | 152 | // 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... |
22886b76ef7ebe8485fb09fbd0c4949f13bacb3d9c7a6ed2d77322218d18847c | C/C++ | 6,262 | 197 | /***************************************************************************************************
* 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... |
b04ed79b0b4c721f9bc85f26de9aa6573843bde5fd496891eb5375603201b133 | C/C++ | 6,274 | 176 | /***************************************************************************************************
* 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... |
cee8f2adfcd5965735c2dddbac4bf109c8bec5bb72808ed6e7449eaac6dd22ce | C/C++ | 6,277 | 175 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "rpu_pulsed_device.h"
#include "rpu_simple_device.h"
#include "rpu_weight_updater.h"
#include <sstream>
#include <stdio.h>
namespace RPU {
template <ty... |
acd968b776e1aa2fcc0c69fad5a72658c37eff633b4107230fc2e7048f97221a | C/C++ | 6,288 | 116 | // Copyright (C) 2014 by Anders Steen Christensen
//
// 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 License, or
// (at your option) an... |
cee7b7dfe72872760c3aab36c057f47315c9cbfe733919305def339e9b3936af | C/C++ | 6,288 | 185 | /** \file color_mcu *h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef COLOR_MCU_H
#define COLOR_MCU_H
#include <k4a/k4atypes.h>
#include <k4ainternal/handle.h>
#include <k4ainternal/usbcommand.h>
#include <k4ainternal/allocator.h>
... |
014aa067e5bbdc1e2a17e6fe4912095e403addbc9e760e68ab9d84600ea71070 | C/C++ | 6,291 | 193 | /***************************************************************************************************
* 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... |
37dfe484be5dfc129fdc7969a097b18a504d1f89fe23ccb097d2ad3ebc591208 | C/C++ | 6,314 | 162 | /***************************************************************************************************
* 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... |
44e07cb16d13d8076b640642263e34eb9259db0e7a68eb828a333de8374eba9d | C/C++ | 6,314 | 213 | /***************************************************************************************************
* 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... |
38eed9e4dfd946f3c699ca13c05f56d1881df98ec88c613e7016ff6ec126d514 | C/C++ | 6,325 | 233 | #ifndef _EXPERIMENT_H
#define _EXPERIMENT_H
#ifdef ENABLE_QT
#include <QApplication>
#endif
#include <string>
#include <ctime>
#include <fstream>
#include <iostream>
#include <chrono>
#include "Input.h"
#include "Process.h"
#include "Layer.h"
#include "Plot.h"
#include "Output.h"
#include "InputLayer.h"
#include "Log... |
4052a2e2da2169385d421228c527b7673794feaaa295e5d7d0358532e0f9df2a | C/C++ | 6,335 | 186 | /* multifit_nlin/gsl_multifit_nlin.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, o... |
2bc0e0ea98c90d25502b19931c2af92c8b98b0213fd090e448a0698185e2bbd8 | C/C++ | 6,357 | 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 "cuda_math_util.h"
#include "cuda_util.h"
#include "rpu_simple_device.h"
#include "weight_drifter_cuda.h"
namespace RPU {
template <typename T> class ... |
6ade5cfe2009d6156e0bde2003bd1afc5035bb3121facb902d066e4cb7c0877b | C/C++ | 6,367 | 254 | /* If BASE is undefined we use function names like gsl_name()
and assume that we are using doubles.
If BASE is defined we used function names like gsl_BASE_name()
and use BASE as the base datatype */
#if defined(BASE_GSL_COMPLEX_LONG)
#define BASE gsl_complex_long_double
#define SHORT complex_long_dou... |
3f00f8dc2cea7c4923d66131cfac95bde46db529e0afc7815e3cc1c69b8e84dd | C/C++ | 6,369 | 105 | // chemical_group_definitions.h --- Various definitions used by the MUMU energy term
// Copyright (C) 2012-2013 Kristoffer Enøe Johansson
//
// This file is part of Phaistos
//
// Phaistos is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
//... |
48584b46937a7eedcff00e27df61c5c40211c2ef95c0e64571b4cd3e4fc863b8 | C/C++ | 6,377 | 268 | /** @author Andrea Vedaldi
** @brief Support for command line drivers - Definition.
** @internal
**
** This file contains support code which is shared by the command
** line drivers.
**/
/*
Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
Copyright (C) 2013 Andrea Vedaldi.
All rights reserved.
Thi... |
78e7660af2406d8dd93e8930c4ab0b1d8b6404a46a11b5d66b33ee2a1624b1d0 | C/C++ | 6,385 | 224 | // 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... |
81fe22ec43206cc55843f68d02e9e26cf93e53d1b4f72eb6c5fe1c1baf9f37ab | C/C++ | 6,412 | 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... |
9dde5cc84681297deddb0e6d77b8a378e6be6770e5ae4002d63e5e4619a30102 | C/C++ | 6,507 | 218 | /**
* (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... |
24f076174b0fcf7a67dd2f018b20142c14eeeeb77efa949563fd5fd07143c18b | C/C++ | 6,512 | 144 | // energy_term_wrapper.h --- Wrap an single energy term into another energy term
// this allows one energy to refer to energies that are already calculated in another energy
// Copyright (C) 2008-2011 Wouter Boomsma
//
// This file is part of Phaistos
//
// Phaistos is free software: you can r... |
a810d556b7255bbefbfee6f238817d796dd9193fb83680b2a5324e5b8e5cb4fb | C/C++ | 6,519 | 144 | /***************************************************************************************************
* 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... |
545ea136d904d82d70c74450ad105468be534f13638f7de90af5628a8738613a | C/C++ | 6,523 | 190 | // 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... |
c7da66ca8abdc7e8bb4a326f522c66d588f3dd3a10d077750a55c2e8b55af130 | C/C++ | 6,538 | 163 | /***************************************************************************************************
* 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... |
bf8860131f732ea67e1c4204c9f62906d149cad464c8beb6c7eb9ef70357e9fd | C/C++ | 6,539 | 154 | /*
* -----------------------------------------------------------------
* $Revision: 1.6 $
* $Date: 2010/12/01 22:17:18 $
* -----------------------------------------------------------------
* Programmer(s): Alan C. Hindmarsh and Radu Serban @ LLNL
* -----------------------------------------------------------------... |
4902e1053361a913e1fe8aef970896675075e0d437d8300a16b1a316ed091103 | C/C++ | 6,547 | 179 | /*
* -----------------------------------------------------------------
* $Revision: 1.8 $
* $Date: 2010/12/01 22:13:10 $
* -----------------------------------------------------------------
* Programmer: Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 2005, ... |
5c9561166c2a934ae7121e3a393722fcb7176dd5551a0f1fa3d0b2d4ecb9cbf9 | C/C++ | 6,557 | 118 | #ifndef COLOR_MOCK_LIBUVC_H
#define COLOR_MOCK_LIBUVC_H
#include <utcommon.h>
#include <libuvc/libuvc.h>
class MockLibUVC
{
public:
MOCK_METHOD2(uvc_init, uvc_error_t(uvc_context_t **ctx, struct libusb_context *usb_ctx));
MOCK_METHOD5(uvc_find_device,
uvc_error_t(uvc_context_t *ctx, uvc_device... |
0f97f91372c6eb112e4c7f85f295f19e82a1d5a91208fb8f4a7e2a786ac49957 | C/C++ | 6,586 | 189 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
518ada475efa1d88758ad6a7a431cd0bef6a2d8bbc2070139724fd99905af544 | C/C++ | 6,594 | 154 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2006-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License version 3 as published by t... |
a54337c5b9227280faf9db86f609c1e99ab95b155b295ca6f7c45f2d2b089ad9 | C/C++ | 6,596 | 211 | // -*- C++ -*-
// CLASSDOC OFF
// ---------------------------------------------------------------------------
// CLASSDOC ON
//
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
//
// Although Vector and Matrix class are very much related, I like the typing
// information I get by makin... |
8121d2743f6cf2f353380d78d13b407a454830a71ebdb75cd446f593d4a88b8f | C/C++ | 6,613 | 218 | #ifndef _NUMPY_READER_H
#define _NUMPY_READER_H
#include <iostream>
#include "NumpyStruct.h"
class NumpyReader {
public:
NumpyReader() = delete;
static void load(const std::string& filename, NumpyArchive& archive) {
std::ifstream file(filename, std::ios::in | std::ios::binary);
if(!file) {
throw std::run... |
b5e01c1a747cfaaddb5958fdc64f4dc70196735fe0045039cb9679e008101557 | C/C++ | 6,627 | 190 | /*
* 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 ... |
d48585f7ba2f217531a6b560278e569a2a481921394b310ca08449c8c4de647e | C/C++ | 6,628 | 173 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
53d74a0c19a4da8d9dfa6701c2f1c7d1e65bce715e465b02a8df5aab2b55b0aa | C/C++ | 6,633 | 208 | /***************************************************************************************************
* 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... |
92d5782834ae31d61eeff6d8c01c4d0c1ecd51eecc3dc70d31e0fce193998920 | C/C++ | 6,637 | 181 | /**
* (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... |
9aea204739cea05d4f451c43151f08224f09f56115fe0b3d2bc486d9848926bb | C/C++ | 6,649 | 164 | // 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... |
0235e74f11e68bc05901a46e0a135758f1f60b0dec5fc97dee0a6a2ac329ee74 | C/C++ | 6,655 | 99 | /* statistics/gsl_statistics_double.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... |
e0f343f7ef8b6235a35a59189f32b4495486da27435180909889938ab706d43b | C/C++ | 6,657 | 162 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... |
60699fa611a82b6248fe3cc30fb87a92aac9e8c3eddc843e9226b36fdf2e6f58 | C/C++ | 6,683 | 210 | /** @file generic.h
** @brief Generic (@ref generic)
** @author Andrea Vedaldi
**/
/*
Copyright (C) 2013 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 f... |
c7d519759e59e82cd42d223e6e117ecc73581b0dc2ae6315b4216b543934a74b | C/C++ | 6,694 | 227 | /* vector/gsl_vector_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the L... |
31e2f982a1eae3be23771cfe43600d1b385421067c1f9a41a3e9e63dd8cc2a23 | C/C++ | 6,696 | 184 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License version 3 as published by the... |
47b88261d88c007c9fa43dd12b9aa492c231ab3c8383f038a57615c9dc7f200f | C/C++ | 6,699 | 203 | /**
* (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 LinearStepRPUDevice;
BUILD_PULSED_D... |
7a88e04cba6a1fe024c18324ee6f9e385ef11374309a12038e9235ccaeec8a63 | C/C++ | 6,707 | 169 | // observable_git.h --- Output GIT vector
// 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, either version 3 of the... |
4edfd375a945fcde078e2f8b4bc96cc2b0eb876b04a083e54d47cfc1b37a2b99 | C/C++ | 6,731 | 155 | /***************************************************************************************************
* 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... |
f858f0e05559b8f050954564cb3397c98a56717ba203c0f050217a62b96efa45 | C/C++ | 6,762 | 158 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
e313c31436113a8cfde44e7ffd83646bed658fcd6438597d600268a261deb82f | C/C++ | 6,778 | 176 | // 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... |
bb8a7f381e7bfbc71e8aadf9730ec70a1a170d38f930563bb588f5b08a8339d9 | C/C++ | 6,791 | 230 | /* vector/gsl_vector_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the L... |
7ade3ffaae19c2b618a291f5c65c94edc8db5bc32062eea0cafca678b5fdaf57 | C/C++ | 6,797 | 159 | /***************************************************************************************************
* 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... |
8bb75f957fd4aac9b85287767fff3a3fd74b55197661831b1a9f672f178a36c3 | C/C++ | 6,802 | 100 | /* statistics/gsl_statistics_double.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... |
652e6fb21c9db15295769575b75f904f92ab777939cb10d1aa64f97a73b146ac | C/C++ | 6,806 | 208 | #ifndef SIMBIO_MARCHING_TETS_H
#define SIMBIO_MARCHING_TETS_H
/*
© Copyright 2003, C&C Research Laboratories, NEC Europe Ltd.
This file is part of SimBio-Vgrid.
SimBio-Vgrid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... |
178065bc2cb75979296e2c435bb11a947bdd266649ec07b59dac714e534ebb06 | C/C++ | 6,825 | 210 | // iterator_base.h --- Base class for chain iterators
// Copyright (C) 2006-2010 Wouter Boomsma
//
// This file is part of Phaistos
//
// Phaistos is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either versi... |
ffecccecad4a24e3a6036701f200bee954113a857a92670032029d05aaa2f20a | C/C++ | 6,825 | 196 | /**
* (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_buffered_transfer_device.h"
#include <sstream>
#include <stdio.h>
namespace RPU {
template <typename T> class ChoppedTransferRPUDevice;
/* Defin... |
0de7b685327d8b4acbe29bf9ccfbaaec388151634a31186c97482da75a469abc | C/C++ | 6,831 | 180 | // StatisticsLogger.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... |
c3ea1a6f90a18b9762fe112e47259df55bd9764aac64f209c4ae88099d57dd32 | C/C++ | 6,831 | 248 | /**
* (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_meta_parameter.h"
#include <memory>
namespace RPU {
template <typename T> class MVParameter {
public:
std::vector<T> o... |
14e2cbac59aba70c1273653264c3b671664a685821c7c82cb6e15471bb109dd5 | C/C++ | 6,843 | 223 | /* interpolation/gsl_interp.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (a... |
799f1a5e561d6bc70ffe73b8cba7de9b0c669d6768059f0c7be6d87b092d5d53 | C/C++ | 6,846 | 265 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4AIMGUIEXTENSIONS_H
#define K4AIMGUIEXTENSIONS_H
// System headers
//
#include <algorithm>
#include <functional>
#include <string>
#include <utility>
#include <vector>
// Library headers
//
#include "k4aimgui_all... |
fc4b867dee677c50f1433cbf741e8e764a867677b7d327336fea1e0bb88fd852 | C/C++ | 6,847 | 236 | /***************************************************************************************************
* 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... |
de12c403e093eff020a7ca62d7128073f9e2f63e254c733a48f0b3290c95499c | C/C++ | 6,852 | 99 | /* statistics/gsl_statistics_float.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... |
74ae7acbf127d7c640b37858e4c112c9b818b6f1df4650c6cdc53584ca182d90 | C/C++ | 6,857 | 269 | /* zutil.h -- internal interface and configuration of the compression library
* Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression lib... |
e4dc249abd1b558fc631ea435f41e247df1236caefc4cfd2abce8b00451bd28f | C/C++ | 6,895 | 165 | //
// Created by bergolho on 02/10/20.
//
#ifndef MONOALG3D_SAVE_MESH_HELPERS_H
#define MONOALG3D_SAVE_MESH_HELPERS_H
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "../3dparty/sds/sds.h"
#include "../alg/grid/grid.h"
#include "../config/save_mesh_config.h"
#include "../utils/utils.h"
#include... |
509122495b7fe44c782fe15d4591f76425f9fa99faf750df5ed94199de55eff0 | C/C++ | 6,900 | 151 | /**
*
* @file MPI.h
*
*****************************************************************
* ... |
f3fd25fcedfef84c695f9c55248d34e123796eef61cd2f57deca3f18826c046f | C/C++ | 6,900 | 154 | // CanonicalAverager.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 hop... |
97fa83117bcc51852b9259e2efcb055897b3bd0660225a937c1a8047281aa53e | C/C++ | 6,901 | 196 | /**
* (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... |
e78f230e91fe4178d40e46587b9bcb4d119c42a2de646fc0e566e97720c985b4 | C/C++ | 6,909 | 224 | /* interpolation/gsl_interp.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (a... |
83f5e0426237cab2c4374916a0b54c3f2130a921b65dea05e595e6466c1054b6 | C/C++ | 6,968 | 233 | // 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... |
ff977847242266c4c7fdf2c51203ec1b03fe19e0b1b635dd0bc46fb1399c256d | C/C++ | 6,973 | 229 | /***************************************************************************************************
* 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... |
06d1f62bcae9cff0ed27606fe1120acb5fe845e9732890bd9f098f41379a4b7f | C/C++ | 6,990 | 190 | /***************************************************************************************************
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions ar... |
68af27b8791c6c8a4431cf0730a74e5df73f74ac3a6fee9477cd2d2484290cfa | C/C++ | 6,994 | 217 | /***************************************************************************************************
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions ar... |
1a46ae14d6f805ea1feb421585a26bb87b4e3491cb57f345ebf9660ee308ad98 | C/C++ | 7,000 | 191 | /***************************************************************************************************
* 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... |
c167c495f1cb7bb267be690378b505fc49fe8866a10f6f213af580e15bbfe646 | C/C++ | 7,003 | 100 | /* statistics/gsl_statistics_float.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... |
7b1d09add25080d7d275fbccb1a1ce0e3e4497aa0ea03b61d78b21ad4eb8c8cf | C/C++ | 7,009 | 306 | /*============================================================================
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... |
a698bcae280446b919061d1517600be79c958bc94e76582bea84b85916df35be | C/C++ | 7,022 | 173 | // 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... |
85f090c8b814affd8395d36d6bc03b8b7cb892806891ab13ac8ec9ff8dc87638 | C/C++ | 7,048 | 175 | // CanonicalProperties.h
// Copyright (c) 2010-2012 Jes Frellsen
//
// This file is part of Muninn.
//
// Muninn is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 3 as
// published by the Free Software Foundation.
//
// Muninn is distributed in the h... |
0f524f69d8469af1576665f595d17eb2b6c16d2a56d21e97b9649e73ee661ab1 | C/C++ | 7,057 | 202 | /***************************************************************************************************
* 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... |
a0e12020bef8809a6d3b2d66bcb4179fd80919d0b4bf904ca64d0c624559b303 | C/C++ | 7,063 | 181 | // 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... |
90a31bf5a497c9dab3d72ecee86a5373cdb1e745817bb484c2a132c4f63907f3 | C/C++ | 7,064 | 209 | /**
* (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... |
c81ec45f6e89a1df1eff3594908f649117d56e23a85035a97464072e6873a73b | C/C++ | 7,066 | 177 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Hauke Heibel <hauke.heibel@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 Free... |
4e57dc7d487fad7dd972767ce77967c532b9eae43e22c3f96f6c91f01225fd5d | C/C++ | 7,068 | 207 | /*
* Tiny self-contained version of the PCG Random Number Generation for C++
* put together from pieces of the much larger C/C++ codebase.
* Wenzel Jakob, February 2015
*
* The PCG random number generator was developed by Melissa O'Neill
* <oneill@pcg-random.org>
*
* Licensed under the Apache License, V... |
9edd7bb0587f65f1f04f4a161f88b4eedeba2018438aec7f34c26054cdf8a14c | C/C++ | 7,076 | 189 | /***************************************************************************************************
* 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... |
ceaecc2122c01dace2796977e40c23c4dbee0c0bcdb409b9c2f0d0f8ad530951 | C/C++ | 7,078 | 145 | /***************************************************************************************************
* 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... |
d345e625fdc2e001e2fd4300115f7030766409561beddcbb7755e859cef84285 | C/C++ | 7,085 | 208 | /** \file color.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef COLOR_H
#define COLOR_H
#include <k4a/k4atypes.h>
#include <k4ainternal/handle.h>
#include <k4ainternal/common.h>
#include <k4ainternal/color_mcu.h>
#include <k4ainter... |
d3a90b7b6b7a18e278e98381c344a4b29d7ec61764e16d6da5543bc8074ad309 | C/C++ | 7,091 | 227 | /* vector/gsl_vector_int.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the Lice... |
8e680ac0e3fbf7ca97914fc817e7e8d3df15798d4b259d2878582212883ab571 | C/C++ | 7,097 | 235 | /***************************************************************************************************
* 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... |
8b09b88ba75e9bffe9ef4f3ee1656c8aac5d820f2ca742e492b2e8d4886e88cb | C/C++ | 7,140 | 243 | /***************************************************************************************************
* 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... |
0b6bb52ebce3e4f27fc8f5b5d0ed4f1330a6b4d6311fd4b62c862f8044b25bb5 | C/C++ | 7,142 | 226 | /*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.