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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60fe7a6990fc51147116a00050371cd827657893 | 26,418 | cpp | C++ | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 10 | 2021-08-20T05:49:10.000Z | 2022-01-07T13:00:20.000Z | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | null | null | null | XRVessels/XR2Ravenstar/XR2Ravenstar/XR2VCInstrumentPanels.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 4 | 2021-09-11T12:08:01.000Z | 2022-02-09T00:16:19.000Z | /**
XR Vessel add-ons for OpenOrbiter Space Flight Simulator
Copyright (C) 2006-2021 Douglas Beachy
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
any... | 51.901768 | 176 | 0.710652 | dbeachy1 |
60ffd00df76bd3ff64363a47b7c9937255a19811 | 1,463 | hh | C++ | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/video/RendererFactory.hh | imulilla/openMSX_TSXadv_nofork | 4ee003d87a44633c14c054bd59ec2bfd866e5d9f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #ifndef RENDERERFACTORY_HH
#define RENDERERFACTORY_HH
#include <memory>
#include "components.hh"
namespace openmsx {
class Reactor;
class Display;
class VideoSystem;
class Renderer;
class VDP;
class V9990Renderer;
class V9990;
class LDRenderer;
class LaserdiscPlayer;
/** Interface for renderer factories.
* Every ... | 26.125 | 72 | 0.755981 | imulilla |
8802203cd7eb7ab0caefe806e347713739b9aed0 | 4,490 | hpp | C++ | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | include/range/v3/view/take_while.hpp | CornedBee/range-v3 | 99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler/ra... | 34.806202 | 99 | 0.550334 | CornedBee |
8802b36004c98405f34fa5f3f746878740b9a093 | 150 | cpp | C++ | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | oop-rubook/cp4/4-3.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void f(int a) {
cout << a << endl;
}
int main() {
int i = 5;
f(10);
f(i);
return 0;
} | 10 | 22 | 0.493333 | lymven-io |
8806b37b9aa2be06a05cbdaa8b49e67111cd800f | 42,283 | cpp | C++ | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 8 | 2018-04-03T23:06:33.000Z | 2021-12-28T18:04:19.000Z | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | null | null | null | src/player.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 1 | 2020-07-31T00:23:27.000Z | 2020-07-31T00:23:27.000Z |
#include "nx.h"
#include "player.h"
#include "playerstats.h"
#include "caret.h"
#include "ObjManager.h"
#include "map.h"
#include "tsc.h"
#include "input.h"
#include "game.h"
#include "sound/sound.h"
#include "common/misc.h"
#include "ai/weapons/whimstar.h"
#include "p_arms.h"
#include "ai/sym/smoke.h"
#include "autog... | 24.886992 | 106 | 0.648133 | sodomon2 |
8807b491d190378f103c681f9f4cd16d4c807b54 | 4,889 | hpp | C++ | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | hkgmahwa/CppMicroServices | 05260dcf70e5f161da5093a5c8547b00d4d626ac | [
"Apache-2.0"
] | 1 | 2020-12-08T16:21:45.000Z | 2020-12-08T16:21:45.000Z | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | iHouLei/CppMicroServices | aa9cc47dde75ba9ead18df399ce08269c15e3aa1 | [
"Apache-2.0"
] | null | null | null | compendium/DeclarativeServices/src/manager/ReferenceManager.hpp | iHouLei/CppMicroServices | aa9cc47dde75ba9ead18df399ce08269c15e3aa1 | [
"Apache-2.0"
] | null | null | null | /*=============================================================================
Library: CppMicroServices
Copyright (c) The CppMicroServices developers. See the COPYRIGHT
file at the top-level directory of this distribution and at
https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT .
Licensed un... | 33.717241 | 123 | 0.714256 | hkgmahwa |
8809549b335c5e5d6b849af29a74696f4eb3921e | 1,021 | cpp | C++ | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | hexapod_emlid/Navio/IMUSender.cpp | helios57/hexapod | 82b4fc54f49e0acca62a42635ba8844abdb541a7 | [
"MIT"
] | null | null | null | /*
* IMUSender.cpp
*
* Created on: 26.06.2016
* Author: Helios
*/
#include "IMUSender.h"
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include "NavioLib/Util.h"
#include <string>
#include <chrono>
#include <thread>
using namespace std::chrono;
IMUSender::IMUSender(Mqtt *... | 21.270833 | 70 | 0.63859 | helios57 |
8810b94fa903c7663b7cf8eca63e37c50fb7ff07 | 28,089 | cpp | C++ | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | 2 | 2019-11-22T23:34:36.000Z | 2019-11-27T10:27:35.000Z | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | Engine/ModuleScene.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | #include "ModuleScene.h"
#include "GL/glew.h"
#include "Application.h"
#include "C_Transform.h"
#include "Viewport.h"
#include "CameraEditor.h"
#include "W_Scene.h"
#include "ImGuizmo/ImGuizmo.h"
#include "IconFontAwesome/IconsFontAwesome5.h"
#include "R_Model.h"
#include "R_Mesh.h"
#include "external/MathGeoLib/inc... | 23.683811 | 155 | 0.651323 | SOLID-TEAM |
8810fa94eb1f7caf7af65704790a018db450ca89 | 3,524 | cpp | C++ | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | 23 | 2021-12-18T09:00:40.000Z | 2022-03-24T03:25:13.000Z | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | null | null | null | src/lib/PawPet_FlashTransport.cpp | NanoCodeBug/pawpet | da5f50f98562289ef555b44b35c74373135cda7a | [
"MIT"
] | 3 | 2021-12-14T07:18:00.000Z | 2022-01-27T19:33:27.000Z |
#include "PawPet_FlashTransport.h"
PawPet_FlashTransport_SPI::PawPet_FlashTransport_SPI(uint8_t ss, SPIClass *spiinterface)
{
_cmd_read = SFLASH_CMD_READ;
_addr_len = 3; // work with most device if not set
_ss = ss;
_spi = spiinterface;
_clock_wr = _clock_rd = 4000000;
}
PawPet_FlashTransport_SP... | 21.753086 | 96 | 0.678207 | NanoCodeBug |
8811d3088cf5203a9741d816114ef5d8676aa31d | 14,055 | cpp | C++ | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | 1 | 2020-01-16T06:16:53.000Z | 2020-01-16T06:16:53.000Z | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | null | null | null | tests/IResearch/IResearchQueryLateMaterialization-test.cpp | corona3000/arangodb | e4d5a5d2d7e83b1a094c5ac01706a13fdecfc1da | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2019 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 38.401639 | 132 | 0.618072 | corona3000 |
88134cd91cf5d4dfcb9dcb98cf6d92176a79f3f1 | 9,479 | cpp | C++ | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-08-28T09:47:31.000Z | 2018-08-28T09:47:31.000Z | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 2 | 2017-10-09T10:34:44.000Z | 2017-11-29T12:20:13.000Z | _studio/mfx_lib/shared/src/mfx_log.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-01-04T06:53:11.000Z | 2018-01-04T06:53:11.000Z | // Copyright (c) 2017 Intel Corporation
//
// 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, pub... | 23.06326 | 111 | 0.58445 | jwang11 |
88137ff0b25723a3f0c6d905c0f0c047348c3982 | 417 | cpp | C++ | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 7 | 2021-03-24T16:30:45.000Z | 2022-03-27T09:02:15.000Z | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | null | null | null | 2021/12. Classes/20311029/01.Point/point.cpp | RumiChausheva/CS104 | 95f4df990f1a9d1397fc7da7cf137aa092498ea1 | [
"MIT"
] | 17 | 2021-03-22T09:42:22.000Z | 2022-03-28T03:24:07.000Z | #include <iostream>;
#include "point.h";
using namespace std;
void point::setX(int xInput)
{
x = xInput;
}
void point::setY(int yInput)
{
y = yInput;
}
point::point()
{
setX(0);
setY(0);
}
point::point(int x, int y)
{
setX(x);
setY(y);
}
point::~point()
{
}
int point::getX()
{
return x;
}
int point::ge... | 8.87234 | 52 | 0.551559 | RumiChausheva |
88143795c180073063bcd08f0ea6146e848503d9 | 13,879 | cpp | C++ | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | android/app/src/cpp/src/backend/cpu/CpuWorker.cpp | FlameSalamander/react-native-xmrig | 6a6e3b301bd78b88459989f334d759f65e434082 | [
"MIT"
] | null | null | null | /* XMRig
* Copyright (c) 2018-2020 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* 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
* ... | 28.266802 | 181 | 0.580589 | FlameSalamander |
8815bcfe8fccd69f147bdabd84a9d0701811cf62 | 2,483 | cc | C++ | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | ortools/util/proto_tools.cc | gnanakeethan/or-tools | 554cbccaa95b4c11eced13f145de1bf468e1f919 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2018 Google LLC
// 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 to in... | 37.621212 | 75 | 0.686267 | gnanakeethan |
88193b6b255dc104812c873698fe6f12c03e9468 | 911 | hpp | C++ | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Module/Encoder/Polar/Encoder_polar.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2021-11-24T01:54:41.000Z | 2021-11-24T01:54:41.000Z | #ifndef ENCODER_POLAR_HPP_
#define ENCODER_POLAR_HPP_
#include <vector>
#include "Tools/Code/Polar/Frozenbits_notifier.hpp"
#include "Module/Encoder/Encoder.hpp"
namespace aff3ct
{
namespace module
{
template <typename B = int>
class Encoder_polar : public Encoder<B>, public tools::Frozenbits_notifier
{
protected:
... | 23.358974 | 105 | 0.715697 | WilliamMajor |
881a1997d372e4b7fd93c86ee22717b4cd9a50c8 | 1,697 | hpp | C++ | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | CAD/Files/Sum.hpp | BRutan/Cpp | 8acbc6c341f49d6d83168ccd5ba49bd6824214f9 | [
"MIT"
] | null | null | null | /* Sum.hpp
-Description:
*Declare and define template Sum functions.
-Function Catalogue:
*double Sum(const T&): Return sum of passed STL container.
*double Sum<map<string,double>(const T&): Return sum of passed map<string,double>.
*double Sum(T::const_iterator&, T::const_iterator&): Overloaded Sum function,... | 27.370968 | 163 | 0.67472 | BRutan |
881c650a3cd2b5ea341bdc79641b7e35b2ad754e | 28,672 | cpp | C++ | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | mics2_3k-master2/source/movegen.cpp | Andyryo/3k | 7070471e7e8a544fa6609725f2902469b6255717 | [
"Apache-2.0"
] | null | null | null | // 指し手生成ライブラリ
#include "position.h"
#include <iostream>
using namespace std;
// ----------------------------------
// 移動による指し手
// ----------------------------------
// -----------------------------------------------
// 上位16bitに移動後の駒を格納しながらの指し手生成
// -----------------------------------------------
// 上位16bitに格... | 33.378347 | 174 | 0.642997 | Andyryo |
881f6ac9e7fb8f4edf9fbed299e36efce2431645 | 8,744 | cpp | C++ | samples/directx/d3d9_interop.cpp | VladKarpushin/opencv | 9787ab598b6609a6ca6652a12441d741cb15f695 | [
"BSD-3-Clause"
] | 17 | 2016-03-16T08:48:30.000Z | 2022-02-21T12:09:28.000Z | samples/directx/d3d9_interop.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 5 | 2017-10-15T15:44:47.000Z | 2022-02-17T11:31:32.000Z | samples/directx/d3d9_interop.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 25 | 2018-09-26T08:51:13.000Z | 2022-02-24T13:43:58.000Z | /*
// Sample demonstrating interoperability of OpenCV UMat with Direct X surface
// At first, the data obtained from video file or camera and
// placed onto Direct X surface,
// following mapping of this Direct X surface to OpenCV UMat and call cv::Blur
// function. The result is mapped back to Direct X surface and ren... | 27.496855 | 124 | 0.510293 | VladKarpushin |
8822139bf60878f5588ea0076a11292dd50b4467 | 2,123 | hpp | C++ | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/range/algorithm/next_symmetric_difference.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 38.6 | 80 | 0.688648 | kariya-mitsuru |
882850d1a88a74536a8c5926a80bf59b9fabc452 | 2,847 | cpp | C++ | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Options/EnumDropdownOption.cpp | Gin890/Arduino-Source | 9047ff584010d8ddc3558068874f16fb3c7bb46d | [
"MIT"
] | null | null | null | /* Enum Dropdown Option
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <QJsonValue>
#include <QHBoxLayout>
#include <QLabel>
#include "Common/Qt/NoWheelComboBox.h"
#include "EnumDropdownOption.h"
#include "EnumDropdownWidget.h"
namespace PokemonAutomation{
EnumDrop... | 25.19469 | 86 | 0.617492 | Gin890 |
88292f12184ed19f3e48204eeecfb922261b6126 | 433 | cpp | C++ | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | 2022.04.17-Retake control 2/Project1/Source.cpp | Hasan-bit-droid/programming-1-c-rus-2021 | 4d3fc27793a753d7c2b9c4eed31fda354792e766 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "ArrayList.h"
using namespace std;
int main()
{
int* tmp = new int[2];
tmp[0] = 2;
tmp[1] = -1;
IntArray arr1(tmp, 2, 2), arr2;
delete[] tmp;
tmp = nullptr;
for (int i = 0; i < 3; ++i)
{
arr2 += i;
}
cout << arr1 + arr2 << endl;
IntArr... | 16.037037 | 35 | 0.491917 | Hasan-bit-droid |
8831e85b1f9dbdb0c3414d0e1165c0f0c944201f | 784 | hpp | C++ | stan/math/prim/mat/fun/typedefs.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/mat/fun/typedefs.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/mat/fun/typedefs.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_MAT_FUN_TYPEDEFS_HPP
#define STAN_MATH_PRIM_MAT_FUN_TYPEDEFS_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/meta/index_type.hpp>
namespace stan {
namespace math {
/**
* Type for sizes and indexes in an Eigen matrix with double e
*/
typedef index_type<Eigen::Matr... | 22.4 | 80 | 0.727041 | jrmie |
883210c360059dd6fc0ad41f01f2f8be0c7967a6 | 2,243 | cpp | C++ | src/utils/SkBitmapChecksummer.cpp | glennw/skia | 79aa9354837bc195b83fa041b9632ea628e6f7d0 | [
"BSD-3-Clause"
] | null | null | null | src/utils/SkBitmapChecksummer.cpp | glennw/skia | 79aa9354837bc195b83fa041b9632ea628e6f7d0 | [
"BSD-3-Clause"
] | null | null | null | src/utils/SkBitmapChecksummer.cpp | glennw/skia | 79aa9354837bc195b83fa041b9632ea628e6f7d0 | [
"BSD-3-Clause"
] | null | null | null |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBitmap.h"
#include "SkBitmapChecksummer.h"
#include "SkBitmapTransformer.h"
#include "SkCityHash.h"
#include "SkEndian.h"
/**
* Write an integer value into a by... | 32.042857 | 82 | 0.701293 | glennw |
8839d685bc65ad377d64ab04340a1508308ccbe8 | 3,730 | cpp | C++ | live555/liveMedia/TheoraVideoRTPSource.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2020-05-13T19:04:11.000Z | 2020-05-13T19:04:11.000Z | live555/liveMedia/TheoraVideoRTPSource.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2021-06-11T06:11:22.000Z | 2021-06-11T06:11:22.000Z | live555/liveMedia/TheoraVideoRTPSource.cpp | SQZhangOwO/videoMonitoring | d0c5890dc161ad13e84d597faed3ef28ad171645 | [
"MIT"
] | 1 | 2018-03-12T14:18:12.000Z | 2018-03-12T14:18:12.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... | 32.719298 | 119 | 0.741555 | SQZhangOwO |
883a99791219c451be9f08ec36a8bf09b32189de | 224 | cpp | C++ | src/xray/xr_3da/xrGame/ai/monsters/snork/snork_script.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/xray/xr_3da/xrGame/ai/monsters/snork/snork_script.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/xray/xr_3da/xrGame/ai/monsters/snork/snork_script.cpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | #include "pch_script.h"
#include "snork.h"
using namespace luabind;
#pragma optimize("s",on)
void CSnork::script_register(lua_State *L)
{
module(L)
[
class_<CSnork,CGameObject>("CSnork")
.def(constructor<>())
];
}
| 14.933333 | 42 | 0.6875 | OLR-xray |
88458a22f6b44cd2895540fef216646976260e9e | 5,729 | cpp | C++ | jtk.tests/image_tests.cpp | janm31415/jtk | 513fa8ac4f3ef29d8989a82a6c46df9ba15e4d2a | [
"MIT"
] | 3 | 2021-02-15T07:58:56.000Z | 2021-02-16T01:02:38.000Z | jtk.tests/image_tests.cpp | janm31415/jtk | 513fa8ac4f3ef29d8989a82a6c46df9ba15e4d2a | [
"MIT"
] | null | null | null | jtk.tests/image_tests.cpp | janm31415/jtk | 513fa8ac4f3ef29d8989a82a6c46df9ba15e4d2a | [
"MIT"
] | null | null | null | #include "image_tests.h"
#include <stdint.h>
#define JTK_IMAGE_IMPLEMENTATION
#include "../jtk/image.h"
#include "../jtk/vec.h"
#include "test_assert.h"
namespace jtk
{
void test_fill_image()
{
int w = 10;
int h = 10;
image<uint8_t> im(w, h);
fill_image(im, (uint8_t)5);
for (int y = 0; y... | 29.838542 | 115 | 0.542678 | janm31415 |
88461e31bbf796da9378cddaf9fd57362ff01690 | 4,595 | cc | C++ | source/particles/pyG4ParticleDefinition.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 6 | 2021-08-08T08:40:13.000Z | 2022-03-23T03:05:15.000Z | source/particles/pyG4ParticleDefinition.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-12-01T14:38:06.000Z | 2022-02-10T11:28:28.000Z | source/particles/pyG4ParticleDefinition.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-07-16T13:57:34.000Z | 2022-02-07T11:17:19.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <G4DecayTable.hh>
#include <G4ParticleDefinition.hh>
#include <G4ParticleTable.hh>
#include <G4ProcessManager.hh>
#include "typecast.hh"
#include "opaques.hh"
namespace py = pybind11;
void export_G4ParticleDefinition(py::module &m)
{
py::class_<G4... | 62.094595 | 120 | 0.698585 | yu22mal |
884659826ce1551b680cc6cd72afa829794e0f01 | 10,772 | cpp | C++ | earth_enterprise/src/common/khxml/khxml.cpp | arjntc1/earthenterprise | 3a0a1dcefcd38e0d5b5257f351b6c3c0d30335fd | [
"Apache-2.0"
] | 3 | 2017-12-21T05:40:09.000Z | 2018-05-16T11:18:25.000Z | earth_enterprise/src/common/khxml/khxml.cpp | Albinlk/GoogleEarth | f8cde66d5271b1b9cdbe0b8fc7da9fdc389ce172 | [
"Apache-2.0"
] | null | null | null | earth_enterprise/src/common/khxml/khxml.cpp | Albinlk/GoogleEarth | f8cde66d5271b1b9cdbe0b8fc7da9fdc389ce172 | [
"Apache-2.0"
] | 1 | 2019-09-09T09:48:08.000Z | 2019-09-09T09:48:08.000Z | // Copyright 2017 Google Inc.
//
// 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 to in... | 30.777143 | 96 | 0.649462 | arjntc1 |
884b2bee6f74278662d506a7f6f07a42950ae39e | 919 | hpp | C++ | archive/stan/src/stan/lang/ast/fun/has_var.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | archive/stan/src/stan/lang/ast/fun/has_var.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | archive/stan/src/stan/lang/ast/fun/has_var.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_LANG_AST_FUN_HAS_VAR_HPP
#define STAN_LANG_AST_FUN_HAS_VAR_HPP
namespace stan {
namespace lang {
struct expression;
struct variable_map;
/**
* Returns true if the specified expression contains a variable
* that is defined as a parameter, defined as a transformed
... | 30.633333 | 70 | 0.674646 | alashworth |
884de5b69edacde8ef7328589432243605df8599 | 17,658 | cpp | C++ | src/BlitHelper.cpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | 1 | 2020-04-08T03:12:17.000Z | 2020-04-08T03:12:17.000Z | src/BlitHelper.cpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | src/BlitHelper.cpp | procedural/d3d12_translation_layer | fc07d09db68e304b1210a7c4d7793c944dd8151f | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "pch.h"
#include "BlitHelperShaders.h"
const UINT MAX_PLANES = 3;
namespace D3D12TranslationLayer
{
static UINT RectHeight(const RECT& r)
{
return r.bottom - r.top;
}
static UINT ... | 46.591029 | 251 | 0.606864 | procedural |
884facaedb3cf7bdc62e614a139892e1e9798e22 | 1,535 | cpp | C++ | 22_computational_geo/4_coder_rating.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | 1 | 2020-09-30T10:36:06.000Z | 2020-09-30T10:36:06.000Z | 22_computational_geo/4_coder_rating.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | null | null | null | 22_computational_geo/4_coder_rating.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
// each index of BIT will shows that patrical index coder is good than how many coders
// sample input
// 8
// 1798 1832
// 862 700
// 1075 1089
// 1568 1557
// 2575 1984
// 1033 950
// 1656 1649
// 1014 1473
class coder{
public:
int x,y,index;
};
int BIT[100... | 18.950617 | 86 | 0.521824 | meyash |
9c00f683884cd05dbf09625e898224748f1acf01 | 2,496 | hpp | C++ | RIT_Library/src/include/heap/FibonacciHeap.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | null | null | null | RIT_Library/src/include/heap/FibonacciHeap.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | 1 | 2016-02-14T18:27:05.000Z | 2016-03-15T17:32:11.000Z | BinaryIMST_Library/src/include/heap/FibonacciHeap.hpp | PWrGitHub194238/BinaryIMST | 53490c10580fd4ad61c9234b82b3140c5cce5de0 | [
"Apache-2.0"
] | null | null | null | /*
* FibonacciHeap.hpp
*
* Created on: 9 sty 2016
* Author: tomasz
*/
#ifndef SRC_INCLUDE_HEAP_FIBONACCIHEAP_HPP_
#define SRC_INCLUDE_HEAP_FIBONACCIHEAP_HPP_
#include <boost/heap/fibonacci_heap.hpp>
#include <boost/heap/policies.hpp>
#include <map>
#include "../typedefs/primitive.hpp"
#include "VertexHeap... | 29.023256 | 103 | 0.482372 | PWrGitHub194238 |
9c03bddc7b32e38d06e2c49651eff7663e3e9c8b | 22,911 | cpp | C++ | src/Etterna/Models/NoteLoaders/NotesLoaderDWI.cpp | thenerdie/etterna | 341b7c506c785e3a15e7af18814791aefff5c958 | [
"MIT"
] | null | null | null | src/Etterna/Models/NoteLoaders/NotesLoaderDWI.cpp | thenerdie/etterna | 341b7c506c785e3a15e7af18814791aefff5c958 | [
"MIT"
] | null | null | null | src/Etterna/Models/NoteLoaders/NotesLoaderDWI.cpp | thenerdie/etterna | 341b7c506c785e3a15e7af18814791aefff5c958 | [
"MIT"
] | null | null | null | #include "Etterna/Globals/global.h"
#include "Etterna/Models/Misc/Difficulty.h"
#include "Etterna/Models/Misc/GameInput.h"
#include "Etterna/FileTypes/MsdFile.h"
#include "Etterna/Models/NoteData/NoteData.h"
#include "NotesLoader.h"
#include "NotesLoaderDWI.h"
#include "Etterna/Singletons/PrefsManager.h"
#include "Rage... | 27.145735 | 78 | 0.664877 | thenerdie |
9c03d41217c99d93107abfa35710e931d917cef6 | 18,373 | hpp | C++ | libs/iterator_support/include/hpx/iterator_support/zip_iterator.hpp | folshost/hpx | 6b3dc70c4fcade16052cc964790a98522bbfc3ec | [
"BSL-1.0"
] | null | null | null | libs/iterator_support/include/hpx/iterator_support/zip_iterator.hpp | folshost/hpx | 6b3dc70c4fcade16052cc964790a98522bbfc3ec | [
"BSL-1.0"
] | null | null | null | libs/iterator_support/include/hpx/iterator_support/zip_iterator.hpp | folshost/hpx | 6b3dc70c4fcade16052cc964790a98522bbfc3ec | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2015 Hartmut Kaiser
// Copyright (c) 2014 Agustin Berge
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#if !defined(HPX_ITERATOR_SUPPORT_ZIP_ITERAT... | 32.008711 | 80 | 0.54161 | folshost |
9c03e748b59fa8c7d334a783e666a2ebc649b2a6 | 5,574 | cpp | C++ | test/shard/RelationshipTypes.cpp | raphaelsc/ragedb | 8116d17480b7a1fa9af38139b41385973e2941fd | [
"Apache-2.0"
] | 58 | 2021-07-08T14:20:54.000Z | 2022-03-31T08:20:39.000Z | test/shard/RelationshipTypes.cpp | raphaelsc/ragedb | 8116d17480b7a1fa9af38139b41385973e2941fd | [
"Apache-2.0"
] | 15 | 2021-07-29T14:37:57.000Z | 2022-03-31T04:22:36.000Z | test/shard/RelationshipTypes.cpp | raphaelsc/ragedb | 8116d17480b7a1fa9af38139b41385973e2941fd | [
"Apache-2.0"
] | 2 | 2021-07-29T14:24:57.000Z | 2021-09-08T10:14:52.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 ... | 38.441379 | 83 | 0.568353 | raphaelsc |
9c059e2aec9c9d8b24dce83de1d6acec3c311ac0 | 567 | cpp | C++ | src/test/14_pch/main.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | src/test/14_pch/main.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | src/test/14_pch/main.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | #include <UDRefl/UDRefl.h>
#include <iostream>
#include "A.h"
#include "B.h"
using namespace Ubpa;
using namespace Ubpa::UDRefl;
int main() {
RegisterA();
RegisterB();
ReflMngr::Instance().RegisterTypeAuto<std::array<size_t, 5>>();
for (const auto& [ID, info] : ReflMngr::Instance().typeinfos) {
ReflMngr::Ins... | 21 | 77 | 0.659612 | zerger |
9c06ec704aceb141270183d8ef02df4e1f4c2bae | 5,617 | cpp | C++ | Development/SDKs/1.7.1/SDK/LinearTimecode_functions.cpp | ResaloliPT/HydroneerReleases | 3a3501f04608cea77ccbf7229f94089295128ea7 | [
"Unlicense"
] | null | null | null | Development/SDKs/1.7.1/SDK/LinearTimecode_functions.cpp | ResaloliPT/HydroneerReleases | 3a3501f04608cea77ccbf7229f94089295128ea7 | [
"Unlicense"
] | null | null | null | Development/SDKs/1.7.1/SDK/LinearTimecode_functions.cpp | ResaloliPT/HydroneerReleases | 3a3501f04608cea77ccbf7229f94089295128ea7 | [
"Unlicense"
] | null | null | null | // Name: Hydroneer, Version: 1.7.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//------------------------------------------------... | 34.67284 | 238 | 0.672957 | ResaloliPT |
9c07e6dd66ea4a9466b4a4c34043497f32600893 | 1,140 | hpp | C++ | src/include/XEUI/HealthBar.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XEUI/HealthBar.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XEUI/HealthBar.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | #ifndef HEALTHBAR_H
#define HEALTHBAR_H
#include <XEScene/XESceneNode.hpp>
#include <XEMath/Vectors/Vector3.hpp>
#include <XEGraphics.hpp>
// caption Text ! ..........
// http://www.ogre3d.org/forums/viewtopic.php?f=11&t=59984&start=325
//http://www.ogre3d.org/forums/viewtopic.php?f=11&t=59984&start=450#p429016
//... | 22.8 | 88 | 0.713158 | devxkh |
9c085c989ce9407eb41fc8888b69cfb2d75a5802 | 17,588 | hpp | C++ | definitions.hpp | hardwareExplorer/HLS_IntegerNet | f656fc67c7886ef62d6d1260ea2961bf75107447 | [
"MIT"
] | null | null | null | definitions.hpp | hardwareExplorer/HLS_IntegerNet | f656fc67c7886ef62d6d1260ea2961bf75107447 | [
"MIT"
] | null | null | null | definitions.hpp | hardwareExplorer/HLS_IntegerNet | f656fc67c7886ef62d6d1260ea2961bf75107447 | [
"MIT"
] | null | null | null | #ifndef INT_OP
#define INT_OP
#include "ap_axi_sdata.h"
#include "hls_stream.h"
#include "hls_math.h"
#include <stdio.h>
#include "ap_int.h"
#include "parameters.hpp"
#include "datafilepaths.hpp"
#include <math.h>
#include <assert.h>
#include <iostream>
using namespace std;
//Absolute function
#ifdef ABS
#undef... | 20.838863 | 182 | 0.518024 | hardwareExplorer |
9c08acb3bccf04b55c60977962a0d9a3cd7e08dc | 469 | hpp | C++ | library/ATF/ATL__CSimpleStringT.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/ATL__CSimpleStringT.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/ATL__CSimpleStringT.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
namespace ATL
{
template<typename _Ty, bool _b>
struct CSimpleStringT
{
_Ty *m_pszData;
};
... | 26.055556 | 108 | 0.656716 | lemkova |
9c0906b165fb3ae23e2965a6fe1424315f08a310 | 23 | cc | C++ | chapter-10/10.28.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | 1 | 2017-04-01T06:57:30.000Z | 2017-04-01T06:57:30.000Z | chapter-10/10.28.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | chapter-10/10.28.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | //for A to Z, traverse
| 11.5 | 22 | 0.652174 | hongmi |
9c0958a316a7afd805e085798b91925bb540c2fd | 319 | hh | C++ | Mu2eG4/inc/constructProtonAbsorber.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | Mu2eG4/inc/constructProtonAbsorber.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | Mu2eG4/inc/constructProtonAbsorber.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #ifndef Mu2eG4_constructProtonAbsorber_hh
#define Mu2eG4_constructProtonAbsorber_hh
//
// Free function to construct Proton Absorber
//
//
// Original author KLG
//
namespace mu2e {
class SimpleConfig;
void constructProtonAbsorber(const SimpleConfig& _config);
}
#endif /* Mu2eG4_constructProtonAbsorber_hh */
| 16.789474 | 60 | 0.786834 | lborrel |
9c0c2e93192817a733de8322bb055cebb87a7110 | 532 | hpp | C++ | inference-engine/src/inference_engine/include/openvino/runtime/common.hpp | Nitin-Mane/openvino | 600eef24bca97fb049fc580c2d02f6982050ff6c | [
"Apache-2.0"
] | null | null | null | inference-engine/src/inference_engine/include/openvino/runtime/common.hpp | Nitin-Mane/openvino | 600eef24bca97fb049fc580c2d02f6982050ff6c | [
"Apache-2.0"
] | null | null | null | inference-engine/src/inference_engine/include/openvino/runtime/common.hpp | Nitin-Mane/openvino | 600eef24bca97fb049fc580c2d02f6982050ff6c | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief This is a header file for the OpenVINO Runtime common aliases that depend only from external API
*
* @file openvino/runtime/common.hpp
*/
#pragma once
#include <map>
#include <string>
namespace ov {
namespace ie =... | 23.130435 | 106 | 0.714286 | Nitin-Mane |
9c0e2cd4d609a6326fa2d1537b571a0fecdd8f55 | 3,385 | cpp | C++ | node/silkworm/downloader/messages/InboundGetBlockHeaders.cpp | mriccobene/silkworm | 353f5c4c4f9c9e726c9a4647cd887743ef131d48 | [
"Apache-2.0"
] | null | null | null | node/silkworm/downloader/messages/InboundGetBlockHeaders.cpp | mriccobene/silkworm | 353f5c4c4f9c9e726c9a4647cd887743ef131d48 | [
"Apache-2.0"
] | null | null | null | node/silkworm/downloader/messages/InboundGetBlockHeaders.cpp | mriccobene/silkworm | 353f5c4c4f9c9e726c9a4647cd887743ef131d48 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 The Silkworm 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 ... | 38.465909 | 115 | 0.677696 | mriccobene |
9c0f13619c98e7ae96aa0c43abfe4a772f404c8d | 874 | hpp | C++ | generator/translator_factory.hpp | kadetlessy/omim | f28560ac36899ef8694e75a36535b0f1487b285b | [
"Apache-2.0"
] | 1 | 2021-07-02T08:45:02.000Z | 2021-07-02T08:45:02.000Z | generator/translator_factory.hpp | kadetlessy/omim | f28560ac36899ef8694e75a36535b0f1487b285b | [
"Apache-2.0"
] | 1 | 2020-06-15T15:16:23.000Z | 2020-06-15T15:59:19.000Z | generator/translator_factory.hpp | maksimandrianov/omim | cbc5a80d09d585afbda01e471887f63b9d3ab0c2 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "generator/factory_utils.hpp"
#include "generator/translator_geo_objects.hpp"
#include "generator/translator_interface.hpp"
#include "generator/translator_planet.hpp"
#include "generator/translator_region.hpp"
#include "base/assert.hpp"
#include <memory>
#include <utility>
namespace generator
... | 23 | 90 | 0.74714 | kadetlessy |
9c1260ecdfc14624dfb2d660ad67b0195ef15e24 | 796 | hpp | C++ | inc/parser.hpp | Anishka0107/Wunner | 997749e44909fbb0551c4e7c630302dee72c19b8 | [
"MIT"
] | 9 | 2017-10-27T11:34:42.000Z | 2021-07-16T04:13:11.000Z | inc/parser.hpp | Anishka0107/Wunner | 997749e44909fbb0551c4e7c630302dee72c19b8 | [
"MIT"
] | 1 | 2018-03-13T15:04:42.000Z | 2018-03-15T05:39:07.000Z | inc/parser.hpp | Anishka0107/Wunner | 997749e44909fbb0551c4e7c630302dee72c19b8 | [
"MIT"
] | 7 | 2017-10-29T15:47:58.000Z | 2021-07-13T12:37:49.000Z | /*
*
* Author : Anishka Gupta
* Created on July 7, 2017
*
*/
#ifndef STOPPER
#define STOPPER "res/stop_words"
#endif // STOPPER
#ifndef PARSER
#define PARSER
#include <string>
#include <unordered_set>
#include <vector>
namespace wunner
{
class Parser
{
private:
std::vector<std::string> par... | 19.414634 | 81 | 0.611809 | Anishka0107 |
9c15e4337c3b5fb09fb768cf0f474b4aface18f1 | 1,662 | cpp | C++ | example/tuple_algorithm.cpp | deepgrace/monster | 3cb524ddaf2239f9332dc7cfbe449e085cec2a4b | [
"BSL-1.0"
] | 132 | 2019-04-02T07:47:03.000Z | 2022-03-25T10:13:38.000Z | example/tuple_algorithm.cpp | deepgrace/monster | 3cb524ddaf2239f9332dc7cfbe449e085cec2a4b | [
"BSL-1.0"
] | 2 | 2020-06-01T19:05:27.000Z | 2021-11-29T12:08:29.000Z | example/tuple_algorithm.cpp | deepgrace/monster | 3cb524ddaf2239f9332dc7cfbe449e085cec2a4b | [
"BSL-1.0"
] | 16 | 2017-08-15T02:57:24.000Z | 2022-02-25T08:01:57.000Z | //
// Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/deepgrace/monster
//
// g++ -I inclu... | 40.536585 | 125 | 0.644404 | deepgrace |
9c17377156d4660a9c98f1f68ef91d9f632838b4 | 1,267 | cpp | C++ | Data Structures/week4_binary_search_trees/3_is_bst_advanced/is_bst_hard.cpp | Roopam-mishra/Data-Structures-and-Algorithms | 0422c64769909ad82c631c14e814d958136afc18 | [
"MIT"
] | 12 | 2020-06-01T17:34:08.000Z | 2022-03-25T12:27:09.000Z | Data Structures/week4_binary_search_trees/3_is_bst_advanced/is_bst_hard.cpp | Roopam-mishra/Data-Structures-and-Algorithms | 0422c64769909ad82c631c14e814d958136afc18 | [
"MIT"
] | null | null | null | Data Structures/week4_binary_search_trees/3_is_bst_advanced/is_bst_hard.cpp | Roopam-mishra/Data-Structures-and-Algorithms | 0422c64769909ad82c631c14e814d958136afc18 | [
"MIT"
] | 2 | 2021-06-26T19:43:49.000Z | 2022-03-05T22:02:59.000Z | #include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>
#include <cstring>
#include <string>
#include <stack>
#include <queue>
#include <deque>
#include <map>
#include <set>
#include <utility>
#include <iomanip>
#include <climits>
using namespace std;
#define ll long l... | 11.623853 | 125 | 0.611681 | Roopam-mishra |
9c1b31c2fe3746bef79eb0e14df5c0bc2ce9bc9c | 3,379 | hpp | C++ | include/argot/concepts/expandable_argument_provider/detail/is_expandable_argument_provider.hpp | mattcalabrese/argot | 97349baaf27659c9dc4d67cf8963b2e871eaedae | [
"BSL-1.0"
] | 49 | 2018-05-09T23:17:45.000Z | 2021-07-21T10:05:19.000Z | include/argot/concepts/expandable_argument_provider/detail/is_expandable_argument_provider.hpp | mattcalabrese/argot | 97349baaf27659c9dc4d67cf8963b2e871eaedae | [
"BSL-1.0"
] | null | null | null | include/argot/concepts/expandable_argument_provider/detail/is_expandable_argument_provider.hpp | mattcalabrese/argot | 97349baaf27659c9dc4d67cf8963b2e871eaedae | [
"BSL-1.0"
] | 2 | 2019-08-04T03:51:36.000Z | 2020-12-28T06:53:29.000Z | /*==============================================================================
Copyright (c) 2016, 2017, 2018, 2019 Matt Calabrese
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)
=================================... | 30.169643 | 80 | 0.715004 | mattcalabrese |
9c1b66cb25f4b907ef8e44a0d4bdb310d067d325 | 14,024 | cpp | C++ | app/table_server.cpp | rolevax/libsaki | 399ea22c45fe033b011b511c65610f9405fee709 | [
"MIT"
] | 8 | 2017-11-01T20:14:42.000Z | 2022-01-18T09:06:05.000Z | app/table_server.cpp | rolevax/libsaki | 399ea22c45fe033b011b511c65610f9405fee709 | [
"MIT"
] | 31 | 2017-10-23T15:35:38.000Z | 2019-07-24T09:20:14.000Z | app/table_server.cpp | mjpancake/libsaki | 399ea22c45fe033b011b511c65610f9405fee709 | [
"MIT"
] | 18 | 2017-10-25T11:32:44.000Z | 2021-02-25T10:46:57.000Z | #include "table_server.h"
#include "../util/string_enum.h"
namespace saki
{
using namespace nlohmann;
using namespace field;
template<typename T>
void rotate(T &arr)
{
auto temp = arr[0];
arr[0] = arr[1];
arr[1] = arr[2];
arr[2] = arr[3];
arr[3] = temp;
}
TableServer::TableServer(Table::Init... | 26.018553 | 88 | 0.601897 | rolevax |
9c1cf4ed842d3c5fc0161c8f691ca8ddfabba2cb | 8,095 | hpp | C++ | third_party/libosmium/include/osmium/index/detail/vector_map.hpp | Mapotempo/osrm-backend | a62c10321c0a269e218ab4164c4ccd132048f271 | [
"BSD-2-Clause"
] | 1 | 2016-11-29T15:02:40.000Z | 2016-11-29T15:02:40.000Z | third_party/libosmium/include/osmium/index/detail/vector_map.hpp | aaronbenz/osrm-backend | 758d4023050d1f49971f919cea872a2276dafe14 | [
"BSD-2-Clause"
] | 1 | 2019-02-04T18:10:57.000Z | 2019-02-04T18:10:57.000Z | third_party/libosmium/include/osmium/index/detail/vector_map.hpp | Mapotempo/osrm-backend | a62c10321c0a269e218ab4164c4ccd132048f271 | [
"BSD-2-Clause"
] | null | null | null | #ifndef OSMIUM_INDEX_DETAIL_VECTOR_MAP_HPP
#define OSMIUM_INDEX_DETAIL_VECTOR_MAP_HPP
/*
This file is part of Osmium (http://osmcode.org/libosmium).
Copyright 2013-2015 Jochen Topf <jochen@topf.org> and others (see README).
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free... | 32.773279 | 150 | 0.519704 | Mapotempo |
9c1e39c17bd386cbcb84789c9d7bbb31e03eed7d | 12,261 | cpp | C++ | src/server/scripts/Kalimdor/Zones/ashenvale.cpp | FrenchCORE/OLD_FrenchCORE | edf1a2859246493c0667b44497c4bbb0fe718cbd | [
"OpenSSL"
] | 1 | 2019-12-03T18:41:39.000Z | 2019-12-03T18:41:39.000Z | src/server/scripts/Kalimdor/Zones/ashenvale.cpp | FrenchCORE/OLD_FrenchCORE | edf1a2859246493c0667b44497c4bbb0fe718cbd | [
"OpenSSL"
] | null | null | null | src/server/scripts/Kalimdor/Zones/ashenvale.cpp | FrenchCORE/OLD_FrenchCORE | edf1a2859246493c0667b44497c4bbb0fe718cbd | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2012 - 2012 FrenchCORE <http://www.frcore.com/>
*
* This program is free software; you c... | 25.704403 | 107 | 0.684854 | FrenchCORE |
9c1fc9a65b9d8750ed8b52b397e00c0176465aa4 | 3,229 | cpp | C++ | ARP/Utils/Mutex.cpp | dechterlab/CVO | 1085223ef383584837d6ac4ff723b9ff54b05071 | [
"MIT"
] | null | null | null | ARP/Utils/Mutex.cpp | dechterlab/CVO | 1085223ef383584837d6ac4ff723b9ff54b05071 | [
"MIT"
] | null | null | null | ARP/Utils/Mutex.cpp | dechterlab/CVO | 1085223ef383584837d6ac4ff723b9ff54b05071 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#if defined WINDOWS || _WINDOWS
#include <windows.h>
#else
#include <pthread.h>
#include "sched.h"
#endif // WINDOWS
#include <iostream>
#include "Utils/Mutex.h"
namespace ARE {
namespace utils {
RecursiveMutex::RecursiveMutex(
#ifdef USE_MUTEX_WITH_NAME
const std::string *pName
#else
void
#... | 25.832 | 96 | 0.648498 | dechterlab |
9c22a03a33ab84f85dbcdcc91a432202931503bf | 1,244 | cpp | C++ | server/Common/Packets/GCCharMoveResult.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Common/Packets/GCCharMoveResult.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Common/Packets/GCCharMoveResult.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
// GCCharMoveResult.cpp
#include "GCCharMoveResult.h"
BOOL GCCharMoveResult::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_nHandleID), sizeof(m_nHandleID));
iStream.Read( (CHAR*)(&m_nResult), sizeof(m_nResult));
iStream.Read( (CHAR*)(&m_yNumTargetPos)... | 24.392157 | 85 | 0.720257 | viticm |
9c269e91f9e590ddae266d807f163767f4371b87 | 225 | cpp | C++ | 3rdparty/build_opencv-4.5.2/modules/imgproc/box_filter.sse4_1.cpp | LordOfTheUnicorn/trdrop | 6da4bf1528878e90cf14232dfb4adeec3458ee0f | [
"MIT"
] | null | null | null | 3rdparty/build_opencv-4.5.2/modules/imgproc/box_filter.sse4_1.cpp | LordOfTheUnicorn/trdrop | 6da4bf1528878e90cf14232dfb4adeec3458ee0f | [
"MIT"
] | 7 | 2021-05-24T22:57:32.000Z | 2021-08-23T05:32:30.000Z | 3rdparty/build_opencv-4.5.2/modules/imgproc/box_filter.sse4_1.cpp | LordOfTheUnicorn/trdrop | 6da4bf1528878e90cf14232dfb4adeec3458ee0f | [
"MIT"
] | null | null | null |
#include "/Users/unicorn1343/Documents/GitHub/trdrop/3rdParty/opencv-4.5.2/modules/imgproc/src/precomp.hpp"
#include "/Users/unicorn1343/Documents/GitHub/trdrop/3rdParty/opencv-4.5.2/modules/imgproc/src/box_filter.simd.hpp"
| 56.25 | 115 | 0.813333 | LordOfTheUnicorn |
9c27bdef6458b3506e998bc543a67cad4f4fb5c9 | 1,903 | hpp | C++ | include/cxxmidi/output/default.hpp | MisterBalboa/midi-server | 62896d3342c11e063e12672edcd206a7e8cf39c9 | [
"MIT"
] | 30 | 2018-05-01T22:27:23.000Z | 2022-01-19T13:17:56.000Z | include/cxxmidi/output/default.hpp | MisterBalboa/midi-server | 62896d3342c11e063e12672edcd206a7e8cf39c9 | [
"MIT"
] | 2 | 2019-11-16T21:50:02.000Z | 2020-02-08T09:18:19.000Z | include/cxxmidi/output/default.hpp | MisterBalboa/midi-server | 62896d3342c11e063e12672edcd206a7e8cf39c9 | [
"MIT"
] | 8 | 2017-10-13T14:30:23.000Z | 2021-06-28T02:55:53.000Z | /* *****************************************************************************
Copyright (c) 2018 Stan Chlebicki
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 wi... | 40.489362 | 80 | 0.723069 | MisterBalboa |
9c2b099ae17c1befbe4e68423c9f76b37562deb8 | 8,952 | hpp | C++ | libs/network/include/network/generics/requesting_queue.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/network/include/network/generics/requesting_queue.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/network/include/network/generics/requesting_queue.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 2 | 2019-07-13T12:45:22.000Z | 2021-03-12T08:48:57.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... | 27.209726 | 98 | 0.655719 | devjsc |
9c2b41de1df782579c724c982ec3080be14e211c | 19,156 | hpp | C++ | libuavcan/include/dsdlc_generated/uavcan/protocol/GetDataTypeInfo.hpp | thiemar/vectorcontrol | 6bc7bcfdcfb4216523195ab530babfbd9a974024 | [
"MIT"
] | 55 | 2015-06-04T22:36:53.000Z | 2022-03-05T07:03:48.000Z | libuavcan/include/dsdlc_generated/uavcan/protocol/GetDataTypeInfo.hpp | donginhb/vectorcontrol | 6bc7bcfdcfb4216523195ab530babfbd9a974024 | [
"MIT"
] | 20 | 2015-08-25T13:16:19.000Z | 2019-12-11T07:52:35.000Z | libuavcan/include/dsdlc_generated/uavcan/protocol/GetDataTypeInfo.hpp | donginhb/vectorcontrol | 6bc7bcfdcfb4216523195ab530babfbd9a974024 | [
"MIT"
] | 34 | 2015-08-25T13:40:29.000Z | 2021-08-24T02:18:37.000Z | /*
* UAVCAN data structure definition for libuavcan.
*
* Autogenerated, do not edit.
*
* Source file: /Users/bendyer/Projects/ARM/workspace/libuavcan/dsdl/uavcan/protocol/2.GetDataTypeInfo.uavcan
*/
#ifndef UAVCAN_PROTOCOL_GETDATATYPEINFO_HPP_INCLUDED
#define UAVCAN_PROTOCOL_GETDATATYPEINFO_HPP_INCLUDED
#includ... | 31.715232 | 168 | 0.625966 | thiemar |
9c2c1f6b8df124447aca66a67e75e262fb13f335 | 3,932 | cpp | C++ | src/plugins/process/single_filter/medItkAddProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 61 | 2015-04-14T13:00:50.000Z | 2022-03-09T22:22:18.000Z | src/plugins/process/single_filter/medItkAddProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 510 | 2016-02-03T13:28:18.000Z | 2022-03-23T10:23:44.000Z | src/plugins/process/single_filter/medItkAddProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 36 | 2015-03-03T22:58:19.000Z | 2021-12-28T18:19:23.000Z | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2018. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.... | 25.699346 | 145 | 0.590285 | arthursw |
9c2cfc7399f456240810ba1717d1b1ad5f9bc69c | 7,669 | cpp | C++ | src/SKSE/RegistrationSetUnique.cpp | fireundubh/CommonLibSSE-po3 | cf30265f3cd3aa70a8eeff4d598754439e983ddd | [
"MIT"
] | 1 | 2021-08-30T20:33:43.000Z | 2021-08-30T20:33:43.000Z | src/SKSE/RegistrationSetUnique.cpp | fireundubh/CommonLibSSE-po3 | cf30265f3cd3aa70a8eeff4d598754439e983ddd | [
"MIT"
] | null | null | null | src/SKSE/RegistrationSetUnique.cpp | fireundubh/CommonLibSSE-po3 | cf30265f3cd3aa70a8eeff4d598754439e983ddd | [
"MIT"
] | null | null | null | #include "SKSE/RegistrationSetUnique.h"
#include "SKSE/Logger.h"
namespace SKSE
{
namespace Impl
{
RegistrationSetUniqueBase::RegistrationSetUniqueBase(const std::string_view& a_eventName) :
_handles(),
_eventName(a_eventName),
_lock()
{}
RegistrationSetUniqueBase::RegistrationSetUniqueBase(const ... | 24.501597 | 118 | 0.663972 | fireundubh |
9c3147752c52207ba6bfb4b2f97873ad5c33be58 | 750 | cpp | C++ | Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/InstructionStream.cpp | RobotGuide/RobotGuideProject | ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e | [
"MIT"
] | 2 | 2021-01-27T20:06:54.000Z | 2021-03-02T14:30:37.000Z | Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/InstructionStream.cpp | RobotGuide/RobotGuideProject | ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e | [
"MIT"
] | null | null | null | Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/InstructionStream.cpp | RobotGuide/RobotGuideProject | ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e | [
"MIT"
] | null | null | null | #include "robotguide/Communication/ApplicationLayer/Instruction/InstructionStream.h"
#include "robotguide/Communication/ApplicationLayer/Instruction/InstructionPrinter.h"
using namespace robotguide::com::applicationlayer;
InstructionStream::~InstructionStream()
{
for (auto* instruction : instructions)
{
delete in... | 20.833333 | 85 | 0.784 | RobotGuide |
9c37dce8d79eade12fec65d3e13bcdeba94e7e09 | 66,861 | cc | C++ | src/bgp-path-attrib.cc | Nat-Lab/bgp-fsm | c86b6eb8e2252d312e75c7b24b588eff4e54b4fa | [
"MIT"
] | 6 | 2020-05-11T05:32:56.000Z | 2022-01-21T13:25:37.000Z | src/bgp-path-attrib.cc | Nat-Lab/bgp-fsm | c86b6eb8e2252d312e75c7b24b588eff4e54b4fa | [
"MIT"
] | 2 | 2021-01-18T22:19:45.000Z | 2022-01-21T13:26:43.000Z | src/bgp-path-attrib.cc | Nat-Lab/bgp-fsm | c86b6eb8e2252d312e75c7b24b588eff4e54b4fa | [
"MIT"
] | null | null | null | /**
* @file bgp-path-attrib.cc
* @author Nato Morichika <nat@nat.moe>
* @brief BGP Path attributes.
* @version 0.1
* @date 2019-07-06
*
* @copyright Copyright (c) 2019
*
*/
#include "bgp-path-attrib.h"
#include "bgp-errcode.h"
#include "bgp-afi.h"
#include "value-op.h"
#include <stdlib.h>
#include <arpa/inet... | 32.871681 | 203 | 0.637337 | Nat-Lab |
9c386f0871ce737deb7e8b95a6364343dbf0391f | 17,957 | hpp | C++ | timer.hpp | joeljk13/Timer | 07174ea48f7012749ef7f1db42bd6a291c1e4d38 | [
"MIT"
] | null | null | null | timer.hpp | joeljk13/Timer | 07174ea48f7012749ef7f1db42bd6a291c1e4d38 | [
"MIT"
] | null | null | null | timer.hpp | joeljk13/Timer | 07174ea48f7012749ef7f1db42bd6a291c1e4d38 | [
"MIT"
] | null | null | null | #ifndef TIMER_HPP_
#define TIMER_HPP_ 1
#include <algorithm>
#include <chrono>
#include <iterator>
#include <numeric>
#include <utility>
#include <vector>
#include <cmath>
#include <cstddef>
/*
* Each timer stores the total number of repetitions done, and the total
* duration (from these, the duration per repetiti... | 28.368088 | 79 | 0.540736 | joeljk13 |
9c3fcc20596d48b57015504d9e0f58d0e511aa6f | 5,880 | cpp | C++ | libs/libcommon/src/shift10.cpp | ywandy/ClickHouse | a4093f2b1aba01eca7aa901bd0543f17c178b796 | [
"Apache-2.0"
] | 5 | 2018-05-10T14:40:44.000Z | 2020-12-13T11:43:15.000Z | libs/libcommon/src/shift10.cpp | ywandy/ClickHouse | a4093f2b1aba01eca7aa901bd0543f17c178b796 | [
"Apache-2.0"
] | null | null | null | libs/libcommon/src/shift10.cpp | ywandy/ClickHouse | a4093f2b1aba01eca7aa901bd0543f17c178b796 | [
"Apache-2.0"
] | 2 | 2020-05-23T04:55:22.000Z | 2020-05-24T11:30:51.000Z | #include <common/shift10.h>
#include <common/likely.h>
#include <limits>
template <typename T>
static T shift10Impl(T x, int exponent)
{
static constexpr ssize_t MIN_EXPONENT = -323;
static constexpr ssize_t MAX_EXPONENT = 308;
static const long double powers10[] =
{
1e-323L, 1e-322L, 1e-321L... | 75.384615 | 168 | 0.728571 | ywandy |
9c4344e25291feac116e958142fb34664e920d03 | 7,085 | cpp | C++ | testsuites/unittest/fs/vfat/full/It_vfs_fat_873.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 175 | 2020-10-21T15:15:18.000Z | 2022-03-31T04:59:30.000Z | testsuites/unittest/fs/vfat/full/It_vfs_fat_873.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 1 | 2020-12-20T11:41:53.000Z | 2020-12-21T04:49:33.000Z | testsuites/unittest/fs/vfat/full/It_vfs_fat_873.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 39 | 2020-10-26T03:23:18.000Z | 2022-03-28T16:23:03.000Z | /*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist... | 42.172619 | 120 | 0.664502 | qdsxinyee4 |
9c44f8381d3ce36a8ee1e3aa9fb1531936dc078a | 7,069 | hpp | C++ | Roguelike/Code/Game/MapGenerator.hpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | null | null | null | Roguelike/Code/Game/MapGenerator.hpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | 4 | 2021-05-04T03:21:49.000Z | 2021-10-06T05:21:24.000Z | Roguelike/Code/Game/MapGenerator.hpp | cugone/Roguelike | 0f53a1ae2a37e683773c1707ce4aeb056973af13 | [
"MIT"
] | 2 | 2020-01-19T00:50:34.000Z | 2021-04-01T07:51:02.000Z | #pragma once
#include "Engine/Core/DataUtils.hpp"
#include "Engine/Math/AABB2.hpp"
#include <string>
#include <vector>
class Map;
class MapGenerator {
public:
MapGenerator() = delete;
explicit MapGenerator(Map* map, const XMLElement& elem) noexcept;
MapGenerator(const MapGenerator& other) = delete;
... | 39.713483 | 104 | 0.750035 | cugone |
9c4634f2b35d113eb03512342276c4d2f462d2f0 | 2,728 | hh | C++ | src/meshReaders/test/TestHexMeshReader.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/meshReaders/test/TestHexMeshReader.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/meshReaders/test/TestHexMeshReader.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file meshReaders/test/TestHexMeshReader.hh
* \author John McGhee
* \date Thu Mar 9 08:54:59 2000
* \brief Header file for the Hex_Mesh_Reader class unit test.
* \note Copyright (C) 2016-2019 Triad National Security, LLC.... | 44 | 80 | 0.587243 | rspavel |
9c46c502f2e74c7cf2b372bb936f0b045a6e73f5 | 1,280 | hpp | C++ | sprout/math/acosh.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | 1 | 2020-02-04T05:16:01.000Z | 2020-02-04T05:16:01.000Z | sprout/math/acosh.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | sprout/math/acosh.hpp | osyo-manga/Sprout | 8885b115f739ef255530f772067475d3bc0dcef7 | [
"BSL-1.0"
] | null | null | null | #ifndef SPROUT_MATH_ACOSH_HPP
#define SPROUT_MATH_ACOSH_HPP
#include <limits>
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/math/detail/config.hpp>
#include <sprout/math/log.hpp>
#include <sprout/math/sqrt.hpp>
#include <sprout/type_traits/enabler_if.hpp>
namespace sprout {
namespa... | 28.444444 | 100 | 0.678906 | osyo-manga |
9c49e65ac75942222b2b62f7b399395aadf4c1e3 | 10,084 | cpp | C++ | Source/Urho3D/Urho2D/StaticSprite2D.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | null | null | null | Source/Urho3D/Urho2D/StaticSprite2D.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | null | null | null | Source/Urho3D/Urho2D/StaticSprite2D.cpp | jayrulez/rbfx | 8641813787d558b6e8318c1b8e9da86c0e52f9dc | [
"MIT"
] | null | null | null | //
// Copyright (c) 2008-2022 the Urho3D project.
//
// 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, m... | 26.60686 | 129 | 0.696351 | jayrulez |
9c4c318d658199d4e0531c89bc797c295bc46346 | 1,514 | cpp | C++ | src/nholthaus/avg_speed_generic.cpp | mpusz/units-compare | 1515cb8e163c9f50ebe7571aa329e5c0f332ba72 | [
"MIT"
] | 1 | 2019-05-09T12:22:07.000Z | 2019-05-09T12:22:07.000Z | src/nholthaus/avg_speed_generic.cpp | mpusz/units_compare | 1515cb8e163c9f50ebe7571aa329e5c0f332ba72 | [
"MIT"
] | null | null | null | src/nholthaus/avg_speed_generic.cpp | mpusz/units_compare | 1515cb8e163c9f50ebe7571aa329e5c0f332ba72 | [
"MIT"
] | null | null | null | #include <units.h>
#include <cassert>
#include <iostream>
namespace {
template<typename Length, typename Time,
typename = std::enable_if_t<units::traits::is_length_unit<Length>::value &&
units::traits::is_time_unit<Time>::value>>
constexpr auto avg_speed(Length d... | 21.027778 | 85 | 0.601717 | mpusz |
9c4d4e43b18262e132c658f70e801c10fd0542c7 | 1,225 | cc | C++ | test/unittests/heap/cppgc/tests.cc | yuri91/v8 | be3a6690bd47c6ff3d34188f260a67347b7d94e4 | [
"BSD-3-Clause"
] | null | null | null | test/unittests/heap/cppgc/tests.cc | yuri91/v8 | be3a6690bd47c6ff3d34188f260a67347b7d94e4 | [
"BSD-3-Clause"
] | null | null | null | test/unittests/heap/cppgc/tests.cc | yuri91/v8 | be3a6690bd47c6ff3d34188f260a67347b7d94e4 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 the V8 project 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 "test/unittests/heap/cppgc/tests.h"
#include <memory>
#include "src/heap/cppgc/object-allocator.h"
#include "test/unittests/heap/cppgc/test-p... | 26.630435 | 75 | 0.752653 | yuri91 |
9c5082762df40761a36f4ef0674a575ea7dc3b55 | 15,766 | cpp | C++ | Paper/Private/PathFitter.cpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | 20 | 2016-12-13T22:34:35.000Z | 2021-09-20T12:44:56.000Z | Paper/Private/PathFitter.cpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | null | null | null | Paper/Private/PathFitter.cpp | mokafolio/Paper | d7e9c1450b29b1d3d8873de4f959bffa02232055 | [
"MIT"
] | null | null | null | #include <Paper/Private/PathFitter.hpp>
#include <Paper/Segment.hpp>
#include <Paper/Constants.hpp>
#include <Paper/Components.hpp>
#include <Paper/Document.hpp>
namespace paper
{
namespace detail
{
using namespace stick;
using namespace crunch;
PathFitter::PathFitter(const Path & _p, ... | 40.219388 | 181 | 0.464417 | mokafolio |
9c51f793e2487a5b74d7ae60deb77e17f066bdf3 | 7,734 | cpp | C++ | source/math/BoundingBox.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 85 | 2015-04-06T05:37:10.000Z | 2022-03-22T19:53:03.000Z | source/math/BoundingBox.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 10 | 2016-03-17T11:18:24.000Z | 2021-05-11T09:21:43.000Z | source/math/BoundingBox.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 45 | 2015-09-14T03:54:01.000Z | 2022-03-22T19:53:09.000Z | #include "stdafx.h"
/*
* Copyright (c) 2007-2012 SlimDX Group
*
* 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, ... | 32.632911 | 126 | 0.678821 | HeavenWu |
9c538819091c2e282886e3d5f7770e7045cc8988 | 19,638 | cc | C++ | src/proto/core/asset-system/serialization.cc | kcpikkt/proto | 2d7458c2ce2f571303de040f660137dc0a1d33de | [
"MIT"
] | null | null | null | src/proto/core/asset-system/serialization.cc | kcpikkt/proto | 2d7458c2ce2f571303de040f660137dc0a1d33de | [
"MIT"
] | null | null | null | src/proto/core/asset-system/serialization.cc | kcpikkt/proto | 2d7458c2ce2f571303de040f660137dc0a1d33de | [
"MIT"
] | null | null | null | #include "proto/core/asset-system/serialization.hh"
#include "proto/core/asset-system/common.hh"
#include "proto/core/asset-system/interface.hh"
#include "proto/core/context.hh"
#include "proto/core/memory/common.hh"
#include "proto/core/util/algo.hh"
#include "proto/core/platform/api.hh"
#include "proto/core/ma... | 39.276 | 86 | 0.587891 | kcpikkt |
9c53e754b4f2519e6e98ef6b91ba064f480da2b0 | 42,251 | cpp | C++ | source/common/2d/v_draw.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | source/common/2d/v_draw.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | null | null | null | source/common/2d/v_draw.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | null | null | null | /*
** v_draw.cpp
** Draw patches and blocks to a canvas
**
**---------------------------------------------------------------------------
** Copyright 1998-2008 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the fol... | 26.308219 | 167 | 0.642612 | prg318 |
9c58debd046c5e7cccddb611c89309f409922d05 | 1,343 | cpp | C++ | 0029_DivideTwoIntegers.cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | null | null | null | 0029_DivideTwoIntegers.cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | null | null | null | 0029_DivideTwoIntegers.cpp | taro-masuda/leetcode | 39739e9fec7c66513b114c740ef982ccc09dc39f | [
"MIT"
] | 1 | 2020-03-18T05:23:40.000Z | 2020-03-18T05:23:40.000Z | class Solution {
public:
int divide(int dividend, int divisor) {
int dividedCount = 0;
if (dividend == - pow(2,31) && divisor == -1) return pow(2,31) - 1;
else if (dividend == - pow(2,31) && divisor > 0) {
dividend += divisor;
dividedCount++;
} else i... | 31.97619 | 75 | 0.437826 | taro-masuda |
9c5c1b835aa211d114bed2c1a8335a7b08f19f90 | 1,168 | cpp | C++ | OC_Time/main.cpp | Picrik/GameDevC- | ddc46b60605da490e9bfaf838ef7ef3ee0757eb1 | [
"MIT"
] | null | null | null | OC_Time/main.cpp | Picrik/GameDevC- | ddc46b60605da490e9bfaf838ef7ef3ee0757eb1 | [
"MIT"
] | null | null | null | OC_Time/main.cpp | Picrik/GameDevC- | ddc46b60605da490e9bfaf838ef7ef3ee0757eb1 | [
"MIT"
] | null | null | null | #include "Duree.h"
#include "Duree.cpp"
#include <iostream>
#include <string>
int main()
{
Duree duree1(0,10,20), duree2(0,10,20);
if(duree1 == duree2)
{
std::cout << "Les deux durées sont égales" << std::endl;
}
else
{
std::cout << "Les deux durées sont différentes" << std::en... | 18.83871 | 69 | 0.510274 | Picrik |
9c5fda96dffd53eb4c5a845b8ff20056735a3358 | 3,844 | cpp | C++ | sort/src/track.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 22 | 2021-03-03T10:16:37.000Z | 2022-01-05T14:47:38.000Z | sort/src/track.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 3 | 2021-05-27T01:52:16.000Z | 2021-07-13T08:49:30.000Z | sort/src/track.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 5 | 2021-03-23T07:13:05.000Z | 2022-02-18T09:10:17.000Z | #include "track.h"
Track::Track() : kf_(8, 4) {
/*** Define constant velocity model ***/
// state - center_x, center_y, width, height, v_cx, v_cy, v_width, v_height
kf_.F_ <<
1, 0, 0, 0, 1, 0, 0, 0,
0, 1, 0, 0, 0, 1, 0, 0,
0, 0, 1, 0, 0, 0, 1, 0,
0, 0, 0, 1,... | 27.654676 | 89 | 0.538502 | AsakusaRinne |
9c69bd2b5410676b272084a6a2cae6d9675822bb | 985 | cc | C++ | test/TestMoList/testMoList.cc | satyam1990/vterm | ec63cceb81ae5fd6da823c4c1a68d14d28ef3149 | [
"Apache-2.0"
] | 1 | 2015-08-13T16:24:41.000Z | 2015-08-13T16:24:41.000Z | test/TestMoList/testMoList.cc | satyam1990/vterm | ec63cceb81ae5fd6da823c4c1a68d14d28ef3149 | [
"Apache-2.0"
] | null | null | null | test/TestMoList/testMoList.cc | satyam1990/vterm | ec63cceb81ae5fd6da823c4c1a68d14d28ef3149 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* testMoList.cc
*
* Author: mSatyam
*
* 2015, August
*
* Tests functionality of MoList class.
*
*****************************************************************************/
#include <Mo.hh>
#include <MoTree.hh>
#include <MoLi... | 20.102041 | 79 | 0.463959 | satyam1990 |
9c6c70b3fb4b9efcd227a1d8a11f15c94f207c93 | 16,949 | hpp | C++ | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 2 | 2020-11-11T12:28:27.000Z | 2022-01-31T20:31:28.000Z | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 15 | 2018-09-30T12:48:50.000Z | 2020-07-14T18:36:50.000Z | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 3 | 2019-01-04T07:04:44.000Z | 2020-09-06T16:53:21.000Z | //MIT License
//
//Copyright(c) 2018 Alex Kasitskyi
//
//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, merg... | 36.215812 | 305 | 0.507877 | akasitskyi |
9c6d268f18ebb2c2bafee2693648469da86c18ae | 1,479 | hpp | C++ | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ANIMUS_ERROR
#define ANIMUS_ERROR
#include <exception>
#include "types/types.hpp"
#include "macros/debug.hpp"
#include "String.hpp"
namespace Animus {
class FilePath;
ANIMUS_REQUIRES_STD
typedef std::exception Exception;
template<>
String toString<Exception>(Exception e);
class Fil... | 22.753846 | 55 | 0.648411 | RobertZ2011 |
9c6dbdb68a3782646162e49f1a23ab4db1ea444b | 4,130 | cpp | C++ | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | 4 | 2015-12-16T09:41:32.000Z | 2018-10-29T10:38:53.000Z | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | 3 | 2015-11-15T18:43:47.000Z | 2015-12-16T09:43:14.000Z | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 22.81768 | 80 | 0.559564 | pavanky |
9c71361e56669242af745684ec1ffb7baf5ca14c | 124,888 | cpp | C++ | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Collections.Generic.List`1<UnityEngine.IntegratedSubsystem>
struct List_1_t2DAF7481782912A6F8E6180AC19B83A5EEFEE9EF;
// System.Collections.Generic.List`1<UnityEngine.Inte... | 55.309123 | 482 | 0.860227 | SympactDev |
9c735bf6af29787e98f05da1227267d7a744d6f0 | 615 | cpp | C++ | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | 6 | 2017-11-18T02:16:35.000Z | 2017-12-17T06:30:40.000Z | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int myAtoi(string str)
{
long result = 0;
int indicator = 1;
for(int i = 0; i<str.size();)
{
i = str.find_first_not_of(' ');
if(str[i] == '-' || str[i] == '+')
indicator = (str[i++] == '-')? -1 : 1;
while('0'<= str[i] && str[i] <= '9')
... | 25.625 | 75 | 0.466667 | corn1ng |
9c73ecae9b79b0c5b9de87ea14b95de23ecd250d | 900 | cpp | C++ | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | #include <gsl/gsl>
#include <iostream>
#include <vector>
#include <string>
// Filtering a list of phone numbers
// type const& == const type & ??
auto phone_filter(std::vector<std::string> const& vec, int region) {
std::vector<std::string> filtered;
for (auto const& num : vec) {
int start = 0;
... | 23.684211 | 68 | 0.526667 | zsef123 |
9c7453cd80a2006e8089b0fad4094d4be7f4f562 | 1,564 | cpp | C++ | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | #include "ds18b20.h"
#include <dirent.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <QTimer>
const std::string prefixPath = "/sys/bus/w1/devices/";
const std::string suffixPath = "/w1_slave";
DS18B20::DS18B20() {
// Load kernel modules
system("modprobe w1-gpio");
system("modprobe w1-t... | 21.135135 | 67 | 0.633632 | rsmohamad |
9c746bbadd0da38723f11ccb962acb91fa8862fe | 814 | hpp | C++ | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | null | null | null | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | null | null | null | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | 1 | 2019-10-02T01:48:54.000Z | 2019-10-02T01:48:54.000Z | #pragma once
#include "Engine/Net/NetCommonH.hpp"
#include "Engine/Core/EngineCommonH.hpp"
class NetMessage;
class NetCube;
class ClientInputs;
namespace GameNetMessages
{
enum eNetGameMessageIdx : uint8
{
TEST_GAME_MESSAGE = eNetCoreMessageIdx::NET_CORE_COUNT,
UNRELIABLE_TEST = 128,
RELIABLE_TEST = 129... | 25.4375 | 73 | 0.791155 | tonyatpeking |
9c752bbabc0b259c4b2c69150c641d15da3ae3b7 | 129 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:1df6c55d9fbc80cdae67fa7355baed48fe6e8196b1cd76fa1d5763e15721b107
size 3094
| 32.25 | 75 | 0.883721 | initialz |
9c77d24bdcf222bf25c72a96c52c9a3bbc20d852 | 5,287 | hpp | C++ | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | // =============================================================================
//
// ztd.text
// Copyright © 2021 JeanHeyd "ThePhD" Meneide and Shepherd's Oasis, LLC
// Contact: opensource@soasis.org
//
// Commercial License Usage
// Licensees holding valid commercial ztd.text licenses may use this file in
//... | 38.591241 | 115 | 0.682239 | vector-of-bool |
9c797df7d5706dd486efcb8177dc4faf27e33af4 | 11,829 | hpp | C++ | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Name: CglGMIParam.hpp
// Author: Giacomo Nannicini
// Singapore University of Technology and Design
// email: nannicini@sutd.edu.sg
// based on CglRedSplitParam.hpp by Francois Margot
// Date: 11/17/09
//-------------------------------------------------------------------------... | 37.671975 | 79 | 0.692958 | Justin790126 |
9c7c0f8e33dd30d0e296c048c48d704cc8af5cc0 | 1,113 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_GasBursts_Volcano_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------... | 26.5 | 222 | 0.699012 | 2bite |
9c7d0916457b3e049acac543b2a436029bcf7d3e | 7,930 | cxx | C++ | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 11 | 2016-08-02T03:40:36.000Z | 2022-03-15T13:41:29.000Z | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | null | null | null | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 8 | 2017-03-17T05:59:25.000Z | 2021-02-27T08:51:46.000Z | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | 43.571429 | 251 | 0.823077 | wobbier |
9c7f9cbaf88a9959eea7bfb55b988729f70323a3 | 2,677 | cpp | C++ | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | #include "SdlGl/GlBlendState.hpp"
#include <Utils/Assert.hpp>
namespace p7 {
namespace gfx {
namespace {
GLenum ToGl(BlendFactor _mode)
{
switch (_mode)
{
case BlendFactor::Zero:
return GL_ZERO;
case BlendFactor::One:
return GL_ONE;
case BlendFactor::SrcColor:
return GL_SRC... | 26.245098 | 64 | 0.676877 | txfx |
9c8491f5264122260f355e92073bad852f03aa9d | 3,922 | cpp | C++ | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 25 | 2019-08-07T02:38:39.000Z | 2022-01-14T03:13:58.000Z | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 6 | 2020-01-17T20:51:15.000Z | 2021-03-11T12:38:29.000Z | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 2 | 2019-08-24T19:02:12.000Z | 2020-06-11T06:14:34.000Z | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <thread>
#include <future>
#include "SoftTimer.h"
using namespace std;
using namespace LIO;
using testing::Return;
ACTION_P(SignalCallback,promise){
promise->set_value();
}
class SoftTimerTest:public testing::Test{
public:
MOCK_METHOD0(timeoutCallba... | 33.810345 | 95 | 0.736614 | perimeno |
9c855d8c173cfb98705482064533bfa65db1cd3f | 10,739 | cpp | C++ | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... | 32.740854 | 80 | 0.683676 | brion |
9c87c51a97c4421addfaa8e5ece97abaa99b33f4 | 949 | hh | C++ | build/x86/enums/Characteristic.hh | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/enums/Characteristic.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 1 | 2020-08-20T05:53:30.000Z | 2020-08-20T05:53:30.000Z | build/X86/enums/Characteristic.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __ENUM__Enums__Characteristic__
#define __ENUM__Enums__Characteristic__
namespace Enums {
enum Characteristic {
APM = 10,
CDBoot = 15,
CGA_Mono = 30,
EDD = 19,
EISA = 6,
ESCD = 14,
Flash = 11,
Floppy_3_5_2_88MB = 25,
Floppy_3_5_720KB =... | 22.595238 | 61 | 0.531085 | billionshang |
9c8c5670a30b5ae9e953705bbe10b29b2c313ae6 | 1,265 | hpp | C++ | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ComponentModel.TypeConverter... | 46.851852 | 158 | 0.756522 | v0idp |
9c8e0164e2ae0912463351e1d0841ffae07f3294 | 8,902 | hpp | C++ | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | 2 | 2015-09-11T08:17:20.000Z | 2018-03-13T07:21:15.000Z | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | null | null | null | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | null | null | null | #ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
#ifndef constexpr
#define constexpr const
#endif
#ifndef noexcept
#define noexcept
#endif
namespace ssvu
{
#if _MSC_VER >= 1800
namespace I... | 47.860215 | 237 | 0.722197 | darknesswind |
9c8faec10be00269a642a7d957b1bc3e8ea8eabc | 2,343 | cpp | C++ | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-01-23T07:18:07.000Z | 2022-01-23T07:18:07.000Z | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | null | null | null | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-02-05T11:53:04.000Z | 2022-02-05T11:53:04.000Z | #include<bits/stdc++.h>
using namespace std;
#define pii pair<int,int>
#define pll pair<ll,ll>
#define eb emplace_back
#define ll long long
#define nl '\n'
#define deb(x) cerr<<#x" = "<<x<<nl
#define in() ( { int a ; scanf("%d",&a); a; } )
const int N = 3e5 + 9;
const int mod = 1e9 + 7;
struct dsu {
vector<int> par... | 23.908163 | 72 | 0.414853 | Tech-Intellegent |
9c987e59eae32e12af209dcda318a10226d51962 | 866 | cpp | C++ | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | 1 | 2021-06-14T22:44:01.000Z | 2021-06-14T22:44:01.000Z | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | null | null | null | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | 1 | 2021-06-04T12:44:06.000Z | 2021-06-04T12:44:06.000Z | #include "RenderableGameObject.h"
#include "PhysicsModel.h"
#include "Camera.h"
bool RenderableGameObject::Initialize(
const std::string& filePath,
ID3D11Device* device,
ID3D11DeviceContext* context,
ConstantBuffer<CB_VS_matrix>& cb_vs_vertexshader )
{
if ( !model.Initialize( filePath, device, context, cb_vs_vert... | 26.242424 | 74 | 0.743649 | kyle-robinson |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.