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
10e56a5e55e1c3d338d4b3c492b43a236d0e59f9
6,264
cpp
C++
cpgf/test/reflection/test_reflection_enum.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
null
null
null
cpgf/test/reflection/test_reflection_enum.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
null
null
null
cpgf/test/reflection/test_reflection_enum.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
1
2018-12-31T17:01:56.000Z
2018-12-31T17:01:56.000Z
#include "test_reflection_common.h" #define CLASS TestClass_Enum #define NAME_CLASS GPP_STRINGIZE(CLASS) #define ENUM(f) pointerAssign(en, metaClass->getEnum(# f)) using namespace std; using namespace cpgf; namespace Test_Enum { namespace { class CLASS { public: enum EnumFirst { ws1, ws2, ws3, ws...
23.2
79
0.662835
mousepawmedia
10e64d7aa88521a403a2effb753e355d74f9ec54
2,063
cpp
C++
Samples/DMUnitTest/TestCase/DMRes_Test.cpp
Watch-Later/REDM
bf0672e015bb0c9088b4c10f14d5c5ebcac734f2
[ "MIT" ]
38
2020-06-23T00:29:22.000Z
2022-03-24T07:48:22.000Z
Samples/DMUnitTest/TestCase/DMRes_Test.cpp
Watch-Later/REDM
bf0672e015bb0c9088b4c10f14d5c5ebcac734f2
[ "MIT" ]
9
2020-06-23T02:50:59.000Z
2021-03-25T12:17:22.000Z
Samples/DMUnitTest/TestCase/DMRes_Test.cpp
Watch-Later/REDM
bf0672e015bb0c9088b4c10f14d5c5ebcac734f2
[ "MIT" ]
20
2020-06-23T01:29:23.000Z
2021-09-15T01:32:30.000Z
//------------------------------------------------------- // Copyright (c) DuiMagic // All rights reserved. // // File Name: DMRes_Test.cpp // File Des: 测试资源打包方式的测试用例 // File Summary: // Cur Version: 1.0 // Author: // Create Data: // History: // <Author> <Time> <Version> <Des> // guoyou 2015-1-11 1.0 ...
28.652778
113
0.690742
Watch-Later
10e685ac1b1e881d975152a1b52cb827140e6c96
795
cpp
C++
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
1
2019-05-16T07:51:12.000Z
2019-05-16T07:51:12.000Z
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string> #include <forward_list> using namespace std; int main(int argc, char **argv) { int ia[] = {0, 1, 1, 2, 3, 5, 8, 13, 21, 55, 89}; forward_list<int> forward_list1(ia, ia+9); forward_list<int>::iterator it1 = forwa...
20.921053
67
0.54717
grasslog
10e8650fe8ef68bfbb745245a81a0f49829b167c
3,001
cpp
C++
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
4
2015-12-16T06:43:14.000Z
2020-01-24T06:05:47.000Z
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
#include "CIM_DiskDrive_Provider.h" CIMPLE_NAMESPACE_BEGIN CIM_DiskDrive_Provider::CIM_DiskDrive_Provider() { } CIM_DiskDrive_Provider::~CIM_DiskDrive_Provider() { } Load_Status CIM_DiskDrive_Provider::load() { return LOAD_OK; } Unload_Status CIM_DiskDrive_Provider::unload() { return UNLOAD_OK; } Get_Inst...
23.084615
64
0.784738
LegalizeAdulthood
10ebaf8f0371d9ab8cf9a5fc19805763e3b53d75
3,097
cpp
C++
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
#include "tile_layer.hpp" #include "conversions.hpp" #include "drawable_helpers.hpp" #include "shape.hpp" #include <memory> namespace jt { namespace tilemap { TileLayer::TileLayer( std::vector<TileInfo> const& tileInfo, std::vector<std::shared_ptr<jt::Sprite>> tileSetSprites) : m_tileSetSprites { tileSetSpri...
30.97
99
0.658379
runvs
10ec694f24a5389f27139a32b47b5eae1c58b3dd
70,515
cpp
C++
debug/client/wince/WinCESystem.cpp
myArea51/binnavi
021e62dcb7c3fae2a99064b0ea497cb221dc7238
[ "Apache-2.0" ]
3,083
2015-08-19T13:31:12.000Z
2022-03-30T09:22:21.000Z
debug/client/wince/WinCESystem.cpp
Jason-Cooke/binnavi
b98b191d8132cbde7186b486d23a217fcab4ec44
[ "Apache-2.0" ]
99
2015-08-19T14:42:49.000Z
2021-04-13T10:58:32.000Z
debug/client/wince/WinCESystem.cpp
Jason-Cooke/binnavi
b98b191d8132cbde7186b486d23a217fcab4ec44
[ "Apache-2.0" ]
613
2015-08-19T14:15:44.000Z
2022-03-26T04:40:55.000Z
// Copyright 2011-2016 Google Inc. 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...
31.009235
84
0.637623
myArea51
10ee4e43d27c92ba8d077a527064e30657eb9dad
7,443
cc
C++
chrome/browser/gtk/extension_install_prompt2_gtk.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/gtk/extension_install_prompt2_gtk.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/gtk/extension_install_prompt2_gtk.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 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 <gtk/gtk.h> #include "app/l10n_util.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/brows...
38.564767
80
0.720005
Gitman1989
10eec7895b1c658cd3e5c24a7cc8d9f70106e046
16,423
cpp
C++
src/petuum_ps/thread/ssp_aggr_bg_worker.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
370
2015-06-30T09:46:17.000Z
2017-01-21T07:14:00.000Z
src/petuum_ps/thread/ssp_aggr_bg_worker.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
3
2016-11-08T19:45:19.000Z
2016-11-11T13:21:19.000Z
src/petuum_ps/thread/ssp_aggr_bg_worker.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
159
2015-07-03T05:58:31.000Z
2016-12-29T20:59:01.000Z
#include <petuum_ps/thread/ssp_aggr_bg_worker.hpp> #include <petuum_ps/thread/trans_time_estimate.hpp> #include <petuum_ps_common/util/stats.hpp> namespace petuum { void SSPAggrBgWorker::SetWaitMsg() { WaitMsg_ = WaitMsgTimeOut; } void SSPAggrBgWorker::PrepareBeforeInfiniteLoop() { msg_send_timer_.restart(); } ...
32.585317
93
0.720088
daiwei89
10f0abd161d4857d3f25979ec03258465137d1bc
7,761
cpp
C++
src/CUDA/xx_decomposition_prototype/test/simulation_unittest.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
src/CUDA/xx_decomposition_prototype/test/simulation_unittest.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
src/CUDA/xx_decomposition_prototype/test/simulation_unittest.cpp
csrhau/DiffusionOptimisationStudy
77fb718123d18c8358ccab4e958382b760901d55
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "common.h" #include "simulation.h" TEST(SimulationTests, OneEqualsOne) { EXPECT_EQ(1, 1); } TEST(SimulationTests, ConservationOfEnergyHost) { const double nu = 0.05; const double sigma = 0.25; const double width = 2; const double height = 2; con...
35.438356
95
0.51849
csrhau
10f13b1c047fa6a2760ca8c2237bfacde6411eec
3,421
cpp
C++
Source/src/ezcard/parameter/image_type.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
5
2019-10-30T06:10:10.000Z
2020-04-25T16:52:06.000Z
Source/src/ezcard/parameter/image_type.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
null
null
null
Source/src/ezcard/parameter/image_type.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
2
2019-11-27T23:47:54.000Z
2020-01-13T16:36:03.000Z
// // image_type.cpp // OpenPGP // // Created by Yanfeng Zhang on 1/10/17. // // The MIT License // // Copyright (c) 2019 Proton Technologies AG // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
40.72619
117
0.710319
ProtonMail
10f62f1ab4e775ba10d4203cbd11d5697d89c72c
1,727
cpp
C++
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <string> #include <vector> #include <bits/stdc++.h> #include <cstdlib> using std::vector; using std::string; using std::max; using std::min; using namespace std; long long eval(long long a, long long b, char op) { if (op == '*') { return a * b; } else if (op =...
20.317647
66
0.549508
Mohit-007
10f71273a383889fee38e89f0f9fba5deaa2c854
300
cpp
C++
tests/tr1/tests/cvt/cp856/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
8,232
2019-09-16T22:51:24.000Z
2022-03-31T03:55:39.000Z
tests/tr1/tests/cvt/cp856/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
2,263
2019-09-17T05:19:55.000Z
2022-03-31T21:05:47.000Z
tests/tr1/tests/cvt/cp856/test.cpp
isra-fel/STL
6ae9a578b4f52193dc523922c943a2214a873577
[ "Apache-2.0" ]
1,276
2019-09-16T22:51:40.000Z
2022-03-31T03:30:05.000Z
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "tdefs.h" #include <cvt/cp856> #define NCHARS 0x100 #define MYWC_MAX 0xffff #define MYFILE "cp856" #define MYNAME stdext::cvt::codecvt_cp856<wchar_t> #include <cvt_xtest.h>
25
59
0.72
isra-fel
10f7760fece65fb3bc48e3fdf0099b45f678e670
628
cpp
C++
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { cout<<"Normal Swoaping "<<endl; int num1,num2; cin>>num1>>num2; cout<<"Number1 = :"<<num1<<endl<<"Number2 = :"<<num2<<endl; num1 = num1+num2; num2=num1-num2; num1=num1-num2; cout<<"After Swoap "<<endl; cout<<"Number1 = :"<<num...
22.428571
63
0.525478
mushahadur
10f8fd573a0af11d90390f982049c10d8f1514d0
22,070
cpp
C++
Sources/Elastos/LibCore/src/elastos/sql/sqlite/CStmt.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastos/sql/sqlite/CStmt.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastos/sql/sqlite/CStmt.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
24.853604
90
0.55845
jingcao80
10f911f83e849bde222afe4788744c1d27482882
899
cpp
C++
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
null
null
null
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
29
2020-10-21T07:34:55.000Z
2021-01-12T15:15:53.000Z
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
1
2020-10-19T19:30:40.000Z
2020-10-19T19:30:40.000Z
#include <catch2/catch.hpp> #include "core/gui/Text.h" TEST_CASE("[Text]") { ire::core::gui::Text text; SECTION("HorizontalAlignment") { REQUIRE(text.getHorizontalAlign() == ire::core::gui::Text::HorizontalAlignment::Center); text.setHorizontalAlign(ire::core::gui::Text::HorizontalAlignment...
35.96
96
0.649611
Kubaaa96
10fbc59ffdda178d9bf3a7efefcc24f33d6eb079
1,360
cpp
C++
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
// // imageview.cpp // MDStudio // // Created by Daniel Cliche on 2014-07-15. // Copyright (c) 2014-2020 Daniel Cliche. All rights reserved. // #include "imageview.h" #include <math.h> #include "draw.h" using namespace MDStudio; // -------------------------------------------------------------------------------...
31.627907
120
0.408088
dcliche
10fcb69233b3531647312d2f824d66dcc1921eda
337
hpp
C++
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Command/Commands/GlDrawIndirectCommand.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #include "renderer/GlRenderer/Command/Commands/GlCommandBase.hpp" namespace ashes::gl { void buildDrawIndirectCommand( VkBuffer buffer , VkDeviceSize offset , uint32_t drawCount , uint32_t stride , VkPrimitiveTopology mode , Cmd...
18.722222
65
0.756677
DragonJoker
10fd90847f0149ef1041ca034a8751cf0bc4150d
599
cc
C++
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
pixel-standalone/main_cuda.cc
lauracappelli/pixeltrack-standalone-test-oneapi
5832b6680ea0327f124afcfac801addbea458203
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include "analyzer_cuda.h" #include "input.h" #include "modules.h" #include "output.h" int main(int argc, char** argv) { Input input = read_input(); std::cout << "Got " << input.cablingMap.size << " for cabling, wordCounter " << input.wordCounter << std::endl; std::unique_...
27.227273
119
0.647746
lauracappelli
800b89559fa8c25641afa66383c52d14fd764e4c
6,134
hpp
C++
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
firmware/library/L2_HAL/displays/oled/ssd1306.hpp
Adam-D-Sanchez/SJSU-Dev2
ecb5bb01912f6f85a76b6715d0e72f2d3062ceed
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstddef> #include <cstdint> #include "config.hpp" #include "L1_Drivers/gpio.hpp" #include "L1_Drivers/ssp.hpp" #include "L2_HAL/displays/pixel_display.hpp" #include "utility/log.hpp" class Ssd1306 : public PixelDisplayInterface { public: static constexpr size_t kColumns = 128; static...
26.669565
80
0.610205
Adam-D-Sanchez
800dde40d565d7c0a93918f0b54ebdc223576c86
864
cpp
C++
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Examples/DataImport/clariusStreaming.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
/** * @example clariusStreaming.cpp */ #include <FAST/Streamers/ClariusStreamer.hpp> #include <FAST/Visualization/SimpleWindow.hpp> #include <FAST/Visualization/ImageRenderer/ImageRenderer.hpp> #include <FAST/Tools/CommandLineParser.hpp> using namespace fast; int main(int argc, char**argv) { CommandLineParser p...
33.230769
87
0.701389
andreped
800def1166e8d585db0ff3ee0995134949bc6a9f
2,459
cpp
C++
UVa Online Judge/1056 - Degrees of Separation.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
2
2019-03-19T23:59:48.000Z
2019-03-21T20:13:12.000Z
UVa Online Judge/1056 - Degrees of Separation.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
UVa Online Judge/1056 - Degrees of Separation.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <queue> #include <map> #include <vector> using namespace std; int n, q, v, w, degree = 0; string firstName, secondName; vector<vector<int>> list; queue<int> endof; vector <bool> marked; void dfs(int b) { marked[b] = true; ...
12.356784
46
0.445303
SamanKhamesian
801015bf1c7bc7153e57400a0fa9be4abb286cd6
4,199
cc
C++
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
plugins/src/PairConvFilter.cc
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "PairConvFilter.hh" //------------// // Geant4 // //------------// #include "G4RunManager.hh" namespace slic { G4ClassificationOfNewTrack PairConvFilter::stackingClassifyNewTrack( const G4Track *track, const G4ClassificationOfNewTrack &currentTrackClass) { if (track == currentTrack_) { current...
34.418033
80
0.618242
omar-moreno
80101ec74538ebee838e07fdc1b0c6f743f94c2a
438
cpp
C++
Chapter16/cfgdemo/cfgdemo.cpp
fengjixuchui/Win10SysProgBookSamples
360aff30a19da2ea4c9be6f41c481aa8bf39a2b0
[ "MIT" ]
249
2019-07-09T17:14:43.000Z
2022-03-28T01:54:26.000Z
Chapter16/cfgdemo/cfgdemo.cpp
fengjixuchui/Win10SysProgBookSamples
360aff30a19da2ea4c9be6f41c481aa8bf39a2b0
[ "MIT" ]
8
2019-07-12T21:08:29.000Z
2022-01-04T12:32:00.000Z
Chapter16/cfgdemo/cfgdemo.cpp
isabella232/Win10SysProgBookSamples
97e479a9a4923ecf94866bae516a76bde02ef71e
[ "MIT" ]
70
2019-07-10T02:14:55.000Z
2022-03-08T00:53:07.000Z
// cfgdemo.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> class A { public: virtual ~A() = default; virtual void DoWork(int x) { printf("A::DoWork %d\n", x); } }; class B : public A { public: void DoWork(int x) override { printf("B::DoWork %d\n",...
12.882353
97
0.605023
fengjixuchui
80113427fd80ee179df6ecd8a9649896a9ca6f07
413
cc
C++
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
121
2019-02-22T06:50:31.000Z
2022-01-22T23:23:42.000Z
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
24
2019-05-07T08:58:38.000Z
2022-01-26T02:36:06.000Z
sentinel-core/test/mock/flow/mock.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
36
2019-03-19T09:46:08.000Z
2021-11-24T13:20:56.000Z
#include "sentinel-core/test/mock/flow/mock.h" namespace Sentinel { namespace Flow { MockTrafficShapingChecker::MockTrafficShapingChecker() = default; MockTrafficShapingChecker::~MockTrafficShapingChecker() = default; MockTrafficShapingCalculator::MockTrafficShapingCalculator() = default; MockTrafficShapingCalculato...
29.5
72
0.813559
windrunner123
80135360f9ed8dac2676aee65e4550af78b0ca6b
6,104
cpp
C++
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/qCC/CloudCompare_autogen/include_Debug/EWIEGA46WW/moc_ccOverlayDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'ccOverlayDialog.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! **********************************************...
33.723757
106
0.589613
ohanlonl
8013b7bf5844cbc6699c712c489a2f5c058078f5
29,989
cc
C++
visitor/variant.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
visitor/variant.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
visitor/variant.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
1
2020-01-03T20:13:50.000Z
2020-01-03T20:13:50.000Z
/* <visitor/variant.test.cc> Unit test for <visitor/variant.h>. Copyright 2010-2014 Stig 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/LIC...
29.574951
81
0.600954
jssmith
8015799e7c2ea7a9160385aaf2808ed69370238e
1,708
cpp
C++
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
jni/application/Crosshair.cpp
clarkdonald/eecs494explore3d
fd4086d2c5482a289d51ef71c5f1ae20347db80a
[ "BSD-2-Clause" ]
null
null
null
// // Crosshair.cpp // game // // Created by Donald Clark on 10/27/13. // // #include "Crosshair.h" #include "Utility.h" #include "Player.h" #include <zenilib.h> using namespace Zeni; Crosshair::Crosshair() : radius(25.0f) {} Crosshair::~Crosshair() {} void Crosshair::render(const bool &is_wielding_weapon, Play...
26.276923
86
0.641101
clarkdonald
801de1b0109f88522baa11fb2b6ff42cfc9b85f6
1,597
cpp
C++
src/distance_widget.cpp
michaelscales88/Qt-GuiApp
b66d017b00b7a94d9a697fa5a70a600564c9a251
[ "MIT" ]
null
null
null
src/distance_widget.cpp
michaelscales88/Qt-GuiApp
b66d017b00b7a94d9a697fa5a70a600564c9a251
[ "MIT" ]
1
2018-06-26T21:39:39.000Z
2018-06-26T21:39:39.000Z
src/distance_widget.cpp
michaelscales88/Qt-GuiApp
b66d017b00b7a94d9a697fa5a70a600564c9a251
[ "MIT" ]
null
null
null
/* Graphical User Interface Assignment Interface3 (I3) * Developer: Michael Scales */ #include "distance_widget.h" DistanceWidget::DistanceWidget(QWidget *parent) : Base(parent) { // Configure view QLabel *viewLabel = new QLabel( tr("Select the maximum distance you are willing to travel:")); ...
30.132075
81
0.686913
michaelscales88
801ff9d16ae2b4b5dc73660bd69ff45251b5c18d
93
cpp
C++
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
keyword/extern/main.cpp
learnMachining/cplus2test
8cc0048627724bb967f27d5cd9860dbb5804a7d9
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; extern double PI; int main() { cout<<PI<<endl; }
10.333333
20
0.677419
learnMachining
80218a628bb37821b34b2d14050b4b3d67a7a68e
8,076
cpp
C++
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
4
2015-01-09T00:11:54.000Z
2021-03-29T13:17:24.000Z
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
2
2015-01-28T14:06:39.000Z
2017-08-02T06:54:34.000Z
Code/WolfEngine/Math/Matrix.cpp
Wolfos/WolfEngine
8034c2f5456c34b59be68f2855d4a6cab3b829f2
[ "Apache-2.0" ]
null
null
null
// // Created by Robin on 01/01/2018. // #include "Matrix.h" #include <cstring> #include "WolfMath.h" Matrix::Matrix() { SetIdentity(); } const float* Matrix::GetData() const { return data; } void Matrix::SetIdentity() { memset(data, 0, sizeof(float) * 16); data[0] = 1; data[5] = 1; data[10] = 1; data[15] = ...
29.911111
106
0.516097
Wolfos
8022ca8af65bfc936232603461e0c41b86a2e65b
1,336
cpp
C++
O2020_HUST/O2020CNTDIV.cpp
trannguyenhan01092000/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
8
2020-11-26T03:36:49.000Z
2020-11-28T14:33:07.000Z
O2020_HUST/O2020CNTDIV.cpp
trannguyenhan/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
null
null
null
O2020_HUST/O2020CNTDIV.cpp
trannguyenhan/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int MAX = 1000005; int snt[MAX]; int phantich[MAX]; // Sang so nguyen to void sieve(int N) { bool isPrime[N+1]; for(int i = 0; i <= N;++i) { isPrime[i] = true; } isPrime[0] = false; isPrime[1] = false; int cnt = 0; for(int i = 2; i ...
19.647059
64
0.431886
trannguyenhan01092000
8022e8f3acdb43eec1bf00a7fdde581e3651bf66
3,544
cpp
C++
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
471
2015-08-05T04:20:11.000Z
2022-03-17T10:10:28.000Z
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
31
2015-08-05T18:35:17.000Z
2021-07-09T13:13:39.000Z
tests/nameof.cpp
RodrigoHolztrattner/ctti
b4d5dc59a412c1dc28dd4480df28cb20e7fffcb1
[ "MIT" ]
51
2015-08-05T13:43:46.000Z
2021-11-30T13:09:25.000Z
#include <ctti/nameof.hpp> #include "catch.hpp" using namespace ctti; namespace foo { struct Foo {}; namespace bar { struct Bar {}; } inline namespace inline_quux { struct Quux {}; } } namespace bar { struct Bar {}; constexpr ctti::detail::cstring ctti_nameof(ct...
23.012987
96
0.55474
RodrigoHolztrattner
802480bde22ab44c61985d44dcefd7c1721ff411
2,794
cc
C++
services/network/private_network_access_check.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/network/private_network_access_check.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
services/network/private_network_access_check.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "services/network/private_network_access_check.h" #include "base/metrics/histogram_functions.h" #include "services/network/public/cpp/ip_address...
36.285714
79
0.753758
zealoussnow
8025bc84a4d49f5ee822183d4792b22f6a4ecdda
4,313
cpp
C++
gui/text/alter/ignoretab.cpp
fourier/frostbite
47b00c5b93a949300e5b387e38d6ab77afc799d9
[ "MIT" ]
27
2016-03-25T19:15:34.000Z
2021-10-17T14:39:00.000Z
gui/text/alter/ignoretab.cpp
fourier/frostbite
47b00c5b93a949300e5b387e38d6ab77afc799d9
[ "MIT" ]
109
2016-09-02T08:13:58.000Z
2022-03-28T05:45:51.000Z
gui/text/alter/ignoretab.cpp
fourier/frostbite
47b00c5b93a949300e5b387e38d6ab77afc799d9
[ "MIT" ]
20
2016-06-30T15:29:25.000Z
2021-04-05T16:47:17.000Z
#include "ignoretab.h" #include "text/alter/alterdialog.h" #include "text/alter/altersettingsentry.h" #include "text/alter/ignoresettings.h" #include "globaldefines.h" #include <QHeaderView> IgnoreTab::IgnoreTab(QObject *parent) : QObject(parent), AbstractTableTab() { alterDialog = (AlterDialog*)parent; ign...
30.807143
109
0.704846
fourier
8028d2add352db7f39ceccb7f5d3a8e9f0ead6d7
4,904
hpp
C++
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
samples/golf/src/icon.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
static const unsigned char icon[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xf8, 0xe1,...
272.444444
360
0.576468
fallahn
802af22302204a6bf086d0dffd01d52ed60258c0
3,300
cpp
C++
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
5
2015-08-13T18:46:45.000Z
2018-04-18T18:51:43.000Z
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
18
2015-08-19T13:25:30.000Z
2017-05-08T10:55:48.000Z
xyuv/src/config-parser/minicalc/operations.cpp
stian-svedenborg/xyuv
c725b4f926ef3c5311878b0b8b9c4dacbbf0db34
[ "MIT" ]
3
2016-07-21T12:18:06.000Z
2018-05-19T05:32:32.000Z
/* * The MIT License (MIT) * * Copyright (c) 2015 Stian Valentin Svedenborg * * 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 righ...
25.984252
80
0.662727
stian-svedenborg
802c70a16d628df48df1a84173cbfbf23d88e632
24,188
cpp
C++
src/MorphologyTrainer/MorphologyTrainerMain.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/MorphologyTrainer/MorphologyTrainerMain.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/MorphologyTrainer/MorphologyTrainerMain.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2009 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "Generic/common/limits.h" #include "Generic/common/ParamReader.h" #include "Generic/common/UTF8InputStream.h" #include "Generic/common/Sexp.h" #include "Generic/theories/Lexicon.h" #includ...
33.54785
140
0.655408
BBN-E
802e48289708f2cf57236d5b295089aef1c3bf34
1,293
hh
C++
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimFitterInterface.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
/* * WCSimFitterInterface.hh * * Created on: 31 Oct 2014 * Author: andy */ #pragma once #include <TString.h> #include "WCSimTrackParameterEnums.hh" class WCSimLikelihoodFitter; class WCSimFitterConfig; class WCSimFitterPlots; class WCSimOutputTree; class WCSimPiZeroFitter; class WCSimCosmicFitter; class W...
19.892308
69
0.78809
chipsneutrino
80335799b0d21634a27b9f502d332eba67a1516e
6,078
cc
C++
o3d/core/cross/event_manager.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
o3d/core/cross/event_manager.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
o3d/core/cross/event_manager.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
36.614458
80
0.648898
rwatson
803423d1e5c719bda57888babcca905836a0c056
2,334
cpp
C++
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
4
2020-11-11T15:17:28.000Z
2021-06-12T10:25:10.000Z
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
null
null
null
src/main.cpp
Embedded-AMS/EmbeddedProto_Example_Makefile
4e8440c887835f27b8343baa95193618eaf9b6c7
[ "CECILL-B" ]
1
2020-11-11T17:16:25.000Z
2020-11-11T17:16:25.000Z
// Includes #include <stm32f4xx.h> #include <main.h> #include <reply.h> #include <request.h> #include <DemoWriteBuffer.h> #include <DemoReadBuffer.h> // Construction of the messages. demo::reply reply_msg; demo::request request_msg; // Construction of the write and read buffer objects. demo::WriteBuffer<50> send_...
26.224719
98
0.606255
Embedded-AMS
8036fc4b63770a35dee077bfd84863330de05316
413
cpp
C++
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 9. Sequential Containers/Codes/9.31_1 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> #include <list> int main() { std::list<int> myList{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; auto iter = myList.begin(); while (iter != myList.end()) { if (*iter % 2) { iter = myList.insert(iter, *iter); std::advance(iter, 2); } else { iter = myList.erase(iter); } }...
17.208333
55
0.510896
Yunxiang-Li
80384bdac5914041b43cdf7a3d960e6ad18d31c1
368
cpp
C++
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/cifra_control_comuna.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int sum_cifra_control(int a, int b){ int k=0; if(a>b) swap(b, a); if(a==9){ for(int i=a; i<=b; i++) if(i%9==0) k++; } else for(int i=a; i<=b; i++) if(i%9==a) k++; return k; } int main() { int a, b; cin>>a>>b; ...
13.142857
36
0.464674
Al3x76
803940a0f9b1a9944436c3b9a19dad52aec0b80e
2,896
cpp
C++
src/Kononov/Common/Scene/CubeMesh.cpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
2
2021-04-25T15:18:40.000Z
2022-02-27T15:44:04.000Z
src/Kononov/Common/Scene/CubeMesh.cpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
31
2021-02-17T21:12:59.000Z
2021-05-26T07:06:59.000Z
src/Kononov/Common/Scene/CubeMesh.cpp
sadads1337/fit-gl
88d9ae1f1935301d71ae6e090aff24e6829a7580
[ "MIT" ]
9
2021-02-08T08:52:51.000Z
2022-02-27T15:43:55.000Z
#include "CubeMesh.hpp" namespace Kononov { const std::vector<Kononov::RegularVertex> cubeVertices = { {{-1.0F, -1.0F, 1.0F}, {0, 0, 1}, {0.0F, 0.0F}}, // v0 {{1.0F, -1.0F, 1.0F}, {0, 0, 1}, {0.333F, 0.0F}}, // v1 {{-1.0F, 1.0F, 1.0F}, {0, 0, 1}, {0.0F, 0.5F}}, // v2 {{1.0F, 1.0F, 1.0F}, {0, 0, 1}, ...
46.709677
75
0.477901
sadads1337
8039a5613e3d99d4b6c17c084c5b584c0c66a22e
231
hpp
C++
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
1
2022-03-27T10:21:41.000Z
2022-03-27T10:21:41.000Z
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
null
null
null
packets/PKT_SPM_RemoveListener.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
3
2019-07-20T03:59:10.000Z
2022-03-27T10:20:09.000Z
#ifndef HPP_110_PKT_SPM_RemoveListener_HPP #define HPP_110_PKT_SPM_RemoveListener_HPP #include "base.hpp" #pragma pack(push, 1) struct PKT_SPM_RemoveListener_s : DefaultPacket<PKT_SPM_RemoveListener> { }; #pragma pack(pop) #endif
21
71
0.831169
HoDANG
d9a2d2d4c3d82150466ecd93f0e234bbe514155f
5,494
cpp
C++
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
77
2015-01-28T17:21:49.000Z
2022-02-17T17:59:21.000Z
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
5
2015-03-22T23:14:54.000Z
2020-09-18T13:26:03.000Z
AndroidClient/math/collision/BoundingBox.cpp
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
24
2015-02-12T04:34:37.000Z
2021-06-19T17:05:23.000Z
/* Copyright 2011 Aevum Software aevum @ aevumlab.com 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 app...
28.915789
135
0.626866
aviskumar
d9a3207d357980280637637846369c3263cc35a9
22
cpp
C++
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
null
null
null
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
6
2022-01-16T05:29:01.000Z
2022-01-18T01:10:29.000Z
src/Game/zNPCGlyph.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
1
2022-01-16T00:04:23.000Z
2022-01-16T00:04:23.000Z
#include "zNPCGlyph.h"
22
22
0.772727
DarkRTA
d9a32c2b5d789fbea9b80b1a68abdd706713bfd8
130
hpp
C++
opencv2.framework/Versions/A/Headers/videostab/global_motion.hpp
osis/nostalgia-scanner-ios
100163e3c09f0dfe4483fb6a708522c750b46c52
[ "MIT" ]
15
2018-02-02T12:15:59.000Z
2022-03-31T00:11:49.000Z
opencv2.framework/Versions/A/Headers/videostab/global_motion.hpp
osis/nostalgia-scanner-ios
100163e3c09f0dfe4483fb6a708522c750b46c52
[ "MIT" ]
null
null
null
opencv2.framework/Versions/A/Headers/videostab/global_motion.hpp
osis/nostalgia-scanner-ios
100163e3c09f0dfe4483fb6a708522c750b46c52
[ "MIT" ]
5
2018-07-24T12:13:33.000Z
2019-08-15T09:26:42.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:cbbe8c77eae2a764e2a4ff88b6c272cb27c1c323992374907239fb20849c9539 size 10724
32.5
75
0.884615
osis
d9a5f9e8791b9e4055bc100df05bf5a4cc14875a
1,346
cpp
C++
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
19
2016-07-27T14:23:17.000Z
2021-03-14T08:10:45.000Z
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
1
2016-09-25T18:03:24.000Z
2016-10-01T06:29:59.000Z
luves/buffer.cpp
Leviathan1995/Luves
c8c64faf7130cd0dc58a1ffd2c7be24caedecbd2
[ "MIT" ]
5
2016-08-02T06:55:19.000Z
2021-05-05T14:15:20.000Z
// // Buffer.cpp // Luves // // Created by leviathan on 16/6/1. // Copyright © 2016年 leviathan. All rights reserved. // #include "buffer.h" namespace luves { // //Buffer // void Buffer::Append(Buffer & buffer) { buffer_.insert(buffer_.end(), buffer.buffer_[buffer.GetReadIndex()], buff...
21.709677
96
0.52526
Leviathan1995
d9a765f8ec2fa70f87ced8555fed9461a218ae41
6,144
cpp
C++
tls-diff-testing/middleman/src/TransportRelay.cpp
sizaif/tls-diff-testing
4eae4e8de6ebd1b791e32fca44b8189b04a2ea10
[ "BSD-3-Clause" ]
12
2017-11-10T05:39:47.000Z
2021-06-03T10:44:40.000Z
tls-diff-testing/middleman/src/TransportRelay.cpp
sizaif/tls-diff-testing
4eae4e8de6ebd1b791e32fca44b8189b04a2ea10
[ "BSD-3-Clause" ]
1
2019-02-05T14:13:28.000Z
2019-02-05T14:13:28.000Z
tls-diff-testing/middleman/src/TransportRelay.cpp
sizaif/tls-diff-testing
4eae4e8de6ebd1b791e32fca44b8189b04a2ea10
[ "BSD-3-Clause" ]
6
2017-10-12T06:03:09.000Z
2021-07-02T07:14:13.000Z
/* * Copyright (C) 2017 * Andreas Walz [andreas.walz@hs-offenburg.de] * Offenburg University of Applied Sciences * Institute of Reliable Embedded Systems and Communications Electronics (ivESK) * [https://ivesk.hs-offenburg.de/] * All rights reserved. * * Redistribution and use in source and binary forms,...
24.094118
81
0.721842
sizaif
d9a7a5ffc12d6c001e55bfbef3eeddee1a46f3d6
2,993
hpp
C++
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
INCLUDE/Vcl/httputil.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'HTTPUtil.pas' rev: 6.00 #ifndef HTTPUtilHPP #define HTTPUtilHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <Classe...
42.757143
111
0.709322
earthsiege2
d9a8e28858aac3a8c270c5d48362e8309aed7fa2
1,614
cpp
C++
FastInverseSqrt.cpp
ubdussamad/x86-Vectorization-and-related
442ec6149729ae4ca26ca2da83c0fddf15164762
[ "CC0-1.0" ]
null
null
null
FastInverseSqrt.cpp
ubdussamad/x86-Vectorization-and-related
442ec6149729ae4ca26ca2da83c0fddf15164762
[ "CC0-1.0" ]
null
null
null
FastInverseSqrt.cpp
ubdussamad/x86-Vectorization-and-related
442ec6149729ae4ca26ca2da83c0fddf15164762
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <cmath> // This only works if IEE754 fp is being used for default float // Just for calculating log, 0.0683365F works for meeeeeeeee. // Tryin somethin pahneey // I am just using it for taking bianry log. // // author: ubussamad float fastFloatLog() __attribute_warn_unused_result__; int f...
26.032258
100
0.551425
ubdussamad
d9a9e4ea676155d885986bb4cfddc9c0710ff345
2,347
hpp
C++
liblogger/include/shs_manager.hpp
Parrot-Developers/logger
250b8e83f2c93434d6f613f1000a6ae9891aa567
[ "BSD-3-Clause" ]
null
null
null
liblogger/include/shs_manager.hpp
Parrot-Developers/logger
250b8e83f2c93434d6f613f1000a6ae9891aa567
[ "BSD-3-Clause" ]
null
null
null
liblogger/include/shs_manager.hpp
Parrot-Developers/logger
250b8e83f2c93434d6f613f1000a6ae9891aa567
[ "BSD-3-Clause" ]
1
2021-03-31T10:04:52.000Z
2021-03-31T10:04:52.000Z
/** * Copyright (c) 2019-2020 Parrot Drones SAS * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the fo...
37.253968
80
0.752024
Parrot-Developers
d9b000386041b16f5b4c6c1b773db1722d224b75
2,758
cpp
C++
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
1
2021-12-22T07:30:05.000Z
2021-12-22T07:30:05.000Z
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
null
null
null
src/parser.cpp
hanilr/ed
38c66d2376aa08fe20686d129cd901423aad1a46
[ "MIT" ]
null
null
null
// PARSER MAIN FILE // // STANDARD LIBRARY #include <iostream> #include <algorithm> // DIY LIBRARY #include "lib/parser.hpp" #include "lib/util.hpp" #include "lib/config.hpp" std::string parser_term(std::string term) { std::replace(term.begin(), term.end(), 46, 13); return term; } int parse...
34.475
88
0.573604
hanilr
d9b3f8c78faec9e298ccbd90b4008ac908dbd36a
13,758
cpp
C++
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/ThreadPool.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
34.918782
96
0.619567
dAck2cC2
d9b6b0ce1b6f9e664e1e8f739cd8375097c6b43c
4,102
cpp
C++
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/Test_ComputeShader/src/main.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "pathos/core_minimal.h" #include "pathos/shader/shader.h" using namespace pathos; #include <stdio.h> void initComputeShader(); int main(int argc, char** argv) { EngineConfig config; config.windowWidth = 800; config.windowHeight = 600; config.rendererType = ERendererType::Deferred; config.title ...
29.092199
131
0.720868
codeonwort
d9b7acec85a4d822bc3dfb7218676ea89f7a9bfa
1,605
cpp
C++
src/Qt5Network/QSslKey.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/Qt5Network/QSslKey.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
null
null
null
src/Qt5Network/QSslKey.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#include "QSslKey.hpp" #include "../convert/callable.hpp" #include "../thread.hpp" #include <QSslKey> #include "../Qt5Core/QByteArray.hpp" #include "../Qt5Core/Qt.hpp" #include "QSsl.hpp" int QSslKey_toDer(lua_State* const state) { return 0; } int QSslKey_toPem(lua_State* const state) { return 0; } void lua...
28.157895
200
0.666667
dafrito
d9b881e155db767076c9396697b46290c9f2ff5b
291
cpp
C++
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
arduino-libs/Pacman/src/IGameState.cpp
taylorsmithatnominet/BSidesCBR-2021-Badge
df3f13d780d6fb1b6d03d08e9bdd72f507f69aa6
[ "MIT" ]
null
null
null
#include "IGameState.h" #include "ServiceLocator.h" #include "DrawManager.h" namespace pacman { IGameState::IGameState(GameStateData * p_data) : m_datawPtr(p_data) { m_drawManagerwPtr = ServiceLocator<DrawManager>::GetService(); } IGameState::~IGameState() { } }; // namespace pacman
15.315789
63
0.742268
taylorsmithatnominet
d9b9c31e843efbbd08c65d935240a4df46964f82
2,873
cpp
C++
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/CEGUIFalagardEx/FalImageListProperties.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "falagardimagelistitem.h" #include "FalImageListProperties.h" #include "CEGUIPropertyHelper.h" #include <stdio.h> namespace CEGUI { namespace FalagardImageListBoxProperties { ////////////////////////////////////////////////////////////////////////////////////// String ImageNormal::get(const PropertyRecei...
37.311688
115
0.626523
hackerlank
d9bb54e82f921ac2851cf90c1629d9e1fcdb21e6
5,147
cpp
C++
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/RenderFarmUI/RF_TerraTool.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2004, Laminar Research. * * 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, ...
23.395455
133
0.642704
rromanchuk
d9bd35e18e8d8d40091d67985382764a270e1a65
1,359
cpp
C++
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
src/pacman/EventRunner.cpp
197708156EQUJ5/pac-man
30501ac43b9bcdd94b3cbb848c597882fc268492
[ "MIT" ]
null
null
null
#include "pacman/EventRunner.hpp" namespace pacman { EventRunner::~EventRunner() { board->release(); release(); } bool EventRunner::init() { board = std::make_unique<Board>(); if (board->init()) { renderer = board->getRenderer(); return true; } return true; } void Ev...
19.985294
65
0.486387
197708156EQUJ5
d9be3f062da62c24c3c0cfeb3347895b14b38587
436
hpp
C++
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$012304FDD17B496AFBE8BAC81FBABAAE.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> #include <tagBinaryParam.hpp> START_ATF_NAMESPACE union $012304FDD17B496AFBE8BAC81FBABAAE { char *AnsiString; wchar_t *UnicodeString; i...
21.8
108
0.690367
lemkova
d9c110c62db0fcb3bab06f65812a06e6fc48c527
1,646
cpp
C++
plugins/robots/generators/generatorBase/src/converters/switchConditionsMerger.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
6
2017-07-03T13:55:35.000Z
2018-11-28T03:39:51.000Z
plugins/robots/generators/generatorBase/src/converters/switchConditionsMerger.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
27
2017-06-29T09:36:37.000Z
2017-11-25T14:50:04.000Z
plugins/robots/generators/generatorBase/src/converters/switchConditionsMerger.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
null
null
null
/* Copyright 2007-2015 QReal Research Group * * 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...
35.021277
101
0.784933
anastasia143
d9c45f6eb15f5af50e85aa681f77aa59a475ace3
1,466
cpp
C++
source-code/Classes/LateBinding/stats_main.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
115
2015-03-23T13:34:42.000Z
2022-03-21T00:27:21.000Z
source-code/Classes/LateBinding/stats_main.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
56
2015-02-25T15:04:26.000Z
2022-01-03T07:42:48.000Z
source-code/Classes/LateBinding/stats_main.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
59
2015-11-26T11:44:51.000Z
2022-03-21T00:27:22.000Z
#include <iostream> #include <memory> #include "stats.h" #include "median_stats.h" int main(int argc, char* argv[]) { std::unique_ptr<Stats> stats {nullptr}; if (argc == 1) { stats = std::make_unique<Stats>(); } else if (argc == 2) { std::string arg(argv[1]); if (arg != "-m") { ...
32.577778
74
0.469986
gjbex
d9c480255af42617191d0d4230211b898f3941f4
1,692
cpp
C++
Framework/Platforms/Source/DCM/NaoRobot/SoundControl.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
Framework/Platforms/Source/DCM/NaoRobot/SoundControl.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
Framework/Platforms/Source/DCM/NaoRobot/SoundControl.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "SoundControl.h" #include <Tools/ThreadUtil.h> #include <iostream> #include <cstdlib> using namespace naoth; using namespace std; SoundControl::SoundControl() : stopping(false), media_path("Media/") { playThread = std::thread([this] {this->play();}); ThreadUtil::setPriority(playThread, ThreadUtil:...
24.882353
75
0.673759
tarsoly
d9cf293f3eab99383b4ccc21d94936107c4d39fe
582
cpp
C++
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet638/leet638_1.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: int shoppingOffers(vector<int>& price, vector<vector<int>>& special, vector<int>& needs) { int res = 0; int n = needs.size(); for (int i = 0; i < n; i++) { res += price[i] * needs[i]; } for (int i = 0; i < special.size(); i++) { bool ok = true; for (int j = 0; j < n; j++)...
26.454545
94
0.517182
mingdaz
d9cfd8789dbfee41741e5eddd84bcf31bc4e77a6
3,023
cpp
C++
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/transactions/test/test_helper/SetOptionsTestHelper.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#include "SetOptionsTestHelper.h" #include "ledger/ReviewableRequestHelper.h" #include "transactions/SetOptionsOpFrame.h" #include "test/test_marshaler.h" namespace stellar { namespace txtest { SetOptionsTestHelper::SetOptionsTestHelper(TestManager::pointer testManager) : TxHelper(testManager) { } Tr...
37.320988
116
0.640754
RomanTkachenkoDistr
d9d1072c6cab88f061fe52382162364f6575baa1
849
cpp
C++
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
src/libais/ais10.cpp
SkyTruth/libais
b9e10156d99994d18ce11c43ec04e7b0875db135
[ "Apache-2.0" ]
null
null
null
// : UTC and date query #include "ais.h" namespace libais { Ais10::Ais10(const char *nmea_payload, const size_t pad) : AisMsg(nmea_payload, pad), spare(0), dest_mmsi(0), spare2(0) { assert(message_id == 10); if (pad != 0 || num_chars != 12) { status = AIS_ERR_BAD_BIT_COUNT; return; } AisBitset...
20.707317
68
0.599529
SkyTruth
d9d2b75dc44d2ea053bfdb7994f68aaefe1503a4
5,316
cpp
C++
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
null
null
null
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
3
2019-07-16T23:53:29.000Z
2019-09-20T03:28:13.000Z
test/src/test_csv_line_reader.cpp
mguid65/csvio
933c11e71d3f796932808da879c89524688b3895
[ "MIT" ]
3
2019-07-10T20:09:28.000Z
2019-07-16T21:00:46.000Z
/* * MIT License * * Copyright (c) 2019 Matthew Guidry * * 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, m...
30.906977
100
0.626223
mguid65
d9d68dc37e878c506047a12804f6c23a03ac6c95
4,319
cpp
C++
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
3
2019-06-30T04:15:18.000Z
2019-12-19T17:32:07.000Z
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
service/nametag/piles.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
#include <inttypes.h> #include "ops.h" #define PILES 6 #define UPDATE_PIXEL 1 uint32_t program[] = { OP_SUB, 1, OP_PUSH, 3, OP_READARG, OP_PUSH, 0, OP_EQ, OP_NOT, OP_PUSH, 2, OP_CMP, OP_PUSH, 0, OP_FOREGROUND, OP_SUB, 2, OP_PUSH, 3, OP_READARG, OP_PUSH, 1, OP_EQ, OP_NOT, OP_PUSH, 3, OP_CMP, OP_PUSH, 255, ...
65.439394
78
0.686038
zostay
d9d8b47a3e9273e2c318a7487a4d9aff5c8d8dc6
301
cpp
C++
vehicle/Transprotobot/PlanningAndControlLayer.cpp
mnemonia/transprotobot
8fc85c0eb5f4cd587cd6ca8ada4593bb36cb27cd
[ "Apache-2.0" ]
null
null
null
vehicle/Transprotobot/PlanningAndControlLayer.cpp
mnemonia/transprotobot
8fc85c0eb5f4cd587cd6ca8ada4593bb36cb27cd
[ "Apache-2.0" ]
null
null
null
vehicle/Transprotobot/PlanningAndControlLayer.cpp
mnemonia/transprotobot
8fc85c0eb5f4cd587cd6ca8ada4593bb36cb27cd
[ "Apache-2.0" ]
null
null
null
#include "PlanningAndControlLayer.h" PlanningAndControlLayer::PlanningAndControlLayer(GlobalServicesLayer* gsl, VehicleInterfaceLayer* vil): sc(gsl, vil), tc(gsl, vil) { } void PlanningAndControlLayer::on() { Serial.println("PlanningAndControlLayer on"); this->sc.on(); this->tc.on(); }
21.5
103
0.737542
mnemonia
d9da38530ac9b7e28f6f2a4f4907aaedebe8ecae
6,299
cpp
C++
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-06-26T13:37:04.000Z
2022-03-11T14:08:22.000Z
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
118
2018-03-07T11:01:45.000Z
2022-02-01T19:44:14.000Z
src/renderer-backend-egl.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-02-20T19:31:13.000Z
2021-02-23T21:10:57.000Z
/* * Copyright (C) 2017, 2018 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the followi...
29.995238
110
0.650897
ceyusa
d9da41d2f43b5ba0a2435a25eaa4a251c1d86462
14,038
cpp
C++
src/statistics_sweep.cpp
cepellotti/phoebe
3fa935b29c93aa15df89a2ab0fcea4d7a3c56502
[ "MIT" ]
null
null
null
src/statistics_sweep.cpp
cepellotti/phoebe
3fa935b29c93aa15df89a2ab0fcea4d7a3c56502
[ "MIT" ]
null
null
null
src/statistics_sweep.cpp
cepellotti/phoebe
3fa935b29c93aa15df89a2ab0fcea4d7a3c56502
[ "MIT" ]
null
null
null
#include "statistics_sweep.h" #include <algorithm> #include <cmath> #include <iomanip> #include "bandstructure.h" #include "constants.h" #include "context.h" #include "mpiHelper.h" #include "utilities.h" StatisticsSweep::StatisticsSweep(Context &context, FullBandStructure *fullBandStr...
34.920398
80
0.644323
cepellotti
d9defd706fc158d22c70ec08eb89617f14f9cd4b
35,644
cpp
C++
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
Nana.Cpp03/source/gui/programming_interface.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * Nana GUI Programming Interface Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.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) * * @file: nana/gui/programming_interface.cpp */ #...
27.229947
165
0.70441
gfannes
d9e6fa82ad49f15ac3fddfc821eb45cf42bf2d37
132
cc
C++
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
udemy/modern_cpp/06-more-bazel-concepts/e01/src/Main.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
#include "e01/Greeter.h" #include <iostream> int main() { Greeter greeter; greeter.sayHello(); return EXIT_SUCCESS; }
11
24
0.659091
e-dnx
d9e803ff49925b27ef8ec609f69a9a2a79ba81e5
3,056
cpp
C++
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
core123/ut/ut_datetimeutils.cpp
fennm/fs123
559b97659352620ce16030824f9acd26f590f4e1
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#include "core123/sew.hpp" #include "core123/datetimeutils.hpp" #include "core123/strutils.hpp" #include <iostream> #include <vector> #include <utility> using core123::str; using core123::timet_to_httpdate; using core123::httpdate_to_timet; namespace sew = core123::sew; int main(int, char **) { struct timespec no...
36.380952
102
0.531741
fennm
d9ef31332220085090a44d4acde4ef960c6fbf7d
505
cpp
C++
LeetCode/C++/1389. Create Target Array in the Given Order.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1389. Create Target Array in the Given Order.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1389. Create Target Array in the Given Order.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 0 ms, faster than 100.00% of C++ online submissions for Create Target Array in the Given Order. //Memory Usage: 8.5 MB, less than 100.00% of C++ online submissions for Create Target Array in the Given Order. class Solution { public: vector<int> createTargetArray(vector<int>& nums, vector<int>& index) { ...
33.666667
111
0.6
shreejitverma
d9ef562f5553a943567d02dd8e10f99dcfaef609
209
cpp
C++
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
407
2019-04-26T10:45:52.000Z
2022-03-31T15:52:30.000Z
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
219
2019-04-29T16:42:01.000Z
2022-03-11T22:57:41.000Z
src/netlist/gate_library/enums/pin_direction.cpp
emsec/HAL
608e801896e1b5254b28ce0f29d4d898b81b0f77
[ "MIT" ]
53
2019-05-02T21:23:35.000Z
2022-03-11T19:46:05.000Z
#include "hal_core/netlist/gate_library/enums/pin_direction.h" namespace hal { template<> std::vector<std::string> EnumStrings<PinDirection>::data = {"none", "input", "output", "inout", "internal"}; }
29.857143
112
0.698565
emsec
d9f18d04d6f5427f9daab2f153fe102f3fae6d75
3,299
cpp
C++
InteractionBase/src/handlers/HWebBrowserItem.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
75
2015-01-18T13:29:43.000Z
2022-01-14T08:02:01.000Z
InteractionBase/src/handlers/HWebBrowserItem.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
364
2015-01-06T10:20:21.000Z
2018-12-17T20:12:28.000Z
InteractionBase/src/handlers/HWebBrowserItem.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
14
2015-01-09T00:44:24.000Z
2022-02-22T15:01:44.000Z
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
48.514706
120
0.707184
dimitar-asenov
d9f1d5d53ef635cbc1830031389a67d30b6146e9
1,167
cxx
C++
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
15
2020-04-22T15:18:28.000Z
2022-03-24T07:48:28.000Z
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
25
2020-04-18T18:55:50.000Z
2021-05-30T21:26:39.000Z
painty/core/test/src/ThreadPoolTest.cxx
lindemeier/painty
792cac6655b3707805ffc68d902f0e675a7770b8
[ "MIT" ]
2
2020-09-16T05:55:54.000Z
2021-01-09T12:09:43.000Z
/** * @file ThreadPoolTest.cxx * @author thomas lindemeier * * @brief * * @date 2020-10-20 * */ #include "gtest/gtest.h" #include "painty/core/ThreadPool.hxx" TEST(ThreadPoolTest, Construct) { { painty::ThreadPool singleThread(1U); std::cout << "Hello World from main thread: " << std::this_thread::...
22.018868
79
0.538132
lindemeier
d9f261c82987f6f3bb6b6b2b18753e62122b77d2
23,237
cpp
C++
src/third_party/mozjs-45/extract/js/src/jit/arm64/Assembler-arm64.cpp
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
72
2020-06-12T06:33:41.000Z
2021-03-22T03:15:56.000Z
src/third_party/mozjs-45/extract/js/src/jit/arm64/Assembler-arm64.cpp
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
9
2020-07-02T09:36:49.000Z
2021-03-25T23:54:00.000Z
src/third_party/mozjs-45/extract/js/src/jit/arm64/Assembler-arm64.cpp
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
14
2020-06-12T03:08:03.000Z
2021-02-03T11:43:09.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * 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://mozilla.org/MPL/2.0/. */ ...
33.823872
103
0.649438
EdwardPrentice
d9f5287e841f12ba254ead77dac377cbbbed193a
1,027
hpp
C++
src/xrGame/LevelGraphDebugRender.hpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
2
2015-02-23T10:43:02.000Z
2015-06-11T14:45:08.000Z
src/xrGame/LevelGraphDebugRender.hpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
17
2022-01-25T08:58:23.000Z
2022-03-28T17:18:28.000Z
src/xrGame/LevelGraphDebugRender.hpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
1
2015-06-05T20:04:00.000Z
2015-06-05T20:04:00.000Z
#pragma once #ifdef DEBUG #include "xrCore/xrCore.h" #include "Include/xrRender/DebugShader.h" class CGameGraph; class CLevelGraph; class CCoverPoint; class LevelGraphDebugRender { private: CGameGraph* gameGraph; CLevelGraph* levelGraph; debug_shader debugShader; int currentLevelId; bool currentAct...
23.340909
64
0.719572
clayne
d9f52f06a2cef864a54e8a7fe3d34112f354a7ae
318
cpp
C++
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass3/Q4.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int factorial(int n){ if (n == 0) return 1; return n * factorial(n - 1); } int nCr(int n,int r){ return factorial(n) / (factorial(r) * factorial(n - r)); } int main() { int n,r; cin>>n>>r; if(n>=r){ cout<<nCr(n,r); } else { cout<<"Invalid values"; } }
14.454545
57
0.562893
nitishgarg2002
d9f5dac229134746071f859ba31ca5650c3c6390
2,558
cpp
C++
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
1
2018-09-25T20:28:58.000Z
2018-09-25T20:28:58.000Z
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
firmware/robot2015/hw-test/i2c-test.cpp
JNeiger/robocup-firmware
c1bfd4ba24070eaa4e012fdc88aa468aafcc2e4e
[ "Apache-2.0" ]
null
null
null
#include <mbed.h> #include <rtos.h> #include <vector> #include <algorithm> #include <helper-funcs.hpp> #include "robot-devices.hpp" DigitalOut good(LED1, 0); DigitalOut bad1(LED2, 0); DigitalOut bad2(LED3, 0); DigitalOut pwr(LED4, 1); Serial pc(RJ_SERIAL_RXTX); I2C i2c(RJ_I2C_BUS); bool testPass = false; bool batc...
24.834951
75
0.543002
JNeiger
d9f8e71da0995d3e41d80a2ba36c51c5d7e6c6f1
831
cpp
C++
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/14569.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*14569*/ /*Got it!*/ /*39:42*/ #include <iostream> using namespace std; typedef unsigned long long ull; int main(){ ios_base::sync_with_stdio(false); cin.tie(0); ull sub[1001] = {0, }; ull student[10001] = {0, }; int n; cin >> n; for(int i = 0; i < n; i++){ int num; cin >> num; fo...
22.459459
54
0.391095
falconlee236
d9f9d9d60882dde41977388426afaf1aadf52383
1,285
cpp
C++
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/KPRIME.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* OBJECTIVE:- The game is called Count K-Primes. A number is a k-prime if it has exactly k distinct prime factors. The game is quite simple. Alice will give three numbers A, B & K to Bob. Bob needs to tell Alice the number of K-prime numbers between A & B (both inclusive). ...
23.796296
101
0.557198
prasantmahato
d9fa353463b6068760b36ddb7ff99c0df133ebca
1,956
cpp
C++
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/apps/orbiter/orbiter.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// orbiter.cpp // // by Anton Betten // // started: 4/3/2020 // #include "orbiter.h" using namespace std; using namespace orbiter; using namespace orbiter::top_level; int build_number = #include "../../../build_number" ; int main(int argc, const char **argv) { //cout << "orbiter.out main" << endl; orbiter_top...
21.494505
96
0.692229
abetten
d9faa845153642cf03657a1c95a0f4b2ae74fe51
516
cpp
C++
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
1
2018-08-01T12:16:45.000Z
2018-08-01T12:16:45.000Z
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
null
null
null
src/drawablecomponentmanager.cpp
sch-gamedev/hentes
7381ebc25d0db4ad528deb876afe81059d7e2118
[ "Zlib" ]
null
null
null
/* Copyright (C) 2012 KSZK GameDev * For conditions of distribution and use, see copyright notice in main.cpp */ #include "drawablecomponentmanager.h" void DrawableComponentManager::Update() { RemoveMarkedComponents(); for( std::list<DrawableComponent*>::iterator i = Components.begin(); i != Components.end(); i...
22.434783
98
0.676357
sch-gamedev
d9fb4dca8d35aa85aa05ffcd83a90fd7ac520370
857
hpp
C++
resources/kate/flow/execs/Compiler.hpp
advancedwebdeveloper/flow9
26e19216495bcb948d00aaea6b5c190e30fc6e3f
[ "MIT" ]
null
null
null
resources/kate/flow/execs/Compiler.hpp
advancedwebdeveloper/flow9
26e19216495bcb948d00aaea6b5c190e30fc6e3f
[ "MIT" ]
null
null
null
resources/kate/flow/execs/Compiler.hpp
advancedwebdeveloper/flow9
26e19216495bcb948d00aaea6b5c190e30fc6e3f
[ "MIT" ]
null
null
null
#pragma once #include <QDir> #include "Runner.hpp" namespace flow { struct Compiler { Compiler(QString file, QString flowdir); enum Type { FLOW, FLOWC1, FLOWC2, DEFAULT = FLOW }; Type type() const { return type_; } QStringList includeArgs() const; QStringList debugArgs(Runner) const; QStringList targetArgs(Run...
25.205882
59
0.733956
advancedwebdeveloper
d9ff35ef9a0cb951f1957346dd6f86098a62ef18
13,926
cpp
C++
src/misaxx-tissue/algorithms/segmentation2d/segmentation2d_klingberg_1.cpp
applied-systems-biology/misaxx-tissue
47c18547c7b5692d427a4e0d34432c9497668f04
[ "BSD-2-Clause" ]
null
null
null
src/misaxx-tissue/algorithms/segmentation2d/segmentation2d_klingberg_1.cpp
applied-systems-biology/misaxx-tissue
47c18547c7b5692d427a4e0d34432c9497668f04
[ "BSD-2-Clause" ]
null
null
null
src/misaxx-tissue/algorithms/segmentation2d/segmentation2d_klingberg_1.cpp
applied-systems-biology/misaxx-tissue
47c18547c7b5692d427a4e0d34432c9497668f04
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright by Ruman Gerst * Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Insitute (HKI) *...
35.891753
143
0.556369
applied-systems-biology
8a0023422cd9f9a674c49bd670e9f8eb09105361
17,435
cpp
C++
emulator/src/mame/drivers/microvsn.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/drivers/microvsn.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/drivers/microvsn.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Wilbert Pol /*************************************************************************** Milton Bradley MicroVision To Do: * Add support for the paddle control * Finish support for i8021 based cartridges Since the microcontrollers were on the cartridges it...
25.086331
156
0.686263
rjw57
8a009bd4e6de03372f9217e87a4c92ea355e2b19
1,230
cc
C++
caffe2/operators/unsafe_coalesce.cc
raven38/pytorch
3a56758e1fdbc928be3754d5b60e63c7fc55ea45
[ "Intel" ]
7
2021-05-29T16:31:51.000Z
2022-02-21T18:52:25.000Z
caffe2/operators/unsafe_coalesce.cc
raven38/pytorch
3a56758e1fdbc928be3754d5b60e63c7fc55ea45
[ "Intel" ]
1
2021-05-10T01:18:33.000Z
2021-05-10T01:18:33.000Z
caffe2/operators/unsafe_coalesce.cc
raven38/pytorch
3a56758e1fdbc928be3754d5b60e63c7fc55ea45
[ "Intel" ]
1
2021-12-26T23:20:06.000Z
2021-12-26T23:20:06.000Z
#include "caffe2/operators/unsafe_coalesce.h" namespace caffe2 { // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) OPERATOR_SCHEMA(UnsafeCoalesce) .NumInputsOutputs([](int inputs, int outputs) { return inputs + 1 == outputs; }) .AllowInplace([](int input, int output) { return inp...
41
101
0.773171
raven38
8a0293953680b037cfdd3de5074709eab487e381
294
cpp
C++
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
QuickPushQuizWin/MouseController.cpp
AinoMegumi/QuickPushQuiz
7fc858d898001b2ac31e9c1e4778c4dc548430d9
[ "MIT" ]
null
null
null
#include "MouseController.hpp" #include "DxLib.h" void MouseController::UpdateCurrentPos() { GetMousePoint(&this->Current.x, &this->Current.y); } bool MouseController::Clicked() { return Core::LeftHandMouse ? GetMouseInput() & MOUSE_INPUT_RIGHT : GetMouseInput() & MOUSE_INPUT_LEFT; }
22.615385
51
0.741497
AinoMegumi
8a052f0375fdd07c275f90c44e76293d0eedc7dd
1,281
cpp
C++
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
src/clipMaker/src/main.cpp
kothiga/Embodied-Social-Interface
4545e07b3d575f48dea5b42cde93ef81484e9567
[ "MIT" ]
null
null
null
/* ================================================================================ * Copyright: (C) 2022, SIRRL Social and Intelligent Robotics Research Laboratory, * University of Waterloo, All rights reserved. * * Authors: * Austin Kothig <austin.kothig@uwaterloo.ca> * * CopyPolicy: Released under...
29.113636
83
0.587041
kothiga
8a06019dd7e7f45e61e314f5c580f04449ad390c
7,229
hpp
C++
include/smooth/internal/se2.hpp
NamDinhRobotics/smooth
137008de5d68af459db2c7802e05cdabd166c424
[ "MIT" ]
1
2021-11-29T10:28:18.000Z
2021-11-29T10:28:18.000Z
include/smooth/internal/se2.hpp
NamDinhRobotics/smooth
137008de5d68af459db2c7802e05cdabd166c424
[ "MIT" ]
null
null
null
include/smooth/internal/se2.hpp
NamDinhRobotics/smooth
137008de5d68af459db2c7802e05cdabd166c424
[ "MIT" ]
null
null
null
// smooth: Lie Theory for Robotics // https://github.com/pettni/smooth // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2021 Petter Nilsson // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation fi...
29.506122
116
0.608383
NamDinhRobotics
8a084ae985f5aecf82771e2f66800875a29f1b6c
2,251
cpp
C++
ProblemSum/Problem_Time.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ProblemSum/Problem_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ProblemSum/Problem_Time.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Problem_Time.cpp - write the problem time file //********************************************************* #include "ProblemSum.hpp" //--------------------------------------------------------- // Problem_Time //--------------------------------------------...
24.204301
71
0.557086
kravitz
8a092f62819ba59c2f2fb5cbedc7dff5b916f172
6,573
hpp
C++
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
3
2021-01-26T08:42:17.000Z
2021-02-15T11:55:05.000Z
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
5
2021-01-23T20:44:39.000Z
2021-02-18T08:09:12.000Z
src/impl/meta_utils.hpp
thequickf/graph
fff8f514b3cb3e48f4b6dfd1dd4679bcf102e7de
[ "MIT" ]
null
null
null
#ifndef IMPL_META_UTILS_HPP #define IMPL_META_UTILS_HPP #include <graph_traits.hpp> #include <impl/graph_traits.hpp> #include <concepts> #include <type_traits> namespace graph_meta { template<typename...> struct list; template<typename Node> using abstract_trait_replacements = list< list<graph::Net, graph_impl...
29.742081
80
0.726761
thequickf
8a0a7d33d2fdce20335c993ef4ee73f18de6b426
4,382
cpp
C++
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
source/rt_stark.cpp
cloudy-astrophysics/cloudy_lfs
aed1d6d78042b93f17ea497a37b35a524f3d3e2e
[ "Zlib" ]
null
null
null
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ /*RT_stark compute stark broadening escape probabilities using Puetter formalism */ #include "cddefines.h" #include "iso.h" #include "dense.h" #in...
29.019868
89
0.606801
cloudy-astrophysics
8a0aad71238b49ec961a34ce84ac3b43ead05882
3,211
cpp
C++
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
7
2017-11-27T15:15:08.000Z
2021-03-29T16:53:22.000Z
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
null
null
null
SeqScript.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
4
2017-11-28T02:53:19.000Z
2021-01-29T10:37:52.000Z
///////////////////////////////////////////////////////////////////// ///////////////Original file by:Fyodor Zagumennov aka Sgw32////////// ///////////////Copyright(c) 2010 Fyodor Zagumennov ////////// ///////////////////////////////////////////////////////////////////// #include "SeqScript.h" //#include "Event.h" ...
16.723958
126
0.580193
Sgw32
8a0ea18187e60ea7f6ee587e479ce6ef684cdab2
1,594
hpp
C++
include/visualization/scorep_substrate_rrl.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
include/visualization/scorep_substrate_rrl.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
include/visualization/scorep_substrate_rrl.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
/* * scorep_substrate_rrl.hpp * * Created on: Feb 21, 2017 * Author: mian */ #ifndef INCLUDE_VISUALIZATION_SCOREP_SUBSTRATE_RRL_HPP_ #define INCLUDE_VISUALIZATION_SCOREP_SUBSTRATE_RRL_HPP_ #include <scorep/plugin/plugin.hpp> namespace spp = scorep::plugin::policy; using scorep_clock = scorep::chrono::measu...
31.88
94
0.69197
umbreensabirmain
8a18f59907a1f99ab38f599025f1ddd08fa8e14b
11,693
cpp
C++
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
1
2015-01-23T13:24:07.000Z
2015-01-23T13:24:07.000Z
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
src/core/OTData.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
/************************************************************ * * OTData.cpp * */ /************************************************************ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, Protocol, API,...
29.829082
78
0.635252
grealish