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
f8b3e65bb2fbe40337ab35e85e5d414f4e89d654
2,531
hpp
C++
data_structures/matrix_graph_wrapper.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
1
2016-11-29T15:02:40.000Z
2016-11-29T15:02:40.000Z
data_structures/matrix_graph_wrapper.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
1
2019-02-04T18:10:57.000Z
2019-02-04T18:10:57.000Z
data_structures/matrix_graph_wrapper.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2015, Project OSRM contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
35.647887
96
0.741604
Mapotempo
f8b4a3db2dee6782c4f50df2a91ed61cba505ebe
974
hpp
C++
sprout/range/algorithm/includes.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/range/algorithm/includes.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/range/algorithm/includes.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_RANGE_ALGORITHM_INCLUDES_HPP #define SPROUT_RANGE_ALGORITHM_INCLUDES_HPP #include <sprout/config.hpp> #include <sprout/container/functions.hpp> #include <sprout/algorithm/includes.hpp> namespace sprout { namespace range { // Copyright (C) 2011 RiSK (sscrisk) // 25.4.5.1 includes tem...
34.785714
122
0.738193
osyo-manga
f8b8264d4266c45fba7ef462663e2ce5b100f1b9
710
hpp
C++
include/Common/IO.hpp
feral-lang/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
include/Common/IO.hpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
include/Common/IO.hpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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, modi...
26.296296
78
0.759155
feral-lang
f8b9c22fac95ec5b13391ffd8d99f2367b779338
1,002
cpp
C++
modules/test/benchmark/src/suite.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/test/benchmark/src/suite.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/test/benchmark/src/suite.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2009 - 2013 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2013 MetaScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICEN...
35.785714
80
0.555888
psiha
f8bdc564f2d877638e0edfbfd3f53c89868c5811
3,927
cpp
C++
src/json_parser.cpp
alexd2580/statorange
02bdbe96273108964f9ec947c331f7f22a66d5c8
[ "MIT" ]
1
2016-02-26T01:14:26.000Z
2016-02-26T01:14:26.000Z
src/json_parser.cpp
alexd2580/statorange
02bdbe96273108964f9ec947c331f7f22a66d5c8
[ "MIT" ]
6
2015-12-06T22:23:29.000Z
2015-12-11T14:56:55.000Z
src/json_parser.cpp
alexd2580/statorange
02bdbe96273108964f9ec947c331f7f22a66d5c8
[ "MIT" ]
null
null
null
#include <map> #include <string> #include <vector> #include <cstring> #include<fmt/format.h> #include "json_parser.hpp" #include "utils/parse.hpp" namespace JSON { void Object::parse_kv_pair(StringPointer& str) { std::string key(str.escaped_string()); str.whitespace(); char c = str.next(); if(c != ...
25.012739
101
0.489687
alexd2580
f8bf8ed652453ecc70eeed6884c7b8803d76f5a1
620
hpp
C++
marching-cubes/Geometry3D.hpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
2
2019-07-23T13:51:46.000Z
2019-07-23T14:29:10.000Z
marching-cubes/Geometry3D.hpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
null
null
null
marching-cubes/Geometry3D.hpp
Marc--Olivier/DataVisualization
8cbefa3db9807b21197efbc8c8d5b5846a1671ca
[ "BSL-1.0" ]
1
2018-10-19T12:56:01.000Z
2018-10-19T12:56:01.000Z
/** * Copyright Marc-Olivier Andrez 2018. * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * https://www.boost.org/LICENSE_1_0.txt) */ #pragma once #include <array> /*! * \file Geometry3D.hpp * \brief The file Geometry3D.hpp contains a couple ...
22.142857
79
0.709677
Marc--Olivier
f8c176f55dd472c964afe007c77fb813f5063a61
5,794
cpp
C++
leetcode/1044/solution.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
leetcode/1044/solution.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
leetcode/1044/solution.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
/* author: mark@mkmark.net time: O(nlogn) space: O() Runtime: 1045 ms, faster than 68.12% of C++ online submissions for Longest Duplicate Substring. Memory Usage: 13.2 MB, less than 92.75% of C++ online submissions for Longest Duplicate Substring. reference: https://www.geeksforgeeks.org/suffix-array-set-2-a-nlognlog...
31.661202
98
0.521056
mkmark
f8cbb77df5daedefe04c4cba17ef7f57be3e1d69
454
cpp
C++
bullet/Demos/CollisionInterfaceDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
2,617
2015-01-01T11:22:33.000Z
2022-03-31T16:15:46.000Z
bullet/Demos/CollisionInterfaceDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
286
2015-01-13T17:22:49.000Z
2022-03-03T15:10:50.000Z
bullet/Demos/CollisionInterfaceDemo/main.cpp
microaaron/ammo.js
325d13a4bf40c1d490d81f3de40c5a80178390bc
[ "Zlib" ]
439
2015-01-12T21:50:57.000Z
2022-03-31T20:59:09.000Z
#include "CollisionInterfaceDemo.h" #include "GlutStuff.h" #include "btBulletDynamicsCommon.h" int screenWidth = 640; int screenHeight = 480; int main(int argc,char** argv) { CollisionInterfaceDemo* collisionInterfaceDemo = new CollisionInterfaceDemo(); collisionInterfaceDemo->initPhysics(); collisionInterface...
22.7
104
0.799559
microaaron
f8cce6801e041b35de70e91342eae27cd50931e8
2,592
cpp
C++
NoteWebEngineView.cpp
tsinhi/QTreeNote
486936c653f2e0ae263eb4fdf91111a656adc25b
[ "Apache-2.0" ]
3
2018-11-10T08:55:56.000Z
2019-03-19T14:22:39.000Z
NoteWebEngineView.cpp
tsinhi/QTreeNote
486936c653f2e0ae263eb4fdf91111a656adc25b
[ "Apache-2.0" ]
null
null
null
NoteWebEngineView.cpp
tsinhi/QTreeNote
486936c653f2e0ae263eb4fdf91111a656adc25b
[ "Apache-2.0" ]
null
null
null
#include "NoteAppGlobalInfo.h" #include "NoteWebEnginePage.h" #include "NoteWebEngineView.h" #include <QApplication> #include <QKeyEvent> NoteWebEngineView::NoteWebEngineView(QWidget *parent):QWebEngineView(parent) { NoteWebEnginePage *webPage = new NoteWebEnginePage(this); webPage->setObjectName("webPage");...
24
89
0.616127
tsinhi
f8cd919c7ae2abf0e90818fd627e817e8bf55fd8
7,826
cpp
C++
Dansen.cpp
SonicwaveNL/lego_bot
76d48c2b6c7f7e62c1c22dbfd0a530fac25fc729
[ "MIT" ]
1
2020-02-20T09:24:10.000Z
2020-02-20T09:24:10.000Z
Dansen.cpp
SonicwaveNL/lego_bot
76d48c2b6c7f7e62c1c22dbfd0a530fac25fc729
[ "MIT" ]
null
null
null
Dansen.cpp
SonicwaveNL/lego_bot
76d48c2b6c7f7e62c1c22dbfd0a530fac25fc729
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "BrickPi3.h" #include <unistd.h> #include <signal.h> using std::cin; using std::string; using std::cout; using std::endl; using std::getline; BrickPi3 BP; // Define an instance of BrickPi3, called 'BP' //Sensor definitions sensor_light_t Light3; /...
28.050179
115
0.602351
SonicwaveNL
f8ceff0d3428019962d4bba88c65f386b4db2792
5,714
cpp
C++
src/estimatefamily.cpp
toshihr/mtrap
e6001ef79c89bbb7c5b731fe6ade4659add5d1ea
[ "BSD-3-Clause" ]
null
null
null
src/estimatefamily.cpp
toshihr/mtrap
e6001ef79c89bbb7c5b731fe6ade4659add5d1ea
[ "BSD-3-Clause" ]
null
null
null
src/estimatefamily.cpp
toshihr/mtrap
e6001ef79c89bbb7c5b731fe6ade4659add5d1ea
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <cstdio> #include <cstdlib> #include <string> #include <map> #include <set> #include "utility.h" #include "globaloption.h" #include "sequences.h" using namespace std; namespace ScoreMatrix { std::string findSCOP_sccs(const std::string& s){ size_t dotPos = -1; ...
32.83908
135
0.548652
toshihr
f8cf32bba12398404466364b3d8a85d8dfa99a19
302
cpp
C++
剑指Offer10-II.青蛙跳台阶问题/numWays.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2019-10-21T14:40:39.000Z
2019-10-21T14:40:39.000Z
剑指Offer10-II.青蛙跳台阶问题/numWays.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
null
null
null
剑指Offer10-II.青蛙跳台阶问题/numWays.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2020-11-04T07:33:34.000Z
2020-11-04T07:33:34.000Z
class Solution { public: int numWays(int n) { if(n == 0) return 1; if(n <= 2) return n; int a = 1, b = 2, c = 0; for(int i = 3; i <= n; ++i) { c = (a + b) % 1000000007; a = b; b = c; } return b; } };
18.875
37
0.327815
YichengZhong
f8d0ad7fde44088eca807eba416d3042261d7fe8
9,272
cpp
C++
src/obproxy/proxy/client/ob_mysql_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
1
2021-06-01T01:59:48.000Z
2021-06-01T01:59:48.000Z
src/obproxy/proxy/client/ob_mysql_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
null
null
null
src/obproxy/proxy/client/ob_mysql_client_pool.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
30.006472
135
0.686044
stutiredboy
f8d3b1475be52fa663ce8a5f60d3f130b900bea5
444
hpp
C++
src/HKFunctions_linux.hpp
mutouyun/QuicDone
a776294153bc9e555fd6787f363312537655cb29
[ "MIT" ]
2
2020-10-13T11:44:12.000Z
2020-10-13T11:44:19.000Z
src/HKFunctions_linux.hpp
mutouyun/QuicDone
a776294153bc9e555fd6787f363312537655cb29
[ "MIT" ]
null
null
null
src/HKFunctions_linux.hpp
mutouyun/QuicDone
a776294153bc9e555fd6787f363312537655cb29
[ "MIT" ]
1
2019-06-26T11:08:29.000Z
2019-06-26T11:08:29.000Z
#include <QMessageBox> #include <unistd.h> void HKFunctions::message(QString text) const { postCall([text]{ QMessageBox::information(Q_NULLPTR, "QuicDone", text); }); } void HKFunctions::closeMonitor(void) const { postCall([this]{ shell("xset dpms force off"); }); } void HKFunctions::exec(QString cmd, QStri...
22.2
79
0.664414
mutouyun
f8d5a529f5352bf88e481ef9da8a13b9cbd4405e
972
hpp
C++
src/Graphics/Shader.hpp
feliwir/openSage-deprecated
4e6b3e7da577d37892cd0dfae31701c502247fb9
[ "MIT" ]
4
2018-11-22T23:15:23.000Z
2021-04-27T06:55:24.000Z
src/Graphics/Shader.hpp
feliwir/openSage-deprecated
4e6b3e7da577d37892cd0dfae31701c502247fb9
[ "MIT" ]
null
null
null
src/Graphics/Shader.hpp
feliwir/openSage-deprecated
4e6b3e7da577d37892cd0dfae31701c502247fb9
[ "MIT" ]
1
2019-08-27T13:02:59.000Z
2019-08-27T13:02:59.000Z
// Stephan Vedder 2015 #pragma once #include "flextGL.h" #include <array> #include <map> namespace Graphics { class Shader { public: Shader(); ~Shader(); enum Type { VERTEX_SHADER = 0, GEOMETRY_SHADER = 1, FRAGMENT_SHADER = 2 }; ...
23.142857
73
0.585391
feliwir
f8d5ac09b1ea175d4c95a35f755cdf82ea793553
465
cpp
C++
src/sum_array_k_to_m.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
src/sum_array_k_to_m.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
src/sum_array_k_to_m.cpp
Redouane64/Introduction-to-programming
15ea6d6255409600b5367b25cfaac8b1f63b53d6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int N, k, m; cin >> N >> k >> m; if (k < 1 || m > N || m < k) { return 1; } int *arr = new int[N]; for (int i = 0; i < N; i++) { cin ...
13.285714
40
0.391398
Redouane64
f8d77db602b7cf158c5d3500e8e48ec544d60686
211
cpp
C++
API/GameEngineBase/GameEngineUpdateObject.cpp
minggy69/Homework
5f8f64d117be699fc3a1ca541bba7f62c8a5bf25
[ "MIT" ]
null
null
null
API/GameEngineBase/GameEngineUpdateObject.cpp
minggy69/Homework
5f8f64d117be699fc3a1ca541bba7f62c8a5bf25
[ "MIT" ]
null
null
null
API/GameEngineBase/GameEngineUpdateObject.cpp
minggy69/Homework
5f8f64d117be699fc3a1ca541bba7f62c8a5bf25
[ "MIT" ]
null
null
null
#include "GameEngineUpdateObject.h" GameEngineUpdateObject::GameEngineUpdateObject() : IsUpdate_(true) , IsDeath_(false) , IsReleaseUpdate_(false) { } GameEngineUpdateObject::~GameEngineUpdateObject() { }
15.071429
49
0.781991
minggy69
f8decaee8715cbf0711db7ee3360f5bbfd1f6ef0
194
hpp
C++
protouse/show2/Caller.hpp
birbacher/plaincontainers
27386929da24b3d82887699458c99fc293618d05
[ "BSL-1.0" ]
null
null
null
protouse/show2/Caller.hpp
birbacher/plaincontainers
27386929da24b3d82887699458c99fc293618d05
[ "BSL-1.0" ]
null
null
null
protouse/show2/Caller.hpp
birbacher/plaincontainers
27386929da24b3d82887699458c99fc293618d05
[ "BSL-1.0" ]
null
null
null
#ifndef PROTO_SHOW1_CALLER_HPP #define PROTO_SHOW1_CALLER_HPP #include <iosfwd> namespace proto { namespace show1 { void run(std::ostream&); } //namespace show1 } //namespace proto #endif
12.125
30
0.757732
birbacher
f8e3cb913a74d3db37eca8ee8c663c6bbd7741e3
17,512
cpp
C++
Core/MAGESLAM/Source/BundleAdjustment/BundleAdjust.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
70
2020-05-07T03:09:09.000Z
2022-02-11T01:04:54.000Z
Core/MAGESLAM/Source/BundleAdjustment/BundleAdjust.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
3
2020-06-01T00:34:01.000Z
2020-10-08T07:43:32.000Z
Core/MAGESLAM/Source/BundleAdjustment/BundleAdjust.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
16
2020-05-07T03:09:13.000Z
2022-03-31T15:36:49.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "BundleAdjust.h" #include "Utils/Logging.h" #include "Utils/cv.h" #include "Analysis/DataFlow.h" #include "Map/MappingMath.h" #include <mutex> #include <atomic> #include <algorithm> #include <iterator> #include <memory> #include <fun...
35.377778
154
0.577604
syntheticmagus
25cae189abf66d50afe89a6cfb8d9b9716324594
6,359
cpp
C++
Calc/src/calc_vkw.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
Calc/src/calc_vkw.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
Calc/src/calc_vkw.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
#include "calc_vkw.h" #if defined(USE_VULKAN) #include <vulkan/vulkan.h> #include <vulkan/vk_sdk_platform.h> #include <vulkan/vk_layer.h> #include "misc/debug.h" #include "wrappers/instance.h" #include "common_vk.h" #include "except_vk.h" #include "calc_vk.h" #include "device_vk.h" #include "device_vkw.h" namespace...
32.948187
137
0.581538
pribault
25cb1738e4d663e6cf2060754e6858531eb128e9
298
cpp
C++
net.ssa/Editors/LevelEditor/Edit/SceneCopyPaste.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Editor/Edit/SceneCopyPaste.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Editor/Edit/SceneCopyPaste.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//---------------------------------------------------- // file: SceneCopyPaste.cpp //---------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "Log.h" #include "UI_Main.h" #include "Scene.h" #include "FileSystem.h" #include "SceneChunks.h"
19.866667
55
0.416107
ixray-team
25cb24374bc535746ae307b1d8ae3125af37da7c
406
hpp
C++
HAPI_Start/Player.hpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
HAPI_Start/Player.hpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
HAPI_Start/Player.hpp
DamienHenderson/GEC-Engine
8d1e89c3dc35adaf65e84de2594c715c600e4681
[ "MIT" ]
null
null
null
#pragma once #include "Entity.hpp" class Player : public Entity { public: Player() : Entity() {} Player(const vec2 <f32>& pos, s32 health, Team team, const std::string& sprite_id); ~Player(); virtual void Update(s32 delta_ms) override; virtual void Render(Visualisation& vis, s32 delta_ms) override; virtual voi...
20.3
84
0.726601
DamienHenderson
25cc4a91fdb09d83ba87bbbb268e0a137e80c055
610
hh
C++
server/vsReplicationImpl.hh
pkvijay/metaDR
99d832798400356e38405e44f85f1f4d6fe36c99
[ "MIT" ]
1
2017-01-21T00:42:06.000Z
2017-01-21T00:42:06.000Z
server/vsReplicationImpl.hh
pkvijay/metaDR
99d832798400356e38405e44f85f1f4d6fe36c99
[ "MIT" ]
null
null
null
server/vsReplicationImpl.hh
pkvijay/metaDR
99d832798400356e38405e44f85f1f4d6fe36c99
[ "MIT" ]
null
null
null
// -*- C++ -*- // Scaffolding originally generated from server/vsReplication.x. // Edit to add functionality. #ifndef __XDR_SERVER_VSREPLICATIONIMPL_HH_INCLUDED__ #define __XDR_SERVER_VSREPLICATIONIMPL_HH_INCLUDED__ 1 #include "server/vsReplication.hh" namespace vr { class ReplicationApi_v1_server { public: usin...
24.4
64
0.781967
pkvijay
25d00829229611730571e770e5551c6e3d9b63bc
11,217
cpp
C++
artifact/storm/src/storm/abstraction/MenuGameAbstractor.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/abstraction/MenuGameAbstractor.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/abstraction/MenuGameAbstractor.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/abstraction/MenuGameAbstractor.h" #include "storm/abstraction/AbstractionInformation.h" #include "storm/models/symbolic/StandardRewardModel.h" #include "storm/settings/SettingsManager.h" #include "storm/settings/modules/AbstractionSettings.h" #include "storm/storage/dd/Add.h" #include "storm/storage...
61.295082
294
0.63698
glatteis
25d29d7fcf2a17ba9fb78c0d935ab3e2811f95a5
455
hpp
C++
include/dumbo/v1/fiber/future/future_status.hpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
6
2016-10-22T06:37:17.000Z
2019-05-09T06:12:48.000Z
include/dumbo/v1/fiber/future/future_status.hpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/dumbo/v1/fiber/future/future_status.hpp
victor-smirnov/dumbo
57fe7f765c69490a9bda6619bcab8fcca0e1d2d9
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
// Copyright Oliver Kowalke 2013. // 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) #pragma once #include <future> #include <boost/config.hpp> #include <dumbo/v1/fiber/detail/config.hpp> ...
16.25
61
0.67033
victor-smirnov
25d72288f0e73e31463c1a9cf156bef1ad7f0eeb
4,601
hpp
C++
src/nnfusion/core/kernels/cpu/eigen/pad.hpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
1
2021-05-14T08:10:30.000Z
2021-05-14T08:10:30.000Z
src/nnfusion/core/kernels/cpu/eigen/pad.hpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
null
null
null
src/nnfusion/core/kernels/cpu/eigen/pad.hpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
1
2021-08-11T09:09:53.000Z
2021-08-11T09:09:53.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "../cpu_kernel_emitter.hpp" #include "nnfusion/core/operators/generic_op/generic_op.hpp" namespace nnfusion { namespace kernels { namespace cpu { template <typename ElementType> ...
40.716814
125
0.488589
LittleQili
25e55c8a5bdd24cfcb6c5e44b89c889809a81c50
1,149
cpp
C++
sources-experimental/OPMLWriter.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
3
2018-06-21T03:58:59.000Z
2022-03-27T10:11:25.000Z
sources-experimental/OPMLWriter.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
77
2015-04-29T02:40:04.000Z
2021-12-18T00:34:46.000Z
sources-experimental/OPMLWriter.cpp
HaikuArchives/BePodder
5df834d4408251ec73d5f3e994bd903637124a35
[ "MIT" ]
10
2015-02-23T18:12:25.000Z
2022-03-11T06:28:02.000Z
#include "OPMLWriter.h" #include "Logger.h" OPMLWriter::OPMLWriter(const BString title): doc(NULL), body(NULL) { doc = xmlNewDoc(BAD_CAST "1.0"); xmlNodePtr opml = xmlNewNode(NULL, BAD_CAST "opml"); xmlNewProp(opml, BAD_CAST "version", BAD_CAST "1.0"); xmlDocSetRootElement(doc, opml); xmlNodePtr head = xmlNew...
26.113636
74
0.700609
HaikuArchives
25e9ef0f0a9ad7608fc86555a1690cedf57692b2
566
hpp
C++
modulo/quadratic-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
modulo/quadratic-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
modulo/quadratic-equation.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "mod-sqrt.hpp" template <typename mint> vector<mint> QuadraticEquation(mint a, mint b, mint c) { assert(mint::get_mod() % 2 != 0); if (a == mint()) { if(b == mint()) { assert(c != mint()); return {}; } return vector<mint>{-c * b.inverse()}; } mint ia = a.inverse()...
25.727273
68
0.531802
NachiaVivias
25ec70093af481bcfdd4eec71c9b1827d111320e
1,615
hpp
C++
Project/OpenGL-Framework/Include/Shader.hpp
ryandugie/OpenGL-Framework
ba1100341aecae89f70dbf8504a5998ec5854d57
[ "Apache-2.0" ]
1
2021-02-08T17:08:25.000Z
2021-02-08T17:08:25.000Z
Project/OpenGL-Framework/Include/Shader.hpp
ryandugie/OpenGL-Framework
ba1100341aecae89f70dbf8504a5998ec5854d57
[ "Apache-2.0" ]
null
null
null
Project/OpenGL-Framework/Include/Shader.hpp
ryandugie/OpenGL-Framework
ba1100341aecae89f70dbf8504a5998ec5854d57
[ "Apache-2.0" ]
null
null
null
/****************************************************************************/ /*! \file Mesh.hpp \Author Ryan Dugie \brief Copyright (c) Ryan Dugie. All rights reserved. Licensed under the Apache License 2.0 */ /****************************************************************************/ #ifndef SHADER_...
31.666667
86
0.594427
ryandugie
25f1a17028fa5fb7eee0506ef1e1f908568f7d63
1,896
hpp
C++
lib/cpp/data-structures/cumulative-sum-2d.hpp
nullputra/nlptr-lib
618c2c74c3d3033bae04de9ba9a253bb6eb31a6c
[ "CC0-1.0" ]
null
null
null
lib/cpp/data-structures/cumulative-sum-2d.hpp
nullputra/nlptr-lib
618c2c74c3d3033bae04de9ba9a253bb6eb31a6c
[ "CC0-1.0" ]
null
null
null
lib/cpp/data-structures/cumulative-sum-2d.hpp
nullputra/nlptr-lib
618c2c74c3d3033bae04de9ba9a253bb6eb31a6c
[ "CC0-1.0" ]
null
null
null
template <class T, bool is_rect_addition> struct CumulativeSum2d { private: int _h, _w; vector<vector<T>> v; bool built = false; public: CumulativeSum2d(int h, int w) : _h(h + 1), _w(w + 1) { init(); } void init() { v = vector(_h, vector<T>(_w)); } void add(int y1, int x1, int y2, int x2,...
30.580645
111
0.396624
nullputra
25f3310542fbcae7e3e50c9029602a66f583ac8d
3,600
cpp
C++
bzoj/2243.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/2243.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/2243.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define ll long long #define N 50010 using namespace std; inline int read(){ int x=0,f=0;char ch=getchar(); while(ch>'9'||ch<'0'){if(ch=='-')f=1;ch=getchar();} while(ch<='9'&&ch>='0'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();} return f?-x:x; } int head[N], top[N], fa[N], dep[N], sz[N], p[N], fp[...
23.225806
77
0.498333
swwind
25f57bef0bbde4271ac3cf92803442f036ed4639
237
cpp
C++
SimpleFactory/ConcreteProduct.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
1
2018-10-12T08:41:06.000Z
2018-10-12T08:41:06.000Z
SimpleFactory/ConcreteProduct.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
1
2018-10-16T01:43:57.000Z
2018-10-16T01:43:57.000Z
SimpleFactory/ConcreteProduct.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
null
null
null
#include "ConcreteProduct.h" #include <iostream> using namespace std; void ConcreteProductA::use() { cout << "ConcreteProductA was used" << endl; } void ConcreteProductB::use() { cout << "ConcreteProductB was used" << endl; }
15.8
48
0.687764
zxc6419
25f8d029e7d44751f07b01d673fc8d5bfa3c8697
12,098
cpp
C++
RprLoadStore/RprLoadStore.cpp
NeoSpark314/RadeonProRender-Baikal
5895f7ef4bd62e41b36d4577433787387aa5c255
[ "MIT" ]
null
null
null
RprLoadStore/RprLoadStore.cpp
NeoSpark314/RadeonProRender-Baikal
5895f7ef4bd62e41b36d4577433787387aa5c255
[ "MIT" ]
null
null
null
RprLoadStore/RprLoadStore.cpp
NeoSpark314/RadeonProRender-Baikal
5895f7ef4bd62e41b36d4577433787387aa5c255
[ "MIT" ]
1
2020-04-01T07:42:01.000Z
2020-04-01T07:42:01.000Z
#include "RprLoadStore.h" #include "Rpr/RadeonProRender.h" #include <fstream> #include <cstring> #include "frs6.h" #include "frs7.h" #include "rps8.h" std::map<std::string, int> g_extraCustomParam_int; std::map<std::string, float> g_extraCustomParam_float; std::vector<RPS_OBJECT_DECLARED> g_listLoadedObjects; i...
23.909091
133
0.713424
NeoSpark314
25fabf5d41562cf7dbf4462ecc8e6a55892f3466
645
hpp
C++
engine/maps/tiles/features/include/AltarManipulator.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/maps/tiles/features/include/AltarManipulator.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/maps/tiles/features/include/AltarManipulator.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#pragma once #include "FeatureManipulator.hpp" // Interface that defines a common handle() method for all altars. class AltarManipulator : public FeatureManipulator { public: AltarManipulator(FeaturePtr feature); bool handle(TilePtr tile, CreaturePtr creature) override; bool drop(CreaturePtr dropping_cr...
33.947368
140
0.782946
prolog
25fbcba9d7bdde82364f8160007bd52916a833a9
351
cpp
C++
SourceFile/GoodActivity.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
1
2021-01-13T06:33:02.000Z
2021-01-13T06:33:02.000Z
SourceFile/GoodActivity.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
null
null
null
SourceFile/GoodActivity.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
4
2020-12-18T06:30:12.000Z
2021-01-03T19:04:05.000Z
#include "../HeaderFile/GoodActivity.h" GoodActivity::GoodActivity(int input_id, std::string input_category, std::string input_name, int input_price, int input_quantity, time_t input_t) : GoodInventory(input_id, input_category, input_name, input_price, input_quantity) { time = input_t; } time_t GoodActivity::getT...
31.909091
145
0.774929
hsu0602
d306894e37458d6257d241f9d8c8a9a0eed280a7
55,606
cpp
C++
Lib/FONT.cpp
amos42/TinyHan
14ebff07d86d76700c4e8b8ffba9a21651b9a73f
[ "MIT" ]
null
null
null
Lib/FONT.cpp
amos42/TinyHan
14ebff07d86d76700c4e8b8ffba9a21651b9a73f
[ "MIT" ]
null
null
null
Lib/FONT.cpp
amos42/TinyHan
14ebff07d86d76700c4e8b8ffba9a21651b9a73f
[ "MIT" ]
null
null
null
/** * 도꺠비 8x4x4 조합형 폰트 */ #include "FONT.h" #include <stdlib.h> #include <string.h> /** > 한글 구조 초성 글자 : ㄱ ㄴ ㄷ ㄹ ㅁ ㅂ ㅅ ㅇ ㅈ ㅊ ㅋ ㅌ ㅍ ㅎ ㄲ ㄸ ㅃ ㅆ ㅉ (19개) 중성 글자 : ㅏ ㅑ ㅓ ㅕ ㅗ ㅛ ㅜ ㅠ ㅡ ㅣ ㅐ ㅒ ㅔ ㅖ ㅘ ㅙ ㅚ ㅝ ㅞ ㅟ ㅢ (21개) 받침 글자 : (없음) ㄱ ㄲ ㄳ ㄴ ㄵ ㄶ ㄷ ㄹ ㄺ ㄻ ㄼ ㄽ ㄾ ㄿ ㅀ ㅁ ㅂ ㅄ ㅅ ㅆ ㅇ ㅈ ㅊ ㅋ ㅌ ㅍ ㅎ (1 + 27개) > 조합형 한글 폰트 (8x4x4) 구성 초성 : 총 8벌 ...
82.014749
118
0.758821
amos42
d308b1e9c2027fae319d7c50e86c4bb14bb858b0
13,794
cpp
C++
redist/deps/mcm/Archive.cpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
443
2018-01-30T13:36:46.000Z
2022-03-30T18:26:26.000Z
redist/deps/mcm/Archive.cpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
3
2019-04-18T08:15:34.000Z
2022-02-13T00:33:07.000Z
redist/deps/mcm/Archive.cpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
58
2018-01-20T12:57:10.000Z
2022-03-22T22:10:02.000Z
/* MCM file compressor Copyright (C) 2014, Google Inc. Authors: Mathieu Chartier LICENSE This file is part of the MCM file compressor. MCM 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, eit...
30.790179
150
0.695592
VIGGEEN
d315a1af24b7976fda4218119a134d3677ab4274
1,678
inl
C++
include/Vorb/graphics/ImageIOConv.inl
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
65
2018-06-03T23:09:46.000Z
2021-07-22T22:03:34.000Z
include/Vorb/graphics/ImageIOConv.inl
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
8
2018-06-20T17:21:30.000Z
2020-06-30T01:06:26.000Z
include/Vorb/graphics/ImageIOConv.inl
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
34
2018-06-04T03:40:52.000Z
2022-02-15T07:02:05.000Z
#ifndef VORB_USING_PCH #include "Vorb/compat.h" #endif // !VORB_USING_PCH namespace vorb { namespace graphics { namespace impl { #if defined(VORB_OS_WINDOWS) #define R_OFFSET 2 #define G_OFFSET 1 #define B_OFFSET 0 #define A_OFFSET 3 #else #define R_OFFSET 0 #define G_OFFSET 1 #define B_OFFSET 2 #define A...
27.064516
74
0.482122
ChillstepCoder
d315d7de42a3ecb2bb568d2e9b71edbe93212723
2,672
cpp
C++
osquery/core/tables.cpp
maclennann/osquery
2cef8d6f9fa7f7ffa0daf1610d71c0061eb12e31
[ "BSD-3-Clause" ]
null
null
null
osquery/core/tables.cpp
maclennann/osquery
2cef8d6f9fa7f7ffa0daf1610d71c0061eb12e31
[ "BSD-3-Clause" ]
null
null
null
osquery/core/tables.cpp
maclennann/osquery
2cef8d6f9fa7f7ffa0daf1610d71c0061eb12e31
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include <...
31.435294
80
0.675524
maclennann
d31b17e1afd0c547a9646bb4ddfd060862ad1f00
575
hpp
C++
test/CompilationTests/ConstructorTests/AuxiliaryClasses/Then/Copy/CopyExecuteVoidResolveVoidRejectT.hpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
2
2018-10-15T18:27:50.000Z
2019-04-16T18:34:59.000Z
test/CompilationTests/ConstructorTests/AuxiliaryClasses/Then/Copy/CopyExecuteVoidResolveVoidRejectT.hpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
null
null
null
test/CompilationTests/ConstructorTests/AuxiliaryClasses/Then/Copy/CopyExecuteVoidResolveVoidRejectT.hpp
rocky01/promise
638415a117207a4cae9181e04114e1d7575a9689
[ "MIT" ]
null
null
null
#ifndef _AUXILIARYCLASSES_THEN_COPYEXECUTEVOIDRESOLVEVOIDREJECTT_HPP_ #define _AUXILIARYCLASSES_THEN_COPYEXECUTEVOIDRESOLVEVOIDREJECTT_HPP_ #include "Promise.hpp" class CopyExecuteVoidResolveVoidRejectT { public: explicit CopyExecuteVoidResolveVoidRejectT(bool isResolved) : isResolved_(isResolved) {} ...
25
78
0.77913
rocky01
d31dd25ed88c8cb4050399ffaa0f0156fdc0847b
1,659
cpp
C++
src/modules/lib/RpcRunnerThreads.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/RpcRunnerThreads.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/lib/RpcRunnerThreads.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
#include "RpcRunnerThreads.h" RpcRunnerThreads::RpcRunnerThreads(RuntimeInformationType *rit) { this->rit = rit; } void RpcRunnerThreads::Add(RpcRunnerThread *runnerThread) { runnerThreads.Add(runnerThread); } void RpcRunnerThreads::Remove(const bool removePointer) { runnerThreads.Clear(removePointer); } void Rp...
23.7
88
0.751055
Thorsten-Geppert
d31df9f71f9464a80ba2a8fdc9dbea9b007d0f92
5,113
hpp
C++
clicache/src/CacheableFileName.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
clicache/src/CacheableFileName.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
clicache/src/CacheableFileName.hpp
mcmellawatt/geode-native
53315985c4386e6781473c5713d638c8139e3e8e
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
29.385057
77
0.584979
mcmellawatt
d31fbe73138fa8fa6c63b141563a3b5e071f219e
1,413
cc
C++
src/Transrate.cc
ysuttep/Bitusk
90dfba8b04764c760c5ad70493732479fcb2de38
[ "Apache-2.0" ]
null
null
null
src/Transrate.cc
ysuttep/Bitusk
90dfba8b04764c760c5ad70493732479fcb2de38
[ "Apache-2.0" ]
null
null
null
src/Transrate.cc
ysuttep/Bitusk
90dfba8b04764c760c5ad70493732479fcb2de38
[ "Apache-2.0" ]
null
null
null
/* ============================================= * @brief : Bt downloader logger * @copyright: Copyright 2021 iusyu * @license : Apache * @birth : 2021-05-01 23:48 * @author : sunyi * @version : 0.1.0 * @revisions: 2021-05-22 ============================================== */ #pragma once #include <string>...
16.430233
97
0.648974
ysuttep
d32051198d7c1f5c4d41f66158d7438605a0ab0c
6,265
cpp
C++
Game/src/game/ElectricityComponent.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
5
2016-11-13T08:13:57.000Z
2019-03-31T10:22:38.000Z
Game/src/game/ElectricityComponent.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
null
null
null
Game/src/game/ElectricityComponent.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
1
2016-12-23T11:25:35.000Z
2016-12-23T11:25:35.000Z
/* Amine Rehioui Created: April 16th 2014 */ #include "Game.h" #include "ElectricityComponent.h" #include "MaterialProvider.h" #include "Pathway.h" #include "Basis3.h" namespace shoot { DEFINE_OBJECT(ElectricityComponent); //! constructor ElectricityComponent::ElectricityComponent() : m_bActive(false) // ...
31.80203
131
0.719393
franticsoftware
d3213b1ed5cf6ef830e44444e4fd8adfc0157573
2,484
cpp
C++
R3D/src/R3D/Utils/Debugger.cpp
physteo/R3D
4680537c95284538c454f830a70c9d9ab64e6f61
[ "MIT" ]
null
null
null
R3D/src/R3D/Utils/Debugger.cpp
physteo/R3D
4680537c95284538c454f830a70c9d9ab64e6f61
[ "MIT" ]
null
null
null
R3D/src/R3D/Utils/Debugger.cpp
physteo/R3D
4680537c95284538c454f830a70c9d9ab64e6f61
[ "MIT" ]
null
null
null
#include <R3Dpch.h> #include "Debugger.h" #include <R3D/Ecs/EntityManager.h> #include <R3D/Ecs/ArchetypeManager.h> #include <R3D/Ecs/TransformComponent.h> #include <R3D/Graphics/Components/BasicGraphicsComponents.h> #include <R3D/Physics/Core/Contact.h> namespace r3d { void Debugger::setAm(ArchetypeManager* am) { ...
32.684211
113
0.675121
physteo
d322cdc775a398021805dd5424da7337670398f2
199
cpp
C++
VulkanGameEngine/src/Graphics/Vertex.cpp
Torquelus/VulkanEngine
822c12e15e010f852eb0f7a0fa1ac4f5ec23d3e1
[ "Apache-2.0" ]
null
null
null
VulkanGameEngine/src/Graphics/Vertex.cpp
Torquelus/VulkanEngine
822c12e15e010f852eb0f7a0fa1ac4f5ec23d3e1
[ "Apache-2.0" ]
null
null
null
VulkanGameEngine/src/Graphics/Vertex.cpp
Torquelus/VulkanEngine
822c12e15e010f852eb0f7a0fa1ac4f5ec23d3e1
[ "Apache-2.0" ]
null
null
null
#include "Vertex.h" // Constructor Vertex::Vertex(glm::vec3 position, glm::vec3 colour, glm::vec2 uv) : m_Position(position), m_Colour(colour), m_UV(uv) { } // Destructor Vertex::~Vertex() { }
14.214286
66
0.673367
Torquelus
d3255bbbe9ded8b394a0e428bf755b003050b49d
444
cpp
C++
LeetCode/ThousandOne/0201-bitwise_and_range.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0201-bitwise_and_range.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0201-bitwise_and_range.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 201. 数字范围按位与 给定范围 [m, n],其中 0 <= m <= n <= 2147483647,返回此范围内所有数字的按位与(包含 m, n 两端点)。 示例 1: 输入: [5,7] 输出: 4 示例 2: 输入: [0,1] 输出: 0 */ int rangeBitwiseAnd(int m, int n) { int r = 0, s = 1 << 30; while (s && ((s & m) == (s & n))) { r |= (s & m); s >>= 1; } return r; } int main() { ...
13.454545
69
0.529279
Ginkgo-Biloba
d32649eaf4dfe1e3ba05fce70654fce959bddfbc
653
hpp
C++
test/module/irohad/multi_sig_transactions/mock_mst_transport_notification.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/module/irohad/multi_sig_transactions/mock_mst_transport_notification.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/module/irohad/multi_sig_transactions/mock_mst_transport_notification.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_MOCK_MST_TRANSPORT_NOTIFICATION_HPP #define IROHA_MOCK_MST_TRANSPORT_NOTIFICATION_HPP #include <gmock/gmock.h> #include "network/mst_transport.hpp" namespace iroha { /** * Transport notification mo...
25.115385
77
0.716692
Insafin
d32ce6cda48c31317c930af0620d5e26b69ac5a3
5,340
cpp
C++
src/common/Quaternion.cpp
steptosky/XplnObj
06fb98aa325b49da68739d5409945d058f8e46cc
[ "BSD-3-Clause" ]
1
2022-03-09T12:00:30.000Z
2022-03-09T12:00:30.000Z
src/common/Quaternion.cpp
steptosky/XplnObj
06fb98aa325b49da68739d5409945d058f8e46cc
[ "BSD-3-Clause" ]
1
2017-07-08T11:47:37.000Z
2017-07-16T05:12:41.000Z
src/common/Quaternion.cpp
steptosky/XplnObj
06fb98aa325b49da68739d5409945d058f8e46cc
[ "BSD-3-Clause" ]
null
null
null
/* ** Copyright(C) 2017, StepToSky ** ** 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 conditions and the following di...
37.605634
100
0.408427
steptosky
d32d2af0d9bc6ffa3130e094976c1c98ce2de849
2,319
cpp
C++
potato/libruntime/tests/test_filesystem.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
38
2019-05-25T17:32:26.000Z
2022-02-27T22:25:05.000Z
potato/libruntime/tests/test_filesystem.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
35
2019-05-26T17:52:39.000Z
2022-02-12T19:54:14.000Z
potato/libruntime/tests/test_filesystem.cpp
seanmiddleditch/grimm
9f47fc5d7aa0af19a3a7c82a38b7f7c59b83fbf5
[ "MIT" ]
2
2019-06-09T16:06:27.000Z
2019-08-16T14:17:20.000Z
// Copyright by Potato Engine contributors. See accompanying License.txt for copyright details. #include "potato/runtime/filesystem.h" #include "potato/runtime/stream.h" #include "potato/spud/string.h" #include "potato/spud/vector.h" #include <catch2/catch.hpp> #include <algorithm> #include <iostream> #include <strin...
29.35443
110
0.609314
seanmiddleditch
d32dd57430688e2d99b11bd467538b5dd04fcc36
1,415
cpp
C++
atcoder/abc104/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc104/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc104/D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; ll MOD = 1e9+7; ll solve(string const& S) { const int N = S.size(); vector<vector<ll>> DP(N, vector<ll>(4, 0)); DP[0][0] = S[0] == '?' ? 3 : 1; DP[0][1] = (S[0] == 'A' || S[0] == '?') ? 1 : 0; DP[0][2] = DP[0][3] = 0; for (i...
27.211538
59
0.35265
xirc
d330ca7a0eebbf0392e4b9e52c26826c0142b332
630
hpp
C++
ConStorm/include/cons/menus/loop.hpp
drake200120xx/ConStorm
bfc47b6424154e8258d375d0a5eaff687d0cad27
[ "Apache-2.0" ]
null
null
null
ConStorm/include/cons/menus/loop.hpp
drake200120xx/ConStorm
bfc47b6424154e8258d375d0a5eaff687d0cad27
[ "Apache-2.0" ]
null
null
null
ConStorm/include/cons/menus/loop.hpp
drake200120xx/ConStorm
bfc47b6424154e8258d375d0a5eaff687d0cad27
[ "Apache-2.0" ]
null
null
null
/* Code by Drake Johnson Contains the main loop for the menu system. */ #ifndef CONS_MENU_LOOP_HEADER__ #define CONS_MENU_LOOP_HEADER__ #ifdef _MSC_VER # pragma once #endif // !_MSC_VER #include "interface.hpp" namespace cons { /** The main application loop for a menu-based application. All menus should, in mos...
25.2
78
0.75873
drake200120xx
d337c23d853d24f50fcd1d9bf3dc31c2b7819ced
3,770
cpp
C++
ewsitemhandler.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
122
2016-03-01T12:53:43.000Z
2021-11-06T21:14:21.000Z
ewsitemhandler.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
54
2016-05-02T10:05:47.000Z
2022-02-01T18:10:38.000Z
ewsitemhandler.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
17
2016-05-18T21:02:08.000Z
2022-01-27T20:33:26.000Z
/* This file is part of Akonadi EWS Resource Copyright (C) 2015-2016 Krzysztof Nowicki <krissn@op.pl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of ...
29.920635
101
0.689655
KrissN
d33e1730a3c9389049c189b6957611dea467d391
1,294
hpp
C++
sources/Component/IntroAnimation/IntroAnimationComponent.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
6
2021-05-27T13:31:37.000Z
2021-11-21T17:35:08.000Z
sources/Component/IntroAnimation/IntroAnimationComponent.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
174
2021-05-12T14:10:04.000Z
2021-06-26T11:29:39.000Z
sources/Component/IntroAnimation/IntroAnimationComponent.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
2
2021-05-27T13:28:46.000Z
2021-06-21T12:25:27.000Z
#pragma once #include <Component/Component.hpp> namespace BBM { //! @brief A component to slowly center entities to the middle of their current block. //! This allow flexibility in their movement will preventing them from getting stuck at every corner. class IntroAnimationComponent : public WAL::Component ...
31.560976
109
0.713292
EternalRat
d33fd5d5c4aca908df32cdf80b5de197e4a0e1b3
4,179
cpp
C++
OGDF/src/ogdf/planarity/MMCrossingMinimizationModule.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
13
2017-12-21T03:35:41.000Z
2022-01-31T13:45:25.000Z
OGDF/src/ogdf/planarity/MMCrossingMinimizationModule.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
7
2017-09-13T01:31:24.000Z
2021-12-14T00:31:50.000Z
OGDF/src/ogdf/planarity/MMCrossingMinimizationModule.cpp
shahnidhi/MetaCarvel
f3bea5fdbbecec4c9becc6bbdc9585a939eb5481
[ "MIT" ]
15
2017-09-07T18:28:55.000Z
2022-01-18T14:17:43.000Z
/** \file * \brief Implements class MMCrossingMinimizationModule. * * \author Carsten Gutwenger * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.txt in the root directory of the OGDF installation for details. * * \par * This program...
22.589189
77
0.639627
shahnidhi
d34201523a0202743ecec55ca4bf68bbf89720a6
5,447
cpp
C++
out/src/tink/core/OptionIter.cpp
sonygod/pb
a1bdc04c74bd91c71e96feb9f673075e780cbc81
[ "MIT" ]
null
null
null
out/src/tink/core/OptionIter.cpp
sonygod/pb
a1bdc04c74bd91c71e96feb9f673075e780cbc81
[ "MIT" ]
1
2020-05-17T04:37:32.000Z
2020-05-17T04:37:32.000Z
out/src/tink/core/OptionIter.cpp
sonygod/pb
a1bdc04c74bd91c71e96feb9f673075e780cbc81
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.0-rc.1+0545ce110 #include <hxcpp.h> #ifndef INCLUDED_haxe_ds_Option #include <haxe/ds/Option.h> #endif #ifndef INCLUDED_tink_core_OptionIter #include <tink/core/OptionIter.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_01c8234f2863edf8_99_new,"tink.core.OptionIter","new",0x49371372,"tink.core.Option...
32.230769
170
0.729209
sonygod
d3465b204b7b8c4aeef098f6bea6c47391747ccf
23,029
hpp
C++
lumino/LuminoEngine/include/LuminoEngine/UI/UIStyle.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/LuminoEngine/include/LuminoEngine/UI/UIStyle.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/include/LuminoEngine/UI/UIStyle.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
#pragma once #include <LuminoGraphics/Animation/Common.hpp> #include "UIElement.hpp" #include "UIStyleAnimation.hpp" namespace ln { class Shader; class Texture; class UIStyleContext; class UIStyleClass; class UITheme; namespace detail { class UIStyleInstance; class UIStyleClassInstance; enum class UIStyleAttributeVa...
34.423019
226
0.705502
lriki
d349fc3a45d78473676e77e3c9e27bb92b627321
10,271
cc
C++
LIMoSim/map/way.cc
inet-framework/LIMoSim
d9bdcefe82d41d4c8fd665a268843763fce59363
[ "MIT" ]
7
2017-07-17T07:13:03.000Z
2021-10-12T08:39:17.000Z
LIMoSim/map/way.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
1
2018-03-08T10:28:01.000Z
2018-03-08T10:28:01.000Z
LIMoSim/map/way.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
7
2017-09-13T09:05:20.000Z
2022-01-04T17:20:20.000Z
#include "way.h" namespace LIMoSim { Way::Way(const std::string &_id, int _type, const std::string &_name) : MapObject(_id, _type, _name), m_lanes(2), m_forwardLanes(1), m_bidirectionalLanes(0), m_backwardLanes(1), m_isOneway(0), m_maxSpeed_mps(50/3.6) { if(m_name=="") { s...
20.500998
100
0.577548
inet-framework
d35195b1a9566c45e03482f0d92babefb123bc1d
51,805
cc
C++
arcane/src/arcane/std/VtkMeshIOService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/VtkMeshIOService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/VtkMeshIOService.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
35.169722
127
0.577435
JeromeDuboisPro
d353c5d1e36feaa14266763653c4ab9daf8fafc3
1,731
cpp
C++
lib/node_add_on/win/wrap/meeting_service_components_wrap/meeting_waiting_room_wrap.cpp
pramesywaraj/zoom-react-electron-implementation
94583834fe47dd29309114733c904ddcafdf928e
[ "MIT" ]
null
null
null
lib/node_add_on/win/wrap/meeting_service_components_wrap/meeting_waiting_room_wrap.cpp
pramesywaraj/zoom-react-electron-implementation
94583834fe47dd29309114733c904ddcafdf928e
[ "MIT" ]
null
null
null
lib/node_add_on/win/wrap/meeting_service_components_wrap/meeting_waiting_room_wrap.cpp
pramesywaraj/zoom-react-electron-implementation
94583834fe47dd29309114733c904ddcafdf928e
[ "MIT" ]
null
null
null
#include "meeting_waiting_room_wrap.h" #include "meeting_service_wrap.h" BEGIN_ZOOM_SDK_NAMESPACE IMeetingWaitingRoomController* InitIMeetingWaitingRoomControllerFunc(IMeetingWaitingRoomEvent* pEvent, IMeetingServiceWrap* pOwner) { if (pOwner && pOwner->GetSDKObj()) { ZOOM_SDK_NAMESPACE::IMeetingWaitingRoomControll...
41.214286
131
0.82149
pramesywaraj
d35559b70eacefd3bf13015e8887a947a9fd420b
592
cpp
C++
ACM/NOIP/2016Camp/8.22/optimal/optimal (without big_num).cpp
lyh543/Some-Codes
2b295338f802e71c6b613350f1b6e8299856780f
[ "MIT" ]
3
2020-06-05T08:29:16.000Z
2021-12-09T05:44:54.000Z
ACM/NOIP/2016Camp/8.22/optimal/optimal (without big_num).cpp
lyh543/Some-Codes
6648d57be5cc9642d623563b35780446ed986edc
[ "MIT" ]
null
null
null
ACM/NOIP/2016Camp/8.22/optimal/optimal (without big_num).cpp
lyh543/Some-Codes
6648d57be5cc9642d623563b35780446ed986edc
[ "MIT" ]
1
2020-09-15T14:50:31.000Z
2020-09-15T14:50:31.000Z
#include<iostream> #include<queue> using namespace std; struct BIG_NUM{ long long v; }; int operator < (const BIG_NUM& a, const BIG_NUM& b) { return a.v > b.v; } BIG_NUM combine(BIG_NUM a, BIG_NUM b) { BIG_NUM x; x.v = a.v*b.v+1; return x; } int main() { int n; BIG_NUM a,b,t; t.v...
13.767442
52
0.540541
lyh543
d3563454713621f33041a2b7d47989723c017ac2
2,423
cpp
C++
src/ywcipher.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
2
2021-06-21T21:42:30.000Z
2021-06-21T21:42:33.000Z
src/ywcipher.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
null
null
null
src/ywcipher.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
4
2019-11-07T04:23:58.000Z
2021-08-29T01:17:21.000Z
#include "ywcipher.h" const qint32 YWCipher::oddPrimes[] = { 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257,...
40.383333
99
0.555922
YureiResearchInstitute
d3565449d64f9f41a2b0745160c8641f4ec2e71d
6,983
cpp
C++
test/server/dialog.cpp
Fsu0413/testspeak
4f674b1b1df5c28f037aa09243fec1554cdaed4b
[ "Unlicense" ]
null
null
null
test/server/dialog.cpp
Fsu0413/testspeak
4f674b1b1df5c28f037aa09243fec1554cdaed4b
[ "Unlicense" ]
null
null
null
test/server/dialog.cpp
Fsu0413/testspeak
4f674b1b1df5c28f037aa09243fec1554cdaed4b
[ "Unlicense" ]
null
null
null
#include "dialog.h" #include <QDebug> #include <QFile> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QJsonValue> #include <QListWidget> #include <QNetworkAccessManager> #include <QNetworkReply> #include <QNetworkRequest> #include <QTcpServer> #include <QTimer> #include <QVBoxLayout> #...
24.850534
95
0.564514
Fsu0413
d3612aa1a3bdd1e9dc4e3ed350ac054d1121f225
4,100
cpp
C++
src/string_utils.cpp
staticlibs/staticlib_utils
719eee6305174692043040a8f78bae65559f7556
[ "Apache-2.0" ]
1
2017-10-18T13:43:09.000Z
2017-10-18T13:43:09.000Z
src/string_utils.cpp
staticlibs/staticlib_utils
719eee6305174692043040a8f78bae65559f7556
[ "Apache-2.0" ]
1
2018-01-25T12:32:11.000Z
2018-01-25T12:32:11.000Z
src/string_utils.cpp
staticlibs/staticlib_utils
719eee6305174692043040a8f78bae65559f7556
[ "Apache-2.0" ]
1
2018-01-24T13:22:28.000Z
2018-01-24T13:22:28.000Z
/* * Copyright 2015, alex at staticlibs.net * * 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 ag...
29.285714
118
0.622927
staticlibs
d361deebb87539b37ac2d0e9cfb5a3050092299b
83
cpp
C++
Source/GridSystem/Private/TBSGridSystemStatics.cpp
saberuster/TurnBaseStrategyToolkit
a82d184151765f84fa3d680cc6c6d6a91d84d307
[ "MIT" ]
null
null
null
Source/GridSystem/Private/TBSGridSystemStatics.cpp
saberuster/TurnBaseStrategyToolkit
a82d184151765f84fa3d680cc6c6d6a91d84d307
[ "MIT" ]
null
null
null
Source/GridSystem/Private/TBSGridSystemStatics.cpp
saberuster/TurnBaseStrategyToolkit
a82d184151765f84fa3d680cc6c6d6a91d84d307
[ "MIT" ]
null
null
null
// Copyright saberuster. All Rights Reserved. #include "TBSGridSystemStatics.h"
13.833333
45
0.771084
saberuster
d368a120f7f9d42b7d16980021b1f35686d3f865
1,043
hpp
C++
src/ast/VoidType.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
1
2019-06-17T07:16:01.000Z
2019-06-17T07:16:01.000Z
src/ast/VoidType.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
src/ast/VoidType.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
/* * soyac - Soya Programming Language compiler * Copyright (c) 2009 Denis Washington <dwashington@gmx.net> * * This file is distributed under the terms of the MIT license. * See LICENSE.txt for details. */ #ifndef _VOID_TYPE_HPP #define _VOID_TYPE_HPP #include "BuiltInType.hpp" /** * The "void" type. This is...
17.677966
74
0.630872
denisw
d36a2bff0dd253300ae6399323459e4ce95856da
5,688
hpp
C++
include/rmm/mr/device/cuda_async_view_memory_resource.hpp
kaatish/rmm
573351d9d0f79cf80e202ed515a0827678043c96
[ "Apache-2.0" ]
null
null
null
include/rmm/mr/device/cuda_async_view_memory_resource.hpp
kaatish/rmm
573351d9d0f79cf80e202ed515a0827678043c96
[ "Apache-2.0" ]
null
null
null
include/rmm/mr/device/cuda_async_view_memory_resource.hpp
kaatish/rmm
573351d9d0f79cf80e202ed515a0827678043c96
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * 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 ...
31.955056
100
0.719058
kaatish
d36d7e4c4590e0f0636ac7db6757ca5154bdab93
1,078
cpp
C++
999_Practice_Set_2/Day_010/068_sorcerer_sequence.cpp
Binamra7/Data-Structure-and-Algorithms
1232fdeba041c678b4c651f6a702d50b344ed4cc
[ "MIT" ]
126
2019-12-22T17:49:08.000Z
2021-12-14T18:45:51.000Z
999_Practice_Set_2/Day_010/068_sorcerer_sequence.cpp
Divyanshi-03/Data-Structure-and-Algorithms
21b02dd312105411621242731106411defbd6ddb
[ "MIT" ]
7
2019-12-25T18:03:41.000Z
2021-02-20T06:25:27.000Z
999_Practice_Set_2/Day_010/068_sorcerer_sequence.cpp
Divyanshi-03/Data-Structure-and-Algorithms
21b02dd312105411621242731106411defbd6ddb
[ "MIT" ]
54
2019-12-26T06:28:39.000Z
2022-02-01T05:04:43.000Z
// Sorcerer Sequence is a series of integer numbers in which the first term starts with a positive // integer and the remaining terms are generated from the immediate previous term using the below // recurrence relation : // // a-k+1 = (a)^1/2-k for even a-k // a-k+1 = (a)^3/2-k for odd a-k // // Given a number N ...
21.137255
99
0.584416
Binamra7
d36f3b8347591db15bdfd2cb1bd281509e34e272
599
hpp
C++
include/ECWME.hpp
niniemann/sempr
2f3b04c031d70b9675ad441f97728a8fb839abed
[ "BSD-3-Clause" ]
8
2018-03-28T19:45:47.000Z
2022-03-23T16:53:24.000Z
include/ECWME.hpp
niniemann/sempr
2f3b04c031d70b9675ad441f97728a8fb839abed
[ "BSD-3-Clause" ]
58
2018-01-31T11:10:04.000Z
2021-08-13T11:48:31.000Z
include/ECWME.hpp
niniemann/sempr
2f3b04c031d70b9675ad441f97728a8fb839abed
[ "BSD-3-Clause" ]
1
2018-07-04T12:30:06.000Z
2018-07-04T12:30:06.000Z
#ifndef SEMPR_CORE_ECTWME_HPP_ #define SEMPR_CORE_ECTWME_HPP_ #include <rete-core/TupleWME.hpp> #include "Entity.hpp" #include "Component.hpp" #include <string> namespace sempr { /** The ECWME is the *only* SEMPR-specific WME that is added to the reasoner. It is a simple wrapper that combines an entity wit...
23.038462
79
0.747913
niniemann
d37572e95f98a4b2cd28884cd608d40c2918a241
1,014
cpp
C++
200.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
4
2016-02-28T17:09:14.000Z
2017-04-15T15:56:08.000Z
200.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
null
null
null
200.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
null
null
null
/* * Written by Nitin Kumar Maharana * nitin.maharana@gmail.com */ class Solution { void destroyIsland(vector<vector<char>>& grid, int i, int j) { grid[i][j] = '0'; if(i-1 >= 0 && grid[i-1][j] == '1') destroyIsland(grid, i-1, j); if(i+1 < grid.size() && ...
24.731707
64
0.386588
nitin-maharana
c962e775eb3f24a0afd2c1a7fd830f681cd570cd
632
cpp
C++
src/test/distribution_test.cpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
3
2019-04-21T07:23:03.000Z
2019-12-04T02:10:04.000Z
src/test/distribution_test.cpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
null
null
null
src/test/distribution_test.cpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
null
null
null
#include "test/catch.hpp" #include "util/distribution.hpp" #include <cstdint> constexpr std::size_t SIZE = 1 << 16; TEST_CASE( "distribution" ) { using T = uint64_t; T *data = reinterpret_cast<T*>(malloc(SIZE * sizeof(T))); SECTION( "sparse" ) { create_uniform_sparse(data, SIZE, T(-1)); } ...
21.793103
61
0.561709
BigDataAnalyticsGroup
c96c82dc4ef1705ca8a98a795feae3865d2e6e33
397
hpp
C++
dll.hpp
5cript/remote-build
a954a9cc1fd5d4356fdc1c2ba7ad6d5344be03a8
[ "MIT" ]
null
null
null
dll.hpp
5cript/remote-build
a954a9cc1fd5d4356fdc1c2ba7ad6d5344be03a8
[ "MIT" ]
null
null
null
dll.hpp
5cript/remote-build
a954a9cc1fd5d4356fdc1c2ba7ad6d5344be03a8
[ "MIT" ]
null
null
null
#pragma once #if defined(__WIN32__) || defined(_WIN32) || defined(__CYGWIN32__) # include <windows.h> # ifdef BUILD_DLL # define DLL_EXPORT __declspec(dllexport) # elif defined(DYNAMIC_MARKUP_LIBRARY) # define DLL_EXPORT __declspec(dllimport) # else # define DLL_EXPORT # endif #elif defined(__GNUC__) # define DLL_E...
24.8125
66
0.7733
5cript
c96c8bbcd78eae7c0a612f1d12807be1856fe193
12,949
cpp
C++
sdk/storage/azure-storage-queues/src/queue_client.cpp
JinmingHu-MSFT/azure-sdk-for-cpp
933486385a54a5a09a7444dbd823425f145ad75a
[ "MIT" ]
1
2022-01-19T22:54:41.000Z
2022-01-19T22:54:41.000Z
sdk/storage/azure-storage-queues/src/queue_client.cpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
sdk/storage/azure-storage-queues/src/queue_client.cpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "azure/storage/queues/queue_client.hpp" #include <azure/core/http/policies/policy.hpp> #include <azure/storage/common/crypt.hpp> #include <azure/storage/common/internal/shared_key_policy.hpp> #include <azure/storage/...
41.238854
100
0.732643
JinmingHu-MSFT
c970870192a377e8136eac7c397fa6dbf43c165c
7,918
cpp
C++
Sources/src/Projectile.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
null
null
null
Sources/src/Projectile.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
null
null
null
Sources/src/Projectile.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
33.693617
178
0.676812
Tifox
c97451e9bb34a708fa842143c135eef6b700535e
726
cpp
C++
src/Translator/GenerateModule.cpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
6
2021-07-17T16:02:07.000Z
2022-02-05T16:33:51.000Z
src/Translator/GenerateModule.cpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
1
2021-07-16T07:14:31.000Z
2021-07-16T07:22:10.000Z
src/Translator/GenerateModule.cpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
2
2021-07-16T02:54:27.000Z
2022-03-29T20:51:57.000Z
#include "CreateSymbol.hpp" #include "Input.hpp" #include "Print.hpp" #include "GenerateFunction.hpp" void generateModule(ModuleContext& ctx, BranchContext& branchContext, FormatStringsContext& formatStringsContext) { setupFormatStringsContext(ctx, formatStringsContext); setupPrintf(ctx); setupScanf(ctx);...
34.571429
113
0.763085
RainingComputers
c975e836106fc6ebc36e77fd2162b9d403f4e867
15,076
cpp
C++
src/editor/scene/brush.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/editor/scene/brush.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/editor/scene/brush.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#include "scene/brush.hpp" #include "scene/node_physics.hpp" #include "scene/node_raytrace.hpp" #include "scene/scene_builder.hpp" #include "log.hpp" #include "erhe/geometry/operation/clone.hpp" #include "erhe/physics/icollision_shape.hpp" #include "erhe/physics/irigid_body.hpp" #include "erhe/physics/iworld.hpp" #inc...
34.185941
143
0.610639
tksuoran
c976c2ba89cc1357f776a7fff7cb54ff0813e219
1,408
cpp
C++
hackerrank/data-struct/trie/contacts.cpp
maximg/comp-prog
3d7a3e936becb0bc25b890396fa2950ac072ffb8
[ "MIT" ]
null
null
null
hackerrank/data-struct/trie/contacts.cpp
maximg/comp-prog
3d7a3e936becb0bc25b890396fa2950ac072ffb8
[ "MIT" ]
null
null
null
hackerrank/data-struct/trie/contacts.cpp
maximg/comp-prog
3d7a3e936becb0bc25b890396fa2950ac072ffb8
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/contacts/problem #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; struct node { node *next; node *children; char data; size_t count; }; node *find_child(node *n, char c) { node *cur = n->ch...
20.705882
67
0.514915
maximg
c979e39bdb43afc5298b3662126a1af88eca81b6
8,901
hpp
C++
Box2D/Collision/TimeOfImpact.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
32
2016-10-20T05:55:04.000Z
2021-11-25T16:34:41.000Z
Box2D/Collision/TimeOfImpact.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
50
2017-01-07T21:40:16.000Z
2018-01-31T10:04:05.000Z
Box2D/Collision/TimeOfImpact.hpp
louis-langholtz/Box2D
7c74792bf177cf36640d735de2bba0225bf7f852
[ "Zlib" ]
7
2017-02-09T10:02:02.000Z
2020-07-23T22:49:04.000Z
/* * Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/Box2D * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * ar...
40.643836
110
0.661948
louis-langholtz
c97a152af2f4f6ed822550c5753eb64e4de01276
17,250
cpp
C++
plugins/eoc_relay_plugin/eoc_relay_plugin.cpp
aiguo186/eocs
acc6086ab7b6075bba3271199e773ff0fbbe017e
[ "MIT" ]
24
2018-12-25T03:52:10.000Z
2021-03-22T12:16:27.000Z
plugins/eoc_relay_plugin/eoc_relay_plugin.cpp
aiguo186/eocs
acc6086ab7b6075bba3271199e773ff0fbbe017e
[ "MIT" ]
14
2018-12-13T03:19:09.000Z
2019-05-10T02:17:09.000Z
plugins/eoc_relay_plugin/eoc_relay_plugin.cpp
aiguo186/eocs
acc6086ab7b6075bba3271199e773ff0fbbe017e
[ "MIT" ]
12
2018-12-12T10:37:35.000Z
2019-07-10T08:39:17.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eosio/chain/types.hpp> #include <eosio/chain/controller.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/block.hpp> #include <eosio/net_plugin/protocol.hpp> #include <fc/network/message_buffer.hpp> #include <fc/network/ip.hpp> #incl...
47.783934
317
0.623014
aiguo186
c97d7a7e061c89af86284529fddbef866763716e
2,311
hxx
C++
app/src/main/cpp/emu/emucore/SerialPort.hxx
kiakhoshvaght/Droid2600
997557ec0f0d89bc827aef2b09aeda0319f080cf
[ "Apache-2.0" ]
3
2018-11-21T08:48:53.000Z
2019-08-14T03:59:11.000Z
app/src/main/cpp/emu/emucore/SerialPort.hxx
kiakhoshvaght/Droid2600
997557ec0f0d89bc827aef2b09aeda0319f080cf
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/emu/emucore/SerialPort.hxx
kiakhoshvaght/Droid2600
997557ec0f0d89bc827aef2b09aeda0319f080cf
[ "Apache-2.0" ]
2
2019-03-20T07:00:29.000Z
2019-07-13T07:04:16.000Z
//============================================================================ // // SSSS tt lll lll // SS SS tt ll ll // SS tttttt eeee ll ll aaaa // SSSS tt ee ee ll ll aa // SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula...
29.628205
78
0.58849
kiakhoshvaght
c98754602b2b27fb96860f5ec63063773893558f
284
hpp
C++
src/RStack.hpp
shreifelsaid/Montage
88e3949eca9362791d7b0ec3f8aa7bafce6ea369
[ "MIT" ]
null
null
null
src/RStack.hpp
shreifelsaid/Montage
88e3949eca9362791d7b0ec3f8aa7bafce6ea369
[ "MIT" ]
1
2020-11-16T02:57:28.000Z
2020-11-16T02:57:28.000Z
src/RStack.hpp
roghnin/Montage
40dbd6bb5a506545f01931336bf37b24cdb72a64
[ "MIT" ]
null
null
null
#ifndef RSTACK_HPP #define RSTACK_HPP #include "Rideable.hpp" #include "optional.hpp" template <class V> class RStack : public virtual Rideable{ public: virtual optional<V> pop(int tid)=0; virtual void push(V val, int tid)=0; virtual bool is_empty()=0; }; #endif
15.777778
58
0.693662
shreifelsaid
c98880f35a0c6faa54e2d7905fc05750eccba399
4,102
cpp
C++
homework/Kuznetsov/06/Calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Kuznetsov/06/Calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Kuznetsov/06/Calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include <iostream> #include <string> #include <exception> #include <sstream> template<class T>class Calculator{ private: T calculateStr(const std::string& str) const{ for(size_t i = str.length(); i> 0; i--){ if(str[i] == '+') return multiple(str.substr(i+1)) + calculateStr(str...
34.183333
115
0.485861
nkotelevskii
c98a1f1592c365ccd0108999f873a47fefa6f257
392
hpp
C++
main/status.hpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
null
null
null
main/status.hpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
4
2020-04-13T09:09:34.000Z
2021-08-31T16:47:29.000Z
main/status.hpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
null
null
null
#ifndef MAIN_STATUS_H_ #define MAIN_STATUS_H_ #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include <math.h> #include "main.hpp" void report(); void set_ws_result(int result); void set_can_result(int result); void set_can_init_result(int result); void set_ws_init_result(int result); ...
20.631579
44
0.780612
ivyknob
c98c83ea1c0c14332fdab5f8207fca41a2d432dc
1,143
cpp
C++
android-31/android/view/animation/DecelerateInterpolator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/view/animation/DecelerateInterpolator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/view/animation/DecelerateInterpolator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../content/Context.hpp" #include "./DecelerateInterpolator.hpp" namespace android::view::animation { // Fields // QJniObject forward DecelerateInterpolator::DecelerateInterpolator(QJniObject obj) : android::view::animation::BaseInterpolator(obj) {} // Constructors DecelerateInterpolator::Decelera...
27.214286
116
0.735783
YJBeetle
c98ddc1164a8354a5dc60d495d2a14c223ba3a29
8,720
cpp
C++
src/FormatConvert.cpp
sarikoudis/PRLib
d0d67e0874d1f447fe27fc024073115be01862e6
[ "MIT" ]
69
2019-05-24T14:38:39.000Z
2022-03-29T22:21:18.000Z
src/FormatConvert.cpp
sarikoudis/PRLib
d0d67e0874d1f447fe27fc024073115be01862e6
[ "MIT" ]
null
null
null
src/FormatConvert.cpp
sarikoudis/PRLib
d0d67e0874d1f447fe27fc024073115be01862e6
[ "MIT" ]
15
2019-07-27T09:18:03.000Z
2021-12-23T17:09:35.000Z
/* MIT License Copyright (c) 2017 Alexander Zaitsev 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, co...
27.507886
103
0.488532
sarikoudis
c98f0c3e67842408e710a51ae93990a8709c5caa
2,045
cpp
C++
algoritimo c++/class.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
algoritimo c++/class.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
algoritimo c++/class.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
#include <iostream> #include<stdlib.h> using namespace std; class carro{ private: int ano; string marca,modelo; float valor, km; public: // ano void set_ano(int ano); int get_ano(); //modelo void set_modelo(string modelo); string get_modelo(); // marca ...
18.761468
65
0.582885
Lucas-MSF
c997e1f5bb4a47fa1c4c477b43923f310132027b
1,187
cpp
C++
runtime/gen11/enable_family_full_ocl_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
runtime/gen11/enable_family_full_ocl_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
runtime/gen11/enable_family_full_ocl_gen11.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/command_queue/command_queue_hw.h" #include "runtime/command_stream/aub_command_stream_receiver_hw.h" #include "runtime/command_stream/command_stream_receiver_hw.h" #include "runtime/command_stream/tbx_command_st...
29.675
67
0.760741
FelipeMLopez
c99966e4cc384ed823a27c3caae22b4c828dead8
1,731
cpp
C++
codeforces/D - Replace by MEX/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Replace by MEX/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Replace by MEX/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jul/04/2020 21:42 * solution_verdict: Accepted language: GNU C++17 * run...
24.380282
111
0.446563
kzvd4729
c99df4c7a019c33242dcc006998d4283c1f9b391
402
cpp
C++
spoj/2148.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
5
2020-10-01T13:08:35.000Z
2021-02-01T17:51:15.000Z
spoj/2148.cpp
nancyanand2807/algorithm-ds
9f79bd9a37bdf858a512ded44aa33040e8a7b9af
[ "MIT" ]
21
2020-10-01T12:58:05.000Z
2020-10-07T11:58:30.000Z
spoj/2148.cpp
sansyrox/summer_of_cpp
e07acee254e25febe5b11bc1adc743f5aaf57cc8
[ "MIT" ]
23
2020-10-01T12:59:06.000Z
2020-10-15T13:08:34.000Z
#include<iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back int main() { int t; cin>>t; while(t--){ ll n; cin>>n; ll sum=0; for(ll i=0; i<n; i++){ ll t; cin>>t; sum = ((sum%n)+(t%n))%n; }...
17.478261
36
0.472637
nancyanand2807
c9aa3b9ef00176911ac3e9b0613cca4ad0b21c40
23,735
cc
C++
src/tint/writer/glsl/generator_impl_function_test.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
9
2021-11-05T11:08:14.000Z
2022-03-18T05:14:34.000Z
src/tint/writer/glsl/generator_impl_function_test.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
2
2021-12-01T05:08:59.000Z
2022-02-18T08:14:30.000Z
src/tint/writer/glsl/generator_impl_function_test.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
1
2022-02-11T17:39:44.000Z
2022-02-11T17:39:44.000Z
// Copyright 2021 The Tint 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 ...
24.072008
121
0.602107
hexops
c9ac50ab6c607f81067fefb19bef2ba70c247370
1,792
cpp
C++
src/BrainCloudGlobalApp.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
null
null
null
src/BrainCloudGlobalApp.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
20
2018-01-11T22:18:50.000Z
2020-12-09T13:41:22.000Z
src/BrainCloudGlobalApp.cpp
getbraincloud/braincloud-cpp
c7bc42e7bb2cc4d03d25348e1a6ecc77ee54db9e
[ "Apache-2.0" ]
16
2018-01-09T16:01:36.000Z
2022-03-15T00:51:59.000Z
// Copyright 2016 bitHeads, Inc. All Rights Reserved. #include "braincloud/BrainCloudGlobalApp.h" #include "braincloud/BrainCloudClient.h" #include "braincloud/IServerCallback.h" #include "braincloud/ServerCall.h" #include "braincloud/ServiceName.h" #include "braincloud/ServiceOperation.h" #include "braincloud/Operat...
38.956522
133
0.75558
getbraincloud
c9b51ddee7de73d1118593b9a835b77a88d6b998
16,027
cpp
C++
qplacemanagerenginegooglemaps.cpp
mfbernardes/googlemaps
7ce7124b385b2ebac0f72c38b094f436d4fe5c58
[ "MIT" ]
7
2020-06-14T13:24:41.000Z
2022-01-31T13:50:21.000Z
qplacemanagerenginegooglemaps.cpp
mfbernardes/googlemaps
7ce7124b385b2ebac0f72c38b094f436d4fe5c58
[ "MIT" ]
2
2017-08-04T16:52:07.000Z
2018-04-09T16:14:08.000Z
qplacemanagerenginegooglemaps.cpp
mfbernardes/googlemaps
7ce7124b385b2ebac0f72c38b094f436d4fe5c58
[ "MIT" ]
3
2018-10-23T16:19:43.000Z
2020-02-07T14:31:52.000Z
#include "qplacemanagerenginegooglemaps.h" #include "qplacesearchreplygooglemaps.h" #include "qplacecategoriesreplygooglemaps.h" #include "qplacesearchsuggestionreplyimpl.h" #include <QtCore/QUrlQuery> #include <QtCore/QXmlStreamReader> #include <QtCore/QRegularExpression> #include <QtNetwork/QNetworkAccessManager> #i...
37.622066
130
0.666251
mfbernardes
c9b554ab656f8e180b6a188fd36bed5a6825f20a
885
hpp
C++
tests/generator_pow.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_pow.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_pow.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
#ifndef MARTIN_TEST_GENERATOR_POW #define MARTIN_TEST_GENERATOR_POW #include "testing.hpp" #include <generators/pow.hpp> #include "helpers/validatetree.hpp" #include "helpers/tokennode.hpp" #include "helpers/parseerror.hpp" #include "helpers/subtests.hpp" namespace Martin { class Test_generator_pow : public Tes...
28.548387
93
0.616949
Je06jm
c9b582f83880ae98255e502677b62e6a024acd8c
8,864
cpp
C++
dataset/test/modification/1487_all/23/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1487_all/23/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1487_all/23/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include<bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define lld long double #define f(i,s,n) for(ll i=s;i<=n;i++) #define fr(i,n,s) for(ll i=n;i>=s;i--) #define pb push_back #define mp make_pair #define F first #define...
19.062366
85
0.446638
Karina5005
c9ba275d68d1afcb04643711dc68924dc21846b0
568
hpp
C++
FaceLandmarking/feature-extraction/basic-filters.hpp
TomaszRewak/FaceLandmarking
74bc5cbcdb61cd9835e5bfc61e978fad256940f4
[ "MIT" ]
78
2018-02-09T14:30:06.000Z
2020-10-01T08:43:32.000Z
FaceLandmarking/feature-extraction/basic-filters.hpp
YoungerGao/Face-Landmarking
74bc5cbcdb61cd9835e5bfc61e978fad256940f4
[ "MIT" ]
1
2019-03-20T00:16:47.000Z
2019-03-24T09:12:25.000Z
FaceLandmarking/feature-extraction/basic-filters.hpp
YoungerGao/Face-Landmarking
74bc5cbcdb61cd9835e5bfc61e978fad256940f4
[ "MIT" ]
8
2019-03-03T11:57:43.000Z
2021-07-01T09:27:20.000Z
#pragma once #include <opencv2/core.hpp> #include <array> namespace FaceLandmarking::FeatureExtraction { static const std::array<cv::Mat, 5> BasicFilters { cv::Mat{ +1, }, cv::Mat{ +1, 0, -1, +2, 0, -2, +1, 0, -1, }, cv::Mat{ +1, +2, +1, 0, 0, 0, -1, -2, -1, }, cv::Mat{ +1, ...
14.947368
49
0.378521
TomaszRewak
c9be9792cd74929b4311fce4c6e96c2ebebc5638
2,359
hpp
C++
persist/include/persist/utility/checksum.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
null
null
null
persist/include/persist/utility/checksum.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
11
2020-09-30T07:33:10.000Z
2021-05-01T05:59:13.000Z
persist/include/persist/utility/checksum.hpp
ketgo/persist
623a5c32a9a0fd3e43987421aa1f91ab8284d356
[ "MIT" ]
null
null
null
/** * utility/checksum.hpp - Persist * * Copyright 2021 Ketan Goyal * * 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...
31.039474
80
0.721492
ketgo
c9bffb76159d1db64c94ae22e4c9b763ab89a868
149
cpp
C++
uri/1963.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
uri/1963.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
uri/1963.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { double a,b; scanf("%lf%lf",&a,&b); return printf("%.2lf%%\n",(abs(a-b)*100)/a),0; }
14.9
47
0.57047
Shisir
c9c9e46dd4852ec43e3de32f53e2af52cf3e64c1
778
hpp
C++
include/Node.hpp
behluluysal/sau-data-structures-final-2020
963ac44cfbbda8a3af6a8b78823bf8251c84ed54
[ "MIT" ]
1
2020-10-07T17:34:00.000Z
2020-10-07T17:34:00.000Z
include/Node.hpp
behluluysal/sau-data-structures-final-2020
963ac44cfbbda8a3af6a8b78823bf8251c84ed54
[ "MIT" ]
null
null
null
include/Node.hpp
behluluysal/sau-data-structures-final-2020
963ac44cfbbda8a3af6a8b78823bf8251c84ed54
[ "MIT" ]
null
null
null
#ifndef Node_hpp #define Node_hpp #include <iostream> #include "Kisi.hpp" #include "Stack.hpp" using namespace std; class Node { public: Node(); Node(int y, string a, int t, int idd); Kisi *kisi; Stack *stack; Node *left; Node *right; int height; int id; int max(int a, int b); ...
21.027027
69
0.62982
behluluysal
c9cc40e61c14f072888a2c92b6327e2ebe3b91de
5,395
cpp
C++
Core/Code/IO/mitkRawImageFileReader.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
1
2017-03-05T05:29:32.000Z
2017-03-05T05:29:32.000Z
Core/Code/IO/mitkRawImageFileReader.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Core/Code/IO/mitkRawImageFileReader.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
2
2020-10-27T06:51:00.000Z
2020-10-27T06:51:01.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
28.850267
131
0.657646
rfloca
c9d0eb26bee4dedcd6bdcb8081c8ad452e5757e0
2,175
cpp
C++
src/glcxx/Shader.cpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
4
2017-01-24T17:56:02.000Z
2020-01-30T09:28:32.000Z
src/glcxx/Shader.cpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
1
2016-07-10T20:13:44.000Z
2016-07-10T20:13:44.000Z
src/glcxx/Shader.cpp
holtrop/glcxx
c55c2ae3b58d621d3127af7ed5980f7055cba486
[ "MIT" ]
null
null
null
#include "glcxx/Shader.hpp" #include "glcxx/Error.hpp" #include <string> #include <fstream> #include <vector> namespace glcxx { Shader::Shader(GLenum shader_type) { m_shader_type = shader_type; allocate(); } Shader::~Shader() { glDeleteShader(m_id); } void Shader::...
24.166667
67
0.516322
holtrop