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
65a1f5daa87c92ea73ed5f004074afacc99b1ab7
1,788
cpp
C++
Denote/Framework/History/historymanager.cpp
jacobgnewman/Denote
219f50fc8183e6dde3194cf738d77ee90641cf4e
[ "MIT" ]
null
null
null
Denote/Framework/History/historymanager.cpp
jacobgnewman/Denote
219f50fc8183e6dde3194cf738d77ee90641cf4e
[ "MIT" ]
null
null
null
Denote/Framework/History/historymanager.cpp
jacobgnewman/Denote
219f50fc8183e6dde3194cf738d77ee90641cf4e
[ "MIT" ]
null
null
null
#include "historymanager.h" #include "Framework/History/undoobject.h" #include "Ui/ui.h" #include "Framework/document.h" HistoryManager::HistoryManager(Document* doc) { this->doc = doc; UndoObject* start = new HistoryStart(this); start->setText("Document Creation"); addItem(start); connect(this, &...
24.493151
80
0.639821
jacobgnewman
65a6744f08469ec733fd2920074f7499aeaa5ee5
433
cpp
C++
codeforces/205a.little-elephant-and-rozdil/205a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
3
2018-01-19T14:09:23.000Z
2018-02-01T00:40:55.000Z
codeforces/205a.little-elephant-and-rozdil/205a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
codeforces/205a.little-elephant-and-rozdil/205a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #define X first #define Y second using namespace std; vector <pair <int, int> > vec; int main() { int n; cin >> n; for(int i=0; i<n; i++) { int inp; cin >> inp; vec.push_back(make_pair(inp, i)); } sort (vec.begin(), vec.end()); if (vec.size() >...
14.931034
44
0.577367
KayvanMazaheri
65a86b549cece65b7c8b0f133b802208be2b9a09
1,789
hpp
C++
timer/GUI/GUICheckbox.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/GUI/GUICheckbox.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/GUI/GUICheckbox.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 MaticVrtacnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
25.557143
78
0.730576
MaticVrtacnik
65aa111eca3b5761cdb9a4904ff7f50ba255e065
6,637
cpp
C++
src/dummy_cube.cpp
nsxt/vz-render
ae0f16a4428fac2ee389de132fba8267307dddc6
[ "MIT" ]
null
null
null
src/dummy_cube.cpp
nsxt/vz-render
ae0f16a4428fac2ee389de132fba8267307dddc6
[ "MIT" ]
null
null
null
src/dummy_cube.cpp
nsxt/vz-render
ae0f16a4428fac2ee389de132fba8267307dddc6
[ "MIT" ]
null
null
null
#include "core.h" #include <stb/stb_image.h> #include <glm/gtc/matrix_transform.hpp> const float VzDummyCube::Vertices[] = { // positions // texture coords -0.5f, -0.5f, -0.5f, 0.0f, 0.0f, 0.5f, -0.5f, -0.5f, 1.0f, 0.0f, 0.5f, 0.5f, -0.5f, 1.0f, 1.0f, 0.5f, 0.5f, -0.5f, 1.0f, 1.0f, -0.5f, 0.5f, -0.5f, 0....
31.159624
107
0.668224
nsxt
65ae045a567ebc14eda0865f8121c1c91469676f
1,240
cpp
C++
Submissions/Codeforces/219A.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
null
null
null
Submissions/Codeforces/219A.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
null
null
null
Submissions/Codeforces/219A.cpp
purhan/mindsport
d14fe8917c64b475589f494d98b74e99c9e064e5
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> #include<vector> using namespace std; #define lli long long int #define fo(i,b,n) for(int i=b;i<n;++i) #define si(x) scanf("%d",&x) #define sll(x) scanf("%lld",&x) #define ss(s) scanf("%s",s) #define pi(x) printf("%d\n",x) #define pl(x) printf("%lld\n",x) #define ps(s) printf(...
19.076923
71
0.526613
purhan
65b05f7a973a13deb0f3fe533755a5c9e8bbe466
2,421
cpp
C++
plugin_sa/game_sa/CAnimBlendStaticAssociation.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_sa/game_sa/CAnimBlendStaticAssociation.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_sa/game_sa/CAnimBlendStaticAssociation.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CAnimBlendStaticAssociation.h" PLUGIN_SOURCE_FILE int ctor_addr(CAnimBlendStaticAssociation) = ADDRE...
56.302326
165
0.791822
gta-chaos-mod
65b4d40ac43fd15860f6d36caea2245568fff7a8
4,287
cpp
C++
MapGenerator/MapGenerator_GenerateMap.cpp
dudematthew/i-o-adventure
580d995dc2ce2d3d5b041a11d0e2bd2695792dc5
[ "MIT" ]
null
null
null
MapGenerator/MapGenerator_GenerateMap.cpp
dudematthew/i-o-adventure
580d995dc2ce2d3d5b041a11d0e2bd2695792dc5
[ "MIT" ]
null
null
null
MapGenerator/MapGenerator_GenerateMap.cpp
dudematthew/i-o-adventure
580d995dc2ce2d3d5b041a11d0e2bd2695792dc5
[ "MIT" ]
null
null
null
#include "pch.h" #include "MapGenerator.h" #include <iostream> #include <ctime> using namespace std; // DANGER /* Generates by random a map, and saves it to generatedMap class member */ void MapGenerator::GenerateMap() { srand(time(NULL)); int mapSizeX = this->mapSizeX; int mapSizeY = this->mapSizeY; vector <ve...
21.872449
70
0.618381
dudematthew
65b86f05ece28bae29bff6542657d0496c13cc57
7,830
hpp
C++
VSDataReduction/VBFDumper.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSDataReduction/VBFDumper.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSDataReduction/VBFDumper.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VBFDumper.hpp Dump VBF data to a stream \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \version 1.0 \date 03/20/2005 $Id: VBFDumper.hpp,v 3.8 2009/11/05 23:02:20 matt...
34.043478
75
0.550192
sfegan
65be1fa00a0972bd90961c7e109eccb97451e5e8
540
cpp
C++
Camp_1-2563/Function/spacestation.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Function/spacestation.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2563/Function/spacestation.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int n; void rec(int state){ for(int i=1; i<=n; ++i){ if(i == state){ cout << "01"; } else if(i < state){ cout << "00"; } else{ cout << "11"; } cout << " "; } cout << endl; for(int i=1; i<=n; ++i){ if(i == state){ cout << "10"; } else if...
11.489362
25
0.446296
MasterIceZ
65c22033225ada2a62335d47b92b5c200e5b3125
1,390
hpp
C++
CO2004/Lab4/9/ex4.hpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
null
null
null
CO2004/Lab4/9/ex4.hpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
2
2020-10-12T09:57:12.000Z
2020-11-09T11:05:01.000Z
CO2004/Lab4/9/ex4.hpp
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
4
2020-10-12T10:30:56.000Z
2020-12-15T14:46:04.000Z
#ifndef EX4_HPP #define EX4_HPP #include<iostream> #include<string> using namespace std; template<class K, class V> class BinaryTree { public: class Node; private: Node *root; public: BinaryTree() : root(nullptr) {} ~BinaryTree() { // You have to delete all Nodes in BinaryTree. However in...
21.060606
95
0.5
Smithienious
65c54959320f0e153b9035706db37934d7d46f09
2,368
hpp
C++
filetree.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
filetree.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
filetree.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
//! ファイルツリー構造を保持するクラス。とりあえずWindows専用 #pragma once #include "misc.hpp" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-register" #include <boost/regex.hpp> #pragma GCC diagnostic pop #include <unordered_map> #include "dir.hpp" namespace spn { struct IFTFile; using UPIFile = std::unique_ptr<IF...
29.974684
131
0.719595
degarashi
65cc029560cde57dde12100ac78754c0ac5bfe91
822
hpp
C++
SDK/ARKSurvivalEvolved_EngramEntry_Saddle_Ankylo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_EngramEntry_Saddle_Ankylo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_EngramEntry_Saddle_Ankylo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_EngramEntry_Saddle_Ankylo_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------------------...
21.076923
120
0.648418
2bite
65cf63f035a7244f31f2fe111c1f53a068448a6a
3,302
cpp
C++
leetcode/minWindow.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
leetcode/minWindow.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
leetcode/minWindow.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
/************************************************************************* > File Name: minWindow.cpp > Author: zhuziqiang > Mail: ziqiang_free@163.com > Created Time: 2018年08月19日 星期日 16时33分02秒 ************************************************************************/ #include <iostream> #include <alg...
20.257669
85
0.496063
sczzq
65d0aeaeee5d53cdcff8e0a260558a6d207d4643
4,026
cpp
C++
Source/platform/graphics/paint/DrawingRecorder.cpp
igordmn/blink-typo
4b25f34cb6580373beb900fd46886e05604fe6c3
[ "BSD-3-Clause" ]
null
null
null
Source/platform/graphics/paint/DrawingRecorder.cpp
igordmn/blink-typo
4b25f34cb6580373beb900fd46886e05604fe6c3
[ "BSD-3-Clause" ]
null
null
null
Source/platform/graphics/paint/DrawingRecorder.cpp
igordmn/blink-typo
4b25f34cb6580373beb900fd46886e05604fe6c3
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "platform/graphics/paint/DrawingRecorder.h" #include "platform/RuntimeEnabledFeatures.h" #include "platform/graphics/Graphic...
39.861386
171
0.755589
igordmn
65d0cb3f8ed354fd577918caa6af0d0ba142e021
1,611
hh
C++
windows/cc/D3D12/DX12CommandQueue.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
177
2021-05-13T01:03:45.000Z
2021-08-30T18:45:58.000Z
windows/cc/D3D12/DX12CommandQueue.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
130
2021-05-18T13:43:08.000Z
2021-08-30T18:16:01.000Z
windows/cc/D3D12/DX12CommandQueue.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
13
2021-09-16T14:12:08.000Z
2022-03-21T00:58:01.000Z
#pragma once #include <D3D12/DX12Common.hh> #include <PlatformWin32.hh> namespace jwm { class DX12CommandQueue { public: static const D3D12_COMMAND_LIST_TYPE DEFAULT_TYPE = D3D12_COMMAND_LIST_TYPE_DIRECT; static const D3D12_COMMAND_QUEUE_PRIORITY DEFAULT_PRIORITY = D3D12_COMMAND_QUEUE_PRIORITY...
41.307692
140
0.735568
rgkirch
65e19d8fb2252149ce2b3e216866354e1554fa0f
471
cpp
C++
src/noj_am/BOJ_1931.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
1
2020-06-01T12:19:31.000Z
2020-06-01T12:19:31.000Z
src/noj_am/BOJ_1931.cpp
ginami0129g/my-study-history
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
23
2020-11-08T07:14:02.000Z
2021-02-11T11:16:00.000Z
src/noj_am/BOJ_1931.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, last, cnt = 1; vector<pair<int, int> > meeting; int main(void) { cin.tie(NULL); ios_base::sync_with_stdio(false); cin >> n; for (int i = 0; i < n; ++i) { int start, end; cin >> start >> end; meeting.push_back({end, start}); } sort(meeting.b...
21.409091
66
0.558386
ginami0129g
65e247346c36b7e15bd45730a135f7fb57fc9efd
2,926
cc
C++
zbluenet/zbluenet/src/zbluenet/client/tcp_client_service.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
3
2021-09-08T02:36:08.000Z
2022-01-02T20:18:44.000Z
zbluenet/zbluenet/src/zbluenet/client/tcp_client_service.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
null
null
null
zbluenet/zbluenet/src/zbluenet/client/tcp_client_service.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
null
null
null
#include <zbluenet/client/tcp_client_service.h> #include <zbluenet/log.h> namespace zbluenet { namespace client { TcpClientService::TcpClientService(const std::string &client_name, const std::string &host, uint16_t port, const CreateMessageFunc &create_message_func, ...
30.8
158
0.695147
zhengjinwei123
65e578ff34a0da86075e9c7c074119b529fd01a4
815
cpp
C++
bubblesort.cpp
sagnik2013/sourceCodeRandom
539dac4aeaee4b52ea3544dfae2b814510ee0f54
[ "Apache-2.0" ]
null
null
null
bubblesort.cpp
sagnik2013/sourceCodeRandom
539dac4aeaee4b52ea3544dfae2b814510ee0f54
[ "Apache-2.0" ]
null
null
null
bubblesort.cpp
sagnik2013/sourceCodeRandom
539dac4aeaee4b52ea3544dfae2b814510ee0f54
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main() { string n; cout<<"Enter numbers"; cin>>n; int bytes=n.size(); int nums[bytes]; for(int i=0;i<bytes;i++) { nums[i]=n[i]-48; } for(int x=0; x<bytes-1;x++) { int sortCheck=0; ...
15.673077
39
0.323926
sagnik2013
65ec16596ed4b0e2e2067f65e732e4d1484c3078
17,860
cpp
C++
Source/DeskbarWeatherView.cpp
augiedoggie/DeskbarWeather
d6a13e305b4be8f65a2f9cffbfa1f83857182abd
[ "MIT" ]
null
null
null
Source/DeskbarWeatherView.cpp
augiedoggie/DeskbarWeather
d6a13e305b4be8f65a2f9cffbfa1f83857182abd
[ "MIT" ]
2
2021-09-17T19:23:27.000Z
2022-01-06T19:38:24.000Z
Source/DeskbarWeatherView.cpp
augiedoggie/DeskbarWeather
d6a13e305b4be8f65a2f9cffbfa1f83857182abd
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2021 Chris Roberts #include "DeskbarWeatherView.h" #include "Condition.h" #include "IpApiLocationProvider.h" #include "ForecastWindow.h" #include "OpenWeather.h" #include "SettingsWindow.h" #include "WeatherSettings.h" #include <Alert.h> #include <Application...
26.53789
132
0.718029
augiedoggie
65f675be3a81bc001908d6e15256c043712ebc5a
533
hpp
C++
plugins/opengl/include/sge/opengl/extension_set.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/extension_set.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/extension_set.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_OPENGL_EXTENSION_SET_HPP_INCLUDED #define SGE_OPENGL_EXTENSION_SET_HPP_INCLUDED #inclu...
24.227273
61
0.757974
cpreh
65f97d89df395d57b1c34ba2964988cd8cb2a02a
1,816
cpp
C++
Alura/01Introducao/JogoDaAdivinhacao/02JogoAdivinhacao.cpp
joaoeduardogomes/treino-cpp
81b6ddf795a3a36262475d76e0a104ff2248ed84
[ "MIT" ]
null
null
null
Alura/01Introducao/JogoDaAdivinhacao/02JogoAdivinhacao.cpp
joaoeduardogomes/treino-cpp
81b6ddf795a3a36262475d76e0a104ff2248ed84
[ "MIT" ]
null
null
null
Alura/01Introducao/JogoDaAdivinhacao/02JogoAdivinhacao.cpp
joaoeduardogomes/treino-cpp
81b6ddf795a3a36262475d76e0a104ff2248ed84
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { cout << "*************************************" << endl; cout << "* Bem-vindo ao jogo de adivinhação! *" << endl; cout << "*************************************" << endl; cout << "Escolha o seu nível de dificuldade: " << endl; cout << "Fácil (...
28.375
129
0.52533
joaoeduardogomes
65fa99ea4c3a5a47348a0629cd9b1f8d138d09b4
658
cc
C++
samples/08-memory/reference/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
samples/08-memory/reference/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
samples/08-memory/reference/main.cc
brockus/the_cpp_tutorial
87d73fa7111dd6fe22299b01edc5663bfd192782
[ "Apache-2.0" ]
null
null
null
// // author: Michael Brockus // gmail : <michaelbrockus@gmail.com> // #include <iostream> #include <cstdlib> #include <vector> int main() { // // When a variable is declared as reference, it becomes // an alternative name for an existing variable. A // variable can be declared as reference by putting ...
21.933333
59
0.574468
brockus
5a015e17267e98d039b6826fe03e3146fc8ec204
6,729
hpp
C++
ArchEngine/ArchEngine/OS/inputManager.hpp
marcelodmmenezes/ArchEngine
ef22aedd355fe79a489ddf57385939ef905cdc5e
[ "MIT" ]
3
2019-09-22T03:00:37.000Z
2020-07-25T15:34:02.000Z
ArchEngine/ArchEngine/OS/inputManager.hpp
marcelodmmenezes/TCC
ef22aedd355fe79a489ddf57385939ef905cdc5e
[ "MIT" ]
null
null
null
ArchEngine/ArchEngine/OS/inputManager.hpp
marcelodmmenezes/TCC
ef22aedd355fe79a489ddf57385939ef905cdc5e
[ "MIT" ]
null
null
null
/*===========================================================================* * Arch Engine - "OS/inputManager.hpp" * * * * Responsible for creating and managing all input associated stuff. * * T...
30.040179
79
0.633972
marcelodmmenezes
5a076a79874a1d0e9d84cd09b0ec5422ca535323
294
cpp
C++
leetcode/bit-manipulation/191.number-of-1-bits.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/bit-manipulation/191.number-of-1-bits.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/bit-manipulation/191.number-of-1-bits.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// @author: Saurabh Raj // @user: saurabhraj042 // https://leetcode.com/problems/number-of-1-bits/description/ class Solution { public: int hammingWeight(uint32_t n) { int ans=0; while(n>0){ n &= (n-1); ans++; } return ans; } };
18.375
62
0.52381
saurabhraj042
5a0a8bb05ab7c0f7158b7a07bbf4af9d0dee1804
2,306
hpp
C++
libtrackerboy/include/trackerboy/data/Sequence.hpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
libtrackerboy/include/trackerboy/data/Sequence.hpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
libtrackerboy/include/trackerboy/data/Sequence.hpp
thebigG/trackerboy
c6a818954b2a57bb1d883ad1d52764c6bd29de6d
[ "MIT" ]
null
null
null
/* ** Trackerboy - Gameboy / Gameboy Color music tracker ** Copyright (C) 2019-2020 stoneface86 ** ** 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 li...
25.622222
95
0.703816
thebigG
5a0c2f52ded54eb865a0d0efbdcc628b88fa2abf
1,783
cpp
C++
src/resource/format/bifreader.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
37
2020-06-27T18:50:48.000Z
2020-08-02T14:13:51.000Z
src/resource/format/bifreader.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
null
null
null
src/resource/format/bifreader.cpp
seedhartha/revan
b9a98007ca2f510b42894ecd09fb623571b433dc
[ "MIT" ]
1
2020-07-14T13:32:15.000Z
2020-07-14T13:32:15.000Z
/* * Copyright (c) 2020-2022 The reone project contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
26.220588
73
0.704431
seedhartha
5a0de0cf499b3856d5a0abae040abd7044b32d48
18,568
cpp
C++
src/Squirrel.cpp
elmindreda/Nori
fdeec9970ee6a254bae389ade4455171df875473
[ "Zlib" ]
23
2015-06-13T22:42:38.000Z
2019-08-06T19:56:19.000Z
src/Squirrel.cpp
elmindreda/nori
fdeec9970ee6a254bae389ade4455171df875473
[ "Zlib" ]
null
null
null
src/Squirrel.cpp
elmindreda/nori
fdeec9970ee6a254bae389ade4455171df875473
[ "Zlib" ]
3
2015-05-31T17:01:10.000Z
2020-03-26T13:55:24.000Z
/////////////////////////////////////////////////////////////////////// // Nori - a simple game engine // Copyright (c) 2009 Brandon Jones // Copyright (c) 2011 Camilla Berglund <elmindreda@elmindreda.org> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors ...
19.301455
77
0.636094
elmindreda
5a131e3a69875e499e14b1039d2b7198011749d3
2,521
cpp
C++
webkit/WebCore/platform/graphics/wx/PenWx.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
Source/WebCore/platform/graphics/wx/PenWx.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Source/WebCore/platform/graphics/wx/PenWx.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com> * * 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 con...
32.320513
115
0.696152
s1rcheese
5a174cc2288f9e4c869cb6e88f26b368a6e19d25
655
cpp
C++
H & M.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
H & M.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
H & M.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
#include <stdio.h> #include <conio.h> #include <iostream.h> main() { char kode,ukuran,merk[15]; long harga=0; clrscr(); cout<<"Kode Baju : ";cin>>kode; cout<<"Ukuran : ";cin>>ukuran; if(kode=='1') { strcpy(merk, "H & M"); if(ukuran=='S' || ukuran=='s'){ harga=75000; }else{ harga=1...
16.375
40
0.540458
ikamei15
5a1953ff1b68a2ee952f3061e19647b44040e5f2
241
cpp
C++
2021.10.03_task3/Project_08/Source.cpp
OsyDanil/ProgramminSPBU_2021_01
6690c2c9fd44264bd98b9e66a3d9397c8aa0a022
[ "Apache-2.0" ]
null
null
null
2021.10.03_task3/Project_08/Source.cpp
OsyDanil/ProgramminSPBU_2021_01
6690c2c9fd44264bd98b9e66a3d9397c8aa0a022
[ "Apache-2.0" ]
null
null
null
2021.10.03_task3/Project_08/Source.cpp
OsyDanil/ProgramminSPBU_2021_01
6690c2c9fd44264bd98b9e66a3d9397c8aa0a022
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int n = 0; cin >> n; int sam = 0; int k = 0; while (k!=n) { int x = 0; cin >> x; sam = sam + x; ++k; } cout << sam << endl; return EXIT_SUCCESS; }
12.05
32
0.53112
OsyDanil
5a1e658f82a37d99e31eb70df2d89cf5ff3f673f
10,314
cpp
C++
src/smuRF.cpp
chrissly31415/smuRF
0f5e04b88cf23e1bada385584b8aa942cfbf1622
[ "BSD-2-Clause" ]
null
null
null
src/smuRF.cpp
chrissly31415/smuRF
0f5e04b88cf23e1bada385584b8aa942cfbf1622
[ "BSD-2-Clause" ]
null
null
null
src/smuRF.cpp
chrissly31415/smuRF
0f5e04b88cf23e1bada385584b8aa942cfbf1622
[ "BSD-2-Clause" ]
null
null
null
/* * smuRF.cpp * * Created on: Sep 16, 2012 * Author: Christoph Loschen */ #ifdef __unix__ #include <sys/time.h> #endif #if defined( _WIN32) || defined(_WIN64) #include <windows.h> #endif #include <iostream> #include <typeinfo> #include <map> #include <sstream> #include "RandomForest.h" #include "OnlineSG...
33.163987
223
0.663564
chrissly31415
5a1ef9008a3e99458151b7ddca4cf6287ce68187
2,894
cpp
C++
GraphOptimizer/external/g2o/include/g2o/types/slam3d_addons/edge_se3_line.cpp
mihaibujanca/ElasticReconstruction
3bee618b050f090f72b4cea8f698b0e6dd9387ad
[ "MIT" ]
57
2018-03-11T03:35:46.000Z
2022-03-14T07:39:26.000Z
rgbd_slam/ORB_SLAM2_modified/Thirdparty/g2o/g2o/types/slam3d_addons/edge_se3_line.cpp
AndyoyoZ/kinect_rgb_calibration
80b6ff877879224cd3898f69d7f483f44f404079
[ "Apache-2.0" ]
4
2020-07-29T08:08:39.000Z
2021-08-20T09:25:31.000Z
rgbd_slam/ORB_SLAM2_modified/Thirdparty/g2o/g2o/types/slam3d_addons/edge_se3_line.cpp
AndyoyoZ/kinect_rgb_calibration
80b6ff877879224cd3898f69d7f483f44f404079
[ "Apache-2.0" ]
23
2016-06-17T01:49:13.000Z
2022-01-24T13:59:31.000Z
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard // 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 r...
34.452381
87
0.680028
mihaibujanca
5a230fe7dd8a7d6dca9070591b55e15911e4c038
1,079
hpp
C++
XFrame/old/include/xwinbase.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
XFrame/old/include/xwinbase.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
XFrame/old/include/xwinbase.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#pragma once #include "xbase.hpp" namespace Hxsoft{ namespace XFrame{ class XFRAME_API XWinbase: public XBase { public: // window handle HWND m_hWnd; public: XWinbase(void):m_hWnd(NULL){}; public: ~XWinbase(void){}; public: // create window HWND Create(DWORD dwStyle, LPTSTR pszWndClass,...
41.5
198
0.744208
qianxj
5a2b24526345ba1e4a7029cf2b4171fb3bfb687d
1,310
hpp
C++
src/gpu/vuk/States/Post/Wire/WirePipeline.hpp
awwdev/rts
705a45e654ec48ebcfc9cfe5cef348025b11bccc
[ "MIT" ]
6
2021-02-02T04:26:32.000Z
2022-01-11T19:00:33.000Z
src/gpu/vuk/States/Post/Wire/WirePipeline.hpp
awwdev/rts
705a45e654ec48ebcfc9cfe5cef348025b11bccc
[ "MIT" ]
1
2021-07-21T15:21:28.000Z
2021-07-21T15:21:28.000Z
src/gpu/vuk/States/Post/Wire/WirePipeline.hpp
awwdev/rts
705a45e654ec48ebcfc9cfe5cef348025b11bccc
[ "MIT" ]
1
2021-12-27T16:03:45.000Z
2021-12-27T16:03:45.000Z
#pragma once #include "gpu/vuk/Wrappers/Pipeline.hpp" #include "gpu/vuk/States/Post/Wire/WireVertices.hpp" #include "gpu/vuk/States/Post/PostUniforms.hpp" /////////////////////////////////////////////////////////// namespace rts::gpu::vuk { /////////////////////////////////////////////////////////// inline void Cr...
31.95122
93
0.647328
awwdev
5a2fb90d46e67f2d2c25285e55188eb155aa9785
2,457
hpp
C++
include/JoSIM/Model.hpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
null
null
null
include/JoSIM/Model.hpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
null
null
null
include/JoSIM/Model.hpp
tanetakumi/JoSIM
953b6d28860d1c3aa2eee03c7f3e9a504c58742b
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Johannes Delport // This code is licensed under MIT license (see LICENSE for details) #ifndef JOSIM_MODEL_HPP #define JOSIM_MODEL_HPP #include "JoSIM/Constants.hpp" #include "JoSIM/Parameters.hpp" #include "JoSIM/TypeDefines.hpp" namespace JoSIM { class Model { private: std::string mod...
18.335821
68
0.520147
tanetakumi
5a35a8336c0c05be0da5e5695b385562162802d4
2,713
cpp
C++
core/run/test/Config.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
20
2021-04-02T04:30:08.000Z
2022-03-01T09:52:01.000Z
core/run/test/Config.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
null
null
null
core/run/test/Config.cpp
pavelsevecek/OpenSPH
d547c0af6270a739d772a4dcba8a70dc01775367
[ "MIT" ]
1
2022-01-22T11:44:52.000Z
2022-01-22T11:44:52.000Z
#include "run/Config.h" #include "catch.hpp" #include "objects/containers/FlatMap.h" using namespace Sph; TEST_CASE("Config serialize", "[config]") { Config config; SharedPtr<ConfigNode> node = config.addNode("node"); node->set("number", 5); node->set("string", std::string("test")); const std::st...
33.085366
79
0.653889
pavelsevecek
5a35dc3492839fdf3bb310a1be763a82d8ad84ad
20,795
cpp
C++
tests/LoggerManagerTest.cpp
Alv3s/Thing.Core
16f5afa37aef24769436e909e88648f0345b2031
[ "MIT" ]
3
2020-06-08T12:50:37.000Z
2020-09-22T01:13:01.000Z
tests/LoggerManagerTest.cpp
Alv3s/Thing.Core
16f5afa37aef24769436e909e88648f0345b2031
[ "MIT" ]
null
null
null
tests/LoggerManagerTest.cpp
Alv3s/Thing.Core
16f5afa37aef24769436e909e88648f0345b2031
[ "MIT" ]
1
2020-09-24T19:22:10.000Z
2020-09-24T19:22:10.000Z
#include "LoggerManagerTest.h" #include "LoggerListenerMock.h" using ::testing::Return; using ::testing::_; using ::testing::StrCaseEq; namespace Thing { namespace Core { namespace Tests { void LoggerManagerTest::SetUp() { } void LoggerManagerTest::TearDown() { } #pragma region AddListener T...
34.89094
98
0.72301
Alv3s
5a36c7c43b011e998a8cd682355af59c4db89ea2
174
cpp
C++
BOJ18108/18108.cpp
wjoh0315/BOJSolutions4
1a5910f6dda33c58fdcb806ed0a2806a4f5d764a
[ "MIT" ]
null
null
null
BOJ18108/18108.cpp
wjoh0315/BOJSolutions4
1a5910f6dda33c58fdcb806ed0a2806a4f5d764a
[ "MIT" ]
null
null
null
BOJ18108/18108.cpp
wjoh0315/BOJSolutions4
1a5910f6dda33c58fdcb806ed0a2806a4f5d764a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int bul; cin >> bul; cout << bul - 543 << '\n'; }
14.5
37
0.574713
wjoh0315
5a398a9cd02c65e23aac39e0bf82e77dae29edf6
3,744
cpp
C++
avs/vis_avs/g_mirror.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
18
2020-07-30T11:55:23.000Z
2022-02-25T02:39:15.000Z
avs/vis_avs/g_mirror.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
34
2021-01-13T02:02:12.000Z
2022-03-23T12:09:55.000Z
avs/vis_avs/g_mirror.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
3
2021-03-18T12:53:58.000Z
2021-10-02T20:24:41.000Z
#include "g__lib.h" #include "g__defs.h" #include "c_mirror.h" #include "resource.h" #include <windows.h> #include <commctrl.h> int getMode(HWND hwndDlg) { int a; a=IsDlgButtonChecked(hwndDlg,IDC_HORIZONTAL1)?HORIZONTAL1:0; a|=IsDlgButtonChecked(hwndDlg,IDC_HORIZONTAL2)?HORIZONTAL2:0; a|=IsDlgButtonChecked(hwndDlg,ID...
34.348624
106
0.71047
semiessessi
5a3f99a02c5f50413420039940ea982a02bff6e3
24,141
cpp
C++
DemoFramework/FslGraphics/source/FslGraphics/PixelFormatLayoutUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslGraphics/source/FslGraphics/PixelFormatLayoutUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslGraphics/source/FslGraphics/PixelFormatLayoutUtil.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
61.9
235
0.788244
alejandrolozano2
5a4290830941370a445b27285855f4aa9774ac66
1,964
hpp
C++
src/grammar/marks_private.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
34
2020-08-14T14:32:51.000Z
2022-02-16T23:20:02.000Z
src/grammar/marks_private.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
19
2020-08-20T20:04:39.000Z
2022-02-28T14:34:37.000Z
src/grammar/marks_private.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
7
2020-08-14T14:18:17.000Z
2022-02-01T10:59:24.000Z
#ifndef MARKS_PRIVATE_HPP #define MARKS_PRIVATE_HPP #include "xvega/grammar/marks.hpp" #include "../utils/serialize.hpp" namespace xv { template <class D> void private_to_json(const mark<D>& c, nl::json& j) { // Fill in General Mark Properties serialize(j, c.type(), "type"); serial...
35.071429
63
0.565173
domoritz
5a4483a7f882f9a305d1fc2b544abfd9d0fcbcb1
871
hpp
C++
src/engine/camera/camera.hpp
H2O-2/particularGL
44f093fc4208a57e8053de8597b4131acff87e09
[ "MIT" ]
4
2018-12-31T03:35:19.000Z
2022-02-06T06:28:27.000Z
src/engine/camera/camera.hpp
H2O-2/particularGL
44f093fc4208a57e8053de8597b4131acff87e09
[ "MIT" ]
null
null
null
src/engine/camera/camera.hpp
H2O-2/particularGL
44f093fc4208a57e8053de8597b4131acff87e09
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" extern const glm::vec3 DEFAULT_POSN; extern const glm::vec3 DEFAULT_DIR; extern const glm::vec3 DEFAULT_RIGHT; extern const glm::vec3 DEFAULT_UP; extern const float DEFAULT_CAMERA_PITCH; extern const float DEFAULT_CAMERA_YAW...
21.775
54
0.730195
H2O-2
5a4be9facc34a2297aea253b68b73284ce10af83
1,894
hpp
C++
src/wrappers/qcc_wrapper.hpp
Take-A-Byte/buildcache
d97c536757fbba68b34908feb4a46cd7432d1df2
[ "Zlib" ]
160
2018-04-18T06:56:42.000Z
2022-03-16T20:27:16.000Z
src/wrappers/qcc_wrapper.hpp
Take-A-Byte/buildcache
d97c536757fbba68b34908feb4a46cd7432d1df2
[ "Zlib" ]
159
2018-04-09T10:57:43.000Z
2022-03-16T17:05:24.000Z
src/wrappers/qcc_wrapper.hpp
Take-A-Byte/buildcache
d97c536757fbba68b34908feb4a46cd7432d1df2
[ "Zlib" ]
33
2019-08-06T16:12:06.000Z
2021-12-22T11:38:54.000Z
//-------------------------------------------------------------------------------------------------- // Copyright (c) 2021 Marcus Geelnard // // This software is provided 'as-is', without any express or implied warranty. In no event will the // authors be held liable for any damages arising from the use of this softwar...
42.088889
100
0.67793
Take-A-Byte
9902e8e343844f4a0b3244442913184ebe5e9442
1,934
cc
C++
src/main.cc
yesh0/Downpour
f6e48f6e1d534ab4657aaf8bd354d61739df7783
[ "CC-BY-4.0" ]
null
null
null
src/main.cc
yesh0/Downpour
f6e48f6e1d534ab4657aaf8bd354d61739df7783
[ "CC-BY-4.0" ]
null
null
null
src/main.cc
yesh0/Downpour
f6e48f6e1d534ab4657aaf8bd354d61739df7783
[ "CC-BY-4.0" ]
null
null
null
#include <cmath> #include <filesystem> #include <iostream> #include "Box2D/Box2D.h" #include "SFML/Graphics.hpp" #include "asset_manager.h" #include "b2_tiled.h" #include "level.h" #include "particle_batch.h" #include "rain_mixer.h" #include "rate_limiter.h" #include "stage.h" #include "tiled.h" #include "tiled_world...
22.229885
77
0.663909
yesh0
990ddc87442e4c1c1cb1c49ae61b28a045b11c6e
4,005
cpp
C++
bfloat/flimb/arithmetic/flimb_multiply.cpp
mrdcvlsc/bignum
7e3b03069495e7f2151d25d5f62c35075f9b6a7f
[ "MIT" ]
8
2020-11-17T02:12:14.000Z
2021-08-09T02:02:13.000Z
bfloat/flimb/arithmetic/flimb_multiply.cpp
mrdcvlsc/bignum
7e3b03069495e7f2151d25d5f62c35075f9b6a7f
[ "MIT" ]
2
2020-12-03T05:43:51.000Z
2021-01-16T14:15:25.000Z
bfloat/flimb/arithmetic/flimb_multiply.cpp
mrdcvlsc/bignum
7e3b03069495e7f2151d25d5f62c35075f9b6a7f
[ "MIT" ]
2
2021-01-13T05:23:27.000Z
2021-02-10T04:38:32.000Z
#ifndef FLIMB_MULTIPLY_HPP #define FLIMB_MULTIPLY_HPP #include <iostream> #include "../flimb.hpp" #include "../../../bint/bint.hpp" namespace backend_bigfloat { inline flimb flimb::operator*(const flimb& multiplier) const { std::vector<dtype> product_flimbs(limbs.size()+multiplier.limbs.size(),0); ...
34.826087
139
0.560549
mrdcvlsc
99119fe7074bb90e32f4483120b81a632a355184
1,572
cpp
C++
src/plugins/android/src/system/android_gl_context.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
3,262
2016-04-10T15:24:10.000Z
2022-03-31T17:47:08.000Z
src/plugins/android/src/system/android_gl_context.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
53
2016-10-09T16:25:04.000Z
2022-01-10T13:52:37.000Z
src/plugins/android/src/system/android_gl_context.cpp
sunhay/halley
fc4f153956cc34d7fa02b76850e22183b8e30e25
[ "Apache-2.0" ]
193
2017-10-23T06:08:41.000Z
2022-03-22T12:59:58.000Z
#include <EGL/egl.h> #include <EGL/eglext.h> #include "android_gl_context.h" using namespace Halley; static EGLint contextAttribs[] = { EGL_CONTEXT_MAJOR_VERSION_KHR, 3, EGL_NONE }; AndroidGLContext::AndroidGLContext(AndroidGLContext* other) : config(other->config) , display(other->display) , shar...
26.644068
98
0.708651
sunhay
9911d1fc0f7f86e57274a616e9a5b68133db73ca
2,184
cpp
C++
packages/monte_carlo/event/dispatcher/src/MonteCarlo_ParticleCrossingSurfaceEventHandler.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/event/dispatcher/src/MonteCarlo_ParticleCrossingSurfaceEventHandler.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/event/dispatcher/src/MonteCarlo_ParticleCrossingSurfaceEventHandler.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_ParticleCrossingSurfaceEventHandler.cpp //! \author Alex Robinson //! \brief Particle crossing surface event handler definition //! //---------------------------------------------------------------------------// ...
35.803279
90
0.687729
bam241
9913231933b6909df1b68945423e3e99378c27a7
2,219
cc
C++
src/libtools/linalg/gsl/svd.cc
vaidyanathanms/votca.tools
62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4
[ "Apache-2.0" ]
null
null
null
src/libtools/linalg/gsl/svd.cc
vaidyanathanms/votca.tools
62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4
[ "Apache-2.0" ]
null
null
null
src/libtools/linalg/gsl/svd.cc
vaidyanathanms/votca.tools
62f9070f6b65c5bfd1227d61cddd2c5c29bcb8d4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2015 The VOTCA Development Team (http://www.votca.org) * * 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 * * Unl...
30.819444
152
0.711582
vaidyanathanms
9916829af12245063c9664df1a1fd8b78f2c956c
964
cpp
C++
Stack/Stack_02_IMPLEMENT_USING_LinkList.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Stack/Stack_02_IMPLEMENT_USING_LinkList.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Stack/Stack_02_IMPLEMENT_USING_LinkList.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class node { public: int data; node *link; }; node *top = NULL; void push(int x) { node *newnode = new node(); newnode->data = x; newnode->link = top; top = newnode; } void display() { cout << "\n"; node *temp = top; ...
13.971014
37
0.414938
compl3xX
991adca75d5cc87124f13796a5ce4351b5c49f18
1,239
hpp
C++
CryptoMatch/engine/order_book.hpp
mpro34/cryptomatch
f7b08c9bcfb947eafaada4fdd8e2a4dbe7297ecc
[ "MIT" ]
1
2022-01-24T03:37:14.000Z
2022-01-24T03:37:14.000Z
CryptoMatch/engine/order_book.hpp
mpro34/cryptomatch
f7b08c9bcfb947eafaada4fdd8e2a4dbe7297ecc
[ "MIT" ]
null
null
null
CryptoMatch/engine/order_book.hpp
mpro34/cryptomatch
f7b08c9bcfb947eafaada4fdd8e2a4dbe7297ecc
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "order.hpp" #include "trade.hpp" class OrderBook { // Sorted by price: Lowest -> Highest std::vector<Order*> m_buy_orders; // Sorted by price: Highest -> Lowest std::vector<Order*> m_sell_orders; public: OrderBook() = default; OrderBook(std::vector<Order*>...
26.934783
79
0.682809
mpro34
99279dc3d3d053f38b0c09cd2d57eb806c48f2ea
2,467
cpp
C++
Assignment 5/floydWarshallAlgorithm.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
Assignment 5/floydWarshallAlgorithm.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
Assignment 5/floydWarshallAlgorithm.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
// program for implementing floyd warshall algorithm #include <iostream> using namespace std; #define INF 999999 // allocated space for adjacency matrix representation #define adjacencyMatrixDimension 150 // N -> number of vertices in graph int N; // function solves all pair shortest path problem using floyd warshal...
27.10989
92
0.646129
Raghav1806
9928516947322c4b97daf1d00dc39f75d703454a
760
cc
C++
src/algorithms/conditional_algorithm.cc
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/conditional_algorithm.cc
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
null
null
null
src/algorithms/conditional_algorithm.cc
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
1
2020-12-21T21:24:49.000Z
2020-12-21T21:24:49.000Z
#include "conditional_algorithm.h" #include <Eigen/Dense> #include "base_algorithm.h" #include "src/collectors/base_collector.h" #include "src/mixings/conditional_mixing.h" void ConditionalAlgorithm::initialize() { BaseAlgorithm::initialize(); cond_mixing = std::dynamic_pointer_cast<ConditionalMixing>(mixing); }...
34.545455
72
0.747368
ricardaxel
992a19e06887a1e57dee4f837326395fb4eb810e
1,283
cpp
C++
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/src/util/generic/event_loop_signal.cpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
2
2021-02-04T22:41:57.000Z
2021-03-27T07:28:02.000Z
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/src/util/generic/event_loop_signal.cpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
2
2022-02-26T17:14:32.000Z
2022-03-02T12:47:21.000Z
bm/Carthage/Checkouts/realm-cocoa/Realm/ObjectStore/src/util/generic/event_loop_signal.cpp
pavlem/TestBestM
ee61f6e4d58b759648d90f08a72da6620d83b5f9
[ "MIT" ]
3
2019-02-19T12:55:12.000Z
2019-05-30T08:33:23.000Z
//////////////////////////////////////////////////////////////////////////// // // 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...
32.897436
134
0.653157
pavlem
992af35c37467b539dcb427746c4dbc122a33a2f
426
cpp
C++
SmartRockets/Obstacles.cpp
ElectroBean/SmartRockets
fc4bd2a98b4e59929583f3b9b185401d168d8f7b
[ "MIT" ]
null
null
null
SmartRockets/Obstacles.cpp
ElectroBean/SmartRockets
fc4bd2a98b4e59929583f3b9b185401d168d8f7b
[ "MIT" ]
null
null
null
SmartRockets/Obstacles.cpp
ElectroBean/SmartRockets
fc4bd2a98b4e59929583f3b9b185401d168d8f7b
[ "MIT" ]
null
null
null
#include "Obstacles.h" Obstacles::Obstacles(glm::vec2 position, glm::vec2 extents) { this->position = position; this->extents = extents; this->min = this->position - glm::vec2(extents.x / 2, extents.y); this->max = this->position + glm::vec2(extents.x / 2, extents.y); } Obstacles::~Obstacles() { } void Obstacl...
20.285714
66
0.687793
ElectroBean
992f32dbe61e6b379c1cb7e1bffa8f2cd28823a9
691
cpp
C++
cpp/ConvertSortedArraytoBinarySearchTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
12
2015-03-12T03:27:26.000Z
2021-03-11T09:26:16.000Z
cpp/ConvertSortedArraytoBinarySearchTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
null
null
null
cpp/ConvertSortedArraytoBinarySearchTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
11
2015-01-28T16:45:40.000Z
2017-03-28T20:01:38.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: TreeNode *sortedArrayToBST(vector<int> &num) { return sortedArrayToBST(num, 0, (int)num.size()-...
26.576923
70
0.561505
thinksource
99323fd94a69d1be80a2015c2485b48740760f29
3,433
cpp
C++
game_player_ai.cpp
brunoga/blinks-hexxagon-ai
4ef0714cf4ecb58431e10b1d7f0fa1f7e1da6b5c
[ "Apache-2.0" ]
1
2020-12-24T02:44:29.000Z
2020-12-24T02:44:29.000Z
game_player_ai.cpp
brunoga/blinks-hexxagon-ai
4ef0714cf4ecb58431e10b1d7f0fa1f7e1da6b5c
[ "Apache-2.0" ]
null
null
null
game_player_ai.cpp
brunoga/blinks-hexxagon-ai
4ef0714cf4ecb58431e10b1d7f0fa1f7e1da6b5c
[ "Apache-2.0" ]
2
2020-12-24T02:44:33.000Z
2021-04-29T00:38:37.000Z
#include "game_player_ai.h" #include "game_map.h" #include "game_state.h" // Use integer coeficients to avoid floating point operations. #define GAME_PLAYER_AI_SCORE_BORDER_SCORE 1 #define GAME_PLAYER_AI_SCORE_NO_JUMP_SCORE \ 20 // Jump costs 1 captured position. #define GAME_PLAYER_AI_SCORE_JOIN_MULTIPLIER 4 #def...
35.760417
79
0.703758
brunoga
9934ec80033835f73569665f5dc64ee1061208c3
1,673
cpp
C++
CCC Senior 2020/ccc20s2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
CCC Senior 2020/ccc20s2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
CCC Senior 2020/ccc20s2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define f first #define s second #define pb push_back #define FILL(a, b) memset(a, b, sizeof(a)) typedef long long int ll; typedef pair<int, int> pii; typedef pair<int, pii> piii; typedef vector<int> vi; typedef vector<pii> vii; const int INF = 0x3f3f3f3f; ...
24.602941
125
0.499701
dl4us
99358530b01e0171daf69e2d59aa8bdd6f7f8127
246
hpp
C++
src/cargame/GuiCredits.hpp
sppmacd/CarGame
c6b7351daa94b692ab209a5035c85084eafb8a67
[ "MIT" ]
1
2020-05-13T18:19:17.000Z
2020-05-13T18:19:17.000Z
src/cargame/GuiCredits.hpp
sppmacd/CarGame
c6b7351daa94b692ab209a5035c85084eafb8a67
[ "MIT" ]
5
2019-07-15T15:43:38.000Z
2020-04-18T17:46:24.000Z
src/cargame/GuiCredits.hpp
sppmacd/CarGame
c6b7351daa94b692ab209a5035c85084eafb8a67
[ "MIT" ]
null
null
null
#pragma once #include <CG/CG.h> using namespace cg; class GuiCredits: public Gui { public: Button bOk; virtual void onClick(int id); virtual void onResize(); virtual void onLoad(); virtual void onDraw(RenderWindow& wnd); };
16.4
43
0.682927
sppmacd
9935e20b5b3331630a6a0f524b381604b8d7d90a
1,034
cpp
C++
dataset/test/1624C/20.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/1624C/20.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/1624C/20.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define int long long #define pb push_back #define vi vector<long long> #define pii pair<int,int> #define ff first #define ss second #define all(x) (x).begin(),(x).end() #define mod 10000000007 int32_t main() { ios::sync_with_stdio(false); cin.ti...
18.140351
37
0.37911
Karina5005
993c67ee36b1b372b86f32c2098be07422fcb5af
1,434
cpp
C++
y2018/filters/selectMode.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
2
2016-08-06T06:21:02.000Z
2017-01-10T05:45:13.000Z
y2018/filters/selectMode.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
1
2017-04-15T20:54:59.000Z
2017-04-15T20:54:59.000Z
y2018/filters/selectMode.cpp
valkyrierobotics/vision2018
aa82e936c5481b7cc43a46ff5f6e68702c2166c2
[ "BSD-2-Clause" ]
3
2016-07-30T06:19:55.000Z
2017-02-07T01:55:05.000Z
#include "filters/selectMode.hpp" // Interface for selecting filters to view and apply void selectMode(int &blur, int &colorThreshold, int &dilateErode, int &edge, int &laplacian, int &houghLines, int& houghCircles, int& uShapeThreshold, int &sideRatioThreshold, int& areaRatioThreshold, int& angleThreshold, int& drawS...
62.347826
249
0.740586
valkyrierobotics
993faacb14b7bf58b722a56afa6b90575311b103
502
cpp
C++
src/Filters/ExponentialFilter.cpp
ZjlZ/FRC-2605-Robot-Code-2014
5903f2640edac30fc7cbbf18fe8eb8c70125eb69
[ "BSD-2-Clause" ]
1
2017-12-27T21:34:42.000Z
2017-12-27T21:34:42.000Z
src/Filters/ExponentialFilter.cpp
ZjlZ/FRC-2605-Robot-Code-2014
5903f2640edac30fc7cbbf18fe8eb8c70125eb69
[ "BSD-2-Clause" ]
null
null
null
src/Filters/ExponentialFilter.cpp
ZjlZ/FRC-2605-Robot-Code-2014
5903f2640edac30fc7cbbf18fe8eb8c70125eb69
[ "BSD-2-Clause" ]
null
null
null
#include "ExponentialFilter.h" /* * Copyright (C) 2014 Liam Taylor * FRC Team Sehome Semonsters 2605 */ ExponentialFilter :: ExponentialFilter ( double Exponent ) { SetExponent ( Exponent ); }; ExponentialFilter :: ~ExponentialFilter () { }; void ExponentialFilter :: SetExponent ( double Exponent ) { this -> E...
15.212121
68
0.665339
ZjlZ
99464a14407b45b5a3da719e3fa9a9ad9f00394e
14,261
hh
C++
EnergyPlus/PVWattsSSC.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/PVWattsSSC.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/PVWattsSSC.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
46.604575
150
0.6414
yurigabrich
99465acea00395f7781772f687259364e63a6174
585
hpp
C++
include/broker.hpp
dashasheveleva/lab_04-boost-filesystem
7f475c8cb8c53dab538b00d71dfd1a3803fc1463
[ "MIT" ]
null
null
null
include/broker.hpp
dashasheveleva/lab_04-boost-filesystem
7f475c8cb8c53dab538b00d71dfd1a3803fc1463
[ "MIT" ]
null
null
null
include/broker.hpp
dashasheveleva/lab_04-boost-filesystem
7f475c8cb8c53dab538b00d71dfd1a3803fc1463
[ "MIT" ]
null
null
null
// Copyright 2021 Daria <photodoshfy@gmail.com> #ifndef INCLUDE_BROKER_HPP_ #define INCLUDE_BROKER_HPP_ #include <boost/filesystem.hpp> #include <iomanip> #include <iostream> #include <regex> #include <set> #include <sstream> #include <string> #include <vector> namespace fs = boost::filesystem; class Broker{ privat...
18.870968
47
0.723077
dashasheveleva
9948d22d0fd6b5e466f7187881db2cdc3b03208f
2,430
hpp
C++
captal/src/captal/bin_packing.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
78
2021-11-02T13:55:43.000Z
2022-02-25T09:37:22.000Z
captal/src/captal/bin_packing.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
null
null
null
captal/src/captal/bin_packing.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
6
2021-11-03T06:56:22.000Z
2022-01-13T19:11:29.000Z
//MIT License // //Copyright (c) 2021 Alexy Pellegrini // //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, ...
27.931034
100
0.710288
cvbn127
994997ba8b6d7b4fdb638c0e1d4b63b6764c6e00
712
hpp
C++
include/lol/def/LolReplaysReplayCreateMetadata.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolReplaysReplayCreateMetadata.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolReplaysReplayCreateMetadata.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 LolReplaysReplayCreateMetadata { std::string gameVersion; std::string gameType; int32_t queueId; uint64_t gameEnd; }; inline void to_json(json& j, const LolReplaysReplayCreateMetadata& v) { j["gameVersion"] = v.gameVersion; ...
32.363636
75
0.647472
Maufeat
994a0cec762a068242634401a6f7492707256f4d
880
cc
C++
test/parser/test_astdump.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
9
2020-01-25T05:27:46.000Z
2022-01-24T02:40:50.000Z
test/parser/test_astdump.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
1
2020-06-01T00:06:12.000Z
2020-06-01T00:06:12.000Z
test/parser/test_astdump.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
1
2020-05-08T05:19:13.000Z
2020-05-08T05:19:13.000Z
/* * Copyright (C) 2020 Ligang Wang <ligangwangs@gmail.com> * * unit test for clib array functions */ #include "gtest/gtest.h" #include "clib/array.h" #include "clib/string.h" #include "codegen/env.h" #include "parser/ast.h" #include "parser/astdump.h" #include "test_base.h" #include "tutil.h" class testAstDump :...
27.5
70
0.692045
ligangwang
994b4e5c3970ccb8dd39f1a92af4ec8f6b4753e3
349
cpp
C++
Kattis_Problems/BatterUp.cpp
MAXI0008/Kattis-Problems
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
3
2019-04-01T05:38:09.000Z
2021-11-17T11:43:20.000Z
Kattis_Problems/BatterUp.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
Kattis_Problems/BatterUp.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<int> arr; int a; for (int i = 0; i < N; i++) { cin >> a; if (a != -1) { arr.push_back(a); } } double sum; for (int x : arr) { sum += (double)x; } cout <...
17.45
37
0.415473
MAXI0008
994cb8a290ddf04bd022aaf20b38859300f0f5a2
68
hpp
C++
modules/in_game_brief/script_component.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
4
2020-05-04T18:03:59.000Z
2020-05-06T19:40:27.000Z
modules/in_game_brief/script_component.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
13
2020-05-06T19:02:06.000Z
2020-08-24T08:16:43.000Z
modules/in_game_brief/script_component.hpp
Bear-Cave-ArmA/Olsen-Framework-ArmA-3
1c1715f0e4ed8f2b655a66999754256fa42ca6bf
[ "MIT" ]
5
2020-05-04T18:04:05.000Z
2020-05-14T16:53:13.000Z
#define COMPONENT IGBRIEF #include "..\..\core\script_macros.hpp"
22.666667
40
0.720588
Bear-Cave-ArmA
9958721484da1847e9d96ef6baa7acccee523582
5,096
cc
C++
lib/asan/asan_poisoning.cc
m-labs/compiler-rt-lm32
06cc76fb7060dcd822cd67ca9affef9cadf8c443
[ "MIT" ]
null
null
null
lib/asan/asan_poisoning.cc
m-labs/compiler-rt-lm32
06cc76fb7060dcd822cd67ca9affef9cadf8c443
[ "MIT" ]
null
null
null
lib/asan/asan_poisoning.cc
m-labs/compiler-rt-lm32
06cc76fb7060dcd822cd67ca9affef9cadf8c443
[ "MIT" ]
3
2015-01-09T13:48:30.000Z
2020-04-26T09:50:52.000Z
//===-- asan_poisoning.cc -------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.090909
80
0.615777
m-labs
9959e390cd2f411921e8215375506eeb5a6a13d9
312
cpp
C++
cpp/test_utils.cpp
davidlowryduda/AoC18
cb1a5abb6fae8a00e805b3c76125e2db8d452cff
[ "MIT" ]
null
null
null
cpp/test_utils.cpp
davidlowryduda/AoC18
cb1a5abb6fae8a00e805b3c76125e2db8d452cff
[ "MIT" ]
null
null
null
cpp/test_utils.cpp
davidlowryduda/AoC18
cb1a5abb6fae8a00e805b3c76125e2db8d452cff
[ "MIT" ]
null
null
null
#include <iostream> #include "utils.h" int main() { std::string content; content = read_file("test_input.txt"); //for (auto c : content) //{ // std::cout << c << "\n"; //} std::cout << content << std::endl; std::cout << "\n\n"; content = read_day(0); std::cout << content << std::endl; }
16.421053
40
0.548077
davidlowryduda
995e29b49f989155148cff3c5de6a82bed886f28
775
cpp
C++
AtCoder/ABC108/abc108C.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
1
2020-05-24T02:27:05.000Z
2020-05-24T02:27:05.000Z
AtCoder/ABC108/abc108C.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
AtCoder/ABC108/abc108C.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <vector> using namespace std; #define REP(a, i, n) for (int i = a; i < n; ++i) int main() { int N, K; cin >> N >> K; vector<int> v; vector<int> w; REP(1, i, N + 1) { if (K % 2 == 0) { if (i % K == K / 2) { v.push...
19.375
72
0.379355
t-mochizuki
996b43bfa79f803c9cbcd3bbfc1123b27fefe400
5,042
cpp
C++
数据结构/chp4/stackApp.cpp
buct1705/912-notes
308946cebc8ab86c999cb4d33fcf3e518e3bfb7a
[ "MIT" ]
3
2019-10-25T01:11:01.000Z
2020-01-20T03:19:54.000Z
数据结构/chp4/stackApp.cpp
xUhEngwAng/notes
308946cebc8ab86c999cb4d33fcf3e518e3bfb7a
[ "MIT" ]
null
null
null
数据结构/chp4/stackApp.cpp
xUhEngwAng/notes
308946cebc8ab86c999cb4d33fcf3e518e3bfb7a
[ "MIT" ]
null
null
null
#include "stackApp.h" #include <stdlib.h> #include <string> /*-----------build-in functions----------*/ int readNumber(char* &expr); int fac(int n); inline char orderBetween(char optr1, char optr2); int findOptr(char optr); double cal(char optr, double opnd); double cal(double opnd1, char optr, double opnd2); void app...
20.412955
92
0.58568
buct1705
996e824cb1ba034a30a2a7c90fcb7bb981ebc5a9
649
cpp
C++
search-a-2d-matrix-ii.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
2
2019-01-10T17:50:26.000Z
2019-05-23T14:31:58.000Z
search-a-2d-matrix-ii.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
search-a-2d-matrix-ii.cpp
mittalnaman2706/LeetCode
ba7e1602fb70ca0063c3e5573ea0661cc5ae9856
[ "Apache-2.0" ]
null
null
null
class Solution { public: int n,m; bool fun(vector<vector<int>>& a,int i,int j,int k){ if(i<0 || i>=n || j<0 || j>=m || a[i][j]==-54932134) return 0; if(k<a[i][j]){ a[i][j]=-54932134; return fun(a,i-1,j,k) || fun(a,i,j-1,k);} else if(k...
24.037037
60
0.392912
mittalnaman2706
99733357db6fe9a223e17fe98996ecf93cedbf18
4,650
cpp
C++
LynxConstructor/release/qmlcache_loader.cpp
Kjelland/lynxLib
d3e8c6f9df19d258438451aec14a0a6cfc49bf1e
[ "Apache-2.0" ]
null
null
null
LynxConstructor/release/qmlcache_loader.cpp
Kjelland/lynxLib
d3e8c6f9df19d258438451aec14a0a6cfc49bf1e
[ "Apache-2.0" ]
null
null
null
LynxConstructor/release/qmlcache_loader.cpp
Kjelland/lynxLib
d3e8c6f9df19d258438451aec14a0a6cfc49bf1e
[ "Apache-2.0" ]
null
null
null
#include <QtQml/qqmlprivate.h> #include <QtCore/qdir.h> #include <QtCore/qurl.h> static const unsigned char qt_resource_tree[] = { 0, 0,0,0,0,2,0,0,0,6,0,0,0,1,0,0,0, 118,0,0,0,0,0,1,0,0,0,0,0,0,0,88,0, 0,0,0,0,1,0,0,0,0,0,0,0,154,0,0,0, 0,0,1,0,0,0,0,0,0,0,8,0,0,0,0,0, 1,0,0,0,0,0,0,0,188,0,0,0,0,0,1,0, 0,0,0,0,0,0,4...
40.434783
138
0.723871
Kjelland
9974b517048d76bb274f2552c5d3c975a99f7a79
9,053
cpp
C++
GameServer/WarCastle_Merac.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/WarCastle_Merac.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/WarCastle_Merac.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include "stdhdrs.h" #include "Server.h" #include "Log.h" #include "CmdMsg.h" #include "WarCastle.h" #include "../ShareLib/packetType/ptype_old_do_item.h" CMeracCastle::CMeracCastle() : CWarCastle() { memset(m_gateNPC, 0, sizeof(CNPC*) * COUNT_MERAC_GATE_NPC); #ifdef WARCASTLE_SUBNUMBER_MEMBER_VALUE m_subNumber = 0...
17.544574
104
0.619795
openlastchaos
997509c5e320e4d70da21650a5748c7b47650fc2
299
cpp
C++
utils/utils.cpp
Morgan94/TP_synthese_image_2A
f940aae81eb04890e0e2e3641862e5a4cacc40c5
[ "MIT" ]
null
null
null
utils/utils.cpp
Morgan94/TP_synthese_image_2A
f940aae81eb04890e0e2e3641862e5a4cacc40c5
[ "MIT" ]
null
null
null
utils/utils.cpp
Morgan94/TP_synthese_image_2A
f940aae81eb04890e0e2e3641862e5a4cacc40c5
[ "MIT" ]
null
null
null
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <GL/glew.h> /* * OpenGL Error checking */ void checkGLerror() { GLenum errCode; if ((errCode = glGetError()) != GL_NO_ERROR) std::cerr<<"OpenGL Error: "<<gluErrorString(errCode)<<std::endl; }
16.611111
72
0.64214
Morgan94
9975891574daaaca4fe81ff45348bd0a4740dfe6
3,070
cpp
C++
src/compiler/CompilerCmdLine_msvc.cpp
jheruty/hotswap-cpp
74175b028bf5dd0aa0dc8450f5251e6dfdf0e380
[ "MIT" ]
7
2021-05-25T11:31:00.000Z
2022-03-16T08:39:03.000Z
src/compiler/CompilerCmdLine_msvc.cpp
jheruty/hotswap-cpp
74175b028bf5dd0aa0dc8450f5251e6dfdf0e380
[ "MIT" ]
1
2021-06-07T20:01:41.000Z
2021-06-16T13:43:23.000Z
src/compiler/CompilerCmdLine_msvc.cpp
jheruty/hotswap-cpp
74175b028bf5dd0aa0dc8450f5251e6dfdf0e380
[ "MIT" ]
3
2021-07-08T07:33:03.000Z
2021-08-21T06:50:31.000Z
#include <fstream> #include <sstream> #include "hscpp/compiler/CompilerCmdLine_msvc.h" #include "hscpp/Log.h" namespace hscpp { CompilerCmdLine_msvc::CompilerCmdLine_msvc(CompilerConfig* pConfig) : m_pConfig(pConfig) {} bool CompilerCmdLine_msvc::GenerateCommandFile(const fs::path &commandFilePa...
33.010753
107
0.526384
jheruty
997ca79e395698cf9b422ec006293a873940044b
103
cpp
C++
server/src/boolean_suppliers/boolean_operator.cpp
joaquinbf/TPFinalPortal
27eed2d1c52297b810a4ad30a54f3267083b9c42
[ "Apache-2.0" ]
null
null
null
server/src/boolean_suppliers/boolean_operator.cpp
joaquinbf/TPFinalPortal
27eed2d1c52297b810a4ad30a54f3267083b9c42
[ "Apache-2.0" ]
null
null
null
server/src/boolean_suppliers/boolean_operator.cpp
joaquinbf/TPFinalPortal
27eed2d1c52297b810a4ad30a54f3267083b9c42
[ "Apache-2.0" ]
null
null
null
#include "../../include/boolean_suppliers/boolean_operator.h" BooleanOperator::~BooleanOperator() { }
20.6
61
0.757282
joaquinbf
5f59808a8c2fccb8db329a0e79a188927ace5652
10,344
hpp
C++
xr3core/h/xr/math/Quaternion.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
7
2018-11-13T09:44:56.000Z
2022-01-12T02:22:41.000Z
xr3core/h/xr/math/Quaternion.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
2
2018-10-30T08:19:02.000Z
2018-12-31T18:48:13.000Z
xr3core/h/xr/math/Quaternion.hpp
zyndor/xrhodes
15017c2ba6499b19e1dd327608ffb44dbaba7a4e
[ "BSD-2-Clause" ]
null
null
null
#ifndef XR_QUATERNION_HPP #define XR_QUATERNION_HPP //============================================================================== // // XRhodes // // copyright (c) Gyorgy Straub. All rights reserved. // // License: https://github.com/zyndor/xrhodes#License-bsd-2-clause // //==========================================...
23.77931
92
0.5407
zyndor
5f599ce0ab6638f153a057c47ba2312255d1b26c
7,337
cpp
C++
src/Editor/ImGUI/EditorWindows/ConsoleWindow.cpp
MisterVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-10T10:58:17.000Z
2018-10-30T09:50:26.000Z
src/Editor/ImGUI/EditorWindows/ConsoleWindow.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
3
2017-05-09T21:17:09.000Z
2020-02-24T14:46:22.000Z
src/Editor/ImGUI/EditorWindows/ConsoleWindow.cpp
mVento3/SteelEngine
403511b53b6575eb869b4ccfbda18514f0838e8d
[ "MIT" ]
null
null
null
#include "Editor/ImGUI/EditorWindows/ConsoleWindow.h" #include "RuntimeReflection/Reflection.h" #include "Core/Core.h" #include "Logger/Logger.h" #include "SDL_keycode.h" #include "Input/Events/KeyDownEvent.h" #include "Input/Events/KeyUpEvent.h" namespace SteelEngine { ConsoleWindow::ConsoleWindow() { ...
29
155
0.493253
MisterVento3
5f5a7fbae5a9c47e6b1356e3bf6396d7e7cab123
1,572
cpp
C++
GT/tree-cut-lca.cpp
eqvpkbz/Templates-In-OI
78f294e760494b44baad746d57f9a0a1e31f6495
[ "MIT" ]
4
2020-11-20T14:25:49.000Z
2021-02-20T01:45:24.000Z
GT/tree-cut-lca.cpp
eqvpkbz/Templates-In-OI
78f294e760494b44baad746d57f9a0a1e31f6495
[ "MIT" ]
null
null
null
GT/tree-cut-lca.cpp
eqvpkbz/Templates-In-OI
78f294e760494b44baad746d57f9a0a1e31f6495
[ "MIT" ]
2
2020-11-20T15:01:15.000Z
2021-02-19T14:22:59.000Z
#include <cstdio> #define re register #define rep(i, a, b) for(re int i = (a); i <= (b); ++ i) #define Rep(i, a, b) for(re int i = (a); i < (b); ++ i) #define fwd(i, u) for(re int i = head[(u)]; i; i = e[i].nxt) const int N = 1e6 + 5; const int M = 2e6 + 5; int n, m, s, head[N], cnt, dep[N], top[N], fa[N]...
24.184615
65
0.423028
eqvpkbz
5f5d0585c1e5b6b95d400cf201f1b1570b098dab
1,756
hh
C++
include/EventAction.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
include/EventAction.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
include/EventAction.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef SLIC_EVENTACTION_HH_ #define SLIC_EVENTACTION_HH_ 1 // SLIC #include "Module.hh" #include "PluginManagerAccessor.hh" // LCDD #include "lcdd/hits/CalorimeterHit.hh" #include "lcdd/hits/TrackerHit.hh" // Geant4 #include "G4Timer.hh" #include "G4UserEventAction.hh" class G4UImessenger; namespace slic { /** ...
19.511111
61
0.671412
omar-moreno
5f61010d13cf9e234b21de69b86a667bec06a88a
5,944
cpp
C++
src/HistoryCounters.cpp
vvromanov/hilo_utils
05aa70f6a70af5bc41a46a3488721721d7355bac
[ "MIT" ]
null
null
null
src/HistoryCounters.cpp
vvromanov/hilo_utils
05aa70f6a70af5bc41a46a3488721721d7355bac
[ "MIT" ]
null
null
null
src/HistoryCounters.cpp
vvromanov/hilo_utils
05aa70f6a70af5bc41a46a3488721721d7355bac
[ "MIT" ]
null
null
null
#include "HistoryCounters.h" #include "DumpUtils.h" static HistoryCounters historyCounters; HistoryCounters &GetHistoryCounters() { if (!historyCounters.IsOpened()) { historyCounters.Open(COUNTERS_SHM_NAME_HISTORY, counters_suffix); } return historyCounters; } HistoryCounterData *HistoryCounters:...
33.772727
154
0.451211
vvromanov
5f620000f6684d81a37e78b897e25c5d0a151b36
8,571
cpp
C++
src/video/ossimVideoImageSource.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/video/ossimVideoImageSource.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/video/ossimVideoImageSource.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//************************************************************************************************** // OSSIM -- Open Source Software Image Map // // LICENSE: See top level LICENSE.txt file. // // AUTHOR: Oscar Kramer, SPADAC Inc. // // DESCRIPTION: Defines pure virtual base class for individua...
40.239437
102
0.487691
vladislav-horbatiuk
5f64d20bff3d0bb0629f6a270770fa7eb3c965ec
1,524
cpp
C++
Code/gpCore/Shapes/Implementation/Shapes.cpp
Manuzor/GamePhysics
59c7ff68c6bb72a4b3503752debd35c8b98893ce
[ "MIT" ]
2
2020-08-15T06:48:36.000Z
2020-09-11T21:18:05.000Z
Code/gpCore/Shapes/Implementation/Shapes.cpp
Manuzor/GamePhysics
59c7ff68c6bb72a4b3503752debd35c8b98893ce
[ "MIT" ]
4
2015-01-22T13:16:09.000Z
2015-01-25T21:55:49.000Z
Code/gpCore/Shapes/Implementation/Shapes.cpp
Manuzor/GamePhysics
59c7ff68c6bb72a4b3503752debd35c8b98893ce
[ "MIT" ]
null
null
null
#include "gpCore/PCH.h" #include "gpCore/Shapes.h" #include <Foundation/Communication/GlobalEvent.h> namespace { gpPointShape* GlobalPointInstance() { static gpPointShape* pPoint = nullptr; if (pPoint == nullptr) { static gpPointShape point; gpAddReferenceTo(po...
25.830508
103
0.706693
Manuzor
5f6855a4bc51082386010fb86d36099fe1017a26
4,735
cpp
C++
src/models/BufferZoneModel.cpp
sofea-model/sofea
a6ee54b59c6f96929592118ee77e286f71238c9e
[ "Apache-2.0" ]
null
null
null
src/models/BufferZoneModel.cpp
sofea-model/sofea
a6ee54b59c6f96929592118ee77e286f71238c9e
[ "Apache-2.0" ]
2
2020-01-31T06:21:44.000Z
2020-01-31T06:26:52.000Z
src/models/BufferZoneModel.cpp
sofea-model/sofea
a6ee54b59c6f96929592118ee77e286f71238c9e
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Dow, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
27.690058
96
0.616473
sofea-model
5f6e8f5aee7af5eb60041847fd4aa3e1bdf1f204
3,525
hpp
C++
translate.hpp
X-rays5/cpp-util
e568bc0816d8a01a7ec3a1623895e73ef9f7725a
[ "Unlicense" ]
5
2021-06-28T13:26:49.000Z
2022-03-24T06:54:42.000Z
translate.hpp
X-rays5/cpp-util
e568bc0816d8a01a7ec3a1623895e73ef9f7725a
[ "Unlicense" ]
null
null
null
translate.hpp
X-rays5/cpp-util
e568bc0816d8a01a7ec3a1623895e73ef9f7725a
[ "Unlicense" ]
1
2022-03-23T01:47:21.000Z
2022-03-23T01:47:21.000Z
// // Created by X-ray on 8/16/2021. // #pragma once #include <fstream> #include <iostream> #include <utility> #include <filesystem> #include <rapidjson/document.h> #include <rapidjson/istreamwrapper.h> #include <rapidjson/stringbuffer.h> #include <rapidjson/writer.h> class translate_exception { public: explicit t...
28.2
140
0.588936
X-rays5
5f6ef0866d1efbdd045b196b02518388347de1cb
9,556
cpp
C++
src/game/actor_proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
118
2015-01-26T12:49:58.000Z
2022-03-19T00:02:01.000Z
src/game/actor_proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
6
2015-03-29T14:59:40.000Z
2020-08-14T22:04:48.000Z
src/game/actor_proto.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
14
2015-01-18T13:55:13.000Z
2021-11-30T06:56:58.000Z
/* Copyright (C) 2013 Krzysztof Jakubowski <nadult@fastmail.fm> This file is part of FreeFT. */ #include "game/actor.h" #include "game/world.h" #include "game/sprite.h" namespace game { namespace Action { bool isNormal(int); bool isSimple(int); bool isSpecial(int); bool isNormal(int id) { return id >=...
29.956113
115
0.635831
nadult
5f7279b49b79bf2e539a9c3c1dcae4fedae51d45
1,586
hpp
C++
src/rest_api_server/rest_api_server.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
src/rest_api_server/rest_api_server.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
src/rest_api_server/rest_api_server.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
#ifndef REST_API_SERVER_H #define REST_API_SERVER_H #include <vector> #include <cpprest/http_listener.h> #include "../models/models.h" using namespace web::http::experimental::listener; using namespace web::http; using namespace web; namespace BlockchainNode { class RestApiServer { public: Rest...
35.244444
162
0.757881
Wolfiwolf
5f76535642933a92e55e639df033aa2bc3990a4f
795
cpp
C++
#0295.find-median-from-data-stream.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
#0295.find-median-from-data-stream.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
#0295.find-median-from-data-stream.cpp
hosomi/LeetCode
aba8fae8e37102b33dba8fd4adf1f018c395a4db
[ "MIT" ]
null
null
null
class MedianFinder { private: multiset<int> ms; multiset<int>::iterator msi; public: /** initialize your data structure here. */ MedianFinder() { } void addNum(int num) { int size = ms.size(); ms.insert(num); if (size == 0) { msi = ms.begin(); } el...
20.921053
68
0.508176
hosomi
5f84a98bad7f3aa5f821aea6c8d2a114a5a1046a
349
hpp
C++
test/wiztk/net/ip-address/test-ip-address.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
test/wiztk/net/ip-address/test-ip-address.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
test/wiztk/net/ip-address/test-ip-address.hpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
// // #ifndef WIZTK_TEST_NET_IP_ADDRESS_HPP_ #define WIZTK_TEST_NET_IP_ADDRESS_HPP_ #include <gtest/gtest.h> class TestIPAddress : public testing::Test { public: TestIPAddress() = default; ~TestIPAddress() override = default; protected: void SetUp() final {} void TearDown() final {} }; #endif // WI...
13.423077
44
0.727794
wiztk
5f84dc175271159a58b2b60c5ec0f826ebce393c
1,622
hpp
C++
01_src/placer.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
3
2020-06-05T15:33:30.000Z
2021-05-03T07:34:15.000Z
01_src/placer.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
null
null
null
01_src/placer.hpp
gledr/SMT_MacroPlacer
b5b25f0ce9094553167ffd4985721f86414ceddc
[ "MIT" ]
1
2021-05-03T07:34:17.000Z
2021-05-03T07:34:17.000Z
//================================================================== // Author : Pointner Sebastian // Company : Johannes Kepler University // Name : SMT Macro Placer // Workfile : placer.hpp // // Date : 27. December 2019 // Compiler : gcc version 9.2.0 (GCC) // Copyright : Johan...
21.918919
69
0.630703
gledr
5f8bbcf512b887847b0ee2e784b4aea555b93113
796
hpp
C++
src/Gases/src/GasData.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/Gases/src/GasData.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/Gases/src/GasData.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef GASDATA_H #define GASDATA_H #include <map> #include <string> #include "GasProperties.hpp" namespace Gases { enum class CoeffType; class CIntCoeff; class CGasData { public: CGasData(); CGasData( CGasData const& t_GasData ); CGasData( std::string const& t_Name, double const t_Wght, double ...
19.414634
86
0.736181
bakonyidani
5f90f40286c15e7f6ffd46149d755ab4e23f323f
1,743
cpp
C++
TheRipple/src/data.cpp
LederHut/TheRipple
815ff7c2652a47fa2ff15d85bf0b396287e96efe
[ "Apache-2.0" ]
null
null
null
TheRipple/src/data.cpp
LederHut/TheRipple
815ff7c2652a47fa2ff15d85bf0b396287e96efe
[ "Apache-2.0" ]
null
null
null
TheRipple/src/data.cpp
LederHut/TheRipple
815ff7c2652a47fa2ff15d85bf0b396287e96efe
[ "Apache-2.0" ]
null
null
null
#include "data.h" #include "pch/pch.h" //The data class provides an simple wraper for creating buffer and the respective attrib pointer. //it can hold as many shader, VBOs, VAOs, and attrib pointers as needed. data::data() :ac(0) { } data::~data() { } //Binds the created buffer. void data::CreateVertexBuffer(GL...
21.518519
110
0.718302
LederHut
5f92bf154968e2569a6fc377e2a7042387cd2412
3,726
cc
C++
EventWeight/plugins/MCPileUpHistMaker.cc
NTUHEP-Tstar/TstarAnalysis
d3bcdf6f0fd19b9a34bbacb1052143856917bea7
[ "MIT" ]
null
null
null
EventWeight/plugins/MCPileUpHistMaker.cc
NTUHEP-Tstar/TstarAnalysis
d3bcdf6f0fd19b9a34bbacb1052143856917bea7
[ "MIT" ]
null
null
null
EventWeight/plugins/MCPileUpHistMaker.cc
NTUHEP-Tstar/TstarAnalysis
d3bcdf6f0fd19b9a34bbacb1052143856917bea7
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : MCPileUpHistMaker.cc * Description : Filling a histrogram from a MC sample * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * ****************************************************************************...
31.846154
83
0.530596
NTUHEP-Tstar
5f9805782ec85cdabf13f955376af01ba1f2e44d
47
cpp
C++
test/autogen/algorithm@mismatch_index.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
test/autogen/algorithm@mismatch_index.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
test/autogen/algorithm@mismatch_index.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#include "jln/mp/algorithm/mismatch_index.hpp"
23.5
46
0.808511
jonathanpoelen
5f98b0438fdae5f9d6fed1c5ed8aabe24b4d4d95
1,258
cpp
C++
widget/Button.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
23
2016-01-14T01:44:18.000Z
2021-11-07T05:36:21.000Z
widget/Button.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
null
null
null
widget/Button.cpp
chntujia/CodfiyAsteriatedGrailClient
5e148f2f31783fcf4ecb6b46d94245a8d2f9a8f6
[ "MIT" ]
8
2016-01-11T06:28:06.000Z
2020-05-17T11:03:53.000Z
#include "Button.h" #include <QPainter> #include "DataInterface.h" Button::Button(int id,QString msg) { background=QPixmap("resource/button1.png"); height=background.height(); width=background.width(); selected=0; this->id=id; this->msg=msg; setToolTip(dataInterface->getButtonI...
24.666667
95
0.613672
chntujia
5f9cd3b294472ee3e2e743c866a344553ad4d885
5,583
cpp
C++
benchmark/bench_DFS/dfs.cpp
sampollard/graphBIG
6d0c1b125ae7e5ec26e04a27f7c327600d6b1036
[ "BSD-3-Clause" ]
61
2015-02-13T02:14:21.000Z
2022-01-10T08:49:57.000Z
benchmark/bench_DFS/dfs.cpp
sampollard/graphBIG
6d0c1b125ae7e5ec26e04a27f7c327600d6b1036
[ "BSD-3-Clause" ]
9
2016-02-09T14:58:47.000Z
2022-01-11T11:00:10.000Z
benchmark/bench_DFS/dfs.cpp
sampollard/graphBIG
6d0c1b125ae7e5ec26e04a27f7c327600d6b1036
[ "BSD-3-Clause" ]
31
2015-07-10T01:17:01.000Z
2021-10-04T17:34:32.000Z
//====== Graph Benchmark Suites ======// //======== Depth-first Search ========// // // Usage: ./dfs.exe --dataset <dataset path> --root <root vertex id> #include "common.h" #include "def.h" #include "openG.h" #include <stack> #ifdef SIM #include "SIM.h" #endif using namespace std; class vertex_property { public: ...
23.858974
92
0.548809
sampollard
5fa3160a8cf3cc0f7b3d85df1dfe0e703a7dd66a
5,466
cpp
C++
plugins/GUI/guidriverOgre/src/guidriverOgre_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
plugins/GUI/guidriverOgre/src/guidriverOgre_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
plugins/GUI/guidriverOgre/src/guidriverOgre_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * guidriverWin32GL: module implementing GL based window management for Win32 * Copyright (C) 2002 - 2011. Dinand Vanvelzen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation;...
40.791045
97
0.459934
amvb
5fa6989d675ffb9b3efc5300efb1673ffc8b9274
694
cpp
C++
codeforces/711A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
5
2015-12-25T20:53:39.000Z
2017-07-18T23:19:04.000Z
codeforces/711A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
null
null
null
codeforces/711A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
null
null
null
/* http://codeforces.com/problemset/submission/711/43706549 */ #include <bits/stdc++.h> int main() { int n; std::cin >> n; bool found = false; std::vector<std::string> rows; for (int i = 0; i < n; i++) { std::string row; std::cin >> row; size_t pos = row.find("OO"); ...
23.931034
62
0.43804
zer0main