sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
647926b678aaf0c287fa7fdc5656f2777d9fd86bdef01d879d379c1ae5de6799 | C/C++ | 3,270 | 130 | /*
* multinomialdensity.h
*
* Copyright (C) 2008, Thomas Hamelryck, The Bioinformatics Centre,
* University of Copenhagen.
*
* This file is part of Mocapy++.
*
* Mocapy++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
... |
4fb631e5119cdf4fd2b3adb211184141999da57705669e47c0a46a0a5ac06eb0 | C/C++ | 3,274 | 99 | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2011 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2011 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* Redistribution and use in source and bi... |
fc8f5dc57add0757859463cf40a92b16dc8f7b0d9ac1e7012b30621336f0e719 | C/C++ | 3,277 | 90 | /***************************************************************************************************
* 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... |
83fec9a7abb7b35b77c24cfeaacbcffbaf7fb43c8771c4752a8181f4bc18fa8b | C/C++ | 3,283 | 93 | #ifndef itk_zlib_mangle_h
#define itk_zlib_mangle_h
/*
This header file mangles all symbols exported from the zlib library.
It is included in all files while building the zlib library. Due to
namespace pollution, no zlib headers should be included in .h files in
VTK.
The following command was used to obtain the sym... |
c9ae076ef97df3e6887b236217b7e89985f9566fdcf541c0e6ec2bddc0ab2e1b | C/C++ | 3,283 | 116 | /***********************************************************************
* 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... |
d72b834fc5ba7a75fdf44f0a172dd6a0d66fc709a2ce2260919d3faaa5ec0b1b | C/C++ | 3,284 | 124 | /**
* (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... |
bf346414ec80956264c762d65b80f348870f3a52104d2aa39363e1e1d1a530e0 | C/C++ | 3,291 | 103 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4ADEPTHPIXELCOLORIZER_H
#define K4ADEPTHPIXELCOLORIZER_H
// System headers
//
#include <algorithm>
// Library headers
//
#include "k4aimgui_all.h"
// Project headers
//
#include "k4apixel.h"
namespace viewer
{
... |
d741ac9ecdde6efb6b730e3ed2e3890a5e58c175beddd6540492bd1eee9e8d94 | C/C++ | 3,297 | 103 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4ADEPTHPIXELCOLORIZER_H
#define K4ADEPTHPIXELCOLORIZER_H
// System headers
//
#include <algorithm>
// Library headers
//
#include "k4aimgui_all.h"
// Project headers
//
#include "k4apixel.h"
namespace k4aviewer... |
81e26d025c39df571c4fb35dc46db372fa2403d24b20e0965ceb05191df322ca | C/C++ | 3,303 | 94 | /***********************************************************************
* 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... |
f62b922614bca94b1f5048c8d6669a801161f4976059d78f2b821260bef1f5ac | C/C++ | 3,304 | 100 | // Copyright 2022 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... |
f1b2e5f66524e8ee1e68ec0fd92f03e1724506506de20f7316bd823c15aa94be | C/C++ | 3,312 | 97 | // 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... |
17cf8a37f8e18d4ff14bef4b6a60123f5ed17951f8e424aa3132786f2168a63e | C/C++ | 3,321 | 74 | /*
* 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 ... |
496f26a8b4c7012495baeda0cabe270b0764d76f1876ca9b4524e4fdd2373990 | C/C++ | 3,323 | 89 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "pwu_kernel_parameter_base.h"
#include "rpu_hidden_device.h"
#include "rpucuda_pulsed_device.h"
#include <memory>
namespace RPU {
template <typename T... |
1e859b007771a8323d893ec7b34668bc26223241d8648f52e3e2a06b8325e4ff | C/C++ | 3,342 | 86 | /*
* -----------------------------------------------------------------
* $Revision: 1.2 $
* $Date: 2006/11/29 00:05:07 $
* -----------------------------------------------------------------
* Programmer(s): Allan Taylor, Alan Hindmarsh, Radu Serban, and
* Aaron Collier @ LLNL
* --------------------... |
f9997269a3b81833e560906e5611f78ecfb69b989404a10125454bfffdc114cb | C/C++ | 3,344 | 208 | #ifndef FEATURE_H
#define FEATURE_H
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include "consts.h"
#define FEATURE_N2 (FORMAT_$ == FORMAT_ASYM || FORMAT_$ == FORMAT_BIP)
struct header_feature_$
{
m$_ft n1;
#if FEATURE_N2
m$_ft n2;
#endif
};
struct f... |
298db67c400bdca2ee52d689733340523d12c06eb01b22e086a0a0e6d590c228 | C/C++ | 3,350 | 75 | /*
* 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 ... |
e8c438aa6bc4c8afe5eaf42ca1388bd175af65f276e04c342a9b6dd07412e8eb | C/C++ | 3,358 | 67 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
03bdc13a6f6033a18cb0b4f0c869d72a261c73861dfff819a330f1f466ebaa35 | C/C++ | 3,364 | 83 | /* sam_utils.c -- to hold utility functions and types
Copyright (C) 2023 Genome Research Ltd.
Author: Vasudeva Sarma <vasudeva.sarma@sanger.ac.uk>
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... |
2f90127586b97ebd4d5f289a2073df7b1081621c5749536debfbd772d0b470ed | C/C++ | 3,370 | 85 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef GPUDEPTHTOPOINTCLOUDCONVERTER_H
#define GPUDEPTHTOPOINTCLOUDCONVERTER_H
// System headers
//
// Library headers
//
#include <k4a/k4a.hpp>
#include "k4aimgui_all.h"
// Project headers
//
#include "openglhelpers.h"... |
84dd2a0be4d966e6e2eadbe199224d9c5f2b1f8012f31c8e8e0287db7175beef | C/C++ | 3,374 | 103 | /* complex/gsl_complex.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 Licens... |
23fa9552eaa27c7215266528b428759c9a56dff95f9ecccd7c25540d5cf6913e | C/C++ | 3,378 | 80 | // 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... |
00aa5847f54be9c0944845622b2a4def7acf0d02dc8b12222a20d866b2d82074 | C/C++ | 3,380 | 98 | /***************************************************************************************************
* 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... |
a773673d51df6d6261a81d3d1b049b12f82b0e4d496b4a9f8c56382e0da821ed | C/C++ | 3,380 | 59 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
7371e9bfa03f9c358c5083b3764d44cea28c8b2fe4b5ac49df86d498d2a6e8f0 | C/C++ | 3,381 | 104 | #ifndef _LIBSVM_H
#define _LIBSVM_H
#define LIBSVM_VERSION 323
#ifdef __cplusplus
extern "C" {
#endif
extern int libsvm_version;
struct svm_node
{
int index;
double value;
};
struct svm_problem
{
int l;
double *y;
struct svm_node **x;
};
enum { C_SVC, NU_SVC, ONE_CLASS, EPSILON_SVR, NU_SVR }; /* svm_type */
... |
9cd2253c88ae014f3f323f2593de7943e6d2c2c819763ab1e44eadf53bcacf98 | C/C++ | 3,390 | 100 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4ADEPTHIMAGECONVERTERBASE_H
#define K4ADEPTHIMAGECONVERTERBASE_H
// System headers
//
#include <memory>
#include <vector>
// Library headers
//
// Project headers
//
#include "ik4aimageconverter.h"
#include "k4a... |
1618f1b966efc2778da6602085a9363141f42d06500931c405a277e4dd9a976b | C/C++ | 3,400 | 90 | /**
* (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_dynamic_transfer_device.h"
#include "rpucuda_chopped_transfer_device.h"
namespace RPU {
template <typename T> class DynamicTransferRPUDeviceCuda ... |
aa26e00278ce4f1ea16b8cae74815e45ef2567706ad37076aefb85649272bc1f | C/C++ | 3,401 | 98 | /**
* (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... |
c847e6c6d90c3160f8ebc416fcaa1250778e68dbede0fd24c02725525b46999d | C/C++ | 3,403 | 99 | // TArrayFlatIteratorCoord.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 t... |
72a63b48c876520d31d6ee7c36279a8bdbf659166ca3f75bb2a9dd18b2033e2d | C/C++ | 3,407 | 137 | /*
* DirichletDensity.h
*
* Copyright (C) 2010, Peter Kerpedjiev, The Bioinformatics Centre,
* University of Copenhagen.
*
* This file is part of Mocapy++.
*
* Mocapy++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
*... |
04471b0dc69038433decf4894bde804c8766dc33e261d7a3587cb6ef052ca2e2 | C/C++ | 3,411 | 89 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License version 3 as published by the Fr... |
5a1e3bc53fc3f9eba33434edd29987cd2420e263337af9dc003435db22c6e28a | C/C++ | 3,411 | 149 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4ARINGBUFFER_H
#define K4ARINGBUFFER_H
// System headers
//
#include <array>
#include <functional>
#include <mutex>
// Library headers
//
// Project headers
//
namespace k4aviewer
{
// Thread-safe ring buffer
... |
fcf2c707ad1efece69673937f9bfe4908ac3583c75d24ad01a5ac458d880bc88 | C/C++ | 3,432 | 80 | /*
* -----------------------------------------------------------------
* $Revision: 1.7 $
* $Date: 2010/12/01 22:15:15 $
* -----------------------------------------------------------------
* Programmer(s): Alan C. Hindmarsh, and Radu Serban @ LLNL
* ---------------------------------------------------------------... |
5c31f4a7b6afc83bfab0f5cd91037da541948a8df00be4908b9a61542f1c769c | C/C++ | 3,458 | 133 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4APOINTCLOUDSHADERS_H
#define K4APOINTCLOUDSHADERS_H
// clang-format off
constexpr char const PointCloudFragmentShader[] =
R"(
#version 430
in vec4 vertexColor;
out vec4 fragmentColor;
uniform bool enableShadin... |
85fd274d008c113d566c7cd98c10e42cde41690ebcea29b0d9c14b12faf242dc | C/C++ | 3,460 | 106 | // 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... |
f8bfac98b51ad6e12263a8889bda0814a82d6ff3314f7d46149bbf7355c52209 | C/C++ | 3,461 | 91 | /***************************************************************************************************
* 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... |
5f3a6e857a79808cc7629c0b8eb4507f82148720bf9dd887df8c97507c5a3f56 | C/C++ | 3,478 | 104 | /**
* (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 "maximizer.h"
namespace RPU {
template <typename T> class UpdateManagementHelper {
public:
explicit UpdateManagementHelper(C... |
efac9d50b101120d6d9e85878e9755bc87e600fb4f69189d155d874a261ab845 | C/C++ | 3,479 | 138 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4AVIEWERSETTINGSMANAGER_H
#define K4AVIEWERSETTINGSMANAGER_H
// System headers
//
#include <array>
#include <istream>
#include <ostream>
// Library headers
//
#include <k4a/k4a.hpp>
// Project headers
//
namesp... |
617f744e652dac117c826f981e221ee57655de248c21f3c5c3acdd0bba0691f7 | C/C++ | 3,483 | 89 | /*
* -----------------------------------------------------------------
* $Revision: 1.2 $
* $Date: 2006/11/29 00:05:07 $
* -----------------------------------------------------------------
* Programmer(s): Aaron Collier @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 20... |
7909fed08eb4e26365849985561c1503a8f7b8fe030b084b4265b3d3887ed049 | C/C++ | 3,484 | 116 | // 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... |
c47f84c7668728e85d5c8f7945542c195ef1279d0da5959ddd7fbdba804c5a65 | C/C++ | 3,491 | 95 | /***************************************************************************************************
* 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... |
74788aa3c7bac9adf9d1ac78696494f93d05e8c5f3ba17915b01894eb59a5d12 | C/C++ | 3,493 | 103 | /**
* (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... |
15b18ec41705d6b01ac07ccb58e0e93dcc282de6277705fd89a9777859b5351d | C/C++ | 3,499 | 96 | // InvK.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 wil... |
cb814eaa2765aa9dbb07bc0b8b35deee9d555aee260963329d1dc76981574f10 | C/C++ | 3,505 | 44 | #define error1 "\n*\tERROR[1]: Unknown option in XML for selection algorithm."
#define error2 "\n*\tERROR[2]: Unknown option in XML for replace algorithm."
#define error3 "\n*\tERROR[3]: Unknown option in XML for mutation strategy."
#define error4 "\n*\tERROR[4]: Unknown option in XML for parallel topology."
#define er... |
8e046fe776a3af55f93159b49ce833539999e7f53b350492e836c37a5f3062d3 | C/C++ | 3,508 | 174 | #ifndef _ENDIANNESS_H
#define _ENDIANNESS_H
#include <istream>
#include <algorithm>
#include <type_traits>
template<typename From, typename To>
class DataReinterpret {
public:
DataReinterpret(const From& from) : _from(from) {
static_assert(sizeof(From) == sizeof(To), "Different type size");
}
Fr... |
6b2d76558d6a438b465476d78cc1d0aaab8e59af25aeec9223840d115cd6dbd1 | C/C++ | 3,509 | 99 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "forward_backward_pass.h"
#include "io_manager.h"
#include "pulsed_weight_updater.h"
#include "rpu_onesided_device.h"
#include "rpucuda_pulsed_device.h"... |
c54c192ab048f314335fc6ddc91f77d3fa512ea58d338e49f8e0b3e4bc27c474 | C/C++ | 3,523 | 137 | /*============================================================================
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... |
9ea1f5b3bcc12ff484eb483f8dc1caa0c763aa7733d642e70cf8bbe559033daf | C/C++ | 3,542 | 92 | // 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... |
d124aafa13898929ed2e0068506c20b322778b9f10e7bbb1903d84ba8072170a | C/C++ | 3,548 | 132 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef K4ADEVICEDOCKCONTROL_H
#define K4ADEVICEDOCKCONTROL_H
// System headers
//
#include <memory>
// Library headers
//
#include <k4a/k4a.hpp>
// Project headers
//
#include "ik4adockcontrol.h"
#include "k4adatasource... |
5b28b7c0cd5f9424b89d1c127a724ced285d9274ff9703fa526204fb311510c4 | C/C++ | 3,553 | 134 | /** @file aib.h
** @brief AIB (@ref aib)
** @author Brian Fulkerson
** @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).
*/
#ifndef V... |
c5204b56cbd9621a98dcfe6c7ede55ad641e1b236f1215edc62f3409fcbcf768 | C/C++ | 3,555 | 113 | /**
* (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... |
80ae40aff6857493990197222d82cc158c36df5f9909c7bdf5cea5cfffd99485 | C/C++ | 3,563 | 99 | /** @file scalespace.h
** @brief Scale Space (@ref scalespace)
** @author Andrea Vedaldi
** @author Karel Lenc
** @author Michal Perdoch
**/
/*
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 l... |
e6a05e3a33d09e4fbff4cdb5d1bddc0ae9bbdab9cc4f30cb0623eacaa381ea4a | C/C++ | 3,567 | 115 | /** \file capturesync.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*
* Synchronize depth and color captures
*/
#ifndef CAPTURESYNC_H
#define CAPTURESYNC_H
#include <k4a/k4atypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Handle to t... |
0cb9d6059d1873cec4f1c3a05b32e2069d21f529c2c5f12812c425282047e589 | C/C++ | 3,569 | 88 | /***************************************************************************************************
* 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... |
900a5c35b85cd18196a16439a69206836f798600f9999422295999fc16c582e3 | C/C++ | 3,570 | 90 | // Estimator.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 i... |
283889a84e8ab33b3a731840dfc20bff5dd440d7c8cb0c72329eabbbe4428845 | C/C++ | 3,573 | 93 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms o... |
653d6be0364894fe216683b5188b7a256eb30fc7940054d1c2b6b1ad2f0bc322 | C/C++ | 3,574 | 66 | /** \file deloader.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Depth Engine Loader
* Stub layer to abstract away the dynamic loading of the depth engine and transform engine from our
* developers usage
*/
#pragma once
#include <k4ainternal/k4aplugin.h>
#ifd... |
43c463d1417295527a66c95c1f0551a019015621f4bf81a88438faa6d23ed301 | C/C++ | 3,575 | 119 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "dense_bit_line_maker.h"
#include "rng.h"
#include "rpu_pulsed_device.h"
#include "rpu_pulsed_meta_parameter.h"
#include "sparse_bit_line_maker.h"
#incl... |
e0b88561ad29b29de712c9e450ce300f88172b729023b091da674b7614328afd | C/C++ | 3,577 | 114 | /* bspline/gsl_bspline.h
*
* Copyright (C) 2006 Patrick Alken
* Copyright (C) 2008 Rhys Ulerich
*
* 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 (at
... |
b3ef4ea75c95e2d69fe0a086b9fc37dc256840f47f192055f83dcaaea7098c43 | C/C++ | 3,582 | 123 | /**
* (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 PowStepRPUDevice;
BUILD_PULSED_DEVI... |
4ea52e200d118aaf25f53e2803f6084eeeec68258651bc6879848e629d3e5697 | C/C++ | 3,587 | 90 | /*
* -----------------------------------------------------------------
* $Revision: 1.2 $
* $Date: 2006/11/29 00:05:07 $
* -----------------------------------------------------------------
* Programmer(s): Aaron Collier @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 20... |
4056093e67d236f0081a38e0dbe874e53d68c529666fcd857d06f0c915e22cda | C/C++ | 3,592 | 162 | #ifndef SGRAPH1_SUBGRAPH_H
#define SGRAPH1_SUBGRAPH_H
#include "consts.h"
#include "bits.h"
#if TYPE_w$ != '-' || TYPE_t$ != '-' || FORMAT_a != FORMAT_SYM || WEIGHTS_$ != WEIGHTS_UNWEIGHTED
# error
#endif
int sgraph1_subgraph_$(struct sgraph1_reader_$ *restrict r,
const unsigned char *restrict nodes,
... |
86bb9543b4360abf7abf8511fab44572c7870ba912d18784d18d288bea921cf3 | C/C++ | 3,593 | 132 | /**
* (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... |
4603e4e3dc7b2f958b6a061aa24039949a3695ee0035e06193e06621b822a51c | C/C++ | 3,597 | 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... |
3809828b68a429bc27f895848ad472b1706d442054df7e908e6bd5a63df59cf4 | C/C++ | 3,605 | 84 | /***************************************************************************************************
* 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... |
c52ba88ab11531f5fd6b3dd146509a13e318b418e236e6d6ad066f8282f39757 | C/C++ | 3,606 | 131 | #ifndef _PROCESS_H
#define _PROCESS_H
#include <iostream>
#include "Input.h"
#include "Color.h"
#include "ClassParameter.h"
class AbstractExperiment;
class AbstractProcess : public ClassParameter {
friend class AbstractExperiment;
public:
template<typename T, typename Factory>
AbstractProcess(const RegisterCl... |
93af9136c85c3c6d199d34ee269cb53f270f60c392adc6b644be28e086519d8b | C/C++ | 3,618 | 118 | /** \file allocator.h
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* Kinect For Azure SDK.
*/
#ifndef ALLOCATOR_H
#define ALLOCATOR_H
#include <k4a/k4atypes.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Allocation Source.
*
* \xmlonly
* <r... |
c43f18e3c3c4363cad77975fd9697736ae2cd198c36f13fbfc44030c8d2fa651 | C/C++ | 3,626 | 116 | // 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... |
2d47e788c602eacc9530e0e050bb4693c9be5139f290017941b430d76ee3e2cf | C/C++ | 3,627 | 63 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
f62d292ca84c851c0bc36664914301bdaf1596b32d8cc33ed1a94962ffc7635e | C/C++ | 3,638 | 175 | /*============================================================================
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... |
af9ac3060416b38e8b5c416756baea51293d8a8b28ceb46f1b5f7acb77b78daf | C/C++ | 3,651 | 89 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// 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 ... |
b80cf5d81acccdc7a614c3f788ee6023e3313e579d4ab4cbb22b181f108500ed | C/C++ | 3,660 | 62 |
void printsolution_(void *, double *, double *);
int savehdf5solutions_(double *, int *, int *);
int savehdf5solutionspar_(double *, int *, int *, int *, const char *);
void initprintfile_(void *, double *, int *, int *, double *, long *, int *);
void printiterationcesslog_(void *, double *, long *, double *, int *) ... |
b63aedea5184b42bcfeb5cca3d3ee6d00a3cc4789c708a93c7aadeda96a7a07e | C/C++ | 3,662 | 108 | /**
* (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... |
bfe879a756d0b988fcb6171a1b6063e66b2d2c742aadfd8fe47df9035bffcffd | C/C++ | 3,664 | 95 | /**
* (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... |
e1b802a5dff30cb48f573a1fa9e5fd00116ab484ec3280e39e88451e5b7f60e3 | C/C++ | 3,674 | 85 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
bf6e04b90e9e78cbbdaa535dd15dbb0d57e05b357b4d3ad2ff1a916e3c056f93 | C/C++ | 3,675 | 119 |
/***********************************************************************************
** exvr-designer **
** MIT License **
** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ... |
5bd6cccc440902cd737c6624d2685aefd5ef4ca3f0777631f419d723a52c7e4a | C/C++ | 3,679 | 103 | /*
* -----------------------------------------------------------------
* $Revision: 1.5 $
* $Date: 2008/04/18 19:42:38 $
* -----------------------------------------------------------------
* Programmer: Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 2006, ... |
a4db63e9da7d2c9ea1db8110e28db4d0517415bb9dca83354428d03e385b93f3 | C/C++ | 3,684 | 109 | // 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... |
e485da4bec7216bedca32d57f072a8a8d759eafffc9ffe98a328acbbe356334e | C/C++ | 3,685 | 95 | /**
* (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... |
e2ba1f6b12235cb6f7bec4758091db1b5f0a10bb5af89e687c8d20c528052e36 | C/C++ | 3,697 | 115 | // move_none.h --- None move: No structural resampling
// Copyright (C) 2011 Simon Olsson, 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, ei... |
bef0bbf14e55cd263d44f1385d44cc1969d053dca7372aae92f63c625e56c9a2 | C/C++ | 3,709 | 110 | // NormalSampler.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... |
314c8e6c2e9fc9a5b6ab23f73e13840457bfba5bd88b248db45dad43d9d99e68 | C/C++ | 3,713 | 97 | /***************************************************************************************************
* 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... |
86670e6e90e33eedc7f8a80d8ce89bd14ceda61f31c00bc130ae6f71ef9d0cac | C/C++ | 3,716 | 110 | /* inih -- simple .INI file parser
inih is released under the New BSD license (see LICENSE.txt). Go to the project
home page for more info:
https://github.com/benhoyt/inih
*/
#ifndef __INI_H__
#define __INI_H__
/* Make this header file easier to include in C++ code */
#ifdef __cplusplus
extern "C" {
#endif
#inclu... |
d7d5020cc47f24f36c9770e4d0092595619c4316f8d91fc441369a21d6e30829 | C/C++ | 3,719 | 117 | /*
* randomgen.h
*
* Copyright (C) 2008, Martin Paluszewski, The Bioinformatics Centre, University of Copenhagen.
*
* This file is part of Mocapy++.
*
* Mocapy++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free... |
df1546e69f1de6377f170b9bed1a10279c751642efd83bc670761950347003a8 | C/C++ | 3,720 | 110 | /***************************************************************************************************
* 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... |
bfd75c3b5b4484828def138f50a3c4b1914df175ea827eba89ec6ecb99f835ed | C/C++ | 3,726 | 122 | /*
* -----------------------------------------------------------------
* $Revision: 1.2 $
* $Date: 2006/11/29 00:05:07 $
* -----------------------------------------------------------------
* Programmer(s): Scott Cohen, Alan Hindmarsh, Radu Serban, and
* Aaron Collier @ LLNL
* --------------------... |
354302a9c7cdaff956cd1ddf2e9c8905ff6a4c727a4487d5f4d6a1f9238bec27 | C/C++ | 3,732 | 103 | /*
* -----------------------------------------------------------------
* $Revision: 1.6 $
* $Date: 2008/04/18 19:42:37 $
* -----------------------------------------------------------------
* Programmer: Radu Serban @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 2006, ... |
295386c9dad477e28b1e5a29890b7dfcbc06da108b51cfcdf5c23232a5cbe5e5 | C/C++ | 3,735 | 119 | /* bspline/gsl_bspline.h
*
* Copyright (C) 2006 Patrick Alken
* Copyright (C) 2008 Rhys Ulerich
*
* 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 (at
... |
329c87866c0ade671a5f0d0b1c2aac95554261a7c3670c1a00056109d8942d7f | C/C++ | 3,738 | 151 | /*
MIT License
Copyright (c) 2024 Anders Lansner, Naresh Ravichandran
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, m... |
f116a38c1cdecc86f6eaf2d41b0546050296a598f3f11fe73b2df0aab1bf589b | C/C++ | 3,751 | 104 | // SupportBoundaries.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... |
cbd86772bfcde58e1dce811bc820b68679dbf56a1d35f1616ab33cf343fdb64e | C/C++ | 3,760 | 116 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#pragma once
#include "chopped_weight_output.h"
#include "io_manager.h"
#include "pulsed_weight_updater.h"
#include "rpu_chopped_transfer_device.h"
#include "rpucuda_buffered... |
4028ee6cfbf422b97a5d0ba2db3db56a4244ca5d7bab73909f36367e1536c1ca | C/C++ | 3,778 | 170 | #ifndef HYPERLOGLOG_H
#define HYPERLOGLOG_H
/*
* Implementation of the HyperLogLog counter [1], as used in the
* HyperANF algorithm.
*
* REFERENCES
* [1] Marianne Durand and Philippe Flajolet, LogLog counting of large
* cardinalities In Annual European Symposium on Algorithms, pages
* 605-617, ... |
e6dd26782d3b9837c9cd20b63f6c5d10bc6d190971c2985e796adaf94fa49a04 | C/C++ | 3,778 | 113 | // 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... |
718517a7c50df914ddc74d7713662fd5c102d20c7a9a93fffdabc3a2750f5e55 | C/C++ | 3,791 | 122 | /*
* EMEngine.h
*
* Copyright (C) 2008, Martin Paluszewski, The Bioinformatics Centre, University of Copenhagen.
*
* This file is part of Mocapy++.
*
* Mocapy++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free ... |
0041dc1c108adf358dda13c4ed1fa822786e99ce2aaf807aeefa8d1ad9b83b7c | C/C++ | 3,809 | 132 | /***********************************************************************
* 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... |
e14198a648c11dd05be1585d8c87e834a0d090ac0b83d312d37b6421c57a4789 | C/C++ | 3,817 | 106 | /*
* -----------------------------------------------------------------
* $Revision: 1.4 $
* $Date: 2010/12/01 22:10:38 $
* -----------------------------------------------------------------
* Programmer(s): Scott D. Cohen, Alan C. Hindmarsh and
* Radu Serban @ LLNL
* ------------------------------... |
e4c25e7c728bd98b9e4003c1ee573bf5202c7119a18895437b4b9d8b8719ee11 | C/C++ | 3,822 | 170 | /*============================================================================
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... |
d6c55fa9c1e5db9c384bad71ad17367584dd3965dddc94e77ea20e76ad064393 | C/C++ | 3,827 | 135 | /***********************************************************************
* 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... |
0815822da07a2825cd08dd707fb5cb9290a85d82292fa0191f47497507820e22 | C/C++ | 3,832 | 155 | /*
MIT License
Copyright (c) 2024 Anders Lansner, Naresh Ravichandran
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, m... |
0c1b15590446ca6df4a51788e5f906e34868571590f8a08365131ca68b888a02 | C/C++ | 3,840 | 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 "rng.h"
#include <memory>
namespace RPU {
enum class WeightRemapType {
None,
LayerwiseSymmetric,
ChannelwiseSymmetric,
ChannelwiseNorm,
Chan... |
9fafd280f388d26a0c92fc601067b2b48b964ff579c865eb38c6c64549c74b1a | C/C++ | 3,841 | 84 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.