sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
ef5d44e1d4a30ed41b1726ed256a786d9d15b494ce3e8bc6a41b1602cff8b993 | C++ | 6,037 | 177 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmMouseTracking.cpp
/// \author Alison Cellard (Inria)
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
///... |
8b41e5df521073bad44ea9f08dec0d9a47ac46856cac7879d90791b4b787ed4c | C++ | 6,045 | 123 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmMatrixAffineTransformation.cpp
/// \brief Classes implementation for the box Affine Transformation.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 28/08/2019.
/// \copyrig... |
ec136768ba42c6fa41c2d9f8388c68635aa1df3739cc5c01cffaf9cf344d40e3 | C++ | 6,057 | 113 | #include <plugin_builtin.hpp>
#include <hex/plugin.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/debugging.hpp>
#include <hex/helpers/utils.hpp>
#include <romfs/romfs.hpp>
#include "content/command_line_interface.hpp"... |
2e297bbf1794ca8e4ce2b2b70a629853da485b45b8337adfe068fc541a425924 | C++ | 6,061 | 150 | ///-------------------------------------------------------------------------------------------------
///
/// \file CScriptSettingView.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 ... |
d9af0fd8ca242de7faafbe8f7c82af913645df8c0cfd482f0cff9b4abd2f928b | C++ | 6,092 | 202 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// assemble - convert read overlaps into contigs
//
#include <iostream>
#include <fstream>
#... |
d7c492ecf2797d77da83bf3f189e1ea91b3313530bee5438b4f24f5d724a0126 | C++ | 6,100 | 166 | ///-------------------------------------------------------------------------------------------------
///
/// \file RiemannianPotato.cpp
/// \brief Class riemannian potato
/// \author Axel Bouneau (Inria).
/// \version 1.0.
/// \date Thu Dec 05 10:00:00 2024.
/// \Copyright (C) 2024 Inria
///
/// This classes originate... |
df0df563aacb4ed2c59dcdb28c8ddc006abda98011128ae8aac812d257fe7681 | C++ | 6,101 | 172 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmRiemannianPotatoFieldTrainer.cpp
/// \brief Classes of the box riemannian potato field trainer
/// \author Axel Bouneau (Inria).
/// \version 1.0.
/// \date Thu Dec 05 10:00:00 2024.
/// \Cop... |
a529293a5ab52e0dd0f8b039e02753e5c3350cbb3a810438496a1f7e45f88267 | C++ | 6,147 | 188 | #include <script_api.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/ui/popup.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/ui/view.hpp>
#include <popups/... |
3a84db507cb69aa895d650126e9c5bff92fa8931445f540a24f24d8dde33ec0c | C++ | 6,152 | 164 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmVRPNAnalogClient.cpp
/// \brief Classes implementation for the Box VRPN Analog client.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it a... |
226f35a1ae7efd870c3a59f2aed8ed6a30bde2977511d2d3308d8c91c906259b | C++ | 6,156 | 163 | #include "ovasCDriverGenericOscillator.h"
#include "ovasCConfigurationDriverGenericOscillator.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include <cmath>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverGenericOscillator::CDriverGenericOscillator(IDriverContext& ctx)
: IDriver(ctx), ... |
e20307339e360df692832cc8dc0da92c74afeaf289d288b45d84a4ad28af2af9 | C++ | 6,160 | 140 | #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_notification.hpp>
#include <wolv/io/file.hpp>
#include <wolv/utils/guards.hpp>
na... |
edb6fb6e9ad7d7c1cdb804f712305e6234357e089ee138a977656498afb5386d | C++ | 6,161 | 162 | #include "ovpCDownsampling.h"
#include <cmath> //floor, ceil
#include <cstdlib>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
// ________________________________________________________________________________________________________________
//
bool CDownsampling::initialize()
{
ip_sampli... |
ea790d335ee576d2c66dfc35b661de2c793cd8181af27671cb6d5b3442e9f58f | C++ | 6,163 | 262 | /* -*- 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... |
fa9aa45a61d2b55df70291ac36b041a61d3f45c4f41170832f416351a8b3e9a8 | C++ | 6,196 | 163 | // ***************************************************************************
// bamtools.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 12 October 2012 (DB)
// --------------... |
1874e8210086c743ee9f5822f477b5647f65b3d989c349805e2c150643d26f88 | C++ | 6,198 | 177 | #include <Python.h>
#include <iostream>
#include <cstring>
#include "int_stuff.h"
#include "QuartetDistanceCalculator.h"
#include "newick_parser.h"
#ifndef _MSC_VER
#define _stricmp strcasecmp
#endif
int qdistFromStrings(char* treestring1, char* treestring2) {
UnrootedTree *ut1 = NULL;
UnrootedTree *ut2 = N... |
0774c22b25179c1f3b75603cec5cd9d636526aa03dcf802f3306a73ddaebd83b | C++ | 6,220 | 147 | #include <hex/helpers/http_requests.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/literals.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <algorithm>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <toasts... |
ef8b57cee51fd973e2e488f80142adeaf83bf5a64d8880524b9188d9da20db47 | C++ | 6,234 | 133 | /* -------------------------------------------------------------------------- *
* Lepton *
* -------------------------------------------------------------------------- *
* This is part of the Lepton expression parser originating from *
... |
0fab9c6a1cabfafd732a4987840f750ac41d14a8207e01d2e42c22a7c12adb10 | C++ | 6,238 | 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... |
0281f658af81b860b8489f53775c72604ac32d009c4cbc0a9a57661ed50a0335 | C++ | 6,241 | 161 | /*
* 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... |
70fceb43ca1f21127c052096a37f30a7669d12e3a91c989dd389532b599cea33 | C++ | 6,258 | 208 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererConnectivity.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 Licen... |
506098b7d173b5a787c034aab6e379574c3dbc17866201d2f92666a4d21b4ab7 | C++ | 6,282 | 221 |
/********************
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... |
f43563b972e058944e52873391510f8c30e4a7a1b3c4f6dbd698eae71b2609f2 | C++ | 6,291 | 189 | #include "welch.h"
#include <vector>
/* TODO: literal real numbers in mathematical statements
* are interpretted by default double precision leading to
* conversion warnings in functions templated to be single
* precision. Same for literal ints.
*/
/* Utility Function To Weights For Overlapping Windows */
templ... |
e9c68aa78e404f8795eb37bb5b5dc35ee40d256bb2e777506332c64c680d7464 | C++ | 6,292 | 143 | ///-------------------------------------------------------------------------------------------------
///
/// \file CAlgorithmConditionedCovariance.cpp
/// \brief Classes implementation for the Algorithm Conditioned Covariance.
/// \author Jussi T. Lindgren (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 I... |
8c83ca512a0ee77fc654eaec2ee7e0c680bdf863f63871af5442995b80f04b73 | C++ | 6,309 | 145 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmWindowing.cpp
/// \brief Classes implementation for the Box Windowing.
/// \author Laurent Bonnet (Mensia Technologies).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This... |
1334ea8663efbff3b2e08f76909391f2ad96b0af07415894e86a8b5e7aa919ba | C++ | 6,310 | 173 | #include "ovpCBoxAlgorithmOSCController.h"
// #include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace NetworkIO {
bool CBoxAlgorithmOSCController::initialize()
{
const CString address = FSettingValueAutoCast(*this->getBoxAlgorithmContext(), 0);
const uint64_t port = FSettingValueAutoCast(*th... |
13b3f7fff686e63c58c5cddd7ac9aa284b0a9aec17c67dc85f2d86e3406940fe | C++ | 6,312 | 205 | #include "IXMLHandler.h"
#include <expat.h>
#include <cstring>
#include <stack>
#include <fstream>
#include <sstream>
#include <fs/Files.h>
namespace XML {
class IXMLHandlerImpl final : public IXMLHandler
{
public:
void release() override;
IXMLHandlerImpl();
//Parsing
IXMLNode* parseFile(const char* ... |
665530e7c89371f232dea26006df85dbe56e86c778f2e069c2c5b06c66b6220c | C++ | 6,313 | 136 | ///-------------------------------------------------------------------------------------------------
///
/// \file convert.cpp
/// \brief All functions to Convert OpenViBE::CMatrix and Eigen::MatrixXd, links to Eigen function, manipulate OpenVibe::CMatrix and more.
/// \author Thibaut Monseigne (Inria).
/// \version 1... |
411b1579c9b7c3547fabf144763331021f927f21219877868484c14325278fa1 | C++ | 6,331 | 148 | ///-------------------------------------------------------------------------------------------------
///
/// \file CVRPNAnalogServer.cpp
/// \brief Classes implementation for the Box VRPN Analog Server.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify... |
bb806f6e107f790ce5d6df023157a258726dde1c762a285bb659c2998a493fb4 | C++ | 6,335 | 204 | #if defined TARGET_HAS_ThirdPartyOpenAL
#include "ovasCDriverOpenALAudioCapture.h"
#include "ovasCConfigurationOpenALAudioCapture.h"
#include <system/ovCTime.h>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverOpenALAudioCapture::CDriverOpenALAudioCapture(IDriverContext& ctx)
: IDriver(ctx), m_settings(... |
1345d2ad0ee9d8dc42cb9852086b981133511df19244f24361a29b92422cbe4e | C++ | 6,345 | 160 | #include "ovpCStreamedMatrixDecoder.h"
#include <string>
namespace OpenViBE {
namespace Plugins {
namespace StreamCodecs {
namespace {
// removes pre and post spaces, tabs and carriage returns
void trim(char* dst, const char* src1, const char* src2)
{
if (!src1 || *src1 == '\0') { dst[0] = '\0'; }
if (!src2)... |
28549a5894aeb137155af9ba94210467f2fc59bf3454068bc5ba777a54d039e4 | C++ | 6,345 | 183 |
/********************
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... |
2fb4ba80bd950a03942c3d534f14a7921af23f439f406de5b8e5d520a26564e3 | C++ | 6,384 | 163 | #include <hex/api/content_registry/disassemblers.hpp>
#include <disasm/disasm.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/string.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <imgui.h>
namespace hex::plugin::disasm {
... |
4427e401c6367c81f52d45b49a4c6e1f8c9ba7ca6eacd744655ed32b809b69cb | C++ | 6,396 | 171 | #include "ovasCDriverGenericOscillator.h"
#include "ovasParameterHelper.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include <cmath>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverGenericOscillator::CDriverGenericOscillator(IDriverContext& ctx)
: IDriver(ctx),
m_paramSendPeri... |
038d91004e2f00c907b9862ef13da2acb9e738e032d6b00f35e9a81ab377342a | C++ | 6,399 | 162 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// OverlapTools - Wrapper for the overlap machinery
// to perform an overlap computation for... |
f1a2549d80427ced584c107f43727a84dd0aaff0f18d3199d447d4d2e238fba4 | C++ | 6,403 | 195 | #include <hex/helpers/tar.hpp>
#include <hex/helpers/literals.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/fmt.hpp>
#include <wolv/io/file.hpp>
#include <microtar.h>
#include "wolv/utils/string.hpp"
namespace hex {
using namespace hex::literals;
Tar::Tar(const std::fs::path &path, Mode mod... |
5cb797b4ea12595a67eedb5a37cea5477c9e2eb4ebdab514480c430b06ff497f | C++ | 6,410 | 198 | //----------------------------------------------------------------------
// File: ANN.cpp
// Programmer: Sunil Arya and David Mount
// Description: Methods for ANN.h and ANNx.h
// Last modified: 01/04/05 (Version 1.0)
//----------------------------------------------------------------------
// Copyright (c) 1997-200... |
61272360b58039b09f64fd759cf1b5e8bdf8e6c4e34f4e44d0fd722208026fd3 | C++ | 6,415 | 145 | #include <content/visualizer_helpers.hpp>
#include <implot.h>
#include <imgui.h>
#include <miniaudio.h>
#include <fonts/vscode_icons.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/helpers/scaling.hpp>
#include <hex/helpers/utils.hpp>
namespace hex::plugin::visualiz... |
bb853b12583a4b4034ab272231baf9c7d25e7500ed6d3c133aa62d086a5d3129 | C++ | 6,445 | 292 | /*****************************************************************************
* SV_SplitReadReader.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 Publ... |
e09992e8d26455a982fb2384fd74f6ac2c7fa65e2ea1afa331cdc8f8f0ad12ae | C++ | 6,447 | 210 | // TODO: figure out why changing the ordering causes issues
#include "line_search.h" /* compute_scale */
#include "glmgen.h"
#include "admm.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
#include <mkl.h>
#pragma GCC diagnostic pop
#include <math.h>
#include <vector>
short constrain... |
23304d37244a0da2198bf7fec604a417517b5e366929da720c9bb2d2107284c5 | C++ | 6,452 | 266 | /* -*- 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... |
858b00e8db041ef203dc3b72c3e74f5b1b445a256c530887d9db82ce30b0c50c | C++ | 6,458 | 221 | #include <content/providers/view_provider.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/events/events_provider.hpp>
#include <hex/api/events/requests_gui.hpp>
#include <popups/popup_text_input.hpp>
#include <nlohmann/json.hpp>
namespace hex::plugin::builtin {
[... |
6da925f66298391bb164801589b5bee595f52da1305be39100970247db1c1353 | C++ | 6,463 | 158 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoEBMLReaderTest.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... |
938ff2578e500ce39e287844a590e49e9a1d9989c974a390b7dae8bda6cbdcda | C++ | 6,467 | 186 | // ContigAlignmentScore.cpp
//
// See header for what this does and where it plugs into svaba. The scoring
// rules below map directly to the filter analysis:
//
// Rule A: n_indel_ops >= 3 is almost certainly mis-alignment in a repeat.
// Each additional indel beyond 1 adds a 0.20 penalty.
// Rule B: 2+ ... |
e2f97147b845041eca360e0ddedb5c23277503ce1f4dd1278ddd46a68cb89147 | C++ | 6,471 | 225 |
/********************
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... |
02717781b5eec6918e919e96bae527934d303f5520ca334b2cc701bbd13b903f | C++ | 6,476 | 223 | /* -*- mode: C++; indent-tabs-mode: nil; -*-
*
* This file is a part of LEMON, a generic C++ optimization library.
*
* Copyright (C) 2003-2013
* Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
* (Egervary Research Group on Combinatorial Optimization, EGRES).
*
* Permission to use, modify and distribut... |
531d9f6d658e8bc4e39569f1566d3c09de6845247a6937005478f7de0deea41a | C++ | 6,497 | 147 | #include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/trace/stacktrace.hpp>
#include <pl/core/t... |
603bb00b34f5da6e86878ae3cda70c7ee0554007fd8554651fe56d6946e90ada | C++ | 6,497 | 116 | ///-------------------------------------------------------------------------------------------------
///
/// \file Featurization.cpp
/// \brief All functions implementation to transform Covariance matrix to feature vector.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 26/10/2018.
/// \copyright Co... |
38343a4c97c715508be21139f160bbb251c7baa2dc7182ffeaec2392e8af298c | C++ | 6,499 | 155 | ///-------------------------------------------------------------------------------------------------
///
/// \file CConnectorEditor.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... |
5bda93de42c9555c0a53e707a24ce7b6f8dd20afeb1c6a87659a67a0484c85a5 | C++ | 6,538 | 180 | ///-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// ClusterProcess - Merge unambiguously overlapping sequences
//
#include "ClusterProcess.h"... |
6505214b873a6016d1876a7d1a38567fdf0803570fbde9f255fba376870cecbd | C++ | 6,542 | 296 | /*
Szymon Rusinkiewicz
Princeton University
KDtree.cc
A K-D tree for points, with limited capabilities (find nearest point to
a given point, or to a ray).
*/
#include <cmath>
#include <string.h>
#include "KDtree.h"
#include "mempool.h"
#include <vector>
#include <algorithm>
// Small utility fcns
static inline float... |
f14c33d6bcebe0e2a7c5deae4dc27ea47fcbc960f184bb9747e254e20d3bf017 | C++ | 6,548 | 143 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmStimulationFilter.cpp
/// \author Yann Renard (Inria).
/// \version 1.1.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/... |
7060652a1aac9982d493d99c68ed73509ffa641877ff2598d3353884eae866d0 | C++ | 6,559 | 194 | #include <hex/api/workspace_manager.hpp>
#include <hex/api/layout_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/io/file.hpp>
#include <nlohmann/json.hpp>
#include <imgui.h>
#include <wolv/utils/string.hpp>
namespace hex ... |
d5e50de6dae79513ed4b97d930e3fa18c394bb9046bc5034f222f4f786f17964 | C++ | 6,584 | 156 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmAmplitudeArtifactDetector.hpp
/// \brief Classes implementation for the box Amplitude Artifact Detector.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 12/08/2019.
/// \co... |
e2e488f3b50aa98435222120def968b7981c61ad2cbd0a06c9dbbe49415b98db | C++ | 6,591 | 180 | #include <hex/providers/file_backed_provider_data.hpp>
#include <map>
#include <mutex>
#include <stdexcept>
#include <algorithm>
#include <cerrno>
#include <limits>
#if defined(OS_WINDOWS)
#include <windows.h>
#else
#include <fcntl.h>
#include <unistd.h>
#endif
namespace hex {
bool impl::writeFileAt... |
1b64b17f74f0e23df72fe086982c239c081684ae1d7bc4b3d3f8744eabed2a46 | C++ | 6,601 | 145 | ///-------------------------------------------------------------------------------------------------
///
/// \file CMatrixVariance.cpp
/// \brief Definitions of Class used to compute matrix variance.
/// \author Dieter Devlaminck & Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 11/11/2021.
/// \copyright Copyr... |
b45e236cb89e7ecb2580bda19639e9caa6ba2adf4a47695255bbef3d1775ed5c | C++ | 6,606 | 170 | #if defined(TARGET_HAS_ThirdPartyFFTW3) // required by wavelet2s
#include "CBoxAlgorithmInverse_DWT.hpp"
#include "../../../contrib/packages/wavelet2d/wavelet2s.h"
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessi... |
50b1fa1bf6e87c933276f8e4f9c2601ecb7a44523eff8dada85f2cbf06d705af | C++ | 6,611 | 183 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <string>
#include "coreneuron/nrnconf.h"
#incl... |
ca08148ea4003f1730ca5700a1c064e07e8de002440a7b0bea66501e231ffad7 | C++ | 6,611 | 181 | #include <numeric>
#include <string_view>
#include <ranges>
#include "hex/subcommands/subcommands.hpp"
#include <hex/api/task_manager.hpp>
#include <hex/api/events/requests_lifecycle.hpp>
#include <hex/api/imhex_api/messaging.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/hel... |
537ee61b3d5d8c2a86324589d939e360b8124c81ef9c376ccf387cf1461d220f | C++ | 6,615 | 177 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <cstdlib>
#include <vector>
#include "coreneur... |
7e9b238e6a6a95db25a3c214d6bb4c9b279e8c25557ea721d60bf8f84c4e7b17 | C++ | 6,617 | 217 | /* -*- 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... |
79fc1f59984fdb7319652ffef21c5d0132c6530874ddbf645efc361569e826c5 | C++ | 6,624 | 145 | ///-------------------------------------------------------------------------------------------------
/// \copyright Copyright (C) 2012, Mensia Technologies SA. All rights reserved.
///
/// This library is free software; you can redistribute it and/or
/// modify it under the terms of the GNU Lesser General Public
/// Li... |
4e8b1acb0a89f5a45f89963b90cfec304669b06c3894f825f9360d62f8e4de27 | C++ | 6,629 | 171 | //
// @note some ov files which have lots of stimulation chunks take long time to import
// when launching tracker from visual studio. this is probably due to memory allocation, similar to slow simple dsp grammar parsing.
//
#include "Demuxer.h"
#include <iostream>
#include <thread>
#include <deque>
#include <vector>
... |
8ab07111b7fbc34f3436006c24ab183a71ec3bfc93bfb63ba2be9712aadc0e04 | C++ | 6,653 | 169 | #include "system/ovCMemory.h"
#include <cstring>
namespace System {
// ________________________________________________________________________________________________________________
//
template <typename T>
bool BigEndianToHost(const uint8_t* buffer, T* value)
{
if (!buffer || !value) { return false; }
mem... |
0989bc22f72797042b1920874975d733db30fdcbf4ffbc2106eb78136b3c8c7c | C++ | 6,668 | 110 | ///-------------------------------------------------------------------------------------------------
///
/// \file CAboutScenarioDialog.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... |
4b55d4588b4e74f28ad6331b50fb41917df0acc451d86af87e0c7b52a404c8fe | C++ | 6,691 | 226 | /*******************************************************************************
"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.
----------... |
a867308b68d804c567cd0694bde433a0746e0c28c744ea1d0756292409aba21a | C++ | 6,732 | 280 | /*****************************************************************************
* SV_BamReader.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 Hea... |
85ad0801b02c39ce9ec209c39b9d96a62ea82ef57611c51fed12f89db40997cc | C++ | 6,753 | 235 | // ***************************************************************************
// SamHeader.cpp (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 25 October 2011 (DB)
// ----------------------------... |
f7d449a3b1788be189ee3066a6bb069078da271cc439c7599b7b7fa8251862f9 | C++ | 6,773 | 197 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoXMLReaderTest.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 ... |
da42e3f63325e2cedb5096f278aa76ec97ee2fe986362706f47acdc0ac9a5b54 | C++ | 6,788 | 167 | #include "ovkCBoxSettingModifierVisitor.h"
#include "ovkCPlayer.h"
#include <xml/IReader.h>
#include <fs/Files.h>
#include "../../tools/ovk_setting_checker.h"
#include <string>
#include <iostream>
#include <fstream>
#define OV_AttributeId_Box_Disabled OpenViBE::CIdentifier(0x341D3912, 0x1478... |
2664546fdcdf9c5da01ed4234c2f29f5c44f0b3abd2516a4ea9905def4c92e67 | C++ | 6,793 | 198 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// BWTTraverse - traverse a bwt, outputting all
// strings that are length greater than some ... |
676649cae957039156432fecb86121fe5d10aa9be4ea24821fc1e87afa449520 | C++ | 6,842 | 197 | ///-------------------------------------------------------------------------------------------------
///
/// \file CAlgorithmMatrixAverage.cpp
/// \brief Classes implementation for the Algorithm Matrix average.
/// \author Yann Renard (Inria/IRISA).
/// \version 1.1.
/// \copyright Copyright (C) 2022 Inria
///
/// Thi... |
0e4b99c738d509a4833b07f3c6c3b4d44b1c1971fd8398aace2ee13a3811302e | C++ | 6,852 | 184 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <algorithm>
#include <cstdio>
#include <cstdlib>... |
0ef8f65ae5fb1f15d45ee99a09d77ebade4bcadd99b656405b36841c2bc74c74 | C++ | 6,869 | 210 | #include <iostream>
#include <string>
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "ftd2xx.h"
#include <conio.h>
#include <thread>
#include <assert.h>
#include <deque>
#include "QtGuiApplication4.h"
#include"qcustomplot.h"
#include <QtWidgets/QApplication>
#include <cstdlib>
#include <QtCharts/Q... |
bda1a370ce452565e3d82aa1744fb3da77fe192f0f1981193f6e844d66d44918 | C++ | 6,870 | 247 | #include <iostream>
#include <thread>
#include <sstream>
#include <system/ovCTime.h>
#include "ProcExternalProcessingHelper.h"
namespace OpenViBE {
namespace Tracker {
const CTime BufferedClient::CLIENT_NOT_STARTED = CTime::max();
void BufferedClient::requestQuit()
{
std::lock_guard<std::mutex> oLock(m_threadM... |
f2796f2c5fbd395bd3250b094b1a1819ab1ede2d4d2dfa4a4d4bbec0da4b375a | C++ | 6,875 | 201 | //----------------------------------------------------------------------
// File: ann_sample.cpp
// Programmer: Sunil Arya and David Mount
// Last modified: 03/04/98 (Release 0.1)
// Description: Sample program for ANN
//----------------------------------------------------------------------
// Copyright (c) 1997... |
0242a15b774f98cdbf1ecb1f5b78bd76a8672698988e388b6926dc151f061150 | C++ | 6,883 | 190 | #pragma once
/**
* @file ClientServerCommon.cpp
* @brief Common utilities for client-server communication.
* @details This file contains utility functions for computing and extracting unique type identifiers
* based on data size and name, as well as a MurmurHash3 implementation for hashing strings.
* These utilit... |
bba854862f0bd2360840f186ea32c11e1c7c23a2ae7a30ebd43605b3e75cf271 | C++ | 6,892 | 205 | /*******************************************************************************
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:... |
a7c615ae5a134a184f1583bdf6a5de365f7175e112da771080414bbe8f373049 | C++ | 6,905 | 246 | /* -*- 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... |
3dac1b728efb1a59ecae8363d63b97475cee9f50186c2c2bf2bbaf166b989ae0 | C++ | 6,909 | 264 | /*****************************************************************************
bamToBed.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.
****************... |
b031f482ba902e8ca0e80d6d51104d120eb3a085df8e7ea3887c909e8d6e9061 | C++ | 6,909 | 226 | #include <gtest/gtest.h>
#include <algorithm>
#include <iostream> // for std::cerr, std::endl
#include <cmath>
#include <numeric>
#include <random>
#include <vector>
#include <tuple>
#include <string>
#include "IsotonicPEP.h" // your class (InferPEP)
#include "MonotoneRegressor.h" // RegressorType, Monoton... |
6f244e57c18952cd1b1692aebc3d123d34cb77873ad240e11cc5cf906278a04e | C++ | 6,929 | 208 | #include <hex/data_processor/node.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/providers/provider.hpp>
namespace hex::dp {
int Node::s_idCounter = 1;
static std::atomic_bool s_interrupted;
Node::Node(UnlocalizedString unlocalizedTitle, std::vector<Attrib... |
5087e90163819a76830abcaba01038e92a391160f27cb763a2e7899de1ab4eb5 | C++ | 6,948 | 184 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxHelloSenderGame.cpp
/// \brief Class of the box that communicate with Hello Sender Game.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 12/03/2020.
/// \copyright Copyright (C) 202... |
e59fbab04f63d59d6138d8ff24b6d3890ef3dc63d6bf66756907ceda4b619181 | C++ | 6,955 | 182 | #include <algorithm>
#include <hex/api/http/store_api.hpp>
#include <hex/api/http/api_urls.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/logger.hpp>
#include <nlohmann/json.hpp>
#include <condition_variable>
#include <mutex>
#include <optional>
#include <ranges>
n... |
ada1a8a9040757308181a162fd51664cb627df66c6fdeaa95140693769a891d6 | C++ | 6,962 | 233 |
/*
* 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... |
9c1576843f351ee4d44cb05d5424efcf1982fdc7648622f3f4e3f1a3f97c2356 | C++ | 6,969 | 152 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxInputStreamSwitch.cpp
/// \brief Classes implementation for the box Input Stream Switch.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 14/10/2022.
/// \copyright Copyright (C) 202... |
cbf7c83bfa175ffcbeb212da3fe01dbf7e3b1a3e40dbe4d8baf7c9341ea50458 | C++ | 7,011 | 159 | #include "BoxAcquisitionClientLegacy.h"
#include <limits>
namespace OpenViBE {
namespace Plugins {
namespace Acquisition {
uint64_t CBoxAlgorithmAcquisitionClientLegacy::getClockFrequency() { return 64LL << 32; }
bool CBoxAlgorithmAcquisitionClientLegacy::initialize()
{
m_decoder = &getAlgorithmManager().getAlgo... |
5d91784603da2bc31948a30aaba4ed4dc32fd2559ecd4757862c2dc82f5b94e9 | C++ | 7,016 | 206 | /* -*- 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... |
9a47ccfd22063b750ebdb4555dcbc04f411353101f225a8a3645bbe474fb84c3 | C++ | 7,024 | 314 | /*****************************************************************************
* SV_InterChromBamReader.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 ... |
aba3141244d071cead534bf952fc4c0c294203f2dc3c1318b8c9afd20d71a115 | C++ | 7,025 | 139 | #include "internal.hpp"
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/events_provider.hpp>
#include <hex/api/project_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/providers/file_back... |
83b7847493dc498699a7d19b471f4924867de5daea0ce420ce0ac61ea7781f4d | C++ | 7,030 | 271 | #/*****************************************************************************
* SV_Bedpe.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 Health... |
d2fb39581e98cf456ce18bf3f6ec3edeeae80745e8728959e21efa8cec700794 | C++ | 7,092 | 159 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxEpochVariance.cpp
/// \brief Definition of Classes of the box Epoch variance.
/// \author Dieter Devlaminck & Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 11/11/2021.
/// \copyright Copyrigh... |
55996f28f064c1c7cd2ee200d3adf5831a5734a4a41a32bedb48b8a94f389836 | C++ | 7,098 | 204 | /*******************************************************************************
"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.
----------... |
58e05767351368a39aaf60513dac15c41ce201ecd2fd97ae2e6fd24b9c6524ff | C++ | 7,121 | 190 | #include "ovpCBoxAlgorithmOutlierRemoval.h"
#include <algorithm>
#include <iterator>
namespace OpenViBE {
namespace Plugins {
namespace Classification {
static bool PairLess(const std::pair<double, uint32_t> a, const std::pair<double, uint32_t> b) { return a.first < b.first; }
bool CBoxAlgorithmOutlierRemoval::ini... |
530f60f62228a68a7742efd8168429a133d5f931702fae01ccc3901df495ad02 | C++ | 7,169 | 145 | #include <hex/api/http/api_urls.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/http_requests.hpp>
#include <wolv/hash... |
eb62681f7b3805742b06b22746834b6ab58ebcdf80d9651538e9162ef7576545 | C++ | 7,181 | 203 | #include "ovasCConfigurationTMSIRefa32B.h"
#if defined TARGET_HAS_ThirdPartyNeXus
#include <windows.h>
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
GtkListStore* m_listStoreSlaves;
GtkTreeView* m_pViewSlaves;
GtkListStore* m_listStoreList;
GtkTreeView* m_pViewList;
static void button_remo... |
27b4a86bb1507e88a817601ad102de0f55ba22e867030152ec50844acc2f0cb8 | C++ | 7,183 | 184 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include "coreneuron/nrnconf.h"
#include "coreneuron/sim/... |
d1c6a5186742de9778936da9e1ca5a401401ae6a6ef01a2a307d45b0755a149c | C++ | 7,191 | 176 |
#include <content/global_actions.hpp>
#include <hex/ui/view.hpp>
#include <hex/api/project_manager.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/requests_gui.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/providers/provider.hpp>
#include <hex/providers/file_backed_provider_data.hpp... |
d9b93ecbe2d3b5b4a7e1a15248b0ed0fe5fdfbc34984db67238d09ce2d69cc74 | C++ | 7,215 | 159 | #include <hex/api/content_registry/hex_editor.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/helpers/utils.hpp>
#include <pl/patterns/pattern.hpp>
#include <wolv/utils/lock.hpp>
namespace hex::plugin::builtin {
... |
5daeef46175d9349d4f1cec4a7910405fc39a8b735c5ebf85b41b3b3cfb11821 | C++ | 7,220 | 166 | #if defined TARGET_HAS_ThirdPartyLSL
#include "ovpCBoxLSLExportGipsa.h"
namespace OpenViBE {
namespace Plugins {
namespace NetworkIO {
bool CBoxAlgorithmLSLExportGipsa::initialize()
{
m_inputChannel1.initialize(this);
m_streamName = FSettingValueAutoCast(*this->getBoxAlgorithmContext(), 0);
m_streamTyp... |
a01640aff123578a33c4969b53fd7c046eebbc379124072b4a99835abaf625df | C++ | 7,231 | 117 | #include <vector>
#include <openvibe/ov_all.h>
#include "ovp_defines.h"
#include "box-algorithms/ovpCBoxAlgorithmCSPSpatialFilterTrainer.h" // ghent univ
#include "algorithms/ovpCAlgorithmUnivariateStatistics.h" // gipsa
#include "box-algorithms/ovpCBoxAlgorithmUnivariateStatistics.h" // gipsa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.