sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
1b342b8677c125a218e63b9fc583b784139116c2663239de7ef83dc7dc896972
C++
12,435
283
/*! * Copyright (c) 2022-2026 Microsoft Corporation. All rights reserved. * Copyright (c) 2022-2026 The LightGBM developers. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. */ #include <gtest/gtest.h> #include <testutils.h> #include <LightGBM/c_a...
889f5f259f9af74f20fb2319c21ae7a4826e266f44a7b0a5e4813ade706e6d49
C++
12,463
244
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmMatrixClassifierTrainer.cpp /// \brief Classes implementation for the box Train a Matrix Classifier. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 17/01/2018. /// \copyri...
c6333512d462742148a867017c0e23aee78376b2a5911cef1cd572d900dbdc41
C++
12,479
364
// svabaOutputWriter.cpp #include "SvabaOutputWriter.h" #include "SvabaThreadUnit.h" #include "SvabaUtils.h" #include "BreakPoint.h" #include "DiscordantCluster.h" #include "SvabaSharedConfig.h" #include <htslib/sam.h> #include <mutex> using namespace std; namespace { // one mutex to serialize ALL threads write...
69a1bc93b83a781e07c75e989c3ec4fff51829095db69e5a7def0b65e53faca2
C++
12,500
464
/* -*- 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...
1f911baabdbe300eb67600ae9b904be6563411d10b7e8746e0499b6cee43ed74
C++
12,549
287
///------------------------------------------------------------------------------------------------- /// /// \file CAlgorithmOnlineCovariance.cpp /// \brief Classes implementation for the Algorithm Online Covariance. /// \author Jussi T. Lindgren (Inria). /// \version 0.5. /// \copyright Copyright (C) 2022 Inria /// /...
e81bd5b090d4b69cce9f5954d53a7ece4ea902751990c616038dbc97c5cdc88b
C++
12,589
334
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmOpenALSoundPlayer.cpp /// \author Laurent Bonnet (Inria). /// \version 1.1. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modif...
f078a044c180485cb1134c3f8f10e39758fc1088e0558d4504865d383b8f89fc
C++
12,597
264
#include "content/views/view_command_palette.hpp" #include <hex/api/content_registry/command_palette.hpp> #include <wolv/utils/guards.hpp> #include <hex/api/events/requests_gui.hpp> #include <hex/api/events/requests_interaction.hpp> #include "imstb_textedit.h" #include <imgui_internal.h> #include <fonts/vscode_icons...
7bcee382269c3ed80aed1fa5a2828f2e37d4d9cf2e18d5c157f1a17f5865cbf2
C++
12,599
297
#include "internal.hpp" #include <algorithm> #include <hex/api/content_registry/provider.hpp> #include <hex/api/project_manager.hpp> #include <hex/helpers/fs.hpp> #include <hex/helpers/logger.hpp> #include <hex/providers/provider.hpp> #include <wolv/io/file.hpp> #include <nlohmann/json.hpp> #if defined(OS_WINDOWS)...
0f6b4f85e148827390cd9ca8d890af85a797506acd247a60accc49e0c9fdb701
C++
12,602
295
#include <algorithm> #include <hex/api/content_registry/pattern_language.hpp> #include <hex/helpers/encoding_file.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/http_requests.hpp> #include <pl/core/evaluator.hpp> #include <pl/patterns/pattern.hpp> #include <pl/patterns/pattern_unsigned.hpp> #includ...
86dfa27780defb6ab9d9925082e6494b517cd22440d57fdf627d500eb24e13e6
C++
12,606
317
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "CDriverLabStreamingLayer.h" #include <cmath> #include <cstdint> #include <iostream> namespace { // In seconds constexpr double LSL_SAMPLING_ESTIMATION_DURATION = 2.0; constexpr double LSL_RESOLVE_TIMEOUT ...
0794400aa8229b577df9ab8a0a8e50f3b175f61c95b295c237041e46ef5a7c11
C++
12,614
337
///------------------------------------------------------------------------------------------------- /// /// \file CKernelFacade.cpp /// \author Charles Garraud. /// \version 1.0. /// \date 25/01/2016. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify ...
fd0771779428162e81fb19b88cf2b246a0fc513753c44d996a59e0c7c0fa9c08
C++
12,644
323
#include <hex/api/theme_manager.hpp> #include <hex/api/events/events_interaction.hpp> #include <hex/helpers/logger.hpp> #include <hex/helpers/utils.hpp> #include <hex/helpers/scaling.hpp> #include <hex/helpers/auto_reset.hpp> #include <nlohmann/json.hpp> namespace hex { namespace { AutoReset<std::map<s...
5ee3c1d9b66aadfd8a5fd641a993aaad3a0f5d23d7424ed8f2c5bcc710207c55
C++
12,669
303
///------------------------------------------------------------------------------------------------- /// /// \file CBoxXDAWNTrainer.cpp /// \brief Classes implementation for the box XDAWN Trainer. /// \author Yann Renard (Mensia Technologies). /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// This prog...
3da6bc98b51457b0b5e90f6a4856a9aba1198688bb3fff8cae86c73621cff21a
C++
12,743
263
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmStimulationBasedEpoching.cpp /// \brief Classes implementation for the Box Stimulation based epoching. /// \author Jozef Legeny (Mensia Technologies). /// \version 2.0. /// \copyright Copyrig...
b6d5e5227cbb3d892911c99ee3505351716b07ae46f38560970ed726421c6e84
C++
12,760
388
/* -*- 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...
6af9d0d2a9ef32e86c5656bec25cc06469d8d7d6b2a17193c1ed402d787463a4
C++
12,792
329
///----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // FMMergeProcess - Merge unambiguously overlapping sequences // #include "FMMergeProcess.h"...
5139240944b93a49c18bc14b0bff53dee3bbe5603aee03634591fbf044756279
C++
12,804
431
#include "ovasCSmartingAmp.h" #include <system/ovCTime.h> #include <boost/bind.hpp> #include <thread> #include <functional> #include <iostream> #define CHANNEL_SCALAR_FACTOR 2.235174445530706e-2 #define GYRO_SCALAR_FACTOR 0.00875 SmartingAmp::SmartingAmp() { m_port.reset(new boost::asio::serial_port(m_io)); ...
0a2369c447cba09b6849dbdc785cd5728737129aa7184e10c957476313ca3dff
C++
12,818
318
///------------------------------------------------------------------------------------------------- /// /// \file CCommandFileParser.cpp /// \author Charles Garraud. /// \version 1.0. /// \date 25/01/2016. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or mo...
967cc8426fd091896213f673d6b48f44d659717966b4a302bf832a3dcc37b4bf
C++
12,850
400
/* # ============================================================================= # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include <functional> #include "coreneuron/coreneuron.h...
2e6b05b7179073f8e4ea7d21687ccf8ff61541e8b0abd8c65704294790cdd0c7
C++
12,854
391
#include "Files.h" #if defined TARGET_OS_Linux || defined TARGET_OS_MacOS #include <stdio.h> // For fopen #include <unistd.h> //For access(). #include <sys/stat.h> #include <sys/types.h> // For stat(). #include <cstdlib> #elif defined TARGET_OS_Windows #include "m_ConverterUtf8.h" #include <Windows.h> #else #...
6042c3d39dbf821d22623ae196e3f3853b07941e0d92d8b97e4d27c2c5f52e8b
C++
12,874
352
/******************************************************************************* "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. ----------...
e37a7e0b487a006ba1d007466220185f4094052553a96d74273c7117d96ec9c0
C++
12,886
474
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2010 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
fbbd2fda6a83c2cf3dd2532d33b533201ca94ba3b6035203819e738b8376854f
C++
12,945
383
#if defined(TARGET_HAS_ThirdPartyMitsar) #if defined TARGET_OS_Windows #include "ovasCDriverMitsarEEG202A.h" #include "ovasCConfigurationMitsarEEG202A.h" #include <toolkit/ovtk_all.h> #include <system/ovCTime.h> #include <iostream> #include <fstream> #include <iomanip> #include <math.h> #include <windows.h> #de...
9d8b1cc642c1da1602a7bb04e3025b6d07968e09a02ed06d8b05e050d8f74802
C++
12,963
430
// *************************************************************************** // TcpSocket_p.cpp (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 5 January 2012 (DB) // ---------------------------...
c9c88c5fb1e1d2da99a3b2078da8b569582fb4c751e32f9f9fb1e45c7a81077a
C++
12,965
357
#include "ebml/IReader.h" #include <cstring> #include <cstdio> #include <cstring> #include <iostream> #if 0 #define _Debug_ _is_in_debug_mode_(m_totalBytes) static bool _is_in_debug_mode_(uint64_t value) { static int i=0; // bool result=i++>5500000; bool result=value>29605500; if (result) std::cout <<...
39b69cf466ab8336ccb598f78964ea9dfe608274d4f0760e85189781ec11319a
C++
13,002
332
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "CDriverBioSemiActiveThree.h" #include "toolkit/ovtk_defines.h" #include "toolkit/ovtk_stimulations.h" #include <algorithm> #include <chrono> #include <iostream> #include <string> #include <thread> namespa...
4922cbc5a4d074069ad0154b3ec2f8c50c19d686542cb11fd8c7d42ec42fa9af
C++
13,014
360
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SGAlgorithms - Collection of algorithms for operating on string graphs // #include "SGAlgo...
cbf64e050e3e428cdeb4f751d153994f7a2df85d7870dd8cd33681ea6f8bce9e
C++
13,014
332
#include "content/popups/hex_editor/popup_hex_editor_find.hpp" #include "content/views/view_hex_editor.hpp" #include <hex/api/content_registry/views.hpp> #include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <hex/api/content_registry/pattern_language.hpp...
99b053edc41d8ff8686ed288043a77ffc4fdd5ef10cd42621b703a9664b39677
C++
13,070
464
#include "KmerFilter.h" #include "ReadTable.h" // int KmerFilter::correctReads(svabaReadVector& vec) { // if (!vec.size()) // return 0; // if (!pBWT) // return 0; // cant correct if didnt learn how // int corrected_reads = 0; // //int intervalCacheLength = 10; // SGA defaul // //int intervalCach...
48208fc01448ebb68b1e024cbd9098d5be39c33a2226ebb113a314c9786624de
C++
13,101
347
//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...
3fd7e3626f73147af060ca6738bb8d0234c243fc49e31e25334f857a73567186
C++
13,187
377
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // CompleteOverlapSet - A collection of all // valid overlaps for a given vertex. This is // ...
eb7e9241d79e63b230053c859ef18cf40467fc16c447b4744cad6cfd2b23360c
C++
13,195
397
#include <iostream> #include <mutex> #include <hex/trace/stacktrace.hpp> #include <llvm/Demangle/Demangle.h> namespace hex::trace { std::string demangle(const std::string &symbolName) { if (auto result = llvm::demangle(symbolName); result != symbolName) return result; if (auto result...
b6b22f5534a0d6c79dd96b3d51600e5bbd8a994a75cd87d279275a05ca196a96
C++
13,202
337
// *************************************************************************** // FastaIndex.cpp (c) 2010 Erik Garrison <erik.garrison@bc.edu> // Marth Lab, Department of Biology, Boston College // All rights reserved. // --------------------------------------------------------------------------- // Last modified: 9 Fe...
9a64ccd2f906d55120b27b09a0c45544b5945fc2a2237c77bca1fcdd41357358
C++
13,224
310
#include "ovpCBoxAlgorithmBrainampFileWriter.h" #include <fs/Files.h> #include <cstring> #include <iomanip> #include <fstream> #include <string> #include <sstream> #if defined TARGET_OS_Linux || defined TARGET_OS_MacOS #include <strings.h> #define _strcmpi strcasecmp #endif namespace OpenViBE { namespace Plugins { n...
6728a5675a9efecfcc489462f000ee2ec0f2afea8f0c84b7a3552f48637fcb16
C++
13,233
326
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmPulseRateCalculator.cpp /// \brief Classes of the Box Pulse Rate Calculator. /// \author Axel Bouneau (Inria). /// \version 1.0. /// \date Tue June 13 16:05:42 2023. /// \Copyright (C) 2023 I...
1edd73d670aa2ed1df60f7c9898bd561a47e699ba05f8b8cd3afb9a63ef28ea6
C++
13,264
258
///------------------------------------------------------------------------------------------------- /// /// \file Misc.cpp /// \brief All misc functions implementation. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 29/07/2020. /// \copyright Copyright (C) 2022 Inria /// /// This program is free s...
0a4acd9acb23a73a89ba206e4ce818f8f39a80c17c084ebb9a5784c2ff1a3a3a
C++
13,289
359
#include <hex/helpers/fs.hpp> #include <hex/helpers/logger.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/utils_linux.hpp> #include <hex/helpers/auto_reset.hpp> #if defined(OS_WINDOWS) #include <windows.h> #include <shlobj.h> #include <shellapi.h> #define GLFW_EXPOSE_NATIVE_WIN32 #elif def...
1d83fd80806c5988cfa6ccfe6b01011f34411febafe61c2c9d6576e575ce44ba
C++
13,321
308
// dear imgui test engine // (result exporters) // Read https://github.com/ocornut/imgui_test_engine/wiki/Exporting-Results // This file is governed by the "Dear ImGui Test Engine License". // Details of the license are provided in the LICENSE.txt file in the same directory. #if defined(_MSC_VER) && !defined(_CRT_SEC...
9315cbf74e61a24f5c76ec1cc8730d34d4c3fba4fb4676f678cdbe54cdd2714a
C++
13,427
334
#include "CMRMR.hpp" #include <cstdlib> #include <cmath> #include <map> #include <numeric> #include <algorithm> #include <iostream> #include <fstream> #include <iomanip> ///-------------------- Public Functions -------------------- ///-----------------------------------------------------------------------------------...
a7a495eb42aa09a959561b49fab09fc49cc719da48b9dd27af61780908ee59ae
C++
13,453
475
#include "IConnectionSerial.h" #if defined TARGET_OS_Windows #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <commctrl.h> #elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS #include <sys/time.h> #include <sys/types.h> #include <sys/select.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <unist...
416e66fdc565c8a1fc8acc057202e3209d89d1d01d01d278b6953b4060913001
C++
13,465
430
#include <content/helpers/sftp_client.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/logger.hpp> #include <wolv/utils/string.hpp> #include <array> #include <charconv> #if defined(OS_WINDOWS) #include <ws2tcpip.h> #endif namespace hex::plugin::remote { void SSHClient::init() { libssh2_init...
34661eab13e0cfcd2e46f917970c87805e8e3a553f67d8dfa41543ea82548231
C++
13,508
355
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // RLBWT - Run-length encoded Burrows Wheeler transform // #include "RLBWT.h" #include "Timer...
aa133a26f7e9a1df934a3431fabdc97eafca9babf3950cb455446de51a8a05ea
C++
13,550
298
#include <hex/api/content_registry/data_formatter.hpp> #include <hex/api/achievement_manager.hpp> #include <hex/providers/provider.hpp> #include <hex/providers/buffered_reader.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/crypto.hpp> #include <hex/helpers/utils.hpp> #include <nlohmann/json.hpp> #include...
168e6c9e50add878b0d69a8119a56cb2ef72e2158a2ec0ecd0349a5156b8ad7e
C++
13,571
395
#ifdef _WIN32 #pragma comment(lib, "comsuppw.lib") // --- Linker Directives ---. Links the COM support library for wide-character BSTR handling. #include <firewall.h> // --- Standard Library --- #include <string> // For std::wstring to handle Unicode strings. #include <iostream> // For console output (std::w...
a2af8cbc320c4dfe36a27cb7a017362e32c11eac5cb56e4f1463c874ee706cc9
C++
13,648
383
// *************************************************************************** // BamReader.cpp (c) 2009 Derek Barnett, Michael Str�mberg // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 18 November 2012 (DB) // --------...
325e94754a97fd22f35f70ae8d29de24e3188fd85d97b4a04af97d96d50c508c
C++
13,666
266
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmMatrixClassifierProcessor.cpp /// \brief Classes implementation for the box Process a Matrix Classifier. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 17/01/2018. /// \co...
1cf25344c9abd95c092f11d2d500b1c1bfff2fcc68d6c0a692754c7d598616cc
C++
13,671
271
#if defined TARGET_HAS_ThirdPartyGUSBampCAPI #include "ovasCConfigurationGTecGUSBampLegacy.h" #include <windows.h> #include <gUSBamp.h> #include <iostream> #include <sstream> namespace OpenViBE { namespace AcquisitionServer { static void CalibratePressedCB(GtkButton* /*button*/, void* data) { static_cast<CConfigura...
c0080f3881ce4df1a0bfdd9f05397e3afd98472c33e763a88daaeffde7434d44
C++
13,759
277
#include "content/views/view_information.hpp" #include <hex/api/content_registry/data_information.hpp> #include <hex/api/achievement_manager.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/magic.hpp> #include <toasts/toast_notification.hpp> #include <nlohmann/json.hpp> namespace hex::plugin::built...
f92508359e36234c1215f519893b03d621782f95528ee5f45760f389f962f19c
C++
13,767
307
#if defined TARGET_HAS_ThirdPartyITPP #include "ovpCBoxAlgorithmCSPSpatialFilterTrainer.h" #include <complex> #include <cstdio> #include <map> #include <math.h> #include <iostream> #include <itpp/base/algebra/eigen.h> #include <itpp/base/algebra/inv.h> #include <itpp/stat/misc_stat.h> namespace OpenViBE { namespace...
09e5141507f4554b1f0db94228861040e92d535888f1a755219335e1c437f998
C++
13,793
173
#include "defines.hpp" #include "algorithms/basic/ovpCAlgorithmARBurgMethod.h" #include "algorithms/basic/ovpCHilbertTransform.h" #include "box-algorithms/basic/CBoxAlgorithmMatrix3dTo2d.hpp" #include "box-algorithms/basic/CBoxAlgorithmMatrix2dToVector.hpp" #include "box-algorithms/ovpCBoxAlgorithmDiscreteWaveletTran...
1daabce00a3925366a7e51b684f5878625e926e785682ff9292b04e32bf0033b
C++
13,795
426
///------------------------------------------------------------------------------------------------- /// /// \file CRendererTopo.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License as pu...
c7393c8ba33fc6a7d8e19d902db3d7176cf5c3dd086b8488661653c67339f3bb
C++
13,797
426
//----------------------------------------------- // Copyright 2011 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // VCFUtil - collection of utility functions // for producing VCF records. // #include <iostr...
ec65315ec774a950fc4ea5c8b39e36b212e1581d7a642f3a43552f444d7810b5
C++
13,808
471
/* l1tf.c * * Copyright (C) 2007 Kwangmoo Koh, Seung-Jean Kim and Stephen Boyd. * * See the file "COPYING.TXT" for copyright and warranty information. * \ * Author: Kwangmoo Koh (deneb1@stanford.edu) */ #include "ipm.h" #include "blas.h" #include "lapack.h" #include "utils.h" #include <math.h> #include <stdio...
e7dffd84225431de015477723090b090d97322f13f7a51e5e47212def2954797
C++
13,868
311
#include "ovkCKernelContext.h" #include "ovkCKernelObjectFactory.h" #include "ovkCTypeManager.h" #include <openvibe/CIdentifier.hpp> #include "algorithm/ovkCAlgorithmManager.h" #include "configuration/ovkCConfigurationManager.h" #include "player/ovkCPlayerManager.h" #include "plugins/ovkCPluginManager.h" #include "me...
367dc494ea6fbae6c452300081b573df0696f9e92348de1af03a5770746418d3
C++
13,879
426
/* * 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 <windows.h> #include <stdio.h> #include <tchar.h> #include <strsafe.h> #include <dbt.h> #include "H...
97e92b6f91d08965d5fd82bc12757204650c5054d61ac790dd38c7ed8fa7378c
C++
13,889
442
#include "IConnectionBluetooth.h" #if defined TARGET_OS_Windows #define WIN32_LEAN_AND_MEAN #define UNICODE #include <Windows.h> #include <CommCtrl.h> #include <codecvt> #include <WinSock2.h> #include <ws2bth.h> #include <bluetoothapis.h> #elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS #include <sys/time....
75c325a43cc916cd2f8c192dc8effe9ef0e66716d34b6e22d495bb613843b962
C++
13,912
432
#include "ovpCGDFFileWriter.h" #include <system/ovCMemory.h> #include <iostream> #include <cmath> #include <cfloat> #include <cstring> #include <algorithm> // std::min, etc on VS2013 namespace OpenViBE { namespace Plugins { namespace FileIO { void CGDFFileWriter::setChannelCount(const size_t n) { m_fixedHeader....
90d2ede0de8115bee9aae51cbceb58d19c394c0b4e20bf2370befc56e3935233
C++
13,913
239
#include <hex/helpers/keys.hpp> #include <GLFW/glfw3.h> enum Keys scanCodeToKey(int scanCode) { switch (scanCode) { case GLFW_KEY_SPACE: return Keys::Space; case GLFW_KEY_APOSTROPHE: return Keys::Apostrophe; case GLFW_KEY_COMMA: return Keys::Comma; case ...
7602839f3f8f4b95e1132d6ac6cef287661b39fa87b13abed5000a51274974ad
C++
13,934
569
/* -*- 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...
555bfd97ae61368cce024099a3103f52f4b24399c571879d32b57365306882be
C++
14,003
378
/* 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...
1ea86e726f1e32e254db379a12edc6539aed5ee61ef1dfa0dded0cabc9792126
C++
14,008
297
#include "ovpCModTemporalFilterBoxAlgorithm.h" #include <cstdlib> #include <cerrno> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { bool CModTemporalFilterBoxAlgorithm::initialize() { m_hasBeenInit = false; m_decoder = &getAlgorithmManager().getAlgorithm(getAlgorithmManager().createAlgo...
328e201e45ee9da509c96e7cf6d8b1b33cc011b3ae87df83c8f58a7d2e02b652
C++
14,029
334
#include <hex/api/localization_manager.hpp> #include <hex/api/imhex_api/provider.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/utils.hpp> #include <wolv/math_eval/math_evaluator.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <fonts/vscode_icons.hpp> #include <vector> #...
8d2c216afc8d5978748fce54c1c6213ff55209b80fc0a11e6079d6e496e25d96
C++
14,055
332
#include "ovasCDriverCtfVsmMeg.h" #include "../ovasCConfigurationNetworkBuilder.h" #include <system/ovCTime.h> #include <iostream> namespace OpenViBE { namespace AcquisitionServer { CDriverCtfVsmMeg::CDriverCtfVsmMeg(IDriverContext& ctx) : IDriver(ctx), m_settings("AcquisitionServer_Driver_CtfVsmMeg", m_driverC...
3b61405be585cc7148cf1908cff49c42547c3a1356fc8ef31aba4add954e594e
C++
14,063
285
/*****************************************************************************/ /*****************************************************************************/ /** **/ /** spline : **/ ...
2bfd8b3f8e56d9963b014ee85dff6ec98485bccb593808d7397c53bdbdb69810
C++
14,113
426
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QPalette> #include <QGridLayout> #include <QFileDialog> #include <QFile> #include <QMessageBox> #include <QTextStream> #include <QDebug> #include <QMenu> #include <QAction> #include <QMenuBar> #include <QTableWidgetItem> #include "datadef.h" #include "utils....
8da31b4410a5917617f4df7aa0120e8ed1a573935d69d32e8dad9c0d155d098b
C++
14,158
465
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #include "coreneuron/nrniv/nrniv_decl.h" #include "corene...
49d53b5429c373eb09a9d68740db39f50219fbafb54a330dae89f3eec00837d3
C++
14,177
358
#include <hex/helpers/unicode.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/utils.hpp> #include <wolv/utils/string.hpp> namespace hex { namespace { enum class Utf8CodepointStatus { Complete, // Too few bytes left for the code point the lead byte announces. ...
14655c1a63b139cba9b45aff0e7a5be7adfd8214d3036964ee5cedf11eb42b48
C++
14,202
238
#include <iostream> #include <fonts/tabler_icons.hpp> #include <hex/api/achievement_manager.hpp> #include <hex/api/events/events_provider.hpp> #include <hex/api/events/events_lifecycle.hpp> #include <hex/api/events/events_interaction.hpp> #include <hex/helpers/crypto.hpp> #include <hex/providers/provider.hpp> #inclu...
4addc7902f83482636801606f87b0d08b4afd3060bd287cab6a7e65fe071e996
C++
14,208
260
///------------------------------------------------------------------------------------------------- /// /// \file Mean.cpp /// \brief All functions implementation to estimate the mean of Vector of Covariance Matrix. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 26/10/2018. /// \copyright Copyrigh...
1425e7411dac740a6267f40b0604b7dc9951fba5b69446a23c0bd9a14358ee92
C++
14,269
281
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmChannelSelector.cpp /// \brief Classes implementation for the Box Channel Selector. /// \author Yann Renard (Inria). /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// This pro...
70a13992e560eefbdad226368beafe43e8d59d2f0ccb79cda35445f0467849a4
C++
14,280
436
#include <hex/providers/provider.hpp> #include <hex.hpp> #include <hex/api/events/events_provider.hpp> #include <hex/api/events/events_interaction.hpp> #include <hex/api/content_registry/settings.hpp> #include <hex/api/imhex_api/provider.hpp> #include <hex/helpers/magic.hpp> #include <hex/helpers/auto_reset.hpp> #inc...
3bbcea210cf4b17cf800d8d2844b3da1ff136ade7bffaca98ff26ef211403013
C++
14,289
257
#include "TrainerML.hpp" #include <tuple> #include <vector> #if !(defined(WIN32) && defined(TARGET_BUILDTYPE_Debug)) namespace OpenViBE { namespace Plugins { namespace PyBox { static const std::vector<std::tuple<std::string, CIdentifier, std::string>> ADA_BOOST_SETTING = { std::make_tuple("Test set share", OV_Ty...
80ec3501519adbecdedb3946f2ff385d214231e955888a6b4a66698278656f17
C++
14,296
527
/* -*- 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...
b8cc2bf97622957a3575ef0907a1aeb5dcee5ed14f207fcd720a7f0b5db46c1f
C++
14,331
294
///------------------------------------------------------------------------------------------------- /// /// \file CBoxLSLCommunication.cpp /// \brief Class of the generic box that communicates with LSL. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 24/02/2021 /// \copyright Copyright (C) 2022 Inr...
1f0179ec24a5c5c3ccacb5d0f9e98654bd7d0eb14a67c29765832bc664605348
C++
14,353
356
/**------------------------------------------------------------------------------------------------- * \file CDisplayCueImage.cpp * \brief Classes implementation for the Box Display cue image. * \author Joan Fruitet, Jussi T. Lindgren (Inria Sophia, Inria Rennes). * \version 1.2. * \copyright Copyright (C) 2022 In...
ede0dd04cae590aa86fa25b18c03d9d5dae65f53da9e9ae557b38614deda6307
C++
14,387
283
///------------------------------------------------------------------------------------------------- /// /// \file ovasCConfigurationBrainProductsBrainampSeries.cpp /// \brief Brain Products Brainamp Series driver for OpenViBE /// \author Yann Renard /// \copyright Copyright (C) 2022 Inria /// /// This program is free...
b339bdf6d4770b0d415c29e0e9494bfb6b2e5d4698f498fa2c42f3bfdf57f8c4
C++
14,415
482
/******************** 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...
bc2ea2d4e6509da5cb1ee8351cae9de8bb39b8d3ea94a4468189b1e91bda2a56
C++
14,520
331
#include <hex/api/content_registry/hex_editor.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <hex/helpers/utils.hpp> #include <wolv/utils/string.hpp> namespace hex::plugin::builtin { template<std::integral T> class DataVisualizerHexadecimal : public hex::ContentRegistry::HexEd...
d6df39c0ff8619c73dce2de2e76203b1a070c494cea8afe981c2a3d110b42186
C++
14,526
367
#include <content/recent.hpp> #include <content/legacy_project_importer.hpp> #include <imgui.h> #include <imgui_internal.h> #include <hex/api/content_registry/views.hpp> #include <hex/api/events/events_provider.hpp> #include <hex/api/events/events_lifecycle.hpp> #include <hex/api/content_registry/settings.hpp> #incl...
7453b9244adf38a21e8389863f15dac991fa60f55b06eb84dbdd09bb9909b99e
C++
14,536
351
#if defined TARGET_HAS_ThirdPartyGUSBampCAPI_Linux #include "ovasCDriverGTecGUSBampLinux.h" #include "ovasCConfigurationGTecGUSBampLinux.h" #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace AcquisitionServer { CDriverGTecGUSBampLinux::CDriverGTecGUSBampLinux(IDriverContext& ctx) : IDriver(ctx), m_set...
dc9c397ab1923de992fabda06791252dbf2d8455fb769a712f6c526da76046ba
C++
14,549
333
#include "ovpCBoxAlgorithmEOG_Denoising_Calibration.h" #include <Eigen/Dense> #include <cmath> #include <cfloat> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { bool CBoxAlgorithmEOG_Denoising_Calibration::initialize() { m_algo0SignalDecoder.initialize(*this, 0); m_algo1SignalDecoder.in...
45007c39788e34c0f71f59aff9783da0efcf5bdd600fa72ffbfefcea11a48299
C++
14,560
360
#ifdef TARGET_OS_Windows #include "ovasCDriverMensiaAcquisition.h" #include "ovasCConfigurationDriverMensiaAcquisition.h" #include <toolkit/ovtk_all.h> //#include <Windows.h> #include <system/WindowsUtilities.h> #include <string> #include <fstream> namespace OpenViBE { namespace AcquisitionServer { namespace { e...
e93f93ab8511741bf33e7b2bf1c081492104dadc059932a46182bb79d5617076
C++
14,588
456
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include <cstring> #include "coreneuron/nrnconf.h" #inc...
f746a75cfc60a1e51b31c84e3297226d53425f9caf08617e5958616641227a73
C++
14,588
337
#include <hex/api/http/github_api.hpp> #include <hex/api/imhex_api/system.hpp> #include <hex/api/task_manager.hpp> #include <hex/helpers/http_requests.hpp> #include <hex/helpers/utils.hpp> #include <hex/helpers/default_paths.hpp> #include <hex/helpers/logger.hpp> #include <hex/helpers/fs.hpp> #include <string> #inclu...
db161dd06927cc919de7bc7e99eef9a4e16556f96c301fb3b65a7a879a084fd0
C++
14,662
556
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SGWalk - Data structure holding a walk through // the graph // #include "SGWalk.h" // SGW...
1947a6144ee1e76ea82d9f4317492f1053a04acf88ebc9654b1a05e2b3bf0f6b
C++
14,668
341
#include "content/views/view_yara.hpp" #include <hex/api/imhex_api/hex_editor.hpp> #include <hex/api/content_registry/file_type_handler.hpp> #include <hex/helpers/fs.hpp> #include <hex/helpers/default_paths.hpp> #include <toasts/toast_notification.hpp> #include <popups/popup_file_chooser.hpp> #include <wolv/io/fs.h...
de6f16dee5297289efcea6542c0bc418c7e439d98691e0b700df94e9297d665b
C++
14,677
304
#include "CBoxAlgorithmSnapshotGen.hpp" #include <iostream> #include <fstream> #include <map> #include <vector> #include <algorithm> #include <array> // ------------------------------------------------------------------------------------------------------------------------------------ // ----------------------------...
d333d7cce1f2c2e39f601c59dddd5f039fcbee202640f30acf451c71afb033e5
C++
14,749
399
#include "content/providers/intel_hex_provider.hpp" #include <cstring> #include <hex/api/imhex_api/hex_editor.hpp> #include <hex/api/localization_manager.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/logger.hpp> #include <hex/helpers/scaling.hpp> #include <hex/helpers/utils.hpp> #include <hex/ui/imgui_imh...
7c60a1e98137b85a3e0c048f163b3ce23427c84370a66d4db5c11e398cfd0392
C++
14,753
361
// tovcf.cpp // // `svaba tovcf` — convert a deduplicated bps.txt.gz into a pair of VCF // files (one for SVs, one for indels). Target spec: VCFv4.5. // // This is the standalone format-conversion entry point. It assumes the // input bps.txt.gz has already been sorted and deduplicated by // scripts/svaba_postprocess.sh...
1a16fbacfa18ac78eac42d08513a58613840d74efaf0144d142eb0544d663703
C++
14,761
336
///------------------------------------------------------------------------------------------------- /// /// \file CBoxTCPWriter.cpp /// \brief Class of the box TCP Writer. /// \author Jussi T. Lindgren (Inria). /// \version 1.0. /// \date 11/09/2013 /// \copyright Copyright (C) 2022 Inria /// /// This program is free...
c2b8e0fb185d433866513d7bc1f81f578eb2c0b2424a844e6c7d5caecb969b36
C++
14,766
295
///------------------------------------------------------------------------------------------------- /// /// \file CASR.cpp /// \brief Class implementation used to use Artifact Subspace Reconstruction Algorithm. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 27/08/2020. /// \copyright Copyright (C)...
155e00148546157722a93a1c27184aebd0d1eb585838b6cae733539b5fa548c9
C++
14,789
323
///------------------------------------------------------------------------------------------------- /// /// \file CAlgorithmClassifierOneVsAll.cpp /// \brief Classes implementation for the Algorithm One Vs All. /// \author Guillaume Serriere (Inria). /// \version 0.1. /// \copyright Copyright (C) 2022 Inria /// /// T...
f88c08a6cce0fd98a608aa7cabd006d89921bc37749c26320087d30ecb36beb6
C++
14,801
436
///----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // QCProcess - Process to perform quality checks // for a sequence work item // #include "Q...
0176dd43db29a5600ef4b7dd0982db1aef5041d5c4750a7de75645c92b5390e1
C++
14,820
322
///------------------------------------------------------------------------------------------------- /// \copyright Copyright (C) 2014, Mensia Technologies SA. All rights reserved. /// Rights transferred to Inria, contract signed 21.11.2014 ///----------------------------------------------------------------------------...
20f8c204ab0d34bbe245bdb0535249447f9dbcceb51dfaa8840569da2a141980
C++
14,826
318
///------------------------------------------------------------------------------------------------- /// /// \file ovasCConfigurationBrainmasterDiscovery.cpp /// \copyright Copyright (C) 2012, Yann Renard. All rights reserved. /// /// This library is free software; you can redistribute it and/or /// modify it under t...
34d954140b86a7e477ea609976f024279b8f1443161cc6e8c6d56550e76728f1
C++
14,952
398
///------------------------------------------------------------------------------------------------- /// /// \file CGrazVisualization.cpp /// \brief Classes implementation for the Box Graz visualization. /// \author Bruno Renier, Jussi T. Lindgren (INRIA/IRISA). /// \version 0.2. /// \copyright Copyright (C) 2022 Inri...
154bcff2acf8506db9b9e39004e7daa15ed68967857d076bac30dc63e8d34f0a
C++
14,965
565
/***************************************************************************** * SV_Tools.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 ...
97348d3d6b1e0f351e957b837459b5ab2867db90ea60e6d5c83142034e99ccda
C++
14,975
270
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmConnectivityMeasure.cpp /// \brief Implementation of the Box Connectivity Measure. /// \author Arthur DESBOIS (Inria). /// \version 0.0.1. /// \date Fri Oct 30 16:18:49 2020. /// /// \copyrigh...
238439566113ba3722bc25e118bc00460129897c92ef9ffd4e420164234d28b1
C++
15,033
377
#if defined TARGET_HAS_ThirdPartyGUSBampCAPI #include "ovasCDriverGTecGUSBampLegacy.h" #include "ovasCConfigurationGTecGUSBampLegacy.h" #include <toolkit/ovtk_all.h> #include <system/ovCTime.h> #include <cmath> #include <windows.h> #include <cstring> #include <cstdlib> #include <cstdio> #include <gUSBamp.h> #defin...
66bb01227cfdc08438b4b9774fe35077c9d3aea6ea18991b180488bc775eb61f
C++
15,079
609
#include <iostream> #include <pyublas/numpy.hpp> #include <vector> #include <boost/dynamic_bitset.hpp> #include <cmath> /* def bForN(n): prod = 1 if n > 3: for k in range(4, n + 1): prod *= ((2 * k) - 5) return prod def BS2009_Eqn30_ZTApprox(n, beta, cT): myLambda = cT/(2....