sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
1b7755efb4556dc005dc8f7dad1fa0420ea5e5339c2c008f63ad23f66434165b
C++
2,911
69
#include "content/views/view_hex_editor.hpp" #include "content/views/view_pattern_editor.hpp" #include "content/views/view_pattern_data.hpp" #include "content/views/view_information.hpp" #include "content/views/view_about.hpp" #include "content/views/view_tools.hpp" #include "content/views/view_data_inspector.hpp" #inc...
080dea0e4ee7cf83bf183c5221ccffeef6e0998b8cb9a72bc0a6956b4565577f
C++
2,912
80
#include "CStimulusSender.h" #include <iostream> #include <system/ovCTime.h> // @fixme Should use some logging facility instead of std::cout namespace TCPTagging { CStimulusSender::~CStimulusSender() { if (m_oStimulusSocket.is_open()) { m_oStimulusSocket.close(); } } bool CStimulusSender::connect(const char* sAddre...
35310a215342c94bcbb73aabb9a6fd34ddeb46cfd19ae52e823802ffa625b6ed
C++
2,912
79
#include "content/popups/hex_editor/popup_hex_editor_resize.hpp" #include "content/views/view_hex_editor.hpp" #include <fonts/tabler_icons.hpp> namespace hex::plugin::builtin { PopupResize::PopupResize(const ImHexApi::HexEditor::ProviderRegion &selection) : m_selection(selection), m_actualSize(0), m_selectionSiz...
65a2b0f00ae563268e33c610b6217a4953c038debc177055692dbe77b17c21c9
C++
2,916
78
//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...
6c3359562fde46be78242f7a5995a38e39dc0a59d606cf1642d3b6c94766d8ad
C++
2,924
96
//----------------------------------------------------- // Copyright 2014 Ontario Institute for Cancer Research // Written by Jared Simpson (jared.simpson@oicr.on.ca) // Released under the GPL //----------------------------------------------------- // // Data structure for performing proximity queries // against a set ...
c8a2c6473e85459ad4aad0bf51a7f42593e3a440803198bd7363bd8819b78ab4
C++
2,931
60
///------------------------------------------------------------------------------------------------- /// /// \file CSettingViewFactory.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...
5a17774f2999766cf5a1ca46901cb2b5054c3b67b43572f7042acf7d2bf9a557
C++
2,939
100
/******************************************************************************* 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:...
7e73c39c89453e7de3715c7befb984557c636c42650a7401e304116c7f2baad2
C++
2,946
88
//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...
dc641bc4ff6a070d5c767512ac97a4430a5b60e20718c6aec0e98befc9f0fcc3
C++
2,954
75
#include "gtest/gtest.h" #include "Eikonal.h" TEST(Improve3D, DecreaseRMSError) { Eikonal data(false); std::vector<float> rmsError; //low granularity data.filename_ = TEST_DATA_DIR + std::string("sphere334"); data.maxBlocks_ = 1000; EXPECT_NO_THROW(data.solveEikonal()); // find the analytical solution to ...
68e9fe37c6421f5af6b1186d5f71c810e53df31a1cf2a011b1a78b0c542b10de
C++
2,956
85
///------------------------------------------------------------------------------------------------- /// /// \file TAttributeHandler.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License a...
c8239178a84b21067fbc12a3828099776915890c01c7c5e33a4fc95f86a23acd
C++
2,964
133
// // sequenceUtils.cpp // BEDTools // // Created by Aaron Quinlan Spring 2009. // Copyright 2009 Aaron Quinlan. All rights reserved. // // Summary: Contains common functions for manipulating DNA sequences. // // Acknowledgment: I am grateful to Michael Stromberg for the code below to // reverse...
4b1726533b6012b4f9058812c771dd30e8a13e64b5d15f973b2310b110a4d05b
C++
2,976
91
/****************************************************************************** * * File: abort.c * * Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 * Duke University * ******************************************************************************/ #include "coreneuron/utils/nrnoc_aux.hpp" /*---------...
5db00698e48f1970702584e72545dc954c774f8d233928309dc1429373c7ee26
C++
2,976
84
/** * SPDX-FileCopyrightText: Inria <florent.leray@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only * @file AbstractDriver.cpp * @brief Implementation file for the AbstractDriver class. * * This file implements the non-pure virtual methods of the AbstractDriver * base class, providing default functionality for...
7857aa887a18e70357ed4ed82e5698ea0ca0b56e3a98b24388278d3b8e13af91
C++
2,976
106
/* # ============================================================================= # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/network/netcvode.hpp" #include "core...
9023e3e188041bee9da0f29cb1eba0bd28253989273b1e73c0f5c4c9bd72668d
C++
2,980
92
/******************************************************************************* 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:...
558041060782d43a915eebb1db145cb3e100256ad2c250a48a9cf32d53ae04e5
C++
2,987
95
///------------------------------------------------------------------------------------------------- /// /// \file CVisualizationManager.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public Licen...
b1a095c7bffef678118e2270cabb7dd78c7c2d1681e826193f3191b5b1d7f110
C++
3,019
86
#include "coreneuron/nrnoc/mech_mapping.hpp" #include "coreneuron/utils/data_layout.hpp" #include "coreneuron/nrnoc/nrnoc_ml.h" #include <iostream> #include <cstring> #include <map> #include <stdlib.h> namespace coreneuron { typedef size_t Offset; typedef int MechId; typedef const char* VariableName; struct cmp_str {...
c4252eafadd23d6cd460f92adb3c8a894b5e421a7d67ea6bb391d67eed0fd46b
C++
3,022
63
///------------------------------------------------------------------------------------------------- /// /// \file CAlgorithmPairwiseDecision.cpp /// \brief Classes implementation for the Algorithm Pairwise Decision. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it...
72a8f33062eebbeeda418d5a7973d956fe968e2f3ed317d8f846c39e9aeed69f
C++
3,037
106
///---------------------------------------------- // Copyright 2011 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // VariantionVariationBuilderCommon -- Common functions and data // structures for the abstra...
155b17d8807aa653092f41e3ac3a8cc94b45a5fff8c8939f412791919037a9d7
C++
3,039
87
#include "GenericVRPNServer.hpp" #include <vrpn_Connection.h> #include <vrpn_Button.h> #include <vrpn_Analog.h> #include <cstdarg> CGenericVrpnServer* CGenericVrpnServer::m_serverInstance = nullptr; CGenericVrpnServer::CGenericVrpnServer(const int port) : m_connection(vrpn_create_server_connection(port)) { } CGene...
d054f0ea2ee0daabb7901f7c3658295e97509b936b5f809f888bc4bb05ed86e4
C++
3,048
104
#if defined TARGET_HAS_ThirdPartyPython2 && !(defined(WIN32) && defined(TARGET_BUILDTYPE_Debug)) // Windows debug build doesn't typically link as most people don't have the python debug library. #include "box-algorithms/ovpCBoxAlgorithmPython2.h" #if defined(PY_MAJOR_VERSION) && (PY_MAJOR_VERSION == 2) #ifdef TARGET...
269b55f163f6e719ccde03e84cb596c0f60990085a34d232cd3d6c37ee69c9f6
C++
3,058
113
#include "CKernelLoader.hpp" #include <iostream> #include <string> namespace OpenViBE { void UpdateError(CString* error) { if (error) { #if defined TARGET_OS_Linux || defined TARGET_OS_MacOS *error = dlerror(); #elif defined TARGET_OS_Windows LPVOID buffer = nullptr; FormatMessage(FORMAT_...
8bdbb14324d156f5c9d841f8d0c9bb245918fbe6b8f51289af7e7924ffe411ac
C++
3,059
102
/* -*- 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...
523a1a284bd3302e384c5ac6d671716c12a4e7ea2ca05e88016405f1850cf581
C++
3,065
90
#include "ovpCDetectingMinMax.h" #include <cmath> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { // ________________________________________________________________________________________________________________ // bool CDetectingMinMax::initialize() { ip_signalMatrix.initialize(getInputP...
c70fd9601263b6740b18dd052754b12d84814252873afb0250ad24d12d67ab62
C++
3,065
92
#include "system/ovCTime.h" #include <cmath> #include <cassert> // \warning On Windows, avoid "using namespace System;" here as it may cause confusion with stuff coming from windows/boost // \note Support of C++11 steady clock: // - From GCC 4.8.1 // - From Visual Studio 2015 (therefore a strategy is need...
13f2e0e00682ae4085a37c67f2050f884b2284138318309a17a5e0dcf4b19b30
C++
3,070
92
#include <hex/api/http/tips_api.hpp> #include <hex/api/http/api_urls.hpp> #include <hex/helpers/http_requests.hpp> #include <condition_variable> #include <mutex> #include <optional> namespace hex { namespace { using namespace std::literals::string_literals; using namespace std::literals::chrono...
4578289bd32b4e1abd84f3f894659e757ab5f666ea97fe8d1e82303cd873e023
C++
3,088
84
/* # ============================================================================= # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/permute/cellorder.hpp" #define BOOS...
83feed0f4e5d32d42d3a817b52695b5583d33c7af70aba93158b8d902a5b13a0
C++
3,090
101
#include "DiscordantRealigner.h" #include "SvabaUtils.h" #include "SeqLib/BWAAligner.h" #ifdef QNAME #define DEBUG(msg, read) \ if (read.Qname() == QNAME && (read.AlignmentFlag() == QFLAG || QFLAG == -1)) { std::cerr << (msg) << " read " << r << std::endl; } #else #define DEBUG(msg, read) #endif //bool Discordan...
7eeae94c159a7dfe24810430d31a1a5afd79225b0e135fef4a8ff1f4dacfb50c
C++
3,094
81
/******************************************************************************* 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:...
2cbc122b7646b9edde4f5ab0bf43ae6cc49e1b5754b7d3ea469d51050e0af9ca
C++
3,113
97
#include "CSinusSignalGenerator.hpp" #include <cmath> namespace OpenViBE { namespace Plugins { namespace DataGeneration { bool CSinusSignalGenerator::initialize() { m_encoder.initialize(*this, 0); // Parses box settings to try connecting to server m_nChannel = size_t(uint64_t(FSettingValueA...
8040457d6715a9c0d307e9c232e12cf0628858f1e2089aea5d4a2e5982c41696
C++
3,113
100
//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...
4b383b314abdf96c43dafb9be445d5daaba74b76ca9175f0f0788377c0ef7e46
C++
3,116
94
///------------------------------------------------------------------------------------------------- /// /// \file uoEntryEnumeratorTest.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public Licen...
4bcd0242a639c5b2726be4651a6dd5b011b4a490c8442ed17f6de443a12dfe76
C++
3,120
69
#include "ovkCMetaboxObjectDesc.h" namespace OpenViBE { namespace Metabox { CMetaboxObjectDesc::CMetaboxObjectDesc(const CString& rMetaboxDescriptor, Kernel::IScenario& metaboxScenario) : m_metaboxDesc(rMetaboxDescriptor) , m_name(metaboxScenario.getAttributeValue(OV_AttributeId_Scenario_Name)) , m_au...
e1a0489bc659aa890776658972af31d3ad016d7d86f4f324e5741a2191742c8d
C++
3,134
133
// SPDX - License - Identifier: AGPL - 3.0 - only // SPDX-FileCopyrightText: Inria <florent.leray@inria.fr> #include "NetService.h" namespace OpenViBE { namespace Services { // Definition of the static unique_ptr "d" member for Pimpl idiom std::unique_ptr<NetServicePrivate> NetService::d = nullptr; /** * @brief P...
95b49aa97591109ff82cba404a7aa1d027e1a0153a2033709213a71a37e02631
C++
3,143
65
///------------------------------------------------------------------------------------------------- /// /// \file CMatrixClassifierFgMDM.cpp /// \brief Class implementation of Minimum Distance to Mean with geodesic filtering (FgMDM) Classifier. /// \author Thibaut Monseigne (Inria). /// \version 1.0. /// \date 10/12/...
3f6761dd24c81fc7436b73d8e7f75aba3297b5cf4747897f70a5a8fbf1fe448e
C++
3,147
70
#if defined(TARGET_HAS_ThirdPartyMCS) #include "ovasCConfigurationMCSNVXDriver.h" namespace OpenViBE { namespace AcquisitionServer { /*_________________________________________________ Insert callback to specific widget here Example with a button that launch a calibration of the device: //Callback connected to a d...
1efee9be4fc285151107c3c1e1e1f58ebfae6c57fcb3684d1f7f51b0a0a96b1a
C++
3,157
76
///------------------------------------------------------------------------------------------------- /// /// \file CFloatSettingView.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License a...
72efcfd49264ce8dfaa3544ffbfbb4e86e71195e8baff521e2f009b0f19abfcc
C++
3,170
134
/* # ============================================================================= # Copyright (c) 2016 - 2022 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include "coreneuron/apps/corenrn_parameters.hpp" #defin...
ce69cb15a79a8e56a68a372c1ab96d447019dfe8f92b160e87b8b2c597ffeec9
C++
3,180
118
/* -*- 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...
d09bc1ca0469eaa6efffd4daabac144e1ff5060ae2b3146091ba46f58fb7168c
C++
3,187
77
///------------------------------------------------------------------------------------------------- /// /// \file CIntegerSettingView.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...
325e98b4e1ca5bc561abb2f9203a5c9ab8837de58806335077092a7c6583281f
C++
3,191
79
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ /** * @file nrn_stats.cpp * @date 25th Dec 2014 * @br...
6308c5f59ecd58f1388a367347f8f2fbb335be11987469eed3f5588232ac5071
C++
3,191
124
/******************** 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...
c81755f67f4f94c7067b07220f058567c16e81c629c315cd7a458fd0905f2967
C++
3,211
78
#include "content/helpers/decoded_string.hpp" #include <hex/api/localization_manager.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/unicode.hpp> #include <wolv/utils/string.hpp> namespace hex::plugin::builtin { size_t extendToWholeCodePoints(const std::vector<u8> &buffer, size_t targetSize, ...
27d40349209d5c8c61ec0f8b698ff62761c5f87b4d6470cad94ba942bc38fafc
C++
3,212
78
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmLatencyEvaluation.cpp /// \author Yann Renard (Inria) /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify //...
9dd24eec2c4f22eb586717a92d3b0d0a84e34f8e556f648fe38f029d8d5af442
C++
3,216
131
/******************** 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...
a23520a525d9beb2d481847a46da9f587e6433182b2b29ca4a35beb4789b48d3
C++
3,238
83
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmStreamedMatrixMultiplexer.cpp /// \brief Classes implementation for the Box Signal Merger. /// \author Yann Renard (Inria). /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// T...
1a3aa52cf2efc1a4ee7129aa2ed0d101fb6218f29d6a6ba21bcd200e38bc6e6a
C++
3,241
89
///------------------------------------------------------------------------------------------------- /// /// \file CVisualizationWidget.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public Licens...
14725c2f1d409e1680964732d8adc3c2c80182860798e124ceb06b74fdd86bfd
C++
3,249
80
#include "content/popups/hex_editor/popup_hex_editor_select.hpp" #include "content/views/view_hex_editor.hpp" #include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <content/differing_byte_searcher.hpp> namespace hex::plugin::builtin { PopupSelect::Popup...
61248ccf54342ddf8198d7a8151a72feac88c90ab99f84f8567e636b1a6d351e
C++
3,252
110
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // RLBWTReaderBinary - Read a run length encoded BWT file from disk // #include "BWTReaderBi...
d971672180583d6ea7a37c61251f1e1fd80c6150143feed62e5cb475ad539368
C++
3,255
106
/******************************************************************************* 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:...
5d2641cc1621daf2cc61f4808849e40498081d18f27c4c4348d7d532fe75e0bf
C++
3,260
171
/* -*- 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...
44ef53aa9e7ee39db89c867459e907279c5b83ad81807dd62a9d11602ed2314f
C++
3,267
130
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // SuffixCompareRadix // #include "SuffixCompare.h" // SuffixCompareRadix::SuffixCompareRad...
c5df1d9ef624e1634cacd1532545a09bd915f12dac75d2efc9c7bbe69d0c1242
C++
3,268
94
///------------------------------------------------------------------------------------------------- /// /// \author Yann Renard (INRIA/IRISA). /// \version 1.0. /// \date 21/11/2007. /// \copyright (C) 2022 INRIA /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of th...
422f89802e44eac8a49b858536fbaf1df33326576e52bb8c9bf0439bdaab2b1a
C++
3,282
109
/******************************************************************************* 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:...
bc1ce3f9d25345acad08ed4f195a5cea52141c012cabc808bc61e3eee925affc
C++
3,296
90
///------------------------------------------------------------------------------------------------- /// /// \file CAlgorithmPairwiseDecisionVoting.cpp /// \brief Classes implementation for the Algorithm Pairwise Decision Voting. /// \author Guillaume Serrière (Inria). /// \version 0.1. /// \copyright Copyright (C) 20...
d7315eddf2f75157ee1d204f4b6814312c8256e3916ee55bd78d8e30d115ecd9
C++
3,307
92
#include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <hex/helpers/utils.hpp> #include <windows.h> #include <psapi.h> #include <imgui.h> #include <fonts/vscode_icons.hpp> #include <hex/ui/imgui_imhex_extensions.h> namespace hex::plugin::windows { void...
62ac5a7110ccfd4f432941723bc728685250581bceb3f5f90c7a229fc2c81aa8
C++
3,308
64
#include <vector> #include "ovp_defines.h" #include "toolkit/algorithms/classification/ovtkCAlgorithmPairingStrategy.h" //For comparision mecanism #include "algorithms/ovpCAlgorithmClassifierSVM.h" #include "box-algorithms/ovpCBoxAlgorithmOutlierRemoval.h" #include "algorithms/ovpCAlgorithmClassifierMLP.h" #includ...
2393f4d3f357f3648aa4b811965bdaa9b3c4931129ead934742959f364d80a86
C++
3,317
116
/******************************************************************************* 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:...
bd8f77840f1b43360d6cee939085e71572541b5056a2ecf36ce317198dbae703
C++
3,319
83
///------------------------------------------------------------------------------------------------- /// /// \file CLinkProxy.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 publi...
eba966604738223f319125d67fe7ab1641f10b1b42f2fb283334cbf185c375a9
C++
3,321
137
/* Szymon Rusinkiewicz Princeton University remove.cc Removing sets of vertices or faces from TriMeshes. */ #include <stdio.h> #include "TriMesh.h" #include "TriMesh_algo.h" // Remove the indicated vertices from the TriMesh. void remove_vertices(TriMesh *mesh, const std::vector<bool> &toremove) { size_t nv = mesh...
cc3f4da539b85fb5635a7cb931c92a784b6ed83d19c0780489bcef1784f5bd03
C++
3,325
122
#include <hex/helpers/fmt.hpp> #include <hex/helpers/semantic_version.hpp> #include <wolv/utils/string.hpp> namespace hex { SemanticVersion::SemanticVersion(u32 major, u32 minor, u32 patch) : SemanticVersion(fmt::format("{}.{}.{}", major, minor, patch)) { } SemanticVersion::SemanticVersion(const char *v...
1ab40db5c5d8d10158e963272fb4b57b3a78d2fc06a267a8985b018c86b2ff38
C++
3,335
130
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #include "parameters/parameterStringVector.h" #include "parameters/parameterFactory.h" #include <sstream> namespace OpenViBE { namespace Parameters { ParameterStringVector::ParameterStringVector(void) : Para...
5bdc8a34507a906c476a5a26e49c5fef64b8e3f214ba5de9541b7d277cf65f6d
C++
3,352
77
#include "content/views/view_logs.hpp" #include <hex/api/content_registry/user_interface.hpp> #include <hex/helpers/logger.hpp> #include <fonts/vscode_icons.hpp> namespace hex::plugin::builtin { ViewLogs::ViewLogs() : View::Floating("hex.builtin.view.logs.name"_unlocalized, ICON_VS_DEBUG_LINE_BY_LINE) { ...
6951c537b94d5655361ab58d28bea0f672de810698993677a173f1bc56b4987f
C++
3,359
101
#include "CBoxAlgorithmNoiseGenerator.hpp" namespace OpenViBE { namespace Plugins { namespace DataGeneration { CNoiseGenerator::CNoiseGenerator() { // Use the OV random seed (if specified) to get dictate the sequence here std::random_device device; m_engine = std::default_random_engine(device()); } bool ...
8dcf240a4f8637885f39a96133cdbbf2e6a1242989c195a156010c4f3a0fe652
C++
3,367
72
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // OverlapCommon - Common wrapper used for finding overlaps // for a set of reads // #include...
c879119bc7bd00a312cb037e89ee863a5c823503011ccf0d9056d1de1cf1ca8c
C++
3,369
138
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #include <cstdlib> #include <cstring> #include "coreneu...
15f9a4e384aa53e2c5fb40ba28f726428f40a667930a5cd3e4502c8aeded9998
C++
3,371
84
///------------------------------------------------------------------------------------------------- /// /// \file CAlgorithmClassifierNULL.cpp /// \brief Classes implementation for a classification algorithm example. /// \author Yann Renard (Inria). /// \version 1.0. /// \copyright Copyright (C) 2022 Inria /// /// Th...
44f23817add229386b64cedd7cbdbe3dd0d17f131afc88f8ae4659bf96af0880
C++
3,371
92
///------------------------------------------------------------------------------------------------- /// /// \file CBooleanSettingView.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...
02746772c6bc55103bcf46d0e705ea92c38fc0f20981588f61f60930d7200192
C++
3,376
81
#include "content/views/view_provider_settings.hpp" #include <hex/api/imhex_api/hex_editor.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <hex/api/task_manager.hpp> #include <hex/api/events/events_provider.hpp> #include <hex/providers/provider.hpp> #include <toasts/toast_notification.hpp> names...
30e37fd98d92650a2d1ca480c5c2cc0bded5b93ce12fcf1c50643acadcb8bbcd
C++
3,381
105
#include "IReader.h" #include <expat.h> #include <string> #include <iostream> namespace XML { class CReader final : public IReader { public: explicit CReader(IReaderCallback& callback); bool processData(const void* buffer, const size_t size) override; void release() override; void openChild(const cha...
267c3979d0d2705070db4ba3a34a94bc1079de8cfbe49554df260de7b8e160f6
C++
3,386
149
/******************** 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...
9291b835f95300f8b296ff8bc38f10e2367c61ba1f9469cd4f51bb86982bfb8a
C++
3,400
113
/******************************************************************************* "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. ----------...
ace40f3b71c2d773efd5207f62aab4d954dad248c813066802c3e0f342bd4775
C++
3,404
54
#include <hex/api/content_registry/tools.hpp> #include <hex/api/localization_manager.hpp> #include <content/tools_entries.hpp> #include <imgui.h> #include <fonts/vscode_icons.hpp> namespace hex::plugin::builtin { static void drawFileTools() { if (ImGui::BeginTabBar("file_tools_tabs")) { if ...
db95857418c151254f130bb43734c7487869456a5945c561661f3353a96954ff
C++
3,408
142
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // GapArray - Data structure and functions used to count // the number of times a suffix of ...
0aaf21c067050f1284c18da06a6e22a5b000a99c7ebd6c8dad786a6430af1665
C++
3,413
142
/* -*- 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...
363c50484b0f3beab484da365209243cbbc9266181712a594f9509aa7956fe91
C++
3,420
110
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #include "parameterListIntObject.h" namespace OpenViBE { namespace Parameters { ParameterListIntObject::ParameterListIntObject(std::vector<int> available_values): ParameterObject() { m_listInt = new Paramete...
e1f157bd44596cfd45b793c74b2a039fbfb4a838920e9a1a478a455685d74756
C++
3,420
89
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "ScenarioSerializer.h" #ifdef TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines #include "ovp_global_defines.h" #endif // TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines namespace OpenViBE { namespace Des...
51916e3b254f87d506e00a0b32024426f62908149948dfd0fab1f7cf26e915c8
C++
3,436
104
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ // use LPT algorithm to balance cells so all warps have s...
d26c9980221cea5cebee876abe40e3f0a764c22482c39e45e93678cef748e28a
C++
3,437
84
#include "ovkCBoxProto.h" namespace OpenViBE { namespace Kernel { bool CBoxProto::addInput(const CString& name, const CIdentifier& typeID, const CIdentifier& id, const bool notify) { if (!m_box.addInput(name, typeID, id, notify)) { return false; } const std::string tmp = std::to_string(m_box.getInputCount())...
4e6876b308d20f7d99891a2ab540d803180af8b2939092bd9fbd2475f4abe7c9
C++
3,450
89
//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...
9c7279d1891a95452ac85f4d31f8dd4e94c303a1bcdcc3a0d72fb66665ceef51
C++
3,468
98
///------------------------------------------------------------------------------------------------- /// /// \file CBoxAlgorithmTimeSignalGenerator.cpp /// \brief Classes implementation for the Box Time signal. /// \author Yann Renard (Inria). /// \version 1.1. /// \copyright Copyright (C) 2022 Inria /// /// This prog...
ec8fc72ceb819a37f88c19318779fd42922bea205e2145d0786589a199d6ecef
C++
3,487
202
#include "phylo.h" int main(int argc, char* argv[]) { ifstream is(argv[1]); double cutoff = atof(argv[2]); string alphabet; is >> alphabet; int Nstate = alphabet.size(); cerr << "nstate : " << Nstate << '\n'; double stat[Nstate]; double mat[Nstate][Nstate]; for (int i=0; i<Nstate; i++) { mat[i][i] = 0; ...
d96f4d79041e2d0f946c6c886b677c6886af1b847d095c11edb8e6e03b2bc64e
C++
3,495
169
/* -*- 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...
46d28b4234bed8f4dd50b844587d560431a81058707e23761b385272b7fd3f88
C++
3,498
142
/* -*- 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...
12b6c29c2ac4e5e3f559f43db2e09bf6fc3d6c034b4eb6aedb7d3b6558babca0
C++
3,514
77
//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...
231a18d088e1d6f744cf76660498a95de8f9416644198bced3becc8ed741c2cb
C++
3,521
101
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #include "report_event.hpp" #include "coreneuron/sim/mult...
eb3e789883d9ec16c1715c8b6c197e6df0f84b62d29b54094966c364c0dca62a
C++
3,524
127
#include "DBSnpFilter.h" #include "gzstream.h" #include "SvabaLogger.h" #include "BreakPoint.h" #include "SeqLib/BamHeader.h" #include "SeqLib/GenomicRegion.h" using SeqLib::BamHeader; using SeqLib::AddCommas; using SeqLib::GenomicRegion; using SeqLib::GRC; DBSnpSite::DBSnpSite(const std::string& tchr, const std::s...
32c331e46486e212328e3d29c9058eb896c90cd5c93e6ca5a4b188c5eb34db6b
C++
3,541
107
///------------------------------------------------------------------------------------------------- /// /// \file CRendererMultiLine.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 ...
121279a6dd36f3dbc7090a94344555c0cfbbb153db4dd5211feb86070f3db414
C++
3,542
119
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ /** * \file * \brief Provides interface function for Co...
b3c816ddf1bc3666060d789200a57b69fdd9d16bcf845c990bb60c88ffaf11f6
C++
3,558
100
///------------------------------------------------------------------------------------------------- /// /// \file CVisualizationWidget.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public Licens...
5c4a6f48d271563155fc68647f1941c5b3952f1d07310a814376a0121d0e4261
C++
3,564
122
///----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // StatsProcess - Compute statistics about the reads // #include "StatsProcess.h" #include "...
358f111213c2b3021a92e81ba79d8b2ce3751c25eb686d32f32f4d1c5dec330a
C++
3,576
124
/** * SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #include "parameterDoubleObject.h" namespace OpenViBE { namespace Parameters { ParameterDoubleObject::ParameterDoubleObject(const std::string& name, const std::string& description, double value) : ParameterObjec...
10ca6bfddc27a694237feff2dde5bf59b4a744f754d6b54ad59a31beb738b981
C++
3,577
109
#if defined(OS_WEB) #include <emscripten.h> #include <emscripten/html5.h> #include <GLFW/glfw3.h> #include <hex/api/events/requests_lifecycle.hpp> #include <hex/api/task_manager.hpp> #include <window.hpp> #include <init/run.hpp> namespace hex::init { void saveFsData() { ...
db4fbdd3d6d3f9a9e87ec5e5fe1eca9d04266bb6baefb27f779e68573969b849
C++
3,589
81
//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...
8f3fbed64f662cd9bb9dfb1ea1797a71297281017b37daab363a19328b3d8cbc
C++
3,597
175
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // ReadTable - A 0-indexed table of reads // #include <iostream> #include <algorithm> #includ...
4863e9e95531544ad15620d731ab263b8887fad6d81360440296ef7c2fe92f31
C++
3,598
98
#include <hex/test/tests.hpp> #include <hex/helpers/utils.hpp> #include <vector> using namespace std::literals::string_literals; namespace { std::vector<u8> bytesOf(std::string_view text) { return { text.begin(), text.end() }; } } TEST_SEQUENCE("ExtractBits") { TEST_ASSERT(hex::extract(11, 4,...
9fc4e3186420acd38cdf68e5e4fbc4f97510990e920614a77c4420ae046ae297
C++
3,606
91
///------------------------------------------------------------------------------------------------- /// /// \file CColorSettingView.cpp /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License a...
bf1394464f961d20a3bac8ffe345290ed5628498e8342eea60192f81da9d6726
C++
3,608
116
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #include "CTraceBuffer.h" #include <algorithm> #include <cmath> namespace OpenViBE { namespace Plugins { namespace SimpleVisualization { namespace { /** Never let a pathological header allocate an unbounded ring (2...
8e623710ab68b07d8be07c859a6354516aadf3b800d0808330400cd00efb0af9
C++
3,610
83
#include "content/views/view_tutorials.hpp" #include <hex/api/content_registry/user_interface.hpp> #include <hex/api/tutorial_manager.hpp> #include <hex/api/task_manager.hpp> #include <hex/api/events/requests_gui.hpp> #include <fonts/vscode_icons.hpp> #include <ranges> namespace hex::plugin::builtin { ViewTuto...
463d32638a8fd6afdc68b5fe2c47e6aa15b252a8e8b48554490c6a53cbac96da
C++
3,633
95
#include <hex/helpers/utils.hpp> #include <hex/helpers/fmt.hpp> #include <hex/api/localization_manager.hpp> #include <hex/ui/imgui_imhex_extensions.h> #include <charconv> namespace hex::plugin::builtin { static u32 digitsNeeded(u32 numDigits, u32 baseX, u32 baseY) { if (numDigits == 0) retur...