sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
c5754a4069dd8f09f509324a33fbda0b1d60d8f602a60d314d06e9c4ec55df95 | C++ | 10,353 | 470 | /* -*- 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... |
b3e818714dcd85454260f5b02a8301510b4aea8beb1cb6f6cce4c4a6b9bc352b | C++ | 10,355 | 337 | #include "AssemblyBamWalker.h"
#include "SeqLib/UnalignedSequence.h"
#include "SeqLib/ReadFilter.h"
#include <chrono>
#include <thread>
#include "SnowmanUtils.h"
#include "run_snowman.h"
#include <fstream>
//#define QNAME "5427150"
#define MIN_ISIZE_FOR_DISC 700
//static std::vector<ContigElement*> contig_elems;
st... |
30ddaa4ecca9f6e23fde2b898311a5c15b314d22b6e5ebd3b35503f6cb878245 | C++ | 10,383 | 228 | #include "CAlgorithmGlobalDefinesGen.hpp"
#include "CBoxAlgorithmDumper.hpp"
#include "CBoxAlgorithmSnapshotGen.hpp"
#include <QQuickWindow>
#include <QSGRendererInterface>
#include <iostream>
#include <sstream>
#include <string>
#include <clocale> // std::setlocale
typedef struct SConfiguration
{
SConfiguration... |
6b1ede713e47793357373aa444ebd78dcdbda1412fe3aae179e913ae7696852d | C++ | 10,405 | 233 | #include "ovpCBoxAlgorithmCSVFileWriter.h"
#include <string>
#include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
bool CBoxAlgorithmCSVFileWriter::initialize()
{
this->getStaticBoxContext().getInputType(0, m_typeID);
m_separator = FSettingValueAutoCast(*this->getBoxAlgorithmContex... |
0c6c0b137afcb061afc2eb1f78ed66f13ef8dfdac59a3cf0c889abb02b94953c | C++ | 10,414 | 240 | #include "ovasCDriverSimulatedDeviator.h"
#include "ovasCConfigurationDriverSimulatedDeviator.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include <system/ovCMath.h>
#include <cmath>
#include <algorithm>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverSimulatedDeviator::CDriverSimulatedD... |
f00cbdc7e375a4c8e9884567b73b2b53849dc37411b42433bf3b83c77d2e40d1 | C++ | 10,419 | 308 | /*******************************************************************************
"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.
----------... |
dc0eff00c3a641fd6ecf58b8425e8ede2f41b601282b305965dd816b337e535e | C++ | 10,422 | 239 | /**
Hybrid taut-string solver for TV-L1 proximity
@author Álvaro Barbero Jiménez
*/
#include <math.h>
#include <stdio.h>
#include "TVopt.h"
// Default exponent for maximum backtracking steps
#define BACKTRACKSEXP 1.05
/*
Checks the current number of backtracks, and if sufficently large
switches t... |
79f637035b8af22fa89dd1ad60e3d6e8eadb56338059d23227bcf7e5ed2a7889 | C++ | 10,428 | 396 | /* -*- 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... |
94a22e5b7db2dae979e417c1fb549a87a5c92ea2bd4cc313a5b161a67b205c73 | C++ | 10,460 | 287 | #include "ovasCDriverEGIAmpServer.h"
#include "ovasParameterHelper.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCMemory.h>
#include <cstring>
#include <cstdio>
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverEGIAmpServer::CDriverEGIAmpServer(IDriverContext& ctx)
: IDriver(... |
ecf99cc303b16f88392088d44dbd5cd906092e4545b0e793485016979b39e64b | C++ | 10,496 | 294 | #include "ovasCDriverEGIAmpServer.h"
#include "ovasCConfigurationEGIAmpServer.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCMemory.h>
#include <cstring>
#include <cstdio>
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverEGIAmpServer::CDriverEGIAmpServer(IDriverContext& ctx)
... |
7e1f43d48e4b197677f0d350483fbf7691a92a66d39a167af1c7cc8564dbb119 | C++ | 10,511 | 313 | /*******************************************************************************
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:... |
6406b41117a92197d03ee449246cb5711ad60f3838c1df6a5f8cda5edc0d66be | C++ | 10,516 | 336 | #include "ovpCBCICompetitionIIIbReader.h"
#include <iostream>
#include <cmath>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
#define BCICompetitionIIIbReader_UndefinedClass 0xFFFFFFFFFFLL
bool CBCICompetitionIIIbReader::initialize()
{
m_signalEncoder.initialize(*this, 0);
m_stimEncoder.initial... |
70a4125eab849588ffc40bd0e04a6cdd75627d85f21f16d567707d3f5af57207 | C++ | 10,530 | 359 | /*
* \author Christoph Veigl, Yann Renard
*
* \copyright AGPL3
*
*/
#include "ovasCDriverOpenEEGModularEEG.h"
#include "ovasCConfigurationOpenEEGModularEEG.h"
#include <toolkit/ovtk_all.h>
#include <iostream>
#if defined TARGET_OS_Windows
#include <windows.h>
#include <winbase.h>
#include <cstdio>
#include <com... |
3c53a11b2e976939a1ed808bd1f44c10ad106ae3d1e06cbe443f25da1f901b9a | C++ | 10,560 | 384 | /*****************************************************************************
* SV_PairReader.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 He... |
75dc83509e2c64b74e58cf5b9308fdb36190f6935c8a9bb1863049a8d8b2d745 | C++ | 10,591 | 268 | #include "ovpCBoxAlgorithmGenericStreamReader.h"
#include <iostream>
#include <limits>
#include <fs/Files.h>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
CBoxAlgorithmGenericStreamReader::CBoxAlgorithmGenericStreamReader() : m_reader(*this) {}
uint64_t CBoxAlgorithmGenericStreamReader::getClockFrequen... |
943489836d11ed6320bbaf595c97cb739410ef27b4894f51c0dc624f41c11f28 | C++ | 10,604 | 304 | ///-------------------------------------------------------------------------------------------------
///
/// \file GtkGL.cpp
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affero General Public License as published
... |
0cc68da29de6aaa91251d86e08b78837e9b19974689e22094d7b4bd735debcc7 | C++ | 10,605 | 436 |
/********************
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... |
24db1d9d63f2b6765c7f7a26f6a267f206fc98a9811be1a05a0023ec5fe667ba | C++ | 10,629 | 228 | #include "content/views/view_patches.hpp"
#include <hex/providers/provider.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <nlohmann/json.hpp>
#include <content/providers/undo_operations/operation_write.hpp>
#include <content/providers/undo_operations/operation_insert.hpp>
#include <content/providers/... |
8b73c0e63eba1d388ecc69ba3e342f845c96fd80ea8531a3b26ff09f8426a5d2 | C++ | 10,680 | 241 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxLSLExport.cpp
/// \brief Class of the box that export stream with LSL.
/// \author Jussi T. Lindgren (Inria).
/// \version 1.0.
/// \date 30/01/2015
/// \copyright Copyright (C) 2022 Inria
///
/// Thi... |
a2be5e82b30978aa31e2b3814dc7362e039e1a3e03f6cd6c717063dfeb23e509 | C++ | 10,684 | 288 | #include <hex/api/achievement_manager.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/default_paths.hpp>
#include <nlohmann/json.hpp>
#if defined(OS_WEB)
#include <emscripten.h>
#endif
namespace hex {
static AutoReset<std::unordered_map<Unlo... |
cca046f3c2c80fbc330602608a7438ed2cc237f7f9b1eb0ec8184e7119e88178 | C++ | 10,717 | 358 | #include <stdlib.h>
#include <string.h>
#include "TVopt.h"
/********************************************
Data Structures
********************************************/
/*
Structure defining a bidimensional point with integer x value
*/
typedef struct {
int x;
double y;
} Point;
/*
Structure defini... |
ba0d79dda1227f823da8594fe728a1ad13c19bb5f265ebea04cf6b3528920eb6 | C++ | 10,738 | 305 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include <nlohmann/json.hpp>
#include <CClient.h>
#include <CNetwork.h>
#include <openvibe/acquisition-messaging/ovCtrlCmdMsg.h>
#include <openvibe/acquisition-messaging/ovMsg.h>
#include <openvibe/acquisition-messa... |
a75cd389e8c901dbf01e1fef05cb9672625403e374dcd2ec2171ad2291d4c008 | C++ | 10,741 | 260 | #include "CTopographicMapDatabase.hpp"
#include <cmath>
namespace OpenViBE {
namespace Plugins {
namespace SimpleVisualization {
CTopographicMapDatabase::CTopographicMapDatabase(Toolkit::TBoxAlgorithm<IBoxAlgorithm>& plugin, Kernel::IAlgorithmProxy& interpolation)
: CBufferDatabase(plugin), m_interpolation(inter... |
29ba132c8dec094e162b47d7e8281367167b0f19f748678fe5c3227d2efb993b | C++ | 10,748 | 226 | #include <hex/helpers/utils.hpp>
#include <hex/helpers/scaling.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/api/localization_manager.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <nlohmann/json.hpp>
#include <romfs/romfs.hpp>
namespace hex::plugin::builtin {
void drawColorPic... |
c81351379a5bb005ac09cce6c102b07363409b4df9b2e581cc5e8e8331cd1be7 | C++ | 10,802 | 339 | #include "content/providers/gdb_provider.hpp"
#include <cstring>
#include <thread>
#include <chrono>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <... |
ed60a4b68962f96d5eae851157e7688a5cca7222dfccb18c467ceb44ce700efd | C++ | 10,812 | 260 | #if defined TARGET_OS_Windows
#include "ovasCDriverEncephalan.h"
#include "ovasCConfigurationEncephalan.h"
namespace OpenViBE {
namespace AcquisitionServer {
//---------------------------------------------------------------------------------------------------
CDriverEncephalan::CDriverEncephalan(IDriverContext& driv... |
32c7d160bb884f66e20ec2d74af056da082ff7cfec9162bc71df9206b0092dfc | C++ | 10,855 | 284 | #include <algorithm>
#include <hex/api/content_registry/data_processor.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/scaling.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/data_processor/node.hpp>
#include <nlohmann/json.hpp>
#include <imgui.h>
... |
d6984f128a4188dc161366688bf407df28dc4124b4d46029a5aa7eacdfb1f168 | C++ | 10,885 | 242 | #include "ovasCDriverSimulatedDeviator.h"
#include "ovasParameterHelper.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include <system/ovCMath.h>
#include <cmath>
#include <algorithm>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverSimulatedDeviator::CDriverSimulatedDeviator(IDriverContex... |
e9232ad2aa38fdcbd5338f2e6ce26b361eb54c329716052fcd04f567ee5e327c | C++ | 10,898 | 300 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
/// THIS FILE IS AUTO GENERATED DONT MODIFY IT.
#includ... |
3e11e461b61528e2810a9b9b19a997735ebeb2a4c3803638c5cddf54197412fb | C++ | 10,902 | 231 | /**
* SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
/**
* @file ThreadedBuffer.SampleBufferHandler.cpp
* @brief Implementation file for the SampleBufferHandler class.
*
* This file implements the SampleBufferHandler class, which is responsible for managing
*... |
a0e12b7c9cf18a675ceb776c4aabbe6febb2a118448a4bb3c0a18d8754a44d36 | C++ | 10,904 | 241 | #include "PowerLawSim.h"
#include "SnowmanUtils.h"
#include <cmath>
#include <string>
#include <cassert>
#include <algorithm>
#include <unordered_set>
#define MAX_DUP_DEL_INV_SIZE 2000
#define MAX_RAR_SIZE 35e6
#define EVENT_BUFFER 4000
void PowerLawSim(faidx_t* findex, int num_breaks, double power_law, SeqLib::GRC&... |
189da44b9b737a71f54715262bd19c2ac7ef35a6497ece07c08f63799d0377e1 | C++ | 10,909 | 364 | #include "ReadSim.h"
#include <iostream>
#include <random>
#include <cassert>
void ReadSim::addAllele(const std::string& s, double af) {
if (m_seq.size() && m_seq.back().length() != s.length()) {
std::cerr << "ReadSim::addAllele error. Expecting sequences to be same size" << std::endl;
exit(EXIT_FAILURE)... |
3ef2a29d6548cc77bbcaf852196f53cf7d314baf619606199c15ffd1ad697ea5 | C++ | 10,909 | 324 | #if defined TARGET_HAS_ThirdPartyITPP
#include "ovpCApplyTemporalFilter.h"
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
void ComputeFilterInitialCondition(itpp::vec b, itpp::vec a, itpp::vec& zi)
{
int na, j, i;
na = length(a);
// FIXME is it necessary to keep next line uncomment... |
62e92e1c286ece1779dfaf10dc531b48ad03a0894e71fa56614845ea3b5f2f0e | C++ | 10,912 | 298 | // =============================================================================
// Created at:
// International Institute of Molecular and Cell Biology in Warsaw, Poland
// Author:
// Grzegorz Chojnowski - gchojnowski@genesilico.pl, gchojnowski@gmail.com
// ===========================================================... |
740a9ec2216d34dc778142ce5372418dafe433bdea51768b59c27d7e276e4fba | C++ | 10,947 | 294 | /**
* @file ProtocolMsgHandler.cpp
* @brief Implementation of the ProtocolMsgHandler class for packing and unpacking protocol messages.
* @details This file contains the implementation of the ProtocolMsgHandler class, which provides methods to pack and unpack protocol messages with the specific format.
* The protocol i... |
045420c5be036296e6b9ee69e5b4fee8825dfe6f7a5d8f7cdb2b3c07df9ef56d | C++ | 10,993 | 260 | /**-------------------------------------------------------------------------------------------------
* \file CSignalDisplay.cpp
* \brief Classes implementation for the Box Signal display.
* \author Bruno Renier, Yann Renard, Alison Cellard, Jussi T. Lindgren (INRIA/IRISA).
* \version 0.3.
* \copyright Copyright (C... |
a2d36af2048b2ebac2b9d3cb73ca82e60d6a33482a3f2d289b8c9f093db6352f | C++ | 10,996 | 295 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <vector>
#include <map>
#include "coreneuron/n... |
edd020bc7f874e156b775beff8c0b096b53deecf3a90fe5f69ce1c77d7c02a00 | C++ | 11,048 | 568 | // Written by Oliver Serang 2009
// see license for more information
#include "Vector.h"
Numerical Vector::sparseChecker(1e-15);
Numerical Vector::comparator(1e-8);
#define PACK
//#define REPACK
const Vector & Vector::operator =(const Array<double> & simpleVector)
{
values = simpleVector;
createNonzeroIndices()... |
4efdcddcb2dfcf2fdf1ddb49dfd9395ff4c65843577f55f93e7458646a41653b | C++ | 11,060 | 310 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <iostream>
#include <sstream>
#include <cstring... |
1b431e3168fad36741c516498744c914a508e4375643381bf677737d1a327cbc | C++ | 11,065 | 389 | /*******************************************************************************
* SVMlin
* Copyright (c) 2006 Vikas Sindhwani at the University of Chicago.
* Adapted to Percolator by Lukas Käll at the University of Washington
* Sped up by John Halloran at the University of California, Davis, as detailed in:
*****... |
b03deee13c1a1c75a2085e4dfff30d1e9209d0e34ac7bff5d752462113d40500 | C++ | 11,067 | 470 |
/********************
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... |
5862936c68ce23ef9b75203f68281ffe053c770f4b66c5f03ae0a4c17e1f2447 | C++ | 11,093 | 339 | /* -*- 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... |
4254e6d28b456333503132666b7c9edd8c3570359eb16a81bede7d0ab5d8023b | C++ | 11,125 | 243 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmSpatialFilter.cpp
/// \brief Classes implementation for the Box Spatial Filter.
/// \author Yann Renard (Inria) / Jussi T. Lindgren (Inria).
/// \version 1.1.
/// \copyright Copyright (C) 202... |
ef373d0b80c5c9750b642c0ece56d1588c7146234278051931e8882278fbea5a | C++ | 11,149 | 285 | #include <cassert>
#include "ovkCAlgorithmProxy.h"
#include "ovkCAlgorithmContext.h"
#include "ovkCAlgorithmProto.h"
#include "../../ovk_tools.h"
#include <openvibe/ovExceptionHandler.h>
namespace OpenViBE {
namespace Kernel {
CAlgorithmProxy::CAlgorithmProxy(const IKernelContext& ctx, Plugins::IAlgorithm& rAlgori... |
0dc9cd4c13cf2f744f259c80b3c1a11dd98db2af4b11b3d669cb4200ed0b2f94 | C++ | 11,154 | 291 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmDLLBridge.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... |
89b40f505f81cebcd457fa25890e467b9001c6baf37c6b713396f40115206c5d | C++ | 11,156 | 234 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmTemporalFilter.cpp
/// \brief Classes implementation for the Box Temporal Filter.
/// \author Thibaut Monseigne (Inria).
/// \version 2.0.
/// \date 14/10/2021
/// \copyright Copyright (C) 20... |
5b93c4ea53a50077947c550feaa6ba3deca56dcbce3fd59b0c68b867ff109e30 | C++ | 11,159 | 256 | #include <hex/api/localization_manager.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/providers/memory_provider.hpp>
#include <hex/helpers/scaling.hpp>
#include <wolv/net/socket_client.hpp>
#include <wolv/net/socket_server.hpp>
#include <fonts/vscode_icons.hpp>
#include <imgui.h>
#include <imgui_intern... |
649b8eb15787e4a7ea148e38adb2988db7585377e67c47ce79eb099482218e8f | C++ | 11,190 | 316 | /* -*- 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... |
b0956914d4ffce86424e020c0e4462eb9260cde7ecfba374e104ee248c0484e7 | C++ | 11,204 | 608 |
/********************
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... |
38fb1d12b098653b8c243ef1df17741841d307f1c0c5e7a4a9bd5f5e35aeed28 | C++ | 11,256 | 257 | #include "ovasCAcquisitionServerGUI.h"
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include <gtk/gtk.h>
#include <iostream>
#include <clocale> // std::setlocale
#include <system/ovCTime.h>
#if defined(TARGET_OS_Windows)
#include <Windows.h>
#include <MMSystem.h>
#endif
typedef struct SConfiguration... |
03f5257f9f679e54f0755dff684828c3ba70b5ef7b20f34c239f1b70972d0f8e | C++ | 11,297 | 329 | #include <algorithm>
#include <hex/helpers/patches.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/provider.hpp>
#include <cstring>
namespace hex {
namespace {
class PatchesGenerator : public hex::prv::Provider {
public:
explicit PatchesGenerator() = default;
... |
0013adb9822311a5943280e0c848d251baff33a781bd04ffafcae2afe14668de | C++ | 11,316 | 394 | #include "SvabaAssemblerEngine.h"
#include "SvabaUtils.h"
#include <map>
#include <algorithm>
#include "SGACommon.h"
#include "SvabaASQG.h"
#include "SvabaAssemble.h"
#include "SvabaOverlapAlgorithm.h"
#include "SvabaOptions.h"
#include "OverlapCommon.h"
#include "CorrectionThresholds.h"
//#define DEBUG_ENGINE 1
... |
ee17136fed2a0525ff67e389844682c6a482192965036d66faea2476bbaf48b5 | C++ | 11,317 | 258 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmClassifierProcessor.cpp
/// \brief Classes implementation for the Box Classifier processor.
/// \author Yann Renard (Inria) / Guillaume Serrière (Inria).
/// \version 2.1.
/// \copyright Copy... |
b0c051c31a0e644b8c081d00f2cc4d65c89ffb877198099b9307a35723a169d5 | C++ | 11,341 | 449 | /* -*- 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... |
8d0ec38311a2ff8f23712aaca5548a533279dd7b96420fe2cf2bad7159ce5dad | C++ | 11,378 | 202 | ///-------------------------------------------------------------------------------------------------
///
/// \file Covariance.cpp
/// \brief All functions implementation to estimate the Covariance Matrix.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 26/10/2018.
/// \copyright Copyright (C) 2022 I... |
928055731d4ec5b920c378bfa302af18dc114c247ca049517e3c6606f0b82561 | C++ | 11,392 | 396 | // ***************************************************************************
// HostAddress_p.cpp (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 8 December 2011 (DB)
// ------------------------... |
e11a090a31962702ed42522f47d3db1400eb9a6b117aa506a2c861e170e11a98 | C++ | 11,398 | 315 | /* Project: Gipsa-lab plugins for OpenVibe
* AUTHORS AND CONTRIBUTORS: Andreev A., Barachant A., Congedo M., Ionescu,Gelu,
* This file is part of "Gipsa-lab plugins for OpenVibe".
* You can redistribute it and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Founda... |
4a34610644ebef4728349a4221385dcae27f59ea1c0867ab0186058748fb038e | C++ | 11,400 | 303 | /*
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... |
8b460c7394a133d25dfaa50cc6a8388bd5430937b2550921c7666a8055da8f07 | C++ | 11,404 | 235 | ///-------------------------------------------------------------------------------------------------
///
/// \file Basics.cpp
/// \brief Implementation of basic functions of Eigen matrix manipulation and verification.
/// \author Thibaut Monseigne (Inria).
/// \version 1.0.
/// \date 26/10/2018.
/// \copyright Copyrig... |
2b1f830dcfecc83f3d5f4c53ac3bf4bbe679a3c7803fd5ab1f4c489627861c1c | C++ | 11,406 | 296 | #include "../ovkTKernelObject.h"
#include "ovkCScenario.h"
#include "ovkCBoxUpdater.h"
#include "ovkTBox.hpp"
namespace OpenViBE {
namespace Kernel {
const std::array<CIdentifier, 10> CBoxUpdater::UPDATABLE_ATTRIBUTES = {
OV_AttributeId_Box_InitialPrototypeHashValue,
OV_AttributeId_Box_InitialInputCount,
... |
c989d2f69918c9e9efd6bc9015dcbef2242c5202d6d38a206b3e7f00d5d47448 | C++ | 11,415 | 456 | /* -*- 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... |
86d64f9f2b4360e8a137497915303c901cc4c2c6377dcc98c5af5d854c895cbe | C++ | 11,435 | 339 | #include "wpdas.h"
#include "utils.h"
#include <algorithm>
#include <iostream>
#include <math.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
#include <mkl.h>
#pragma GCC diagnostic pop
#include <vector>
/******************************************************************************... |
f67c849b6b07d832695b347e81210f90b6fd6aa7961d98c393d5fae79d57bbd8 | C++ | 11,457 | 260 | ///-------------------------------------------------------------------------------------------------
///
/// \file CColorGradientSettingView.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 L... |
dd44a89c4e3f7341ff4ed9c90445b9fe95ed3574c441d92ee51346b08617e7f4 | C++ | 11,458 | 398 | #include "ovasCDriverCognionics.h"
#include "ovasCConfigurationCognionics.h"
#include <stdio.h>
#include <stdlib.h>
#if defined(WIN32)
#include <windows.h>
#include <toolkit/ovtk_all.h>
namespace OpenViBE {
namespace AcquisitionServer {
//Cognionics functions
int init_SPP(int port);
void getData();
double get_IMP... |
0462853e50e130e884b999dbd2eff7d2efdf8b9ab5d1dae72c991d007214967c | C++ | 11,473 | 435 |
/********************
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... |
271498f5f5da1b01a00963d00fba3572461d977b5b302d07368bc751b23a035e | C++ | 11,477 | 163 | #if !(defined(WIN32) && defined(TARGET_BUILDTYPE_Debug))
#include "box-algorithms/CPolyBox.hpp"
#include "box-algorithms/DataViz.hpp"
#include "box-algorithms/DatasetCreator.hpp"
#include "box-algorithms/ProcessML.hpp"
#include "box-algorithms/TrainerML.hpp"
#ifdef TARGET_OS_Windows
#include "windows.h"
#endif
#incl... |
00ef1c74d5af53a713d02b2bd8ba1442afa94c42a40d4081c9c1fe9f7bcae228 | C++ | 11,487 | 238 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmSimpleDSP.cpp
/// \brief Classes implementation for the Box Simple DSP.
/// \author Bruno Renier (Inria) / Yann Renard (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/... |
fa8034d803c98ce073dca56fb588cb47d078091a675f3367c504f88283edfffb | C++ | 11,488 | 328 | #include <font_settings.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/helpers/utils.hpp>
#include <imgui.h>
#include <fonts/fonts.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <romfs/romfs.hpp>
#include <wolv/u... |
cf333da1c3c258647077ebf039913c114c3eb1018792ef8e217e3d8468292b4c | C++ | 11,506 | 234 | //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... |
dc40072ddaad87617d900a99cbe15bc4759e948179a788ebcf425604c64aba9c | C++ | 11,512 | 210 | ///-------------------------------------------------------------------------------------------------
///
/// \file CTestCodecToolkit.cpp
/// \author Laurent Bonnet (Inria)
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under... |
ffbadf205797f52086eb110c2a62312eaaf95bf22b3846fceb10e9367341e241 | C++ | 11,544 | 444 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// Util - Common data structures and functions
//
#include <iostream>
#include <math.h>
#incl... |
6b3e3b888120c658e686eb92ade9164b09c573bdffbe391cd975a3ec39f1a565 | C++ | 11,574 | 357 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// index - Build a BWT/FM-index for a set of reads
//
#include <iostream>
#include <fstream>
... |
c304be6f0a5615c9f1a1059daba471a0db1421f5325c06c102e9edf7b1c4a51c | C++ | 11,588 | 333 | #include <hex/helpers/magic.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/guards.hpp>
#include <wolv/utils/string.hpp>
#include <hex/providers/provider.hpp>
#include <filesystem>
#include <optional>... |
1acb4494bf4a467a981a61f3c425c4ae2cfbcc89a0c82da49995a1551b059f46 | C++ | 11,597 | 463 | /********************************************
*** adapted from crux/src/c/Database.cpp ***
********************************************/
/*************************************************************************//**
* \file Database.cpp
* \brief Object for representing a database of protein sequences.
*********... |
15773dda1714c882b0526030f7e33ef807407b1d655cd19cc17939e665fdee42 | C++ | 11,599 | 416 | /*******************************************************************************
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:... |
853560502a93117ea811214946830b36a8571506cac2b935c3517ef0083b8e0b | C++ | 11,623 | 326 | /*
* HID driver for OpenViBE
*
* \authors (NeuroServo, NeuroTechX)
* \developer (Innocent Aguie)
* \date Wed Nov 23 00:24:00 2016
*
*/
#if defined TARGET_OS_Windows
#if defined TARGET_HAS_ThirdPartyNeuroServo
#include <iostream>
#include "HidDevice.h"
#include "SetupApi.h"
#define READTHREADWAITTIMEOUT 100
HidDevi... |
1809bc7f54129bb962228d14a030cc29606e28804ef86db2b95a8150ec2c53b4 | C++ | 11,628 | 370 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include "coreneuron/nrnconf.h"
/* do not want the redef... |
b6444c040234b52046b3a5d292f7a9ba1d3b5b880d279fe56dee30c0034ed78d | C++ | 11,670 | 225 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxSharedMemoryWriter.cpp
/// \brief Class of the box SharedMemoryWriter.
/// \author Dieter Devlaminck (Inria).
/// \version 1.0.
/// \date 17/01/2013
/// \copyright Copyright (C) 2022 Inria
///
/// Thi... |
8503016180332f079b119e1d75af41e2fc1ae3372f489bb43fd4271a15700538 | C++ | 11,672 | 358 |
/********************
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... |
f0568e73889509f2b29de39c4e800204491c11fae838fb7682970f69b3e6d4c3 | C++ | 11,691 | 280 | #include "ovpCBoxAlgorithmEDFFileWriter.h"
#include <sstream>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
/*******************************************************************************/
bool CBoxAlgorithmEDFFileWriter::initialize()
{
m_experimentInfoDecoder.initialize(*this, 0);
m_signalDe... |
d1bb552f743a56ec39834d79f5b5a7819f8edeffbf7bbcd121e6657dd4856cff | C++ | 11,693 | 321 | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
#include "CompositionSorter.h"
#include "Globals.h"
#include "Scores.h"
// helper for sorting ScoreHolder references by scan and score, to help TDC
bool compareByScanThenScore(const ScoreHolder* lh... |
9da223e341f436e8dfb6f85e57a986ff7ab7eb127c0c75f3967e7e7eb858389f | C++ | 11,709 | 408 |
/********************
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... |
b092f8912c6cd9880ee9cf71eaf4a78f23319e4a7edbea06abe617d6118ae023 | C++ | 11,713 | 166 | #include <cstdio>
#include <cstring>
#include "ovpCAlgorithmXMLScenarioExporter.h"
//___________________________________________________________________//
// //
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
//____________________________... |
754ceb3da58454a4897306025103c05b05ef16f404665d0dcc6d96e53e26bd93 | C++ | 11,763 | 323 | #include "init/tasks.hpp"
#include <imgui.h>
#include <romfs/romfs.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <hex/api/content_registry/background_services.hpp>
#include <hex/api/content_registry/set... |
81695abeb930f911d647ab304b93be6bb9f550244da1c6cb81861af5640042cf | C++ | 11,764 | 249 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmContinuousWaveletAnalysis.cpp
/// \brief Classes implementation for the Box Continuous Wavelet Analysis.
/// \author Quentin Barthelemy (Mensia Technologies).
/// \version 1.0.
/// \copyright... |
a347be15e88889d6b71898e55d36e980357f1bcf4ea5049e6c919e15a98a1eef | C++ | 11,817 | 271 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include "coreneuron/apps/corenrn_parameters.hpp"
#inclu... |
21d6ebf889bd91266441255f21fe0935ca4fff2dd8882695815c0e0b00e4be31 | C++ | 11,820 | 364 | #include "ovasCDriverBrainProductsBrainVisionRecorder.h"
#include "../ovasCConfigurationNetworkBuilder.h"
#include <system/ovCTime.h>
#include <iostream>
#include <cstdlib>
#include <cstring>
namespace OpenViBE {
namespace AcquisitionServer {
CDriverBrainProductsBrainVisionRecorder::CDriverBrainProductsBrainVisionR... |
206d1528704ce6958748f66b40f7091c59edc9587128fdc28fd4c91eb81eb9b4 | C++ | 11,856 | 490 | /*
Szymon Rusinkiewicz
Princeton University
filter.cc
Miscellaneous filtering operations on trimeshes
*/
#include <stdio.h>
#include "TriMesh.h"
#include "TriMesh_algo.h"
#include "lineqn.h"
#include <numeric>
// Quick 'n dirty portable random number generator
static inline float tinyrnd()
{
static unsigned tran... |
ceab988171b5b2d01f537c462025f0dbc8e12b6c2dab21408f621b4bda29fbc8 | C++ | 11,877 | 494 |
/********************
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... |
367a15eb9bb8e3d3248b8a88874ebf45b560bc071c3ccf8fe3cace56130e8dbd | C++ | 11,973 | 465 | /* -*- 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... |
16cd4725a028a9d5cfda3c7f108825d7dc6b6247579183c687b5123123b2d62a | C++ | 12,001 | 247 | #include "CAlgorithmSphericalSplineInterpolation.hpp"
//INSERM lib
#include "spline.hpp"
#include <cfloat> //DBL_MAX
#include <sstream>
namespace OpenViBE {
namespace Plugins {
namespace Test {
bool CAlgorithmSphericalSplineInterpolation::initialize()
{
m_firstProcess = true;
m_coords.clear();
m_coords... |
ea769ebd4e9cdb1657f3e00df529e7d6d13bd33b9df3d7ed7fde693cd18d550c | C++ | 12,057 | 237 | #include "ovpCDownsamplingBoxAlgorithm.h"
#include <cstdlib>
#include <climits>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CDownsamplingBoxAlgorithm::initialize()
{
CIdentifier inputTypeID;
getStaticBoxContext().getInputType(0, inputTypeID);
if (inputTypeID == OV_TypeId_S... |
176a0176052c809cf5d15047efec3decc1747159df1fd13c4331c279f049a3b5 | C++ | 12,092 | 301 | #include <loaders/dotnet/dotnet_loader.hpp>
#include <stdexcept>
#if defined(OS_WINDOWS)
#define STRING(str) L##str
#else
#define STRING(str) str
#endif
#include <array>
#if __has_include(<nethost.h>)
#include <nethost.h>
#include <coreclr_delegates.h>
#include <hostfxr.h>
#else
#error "neth... |
ef2abc6176bc79a65f5b8a0a46ca49b43a945d57679f998d18140c7862b18ba6 | C++ | 12,115 | 318 | ///-------------------------------------------------------------------------------------------------
///
/// \file SampleEntropyCalculator.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
///
/// T... |
c627b03e3117cd29d7a74a285e013a680ca082c61714b45fa8035ec8aff54620 | C++ | 12,178 | 460 | /* -*- 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... |
026fb0d4c4384a02cee226805542171413966ef8297472a75e56673609e17698 | C++ | 12,207 | 580 |
/********************
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... |
f37c9369bd6f19445c627807e88f294b30401cbd004f4fc6fb7e25238ff5debb | C++ | 12,209 | 508 |
/********************
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... |
7277ccc0cd61407b81d2e8fc04ef5214c914f653e2f0aa6c93ee108fac6a86de | C++ | 12,339 | 475 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// Vertex - Generic vertex class for bigraph
//
#include "Vertex.h"
#include "Edge.h"
#includ... |
0ccf97d02d2fbb04427320dc1664ef803e30475de0ed0e66d939af686491fa63 | C++ | 12,348 | 548 |
/********************
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... |
2e7923bbd07f08ef7450a63fca2d7179d1c558fa3c880d323aeaaf6d2c439a0f | C++ | 12,360 | 378 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include <QQuickWindow>
#include "WindowManager.h"
#include "DesignerScenario.h"
namespace OpenViBE {
namespace Designer {
WindowManager::WindowManager(const Kernel::IKernelContext& ctx, DesignerScenario* scenario)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.