sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
a59512842f91198dff18545b9c5f607198961cf28fdb6c3fed388a9924d55d77
C++
1,760
53
#include <content/differing_byte_searcher.hpp> #include <hex/api/imhex_api/provider.hpp> #include <hex/api/imhex_api/hex_editor.hpp> namespace hex::plugin::builtin { void findNextDifferingByte( const std::function< u64(prv::Provider*) >& lastValidAddressProvider, const std::function< bool(u64, u64...
602c9ea66b4d9a256e5eec1b68d85a0bdc33b2e49671ca2755c85a7e309e25d2
C++
1,761
50
#include "benchmark.h" #include "assembly2vcf.h" #include "splitcounter.h" #define AUTHOR "Jeremiah Wala <jwala@broadinstitute.org>" static const char *SUTILS_USAGE_MESSAGE = "-----------------------------------------------------------------------\n" "--- Snowman Utils - Utililty methods for analyzing/benchmarking SV...
a56ad8d15e45e86c601657406018798f38ab8443ea8ef4424cc12d9590c808de
C++
1,765
53
#include "ovpCStimulationEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { bool CStimulationEncoder::initialize() { CEBMLBaseEncoder::initialize(); ip_stimSet.initialize(getInputParameter(OVP_Algorithm_StimulationEncoder_InputParameterId_StimulationSet)); return true; } bool CS...
2ce1acb5f7db09a686c5aba9c6a597584d39ec31c69e5edd138bb8590baeb1e8
C++
1,768
60
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/apps/corenrn_parameters.hpp" #includ...
1b25346c0ec86d206201f46ee7e12f71b7cad7bce76c3ba26ac73f41c7c4c154
C++
1,772
36
#include "IConnectionSerialDelegate.h" namespace Socket { class CConnectionSerialDelegate final : public IConnectionSerialDelegate { public: explicit CConnectionSerialDelegate(const SConnectionSerialDelegate connectionSerialDelegate) : IConnectionSerialDelegate(connectionSerialDelegate) { m_connectionS...
231ac8c7a3b6f78af972f3a0d3fef08463935ebe49263794c28d03c59f338b25
C++
1,774
71
#include "ovCString.h" #include <string> namespace OpenViBE { struct SStringImpl { std::string m_Value; }; CString::CString() { m_impl = new SStringImpl(); } CString::CString(const CString& str) { m_impl = new SStringImpl(); m_impl->m_Value = str.m_impl->m_Value; } CString::CString(const char...
63f24431a4864d625b2673c9fbbab5c39b4afe34de2e847f65af297e173a67f6
C++
1,775
65
#if !defined(OS_WEB) #include <hex/api/events/requests_lifecycle.hpp> #include <hex/api/imhex_api/system.hpp> #include <wolv/utils/guards.hpp> #include <init/run.hpp> #include <window.hpp> #include <GLFW/glfw3.h> namespace hex::init { int runImHex() { // Initialize G...
31ba4c467a7bcd965627c109f96d8d08cbd8e356bf67e6ae4347f130baf9ae62
C++
1,778
71
/***************************************************************************** fileType.cpp (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. ******************************...
1fccc2da59605ab7ee6a4c6da80c82b53447a01198f952df0b52f2c3608937c8
C++
1,779
69
#include <hex.hpp> #include <hex/helpers/utils.hpp> #include <hex/helpers/logger.hpp> #include <hex/test/tests.hpp> #include <hex/api/plugin_manager.hpp> #include <hex/api/task_manager.hpp> #include <hex/api/imhex_api/system.hpp> #include <hex/api/events/events_lifecycle.hpp> #include <imgui.h> #include <cstdlib> i...
57377784db444f7262b3a975a67e5544f26ddd8b89c5802d3607d79202f76bd6
C++
1,789
70
#include <hex/helpers/udp_server.hpp> #if defined(OS_WINDOWS) #include <winsock2.h> #include <ws2tcpip.h> using socklen_t = int; #else #include <arpa/inet.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #endif namespace hex { UDPServer::UDPServer(u16 port, Callb...
b2abcae62598a20e8fe1605ef864d5c500a78501679b6b699efa7ec22d9cb7b0
C++
1,790
45
// // OpenViBE Tracker // // @author J.T. Lindgren // #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <iostream> #include <system/ovCTime.h> #include "StreamRendererExperimentInfo.h" namespace OpenViBE { namespace Tracker { CString StreamRendererExperimentInfo::renderAsText(const size_t indent...
cde02a886dd814cd2503c025a330fbae92029ed2e71e0a2c413101e8d3fef894
C++
1,790
43
#include "content/popups/hex_editor/popup_hex_editor_paste_behaviour.hpp" #include "content/views/view_hex_editor.hpp" #include <hex/api/content_registry/settings.hpp> namespace hex::plugin::builtin { PopupPasteBehaviour::PopupPasteBehaviour(const Region &selection, const std::function<void(const Region &selecti...
80c99b69e4f92c7e172f46ad9eedbbf4b1c01dce56c71328548e074b46b41bed
C++
1,791
64
/* * Generates a channel units stream with user-specified unit and factor */ #include "CBoxAlgorithmChannelUnitsGenerator.hpp" namespace OpenViBE { namespace Plugins { namespace DataGeneration { bool CChannelUnitsGenerator::initialize() { m_headerSent = false; m_nChannel = size_t(uint64_t(FSettingValueAuto...
8eae5994bbc210a025ac869705fb1513f0df0a1ab25808ef40bf3f0e2ac8c98a
C++
1,795
56
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #include "parameterColorGradientObject.h" namespace OpenViBE { namespace Parameters { ParameterColorGradientObject::ParameterColorGradientObject(const std::string& name, const std::string& description, const QSt...
23d4f71a591258e229f59d9ca8b78dbd74009cb0e6101a624a26831c0ff33296
C++
1,796
49
/******************** 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...
4f796976f6222de87f6b506c230c6b57eb84675833eca34ddd2e24a87366dd71
C++
1,801
53
///------------------------------------------------------------------------------------------------- /// /// \file CCrashingBox.cpp /// \author Yann Renard (Inria) /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the ter...
49548f2fc21c6ea7e8baa06aacae256cd2a1d75904bc604a37cb906fd66e6549
C++
1,808
47
/* * Copyright 2020 Brian Raiter <breadbox@muppetlabs.com> * * 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 appli...
5ccf98cb69c84ac69e45cf45dfb50076244ed9bbccc158ad79cce0edbd15dbdd
C++
1,818
50
#if defined(TARGET_HAS_PThread) #include "ovasCConfigurationFieldtrip.h" #include <toolkit/ovtk_all.h> #include <iostream> #include <fstream> #include <list> namespace OpenViBE { namespace AcquisitionServer { bool CConfigurationFieldtrip::preConfigure() { const bool res = CConfigurationBuilder::preConfigure();...
3ce078837370203fbb262383b099ff787cefbacadd6fad9ceffd738c7563325e
C++
1,821
67
///----------------------------------------------- // Copyright 2011 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // BWTIntervalCache - Array of cached bwt intervals for all // substrings of a fixed length ...
e93aa3f11632647bb9f7a298ce2587fd2c6a41cbf3f06510caf75a1c960c1434
C++
1,821
92
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // BitVector - Vector of bits // #include "BitVector.h" #include <assert.h> #include...
5a45c3aa1a859c26873a4cb282e6044632dfc67d81d41f7744b1272ad050a0f3
C++
1,827
54
#include "CTime.hpp" #include <sstream> #include <iomanip> namespace OpenViBE { //-------------------------------------------------------------------------------- CTime& CTime::operator=(const CTime& time) { m_time = time.m_time; return *this; } //-------------------------------------------------------------...
f80a8f8cb94633135f36f96a65bd17a7baef2375acc93595f37bbd29dbb77728
C++
1,830
49
#include "TrackerPluginChannelCheck.h" #include "Stream.h" #include "TypeSignal.h" namespace OpenViBE { namespace Tracker { bool TrackerPluginChannelCheck::process(Workspace& wp, ParallelExecutor& /* exec */) { log() << Kernel::LogLevel_Info << "TrackerPluginChannelCheck: Testing if all selected signal streams h...
015bad73b07b32c11ef1b5a097e82e2f0c2eafee5f3fd005036b5a01aa2a3d7d
C++
1,833
77
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #include "ScenarioParameterConnection.h" namespace OpenViBE { namespace Designer { ScenarioParameterConnection::ScenarioParameterConnection(Kernel::IKernelContext* context, const QString& scenarioParameterNam...
4eb264376b1fa90cd63ae576faa06efa4dfb69f1f955870148b2ade9d32654b0
C++
1,851
56
#include "ovkCLogListenerFile.h" #include <sstream> #include <iostream> #include <fs/Files.h> namespace OpenViBE { namespace Kernel { CLogListenerFile::CLogListenerFile(const IKernelContext& ctx, const CString& applicationName, const CString& logFilename) : TKernelObject<ILogListener>(ctx), m_applicationName(ap...
75082d21c48e9226aee865c2bfe212da68460817d9ab4df254ca4bc6b04e9ce0
C++
1,862
42
#include "ovasCConfigurationDriverGenericOscillator.h" namespace OpenViBE { namespace AcquisitionServer { CConfigurationDriverGenericOscillator::CConfigurationDriverGenericOscillator(IDriverContext& ctx, const char* gtkBuilderFilename, bool&...
70e7d4d0bf317c9297e6c82bec63aa0a799dc17c90206656ce7af98be1667e27
C++
1,866
52
//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...
92a0245a051c5f89c5f123f4cb232662dcfc73fc0073f9bfb685c773dde16e22
C++
1,876
77
#include "Fractions.h" using namespace SeqLib; FracRegion::FracRegion(const std::string& c, const std::string& p1, const std::string& p2, const SeqLib::BamHeader& h, const std::string& f) : SeqLib::GenomicRegion(c, p1, p2, h) { // convert frac to double try { frac = std::stod(f); } catch (...) { ...
e75c30f5b8f650492b26f5b2e69bfcfbd328cd0a4399348d35766b7d07d6c8b4
C++
1,878
53
/******************************************************************************* 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:...
3f9043fb2df6e3473a5eed88f8fd26da198502f8c702e96932f7fdb1fa4160f2
C++
1,880
31
// Generated by rstantools. Do not edit by hand. #include <Rcpp.h> using namespace Rcpp ; #include "stanExports_dm_glm.h" RCPP_MODULE(stan_fit4dm_glm_mod) { class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_dm_glm") .constructor<SEXP,SEXP,SEXP>() .method("call_sampler", &rstan::...
dbe3f7b3ea5eb708c4827531ce00e9b858eb51e57316392a2922ee33637ded80
C++
1,880
31
// Generated by rstantools. Do not edit by hand. #include <Rcpp.h> using namespace Rcpp ; #include "stanExports_bb_glm.h" RCPP_MODULE(stan_fit4bb_glm_mod) { class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_bb_glm") .constructor<SEXP,SEXP,SEXP>() .method("call_sampler", &rstan::...
55f96b4fdf0c56fc08eee723deae782a4f604d41cc08978763c500c5efd416c9
C++
1,885
59
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "ScenarioHistory.h" #include <QUndoCommand> namespace OpenViBE { namespace Designer { class ScenarioHistory::SnapshotUndoCommand : public QUndoCommand { public: SnapshotUndoCommand(const RestoreCallbac...
91aa1aa602689fcff4bc7980712e3a53afba8c3d36e3e59a9919aefb9b924fb1
C++
1,895
54
///------------------------------------------------------------------------------------------------- /// /// \file AbsctractEntropyCalculator.cpp /// \brief Classes of the Box Entropy Measures. /// \author Axel Bouneau (Inria). /// \version 1.0. /// \date Mon Jan 29 10:00:00 2024. /// \Copyright (C) 2024 Inria /// //...
c338564a14cef7459c0abfaab96609e9b20bab53261b3f3b21a83ee5cb5a7ed1
C++
1,895
51
///------------------------------------------------------------------------------------------------- /// /// \file ovasCHeaderAdapterBrainProductsBrainampSeries.cpp /// \brief Brain Products Brainamp Series driver for OpenViBE /// \author Yann Renard /// \copyright Copyright (C) 2022 Inria /// /// This program is free...
58b3530a321c63debd173919c6d0c87818de9ca599939228146bd875ac5c09d5
C++
1,899
71
#include <hex/test/tests.hpp> #include <hex/api/http/store_api.hpp> #include <hex/api/http/tips_api.hpp> #include <hex/helpers/http_requests.hpp> #include <wolv/io/file.hpp> #include <array> #include <iterator> TEST_SEQUENCE("StoreAPI") { std::array<std::future<hex::StoreApi::Request>, 8> requests; for (auto...
6e002a40719cb61b3420422e14f03b341ccd1cc4ce3bcde918e07ffdb2e98306
C++
1,901
66
/* * 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 version. * * This program is distributed in the hope that it wil...
7fa521090e1a1615addefb530c26304fc5fe85a88341d1625e812b9232db8f25
C++
1,901
31
// Generated by rstantools. Do not edit by hand. #include <Rcpp.h> using namespace Rcpp ; #include "stanExports_dm_glm_robust.h" RCPP_MODULE(stan_fit4dm_glm_robust_mod) { class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_dm_glm_robust") .constructor<SEXP,SEXP,SEXP>() .method("ca...
6f63e3cd78a876094357d24bbf8582bd28a8a649bf1180bdcb86c48045fd8c3f
C++
1,905
51
//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...
cc81f91b9a7744f560bccc5665367fc0457aec0cdf2d3beade90080291c4e1ab
C++
1,905
64
#include <hex/helpers/http_requests.hpp> #include <hex/helpers/crypto.hpp> #include <hex/helpers/fmt.hpp> #include "boost/regex.hpp" namespace hex { size_t HttpRequest::writeToVector(void *contents, size_t size, size_t nmemb, void *userdata) { auto &response = *static_cast<std::vector<u8>*>(userdata); ...
e4b20e9fa3a972786942ce887b8c3e83740a9baa6e27cb0728ae9ee7cf4b0249
C++
1,907
31
// Generated by rstantools. Do not edit by hand. #include <Rcpp.h> using namespace Rcpp ; #include "stanExports_bb_glm_fix_conc.h" RCPP_MODULE(stan_fit4bb_glm_fix_conc_mod) { class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_bb_glm_fix_conc") .constructor<SEXP,SEXP,SEXP>() .meth...
7931a79e02257b87c57b840fa670ab4a109aa81b6208e571ee47ff21074ee228
C++
1,913
31
// Generated by rstantools. Do not edit by hand. #include <Rcpp.h> using namespace Rcpp ; #include "stanExports_dm_glm_multi_conc.h" RCPP_MODULE(stan_fit4dm_glm_multi_conc_mod) { class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_dm_glm_multi_conc") .constructor<SEXP,SEXP,SEXP>() ...
b4ebdf32fed64a5e587d17ef554ef48ac380c71dd60c6ba8c58206341b446d8d
C++
1,917
60
/******************************************************************************* 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:...
132e1fbae1d49429d5cb2985f40c97fd9a8cce4fed4e24baddbb8258c10ac812
C++
1,922
74
/***************************************************************************** tabFile.cpp (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. *****************...
1af3ada7f4d9152d296a9b0b8b62eb5e4bab4a4b9ac8a327137ac6513ec1a91f
C++
1,922
68
/* * \author Christoph Veigl, Yann Renard * * \copyright AGPL3 * */ #include "ovasCConfigurationOpenEEGModularEEG.h" #include <sstream> namespace OpenViBE { namespace AcquisitionServer { CConfigurationOpenEEGModularEEG::CConfigurationOpenEEGModularEEG(const char* gtkBuilderFilename, uint32_t& usbIdx) : CConf...
a12a30de72294973eb66bf04332d40cbcc634927e001a1a407879fcb32ca138e
C++
1,922
70
#if defined(OS_WEB) #include <hex/helpers/http_requests.hpp> #include <fmt/format.h> namespace hex { std::string HttpRequest::StatusCode::toString() const { return std::visit(wolv::util::overloaded { [](BackendStatus status) -> std::string { return "fetch() error " + std::to_...
d8bcb5417e57b06a82c3da72e91ca770d32ee5ca010edcc10d39b009f91f2676
C++
1,934
58
#include <hex/api/content_registry/reports.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/utils.hpp> #include <hex/providers/provider.hpp> namespace hex::plugin::builtin { namespace { } void registerReportGenerators() { // Generate provider data description report ContentRegi...
3c21a3f1b199033445f7775a258d89a244654988a1089db6b60587fddf44f7b3
C++
1,939
47
#include <ui/visualizer_drawer.hpp> #include <hex/api/localization_manager.hpp> #include <hex/helpers/scaling.hpp> #include "imgui.h" namespace hex::ui { void VisualizerDrawer::drawVisualizer( const std::map<std::string, ContentRegistry::PatternLanguage::impl::Visualizer> &visualizers, co...
88b4aa45d5036a0cc2aa3df61a91be70620302af4009481853ac56bda6689cc7
C++
1,940
86
#include "ovkCLogManager.h" namespace OpenViBE { namespace Kernel { bool CLogManager::isActive(const ELogLevel level) { const auto it = m_activeLevels.find(level); if (it == m_activeLevels.end()) { return true; } return it->second; } bool CLogManager::activate(const ELogLevel level, const bool active) { ...
d17b611655e6e175e10accf5601f5b1cd2f128e2d9fac984be3c2a6900b86b84
C++
1,963
61
#include "ovasCDriverGenericRawFileReader.h" #include "ovasParameterHelper.h" namespace OpenViBE { namespace AcquisitionServer { CDriverGenericRawFileReader::CDriverGenericRawFileReader(IDriverContext& ctx) : CDriverGenericRawReader(ctx), m_filename("Filename", "The name of the file to read", "", OpenViBE::P...
09ac9784e5bb596295df3ef15e1620e48fa94077222b581e278129f1abc78ccf
C++
1,970
41
#include "ovasCConfigurationEncephalan.h" #include <gtk/gtk.h> namespace OpenViBE { namespace AcquisitionServer { //--------------------------------------------------------------------------------------------------- CConfigurationEncephalan::CConfigurationEncephalan(IDriverContext& driverContext, const char* gtkFileN...
2cc36013aff7207d4f7c9b8470914b9863d4853e66d4b9eef717794769e1b884
C++
1,974
62
///------------------------------------------------------------------------------------------------- /// /// \file CMouse.cpp /// \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 as published...
60747d03aaf94ace79d5e27bc8eb24428627b6dbbd386b8e06a4e0398695dd3e
C++
1,974
56
///------------------------------------------------------------------------------------------------- /// /// \file main.cpp /// \author Thibaut Monseigne / Inria. /// \version 2.0. /// \date 19/04/2022. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify...
acba91f018a2ca89090eb59473c3f79dc1ea096216e02c42162679ad80a43683
C++
1,977
47
#include "ovasCSettingsHelper.h" namespace OpenViBE { namespace AcquisitionServer { // Save all registered variables to the configuration manager void SettingsHelper::save() { for (auto it = m_properties.begin(); it != m_properties.end(); ++it) { std::stringstream ss; ss << *(it->second); ...
2dcbfef893fd77209e8381f02296116d62bf649ecddcf8a05e7b0c9c5e5bd698
C++
1,986
90
/* -*- 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...
8618fd2d33a38d46883c25da1ed02a3e5a8426626dd90c0795b488b5df29acc3
C++
1,991
53
//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...
b8a0e7265f1eecef6c3a152acd8740be92ae2d78e45ef40c678ea2e69ae44fe9
C++
1,999
67
#include "ovpCSignalDecoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { // ________________________________________________________________________________________________________________ // bool CSignalDecoder::initialize() { CStreamedMatrixDecoder::initialize(); op_sampling.initial...
c528e3fd37fad705662a7eab47bf14a764a1f454fa70b9b37298f1db267ca2ef
C++
2,009
50
///------------------------------------------------------------------------------------------------- /// /// \file main.cpp /// \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 as published /...
e0ba8345ecacf950da1f939f8c40a9bb1645440b7ebbe008713bb92dbc1e965b
C++
2,009
61
#include "../ovkTKernelObject.h" #include "ovkCMetadata.h" #include "ovkCScenario.h" #include "../ovkCObjectVisitorContext.h" namespace OpenViBE { namespace Kernel { bool CMetadata::setIdentifier(const CIdentifier& identifier) { OV_ERROR_UNLESS_KRF(m_id == CIdentifier::undefined(), "Meta...
0c9b7a7831cb7d39649f82bcb97e2837d6e73cbc05bcf83ffd8dda5b56cbb46a
C++
2,015
73
#include <hex/api/achievement_manager.hpp> #include <hex/api/events/requests_interaction.hpp> #include <hex/api/task_manager.hpp> #include <hex/api/imhex_api/system.hpp> #include <hex/api/content_registry/settings.hpp> #include <hex/api/tutorial_manager.hpp> #include <hex/api/shortcut_manager.hpp> #include <hex/api/ev...
c88efb1be3970cf582c6eb72da7b7989b61df4bfedc0f5bed21cababb07e6e4b
C++
2,028
79
/******************** 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...
f136447d2c6912f48c534c4f96c523f8eb8ae5adf66f7565eb29573883d68921
C++
2,031
79
/******************** 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...
72ed0d1c1f169f3e19c43131b269619484688a75e858304296916b9be19a868c
C++
2,035
80
// SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "CommentObject.h" namespace OpenViBE { namespace Designer { CommentObject::CommentObject(Kernel::IKernelContext* kernelCtx, Kernel::IComment *comment) : m_kernelCtx(kernelCtx), m_comment(comment) { if (m_...
cad0f9aaeb89fc6f37e8e744a8f4b09d5ea5a74ab0a71e666cddf9625cdbc586
C++
2,038
76
/******************************************************************************* 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:...
66a885b33ffe88c6ad8ead516dd65dd038e02fbeb78b5b72b00c2f3062a02e09
C++
2,047
57
#include <algorithm> // std::sort #include "TrackerPlugins.h" #include "TrackerPluginCountStimulations.h" #include "TrackerPluginChannelCheck.h" namespace OpenViBE { namespace Tracker { TrackerPlugins::TrackerPlugins(const Kernel::IKernelContext& ctx) : Contexted(ctx) { // Declare all plugins here m_pluginCr...
dde012ede502fb9d49f3d23c27ce7f5c93ba2447631a65e57afc12f44066d96c
C++
2,049
43
#include "system/WindowsUtilities.h" #if defined TARGET_OS_Windows #include "m_ConverterUtf8.h" #include <ShellAPI.h> #include <stringapiset.h> namespace System { std::wstring WindowsUtilities::convertUtf8ToWide(const std::string& str) { const int count = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), static_cast<i...
edd3855faa92ae5f9245439d2506a739becdcbc3ede471efaeac848b8f490333
C++
2,061
84
//----------------------------------------------- // Copyright 2009-2013 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SGAStats - Common statistics functions used // throughout the program // #include "S...
1770ffdba9c8a71121a776e43e5a6d6336f96546fdc4fb44661961fb5bf5216e
C++
2,063
58
///------------------------------------------------------------------------------------------------- /// /// \file RendererTools.cpp /// \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 as pu...
fee1b9bef9c336266431ff1ae81b2a7cb69d3ed979359f55693188bb306a11d8
C++
2,079
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...
4c5ffad1c3c3b1139d814b38187cea274d1f23586482c75b9e62e5847ad56478
C++
2,088
70
#include <ui/line_comment.hpp> #include <algorithm> namespace hex::ui { namespace { /** * @brief Gets the index of the first character that is not a space or tab * @return The length of `line` if there is no such character */ size_t indentOf(std::string_view line) { ...
a089864e99da1275f1cf0b4e95ec5e9984e194050a9a927e531048dabbbb4518
C++
2,096
68
#include "ovpCBoxAlgorithmSynchro.h" namespace OpenViBE { namespace Plugins { namespace SignalProcessing { bool CBoxAlgorithmSynchro::initialize() { m_inputChannel.initialize(this); m_outputChannel.initialize(this); m_stimulationReceivedStart = false; return true; } bool CBoxAlgorithmSynchro::uniniti...
bf3801a9d2a875a181bd11a24281a8778c96d489c889fcfa2811084d46dd9d6c
C++
2,098
85
#include "ebml/IReaderHelper.h" #include <string> #include <cstring> namespace EBML { namespace { class CReaderHelper final : public IReaderHelper { public: CReaderHelper() { } uint64_t getUInt(const void* buffer, const size_t size) override; int64_t getInt(const void* buffer, const size_t size) override;...
e6e6cff693ca2e5e89f1ad7095499ba1ec79cb3ac08e1287ab5b7eb870c69318
C++
2,108
50
#if defined(TARGET_HAS_ThirdPartyMitsar) #if defined TARGET_OS_Windows #include "ovasCConfigurationMitsarEEG202A.h" #include <windows.h> namespace OpenViBE { namespace AcquisitionServer { CConfigurationMitsarEEG202A::CConfigurationMitsarEEG202A(const char* gtKbuilderXMLFileName, uint32_t& refIndex, bool& eventAndBi...
96843c9992c053b74b56f574362b2e3f4c0b14f1c47ef248aaea1c935cbd1366
C++
2,113
81
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/nrnconf.h" #include "coreneuron/sim...
055779c4c3fd8a8bd5f151b26854b4398f7caaf864f8b5efff9f2b5db9a5202e
C++
2,130
85
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SeqCoord - A data structure holding the coordinate // of a substring of a sequence which c...
89a255c886ee025261443d3afbc3d672e14e0e9da37b28de7af2d460536ca289
C++
2,130
80
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // InverseSuffixArray - The inverse of a generalized suffix array // Implemented as a Vector ...
7a34a9bc90b2e70e32fe729fea906ff3e4a4b900d1d1ef437c1c4055b7a336f8
C++
2,135
80
/******************** 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...
f6aa0ca7ca970ee96a5af93f5d507a6f3db3047b6e626a5b846ee69e44f2f1dd
C++
2,141
60
#include <optional> #include <hex/api/imhex_api/messaging.hpp> #include <hex/api/imhex_api/system.hpp> #include <hex/api/events/events_lifecycle.hpp> #include <hex/api/events/requests_lifecycle.hpp> #include <hex/helpers/logger.hpp> #include "messaging.hpp" namespace hex::messaging { void messageReceived(const ...
a7d803918c209635a0c2cca7bb83dd8802cf13d7ec8ef7dd0ea218eb25886e4e
C++
2,151
74
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #include <algorithm> #include <functional> #include <nume...
41ef5833bb17091d30c1dd09cebd46520c2374ef28ee0b2eb148d9dfff810917
C++
2,157
50
#include "ovtkCAlgorithmClassifierTrainer.h" #include "ovtkCFeatureVectorSet.hpp" namespace OpenViBE { namespace Toolkit { bool CAlgorithmClassifierTrainer::process() { Kernel::TParameterHandler<CMatrix*> ip_featureVectorSet(this->getInputParameter(OVTK_Algorithm_ClassifierTrainer_InputParameterId_FeatureVectorSe...
3f8b74764e7175609a63a9607e69b9926a5bdc4678d5ce092933917c7ed487c9
C++
2,159
67
#include <hex/providers/concatenated_provider.hpp> #include <algorithm> #include <cstring> #include <limits> namespace hex::prv { ConcatenatedProvider::ConcatenatedProvider(std::vector<Segment> segments) { for (const auto &[provider, region] : segments) this->add(provider, region); } ...
5ad7e655a8b774b7948e5cd3b7bac7b39dde44283dbc978131d8febeabfef417
C++
2,159
66
/* * Receives data from OpenViBE's VRPN boxes * * See here: http://openvibe.inria.fr/vrpn-tutorial-sending-data-from-openvibe-to-an-external-application/ * */ #include <iostream> #include <vrpn_Button.h> #include <vrpn_Analog.h> void VRPN_CALLBACK VrpnButtonCallback(void* userData, vrpn_BUTTONCB button) { s...
9095b39cfdcaddc5935b910dd470bf2b13a5509f7a6d22e79b73503837df050a
C++
2,172
61
#include <hex/api/localization_manager.hpp> #include <hex/helpers/scaling.hpp> #include <hex/trace/stacktrace.hpp> #include <imgui.h> #include <ui/text_editor.hpp> #include <hex/ui/imgui_imhex_extensions.h> namespace hex::plugin::builtin { void drawDemangler() { static std::string mangledName, demangledN...
17a494e81895102fa52747e75e328306061c670a9119b0b8f826f6ac0feb72bb
C++
2,182
101
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // Alphabet.h - Abstraction of the alphabet // that is used in the suffix array, fm-index, //...
7ab453c7bdfaacbfd8163fa50db4fa13913882e75a9c056026edfc8e409aa31e
C++
2,194
60
///------------------------------------------------------------------------------------------------- /// /// \file CStringSettingView.cpp /// \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 ...
b6cd5bea3e8b36c245cd1f818fcd2d40478c8c1319278626002a94bbe5829ad8
C++
2,196
77
/* Szymon Rusinkiewicz Princeton University TriMesh_pointareas.cc Compute the area "belonging" to each vertex or each corner of a triangle (defined as Voronoi area restricted to the 1-ring of a vertex, or to the triangle). */ #include <stdio.h> #include "TriMesh.h" // Compute per-vertex point areas void TriMesh::ne...
facf619763c9101697e4e93b9afe33107999cf0d9ca54d0ee41e76ec65aedd8e
C++
2,209
65
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #include "mem_layout_util.hpp" namespace coreneuron { /...
e6497cf4857c400b2a6bb31722346c6e366cb63cac60330a01b448bbd13d3619
C++
2,214
76
/******************** 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...
22987908db78dc755b3e23f8944e2f0b23416783b897a7df6326b072bfe61735
C++
2,230
81
//----------------------------------------------- // Copyright 2012 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // QualityTable - A 0-indexed table of quality strings // #include <iostream> #include <algor...
99b5711d98d704b3046c07449b4ad4024d23927da31b319596edc143763f43a2
C++
2,231
67
#include "ovpCChannelLocalisationDecoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { // ________________________________________________________________________________________________________________ // bool CChannelLocalisationDecoder::initialize() { CStreamedMatrixDecoder::initialize(...
80dd2bed8de8df328dbae623ca4d33f67b098a101d9d3d1e3420379afcdd3126
C++
2,232
52
#include "ovp_defines.h" #include "algorithms/ovpCAlgorithmOVMatrixFileReader.h" #include "algorithms/ovpCAlgorithmOVMatrixFileWriter.h" #include "algorithms/xml-scenario/ovpCAlgorithmXMLScenarioExporter.h" #include "algorithms/xml-scenario/ovpCAlgorithmXMLScenarioImporter.h" #include "box-algorithms/csv/ovpCBoxAlgo...
873d0adff78c946a34fa415ad3bd801ed21a7c8aea8caee51f70efc183164bbf
C++
2,233
63
#include <hex/api/localization_manager.hpp> #include <hex/helpers/scaling.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> namespace hex::plugin::builtin { void drawInvariantMultiplicationDecoder() { static u64 divisor = 1; static u64 multiplier = 1; static u64 numBits =...
567b67d54c19e9aa8cff0ffe0122d89bb593bcc6c1fd10d7f15d2091bbe58545
C++
2,251
78
#include "box-algorithms/ovpCBoxAlgorithmPython3.h" #ifdef TARGET_OS_Windows #include "windows.h" #endif #include <string> #include <iostream> //------------------------------------------------------------------------------------------------- class CPython3Initializer { public: CPython3Initializer(); ~CPytho...
541df1ef5e786a924d77675fef5e1a791b5413dd5e47e528e7e55e70fe76ae3e
C++
2,258
61
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmIdentity.cpp /// \brief Classes implementation for the Box Identity. /// \author Yann Renard (Inria). /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// This program is free so...
034894cc4d339e8f5a40350ec6fcace368f47e4be3efdf6ccadb872d39acb01e
C++
2,259
70
/* -*- 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...
192900f7aa0e202667d0a270bf7ffd8e4852fdec0532c8f34290e5905e6009f1
C++
2,260
59
//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...
268c7c1d792ce599a96ca2815753ea8f9c2011a02b15eb1d9950b35dce8bca8f
C++
2,270
81
#include <Python.h> // This stuff is mostly from main.cpp in the qdist code #include <iostream> #include <string> #include <cstdlib> #include <algorithm> #include <set> // #include "Util.hpp" #include "NewickParser.hpp" #include "Tree.hpp" #include "TreeUtil.hpp" #include "QDist.hpp" static const std::string &Extrac...
5ae76ac3a494bb71cdf7f47fe124ff058561a01d576c4deb64c404bfb8c511cf
C++
2,277
59
#include <hex/helpers/utils.hpp> #include <content/visualizer_helpers.hpp> #include <imgui.h> #include <imgui_internal.h> #include <hex/ui/imgui_imhex_extensions.h> #include <pl/patterns/pattern_array_static.hpp> #include <pl/patterns/pattern_array_dynamic.hpp> #include <pl/patterns/pattern_bitfield.hpp> namespace...
a8800a62177aa9eab146f871de9cd74175728d88caf9d6d04b6f9fded68e9bd4
C++
2,277
87
/***************************************************************************** * SV_Evidence.cpp * (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...
ec03c4e3ce737ea7388bce1fbc26154d585bd878a633a0bf2be4d4633609ab60
C++
2,281
76
#include "ovkCLink.h" #include "ovkCScenario.h" #include "../ovkCObjectVisitorContext.h" namespace OpenViBE { namespace Kernel { bool CLink::initializeFromExistingLink(const ILink& link) { m_id = link.getIdentifier(); m_srcBoxID = link.getSourceBoxIdentifier(); m_dstBoxID = link.g...
7e0099456b0e673f2afca96c001851d248e28b26b7503751baad204b4ddad3bd
C++
2,285
71
///------------------------------------------------------------------------------------------------- /// /// \file SlidingWindowHelper.cpp /// \brief Classes of the Box Entropy Measures. /// \author Axel Bouneau (Inria). /// \version 1.0. /// \date Mon Jan 29 10:00:00 2024. /// \Copyright (C) 2024 Inria /// /// This ...
d6ccdb1832ebf7c1cf19361a6aadf08ccd471b56c04b18562e2b1967a0681d80
C++
2,286
54
#include <Rcpp.h> using namespace Rcpp; // This is a simple example of exporting a C++ function to R. You can // source this function into an R session using the Rcpp::sourceCpp // function (or via the Source button on the editor toolbar). Learn // more about Rcpp at: // // http://www.rcpp.org/ // http://adv-r.ha...