sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
1c6542a0f0b7fb79d03c57fdf7c00361ca4f40d3b46acecae804b80d8bcc5b07
C/C++
1,622
49
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include "../ov_defines.h" #include "parameterTraits.h" namespace OpenViBE { namespace Parameters { class OV_API ParameterListInt : public ParameterBase<int, ParameterListInt> { public: Param...
20ac75803d413c25c657fe6fe9a3ff282bafe278d53535a191f9da4512791173
C/C++
1,627
56
// // OpenViBE Tracker // #pragma once #include "StreamRendererBase.h" #include "TypeStimulation.h" namespace OpenViBE { namespace Tracker { /** * \class StreamRendererStimulation * \brief Renderer for Stimulation streams * \author J. T. Lindgren * */ class StreamRendererStimulation final : public StreamRende...
0abaa8c80f74f6e22dfbc535be97fe0b8d80c123cdf3f8db7c1385824b4b3f36
C/C++
1,633
40
/******************************************************************************* 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:...
cc79c9f6e20635b6b2f480eb68ff829088c28e9f24cee74d0f3f47745ee0b94a
C/C++
1,636
43
#pragma once #include "../../plugins/ovIAlgorithm.h" #include "../../plugins/ovIAlgorithmDesc.h" #include "../algorithm/ovIAlgorithmProto.h" #include "../../CMemoryBuffer.hpp" #define OV_Algorithm_ScenarioImporter_OutputParameterId_Scenario OpenViBE::CIdentifier(0x29574C87, 0x7BA77780) #define OV_Algorithm_Sce...
b5d5493b17344e3a5c30470e8579acb9cc411461497dd83e550987d544165a01
C/C++
1,643
62
/******************** 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...
be41ec05a3a46c1749a45e6e5539e226241092daf755ac04c5facfdd2020a703
C/C++
1,645
38
#pragma once #include "../../plugins/ovIAlgorithm.h" #include "../../plugins/ovIAlgorithmDesc.h" #include "../algorithm/ovIAlgorithmProto.h" #include "../../CMemoryBuffer.hpp" #define OV_Algorithm_ScenarioExporter_InputParameterId_Scenario OpenViBE::CIdentifier(0x5B9C0D54, 0x04BA2957) #define OV_Algorithm_Sce...
b5095da41ef961fc128ffb95029d10ccf60937bfa2b79f08e97be41dfc647528
C/C++
1,649
50
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include "../ov_defines.h" #include "parameterTraits.h" #include <optional> #include <vector> #include <array> namespace OpenViBE { namespace Parameters { class OV_API ParameterColorGradient : pub...
4348330e0ceb835dde999a7efe53e70571a9944bbe9f143e2e3b855cfd91c2ac
C/C++
1,651
53
/******************** 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...
13dee079981e4cc04bb128de02599f2c6313bfab107af84f4089b78498a620e2
C/C++
1,652
61
/******************** 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...
0e0145bf95b6d82f38874d1645f40f37f4383c6f71a2ce9f68b432daedf493c2
C/C++
1,655
58
// // OpenViBE Tracker // #pragma once #include "StreamRendererBase.h" #include "TypeSpectrum.h" namespace OpenViBE { namespace Tracker { /** * \class StreamRendererSpectrum * \brief Renderer for Spectrum streams * \author J. T. Lindgren * */ class StreamRendererSpectrum final : public StreamRendererBase { pu...
f86c320b20fe1b6d2c0a5628cb50f5d9f98cf1c00c1dc59e1c9c136f0976210f
C/C++
1,656
58
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <socket/IConnectionClient.h> namespace OpenViBE { namespace AcquisitionServer { class CCommandConnectionHandler; /** * \class CDriverEGIAmpServer * \author Yann Renard (Inria) */ class CDriverEGIAmpServer final : public IDriver { public: ...
e7005790cf41212554e2872a12f6f1fc7285d30d6e73dbac2c38c8159c240665
C/C++
1,658
56
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // KmerDistribution - Histogram of kmer frequencies // #ifndef KMERDISTRIBUTION_H #de...
997c4fcb64cc6bac66f5294a451de65591faf44525fb90c2786266532836cf8e
C/C++
1,659
46
/******************** 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...
931835f60061ddee08bd965ba79ea015b226f1024aca6a0760df90067c8c9f97
C/C++
1,660
49
///------------------------------------------------------------------------------------------------- /// /// \file ovtTestFixtureCommon.h /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License ...
23ec050e2d1dde8a5a505639dff669a658e178138b9bf9f30579f3622941b80d
C/C++
1,663
64
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <openvibe/ov_all.h> #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverCognionics * \author Mike Chi (Cognionics, Inc.) * \copyright AGPL3...
472ba0b99928433a16c79202ab76a8ad65678ebd1362f47b85a1f1558812dcec
C/C++
1,663
43
#pragma once #include <openvibe/ov_all.h> #include <vector> namespace BCI2000 { class CBitfield { protected: class CField { public: int m_BytePos = 0; // starting byte int m_BitPos = 0; // starting bit within starting byte int m_Length = 0; // field length (in bits) O...
62253595400b8a39dfaddd03fe0125b9ca09e7e738fb0c9bda116684a0e3408b
C/C++
1,666
60
// svabaOutputWriter.h #pragma once #include <map> #include <string> #include <fstream> #include "SvabaThreadUnit.h" #include "SeqLib/BamWriter.h" #include "gzstream.h" #include "SvabaLogger.h" #include "SvabaOptions.h" using std::ofstream; struct SvabaSharedConfig; struct SvabaOutputWriter { public: SvabaOut...
691a82a9bd9edb6848883be6e42d87bd106bacfd648e0cf67093b99d60d740f1
C/C++
1,675
41
#pragma once #include "../ovk_base.h" #include <openvibe/ov_all.h> namespace OpenViBE { namespace Kernel { template <class T> class TKernelObject : public T { public: virtual ~TKernelObject() = default; explicit TKernelObject(const IKernelContext& ctx) : m_kernelCtx(ctx) { } TKernelObject(const TKernel...
61a0f2dc456d92c30015eeb5cf1d8e5196c5d7abba4e3fe0340d9710f6f0fbfa
C/C++
1,683
37
#pragma once #include "defines.h" namespace TCPTagging { /* * \class IStimulusSender * \author Jussi T. Lindgren / Inria * \brief Interface of a simple client to send stimuli to Acquisition Server's TCP Tagging */ class OV_API IStimulusSender { public: // Connect to the TCP Tagging plugin of the Acquisition Server...
9bcf58965ec0937c5851d72d83caee5027dd9f35fe22986c5a76fe12f39b32c5
C/C++
1,694
59
///------------------------------------------------------------------------------------------------- /// \copyright Copyright (C) 2012, Mensia Technologies SA. All rights reserved. /// Rights transferred to Inria, contract signed 21.11.2014 ///----------------------------------------------------------------------------...
35a90f579972b06af92f50fcd47bcb2feed41d691ff2f825f289686c79e88a3e
C/C++
1,703
60
#define RMATRIX_NONE 0 #define RMATRIX_JC 1 #define RMATRIX_K2P 2 // not used #define RMATRIX_F81 3 #define RMATRIX_HKY 4 // not used #define RMATRIX_2P 5 // Used for K2P and HKY #define RMATRIX_SPECIFIED 20 #define RMATRIX_POISSON 100 #define RMATRIX_CPREV 101 #define RMATRIX_D78 102 #define RMATRIX_J...
8d3281f36c798e961a6135a3a646ee6b6b61ad083075dc77067d5c36637d1e34
C/C++
1,703
75
/* prevent double include */ #pragma once #if defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) /* linux, also other platforms (Hurd etc) that use GLIBC */ #define PLATFORM_LINUX #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__D...
ec4ea3b7ba9ba9e16b11d0825b760cc61422f8005ff8bffec6a103b4bb48c7a4
C/C++
1,713
54
#pragma once #include <vector> #include <memory> // Constants for tuning constexpr double DEFAULT_LAMBDA = 1e-4; constexpr double DEFAULT_SMOOTH_LAMBDA = 1e-3; constexpr int DEFAULT_NUM_KNOTS = 50; constexpr double DEFAULT_SKEW_FACTOR = 0.75; struct MonotoneParams { // Shared double clip_lo = 0.0; double clip...
a9cdce9ffb33a691036602a7a432348c04ffbb4ebb48426cb2cee6006a477e14
C/C++
1,714
61
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" #include <socket/IConnectionClient.h> namespace OpenViBE { namespace AcquisitionServer { class CCommandConnectionHandler; /** * \class CDriverEGIAmpServer * \author Y...
f14666c37e6a8e943389534c6a371364a8dfc249b1976192c8c93ef2cc4fa1a6
C/C++
1,716
61
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include <filesystem> #include <string> #include <vector> #include "../ov_defines.h" #include "parameterTraits.h" namespace OpenViBE { namespace Parameters { enum OpenMode { Read, Write, ...
e09c9d44e8c07f5cee537c2674fae57758fa0deac7cb71aaee570b66323ec73b
C/C++
1,721
42
///------------------------------------------------------------------------------------------------- /// /// \file Chunk.h /// \author J. T. Lindgren / Inria. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero Ge...
1b9f910bc32038fd0293ff38128243b4fd6cde52b3902df32778a95bbc715e90
C/C++
1,725
50
///------------------------------------------------------------------------------------------------- /// \copyright Copyright (C) 2014, Mensia Technologies SA. All rights reserved. /// Rights transferred to Inria, contract signed 21.11.2014 ///----------------------------------------------------------------------------...
d51eeeb4cc2344ef716b3b641a096dd567db138c69450a8de914779f178745fb
C/C++
1,725
35
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #pragma once #include <stdio.h> #include <cuda_runtime_...
92ae75eca849f770af8bb1e5b09798da94a002ca0ae2b133a668bbd1b62dc65f
C/C++
1,743
50
/******************************************************************************* 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:...
62c8d596cde645883b72ae355139ab078691e29348ae3f426b08bcb43c61d4f5
C/C++
1,747
47
#pragma once #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #define OVP_ClassId_BoxAlgorithm_Nothing OpenViBE::CIdentifier(0x273960C0, 0x485C407C) #define OVP_ClassId_BoxAlgorithm_NothingDesc OpenViBE::CIdentifier(0x7A6167D9, 0x79070E22) namespace OpenViBE { namespace Plugins { namespace Examples { c...
d1f6b6fbb7051ff1134dff569da6edada31fcc5dfc4ee2ff7c50373bbb661bad
C/C++
1,747
49
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include "../ov_defines.h" #include "parameterTraits.h" namespace OpenViBE { namespace Parameters { class OV_API ParameterListString : public ParameterBase<std::string, ParameterListString> { publi...
fd3a023f36a96e5ec6828700ca54a37462f147d4ccbe543abf8a66e9a09ab928
C/C++
1,748
57
#pragma once #include "../ovkTKernelObject.h" #include <stack> #include <map> namespace OpenViBE { namespace Kernel { class CLogListenerConsole final : public TKernelObject<ILogListener> { public: CLogListenerConsole(const IKernelContext& ctx, const CString& sApplicationName); bool isActive(const ELogLevel...
21d6442a11a5af5bfb21eaf497344bd303d91c4291f17bdcfc322fb79b3cbb53
C/C++
1,752
48
#pragma once #include "../../ovp_defines.h" #include "ovpCStreamedMatrixDecoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CFeatureVectorDecoder final : public CStreamedMatrixDecoder { public: void release() override { delete this; } void openChild(const EBML::CIdentifier& iden...
45020888c0dab6aad3c28e655515dfa6cd61ccdd810a23b12d27e13cd871fa01
C/C++
1,752
71
///----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // StatsProcess - Compute statistics about the reads // #ifndef STATSPROCESS_H #define STATS...
bcff951f7798a2654dd8df0f1701d32b525bd0e989c2a3a7f891cd3a55236eec
C/C++
1,753
54
/******************** 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...
6c6da827717eb126fdbb3a29846547109a467908a8ecb85bcf1db9888356c332
C/C++
1,757
88
#ifndef MEMPOOL_H #define MEMPOOL_H /* Szymon Rusinkiewicz Princeton University mempool.h Replacement memory management for a class using a memory pool. Sample usage: class MyClass { private: static PoolAlloc memPool; public: void *operator new(size_t n) { return memPool.alloc(n); } void operator delete(void...
82f4b301acdb6306e0881005dc0792c4b5373abdbe00e1cc600f06b209e613e0
C/C++
1,758
63
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverGenericRawReader * \author Yann Renard (INRIA) */ class CDriverGenericRawReader : public IDriver { public: enum EParameter { Endian_Little = 0, Endian_Big...
2e2e5933501fcc239b2c0413e872770dc97517479a51f440fd494011683dedcb
C/C++
1,771
66
//FastQTL: Fast and efficient QTL mapper for molecular phenotypes //Copyright (C) 2015 Olivier DELANEAU, Alfonso BUIL, Emmanouil DERMITZAKIS & Olivier DELANEAU // //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 Soft...
c8b01a740f68288b097a07e3e109efd49735ec4271285ed14e7b052dfa33d7fc
C/C++
1,771
64
#pragma once #include "ovasIDriver.h" #include "../ovasCHeader.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverGenericRawReader * \author Yann Renard (INRIA) */ class CDriverGenericRawReader : public IDriver { public: enum EParameter { Endian_Little = 0, Endian_Big...
4ed0919a62b169e6e7983d37fa1eb8be990d6d5fa4c8f5f4c3305fef674ae9a8
C/C++
1,775
62
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include <memory> #include <openvibe/parameters/parameters.h> #include <openvibe/Services/IService.h> #include "TcpTaggingProtocol.h" #include <TcpTaggingService_Export.h> namespace OpenViBE {...
6de95945b86fc8a42e3e818917db06eee8a292b1196fb111fed7afb16111607b
C/C++
1,778
65
/******************** 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...
f1f592b97f379177c94edf9c803fb982924fd2fc983fe3130e2ff51a62ef417e
C/C++
1,781
79
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // GraphCommon - Definitions and functions common // to the grpah implementation // #ifndef G...
2f16923a729abe3ebf4b80a415f9a01588ff9b7f74862cada465981bb05c3c51
C/C++
1,788
60
#pragma once #include "defines.h" #include "IXMLNode.h" #include <string> #include <cstdlib> // fix Unix compatibility namespace XML { /** * @class IXMLHandler * @author Guillaume Serrière (INRIA/Loria) * @brief This class is design to help about XML manipulation. * @sa XML */ class XML_API IXMLHandler { public...
32ff8808e93054428816a3fa8d1df80c6784bed666e5317b421023242c69255d
C/C++
1,793
42
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // OverlapTools - Wrapper for the overlap machinery // to perform an overlap computation for...
85c0fa70c9595d222bb2a5c618036c560f47423be5469fa0a36da4c461fe70ab
C/C++
1,797
41
#ifndef LEPTON_WINDOW_INCLUDE_H_ #define LEPTON_WINDOW_INCLUDE_H_ /* * Shared libraries are messy in Visual Studio. We have to distinguish three * cases: * (1) this header is being used to build the Lepton shared library * (dllexport) * (2) this header is being used by a *client* of the Lepton shared *...
540893202930dbb80fbd38d1d12699ab5d7a5782d5c7c3bc0fb78800705e8d5c
C/C++
1,798
44
//---------------------------------------------------------------------- // File: kd_fix_rad_search.h // Programmer: Sunil Arya and David Mount // Description: Standard kd-tree fixed-radius kNN search // Last modified: ??/??/?? (Version 1.1) //---------------------------------------------------------------------- /...
436ec6b2cf41bb64421c72a70252a32667888c29a6755ea347507a1914e276c5
C/C++
1,800
61
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include <limits.h> #include "../ov_defines.h" #include "parameterTraits.h" class ParameterIntObject; namespace OpenViBE { namespace Parameters { class OV_API ParameterInt : public ParameterBase<...
8a4563389bd1da54f35c613dc553b7f1131b384ee8f3314dc7f1ab7e8064e11b
C/C++
1,820
80
#ifndef CONTIG_H #define CONTIG_H #include "Util.h" #include <iostream> #include <ostream> #include <sstream> #include <iterator> // // Enumerations // enum UniqueFlag { UF_UNKNOWN = 0, UF_UNIQUE, UF_REPEAT, UF_NOCALL }; class Contig { public: // // Constructors // ...
99befc93002ceaf1b6d0ecfac987d70589f11e7b178fb2daca1bf966a3c8028c
C/C++
1,824
57
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include <openvibe/ov_all.h> #include <QString> #include <QStringList> namespace OpenViBE { namespace Designer { /** * @brief The SessionManager class persists the designer session from one ru...
e3b098482bcc9f0b891ac7f1a18bf9039f8789c54ad5a3834a5d95f477bf04df
C/C++
1,825
69
/******************************************************************************* 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:...
ad2e4f015db3a33258d78931fa3aab135bc757149a4a528967f7894e6b0dd75d
C/C++
1,828
60
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #pragma once #include <functional> #include <QByteArray> #include <QObject> #include <QString> #include <QUndoStack> namespace OpenViBE { namespace Designer { /** * @brief Undo/redo history of a scenario, as a st...
7a2188a6fec8a55e578fad2c77a8c07d2e0972e4ccaec67241f8a15e0e83d098
C/C++
1,829
51
#pragma once #include "../../ovp_defines.h" #include "ovpCStreamedMatrixEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CSignalEncoder final : public CStreamedMatrixEncoder { public: void release() override { delete this; } bool initialize() override; bool uninitialize()...
49268a4911a31ca013d8b1e21b99afb7a33012b4042c421fbf7837eb2d7e34ae
C/C++
1,833
71
#pragma once /** * @file crc32.h * @brief CRC32 utility functions. * @details This file provides functions to compute CRC32 checksums. */ #include <cstdint> #include <numeric> #include <array> /** * @brief A simple, self-contained utility for CRC32 calculations. */ namespace Crc32Utils { // The CRC32 polyn...
4fa193305b59afb513deee71b92f0962b3033de7f0b46415a0442825ccfcfdf0
C/C++
1,835
71
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // SimplePool - Zero-overhead templated memory pool // The design is based on the pr...
5f74401be5d3a188b1abe1219a5158d4ecef3701a7a6a0a210b0d6a3744661b8
C/C++
1,841
50
#pragma once /** * SPDX-FileCopyrightText: Inria <florent.leray@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ /** * @file SampleBufferHandler.h * @brief Header file for the SampleBufferHandler class. * * This file declares the SampleBufferHandler class, which is responsible for managing * buffers used ...
f2580dd39825cb14b46fdf1fcf3c0a7b085b8ed133564928e3ef6a30327784b5
C/C++
1,846
75
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // Quality - functions for manipulating quality values // #ifndef QUALITY_H #define QUALITY_H...
061e0189e88bd6857d7897c97186e80617001815c0afe29e1f0c132a184367f5
C/C++
1,853
50
#pragma once #include "../../ovp_defines.h" #include "ovpCEBMLBaseEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CStimulationEncoder final : public CEBMLBaseEncoder { public: void release() override { delete this; } bool initialize() override; bool uninitialize() overri...
b659e28f291e73a880fb9815d6e2aab88ab355198a649972965690da7f27ca61
C/C++
1,854
63
#ifndef __EIKONAL_H__ #define __EIKONAL_H__ #include <cstring> #include <vector> #include <time.h> #include "TriMesh.h" #include "tetmesh.h" #include "tetgen.h" #include "meshFIM2d_eikonal.h" #include "meshFIM3dEikonal.h" /** The class that represents all of the available options for Eikonal */ class Eikonal { public...
d12cd5460a06a42caab038b2cf57b0a4bd91df64f8b9b7190472d14c0f706ea7
C/C++
1,858
52
/******************** 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...
e6f9f804a5fc34917a01c8bc41e1ef8010f4577eaa7adc2cfe25274e99ef9794
C/C++
1,858
57
/******************** 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...
b318c1b8cdde45a96f1dddae2d8ec698819f0724be2a9e7057b5426a33b12646
C/C++
1,867
63
/***************************************************************************** * SV_Tools.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 Health Ge...
d55474299de28a4fac167c6e0d9fc20be4e056e7d930b41396196824031522ab
C/C++
1,883
70
/******************** 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...
54d0e80a077b4ec13d4b82203aacf983025e6767ef55c0183ef88725c039fec6
C/C++
1,887
45
/* * 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...
25dc7421232393f5889ab8927c2bc13186d84be8f7412e4a10f3e03ca6a2b4e8
C/C++
1,892
63
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ /* /local/src/master/nrn/src/nrnoc/membdef.h,v 1.2 1995/...
edaa02e031878ff6dcbca54776fccd34eaed21373a3745f405059685586850ca
C/C++
1,895
40
#pragma once #include "../ovkTKernelObject.h" namespace OpenViBE { namespace Kernel { class CBoxListenerContext final : public TKernelObject<IBoxListenerContext> { public: CBoxListenerContext(const IKernelContext& ctx, IBox& box, const size_t index) : TKernelObject<IBoxListenerContext>(ctx), m_box(box), ...
7d8e681b6e26adc65a5831ae0f58ef8adbe9826428f8472e1dd090bc5b1736d5
C/C++
1,898
50
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // BWTDiskConstruction - Implementation of the // BWT disk construction algorithm of Ferragin...
d2838532f4c2ade33e520631ef5b0f6526d943536a59943fe6cb25cedb9708d6
C/C++
1,901
54
#pragma once #include "../../ovp_defines.h" #include "ovpCEBMLBaseEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CStreamedMatrixEncoder : public CEBMLBaseEncoder { public: void release() override { delete this; } bool initialize() override; bool uninitialize() override;...
8226c2934a8c3a36d45c2928f8d1e95c219c7c7d1467cc3e62e71a701390fb52
C/C++
1,909
85
/******************** 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...
9224b6a60c713a56c5c2de0b71f4f092c0451a00c9f01eb8203b35537aa3db85
C/C++
1,909
76
#pragma once #if defined(TARGET_HAS_ThirdPartyMitsar) #if defined TARGET_OS_Windows #include "ovasIDriver.h" #include "../ovasCHeader.h" #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverMitsarEEG202A * \author G...
1b2191a2c714413d96894edb38bd4081fc8b9074ce5b176bb33ddb52ab506eef
C/C++
1,910
74
/** General definitions @author Álvaro Barbero Jiménez @author Suvrit Sra */ #ifndef _GENERAL_H #define _GENERAL_H #include <stdio.h> #include <stdlib.h> #include <string.h> #define _USE_MATH_DEFINES #include <math.h> #include <float.h> #include <limits.h> /* Mex and LAPACK includes */ #ifdef NOMATLA...
e52fb200dc35408fdc65a06f3d506665bae8e68a948098e81457e5a31c51173d
C/C++
1,910
58
/** Optimizers for problems dealing with Lp norm regularization or Lp ball constraints. @author Álvaro Barbero Jiménez @author Suvrit Sra */ #ifndef _LPOPT_H #define _LPOPT_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <float.h> #include <limits.h> #include "g...
0957538de402319d4776bdd2198792ed409ef17e95c7184939f77e16e543b85e
C/C++
1,913
80
/* * \author Christoph Veigl, Yann Renard * * \copyright AGPL3 */ #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_Linux typedef int FD_T...
6f281834451da03dbdc342ccb4f5365bda59be03fc4f3ec21360c01782fdbe94
C/C++
1,914
52
#pragma once #include "../../ovp_defines.h" #include "ovpCEBMLBaseDecoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CStreamStructureDecoder final : public CEBMLBaseDecoder { public: CStreamStructureDecoder(); void release() override { delete this; } bool initialize() overr...
b70fedd5d62feee6aa471269b46c419710b81fdaf86aba14d6ba219b2e90b9b0
C/C++
1,915
86
/***************************************************************************** * SV_BedpeReader.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 Hea...
6d526dad8d08f010912a58f3bfc3164dd86897d49e6eda1fa877cc26647a5e9e
C/C++
1,918
50
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2010 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
b088dad5656132c9e5a067e0b7cc17974d8bf2be5947dd68eee7f32a2b0f4a05
C/C++
1,918
64
//----------------------------------------------- // Copyright 2012 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // PopulationIndex - A structure mapping a read // index to a member of a population // #ifnd...
a537ac8a954eeceaadde164de82fc35e133d486ef556476b9eff9298689eceab
C/C++
1,922
67
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // ReadTable - A 0-indexed table of reads // #ifndef READTABLE_H #define READTABLE_H ...
2e74533829ec46ef2b84fe55e24eb5461d8ef09114c97bfed027ed29e18e0047
C/C++
1,924
53
#pragma once #include "../../ovp_defines.h" #include "ovpCStreamedMatrixEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CChannelLocalisationEncoder final : public CStreamedMatrixEncoder { public: void release() override { delete this; } bool initialize() override; bool u...
1f3e90acb836603933b538e784f5fc92bc0da57cac752af0817c33efff82ea6c
C/C++
1,926
73
//----------------------------------------------- // Copyright 2012 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- #ifndef BLOOM_FILTER_H #define BLOOM_FILTER_H #include <vector> #include <stdint.h> #include <s...
26ea33df26c0116df24c9a3f87a5ee99afcfa4c4eb36a4174058191a0ee7dce9
C/C++
1,927
63
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // HitData - Data structure holding all positions of // alignment hits of a read // #...
1b4c03026054fe71b66f5345d1146b1d074ce08b48c89ec6d474c3676939623f
C/C++
1,929
52
///------------------------------------------------------------------------------------------------- /// /// \file ovIAttributable.h /// \author Yann Renard (IRISA/INRIA). /// \version 1.0. /// \date 07/12/2006. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/...
7ac08e7b06a1b49f47aba279f32dc2b990bbed5bf3bee956f0c9803c91aa2580
C/C++
1,929
57
/******************** 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...
b19be58a425507a46584c8a0cbf892e2795b5fb4d1308ee5c930743ef7800acd
C/C++
1,931
70
/******************** 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...
e54104812df9881487c217b3f24e1fc5a9b046e9b90fd6d889e3abb27dccbb33
C/C++
1,933
72
/***************************************************************************** genomeFile.h (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licensed under the GNU General Public License 2.0 license. ****************...
d6bab594e41aa235b55485b9d40b7838ecbaaa88daa9c645d07283195db6acbd
C/C++
1,938
53
/******************** 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...
6b742555535f9d67ee39965b5dd21235a7dccaf1aae9b17f4529f01df0100fb5
C/C++
1,941
71
#pragma once #include <vector> #include <stdexcept> namespace Common { namespace Converter { #if defined TARGET_OS_Windows // Returns the wstring (ie the utf16 formatted string) version of an utf8 string static std::wstring Utf8ToUtf16(const std::string& utf8) { std::vector<unsigned long> unicode; size_t i =...
b84078e60535d94eeba19edb0ffd4f6b7d1dd0042ececb35ba6f76951b8f7527
C/C++
1,942
50
///------------------------------------------------------------------------------------------------- /// /// \file ovasCHeaderAdapterBrainProductsBrainampSeries.h /// \brief Brain Products Brainamp Series driver for OpenViBE /// \author Yann Renard /// \copyright Copyright (C) 2022 Inria /// /// This program is free s...
1a5520328dcbd4961501605a9a83ad969057d7caa41acc7ee09810756649f60f
C/C++
1,944
40
#pragma once #ifdef _WIN32 /** * @brief Manages the entire firewall rule setup process: checking, elevation, and creation/update. * * If the rule is missing, this function relaunches the application with admin privileges, * then relaunches the final instance with original arguments. The process then exits. * * @pa...
42959d6e339227867713a5488293eddd42ef052f3a662cbaffa668faddb8b0ba
C/C++
1,944
58
/* * Copyright (c) 2018 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...
f0cf687bc1de59c23a1ff08051df6a3137093cdd6c427ac706a212e716ff432b
C/C++
1,956
63
/******************** 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...
b65f3fd6566e82e133d5416d65f8a26a84d8283093711b82f64f815cefc1a2b6
C/C++
1,965
43
// 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...
91856946b84e0fbbef30f1a10719a9d6edb6ab6fd7863067bcaba8e8950435c3
C/C++
1,977
52
#pragma once #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace FileIO { class CAlgorithmOVMatrixFileWriter final : public Toolkit::TAlgorithm<IAlgorithm> { public: void release() override { delete this; } bool initialize()...
83ee3131fda6b72fa3456696f6f87eaedd1b28b549f10eef89e3d32b76778ddf
C/C++
1,979
52
#pragma once #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace FileIO { class CAlgorithmOVMatrixFileReader final : public Toolkit::TAlgorithm<IAlgorithm> { public: void release() override { delete this; } bool initialize()...
0964a0fdd0a27852c549fa85c4d6fca66760285fb0577ea6c8831bacd5428bdb
C/C++
1,984
64
/* * NeuroServo driver for OpenViBE * * \author (NeuroServo) * \date Wed Nov 23 00:24:00 2016 * */ #pragma once #if defined TARGET_OS_Windows #if defined TARGET_HAS_ThirdPartyNeuroServo #include "../ovasCConfigurationBuilder.h" #include "ovasIDriver.h" namespace OpenViBE { namespace AcquisitionServer { /** * \clas...
663f5c693baa81c02c2bb16f0d66838e878b51d4f6a0a5ee020cd02420d78994
C/C++
1,985
73
#pragma once #include "ovas_base.h" #include <gtk/gtk.h> #include <string> #include <map> namespace OpenViBE { namespace AcquisitionServer { class IHeader; class CConfigurationBuilder { public: explicit CConfigurationBuilder(const char* gtkBuilderFilename); virtual ~CConfigurationBuilder(); virtual bo...
36cb420f2a34fb0c00340d9ed8ee74979e4c2ff951453baf0165164cdf776b05
C/C++
1,990
59
#pragma once #if defined(TARGET_HAS_PThread) #include "../ovasCConfigurationBuilder.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CConfigurationFieldtrip * \author Amelie Serpollet (CEA/LETI/CLINATEC) * \date Mon May 23 09:48:21 2011 * \brief T...
a5392708fc0f76fa73c1d5c0885e0c6586080c59ba553c1e14bbc8582af5755f
C/C++
1,990
49
///------------------------------------------------------------------------------------------------- /// /// \file ovasCConfigurationEncephalan.h /// \brief The CConfigurationEncephalan handles the configuration dialog specific to the Encephalan device. /// \author Alexey Minin (UrFU) /// \version 1.0. /// \date 02/01...
e5e31d74be997493164eb8e50c50c2392ac8a051e8f2dd05b40d77df31dc88bb
C/C++
1,992
67
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // GapArray - Data structure and functions used to count // the number of times a suffix of ...
86dc3785baa97bc88ce1b0cf79adfaa8344e4f1de43d5c5328e44ca179b7e522
C/C++
1,993
75
#pragma once #if defined(TARGET_HAS_ThirdPartyLSL) #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <openvibe/ov_all.h> #include <lsl_cpp.h> #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverLabStrea...
a495c96a883d4a6d1c77df2210dfee14d73b0814ba6b255098cc80f1ad4ec071
C/C++
1,993
66
#pragma once #if defined TARGET_HAS_ThirdPartyThinkGearAPI #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <openvibe/ov_all.h> #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" namespace OpenViBE { namespace AcquisitionServer { /** * \class CDriverNeuroskyMindset * \au...