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
1fc95d0aadecd40818e99d9d6f7727a1ef32315d
596
cpp
C++
binary-search/binary_search.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
1
2022-02-04T19:22:58.000Z
2022-02-04T19:22:58.000Z
binary-search/binary_search.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
null
null
null
binary-search/binary_search.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
null
null
null
#include "binary_search.h" #include <algorithm> #include <stdexcept> using namespace std; namespace binary_search { int find(vector <int> v, int key) { sort(v.begin(), v.end()); int first = 0; int last = v.size() - 1; while (first <= last) { if (v[(first + last) / 2] == key) { return (f...
19.225806
42
0.536913
aydinsimsek
1fc9874e28b560c0716ca47cf04fcab29e04ea94
3,486
cpp
C++
leetcode/2157/solution_4_1.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
leetcode/2157/solution_4_1.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
leetcode/2157/solution_4_1.cpp
mkmark/leetcode
638a9d37fb3223107d2852ce493d831996a7649e
[ "MIT" ]
null
null
null
/* author: mark@mkmark.net time: O() space: O() Runtime: 1270 ms, faster than 64.18% of C++ online submissions for Groups of Strings. Memory Usage: 68.5 MB, less than 69.73% of C++ online submissions for Groups of Strings. */ // profiled #include <bits/stdc++.h> using namespace std; class disjoint_set { public: ...
24.208333
100
0.468158
mkmark
1fca9e88a75f99b52e4f3db97003bff3fe704254
151,337
cpp
C++
cslbuild/generated-c/u37.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
cslbuild/generated-c/u37.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
cslbuild/generated-c/u37.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
// $destdir/u37.c Machine generated C code // $Id: 1fca9e88a75f99b52e4f3db97003bff3fe704254 $ #include "config.h" #include "headers.h" // Code for lessppair static LispObject CC_lessppair(LispObject env, LispObject v_2, LispObject v_3) { env = qenv(env); #if 0 // Start of trac...
26.065622
123
0.576819
arthurcnorman
1fcc7e469e970f97ae9d90ed18bb7ae530a941e9
5,453
cpp
C++
src/Cube/CubePlayer.cpp
austinkinross/rubiks-cube-solver
dac8c375502a2c002e3797a549d04b4e31e9e9c2
[ "MIT" ]
25
2015-09-02T10:25:51.000Z
2022-02-26T03:50:51.000Z
src/Cube/CubePlayer.cpp
austinkinross/rubiks-cube-solver
dac8c375502a2c002e3797a549d04b4e31e9e9c2
[ "MIT" ]
1
2018-02-13T12:59:04.000Z
2018-02-13T12:59:04.000Z
src/Cube/CubePlayer.cpp
austinkinross/rubiks-cube-solver
dac8c375502a2c002e3797a549d04b4e31e9e9c2
[ "MIT" ]
11
2017-05-06T09:40:21.000Z
2021-04-21T04:09:15.000Z
#include "pch.h" #include "CubePlayer.h" CubePlayer::CubePlayer(CubePlayerDesc* desc) { mCube = new Cube(); mDesc = *desc; Reset(); bPaused = false; if (mDesc.populateColors) { mPlaybackState = PLAYBACK_STATE_POPULATING_COLORS; mFoldingAngle = 3.141592653f / 2; // Set all the faces to be nearly black...
33.048485
203
0.537502
austinkinross
1fcdd8cfaef7342c56d5f667712a70cc23694a8a
3,749
cc
C++
agenda.cc
Ralusama19/AgendaPRO2
fcbf56a4ef28d06b85845671c847725deb4e8ed0
[ "MIT" ]
1
2016-01-16T10:17:20.000Z
2016-01-16T10:17:20.000Z
agenda.cc
Ralusama19/Agenda
fcbf56a4ef28d06b85845671c847725deb4e8ed0
[ "MIT" ]
null
null
null
agenda.cc
Ralusama19/Agenda
fcbf56a4ef28d06b85845671c847725deb4e8ed0
[ "MIT" ]
null
null
null
/** @file agenda.cc @brief Codi de la classe Agenda */ #include "agenda.hh" void Agenda::escriu(string expressio, map<Rellotge,Activitat>::iterator& principi, map<Rellotge,Activitat>::iterator& final, bool passat){ //Buidem el menu abans de cada consulta menu.clear(); int i = 1; for(map<Rello...
28.618321
117
0.656175
Ralusama19
1fd01218c9038aeae853bee03be5380b47ef88dc
845
cpp
C++
clang/test/CoverageMapping/branch-templates.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
clang/test/CoverageMapping/branch-templates.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/CoverageMapping/branch-templates.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// Test that branch regions are generated for conditions in function template // instantiations. // RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++11 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name branch-templates.cpp %s | FileCheck %s template<typename T> vo...
25.606061
197
0.628402
mkinsner
1fd019f5eae961b527c7274325f4a3aa76ad6f4b
476
hpp
C++
libs/media/impl/include/sge/media/impl/log_name.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/media/impl/include/sge/media/impl/log_name.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/media/impl/include/sge/media/impl/log_name.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_MEDIA_IMPL_LOG_NAME_HPP_INCLUDED #define SGE_MEDIA_IMPL_LOG_NAME_HPP_INCLUDED #include...
22.666667
61
0.743697
cpreh
1fd2c78f8f8cb0adda77f14cbe70d968e5983560
7,815
hpp
C++
Code/Libs/Math/Bits.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
Code/Libs/Math/Bits.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
8
2016-11-17T00:39:03.000Z
2016-11-29T14:46:27.000Z
Code/Libs/Math/Bits.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
#pragma once #include "../Platform/Platform.hpp" #include "../Core/TypeTraits.hpp" namespace Ax { namespace Math { /// Unsigned bit-shift right template< typename tInt > inline tInt BitShiftRightU( tInt x, tInt y ) { static_assert( TIsInt< tInt >::value, "Integer type required" ); typedef typename TMakeUnsig...
22.456897
74
0.595777
NotKyon
1fd6a24b8cf03fef98d6657d9a9156ecfbc97a68
2,650
hxx
C++
OCC/inc/TDataXtd_Axis.hxx
cy15196/FastCAE
0870752ec2e590f3ea6479e909ebf6c345ac2523
[ "BSD-3-Clause" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/TDataXtd_Axis.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
33
2019-11-13T18:09:51.000Z
2021-11-26T17:24:12.000Z
opencascade/TDataXtd_Axis.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 2009-04-06 // Created by: Sergey ZARITCHNY // Copyright (c) 2009-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1...
26.767677
128
0.753962
cy15196
1fdadc0b7096a0bea6af82390e209a511cde7b36
299
cpp
C++
Library/Library.prj/TBButton.cpp
rrvt/RWracesDB
4f01fed973df7dfb7ec516b2969b20fc6744d7fe
[ "MIT" ]
null
null
null
Library/Library.prj/TBButton.cpp
rrvt/RWracesDB
4f01fed973df7dfb7ec516b2969b20fc6744d7fe
[ "MIT" ]
1
2020-05-01T00:37:31.000Z
2020-05-01T00:37:31.000Z
Library/Library.prj/TBButton.cpp
rrvt/RWracesDB
4f01fed973df7dfb7ec516b2969b20fc6744d7fe
[ "MIT" ]
1
2020-02-25T09:11:37.000Z
2020-02-25T09:11:37.000Z
// Toolbar Button (i.e. MFC Tool Bar Button) #include "stdafx.h" #include "TBButton.h" TBButton::TBButton(uint id) : CMFCToolBarButton(id, -1) { } void TBButton::install(TCchar* caption) {m_nStyle = TBBS_BUTTON | TBBS_AUTOSIZE; m_strText = caption; m_bText = true; m_bImage = false;}
21.357143
104
0.692308
rrvt
1fdce391236ceb9548c8c08c8d69194200f2a895
5,023
cpp
C++
src/cpp/Device.cpp
pongasoft/re-cva-7
62b80f681e75b64a98cce87ad64084712d1c3a36
[ "Apache-2.0" ]
9
2020-02-17T18:43:32.000Z
2020-04-06T04:10:25.000Z
src/cpp/Device.cpp
pongasoft/re-cva-7
62b80f681e75b64a98cce87ad64084712d1c3a36
[ "Apache-2.0" ]
3
2020-05-16T14:00:37.000Z
2020-09-20T15:26:38.000Z
src/cpp/Device.cpp
pongasoft/re-cva-7
62b80f681e75b64a98cce87ad64084712d1c3a36
[ "Apache-2.0" ]
2
2020-02-17T18:43:36.000Z
2020-05-16T09:58:42.000Z
#include "Device.h" #include <logging/logging.h> Device::Device(int iSampleRate): CommonDevice(), fFirstBatch(true), fPreviousDeviceState(iSampleRate), fCurrentDeviceState(iSampleRate) { DLOG_F(INFO, "Device()"); #ifn...
30.442424
150
0.715509
pongasoft
1fde1f386c04c4a1f8a36b5e634b98ea9cd96fbe
2,788
hh
C++
LiteCore/RevTrees/RevID.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
1
2019-04-17T07:41:04.000Z
2019-04-17T07:41:04.000Z
LiteCore/RevTrees/RevID.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
1
2020-03-17T11:11:30.000Z
2020-03-17T11:11:30.000Z
LiteCore/RevTrees/RevID.hh
cedseat/couchbase-lite-core
451cdfcf527073c595c7cc389f1bd70694e215fb
[ "Apache-2.0" ]
null
null
null
// // RevID.hh // // Copyright (c) 2014 Couchbase, 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://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
32.8
95
0.607245
cedseat
1fe04dedb05770bc65276832e1c58bef77e13ee6
21,489
cpp
C++
source/Lib/TLibEncoder/SEIEncoder.cpp
henryhuang329/h266
ff05b4a10abe3e992a11e5481fa86bc671574a3b
[ "BSD-3-Clause" ]
9
2019-10-30T06:29:33.000Z
2021-11-19T08:34:08.000Z
source/Lib/TLibEncoder/SEIEncoder.cpp
hexiaoyi95/DL-HM-16.6-JEM-7.0-dev
80206bf91a2be1c62589bee0af4ca4251d0a7e09
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TLibEncoder/SEIEncoder.cpp
hexiaoyi95/DL-HM-16.6-JEM-7.0-dev
80206bf91a2be1c62589bee0af4ca4251d0a7e09
[ "BSD-3-Clause" ]
2
2019-03-29T15:14:34.000Z
2019-04-27T10:46:40.000Z
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2015, ITU/ISO/IEC * All rights r...
46.014989
236
0.742799
henryhuang329
1fe196daf49ff9a792ec33c15fcb291198ba2599
1,785
cpp
C++
Antiplagiat/Antiplagiat/bin/Debug/10806.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
1
2015-07-04T14:45:32.000Z
2015-07-04T14:45:32.000Z
Antiplagiat/Antiplagiat/bin/Debug/10806.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
Antiplagiat/Antiplagiat/bin/Debug/10806.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstring> #include <vector> #include <set> #include <map> #include <algorithm> #include <iomanip> #include <cstdio> #include <ctime> #include <functional> #include <iterator> #include <complex> #include <queue> #include <cassert> #include <sstream> #include <cstdlib> using namespace std; ...
20.517241
61
0.442017
DmitryTheFirst
1fe2bb489e8d44f5d70bbf26d34f9a9dfb270ddb
17,794
hpp
C++
include/System/TermInfoDriver.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/TermInfoDriver.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/TermInfoDriver.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.IConsoleDriver #include "System/IConsoleDriver.hpp" // Includi...
41.189815
2,128
0.664943
darknight1050
1fe3576d02d756694334f39319acc9930986a1f8
32,597
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_filesystems_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_ipv4_filesystems_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_ipv4_filesystems_cfg { Rcp::Rcp() : rcp_client(std::ma...
26.850906
173
0.675277
CiscoDevNet
1fe37d5624e6daa686b0129838d3a3034e0ac3f9
5,521
cpp
C++
Lecture4/main.cpp
zhang-zx/Computer-Aided-Design
82f2b38c8209245761a8adcd6e1f75368057c7c6
[ "MIT" ]
null
null
null
Lecture4/main.cpp
zhang-zx/Computer-Aided-Design
82f2b38c8209245761a8adcd6e1f75368057c7c6
[ "MIT" ]
null
null
null
Lecture4/main.cpp
zhang-zx/Computer-Aided-Design
82f2b38c8209245761a8adcd6e1f75368057c7c6
[ "MIT" ]
null
null
null
#include <iostream> // GLAD #include <glad.h> // GLFW #include <glfw3.h> // GLM Mathematics #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> // Other includes #include "shader.h" // Function prototypes void key_callback(GLFWwindow* window, int key, int scancode, int a...
31.19209
176
0.675059
zhang-zx
1fe62d70db20f26857b21e63f7bd5509d9cfa45e
1,854
cpp
C++
src/Text.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
src/Text.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
src/Text.cpp
Alissa0101/CI628
f3401e9ea6a90d59572c4f079d27461148aab075
[ "MIT" ]
null
null
null
#include "Text.h" void Text::init(int xInit, int yInit, int fontSizeInit, bool boundRightInit, SDL_Color colorInit){ color = colorInit; x = xInit; y = yInit; fontSize = fontSizeInit; boundRight = boundRightInit; font = TTF_OpenFont("Assets/pong.ttf", fontSize); } void Text::setText(std::stri...
25.39726
116
0.612729
Alissa0101
1fe766bf3be4e0571c3110346d7aaef3306c4513
979
cpp
C++
27_remove/remove.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
27_remove/remove.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
27_remove/remove.cpp
neojou/leetcode_cplusplus
760232172c1e753ee13c376038c8e7b41f6cded7
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <algorithm> #include <vector> #include <unordered_map> #include <thread> #include <mutex> #include <condition_variable> using namespace std; template <typename T> void print_vector(vector<T> const &v) { cout << "["; for (auto it = v.begin(); it != v.end(); i...
18.471698
52
0.52094
neojou
1fea83f0b0aee856dcf4f75f6cfbd3c63c033ec7
3,309
cpp
C++
src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.h" #include "chapter_06_algorithms_and_data_structures/phone_numbers.h" #include "rtc/print.h" #include <algorithm> // erase_if, transform #include <fmt/ostream.h> #include <fmt/ranges.h> #include <functional> // re...
37.602273
121
0.64249
rturrado
1ff91a9753c47b7d114de191c3ae4a4a29d83fd1
2,217
cpp
C++
src/gtpV2Codec/ieClasses/epcTimerIe.cpp
badhrinathpa/openmme
6975dc7ba007cd111fdce8e8f64d3d52bef0a625
[ "Apache-2.0" ]
46
2019-02-19T07:47:54.000Z
2022-03-12T13:16:26.000Z
src/gtpV2Codec/ieClasses/epcTimerIe.cpp
omec-project/openmme
181ee0a2a16fe4eea1b84986477f37d6ebbe55c3
[ "Apache-2.0" ]
71
2019-03-03T02:22:33.000Z
2020-10-07T22:34:25.000Z
src/gtpV2Codec/ieClasses/epcTimerIe.cpp
badhrinathpa/openmme
6975dc7ba007cd111fdce8e8f64d3d52bef0a625
[ "Apache-2.0" ]
38
2019-02-19T06:36:40.000Z
2021-07-17T14:35:50.000Z
/* * epcTimerIe.cpp * * Revisit header later * Author: hariharanb */ #include "epcTimerIe.h" #include "dataTypeCodecUtils.h" EpcTimerIe::EpcTimerIe() { ieType = 156; // TODO } EpcTimerIe::~EpcTimerIe() { // TODO Auto-generated destructor stub } bool EpcTimerIe::encodeEpcTimerIe(MsgBuffer &bu...
25.193182
89
0.649977
badhrinathpa
1ffcf852d9b042489b6ec50e9d04a6df8bec03f3
6,167
cpp
C++
src/application/test_yolo_map.cpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
537
2021-10-03T10:51:49.000Z
2022-03-31T10:07:05.000Z
src/application/test_yolo_map.cpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
52
2021-10-04T09:05:35.000Z
2022-03-31T07:35:22.000Z
src/application/test_yolo_map.cpp
hito0512/tensorRT_Pro
d577fbab615a3d84cb50824d2418655659fd61af
[ "MIT" ]
146
2021-10-11T00:46:19.000Z
2022-03-31T02:19:37.000Z
#include <builder/trt_builder.hpp> #include <infer/trt_infer.hpp> #include <common/ilogger.hpp> #include <common/json.hpp> #include "app_yolo/yolo.hpp" #include <vector> #include <string> using namespace std; static const char* cocolabels[] = { "person", "bicycle", "car", "motorcycle", "airplane", "bus", "tr...
34.452514
149
0.587157
hito0512
1ffd58b46b8d05e4695749e984a01dd8c8b2e5be
1,707
cc
C++
coset.cc
MadPidgeon/Graph-Isomorphism
30fb35a6faad8bda0663d49aff2fca1f2f69c56d
[ "MIT" ]
null
null
null
coset.cc
MadPidgeon/Graph-Isomorphism
30fb35a6faad8bda0663d49aff2fca1f2f69c56d
[ "MIT" ]
null
null
null
coset.cc
MadPidgeon/Graph-Isomorphism
30fb35a6faad8bda0663d49aff2fca1f2f69c56d
[ "MIT" ]
null
null
null
#include <stdexcept> #include <iostream> #include "coset.h" #include "group.h" #include "permutation.h" #include "ext.h" Group Coset::supergroup() const { return _G; } Group Coset::subgroup() const { return _H; } bool Coset::isRightCoset() const { return _right; } const Permutation& Coset::representative() const...
25.477612
137
0.674282
MadPidgeon
1ffe2843c6a414142cadc13f523a0ede6464f440
753
hpp
C++
poo/tema2/arbore_oarecare.hpp
FloaterTS/teme-fmi
624296d3b3341f1c18fb26768e361ce2e1faa68c
[ "MIT" ]
54
2020-03-17T10:00:15.000Z
2022-03-31T06:40:30.000Z
poo/tema2/arbore_oarecare.hpp
florinalexandrunecula/teme-fmi
b4d7a416a5ca71b76d66b9407ad2b8ee2af9301e
[ "MIT" ]
null
null
null
poo/tema2/arbore_oarecare.hpp
florinalexandrunecula/teme-fmi
b4d7a416a5ca71b76d66b9407ad2b8ee2af9301e
[ "MIT" ]
59
2020-01-22T11:39:59.000Z
2022-03-28T00:19:06.000Z
#pragma once #include "arbore.hpp" #include "nod_fiu_frate.hpp" /// Arbore oarecare in reprezentare inlantuita class ArboreOarecare : public Arbore { NodFiuFrate* rad; const Nod* getRadacina() const; public: /// Construieste un nou arbore vid ArboreOarecare(); ArboreOarecare(const ArboreOarecar...
25.1
88
0.706507
FloaterTS
1fffb3f0211b6425028dd3500cab786e788a2019
7,950
cpp
C++
src/calibrationfilter.cpp
elvisdukaj/calibration_filter
2c2c0e9023994977d3d5550f3673e60baadf16eb
[ "BSD-2-Clause" ]
null
null
null
src/calibrationfilter.cpp
elvisdukaj/calibration_filter
2c2c0e9023994977d3d5550f3673e60baadf16eb
[ "BSD-2-Clause" ]
null
null
null
src/calibrationfilter.cpp
elvisdukaj/calibration_filter
2c2c0e9023994977d3d5550f3673e60baadf16eb
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2017 Elvis Dukaj // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publis...
30.113636
122
0.619623
elvisdukaj
95019acff0b42b3b77a730c4be4450b8d3b45c09
4,117
cpp
C++
bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp
cowlicks/library-physics
dd314011132430fcf074a9a1633b24471745cf92
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library ▸ Physics /// @file LibraryPhysicsPy/Environment/Objects/Celestial.cpp /// @author Lucas Brémond <lucas@loftorbi...
44.268817
282
0.564732
cowlicks
9506265b265d32b0372b9e77ce96ec2d9806cdc4
10,239
cc
C++
src/table_file_iterator.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
157
2019-12-27T18:12:19.000Z
2022-03-27T13:34:52.000Z
src/table_file_iterator.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
11
2020-01-02T18:30:33.000Z
2021-09-28T03:10:09.000Z
src/table_file_iterator.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
32
2019-12-28T18:17:27.000Z
2021-12-24T02:05:10.000Z
/************************************************************************ Copyright 2017-2019 eBay Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2...
28.600559
82
0.589608
tobecontinued
9507904b1fb189149a19d72c8f53d83af78b66a9
547
hpp
C++
src/canvas.hpp
kalsipp/SDL-turbo-enigma
f5883e5b766ea701a5343bc36d21d078eeba0e79
[ "MIT" ]
null
null
null
src/canvas.hpp
kalsipp/SDL-turbo-enigma
f5883e5b766ea701a5343bc36d21d078eeba0e79
[ "MIT" ]
null
null
null
src/canvas.hpp
kalsipp/SDL-turbo-enigma
f5883e5b766ea701a5343bc36d21d078eeba0e79
[ "MIT" ]
null
null
null
#pragma once #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL_mixer.h> #include "logger.hpp" #include "texture.hpp" class Texture; class Canvas{ public: Canvas(); ~Canvas(); void addTexture(Texture * ); void paint(); void clear(); SDL_Surface * getSurface(); SDL_Rend...
21.038462
34
0.709324
kalsipp
950ab831ac04f4f87452086c91d9aa28a35b4d4a
341
cpp
C++
Sandbox/test.cpp
pr0me7heu2/CSCI_121
001cdb29b94b94b29417a494e4d0fca4af38c138
[ "Apache-2.0" ]
2
2020-09-15T04:03:40.000Z
2020-10-14T01:37:32.000Z
Sandbox/test.cpp
pr0me7heu2/CSCI_121
001cdb29b94b94b29417a494e4d0fca4af38c138
[ "Apache-2.0" ]
null
null
null
Sandbox/test.cpp
pr0me7heu2/CSCI_121
001cdb29b94b94b29417a494e4d0fca4af38c138
[ "Apache-2.0" ]
null
null
null
// // Created by bryan on 2/10/19. // #include <iostream> #include <cassert> int main() { using namespace std; int n1, n2; cout << "how many" << endl; cin >> n1 >> n2; //assert(n1 > 0); cout <<"n1 is not bigger than zero." << endl; cout << "here they are." << endl; cout << n1 << ...
12.62963
49
0.513196
pr0me7heu2
950f5165090f49a1c8c9e98b5fc7957bac9ab7b0
749
hpp
C++
Feather/src/Feather.hpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
Feather/src/Feather.hpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
Feather/src/Feather.hpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Precompiled.hpp" #include "Core/Time.hpp" #include "Core/Event.hpp" #include "Core/Layer.hpp" #include "Core/Application.hpp" #include "Debug/Log.hpp" #include "Debug/Assert.hpp" #include "Input/Key.hpp" #include "Input/Input.hpp" #include "Input/Mouse.hpp" #include "Math/Bool.hpp" #include...
20.243243
33
0.740988
pedrolmcastro
95118a49614bed4fafb6a6e67d39fc851ec2076e
2,230
cpp
C++
201804/dec201804_1.cpp
jibsen/aocpp2018
fdaa1adfd12963ef8f530bbe3f8542843486e1c9
[ "MIT" ]
2
2020-04-26T17:31:29.000Z
2020-10-03T00:54:15.000Z
201804/dec201804_1.cpp
jibsen/aocpp2018
fdaa1adfd12963ef8f530bbe3f8542843486e1c9
[ "MIT" ]
null
null
null
201804/dec201804_1.cpp
jibsen/aocpp2018
fdaa1adfd12963ef8f530bbe3f8542843486e1c9
[ "MIT" ]
null
null
null
// // Advent of Code 2018, day 4, part one // #include <algorithm> #include <array> #include <cstdio> #include <iostream> #include <map> #include <numeric> #include <string> #include <vector> using Event = std::pair<long long, std::string>; using SleepSchedule = std::vector<std::pair<int, int>>; bool get_timestamp(l...
20.09009
98
0.638565
jibsen
951782d3d7d71d56e25e75b5d02271395d29c296
812
cc
C++
LeetCode/Hard/waterTrap.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Hard/waterTrap.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Hard/waterTrap.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int trap(vector<int> &height) { int left = 0, right = height.size() - 1; int ans = 0; int left_max = 0, right_max = 0; while (left < right) { if (height[left] < height[right]...
26.193548
110
0.439655
ChakreshSinghUC
951908950b6eb51f9420cfd4e39482a835803e3a
3,169
cc
C++
whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
1,333
2019-01-27T03:46:51.000Z
2022-03-31T05:28:23.000Z
whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
59
2019-02-01T09:57:25.000Z
2022-03-09T09:40:33.000Z
whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc
QiYueColdRain/whale
ab62303c8146d7a79f89c7b26a6625cbcf65b0f9
[ "Apache-2.0" ]
309
2019-01-29T11:41:14.000Z
2022-03-31T06:10:38.000Z
#include "dbi/x86/instruction_rewriter_x86.h" #include "instruction_rewriter_x86_64.h" #include "dbi/x86/distorm/distorm.h" #include "dbi/x86/distorm/mnemonics.h" #define __ masm_-> namespace whale { namespace x86_64 { constexpr static const unsigned kRIP_index = 74; void X86_64InstructionRewriter::Rewrite() { ...
28.294643
84
0.561691
QiYueColdRain
951a7b5a163b16a75c84f4de27a1baff6d6ef171
3,697
cpp
C++
src/Subsystems/Mechanisms.cpp
3197Software/2018Season
5454ea97234ee5bf63b434302744c40785262356
[ "MIT" ]
3
2018-04-06T14:28:50.000Z
2018-04-06T14:33:27.000Z
src/Subsystems/Mechanisms.cpp
3197Software/2018Season
5454ea97234ee5bf63b434302744c40785262356
[ "MIT" ]
null
null
null
src/Subsystems/Mechanisms.cpp
3197Software/2018Season
5454ea97234ee5bf63b434302744c40785262356
[ "MIT" ]
1
2019-01-20T07:57:38.000Z
2019-01-20T07:57:38.000Z
#include "Mechanisms.h" #include "../Commands/AuxiliaryMotors.h" #include "../RobotMap.h" #include <math.h> #include "WPILib.h" #include "ctre/Phoenix.h" #define MAXRPM 534 #define LARGE_AMOUNT_OF_CURRENT 50 #define PEAK_CLAW_CURRENT 5 Mechanisms::Mechanisms() : Subsystem("AuxiliaryMotors") { winchA = new WPI...
29.34127
79
0.760887
3197Software
951d9f59a64e608eb91f1ff4f913522fd8eed1db
1,701
hpp
C++
src/Data/GradedNote.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
19
2020-02-28T20:34:12.000Z
2022-01-28T20:18:25.000Z
src/Data/GradedNote.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
7
2019-10-22T09:43:16.000Z
2022-03-12T00:15:13.000Z
src/Data/GradedNote.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
5
2019-10-22T08:14:57.000Z
2021-03-13T06:32:04.000Z
#pragma once #include <optional> #include <SFML/System/Time.hpp> #include "../Resources/Marker.hpp" #include "Note.hpp" namespace Data { enum class Judgement { Perfect, Great, Good, Poor, Miss, }; bool judgement_breaks_combo(Judgement j); Resources::MarkerAn...
32.711538
120
0.623163
Subject38
951ed4e530557eab827025ca97ae5acb3333b393
937
cc
C++
src/common/gm_apply_compiler_stage.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
58
2015-02-06T00:50:43.000Z
2021-12-03T07:13:13.000Z
src/common/gm_apply_compiler_stage.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
1
2022-01-19T19:04:09.000Z
2022-01-19T19:04:09.000Z
src/common/gm_apply_compiler_stage.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
16
2015-02-18T01:30:57.000Z
2021-01-09T03:59:33.000Z
#include "gm_frontend.h" bool gm_apply_compiler_stage(std::list<gm_compile_step*>& LIST) { bool is_okay = true; std::list<gm_compile_step*>::iterator I; int i = 0; // for each compilation step for (I = LIST.begin(); I != LIST.end(); I++, i++) { gm_compile_step* step = (*I); gm_begi...
24.025641
70
0.607257
messinguelethomas
9522e8d08863f9aa4c49cf3229343e65b9f4b1a9
4,997
cpp
C++
Cpp/ACM/2019NAQ/zLeak.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/ACM/2019NAQ/zLeak.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/ACM/2019NAQ/zLeak.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long l; #define fpp(i, a, b) for (i = a; i < b; i++) #define PB emplace_back #define C cout << #define E << "\n" #define _ << " " << #define gc getchar_unlocked #define fmm(i, a, b) for (i = b; i-- > a;) #define v(t) vector<t> typedef double o; #define dc(x) ...
21.538793
79
0.484691
kchevali
9525abcbf47687d65ffc49ab5cfe3f1b1fc363cd
8,377
cpp
C++
Tests/Source/UnitTests/ElementDocument.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
Tests/Source/UnitTests/ElementDocument.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
Tests/Source/UnitTests/ElementDocument.cpp
aquawicket/RmlUi
d56f17e49ca2ee88aadeb304228cd1eae14e3f51
[ "MIT" ]
null
null
null
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
28.886207
87
0.694282
aquawicket
95292ec38078ffd19f5b93f7713115960dc1251a
4,047
cpp
C++
zero_python/debug_event.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
2
2018-03-19T23:27:47.000Z
2018-06-24T16:15:19.000Z
zero_python/debug_event.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
null
null
null
zero_python/debug_event.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
1
2021-11-28T05:39:05.000Z
2021-11-28T05:39:05.000Z
// // $Id$ // // ------------------------------------------------------------------------- // This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu // // 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....
26.279221
77
0.56684
cristivlas
95296d8a08b2f3b48a7d9a22611c2407146b59ac
29,516
cpp
C++
src/pcre_check/PcreChecker.cpp
petabi/regexbench
51f602266bb1a509a8362cd9647b65cb24ea7100
[ "Apache-2.0" ]
11
2017-04-19T03:01:13.000Z
2020-08-03T05:21:31.000Z
src/pcre_check/PcreChecker.cpp
petabi/regexbench
51f602266bb1a509a8362cd9647b65cb24ea7100
[ "Apache-2.0" ]
14
2016-05-24T00:20:42.000Z
2019-02-11T18:36:36.000Z
src/pcre_check/PcreChecker.cpp
petabi/regexbench
51f602266bb1a509a8362cd9647b65cb24ea7100
[ "Apache-2.0" ]
4
2017-04-03T08:03:11.000Z
2019-08-20T04:48:50.000Z
#include <fstream> #include <iostream> #include <iterator> #include <map> #include <memory> #include <sstream> #include <utility> #include <vector> #include <boost/program_options.hpp> #include <hs/hs_compile.h> #include <hs/hs_runtime.h> #define PCRE2_CODE_UNIT_WIDTH 8 #include <pcre2.h> #include <rematch/compile.h> ...
31.4
80
0.604926
petabi
952a3563cf948c4b22142babed8fe5ecfe16cd60
341
cpp
C++
src/frontg8/error.cpp
frontg8/frontg8lib
c1c6a436ae6ddd6ad15b0270ac233cd9d19f33d8
[ "BSD-3-Clause" ]
3
2016-08-29T09:17:57.000Z
2016-10-18T05:01:25.000Z
src/frontg8/error.cpp
frontg8/frontg8lib
c1c6a436ae6ddd6ad15b0270ac233cd9d19f33d8
[ "BSD-3-Clause" ]
null
null
null
src/frontg8/error.cpp
frontg8/frontg8lib
c1c6a436ae6ddd6ad15b0270ac233cd9d19f33d8
[ "BSD-3-Clause" ]
null
null
null
#include "impl/error.hpp" #include "frontg8/error.h" extern "C" { FG8_DLL_EXPORT char const * fg8_error_message(fg8_error_t const error) { if(error) { return error->message.c_str(); } return NULL; } FG8_DLL_EXPORT void fg8_error_destroy(fg8_error_t const error) { dele...
14.826087
72
0.627566
frontg8
952cbc7eb26169d59db76921164bf6e0e80be9be
9,238
cpp
C++
test/decompiler/test_FormExpressionBuild2.cpp
joegoldin/jak-project
9969445cf78b43745b5910a2b09dbe6672f0ec92
[ "0BSD" ]
null
null
null
test/decompiler/test_FormExpressionBuild2.cpp
joegoldin/jak-project
9969445cf78b43745b5910a2b09dbe6672f0ec92
[ "0BSD" ]
null
null
null
test/decompiler/test_FormExpressionBuild2.cpp
joegoldin/jak-project
9969445cf78b43745b5910a2b09dbe6672f0ec92
[ "0BSD" ]
null
null
null
#include "gtest/gtest.h" #include "FormRegressionTest.h" using namespace decompiler; // tests stack variables TEST_F(FormRegressionTest, MatrixPMult) { std::string func = "sll r0, r0, 0\n" " daddiu sp, sp, -112\n" " sd ra, 0(sp)\n" " sq s5, 80(sp)\n" " sq gp, 96(sp)\n" ...
28.164634
94
0.38688
joegoldin
9531a43f49ea66a40cc1482392f437e9a03b6849
7,538
cpp
C++
CUDA/Example/7_CUDALibraries/conjugateGradient/main.cpp
lacie-life/ProgrammingLanguageCollection
bc8487b494e8af42838e30e1ca3e40f2112477cb
[ "MIT" ]
9
2016-04-06T02:48:16.000Z
2021-01-29T23:11:05.000Z
CUDA/Example/7_CUDALibraries/conjugateGradient/main.cpp
lacie-life/ProgrammingLanguageCollection
bc8487b494e8af42838e30e1ca3e40f2112477cb
[ "MIT" ]
null
null
null
CUDA/Example/7_CUDALibraries/conjugateGradient/main.cpp
lacie-life/ProgrammingLanguageCollection
bc8487b494e8af42838e30e1ca3e40f2112477cb
[ "MIT" ]
3
2017-01-11T16:34:35.000Z
2019-08-27T15:50:30.000Z
/* * Copyright 1993-2015 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
28.992308
137
0.606129
lacie-life
95327f0344b50e233bd4726c36c37b26d2e6fe74
5,608
cc
C++
tests/client.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
null
null
null
tests/client.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
null
null
null
tests/client.cc
kborkows/libiqxmlrpc
046ac8a55b1b674f7406442dee533e1ecbfbb88d
[ "BSD-2-Clause" ]
null
null
null
#define BOOST_TEST_MODULE test_client #include <stdlib.h> #include <openssl/md5.h> #include <iostream> #include <memory> #include <boost/test/test_tools.hpp> #include <boost/test/unit_test.hpp> #include "libiqxmlrpc/libiqxmlrpc.h" #include "libiqxmlrpc/http_client.h" #include "libiqxmlrpc/http_errors.h" #include "clien...
26.832536
96
0.709522
kborkows
953511a713690c1077b6f8891cdbe53b0f124127
9,760
cpp
C++
jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp
MeFisto94/test-bot-1
c761210e199fc2e3cae5db0b2fbf13043d8d4b48
[ "BSD-3-Clause" ]
3
2020-11-08T14:55:48.000Z
2021-09-28T08:33:26.000Z
jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp
MeFisto94/test-bot-1
c761210e199fc2e3cae5db0b2fbf13043d8d4b48
[ "BSD-3-Clause" ]
2
2020-09-24T22:09:36.000Z
2020-09-24T22:29:30.000Z
jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp
Akshita-tewatia/jmonkeyengine
ff4b8d6a3b953a6899e31b787cb91094bced9ae6
[ "BSD-3-Clause" ]
1
2017-08-31T15:17:31.000Z
2017-08-31T15:17:31.000Z
/* * Copyright (c) 2009-2019 jMonkeyEngine * 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 ...
43.766816
189
0.665984
MeFisto94
95388ef254ece677e4b85484eb47258c1b9b592a
931
cpp
C++
codes/TEAMSCODE/2020/TC_MOCK/2/9.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/TEAMSCODE/2020/TC_MOCK/2/9.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/TEAMSCODE/2020/TC_MOCK/2/9.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//code by daniel. aaron worked on this, but daniel's code was much cleaner #include <iostream> #include <vector> using namespace std; string s1, s2; string multiply(){ int len1 = s1.length(); int len2 = s2.length(); if (len1 == 0 || len2 == 0){ return "0"; } vector<int> v(len1 + len2, 0); int i1 = ...
14.777778
74
0.459721
chessbot108
953a02caf2851a8833b57cdab5b60749e31f2290
1,883
cpp
C++
cpp-leetcode/leetcode23-merge-k-sorted-lists.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode23-merge-k-sorted-lists.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode23-merge-k-sorted-lists.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include <iostream> #include <vector> #include <queue> #include <algorithm> using namespace std; /** * Definition for singly-linked list. */ struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) ...
22.416667
82
0.501859
yanglr
953e9b2d46dd7cf10559f005761e8c30362055e9
6,711
cpp
C++
20220108_json_parsing/ws_mng.cpp
3x3x3/Presentations
3c31b136ed4d9214bb3730fa41a4a575da38edc9
[ "MIT" ]
null
null
null
20220108_json_parsing/ws_mng.cpp
3x3x3/Presentations
3c31b136ed4d9214bb3730fa41a4a575da38edc9
[ "MIT" ]
null
null
null
20220108_json_parsing/ws_mng.cpp
3x3x3/Presentations
3c31b136ed4d9214bb3730fa41a4a575da38edc9
[ "MIT" ]
null
null
null
// ws_mng.cpp ////////////////////////////////////////////////////////////////////////////////////////////////////// #include "ws_mng.h" #include <string> #include <websocketpp/common/thread.hpp> ////////////////////////////////////////////////////////////////////////////////////////////////////// ConnMetadata::Conn...
39.245614
264
0.613917
3x3x3
953f8c953f12670d750c6c26ceb4291a089c7e17
3,446
cpp
C++
PolyRender/TransformationAdapterTest.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
null
null
null
PolyRender/TransformationAdapterTest.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
4
2021-08-31T22:03:39.000Z
2022-02-19T07:12:05.000Z
PolyRender/TransformationAdapterTest.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
1
2022-02-23T13:46:49.000Z
2022-02-23T13:46:49.000Z
#include "stdafx.h" #include "TransformationAdapterTest.h" #include "TransformationAdapter.h" #include "Line.h" #include "Intersect.h" #include "Maybe.h" #include "DummySolid.h" #include "Plane.h" #include "Auto.h" #include "Solid.h" std::string TransformationAdapterTest::Name() const { return "Transfor...
41.02381
113
0.713581
pauldoo
9541c1871a6635bb284608e103d81e3fd8c2e37a
3,316
cc
C++
code/SuffixArray_new.cc
tulsyan/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
32
2017-12-24T20:00:47.000Z
2021-04-09T14:53:25.000Z
code/SuffixArray_new.cc
Zindastart/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
null
null
null
code/SuffixArray_new.cc
Zindastart/ACM-ICPC-Handbook
fbadfd66017991d264071af3f2fa8e050e4f8e40
[ "MIT" ]
16
2017-12-13T14:35:27.000Z
2021-12-24T04:40:32.000Z
// Begins Suffix Arrays implementation // O(n log n) - Manber and Myers algorithm // SA = The suffix array. Contains the n suffixes of txt sorted in lexicographical order. // Each suffix is represented as a single integer (the SAition of txt where it starts). // iSA = The inverse of the suffix array. iSA[i] = th...
28.834783
95
0.528347
tulsyan
9542f2fa62e1c13870b3484a6ff2e59dd95a364b
1,939
cpp
C++
module04/ex03/main.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
module04/ex03/main.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
module04/ex03/main.cpp
mathias-mrsn/CPP_modules
726bb5bd25f5e366550c79e5f01aed1d3d95c7fc
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
29.830769
80
0.407942
mathias-mrsn
95454efe95736a10e0c0eb54ae565a60cf4f32a5
5,442
hpp
C++
src/ivorium_core/Instancing/Instance.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
3
2021-02-26T02:59:09.000Z
2022-02-08T16:44:21.000Z
src/ivorium_core/Instancing/Instance.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
src/ivorium_core/Instancing/Instance.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../Basics/LogId.hpp" #include "../Basics/SrcInfo.hpp" #include "../Basics/volatile_set.hpp" #include "../Basics/StringIO_defs.hpp" #include <unordered_set> #include <string> #include <sstream> #include <type_traits> #include <vector> #include <functional> #include <typeindex> #include <list> #i...
36.52349
143
0.564866
ivorne
9547d6faf5a19ef65bd54e4aeada5d3cc0e8e5b2
1,163
cpp
C++
Week 03 - Complexity/469A-I Wanna Be the Guy.cpp
AAlab1819/dennyraymond-01082170017
d4a278744b42aadf355aa3e5dc8fd849ead71da6
[ "MIT" ]
null
null
null
Week 03 - Complexity/469A-I Wanna Be the Guy.cpp
AAlab1819/dennyraymond-01082170017
d4a278744b42aadf355aa3e5dc8fd849ead71da6
[ "MIT" ]
null
null
null
Week 03 - Complexity/469A-I Wanna Be the Guy.cpp
AAlab1819/dennyraymond-01082170017
d4a278744b42aadf355aa3e5dc8fd849ead71da6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int gameLevel, xSolved, ySolved; int levelCanPassed; //total level cin>>gameLevel; int allLevels[gameLevel]; bool unsolved = false; //assign all level to 1, 1 indicate level that unsolved for(int i=0;i<gameLevel;i++){...
22.803922
60
0.550301
AAlab1819
954b05e24ee6b9d7467ec3bacb6ead43c4170edb
615
cc
C++
chrome/browser/automation/automation_resource_routing_delegate.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/automation/automation_resource_routing_delegate.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/automation/automation_resource_routing_delegate.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
// Copyright (c) 2010 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 "chrome/browser/automation/automation_resource_routing_delegate.h" void AutomationResourceRoutingDelegate::RegisterRenderViewHost( Rende...
30.75
75
0.821138
SlimKatLegacy
954c6b17697851a69064cb4947dde42d3c6fb6ad
2,094
cpp
C++
DlgDocGe.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
12
2019-06-07T10:06:41.000Z
2021-03-22T22:13:59.000Z
DlgDocGe.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
1
2019-05-09T07:38:12.000Z
2019-07-10T04:20:55.000Z
DlgDocGe.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
3
2020-09-08T08:27:33.000Z
2021-05-13T09:25:43.000Z
// DlgDocGe.cpp : implementation file // #include "stdafx.h" #include "audtest.h" #include "DlgDocGe.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgDocGeneral property page IMPLEM...
19.942857
77
0.674308
RDamman
9550b1d2bd8ebd57c23c65a69f4782dbb33270eb
2,585
cpp
C++
src/utils/bluetooth/socket_bluetooth_linux.cpp
Andrey1994/brainflow
6b776859fba6a629b1acd471ae5d1320bffe9ca5
[ "MIT" ]
53
2018-12-11T13:35:47.000Z
2020-04-21T00:08:13.000Z
src/utils/bluetooth/socket_bluetooth_linux.cpp
neuroidss/brainflow
c01ec6d4aa9a87cb75d99b464e43765fbeb5c1fe
[ "MIT" ]
14
2019-06-12T05:22:27.000Z
2020-04-20T19:14:44.000Z
src/utils/bluetooth/socket_bluetooth_linux.cpp
neuroidss/brainflow
c01ec6d4aa9a87cb75d99b464e43765fbeb5c1fe
[ "MIT" ]
9
2019-04-13T19:03:16.000Z
2020-04-07T16:42:20.000Z
#include "bluetooth_functions.h" #include "bluetooth_types.h" #include "socket_bluetooth.h" #include <fcntl.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/poll.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluet...
22.675439
80
0.629014
Andrey1994
9552c0a5e35e75fefcde2c42636cf1609ae032e3
3,422
cpp
C++
cmds/statsd/src/external/StatsPuller.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
cmds/statsd/src/external/StatsPuller.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
cmds/statsd/src/external/StatsPuller.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
30.283186
91
0.684395
rio-31
9553172cdf814db84af12100ee8324f8ba0d0472
1,879
cpp
C++
Src/MapEditor/vehiclepath.cpp
vox-1/MapEditor
f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e
[ "MIT" ]
null
null
null
Src/MapEditor/vehiclepath.cpp
vox-1/MapEditor
f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e
[ "MIT" ]
null
null
null
Src/MapEditor/vehiclepath.cpp
vox-1/MapEditor
f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "vehiclepath.h" using namespace graphic; using namespace tms; cVehiclePath::cVehiclePath() : m_idx(0) , m_velocity(10) , m_incTime(0) , m_initialDirection(0,0,1) , m_rotTime(0.333f) { m_path.reserve(32); } cVehiclePath::~cVehiclePath() { } bool cVehiclePath::SetPath(const vecto...
17.398148
83
0.653539
vox-1
9554eeba67fee4a1c1a7e99ea09a32575706a32e
539
cpp
C++
Samsung SW Expert Academy/2071.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
Samsung SW Expert Academy/2071.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
Samsung SW Expert Academy/2071.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
// 2071. 평균값 구하기 #include <iostream> #include <cmath> using namespace std; int main(void) { int n; cin >> n; for(int t = 1; t <= n; t++) { float temp2; int ans, temp; float sum = 0; for(int i = 0; i < 10; i++) { cin >> temp; sum += temp; ...
19.962963
47
0.397032
SiverPineValley
9555b8faf972198f583a9f3e42f82f755841be12
1,141
cpp
C++
third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "modules/payments/PaymentResponse.h" #include "bindings/core/v8/JSONValuesForV8.h" #include "modules/payments/PaymentCompleter.h" #include "wtf/...
27.829268
111
0.791411
maidiHaitai
95585e6b406ae394657489a38412eb01de9cfdae
2,316
cc
C++
src/codegen/codegen_function.cc
nitnelave/hopper
2d71fe2c9944b9cc8bc29ef8c4b9e068e7a54881
[ "BSD-3-Clause" ]
2
2017-07-27T14:08:43.000Z
2021-11-12T17:30:58.000Z
src/codegen/codegen_function.cc
nitnelave/hopper
2d71fe2c9944b9cc8bc29ef8c4b9e068e7a54881
[ "BSD-3-Clause" ]
61
2017-05-22T12:38:28.000Z
2017-09-21T08:10:46.000Z
src/codegen/codegen_function.cc
nitnelave/hopper
2d71fe2c9944b9cc8bc29ef8c4b9e068e7a54881
[ "BSD-3-Clause" ]
null
null
null
#include "codegen/codegen.h" #include "llvm/IR/CallingConv.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "ast/block_statement.h" #include "ast/function_call.h" #include "ast/function_declaration.h" #include "ast/return_statement.h" #include "ast/value.h" #include "ast/value_statement.h" ...
34.567164
80
0.685233
nitnelave
955c5571cb638173671c0632373109fd6717acb1
10,020
cpp
C++
src/main.cpp
lishi0927/BRDF
d9d2fc44b3d70d57a375dd85cb3624462874326a
[ "MIT" ]
null
null
null
src/main.cpp
lishi0927/BRDF
d9d2fc44b3d70d57a375dd85cb3624462874326a
[ "MIT" ]
null
null
null
src/main.cpp
lishi0927/BRDF
d9d2fc44b3d70d57a375dd85cb3624462874326a
[ "MIT" ]
null
null
null
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <iostream> #include <vector> // Include GLEW #include <GL/glew.h> // Include GLFW #include <glfw3.h> GLFWwindow* window; // Include GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> using namespace glm; #include "ground.h" ...
25.561224
144
0.694511
lishi0927
955ed946ec4b79f23915a2f23e7206f62d37a087
1,832
cpp
C++
examples/lennard_jones.cpp
PetterS/spii
98c5847223d7c3febea5a1aac6f4978dfef207ec
[ "BSD-2-Clause" ]
35
2015-03-03T16:21:40.000Z
2020-09-16T08:02:12.000Z
examples/lennard_jones.cpp
nashdingsheng/spii
3130d0dc43af8ae79d1fdf315a8b5fc05fe00321
[ "BSD-2-Clause" ]
2
2015-07-16T14:41:55.000Z
2018-04-09T19:27:22.000Z
examples/lennard_jones.cpp
nashdingsheng/spii
3130d0dc43af8ae79d1fdf315a8b5fc05fe00321
[ "BSD-2-Clause" ]
11
2015-09-21T23:09:37.000Z
2021-07-24T20:20:30.000Z
// Petter Strandmark 2012. // // See http://doye.chem.ox.ac.uk/jon/structures/LJ/tables.150.html // for best known minima for N <= 150. // #include <functional> #include <iomanip> #include <iostream> #include <random> #include <spii/auto_diff_term.h> #include <spii/solver.h> #include <spii/solver-callbacks.h> using ...
21.552941
73
0.621179
PetterS
95637a52191c30ceb46b0bb053029d76d08f1ef3
1,709
cpp
C++
src/etc/subclassing.cpp
rosasurfer/mt4-expander
dc2fb04aaaa62f4ba575d7c16a266169daac417a
[ "WTFPL" ]
25
2017-02-16T16:58:18.000Z
2021-12-06T06:42:54.000Z
src/etc/subclassing.cpp
rosasurfer/mt4-expander
dc2fb04aaaa62f4ba575d7c16a266169daac417a
[ "WTFPL" ]
5
2016-12-13T05:58:11.000Z
2020-09-23T17:49:33.000Z
src/etc/subclassing.cpp
rosasurfer/mt4-expander
dc2fb04aaaa62f4ba575d7c16a266169daac417a
[ "WTFPL" ]
26
2017-02-08T13:34:28.000Z
2022-03-12T10:53:41.000Z
#include "expander.h" HWND last_hWnd; WNDPROC origWndProc; /** * Custom window procedure */ LRESULT WINAPI CustomWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { debug("hWnd=%d, msg=%d, wParam=%p, lParam=%p", hWnd, msg, wParam, lParam); return(CallWindowProc(origWndProc, hWnd, msg, wParam, ...
31.648148
137
0.705091
rosasurfer
95690d6c582585067a8f90637256cc0f15103af2
562
cpp
C++
examples/cpp/factorial-recursion.cpp
vietnux/CodeEditorMobile
acd29a6a647342276eb557f3af579535092ab377
[ "Apache-2.0" ]
null
null
null
examples/cpp/factorial-recursion.cpp
vietnux/CodeEditorMobile
acd29a6a647342276eb557f3af579535092ab377
[ "Apache-2.0" ]
null
null
null
examples/cpp/factorial-recursion.cpp
vietnux/CodeEditorMobile
acd29a6a647342276eb557f3af579535092ab377
[ "Apache-2.0" ]
null
null
null
// C++ program to Calculate Factorial of a Number Using Recursion // Example to find factorial of a non-negative integer (entered by the user) using recursion. #include<iostream> using namespace std; int factorial(int n); int main() { int n; cout << "Enter a positive integer: "; cin >> n; cout << ...
18.733333
93
0.629893
vietnux
956a84f757664515ab460661f16b9a12aafdd4cd
1,476
cpp
C++
tests.boost/write_xml_with_property_tree.cpp
virgiliosanz/Tests
f24f210b7ef3ef8c8a6b3e915c33ce4f9cf26694
[ "Unlicense" ]
null
null
null
tests.boost/write_xml_with_property_tree.cpp
virgiliosanz/Tests
f24f210b7ef3ef8c8a6b3e915c33ce4f9cf26694
[ "Unlicense" ]
null
null
null
tests.boost/write_xml_with_property_tree.cpp
virgiliosanz/Tests
f24f210b7ef3ef8c8a6b3e915c33ce4f9cf26694
[ "Unlicense" ]
null
null
null
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> //<Root> // <Set Name="1"> // <Field Name="Hello 1"/> // <Field Name="World 1"/> // </Set> // <Set Name="2"> // <Field Name="Hello 2"/> // <Field Name="World 2"/> // </Set> //</Root> int main(int argc, char*...
28.941176
76
0.638211
virgiliosanz
956f75011ae92a722898e80f4d7008a1d951494b
382
cpp
C++
VeshApiBattle/battle.cpp
FireAlfa/VeshApi-BattleSystem
03356f77a61b69597870d7f4773f6744fd78c360
[ "MIT" ]
null
null
null
VeshApiBattle/battle.cpp
FireAlfa/VeshApi-BattleSystem
03356f77a61b69597870d7f4773f6744fd78c360
[ "MIT" ]
null
null
null
VeshApiBattle/battle.cpp
FireAlfa/VeshApi-BattleSystem
03356f77a61b69597870d7f4773f6744fd78c360
[ "MIT" ]
null
null
null
#include "battle.h" Battle::Battle(std::string _name) : name(_name) { } Battle::~Battle() { } void Battle::AddPlayer(Player* p) { if (!playerCreated) { players.insert(players.begin(), p); } playerCreated = true; } void Battle::CreateEnemy(std::string _name) { Player* p = new Player(_name); AddEnemy(p);...
11.575758
47
0.659686
FireAlfa
9570cc112d93525ede31d9eddaa9df7c358de5f0
433
cpp
C++
SOCTestProject/SOCTestProject/Code/main.cpp
Jin02/SOCEngine
7a04d914149783f54aecf2fbbc4e78a7325f0fbd
[ "MIT" ]
14
2015-12-24T03:08:59.000Z
2021-12-13T13:29:07.000Z
SOCTestProject/SOCTestProject/Code/main.cpp
Jin02/SOCEngine
7a04d914149783f54aecf2fbbc4e78a7325f0fbd
[ "MIT" ]
106
2015-08-16T10:32:47.000Z
2018-10-08T19:01:44.000Z
SOCTestProject/SOCTestProject/Code/main.cpp
Jin02/SOCEngine
7a04d914149783f54aecf2fbbc4e78a7325f0fbd
[ "MIT" ]
2
2018-03-02T06:17:08.000Z
2020-02-11T11:19:41.000Z
#include "Launcher.h" #include "TestScene.h" using namespace Core; using namespace Device; INT WINAPI wWinMain( HINSTANCE hInst, HINSTANCE, LPWSTR, INT ) { WinApp::Desc desc; { desc.rect = Rect<uint>(0, 0, 800, 600); desc.instance = hInst; desc.name = "Refactoring"; desc.windowMode = true; desc.isCh...
20.619048
62
0.681293
Jin02
957178ac2813ba9d6f9e33327ecb7f33df76a88d
823
hpp
C++
include/ecst/context/storage/component/chunk/impl/empty.hpp
SuperV1234/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
475
2016-05-03T13:34:30.000Z
2021-11-26T07:02:47.000Z
include/ecst/context/storage/component/chunk/impl/empty.hpp
vittorioromeo/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
28
2016-08-30T06:37:40.000Z
2017-11-24T11:14:07.000Z
include/ecst/context/storage/component/chunk/impl/empty.hpp
vittorioromeo/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
60
2016-05-11T22:16:15.000Z
2021-08-02T20:42:35.000Z
// Copyright (c) 2015-2016 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 // http://vittorioromeo.info | vittorio.romeo@outlook.com #pragma once #include <ecst/config.hpp> #include <ecst/aliases.hpp> ECST_CONTEXT_STORAGE_COMPONENT_NAMESPACE...
22.243243
62
0.589307
SuperV1234
9577a841090e2aca4c6844b31c2bee77695e9685
223
cpp
C++
src/kasm/externalLoaders.cpp
knoxaramav2/KASM
e678374e579768cc2c9654ee53225684198b00ad
[ "MIT" ]
null
null
null
src/kasm/externalLoaders.cpp
knoxaramav2/KASM
e678374e579768cc2c9654ee53225684198b00ad
[ "MIT" ]
null
null
null
src/kasm/externalLoaders.cpp
knoxaramav2/KASM
e678374e579768cc2c9654ee53225684198b00ad
[ "MIT" ]
null
null
null
#include "externalLoaders.hpp" #include "instructionRegistery.hpp" #include "controller.hpp" #include "graphics.hpp" void KASM::LoadGraphics(KASM::AsmController&ctrl){ KASM::GRAPHICS::InitGraphics(ctrl); }
24.777778
51
0.726457
knoxaramav2
9578f3f23f9322f4389a65f4c5994e22a9358967
9,323
cpp
C++
Filtering/Filtering/Probability_Functions.cpp
rnsheehan/Data_Filtering
d187c13065d32358a0ec3276dc0873bb539b02a3
[ "MIT" ]
null
null
null
Filtering/Filtering/Probability_Functions.cpp
rnsheehan/Data_Filtering
d187c13065d32358a0ec3276dc0873bb539b02a3
[ "MIT" ]
null
null
null
Filtering/Filtering/Probability_Functions.cpp
rnsheehan/Data_Filtering
d187c13065d32358a0ec3276dc0873bb539b02a3
[ "MIT" ]
null
null
null
#ifndef ATTACH_H #include "Attach.h" #endif // Implementation of a namespace that contains functions used to compute probabilities in Statistics // R. Sheehan 5 - 9 - 2017 double probability::gammln(double xx) { // Return the value of ln[gamma(xx)] for xx>0 try{ if(xx > 0.0){ double x,tmp,ser; static doubl...
23.84399
115
0.595731
rnsheehan
9579502c15e235c8d916c537e50edde00da63ec2
419
cpp
C++
Plugins/VisCreationHelper/Source/VisCreationHelper/Private/PerfomanceStats/VCHTimerCounter.cpp
Mihalo15z/VisCreationHelper
dcac82b304542a7d4768b2a292cc2408118bf4aa
[ "MIT" ]
null
null
null
Plugins/VisCreationHelper/Source/VisCreationHelper/Private/PerfomanceStats/VCHTimerCounter.cpp
Mihalo15z/VisCreationHelper
dcac82b304542a7d4768b2a292cc2408118bf4aa
[ "MIT" ]
null
null
null
Plugins/VisCreationHelper/Source/VisCreationHelper/Private/PerfomanceStats/VCHTimerCounter.cpp
Mihalo15z/VisCreationHelper
dcac82b304542a7d4768b2a292cc2408118bf4aa
[ "MIT" ]
1
2022-01-17T10:07:17.000Z
2022-01-17T10:07:17.000Z
#include "PerfomanceStats/VCHTimerCounter.h" DECLARE_LOG_CATEGORY_CLASS(VCH_PerfomansceLog, Log, All); FVCHTimeConter::FVCHTimeConter(const FString & InCounterInfo) :CounterInfo(InCounterInfo) { StartCicles = FPlatformTime::Cycles(); } FVCHTimeConter::~FVCHTimeConter() { UE_LOG(VCH_PerfomansceLog, Log, TEXT("%s: t...
29.928571
140
0.782816
Mihalo15z
957d6b554cc3aabcff4165c63897e11974d3a6fc
250
hpp
C++
dali/sasha/saxref.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
286
2015-01-03T12:45:17.000Z
2022-03-25T18:12:57.000Z
dali/sasha/saxref.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
9,034
2015-01-02T08:49:19.000Z
2022-03-31T20:34:44.000Z
dali/sasha/saxref.hpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
208
2015-01-02T03:27:28.000Z
2022-02-11T05:54:52.000Z
#ifndef SAXREFIF_HPP #define SAXREFIF_HPP interface ISashaServer; interface ISashaCommand; extern ISashaServer *createSashaXrefServer(); extern void processXRefRequest(ISashaCommand *cmd); extern ISashaServer *createSashaFileExpiryServer(); #endif
22.727273
51
0.848
miguelvazq
957e61b06d9c417500f98c7f6941d251f4aa958e
39,293
cc
C++
src/mica/test/netbench.cc
yxd886/mica2
32dc94af10c8f77c53b06a413e9a466bfc3910e3
[ "Apache-2.0" ]
null
null
null
src/mica/test/netbench.cc
yxd886/mica2
32dc94af10c8f77c53b06a413e9a466bfc3910e3
[ "Apache-2.0" ]
null
null
null
src/mica/test/netbench.cc
yxd886/mica2
32dc94af10c8f77c53b06a413e9a466bfc3910e3
[ "Apache-2.0" ]
null
null
null
/*- * BSD LICENSE * * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * 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 cod...
30.202152
220
0.599216
yxd886
9580c7627e712a3d93592d20d2cfb45532525717
17,564
cc
C++
src/ctm-cluster-io.cc
jurajHasik/pi-peps
69da1380a0971a2f1bc58f743553368e4353232d
[ "MIT" ]
12
2019-03-24T02:52:10.000Z
2020-03-19T01:38:07.000Z
src/ctm-cluster-io.cc
jurajHasik/p-ipeps
69da1380a0971a2f1bc58f743553368e4353232d
[ "MIT" ]
11
2019-02-22T09:39:21.000Z
2019-04-03T09:16:11.000Z
src/ctm-cluster-io.cc
jurajHasik/pi-peps
69da1380a0971a2f1bc58f743553368e4353232d
[ "MIT" ]
3
2019-07-24T10:26:52.000Z
2021-03-11T08:52:07.000Z
#include "pi-peps/config.h" #include "pi-peps/ctm-cluster-io.h" using namespace std; IO_ENV_FMT toIO_ENV_FMT(string const& ioFmt) { if (ioFmt == "IO_ENV_FMT_txt") return IO_ENV_FMT_txt; if (ioFmt == "IO_ENV_FMT_bin") return IO_ENV_FMT_bin; cout << "Unsupported IO_ENV_FMT" << std::endl; exit(EXIT_FAILU...
31.086726
80
0.584377
jurajHasik
9582a7a99cc88a427c7710ab064a6b9116c05ba3
428
hpp
C++
Source/Shader.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/Shader.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
Source/Shader.hpp
claytonkanderson/Fractus
c4012cc40ee81ac042edcc5461c48e02456bcbd0
[ "MIT" ]
null
null
null
// // Shader.hpp // Fracturing // // Created by Clayton Anderson on 4/16/17. // Copyright © 2017 Clayton Anderson. All rights reserved. // #pragma once #include <fstream> #include <iostream> #include <string> #include <vector> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/mat4x4.hpp> #include <glm/g...
20.380952
82
0.726636
claytonkanderson
9582df70e25512b93c6c1d0601032a3c4562f57f
14,410
cpp
C++
tools/quantization/opttools/quantized_model_optimize.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
2
2020-12-15T13:56:31.000Z
2022-01-26T03:20:28.000Z
tools/quantization/opttools/quantized_model_optimize.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
tools/quantization/opttools/quantized_model_optimize.cpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1
2021-11-24T06:26:27.000Z
2021-11-24T06:26:27.000Z
#include "MNN_generated.h" #include <MNN/MNNDefine.h> #include <fstream> #include <sstream> #include <memory> #include <map> #include <queue> #include <set> using namespace MNN; //#define OPT_SHAPE_TRANSFORM static bool reIndex(MNN::NetT* mNet) { std::map<int, int> usefulTensorIndexMap; std::vector<std::string>...
39.264305
119
0.540389
JujuDel
9585b39d1666335cf42c47767b455d9ffda41564
3,525
cpp
C++
DeferredShading/DeferredShading/Renderer.cpp
yanghyunchan/2014_OperationBluehole
188b61dea134d4f8e37aff514cda3601f5f2a294
[ "MIT" ]
null
null
null
DeferredShading/DeferredShading/Renderer.cpp
yanghyunchan/2014_OperationBluehole
188b61dea134d4f8e37aff514cda3601f5f2a294
[ "MIT" ]
null
null
null
DeferredShading/DeferredShading/Renderer.cpp
yanghyunchan/2014_OperationBluehole
188b61dea134d4f8e37aff514cda3601f5f2a294
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Renderer.h" #include "App.h" #include "Logger.h" #include "RSManager.h" #include "LightManager.h" Renderer::Renderer() { } Renderer::~Renderer() { DestroyDevice(); } BOOL Renderer::Init() { HWND hWnd = App::GetInstance()->GetHandleMainWindow(); if (!CreateDevic...
23.344371
114
0.704397
yanghyunchan
9587752c5a95185648b09b1a5feef0e5bc73ee54
8,501
cpp
C++
Chapter3/GL01_APIWrapping/src/GLAPITrace.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
399
2021-06-03T02:42:20.000Z
2022-03-27T23:23:15.000Z
Chapter3/GL01_APIWrapping/src/GLAPITrace.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
7
2021-07-13T02:36:01.000Z
2022-03-26T03:46:37.000Z
Chapter3/GL01_APIWrapping/src/GLAPITrace.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
53
2021-06-02T20:02:24.000Z
2022-03-29T15:36:30.000Z
#include <assert.h> #include "GL.h" #include "GLAPITrace.h" #define W( en ) if ( e == en ) return #en; std::string Enum2String(GLenum e) { /* BeginMode */ W(GL_POINTS); W(GL_LINES); W(GL_LINE_LOOP); W(GL_LINE_STRIP); W(GL_TRIANGLES); W(GL_TRIANGLE_STRIP); W(GL_TRIANGLE_FAN); /* BlendingFactorDest */ W(GL...
20.683698
52
0.764616
adoug
958aee21e7c750b5ee959a618c4143e6e3de7e78
1,005
cpp
C++
CPP/Hash&String/322/CoinChange.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Hash&String/322/CoinChange.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Hash&String/322/CoinChange.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
// // Created by Insomnia on 2018/8/2. // #include <iostream> #include <vector> using namespace std; class Solution { public: int coinChange(vector<int> &coins, int amount) { vector<int> dp; for (int i = 0; i <= amount; i++) { dp.push_back(-1); } dp[0] = 0; f...
20.510204
70
0.428856
Insofan
9590f35960698ec5baec6d3f40b7936858cd28b8
1,683
cpp
C++
enshellcode.cpp
3gstudent/Shellcode-Generater
ca992ef1a5493e908bce18327c3efc1aeeb4c5f4
[ "BSD-3-Clause" ]
61
2017-01-19T07:40:24.000Z
2022-03-14T18:56:27.000Z
enshellcode.cpp
3gstudent/Shellcode-Generater
ca992ef1a5493e908bce18327c3efc1aeeb4c5f4
[ "BSD-3-Clause" ]
null
null
null
enshellcode.cpp
3gstudent/Shellcode-Generater
ca992ef1a5493e908bce18327c3efc1aeeb4c5f4
[ "BSD-3-Clause" ]
35
2017-01-19T07:40:30.000Z
2022-03-14T18:56:30.000Z
#include <windows.h> size_t GetSize(char * szFilePath) { size_t size; FILE* f = fopen(szFilePath, "rb"); fseek(f, 0, SEEK_END); size = ftell(f); rewind(f); fclose(f); return size; } unsigned char* ReadBinaryFile(char *szFilePath, size_t *size) { unsigned char *p = NULL; FILE* f = NULL; size_t r...
21.0375
99
0.586453
3gstudent
9592d02e563645c92c3a5e5d1d2d1f8f557d9e2a
479
cpp
C++
CodeForces/Complete/700-799/706B-InterestingDrink.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/700-799/706B-InterestingDrink.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/700-799/706B-InterestingDrink.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> int main(){ const int N = 100100; long n; scanf("%ld\n", &n); std::vector<long> cumPrices(N + 1, 0); for(long p = 0; p < n; p++){ long x; scanf("%ld", &x); ++cumPrices[x]; } for(long p = 1; p <= N; p++){cumPrices[p] += cumPrices[p - 1];} ...
19.958333
67
0.455115
Ashwanigupta9125
959409ba62cd1e8917e85c78b22c441123c6ecd0
4,793
cc
C++
080-badterm/window.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
152
2016-02-04T10:40:46.000Z
2022-03-03T18:25:54.000Z
080-badterm/window.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
4
2016-03-11T23:49:46.000Z
2017-06-16T18:58:53.000Z
080-badterm/window.cc
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
48
2016-01-31T19:13:36.000Z
2021-09-03T19:50:17.000Z
#include "window.h" #include "context.h" bool TermWindow::InitX11() { static bool X11_initialized; // Not multi-threading safe. if (X11_initialized) { return true; } XInitThreads(); display_ = XOpenDisplay(NULL); if (display_ == nullptr) { fprintf(stderr, "XOpenDisplay: error\n"); return fa...
26.335165
78
0.665554
gynvael
d2e60056a68e23bf365edb4411447e7794d5552f
6,434
cpp
C++
tests/test_vec3.cpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
tests/test_vec3.cpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
tests/test_vec3.cpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
/* Unit tests for vec3 (util library). * * * * * * * * * * * * * * The MIT License (MIT) * * Copyright (c) 2019 Stephen Sorley * * 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 Softw...
28.981982
91
0.494871
stephen-sorley
d2e7346e5842d06158d5b731f4695a17f846f84c
1,080
cc
C++
src/commands/heapdump/heap_snapshot.cc
rickyes/xprofiler
536160b955daa36b6953f3856e11149218ef1390
[ "BSD-2-Clause" ]
249
2020-05-22T14:25:36.000Z
2022-03-29T02:30:18.000Z
src/commands/heapdump/heap_snapshot.cc
rickyes/xprofiler
536160b955daa36b6953f3856e11149218ef1390
[ "BSD-2-Clause" ]
97
2020-05-29T06:10:04.000Z
2022-03-31T10:14:59.000Z
src/commands/heapdump/heap_snapshot.cc
rickyes/xprofiler
536160b955daa36b6953f3856e11149218ef1390
[ "BSD-2-Clause" ]
39
2020-06-11T08:45:35.000Z
2022-03-15T07:29:53.000Z
#include "heap_snapshot.h" #include "../../library/writer.h" #include "../../logger.h" namespace xprofiler { using v8::OutputStream; class FileOutputStream : public OutputStream { public: FileOutputStream(FILE *stream) : stream_(stream) {} virtual int GetChunkSize() { return 65536; // big chunks == faster...
24
72
0.660185
rickyes
d2e7839d96e9324465863c5e0aeebbe4e48d3442
9,579
cpp
C++
build/moc/moc_VideoReceiver.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:53.000Z
2018-11-07T06:10:53.000Z
build/moc/moc_VideoReceiver.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
null
null
null
build/moc/moc_VideoReceiver.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:47.000Z
2018-11-07T06:10:47.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'VideoReceiver.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3) ** ** WARNING! All changes made in this file will be lost! *******************************************************...
33.493007
107
0.598288
UNIST-ESCL
d2e91391e42c5312372509b2bb141c1a7d383ec3
4,090
cpp
C++
src/gdb_server.cpp
Cytosine2020/neutron
1c3db597d8a4027a03f1201c0ffb255a831a246c
[ "MIT" ]
2
2020-09-03T13:36:55.000Z
2022-03-19T17:54:36.000Z
src/gdb_server.cpp
Cytosine2020/neutron
1c3db597d8a4027a03f1201c0ffb255a831a246c
[ "MIT" ]
null
null
null
src/gdb_server.cpp
Cytosine2020/neutron
1c3db597d8a4027a03f1201c0ffb255a831a246c
[ "MIT" ]
null
null
null
#include "gdb_server.hpp" #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <ostream> #include "neutron_utility.hpp" namespace neutron { bool GDBServer::Buffer::receive(int socket) { if (begin_ < end_ && begin_ > 0) { for (usize i = begin_; i < end_; ++i) { array[...
25.72327
96
0.51198
Cytosine2020
d2ea4e3b00573bdd4382469a615e62247c72b75d
645
hpp
C++
modules/procedural/source/blub/procedural/log/global.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
96
2015-02-02T20:01:24.000Z
2021-11-14T20:33:29.000Z
modules/procedural/source/blub/procedural/log/global.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
12
2016-06-04T15:45:30.000Z
2020-02-04T11:10:51.000Z
modules/procedural/source/blub/procedural/log/global.hpp
qwertzui11/voxelTerrain
05038fb261893dd044ae82fab96b7708ea5ed623
[ "MIT" ]
19
2015-09-22T01:21:45.000Z
2020-09-30T09:52:27.000Z
#ifndef BLUB_PROCEDURAL_LOG_GLOBAL_HPP #define BLUB_PROCEDURAL_LOG_GLOBAL_HPP #include "blub/log/global.hpp" #include "blub/log/globalLogger.hpp" #include "blub/log/logger.hpp" #include "blub/log/predecl.hpp" namespace blub { namespace procedural { namespace log { BLUB_LOG_GLOBAL_LOGGER(global, blub::log::logger) } ...
23.035714
95
0.795349
qwertzui11
d2ee01391bcdf7ee82c7a630fc56fcefc34731e7
7,327
cpp
C++
tester/g_ult/unit_tests/cpu/test_cases/cpu_layer_softmax.cpp
davenso/idlf
df34a6b88c1ff1880fbb2b58caccd6075dd414a5
[ "BSD-3-Clause" ]
1
2015-12-04T21:01:27.000Z
2015-12-04T21:01:27.000Z
tester/g_ult/unit_tests/cpu/test_cases/cpu_layer_softmax.cpp
davenso/idlf
df34a6b88c1ff1880fbb2b58caccd6075dd414a5
[ "BSD-3-Clause" ]
null
null
null
tester/g_ult/unit_tests/cpu/test_cases/cpu_layer_softmax.cpp
davenso/idlf
df34a6b88c1ff1880fbb2b58caccd6075dd414a5
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014, Intel Corporation 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 following disclaime...
31.718615
134
0.653746
davenso
d2f1e8a9a135b0da04a661fa80c256bcac7c48c1
9,611
cpp
C++
src/main.cpp
csc-std/routine
16e74628eb4815a816fb8eecbbe8e5fe2ad55daa
[ "MIT" ]
null
null
null
src/main.cpp
csc-std/routine
16e74628eb4815a816fb8eecbbe8e5fe2ad55daa
[ "MIT" ]
null
null
null
src/main.cpp
csc-std/routine
16e74628eb4815a816fb8eecbbe8e5fe2ad55daa
[ "MIT" ]
null
null
null
#include "util.h" using namespace UNITTEST ; namespace UNITTEST { template <class U> struct GN_sqrt_mFirstY { DOUBLE mFirstY ; Scope<GN_sqrt_mFirstY> mHandle ; explicit GN_sqrt_mFirstY (VREF<SyntaxTree> me) { me.mark_as_iteration () ; me.then (Function<void> ([&] () { mFirstY = me.later (TYPEAS<DOUBLE>::...
30.511111
103
0.655499
csc-std
d2f25c92265d7d680c5b5fb7187d406c4b75d3d4
3,451
cpp
C++
Sources/engine/engine/private/engine/Engine.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
20
2019-12-22T20:40:22.000Z
2021-07-06T00:23:45.000Z
Sources/engine/engine/private/engine/Engine.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
32
2020-07-11T15:51:13.000Z
2021-06-07T10:25:07.000Z
Sources/engine/engine/private/engine/Engine.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
3
2019-12-19T17:04:04.000Z
2021-05-17T01:49:59.000Z
#include "engine/Engine.h" #include "module/Module.h" #include "module/ModuleManager.h" #include "engine/TickSystem.h" #include "profiling/Profiling.h" #include "console/Console.h" #include <SDL.h> #include "engine/InputSystem.h" #include "module/Module.h" #include "assetdatabase/AssetDatabase.h" namespace ze { stati...
22.121795
133
0.722689
Zino2201
d2f2a2afd2e868f8c599c400ab9fbbe6f347e299
12,000
hpp
C++
src/utility.hpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/utility.hpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/utility.hpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
1
2020-04-11T12:20:00.000Z
2020-04-11T12:20:00.000Z
#pragma once #include "config.hpp" //string_view #include <bkassert/assert.hpp> #include <type_traits> #include <algorithm> #include <array> #include <functional> #include <utility> #include <memory> #include <cstddef> #include <cstdint> namespace boken { namespace detail { template <typename Container, typename C...
28.436019
101
0.6165
bkentel
d2f4085b5e1c59ada5e4bcd5fb22e6789fc4ebf7
7,936
cpp
C++
lib/essex/server/daemon.cpp
holtzermann17/Noosphere
7be63c122f778ef00e56ffe847a6d40d004527dd
[ "MIT" ]
1
2018-05-31T06:29:48.000Z
2018-05-31T06:29:48.000Z
lib/essex/server/daemon.cpp
holtzermann17/Noosphere
7be63c122f778ef00e56ffe847a6d40d004527dd
[ "MIT" ]
null
null
null
lib/essex/server/daemon.cpp
holtzermann17/Noosphere
7be63c122f778ef00e56ffe847a6d40d004527dd
[ "MIT" ]
1
2021-05-02T15:14:36.000Z
2021-05-02T15:14:36.000Z
#include <strstream> #include <pthread.h> #include <signal.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <assert.h> #include "daemon.h" // forward decl void* thread_handle (void *); /* these must be global so the term handler can get them */ pid_t childunix, childinet; vector<pid_t> c...
24.343558
104
0.635333
holtzermann17
d2f79d0ccf37336b91b25491691596d601dca514
49
cxx
C++
libs/cg_nui/surfel_container.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
libs/cg_nui/surfel_container.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
libs/cg_nui/surfel_container.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include "surfel_container.h" // TODO: implement
16.333333
29
0.755102
IXDdev
d2f9e5afc7cd122b4ed8de4a0ecd19ae123b127a
1,416
cpp
C++
AlphaEngine/Source/Scripting/LuaVar.cpp
Sh1ft0/alpha
6726d366f0c8d2e1434b87f815b2644ebf170adf
[ "Apache-2.0" ]
null
null
null
AlphaEngine/Source/Scripting/LuaVar.cpp
Sh1ft0/alpha
6726d366f0c8d2e1434b87f815b2644ebf170adf
[ "Apache-2.0" ]
null
null
null
AlphaEngine/Source/Scripting/LuaVar.cpp
Sh1ft0/alpha
6726d366f0c8d2e1434b87f815b2644ebf170adf
[ "Apache-2.0" ]
null
null
null
/** Copyright 2014-2015 Jason R. Wendlandt Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
27.230769
84
0.664548
Sh1ft0
d2fb38a80612a4f2ad85fa926c0fe4112c7295b9
716
hpp
C++
include/molecular.hpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
include/molecular.hpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
include/molecular.hpp
grasingerm/port-authority
51db6b09d6a1545eafeaf6be037a23d47313c490
[ "MIT" ]
null
null
null
#ifndef __MOLECULAR_HPP__ #define __MOLECULAR_HPP__ #include "pauth_types.hpp" #include "unordered_pair.hpp" #include <unordered_map> namespace pauth { enum class molecular_id { Ar, Cu, H, O, C, Test, Test1, Test2 }; using molecular_name_map = std::unordered_map<std::string, molecular_id>; extern const molecular_na...
25.571429
82
0.74162
grasingerm
d2fc6694e806eff7cb75ec1ac0068ab50dac916f
1,193
cpp
C++
datasets/github_cpp_10/3/129.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/3/129.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/3/129.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "tree_functions.cpp" template <class T> class avl_tree { private: tree_functions::node<T>* root; public: avl_tree(); avl_tree(T); bool empty(); void clear(); void insert(T); bool search(T); void remove(T); void print(); }; template <class T> av...
13.872093
40
0.626991
yijunyu
d2fdbae67a8cd06943148771f10792355ae5ab2c
1,299
cpp
C++
TOI16/Camp-3/old toi test/toi8/toi8_maze.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
TOI16/Camp-3/old toi test/toi8/toi8_maze.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
TOI16/Camp-3/old toi test/toi8/toi8_maze.cpp
mrmuffinnxz/TOI-preparation
85a7d5b70d7fc661950bbb5de66a6885a835e755
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define pi pair<int, int> using namespace std; int n, m, sx, sy, ex, ey; pi maze[151][151]; main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n >> m; cin >> sx >> sy; cin >> ex >> ey; sx--, sy--, ex--, ey--; for(int i=0;i<n;i++) for(int j=0;j<m;j++) { cin >> maze[i]...
17.32
124
0.474981
mrmuffinnxz
d2fe497101c59db89f5e757c5201f8312f339003
226
cpp
C++
acwing/0717.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
acwing/0717.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
acwing/0717.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
2
2020-01-01T13:49:08.000Z
2021-03-06T06:54:26.000Z
#include<iostream> using namespace std; int f[50]; int main(void){ int n; cin>>n; f[0] = 0; f[1] = 1; for(int i=2; i<n; i++){ f[i] = f[i-1]+f[i-2]; } for(int i=0; i<n; i++){ cout<<f[i]<<" "; } cout<<endl; }
9.826087
24
0.473451
zyzisyz
960141367d4754b84040d706d9eaf80e5a2ed5c2
2,408
cpp
C++
mainapp/Classes/Games/SentenceMaker/GreenDashedRect.cpp
JaagaLabs/GLEXP-Team-KitkitSchool
f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0
[ "Apache-2.0" ]
45
2019-05-16T20:49:31.000Z
2021-11-05T21:40:54.000Z
mainapp/Classes/Games/SentenceMaker/GreenDashedRect.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
10
2019-05-17T13:38:22.000Z
2021-07-31T19:38:27.000Z
mainapp/Classes/Games/SentenceMaker/GreenDashedRect.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
29
2019-05-16T17:49:26.000Z
2021-12-30T16:36:24.000Z
// // GreenDashedRect.cpp // KitkitSchool-mobile // // Created by JungJaehun on 13/02/2018. // #include "GreenDashedRect.hpp" #include "WordItem.hpp" GreenDashedRect* GreenDashedRect::create() { GreenDashedRect *popup = new (std::nothrow) GreenDashedRect(); if (popup && popup->init()) { popup->...
32.106667
132
0.697259
JaagaLabs