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
e6561561ff1441ce3424dcc2ce02511e2e8d0c9c
757
cc
C++
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
8
2016-06-12T08:06:46.000Z
2018-04-11T20:34:50.000Z
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
null
null
null
ps-lite/guide/example_d.cc
CNevd/SVDFeature
2ac6d94e8b885d4f36178ab544f1c605c22656e8
[ "Apache-2.0" ]
9
2016-08-01T05:58:28.000Z
2020-05-06T11:09:53.000Z
#include "ps.h" typedef float Val; DEFINE_int32(nt, 1, "num of server threads"); int CreateServerNode(int argc, char *argv[]) { ps::OnlineServer<Val> server(ps::IOnlineHandle<Val>(), 1, FLAGS_nt); return 0; } int WorkerNodeMain(int argc, char *argv[]) { using namespace ps; int n = 1000000; auto key = std:...
25.233333
70
0.630119
CNevd
e65e16c48f7fd9ad68a9176a47e4333fa2b20780
8,098
cpp
C++
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
src/FMILP.cpp
KohlbacherLab/libgrbfrc
068bb77941d101d3864702db04afa5df6b9a4579
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <cmath> #include "CharnesCooper.hpp" #include "Dinkelbach.hpp" #include "YGGY.hpp" #include "FMILP.hpp" namespace grbfrc { FMILP::FMILP(GRBEnv& env, GRBLinExpr objNumerator, GRBLinExpr objDenominator, int objSense...
25.071207
102
0.602371
KohlbacherLab
e65e64412899cc51eff7f71926b4944f7b717f37
66,428
cpp
C++
Util/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
5
2020-06-30T05:06:40.000Z
2021-05-24T08:38:33.000Z
Util/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
null
null
null
Util/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
2
2015-10-01T18:28:20.000Z
2020-09-09T16:25:27.000Z
//===- PPCRegisterInfo.cpp - PowerPC Register Information -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
38.024041
80
0.637126
ianloic
e660afeb2dec147f02b43842d7a6ca6fa7b8366e
6,739
cpp
C++
Tools/Tools/record-memory-win/main.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Tools/Tools/record-memory-win/main.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Tools/Tools/record-memory-win/main.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
#include <windows.h> #include <assert.h> #include <psapi.h> #include <stdio.h> #include <tchar.h> #include <time.h> #include "Shlwapi.h" #pragma comment(lib, "psapi.lib") #pragma comment(lib, "shlwapi.lib") bool gSingleProcess = true; int gQueryInterval = 5; // seconds time_t gDuration = 0; // seconds ...
35.845745
118
0.589405
VincentWei
e662ea83482d29724f2bd177093ab2d257bbff8a
4,185
cpp
C++
private/shell/ext/systray/dll/stobject.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/systray/dll/stobject.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/systray/dll/stobject.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
#include "stdafx.h" #include "stobject.h" extern "C" int PASCAL SysTrayMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow); extern "C" const TCHAR g_szWindowClassName[]; /************************************************************************************ IUnknown Implement...
25.210843
122
0.507049
King0987654
e666d0e98ccec9274120bbefe284ad1d6224d4a3
2,194
cpp
C++
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
8
2018-07-29T17:17:22.000Z
2021-11-23T02:45:54.000Z
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
68
2018-04-20T16:38:10.000Z
2019-01-04T19:32:38.000Z
src/LuaPlugins/LuaPluginHandler.cpp
GiantCrocodile/MCHawk
495d0519ed8d9d88d050e9dfcbb026d43aa7d3ff
[ "MIT" ]
4
2018-08-19T00:03:42.000Z
2021-07-13T16:56:05.000Z
#include "LuaPluginHandler.hpp" #include "LuaPluginAPI.hpp" #include <iostream> lua_State* LuaPluginHandler::L = nullptr; LuaPluginHandler::LuaPluginHandler() { Init(); } LuaPluginHandler::~LuaPluginHandler() { Cleanup(); } void LuaPluginHandler::Init() { L = luaL_newstate(); assert(L != nullptr); luaL_op...
18.59322
105
0.704193
GiantCrocodile
e673f66218dba5f03459dc4447ab2cafb83ff7c1
4,405
cpp
C++
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
lib/door/utils.cpp
robyu/door
8892fb8cb1f6aa55cca7fa5d04507971115400f2
[ "MIT" ]
null
null
null
#include <stdarg.h> #include <stdlib.h> #include <Arduino.h> #include <limits.h> #include "gpio_pins.h" #include "utils.h" /* reset the esp8266 also make sure to pull D3 and D0 high and D8 pull down see https://github.com/esp8266/Arduino/issues/1017 */ void utils_restart(void) { delay(500); ESP.restart...
23.940217
124
0.609762
robyu
e674401b9653f9b61ee6a01ef7e421a7f4ceb02a
268
cpp
C++
clang/test/Refactor/LocalRename/Field.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/Refactor/LocalRename/Field.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/Refactor/LocalRename/Field.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- | grep -v CHECK | FileCheck %s class Baz { int /*range=*/Foo; // CHECK: int /*range=*/Bar; public: Baz(); }; Baz::Baz() : /*range=*/Foo(0) {} // CHECK: Baz::Baz() : /*range=*/Bar(0) {}
22.333333
105
0.563433
medismailben
e67a970382a73baf94e8b29adccc21962818f947
1,661
cpp
C++
LeetCode/C++/General/Easy/GoatLatin/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/GoatLatin/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/GoatLatin/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <sstream> using namespace std; /* * Approach: follow the rules of goat latin provided below * * The rules of Goat Latin are as follows If a word begins with a vowel (a, e, i, o, or u), append "ma" to the end of the word. For example, the word 'apple' becomes '...
19.77381
122
0.545455
busebd12
e67b7a3ed7d58ac2d1b56263b10e099ca46e4cbc
24,954
cc
C++
dsmeLayer/messageDispatcher/MessageDispatcher.cc
sqf-ice/openDSME
2deeaa670136556517c49870ab0bd428f42b7a7a
[ "BSD-3-Clause" ]
null
null
null
dsmeLayer/messageDispatcher/MessageDispatcher.cc
sqf-ice/openDSME
2deeaa670136556517c49870ab0bd428f42b7a7a
[ "BSD-3-Clause" ]
null
null
null
dsmeLayer/messageDispatcher/MessageDispatcher.cc
sqf-ice/openDSME
2deeaa670136556517c49870ab0bd428f42b7a7a
[ "BSD-3-Clause" ]
1
2021-06-26T06:33:41.000Z
2021-06-26T06:33:41.000Z
/* * openDSME * * Implementation of the Deterministic & Synchronous Multi-channel Extension (DSME) * described in the IEEE 802.15.4-2015 standard * * Authors: Florian Kauer <florian.kauer@tuhh.de> * Maximilian Koestler <maximilian.koestler@tuhh.de> * Sandrina Backhauss <sandrina.backhauss@tuhh...
44.010582
165
0.621463
sqf-ice
e68128e1ee6ef3659e28c5e3098c6c928d81fe97
2,484
cxx
C++
gastpc/psreco/NeutrinoEnergy.cxx
LBNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
3
2016-04-13T12:14:53.000Z
2017-03-28T22:46:03.000Z
gastpc/psreco/NeutrinoEnergy.cxx
DUNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
null
null
null
gastpc/psreco/NeutrinoEnergy.cxx
DUNE/wp1-neardetector
729c30532670679b7c87131ec70b4141d04a3ede
[ "BSD-3-Clause" ]
1
2015-03-03T10:32:47.000Z
2015-03-03T10:32:47.000Z
// ------------------------------------------------------------------- /// \file NeutrinoEnergy.cxx /// \brief /// /// \author <justo.martin-albo@physics.ox.ac.uk> /// \date Creation: 21 Feb 2017 // ------------------------------------------------------------------- #include "NeutrinoEnergy.h" #include "MCGenIn...
25.608247
101
0.638486
LBNE
e6846dfa782c1192b7fd803f4d28908922313f6b
1,222
cpp
C++
src/mayaToCorona/src/shaders/TestShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToCorona/src/shaders/TestShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToCorona/src/shaders/TestShader.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "TestShader.h" MTypeId TestShader::id(0x81000); void TestShader::postConstructor() { setMPSafe(true); } MObject TestShader::aColor; MObject TestShader::aOutColor; TestShader::TestShader(){} TestShader::~TestShader(){} void* TestShader::creator() { return new TestShader(); } MStatus TestShader::initia...
20.711864
69
0.731588
haggi
e687ad1ca9524ae5ad13e11e2a854149310d8744
726
cpp
C++
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
framework/src/platform/windows/network/windows_socket_api.cpp
jesseroffel/Rakas
1bb7200f43c1a3cf5ffb7d27c200cc97717c9d8f
[ "MIT" ]
null
null
null
#include "sampo_pch.hpp" #include "platform/windows/network/windows_socket_api.hpp" #include <WinSock2.h> namespace Sampo { void WindowsSocketAPI::Init() { WSADATA startupResultData; int error = WSAStartup(MAKEWORD(2, 2), &startupResultData); if (error != 0) { SAMP...
22
79
0.535813
jesseroffel
e689ae5c2e118018376af25033897d7b771220b3
1,261
cpp
C++
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/unit/memory/utility/allocator.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
35.027778
80
0.559873
psiha
e68d8d80fd2ef5c4213afd8d966f4d905ea98169
1,962
cpp
C++
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
day3/3b.cpp
ympek/aoc2021
54a1c60273907183afdcf716b1eed1dc24024b29
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> #include <bitset> #include <algorithm> constexpr int BIT_COUNT = 12; enum RatingType { OXYGEN_RATING, CO2_RATING }; int calculateNumberOfOnesAtColumn(std::vector<std::string>& bitsets, int columnIndex) { int result = 0; for (auto& bse...
24.222222
90
0.616718
ympek
e68dfc1d775b77a2be6b347fa2224175c93b64f7
853
cpp
C++
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
Codeforces/Edu Codeforces Round 100 (div2)/A.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
21.871795
46
0.621336
python-programmer1512
e6945f88d0f7b5316ca794741eae10f8494740cf
383
cpp
C++
HackerRank/Algorithms/Implementation/Find Digits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
HackerRank/Algorithms/Implementation/Find Digits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
HackerRank/Algorithms/Implementation/Find Digits.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> using namespace std; int divisors(int n){ int count=0; int num = n; while(n>0){ int digit = n%10; if(digit!=0 && num%digit==0){ count++; } n=n/10; } return count; } int main(){ int t; cin>>t; while(t--){ ...
16.652174
38
0.428198
Ashwanigupta9125
e694da08754a7e9fe2f91053a5d44cdfc8f09b42
4,303
cpp
C++
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
1
2020-07-02T13:13:36.000Z
2020-07-02T13:13:36.000Z
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
null
null
null
src/main.cpp
vaefremov/otus_hw_09
de6c0634f344179a0a40b20f276ea08190059b5e
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <ostream> #include <cstdlib> #include <string> #include <vector> #include <algorithm> #include <boost/program_options.hpp> #include "files_comparator.h" #include "scanner.h" namespace po = boost::program_options; using str_vector=std::vector<std::string>; size_t const DEFAULT_BLOCK_SZ = ...
33.356589
118
0.571462
vaefremov
e69cba15c43aff44e72649283e229b1050cb163b
1,052
cpp
C++
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
test/common.cpp
mark-grimes/Palgo
c9ef617f71c10575f035ccee97f445c6d9baccca
[ "Apache-2.0" ]
null
null
null
#include "common.h" #include <random> // // Unnamed namespace for things only used in this file // namespace { /** @brief a global pseudo-random number generator so that I don't have repeats of number sequences * * Gets set in the first call to "nextRandomNumber". */ std::function<float()> globalRandomGenerator;...
23.377778
100
0.686312
mark-grimes
e6a2197b7e42dadfdb3816dbdad9d88dd303f1c2
2,047
cpp
C++
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
1
2021-07-16T18:17:24.000Z
2021-07-16T18:17:24.000Z
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
test/kumi/map.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
//================================================================================================== /** RABERU - Fancy Parameters Library Copyright : RABERU Contributors & Maintainers SPDX-License-Identifier: MIT **/ //==============================================================================================...
28.830986
100
0.514411
kitegi
e6a3c7dbac938d5541069a0df784319199747752
8,566
cc
C++
hoomd/md/ActiveForceComputeGPU.cc
jglaser/hoomd-blue
c21ae2b48314dcb7ac03fc1b23baf70879cc6709
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/ActiveForceComputeGPU.cc
jglaser/hoomd-blue
c21ae2b48314dcb7ac03fc1b23baf70879cc6709
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/ActiveForceComputeGPU.cc
jglaser/hoomd-blue
c21ae2b48314dcb7ac03fc1b23baf70879cc6709
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2021 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: joaander #include "ActiveForceComputeGPU.h" #include "ActiveForceComputeGPU.cuh" #include <vector> namespace py = pybind11; using namespace std...
46.053763
214
0.574714
jglaser
e6a4453a4a7f687ba271e8577e9b8498ab986ffb
7,380
cpp
C++
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
15
2015-11-10T10:39:53.000Z
2022-03-29T07:07:53.000Z
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2015-10-23T12:18:45.000Z
2019-07-02T09:55:46.000Z
flir_lepton_image_processing/src/utils/parameters.cpp
angetria/flir_lepton_rpi2
46b1de815e2bfb752954fb2c3648d416f56e6c93
[ "BSD-3-Clause" ]
6
2017-04-13T12:28:38.000Z
2019-07-03T21:58:51.000Z
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2015, P.A.N.D.O.R.A. Team. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
39.891892
81
0.702981
angetria
e6a549ac9e60654755928fbf79dec92943890818
16,051
cpp
C++
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/X509Certificates/mscorlib_System_Security_Cryptography_X509Certificates_X509Certificate_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Security.Cryptography.X509Certificates // Name: X509Certificate // C++ Typed Name: mscorlib::System::Security::Cryptography::X509Certificates::X509Certificate #include <gtest/gtest.h> #...
34.151064
226
0.722323
brunolauze
e6a6096dc9c35918ce09bdd653dc04af88d9c0ac
4,250
cpp
C++
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/CrazyComponents.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; bool done[50][1<<15]; double dp[50][1<<15]; int N; vector<int> I, E, M; double go(int k, int have) { if (k == -1) return 0.0;...
48.850575
558
0.571529
ibudiselic
e6a799067dc2efa0333720915a68138f7731ed44
669
hpp
C++
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
src/cpp/Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr_fast.hpp
rtajan/eirballoon
0eded8f86174a9e5ed38297fa26c7f5a53b5ea53
[ "MIT" ]
null
null
null
#ifndef FILTER_FIR_CCR_FAST_HPP #define FILTER_FIR_CCR_FAST_HPP #include <vector> #include <complex> #include "Module/Filter/Filter_FIR/Filter_FIR_ccr/Filter_FIR_ccr.hpp" namespace aff3ct { namespace module { template <typename R = float> class Filter_FIR_ccr_fast : public Filter_FIR_ccr<R> { protected: int M; int...
19.114286
71
0.763827
rtajan
e6a828118b7a73876b5ecdd2059681963b4f2006
14,566
cc
C++
chaps/opencryptoki_importer_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
chaps/opencryptoki_importer_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
chaps/opencryptoki_importer_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright (c) 2012 The Chromium OS 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 "chaps/opencryptoki_importer.h" #include <stdlib.h> #include <map> #include <memory> #include <string> #include <vector> #include <base...
40.687151
80
0.650076
strassek
e6ab81000a8c5f072d041835ff9887b24ded1e64
42
cpp
C++
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
1
2021-11-19T02:56:04.000Z
2021-11-19T02:56:04.000Z
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
src/trade.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
#include "trade.h" Trade::Trade() { }
6
18
0.547619
joestilin
e6b0e1cc12facd8462d70acacc250ca1de37ab14
630
cpp
C++
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
3,262
2016-04-10T15:24:10.000Z
2022-03-31T17:47:08.000Z
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
53
2016-10-09T16:25:04.000Z
2022-01-10T13:52:37.000Z
src/engine/core/src/dummy/dummy_network.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
193
2017-10-23T06:08:41.000Z
2022-03-22T12:59:58.000Z
#include "dummy_network.h" using namespace Halley; void DummyNetworkAPI::init() {} void DummyNetworkAPI::deInit() {} std::unique_ptr<NetworkService> DummyNetworkAPI::createService(NetworkProtocol protocol, int port) { return std::make_unique<DummyNetworkService>(); } void DummyNetworkService::update() { } void D...
21
98
0.78254
sunhay
e6b2e92d70eb468c2a908dff0bb9cd0472b0c42e
1,355
hpp
C++
include/metall/utility/metall_mpi_datastore.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
37
2019-07-03T05:48:42.000Z
2022-03-10T20:41:53.000Z
include/metall/utility/metall_mpi_datastore.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
19
2019-05-29T07:56:45.000Z
2022-02-02T07:13:46.000Z
include/metall/utility/metall_mpi_datastore.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
12
2019-06-11T21:56:37.000Z
2022-01-20T15:51:28.000Z
// Copyright 2020 Lawrence Livermore National Security, LLC and other Metall Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (Apache-2.0 OR MIT) #ifndef METALL_UTILITY_METALL_MPI_DATASTORE_HPP #define METALL_UTILITY_METALL_MPI_DATASTORE_HPP #include <string> /// \n...
38.714286
102
0.764576
dice-group
e6b46421afa7268e026cfb79438f59a2c5457cdf
3,513
cc
C++
paddle/fluid/operators/clip_by_norm_op_npu.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
paddle/fluid/operators/clip_by_norm_op_npu.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/clip_by_norm_op_npu.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
1
2021-12-09T08:59:17.000Z
2021-12-09T08:59:17.000Z
/* Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
36.978947
80
0.656988
RangeKing
e6b6fe8b805312934bd44da71c48d5238f644536
150,137
cpp
C++
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
null
null
null
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
53
2021-02-01T22:31:16.000Z
2022-03-01T04:01:47.000Z
tests/DLXLibTest/src/Processor.test.cpp
AMS21/DLXEmu
9b5d40b68dcac0281bed7ed8157fc2b868d4de8e
[ "MIT" ]
1
2021-02-03T13:54:23.000Z
2021-02-03T13:54:23.000Z
#include "DLX/RegisterNames.hpp" #include <catch2/catch_test_macros.hpp> #include <DLX/InstructionLibrary.hpp> #include <DLX/Parser.hpp> #include <DLX/Processor.hpp> static dlx::InstructionLibrary lib; static dlx::Processor proc; static dlx::ParsedProgram res; TEST_CASE("Operation exceptions") { co...
32.888719
99
0.668716
AMS21
e6ba69ec8d219d9ea1fc3f561aee804957bc9cac
2,175
cpp
C++
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
118
2019-10-12T01:29:07.000Z
2022-02-22T08:08:18.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
15
2019-09-02T16:51:39.000Z
2021-02-21T20:03:58.000Z
ScrapEngine/ScrapEngine/Engine/Rendering/Base/Vertex.cpp
alundb/ScrapEngine
755416a2b2b072a8713f5a6b669f2379608bbab0
[ "MIT" ]
11
2019-10-21T15:53:23.000Z
2022-02-20T20:56:39.000Z
#include <Engine/Rendering/Base/Vertex.h> vk::VertexInputBindingDescription ScrapEngine::Render::Vertex::get_binding_description() { return vk::VertexInputBindingDescription(0, sizeof(Vertex), vk::VertexInputRate::eVertex); } std::array<vk::VertexInputAttributeDescription, 4> ScrapEngine::Render::Vertex::get_attribu...
44.387755
117
0.801379
alundb
e6ba9fb34a3095e3715519a6e0d47c83ad3d7242
4,508
cpp
C++
CardGame/Classes/Layer/HelpLayer.cpp
AdamFeher2400/CardGame
e14c71b9833b38d97266678810d1800cb7880ea6
[ "MIT" ]
2
2019-06-23T12:30:39.000Z
2019-08-31T23:17:42.000Z
CardGame/Classes/Layer/HelpLayer.cpp
GuruDev0807/CardGame
e14c71b9833b38d97266678810d1800cb7880ea6
[ "MIT" ]
null
null
null
CardGame/Classes/Layer/HelpLayer.cpp
GuruDev0807/CardGame
e14c71b9833b38d97266678810d1800cb7880ea6
[ "MIT" ]
2
2019-12-18T15:55:48.000Z
2020-02-16T15:02:10.000Z
#include "HelpLayer.h" #include "SettingLayer.h" #include "../Common/GameData.h" #include "../Widget/MyMenuItem.h" std::string help = "CrazyBlackjack is about getting rid of all of your cards in order to be the last person left. It is called crazy blackjack as this game is commonly referred to as crazy 8s and blackjac...
46.474227
1,184
0.731366
AdamFeher2400
e6c20bc3db3f3b92a52a2e760821e2c56b449d98
1,122
cpp
C++
test/unit-tests/device/base/io_context_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/device/base/io_context_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
test/unit-tests/device/base/io_context_test.cpp
YongJin-Cho/poseidonos
c07a0240316d4536aa09f22d7977604f3650d752
[ "BSD-3-Clause" ]
null
null
null
#include "src/device/base/io_context.h" #include <gtest/gtest.h> namespace pos { TEST(IOContext, IOContext_) { } TEST(IOContext, SetIOKey_) { } TEST(IOContext, GetIOKey_) { } TEST(IOContext, SetErrorKey_) { } TEST(IOContext, GetErrorKey_) { } TEST(IOContext, GetDeviceName_) { } TEST(IOContext, GetOpcode_) { } ...
10.017857
44
0.742424
YongJin-Cho
e6c2d82b75336758e82b25efa3b6fb390287e316
939
cpp
C++
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
1
2021-09-14T11:25:21.000Z
2021-09-14T11:25:21.000Z
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
AtCoder/ABC 235/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long #define lowbit(x) (x&-x) #define rep(i, l, r) for(int i = l; i < r; i ++) #define all(x) (x).begin(),(x).end() #define fi first #define se second using namespace std; typedef long long LL; typedef pair<int,int> PII; typedef vector<int> VI; typedef vector<vector<int>> VII; ...
22.902439
48
0.496273
Sansiff
e6c4cd92efd92423aeef514615fa23a57c6c2aa9
5,598
cpp
C++
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
Weheineman/STL
2f4c5792b2be4f56b4130817803ca21f7a3ee8f4
[ "Apache-2.0" ]
2
2021-01-19T02:43:19.000Z
2021-11-20T05:21:42.000Z
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
null
null
null
tests/std/tests/Dev11_0343056_pair_tuple_ctor_sfinae/test.cpp
tapaswenipathak/STL
0d75fc5ab6684d4f6239879a6ec162aad0da860d
[ "Apache-2.0" ]
4
2020-04-24T05:04:54.000Z
2020-05-17T22:48:58.000Z
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <memory> #include <tuple> #include <utility> using namespace std; #ifdef __clang__ #pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // This test intentionally uses 0 as null. #endi...
25.445455
116
0.535191
Weheineman
e6c82103c4ac637802c2f235e4fe96c575168d86
206
cc
C++
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
06/11/11.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <iostream> void reset(int &i) { i = 0; } int main(void) { int i = 100; std::cout << "i = " << i << std::endl; reset(i); std::cout << "i = " << i << std::endl; return 0; }
12.875
42
0.451456
williamgherman
e6c9943df590160cb29f48598b6ee1265749f3ae
9,922
cpp
C++
sdktools/depends/src/exe/childfrm.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
sdktools/depends/src/exe/childfrm.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
sdktools/depends/src/exe/childfrm.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//****************************************************************************** // // File: CHILDFRM.CPP // // Description: Implementation file for the Child Frame window. // // Classes: CChildFrame // // Disclaimer: All source code for Dependency Walker is provided "as is" with // no...
35.690647
108
0.526608
npocmaka
e6ce736d68bf7cb04368e6302e243e2d21e118e2
3,856
hpp
C++
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
lab_control_center/ui/lcc_errors/LCCErrorViewUI.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#pragma once #include "defaults.hpp" #include <algorithm> #include <atomic> #include <cassert> #include <chrono> #include <ctime> #include <future> #include <map> #include <memory> #include <mutex> #include <sstream> #include <string> #include <thread> #include <gtkmm/builder.h> #include <gtkmm.h> #include <glib.h> #...
33.824561
152
0.699689
Durrrr95
e6d02cd27f2410ff894e4f29876fe87754a18442
3,004
cpp
C++
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
1
2019-05-03T18:00:39.000Z
2019-05-03T18:00:39.000Z
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
pgf+/src/parser/ActiveItem.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
// // ActiveItem.cpp // pgf+ // // Created by Emil Djupfeldt on 2012-07-04. // Copyright (c) 2012 Chalmers University of Technology. All rights reserved. // #include <gf/stringutil.h> #include <gf/parser/ActiveItem.h> namespace gf { namespace parser { ActiveItem::ActiveItem(uint32_t begin, ui...
30.969072
171
0.500333
egladil
e6d2da9d3ea57374b0bbbddfb8561453a8f34803
4,162
hpp
C++
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/io/PrintStream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/io/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/nio/charset/fwd-POI.hpp> #include <java/util/fwd-POI.hpp> #include <java/io/FilterOutputStream.hpp> #incl...
36.831858
121
0.675637
pebble2015
e6d40f263bbf8da0859afd7806c2c86c29614225
48,381
cxx
C++
model_server/project_file/src/projModule.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
model_server/project_file/src/projModule.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
model_server/project_file/src/projModule.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
25.490516
111
0.635291
kit-transue
e6d745196d151d41dd1541723ccf20c32233acab
2,572
cpp
C++
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/10106-Product.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; char res[100000]; void addString(char *pro) { int len1=strlen(res); int len2=strlen(pro); int l_low,l_high; // cout<<len1<<" "<<len2<<endl; if(len1<=len2) { l_low=len1; l_high=len2; } else { ...
16.921053
56
0.360031
akazad13
e6d7c8919db6687721d54bc0bfc9b2d8589e34e9
84,275
cpp
C++
src/restsrv.cpp
grodansparadis/vscl2drv-websock1
5f5345c25fae4f8c6f591a8bafef3cb8c829e027
[ "MIT" ]
1
2021-05-18T11:24:30.000Z
2021-05-18T11:24:30.000Z
src/restsrv.cpp
grodansparadis/vscl2drv-websock1
5f5345c25fae4f8c6f591a8bafef3cb8c829e027
[ "MIT" ]
3
2021-06-30T21:25:21.000Z
2021-06-30T21:28:36.000Z
src/restsrv.cpp
grodansparadis/vscpl2drv-websrv
5f5345c25fae4f8c6f591a8bafef3cb8c829e027
[ "MIT" ]
null
null
null
// restsrv.cpp // // This file is part of the VSCP (https://www.vscp.org) // // The MIT License (MIT) // // Copyright © 2000-2021 Ake Hedman, the VSCP project // <akhe@vscp.org> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the...
30.802266
82
0.531629
grodansparadis
e6daaeae978fb7901e8a4730c14c67f9e1c05706
8,142
cpp
C++
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
1
2021-12-10T09:27:45.000Z
2021-12-10T09:27:45.000Z
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
null
null
null
src/Main.cpp
eugen-bondarev/BLL
2cc6579207133f00c79794f97e4ae9e993e6141c
[ "MIT" ]
null
null
null
#include "MNIST/MNISTHelper.h" #include "Window/Window.h" #include "AI/Util/Random.h" #include "AI/Util/Util.h" #include "AI/Util/ImGuiMatrixRenderer.h" #include "AI/Network.h" #include "AI/Math.h" #include "AI/Metrics.h" #include "AI/Console.h" #include <future> int main() { try { // Zufallszahlenge...
34.066946
261
0.436748
eugen-bondarev
5c7922737adf0a6bfed77e962d6922dd305a7f70
984
hpp
C++
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
1
2019-08-14T12:31:50.000Z
2019-08-14T12:31:50.000Z
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
Server/Monsters/includes/MonsterInfo.hpp
KillianG/R-Type
e3fd801ae58fcea49ac75c400ec0a2837cb0da2e
[ "MIT" ]
null
null
null
// // Created by nhyarlathotep on 30/11/18. // #pragma once #include <string> #include "../../includes/Utils.hpp" namespace Game { struct MonsterInfo { public: MonsterInfo() : _type(""), _pos{0, 0}, _timer(0), _endGame(false) {} MonsterInfo(std::string &&type, float x, float ...
25.894737
82
0.537602
KillianG
5c7b9e56bc2e1e64d4c40eff512cbf20fd251d09
14,565
cpp
C++
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/socket.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
// // Created by Harrand on 14/12/2018. // #include "socket.hpp" #include "amethyst.hpp" bool am::detail::is_initialised = false; SocketDescriptor::SocketDescriptor(am::net::transmission::protocol transmission_protocol, am::net::internet::protocol internet_protocol): transmission_protocol(transmission_protocol), int...
43.477612
222
0.57082
Harrand
5c7bb3a079dcd91bec6adbbfd9be63e19f32225e
9,550
cpp
C++
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/at42qt1070.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
1
2019-01-09T05:16:42.000Z
2019-01-09T05:16:42.000Z
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitatio...
28.939394
82
0.500942
apadin1
5c7ddbf91283a9e5d26814228365b6123f003308
18
cpp
C++
old/dpd_cpp/dpdIn.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
null
null
null
old/dpd_cpp/dpdIn.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
7
2015-11-23T19:17:06.000Z
2016-03-02T20:55:29.000Z
old/dpd_cpp/dpdIn.cpp
brix4dayz/dpd_cpp
6156b9011f7fa529972620a9e949f1ff858f3a28
[ "MIT" ]
null
null
null
#include "dpdIn.h"
18
18
0.722222
brix4dayz
5c7f01471c4e4eddbeff7cc9d5213d0319069cd2
1,443
hh
C++
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
1
2021-04-02T16:47:00.000Z
2021-04-02T16:47:00.000Z
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
null
null
null
XRADBasic/Sources/Containers/RealFunction.hh
n-kulberg/xrad
3d089cc24d942db4649f1a50defbd69f01739ae2
[ "BSD-3-Clause" ]
3
2021-08-30T11:26:23.000Z
2021-09-23T09:39:56.000Z
/* Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine All rights reserved. This file is licensed under BSD-3-Clause license. See LICENSE file for details. */ // file RealFunction.hh //-------------------------------------------------------------- #ifndef XRAD__File_RealFunction_cc #define XRAD__File_R...
32.795455
104
0.586279
n-kulberg
5c8205a2eaadae8a73b6b9947801857862681897
11,036
hpp
C++
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
3
2015-03-31T23:09:12.000Z
2017-05-17T07:23:53.000Z
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
null
null
null
include/reactive/json/parser.hpp
ReactiveFramework/Reactive
b1e7e2a7d1dfaaef6cc372ae88111f36a42a304a
[ "MIT" ]
2
2015-11-06T20:29:49.000Z
2021-09-07T11:08:08.000Z
/** * Reactive * * (c) 2012-2014 Axel Etcheverry * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #pragma once #include <limits> #include <string> #include <inttypes.h> #include <reactive/json/func.hpp> namespace reactive { namesp...
23.682403
94
0.339888
ReactiveFramework
5c828294f4a2698817b3347908ef9d7678707e70
6,796
cpp
C++
Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessNoiseBlur.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessNoiseBlur.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessNoiseBlur.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= PostProcessNoiseBlur.cpp: Post processing down sample implementation. =============================================================================*/ #include "PostProcess/Post...
32.673077
141
0.779429
windystrife
5c8882edac9f0e74dddd984188bd1ce83f1b1144
543
cpp
C++
LeetCode/921.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/921.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/921.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: int minAddToMakeValid(string S) { int len = S.size(); int leftAns = 0;//左侧添加左括号数量 int stack = 0;//模拟栈,栈里放左括号,遇到右括号就出栈一个 for(int i=0;i<len;i++) { if(S[i]=='(') { stack++; } else { if(stack==0) leftAns++; else stack--; } } stack = 0;//清空模拟栈,栈里放...
17.516129
39
0.508287
LauZyHou
5c8af8e5c95364b69a355d9d39cc1ac9ee93bd89
6,391
cpp
C++
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
lib/ESP8266Audio-master/src/AudioOutputFilterBiquad.cpp
ChSt98/KraftPad
2f1d60893ded6d0f079e8067980016992a72794b
[ "BSD-3-Clause" ]
null
null
null
/* AudioOutputFilterBiquad Implements a Biquad filter Copyright (C) 2012 Nigel Redmon Copyright (C) 2021 William Bérubé 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...
25.979675
112
0.531216
ChSt98
5c8c9e8e71dc7e6470f831d96531d1c2f58990d0
493
cpp
C++
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
1
2020-07-05T06:30:32.000Z
2020-07-05T06:30:32.000Z
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
Strings - Interview Problems/RemoveDuplicateCharacters.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <unordered_set> using namespace std; string longestSubstring(string s) { unordered_set<int> elements; string out = ""; for (int i = 0; i < s.length(); i++) { if (elements.find(s[i]) == elements.end()) { element...
17.607143
50
0.545639
gulatigaurav
5c8d79e38b1f1ef107ff8d6f5f75a83f37d1eab8
635
cpp
C++
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Recursion/Recursive Digit Sum.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/recursive-digit-sum/problem // Jordan Tonni #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <string> using namespace std; int superDigit(string str) { if(str.length() <= 1) return std::stoi(str); int s...
15.119048
68
0.525984
jordantonni
5c8e42f0c97aefc173a81baf4072566075df7734
8,944
cpp
C++
audioserver/src/audsrv-conn.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
audioserver/src/audsrv-conn.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
audioserver/src/audsrv-conn.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2017 RDK Management * * 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 ...
21.144208
104
0.547742
rdkcmf
5c9bc277b1e705ee679b8e4911895c3e545b7f16
448
cpp
C++
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1088A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Ehab and another construction problem #include <stdio.h> int main(){ int x; scanf("%d\n", &x); bool found = false; for (int b = x; b > 0; --b){ for (int a = b; !found && a > 0; --a){ if (b % a == 0 && a * b > x && a / b < x){ printf("%d %d\n", a, b); ...
16.592593
54
0.368304
sgrade
5c9d4c0133a90cd5864de8751376a7d63ec5e2cd
12,129
cpp
C++
src/alarms/Daemon.cpp
CESNET/sysrepo-ietf-alarms
a831b7171724d064e7bc489ecd24a64a25025b26
[ "Apache-2.0" ]
null
null
null
src/alarms/Daemon.cpp
CESNET/sysrepo-ietf-alarms
a831b7171724d064e7bc489ecd24a64a25025b26
[ "Apache-2.0" ]
null
null
null
src/alarms/Daemon.cpp
CESNET/sysrepo-ietf-alarms
a831b7171724d064e7bc489ecd24a64a25025b26
[ "Apache-2.0" ]
null
null
null
#include <string> #include "Daemon.h" #include "Key.h" #include "PurgeFilter.h" #include "ShelfMatch.h" #include "utils/libyang.h" #include "utils/log.h" #include "utils/sysrepo.h" #include "utils/time.h" using namespace std::string_literals; namespace { const auto rpcPrefix = "/sysrepo-ietf-alarms:create-or-update-a...
46.471264
210
0.704675
CESNET
5c9f3244ed7d678a5693bbf38ff79d7d5ff02087
503
hpp
C++
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
43
2016-08-02T19:50:34.000Z
2022-01-29T01:33:35.000Z
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
232
2016-08-05T07:57:59.000Z
2022-03-31T01:50:23.000Z
addons/ai/CfgWaypoints.hpp
Drofseh/TMF
0733ad565b2aeee0ccf0340282ff784ff7f5c39c
[ "Naumen", "Condor-1.1", "MS-PL" ]
41
2016-08-03T19:16:40.000Z
2022-01-24T19:11:29.000Z
class CfgWaypoints { class Teamwork { class Fortify { displayName = "Fortify"; file = "\x\tmf\addons\AI\functions\fnc_fortify.sqf"; /* 0: GROUP 1: ARRAY - Waypoint position 2: OBJECT - Target to which waypoint is...
23.952381
75
0.459245
Drofseh
5ca1ee8d60fd07cb6eb6a3ad106950b5cef4914d
1,278
cpp
C++
out/production/leetcode/io/github/zhengyhn/leetcode/candy/candy.cpp
zhengyhn/leetcode
2e5e618dd7c964c8e983b187c6b1762cbe1764de
[ "MIT" ]
null
null
null
out/production/leetcode/io/github/zhengyhn/leetcode/candy/candy.cpp
zhengyhn/leetcode
2e5e618dd7c964c8e983b187c6b1762cbe1764de
[ "MIT" ]
null
null
null
out/production/leetcode/io/github/zhengyhn/leetcode/candy/candy.cpp
zhengyhn/leetcode
2e5e618dd7c964c8e983b187c6b1762cbe1764de
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int candy(vector<int>& ratings) { ratings.push_back(ratings[ratings.size() - 1]); int ret = 0; int next = 1; int last = 1; for (int i = 1; i < ratings.size(); ++i) { if (ratings[i] == ratings[i - 1]) { ...
24.576923
79
0.418623
zhengyhn
5cab68a0049564f99d1ea69987754f7b088a621e
3,722
cpp
C++
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
source/helloworld.cpp
LS060598/programmiersprachen-aufgabe-1.
f08c20f2027f442a8fab1770d50e33a247bb3a49
[ "MIT" ]
null
null
null
#include <iostream> # include <cmath> int factorial(int x){ if(x<=1){ return 1; } else{ return factorial(x-1)*x; } } double binomial(int n, int k){ if(k==0 || n==k){ return -1; } else{ ...
18.334975
73
0.448684
LS060598
5cac06e0afb16c27faa7bed19172db28783bc870
3,334
cpp
C++
src/OSCBundle.cpp
ssilverman/LiteOSCParser
37d0c1451e3d3f59b91bdc54ce6b985f265b4bb0
[ "BSD-3-Clause-Clear" ]
2
2019-06-16T13:27:42.000Z
2020-09-01T14:33:04.000Z
src/OSCBundle.cpp
ssilverman/LiteOSCParser
37d0c1451e3d3f59b91bdc54ce6b985f265b4bb0
[ "BSD-3-Clause-Clear" ]
1
2018-05-02T19:52:12.000Z
2018-05-02T19:52:12.000Z
src/OSCBundle.cpp
ssilverman/LiteOSCParser
37d0c1451e3d3f59b91bdc54ce6b985f265b4bb0
[ "BSD-3-Clause-Clear" ]
null
null
null
// OSCBundle.cpp is part of LiteOSCParser. // (c) 2018-2019 Shawn Silverman #include "LiteOSCParser.h" // C++ includes #ifdef __has_include #if __has_include(<cstdlib>) #include <cstdlib> #else #include <stdlib.h> #endif #if __has_include(<cstring>) #include <cstring> #else #include <string.h> #endif #else #include <...
21.235669
77
0.564787
ssilverman
5cb0851f56d134d2cf19e6c4cccc526a8b8bec94
8,353
cpp
C++
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
4
2017-03-27T17:55:29.000Z
2018-01-29T22:51:40.000Z
src/PreviewData.cpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
#include "FileManager.hpp" #include "parser/RmdParser.hpp" #include "PreviewData.hpp" #include "common/RC2Utils.hpp" #include "common/FormattedException.hpp" #include <cassert> #include <algorithm> #include <RInside.h> #include <boost/algorithm/string/trim.hpp> #include <boost/bind.hpp> #include <sstream> #include "Err...
35.696581
140
0.681552
rc2server
5cb2d65e6986f1bcc82f1b380e6d8c103ad389c4
4,917
cpp
C++
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
2
2022-01-22T10:02:07.000Z
2022-02-16T19:30:17.000Z
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
null
null
null
src/brov2_odometry/src/odom.cpp
bjornrho/Navigation-brov2
a7104803099159f4f27a1e83d733ba2e0dd75c2e
[ "MIT" ]
null
null
null
#include "odom.hpp" using std::placeholders::_1; SimpleOdom::SimpleOdom() : Node{"odom_node"} { // get params std::string imu_topic = "INSERT IMU TOPIC"; std::string dvl_topic = "INSERT DVL TOPIC"; std::string odom_topic = "INSERT ESTIMATED ODOMETRY TOPIC"; std::string mocap_topic; std::string imu_link; ...
43.513274
226
0.736221
bjornrho
5cbae0a72d1758e5044bdca6d3541255440b565e
4,619
cpp
C++
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
VariableDragManager.cpp
fredenigma/VesselBuilder1
4f332ec4e6fa80e1a63d8d920bb50e033c5b67f6
[ "MIT" ]
null
null
null
#include "VesselBuilder1.h" #include "DialogControl.h" #include "VariableDragManager.h" #include "AnimationManager.h" #define LogV(x,...) VB1->Log->Log(x,##__VA_ARGS__) VariableDragManager::VariableDragManager(VesselBuilder1* _VB1) { VB1 = _VB1; vard_def.clear(); return; } VariableDragManager::~VariableDragManager...
30.589404
107
0.720935
fredenigma
5cbc08086b52406335f93c7ce9191a7df6735618
1,865
cpp
C++
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
6
2020-10-09T02:48:54.000Z
2021-07-30T06:31:20.000Z
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
base/TextureCommons.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
#include "TextureCommons.h" #include "VulkanTexture.h" #include "VulkanDevice.h" namespace vku { void createSinglePixelTexture(VulkanDevice* device, unsigned char *pixels, VulkanTexture **texture) { *texture = new VulkanTexture(); VulkanTexture* pixTex = *texture; pixTex->image = new VulkanImage(device, Vulka...
30.57377
102
0.751743
wessles
5cbd35a8861ec48d4e96b30d2078f4b40717e42f
28,087
cc
C++
src/LSLib/DensOp.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
4
2021-03-15T10:02:13.000Z
2022-01-16T11:06:28.000Z
src/LSLib/DensOp.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
1
2022-01-27T15:35:03.000Z
2022-01-27T15:35:03.000Z
src/LSLib/DensOp.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
null
null
null
/* DensOp.cc ****************************************************-*-c++-*- ** ** ** G A M M A ** ** ** ** Density Operator Implementation ** ** ...
38.528121
142
0.499982
pygamma-mrs
5cbfb57dbf158fd18afd8345200ef56aa1a67373
141
cpp
C++
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
Source/SGame/iTween/iTAux.cpp
ZDron3/SimpleGame-Match-
427040e3dce0e76c710e0baab021f9a9ae2a8530
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SGame.h" #include "iTweenPCH.h" #include "iTAux.h"
23.5
78
0.751773
ZDron3
5cc0ef5df34f47f89c08726ab7e1c8117c6210cb
13,688
cpp
C++
cs163-data-structure/Homework/HW2/class.cpp
tavioalves/computerscience-psu
2d36bd46383a92c3fd3b4b17e8efb7313e657789
[ "MIT" ]
null
null
null
cs163-data-structure/Homework/HW2/class.cpp
tavioalves/computerscience-psu
2d36bd46383a92c3fd3b4b17e8efb7313e657789
[ "MIT" ]
null
null
null
cs163-data-structure/Homework/HW2/class.cpp
tavioalves/computerscience-psu
2d36bd46383a92c3fd3b4b17e8efb7313e657789
[ "MIT" ]
null
null
null
/* Filename: class.cpp Created by Alves Silva, Otavio Augusto Date: 05/02/2015 Class: CS 163 - Program #2 Description: This file contains the functions of the class.h */ #include "class.h" // --------------------------- CLASS Customer ---------------------------- // Constructor customer::cu...
25.681051
113
0.627776
tavioalves
5cc264622f7cfd4487387e6b7699b8960507b69c
14,948
cc
C++
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
test/test_script_parse.cc
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include "test.hh" #include "script_parse.hh" class TestScriptParseCtx : public plux::ScriptParseCtx, public TestSuite { public: TestScriptParseCtx() : plux::ScriptParseCtx(), TestSuite("ScriptParseCtx") { register_tes...
35.254717
79
0.549906
pekdon
5cc4f924f678b5da011b1e6ab201cb0f04b1e7a3
576
cpp
C++
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
58
2020-08-02T16:38:43.000Z
2021-04-11T15:17:07.000Z
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
29
2020-08-03T08:48:05.000Z
2020-10-05T08:25:09.000Z
Week-2/Editorials/Contest_2/problem-4/solution.cpp
tanayduggad0299/CP-Buddy-Series
29b85801f216e10e1817ce0769dd2d9d98856163
[ "MIT" ]
44
2020-08-02T16:51:08.000Z
2021-03-04T13:51:01.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #define ll long long int int p = 1; using namespace std; void fun(ll x, ll n){ cout << x << " "; x = p > 0 ? x - 5 : x + 5; if(x != n){ if(x <= 0){ p = 0; } fun(x,n); }else{ ...
15.567568
30
0.383681
tanayduggad0299
5cc5e1da71c980fbeb0ec7091c2ad1f8a1fe881c
2,384
cc
C++
chrome/browser/ui/webui/chromeos/assistant_optin/value_prop_screen_handler.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/ui/webui/chromeos/assistant_optin/value_prop_screen_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/webui/chromeos/assistant_optin/value_prop_screen_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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/ui/webui/chromeos/assistant_optin/value_prop_screen_handler.h" #include "chrome/browser/browser_process.h" #include "chrome/grit...
36.676923
87
0.776007
zipated
5cc92b4690bd96ef62a0acfafa82483ca2617abc
49,629
cpp
C++
cubicvr/source/datatree/DataTree.cpp
cjcliffe/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
48
2015-02-04T09:43:20.000Z
2021-09-29T00:45:28.000Z
cubicvr/source/datatree/DataTree.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
2
2016-06-08T09:03:52.000Z
2021-04-09T01:01:47.000Z
cubicvr/source/datatree/DataTree.cpp
mcanthony/CubicVR
2f833c61eb045ff845d2b3b001a02a258337f15c
[ "MIT" ]
17
2015-07-24T08:28:44.000Z
2021-04-09T02:14:21.000Z
/* * DataElement/DataNode/DataTree -- structured serialization/unserialization system * designed for the CoolMule project :) * Copyright (C) 2003 by Charles J. Cliffe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
24.150365
208
0.61998
cjcliffe
5cc9830d8a598a57784aac82606672e206400e0d
491
cpp
C++
UCTooth_Linux/src/Main.cpp
jcs090218/UCTooth
c53871242cf8fdc9ab67609e212f93ce5fb8cd76
[ "MIT" ]
3
2020-10-09T10:48:15.000Z
2022-01-17T22:01:23.000Z
UCTooth_Linux/src/Main.cpp
jcs090218/UCTooth
c53871242cf8fdc9ab67609e212f93ce5fb8cd76
[ "MIT" ]
null
null
null
UCTooth_Linux/src/Main.cpp
jcs090218/UCTooth
c53871242cf8fdc9ab67609e212f93ce5fb8cd76
[ "MIT" ]
null
null
null
/** * $File: Main.cpp $ * $Date: 2020-07-30 22:47:46 $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright © 2020 by Shen, Jen-Chieh $ */ /** * @func main * @brief Program entry point. */ void main() { long btA...
18.884615
73
0.584521
jcs090218
5ccaa325836b93a5ff0d33f132e41ce37c1035e8
4,684
hpp
C++
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
include/gptTracer.hpp
Galfurian/GnuplotTracer
b31db32f9e201616729d0f7bbfbd519ac9ffcc0f
[ "BSD-3-Clause" ]
null
null
null
/// @file gnuplotHelper.hpp /// @author Enrico Fraccaroli /// @date Oct 02 2017 /// @copyright /// Copyright (c) 2017 Enrico Fraccaroli <enrico.fraccaroli@univr.it> #pragma once #include "gptValue.hpp" #include "gptBound.hpp" #include <iostream> #ifdef WIN32 #define GNUPLOT_NAME "pgnuplot -persistent" #else...
25.736264
69
0.538002
Galfurian
5ccd42bdd220904da181e9a6038210af00f3fc75
2,834
cpp
C++
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
Source/ZJoy/Private/NetPlayGameState.cpp
avrcolak/ZJoy
32215b739b0f7b394d8ebd0e5ea1da00e595e3f2
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. #include "NetPlayGameState.h" #include "NetPlayPlayerController.h" #include "GameFramework/PlayerState.h" #include "Engine/World.h" #include "Engine/LocalPlayer.h" ANetPlayGameState::ANetPlayGameState() { PrimaryActorTick.bStartWithTickEnable...
19.680556
91
0.732534
avrcolak
5cce960449eee7db899f7ae6645e096442c3665b
385
hpp
C++
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
Source/Arbiter/Graphics/API/Opengl/GLVertexBufferObject.hpp
cookieniffler/Arbiter
271fe56cb9379d9c76704e028e07dfdb9693bd54
[ "BSD-3-Clause" ]
null
null
null
#pragma once #ifndef __VERTEXBUFFER_HPP__ #define __VERTEXBUFFER_HPP__ #include <Arbiter/Core/Common/Base.hpp> ARBITER_NAMESPACE_BEGIN OPENGL_NAMESPACE_BEGIN class VertexBuffer : public std::enable_shared_from_this<VertexBuffer> { private: public: VertexBuffer(); virtual ~VertexBuffer() = default; }; OPENGL_NAME...
16.73913
70
0.820779
cookieniffler
5cceb2450ee4b50e0e6b6ed4cda07357e228ef7a
2,237
hpp
C++
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
1
2021-05-26T13:27:00.000Z
2021-05-26T13:27:00.000Z
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
gecode/string/rel-op/lcase.hpp
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
namespace Gecode { namespace String { forceinline ExecStatus LowerCase::post(Home home, StringView x0, StringView x1) { if (x0.same(x1)) { StringVar y(home, x0.may_chars(), x0.min_length(), x0.max_length()); (void) new (home) LowerCase(home, x0, y); rel (home, x1, STRT_EQ, y); } else ...
29.434211
77
0.589629
ramadini
5cd3cba9c9a6bccc9fc7b507b1f7c64f73c48bd2
3,039
cpp
C++
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
null
null
null
test/unit/models/PlayerFilterTest.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
26.657895
75
0.663047
BlockChain-Station
5cd406d58760cf9d9e8efdeb2542dc5789565895
3,885
cc
C++
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/utils/SplinedCurve.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* ------------------------------------------------------------------------- Spline Author: Ethan Coon (coonet@ornl.gov) Spline fit of a curve, given points, values, and derivatives of those values. If needed, this could easily provide a constructor without derivatives, and use an algorithm to construct th...
29.884615
155
0.578121
fmyuan
5cda6079665f1ebe1e439c0679a8f1472e87f266
9,069
cpp
C++
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
3
2016-01-27T00:34:21.000Z
2019-08-14T07:13:09.000Z
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
null
null
null
src/Font.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
1
2019-09-05T04:59:59.000Z
2019-09-05T04:59:59.000Z
/* * Copyright (c) 2013 Pavlo Lavrenenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
39.090517
122
0.685522
santa01
5cdb9e56c7b928ae8ee77ae76099f5bd30ee0fbc
1,368
cpp
C++
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/GUESSRT/Partially Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 01-02-2019 16:56:20 * solution_verdict: Partially Accepted language: C++14 * run...
26.823529
111
0.384503
kzvd4729
5cdbcfda8170a4e834375ebcb4b6b8cf4e0b9bbe
1,195
cpp
C++
src/reverse-linked-list-ii.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/reverse-linked-list-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/reverse-linked-list-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* reverseBetween(ListNode* head, int m, int n) { if (m >= n) return head; ListNode* dum...
21.339286
65
0.43431
Liuchang0812
5cdc8c96401b0adfad7ac71605778bbbb36ede23
7,673
hpp
C++
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/abstract_button_widget.hpp
PinkFlufflyLlama/ttauri
7badcfbe792932ebb912d54d1062d8fc820c40a7
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2019-2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "widget.hpp" #include "button_delegate.hpp" #include "label_widget.hpp" #include "button_type.hpp" #include "...
33.801762
130
0.652418
PinkFlufflyLlama
5cdf2b6a1306c7ced727a0796dd0bd65b5e6589f
484
hpp
C++
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
2
2020-05-05T13:31:55.000Z
2022-01-16T15:38:00.000Z
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
null
null
null
include/Sprite/UIString.hpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
1
2021-11-27T02:32:24.000Z
2021-11-27T02:32:24.000Z
#ifndef UISPRITE_HPP #define UISPRITE_HPP #include "TextureSheet.hpp" #include "GameObject.hpp" #include <string> using namespace std; /** * @brief 表示英文字符 * @warn 不管给如的字符大小写,绘制的一律大写 */ class UIString : public GameObject{ public: static UIString* Create(); void SetText(string t); string GetText() const; ...
17.925926
35
0.68595
VisualGMQ
5ce321d77260253fb2b20e0777822726db4abedb
824
cpp
C++
ttgo/src/app/WatchButton.cpp
peteh/ttgo
62a39a2e27eafabb6eac448b92b6837817d9f96a
[ "MIT" ]
null
null
null
ttgo/src/app/WatchButton.cpp
peteh/ttgo
62a39a2e27eafabb6eac448b92b6837817d9f96a
[ "MIT" ]
null
null
null
ttgo/src/app/WatchButton.cpp
peteh/ttgo
62a39a2e27eafabb6eac448b92b6837817d9f96a
[ "MIT" ]
null
null
null
#include "WatchButton.h" #include <Log.h> namespace app { const long WatchButton::PRESS_DELAY = 300; const long WatchButton::MAX_CLICKS = 2; WatchButton::WatchButton() : m_presses(0), m_pressTS(0) { } uint WatchButton::evaluate(bool pressed) { if (pressed) { ...
20.6
74
0.461165
peteh
5ce59e33cc592a3407f0e9dd072ad153623052b9
1,527
cpp
C++
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
src/string_tests.cpp
tyoungjr/Catch2Practice
6c602b0b57edaf2299043b4ef3c11d9507ce167b
[ "MIT" ]
null
null
null
// // Created by tyoun on 10/24/2021. // #include <catch2/catch.hpp> #include <string> #include <iostream> using std::string; TEST_CASE("String operations ") { string s{"a dog"}; s += " is a dog"; SECTION("Test concatenation") { REQUIRE(s == "a dog is a dog"); } SECTION("String find me...
23.492308
98
0.518009
tyoungjr
5ce82c5014b4101d41dee1a7f051794d378edf5e
999
cpp
C++
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
net/AsioTlsTcpSocket.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "AsioTlsTcpSocket.hpp" #include "AsioBaseTcpSocket.ipp" #include "AsioService.hpp" BEGIN_INANITY_NET template class AsioBaseTcpSocket<Botan::TLS::Stream<boost::asio::ip::tcp::socket> >; AsioTlsTcpSocket::AsioTlsTcpSocket(ptr<AsioService> service, std::unique_ptr<Botan::TLS::Context>&& tlsContext) : AsioBase...
22.2
111
0.74975
quyse
5ce8ff0732486f241dbe06166e5543ad5c5a88fd
26,297
cpp
C++
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
Classes/data/Guid.cpp
thales-vogso/deer
f3492538881f632b55be657bb9529027897b0e63
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * @desc 新手引导信息 * @date 2015-06-30 * @author 120103 * @file data/User.h ******************************************************************************/ #include "Guid.h" #include "Item.h" #include "Building.h" #include "Crusad...
28.306781
213
0.493745
thales-vogso
5ceab5aa4910df6bb9f11de46f0f9acbee827ba9
1,787
cpp
C++
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/io/cuteTest/ConnectorArgsTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * Copyright (c) 2015, David Tran, Faculty of Computer Science, * University of Applied Sciences Rapperswil (HSR), * 8640 Rapperswil, Switzerland * All rights reserved. * * This library/application is free softw...
28.822581
102
0.738668
zer0infinity
5ced779dec0001f9d5535a8b85d6ef0d009c7891
1,980
cpp
C++
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
null
null
null
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
6
2020-11-29T18:27:05.000Z
2021-12-24T13:14:47.000Z
subset/bench_subset_BF.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
8
2020-11-03T17:09:11.000Z
2021-12-04T14:24:49.000Z
#include "SSet.h" #include "benchmark/benchmark.h" #include <iostream> #include <sstream> static void BM_subsetBruteFromFile10T(benchmark::State& state) { SSet set; set.loadFromFile("../tests/input_sets/set_true_10.txt"); for (auto _ : state) { set.checkZeroSumSlow(); } } static void BM_subsetBruteFromFil...
26.756757
64
0.733838
DandyForever
5cefa78e5d383773238ce9f7714f4fc64f3c7781
3,767
cpp
C++
MathTL/algebra/symmetric_matrix.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
MathTL/algebra/symmetric_matrix.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
MathTL/algebra/symmetric_matrix.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation of MathTL::*TriangularMatrix inline functions #include <algorithm> #include <cassert> namespace MathTL { template <class C> inline SymmetricMatrix<C>::SymmetricMatrix(const size_type n) : LowerTriangularMatrix<C>(n) { } template <class C> inline SymmetricMatrix<C>::SymmetricMa...
24.782895
98
0.647996
kedingagnumerikunimarburg
5cf0f864adf77272d6b56750cf859873dcadb025
3,165
cxx
C++
main/autodoc/source/parser/cpp/pe_tydef.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/autodoc/source/parser/cpp/pe_tydef.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/autodoc/source/parser/cpp/pe_tydef.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
22.934783
78
0.701106
Grosskopf
5cf0fd512ce372f381352717a818f7fab7f03081
1,619
cpp
C++
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
3
2016-05-22T16:44:18.000Z
2021-06-12T00:38:59.000Z
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
null
null
null
Connector/BillCmdMsg_KOR.cpp
Light-Games-Ink/LMLastChaosSource
ff3f1988590dfd441824832d9c242fb51eb2c318
[ "Unlicense" ]
1
2021-01-16T23:15:30.000Z
2021-01-16T23:15:30.000Z
#include "stdhdrs.h" #ifndef USE_TENTER_BILLING #include "Server.h" #include "../ShareLib/DBCmd.h" #include "CmdMsg.h" void BillConnectMsg(CBPacket::SP& msg) { CLCString protocolVersion(17); protocolVersion.Format("%s", BILL_SERVER_VERSION); msg->Init(BM_CONNECT); RefMsg(msg) << protocolVersion ...
21.302632
125
0.62446
Light-Games-Ink
5cf471474d44b363b6e0371ec4f7fe80040962f0
978
cc
C++
src/jumandic/shared/jumandic_debug_dump_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
300
2016-10-19T02:20:39.000Z
2022-02-23T19:58:04.000Z
src/jumandic/shared/jumandic_debug_dump_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
130
2016-10-17T07:57:14.000Z
2022-03-20T17:37:13.000Z
src/jumandic/shared/jumandic_debug_dump_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
36
2016-10-19T11:47:05.000Z
2022-01-25T09:36:12.000Z
// // Created by Arseny Tolmachev on 2017/12/08. // #include "core/proto/lattice_dump_output.h" #include "jumandic/shared/jumandic_test_env.h" using namespace jumanpp; TEST_CASE("debug dump works with jumandic and full beam") { JumandicTrainingTestEnv env{"jumandic/codegen.mdic"}; core::analysis::Analyzer an; ...
34.928571
71
0.725971
wrightak
5cf65a31c0bfabb00320ec9f264e7d52a2c9ba75
2,933
cpp
C++
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
3
2015-01-28T17:51:34.000Z
2016-09-01T01:53:19.000Z
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
1
2015-05-07T15:47:16.000Z
2015-05-07T15:47:16.000Z
Fog.NET/SvgDocument.cpp
Rungee/Fog.NET
b95ab0a6ae9a466825505ca4346133a1004cf333
[ "MIT" ]
null
null
null
/****************************************************************************** * * Name: SvgDocument.cpp * Project: Fog-Framework (Copyright (c) 2006-2011, Petr Kobalicek <kobalicek.petr@gmail.com>) C++/CLI Interface * Author: Maxim Rylov * *****************************************************************...
32.230769
113
0.652915
Rungee
5cf8ffa2a5ef989284712425c4c6c48b43a4694b
904
cpp
C++
catkin_ws/src/srrg2_solver/srrg2_solver/src/srrg_solver/variables_and_factors/types_2d/variable_se2_ad.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
124
2020-02-26T14:40:45.000Z
2022-03-29T11:11:48.000Z
catkin_ws/src/srrg2_solver/srrg2_solver/src/srrg_solver/variables_and_factors/types_2d/variable_se2_ad.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_solver/srrg2_solver/src/srrg_solver/variables_and_factors/types_2d/variable_se2_ad.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
16
2020-03-03T00:57:43.000Z
2022-03-15T00:50:12.000Z
#include "variable_se2_ad.h" #include "srrg_solver/solver_core/instance_macros.h" #include "srrg_solver/solver_core/variable_impl.cpp" namespace srrg2_solver { using namespace srrg2_core; template <typename VariableSE2_> VariableSE2AD_<VariableSE2_>::~VariableSE2AD_(){} template <typename VariableSE2_> voi...
28.25
96
0.75
laaners
9dc718db7c954e7c425e24963ed9b7d28279db8d
102,450
cpp
C++
ssrounding.cpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
5
2021-12-04T04:42:32.000Z
2022-01-21T13:23:47.000Z
ssrounding.cpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
null
null
null
ssrounding.cpp
xmuriqui/muriqui
ff1492c70e297077c9450ef9175e5a80c6627140
[ "MIT" ]
null
null
null
/* * This file implements the structured stochastic rounding heurist. An experimental feasibility heuristic from our heads * * 02, September, 2020 * * Author: Wendel Melo */ #include <cassert> #include <cstdlib> #include <cmath> #include <ctime> #include <iostream> #include <new> #include "MRQ_algClasses.hp...
36.394316
980
0.552025
xmuriqui
9dc8b48e6aa09b35926cb782ca3655d61830c83c
807
hpp
C++
src/core/lib/core_serialization/fixed_memory_stream.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_serialization/fixed_memory_stream.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_serialization/fixed_memory_stream.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#ifndef FIXED_MEMORY_STREAM_HPP #define FIXED_MEMORY_STREAM_HPP #include "i_datastream.hpp" #include "serialization_dll.hpp" namespace wgt { class SERIALIZATION_DLL FixedMemoryStream : public IDataStream { public: FixedMemoryStream(void* buffer, std::streamsize size); FixedMemoryStream(const void* buffer, std::stre...
27.827586
102
0.780669
wgsyd