sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
358c0257280f95f26c17be3429ebb2b63741f0ba1711d1388e533b6dc25fc1c2
C/C++
4,955
155
#pragma once #include "../ovIKernelObject.h" namespace OpenViBE { namespace Plugins { class IPluginObject; } // namespace Plugins namespace Kernel { class IConfigurationManager; class ILogManager; class IScenarioManager; /** * \class IPlayerContext * \author Yann Renard (INRIA/IRISA) * \date 2006-07-07 * \brie...
83f69bad4c2eb5469afba0c48c2b434dffec81b7450ad0b72e6a2b1c1f7e1759
C/C++
4,957
149
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
f47a8a1326d211381d8da4e9a5821d0b8f9da1b7c0c7db94f058271a3bdf20fa
C/C++
4,964
197
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // DNADouble.h - Simple map from the DNA // alphabet {A,C,G,T} to a double value // #ifndef A...
fa1c5b24dddb64a61aae875a95a2e1185ed5bc47489a2805b2ac6c9af02cd7d3
C/C++
4,978
141
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <openvibe/ov_all.h> #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" #include <vector> #include <socket/IConnectionClient.h> #ifndef M_DEFINE_GUID #define M_DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b...
fbbd8ff6d604c9eb13562427b0c43c2c93e12f2b40d0b09658417e43c20daacd
C/C++
4,993
133
/******************************************************************************* "A Collection of Useful C++ Classes for Digital Signal Processing" By Vinnie Falco Official project location: https://github.com/vinniefalco/DSPFilters See Documentation.cpp for contact information, notes, and bibliography. ----------...
565e7ba613260da2b292a30343e76008fc908a1143b4b5a3482781e36d94b367
C/C++
5,031
141
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> 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:...
26ef04b993e2418df6b537728214b522c898c1653b604fef777842e5f1197530
C/C++
5,046
108
#pragma once #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <fstream> namespace OpenViBE { namespace Plugins { namespace FileIO { class CAlgorithmBrainampFileReader final : public Toolkit::TAlgorithm<IAlgorithm> { public: void release() override { delete this; ...
3ce6f166ef4b247d4a117ccf883c8adc4c02dce2952cf7cdf59b833a99c4f5ed
C/C++
5,063
151
#pragma once #include "defines.h" #include <climits> namespace EBML { /** * \class CIdentifier * \author Yann Renard (INRIA/IRISA) * \date 2006-08-07 * \brief Base class to work with EBML identifiers * * This class is used in order to work on EBML identifier. * It handles 64 bits values for now, but could easi...
beb4a3cb366221adefc0a98ae62d36eaf4e6435179ea0d355884c300417920ab
C/C++
5,067
156
#pragma once #include <string> #include <vector> #include <cassert> #include <iostream> #include <unordered_map> #include "SvabaRead.h" #include "SvabaSharedConfig.h" class DiscordantCluster; typedef std::unordered_map<std::string, svabaReadPtr> DiscordantReadMap; typedef std::vector<svabaReadPtrVector> svabaReadCl...
10837a2c44a0999111014a317cb9f88b29f32b8dd4a26ab765dd9128bbbcf24e
C/C++
5,077
105
#pragma once #include "ovasIHeader.h" #define NO_VALUE_I 0xffffffff namespace OpenViBE { namespace AcquisitionServer { class CHeader : public IHeader { public: CHeader(); ~CHeader() override; void reset() override; // Parameters OpenViBE::Parameters::ParameterInt& getExperimentIDParameter() ove...
71215603824cd1055c6057727bac6af38b30f01c32f8f12f3f6f2571f3dcb237
C/C++
5,092
136
//===--- Demangle.h ---------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
301171510b912dfff440d0f53c4329b73f9e0f9fdc12ea8ad488ec4969e16628
C/C++
5,137
225
#ifndef __INTERVAL_TREE_H #define __INTERVAL_TREE_H #include <climits> #include <vector> #include <algorithm> #include <iostream> using namespace std; template <class T, typename K = int> class IntervalT { public: K start; K stop; T value; IntervalT() : start(0) , stop(INT_MAX) , value("") { } ...
6ec9793b6ae95cb0b7577c65efdc19e3384e6133ea026da60aec0e4db1d85f93
C/C++
5,151
143
#pragma once #include <memory> //___________________________________________________________________// // // // Basic includes // //___________________________________________________________________//...
3882ebba505881ac6d782d76049cba4ddbc1d72a5abfeddd955799fd247c7ea4
C/C++
5,152
153
//----------------------------------------------- // Copyright 2012 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // QualityCodec - Encoder/decoder for a quality // symbols. Supports downsampling to a small ...
0f09685c7808189584ec422855e2cf02c9bc8022155bfae5741205258eb90806
C/C++
5,168
199
/***************************************************************************** bedGraphFile.cpp (c) 2010 - Assaf Gordon Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licenced under the GNU General Public License 2.0 license. *************...
9762784fa97dcdf47bc4ada068be0b3ff9afb61cdc9aae164260f8756225220c
C/C++
5,185
138
///------------------------------------------------------------------------------------------------- /// /// \file ovpCBoxAlgorithmARCoefficients.h /// \brief Implementation of the box ARCoefficients /// \author Alison Cellard / Arthur DESBOIS (Inria). /// \version 0.0.1. /// \date June 28 15:13:00 2022. /// /// \copyr...
7687edc30b2a7ec9d757d375742f31c88e0281f5e83d47d56715530c7dc4c6ff
C/C++
5,189
126
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a ...
baef0b765bbf8bd4fe42d0b7401b662f5ffbf8bfd0d0cca91795cb49a1fcd143
C/C++
5,197
128
#pragma once #include "../ovIKernelObject.h" namespace OpenViBE { namespace Kernel { class IParameter; /** * \class IAlgorithmContext * \author Yann Renard (INRIA/IRISA) * \date 2007-11-06 * \brief Exectution context for algorithm objects * \ingroup Group_Algorithm * \ingroup Group_Kernel * \ingroup Group_Ext...
eb98d81fcffa88f3baf0a374a77c551756896ffa6280faeffd446028f40b71f0
C/C++
5,230
134
#pragma once #include <Python.h> #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <string> #include <vector> //#include <map> namespace OpenViBE { namespace Plugins { namespace Python { class CBoxAlgorithmPython3 final : virtual public Toolkit::TBoxAlgorithm<IBoxAlgori...
4e291e3c3ad021644813f09a55e5a5196a2a780c33e352b765fd9f5df4486926
C/C++
5,242
132
#pragma once #if defined TARGET_HAS_ThirdPartyITPP #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <itpp/itstat.h> #include <itpp/itsignal.h> #define PREC 27 #define MAXEXP 1024 #define MINEXP -1077 #define MAXNUM 1.79769313486231570815E308 typedef struct SComplex ...
c1d41fe983336a4f8871167a920e68b1e09172f78196f3d40e7e09bc66eaf6e3
C/C++
5,259
133
#ifndef SVABA_R2C_DATABASE_H #define SVABA_R2C_DATABASE_H #include <string> #include <unordered_set> // Write-only SQLite emitter for the r2c alignment data. // Replaces the gzipped TSV with a queryable database that supports // O(1) contig lookup and efficient batch filtering by cname set. // // SQLite is an OPTIONA...
ae2ad488d74da0672f212121fbbc1251212eb29644096fc93ecf126374d25a77
C/C++
5,274
120
#pragma once #ifdef TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines #include "../../ovtk_base.h" #include "ovtkTEncoder.h" namespace OpenViBE { namespace Toolkit { template <class T> class TExperimentInfoEncoderLocal : public T { protected: Kernel::TParameterHandler<uint64_t> m_experimentID; Kernel::TPar...
205b730bfe5ddac349496e17eacd2bdd56dfc9a3994f8d517e04fb893d488c1f
C/C++
5,276
155
#pragma once #include <openvibe/kernel/scenario/ovIBoxProto.h> #include <system/ovCMemory.h> namespace OpenViBE { namespace Kernel { struct SBoxProto final : IBoxProto { SBoxProto(ITypeManager& typeManager) : m_TypeManager(typeManager) { } bool addInput(const CString& /*name*/, const CIdentifier& typeID, co...
bf81d795edc09bb4b57ad95b461d69e91dff9494c34498c771a4739658baca0d
C/C++
5,286
114
#pragma once #include "ovasIHeader.h" namespace OpenViBE { namespace AcquisitionServer { class CHeader : public IHeader { public: CHeader(); ~CHeader() override; void reset() override; // Experiment information bool setExperimentID(const size_t id) override; bool setSubjectAge(const size_t ag...
86219c14a75062273e07003ca1e7903c7c211e27de5cf3674763799fcebb612c
C/C++
5,287
169
/******************************************************************************* "A Collection of Useful C++ Classes for Digital Signal Processing" By Vinnie Falco Official project location: https://github.com/vinniefalco/DSPFilters See Documentation.cpp for contact information, notes, and bibliography. ----------...
4861a1990910630e533e086f4d4e2bd00ae414011b15c9ea751a3f6d15d78431
C/C++
5,294
126
// 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> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
5efe4112c751f3d67dedf055f2541a0e7128cfa244ce387054624fa17b78f68e
C/C++
5,299
150
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> 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:...
bf5ace22f09dbbfc160e35e1af79487084297342127cdecd55e9256a18ebcbf8
C/C++
5,304
96
#pragma once #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CAlgoUnivariateStatistic final : public Toolkit::TAlgorithm<IAlgorithm> { public: void release() override { delete this; } bool initi...
7359a8e3f0b70364674ed1c556dfc76ed89a033f664c4bdbad88a5174e29df41
C/C++
5,308
191
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
46e0100e3ff468bca4bc7361578c0a38e46b941a6e47df8e3a66ab677f1c7317
C/C++
5,311
155
// SvabaDebug.h — compile-time contig and read tracing. // // Contig tracing: // cmake .. -DSVABA_TRACE_CONTIG='"c_fermi_chr2_215869501_215894501_11C"' // make -j // // This compiles svaba with verbose stderr tracing for every decision // point that contig touches: assembly filtering, BP identification, // r2c scor...
3abd7e897e6c5081cfb747428e65de0eade26e3083a5c71fcfa629b43edae535
C/C++
5,334
171
///------------------------------------------------------------------------------------------------- /// /// \file CDriverBrainProductsBase.h /// \author Thomas Prampart (Inria) /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of...
6008c182da7189e489ded58bee75b7370e5decbf447fa9758d269d12b248280e
C/C++
5,343
153
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
293c27fe442da1020c0541475bb64feab318b6e0d98c6ef5a7ac9f2f65a8fcd2
C/C++
5,344
141
#pragma once #include "ovIKernelObject.h" #include "ovIConfigurable.h" namespace OpenViBE { namespace Kernel { /** * \class IParameter * \brief Generic parameter handler for configurable objects * \author Yann Renard (INRIA/IRISA) * \date 2007-11-21 * \ingroup Group_Kernel * \sa IConfigurable * \sa EParameterT...
b32f162bde9d16ab11d7a5d4b52bd7741d48eed85690e18f5410e60652ab2b70
C/C++
5,353
128
#pragma once #if defined TARGET_HAS_ThirdPartyUSBFirstAmpAPI #include "../ovasCHeader.h" #include <windows.h> #include <FirstAmp.h> #include<map> namespace OpenViBE { namespace AcquisitionServer { enum EAcquisitionModes { VAmp16 = 0, VAmp8 = 1, VAmp4Fast = 2 }; /** * \class CHeaderBrainProductsVAmp * \author L...
9ee69d0141f302de13e1d7c467ab0625713988a4ff0bde24149d5e21305b5fef
C/C++
5,356
194
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
f0f79cc37ac8ee0b71ebb9a98f0a3a5945d3bc83fdaf9d4de4d64947a23f6b97
C/C++
5,356
128
#pragma once #if defined TARGET_HAS_ThirdPartyUSBFirstAmpAPI #include "../ovasCHeader.h" #include <windows.h> #include <FirstAmp.h> #include<map> namespace OpenViBE { namespace AcquisitionServer { enum EAcquisitionModes { VAmp16 = 0, VAmp8 = 1, VAmp4Fast = 2 }; /** * \class CHeaderBrainProductsVAmp * \author L...
54aa1624e380a460c47cc22b5365d5bb2a84625e96c5819d49d625aafc5fe422
C/C++
5,369
56
#pragma once // Boxes //--------------------------------------------------------------------------------------------------- #define OVP_ClassId_Algorithm_OVMatrixFileReader OpenViBE::CIdentifier(0x10661A33, 0x0B0F44A7) #define OVP_ClassId_Algorithm_OVMatrixFileReaderDesc OpenV...
64854cb04c6b044a451633ccb909589b31d753c24b8b7d65941f3e1765ed30be
C/C++
5,371
120
#pragma once #ifdef TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines #include "../../ovtk_base.h" #include "ovtkTDecoder.h" namespace OpenViBE { namespace Toolkit { template <class T> class TExperimentInfoDecoderLocal : public T { protected: Kernel::TParameterHandler<uint64_t> m_experimentID; Kernel::TPar...
0ccb925dac00e276a60e9755da900c641f65950720157c1e2cd7370629d3a2d6
C/C++
5,377
185
#pragma once #include <string.h> // memcpy() on Ubuntu #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include "EncodedChunk.h" #include "BoxAlgorithmProxy.h" #include "Chunk.h" #include "Stream.h" namespace OpenViBE { namespace Tracker { /** * \class EncoderBase * \brief Base, non-typed abstract c...
85defa1b2f192794aad8ea1b208db354a214d9e40e245c794cb06c36b0ac282c
C/C++
5,430
133
#pragma once #include "ovas_base.h" #include <string> #include <vector> #include <list> #include <deque> namespace OpenViBE { namespace AcquisitionServer { enum class EDriftCorrectionPolicies { DriverChoice = 0, Forced, Disabled }; inline std::string toString(const EDriftCorrectionPolicies& policy) { switch (po...
36e47a1145d23083d3e8ab541ce4c1054486c1dd063a60eb765d02eb9cb9b857
C/C++
5,449
147
#pragma once #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <iostream> #include <cstdio> namespace OpenViBE { namespace Plugins { namespace FileIO { class CBoxAlgorithmCSVFileReader final : public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: CBoxAlgorithmCSV...
e2cbe27839e7ca0098c1b17d15647ccef132e16c5faa7fdb4a207cc22f7ef722
C/C++
5,452
196
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
4151b0f8f738321a065792b9d65fd6b4db781c46e6417b39f7754f14be00cc78
C/C++
5,454
125
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #pragma once #include <iostream> #include <vector> exte...
686af7e0634ddb2c3565c289d15926e7df4a123473f23e6d52cfd0d1c951a18d
C/C++
5,474
134
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2009 Hauke Heibel <hauke.heibel@googlemail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a ...
887b004de60ce7a6a6b790f9d11a08b8ddd33e2738adf726a12630f5f3d70e46
C/C++
5,475
142
// LearnBamParams.h #pragma once #include <string> #include <map> #include <ostream> #include <vector> #include <unordered_map> #include <unordered_set> #include <memory> #include <array> class SvabaSharedConfig; namespace SeqLib { class BamRecord; class BamReader; } /** Store information pertaining to a given r...
23eab20761132253c684e90cd0d9348321001f4f368dfa9027401b095b4aadc9
C/C++
5,477
105
#ifndef LEPTON_EXPRESSION_TREE_NODE_H_ #define LEPTON_EXPRESSION_TREE_NODE_H_ /* -------------------------------------------------------------------------- * * Lepton * * -------------------------------------------------------------------------- * ...
c528cec0992d5fb757d434a4805e25847f431fbb0cca903afd3976ca03bef426
C/C++
5,491
201
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
7d7847deed7ba600e5d14c859a6b58c5a38b4c94feb7fa1d75aff2663ede7217
C/C++
5,492
210
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
e3ae153a0da55c0e272ecd4d9280985bbd54724be665facf1f7cf47a73f67de6
C/C++
5,492
235
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
228c2c3ab15c9ffd5e08133712487ce4c78f4eeccebf1c94e87394516925f0c4
C/C++
5,497
116
#pragma once #include <memory> #include "ovkTKernelObject.h" namespace OpenViBE { namespace Kernel { class CLogListenerConsole; class CLogListenerFile; class CKernelContext final : public IKernelContext { public: CKernelContext(const IKernelContext* masterKernelCtx, const CString& applicationName, const CStrin...
8a78ac98dc05f8b71ef817118d984537b4ef5cd570a84ab9ad99eed221dfe937
C/C++
5,513
73
// dear imgui: Platform Backend for GLFW // This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..) // (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.) // (Requires: GLFW 3.0+. Prefer GLFW 3.3+/3.4+ for full feature...
775a5612c11ead2ba4797ac1f2c2969318e871f459a6d5fb300d94d0b411fb30
C/C++
5,549
199
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SGVisitors - Algorithms that visit // each vertex in the graph and perform some // operati...
e1d5665a7174dedd3dac613eebeb2a3e65c74b75eb39fc4caa4ac6c554162c2f
C/C++
5,561
161
#ifndef MESHFIM2D_EIKONAL_H #define MESHFIM2D_EIKONAL_H #include "TriMesh.h" #include "TriMesh_algo.h" #include <cusp/array1d.h> #ifdef WIN32 #include <Windows.h> #endif #include <typeinfo> #include <functional> #include <queue> #include <list> #include <set> #ifndef _EPS #define _EPS 1e-06 #endif typedef cusp::ar...
1f99380cd4a59b896df541dcc99c1b0666df0232e4f4c8b57c4b03e04e0ceb5c
C/C++
5,573
163
#pragma once /** * @file NAL.h * @brief Network Abstraction Layer (NAL) header file. * @details This header file provides platform-specific includes and definitions. * @author Florent LERAY * @date 2025-10-04 */ #ifndef NAL_H #define NAL_H #include <stdio.h> // For snprintf / _snprintf_s #ifdef _WIN32 #inclu...
483d69b7a97f4530e23e2c8378e17affdcd9f34414a2e6b2f9148004df87c8c8
C/C++
5,574
154
// 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> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If ...
4ca45ffe8968c28af5418aa471c62d1fa5cb95f797adb28fd542e28a50d77c44
C/C++
5,577
135
#pragma once #include "CIdentifier.h" #include <cstdlib> // fix Unix compatibility namespace EBML { /** * \class IReaderCallback * \author Yann Renard (INRIA/IRISA) * \date 2006-08-07 * \brief Callback class to use when parsing the EBML stream * * This class is to be overloaded by the user in order to get rid ...
cab4f05b04470813d5b178d69cde40f5f42931c199d9f5ca753f0463fd93b3d9
C/C++
5,598
147
///------------------------------------------------------------------------------------------------- /// /// \file CGrazVisualization.hpp /// \brief Classes for the Box Graz visualization. /// \author Bruno Renier, Jussi T. Lindgren (INRIA/IRISA). /// \version 0.2. /// \copyright Copyright (C) 2022 Inria /// /// This ...
038cc067e847316cf2c97d82174469f96ad08446adad0d58c93f36f2d04156f0
C/C++
5,600
158
#pragma once /** * @file ovMsgSerializer.h * @brief Binary serialization and deserialization functions for ovMsg. * * These functions produce a contiguous byte buffer suitable for network transmission. * The serialize function returns a new uint8_t[] buffer that the caller (or Network++) * is responsible for dele...
fede30fde9d95ff6e90ef38d890bcf9df1483f825c2b1165f4da76d748286a29
C/C++
5,604
198
/* Copyright (c) 2014, Rafat Hussain */ #pragma once #include "wtmath.h" #include "cwt.h" #ifdef __cplusplus extern "C" { #endif #if defined(_MSC_VER) #pragma warning(disable : 4200) #pragma warning(disable : 4996) #endif #ifndef cplx_type #define cplx_type double #endif typedef struct cplx_t { cplx_type re; ...
49b3587c3e80bd96be884d21673c838b711f1a89d116207b757cddc8980d55b9
C/C++
5,634
175
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // Base bidirectional edge class // #ifndef EDGE_H #define EDGE_H #include <ostrea...
f9a9df3494eb52e60f54592a2a074bec83546873f118401beea34951c6467fdf
C/C++
5,643
119
/* * Copyright (C) 2010 S. Klanke * F.C. Donders Centre for Cognitive Neuroimaging, Radboud University Nijmegen, * Kapittelweg 29, 6525 EN Nijmegen, The Netherlands * * */ #ifndef __rdaserver_h #define __rdaserver_h #include <pthread.h> #include "buffer.h" #include "rdadefs.h" #ifdef __cplusplus extern "C" {...
1816b77ae6cdb89c61ce493130a50fb13b9e3057bebda82484aa134b6174adf7
C/C++
5,659
185
#pragma once #include "defines.h" #include "ovCMessaging.h" #include "socket/IConnectionServer.h" namespace Communication { class Communication_API MessagingServer : public CMessaging { public: /** * \brief Default constructor. */ MessagingServer() : CMessaging(), m_Server(Socket::createConnecti...
11889f16ebb82231ecb06c4314ae12009083682be72ccc2be00e0ab9a5d23de5
C/C++
5,665
140
#pragma once #include "ovas_base.h" #include <deque> #include <functional> #include <list> #include <string> #include <vector> namespace OpenViBE { namespace AcquisitionServer { enum class EDriftCorrectionPolicies { DriverChoice = 0, Forced, Disabled }; inline std::string toString(const EDriftCorrectionPolicies& po...
244a5a7c77cecd07bafb9585148f8239d5df02af322dc4572ab151c3fb8bd474
C/C++
5,673
145
#pragma once #include <openvibe/ov_all.h> namespace OpenViBE { namespace VisualizationToolkit { /// <summary> This enum lists the different types of IVisualizationWidget supported by the platform. </summary> enum class EVisualizationWidget { Undefined, ///< Undefined widget (empty slot in an IVisualizationTr...
e704fcc8374cb220239ccf5c68c1f8c58b59e2ff70d32efa508fbefae33345f8
C/C++
5,750
86
// dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder) // (headers) #pragma once #include "imgui.h" // IMGUI_API #ifndef IMGUI_DISABLE // Usage: // - Add '#define IMGUI_ENABLE_FREETYPE' in your imconfig to automatically enable support // for imgui_freetype in imgui. It is equ...
eab2508451a9abda9dce59fcb62ac118d5121690b823bacd131ceeb03fe4d811
C/C++
5,759
154
#pragma once /** * @file AbstractWriterBuilder.h * @brief Header file for the AbstractWriterBuilder class. * * This file defines the `AbstractWriterBuilder` class, which is a template class for * creating writer builders. It inherits from `AbstractWriterBuilder` and * implements methods to create and manage writ...
4ecf8df3b2b39671b0de203b4d33231f6449d390ee68cbfbfdbcb569dbc2465b
C/C++
5,784
173
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> 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:...
b44194a24de4c5f9f316d72ecac537b4be2dbf03c4eb60fcdfbf72ce161bd695
C/C++
5,788
180
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // Vertex - Generic vertex class for bigraph // #ifndef VERTEX_H #define VERTEX_H //...
90fa95f97984095833facdddf980e9b93022b5a01ce21e56f666d18bd676c8a5
C/C++
5,801
143
/** Headers for all the Total Variation algorithms and routines. @author Álvaro Barbero Jiménez @author Suvrit Sra */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <float.h> #include <limits.h> #include <stddef.h> #include "general.h" #include "LPopt.h" #include...
94ee48edcc370fd082f363db1688dde82e00b8831be0776cdac6a1ad2246434d
C/C++
5,813
139
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #pragma once #include "../CommonBioSemi.h" #include <cstdint> #include <vector> /** * @brief USB bridge to a BioSemi ActiveThree AD-box, through the vendor LabView DLL. * * Unlike the ActiveTwo, the ActiveThree ...
6b0bad2eb4e66c3e42337d7592dcb1d5c5d02a77ddb34463e8018330cddb0e85
C/C++
5,837
172
/* # ============================================================================= # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #pragma once /* interface to Random123 */ /* http://www....
7aecd0ad72378c7b4c46d90d48698cb0f4d796d39d9cc358c572f2a5ede7bcfa
C/C++
5,850
160
#pragma once #include <cstdlib> // For Unix Compatibility (size_t) #include <cstdint> // For Uint standard // // This file checks the presence of several defines that are supposed to // be set by the build system. In addition, it defines some additional ones. // #if defined(_MSC_VER) // We need some magic to get #...
7c185dd52c5fc96ee382d57204b8812d688b24aeb5aa64a037c2ed3861643259
C/C++
5,851
176
#pragma once #include "IWriter.h" namespace EBML { /** * \class IWriterHelper * \author Yann Renard (INRIA/IRISA) * \date 2006-08-07 * \brief Helper to write basic EBML types * * This class may be used by the user in order to correctly * format simple types defined in the EBML description such * as integers, ...
05ea44b5e6b55193b36a846fda517308cfcdb9865369501c9bf8cd98db45a23e
C/C++
5,860
273
#ifndef BSPHERE_H #define BSPHERE_H /* Szymon Rusinkiewicz Princeton University bsphere.h Bounding sphere computation, based on the "miniball" package by Bernd Gaertner, based on algorithms by Welzl and Gaertner. The original code is distributed under the GPL, and is available from http://www.inf.ethz.ch/personal/gae...
eb0dea1aa4d6e61b413e443b6556ffa12e2a0fbbeea72ec3f1cbec45f38447fb
C/C++
5,866
141
/***************************************************************************** * SV_BreakPoint.h * (c) 2012 - Ryan M. Layer * Hall Laboratory * Quinlan Laboratory * Department of Computer Science * Department of Biochemistry and Molecular Genetics * Department of Public Health Sciences and Center for Public Heal...
6af6caa2346503ed84d8559fe76ea445799b12f684681dd1fb1b5d437a8d1321
C/C++
5,870
203
//===--- Utility.h -------------------*- mode:c++;eval:(read-only-mode) -*-===// // Do not edit! See README.txt. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ...
d3da0bf1f4c66c56dcef43371fad4f16f1ab5c88132e2bb2050ccaadb1afd929
C/C++
5,873
234
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes 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...
6022aa478f3d9530f4e0fd48ca34321e19054e7249af8790f98aad7c88c90acf
C/C++
5,898
151
//CRingBuffer provided by g.tec //website: http://www.gtec.at //redistribution of this file has been offcially granted by g.tec #pragma once #include <algorithm> // std::min #include <winnt.h> #include <stdlib.h> //#include <afxwin.h> /* * Class representing a ring buffer with elements of type float. */ template ...
a7e67990f5cf8bab446321dc7246d497730d26ce03cb31837d4633108f53d008
C/C++
5,925
147
// Copyright [1999-2017] EMBL-European Bioinformatics Institute // // 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 b...
4a00d636e58d891e5dbbe0587c20d359e1aa8cff1a3e499477930dee51193caa
C/C++
6,017
203
#ifndef __MESHFIM3DEIKONAL_H__ #define __MESHFIM3DEIKONAL_H__ #include <tetmesh.h> #include <typeinfo> #include <functional> #include <queue> #include <list> #include <set> #include <time.h> #include <stdio.h> #include <vector> #include <cusp/array1d.h> typedef cusp::array1d<int, cusp::host_memory> IdxVector_h; typed...
15a81ac5dcb72fe9873a14262e3fd505fb46ab61dd9f6b1353e6cf66a34bee9c
C/C++
6,041
223
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
0b44abc1468fd513107c7c7b1099be6d9f67062ee8cbf82e4a8494a2d2672955
C/C++
6,057
157
/* * OpenBCI driver for OpenViBE * * \author Jeremy Frey * \author Yann Renard * */ #pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" #if defined TARGET_OS_Windows typedef void* FD_TYPE; #elif defined TARGET_OS_Lin...
e348cd71566e540c4e508f5b17fa2caf28dec918ec67103753763cf0524b3487
C/C++
6,060
146
/* Project: Gipsa-lab plugins for OpenVibe * AUTHORS AND CONTRIBUTORS: Andreev A., Barachant A., Congedo M., Ionescu,Gelu, * This file is part of "Gipsa-lab plugins for OpenVibe". * You can redistribute it and/or modify it under the terms of the GNU General Public License * as published by the Free Software Founda...
3a961c98c528e73862908bb018bb085bff6563616fe633f2c1c8437f3611f72d
C/C++
6,061
204
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2009 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
073831f41b539131010560844c7240de3f614c75ed79e2a99779129111398305
C/C++
6,066
245
// #include <gsl/gsl_rng.h> #include <Python.h> typedef struct dataStruct data; typedef struct partStruct part; typedef struct eigStruct eig; typedef struct pcomplexStruct pcomplex; //typedef struct rellStuffStruct rellStuff; typedef struct p4_treeStruct p4_tree; typedef struct p4_nodeStruct p4_node; typedef struct ...
ea2717cdcd19d003537ac767de22f68da71c3c13487a9f6ad133f4c1b1d55279
C/C++
6,075
105
#pragma once /** * @file AcquisitionManager.h * @brief Header file for the AcquisitionManager class. * * This file declares the `AcquisitionManager` class, which is responsible for managing * the acquisition of data from hardware drivers and writers. It provides methods to * register drivers and writers, change t...
f44583cd51128f4694f2c0c5c306b7e5a255c07f0ec0499ee3cb5b69ecf48737
C/C++
6,116
150
// Copyright [1999-2017] EMBL-European Bioinformatics Institute // // 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 a...
bbbaf94926da93ece4fa53bd5619afd961c339ecbb872974b06e73e469a7a881
C/C++
6,143
174
/**** DIAMOND protein sequence aligner Copyright (C) 2012-2026 Benjamin J. Buchfink 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 your option) any later vers...
d7da064211e73610e5c162d745d8c6fdf9f55e37d0305ac74f45211e7487eb55
C/C++
6,150
216
#pragma once #include "defines.h" #include "ovCMessaging.h" #include "socket/IConnectionClient.h" namespace Communication { class Communication_API MessagingClient : public CMessaging { public: /** * \brief Default constructor. */ MessagingClient(); /** * \brief Destructor. */ ...
82622a19805822e45867c58205ba13498b57f67a6ae949a7c5c51afb73817689
C/C++
6,173
206
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, ...
badd625bbb1583fa51cd9cfb57100e0ee74f23e1fbb764a1dda6f573283e3f21
C/C++
6,199
240
#pragma once #ifdef __cplusplus extern "C" { #endif #if defined(_MSC_VER) #pragma warning(disable : 4200) #pragma warning(disable : 4996) #endif #ifndef fft_type #define fft_type double #endif #ifndef cplx_type #define cplx_type double #endif typedef struct cplx_t { cplx_type re; cplx_type im; } cplx_data...
fccbf8dd8d7bc5de555faf38985b6e7c39da151dbcf7f0fd0cc7bf5d20e53185
C/C++
6,229
189
#pragma once #include <ovas_base.h> #include <map> #include <iostream> #include "ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class Property * \author Jussi T. Lindgren (Inria) * \date 2013-11 * \brief Base class for properties. A property is essentially a <name,...
ae782fb0fbad04399fba005ec89630780e78a170ca257546a098e62991dd134d
C/C++
6,242
215
#pragma once #include "CTracker.h" #include "Workspace.h" #include "Stream.h" #include "TypeSignal.h" #include "TypeSpectrum.h" #include "TypeStimulation.h" #include "Contexted.h" #include "CLogListenerTracker.h" // Forward declare struct _GtkBuilder; typedef struct _GtkWidget GtkWidget; // typedef struct _GtkTabl...
a31708b980f93d6917ac1e3b280ffba665fb986ae1f9987756b41d31c280a471
C/C++
6,248
191
#pragma once #include <ovas_base.h> #include <map> #include <iostream> #include "ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class Property * \author Jussi T. Lindgren (Inria) * \date 2013-11 * \brief Base class for properties. A property is essentially a <name,...
c1b3c781376358eca3795e8bd696f2d3114d69566ef1907b524b2c3f2e03cb1d
C/C++
6,250
181
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ob...
9f15268a5163ce2c19a6d582842aab1013b4894b8adce58e60139c90e49843a2
C/C++
6,261
188
/******************************************************** *** adapted from crux/src/c/ProteinPeptideIterator.h *** ********************************************************/ /** * \file ProteinPeptideIterator.h * $Revision: 1.25 $ * \brief Object to iterate over the peptides within a protein in an * unspecified ...
2485e23d1d6e33027eed6c6d40c791e929938ab16fcff098813d09a808b922a4
C/C++
6,280
153
#ifndef _CS_H #define _CS_H #include <stdlib.h> #include <limits.h> #include <math.h> #include <stdio.h> #include <stddef.h> #ifdef MATLAB_MEX_FILE #include "mex.h" #endif #define CS_VER 3 /* CSparse Version */ #define CS_SUBVER 1 #define CS_SUBSUB 3 #define CS_DATE "Mar 26, 2014" /* CSparse relea...
abfd522553eae37ef309307f74de82082ea3fe042fda5a8418dbcd328fe0f838
C/C++
6,323
148
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ob...
e4b705dfa6a46dfa532d7ad922426d61204ebb41a291f3c0275f1606176b187d
C/C++
6,360
154
#pragma once #if defined TARGET_HAS_ThirdPartyMatlab #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include "../ovpCMatlabHelper.h" #include <map> namespace OpenViBE { namespace Plugins { namespace Matlab { class CBoxAlgorithmMatlabScripting final : virtual public Toolkit::TB...
861d04b6f41cd6712d587d9a1769bfba064b783a3f459646598496764cc5afb5
C/C++
6,363
150
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2011 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...