sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
7a6bde4887300a7b452a9f03f030ef697e9811dc5336352e8bc5bf52360ec8b2 | C++ | 45,704 | 1,232 | ///-------------------------------------------------------------------------------------------------
///
/// \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... |
277791f25acc6b1f15c06376b3790a9eb7f6f78e885e9f0607728d5d5cbe095c | C++ | 46,331 | 1,120 | // dear imgui test engine
// (screen/video capture tool)
// This is usable as a standalone applet or controlled by the test engine.
// 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.
// Two mode of operation:
// - Int... |
870ab7d1f1788ee01105556baa012cde2775ecfb75bd63201c772586aa1ecdb4 | C++ | 46,429 | 969 | #if defined(TARGET_HAS_ThirdPartyGNEEDaccessAPI)
#include "ovasCConfigurationgNautilusInterface.h"
namespace OpenViBE {
namespace AcquisitionServer {
/*_________________________________________________
Insert callback to specific widget here
Example with a button that launch a calibration of the device:
*/
//Callb... |
09cd47724ac03d1f67b07333a9db77b9ab8af433bab0592752595f49f0c609bd | C++ | 48,093 | 953 | /****
DIAMOND protein sequence aligner
Copyright (C) 2012-2026 Benjamin J. Buchfink
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later vers... |
6f5fc83756066acbb662c376e770a6d121517d375247a04ae8d3fb424f3ff174 | C++ | 48,208 | 1,452 | /**
Optimizers for problems dealing with general TV-Lp norm regularization.
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <wchar.h>
#include <time.h>
#include "TVopt.h"
#i... |
08658bab538a8b717d8adc3412759ccbaf658faa833e8176826a6b3016c699a1 | C++ | 49,116 | 1,190 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
#include "OverlapAlgorithm.h"
#include "ASQG.h"
#include <math.h>
// Collect the complete set o... |
0e4e9e4001ea808895359e536738d21aecac0b3554c9394faea6d1f1fdca179f | C++ | 50,089 | 1,225 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
// This has been modified (slightly) for svaba
#include "SvabaOverlapAlgorithm.h"
#include "ASQ... |
f35f03f848a58bb451a59cf5eee68d2e69e5347e24f8c8caca68b0f1c006afb4 | C++ | 50,439 | 1,303 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include "coreneuron/io/phase2.hpp"
#include "coreneuron/... |
6e22ed1a1f491efecae67bd835e71841138946c6a8673e048c5a56d90859dbe3 | C++ | 51,382 | 1,396 | // ***************************************************************************
// bamtools_resolve.cpp (c) 2011
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 14 October 2011
// ----------------------------------------... |
a88e333452d4f37fe46009ff59fbf0bded940aa35048720e996e3489603e1845 | C++ | 51,444 | 1,308 | //--------------------------------------------------
// ImPlot3D v0.3 WIP
// implot3d_demo.cpp
// Date: 2024-11-17
// 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 a... |
545e1db1102f69af96c4488f3c879a8e9b3c90a1bad591349c2b69f0ab4cd990 | C++ | 51,889 | 1,212 | // vcf.cpp
//
// Read svaba breakpoints back from `bps.txt.gz`, deduplicate them, and emit
// VCFs. See vcf.h for the external API. Only ~three things change vs the
// pre-overhaul vcf.cpp:
//
// 1. BreakPoint is non-copyable/non-movable, so everything flows through
// std::shared_ptr<BreakPoint>.
// 2. BreakP... |
800f2f7a84f914c7d29a8c4c37867353b8f438eceede201e5649119b3bd67a15 | C++ | 51,918 | 1,278 | #include <queue>
#include <utility>
#include "coreneuron/nrnoc/multicore.h"
#include "coreneuron/nrniv/netcon.h"
#include "coreneuron/nrniv/nrn_acc_manager.h"
#include "coreneuron/nrniv/nrniv_decl.h"
#include "coreneuron/nrniv/vrecitem.h"
#include "coreneuron/nrniv/profiler_interface.h"
#include "coreneuron/nrniv/cell... |
c46503f9c082204c3430eb630bb28460752b076e2bde09efc2be67982d165252 | C++ | 52,217 | 1,390 | // dear imgui test engine
// (helpers/utilities. do NOT use this as a general purpose library)
// 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_SECURE_NO_WARNINGS)
#define _CRT... |
2152ec50319b5955248710972fb9d076c14e0357d863f3e7403f5efa6a95a3eb | C++ | 53,206 | 1,052 | #include "content/popups/hex_editor/popup_hex_editor_paste_from_source.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/api/imhex_api/provider.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/literals.hpp>
#i... |
0ed5657b95d95302b804687922357755994fafc29f151894a768c6d77a1c07d5 | C++ | 54,873 | 1,531 | /*!
* Copyright (c) 2017-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#include "lightgbm_R.h"
#include <LightGBM/utils/common.h>
#include <... |
d7a38428b5f3e88be39deed80b1705b6b930f82d817312d855e3b70ba123051c | C++ | 55,309 | 1,529 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include <cstring>
#include <visualization-toolkit/ovviz_all.h>
#include "DesignerScenario.h"
#include "PlayerBridge.h"
#include "ParameterHelper.h"
#include "ScenarioClipboard.h"
#include "ScenarioHistory.h"
#... |
010f20aa066856f789140b4888e4b8b1f6db10522bd88a7c870ec72461e052eb | C++ | 55,770 | 1,071 | #include <hex/api/content_registry/experiments.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/imhex_api/system.hpp>
#include <hex/api/events/events_lifecycle.hpp>
#include <hex/api/events/event... |
1e8978807805d8bf0adfe6e01e392237d83744b87ffb50ed7abed5291184261e | C++ | 55,813 | 1,548 | #include <ui/text_editor.hpp>
#include <hex/helpers/logger.hpp>
#include <wolv/utils/string.hpp>
#include <pl/api.hpp>
#include <pl/core/preprocessor.hpp>
#include <hex/helpers/file_attached_data.hpp>
#include <algorithm>
namespace hex::ui {
using Interval = TextEditor::Interval;
using Coordinates ... |
9790e3b6afba6d3d870c59c92956a2aac5f7a08692d53fdbdf2ca7dbe6d2d8c5 | C++ | 56,055 | 1,353 | #include "content/views/view_data_processor.hpp"
#include <algorithm>
#include <toasts/toast_notification.hpp>
#include <hex/api/content_registry/data_processor.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/file_type_handler.hpp>
#include <hex/api/achievement_manager.hp... |
beb1def1b7131e065d14434b45ae86efc22724f69fe977a63cc6e5bbe73e7caf | C++ | 58,683 | 1,160 | // dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline
// - Desktop GL: 2.x 3.x 4.x
// - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0)
// This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: User texture b... |
121bd7bb8956b9e90eba9f2087f2754265c610779ccca0dcb33ed80fa2a4b21a | C++ | 59,296 | 1,635 | ///-------------------------------------------------------------------------------------------------
///
/// \file ovCCSV.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... |
2a75ea20dfcf9008d84a6021f632dff10b78e987ee56db364d513eceb09ea787 | C++ | 59,664 | 1,449 | #include "window.hpp"
#include "hex/api/theme_manager.hpp"
#include <hex.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/content_registry/views.hpp>
#include <hex/api/imhex_api/fonts.hpp>
#include <hex/api/layout_manager.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/workspace_manager.hp... |
ece0cd81ba55a8d707d125f44dfbf978f9c78fa37859edf7a25b4437754c8262 | C++ | 60,770 | 1,526 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <queue>
#include <utility>
#include "coreneuron... |
bc1b23d2f5a595a4bd65a572b68265c2a5a41638244f5e69813078b99fda3dd8 | C++ | 60,853 | 1,323 | #include "content/views/view_find.hpp"
#include <algorithm>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/imhex_api/hex_editor.hpp>
#include <hex/api/events/events_interaction.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/trace/stacktrace.hpp>
#include <hex/providers/buffere... |
765235baa2cda9a9edd796b7b3c368d94919b498d0e66871f36d2c69a590e37b | C++ | 61,397 | 1,608 | //----------------------------------------------------------------------
// File: ann_test.cpp
// Programmer: Sunil Arya and David Mount
// Description: test program for ANN (approximate nearest neighbors)
// Last modified: 05/03/05 (Version 1.1)
//-------------------------------------------------------------------... |
78049c07c88020ea78967199b2d361db2c7276cc8c2232adcc8daa6fd4b21d82 | C++ | 62,640 | 1,503 | #if !(defined(WIN32) && defined(TARGET_BUILDTYPE_Debug))
#include "CPolyBox.hpp"
#include <fstream>
#include <iostream>
namespace OpenViBE {
namespace Plugins {
namespace PyBox {
#define DICTIONNARY_REFERENCE(obj, ref, error)\
obj = PyDict_GetItemString(m_mainDictionnary, ref);\
if (obj == nullptr) { this-... |
dec529d3757a566eb521cfb0b4e3fd6587a0ec08b545e85304ae89b152255917 | C++ | 62,846 | 1,595 | #include <algorithm>
#include <ui/pattern_drawer.hpp>
#include <hex/helpers/logger.hpp>
#include <pl/core/lexer.hpp>
#include <pl/patterns/pattern_array_dynamic.hpp>
#include <pl/patterns/pattern_array_static.hpp>
#include <pl/patterns/pattern_bitfield.hpp>
#include <pl/patterns/pattern_boolean.hpp>
#include <pl/pat... |
ff284b13d84fa86cc28a4b7120ffc3c9dfa270fa823db0e69017d2c4c3347d63 | C++ | 64,134 | 1,659 | #include <hex/api/content_registry/background_services.hpp>
#include <hex/api/content_registry/command_palette.hpp>
#include <hex/api/content_registry/communication_interface.hpp>
#include <hex/api/content_registry/data_formatter.hpp>
#include <hex/api/content_registry/data_information.hpp>
#include <hex/api/content_re... |
f2098e871f9347c97c91a2092b7088082e3741b960098e4c32706c191572a257 | C++ | 65,883 | 1,349 | #include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/data_formatter.hpp>
#include <hex/api/content_registry/pattern_language.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/... |
76db871733486369332ccb89309c7d117fd04f01a8f6d5b2ef246cbcd9300cc2 | C++ | 66,517 | 1,603 | #include <fstream>
#include <iostream>
#include "ovpCBoxAlgorithmPython3.h"
namespace OpenViBE {
namespace Plugins {
namespace Python {
//****************************
//***** Static Functions *****
//****************************
///-------------------------------------------------------------------------------------... |
4cd5b01ee3d0583624bc5a034a5137ea86588f9c5c836b5511ad501b9188e6d4 | C++ | 66,918 | 2,249 | /*****************************************************************************
* SV_BreakPoint.cpp
* (c) 2012 - Ryan M. Layer
* Hall Laboratory
* Quinlan Laboratory
* Department of Computer Science
* Department of Biochemistry and Molecular Genetics
* Department of Public Health Sciences and Center for Public He... |
5c8c21d447e8b021493f963f87a0eefecb690bb000f3c6052651d2776474da9e | C++ | 68,475 | 1,684 | #include <hex/ui/imgui_imhex_extensions.h>
#include <imgui.h>
#include <imgui_internal.h>
#include <implot.h>
#include <implot_internal.h>
#include <cimgui.h>
#include <opengl_support.h>
#undef IMGUI_DEFINE_MATH_OPERATORS
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <lunasvg.h>
#include <set>
#... |
5337d5656749be7dc559c595c8dd9cecc65bb65ed08d33639d80986768a5b50d | C++ | 68,593 | 1,667 | #if defined(WIN32) && defined(TARGET_BUILDTYPE_Debug)
// Windows debug build doesn't typically link as most people don't have the python debug library.
#else
#if defined TARGET_HAS_ThirdPartyPython2
#include "ovpCBoxAlgorithmPython2.h"
#if defined(PY_MAJOR_VERSION) && (PY_MAJOR_VERSION == 2)
#define UN_CONST(c) con... |
308c321df2a1a09e39a0278fa1380239e2dfb1395bdb82c664d943a2e6fb932f | C++ | 69,673 | 1,486 | //--------------------------------------------------
// ImPlot3D v0.3 WIP
// implot3d_items.cpp
// Date: 2024-11-26
// 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 ... |
b3faca82ca123ebd6363aa57fb29bbb707752c1e0668ed0911e75fbde01c24b1 | C++ | 69,817 | 1,587 | /*!
* 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/dataset_loader.h>
#include <LightGBM/network.h>
#in... |
fed0ea197853cbee046f0c88a2d1990398881bb1ad8ed61fa5d6fdfff0c9c872 | C++ | 70,390 | 1,743 | #include "ovkCScenario.h"
#include "ovkCScenarioSettingKeywordParserCallback.h"
#include "ovkTBox.hpp"
#include "ovkCBoxUpdater.h"
#include "ovkCComment.h"
#include "ovkCMetadata.h"
#include "ovkCLink.h"
#include "../ovkCObjectVisitorContext.h"
#include "../../tools/ovk_setting_checker.h"
#include <iostream>
#includ... |
b5638f19a047d3f474a615ea1905576b56988362a4b93989dac31dad47347ea8 | C++ | 73,026 | 1,869 | #include "SvabaRegionProcessor.h"
extern "C" {
#include "fml.h"
}
#include <iomanip> // For std::setw and std::right
#include <sstream> // For std::ostringstream
#include <chrono>
#include <cstring> // For memset
#include <algorithm> // std::remove_if (artifact-skip)
#include <vector>
#include <cstdint> // uint64... |
70a7642d13e579afb8eb414cc0a12163e4c48604d5347140c2d1fe3f2e05c303 | C++ | 73,118 | 1,382 | #include <algorithm>
#include <ui/text_editor.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp>
namespace hex::ui {
using Palette = TextEditor::Palette;
using Keys = TextEditor::Keys;
using Lines = TextEditor::Lines;
using LanguageDefinition = TextEditor::LanguageDefinition;
... |
c16591a87e5a7efd50ac4d173f2d2422c605c39c5503a6ef82fbe88315083165 | C++ | 73,562 | 1,761 | // SvabaExtractPairs.cpp — see SvabaExtractPairs.h for design rationale.
//
// Replaces scripts/extract_pairs_by_seq.sh. Two-pass BAM-native extract:
//
// Pass 1: stream BAM, scan the 4-bit-packed SEQ field of each record
// through an Aho-Corasick automaton built over the union of
// query seque... |
9abacb020cfc384957f6bc07b30d62706ae6f76c97c3dba09f85b0942f4c9f0d | C++ | 73,958 | 477 | #include <algorithm>
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/test/test_provider.hpp>
#include <hex/test/tests.hpp>
#include <random>
#include <vector>
#include <array>
#include <fmt/ranges.h>
using std::string;
struct EncodeChek {
std::vector<u8> vec;
std::string string;... |
7102e0fe43a21a55034d0d28271fcf5979a3423009139c35f3675ef057a194cd | C++ | 74,266 | 1,655 | ///-------------------------------------------------------------------------------------------------
///
/// \file CDesignerVisualization.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 Lice... |
7a07b10ff3018767100746fef07e440b13cdba535f48c65aab01ee29a330a057 | C++ | 74,395 | 1,791 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
// @todo connect all the vertical and horizontal sliders and scales
// @todo make horizontal scale related to seconds rather than chunks
// @todo add rulers
// @todo need a much more clear design to handle multiple tracks with multiple streams of different sizes
#... |
2384ca45d73544f55733c598de52a585dfab1c32044d39a75b1ba59005af787d | C++ | 80,338 | 2,941 | #include <cmath>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <float.h>
#include <string.h>
#include <stdarg.h>
#include "svm.h"
typedef float Qfloat;
typedef signed char schar;
#ifndef min
template<class T> inline T min(T x, T y) {
return (x < y) ? x : y;
}
#endif
#ifndef max
template<class T> ... |
db243f3dfb573bb6ed3e8b9300da9a01e14cfcf61ca03bdb75368b9a0fd3b8a0 | C++ | 80,819 | 1,961 | // dear imgui test engine
// (performance tool)
// Browse and visualize samples recorded by ctx->PerfCapture() calls.
// User access via 'Test Engine UI -> Tools -> Perf Tool'
// 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 di... |
58aa0936185bee0c018c44b7f9fb424e3dd728030451dd31e46ffff725550c36 | C++ | 80,935 | 2,484 | //===- MicrosoftDemangle.cpp ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
c185c187a3bc348739cdf2081bd52f123784141c4e37b079fdbcb96ffeb56fa5 | C++ | 81,912 | 2,062 | // SvabaPostprocess.cpp — see SvabaPostprocess.h for the design rationale.
//
// The flow for each suffix runs in its own std::thread:
//
// [${ID}.${suffix}.bam]
// |
// | (unless --dedup-only)
// v
// samtools sort -@ jthreads -m MEM -o *.sort.tmp.bam ${bam} # shell out
// rename *.sort... |
7a481d4a11cdf4cae56eeb2fa8c66b136b3f52cc6d8875f1d9bc31fdeb4c136c | C++ | 84,446 | 1,691 | #include <ui/hex_editor.hpp>
#include <hex/api/content_registry/hex_editor.hpp>
#include "fonts/tabler_icons.hpp"
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/codepage.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/unicode.hpp>
#include <hex/helpers/utils.hpp>
#include <wo... |
502aa2b3ed9b5bbf69f305515ad6581b9475be9d7c7631c338a4ac0b5a054ac9 | C++ | 84,689 | 2,875 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <float.h>
#include <string.h>
#include <stdarg.h>
#include <limits.h>
#include <locale.h>
#include "svm.h"
int libsvm_version = LIBSVM_VERSION;
typedef float Qfloat;
typedef signed char schar;
#ifndef min
template <class T>
static T... |
478dcf9e6bcfd264c47696ec4f65cbc26d806abf672ab131ca10c759f4a5e600 | C++ | 90,276 | 1,450 | #include "CBoxAlgorithmSkeletonGenerator.hpp"
#include <iostream>
#include <sstream>
#include <glib/gstdio.h>
#include <cstdio>
#include <boost/regex.hpp>
#include <ctime>
#include <cmath>
#include <fstream>
#define TO_GTK_UTF8(s) g_locale_to_utf8((s), -1, nullptr, nullptr, nullptr)
namespace OpenViBE {
namespace... |
137d66780336fe1833aadd00a7f5038fcb24d3e1703597065eec04b837ddff75 | C++ | 92,813 | 3,518 |
/********************
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... |
fe110f340f40b0273a2ebff33c9f2fcba8ec7ee59e3caf1877aa8bdbe34673b6 | C++ | 94,050 | 1,761 | // dear imgui: Platform Backend for GLFW
// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan, WebGPU..)
// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (Requires: GLFW 3.0+. Prefer GLFW 3.3+/3.4+ for full feature... |
47dc66bed90f1e17a7c5479f0c4bcf36b4f07f0b95989199523bb656aa3ecde3 | C++ | 94,415 | 2,008 | #include "imgui.h"
#ifndef IMHEX_TESTS
#include "fonts/fonts.hpp"
#endif
#include "hex/ui/imgui_imhex_extensions.h"
#include <ui/text_editor.hpp>
#include <hex/helpers/scaling.hpp>
#include <wolv/utils/string.hpp>
#include <algorithm>
#include <ranges>
namespace hex::ui {
TextEditor::Palette s_paletteBase = TextE... |
ae57d5bc5486534d101c5802a7ecacf57954f8d4b5a4becd8d1448315fdc55a3 | C++ | 97,292 | 955 | ///-------------------------------------------------------------------------------------------------
///
/// \file CRendererLoreta.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 ... |
6d5ae2039fd734e384b48e9210c74f02b15f66e759d43a34b92a79dc0eeb96b6 | C++ | 107,469 | 2,680 | // dear imgui test engine
// (core)
// This is the interface that your initial setup (app init, main loop) will mostly be using.
// Actual tests will mostly use the interface of imgui_te_context.h
// This file is governed by the "Dear ImGui Test Engine License".
// Details of the license are provided in the LICENSE.tx... |
c131d1e428dfd0011bacf19a1e5ff46cfbfa3b05195a01ae56b4f0ea87bef562 | C++ | 109,932 | 2,600 | #include <algorithm>
#include <content/text_highlighting/pattern_language.hpp>
#include <pl/core/ast/ast_node_type_decl.hpp>
#include <pl/core/tokens.hpp>
#include <hex/helpers/utils.hpp>
#include <wolv/utils/string.hpp>
#include <iostream>
#include <content/views/view_pattern_editor.hpp>
#include <pl/pattern_language.... |
9eb353902f9d161f7536d4518c1f5573bb4a050379ec09886491bd8407d13fa0 | C++ | 111,993 | 3,150 | /*
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... |
6fe93b0d8d15a3ceda8d973dee623443098cf8b4b2dae4ead68a25db1bb8203d | C++ | 114,231 | 3,265 | // the structure of this file:
//
// [SECTION] bezier curve helpers
// [SECTION] draw list helper
// [SECTION] ui state logic
// [SECTION] render helpers
// [SECTION] API implementation
#include "imnodes.h"
#include "imnodes_internal.h"
#define IMGUI_DEFINE_MATH_OPERATORS
#include <imgui_internal.h>
// Check minimum... |
4053cf17c8305cf3417763e04511a9088d287b88fde59454215157b8cf309b62 | C++ | 114,533 | 2,486 | // MIT License
// Copyright (c) 2023 Evan Pezent
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... |
3bd7af03ce3209468aee087cc4fa988b3ff56174b01fa4237c88655064ccd61d | C++ | 118,846 | 2,976 | #include "BreakPoint.h"
#include "SvabaDebug.h"
#include <getopt.h>
#include <iomanip>
#include <cassert>
#include <tuple>
#include <optional>
#include <sstream>
#include <vector>
#include <stdexcept>
#include <algorithm>
#include <cctype>
#include "gzstream.h"
#include "SvabaUtils.h"
#include "STCoverage.h"
#includ... |
69f383017a282e95084afd87ff0d0878133d3009828eb2b3c0e48e3a363a09e9 | C++ | 123,329 | 2,812 | // MIT License
// Copyright (c) 2023 Evan Pezent
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... |
7d5359109242688fa2f6f3b550bc4845db3bb679d1f38a52ad282ddc365d2bf1 | C++ | 143,127 | 3,443 | //============================================================================
// Name : 1D/2D Wavelet Transform
// Author : Rafat Hussain
// Version :
// Copyright : GNU Lesser GPL License
// Description : Wavelet Library
//============================================================================
... |
53083c201eb0a6485dee3bbcd937518124922581cb13c2fdcd81383fbe9f4abc | C++ | 146,459 | 2,688 | ///-------------------------------------------------------------------------------------------------
///
/// \file CApplication.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 pub... |
ec744f942fffadb1a21216744ac4e4421fc7112a2a0aecf9e7083cefd00c439b | C++ | 149,626 | 3,030 | #include "content/views/view_pattern_editor.hpp"
#include <fonts/blender_icons.hpp>
#include <fonts/tabler_icons.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/http/store_api.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/api/content_registry/file_type_handler.hpp>
#inclu... |
d88e50b26436ce8fb7480febfbf0727b992ed9d30e508990e2d26accdbb89fd1 | C++ | 157,249 | 3,739 | //--------------------------------------------------
// ImPlot3D v0.3 WIP
// implot3d.cpp
// Date: 2024-11-16
// 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 and st... |
155fae289d178b9cb4ff55fced646e172c2dbe23d585785e1614d31db4e9b6fc | C++ | 159,277 | 4,379 | // dear imgui
// (context when a running test + end user automation API)
// This is the main (if not only) interface that your Tests will be using.
// 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_V... |
c87366e24cbad69faac798f0b45b62696ca778d43d001a2d7a49ad4214706871 | C++ | 171,235 | 3,437 | ///-------------------------------------------------------------------------------------------------
///
/// \file CInterfacedScenario.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... |
096c374f8c52d7cab4eeb4e5e6ad485e8abc956891853e814359c3ef8ece5d12 | C++ | 200,000 | 6,219 | //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.92.0" 19200 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
//with imgui_freetype.h api
//docking branch
#include <imgui.h>
#include <imgui_internal.h>
#include ... |
476bce2ceb142f8173ff8312f307a5cc11cf53433002c0612ea6b543ff3be628 | C++ | 200,000 | 4,223 | // MIT License
// Copyright (c) 2023 Evan Pezent
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... |
498d87ce432b3cada41b0cdc5ceacaded633cb1436cae3f594000961b2829f10 | C++ | 200,000 | 3,487 | // dear imgui, v1.92.7 WIP
// (tables and columns code)
/*
Index of this file:
// [SECTION] Commentary
// [SECTION] Header mess
// [SECTION] Tables: Main code
// [SECTION] Tables: Simple accessors
// [SECTION] Tables: Row changes
// [SECTION] Tables: Columns changes
// [SECTION] Tables: Columns width management
// [... |
501d2f8f7315e336baaa80ff65a56446536182916588753578229604aa494930 | C++ | 200,000 | 3,466 | // dear imgui, v1.92.7 WIP
// (demo code)
// Help:
// - Read FAQ at http://dearimgui.com/faq
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// - Need help integrating Dear ImGui in your codebase?
// - Read Getting Started https://github.com/ocornut/imgui/w... |
667dc27b6eedde2c74ca4c2106276c0427a136bb0c3b5d116f90bfa0d58e031e | C++ | 200,000 | 2,274 | // dear imgui, v1.92.7 WIP
// (main code and documentation)
// Help:
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// - Read top of imgui.cpp for more details, links and comments.
// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including imgui.h (or i... |
7d6669c98094da47d65957624524431e4a74d161159da66d5af5451c8b529a59 | C++ | 200,000 | 4,587 | /* Generated by Cython 0.29.28 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"/home/marco/.virtualenvs/py3marco/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h",
"/home/marco/.virtualenvs/py3marco/lib/python3.9/site-packages/numpy/core/include/numpy/a... |
8877da44ccfa521b28efdcad2458dd14a28c4a1c4aa9e908fa5d3b7a88f54abd | C++ | 200,000 | 4,072 | // dear imgui, v1.92.7 WIP
// (drawing and font code)
/*
Index of this file:
// [SECTION] STB libraries implementation
// [SECTION] Style functions
// [SECTION] ImDrawList
// [SECTION] ImTriangulator, ImDrawList concave polygon fill
// [SECTION] ImDrawList Shadow Primitives
// [SECTION] ImDrawListSplitter
// [SECTIO... |
ab47707ec24ee6c2db17a958a6d6fc6b22bb3c1e17560594555f926d722fe9ec | C++ | 200,000 | 5,472 | /****************************************************************************
** Meta object code from reading C++ file 'qcustomplot.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... |
b6453d536f286faf278ee473d280485094f44f6dc38484df153eec7324b532c4 | C++ | 200,000 | 4,053 | // dear imgui, v1.92.7 WIP
// (widgets code)
/*
Index of this file:
// [SECTION] Forward Declarations
// [SECTION] Widgets: Text, etc.
// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.)
// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)... |
cb9de3bb99ea701e19935dfdbfd35c3acb3aa68bc5166c32f7a1895bdfce953b | C++ | 200,000 | 5,595 | /***************************************************************************
** **
** QCustomPlot, an easy to use, modern plotting widget for Qt **
** Copyright (C) 2011-2016 Emanuel Eichhammer **
** ... |
ef01ef9bb2c210e74cce6b74fed2ec0af7437393ece8c84713457293b6d2b9ad | C/C++ | 35 | 1 | short GetAsyncKeyState(int vKey);
|
0d169a202ecb422cb93cb3868502f2f579270ab35df536cb6aa24d5a8ea864dc | C/C++ | 45 | 3 | #pragma once
#include <ov_common_defines.h>
|
598de25a1bcb52e11e1e5339114313b699b77cfa2cc6a2165f03221060b2dbc9 | C/C++ | 62 | 4 | #pragma once
#include "ovk_defines.h"
#include "ovk_tools.h"
|
798dd7323f31bfb675c9b48b89c6084d06966384662f4130deba53dfcee9d49d | C/C++ | 71 | 5 | #pragma once
#include "ovviz_defines.h"
#include <openvibe/ov_all.h>
|
9e1c9c51b55ef90a1954f1672e33950ae00c667127e6c504a47ec6e55f571883 | C/C++ | 73 | 1 | #define NEURON_BIN_DIR "/raid/zyc/code_for_dhs_paper/install/x86_64/bin"
|
09ec8a283b22a01bf62ff5ec96b47f9116d37b9131065621ae856a02003de618 | C/C++ | 77 | 6 | #ifndef PROXTV_H
#define PROXTV_H
#include "TVopt.h"
#endif /* PROXTV_H */
|
26ba48dbeb5c59ffadb90e289f5e6ae5083a245f646167789a8c11d612799529 | C/C++ | 81 | 6 | #include <stdlib.h>
#include <R.h>
#include <Rinternals.h>
#include <unistd.h>
|
431742bbc083f9d23f864bce5b888325ab683fc1cb0cc8828692faa088ba2516 | C/C++ | 96 | 4 | #pragma once
#include "tools/ovkCScopeTester.h"
#include "tools/ovk_identifier_map_iterator.h"
|
05650a01da0849bd83686c8ed7a22bd6aacbe5fdc40c793be8f97b76775b9bbe | C/C++ | 99 | 6 | #pragma once
#include "ovas_defines.h"
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h> |
f6b6f93713d7fabab20637c2d835ef27710e43edf3ca2034e9b8725cc024dde6 | C/C++ | 100 | 6 | #pragma once
#include "ovas_defines.h"
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
|
1702bab55434f861f59bb7c752df9e24e965d1c07c80fce2eeffab02fde42a56 | C/C++ | 102 | 9 | #ifndef UTILS
#define UTILS
#include <QString>
QString strDrawbackType(int type);
#endif // UTILS
|
5d0be5199f7a7766051d3e51f8387e3d6f161a05f940eedb4fc76d6a22cbcd2f | C/C++ | 103 | 5 | #pragma once
int check_ftStatus(int ftStatus, int FTDIErrorCode);
tuple<int, FT_HANDLE> FTDI_setup(); |
7ecd17dae28787b43041366f0969644b46d16e063cb47ff28dcbc413c499cf0d | C/C++ | 119 | 4 | #ifndef VERSION_GIT_H
#define VERSION_GIT_H
#define VERSION_GIT "v2.16.2-20-gbe83482-dirty"
#endif /* VERSION_GIT_H */
|
9f236a6c4ad559b9b2c87115034563c0ded81b1817100c20959f77928b09b8a6 | C/C++ | 129 | 4 | /*
* This will contain the implementation of the TiA server on top of the FieldTrip buffer, similar to the RDA server.
*
*/
|
b763200fd2156906e1b2f3d02f0d1500f86c67a8b58354fcfc91080b17714273 | C/C++ | 130 | 9 | #pragma once
# define Nthe 128
# define Nr 60
# define Nr_o 40
# define Nr_i 20
# define PI 3.14159265358979323846
|
92d355bda089bae80adffa6b19b00a42cb16fa4f48d6d3b2455253c97119cf1c | C/C++ | 146 | 7 | #pragma once
# define Nthe 128
# define Nr 60
# define Nr_o 40
# define Nr_i 20
# define PI 3.14159265358979323846
# define N_t 800000
|
c993d5cbd20539004e147e390677be9d9822803bccc84314f56e787a0443ffe2 | C/C++ | 169 | 7 | #include <boost/filesystem.hpp>
#include <iostream>
class TmpDir {
public:
void static createTempFile(std::string& tcf, std::string& tcd);
};
|
bd5ea32299720701cc0b00e2128d5f34a3ae98c85f8333caf979a9542e1b00f1 | C/C++ | 175 | 13 | #ifndef __SAMPLE_H__
#define __SAMPLE_H__
/* maximum length of sample name */
#define SAMPLE_MAX_NAME 100
typedef struct {
char name[SAMPLE_MAX_NAME];
} Sample;
#endif
|
13764eb7297d632b067062c5a9ab70002e6a26a5bae2a17641664a3389f4fd49 | C/C++ | 176 | 9 | #ifndef SNOWMAN_ASSEMBLY2VCF_H__
#define SNOWMAN_ASSEMBLY2VCF_H__
void parseAssembly2VCFOptions(int argc, char** argv);
void runAssembly2VCF(int argc, char** argv);
#endif
|
ee5802944470a3d1047df29675c43fb79efe8d11027a1df1ccb7713f83421811 | C/C++ | 177 | 5 | #pragma once
#include "./include/k2c_tensor_include.h"
void example(k2c_tensor* input_1_input, k2c_tensor* dense_3_output);
void example_initialize();
void example_terminate();
|
76ee6974dae3941913ff375c7b4c5fea1e24641e7451270de7360c0313c79f4d | C/C++ | 185 | 5 | #pragma once
#include "./include/k2c_tensor_include.h"
void emmodel_na(k2c_tensor* input1_input, k2c_tensor* l7_output);
void emmodel_na_initialize();
void emmodel_na_terminate();
|
422ad853dfca3fc08b21e4f02dffafea7a99147425b20e70b7683ea1bbcd1f50 | C/C++ | 191 | 5 | #pragma once
#include "./include/k2c_tensor_include.h"
void xraymodel_na(k2c_tensor* input1_input, k2c_tensor* l7_output);
void xraymodel_na_initialize();
void xraymodel_na_terminate();
|
a197824baccfb8d7364f2935f0e0e8a3b2489836a3e2e232b70580193c3c9413 | C/C++ | 193 | 5 | #pragma once
#include "./include/k2c_tensor_include.h"
void foobar(k2c_tensor* keras_tensor_8_input, k2c_tensor* keras_tensor_9_output);
void foobar_initialize();
void foobar_terminate();
|
65c750db1a869e8f5ccbabf094be18d0fd475b9391606f561079e2e665b8525f | C/C++ | 194 | 5 | #pragma once
#include "./include/k2c_tensor_include.h"
void xraymodel_dna(k2c_tensor* input1_input, k2c_tensor* l7_output);
void xraymodel_dna_initialize();
void xraymodel_dna_terminate();
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.