sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
86f0fed4ed01e909a20170545a2cdba5ea9f9c35c8682793c1d0698366c8d95f | C++ | 20,123 | 583 | // ***************************************************************************
// bamtools_split.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 8 December 2011 (DB)
// --------... |
a02a3e28d0c84c1a34aa040306bcff4d3aa8e7c21c402f8c7127ff29166e9f4e | C++ | 20,140 | 733 |
/********************
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... |
f5493d422e3c17a25af8737f1c10a4a1d76ae7cc3f539bd8b914c984d32f11ab | C++ | 20,215 | 728 | /*****************************************************************************
* SV_VcfVariant.cpp
* (c) 2014 - 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... |
ea39cacaa45dce8dbacb5fc62bb9ac89f4d9eb63dfa756fbd022d1113af1b565 | C++ | 20,218 | 632 | #include <algorithm>
#include <hex/helpers/crypto.hpp>
#include <hex/providers/provider.hpp>
#include <wolv/utils/guards.hpp>
#include <wolv/utils/expected.hpp>
#include <mbedtls/version.h>
#include <mbedtls/base64.h>
#if MBEDTLS_VERSION_MAJOR >= 4
// TODO: We'll need to migrate to the new <psa/crypto.h> eventu... |
a8f38287cd4cb17ae83059253c36592678583dc1f4264e9c9847065075c5e180 | C++ | 20,240 | 572 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include "CSignalTraceItem.h"
#include "CTraceBuffer.h"
#include <QQuickWindow>
#include <QSGFlatColorMaterial>
#include <QSGGeometry>
#include <QSGGeometryNode>
#include <algorithm>
#include <cmath>
#include <cstd... |
d9e212f55ad91b0fa4b57c9e4182aa86a3e5beeb3cf4d16d14424641ca83814d | C++ | 20,311 | 431 | ///-------------------------------------------------------------------------------------------------
///
/// \file CAlgorithmClassifierOneVsOne.cpp
/// \brief Classes implementation for the Algorithm One Vs One.
/// \author Guillaume Serriere (Inria).
/// \version 0.2.
/// \copyright Copyright (C) 2022 Inria
///
/// T... |
d4914624345d7debdf73d78d548d638315d28c10dbd168beff7c7351190a47af | C++ | 20,336 | 416 | #include "ovtkCAlgorithmScenarioExporter.h"
#include <vector>
#include <sstream>
namespace OpenViBE {
namespace Toolkit {
namespace {
class CAlgorithmScenarioExporterHelper
{
friend class CAlgorithmScenarioExporter;
public:
CAlgorithmScenarioExporterHelper(Kernel::IAlgorithmContext& context, CAlgorithmScenari... |
67f00ff2d05182d9015bbaf6bdbd5eb6d4aff6c9a9a36c2d248c25219cbacd66 | C++ | 20,392 | 524 | /*******************************************************************************
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:... |
cd6938604dadf04bf28f7afc9bd79d682e75ea2bd70ba3a678497bfe4d755bb0 | C++ | 20,552 | 626 | #include "json.h"
#include <cstdlib>
#include <string>
#include <algorithm>
#include <cstdlib>
#include <cstdio>
#include <climits>
#include <cstring>
#include <functional>
#include <cctype>
#include <stack>
#ifndef WIN32
# define _stricmp strcasecmp
#endif
#ifdef _MSC_VER
# define snprintf sprintf_s
#endif
usin... |
bd3548d15cfaa91e6851b22335db277ad28f6b16c3d7e1730b4bef42c25daf68 | C++ | 20,691 | 639 | #if defined TARGET_HAS_ThirdPartyITPP
#include "ovpCComputeTemporalFilterCoefficients.h"
#include <limits>
#include <cmath>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
// Add 2complexes
void CComputeTemporalFilterCoefficients::addComplex(cmplex* a, cmplex* b, cmplex* c)
{
c->real = b->... |
692022429eb987ce6e9a75a2626b9c3bfa199751e12350ac0f543fff9316669e | C++ | 20,692 | 498 | #if defined(TARGET_HAS_ThirdPartyLSL)
/*
*
* Notes: This code should be kept compatible with changes to LSL Output plugin in OpenViBE Acquisition Server,
* and LSL Export box in Designer.
*
* This driver makes a few assumptions:
*
* Signal streams
* - are float
* - dense, i.e. there are no dropped or ex... |
67646ae4b6343e82f8c75342e6fc8fc6c14be69a2600216b3a5c5f6a3b41662e | C++ | 20,711 | 684 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// MultiOverlap.h - Data structure containing a set
// of overlaps for a given read
//
#inclu... |
72843b09a6b0505fde4960c6b6c5ee21417ec638341358f0288165c2b5ee70ca | C++ | 20,786 | 561 | //run_svaba.cpp
#include <thread>
#include <mutex>
#include "threadpool.h"
#include <memory>
#include <algorithm>
#include <getopt.h>
#include <iostream>
#include <sstream>
#include <unordered_map>
#include <map>
#include <vector>
#include <cassert>
#include <zlib.h> // labeled --annotation BED parsing (plain + gz)... |
cd1e284226fe7600d7e8badae35c078ea672cb0a6145b50de83a66eacf2fad32 | C++ | 20,846 | 572 | #include "ovpCBoxAlgorithmCSVFileReader.h"
#include <iostream>
#include <sstream>
#include <map>
#include <vector>
#include <cmath> // std::ceil() on Linux
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
namespace {
std::vector<std::string> split(const std::string& sString, const std::string& c)
{
st... |
619719c12edf9100b4c5a2a2d4af98088d12e5b4533975e64024a0c0070cbdd8 | C++ | 20,888 | 835 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// Bidirectional graph
//
#include <assert.h>
#include <ostream>
#include <fstream>
#include... |
ef0cc5471c0ff920804e672a2109fdf9ece72068e6cf0a9adaef5b42ce2e1f89 | C++ | 20,928 | 611 | #include "sampling_functions.h"
using namespace Rcpp;
using namespace arma;
// FUNCTION DECLARATIONS
// ---------------------
void move_seed_rbinom();
double Cquantile(arma::vec x, double q);
// FUNCTION DEFINITIONS
// ---------------------
void move_seed_rbinom(){
double tmp = R::rbinom(1, 0.5);
}
double Cquan... |
cb687b9ef54249759fba789aeacaec1a926f62decd1c81b4b8738bfc744ad314 | C++ | 20,939 | 475 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoCSVReaderTest.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 ... |
c75214361017e010f3f97ad5d9013c0e596b206165a6830f4f41f84aaae8369f | C++ | 21,056 | 558 | // LearnBamParams.cpp
#include "LearnBamParams.h"
#include "SeqLib/BamRecord.h"
#include "SeqLib/BamReader.h"
#include "SeqLib/GenomicRegion.h"
#include "SvabaSharedConfig.h"
#include "SvabaOptions.h"
#include "SvabaLogger.h"
#include "gzstream.h"
#include <stdexcept>
#include <sstream>
#include <fstream>
#include <v... |
3f61fe48f17b4464938d18914cb210cb8622efebc3a3a9da3e99545948ff8aab | C++ | 21,069 | 482 | #if defined(TARGET_HAS_ThirdPartyMCS)
#include "ovasCDriverMCSNVXDriver.h"
#include "ovasCConfigurationMCSNVXDriver.h"
#include <toolkit/ovtk_all.h>
namespace OpenViBE {
namespace AcquisitionServer {
void setNVXDataSettinsDefaults(t_NVXDataSettins& ds)
{
ds.DataRate = 2;
for (size_t i = 0; i < NVX_SELECT_CH... |
e0d3e66222239aa57e442a4a5dc326150db420170351991ce687a4b77a0231ea | C++ | 21,089 | 484 | #if defined(TARGET_HAS_ThirdPartyMCS)
#include "ovasCDriverMCSNVXDriver.h"
#include "ovasCConfigurationMCSNVXDriver.h"
#include <toolkit/ovtk_all.h>
namespace OpenViBE {
namespace AcquisitionServer {
void setNVXDataSettinsDefaults(t_NVXDataSettins& ds)
{
ds.DataRate = 2;
for (size_t i = 0; i < NVX_SELECT_CH... |
567dc80592f07d27ff1e644b8aed8d6a47053d7a164e4c2298fe4bced68cb29d | C++ | 21,097 | 557 | //----------------------------------------------------------------------
// File: rand.cpp
// Programmer: Sunil Arya and David Mount
// Last modified: 03/19/05 (Release 1.0)
// Description: Routines for random point generation
//----------------------------------------------------------------------
// Copyright ... |
2711c78a170695d7c475474afd13fa38f9da6011a8dcaa735d3d5cd56581e75c | C++ | 21,113 | 566 | /**
* SPDX-FileCopyrightText: Inria / eemagine GmbH
* SPDX-License-Identifier: AGPL-3.0-only
*
* Ported from the eego acquisition driver originally written by Steffen Heimes (eemagine GmbH).
*/
#include "CDriverEEGO.h"
// The SDK picks its factory signatures from these; wrapper.cc forces _UNICODE on itself anywa... |
dc9e9f73fca7871b509bc48929bb59b94485793cc4525e6be99da72bdb702833 | C++ | 21,126 | 374 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmOVCSVFileWriter.cpp
/// \brief Classes of the box CSV File Writer.
/// \author Victor Herlin (Mensia), Thomas Prampart (Inria).
/// \version 1.2.0
/// \date 07/05/2021
/// \copyright Copyrigh... |
41a539d45f3f559ea69a46c166ef7ad4c4b40ac44396fa2d7390a42a268a8ae7 | C++ | 21,157 | 550 | /**
* @file CNetwork.cpp
* @brief Implementation of the CNetwork class for managing network clients and servers.
* @details This file contains the implementation of the CNetwork class, which provides
* methods to create and manage clients and servers, as well as utility functions for
* address resolution and validation... |
bd4ac2a6ade5c2b65b1d7b8ad1935d637cbaeeb2f107b295e18ec10072048b95 | C++ | 21,200 | 641 | #include "DiscordantCluster.h"
#include <set>
#include <cassert>
#include <numeric>
#include <unordered_set>
#include "SeqLib/BamWalker.h"
#include "SvabaUtils.h"
#include "SvabaDebug.h" // SVABA_READ_TRACE (no-op unless -DSVABA_TRACE_READ)
#define DISC_PAD 150
#define MIN_PER_CLUST 2
#define MAX_CLUSTER_WIDTH 300... |
f2b500d6df5078b3e1cff692ac8898e9e8d38822a9da4d27e66cf6980e8bf8ee | C++ | 21,223 | 465 | #include "content/views/view_achievements.hpp"
#include <algorithm>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/imhex_api/fonts.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/events/requests_gui.hpp>
#include <hex/api/events/even... |
c25565a88e03f7e42a22e853e746ab57a88c4f5eb0ab5393d6d84b4a2e7e0098 | C++ | 21,230 | 471 | #include <hex/test/tests.hpp>
#include <hex/helpers/codepage.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/unicode.hpp>
#include <bit>
#include <string>
#include <vector>
using namespace std::literals::string_literals;
namespace {
std::vector<u8> bytesOf(std::string_view text) {
r... |
cf73c47065817fb1e95858284e6a5a9c663d5bff9764eb9cd1b952d576d01e8d | C++ | 21,296 | 528 | #include <ui/text_editor.hpp>
#include <hex/helpers/scaling.hpp>
#include <wolv/utils/string.hpp>
#ifndef IMHEX_TESTS
#include <fonts/fonts.hpp>
#endif
#include <algorithm>
namespace hex::ui {
using Coordinates = TextEditor::Coordinates;
using Segments = TextEditor::Segments;
using Line =... |
034fe0f1435917817b10b413587bce4d599bf92acb5f646ce98c934ca3ca9623 | C++ | 21,413 | 426 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmP300IdentifierStimulator.cpp
/// \author Baptiste Payan (Inria).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/o... |
539c1dffc4bed796efb3f1a23c2fd1a81feb78ec0f5ff2797e4adde4326a0ed0 | C++ | 21,440 | 440 | #include "ovpCAlgorithmBrainampFileReader.h"
#include <system/ovCMemory.h>
#include <sstream>
#include <cstdlib>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
//
bool CAlgorithmBrainampFileReader::initialize()
{
ip_filename.initialize(getInputParameter(OVP_Algorithm_BrainampFileReader_InputParamet... |
9e16ee88b6cb79576f87f7f88e8e1856dbdd878bfd4c8e630321945cdb73d581 | C++ | 21,473 | 635 | /**
* @file CServer.cpp
* @brief Implementation of the CServer class for managing server-side network operations.
* @details This file contains the implementation of the CServer class, which handles
* client connections, data transmission, and callback management for a network server.
* It utilizes sockets for com... |
9f786388ad3b6a77ec3925f032778dfa4cece468cad297ef9f8c9e4657c99b32 | C++ | 21,556 | 588 | //----------------------------------------------------------------------
// File: ann2fig.cpp
// Programmer: David Mount
// Last modified: 05/03/05
// Description: convert ann dump file to fig file
//----------------------------------------------------------------------
// Copyright (c) 1997-1998 University of Mary... |
d57c92b2aeb7a4543d22e48e4059568c844f9026ed533c93d2e4ca6e4504cf9e | C++ | 21,558 | 670 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <cstdio>
#include <map>
#include <set>
#include ... |
7fe88d4c47d6bee1ece65b179dd6aaec16dc6e74867e6608a2f91c4926cdf0a7 | C++ | 21,611 | 689 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <float.h>
#include <map>
#include <mutex>
#inc... |
56cbb98e4b92db4c90d675232807adf351b3315271c025b90982a8d1fbd63d76 | C++ | 21,873 | 689 | /****
DIAMOND protein sequence aligner
Copyright (C) 2012-2026 Benjamin J. Buchfink
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 vers... |
bf801a5e585a185fecb5c231eeaecd12b6558003a02acfccf11c0078ce925c38 | C++ | 21,888 | 370 | /* -------------------------------------------------------------------------- *
* Lepton *
* -------------------------------------------------------------------------- *
* This is part of the Lepton expression parser originating from *
... |
916b9cbe0f58a30d0ce492594dc9d987b0698becb879f2972f131d531c438bb8 | C++ | 21,908 | 324 | //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... |
72e2b30a45aec44e50744a131d3a97a2ca72ac1d40ee63bcc1a8e2f1ed7873fa | C++ | 21,911 | 493 | #if defined TARGET_HAS_ThirdPartyMatlab
#include "ovpCMatlabHelper.h"
#include <iostream>
#include <sstream>
#include <mex.h>
//#include <engine.h>
#include <string>
#if defined TARGET_OS_Windows
#include <windows.h>
#endif
namespace OpenViBE {
namespace Plugins {
namespace Matlab {
//------------------------------... |
df407a7e1e1953ce62caf1d8248d8b85ce8275f81b60090e3342368e24b6f34c | C++ | 21,999 | 498 | #include <hex/api/shortcut_manager.hpp>
#include <imgui.h>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/ui/view.hpp>
#include <imgui_internal.h>
namespace hex {
namespace {
... |
9eeebfcf1772df92a0a4d7b2b6221d2d0b243b502b23744bf84c18d38fc72430 | C++ | 22,152 | 563 | #include <RcppArmadillo.h>
#include "sampling_functions.h"
using namespace Rcpp;
using namespace arma;
// FUNCTION DEFINITIONS
// ---------------------
//' Perform guided sparse factor analysis (GSFA) given a normalized expression
//' matrix and a perturbation matrix using Gibbs sampling;
//' samples come from two g... |
06810869c903de677c9bc80b46100a6efd608445640d92e96bf41a3559b83687 | C++ | 22,195 | 888 |
/********************
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... |
5afe342fae924eec5717902c688a5c94b06ef7cd502c2d4e142e2b27451bcf65 | C++ | 22,222 | 1,001 |
/********************
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... |
5fe5b8ddfd5baba9eb31aa6fcefd37e3f1c14794206ef785320af590dc8973fe | C++ | 22,266 | 658 | //===- MicrosoftDemangle.cpp ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
a9d4c430594610d315c6c410c844732fb5aa7efd4987f7590add13981f867330 | C++ | 22,276 | 691 | #include "AlignedContig.h"
#include "SvabaUtils.h"
#include "ContigAlignmentScore.h"
#include "R2CDatabase.h"
#include <cctype>
#include <iomanip>
#include <sstream>
#include <unordered_set>
// SvABA2.0: the old ASCII emitter (printToAlignmentsFile → alignments.txt.gz)
// and its support header PlottedRead.h have bee... |
e18048b32e1eb7ca3e11a6a6a92abe18d5e3e903f0dd2f5cc5db333ae28b3cbc | C++ | 22,484 | 564 | #include "AcquisitionManager.h" ///< Include the header file for the AcquisitionManager class.
#include "Acquisition.h" ///< Include the header file for the Acquisition class.
#include "AbstractDriver.h" ///< Include the header file for the AbstractDriver class.
#include "AbstractDriverBuilder.h" ///< Include the head... |
aabee7fb767fe4126390ccf8ac8230cb4a6a39504706ed0dd916a8c49afb9cd9 | C++ | 22,581 | 491 | #include "ovpCAlgorithmXMLScenarioImporter.h"
#include <iostream>
#include <cstdlib>
#include <string>
#include <memory>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/sax/HandlerBase.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/framework/MemBufInpu... |
d1a56dce73e6f543149b96f6177440250fb2900ab0909bd008e1dbd4cb090d23 | C++ | 22,596 | 587 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmExternalProcessing.cpp
/// \brief Classes implementation for the Box External Processing.
/// \author Alexis Placet (Mensia Technologies SA).
/// \version 1.0.
/// \copyright Copyright (C) 20... |
a7b174192f17b12a4b8e80bd2406c2c9cb16059c8338bc313c5a73de6ed2d6f1 | C++ | 22,616 | 565 | /**
Optimizers for problems dealing with TV-L1 norm regularization.
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <wchar.h>
#include <time.h>
#include "TVopt.h"
#include "... |
ced0ffea7325034bc9ae74ac5eebf671d8f652ccdb632802cdca74640afb3cf8 | C++ | 22,781 | 506 | ///-------------------------------------------------------------------------------------------------
///
/// \file connectivityMeasure.cpp
/// \brief All connectivity measure metrics.
/// \author Arthur Desbois (Inria).
/// \version 1.0
/// \date 30/10/2020
///
/// \copyright Copyright(C) 2020-2022 Inria
///
/// This p... |
f13e311056d5fb41ce3b2fa4cd5b1c7421a4cc7f5acdcef60f3e62b7b3af4e05 | C++ | 22,825 | 355 | /* -------------------------------------------------------------------------- *
* Lepton *
* -------------------------------------------------------------------------- *
* This is part of the Lepton expression parser originating from *
... |
19d056d226e87e84ca9f309615f2a7daf3cc38b35c4564e45d27f7a872207aef | C++ | 22,843 | 461 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmP300MagicCardVisualization.cpp
/// \brief Classes implementation for the Box P300 Magic Card Visualization.
/// \author Yann Renard (INRIA).
/// \version 1.0.
/// \copyright Copyright (C) 202... |
e163ddf6eca5361934b654d674de8df87ee67cf56319da600ead9c640f49c695 | C++ | 22,859 | 672 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include "coreneuron/nrnconf.h"
#include "coreneuron/sim/... |
297bef398aa361a0f9a40ad90cc7221c46b998e224ded56f44f0c4b14c64c940 | C++ | 22,870 | 410 | #include "SeqFrag.h"
#include <iostream>
void SeqFrag::addScrambledEnds(size_t left_len, size_t right_len) {
std::vector<std::string> TCGA = {"T","C","G","A"};
std::string left, right;
for (size_t i = 0; i < left_len; ++i)
left += TCGA[rand() % 4];
for (size_t i = 0; i < right_len; ++i)
right +=... |
6343b13b0023c36c68a79fb3f210343c83bd64a8f7b54fdd028cc60f8f7a8cc0 | C++ | 23,034 | 599 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <sstream>
#include "coreneuron/coreneuron.hpp"
... |
bb79a82b9b538ba869b30d2eb47fe7858697f43fffb2d96ce6feda8de1f478d8 | C++ | 23,054 | 735 | // SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#include <QtQml>
#include "tinyxml2.h"
#include "BoxObject.h"
#include "DocumentationUrl.h"
#include "ParameterHelper.h"
#include "QmlEngineSingleton.h"
namespace OpenViBE {
namespace Designer {
BoxObject::~BoxObjec... |
d25b2596e137be6c1ad664f7dda43acf8b69373f28a651842785553a33c03985 | C++ | 23,114 | 474 | #include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/api/content_registry/command_palette.hpp>
#include <hex/api/content_registry/tools.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_... |
995eec5f3c515b54b1cec5c7f83815dcd9a881dd86d643096e7ee470f7bc942a | C++ | 23,121 | 847 | /* -*- 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... |
48edeed57450a258840acafe4c259b5dd6b0d4e6bcf6e88b8c66641225a7249b | C++ | 23,221 | 360 | #include "ovpCBoxAlgorithmUnivariateStatistics.h"
#include "../algorithms/ovpCAlgorithmUnivariateStatistics.h"
#include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
bool CBoxUnivariateStatistic::initialize()
{
//initialise en/decoder function of the input type
this->getStat... |
f92fa38667bd52077f1b6257e48a9d28cc4dda8915e0f8847e73ac626f2253ef | C++ | 23,273 | 602 | ///-------------------------------------------------------------------------------------------------
///
/// \file ovasCDriverBrainmasterDiscovery.cpp
/// \copyright Copyright (C) 2012, Yann Renard. All rights reserved.
///
/// This library is free software; you can redistribute it and/or
/// modify it under the term... |
4d798225dfe956489d1c34ed084ebe37e4ddb8d57d96364dccc0195d5ac77322 | C++ | 23,319 | 492 | #include "ovasCConfigurationBuilder.h"
#include "ovasIHeader.h"
#include <toolkit/ovtk_all.h>
#include <iostream>
#include <fstream>
#include <list>
#include <cstdlib>
#include <cstring>
#define OVAS_ElectrodeNames_File OpenViBE::Directories::getDataDir() + "/applications/acquisition-server/electrode-names... |
9f4a75adf3a7dc9ad0ac047c737dfae6b3d16a4559ea0b7dd26095043bcb05f3 | C++ | 23,375 | 594 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmErpPlot.cpp
/// \brief Classes implementation for the Box ERP plot.
/// \author Dieter Devlaminck (INRIA).
/// \version 1.1.
/// \date 16/11/2012
/// \copyright Copyright (C) 2022 Inria
///
/... |
15c7f3e891a4f2712688cfa9af6dc38a89d1f0e6daafee979f347d8c9c29beb5 | C++ | 23,410 | 708 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
/**
* @file main1.cpp
* @date 26 Oct 2014
* @brief Fi... |
5d19b2a0fe5ed1e9c6cbbc922e6708de87a7c0e59c474207152c1c1f5c078c3c | C++ | 23,458 | 626 | /**
* SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
/**
* @file AquisitionServer.cpp
* @brief Implementation file for the AquisitionServer class.
*
* This file implements the methods of the `Acquisition` class, which manages
* the acquisition of data from a ... |
99c0b699e9f39b6438f391018ac707938acf51b6aca59ef7bd5a484d7c95a74f | C++ | 23,459 | 543 | /*****************************************************************************/
/** **/
/** linpack : matrix computation **/
/** **/
... |
343cd9c65c406ca27ca31b278fad7661127570620c796d730838ee0d022b0b95 | C++ | 23,471 | 466 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmP300IdentifierCardVisualization.cpp
/// \brief Classes implementation for the Box P300 Identifier Card Visualization.
/// \author Baptiste Payan (INRIA).
/// \version 1.0.
/// \copyright Copy... |
b1544e35165f7da5e46fb30244cfa38c93ae8e3a4764b774f8207690e881bdc1 | C++ | 23,494 | 662 | /*****************************************************************************
bedFile.cpp
(c) 2009 - Aaron Quinlan
Hall Laboratory
Department of Biochemistry and Molecular Genetics
University of Virginia
aaronquinlan@gmail.com
Licensed under the GNU General Public License 2.0 license.
*****************... |
769d582842e6d9e0fcacbcd4c608b958eed4f9c1f9654f601f839a3411c0d64b | C++ | 23,843 | 591 | #include "OVMaster.h"
#include <QQmlContext>
#include <QQmlEngine>
#include <system/ovCTime.h>
#include <vector>
#include <openvibe/CIdentifier.hpp>
#include <ovasCPluginLSLOutput.h>
#include <ovasCPluginFiddler.h>
#include "ovasIDriver.h"
#include "ovasCAcquisitionServer.h"
#include "ovasCAcquisitionServerThread.h... |
69ab0123a741ae68c64acb27a901fd5cd08c42034c969f2f2fb4766e6798ccba | C++ | 23,875 | 750 | /*****************************************************************************
* SV_SplitRead.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... |
862c757f1f66ed0990fbe9a32c749e5ad0ff701c24b0ba1819ab4274ca895abd | C++ | 23,962 | 568 | /**
Optimizers for problems dealing with weighted TV-L1 norm regularization.
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <wchar.h>
#include <time.h>
#include "TVopt.h"
#... |
0e0698f7fba33bc60b9bdb585dd23dfde1abe8013daa57de36edf426fadf61fa | C++ | 24,009 | 525 | #include "ovpCBoxAlgorithmSignalConcatenation.h"
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
bool CBoxAlgorithmSignalConcatenation::initialize()
{
m_signalChunkBuffers.resize(this->getStaticBoxContext().getInputCount() >> 1);
m_stimulationChunkBuffers.resize(this->getStaticBoxContext().getInp... |
6685608feed29e2480447daad4126dd01f04b7a8f2d26d507aa2ca42c70b9e61 | C++ | 24,090 | 631 | #include <content/command_line_interface.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/http/github_api.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/pattern_language.hpp... |
55607642c404b3387b38c3095d16f42cd3608d0267056c5531712f2c737aa344 | C++ | 24,256 | 585 | #include "ovkCScenarioManager.h"
#include "ovkCScenario.h"
#include <cstdlib>
#include <fs/Files.h>
#include <cassert>
#include <openvibe/kernel/scenario/ovIAlgorithmScenarioImporter.h>
#include <openvibe/kernel/scenario/ovIAlgorithmScenarioExporter.h>
#include "../../tools/ovkSBoxProto.h"
namespace OpenViBE {
namesp... |
9c8534b5294ea8c7dd6acc13b00ba53ff5ad0c13851c2cdc7eb7196e3894d023 | C++ | 24,269 | 714 | #include <cstddef>
#include "wolv/types.hpp"
#include <cmath>
#include <hex/helpers/opengl.hpp>
#include <opengl_support.h>
#include <hex/helpers/logger.hpp>
#include <string_view>
#include <vector>
#include <span>
#include <wolv/utils/guards.hpp>
#include <numbers>
namespace hex::gl {
Matrix<float,4,4> GetOrt... |
8e1eb4bcb7c804f39fab0f0e959384ac5c9cc5cf5df275fd0bc5b313ecc2c2d3 | C++ | 24,274 | 623 | #include "CBufferDatabase.hpp"
#include <cmath>
#include <cstring>
namespace OpenViBE {
namespace Plugins {
namespace SimpleVisualization {
CBufferDatabase::CBufferDatabase(Toolkit::TBoxAlgorithm<IBoxAlgorithm>& plugin) : m_ParentPlugin(plugin)
{
m_decoder = &m_ParentPlugin.getAlgorithmManager().getAlgorithm(
... |
76aa125ce71e7fcc0a4168b39ddb7f4debbc90a2c1da46f7f0bdc549915a374b | C++ | 24,343 | 631 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "AcquisitionController.h"
#include <QCoreApplication>
#include <QQmlContext>
#include <QQmlEngine>
#include <QTimer>
#include <system/ovCTime.h>
#include <algorithm>
#include <vector>
#include <ope... |
c8aeaf03662c523a5363e6c838af21acedb0dc18cdbeadbb9b7dc253f6ee630d | C++ | 24,347 | 638 | #if defined TARGET_HAS_ThirdPartyNeXus
#include "ovasCDriverTMSiRefa32B.h"
#include "ovasCConfigurationTMSIRefa32B.h"
#include <toolkit/ovtk_all.h>
#include <iostream>
#include <cmath>
#include <cstring>
#include <system/ovCTime.h>
#include "ovasCConfigurationTMSIRefa32B.h"
#include <windows.h>
namespace OpenViBE {... |
c57c433b2209ed30904b04a88256341f902032c6a83f00b55c9c8caa72daa82d | C++ | 24,565 | 731 | //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... |
e98e84db3535ed0830c49abfb7fa943f2eb82d3ea52ab1f6a82d0f1a7364717d | C++ | 24,609 | 1,012 | /* -*- 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... |
e3972bffb64974e9dabe1e70e0825177dfdfe2cf973af21b25dc6b04db73fdb3 | C++ | 24,615 | 706 | /*******************************************************************************
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:... |
3b9d5e185e54a12d1eef0ab28ca46e19f24fe23966e0f322fe5b348d58016e52 | C++ | 24,619 | 528 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmViz.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... |
23870cfcb002794b2591d0fc2a4ada418303732a578018e9214f9f2bd25f6099 | C++ | 24,858 | 793 |
/********************
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... |
f52d4af04d0aef8bf2dfc2304cd4ca3496e9e71ee99fac1b5209f280ddc0fbf2 | C++ | 24,944 | 994 |
/********************
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... |
20c9d3d5d712b62b88c7cbe3b608b9a452d83bc515d457066fe2f8376c7f9485 | C++ | 24,950 | 658 | /*******************************************************************************
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:... |
eb0944b7f9b7732844a44f290e2bc5fc01cc40f31f69138f823aff4f40cd66e3 | C++ | 25,011 | 808 | /****
DIAMOND protein sequence aligner
Copyright (C) 2012-2026 Benjamin J. Buchfink
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 vers... |
6733529f733495da080ee01d20c9586602f9e9f973273823993e6d520bf5f624 | C++ | 25,049 | 522 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxConfigurationDialog.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 Lic... |
da3538b65a40e456ced25ee209f6040f5c4c105c638aa86b6a636b3bf7f6f92e | C++ | 25,079 | 474 | #include "CDriverSkeletonGenerator.hpp"
#include <iostream>
#include <sstream>
#include <fstream>
#include <glib/gstdio.h>
#include <cstdio>
#include <boost/regex.hpp>
namespace OpenViBE {
namespace SkeletonGenerator {
//-----------------------------------------------------------------------
static void CheckCB(Gtk... |
4aaf21d6a0511e943f3571ac52999f49d7630ff93965baa089485739cf1a026a | C++ | 25,110 | 1,135 |
/********************
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... |
392074ae9bae578ad41b47530f5381d1d81096d5d8ceb0ed037dccc95cc0c817 | C++ | 25,447 | 1,042 |
/********************
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... |
a1040059dd447dda00c7dcdd63b75f0735268ea65985c55a022ea0cf9bd8f3a7 | C++ | 25,450 | 802 |
// Compile with: g++ -O3 -std=c++11 -fopenmp -I.. BD_2D_hiPSC.cpp -o BD_2D_hiPSC -L.. -lmfem -lrt
#include "mfem.hpp"
#include <omp.h>
#include <fstream>
#include <iostream>
#include "base_model_IM.h"
#include <chrono>
using namespace std;
using namespace mfem;
double stimulation(const Vector &x);
void Mie_functio... |
79b1859d98c8e04d5db332f3f5140b58b8a43470058303fbb55cd8675d6ba326 | C++ | 25,505 | 1,188 |
/********************
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... |
6b3644f7ce5d053abe3993915990a17349029f6f57bbff6ef6c88f594d3cdb09 | C++ | 25,522 | 683 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <cstdio>
#include <cmath>
#include <numeric>
#i... |
998f7be8954308db3e2687351de25373e6b439bb041baa7b0c0aa00cfb073e88 | C++ | 25,676 | 548 | ///-------------------------------------------------------------------------------------------------
/// \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... |
ca2f24aac6d70c7b8237219fe567cb829934548b89f4cd8a3b5b32074c437887 | C++ | 25,692 | 569 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmClassifierTrainer.cpp
/// \brief Classes implementation for the Box Classifier trainer.
/// \author Yann Renard (Inria) / Guillaume Serrière (Inria).
/// \version 2.0.
/// \copyright Copyrigh... |
b2cfd616989e07adf76b0cb722b2bc649c528258fb8d670a915935637d08a875 | C++ | 25,731 | 641 | #include "window.hpp"
#include "init/splash_window.hpp"
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/events/requests_lifecycle.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include <imgui.h>
#include <imgui_internal.h>... |
2bd63635c1cff0e964de96d7015e04c3586d4a83151e0f55acd1fb7904768150 | C++ | 25,763 | 664 | /**-------------------------------------------------------------------------------------------------
* \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
* License... |
8dd8fed9dc65d344e0f436e88f5a07140e211a1e259c50cdaa22dde470ea0936 | C++ | 25,842 | 494 | #include <hex/api/content_registry/settings.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/theme_manager.hpp>
#include <hex/api/tutorial_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/auto_reset.hpp... |
55dd86c844c10a5e8d4e15688a2b6ae57c06cbe29649bc3ca2d27783039e2df0 | C++ | 25,853 | 677 | /**
* SPDX-FileCopyrightText: Inria / Gipsa-lab
* SPDX-License-Identifier: AGPL-3.0-only
*
* Ported from the Gipsa-lab g.USBamp driver (originally by Anton Andreev, VIBS team).
* Multi-device, queued async I/O, ring-buffer based acquisition.
*/
#include "CDriverGTecGUSBamp.h"
#include "gUSBamp.h"
#include <iost... |
592f43e53b75658c4ec9a390ac0f1a28ad5a72ae322845244ae98471a3106f6d | C++ | 25,885 | 261 | #include "toolkit/ovtk_all.h"
namespace OpenViBE {
namespace Toolkit {
// ********************************************************************************************************************
// *
// VIM ... |
2f169c8fc4882ed20fc216d34bac09d6ff5c0644d9248a9dce2c3117f52d73f2 | C++ | 26,173 | 709 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// BWTDiskConstruction - Implementation of the
// BWT disk construction algorithm of Ferragin... |
8fe8fac869e87182cf8a8ffcdd8e9e83fc3966e4adb23c4046fa0cc087000866 | C++ | 26,392 | 623 | #include <algorithm>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/api/content_registry/data_processor.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/providers/provider.hpp>
#include <hex/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.