hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
704c927c2bbd2973fbf5ae0ae6aaff4785688780 | 6,873 | cpp | C++ | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 345 | 2021-02-08T18:11:24.000Z | 2022-03-25T04:01:23.000Z | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 376 | 2021-02-12T07:23:57.000Z | 2022-03-31T00:05:35.000Z | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 65 | 2021-02-12T05:47:14.000Z | 2022-03-25T03:08:23.000Z | #include "pch.h"
#define DIRECTINPUT_VERSION 0x0800 // NOLINT(cppcoreguidelines-macro-usage)
#include <dinput.h>
#include <XivAlexander/XivAlexander.h>
#include <XivAlexanderCommon/Sqex_CommandLine.h>
#include <XivAlexanderCommon/Utils_Win32.h>
#include "App_ConfigRepository.h"
#include "DllMain.h"
static WORD s_w... | 32.419811 | 198 | 0.729521 | retaker |
704ec269c666e188c069d16a14b832138f56ff3c | 21,254 | cpp | C++ | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 20 | 2019-11-13T12:31:20.000Z | 2022-02-27T12:30:39.000Z | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 46 | 2019-11-15T20:40:18.000Z | 2022-03-31T19:04:36.000Z | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 5 | 2019-11-12T15:00:50.000Z | 2022-01-17T17:33:05.000Z | /**
* @file client.cpp
* @author Marijke Hengstmengel
*
* @brief CORBA C++11 client ami test
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "ace/Get_Opt.h"
#include "ace/Task.h"
#include "ami_testAmiC.h"
#include <thread>
#include "testlib/taox11_testlog.h"
const ACE_TCHAR *ior = ACE_TE... | 30.362857 | 100 | 0.605063 | ClausKlein |
7050f2e5980ace3eb9362d575e23d51924b74e39 | 598 | cc | C++ | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | null | null | null | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | 2 | 2020-09-29T14:55:30.000Z | 2021-06-08T16:40:42.000Z | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | null | null | null | #include "prometheus/counter.h"
namespace prometheus {
Counter::Counter(const bool alert_if_no_family) : MetricBase(alert_if_no_family) {};
void Counter::Reset() {
value_ = 0;
last_update_ = std::time(nullptr);
AlertIfNoFamily();
}
void Counter::Increment(const double value) {
if (value < 0.0) return;
va... | 19.933333 | 84 | 0.70903 | avidbots |
7056d48b5554f5390c94686c59484a028f902958 | 705 | hpp | C++ | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | #ifndef FOOD_HPP
#define FOOD_HPP
#include "grid.hpp"
class Food final {
public:
explicit Food(const Grid &grid) noexcept;
~Food() noexcept = default;
Food(const Food &) noexcept = default;
Food(Food &&) noexcept = default;
Food &operator=(const Food &) noexcept = default;
Food &operator=(Food &&) noexce... | 25.178571 | 119 | 0.686525 | cwink87 |
7058bd21523d751bcda72d9809aa839f0e9cca5f | 18,574 | cpp | C++ | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | namespace xbmp::tools{
//-------------------------------------------------------------------------------------------------
static
int Area( const atlas::rect_xywhf** pA, const atlas::rect_xywhf** pB )
{
int b1 = (*pA)->getArea();
int a1 = (*pB)->getArea();
if( a1 < b1 ) return -1;
return a1>b1;
}
//--... | 31.750427 | 130 | 0.428233 | LIONant-depot |
705b97c5b3556c629ef061ce743bb0f610a7d684 | 33,769 | cpp | C++ | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
//
// Intrafoundation.Tcpclient.3
//
// Copyright 1999, 200, 2001, 2003, 2004 by Lewis A. Sellers (AKA Min)
// http://www.intrafoundation.com
// webmaster@intrafoundation.com
//
// Software Homepage: http://www.intrafoundation.com/software/tc... | 14.772091 | 160 | 0.585922 | lasellers |
7062009380ad83bfeb972203adf99dd8426568ff | 11,107 | cpp | C++ | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/EventCameraCalibration | debd774ac989674b500caf27641b7ad4e94681e9 | [
"Apache-2.0"
] | 22 | 2021-08-06T03:21:03.000Z | 2022-02-25T03:40:54.000Z | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/MultiCamCalib | 2f0e94228c2c4aea7f20c26e3e8daa6321ce8022 | [
"Apache-2.0"
] | 1 | 2022-02-25T02:55:13.000Z | 2022-02-25T15:18:45.000Z | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/MultiCamCalib | 2f0e94228c2c4aea7f20c26e3e8daa6321ce8022 | [
"Apache-2.0"
] | 7 | 2021-08-11T12:29:35.000Z | 2022-02-25T03:41:01.000Z | //
// Created by huangkun on 2020/8/11.
//
#include <Eigen/Eigen>
#include <opencv2/core/eigen.hpp>
#include <opencv2/opencv.hpp>
#include <nanoflann.hpp>
#include <KDTreeVectorOfVectorsAdaptor.h>
#include <opengv2/sensor/PinholeCamera.hpp>
#include <opengv2/utility/utility.hpp>
opengv2::PinholeCamera::PinholeCamera... | 41.137037 | 118 | 0.544431 | MobilePerceptionLab |
7067790723a609a8a5c5bfac60cf9bd9229aee21 | 3,491 | cpp | C++ | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #include "Audio/AudioAPI.h"
#include "Audio/FMOD/AudioDeviceFMOD.h"
#include "Audio/FMOD/SoundInstance3DFMOD.h"
#include "Game/ECS/Components/Rendering/CameraComponent.h"
#include "Game/ECS/Components/Audio/AudibleComponent.h"
#include "Game/ECS/Components/Audio/ListenerComponent.h"
#include "Game/ECS/Components/Physi... | 37.138298 | 194 | 0.776282 | IbexOmega |
0adb4715fed4338c2bc04fc8b68daba3dd0520c4 | 3,003 | hh | C++ | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | //-------------------------------------------------------------------
// File and Version Information:
// $Id: AstSTLMap2.hh 436 2010-01-13 16:51:56Z stroili $
//
// Description:
// two -directional association map between two data types.
//
//
// Author List:
// Luca Lista 27 Mar 97
//
//--------... | 21.604317 | 77 | 0.549784 | brownd1978 |
0ade3fa514c18931177c702ef1f57baefe1c50c9 | 835 | cpp | C++ | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 23 | 2017-11-01T14:47:26.000Z | 2021-12-30T08:04:31.000Z | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 1 | 2018-12-06T14:19:55.000Z | 2018-12-07T04:06:35.000Z | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 4 | 2017-11-30T10:25:58.000Z | 2019-04-21T14:11:40.000Z |
#include "ColorWidget.h"
void ColorWidget::Init(EUICategories* parent, const char* catName, const char* labelName)
{
ProperyWidget::Init(parent, catName, labelName);
ecolor = new EUILabel(panel, "", 90, 5, 95, 20);
ecolor->SetListener(-1, this, 0);
}
void ColorWidget::SetData(void* owner, void* set_data)
{
data... | 23.194444 | 89 | 0.640719 | ENgineE777 |
0ae0f6253de6e035a276845c24110d086db66b27 | 2,267 | cpp | C++ | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | #include "../../../include/graphics/UI/CImageComponent.h"
namespace TDEngine2
{
struct TImageArchiveKeys
{
};
CImage::CImage() :
CBaseComponent()
{
}
E_RESULT_CODE CImage::Init()
{
if (mIsInitialized)
{
return RC_FAIL;
}
mImageResourceId = TResourceId::Invalid;
mImageSpriteId = Wrench::Stri... | 14.720779 | 87 | 0.698721 | bnoazx005 |
0ae1e5cb12c6d0b8f7e0165ff950ad9198842ba4 | 2,087 | hpp | C++ | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | null | null | null | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | null | null | null | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | 1 | 2021-08-06T10:17:28.000Z | 2021-08-06T10:17:28.000Z | #ifndef TERMOX_WIDGET_WIDGETS_HORIZONTAL_SLIDER_HPP
#define TERMOX_WIDGET_WIDGETS_HORIZONTAL_SLIDER_HPP
#include <cstddef>
#include <signals_light/signal.hpp>
#include <termox/painter/color.hpp>
#include <termox/painter/glyph.hpp>
#include <termox/painter/painter.hpp>
#include <termox/system/key.hpp>
#include <termox... | 27.460526 | 78 | 0.703402 | skvl |
0ae24cf263f367d8460b5612c853eeda781029c5 | 70 | cpp | C++ | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | 1 | 2020-08-27T23:41:48.000Z | 2020-08-27T23:41:48.000Z | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | #include "meadSong.h"
int main(void) {
showLyrics();
return 0;
}
| 10 | 21 | 0.628571 | Hvvang |
0ae69f1eeb6ed74a8c946c9194f0d558aaf1f9bf | 13,299 | hpp | C++ | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include <xul/net/http/http_connection.hpp>
#include <xul/net/url_request.hpp>
#include <xul/net/uri.hpp>
#include <xul/util/timer_holder.hpp>
#include <xul/util/runnable_callback.hpp>
#include <xul/net/http/http_content_type.hpp>
#include <xul/net/http/http_method.hpp>
#include <xul/net/url_messages.hpp>... | 33.498741 | 137 | 0.609219 | hindsights |
0aee68ed3261bbc11f994664754f9d0544f656e5 | 6,803 | cpp | C++ | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | #include "lv_demo_graphing.hxx"
#include "graph.hxx"
#include <math.h>
static mpf_class plot_sin(mpf_class x) {
return mpf_class(sin(x.get_d()*0.1) * 50.0);
}
static void zoom_btnmatrix_cb(lv_event_t* event){
uint32_t id = lv_btnmatrix_get_selected_btn(event->target);
if (id == 0) {
static_cast<gr... | 41.993827 | 99 | 0.721446 | mov-rax |
0af0040150be21d39134aa89a76ca7b88410cc2b | 358 | cpp | C++ | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "playthread.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow) {
ui->setupUi(this);
}
MainWindow::~MainWindow() {
delete ui;
}
void MainWindow::on_playButton_clicked() {
PlayThread *thread = new Pla... | 18.842105 | 46 | 0.681564 | okFancy |
0af2a24c515740fceb1225d3bc42fa245c8d3e41 | 29,148 | cc | C++ | tests/math/gtest_matrix_svd.cc | lemony-fresh/mve | d90cc2c813fef026f7732c5a26f6c15973a36042 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T13:19:21.000Z | 2019-05-30T13:19:21.000Z | tests/math/gtest_matrix_svd.cc | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | tests/math/gtest_matrix_svd.cc | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Test cases for matrix singular value decomposition (SVD).
* Written by Simon Fuhrmann and Daniel Thuerck.
*/
#include <limits>
#include <gtest/gtest.h>
#include "math/matrix_svd.h"
TEST(MatrixSVDTest, MatrixSimpleTest1)
{
math::Matrix<double, 3, 2> A;
A(0, 0) = 1.0; A(0, 1) = 4.0;
A(1, 0) = 2.0;... | 31.207709 | 88 | 0.625257 | lemony-fresh |
0af32920c4b1e61f869a61a1c3ad5ad66e4e69e9 | 2,272 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <functional>
#include <msw/std/memory.hpp>
#include <rubetek/remote_link/channel.hpp>
#include <rubetek/remote_link/channel_set.hpp>
namespace rubetek {
namespace client {
struct remote_channels
: remote_channel_set<unique_client_id::type>
{
typedef... | 34.424242 | 157 | 0.524648 | yklishevich |
0af46217160d042fa5933256ae741fc7571b84fc | 3,008 | cpp | C++ | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | null | null | null | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | null | null | null | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | 1 | 2020-07-09T00:20:49.000Z | 2020-07-09T00:20:49.000Z | /*************************************************************************
* jlp_x11_utils.cpp
* Set of programs useful for the JLP_X11 and JLP_Dlg_X11 Classes
*
* JLP
* Version 17/11/2006
**************************************************************************/
#if JLP_USE_X11 /* New flag to disable X11 if neces... | 30.383838 | 78 | 0.541888 | jlprieur |
0af9479f817433d44d160f75ed399bbbfa17f9ad | 2,822 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcCons... | 42.119403 | 193 | 0.759391 | promethe42 |
0afb5cf0b93d741a5fc9006a69257006ef471105 | 13,025 | hpp | C++ | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------------//
//!
//! \file Utility_Measurement.hpp
//! \author Alex Robinson
//! \brief The measurement class declaration. This object is based of of the
//! measurement class in the boost::units examples
//!
//-------------------------------... | 31.614078 | 191 | 0.697889 | lkersting |
e403bc0dedff958ba0ef76ea4b67175bd370fe3c | 8,887 | cpp | C++ | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 45.341837 | 120 | 0.738382 | PiotrSiejda |
e4043fd358a98ab0d838f1acaa68aea2e815df92 | 951 | hpp | C++ | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | 3 | 2015-07-14T19:22:18.000Z | 2015-12-03T01:15:15.000Z | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | 1 | 2015-12-02T23:46:25.000Z | 2015-12-04T14:17:43.000Z | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | null | null | null | // Copyright Michael Steinberg 2015
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SYSTEM_MICROPTP_MICROPTP_CONFIG_HPP_
#define SYSTEM_MICROPTP_MICROPTP_CONFIG_HPP_
#include <micro... | 22.642857 | 69 | 0.741325 | decimad |
e4070845458d6f19ddf0c15ea52dc80f8366e609 | 5,201 | cpp | C++ | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | 1 | 2020-09-03T09:53:45.000Z | 2020-09-03T09:53:45.000Z | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | 1 | 2021-01-31T05:27:36.000Z | 2021-01-31T05:27:36.000Z | #include "pch.h"
#include "../DX11API.h"
#include "DX11InputLayout.h"
#include "Sail/Application.h"
InputLayout* InputLayout::Create() {
return SAIL_NEW DX11InputLayout();
}
DX11InputLayout::DX11InputLayout()
: InputLayout()
{ }
DX11InputLayout::~DX11InputLayout() {
Memory::SafeRelease(m_inputLayout);
}
void DX1... | 43.705882 | 181 | 0.781388 | h3nx |
e40747c211e8941c3a1bb4f766431e17b5477028 | 1,243 | cpp | C++ | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<queue>
#define pli pair<LL,int>
#define mp make_pair
#define fi first
#define se second
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
typedef long long LL;
const int N=2e5+10,M=1e6+10;... | 26.446809 | 66 | 0.602574 | sjj118 |
e40a2bf75023cdeec08958fc8fabc796a873f0b1 | 11,743 | hxx | C++ | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #if !defined(RESIP_TU_HXX)
#define RESIP_TU_HXX
#include <iosfwd>
#include <set>
#include "rutil/TimeLimitFifo.hxx"
#include "rutil/Data.hxx"
#include "rutil/CongestionManager.hxx"
#include "resip/stack/Message.hxx"
#include "resip/stack/MessageFilterRule.hxx"
namespace resip
{
class SipMessage;
/**
@brief The ... | 39.80678 | 89 | 0.668909 | dulton |
e40bf78aee0b38be1168a99cf5ff5e2f690c0040 | 2,192 | cpp | C++ | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | 1 | 2021-01-24T08:55:59.000Z | 2021-01-24T08:55:59.000Z | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | 2 | 2021-01-24T06:12:12.000Z | 2021-01-24T14:37:10.000Z | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | null | null | null | #define NO_S3D_USING
#include "NetworkSystem.hpp"
namespace ComponentEngine::Photon
{
NetworkSystem* NetworkSystem::instance = nullptr;
std::string NetworkObjectName()
{
return "PhotonSystem";
}
[[nodiscard]] s3d::String ConvertJStringToString(const ExitGames::Common::JString& str) {
... | 30.444444 | 158 | 0.663777 | mak1a |
e40d1bd6f22363279ad1910e69bb856c7eff6349 | 4,113 | cpp | C++ | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | //////////////////////////////////////////////////////////////////////////////
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
... | 30.924812 | 195 | 0.508145 | windows-development |
e40d874a80a9001fb4d44742f76cb84c3fd81d85 | 13,816 | cpp | C++ | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 43 | 2015-02-11T15:52:38.000Z | 2020-01-08T18:19:27.000Z | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 2 | 2015-04-05T18:33:13.000Z | 2015-06-11T05:16:19.000Z | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 3 | 2015-02-22T09:10:51.000Z | 2015-08-09T22:49:22.000Z | // SPDX-License-Identifier: BSD-2-Clause
// Copyright (C) 2020, The LabSound Authors. All rights reserved.
#define LABSOUND_ENABLE_LOGGING
#include "AudioDevice_Miniaudio.h"
#include "internal/Assertions.h"
#include "internal/VectorMath.h"
#include "LabSound/core/AudioDevice.h"
#include "LabSound/core/AudioHardware... | 37.441734 | 201 | 0.672192 | xioxin |
e415f963b78d16ab5d2fe0e7607b8bb0e4cfa703 | 77 | cpp | C++ | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | #include "plyMaker.h"
PLYMAKER::PLYMAKER()
{
}
PLYMAKER::~PLYMAKER()
{
}
| 6.416667 | 21 | 0.623377 | heyday665 |
e41c20061d618e55c21ad1e8605c6c1b03dedfb9 | 12,355 | cpp | C++ | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | //
// utility_parse.cpp
// ~~~~~~~~~~~~~~~~~
//
// Author: Joseph Adomatis
// Copyright (c) 2020 Joseph R Adomatis (joseph dot adomatis at gmail dot com)
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <algorithm>
#include <exception>
... | 38.132716 | 119 | 0.299555 | DynasticSponge |
e4219840a75fd304bcd009ff8726b4b73a3bb05c | 14,312 | cpp | C++ | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | #include "stdafx.h"
#include "TVTest.h"
#include "AppMain.h"
#include "NetworkRemocon.h"
#include "resource.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
#pragma comment(lib,"Ws2_32.lib")
class CSendStringInfo {
public:
CNetworkRemocon *m_pRemocon;
char *m_pBu... | 23.462295 | 92 | 0.712759 | mark10als |
e424c4bbe7e1da7cd4fc349e2cca6f7099b9ad70 | 11,594 | cpp | C++ | src/proposal.cpp | OpenIKEv2/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 7 | 2017-02-27T17:52:26.000Z | 2021-12-15T06:03:26.000Z | src/proposal.cpp | David-WL/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 5 | 2017-03-02T20:16:41.000Z | 2017-11-04T08:23:13.000Z | src/proposal.cpp | David-WL/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 3 | 2017-04-12T00:25:25.000Z | 2021-09-23T09:13:27.000Z | /***************************************************************************
* Copyright (C) 2005 by *
* Pedro J. Fernandez Ruiz pedroj@um.es *
* Alejandro Perez Mendez alex@um.es *
* ... | 36.574132 | 128 | 0.568829 | OpenIKEv2 |
e4255dbc4c4cc6663e965218e9e9126f37c2c60c | 13,319 | cpp | C++ | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 16 | 2018-12-22T02:09:05.000Z | 2022-03-09T20:38:59.000Z | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 46 | 2018-04-02T11:06:01.000Z | 2019-12-14T11:16:04.000Z | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 14 | 2018-04-09T02:26:15.000Z | 2021-09-11T03:12:15.000Z | // ------------------------------------ //
#ifndef PONG_PLAYERSLOT
#include "PlayerSlot.h"
#endif
#include "Iterators/StringIterator.h"
#include "Networking/NetworkServerInterface.h"
#include "Utility/ComplainOnce.h"
#include "Entities/Components.h"
#include "CommonPong.h"
#ifdef PONG_VERSION
#include "PongGame.h"
#i... | 26.426587 | 118 | 0.611908 | Higami69 |
e4293959199c064d4c22a04c770f3ba6c842728f | 654 | hh | C++ | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | /// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
#ifndef ActionInitialization_h
#define ActionInitialization_h 1
#include "G4VUserActionInitialization.hh"
class DetectorConstruction;
/// Action initialization class.
class ActionInitialization : public G4VUserActionInitializ... | 20.4375 | 80 | 0.746177 | MeighenBergerS |
e42af3e405ca379249fb4f38ca9ca44c78dbe1e5 | 7,373 | cxx | C++ | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | //**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... | 44.957317 | 224 | 0.696731 | chengtt0406 |
e42e39811d115bc810ffd4b7f6a704411adc14c2 | 4,798 | cpp | C++ | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
#define Max(x,y) x=max(x,y)
#define Min(x,y) x=min(x,y)
#define ll long long
const int maxN=50500;
const int maxM=maxN<<1;
class Treap
{
public:
int ls,rs,sz;
ll sum,mx,mn,pls,... | 18.964427 | 68 | 0.544185 | SYCstudio |
e42eb46eea87f0a320c6b9b590bce4e6b8df866f | 757 | hpp | C++ | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | null | null | null | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | null | null | null | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | 1 | 2018-01-29T10:57:09.000Z | 2018-01-29T10:57:09.000Z | // Copyright (c) 2020 Gregor Klinke
#pragma once
#include "config.hpp"
#include "estd/type_traits.hpp"
#include <memory>
#include <type_traits>
#include <utility>
namespace eyestep {
namespace estd {
#if !defined(TEXTBOOK_HAVE_STD_MAKE_UNIQUE)
template <class T, class... Args>
auto make_unique(Args&&... arg... | 19.410256 | 80 | 0.681638 | hvellyr |
e433bad26c6094b8709f4fa172a436ad7efdce4d | 7,978 | cpp | C++ | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | 4 | 2015-11-12T03:51:46.000Z | 2015-11-13T03:29:04.000Z | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | null | null | null | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | null | null | null | #include "SysProcess.h"
#include <thread>
#include <string.h>
#include <memory>
#include <thread>
#include "maraton.h"
#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
SysProcess::~SysProcess()
{
if ( this->file_ != NULL )
{
delete this->file_;
this->file_ = NULL;
}
... | 25.488818 | 83 | 0.526573 | Yhgenomics |
e43793741d62a54bd63c15b5236573d181bb4bf8 | 5,325 | cpp | C++ | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 60 | 2021-07-30T03:30:35.000Z | 2022-03-27T20:00:41.000Z | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 13 | 2021-08-02T16:13:04.000Z | 2022-03-30T23:43:45.000Z | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 14 | 2021-07-30T12:55:01.000Z | 2022-03-04T14:29:39.000Z | //===----------------------------------------------------------------------===//
//
// Copyright 2020-2021 The ScaleHLS Authors.
//
//===----------------------------------------------------------------------===//
#include "mlir/Analysis/LoopAnalysis.h"
#include "mlir/Analysis/Utils.h"
#include "mlir/Dialect/Affine/Uti... | 31.886228 | 80 | 0.659155 | Luke-Jacobs |
e43b025db5216ecde8d795491dda551f8852a178 | 666 | cpp | C++ | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | #include "buffer.h"
#include <algorithm>
namespace TankGame
{
Buffer::Buffer(size_t size, const void* data, GLbitfield flags)
{
GLuint buffer;
glCreateBuffers(1, &buffer);
SetID(buffer);
glNamedBufferStorage(buffer, size, data, flags);
}
void DeleteBuffer(GLuint id)
{
glDeleteBuffers(1, &id);
}
... | 19.028571 | 74 | 0.728228 | Eae02 |
e43cff509538b2ed8441f84f7de5a62451e5cde4 | 6,474 | cc | C++ | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | 2 | 2018-01-24T01:18:07.000Z | 2018-12-29T05:17:32.000Z | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | null | null | null | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright 2019
//
// 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, merge, publi... | 30.394366 | 126 | 0.700958 | JonForShort |
e43ee07a179e9a0ecad7a3794d5dd19de8d227e9 | 859 | cpp | C++ | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | null | null | null | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | 2 | 2020-09-22T09:19:48.000Z | 2020-09-22T09:28:57.000Z | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | 1 | 2020-09-22T09:23:44.000Z | 2020-09-22T09:23:44.000Z | #include "sltcli_pch.h"
void ChangeRoll::OnInit()
{
SetInput("changeroll");
SetDesc("Change the active camera roll.");
}
void ChangeRoll::OnUpdate()
{
LoadSltProjXML("No projects created");
Camera& activeCamera = Controller::Get().GetActiveCamera();
std::cout << "Change active roll to: " << std::endl;
for (un... | 26.030303 | 100 | 0.66007 | filmbrood |
e4487fad43edde1a1fe15e3acce8c27d474fe4ba | 33,669 | cpp | C++ | retrace/daemon/glframe_state_override.cpp | devcode1981/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | 1 | 2021-03-05T10:49:37.000Z | 2021-03-05T10:49:37.000Z | retrace/daemon/glframe_state_override.cpp | MarcelRaschke/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | null | null | null | retrace/daemon/glframe_state_override.cpp | MarcelRaschke/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | 1 | 2018-10-05T03:09:13.000Z | 2018-10-05T03:09:13.000Z | // Copyright (C) Intel Corp. 2017. All Rights Reserved.
// 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, mod... | 32.405197 | 79 | 0.623719 | devcode1981 |
e44a36b4ed211a2cfc08b5d47c38c4ef1139b106 | 2,722 | cpp | C++ | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 23 | 2021-09-13T06:24:34.000Z | 2022-03-24T10:05:12.000Z | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | null | null | null | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 9 | 2021-09-13T06:27:44.000Z | 2022-03-02T00:23:17.000Z | #include <yangrtp/YangRtpFUAPayload2.h>
#include <yangrtp/YangRtpConstant.h>
#include <yangutil/sys/YangLog.h>
int32_t yang_parseFua2(YangBuffer* buf,YangFua2Packet* pkt){
if (!buf->require(2)) {
return yang_error_wrap(ERROR_RTC_RTP_MUXER, "requires %d bytes", 2);
}
// FU indicator, @see https://tools.ietf.or... | 24.522523 | 71 | 0.691403 | yangxinghai |
e44c41c4358c6a96c70c4c55d3437ed39b0675e6 | 8,978 | cpp | C++ | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Shims for d3d9.dll or d3dx9_43.dll
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
any... | 28.683706 | 77 | 0.712631 | Olde-Skuul |
e44c687e571f61f4ae181974bb3198e26edecb8d | 36,768 | cpp | C++ | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | /* MIPS Instruction unit tests
* @author: Pavel Kryukov, Vsevolod Pukhov, Egor Bova
* Copyright (C) MIPT-MIPS 2017-2019
*/
#include <mips/mips.h>
#include <mips/mips_instr.h>
#include <catch.hpp>
#include <memory/memory.h>
class MIPS64Instr : public BaseMIPSInstr<uint64>
{
public:
explicit MIPS64Instr( uint32... | 28.067176 | 157 | 0.597068 | M-ximus |
e44e4c4347d86fc185952146b58e3a2663aa2efa | 641 | cpp | C++ | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | #include <header.hpp>
#include <mutex>
int main(int argc, char *argv[]) {
std::mutex mut;
Create_HASH::logging();
unsigned int thread_count;
if (argc >= 2)
{
thread_count = boost::lexical_cast<int unsigned>(argv[1]);
}
else thread_count = std::thread::hardware_concurrency();
std::cout << "Thread co... | 24.653846 | 66 | 0.650546 | Gustafsson88 |
e44ff1593cdbb90d2f8be668979fef4b31dded58 | 4,149 | hpp | C++ | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | //
// Copyright(c) 2022 Marius Olteanu olteanu.marius@gmail.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwareand associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to u... | 31.431818 | 116 | 0.689082 | MariusOlteanu |
e4517071e0a1e791d4b33e2844e3b65937a674ad | 1,111 | hpp | C++ | include/polarai/utils/string/String.hpp | alexbatashev/athena | eafbb1e16ed0b273a63a20128ebd4882829aa2db | [
"MIT"
] | 2 | 2020-07-16T06:42:27.000Z | 2020-07-16T06:42:28.000Z | include/polarai/utils/string/String.hpp | PolarAI/polarai-framework | c5fd886732afe787a06ebf6fb05fc38069257457 | [
"MIT"
] | null | null | null | include/polarai/utils/string/String.hpp | PolarAI/polarai-framework | c5fd886732afe787a06ebf6fb05fc38069257457 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// Copyright (c) 2020 PolarAI. All rights reserved.
//
// Licensed under MIT license.
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
//... | 30.027027 | 80 | 0.629163 | alexbatashev |
e45b2d1f7bd8756914f85113de8f1d8e07cd547e | 2,411 | hpp | C++ | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 76 | 2016-03-25T15:22:03.000Z | 2022-02-03T15:11:43.000Z | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 19 | 2017-03-09T19:21:53.000Z | 2021-02-24T13:02:18.000Z | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 21 | 2016-09-23T10:01:09.000Z | 2020-08-31T12:01:10.000Z | /*
* SObjectizer-5
*/
/*!
* \since
* v.5.5.8
*
* \file
* \brief A storage of quotes for priorities.
*/
#pragma once
#include <so_5/h/priority.hpp>
#include <so_5/h/exception.hpp>
#include <so_5/h/ret_code.hpp>
#include <algorithm>
#include <iterator>
namespace so_5 {
namespace disp ... | 21.918182 | 74 | 0.636251 | eao197 |
e45cd53c74a73fa804416f878ee5dfd9801baa74 | 6,047 | cpp | C++ | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | 1 | 2016-05-09T11:42:00.000Z | 2016-05-09T11:42:00.000Z | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 31.494792 | 90 | 0.680172 | hcl3210 |
e45ce52bd7a604b9356c17d9b009ceb92cc069bb | 1,445 | cpp | C++ | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 6 | 2021-07-05T15:01:19.000Z | 2022-03-24T04:42:43.000Z | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 2 | 2022-01-11T13:08:35.000Z | 2022-01-12T19:27:53.000Z | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 1 | 2020-03-16T21:37:46.000Z | 2020-03-16T21:37:46.000Z | /*
* Copyright (c) 2021, Tobias Christiansen <tobyase@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "ProjectLoader.h"
#include "Image.h"
#include "Layer.h"
#include <AK/JsonObject.h>
#include <AK/Result.h>
#include <AK/String.h>
#include <LibCore/File.h>
#include <LibCore/MappedFile.h>
#inc... | 26.759259 | 88 | 0.672664 | qeeg |
e46f80ba3cc7d93993b02fc35d12cf51659b828c | 2,523 | cpp | C++ | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 118 | 2015-03-24T16:09:42.000Z | 2022-03-21T09:01:59.000Z | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 26 | 2016-03-03T23:24:08.000Z | 2022-03-21T10:24:43.000Z | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 73 | 2015-06-09T09:44:06.000Z | 2021-12-30T09:49:00.000Z | /* Copyright (C) 2013-2020 by Arm Limited. All rights reserved. */
#define BUFFER_USE_SESSION_DATA
#include "SummaryBuffer.h"
#include "BufferUtils.h"
#include "Logging.h"
#include "SessionData.h"
#include <cstring>
SummaryBuffer::SummaryBuffer(const int size, sem_t & readerSem) : buffer(size, readerSem)
{
// f... | 29 | 92 | 0.650416 | rossburton |
e470a5bea09fc55a1ad16c9b67faa6cad0f85501 | 1,882 | cpp | C++ | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
const int NUM = 8;
void print_table(vector<vector<bool>> &table) {
cout << "A valid solution: " << endl;
for(int i = 0; i != NUM; ++ i) {
for(int j = 0; j != NUM; ++ j) {
cout << (table[i][j] ? "Q " : "+ ");
}
... | 29.873016 | 148 | 0.517003 | chenshiyang |
e4730746fa0db58c2f1a3ad1f4d248d95224ebba | 696 | cpp | C++ | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | #include "Topology.h"
#include "BindableCodex.h"
namespace Bind
{
Topology::Topology(Graphics& gfx, D3D11_PRIMITIVE_TOPOLOGY topology)
: m_Topology(topology)
{
}
void Topology::Bind(Graphics& gfx) noxnd
{
GetContext(gfx)->IASetPrimitiveTopology(m_Topology);
}
std::string Topology::GetUID() const noexcept
... | 24 | 94 | 0.747126 | TheHolyBell |
e4743715c23329c9093f27627c9886744d797f27 | 661 | cc | C++ | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | friend-exceptions.cc | waybeforenow/modular-friend | 12e35a49a2a3cd2d6482293788ee5223d981f8cf | [
"MIT"
] | null | null | null | #include "friend-exceptions.h"
#include <exception>
namespace Friend {
runtime_error::runtime_error(const char* file, const size_t line)
: what_str(new std::string(file)) {
what_str->push_back(':');
what_str->append(std::to_string(line));
}
runtime_error::runtime_error(const char* what, const char* file,
... | 26.44 | 78 | 0.665658 | waybeforenow |
e4772c060b481e349a963de360f6565102585ce0 | 7,379 | cpp | C++ | dynamic_vino_lib/src/inferences/object_segmentation.cpp | pqLee/ros2_openvino_toolkit | 6ba38446bf9778567be2df14d1141c3669e7ac92 | [
"Apache-2.0"
] | 120 | 2018-09-30T05:36:25.000Z | 2022-01-28T17:52:47.000Z | dynamic_vino_lib/src/inferences/object_segmentation.cpp | sammysun0711/ros2_openvino_toolkit | f6ed1d367e452c8672d41d739243bdf59ea6f578 | [
"Apache-2.0"
] | 151 | 2018-10-16T17:46:24.000Z | 2022-03-11T14:38:54.000Z | dynamic_vino_lib/src/inferences/object_segmentation.cpp | sammysun0711/ros2_openvino_toolkit | f6ed1d367e452c8672d41d739243bdf59ea6f578 | [
"Apache-2.0"
] | 83 | 2018-09-30T05:09:35.000Z | 2022-01-26T04:56:09.000Z | // Copyright (c) 2018 Intel Corporation
//
// 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://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 31.4 | 94 | 0.681122 | pqLee |
e47b4ca64593f882aaeaca2b7a52de6482a4136f | 449 | cpp | C++ | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | 1 | 2021-04-25T05:45:28.000Z | 2021-04-25T05:45:28.000Z | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | null | null | null | SGE/src/Platform/Vulkan/VulkanRendererAPI.cpp | Stealthhyy/SGE | e56560a93a4d7c9aac2a525240be6d4d9ba3d4e7 | [
"Apache-2.0"
] | null | null | null | #include "sgepch.h"
#include "VulkanRendererAPI.h"
#include <glad/glad.h>
namespace SGE
{
void VulkanRendererAPI::Init()
{
}
void VulkanRendererAPI::SetViewport(uint32_t x, uint32_t y, uint32_t width, uint32_t height)
{
}
void VulkanRendererAPI::SetClearColor(const glm::vec4& color)
{
}
void VulkanRe... | 14.966667 | 94 | 0.726058 | Stealthhyy |
e47d069bb3a266c8454fa442b094041188ba2741 | 2,326 | hpp | C++ | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | src/CGPCircuit.hpp | xkraut03/evococo | 602461bea72a9f2b81e6e8c289f91030266a08ae | [
"Apache-2.0"
] | null | null | null | // CGPCircuit.hpp
// author: Daniel Kraut
// creation date: 10th of September, 2017
//
// Copyright © 2017 Daniel Kraut
//
// 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://w... | 30.605263 | 76 | 0.726569 | xkraut03 |
e47f66c6b9df1644d9eaf8c12fa96aa243a0c8c5 | 19,328 | hpp | C++ | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | 1 | 2016-03-01T15:23:13.000Z | 2016-03-01T15:23:13.000Z | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | null | null | null | include/http_frame.hpp | jonathonl/IPSuite | 76dfd7913388851c6714645252b2caa3c5596dcc | [
"MIT"
] | null | null | null | #pragma once
#ifndef MANIFOLD_HTTP_FRAME_HPP
#define MANIFOLD_HTTP_FRAME_HPP
#include <vector>
#include <list>
#include <cstdint>
#include "socket.hpp"
#include "http_error_category.hpp"
#ifndef MANIFOLD_DISABLE_HTTP2
namespace manifold
{
namespace http
{
//================================================... | 41.036093 | 212 | 0.527318 | jonathonl |
6b00c0e9e77f92465f60759944c1f0b4effce707 | 2,194 | hpp | C++ | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_FLOYD_WARSHALL.hpp | woodard/RAJAPerf | 14a64c4fd124868018735d7bed5ffb5269b519c9 | [
"BSD-3-Clause"
] | 1 | 2019-06-11T13:43:36.000Z | 2019-06-11T13:43:36.000Z | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2017-19, Lawrence Livermore National Security, LLC
// and RAJA Performance Suite project contributors.
// See the RAJAPerf/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~... | 26.433735 | 79 | 0.596627 | woodard |
6b01bb3f25456bcf86ee4a198f7e9291d1b90d51 | 752 | cpp | C++ | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | 1 | 2020-04-30T14:09:21.000Z | 2020-04-30T14:09:21.000Z | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | null | null | null | text file.cpp | lazarevtill/mirealabs | fcd57fd036ad987bc8b0545cb7b3f7bdd29fc215 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <fstream>
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
//const std::string source;//где ищем
const std::string lexeme = "g";//что ищем
std::string source;
std::ifstream inf;
inf.open("myfile.txt");//if (!... | 20.324324 | 74 | 0.551862 | lazarevtill |
6b035add0b6daa8d234ad47186246d2cff5ee694 | 4,228 | cc | C++ | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/ast/decorated_variable_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// 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://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 29.985816 | 80 | 0.730369 | dorba |
6b068242a3f0dab24e125eb9d33607cfacdd1b8f | 2,500 | hpp | C++ | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 7 | 2019-02-26T15:09:50.000Z | 2021-09-30T07:39:01.000Z | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | null | null | null | DFNs/Executors/PerspectiveNPointSolving/PerspectiveNPointSolvingExecutor.hpp | H2020-InFuse/cdff | e55fd48f9a909d0c274c3dfa4fe2704bc5071542 | [
"BSD-2-Clause"
] | 1 | 2020-12-06T12:09:05.000Z | 2020-12-06T12:09:05.000Z | /**
* @addtogroup DFNs
* @{
*/
#ifndef PERSPECTIVENPOINTSOLVING_EXECUTOR_HPP
#define PERSPECTIVENPOINTSOLVING_EXECUTOR_HPP
#include "DFNCommonInterface.hpp"
#include <PerspectiveNPointSolving/PerspectiveNPointSolvingInterface.hpp>
#include <Types/CPP/Pose.hpp>
#include <Types/CPP/VisualPointFeatureVector2D.hpp>
#i... | 50 | 172 | 0.8108 | H2020-InFuse |
6b08b4ee5129bbb1564727a367e2e3bcdcd6b66f | 1,845 | cpp | C++ | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | 1 | 2019-11-18T00:35:08.000Z | 2019-11-18T00:35:08.000Z | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | null | null | null | test/map_tests.cpp | jmsktm/CarND-Path-Planning-Project | f23f673655ba95a9e8c1e8b01f4d971631cb4880 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <string>
#include <vector>
#include "../src/map.h"
#include "../src/waypoint.h"
using std::string;
using std::vector;
TEST_CASE("Map should contain a list of endpoints on initialization") {
Map map = Map();
vector<Waypoint> waypoints = map.getWaypoints(... | 40.108696 | 116 | 0.582114 | jmsktm |
6b08fe9f98e5c286507ff4b048e1f2c44830bd43 | 6,675 | hpp | C++ | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | Source/VkToolbox/Camera.hpp | glampert/VulkanDemo | cd9cae2dcbc790bbe6c42f811cb3aee792242ae0 | [
"MIT"
] | null | null | null | #pragma once
// ================================================================================================
// File: VkToolbox/Camera.hpp
// Author: Guilherme R. Lampert
// Created on: 24/04/17
// Brief: Simple first person camera.
// ===============================================================================... | 32.560976 | 110 | 0.523296 | glampert |
6b0eef0248262580b298fe3acf93129e143788e5 | 221 | cpp | C++ | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 251 | 2015-02-26T21:28:34.000Z | 2022-03-30T12:32:12.000Z | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 72 | 2015-03-11T03:54:46.000Z | 2022-01-21T10:23:12.000Z | src/Native/search_bndm64.cpp | tcwz/vs-chromium | 81b39383940f17c642f5a4fbfe2b881768c315bc | [
"BSD-3-Clause"
] | 88 | 2015-03-04T07:02:26.000Z | 2022-01-30T23:06:31.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "stdafx.h"
#include "search_bndm64.h"
| 27.625 | 74 | 0.723982 | tcwz |
6b107ce024a153f730255300ee26f9926cb7fff9 | 8,971 | hpp | C++ | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | INCLUDE/Vcl/fmtbcd.hpp | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'FMTBcd.pas' rev: 6.00
#ifndef FMTBcdHPP
#define FMTBcdHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Variants.hpp... | 53.718563 | 258 | 0.73916 | earthsiege2 |
6b1081d6513a948256d0627c3f7a5c9c3779ccc1 | 294 | hh | C++ | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_BezierSymmetry.hh | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 09:01:52 GMT-04:00
*/
#ifndef J_BEZIERSYMMETRY_HH
#define J_BEZIERSYMMETRY_HH
namespace frost {
namespace gen {
void J_BezierSymmetry(double *p_output1, const double *var1);
}
}
#endif // J_BEZIERSYMMETRY_HH
| 18.375 | 69 | 0.717687 | prem-chand |
6b1363396d0568fc04c2334fe9e37fe4992a1709 | 3,350 | hpp | C++ | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | include/geneticpp/individual.hpp | brentnd/geneticpp | e3a4e7c9e7985384a0546d1e96bdebaa458f77f2 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm> // std::min, std::swap_ranges
#include <functional> // std::function
#include <iostream>
#include <utility> // std::swap
#include <vector>
#include "attribute.hpp"
#include "fitness.hpp"
namespace genetic {
class individual {
public:
individual();
// crossover
template <t... | 34.536082 | 117 | 0.699104 | brentnd |
6b17a6bd185b63bf401936f6c67ec2e8a9b27894 | 1,336 | hpp | C++ | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | src/Linux/ChildProcessExperiment/ChildProcessExperiment/BinaryWriter.hpp | asmichi/playground | 08730da902c63c005817e98ec247eeb786ba15c4 | [
"MIT"
] | null | null | null | // Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details.
#pragma once
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <numeric>
#include <stdexcept>
#include <string>
#include <vector>
class BinaryWriter final
... | 22.266667 | 133 | 0.554641 | asmichi |
6b1b3b50b2fe37bdc175b66be2446214213e58e4 | 1,088 | cpp | C++ | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 397_longest-increasing-continuous-subsequence/longest-increasing-continuous-subsequence.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | /*
@Copyright:LintCode
@Author: qili
@Problem: http://www.lintcode.com/problem/longest-increasing-continuous-subsequence
@Language: C++
@Datetime: 16-07-26 00:34
*/
class Solution {
public:
int max(int a, int b) {
return a > b ? a : b;
}
/**
* @param A an array of Integer
* @ret... | 23.148936 | 84 | 0.488971 | piguin |
6b1c4adc798c9cf7f8a56fe994d78cc7db683229 | 6,050 | cc | C++ | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 2 | 2021-06-13T07:28:51.000Z | 2021-09-08T11:26:34.000Z | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | null | null | null | src/filters/particle_filter.cc | jwidauer/refill | 64947e0a8e15855f4a5ad048f09f8d38715bbe91 | [
"MIT"
] | 3 | 2021-06-01T13:21:41.000Z | 2021-06-01T20:33:20.000Z | #include "refill/filters/particle_filter.h"
using std::size_t;
using Eigen::MatrixXd;
using Eigen::VectorXd;
namespace refill {
ParticleFilter::ParticleFilter()
: num_particles_(0),
particles_(0, 0),
weights_(0),
system_model_(nullptr),
measurement_model_(nullptr),
resample_method_(... | 33.611111 | 79 | 0.722314 | jwidauer |
6b1d21f6469f9edb73a2804840722da9fb79c90b | 351 | cpp | C++ | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 1,853 | 2018-05-13T21:49:17.000Z | 2022-03-30T10:34:45.000Z | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 398 | 2018-05-15T14:48:51.000Z | 2022-03-24T12:14:33.000Z | tests/Issue45Example.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 104 | 2018-05-15T04:00:59.000Z | 2022-03-17T02:04:15.000Z | int main()
{
int x = 0;
for(; x < 20; ++x) {
x += x;
}
for(int i=0; x < 20; ++x) {
x += i;
}
for(int i = 0, y=2, t=4, o=5; i < 20; ++i) {
x += i;
}
for(int *i = &x, *y=&x; i ; ++i) {
x += *i;
}
for(;;);
char data[5]{};
for(auto& x : ... | 12.103448 | 48 | 0.270655 | galorojo |
6b1f4ef9f8f398bed644cd86cac558535e77194e | 4,175 | hh | C++ | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2016-01-17T20:41:39.000Z | 2018-05-01T12:02:58.000Z | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/transport/ConnectionManager.hh | nherment/gazebo | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2015-09-29T02:30:16.000Z | 2022-03-30T12:11:22.000Z | /*
* Copyright 2011 Nate Koenig & Andrew Howard
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 30.698529 | 75 | 0.651018 | nherment |
6b282cf7fc44dee5fc193d0a910f09c1aab123b5 | 555 | cpp | C++ | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/src/debug_test.cpp | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null |
#include <routing/call_counter.h>
#include <routing/debug.h>
#include <routing/testing.h>
#include <gtest/gtest.h>
using namespace std;
using namespace routing;
TEST(Once_in_time_test, test)
{
auto call_counter = define_void_mock<>(2, DEFINED("once in time"));
auto counter_fn = [&call_counter] { call_coun... | 20.555556 | 72 | 0.686486 | honzatran |
6b2b010c58353d60391b0c4d878aa10f9547d3a9 | 3,314 | cpp | C++ | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | src/Threading/Thread.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #include "RadonFramework/System/Threading/Thread.hpp"
#include "RadonFramework/System/Hardware/Hardware.hpp"
#include "RadonFramework/Threading/Scopelock.hpp"
#include "RadonFramework/precompiled.hpp"
namespace RadonFramework::Threading
{
Thread::Thread()
{
m_AffinityMask.Resize(RF_SysHardware::GetAvailableLogicalPr... | 20.331288 | 77 | 0.714544 | tak2004 |
6b3042475334dcb0e3c53dc27d02adfc9ce82cb2 | 417 | cpp | C++ | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | 20 | 2017-07-22T19:06:39.000Z | 2021-07-12T06:46:24.000Z | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | null | null | null | examples/set/set.cpp | lostjared/cpp17_Examples | bd754ffca5e894d877624c45db64f9dda93d880a | [
"Unlicense"
] | 7 | 2018-05-20T10:26:07.000Z | 2021-07-12T04:11:18.000Z | #include<iostream>
#include<set>
#include<string>
int main() {
std::set<std::string> ideas;
std::string idea;
while(1) {
std::cout << "Enter idea: ";
std::getline(std::cin, idea);
ideas.insert(idea);
for(auto i = ideas.begin(); i != ideas.end(); ++i) {
std::cout ... | 21.947368 | 60 | 0.484412 | lostjared |
6b3636a660101397297e7fa40df26d6bd7c2cc15 | 1,043 | hpp | C++ | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | 4 | 2018-12-21T06:57:25.000Z | 2020-07-09T09:06:38.000Z | addons/ares_compositions/Ares/Walls/Wall Sections/Military Wall Corner.hpp | Braincrushy/TBMod | 785f11cd9cd0defb0d01a6d2861beb6c207eb8a3 | [
"MIT"
] | null | null | null | class Object0 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={-0.168457,-1.55762,0};dir=0;};
class Object1 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={3.63428,-1.54736,0};dir=0;};
class Object2 {side=8;rank="";vehicle="Land_Mil_WallBig_4m_F";position[]={-3.98242,-1.59229,0};dir=0;};
class Ob... | 104.3 | 107 | 0.717162 | Braincrushy |
6b38e9bcc5b8077f5061e261b171315aa5383851 | 1,972 | cpp | C++ | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | http_service/src/register.cpp | nchalkley2/ImgboardServer | 6ee1fa06ef20442aef11c98b3e9588c116a1ef79 | [
"MIT"
] | null | null | null | #include "routes.hpp"
#include "database.hpp"
#include "account_validation.hpp"
#include <optional>
#include <string>
#include <utility>
#include <acorn>
#include <net/http/request.hpp>
namespace chan::routes
{
using namespace mana;
void
acc_register(Request_ptr req, Response_ptr res)
{
http::Request src = req... | 26.293333 | 74 | 0.632353 | nchalkley2 |
6b3f1f93fff25740320c65140bab2fa7a527e877 | 43 | cpp | C++ | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | vma.cpp | dylangentile/RayPath | 3a7e0cf78f482554bcb4155f486f1708cdc126c0 | [
"MIT"
] | null | null | null | #define VMA_IMPLEMENTATION
#include "vma.h" | 21.5 | 26 | 0.813953 | dylangentile |
6b412fe5dfc215d280ec0ea2565c47093f558bf2 | 1,558 | hpp | C++ | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | Kernel/Tasking/Processes/Threads/Thread.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | #pragma once
#include "Signals.hpp"
#include <Hardware/Trapframe.hpp>
namespace Kernel::Tasking {
constexpr size_t kernel_stack_size = 4096;
constexpr size_t user_stack_size = 512 * 4096;
// Not realy used inside the C++ code.
// Just to clarify the sequence of push / pop opertions
// inside Scheduling.s block rout... | 27.333333 | 98 | 0.712452 | Plunkerusr |
6b41ae332b2907083c9533638081806b9caf3094 | 188 | cpp | C++ | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T14:04:45.000Z | 2019-01-24T14:04:45.000Z | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-01-24T18:32:45.000Z | 2019-01-28T04:10:28.000Z | lab5/1 - concrete types/main.cpp | uiowa-cs-3210-0001/cs3210-labs | d6263d719a45257ba056a1ead7cc3dd428d377f3 | [
"MIT"
] | 1 | 2019-02-07T00:28:20.000Z | 2019-02-07T00:28:20.000Z | #include "complex.hpp"
int main()
{
complex z = {1,0};
complex a{ 2.3 }; // construct {2.3,0.0} from 2.3
complex b{ a + z };
// ...
if (a != b)
a = -b;
} | 17.090909 | 59 | 0.420213 | uiowa-cs-3210-0001 |
6b43103eb3798281232631c954ec08e0e4fa8b1a | 1,261 | cpp | C++ | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | 1 | 2017-10-25T14:45:57.000Z | 2017-10-25T14:45:57.000Z | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | null | null | null | solutions/059.cpp | procrastiraptor/euler | 1dd1040527c8de18e6325199a5939b32b8f76cac | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <iostream>
#include <numeric>
#include <string>
#include <string_view>
namespace {
using Key = std::array<char, 3>;
std::string tr(std::string_view input, Key key) {
std::string res;
res.reserve(input.size());
std::transform(
input.begin(),
input.end()... | 20.33871 | 73 | 0.547978 | procrastiraptor |
6b48e70698ce77c3730b1b9fbe02a5c548756827 | 9,515 | cpp | C++ | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | 2 | 2018-03-22T21:47:40.000Z | 2018-03-23T03:18:58.000Z | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | 14 | 2018-03-22T03:04:04.000Z | 2018-09-26T16:29:15.000Z | mandelbrot/Program.cpp | 08jne01/Mandelbrot-Explorer | 40685555165138d7fd195a02ceee4db6ea511b0f | [
"MIT"
] | null | null | null | #include "Header.h"
#include "Complex.h"
#include "InMandel.h"
#include "MandelClass.h"
#include "Program.h"
void program::init(int width_, int height_, double step_, double x_, double y_, double scale_, double greyScale_, double phase_, int fullScreen_)
{
//Set all starting parameters
width = width_;
height = h... | 20.462366 | 166 | 0.6433 | 08jne01 |
6b52ed178bfc8f6caeacf021d832505c01e2d642 | 1,060 | cpp | C++ | demo/thread.cpp | Pawapek/ocilib | 46ea6532e9ae0cf43ecc11dc2ca6542238b3d34d | [
"Apache-2.0"
] | 290 | 2015-07-07T12:53:43.000Z | 2022-02-19T13:17:56.000Z | demo/thread.cpp | Pawapek/ocilib | 46ea6532e9ae0cf43ecc11dc2ca6542238b3d34d | [
"Apache-2.0"
] | 270 | 2015-06-25T10:04:02.000Z | 2022-03-29T11:48:19.000Z | demo/thread.cpp | ljx0305/ocilib | b3d9ce9658766cc4cbd225d22f55e9f50f112a31 | [
"Apache-2.0"
] | 135 | 2015-06-24T05:38:34.000Z | 2022-03-12T06:58:55.000Z | #include <iostream>
#include "ocilib.hpp"
using namespace ocilib;
const int MaxThreads = 50;
void worker(ThreadHandle handle, void *data)
{
ThreadKey::SetValue("ID", const_cast<AnyPointer>(Thread::GetThreadId(handle)));
/* ... do some more processing here... */
std::cout << " Thread handle = " << hand... | 20.384615 | 83 | 0.537736 | Pawapek |
6b5402c64b97a3fb70ff8a2121a4cdcac33377cd | 1,344 | hpp | C++ | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | day_01/src/calculate_fuel.hpp | Krenth/Advent-of-Code-2019 | 1a8b3dadc0ee0852f12aa6788aef5c94bac06a5b | [
"MIT"
] | null | null | null | #ifndef CALCULATE_FUEL_HPP
#define CALCULATE_FUEL_HPP
#include <vector>
#include <cmath>
#include <iostream>
using namespace std;
/** Calculate Additional Fuel
* Calculates the additional fuel required for the part specific fuel.
*
* COMMENT THIS FUNCTION OUT FOR PART ONE
*/
int calculate_additional_fuel (int pa... | 27.428571 | 95 | 0.629464 | Krenth |
6b579f458a33197559c108f4151b21ae7ffbd13d | 6,103 | hpp | C++ | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/IO/Compression/Crc32Helper.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/typedefs-array.h... | 59.252427 | 196 | 0.729805 | RedBrumbler |
6b59eccfc19f7499f13abf641d0efaa774288378 | 556 | cpp | C++ | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | UnitTests/Source/Main-Tests-Run.cpp | jwolak/Equinox-Logger | 982d4a8688133299a77671e927ae9506172fe16c | [
"BSD-3-Clause"
] | null | null | null | /*#include "Command-Line-Parser-Tests.cpp"*/
#include <gtest/gtest.h>
#include "gmock/gmock.h"
#include "EquinoxLoggerTests/File-Logger-Tests.cpp"
#include "EquinoxLoggerTests/Console-Logger-Tests.cpp"
#include "EquinoxLoggerTests/Logger-Level-Tests.cpp"
#include "EquinoxLoggerTests/Logger-Output-Tests.cpp"
#include ... | 32.705882 | 71 | 0.77518 | jwolak |
6b6cab436f17d7f013f10058d542b9d919b57719 | 3,943 | cpp | C++ | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | Gear/Win32/System.cpp | Alpha255/Rockcat | f04124b17911fb6148512dd8fb260bd84702ffc1 | [
"MIT"
] | null | null | null | #include "Gear/System.h"
#include "Gear/File.hpp"
NAMESPACE_START(Gear)
namespace System
{
#if defined(PLATFORM_WIN32)
std::string getErrorMessage(uint32_t err)
{
static std::shared_ptr<char8_t> buffer(new char8_t[UINT16_MAX]());
memset(buffer.get(), 0, UINT16_MAX);
VERIFY(::FormatMessageA(
FORMAT_MESSAGE... | 24.490683 | 102 | 0.697438 | Alpha255 |
6b6dc43732deb51532d61f2c3d16c638d33f7740 | 74 | cc | C++ | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | src/aut_catch_flag.cc | schlepil/funnels_cpp_2 | 1ed746a90019f7f6aff7a54fd4b63bfbd58fa2ac | [
"MIT"
] | null | null | null | //
// Created by philipp on 1/21/20.
//
#include "aut/aut_catch_flag.hh"
| 12.333333 | 33 | 0.662162 | schlepil |
6b73864347d969b4ad938fea3a345b4d4066bd25 | 6,683 | cpp | C++ | dali/internal/system/common/performance-server.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali/internal/system/common/performance-server.cpp | Coquinho/dali-adaptor | a8006aea66b316a5eb710e634db30f566acda144 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-10-19T13:45:40.000Z | 2020-12-10T20:21:03.000Z | dali/internal/system/common/performance-server.cpp | expertisesolutions/dali-adaptor | 810bf4dea833ea7dfbd2a0c82193bc0b3b155011 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 27.845833 | 105 | 0.724226 | Coquinho |
6b778df8d301b3f59ef70bd1de11b3578c4ef526 | 6,493 | cpp | C++ | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 23 | 2015-12-14T06:06:45.000Z | 2022-03-25T10:51:42.000Z | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 3 | 2016-08-18T13:16:30.000Z | 2017-04-01T15:04:00.000Z | code/src/apps/celldetection-class/CellDetectorClass.cpp | pkainz/MICCAI2015 | 933e9e52d244ad1179713fe2f1dbb749d9e1f8d5 | [
"Apache-2.0"
] | 8 | 2015-08-18T10:31:06.000Z | 2020-12-30T13:55:01.000Z | /*
* CellDetectorClass.cpp
*
* Author: Philipp Kainz, Martin Urschler, Samuel Schulter, Paul Wohlhart, Vincent Lepetit
* Institution: Medical University of Graz and Graz University of Technology, Austria
*
*/
#include "CellDetectorClass.h"
CellDetectorClass::CellDetectorClass(TClassificationForest* rfin, AppCon... | 35.097297 | 175 | 0.652087 | pkainz |
6b7b3a65f4277ffa6cf15de6369cc343a7ff1b03 | 6,188 | cpp | C++ | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Quesa to Filament/GeomToRenderable.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | //
// GeomToRenderable.cpp
// FilamentViewer
//
// Created by James Walker on 6/3/21.
//
/* ___________________________________________________________________________
COPYRIGHT:
Copyright (c) 2021, Quesa Developers. All rights reserved.
For the current release of Quesa, please see:
... | 34.960452 | 93 | 0.730608 | h-haris |
6b8616869162bc986ad83782fd880beb74c8a518 | 554 | cpp | C++ | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | 5 | 2015-08-25T15:40:09.000Z | 2020-03-15T19:33:22.000Z | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | null | null | null | src/demo/benchmark_suite/functions/Sphere.cpp | geneial/geneial | 5e525c32b7c1e1e88788644e448e9234c93b55e2 | [
"MIT"
] | 3 | 2019-01-24T13:14:51.000Z | 2022-01-03T07:30:20.000Z | #include "Sphere.h"
#include <numeric>
#include <cmath>
#include <iostream>
double Sphere::compute(const std::vector<double>& coordinates) const
{
const double sum = std::accumulate(coordinates.begin(), coordinates.end(), 0.0, [](double a, double b)
{
return a + std::pow(b,2);
});
return sum;
... | 21.307692 | 106 | 0.644404 | geneial |
6b87810b20a9ec133ef2907ef636a66a44de7510 | 1,098 | cpp | C++ | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | tests/texture_atlas.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | /*
* TS Elements
* Copyright 2015-2018 M. Newhouse
* Released under the MIT license.
*/
#include "catch.hpp"
#include "utility/texture_atlas.hpp"
#include <vector>
#include <iostream>
using namespace ts;
using utility::TextureAtlas;
TEST_CASE("Let's see if the texture atlas works and packs in an efficient manner."... | 21.529412 | 83 | 0.641166 | mnewhouse |
6b8938d3b05591ed8a0822f19d89b89be68ab87a | 5,135 | hpp | C++ | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | 1 | 2021-12-30T13:15:05.000Z | 2021-12-30T13:15:05.000Z | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | null | null | null | src/crypto/crypto/crypto.hpp | games-on-whales/wolf | cd5aa47e0547d1bc7b093fb6cdd0582eae78b391 | [
"MIT"
] | null | null | null | #pragma once
#include <openssl/aes.h>
#include <openssl/x509.h>
#include <optional>
#include <string>
namespace crypto {
/**
* @brief Generates length random bytes using a cryptographically secure pseudo random generator (CSPRNG)
*/
std::string random(int length);
/**
* Encrypt the given msg using AES ecb at 128... | 29.511494 | 115 | 0.699708 | games-on-whales |
6b89f70aed90f8504ee7392cc765f50211d0aff9 | 968 | hpp | C++ | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 5 | 2019-05-10T19:37:22.000Z | 2021-02-14T12:22:35.000Z | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 2 | 2019-05-27T11:40:16.000Z | 2019-09-03T05:58:42.000Z | src/host/registry.hpp | Ghosty141/Terminal | c1220435bea5790ea3596b30568f724b74ce5dda | [
"MIT"
] | 2 | 2019-12-21T19:14:22.000Z | 2021-02-17T16:12:52.000Z | /*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- registry.hpp
Abstract:
- This module is used for reading/writing registry operations
Author(s):
- Michael Niksa (MiNiksa) 23-Jul-2014
- Paul Campbell (PaulCam) 23-Jul-2014
Revision History:
- From components of sr... | 22.511628 | 132 | 0.679752 | Ghosty141 |
6b8d0938aeccd4302da2742c7bc8b8af96b1a92a | 3,716 | hpp | C++ | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 7 | 2020-04-24T04:11:02.000Z | 2021-09-18T19:24:10.000Z | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 1 | 2021-08-16T20:41:48.000Z | 2021-08-16T20:41:48.000Z | gsMassAssembler.hpp | gismo/gsElasticity | a94347d4b8d8cd76de79d4b512023be9b68363bf | [
"BSD-3-Clause-Attribution"
] | 6 | 2020-05-12T11:11:51.000Z | 2021-10-21T14:13:46.000Z | /** @file gsElMassAssembler.hpp
@brief Provides mass matrix for elasticity systems in 2D plain strain and 3D continua.
This file is part of the G+Smo library.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
fi... | 34.728972 | 115 | 0.67465 | gismo |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.