sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
d28cb8469d9cdff1a067fa16e0198bafa311caaf35465712e27d42f9e2b5365a | C++ | 26,447 | 813 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <cstdio>
#include <cstdlib>
#include <map>
#inc... |
7aa8c72d7c8243b8c2f30c71f195fee2ba2266d4917f22c237d375342f0d2e9a | C++ | 26,462 | 779 | /*
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... |
61d9d5600185fcfa0d094cbf9234baa70a4e7356254dc478cc5f82625af7903f | C++ | 26,536 | 645 | ///-------------------------------------------------------------------------------------------------
///
/// \file uoCSVWriterTest.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 ... |
e82bbb3f45c7e1635c04b28154b00ac909ac41469be3bfc008f615be35ef9caf | C++ | 26,693 | 519 | #include "ovasCConfigurationBrainProductsVAmp.h"
#include "ovasCHeaderBrainProductsVAmp.h"
#if defined TARGET_HAS_ThirdPartyUSBFirstAmpAPI
namespace OpenViBE {
namespace AcquisitionServer {
gboolean idle_check_service(gpointer data)
{
GtkBuilder* builder = static_cast<GtkBuilder*>(data);
SC_HANDLE scm =... |
c22102327520a4fca453add0d356d72afc9203d5436eae8afb0f4f159821ca92 | C++ | 26,836 | 706 | ///-------------------------------------------------------------------------------------------------
/// \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... |
db25f0383e8ddc80766cf0ef11534c35346e039edec8e53dfab3b853b57bc766 | C++ | 26,864 | 582 | ///-------------------------------------------------------------------------------------------------
///
/// \file ovasCDriverBrainProductsBrainampSeries.cpp
/// \brief Brain Products Brainamp Series driver for OpenViBE
/// \author Yann Renard
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free softwa... |
9f7bea3d8df1c4fe5fe34fde4fe87afa4bb27ae3886a0ff2357b5c21d3b2b529 | C++ | 26,891 | 1,010 |
/********************
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... |
b5b0b2cfc86a590db3fb5572160994fc6e3e8428b8a05899d14e96661a4f76b4 | C++ | 26,957 | 710 | #include "window.hpp"
#if defined(OS_WINDOWS)
#include "messaging.hpp"
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/theme_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/de... |
ceee039744261ba045ffa52a804fd9f4403741dd61df5dc1d5f756d564a9b2cf | C++ | 27,110 | 614 | #if defined(OS_WINDOWS) || defined(OS_MACOS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
#include <algorithm>
#include <content/providers/process_memory_provider.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#if defined(OS_WINDOWS)
#include <windows.h>
#include <winternl.h>
#include <psapi.h>
#i... |
4ffca43c193ce74c5d34e5f1ab3cdf3a64bbc663f2adba34255b1dd693d41afa | C++ | 27,198 | 1,030 | /*******************************************
*** adapted from crux/src/c/Peptide.cpp ***
*******************************************/
/*************************************************************************//**
* \file Peptide.cpp
* \brief Object for representing a single peptide.
******************************... |
96cc18b555b0e6c3220a5c3ba266cae75e7b421f005d11bcf0c3b6402ba80055 | C++ | 27,227 | 994 | /* -*- 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... |
b7e468b24a80e3ad802dd1e082ed84c81ff902b2f2ba51f3a5aa4f234e5ced2e | C++ | 27,367 | 540 | #include <iostream>
#include <hex/test/tests.hpp>
#include <hex/api/plugin_manager.hpp>
#include <content/views/view_patches.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/events/events_provider.hpp>
#include <hex/api/events/requests_interaction.hpp>
#include <hex/api/imhex_api/bookmarks.hpp>
#include <hex/... |
f459199be44172ff50633dcbd3c87608961322dd4c33fd173e1778821780f6e2 | C++ | 27,507 | 592 | #include <hex/api/events/events_provider.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/api/events/events_gui.hpp>
#include <hex/api/events/requests_lifecycle.hpp>
#include <hex/api/events/requests_interaction.hpp>
#include <hex/api/events/requests_gui... |
63f9c8f4c218e99af2ac46e08895854a8a6871d18eb9fce99f8ce2669dc06739 | C++ | 27,512 | 854 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// SGVisitors - Algorithms that visit
// each vertex in the graph and perform some
// operati... |
b4acbf945c07dc9a266ab7eb926be17f007c3f934e036210dfb1e8d05596f25b | C++ | 27,759 | 600 | #include <hex/api/content_registry/data_information.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/helpers/magic.hpp>
#include <hex/providers/provider.hpp>
#include <imgui.h>
#include <content/helpers/diagrams.hpp>
#include <fonts/vscode_icons.hpp>
#include <hex/api/task_manager.hpp>
#include <hex... |
e80776c8e70ed7b7eac7153a0762c3c526e3eecccbb6e316cb0893912e500e8d | C++ | 27,773 | 803 | /**
Optimizers for problems dealing with N dimensional versions of TV norm regularization.
One dimensional solvers are used as building blocks within a proximal stacking framework.
The proximal combiners are coded here. A function to compute the value of a multidimensional
TV regularizer is also provide... |
23bd8d8e433b97afc1622daa6ae069b3e709fa8c7464fb8739739158f588219d | C++ | 27,795 | 801 | #include "pmd.h"
#include "decimation.h"
#include "line_search.h"
#include "welch.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#include "proxtv.h"
#pragma GCC diagnostic pop
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
#include <mkl.h>
#pragma GC... |
ae76eb3216b45309ce4d625faaa28eb0a16b6f4f3f010fcaead766365d312b91 | C++ | 27,826 | 1,139 |
/********************
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... |
2b1e7071a724c106d9a89e9b7a5cef9a616a9d820a5ef1e6c0878e2f89e8d283 | C++ | 27,936 | 805 | /*******************************************************************************
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:... |
00195567d44ece30ccb0821b3e33413911d9e827470357c8af1e449d6d755a4c | C++ | 28,029 | 1,134 |
/********************
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... |
6b9f3149a87046b4bc654715a24e399fd4e1ee80f8c4e59c0449d0d4b310c04c | C++ | 28,100 | 526 | #include "ovtkCAlgorithmScenarioImporter.h"
#include <vector>
#include <map>
#include <iostream>
#include <algorithm>
namespace OpenViBE {
namespace Toolkit {
namespace {
typedef struct SScenarioInput
{
CIdentifier id = CIdentifier::undefined();
CIdentifier typeID = CIdentifier::undefined();
CString ... |
868de67d799382a4380b7c9c3c7570ae61bab18aacb588b57299ca64d3cecf97 | C++ | 28,332 | 783 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmLuaStimulator.cpp
/// \author Yann Renard (Inria).
/// \version 1.1.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// i... |
5734dc02c638618e713435df6ff6493d4a933a97506e8ff37fcf8ce267f32ba1 | C++ | 28,354 | 799 | // ***************************************************************************
// BamMultiReader_p.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 25 October 2011 (DB)
// ------... |
bfb9eef2088e7bbf3827270649682d81b978af8e7945590efacf68e8609441e7 | C++ | 28,669 | 719 | ///-------------------------------------------------------------------------------------------------
///
/// \file CDriverBrainProductsBase.cpp
/// \author Thomas Prampart (Inria)
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms ... |
b92f1a02d5ed91a4deedf54c424ee05575c17fc581957353d2d61b7ed4c29c16 | C++ | 28,673 | 719 | ///-------------------------------------------------------------------------------------------------
///
/// \file CDriverBrainProductsBase.cpp
/// \author Thomas Prampart (Inria)
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms ... |
3a80a6ac61a092e451d8fb82db6b175edc2119696e0fc0619cd0804646403398 | C++ | 29,057 | 744 | #include "ovkCConfigurationManager.h"
#include <openvibe/kernel/configuration/ovIConfigurationKeywordExpandCallback.h>
#include <fs/IEntryEnumerator.h>
#include <fs/Files.h>
#include <system/ovCTime.h>
#include <system/ovCMath.h>
#include <stack>
#include <string>
#include <fstream>
#include <string>
#include <algo... |
c289792c948d6e7c0566019f71f71063179f338f306d9b72a0e821a810b59de6 | C++ | 29,151 | 1,259 | //===--- RustDemangle.cpp ---------------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
4af0a7371ff98d3ed6512f4124c60c61d525c5509878c1d6ef1422798d0df8f9 | C++ | 29,166 | 639 | #include "content/views/view_diff.hpp"
#include <toasts/toast_notification.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/events/requests_gui.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/data_formatter.hpp>
#include <hex/helpers/fmt.hpp>
#include <he... |
927b7256979e7887690c9203c6c16e39af159f10b56698aadc34f9d6d46d0256 | C++ | 29,274 | 708 | #include "../ovp_defines.h"
#include "ovpCAlgorithmClassifierSVM.h"
#include <sstream>
#include <iostream>
#include <cstring>
#include <cmath>
#include <cfloat> // DBL_EPSILON
namespace OpenViBE {
namespace Plugins {
namespace Classification {
static const char* const TYPE_NODE_NAME = "SVM";
static const c... |
07b9c377d4a4826d11656adca42b9b97307652edec01e43f164f063a1a4a2cd6 | C++ | 29,375 | 545 | #if defined TARGET_HAS_ThirdPartyGUSBampCAPI_Linux
#include "ovasCConfigurationGTecGUSBampLinux.h"
namespace OpenViBE {
namespace AcquisitionServer {
/*_________________________________________________
Callbacks to specific widgets
_________________________________________________*/
void button_apply_bipolar_press... |
37b59abbda88a90bd1e9d42390a20a54b077052653cb2778aa10ec6f2b690db9 | C++ | 29,950 | 642 | #include <openvibe/ovExceptionHandler.h>
#include "ovkCScheduler.h"
#include "ovkCSimulatedBox.h"
#include "ovkCPlayer.h"
#include "../scenario/ovkCScenarioSettingKeywordParserCallback.h"
#include "ovkCBoxSettingModifierVisitor.h"
#include <fs/Files.h>
#include <string>
#include <cstdlib>
#include <set>
#if define... |
cb7a5b32becfa2c5f60d7e770a70dd04f91b35dc956b6241553d604234e110ae | C++ | 30,028 | 779 | #include "SvabaBamWalker.h"
#include "SvabaRead.h"
#include "SvabaSharedConfig.h"
#include "SvabaOptions.h"
#include "SvabaLogger.h"
#include "SvabaThreadUnit.h"
#include "SvabaDebug.h"
#include <string_view>
#define QNAME "LH00306:129:227V5CLT4:6:1268:41599:27601"
#define QFLAG 147
using SeqLib::AddCommas;
using Seq... |
6f76f936de30552aa08f0e7036df539189c9a5be169ffea4597f1fc77547dde5 | C++ | 30,187 | 838 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
#include <iostream>
#include <ctime> // std::ctime
#include <algorithm> // std::replace, std::max
#include <iomanip> //std::setw, setfill
#include <fs/Files.h>
#include "Workspace.h"
#include "StreamBundleImportExport.h"
#include "StimulationStreamFilter.h... |
c145118cf4808d6047bd469245f93ed0be6be369f9e2e385aa506bb6755be95d | C++ | 30,202 | 908 | /*****************************************************************************
* lumpy.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 Gen... |
09340f0cc0d1ad213ce1046a32a45cc0e8780297a0fc205bbd9ad5a7b80bef71 | C++ | 30,524 | 705 | #if defined TARGET_HAS_ThirdPartyUSBFirstAmpAPI
#include "ovasCDriverBrainProductsVAmp.h"
#include "ovasCConfigurationBrainProductsVAmp.h"
#include "ovasCHeaderBrainProductsVAmp.h"
#include <system/ovCTime.h>
#include <windows.h>
#include <FirstAmp.h>
#include <cstdlib>
#include <cstring>
#include <iostream>
#inclu... |
61b134a7388fbd85ffc6f23ee51a3e8d01695e4ce090d75e248cb24090dde3a4 | C++ | 30,524 | 813 | #include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/unicode.hpp>
#include <hex/helpers/default_paths.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <mutex>
#include <ranges>
#include <set>
#include <wolv/io/file.hp... |
e044738b2016868efec86cc51aad430287ed004d26497f999a6476229617a5e4 | C++ | 30,528 | 705 | #if defined TARGET_HAS_ThirdPartyUSBFirstAmpAPI
#include "ovasCDriverBrainProductsVAmp.h"
#include "ovasCConfigurationBrainProductsVAmp.h"
#include "ovasCHeaderBrainProductsVAmp.h"
#include <system/ovCTime.h>
#include <windows.h>
#include <FirstAmp.h>
#include <cstdlib>
#include <cstring>
#include <iostream>
#inclu... |
db6d13a0e69152c1b107a1dc48ed46db9f373acb0fa79654822f7a39a8eae88d | C++ | 30,641 | 1,014 |
/********************
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... |
40a9cef94a4c51bc7dd43679023925ea6f3fe4aed959530afe7c6e95c146afb9 | C++ | 30,743 | 307 | //--------------------------------------------------
// ImPlot3D v0.3 WIP
// implot3d_meshes.cpp
// Date: 2024-12-07
// Author: Breno Cunha Queiroz (brenocq.com)
//
// Acknowledgments:
// ImPlot3D is heavily inspired by ImPlot
// (https://github.com/epezent/implot) by Evan Pezent,
// and follows a similar code style... |
3c1856d809ec6474050ba18c2a584268929272ee49b2cc725a3e1336a13f5f9c | C++ | 30,923 | 1,352 |
/********************
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... |
bec5ec9f5529a8af24a26bb885ffe5f008eaa97975612bbb6f19399e08ca9113 | C++ | 31,028 | 883 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <iostream>
#include <sstream>
#include <cassert>... |
e625dc0e22d8efed1e95abe7cd0a4c74335c6ba6d67e0f14662e520f620ec69c | C++ | 31,066 | 881 | #include "benchmark.h"
#include <getopt.h>
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include "vcf.h"
#include "Fractions.h"
#include "SeqLib/BWAWrapper.h"
#include "SeqLib/SeqLibCommon.h"
#include "SeqLib/GenomicRegion.h"
#inclu... |
d4cd70e14b12e76b5c7f369198102568bbc458484e80d133a3e43d449f93a8b8 | C++ | 31,389 | 748 | #if defined(TARGET_HAS_ThirdPartyMicromed)
#include "ovasCDriverMicromedSystemPlusEvolution.h"
#include "../ovasCConfigurationNetworkBuilder.h"
#if defined TARGET_OS_Windows
#define MicromedDLL "dllMicromed.dll"
#include <system/ovCTime.h>
#include <iostream>
#include <sstream>
#include <cstring>
#include <cstdlib... |
01dec6cb0bb93b203de7f350aafba8eaa1558de2cd31fae127f31503b8f6fb17 | C++ | 31,591 | 652 | #include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/tutorial_manager.hpp>
#include <hex/api/events/events_provider.hpp>
#include ... |
acee06e9e79f8b1e9a100abf7d57afe6d562abc88644ac4d4daaf1e9abc88547 | C++ | 31,975 | 720 | #include <hex/api/content_registry/settings.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/scaling.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::builtin {
// Tool for converting between different number formats.
... |
91259b91a856df8a364362659a2c10545c6fb36ae4d77cd1e7bed5af9451784e | C++ | 32,241 | 710 | #include "content/views/view_bookmarks.hpp"
#include <hex/api/content_registry/reports.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/events/requests_interaction.h... |
e39fc989305b05fd90566b968c0a7551c3bf55e701f3133bf96614e904908d8f | C++ | 32,915 | 782 | #include <hex/api/content_registry/hashes.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <hex/providers/concatenated_provider.hpp>
#include <hex/providers/memory_provider.hpp>
#include <hex/ui/img... |
9d92d0f01553f07c95e344ec29199097ac1f102c4595ecc9afd6dac2cfe7c86e | C++ | 32,922 | 919 | // ***************************************************************************
// bamtools_convert.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 December 2012
// ----------... |
75ebfbf2962609c829ce3cad354a80691ae242ab5604be7ec819ad987b958574 | C++ | 33,108 | 895 | ///-------------------------------------------------------------------------------------------------
///
/// \file CVisualizationTree.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 ... |
3343e4478081daf20e5ed3a7219a5bd7fd4ed68b3ebdbd80c662f2cd6d582811 | C++ | 33,176 | 767 | #include "ovpCGDFFileReader.h"
// @fixme memory leaks on errors
#include <iostream>
#include <cstdlib>
#include <cstring>
namespace OpenViBE {
namespace Plugins {
namespace FileIO {
// template<> double FileIO::CGDFFileReader::GDFTypeToFloat64<float>(float val, uint32_t channel) { std::cout << "specialized 1\n"; re... |
1ba26feeb4dc3ba5c6e2e5669ca852b1634021644c5b36fbc95d8554e6527c04 | C++ | 33,334 | 747 | ///-------------------------------------------------------------------------------------------------
///
/// \file CPlayerVisualization.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... |
fcb6d55e2a261d0de2c90a406a6ed7affaa5fbe8c6ddb397ab55627517abdc2e | C++ | 34,243 | 523 | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::R... |
79844159c9f21f38c2251ddd42fc9567d28bae6294753e29d0e9d7afd71cf5d3 | C++ | 34,429 | 1,102 | #include <hex/helpers/utils.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <GLFW/glfw3.h>
#include <hex/api/event... |
a8f63739a3db33fb8b72aeed24f95f2485003995a0be85a513f9e71c49bb58c3 | C++ | 34,538 | 1,022 | /* -*- 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... |
ee2539a9237524589c2b5098d8ac36c2dae5d98d59f1459e5f3c10fa3230de39 | C++ | 34,757 | 1,025 | /**
Optimizers for problems dealing with 2 dimensional versions of TV norm regularization.
One dimensional solvers are used as building blocks within a proximal stacking framework.
The proximal combiners are coded here.
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
#include <stdio.h>
#in... |
a8bdf9e2d6667b45d7db5d13e89e7c9eefb10ed1f8861b6259b08b48f58b11f6 | C++ | 34,897 | 1,589 |
#include "Tree.h"
#include "SequenceAlignment.h"
#include "CodonSequenceAlignment.h"
#include "ProteinSequenceAlignment.h"
#include "Random.h"
#include <map>
#include <iostream>
#include <sstream>
#include "StringStreamUtils.h"
#include "Parallel.h"
class Simulator : public NewickTree {
public:
Simulator(string... |
c259f24a85778cfeb351cea774fa9f59516a784a50534ea23eaf89ff2aa78b29 | C++ | 35,008 | 851 | #include <ui/text_editor.hpp>
#include <pl/core/tokens.hpp>
#include <pl/core/token.hpp>
#include <wolv/utils/string.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/file_attached_data.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <pl/core/lexer.hpp>
#include <pl/core/preprocessor.h... |
d005aee8ed5fccc2f0e57c71b442ff8cb64f5b47dec3f90755faade2e4c4129a | C++ | 35,156 | 756 | #include "content/views/view_about.hpp"
#include "hex/ui/popup.hpp"
#include <hex/api/achievement_manager.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helper... |
f811dc5e6e7ec6ac07e0477615db1113be0ed23dbd93dfb048febf440d367d6b | C++ | 35,354 | 1,059 | /**
Optimizers for problems dealing with Lp norm regularization or Lp ball constraints.
@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 "LPopt.h"
/*** Internal functions he... |
312a3384432aa71585b58b1a6ce482bc261a013b2758ec6010e295af7f1427a3 | C++ | 35,511 | 781 | #include "internal.hpp"
#include <content/project.hpp>
#include <algorithm>
#include <array>
#include <atomic>
#include <chrono>
#include <cctype>
#include <limits>
#include <hex/api/content_registry/provider.hpp>
#include <hex/api/events/events_provider.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/a... |
d563aca2d74f72b41cbc3136eee29e67b696b9b31a1c7e4a9f9b810bed035821 | C++ | 35,686 | 687 | #include <content/views/view_disassembler.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/fmt.hpp>
#include... |
3b7edf7496ee9a799b4eb0f976f490aec9125d5009b3690964f0d12cfa6cb267 | C++ | 35,724 | 1,202 |
/********************
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... |
e6e78545d18b2efc6c2c24d749aae135fa9340007b490584db375171343a8657 | C++ | 35,793 | 808 | #include "content/views/view_data_inspector.hpp"
#include <algorithm>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <hex/api/events/events_interaction.... |
57961d2d0993a096467c589999fe7a7dda971d593ef4ca6b5c9010397e1aac20 | C++ | 35,891 | 892 | /*!
* Copyright (c) 2016-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#include "gbdt.h"
#include <LightGBM/metric.h>
#include <LightGBM/netw... |
6b0b4c0bc075525b2c5468987532d29fce88cc7ebab2b4ba87ea293c3f0757b7 | C++ | 35,924 | 715 | #include <hex/api/imhex_api/provider.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/data_formatter.hpp>
#include <hex/api/content_registry/reports.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/provider.hpp>
#include <hex/api/content... |
00019303e748591b20bd8242567fb126f8c2270cf1c88f31f85460fea44f90ab | C++ | 35,972 | 965 | // ***************************************************************************
// BamStandardIndex.cpp (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 25 May 2012 (DB)
// -------------------------... |
b739c9178759608cca36581fc389793212d8951ac606b5778ca2e5463b9a9fdb | C++ | 36,084 | 683 | ///-------------------------------------------------------------------------------------------------
///
/// \file CBoxAlgorithmP300SpellerVisualization.cpp
/// \brief Classes implementation for the Box P300 Speller Visualization.
/// \author Yann Renard (INRIA).
/// \version 1.0.
/// \copyright Copyright (C) 2022 Inr... |
f9da9f27fcf8863f098bebdec0faca97169d12722e23ce81671ca30d61f22d33 | C++ | 36,153 | 779 | // dear imgui: FreeType font builder (used as a replacement for the stb_truetype builder)
// (code)
// Get the latest version at https://github.com/ocornut/imgui/tree/master/misc/freetype
// Original code by @vuhdo (Aleksei Skriabin) in 2017, with improvements by @mikesart.
// Maintained since 2019 by @ocornut.
// CH... |
6465c7f7184dc9e5f99b6d9eec9259d48516f02dae1b2dc4dff28b54f6279504 | C++ | 36,476 | 944 | /****
DIAMOND protein sequence aligner
Copyright (C) 2012-2026 Benjamin J. Buchfink, Klaus Reuter
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) ... |
10760a7c9a1d85dc0806b6f851cd9fce2fa763e393ef854cf6fa106976c486de | C++ | 36,536 | 805 | ///-------------------------------------------------------------------------------------------------
///
/// \file CSettingCollectionHelper.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 Li... |
332f751f728ac0add0aae9c3f4ec1f7a80a63eab277a47e902d57e48339ed801 | C++ | 36,829 | 733 | #include <iomanip>
#if defined TARGET_HAS_ThirdPartyMatlab
#include "ovpCBoxAlgorithmMatlabScripting.h"
#include <system/ovCMath.h>
#include <iostream>
#include <stdio.h>
#include <sstream>
#include <string>
#include <ctime>
#include <algorithm>
#include <mex.h>
#include <engine.h>
#include <fs/Files.h>
#if defin... |
b17b5826a36f4ddc41271ee2aad54d3d0da8ae2beafcbbcdc1508a93928ae97d | C++ | 37,339 | 1,264 |
/********************
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... |
a0e54e06ff73f96456d237dadf81fde2f89414bb5e65b261490499eb71ba4918 | C++ | 37,573 | 845 | ///-------------------------------------------------------------------------------------------------
/// \copyright Copyright (C) 2014, Mensia Technologies SA. All rights reserved.
/// Rights transferred to Inria, contract signed 21.11.2014
///----------------------------------------------------------------------------... |
1e1cc9128950358955814c28e1b75865b5cef72dd0ad86033be522ec0a9a3c94 | C++ | 37,983 | 1,143 | //-----------------------------------------------
// Copyright 2011 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// LRAlignment - Collection of algorithms for performing
// long read matches against an FM-i... |
acd73ab363533210f9866832dd254059330f4120ca79596ac22c7a8838f2d987 | C++ | 38,087 | 437 | #include <hex/api/theme_manager.hpp>
#include <hex/api/events/requests_lifecycle.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/helpers/default_paths.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <implot.h>
#include <imnodes.h>
#include <ui/text_editor.hpp>
#include <romfs/romfs.hpp>
#i... |
007752549e0358aebb9172c4a79de33417fb5f96f4e36127e903912dcc9de182 | C++ | 38,329 | 909 | // dear imgui test engine
// (ui)
// If you run tests in an interactive or visible application, you may want to call ImGuiTestEngine_ShowTestEngineWindows()
// 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 defin... |
9a39c55d1abd5605c918cbd7eb53b90120dea28f7abf520224ca1991b77aad7a | C++ | 39,722 | 928 | /*
* OpenBCI driver for OpenViBE
*
* \author Jeremy Frey
* \author Yann Renard
*
*/
#include "ovasCDriverOpenBCI.h"
#include "ovasCConfigurationOpenBCI.h"
#include <toolkit/ovtk_all.h>
#include <system/ovCTime.h>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <sstream>
#... |
45e685020b14157c46b8a337c3d8b46b08c1bfa9cbea0bc987f87ae6ec2fa1fa | C++ | 39,812 | 901 | #include <algorithm>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/project_manager.hpp>
#include <hex/api/events/events_gu... |
71c37d752f67a043def1e000ce8604262f2ffd05b6b352f61a6fd01a3b6493ac | C++ | 39,977 | 1,043 | #include "imgui.h"
#include <ui/text_editor.hpp>
#include <algorithm>
namespace hex::ui {
using Coordinates = TextEditor::Coordinates;
using Range = TextEditor::Range;
using Line = TextEditor::Line;
using Lines = TextEditor::Lines;
using MatchedDelimiter ... |
72abd8c5262a6f5f037d90877b4a2f2ba69ce9317ba9a966d3a8bb92baae32b1 | C++ | 40,296 | 982 | #include "ply.hpp"
#include "image_format_png.hpp"
#include "bitmap/bitmap.hpp"
#include "bitmap/binary_write.hpp"
#include <fmt/color.h>
#include <argparse/argparse.hpp>
#include <algorithm>
#include <numeric>
#include <span>
#include <tuple>
namespace ply2image{
using namespace std::literals;
inline ... |
e7a9366e8841599b35ecf0472eee6b4333e12bf361d155cf6daf442818731c40 | C++ | 40,456 | 1,049 | #include <ui/text_editor.hpp>
#include <ui/line_comment.hpp>
#include <algorithm>
#include <ranges>
#include <string>
#include <regex>
#include <cmath>
#include <utility>
#include <wolv/utils/string.hpp>
#ifndef IMHEX_TESTS
#include <popups/popup_question.hpp>
#endif
#include <hex/helpers/formatting.hpp>
#define IMGUI_... |
5618b274e090abfd98d2e6f98c19ec5e2b63e5ef120045d87e7324a57819ad35 | C++ | 41,079 | 781 | ///-------------------------------------------------------------------------------------------------
///
/// \file main.cpp
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affero General Public License as published
/... |
5e71eb317a0aa1ecac9de427fd60dbf38e95ee97ea106b5f68e3520ff0c1f796 | C++ | 41,218 | 900 | #include <algorithm>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/content_registry/data_inspector.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/providers/provider_data.hpp>
#include... |
bb0ccda815a20895d5e74134ada22066d51489c93aaf4a997788e181d03a89eb | C++ | 41,614 | 933 | // ***************************************************************************
// bamtools_filter.cpp (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 10 December 2012
// -----------... |
36a55d63e55dbff52878d3d9f068dc3abcc87797360fd87c59e42ec0fcb72124 | C++ | 41,942 | 798 | #include "internal.hpp"
#include <algorithm>
#include <cctype>
#include <hex/api/content_registry/file_type_handler.hpp>
#include <hex/api/content_registry/provider.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/project_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/events/reques... |
e62f315c175ce54005104cb50c49ac31e85862c9918af64262d35c2261edf0b8 | C++ | 42,279 | 1,085 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "OVDesigner.h"
#include <functional>
#include <memory>
#include <QtCore>
#include <QGuiApplication>
#include <QQmlContext>
#include <QQmlEngine>
#ifdef TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefine... |
afed02ba8e7a98762f47450ff358f0b41c88ff1ec60656e7a510583b30c22aad | C++ | 42,282 | 968 | #include <hex/ui/imgui_imhex_extensions.h>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/scaling.hpp>
#include <hex/helpers/auto_reset.hpp>
#include <content/visualizer_helpers.hpp>
#include <fonts/vscode_icons.hpp>
#include <fonts/blender_icons.hpp>
#inclu... |
1f19392b91f51e8cdc37251bf4c38e0798855370d30c736d1d12df572777fa06 | C++ | 42,345 | 936 | #include "ovasCAcquisitionServer.h"
#include "ovasIAcquisitionServerPlugin.h"
#include <toolkit/ovtk_all.h>
#include <ovp_global_defines.h>
#include <system/ovCTime.h>
#include <fstream>
#include <sstream>
#include <string>
#include <functional>
#include <cctype>
#include <cmath> // std::isnan, std::isfinite
#incl... |
e527e30624ab3e3531794e1052afd04139b83619122f1b70f2481fdc4d9a5bd1 | C++ | 43,055 | 959 | #include "ovasCAcquisitionServer.h"
#include "ovasIAcquisitionServerPlugin.h"
#include "ovasCHeader.h"
#include <toolkit/ovtk_all.h>
#include <ovp_global_defines.h>
#include <system/ovCTime.h>
#include <fstream>
#include <sstream>
#include <string>
#include <functional>
#include <cctype>
#include <cmath> // std::is... |
1f60a762ad6f8375794360d29795b850dc5ab5a7f8683838dbf64f173394ea98 | C++ | 43,248 | 1,468 | /* -*- 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... |
2a28f76b07994c0716db4881c56d0fa744e6caea7a5ae1bfaeb90082de1d5681 | C++ | 43,258 | 867 | #include "ovasCAcquisitionServerGUI.h"
#include "ovasCAcquisitionServerThread.h"
#include "ovasCAcquisitionServer.h"
#include "ovasIAcquisitionServerPlugin.h"
// Drivers
#ifdef TARGET_HAS_OpenViBEContributions
#include "contribAcquisitionServer.inl"
#endif
#include "ovasCPluginLSLOutput.h"
#include "ovasCPluginFiddle... |
f1cef686c41ebea99a18e92f37e18a98699aebf914185946cbf8bed46d133b3b | C++ | 44,002 | 1,247 |
// Compile with: g++ -O3 -std=c++11 -fopenmp -I.. KNM_2D_beta.cpp -o KNM_2D_beta -L.. -lmfem -lrt
#include "mfem.hpp"
#include <omp.h>
#include <fstream>
#include <iostream>
#include "PBM.h"
#include <chrono>
using namespace std;
using namespace mfem;
SparseMatrix construct_Mi_matrix(int num_cells_x, int num_cells... |
22f852638c1bd5bb0596a1964d665407dcb31ffc3f3d3b3330aa1191f83cf09c | C++ | 44,070 | 1,303 | #include <hex/api/imhex_api/bookmarks.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/imhex_api/fonts.hpp>
#include <hex/api/imhex_api/messaging.hpp>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/events/events_provider.hpp>
#include <hex/api/even... |
ff382afce9cbe736a2d92c8e4fec1af049952054ff30ac6c451be2d1a6257331 | C++ | 44,085 | 1,106 | /*!
* Copyright (c) 2016-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#include <LightGBM/tree.h>
#include <LightGBM/dataset.h>
#include <Lig... |
5636b2fb2735eb088a1abe100d6040b60bd335f3bd0956a31cbe65d191fe6b16 | C++ | 44,556 | 1,193 | /*******************************************************************************
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:... |
0d57860ae9cab9c2534bfc50895759dec4345b0685cb6fa2968ba6f66e5fa6a2 | C++ | 44,622 | 1,267 |
// Compile with: g++ -O3 -std=c++11 -fopenmp -I.. KNM_2D_hiPSC.cpp -o KNM_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;
SparseMatrix construct_Mi_matrix(int num_cells_x, i... |
4877339b8a9257e1cf8daba4eb95ce72bbd61ada03355fc20ee19b8902bf93f2 | C++ | 44,772 | 924 | #include <hex/api/content_registry/disassemblers.hpp>
#include <content/helpers/capstone.hpp>
#include <hex/helpers/fmt.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::disasm {
namespace {
template<typename T>
std::optional<u64> getLastImmediateOperand(... |
6b023bc536dffbb2a887a39b25fcd35399e0afe6d95e56c9de49cb8a524c8a7b | C++ | 45,145 | 865 | #include <algorithm>
#include <hex.hpp>
#include <hex/api/http/api_urls.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/content_registry/provider.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/views.hpp>
... |
4d410cc82b9965720bed7742943d4cfcb752f35645dc178ac906cc23dc949ffe | C++ | 45,358 | 1,255 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#include <algorithm>
#include <vector>
#include <map>
#i... |
81316256466ad4c227e07c9fe4fe8213ab6d44cb5aa127a879e69d4a43be41e8 | C++ | 45,676 | 1,228 | ///-------------------------------------------------------------------------------------------------
///
/// \file ovasCDriverShimmerGSR.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.