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
0cf8c9eadf4765bbe91ecff6c28a559fa567608d
370
cpp
C++
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: int jump(vector<int>& nums) { int curreach=0; int jumps=0; int maxreach=0; for(int i=0;i<nums.size()-1;i++){ maxreach=max(maxreach, i+nums[i]); if(i==curreach){ jumps++; curreach=maxreach; ...
20.555556
46
0.42973
Ananyaas
0cf9ea794f569df958c7d886479c773b7535927f
16,404
cpp
C++
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#include <engine/eXl_Main.hpp> #include <core/corelib.hpp> #include <core/log.hpp> #include <core/plugin.hpp> #include <core/random.hpp> #include <core/clock.hpp> #include <core/coretest.hpp> #include <core/image/imagestreamer.hpp> #include <core/resource/resourcemanager.hpp> #include <core/utils/filetextreader.hpp>...
24.704819
135
0.65167
eXl-Nic
0cfaee9c4a007ed95be1bb9b8ba542046757d2fb
6,738
cpp
C++
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-02-02T13:32:14.000Z
2017-08-20T07:58:49.000Z
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
null
null
null
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-03-09T02:41:25.000Z
2019-07-10T03:22:23.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
40.836364
131
0.676462
zukisoft
49057be46b80676e30a87b97e09854c9ceccbb53
2,881
cpp
C++
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
#include "Common.hpp" #include "TrackableObject.hpp" #include <FunnyOS/Stdlib/Functional.hpp> #include <gtest/gtest.h> using namespace FunnyOS::Stdlib; TEST(TestUtility, TestStorageEmpty) { TrackableObject::ResetAll(); Storage<TrackableObject> test{}; ASSERT_EQ(TrackableObject::GetCopyConstructionCount...
38.413333
102
0.68865
LetsPlaySomeUbuntu
490c92466a9605fc869507acb7b28dc5fbfc4772
11,416
cpp
C++
Phoenix3D/PX2Net/PX2IPv6AddressImpl.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Net/PX2IPv6AddressImpl.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Net/PX2IPv6AddressImpl.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2IPv6AddressImpl.cpp #include "PX2IPv6AddressImpl.hpp" #include "PX2Assert.hpp" #include "PX2StringHelp.hpp" using namespace PX2; template <typename T> unsigned MaskBits(T val, unsigned size) { unsigned count = 0; if (val) { val = (val ^ (val - 1)) >> 1; for (count = 0; val; ++count) { val >>= 1; ...
32.617143
119
0.525841
PheonixFoundation
490d678fb4287ec39eed40b88f2ec0d28fb4ab11
5,853
cpp
C++
Eudora71/PlaylistClient/plgen/plgen.cpp
dusong7/eudora-win
850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2
[ "BSD-3-Clause-Clear" ]
10
2018-05-23T10:43:48.000Z
2021-12-02T17:59:48.000Z
Windows/Eudora71/PlaylistClient/plgen/plgen.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
1
2019-03-19T03:56:36.000Z
2021-05-26T18:36:03.000Z
Windows/Eudora71/PlaylistClient/plgen/plgen.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
11
2018-05-23T10:43:53.000Z
2021-12-27T15:42:58.000Z
// plgen.cpp -- generate a skelleton playlist from a collection of image files #include "stdlib.h" #include "stdio.h" #include "string.h" #include "assert.h" #include "sys/types.h" #include "sys/stat.h" #include "fcntl.h" #include "io.h" #include "direct.h" ///////////////////////////////////////////////////////////...
21.839552
80
0.577311
dusong7
491082493c7d0dd575b79f3c56de54fa622f773e
628
cpp
C++
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
#include <iostream> #include "virtual_functions.h" using namespace std; void Account::withdraw(double amount) const { std::cout << "In Account class: Withdraw: " << std::endl; } void Checking::withdraw(double amount) const { std::cout << "In Checking class: Withdraw: " << std::endl; } Account :: ~Account(...
16.526316
63
0.606688
saurabhkakade21
4911a78985c955b09fc5ce18591112fa8c3caf44
89
cpp
C++
09-sequential-containers/09-38.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
09-sequential-containers/09-38.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
09-sequential-containers/09-38.cpp
aafulei/cppp5e
f8d254073866e3025c3a08b919d9bbe3965b6918
[ "MIT" ]
null
null
null
// Exercise 9.38: Write a program to explore how vectors grow in the library you // use.
29.666667
80
0.730337
aafulei
491cef8a20d5d2e6619ff743fa3487bcf3bdf94d
1,581
hpp
C++
src/Assert.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
1
2018-06-27T11:39:41.000Z
2018-06-27T11:39:41.000Z
src/Assert.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
null
null
null
src/Assert.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
null
null
null
// // Created by Ferdinando Fioretto on 11/7/15. // #ifndef CUDA_DBE_ASSERT_HPP #define CUDA_DBE_ASSERT_HPP #include <cassert> #include <iostream> #include <string> #include "Preferences.hpp" // A macro to disallow the copy constructor and operator= functions. // It should be used in the private declarations for a c...
26.79661
72
0.587603
nandofioretto
4922604475aeddcd66aa72150aa7787262ad45eb
4,909
cpp
C++
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
/*********************************************************************************** ** exvr-designer ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ...
46.311321
188
0.6209
FlorianLance
49264aa1408b8a207f6b72118b7c3808be7ad7f9
4,650
cc
C++
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
15
2015-01-27T10:49:32.000Z
2019-02-17T20:41:06.000Z
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
2
2016-07-13T01:13:32.000Z
2020-08-18T07:48:26.000Z
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
15
2015-02-25T03:28:45.000Z
2022-01-05T12:25:51.000Z
/* This file is part of the GVars3 Library. Copyright (C) 2005 The Authors This library is free software, see LICENSE file for details */ #include "gvars3/instances.h" #include "gvars3/GStringUtil.h" #include <vector> #include <iostream> #include <set> #include <pthread.h> using namespace s...
19.294606
85
0.603226
edrosten
49277029a1c42eca60530c5336de2404ab50bdf4
956
hpp
C++
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
// M4 Variants Inherits (Some are broken with no barrel length at all.) // AR15 Sanitised Carbine - Short Barrel class hlc_rifle_RU556: hlc_ar15_base { recoil = QCLASS(556_ShortBarrel); }; // BCM 'Jack' Carbine - Medium Barrel class hlc_rifle_bcmjack: hlc_ar15_base { recoil = QCLASS(556_MediumBarrel); }; // ...
23.9
71
0.733264
Theseus-Aegis
492b6a5354667eb85291c9137703773c80e1b941
649
cpp
C++
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
29.5
196
0.448382
hydraate
4934662d731fa57f4a638f3f7a1abf1216a2a8d7
4,267
cpp
C++
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
3
2019-03-04T22:31:32.000Z
2021-04-20T11:19:17.000Z
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
27
2019-04-01T12:25:46.000Z
2021-09-03T12:20:19.000Z
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
15
2017-08-08T14:57:51.000Z
2021-06-26T17:16:21.000Z
/** * @file * @brief Small converter for field data INIT <-> APF */ #include <algorithm> #include <fstream> #include <string> #include "core/utils/log.h" #include "tools/field_parser.h" #include "tools/units.h" using namespace allpix; /** * @brief Main function running the application */ int main(int argc, con...
40.638095
118
0.525428
schuetzepaul
4934e9df538be2cd6e32aa5000bb5b79eca4cb35
1,326
cpp
C++
src/qt/qtwebkit/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/loader/soup/CachedRawResourceSoup.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2013 Igalia S.L. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This libr...
34
88
0.735294
viewdy
4937b18a69ca34d4cdd487b596ac767fe7e0e319
5,308
cpp
C++
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
1
2022-02-08T07:28:07.000Z
2022-02-08T07:28:07.000Z
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
null
null
null
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
2
2022-01-06T02:16:09.000Z
2022-01-19T12:49:54.000Z
/*********************************************** The MIT License (MIT) Copyright (c) 2012 Athrun Arthur <athrunarthur@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 ...
33.808917
79
0.625283
zizzzw
4937e32fa2051008dd83b908374d158619aa19b4
463
cpp
C++
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
//Read two strings and copy the shorter string into the bigger string #include<iostream.h> #include<conio.h> #include<string.h> int main() { char str1[30],str2[30]; cout<<"Enter string 1 : "; cin>>str1; cout<<"Enter string 2 : "; cin>>str2; if(strlen(str1)>strlen(str2)) strcpy(str2,str1); else ...
23.15
97
0.62203
AniMysore74
493a418aa135f17752df62fa5b7dd384ee8cedce
1,616
cpp
C++
cpp/other/IntCell.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/other/IntCell.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/other/IntCell.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
/* * This example piece of code shows the case when default big five doesn't work * We would have to manually define big five ourselves */ #include <iostream> #include <string> using namespace std; class IntCell { public: explicit IntCell(int init = 0) { cout << "Call explicit constructor" << this << e...
20.455696
89
0.53651
danyfang
493a41a1d87ce182b9f32b08206907fc7e64d948
30,298
cpp
C++
CBP/CBP/UI/Common/SimComponent.cpp
clayne/CBPSSE
c2bd6470efe3e0dcb3df606fb693f5c66e66e4e5
[ "MIT" ]
3
2020-06-21T18:10:19.000Z
2021-02-05T21:33:18.000Z
CBP/CBP/UI/Common/SimComponent.cpp
clayne/CBPSSE
c2bd6470efe3e0dcb3df606fb693f5c66e66e4e5
[ "MIT" ]
2
2020-08-29T14:29:19.000Z
2020-09-10T18:40:52.000Z
CBP/CBP/UI/Common/SimComponent.cpp
clayne/CBPSSE
c2bd6470efe3e0dcb3df606fb693f5c66e66e4e5
[ "MIT" ]
4
2020-08-25T17:56:35.000Z
2021-11-25T09:39:47.000Z
#include "pch.h" #include "SimComponent.h" #include "Drivers/cbp.h" namespace CBP { template <class T, UIEditorID ID> const PhysicsProfile* UISimComponent<T, ID>::GetSelectedProfile() const { return nullptr; } template <class T, UIEditorID ID> void UISimComponent<T, ID>::DrawGroupOp...
32.027484
145
0.50066
clayne
493cba69db4dd39e04d0e0ecda6753a61bd40570
20,992
cpp
C++
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
null
null
null
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
null
null
null
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
1
2018-03-12T02:32:46.000Z
2018-03-12T02:32:46.000Z
#include <optional> #include <string> #include <utility> #include <tmxpp.hpp> #include <tmxpp/Constrained.hpp> #include <tmxpp/exceptions.hpp> #include <tmxpp/impl/Xml.hpp> #include <tmxpp/impl/exceptions.hpp> #include <tmxpp/impl/read_utility.hpp> #include <tmxpp/impl/tmx_info.hpp> #include <tmxpp/impl/to_color.hpp> #...
26.878361
80
0.696361
johelegp
493e58662abd643a58435769c9eeb6a94210dd76
1,825
hpp
C++
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
28.968254
79
0.691507
bolero-MURAKAMI
4947a082aa63736a73cbf92410fe463e080e81df
5,858
cc
C++
chrome/browser/android/vr/gvr_input_delegate.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/android/vr/gvr_input_delegate.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/android/vr/gvr_input_delegate.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2018 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/browser/android/vr/gvr_input_delegate.h" #include <utility> #include "base/strings/string16.h" #include "base/strings/utf_string_conver...
36.160494
80
0.738307
sarang-apps
49486476ec04e8609dde422d5a6cdbe4a636ec58
4,000
cpp
C++
src/Controller/BranchAccountController/CPP/BranchAccountController.cpp
sidphbot/Bank-Management-System
665db860e46e897ab77c7a30145b09e13228614c
[ "Apache-2.0" ]
1
2021-04-01T12:54:13.000Z
2021-04-01T12:54:13.000Z
src/Controller/BranchAccountController/CPP/BranchAccountController.cpp
sidphbot/Bank-Management-System
665db860e46e897ab77c7a30145b09e13228614c
[ "Apache-2.0" ]
null
null
null
src/Controller/BranchAccountController/CPP/BranchAccountController.cpp
sidphbot/Bank-Management-System
665db860e46e897ab77c7a30145b09e13228614c
[ "Apache-2.0" ]
null
null
null
#include "../Include/BranchAccountController.h" //#include "../../../Model/Include/Model.h" //#include "../../../UI/BranchAccountUI/Include/BranchAccountUI.h" int BranchAccountController::initiateBranchAccountAddition(BranchAccountUI &p_UI,Bank &p_db) { long int l_branchId; double l_branchThreshold; d...
30.075188
95
0.72275
sidphbot
494a570c53b95b59524070539d9382776ee25c9e
33,440
cpp
C++
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/** * ScriptDev2 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * * This program is free software; you can red...
44.946237
209
0.56866
muscnx
494edf0df46b4ef1bdfbf8e86ec0516680037a30
914
cpp
C++
kick-start/2020/2020F-B.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
107
2019-10-25T07:46:59.000Z
2022-03-29T11:10:56.000Z
kick-start/2020/2020F-B.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
1
2021-08-13T05:42:27.000Z
2021-08-13T05:42:27.000Z
kick-start/2020/2020F-B.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
18
2020-12-09T14:24:22.000Z
2022-03-30T06:56:01.000Z
#include <algorithm> #include <cmath> #include <iostream> using namespace std; int t, n, k, s[100010], e[100010], b[100010]; int solve() { // O(n log n) stable_sort( b, b + n, [](int left, int right) -> bool { // sort indices according to corresponding array element re...
21.761905
68
0.431072
upupming
495c81ed964a4da5bb18a389a89de9808d24104c
16,536
cpp
C++
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
/** * VGMTrans (c) - 2002-2021 * Licensed under the zlib license * See the included LICENSE for more information */ #include "pch.h" #include <algorithm> #include <memory> #include <numeric> #include "DLSFile.h" #include "VGMInstrSet.h" #include "VGMSamp.h" #include "Root.h" using namespace std; // ******* // ...
37.496599
104
0.630261
ElSaico
495f29f077bbee89445c1955fe2d9329f62d09b8
144
cpp
C++
Data Structures and Algorithms/Stack/Stack.cpp
selvaraj-kuppusamy/WhatsAlgo
2bda75cb8a861c39c788cba9d5a792d96e08d4ba
[ "MIT" ]
null
null
null
Data Structures and Algorithms/Stack/Stack.cpp
selvaraj-kuppusamy/WhatsAlgo
2bda75cb8a861c39c788cba9d5a792d96e08d4ba
[ "MIT" ]
null
null
null
Data Structures and Algorithms/Stack/Stack.cpp
selvaraj-kuppusamy/WhatsAlgo
2bda75cb8a861c39c788cba9d5a792d96e08d4ba
[ "MIT" ]
null
null
null
/* Algorithm: Bubble Sort Time: Space: Author: selvaraj Kuppusamy, github.com/selvaraj-kuppusamy */ #include<iostream> using namespace std;
13.090909
57
0.756944
selvaraj-kuppusamy
4962490e27a68a782d18e4e218cb6f682fc56ea0
27,433
cc
C++
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
#include "cmd_options.h" #include "test_detail.h" #include <boost/test/unit_test.hpp> /** Check for fundmental and STL value handling */ namespace co = cmd_options; typedef std::basic_string<detail::check_char_t> string_type; typedef co::basic_option_pack<detail::check_char_t> option_pack_type; typedef co::basi...
28.546306
152
0.654103
tegtmeye
4964afa29664c500b4ac83efb7ae9be317652649
8,410
cpp
C++
libs/pcl/pcl_examples/interactive_icp/interactive_icp.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
libs/pcl/pcl_examples/interactive_icp/interactive_icp.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
libs/pcl/pcl_examples/interactive_icp/interactive_icp.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <pcl/registration/icp.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/console/time.h> // TicToc #include <pcl/filters/passthrough.h> #include <pcl/filters/voxel_grid.h> typedef pcl::PointXYZ PointT;...
34.896266
158
0.701546
quanhua92
4966329076c01844f456cd167a21e0a247c82b4c
1,651
cpp
C++
aws-cpp-sdk-config/source/model/DescribeRetentionConfigurationsRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-config/source/model/DescribeRetentionConfigurationsRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-config/source/model/DescribeRetentionConfigurationsRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/config/model/DescribeRetentionConfigurationsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::ConfigService::Model; using namespace Aws...
29.482143
173
0.806784
Neusoft-Technology-Solutions
49675f3a7b5b82e8e61e4289a0e0efb34499f963
2,609
cxx
C++
testing/rtkxradtest.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
testing/rtkxradtest.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
testing/rtkxradtest.cxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#include "rtkTest.h" #include "rtkProjectionsReader.h" #include "rtkMacro.h" #include "rtkXRadGeometryReader.h" #include "rtkThreeDCircularProjectionGeometryXMLFile.h" #include <itkRegularExpressionSeriesFileNames.h> /** * \file rtkxradtest.cxx * * \brief Functional tests for classes managing X-Rad data * * This...
37.271429
96
0.720583
ldqcarbon
4968673bfa0f63dcef4200d781306c8c9558e714
997
cpp
C++
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
#include "Cube.h" Cube::Cube() : Carre() { } Cube::Cube(double c) : Carre(c) { } double Cube::aire() const { return 6 * Carre::aire(); } double Cube::face() const { return Carre::aire(); } double Cube::volume() const { return pow(Carre::largeur, 3); } void Cube::afficher(std::ostream& os) const { os << "Cube:...
18.811321
89
0.584754
Hexzhe
496c468c85979cecf5074f43eb9a6acc29047143
435
cpp
C++
Trees/LeftView.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Trees/LeftView.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Trees/LeftView.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
vector<int> leftView(Node *root) { // Your code here vector<int> v; if(!root) return v; queue<Node *> q; q.push(root); while(!q.empty()) { v.push_back(q.front()->data); int n= q.size(); while(n--) { Node* curr = q.front(); q.pop(); if(curr...
16.111111
36
0.455172
rajatenzyme
496e7a5477cb415b4d3b490873c1fd81bdcb341c
1,394
hpp
C++
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#pragma once #include "visual-scripting/processors/math/trigonometric/CosProcessor.hpp" #include "visual-scripting/processors/math/trigonometric/SinProcessor.hpp" #include "visual-scripting/processors/math/trigonometric/TanProcessor.hpp" namespace inexor::visual_scripting { using SinProcessorPtr = std::shared_ptr<Si...
32.418605
121
0.763271
inexorgame
4974fd6e1e94bf2869e15e129f5e0999fed1378b
1,711
cpp
C++
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <QQmlEngine> #include <QQuickStyle> #include <client.h> #include <table_model_user.h> #include <table_model_word.h> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); if (Client::Instance().SocketClient::co...
38.886364
80
0.660432
name1e5s
497550b899bbf298f8b45c9805b7c9bfccd81308
4,094
cpp
C++
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platform/platform.h" #include "gui/editor/guiSeparatorCtrl.h" #include "gfx/gfxDevice.h" #include "gfx/gfxDrawUtil.h" #include "console/console.h" #include "console/consoleTypes.h" #include...
33.016129
134
0.616268
fr1tz
4977978f702f2eed6831ad916e1378d2eeff5c35
1,043
hpp
C++
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
47
2020-08-24T17:53:04.000Z
2022-03-11T16:03:22.000Z
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
null
null
null
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
null
null
null
#pragma once #ifdef USB_ASIO_USE_STANDALONE_ASIO #include <system_error> #include <asio/any_io_executor.hpp> #include <asio/async_result.hpp> #include <asio/buffer.hpp> #include <asio/execution_context.hpp> #include <asio/io_context.hpp> #include <asio/post.hpp> #else #include <boost/asio/any_io_executor.hpp> #inc...
24.255814
57
0.759348
MiSo1289
4977abe2470f73cf156380faef231cc60f016cdb
618
cpp
C++
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
1
2019-06-13T00:14:02.000Z
2019-06-13T00:14:02.000Z
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
/* * Author: David Wong * Email: david.wongcascante@digipen.edu * File name: GameSystem.cpp * Description: Defines a general manner to organize all the systems * Created: 18-Dec-2018 * Last Modified: 18-Dec-2018 */ // Includes #include "GameSystem.h" #include <iostream> // Output stream // Public Member Functions ...
18.176471
67
0.687702
DeltaGoldenFlag
4978a415b1118ac8fe42ba3a6e56d732ae933c64
459
hpp
C++
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef PROBLEM9_H_ #define PROBLEM9_H_ #include "problem.hpp" // Problem 9: // A Pythagorean triplet is a set of three natural numbers, a < b < c, // for which a^2 + b^2 = c^2 // For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. // There exists exactly one Pythagorean triplet for which a + b + c = 1000. // Find the produ...
20.863636
75
0.64488
iamantony
4979ee93a9e60b56119769aeaf61c4f545e3f578
6,761
hpp
C++
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #pragma once #include "base.hpp" #include "enums.hpp" #include <utils/octet_string...
28.053942
110
0.764976
aligungr
497b0117b90fb61451736afa5d65667a4a9dcd61
1,804
cpp
C++
Antiplagiat/Antiplagiat/bin/Debug/12751.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
1
2015-07-04T14:45:32.000Z
2015-07-04T14:45:32.000Z
Antiplagiat/Antiplagiat/bin/Debug/12751.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
Antiplagiat/Antiplagiat/bin/Debug/12751.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> #include <vector> #include <map> #include <cstring> #include <string> #include <cstdlib> #include <algorithm> #include <utility> #include <sstream> #include <set> #include <time.h> #include <memory.h> #include <queue> #include <bitset> #include <functional> using namespace std; #d...
17.346154
64
0.547672
DmitryTheFirst
497c6ee4d30abf700b3bf2f8bc429e4f96a65526
620
cpp
C++
Arrt/View/ArrtAccessibility.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
42
2020-06-12T19:10:52.000Z
2022-03-04T02:20:59.000Z
Arrt/View/ArrtAccessibility.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
91
2020-06-12T12:10:46.000Z
2022-03-02T13:46:00.000Z
Arrt/View/ArrtAccessibility.cpp
MichaelZp0/azure-remote-rendering-asset-tool
fe979bfe1923589f11487565ececdc575f5e940a
[ "MIT" ]
10
2020-07-29T21:19:14.000Z
2021-09-22T11:48:27.000Z
#include <QAbstractItemView> #include <View/ArrtAccessibility.h> namespace ArrtAccesibility { /* The default accessible role for QComboBox is QAccessible::ComboBox, which is exposed to UI automation as "Combo box". Microsoft accessibility compliance expect combo boxes to implement the ExpandCollapse interf...
41.333333
119
0.774194
MichaelZp0
497cf204a93a5b72ccf66e6498b9b38765553050
6,248
cpp
C++
implementations/ugene/src/corelibs/U2View/src/ov_sequence/SaveGraphCutoffsDialogController.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2View/src/ov_sequence/SaveGraphCutoffsDialogController.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2View/src/ov_sequence/SaveGraphCutoffsDialogController.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
36.115607
115
0.643566
r-barnes
4980f376120a4328057ec2798681257fcdf5623b
2,426
cpp
C++
cvt/vision/slam/stereo/FeatureTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
11
2017-04-04T16:38:31.000Z
2021-08-04T11:31:26.000Z
cvt/vision/slam/stereo/FeatureTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
null
null
null
cvt/vision/slam/stereo/FeatureTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
8
2016-04-11T00:58:27.000Z
2022-02-22T07:35:40.000Z
/* The MIT License (MIT) Copyright (c) 2011 - 2013, Philipp Heise and Sebastian Klose 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 limitat...
29.585366
80
0.674361
tuxmike
21a3f44d50f2901dddbdc41eddb92cd37042a263
932
cpp
C++
libraries/shared/src/shared/MiniPromises.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
272
2021-01-07T03:06:08.000Z
2022-03-25T03:54:07.000Z
libraries/shared/src/shared/MiniPromises.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
1,021
2020-12-12T02:33:32.000Z
2022-03-31T23:36:37.000Z
libraries/shared/src/shared/MiniPromises.cpp
Darlingnotin/Antisocial_VR
f1debafb784ed5a63a40fe9b80790fbaccfedfce
[ "Apache-2.0" ]
77
2020-12-15T06:59:34.000Z
2022-03-23T22:18:04.000Z
// // Created by Timothy Dedischew on 2017/12/21 // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "MiniPromises.h" #include <QtScript/QScriptEngine> #include <QtScript/Q...
34.518519
99
0.753219
Darlingnotin
21a5c6417add5f5d863eb9c0712ad1dcdeeb3127
348
cpp
C++
common/source/string.cpp
xrEngine512/interop
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
null
null
null
common/source/string.cpp
xrEngine512/interop
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
4
2017-05-31T12:34:10.000Z
2018-10-13T18:53:03.000Z
common/source/string.cpp
xrEngine512/MosaicFramework
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
1
2020-04-23T14:09:11.000Z
2020-04-23T14:09:11.000Z
#include "utils/string.h" #include <boost/algorithm/string/regex.hpp> using namespace std; namespace interop { namespace utils { vector<string> split_rx(const string & str, const string & del) { vector<string> res; boost::algorithm::split_regex(res, str, boost::regex(del)); return res; } } // namespace u...
20.470588
63
0.70977
xrEngine512
21a7643c6dea6f0ff48c691aec2051bcd2d40c32
6,681
cpp
C++
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
11
2020-10-02T15:36:21.000Z
2021-11-16T03:17:40.000Z
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
2
2021-02-12T15:04:38.000Z
2021-02-22T22:59:06.000Z
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
1
2021-03-20T19:59:02.000Z
2021-03-20T19:59:02.000Z
#include <imgui-SFML.h> #include <SFML/Graphics/Color.hpp> #include <SFML/Graphics/Rect.hpp> #include <SFML/Graphics/RenderTexture.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Texture.hpp> #include <SFML/System/Time.hpp> #include <SFML/System/Vector2.hpp> #i...
46.395833
171
0.695405
oprypin
21aa1147898f0a2c1be931be70ca0be7a351365b
6,299
inl
C++
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
namespace arrays { template<class T, size_t block> Deque<T, block>::Iterator::Iterator(Deque::Block *start, Deque::Offset offset, size_t index) : index(index), current(start), offset(offset) { } template<class T, size_t block> Deque<T, block>::Iterator::Iterator(...
24.897233
98
0.493888
FinIsOro
21ad3b2e82a27c5dcf1b0cac668b977673e8c5c0
950
cpp
C++
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
3
2020-08-24T03:36:07.000Z
2021-12-28T03:40:02.000Z
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
null
null
null
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
1
2021-12-28T03:40:04.000Z
2021-12-28T03:40:04.000Z
#include "RTSPluginPCH.h" #include "RTSCharacter.h" #include "WorldCollision.h" #include "Components/CapsuleComponent.h" #include "Components/DecalComponent.h" #include "GameFramework/Controller.h" #include "Kismet/GameplayStatics.h" #include "Net/UnrealNetwork.h" #include "RTSAttackData.h" #include "RTSGameMode.h" #...
26.388889
137
0.790526
ajbetteridge
21b4b5f0afb26ecdff69b6d9588a1460c0eca3ca
7,550
hpp
C++
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
#ifndef HAMILTONIAN_RIEMANNIAN_CONST_DIAG_H #define HAMILTONIAN_RIEMANNIAN_CONST_DIAG_H #include "hamiltonian_riemannian_base.hpp" #include "modules/distribution/univariate/normal/normal.hpp" namespace korali { namespace solver { namespace sampler { /** * \class HamiltonianRiemannianConstDiag * @brief Used for diagon...
30.2
248
0.701987
JonathanLehner
21b536f667051e26f061d50a3cc78a1d493a883f
1,335
cpp
C++
src/scheme/main.cpp
CHChang810716/llvm-playground
26a1cddac5b1a124e655e63f4efb70d5396c0e05
[ "MIT" ]
null
null
null
src/scheme/main.cpp
CHChang810716/llvm-playground
26a1cddac5b1a124e655e63f4efb70d5396c0e05
[ "MIT" ]
null
null
null
src/scheme/main.cpp
CHChang810716/llvm-playground
26a1cddac5b1a124e655e63f4efb70d5396c0e05
[ "MIT" ]
null
null
null
#include "parser.hpp" #include <tao/pegtl/contrib/parse_tree_to_dot.hpp> #include <iostream> #include "ir.hpp" #include <llvm/Support/raw_ostream.h> #include "env.hpp" int main(int argc, char *argv[]) { using RuleFile = tao::pegtl::must<scheme::File>; if(argc < 2) { return 1; } tao::pegtl::file_input<> in(argv[1]...
33.375
91
0.676404
CHChang810716
21b857fd64aabfa97f206bc6eae2bb591d985a5e
2,652
hpp
C++
cpp/G3M/CameraEffects.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
cpp/G3M/CameraEffects.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
cpp/G3M/CameraEffects.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
// // CameraEffects.hpp // G3M // // Created by Agustín Trujillo on 17/07/13. // // #ifndef G3M_CameraEffects #define G3M_CameraEffects #include "Effects.hpp" #include "Vector3D.hpp" #include "Angle.hpp" class RotateWithAxisEffect : public EffectWithForce { private: const Vector3D _axis; double _degrees; ...
20.88189
62
0.643288
glob3mobile
21bb10cec2eaa928a93fe9ccd8d06abb83be7939
339
hpp
C++
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
#pragma once #include "ASystem.hpp" #include "observer/Observer.hpp" namespace systems { class EntityGenerator : public fa::ASystem { public: Observer _observer; std::vector<std::string> _pathList; EntityGenerator(); ~EntityGenerator() = default; void update(long elapsedTime) override; }; } /...
18.833333
44
0.707965
Floriantoine
21bb392cf270549d068ddcb7a36a506b2c580d45
8,786
cpp
C++
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGImageElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
46
2015-01-08T14:32:34.000Z
2022-02-05T16:48:26.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGImageElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
7
2015-01-20T14:28:12.000Z
2017-01-18T17:21:44.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGImageElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
14
2015-10-27T06:17:48.000Z
2020-03-03T06:15:50.000Z
/* * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Rob Buis <buis@kde.org> * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
36.608333
135
0.732415
ant0ine
21bcd831908283b1e66a92530c319a107047d919
37
cpp
C++
examples/tvm/boo.cpp
Costallat/hunter
dc0d79cb37b30cad6d6472d7143fe27be67e26d5
[ "BSD-2-Clause" ]
2,146
2015-01-10T07:26:58.000Z
2022-03-21T02:28:01.000Z
examples/tvm/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
1,778
2015-01-03T11:50:30.000Z
2019-12-26T05:31:20.000Z
examples/tvm/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
734
2015-03-05T19:52:34.000Z
2022-02-22T23:18:54.000Z
#include <nnvm/op.h> int main() { }
7.4
20
0.567568
Costallat
21c3ed1078a974a784db092b29cf492df2229463
350
cpp
C++
Day5/FCTRL.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
Day5/FCTRL.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
Day5/FCTRL.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int t; int n; cin>>t; while(t--) { cin>>n; if(n>=1 && n<=1000000000) { int c=0; while(n>=5) { n=n/5; c=c+n; } cout<<c<<endl...
14.583333
33
0.314286
Yashdew
21c66edf4ac622df28ca3145f6157a4b490e160d
16,198
hpp
C++
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
#pragma once #include "Ava/Containers/StoragePolicy.hpp" #include "Ava/Math/Math.hpp" #include "Ava/Memory/NoInit.hpp" #include "Ava/Memory/Storage.hpp" #include "Ava/Meta/Constant.hpp" #include "Ava/Meta/Identity.hpp" #include "Ava/Meta/TypeTraits.hpp" #include "Ava/Misc.hpp" #include "Ava/Private/Ebo.hpp" #include "...
21.830189
85
0.664959
vasama
21c70d5698e2a0dcbf53601fa17bed3bd947ae1c
3,435
hpp
C++
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2019 Victor Smirnov // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
24.190141
113
0.613683
victor-smirnov
21ca4e23f9a709ec49131096ee29afe454b52dd2
11,127
cpp
C++
libraries/smt/source/cvc4.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
libraries/smt/source/cvc4.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
libraries/smt/source/cvc4.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
// Author(s): Ruud Koolen // Copyright: see the accompanying file COPYING or copy at // https://github.com/mCRL2org/mCRL2/blob/master/COPYING // // 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) #include "mcrl2/da...
36.126623
213
0.686169
tneele
21ca9f840d9ecad5624ba2474946b25d9dea0de2
15,220
cc
C++
components/autofill/core/browser/autofill_metrics.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
components/autofill/core/browser/autofill_metrics.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/core/browser/autofill_metrics.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.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 "components/autofill/core/browser/autofill_metrics.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/metrics/spars...
32.452026
80
0.696649
kjthegod
21d073a1bc21a4c0fae9ec138f730ef90cb79031
920
cpp
C++
campion-era/degrade/degrade2.cpp
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-07-05T16:32:14.000Z
2021-07-05T16:32:14.000Z
campion-era/degrade/degrade2.cpp
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
null
null
null
campion-era/degrade/degrade2.cpp
GeorgianBadita/algorithmic-problems
6b260050b7a1768b5e47a1d7d4ef7138a52db210
[ "MIT" ]
1
2021-05-14T15:40:09.000Z
2021-05-14T15:40:09.000Z
#include<fstream> #include<cstring> #include<algorithm> using namespace std; ifstream f("degrade.in"); ofstream g("degrade.out"); int v[100002],y[100002]; char s[100002],w[100002],x[100002]; int main() { int u,n,i,j,s1[100],max=0,nr=0,l,p; for(i=1;i<=10;i++) f>>s[i]; for(i=1;i<=10;i++) v[i]=s[i]-'0'; //...
24.864865
69
0.379348
GeorgianBadita
21d08c6f18b2fe49d9d9ecfec56a9550565db059
3,056
cpp
C++
gui/core/imageloader.cpp
Skycoder42/SeasonProxer
dcdf284883c532fcccf30f9608d9abe2e8e64e3e
[ "BSD-3-Clause" ]
2
2018-04-25T14:42:25.000Z
2019-03-21T12:31:17.000Z
gui/core/imageloader.cpp
Skycoder42/SeasonProxer
dcdf284883c532fcccf30f9608d9abe2e8e64e3e
[ "BSD-3-Clause" ]
null
null
null
gui/core/imageloader.cpp
Skycoder42/SeasonProxer
dcdf284883c532fcccf30f9608d9abe2e8e64e3e
[ "BSD-3-Clause" ]
null
null
null
#include "imageloader.h" #include <QDir> #include <QImageReader> #include <QStandardPaths> #include <QUuid> #include <QtConcurrent> const QString ImageLoader::CacheDirName = QStringLiteral("preview-images"); const QString ImageLoader::ImageNameTemplate = QStringLiteral("img_%1.png"); ImageLoader::ImageLoader(QObject ...
29.104762
128
0.708115
Skycoder42
21d11bbb1ae9b200f36d80d6009a02652e6c6246
4,636
cc
C++
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
3
2016-10-29T09:40:46.000Z
2021-11-17T11:03:31.000Z
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
null
null
null
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
null
null
null
#include "communication/msg.h" #include <glog/logging.h> namespace singa { #ifdef USE_ZMQ Msg::~Msg() { if (msg_ != nullptr) zmsg_destroy(&msg_); frame_ = nullptr; } Msg::Msg() { msg_ = zmsg_new(); } Msg::Msg(const Msg& msg) { src_ = msg.src_; dst_ = msg.dst_; type_ = msg.type_; trgt_val_ = msg.t...
23.774359
62
0.556946
ooibc88
21d375bb3860ad5f87eaf3a8222e0cd6c6f1b91b
2,854
hh
C++
src/DataBase/CompositeFieldListPolicy.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/DataBase/CompositeFieldListPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/DataBase/CompositeFieldListPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // CompositeFieldListPolicy -- An implementation of UpdatePolicyBase which // consists of a collection of individual Field policies that should match // the Fields in a FieldList. // // Created by JMO, Sun Nov 3 14:11:32 PST 2013 //------...
37.552632
94
0.640505
jmikeowen
21d83db77fc892ded98fa45d60f659e3ca1f2cbb
959
hpp
C++
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
/* * This file is part of FFL project. * * The MIT License (MIT) * Copyright (C) 2017-2018 zhufeifei All rights reserved. * * Render.hpp * Created by zhufeifei(34008081@qq.com) on 2018/03/10 * * 渲染基类 * */ #pragma once #include "NodeBase.hpp" namespace player { class Render : public NodeBase{ public: Render(...
17.759259
91
0.661105
zhenfei2016
21d8d4ff95b58be3a09e674ebc76fdc2a317ec8c
498
cpp
C++
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
6
2016-11-09T08:40:10.000Z
2021-10-06T09:47:05.000Z
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
null
null
null
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
3
2016-11-09T08:38:59.000Z
2021-12-24T16:03:59.000Z
#include "UI/UIWindow.h" namespace atlas { UIWindow::UIWindow(const std::string& name, ImGuiWindowFlags flags) : _name(name) , _flags(flags) , _hash(hq::StringHash(_name)) { } UIWindow::~UIWindow() { } hq::StringHash UIWindow::windowId() const { return _hash; } bool UIWindow::update(float deltaTime)...
16.064516
67
0.63253
heretique
21d9a9071e647d2bc72ab433d13467a0fdf45614
114
hpp
C++
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
template<typename... Types> class Variant { public: Tuple<Types...> storage; unsigned char discriminator; };
16.285714
30
0.710526
houruixiang
21ddf3f0edc24981eb74dc9bee215d459bdd3370
1,116
cc
C++
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-12T05:58:59.000Z
2022-03-11T01:07:10.000Z
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
41
2017-07-07T16:44:57.000Z
2019-08-27T13:05:38.000Z
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-05T15:23:40.000Z
2022-03-17T21:11:20.000Z
#include "./dmi_fixtures.hpp" using namespace whereami::testing; using namespace whereami::sources; using namespace std; namespace whereami { namespace testing { namespace dmi { std::string dmi_fixture::sys_path(std::string const& filename) const { return fixture_root + sys_fixture_path_ + filename; ...
24.8
72
0.598566
GabrielNagy
21e385da38fc73f84978c88e4b3468ffc0decf88
1,315
hpp
C++
moci/moci_events/events/input.hpp
tobanteAudio/moci
a0a764e8a5270f9344ff57366fea36f72e7e3aa4
[ "BSD-2-Clause" ]
null
null
null
moci/moci_events/events/input.hpp
tobanteAudio/moci
a0a764e8a5270f9344ff57366fea36f72e7e3aa4
[ "BSD-2-Clause" ]
16
2020-03-19T22:08:47.000Z
2020-06-18T18:55:00.000Z
moci/moci_events/events/input.hpp
tobanteAudio/moci
a0a764e8a5270f9344ff57366fea36f72e7e3aa4
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "key_codes.hpp" #include "mouse_button_codes.hpp" #include "moci_core/moci_core.hpp" #include <tuple> namespace moci { class Input { public: Input() = default; Input(const Input&) = delete; auto operator=(const Input&) -> Input& = delete; virtual ~Input() ...
32.875
115
0.644867
tobanteAudio
21e6b97aa501c5410b492e0dffac55243f72a19f
2,761
cpp
C++
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
#include "mcTransportRectangleTrap.h" mcTransportRectangleTrap::mcTransportRectangleTrap(const geomVector3D& orgn, const geomVector3D& z, const geomVector3D& x) : mcTransport(orgn, z, x), fsx1_(0), fsx2_(0), ...
33.670732
120
0.456356
x2v0
21e7edda92e84aa7f169f1a1994d93f12a9c457a
7,677
cpp
C++
TacticsVictory/common_files/Objects/GameObject_.cpp
Sasha7b9/TacticsVictory
2082ca032f2a8d377ed8a89537ac4799fb348372
[ "MIT" ]
6
2015-10-23T19:15:04.000Z
2021-06-17T15:02:58.000Z
TacticsVictory/common_files/Objects/GameObject_.cpp
Sasha7b9/TacticsVictory
2082ca032f2a8d377ed8a89537ac4799fb348372
[ "MIT" ]
null
null
null
TacticsVictory/common_files/Objects/GameObject_.cpp
Sasha7b9/TacticsVictory
2082ca032f2a8d377ed8a89537ac4799fb348372
[ "MIT" ]
null
null
null
// (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by #include "stdafx.h" #include "Objects/GameObject_.h" #include "Objects/Units/Logic/PathFinder/PathMapping_.h" #include "Objects/Units/Unit_.h" #include "Objects/Ammo/Ammo_.h" #include "PeriodicTasks.h" #include "GameState.h" #include "Objects/PoolObjects_.h" #includ...
20.861413
111
0.618731
Sasha7b9
21e8d0699df488e7ff186709b7864b885a3957d1
3,400
cpp
C++
src/applications/replicoscillator/edgedBasedDetection.cpp
TASBE/ImageAnalytics
5d6fc1a64b4c17e263451fa4252c94dc86193d14
[ "CC-BY-3.0" ]
1
2019-08-29T20:48:32.000Z
2019-08-29T20:48:32.000Z
src/applications/replicoscillator/edgedBasedDetection.cpp
TASBE/ImageAnalytics
5d6fc1a64b4c17e263451fa4252c94dc86193d14
[ "CC-BY-3.0" ]
1
2021-11-02T18:14:21.000Z
2021-11-02T18:19:50.000Z
src/applications/replicoscillator/edgedBasedDetection.cpp
TASBE/ImageAnalytics
5d6fc1a64b4c17e263451fa4252c94dc86193d14
[ "CC-BY-3.0" ]
null
null
null
/* Copyright (C) 2011 - 2019, Raytheon BBN Technologies and contributors listed in the AUTHORS file in TASBE Flow Analytics distribution's top directory. This file is part of the TASBE Flow Analytics package, and is distributed under the terms of the GNU General Public License, with a linking exception, as d...
26.153846
83
0.682647
TASBE
21ebee62626eed8088a3aae20d6639edfaf0be33
4,615
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/plugins/platforms/windows/qwindowsinternalmimedata.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/plugins/platforms/windows/qwindowsinternalmimedata.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/plugins/platforms/windows/qwindowsinternalmimedata.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt...
41.576577
101
0.703359
GrinCash
21f3546e93d4ee1ff48d870c8585fa82c989dba9
1,750
hpp
C++
src/DSGRN/_dsgrn/include/Dynamics/Annotation.hpp
yingxinac/DSGRN
b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32
[ "MIT" ]
9
2017-10-15T20:49:36.000Z
2022-02-24T19:26:39.000Z
src/DSGRN/_dsgrn/include/Dynamics/Annotation.hpp
yingxinac/DSGRN
b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32
[ "MIT" ]
19
2015-07-02T15:59:06.000Z
2020-06-09T18:13:05.000Z
src/DSGRN/_dsgrn/include/Dynamics/Annotation.hpp
yingxinac/DSGRN
b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32
[ "MIT" ]
21
2015-11-06T16:28:34.000Z
2019-09-20T09:26:54.000Z
/// Annotation.hpp /// Shaun Harker /// 2015-05-15 #pragma once #ifndef INLINE_IF_HEADER_ONLY #define INLINE_IF_HEADER_ONLY #endif #include "Annotation.h" INLINE_IF_HEADER_ONLY Annotation:: Annotation ( void ) { data_ . reset ( new Annotation_ ); } INLINE_IF_HEADER_ONLY uint64_t Annotation:: size ( void ) const...
23.026316
95
0.642857
yingxinac
21f64e60d69cac1e09217f89d5dacb1865cf26c9
15,688
cpp
C++
mp/src/game/server/da/da_datamanager.cpp
Black-Stormy/DoubleAction
cef6ff5ec41f2fed938d8ee3d6ffd3c770f523c7
[ "Unlicense" ]
null
null
null
mp/src/game/server/da/da_datamanager.cpp
Black-Stormy/DoubleAction
cef6ff5ec41f2fed938d8ee3d6ffd3c770f523c7
[ "Unlicense" ]
null
null
null
mp/src/game/server/da/da_datamanager.cpp
Black-Stormy/DoubleAction
cef6ff5ec41f2fed938d8ee3d6ffd3c770f523c7
[ "Unlicense" ]
null
null
null
#include "cbase.h" using namespace std; #ifdef WITH_DATA_COLLECTION #undef min #undef max #include <time.h> #include "da_datamanager.h" #include "da_player.h" #include "weapon_grenade.h" #include "da_gamerules.h" #include "da_briefcase.h" #include "../datanetworking/math.pb.h" #include "../datanetworking/data.pb...
28.732601
191
0.744327
Black-Stormy
21fa2ada2fcfcd2c34a4efcdaf37f072bb8e6e6f
2,579
cpp
C++
test/test_preprocessor.cpp
sakshikakde/human-detector-and-tracker
04e1fd08b858ababfa4fa91da8306890ef1d7d00
[ "MIT" ]
null
null
null
test/test_preprocessor.cpp
sakshikakde/human-detector-and-tracker
04e1fd08b858ababfa4fa91da8306890ef1d7d00
[ "MIT" ]
3
2021-10-16T05:46:37.000Z
2021-10-18T22:16:20.000Z
test/test_preprocessor.cpp
sakshikakde/human-detector-and-tracker
04e1fd08b858ababfa4fa91da8306890ef1d7d00
[ "MIT" ]
2
2021-10-06T02:52:31.000Z
2021-10-06T05:16:28.000Z
/** * MIT License * * Copyright (c) 2021 Anubhav Paras, Sakshi Kakde, Siddharth Telang * * 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 limitati...
36.323944
81
0.724699
sakshikakde
21fae4fa506214d1580df4ba2c9ecb7631f6b632
21,586
cpp
C++
frame_tests.cpp
draghan/memoryframe
da573df30613759d61537ca78b5a41a248c2a811
[ "MIT" ]
null
null
null
frame_tests.cpp
draghan/memoryframe
da573df30613759d61537ca78b5a41a248c2a811
[ "MIT" ]
null
null
null
frame_tests.cpp
draghan/memoryframe
da573df30613759d61537ca78b5a41a248c2a811
[ "MIT" ]
null
null
null
/* This file is distributed under MIT License. Copyright (c) 2019 draghan 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...
23.412148
84
0.493236
draghan
1d01a2f71775db78545546cad9c421aed8f3b28c
2,021
cpp
C++
tests/test2.cpp
kosirev/lab5
f898ac9253e01b45879fd75f05d6f348516d7762
[ "MIT" ]
null
null
null
tests/test2.cpp
kosirev/lab5
f898ac9253e01b45879fd75f05d6f348516d7762
[ "MIT" ]
null
null
null
tests/test2.cpp
kosirev/lab5
f898ac9253e01b45879fd75f05d6f348516d7762
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <Stack2.hpp> TEST(Stack2, correct_primitive) { Stack2<int> stack; stack.push(10); int value1 = 15, value2 = 33; stack.push_emplace(value1); EXPECT_EQ(value1, stack.pop()); EXPECT_EQ(10, stack.head()); stack.push_emplace(value2); EXPECT_EQ(value2, stack.head()); stack...
28.464789
59
0.703117
kosirev
1d048fb4fbb4d23044d47e06cc09edf76f25e8c6
826
cpp
C++
OculusPlatformBP/Source/OculusPlatformBP/Private/OBP_TeamArray.cpp
InnerLoopLLC/OculusPlatformBP
d4bfb5568c56aa781e2ee76896d69a0ade1f57a2
[ "MIT" ]
29
2020-10-22T13:46:23.000Z
2022-03-18T14:32:51.000Z
OculusPlatformBP/Source/OculusPlatformBP/Private/OBP_TeamArray.cpp
InnerLoopLLC/OculusPlatformBP
d4bfb5568c56aa781e2ee76896d69a0ade1f57a2
[ "MIT" ]
2
2021-05-06T18:14:39.000Z
2021-05-25T01:12:15.000Z
OculusPlatformBP/Source/OculusPlatformBP/Private/OBP_TeamArray.cpp
InnerLoopLLC/OculusPlatformBP
d4bfb5568c56aa781e2ee76896d69a0ade1f57a2
[ "MIT" ]
null
null
null
// OculusPlatformBP plugin by InnerLoop LLC 2020 #include "OBP_TeamArray.h" // -------------------- // Initializers // -------------------- UOBP_TeamArray::UOBP_TeamArray(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } // -------------------- // OVR_TeamArray.h // -------------------- ...
21.736842
75
0.690073
InnerLoopLLC
1d05d60365d501f0507835f1138b237bbb3d9428
4,123
cc
C++
src/core/CommandLine.cc
estepanov-lvk/runos
9b856b8a829539bb667156178d283ffc4ef3cf32
[ "Apache-2.0" ]
41
2015-02-09T10:04:35.000Z
2021-11-21T06:34:38.000Z
src/core/CommandLine.cc
estepanov-lvk/runos
9b856b8a829539bb667156178d283ffc4ef3cf32
[ "Apache-2.0" ]
31
2015-03-04T14:02:36.000Z
2020-12-11T09:23:16.000Z
src/core/CommandLine.cc
estepanov-lvk/runos
9b856b8a829539bb667156178d283ffc4ef3cf32
[ "Apache-2.0" ]
42
2015-02-13T14:24:00.000Z
2021-11-09T12:04:38.000Z
/* * Copyright 2019 Applied Research Center for Computer Networks * * 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 b...
24.541667
78
0.60878
estepanov-lvk
1d068c53c2c54186aaadfcfb5ac858ebc6ceb418
456
hpp
C++
include/VBE/graphics/RenderTarget.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
include/VBE/graphics/RenderTarget.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
include/VBE/graphics/RenderTarget.hpp
Dirbaio/VBE
539d222dcbbf565ab64dc5d2463b310fd4b75873
[ "MIT" ]
null
null
null
#ifndef RENDERTARGET_HPP #define RENDERTARGET_HPP #include <VBE/graphics/RenderTargetBase.hpp> class RenderTarget : public RenderTargetBase { public: RenderTarget(unsigned int width, unsigned int height); ~RenderTarget(); void setTexture(RenderTargetBase::Attachment a, Texture2D* tex); void setBuffer(Render...
25.333333
69
0.787281
Dirbaio
1d096066ff2a26e8048c83dbe153adee14bb3153
4,233
cpp
C++
ironstack_agent/gui/output.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
ironstack_agent/gui/output.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
ironstack_agent/gui/output.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
#include <string.h> #include "output.h" weak_ptr<gui_controller> output::controller; atomic_bool output::log_printf{false}; output::loglevel output::loglevel_threshold{output::loglevel::WARNING}; mutex output::fp_lock; FILE* output::fp = nullptr; // sets up output to point to a controller void output::init(const shar...
22.396825
103
0.665722
zteo-phd-software
1d0dd10d89587a6f29455e3c729418485138f32d
216
cpp
C++
TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: EC_Lifetime_Utils.cpp 73791 2006-07-27 20:54:56Z wotte $ #include "orbsvcs/Event/EC_Lifetime_Utils.h" #if !defined(__ACE_INLINE__) #include "orbsvcs/Event/EC_Lifetime_Utils.inl" #endif /* __ACE_INLINE__ */
27
64
0.763889
cflowe
1d101c36e2656c2e2405b153d27510e444dc4552
2,730
hpp
C++
MATLAB/attitude_filter/helper_functions/conversion.hpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
5
2020-04-11T06:53:46.000Z
2022-01-05T05:39:11.000Z
MATLAB/attitude_filter/helper_functions/conversion.hpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
201
2019-09-05T03:46:21.000Z
2022-01-08T04:44:16.000Z
MATLAB/attitude_filter/helper_functions/conversion.hpp
kylekrol/psim
a4817117189f0f5597452076e6e138f70f51d4e8
[ "MIT" ]
10
2019-10-12T17:24:34.000Z
2022-02-25T01:20:14.000Z
#include "mex.hpp" #include "mexAdapter.hpp" #include <gnc/attitude_estimator.hpp> #include <lin.hpp> using namespace matlab::data; /** * @brief Create a matlab array from lin vec object * * @tparam N the dimension of the lin::vector * @tparam T the type of lin::vector * @param f a matlab array factory * @pa...
27.575758
99
0.621978
kylekrol
1d151b23993319bc256654ed6eec6d324b07e039
448
cpp
C++
Framework/Sources/o2/Assets/Meta.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Assets/Meta.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Assets/Meta.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "Meta.h" #include "o2/Assets/Asset.h" namespace o2 { AssetMeta::AssetMeta() : mId(0) {} AssetMeta::~AssetMeta() {} const Type* AssetMeta::GetAssetType() const { return &TypeOf(Asset); } bool AssetMeta::IsEqual(AssetMeta* other) const { return GetAssetType() == other->...
14
70
0.65625
zenkovich
1d175c9aa45e1dddb65d3437382488753a1d169f
118
cpp
C++
StaticEx/Hello.cpp
jaespo/Nifty
6114eb7250776c136d3ae7757b70388caa6930a5
[ "Unlicense" ]
null
null
null
StaticEx/Hello.cpp
jaespo/Nifty
6114eb7250776c136d3ae7757b70388caa6930a5
[ "Unlicense" ]
null
null
null
StaticEx/Hello.cpp
jaespo/Nifty
6114eb7250776c136d3ae7757b70388caa6930a5
[ "Unlicense" ]
null
null
null
#include <iostream> #include "Hello.h" void nsHello::CHello::SayHello() { std::cout << "Hello World" << std::endl; }
16.857143
41
0.652542
jaespo
1d1e40bc0889f5eb9ae46d628d5a19c36b439b01
1,315
cpp
C++
C++_Mavros/amov_mavro service _3.cpp
Chentao2000/practice_code
aa4fb6bbc26ac1ea0fb40e6e0889050b7e9f096c
[ "Apache-2.0" ]
4
2022-01-07T13:07:48.000Z
2022-02-08T04:46:02.000Z
C++_Mavros/amov_mavro service _3.cpp
Chentao2000/practice_code
aa4fb6bbc26ac1ea0fb40e6e0889050b7e9f096c
[ "Apache-2.0" ]
null
null
null
C++_Mavros/amov_mavro service _3.cpp
Chentao2000/practice_code
aa4fb6bbc26ac1ea0fb40e6e0889050b7e9f096c
[ "Apache-2.0" ]
null
null
null
// 通过前面两节的学习,我们对mavros操作无人机有了深刻的理解,无非就是通过ROS去取得以下当前的飞行状态,然后发送控制让他执行 // 当前在控制的时候,你可以选取很多方式,加速度方式,位置方式,姿态方式,都是可行的 // 那么这一节,将会围绕两个服务进行我们讲解,(模式切换 解锁 // ------------------------------------------------------------------- // 1. arming Service 加解锁服务 // 消息名称 : mavros/cmd/arming // 类型名称 : mavros_msgs::CommandBool // 类型所在头文件 ...
26.836735
83
0.656274
Chentao2000
1d1e6155abdf8028b029263938b61bd1013e85bc
6,008
cpp
C++
src/MidiDevice.cpp
patriciogonzalezvivo/MidiRosetta
821d599410d9589e31dea3134659106a312eb8b5
[ "BSD-3-Clause" ]
58
2020-07-07T19:46:31.000Z
2022-03-09T00:46:07.000Z
src/MidiDevice.cpp
patriciogonzalezvivo/MidiRosetta
821d599410d9589e31dea3134659106a312eb8b5
[ "BSD-3-Clause" ]
3
2020-07-31T22:49:16.000Z
2021-03-12T15:08:37.000Z
src/MidiDevice.cpp
patriciogonzalezvivo/MidiRosetta
821d599410d9589e31dea3134659106a312eb8b5
[ "BSD-3-Clause" ]
3
2020-07-31T01:00:51.000Z
2021-03-05T15:52:49.000Z
#include "MidiDevice.h" #include "ops/values.h" #include "ops/strings.h" #include "types/Color.h" #include "types/Vector.h" #include "Context.h" #include <thread> #include <chrono> std::vector<std::string> MidiDevice::getInPorts() { std::vector<std::string> devices; RtMidiIn* midiIn = new RtMidiIn(); ...
25.675214
173
0.582224
patriciogonzalezvivo
1d2371e47f9097b4776dc9bf13143c3d51bd93f1
391
cpp
C++
cpp/container_map_size.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/container_map_size.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/container_map_size.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/container_map_size.exe ./cpp/container_map_size.cpp && (cd ../_build/cpp/;./container_map_size.exe) https://en.cppreference.com/w/cpp/container/map/size */ #include <map> #include <iostream> int main() { std::map<int,char> nums {{1, 'a'}, {3, 'b'}, {5, 'c'}, {7, 'd'}}; ...
30.076923
141
0.603581
rpuntaie
1d240a9e20bdc896e0a9b58a6d295b031e349841
2,310
hpp
C++
redemption/src/acl/license_api.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/acl/license_api.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/acl/license_api.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will ...
34.477612
122
0.69697
DianaAssistant
918e4c89682e9fa1fa47324ffe0082c9e49a1df8
1,361
hpp
C++
library/ATF/CRecallRequest.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CRecallRequest.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CRecallRequest.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 <CCharacter.hpp> #include <CPlayer.hpp> #include <CUnmannedTraderSchedule.hpp> START_ATF_NAMESPACE #pragma pack(push, 8) struct CRecallRequest { ...
30.244444
123
0.65687
lemkova
91964fb0f5136f1d987aa2332dff2f6bd5b81bb3
6,804
cpp
C++
software/motion_estimate/state_sync/src/test_tools/body_to_local_rotations.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
92
2016-01-14T21:03:50.000Z
2021-12-01T17:57:46.000Z
software/motion_estimate/state_sync/src/test_tools/body_to_local_rotations.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
62
2016-01-16T18:08:14.000Z
2016-03-24T15:16:28.000Z
software/motion_estimate/state_sync/src/test_tools/body_to_local_rotations.cpp
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
41
2016-01-14T21:26:58.000Z
2022-03-28T03:10:39.000Z
#include <boost/shared_ptr.hpp> #include <lcm/lcm-cpp.hpp> #include <path_util/path_util.h> #include <lcmtypes/bot_core.hpp> #include <bot_param/param_client.h> #include <bot_param/param_util.h> #include <lcmtypes/bot_core/pose_t.hpp> #include <bot_frames_cpp/bot_frames_cpp.hpp> #include <ConciseArgs> /////////////...
30.927273
146
0.618019
liangfok
919fbd6e647511321d8ba925e23bfa04047ea51d
132
cpp
C++
spoj/test.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
spoj/test.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
spoj/test.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; while(scanf("%d",&n) && n!=42)printf("%d\n",n); return 0; }
13.2
48
0.568182
Shisir
91a1a16f9e4ff73019dab4dc11692cd1228714f1
1,579
cpp
C++
codebook/code/String/Suffix_Array.cpp
NCTU-PCCA/NCTU_Yggdrasill
4f086c9737502f69044f574514cf191d536aaf22
[ "MIT" ]
null
null
null
codebook/code/String/Suffix_Array.cpp
NCTU-PCCA/NCTU_Yggdrasill
4f086c9737502f69044f574514cf191d536aaf22
[ "MIT" ]
null
null
null
codebook/code/String/Suffix_Array.cpp
NCTU-PCCA/NCTU_Yggdrasill
4f086c9737502f69044f574514cf191d536aaf22
[ "MIT" ]
null
null
null
//should initialize s and n first #define N 301000 using namespace std; char s[N]; //string=s,suffix array=sar,longest common prefix=lcp int rk[2][N],id[2][N]; int n,p; int cnt[N]; int len[N],od[N],sar[N]; inline int sr(int i,int t){ //rank of shifted position return i+t<n?rk[p][i+t]:-1; } inline bool check_same(int ...
21.930556
64
0.494617
NCTU-PCCA
91a267943b9ce38acb16e9b0f58157e667f324af
9,517
cpp
C++
src/utilities/binary_converter.cpp
theazgra/AzgraCppLibrary
ccc9ff75731d456882a72343bd53bd8e4c38b9e7
[ "BSL-1.0" ]
3
2019-09-17T17:54:33.000Z
2020-01-09T05:06:44.000Z
src/utilities/binary_converter.cpp
theazgra/AzgraCppLibrary
ccc9ff75731d456882a72343bd53bd8e4c38b9e7
[ "BSL-1.0" ]
1
2019-09-18T17:01:54.000Z
2019-09-20T16:52:01.000Z
src/utilities/binary_converter.cpp
theazgra/AzgraCppLibrary
ccc9ff75731d456882a72343bd53bd8e4c38b9e7
[ "BSL-1.0" ]
null
null
null
#include <azgra/utilities/binary_converter.h> namespace azgra { azgra::i16 bytes_to_i16(const ByteArray &bytes, const azgra::u64 fromIndex) { always_assert(bytes.size() >= sizeof(azgra::i16)); always_assert(fromIndex <= bytes.size() - sizeof(azgra::i16)); #ifdef AZGRA_LITTLE_ENDIAN aut...
32.152027
115
0.577388
theazgra
91a3d0a576955b145efac47137e5976f3a2eb01a
5,305
cpp
C++
learningC++/learningHandleClass.cpp
QiJunHu/newToCpp
02988845fdb2e818608d4362e0d4ca0e91818509
[ "MIT" ]
2
2015-12-03T15:05:52.000Z
2019-05-12T16:08:26.000Z
learningC++/learningHandleClass.cpp
QiJunHu/learningRecord
02988845fdb2e818608d4362e0d4ca0e91818509
[ "MIT" ]
null
null
null
learningC++/learningHandleClass.cpp
QiJunHu/learningRecord
02988845fdb2e818608d4362e0d4ca0e91818509
[ "MIT" ]
null
null
null
#include <iostream> #include <iterator> #include <algorithm> #include <fstream> #include <list> #include <string> #include <vector> #include <set> #include<utility> #include<functional> #include<stdexcept> //base class class Item_base { friend std::ostream& operator<<(std::ostream &, Item_base &); public: Item_...
20.248092
155
0.575683
QiJunHu
91a4ed386201c055146a349fe21c642a1626386d
1,466
cpp
C++
Pixel-Engine/src/bindings/python/entities/py_Background.cpp
MohomedShalik/Pixel-Engine
d64d54e7ed9341bb3577bb7e33057baffe9ec2f2
[ "Apache-2.0" ]
11
2020-08-23T17:36:40.000Z
2021-08-24T09:42:50.000Z
Pixel-Engine/src/bindings/python/entities/py_Background.cpp
MohomedShalik/Pixel-Engine
d64d54e7ed9341bb3577bb7e33057baffe9ec2f2
[ "Apache-2.0" ]
1
2020-08-24T06:56:46.000Z
2020-08-24T13:56:14.000Z
Pixel-Engine/src/bindings/python/entities/py_Background.cpp
MohomedShalik/Pixel-Engine
d64d54e7ed9341bb3577bb7e33057baffe9ec2f2
[ "Apache-2.0" ]
3
2019-12-09T13:03:22.000Z
2020-04-08T06:00:53.000Z
#include "pch.h" #include "entities.h" #include "api/entities/Background.h" #include "api/Assets.h" void register_bg(py::module& m) { py::class_<pe::Background, sf::Drawable, sf::Transformable, pe::Asset >(m, "Background") .def(py::init<>()) .def(py::init<py::str>()) .def_static("new", []() { return pe::Assets...
40.722222
140
0.674625
MohomedShalik
91a822d823c791ce476239a7452682235efa7c66
15,800
cxx
C++
StRoot/StFgtPool/StFgtQaMakers/StFgtCosmicTrackQA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StFgtPool/StFgtQaMakers/StFgtCosmicTrackQA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StFgtPool/StFgtQaMakers/StFgtCosmicTrackQA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StFgtCosmicTrackQA.cxx,v 1.2 2012/01/31 16:48:34 wwitzke Exp $ * Author: C. K. Riley (ckriley@bnl.gov), Oct. 18 2011 * *************************************************************************** * * Description: Plotting cla...
30.79922
132
0.578228
xiaohaijin
91a932492725a8bcf00c640b3273c80c6f61e9ab
2,291
cpp
C++
common-lib/modules/general/src/hebench_math_utils.cpp
hebench/frontend
891652bbf7fd6e3aae1020f5cfc30b52e1c491f9
[ "Apache-2.0" ]
9
2021-12-16T18:34:15.000Z
2022-03-29T08:45:35.000Z
common-lib/modules/general/src/hebench_math_utils.cpp
hebench/frontend
891652bbf7fd6e3aae1020f5cfc30b52e1c491f9
[ "Apache-2.0" ]
13
2021-11-04T20:35:39.000Z
2022-02-25T20:06:35.000Z
common-lib/modules/general/src/hebench_math_utils.cpp
hebench/frontend
891652bbf7fd6e3aae1020f5cfc30b52e1c491f9
[ "Apache-2.0" ]
2
2021-12-14T20:09:50.000Z
2022-02-02T17:17:55.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include <algorithm> #include <stdexcept> #include "../include/hebench_math_utils.h" namespace hebench { namespace Utilities { namespace Math { double computePercentile(const double *data, std::size_t count, double percentile) { // ...
25.175824
82
0.591881
hebench
91ac4db899172ed17544ea028421e291f81a6353
3,788
hpp
C++
simpletest_signal.hpp
jonathanrlemos/simpletest
0b0086279c756aa7bd14a40d907352233fc98313
[ "MIT" ]
null
null
null
simpletest_signal.hpp
jonathanrlemos/simpletest
0b0086279c756aa7bd14a40d907352233fc98313
[ "MIT" ]
null
null
null
simpletest_signal.hpp
jonathanrlemos/simpletest
0b0086279c756aa7bd14a40d907352233fc98313
[ "MIT" ]
null
null
null
/** @file simpletest_signal.hpp * @brief simpletest signal handler. * @copyright Copyright (c) 2018 Jonathan Lemos * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef __SIMPLETEST_SIGNAL_HPP #define __SIMPLETEST_SIGNAL_HPP #includ...
27.057143
166
0.704329
jonathanrlemos