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
628cb8829a20f7becc2f52bd0a7c1d992a26d812
16,159
hh
C++
core/iostream.hh
ducthangho/imdb
144be294949682cc1abb247dc56c2dfe0e4fafba
[ "Apache-2.0" ]
null
null
null
core/iostream.hh
ducthangho/imdb
144be294949682cc1abb247dc56c2dfe0e4fafba
[ "Apache-2.0" ]
null
null
null
core/iostream.hh
ducthangho/imdb
144be294949682cc1abb247dc56c2dfe0e4fafba
[ "Apache-2.0" ]
null
null
null
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
36.230942
144
0.622811
ducthangho
62949e8bd8513e581a54f3f25af9e3391f1cb932
12,728
cpp
C++
headers/linker.cpp
Laxen/object_identification_localization
658aad68c6e93386a6c49a810bd8620215a54440
[ "Unlicense" ]
6
2018-01-29T10:20:20.000Z
2021-06-13T05:35:32.000Z
headers/linker.cpp
Laxen/object_identification_localization
658aad68c6e93386a6c49a810bd8620215a54440
[ "Unlicense" ]
null
null
null
headers/linker.cpp
Laxen/object_identification_localization
658aad68c6e93386a6c49a810bd8620215a54440
[ "Unlicense" ]
2
2019-04-03T12:10:54.000Z
2019-05-13T09:44:01.000Z
#include "linker.h" bool Linker::poses_comparator(const Pose_Data& pose1, const Pose_Data& pose2) { return pose1.inlier_fraction > pose2.inlier_fraction; } bool Linker::id_comparator(const ID_Data& id1, const ID_Data& id2) { return id1.scores[0] < id2.scores[0]; } /** Links pose data from the merged cloud called...
45.620072
179
0.719045
Laxen
62a2691247bc3e7481468ed36136d70a3ac99a2e
480
cpp
C++
atcoder/abc168/b.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc168/b.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc168/b.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
// https://atcoder.jp/contests/abc168/tasks/abc168_b #include <bits/stdc++.h> #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int K; string S; cin >> K >> S...
17.777778
52
0.55
xirc
62a993753ae18d905faa64ac35935d3a7cfd92ec
3,720
cpp
C++
Day25/Day25.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
1
2018-12-05T18:32:50.000Z
2018-12-05T18:32:50.000Z
Day25/Day25.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
null
null
null
Day25/Day25.cpp
ATRI17Z/adventofcode18
5d743d7d277b416e3b5a287b0df598c4d5d67c6f
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <list> #include <array> #include <regex> #include <vector> typedef int ll; ll getManhattenDist4D(std::array<ll, 4>, std::array<ll, 4>); std::list<std::string> getInputPerLines(std::string); int main() { std::array<ll, 4> point; std::vector<std::ar...
25.655172
99
0.560753
ATRI17Z
62ade6f1df319792c79f00f6e4b4194a8d8b2d7c
1,015
cpp
C++
acm.hdu.edu.cn/2005/main.cpp
hunterMG/Algorithm
9435cec56ecf39c1e48725dc9fe06d8d6eacdb09
[ "Apache-2.0" ]
null
null
null
acm.hdu.edu.cn/2005/main.cpp
hunterMG/Algorithm
9435cec56ecf39c1e48725dc9fe06d8d6eacdb09
[ "Apache-2.0" ]
null
null
null
acm.hdu.edu.cn/2005/main.cpp
hunterMG/Algorithm
9435cec56ecf39c1e48725dc9fe06d8d6eacdb09
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdio> #include <cmath> #include <cstring> using namespace std; int main() { int m[13] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; int y,mon,d; char date[10];// 1985/1/20 while(~scanf("%s", date)){ getchar(); m[2] = 28; y = (date[0]-'0')*1000+(date[...
25.375
78
0.375369
hunterMG
62b355299e738802da25d86381eeab9604199668
1,680
cpp
C++
baremetal/Darwin/DarwinSerial.cpp
cmarrin/placid
deb5a5301de98011a3c2b312b068b325b5191c17
[ "MIT" ]
5
2018-10-07T11:13:18.000Z
2021-11-18T13:57:27.000Z
baremetal/Darwin/DarwinSerial.cpp
cmarrin/placid
deb5a5301de98011a3c2b312b068b325b5191c17
[ "MIT" ]
null
null
null
baremetal/Darwin/DarwinSerial.cpp
cmarrin/placid
deb5a5301de98011a3c2b312b068b325b5191c17
[ "MIT" ]
1
2018-12-07T18:20:17.000Z
2018-12-07T18:20:17.000Z
/*------------------------------------------------------------------------- This source file is a part of Placid For the latest info, see http:www.marrin.org/ Copyright (c) 2018-2019, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be found in...
18.26087
75
0.574405
cmarrin
62b445c9a6c11810df1ff6cde9a5f65e11b3515a
2,106
cc
C++
src/shapes/quad.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
20
2020-06-28T03:55:40.000Z
2022-03-08T06:00:31.000Z
src/shapes/quad.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
null
null
null
src/shapes/quad.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
1
2020-06-29T08:47:21.000Z
2020-06-29T08:47:21.000Z
// // Created by panda on 2021/2/28. // #include "quad.h" using namespace DR; Quad::Quad(observer_ptr<Transform> LocalToWorld, observer_ptr<Transform> WorldToObject, Point3f a, Point3f b, Point3f c, bool reverse) : Shape(LocalToWorld, WorldToObject, reverse) // clang-format off /* * ...
34.52459
78
0.581671
BlurryLight
62bb221b2319ebc04c68b74a53c08295f08adc42
1,358
cpp
C++
halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
25
2019-05-20T08:07:39.000Z
2021-08-17T11:25:02.000Z
halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
null
null
null
halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp
cjwcjswo/com2us_cppNetStudy_work
3aab26cfd2e9bf1544fa41a0f2694d81167b2584
[ "MIT" ]
17
2019-07-07T12:20:16.000Z
2022-01-11T08:27:44.000Z
#include <string> #include <ace/Singleton.h> #include "HalfNetworkType.h" #include "ReactorPool.h" namespace HalfNetwork { ///////////////////////////////////////// // ReactorTask ///////////////////////////////////////// ReactorTask::ReactorTask() { this->reactor(ACE_Reactor::instance()); } R...
20.268657
71
0.576583
cjwcjswo
62bdaeffef0d5c0a033cefe99c63556843f15e5e
3,249
cc
C++
server/dal/group_dao_impl.cc
nebula-im/imengine
c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459
[ "Apache-2.0" ]
12
2016-12-01T02:49:35.000Z
2020-11-23T14:32:24.000Z
server/dal/group_dao_impl.cc
nebula-im/imengine
c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459
[ "Apache-2.0" ]
null
null
null
server/dal/group_dao_impl.cc
nebula-im/imengine
c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459
[ "Apache-2.0" ]
6
2018-01-25T03:42:07.000Z
2020-11-03T04:19:21.000Z
/* * Copyright (c) 2016, https://github.com/nebula-im/imengine * 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....
45.125
148
0.480148
nebula-im
62bdb0d602368a1aba7f31194b7bf570985447e3
459
hpp
C++
src/keyhook.hpp
agrippa1994/node-win32-keyhook
3b3892c2f20c5821878d7d720f1dc671e7c0cbc3
[ "MIT" ]
3
2015-08-19T19:29:28.000Z
2016-11-15T07:41:06.000Z
src/keyhook.hpp
agrippa1994/node-win32-keyhook
3b3892c2f20c5821878d7d720f1dc671e7c0cbc3
[ "MIT" ]
null
null
null
src/keyhook.hpp
agrippa1994/node-win32-keyhook
3b3892c2f20c5821878d7d720f1dc671e7c0cbc3
[ "MIT" ]
null
null
null
#ifndef KEYHOOK_HPP #define KEYHOOK_HPP #include <string> #include <functional> typedef std::function<bool()> KeyPressedCallback; bool isKeyRegistered(const std::string& key); bool registerKey(const std::string& key, KeyPressedCallback callback); bool unregisterKey(const std::string& key); bool initializeKeyhook(...
20.863636
70
0.79085
agrippa1994
498ba48a20f7569d7ea878890b12a5fba546d518
787
cpp
C++
NAMESPACES in C++/namespace.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
NAMESPACES in C++/namespace.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
NAMESPACES in C++/namespace.cpp
anjali9811/Programming-in-Cpp
02e80e045a7fb20f8970fcdae68c08bdf27f95b8
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; /*program to explain the concept of namespaces namespaces consists of a set of identifiers which are local to that particular name space.Also namespaces are like the lastname of a 2 persons having different names. Like we can differentiate 2persons with smae first names using t...
26.233333
166
0.76493
anjali9811
498d73819a96ddf8ea1759cbfd7076d67af9f7cd
3,150
hh
C++
src/Zynga/Framework/StorableObject/V1/Base.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/StorableObject/V1/Base.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/StorableObject/V1/Base.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\StorableObject\V1; use JsonSerializable; use Zynga\Framework\StorableObject\V1\Interfaces\StorableObjectInterface; use Zynga\Framework\StorableObject\V1\Exceptions\MissingKeyFromImportDataException ; use Zynga\Framework\StorableObject\V1\Exceptions\UnsupportedTypeException;...
26.25
89
0.713333
chintan-j-patel
499065902e136fd401a2fcbc4826c7116b0293b3
828
cpp
C++
lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
null
null
null
lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
null
null
null
lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <iomanip> #include "console.h" #include "timer.h" #include "hashset.h" #include "lexicon.h" #include "queue.h" #include "set.h" #include "vector.h" #include "grid.h" #include "filelib.h" #include "gwindow.h" #include "gobjects.h" #include "simpio.h" #include "ghanoi.h" u...
19.714286
62
0.628019
tofergregg
49943a09d854cd6ab0ddb0b87fc8edf1c5ba6e6e
767
cpp
C++
Sorting/Optimised_BubbleSort.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
1
2020-10-21T07:53:54.000Z
2020-10-21T07:53:54.000Z
Sorting/Optimised_BubbleSort.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
null
null
null
Sorting/Optimised_BubbleSort.cpp
VanshMaheshwari30/DS-Algo
d47710387d78ed418a229b3a021ce37c9fcd949a
[ "MIT" ]
1
2020-10-20T09:11:34.000Z
2020-10-20T09:11:34.000Z
#include <bits/stdc++.h> using namespace std; void bubblesort(int a[],int n) { for (int i=0; i<n-1; i++) { bool swapped = false; for (int j=0; j<n-i-1; j++) { if (a[j]>a[j+1]) { swap(a[j],a[j+1]); swapped = true; } ...
20.72973
51
0.411995
VanshMaheshwari30
499884591bc69d37dac296592b1491123427b87d
12,848
cpp
C++
Gui/albaGUICrossSplitter.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Gui/albaGUICrossSplitter.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Gui/albaGUICrossSplitter.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaGUICrossSplitter Authors: Silvano Imboden Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without ev...
28.052402
94
0.511753
IOR-BIC
49a646f40e7e32094d7ee8470a1d9b27ee9537f2
6,940
cpp
C++
Source/Tools/alive_api/alive_api_test.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
1
2021-04-11T23:44:43.000Z
2021-04-11T23:44:43.000Z
Source/Tools/alive_api/alive_api_test.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
Source/Tools/alive_api/alive_api_test.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
#include "../AliveLibCommon/stdafx_common.h" #include "alive_api.hpp" #include "SDL.h" #include "logger.hpp" #include "AOTlvs.hpp" #include <gmock/gmock.h> #include "../AliveLibAE/DebugHelpers.hpp" const std::string kAEDir = "C:\\GOG Games\\Abes Exoddus\\"; const std::string kAODir = "C:\\GOG Games\\Abes Oddysee\\"; c...
27.109375
102
0.606916
THEONLYDarkShadow
49a89792602e67ef169ad5931e18c36d24956944
9,971
cpp
C++
components/modules/ds3231/ds3231.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
2
2021-07-19T12:03:39.000Z
2021-07-22T18:37:45.000Z
components/modules/ds3231/ds3231.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
null
null
null
components/modules/ds3231/ds3231.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
1
2021-07-08T09:07:10.000Z
2021-07-08T09:07:10.000Z
#include "ds3231.hpp" //Registers #define REG_SEC 0x00 #define REG_MIN 0x01 #define REG_HOUR 0x02 #define REG_DOW 0x03 #define REG_DATE 0x04 #define REG_MON 0x05 #define REG_YEAR 0x06 #define REG_CON 0x0e #define REG_STATUS 0x0f #define REG_AGING 0x10 #define REG_TEMPM 0x11 #define REG_TEMPL 0x12 ...
23.627962
90
0.664627
thmalmeida
49aaf4ac7f6b7fb8effddf07d0272531622de3f5
6,437
cpp
C++
AGNES.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
4
2016-12-16T16:42:41.000Z
2017-01-27T23:49:33.000Z
AGNES.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
null
null
null
AGNES.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include "AGNES.h" #include <iostream> #include "Silhouette.h" using namespace std; using namespace Silhouette; namespace AGNES { UnsupervisedNode* UnsupervisedNode::getChild1 (){return child1;} UnsupervisedNode* UnsupervisedNode::getChild2 (){return child2;} void...
41.262821
106
0.5762
Quanhaoli2641
49ae7cf017d7df0da7d85bfc9677fe387b4dd2d2
550
cpp
C++
src/limit.cpp
henrikt-ma/cadical
58331fd078cb5f76bae52e25de0e34c6a7dd4c1d
[ "MIT" ]
null
null
null
src/limit.cpp
henrikt-ma/cadical
58331fd078cb5f76bae52e25de0e34c6a7dd4c1d
[ "MIT" ]
null
null
null
src/limit.cpp
henrikt-ma/cadical
58331fd078cb5f76bae52e25de0e34c6a7dd4c1d
[ "MIT" ]
null
null
null
#include "internal.hpp" namespace CaDiCaL { Limit::Limit () { memset (this, 0, sizeof *this); } bool Internal::terminating () { if (termination) { LOG ("termination forced"); return true; } if (lim.conflict >= 0 && stats.conflicts >= lim.conflict) { LOG ("conflict limit %ld reached", lim.conflict);...
21.153846
61
0.616364
henrikt-ma
49b21525f89fdb60466b3d2d7515bfc68fda09a4
4,985
cpp
C++
src/WinTrek/Slideshow.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
1
2017-10-28T07:39:29.000Z
2017-10-28T07:39:29.000Z
src/WinTrek/Slideshow.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
null
null
null
src/WinTrek/Slideshow.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
null
null
null
#include "pch.h" #include "slideshow.h" ////////////////////////////////////////////////////////////////////////////// // // Training Screen // ////////////////////////////////////////////////////////////////////////////// void Slideshow::CleanUpTimers (void) { if (m_bInTimer) { // if a timer even...
26.801075
131
0.604614
nikodemak
49bdc478f03d5b57259e07de05882e47c3e581e7
3,224
hpp
C++
logger/logger.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
3
2022-01-25T19:31:17.000Z
2022-01-25T21:10:39.000Z
logger/logger.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
20
2021-12-17T14:58:00.000Z
2022-02-05T21:25:35.000Z
logger/logger.hpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
null
null
null
#pragma once #include <chrono> #include <fstream> #include <map> #include <memory> #include <sstream> #include <string> #include <vector> #include <boost/log/sinks/sync_frontend.hpp> #include <boost/log/sinks/text_file_backend.hpp> #include <boost/log/sinks/text_ostream_backend.hpp> #include "typedefs.hpp" enum cl...
31.607843
115
0.675248
mlohry
49c295ebfb66665055fce5546a6c9de1b1185948
9,696
hpp
C++
include/tao/algorithm/selection/min_max_element.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-01-13T09:20:58.000Z
2019-06-28T15:27:13.000Z
include/tao/algorithm/selection/min_max_element.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
null
null
null
include/tao/algorithm/selection/min_max_element.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-05-31T12:05:26.000Z
2019-10-13T22:36:32.000Z
//! \file tao/algorithm/selection/min_max_element.hpp // Tao.Algorithm // // Copyright (c) 2016-2021 Fernando Pelliccioni. // // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef TAO_ALGORITHM_SELECTION_MIN_MAX_ELEMENT_HPP_ #...
31.076923
105
0.60066
tao-cpp
49c47e8ccc1f031844436950f924c1d2ac308f50
3,550
cpp
C++
src/executors/groupby.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
src/executors/groupby.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
src/executors/groupby.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
#include "global.h" /** * @brief * SYNTAX: R <- GROUP BY <attr> FROM relation_name RETURN MIN|MAX|SUM|AVG(attr) */ bool syntacticParseGROUP() { logger.log("syntacticParseGROUP"); if (tokenizedQuery.size() != 9 || tokenizedQuery[3] != "BY" || tokenizedQuery[7] != "RETURN" || tokenizedQuery[5] != "FROM") ...
34.803922
161
0.63493
dhruvarya
49cc3d5ab65230e5f951f35388e76e4101d80aae
5,121
cpp
C++
src/blocks/falling.cpp
BonemealPioneer/Mineserver
0d0d9af02c3a76aab057798511683fed85e76463
[ "BSD-3-Clause" ]
93
2015-01-11T03:10:17.000Z
2022-01-27T15:53:35.000Z
src/blocks/falling.cpp
BonemealPioneer/Mineserver
0d0d9af02c3a76aab057798511683fed85e76463
[ "BSD-3-Clause" ]
6
2016-01-10T11:11:50.000Z
2019-10-31T05:23:58.000Z
src/blocks/falling.cpp
BonemealPioneer/Mineserver
0d0d9af02c3a76aab057798511683fed85e76463
[ "BSD-3-Clause" ]
35
2015-01-11T04:08:30.000Z
2022-02-11T10:17:20.000Z
/* Copyright (c) 2011, The Mineserver Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condition...
28.608939
117
0.68717
BonemealPioneer
49d0ad93f2733814bcdc3a2c80701f0e72f223dc
2,033
cpp
C++
basic-window/main.cpp
coltonhurst/learning-sdl
e629a24b851a6b409266e2514f1b94bc162f85d3
[ "MIT" ]
null
null
null
basic-window/main.cpp
coltonhurst/learning-sdl
e629a24b851a6b409266e2514f1b94bc162f85d3
[ "MIT" ]
null
null
null
basic-window/main.cpp
coltonhurst/learning-sdl
e629a24b851a6b409266e2514f1b94bc162f85d3
[ "MIT" ]
null
null
null
#include <SDL2/SDL.h> #include <iostream> const int WINDOW_HEIGHT = 640; const int WINDOW_WIDTH = 480; // Starting point. int main(int argc, const char * argv[]) { // Create the window & screen surface. // We render to the window & the surface is "contained" by the window. SDL_Window* window = nullptr; ...
29.042857
102
0.487949
coltonhurst
49d1f5e89dd6a3655548bc676cfc8ac33df047a3
3,185
cpp
C++
Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp
EpsilonsQc/Programmation-I
34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986
[ "MIT" ]
null
null
null
Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp
EpsilonsQc/Programmation-I
34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986
[ "MIT" ]
null
null
null
Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp
EpsilonsQc/Programmation-I
34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986
[ "MIT" ]
null
null
null
// The Tortoise and the Hare // Main.cpp (Main function | Program execution begins and ends there) /* EXERCICE 8.12 PSEUDOCODE - utilisation de nombre aléatoire pour recréation de la simulation - créer un array de 70 cases - chacune des 70 cases représente une position le long du parcours de course - ...
49.765625
216
0.6854
EpsilonsQc
49d7145725729878d437d073cf0594dbd68d839c
4,490
hh
C++
include/hcore/exception.hh
ecrc/hcorepp
5192f7334518e3b7fbffa8e2f56301f77c777c55
[ "BSD-3-Clause" ]
1
2021-09-13T17:06:34.000Z
2021-09-13T17:06:34.000Z
include/hcore/exception.hh
ecrc/hcorepp
5192f7334518e3b7fbffa8e2f56301f77c777c55
[ "BSD-3-Clause" ]
null
null
null
include/hcore/exception.hh
ecrc/hcorepp
5192f7334518e3b7fbffa8e2f56301f77c777c55
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2021, King Abdullah University of Science and Technology // (KAUST). All rights reserved. // SPDX-License-Identifier: BSD-3-Clause. See the accompanying LICENSE file. #ifndef HCORE_EXCEPTION_HH #define HCORE_EXCEPTION_HH #include <string> #include <cstdio> #include <cstdarg> #include <exception>...
32.536232
80
0.647216
ecrc
49d7d8f2724c252c81e0e4ffadee4979028d3186
198
cpp
C++
target/classes/top.chenqwwq/acwing/content/_56/C.cpp
CheNbXxx/_leetcode
d49786b376d7cf17e099af7dcda1a47866f7e194
[ "Apache-2.0" ]
null
null
null
target/classes/top.chenqwwq/acwing/content/_56/C.cpp
CheNbXxx/_leetcode
d49786b376d7cf17e099af7dcda1a47866f7e194
[ "Apache-2.0" ]
null
null
null
target/classes/top.chenqwwq/acwing/content/_56/C.cpp
CheNbXxx/_leetcode
d49786b376d7cf17e099af7dcda1a47866f7e194
[ "Apache-2.0" ]
null
null
null
// // Created by chenqwwq on 2022/6/18. // #include "stdc++.h" #include "common.h" #include "iostream" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); }
12.375
36
0.641414
CheNbXxx
49e8bb7742522cd602eb35a5fabf30f00d3f530d
479
cpp
C++
TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp
APBerg/TotalInsanity
35950d2dd8ea196b5a76f968033a63990aa50bd8
[ "MIT" ]
null
null
null
TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp
APBerg/TotalInsanity
35950d2dd8ea196b5a76f968033a63990aa50bd8
[ "MIT" ]
null
null
null
TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp
APBerg/TotalInsanity
35950d2dd8ea196b5a76f968033a63990aa50bd8
[ "MIT" ]
null
null
null
// Copyright Adam Berg 2017 #include "TIShootEffect.h" // Sets default values ATIShootEffect::ATIShootEffect() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true; } // Called when the game starts or when spawne...
17.107143
115
0.730689
APBerg
49e9501641183e601d40851df1fc9954e5359dd4
2,206
cpp
C++
source/component/Ray.cpp
xzrunner/editopgraph
1201c71285b417f8e4cbf2146f3acbd5b50aff61
[ "MIT" ]
null
null
null
source/component/Ray.cpp
xzrunner/editopgraph
1201c71285b417f8e4cbf2146f3acbd5b50aff61
[ "MIT" ]
null
null
null
source/component/Ray.cpp
xzrunner/editopgraph
1201c71285b417f8e4cbf2146f3acbd5b50aff61
[ "MIT" ]
null
null
null
#include "editopgraph/component/Ray.h" #include "editopgraph/CompHelper.h" #include "editopgraph/ParamImpl.h" #include "editopgraph/Context.h" #include <painting3/PerspCam.h> #include <painting3/Viewport.h> namespace editopgraph { namespace comp { void Ray::Execute(const std::shared_ptr<dag::Context>& ctx) { m_v...
28.649351
96
0.549864
xzrunner
49ee10a0eaea9ab4add5e5303cb60379b4cde470
10,973
cc
C++
tests/visqol_api_test.cc
bartvanerp/visqol
9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb
[ "Apache-2.0" ]
null
null
null
tests/visqol_api_test.cc
bartvanerp/visqol
9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb
[ "Apache-2.0" ]
null
null
null
tests/visqol_api_test.cc
bartvanerp/visqol
9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Google LLC, Andrew Hines // // 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...
37.707904
80
0.760868
bartvanerp
49ef9412b35915c185181db579fbfde345c49114
4,891
cpp
C++
ARPREC/arprec-2.2.13/src/div.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/src/div.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/src/div.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
/* * src/mpreal.cc * * This work was supported by the Director, Office of Science, Division * of Mathematical, Information, and Computational Sciences of the * U.S. Department of Energy under contract number DE-AC03-76SF00098. * * Copyright (c) 2002 * */ #include <arprec/mp_real.h> #include "small_inline.h" u...
26.015957
83
0.491924
paveloom-p
49f4cbdf6382fce666081e78703ca70c4dd019a7
784
cc
C++
code/render/physics/physx/physxhinge.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/physics/physx/physxhinge.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/physics/physx/physxhinge.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // physics/physx/physxhinge.cc // (C) 2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "physics/physx/physxhinge.h" #include "ext...
21.189189
80
0.423469
gscept
49f60a5116002e89286182579b4e0810935303c2
1,228
cpp
C++
gym/101992/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/101992/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/101992/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef DGC #include "debug.h" #else #define debug(...) 9715; #endif typedef long long ll; typedef long double ld; typedef complex<double> point; #define F first #define S second const int mod = 1e9+7; int dp[205][205][205]; void add(int &x, int y) { x += y; if (x >= m...
15.948052
43
0.491042
albexl
b701a409556873b9c54a13de7d60f9f99952ce99
996
cpp
C++
src/HTGTweetViewWindow.cpp
HaikuArchives/HaikuTwitter
61688f53de02820e801dd4126ff3c18b07fdd82f
[ "MIT" ]
4
2018-09-09T13:40:01.000Z
2022-03-27T10:00:24.000Z
src/HTGTweetViewWindow.cpp
HaikuArchives/HaikuTwitter
61688f53de02820e801dd4126ff3c18b07fdd82f
[ "MIT" ]
3
2016-04-02T05:59:43.000Z
2020-06-27T11:30:40.000Z
src/HTGTweetViewWindow.cpp
HaikuArchives/HaikuTwitter
61688f53de02820e801dd4126ff3c18b07fdd82f
[ "MIT" ]
6
2017-04-05T20:00:48.000Z
2020-10-26T08:35:11.000Z
/* * Copyright 2010 Martin Hebnes Pedersen, martinhpedersen @ "google mail" * All rights reserved. Distributed under the terms of the MIT License. */ #include "HTGTweetViewWindow.h" HTGTweetViewWindow::HTGTweetViewWindow(BWindow *parent, BList *tweets) : BWindow(BRect(300, 300, 615, 840), "Tweet Viewer", B_TITL...
20.75
89
0.75
HaikuArchives
8e6616d984cafa0516321ef863e20b641c07371e
489
hpp
C++
src/strong-types.hpp
tilnewman/castle-crawl
d9ce84eb0c29b640a1d78cca09ae2f267ba2a777
[ "CC0-1.0" ]
null
null
null
src/strong-types.hpp
tilnewman/castle-crawl
d9ce84eb0c29b640a1d78cca09ae2f267ba2a777
[ "CC0-1.0" ]
null
null
null
src/strong-types.hpp
tilnewman/castle-crawl
d9ce84eb0c29b640a1d78cca09ae2f267ba2a777
[ "CC0-1.0" ]
null
null
null
#ifndef CASTLECRAWL_STRONG_TYPES_HPP_INCLUDED #define CASTLECRAWL_STRONG_TYPES_HPP_INCLUDED // // strong-types.hpp // #include "strong-type.hpp" namespace castlecrawl { // phantom tags struct ArmorTag; // strong types using Armor_t = util::StrongType<int, ArmorTag>; // user defined literals ...
21.26087
95
0.744376
tilnewman
8e68677527d44e93def4cc676de51ef99ce59be9
2,098
cpp
C++
Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
/* * Author: Deklyn Palmer. * Editors: * - Deklyn Palmer. */ #include "ShaderManager.h" namespace Kross { ShaderManager* ShaderManager::m_Instance = nullptr; ShaderManager::~ShaderManager() { /* Destroy all the Shaders. */ for (int i = 0; i < m_Instance->m_Shaders.size(); i++) { Shader::OnDe...
20.772277
89
0.639657
Deklyn-Palmer
8e77c8b65e1a115502a7925c072aad85516edc19
1,212
hpp
C++
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2021-06-03T15:56:32.000Z
2021-06-03T15:56:32.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2015-08-05T05:51:49.000Z
2015-08-05T05:51:49.000Z
src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
null
null
null
#if !defined(SIP0X_PARSER_TOKENSIPMESSAGEHEADER_ACCEPT_ENCODING_HPP__) #define SIP0X_PARSER_TOKENSIPMESSAGEHEADER_ACCEPT_ENCODING_HPP__ #include "parser/tokens/TokenAbstract.hpp" #include "parser/tokens/Operators.hpp" #include "parser/tokens/TokenRegex.hpp" #include "parser/tokens/TokenSIPMethod.hpp" #include "pars...
26.933333
134
0.685644
zanfire
8e7954158da411790676266ca929404d39018dc9
293
cpp
C++
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <cstring> using namespace std; double squaresum(double a,double b){ return a*a+b*b; } int main(){ double a, b; cin >> a >> b; cout << squaresum(a,b); //system("pause > nul"); return 0; }
18.3125
36
0.614334
PC-DOS
8e83a03ca069f2e1934d5464346eb101163cd3b8
56,637
cpp
C++
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
///#define W32_BUILD ///#undef W32_BUILD #ifdef W32_BUILD #define NTDDI_VERSION 0x05010200 #define _WIN32_WINNT 0x0501 #endif ///#ifndef W32_BUILD ///#define HNI ///#undef HNI ///#endif #include <iostream> #include <cmath> #include <cinttypes> #include <thread> #include <mutex> #include <intrin.h> #include "setjm...
33.592527
215
0.610114
kazu-nanoha
8e83bcfaabbf612acfdb038749b5043345b70b7a
2,346
cpp
C++
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
29.696203
98
0.507246
vishnuk007
8e87d1ea8ddc6b31f98de81d6a9e252e1e4a26f9
580
cpp
C++
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
/* * https://blog.naver.com/jinhan814/222400578937 */ #include <bits/stdc++.h> #include <sys/stat.h> #include <sys/mman.h> using namespace std; int main() { struct stat st; fstat(0, &st); char* p = (char*)mmap(0, st.st_size, PROT_READ, MAP_SHARED, 0, 0); auto ReadInt = [&]() { int ret = 0; for (char c = *p++...
24.166667
67
0.524138
jinhan814
8e88ffdb44fa10c13a4a05e29143abca1544cfb5
426
hpp
C++
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
#pragma once #include <rcore/prelude.hpp> namespace rstd { inline std::istream &stdin_() { return rcore::stdin_(); } inline std::ostream &stdout_() { return rcore::stdout_(); } inline std::ostream &stderr_() { return rcore::stderr_(); } typedef rcore::Once Once; typedef rcore::Thread Thread; namespace thread { ...
18.521739
61
0.694836
agerasev
8e8b2b55ebd85f56968f92046be4946bd7d01de8
27,439
cpp
C++
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
27
2020-03-29T16:02:09.000Z
2021-12-18T20:08:51.000Z
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
22
2020-04-03T03:40:59.000Z
2022-03-29T15:55:28.000Z
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
2
2021-10-17T16:15:46.000Z
2022-01-10T18:56:49.000Z
#include "reader_statistics_screen.hpp" #include <iostream> #include <numeric> #include <regex> #include <boost/algorithm/string.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> namespace reader { //////////////////////////////////////// // // Class: statistics_screen_params // ///////////////////...
28.974657
204
0.688691
NiHoel
8e8c428082f3f640b1a82eaa4eea3a014391e900
1,796
cpp
C++
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------...
31.508772
197
0.754454
2bite
8e907c11dd1da0d4fb7850fd02019af2a6e95d0b
2,948
cpp
C++
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
null
null
null
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
1
2022-01-04T23:55:10.000Z
2022-01-04T23:55:10.000Z
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
null
null
null
#include <functional> #include <doctest/doctest.h> #include <shared_ptr/local_shared_ptr.hpp> TEST_SUITE("local::shared_ptr") // NOLINT { TEST_CASE("local::shared_ptr: make_shared works") // NOLINT { auto my_shared = wind::local::make_shared<int>(42); CHECK(*my_shared == 42); CHECK(m...
29.48
116
0.549864
anders-wind
8e90ad8a313ebb808860eb60c64b8a9db67a56c0
3,180
cpp
C++
src/scenes/SFPC/cantusFirmusRiley/cantusFirmusRiley.cpp
roymacdonald/ReCoded
3bcb3d579cdd17381e54a508a1e4ef9e3d5bc4f1
[ "MIT" ]
64
2017-06-12T19:24:08.000Z
2022-01-27T19:14:48.000Z
src/scenes/cantusFirmusRiley/cantusFirmusRiley.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
10
2017-06-13T10:38:39.000Z
2017-11-15T11:21:05.000Z
src/scenes/cantusFirmusRiley/cantusFirmusRiley.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
24
2017-06-11T08:14:46.000Z
2020-04-16T20:28:46.000Z
#include "cantusFirmusRiley.h" void cantusFirmusRiley::setup(){ ofBackground(255); size = 5000; y.c.setHex(0xA79C26); y.width = 9; p.c.setHex(0xC781A8); p.width = 9; b.c.setHex(0x64A2C9); b.width = 11; k.c.setHex(0x222B32); k.width = 39; w.c.setHex(0...
28.909091
85
0.56195
roymacdonald
8e96a905341164dea3c171b14db932528377fc12
20,491
cpp
C++
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
1
2015-10-21T14:36:43.000Z
2015-10-21T14:36:43.000Z
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015 Blob Robotics * * 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 S...
24.078731
118
0.48636
blobrobots
8eadbd122506a76c97abc89ea53a27bb84c106c3
2,229
cpp
C++
Plugins/MixedReality-OpenXR-Unreal/MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
peted70/hl2-ue-worldanchor-sample
e64515ff5821d1d11274fa9b78289445d6883e71
[ "MIT" ]
105
2020-11-24T17:24:36.000Z
2022-03-31T05:33:24.000Z
MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
Qianlixun/Microsoft-OpenXR-Unreal
977e4b16a016d29897f8bf2ee793ba034eddfbc8
[ "MIT" ]
20
2021-02-06T16:08:34.000Z
2022-03-10T15:07:30.000Z
MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
Qianlixun/Microsoft-OpenXR-Unreal
977e4b16a016d29897f8bf2ee793ba034eddfbc8
[ "MIT" ]
36
2020-11-26T15:14:50.000Z
2022-03-30T21:34:42.000Z
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "TrackedGeometryCollision.h" namespace MicrosoftOpenXR { TrackedGeometryCollision::TrackedGeometryCollision(const TArray<FVector> InVertices, const TArray<MRMESH_INDEX_TYPE> InIndices) { if (InVertices.Num() == 0) { retu...
32.304348
178
0.717811
peted70
8eae656c140630fcb82003e67a13410f602d9a22
4,851
cpp
C++
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
3
2019-04-21T00:58:44.000Z
2019-12-18T06:36:48.000Z
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
2
2020-08-08T17:54:23.000Z
2021-04-29T05:23:13.000Z
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
1
2019-04-21T01:20:20.000Z
2019-04-21T01:20:20.000Z
#include <iostream> #include "CSplitSys.h" using namespace std; // calculate w(21|543) // Method 1 w(21|543)= min{ // w(43|21)-w(51|43)+w(51|32)-w(54|32)+w(54|21), // w(53|21)-w(53|41)+w(41|32)-w(54|32)+w(54|21), // w(43|21)-w(51|43)+w(51|42)-w(53|4...
22.354839
80
0.531025
Tmyiri
8eaedf4e36b6b3aacf8dbe5cab481d6cece203d4
8,753
hpp
C++
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4,216
2015-01-01T02:06:12.000Z
2022-03-31T19:12:06.000Z
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,621
2015-01-01T01:41:47.000Z
2022-03-31T19:01:26.000Z
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,972
2015-01-01T23:37:13.000Z
2022-03-28T06:03:41.000Z
/** * @file methods/range_search/rs_model_impl.hpp * @author Ryan Curtin * * Implementation of serialize() and inline functions for RSModel. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD...
30.929329
80
0.607677
florian-rosenthal
8eb22800d61e3b40e628fa1436bf42cdd446fa87
1,461
cpp
C++
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/number-of-closed-islands/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; int x[4] = {-1, 0, 1, 0}; int y[4] = {0, -1, 0, 1}; bool dfs(int sr, int sc, vector< vector<int> >& grid) { grid[sr][sc] = 1; if(sr == 0 || sc == 0 || sr == grid.s...
22.476923
80
0.464066
shivamacs
8eb849f2a90f0aaac2f0f3de98d0a393fffc5fbb
15,981
cpp
C++
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
28
2015-08-16T16:43:27.000Z
2022-02-19T23:37:08.000Z
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
null
null
null
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
6
2015-10-02T21:34:38.000Z
2019-09-20T11:09:41.000Z
#include "cbase.h" #include "tier1/KeyValues.h" #include "gstring/gstring_cvars.h" #include "gstring/vgui/vgui_gstringoptions.h" #include "ienginevgui.h" #include "vgui_controls/Panel.h" #include "vgui_controls/CheckButton.h" #include "vgui_controls/ComboBox.h" #include "vgui_controls/Slider.h" #include "vgui_contro...
34.074627
115
0.73093
ChampionCynthia
8ebc620eee4b12815926d4c6596310b0d5f981ff
519
hpp
C++
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
109
2016-04-08T09:27:54.000Z
2022-03-15T02:10:47.000Z
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
595
2016-04-01T09:12:47.000Z
2022-03-31T23:44:58.000Z
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
52
2016-03-29T08:11:35.000Z
2022-03-11T07:37:38.000Z
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #ifndef NRN_DATA_LAYOUT_HPP #define NRN_DATA_LAYOUT_HPP ...
27.315789
81
0.535645
alexsavulescu
8ebc679c6e7131ac3b876970c2499840dc8323da
6,406
cpp
C++
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
#include "testApp.h" //-------------------------------------------------------------- void testApp::setup(){ cout << "WARNING: this program may take a while to load" << endl; ofBackground(127,127,127); ofSetWindowTitle( "Shader Texture Blending by Ruud Bijnen" ); ofSetFrameRate ( 30 ); ofSet...
32.353535
98
0.607868
zebradog
8ec17823b724f8047599e4bf863425aaf8d744e2
1,883
cpp
C++
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
4
2018-01-24T22:21:29.000Z
2021-03-21T18:14:57.000Z
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
null
null
null
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
1
2017-04-18T10:24:51.000Z
2017-04-18T10:24:51.000Z
#include "filesystem.h" int FileSystem::readFile(const char *title) { /* objective: to read a single file from multiple non-continuous sectors input: title: title of file return: 0: success 1: error effect: contents of file are printed, if success */ TypeCastEntry en...
30.370968
77
0.491768
sidvishnoi
8ec21fbffb9a28de422becf918f06a2869bc32f4
4,498
cpp
C++
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
14
2019-11-04T15:03:40.000Z
2021-09-07T17:29:40.000Z
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
11
2019-11-29T21:18:12.000Z
2021-12-22T21:36:40.000Z
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
17
2019-10-15T13:56:35.000Z
2021-10-20T17:21:14.000Z
//===-- Instrinsics.cpp - TSAR Intrinsic Function Handling ------*- C++ -*-===// // // Traits Static Analyzer (SAPFOR) // // Copyright 2018 DVM System Group // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
34.868217
80
0.715874
yukatan1701
8ecccc22e118a6bff9fc0589ec5024f050aa2f82
3,988
cpp
C++
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/SPLASH
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
12
2019-09-11T15:52:31.000Z
2021-11-14T20:33:35.000Z
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
227
2019-09-11T08:40:24.000Z
2020-06-26T14:12:07.000Z
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
2
2020-10-26T02:35:18.000Z
2020-10-26T02:36:01.000Z
#include "pch.h" #include "NetworkReceiverSystemHost.h" #include "../NetworkSenderSystem.h" #include "Network/NWrapperSingleton.h" #include "Sail/utils/Utils.h" #include "Sail/utils/GameDataTracker.h" #include "Sail/events/types/StartKillCamEvent.h" #include "Sail/events/types/StopKillCamEvent.h" #include "../SPLASH/s...
29.323529
109
0.758275
BTH-StoraSpel-DXR
8ecd289f93aedd0c2cc88098ac3d8885840171ab
3,185
cpp
C++
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
2
2016-11-22T04:25:54.000Z
2020-02-02T12:24:42.000Z
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
null
null
null
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
null
null
null
//===== Copyright Bit Mage's Stuff, All rights probably reserved. ===== // // Purpose: Five-SeveN weapon, FN Five-seven, ES Five-seven // //============================================================================= #include "cbase.h" #include "baseadvancedweapon.h" // memdbgon must be the last include file in a .cpp...
38.841463
79
0.686342
ZombieRoxtar
8ece732793da8be7ab07619ee3af03073f8e1d3c
1,001
hpp
C++
core/logging.hpp
sdulloor/cyclone
a4606bfb50fb8ce01e21f245624d2f4a98961039
[ "Apache-2.0" ]
7
2017-11-21T03:08:15.000Z
2019-02-13T08:05:37.000Z
core/logging.hpp
IntelLabs/LogReplicationRocksDB
74f33e9a54f3ae820060230e28c42274696bf2f7
[ "Apache-2.0" ]
null
null
null
core/logging.hpp
IntelLabs/LogReplicationRocksDB
74f33e9a54f3ae820060230e28c42274696bf2f7
[ "Apache-2.0" ]
4
2020-03-27T18:06:33.000Z
2021-03-24T09:56:17.000Z
#ifndef _LOGGING_ #define _LOGGING_ #include<iostream> #include<string> #include<sstream> #include<boost/thread.hpp> #include<boost/date_time/posix_time/posix_time.hpp> enum log_state { fatal = 0, error = 1, warning = 2, info = 3, debug=4, total = 5 }; static const char *log_headers[total] = {"FATAL", ...
19.627451
105
0.636364
sdulloor
8ed1fa2a918006b038fde4fa7a9d94ec0b4ec003
1,635
cpp
C++
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
#include <abt.h> #include <fmt/core.h> #include <algorithm> #include <iostream> #include <memory> #include <range/v3/view.hpp> #include <unused.hpp> #include <vector> using thread_arg_t = struct { size_t tid; }; void helloWorld(void* arg) { size_t tid = reinterpret_cast<thread_arg_t*>(arg)->tid; int rank; ABT_...
22.708333
69
0.654434
range3
8ed742b2a725aaeabaca5df0f7478ca02b000376
539
cpp
C++
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 100020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int main(int argc, char const *argv[]) { int a = 1,...
23.434783
60
0.528757
swwind
8ee459f7963a2eef725bd4b1b9102b9fbb011d33
984
hpp
C++
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <memory> #include <geometry/serialization/point_serialization.hpp> #include <serializer.hpp> #include <deserializer.hpp> namespace MLCMST::geometry::serialization { class PointSetSerializer final : public Serializer< std::vector<Point> > { public: PointSetSerializer(); ...
22.363636
84
0.748984
qaskai
8ee56b3553ff5b363d713e64adfb0ec99cf1a37d
10,991
cpp
C++
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
#include <ros/ros.h> #include <std_srvs/SetBool.h> #include <hear_msgs/set_float.h> #include <hear_msgs/set_bool.h> #include <std_msgs/Float32.h> #include <geometry_msgs/Point.h> #include <std_srvs/Empty.h> #include <tf2/LinearMath/Matrix3x3.h> #include <fstream> #include <sstream> #include <string> #include <vector> ...
36.036066
114
0.61514
AhmedHumais
8eeaa453dfee7eb78ccbc6267bd696e73e1e496b
1,542
cpp
C++
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * *************************************...
24.870968
96
0.659533
DonLakeFlyer
8eee3f2db028e9df12a5ffe16c14f15f4cf61b72
2,250
cpp
C++
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
5
2017-11-09T05:02:52.000Z
2020-06-23T09:50:25.000Z
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
#include "../../Include/Asyn.hpp" #include <chrono> #include "../../Include/Timer.hpp" #include "../../Include/Logger.hpp" namespace XGF { Asyn::Asyn() { } Asyn::~Asyn() { } void Asyn::PostEvent(EventIdType id, EventGroupType evGroup, std::initializer_list< EventDataType> init) { if (mIsExit) return; mMe...
21.028037
105
0.662667
kadds
8eef2a200c768a99ab2f01a79ee34ea8cc9e36a4
938
cpp
C++
src/allocateMem.cpp
neilenns/MobiFlight-FirmwareSource
af4d771ab26e8633f338298805e6fe56a855aa85
[ "MIT" ]
2
2022-03-07T08:10:51.000Z
2022-03-08T20:59:45.000Z
src/allocateMem.cpp
Jak-Kav/MobiFlight-FirmwareSource
fb14a2e134d12bbd26b18e15dd1e5fa16063c97a
[ "MIT" ]
13
2021-10-03T07:14:38.000Z
2021-10-14T14:11:42.000Z
src/allocateMem.cpp
Jak-Kav/MobiFlight-FirmwareSource
fb14a2e134d12bbd26b18e15dd1e5fa16063c97a
[ "MIT" ]
1
2021-10-16T15:57:18.000Z
2021-10-16T15:57:18.000Z
#include <Arduino.h> #include "MFBoards.h" #include "mobiflight.h" #include "allocateMem.h" #include "commandmessenger.h" char deviceBuffer[MF_MAX_DEVICEMEM] = {0}; uint16_t nextPointer = 0; char * allocateMemory(uint8_t size) { uint16_t actualPointer = nextPointer; nextPointer = actualPointer + size; if ...
22.878049
66
0.712154
neilenns
8ef60df2a1095a38a703f3b4dca398e357701095
240
hpp
C++
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
1
2020-06-16T10:32:06.000Z
2020-06-16T10:32:06.000Z
#pragma once #include <memory> #include "../level.hpp" namespace Levels { class Rocketball: public Level { public: Rocketball(); ~Rocketball(); void step() override; private: class Impl; std::unique_ptr<Impl> impl; }; }
10.909091
31
0.658333
piotrplaza
8efdf2d451fbf9fa2d5f5a722b548439c4daa461
3,302
cpp
C++
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
// // Created by malachi on 2/22/17. // #include <Arduino.h> #include <fact/CircularBuffer.h> #include <SimpleTimer.h> #include "state.h" namespace util = FactUtilEmbedded; const int SENSOR_PIN = 13; volatile uint16_t wigglesDetected = 0; util::layer1::CircularBuffer<uint16_t, 60> wigglesPerSecond; util::layer1::...
24.279412
93
0.698365
malachi-iot
f106aff47a1ae4cd247c4fed7146af25c047dd6f
2,966
cpp
C++
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// // main.cpp // // This program implements the sqrt() function for taking the square root // of a number using the following successive approximation technique: // // 1. Begin by guessing that the square root is x / 2. Call that guess g. // // 2. The actual square root must lie between g and x / g. // At each step...
26.963636
91
0.58294
heavy3
f10b116eee8ffd2d0bf1142c06cb1c9e980da5e8
3,075
cpp
C++
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
// merge two shorted linked list // by using the dummy node #include<stdio.h> #include<stdlib.h> // for malloc function stdlib .h will support it accordingly struct node { int data; struct node* next; }; void push(struct node **head,int data1) // here i am passing the address of the pointer to the struct ...
26.508621
157
0.625366
luckylove
f10c6dd590deb8c07b296a3e9b9a6c77a397d68a
1,079
cpp
C++
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const int maxn = 205; double P[maxn], dp[maxn][2]; int N, A[maxn]; char sig[maxn][2]; double solve (int bit, double s) { dp[0][0] = 1 - s, dp[0][1] = s; for (int i = 1; i <= N; i++) { for (int j = 0; j < 2; j++) dp...
21.58
51
0.437442
JeraKrs
f10cec96038fa56d2dc5f19e933b1745930dca38
1,273
cpp
C++
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
1
2020-01-13T17:39:20.000Z
2020-01-13T17:39:20.000Z
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
null
null
null
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
1
2019-12-14T12:07:48.000Z
2019-12-14T12:07:48.000Z
// test050.cpp - read column header / label by index #include <rapidcsv.h> #include "unittest.h" int main() { int rv = 0; std::string csv = "-,A,B,C\n" "1,3,9,81\n" "2,4,16,256\n" ; std::string path = unittest::TempPath(); unittest::WriteFile(path, csv); try { rapidcsv::Document doc...
26.520833
67
0.649647
mjj29
f10d654211dcb5c0b5131f29e7d40ff19dd249a3
5,659
cpp
C++
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
1
2017-05-12T19:46:57.000Z
2017-05-12T19:46:57.000Z
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
null
null
null
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> // same as stdlib.h (old) #include <ctime> // same as time.h (old) #include <vector> #include <limits> using namespace std; vector<char> charVector; void DisplayVector() { for(int i = 0; i < charVector.size(); i++) { cout << "[" << (i < 10 ? "0" : "") << i << "] " << charVe...
17.148485
75
0.545856
FattyMieo
f10ddf0f79d7e4cd24e51978d40b0ce6be9cea81
751
hpp
C++
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
// Copyright (C) 2021 Glenn Duncan <betajester@betajester.com> // See README.md, LICENSE, or go to https://github.com/BetaJester/nopengl // for details. #pragma once #include <chrono> #include <concepts> template<std::floating_point T> class [[nodiscard]] Timer final { std::chrono::high_resolution_c...
25.896552
108
0.661784
BetaJester
f10e4f51bce8cc153d79154dfe45f610abe162b5
728
cpp
C++
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; const int mod = 1e9 + 7; const int MAX = 1e5 + 7; using namespace std; typedef vector<int> vi; class Median { public: int n, x; vector<int> arr; void solve() { cin >> n >> x; int val; for (int i = 0; i < n; i++) { cin >> val; arr.push_back(val); } sort(arr....
19.157895
65
0.596154
seeva92
f111e135a21497ed46ed960a65d78879f8af88e9
3,253
cpp
C++
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c), Helios All rights reserved. Distributed under a permissive license. See COPYING.txt for details. */ #include "ImageViewerApplication.h" #include "MainWindow.h" #include "Script.h" #include <sstream> void ImageViewerApplication::handle_load(const QStringList &args){ if (args.size() < 4...
25.414063
73
0.682754
Helios-vmg
f1122b0f1c354a887a6ab28ffc007360f2f3673c
1,213
hpp
C++
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.UriParser #include "System/UriParser.hpp" // Com...
40.433333
133
0.732069
Futuremappermydud
f1139c8813c05e9c131a8782cc62d19d010e4c2d
786
cpp
C++
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { // DECLARACIONES DE VARIABLES // int para declarar varibales enteras // double para declarar variables numeros reales // string para delcarar cadena de caracteres // char para declara un caracter // bool para delc...
25.354839
56
0.620865
AntonioVillatoro
47dd6b1a6ea7124288472a0a0d0021ee76da3162
98
cpp
C++
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
1
2022-03-07T01:54:59.000Z
2022-03-07T01:54:59.000Z
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
20
2021-08-16T16:52:43.000Z
2022-03-26T02:47:09.000Z
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
null
null
null
#include "chromapch.h" #include "Time.h" namespace Chroma { Time* Time::m_Instance = nullptr; }
12.25
34
0.704082
ttalexander2
47df4e7e7ac69a26794d53e8fbb72b7b2611ffc9
2,239
cpp
C++
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) Canon Inc. 2016 * * Redistribution and use in source and binary forms, with or without * modification, are permitted, provided that the following conditions * are required to be met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and th...
39.280702
101
0.770433
ijsf
47e1cdc967d6d730212be9ed68faf2379bd503fd
2,152
cpp
C++
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
13
2020-12-02T02:13:29.000Z
2022-03-11T06:14:54.000Z
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
#include "Root/Root.h" #ifdef OAK_EDITOR #include "Editor/Editor.h" #endif namespace Oak { CLASSREG(Asset, AssetScene, "AssetScene") META_DATA_DESC(AssetScene) META_DATA_DESC_END() void AssetScene::EnableTasks(bool set) { GetScene()->EnableTasks(set); } Scene* AssetScene::GetScene() { if (!scene) { ...
19.743119
83
0.71329
ENgineE777
47e5c0da8f9310c17607f0b4d123db2fb0d999f8
510
hpp
C++
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021 Dr. Colin Hirsch and Daniel Frey // 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) #ifndef TAO_PEGTL_INTERNAL_EOL_PAIR_HPP #define TAO_PEGTL_INTERNAL_EOL_PAIR_HPP #include <cstddef> #incl...
25.5
91
0.766667
TheBB
47e7711fb408021c72e492e4e604f3609a06de80
245
cpp
C++
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
2
2021-08-25T08:03:07.000Z
2021-11-20T17:00:03.000Z
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
2
2017-03-11T02:30:13.000Z
2017-04-07T09:00:02.000Z
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
1
2018-11-16T17:08:47.000Z
2018-11-16T17:08:47.000Z
#include "../headers/SkyboxShader.h" SkyboxShader::SkyboxShader() :Shader() { } SkyboxShader::SkyboxShader(const char* vertex, const char* fragment) : Shader(std::string(vertex), std::string(fragment)){ } SkyboxShader::~SkyboxShader() { }
15.3125
122
0.714286
HamilcarR
47fa055422237635afb65e95b064a9c958d3d95d
1,570
hpp
C++
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#ifndef CAFFE_TRACKER_HALFMERGE_LAYER_HPP_ #define CAFFE_TRACKER_HALFMERGE_LAYER_HPP_ #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { /** * 该层用于对双通道样本进行合并。 * 计算方法: * Input(x): [2N,C,H,W] -> Output(y): [N,2C,H,W] * y(n,C+l,i,j) = x(N+n,l,i,j) * 该层在Tracker中...
31.4
78
0.703185
UrwLee
47fea34b9e1de67436a5ffda9629ad86a9810779
2,043
hpp
C++
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
3
2016-02-01T19:57:44.000Z
2020-11-12T22:59:29.000Z
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
null
null
null
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
null
null
null
// Copyright Joseph Dobson, Andrea Zanellato 2014 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef IRC_CTCP_PARSER_HPP #define IRC_CTCP_PARSER_HPP //SPEEDS UP SPIRIT COMPILE TIMES #d...
31.430769
83
0.605972
libircpp
9a00f9184b5d906a9a36bbcebec68a8c2b83c024
7,041
cpp
C++
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
/*============================================================================= FrEdToolBar.cpp: An editor main toolbar. Copyright Aug.2016 Vlad Gordienko. =============================================================================*/ #include "Editor.h" /*----------------------------------------------------...
32.901869
111
0.635989
VladGordienko28
9a0136876639975c58b343745082aad130f868bc
250
hpp
C++
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
#pragma once class Expression : public Symbol { public: Expression(Symbol *left); virtual ~Expression(); void setOp(int operation); int op(); virtual void add(Symbol *); protected: Symbol *m_left; Symbol *m_right; int m_op; };
12.5
32
0.668
rlucca
9a047c7f52d0b8ef23a63c442c700759dc8f7b82
9,712
cpp
C++
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
#include "glCompact/MemoryBarrier.hpp" #include "glCompact/Context_.hpp" #include "glCompact/threadContext_.hpp" #include "glCompact/gl/Constants.hpp" /** MEMORY BARRIER COMMANDS Memory barriers got introduced with image load/store operations. To be lightwight and performant there is no automatic ordering...
48.56
234
0.727759
PixelOfDeath
9a04bd03ec8aaed321813bc2040d7831823579b4
1,851
cpp
C++
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
4
2020-02-26T19:33:16.000Z
2020-12-06T07:50:11.000Z
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
12
2020-05-13T03:50:11.000Z
2021-09-16T16:26:06.000Z
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
10
2020-03-02T15:55:02.000Z
2021-12-03T02:44:10.000Z
#include <occa/lang/expr/leftUnaryOpNode.hpp> namespace occa { namespace lang { leftUnaryOpNode::leftUnaryOpNode(token_t *token_, const unaryOperator_t &op_, const exprNode &value_) : exprOpNode(token_, op_), value(value_.clone...
27.220588
71
0.572663
krowe-alcf
9a081e4dc68491ed31f03c11bdf8d26f976b979c
521
hpp
C++
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
4
2017-11-24T13:28:52.000Z
2019-12-09T19:52:51.000Z
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
2
2015-07-09T09:53:04.000Z
2016-05-06T05:09:04.000Z
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
null
null
null
#ifndef MI_NON_COPYABLE_HPP #define MI_NON_COPYABLE_HPP 1 namespace mi { class NonCopyable { private: NonCopyable ( const NonCopyable& that ); void operator = ( const NonCopyable& that ); public: NonCopyable ( void ) { ...
23.681818
60
0.435701
tmichi
9a12f9e2dacf00922a37a060eb6e641f28ba8564
2,003
cpp
C++
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
#include "RealVariable.hpp" #include <math.h> solver::RealVariable solver::operator==(const solver::RealVariable &ls, const solver::RealVariable &rs) { return ls - rs; } // support only form (x)^2 solver::RealVariable solver::operator^(const solver::RealVariable &ls, const solver::RealVariable &rs) { if (ls._deg...
28.614286
103
0.61358
Sarah-han
9a137fcea951ae14652ec074252709c2f52eb4c2
21,636
cpp
C++
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
2
2020-01-20T11:08:13.000Z
2020-09-01T17:35:56.000Z
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
1
2020-08-20T01:24:57.000Z
2020-08-20T01:24:57.000Z
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
1
2022-01-25T08:30:15.000Z
2022-01-25T08:30:15.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" #include "StreamingPageParam.h" #include "StreamingPage.xaml.h" using namespace IPStreamingCPP; using namespace AmcrestMotionDetection; using namespace FFmpegInteropExtRT; using namespace OnVifServicesRu...
30.008322
253
0.742235
srw2ho
9a147a08302fe45eddfb77567e7489f88065ce5c
644
hpp
C++
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
11
2018-02-08T14:50:16.000Z
2022-01-21T19:54:24.000Z
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
/* informationcard.hpp Simple helper class used in winoverlay.hpp / .cpp. Counts down its timeout and after that it starts fading in the subtitle and image. */ #pragma once #include <SFML/Graphics.hpp> class InformationCard : public sf::Drawable { private: float fadeTimeOut; int colorValue; sf::Sprite image;...
21.466667
109
0.75
TijmenUU
9a14e84c937df5ce584001d2231706c81e90f695
1,211
cpp
C++
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class Animal //定义基类 { public: Animal(int con_weight, int con_age); //声明带参构造函数 ~Animal() { cout << "Animal destructor!" << endl; } int get_age() { return m_nAge; } //获取m_nAge属性值 void speak() { cout << "animal language!" << endl; } private: ...
22.849057
84
0.601156
Marveliu
9a177211feed7e22ba2a45509653d9bd2010a525
2,248
hpp
C++
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
8
2020-01-26T15:26:27.000Z
2022-01-05T15:38:07.000Z
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
50
2019-08-29T23:52:43.000Z
2021-01-24T19:09:54.000Z
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
4
2019-06-15T17:23:57.000Z
2020-10-16T20:09:41.000Z
#ifndef SENSORCONFIGURATION_HPP #define SENSORCONFIGURATION_HPP #include <string> #include <math.h> #include <iostream> #include <array> #include <sstream> #include "libbsn/range/Range.hpp" namespace bsn { namespace configuration { class SensorConfiguration { public: SensorConfiguration(); SensorConf...
27.084337
73
0.683274
gabrielevi10
9a17d0c7f6a0cf1624878b9d909425202934b4f2
380
cpp
C++
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <memory> #include <rclcpp/rclcpp.hpp> #include "kobuki_node/kobuki_ros.hpp" int main(int argc, char** argv) { // Configures stdout stream for no buffering setvbuf(stdout, nullptr, _IONBF, BUFSIZ); rclcpp::init(argc, argv); rclcpp::spin(std::make_shared<kobuki_node::KobukiRos>(rcl...
18.095238
80
0.707895
RoboticsLabURJC
9a20107c36410583cd9701568f1da690d1b6aa45
4,072
cpp
C++
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
/* * Socket.cpp * MAMClient * * Created by Marc Addeo on 10/7/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "Socket.h" Socket::Socket( CryptoStuff *crypt ) : m_sock( -1 ) { memset( &this->m_addr, 0, sizeof( this->m_addr ) ); this->crypto = crypt; } Socket::~Socket( voi...
21.775401
104
0.5528
marcaddeo
9a3086bfcbea92e16f880f88b1a15e046b21ce41
11,633
cpp
C++
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
#include<stdio.h> #include<windows.h> #include<stdlib.h> #include<time.h> void ar(int*); void tictctoe(int,int*,char,char); int checkwin(int*,int); void cpuplay(int*,char); int checkcpunextmove(int*); int checkplayernextmove(int*); int checknextmove(int*); int checkcpunextmoveadv(int*); int checknextmoveadv...
18.494436
101
0.376945
anubhawbhalotia
9a34a83de7464a3f9e10ed962cec0cf28f8fcd2c
381
cpp
C++
src/stkdata/ColumnDefInt.cpp
s-takeuchi/YaizuComLib
de1c881a4b743bafec22f7ea2d263572c474cbfe
[ "MIT" ]
4
2017-02-21T23:25:23.000Z
2022-01-30T20:17:22.000Z
src/stkdata/ColumnDefInt.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
161
2015-05-16T14:26:36.000Z
2021-11-25T05:07:56.000Z
src/stkdata/ColumnDefInt.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
1
2019-12-06T10:24:45.000Z
2019-12-06T10:24:45.000Z
#include "stkdata.h" #include "../stkpl/StkPl.h" // Constructor ColumnDefInt::ColumnDefInt() { } // Constructor ColumnDefInt::ColumnDefInt(const wchar_t* ColumnName) { StkPlWcsNCpy(m_ColumnName, COLUMN_NAME_SIZE, ColumnName, COLUMN_NAME_SIZE - 1); m_ColumnName[COLUMN_NAME_SIZE - 1] = L'\0'; m_ColumnType = COLUMN_...
18.142857
80
0.745407
s-takeuchi