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
15ea3ecde4733a3e20052b4a81f09ee8400f6a40
713
cpp
C++
PRACTICE/cntMvs_Hanoi.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/cntMvs_Hanoi.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
PRACTICE/cntMvs_Hanoi.cpp
prasantmahato/CP-Practice
54ca79117fcb0e2722bfbd1007b972a3874bef03
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; int num=0; void tower_of_brahma(int n,char a, char c,char b,char p) { if(n==0) exit(0); if(n==1) { cout<<"\nMove Disk "<<n<<" from "<<a<<" to "<<c; { if((a=='x' || b=='x'|| c=='x') && (a==p || b==p || c==p))...
16.97619
69
0.4446
prasantmahato
15ebaa37a6285c8fb979107dbc94bfba7d7dee1b
142
hxx
C++
src/Providers/UNIXProviders/PolicyRuleValidityPeriod/UNIX_PolicyRuleValidityPeriod_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/PolicyRuleValidityPeriod/UNIX_PolicyRuleValidityPeriod_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/PolicyRuleValidityPeriod/UNIX_PolicyRuleValidityPeriod_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_ZOS #ifndef __UNIX_POLICYRULEVALIDITYPERIOD_PRIVATE_H #define __UNIX_POLICYRULEVALIDITYPERIOD_PRIVATE_H #endif #endif
11.833333
49
0.866197
brunolauze
15ecef24af6f7759bcada9beba84d795cc6dc336
22,295
hpp
C++
include/adl/std/string_view.hpp
flisboac/adl
a29f4ab2652e8146d4f97fd10f52526e4bc3563c
[ "MIT" ]
2
2021-01-12T12:04:09.000Z
2022-03-21T10:09:54.000Z
include/adl/std/string_view.hpp
flisboac/adl
a29f4ab2652e8146d4f97fd10f52526e4bc3563c
[ "MIT" ]
70
2017-02-25T16:37:48.000Z
2018-01-28T22:15:42.000Z
include/adl/std/string_view.hpp
flisboac/adl
a29f4ab2652e8146d4f97fd10f52526e4bc3563c
[ "MIT" ]
null
null
null
// $flisboac 2017-04-01 /** * @file string_view.hpp */ #ifndef adl__std__string_view__hpp__ #define adl__std__string_view__hpp__ #if adl_CONFIG_LANG_IS_CPP17 #include <string_view> #else #include "adl/char_helper.hpp" #endif #include <string> #include <iterator> #include <type_traits> #include <stdexcept> ...
33.831563
116
0.719847
flisboac
15f5fbbf52fa8d2cbc7eb0886eee9fcbd7631cba
967
cpp
C++
plugins/imageviewer2/src/imageviewer2.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
plugins/imageviewer2/src/imageviewer2.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
plugins/imageviewer2/src/imageviewer2.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
/** * MegaMol * Copyright (c) 2009-2021, MegaMol Dev Team * All rights reserved. */ #include "mmcore/utility/plugins/AbstractPluginInstance.h" #include "mmcore/utility/plugins/PluginRegister.h" #include "imageviewer2/ImageRenderer.h" namespace megamol::imageviewer2 { class Imaggeviewer2PluginInstance : publi...
30.21875
120
0.698035
sellendk
15f7e542004949e62ed8473a52c962fa9cfb8d32
3,450
cpp
C++
modules/task_3/pyatckin_n_integrals_rectangle/integrals_rectangle.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/pyatckin_n_integrals_rectangle/integrals_rectangle.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/pyatckin_n_integrals_rectangle/integrals_rectangle.cpp
Gurgen-Arm/pp_2021_autumn
ad549e49d765612c4544f34b04c9eb9432ac0dc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Pyatckin Nikolai #include <math.h> #include <mpi.h> #include <random> #include <iostream> #include <algorithm> #include <functional> #include <vector> #include <utility> #include "../../../modules/task_3/pyatckin_n_integrals_rectangle/integrals_rectangle.h" double ParallelIntegral(std::function<doubl...
30
87
0.526667
Gurgen-Arm
15f8d353eea57eae2457178605a9a659a97ae4e3
7,621
cpp
C++
src/TympanRemoteFormatter.cpp
jamescookmd/Tympan_Library
2d29cb8edbb281584668dd799f95eada11826b38
[ "MIT" ]
89
2017-03-25T19:27:07.000Z
2022-03-21T21:11:03.000Z
src/TympanRemoteFormatter.cpp
jamescookmd/Tympan_Library
2d29cb8edbb281584668dd799f95eada11826b38
[ "MIT" ]
43
2017-05-31T14:38:33.000Z
2022-03-29T09:34:58.000Z
src/TympanRemoteFormatter.cpp
jamescookmd/Tympan_Library
2d29cb8edbb281584668dd799f95eada11826b38
[ "MIT" ]
22
2017-03-07T22:15:59.000Z
2021-12-18T15:23:04.000Z
#include <TympanRemoteFormatter.h> String TR_Button::asString(void) { String s; //original method //s = "{'label':'" + label + "','cmd':'" + command + "','id':'" + id + "','width':'" + width + "'}"; //new method...don't waste time transmitting fields that don't exist s = "{"; if (label.length() > 0) s.conca...
23.594427
107
0.583257
jamescookmd
15fc69abe3f37640a4c6717bcfc94f1fc05cfdbb
5,276
cpp
C++
source/systems/enemysystem.cpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
41
2020-01-31T15:18:57.000Z
2022-03-12T05:48:21.000Z
source/systems/enemysystem.cpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
2
2020-01-31T15:18:52.000Z
2022-02-16T12:21:45.000Z
source/systems/enemysystem.cpp
alohaeee/DungeonSlayer
b1a95031371b5f5b3be8f8d592a56140047e61da
[ "MIT" ]
4
2020-03-27T05:10:19.000Z
2021-02-22T09:18:34.000Z
#include "enemysystem.hpp" #include "../core.hpp" #include <queue> void EnemyCreate(Vector2D spawn) { auto enemy = registry.create(); registry.assign<Enemy>(enemy); auto &pos = registry.assign<Position>(enemy); pos.position = spawn; auto &rect = registry.assign<RectCollider>(enemy); auto &spri...
30.674419
81
0.539803
alohaeee
15fe425b500e890081af3276130fa48b5feb2512
1,085
cpp
C++
Pagerank_viz/pagenode.cpp
Ybalrid/pagerank_stocha_4A
8f265ad70f5284374922ba7988baaf5c99085abd
[ "MIT" ]
null
null
null
Pagerank_viz/pagenode.cpp
Ybalrid/pagerank_stocha_4A
8f265ad70f5284374922ba7988baaf5c99085abd
[ "MIT" ]
null
null
null
Pagerank_viz/pagenode.cpp
Ybalrid/pagerank_stocha_4A
8f265ad70f5284374922ba7988baaf5c99085abd
[ "MIT" ]
null
null
null
#include "pagenode.h" PageNode::PageNode(QString accessUrl) : url(accessUrl), elipse(nullptr), urlTag(nullptr), active(false), rank(0) { } void PageNode::linkTo(PageNode *otherPage) { linkedPages.push_back(otherPage); qDebug() << "Page " << url << " has an hyperlink to " << otherPage->getUr...
13.910256
80
0.668203
Ybalrid
15fedd99cf14f5ba20b3ebde86fb4f81c78b372f
3,082
cpp
C++
Magic-Name/main.cpp
KSCreator/General-Programs
b51cb9cc36e6eda72f3b402e278f25b512e9daa2
[ "MIT" ]
null
null
null
Magic-Name/main.cpp
KSCreator/General-Programs
b51cb9cc36e6eda72f3b402e278f25b512e9daa2
[ "MIT" ]
null
null
null
Magic-Name/main.cpp
KSCreator/General-Programs
b51cb9cc36e6eda72f3b402e278f25b512e9daa2
[ "MIT" ]
null
null
null
/* author : Keshav Sahu */ #include <cstdio> #include <cstring> #include <cctype> #include <cstdlib> using namespace std; void print(char c) { if(islower(c)) c = toupper(c); switch(c) { case 'A': printf("ooooo\no o\nooooo\no o\no o\n\n\n"); break; case '...
24.656
58
0.41207
KSCreator
c600a2b7c9054ffe775bb57ef175a0f3f6e8ae76
11,795
cpp
C++
Src/Celbody/Moon/ELP82.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Celbody/Moon/ELP82.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Celbody/Moon/ELP82.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
#include <math.h> #include <fstream> #include "OrbiterAPI.h" using namespace std; // #define INCLUDE_TIDAL_PERT // Uncomment this to add higher-order perturbation terms // (tidal, relativistic, solar eccentricity) // Warning: Using this can lead to inconsistencies since these // effects are not currently modelled in...
27.303241
99
0.519118
Ybalrid
c60449d7a65fc4646ff830bb201ff8f7875eea77
2,357
cpp
C++
MORE CODING PLATFORMS/SPOJ/cot.cpp
Autoratch/CodeChef
6937e6b442e19df90a65f772939db9ab1a07a1b3
[ "Apache-2.0" ]
null
null
null
MORE CODING PLATFORMS/SPOJ/cot.cpp
Autoratch/CodeChef
6937e6b442e19df90a65f772939db9ab1a07a1b3
[ "Apache-2.0" ]
null
null
null
MORE CODING PLATFORMS/SPOJ/cot.cpp
Autoratch/CodeChef
6937e6b442e19df90a65f772939db9ab1a07a1b3
[ "Apache-2.0" ]
null
null
null
// https://www.spoj.com/problems/COT/ #include <bits/stdc++.h> using namespace std; const int N = 1.2e5; const int K = 20; int n,q; pair<int,int> res[N]; int id[N]; vector<int> adj[N]; struct node { int val,left,right; }tree[N*50]; int dp[K][N],lv[N]; int root[N],cnt; int clone(int idx){ tree[++cnt] = tree[idx]...
24.552083
119
0.518456
Autoratch
c60c8bff9e1ff6d3b43ff765aa2a409a62c1a729
1,634
cpp
C++
JAERO/zmq_audiosender.cpp
Roethenbach/JAERO
753a4409507a356489f3635b93dc16955c8cf01a
[ "MIT" ]
152
2015-12-02T01:38:42.000Z
2022-03-29T10:41:37.000Z
JAERO/zmq_audiosender.cpp
Roethenbach/JAERO
753a4409507a356489f3635b93dc16955c8cf01a
[ "MIT" ]
59
2015-12-02T02:11:24.000Z
2022-03-21T02:48:11.000Z
JAERO/zmq_audiosender.cpp
Roethenbach/JAERO
753a4409507a356489f3635b93dc16955c8cf01a
[ "MIT" ]
38
2015-12-07T16:24:03.000Z
2021-12-25T15:44:27.000Z
#include "zmq_audiosender.h" #include "zmq.h" #include <QDebug> ZMQAudioSender::ZMQAudioSender(QObject *parent) : QObject(parent) { zmqStatus = -1; context = zmq_ctx_new(); publisher = zmq_socket(context, ZMQ_PUB); int keepalive = 1; int keepalivecnt = 10; int keepaliveidle = 1; int keepal...
31.423077
110
0.709302
Roethenbach
c60fe3d4e0fd8982b78cc8624913bfd71ef4d7b9
1,054
hpp
C++
src/dp/lcs.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
src/dp/lcs.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
src/dp/lcs.hpp
today2098/algorithm
b180355635d3d1ea0a8c3dff40ae1c9bac636f95
[ "MIT" ]
null
null
null
#ifndef ALGORITHM_LCS_HPP #define ALGORITHM_LCS_HPP #include <algorithm> #include <string> #include <vector> namespace algorithm { // 最長共通部分列 (LCS:Longest Common Subsequence). O(|A|*|B|). template <class Class> Class lcs(const Class &a, const Class &b) { int an = a.size(), bn = b.size(); std::vector<std::vec...
26.35
111
0.44592
today2098
c61002540bab6c6d6a88589cba8f69b3771fa016
34,655
cpp
C++
renderer/scene.cpp
Svengali/Granite
90de56b405455ccf70deaa5befe762a2bbc7777e
[ "MIT" ]
null
null
null
renderer/scene.cpp
Svengali/Granite
90de56b405455ccf70deaa5befe762a2bbc7777e
[ "MIT" ]
null
null
null
renderer/scene.cpp
Svengali/Granite
90de56b405455ccf70deaa5befe762a2bbc7777e
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * 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, me...
33.909002
189
0.734872
Svengali
723e6aaad59bcfc5f04cde68e3bd5c4dda8fd5d8
1,145
cpp
C++
main/dashboard.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
2
2019-01-08T12:51:04.000Z
2019-01-08T12:51:04.000Z
main/dashboard.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
main/dashboard.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2014 Lucas Nunes de Lima * * 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 a...
26.627907
85
0.636681
lucasnunes
7241690856675888fdc257715c9d94e3c534ef4f
2,282
cpp
C++
codeforces/599E.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
codeforces/599E.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
codeforces/599E.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; } ll dp[13][1<<13]; int ex[13], ey[13]; int ax[10...
23.285714
71
0.402279
swwind
724200aec014f9fed920f59d271ef751f882b96a
809
hpp
C++
src/model/Object.hpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
src/model/Object.hpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
src/model/Object.hpp
Vict0rynox/ft_retro
fe3ab75fb86406367837ba393e1c221133590bf4
[ "MIT" ]
null
null
null
// // Created by Victor Vasiliev on 11/4/17. // #ifndef FT_RETRO_OBJECT_HPP #define FT_RETRO_OBJECT_HPP #include <string> #include "Position.hpp" namespace Model { class Object { protected: const std::string name; Model::Position position; bool isDestroyed; bool isNotIntersection; public: Object(); v...
21.289474
69
0.730532
Vict0rynox
72445ea49f2159927813b1208056f7637cc1251b
6,815
hpp
C++
src/EngineImpl/EngineObjectSerilization.hpp
cyf-gh/HoneyGame
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
3
2021-11-27T01:24:26.000Z
2021-12-31T07:17:38.000Z
src/EngineImpl/EngineObjectSerilization.hpp
cyf-gh/HGEngine
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
null
null
null
src/EngineImpl/EngineObjectSerilization.hpp
cyf-gh/HGEngine
2448f4574c6e1a847f1395d97a3186d79b499b22
[ "MIT" ]
1
2021-10-01T07:18:58.000Z
2021-10-01T07:18:58.000Z
#pragma once #include <Serialization.h> #include <Memory.h> #include "EngineImpl.h" #include "Scene.h" #include "Transform.hpp" #include "Animation.h" #include "Collision.h" #include "Timer.hpp" #include "RigidBody.h" namespace HGEngine { namespace V1SDL { class GameObjectFactory : HG::Memory::NonCopyable { public: ...
29.375
144
0.759208
cyf-gh
724da682e8d7cd313ec97c14438a25c420bf930b
5,838
cpp
C++
src/nvilidar_node.cpp
nvilidar/nvilidar_ros
dc03c44e581cb328f6dbdd23f63344c0e6a73d4b
[ "BSD-3-Clause" ]
null
null
null
src/nvilidar_node.cpp
nvilidar/nvilidar_ros
dc03c44e581cb328f6dbdd23f63344c0e6a73d4b
[ "BSD-3-Clause" ]
1
2021-11-22T06:44:48.000Z
2021-12-09T02:53:01.000Z
src/nvilidar_node.cpp
nvilidar/nvilidar_ros
dc03c44e581cb328f6dbdd23f63344c0e6a73d4b
[ "BSD-3-Clause" ]
null
null
null
#include "ros/ros.h" #include <vector> #include <iostream> #include <string.h> #include "sensor_msgs/LaserScan.h" #include "nvilidar_process.h" #include "nvilidar_def.h" using namespace nvilidar; #define ROSVerision "1.0.8" int main(int argc, char * argv[]) { ros::init(argc, argv, "nvilidar_node"); printf(...
41.112676
118
0.585988
nvilidar
72552a27087650526330ce8bc4cddfc193cba1fd
6,282
cpp
C++
samples/old/sample_condens_tracking.cpp
gtmtg/cvdrone
ef736dc7a2a1a806f7cea4088268e439e53c1f33
[ "BSD-3-Clause" ]
1
2015-01-04T16:22:31.000Z
2015-01-04T16:22:31.000Z
cvdrone/samples/old/sample_condens_tracking.cpp
MLHCoderTeam/ARDrone
b7b51a2e8c172944c04e7b64bb792b68931e6d3f
[ "MIT" ]
null
null
null
cvdrone/samples/old/sample_condens_tracking.cpp
MLHCoderTeam/ARDrone
b7b51a2e8c172944c04e7b64bb792b68931e6d3f
[ "MIT" ]
1
2018-02-28T17:29:35.000Z
2018-02-28T17:29:35.000Z
#include "ardrone/ardrone.h" #include "opencv2/legacy/legacy.hpp" #include "opencv2/legacy/compat.hpp" // -------------------------------------------------------------------------- // main(Number of arguments, Argument values) // Description : This is the entry point of the program. // Return value : SUCCESS:0 ERROR...
35.094972
121
0.550143
gtmtg
725848bbef08765ee3c2fd3a438ff55a57a816d3
314
cpp
C++
src/HttpException.cpp
Andreev-Sergey/diadocsdk-cpp
01d9fa2b90bc6f42ef3d9c20f29207b3a5bf6eda
[ "MIT" ]
7
2016-05-31T17:37:54.000Z
2022-01-17T14:28:18.000Z
src/HttpException.cpp
Andreev-Sergey/diadocsdk-cpp
01d9fa2b90bc6f42ef3d9c20f29207b3a5bf6eda
[ "MIT" ]
22
2017-02-07T09:34:02.000Z
2021-09-06T08:08:34.000Z
src/HttpException.cpp
Andreev-Sergey/diadocsdk-cpp
01d9fa2b90bc6f42ef3d9c20f29207b3a5bf6eda
[ "MIT" ]
23
2016-06-07T06:11:47.000Z
2020-10-06T13:00:21.000Z
#include "StdAfx.h" #include "HttpException.h" HttpException::HttpException(const std::string& message, DWORD statusCode, const std::string& serverMessage) : std::runtime_error(message + ": " + serverMessage) , StatusCode(statusCode) , ServerMessage(serverMessage) { } HttpException::~HttpException(void) { }
22.428571
108
0.751592
Andreev-Sergey
725a6fee179a041420c62fba2778f9c48875c24f
885
cpp
C++
plugin_III/game_III/COneSheet.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_III/game_III/COneSheet.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_III/game_III/COneSheet.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "COneSheet.h" PLUGIN_SOURCE_FILE int addrof(COneSheet::AddToList) = ADDRESS_BY_VERSION(0x512650, 0x512860, 0x51...
36.875
101
0.769492
gta-chaos-mod
725a8de4df3ddf457f4cb88bfedb7bda0b6cadcc
4,830
cpp
C++
gbEmu/src/Gb.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
2
2021-04-27T00:54:47.000Z
2021-06-07T13:41:25.000Z
gbEmu/src/Gb.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
null
null
null
gbEmu/src/Gb.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
null
null
null
#include "../include/Gb.h" namespace gbEmu { Gb::Gb() :mmu(), cpu(&mmu), ppu(&mmu), joypad(&mmu) { mmu.connectJoypad(&joypad); //cart.load("roms/Kirby's Dream Land.gb"); //cart.load("roms/Pokemon Red.gb"); //cart.load("roms/SUPERMAR.gbc"); //cart.lo...
28.75
68
0.478882
Mesiow
725b571610b47c931e2d3339b7b584a39cd9c48d
383
hpp
C++
include/experimental/status_value.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/status_value.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/status_value.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// 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) // // (C) Copyright 2019 Vicente J. Botet Escriba #ifndef JASEL_EXPERIMENTAL_STATUS_VALUE_HPP #define JASEL_EXPERIMENTAL_STATUS_VALUE_HPP #include <experimental/f...
29.461538
68
0.793734
jwakely
7265ba91a6d32c39d10da1194ee098b04f73e398
532
cpp
C++
practice/linked_list/reverse_ll.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
practice/linked_list/reverse_ll.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
practice/linked_list/reverse_ll.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // a recursive version // it is more elegant // struct Node { int data; struct Node *next; } // Should reverse list and return new head. struct Node* reverseList(struct Node *head) { // code here // return head of reversed list if(head->next == NULL)...
15.647059
52
0.62218
sidgairo18
726be744b2811e53c76fd038f580d4111cf5e1c4
756
cpp
C++
src/util/util_env.cpp
ChaosInitiative/dxvk-native
516c0a44b82d4b3d5000762594e0424eb383b9dd
[ "Zlib" ]
3
2020-12-20T08:53:33.000Z
2022-01-20T16:46:39.000Z
src/util/util_env.cpp
ChaosInitiative/dxvk-native
516c0a44b82d4b3d5000762594e0424eb383b9dd
[ "Zlib" ]
null
null
null
src/util/util_env.cpp
ChaosInitiative/dxvk-native
516c0a44b82d4b3d5000762594e0424eb383b9dd
[ "Zlib" ]
null
null
null
#include "util_env.h" namespace dxvk::env { #ifndef DXVK_NATIVE constexpr char dirSlash = '\\'; #else constexpr char dirSlash = '/'; #endif std::string getEnvVar(const char* name) { #ifdef DXVK_NATIVE char* result = std::getenv(name); return (result) ? result : ""; #else std::vector<WC...
18.9
92
0.616402
ChaosInitiative
726d09348dc66999cbe9d81150f434b8a8db666f
5,942
cpp
C++
GUI/control.cpp
MasterLufier/FT800-FT813
9297b7bfb26d7fe7b0f032b9d8145b3af975ac09
[ "MIT" ]
null
null
null
GUI/control.cpp
MasterLufier/FT800-FT813
9297b7bfb26d7fe7b0f032b9d8145b3af975ac09
[ "MIT" ]
null
null
null
GUI/control.cpp
MasterLufier/FT800-FT813
9297b7bfb26d7fe7b0f032b9d8145b3af975ac09
[ "MIT" ]
null
null
null
#include "control.h" namespace FTGUI { Button::Button(string label, Widget * parent) : Rectangle(parent) { m_name = "Button"; m_label = new Label(label, this); m_label->setHorizontalAlignment(Label::HCenter); m_label->setVerticalAlignment(Label::VCenter); m_label->setColor(m_theme->onPrimary(...
21.070922
83
0.551498
MasterLufier
726e1a8ee51fb97176e7fc711d90dfa8c7e9a528
279
hpp
C++
WICWIU_src/Utils.hpp
KwonYeseong/WICWIU_stamp
690c3f194e507b59510229ed12a16f759235342c
[ "Apache-2.0" ]
3
2019-03-03T10:39:20.000Z
2020-08-10T12:45:06.000Z
WICWIU_src/Utils.hpp
yoondonghwee/WICWIU
2c515108985abf91802dd02a423be94afc883b2e
[ "Apache-2.0" ]
null
null
null
WICWIU_src/Utils.hpp
yoondonghwee/WICWIU
2c515108985abf91802dd02a423be94afc883b2e
[ "Apache-2.0" ]
null
null
null
#ifndef UTILS_H_ #define UTILS_H_ value #ifdef __CUDNN__ #define MAX_CUDA_DEVICE 32 int GetCurrentCudaDevice(); void GetKernelParameters(int totalThread, int *pNoBlock, int *pThreadsPerBlock, int blockSize = 128); #endif // ifdef __CUDNN__ #endif // ifndef UTILS_H_
17.4375
101
0.763441
KwonYeseong
7271e994bcf6bfa9176fa08e62727f15d22d8b51
2,026
cpp
C++
src/Reader/IniConfigReader.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Reader/IniConfigReader.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Reader/IniConfigReader.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
#include "IniConfigReader.hpp" namespace Sarah { namespace IO { IniConfigReader::IniConfigReader(std::string p_filePath): BaseReader(p_filePath) { } bool IniConfigReader::Read() { unsigned int vNumLine = 0; boost::smatch vMatches; const boost::regex vSectRegex("\\s*\\[.+\\]\\s*"); std::string vLine...
25.974359
141
0.63771
fcaillaud
72724c64c69adc56877a8001b9e6686ba46a87a2
1,379
cpp
C++
src/Text.cpp
JohnBobSmith/SpaceyRocks
3ee95fbdd11f2f7c972b869931cce6c426c878d0
[ "MIT" ]
1
2019-04-19T05:08:25.000Z
2019-04-19T05:08:25.000Z
src/Text.cpp
JohnBobSmith/SpaceyRocks
3ee95fbdd11f2f7c972b869931cce6c426c878d0
[ "MIT" ]
null
null
null
src/Text.cpp
JohnBobSmith/SpaceyRocks
3ee95fbdd11f2f7c972b869931cce6c426c878d0
[ "MIT" ]
null
null
null
#include "Resources.h" #include "Text.h" #include "G_Miscfuncandvar.h" Text::Text() { //Screen dimensions G_Miscfuncandvar gmiscfuncandvar; //Load our font blockFont.loadFromFile( PKGDATADIR "/fonts/ehsmb.ttf"); //Load our game over text gameOverText.setFont(blockFont); gameOverText.setSt...
31.340909
100
0.725163
JohnBobSmith
72725dd87581dfa00f6c62f946932c03bf3f3fd3
1,937
cpp
C++
src/point_cloud_assembler_srv.cpp
StratomInc/laser_assembler
25640f99d043b37e34310e5e0194496b8cc55895
[ "Apache-2.0" ]
null
null
null
src/point_cloud_assembler_srv.cpp
StratomInc/laser_assembler
25640f99d043b37e34310e5e0194496b8cc55895
[ "Apache-2.0" ]
null
null
null
src/point_cloud_assembler_srv.cpp
StratomInc/laser_assembler
25640f99d043b37e34310e5e0194496b8cc55895
[ "Apache-2.0" ]
1
2021-04-08T15:03:40.000Z
2021-04-08T15:03:40.000Z
// Copyright 2018 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
29.348485
125
0.740836
StratomInc
727886d722fca616a9c4ac7ed4292cd9bd757a94
225
cpp
C++
tests/main.cpp
arthurchaloin/indie
84fa7f0864c54e4b35620235ca4e852d7b85fffd
[ "MIT" ]
null
null
null
tests/main.cpp
arthurchaloin/indie
84fa7f0864c54e4b35620235ca4e852d7b85fffd
[ "MIT" ]
null
null
null
tests/main.cpp
arthurchaloin/indie
84fa7f0864c54e4b35620235ca4e852d7b85fffd
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2017 ** indie ** File description: ** A file for indie - Paul Laffitte */ #include <gtest/gtest.h> int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
13.235294
38
0.671111
arthurchaloin
727b41d53150f4cc5c2a53a47e5bd2c77ebe1c83
477
cpp
C++
build/b4-e6-2d-e0-5c-5d/user_app.cpp
chp-lab/nx2003-kidbright
1660fccae722f61b56194cb44857c3e724e4c159
[ "MIT" ]
null
null
null
build/b4-e6-2d-e0-5c-5d/user_app.cpp
chp-lab/nx2003-kidbright
1660fccae722f61b56194cb44857c3e724e4c159
[ "MIT" ]
null
null
null
build/b4-e6-2d-e0-5c-5d/user_app.cpp
chp-lab/nx2003-kidbright
1660fccae722f61b56194cb44857c3e724e4c159
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <WiFi.h> #include <WiFiClient.h> #include <WiFiAP.h> #include <WebServer.h> #include <NX2003BUZZER.h> NX2003BUZZER music = NX2003BUZZER(); void setup() { music.begin(); } void loop() { music.song((std::vector<int>{262,523,220,440,233,466,-1,-1,175,349,147,294,156,311,-1,-1,1...
19.08
244
0.668763
chp-lab
727b96770131694f5aa981bbc58a6a8113311d46
261
cpp
C++
judges/codeforces/exercises/anton_and_letters.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/codeforces/exercises/anton_and_letters.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/codeforces/exercises/anton_and_letters.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin, s); set<char> st; for(auto c : s) if((c >= 97 and c<= 122) or (c >= 65 and c<= 90)) st.insert(c); cout << st.size() << "\n"; return 0; }
16.3125
57
0.482759
eduardonunes2525
727ea4f7adc197c7824460b9f2a8fcb17a618b5a
6,269
hh
C++
dune/xt/grid/grids.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
2
2016-04-04T08:06:07.000Z
2020-02-08T04:10:38.000Z
dune/xt/grid/grids.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
77
2016-01-24T22:11:21.000Z
2020-03-25T08:30:31.000Z
dune/xt/grid/grids.hh
dune-community/dune-xt-grid
3453f6619fabc016beaf32409627fec8712f3ef9
[ "BSD-2-Clause" ]
4
2016-11-08T10:12:44.000Z
2020-02-08T04:10:41.000Z
// This file is part of the dune-xt-grid project: // https://github.com/dune-community/dune-xt-grid // Copyright 2009-2018 dune-xt-grid developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensou...
31.984694
100
0.63471
dune-community
7282ae0314a78ba4f7b08e35c668c741d77384ab
3,510
cc
C++
cpp/23/23b.cc
ckennelly/advent-of-code-2020
c0ff6bb50b74873f6cc74aa432438a9e1d6aac06
[ "Apache-2.0" ]
null
null
null
cpp/23/23b.cc
ckennelly/advent-of-code-2020
c0ff6bb50b74873f6cc74aa432438a9e1d6aac06
[ "Apache-2.0" ]
null
null
null
cpp/23/23b.cc
ckennelly/advent-of-code-2020
c0ff6bb50b74873f6cc74aa432438a9e1d6aac06
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <map> #include <regex> #include <set> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/ascii.h" #include "absl/strings/numbers.h" #include "...
27.421875
86
0.567806
ckennelly
728589903c6585c21588bc3609b009f31c6e32df
572
hpp
C++
src/score/Score.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
src/score/Score.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
src/score/Score.hpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** cpp_arcade ** File description: ** */ #ifndef SCORE_HPP #define SCORE_HPP #define SAVE_EXTENSION ".log" #define SAVE_PATH "./.save/" namespace Arcade{ class Score { public: Score(); ~Score(); public: void addGame(std::string &); std::map<std::string, std::string> getGameSta...
17.875
67
0.664336
rectoria
7289002d01f4f9da506733556e686207fe86f0a4
765
cpp
C++
FootCommander.cpp
OmerK25/CPP-WarGame
641921f65781ed2ee28b153012e0b8926696db11
[ "MIT" ]
null
null
null
FootCommander.cpp
OmerK25/CPP-WarGame
641921f65781ed2ee28b153012e0b8926696db11
[ "MIT" ]
null
null
null
FootCommander.cpp
OmerK25/CPP-WarGame
641921f65781ed2ee28b153012e0b8926696db11
[ "MIT" ]
1
2020-06-08T17:12:48.000Z
2020-06-08T17:12:48.000Z
#include <vector> #include "FootCommander.hpp" #include <iostream> void FootCommander::act(vector<vector<Soldier *>> &board, pair<int, int> location) { FootSoldier::act(board, location); act_as_commander(board, location); } void FootCommander::act_as_commander(vector<vector<Soldier *>> &board, pair<int, int> lo...
30.6
106
0.56732
OmerK25
729697e6b1993a884f83d7e0d5953ac6d1b49f91
347
cpp
C++
code/source/common/events/KeyPressEvent.cpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
code/source/common/events/KeyPressEvent.cpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
code/source/common/events/KeyPressEvent.cpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
#include "common/events/KeyPressEvent.hpp" namespace id { namespace events { KeyPressEvent::KeyPressEvent(int keyCode, State state) : id::events::PressEvent(state), m_keyCode(keyCode) { /* do nothing */ } int KeyPressEvent::getKeyCode() { return m_keyCode; } ...
24.785714
64
0.587896
StuntHacks
729a52697d4cad565ddcd4deffc2f0a061ac9ee4
1,813
cpp
C++
Mesh.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
5
2020-03-06T10:01:28.000Z
2020-05-06T07:57:20.000Z
Mesh.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
1
2020-03-06T02:51:50.000Z
2020-03-06T04:33:30.000Z
Mesh.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
29
2020-03-05T15:15:24.000Z
2021-07-21T07:05:00.000Z
#include "Mesh.hpp" #include "VertexBufferLayout.hpp" #include "Renderer.hpp" Mesh::Mesh(std::vector<Vertex> &vertices, std::vector<uint> &indices, const std::unordered_map<std::string, Texture> &texturesLoaded, std::vector<std::string> &textures) : m_TexturesLoaded(texturesLoaded), m_Vertices(vertices), ...
26.275362
169
0.66299
rabinadk1
729bb991876d772189dc4e027fe93c7d6d13e33f
887
cpp
C++
src/il/processing/il-processing.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
1
2019-07-01T02:02:40.000Z
2019-07-01T02:02:40.000Z
src/il/processing/il-processing.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
null
null
null
src/il/processing/il-processing.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
null
null
null
#include "il-processing.hpp" #include <type_traits> #include "common/logger.hpp" #include "il-pass.hpp" #include "passes/misc/il-clean-pass.hpp" #include "passes/misc/il-dependency-pass.hpp" #include "passes/misc/il-marker-pass.hpp" namespace Noctis { template<typename T, typename... Args> void ILProces...
25.342857
64
0.683202
noct-lang
729d54b118a8e70c51384c2bd381bbb94f2f72e3
1,877
cpp
C++
PAT/PAT Advanced/c++/1034.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Advanced/c++/1034.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Advanced/c++/1034.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <cstdio> #include <iostream> #include <map> #include <functional> #include <string> #include <vector> using namespace std; //PAT Advanced Level 1034 Head of a Gang /* 直接用两个map进行姓名与int ID的转换 * DFS遍历连通分量,某连通分量满足条件,即为结果之一,此处存入以帮主名称为key的map中 */ map<int,string> hashToName; map<string,int> nameToHash; map<strin...
23.759494
61
0.520511
Accelerator404
729d5f6617baedc2e5768926b22c2ebaa0aa66bd
1,070
cpp
C++
Casino_Inc/Source/Casino_Inc/Data/CI_WeigthedInteractionChance.cpp
matthieu1345/CasinoInc
3f6db9038c191fb5037219dbd8db5c7041b8292e
[ "Apache-2.0" ]
1
2019-11-22T14:52:37.000Z
2019-11-22T14:52:37.000Z
Casino_Inc/Source/Casino_Inc/Data/CI_WeigthedInteractionChance.cpp
matthieu1345/CasinoInc
3f6db9038c191fb5037219dbd8db5c7041b8292e
[ "Apache-2.0" ]
1
2019-11-21T03:58:03.000Z
2019-11-21T03:58:03.000Z
Casino_Inc/Source/Casino_Inc/Data/CI_WeigthedInteractionChance.cpp
matthieu1345/CasinoInc
3f6db9038c191fb5037219dbd8db5c7041b8292e
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "CI_WeigthedInteractionChance.h" #include "DebugMacros.h" void FWeightedInteractionResult::OnPostDataImport(const UDataTable* InDataTable, const FName InRowName, TArray<FString>& OutCollectedImportProblems) { int totalChance = 0...
22.765957
103
0.742991
matthieu1345
72a0ff04140f5f16d2ba92bbd273d3c65cd303f6
4,430
cpp
C++
solver/solver.cpp
ale64bit/kaktusat
afaac943079665184f900f318e7ac901619269dc
[ "MIT" ]
1
2021-11-17T13:43:12.000Z
2021-11-17T13:43:12.000Z
solver/solver.cpp
ale64bit/kaktusat
afaac943079665184f900f318e7ac901619269dc
[ "MIT" ]
null
null
null
solver/solver.cpp
ale64bit/kaktusat
afaac943079665184f900f318e7ac901619269dc
[ "MIT" ]
null
null
null
#include "solver.h" #include <set> #include <sstream> namespace solver { // A prefix used for temporary variables, which can't be used in ordinary // variables. static constexpr char kTmpSep = '$'; Var::Var(int x) : x(x) { CHECK(x > 0) << "variable representation must be positive, got x=" << x; } bool Var::operat...
26.058824
80
0.579684
ale64bit
72a1453d5fb959c8f97b29e4110a2ca2154389b5
2,091
cc
C++
flare/base/object_pool/ref_counted_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
2
2021-05-29T04:04:17.000Z
2022-02-04T05:33:17.000Z
flare/base/object_pool/ref_counted_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
flare/base/object_pool/ref_counted_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
1
2022-02-17T10:13:04.000Z
2022-02-17T10:13:04.000Z
// Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
30.304348
80
0.721186
LiuYuHui
72b0cb8382a022bcf2e5df7bc50664890e0baf2b
25,212
cpp
C++
p/validador/Measurer.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/validador/Measurer.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
p/validador/Measurer.cpp
jose-lp/docker-ie0521
e2c471bdc79fd94cb6dca4fe0cecc3ab2a649d7d
[ "MIT" ]
null
null
null
#include "Measurer.h" using namespace std; Measurer::Measurer() { cm = 1.0; cf = 1.0; cs = 1.0; misses = 0; false_positives = 0; missmatches = 0; false_negatives = 0; gt_objects = 0; tk_objects = 0; missmatch_error = 0; detection_error = 0; report_level = BASIC_LEVEL; motp_error=0.0; motp_matches = 0; preci...
37.855856
120
0.65096
jose-lp
72b50511dccafe526b02a66a55caac71c7d0084d
1,283
hpp
C++
src/common/types.hpp
marcesengel/realm-js
74b06e0f2aec8526056ccae1da6056e521853a44
[ "Apache-1.1" ]
null
null
null
src/common/types.hpp
marcesengel/realm-js
74b06e0f2aec8526056ccae1da6056e521853a44
[ "Apache-1.1" ]
null
null
null
src/common/types.hpp
marcesengel/realm-js
74b06e0f2aec8526056ccae1da6056e521853a44
[ "Apache-1.1" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
24.207547
76
0.577553
marcesengel
72b5c8d1c96cba94634aa99a07bac06bec91d2dd
2,347
cpp
C++
src/absolutePoseEstimation/rotationAveraging/RelativePosesG2oFormat.cpp
leoneed03/reconstrutor
5e6417ed2b090617202cad1a10010141e4ce6615
[ "MIT" ]
null
null
null
src/absolutePoseEstimation/rotationAveraging/RelativePosesG2oFormat.cpp
leoneed03/reconstrutor
5e6417ed2b090617202cad1a10010141e4ce6615
[ "MIT" ]
1
2021-05-21T15:52:37.000Z
2021-05-24T11:34:46.000Z
src/absolutePoseEstimation/rotationAveraging/RelativePosesG2oFormat.cpp
leoneed03/reconstrutor
5e6417ed2b090617202cad1a10010141e4ce6615
[ "MIT" ]
null
null
null
// // Copyright (c) Leonid Seniukov. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. // #include "absolutePoseEstimation/rotationAveraging/RelativePosesG2oFormat.h" namespace gdr { RelativePosesG2oFormat::RelativePosesG2oFormat(const std::vector<RotationM...
39.116667
256
0.63187
leoneed03
72ba34c8d2c1cfa6e90221f37fb0f58e013976b9
1,748
hpp
C++
include/lol/def/GameflowLcdsGameDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/GameflowLcdsGameDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/GameflowLcdsGameDTO.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct GameflowLcdsGameDTO { uint64_t id; int32_t mapId; std::string gameState; std::string queueTypeName; std::string gameMode; int32_t gameTypeConfigId; int32_t maxNumPlayers; std::string gameType; int32_t spectatorDelay; ...
38
92
0.641304
Maufeat
72bb0a2fd8801002cb62f7ce5aefc2cdd705d356
71,100
cpp
C++
Source/source/mob_script_action.cpp
shantonusen/Pikifen
5a90f804fdf78bfd198eb838200a7aaf6d7ea842
[ "MIT" ]
null
null
null
Source/source/mob_script_action.cpp
shantonusen/Pikifen
5a90f804fdf78bfd198eb838200a7aaf6d7ea842
[ "MIT" ]
null
null
null
Source/source/mob_script_action.cpp
shantonusen/Pikifen
5a90f804fdf78bfd198eb838200a7aaf6d7ea842
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Mob script action classes and * related functions. */...
30.515021
80
0.522714
shantonusen
72c1b748ab5c3dfc784d038e4eeea1cce78b47e5
623
cpp
C++
hostsampleapp/uwp/Common/PerceptionTypes.cpp
sereilly/MixedReality-HolographicRemoting-Samples
d6ff35e13a5edda41e074b355bf82e875ab24e4a
[ "MIT" ]
null
null
null
hostsampleapp/uwp/Common/PerceptionTypes.cpp
sereilly/MixedReality-HolographicRemoting-Samples
d6ff35e13a5edda41e074b355bf82e875ab24e4a
[ "MIT" ]
null
null
null
hostsampleapp/uwp/Common/PerceptionTypes.cpp
sereilly/MixedReality-HolographicRemoting-Samples
d6ff35e13a5edda41e074b355bf82e875ab24e4a
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
32.789474
89
0.566613
sereilly
72c1e2a0e1b07c400d95eb0841381aae9b6d107c
4,264
hpp
C++
librt/include/material.hpp
julitopower/RayTracingWeekend
0b9035f596fe33b39eb8a476a729a01dfecd2a1e
[ "MIT" ]
1
2018-12-22T00:12:10.000Z
2018-12-22T00:12:10.000Z
librt/include/material.hpp
julitopower/RayTracingWeekend
0b9035f596fe33b39eb8a476a729a01dfecd2a1e
[ "MIT" ]
null
null
null
librt/include/material.hpp
julitopower/RayTracingWeekend
0b9035f596fe33b39eb8a476a729a01dfecd2a1e
[ "MIT" ]
1
2019-04-09T12:51:49.000Z
2019-04-09T12:51:49.000Z
#ifndef MATERIAL_HPP #define MATERIAL_HPP #include <map> #include <memory> #include <string> #include <vector.hpp> #include <texture.hpp> namespace rt { class Hit; class Ray; /*! * \brief Abstract representation of a material that can be associated with * a object. Material is also used to decorate a Hit....
25.842424
94
0.681989
julitopower
72c8b0e1c3c67a575cea76d95ca253c44ac1feeb
392
hpp
C++
include/cgl/map.hpp
sdragonx/cgl
d8d45d3a3930bc8f3d0851371760742fda4733b8
[ "MIT" ]
1
2020-12-30T06:35:47.000Z
2020-12-30T06:35:47.000Z
include/cgl/map.hpp
sdragonx/cgl
d8d45d3a3930bc8f3d0851371760742fda4733b8
[ "MIT" ]
null
null
null
include/cgl/map.hpp
sdragonx/cgl
d8d45d3a3930bc8f3d0851371760742fda4733b8
[ "MIT" ]
null
null
null
/* Copyright (c) 2005-2020 sdragonx (mail:sdragonx@foxmail.com) map.hpp 2018-10-20 08:57:26 */ #ifndef MAP_HPP_20181020085726 #define MAP_HPP_20181020085726 #include <cgl/std/map/cmap.hpp> #include <cgl/std/map/dual_map.hpp> #include <cgl/std/map/idmap.hpp> #include <cgl/std/map/hashmap.hpp> nam...
17.818182
62
0.709184
sdragonx
72d034f5d0523280715e05e1f3aeedad78e97678
1,972
cpp
C++
src/catamorph/interpreters/variable_ordering.cpp
geisserf/lemon-dd
e7518886ce7dc5960f16d799c8ff6450ea67e7ae
[ "BSL-1.0" ]
2
2018-10-26T11:21:13.000Z
2020-06-04T11:31:03.000Z
src/catamorph/interpreters/variable_ordering.cpp
geisserf/lemon-dd
e7518886ce7dc5960f16d799c8ff6450ea67e7ae
[ "BSL-1.0" ]
10
2018-11-28T08:55:51.000Z
2018-12-04T09:15:17.000Z
src/catamorph/interpreters/variable_ordering.cpp
geisserf/lemon-dd
e7518886ce7dc5960f16d799c8ff6450ea67e7ae
[ "BSL-1.0" ]
null
null
null
#include "variable_ordering.h" #include "../../parser.h" #include "dependencies.h" #include <iomanip> #include <iostream> #include <stack> ASTNode::ASTNode() : value("{}"), topo_order(-1), variable(false) {} ASTNode::ASTNode(double value) : value(std::to_string(value)), topo_order(0), variable(false) {} ASTNode...
29.432836
80
0.60497
geisserf
72db594e5f5b029db43a3c22f46144f096f92012
2,749
cxx
C++
Readers/DXFReader/vtkDXFBlock.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
4
2016-01-21T21:45:43.000Z
2021-07-31T19:24:09.000Z
Readers/DXFReader/vtkDXFBlock.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
null
null
null
Readers/DXFReader/vtkDXFBlock.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
6
2015-08-31T06:21:03.000Z
2021-07-31T19:24:10.000Z
// By: Eric Daoust && Matthew Livingstone #include "vtkDXFBlock.h" #include <vtksys/ios/sstream> #include "vtkObjectFactory.h" #include "vtkPolyData.h" #include "vtkCollection.h" #include "vtkTransform.h" #include "vtkTransformFilter.h" vtkCxxRevisionMacro(vtkDXFBlock, "$Revision: 1 $"); vtkStandardNewMacro(vtkDXFBloc...
31.965116
105
0.734085
ObjectivitySRC
72e0f706f4400101306f7b0a889f95cec8db7696
4,905
hpp
C++
libraries/ThreadAPI/include/thread/Thread.hpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
7
2020-12-15T14:27:02.000Z
2022-03-23T12:00:13.000Z
libraries/ThreadAPI/include/thread/Thread.hpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
null
null
null
libraries/ThreadAPI/include/thread/Thread.hpp
StratifyLabs/API
ca0bf670653b78da43ad416cd1c5e977c8549eeb
[ "MIT" ]
1
2021-01-06T14:51:51.000Z
2021-01-06T14:51:51.000Z
// Copyright 2011-2021 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md #ifndef THREADAPI_THREAD_THREAD_HPP #define THREADAPI_THREAD_THREAD_HPP #include <pthread.h> #include <csignal> #include "Sched.hpp" #include "chrono/ClockTime.hpp" namespace thread { class Thread : public api::ExecutionContext { public: ...
27.711864
94
0.723547
StratifyLabs
72e664d59e9416fe65c76d37c3f3c0acf8e3d9c9
925
cpp
C++
arc058_b/Main.cpp
s-shirayama/AtCoder
8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8
[ "MIT" ]
null
null
null
arc058_b/Main.cpp
s-shirayama/AtCoder
8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8
[ "MIT" ]
null
null
null
arc058_b/Main.cpp
s-shirayama/AtCoder
8bb777af516a6a24ce88a5b9f2c22bf4fc7cd3c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REP(i, n, s) for (int i = (s); i < (n); i++) using namespace std; typedef long long int LL; typedef long double LD; const int MOD = 1e9 + 7; const int MAXN = 1e5 * 2; int nPn[MAXN]; int _pow(int a, int k) { int res = 1; while (k) { // k%1 == 1 if (k & 1) res = LL(res) * a % MOD;...
18.877551
70
0.473514
s-shirayama
72e6ac7c3343ed61d78d3d0aed0ebeb440d1e052
475
cpp
C++
object oriented programming/modifystring.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
object oriented programming/modifystring.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
object oriented programming/modifystring.cpp
ayaankhan98/C-Progamming_basics
0aba46dfe91986e30151bed54eaa7f66d0486c5e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { string s1("Quick! Send for count Graystone"); string s2("Lord"); string s3("Don't "); s1.erase(0,7); s1.replace(9,5,s2); s1.replace(0,1,"S"); s1.insert(0,s3); s1.erase(s1.size()-1,1); s1.append(3,'!'); in...
16.964286
49
0.501053
ayaankhan98
72e90d8b8b5de0630ade54589234bb59d05d640e
1,335
cc
C++
src/web_server/capabilities/contest_entry_token.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
12
2017-11-05T21:02:58.000Z
2022-03-28T23:11:51.000Z
src/web_server/capabilities/contest_entry_token.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
11
2017-01-05T18:11:41.000Z
2019-11-01T12:40:55.000Z
src/web_server/capabilities/contest_entry_token.cc
krzyk240/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
6
2016-12-25T11:22:34.000Z
2020-10-20T16:03:51.000Z
#include "src/web_server/capabilities/contest_entry_token.hh" #include "sim/contest_users/contest_user.hh" #include "sim/users/user.hh" #include "src/web_server/capabilities/contest.hh" #include "src/web_server/web_worker/context.hh" #include <cstdlib> using sim::contest_users::ContestUser; using sim::users::User; n...
34.230769
95
0.708614
varqox
6393debf02672a7ecfceb92fc78d0d84d766458d
3,388
hpp
C++
includes/nt/directories/dir_relocs.hpp
archercreat/linux-pe
902f744424b70979d401a9274afd579bceea104a
[ "BSD-3-Clause" ]
140
2020-01-16T19:04:33.000Z
2022-03-10T02:54:01.000Z
includes/nt/directories/dir_relocs.hpp
archercreat/linux-pe
902f744424b70979d401a9274afd579bceea104a
[ "BSD-3-Clause" ]
4
2021-02-28T12:02:46.000Z
2022-02-14T01:41:57.000Z
includes/nt/directories/dir_relocs.hpp
archercreat/linux-pe
902f744424b70979d401a9274afd579bceea104a
[ "BSD-3-Clause" ]
38
2020-01-16T01:48:08.000Z
2022-03-12T16:52:20.000Z
// Copyright (c) 2020 Can Boluk // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this lis...
44.578947
133
0.64876
archercreat
63945dfd7cbd7ec71bf405d89c81af3192f1e088
9,273
cpp
C++
src/RTCCertificate.cpp
paullouisageneau/librtcdcpp
62695f7fc11b3401e2f8266abeaa556c05536373
[ "BSD-3-Clause" ]
5
2018-01-16T17:02:20.000Z
2020-05-14T11:33:47.000Z
src/RTCCertificate.cpp
paullouisageneau/librtcdcpp
62695f7fc11b3401e2f8266abeaa556c05536373
[ "BSD-3-Clause" ]
null
null
null
src/RTCCertificate.cpp
paullouisageneau/librtcdcpp
62695f7fc11b3401e2f8266abeaa556c05536373
[ "BSD-3-Clause" ]
2
2019-08-14T12:04:05.000Z
2020-03-23T07:11:04.000Z
/** * Copyright (c) 2017, Andrew Gault, Nick Chadwick and Guillaume Egles. * 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 copyrig...
33.476534
144
0.725116
paullouisageneau
639854d7b48cc15d2b9d44282e84ec6ac63bbf07
3,923
cpp
C++
project2D/Asteroid.cpp
CEbbinghaus/Asteroids
8bcac70c25602ef3fcf5edd699a0b630b2f8d40a
[ "MIT" ]
null
null
null
project2D/Asteroid.cpp
CEbbinghaus/Asteroids
8bcac70c25602ef3fcf5edd699a0b630b2f8d40a
[ "MIT" ]
null
null
null
project2D/Asteroid.cpp
CEbbinghaus/Asteroids
8bcac70c25602ef3fcf5edd699a0b630b2f8d40a
[ "MIT" ]
null
null
null
#include "Asteroid.h" #include "Asteroids.h" void Asteroid::update(float deltaTime){ //transform.Position += velocity * (speed * deltaTime); if (transform.Position.x < 0)transform.Position.x = Master::application->GetWindowWidth(); if (transform.Position.x > Master::application->GetWindowWidth())transform.Positio...
37.361905
151
0.691053
CEbbinghaus
639f6b0646b7ec1e43748ed81bf38ff250644cf8
30,697
cpp
C++
src/mascgl-3/draw_basics.cpp
jmlien/lightbender
510f1971614930e2d75911d23a97b1ba77426074
[ "MIT" ]
null
null
null
src/mascgl-3/draw_basics.cpp
jmlien/lightbender
510f1971614930e2d75911d23a97b1ba77426074
[ "MIT" ]
null
null
null
src/mascgl-3/draw_basics.cpp
jmlien/lightbender
510f1971614930e2d75911d23a97b1ba77426074
[ "MIT" ]
1
2021-04-18T20:58:52.000Z
2021-04-18T20:58:52.000Z
#include "draw_basics.h" #define DEBUG 0 Camera camera; Shader shader; //----------------------------------------------------------------------------- // // GL/GUI initialization and setup // //----------------------------------------------------------------------------- GLFWwindow* initGLcontext(mascg...
32.177149
182
0.624621
jmlien
63a33cdfce5815ae624ad6c75e3e6fcfd6355de9
5,549
cc
C++
src/cxx/testbed/testbed.cc
emily33901/Argon
3c06ee562027540702114d0efacb6b12c767a921
[ "MIT" ]
19
2018-11-22T23:02:22.000Z
2022-02-13T22:26:19.000Z
src/cxx/testbed/testbed.cc
josh33901/Argon
3c06ee562027540702114d0efacb6b12c767a921
[ "MIT" ]
2
2019-03-20T11:42:27.000Z
2020-07-16T12:43:04.000Z
src/cxx/testbed/testbed.cc
josh33901/Argon
3c06ee562027540702114d0efacb6b12c767a921
[ "MIT" ]
1
2019-09-09T10:48:12.000Z
2019-09-09T10:48:12.000Z
#include "testbed.hh" #ifdef _MSC_VER const char *steam_path = "steamclient.dll"; #else const char *steam_path = "./libsteamclient.so"; #endif #define check_null(var) \ if (!var) { \ printf(#var " is null!\n"); \ return false; \ } bool load_steam_...
27.470297
108
0.633628
emily33901
63a5586719e42571233ea047d1fd02428db1a4b7
314
cpp
C++
DSAA2/TestStackAr.cpp
crosslife/DSAA
03472db6e61582187192073b6ea4649b6195222b
[ "MIT" ]
5
2017-03-30T23:23:08.000Z
2020-11-08T00:34:46.000Z
DSAA2/TestStackAr.cpp
crosslife/DSAA
03472db6e61582187192073b6ea4649b6195222b
[ "MIT" ]
null
null
null
DSAA2/TestStackAr.cpp
crosslife/DSAA
03472db6e61582187192073b6ea4649b6195222b
[ "MIT" ]
1
2019-04-12T13:17:31.000Z
2019-04-12T13:17:31.000Z
#include <iostream.h> #include "StackAr.h" int main( ) { Stack<int> s; for( int i = 0; i < 10; i++ ) s.push( i ); while( !s.isEmpty( ) ) cout << s.topAndPop( ) << endl; return 0; }
19.625
47
0.328025
crosslife
63a8693bdd8f506c846a79bdf7dcbe1c097fe50b
8,914
cpp
C++
planb_hw/src/hardware_node.cpp
liunx/planb_ros2
a9417a9699626f007752a3706d2b26c364075a92
[ "Apache-2.0" ]
null
null
null
planb_hw/src/hardware_node.cpp
liunx/planb_ros2
a9417a9699626f007752a3706d2b26c364075a92
[ "Apache-2.0" ]
null
null
null
planb_hw/src/hardware_node.cpp
liunx/planb_ros2
a9417a9699626f007752a3706d2b26c364075a92
[ "Apache-2.0" ]
null
null
null
#include <thread> #include <mraa.hpp> #include "planb_hw/hardware_node.hpp" #include "planb_common/common.hpp" using namespace std::chrono_literals; using std::placeholders::_1; HardwareNode::HardwareNode(const rclcpp::NodeOptions &options) : Node("hardware", options), status_("OFF") { std::string dev_path = ...
26.688623
111
0.549697
liunx
63aa566999727b89505e2fb7aa8885bb737cb75f
581
cc
C++
tests/application/test_bitmap_application.cc
wujiazheng2020/simple_stl
f04ccd049a92e463bde4c34fed67679fb5822eb9
[ "MIT" ]
6
2021-08-31T04:44:50.000Z
2022-03-10T15:15:29.000Z
tests/application/test_bitmap_application.cc
wujiazheng2020/simple_stl
f04ccd049a92e463bde4c34fed67679fb5822eb9
[ "MIT" ]
null
null
null
tests/application/test_bitmap_application.cc
wujiazheng2020/simple_stl
f04ccd049a92e463bde4c34fed67679fb5822eb9
[ "MIT" ]
null
null
null
/* * Copyright 2021 Jiazheng Wu * * FileName: test_bitmap_algorithm.cc * * Author: Jiazheng Wu * Email: wujiazheng2020@gmail.com * Licensed under the MIT License */ #include <glog/logging.h> #include <gtest/gtest.h> #include <vector> #include "simple_stl/application/bitmap_application/calculate_prime.h" sta...
20.034483
70
0.652324
wujiazheng2020
63af9a26133a8a77a2a5f5b3af040bd8c56ba66f
621
cpp
C++
src/common/factorial.cpp
ull-esit-sistemas-operativos/ssoo-ejemplos
f59d606f45fd3cc05b605472db0dd90d3f209b71
[ "CC0-1.0" ]
1
2021-12-29T12:44:43.000Z
2021-12-29T12:44:43.000Z
src/common/factorial.cpp
ull-esit-sistemas-operativos/ssoo-ejemplos
f59d606f45fd3cc05b605472db0dd90d3f209b71
[ "CC0-1.0" ]
null
null
null
src/common/factorial.cpp
ull-esit-sistemas-operativos/ssoo-ejemplos
f59d606f45fd3cc05b605472db0dd90d3f209b71
[ "CC0-1.0" ]
null
null
null
// factorial.cpp - Funciones comunes a los ejemplos del factorial. // #include <iostream> #include "factorial.hpp" int get_user_input() { std::cout << "[PADRE] Introduzca un número: "; std::cout.flush(); int number; std::cin >> number; return number; } int calculate_factorial(int number) { ...
16.783784
66
0.553945
ull-esit-sistemas-operativos
63afc7a75dea3a330af51fc7926b3a22e2060645
15,712
cc
C++
mysql_sys/my_error.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
mysql_sys/my_error.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
mysql_sys/my_error.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
32.196721
80
0.683745
realnickel
63b37238c7561064e42e89fb02b622a4a442839d
344
cpp
C++
Array Ques Missing Value.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
1
2022-01-28T08:07:32.000Z
2022-01-28T08:07:32.000Z
Array Ques Missing Value.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
null
null
null
Array Ques Missing Value.cpp
priyamittal15/Leetcode_Solutions
21cb9c09e053425dba66acd62240399b1a35fba0
[ "Apache-2.0" ]
1
2022-03-16T14:46:09.000Z
2022-03-16T14:46:09.000Z
#include<iostream> using namespace std; int main(void){ int arr[]={0,-9,1,3,-4,5}; int n=6; int res[n]; for(int i=0;i<n;i++){ if(arr[i]>=0){ res[i]=arr[i]; } else{ } } for(int i=0;i<n;i++){ cout<<res[i]; } for(int i=0;i<n;i++){ if(res[i+1]-res[i]==2){ ...
11.096774
28
0.418605
priyamittal15
63b3c2a04fa9aeed198000f8618eff88bc84b5d6
3,974
cxx
C++
tests/mlio-test/test_recordio_protobuf_reader.cxx
rizwangilani/ml-io
d9572227281168139c4e99d79a6d2ebc83323a61
[ "Apache-2.0" ]
null
null
null
tests/mlio-test/test_recordio_protobuf_reader.cxx
rizwangilani/ml-io
d9572227281168139c4e99d79a6d2ebc83323a61
[ "Apache-2.0" ]
2
2020-04-08T01:37:44.000Z
2020-04-14T20:14:07.000Z
tests/mlio-test/test_recordio_protobuf_reader.cxx
rizwangilani/ml-io
d9572227281168139c4e99d79a6d2ebc83323a61
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <mlio.h> namespace mlio { class test_recordio_protobuf_reader : public ::testing::Test { protected: test_recordio_protobuf_reader() = default; ~test_recordio_protobuf_reader() override; protected: std::string const resources_path_ = "../resources/recordio/"; std::st...
31.539683
77
0.648968
rizwangilani
63b55ef9ccd3d06015dda8bc64ec37466375fc61
10,669
cpp
C++
src/device_info_win32.cpp
semenovf/pfs-multimedia
78e2ea9dfe89d2f84d583f768ca35f183773d859
[ "MIT" ]
null
null
null
src/device_info_win32.cpp
semenovf/pfs-multimedia
78e2ea9dfe89d2f84d583f768ca35f183773d859
[ "MIT" ]
null
null
null
src/device_info_win32.cpp
semenovf/pfs-multimedia
78e2ea9dfe89d2f84d583f768ca35f183773d859
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021 Vladislav Trifochkin // // This file is part of [multimedia-lib](https://github.com/semenovf/multimedia-lib) library. // // Changelog: // 2021.08.07 Initial version. ///////////////////////////////////////...
32.330303
133
0.532571
semenovf
63be27dd8421f94288ac74948f854c7984304875
2,048
cpp
C++
src/Particle/ParticleModule/ModuleSizeOverLifetime.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Particle/ParticleModule/ModuleSizeOverLifetime.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Particle/ParticleModule/ModuleSizeOverLifetime.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
#include "ModuleSizeOverLifetime.hpp" #include <iostream> #include "Cl/ClProgram.hpp" #include "OpenCGL_Tools.hpp" #include "Cl/ClKernel.hpp" #include "Particle/PaticleEmitter/AParticleEmitter.hpp" ModuleSizeOverLifetime::ModuleSizeOverLifetime(AParticleEmitter &emitter) : AParticleModule(emitter), gpu...
34.133333
151
0.773926
Jino42
63bf359fb22d9e50326c8fc5e0c033aa560ea18d
6,368
cpp
C++
src/getting_started/07_transforms.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/getting_started/07_transforms.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
src/getting_started/07_transforms.cpp
clsrfish/learnogl
3e1cc42a595dd12779268ba587ef68fa4991e1f5
[ "Apache-2.0" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <stb_image.h> #include "../gl/shader.h" #include "../utils/log.h" #include "../gl/gl_utils.h" namespace getting_started { namespace transforms { float v...
39.308642
117
0.555905
clsrfish
63cefda5d102285b3898bed6274add241a813239
7,775
cpp
C++
tests/TestCircularBuffer.cpp
sarahkw/swgetf0
b3cae9290ed90063c98a9e770482de2c5944ec0e
[ "Apache-2.0" ]
5
2017-01-01T19:36:10.000Z
2019-11-07T03:40:32.000Z
tests/TestCircularBuffer.cpp
hobakurafuto/swgetf0
b3cae9290ed90063c98a9e770482de2c5944ec0e
[ "Apache-2.0" ]
null
null
null
tests/TestCircularBuffer.cpp
hobakurafuto/swgetf0
b3cae9290ed90063c98a9e770482de2c5944ec0e
[ "Apache-2.0" ]
1
2018-06-04T02:27:14.000Z
2018-06-04T02:27:14.000Z
/* Copyright 2014 Sarah Wong Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
20.900538
74
0.696206
sarahkw
63cff69a8ca44a68d1fbd5e7db83195bf6335ee8
128,979
hpp
C++
test/TestChemicalChaste.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
test/TestChemicalChaste.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
test/TestChemicalChaste.hpp
OSS-Lab/ChemChaste
d32c36afa1cd870512fee3cba0753d5c6faf8109
[ "BSD-3-Clause" ]
null
null
null
#ifndef TESTCHEMICALCHASTE_HPP_ #define TESTCHEMICALCHASTE_HPP_ // chaste includes #include <cxxtest/TestSuite.h> #include "UblasIncludes.hpp" #include "AbstractCellBasedTestSuite.hpp" #include "CheckpointArchiveTypes.hpp" #include "PetscSetupAndFinalize.hpp" #include "SmartPointers.hpp" // general includes #include...
48.37922
212
0.656184
OSS-Lab
63d2dbb37e19b9e98ee0d5ce0dc7cc453047432c
432
cpp
C++
src/3rdPartyLib/EASTL.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
2
2020-02-03T04:58:17.000Z
2021-03-13T06:03:52.000Z
src/3rdPartyLib/EASTL.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
src/3rdPartyLib/EASTL.cpp
SapphireEngine/Engine
bf5a621ac45d76a2635b804c0d8b023f1114d8f5
[ "MIT" ]
null
null
null
#include "define.h" #include <EASTL/EAStdC/EAMemory.cpp> #include <EASTL/EAStdC/EASprintf.cpp> #include <EASTL/MemoryTracking.cpp> #include <EASTL/allocator_forge.cpp> #include <EASTL/assert.cpp> #include <EASTL/fixed_pool.cpp> #include <EASTL/hashtable.cpp> #include <EASTL/intrusive_list.cpp> #include <EASTL/numeric...
28.8
37
0.784722
SapphireEngine
63d4d437895d91607a767b9af49b58f1abe98e8a
15,529
cpp
C++
src/FeatureMatcher.cpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
src/FeatureMatcher.cpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
src/FeatureMatcher.cpp
charlie-lee/slam_demo
0bb6cc6d20c6a728eea502a61456f83881144e59
[ "MIT" ]
null
null
null
/** * @file FeatureMatcher.cpp * @brief Implementation of feature matcher class in SLAM system. * @author Charlie Li * @date 2019.10.22 */ #include "FeatureMatcher.hpp" #include <map> #include <memory> #include <vector> #include <opencv2/core.hpp> #include <opencv2/features2d.hpp> #include "Config.hpp" #in...
36.198135
79
0.58072
charlie-lee
63e18aab313c11a3524d142c4f0b1cbba7d1e49e
3,390
cpp
C++
CppP4rhSln/10/querymain.cpp
blacop/CppPR
a76574ee83000d898d989aab96eac4ac746244fa
[ "MIT" ]
1
2017-04-01T06:57:30.000Z
2017-04-01T06:57:30.000Z
gnu_files/10/querymain.cc
hongmi/cpp-primer-4-exercises
98ddb98b41d457a1caa525d246dfb7453be0c8d2
[ "MIT" ]
null
null
null
gnu_files/10/querymain.cc
hongmi/cpp-primer-4-exercises
98ddb98b41d457a1caa525d246dfb7453be0c8d2
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
/* * This file contains code from "C++ Primer, Fourth Edition", by Stanley B. * Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the * copyright and warranty notices given in that book: * * "Copyright (c) 2005 by Objectwrite, Inc., Jose Lajoie, and Barbara E. Moo." * * * "The authors and publis...
32.596154
79
0.657227
blacop
63eb7f8c7b92d5f5920e96694250197b72c0a9c1
4,333
cpp
C++
remodet_repository_wdh_part/src/caffe/pose/pose_image_loader.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/pose/pose_image_loader.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/pose/pose_image_loader.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#include "caffe/tracker/bounding_box.hpp" #include "caffe/pose/pose_image_loader.hpp" namespace caffe { using std::vector; using std::string; template <typename Dtype> void PoseImageLoader<Dtype>::LoadImage(const int image_num, cv::Mat* image) { const MetaData<Dtype>& annotation =...
31.172662
110
0.654512
UrwLee
63f6fa2c9f29c616e55147f84b272e01aedd2d6c
607
cpp
C++
DemoLib2/net/netmessages/NetSetPauseMessage.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
14
2018-07-02T19:09:18.000Z
2022-01-12T12:35:43.000Z
DemoLib2/net/netmessages/NetSetPauseMessage.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
1
2018-12-27T20:22:06.000Z
2020-01-04T03:27:31.000Z
DemoLib2/net/netmessages/NetSetPauseMessage.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
1
2021-05-17T01:03:38.000Z
2021-05-17T01:03:38.000Z
#include "NetSetPauseMessage.hpp" #include "BitIO/BitIOReader.hpp" #include "BitIO/BitIOWriter.hpp" #include "net/worldstate/WorldState.hpp" void NetSetPauseMessage::GetDescription(std::ostream& description) const { description << "svc_SetPause: " << (m_Paused ? "paused" : "unpaused"); } void NetSetPauseMessage::Ap...
23.346154
72
0.771005
PazerOP
63fdac942da04b00c862c9de13d84239334be3d7
1,446
cpp
C++
avs_dx/DxVisuals/Threads/RenderThreadImpl.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
33
2019-01-28T03:32:17.000Z
2022-02-12T18:17:26.000Z
avs_dx/DxVisuals/Threads/RenderThreadImpl.cpp
visbot/vis_avs_dx
03e55f8932a97ad845ff223d3602ff2300c3d1d4
[ "MIT" ]
2
2019-11-18T17:54:58.000Z
2020-07-21T18:11:21.000Z
avs_dx/DxVisuals/Threads/RenderThreadImpl.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
5
2019-02-16T23:00:11.000Z
2022-03-27T15:22:10.000Z
#include "stdafx.h" #include "RenderThreadImpl.h" #include "AvsThreads.h" #include "effects.h" #include "Resources/staticResources.h" #include "Effects/Video/MF/mfStatic.h" #include "Render/Profiler.h" #include <Interop/deviceCreation.h> #include "Transition.h" RenderThreadImpl::RenderThreadImpl( winampVisModule * pM...
27.807692
150
0.750346
Const-me
63ff97d65ed29764176ac3d1376b2812f72af305
8,453
cpp
C++
Source/Lutefisk3D/Scene/ObjectAnimation.cpp
Lutefisk3D/lutefisk3d
d2132b82003427511df0167f613905191b006eb5
[ "Apache-2.0" ]
2
2018-04-14T19:05:23.000Z
2020-05-10T22:42:12.000Z
Source/Lutefisk3D/Scene/ObjectAnimation.cpp
Lutefisk3D/lutefisk3d
d2132b82003427511df0167f613905191b006eb5
[ "Apache-2.0" ]
4
2015-06-19T22:32:07.000Z
2017-04-05T06:01:50.000Z
Source/Lutefisk3D/Scene/ObjectAnimation.cpp
nemerle/lutefisk3d
d2132b82003427511df0167f613905191b006eb5
[ "Apache-2.0" ]
1
2015-12-27T15:36:10.000Z
2015-12-27T15:36:10.000Z
// // Copyright (c) 2008-2017 the Urho3D project. // // 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, m...
33.543651
139
0.694428
Lutefisk3D
1201d06b481652931f5eaf2080b47e5a67662579
1,121
cpp
C++
codeforces/CF681/B_Saving_the_City.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
codeforces/CF681/B_Saving_the_City.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
codeforces/CF681/B_Saving_the_City.cpp
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<vector> #include<algorithm> #include<cmath> #include<numeric> using namespace std; #define debug(x) cerr << #x << " : " << x << "\n" #define REP(i,a,b) for(int i=a; i<b;++i) #define endl "\n" typedef vector<int> vi; typedef vector< vector<int> > vvi; int INF = 1e9; void ...
20.381818
90
0.447814
anandj123
120399d65cfd059b7bfc2de6649deb58867c33f7
822
cpp
C++
src/libs/qlib/qdmbuffer.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdmbuffer.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qdmbuffer.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * QDMBuffer - definition/implementation * NOTES: * - Tiny wrapper around DMbuffer concept * (C) 28-02-99 MarketGraph/RVG */ #include <qlib/dmbuffer.h> //#include <dmedia/dm_buffer.h> #include <dmedia/dm_params.h> #include <qlib/debug.h> DEBUG_ENABLE #define DMCHK(s,e)\ if((e)!=DM_SUCCESS)QShowDMErrors(s) ...
14.678571
47
0.694647
3dhater
120569b970efd97f4310316d282266bc0dda77d1
22,816
cpp
C++
mp/src/game/server/coven_apc.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
mp/src/game/server/coven_apc.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
mp/src/game/server/coven_apc.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "vphysics/constraints.h" #include "coven_apc.h" #include "hl2mp_gamerules.h" #include "covenlib.h" extern ConVar coven_debug_visual; extern ConVar sv_coven_refuel_distance; Vector CCoven_APC::wheelOffset[] = { Vector(80, -50, -32), Vector(-72, -50, -32), Vector(80, 50, -32), Vector(-72, 5...
28.627353
215
0.720678
rendenba
1205ece7c57ad787c5c14ffb91a7cecf8190cb6f
2,612
hpp
C++
include/Nazara/Graphics/UberShader.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Graphics/UberShader.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Graphics/UberShader.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_GRAPHICS_UBERSHADER_HPP #define NAZARA_GRAPHICS_UBERSHADER_HPP #include <Nazara/Pr...
31.46988
134
0.769525
jayrulez
1209463f60ad0473a1d6a2ec3e539fa200001bd5
876
cpp
C++
dos/dos_memmgr_test.cpp
wwiv/door86c
bfdc6408bf632da74a1e58d97da3257d715f3f6e
[ "Apache-2.0" ]
1
2021-11-04T03:13:25.000Z
2021-11-04T03:13:25.000Z
dos/dos_memmgr_test.cpp
wwiv/door86c
bfdc6408bf632da74a1e58d97da3257d715f3f6e
[ "Apache-2.0" ]
null
null
null
dos/dos_memmgr_test.cpp
wwiv/door86c
bfdc6408bf632da74a1e58d97da3257d715f3f6e
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include "cpu/memory.h" #include "dos/dos.h" #include <cstdlib> #include <cstdint> #include <iostream> using namespace door86::cpu; using namespace door86::dos; class DosMemMgrTest : public testing::Test { public: DosMemMgrTest() : mm(&m, 0x1000, 0x7000) {} Memory m{1 << 20}; DosMemo...
21.365854
54
0.691781
wwiv
1211f6335d41fc83efb6404e4b78a6d0da338d77
6,636
hpp
C++
c++17_features.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
3
2018-01-04T18:07:32.000Z
2021-09-01T14:19:43.000Z
c++17_features.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
null
null
null
c++17_features.hpp
ralphtandetzky/cpp_utils
3adfed125db6fccd7478385544b96ceecdf435e7
[ "MIT" ]
null
null
null
/** @file This file defines features available from C++17 onwards. * * The features are defined in the cu namespace instead of the std namespace. * When moving to C++17 just remove this header from the project, * in order to keep you project clean. This should require only a bit of * refactoring by replacing the r...
35.111111
97
0.639693
ralphtandetzky
1213e79b24fde59bab9ba2136fa2cd41bb928072
1,599
cpp
C++
sscanf/src/tests/test_group_specifiers.cpp
dzoj/ultra_balkan_alpha-master.github.io
f2c1835f2ad2a97436197956de62ef3a43ef7dff
[ "MIT" ]
null
null
null
sscanf/src/tests/test_group_specifiers.cpp
dzoj/ultra_balkan_alpha-master.github.io
f2c1835f2ad2a97436197956de62ef3a43ef7dff
[ "MIT" ]
null
null
null
sscanf/src/tests/test_group_specifiers.cpp
dzoj/ultra_balkan_alpha-master.github.io
f2c1835f2ad2a97436197956de62ef3a43ef7dff
[ "MIT" ]
null
null
null
#include "../specifiers/group_specifiers.h" TEST(AltGroup1, { AltGroup gg; return gg.ReadToken(S"(ii|dd)") == OK && *CUR == '\0'; }) TEST(AltGroup2, { AltGroup gg; gg.ReadToken(S"(ii|xh)");ss s; return dynamic_cast<ss &>(s << gg).str() == "(ii|xh)"; }) TEST(AltGroup4, { AltGroup gg; if (gg.ReadToken(S"(ii|dd|cc|xx)...
79.95
164
0.600375
dzoj
12151e08bf4ed73e3b693e21e4ca4b2a2d2fbce6
487
hpp
C++
src/constants.hpp
yhamdoud/engine
0e1e589be4eb3b50ac21f0d166a2c76f576fdeb7
[ "MIT" ]
4
2021-08-29T09:34:22.000Z
2022-01-27T00:24:52.000Z
src/constants.hpp
yhamdoud/engine
0e1e589be4eb3b50ac21f0d166a2c76f576fdeb7
[ "MIT" ]
null
null
null
src/constants.hpp
yhamdoud/engine
0e1e589be4eb3b50ac21f0d166a2c76f576fdeb7
[ "MIT" ]
null
null
null
#pragma once #include <filesystem> namespace engine { using uint = unsigned int; const uint invalid_texture_id = 0; const uint invalid_shader_id = 0; const uint default_frame_buffer_id = 0; const std::filesystem::path resources_path{"../resources"}; const std::filesystem::path textures_path{resources_path / "textur...
25.631579
71
0.770021
yhamdoud
121b7e8b1b6fcbfc5a8b1f76d56796ba6082586e
5,295
cpp
C++
test/geometry/polygon.cpp
teyrana/quadtree
4172ad2f2e36414caebf80013a3d32e6df200945
[ "MIT" ]
null
null
null
test/geometry/polygon.cpp
teyrana/quadtree
4172ad2f2e36414caebf80013a3d32e6df200945
[ "MIT" ]
1
2019-08-24T17:31:50.000Z
2019-08-24T17:31:50.000Z
test/geometry/polygon.cpp
teyrana/quadtree
4172ad2f2e36414caebf80013a3d32e6df200945
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <vector> #include "gtest/gtest.h" #include "geometry/polygon.hpp" #include "geometry/layout.hpp" using std::vector; using Eigen::Vector2d; using terrain::geometry::Polygon; using terrain::geometry::Layout; namespace terrain::geometry { TEST(PolygonTest, DefaultConfi...
33.942308
123
0.560151
teyrana
121fa1ada6dee2ae4c3e5240a755cf55391194b2
27,969
cpp
C++
src/q3bsp/Q3BspMap.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
2
2021-07-29T19:56:03.000Z
2021-09-13T12:06:06.000Z
src/q3bsp/Q3BspMap.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
null
null
null
src/q3bsp/Q3BspMap.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
null
null
null
#include "Q3BspMap.hpp" #include "Q3BspPatch.hpp" #include "../renderer/TextureManager.hpp" #include "../renderer/vulkan/CmdBuffer.hpp" #include "../renderer/vulkan/Pipeline.hpp" #include "../Math.hpp" #include "../Utils.hpp" #include <algorithm> #include <sstream> extern RenderContext g_renderContext; ...
41.252212
156
0.653152
suijingfeng
1220881c38060cb1b2a19c4c26f39604e2d1edab
2,854
cpp
C++
tests/serialization_ext_std_chrono.cpp
victorstewart/bitsery
db884a0656a3aabb87da1ae6edf12629507f76a7
[ "MIT" ]
722
2017-08-22T06:07:02.000Z
2022-03-30T03:29:20.000Z
tests/serialization_ext_std_chrono.cpp
victorstewart/bitsery
db884a0656a3aabb87da1ae6edf12629507f76a7
[ "MIT" ]
85
2017-10-19T07:23:29.000Z
2022-03-02T06:54:10.000Z
tests/serialization_ext_std_chrono.cpp
victorstewart/bitsery
db884a0656a3aabb87da1ae6edf12629507f76a7
[ "MIT" ]
69
2017-08-28T06:38:07.000Z
2022-03-13T03:12:02.000Z
//MIT License // //Copyright (c) 2019 Mindaugas Vinkelis // //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...
34.804878
80
0.734408
victorstewart
1220e5dc0ecb154d3c197288354a7640ae647746
4,554
cpp
C++
projects/InjectDLL/system/textures.cpp
LoadCake/OriWotwRandomizerClient
99812148b60aad77895bf4aa560128d0ff9b73eb
[ "MIT" ]
null
null
null
projects/InjectDLL/system/textures.cpp
LoadCake/OriWotwRandomizerClient
99812148b60aad77895bf4aa560128d0ff9b73eb
[ "MIT" ]
null
null
null
projects/InjectDLL/system/textures.cpp
LoadCake/OriWotwRandomizerClient
99812148b60aad77895bf4aa560128d0ff9b73eb
[ "MIT" ]
null
null
null
#include <system/textures.h> #include <Common/ext.h> #include <Il2CppModLoader/common.h> #include <Il2CppModLoader/il2cpp_helpers.h> #include <Il2CppModLoader/interception_macros.h> #include <utils\stb_image.h> #include <fstream> #include <string> #include <unordered_map> using namespace modloader; namespace text...
43.371429
140
0.577514
LoadCake
12238f77a4457449517ef9c7dd13e7fa927f8434
47,151
hxx
C++
Modules/Registration/Common/include/itkMattesMutualInformationImageToImageMetric.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2015-06-19T07:18:36.000Z
2019-04-18T07:28:23.000Z
Modules/Registration/Common/include/itkMattesMutualInformationImageToImageMetric.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/include/itkMattesMutualInformationImageToImageMetric.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2017-05-02T07:18:49.000Z
2020-04-30T01:37:35.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
34.216981
121
0.672775
CapeDrew
12247c340acb0ba8f2462878f262227e9a4abad3
5,427
cpp
C++
libraries/C6502Cpu/CVanguardGame.cpp
porchio/arduino-mega-ict
dcc4b37cdbae2966d5736589bea776bf286df9ee
[ "BSD-2-Clause" ]
19
2016-01-14T10:54:07.000Z
2021-06-29T17:47:54.000Z
libraries/C6502Cpu/CVanguardGame.cpp
LabRat3K/arduino-mega-ict
b5f46ee41fc088c4ef80e3dcfb045685e6b89e94
[ "BSD-2-Clause" ]
11
2016-01-20T23:30:34.000Z
2021-05-22T18:06:55.000Z
libraries/C6502Cpu/CVanguardGame.cpp
LabRat3K/arduino-mega-ict
b5f46ee41fc088c4ef80e3dcfb045685e6b89e94
[ "BSD-2-Clause" ]
16
2016-01-03T18:29:09.000Z
2021-08-18T14:09:36.000Z
// // Copyright (c) 2020, Paul R. Swan // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of condit...
60.3
141
0.563663
porchio
1224e1747e7a6831bef92ba65de97dbd347696c1
14,568
hpp
C++
include/cps/Socket.hpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
1
2015-09-22T10:32:36.000Z
2015-09-22T10:32:36.000Z
include/cps/Socket.hpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
null
null
null
include/cps/Socket.hpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
null
null
null
#ifndef CPS_SOCKET_HPP_ #define CPS_SOCKET_HPP_ #include <string> #include <vector> #include "Exception.hpp" #include "Utils.hpp" #include "boost/bind.hpp" #include "boost/lambda/lambda.hpp" namespace CPS { #ifndef USE_HEADER_ONLY_ASIO #include "boost/asio.hpp" using namespace boost; #else #define ASIO_DISABLE_THRE...
34.521327
112
0.705656
clusterpoint
1225fb25b18b3ca12ea5812dbd8dc4b07db48775
4,923
cpp
C++
unittests/core/test_sstring_view_archive.cpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/core/test_sstring_view_archive.cpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/core/test_sstring_view_archive.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/core/test_sstring_view_archive.cpp -----------------------===// //* _ _ _ * //* ___ ___| |_ _ __(_)_ __ __ _ __ _(_) _____ __ * //* / __/ __| __| '__| | '_ \ / _` | \ \ / / |/ _ \ \ /\ / / * //* \__ \__ \ |_| | | | | | | (_| | \ V /| | __...
41.369748
97
0.566118
paulhuggett
1226c5c4d2478de9e19e9e3aaa71303d0ea0d6ed
917
cpp
C++
src/FalconEngine/Core/GameEngineProfiler.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
6
2017-04-17T12:34:57.000Z
2019-10-19T23:29:59.000Z
src/FalconEngine/Core/GameEngineProfiler.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
null
null
null
src/FalconEngine/Core/GameEngineProfiler.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
2
2019-12-30T08:28:04.000Z
2020-08-05T09:58:53.000Z
#include <FalconEngine/Core/GameEngineProfiler.h> namespace FalconEngine { /************************************************************************/ /* Public Members */ /************************************************************************/ void GameEnginePro...
18.34
74
0.623773
Lywx