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
108
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
67k
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
57dc91b93565abdfc2ee7dc1e690cd091ca2cbaf
2,302
cpp
C++
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
#include "InfoBar.h" InfoBar::InfoBar(float swidth, float yloc, float height, std::string font_file) : screen_width{ swidth }, y_offset{ yloc }, info_height{ height } { if (!font.loadFromFile(font_file)) { std::cerr << "Could not load " << font_file << " font file." << std::endl; } // note: the string values...
30.289474
81
0.739357
NamaChikara
57e0bc11489f3ab79808b051e9cb3a628f3e4dae
9,818
cpp
C++
src/sqp.cpp
nuft/sqp_solver
7d059a717bb649d63ab27e4d3ec967b42a8b071c
[ "MIT" ]
40
2019-10-16T08:05:43.000Z
2022-03-08T04:51:20.000Z
src/sqp.cpp
likping/sqp_solver
7d059a717bb649d63ab27e4d3ec967b42a8b071c
[ "MIT" ]
1
2019-12-19T19:12:42.000Z
2020-03-16T09:18:04.000Z
src/sqp.cpp
likping/sqp_solver
7d059a717bb649d63ab27e4d3ec967b42a8b071c
[ "MIT" ]
10
2019-10-18T17:47:05.000Z
2022-03-28T07:07:22.000Z
#include <Eigen/Eigenvalues> #include <cmath> #include <iostream> #include <solvers/bfgs.hpp> #include <solvers/sqp.hpp> #ifndef SOLVER_ASSERT #define SOLVER_ASSERT(x) eigen_assert(x) #endif namespace sqp { template <typename T> SQP<T>::SQP() { // TODO(mi): Performance strongly depends on QP solver settings, whi...
28.131805
111
0.606743
nuft
57e0c53b9df2aed101c81120bc0523b33ce3ccec
911
cpp
C++
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
1
2020-02-24T18:28:48.000Z
2020-02-24T18:28:48.000Z
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Mr. Square is going on holiday. He wants to bring 2 of his favorite squares with him, so he put them in his rectangle suitcase. Write a function that, given the size of the squares and the suitcase, return whether the squares can fit inside the suitcase. fit_in(a,b,m,...
20.704545
85
0.642151
vidit1999
57e38e13bdd8e64842c2f7f12155964f57472d38
667
cpp
C++
Cpp/Codes/Practice/LeetCodeCN/15 3sum.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
null
null
null
Cpp/Codes/Practice/LeetCodeCN/15 3sum.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
null
null
null
Cpp/Codes/Practice/LeetCodeCN/15 3sum.cpp
QuincyWork/AllCodes
59fe045608dda924cb993dde957da4daff769438
[ "MIT" ]
1
2019-04-01T10:30:03.000Z
2019-04-01T10:30:03.000Z
#include <gtest\gtest.h> #include <vector> using namespace std; namespace LC15 { class Solution { public: vector<vector<int>> threeSum(vector<int>& nums) { vector<vector<int>> result; sort(nums.begin(), nums.end()); for (int i = 0; i < nums.size(); ++i) { for (int j = i+1; j < nums.size(); ++j...
17.552632
66
0.521739
QuincyWork
57e3b19dad6d500cbd34c4778663bf4ed6443daf
130,234
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // UnityEngine.EventSystems.RaycastResult[] struct RaycastResultU5BU5D_t55B9DF597EFA3BE063604C0950E370D850283B9D; // System.Tex...
49.688668
528
0.849571
JBrentJ
57e4487c4befc46e5a1b9538a1355ee1c7cfe0a8
2,090
cc
C++
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
1
2019-01-17T15:17:32.000Z
2019-01-17T15:17:32.000Z
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
null
null
null
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <functional> #include <ncurses.h> #include <sstream> #include <string> #include <vector> #include "minibus/driver/minibus_driver.h" #include "minibus/io/key.h" #include "minibus/web/minibus_web.h" #include "minibus/widgets/close_on_key.h" #include "minibus/widgets/list_select.h" #include "...
24.022989
62
0.664115
clambassador
57e534fb967978afcc9738fe78957e05f949a79e
3,406
cpp
C++
CSES/PrefixSumQueries.cpp
julianferres/Codeforces
ac80292a4d53b8078fc1a85e91db353c489555d9
[ "MIT" ]
4
2020-01-31T15:49:25.000Z
2020-07-07T11:44:03.000Z
CSES/prefix_sum_queries.cpp
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
CSES/prefix_sum_queries.cpp
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
/* AUTHOR: julianferres */ #include <bits/stdc++.h> using namespace std; // neal Debugger template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; } template<typename T_container, typename T = typename enable_if<!is_same<T_cont...
33.067961
290
0.548444
julianferres
57e60b13c663fdb02c754af29c1957114ae8f8aa
233
cpp
C++
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
12
2019-04-16T17:35:53.000Z
2020-04-12T14:37:27.000Z
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
47
2019-05-27T15:24:43.000Z
2020-04-27T17:54:54.000Z
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
null
null
null
#include "value_not_found.h" namespace pagoda { ValueNotFoundException::ValueNotFoundException(const std::string &valueName) : Exception("Value with name '" + valueName + "' not found in value table") { } } // namespace pagoda
23.3
79
0.733906
diegoarjz
57eaf683eb325761156a4703f3d6a4a297ea6961
43
hh
C++
RAVL2/MSVC/include/Ravl/3D/HEMeshFace.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/3D/HEMeshFace.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/3D/HEMeshFace.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././3D/Mesh/HEMeshFace.hh"
10.75
40
0.581395
isuhao
57eb44abdeb263cef210716a830cab9a64e07624
2,451
cpp
C++
framework/scene_graph/components/orthographic_camera.cpp
NoreChair/Vulkan-Samples
30e0ef953f9492726945d2042400a3808c8408f5
[ "Apache-2.0" ]
2,842
2016-02-16T14:01:31.000Z
2022-03-30T19:10:32.000Z
framework/scene_graph/components/orthographic_camera.cpp
ZandroFargnoli/Vulkan-Samples
04278ed5f0f9847ae6897509eb56d7b21b4e8cde
[ "Apache-2.0" ]
316
2016-02-16T20:41:29.000Z
2022-03-29T02:20:32.000Z
framework/scene_graph/components/orthographic_camera.cpp
ZandroFargnoli/Vulkan-Samples
04278ed5f0f9847ae6897509eb56d7b21b4e8cde
[ "Apache-2.0" ]
504
2016-02-16T16:43:37.000Z
2022-03-31T20:24:35.000Z
/* Copyright (c) 2020, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/license...
22.281818
151
0.712362
NoreChair
57eb7f4b019dcbe6bcb29f2f86ddb9ebd1d408d9
7,893
cpp
C++
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
1
2020-09-21T08:33:10.000Z
2020-09-21T08:33:10.000Z
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
/* * Generates BLAS level 3 routines for direct solve */ #include <iostream> #include <fstream> #include <sstream> #include <string> #include <iostream> #include <stdlib.h> //generate code for inplace_solve(op1(A), op2(B), tag) where A and B can have different storage layouts and opX(D) = D or trans(D) void printMat...
41.109375
133
0.592044
bollig
57ecb6efbd0f4dc142a301c4fb47a828d7f09729
569
cpp
C++
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
iclass Solution: def dayOfYear(self, date: str) -> int: year=int(date[0:4]) month=int(date[5:7]) day=int(date[8:10]) dayOfYear=day # print(year,day,month) for i in range(month-1): if(i==1): if((year%4==0 and year%100!=0) or (year%400==0)): ...
28.45
65
0.427065
jlokhande46
57ef78d0b33d18aaed00ce70a808c29fc55643c5
4,428
cxx
C++
private/windows/shell/lmui/shareui/menuutil.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/osshell/lmui/shareui/menuutil.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/osshell/lmui/shareui/menuutil.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1995 - 1995. // // File: menuutil.cxx // // Contents: Context menu utilities, stolen from the shell. This is // basically CDefFolderMenu_MergeMe...
23.553191
79
0.485095
King0987654
57f016fca6e086220759202675cf1ef3bef9d88e
427
cpp
C++
src/master/cpp/0037.cpp
matiaslindgren/hackerrank-solutions
e4f436fa7e8cfcf04541601d0dcedfaf9bcc338f
[ "MIT" ]
null
null
null
src/master/cpp/0037.cpp
matiaslindgren/hackerrank-solutions
e4f436fa7e8cfcf04541601d0dcedfaf9bcc338f
[ "MIT" ]
null
null
null
src/master/cpp/0037.cpp
matiaslindgren/hackerrank-solutions
e4f436fa7e8cfcf04541601d0dcedfaf9bcc338f
[ "MIT" ]
null
null
null
//Overload operators + and << for the class complex //+ should add two complex numbers as (a+ib) + (c+id) = (a+c) + i(b+d) //<< should print a complex number in the format "a+ib" Complex operator+(Complex const& lhs, Complex const& rhs) { Complex sum; sum.a = lhs.a + rhs.a; sum.b = lhs.b + rhs.b; ret...
23.722222
70
0.594848
matiaslindgren
57f14eceab53df2bda30aaf4aab681f826a5042d
754
hpp
C++
src/almost/primesieve-5.6.0/include/primesieve/primesieve_error.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/almost/primesieve-5.6.0/include/primesieve/primesieve_error.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/almost/primesieve-5.6.0/include/primesieve/primesieve_error.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
/// /// @file primesieve_error.hpp /// @brief The primesieve_error class is used for all exceptions /// within primesieve. /// /// Copyright (C) 2013 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef ...
21.542857
67
0.709549
bgwines
57f1b76dc005b240d929f240073585fe1410f9e5
822
cpp
C++
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
/* Project Euler Problem 4 Nick Kaparinos 2021 */ #include <iostream> #include <string> using namespace std; bool is_palindrome(int number) { string str = to_string(number); int num_iterations = str.size() / 2; for (int i = 0; i <= num_iterations; i++) { if (str[i] != str[str.size() - 1 - i]) { ...
18.681818
48
0.454988
NickKaparinos
57f3abd46a69814ddfdfd384134f2e86e414f8d1
1,373
cpp
C++
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
1
2017-12-28T08:08:02.000Z
2017-12-28T08:08:02.000Z
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
null
null
null
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
3
2017-12-28T08:08:05.000Z
2021-11-12T07:59:13.000Z
#include "Learning.h" #include "ui_Learning.h" #include <QSettings> #include <QDebug> #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif Learning::Learning(QWidget *parent) : QDialog(parent), ui(new Ui::Learning) { ui->setupUi(this); this->move(272,520); this->setWindowFlags(Qt::W...
19.898551
72
0.648216
qianyongjun123
57f706b45ea85e8e8f4efc09bb3698c64fb97bc9
4,638
cpp
C++
Qor/ViewModel.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
84
2015-03-30T14:29:29.000Z
2022-01-28T12:29:25.000Z
Qor/ViewModel.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
5
2016-01-22T18:54:35.000Z
2021-07-24T10:21:12.000Z
Qor/ViewModel.cpp
flipcoder/qor
7a2ebf667be4c913fbc7daf5e0b07a4c1723389d
[ "MIT" ]
22
2015-08-06T05:32:29.000Z
2022-03-05T13:20:46.000Z
#include "ViewModel.h" #include <memory> using namespace std; ViewModel :: ViewModel(shared_ptr<Camera> camera, shared_ptr<Node> node): Tracker(static_pointer_cast<Node>(camera), Tracker::ORIENT, Freq::Time::ms(25)), m_pCamera(camera.get()), m_pNode(node) { assert(node); assert(camera); assert(...
22.735294
89
0.580423
flipcoder
57f7bf9d235a0439aad7bd726c4a233872ded4c8
827
cpp
C++
src/main.cpp
UniHD-CEG/sonar
22fae5634f561b8b3a3205d4ca8ef3d38f3e7179
[ "Unlicense" ]
1
2017-03-15T15:55:09.000Z
2017-03-15T15:55:09.000Z
src/main.cpp
UniHD-CEG/sonar
22fae5634f561b8b3a3205d4ca8ef3d38f3e7179
[ "Unlicense" ]
null
null
null
src/main.cpp
UniHD-CEG/sonar
22fae5634f561b8b3a3205d4ca8ef3d38f3e7179
[ "Unlicense" ]
null
null
null
#include <iostream> #include <globals.h> #include <config.h> #include <otf_manager.h> int main(const int argc, const char* argv[]) { int error {0}; try { std::shared_ptr<Config> cfg = std::make_shared<Config>(argc, argv); OTF_Manager manager(cfg); manager.read_otf(); } catch (const std::invalid_argument ...
17.978261
69
0.588875
UniHD-CEG
57f82d0db49acb6f2a1bf3edbf0bbfad94ccae0c
5,067
cpp
C++
Quasar/src/Quasar/Scene/Scene.cpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Scene/Scene.cpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Scene/Scene.cpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
#include "Scene.hpp" #include "Quasar/Renderer/Renderer2D.hpp" #include "Quasar/Renderer/Camera.hpp" #include "Quasar/Scene/Components.hpp" #include "Quasar/Scene/Entity.hpp" namespace Quasar { Scene::Scene() { } Entity Scene::createEntity(const std::string &name) { Entity entity = {...
31.47205
126
0.613973
rvillegasm
57f8633bcaca80045b5acb151abadb9aef5abc3c
3,113
hpp
C++
packages/kokkos/core/src/impl/Kokkos_Rendezvous.hpp
mathstuf/seacas
49b3466e3bba12ec6597e364ce0f0f149f9ca909
[ "BSD-3-Clause", "NetCDF", "Zlib", "MIT" ]
null
null
null
packages/kokkos/core/src/impl/Kokkos_Rendezvous.hpp
mathstuf/seacas
49b3466e3bba12ec6597e364ce0f0f149f9ca909
[ "BSD-3-Clause", "NetCDF", "Zlib", "MIT" ]
null
null
null
packages/kokkos/core/src/impl/Kokkos_Rendezvous.hpp
mathstuf/seacas
49b3466e3bba12ec6597e364ce0f0f149f9ca909
[ "BSD-3-Clause", "NetCDF", "Zlib", "MIT" ]
null
null
null
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
35.375
75
0.6823
mathstuf
57f876e6f245324c90ff20460666832b75390b2e
427
cpp
C++
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <map> using namespace std; map<int, int> dict; int main() { int a, tmp, kase = 0, res = 0; while (cin >> a) { kase++; for (int i = 0; i < a; i++) { cin >> tmp; if (!dict.count(tmp)) dict[tmp] = 1; else dict[tmp]++; } } for (map<int, int>::iterator it =...
18.565217
72
0.540984
y-wan
520605250313984057f9925718623df850d46c51
311
cpp
C++
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
null
null
null
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
null
null
null
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
1
2021-05-16T13:36:06.000Z
2021-05-16T13:36:06.000Z
#include <iostream> #include <cstdio> using namespace std; int main(void){ int n,x=0,y=0,z=0,c=0; scanf("%d",&n); for(int i = 0;i<n;i++){ int temp1,temp2,temp3; scanf("%d%d%d",&temp1,&temp2,&temp3); x += temp1; y += temp2; z += temp3; } c += (x+y+z); printf("%d %d %d %d",x,y,z,c); return 0; }
17.277778
39
0.546624
sun1218
5206522abfa144bbf6f920469aa768667566b9bc
4,006
hpp
C++
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
4
2020-06-29T20:14:08.000Z
2020-12-12T20:04:25.000Z
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
null
null
null
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
1
2022-01-19T15:08:40.000Z
2022-01-19T15:08:40.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #define OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #include <cuda_runtime.h> #include "math....
24.278788
102
0.629056
artun3e
52093c109bab03ed6eecf1cbd7180560402e6d1b
705
cpp
C++
Dataset/Leetcode/valid/66/644.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/66/644.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/66/644.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<int> XXX(vector<int>& digits) { digits[digits.size() - 1] = digits[digits.size() - 1] + 1; bool FLAG = false; //记录是否进位; for (int i = digits.size() - 1; i > 0; i--) { if (digits[i] >= 10) { digits[i] = digits[i] -...
25.178571
77
0.41844
kkcookies99
52093ff0013f1a3c41a541c5edcf5e3dfc562a3b
11,016
hpp
C++
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
36.842809
112
0.662763
PetorSFZ
5209f798b0fdddaf2e99a1830c64686aeb7cab41
1,278
hpp
C++
android-31/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../view/ViewGroup.hpp" namespace android::content { class Context; } namespace android::view { class ViewGroup_LayoutParams; } namespace android::widget { class FrameLayout_LayoutParams; } class JString; namespace android::widget { class FrameLayout : public android::view::ViewGroup { pu...
27.191489
169
0.758216
YJBeetle
520a20b05947e2ceb5ade199cb60f9b86fe1dd4a
277
hpp
C++
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace quest { enum class VisionModeType : uint32_t { Undefined = 0, FocusMode = 1, EnhancedMode = 2, }; } // namespace quest } // namespace RED4ext
16.294118
57
0.696751
jackhumbert
520a7d315c017eb83cd8c8537513b82b64f44da7
277
cpp
C++
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
1
2019-09-10T06:32:07.000Z
2019-09-10T06:32:07.000Z
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
null
null
null
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "Engine/GameMain.h" int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) { return TinyHippo::GameMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); }
27.7
75
0.732852
chahoseong
648c4345060f1628043a76e0230041d398586b45
1,388
cp
C++
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
33
2018-08-16T18:14:35.000Z
2022-03-14T10:26:18.000Z
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
13
2018-08-09T06:53:08.000Z
2022-03-28T10:26:24.000Z
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
12
2018-06-06T15:19:46.000Z
2022-02-11T17:09:27.000Z
# problem name and initial upper bound GOLOMB_4_ALLDIFF_REVERSE 9 # variables for marks g4 0 1 2 3 4 5 6 7 8 g3 0 1 2 3 4 5 6 7 8 g2 0 1 2 3 4 5 6 7 8 g1 0 1 2 3 4 5 6 7 8 # variables for mark differences d3_4 0 1 2 3 4 5 6 7 8 d2_4 0 1 2 3 4 5 6 7 8 d2_3 0 1 2 3 4 5 6 7 8 d1_4 0 1 2 3 4 5 6 7 8 d1_3 0 1 2 3 4 5 6 7 ...
22.754098
61
0.680115
kad15
648e5e816650f95b804c9b0220db80da664770ce
1,891
cc
C++
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
null
null
null
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
7
2022-01-12T19:04:37.000Z
2022-01-16T15:07:41.000Z
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
null
null
null
#include "linear_fm_waveform.h" #include "pulse_doppler.h" #include <matplot/matplot.h> using namespace matplot; using namespace plasma; using namespace Eigen; int main() { // Waveform parameter double B = 50e6; double fs = 4 * B; double ts = 1 / fs; double Tp = 5e-6; double prf = 20e3; LinearFMWaveform...
30.5
79
0.659439
ShaneFlandermeyer
648ec7580476982f69f82de1f20af95c502a408a
2,694
cpp
C++
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
2
2020-09-30T07:09:46.000Z
2021-01-03T20:01:02.000Z
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
#include "timer_service.h" #include <chrono> #include <gtest/gtest.h> #include <cpp_mock.h> #include "TestMocks.h" #include "pal.h" #include "pal_mock.h" using namespace std::chrono_literals; class MockPalService : public pal_service { public: MockMethod(std::chrono::microseconds, current_time, ()) }; namespace...
24.490909
106
0.703786
samcragg
648fd358cf12d13190a4d20eef10d8f38195a472
3,976
cpp
C++
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
57
2019-07-26T06:26:47.000Z
2022-03-22T13:12:12.000Z
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
1
2019-12-09T11:16:06.000Z
2020-04-09T12:22:23.000Z
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
20
2019-08-21T08:26:14.000Z
2021-11-21T09:58:48.000Z
#include <cstring> //for memset #include "IMsg.h" #include "ISocket.h" #include "HudpImpl.h" #include "HudpConfig.h" #include "OrderListImpl.h" using namespace hudp; CRecvList::CRecvList() : _discard_msg_count(0){ } CRecvList::~CRecvList() { } uint16_t CRecvList::HashFunc(uint16_t id) { return id ...
24.243902
90
0.56841
caozhiyi
64909f27347c233c60ec0b04c4df31908a4407a5
3,779
cpp
C++
src/visualizer/opengl/tiny_mac_opengl_window.cpp
sgillen/tiny-differentiable-simulator
142f3b9e9b7e042c9298bc83ebbc08a9df7527af
[ "Apache-2.0" ]
862
2020-05-14T19:22:27.000Z
2022-03-20T20:23:24.000Z
src/visualizer/opengl/tiny_mac_opengl_window.cpp
sgillen/tiny-differentiable-simulator
142f3b9e9b7e042c9298bc83ebbc08a9df7527af
[ "Apache-2.0" ]
82
2020-05-26T11:41:33.000Z
2022-03-15T16:46:00.000Z
src/visualizer/opengl/tiny_mac_opengl_window.cpp
sgillen/tiny-differentiable-simulator
142f3b9e9b7e042c9298bc83ebbc08a9df7527af
[ "Apache-2.0" ]
93
2020-05-15T05:37:59.000Z
2022-03-03T09:09:50.000Z
#ifndef B3_USE_GLFW #ifdef __APPLE__ #include "tiny_mac_opengl_window.h" #include "tiny_mac_opengl_window_objc.h" #include "tiny_opengl_include.h" #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> MacOpenGLWindow::MacOpenGLWindow() : m_internalData(0) { m_internalData = Mac_createData...
28.413534
80
0.807886
sgillen
649889497cf1f508fe74922469d0424f7a6199c6
13,705
cpp
C++
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
1
2020-02-24T18:52:19.000Z
2020-02-24T18:52:19.000Z
#include "lua_api_map.hpp" #include "../../area.hpp" #include "../../character.hpp" #include "../../data/types/type_map.hpp" #include "../../lua_env/enums/enums.hpp" #include "../../map.hpp" #include "../../map_cell.hpp" #include "../../mapgen.hpp" #include "../interface.hpp" namespace elona { namespace lua { /** * ...
23.507719
80
0.664137
XrosFade
6498fd3507ae8f953ab56fd96ae658aaf43e1aac
791
cpp
C++
UVa/AC/Maximum_Sum_II-10656.cpp
AHJenin/acm-type-problems
e2a6d58fe8872ceaed822f5ee8911bfc173c6192
[ "MIT" ]
4
2018-05-17T08:37:53.000Z
2018-06-08T18:47:21.000Z
UVa/AC/Maximum_Sum_II-10656.cpp
arafat-hasan/acm-type-problems
e2a6d58fe8872ceaed822f5ee8911bfc173c6192
[ "MIT" ]
null
null
null
UVa/AC/Maximum_Sum_II-10656.cpp
arafat-hasan/acm-type-problems
e2a6d58fe8872ceaed822f5ee8911bfc173c6192
[ "MIT" ]
null
null
null
/* * FILE: Maximum_Sum_II-10656.cpp * * @author: Md. Arafat Hasan Jenin <Opendoor.Arafat@gmail.com> * * LINK: https://uva.onlinejudge.org/external/106/10656.pdf * * Description: * * DEVELOPMENT HISTORY: * Date Change Version Description * ------------------------------------------...
22.6
84
0.456384
AHJenin
6499afc7c0372b645f794f58c71b664d3f81e93c
1,022
cpp
C++
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#include <lug/System/Exception.hpp> #include <sstream> lug::System::Exception::Exception(const char* typeName, const std::string& description, const char* file, const char* function, uint32_t line) : _typeName{typeName}, _description{description}, _file{file}, _function{function}, _line{line} {} const std::string...
27.621622
142
0.67319
Lugdunum3D
649d5fb9befe93d9df8863af6f5f77568dc3baec
11,273
cpp
C++
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
1
2020-04-20T15:20:23.000Z
2020-04-20T15:20:23.000Z
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <consensus/validation.h> #include <shutdown.h> #include <test/util/setup_common.h> #include <validation.h> #include <vbk/config.hpp> #include <vbk/init.hpp> #include <vbk/pop_service.hpp> #include <vbk/pop_service/pop_service_impl.hpp> #include <vbk/service_locator.hpp> #in...
41.142336
148
0.710104
xagau
64a3fedb37e0b48e3c8fbb381d437f4235177d8c
291
cpp
C++
Engine/Source/Developer/UnrealCodeAnalyzerTests/Private/UseClassWithNonStaticField.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Developer/UnrealCodeAnalyzerTests/Private/UseClassWithNonStaticField.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Developer/UnrealCodeAnalyzerTests/Private/UseClassWithNonStaticField.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "UnrealCodeAnalyzerTestsPCH.h" #include "UseClassWithNonStaticField.h" static void Function_UseClassWithNonStaticField() { #ifdef UNREAL_CODE_ANALYZER FTestClassWithNonStaticField TestClassWithNonStaticField; #endif }
24.25
60
0.838488
PopCap
64a85296827d04ae1a601f09baa0866d3f88d07e
1,167
hpp
C++
lib/generic/DemoController.hpp
ademuri/colordance-circle
fd680a45c32d6ebc2289cd8a8f6fc8bba2d0a43e
[ "Apache-2.0" ]
2
2020-03-07T05:14:06.000Z
2021-02-22T17:53:40.000Z
lib/generic/DemoController.hpp
ademuri/colordance-circle
fd680a45c32d6ebc2289cd8a8f6fc8bba2d0a43e
[ "Apache-2.0" ]
1
2020-03-08T05:53:04.000Z
2020-03-08T05:56:37.000Z
lib/generic/DemoController.hpp
ademuri/colordance-circle
fd680a45c32d6ebc2289cd8a8f6fc8bba2d0a43e
[ "Apache-2.0" ]
1
2020-03-08T05:48:28.000Z
2020-03-08T05:48:28.000Z
#ifndef DEMO_CONTROLLER_HPP_ #define DEMO_CONTROLLER_HPP_ #include <vector> #include "ControlPole.hpp" #include "Effect.hpp" #include "Pole.hpp" #include "LocalButtonController.hpp" class DemoController : public Effect { public: DemoController(std::vector<Pole*> poles, LocalButtonController* paramController); p...
22.018868
83
0.718081
ademuri
64abd26a4d2f35082486a3c26843733f29e118d9
75,963
cpp
C++
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
// File: crn_comp.cpp // This software is in the public domain. Please see license.txt. #include "crn_core.h" #include "crn_console.h" #include "crn_comp.h" #include "crn_zeng.h" #include "crn_checksum.h" #define CRNLIB_CREATE_DEBUG_IMAGES 0 #define CRNLIB_ENABLE_DEBUG_MESSAGES 0 namespace crnlib { st...
34.861404
254
0.606874
Wizermil
64ac45c288b314da154353a0f7330e5ea04fd07e
705
cpp
C++
apps/demo/DemoWidget.cpp
Rix565/skiftos-dailybuild
ef3abf0dda028b6d7b3e658946a031b1a1ba44c9
[ "MIT" ]
2
2020-10-07T14:17:15.000Z
2021-05-09T20:35:35.000Z
apps/demo/DemoWidget.cpp
Rix565/skiftos-dailybuild
ef3abf0dda028b6d7b3e658946a031b1a1ba44c9
[ "MIT" ]
null
null
null
apps/demo/DemoWidget.cpp
Rix565/skiftos-dailybuild
ef3abf0dda028b6d7b3e658946a031b1a1ba44c9
[ "MIT" ]
null
null
null
#include <libsystem/eventloop/Timer.h> #include <libwidget/Application.h> #include "demo/DemoWidget.h" void demo_widget_on_timer_tick(DemoWidget *widget) { widget->tick(); widget->should_repaint(); } DemoWidget::DemoWidget(Widget *parent) : Widget(parent) { _demo = nullptr; _timer = own<Timer>(10...
20.735294
75
0.631206
Rix565
64b183354e28288c28d848e6eede8233df72e8c7
2,649
cpp
C++
src/TSWXKernel.cpp
pavanad/language-tools
e431f547161583b17046aa2952bd0bd435842155
[ "MIT" ]
3
2018-08-16T20:15:42.000Z
2021-06-13T06:47:06.000Z
src/TSWXKernel.cpp
pavanad/language-tools
e431f547161583b17046aa2952bd0bd435842155
[ "MIT" ]
null
null
null
src/TSWXKernel.cpp
pavanad/language-tools
e431f547161583b17046aa2952bd0bd435842155
[ "MIT" ]
2
2018-07-24T19:13:29.000Z
2019-04-06T17:36:18.000Z
//--------------------------------------------------------------------------- #pragma hdrstop #include "TSWXKernel.h" #pragma package(smart_init) //--------------------------------------------------------------------------- TSWXKernel::TSWXKernel(TSWXMainDT * data, TAnalysis * analysis) { m_data = dat...
22.075
81
0.489996
pavanad
64b236409d2b24202c4aa6c2c79cb9ade94f2552
40,253
cxx
C++
src/tamgutable.cxx
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
192
2019-07-10T15:47:11.000Z
2022-03-10T09:26:31.000Z
src/tamgutable.cxx
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
5
2019-10-01T13:17:28.000Z
2021-01-05T15:31:39.000Z
src/tamgutable.cxx
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
14
2019-09-23T03:39:59.000Z
2021-09-02T12:20:14.000Z
/* * Tamgu (탐구) * * Copyright 2019-present NAVER Corp. * under BSD 3-clause */ /* --- CONTENTS --- Project : Tamgu (탐구) Version : See tamgu.cxx for the version number filename : tamgutable.cxx Date : 2017/09/01 Purpose : vector implementation Programmer : Claude ROUX (claude.roux@naverlabs....
24.649724
157
0.489603
naver
64b9802d6088f22721eb36a90d0fc693e318718a
10,219
cpp
C++
code/wxWidgets/src/mac/carbon/dcclient.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mac/carbon/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mac/carbon/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: dcclient.cpp // Purpose: wxClientDC class // Author: Stefan Csomor // Modified by: // Created: 01/02/97 // RCS-ID: $Id: dcclient.cpp,v 1.38 2005/05/10 06:28:21 SC Exp $ // Copyright: (c) Stefan Csomor // Li...
32.236593
152
0.608279
Bloodknight
64ba2650b392bb85157bc79c84bdfc4d6271d775
924
cpp
C++
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #ifdef PAPITAS #define DEBUG 1 #else #define DEBUG 0 #endif #define _DO_(x) if(DEBUG) x int check(vector<int> v, int tetra){ int n = v.size(); int ans = 0; for(int i = 0; i < n; i++){ int temp = v[i]; for(int j = i; j < n...
16.210526
43
0.514069
miaortizma
64ba8d65849c855dda320dd863706df83ed9ea3b
5,263
cpp
C++
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
// Copyright [2020] <Copyright Kevin, kevin.lau.gd@gmail.com> #include <gtest/gtest.h> #include "trader/risk_management/common/no_self_trade.h" static uint64_t order_id = 1; void GenLO(ft::Order* order, ft::Direction direction, ft::Offset offset, double price) { order->req.direction = direction; order->req.offs...
38.137681
88
0.714801
liutongwei
64bf749522e131dda2ce01b960f8814b85de976f
2,798
cpp
C++
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "terrainImpactSystem.h" #include "globals.h" #include "colliderComponent.h" #include "worldComponent.h" #include "physicsComponent.h" #include "terrainComponent.h" #include "logger.h" //Unique system ID SystemID TerrainImpactSystem::ID; TerrainImpactSystem::TerrainImpactSystem() { std::v...
46.633333
141
0.657255
Cimera42
64c2482c1c040909cefae9c1de19c0349f2e8f03
496
cpp
C++
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
1
2021-12-03T03:37:04.000Z
2021-12-03T03:37:04.000Z
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
null
null
null
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
null
null
null
/* 17. Juana viajará a EEUU y luego a Europa, por tanto, requiere un programa que convierta x cantidad de Bs a dólares y a euros. $1 = Bs. 6.90 1 euro = Bs. 7.79 */ #include <iostream> using namespace std; int main() { float bolivianos, dolares, euros; cout << "Ingrese la moneda boliviana: "; cin >> bolivi...
26.105263
126
0.625
gemboedu
64c297186805285fdf248cc03771da2730d288f2
764
hpp
C++
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
6
2017-12-31T17:28:40.000Z
2021-12-04T06:11:34.000Z
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
#pragma once #include "Precompiled.hpp" #include "Graphics/Font.hpp" // // Console Frame // Displays and lets user interact with the console system. // class ConsoleFrame { public: ConsoleFrame(); ~ConsoleFrame(); bool Initialize(); void Cleanup(); void Open(); void Close(); bool Pro...
14.980392
64
0.636126
gunstarpl
64c3882a867fe012e561dc7ed693eef7bfa71de0
11,064
hpp
C++
inetsrv/query/filters/office/src/findfast/dmiwd8st.hpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/filters/office/src/findfast/dmiwd8st.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/filters/office/src/findfast/dmiwd8st.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#ifndef _WRD8STM_HPP #define _WRD8STM_HPP #if !VIEWER #include "dmifstrm.hpp" #include "dmfltinc.h" #include "clidrun.h" class CWord8Stream : public IFilterStream { friend class CLidRun8; public: CWord8Stream(); ~CWord8Stream(); ULONG AddRef() { return 1; } ...
39.095406
135
0.450018
npocmaka
64c444ea6f51e4df3c08916ff98b277fc179396f
1,489
hpp
C++
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
class B_Soldier_unarmed_F; class B_CBRN_Unarmed: B_Soldier_unarmed_F { scope = 1; editorSubcategory = "CBRN"; //editorPreview = "\bonusUnits_CSF\editorPreviews\O_CSF_Unarmed.jpg"; author = "Assaultboy"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\skn_nbc_units\data_m50\NBC_M50_Uniform_CO.pa...
22.560606
83
0.723976
ASO-TheM
64c47577cd6e7377f1e1989c5ee8c523428a64af
3,032
cpp
C++
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
#include <vs/managed/al/SoundManager.h> #include <vs/managed/al/AlException.h> #include <vs/base/interfaces/AbstractManaged.h> #include <vs/base/util/IOStream.h> namespace vs { namespace managed { namespace al { using namespace base::interfaces; using namespace base::util; SoundManager::SoundManager() { int error; ...
19.069182
75
0.66128
sizilium
64c4c68adb0be5c06237e11d15fecfbbccff5595
1,814
cpp
C++
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
// Problem: F. Graph Without Long Directed Paths // Contest: Codeforces - Codeforces Round #550 (Div. 3) // URL: https://codeforces.com/contest/1144/problem/F // Memory Limit: 256 MB // Time Limit: 2000 ms // Powered by CP Editor (https://github.com/cpeditor/cpeditor) #include <bits/stdc++.h> #define F first #define ...
17.960396
62
0.492282
kratikasinghal
64c5baab3c5713cb2bcd2ac42e6b8b0235c5c7b1
43,463
cpp
C++
sdk/cpp/tests/testsanitynctest.cpp
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/cpp/tests/testsanitynctest.cpp
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/cpp/tests/testsanitynctest.cpp
ygorelik/pydk
42ac7f2b33006c3ea99d07eb9f405346d35c6614
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/// YANG Development Kit // Copyright 2016 Cisco Systems. All rights reserved // //////////////////////////////////////////////////////////////// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional inf...
27.860897
146
0.653383
ygorelik
64c7e5a918c73f7b940dfa25d9cf64c823900070
157
cpp
C++
Boost/The Boost C++ Libraries/src/13.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2021-03-12T19:29:33.000Z
2021-03-12T19:29:33.000Z
Boost/The Boost C++ Libraries/src/13.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2019-03-13T01:36:12.000Z
2019-03-13T01:36:12.000Z
Boost/The Boost C++ Libraries/src/13.2.2/main.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
null
null
null
#include <boost/array.hpp> #include <string> int main() { typedef boost::array<std::string, 3> array; array a = { "Boris", "Anton", "Caesar" }; }
19.625
46
0.598726
goodspeed24e
64ca80d8ea5a2602035e6a05f685edadd30642e9
164
cpp
C++
GameServer/main.cpp
joyate/EjoyServer
e27da5a26189b9313df6378bd1194845eae45646
[ "MIT" ]
3
2017-03-27T03:13:41.000Z
2019-12-24T00:18:14.000Z
GameServer/main.cpp
joyate/EjoyServer
e27da5a26189b9313df6378bd1194845eae45646
[ "MIT" ]
null
null
null
GameServer/main.cpp
joyate/EjoyServer
e27da5a26189b9313df6378bd1194845eae45646
[ "MIT" ]
null
null
null
#include "type_common.h" #include "Server.h" Server svr; int main(int argc,const char* argv[]) { if (!svr.Init()) { return 0; } svr.Run(); return 0; }
9.647059
37
0.597561
joyate
64d15d4ecfe0e8d0205c8f8bbb0abe3b079ea45a
2,581
cpp
C++
src/programm.cpp
Yperidis/bvd_agent_based_model
a42ae72ca05d966015bab92afd20130a2c6d848a
[ "MIT" ]
1
2020-11-11T09:27:02.000Z
2020-11-11T09:27:02.000Z
src/programm.cpp
Yperidis/bvd_agent_based_model
a42ae72ca05d966015bab92afd20130a2c6d848a
[ "MIT" ]
8
2018-06-13T12:41:23.000Z
2019-11-14T05:26:34.000Z
src/programm.cpp
Yperidis/bvd_agent_based_model
a42ae72ca05d966015bab92afd20130a2c6d848a
[ "MIT" ]
null
null
null
#include "Initializer.h" #include "System.h" //#include "Output.h" #include <iostream> #include "BVD_Random_Number_Generator.h" #include <chrono> #include "AdvancedOutput.h" #include "BVDOptions.h" #include "projectImports/inih/cpp/INIReader.h" #pragma mark - main /* actual program code */ int main(int argnum, c...
34.413333
157
0.697017
Yperidis
64d1e6e1d074cb947df7e9129fd70664dec6801f
2,589
cc
C++
ui/gl/gl_fence_android_native_fence_sync.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gl/gl_fence_android_native_fence_sync.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gl/gl_fence_android_native_fence_sync.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gl/gl_fence_android_native_fence_sync.h" #include <sync/sync.h> #include "base/files/scoped_file.h" #include "base/logging.h" #include "bas...
30.104651
78
0.769795
mghgroup
64d3263e6f48aa065231180afeb61d19a5fea2d4
1,080
hpp
C++
include/fcppt/math/next_power_of_2.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/math/next_power_of_2.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/math/next_power_of_2.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_NEXT_POWER_OF_2_HPP_INCLUDED #define FCPPT_MATH_NEXT_POWER_OF_2_HPP_INCLUDED #...
14.794521
61
0.69537
vinzenz
64d36602afc8872cfd6532fef70113ea50f00f3d
12,200
hpp
C++
src/nark/circular_queue.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
18
2015-02-12T04:41:22.000Z
2018-08-22T07:44:13.000Z
src/nark/circular_queue.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
null
null
null
src/nark/circular_queue.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
13
2015-05-24T12:24:46.000Z
2021-01-05T10:59:40.000Z
/* vim: set tabstop=4 : */ /******************************************************************** @file circular_queue.hpp @brief 循环队列的实现 @date 2006-9-28 12:07 @author Lei Peng @{ *********************************************************************/ #ifndef __circular_queue_hpp_ #define __circular_queue_hpp_ #i...
22.426471
105
0.629344
rockeet
64d5fd430e8bd0617350ac39defc8981f14ea986
555
hpp
C++
include/alx/UserEvent.hpp
SpaceManiac/ALX
d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6
[ "BSD-3-Clause" ]
null
null
null
include/alx/UserEvent.hpp
SpaceManiac/ALX
d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6
[ "BSD-3-Clause" ]
null
null
null
include/alx/UserEvent.hpp
SpaceManiac/ALX
d0d6b17be43fbd533f05f79c630dcd3ebf0a21e6
[ "BSD-3-Clause" ]
null
null
null
#ifndef ALX_USEREVENT_HPP #define ALX_USEREVENT_HPP namespace alx { /** Base class for user events. */ class UserEvent { public: /** constructor. @param type event type. */ UserEvent(int type) : m_type(type) { } /** destructor. */ virtual ~UserEvent() { ...
12.613636
40
0.545946
SpaceManiac
64d6e51067ebce9bacbd43ac1c8ba145e77c379a
675
cpp
C++
code-samples/Conditionals/Exercise_6.cpp
csdeptku/cs141
befd96cb22bccc9b1561224967c9feafd2a550e4
[ "Apache-2.0" ]
null
null
null
code-samples/Conditionals/Exercise_6.cpp
csdeptku/cs141
befd96cb22bccc9b1561224967c9feafd2a550e4
[ "Apache-2.0" ]
null
null
null
code-samples/Conditionals/Exercise_6.cpp
csdeptku/cs141
befd96cb22bccc9b1561224967c9feafd2a550e4
[ "Apache-2.0" ]
null
null
null
/* Write a function word_check that takes in a string word and returns a string. The function should return the string "long" if the word is longer than 6 characters, "short" if it is less than 6 characters, and "medium" if it is exactly 6 characters long. */ #include <iostream> using namespace std; str...
23.275862
93
0.634074
csdeptku
64d7abf482cd886893df1d97ba95505b45bb3081
3,086
cpp
C++
samples/MDDSSample/src/MDDSSampleApp.cpp
heisters/Cinder-MDDS
2531ea668eff1aef8e98ca76863242e0bb3a2c54
[ "MIT" ]
2
2015-03-10T17:51:49.000Z
2015-04-29T14:34:00.000Z
samples/MDDSSample/src/MDDSSampleApp.cpp
heisters/Cinder-MDDS
2531ea668eff1aef8e98ca76863242e0bb3a2c54
[ "MIT" ]
null
null
null
samples/MDDSSample/src/MDDSSampleApp.cpp
heisters/Cinder-MDDS
2531ea668eff1aef8e98ca76863242e0bb3a2c54
[ "MIT" ]
null
null
null
#include "cinder/app/AppNative.h" #include "cinder/gl/gl.h" #include "cinder/Utilities.h" #include "cinder/Text.h" #include "cinder/Rand.h" #include <boost/format.hpp> #include "MDDSMovie.h" class MDDSSampleApp : public ci::app::AppNative { public: MDDSSampleApp(); // Lifecycle ---------------------------...
26.834783
100
0.568049
heisters
64d96398fd9eec516cb2142498338c782b41ada1
947
hpp
C++
examples/saber-salient/include/saber-salient.hpp
achirkin/real-salient
e3bceca601562aa03ee4261ba41709b63cc5286b
[ "BSD-3-Clause" ]
9
2020-07-05T08:21:39.000Z
2021-10-30T09:52:43.000Z
examples/saber-salient/include/saber-salient.hpp
achirkin/real-salient
e3bceca601562aa03ee4261ba41709b63cc5286b
[ "BSD-3-Clause" ]
null
null
null
examples/saber-salient/include/saber-salient.hpp
achirkin/real-salient
e3bceca601562aa03ee4261ba41709b63cc5286b
[ "BSD-3-Clause" ]
1
2020-07-05T10:45:12.000Z
2020-07-05T10:45:12.000Z
#pragma once #include "salient/salient_structs.hpp" extern "C" { struct SaberSalient; __declspec(dllexport) int SaberSalient_init(SaberSalient** out_SaberSalient, void (*in_loadColor)(uint8_t*), void (*in_loadDepth)(float*)); __declspec(dllexport) void SaberSalient_destroy(SaberSalient *in_SaberSalient); __dec...
37.88
140
0.832101
achirkin
64dae19794cdf5135cfd229799f8817dfc574153
294
cxx
C++
src/gtbary/gtbary.cxx
fermi-lat/timeSystem
ae46f5863bc345ed9491a53fa9af611536c7f41c
[ "BSD-3-Clause" ]
null
null
null
src/gtbary/gtbary.cxx
fermi-lat/timeSystem
ae46f5863bc345ed9491a53fa9af611536c7f41c
[ "BSD-3-Clause" ]
null
null
null
src/gtbary/gtbary.cxx
fermi-lat/timeSystem
ae46f5863bc345ed9491a53fa9af611536c7f41c
[ "BSD-3-Clause" ]
null
null
null
/** \file gtbary.cxx \brief Factory for gtbary application. \authors Masaharu Hirayama, GSSC, James Peachey, HEASARC/GSSC */ #include "timeSystem/TimeCorrectorApp.h" #include "st_app/StAppFactory.h" st_app::StAppFactory<timeSystem::TimeCorrectorApp> g_factory("gtbary");
26.727273
71
0.727891
fermi-lat
64dc3178a38f6c13407c3d84a4880b8359e6f9ba
5,799
hpp
C++
AutomatedScheduler/include/TextHandler.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
AutomatedScheduler/include/TextHandler.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
AutomatedScheduler/include/TextHandler.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#ifndef TEXT_HANDLER_HPP #define TEXT_HANDLER_HPP #include <SFML/Graphics.hpp> #include "Data.hpp" class TextHandler : public sf::Drawable { std::string text, typwhat, typwhat2, _count, _time; sf::Text temptext, typehere, typewhat, typewhat2, counts, time; std::vector<sf::Text> drawtext; int count; ...
22.04943
109
0.583032
Electrux
64e1c2b4ba3a945831eeb80a7d9b65338f08b00c
8,821
cpp
C++
runtime/device.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
169
2021-10-07T03:50:42.000Z
2021-12-20T01:55:51.000Z
runtime/device.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
11
2021-10-09T01:53:49.000Z
2021-10-09T01:53:49.000Z
runtime/device.cpp
JoeAnimation/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
56
2021-10-07T03:50:53.000Z
2021-10-12T00:41:59.000Z
/** * @file device.cpp * * Copyright (C) Huawei Technologies Co., Ltd. 2019-2020. All Rights Reserved. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #include "acl/acl_rt.h" ...
38.688596
114
0.701961
fletcherjiang
64ea0f4c80afa7839f4b8ce7366f4a249103dc15
1,181
cpp
C++
codeforce6/1006D. Two Strings Swaps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1006D. Two Strings Swaps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1006D. Two Strings Swaps.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
/* Idea: - Each 2 mirror indexes in `a` and `b` are solvable alone, in other words they does not affect the other indexes. - We can use the fact in the previous point and solve each 2 mirror indexes and add the result of them to the solution of the problem. */ #include <bits/stdc++.h> usin...
19.683333
102
0.421677
khaled-farouk
64ebf495a4d7c5a3c0dfcd93ecca0cb12a0eddb4
7,736
cpp
C++
src/tools/SxStructPatch.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
src/tools/SxStructPatch.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
src/tools/SxStructPatch.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The ab-initio based multiscale library // // S / P H I / n X // // Copyright: Max-Planck-Institute for Iron Research // 40237 Duesseldorf, Germany // // Contact: https://sxlib.mpie.d...
30.944
99
0.496768
ashtonmv
64edbf53d0c907a17531b431824a0921b05e2927
6,536
hh
C++
GeneralUtilities/inc/OwningPointerCollection.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
GeneralUtilities/inc/OwningPointerCollection.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
GeneralUtilities/inc/OwningPointerCollection.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#ifndef GeneralUtilities_OwningPointerCollection_hh #define GeneralUtilities_OwningPointerCollection_hh // // A class template to take ownership of a collection of bare pointers to // objects, to provide access to those objects and to delete them when the // container object goes out of scope. // // This is designed to...
27.812766
101
0.655141
lborrel
64ee53277ab5a72163a299848984f1413a0c879b
1,777
hpp
C++
shared_model/backend/plain/engine_log.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/backend/plain/engine_log.hpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/backend/plain/engine_log.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_SHARED_MODEL_PLAIN_ENGINE_LOG_HPP #define IROHA_SHARED_MODEL_PLAIN_ENGINE_LOG_HPP #include "interfaces/query_responses/engine_log.hpp" #include "interfaces/common_objects/types.hpp" namespace shared_mo...
29.616667
75
0.684299
Insafin
64f16b150a5787b3cee60de5b57c74eeadffac73
195
cpp
C++
Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi17-nguyendinhtrungduc dequy/dequy/bai2.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/*bai 2 S=1^2+2^2+3^2+.....+n^2 */ #include<stdio.h> int tong(int n){ if(n==1) return 1; else return n*n+tong(n-1); } int main(){ int n; scanf("%d",&n); int a = tong(n); printf("%d",a); }
13.928571
34
0.517949
ducyb2001
64f860a1779dd6f62b10b8bd6b8e7cb980053d67
14,853
cc
C++
components/viz/service/display/display_resource_provider_gl.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
components/viz/service/display/display_resource_provider_gl.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
components/viz/service/display/display_resource_provider_gl.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/service/display/display_resource_provider_gl.h" #include <vector> #include "base/dcheck_is_on.h" #include "base/trace_event/tra...
35.533493
80
0.729415
DamieFC
64fe14f3c6c3dc538ce9704a42d673d26f307aa9
844
cpp
C++
problems/483.Smallest_Good_Base/yin_opt_1.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/483.Smallest_Good_Base/yin_opt_1.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/483.Smallest_Good_Base/yin_opt_1.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
// Optimized Brute Force // Time Complexity O(1) // Space Complexity O(1) class Solution { public: string smallestGoodBase(string n) { unsigned long long val = stoull(n); int maxdigits = 60; // log(10^18, 2) <= 60 // int maxdigits = ceil((long double)log(val) / (long double)log(2)); // min bas...
40.190476
137
0.542654
subramp-prep
64ff2b7560463b0cc2cfd8afa46d17f74d3bddfe
3,308
cpp
C++
ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
ocs2_robotic_examples/ocs2_nadia/src/constraint/EndEffectorLinearConstraint.cpp
james-p-foster/ocs2
8f1da414ba9ebb94ad1e8dd9bd513dbb9cc462fa
[ "BSD-3-Clause" ]
null
null
null
#include "ocs2_nadia/constraint/EndEffectorLinearConstraint.h" namespace ocs2 { namespace legged_robot { EndEffectorLinearConstraint::EndEffectorLinearConstraint(const EndEffectorKinematics<scalar_t>& endEffectorKinematics, size_t numConstraints, Config config)...
46.591549
124
0.674123
james-p-foster
64ff86bb1abd98bcc80d11f3bf21964ffda6bf5d
102
hpp
C++
include/libelfxx/sys_types.hpp
syoch/libelfxx
b8717d48f21012df079a05956186296f434f82bc
[ "MIT" ]
null
null
null
include/libelfxx/sys_types.hpp
syoch/libelfxx
b8717d48f21012df079a05956186296f434f82bc
[ "MIT" ]
1
2021-07-04T09:16:49.000Z
2021-07-04T09:16:49.000Z
include/libelfxx/sys_types.hpp
syoch/libelfxx
b8717d48f21012df079a05956186296f434f82bc
[ "MIT" ]
1
2021-11-26T23:14:02.000Z
2021-11-26T23:14:02.000Z
#pragma once enum ClassType { class32 = 1, class64 = 2 }; enum Endian { Little = 1, Big = 2 };
9.272727
14
0.588235
syoch
64ffedd24923217129d2d81a58942531afcfffaa
13,569
cpp
C++
cpp/tests/experimental/mg_bfs_test.cpp
goncaloperes/cugraph
d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0
[ "Apache-2.0" ]
null
null
null
cpp/tests/experimental/mg_bfs_test.cpp
goncaloperes/cugraph
d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0
[ "Apache-2.0" ]
null
null
null
cpp/tests/experimental/mg_bfs_test.cpp
goncaloperes/cugraph
d4decff28d1f9b15a95c4bd25a6da21c2ed42ce0
[ "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 ...
41.495413
99
0.644336
goncaloperes
8f0319c8fc93b9a0d9f9a1eb51b7f3a9146c280c
275
hpp
C++
simulator/version.hpp
xuanruiqi/et2-java
1e82b3a26f6eeb1054da8244173666d107de38ca
[ "BSD-2-Clause" ]
1
2019-05-29T06:35:58.000Z
2019-05-29T06:35:58.000Z
simulator/version.hpp
xuanruiqi/et2-java
1e82b3a26f6eeb1054da8244173666d107de38ca
[ "BSD-2-Clause" ]
22
2018-04-04T23:05:09.000Z
2019-04-20T00:04:03.000Z
simulator/version.hpp
RedlineResearch/QTR-tool
7838a726b66c990b5278e7f9f5d4c642ed43775d
[ "BSD-2-Clause" ]
2
2018-03-30T19:35:07.000Z
2019-04-19T23:38:17.000Z
#ifndef _VERSION_H #define _VERSION_H extern const char *build_git_time; extern const char *build_git_sha; // From Stackoverflow: // http://stackoverflow.com/questions/1704907/how-can-i-get-my-c-code-to-automatically-print-out-its-git-version-hash #endif /* _VERSION_H */
25
117
0.778182
xuanruiqi
8f07528ecd91228eef5326d3d528862b1f6ffe35
170
cpp
C++
CodeChef/Easy-Problems/TEST.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
7
2018-11-08T11:39:27.000Z
2020-09-10T17:50:57.000Z
CodeChef/Easy-Problems/TEST.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
null
null
null
CodeChef/Easy-Problems/TEST.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
2
2019-09-16T14:34:03.000Z
2019-10-12T19:24:00.000Z
#include <iostream> using namespace std; int main(){ int num; cin>>num; while(!(num == 42)){ cout<<num<<"\n"; cin>>num; } return 0; }
14.166667
24
0.482353
annukamat
8f0790cc93f4d594f6f87818ee8d2261670fd344
12,406
cpp
C++
test/StressTestClients/TestStressTestClient.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
test/StressTestClients/TestStressTestClient.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
test/StressTestClients/TestStressTestClient.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
30.784119
80
0.586249
natronkeltner
8f07dfbf5bfa333b4f55400f2924f908231cecb4
5,557
cpp
C++
iceoryx_utils/test/moduletests/test_cxx_helplets.cpp
dotChris90/iceoryx
9a71b9274d60f5665375e67d142e79660c4c8365
[ "Apache-2.0" ]
null
null
null
iceoryx_utils/test/moduletests/test_cxx_helplets.cpp
dotChris90/iceoryx
9a71b9274d60f5665375e67d142e79660c4c8365
[ "Apache-2.0" ]
null
null
null
iceoryx_utils/test/moduletests/test_cxx_helplets.cpp
dotChris90/iceoryx
9a71b9274d60f5665375e67d142e79660c4c8365
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 by Apex AI Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
28.792746
109
0.755983
dotChris90
8f089cd4b779573677570eeb9519ee49c84f0435
795
cpp
C++
src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp
bartkessels/GetIt
8adde91005d00d83a73227a91b08706657513f41
[ "MIT" ]
16
2020-09-07T18:53:39.000Z
2022-03-21T08:15:55.000Z
src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp
bartkessels/GetIt
8adde91005d00d83a73227a91b08706657513f41
[ "MIT" ]
23
2017-03-29T21:21:43.000Z
2022-03-23T07:27:55.000Z
src/gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.cpp
bartkessels/GetIt
8adde91005d00d83a73227a91b08706657513f41
[ "MIT" ]
4
2020-06-15T12:51:10.000Z
2021-09-05T20:50:46.000Z
#include "gui/widget/BodyWidget/RawBodyTab/RawBodyTabView.hpp" #include "./ui_RawBodyTabView.h" using namespace getit::gui::widget::BodyWidget; RawBodyTabView::RawBodyTabView(QWidget* parent): QWidget(parent), ui(new Ui::RawBodyTabView()) { ui->setupUi(this); } RawBodyTabView::~RawBodyTabView() { del...
22.083333
72
0.72956
bartkessels
8f0aae5ef2fb431e62be4fae3a33b1d5bd52d29e
1,174
hh
C++
gazebo/gui/model/GraphScene_TEST.hh
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
887
2020-04-18T08:43:06.000Z
2022-03-31T11:58:50.000Z
gazebo/gui/model/GraphScene_TEST.hh
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
462
2020-04-21T21:59:19.000Z
2022-03-31T23:23:21.000Z
gazebo/gui/model/GraphScene_TEST.hh
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
421
2020-04-21T09:13:03.000Z
2022-03-30T02:22:01.000Z
/* * Copyright (C) 2015 Open Source Robotics Foundation * * 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 appl...
27.952381
75
0.736797
traversaro
557f2b58794d0d4e0f9604d125de0a6bc6e95df8
1,830
cpp
C++
Source/Tetris3D/Tetris3DSpawner.cpp
dingjun/Tetris3D
66adfa23a8fb94376553dcc890fd0a61d9e8c297
[ "MIT" ]
null
null
null
Source/Tetris3D/Tetris3DSpawner.cpp
dingjun/Tetris3D
66adfa23a8fb94376553dcc890fd0a61d9e8c297
[ "MIT" ]
null
null
null
Source/Tetris3D/Tetris3DSpawner.cpp
dingjun/Tetris3D
66adfa23a8fb94376553dcc890fd0a61d9e8c297
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Tetris3DSpawner.h" #include "Tetris3DTetromino.h" #include "Tetris3DGameMode.h" #include "Engine/World.h" // Sets default values ATetris3DSpawner::ATetris3DSpawner() { // Set this actor to call Tick() every frame. You can turn...
24.4
115
0.727322
dingjun
557f74abe6322e2eeeab60c9ae0dfc457bcfa204
1,304
cpp
C++
CMinus/CMinus/node/list_node.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/node/list_node.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/node/list_node.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
#include "../logic/runtime.h" #include "list_node.h" cminus::node::list::list(object *parent, const std::vector<std::shared_ptr<object>> &value) : object(parent), value_(value){} cminus::node::list::list(object *parent, std::vector<std::shared_ptr<object>> &&value) : object(parent), value_(std::move(value)){} cmin...
26.612245
103
0.697853
benbraide
557fc58ce0b623b4afaa2af211a1f90c521732bd
1,924
hpp
C++
Sniper.hpp
dvirs12345/cpp-wargame2
084f93e124b723730d716379282bdd1bf394d3ea
[ "MIT" ]
null
null
null
Sniper.hpp
dvirs12345/cpp-wargame2
084f93e124b723730d716379282bdd1bf394d3ea
[ "MIT" ]
null
null
null
Sniper.hpp
dvirs12345/cpp-wargame2
084f93e124b723730d716379282bdd1bf394d3ea
[ "MIT" ]
null
null
null
// Author - Dvir Sadon #include "Soldier.hpp" #include "Board.hpp" #define MAX_HEALTHS 100 #define DPAS 50 #pragma once using namespace std; namespace WarGame { class Sniper : public Soldier { public: int dpa; Sniper(){ this->hp = MAX_HEALTHS; this->dpa = DPAS; this->maxHP = M...
37
143
0.43815
dvirs12345
55820b931ae22cd1c3a397d4abb4bb91b4f731c3
1,515
cpp
C++
src/utils/ComplexCalculator.cpp
nolasconapoleao/complex-library
cbf4ee14739a42a9f6880440ad37a1854cbad8f5
[ "MIT" ]
null
null
null
src/utils/ComplexCalculator.cpp
nolasconapoleao/complex-library
cbf4ee14739a42a9f6880440ad37a1854cbad8f5
[ "MIT" ]
1
2020-02-19T21:12:21.000Z
2020-02-19T21:12:21.000Z
src/utils/ComplexCalculator.cpp
nolasconapoleao/complex-library
cbf4ee14739a42a9f6880440ad37a1854cbad8f5
[ "MIT" ]
null
null
null
#include "../complex/RectangularComplex.h" #include "../complex/PolarComplex.h" #include "ComplexConverter.cpp" namespace complex { inline RectangularComplex operator+(RectangularComplex rc1, RectangularComplex rc2) { const double real = rc1.getReal() + rc2.getReal(); const double imaginary = rc1....
37.875
89
0.671947
nolasconapoleao
5584b10f0ac21752110b8cf5c25a9075ec19cf44
23
cpp
C++
CudaTest/CudaTest.cpp
chenzhengxi/example
07a8436e92ccab8e330d2a77e2cca23b8a540df3
[ "MIT" ]
null
null
null
CudaTest/CudaTest.cpp
chenzhengxi/example
07a8436e92ccab8e330d2a77e2cca23b8a540df3
[ "MIT" ]
null
null
null
CudaTest/CudaTest.cpp
chenzhengxi/example
07a8436e92ccab8e330d2a77e2cca23b8a540df3
[ "MIT" ]
null
null
null
int CudaTest() { }
5.75
14
0.478261
chenzhengxi
5587f0d801da097b18d89797e2ed364a87ec2c39
7,393
cpp
C++
ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
ARM/ST/STM32L4xx/src/i2c_stm32l4xx.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
/**------------------------------------------------------------------------- @file i2c_stm32l4xx.cpp @brief I2C implementation on STM32L4xx series MCU @author Hoang Nguyen Hoan @date Sep. 5, 2019 @license Copyright (c) 2019, I-SYST inc., all rights reserved Permission to use, copy, modify, and distribute this soft...
24.976351
85
0.710943
tmaltesen
558848098a7f26a6f3528ea53ac0c3411668a351
4,584
cpp
C++
srcs/cgi/Cgi.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
null
null
null
srcs/cgi/Cgi.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
6
2021-04-17T10:28:23.000Z
2021-05-02T09:51:32.000Z
srcs/cgi/Cgi.cpp
NeuggWebserv/webserv
0b90c362239761f561a0db8b03da4c4586a44197
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Cgi.cpp :+: :+: :+: ...
27.95122
104
0.535558
NeuggWebserv
5589864eb0b9da27235090e3be5ead4587c55c20
1,330
cpp
C++
E11/E11B.cpp
tomhickey888/CS2014-CS1
61ad3a54e5dd4c591049fb0916d459f06beee578
[ "MIT" ]
null
null
null
E11/E11B.cpp
tomhickey888/CS2014-CS1
61ad3a54e5dd4c591049fb0916d459f06beee578
[ "MIT" ]
null
null
null
E11/E11B.cpp
tomhickey888/CS2014-CS1
61ad3a54e5dd4c591049fb0916d459f06beee578
[ "MIT" ]
null
null
null
//Hickey, Thomas Matzen Fall 2013 Exercise 11 B //Overview: Gets a file name from the user and reads from the file the number of numbers // to be averaged and the numbers themselves, then displays the average. Stores // the numbers in an array and then displays them in reverse order. //Compiler Used...
22.166667
102
0.621053
tomhickey888
558a3d69356d7d3ef7643277e86e3a6b9d8b6655
1,746
cpp
C++
src/io/position_sensor.cpp
armeenm/terradecerpea
7e64dc3b539061ad0a9e37ca5ec2e236376cfcc3
[ "0BSD" ]
null
null
null
src/io/position_sensor.cpp
armeenm/terradecerpea
7e64dc3b539061ad0a9e37ca5ec2e236376cfcc3
[ "0BSD" ]
null
null
null
src/io/position_sensor.cpp
armeenm/terradecerpea
7e64dc3b539061ad0a9e37ca5ec2e236376cfcc3
[ "0BSD" ]
null
null
null
#include "io/position_sensor.h" #include <ilanta/control/pose.hpp> #include <spdlog/fmt/bundled/core.h> #include <spdlog/spdlog.h> #include <stdexcept> #include <string> constexpr int MAX_RESP_SIZE = 1000; PositionSensor::PositionSensor(plhm::DevType dev_type) : sensor_(plhm::DevHandle(nullptr, dev_type)) { sp...
30.103448
90
0.662658
armeenm
55947a783c75b740e572a4d65c9e6e913d77f08f
373
hpp
C++
internal/states/common/helper/helper.hpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/states/common/helper/helper.hpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/states/common/helper/helper.hpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
#pragma once #include <map> #include <vector> #include "./../../../bufs/bufs.hpp" namespace CommonStateHelper { extern std::map<int, bool> key_handlers; extern std::vector<int> key_exceptions; bool isKeyException(int ch); void setKeyHandled(int ch); bool isKeyHandled(int ch); void resetKe...
16.954545
44
0.678284
YarikRevich
55972b851352520c2b14283bdff07d19935cad7a
12,562
cpp
C++
examples/bin_detector/odkex_bin_detector.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
4
2019-12-20T18:21:03.000Z
2020-09-08T05:16:53.000Z
examples/bin_detector/odkex_bin_detector.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
13
2020-07-01T19:35:08.000Z
2022-03-18T13:58:06.000Z
examples/bin_detector/odkex_bin_detector.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
3
2020-07-28T06:50:56.000Z
2022-02-24T10:32:52.000Z
// Copyright DEWETRON GmbH 2019 #include "odkfw_properties.h" #include "odkfw_software_channel_plugin.h" #include "odkapi_channel_dataformat_xml.h" #include "odkapi_software_channel_xml.h" #include "odkapi_utils.h" #include <array> #include <cmath> #include <string.h> //Parser should support an optional "DewetronPlu...
37.610778
138
0.644643
HpLightcorner
5599b8826f8c180eff0bc3135e0bdb6a5df03d2f
9,540
cpp
C++
modules/gapi/test/streaming/gapi_streaming_utils_test.cpp
nowireless/opencv
1fcc4c74fefee4f845c0d57799163a1cbf36f654
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/gapi/test/streaming/gapi_streaming_utils_test.cpp
nowireless/opencv
1fcc4c74fefee4f845c0d57799163a1cbf36f654
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/gapi/test/streaming/gapi_streaming_utils_test.cpp
nowireless/opencv
1fcc4c74fefee4f845c0d57799163a1cbf36f654
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2021 Intel Corporation #include "../test_precomp.hpp" #include "../common/gapi_streaming_tests_common.h...
27.335244
90
0.639203
nowireless
559b4005f0ef690b1c4d9f57ed4106a932c51a21
3,622
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/designer/src/components/taskmenu/taskmenu_component.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/designer/src/components/taskmenu/taskmenu_component.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/designer/src/components/taskmenu/taskmenu_component.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid com...
38.531915
89
0.754279
GrinCash
559c4e03cefccc68eb93a3968d0a50406130ec9f
2,544
cpp
C++
src/bt-luaengine/app-src/render/SimpleSpriteRenderer.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
10
2015-04-07T22:23:31.000Z
2016-03-06T11:48:32.000Z
src/bt-luaengine/app-src/render/SimpleSpriteRenderer.cpp
robdoesstuff/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
3
2015-05-17T10:45:48.000Z
2016-07-29T18:34:53.000Z
src/bt-luaengine/app-src/render/SimpleSpriteRenderer.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
4
2015-05-03T03:00:48.000Z
2016-03-03T12:49:01.000Z
/* * BatteryTech * Copyright (c) 2010 Battery Powered Games LLC. * * This code is a component of BatteryTech and is subject to the 'BatteryTech * End User License Agreement'. Among other important provisions, this * license prohibits the distribution of source code to anyone other than * authorized parti...
33.038961
196
0.702044
puretekniq
559dca1edb60826065bdd054d771fac58ae39db4
10,655
cpp
C++
src/core/Identifier.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
1
2015-11-05T12:09:37.000Z
2015-11-05T12:09:37.000Z
src/core/Identifier.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
src/core/Identifier.cpp
grealish/opentxs
614999063079f5843428abcaa62974f5f19f88a1
[ "Apache-2.0" ]
null
null
null
/************************************************************ * * OTIdentifier.cpp * */ /************************************************************ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, Protocol...
34.370968
80
0.687565
grealish
559e6db528b6a5249ba3dfd042f1591dd2d781fe
4,122
cpp
C++
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Debugger/set_xmm_scratches_before_breakpoint_and_set_xmm_reg.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Debugger/set_xmm_scratches_before_breakpoint_and_set_xmm_reg.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Debugger/set_xmm_scratches_before_breakpoint_and_set_xmm_reg.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
/* * Copyright (C) 2012-2021 Intel Corporation. * SPDX-License-Identifier: MIT */ #include "pin.H" #include <stdio.h> KNOB< BOOL > KnobUseIargConstContext(KNOB_MODE_WRITEONCE, "pintool", "const_context", "0", "use IARG_CONST_CONTEXT"); KNOB< std::string > KnobOutputFileName(KNOB_MODE_WRITEONCE, "pintool", "output_...
30.087591
123
0.624697
ArthasZhang007