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
a45af2cc4a0ae46b167efdcdc081538035b989ff
6,043
cpp
C++
data.cpp
flowac/CryptoMon
64e762309e2bafda9d70f1c3885c7bb2c4183a5e
[ "Unlicense" ]
null
null
null
data.cpp
flowac/CryptoMon
64e762309e2bafda9d70f1c3885c7bb2c4183a5e
[ "Unlicense" ]
1
2021-03-26T03:00:52.000Z
2021-04-22T03:06:31.000Z
data.cpp
flowac/CryptoMon
64e762309e2bafda9d70f1c3885c7bb2c4183a5e
[ "Unlicense" ]
1
2021-11-04T09:25:02.000Z
2021-11-04T09:25:02.000Z
#include "lib.h" void App::_read_tick(QString str) { char buf[BUF_80]; QJsonArray jarr; QJsonDocument jdoc; QJsonObject jobj, jp1, jp2; QJsonValue jval; jdoc = QJsonDocument::fromJson(str.toUtf8()); if (jdoc.isNull()) goto ERRC; jobj = jdoc.object(); if ((jval = jobj["result"]) == QJsonValue::Undefined) go...
27.343891
123
0.594241
flowac
a45cae4dfeeb81b15612f3ec22b02b7aeadd4b48
454
cpp
C++
cli/src/dbcopy.cpp
exodusdb/exodusdb
0b6bef6a3007d24664bdb348e92701ee2f423158
[ "MIT" ]
4
2021-01-23T14:36:34.000Z
2021-06-07T10:02:28.000Z
cli/src/dbcopy.cpp
exodusdb/exodusdb
0b6bef6a3007d24664bdb348e92701ee2f423158
[ "MIT" ]
1
2019-08-04T19:15:56.000Z
2019-08-04T19:15:56.000Z
cli/src/dbcopy.cpp
exodusdb/exodusdb
0b6bef6a3007d24664bdb348e92701ee2f423158
[ "MIT" ]
1
2022-01-29T22:41:01.000Z
2022-01-29T22:41:01.000Z
#include <exodus/program.h> programinit() function main() { var dbname1 = COMMAND.a(2); var dbname2 = COMMAND.a(3); if (not dbname1 or not dbname2) abort("Syntax is dbcopy [from_dbname] [to_dbname] {S}"); if (!dbname1.dbcopy(dbname1, dbname2)) { if (not OPTIONS.index("S")) errputl(var().lasterror()); abor...
21.619048
65
0.65859
exodusdb
a45e0112e5aa53341b85751a96aef6be6887eae9
1,937
hpp
C++
event_camera_simulator/esim_visualization/include/esim/visualization/synthetic_optic_flow_publisher.hpp
jfvilaro/rpg_esim
ffac30571d45f7b41d8924a263dff9895457ceaa
[ "MIT" ]
null
null
null
event_camera_simulator/esim_visualization/include/esim/visualization/synthetic_optic_flow_publisher.hpp
jfvilaro/rpg_esim
ffac30571d45f7b41d8924a263dff9895457ceaa
[ "MIT" ]
null
null
null
event_camera_simulator/esim_visualization/include/esim/visualization/synthetic_optic_flow_publisher.hpp
jfvilaro/rpg_esim
ffac30571d45f7b41d8924a263dff9895457ceaa
[ "MIT" ]
null
null
null
#pragma once #include <esim/common/types.hpp> #include <esim/visualization/publisher_interface.hpp> #include <fstream> namespace event_camera_simulator { class SyntheticOpticFlowPublisher : public Publisher { public: SyntheticOpticFlowPublisher(const std::string &output_folder); ~SyntheticOpticFlowPublisher();...
39.530612
123
0.778523
jfvilaro
a46167b3501272d59e4907017c81f2b0c96ecdef
466
cpp
C++
USACO/240Searcha2DMatrixII.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
USACO/240Searcha2DMatrixII.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
USACO/240Searcha2DMatrixII.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if(matrix.empty()) return false; int n = matrix.size(),m = matrix.front().size(); int x = 0,y = m-1; while(x<n&&y>=0){ if(matrix[x][y]==target){ return true; ...
25.888889
64
0.427039
zhanghuanzj
a462d008d00ba1c36f86137740b3a904515868eb
1,724
cpp
C++
Editor/AssetManager/LogicTreeWidget/LogicSceneItem.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Editor/AssetManager/LogicTreeWidget/LogicSceneItem.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Editor/AssetManager/LogicTreeWidget/LogicSceneItem.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
1
2020-12-04T08:57:03.000Z
2020-12-04T08:57:03.000Z
#include "LogicSceneItem.h" #include <Editor/AssetManager/LogicTreeWidget/LogicTreeWidget.h> #include <Engine/Core/Scene/LogicScene/LogicScene.h> LogicSceneItem::LogicSceneItem(QTreeWidgetItem* _parent, Type _assetType, int64 _objectType): QTreeWidgetItem(_parent, _assetType), objectType(_objectType), object(NIL) {}...
21.02439
168
0.704176
gregory-vovchok
a463f05d31d500ead8f6383987a2d3690b5a0e56
2,083
cxx
C++
Modules/Core/Common/src/itkMultipleLogOutput.cxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
Modules/Core/Common/src/itkMultipleLogOutput.cxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
Modules/Core/Common/src/itkMultipleLogOutput.cxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * 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...
22.397849
77
0.609698
Kronephon
a465770b90d4392f2b19ffec7f51e9eb665ddab2
2,704
hpp
C++
silkrpc/types/block.hpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
silkrpc/types/block.hpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
silkrpc/types/block.hpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Silkrpc Authors 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 t...
27.876289
88
0.688609
enriavil1
a469077472dfcd7a31613e30c1624354af820b26
2,832
cpp
C++
svgdom/Finder.cpp
TransitApp/svgren
aabfc27c168d65d672788b048a6b73da7afeaf44
[ "MIT" ]
1
2021-03-29T19:30:47.000Z
2021-03-29T19:30:47.000Z
svgdom/Finder.cpp
TransitApp/svgren
aabfc27c168d65d672788b048a6b73da7afeaf44
[ "MIT" ]
null
null
null
svgdom/Finder.cpp
TransitApp/svgren
aabfc27c168d65d672788b048a6b73da7afeaf44
[ "MIT" ]
null
null
null
#include "Finder.hpp" #include <utki/debug.hpp> #include "Visitor.hpp" using namespace svgdom; namespace{ class CacheCreator : virtual public svgdom::ConstVisitor{ public: std::map<std::string, Finder::ElementInfo> cache; StyleStack styleStack; void addToCache(const svgdom::Element& e){ if(e.id.length() !=...
23.798319
103
0.691737
TransitApp
a47623d16572d66aa8073b05158cd3b36cb32dba
183
cpp
C++
src/dataPattern/singleton.cpp
kreilley/Disassembler
7c5c293aa1b585dba6ffd2f8eceb2150b05574b6
[ "BSD-3-Clause" ]
1
2021-09-05T02:24:20.000Z
2021-09-05T02:24:20.000Z
src/dataPattern/singleton.cpp
kreilley/Disassembler
7c5c293aa1b585dba6ffd2f8eceb2150b05574b6
[ "BSD-3-Clause" ]
27
2020-11-14T06:21:41.000Z
2021-03-08T19:34:07.000Z
src/dataPattern/singleton.cpp
kreilley/Disassembler
7c5c293aa1b585dba6ffd2f8eceb2150b05574b6
[ "BSD-3-Clause" ]
1
2021-03-03T03:06:45.000Z
2021-03-03T03:06:45.000Z
// Copyright (c) 2021 Farzon Lotfi All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "singleton.h"
36.6
55
0.743169
kreilley
a478f32e39c06f774d06fe40b213dd3d010edc38
4,610
cpp
C++
src/RaZ/Render/SubmeshRenderer.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
1
2022-01-26T06:36:54.000Z
2022-01-26T06:36:54.000Z
src/RaZ/Render/SubmeshRenderer.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
src/RaZ/Render/SubmeshRenderer.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
null
null
null
#include "RaZ/Render/Renderer.hpp" #include "RaZ/Render/SubmeshRenderer.hpp" #include "RaZ/Utils/Logger.hpp" namespace Raz { void SubmeshRenderer::setRenderMode(RenderMode renderMode, const Submesh& submesh) { m_renderMode = renderMode; switch (m_renderMode) { case RenderMode::POINT: m_renderFunc = [] ...
32.928571
142
0.664208
xiaohunqupo
a4848cf9503b45be191e994255b06d2a28d59737
3,473
cpp
C++
Game Engine/GameEngine/src/animation/animation_wrapper.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
null
null
null
Game Engine/GameEngine/src/animation/animation_wrapper.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
4
2018-12-24T11:16:53.000Z
2018-12-24T11:20:29.000Z
GameEngine/GameEngine/src/animation/animation_wrapper.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
null
null
null
#include <unordered_map> #include "animation_wrapper.h" #include <glm/gtx/transform.hpp> auto animation_wrapper::set_current_animation(animation * new_current) -> void { current_animation = new_current; } auto animation_wrapper::update(f32 td, joint * root, u32 joint_count) -> std::vector<glm::mat4> { std::vector<...
34.73
123
0.755543
llGuy
a48867c00b5e7fd314829218ca1609637e62fcab
562
cpp
C++
01_decisions_test/dna_hamming_test.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-Loki557
b38924ce210ffe313cdc71be19f13511aa78fbc8
[ "MIT" ]
null
null
null
01_decisions_test/dna_hamming_test.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-Loki557
b38924ce210ffe313cdc71be19f13511aa78fbc8
[ "MIT" ]
null
null
null
01_decisions_test/dna_hamming_test.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-Loki557
b38924ce210ffe313cdc71be19f13511aa78fbc8
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" //write include statement for dna header #include "dna_hamming.h" #include<string> using std::string; TEST_CASE("Test configuration setup") { REQUIRE(true == true); } /* */ TEST_CASE("Testing get_d...
23.416667
97
0.706406
acc-cosc-1337-spring-2019
a488df344b237acdbddde9c37f40bfae126e9c2f
168
cpp
C++
HDU/20/hdu2013.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
HDU/20/hdu2013.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
HDU/20/hdu2013.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <math.h> #include <stdio.h> int main(void) { int n; while (scanf("%d", &n) != EOF) printf("%.0f\n", 3 * pow(2, n - 1) - 2); return 0; }
12.923077
48
0.470238
bilibiliShen
a48a66b2dcf2ae6938825f0cf1325e5633f6b693
1,445
hh
C++
test/parse-args.hh
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
1
2020-09-30T14:47:02.000Z
2020-09-30T14:47:02.000Z
test/parse-args.hh
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
test/parse-args.hh
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
#include "ThreadPool.hh" #include "machine-config.hh" #include "errno.h" void print_usage () { std::cerr<<"Usage: cmd <Sched:W/P/H/2/3/4> <args>"<<std::endl; } //FIND_MACHINE; monster_4x16; Scheduler* create_scheduler (int argv, char **argc) { Scheduler *sched; if (argv >= 2) { if (*argc[1] == 'B' ||...
27.264151
89
0.586851
harsha-simhadri
a48dcdaf0b6c9c9a17c0a58306c010dfd836c8f1
2,404
cpp
C++
src/net/HostnameResolver.cpp
xDimon/primitive
092e9158444710cdde45c57c4115efa06c85e161
[ "Apache-2.0" ]
12
2017-09-12T20:47:16.000Z
2019-04-05T11:39:40.000Z
src/net/HostnameResolver.cpp
xDimon/primitive
092e9158444710cdde45c57c4115efa06c85e161
[ "Apache-2.0" ]
null
null
null
src/net/HostnameResolver.cpp
xDimon/primitive
092e9158444710cdde45c57c4115efa06c85e161
[ "Apache-2.0" ]
1
2018-11-23T16:51:55.000Z
2018-11-23T16:51:55.000Z
// Copyright © 2017-2019 Dmitriy Khaustov // // 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...
27.011236
105
0.673877
xDimon
a490002c8e8eaf6c664032327bbfb1e7623b8bc3
230
hh
C++
src/modules/MsgLogger/MsgLogger.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
31
2015-12-15T19:14:10.000Z
2021-12-31T17:40:21.000Z
src/modules/MsgLogger/MsgLogger.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
5
2015-12-04T08:06:47.000Z
2020-08-09T21:49:46.000Z
src/modules/MsgLogger/MsgLogger.hh
cdsc-github/parade-ara-simulator
00c977200a8e7aa31b03d560886ec80840a3c416
[ "BSD-3-Clause" ]
21
2015-11-05T08:25:45.000Z
2021-06-19T02:24:50.000Z
#ifndef MSG_LOGGER_H #define MSG_LOGGER_H #include <iostream> #include "modules/Common/mf_api.hh" #define ML_LOG(x, y) \ { \ std::cerr << std::dec << GetSystemTime() * 500 << ": " << x << ": " << y << std::endl; \ } #endif
19.166667
90
0.591304
cdsc-github
a4912c251c2c3fa87453a86a13a48947274b7c45
789
cc
C++
vjudge/hdu2136.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
vjudge/hdu2136.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
vjudge/hdu2136.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <cmath> using namespace std; const int maxn = 1000005; /* void gen_primes(vector<int>& primes, int n) { int m = (int)sqrt(n+0.5); vector<int> vis(n+1, 0); primes.clear(); for(int i = 2; i <= m; ++i) if(!vis[i]) for(int j = i*i; j <= n; j += i) vis[j] = 1; fo...
18.348837
48
0.499366
zofvbeaf
a4a0ad208d068c15e8b1ca0d245ef73b8ce7a824
4,336
cpp
C++
axhelm-hip/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
axhelm-hip/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
axhelm-hip/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <chrono> #include <hip/hip_runtime.h> #define POLYNOMIAL_DEGREE 7 #define p_Nggeo 7 #define p_G00ID 1 #define p_G01ID 2 #define p_G02ID 3 #define p_G11ID 4 #define p_G12ID 5 #define p_G22ID 6 #define p_GWJID 0 ...
29.297297
108
0.63238
BeauJoh
a4aae612485c6db6af6de000d2c5615433de0693
25,852
cpp
C++
libraries/script-engine/src/ScriptEngine.cpp
judasshuffle/hifi
f6778588914f803f63bd0e965fae9dfcbd22fd6d
[ "Apache-2.0" ]
null
null
null
libraries/script-engine/src/ScriptEngine.cpp
judasshuffle/hifi
f6778588914f803f63bd0e965fae9dfcbd22fd6d
[ "Apache-2.0" ]
null
null
null
libraries/script-engine/src/ScriptEngine.cpp
judasshuffle/hifi
f6778588914f803f63bd0e965fae9dfcbd22fd6d
[ "Apache-2.0" ]
null
null
null
// // ScriptEngine.cpp // libraries/script-engine/src // // Created by Brad Hefta-Gaub on 12/14/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QtCore/QCoreAppli...
39.408537
145
0.678245
judasshuffle
a4ace03d95354b71a3a81885a03c164ab39581d6
4,794
cpp
C++
Source/TTreePlot.cpp
poissonconsulting/RadCon
acbbb974ececbabddd3da91768744bf31982bf93
[ "MIT" ]
1
2021-12-26T13:32:52.000Z
2021-12-26T13:32:52.000Z
Source/TTreePlot.cpp
joethorley/RadCon
acbbb974ececbabddd3da91768744bf31982bf93
[ "MIT" ]
1
2015-02-02T19:28:20.000Z
2015-02-02T19:28:20.000Z
Source/TTreePlot.cpp
poissonconsulting/RadCon
acbbb974ececbabddd3da91768744bf31982bf93
[ "MIT" ]
null
null
null
#include "TTreePlot.h" #include <algorithm.h> #if PRAGMA_MARK_SUPPORTED #pragma mark - #endif TTreeStyle& TTreeStyle::operator = (const TTreeStyle& treeStyle) { fNodeHeights = treeStyle.fNodeHeights; SetRectangular (treeStyle.IsRectangular ()); SetDrawName (treeStyle.IsDrawName ()); return (*this); } TTreeStyle:...
4,794
4,794
0.70025
poissonconsulting
8a5b39713f03d585f0e1796d74ff79d6fd0e7a67
3,315
cc
C++
Firestore/core/src/local/leveldb_overlay_migration_manager.cc
rizafran/firebase-ios-sdk
ba4bf764c18e0cee0a6ad8016a13c81b9417686a
[ "Apache-2.0" ]
null
null
null
Firestore/core/src/local/leveldb_overlay_migration_manager.cc
rizafran/firebase-ios-sdk
ba4bf764c18e0cee0a6ad8016a13c81b9417686a
[ "Apache-2.0" ]
null
null
null
Firestore/core/src/local/leveldb_overlay_migration_manager.cc
rizafran/firebase-ios-sdk
ba4bf764c18e0cee0a6ad8016a13c81b9417686a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
32.5
77
0.717044
rizafran
8a5d6e3bc0399cf917df7a8bf411064c507eea0d
14,479
cpp
C++
src/engineDX7/scan/scanasm.cpp
FreeAllegiance/Allegiance-AZ
1d8678ddff9e2efc79ed449de6d47544989bc091
[ "MIT" ]
1
2017-09-11T22:18:19.000Z
2017-09-11T22:18:19.000Z
src/engineDX7/scan/scanasm.cpp
FreeAllegiance/Allegiance-AZ
1d8678ddff9e2efc79ed449de6d47544989bc091
[ "MIT" ]
2
2017-09-12T18:28:33.000Z
2017-09-13T06:15:36.000Z
src/engineDX7/scan/scanasm.cpp
FreeAllegiance/Allegiance-AZ
1d8678ddff9e2efc79ed449de6d47544989bc091
[ "MIT" ]
null
null
null
#ifdef LATER ////////////////////////////////////////////////////////////////////////////// // // cubic approximation using four points on the curve // ////////////////////////////////////////////////////////////////////////////// if (count > 0) { BYTE* pdest = pscan + xmin * 2; cons...
28.390196
100
0.367912
FreeAllegiance
8a62dae510862c27bd578b62a042675ce2487fe0
12,380
cpp
C++
mp/src/game/shared/mfs/bullet_manager.cpp
WorldGamers/Mobile-Forces-Source
fd188305e2690e193e17dba4cc6bcafa46dc34e3
[ "CC-BY-4.0" ]
3
2016-06-23T16:09:35.000Z
2017-02-22T21:57:56.000Z
mp/src/game/shared/mfs/bullet_manager.cpp
WorldGamers/Mobile-Forces-Source
fd188305e2690e193e17dba4cc6bcafa46dc34e3
[ "CC-BY-4.0" ]
null
null
null
mp/src/game/shared/mfs/bullet_manager.cpp
WorldGamers/Mobile-Forces-Source
fd188305e2690e193e17dba4cc6bcafa46dc34e3
[ "CC-BY-4.0" ]
1
2020-11-25T13:49:20.000Z
2020-11-25T13:49:20.000Z
#include "cbase.h" #ifdef simulated_bullets #include "util_shared.h" #include "bullet_manager.h" #include "shot_manipulator.h" #include "tier0/vprof.h" CBulletManager *g_pBulletManager; CUtlLinkedList<CSimulatedBullet*> g_Bullets; #ifdef CLIENT_DLL//------------------------------------------------- #include "engine/i...
26.340426
134
0.656381
WorldGamers
8a64412b98dc9ddddd1fbb9a5d9ababb21c4db20
680
cpp
C++
C++14/3 Deprecated.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
C++14/3 Deprecated.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
C++14/3 Deprecated.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
// C++14 Features List // [[Deprecated]] //---------------- // 1.0 Deprecated means use of the name or entity declared with this attribute is allowed, but discouraged for some reason. // 2.0 Compiler gives warnings and if string literals are provided they are included in warnings. // LIST WHAT CAN BE DEPRECATED: // c...
24.285714
123
0.691176
arvindr19
8a645ef43e8bd18ecddb367f7b392b158e5dd660
1,498
cpp
C++
Boost_20140423/Log_07/Log_07.cpp
jacking75/book_semina_samples
889bd501b0b4e126e27214bbf2b0ace8825b3783
[ "MIT" ]
null
null
null
Boost_20140423/Log_07/Log_07.cpp
jacking75/book_semina_samples
889bd501b0b4e126e27214bbf2b0ace8825b3783
[ "MIT" ]
null
null
null
Boost_20140423/Log_07/Log_07.cpp
jacking75/book_semina_samples
889bd501b0b4e126e27214bbf2b0ace8825b3783
[ "MIT" ]
null
null
null
// 출처: http://kkayataka.hatenablog.com/entry/2013/07/27/110244 #include <boost/make_shared.hpp> #include <boost/shared_ptr.hpp> #include <boost/log/expressions.hpp> #include <boost/log/sinks.hpp> #include <boost/log/sinks/debug_output_backend.hpp> #include <boost/log/support/date_time.hpp> #include <boost/l...
29.96
94
0.699599
jacking75
8a6af22de071cf8dd842557d30a71c63368fa89b
477
cpp
C++
Binary Search/Bishu and Soldiers.cpp
rrajgithub/HackerEarth-solutions
41e5c28eb053fc5754083b0574e6dce5aadf15f8
[ "MIT" ]
null
null
null
Binary Search/Bishu and Soldiers.cpp
rrajgithub/HackerEarth-solutions
41e5c28eb053fc5754083b0574e6dce5aadf15f8
[ "MIT" ]
2
2020-08-20T16:26:47.000Z
2020-08-20T16:32:13.000Z
Binary Search/Bishu and Soldiers.cpp
rrajgithub/HackerEarth-solutions
41e5c28eb053fc5754083b0574e6dce5aadf15f8
[ "MIT" ]
1
2020-08-20T16:12:49.000Z
2020-08-20T16:12:49.000Z
#include <iostream> using namespace std; int main() { int n; cin>>n; int a[n]; for(int i=0;i<n;i++) { cin>>a[i]; } int q; cin>>q; while(q--) { int p,i,sum=0,count=0; cin>>p; for(i=0;i<n;i++) { if(p>=a[i])...
15.387097
37
0.308176
rrajgithub
8a70607edf8c33bc43e28394d46447dddfeb0112
1,995
cpp
C++
inex/game/pc/sources/game_pc_entry_point_linux.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
inex/game/pc/sources/game_pc_entry_point_linux.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
inex/game/pc/sources/game_pc_entry_point_linux.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
// game_pc.cpp : Defines the entry point for the application. // #include "pch.h" #include "game_pc_application.h" #include <inex/core/core.h> #include <inex/command_line.h> #include <signal.h> static game::application * s_application; static int s_exit_code = 0; string512 g_command_line; struct guard { inlin...
21.684783
87
0.661654
PhysShell
8a706be1d22eecfdd67c45109c9fac17cd9ece04
6,722
cpp
C++
Source/Dogfight/Generic/GameMode/PlayGameMode.cpp
Volvary/DogFighters
c80cf8193eacc19e66685d94af254834e1d38ced
[ "MIT" ]
1
2019-05-16T15:08:18.000Z
2019-05-16T15:08:18.000Z
Source/Dogfight/Generic/GameMode/PlayGameMode.cpp
Volvary/DogFighters
c80cf8193eacc19e66685d94af254834e1d38ced
[ "MIT" ]
null
null
null
Source/Dogfight/Generic/GameMode/PlayGameMode.cpp
Volvary/DogFighters
c80cf8193eacc19e66685d94af254834e1d38ced
[ "MIT" ]
null
null
null
// Portfolio Project by Xavier Auger-Mailhot (February 2019's Game-A-Month) #include "PlayGameMode.h" #include "Generic/PoolingManager.h" #include "InGameActors/PlaneCharacter.h" #include "Generic/DogfighterPlayerController.h" #include "Generic/PlayerHUD.h" #include "Generic/GameInfoInstance.h" APlayGameMode::APlayG...
23.099656
125
0.749182
Volvary
8a72b7df831ea26cc1d08864942be4d5ccc6c837
6,344
cpp
C++
settingsdialog.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
settingsdialog.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
settingsdialog.cpp
farinc/book-tracker
a96b81dffba44af081907425b1b755d2bfc1fd66
[ "MIT" ]
null
null
null
#include "settingsdialog.h" #include "ui_settingsdialog.h" #include "uilogic.h" #include "models.h" #include <QPushButton> #include <QFileDialog> #include <QDialogButtonBox> #include <QDoubleSpinBox> #include <QDebug> #include <QApplication> SettingsDialog::SettingsDialog(UiLogic *logic, QWidget *parent) : QDialog(p...
32.870466
190
0.723361
farinc
8a72c31ddfe61b256863f5fcd86ec0a6821057c7
3,973
cpp
C++
unittests/Lex/StringLiteralLexTest.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
unittests/Lex/StringLiteralLexTest.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
unittests/Lex/StringLiteralLexTest.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#include "gtest/gtest.h" #include <locic/Lex/Lexer.hpp> #include <locic/Lex/Token.hpp> #include <locic/Support/StringHost.hpp> #include "LexTest.hpp" #include "MockCharacterSource.hpp" #include "MockDiagnosticReceiver.hpp" void testStringLiteral(const std::string& literal, const std::string& result, ...
38.95098
139
0.622452
scross99
8a83eb6dd1fd6b1dbff40610125fc4f80cdd2bca
2,050
cpp
C++
appBattery.cpp
guyou/T-watch-2020
e68fb1c3171157bb943c1ebf8351f1d66411980a
[ "BSD-3-Clause" ]
74
2020-09-29T17:27:03.000Z
2022-03-31T08:04:13.000Z
appBattery.cpp
guyou/T-watch-2020
e68fb1c3171157bb943c1ebf8351f1d66411980a
[ "BSD-3-Clause" ]
36
2020-09-30T19:33:16.000Z
2021-04-18T03:31:32.000Z
appBattery.cpp
guyou/T-watch-2020
e68fb1c3171157bb943c1ebf8351f1d66411980a
[ "BSD-3-Clause" ]
23
2020-10-09T07:41:09.000Z
2021-12-06T10:13:35.000Z
// Display Battery Data // modified from Dan Geiger's code. // by W.F.Dudley Jr. // #include "config.h" #include "DudleyWatch.h" void appBattery(void) { uint32_t batt_update_time; int16_t x, y, per; float vbus_v, vbus_c, batt_v; tft->fillScreen(TFT_BLACK); tft->setTextColor(TFT_YELLOW, TFT_BLACK); tft->drawCen...
28.472222
117
0.606829
guyou
8a86cf92c6b5b6dd53f630eb6b0d5a68c013c79b
19,212
cxx
C++
source/OOSQL/APIs/OOSQL_Database.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
6
2016-08-29T08:03:21.000Z
2022-03-25T09:56:23.000Z
source/OOSQL/APIs/OOSQL_Database.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
null
null
null
source/OOSQL/APIs/OOSQL_Database.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
33.883598
118
0.573912
odysseus-oosql
8a874d5d7aacbd0a52ec917135141481cce76314
559
cpp
C++
Interface/main.cpp
igorgabarra/Software-Engineering-I
ae383bb37cdcdbb49ff3534275f1513231a79c87
[ "MIT" ]
null
null
null
Interface/main.cpp
igorgabarra/Software-Engineering-I
ae383bb37cdcdbb49ff3534275f1513231a79c87
[ "MIT" ]
null
null
null
Interface/main.cpp
igorgabarra/Software-Engineering-I
ae383bb37cdcdbb49ff3534275f1513231a79c87
[ "MIT" ]
null
null
null
/* Autor: Igor Gabarra (17.2.4190) BCC322 - Engenharia de Software I Universidade Federal de Ouro Preto */ #include <iostream> //#include "Model.h" #include "System.h" //#include "Flow.h" #include "FunctionalTests.h" //#include "unitTests.h" using namespace std; int main(){ /* --- Functional Tests ---- */ In...
18.032258
35
0.618962
igorgabarra
8a9176484615e3a6438c18b036e68eb57d8614ae
3,748
cpp
C++
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_rigid_stereo_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
16
2020-03-11T14:27:38.000Z
2021-12-08T13:05:29.000Z
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_rigid_stereo_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
4
2020-05-21T11:59:27.000Z
2021-09-08T03:59:24.000Z
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_rigid_stereo_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
1
2020-11-30T08:17:23.000Z
2020-11-30T08:17:23.000Z
#include "merger_projective_rigid_stereo.h" #include "srrg2_proslam/mapping/landmarks/landmark_estimator_pose_based_smoother.h" namespace srrg2_proslam { using namespace srrg2_slam_interfaces; template <typename TransformType_, typename FixedType_, typename MovingType_> void MergerRigidStereo_<TransformType_, F...
46.85
98
0.734792
srrg-sapienza
8a974e6007accf2fddcee3042806d2a95dea8061
2,677
cpp
C++
module_04/ex03/MateriaSource.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_04/ex03/MateriaSource.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_04/ex03/MateriaSource.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MateriaSource.cpp :+: :+: :+: ...
33.049383
108
0.475532
paulahemsi
8a97656fd761e1d8d3f6f31e76fc6745e4478fcf
813
cpp
C++
simplefvm/src/FVMSolver/DataReciever/DataValidation/FluidPropsValidatior.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
4
2022-01-03T08:45:55.000Z
2022-01-06T19:57:11.000Z
simplefvm/src/FVMSolver/DataReciever/DataValidation/FluidPropsValidatior.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
simplefvm/src/FVMSolver/DataReciever/DataValidation/FluidPropsValidatior.cpp
artvns/SimpleFvm
5a8eca332d6780e738c0bc6c8c2b787b47b5b20d
[ "MIT" ]
null
null
null
#include "FluidPropsValidatior.h" namespace fvmsolver { FluidPropsValidatior::FluidPropsValidatior( SolverSingleMasks& singleMasks) : MU_(singleMasks.getFluidPropertiesMask().getMU()), RHO_(singleMasks.getFluidPropertiesMask().getRHO()) { } void FluidPropsValidatior::valid...
23.228571
69
0.651907
artvns
8a9dd343c74404675c6ce4d0b77a9350b9109f9c
420
hpp
C++
light_player/options.hpp
lxrite/LightPlayer
7d1f2ada335ce5d91af7d9dfe172294c22f94e60
[ "MIT" ]
7
2017-10-08T12:01:24.000Z
2021-04-15T10:52:43.000Z
light_player/options.hpp
lxrite/LightPlayer
7d1f2ada335ce5d91af7d9dfe172294c22f94e60
[ "MIT" ]
1
2018-09-11T19:38:04.000Z
2018-12-23T13:42:32.000Z
light_player/options.hpp
lxrite/LightPlayer
7d1f2ada335ce5d91af7d9dfe172294c22f94e60
[ "MIT" ]
4
2017-11-30T07:13:43.000Z
2021-11-25T05:58:01.000Z
/* * options.hpp: * * Copyright (C) 2017-2018 Light Lin <lxrite@gmail.com> All Rights Reserved. * */ #ifndef LIGHT_PLAYER_OPTIONS_HPP #define LIGHT_PLAYER_OPTIONS_HPP #include "types.hpp" namespace lp { struct RenderOptions { PixelFormat pixel_format = PixelFormat::PIXEL_FORMA...
18.26087
80
0.647619
lxrite
8a9fd992246dbc18ade72eb63c10f8c5774946b2
5,299
cpp
C++
code/win32/src/apps/object_visualizer/render.cpp
trzy/PixArt
4abb8670cb1946c7445a7d148241b058411aeefa
[ "BSD-3-Clause-Attribution" ]
2
2022-02-11T09:50:05.000Z
2022-02-25T00:53:19.000Z
code/win32/src/apps/object_visualizer/render.cpp
trzy/PixArt
4abb8670cb1946c7445a7d148241b058411aeefa
[ "BSD-3-Clause-Attribution" ]
null
null
null
code/win32/src/apps/object_visualizer/render.cpp
trzy/PixArt
4abb8670cb1946c7445a7d148241b058411aeefa
[ "BSD-3-Clause-Attribution" ]
1
2022-02-11T10:05:43.000Z
2022-02-11T10:05:43.000Z
#include "apps/object_visualizer/render.hpp" #include <opencv2/opencv.hpp> #include <GL/gl.h> #include <GL/glu.h> #include <cmath> static constexpr float k_pi = (float) atan(1) * 4; static constexpr float k_deg2rad = k_pi / 180; namespace render { void set_camera(float fov_x, float aspect, vector3 position, euler3...
34.861842
143
0.578411
trzy
8aab945ba53641b3d822d19269bb11e4b29f38d9
1,525
cc
C++
0001_Two_Sum/0001_two_sum.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0001_Two_Sum/0001_two_sum.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
0001_Two_Sum/0001_two_sum.cc
LuciusKyle/LeetCode
66c9090e5244b10eca0be50398764da2b4b48a6c
[ "Apache-2.0" ]
null
null
null
// // Hello // World! //------------------------------------------------------------------------------------------------ // // this is a cpp source file. // // Lucius@LUCIUS-PC // --4/11/2018 // 14:56:11 // // // Copyright (c) 2018 LuciusKyle@outlook.com. All rights // reserved. // //----...
24.596774
98
0.513443
LuciusKyle
8ab05dd8621669caee837cb3d10875a1a0574eac
16,625
cpp
C++
src/effects/SkGpuBlurUtils.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
7
2016-01-12T23:32:32.000Z
2021-12-03T11:21:26.000Z
src/effects/SkGpuBlurUtils.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
null
null
null
src/effects/SkGpuBlurUtils.cpp
lsalzman/moz-skia
e8acd45f8ab38780df2e99877acb1e0b5846ab2c
[ "Apache-2.0" ]
6
2015-12-09T14:00:19.000Z
2021-12-06T03:08:43.000Z
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkGpuBlurUtils.h" #include "SkRect.h" #if SK_SUPPORT_GPU #include "effects/GrConvolutionEffect.h" #include "effects/GrMatrixConvolutionEffect.h" #include "GrContex...
41.253102
99
0.578947
lsalzman
8ab6f6f715f394af40f17aba35e1de1fcbaf3364
14,481
cpp
C++
Source/Plugins/bsfD3D11RenderAPI/BsD3D11HLSLParamParser.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
1,745
2018-03-16T02:10:28.000Z
2022-03-26T17:34:21.000Z
Source/Plugins/bsfD3D11RenderAPI/BsD3D11HLSLParamParser.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
395
2018-03-16T10:18:20.000Z
2021-08-04T16:52:08.000Z
Source/Plugins/bsfD3D11RenderAPI/BsD3D11HLSLParamParser.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
267
2018-03-17T19:32:54.000Z
2022-02-17T16:55:50.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "BsD3D11HLSLParamParser.h" #include "BsD3D11Mappings.h" #incl...
31.276458
144
0.705683
bsf2dev
8ab78616e5d65ee10572dfb48c5924b72e8b3c0b
749
cpp
C++
demo/main.cpp
rin-kinokocan/SCGB
ca0a663c1736b0494caab099ef2205e01ce25126
[ "MIT" ]
null
null
null
demo/main.cpp
rin-kinokocan/SCGB
ca0a663c1736b0494caab099ef2205e01ce25126
[ "MIT" ]
null
null
null
demo/main.cpp
rin-kinokocan/SCGB
ca0a663c1736b0494caab099ef2205e01ce25126
[ "MIT" ]
null
null
null
#include "scgb.hpp" #include "GameContext.hpp" #include "TitleScene.hpp" #include <iostream> #include <map> using namespace scgb; using namespace std; int main(){ bool isend=false; // All envioromental things CursesManager& cm=CursesManager::GetInstance(); Color& col=Color::GetInstance(); Clock clock(10); ...
18.725
49
0.627503
rin-kinokocan
8ac26fb50f578cc73af56675bf699290aafca158
1,280
cpp
C++
appendix/dump_system_preferences/main.cpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
appendix/dump_system_preferences/main.cpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
appendix/dump_system_preferences/main.cpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
#include "constants.hpp" #include "logger.hpp" #include "monitor/configuration_monitor.hpp" #include "monitor/system_preferences_monitor.hpp" #include <iostream> int main(int argc, const char* argv[]) { pqrs::dispatcher::extra::initialize_shared_dispatcher(); signal(SIGINT, [](int) { CFRunLoopStop(CFRunLoopGe...
32.820513
135
0.738281
cyrusccy
8ac2b29ff756fa04348b7c2c3547ba9a8d127abb
3,808
cpp
C++
UVa/01. Problem Set Volumes (100...1999)/Volume 01 - 03 (100 - 399)/uva101.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
UVa/01. Problem Set Volumes (100...1999)/Volume 01 - 03 (100 - 399)/uva101.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
UVa/01. Problem Set Volumes (100...1999)/Volume 01 - 03 (100 - 399)/uva101.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
// <!-- encoding UTF-8 --!> /***************************************************************************** * ----Stay Hungry Stay Foolish---- * * @author : Shen * * @name : uva 101 ...
26.629371
80
0.439338
bilibiliShen
8ac710600b2a5e2bf23ace97705a275306269ddf
912
hpp
C++
function/subheaderFunction.hpp
TaylorP/TML
e4c0c7ce69645a1cf30df005af786a15f85b54a2
[ "MIT" ]
4
2015-12-17T21:58:27.000Z
2019-10-31T16:50:41.000Z
function/subheaderFunction.hpp
TaylorP/TML
e4c0c7ce69645a1cf30df005af786a15f85b54a2
[ "MIT" ]
null
null
null
function/subheaderFunction.hpp
TaylorP/TML
e4c0c7ce69645a1cf30df005af786a15f85b54a2
[ "MIT" ]
1
2019-05-07T18:51:00.000Z
2019-05-07T18:51:00.000Z
#ifndef SUBHEADER_FUNCTION_HPP #define SUBHEADER_FUNCTION_HPP #include "function/function.hpp" #include "exception/functionException.hpp" /// Function for subheader blocks class SubheaderFunction : public Function { public: /// Constructs a new header function SubheaderFunction(const bool pFilter) : F...
25.333333
77
0.580044
TaylorP
8ad1756730ab7f614b7c75c9bb3f9b87d0679b55
508
hpp
C++
NWNXLib/API/API/CScriptCompilerKeyWordEntry.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
NWNXLib/API/API/CScriptCompilerKeyWordEntry.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
NWNXLib/API/API/CScriptCompilerKeyWordEntry.hpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CScriptCompilerKeyWordEntry) #endif struct CScriptCompilerKeyWordEntry { CExoString m_sAlphanumericName; uint32_t m_nHashValue; uint32_t m_nNameLength; int32_t m_nTokenToTranslate; #ifdef NW...
14.941176
54
0.822835
summonFox
8ad2b2f9b0040c8c23637b170460867f6d2754f6
6,874
hpp
C++
include/VROSC/LoopPlayerPlaybackFadeState.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/LoopPlayerPlaybackFadeState.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/LoopPlayerPlaybackFadeState.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.LoopPlayerPlaybackState #incl...
55.886179
219
0.759529
v0idp
e9da92588d2e0700753398ed9e319246007112ef
284
cpp
C++
LeetCode/cpp/700.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/700.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/700.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { public: TreeNode *searchBST(TreeNode *root, const int &val) { if (!root) return nullptr; if (root->val == val) return root; return val > root->val ? searchBST(root->right, val) : searchBST(root->left, val); } };
28.4
90
0.552817
ZintrulCre
e9dda35c0bac9bc9fd0fb42c93dde205662b368e
1,215
cpp
C++
NimGame_Simple/main_menu.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
1
2017-12-10T01:41:47.000Z
2017-12-10T01:41:47.000Z
NimGame_Simple/main_menu.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
8
2017-12-12T10:10:18.000Z
2018-01-08T19:37:52.000Z
NimGame_Simple/main_menu.cpp
tmerge/nimgame
44d24fffcb98e84b0b5a3eb37e12c9fac62f1e9e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "main_menu.h" #include "console_output.h" #include "console_utils.h" #include <iostream> #include "game.h" void main_menu::show_main_menu() { console_handler::console_output::clear_screen(); console_handler::console_utils::set_console_cursor_pos({0, 0}); console_handler::console_ou...
22.5
81
0.669959
tmerge
e9e06a0aac74a364250924a72d6214c6d0b609ef
397
cpp
C++
152.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:23.000Z
2020-09-12T07:38:23.000Z
152.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:27.000Z
2020-09-12T07:40:26.000Z
152.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
null
null
null
class Solution { public: int maxProduct(vector<int>& nums) { int maxv = 1; int minv = 1; int ans = -0x3f3f3f3f; for(int i=0;i<nums.size();i++){ if(nums[i] < 0) swap(maxv, minv); maxv = max(maxv * nums[i], nums[i]); minv = min(minv * nums[i], nums[i...
24.8125
48
0.450882
zhangchbin
e9f2fb37633d1bf46d5c2bc9eb97aa19c8f13778
5,458
hpp
C++
modulo_scheduler/WorkVisualizer.hpp
astrowar/MultithreadingCourse2022
da0e8796bd7ca211d82a37610635c778c57b3d34
[ "MIT" ]
null
null
null
modulo_scheduler/WorkVisualizer.hpp
astrowar/MultithreadingCourse2022
da0e8796bd7ca211d82a37610635c778c57b3d34
[ "MIT" ]
null
null
null
modulo_scheduler/WorkVisualizer.hpp
astrowar/MultithreadingCourse2022
da0e8796bd7ca211d82a37610635c778c57b3d34
[ "MIT" ]
null
null
null
#define SDL_MAIN_HANDLED #include "SDL.h" #include <cstdio> #include <omp.h> #include <algorithm> Uint32 process_w(Uint32 interval, void* uthis); class WorkVisualizer { private: static int count_windows; SDL_Window* window = NULL; SDL_Renderer* gRenderer = NULL; int* work_itens; //-2 = n...
27.846939
131
0.508794
astrowar
e9f668e98f1d64c5415f3061ead04849c9cf805d
2,930
cpp
C++
frameworks/runtime-src/Classes/reader/animation/AnimationClip.cpp
Kuovane/cocos2dx-swf
72e4c8ee6bb0f4ab601deba5ab760a2b716f838c
[ "MIT" ]
null
null
null
frameworks/runtime-src/Classes/reader/animation/AnimationClip.cpp
Kuovane/cocos2dx-swf
72e4c8ee6bb0f4ab601deba5ab760a2b716f838c
[ "MIT" ]
null
null
null
frameworks/runtime-src/Classes/reader/animation/AnimationClip.cpp
Kuovane/cocos2dx-swf
72e4c8ee6bb0f4ab601deba5ab760a2b716f838c
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2017 Chukong Technologies Inc. http://www.cocos2d-x.org 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 ...
24.416667
82
0.668942
Kuovane
e9fe9f501d0544583f561197cec54ab12ec499a5
518
cpp
C++
modules/Animation/SkeletonAnimation.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
modules/Animation/SkeletonAnimation.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
modules/Animation/SkeletonAnimation.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
#include "SkeletonAnimation.h" #include <ozz/animation/runtime/animation.h> #define _p reinterpret_cast< ozz::animation::Animation* >(_Handle.GetValue()) BEG_META( Animation::SkeletonAnimation ) END_META() Animation::SkeletonAnimation::SkeletonAnimation() { } Animation::SkeletonAnimation::~SkeletonAnimation() { ...
17.862069
82
0.774131
xenginez
e9ff71ef3014928571dc7844cc5d24ba0e0fd3c3
43,556
cpp
C++
DiskPageCache.cpp
miketung/open-source-search-engine
205ef500bd49a76d738c57825ea82a22369eec85
[ "Apache-2.0" ]
1
2018-07-18T19:23:41.000Z
2018-07-18T19:23:41.000Z
DiskPageCache.cpp
miketung/open-source-search-engine
205ef500bd49a76d738c57825ea82a22369eec85
[ "Apache-2.0" ]
null
null
null
DiskPageCache.cpp
miketung/open-source-search-engine
205ef500bd49a76d738c57825ea82a22369eec85
[ "Apache-2.0" ]
null
null
null
#undef _XOPEN_SOURCE // needed for pread and pwrite #define _XOPEN_SOURCE 500 #include "gb-include.h" #include "DiskPageCache.h" #include "RdbMap.h" // GB_PAGE_SIZE #include "Indexdb.h" #include "Profiler.h" // types.h uses key_t type that shmget uses #undef key_t #ifdef GBUSESHM #include <sys/ipc.h> // shmget()...
33.097264
79
0.639131
miketung
1800a5f405d7fc773928245e89ab9f384b11736b
98
cpp
C++
libs/pgl-math/tests/test-quaternion.cpp
CourrierGui/pangolin
b6c2c3f37239c3e359cea57fef9763c9c5e81d0f
[ "MIT" ]
null
null
null
libs/pgl-math/tests/test-quaternion.cpp
CourrierGui/pangolin
b6c2c3f37239c3e359cea57fef9763c9c5e81d0f
[ "MIT" ]
null
null
null
libs/pgl-math/tests/test-quaternion.cpp
CourrierGui/pangolin
b6c2c3f37239c3e359cea57fef9763c9c5e81d0f
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <pgl-math/quaternion.hpp> TEST(Quaternion, Construction) { }
12.25
34
0.72449
CourrierGui
18013b29e1953f82d2684ff4e189fdedc6af95cf
4,756
cpp
C++
Source/Urho3D/Particles/Nodes/Constant.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
48
2016-11-14T00:39:35.000Z
2018-12-18T16:37:43.000Z
Source/Urho3D/Particles/Nodes/Constant.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
54
2017-10-18T07:18:12.000Z
2018-12-23T14:09:30.000Z
Source/Urho3D/Particles/Nodes/Constant.cpp
jayrulez/rbfx
8641813787d558b6e8318c1b8e9da86c0e52f9dc
[ "MIT" ]
10
2017-11-10T11:46:15.000Z
2018-12-18T11:58:44.000Z
// // Copyright (c) 2021 the rbfx 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, merge, p...
36.305344
117
0.691337
jayrulez
1802566aa62603adb3a969a5cb1d263989ed63b9
1,101
cpp
C++
CH16/GRAVITYTABLE/src/gravityTable.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH16/GRAVITYTABLE/src/gravityTable.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH16/GRAVITYTABLE/src/gravityTable.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
#include "QatDataAnalysis/HistogramManager.h" #include "QatDataAnalysis/Table.h" #include <cstdlib> #include <iostream> #include <sstream> #include <string> #include <random> int main (int argc, char **argv) { // Automatically generated:-------------------------: std::string usage= std::string("usage: ") + argv[0...
22.9375
55
0.542234
acastellanos95
1804f82ff52aa45e46f236dbed7e40cac32ac3c1
427
cpp
C++
doc/source/src/Example01.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
77
2015-01-30T15:45:43.000Z
2022-03-03T02:29:37.000Z
doc/source/src/Example01.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
37
2015-01-18T21:04:36.000Z
2021-07-09T08:24:54.000Z
doc/source/src/Example01.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
29
2015-02-17T14:37:18.000Z
2021-11-16T07:46:26.000Z
//start #include <ecto/ecto.hpp> #include <iostream> using ecto::tendrils; struct Example01 { static void declare_params(tendrils& p) { p.declare<int>("value", "Some integer"); } void configure(const tendrils& p, const tendrils& i, const tendrils& o) { int n = p.get<int>("value"); std::cout <<...
18.565217
73
0.632319
fujiehuang
18072bd3a3bb062834723a20181c4b6fa7b707dd
7,918
hpp
C++
Include/Game/ComponentSystem.hpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
null
null
null
Include/Game/ComponentSystem.hpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
null
null
null
Include/Game/ComponentSystem.hpp
igorlev91/DemoEngine
8aaef0d3504826c9dcabe0a826a54613fca81c87
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <typeindex> #include "Events/Receiver.hpp" #include "Game/EntityHandle.hpp" #include "Game/ComponentPool.hpp" /* Component System Manages component types and their instances. void ExampleEntitySystem() { // Declaring a component type. class Cla...
33.550847
97
0.657237
igorlev91
18159771c3818c733f7ab90c28acf089938a1726
10,702
cpp
C++
src/dungeon/FLExtraObjects.cpp
0branch/freelarn
907c4b7d2e4ae69fa928e447d36c2fa30a32a3d0
[ "Apache-2.0" ]
12
2019-05-14T09:52:43.000Z
2022-01-22T15:10:13.000Z
src/dungeon/FLExtraObjects.cpp
0branch/freelarn
907c4b7d2e4ae69fa928e447d36c2fa30a32a3d0
[ "Apache-2.0" ]
4
2019-05-13T15:28:50.000Z
2021-12-15T13:37:09.000Z
src/dungeon/FLExtraObjects.cpp
0branch/freelarn
907c4b7d2e4ae69fa928e447d36c2fa30a32a3d0
[ "Apache-2.0" ]
2
2019-05-17T23:59:43.000Z
2019-12-23T03:02:54.000Z
/* Copyright 2017 Gibbon aka 'atsb' 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...
24.946387
103
0.633246
0branch
1815d864ff725c7e634d0131d90ebf3288b315ab
8,630
cpp
C++
Love-Babbar-450-In-CPPTest/09_backtracking/18_partition_of_set_into_K_subset_with_equal_sum.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/09_backtracking/18_partition_of_set_into_K_subset_with_equal_sum.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/09_backtracking/18_partition_of_set_into_K_subset_with_equal_sum.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
///* // link: https://practice.geeksforgeeks.org/problems/partition-array-to-k-subsets/1 // // video (also possible set will be stored): https://youtu.be/rszwy53vaP0 // note: here in this problem we just have to say is it possible or not ?! // but still we have included which sets // // // sol: htt...
28.202614
127
0.46883
harshanu11
1816a60de58bf5a02220bb731f94bdbf5d490694
1,940
hh
C++
include/seastar/core/internal/poll.hh
liubangchen/seastar
5bf108406ae79a5f30383bf8e498dd9d4b51d1a5
[ "Apache-2.0" ]
6,526
2015-09-22T16:47:59.000Z
2022-03-31T07:31:07.000Z
include/seastar/core/internal/poll.hh
liubangchen/seastar
5bf108406ae79a5f30383bf8e498dd9d4b51d1a5
[ "Apache-2.0" ]
925
2015-09-23T13:52:53.000Z
2022-03-31T21:33:25.000Z
include/seastar/core/internal/poll.hh
liubangchen/seastar
5bf108406ae79a5f30383bf8e498dd9d4b51d1a5
[ "Apache-2.0" ]
1,473
2015-09-22T23:19:04.000Z
2022-03-31T21:09:00.000Z
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
32.333333
79
0.698969
liubangchen
181e4d107bb9d061664188f339fe941fd02898b4
1,056
hpp
C++
src/color/hsi/akin/YCgCo.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/hsi/akin/YCgCo.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/hsi/akin/YCgCo.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_hsi_akin_YCgCo #define color_hsi_akin_YCgCo #include "../../generic/akin/hsi.hpp" #include "../category.hpp" #include "../../YCgCo/category.hpp" namespace color { namespace akin { template< >struct hsi< ::color::category::YCgCo_uint8 >{ typedef ::color::category::hsi_uint8 aki...
42.24
116
0.676136
3l0w
1820c42edd0e309ad4f0a6dc812dcb13ac70af1f
1,424
cpp
C++
devdc38.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
1
2020-02-24T18:28:48.000Z
2020-02-24T18:28:48.000Z
devdc38.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
devdc38.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Initialize an individual's middle name (if there is any). Example: 'Jack Ryan' => 'Jack Ryan' 'Lois Mary Lane' => 'Lois M. Lane' 'Dimitri' => 'Dimitri' 'Alice Betty Catherine Davis' => 'Alice B. C. Davis' */ // split a string wrt space vector<string> splitString(strin...
26.37037
83
0.580056
vidit1999
1828368cec950b3e84d8314e07694a466b60d5c9
5,218
cpp
C++
Development/SDKs/1.7.1/SDK/ClothingSystemRuntime_functions.cpp
ResaloliPT/HydroneerReleases
3a3501f04608cea77ccbf7229f94089295128ea7
[ "Unlicense" ]
null
null
null
Development/SDKs/1.7.1/SDK/ClothingSystemRuntime_functions.cpp
ResaloliPT/HydroneerReleases
3a3501f04608cea77ccbf7229f94089295128ea7
[ "Unlicense" ]
null
null
null
Development/SDKs/1.7.1/SDK/ClothingSystemRuntime_functions.cpp
ResaloliPT/HydroneerReleases
3a3501f04608cea77ccbf7229f94089295128ea7
[ "Unlicense" ]
null
null
null
// Name: Hydroneer, Version: 1.7.1 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //------------------------------------------------...
24.729858
252
0.72499
ResaloliPT
182873132486cbd0e798cb2bb3f48bc71c02ed5f
1,810
cpp
C++
Retired_Files/FindConnRegions_lou.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
11
2015-07-24T14:41:25.000Z
2022-03-19T13:27:51.000Z
Retired_Files/FindConnRegions_lou.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
1
2016-05-14T22:26:25.000Z
2016-05-14T22:26:25.000Z
Retired_Files/FindConnRegions_lou.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
18
2015-03-10T18:45:58.000Z
2021-08-16T13:56:48.000Z
/* --------------------------------------------------------------- */ /* FindConnRegions ----------------------------------------------- */ /* --------------------------------------------------------------- */ // This is Lou's original implementation. void FindConnRegions(vector<ConnRegion> &cr, uint8* fold_mask, int...
35.490196
133
0.455249
billkarsh
182fd81dcd898ff19959813e5842870a68be718f
267
cpp
C++
thin_kobuki/src/thin_kobuki_library/thin_kobuki_file_test.cpp
Lab-RoCoCo/thin_drivers
b9ae610fe8b73c6184410e5a2d4d4fb8bda596e5
[ "BSD-3-Clause" ]
1
2021-03-10T11:47:44.000Z
2021-03-10T11:47:44.000Z
thin_kobuki/src/thin_kobuki_library/thin_kobuki_file_test.cpp
Lab-RoCoCo/thin_drivers
b9ae610fe8b73c6184410e5a2d4d4fb8bda596e5
[ "BSD-3-Clause" ]
null
null
null
thin_kobuki/src/thin_kobuki_library/thin_kobuki_file_test.cpp
Lab-RoCoCo/thin_drivers
b9ae610fe8b73c6184410e5a2d4d4fb8bda596e5
[ "BSD-3-Clause" ]
3
2017-04-15T15:03:18.000Z
2019-09-04T13:43:30.000Z
#include "serial.h" #include "kobuki_robot.h" #include "kobuki_protocol.h" #include <iostream> #include <fstream> #include <linux/joystick.h> using namespace std; int main (int argc, char** argv) { KobukiRobot r; ifstream is(argv[1]); r.runFromFile(is); }
14.833333
34
0.700375
Lab-RoCoCo
18303e5850e4535e2592a86f3f121ff6c39dc2da
13,509
cpp
C++
windows/general_and_extract_models/original_bn_layer/test_bn_layer.cpp
soccergame/caffe-windows
6119495e8f174077fd6485c4d44ba63d7575f8c5
[ "BSD-2-Clause" ]
null
null
null
windows/general_and_extract_models/original_bn_layer/test_bn_layer.cpp
soccergame/caffe-windows
6119495e8f174077fd6485c4d44ba63d7575f8c5
[ "BSD-2-Clause" ]
null
null
null
windows/general_and_extract_models/original_bn_layer/test_bn_layer.cpp
soccergame/caffe-windows
6119495e8f174077fd6485c4d44ba63d7575f8c5
[ "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <cstring> #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/layers/bn_layer.hpp" #ifdef USE_CUDNN #include "caffe/layers/cudnn_bn_layer.hpp" #endif #include "caffe/test/test_caffe_main.hpp" #incl...
33.02934
78
0.676956
soccergame
18314ee8cbbbe10e48c04c18439e8c7427374481
1,512
cpp
C++
BOJ_solve/18784.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/18784.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
null
null
null
BOJ_solve/18784.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 1e18+10; const long lo...
27.490909
103
0.60582
biyotte
183dc2c2a85914831fe66d31a936819cbd8ab5d3
2,363
cpp
C++
DesignPatterns/Factory/factory_test.cpp
zrora/DistributedNAS
f750e919eb9159b2406180a21aeb8018a3a432a0
[ "MIT" ]
null
null
null
DesignPatterns/Factory/factory_test.cpp
zrora/DistributedNAS
f750e919eb9159b2406180a21aeb8018a3a432a0
[ "MIT" ]
null
null
null
DesignPatterns/Factory/factory_test.cpp
zrora/DistributedNAS
f750e919eb9159b2406180a21aeb8018a3a432a0
[ "MIT" ]
null
null
null
/**************************************************************************** * Facoty Design Pattern Tests * * Maor Galkin * * Reviewer: Last update: 26.07.18 * *****************************************************************************/ #include <cstdlib> /*EXIT_SUCCESS*/ #inclu...
21.481818
80
0.621244
zrora
183e1ce3a3d7b218ed47e6edb2146547654186b0
141
cpp
C++
vosvideoserver/VosVideo.CameraPlayer/CameraPlayerBase.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
2
2019-11-17T14:01:21.000Z
2019-12-24T14:29:45.000Z
vosvideoserver/VosVideo.CameraPlayer/CameraPlayerBase.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
null
null
null
vosvideoserver/VosVideo.CameraPlayer/CameraPlayerBase.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
3
2019-08-28T14:37:01.000Z
2020-06-17T16:46:32.000Z
#include "stdafx.h" #include "CameraPlayerBase.h" using vosvideo::cameraplayer::CameraPlayerBase; CameraPlayerBase::~CameraPlayerBase() { }
17.625
47
0.787234
lcmftianci
183e27e8f0591d3e1e32c30d0601fc4d9f33f933
2,184
cpp
C++
solidutils/test/Array_test.cpp
dlasalle/solidutils
8ea79c78fc3786199baab7f5f39711760ce21411
[ "MIT" ]
1
2017-10-25T14:19:45.000Z
2017-10-25T14:19:45.000Z
solidutils/test/Array_test.cpp
dlasalle/solidutils
8ea79c78fc3786199baab7f5f39711760ce21411
[ "MIT" ]
8
2018-01-07T23:14:44.000Z
2018-12-25T16:45:12.000Z
solidutils/test/Array_test.cpp
dlasalle/solidutils
8ea79c78fc3786199baab7f5f39711760ce21411
[ "MIT" ]
null
null
null
/** * @file Array_test.cpp * @brief Unit tests for the Array class. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017-2018, Solid Lake LLC * @version 1 * @date 2017-10-06 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
20.411215
79
0.679029
dlasalle
184dd38b01999f96298486e6a8c6b86bb85993da
681
cpp
C++
nowcoder/7226B.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
nowcoder/7226B.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
nowcoder/7226B.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<iostream> #include<set> #include<map> #include<vector> using namespace std; int main() { int n; cin >> n; vector<int> a(n); for(int i = 0; i < n; i++) cin >> a[i]; int ans = n; for(int i = 2; i <= n; i++) { map<int, int> mp; int tmp = 0; for(int j = 0; j < n; j...
19.457143
43
0.352423
freedomDR
184e11db4316a7b45c303f9b9736ea3dedd0539b
985
cc
C++
core/cpp/demo/demo.cc
lkk7/blackjack
67dc378875f17065017e26ea4503f477dad42d4e
[ "MIT" ]
null
null
null
core/cpp/demo/demo.cc
lkk7/blackjack
67dc378875f17065017e26ea4503f477dad42d4e
[ "MIT" ]
null
null
null
core/cpp/demo/demo.cc
lkk7/blackjack
67dc378875f17065017e26ea4503f477dad42d4e
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <memory> #include "blackjack/game.hpp" #include "demo_helpers.hpp" using namespace DemoHelpers; using namespace Blackjack; int main() { constexpr unsigned BET_MONEY = 1000; std::unique_ptr<Game> game = std::make_unique<Game>(Table{Hand{}, Hand{}, StandardDe...
25.25641
79
0.637563
lkk7
18501e6cb7cbbb9fb71cf988dddb17809cc451cb
1,639
cpp
C++
modules/search_ui/src/MasterGui.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/search_ui/src/MasterGui.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/search_ui/src/MasterGui.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
#include "MasterGui.h" MasterGui::MasterGui(QWidget* parent) : QWidget(parent) { searchResultsLwPtr = new QListWidget(); resultLstWidItemPtrVecPtr = new QVector<QListWidgetItem*>(); searchLePtr = new QLineEdit(); searchBtnPtr = new QPushButton("Search"); outerLayout = new QGridLayout(); ...
30.351852
134
0.71629
DeepBlue14
4c75fdd52113e86ef4ccedc3c668cf21968e072a
701
cpp
C++
XML-Parse-Library/XML_Document.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
2
2018-10-13T09:42:12.000Z
2018-10-14T11:17:09.000Z
XML-Parse-Library/XML_Document.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
null
null
null
XML-Parse-Library/XML_Document.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <list> #include <string> #include "XML_Document.hpp" XML_Tag & XML_Document::getRootElement() { return mRootElement; } const XML_Tag & XML_Document::getRootElement() const { return mRootElement; } void XML_Document::saveToFile(const std::string & fileName) const { std::ofstream file(fi...
18.447368
74
0.71612
PiotrGardocki
4c7a1757cf304e3a205adf7f79ed39a017400cd3
4,089
cpp
C++
PBR/Core/FrameBuffer.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
2
2020-02-15T17:16:17.000Z
2020-09-26T20:10:47.000Z
PBR/Core/FrameBuffer.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
null
null
null
PBR/Core/FrameBuffer.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
null
null
null
#include "FrameBuffer.h" #include <glm/ext/matrix_transform.hpp> #include <glm/ext/matrix_clip_space.hpp> #include "../Util/DrawHelper.h" #include "../Textures/CubeMapTexture.h" #include "../Materials/IrradianceMapCapture.h" FrameBuffer::FrameBuffer(const glm::ivec2& size) :size(size) { glGenFramebuffers(1, &fbo); ...
33.793388
171
0.722915
bbtarzan12
4c7a1bc8bb434ff0ae09c2dc1bec60ec48879e12
972
cpp
C++
amortized_analysis/two_pointers/codeforces/F701C/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
17
2019-09-23T04:09:13.000Z
2020-07-27T02:51:51.000Z
amortized_analysis/two_pointers/codeforces/F701C/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
amortized_analysis/two_pointers/codeforces/F701C/Solution.cpp
ashtishad/problem-solving
5dfb71b04c2334c2cce53afd089ae1634b7e8100
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: They Are Everywhere // problem link: https://codeforces.com/contest/701/problem/C // contest link: https://codeforces.com/contest/701 // time: (?) // author: reyad // other_tags: binary search, string // difficulty_level: beginner #include <bits/stdc++.h> using namespace std; #define N...
16.2
62
0.483539
ashtishad
4c80e427f3b763d9c1dee57fa4bd1c5783062220
43,665
cpp
C++
tests/cfloat/conversion/assignment.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
254
2017-05-24T16:51:57.000Z
2022-03-22T13:07:29.000Z
tests/cfloat/conversion/assignment.cpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
101
2017-11-09T22:57:24.000Z
2022-03-17T12:44:59.000Z
tests/cfloat/conversion/assignment.cpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
55
2017-06-09T10:04:38.000Z
2022-02-01T16:54:56.000Z
// astrignment.cpp: functional tests for astrignments of native types to cfloats // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp> // minimum set of incl...
70.541195
195
0.692706
FloEdelmann
4c8be942ced0a7aa0d29e7f69a7f0a40bb441043
6,271
cpp
C++
src/BenchMuParser230.cpp
beltoforion/math-parser-benchmark-project
dcdb8cf290d580c564c9e57d21c6c4454e702363
[ "Apache-2.0", "Zlib", "MIT" ]
1
2021-03-07T13:17:37.000Z
2021-03-07T13:17:37.000Z
src/BenchMuParser230.cpp
beltoforion/math-parser-benchmark-project
dcdb8cf290d580c564c9e57d21c6c4454e702363
[ "Apache-2.0", "Zlib", "MIT" ]
null
null
null
src/BenchMuParser230.cpp
beltoforion/math-parser-benchmark-project
dcdb8cf290d580c564c9e57d21c6c4454e702363
[ "Apache-2.0", "Zlib", "MIT" ]
null
null
null
#include "BenchMuParser230.h" #include <cmath> //#include <windows.h> //------------------------------------------------------------------------------------------------- #include "muparser230/muParser.h" using namespace mu; //-----------------------------------------------------------------------------------------...
22.396429
106
0.549673
beltoforion
4c92214b3d5d35648f11ca3bc04b3b7b7be16273
1,582
hh
C++
src/nexus/config.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
1
2020-12-09T13:54:59.000Z
2020-12-09T13:54:59.000Z
src/nexus/config.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
7
2019-11-18T07:06:17.000Z
2021-10-03T10:53:50.000Z
src/nexus/config.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <clean-core/move.hh> #include <clean-core/string.hh> namespace nx { /// runs the test before all tests matching the pattern /// if this tests fails, no matched test is run struct before { char const* pattern; }; /// runs the test after all tests matching the pattern /// ...
19.530864
88
0.701643
project-arcana
4c939f69c8c1e0f5a79e76ad3551276d3b358558
4,253
cpp
C++
Regression/SparseVector.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
Regression/SparseVector.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
Regression/SparseVector.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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, o...
16.810277
101
0.536798
chenyoujie
4c943a11766d90d4f50ad8a8356171d1f9abb185
2,168
cc
C++
ns-allinone-2.35/ns-2.35/common/tp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/ns-2.35/common/tp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/ns-2.35/common/tp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
#include "tp.h" #include "rtp.h" #include "random.h" #include "address.h" #include "ip.h" static class TPAgentClass : public TclClass { public: TPAgentClass() : TclClass("Agent/TP") {} TclObject* create(int, const char*const*) { return (new TPAgent()); } } class_tp_agent; TPAgent::TPAgent() : Agent(PT_MESSAGE),...
24.359551
96
0.604244
nitishk017
4c94a0d95a58a7afff08395dc7139e2c5ec817aa
421
cpp
C++
Chapter 10. Generic Algorithms/Codes/10.20 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 10. Generic Algorithms/Codes/10.20 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 10. Generic Algorithms/Codes/10.20 Solution.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> int main() { std::vector<std::string> vec{"cat", "dog", "mouse", "distance", "clever", "helicopter", "jellyfish"}; int result = std::count_if(vec.cbegin(), vec.cend(), [] (const std::string& str) {return str.size() > 6;}); std::cout...
24.764706
110
0.629454
Yunxiang-Li
4c963553805d49090f632c0903163c1b8a80cb2a
3,772
hpp
C++
include/Hord/IO/Ops.hpp
komiga/hord
32be8ffb11bd74959c5cd5254e36d87f224b6f60
[ "MIT" ]
null
null
null
include/Hord/IO/Ops.hpp
komiga/hord
32be8ffb11bd74959c5cd5254e36d87f224b6f60
[ "MIT" ]
null
null
null
include/Hord/IO/Ops.hpp
komiga/hord
32be8ffb11bd74959c5cd5254e36d87f224b6f60
[ "MIT" ]
null
null
null
/** @copyright MIT license; see @ref index or the accompanying LICENSE file. @file @brief IO operations. @ingroup io */ #pragma once #include <Hord/config.hpp> #include <Hord/Object/Unit.hpp> #include <Hord/IO/Datastore.hpp> namespace Hord { namespace IO { // Forward declarations /** @addtogroup io @{ */ /** ...
18.490196
72
0.708112
komiga
4ca23efbfd01e1263ed60724e177ed5260bfb93b
6,399
cpp
C++
test/range/test-fold-3-state_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/test-fold-3-state_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/test-fold-3-state_types.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014, 2015 Rogier van Dalen. 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, ...
30.327014
80
0.601344
rogiervd
4ca341bbb2ca4843dcd1a36a5ae99fc2fe10461d
143
cpp
C++
libraries/chain/futurepia_objects.cpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
3
2019-12-24T13:49:22.000Z
2021-01-02T08:26:13.000Z
libraries/chain/futurepia_objects.cpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
4
2020-01-01T20:41:39.000Z
2021-11-30T16:31:10.000Z
libraries/chain/futurepia_objects.cpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
5
2019-03-30T12:53:31.000Z
2021-06-10T16:22:11.000Z
#include <futurepia/chain/futurepia_objects.hpp> #include <fc/uint128.hpp> namespace futurepia { namespace chain { } } // futurepia::chain
15.888889
48
0.741259
futurepia
4cb2a7283822c681fa51c389cd202ef2a17a8019
1,469
cpp
C++
SPOJ/NAJPF.cpp
abu-rifat/OJ-Solver
62a4de6293741be84ac319fce60253da41b99a10
[ "MIT" ]
null
null
null
SPOJ/NAJPF.cpp
abu-rifat/OJ-Solver
62a4de6293741be84ac319fce60253da41b99a10
[ "MIT" ]
null
null
null
SPOJ/NAJPF.cpp
abu-rifat/OJ-Solver
62a4de6293741be84ac319fce60253da41b99a10
[ "MIT" ]
1
2021-02-13T17:49:16.000Z
2021-02-13T17:49:16.000Z
#include<bits/stdc++.h> using namespace std; typedef long long ll; vector<ll>pref_f(string s) { ll n=s.size(); vector<ll>pi(n); for(ll i=1;i<n;i++) { ll j=pi[i-1]; while(j>0&&s[i]!=s[j]) j=pi[j-1]; if(s[i]==s[j]) j++; pi[i]=j; } return pi...
22.257576
45
0.358747
abu-rifat
4cb6b7b875930ff0bec74d60d9e56bb77f02c12b
6,882
cpp
C++
src/test/test_graphplan.cpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
null
null
null
src/test/test_graphplan.cpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
1
2016-01-13T20:42:26.000Z
2022-03-10T02:14:49.000Z
src/test/test_graphplan.cpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
1
2019-08-24T10:25:44.000Z
2019-08-24T10:25:44.000Z
/** * The MIT License (MIT) * * Copyright (c) 2014 Anton Dukeman * * 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 ...
27.638554
80
0.736995
aldukeman
4cbbf3d67710ad22b72fe9cda62380b6d680b2e9
210
cpp
C++
allMatuCommit/3.8 计算e的x次方_2021010915015_20210920105454.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/3.8 计算e的x次方_2021010915015_20210920105454.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/3.8 计算e的x次方_2021010915015_20210920105454.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> int main() { double x,n; scanf("%d%d\n",x,n); if(n>=0) for(i==0,i<=n,i++) e^x = (x^i)*(i!); printf("%.6f\n"e^x); else printf("error\n"); return 0; }
10.5
21
0.480952
BachWV
4cbc01ef67692e87c95c9d336c605c12fc3c6acd
6,373
cpp
C++
cv/cpp/barbershop.cpp
alpaylan/ossources
88a9b62f94458a2723bc1e97208fea8600010f7f
[ "MIT" ]
48
2018-03-22T07:43:49.000Z
2022-03-08T08:27:26.000Z
cv/cpp/barbershop.cpp
alpaylan/ossources
88a9b62f94458a2723bc1e97208fea8600010f7f
[ "MIT" ]
1
2020-03-20T11:01:54.000Z
2020-03-20T11:01:54.000Z
cv/cpp/barbershop.cpp
alpaylan/ossources
88a9b62f94458a2723bc1e97208fea8600010f7f
[ "MIT" ]
14
2018-03-22T09:17:08.000Z
2021-12-26T19:39:07.000Z
#include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<pthread.h> #include "monitor.h" #include <iostream> using namespace std; /* Two different kind of operation: default: customers keep comming and when seats are full, leave shop ifdef CUSTBLOCK: generator blocks until a seat is free #define CUSTBLOCK *...
22.92446
91
0.519065
alpaylan
4cc37e8b5a240a769e6cfe7e8d34a890ccc96ac1
2,496
cpp
C++
smart_tales_ii/game/ui/carousel.cpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
smart_tales_ii/game/ui/carousel.cpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
11
2018-02-08T14:50:16.000Z
2022-01-21T19:54:24.000Z
smart_tales_ii/game/ui/carousel.cpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
#include "../../util/vectormath.hpp" #include "../mode/gamemode.hpp" // for world dimensions #include "carousel.hpp" const float cTileSpacing = 50.f; const float cTileYPos = 90.f; // Maximum distance moved before a tap is no longer a tap but a swipe const float cTapBias = 15.f; void SaleTileCarousel::draw(sf::RenderT...
24.23301
118
0.704728
TijmenUU
4cc5b1286c6d419dd0e6d68b88cc89987f83ffad
2,588
cpp
C++
arm9/source/poke.itcm.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-09-01T14:31:51.000Z
2019-09-10T11:00:20.000Z
arm9/source/poke.itcm.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
8
2017-09-24T20:21:15.000Z
2022-03-04T15:29:05.000Z
arm9/source/poke.itcm.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-02-04T02:59:42.000Z
2019-02-05T06:16:07.000Z
#include "poke.h" #include "registerOverride.h" #include <nds/dma.h> #include <nds/arm9/video.h> #include <nds/arm9/sassert.h> #define VRAM_F_SIZE (16*1024) #define VRAM_G_SIZE (16*1024) #define VRAM_H_SIZE (32*1024) #define VRAM_I_SIZE (16*1024) #ifdef __INTELLISENSE__ #undef ITCM_CODE #define ITCM_CODE #endif ITCM...
26.680412
104
0.704791
henke37
4ccc229ef83e92c7fdb25a087bc713807420253c
2,016
hh
C++
rrd/inc/com/centreon/broker/rrd/connector.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
rrd/inc/com/centreon/broker/rrd/connector.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
rrd/inc/com/centreon/broker/rrd/connector.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2011-2013, 2020-2021 Centreon ** ** 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 ...
29.217391
75
0.751984
centreon-lab
4cccaec1db48ca05a699ce7c24eb30e8fabc0ad5
142
cpp
C++
RTSProject/RTSProject/DirectionalLight.cpp
rlatkddn212/rts-project
268ec1f5f97e899b70d6e7a50d6e9e7956c12646
[ "Unlicense" ]
null
null
null
RTSProject/RTSProject/DirectionalLight.cpp
rlatkddn212/rts-project
268ec1f5f97e899b70d6e7a50d6e9e7956c12646
[ "Unlicense" ]
null
null
null
RTSProject/RTSProject/DirectionalLight.cpp
rlatkddn212/rts-project
268ec1f5f97e899b70d6e7a50d6e9e7956c12646
[ "Unlicense" ]
null
null
null
#include "Precompiled.h" #include "DirectionalLight.h" DirectionalLight::DirectionalLight() { } DirectionalLight::~DirectionalLight() { }
10.923077
37
0.753521
rlatkddn212
4cd8faa26fced9f0e89c4192e95a3b9855e13dd1
385
cpp
C++
snippets/cpp/VS_Snippets_CLR_Classic/classic Debug.Assert Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR_Classic/classic Debug.Assert Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_Classic/classic Debug.Assert Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
#using <System.dll> using namespace System; using namespace System::Diagnostics; int main( void ) { // <Snippet1> // Create a local value. int index; // Perform some action that sets the local value. index = -40; // Test that the local value is valid. #if defined(DEBUG) Debug::Asse...
16.73913
52
0.605195
BohdanMosiyuk
4cd9a41142974e4562d381bf239e826d98f38f3a
18,003
cpp
C++
dlls/lights.cpp
ijaazahmed03/In-The-80s
ea06026ed04b263fd02e8376be42361b33043a2f
[ "Unlicense" ]
2
2020-07-30T09:49:15.000Z
2021-06-28T22:06:11.000Z
dlls/lights.cpp
ijaazahmed03/In-The-80s
ea06026ed04b263fd02e8376be42361b33043a2f
[ "Unlicense" ]
15
2020-07-23T14:01:54.000Z
2020-11-24T10:02:46.000Z
dlls/lights.cpp
ijaazahmed03/In-The-80s
ea06026ed04b263fd02e8376be42361b33043a2f
[ "Unlicense" ]
8
2020-07-23T13:35:27.000Z
2021-06-28T22:06:13.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
23.972037
140
0.685775
ijaazahmed03
4cd9c1767d6ae328c7d7f38c02dc8153b3d5bc60
128,493
hpp
C++
Blocks/Game/Assets/bv32.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
5
2018-06-16T06:54:59.000Z
2021-12-23T15:24:42.000Z
Blocks/Game/Assets/bv32.hpp
salindersidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
1
2016-01-15T08:04:18.000Z
2016-01-15T08:04:18.000Z
Blocks/Game/Assets/bv32.hpp
SalinderSidhu/Blocks
b36c916717873cf43e61afb4e978d65025953a33
[ "MIT" ]
null
null
null
#ifndef BV32_HPP #define BV32_HPP static const unsigned char bv32[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x3A, 0x00, 0x00, 0x00, 0xDD, 0x08, 0x06, 0x00, 0x00, 0x00, 0xEA, 0xFA, 0x61, 0x12, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73...
239.27933
241
0.661203
salindersidhu
4cde05eb6eb59c1b6f2fa9212e8e3b51699efa86
2,537
cpp
C++
src/SpanContext.cpp
magickreeator/jaeger-client
0b7cafeac794fc4759424c0c0a1364f0324507e9
[ "Apache-2.0" ]
17
2018-05-04T10:47:04.000Z
2021-09-09T08:27:49.000Z
src/SpanContext.cpp
sgnrslv/jaeger-client-php-ext
7bd68b9aad5e3476bd60cb5d1991e8383b980541
[ "Apache-2.0" ]
1
2020-06-16T14:14:59.000Z
2020-06-16T14:14:59.000Z
src/SpanContext.cpp
sgnrslv/jaeger-client-php-ext
7bd68b9aad5e3476bd60cb5d1991e8383b980541
[ "Apache-2.0" ]
4
2018-05-20T11:00:10.000Z
2021-04-01T21:00:27.000Z
#include <iostream> #include <sstream> #include <iomanip> #include "SpanContext.h" #include "Tracer.h" const std::string OpenTracing::SpanContext::OTR_DELIMITER = ":"; OpenTracing::SpanContext::SpanContext(const int64_t& traceIdHigh, const int64_t& traceIdLow, const int64_t& spanId, const int64_t& parentId, const int...
29.847059
187
0.599527
magickreeator
4ce9755c24667bda3e96036772495b3d1202a126
1,231
cpp
C++
RedisSearchModule/WordsTrieTreeNode.cpp
Dudi119/SearchYA
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
5
2017-08-29T15:33:16.000Z
2020-12-09T08:34:02.000Z
RedisSearchModule/WordsTrieTreeNode.cpp
Dudi119/MesosBenchMark
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
1
2017-09-26T11:44:01.000Z
2017-09-27T06:40:01.000Z
RedisSearchModule/WordsTrieTreeNode.cpp
Dudi119/MesosBenchMark
a3468dedcd3fc8d63350a2c79b16b6949fdc7e41
[ "MIT" ]
2
2017-08-19T04:41:16.000Z
2020-07-21T17:38:16.000Z
#include "WordsTrieTreeNode.h" using namespace std; WordsTrieTreeNode::WordsTrieTreeNode(char letter):m_letter(letter) { m_documentsRanking.reset(new DocumentRanking(&WordsTrieTreeNode::DocumentWordAppearCompare)); } WordsTrieTreeNode::~WordsTrieTreeNode() { for(auto& node : m_nodes) { delete node.second; } } ...
22.381818
94
0.770106
Dudi119