hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
12eb6eeb42c21021c2e64f47667a796fe5f93629
1,213
cpp
C++
63.unique-paths-ii.cpp
yihanYozikua/Leetcode-solutions
f4000ba231dd476d6e3c156a5cc9fdbafb7a85c4
[ "MIT" ]
null
null
null
63.unique-paths-ii.cpp
yihanYozikua/Leetcode-solutions
f4000ba231dd476d6e3c156a5cc9fdbafb7a85c4
[ "MIT" ]
null
null
null
63.unique-paths-ii.cpp
yihanYozikua/Leetcode-solutions
f4000ba231dd476d6e3c156a5cc9fdbafb7a85c4
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=63 lang=cpp * * [63] Unique Paths II */ // @lc code=start class Solution { public: int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) { int m = obstacleGrid.size(), n = obstacleGrid[0].size(); int temp[m][n]; if( obstacleGrid[0][0] == 1 || o...
25.808511
69
0.323166
yihanYozikua
12ec7191c0a7c315f7558947ba3ef52fab86ac1e
149
cpp
C++
ace/OS_NS_sys_shm.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/OS_NS_sys_shm.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/OS_NS_sys_shm.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
#include "ace/OS_NS_sys_shm.h" #if !defined (ACE_HAS_INLINED_OSCALLS) # include "ace/OS_NS_sys_shm.inl" #endif /* ACE_HAS_INLINED_OSCALLS */
21.285714
39
0.738255
azerothcore
12f8f7206ea483a3795ae4a22e7e267033c22520
2,154
cc
C++
hackt_docker/hackt/src/util/test/count_ptr_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/test/count_ptr_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/test/count_ptr_test.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "count_ptr_test.cc" Test program for checking reference-counted pointers. $Id: count_ptr_test.cc,v 1.8 2006/02/26 02:28:03 fang Exp $ */ #ifdef NDEBUG #undef NDEBUG #endif #include <iostream> #include <string> #include "var.hh" #include "util/memory/count_ptr.tcc" using std::string; #include "util/u...
22.206186
66
0.547354
broken-wheel
12fd8115d6db08489f1c4058d6ef2346a076ee9b
4,569
hpp
C++
sub_modules/NuGetPackages/boost.1.60.0.0/lib/native/include/boost/fusion/container/set/set.hpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
276
2015-01-08T04:09:51.000Z
2021-11-09T06:05:57.000Z
libs/boost/include/boost/fusion/container/set/set.hpp
dnevera/ofxiOSBoost
aae717bf8c5229f644057a17ccc971abf1c68bc3
[ "BSL-1.0" ]
37
2015-01-05T02:24:13.000Z
2022-02-24T09:18:43.000Z
libs/boost/include/boost/fusion/container/set/set.hpp
dnevera/ofxiOSBoost
aae717bf8c5229f644057a17ccc971abf1c68bc3
[ "BSL-1.0" ]
103
2015-01-11T15:16:01.000Z
2021-05-18T15:14:53.000Z
/*============================================================================= Copyright (c) 2014-2015 Kohei Takahashi 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) ========================================...
32.870504
89
0.599694
Zackmon
42053ffb6f5ebf50211fab029212441eb765006c
7,161
cpp
C++
examples/real_world/injector/manual_mapping/main.cpp
GabeRundlett/distant_core
613ec6a11f86a60fd68536b435b2032683b064e2
[ "Apache-2.0" ]
null
null
null
examples/real_world/injector/manual_mapping/main.cpp
GabeRundlett/distant_core
613ec6a11f86a60fd68536b435b2032683b064e2
[ "Apache-2.0" ]
null
null
null
examples/real_world/injector/manual_mapping/main.cpp
GabeRundlett/distant_core
613ec6a11f86a60fd68536b435b2032683b064e2
[ "Apache-2.0" ]
null
null
null
#include <distant/core.hpp> #include <iostream> #include <filesystem> #include <Windows.h> #include <TlHelp32.h> typedef HMODULE(__stdcall *pLoadLibraryA)(LPCSTR); typedef FARPROC(__stdcall *pGetProcAddress)(HMODULE, LPCSTR); typedef INT(__stdcall *dllmain)(HMODULE, DWORD, LPVOID); struct loaderdata { LPVOID Im...
44.75625
159
0.671694
GabeRundlett
4205470541eb839e95db8a472ef09c08668638ef
1,065
cpp
C++
acm/cf/20160109/C.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
17
2016-01-01T12:57:25.000Z
2022-02-06T09:55:12.000Z
acm/cf/20160109/C.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
null
null
null
acm/cf/20160109/C.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
8
2018-12-27T01:31:49.000Z
2022-02-06T09:55:12.000Z
#include<bits/stdc++.h> using namespace std; int aa[27]; int bb[27]; int qi[2500]; int ho[2500]; int main(){ string a,ar,b; cin>>a; cin>>b; ar = a; reverse(ar.begin(),ar.end()); int al = a.size(); int bl = b.size(); for(int i = 0;i<al;i++)aa[a[i]-'a'] = 1; for(int i = 0;i<bl;i++)bb[b[i]-'a'] = 1; for(int i =...
23.152174
83
0.497653
xiaohuihuigh
420a5d42c4bf3fbc6acc626bdee9282ca81c2674
8,439
cpp
C++
TuranEditor/EditorSource/Editors/Properties_Window.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
6
2020-05-01T16:26:27.000Z
2021-10-05T02:39:41.000Z
TuranEditor/EditorSource/Editors/Properties_Window.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
TuranEditor/EditorSource/Editors/Properties_Window.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
#include "Properties_Window.h" #include <string> using namespace TuranAPI::Game_Object; using namespace TuranAPI::IMGUI; using namespace TuranAPI::File_System; ResourceProperties_Window::ResourceProperties_Window(TuranAPI::File_System::Resource_Type* resource) : IMGUI_WINDOW(resource->NAME) { RESOURCE = resource; } ...
39.995261
192
0.762294
furkanxdgs4
420b041d3058ca29289d77800b4dd8e9791cb149
533
cpp
C++
src/platforms/dummy/dummynetworkwatcher.cpp
vvalceanu/mozilla-vpn-client
bd682c5b7b12bb49e1b1c555f1ca973484b8ce5a
[ "MIT" ]
222
2020-11-21T05:55:56.000Z
2022-03-29T16:20:03.000Z
src/platforms/dummy/dummynetworkwatcher.cpp
vvalceanu/mozilla-vpn-client
bd682c5b7b12bb49e1b1c555f1ca973484b8ce5a
[ "MIT" ]
1,893
2020-11-16T19:31:50.000Z
2022-03-31T21:51:31.000Z
src/platforms/dummy/dummynetworkwatcher.cpp
vvalceanu/mozilla-vpn-client
bd682c5b7b12bb49e1b1c555f1ca973484b8ce5a
[ "MIT" ]
68
2020-11-19T19:08:16.000Z
2022-03-25T20:07:59.000Z
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "dummynetworkwatcher.h" #include "leakdetector.h" DummyNetworkWatcher::DummyNetworkWatcher(QObject* pare...
29.611111
70
0.761726
vvalceanu
420cf6b457a1f496d48ff6fcb6e0ac0e12aa4f1b
553
cpp
C++
C++ STL/0411.Functors.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
12
2019-07-04T19:35:36.000Z
2021-11-28T15:10:19.000Z
C++ STL/0411.Functors.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
13
2019-07-16T17:15:27.000Z
2019-10-25T09:07:12.000Z
C++ STL/0411.Functors.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
16
2019-08-16T00:52:50.000Z
2021-09-29T15:03:32.000Z
/* * THIS CODE DEPICTS THE APPLICATION OF THE FUNCTORS, THESE ARE THE FUNCTIONS THAT WORK AS OBJECTS VIA OVERLOADING. */ #include<iostream> using namespace std; class car_comp { public: // operator overloading void operator ()() //overloading the operator () another () is because function is not ...
22.12
89
0.663653
soumilk
420f658559a2bbe42787c9b51c14499434c8bbb3
810
hpp
C++
bayesian/evaluation/aic.hpp
godai0519/BayesianNetwork-Inference
ab72b5fe96f1b648a98b8b659c4cafcfe96d8204
[ "MIT" ]
35
2015-06-05T07:25:20.000Z
2021-11-18T19:43:20.000Z
bayesian/evaluation/aic.hpp
godai0519/BayesianNetwork
ab72b5fe96f1b648a98b8b659c4cafcfe96d8204
[ "MIT" ]
11
2015-02-09T12:32:19.000Z
2019-12-18T09:08:17.000Z
bayesian/evaluation/aic.hpp
godai0519/BayesianNetwork-Inference
ab72b5fe96f1b648a98b8b659c4cafcfe96d8204
[ "MIT" ]
14
2016-08-14T13:47:36.000Z
2021-08-18T09:33:18.000Z
#ifndef BNI_EVALUATION_AIC_HPP #define BNI_EVALUATION_AIC_HPP #include <bayesian/graph.hpp> #include <bayesian/evaluation/basic_info_criteria.hpp> namespace bn { namespace evaluation { struct aic : basic_info_criteria { aic(sampler const& sampling) : basic_info_criteria(sampling) { } double ...
24.545455
108
0.702469
godai0519
4229eecc915f0242dda398241563d1d1f1e408c1
27,277
cc
C++
iocore/cache/NewCacheVC.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
1
2017-10-26T12:04:44.000Z
2017-10-26T12:04:44.000Z
iocore/cache/NewCacheVC.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
iocore/cache/NewCacheVC.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
29.298604
120
0.615024
ibrezac
422cf6af56f5938d066054f9ec226a9c0ab9007e
501
cpp
C++
Win/Win32/cefclientlog/src/nullappender.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
3
2015-06-07T07:09:50.000Z
2017-06-09T17:12:22.000Z
Win/Win32/cefclientlog/src/nullappender.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
null
null
null
Win/Win32/cefclientlog/src/nullappender.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
1
2019-01-04T03:22:03.000Z
2019-01-04T03:22:03.000Z
// Module: Log4CPLUS // File: nullappender.cpp #include "include/log/nullappender.h" using namespace log4cplus; NullAppender::NullAppender() { } NullAppender::NullAppender(const Properties& properties) : Appender(properties) { } NullAppender::~NullAppender() { destructorImpl(); } void NullAppender:...
12.219512
63
0.724551
Bing4Autodesk
422d1fc63e23bb2d10953f2a505ec7f101af0c3f
2,156
cpp
C++
Firmware/FFBoard/Src/USBdevice.cpp
bremme/OpenFFBoard
f3626c0f18e878097a7fa6717debabb23b9d13b0
[ "MIT" ]
null
null
null
Firmware/FFBoard/Src/USBdevice.cpp
bremme/OpenFFBoard
f3626c0f18e878097a7fa6717debabb23b9d13b0
[ "MIT" ]
8
2021-09-28T13:00:33.000Z
2021-09-28T23:09:44.000Z
Firmware/FFBoard/Src/USBdevice.cpp
bremme/OpenFFBoard
f3626c0f18e878097a7fa6717debabb23b9d13b0
[ "MIT" ]
1
2022-02-25T14:14:25.000Z
2022-02-25T14:14:25.000Z
/* * USBdevice.cpp * * Created on: 19.02.2021 * Author: Yannick */ #include "USBdevice.h" #include "tusb.h" uint16_t _desc_str[USB_STRING_DESC_BUF_SIZE]; // String buffer USBdevice::USBdevice(const tusb_desc_device_t* deviceDesc,const uint8_t (*confDesc),const usb_string_desc_t* strings) : Thread("USB", 2...
22.226804
119
0.693414
bremme
42363ee4cb946c6d3816e1312e611de0b73f7319
42,911
cpp
C++
KFPlugin/KFDeployAgent/KFDeployAgentModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFDeployAgent/KFDeployAgentModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFDeployAgent/KFDeployAgentModule.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFDeployAgentModule.hpp" #if __KF_SYSTEM__ == __KF_WIN__ #include <windows.h> #include <direct.h> #define __MKDIR__( path ) _mkdir( path.c_str() ) #else #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #define __MKDIR__( path ) mkdir( pa...
32.508333
170
0.549859
282951387
423c92c6baa34d7026647dee28c3f20ca517472a
2,745
cpp
C++
Stp/Geometry/Vector2.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Geometry/Vector2.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Geometry/Vector2.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Geometry/Vector2.h" #include "Base/Io/TextWriter.h" #include "Base/Math/FloatToInteger.h" namespace stp { int64_t IntVector2::GetLengthSquared() const { return static_cast<int...
23.663793
75
0.693625
markazmierczak
423d5cdc254e04e8213a718b733bd3602230c345
38,149
cpp
C++
source/parsing/Parser_expressions.cpp
jrrk/slang
e65f5f68029fadd5986ba453f415f00d6259d9c5
[ "MIT" ]
null
null
null
source/parsing/Parser_expressions.cpp
jrrk/slang
e65f5f68029fadd5986ba453f415f00d6259d9c5
[ "MIT" ]
null
null
null
source/parsing/Parser_expressions.cpp
jrrk/slang
e65f5f68029fadd5986ba453f415f00d6259d9c5
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // Parser_expressions.cpp // Expression-related parsing methods. // // File is under the MIT license; see LICENSE for details. //------------------------------------------------------------------------------ #include "slang/parsing/Lexer.h...
40.627263
100
0.60379
jrrk
4249f7025d3491e06e544c9ff0ce27f18a7f7d75
4,336
cc
C++
etc/tail-f.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
1
2015-06-03T18:11:12.000Z
2015-06-03T18:11:12.000Z
etc/tail-f.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
null
null
null
etc/tail-f.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
null
null
null
#include <windows.h> #include <malloc.h> #pragma data_seg (".text") static char * basename (char *path) { char *base = 0; char *p = path; while (*p) { if (IsDBCSLeadByte (*p) && p[1]) p += 2; else { if (*p == '\\' || *p == '/') base = p + 1; p++; ...
20.549763
68
0.402675
snmsts
425d243f57929ff94f68c6e8662582f4b3b08ed5
776
hpp
C++
core/interface/i_scheduler.hpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/interface/i_scheduler.hpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/interface/i_scheduler.hpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
#ifndef I_SCHEDULER_H #define I_SCHEDULER_H #include <functional> #include <vector> #include <cstdint> #include "i_probe.hpp" namespace e2 { namespace interface { enum class e_scheduler_state { STOPPED, BUSY, }; enum class e_scheduler_action { START, END, ADD_THREAD, REMOVE_THREAD, ADD_...
19.897436
138
0.670103
auyunli
425ea04d230c81981643de3508deead211cc055b
3,164
cpp
C++
crawler/CRAW.cpp
jeasinema/PesudoDouban
2ea9a6af7a2e465443efe53a722cc2a05d768921
[ "MIT" ]
null
null
null
crawler/CRAW.cpp
jeasinema/PesudoDouban
2ea9a6af7a2e465443efe53a722cc2a05d768921
[ "MIT" ]
null
null
null
crawler/CRAW.cpp
jeasinema/PesudoDouban
2ea9a6af7a2e465443efe53a722cc2a05d768921
[ "MIT" ]
null
null
null
#include "CRAW.hpp" extern "C" { void CRAW::init_string(struct string0 *s){ s->len = 0; s->ptr = (char*)malloc(s->len+1); if (s->ptr == NULL) { fprintf(stderr, "malloc() failed\n"); exit(EXIT_FAILURE); } s->ptr[0] = '\0'; } size_t CRAW::ge...
35.155556
87
0.521176
jeasinema
4261392572ff81ce90dec2ddbc07cb4b8bb14681
3,260
cpp
C++
Emissions/Data/Category_Data.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
Emissions/Data/Category_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
Emissions/Data/Category_Data.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Category_Data.cpp - emission rate category classes //********************************************************* #include "Category_Data.hpp" #include "Utility.hpp" #include <string.h> //--------------------------------------------------------- // Categor...
21.589404
100
0.543558
kravitz
42671d456a0b0da2ef7fd8d41be81eabd11982b5
600
hpp
C++
content/c++/takahiro-uchida_win-koekatamarin/BitmapLockWrapper.hpp
HirotakaArai/3d_led_cube
a4a425c58fe25f0e52a87c996ffe1bd27c697d00
[ "MIT" ]
3
2017-07-10T08:13:35.000Z
2017-07-28T04:57:44.000Z
content/c++/takahiro-uchida_win-koekatamarin/BitmapLockWrapper.hpp
HirotakaArai/3d_led_cube
a4a425c58fe25f0e52a87c996ffe1bd27c697d00
[ "MIT" ]
2
2017-07-12T05:11:07.000Z
2018-01-04T03:07:29.000Z
content/c++/takahiro-uchida_win-koekatamarin/BitmapLockWrapper.hpp
HirotakaArai/3d_led_cube
a4a425c58fe25f0e52a87c996ffe1bd27c697d00
[ "MIT" ]
11
2017-07-10T04:52:59.000Z
2021-04-07T05:43:10.000Z
#pragma once #include <gdiplus.h> class BitmapLockWrapper { Gdiplus::BitmapData m; Gdiplus::Bitmap * m_bmp; public: BitmapLockWrapper(Gdiplus::Bitmap * bmp) : m_bmp(bmp) { Gdiplus::Rect rc(0, 0, m_bmp->GetWidth(), m_bmp->GetHeight()); if (Gdiplus::Ok != m_bmp->LockBits(&rc, 0, m_bmp->GetPixelFormat(), &m)){...
21.428571
75
0.663333
HirotakaArai
426945ecc56d9f0e810cde43d5a1c750ff290d0c
804
cpp
C++
Assignments/HW3/Rectangle.cpp
wstern1234/COMSC-200
b2541db92cb1bb25ea20b0cfe42761957a270c88
[ "MIT" ]
null
null
null
Assignments/HW3/Rectangle.cpp
wstern1234/COMSC-200
b2541db92cb1bb25ea20b0cfe42761957a270c88
[ "MIT" ]
null
null
null
Assignments/HW3/Rectangle.cpp
wstern1234/COMSC-200
b2541db92cb1bb25ea20b0cfe42761957a270c88
[ "MIT" ]
null
null
null
#include "Rectangle.h" // Question 4 Rectangle::Rectangle() { width = 5.0; height = 7.0; } Rectangle::Rectangle(double w, double h) { width = w; height = h; } Rectangle::~Rectangle() { } void Rectangle::setWidth(d...
14.888889
46
0.456468
wstern1234
f11b0d8a1e98b41ce91c328cc32f40e96b3fe871
1,864
cpp
C++
IfElseCondition.cpp
fanufree/assign-it
7eae0828aea4964f1d459a14a0e13025fefc4c9a
[ "MIT" ]
null
null
null
IfElseCondition.cpp
fanufree/assign-it
7eae0828aea4964f1d459a14a0e13025fefc4c9a
[ "MIT" ]
null
null
null
IfElseCondition.cpp
fanufree/assign-it
7eae0828aea4964f1d459a14a0e13025fefc4c9a
[ "MIT" ]
null
null
null
/* * IfElseCondition.cpp * * Created on: Jun 18, 2014 * Author: e4k2 */ #include "IfElseCondition.h" #include <stddef.h> #include <algorithm> #include <cstdio> IfElseCondition::IfElseCondition(TestCondition* testCond, TestCondition* ifBody, TestCondition* elseBody) : testCond(testCond), ifBody(ifBody), e...
18.64
162
0.643777
fanufree
f11b4afce9ad281dd6f9ce7cc73e0adf3fa360db
5,396
cpp
C++
2004/samples/reactors/SelectionFilter/main.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2004/samples/reactors/SelectionFilter/main.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2004/samples/reactors/SelectionFilter/main.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// /////////////////////////////////////////////////////////////////////////////// // // (C) Copyright 2000-2002 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright no...
30.659091
95
0.571905
kevinzhwl
f11d599ef29bad78cb4bf71fa96f1e76f04e315f
2,299
cpp
C++
problems/src/2017/problem_02.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
6
2019-03-01T14:15:38.000Z
2021-12-10T21:39:23.000Z
problems/src/2017/problem_02.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
3
2018-10-22T09:42:26.000Z
2018-10-22T11:45:06.000Z
problems/src/2017/problem_02.cpp
voivoid/advent-of-code
efc02f558ad7718d02dfc205fadeba6b857ce4ae
[ "MIT" ]
null
null
null
#include "AoC/2017/problem_02.h" #include "AoC/problems_map.h" #include "AoC/utils/parse.h" #include "range/v3/algorithm/find_if.hpp" #include "range/v3/algorithm/minmax.hpp" #include "range/v3/numeric/accumulate.hpp" #include "range/v3/range/conversion.hpp" #include "range/v3/view/cartesian_product.hpp" #include "ra...
20.345133
125
0.673771
voivoid
f130f27b67e4f91a39be3a175fa0e48c3394868a
6,637
cpp
C++
Tests/TestMisc.cpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
Tests/TestMisc.cpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
Tests/TestMisc.cpp
BartoszBartmanski/StoSpa
eee68f9b8b9be07aad435565f53b686ddcb876df
[ "MIT" ]
null
null
null
// // Created by bartosz on 25/12/17. // #include "catch.hpp" #include "VectorFunctions.hpp" #include "Grid.hpp" #include "Utilities.hpp" TEST_CASE("Test Grids.*pp") { Grid grid = Grid(2, 0.1, 5); SECTION("Checkd voxels") { for (const vector<unsigned>& species : grid.voxels) { ...
29.367257
69
0.554919
BartoszBartmanski
f13d3816f32a2c0dd0f82fbf04451aeaf72e5b4c
4,537
cpp
C++
test/optim/ut_nelder_mead_module.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
10
2018-06-28T00:21:46.000Z
2022-03-30T03:31:32.000Z
test/optim/ut_nelder_mead_module.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
35
2019-03-19T21:54:46.000Z
2022-03-17T02:20:42.000Z
test/optim/ut_nelder_mead_module.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
8
2018-10-27T19:35:13.000Z
2022-01-06T01:10:39.000Z
// CHAP - The Channel Annotation Package // // Copyright (c) 2016 - 2018 Gianni Klesse, Shanlin Rao, Mark S. P. Sansom, and // Stephen J. Tucker // // 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 th...
31.289655
80
0.660789
bigginlab
f1418fff94d3e940da2afef923fd816cca1fe5a0
39,901
cpp
C++
tests/unit/plugins/matrixops/dot_operation.cpp
rhecto1/phylanx
524eb7f2497afc9b67c76059767dfb2e4b694a47
[ "BSL-1.0" ]
null
null
null
tests/unit/plugins/matrixops/dot_operation.cpp
rhecto1/phylanx
524eb7f2497afc9b67c76059767dfb2e4b694a47
[ "BSL-1.0" ]
null
null
null
tests/unit/plugins/matrixops/dot_operation.cpp
rhecto1/phylanx
524eb7f2497afc9b67c76059767dfb2e4b694a47
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017 Hartmut Kaiser // Copyright (c) 2017 Parsa Amini // Copyright (c) 2019 Bita Hasheminezhad // // 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) #include <phylanx/phylanx.hpp> #include ...
39.702488
81
0.570186
rhecto1
f1437eae075f593671f45dcb19e687f332c46e8f
7,316
cpp
C++
src/core/rtti.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
86
2018-05-24T12:03:44.000Z
2022-03-13T03:01:25.000Z
src/core/rtti.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
1
2019-05-30T01:38:40.000Z
2019-10-26T07:15:01.000Z
src/core/rtti.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
14
2018-07-16T08:29:12.000Z
2021-08-23T06:21:30.000Z
//_ rtti.cpp // RTL support for rtti #include <string.h> #include <stdlib.h> #include <typeinfo.h> /********************************* * Match types. * Input: * tthrow throw expression type * thandler handler expression type * poffset offset to add to 'this' pointer * Returns: * ...
26.99631
111
0.519546
masscry
f143c1686df545f131c5da3bc19bd3eee0c8f977
1,709
hpp
C++
include/pmatch_baseClass.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
include/pmatch_baseClass.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
include/pmatch_baseClass.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
#ifndef PMATCHBASE_HPP #define PMATCHBASE_HPP #include "pmatch.hpp" #include <list> namespace CInform { namespace Match { class MNoum { public : virtual std::string repr() = 0; virtual bool isMatch( const std::string& s ) = 0; }; using HNoum = std::shared_ptr<MNoum>; class TBloc...
19.420455
125
0.65828
astrowar
f14971d1fe789f87287d3d4f5e62b8958ef26426
693
cpp
C++
src/Tools/ToolUtils/ToolLogger.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Tools/ToolUtils/ToolLogger.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Tools/ToolUtils/ToolLogger.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "ToolLogger.h" #include "ToolUtils.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// ToolLogger::ToolLogger() { } ////////////////////////////////////////////////////////////////////////// ToolLogger::~ToolLogger() { } ///////...
26.653846
114
0.366522
irov
f15448b01278b8ba36ae6ae713be61d7e53e9879
14,104
cc
C++
src/app/xml_editor/component.cc
tnl-woi/genode-world
bb328c629c7ca7088925973216731f6e26e4bef8
[ "MIT" ]
null
null
null
src/app/xml_editor/component.cc
tnl-woi/genode-world
bb328c629c7ca7088925973216731f6e26e4bef8
[ "MIT" ]
null
null
null
src/app/xml_editor/component.cc
tnl-woi/genode-world
bb328c629c7ca7088925973216731f6e26e4bef8
[ "MIT" ]
null
null
null
/* * \brief Transactional XML editor * \author Emery Hemingway * \date 2017-04-29 */ /* * Copyright (C) 2017 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ /* Genode includes */ #include <vfs/file_sy...
23.744108
87
0.643009
tnl-woi
f1658a20da2f117019e95ee36fa22d07484a91f6
2,727
hpp
C++
output/demux.hpp
AMS21/smart-output-iterators
4176ddd019b977b3f274f460dd13867ce15e6406
[ "MIT" ]
null
null
null
output/demux.hpp
AMS21/smart-output-iterators
4176ddd019b977b3f274f460dd13867ce15e6406
[ "MIT" ]
null
null
null
output/demux.hpp
AMS21/smart-output-iterators
4176ddd019b977b3f274f460dd13867ce15e6406
[ "MIT" ]
null
null
null
#ifndef output_demuxer_h #define output_demuxer_h #include "../helpers/meta.hpp" namespace fluent { template<typename Predicate, typename Iterator> struct demux_branch { Predicate predicate; Iterator iterator; demux_branch(Predicate predicate, Iterator iterator) : predicate(predicate), iterator(itera...
29.322581
141
0.711038
AMS21
f1683007da70119aa114f03a8d4e5db31f4465a8
744
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_CopyInit.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_CopyInit.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_CopyInit.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_CopyInit.cpp // #include "smtc_CopyInit.h" #ifndef LZZ_ENABLE_INLINE #include "smtc_CopyInit.inl" #endif // semantic #include "smtc_File.h" #include "smtc_PrintCode.h" #define LZZ_INLINE inline namespace smtc { CopyInit::~ CopyInit () {} } namespace smtc { bool CopyInit::isCopy () const { ret...
17.714286
70
0.650538
SuperDizor
f168be2acff27d37b7d970577a714aab84d8746e
10,187
cpp
C++
src/api.cpp
DeanoC/render_basics_impl_theforge
9cc4c20373daa71d0888039d5d18d1721362c2a5
[ "MIT" ]
null
null
null
src/api.cpp
DeanoC/render_basics_impl_theforge
9cc4c20373daa71d0888039d5d18d1721362c2a5
[ "MIT" ]
null
null
null
src/api.cpp
DeanoC/render_basics_impl_theforge
9cc4c20373daa71d0888039d5d18d1721362c2a5
[ "MIT" ]
null
null
null
#include "al2o3_platform/platform.h" #include "al2o3_memory/memory.h" #include "al2o3_handle/handle.h" #include "render_basics/theforge/api.h" #include "render_basics/api.h" #include "render_basics/theforge/handlemanager.h" AL2O3_EXTERN_C Render_HandleManagerTheForge* g_Render_HandleManagerTheForge = nullptr; static ...
39.484496
121
0.802493
DeanoC
f16a598cd511234b10fb17fad9c8b3678963c652
873
cpp
C++
LeetCode/Problems/Algorithms/#309_BestTimeToBuyAndSellStockWithCooldown_sol5_dp_O(N)_time_O(1)_extra_space_7ms_11.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#309_BestTimeToBuyAndSellStockWithCooldown_sol5_dp_O(N)_time_O(1)_extra_space_7ms_11.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#309_BestTimeToBuyAndSellStockWithCooldown_sol5_dp_O(N)_time_O(1)_extra_space_7ms_11.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int maxProfit(vector<int>& prices) { const int N = prices.size(); const int BUY = 0; const int SELL = 1; // dp[i][BUY]: max profit if your last transaction on range [0 .. i] is `buy` // dp[i][SELL]: max profit if your last transaction...
36.375
92
0.418099
Tudor67
f173a643fb11fb12f1b8e2f50fb11d3559057eac
1,014
cpp
C++
cses/buildingteams.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
cses/buildingteams.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
cses/buildingteams.cpp
jamesrayman/sport
a24b4512e3268f09574d6803fa71c98e9d7b50b1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; ll n, m; int main () { cin >> n >> m; vector<vector<ll>> adj (n); vector<ll> p (n, -1); while (m-->0) { ll a, b; cin >> a >> b; a--; b--; adj[a].push_back(b); adj[b].push_back(a); ...
18.777778
41
0.295858
jamesrayman
f175ce919b6261fec5f55289dcdca185137d36dd
22,063
cpp
C++
SpatialGDK/Source/SpatialGDKTests/SpatialGDK/LoadBalanceEnforcer/SpatialLoadBalanceEnforcerTest.cpp
elizabethking2/UnrealGDK
e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74
[ "MIT" ]
363
2018-07-30T12:57:42.000Z
2022-03-25T14:30:28.000Z
SpatialGDK/Source/SpatialGDKTests/SpatialGDK/LoadBalanceEnforcer/SpatialLoadBalanceEnforcerTest.cpp
elizabethking2/UnrealGDK
e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74
[ "MIT" ]
1,634
2018-07-30T14:30:25.000Z
2022-03-03T01:55:15.000Z
SpatialGDK/Source/SpatialGDKTests/SpatialGDK/LoadBalanceEnforcer/SpatialLoadBalanceEnforcerTest.cpp
elizabethking2/UnrealGDK
e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74
[ "MIT" ]
153
2018-07-31T13:45:02.000Z
2022-03-03T05:20:24.000Z
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #include "Tests/TestDefinitions.h" #include "EngineClasses/SpatialLoadBalanceEnforcer.h" #include "EngineClasses/SpatialVirtualWorkerTranslator.h" #include "Interop/SpatialStaticComponentView.h" #include "Schema/AuthorityIntent.h" #include "SpatialGDKTests/S...
45.397119
178
0.848071
elizabethking2
f178d209be91e27e71e1aebad3dc06c665974373
2,491
cpp
C++
modules/videoio/src/cap_librealsense.cpp
liqingshan/opencv
5e68f35500a859838ab8688bd3487cf9edece3f7
[ "BSD-3-Clause" ]
null
null
null
modules/videoio/src/cap_librealsense.cpp
liqingshan/opencv
5e68f35500a859838ab8688bd3487cf9edece3f7
[ "BSD-3-Clause" ]
null
null
null
modules/videoio/src/cap_librealsense.cpp
liqingshan/opencv
5e68f35500a859838ab8688bd3487cf9edece3f7
[ "BSD-3-Clause" ]
2
2019-10-08T19:08:03.000Z
2019-10-08T19:14:23.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. #include "precomp.hpp" #ifdef HAVE_LIBREALSENSE #include "cap_librealsense.hpp" namespace cv { VideoCapture_LibRealsense::...
22.645455
103
0.648735
liqingshan
f17d1bc8184faf309f37f6129315f254502593cb
9,887
cc
C++
QedisCore/QAOF.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
1
2019-12-26T07:03:34.000Z
2019-12-26T07:03:34.000Z
QedisCore/QAOF.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
QedisCore/QAOF.cc
Myicefrog/Qedis
692f0584dad8f5d80c55ec19b217f0777156f719
[ "MIT" ]
null
null
null
#include "QAOF.h" #include "Log/Logger.h" #include "Threads/ThreadPool.h" #include "QStore.h" #include "QConfig.h" #include "QProtoParser.h" #include <unistd.h> #include <sstream> namespace qedis { const char* const g_aofTmp = "qedis_appendonly.aof.tmp"; pid_t g_rewritePid = -1; /*********************...
23.596659
92
0.580257
Myicefrog
f17f8e50c79b8062f370281c2571b3927950baef
3,177
cpp
C++
main.cpp
DerekSlagle/scrabble
eb17f86b8b897fd8edf3fabc3bd90c1d1016e546
[ "MIT" ]
null
null
null
main.cpp
DerekSlagle/scrabble
eb17f86b8b897fd8edf3fabc3bd90c1d1016e546
[ "MIT" ]
null
null
null
main.cpp
DerekSlagle/scrabble
eb17f86b8b897fd8edf3fabc3bd90c1d1016e546
[ "MIT" ]
null
null
null
// ************************* // copyright(c) 2018 Derek Slagle // // ************************ #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include <vector> #include <fstream> #include <algorithm> #include <ctime> // std::time #include <cstdlib> // std::rand, std::srand //#include "include/butt...
23.887218
104
0.577274
DerekSlagle
f189b4af43ecab67b8099b4bba3f4555b795f188
1,099
hpp
C++
include/mesh.hpp
Hello56721/random-opengl-project
20cb1ae49132cf5787437ce1fd83e3144939c9ad
[ "MIT" ]
null
null
null
include/mesh.hpp
Hello56721/random-opengl-project
20cb1ae49132cf5787437ce1fd83e3144939c9ad
[ "MIT" ]
null
null
null
include/mesh.hpp
Hello56721/random-opengl-project
20cb1ae49132cf5787437ce1fd83e3144939c9ad
[ "MIT" ]
null
null
null
#ifndef F16E9586_0432_4949_8C83_9C7E8720A37B #define F16E9586_0432_4949_8C83_9C7E8720A37B #include <vertex.hpp> #include <vector> class Mesh { private: // The handles to the actual OpenGL objects unsigned int vao; unsigned int vbo; unsigned int ebo; // Move owernship over from another Mesh ...
22.895833
74
0.653321
Hello56721
f18a371f972196734a478655157fb857538aa40e
199
cpp
C++
Sum/main.cpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
1
2021-07-11T18:30:03.000Z
2021-07-11T18:30:03.000Z
Sum/main.cpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
Sum/main.cpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> template <typename... Args> auto sum(Args &&...args) { return (args + ...); } int main() { std::cout << sum(2, 3.1415, 38.921, 1000) << "\n"; return 0; }
18.090909
77
0.567839
sinamoghimi73
f18b8a35deb6091bfd0e728d1f836758a3dcd04b
11,062
cpp
C++
src/orm/driver_soci.cpp
kamaroly/yb-orm
b53987f6b316a4a2e7c23cb82525ad1570d107b7
[ "MIT" ]
null
null
null
src/orm/driver_soci.cpp
kamaroly/yb-orm
b53987f6b316a4a2e7c23cb82525ad1570d107b7
[ "MIT" ]
null
null
null
src/orm/driver_soci.cpp
kamaroly/yb-orm
b53987f6b316a4a2e7c23cb82525ad1570d107b7
[ "MIT" ]
null
null
null
// -*- Mode: C++; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*- #define YBORM_SOURCE #include "driver_soci.h" #include "util/string_utils.h" #include <ctime> #include <cstring> using namespace std; using namespace Yb::StrUtils; //#define YB_SOCI_DEBUG namespace Yb { SOCICursorBackend::SOCICursorBacke...
27.381188
77
0.503164
kamaroly
f18e5c1b0f6909b76035ac6d83142348f1d6edd0
609
hpp
C++
API/include/http/Response.hpp
PierreBougon/ExistanZIA
f8fdd92d0943ce83eea975fd40c0680c7c90d991
[ "Apache-2.0" ]
7
2017-11-14T12:48:17.000Z
2017-12-13T14:01:16.000Z
API/include/http/Response.hpp
PierreBougon/ExistanZIA
f8fdd92d0943ce83eea975fd40c0680c7c90d991
[ "Apache-2.0" ]
8
2017-11-17T09:22:24.000Z
2017-12-10T20:29:45.000Z
API/include/http/Response.hpp
PierreBougon/ExistenZIA
f8fdd92d0943ce83eea975fd40c0680c7c90d991
[ "Apache-2.0" ]
null
null
null
// // Created by duhieub on 11/9/17. // #ifndef EXISTENZIA_RESPONSE_HPP #define EXISTENZIA_RESPONSE_HPP #include "Message.hpp" /** * \file Response.hpp * \brief Response is a specific message which goal is to return a message containing the result code of the task asked. * \author Pierre.B * \version 0.1 * \dat...
19.645161
120
0.684729
PierreBougon
f18e7866f33b4277a30e9da33181ba32016aa2d8
1,602
hpp
C++
CPPMetal/Headers/CPPMetalDrawable.hpp
chromy/cppmetal
7acebf0519f119745e25a2b9eaac81889fb3a774
[ "MIT" ]
null
null
null
CPPMetal/Headers/CPPMetalDrawable.hpp
chromy/cppmetal
7acebf0519f119745e25a2b9eaac81889fb3a774
[ "MIT" ]
null
null
null
CPPMetal/Headers/CPPMetalDrawable.hpp
chromy/cppmetal
7acebf0519f119745e25a2b9eaac81889fb3a774
[ "MIT" ]
null
null
null
/* See LICENSE folder for this sample’s licensing information. Abstract: Header for C++ Metal drawable class wrapper */ #ifndef CPPMetalDrawable_hpp #define CPPMetalDrawable_hpp #include "CPPMetalImplementation.hpp" #include "CPPMetalPixelFormat.hpp" #include "CPPMetalTypes.hpp" #include "CPPMetalTexture.hpp" name...
17.8
66
0.689139
chromy
f18f3011d49623117e71cdfe091532c5e0b90814
980
cc
C++
yt/cpp-template/src/main/main_logger.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
yt/cpp-template/src/main/main_logger.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
yt/cpp-template/src/main/main_logger.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
/** * Example main file for C++ starter template * showcasing the usage of GLog library * By: Ari Saif */ #include "glog/logging.h" #include "glog/stl_logging.h" #include <iostream> #include <map> #include <vector> bool g_cond = true; void MyFunction() { // Removes the prefix from the output // FLAGS_log_pre...
23.333333
52
0.617347
e-dnx
f19569061a8c8319a8357dd29b71e2f69a9406c2
43,390
cpp
C++
BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * prefs_editor_amiga.cpp - Preferences editor, AmigaOS implementation (using gtlayout.library) * * Basilisk II (C) 1997-2008 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
24.99424
151
0.675063
jvernet
1af082d2a43cc619aedfdc8ebaf5777c99f3a628
734
cpp
C++
Hacker Rank Problem Solving/apple-oranges.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
1
2021-04-04T15:47:36.000Z
2021-04-04T15:47:36.000Z
Hacker Rank Problem Solving/apple-oranges.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
Hacker Rank Problem Solving/apple-oranges.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int hi, hf, ta, to,af,of, A = 0, O = 0,s=0,so=0; cin >> hi >> hf >> ta >> to>>af>>of ; long int na[1000000]; long int mo[1000000]; for(long int i=0;i<af;i++) { cin>>na[i]; } for(long int i=0;i<of;i++) { ...
14.979592
53
0.307902
manish1822510059
1af9ab1f4bc660b497fb51d87156fbbd8e395fed
35,424
cpp
C++
src/caffe/layers/conv_layer.cpp
NBIsNotBad/extended-caffe-bak
a5b793d9b77b7e56ceaa3dc353e19e9130ce4564
[ "Intel", "BSD-2-Clause" ]
23
2017-04-29T14:40:13.000Z
2022-03-14T02:17:31.000Z
src/caffe/layers/conv_layer.cpp
NBIsNotBad/extended-caffe-bak
a5b793d9b77b7e56ceaa3dc353e19e9130ce4564
[ "Intel", "BSD-2-Clause" ]
5
2017-04-27T09:26:51.000Z
2019-07-22T01:56:14.000Z
src/caffe/layers/conv_layer.cpp
NBIsNotBad/extended-caffe-bak
a5b793d9b77b7e56ceaa3dc353e19e9130ce4564
[ "Intel", "BSD-2-Clause" ]
11
2017-04-26T09:10:38.000Z
2019-05-28T15:23:34.000Z
/* All modification made by Intel Corporation: © 2016 Intel Corporation All contributions by the University of California: Copyright (c) 2014, 2015, The Regents of the University of California (Regents) All rights reserved. All other contributions: Copyright (c) 2014, 2015, the respective contributors All rights rese...
39.981941
170
0.584152
NBIsNotBad
1af9fbb4beabf2c47f8495fac99e29960cbd0b0c
2,081
cpp
C++
utests/khtmlentities_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
utests/khtmlentities_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
utests/khtmlentities_tests.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
#include "catch.hpp" #include <dekaf2/khtmlentities.h> using namespace dekaf2; TEST_CASE("KHTMLEntities") { SECTION("basic lookup") { uint32_t cp1, cp2; CHECK ( KHTMLEntity::FromNamedEntity("real", cp1, cp2) ); CHECK ( cp1 == 0x211c ); CHECK ( cp2 == 0 ); CHECK ( KHTMLEntity::FromNamedEntity("nLtv", ...
28.902778
113
0.594906
ridgeware
1afccda9c01eb1dcfd05888992f6be39c3d832c6
72,776
hpp
C++
include/UnityEngine/Camera.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/Camera.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/Camera.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Behaviour #include "Uni...
63.064125
263
0.755483
v0idp
210270eb08d8bd96fb24b24f3916b45de4134c26
737
cpp
C++
Day-08/Day-08-CodeForces/25-A-IQ-Test.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
Day-08/Day-08-CodeForces/25-A-IQ-Test.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
Day-08/Day-08-CodeForces/25-A-IQ-Test.cpp
LawranceMichaelite/100-Days-of-Code
de80015c2ab7c94956d4fe39f6e143627cdd7bc9
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; bool checkOdd(vector<int>&law, int *odds , int *evens) { int even = 0 ; int odd = 0 ; for(int i = 0 ; i < law.size() ; i++) { if(law[i]%2==0) { *evens = *evens + i; even++; } else ...
15.354167
54
0.394844
LawranceMichaelite
21073eb5c8e0d5f4b968c851a8cf890e9e73917d
484
cpp
C++
Cpp_Data_Structures_And_Algorithms/CAPTCHA.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
Cpp_Data_Structures_And_Algorithms/CAPTCHA.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
Cpp_Data_Structures_And_Algorithms/CAPTCHA.cpp
AnthonyDas/Cpp_Data_Structures_And_Algorithms
4ba834803dde0285ee2695b7ef97afbcdcf0484a
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> std::string GenerateCaptcha(int n) { time_t t; srand((unsigned) time(&t)); // аll сhаrасtеrѕ static const char * chrs = "аbсdеfghіjklmnорԛrѕtuvwxуz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789"; // Generate n сhаrасtеrѕ frоm above ѕеt аnd // add thеѕе ch...
20.166667
47
0.659091
AnthonyDas
210c4924424c1d578ba2b5ea07d4037fd489178d
9,491
hpp
C++
include/framework/expr_tree/point_ops/resizable_binary.hpp
Bensuo/visioncpp
8b4233809fbc9f0ad2ee59ec8dfe6de078e44777
[ "Apache-2.0" ]
156
2016-09-15T13:05:21.000Z
2022-03-04T01:41:39.000Z
include/framework/expr_tree/point_ops/resizable_binary.hpp
Bensuo/visioncpp
8b4233809fbc9f0ad2ee59ec8dfe6de078e44777
[ "Apache-2.0" ]
24
2016-09-20T11:25:23.000Z
2022-02-01T02:20:27.000Z
include/framework/expr_tree/point_ops/resizable_binary.hpp
Bensuo/visioncpp
8b4233809fbc9f0ad2ee59ec8dfe6de078e44777
[ "Apache-2.0" ]
58
2016-09-15T14:08:28.000Z
2022-02-28T04:55:55.000Z
// This file is part of VisionCpp, a lightweight C++ template library // for computer vision and image processing. // // Copyright (C) 2016 Codeplay Software Limited. All Rights Reserved. // // Contact: visioncpp@codeplay.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
45.629808
81
0.697398
Bensuo
210c8f5be15fcba2427dbfe320b06c4b562e1955
3,602
cpp
C++
src/prefs/BatchPrefs.cpp
gspeedtech/Audacity
570c5651c5934469c18dad25db03f05076f91225
[ "CC-BY-3.0" ]
16
2015-01-26T18:58:26.000Z
2017-11-12T05:42:58.000Z
src/prefs/BatchPrefs.cpp
gspeedtech/Audacity
570c5651c5934469c18dad25db03f05076f91225
[ "CC-BY-3.0" ]
null
null
null
src/prefs/BatchPrefs.cpp
gspeedtech/Audacity
570c5651c5934469c18dad25db03f05076f91225
[ "CC-BY-3.0" ]
7
2015-04-13T20:01:00.000Z
2021-07-05T09:28:22.000Z
/********************************************************************** Audacity: A Digital Audio Editor BatchPrefs.cpp Dominic Mazzoni James Crook *******************************************************************//** \class BatchPrefs \brief A PrefsPanel that builds up a chain of effects in BatchCommand...
27.287879
108
0.624653
gspeedtech
210e7a290b3f9bf1a65229fa59bb008967c7fecf
3,571
cpp
C++
QtnProperty/Utils/AccessibilityProxy.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
QtnProperty/Utils/AccessibilityProxy.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
QtnProperty/Utils/AccessibilityProxy.cpp
SolarCpp/QtnProperty
6711a7436865f14d3a4398f0745de9f0de32c7b7
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* Copyright 2012-2015 Alex Zhondin <qtinuum.team@gmail.com> Copyright 2015-2017 Alexandra Cherdantseva <neluhus.vagus@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance ...
23.339869
80
0.726127
SolarCpp
21160952804809ba9f05e4480cd3a875f791b3d0
1,826
cpp
C++
inc/simple/module.cpp
ximenpo/simple-cpp
0779674dbea5cd8f4081140cad90edeaa31da7c8
[ "MIT" ]
2
2015-04-10T04:07:24.000Z
2015-10-21T07:13:11.000Z
inc/simple/module.cpp
ximenpo/simple_cpp
0779674dbea5cd8f4081140cad90edeaa31da7c8
[ "MIT" ]
1
2015-04-18T02:31:22.000Z
2015-04-21T20:21:02.000Z
inc/simple/module.cpp
ximenpo/simple_cpp
0779674dbea5cd8f4081140cad90edeaa31da7c8
[ "MIT" ]
null
null
null
#include "module.h" /// handle define. #ifdef _WIN32 #include <windows.h> # define S_LoadLibrary(path) LoadLibrary(path) # define S_GetProcAddress(handle, func_name) GetProcAddress((HMODULE)handle, func_name) # define S_FreeLibrary(handle) FreeLibrary((HMODULE)handle) #else # include <dlfcn.h> # define S_Lo...
22.54321
88
0.667032
ximenpo
21169d8992b76ed31aee7251691332af310d683d
2,212
cpp
C++
source/cv.cpp
danolivo/mtra
df4723f3a16ec6f6cd6c78aa0415aa04c0194f0d
[ "MIT" ]
null
null
null
source/cv.cpp
danolivo/mtra
df4723f3a16ec6f6cd6c78aa0415aa04c0194f0d
[ "MIT" ]
null
null
null
source/cv.cpp
danolivo/mtra
df4723f3a16ec6f6cd6c78aa0415aa04c0194f0d
[ "MIT" ]
null
null
null
#include <assert.h> #include <cmath> #include <cv.h> #include <tdma.h> int last; double Rstar = 1.e3; int a1 = 0; /* Алгоритм вычисления координаты точки */ static double y(int i, const vector_t* w) { if (i == 0) return 0; double sum = 0; for (int j=0; j<i; j++) { sum = sum + W[j]; } if (i <...
29.105263
202
0.50226
danolivo
2118d34e1517428c57cf6d94de5a768a069504fe
1,019
cpp
C++
internal/commands/applicator/applicator.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/commands/applicator/applicator.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
internal/commands/applicator/applicator.cpp
YarikRevich/SyE
3f73350f7e8fd9975e747c9c49667bbee278b594
[ "MIT" ]
null
null
null
#include "applicator.hpp" #include "./../w/w.hpp" #include "./../z/z.hpp" #include "./../../bufs/bufs.hpp" #include "./../search/search.hpp" #include "./../../editor_status/editor_status.hpp" int Applicator::handleOneWordCommand(std::string command) { std::transform(command.begin(), command.end(), command.begin(...
23.697674
102
0.621197
YarikRevich
2119c9a3e18ea74a2fcad0fd27d54aabe4c2cd20
31,847
cpp
C++
src/model/HeatPumpPlantLoopEIRCooling.cpp
antoine-galataud/OpenStudio
2f005eb31dbf4b79f62106ae61db353f63badddb
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/model/HeatPumpPlantLoopEIRCooling.cpp
antoine-galataud/OpenStudio
2f005eb31dbf4b79f62106ae61db353f63badddb
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/model/HeatPumpPlantLoopEIRCooling.cpp
antoine-galataud/OpenStudio
2f005eb31dbf4b79f62106ae61db353f63badddb
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
50.792663
150
0.762615
antoine-galataud
211d24766a95bf2b789b133264e5002c314284b3
1,207
cc
C++
src/sdl_display.cc
michaelagazzola/gbc
d1dc8ad531b8dd6bbcdf86fa22189adf88cd8bb5
[ "MIT" ]
null
null
null
src/sdl_display.cc
michaelagazzola/gbc
d1dc8ad531b8dd6bbcdf86fa22189adf88cd8bb5
[ "MIT" ]
null
null
null
src/sdl_display.cc
michaelagazzola/gbc
d1dc8ad531b8dd6bbcdf86fa22189adf88cd8bb5
[ "MIT" ]
null
null
null
#include "sdl_display.hh" #include "color.hh" #include "constants.hh" #include "log.hh" #include <SDL.h> #include <SDL_syswm.h> namespace bugme { SdlDisplay::SdlDisplay(SDL_Renderer *renderer, SDL_Texture *texture) : renderer_(renderer), texture_(texture) {} void SdlDisplay::draw(std::vector<Color> &buffer) { ...
24.14
68
0.700083
michaelagazzola
2121a67245d489efcc07f3a1ce972703339eca2c
2,320
cc
C++
src/inputs/geometries/circle/circle_shift.cc
marissachanlatte/EmbeddedBoundary
949bf8680317277950077874a5e5924af0003b00
[ "MIT" ]
1
2021-06-14T13:39:14.000Z
2021-06-14T13:39:14.000Z
src/inputs/geometries/circle/circle_shift.cc
marissachanlatte/EmbeddedBoundary
949bf8680317277950077874a5e5924af0003b00
[ "MIT" ]
null
null
null
src/inputs/geometries/circle/circle_shift.cc
marissachanlatte/EmbeddedBoundary
949bf8680317277950077874a5e5924af0003b00
[ "MIT" ]
3
2019-10-03T12:30:29.000Z
2020-10-29T18:44:37.000Z
#include "inputs/geometries/circle/circle_shift.h" #include "helpers/geometry_objects.h" #include <vector> #include <iostream> namespace boundary { namespace inputs { // Shift Circle double y_shift = 0; double x_shift = 0; double radius_sqd = 2; std::vector<double> CircleShiftGeometry::BoundaryFunction(double x_v...
22.970297
106
0.659052
marissachanlatte
2122390f4386c488d18c13ab0a341709c406255a
716
hpp
C++
include/lol/def/PluginManagerState.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/PluginManagerState.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/PluginManagerState.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { enum struct PluginManagerState { NotReady_e = 0, PluginsInitialized_e = 1, }; inline void to_json(json& j, const PluginManagerState& v) { if(v == PluginManagerState::NotReady_e) { j = "NotReady"; return; } if(v == PluginMan...
25.571429
63
0.617318
Maufeat
212465f5495e2d3f5e0788e819f5a524bbc1ecbd
5,470
cpp
C++
test/algorithms/test_bernsteinvazirani.cpp
katringoogoo/qfr
06da5bc54154cf0ee55f7d78e297f93f73abc621
[ "MIT" ]
null
null
null
test/algorithms/test_bernsteinvazirani.cpp
katringoogoo/qfr
06da5bc54154cf0ee55f7d78e297f93f73abc621
[ "MIT" ]
null
null
null
test/algorithms/test_bernsteinvazirani.cpp
katringoogoo/qfr
06da5bc54154cf0ee55f7d78e297f93f73abc621
[ "MIT" ]
null
null
null
/* * This file is part of JKQ QFR library which is released under the MIT license. * See file README.md or go to http://iic.jku.at/eda/research/quantum/ for more information. */ #include "CircuitOptimizer.hpp" #include "algorithms/BernsteinVazirani.hpp" #include "gtest/gtest.h" class BernsteinVazirani: ...
37.986111
110
0.586472
katringoogoo
2128f33ae6acecf67c42a3b2b8da367081b7f885
12,737
cpp
C++
src/sdl/events.cpp
node-xr/node-sdl2
92ce248308694110a156a86524b4ac0726c34832
[ "MIT" ]
3
2019-06-01T09:19:56.000Z
2020-09-19T19:57:51.000Z
src/sdl/events.cpp
node-xr/node-sdl2
92ce248308694110a156a86524b4ac0726c34832
[ "MIT" ]
1
2021-05-08T10:14:23.000Z
2021-05-08T10:14:23.000Z
src/sdl/events.cpp
node-xr/node-sdl2
92ce248308694110a156a86524b4ac0726c34832
[ "MIT" ]
null
null
null
#include "events.hpp" #include "../util.hpp" #include <SDL_events.h> napi_value convert_SDL_event(napi_env env, const SDL_Event &event) { napi_value retval; ASSERT_OK(napi_create_object(env, &retval), "EINVAL", "Failed to create SDL_event."); // Fields shared by every event. SET_PROPERTY(retval, uint32, "typ...
31.763092
107
0.659731
node-xr
2131ac873b3becba254e989a7d5b92fa005e8705
936
cpp
C++
C++/3-longest_substring_without_repeating_characters.cpp
Auful01/Hacktoberfest-2021
0039fd26f8f3b97a9748a4fc76e7d77157fed56a
[ "MIT" ]
38
2021-09-02T22:02:34.000Z
2021-10-02T19:33:34.000Z
C++/3-longest_substring_without_repeating_characters.cpp
Auful01/Hacktoberfest-2021
0039fd26f8f3b97a9748a4fc76e7d77157fed56a
[ "MIT" ]
188
2021-09-30T08:16:25.000Z
2021-10-03T14:11:37.000Z
C++/3-longest_substring_without_repeating_characters.cpp
Auful01/Hacktoberfest-2021
0039fd26f8f3b97a9748a4fc76e7d77157fed56a
[ "MIT" ]
131
2021-09-20T17:01:11.000Z
2021-10-03T07:34:14.000Z
/* 3. Longest Substring Without Repeating Characters Given a string s, find the length of the longest substring without repeating characters. */ class Solution { public: int lengthOfLongestSubstring(string s) { int st = 0, n = s.length(), ans = 0; //hash map for storing frequency of characters ...
26.742857
88
0.571581
Auful01
2134d6b0fd2abc6218ed72b754f61c1b936e3b1a
369
hpp
C++
LPI/aula15/Carro/include/Carro.hpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula15/Carro/include/Carro.hpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula15/Carro/include/Carro.hpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
#include <string> #include "Motor.hpp" using namespace std; class Carro{ public: string tipo; string placa; int numPortas; int velocidade; string cor; Motor motor; static int quantidadeCarros; Carro(string cor); Carro(); ~Carro(); void acelera(int velocidade); voi...
16.043478
33
0.634146
dayvisonmsilva
2135b6e826ddb0357f76b68966b410f3c2752f1f
1,434
hxx
C++
src/errchk.hxx
flipflapflop/remifa
e20026fd5c580b65dc9eb1270e0187447a9faccc
[ "BSD-3-Clause" ]
null
null
null
src/errchk.hxx
flipflapflop/remifa
e20026fd5c580b65dc9eb1270e0187447a9faccc
[ "BSD-3-Clause" ]
null
null
null
src/errchk.hxx
flipflapflop/remifa
e20026fd5c580b65dc9eb1270e0187447a9faccc
[ "BSD-3-Clause" ]
null
null
null
/// @file /// @copyright 2016- The Science and Technology Facilities Council (STFC) /// @author Florent Lopez #pragma once // STD #include <string> #include <iostream> // CUDA #include <cuda.h> #include <cuda_runtime_api.h> #include <cublas_v2.h> namespace remifa { // @brief Check CUDA error and exit if error is...
31.866667
98
0.531381
flipflapflop
213c7d39787884d1d0415bec7306bc9ec406dbd9
5,089
cc
C++
esidl/npapi/sample/paint.cc
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
esidl/npapi/sample/paint.cc
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
esidl/npapi/sample/paint.cc
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011 Esrille Inc. * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
35.340278
117
0.680487
rvedam
213e9f05bd8bab02e93866b99c5c4a8ae5af7121
1,055
cpp
C++
arrays/array_n2_string.cpp
thisroot/C-snippets
533091672abeca4228920b39629ca22ef327a1d3
[ "MIT" ]
null
null
null
arrays/array_n2_string.cpp
thisroot/C-snippets
533091672abeca4228920b39629ca22ef327a1d3
[ "MIT" ]
null
null
null
arrays/array_n2_string.cpp
thisroot/C-snippets
533091672abeca4228920b39629ca22ef327a1d3
[ "MIT" ]
null
null
null
//ДЛИТЕЛЬНОСТИ РАЗГОВОРОВ. Есть список длительностей телефонных разговоров, //включающий номера телефонов и длительности разговоров. //Номера телефонов могут повторяться. Определить суммарное //время разговора с каждого из телефонных номеров. #include <iostream> #include <cstring> int main() { int N = 6; int coun...
20.288462
75
0.584834
thisroot
214dbff00fa313fcff28f7f0eeedc689e4b22c2b
802
hpp
C++
src/include/migraphx/op/name.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/include/migraphx/op/name.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/include/migraphx/op/name.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
#ifndef MIGRAPHX_GUARD_RTGLIB_NAME_HPP #define MIGRAPHX_GUARD_RTGLIB_NAME_HPP #include <array> #include <migraphx/operation.hpp> #include <migraphx/check_shapes.hpp> #include <migraphx/stringutils.hpp> #include <migraphx/streamutils.hpp> #include <migraphx/literal.hpp> #include <migraphx/shape_for_each.hpp> #include <...
22.277778
66
0.740648
aaronenyeshi
2151c8fb79145261d1231e143a3af32670491cfc
2,486
cpp
C++
src/abaeterno/timer_dev/simple_nic.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/timer_dev/simple_nic.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
src/abaeterno/timer_dev/simple_nic.cpp
paolofrb/cotson
1289b58ecc5d8279bc1124495ca0042f9586af11
[ "MIT" ]
null
null
null
// (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR C...
25.111111
86
0.689863
paolofrb
215383432c213b7d1afa6c11b8ff8419c63dc18d
423
hpp
C++
src/stopwatch.hpp
Ushio/MofuMofuRender
3236dea301d0d809e28fde83b51cce9b4b089f3d
[ "Zlib" ]
6
2017-09-10T16:46:52.000Z
2018-01-20T05:10:08.000Z
src/stopwatch.hpp
Ushio/MofuMofuRender
3236dea301d0d809e28fde83b51cce9b4b089f3d
[ "Zlib" ]
null
null
null
src/stopwatch.hpp
Ushio/MofuMofuRender
3236dea301d0d809e28fde83b51cce9b4b089f3d
[ "Zlib" ]
null
null
null
#pragma once #include <chrono> // namespace rt { class Stopwatch { public: Stopwatch() :_beginAt(std::chrono::high_resolution_clock::now()) { } double elapsed() const { auto n = std::chrono::high_resolution_clock::now(); return (double)std::chrono::duration_cast<std::chrono::microseconds>(n - _beginAt)....
24.882353
110
0.690307
Ushio
2156da40d9125be9a517cadb6f72a4966a043bec
179
hpp
C++
nek/mpl/integral_c_tag.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
nek/mpl/integral_c_tag.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
nek/mpl/integral_c_tag.hpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
#ifndef NEK_MPL_INTEGRAL_C_TAG_HPP #define NEK_MPL_INTEGRAL_C_TAG_HPP namespace nek { namespace mpl { struct integral_c_tag { }; } } #endif
11.933333
35
0.631285
nekko1119
2159d22dd89b9a4b56a8c275ea19149dbb4e1594
2,849
cpp
C++
source/framework/EliteAI/EliteGraphs/ENavGraph.cpp
TomStevens7533/Crowd-pathfinding-and-steering-using-flowfields
452568037bd8426c5b474fb3fda5a513b54947da
[ "Apache-2.0" ]
null
null
null
source/framework/EliteAI/EliteGraphs/ENavGraph.cpp
TomStevens7533/Crowd-pathfinding-and-steering-using-flowfields
452568037bd8426c5b474fb3fda5a513b54947da
[ "Apache-2.0" ]
1
2022-01-17T08:56:12.000Z
2022-01-17T09:22:23.000Z
source/framework/EliteAI/EliteGraphs/ENavGraph.cpp
TomStevens7533/Crowd-pathfinding-and-steering-using-flowfields
452568037bd8426c5b474fb3fda5a513b54947da
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "ENavGraph.h" #include "framework\EliteAI\EliteGraphs\EliteGraphAlgorithms\EAStar.h" using namespace Elite; Elite::NavGraph::NavGraph(const Polygon& contourMesh, float playerRadius = 1.0f) : Graph2D(false), m_pNavMeshPolygon(nullptr) { //Create the navigation mesh (polygon of navigatab...
29.071429
135
0.719902
TomStevens7533
215b6d908efe12a955d6ecf18ad8bba4a80f4396
18,908
cpp
C++
libs/sge_core/src/sge_core/GeomGen.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
null
null
null
libs/sge_core/src/sge_core/GeomGen.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
null
null
null
libs/sge_core/src/sge_core/GeomGen.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
null
null
null
#include "GeomGen.h" #include <vector> namespace sge { int GeomGen::ndcQuadUV(Buffer* resultVertBuffer) { if (resultVertBuffer == nullptr) { sgeAssert(false); return 0; } struct Vertex { vec2f p; vec2f uv; }; Vertex verts[6] = { {vec2f(-1.f, -1.f), vec2f(0.f, 0.f)}, {vec2f(1.f, -1.f), vec2f(1.f, 0...
30.744715
135
0.642638
Alekssasho
215bd5cfa91730ef66273fd6184c9c1a4b738d79
33
cpp
C++
src/Principal.cpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
10
2019-02-21T06:21:48.000Z
2022-02-22T08:01:24.000Z
src/Principal.cpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
2
2018-02-04T20:16:46.000Z
2018-02-04T20:19:00.000Z
src/Principal.cpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
10
2018-10-15T10:17:00.000Z
2022-02-17T02:28:51.000Z
// // Created by Good_Pudge. //
6.6
25
0.575758
Good-Pudge
215c08f3b6e6bd405909ec4a8483751f8f4c59e0
474
cc
C++
src/container/adt_test.cc
calvincaulfield/lib_calvin
cecf2d8b9cc7b6a4e7f269d0e94e0b80774fc30b
[ "Apache-2.0" ]
null
null
null
src/container/adt_test.cc
calvincaulfield/lib_calvin
cecf2d8b9cc7b6a4e7f269d0e94e0b80774fc30b
[ "Apache-2.0" ]
null
null
null
src/container/adt_test.cc
calvincaulfield/lib_calvin
cecf2d8b9cc7b6a4e7f269d0e94e0b80774fc30b
[ "Apache-2.0" ]
null
null
null
#include "adt_test.h" #include "stopwatch.h" using namespace lib_calvin_container; void lib_calvin_container::adtTest() { size_t checkSum = 0; lib_calvin::stopwatch watch; watch.start(); checkSum = pqTest<size_t, size_t, PqCorrect>(); watch.stop(); std::cout << "PqCorrect: " << watch.read() << ", " << checkSum...
21.545455
72
0.630802
calvincaulfield
2162bf672efa18ef55c4788aa85c58b6c0cebdb0
124
cpp
C++
archive/wasm_simulator/animal.cpp
Jackrekirby/HeatMyHome-Simulator-Dev
99e8655da1be1cd43a718a22e1e90e915e15f6de
[ "BSD-3-Clause" ]
null
null
null
archive/wasm_simulator/animal.cpp
Jackrekirby/HeatMyHome-Simulator-Dev
99e8655da1be1cd43a718a22e1e90e915e15f6de
[ "BSD-3-Clause" ]
2
2021-12-24T17:28:35.000Z
2022-03-04T22:46:44.000Z
archive/wasm_simulator/animal.cpp
Jackrekirby/Heating-Simulator
99e8655da1be1cd43a718a22e1e90e915e15f6de
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "animal.h" Animal::Animal(int age) : age(age) { std::cout << "age: " << age << "\n"; }
15.5
40
0.540323
Jackrekirby
216928af209d9d92a5ec63f04bd2063c5fe549e9
4,948
cpp
C++
dependencies/interfaces/interfaces.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
50
2019-06-12T19:22:28.000Z
2022-03-07T20:40:16.000Z
dependencies/interfaces/interfaces.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
13
2019-06-17T15:21:28.000Z
2021-03-21T19:09:43.000Z
dependencies/interfaces/interfaces.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
26
2019-06-16T19:33:12.000Z
2022-02-02T10:48:44.000Z
#include "interfaces.hpp" #include "../common_includes.hpp" i_base_client_dll* interfaces::client = nullptr; i_input* interfaces::input = nullptr; i_client_entity_list* interfaces::entity_list = nullptr; iv_engine_client* interfaces::engine = nullptr; i_client_mode* interfaces::clientmode = nullptr; i_client_state* in...
77.3125
176
0.773242
Lucianthin
216acadbc847e16eb9c447e4699ae16decdd30a8
2,339
cpp
C++
11-Deque.cpp
ritesh2905/LearnSTL
c18183454a1548f10034b44c9705b150cc1c0b53
[ "MIT" ]
null
null
null
11-Deque.cpp
ritesh2905/LearnSTL
c18183454a1548f10034b44c9705b150cc1c0b53
[ "MIT" ]
null
null
null
11-Deque.cpp
ritesh2905/LearnSTL
c18183454a1548f10034b44c9705b150cc1c0b53
[ "MIT" ]
null
null
null
#include<iostream> #include<queue> using namespace std; //declaring deque deque<int> dq; //function to print deque void print() { if(dq.empty()) { cout<<"\nNothing to show as deque is empty!!!\n"; return; } else { deque<int> k; k = dq; cout<<"\nThe deque is:...
18.862903
87
0.400599
ritesh2905
21788346de012f17a231aab208083f9bface5cfd
11,055
cpp
C++
isaac_variant_caller/src/lib/starling_common/alignment_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
21
2015-01-09T01:11:28.000Z
2019-09-04T03:48:21.000Z
isaac_variant_caller/src/lib/starling_common/alignment_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
4
2015-07-23T09:38:39.000Z
2018-02-01T05:37:26.000Z
isaac_variant_caller/src/lib/starling_common/alignment_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
13
2015-01-29T16:41:26.000Z
2021-06-25T02:42:32.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2013 Illumina, Inc. // // This software is provided under the terms and conditions of the // Illumina Open Source Software License 1. // // You should have received a copy of the Illumina Open Source // Software License 1 along with this program. If ...
31.228814
103
0.568431
sequencing
218216b8eab5021489ba11324199f56b2cd9be42
17
cpp
C++
src/Core/x/xPar.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
null
null
null
src/Core/x/xPar.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
6
2022-01-16T05:29:01.000Z
2022-01-18T01:10:29.000Z
src/Core/x/xPar.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
1
2022-01-16T00:04:23.000Z
2022-01-16T00:04:23.000Z
#include "xPar.h"
17
17
0.705882
DarkRTA
21846f5f3287a0dd51d8afd89c3b1b5ab1ed124c
910
cpp
C++
USACO/gift1.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
USACO/gift1.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
USACO/gift1.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
/* ID: tico8861 TASK: gift1 LANG: C++ */ /* LANG can be C++11 or C++14 for those more recent releases */ #include <iostream> #include <fstream> #include <string> #include <map> using namespace std; int main() { ofstream fout ("gift1.out"); ifstream fin ("gift1.in"); map<string, int> m; ...
19.782609
63
0.472527
tico88612
218ad890deda255531cdcce8f6b3fa9e285c3d9a
491
cpp
C++
CrimeEngine/source/Platform/Windows/DX12_Descriptor.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
1
2021-07-21T17:14:35.000Z
2021-07-21T17:14:35.000Z
CrimeEngine/source/Platform/Windows/DX12_Descriptor.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
null
null
null
CrimeEngine/source/Platform/Windows/DX12_Descriptor.cpp
boschman32/Crime-Engine
128529634011d41a1f7fc1a356245d7f7ef77cb3
[ "MIT" ]
3
2021-03-07T15:51:03.000Z
2021-07-13T20:01:34.000Z
#include "cepch.h" #include "Platform/Windows/DX12_Device.h" #include "Platform/Windows/DX12_Descriptor.h" cr::DX12_Descriptor::DX12_Descriptor(D3D12_DESCRIPTOR_HEAP_TYPE a_type, D3D12_DESCRIPTOR_HEAP_DESC a_desc, DX12_Device& a_device) { a_device.GetDevice()->CreateDescriptorHeap(&a_desc, IID_PPV_ARGS(m_heap.GetAdd...
30.6875
129
0.810591
boschman32
218d630821d680b0c1892a99d6a5afe85a431662
7,099
cpp
C++
FragEng.Dll/FragEng2.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
null
null
null
FragEng.Dll/FragEng2.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
null
null
null
FragEng.Dll/FragEng2.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
2
2020-03-03T12:55:17.000Z
2022-03-07T15:37:33.000Z
/* FragExt - Shell extension for providing file fragmentation * information. * * Copyright (C) 2004-2009 Jeremy Boschen. All rights reserved. * * 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 thi...
28.396
99
0.57811
jeremy-boschen
21907c18a25b0e1c5425de97146365f6b2f83800
1,273
cpp
C++
state_predictor/src/quad_ext_state_estimate.cpp
Hs293Go/rpg_quadrotor_common
3aacf03e5ea3685a991321ecc3c58193422657d9
[ "MIT" ]
10
2018-05-05T17:02:37.000Z
2021-12-24T12:00:53.000Z
state_predictor/src/quad_ext_state_estimate.cpp
Hs293Go/rpg_quadrotor_common
3aacf03e5ea3685a991321ecc3c58193422657d9
[ "MIT" ]
3
2018-05-03T14:25:10.000Z
2019-08-25T18:44:50.000Z
state_predictor/src/quad_ext_state_estimate.cpp
Hs293Go/rpg_quadrotor_common
3aacf03e5ea3685a991321ecc3c58193422657d9
[ "MIT" ]
12
2018-04-25T04:52:57.000Z
2021-10-04T20:05:20.000Z
#include "state_predictor/quad_ext_state_estimate.h" namespace state_predictor { QuadExtStateEstimate::QuadExtStateEstimate() : quadrotor_common::QuadStateEstimate(), thrust(kDefaultThrust) { } QuadExtStateEstimate::QuadExtStateEstimate( const nav_msgs::Odometry& quad_state_est) : quadrotor_common::QuadS...
27.085106
80
0.811469
Hs293Go
21948e2983eebdec1d88bdf0f8938a1a22b3c776
6,787
cpp
C++
src/Library/DetectorSpheres/CircularDiskDetector.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/Library/DetectorSpheres/CircularDiskDetector.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/Library/DetectorSpheres/CircularDiskDetector.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // CircularDiskDetector.cpp - Implements the detector made up // of circular disks // // Author: Aravind Krishnaswamy // Date of Birth: May 5, 2003 // Tabs: 4 // Comments: // // License Information: Please see the attached LICENSE.TXT ...
29.767544
190
0.68366
aravindkrishnaswamy
2194f722735abc7eac6b3f0a4f6f44ca6d5ec7d1
1,593
cpp
C++
GLFramework/Game/Materials/LightMaterial.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
39
2016-03-23T00:39:46.000Z
2022-02-07T21:26:05.000Z
GLFramework/Game/Materials/LightMaterial.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
1
2016-03-24T14:39:45.000Z
2016-03-24T17:34:39.000Z
GLFramework/Game/Materials/LightMaterial.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
3
2016-08-15T01:27:13.000Z
2021-12-29T01:37:51.000Z
#include "stdafx.hpp" #include "LightMaterial.hpp" #include "../../Graphics/TextureData.hpp" #include "../../Graphics/ShaderData.hpp" #include "../../Graphics/MeshFilter.hpp" #include "../../Graphics/FrameBuffer.hpp" #include "../../Framebuffers/Gbuffer.hpp" LightMaterial::LightMaterial(glm::vec3 col): Material("Shad...
32.510204
81
0.744507
Illation
2195c7660d34291cba63e4862ac01df678c67d74
11,797
cpp
C++
data/144.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/144.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/144.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int //2K cJ,SK , ia ,I,jZF5/*ZZt*/, ZQ , aPF , cW , lwCD ,V8 , /**/DUe,M2w,//rkOi MWb , LSp, M , L3p//aOQ /*PdA*/,iNus, h3iV ,gs//u ,//69r AsJ, tRiCi ,kQ , P7, P8s2V, Xyu, kL, r9ss , JXu/**/,NA /*m*/,cJ8N,pw, d4OkH , fG , WYrb , vYQf ,r7aT ,/*jy*/GZDj, C01, ij5SV , aPYgMl, uJ , e ,WE ,...
10.803114
80
0.442824
TianyiChen
219cc42d1d977e34932942ee57561803c09f4fef
2,047
hpp
C++
optionals/units/items/plaid_jeans_helpers.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
optionals/units/items/plaid_jeans_helpers.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
optionals/units/items/plaid_jeans_helpers.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
// Naming pattern: SizeSleeves_ColorShirt_ColorPants_ColorBoots // Plaid with Jeans class GVAR(Unit_Plaid_JP_GY_BP_BB): GVAR(Unit_TShirt_Floral_Denim_Base) { scope = 1; author = "Trenchgun, Tyrone"; uniformClass = QGVAR(Uniform_Plaid_JP_GY_BP_BB); hiddenSelectionsTextures[] = { QPATHTOF(data\uni...
34.694915
74
0.730337
JeffPerk
219d5dfb8abea002448161a06f725ca613faccd9
398
cpp
C++
Loops/perfectNumbers/perfectNumber.cpp
ntjohns1/cppPractice
c9c18bec889cde56217f68996077b9d409ceef04
[ "Apache-2.0" ]
null
null
null
Loops/perfectNumbers/perfectNumber.cpp
ntjohns1/cppPractice
c9c18bec889cde56217f68996077b9d409ceef04
[ "Apache-2.0" ]
null
null
null
Loops/perfectNumbers/perfectNumber.cpp
ntjohns1/cppPractice
c9c18bec889cde56217f68996077b9d409ceef04
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int n, i, sum=0; cout<<"enter n"; cin>>n; for (i = 1; i <=n; i++) { if (n%i==0) { sum=sum+i; } // if the sum of the factors of n is 2*n it is a perfext number if (2*n==sum) { ...
15.92
71
0.394472
ntjohns1
219ff2741eb5ae32b6e1a7c5c3e23865d4e95de5
2,066
cpp
C++
src/geo3dml/Field.cpp
WuZixing/Geo3DML-On-HDF5-CPP
d5aa63a04c81f20e5aadf73c76355bb6d82217c7
[ "MIT" ]
8
2019-04-12T02:23:01.000Z
2021-06-21T02:03:04.000Z
src/geo3dml/Field.cpp
WuZixing/Geo3DML-On-HDF5-CPP
d5aa63a04c81f20e5aadf73c76355bb6d82217c7
[ "MIT" ]
1
2019-04-12T02:28:19.000Z
2019-08-31T09:53:55.000Z
src/geo3dml/Field.cpp
WuZixing/Geo3DML-On-HDF5-CPP
d5aa63a04c81f20e5aadf73c76355bb6d82217c7
[ "MIT" ]
6
2019-04-12T02:23:03.000Z
2021-05-28T05:21:49.000Z
#include <geo3dml/Field.h> #include <geo3dml/Utils.h> using namespace geo3dml; std::string Field::ValueTypeToName(ValueType t) { switch (t) { case geo3dml::Field::ValueType::Text: return "Text"; case geo3dml::Field::ValueType::Integer: return "Integer"; case geo3dml::Field::ValueType::Double: return "Double...
18.954128
66
0.67909
WuZixing
21a001a0db01a73961e007e171c2fc1e61dd807a
3,028
cpp
C++
tools/cli/mpp.cpp
sylvainprigent/smpp
e5c8781b3d46d522acd774c8d634f77049cfb8a0
[ "BSD-4-Clause" ]
null
null
null
tools/cli/mpp.cpp
sylvainprigent/smpp
e5c8781b3d46d522acd774c8d634f77049cfb8a0
[ "BSD-4-Clause" ]
null
null
null
tools/cli/mpp.cpp
sylvainprigent/smpp
e5c8781b3d46d522acd774c8d634f77049cfb8a0
[ "BSD-4-Clause" ]
null
null
null
#include <iostream> #include <smpp> #include <simageio> #include <scli> int main(int argc, char *argv[]) { try { SCliParser cmdParser(argc, argv); cmdParser.addInputData("-i", "Input image file"); cmdParser.addOutputData("-o", "Output image file"); cmdParser.addOutputData("-m",...
34.409091
101
0.600066
sylvainprigent
21a0af7076b54d237533ace877560a7cb2fba341
76
cpp
C++
classes/nikoksr/cpp/templates/template.cpp
nikoksr/proji-templates
82193daa839fbce4ffbe032ffc944ca3ba0bf4c7
[ "MIT" ]
null
null
null
classes/nikoksr/cpp/templates/template.cpp
nikoksr/proji-templates
82193daa839fbce4ffbe032ffc944ca3ba0bf4c7
[ "MIT" ]
null
null
null
classes/nikoksr/cpp/templates/template.cpp
nikoksr/proji-templates
82193daa839fbce4ffbe032ffc944ca3ba0bf4c7
[ "MIT" ]
null
null
null
#include "../include/funcs.hpp" int add(int x, int y) { return x + y; }
15.2
31
0.578947
nikoksr
426e345729293c9d80be1aa40c99987591cac21a
874
hpp
C++
include/mk2/math/isnan.hpp
SachiSakurane/libmk2
e8acf044ee5de160ad8a6f0a3c955beddea8d8c2
[ "BSL-1.0" ]
null
null
null
include/mk2/math/isnan.hpp
SachiSakurane/libmk2
e8acf044ee5de160ad8a6f0a3c955beddea8d8c2
[ "BSL-1.0" ]
null
null
null
include/mk2/math/isnan.hpp
SachiSakurane/libmk2
e8acf044ee5de160ad8a6f0a3c955beddea8d8c2
[ "BSL-1.0" ]
null
null
null
// // Created by Himatya on 2017/11/22. // #pragma once #include <type_traits> namespace mk2{ namespace math{ namespace detail { template <typename T, typename = void> struct isnan_impl{}; template <typename FloatType> struct isnan_impl<FloatType, std::enable_if_t <std::is_f...
20.809524
98
0.557208
SachiSakurane
426f9b6f9f059374233df0438bb817b29ac89f40
4,166
cpp
C++
Minesweeper/main.cpp
MrDlop/Tetris
d670ee746502e90092730f9c072ce86c4f365b95
[ "Apache-2.0" ]
null
null
null
Minesweeper/main.cpp
MrDlop/Tetris
d670ee746502e90092730f9c072ce86c4f365b95
[ "Apache-2.0" ]
null
null
null
Minesweeper/main.cpp
MrDlop/Tetris
d670ee746502e90092730f9c072ce86c4f365b95
[ "Apache-2.0" ]
null
null
null
#include <SFML/Graphics.hpp> #include <ctime> using namespace sf; //PLAYING FIELD DIMENSIONS// const int H = 14; // HIGHT const int W = 14; // WEIGHT const int HG = 12; const int WG = 12; const int h = 12; int fieldLogicGen[H][W] = {}; int fieldLogic[HG][WG] = {};// PLAYING FIELD int fieldGrafic[HG][...
22.641304
104
0.50288
MrDlop
4273f6f5ae2f19927430ebd936d920c848961a3c
11,460
cpp
C++
App/src/Controls/aside.cpp
serd2011/KG_Kursach
77482d378204025239c56a2f0b425a9eebe115bc
[ "MIT" ]
4
2022-02-22T02:14:01.000Z
2022-02-22T08:10:53.000Z
App/src/Controls/aside.cpp
serd2011/KG_Kursach
77482d378204025239c56a2f0b425a9eebe115bc
[ "MIT" ]
null
null
null
App/src/Controls/aside.cpp
serd2011/KG_Kursach
77482d378204025239c56a2f0b425a9eebe115bc
[ "MIT" ]
null
null
null
#include "pch.h" #include "aside.h" #include "stuff/stuff.h" #include "xyzControl.h" static HWND hWndButton; static HFONT hFontNormal; static HFONT hFontSmall; struct asideData { HBRUSH backgroungBrush; ~asideData() { DeleteObject(this->backgroungBrush); } }; static const asideData data{ CreateSolidBrush(con...
38.585859
207
0.72103
serd2011
4274a65db7b88ed179d95946c1d66f9b3f01a5a0
2,304
cpp
C++
application/test_udp_l2.cpp
fpga2u/s4-libLite
1ec4c4f467959fb110bb263d2a53e78e0e31141f
[ "MIT" ]
null
null
null
application/test_udp_l2.cpp
fpga2u/s4-libLite
1ec4c4f467959fb110bb263d2a53e78e0e31141f
[ "MIT" ]
null
null
null
application/test_udp_l2.cpp
fpga2u/s4-libLite
1ec4c4f467959fb110bb263d2a53e78e0e31141f
[ "MIT" ]
null
null
null
#include "common/s4logger.h" #include "common/s4signalhandle.h" #include "network/L2_udp_recver_th_native.h" #include "queue/simpleQ_spmc_ar.h" using namespace S4; using namespace S4::NW; CREATE_LOCAL_LOGGER(testUDPL2) int main(int argc, char** argv) { signalhandler_t::HookupHandler(); std::shared_ptr<L2DataQ_...
27.428571
154
0.652344
fpga2u