hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
275232189ca5282cc4189070ed6693bd1d5a4f25
31,758
cpp
C++
PhysicsSceneManager/PhysicsResource.cpp
evan-lloyd/LabMan
7512b14d4acaa912d4a63e4784ba6d6b9a6f830c
[ "Xnet", "X11" ]
null
null
null
PhysicsSceneManager/PhysicsResource.cpp
evan-lloyd/LabMan
7512b14d4acaa912d4a63e4784ba6d6b9a6f830c
[ "Xnet", "X11" ]
null
null
null
PhysicsSceneManager/PhysicsResource.cpp
evan-lloyd/LabMan
7512b14d4acaa912d4a63e4784ba6d6b9a6f830c
[ "Xnet", "X11" ]
null
null
null
#include "PhysicsResource.h" #include "PhysicsNode.h" #include "PhysicsSceneManager.h" #include "tinyxml.h" #include "OgreMesh.h" #include "OgreSubMesh.h" #include "OgreVertexIndexData.h" #include "OgreLogManager.h" #include "MeshStrider.h" // TODO: fine-grained control about what bodies can collide PhysicsResource:...
26.982158
318
0.700139
evan-lloyd
2755f56ea2735d404c1fff7faefb28d561be88a6
4,135
cpp
C++
src/sledluaplugin/sledluaplugin.cpp
ViseEngine/SLED
7815ee6feb656d43f70edba8280caa8a69d0983b
[ "Apache-2.0" ]
158
2015-03-03T00:11:56.000Z
2022-02-08T18:43:11.000Z
src/sledluaplugin/sledluaplugin.cpp
mcanthony/SLED
7815ee6feb656d43f70edba8280caa8a69d0983b
[ "Apache-2.0" ]
3
2015-04-30T13:00:43.000Z
2015-07-07T22:58:35.000Z
src/sledluaplugin/sledluaplugin.cpp
mcanthony/SLED
7815ee6feb656d43f70edba8280caa8a69d0983b
[ "Apache-2.0" ]
48
2015-03-05T05:30:45.000Z
2021-10-18T02:09:02.000Z
/* * Copyright (C) Sony Computer Entertainment America LLC. * All Rights Reserved. */ #include "sledluaplugin.h" #include "../sleddebugger/sleddebugger.h" #include "sledluaplugin_class.h" #include <new> namespace sce { namespace Sled { int32_t luaPluginCreate(const LuaPluginConfig *config, void *location, Lu...
24.040698
157
0.754776
ViseEngine
2762883c29e9a7bf2e5fca72fef811b833bf2d9a
946
cpp
C++
Calculate Note or penny in a Specific Amount.cpp
ZapeeoSheikh/Cppfactory
7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70
[ "MIT" ]
null
null
null
Calculate Note or penny in a Specific Amount.cpp
ZapeeoSheikh/Cppfactory
7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70
[ "MIT" ]
null
null
null
Calculate Note or penny in a Specific Amount.cpp
ZapeeoSheikh/Cppfactory
7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70
[ "MIT" ]
null
null
null
#include <iostream> //#include <iomanip> //#include <string> using namespace std; int main () { double money = 0.0; double change = 0.0; int change1 = 0; int tdollars = 0; int fdollars = 0; int dollars = 0; int quarters = 0; int dimes = 0; int nickels = 0; int pennies = 0; cout<<"Enter money: $"; cin>>...
17.849057
38
0.615222
ZapeeoSheikh
2766b68433bf63a3761cde4e74273a72474be8c9
1,201
cpp
C++
main/PISupervisor/src/PIWallController.cpp
minku1024/endpointdlp
931ab140eef053498907d1db74a5c055bea8ef93
[ "Apache-2.0" ]
33
2020-11-18T09:30:13.000Z
2022-03-03T17:56:24.000Z
main/PISupervisor/src/PIWallController.cpp
s4ngsuk-sms/endpointdlp
9e87e352e23bff3b5e0701dd278756aadc8a0539
[ "Apache-2.0" ]
25
2020-07-31T01:43:17.000Z
2020-11-27T12:32:09.000Z
main/PISupervisor/src/PIWallController.cpp
s4ngsuk-sms/endpointdlp
9e87e352e23bff3b5e0701dd278756aadc8a0539
[ "Apache-2.0" ]
26
2020-11-18T09:30:15.000Z
2022-01-18T08:24:01.000Z
#ifndef _WALLCONTROLLER_CPP #define _WALLCONTROLLER_CPP #include "PIWallController.h" //////////////////////////////////////////////////////////////////////////////// //class IPIWallControl IPIWallControl::IPIWallControl() { } IPIWallControl::~IPIWallControl() { } std::string IPIWallControl::getImageFileName(void) ...
20.016667
85
0.614488
minku1024
27687231b83246cdb3e21b813f14d12ed2fc3cae
3,554
hpp
C++
src/Core/TaskInformer.hpp
mlaszko/DisCODe
0042280ae6c1ace8c6e0fa25ae4d440512c113f6
[ "MIT" ]
1
2017-02-17T13:01:13.000Z
2017-02-17T13:01:13.000Z
src/Core/TaskInformer.hpp
mlaszko/DisCODe
0042280ae6c1ace8c6e0fa25ae4d440512c113f6
[ "MIT" ]
null
null
null
src/Core/TaskInformer.hpp
mlaszko/DisCODe
0042280ae6c1ace8c6e0fa25ae4d440512c113f6
[ "MIT" ]
1
2018-07-23T00:05:58.000Z
2018-07-23T00:05:58.000Z
#ifndef TASKINFORMER_HPP_ #define TASKINFORMER_HPP_ #include "Informer.hpp" #include "CommandInterpreter.hpp" namespace Core { class TaskInformer : public Informer { public: TaskInformer(Core::Task * t) : task(t) { } void registerHandlers(CommandInterpreter & ci) { ci.addHandler("listExecutors", boost::bind(&...
24.342466
90
0.628306
mlaszko
2775f2195e9616d039feb081fd26b685c6151bb3
9,562
cpp
C++
sdk/physx/2.8.3/Samples/SampleSleepCallback/src/nxsleepcallback.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
sdk/physx/2.8.3/Samples/SampleSleepCallback/src/nxsleepcallback.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
sdk/physx/2.8.3/Samples/SampleSleepCallback/src/nxsleepcallback.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
/** * SampleSleepCallback, a simple sample demonstrating the usage of callback for * sleeping actors */ #include <stdio.h> #include <GL/glut.h> #include "NxPhysics.h" #include "ErrorStream.h" #include "PerfRenderer.h" #include "Utilities.h" #include "SamplesVRDSettings.h" #include "UserAllocator.h" static const i...
25.635389
146
0.704873
daher-alfawares
277a933e4cf6b62e1718802781f07872c37597b9
2,999
cpp
C++
13004 At most twice.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
13004 At most twice.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
13004 At most twice.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <vector> using namespace std; string number; inline int Convert(char c) { return c - '0'; } bool CanBeReduced(int value, const vector<int> & countsLeft) { for (int i = value - 1; i >= 0; --i) if (countsLeft[i]) return true; return false; } // TO...
26.307018
122
0.577192
zihadboss
277bcb14238855e7a8edb1a836e218f33e57c731
605
hpp
C++
include/xul/util/runnable_callback.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/util/runnable_callback.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/util/runnable_callback.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once #include <xul/util/runnable.hpp> #include <xul/lang/object_impl.hpp> namespace xul { template <typename CallbackT> class runnable_callback : public object_impl<runnable> { public: explicit runnable_callback(const CallbackT& callback) : m_callback(callback) { } virtual void run() { ...
16.351351
84
0.73719
hindsights
277f4be7c7aafe6efe07bd0a2914329d435f5e20
6,472
cpp
C++
src/Theme.cpp
Ghost0159/freeshop
b189eb8d3726010ebd662ee1804b5e4542c3feaa
[ "MIT" ]
1
2021-05-11T10:40:14.000Z
2021-05-11T10:40:14.000Z
src/Theme.cpp
Ghost0159/freeshop
b189eb8d3726010ebd662ee1804b5e4542c3feaa
[ "MIT" ]
null
null
null
src/Theme.cpp
Ghost0159/freeshop
b189eb8d3726010ebd662ee1804b5e4542c3feaa
[ "MIT" ]
2
2021-06-05T15:51:05.000Z
2022-02-03T20:44:33.000Z
#include <cpp3ds/System/FileSystem.hpp> #include <cpp3ds/System/I18n.hpp> #include <fstream> #include <rapidjson/ostreamwrapper.h> #include <rapidjson/writer.h> #include <cpp3ds/System/FileInputStream.hpp> #include "Theme.hpp" #include "Util.hpp" namespace FreeShop { //Images vars bool Theme::isFlagsThemed = false; bo...
38.754491
115
0.7483
Ghost0159
278206b135b11c93ee411666c24c6735aeccb855
1,227
cpp
C++
SPOJ/RMQSQ - Range Minimum Query.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
2
2020-11-19T19:21:24.000Z
2021-04-22T10:53:16.000Z
SPOJ/RMQSQ - Range Minimum Query.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
null
null
null
SPOJ/RMQSQ - Range Minimum Query.cpp
Harry-kp/Cp
94e687a3a5256913467f50d8f757b12640529513
[ "MIT" ]
1
2021-12-02T06:03:17.000Z
2021-12-02T06:03:17.000Z
#include <bits/stdc++.h> using namespace std; #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0) #define MP make_pair #define EB emplace_back #define MOD 1000000007 #define int long long int #define S second #define F first #define debug1 cout << "debug1" << '\n' #define debug2 cout...
21.526316
67
0.463733
Harry-kp
27835575412965c328ee6cbba7adcc1ec6b851ed
374
cpp
C++
competitive_programming/programming_contests/uri/close_the_doors.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/close_the_doors.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/close_the_doors.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1371 #include <iostream> #include <math.h> using namespace std; int main() { long long n = 0, k; while(cin >> k) { long long i = 0; if (k == 0) break; for (n = 0; i < (int)sqrt(k); i++) { n += 2 * i + 1; if (i + 1 >= (int)sqrt(k)) cout << n; ...
17
64
0.516043
LeandroTk
2783c375e4cdce58cfd1b893ddea8e6b87d3d36b
170
cpp
C++
src/uci_config.cpp
shepi13/shepichess
5f608a98a03fb6465a7b75dbc956cd5221427513
[ "MIT" ]
null
null
null
src/uci_config.cpp
shepi13/shepichess
5f608a98a03fb6465a7b75dbc956cd5221427513
[ "MIT" ]
null
null
null
src/uci_config.cpp
shepi13/shepichess
5f608a98a03fb6465a7b75dbc956cd5221427513
[ "MIT" ]
null
null
null
#include "uci_config.h" namespace shepichess { bool UCIConfig::setOption(const std::string& name, const std::string& val) { return true; } } // namespace shepichess
15.454545
74
0.723529
shepi13
95960dd3a513ebd8872f313e15181e3543132518
2,087
cpp
C++
iOS/G3MiOSSDK/Commons/Geometry/Ellipsoid.cpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MiOSSDK/Commons/Geometry/Ellipsoid.cpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MiOSSDK/Commons/Geometry/Ellipsoid.cpp
RMMJR/g3m
990467dc8e2bf584f8b512bdf06ecf4def625185
[ "BSD-2-Clause" ]
null
null
null
// // Ellipsoid.cpp // G3MiOSSDK // // Created by Jose Miguel SN on 04/06/13. // // #include "Ellipsoid.hpp" std::vector<double> Ellipsoid::intersectionsDistances(const Vector3D& origin, const Vector3D& direction) const { std::vector<double> intersec...
33.66129
100
0.617154
RMMJR
9597849837dee0c2b804110e3e8005a5c09c414c
4,430
cpp
C++
apps/openmw/mwmechanics/aitravel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwmechanics/aitravel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwmechanics/aitravel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "aitravel.hpp" #include <OgreVector3.h> #include <components/esm/aisequence.hpp> #include "../mwbase/world.hpp" #include "../mwbase/environment.hpp" #include "../mwworld/class.hpp" #include "../mwworld/cellstore.hpp" #include "steering.hpp" #include "movement.hpp" #include "creaturestats.hpp" namespace M...
34.076923
186
0.590293
Bodillium
959ba14f03126c941b29b2d698e66d0dbcd6a759
3,112
cpp
C++
array-and-string/conclusion/reverse-words-in-a-string.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
array-and-string/conclusion/reverse-words-in-a-string.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
array-and-string/conclusion/reverse-words-in-a-string.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: string reverseWords_inefficient(string s) { string reversed; const int N = s.size(); for (int i = N - 1, word_end = i, space_start; i >= 0;) { if (s[i] == ' ') { for (space_start = i; i < N and ...
32.757895
117
0.473329
lpapp
95aa354ab62e8238f0206c261bf60afdd8a98e56
572
hpp
C++
src/Qt5Gui/QTextDocument.hpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
src/Qt5Gui/QTextDocument.hpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
src/Qt5Gui/QTextDocument.hpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
#ifndef LUACXX_QTEXTDOCUMENT_INCLUDED #define LUACXX_QTEXTDOCUMENT_INCLUDED #include "../stack.hpp" class QTextDocument; namespace lua { void QTextDocument_metatable(const lua::index& mt); template <> struct Metatable<QTextDocument> { static constexpr const char* name = "QTextDocument"; static bool metata...
19.724138
69
0.737762
NPS-TECH
95b28ec0a9f2c63154059de5b2e7f2c119c6fb52
764
cpp
C++
sketches/Trident/NCommManager.cpp
phamhoanganhbk/pha_openROV
d379ed95707fb3b607ae055ebe9eba983524182e
[ "MIT" ]
null
null
null
sketches/Trident/NCommManager.cpp
phamhoanganhbk/pha_openROV
d379ed95707fb3b607ae055ebe9eba983524182e
[ "MIT" ]
null
null
null
sketches/Trident/NCommManager.cpp
phamhoanganhbk/pha_openROV
d379ed95707fb3b607ae055ebe9eba983524182e
[ "MIT" ]
null
null
null
#include "NCommManager.h" namespace NCommManager { // --------------------------------------------------------- // Variable initialization // --------------------------------------------------------- CCommand m_currentCommand; bool m_isCommandAvailable = false; // ---------------------------------------------...
24.645161
61
0.502618
phamhoanganhbk
95b529f4f83474bda3c5eefc9416dfeb0f0da4c9
484
cpp
C++
tests/main.cpp
yamadapc/filesaver
9665cb30615530fb4aeeb775efb92092c7a51eb1
[ "MIT" ]
28
2019-09-09T08:13:25.000Z
2022-02-09T06:20:31.000Z
tests/main.cpp
yamadapc/filesaver
9665cb30615530fb4aeeb775efb92092c7a51eb1
[ "MIT" ]
2
2020-05-26T02:06:42.000Z
2021-04-08T08:16:03.000Z
tests/main.cpp
yamadapc/filesaver
9665cb30615530fb4aeeb775efb92092c7a51eb1
[ "MIT" ]
1
2020-06-09T23:40:04.000Z
2020-06-09T23:40:04.000Z
// // Created by Pedro Tacla Yamada on 2019-08-20. // #define CATCH_CONFIG_RUNNER #include <catch2/catch.hpp> #include <cstdlib> #include <spdlog/sinks/basic_file_sink.h> #include <spdlog/spdlog.h> int main (int argc, char* argv[]) { spdlog::warn ("Logs will be written to filesaver_test.log"); auto testLogge...
24.2
86
0.71281
yamadapc
95b823b309eb8d144efd6dd4abc59c8ce8a8a59f
694
hpp
C++
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Castle.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Castle.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Buildings/Castle.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2021-07-15T20:09:13.000Z
2022-02-23T19:21:13.000Z
Castle[] = { //Tools {Loot_GROUP, 5, ToolsSurvival}, {Loot_VEHICLE, 1, WeaponHolder_ItemHatchet}, //Weapons {Loot_GROUP, 5, shotgunsingleshot}, //Backpacks {Loot_GROUP, 4, backpacks}, //Items {Loot_MAGAZINE, 4, ItemSandbag}, {Loot_MAGAZINE, 2, equip_Crossbow_Kit}, {Loot_MAGAZINE, 2, equip...
23.133333
47
0.678674
TheFirstNoob
95b87229cdbc11b0ac8ee6ad4a3f33bae50e1684
1,001
cpp
C++
player.cpp
javel/SDL-Cellular-Automata-Conway-s-Game-of-Life
7f7e0790b9e7b69ef84a76b6379911eeb8a2f577
[ "MIT" ]
null
null
null
player.cpp
javel/SDL-Cellular-Automata-Conway-s-Game-of-Life
7f7e0790b9e7b69ef84a76b6379911eeb8a2f577
[ "MIT" ]
null
null
null
player.cpp
javel/SDL-Cellular-Automata-Conway-s-Game-of-Life
7f7e0790b9e7b69ef84a76b6379911eeb8a2f577
[ "MIT" ]
null
null
null
#include "player.h" player::player() { } player::player(int x, int y, int l, int w): entity(x, y, l, w) { } player::player(int x, int y, int l, int w, Uint32 c) : entity(x, y, l, w, c) { } player::~player() { } bool player::moveUp() { setShadow(); if (this->getY() - this->getLength() < 0) { return false; ...
13.902778
76
0.593407
javel
95b92d367c0fe69abc74ba6f69a68c2521c90ca7
337
inl
C++
Code/Client/Private/NetImgui_Client.inl
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
Code/Client/Private/NetImgui_Client.inl
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
Code/Client/Private/NetImgui_Client.inl
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
namespace NetImgui { namespace Internal { namespace Client { void ClientTexture::Set( CmdTexture* pCmdTexture ) { netImguiDeleteSafe(mpCmdTexture); mpCmdTexture = pCmdTexture; mbSent = pCmdTexture == nullptr; } bool ClientTexture::IsValid()const { return mpCmdTexture != nullptr; } }}} // namespace NetImgui::...
19.823529
60
0.747774
Xipiryon
95b9c971f8d8b429e047f992c2d68925d5bbd5df
1,305
cpp
C++
c++/Valid Sudoku/Valid Sudoku.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Valid Sudoku/Valid Sudoku.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
c++/Valid Sudoku/Valid Sudoku.cpp
tonardo2015/leetcode
02e659f0415158b02f1e9cdb3f63ac0870b109af
[ "MIT" ]
null
null
null
//直接枚举即可 class Solution { public: bool isValidSudoku(vector<vector<char>>& board) { int vis[9] = {0}; for(int i = 0;i < 9;i++){ for(int j = 0;j < 9;j++){ //每一行 if(!isdigit(board[i][j])) continue; if(vis[board[i][j]-'1']) return fa...
31.829268
71
0.340996
tonardo2015
95bb4b740cf57681e533a92ce66954b166f6d521
19,038
cpp
C++
src/Chronicles/entity/level.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
1
2015-04-28T15:12:14.000Z
2015-04-28T15:12:14.000Z
src/Chronicles/entity/level.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
null
null
null
src/Chronicles/entity/level.cpp
gregtour/chronicles-game
813a33c6d484bff59f210d81a3252bef2e0d3ea2
[ "CC0-1.0" ]
null
null
null
#include <sstream> #include "../main.h" #include "spike.h" #include "gate.h" #include "ghoul.h" #include "level.h" #include "player.h" #include "monster.h" #include "gremling.h" #include "bat.h" #include "item.h" #include "cameraController.h" #include "portal.h" #include "../../engine/update.h" #inclu...
26.701262
157
0.630318
gregtour
95bfd2d84ec35d6719fc685894229c1db39727b8
4,008
cpp
C++
A1085/1085-AC-184ms-208kb-11355.cpp
instr3/BZOJ-solution-legacy
a71f7df2241602ad744e8ca2453a8423590d5678
[ "MIT" ]
null
null
null
A1085/1085-AC-184ms-208kb-11355.cpp
instr3/BZOJ-solution-legacy
a71f7df2241602ad744e8ca2453a8423590d5678
[ "MIT" ]
null
null
null
A1085/1085-AC-184ms-208kb-11355.cpp
instr3/BZOJ-solution-legacy
a71f7df2241602ad744e8ca2453a8423590d5678
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <map> #define INFINIT 10000000 #define CHESS(b,p) ((((ll)b)>>(((ll)p)<<(ll)1))&(ll)3) #define GETPOS(chess,p) (((ll)chess)<<(((ll)p)<<(ll)1)) #define ll long long #define WHITE 0 #define BLACK 1 #define BLANK 2 #define MAXSTEP 15 // //ll GETPOS(ll chess,ll p){ // return c...
21.901639
84
0.510978
instr3
95c475baa5ecd50b2626b752f694d043f407949c
943
cpp
C++
src/globalConstants.cpp
rohitbahl1986/mpc
469e1c481ef060571a0d05a492de867116e7dd2f
[ "MIT" ]
null
null
null
src/globalConstants.cpp
rohitbahl1986/mpc
469e1c481ef060571a0d05a492de867116e7dd2f
[ "MIT" ]
null
null
null
src/globalConstants.cpp
rohitbahl1986/mpc
469e1c481ef060571a0d05a492de867116e7dd2f
[ "MIT" ]
null
null
null
/* * globalConstants.cpp * * Created on: May 9, 2018 * Author: rohitbahl */ /************************************************************************************************** * INCLUDES *************************************************************************************************/ #include "globalCons...
34.925926
99
0.401909
rohitbahl1986
95d0b43886ad8eeca219967bf0291fd9bdbf03f7
3,028
cpp
C++
cyfre/transform/inverse.cpp
mrdcvlsc/cyfre
ef008ebf2c2de45de4477dee7c0d1d3acf3ce0e8
[ "MIT" ]
3
2021-07-02T14:38:55.000Z
2021-08-17T10:08:27.000Z
cyfre/transform/inverse.cpp
mrdcvlsc/cyfre
ef008ebf2c2de45de4477dee7c0d1d3acf3ce0e8
[ "MIT" ]
null
null
null
cyfre/transform/inverse.cpp
mrdcvlsc/cyfre
ef008ebf2c2de45de4477dee7c0d1d3acf3ce0e8
[ "MIT" ]
null
null
null
#ifndef CYFRE_INVERSE_CPP #define CYFRE_INVERSE_CPP #include <iostream> #include "../classes/matrix_class.hpp" namespace cyfre { // ============================= INVERSE MATRIX ================================ /// converts matrix to it's inverse form template<class T> void mat<T>::inv() { ...
28.037037
144
0.494386
mrdcvlsc
95d16cf0d2ba8fb183952c0e21ef5112c8188cf6
1,989
cc
C++
tests/libtests/feassemble/data/obsolete/GeomDataTri2D.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/feassemble/data/obsolete/GeomDataTri2D.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/feassemble/data/obsolete/GeomDataTri2D.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
27.246575
73
0.650578
Grant-Block
95d515ea3d0d094248b2e08e87ad84bface22f01
2,902
cpp
C++
src/ux/Slider.cpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
2
2016-05-21T03:09:19.000Z
2016-08-27T03:40:51.000Z
src/ux/Slider.cpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
75
2017-10-08T22:21:19.000Z
2020-03-30T21:13:20.000Z
src/ux/Slider.cpp
StratifyLabs/StratifyLib
975a5c25a84296fd0dec64fe4dc579cf7027abe6
[ "MIT" ]
5
2018-03-27T16:44:09.000Z
2020-07-08T16:45:55.000Z
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #include "ux/Slider.hpp" #include "ux/draw/Rectangle.hpp" #include "ux/EventLoop.hpp" using namespace ux; using namespace sgfx; void Slider::draw(const DrawingScaledAttributes & attributes){ draw_base_properties( ...
25.910714
100
0.689869
bander9289
95d752b0e31d7ec179ce3eea0dfa9965ba4cb460
1,604
cpp
C++
RockBuster/SoundPack.cpp
Mateusz1223/RockBuster
6261391425188059baf79e892272fc19ce50c26d
[ "MIT" ]
1
2021-04-17T09:49:18.000Z
2021-04-17T09:49:18.000Z
RockBuster/SoundPack.cpp
Mateusz1223/RockBuster
6261391425188059baf79e892272fc19ce50c26d
[ "MIT" ]
null
null
null
RockBuster/SoundPack.cpp
Mateusz1223/RockBuster
6261391425188059baf79e892272fc19ce50c26d
[ "MIT" ]
null
null
null
#include "SoundPack.h" SoundPack::SoundPack() { if (!this->playerDamagedSoundBuffer.loadFromFile("Sounds/take_demage.wav")) { std::cout << "ERROR: SoundPack::SoundPack(): player demaged sound cannot be loaded\n"; } this->playerDamagedSound.setBuffer(this->playerDamagedSoundBuffer); if (!this->shootSoundBuffe...
27.186441
88
0.725686
Mateusz1223
95d82b5ba05a923c6a2edc422acbc428086d80cc
323
cpp
C++
online_judges/cf/gym/101908/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/cf/gym/101908/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/cf/gym/101908/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // By Miguel Ortiz https://github.com/miaortizma int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); int n; cin >> n; int ans = 0; for (int i = 0; i < n; ++i) { int t; cin >> t; if (t != 1) { ans += 1; } } cout << ans; return 0;...
15.380952
48
0.517028
miaortizma
95db035fe24b11e7ef6d6873566b54be8e585b41
1,939
cc
C++
sorting/merge_sort.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
sorting/merge_sort.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
sorting/merge_sort.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
#include "sorting_util.h" namespace algorithm { namespace sorting { template <class T, size_t N> void Merge(T (&array)[N], int low, int mid, int high) { int l_len = mid - low + 1, r_len = high - mid; T *l_arr = new T[l_len], *r_arr = new T[r_len]; for (int i = 0; i < l_len; i++) l_arr[i] = array[low + i]; fo...
32.316667
77
0.550284
knguyenc
95db38d4ea381c173b3ad6d18891a56415b70e21
553
hpp
C++
book/cpp_templates/tmplbook/variant/variantchoiceinit.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantchoiceinit.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantchoiceinit.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
#include <utility> // for std::move() template<typename T, typename... Types> VariantChoice<T, Types...>::VariantChoice(T const& value) { // place value in buffer and set type discriminator: new(getDerived().getRawBuffer()) T(value); getDerived().setDiscriminator(Discriminator); } template<typename T, typename...
34.5625
60
0.721519
houruixiang
95db642b5af01fdff75fc3df78eae93710cfe0a1
559
cpp
C++
2021/Day 2/part2.cpp
ReactiveAlkali/AdventOfCode
dcb9be62806a2ef72e08ff9f4c7988d50f39cc0c
[ "MIT" ]
null
null
null
2021/Day 2/part2.cpp
ReactiveAlkali/AdventOfCode
dcb9be62806a2ef72e08ff9f4c7988d50f39cc0c
[ "MIT" ]
null
null
null
2021/Day 2/part2.cpp
ReactiveAlkali/AdventOfCode
dcb9be62806a2ef72e08ff9f4c7988d50f39cc0c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> int main() { int horizontal_position = 0; int depth = 0; int aim = 0; std::string command; int value; while(std::cin >> command >> value) { if (command == "forward") { horizontal_position += value; depth += aim * value; ...
16.441176
43
0.513417
ReactiveAlkali
95dfbae3d783a1efb4eaa9da28c119d8e6133b59
504
cpp
C++
Solutions/Ch2/2-10 Miles Per Gallon.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
1
2017-09-14T01:07:44.000Z
2017-09-14T01:07:44.000Z
Solutions/Ch2/2-10 Miles Per Gallon.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
null
null
null
Solutions/Ch2/2-10 Miles Per Gallon.cpp
menarus/C-Course
ac56ec4215a69f6a755e766b9d113e4a4e08b087
[ "MIT" ]
null
null
null
/* Project : Miles Per Gallon Author : Mohammad Al-Husseini Description : Calculates MPG. Known : 12 Gallon Tank 350 Miles before refeuling Display : The MPG. */ /////////////////////////////////////////////////////////////////////////////////////////////////// #include <iostream> // cout obje...
24
100
0.507937
menarus
95f3629174bb2d2d8a5b23fd907b4a9104da9e45
4,026
cpp
C++
src/meshTexturing.cpp
BennySobol/Sr
735229d5076415f8cedc34fd415da8dbfd219bee
[ "MIT" ]
19
2021-02-18T17:33:35.000Z
2022-03-18T04:14:49.000Z
src/meshTexturing.cpp
BennySobol/Sr
735229d5076415f8cedc34fd415da8dbfd219bee
[ "MIT" ]
null
null
null
src/meshTexturing.cpp
BennySobol/Sr
735229d5076415f8cedc34fd415da8dbfd219bee
[ "MIT" ]
null
null
null
#include "meshTexturing.h" #include "loadImages.h" // mesh texturing inspiration from main function at https://github.com/PointCloudLibrary/pcl/blob/master/gpu/kinfu_large_scale/tools/standalone_texture_mapping.cpp meshTexturing::meshTexturing(std::vector<imageFeatures>& features, cameraCalibration& calib, std::st...
36.6
175
0.63686
BennySobol
95fe033266fa3d0a2ac9e00da6f475beb8feff69
14,921
cpp
C++
src/misc/support.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
3
2022-02-20T11:06:29.000Z
2022-03-11T08:16:55.000Z
src/misc/support.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
src/misc/support.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2002-2021 The DOSBox Team * * 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 p...
29.842
159
0.544736
mediaexplorer74
95fe46c9c95ba2b29dde71306040930874dcd8d3
1,017
cpp
C++
Engine/Source/Runtime/Core/VTime.cpp
Futureblur/MoonEngine
0b3e8e9d04e7ca7b6c3cbf657e59a5c3b82cfa9b
[ "Apache-2.0" ]
1
2021-10-17T12:11:28.000Z
2021-10-17T12:11:28.000Z
Engine/Source/Runtime/Core/VTime.cpp
Futureblur/MoonEngine
0b3e8e9d04e7ca7b6c3cbf657e59a5c3b82cfa9b
[ "Apache-2.0" ]
null
null
null
Engine/Source/Runtime/Core/VTime.cpp
Futureblur/MoonEngine
0b3e8e9d04e7ca7b6c3cbf657e59a5c3b82cfa9b
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 Futureblur. All rights reserved. Visit https://ice.futureblur.com for more information. #include "VTime.h" #include "IO/Log.h" #include <GLFW/glfw3.h> #define _CRT_SECURE_NO_WARNINGS namespace Iceblur { float VTime::m_CurrentTick; float VTime::m_LastTick; float VTime::m_Accumulated; float...
20.755102
109
0.704031
Futureblur
250120a0acd4b9be8ba30d46453c24068b2e6976
4,669
hpp
C++
IA-testing/IA/IA/FileLogger.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
5
2017-07-08T18:26:31.000Z
2022-03-30T12:07:03.000Z
IA-testing/IA/IA/FileLogger.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
null
null
null
IA-testing/IA/IA/FileLogger.hpp
alseether/GeneticGame
83bbdf926e6eb0974d9cacba7b315c91e59a1095
[ "MIT" ]
2
2017-07-08T18:26:33.000Z
2018-10-26T08:14:28.000Z
#ifndef FILELOGGER_HPP #define FILELOGGER_HPP #include <fstream> #include <unordered_map> #include "iagobserver.hpp" #include "ICromosomaObserver.hpp" class FileLogger : public IAGObserver, public ICromosomaObserver{ public: FileLogger(Controlador& c) { _ctrl = &c; _ctrl->addObserver(*this); _ctrl->addCromos...
44.894231
262
0.654316
alseether
2503907252aabfe3455e3e7c6aa4492105d9a1fc
5,603
cpp
C++
FantasyBrawl_Project/Motor2D/j1ItemManager.cpp
project2-tmp/Base_Code
72cd8b375a912c2760e62f273c74de7c0c6d939e
[ "MIT" ]
6
2019-04-14T18:17:35.000Z
2021-07-29T02:22:24.000Z
FantasyBrawl_Project/Motor2D/j1ItemManager.cpp
project2-tmp/Base_Code
72cd8b375a912c2760e62f273c74de7c0c6d939e
[ "MIT" ]
7
2019-03-21T22:00:20.000Z
2019-06-12T00:37:31.000Z
FantasyBrawl_Project/Motor2D/j1ItemManager.cpp
CheckTheDog/Fantasy-Brawl
72cd8b375a912c2760e62f273c74de7c0c6d939e
[ "MIT" ]
null
null
null
#include "j1App.h" #include "j1Collision.h" #include "j1Textures.h" #include "j1Render.h" #include "j1Viewport.h" #include "j1Map.h" #include "p2Log.h" #include <time.h> #include "j1ItemManager.h" j1ItemManager::j1ItemManager() { name.assign("item_manager"); } j1ItemManager::~j1ItemManager() { } bool j1ItemManager:...
22.776423
150
0.676245
project2-tmp
250440d16930518940f79e410e98e8893a4605a9
3,798
cpp
C++
software/MenuFunctions.cpp
andrempmattos/EEL7801
323f241254b743ec0036f6a10cba0262f806a634
[ "MIT" ]
2
2019-09-01T14:03:56.000Z
2019-09-03T00:03:19.000Z
software/MenuFunctions.cpp
andrempmattos/EEL7801
323f241254b743ec0036f6a10cba0262f806a634
[ "MIT" ]
18
2017-08-22T01:26:10.000Z
2017-11-26T20:27:16.000Z
software/MenuFunctions.cpp
andrempmattos/EEL7801
323f241254b743ec0036f6a10cba0262f806a634
[ "MIT" ]
1
2019-08-31T17:28:33.000Z
2019-08-31T17:28:33.000Z
/* * MenuFunctions.cpp * * Created on: 11 de nov de 2017 * Author: André */ #include "MenuFunctions.h" void MenuStart(void) { /* Initialization int AuxiliaryCounter; for (AuxiliaryCounter = 0; AuxiliaryCounter < LOG_DATA_SIZE; AuxiliaryCounter++) { CollectedData[AuxiliaryCounter] = 0; ...
28.343284
107
0.677988
andrempmattos
250babb46dc9f81b3d43bc5aefac2548dfa596d6
1,454
cpp
C++
src/parse/node_expr_paren.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
src/parse/node_expr_paren.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
src/parse/node_expr_paren.cpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#include "parse/node_expr_paren.hpp" namespace parse { ParenExprNode::ParenExprNode(lex::Token open, NodePtr expr, lex::Token close) : m_open{std::move(open)}, m_expr{std::move(expr)}, m_close{std::move(close)} {} auto ParenExprNode::operator==(const Node& rhs) const noexcept -> bool { const auto r = dynamic_c...
31.608696
95
0.685695
BastianBlokland
250e05b5c1b9bf4f67fc0f6746b5a9c3b578c95a
1,144
hpp
C++
learnOpGLDemo/Shader.hpp
ccwinner/OpenGLDemoUdemy
0295f51706f98226155791972525e422cda85467
[ "MIT" ]
1
2019-12-06T03:25:58.000Z
2019-12-06T03:25:58.000Z
learnOpGLDemo/Shader.hpp
ccwinner/OpenGLDemoUdemy
0295f51706f98226155791972525e422cda85467
[ "MIT" ]
null
null
null
learnOpGLDemo/Shader.hpp
ccwinner/OpenGLDemoUdemy
0295f51706f98226155791972525e422cda85467
[ "MIT" ]
null
null
null
// // Shader.hpp // learnOpGLDemo // // Created by chenxiao on 2019/11/15. // Copyright © 2019 陈霄. All rights reserved. // #pragma once #include <stdio.h> #include <string> #include <iostream> #include <fstream> #include <OpenGL/gl3.h> class Shader { public: Shader(); void CreateFromString(const char* ...
23.833333
157
0.73514
ccwinner
25290b3b63267357285bbd3fcc3dd5b0aedb1fc5
384
hpp
C++
demos/game_of_life/get_plaintext.hpp
buzzert/CPPurses
33c2c1719a480aefea57874e32c54b4b48ebbfa0
[ "MIT" ]
1
2020-02-22T21:18:11.000Z
2020-02-22T21:18:11.000Z
demos/game_of_life/get_plaintext.hpp
buzzert/CPPurses
33c2c1719a480aefea57874e32c54b4b48ebbfa0
[ "MIT" ]
null
null
null
demos/game_of_life/get_plaintext.hpp
buzzert/CPPurses
33c2c1719a480aefea57874e32c54b4b48ebbfa0
[ "MIT" ]
null
null
null
#ifndef CPPURSES_DEMOS_GAME_OF_LIFE_GET_PLAINTEXT_HPP #define CPPURSES_DEMOS_GAME_OF_LIFE_GET_PLAINTEXT_HPP #include <string> #include <vector> #include "coordinate.hpp" namespace gol { /// Return cell Coordinates from plaintext file. std::vector<Coordinate> get_plaintext(const std::string& filename); } // namespa...
25.6
67
0.817708
buzzert
253076406325bbab920dbc2b6cd42dd1df8028fc
8,953
cc
C++
main.cc
aarossig/can-joystick
7044604b4dd0ff17eb5af656808804a7f4560bad
[ "Apache-2.0" ]
14
2019-05-14T20:36:10.000Z
2022-01-19T06:27:41.000Z
main.cc
aarossig/can-joystick
7044604b4dd0ff17eb5af656808804a7f4560bad
[ "Apache-2.0" ]
null
null
null
main.cc
aarossig/can-joystick
7044604b4dd0ff17eb5af656808804a7f4560bad
[ "Apache-2.0" ]
2
2020-10-22T11:22:56.000Z
2022-01-21T08:16:31.000Z
/* * Copyright 2019 Andrew Rossignol (andrew.rossignol@gmail.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 requ...
27.547692
80
0.654194
aarossig
25355393d38ded6f097270fe9d0f1ef71c224a8d
1,193
cpp
C++
player.cpp
ThanosRestas/Breakout-SDL
1db9d7127e1f38259445f93547c6d32b3b39536c
[ "MIT" ]
null
null
null
player.cpp
ThanosRestas/Breakout-SDL
1db9d7127e1f38259445f93547c6d32b3b39536c
[ "MIT" ]
null
null
null
player.cpp
ThanosRestas/Breakout-SDL
1db9d7127e1f38259445f93547c6d32b3b39536c
[ "MIT" ]
null
null
null
#include "player.h" Player::Player(int xUser, int yUser) { player.x = xUser; player.y = yUser; player.w = PADDLE_HEIGHT; player.h = PADDLE_WIDTH; xVelocity = 0; } void Player::handle_input()//Moving via the arrow keys { if(event.type == SDL_KEYDOWN) { if(event.key.ke...
20.929825
72
0.549036
ThanosRestas
253d45d91d2763005ec18a3db3c43524029ff978
1,879
cpp
C++
belajar Queue.cpp
NurcahyaAri/Belajar-C-
abc287dc57b1cfc177db7464a930d0d6ba321cae
[ "MIT" ]
2
2017-11-13T07:25:47.000Z
2020-12-27T09:43:52.000Z
belajar Queue.cpp
NurcahyaAri/Belajar-C-
abc287dc57b1cfc177db7464a930d0d6ba321cae
[ "MIT" ]
null
null
null
belajar Queue.cpp
NurcahyaAri/Belajar-C-
abc287dc57b1cfc177db7464a930d0d6ba321cae
[ "MIT" ]
4
2017-11-13T08:35:23.000Z
2021-03-23T12:56:02.000Z
#include<iostream> #include<stdlib.h> using namespace std; bool isFull(int * data){ int j = 0; for(int i = 0; i < 3; i++){ if(data[i] != 0){ j++; } } if(j >= 3){ return true; } else{ return false; } } bool isEmpty(int *data){ int j = 0; f...
18.60396
50
0.378393
NurcahyaAri
254057b68c4b50b450be58135c6a21466d4bab0c
1,124
cc
C++
transpiler/examples/pir/pir_api.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
2,661
2021-06-14T16:27:52.000Z
2022-03-31T14:19:39.000Z
transpiler/examples/pir/pir_api.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
18
2021-06-14T17:39:02.000Z
2022-01-15T10:25:47.000Z
transpiler/examples/pir/pir_api.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
181
2021-06-14T17:05:57.000Z
2022-03-26T19:08:35.000Z
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
36.258065
78
0.735765
birdmanhub
25449c036842165226790ea4b7ebf03a70e990b1
1,038
cpp
C++
tasks/FileRW/FileRW.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
tasks/FileRW/FileRW.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
tasks/FileRW/FileRW.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <string> #include <fstream> using namespace std; int main(){ string line; fstream readfile; fstream writefile ("Test.txt"); readfile.open("Problem_Set.txt"); //writefile.open("Problem_Set_Ans.txt"); writefile.open("Test.txt"); writefile.clear(); wh...
23.590909
59
0.526975
SIP-2015
85874dfee2d7901607dfb9ad1fd80a1c09c054d6
7,643
cc
C++
llvm_sim/components/buffer_test.cc
the-eager-ghosts/EXEgesis
ca6ab91c0e1f617881a34c8e794ea37466229590
[ "Apache-2.0" ]
201
2017-05-12T05:04:55.000Z
2022-03-14T15:49:37.000Z
llvm_sim/components/buffer_test.cc
the-eager-ghosts/EXEgesis
ca6ab91c0e1f617881a34c8e794ea37466229590
[ "Apache-2.0" ]
7
2017-05-22T11:52:06.000Z
2022-02-26T16:30:46.000Z
llvm_sim/components/buffer_test.cc
the-eager-ghosts/EXEgesis
ca6ab91c0e1f617881a34c8e794ea37466229590
[ "Apache-2.0" ]
35
2017-05-16T04:00:06.000Z
2022-02-27T03:37:16.000Z
// Copyright 2018 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
29.171756
80
0.653278
the-eager-ghosts
858e5bcbf7c3dd86d2b80cf0d8587eb2a34f2acc
1,700
cc
C++
src/longest-prefix-suffix/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
src/longest-prefix-suffix/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
src/longest-prefix-suffix/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
// -*- mode: c++ -*- #include <cassert> #include <algorithm> #include <iostream> #include <iomanip> #include <iterator> #include <string> #include <vector> #include <type_traits> #include <experimental/type_traits> #include <hacks/knuth-morris-pratt.hh> using namespace std; static inline pair< size_t, size_t > se...
21.518987
67
0.490588
thinkoid
8592f29e8d7198dd9049029996d63274ee753847
104
hpp
C++
include/depth.hpp
bsamseth/ricefish
cdc574788daf174f7db4abe6e2c46ff53e17c7e2
[ "MIT" ]
null
null
null
include/depth.hpp
bsamseth/ricefish
cdc574788daf174f7db4abe6e2c46ff53e17c7e2
[ "MIT" ]
null
null
null
include/depth.hpp
bsamseth/ricefish
cdc574788daf174f7db4abe6e2c46ff53e17c7e2
[ "MIT" ]
null
null
null
#pragma once namespace ricefish::Depth { constexpr int MAX_PLY = 256; constexpr int MAX_DEPTH = 64; }
13
29
0.740385
bsamseth
8592f9a10abacbd8ef172717d6773cdd0a027e3b
624
hpp
C++
include/extents_bo.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/extents_bo.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/extents_bo.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_CORE_EXTENTS_BO_HPP_ #define BE_CORE_EXTENTS_BO_HPP_ #include "generic_extents.hpp" #include "byte_order.hpp" namespace be { namespace bo { template <typename T, typename U> struct Converter<generic_extents<T, U>> : ConvertBase<generic_extents<T, U>> { using base::in_place; static void...
20.129032
78
0.690705
magicmoremagic
8597783e20f1ed99f6460b3b46b1fb667f2d9b5d
6,513
cpp
C++
Sources/Tools/EPI/DocumentRenderer.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Tools/EPI/DocumentRenderer.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Tools/EPI/DocumentRenderer.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
38.311765
125
0.546292
benkaraban
8599a132d51f3e5c86fa4d369fd0fbd6f4f822f8
184
hpp
C++
signal-composer-binding/signal-composer-binding.hpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
signal-composer-binding/signal-composer-binding.hpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
signal-composer-binding/signal-composer-binding.hpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
#pragma once extern "C" { #define AFB_BINDING_VERSION 2 #include <afb/afb-binding.h> } void onEvent(const char *event, struct json_object *object); int loadConf(); int execConf();
15.333333
60
0.728261
iotbzh
859f7ca3d7538261edf00e0847cb0fe253ecdc0a
1,452
cpp
C++
src/utilities.cpp
ialzugaray/EventBasedVisualOdometry
776545e0970234390ef7fe4da8b55e3af7d90655
[ "MIT" ]
56
2017-07-08T14:13:54.000Z
2022-01-08T23:55:20.000Z
src/utilities.cpp
kazuotani14/EVO
fdadb3752c990f950361923a304ea2ac18464a01
[ "MIT" ]
2
2017-08-08T03:09:42.000Z
2020-12-08T07:17:47.000Z
src/utilities.cpp
kazuotani14/EventBasedVisualOdometry
fdadb3752c990f950361923a304ea2ac18464a01
[ "MIT" ]
32
2017-08-31T03:36:47.000Z
2021-04-13T11:37:46.000Z
#include "utilities.h" namespace emvs{ // TODO add option to publish to image topic for rviz void showNormalizedImage(std::string window, const cv::Mat& image, int milliseconds) { cv::Mat viz_event_image; cv::normalize(image, viz_event_image, 0, 255, cv::NORM_MINMAX); cv::imshow(window, viz_event_image); cv::wait...
29.632653
101
0.642562
ialzugaray
85aa9f6950624e88512f840c5ebb1ff8317d93bd
2,537
cc
C++
src/windows/kernel/nt/syscall/types/token_information/TOKEN_INFORMATION_IMPL.cc
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
null
null
null
src/windows/kernel/nt/syscall/types/token_information/TOKEN_INFORMATION_IMPL.cc
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
null
null
null
src/windows/kernel/nt/syscall/types/token_information/TOKEN_INFORMATION_IMPL.cc
srpape/IntroVirt
fe553221c40b8ef71f06e79c9d54d9e123a06c89
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Assured Information Security, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
37.865672
97
0.748522
srpape
85aaf863a7ef555ed0b4630c1b1355363e650217
254
cpp
C++
test.cpp
trumae/cppjsindex
fd14919421f59ad99f0b7b2649764980d5917ab1
[ "MIT" ]
null
null
null
test.cpp
trumae/cppjsindex
fd14919421f59ad99f0b7b2649764980d5917ab1
[ "MIT" ]
null
null
null
test.cpp
trumae/cppjsindex
fd14919421f59ad99f0b7b2649764980d5917ab1
[ "MIT" ]
null
null
null
#include<iostream> #include "cppjsindex.hpp" int main(int argc, char**argv) { if (argc < 2) { std::cout << "usage: test <key>" << std::endl; return 1; } std::cout << cppjsindex::index((const char *)argv[1]) << std::endl; return 0; }
18.142857
69
0.57874
trumae
85b1a4499a2f6b0d90ebc17942e621510ed9c8d4
127
cpp
C++
ImFramework/ImProperty.cpp
CoreTrackProject/ImFramework
942aeb96de45ceeb0264c678dfe3b947e7a84347
[ "MIT" ]
null
null
null
ImFramework/ImProperty.cpp
CoreTrackProject/ImFramework
942aeb96de45ceeb0264c678dfe3b947e7a84347
[ "MIT" ]
null
null
null
ImFramework/ImProperty.cpp
CoreTrackProject/ImFramework
942aeb96de45ceeb0264c678dfe3b947e7a84347
[ "MIT" ]
null
null
null
#include "ImProperty.h" std::map<std::string, std::string> ImProperty::config_data; std::string ImProperty::config_file = "";
25.4
59
0.732283
CoreTrackProject
85b6c9275d3365aa1757e9517943f86257fa63a5
1,116
cpp
C++
SegmentTrees/InversionCountForEveryElement.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
SegmentTrees/InversionCountForEveryElement.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
SegmentTrees/InversionCountForEveryElement.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define read(arr, n) for (int i = 0; i < n; i++) cin >> arr[i]; int a[100001]; int seg[400040]; int n; int vis[100001]; int merge(int a, int b) { return a + b; } void buildSeg(int x, int lx, int rx) { if (lx == rx ) { seg[x] = 0; return; } int m = (lx + rx) ...
18
72
0.487455
KaranKaira
85bc5fe7aad2c8a6878c9e34bcf4c5b75409e0b7
12,712
cpp
C++
qrgui/editor/private/portHandler.cpp
Ashatta/qreal
67a0566dece473e2ce1e3831ef4f68c6b5f1c1f0
[ "Apache-2.0" ]
1
2017-04-17T03:11:55.000Z
2017-04-17T03:11:55.000Z
qrgui/editor/private/portHandler.cpp
Ashatta/qreal
67a0566dece473e2ce1e3831ef4f68c6b5f1c1f0
[ "Apache-2.0" ]
null
null
null
qrgui/editor/private/portHandler.cpp
Ashatta/qreal
67a0566dece473e2ce1e3831ef4f68c6b5f1c1f0
[ "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...
31.387654
120
0.727423
Ashatta
85d43b13d159e6a0cdfeb8c3905f1cf446762d46
46
hpp
C++
code/temunt/interface/TemUnt/Direction.hpp
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
1
2021-08-20T08:22:18.000Z
2021-08-20T08:22:18.000Z
code/temunt/interface/TemUnt/Direction.hpp
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
code/temunt/interface/TemUnt/Direction.hpp
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
#pragma once #include "TemUnt/Direction.hxx"
11.5
31
0.76087
Angew
85e050d4719e268a4e2befa924a6beb4d979fed2
355
cpp
C++
src/timer.cpp
Alexgichamba/mpu9250-with-raspberrypi
ba9986c551b70d15ce92d92639a3a066ff5a0d9c
[ "MIT" ]
3
2021-11-14T16:23:15.000Z
2022-01-31T14:48:03.000Z
src/timer.cpp
Alexgichamba/mpu9250-with-raspberrypi
ba9986c551b70d15ce92d92639a3a066ff5a0d9c
[ "MIT" ]
null
null
null
src/timer.cpp
Alexgichamba/mpu9250-with-raspberrypi
ba9986c551b70d15ce92d92639a3a066ff5a0d9c
[ "MIT" ]
null
null
null
#include "../inc/timer.h" std::string get_time(){ //get time system_clock::time_point rawtime = system_clock::now(); time_t tt = system_clock::to_time_t ( rawtime ); std::string time_date = ctime(&tt); return time_date; } void device_wait(int time_to_wait){ std::this_thread::sleep_for(std::chr...
27.307692
73
0.692958
Alexgichamba
85e7bc62e93b0038be7366d432c80d518435eded
299
cpp
C++
1491-average-salary-excluding-the-minimum-and-maximum-salary/1491-average-salary-excluding-the-minimum-and-maximum-salary.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
1491-average-salary-excluding-the-minimum-and-maximum-salary/1491-average-salary-excluding-the-minimum-and-maximum-salary.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
1491-average-salary-excluding-the-minimum-and-maximum-salary/1491-average-salary-excluding-the-minimum-and-maximum-salary.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
class Solution { public: double average(vector<int>& salary) { int ma=INT_MIN; int mi=INT_MAX; int s=0; for(int i:salary){ ma=max(ma,i); mi=min(mi,i); s+=i; } return (double)(s-ma-mi)/(salary.size()-2); } };
21.357143
51
0.451505
dishanp
85eebde75c48acc8b9765cfd6e0ddac8ae183236
2,419
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/CPP/caseinsensitive.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/CPP/caseinsensitive.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/CPP/caseinsensitive.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// The following code example creates a case-sensitive hashtable and a case-insensitive hashtable // and demonstrates the difference in their behavior, even if both contain the same elements. // <Snippet1> using namespace System; using namespace System::Collections; using namespace System::Globalization; int ma...
43.196429
134
0.67962
hamarb123
85f27d02cde9514a0ff537d1e7cb36dbe7dbcc46
791
hpp
C++
co40_op-patchday.Altis/spec_loadout/CfgFunctions.hpp
specop0/arma_missions
6fe0a1fc90a026d372c21feec85a089ee8207103
[ "0BSD" ]
null
null
null
co40_op-patchday.Altis/spec_loadout/CfgFunctions.hpp
specop0/arma_missions
6fe0a1fc90a026d372c21feec85a089ee8207103
[ "0BSD" ]
null
null
null
co40_op-patchday.Altis/spec_loadout/CfgFunctions.hpp
specop0/arma_missions
6fe0a1fc90a026d372c21feec85a089ee8207103
[ "0BSD" ]
null
null
null
class spec_loadout { tag = "Spec"; class init { file="spec_loadout"; class addContainer {}; class addItemToContainer {}; class initLoadoutLists {}; class loadout_aaf {}; class loadout_bw_tropentarn {}; class loadout_bw_flecktarn {}; class loadout_c...
29.296296
43
0.580278
specop0
85f4f67cb8663d2c253fe8fc0d533a3f71778a1d
17,457
cpp
C++
Broken Engine/Source/ModuleSelection.cpp
WitcherProj3Game/Broken-Engine
71a261bbaaef80b27a9da94f4737fd480caf6e0d
[ "MIT" ]
5
2020-02-21T14:16:05.000Z
2021-12-01T08:01:08.000Z
Broken Engine/Source/ModuleSelection.cpp
WitcherProj3Game/Broken-Engine
71a261bbaaef80b27a9da94f4737fd480caf6e0d
[ "MIT" ]
235
2020-02-21T19:23:32.000Z
2020-06-09T16:13:46.000Z
Broken Engine/Source/ModuleSelection.cpp
Broken-Gem-Studio/Broken-Engine
71a261bbaaef80b27a9da94f4737fd480caf6e0d
[ "MIT" ]
null
null
null
#include "Application.h" #include "ModuleSelection.h" #include "ModuleCamera3D.h" #include "ModuleInput.h" #include "ModuleSceneManager.h" #include "ModuleRenderer3D.h" #include "ComponentCamera.h" #include "ResourceScene.h" #include "Optick/include/optick.h" #include "mmgr/mmgr.h" using namespace Broken; ModuleS...
25.823964
195
0.677722
WitcherProj3Game
85f53d6bd6aab3b4ddb706b9bda9194f4fc61b27
7,145
cc
C++
libspindle/io/GraphMatrixFileFactory.cc
Kumfert/Spindle
d5f2cab92c86c547efbf09fb30be9d478da04332
[ "BSD-4-Clause", "FSFAP" ]
null
null
null
libspindle/io/GraphMatrixFileFactory.cc
Kumfert/Spindle
d5f2cab92c86c547efbf09fb30be9d478da04332
[ "BSD-4-Clause", "FSFAP" ]
null
null
null
libspindle/io/GraphMatrixFileFactory.cc
Kumfert/Spindle
d5f2cab92c86c547efbf09fb30be9d478da04332
[ "BSD-4-Clause", "FSFAP" ]
1
2021-01-19T16:36:28.000Z
2021-01-19T16:36:28.000Z
// // GraphMatrixFileFactory -- a Factory class for Graph and Matrix I/O // // Gary Kumfert, Lawrence Livermore National Laboratory // /////////////////////////////////////////////////////////////////////// // #ifndef SPINDLE_SYSTEM_H_ #include "spindle/SpindleSystem.h" #endif #include "spindle/GraphMatrixFileFact...
25.427046
80
0.596221
Kumfert
85fd3b11991719b695d2da755a5dce947fc76e5e
12,057
cpp
C++
src/energyplus/ForwardTranslator/ForwardTranslateChillerElectricReformulatedEIR.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/energyplus/ForwardTranslator/ForwardTranslateChillerElectricReformulatedEIR.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/energyplus/ForwardTranslator/ForwardTranslateChillerElectricReformulatedEIR.cpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
47.845238
142
0.73816
muehleisen
c8029ca143036f09d6eba09a6bb0ef77341edb8e
42,325
cc
C++
library/src/databases/bpdb/BP-DBMySQLHelpers.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
1
2018-05-31T11:51:43.000Z
2018-05-31T11:51:43.000Z
library/src/databases/bpdb/BP-DBMySQLHelpers.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
library/src/databases/bpdb/BP-DBMySQLHelpers.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
/* * BP-DBMySQLHelpers.h * * Created on: Oct 12, 2015 * Author: root */ // include BP main #include "../../../include/BP-Main.h" // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%% Auto Load Tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // A...
26.907184
273
0.657862
jason-medeiros
c802f6e55d4e8377b140c0c064c040eea81b6a67
16,089
cpp
C++
nano_src/main.cpp
ruhulsbu/UpdateNanoX
046bf797703e12204fcfe0e6eda753eb14048079
[ "MIT" ]
null
null
null
nano_src/main.cpp
ruhulsbu/UpdateNanoX
046bf797703e12204fcfe0e6eda753eb14048079
[ "MIT" ]
null
null
null
nano_src/main.cpp
ruhulsbu/UpdateNanoX
046bf797703e12204fcfe0e6eda753eb14048079
[ "MIT" ]
null
null
null
#include "library.h" #include "constant.h" #include "global.h" #include "structure.h" #include "functions.h" /*Check global.h for the usage of these variables*/ int SINGLE = 0; int KMER = 11; int ANCHOR = 40; int MINREAD = 0; int MAXREAD = 0; int CLUSTER = 10; int CLUSTERNUMBER = 2; int ALIGNMENT_CNT = 0;...
28.476106
126
0.545714
ruhulsbu
65a4aca0bb64ae7c528272bb453252612ed3de64
52,103
cpp
C++
source/mclib/gosfx/fcurve.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mclib/gosfx/fcurve.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mclib/gosfx/fcurve.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//===========================================================================// // File: fcurve.cpp // //---------------------------------------------------------------------------// // Copyright (C) Microsoft Corporation. All rights reserved. // //=...
29.875573
491
0.63791
mechasource
65a6b4d927508d05e84045fa7a68c1e1c6c9161c
29,572
hpp
C++
include/VisionCore/Buffers/Buffer2D.hpp
lukier/vision_core
45cb1bf7b74e1e1d5aa1078494a328b317d5a368
[ "BSD-3-Clause" ]
29
2016-10-30T23:59:11.000Z
2021-11-30T12:27:40.000Z
include/VisionCore/Buffers/Buffer2D.hpp
jczarnowski/vision_core
924c53339b1d99ebb3b1e358edfaa1a4e8d3703b
[ "BSD-3-Clause" ]
2
2020-05-19T04:45:41.000Z
2021-12-07T01:32:22.000Z
include/VisionCore/Buffers/Buffer2D.hpp
lukier/vision_core
45cb1bf7b74e1e1d5aa1078494a328b317d5a368
[ "BSD-3-Clause" ]
4
2016-11-14T00:46:26.000Z
2021-06-01T08:55:11.000Z
/** * **************************************************************************** * Copyright (c) 2015, Robert Lukierski. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributi...
38.206718
201
0.624476
lukier
65a6d502d110702ff59ee4cd5f89b0d4e64697c1
810
cpp
C++
CppCourse/CppCourse/pointIntegratedApplication.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
CppCourse/CppCourse/pointIntegratedApplication.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
CppCourse/CppCourse/pointIntegratedApplication.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
// // pointIntegratedApplication.cpp // CppCourse // // Created by paramAki on 2021/11/16. // #include <iostream> using namespace std; // 冒泡排序 void bubbleSort(int * arr, int length){ for(int i = 0; i < length - 1; i++) for(int j = 0; j < length - i - 1; j++){ if(arr[j] > arr[j + 1]){ ...
19.756098
48
0.483951
paramAki
65b79a9eb22a775d779e155dc4945561670c851a
5,289
cpp
C++
nodes/all_nodes.cpp
lvorobyov/mtrc
7b85aac1c98f065ee098a441b3a30744024ef016
[ "MIT" ]
1
2021-09-19T17:51:10.000Z
2021-09-19T17:51:10.000Z
nodes/all_nodes.cpp
lvorobyov/mtrc
7b85aac1c98f065ee098a441b3a30744024ef016
[ "MIT" ]
null
null
null
nodes/all_nodes.cpp
lvorobyov/mtrc
7b85aac1c98f065ee098a441b3a30744024ef016
[ "MIT" ]
1
2021-09-19T17:51:11.000Z
2021-09-19T17:51:11.000Z
#include "all_nodes.h" unsigned char* template_call::writeCode(unsigned char* ptr) { ptr = args->writeCode(ptr); int rel = templUnit->getOffset(ptr) - 5; *ptr++ = 0xE8; *ptr++ = (unsigned char)rel; rel >>= 8; *ptr++ = (unsigned char)rel; rel >>= 8; *ptr++ = (unsigned char)rel; rel >>= 8; *ptr++ = (unsigned c...
22.797414
62
0.524485
lvorobyov
65ba1cdc9cf000fd51399af5ea9bdb0db3c72d89
377
cpp
C++
outside class implementation.cpp
Adarsh1999/lorem-ipsum.cpp-
07d2e4b069c4b0f7ccc4726667be851df934c2ed
[ "MIT" ]
1
2018-09-23T13:28:21.000Z
2018-09-23T13:28:21.000Z
outside class implementation.cpp
Adarsh1999/lorem-ipsum.cpp-
07d2e4b069c4b0f7ccc4726667be851df934c2ed
[ "MIT" ]
null
null
null
outside class implementation.cpp
Adarsh1999/lorem-ipsum.cpp-
07d2e4b069c4b0f7ccc4726667be851df934c2ed
[ "MIT" ]
3
2018-09-30T15:44:06.000Z
2018-10-04T13:18:25.000Z
#include <iostream> using namespace std; class sample { int no; public: void input(); void output(); }; void sample :: input(){ cin>> no; } void sample :: output() { cout<<"no = "<< no <<endl; } int main() { sample s1; ...
10.771429
40
0.400531
Adarsh1999
65bdb58eeb96ce4ed0205957063bfa211358e937
1,834
cpp
C++
Source/KK1Editor/KK1AssetEditor.cpp
4roring/KK1Action
742a0e869500dae48a6862415bce59bb6dc5c45d
[ "MIT" ]
null
null
null
Source/KK1Editor/KK1AssetEditor.cpp
4roring/KK1Action
742a0e869500dae48a6862415bce59bb6dc5c45d
[ "MIT" ]
null
null
null
Source/KK1Editor/KK1AssetEditor.cpp
4roring/KK1Action
742a0e869500dae48a6862415bce59bb6dc5c45d
[ "MIT" ]
null
null
null
#include "KK1AssetEditor.h" #include "KK1Action/KK1Asset.h" const FName FKK1AssetEditor::KK1EditorAppIdentifier = FName(TEXT("KK1AssetEditorApp")); #define LOCTEXT_NAMESPACE "KK1Editor" FKK1AssetEditor::~FKK1AssetEditor(void) { } void FKK1AssetEditor::InitKK1AssetEditor(const EToolkitMode::Type Mode, const TSharedP...
27.373134
171
0.791712
4roring
65c0cf5256db9d898ff22bda1083656c65da33fa
1,309
cpp
C++
library/cgp/helper_common_scene/scene_environment_basic/scene_environment_basic.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
null
null
null
library/cgp/helper_common_scene/scene_environment_basic/scene_environment_basic.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
2
2022-03-03T16:34:03.000Z
2022-03-20T13:08:56.000Z
library/cgp/helper_common_scene/scene_environment_basic/scene_environment_basic.cpp
drohmer/CGP
3e7651649320d0bff19394ecd9546e872802c3e7
[ "MIT" ]
null
null
null
#include "scene_environment_basic.hpp" #include "cgp/base/base.hpp" #include "cgp/display/display.hpp" namespace cgp { scene_environment_basic::scene_environment_basic() { background_color = { 1,1,1 }; camera.look_at({ 3,1,2 }, { 0,0,0.0 }, { 0,0,1 }); light = { 1,1,1 }; projection = camera_...
31.166667
104
0.705882
drohmer
65c9ce702cd96e5e6fd6226d5eb21335f404ad93
2,500
cpp
C++
source/toy/path/Browser.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
source/toy/path/Browser.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
source/toy/path/Browser.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#include "toy/Boost.hpp" #include "toy/Utf.hpp" #include "toy/math/SafeInt.hpp" #include "toy/path/Status.hpp" #include "toy/path/Browser.hpp" namespace toy{ namespace path{ #ifdef TOY_WINDOWS static inline auto StrToPath(const std::string &str)->boost::filesystem::path { return toy::utf::UTF8ToWChar(str); } s...
18.796992
101
0.6792
ToyAuthor
65cff20dbc04bd8e8aef743cae322df51e530a54
34,062
cpp
C++
tests/main.cpp
semlanik/microjson
0d9f50e407cd117e56582faf0d99bfececc1b6ea
[ "MIT" ]
null
null
null
tests/main.cpp
semlanik/microjson
0d9f50e407cd117e56582faf0d99bfececc1b6ea
[ "MIT" ]
null
null
null
tests/main.cpp
semlanik/microjson
0d9f50e407cd117e56582faf0d99bfececc1b6ea
[ "MIT" ]
null
null
null
#include "microjson.h" #include <iostream> #include <string.h> #include <gtest/gtest.h> class MicrojsonDeserializationTest : public ::testing::Test { public: MicrojsonDeserializationTest() = default; }; TEST_F(MicrojsonDeserializationTest, StringValue) { const char *buffer1 = "{\"testField\":\"test\"}"; ...
41.088058
367
0.6322
semlanik
65d02123d6505ce84729879109744a8e14f22618
671
cpp
C++
test/unit-tests/event/controller/controller_device_event_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
14
2020-05-17T21:38:03.000Z
2020-11-21T00:16:25.000Z
test/unit-tests/event/controller/controller_device_event_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
70
2020-04-26T17:08:52.000Z
2020-11-21T17:34:03.000Z
test/unit-tests/event/controller/controller_device_event_test.cpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "centurion/event.hpp" TEST(ControllerDeviceEvent, Defaults) { const cen::controller_device_event event; ASSERT_EQ(cen::event_type::controller_device_added, event.type()); } TEST(ControllerDeviceEvent, SetWhich) { cen::controller_device_event event; const cen::int32 which = ...
23.137931
71
0.76006
Creeperface01
65d238cf009f054ba5931ff482ba523bb4e876e7
7,972
cpp
C++
SceneManager.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
SceneManager.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
SceneManager.cpp
soleilgames/Zinc
af34cd2698a8d392d266802a67b4607df6a79033
[ "MIT" ]
null
null
null
#include <limits> #include <memory> #include "SceneManager.h" #include "Logger.h" #include "Utils.h" #include <functional> #include <osg/ComputeBoundsVisitor> #include <osg/Drawable> #include <osg/MatrixTransform> #include <osg/ShapeDrawable> #include <osgUtil/IntersectionVisitor> #include <osgUtil/LineSegmentInter...
31.140625
80
0.630457
soleilgames
65d55b03cff5aab91ebbe69451cb7b09da1c03b8
2,399
cpp
C++
src/AntiChattering.cpp
ShunHattori/Controller-ver1.0
1c2ba4363f46ca7fa6755ce9a210d789c5c81084
[ "MIT" ]
null
null
null
src/AntiChattering.cpp
ShunHattori/Controller-ver1.0
1c2ba4363f46ca7fa6755ce9a210d789c5c81084
[ "MIT" ]
null
null
null
src/AntiChattering.cpp
ShunHattori/Controller-ver1.0
1c2ba4363f46ca7fa6755ce9a210d789c5c81084
[ "MIT" ]
null
null
null
#include "AntiChattering.hpp" AntiChattering::AntiChattering(SwitchPropaties SWITCH_PROPS_) : SWITCH_PROPS(SWITCH_PROPS_), sampled_time(millis()), detect_flag_number(3), analog_detect_value(analog_switch_threshold), //10 bit sampling_period(5), button_state(0), is_enable_updatin...
20.330508
73
0.588579
ShunHattori
65da5649c59152e572707e291ca374301eb4600c
2,807
inl
C++
src/libdat/io.inl
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
src/libdat/io.inl
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libdat/io.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
22.277778
73
0.702529
transpixel
65de2499449fcc65533afc1a5cea0538915c4601
1,391
hpp
C++
src/librapid/array/cwisebinop.hpp
NervousNullPtr/librapid
2a8f4baccf479138097d5b4ee9e6e060ecab55db
[ "MIT" ]
null
null
null
src/librapid/array/cwisebinop.hpp
NervousNullPtr/librapid
2a8f4baccf479138097d5b4ee9e6e060ecab55db
[ "MIT" ]
null
null
null
src/librapid/array/cwisebinop.hpp
NervousNullPtr/librapid
2a8f4baccf479138097d5b4ee9e6e060ecab55db
[ "MIT" ]
null
null
null
#pragma once #include "../internal/config.hpp" #include "../internal/forward.hpp" #include "arrayBase.hpp" namespace librapid { namespace internal { template<typename Binop, typename LHS, typename RHS> struct traits<binop::CWiseBinop<Binop, LHS, RHS>> { using Scalar = typename Binop::RetType; using Packe...
33.926829
79
0.725377
NervousNullPtr
65e4864a2d61905285927dc316f927c7d7f22ec8
1,184
cpp
C++
DP/digitBFS.cpp
Rodp63/CP
3fb14cab2cf340a183a77e978029147f59269020
[ "MIT" ]
null
null
null
DP/digitBFS.cpp
Rodp63/CP
3fb14cab2cf340a183a77e978029147f59269020
[ "MIT" ]
null
null
null
DP/digitBFS.cpp
Rodp63/CP
3fb14cab2cf340a183a77e978029147f59269020
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> #include <queue> #include <algorithm> #include <set> #include <math.h> #include <string> #include <iomanip> using namespace std; #define PRINT(x) cout<<x<<endl; #define FORN(i,m,n) for(int i=m; i<n; i++) #define PRINTVEC(v) FORN(i,0,v.size()) cout<<v[i]<<" "; cout<...
22.769231
66
0.612331
Rodp63
65e8a167109badb579538bcc99f752ca8e100d0e
11,663
cpp
C++
src/core/environ/ui/XP3RepackForm.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
22
2020-01-14T19:19:05.000Z
2021-09-11T14:06:56.000Z
src/core/environ/ui/XP3RepackForm.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
3
2020-06-07T16:28:26.000Z
2021-11-11T09:31:27.000Z
src/core/environ/ui/XP3RepackForm.cpp
A29586a/Kirikiroid2
7871cf9b393453f4b8c8b6f0e6ac1f3c24cdcf7f
[ "BSD-3-Clause" ]
6
2020-10-11T13:36:56.000Z
2021-11-13T06:32:14.000Z
#include "XP3RepackForm.h" #include "StorageImpl.h" #include "cocos2d/MainScene.h" #include "PreferenceForm.h" #include "ConfigManager/LocaleConfigManager.h" #include "XP3ArchiveRepack.h" #include "ui/UIListView.h" #include "ui/UILoadingBar.h" #include "ui/UIText.h" #include "ui/UIButton.h" #include "ui/UICheckBox.h" #...
33.708092
118
0.730601
A29586a
65ecb52ae536d192ed4680c19e9f211075b1bf1b
818
hpp
C++
libraries/chain/include/eosio/chain/eosio_contract.hpp
pizzachain/pizchain
ba51553e46521ca7b265d7045d678312a32f8140
[ "MIT" ]
null
null
null
libraries/chain/include/eosio/chain/eosio_contract.hpp
pizzachain/pizchain
ba51553e46521ca7b265d7045d678312a32f8140
[ "MIT" ]
null
null
null
libraries/chain/include/eosio/chain/eosio_contract.hpp
pizzachain/pizchain
ba51553e46521ca7b265d7045d678312a32f8140
[ "MIT" ]
null
null
null
#pragma once #include <eosio/chain/types.hpp> #include <eosio/chain/contract_types.hpp> namespace eosio { namespace chain { class apply_context; /** * @defgroup native_action_handlers Native Action Handlers */ ///@{ void apply_piz_newaccount(apply_context&); void apply_piz_updateauth(apply_co...
24.787879
61
0.740831
pizzachain
65eed62352cd3c1e4e048818b987eaff098344aa
3,747
cpp
C++
src/libtego_ui/shims/ContactUser.cpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
1
2019-06-10T11:05:15.000Z
2019-06-10T11:05:15.000Z
src/libtego_ui/shims/ContactUser.cpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
null
null
null
src/libtego_ui/shims/ContactUser.cpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
null
null
null
#include "UserIdentity.h" #include "ContactUser.h" #include "ConversationModel.h" #include "OutgoingContactRequest.h" // TODO: wire up the slots in here, figure out how to properly wire up unread count, status change // populating the contacts manager on boot, keeping libtego's internal contacts synced with frontend's...
29.273438
159
0.620763
blueprint-freespeech
65f0d40b7c83c11b6dcea09deff310945af46cda
3,335
cpp
C++
source/Reeval/MMASib_runtime.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
source/Reeval/MMASib_runtime.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
source/Reeval/MMASib_runtime.cpp
fq00/noisyLandscapes
5866a6f523e4e99f9b1ab68b08b2443821ec10dd
[ "MIT" ]
null
null
null
// // MMASib_runtime.cpp // Reeval // // Created by Francesco Quinzan on 04.01.16. // Copyright © 2016 Francesco Quinzan. All rights reserved. // #include "MMASib_runtime.hpp" void MMASib_runtime::runtime(int seed){ double rho = 0.04; int ants = 7; randomEngine::set_seed(1); ...
30.045045
113
0.576012
fq00
65f132bd6b4273bc2f5fd3d0b38cd4c8331a9afc
4,659
cxx
C++
source/Engine/source/Core.Rendering/MaterialRenderer.cxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
source/Engine/source/Core.Rendering/MaterialRenderer.cxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
source/Engine/source/Core.Rendering/MaterialRenderer.cxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
// // Copyright (C) Selmentdev, 2017 // // See LICENSE file in the project root for full license information. // #include <Core.Rendering/MaterialRenderer.hxx> #include <Core.Rendering/RenderSystem.hxx> #include <Core/FileSystem.hxx> namespace Core::Rendering { MaterialRenderer::MaterialRenderer(const std::...
33.278571
127
0.635329
selmentdev
65f1964cc7e79c8919f49abe5a33cab166f47497
5,209
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/trajectory_waypoint__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/trajectory_waypoint__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/trajectory_waypoint__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em // with input from rmf_traffic_msgs:msg/TrajectoryWaypoint.idl // generated code does not contain a copyright notice #ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__TRAJECTORY_WAYPOINT__STRUCT_HPP_ #define RMF_TRAFFIC_MSGS__MSG__DETAIL__TRAJECTORY_WAYPOINT__STR...
32.55625
163
0.746976
flitzmo-hso
5a009b316eb9da1986f4a983e28d0fd60432dc82
773
hpp
C++
Axis.CommonLibrary/application/jobs/monitoring/Probe.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/application/jobs/monitoring/Probe.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/application/jobs/monitoring/Probe.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/Axis.CommonLibrary.hpp" #include "services/messaging/ResultMessage.hpp" namespace axis { namespace application { namespace jobs { namespace monitoring { class AXISCOMMONLIBRARY_API Probe { public: Probe(void); virtual ~Probe(void); virtual void Destroy(void) const = 0; virtua...
30.92
103
0.760673
renato-yuzup
5a042127b2af1769f420c1b8ecb346c19608dbd6
1,390
cpp
C++
Well known algorithms/Longest common subsequence/lcs.cpp
Maxikq/Algorithms
cd76ca2f02ccd1d4e5b014373f6da5deb054ee93
[ "MIT" ]
2
2015-02-21T13:31:05.000Z
2016-04-05T07:54:04.000Z
Well known algorithms/Longest common subsequence/lcs.cpp
wojciech-kulik/Algorithms
cd76ca2f02ccd1d4e5b014373f6da5deb054ee93
[ "MIT" ]
null
null
null
Well known algorithms/Longest common subsequence/lcs.cpp
wojciech-kulik/Algorithms
cd76ca2f02ccd1d4e5b014373f6da5deb054ee93
[ "MIT" ]
1
2018-05-19T12:33:37.000Z
2018-05-19T12:33:37.000Z
#include <iostream> #include <string> using namespace std; struct Field { char c; int length; Field * previous; }; int main() { //get strings string s1, s2; cin >> s1; cin >> s2; //get lengths int len1 = s1.length(); int len2 = s2.length(); //init array Field ** lcs = new Field*[len1 + 1]; for (int i...
18.051948
66
0.528058
Maxikq
5a060b57ac3493adb8978f4f6c571394dbe6f826
1,623
hpp
C++
dijkstra_sp.hpp
pandaant/graphcpp
f13a8cab292b919de5619f23f905c10393b5c968
[ "MIT" ]
null
null
null
dijkstra_sp.hpp
pandaant/graphcpp
f13a8cab292b919de5619f23f905c10393b5c968
[ "MIT" ]
null
null
null
dijkstra_sp.hpp
pandaant/graphcpp
f13a8cab292b919de5619f23f905c10393b5c968
[ "MIT" ]
1
2020-06-23T15:26:09.000Z
2020-06-23T15:26:09.000Z
#ifndef DIJKSTRA_HPP #define DIJKSTRA_HPP #include <algorithm> #define dijk_undefined ((idx_t) - 1) double dijkstra_sp(graph_t &graph, vector<idx_t> &tour, idx_t source, idx_t destination, unsigned weight_idx = 0) { edge e; edge_c edges; idx_t num_visited = 0, num_vertices = graph.size(), cu...
27.05
75
0.616759
pandaant
5a08818dcc51c6398e9fca8960ef2027df4fb8b8
1,820
cpp
C++
dataset/test/modification/1526_all/26/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1526_all/26/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1526_all/26/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define scnf(n) scanf("%d",&n) #define lscnf(n) scanf("%lld",&n) #define dscnf(n) scanf("%Lf",&n) #define prin(n) printf("%d ",n) #define lprin(n) printf("%lld ",n) #define dprin(n) printf("...
21.162791
67
0.458242
Karina5005
5a08a1cfef7430ee476fc808d0a0276a0850c809
2,425
cpp
C++
demoGL/main.cpp
targodan/gameProgramming
5c0b36bee271dca65636d0317324a2bb786613f0
[ "MIT" ]
1
2019-07-14T11:32:30.000Z
2019-07-14T11:32:30.000Z
demoGL/main.cpp
targodan/gameProgramming
5c0b36bee271dca65636d0317324a2bb786613f0
[ "MIT" ]
null
null
null
demoGL/main.cpp
targodan/gameProgramming
5c0b36bee271dca65636d0317324a2bb786613f0
[ "MIT" ]
null
null
null
#include "gl_core_3_3.h" #include <glm/glm.hpp> #include <glm/ext.hpp> #include <glm/gtc/matrix_transform.hpp> #include <GLFW/glfw3.h> #include <iostream> using namespace std; using namespace gl; #define DEBUG 0 glm::mat4 createFrustum(float phi, float aspectRatio, float near, float far) { // float whereeeveer you a...
25
108
0.649072
targodan
5a096eccb0b6a2cde662e40b8193c1baab40c56c
1,475
cpp
C++
source/ast/identifier.cpp
k1r0d3v/lambda
3db2e5895dd19f1111845b6f47840b6f9eff3c36
[ "MIT" ]
null
null
null
source/ast/identifier.cpp
k1r0d3v/lambda
3db2e5895dd19f1111845b6f47840b6f9eff3c36
[ "MIT" ]
null
null
null
source/ast/identifier.cpp
k1r0d3v/lambda
3db2e5895dd19f1111845b6f47840b6f9eff3c36
[ "MIT" ]
null
null
null
#include <ast/node_kind.hpp> #include <ast/identifier.hpp> #include <ast/context.hpp> #include <ast/exception.hpp> #include <ast/node_visitor.hpp> using namespace ast; Identifier::Identifier(string name) : Pattern(NodeKind::Identifier), mName(std::move(name)) { } Pattern::MatchIdenfiers Identifier::matchIdenti...
23.412698
111
0.706441
k1r0d3v
5a0a05b4d684bd5a3a035e7ab2930764ead58936
3,735
hpp
C++
includes/eeros/task/Periodic.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
10
2015-02-17T15:27:50.000Z
2021-12-10T08:34:13.000Z
includes/eeros/task/Periodic.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
6
2016-05-10T17:11:09.000Z
2022-03-31T07:52:11.000Z
includes/eeros/task/Periodic.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
13
2016-05-01T09:56:51.000Z
2022-03-28T09:27:49.000Z
#ifndef ORG_EEROS_TASK_PERIODIC_HPP_ #define ORG_EEROS_TASK_PERIODIC_HPP_ #include <vector> #include <functional> #include <eeros/core/Runnable.hpp> #include <eeros/core/PeriodicCounter.hpp> namespace eeros { namespace task { /** * A periodic is used to be run by the @ref Executor. * All periodics must be harmon...
26.302817
104
0.662918
ClaudiaVisentin
5a0b9ac468035e3c8824fa84c5a825da48b108b5
3,922
cpp
C++
listsort/list.cpp
s3666874/cpt323_a2
6bf0acab5f5937a986c7a4248d8a1801858f8dc0
[ "MIT" ]
null
null
null
listsort/list.cpp
s3666874/cpt323_a2
6bf0acab5f5937a986c7a4248d8a1801858f8dc0
[ "MIT" ]
null
null
null
listsort/list.cpp
s3666874/cpt323_a2
6bf0acab5f5937a986c7a4248d8a1801858f8dc0
[ "MIT" ]
null
null
null
#include "list.h" void cpt323::list::node::set_next(std::unique_ptr<node>&& newnext) { next = std::move(newnext); } cpt323::list::list::list(void) : head(nullptr), num_elts(0) { } void cpt323::list::list::add(const std::string& newstr) { static node* tail = nullptr; if (tail) { ...
25.467532
88
0.445181
s3666874
5a0dcd6b3303d414a69a10ca4f6dd1736df65e24
777
cc
C++
tests/fsm_test/test_recursive.cc
GameVTeam/fsm
9fa20f4571da1b54827a962456108eb01af0a07c
[ "MIT" ]
1
2020-05-10T11:37:57.000Z
2020-05-10T11:37:57.000Z
tests/fsm_test/test_recursive.cc
GameVTeam/fsm
9fa20f4571da1b54827a962456108eb01af0a07c
[ "MIT" ]
null
null
null
tests/fsm_test/test_recursive.cc
GameVTeam/fsm
9fa20f4571da1b54827a962456108eb01af0a07c
[ "MIT" ]
null
null
null
// // Created by fanghr on 2020/5/10. // #include "fsm_test.h" namespace { class StateMachine : public fsm::FSM<StateMachine> { friend class FSM; public: enum States { kInit, kExit }; using Event = int; void DispatchEvent(const Event &event) { Dispatch(event + 1); } private: using TransitionTable =...
23.545455
93
0.725869
GameVTeam