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 108 | 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 67k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9dcaf21f2b056bb30dd41f33926eda6d8d7ad3af | 1,753 | cpp | C++ | artoo/src/factorytest.cpp | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 68 | 2019-09-23T03:27:05.000Z | 2022-03-12T03:00:41.000Z | artoo/src/factorytest.cpp | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 22 | 2019-10-26T20:15:56.000Z | 2022-02-12T05:41:56.000Z | artoo/src/factorytest.cpp | meee1/OpenSolo | 6f299639adbad1e8d573c8ae1135832711b600e4 | [
"Apache-2.0"
] | 33 | 2019-09-29T19:52:19.000Z | 2022-03-12T03:00:43.000Z | #include "factorytest.h"
#include "buttonmanager.h"
#include "haptic.h"
#include "buzzer.h"
#include "ili9341parallel.h"
#include "board.h"
void FactoryTest::onOutputTest(const uint8_t *bytes, unsigned len)
{
/*
* Dispatched from hostprotocol.
*/
if (len < 5) {
return;
}
static cons... | 23.689189 | 91 | 0.588705 | meee1 |
9dd244eabc31b4f9ed8df9741f05078fccc1b9a1 | 2,129 | cpp | C++ | src/examples/test_executor.cpp | woggle/mesos-old | 54b4894efb6c5645eb530d993355559d548f768d | [
"Apache-2.0"
] | null | null | null | src/examples/test_executor.cpp | woggle/mesos-old | 54b4894efb6c5645eb530d993355559d548f768d | [
"Apache-2.0"
] | null | null | null | src/examples/test_executor.cpp | woggle/mesos-old | 54b4894efb6c5645eb530d993355559d548f768d | [
"Apache-2.0"
] | 3 | 2017-03-29T04:57:55.000Z | 2020-07-25T20:10:54.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 27.649351 | 78 | 0.700798 | woggle |
9dd509d3b1d33d66d013245fae5c7fb30442a6ed | 14,191 | cpp | C++ | Common/network/src/worker_thread.cpp | deeptexas-ai/test | f06b798d18f2d53c9206df41406d02647004ce84 | [
"MIT"
] | 4 | 2021-10-20T09:18:06.000Z | 2022-03-27T05:08:26.000Z | Common/network/src/worker_thread.cpp | deeptexas-ai/test | f06b798d18f2d53c9206df41406d02647004ce84 | [
"MIT"
] | 1 | 2021-11-05T03:28:41.000Z | 2021-11-06T07:48:05.000Z | Common/network/src/worker_thread.cpp | deeptexas-ai/test | f06b798d18f2d53c9206df41406d02647004ce84 | [
"MIT"
] | 1 | 2021-12-13T16:04:22.000Z | 2021-12-13T16:04:22.000Z | #include "worker_thread.h"
#include "socket_manager.h"
namespace network
{
CWorkerThread::CWorkerThread()
{
m_nNotifyReadFd = INVALID_SOCKET;
m_nNotifySendFd = INVALID_SOCKET;
m_base = NULL;
}
CWorkerThread::~CWorkerThread()
{
if(INVALID_SOCKET != m_nNoti... | 35.389027 | 198 | 0.549503 | deeptexas-ai |
9dd9cbda5f437b167f3828e590502a2766fe4e92 | 639 | cpp | C++ | source/Ch18/drill/chapter18.2.cpp | TangoPango2008/UDProg-Introduction | 3d98eb5c6fd9896e5c8bbd939bcf7061370b9a5c | [
"CC0-1.0"
] | null | null | null | source/Ch18/drill/chapter18.2.cpp | TangoPango2008/UDProg-Introduction | 3d98eb5c6fd9896e5c8bbd939bcf7061370b9a5c | [
"CC0-1.0"
] | null | null | null | source/Ch18/drill/chapter18.2.cpp | TangoPango2008/UDProg-Introduction | 3d98eb5c6fd9896e5c8bbd939bcf7061370b9a5c | [
"CC0-1.0"
] | null | null | null | #include "../std_lib_facilities.h"
vector<int> gv{1,2,4,8,16,31,64,128,256,512};
/*void initialize(vector<int> vr){
for(int i = 0; i < vr.size(); i ++)
vr[i] = pow(2,i);
}*/
void f(vector<int>& vr){
vector<int> lv(10);
for(int i = 0; i < lv.size(); i ++)
lv[i] = vr[i];
for(int i = 0; i < lv.size(); i ++)
... | 16.384615 | 45 | 0.494523 | TangoPango2008 |
9ddcf2c3e4774ded9507ec9d5f69f9970bc02fb5 | 47,040 | cpp | C++ | Engine/Rogy.cpp | Yavuz1234567890/Rogy-Engine- | ccabed511be0a7d719d0e8793b91a11fe08024ea | [
"MIT"
] | 1 | 2021-01-07T03:10:21.000Z | 2021-01-07T03:10:21.000Z | Engine/Rogy.cpp | LigthWood/Rogy-Engine- | 9690d05a7cc99fffa492eef5303568ae227682b8 | [
"MIT"
] | null | null | null | Engine/Rogy.cpp | LigthWood/Rogy-Engine- | 9690d05a7cc99fffa492eef5303568ae227682b8 | [
"MIT"
] | null | null | null | #include "Rogy.h"
#include "gizmos\debug_gizmos.h"
#include "physics\GLDebugDrawer.h"
DDRenderInterfaceCoreGL* ddGizmos;
// Window weigh and height
int SCR_weight, SCR_height;
// ---------------------------------------------------------------
// ## Editor Camera Movment
// ------------------------------------------... | 31.826793 | 146 | 0.665859 | Yavuz1234567890 |
9ddf8608c4c60af12c876f221d5734553df3a7ed | 394 | cpp | C++ | source/Highscore.cpp | JROB774/block-fever | 9977ac6725e1adf5f86706e04da725e3df8a9c69 | [
"MIT"
] | 1 | 2022-01-14T01:10:02.000Z | 2022-01-14T01:10:02.000Z | source/Highscore.cpp | JROB774/block-fever | 9977ac6725e1adf5f86706e04da725e3df8a9c69 | [
"MIT"
] | null | null | null | source/Highscore.cpp | JROB774/block-fever | 9977ac6725e1adf5f86706e04da725e3df8a9c69 | [
"MIT"
] | null | null | null | int Highscore::highscore;
void Highscore::setScore (const int arg_highscore) {
highscore = arg_highscore;
}
int Highscore::getScore (void) {
return highscore;
}
bool Highscore::addScore (const int arg_score) {
bool newBest = (arg_score > highscore);
if (newBest) { highscore = arg_score; }
... | 13.133333 | 52 | 0.667513 | JROB774 |
9de029d03df9d6015c2060a20fd98321b2cadb2e | 299 | cpp | C++ | vlr-util/util.AutoCleanupBase.cpp | nick42/vlr-util | 937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91 | [
"Artistic-2.0"
] | null | null | null | vlr-util/util.AutoCleanupBase.cpp | nick42/vlr-util | 937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91 | [
"Artistic-2.0"
] | null | null | null | vlr-util/util.AutoCleanupBase.cpp | nick42/vlr-util | 937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91 | [
"Artistic-2.0"
] | null | null | null | #include "pch.h"
#include "util.AutoCleanupBase.h"
NAMESPACE_BEGIN( vlr )
NAMESPACE_BEGIN( util )
HRESULT CAutoCleanupBase::OnDestroy_DoCleanup()
{
m_bDoCleanupCalled = true;
if (!m_bDoCleanup)
{
return S_FALSE;
}
return DoCleanup();
}
NAMESPACE_END //( util )
NAMESPACE_END //( vlr )
| 13 | 47 | 0.715719 | nick42 |
9de2a95465c9ad9226b95005fbb33e37e059feaa | 146 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+vnl_rational-.cxx | eile/ITK | 2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1 | [
"Apache-2.0"
] | 4 | 2015-05-22T03:47:43.000Z | 2016-06-16T20:57:21.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+vnl_rational-.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_file_matrix+vnl_rational-.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | 9 | 2016-06-23T16:03:12.000Z | 2022-03-31T09:25:08.000Z | #include <vnl/vnl_file_matrix.txx>
#include <vnl/vnl_rational.h>
#include <vnl/vnl_rational_traits.h>
VNL_FILE_MATRIX_INSTANTIATE(vnl_rational);
| 24.333333 | 42 | 0.821918 | eile |
9de5202d1d5bde83729ab91a78fad9f1ca7d1902 | 13,578 | cpp | C++ | libs/hwdrivers/src/aria/src/ArSocket_LIN.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | null | null | null | libs/hwdrivers/src/aria/src/ArSocket_LIN.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | null | null | null | libs/hwdrivers/src/aria/src/ArSocket_LIN.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | 1 | 2021-08-16T11:50:47.000Z | 2021-08-16T11:50:47.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 22.442975 | 83 | 0.625423 | yhexie |
9de941dbce1feace4f6f6f220917ac3b755808d0 | 752 | cpp | C++ | src/gameLoopDriver.cpp | jacobrs/risk-game | 29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5 | [
"MIT"
] | null | null | null | src/gameLoopDriver.cpp | jacobrs/risk-game | 29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5 | [
"MIT"
] | null | null | null | src/gameLoopDriver.cpp | jacobrs/risk-game | 29ed2a58a9d5cf2fd28881876e1fabe4ed0e8ee5 | [
"MIT"
] | null | null | null | #include <iostream>
#include "./headers/Game.h"
#include "./headers/GameMap.h"
#include "./headers/MapLoader.h"
using namespace std;
int main(int args, char** argv){
// Initialize a new game with a valid map
MapLoader* loader = new MapLoader("./src/map/World.map");
loader->importMap();
GameMap* map = loade... | 25.931034 | 59 | 0.68484 | jacobrs |
9df3872b428bbb1a548e4547d54e1a4ea7b3d499 | 1,581 | cpp | C++ | details/pbkdf2.cpp | VlinderSoftware/securitylayer | 0daef0efe08af2649b164affcbdd30845a7806cd | [
"Apache-2.0"
] | 1 | 2020-07-16T01:34:06.000Z | 2020-07-16T01:34:06.000Z | details/pbkdf2.cpp | blytkerchan/securitylayer | 0daef0efe08af2649b164affcbdd30845a7806cd | [
"Apache-2.0"
] | 1 | 2020-07-23T02:55:31.000Z | 2020-07-23T02:55:31.000Z | details/pbkdf2.cpp | blytkerchan/securitylayer | 0daef0efe08af2649b164affcbdd30845a7806cd | [
"Apache-2.0"
] | 1 | 2020-07-03T00:06:20.000Z | 2020-07-03T00:06:20.000Z | /* Copyright 2020 Ronald Landheer-Cieslak
*
* 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 a... | 32.9375 | 152 | 0.683112 | VlinderSoftware |
9df43eb3a77ee94dfb0d61a5da7fcf9890aa3f42 | 4,933 | cpp | C++ | src/brokerlib/message/handler/src/ServiceRegistryRegisterRequestHandler.cpp | chrissmith-mcafee/opendxl-broker | a3f985fc19699ab8fcff726bbd1974290eb6e044 | [
"Apache-2.0",
"MIT"
] | 13 | 2017-10-15T14:32:34.000Z | 2022-02-17T08:25:26.000Z | src/brokerlib/message/handler/src/ServiceRegistryRegisterRequestHandler.cpp | vkrish-mcafee/opendxl-broker | 39c5d06c233dbe01146f0db781eccfd67bbaafbf | [
"Apache-2.0",
"MIT"
] | 14 | 2017-10-17T18:23:50.000Z | 2021-12-10T22:05:25.000Z | src/brokerlib/message/handler/src/ServiceRegistryRegisterRequestHandler.cpp | vkrish-mcafee/opendxl-broker | 39c5d06c233dbe01146f0db781eccfd67bbaafbf | [
"Apache-2.0",
"MIT"
] | 26 | 2017-10-27T00:27:29.000Z | 2021-09-02T16:57:55.000Z | /******************************************************************************
* Copyright (c) 2018 McAfee, LLC - All Rights Reserved.
*****************************************************************************/
#include "include/BrokerSettings.h"
#include "include/SimpleLog.h"
#include "json/include/JsonService.... | 40.105691 | 120 | 0.668964 | chrissmith-mcafee |
9df533f023df50f4bdb15435aa666002deabc746 | 7,660 | cpp | C++ | slave_driver/slave_uwb(Deprecated)/src/uwb_node.cpp | hanruihua/multirobot_slave | 7264efc29d9572db4ff4165d4374b1e8ddb39c26 | [
"MIT"
] | 1 | 2020-06-04T13:00:27.000Z | 2020-06-04T13:00:27.000Z | slave_driver/slave_uwb(Deprecated)/src/uwb_node.cpp | hanruihua/multirobot_slave | 7264efc29d9572db4ff4165d4374b1e8ddb39c26 | [
"MIT"
] | null | null | null | slave_driver/slave_uwb(Deprecated)/src/uwb_node.cpp | hanruihua/multirobot_slave | 7264efc29d9572db4ff4165d4374b1e8ddb39c26 | [
"MIT"
] | 3 | 2019-06-10T03:56:33.000Z | 2021-07-29T03:52:30.000Z | #include <serial/serial.h>
#include <std_msgs/String.h>
#include <std_msgs/Empty.h>
#include <ros/ros.h>
#include <iostream>
#include "data_typedef.h"
#include <geometry_msgs/Point.h>
#include <slave_msgs/uwb_position.h>
#include <string.h>
std::string id;
template<typename T> std::string toString(const T& t){
... | 45.868263 | 130 | 0.568146 | hanruihua |
9df61e9e192f873c21543dd272661bfb11d3dd01 | 6,890 | cpp | C++ | CSGOSimple/features/skins.cpp | lukizel/baluware | 5d76d5616537d9812ee38bbb41b3abf596cb8830 | [
"Unlicense"
] | null | null | null | CSGOSimple/features/skins.cpp | lukizel/baluware | 5d76d5616537d9812ee38bbb41b3abf596cb8830 | [
"Unlicense"
] | null | null | null | CSGOSimple/features/skins.cpp | lukizel/baluware | 5d76d5616537d9812ee38bbb41b3abf596cb8830 | [
"Unlicense"
] | 1 | 2020-12-04T20:36:19.000Z | 2020-12-04T20:36:19.000Z | #include "skins.hpp"
static auto erase_override_if_exists_by_index( const int definition_index ) -> void {
if( k_weapon_info.count( definition_index ) ) {
auto& icon_override_map = g_Options.skins.m_icon_overrides;
const auto& original_item = k_weapon_info.at( definition_index );
if( original_item.icon && icon_o... | 43.333333 | 159 | 0.730914 | lukizel |
9df94a3925d8d6c6bf4f6423dd18cbcdac719f3c | 2,427 | cpp | C++ | AIO/tennis robot/tennis.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | 3 | 2021-05-15T08:18:09.000Z | 2021-05-17T04:41:57.000Z | AIO/tennis robot/tennis.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | null | null | null | AIO/tennis robot/tennis.cpp | eddiegz/Personal-C | f7869826216e5c665f8f646502141f0dc680e545 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll=long long;
using pii=pair<int,int>;
#define ff first
#define ss second
//#define DEBUG
const int MAXN=1e5+5;
bool done[MAXN];
priority_queue<pii,vector<pii>,greater<pii>> order;
ll ans=0;ll ind=1;
ll b,n;
void solve();
int main(){
ios::sync_with_stdio(false... | 23.563107 | 51 | 0.347342 | eddiegz |
9dfacc1cd005107d4b7276d9c934bada29f75f44 | 252 | cpp | C++ | test/TestEnvironment.cpp | Gaoadt/heaps | 83e03b4ef3af32dbebdfb29c1461d2f7d8a9cbaa | [
"MIT"
] | null | null | null | test/TestEnvironment.cpp | Gaoadt/heaps | 83e03b4ef3af32dbebdfb29c1461d2f7d8a9cbaa | [
"MIT"
] | null | null | null | test/TestEnvironment.cpp | Gaoadt/heaps | 83e03b4ef3af32dbebdfb29c1461d2f7d8a9cbaa | [
"MIT"
] | null | null | null | #include "TestEnvironment.h"
std::string Heaps::Testing::heapParamName(const testing::TestParamInfo<HeapBehaviourTest::ParamType>& info)
{
IHeapTestingEnvironment* env = dynamic_cast<IHeapTestingEnvironment *>(info.param);
return env->ToString();
}
| 31.5 | 107 | 0.789683 | Gaoadt |
9dfcfe0cde70b39c4f35a71c91688fa83f9c78f1 | 797 | hpp | C++ | include/Pomdog/Input/GamepadButtons.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | include/Pomdog/Input/GamepadButtons.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | include/Pomdog/Input/GamepadButtons.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_GAMEPADBUTTONS_7EF60FA0_HPP
#define POMDOG_GAMEPADBUTTONS_7EF60FA0_HPP
#include "ButtonState.hpp"
#include <cstdint>
namespace Pomdog {
class GamepadButtons {
public:
ButtonState A = Button... | 28.464286 | 70 | 0.769134 | bis83 |
9dfe4bbf5abf8a747614274f7bed7a27280f9299 | 1,863 | hpp | C++ | ModSource/breakingpoint_ui/LoadingScreenBase.hpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 70 | 2017-06-23T21:25:05.000Z | 2022-03-27T02:39:33.000Z | ModSource/breakingpoint_ui/LoadingScreenBase.hpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 84 | 2017-08-26T22:06:28.000Z | 2021-09-09T15:32:56.000Z | ModSource/breakingpoint_ui/LoadingScreenBase.hpp | nrailuj/breakingpointmod | e102e106b849ca78deb3cb299f3ae18c91c3bfe9 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 71 | 2017-06-24T01:10:42.000Z | 2022-03-18T23:02:00.000Z | /*
Breaking Point Mod for Arma 3
Released under Arma Public Share Like Licence (APL-SA)
https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Alderon Games Pty Ltd
*/
idd = 101;
onLoad = "[""onLoad"",_this,""RscDisplayLoading""] call compile preprocessfilelinenumbers ""breakingpoint_ui\scri... | 22.445783 | 154 | 0.656468 | nrailuj |
3b044568e4bab00c1c92c7ab908b910c6b3f9536 | 4,786 | cpp | C++ | src/bind/file/explorer_util.cpp | e-ntro-py/win-vind | 1ec805420732c82a46e2c79720db728ded792814 | [
"MIT"
] | null | null | null | src/bind/file/explorer_util.cpp | e-ntro-py/win-vind | 1ec805420732c82a46e2c79720db728ded792814 | [
"MIT"
] | null | null | null | src/bind/file/explorer_util.cpp | e-ntro-py/win-vind | 1ec805420732c82a46e2c79720db728ded792814 | [
"MIT"
] | null | null | null | #include "explorer_util.hpp"
#include <filesystem>
#include <memory>
#include <exdisp.h>
#include <shlobj.h>
#include "core/errlogger.hpp"
#include "util/def.hpp"
#include "util/smartcom.hpp"
#include "util/string.hpp"
#include "util/winwrap.hpp"
namespace vind
{
namespace bind {
//This is based on htt... | 37.390625 | 129 | 0.516924 | e-ntro-py |
3b0764534c0184331705ea13e0cbacbefdc3ba0e | 989 | hpp | C++ | include/gui/Button.hpp | Kihau/GoGame | db6b2dfcf373b3cc07d76d6551d83e0e9a73d6c5 | [
"MIT"
] | null | null | null | include/gui/Button.hpp | Kihau/GoGame | db6b2dfcf373b3cc07d76d6551d83e0e9a73d6c5 | [
"MIT"
] | null | null | null | include/gui/Button.hpp | Kihau/GoGame | db6b2dfcf373b3cc07d76d6551d83e0e9a73d6c5 | [
"MIT"
] | null | null | null | #ifndef BUTTON_H
#define BUTTON_H
#include "gui/GuiComponent.hpp"
// TODO: To implement either of the systems
// 1. Add c#-like callback event system (and use lamba expression to add callbacks)
// 2. Create fields for all button events, return their reault via callback methods (if callback method return true - execut... | 29.969697 | 136 | 0.703741 | Kihau |
3b08228e5c654d05653c5e65890400cd6a33fbac | 16,056 | cc | C++ | RAVL2/GUI/2D/MarkupPolygon2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/GUI/2D/MarkupPolygon2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/GUI/2D/MarkupPolygon2d.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2006, Omniperception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 31.116279 | 189 | 0.572496 | isuhao |
3b0b6bec179e47c47b2c521e79ffde4856c4ebc3 | 3,687 | cpp | C++ | libyul/optimiser/CommonSubexpressionEliminator.cpp | step21/solidity | 2a0d701f709673162e8417d2f388b8171a34e892 | [
"MIT"
] | null | null | null | libyul/optimiser/CommonSubexpressionEliminator.cpp | step21/solidity | 2a0d701f709673162e8417d2f388b8171a34e892 | [
"MIT"
] | 1 | 2020-06-17T14:24:49.000Z | 2020-06-17T14:24:49.000Z | libyul/optimiser/CommonSubexpressionEliminator.cpp | step21/solidity | 2a0d701f709673162e8417d2f388b8171a34e892 | [
"MIT"
] | null | null | null | /*(
This file is part of solidity.
solidity is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
solidity is distributed in the hope that ... | 32.06087 | 91 | 0.743423 | step21 |
3b0edc5dbfb4cbcfc3e15b030794300154e55356 | 337 | cpp | C++ | Olamundo/for/main.cpp | tosantos1/LIP | 7dbc045afa02729f4e2f2f1d3b29baebf5be72ad | [
"MIT"
] | null | null | null | Olamundo/for/main.cpp | tosantos1/LIP | 7dbc045afa02729f4e2f2f1d3b29baebf5be72ad | [
"MIT"
] | null | null | null | Olamundo/for/main.cpp | tosantos1/LIP | 7dbc045afa02729f4e2f2f1d3b29baebf5be72ad | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int x, n, resultado = 1;
cout << "Informe a base: ";
cin >> x;
cout << "Informe o expoente: ";
cin >> n;
for(int cont = 0;cont < n ; cont ++){
resultado = resultado * x;
}
cout << "Resultado: " << resultado << endl;
... | 12.481481 | 47 | 0.504451 | tosantos1 |
3b16176f55073f6c49713121e4807033f10f1bd4 | 969 | cpp | C++ | Contests/Codeforces/CF1011/C.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Contests/Codeforces/CF1011/C.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Contests/Codeforces/CF1011/C.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define ld long double
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=1010;
const ld eps=1e-6;
const int inf=2147483647;
int n,m;
int A[maxN],B[maxN];
bool Check(ld fuel... | 17.944444 | 44 | 0.597523 | SYCstudio |
3b1832611024fb775e8dbaf17e7a8171b5ac5884 | 9,162 | cc | C++ | cpp/src/arrow/ipc/file.cc | DonaldFoss/ApacheArrow | 4226adfbc6b3dff10b3fe7a6691b30bcc94140bd | [
"Apache-2.0"
] | 1 | 2020-04-23T01:11:36.000Z | 2020-04-23T01:11:36.000Z | cpp/src/arrow/ipc/file.cc | DonaldFoss/ApacheArrow | 4226adfbc6b3dff10b3fe7a6691b30bcc94140bd | [
"Apache-2.0"
] | 1 | 2021-12-09T23:06:13.000Z | 2021-12-09T23:06:14.000Z | cpp/src/arrow/ipc/file.cc | DonaldFoss/ApacheArrow | 4226adfbc6b3dff10b3fe7a6691b30bcc94140bd | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 31.163265 | 90 | 0.712726 | DonaldFoss |
3b18d006cb1a4aecc50530df0653ab4a48f9fd60 | 421 | cpp | C++ | components/xtl/tests/stl/ptrunf1.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/stl/ptrunf1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/stl/ptrunf1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include <stl/algorithm>
#include <stl/functional>
#include <stdio.h>
using namespace stl;
inline bool even (int n)
{
return (n % 2) == 0;
}
int main ()
{
printf ("Results of ptrunf1_test:\n");
int array [3] = {1,2,3};
int* p = find_if ((int*)array,(int*)array+3,pointer_to_unary_function<i... | 16.84 | 91 | 0.565321 | untgames |
3b1a2072dde5c79af4b33b31479b7aed692d8418 | 473 | cpp | C++ | Unrest-iOS/Line.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 11 | 2020-08-04T08:37:46.000Z | 2022-03-31T22:35:15.000Z | CRAB/Line.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 1 | 2020-12-16T16:51:52.000Z | 2020-12-18T06:35:38.000Z | Unrest-iOS/Line.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 7 | 2020-08-04T09:34:20.000Z | 2021-09-11T03:00:16.000Z | #include "stdafx.h"
#include "Line.h"
//------------------------------------------------------------------------
// Purpose: Draw a line from start to end
//------------------------------------------------------------------------
void DrawLine(const int &x1, const int &y1, const int &x2, const int &y2,
const Uint... | 39.416667 | 74 | 0.469345 | arvindrajayadav |
3b1ac9dda4777a3a580d8f60463a3e14f5405b78 | 7,881 | cc | C++ | src/xqp/interact.cc | DouglasRMiles/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 5 | 2019-11-20T02:05:31.000Z | 2022-01-06T18:59:16.000Z | src/xqp/interact.cc | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | null | null | null | src/xqp/interact.cc | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 2 | 2022-01-08T13:52:24.000Z | 2022-03-07T17:41:37.000Z | /***************************************************************************
interact.cc - QP interaction widget
-------------------
begin : April 2004
copyright : (C) 2004 by Peter Robinson
email : pjr@itee.uq... | 23.455357 | 91 | 0.572643 | DouglasRMiles |
3b203d53e5a024e99f1e865213bfbfed82c12618 | 820 | cpp | C++ | sieveOfEratosthenes.cpp | akashsharma99/2ndSemPractise | ba854e8ef5089ad627cee6f7c8828b711437affa | [
"MIT"
] | null | null | null | sieveOfEratosthenes.cpp | akashsharma99/2ndSemPractise | ba854e8ef5089ad627cee6f7c8828b711437affa | [
"MIT"
] | null | null | null | sieveOfEratosthenes.cpp | akashsharma99/2ndSemPractise | ba854e8ef5089ad627cee6f7c8828b711437affa | [
"MIT"
] | null | null | null | // C++ program to print all primes smaller than or equal to n using Sieve of Eratosthenes
#include <iostream>
#include<string.h>//for memset function to set memory to a particular value
using namespace std;
void SieveOfEratosthenes(int n)
{
bool prime[n+1];
memset(prime, true, sizeof(prime));
for (int p=2... | 22.777778 | 89 | 0.562195 | akashsharma99 |
3b235ca287c4678c50d4b36cf5e7fb6bea1c368b | 1,828 | cpp | C++ | doubly-linked-list/tests/unit/ConstructorTest.cpp | JMazurkiewicz/PROI-projects | d135f8c170a584ef56399a6f7818cc221047d40c | [
"MIT"
] | null | null | null | doubly-linked-list/tests/unit/ConstructorTest.cpp | JMazurkiewicz/PROI-projects | d135f8c170a584ef56399a6f7818cc221047d40c | [
"MIT"
] | null | null | null | doubly-linked-list/tests/unit/ConstructorTest.cpp | JMazurkiewicz/PROI-projects | d135f8c170a584ef56399a6f7818cc221047d40c | [
"MIT"
] | null | null | null | #include "DoublyLinkedList.h"
#include "Test.h"
#include <vector>
namespace {
void defaultConstructorTest() {
DoublyLinkedList<int> list;
TEST(list.getSize() == 0);
TEST(list.isEmpty());
TEST(list.begin() == list.end());
}
void listConstructorTest() {
DoublyLinked... | 25.388889 | 67 | 0.556346 | JMazurkiewicz |
3b238c796f289e927cbc5cd078f6372d39ea3cc8 | 1,294 | hh | C++ | include/netpoll.hh | henglinli/runtime | 2ec1981113f35dee1ea793dad2fab197152d5e08 | [
"BSD-3-Clause"
] | 1 | 2016-08-24T16:57:21.000Z | 2016-08-24T16:57:21.000Z | include/netpoll.hh | henglinli/runtime | 2ec1981113f35dee1ea793dad2fab197152d5e08 | [
"BSD-3-Clause"
] | null | null | null | include/netpoll.hh | henglinli/runtime | 2ec1981113f35dee1ea793dad2fab197152d5e08 | [
"BSD-3-Clause"
] | null | null | null | // -*-coding:utf-8-unix;-*-
//
#pragma once
//
#include "macros.hh"
//
namespace NAMESPACE {
//
template<typename Impl>
class NetPoll {
public:
//
NetPoll() = default;
~NetPoll() = default;
//
auto Init() -> int {
return static_cast<Impl*>(this)->init();
}
//
auto Open(int fd, void *ptr) -> int {
... | 19.313433 | 67 | 0.618238 | henglinli |
3b2420953d8544cfa292505e8536ffda0ffe47e1 | 1,085 | cc | C++ | example/udp_example.cc | jiejieTop/doralib | bf587aab93860a84e6d3cedf1dad206a44834f2e | [
"Apache-2.0"
] | 4 | 2020-11-04T04:44:08.000Z | 2021-12-16T08:38:05.000Z | example/udp_example.cc | jiejieTop/doralib | bf587aab93860a84e6d3cedf1dad206a44834f2e | [
"Apache-2.0"
] | 1 | 2020-11-04T14:29:43.000Z | 2020-11-05T04:51:33.000Z | example/udp_example.cc | jiejieTop/doralib | bf587aab93860a84e6d3cedf1dad206a44834f2e | [
"Apache-2.0"
] | 2 | 2020-11-25T17:27:33.000Z | 2021-02-24T09:31:00.000Z | /*
* @Author: jiejie
* @GitHub: https://github.com/jiejieTop
* @Date: 2020-10-27 18:34:01
* @LastEditors: jiejie
* @LastEditTime: 2020-11-15 11:46:20
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
*/
#include "dora_socket.h"
#include "dor... | 25.232558 | 121 | 0.576037 | jiejieTop |
3b2541469df1539733a74e9a7850caedac2e44a1 | 6,500 | cpp | C++ | ClockWork_Engine/GameObject.cpp | xsiro/NewClockWork_Engine | 8da27311b179c6812e52d62cacbdd8ba7b538d9a | [
"MIT"
] | null | null | null | ClockWork_Engine/GameObject.cpp | xsiro/NewClockWork_Engine | 8da27311b179c6812e52d62cacbdd8ba7b538d9a | [
"MIT"
] | null | null | null | ClockWork_Engine/GameObject.cpp | xsiro/NewClockWork_Engine | 8da27311b179c6812e52d62cacbdd8ba7b538d9a | [
"MIT"
] | null | null | null | #include "GameObject.h"
#include "ModuleComponent.h"
#include "ModuleTransform.h"
#include "ModuleMesh.h"
#include "ModuleMaterial.h"
#include "imgui.h"
#include "Application.h"
#include "Cam.h"
#include "JSON.h"
#include "MathGeoLib/include/MathGeoLib.h"
#include <vector>
GameObject::GameObject() : enabled(true), n... | 19.061584 | 134 | 0.687692 | xsiro |
3b255d7d62fc90118f6999020039bb50710658ab | 31,837 | cpp | C++ | libgambatte/src/memory.cpp | Gorialis/BizHawk | 096277122553d38d87fa11c0cfe4d45e2682b939 | [
"MIT"
] | null | null | null | libgambatte/src/memory.cpp | Gorialis/BizHawk | 096277122553d38d87fa11c0cfe4d45e2682b939 | [
"MIT"
] | null | null | null | libgambatte/src/memory.cpp | Gorialis/BizHawk | 096277122553d38d87fa11c0cfe4d45e2682b939 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2007 by sinamas <sinamas at users.sourceforge.net>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// This program is distributed in the hope tha... | 24.17388 | 109 | 0.675001 | Gorialis |
3b26ff012400f88317639b9e2c1da2dba5c24d62 | 1,931 | cpp | C++ | euler/tasks/11/main.cpp | pg83/zm | ef9027bd9ee260118fdf80e8b53361da1b7892f3 | [
"MIT"
] | null | null | null | euler/tasks/11/main.cpp | pg83/zm | ef9027bd9ee260118fdf80e8b53361da1b7892f3 | [
"MIT"
] | null | null | null | euler/tasks/11/main.cpp | pg83/zm | ef9027bd9ee260118fdf80e8b53361da1b7892f3 | [
"MIT"
] | null | null | null | #include <euler/lib/euler.h>
static const unsigned data[] = {
#include "data.h"
};
static unsigned xy(size_t x, size_t y) noexcept {
return data[x + y * 20];
}
int main() {
unsigned max = 0;
for (size_t i = 0; i <= 16; ++i) {
for (size_t j = 0; j <= 16; ++j) {
const auto a1 = xy(... | 29.707692 | 109 | 0.337649 | pg83 |
3b2abbdc675cc379208cf0ac240f906852675bfe | 1,713 | cpp | C++ | third_party/libigl/include/igl/orient_halfedges.cpp | chefmramos85/monster-mash | 239a41f6f178ca83c4be638331e32f23606b0381 | [
"Apache-2.0"
] | 1,125 | 2021-02-01T09:51:56.000Z | 2022-03-31T01:50:40.000Z | third_party/libigl/include/igl/orient_halfedges.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 19 | 2021-02-01T12:36:30.000Z | 2022-03-19T14:02:50.000Z | third_party/libigl/include/igl/orient_halfedges.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 148 | 2021-02-13T10:54:31.000Z | 2022-03-28T11:55:20.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2020 Oded Stein <oded.stein@columbia.edu>
//
// 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 file, You can
// obtain one at http://mo... | 34.959184 | 350 | 0.638646 | chefmramos85 |
3b2d2515bc65e7317ef6348de67ea288b25eade0 | 1,082 | cpp | C++ | sandbox/ardupilot/libraries/AP_HAL_AVR_SITL/utility/print_vprintf.cpp | prabhu-dev/LineDetectorLengthFix | 2450bae17eb8bfbf0e3b942d765c5c4954715bde | [
"MIT"
] | null | null | null | sandbox/ardupilot/libraries/AP_HAL_AVR_SITL/utility/print_vprintf.cpp | prabhu-dev/LineDetectorLengthFix | 2450bae17eb8bfbf0e3b942d765c5c4954715bde | [
"MIT"
] | null | null | null | sandbox/ardupilot/libraries/AP_HAL_AVR_SITL/utility/print_vprintf.cpp | prabhu-dev/LineDetectorLengthFix | 2450bae17eb8bfbf0e3b942d765c5c4954715bde | [
"MIT"
] | null | null | null | // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
* vprintf for SITL
*
* This firmware 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 2.1 of the License, or (... | 27.05 | 91 | 0.554529 | prabhu-dev |
3b2e518527a3f0b45f97e73a0bea9f5f94ce10d0 | 944 | cpp | C++ | Chapter01/unique_ptr_3/unique_ptr_3.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | 41 | 2017-08-25T07:13:57.000Z | 2022-01-06T12:28:33.000Z | Chapter01/unique_ptr_3/unique_ptr_3.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | null | null | null | Chapter01/unique_ptr_3/unique_ptr_3.cpp | Vaibhav-Kashyap/-Learning-CPP-Functional-Programming-packt | 3c7ef5fcfb161870b644595c69fdb3a3522d8411 | [
"MIT"
] | 26 | 2017-08-10T21:12:25.000Z | 2021-11-17T07:25:04.000Z | /* unique_ptr_3.cpp */
#include <memory>
#include <iostream>
using namespace std;
struct BodyMass
{
int Id;
float Weight;
BodyMass(int id, float weight) :
Id(id),
Weight(weight)
{
cout << "BodyMass is constructed!" << endl;
cout << "Id = " << Id << endl;
cout <... | 17.811321 | 60 | 0.576271 | Vaibhav-Kashyap |
3b2ee455cae2e0886c62e163dada2132d3255fc6 | 11,549 | cc | C++ | src/Publisher_TEST.cc | amtj/ign-transport | 3b386bf46efd2fc0b847aa7fd3911b1d9d27546c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/Publisher_TEST.cc | amtj/ign-transport | 3b386bf46efd2fc0b847aa7fd3911b1d9d27546c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/Publisher_TEST.cc | amtj/ign-transport | 3b386bf46efd2fc0b847aa7fd3911b1d9d27546c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* 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 appl... | 37.618893 | 75 | 0.707334 | amtj |
3b320c221eb4a7ead447225e0a7a17c50466a9ce | 8,123 | cpp | C++ | wbsTools/MatchStations/MatchStationView.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 6 | 2017-05-26T21:19:41.000Z | 2021-09-03T14:17:29.000Z | wbsTools/MatchStations/MatchStationView.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 5 | 2016-02-18T12:39:58.000Z | 2016-03-13T12:57:45.000Z | wbsTools/MatchStations/MatchStationView.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 1 | 2019-06-16T02:49:20.000Z | 2019-06-16T02:49:20.000Z |
// BioSIMView.cpp : implementation of the CDPTView class
//
#include "stdafx.h"
#include "MatchStationDoc.h"
#include "MatchStationView.h"
#include "resource.h"
#include "CommonRes.h"
//#include "StudiesDefinitionsDlg.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
using names... | 26.118971 | 175 | 0.688416 | RNCan |
3b328a615d674927e3346252a3a0993be5362697 | 240 | inl | C++ | include/AKLib/Math/Math.inl | xXAKShredder8Xx/AKLib | b85d116203f6670e1f7a80c9d5396d4dc1a71f2c | [
"Apache-2.0",
"MIT"
] | null | null | null | include/AKLib/Math/Math.inl | xXAKShredder8Xx/AKLib | b85d116203f6670e1f7a80c9d5396d4dc1a71f2c | [
"Apache-2.0",
"MIT"
] | null | null | null | include/AKLib/Math/Math.inl | xXAKShredder8Xx/AKLib | b85d116203f6670e1f7a80c9d5396d4dc1a71f2c | [
"Apache-2.0",
"MIT"
] | null | null | null |
NSB(AKLib)
NSB(Math)
template <typename T>
AKL_INLINE T Interpolate(T goal, T current, T dt)
{
T diff = goal - current;
if (diff > dt)
return current + dt;
else if (diff < -dt)
return current - dt;
return goal;
}
NSE()
NSE() | 11.428571 | 50 | 0.633333 | xXAKShredder8Xx |
3b379f14f51d5b4d3c2e1c6c6f7111629aa4f1a6 | 374 | cpp | C++ | TitaniumRose/src/TitaniumRose/ImGui/ImGuiLayer.cpp | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | TitaniumRose/src/TitaniumRose/ImGui/ImGuiLayer.cpp | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | TitaniumRose/src/TitaniumRose/ImGui/ImGuiLayer.cpp | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | #include "trpch.h"
#include "TitaniumRose/Core/Application.h"
#include "TitaniumRose/ImGui/ImGuiLayer.h"
#include "Platform/D3D12/ImGui/D3D12ImGuiLayer.h"
#include "Platform/D3D12/D3D12Renderer.h"
namespace Roses {
ImGuiLayer::ImGuiLayer()
: Layer("ImGuiLayer")
{
}
ImGuiLayer* ImGuiLayer::Initialize()
{
ret... | 19.684211 | 53 | 0.751337 | Zinadore |
3b37e0b30f21af95462d0a795b0951952a41f91a | 905 | cpp | C++ | widgets/demos/ex-pixmap-puzzle/main.cpp | sfaure-witekio/qt-training-material | d166e4ed9cc5f5faab85b0337c5844c4cdcb206e | [
"BSD-3-Clause"
] | 16 | 2017-01-11T17:28:03.000Z | 2021-09-27T16:12:01.000Z | widgets/demos/ex-pixmap-puzzle/main.cpp | sfaure-witekio/qt-training-material | d166e4ed9cc5f5faab85b0337c5844c4cdcb206e | [
"BSD-3-Clause"
] | null | null | null | widgets/demos/ex-pixmap-puzzle/main.cpp | sfaure-witekio/qt-training-material | d166e4ed9cc5f5faab85b0337c5844c4cdcb206e | [
"BSD-3-Clause"
] | 4 | 2017-03-17T02:44:32.000Z | 2021-01-22T07:57:34.000Z | /*************************************************************************
*
* Copyright (c) 2016 The Qt Company
* All rights reserved.
*
* See the LICENSE.txt file shipped along with this file for the license.
*
*************************************************************************/
#include <QApplication>
... | 24.459459 | 77 | 0.558011 | sfaure-witekio |
3b3a7df34b79fb8dcc536cd44ff18ae03bc28e00 | 2,729 | cpp | C++ | cpe-2015-projects/DragonCommon/libsrc/common/vectorDataReader.cpp | patinyanudklin/git_testing | 81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1 | [
"Unlicense"
] | null | null | null | cpe-2015-projects/DragonCommon/libsrc/common/vectorDataReader.cpp | patinyanudklin/git_testing | 81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1 | [
"Unlicense"
] | null | null | null | cpe-2015-projects/DragonCommon/libsrc/common/vectorDataReader.cpp | patinyanudklin/git_testing | 81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1 | [
"Unlicense"
] | null | null | null | extern "C"
{
#include "drelease.h"
char VECTORDATAREADER_CPP_ID[]=
"\0@(#) " __FILE__ " $Revision: 1.5 $$Date: 2014/12/05 14:24:30 $";
D_REL_IDSTR;
}
/*
* filename vectorDataReader.cpp
* $Revision: 1.5 $ $Date: 2014/12/05 14:24:30 $
*
* ~~ Copyright 2006-2014 Kurt Rudahl and Sally Goldin
*
* All rights ... | 28.427083 | 90 | 0.649322 | patinyanudklin |
3b3f3b6e8b2c8150e6f24ea3e59292c18ba96f26 | 1,695 | cpp | C++ | Codeforces/MartianClock.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | Codeforces/MartianClock.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | Codeforces/MartianClock.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <memory>
#include <iomanip>
#include <functional>
#include <new>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <cstdlib>... | 20.670732 | 83 | 0.448378 | aajjbb |
3b4322c6f705b67ed97afeb8531cfa7f6b73476f | 1,499 | cpp | C++ | YorozuyaGSLib/source/CNationCodeStrTable.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/CNationCodeStrTable.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/CNationCodeStrTable.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <CNationCodeStrTable.hpp>
START_ATF_NAMESPACE
CNationCodeStrTable::CNationCodeStrTable()
{
using org_ptr = void (WINAPIV*)(struct CNationCodeStrTable*);
(org_ptr(0x140204ad0L))(this);
};
void CNationCodeStrTable::ctor_CNationCodeStrTable()
{
using org_ptr = void (W... | 32.586957 | 75 | 0.656438 | lemkova |
3b43cc073be6bca95c262d235393cab10753d940 | 5,868 | cpp | C++ | tests/PreProcessingModules/LowPassFilterUnitTest.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 818 | 2015-01-03T05:21:04.000Z | 2022-03-30T00:43:09.000Z | tests/PreProcessingModules/LowPassFilterUnitTest.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 131 | 2015-01-26T08:50:57.000Z | 2022-01-12T07:51:53.000Z | tests/PreProcessingModules/LowPassFilterUnitTest.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 301 | 2015-01-15T12:36:54.000Z | 2022-03-14T20:12:10.000Z | #include <GRT.h>
#include "gtest/gtest.h"
using namespace GRT;
//Unit tests for the GRT LowPassFilter module
const std::string modelFilename = "lpf_model.grt";
Float ROUND( const Float x ){ return roundf(x*100.0)/100.0; } //Round the value to 3 decimal places
Float GET_FILTER_FACTOR( const Float freq, const Float delt... | 30.247423 | 172 | 0.680641 | torydebra |
3b45bf22611ddbfab35ceb9a29144266fef5de08 | 3,240 | cpp | C++ | Plugins/UPIDController/Source/UPIDController/Private/PIDController.cpp | yukilikespie/RobCoG_FleX-4.16 | a6d1e8c0abb8ac1e36c5967cb886de8c154b2948 | [
"BSD-3-Clause"
] | null | null | null | Plugins/UPIDController/Source/UPIDController/Private/PIDController.cpp | yukilikespie/RobCoG_FleX-4.16 | a6d1e8c0abb8ac1e36c5967cb886de8c154b2948 | [
"BSD-3-Clause"
] | null | null | null | Plugins/UPIDController/Source/UPIDController/Private/PIDController.cpp | yukilikespie/RobCoG_FleX-4.16 | a6d1e8c0abb8ac1e36c5967cb886de8c154b2948 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017, Institute for Artificial Intelligence - University of Bremen
// Author: Andrei Haidu (http://haidu.eu)
#include "PIDController.h"
// Default constructor
PIDController::PIDController()
{
}
// Constructor
PIDController::PIDController(float ProportionalVal, float IntegralVal, float DerivativeVal,
f... | 19.171598 | 92 | 0.678395 | yukilikespie |
8dc733651fdb8c8b76d1b8b6948c7f664ef06090 | 2,493 | cpp | C++ | timus/task1003_b.cpp | greendwin/puzzles | 5df1175f178d0c3e1ffa765160057d90e9da37cd | [
"MIT"
] | null | null | null | timus/task1003_b.cpp | greendwin/puzzles | 5df1175f178d0c3e1ffa765160057d90e9da37cd | [
"MIT"
] | null | null | null | timus/task1003_b.cpp | greendwin/puzzles | 5df1175f178d0c3e1ffa765160057d90e9da37cd | [
"MIT"
] | null | null | null |
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <queue>
#include <algorithm>
#include <iterator>
#include <cassert>
#pragma warning(disable : 4018)
#ifdef ONLINE_JUDGE
typedef long long INT64;
typedef unsigned long long UINT64;
#else
typedef __int64 ... | 18.744361 | 112 | 0.503811 | greendwin |
8dc88f5b26149aaab6708a59350ed317f96aeabb | 5,657 | cpp | C++ | src/TestXE/XETInput/WindowState.cpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/TestXE/XETInput/WindowState.cpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/TestXE/XETInput/WindowState.cpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | #include "WindowState.hpp"
#include <memory>
#include <iostream>
void WindowState::createFrameListener(void)
{
}
WindowState::WindowState(XE::XEngine& engine, bool replace)
: XE::XEState(engine, replace)
{
XE::LogManager::getSingleton().logMessage("InitState - Initialization");
//SetResource();
//------------... | 35.136646 | 149 | 0.688704 | devxkh |
8dca289b3ce427d887e1719af626f72e11d5a62d | 522 | cpp | C++ | src/render/src/sge_render/backend/dx11/Render_DX11_Common.cpp | SimpleTalkCpp/SimpleGameEngine | 755c989995d07768bdc77175404fdcb2eb69c2e6 | [
"MIT"
] | null | null | null | src/render/src/sge_render/backend/dx11/Render_DX11_Common.cpp | SimpleTalkCpp/SimpleGameEngine | 755c989995d07768bdc77175404fdcb2eb69c2e6 | [
"MIT"
] | null | null | null | src/render/src/sge_render/backend/dx11/Render_DX11_Common.cpp | SimpleTalkCpp/SimpleGameEngine | 755c989995d07768bdc77175404fdcb2eb69c2e6 | [
"MIT"
] | null | null | null | #include "Render_DX11_Common.h"
namespace sge {
VertexSemanticType DX11Util::parseDxSemanticName(StrView s) {
VertexSemanticType v;
if (s == "SV_POSITION") {
return VertexSemanticType::POSITION;
}
if (!enumTryParse(v, s)) {
throw SGE_ERROR("unknown VertexLayout_SemanticType {}", s);
}
return... | 20.076923 | 64 | 0.678161 | SimpleTalkCpp |
8dd093bfb7016552fb0124648615203ed8bf11e9 | 1,948 | cpp | C++ | source/tests/cpp_tests/destructors_errors_test.cpp | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 45 | 2016-06-21T22:28:43.000Z | 2022-03-26T12:21:46.000Z | source/tests/cpp_tests/destructors_errors_test.cpp | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 6 | 2020-07-12T18:00:10.000Z | 2021-11-30T11:20:14.000Z | source/tests/cpp_tests/destructors_errors_test.cpp | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 5 | 2019-09-03T17:20:34.000Z | 2022-01-30T15:10:21.000Z | #include "tests.hpp"
namespace U
{
U_TEST( FunctionBodyDuplication_ForDestructors_Test0 )
{
static const char c_program_text[]=
R"(
class S
{
fn destructor(){}
fn destructor(){}
}
)";
const ErrorTestBuildResult build_result= BuildProgramWithErrors( c_program_text );
U_TEST_ASSERT( !build_result.erro... | 25.298701 | 93 | 0.752567 | Panzerschrek |
8dd193192e7f4983194d254cd907dc06a61b57fc | 375 | cpp | C++ | belts/yellow/week_3/sum_reverse_sort/sum_reverse_sort.cpp | vlasenckov/cpp_garbage_collector | 6c10dad0f780c608336ef107e9a3b6a2d4bf3909 | [
"MIT"
] | null | null | null | belts/yellow/week_3/sum_reverse_sort/sum_reverse_sort.cpp | vlasenckov/cpp_garbage_collector | 6c10dad0f780c608336ef107e9a3b6a2d4bf3909 | [
"MIT"
] | null | null | null | belts/yellow/week_3/sum_reverse_sort/sum_reverse_sort.cpp | vlasenckov/cpp_garbage_collector | 6c10dad0f780c608336ef107e9a3b6a2d4bf3909 | [
"MIT"
] | null | null | null | #include "sum_reverse_sort.h"
#include <algorithm>
int Sum(int x, int y) {
return x + y;
}
std::string Reverse(std::string s)
{
int size = s.size(), temp;
for (int i = 0; i < size/2; i++) {
temp = s[i];
s[i] = s[size-1-i];
s[size-1-i] = temp;
}
return s;
};
void Sort(std::... | 17.045455 | 38 | 0.506667 | vlasenckov |
8dd53f5cea3bfb2dd5bdd4e104227a105c762b90 | 3,185 | cpp | C++ | src/rendering/engine/engine/resource_factory.cpp | Bargor/tempest | 94837c6dcfef036827076446101e59afb7792f5d | [
"Apache-2.0",
"MIT"
] | null | null | null | src/rendering/engine/engine/resource_factory.cpp | Bargor/tempest | 94837c6dcfef036827076446101e59afb7792f5d | [
"Apache-2.0",
"MIT"
] | 1 | 2019-12-02T20:17:52.000Z | 2019-12-02T20:17:52.000Z | src/rendering/engine/engine/resource_factory.cpp | Bargor/tempest | 94837c6dcfef036827076446101e59afb7792f5d | [
"Apache-2.0",
"MIT"
] | null | null | null | // This file is part of Tempest-engine project
// Author: Karol Kontny
#include "resource_factory.h"
#include "engine/device.h"
namespace tst {
namespace engine {
resource_factory::resource_factory(device& device, application::data_loader& dataLoader)
: api::resource_factory(device.create_resource_facto... | 47.537313 | 126 | 0.626688 | Bargor |
8dd548333ae9aff260b3e589ec34099e4e565801 | 12,122 | cpp | C++ | lib/commonAPI/barcode/ext/platform/wm/src/Barcode_impl.cpp | mensfeld/rhodes | 2962610a314ed563a0b7c83fcae6136913a1b033 | [
"MIT"
] | 173 | 2015-01-02T11:14:08.000Z | 2022-03-05T09:54:54.000Z | lib/commonAPI/barcode/ext/platform/wm/src/Barcode_impl.cpp | mensfeld/rhodes | 2962610a314ed563a0b7c83fcae6136913a1b033 | [
"MIT"
] | 263 | 2015-01-05T04:35:22.000Z | 2021-09-07T06:00:02.000Z | lib/commonAPI/barcode/ext/platform/wm/src/Barcode_impl.cpp | watusi/rhodes | 07161cca58ff6a960bbd1b79b36447b819bfa0eb | [
"MIT"
] | 77 | 2015-01-12T20:57:18.000Z | 2022-02-17T15:15:14.000Z | #include <common/RhodesApp.h>
#include "../../../shared/generated/cpp/BarcodeBase.h"
#include "Scanner.h"
namespace rho {
using namespace apiGenerator;
using namespace common;
#undef DEFAULT_LOGCATEGORY
#define DEFAULT_LOGCATEGORY "Barcode"
enum deviceManufacturer_T {SCANNER_SYMBOL, SCANNER_INTERMEC, SCANNER_HONEYW... | 32.239362 | 171 | 0.727768 | mensfeld |
8dd6dbb768f2c7d1b386b02a36a54164ea54a748 | 2,869 | cc | C++ | chrome/browser/ui/views/find_bar_host_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/ui/views/find_bar_host_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/ui/views/find_bar_host_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2009 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 "chrome/app/chrome_command_ids.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "c... | 32.235955 | 80 | 0.735796 | SlimKatLegacy |
8dd833372205c02c079c9cf4db195727d59d5110 | 3,024 | cpp | C++ | src/DTC/parallelStorageFreqDTC.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | 1 | 2019-04-27T05:25:27.000Z | 2019-04-27T05:25:27.000Z | src/DTC/parallelStorageFreqDTC.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | null | null | null | src/DTC/parallelStorageFreqDTC.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | 2 | 2019-04-03T10:08:21.000Z | 2019-09-30T22:40:28.000Z | /** @file DTC/parallelStorageFreqDTC.cpp
* @brief A class that collects the FDTD field information across all processes to one process to Fourier transform and place it in a Grid for outputting
*
* Collects FDTD filed information from all processes, Fourier transforms it and transfers
* it into one place to be o... | 48.774194 | 218 | 0.72619 | Seideman-Group |
8dd8cb72589c86c64dfb5d0a7a1367447f695af2 | 2,433 | cpp | C++ | sample/TestLibWin32/ParticleBufferObject.cpp | CYBORUS/SDL2TK | 22ea239b57f9a6409ec8fea70c5497554df8069f | [
"Unlicense"
] | 1 | 2015-06-06T12:19:14.000Z | 2015-06-06T12:19:14.000Z | sample/TestLibWin32/ParticleBufferObject.cpp | CYBORUS/SDL2TK | 22ea239b57f9a6409ec8fea70c5497554df8069f | [
"Unlicense"
] | null | null | null | sample/TestLibWin32/ParticleBufferObject.cpp | CYBORUS/SDL2TK | 22ea239b57f9a6409ec8fea70c5497554df8069f | [
"Unlicense"
] | null | null | null | #include "ParticleBufferObject.hpp"
#include "ParticleBuilder.hpp"
#include "ParticleProgram.hpp"
#include <iostream>
static constexpr GLvoid* Offset(size_t offset)
{
return (GLfloat*)0 + offset;
}
ParticleBufferObject::ParticleBufferObject()
: _buffer(0)
, _count(0)
{
}
ParticleBufferObject::ParticleBuf... | 26.16129 | 76 | 0.697904 | CYBORUS |
8dda695908687e8f064f72f4c8f08ffb7dae66d3 | 2,196 | cc | C++ | template/micro_project/tensor_server.cc | delldu/Create | c3ad50200e5abe5b2d52623d3f95e0ffb11b9ab7 | [
"Apache-2.0"
] | 2 | 2019-09-19T10:57:00.000Z | 2022-01-17T20:22:07.000Z | template/micro_project/tensor_server.cc | delldu/Create | c3ad50200e5abe5b2d52623d3f95e0ffb11b9ab7 | [
"Apache-2.0"
] | null | null | null | template/micro_project/tensor_server.cc | delldu/Create | c3ad50200e5abe5b2d52623d3f95e0ffb11b9ab7 | [
"Apache-2.0"
] | null | null | null | #include "tensor_server.h"
Status TensorServiceImpl::Hello(ServerContext* context, const HelloRequest* request, HelloReply* response)
{
std::string prefix("Hello ");
response->set_message(prefix + request->name());
return Status::OK;
}
Status TensorServiceImpl::GetTensor(ServerContext* context, const GetT... | 30.929577 | 125 | 0.728142 | delldu |
8de06bf141bd7a9ac0cff678fcc40221307028d4 | 289 | cpp | C++ | 191.cpp | nitin-maharana/LeetCode | d5e99fa313df3fda65bf385f46f8a62b6d061306 | [
"MIT"
] | 4 | 2016-02-28T17:09:14.000Z | 2017-04-15T15:56:08.000Z | 191.cpp | nitin-maharana/LeetCode | d5e99fa313df3fda65bf385f46f8a62b6d061306 | [
"MIT"
] | null | null | null | 191.cpp | nitin-maharana/LeetCode | d5e99fa313df3fda65bf385f46f8a62b6d061306 | [
"MIT"
] | null | null | null | /*
* Written by Nitin Kumar Maharana
* nitin.maharana@gmail.com
*/
class Solution {
public:
int hammingWeight(uint32_t n) {
int count = 0;
while(n)
{
count++;
n = n & (n-1);
}
return count;
}
};
| 14.45 | 35 | 0.439446 | nitin-maharana |
8de327d1313d53d56138416aec6145c5e6f94dfb | 702 | cpp | C++ | NoExceptAuto/NoExceptAuto.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 7 | 2015-01-18T13:30:09.000Z | 2021-08-21T19:50:26.000Z | NoExceptAuto/NoExceptAuto.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 1 | 2016-03-13T21:26:37.000Z | 2016-03-13T21:26:37.000Z | NoExceptAuto/NoExceptAuto.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 1 | 2016-02-16T04:56:25.000Z | 2016-02-16T04:56:25.000Z | #include <iostream>
int f()
{
return 1;
}
int noexcept_f() noexcept
{
return 1;
}
auto g()
{
return noexcept_f();
}
auto conditional_noexcept_g() noexcept(noexcept(noexcept_f()))
{
return noexcept_f();
}
int main(int argc, char* argv[])
{
std::cout << std::boolalpha << "f is noexcept: " << noexcept(f())
... | 20.057143 | 71 | 0.582621 | jbcoe |
8de3df29716d3e64c625ae2493b60263efab1b73 | 261,446 | hpp | C++ | flite/lang/us_rms/us_rms_cg_f0_trees.hpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | flite/lang/us_rms/us_rms_cg_f0_trees.hpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | flite/lang/us_rms/us_rms_cg_f0_trees.hpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | #pragma once
#include "flite/utils/val_const.hpp"
DEF_STATIC_CONST_VAL_FLOAT(val_0000, 0.556047);
DEF_STATIC_CONST_VAL_FLOAT(val_0001, 110.412003);
#define CTNODE_cmu_us_rms_f0_zh_204_NO_0000 2
DEF_STATIC_CONST_VAL_FLOAT(val_0002, 97.185600);
DEF_STATIC_CONST_VAL_FLOAT(val_0003, 100.119003);
DEF_STATIC_CONST_VAL_FLOA... | 47.656945 | 49 | 0.878495 | Barath-Kannan |
8de64671d2bc37f66f39d995b2b346c029f9b9e3 | 846 | cpp | C++ | src/Application/Resource/RouteNotFound.cpp | edson-a-soares/poco_module_didactic | 1557c8eaa573ba88de2feafe5fcb6c08ea8631d8 | [
"Apache-2.0"
] | 2 | 2020-03-30T08:04:03.000Z | 2020-05-21T23:10:05.000Z | src/Application/Resource/RouteNotFound.cpp | edson-a-soares/poco_module_didactic | 1557c8eaa573ba88de2feafe5fcb6c08ea8631d8 | [
"Apache-2.0"
] | null | null | null | src/Application/Resource/RouteNotFound.cpp | edson-a-soares/poco_module_didactic | 1557c8eaa573ba88de2feafe5fcb6c08ea8631d8 | [
"Apache-2.0"
] | null | null | null | #include "Application/Resource/RouteNotFound.h"
#include "Application/Handling/ErrorJSONParser.h"
namespace Application {
namespace Resource {
void RouteNotFound::handleRequest(Poco::Net::HTTPServerRequest & request, Poco::Net::HTTPServerResponse & response)
{
configureCORS(response);
response.set... | 30.214286 | 119 | 0.71513 | edson-a-soares |
8de6b8f2da582c498765deac51c0c290866ece8f | 1,530 | cpp | C++ | g.cpp | llwwns/atcoder-past-3 | a022382cacd5a726909ca844ce885d7ae598cf1c | [
"MIT"
] | null | null | null | g.cpp | llwwns/atcoder-past-3 | a022382cacd5a726909ca844ce885d7ae598cf1c | [
"MIT"
] | null | null | null | g.cpp | llwwns/atcoder-past-3 | a022382cacd5a726909ca844ce885d7ae598cf1c | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <queue>
#include <tuple>
using namespace std;
int main() {
int n, x, y;
cin >> n >> x >> y;
vector<vector<bool>> p(405, vector<bool>(405, false));
for (int i = 0; i < n; i++) {
int px, py;
cin >> px >> py;
p[px + 202][py + 202] = t... | 27.321429 | 86 | 0.388235 | llwwns |
8de8c619615594f648376d9bad5c87a6a4d7dc39 | 274 | cpp | C++ | src/pola/gui/View.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/gui/View.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | src/pola/gui/View.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | /*
* View.cpp
*
* Created on: 2016年5月25日
* Author: lijing
*/
#include "pola/gui/View.h"
namespace pola {
namespace gui {
View::View() {
}
View::~View() {
}
void View::onDraw(graphic::GraphicContext* graphic) {
}
} /* namespace gui */
} /* namespace pola */
| 11.416667 | 53 | 0.60219 | lij0511 |
8de9997c29678c8fe4c5ceea3a82a3cbe7ce0c6d | 1,774 | cc | C++ | CommonTools/Statistics/src/PartitionGenerator.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CommonTools/Statistics/src/PartitionGenerator.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CommonTools/Statistics/src/PartitionGenerator.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "CommonTools/Statistics/interface/PartitionGenerator.h"
#include <algorithm>
using namespace std;
vector<PartitionGenerator::Partition>
PartitionGenerator::partitions(int collectionSize, int minCollectionSize)
const {
std::vector<Partition> partitions;
// at the very least, we have a single bag of s... | 32.254545 | 78 | 0.698985 | nistefan |
8df61ce703f6b4cc70ed365bb85048e83a4f4feb | 3,152 | hpp | C++ | src/seed_tracker.hpp | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 489 | 2018-11-02T14:04:10.000Z | 2022-03-25T07:31:59.000Z | src/seed_tracker.hpp | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 39 | 2019-11-11T00:49:51.000Z | 2022-03-22T18:04:01.000Z | src/seed_tracker.hpp | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 45 | 2018-11-08T20:41:21.000Z | 2022-03-15T00:53:28.000Z | /* MIT License
*
* Copyright (c) 2018 Sam Kovaka <skovaka@gmail.com>
*
* 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... | 27.893805 | 81 | 0.708439 | skovaka |
8df794657ea1e8fd0e2b6a33f6c7ce1c0ce1cd09 | 671 | hh | C++ | hefur/scrape-response.hh | sot-tech/hefur | 6307015793ef4b24f0124c393c0e6f3a573a3590 | [
"MIT"
] | 126 | 2015-02-16T13:14:03.000Z | 2022-03-27T14:46:19.000Z | hefur/scrape-response.hh | sot-tech/hefur | 6307015793ef4b24f0124c393c0e6f3a573a3590 | [
"MIT"
] | 35 | 2015-03-31T20:20:34.000Z | 2022-02-02T13:55:36.000Z | hefur/scrape-response.hh | sot-tech/hefur | 6307015793ef4b24f0124c393c0e6f3a573a3590 | [
"MIT"
] | 31 | 2015-05-28T02:04:48.000Z | 2022-02-02T13:48:03.000Z | #pragma once
#include <string>
#include <vector>
#include <mimosa/ref-countable.hh>
#include "info-hash.hh"
#include "namespace-helper.hh"
namespace hefur {
/**
* This class represents a scrape response.
* It is used by both http(s) server and upd server.
*/
struct ScrapeResponse : public m::RefCo... | 20.333333 | 67 | 0.643815 | sot-tech |
8dfaf13cc05e1dfeded6c3df3248b9cf8d9854cb | 6,139 | hpp | C++ | Controllers/UART/stm32f1_UART.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | Controllers/UART/stm32f1_UART.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | Controllers/UART/stm32f1_UART.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------------
// Author: Semyon Ivanov
// e-mail: agreement90@mail.ru
// github: https://github.com/7bnx/Embedded
// Description: Driver for UART. STM32F1-series
// TODO:
//----------------------------------------------------... | 34.488764 | 104 | 0.653364 | 7bnx |
8dfb853f14d950344cfe17a994815eb3fb5015d6 | 1,997 | cpp | C++ | Engine/sdk/src/lwDirectoryBrowser.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | 1 | 2021-06-14T09:34:08.000Z | 2021-06-14T09:34:08.000Z | Engine/sdk/src/lwDirectoryBrowser.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | Engine/sdk/src/lwDirectoryBrowser.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | //
#include "lwDirectoryBrowser.h"
LW_BEGIN
// lwDirectoryBrowser
LW_STD_IMPLEMENTATION(lwDirectoryBrowser)
lwDirectoryBrowser::lwDirectoryBrowser()
: _proc(0), _param(0)
{
}
LW_RESULT lwDirectoryBrowser::_Go(const char* file, DWORD flag)
{
LW_RESULT ret = LW_RET_OK;
WIN32_FIND_DATA wfd;
HANDLE hand... | 20.377551 | 99 | 0.522784 | ruuuubi |
5c03011bc9dfc923634572952542be6a6434e68b | 4,381 | hh | C++ | trex/utils/TREXversion.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/TREXversion.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/TREXversion.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, MBARI.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | 33.7 | 81 | 0.654645 | miatauro |
5c03a0afcb3da8116e6961d6dfe22c7715c5c4ab | 2,845 | cc | C++ | mojo/services/native_viewport/native_viewport_android.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | mojo/services/native_viewport/native_viewport_android.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | mojo/services/native_viewport/native_viewport_android.cc | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.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 "mojo/services/native_viewport/native_viewport_android.h"
#include <android/native_window_jni.h>
#include "mojo/services/native_viewport/android... | 29.329897 | 78 | 0.683304 | cvsuser-chromium |
5c05bda0a11c0cbacefed0d2d310cb395808b744 | 6,900 | hxx | C++ | opencascade/IGESDraw_ConnectPoint.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/IGESDraw_ConnectPoint.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/IGESDraw_ConnectPoint.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1993-01-11
// Created by: CKY / Contract Toubro-Larsen ( Niraj RANGWALA )
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify... | 38.333333 | 587 | 0.764058 | mgreminger |
5c067dd63fa6130932813091b35e04c5de4f95da | 1,163 | cpp | C++ | src/operator/detectors/opencv_face_detector.cpp | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 28 | 2018-09-06T19:18:27.000Z | 2022-02-10T05:56:08.000Z | src/operator/detectors/opencv_face_detector.cpp | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 13 | 2018-09-13T13:41:53.000Z | 2021-05-12T01:18:36.000Z | src/operator/detectors/opencv_face_detector.cpp | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 14 | 2018-09-06T14:33:37.000Z | 2021-05-22T20:07:45.000Z | // Copyright 2018 The SAF Authors. 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 required by appli... | 32.305556 | 75 | 0.734308 | ccanel |
5c08ce28e508537c679695090e5706aa0ba58a56 | 1,950 | hpp | C++ | xxhr/session.hpp | jamesgrantham/xxhr | 0d33abce7e87bb8b78141fcf6f918158a436660c | [
"MIT"
] | 15 | 2017-03-13T08:19:27.000Z | 2022-02-02T21:18:57.000Z | xxhr/session.hpp | jamesgrantham/xxhr | 0d33abce7e87bb8b78141fcf6f918158a436660c | [
"MIT"
] | 6 | 2018-06-29T12:00:12.000Z | 2021-12-17T19:45:47.000Z | xxhr/session.hpp | jamesgrantham/xxhr | 0d33abce7e87bb8b78141fcf6f918158a436660c | [
"MIT"
] | 3 | 2018-09-28T00:37:29.000Z | 2020-12-04T09:05:23.000Z | #ifndef XXHR_SESSION_H
#define XXHR_SESSION_H
#include <cstdint>
#include <memory>
#include "auth.hpp"
#include "body.hpp"
#include "cookies.hpp"
#include "xxhrtypes.hpp"
#include "digest.hpp"
#include "max_redirects.hpp"
#include "multipart.hpp"
#include "parameters.hpp"
#include "response.hpp"
#include "timeout.hpp... | 25 | 60 | 0.73641 | jamesgrantham |
5c099ecdff969eb49657fa26055ec0e53a52cc6f | 3,865 | hpp | C++ | src/parsers/parser_blat.hpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | src/parsers/parser_blat.hpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | src/parsers/parser_blat.hpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PARSER_BLAT_HPP
#define PARSER_BLAT_HPP
#include <functional>
#include "data/data.hpp"
#include "data/reader.hpp"
#include "data/tokens.hpp"
#include "parsers/parser.hpp"
#include <boost/algorithm/string.hpp>
#include <iostream>
namespace Anaquin
{
struct ParserBlat
{
enum Field
{
... | 27.805755 | 74 | 0.398189 | danielnavarrogomez |
5c0ae9e77e1f600db070b10913a9ef27abb15c09 | 843 | cpp | C++ | runtime/src/aderite/scripting/InternalCalls.cpp | nfwGytautas/aderite | 87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c | [
"MIT"
] | null | null | null | runtime/src/aderite/scripting/InternalCalls.cpp | nfwGytautas/aderite | 87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c | [
"MIT"
] | null | null | null | runtime/src/aderite/scripting/InternalCalls.cpp | nfwGytautas/aderite | 87a6a5c24a6dcaca80088cb7a4fca1f846a7f22c | [
"MIT"
] | null | null | null | #include "InternalCalls.hpp"
#include "aderite/scripting/internals/ScriptAudio.hpp"
#include "aderite/scripting/internals/ScriptComponents.hpp"
#include "aderite/scripting/internals/ScriptDebug.hpp"
#include "aderite/scripting/internals/ScriptEntity.hpp"
#include "aderite/scripting/internals/ScriptInput.hpp"
#include ... | 27.193548 | 64 | 0.766311 | nfwGytautas |
5c0f1d6b70455ebc9f373d60620e9c2911c86c1e | 1,054 | cc | C++ | game/src/gui/app/layout_helper.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | 1 | 2018-03-02T03:36:59.000Z | 2018-03-02T03:36:59.000Z | game/src/gui/app/layout_helper.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | 1 | 2018-04-17T01:43:02.000Z | 2018-04-17T01:43:02.000Z | game/src/gui/app/layout_helper.cc | chunseoklee/mengde | 7261e45dab9e02d4bf18b4542767f4b50a5616a0 | [
"MIT"
] | null | null | null | #include "layout_helper.h"
#include "gui/foundation/rect.h"
#include "util/common.h"
namespace mengde {
namespace gui {
namespace app {
namespace layout {
Vec2D CalcPositionNearUnit(Vec2D element_size, Vec2D frame_size, Vec2D camera_coords, Vec2D unit_cell) {
const int kCellSize = 48; // FIXME hardcoded cell siz... | 30.114286 | 104 | 0.6537 | chunseoklee |
5c0f1e53b302c68dd3a853036f21bd30a77002de | 7,503 | cc | C++ | content/browser/gpu/gpu_data_manager_impl_unittest.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | 5 | 2018-03-10T13:08:42.000Z | 2021-07-26T15:02:11.000Z | content/browser/gpu/gpu_data_manager_impl_unittest.cc | sanyaade-mobiledev/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 1 | 2015-07-21T08:02:01.000Z | 2015-07-21T08:02:01.000Z | content/browser/gpu/gpu_data_manager_impl_unittest.cc | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.000Z | // Copyright (c) 2012 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 "base/message_loop.h"
#include "base/run_loop.h"
#include "content/browser/gpu/gpu_data_manager_impl.h"
#include "content/public/browser/gpu_... | 28.969112 | 73 | 0.688125 | junmin-zhu |
5c10b75a791fbc11ec0d10e91a4afe139f7b5414 | 14,017 | cc | C++ | mindspore/ccsrc/cxx_api/graph/acl/model_process.cc | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 55 | 2020-12-17T10:26:06.000Z | 2022-03-28T07:18:26.000Z | mindspore/ccsrc/cxx_api/graph/acl/model_process.cc | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/cxx_api/graph/acl/model_process.cc | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 14 | 2021-01-29T02:39:47.000Z | 2022-03-23T05:00:26.000Z | /**
* Copyright 2020 Huawei Technologies 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 law... | 34.104623 | 115 | 0.671898 | GuoSuiming |
5c13b4d69ab0a1ec8e6a637640c2537439399fee | 5,383 | cpp | C++ | src/lightmetrica-test/test_fp.cpp | jammm/lightmetrica-v2 | 6864942ec48d37f2c35dc30a38a26d7cc4bb527e | [
"MIT"
] | 150 | 2015-12-28T10:26:02.000Z | 2021-03-17T14:36:16.000Z | src/lightmetrica-test/test_fp.cpp | jammm/lightmetrica-v2 | 6864942ec48d37f2c35dc30a38a26d7cc4bb527e | [
"MIT"
] | null | null | null | src/lightmetrica-test/test_fp.cpp | jammm/lightmetrica-v2 | 6864942ec48d37f2c35dc30a38a26d7cc4bb527e | [
"MIT"
] | 17 | 2016-02-08T10:57:55.000Z | 2020-09-04T03:57:33.000Z | /*
Lightmetrica - A modern, research-oriented renderer
Copyright (c) 2015 Hisanari Otsu
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 ... | 25.633333 | 119 | 0.601152 | jammm |
5c163e50bccbec1038ab871b5f9619b276afa183 | 2,089 | cpp | C++ | Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraSystemEditorData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraSystemEditorData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraSystemEditorData.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "NiagaraSystemEditorData.h"
#include "NiagaraStackEditorData.h"
const FName UNiagaraSystemEditorFolder::GetFolderName() const
{
return FolderName;
}
void UNiagaraSystemEditorFolder::SetFolderName(FName InFolderName)
{
FolderName = InFolderName;
... | 26.782051 | 116 | 0.817616 | windystrife |
5c164135be53b45a0b8dd74ce9176453fbcd18c7 | 639 | cpp | C++ | ch16/exer16_51.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | 3 | 2019-09-21T13:03:57.000Z | 2020-04-05T02:42:53.000Z | ch16/exer16_51.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | null | null | null | ch16/exer16_51.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | null | null | null | /*************************************************************************
> File Name: exer16_51.cpp
> Author: shenzhuo
> Mail: im.shenzhuo@gmail.com
> Created Time: 2019年09月26日 星期四 09时40分28秒
************************************************************************/
#include<iostream>
#include<string... | 23.666667 | 74 | 0.463224 | imshenzhuo |
5c165832900814b7f32eb8a118646ce859f71254 | 396 | hpp | C++ | Game/test/include/titlescreen.hpp | eliseuegewarth/seven-keys | 7afcd9d9af6d99117bf949e328099ad5f07acef8 | [
"MIT"
] | null | null | null | Game/test/include/titlescreen.hpp | eliseuegewarth/seven-keys | 7afcd9d9af6d99117bf949e328099ad5f07acef8 | [
"MIT"
] | null | null | null | Game/test/include/titlescreen.hpp | eliseuegewarth/seven-keys | 7afcd9d9af6d99117bf949e328099ad5f07acef8 | [
"MIT"
] | 1 | 2017-08-25T14:37:52.000Z | 2017-08-25T14:37:52.000Z | /*
* Exemplo de uma tela de apresentação.
*
* Autor: Edson Alves
* Data: 29/04/2015
* Licença: LGPL. Sem copyright.
*/
#ifndef TITLE_SCREEN_H
#define TITLE_SCREEN_H
class Image;
class TitleScreen : public Level
{
public:
TitleScreen();
virtual ~TitleScreen();
bool on_message(Object *sender, Messa... | 14.142857 | 73 | 0.691919 | eliseuegewarth |
5c18321bbb8047f6cb8d3a4654341f424e6b97ef | 4,306 | cpp | C++ | openrave/cpp-gen-md5/cpp-gen-md5.cpp | jdsika/TUM_HOly | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 2 | 2015-11-13T16:40:57.000Z | 2017-09-15T15:37:19.000Z | openrave/cpp-gen-md5/cpp-gen-md5.cpp | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 1 | 2016-06-13T01:29:51.000Z | 2016-06-14T00:38:27.000Z | openrave/cpp-gen-md5/cpp-gen-md5.cpp | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | null | null | null | /** \file cpp-gen-md5.cpp
\brief Generates a md5 hash from the lexical tokens of a C++ ignoring directives and whitespace.
\author Rosen Diankov
\anchor cpp-gen-md5
Usage:
\verbatim
cpp-gen-md5 [filename1 define1] [filename2 define2] ...
\endverbatim
If only a filenam... | 30.111888 | 117 | 0.533442 | jdsika |
5c21de73201313ec1b80293568b94fe22b358a62 | 612 | hpp | C++ | src/NetWidgets/ProgressBar.hpp | frc3512/DriverStationDisplay | c6b5eb263ec1d1701a3d48a915b7b106c982323d | [
"BSD-3-Clause"
] | null | null | null | src/NetWidgets/ProgressBar.hpp | frc3512/DriverStationDisplay | c6b5eb263ec1d1701a3d48a915b7b106c982323d | [
"BSD-3-Clause"
] | null | null | null | src/NetWidgets/ProgressBar.hpp | frc3512/DriverStationDisplay | c6b5eb263ec1d1701a3d48a915b7b106c982323d | [
"BSD-3-Clause"
] | 1 | 2017-03-14T02:13:29.000Z | 2017-03-14T02:13:29.000Z | // Copyright (c) 2012-2018 FRC Team 3512. All Rights Reserved.
#pragma once
#include <string>
#include <QProgressBar>
#include <QVBoxLayout>
#include "NetWidget.hpp"
#include "Text.hpp"
/**
* Provides an interface to a progress bar
*/
class ProgressBar : public QWidget, public NetWidget {
Q_OBJECT
public:
... | 18 | 68 | 0.697712 | frc3512 |
5c21e6f13de9912235666e55e22abcf74401ac26 | 1,955 | cpp | C++ | gui/src/models/dialogs-list/dialoginfo.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-07-05T12:01:36.000Z | 2021-03-19T22:48:48.000Z | gui/src/models/dialogs-list/dialoginfo.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 41 | 2019-11-26T18:59:54.000Z | 2020-05-01T10:52:47.000Z | gui/src/models/dialogs-list/dialoginfo.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-05-21T17:48:16.000Z | 2021-03-19T22:48:49.000Z | #include "dialoginfo.h"
#include "primitives/contact.h"
std::string DialogInfo::name() const {
return mName;
}
std::string DialogInfo::address() const {
return mAddress;
}
std::string DialogInfo::moniker() const {
return mMoniker;
}
std::string DialogInfo::dialogId() const {
return mDialogId;
}
std::strin... | 24.746835 | 71 | 0.711509 | sqglobe |
5c22fa378f173f59a63dd2dab03fd04b1fabdbf1 | 1,332 | cpp | C++ | crypto_sign/bls/ref/usehash.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | 21 | 2016-12-03T14:19:01.000Z | 2018-03-09T14:52:25.000Z | crypto_sign/bls/ref/usehash.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | null | null | null | crypto_sign/bls/ref/usehash.cpp | iadgov/simon-speck-supercop | 5bba85c3094029eb73b7077441e5c6ea2f2cb1c6 | [
"CC0-1.0"
] | 11 | 2017-03-06T17:21:42.000Z | 2018-03-18T03:52:58.000Z | #include "crypto_hash_sha256.h"
#include "crypto_sign.h"
#include "sizes.h"
extern int signatureofshorthash(unsigned char *,unsigned long long *,
const unsigned char *,unsigned long long,
const unsigned char *,unsigned long long);
extern int verification(const unsigned char *,unsigned long long,
const unsigned c... | 26.117647 | 73 | 0.6997 | iadgov |
5c298102243dec2849eb61a190ac353c5315f5e6 | 272 | hpp | C++ | include/output/Mixer.hpp | medium-endian/multipid | 41ab0c810de04fc48923edf31e3c971826abbaf3 | [
"MIT"
] | 15 | 2018-06-25T23:06:57.000Z | 2022-03-31T06:00:35.000Z | include/output/Mixer.hpp | medium-endian/multipid | 41ab0c810de04fc48923edf31e3c971826abbaf3 | [
"MIT"
] | 3 | 2017-11-20T23:00:03.000Z | 2018-01-19T16:22:39.000Z | include/output/Mixer.hpp | medium-endian/multipid | 41ab0c810de04fc48923edf31e3c971826abbaf3 | [
"MIT"
] | 1 | 2020-08-24T13:24:39.000Z | 2020-08-24T13:24:39.000Z | #ifndef MIXER_H
#define MIXER_H
class Mixer {
public:
float throttle_volume;
float roll_volume;
float pitch_volume;
float yaw_volume;
Mixer(float thr_vol, float roll_vol, float pitch_vol, float yaw_vol);
};
#endif //MIXER_H
| 17 | 77 | 0.654412 | medium-endian |
5c29a808253871ca99b310f086ed57c1e5f65751 | 7,426 | cpp | C++ | Source/main.cpp | fakhirsh/EventManager | 5a92d1035d01308e12ba84e56fc63df40768562c | [
"MIT"
] | null | null | null | Source/main.cpp | fakhirsh/EventManager | 5a92d1035d01308e12ba84e56fc63df40768562c | [
"MIT"
] | null | null | null | Source/main.cpp | fakhirsh/EventManager | 5a92d1035d01308e12ba84e56fc63df40768562c | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include "FastDelegate/FastDelegate.h"
#include "CppDelegates/Delegate.h"
#include "Event.hpp"
#include "EventManager.hpp"
#include <map>
#include <string>
#include <chrono>
#include <memory>
using namespace std;
using namespace std::chrono;
using namespace CppDelegates;
using n... | 26.240283 | 85 | 0.568408 | fakhirsh |
5c29e44aff1e4903ec5714907aa7d61f8cf0283d | 1,352 | cpp | C++ | Source/Fabric/Private/MoPubFunctions.cpp | getsetgames/Fabric | c57937511ecd700a28ba088e26e1a61d794c8a66 | [
"MIT"
] | 13 | 2015-06-17T14:39:37.000Z | 2021-12-02T15:21:19.000Z | Source/Fabric/Private/MoPubFunctions.cpp | denfrost/Fabric | c57937511ecd700a28ba088e26e1a61d794c8a66 | [
"MIT"
] | 2 | 2015-06-17T12:13:17.000Z | 2016-11-03T02:40:23.000Z | Source/Fabric/Private/MoPubFunctions.cpp | denfrost/Fabric | c57937511ecd700a28ba088e26e1a61d794c8a66 | [
"MIT"
] | 10 | 2015-06-17T14:43:56.000Z | 2020-07-01T02:11:07.000Z | //
// Created by Derek van Vliet on 2014-12-10.
// Copyright (c) 2015 Get Set Games Inc. All rights reserved.
//
#include "MoPubFunctions.h"
#include "FabricPrivatePCH.h"
#if PLATFORM_IOS
static NSMutableDictionary* AdCache = [NSMutableDictionary dictionary];
#endif
bool UMoPubFunctions::MoPubHasInterstitial(FStri... | 26 | 133 | 0.782544 | getsetgames |
5c2a6986d4bf9e84ec93445c5176a83d4a8b7450 | 10,794 | cpp | C++ | 16_1_Tree/main.cpp | Yu-Zhuang/Data-Structure-C | d0c563af93e44420899f547541a8d044f09bcbf0 | [
"MIT"
] | 2 | 2020-06-16T10:02:03.000Z | 2020-06-30T13:22:19.000Z | 16_1_Tree/main.cpp | mild-guy/Data-Structure-C | d0c563af93e44420899f547541a8d044f09bcbf0 | [
"MIT"
] | null | null | null | 16_1_Tree/main.cpp | mild-guy/Data-Structure-C | d0c563af93e44420899f547541a8d044f09bcbf0 | [
"MIT"
] | null | null | null | # include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <time.h>
# include "subFunc.h"
void ARRAY_CREATE(void *nums, int N, int element){
int *array = (int*)nums;
int i = 0, tmp = 0;
static int cp = 0, mv = 0;
// find the site to insert
for(i=0;i<N;i++,cp+=2)
if(element < array[i]) break;
// in... | 32.808511 | 2,701 | 0.613582 | Yu-Zhuang |
5c2b35a48d00c4d1bf0246880fdfa7ec1bf57e52 | 1,688 | cpp | C++ | @DOC by DIPTA/dipta007_final/Number Theory/divisors-from-factorization(Iterative).cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 6 | 2018-10-15T18:45:05.000Z | 2022-03-29T04:30:10.000Z | @DOC by DIPTA/dipta007_final/Number Theory/divisors-from-factorization(Iterative).cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | null | null | null | @DOC by DIPTA/dipta007_final/Number Theory/divisors-from-factorization(Iterative).cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 4 | 2018-01-07T06:20:07.000Z | 2019-08-21T15:45:59.000Z | #include <stdio.h>
#include <string.h>
#include <stdbool.h>
#define LEN 78777
#define MAX 1000010
#define clr(ar) memset(ar, 0, sizeof(ar))
#define read() freopen("lol.txt", "r", stdin)
#define chkbit(ar, i) (((ar[(i) >> 6]) & (1 << (((i) >> 1) & 31))))
#define setbit(ar, i) (((ar[(i) >> 6]) |= (1 << (((i) >> 1) & 31)... | 25.969231 | 74 | 0.438981 | dipta007 |
5c2b656adc28b905c8d41693ec76a04dd3f6b74e | 384 | cpp | C++ | Way_Too_Long_Words.cpp | amit9amarwanshi/The_Quiet_Revolution | 7713787ef27c0c144e4c2d852d826ee1c4176a95 | [
"MIT"
] | null | null | null | Way_Too_Long_Words.cpp | amit9amarwanshi/The_Quiet_Revolution | 7713787ef27c0c144e4c2d852d826ee1c4176a95 | [
"MIT"
] | null | null | null | Way_Too_Long_Words.cpp | amit9amarwanshi/The_Quiet_Revolution | 7713787ef27c0c144e4c2d852d826ee1c4176a95 | [
"MIT"
] | null | null | null | #include <iostream>
#include<string>
using namespace std;
int main()
{
unsigned int n,x;
cin>>n;
if(n<101)
{
while(n--)
{
string s;
cin>>s;
x=s.length();
if(x<101)
{ if(x>10)
{
cout<<s[0]<<x-2<<s[x-1];
}
else
{
cout<<... | 11.636364 | 35 | 0.372396 | amit9amarwanshi |
5c2e494f3b64838cca4aa1da5583aaf9eaab496b | 2,543 | cc | C++ | src/count_bits_set.cc | OpenEye-Contrib/Flush | 71fc76cdf3348006d13d53a26fd0a6e1bc55addd | [
"BSD-3-Clause"
] | 5 | 2016-05-11T09:09:29.000Z | 2022-03-30T11:06:19.000Z | src/count_bits_set.cc | OpenEye-Contrib/Flush | 71fc76cdf3348006d13d53a26fd0a6e1bc55addd | [
"BSD-3-Clause"
] | null | null | null | src/count_bits_set.cc | OpenEye-Contrib/Flush | 71fc76cdf3348006d13d53a26fd0a6e1bc55addd | [
"BSD-3-Clause"
] | 2 | 2018-03-19T21:59:43.000Z | 2019-01-31T03:10:50.000Z | // take a flush fp file and write out the number of bits set in each cpd.
// takes 1 command line argument, the name of the fp file.
#include <fstream>
#include <iostream>
#include <stdio.h>
#include "ByteSwapper.H"
#include "Fingerprint.H"
using namespace std;
#include "AbstractPoint.H"
int AbstractPoint::next_seq_... | 28.897727 | 78 | 0.613055 | OpenEye-Contrib |
5c2fce3d13ef2186b75ed462e3bedaf1617f1827 | 2,151 | cpp | C++ | ExternalCode/copasi/UI/CQFittingResultTab1.cpp | dhlee4/Tinkercell_new | c4d1848bbb905f0e1f9e011837268ac80aff8711 | [
"BSD-3-Clause"
] | 1 | 2021-01-07T13:12:51.000Z | 2021-01-07T13:12:51.000Z | ExternalCode/copasi/UI/CQFittingResultTab1.cpp | dhlee4/Tinkercell_new | c4d1848bbb905f0e1f9e011837268ac80aff8711 | [
"BSD-3-Clause"
] | 7 | 2020-04-12T22:25:46.000Z | 2020-04-13T07:50:40.000Z | ExternalCode/copasi/UI/CQFittingResultTab1.cpp | daniel-anavaino/tinkercell | 7896a7f809a0373ab3c848d25e3691d10a648437 | [
"BSD-3-Clause"
] | 2 | 2020-04-12T21:57:01.000Z | 2020-04-12T21:59:29.000Z | // Begin CVS Header
// $Source: /fs/turing/cvs/copasi_dev/copasi/UI/CQFittingResultTab1.cpp,v $
// $Revision: 1.6 $
// $Name: Build-33 $
// $Author: aekamal $
// $Date: 2010/06/07 14:01:52 $
// End CVS Header
// Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of... | 27.576923 | 95 | 0.74198 | dhlee4 |
5c32c4a33031552d792c472253b2bc82610af017 | 33,992 | cpp | C++ | src/RTL/Component/ModifierChain/IFXModifierChainState.cpp | alemuntoni/u3d | 7907b907464a2db53dac03fdc137dcb46d447513 | [
"Apache-2.0"
] | 44 | 2016-05-06T00:47:11.000Z | 2022-02-11T06:51:37.000Z | src/RTL/Component/ModifierChain/IFXModifierChainState.cpp | alemuntoni/u3d | 7907b907464a2db53dac03fdc137dcb46d447513 | [
"Apache-2.0"
] | 3 | 2016-06-27T12:37:31.000Z | 2021-03-24T12:39:48.000Z | src/RTL/Component/ModifierChain/IFXModifierChainState.cpp | alemuntoni/u3d | 7907b907464a2db53dac03fdc137dcb46d447513 | [
"Apache-2.0"
] | 15 | 2016-02-28T11:08:30.000Z | 2021-06-01T03:32:01.000Z | //***************************************************************************
//
// Copyright (c) 1999 - 2006 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
//
// ... | 25.829787 | 112 | 0.705695 | alemuntoni |
5c35f842d4ad23e42a263ef4847d0ab15c609749 | 293 | cpp | C++ | C++Basics/functions.cpp | gustavoLuuD/theLearinigC | af1eb154585769d31a48268848dae0c67585fe27 | [
"MIT"
] | 1 | 2020-10-22T12:35:42.000Z | 2020-10-22T12:35:42.000Z | C++Basics/functions.cpp | gustavoLuuD/theLearinigC | af1eb154585769d31a48268848dae0c67585fe27 | [
"MIT"
] | null | null | null | C++Basics/functions.cpp | gustavoLuuD/theLearinigC | af1eb154585769d31a48268848dae0c67585fe27 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
string getDefault(){
return "Jhon Doe";
}
void printName(string name = getDefault()){
cout << name << endl;
}
int main(){
string name;
printName();
cout << "What's your name man? ";
getline(cin, name);
printName(name);
return 0;
}
| 14.65 | 43 | 0.634812 | gustavoLuuD |
5c38eff397e9d736350245c0a6dc407b7e6e4ace | 469 | cpp | C++ | sjoonb/0130/10814.cpp | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 3 | 2022-01-24T03:06:32.000Z | 2022-01-30T08:43:58.000Z | sjoonb/0130/10814.cpp | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | null | null | null | sjoonb/0130/10814.cpp | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 2 | 2022-01-24T02:27:40.000Z | 2022-01-30T08:57:03.000Z | #include <iostream>
#include <algorithm>
using namespace std;
int N;
pair<int, string> members[100000];
bool cmp(pair<int,string> a, pair<int,string> b)
{
return a.first < b.first;
}
int main() {
cin >> N;
for(int i=0; i<N; ++i) {
int age;
string name;
cin >> age >> name;
members[i] = make_pair(age, n... | 18.038462 | 63 | 0.601279 | Kwak-JunYoung |
5c3a73e5ff4a44e8f7b3bd6e6dd97cd5a8b61e98 | 1,927 | cc | C++ | src/connectivity/wlan/drivers/third_party/intel/iwlwifi/test/sim-mcc-update.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/connectivity/wlan/drivers/third_party/intel/iwlwifi/test/sim-mcc-update.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/wlan/drivers/third_party/intel/iwlwifi/test/sim-mcc-update.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2022 The Fuchsia 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 "src/connectivity/wlan/drivers/third_party/intel/iwlwifi/test/sim-mcc-update.h"
#include <string.h>
#include <zircon/assert.h>
#include <iterato... | 40.145833 | 96 | 0.737935 | fabio-d |