sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
12bd10f116711f71199c95b4e039d12483353bc199458f8cb6c37bf0ad80bfe2 | C++ | 1,282 | 28 | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppEigen.h>
#include <Rcpp.h>
using namespace Rcpp;
RcppExport SEXP _rcpp_module_boot_stan_fit4bb_glm_mod();
RcppExport SEXP _rcpp_module_boot_stan_fit4bb_glm_fix_conc_mod();
Rc... |
4be9a7d284a8d8e6358989299f2c243266cc9b958c2977ea54f6a593534c50b5 | C++ | 1,286 | 45 | #include <hex/helpers/debugging.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/trace/stacktrace.hpp>
namespace hex::dbg {
namespace impl {
bool &getDebugWindowState() {
static bool state = false;
return state;
}
}
static bool s_debugMode = false;
bool ... |
17aae6bf7c598efcf5c92245e6e4ab29b42005028693e9caa4b61fec178b66f9 | C++ | 1,287 | 66 |
#include "Random.h"
#include "SequenceAlignment.h"
#include "Parallel.h"
int main(int argc, char* argv[]) {
string datafile = argv[1];
string partfile = argv[2];
string contfile = argv[3];
double minfrac = atof(argv[4]);
string outfile = argv[5];
SequenceAlignment* ali = new FileSequenceAlignment(datafile,0,... |
0f8ceebc1555f1d79a9fd9aeadf3d491b1b37e314dbfa87139c29e477c56d821 | C++ | 1,288 | 38 | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(... |
14f194845185e35b841f27e013fb77ef23f7bcacadc07993a6d7a964ddf2f64b | C++ | 1,292 | 47 | #include <hex/helpers/codepage.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/unicode.hpp>
#include <span>
namespace hex {
const Codepage& Codepage::ascii() {
static const Codepage asciiCodepage = [] {
Codepage result;
for (size_t byte = 0; byte <= 0x7F; byt... |
2e3dceffeac3c5a9bffa7881ca5c7e3c8c036f9a0a5bd4d06e0ed9559ff9510b | C++ | 1,296 | 35 | #include <hex/api/imhex_api/provider.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/magic.hpp>
#include <hex/helpers/utils.hpp>
#include <pl/core/evaluator.hpp>
namespace hex::plugin::builtin {
void registerPatternLanguagePragmas() {
... |
4084b60c3d9a2d819f1e0356af9475fb932b323d7aa5ce5fa74b61f49e7fcfc4 | C++ | 1,298 | 51 | #include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeSignal.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeSignal, Toolkit::TSignalDecoder<BoxAlgorithmProxy>>::getHeaderImpl(TypeSignal::Header& h)
{
h.m_Sampling = m_im... |
b89bdb3443daf13c3afc6b02d3b8bbf016ab22e5100b430510b65e07db793fea | C++ | 1,311 | 37 | #include <hex/api/imhex_api/system.hpp>
#include <hex/api/content_registry/communication_interface.hpp>
#include <hex/api/events/requests_interaction.hpp>
#include <nlohmann/json.hpp>
namespace hex::plugin::builtin {
void registerNetworkEndpoints() {
ContentRegistry::CommunicationInterface::registerNetwo... |
95b76779f95f425feb81b56486379b8c43935e71426b3d278b733568ff8345b6 | C++ | 1,312 | 37 | #include <content/helpers/constants.hpp>
#include <nlohmann/json.hpp>
#include <wolv/io/file.hpp>
#include <wolv/utils/string.hpp>
namespace hex::plugin::builtin {
ConstantGroup::ConstantGroup(const std::fs::path &path) {
if (!wolv::io::fs::exists(path))
throw std::runtime_error("Path does no... |
c389c5bdf4cf283dacfeeaa437228697f044d135ca4c5245ffbf5499db131e35 | C++ | 1,312 | 47 |
/********************
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... |
235a522b6c407a95cda1d85a1aa2240bdc1c0562a79263d7878ae7cd8f0935ab | C++ | 1,321 | 51 | #include <algorithm>
#include <hex/api/event_manager.hpp>
namespace hex {
std::multimap<void *, EventManager::EventList::iterator>& EventManager::getTokenStore() {
static std::multimap<void *, EventManager::EventList::iterator> tokenStore;
return tokenStore;
}
EventManager::EventList& Ev... |
3c604c5b2278b771874d72289d5136b47f18e37f28a9e618f4549f1839985f1f | C++ | 1,330 | 36 | #include "ovp_defines.h"
#include "box-algorithms/ovpCGDFFileReader.h"
#include "box-algorithms/ovpCGDFFileWriter.h"
#include "box-algorithms/ovpCBCICompetitionIIIbReader.h"
#include "algorithms/brainamp/ovpCAlgorithmBrainampFileReader.h"
#include "box-algorithms/brainamp/ovpCBoxAlgorithmBrainampFileReader.h"
#includ... |
6e6d652e9c2e011750d94bb1f6dc00b8454eef3fa1b9cd725355b873cbaa3f5d | C++ | 1,330 | 39 | #include "ovpCBoxAlgorithmClock.h"
namespace OpenViBE {
namespace Plugins {
namespace Examples {
uint64_t CBoxAlgorithmClock::getClockFrequency()
{
getLogManager() << m_logLevel << "Clock frequency requested at time " << CTime(getPlayerContext().getCurrentTime()) << "\n";
return m_clockFrequency << 32;
}
boo... |
ce49c564a4cd72dd3b0334c23ad45841b2708df65776c877d4422a5894fba859 | C++ | 1,346 | 50 | // @todo this is identical to CodecFeatureMatrix. Refactor?
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeFeatureVector.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeFeatureVector, Toolkit::TFeatureVectorDecoder<B... |
683d61cf31df0a469b8de602de0085e32bc83c28be522a3172784cc6ff9072c3 | C++ | 1,349 | 34 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \brief Main file for Data Generation plugin, registering the boxes to OpenViBE
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or mo... |
9324fd9ef2bab24984880df1d933be9cb375c647df0c9b79297e9bbd6ed14071 | C++ | 1,350 | 36 | #include "ovasCConfigurationOpenALAudioCapture.h"
#if defined TARGET_HAS_ThirdPartyOpenAL
namespace OpenViBE {
namespace AcquisitionServer {
/*_________________________________________________
Insert callback to specific widget here
Example with a button that launch a calibration of the device:
//Callback connected... |
f18f80c2fc55089aaa3b78dbbb9551186fe5ccc2ffde1a04267d5803d03828c1 | C++ | 1,352 | 39 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <math.h>
#include <stdlib.h>
#include "coreneuro... |
e66fc205bb978c1e8d8971b0cdc7b0024de04b99f1742d00107eeca46d3ce4ef | C++ | 1,354 | 60 | /* -*- 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... |
966f89c3958dced4b49bfbaad027692c3b08615e6a861b61906ec9f628a6cce3 | C++ | 1,356 | 44 | /*******************************************************************************
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:... |
cca412051707516efe2a76c50b8f0f761cae5b19aa2aaf30e5cd5340a2c0d69f | C++ | 1,357 | 34 |
/********************
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... |
439607fa6f8ee51830d83609481ce0ff66091e5cc8692b6c7db022413a825906 | C++ | 1,358 | 51 | #include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeChannelUnits.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeChannelUnits, Toolkit::TChannelUnitsDecoder<BoxAlgorithmProxy>>::getHeaderImpl(TypeChannelUnits::Header& h)
{... |
e962f3ea8144f8afe9956377c8127ae0103b8d48024f39cb7f129d93faa14f60 | C++ | 1,359 | 42 | #include <hex/test/tests.hpp>
namespace hex::test {
static std::map<std::string, Test> s_tests;
int Tests::addTest(const std::string &name, Function func, bool shouldFail) noexcept {
s_tests.insert({
name, { .function=func, .shouldFail=shouldFail }
});
return 0;
}
... |
420656b6405c44a7ec9cdeef298765d5ef77fc1e290492d7f1f66abba2e2a121 | C++ | 1,365 | 41 | #include "ovasCConfigurationEGIAmpServer.h"
#include <toolkit/ovtk_all.h>
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
bool CConfigurationEGIAmpServer::preConfigure()
{
const bool res = CConfigurationBuilder::preConfigure();
m_pHostName = GTK_WIDGET(gtk_builder_get_object(m_bui... |
0b0c1fb86107b56f10164db47b0909c7eb555f23aa6fcb61994300335ef4e6c0 | C++ | 1,366 | 33 | #include "ovkCAlgorithmProto.h"
#include "ovkCAlgorithmProxy.h"
namespace OpenViBE {
namespace Kernel {
CAlgorithmProto::CAlgorithmProto(const IKernelContext& ctx, CAlgorithmProxy& rAlgorithmProxy)
: TKernelObject<IAlgorithmProto>(ctx), m_algorithmProxy(rAlgorithmProxy) {}
bool CAlgorithmProto::addInputParameter... |
74df54c2f8f4209dc501ed0929297193ea58acdbd3cd0a5392ed63ac7bee8506 | C++ | 1,366 | 48 | /*******************************************************************************
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:... |
b784b1acc0c2e9212f65d4a05b3a23457dcd60b636b5986476009616564c1b09 | C++ | 1,366 | 71 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// QualityVector - Vector of doubles representing
// log-transformed quality values for a seq... |
15283e8a5c6c155ae17f6e1c30089b122cba4737f79cf0857e0f73b1383ba5cc | C++ | 1,383 | 53 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "parameterBoolObject.h"
namespace OpenViBE {
namespace Parameters {
ParameterBoolObject::ParameterBoolObject(const std::string& name, const std::string& description, bool value) : ParameterObject()
{
... |
f83d9580b7ad04adfedecb98072a48460f9f17c11b09be3b446d7d603eae5aee | C++ | 1,393 | 44 | #include "content/popups/hex_editor/popup_hex_editor_page_size.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <content/differing_byte_searcher.hpp>
namespace hex::plugin::builtin {
PopupPageSize::... |
25ac60777cde3a7743b3c5b475ed4ce72932ee17b30ebce327a3c3988dcd5d20 | C++ | 1,396 | 41 | #include "content/popups/hex_editor/popup_hex_editor_remove.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <content/differing_byte_searcher.hpp>
namespace hex::plugin::builtin {
PopupRemove::Popup... |
4d13e3f1ed73e5337a0cbef1d431ba2a06bea142d1ca315325230c69ce9c783c | C++ | 1,396 | 43 | #include <hex/helpers/fs.hpp>
#include <wolv/io/file.hpp>
#include <romfs/romfs.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
namespace hex::plugin::builtin {
void extractBundledFiles() {
constexpr static std::array<std::pair<std::string_view, bool>, 2> Paths = {
... |
8e773016f6975e6c9add8e48e0d248ff83ac84ba3e0c76e0cc85952196b03dfa | C++ | 1,396 | 41 | #include "content/popups/hex_editor/popup_hex_editor_insert.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <content/differing_byte_searcher.hpp>
namespace hex::plugin::builtin {
PopupInsert::Popup... |
852e313e2db6528affadc23984ad116d7b8577e92c43d7b35b5e0c2a2ffe73b7 | C++ | 1,400 | 43 | /*
* Prints user-specified greeting to the log every time process() is called. Passes the signal through.
*/
#include "ovpCHelloWorldWithInput.h"
namespace OpenViBE {
namespace Plugins {
namespace Examples {
bool CHelloWorldWithInput::processInput(const size_t /*index*/)
{
getBoxAlgorithmContext()->markAlgorit... |
82c394d3554e12d2a668917808437e33c1b04138cd30d8b58c4e661d5cbdb9e9 | C++ | 1,402 | 63 | #include "Random.h"
#include "SequenceAlignment.h"
#include "Parallel.h"
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char* argv[]) {
if (argc != 6) {
cerr << "cvrep datafile N1 N2 Nrep outfile\n";
exit(1);
}
// Random::Random();
string datafile = argv[1];
int N1 = atoi(ar... |
2c161dda966c895b324fac81ecdef130656114034aa02a7f652ea70d4c23467e | C++ | 1,403 | 53 | #include <hex/plugin.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/helpers/logger.hpp>
#include <pl/api.hpp>
#include <romfs/romfs.hpp>
#include "content/views/view_disassembler.hpp"
using namespace hex;
using namespace hex::plugin::disasm... |
860cd4b29aed6fab1c3852aed1e057029a98a53c74a04222f39c89d67d00a8dd | C++ | 1,405 | 44 | /*******************************************************************************
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:... |
bf084f4911a6f8df7e7e8f46e92350942102ded618c9083206041b7aa35793ac | C++ | 1,405 | 51 | #include "ovasCConfigurationNetworkBuilder.h"
#include <toolkit/ovtk_all.h>
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
bool CConfigurationNetworkBuilder::setHostName(const CString& hostName)
{
m_hostName = hostName;
return true;
}
bool CConfigurationNetworkBuilder::setHostPort(c... |
5f21cbabf622b9cbfe58042adbb31130d464bd9fcd5713a9653d1f6d963660f0 | C++ | 1,406 | 36 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \brief Main file for Feature Extraction plugin, registering the boxes to OpenViBE
/// \author Bruno Renier (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This prog... |
fa6bdcf25dffc82055c43ac9fed8b3767e18bf7ebf37cf1986dc43956b7e01ad | C++ | 1,410 | 46 | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.8.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#ifdef QT_NAMESPAC... |
f6a744a319d804a17734007c73d04cdaf1447541e0f0d215aefd6da6a3704a8b | C++ | 1,411 | 34 | #include <hex/api/imhex_api/fonts.hpp>
#include <fonts/fonts.hpp>
#include <romfs/romfs.hpp>
namespace hex::fonts {
const ImHexApi::Fonts::Font& Default() {
static auto font = ImHexApi::Fonts::Font("hex.fonts.font.default"_unlocalized);
return font;
}
const ImHexApi::Fonts::Font& HexEdito... |
be26e8e5e45a886204dacaf815b380c8cac31a4fa5cfe69ce6c3f023e10b2f6d | C++ | 1,416 | 43 | #include "CPluginObjectDescEnum.hpp"
#include <cctype>
namespace OpenViBE {
namespace PluginInspector {
bool CPluginObjectDescEnum::EnumeratePluginObjectDesc()
{
CIdentifier id;
while ((id = m_kernelCtx.getPluginManager().getNextPluginObjectDescIdentifier(id)) != CIdentifier::undefined()) { this->Callback(*m... |
a1a32b079434f88754e825eba78c035c9d43329bb2042bff329db96dfd577a4f | C++ | 1,426 | 38 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \author Jussi 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... |
608811a64b4caf545e45a1819c5e47df023b7b16418f673b30b19641ca200bd1 | C++ | 1,435 | 47 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "TagProtocolHandler.h"
#include "TcpTaggingProtocol.h"
#include <ClientServerCommon.h>
#include <cstring>
namespace OpenViBE {
namespace Services {
namespace TcpTagging {
namespace CSC = Network::... |
1d27926b2178b8043a9f8826442c4c4ca8f6f4584e678cd20db63736fede199c | C++ | 1,437 | 45 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include <iostream>
#include <system/ovCTime.h>
#include "StreamRendererChannelLocalization.h"
namespace OpenViBE {
namespace Tracker {
CString StreamRendererChannelLocalization::renderAsText(const siz... |
2b6632b7d88c710c98b180112de28c71d0203bc303318f1a01e87b9a53e60149 | C++ | 1,446 | 45 | #include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeStimulation.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeStimulation, Toolkit::TStimulationDecoder<BoxAlgorithmProxy>>::getHeaderImpl(TypeStimulation::Header& /*targe... |
5c9712c653766fb8f96310c60f2368a14e010831b2d457af40d0ef9da1d19a31 | C++ | 1,446 | 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... |
52f8292fbb195650addf02c5ed6ebbec9177a780ed97243a7e74331782bea4a2 | C++ | 1,459 | 46 | #include "ovpCLog.h"
namespace OpenViBE {
namespace Plugins {
namespace Examples {
bool CLog::initialize()
{
getBoxAlgorithmContext()->getPlayerContext()->getLogManager() << Kernel::LogLevel_Info << "initialize\n";
return true;
}
bool CLog::uninitialize()
{
getBoxAlgorithmContext()->getPlayerContext()->g... |
c9652b91b9256d6b3609091ae50ae478dbf05a9d7b20ce3b9f1193d0dc3b0707 | C++ | 1,459 | 53 | #include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeChannelLocalization.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeChannelLocalization, Toolkit::TChannelLocalisationDecoder<BoxAlgorithmProxy>>::getHeaderImpl(TypeChann... |
afe6d2242667b02c1caff99c16dce47653ae48fcb0099efbb001e1b4a91135f9 | C++ | 1,471 | 38 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \brief Main file for Streaming plugin, registering the boxes to OpenViBE
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/... |
35a558c3af846d1c3d0ef5f446577046c25e90a68f599ef4dbaa5cfef39074a5 | C++ | 1,484 | 56 |
/********************
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... |
47ac306a9e298c41b3cfa9518926ef9fa776d3330fb2a846dd04bbe0d5b04a69 | C++ | 1,485 | 46 | // WARNING: The External Stimulations are a deprecated technique.
// Please use the TCP Tagging approach instead. You can find examples of
// TCP Tagging usage e.g. in the Graz Visualization and the Display Cue Image boxes.
// It is described in the OV web documentation. A simple client can be found
// under modules/... |
cca4574aa3eeae448977294a9792a5a28d632083d9764bc4ca1e6ebb88dc39bc | C++ | 1,489 | 58 | /*****************************************************************************
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.
*************... |
206330e3f52911ff16bd1d05a75185f9e8e5618281775031baff916534903fc1 | C++ | 1,491 | 60 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "DocumentationUrl.h"
#include <QDir>
#include <QFileInfo>
#include <QUrl>
#include <cctype>
namespace OpenViBE {
namespace Designer {
namespace DocumentationUrl {
std::string boxAlgorithmSlug(const std::s... |
1d7c2666919a6203ea8b82a3a6e98079346c0774df1140741fc3042b0c24647f | C++ | 1,494 | 46 | /**
* The gMobilab driver was contributed
* by Lucie Daubigney from Supelec Metz
*/
#include "ovasCConfigurationGTecGMobiLabPlus.h"
#if defined TARGET_HAS_ThirdPartyGMobiLabPlusAPI
namespace OpenViBE {
namespace AcquisitionServer {
CConfigurationGTecGMobiLabPlus::CConfigurationGTecGMobiLabPlus(const char* gtkBui... |
efbe2115f2e1a0ac1818fb86d9694ea08e86552bb746969660be1a57d19dc78f | C++ | 1,503 | 40 | #include <hex/helpers/http_requests.hpp>
#include <hex/helpers/scaling.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/api/localization_manager.hpp>
#include <boost/regex.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <fonts/vscode_icons.hpp>
namespace hex::plugin::builtin {
v... |
69472a0c7ebda980707ab12667462ad4d5357f51b852a46ca7a98350917b9639 | C++ | 1,509 | 50 | #include <hex/trace/exceptions.hpp>
namespace hex::trace {
static thread_local std::optional<StackTraceResult> s_lastExceptionStackTrace;
static thread_local bool s_threadExceptionCaptureEnabled = false;
static AssertionHandler s_assertionHandler = nullptr;
std::optional<StackTraceResult> getLastExce... |
1e196646d01877e34738d7e966c6357f6f69f841d024706fbb4ede3521f93f2d | C++ | 1,524 | 58 | #include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include "TypeSpectrum.h"
#include "Decoder.h"
#include "Encoder.h"
namespace OpenViBE {
namespace Tracker {
template <>
bool DecoderAdapter<TypeSpectrum, Toolkit::TSpectrumDecoder<BoxAlgorithmProxy>>::getHeaderImpl(TypeSpectrum::Header& h)
{
CMatrix* de... |
99c58f46caaff6d1b869acb1ceaf37b6df7b915e49f5ddd2b9ed97d2728cb5c6 | C++ | 1,525 | 48 | #include <hex/mcp/client.hpp>
#include <hex/mcp/server.hpp>
#include <hex.hpp>
#include <string>
#include <cstdlib>
#include <fmt/format.h>
#include <hex/api/imhex_api/system.hpp>
#include <hex/helpers/logger.hpp>
#include <nlohmann/json.hpp>
#include <wolv/literals.hpp>
#include <wolv/net/socket_client.hpp>
namesp... |
a3ea01baee60a947f7a817f335ea736c39b52df06ee6ac5bb17a0bde2f69a3ec | C++ | 1,525 | 43 | ///-------------------------------------------------------------------------------------------------
///
/// \file VisualizationTools.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 ... |
5ec12746ca655809dfe6a39e4ad3adc584283d595dfd85d39a7d8797f52fe627 | C++ | 1,531 | 50 | // SPDX-License-Identifier: AGPL-3.0-only
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
#include <gtest/gtest.h>
#include "Acquisition.h"
namespace {
constexpr uint64_t LOCAL = 0;
constexpr uint64_t REMOTE = 42;
constexpr uint64_t OTHER = 7;
}
// An acquisition a client made for itself is that cli... |
5fa9ebc76e10b008b309834b0175cbd1f5a3448d101353478b6ab2e87f030e26 | C++ | 1,533 | 43 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// PrimerScreen - Singleton class to filter sequences
// that match a database of primer seq... |
2b1ac2763f88ebc0cd0a648a041acfc88220aa84111a7b75943440d2d79f97b2 | C++ | 1,535 | 43 |
/********************
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... |
b82ac1e97ae6abfed9684741f02397db7b79d474790ae42c295d843c8a6936fb | C++ | 1,539 | 48 | #include "ovtkStimulationSet.h"
namespace OpenViBE {
namespace Toolkit {
namespace StimulationSet {
bool shift(CStimulationSet& stimSet, const uint64_t timeShift)
{
const size_t count = stimSet.size();
for (size_t i = 0; i < count; ++i) { stimSet.setDate(i, stimSet.getDate(i) + timeShift); }
return true;
... |
a492b5e380a16c2aea9f4b207ea1a52bc85d68e5734160de26540446ae0de5a6 | C++ | 1,542 | 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:... |
ad8c73cd9caeb120e35db845ff1fd432ff5c176afbb3a538fdaf4a4432f18602 | C++ | 1,542 | 65 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "ScenarioIOConnection.h"
#include "BoxObject.h"
#include "IOPort.h"
namespace OpenViBE {
namespace Designer {
ScenarioIOConnection::ScenarioIOConnection(Kernel::IKernelContext* context, IOPort* scenarioPor... |
97b1a3c20bd41a1fdd8056be9a7b692f84f2452c8f68dd4eaa5350a86df2c09a | C++ | 1,548 | 62 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "parameters/parameterString.h"
#include "parameters/parameterFactory.h"
namespace OpenViBE {
namespace Parameters {
ParameterString::ParameterString(void) : ParameterBase<std::string, ParameterString>()... |
f3162db41b56f1a8009225bde4adcc25f5839769a137c749c23e7f6294a632a6 | C++ | 1,549 | 45 | #include "CPluginObjectDescEnum.hpp"
namespace OpenViBE {
namespace PluginInspector {
// Enumerate plugins by iterating over a user defined list of descriptors, used for metaboxes
bool CPluginObjectDescEnum::EnumeratePluginObjectDesc(std::vector<const Plugins::IPluginObjectDesc*>& pod)
{
for (auto* plugin : pod) ... |
7f4ce82b418ac43a0f4f3cf32d4bc4639c91cb4d7570024a61a31cc2343214ed | C++ | 1,566 | 52 | // SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "LinkObject.h"
#include "BoxObject.h"
namespace OpenViBE {
namespace Designer {
LinkObject::LinkObject(Kernel::IKernelContext* context, Kernel::ILink *link, BoxObject *sourceBox, BoxObject *targetBox)
: m... |
981b6dc1853899195efb525b4f6e24704dffbc7311d045f6e50b6003333fbc47 | C++ | 1,567 | 55 | #include "ovkCKernelObjectFactory.h"
#include "ovkCConfigurable.h"
#include "plugins/ovkCPluginModule.h"
#include <algorithm>
namespace OpenViBE {
namespace Kernel {
#define create(rcid,cid,sptr,cl) \
if(rcid==cid) \
{ \
sptr=new cl(getKernelContext()); \
if(sptr) { m_oCreatedObjects.push_b... |
ce3dfc48575ee35cf7d84b197b5b2ebd033cdf18edfd02244bc27779101037f3 | C++ | 1,579 | 46 | #include "kernel/ovkCKernelContext.h"
#include <openvibe/ov_all.h>
#include <system/ovCTime.h>
namespace OpenViBE {
namespace Kernel {
class CKernelDesc final : public IKernelDesc
{
public:
IKernelContext* createKernel(const CString& rApplicationName, const CString& rConfigurationFilename) override
{
... |
0d035d4c3ea80fab3a99d8a863ff9684b75c78ec6bf2923e4244381f0775bec6 | C++ | 1,583 | 72 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "QmlHelper.h"
QmlHelper *QmlHelper::instance()
{
if (!s_instance) {
s_instance = new QmlHelper();
}
return s_instance;
}
QmlHelper *QmlHelper::create(QQmlEngine *qmlEngine, QJSE... |
20a23f4f80d4a6844f71896a36e8eec11fdf0a5a9e01df6e88c8f68f08f400ca | C++ | 1,587 | 57 | /**
General functions dealing with TV norm regularization.
@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 <wchar.h>
#include <time.h>
#include "TVopt.h"
#include "TVmacros.... |
33319bdb452ba16c68d15ead89d7647c1abf85ea9abd66cab43eeecd38c29e89 | C++ | 1,596 | 64 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include <iostream>
#include <QJSEngine>
#include <QDir>
#include <QFontDatabase>
#include "FontManager.h"
namespace OpenViBE {
namespace DesignSystem {
FontManager FontManager::s_instance;
FontManager::FontManag... |
44a2dfc3c2e3fa6682663ae6ff4a77168c8cd0b73c66de92d0161b6c7c0f36aa | C++ | 1,596 | 42 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \author Laurent Bonnet (Inria)
/// \date 12/05/2011.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the term... |
80f94ad9ee904332919b3da19b6efc68150b78897bdc814b1aaabeb222563450 | C++ | 1,619 | 56 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "parameterColorObject.h"
namespace OpenViBE {
namespace Parameters {
ParameterColorObject::ParameterColorObject(const std::string& name, const std::string& description, const QString& value) : Parameter... |
50426124d7c43d2024270dec96e960f67c9aee56f7a02601036ae2664eafbfe7 | C++ | 1,622 | 72 | #include "STCoverage.h"
#include "SeqLib/SeqLibCommon.h"
#include "SeqLib/BamRecord.h"
#include <stdexcept>
#include <algorithm>
using SeqLib::BamRecord;
using SeqLib::GenomicRegion;
using SeqLib::Cigar;
void STCoverage::clear() {
m_map.clear();
}
void STCoverage::addRead(const BamRecord &r, int buff) { //... |
61e740f0738dac35b81b7748cb32f6895f67eab3eb04c10d6cfcc8e60652ef69 | C++ | 1,626 | 45 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererTopo3D.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 ... |
e69092ab7be9e155ef716c35598b9020b92edd7cc21ba32e0029b3c576ab0d65 | C++ | 1,633 | 87 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "WindowManagerNode.h"
namespace OpenViBE {
namespace Designer {
WindowManagerNode::WindowManagerNode(const Kernel::IKernelContext& ctx, NodeType type, QString id, QString boxId, QString boxName, QColor colo... |
f44faf96557cbc2a3736d6d735b53763f5d42231f320246760f792f6c32cefb4 | C++ | 1,635 | 41 | #include <hex/api/content_registry/provider.hpp>
#include "content/providers/gdb_provider.hpp"
#include "content/providers/file_provider.hpp"
#include "content/providers/null_provider.hpp"
#include "content/providers/disk_provider.hpp"
#include "content/providers/intel_hex_provider.hpp"
#include "content/providers/mot... |
d6f783079c95b309f6125d9251d0e8ecda7081b2d1d3f5d47c778d8fc2bb6701 | C++ | 1,639 | 46 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include "StreamRendererChannelUnits.h"
#include <iostream>
namespace OpenViBE {
namespace Tracker {
CString StreamRendererChannelUnits::renderAsText(const size_t indent) cons... |
a5721b4da4cbf91d04d0c1ac50a5e94868c014754a6f23c87bc1b575ee9f0b4f | C++ | 1,641 | 56 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "parameterStringObject.h"
namespace OpenViBE {
namespace Parameters {
ParameterStringObject::ParameterStringObject(const std::string& name, const std::string& description, const QString& value) : Parame... |
139dae233f511329a60005c7792b184c852691b40a6094cd35c914b994084c0f | C++ | 1,644 | 53 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "parameters/parameterUtils.h"
#include "parameters/parameterBool.h"
#include "parameters/parameterColor.h"
#include "parameters/parameterColorGradient.h"
#include "parameters/parameterInt.h"
#include "... |
612e4d98dcb0cf8b8003d0a55c307de40623d01b05b9b495e9abe70ba46180df | C++ | 1,647 | 84 | /* -*- 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... |
4bbc82f45810a919339f77a45882cf364a8cf6a424257492066aea7fb789e72b | C++ | 1,650 | 57 | #include "ovkCPlayerManager.h"
#include "ovkCPlayer.h"
#include <system/ovCMath.h>
namespace OpenViBE {
namespace Kernel {
bool CPlayerManager::createPlayer(CIdentifier& playerID)
{
playerID = getUnusedIdentifier();
m_players[playerID] = new CPlayer(getKernelContext());
return true;
}
bool CP... |
26cd968081895df9b08cc9a96d99d157301da1d1b91b98e788ed792d7a83ffdd | C++ | 1,652 | 47 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \brief main file for box plugin.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 12/03/2020.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: ... |
dd3901912660026aceaca327b5649a27def6c5cfc7addb02dddecf84febf65db | C++ | 1,658 | 44 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \brief Main file for VRPN plugin, registering the boxes to OpenViBE
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it... |
2f12271dee3d680567b1fe0a851230941c8ec30f9025e5fb2c1cbb7078e88d3b | C++ | 1,666 | 39 | /*******************************************************************************
"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.
----------... |
5806fa16635e6780ae4edbbd304753054bb6f923486f9e239c45885fa6f3823f | C++ | 1,668 | 46 | #include "content/popups/hex_editor/popup_hex_editor_decoded_string.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <content/differing_byte_searcher.hpp>
#include <popups/popup_file_chooser.hpp>
name... |
73f5428a4893341508904eabc4b7e24d02361eec5342b63036e9ec39d5ff5640 | C++ | 1,676 | 67 |
/********************
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... |
9cd7d23b522df6c8b7bf80804634f7e2b1d631570b3a33598e85472190918ed5 | C++ | 1,678 | 28 | #include "ovkCPlayerContext.h"
#include "ovkCSimulatedBox.h"
#include "ovkCScheduler.h"
#include "ovkCPlayer.h"
namespace OpenViBE {
namespace Kernel {
CPlayerContext::CPlayerContext(const IKernelContext& ctx, CSimulatedBox* pSimulatedBox)
: TKernelObject<IPlayerContext>(ctx), m_simulatedBox(*pSimulatedBox), m_pl... |
3df6a41bec86f64651c282c84b481f469b4e399e16b552a9b997442904f8a49f | C++ | 1,679 | 53 | #include "ovpCSpectrumEncoder.h"
namespace OpenViBE {
namespace Plugins {
namespace StreamCodecs {
bool CSpectrumEncoder::initialize()
{
CStreamedMatrixEncoder::initialize();
ip_frequencyAbscissa.initialize(getInputParameter(OVP_Algorithm_SpectrumEncoder_InputParameterId_FrequencyAbscissa));
ip_sampling.i... |
36b9e85e2ef135611db87c325ca45745846aa094d049f23db48546bad3d1aeb2 | C++ | 1,683 | 40 | #include <string>
#include <hex/helpers/formatting.hpp>
#include <wolv/utils/string.hpp>
#include <hex/api/content_registry/settings.hpp>
namespace hex {
namespace {
ContentRegistry::Settings::SettingsVariable<bool, "hex.builtin.setting.pattern_editor", "hex.builtin.setting.pattern_editor.save_tabs"> m_f... |
78ad3721dbf4529bbb1f86cd61cf2f509eeb2cf6b708960df90622b4bf5e874d | C++ | 1,691 | 67 |
/********************
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... |
10e47a495e49d923635a00d883190357bf2b254266193f88d8bd3ace8c579e98 | C++ | 1,694 | 55 | #include <fstream>
#include <sstream>
#include <string>
#include <iostream>
#include <cstring>
#include <cerrno>
double threshold = 72;
int main(int argc, char** argv)
{
if (argc != 2 && argc != 3) {
std::cout << "Usage: test_accuracy <filename> <threshold>\n";
return 3;
}
if (argc == 3) {... |
b28ba1d7b5a9763e1973205e4d015574f8cbf692eb526d69ef3c837b6d946dea | C++ | 1,697 | 67 |
/********************
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... |
4ee4b629c0242f02eb231b6ecdc9f6b2982eb85181bc40e307977f92c5fa546c | C++ | 1,703 | 67 |
/********************
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... |
9b8695cc3f8380b99c605a6ae40abd422d9d4a52f013318b0b021d8207372609 | C++ | 1,707 | 55 | #include "ovkCComment.h"
#include "ovkCScenario.h"
#include "../ovkCObjectVisitorContext.h"
namespace OpenViBE {
namespace Kernel {
CComment::CComment(const IKernelContext& ctx, CScenario& rOwnerScenario)
: TAttributable<TKernelObject<IComment>>(ctx), m_rOwnerScenario(rOwnerScenario), m_text("") {}
//__________... |
6636ec64c0f2ebcb0fb468a6db2854cbad578a235630ec7c82b2185839c234fc | C++ | 1,715 | 44 | #include "ovtkCAlgorithmClassifier.h"
#include "ovtkCAlgorithmPairingStrategy.h"
#include <map>
namespace OpenViBE {
namespace Toolkit {
static std::map<uint64_t, fClassifierComparison> comparisionFunctions;
void registerClassificationComparisonFunction(const CIdentifier& classID, const fClassifierComparison compar... |
ffc1ad1f53bafa41193a23596dd15b52111c6b78db06127b1f08f171bed67518 | C++ | 1,716 | 55 | ///-------------------------------------------------------------------------------------------------
///
/// \file CAlgorithmAddition.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 t... |
cd426a785880f636901c8525dcdf42fa31f21f5124f3bedad2ebcb3e38eb8e9a | C++ | 1,724 | 71 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include <algorithm>
#include <nlohmann/json.hpp>
#include "parameters/parameterBool.h"
#include "parameters/parameterFactory.h"
namespace OpenViBE {
namespace Parameters {
ParameterBool::ParameterBool(void) :... |
a7491525e7132006bb86225f1bf61292a4d4f226ad4f85e1d42e8dfad8b5090f | C++ | 1,752 | 43 | /*******************************************************************************
"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.
----------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.