sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
29ab551c0339057a00d0725bc96e32319d65354ad9b0aa4c382127b1829bdbf3 | C++ | 5,180 | 135 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmConnectivitySpectrumExtract.cpp
/// \brief Implementation of the box ConnectivitySpectrumExtract
/// \author Arthur DESBOIS (INRIA).
/// \version 0.0.1.
/// \date June 28 15:13:00 2022.
///
//... |
ae98592bc2c306c4bdeca0d3b4cd9a51bfc05f01b671b3151bbca8a2c3f89b1d | C++ | 5,184 | 145 | #include <Rcpp.h>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstdint>
#include <cstdio>
using namespace Rcpp;
// Canonical-karyotype hash, C++ replacement for hash_snodelist (R/graphstats.R).
// 1. For each circular walk: take lex-min over the full rotation+RC orbit
// by comparing Boot... |
53cea8a598101c7ad4d27f3ae54f91b2134b724f831b9a18f9009121ce9546b8 | C++ | 5,187 | 181 |
/*
* 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... |
ec75fd395c2f39319b708a175697f83268bfd7ae8dfc047adfc30ac4172b5d21 | C++ | 5,187 | 218 | #include "Histogram.h"
#include "SeqLib/SeqLibUtils.h"
#include <fstream>
#include <cmath>
#include <algorithm>
#include <sstream>
#define BINARY_SEARCH 1
#define DEBUG_HISTOGRAM
using namespace SeqLib;
Histogram::Histogram(const int32_t& start, const int32_t& end, const uint32_t& width)
{
if (end >= start)
... |
f04042d15763ebc780075d2386cd7ef0a934b16131f4b773b84c3563022e2a84 | C++ | 5,203 | 142 |
#define FASTQTL_USE_QR
#define FASTQTL_QR_TOLERANCE 1e-7 //this is set to the same tolerance as R
#include "residualizer.h"
residualizer::residualizer(int _n_samples) : n_samples (_n_samples) {
matrices_uptodate = false;
}
residualizer::~residualizer() {
hard_covariates.clear();
soft_covariates.clear()... |
91d04ba8fb928e18c7f67d41ae730817132642fba31c13aeeaf028efe68f7fcf | C++ | 5,212 | 131 | #include "ovpCDecoderAlgorithmTest.h"
#include "../algorithms/decoders/ovpCExperimentInfoDecoder.h"
#include "../algorithms/decoders/ovpCFeatureVectorDecoder.h"
#include "../algorithms/decoders/ovpCSignalDecoder.h"
#include "../algorithms/decoders/ovpCSpectrumDecoder.h"
#include "../algorithms/decoders/ovpCStimulation... |
77f1cc378e9bb1bdda16caa5b06b9aff758f77bb9bc41a675579da18abf87aa9 | C++ | 5,219 | 103 | /* -------------------------------------------------------------------------- *
* Lepton *
* -------------------------------------------------------------------------- *
* This is part of the Lepton expression parser originating from *
... |
2dbdd2e0d493d31dccd5c39ed8fb6218d2763bd5fa6b6c1607a03b3f08347eca | C++ | 5,249 | 138 | #include <hex/helpers/string_codec.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/unicode.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <algorithm>
#include <span>
namespace hex {
namespace {
/**
* @brief Resolves to `encoding`, else the document's declared enco... |
319118566566e0af3d9a0d66af912dca3baf75d3c7c329e9a56fa83c6af92bbe | C++ | 5,253 | 147 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmEntropyMeasure.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
///
/... |
0bd4a4b33c1f47ba9f13edb8e47832a662dbc6b8e2b59211f8fa6cdff8bccaac | C++ | 5,279 | 153 | /*
Copyright (c) 2016, Blue Brain Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the foll... |
4c435e6466a83b69b6af7595d4a9940332464acc4d1ac98a7c77203257d7646b | C++ | 5,292 | 134 | //----------------------------------------------------------------------
// File: perf.cpp
// Programmer: Sunil Arya and David Mount
// Description: Methods for performance stats
// Last modified: 01/04/05 (Version 1.0)
//----------------------------------------------------------------------
// Copyright (c) 1997-2... |
e86b0953d8ba722f32a400978199f019a0b1b8769fd5b45aed8f4e0766a1ed14 | C++ | 5,317 | 131 | #include "ovpCAlgorithmARBurgMethod.h"
#include <Eigen/Dense>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CAlgorithmARBurgMethod::initialize()
{
ip_pMatrix.initialize(this->getInputParameter(OVP_Algorithm_ARBurgMethod_InputParameterId_Matrix));
op_pMatrix.initialize(this->getOu... |
720efa792f8c0b9ec0e51292c72a38f77cac532ef35ebf7d4848ec4d41b27a09 | C++ | 5,319 | 190 | /*****************************************************************************
chromsweep.cpp
(c) 2009 - Aaron Quinlan
Hall Laboratory
Department of Biochemistry and Molecular Genetics
University of Virginia
aaronquinlan@gmail.com
Licenced under the GNU General Public License 2.0 license.
**************... |
1f8784f18437fdbe4cc6d1cd135c1b75ac03ec8666d1f329224b4e0deb6d0b2d | C++ | 5,321 | 207 | /* -*- 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... |
5c1149a235fb12d70f0b011a1a28a3736f15f55f0ac1c3009966d29f3941e5d6 | C++ | 5,330 | 166 | /*******************************************************************************
"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.
----------... |
74df969753739454b49f631d01ab0829aa71730a13098e7e64e589d9e08a7923 | C++ | 5,334 | 148 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmFeatureAggregator.cpp
/// \brief Classes implementation for the Box Feature aggregator.
/// \author Bruno Renier (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// Thi... |
0404876c79c31b930679b8327731151b6802542c6847857e76069c43c784b485 | C++ | 5,340 | 146 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoSocketClientServerSyncCommunicationTest.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 ... |
d38d681ac6f4ffef34635ce7a1c696064deb2dd7a5bebd568cd89825ecf10539 | C++ | 5,342 | 173 | #include <hex/helpers/menu_items.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#if defined(OS_MACOS)
extern "C" {
void macosMenuBarInit(void);
bool macosBeginMainMenuBar(void);
void macosE... |
482386ae9afb6b032801a0ae215380e8039bad8ad1fa7f68c99b3bf051ee4026 | C++ | 5,353 | 139 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxHelloWorldGame.cpp
/// \brief Class of the box that communicate with Hello World Game.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 12/03/2020.
/// \copyright Copyright (C) 2022 ... |
c880fb363acb58fa742f098423f05ce819fc89312979a3c530467c792e7917a9 | C++ | 5,354 | 168 |
/********************
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... |
4f2da6a75c5c87cc3694ee51d6b34a5c7c297af55f8e7f81f8b89eef9bd25eb6 | C++ | 5,391 | 109 | ///-------------------------------------------------------------------------------------------------
///
/// \file CMatrixClassifierFgMDMRTRebias.cpp
/// \brief Class implementation of Minimum Distance to Mean with geodesic filtering (FgMDM) Classifier RT (adaptation is Real Time Assumed)
/// \author Thibaut Monseigne... |
acce21ad32829656a2adffdb175d664246909eb20808505d42c1b10f751322d7 | C++ | 5,398 | 134 | #include "ovpCHilbertTransform.h"
#include <complex>
#include <Eigen/Dense>
#include <unsupported/Eigen/FFT>
bool HilbertTransform::transform(const Eigen::VectorXcd& in, Eigen::VectorXcd& out)
{
const Eigen::Index nSamples = Eigen::Index(in.size());
// Resize our buffers if input size has changed
if (m_si... |
b483918302108485e3284e482244257c6852ea986dd4f4c35ca4be0bed0e05d1 | C++ | 5,409 | 240 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "OVLogController.h"
#include "OVLogControllerItem.h"
OVLogController *OVLogController::instance()
{
if (!s_instance) {
s_instance = new OVLogController();
}
return s_instance;
}
Q... |
2736f4ef2ba6b7c6e1f07164591804334201c03d8db9e32da167bafeaf6b3603 | C++ | 5,416 | 196 | // ***************************************************************************
// bamtools_coverage.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 7 April 2011
// -------------... |
50e6d014eb27fdbd9fa6503c1eac8452cad6148f60a74895ae84b0d1651054c0 | C++ | 5,420 | 168 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include <algorithm>
#include <sstream>
#include "parameters/parameterMultiSelect.h"
#include "parameters/parameterFactory.h"
namespace OpenViBE {
namespace Parameters {
ParameterMultiSelect::ParameterMultiSelec... |
9d72ae720d2cee0f982b7663773e6811f5a0e057444c4f56d62f62cea3b9a58f | C++ | 5,424 | 161 | #include "window.hpp"
#if defined(OS_MACOS)
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/reques... |
42c0cc04dca8a49b50a47c331f3e44d4e8d683c657ddcf762b63bfea6599c321 | C++ | 5,430 | 166 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererLine.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... |
a2467024f9ee3aaa59c8dfb23204591189ca08ee0ef9ac902c0cda1738620a5c | C++ | 5,439 | 177 | #include <GLFW/glfw3.h>
#include "window.hpp"
#include "hex/api/imhex_api/system.hpp"
#if defined(OS_WEB)
#include <emscripten.h>
#include <emscripten/html5.h>
#include <GLFW/emscripten_glfw3.h>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/events/events_interact... |
395159774e84bf86c64710df310099257f5f1896c7747362ac1e9911b325f5e1 | C++ | 5,441 | 119 | ///-------------------------------------------------------------------------------------------------
///
/// \file CSettingEditorDialog.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 Licens... |
bdbca2c1d972cf9af2c718fe05d951f821b065734b4b679ad6f3b51658a112ac | C++ | 5,445 | 164 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererMountain.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 a... |
61fda8e4e175395e9a24fe1555eb6ea6def8861e8bb879071b28466cfd9b6222 | C++ | 5,459 | 134 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmLevelMeasure.cpp
/// \brief Classes implementation for the Box Level measure.
/// \author Yann Renard (INRIA/IRISA).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This pro... |
9155224c4c3955c952f96e58c79040ebee8330ed4ec81db0ab3ee6fd869c1e21 | C++ | 5,460 | 128 | ///-------------------------------------------------------------------------------------------------
///
/// \file CVRPNButtonServer.cpp
/// \brief Classes implementation for the Box VRPN Button Server.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify... |
7d6c69bbf3742a6bad7200c7636296d1d3790776de36cc90e837cb97caf67db1 | C++ | 5,469 | 152 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoSocketClientServerASyncCommunicationTest.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... |
64d2e22ed32233b9f9d98857e4b34c63d549211c0a04147f16bb41803f463db8 | C++ | 5,475 | 141 | #include "ovpCBoxAlgorithmDifferentialIntegral.h"
#include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CBoxAlgorithmDifferentialIntegral::initialize()
{
// Signal stream decoder
m_decoder.initialize(*this, 0);
// Signal stream encoder
m_encoder.initialize(*th... |
0f503e5d8f26ae573966c90ba448b79b47212f26f65521500034f6c18fa5f7be | C++ | 5,479 | 128 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoMatrixToolkitTest.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... |
79cbe07777e0ea64936dd3a89d35e264610ce0101176f45eed6aac792121f026 | C++ | 5,487 | 123 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmASRProcessor.hpp
/// \brief Classes implementation for the box ASR Processor.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 08/12/2020.
/// \copyright Copyright (C) 2022 ... |
2ef8f08820274c021cf0a26e991b18bb65155eb2a942e72020b43746dff8ebf0 | C++ | 5,488 | 173 | #include <hex/api/layout_manager.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/ui/view.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/string.hpp>
#include <imgui.h>
namespace hex {
namespace {
... |
560bb971c6c54e94b6750b5656080dd54fe392ac82c2ea64b27573478786a19d | C++ | 5,507 | 177 | // SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "CClassifierAccuracyMeasureView.hpp"
#include <QQmlEngine>
#include <QQmlContext>
#include <QQuickItem>
#include <QQmlComponent>
#include <QQuickWindow>
namespace OpenViBE {
namespace Plugins {
namespace Eval... |
5a6903877a31239c8b1664e012199ee451491328acf311afe79905b3a7c12b74 | C++ | 5,518 | 183 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <iostream>
#include <string>
#include <tuple>
... |
c9636f306b83d1286bcfdaa50b44a3c274a5602cbe5eff0c7ed5174e2bee7cb5 | C++ | 5,524 | 220 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// KmerDistribution - Histogram of kmer frequencies
//
#include "KmerDistribution.h"
... |
ec07534611b3c8b29c3f45a236c498e5fa6cfa71a5eaf80ac4099ebf01ed883e | C++ | 5,528 | 171 | #include <hex/api/project_manager.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/io/fs.hpp>
namespace hex {
namespace {
AutoReset<std::fs::path> s_currProjectPath;
AutoReset<bool> s_folderProject, s_temporaryProject;
AutoReset<std::fs... |
1e26f82fd77d0a4bbdc8625333919e94fcb43d6f9a94fdcb4d6b09b1b9683e5e | C++ | 5,534 | 116 | ///-------------------------------------------------------------------------------------------------
///
/// \file Classification.cpp
/// \brief All functions implementation to help Matrix Classifiers.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 26/10/2018.
/// \copyright Copyright (C) 2022 Inri... |
78472810c575d80564d734511c13a4aaa3a016c70a73efeabd7858a032f3230a | C++ | 5,538 | 162 | #include "ovkCAlgorithmManager.h"
#include "ovkCAlgorithmProxy.h"
#include <system/ovCMath.h>
namespace OpenViBE {
namespace Kernel {
CAlgorithmManager::~CAlgorithmManager()
{
std::unique_lock<std::mutex> lock(m_oMutex);
for (auto& algorithm : m_algorithms)
{
CAlgorithmProxy* algorithmProxy = ... |
125f35a94516c0a34f61e9e39a864b7c9d6fabd7d9fc756db577a0c06d6f3dd4 | C++ | 5,553 | 158 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererTopo2D.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 ... |
c1af64cb7462f7e1c10c14ad4502ba0e7591bef4020b4ec0692f5247cb68e982 | C++ | 5,561 | 125 | #include "ovpCBoxAlgorithmHilbert.h"
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CBoxAlgorithmHilbert::initialize()
{
// Signal stream decoder
m_decoder.initialize(*this, 0);
// Signal stream encoder
m_algo1Encoder.initialize(*this, 0);
m_algo2Encoder.initialize(*thi... |
ff739b8c102093f66e22b99e82f744e2a3d1bbfacdaab17b88bab1652691542c | C++ | 5,570 | 188 | /* -*- 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... |
ffd536415adb02f5ced02638866ed34922760dd6c9863415bee511dee5a86104 | C++ | 5,571 | 205 |
/********************
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... |
d177fc1457c18860cf1be44dbae22ef8bf95c696df5dee2ce231bcc5667c67f9 | C++ | 5,572 | 111 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmCovarianceMatrixCalculator.cpp
/// \brief Classes implementation for the box computing the covariance matrix
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 16/10/2018.
///... |
a3e2aa2a34c50e4d4b45b07fc767f67b4e95fb77ea91c06faf708a886e03f118 | C++ | 5,575 | 126 | //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... |
acbd50f942a959043fe04fdea0fbf817a166023167df69a9334f4af949faa180 | C++ | 5,577 | 155 | /*! \file hidden_state_inference_mx.cpp
* \brief Mex interface for hidden state inference in VB-HMM
*
* Hidden state inference for VB-solved HMM, using the forwards-backwards
* algorithm.
*
*
*
* To use this file, you may need to recompile, changing the top of the makefile to reflect your matlab installation
... |
268f6e1f6b9b409a4c892b0226fafb130addf7c67f87e4aa9627116f83369a57 | C++ | 5,590 | 225 | /* -*- 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... |
16b7f8a6f203b88d2ae490cb092e0b6ebad4b69aa9632f8b876649961e9392a6 | C++ | 5,625 | 141 | #include <hex/api/content_registry/pattern_language.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <pl/core/evaluator.hpp>
#include <pl/patterns/pattern.hpp>
#include <content/helpers/capstone.hpp>
namespace hex::plugin::disasm {
class P... |
78431a52496d1774bb182237fd087c52cb8ad4ec3bdc788630e3ea27e3d7e845 | C++ | 5,627 | 210 | /*
Szymon Rusinkiewicz
Princeton University
reorder_verts.cc
Reorder and remap vertices.
*/
#include <stdio.h>
#include "TriMesh.h"
#include "TriMesh_algo.h"
#include <vector>
// Remap vertices according to the given table
//
// Faces are renumbered to reflect the new numbering of vertices, and any
// faces that in... |
1e48f9778d59c0bcd5e940a1735035a3b31f7fe839d2c5d0afd60980fc475508 | C++ | 5,634 | 137 | #include <hex/api/localization_manager.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/scaling.hpp>
#include <chrono>
#include <fonts/vscode_icons.hpp>
namespace hex::plugin::builtin {
using namespace std::literals::chrono_litera... |
7eeb9ab333e969726555d1b32e33216fd143f21d7028f089360ab27ca40ffd16 | C++ | 5,635 | 214 | // SPDX - License - Identifier: AGPL - 3.0 - only
// SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
#include "JsonSettings.h"
#include <cstdlib> // for std::getenv
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#ifdef _WIN32
#include <windows.h> // needed for GetEnvironmentVariable i... |
e92b854404e8f094e08abef1410824d7a00210405589972748b44cc133c9c6af | C++ | 5,635 | 131 | #include "ovkCMetaboxManager.h"
#include <fs/IEntryEnumerator.h>
#include <map>
#include <random>
#include "ovp_global_defines.h"
#include "ovkCMetaboxObjectDesc.h"
namespace OpenViBE {
namespace Kernel {
class CMetaboxManagerEntryEnumeratorCallBack final : public TKernelObject<IObject>, public FS::IEntryEnumerator... |
e58f1b68ed0e4e164e7adf700961cb07386b5d6d768b5a88d3ddc5dfb4eda246 | C++ | 5,636 | 155 | #include "ovpCBoxAlgorithmBCI2000Reader.h"
#include <iostream>
#include <sstream>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
bool CBoxAlgorithmBCI2000Reader::initialize()
{
const CString filename = FSettingValueAutoCast(*this->getBoxAlgorithmContext(), 0);
m_helper = new BCI200... |
ce52e917e813471869ea029c07fb58bf28a9f22d821b920b29dd36a51998419e | C++ | 5,648 | 177 | /***
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
***/
/*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
... |
58c031a6bae0f1f6c805544dd5ec65a2197ba9c3056aa91199bf5f03c6be0151 | C++ | 5,674 | 195 | #include <openvibe/ov_all.h>
#include <fs/Files.h>
#include "BoxAdapter.h"
#include "CodecFactory.h"
namespace OpenViBE {
namespace Tracker {
bool BoxAdapter::initialize()
{
m_boxAlgorithm = m_kernelCtx.getPluginManager().createBoxAlgorithm(m_algorithmID, nullptr);
if (!m_boxAlgorithm) {
log() << K... |
fe7567ca89fd79c567b59bcbd1ab54707075fe910418c472c29123633c7e181a | C++ | 5,678 | 115 | #include "CPluginObjectDescEnumBoxTemplateGenerator.hpp"
#include <cstring>
#include <iostream>
#include <vector>
#include <toolkit/ovtk_all.h>
int main(int argc, char** argv)
{
/*
USAGE:
plugin-inspector <plugin1 plugin2 ...>
<--box-doc-directory dir>
*/
std::vector<std::s... |
04824316fca8efa365c7920beb933a2761a131aa7762c9ef8b2ab112d3cccf82 | C++ | 5,684 | 211 |
/********************
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... |
81f608ea27f8d0b5ca8c03900f348d5879dd075c11aece9b501ab8bd577f62a1 | C++ | 5,692 | 165 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererFlower.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 ... |
fb37e241387cd5397b1d4484d9ac551fc5ab7e8380e6c8d6df9821abc9047cb9 | C++ | 5,700 | 178 | #include <hex/helpers/binary_pattern.hpp>
#include <algorithm>
namespace hex {
namespace {
void skipWhitespace(std::string_view &string) {
while (!string.empty()) {
if (!std::isspace(string.front()))
break;
string = string.substr(1);
... |
57a987791215eeb625eb4b96096a420fbaba5ca2ce985ecf4b634a1f37644c46 | C++ | 5,704 | 148 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmVRPNButtonClient.cpp
/// \brief Classes implementation for the Box VRPN Button client.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it a... |
73cfea91407b732a79c5fc623aaabb72a285280b6596e7d8d8ed0b62ba5ce0a4 | C++ | 5,704 | 238 | /* -*- 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... |
d5e407036f13e23baf9f38bac32811452ce1160bd63d8b5d04ff33532873f151 | C++ | 5,707 | 163 | /*
* Copyright 2021 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... |
882bd53729c9598bd1b1df7135344ec123a9a3d78d80d0c249d6bc197b695369 | C++ | 5,710 | 211 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
* see : https://doc.qt.io/qt-6.5/qtwidgets-itemviews-simpletreemodel-example.html
*/
#include "BoxTreeItem.h"
#include "BoxTreeModel.h"
namespace OpenViBE {
namespace Designer {
BoxTreeModel::BoxTreeModel(QObje... |
aa1731cb7173cf39e17cc87dd55cfdb2b59b00c0b9e0c0a0e06f88578c1497c4 | C++ | 5,710 | 121 | #include "ovpCDetectingMinMaxBoxAlgorithm.h"
#include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CDetectingMinMaxBoxAlgorithm::initialize()
{
CIdentifier inputTypeID;
getStaticBoxContext().getInputType(0, inputTypeID);
if (inputTypeID == OV_TypeId_Signal)
{
... |
1868ee329d1fbebc15bbc9f961da2a10f16bbbfc1f3acd5f4dea9e427e78e594 | C++ | 5,715 | 199 | /*******************************************************************************
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:... |
3cad712e5f894acdeca69e9baa250b78bd5780fa6eb13329ecd60558401bd407 | C++ | 5,729 | 141 | #include "coreneuron/io/lfp.hpp"
#include "coreneuron/apps/corenrn_parameters.hpp"
#include <cmath>
#include <limits>
#include <sstream>
namespace coreneuron {
namespace lfputils {
double line_source_lfp_factor(const Point3D& e_pos,
const Point3D& seg_0,
c... |
b71e76c5143d051193abb929095b52025422bcdaf78e50870e31e82b6f1c075e | C++ | 5,730 | 171 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoXMLWriterTest.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 ... |
8fb1e2d72c418b1e3cbd867fea61b8bfb77a5cf37ca7b86fec6a06fe6a1e13b9 | C++ | 5,749 | 128 | #include <hex/api/content_registry/settings.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include <font_settings.hpp>
#include <fonts/fonts.hpp>
#include <hex/api/task_manager.hpp>
#include <imgui_freetype.h>
namespace hex::fonts::loader {
void loadFont(const ContentRegistry::Settings::Widg... |
5954c63c590f128bcb3db9e33c048b7b14b089d58813cbaebcc6e0d6577a3376 | C++ | 5,754 | 235 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//
// SearchHistory - data structures to track
// the history of a FM-index search
//
//-----------------------------------------------
#include "... |
f473d3266fcfd6d79e135ec2b7100f6be7eae00223b07b7e86da3ce320b9d64c | C++ | 5,756 | 183 | #include <algorithm>
#include <hex/helpers/default_paths.hpp>
#include "hex/helpers/utils.hpp"
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/project_manager.hpp>
#include <ranges>
#include <set>
#if defined(OS_WINDOWS)
#include <windows.h>
#include <shlobj.h>
#elif defined(OS_LINUX) || defined(O... |
5b65e3fa8d2fb77d80c2a86cf9343630cb33fcead4b2ccba3f8a3e7ca9f5e652 | C++ | 5,758 | 151 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include <iostream>
#include <mensia/advanced-visualization.hpp>
#include <TGtkGLWidget.hpp>
#include <GtkGL.hpp>
#include "StreamRendererSignal.h"
#include "ruler/TRulerAutoType.hpp"
#include "ruler/TR... |
6b56b564bf2166cbabb4518fd2efed247990634235b8e662ee3d0077e1a3a823 | C++ | 5,758 | 138 | #include <iostream>
#include "gtest/gtest.h"
#include "ovtAssert.h"
#include "../common/ovtKernelContext.h"
#include <openvibe/ov_all.h>
#include <ovp_global_defines.h>
namespace {
const char* kernelConfig = nullptr;
class StreamedMatrixTest : public testing::Test
{
protected:
StreamedMatrixTest() { }
~St... |
34c2d84957b8118560fbeb348f1fdc4a8d9e1311163e4d1ebd1971f262af5fe0 | C++ | 5,766 | 131 | ///-------------------------------------------------------------------------------------------------
///
/// \file Utils.cpp
/// \brief Implementation of utils for LSL within OpenViBE
/// \author Thomas Prampart (Inria) & Thibaut Monseigne (Inria).
/// \version 1.0.0
/// \date 22/11/2021.
///
/// \copyright Copyright (... |
d358fdf1b49e5cca1200a25300f7ff0d9a71a103f8ad7f47b65671aa75c6e653 | C++ | 5,779 | 214 | #include "ebml/IWriter.h"
#include <vector>
#include <cstring>
inline size_t getCodedSizeLength(const uint64_t value)
{
if (value < 0x000000000000007fLL) { return 1; }
if (value < 0x0000000000003fffLL) { return 2; }
if (value < 0x00000000001fffffLL) { return 3; }
if (value < 0x000000000fffffffLL) { re... |
2ef4b4aa2fde12f1086ba17de778dfc74dc01c93113fc3858d6b527c90d66093 | C++ | 5,780 | 151 | #include "ovpCBoxAlgorithmEOG_Denoising.h"
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CBoxAlgorithmEOG_Denoising::initialize()
{
// Signal stream decoder
m_algo0SignalDecoder.initialize(*this, 0);
m_algo1SignalDecoder.initialize(*this, 1);
m_algo2SignalEncoder.getInput... |
b9e851b20a7ce6ffe8d9c04312eecc97a796c11bfda6fbd308eff55e0e5042bb | C++ | 5,799 | 174 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <cstdio>
#include <cstring>
#include <map>
#incl... |
9ddf8f9a67822a9c568ab32e456e2c20be137c7ec78538cab2852d13e2f2927f | C++ | 5,820 | 135 | //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... |
eca5fd90103121053155185bb8574b7b7c5e59ef50c2ef4c6dd9a6042575c415 | C++ | 5,835 | 247 | /**
General utility functions.
@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 "utils.h"
/**
Returns the sign of a number.
@argument s input number
@return... |
ccc9877c00ae9a19b6eaa47184cce7ecf9cb4cd071e7989756cbcb7fa77827f1 | C++ | 5,849 | 252 |
/********************
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... |
d8425cfed33dc13b5156710afb1de1dbb4bf4b80e20d4c6356f01abdcd18d7a0 | C++ | 5,858 | 126 | #include "content/popups/popup_unsaved_changes.hpp"
#include <fonts/vscode_icons.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/helpers/scaling.hpp>
namespace hex::plugin::builtin {
PopupUnsavedChanges::PopupUnsavedChanges(std::vector<ProviderDirtyState> providers,
std::functi... |
b58df5d4e71a968ce66cabed4cea72ef3acae3f620b71a5621a27c275e7af892 | C++ | 5,859 | 117 | #include <content/visualizer_helpers.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/scaling.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <nlohmann/json.hpp>
#include <romfs/romfs.hpp>
... |
d2715da86e1d335fd42cdf520d2ae8d96577c5203937e80fc1744d70a0975ba4 | C++ | 5,865 | 172 | #include <csignal>
#include <cstring>
#include <string>
#include <thread>
#include <chrono>
#include <iostream>
#include <thread>
#include <communication/ovCMessagingClient.h>
static bool didRequestForcedQuit = false;
static void signalHandler(int /* signal */) { didRequestForcedQuit = true; }
int main(const int ar... |
89c624d68d8dd5990959b1a82731587b1203f5cc8ea24581b4cead5fe9138d58 | C++ | 5,876 | 155 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmThresholdCrossingDetector.cpp
/// \brief Class of the box that detects threshold crossing.
/// \author Joan Fruitet, Jozef Legeny, Axel Bouneau (Inria).
/// \version 1.3.
/// \date 14/04/2022... |
ac70e0d716649a0dbc7fce8fe7c6241fc7942c528931db00f41c3bfae566b6ac | C++ | 5,916 | 257 | /*****************************************************************************
* SV_BedpeReader.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 H... |
a2fb5dcb2b4b20ba22e48efcd60380a2d9794f07b73142afbf88b76738e5d822 | C++ | 5,922 | 212 | /**
* SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
/**
* @file circularBuffer.cpp
* @brief Implementation file for the CircularBuffer class.
*
* This file implements the methods of the `CircularBuffer` class, which provides
* a thread-safe circular buffer f... |
a82d51bb476ddb32ada57713a39846a7cc456cd4dc60a49226c27519b0abedba | C++ | 5,925 | 191 | #include "Random.h"
#include "SequenceAlignment.h"
#include "Parallel.h"
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
int main(int argc, char* argv[]) {
string name = argv[1];
int testnsite = atoi(argv[2]);
int samplesize = atoi(argv[3]);
cerr << name << '\t' << testnsite << ... |
73c3583d966ba74e337709d44efa4125c982dad7f1e01e7e54408ee3b0c40f0d | C++ | 5,929 | 239 | /* -*- 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... |
623ae805d4f4821b3664d3337f3b8fd4590d62525c9081ec3d8a346b2cf62647 | C++ | 5,946 | 143 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmReferenceChannel.cpp
/// \brief Classes implementation for the Box Reference Channel.
/// \author Yann Renard (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This p... |
764adfd0770079a696ebe6acdf092e635239d6fa40e68071379cbe3869cbb246 | C++ | 5,948 | 126 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoFilesTest.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 publ... |
1191a95940beb1dc317db887596091304032333b2dfd07023f5443b85c097e70 | C++ | 5,952 | 96 | #include "BoxPlugins.h"
#include "ovkCBoxProto.h"
namespace OpenViBE {
namespace Tracker {
#define OVP_ClassId_BoxAlgorithm_TemporalFilter CIdentifier(0xB4F9D042, 0x9D79F2E5)
#define OVP_ClassId_BoxAlgorithm_TemporalFilterDesc CIdentifier(0x7BF6BA62, 0xAF829A37)
#define OVP_ClassId_BoxAlgorithm_Si... |
a4ea7bf4aea394f56b1f588b70bd77f96f2331af26eee973295904ebbc08494a | C++ | 5,979 | 170 | // dear imgui test engine
// (coroutine interface + optional implementation)
// Read https://github.com/ocornut/imgui_test_engine/wiki/Setting-Up
// This file is governed by the "Dear ImGui Test Engine License".
// Details of the license are provided in the LICENSE.txt file in the same directory.
#include "imgui_te_c... |
6f32238b40c6187c5bda77523b0333143d14694d8fe364ac1ffdfc2a1fc6f4ee | C++ | 5,981 | 152 | #include <hex/helpers/http_requests.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <algorithm>
#include <random>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <toasts/toast_notificatio... |
b1969dad2575c3ed40ef997044b74f670d772fecbcb10bf22ee05ece8314ffa2 | C++ | 5,986 | 154 | ///-------------------------------------------------------------------------------------------------
///
/// \file CCommand.cpp
/// \author Charles Garraud.
/// \version 1.0.
/// \date 25/01/2016.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// i... |
6e33553244ae73f2038421e852fb5cac1a45123f8442628e19f97c1118a8e96a | C++ | 5,993 | 131 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \author Charles Garraud.
/// \version 1.0.
/// \date 25/01/2016.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it un... |
f8568c1bb5f5b31c8bb426f716f94b9493b3e3c57bffb93e02036e44cbf0c187 | C++ | 5,998 | 148 | ///-------------------------------------------------------------------------------------------------
/// \copyright Copyright (C) 2012, Mensia Technologies SA. All rights reserved.
/// Rights transferred to Inria, contract signed 21.11.2014
///----------------------------------------------------------------------------... |
41ad22f497c04030109bd92326ee6da5179fc653bec3e179c92cbf517ab81233 | C++ | 6,006 | 134 | #include "content/views/view_theme_manager.hpp"
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/theme_manager.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <wolv/io/file.hpp>
#include <fonts/vscode_icons.hpp>
namespace hex::plugin::builtin {
ViewThemeManager::ViewThemeM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.