blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
dc045a2b411939d60ad2fcbc7b5cac6bafb2bbd2
057ad60d054d1b0a69c2a664611955f7670018e0
/C++ and Data Structures (PSU)/Semester 1 (Intro to C++)/3) TicTacToe/TicTacToe.cpp
f0726f2cfbca820d92c4a05167a34f7038cc9e34
[]
no_license
Tpanda03/Data-Structures
e10ca0c2aec756bbf1b7ca482a44e9b6e8f1d4e4
643bc69e514d75ce2735ce89cbbbba3a77d938ac
refs/heads/master
2022-10-02T09:07:40.476083
2020-06-01T18:55:57
2020-06-01T18:55:57
255,786,461
0
0
null
null
null
null
UTF-8
C++
false
false
3,248
cpp
TicTacToe.cpp
#include <iostream> #include <string.h> using namespace std; void clear(char* Ptr[3][3]);//method to clear the board void draw(char* Ptr[3][3]);//method to draw the board bool win(char* Ptr[3][3], char player);//method to check for a win condition bool tie(char* Ptr[3][3]);//method to check if the game ended in a tie...
dee049022ab65cf4fd9f5521d1488b0006c11516
06e54a023d88f0aaf996546d345934d5dd7ef323
/PANEL_DE_CONTROL__PANTALLA_/PANEL_DE_CONTROL__PANTALLA_.ino
ad0e89cb3175602e5db58513d3083a3422e6a40f
[]
no_license
jonamenabar/ALARMA
4bac3afe1ba2d6b697708a8f429cf438466cdcc4
c7d64c442a7bf9d8d52d7adeec03e6f33200684c
refs/heads/master
2021-01-10T10:00:15.251395
2016-04-18T23:40:21
2016-04-18T23:40:21
51,414,993
0
0
null
null
null
null
UTF-8
C++
false
false
3,368
ino
PANEL_DE_CONTROL__PANTALLA_.ino
// include the library code: #include <LiquidCrystal.h> #include <Keypad.h> #include <SoftwareSerial.h> //###################################### VARIABLES GLOBALES ########################################################## char DATO = 'a'; //creo la variable donde voy a guardar lo que me llegue del A...
5904c6d4715cf76ed8b836f779694407b46f7170
f4941250eae3d19bba36538e2d0509ff6a6fb8e6
/code/simulation.cpp
cc2c395a16d9b332d1db6ea026e10343cf48b689
[ "MIT" ]
permissive
TinyConstruct/Torch
c8dc6b25417b4832c5e55d93812485b7b18c5eac
31b42a4b39671a93bed7d148acc50f9f2347e3b8
refs/heads/master
2021-04-29T11:58:03.005006
2018-03-26T18:25:16
2018-03-26T18:25:16
121,719,665
0
0
null
null
null
null
UTF-8
C++
false
false
11,391
cpp
simulation.cpp
#include "simulation.h" void createEntity(EntityGroup* entityGroup, RenderGroup* renderGroup, int entityType, int x, int y) { assert(entityGroup->count + 1 < entityGroup->max); Entity* e = entityGroup->base + entityGroup->count; e->type = entityType; e->centerX = x + TILE_SPACE_CENTER_OFFSET; e->centerY = y ...
89c14cb7954be5b9c4e9514b31480d8b01152d92
cb4e40043a362288616fdcf784c284147a06086e
/小米oj/4.cpp
c2fab4d17c356a5c07c35fd0c73928c79c798e2f
[]
no_license
stArl23/onlineJudgeExam
aaab6c47ab0cae3eb52dd940e89c08b3301565d0
c8b7d1f38b0f6463fbd56be08a212084cd96cdde
refs/heads/master
2021-10-22T11:12:45.783087
2019-03-10T05:24:04
2019-03-10T05:24:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
603
cpp
4.cpp
#include<iostream> #include<sstream> #include<algorithm> #include<vector> using namespace std; int main() { string s; while(getline(cin,s)) { if(s=="")break; vector<int> nums; vector<bool> dp; size_t pos=0; while((pos=s.find(","))&&pos!=string::npos) { s.replace(pos,1," "); } istringstream iss(s); ...
1a40322450e9a612d9accc7c0937d4c31c94de62
ec3b8fcf4cafe11a7fed25dd9de1304a8e22a6a9
/src/xrt/auxiliary/android/android_custom_surface.cpp
829f01fd4e3489a13bed46d8f26acc9b151f4763
[ "CC-BY-4.0", "BSL-1.0" ]
permissive
mateosss/monado
acfcdf105545535c122fe4a720f0e740b028ab75
a6da40de505b58c28f50dc578d36b7b2f0887ad7
refs/heads/master
2023-04-13T22:25:42.732317
2021-03-09T17:45:45
2021-03-09T18:16:01
339,816,160
12
1
null
null
null
null
UTF-8
C++
false
false
5,550
cpp
android_custom_surface.cpp
// Copyright 2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Implementation of native code for Android custom surface. * @author Ryan Pavlik <ryan.pavlik@collabora.com> * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com> * @ingroup aux_android */ #include "android_custom_sur...
662a075c81bc30f71317c795456e3cf42c82f8a2
7af554ff51603fd9f01903577be9836aba03e3f1
/inc/WASABI.hh
0d812872ce234aace5f9df6c6174e8ea2a109e25
[]
no_license
wimmer-k/Salvador
eaf042ab918eb5f958cad496273e535d84f028c7
9241b66b298c6231a95d8787a75567afee32094f
refs/heads/master
2021-12-15T00:50:48.146849
2021-12-13T16:46:23
2021-12-13T16:46:23
51,063,680
0
0
null
null
null
null
UTF-8
C++
false
false
17,061
hh
WASABI.hh
#ifndef __WASABI_HH #define __WASABI_HH #include <iostream> #include <vector> #include <cstdlib> #include <math.h> #include <algorithm> #include "TObject.h" #include "WASABIdefs.h" using namespace std; class WASABIHitComparer; /*! Container for the WASABI Raw ADC information */ class WASABIRawADC : public TObject {...
649c47e950c4e5d4e2868ee4c83204ce3ac080a7
fae75dec669599ea65477ba9cc20e43cd70fdef8
/module00/ex01/Contact.class.hpp
64e36ac40a8260ee8143d3243ee80f8780abad74
[]
no_license
poringdol/CPP_module
64851acf86e1edde3cbfd019dfe7bf39962f410b
8903d8a4dcbf63509bdf805e70584f0682eba6e8
refs/heads/master
2023-01-20T15:05:47.800022
2020-12-06T01:55:24
2020-12-06T01:55:24
308,949,414
0
0
null
null
null
null
UTF-8
C++
false
false
694
hpp
Contact.class.hpp
#ifndef CONTACT_H #define CONTACT_H #include <string> class Contact { private: int not_empty; std::string first_name; std::string last_name; std::string nickname; std::string login; std::string postal_address; std::string email_address; std::string phone_number; std::string birthday_date; std::string favori...
f340f2b9a85e72146983821d8f79966af8459f9a
d1120d6a0db57fb3252be42dc5ece3a2dbbc07f2
/Myprojects/sCoreLib/TObjectMgr.cpp
ab7d4ecbe73c02e3fefa746d3feab21b3430431d
[]
no_license
shjii/Map-Tool
c8da9b53017ad162e11c498b66313c9c5710f8a4
597b5f8c541094f1090b003175cc1955b64ebbe4
refs/heads/master
2023-05-09T06:59:32.359465
2021-05-26T07:05:22
2021-05-26T07:05:22
315,503,404
0
0
null
null
null
null
UHC
C++
false
false
12,941
cpp
TObjectMgr.cpp
#include "TObjectMgr.h" #include "TInput.h" TObject* TObjectComposite::Clone() { TObjectComposite* pComposite = new TObjectComposite(*this); auto pSource = pComposite->m_Components.begin(); for (auto obj : m_Components) { TObject* pNewObj = obj->Clone(); *pSource = pNewObj; pSource++; } return pComposite; ...
0829133baa887921b24aaaca6ba854f3d66e965d
dadaf21ce416a3de15f87e5a32bd0693cb7716e8
/Classes/Entities/EntityTypes.h
7b66e6b877885d241b571c34f57194221b571f24
[]
no_license
Crasader/Cheetah
59d57994ed7ca88caa986164e782847e0638afa6
e944c150c4dbd00eccb8c222e8c68b0fb1c6ce38
refs/heads/master
2020-12-04T17:33:17.299151
2015-12-25T12:08:37
2015-12-25T12:08:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
732
h
EntityTypes.h
// // EntityTypes.h // Cheetah // // Created by Plus Pingya Avalable on 2/19/2557 BE. // // #ifndef __Cheetah__EntityTypes__ #define __Cheetah__EntityTypes__ #include <iostream> enum EntityType { ET_UNKNOWN, ET_UNWANTED_TREE, ET_DECORATION_REMOVABLE, ET_BUILDING_HQ, ET_BUILDING_UNCLE_HOUSE, ...
fe1afb51bc873d06b4d2e9046a40ffd9fec35a9a
48b0f94b3bf19ee00e28d691a9c65b6cbb66f1d5
/RawToDigi/plugins/HGCalTBTextSource.cc
b6e3cb46df080b2317bf2168d69e3d0510e37d04
[]
no_license
sixie/TestBeam
476ce9137bf3567b8ec57f39d67e5071e74aaa20
cf395440830442c480195fb478a6f4a6eb131253
refs/heads/master
2021-01-17T12:35:23.604689
2016-03-27T05:32:00
2016-03-27T05:32:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,167
cc
HGCalTBTextSource.cc
#include "HGCal/RawToDigi/plugins/HGCalTBTextSource.h" //#define DEBUG #ifdef DEBUG #include <iostream> #endif bool HGCalTBTextSource::readLines() { m_lines.clear(); char buffer[1024]; unsigned int length, bcid; if(feof(m_file)) return false; // read the first line buffer[0] = 0; fgets(buffer, 1000, m_file)...
fca6e7b25d8f9f4d3db36d1007d21c931e53bbbd
68bb54411fb561cea0ae5bb398a3d901f04f0548
/cir_in_cir.cpp
a3662366468a224410b1bcd16cb9fdaa1b0bd299
[]
no_license
AkanshA0/Computer-Graphics
cad6f2ca45058573cb7e17daef8dbd6c0a3e79e4
e0f437da061a61cb3a6c2ade24277ec7128eac22
refs/heads/master
2023-01-20T04:39:57.751111
2020-11-30T18:14:43
2020-11-30T18:14:43
294,007,728
0
0
null
null
null
null
UTF-8
C++
false
false
1,794
cpp
cir_in_cir.cpp
#include<GL/glut.h> #include<GL/gl.h> #include<cmath> void draw(void){ glClear(GL_COLOR_BUFFER_BIT); float t1,t2,t3,t4,t5,t6; //glPointSize(2); glBegin(GL_POLYGON); glColor3f(0,1,0); for(int i=0;i<360;i++) { glVertex3f(200+150*cos(3.14159*i/180),200+150*sin(3.14159*i/180),0); } glEnd(); //glPointSiz...
1dd52debb62aec7cd97a7d645196988633b0312a
3d6f999526ac252f5d68d564c553391c1c219825
/srcs/client_src/SpeedTreeLib/SpeedGrassRT.cpp
b52c1a5c1344345a0e6733ccb4028e190d28887d
[ "Unlicense" ]
permissive
kdoggdev/cncn_m2
e77354257de654f6507bcd14f0589311318bcbc0
149087e114be2b35c3e1548f4d37d6618ae27442
refs/heads/main
2023-02-02T09:56:37.306125
2020-12-23T09:52:14
2020-12-23T09:52:14
337,634,606
0
1
Unlicense
2021-02-10T06:13:27
2021-02-10T06:13:27
null
UTF-8
C++
false
false
26,069
cpp
SpeedGrassRT.cpp
/////////////////////////////////////////////////////////////////////// // CSpeedGrassRT Class // // (c) 2003 IDV, Inc. // // *** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION *** // // This software is supplied under the terms of a license agreement or // nondisclosure agreement with Interactive Data ...
6326d5ff09749f2f3d981928af00bacb636c2a25
e45ef0115d58ab472f156f4dfdcb2c89c6d3d728
/079.cpp
7a2d6ba577ef56cbb64aa430cf1f7c11bbfdcfaa
[]
no_license
plenilune3/cpp_for_beginners_200
e0267c3dcda93ff2eba8ed0752eecb77ec038c46
ba1a480d8f8d7a965195e18decdd278a93a6916a
refs/heads/master
2020-06-14T03:07:20.944080
2019-12-19T14:18:30
2019-12-19T14:18:30
194,876,853
1
0
null
null
null
null
UTF-8
C++
false
false
412
cpp
079.cpp
#include <iostream> using namespace std; enum Status { normal = 0, abnormal, disconnect = 100, close }; int main() { Status number = close; if (number == Status::normal) cout << "Status : normal" << endl; else if (number == abnormal) cout << "Status : abnormal" << endl; else if (number == 100) cou...
b33ecd84d9566b236a4d9bd05369cf41005b8e9a
1adb643675f0b144641d608d8f21d5a288c520e3
/express.cpp
b3fa721376180e215852d150bea0bdc53d103731
[]
no_license
jianglin332/codes
5c965fdfca589fbbca5b651b92e4fdf64b09fd7a
a8a095d6da3df14b1d4fd0b12f7b58e9b366ed78
refs/heads/master
2021-05-04T12:57:19.770343
2018-02-05T12:50:53
2018-02-05T12:50:53
120,303,772
0
0
null
null
null
null
UTF-8
C++
false
false
783
cpp
express.cpp
#include <cstdio> #include <cstring> #include <stack> using namespace std; struct ed { int nx, to; }es[1010101]; int hd[10101], ne; int ans; bool can[10101][10101]; int dfs(int t, int a) { can[t][a] = 1; for (int i = hd[a]; i != -1; i = es[i].nx) if (!can[t][es[i].to]) dfs(t, es[i].to); } int main(int argc, cha...
052f1471a07c77ac9b5a2f5eb0be9d19075c1bfa
9edc18e16fcd31b55dce3b979ead2e3900f6c14b
/cpp/123.cpp
859587d90752beb7540d732f291929020f4fc38f
[]
no_license
Miloas/leetcode
5213421490da3418dcfd234eba66b060511ccec2
64c35e16763d16c905dd35d51965319dc1e71f92
refs/heads/master
2020-01-23T22:05:31.677468
2017-01-12T20:22:44
2017-01-12T20:22:44
74,613,994
0
0
null
null
null
null
UTF-8
C++
false
false
392
cpp
123.cpp
class Solution { public: int maxProfit(vector<int> &prices) { int n=prices.size(); if(!n) return 0; int hold1=INT_MIN,hold2=INT_MIN,sale1=0,sale2=0; for(auto x:prices){ hold1=max(hold1,-x); sale1=max(sale1,x+hold1); hold2=max(hold2,sale1-x); ...
54b389dc56c5a8909eb6a1013010454897dda44f
c5b29a8b03ea9c961a1534065121663bd0e3faa1
/src/components/pins/pincomponent.h
7b6c5e6468aab6768558b6d38ef8fbf80fb23387
[]
no_license
calstar/SIL
13aa7d92de42d69a6dfe93fbcd841f51d1a67402
45d0e5864aaa450ae0f34dd7b7f166dea341943d
refs/heads/master
2022-11-02T18:59:58.508965
2022-10-11T21:56:17
2022-10-11T21:56:17
175,512,228
5
2
null
null
null
null
UTF-8
C++
false
false
291
h
pincomponent.h
#pragma once #include "common.h" class PinComponent { protected: bool isActivated; public: string name; PinComponent(string name); virtual void activate(int64_t time) = 0; virtual void deactivate(int64_t time); bool activated(); };
ee928cd3db73ba88b5b4496db3e9e7c60a35aa9a
1db4336089819f7734b5a59864219721cd352398
/src/LAppTextureDesc.cpp
5a4703b9531a982bb169fa9e13caa6368e2110cb
[]
no_license
Ikari2015/Live2D
3f45e9e1a2ed6761791f63c3148bfbaa2f5a247c
650fd2ebce2b84839bcc23eb82f0325daac9a925
refs/heads/master
2021-01-15T11:41:06.757021
2015-08-06T09:28:24
2015-08-06T09:28:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
288
cpp
LAppTextureDesc.cpp
/* * 搭载 AZUSA 使用的 Live2D 整合界面 * * 界面基于 Live2D SDK for DirectX 2.0.06 * * LAppTextureDesc.cpp */ #include "LAppTextureDesc.h" LAppTextureDesc::LAppTextureDesc(LPDIRECT3DTEXTURE9 tex) { data=tex; } LAppTextureDesc::~LAppTextureDesc() { data->Release(); }
26bb5d5b48bf464400c909a34cef2f7c8f70f287
0bab4267636e3b06cb0e73fe9d31b0edd76260c2
/freewar-alpha/src/Graphics/update_anim.cpp
8721fd0001869745b0955555080a84a8f5f5e84a
[]
no_license
BackupTheBerlios/freewar-svn
15fafedeed3ea1d374500d3430ff16b412b2f223
aa1a28f19610dbce12be463d5ccd98f712631bc3
refs/heads/master
2021-01-10T19:54:11.599797
2006-12-10T21:45:11
2006-12-10T21:45:11
40,725,388
0
0
null
null
null
null
UTF-8
C++
false
false
789
cpp
update_anim.cpp
/* ** update_anim.c for freewar in /u/ept2/huot_j ** ** Made by jonathan huot ** Login <huot_j@epita.fr> ** ** Started on Fri Jun 11 12:06:09 2004 jonathan huot // Last update Mon Jun 14 16:13:23 2004 stephane petitcolas */ #include "freewar.h" extern t_gfx *gfx; int update_anim(int id, int row, i...
690f9f57b97c9bfe08249e88a9f8312a2c9eda71
3d711597d2d8b533f53cc023ad146f16e167e877
/src/fgs_main.cpp
eb6b71e071ac2f2de9c41523e3678c065795a232
[]
no_license
huanglei0809/MRFGS
a8b2d71c2f3679b0a647e71e648e94a9c447a0e2
b8d754de08b68476515c6d4ef30d045379fa68dd
refs/heads/main
2023-04-11T13:03:58.300930
2021-04-27T14:13:55
2021-04-27T14:13:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
32,853
cpp
fgs_main.cpp
/* * FANET Ground Station * * */ #include <sys/fcntl.h> #include <syslog.h> #include <unistd.h> #include <rapidjson/stringbuffer.h> #include <rapidjson/pointer.h> #include <iostream> #include <string> #include <list> #include <map> #include "../include/TDequeConcurrent.h" #include "AprsOgnManager.h" #include "C...
7156765b15e41b76348cd2118042ea3276ba71e0
1c42215c5558211f02557ef1edd711d067ec78b6
/src/Union_MarvinHelper/Workspace/Console/CShowAnictrlCommand.h
9a6c93fbcad37b7872aebcba4bb763bee7a2fe64
[]
no_license
UnresolvedExternal/Union_AlterDamage
fd5891c3a62896a3e2049e9fea2b3da9721c57c9
88b1ae773ea8e5c3762d2a5fd23b3ca7fae5c3b2
refs/heads/master
2023-07-26T13:52:00.230498
2023-07-11T17:49:13
2023-07-11T17:49:13
200,260,609
5
1
null
null
null
null
UTF-8
C++
false
false
34,971
h
CShowAnictrlCommand.h
#include <iomanip> namespace NAMESPACE { class CShowAnictrlCommand : public CConsoleCommand { protected: CSubscription onLoop; bool enabled; struct AniInfo { std::string name; int value; AniInfo(const std::string& name, int value) : name{ name }, value{ value } { for (char& ch : th...
c25ee9499ced6556e4b511cb93600ff74e0a6b4a
4d0300263d28fb461f285cc2c3dfd7c51621cb4d
/librtt/Input/Rtt_PlatformInputDeviceManager.cpp
d48684aee3023c2e8f148e372be77c2f59e4a4b9
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown" ]
permissive
coronalabs/corona
6a108e8bfc8026e8c85e6768cdd8590b5a83bdc2
5e853b590f6857f43f4d1eb98ee2b842f67eef0d
refs/heads/master
2023-08-30T14:29:19.542726
2023-08-22T15:18:29
2023-08-22T15:18:29
163,527,358
2,487
326
MIT
2023-09-02T16:46:40
2018-12-29T17:05:15
C++
UTF-8
C++
false
false
4,730
cpp
Rtt_PlatformInputDeviceManager.cpp
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
91c066bdd514dc1a58db150268191c869a595c72
851d12adffa6dcdc85816c2ee6f6af129c5542b6
/TDEngine2/plugins/WindowsInputContext/source/CMouse.cpp
7d4cdf3f8c3bf767f58842625085ca7736067623
[ "Apache-2.0" ]
permissive
bnoazx005/TDEngine2
775c018e1aebfe4a42f727e132780e52a80f6a96
ecc1683aac5df5b1581a56b6d240893f5c79161b
refs/heads/master
2023-08-31T08:07:19.288783
2022-05-12T16:41:06
2022-05-12T16:45:02
149,013,665
6
2
null
null
null
null
UTF-8
C++
false
false
3,742
cpp
CMouse.cpp
#include "./../include/CMouse.h" #include <core/IInputContext.h> #include <math/MathUtils.h> #include <cstring> #if defined (TDE2_USE_WINPLATFORM) namespace TDEngine2 { CMouse::CMouse() : CBaseInputDevice() { } E_RESULT_CODE CMouse::_createInternalHandlers(const TInternalInputData& params) { IDirectInput8...
b947e359784f2cb1bd6428c8734add2f41892b89
18ed40859a4ec5135d66ec496f389e49fba9170c
/include/ugdk/graphic.h
64bb549f6565bc764f89099921f620302ce0f679
[]
no_license
uspgamedev/horus_eye
9c9469858a02962cb96548ebc7738c5ff059f691
44f35d11bdec75e23d3101e5390ce6b0845f18f2
refs/heads/master
2021-06-24T08:48:08.259535
2013-01-15T16:45:15
2013-01-15T16:45:15
2,212,663
3
3
null
null
null
null
UTF-8
C++
false
false
496
h
graphic.h
#ifndef UGDK_GRAPHIC_H_ #define UGDK_GRAPHIC_H_ namespace ugdk { namespace graphic { // Drawables class Drawable; class Shape; class Text; class Sprite; class SolidRectangle; class TexturedRectangle; // Spritesheets class Spritesheet; class FlexibleSpritesheet; // Extra class Font; class Image;...
e15f7943449a22fd8986fedc18b63a7e69d610b8
d5e88858c50a03c2e152966f5ebfeb5837d8f422
/src/mem.cpp
5b3e766f654daa55373095ccc7134b0925226d53
[]
no_license
Plasmarobo/GAPP
6fccbf46bf4f000479d33a0928d57695d3abb5f8
bd36bc25b37c6178febfdc651bb80125ea548cad
refs/heads/master
2021-07-23T19:08:28.941745
2020-05-13T18:29:54
2020-05-13T18:29:54
40,744,895
3
0
null
2020-05-13T18:29:55
2015-08-15T03:13:34
Assembly
UTF-8
C++
false
false
17,131
cpp
mem.cpp
#include "mem.h" #include "cpu.h" #include "clk.h" #include "utils.h" #include <string.h> #include <fstream> #define AddrIn(addr,x,y) ((addr>=x)&&(addr<y)) Cart::Cart() { m_rom = NULL; m_ram = NULL; m_rom_size = 0; m_ram_size = 0; m_rom_bank = 0; m_ram_bank = 0; } Cart::Cart(unsigned char *rom, unsigned int ro...
6aadfb9db121072d7bd111cbb1daf3c2001572c8
38a7e4e155a4fa4b208f29bd24f76a8d426ee90d
/#466/940E.cpp
f9bbb8b16f4447c6bab3dff427b85b5478b8d1ab
[]
no_license
updown2/CodeForces
c7d24dac596160f8feb057265f7db264765658d8
89846b4a79ed862877bcce0b95765f7f6d99312b
refs/heads/master
2020-03-22T00:51:33.686976
2019-07-25T16:08:19
2019-07-25T16:08:19
137,614,755
0
0
null
null
null
null
UTF-8
C++
false
false
876
cpp
940E.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define For(i, a, b) for(int i=a; i<b; i++) #define ffi For(i, 0, N) #define ffj For(j, 0, C) #define ffa ffi ffj #define s <<" "<< #define c <<" : "<< #define w cout #define e endl//"\n" #define pb push_back #define mp make_pair #define a first #defin...
392a74f91926d0f42e164adb541a7f125782b507
0f7bf276fa86f23329345d444405887158bbd3d2
/src/vsphere.cpp
9e88897345989455818f6858c7267fa9e64e66f9
[]
no_license
happydpc/DrawSpace
f718ff7d522f9a1dde00fcb89904284c9bbd9874
69e2e0f12b0b82b00d76476dfeef8aaf4e3cc284
refs/heads/master
2022-11-13T03:43:00.325383
2014-06-02T17:52:37
2014-06-02T17:52:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,708
cpp
vsphere.cpp
/* * * DrawSpace Rendering engine * Emmanuel Chaumont Copyright (c) 2013-2014 * * This f...
2bfebf7a5e1f32c161eb07a0208a4413b8300dd1
dc2a6107b4869178ea64c08e1c4e3d075fe957df
/Solucio.h
ccec3293ae200371f5dfabf2325a9586c3ecef7b
[]
no_license
MARCGRAUUdG/EDA_S9
8517e7e3eccb39a4d457651c78734020f182fcaa
255f2d3b719fe77769db26fb0ef7783bedd85e56
refs/heads/master
2021-10-08T16:35:21.955952
2018-12-14T18:51:20
2018-12-14T18:51:20
161,309,896
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
h
Solucio.h
// // Created by Marc Grau on 09/12/2018. // #ifndef EDA_S9_SOLUCIO_H #define EDA_S9_SOLUCIO_H #include <vector> #include "Candidats.h" #include <list> #include <map> typedef float etiqueta; //typedef string etiqueta; const float etiqNula = -1; //const string etiqNula =""; class Solucio { public: Solucio(); ...
53a3df8be574a38cfc02580eab12f341f008618f
1447861e661b5ba2e208db33726366b7e471cf5e
/runtime/windows/include/log4tango/LayoutAppender.hh
5ac68fa23a5908c747ce3b001d9a8e11f3c0b051
[ "BSD-3-Clause" ]
permissive
tango-controls/igorpro-binding
f8725d2e8e953442d517c22b97b4319d287b892b
d242bb3102fface2c526b786bceb6c88bb056f1c
refs/heads/master
2021-06-19T03:47:31.052114
2020-11-23T07:33:15
2020-11-23T07:33:15
75,382,824
0
1
BSD-3-Clause
2019-03-15T12:56:19
2016-12-02T09:49:10
C++
UTF-8
C++
false
false
1,910
hh
LayoutAppender.hh
// // LayoutAppender.hh // // Copyright (C) : 2000 - 2002 // LifeLine Networks BV (www.lifeline.nl). All rights reserved. // Bastiaan Bakker. All rights reserved. // // 2004,2005,2006,2007,2008,2009,2010,2011,2012 // Synchrotron SOLEIL // L'Orme des Merisiers // ...
af116ccaa2fc7c7f5fc99fc3f86d1302c354b611
834a4092e183a9af6fbf0e295f48a0fd2b4ba499
/cmmdc.cpp
7fcc4079d8b688b35cb8a85a8432b742c0250eb1
[]
no_license
lk-2009/algoritmi-elementari
019cea1b1723214efadadcc4c99630674558cb86
aa29e1909c08979179d1f5d59715982040ec8e85
refs/heads/master
2023-08-30T12:02:12.388584
2021-11-05T15:30:12
2021-11-05T15:30:12
424,995,762
0
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
cmmdc.cpp
#include <iostream> using namespace std; int a, b, rest; int main() { cout << " a= "; cin >> a; cout << " b= "; cin >> b; rest = a % b; while (rest > 0) { a = b; b=rest; rest = a % b; } cout<<b << " este cmmdc"; }
19c865db7b7fad18e5872b48da4321e9bc6ebcff
b8653cf62d26b082b160904a28df75bebf08d28d
/[통합]155_카메라오염알람추가,defect알람조건추가/ModelDlg.h
6d51871756847b1e8a8fbd0f27a0760c4e92f381
[]
no_license
dreamplayer-zhang/glim
765daae7ffd3981b0e2c5cca07718682a36f619c
a72af47ae2990ce88d4ddd287cb4da07a260bcdb
refs/heads/master
2023-01-09T22:03:02.718632
2020-11-02T08:32:46
2020-11-02T08:32:46
null
0
0
null
null
null
null
UHC
C++
false
false
1,322
h
ModelDlg.h
#pragma once #include "afxwin.h" #include "Label1.h" #include "afxcmn.h" // CModelDlg 대화 상자입니다. class CModelDlg : public CDialog { DECLARE_DYNAMIC(CModelDlg) public: CModelDlg(CWnd* pParent = NULL); // 표준 생성자입니다. CWnd* m_pParent; int CModelDlg::DirFileCount(char *pDirName); CString m_strModelNo; CString m_s...
4c3332034771f1a49a11e4420b81f37c6f0eeae3
abfd99772caedc3e948d46fd1c8a653ad222f4a4
/editor/se_catch_all.cc
edad5e387a9d4e549c2086ec44f0398f3b7ae717
[ "BSD-3-Clause" ]
permissive
NCAR/lrose-solo3
cc15bf5afd2ed21afff572cbaaf488c6f485aa1d
a6cddbe0b5919a8e24d9a74fff55ccec0333db85
refs/heads/master
2023-05-13T21:29:05.426032
2023-05-05T20:44:23
2023-05-05T20:44:23
69,918,956
10
8
null
null
null
null
UTF-8
C++
false
false
9,822
cc
se_catch_all.cc
/* $Id$ */ #include <glib.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <DateTime.hh> #include "se_bnd.hh" #include "se_catch_all.hh" #include "se_proc_data.hh" #include "se_utils.hh" #include "SeBoundaryList.hh" #include <seds.h> #include <solo_editor_structs.h> #include <solo_list_widget_...
813143a37739c54a457f38c4f543df8259bc1271
0ee6d96dd836a5302c7fd58baa24055f296c3204
/catkin_ws/src/vision/obj_reco_dishwasher/src/ModelDishwasher.cpp
447b886d50e2c3edd31713b60275f080b62a4c3d
[]
no_license
RobotJustina/JUSTINA
42876b3734c981fad6d002d549b3f8f05807938b
c2b4de807d5f3a18b317b9b01fdeb0cec3f7327e
refs/heads/master
2021-12-14T08:08:22.408310
2018-08-27T18:13:07
2018-08-27T18:13:07
58,512,410
7
13
null
2018-08-27T18:13:08
2016-05-11T03:46:07
C
UTF-8
C++
false
false
2,295
cpp
ModelDishwasher.cpp
/* * <one line to give the program's name and a brief idea of what it does.> * Copyright (C) 2018 <copyright holder> <email> * * 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 Foundation, either vers...
424511c63b7348e28c9b7f53ea34250ab730eaa9
d0fca69885591e3eefa9ed95c289b246186cb956
/node_aware_mapper.cpp
de548d7232b20d5ac7114ca6c0861cd10108eaed
[]
no_license
cwpearson/node-legion
f0c53a3b112a00227320bbd9ea9b4379c3b2f67c
105eff00148c785f3aead1058f38ded8a7c82ef8
refs/heads/master
2022-11-23T02:24:37.366623
2020-07-21T22:50:04
2020-07-21T22:50:04
250,629,111
0
0
null
null
null
null
UTF-8
C++
false
false
30,662
cpp
node_aware_mapper.cpp
#include "node_aware_mapper.hpp" #define NAM_USE_NVTX using namespace Legion; using namespace Legion::Mapping; Logger log_nam("node_aware_mapper"); NodeAwareMustEpochMapper::NodeAwareMustEpochMapper(MapperRuntime *rt, Machine machine, ...
7ccf3777a26419b0d87ff8405304e2a384a76471
3e7ae0d825853090372e5505f103d8f3f39dce6d
/AutMarine v4.2.0/AutLib/HydroDynamics/CFD/Vector/FvVector.hxx
4d6935dfbc3f0df46d03cd97e3619544c2f099d1
[]
no_license
amir5200fx/AutMarine-v4.2.0
bba1fe1aa1a14605c22a389c1bd3b48d943dc228
6beedbac1a3102cd1f212381a9800deec79cb31a
refs/heads/master
2020-11-27T05:04:27.397790
2019-12-20T17:59:03
2019-12-20T17:59:03
227,961,590
0
0
null
null
null
null
UTF-8
C++
false
false
976
hxx
FvVector.hxx
#pragma once #ifndef _FvVector_Header #define _FvVector_Header #include <FvPrimitives_Scalar.hxx> #include <FvPrimitives_Label.hxx> #include <Standard_String.hxx> namespace AutLib { namespace FvLib { class FvVector { private: Standard_String theName_; public: const Standard_String& Name() const; ...
5268348dbce2b60abb52fb62d79bcbbc46f86315
0076b581f0e0bf5b37b237b0fc3c61d848f4a098
/libraries/ros_lib/iri_common_drivers_msgs/compass3axis.h
2e4dfb1f399ba5f85db8bb08e4e0836a0f65f43d
[]
no_license
ericguerrero/arduino_lib
cfa0f8da26cda45ca31487c6409dc67b21154ca5
c9cda17251f3ab7bca44c578eb224dc6d944d62e
refs/heads/master
2020-09-14T12:57:55.639687
2016-09-08T11:49:14
2016-09-08T11:49:14
67,698,488
0
0
null
null
null
null
UTF-8
C++
false
false
2,100
h
compass3axis.h
#ifndef _ROS_iri_common_drivers_msgs_compass3axis_h #define _ROS_iri_common_drivers_msgs_compass3axis_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "std_msgs/Header.h" namespace iri_common_drivers_msgs { class compass3axis : public ros::Msg { public: std_ms...
bc5b5bf6f2424d74b70fa6f3a040cd6c44971792
b8d1007362afcd7dbe85ff82745217388c435150
/LUOGU/C - Piggy-Bank.cpp
f2f5fbd89dcfb7b8ccc7844babb7e5b3179554d5
[ "MIT" ]
permissive
PIPIKAI/ACM
5ef5bcd0193ed49e48806cca64875c1abaa00c42
b8e4416a29c0619946c9b73b0fe5699b6e96e782
refs/heads/master
2021-07-19T02:29:04.010478
2020-08-03T01:36:58
2020-08-03T01:36:58
200,979,733
0
0
null
null
null
null
UTF-8
C++
false
false
970
cpp
C - Piggy-Bank.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; #define inf 1e9+7 #define ffr(i,a,b) for(int i=a;i<b;i++) #define mem(a,b) memset( a,b,sizeof a) #define Max(x,y) y>x?x=y:x=x int n,m; const int maxn=508; struct node { int w,v; }f[maxn]; int dp[10008]; int main() { std::ios::sync_with_stdio(f...
c4cc6529ccc62e856ae0bdc3a726eb6160144e10
568f85b8f56d120e93280a4e5574fae7023cbf83
/HackerRank/30 Days of Code/Day 7 - Arrays!/Day 7.cpp
486f62e84afcd3db870f6015dc6bff246b5dcbc5
[]
no_license
Mystery-College-of-The-Adapts/Programming-Challenges
4150ccd8c7958d15b0bb44a1e22aa26efab2744d
cf2163f0e8da4dca7482dbf1db6d5aa996de9bbc
refs/heads/master
2021-06-12T13:00:03.664957
2017-04-13T06:18:51
2017-04-13T06:18:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
283
cpp
Day 7.cpp
#include <iostream> #include <algorithm> #include <unordered_map> using namespace std; int main() { int n; cin >> n; vector<int> arr(n); for (int arr_i = 0;arr_i < n;arr_i++) { cin >> arr[arr_i]; } for (auto i = 0; i < n;i++) cout << arr[n - 1 - i] << " "; return 0; }
a84528c7e5e9e3f67ca1cfb47794d7e40cb2362e
0644709ec5d51e7af89803c070958a674a3d124a
/Luogu/p5020.cpp
dae78f0a4a777123a0f6a060202f0c5f93446cbe
[]
no_license
ClConstantine/OI
5ae64510ceaecd891d0e6c7de750a49a768f796f
84842bda3498ba62949f32bfaca1898433d27023
refs/heads/master
2021-06-13T05:49:08.890493
2021-06-10T14:07:07
2021-06-10T14:07:07
160,818,111
1
0
null
null
null
null
UTF-8
C++
false
false
796
cpp
p5020.cpp
#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <cstring> #include <string> #include <queue> #include <stack> #include <vector> #include <set> #include <map> using std::cin;using std::cout;using std::cerr;using std::endl; const int mmax = 100,nmax = 25000; int a[mmax + 10]; bool ...
7fdedc641e68bbb6c9a510ceec1e5e67a5d4caf0
fd75a2ddee54d1b7f96a624ddf8441291cc6f911
/2268.cpp
1304c0bb99cbd974d45cfcc195808202915279dd
[]
no_license
laz/BOJ
4f58c6238d9fc2a8909e24fb429a49a2f0d387ac
2372c82838408ad6479bb0183e68043eac48835e
refs/heads/master
2023-08-22T06:05:34.840623
2021-10-12T17:25:09
2021-10-12T17:25:09
322,253,999
0
0
null
null
null
null
UTF-8
C++
false
false
1,033
cpp
2268.cpp
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0) using namespace std; using ll = long long; int arr[1000007]; int n, m; void input() { fastio; cin >> n >> m; } ll query(vector<ll>& tree, int l, int r, int i = 1, int s = 0, int e = n-1) { if(l > e || r < s) return 0; if(l <=...
74d813f75d1a18f0f89f4adcf151fcddcd344986
dde172ff95646cb6e85b86e67b8c8c87381ef450
/GridNode.h
6ba23a7178aee732ff03aa7a9eb121839e67dcb2
[]
no_license
AaratiS12/Project-2
b0407c48740848aec64b06cbf2cb0daae071c842
4cc6c6123bfc82ffece39846cb825494c787f24e
refs/heads/master
2022-04-19T15:16:28.737548
2020-04-12T03:32:30
2020-04-12T03:32:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,451
h
GridNode.h
class GridNode{ private: int x; int y; std::string val; mutable bool visited; mutable std::unordered_set<const GridNode*> neighbors; public: GridNode(){ x=-1; y=-1; val=-1; visited=false; } GridNode(int xval,int yval, std::string nStr){ x=xval; ...
ea02d8136b96cf4d9faac0bfbb8b2cb71988e962
e6389d3cd6fe210fbe8a4a5c23531bab17eb40d0
/libs/hwdrivers/src/CGenericSensor.cpp
78d2f09d3d0d89ec1e4cc5a2e104e0d1682da53a
[ "BSD-3-Clause" ]
permissive
bigjun/mrpt
7b107cb35fbc2fefb2e456552695557780e0164c
99b922ed9aee1778e9d01780a70673ac3456031d
refs/heads/master
2021-01-21T09:11:25.927850
2013-12-12T18:27:07
2013-12-12T18:27:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,115
cpp
CGenericSensor.cpp
/* +---------------------------------------------------------------------------+ | The Mobile Robot Programming Toolkit (MRPT) | | | | http://www.mrpt.org/ ...
ecca4bd53df72611ac95ce4503a34a1e662d3acf
04b1803adb6653ecb7cb827c4f4aa616afacf629
/services/ws/public/cpp/input_devices/input_device_controller_client.h
596bdb4ab6e45abd0541ba2b58e2d743569a5d69
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
3,526
h
input_device_controller_client.h
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_WS_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CONTROLLER_CLIENT_H_ #define SERVICES_WS_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CONTROLLER_CLIENT...
665ee7535e9a43082cff5bd5b8ed334ecd6d4fc4
7a2dc3c8c6c7d5cb0602d86d14f1cd48a3b64c79
/src/utils.cpp
3ec3cd1de795709e2beefb65d20e1acd11ed354c
[]
no_license
small-luck/httpserver
c22080f56eb229b3389ec481368dcc1d73cab655
2b2076b31235568bd3dfe743df232dec578ce3f3
refs/heads/master
2020-08-30T19:57:48.494811
2019-11-14T03:36:44
2019-11-14T03:36:44
218,474,455
0
0
null
null
null
null
UTF-8
C++
false
false
4,408
cpp
utils.cpp
/* *工具模块封装 *author:liupei *date:2019/10/31 * */ #include "utils.h" #include "log.h" #include <sys/syscall.h> #include <unistd.h> #include <fcntl.h> #include <sys/socket.h> #include <sys/types.h> #include <string.h> #include <netinet/in.h> #include <netinet/tcp.h> //获取线程ID pid_t Util::get_thread_id() { return :...
8889e3e6f2f52397143110aafa75384691245f60
565f81c925193217535e9476764cafc78bf3aa4d
/Infrastructure/inc/SoundDevice.hpp
02217064372c62b2ce62a295d84e133f07d51f97
[]
no_license
BreakEngine/Break-0.1
4d22616e9d4bad1d463657b0c719f6b8a970ae52
77e26ce547231bdee970b6afb1fec2bf0c5a09d7
refs/heads/master
2021-05-02T12:38:52.683454
2016-02-06T20:39:15
2016-02-06T20:39:15
44,031,627
3
3
null
2016-09-08T18:40:42
2015-10-10T23:05:58
C++
UTF-8
C++
false
false
1,693
hpp
SoundDevice.hpp
#ifndef BREAK_0_1_SOUNDDEVICE_HPP #define BREAK_0_1_SOUNDDEVICE_HPP #include "Globals.hpp" #include "SoundEffect.hpp" #include <vector> namespace Break{ namespace Infrastructure{ struct AudioFormat { u16 Channels; u32 SamplesPerSec; u16 SampleSize; AudioFormat() { Channels = 2; SamplesPe...
235163e134811f182d8c9794ca6b1f13425dabc9
c475cd8531a94ffae69cc92371d41531dbbddb6c
/Projects/bullet3-2.89/test/hello_gtest/main.cpp
e3177799237f14bf318bbcd72c24629f150e7fcc
[ "Apache-2.0", "LicenseRef-scancode-free-unknown", "Zlib" ]
permissive
WolfireGames/overgrowth
72d3dd29cbd7254337265c29f8de3e5c32400114
594a2a4f9da0855304ee8cd5335d042f8e954ce1
refs/heads/main
2023-08-15T19:36:56.156578
2023-05-17T08:17:53
2023-05-17T08:20:36
467,448,492
2,264
245
Apache-2.0
2023-05-09T07:29:58
2022-03-08T09:38:54
C++
UTF-8
C++
false
false
791
cpp
main.cpp
///////////////////////////// // In the header file #include <sstream> using namespace std; class Salutation { public: static string greet(const string& name); }; /////////////////////////////////////// // In the class implementation file string Salutation::greet(const string& name) { ostringstream s; s << "Hell...
eeaf298b3b8408c4c222d7c3b2011b2ff7596aad
709e79dc1b9ed2eb0e255482681e0f8d263158f3
/benchmark/askit_release/treecode/src/matern_kernel.hpp
d186bb827ab6bf392ac50c07755c29ce0254841d
[ "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
kexinrong/rehashing
ebd935cc30cdbb40dca54f7ef76a08b0c87d8048
401b1f99970d2cc8cb8444f4c7ee5b94f4ebeb7f
refs/heads/master
2021-07-03T10:45:32.498877
2020-10-21T05:42:28
2020-10-21T05:42:28
186,186,245
22
3
MIT
2020-10-09T04:15:15
2019-05-11T22:15:47
C++
UTF-8
C++
false
false
763
hpp
matern_kernel.hpp
#ifndef MATERN_KERNEL_HPP_ #define MATERN_KERNEL_HPP_ #include <mpi.h> #include "kernel_inputs.hpp" #include <iostream> #include "direct_knn/direct_knn.h" #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_sf_gamma.h> namespace askit { class MaternKernel { public: MaternKernel(KernelInputs& inputs); ~MaternKe...
ec6f94f9811cc76d496ee65f4feb7b7fdb2045b6
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/oldd/eulerVortex.twitch/eulerVortex.cyclic.twitch/4.04/e
12f93bf97c9304e6b135dc2363c26a40c5452ea5
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
80,443
e
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
0c23f883f4d7048b1278f4f9c11515e2d68f1b31
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_0/C++/StarCuriosity/B.cpp
419f5d57ecb88d6ec03f4f506f1d464ddba37df4
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
807
cpp
B.cpp
#include <bits/stdc++.h> using namespace std; #pragma GCC diagnostic ignored "-Wunused-result" #pragma GCC diagnostic ignored "-Wmissing-declarations" #define FINAL_OUT(x) {cout << x << '\n'; exit(0);} int func(const vector<int>& a) { int ans = 0; for(int i = 1; i < a.size(); ++i) if (a[i - 1] != a[i...
59668379f04bce7f46382c0356d0e65801bfe655
4bba092d23270856d469a78061d3ac2464365037
/raygame/goblin.h
6b844bf028b79c3ff7276d425400bd980478adb9
[]
no_license
alyoshenka/AKGameJam
a0df9f7296a9f860342429815f8c9375e2db7bf4
05a286ff82822c15ece091a800a0e2744fbb16b3
refs/heads/master
2020-04-14T06:52:42.453130
2019-01-15T01:23:17
2019-01-15T01:23:17
163,697,863
0
0
null
null
null
null
UTF-8
C++
false
false
435
h
goblin.h
#pragma once #include "raylib.h" #include "player.h" struct goblin { private: Vector2 pos; Vector2 dest; static const int animCnt = 4; Texture2D idleAnim[animCnt]; Texture2D runAnim[animCnt]; int curFrame; float frameTime; float elapsedFrameTime; bool isMoving; float speed; public: goblin(); ~goblin();...
cbd2d6cf773c85a92b433ecfa812d51f4136c532
13740c1f486a513b1a45ca060add0455737a03f9
/cpp/sourcepoj/trie/h1075.cpp
08a0aa14297a2d60dc64a24ca0816307710d84b5
[]
no_license
zxwtry/OJ
66b2bfd465f7875bc391ef6cd13fb615509d16ce
b6028e1afcce89e2214242033707d10dc814d14d
refs/heads/master
2021-04-22T11:54:36.455136
2020-09-30T15:02:24
2020-09-30T15:02:24
57,225,986
7
0
null
null
null
null
UTF-8
C++
false
false
2,827
cpp
h1075.cpp
#include <bits/stdc++.h> using namespace std; // AC 577MS 120372K const int NEXT_LEN = 26; struct TrieNode { char *replace; int replaceLen; struct TrieNode *next[NEXT_LEN]; TrieNode() { replace = NULL; replaceLen = 0; memset(next, 0, sizeof(next)); } }; void buildTrie(s...
a6e7eeb1f8cfd1afda13d418dc1bcb91ad0c9399
e650b749460a93f09c3174ebd180e5bb40ee7eb2
/firmware/esp8266_multinodes/node_modes.cpp
c6ee03b80813e479ba57e291e349d94f8a6893f7
[ "MIT" ]
permissive
nodebotsau/internetoftents
c7b80207c007b291932b3c7f26233de9dd453ace
c6bfe2ef5e28051ec19a17195215e94b8a066ed8
refs/heads/master
2020-07-31T17:09:17.194267
2016-11-26T00:20:45
2016-11-26T00:20:45
73,594,673
4
0
null
null
null
null
UTF-8
C++
false
false
6,003
cpp
node_modes.cpp
#include <Arduino.h> #include <FS.h> #include <stdio.h> #include <ESP8266WebServer.h> #include <PubSubClient.h> #include <ESP_MQTTLogger.h> #include "peripherals.h" #include "noperipheral.h" #include "temp_peripheral.h" #include "baro_peripheral.h" #include "dht_peripheral.h" #include "servo_peripheral.h" #include "pi...
e459a536a46bb1e891865f4cb6b857ee0a24d67f
70424c4d8c75465ae9df8038d21aee274b603973
/factory/main.cpp
6c5380f582a6b27f920e87a3a905d39e82eb77a8
[]
no_license
caifubing/study
528ace369264cefc9adb516ff0d1d50338fe562c
1e4042d4641fce12ecd7704be2411243f11b1054
refs/heads/master
2021-01-22T13:46:52.889859
2015-07-29T13:13:32
2015-07-29T13:13:32
35,789,668
0
0
null
null
null
null
UTF-8
C++
false
false
310
cpp
main.cpp
#include <iostream> #include "nypizzastore.h" #include "nystylecheesepizza.h" using namespace std; int main() { shared_ptr<PizzaStore> ps = make_shared<NYPizzaStore>(); shared_ptr<Pizza> pizza = ps->orderPizza("cheese") ; cout << "Ethan order a " << pizza->getName() << endl; return 0; }
ab2b6ecd4b29917b323207a36358618c66868ab2
aa690aad56f8fa5b95714f737b5ccdcf96aaede3
/AI Project/project2D/Sequence.h
ee9973665dc2a9e650c0303b8297acf45bd689c0
[ "MIT" ]
permissive
RvBVakama/Artificial-Intelligence-Project
bc9cd103fd94fd0d19a9133dcf58d60951f22dde
36f54411a5379134d244841e8ee421fc12e648bc
refs/heads/master
2021-01-01T18:39:04.916797
2017-08-06T07:34:00
2017-08-06T07:34:00
98,390,174
0
0
null
null
null
null
UTF-8
C++
false
false
829
h
Sequence.h
//-------------------------------------------------------------------------------------- // Class for the Sequence //-------------------------------------------------------------------------------------- #pragma once #include "Composite.h" //-----------------------------------------------------------------------...
75d507cc91c7a30b980b71e56f6d58acae226a30
137ff7ec373ce8d14e559eba624d3e95599491b6
/Body.h
74afde0af8dcf8d08c700607184db964578fe39a
[]
no_license
JonataSouzaC/myVensim
2f4afa3d064a0194ca1fa62287e7e8b00a261514
2a44b345027a7bd1c7f52d1087745dee526ad37e
refs/heads/master
2020-06-08T16:49:02.053831
2019-06-23T15:18:44
2019-06-23T15:18:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,019
h
Body.h
#pragma once /** * \brief * * The class Implementation was implemented based on the class teCounted writed by Ricardo Cartaxo * and Gilberto Câmara and founded in the geographic library TerraLib. */ #include<iostream> using namespace std; class Body{ public: /// Constructor: zero references when the...
e625a7f2d5db864f59851bc94b28443c1d8f5437
4a277b8452bdc0d290420e2646683055410992eb
/Plugins/SamplePM/Source/RasterUtils.cp
109139fd548a08ede5d033c7536cb105e80aed90
[]
no_license
fruitsamples/Printer
34d1263e230323dd854d1158a06c04e9aa096fee
bd8e7055a65a10c121a107698a66ff70bc464f3a
refs/heads/master
2021-01-10T11:06:22.396451
2015-11-04T03:04:22
2015-11-04T03:04:22
45,437,654
0
0
null
null
null
null
ISO-8859-1
C++
false
false
47,191
cp
RasterUtils.cp
/* IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple software constitutes acceptance of these terms. If you do not agree with these terms, please do...
406738ae0d3981d824230d64e171f6a6676ddc37
089c787f663a7e98f54cea93af60534276363934
/Algorithm/Recursion/P19.cpp
b45276520f0ec7f6430b64e0fd58132c629c3b77
[]
no_license
delower-hosen/Competitive-Programming
a723e6b4bccdb62b22be5794781b0c4319c86cc4
79869ffe451234f0feb00be10176b7de7fa3632f
refs/heads/master
2022-12-16T00:09:37.866203
2020-09-13T18:42:06
2020-09-13T18:42:06
295,212,924
0
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
P19.cpp
#include<bits/stdc++.h> using namespace std; void preorder(int n){ if(n==1 or n==2){ printf(" %d",n); return; } printf(" %d",n); preorder(n-2); preorder(n-1); } void inorder(int n){ if(n==1 or n==2){ printf(" %d",n); return; } inorder(n-2); printf(" %d...
4bea3046f1d26fb862a7b4f5cff4969d204814b6
70fe255d0a301952a023be5e1c1fefd062d1e804
/LeetCode/LCP 07.cpp
d7e89485edae25835e3f80852f75eddf6a4d2158
[ "MIT" ]
permissive
LauZyHou/Algorithm-To-Practice
524d4318032467a975cf548d0c824098d63cca59
66c047fe68409c73a077eae561cf82b081cf8e45
refs/heads/master
2021-06-18T01:48:43.378355
2021-01-27T14:44:14
2021-01-27T14:44:14
147,997,740
8
1
null
null
null
null
UTF-8
C++
false
false
319
cpp
LCP 07.cpp
class Solution { public: int numWays(int n, vector<vector<int>>& relation, int k) { vector<vector<int>> f(k + 1, vector<int>(n)); f[0][0] = 1; for (int i = 0; i < k; i ++ ) for (auto& p: relation) f[i + 1][p[1]] += f[i][p[0]]; return f[k][n - 1]; } };
a24c72debde0b3b93335800aae17566e93276d9c
6f541233ccdd1d5d256624da6e69a88ec90f404d
/src/Common.h
394e70f24910b9301196d682a80a0e2203fa46ad
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
mfkiwl/HDRView
5cd5009c055e895e4d1c33cd9a2a225e343b67ab
b5f68a51cd7afaf3cb066ed94b3ebcf947116b33
refs/heads/master
2023-07-09T21:15:33.201353
2021-08-13T17:48:43
2021-08-13T17:48:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,317
h
Common.h
// // Copyright (C) Wojciech Jarosz <wjarosz@gmail.com>. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE.txt file. // #pragma once #if defined(_MSC_VER) // Make MS cmath define M_PI #define _USE_MATH_DEFINES #endif #include <cmath> #include <st...
f0a0823b747797d7d1f6f94e1215063ab3ee2059
a6d8297fc98da4873134e12c8c15662f4dc99473
/Source/Test/Src/DatabaseFieldTest.cpp
025be813e206122cfbe37eefbc0d8e64bba32477
[ "MIT" ]
permissive
DragonJoker/DatabaseConnector
507459f171cf3fd696b5208a9b4f0b584200d97d
502b136588b46119c2a0f4ed6b6623c0cc6715c2
refs/heads/master
2021-05-16T02:42:51.816583
2020-10-17T02:39:47
2020-10-17T02:39:47
38,719,651
2
1
MIT
2020-10-17T02:39:48
2015-07-07T23:09:28
C
UTF-8
C++
false
false
28,183
cpp
DatabaseFieldTest.cpp
/************************************************************************//** * @file DatabaseFieldTest.cpp * @author Sylvain Doremus * @version 1.0 * @date 12/02/2014 14:29:35 * * * @brief Class testing CDatabaseField class * ***************************************************************************/ #include ...
beaff63641c2589e383c34d9d6670857b0e52504
0ff71c971ce12049fb148d7b9a7b4f8f61983e6a
/c++/Slide.cpp
85772c7189f73ac6155e726f2929abcdfe6733c3
[]
no_license
noahrichards/cs4-project
b88087e1a81c1f70fde2663fe20ea1d93f85c7e0
69ab862ff45e546c5a900bdb7b8b7f0403b5fbfd
refs/heads/master
2016-09-06T12:38:03.808284
2011-06-24T04:58:37
2011-06-24T04:58:37
91,961
1
0
null
null
null
null
UTF-8
C++
false
false
929
cpp
Slide.cpp
#include <iostream> #include <fstream> #include "Slide.h" #include "Solver.h" using namespace std; int main(int argc, char** argv) { if(argc != 3) { cerr << "Illegal number of arguments.\n" << "Usage:\n" << "slide <input-file> <output-file>\n" << "If input-file is -, input taken from standard inp...
768789969b4f561bea760272d6c750f254e70b12
726d8518a8c7a38b0db6ba9d4326cec172a6dde6
/1672. Richest Customer Wealth/Solution.cpp
535cf1714e5a0d47a91816a5db939abbf9811454
[]
no_license
faterazer/LeetCode
ed01ef62edbcfba60f5e88aad401bd00a48b4489
d7ba416d22becfa8f2a2ae4eee04c86617cd9332
refs/heads/master
2023-08-25T19:14:03.494255
2023-08-25T03:34:44
2023-08-25T03:34:44
128,856,315
4
0
null
null
null
null
UTF-8
C++
false
false
320
cpp
Solution.cpp
#include <numeric> #include <vector> using namespace std; class Solution { public: int maximumWealth(vector<vector<int>> &accounts) { int res = 0; for (const vector<int> &account : accounts) res = max(res, accumulate(account.begin(), account.end(), 0)); return res; } };
a6f2244713e412e2121901ba9caa9de0aada924a
ee77b79fb6b171aed892d57a21326aa7bd6872b0
/semester2/practice4/exercise1/myVector.cpp
5eb3905a76cb17b38077796ddebe27234d70268e
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bahlo-practices/pa
413cf41c771df635c805528b7e59a4afa15febd1
098e40b2525b172e4bece8b134006c350852aa6b
refs/heads/master
2019-01-01T23:52:19.322085
2013-07-10T16:21:57
2013-07-10T16:21:57
6,282,589
1
0
null
null
null
null
UTF-8
C++
false
false
3,187
cpp
myVector.cpp
/* * File: myVector.cpp * * Created on 13. Mai 2013, 17:03 */ #include "myVector.h" #include <math.h> #include <stdexcept> myVector::myVector() : sz(0), elem(0), space(0) { } myVector::myVector(int s) : sz(s) { int tmp = 2 * s; elem = new double[tmp]; space =tmp; for (int i = 0; i < s; ++i) ...
b665759c414752bb53b9efa9a88a4e2ad5fcf0f3
c6ff9b43d2954d7de3b1ff0e505ca69bdabd6838
/Bltc/Bltc/Items/i204.cpp
f805d1dbf9d996fe5f60b8b8dbcb76fded26ef47
[]
no_license
Ewenwan/ow
39ddb33c81094fa715b399d369ad4ac27c5b0e80
94c5598fd686cdb3adebff6dd9d50acaa6ab10c5
refs/heads/master
2021-06-08T03:53:51.541463
2016-08-10T08:21:44
2016-08-10T08:21:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,261
cpp
i204.cpp
// Author : Gamma Chen #ifdef CONFIG_WITH_OSD #include "ModelConfig.h" #include "Items.h" #include "TiLib.h" #if 1 #include "UI_StationTest.h" #include "UserInterface.h" #include "TiLib_Glyph.h" #include "TiLib_Text.h" extern UI_StationTest ui_stationTest; extern UserInterface *ui; #define FONT_WI...
9323af924f9d5b942980642733175fa65caae04b
cf1f306536e7859b0b1995c426ce32b09d275851
/tilesweep/third_party/h2o/deps/brotli/enc/utf8_util.h
74f22b6a7f6b98aeee178c997d33faa304895874
[ "MIT" ]
permissive
seemk/TileSweep
a7c8c81513565e9a236bbd981207612191bd4d5a
627999b38f59202678c4ea2a65d761e8e2a8f48a
refs/heads/master
2018-12-07T07:40:06.556025
2018-09-10T19:09:57
2018-09-10T19:09:57
55,528,632
17
6
MIT
2018-09-10T19:13:06
2016-04-05T17:37:15
C
UTF-8
C++
false
false
715
h
utf8_util.h
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ // Heuristics for deciding about the UTF8-ness of strings. #ifndef BROTLI_ENC_UTF8_UTIL_H_ #define BROTLI_ENC_UTF8_UTIL_H_ #include "./types.h" names...
be3968b6bacc39c817fbf4cf6e15da7eb9718ec5
ee26fe88c24d6c3a9ac4828c4f27cb726014daa6
/05-ScenceManager/Water.cpp
9b7e9ea1696da001e04720b330d00c4cc3feae3e
[]
no_license
ChauDucGiang/SE102.L21
0481a7c7dcc02cc15ab9dabf6648c7a4e84a01ae
81eb76a6b565b552bfeb56119e42db8aa54926bf
refs/heads/master
2023-06-21T09:23:26.846249
2021-07-27T13:27:20
2021-07-27T13:27:20
348,246,374
0
0
null
null
null
null
UTF-8
C++
false
false
645
cpp
Water.cpp
#include "Water.h" #include "Game.h" CWater::CWater() { SetBoundingBox(); } CWater::CWater(float x, float y) { SetPosition(x, y); SetBoundingBox(); } void CWater::Update(DWORD dt, vector<LPGAMEOBJECT>* coObjects) { } void CWater::Render() { int ani = 0; animation_set->at(ani)->Render(x, y); RenderBoundingBox...
1c4deaa3fc45db0427d26e2d7e4bafcdcea66e47
e68c1f9134b44ddea144f7efa7523076f3f12d3a
/FinalCode/Enchantress_HTH_energy_bomb_01.cpp
0c8cbbc82122f4a8b5c4640da8f2c16a2ec248a0
[]
no_license
iso5930/Direct-3D-Team-Portfolio
4ac710ede0c9176702595cba5579af42887611cf
84e64eb4e91c7e5b4aed77212cd08cfee038fcd3
refs/heads/master
2021-08-23T08:15:00.128591
2017-12-04T06:14:39
2017-12-04T06:14:39
112,998,717
0
0
null
null
null
null
UTF-8
C++
false
false
543
cpp
Enchantress_HTH_energy_bomb_01.cpp
#include "StdAfx.h" #include "Enchantress_HTH_energy_bomb_01.h" CEnchantress_HTH_energy_bomb_01::CEnchantress_HTH_energy_bomb_01(int _iMode) : CFollowerState(_iMode) { // StateType m_eStateType = STATE_TYPE_ENCHANTRESS_HTH_ENERGY_BOMB_01; } CEnchantress_HTH_energy_bomb_01::~CEnchantress_HTH_energy_bomb_01() { } vo...
771ebaa95863c99ed56433ce3cef29ae270e8b03
3d1d2e69d80810b297b5fe70eb841c3fe5d9306d
/src/Roster.cpp
5feabbf2d7c7c7cc0489989101bb2257c91ce7af
[ "MIT" ]
permissive
indeterminateoutcomesstudios/AoSSimulator
dce3da661f16e9db794cb619685ed4701cd334ef
d125464e516b461205aaf23a8cc206ca797e83de
refs/heads/master
2020-04-26T10:41:22.143680
2019-02-24T06:23:52
2019-02-24T06:23:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,618
cpp
Roster.cpp
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <cfloat> #include <Roster.h> void Roster::doHeroPhase() { for (auto u : m_units) { u...
cf1ecf2d3544ca73d3866d55f7468a0006aad040
0db5d2ed33a432b7c45c0faa021fe47600b218ca
/include/flow/source/istreambuf.hpp
3644f9066b6e4032ff0ed35d957307da32c88d70
[]
no_license
YernurSFU/libflow
c64763076a09af70f01b6d20714498c86a0b5673
ac56cc60a482ca309dc2c48d2ce13c093bfd74ea
refs/heads/master
2023-05-10T20:30:56.201707
2021-05-28T23:44:31
2021-05-28T23:44:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,377
hpp
istreambuf.hpp
#ifndef FLOW_SOURCE_ISTREAMBUF_HPP_INCLUDED #define FLOW_SOURCE_ISTREAMBUF_HPP_INCLUDED #include <flow/core/flow_base.hpp> namespace flow { namespace detail { template <typename CharT, typename Traits> struct istreambuf_flow : flow_base<istreambuf_flow<CharT, Traits>> { using streambuf_type = std::basic_strea...
50d25ac565970749b01bd0a4aff2770a203806b7
901d1e324696f083618e9e24c541d31cf5faa630
/Source/MGS/ItemContainer.cpp
9d79474b56edc73c4d0b6c862a792ed7396ed780
[]
no_license
LochNessy64/MGS
4c2cbdaf786aca8f4af89208853b5550038032a4
961e0c4f085bd49bb777a332d34689de0cc61c9d
refs/heads/master
2020-02-26T15:08:59.636227
2017-01-18T08:07:05
2017-01-18T08:07:05
68,567,579
0
0
null
2016-11-24T08:14:55
2016-09-19T03:55:30
C++
UTF-8
C++
false
false
197
cpp
ItemContainer.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "MGS.h" #include "ItemContainer.h" ItemContainer::ItemContainer() { } ItemContainer::~ItemContainer() { }
4aadd46ca3757c6a677e4dbd73b56c7ade67fbfb
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-migrationhubstrategy/source/model/SrcCodeOrDbAnalysisStatus.cpp
3968f0cf6ea7e586d868c787d04d6dcd7c715100
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
3,993
cpp
SrcCodeOrDbAnalysisStatus.cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/migrationhubstrategy/model/SrcCodeOrDbAnalysisStatus.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> usi...
a6b6e5ab42563758296e6a1e7f541a77819ee2aa
f82cd75666c164da58bb7fdaeabcac0f13377e38
/numpy_eigen/src/autogen_test_module/test_12_10_float.cpp
9ec9110e8a15663cac1c4ba4f5ac301a30d2a820
[]
no_license
omaris/Schweizer-Messer
54b4639d3a30bed03db29458c713a05fdfa6f91a
ec4d523d9ac7c377e0701ce0b5fdede3043ecd8a
refs/heads/master
2021-01-15T17:37:01.645963
2013-06-18T06:52:50
2013-06-18T06:52:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
261
cpp
test_12_10_float.cpp
#include <Eigen/Core> #include <numpy_eigen/boost_python_headers.hpp> Eigen::Matrix<float, 12, 10> test_float_12_10(const Eigen::Matrix<float, 12, 10> & M) { return M; } void export_float_12_10() { boost::python::def("test_float_12_10",test_float_12_10); }
9e1d8107bfa0af8927d623138ad8db4054ad60dc
31406f420f019a191a74b9288a6e37dcd89e8e82
/lib/Support/OSCompatWindows.cpp
7c9268d30341bd44554b89108d20c1e999b729f4
[ "MIT" ]
permissive
facebook/hermes
b1bf3cb60b5946450c7c9a421ac8dad7a675e0f5
440578b31ecce46fcc5ba2ad745ffd5712d63a35
refs/heads/main
2023-09-06T04:16:02.263184
2023-09-05T20:12:54
2023-09-05T20:12:54
154,201,259
8,449
593
MIT
2023-09-14T21:25:56
2018-10-22T19:13:00
C++
UTF-8
C++
false
false
14,336
cpp
OSCompatWindows.cpp
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifdef _WINDOWS #include "hermes/Support/Compiler.h" #include "hermes/Support/ErrorHandling.h" #include "hermes/Support/OSCompat...
8e204ad7eac7ac45e1444dc34065b0a7c7fb75be
220c245d5589146b1e0bb6f4f79f781f02c13227
/Uva/514.cpp
1b77f8ed875f18ad46176f8366191ed904d4c78f
[]
no_license
hossamthapit/CompetitiveProgramming
f0d21f5f60f5b17d9004c3e6c431f97284b31450
dd072a92b7f268aa2c4ba7e4dfac358baa27e772
refs/heads/master
2021-01-25T13:29:20.933667
2021-01-05T12:31:03
2021-01-05T12:31:03
123,578,764
0
0
null
null
null
null
UTF-8
C++
false
false
1,540
cpp
514.cpp
#include<bits/stdc++.h> #define FAST ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); int dy[] = { 1, -1, 0, 0, -1, 1, 1, -1 }; int dx[] = { 0, 0, 1, -1, 1, -1, 1, -1 }; #define all(x) x.begin(),x.end() #define szz(s) ll(s.size()) typedef long long ll; typedef unsigned long long ull; using namespace std; #define endl '\...
10241c49a43723e60546e1a8075992e70c4c667d
1c65bc244f46cbf07daf68df0cbb69ea649d4de0
/Cipher translation.cpp
efae8e7715bc2d24fd6bd71aabeacc56d78cd6d0
[]
no_license
xueyaohuang/Cipher-translation
da3c90118b9556a8fc50095c643973ec538a48e6
eb0c55ecbfb7f01f99a7eeb069730211037f30b6
refs/heads/master
2021-06-12T08:46:00.938698
2016-12-29T08:25:54
2016-12-29T08:25:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
449
cpp
Cipher translation.cpp
#include <iostream> #include <string> #include <stdio.h> using namespace std; int main() { unsigned int i, n; string str; cin >> n; getchar(); while (n-- > 0) { getline(cin, str); for (i = 0; str[i]!='\0'; i++) if ((str[i] >= 'a'&&str[i] <= 'z') || (str[i] >= 'A'&&str[i] <= 'Z')) { ...
1366e0aaa5f2cef54abadcd465441716e319c28c
c665317312d8d63c0fe9f2ad6a4a28d771edd2cf
/assignment4/Assignment4.cpp
c4b5944337998ce41c80b0e974a54f732ed68ef4
[]
no_license
jdidier001/My-Projects
6d90c6044f656ba502612e92965e07ea2bb81390
3fb19d6441fecc15c44547dbd2bf1849413dfeca
refs/heads/master
2020-07-07T02:18:04.540145
2016-12-13T17:56:11
2016-12-13T17:56:11
66,401,272
0
0
null
null
null
null
UTF-8
C++
false
false
13,604
cpp
Assignment4.cpp
/* _________________________________________________ Jared Didier email:jdidier001@student.butte.edu ------------------------------------------------- _________________________________________________ Assignment 4 11-28-16 ------------------------------------------------ ___________________________________________...
23b068c7a647b62f246b3772b719d9ea039c41d3
286f0517720fcb9102e29b59ac058a69a0627a3c
/lab6assignmnent/lab63.cpp
ee4c6758073860e9cf8108e4007a3ebdd97804ae
[]
no_license
Akshayjain60165/Assignment
8421e4812902d42e7132f2dea025528a372fa211
beef9989ffc2d11877dd61f809cf82cdcb55d8ce
refs/heads/master
2022-12-02T18:23:18.366138
2020-08-14T12:27:00
2020-08-14T12:27:00
287,526,895
0
0
null
null
null
null
UTF-8
C++
false
false
5,156
cpp
lab63.cpp
#include <iostream> using namespace std; struct node{ int data; node* left; node* right; }; class avlTree{ public: node* root; avlTree(){root = NULL;} //HEIGHT OF TREE int height(node* ptr){ if(ptr == NULL) return 0; int leftHeight, righ...
a5d4811051f8048adaa57ddbb38cbd3eb0dcdf4a
ea3683c840a241ad0feb816937f0d1b978cef1fb
/01Basics/quick_sort.cpp
61d0a9a50ee364c4e705ea780defa8f541b53205
[]
no_license
vinay-yadav/Getting-Started-with-C-plusplus
eb7c0e73984b2bd6a72e121910cded5ab0e83fe4
c01e1e69955c7fbec75c4e00acc749cc15216a91
refs/heads/master
2023-06-19T08:30:32.976775
2021-07-15T15:28:15
2021-07-15T15:28:15
347,006,794
0
0
null
null
null
null
UTF-8
C++
false
false
766
cpp
quick_sort.cpp
#include <bits/stdc++.h> using namespace std; int partition(int arr[], int low, int high){ int i = low - 1, pivot = arr[high]; for(int j = low; j < high; ++j){ if(arr[j] <= pivot){ i++; swap(arr[i], arr[j]); } } swap(arr[i+1], arr[high]); return i+1; } void quickSort(int arr[], int low, int high){ ...
a6202e589c2b71249f72518694fd30f823fd5b90
a6bd0fddbd5148a0b44ec4b49204ef5d7508ff8b
/src/Objet.cpp
155485cea86815022c69511daae8cb83ca9a5ad9
[]
no_license
GuillaumeRahbari/Robot
a6ebafbb30d9a6432357b83905573f360e63e93b
c8f824581d14f7b61aa3e0eb83f4b547b8ed0ee7
refs/heads/master
2021-01-21T07:35:02.171189
2015-01-04T10:13:13
2015-01-04T10:13:13
25,627,905
0
0
null
null
null
null
UTF-8
C++
false
false
295
cpp
Objet.cpp
// // Objet.cpp // Robot // #include "Objet.h" using namespace std; Objet::Objet (int poids) : poids(poids){} ostream& operator<< (ostream& flux, Objet const& objet){ flux << "La poids est : " << objet.getPoids(); return flux; } int Objet::getPoids() const{ return this->poids; }
39d0d5aeaff46ab79fb2d15d9bc5dfc457c6ef7e
f11c546227ccaf79759fc00aa6c6f7c7df9ac78b
/Game/.svn/text-base/DebrisEffect.hpp.svn-base
61dacc3bd1b360d96a200c51ee61897265ca28ca
[]
no_license
jefrsilva/PGCPandora
23450213b199683326d7e94d7e0ebbbfd4f565ae
b876470932648f9511f49ddf8e09ae33120df2b5
refs/heads/master
2020-05-18T12:55:20.117658
2012-08-29T11:19:00
2012-08-29T11:19:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
636
DebrisEffect.hpp.svn-base
#ifndef _INC_DEBRISEFFECT_HPP #define _INC_DEBRISEFFECT_HPP #include "VisualEffect.hpp" #include "Region.hpp" #include "BoundingCircle.hpp" #include "Color.hpp" #include <Engine/Mantis.hpp> class DebrisEffect : public VisualEffect { private: bool dead; Vector position; Vector start; Vector end; int final...
ca1cf2f9fe6e8d5b8ee9965f9e54e782a8fbdee7
ba23e2bbc549f23ebff25a1ce8ba9cab1e48be67
/algorithm/c++/test/TestClass.cpp
3bc0e3fcabaecd25da04d9a32b7421d2a4f5fb4f
[]
no_license
choice17/git-note
2357687491277f4c8c272778b6a0001804d8bacd
ba89a2efb76e0fbe0709817c00ecb6a5460b82b7
refs/heads/master
2023-07-20T18:47:37.463683
2023-07-14T04:23:44
2023-07-14T04:23:44
103,606,286
1
0
null
null
null
null
UTF-8
C++
false
false
197
cpp
TestClass.cpp
#include "TestClass.h" #include <iostream> TestClass::TestClass() { std::cout << "Created TestClass\n"; } TestClass::~TestClass() { } void TestClass::gimme() { std::cout << "Called gimme\n"; }
c34bfdf9c7da744ce4429ae65edeeb23b01f1c57
4ae0e872c106c9ee5e9d1491c0f0b6faf66e7d9d
/AlgorithmLibrary/剑指offer/InterviewProblem9.hpp
20431915b8ca74252fff0531d8b8b58cead875a3
[]
no_license
imerakk/AlgorithmLibrary
21eab76071e3263c392ecf5db4315a47e8a67a78
7be423df381273b0c0247701bda52878e6bd3dab
refs/heads/master
2020-04-24T08:10:24.740113
2019-05-29T03:11:21
2019-05-29T03:11:21
171,822,710
0
0
null
null
null
null
UTF-8
C++
false
false
304
hpp
InterviewProblem9.hpp
// // InterviewProblem9.hpp // AlgorithmLibrary // // Created by liuchunxi on 2019/2/28. // Copyright © 2019年 imera. All rights reserved. // #ifndef InterviewProblem9_hpp #define InterviewProblem9_hpp #include <stdio.h> long long TotalCount(unsigned int n); #endif /* InterviewProblem9_hpp */
ec520e51ed9a97982558931cbccaff9cc643a58c
dff79ca9c6dda6ad69bdd53a2fb2c150bd262d3f
/services/imageservice.cpp
936039ddcd7e8975dacd3a243f040d09047842e1
[]
no_license
gurmaaan/CancerAnalysis
e448a3272bdefdd7d0385a817098255d5b29f542
a6e5966220cc4cebf000a40476f948718477911f
refs/heads/master
2020-03-27T19:58:27.618778
2018-09-05T16:00:32
2018-09-05T16:00:32
147,026,763
0
0
null
null
null
null
UTF-8
C++
false
false
4,048
cpp
imageservice.cpp
#include "imageservice.h" ImageService::ImageService() { } QPixmap ImageService::addRect(QPixmap &pm, int w, QColor clr) { QImage img = QImage(pm.toImage()); QColor baseClr = img.pixelColor(pm.width() / 2, pm.height() / 2); for (int i = 0; i < img.height(); i++) { for (int j = 0; j < img.width()...
b9bbee46b89e31c955a0fe81dd90a1b83d9eb42e
569d64661f9e6557022cc45428b89eefad9a6984
/code/gameholder/item_config_manager.cpp
422631c612022524696d8243c93c52646695fd28
[]
no_license
dgkang/ROG
a2a3c8233c903fa416df81a8261aab2d8d9ac449
115d8d952a32cca7fb7ff01b63939769b7bfb984
refs/heads/master
2020-05-25T02:44:44.555599
2019-05-20T08:33:51
2019-05-20T08:33:51
187,584,950
0
1
null
2019-05-20T06:59:06
2019-05-20T06:59:05
null
GB18030
C++
false
false
23,998
cpp
item_config_manager.cpp
#include "gameholder_pch.h" #include "item_config_manager.h" #include "item_equip.h" #include "game_util.h" IMPLEMENT_SINGLETON(ItemConfigManager) ItemConfigManager::ItemConfigManager() : m_EquipStarUpMax(0) { EQUIP_ENTRY::CreateInstance(); CONSUME_ENTRY::CreateInstance(); MATERIAL_ENTRY::CreateInstance(...
449049d40503e4d5c04bf71d59516100cade85ca
81f6419ea475836b1f1b24bcd2de77a316bc46a1
/GFG must do questions/inheritance in c++.cpp
fd3986f0f779da34d73ff4ef86b19302ec41ed71
[]
no_license
Pramodjais517/competitive-coding
f4e0f6f238d98c0a39f8a9c940265f886ce70cb3
2a8ad013246f2db72a4dd53771090d931ab406cb
refs/heads/master
2023-02-25T12:09:47.382076
2021-01-28T06:57:26
2021-01-28T06:57:26
208,445,032
0
0
null
null
null
null
UTF-8
C++
false
false
1,045
cpp
inheritance in c++.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define rs reserve #define pb push_back #define ff first #define ss second #define mp make_pair #define fi(i,s,e,inc) for(auto i=s;i<e;i+=inc) #define fie(i,s,e,inc) for(auto i=s;i<=e;i+=inc) #define fd(i,s,e,dec) for(auto ...
2379b07039077917d893c3514d94ee35fc7be444
32b8db47c9335f65aeb39848c928c3b64fc8a52e
/tgame-client-classes-20160829/CfgMaster/WeaponRefitAdditionCfgMaster.h
83d9fc78c8244a604302eed1e126453ca7530db5
[]
no_license
mengtest/backup-1
763dedbb09d662b0940a2cedffb4b9fd1f7fb35d
d9f34e5bc08fe88485ac82f8e9aa09b994bb0e54
refs/heads/master
2020-05-04T14:29:30.181303
2016-12-13T02:28:23
2016-12-13T02:28:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
749
h
WeaponRefitAdditionCfgMaster.h
#ifndef WeaponRefitAdditionCfgMaster_h__ #define WeaponRefitAdditionCfgMaster_h__ #include "vlib/base/CVSingleton.h" #include "WeaponRefitAdditionCfg.pb.h" #include "CfgMasterBase.h" using namespace com::cfg::vo; class CWeaponRefitAdditionCfgMaster : public CCfgMasterBase<WeaponRefitAdditionCfgSet> { publi...
a9381e76e1d7962dd1f358574f09d4b63b2f7596
745d39cad6b9e11506d424f008370b5dcb454c45
/BOJ/1000/1850.cpp
0de219d3c50320e81e61401c616a4d5439192978
[]
no_license
nsj6646/PS
0191a36afa0c04451d704d8120dc25f336988a17
d53c111a053b159a0fb584ff5aafc18556c54a1c
refs/heads/master
2020-04-28T09:18:43.333045
2019-06-19T07:19:03
2019-06-19T07:19:03
175,162,727
0
0
null
null
null
null
UTF-8
C++
false
false
303
cpp
1850.cpp
#include <iostream> using namespace std; typedef unsigned long long ull; ull gcd(ull x, ull y) { if (y == 0) { return x; } return gcd(y, x%y); } int main() { ios::sync_with_stdio(false); ull a, b; cin >> a >> b; ull n = gcd(a, b); for (ull i = 0; i < n; i++) { cout << 1; } return 0; }
85d82e1fbb4bcf2e78b3a96f455f57f95f1ac746
2ff09a0c14f4d0468c8afaea73618c5649d758f8
/robot/control/Src/modules/KickerModule.cpp
3310e7e87d635387b8cb500d6968a5f075747514
[ "Apache-2.0" ]
permissive
guyfleeman/robocup-firmware
771706084875a54b0777259a79470b7f9beb39be
11e1e773cb9c549349fd2ad76939d6485b04590f
refs/heads/master
2020-04-05T22:46:30.159155
2020-01-27T03:11:40
2020-01-27T03:11:40
237,810,180
0
0
Apache-2.0
2020-02-02T17:43:07
2020-02-02T17:43:06
null
UTF-8
C++
false
false
2,125
cpp
KickerModule.cpp
#include "modules/KickerModule.hpp" #include "mtrain.hpp" #include "iodefs.h" KickerModule::KickerModule(std::shared_ptr<SPI> spi, KickerCommand *const kickerCommand, KickerInfo *const kickerInfo) : kickerCommand(kickerCommand), kickerInfo(kickerInfo), p...
f300c1d5e5f80173837efe48c1a74473a949ec89
28bf7793cde66074ac6cbe2c76df92bd4803dab9
/answers/AasthaCodex/Day 26/question2.cpp
edc668611687eaad295132f0e99cae73800bbaf6
[ "MIT" ]
permissive
Codechef-SRM-NCR-Chapter/30-DaysOfCode-March-2021
2dee33e057ba22092795a6ecc6686a9d31607c9d
66c7d85025481074c93cfda7853b145c88a30da4
refs/heads/main
2023-05-29T10:33:31.795738
2021-06-10T14:57:30
2021-06-10T14:57:30
348,153,476
22
135
MIT
2021-06-10T14:57:31
2021-03-15T23:37:26
Java
UTF-8
C++
false
false
651
cpp
question2.cpp
#include<bits/stdc++.h> using namespace std;; int sumME(int array[], int len); int smallest(int array[], int len); int minayy(int array[], int len); int main(){ int array[] = {3, 2, 5, 1, 7}; int len = 5; cout<<minayy(array , len); return 0; } int sumME(int array[], int len){ int sum = 0; for (int i=0; i<len; sum...
84fbec7b2673d533687bff441106449e73451f1a
cb0d520558754282f8b586dd57df248460a8ae22
/sct_plot/inc/internal/platform.hh
1fe4f78c9d54fe2987829dc75739010fd52c3327
[]
no_license
RPeschke/SCT_correlations
a21e2ea4407d7e2be08ffde172a2917fbc8b0dc1
6ff4ce7ca5d7529d4ba7f386f1f1b8234cb55f66
refs/heads/master
2021-01-18T22:58:13.034155
2016-05-25T08:23:21
2016-05-25T08:23:21
35,161,842
0
3
null
null
null
null
UTF-8
C++
false
false
1,153
hh
platform.hh
#ifndef platform_h__ #define platform_h__ #define CONCATENATE_DETAIL(x, y) x##y #define CONCATENATE(x, y) CONCATENATE_DETAIL(x, y) #define MAKE_UNIQUE(x) CONCATENATE(x, __LINE__) #define LOOP_TASK(x) auto MAKE_UNIQUE(_ret) = x; if (MAKE_UNIQUE(_ret) == return_skip) continue; else if (MAKE_UNIQUE(_ret) == return_s...
12cdf7329fb5d790f3fa8f9c6935ddc553812e60
78972b29a72d87010895b129b7bf42ac2829e940
/elang/elang/grammar/parser/identifier_parser.h
1552c5cf19c639aa9e59861d1587eeb2b385026d
[ "MIT" ]
permissive
benbraide/elang
c55d8e44c8e8b8faa1e0c8762bbe2ae49710302d
7f148be0c0f4144d10c09840c2e02c37899e13f6
refs/heads/master
2021-05-08T04:20:05.901250
2017-11-28T06:23:56
2017-11-28T06:23:56
108,399,081
0
0
null
null
null
null
UTF-8
C++
false
false
2,069
h
identifier_parser.h
#pragma once #ifndef ELANG_IDENTIFIER_PARSER_H #define ELANG_IDENTIFIER_PARSER_H #include "../ast/identifier_ast.h" #include "keyword_parser.h" #include "operator_symbol_parser.h" namespace elang::grammar::parser{ namespace x3 = boost::spirit::x3; x3::rule<class identifier, ast::identifier> const identifier = "i...
c84e189f983e0f9af44ae541d1fdd1b212b7a44a
e9602eada3b5dcb48c127035740f8a57909e7b6d
/practica2/P4.cpp
17ecf155d3e6a7bcbe74ae40b4693cec8d375759
[]
no_license
JaimeRamosMiranda/C-plus-plus-1st-repository-2018
1247f8a3e47115fa7fbdc2128f13dd806391c639
093d3581adb00fd48fe2e78e1098e31b851f54f1
refs/heads/master
2020-03-22T12:09:15.285792
2018-07-06T21:12:26
2018-07-06T21:12:26
140,020,596
0
0
null
null
null
null
ISO-8859-1
C++
false
false
904
cpp
P4.cpp
/* 4.- Escribir un pseudocódigo y el correspondiente programa en C++ que, al recibir como dato un entero positivo, escriba todos los números perfectos que hay entre 1 y el número dado, y que además imprima la cantidad de números perfectos que hay en el intervalo. Un número se considera perfecto si la suma de t...
4c52aadc5c212f23a2d433c0b89168502a06e854
f55fc94338728c2ca4f90ab83d8b969331160166
/catkin_ws/src/mbz2020_planner/src/mbz2020_target_planners/src/target_planner/target_planner.cpp
06ec493563a785b08e276a9d497712f932390002
[]
no_license
asaba96/senior-design-2019
c3cdb68a7d9cee350e00aec30a1da5c7bf64c484
3088bbad2fe67af60e2e94e69ecf6f124c1fceaa
refs/heads/master
2020-09-21T21:00:10.764321
2019-12-09T05:25:27
2019-12-09T05:25:27
224,928,730
0
1
null
2019-12-08T23:38:27
2019-11-29T22:16:15
C++
UTF-8
C++
false
false
6,616
cpp
target_planner.cpp
#include <target_planner/target_planner.hpp> namespace Mbz2020Planner { TargetPlanner::TargetPlanner(std::shared_ptr<Domain> env, std::shared_ptr<State> start, double eps) : open_(), _env(env) { numSearches = 0; goalNode = nullptr; setStart(start, eps); _eps = eps;...
66e12b0248fa3c6e5356dcc46b7f888896c03ff2
ecc68323f7dff91461bb46c1064734af5942cc12
/Source/Cards/BasicCard.cpp
e068e1f287632482fb3dbb315463e8c22b5cf2f5
[ "MIT" ]
permissive
weirdwizardthomas/bi-pa2-b182-semestral
7e4e20fd4454c87fc742dd5ddeaf441952b0b8f3
8b7d17df4dc284ffc7de2417e1a9abf3f8bc7169
refs/heads/master
2023-07-12T11:57:41.724790
2021-08-23T15:10:11
2021-08-24T09:20:20
399,084,666
0
0
null
null
null
null
UTF-8
C++
false
false
471
cpp
BasicCard.cpp
#include <exception> #include "BasicCard.h" using namespace std; BasicCard::BasicCard(int value) : value(value) { if (!validInput(value)) { throw invalid_argument("Invalid Basic Card value"); } } int BasicCard::play(std::vector<int> &playedCards, int currentScore, int opponentScore) const { ret...
1248c08b03accc1b05bab4af73e382871fbd8bc8
9162a3334cadf6e4f724425a261d68070adb431f
/Luogu/P2921.cpp
51db290195b778dfc87d2b6018e9b855aac70e84
[]
no_license
agicy/OI
c8c375c6586110ed0df731d6bd1a1c65aed603d4
1050632a0d9bde7666d9aa2162bba6939b148c1b
refs/heads/master
2023-06-25T01:02:30.336307
2021-07-22T12:57:49
2021-07-22T12:57:49
227,121,193
0
0
null
null
null
null
UTF-8
C++
false
false
1,566
cpp
P2921.cpp
#include <cstdio> #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b)) #define getchar() (p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 100000, stdin), p1 == p2) ? EOF : *p1++) static char buf[100000], *p1 = buf, *p2 = buf; inline int read(void) { register char ch = getchar(); register ...
de104365213578eff67673f893e1a47f87744a3d
baf49d3f3f1862086bab856dbc0888ce64df5b87
/The worst Link Adventure/File_Manager.h
323a9eee33fe6a58a52e985be481983fdf87c3ea
[]
no_license
CHP-EmAS/TWLA
8e0d1b98576d083502d28ecdb389905a2d0d47c0
305f2486888f076d28747fd7ae55adfab7a7dd55
refs/heads/master
2023-02-25T13:29:26.014831
2021-02-02T13:58:51
2021-02-02T13:58:51
271,309,305
2
0
null
null
null
null
UTF-8
C++
false
false
892
h
File_Manager.h
#pragma once #include <string> #include <list> #include <iostream> #include <fstream> #include "Defines.h" class File_Manager : public Singleton<File_Manager> { friend class Singleton<File_Manager>; public: std::string create_SaveGame(std::string name, int difficulty); bool load_Savegame(std::string saveGamePath...
ab76484264ed5643baae6b030c04dfe26b152e73
434f413cf365825dd320878e6cca4b621a5e7ccc
/BasicSevenSegmentDisplay.ino
02f4a1953669cc6deaf913ad8c5234135cb5eead
[]
no_license
SachiKaur/BasicSevenSegmentDisplay
6d34f3d6fb46cc2ec5ae70fef082e7ad7e6a5f2c
decd2387e45e81061dc70cd2c934a68bf46b6df9
refs/heads/master
2020-03-27T13:59:39.221360
2018-08-29T17:59:07
2018-08-29T17:59:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
645
ino
BasicSevenSegmentDisplay.ino
void setup() { DDRB = 0b00000011; //B0-B1(Set as output); DDR-Data Direvction Register is used to set the pin as input(0) or output(1) DDRD = 0b11111110; //D1-D7(Set as output) } const int digit1[] = {0b00000000, 0b11011010, 0b11101110,0b01110010,0b11101100,0b01100000,0b00000000}; const int digit2[] = {0b11011010...
f47a395959ea0e350d334ab78de2fd556f8cdd22
f6b966ca46379cd6037ecffaa539ec1807205314
/Chapter_19_Exercises/Vector.h
d456ed3afb6bb0bad2cea21af54ceec366425ae3
[]
no_license
guilhermezardo0/Programming-Principles-and-Practice-Exercise-Solutions
e39a811e06c58572f1c626d01efe205d3ee671c0
a7322501be813dd23962ea6104b998527cc5f55a
refs/heads/master
2021-09-06T03:22:40.960540
2018-02-02T01:25:58
2018-02-02T01:25:58
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
4,783
h
Vector.h
#include "../../std_lib_facilities.h" template<typename T> class allocatr { public: // . . . T* allocate(int n); // allocate space for n objects of type T void deallocate(T* p, int n); // deallocate n objects of type T starting at p void construct(T* p, const T& v); // construct a T wit...
bcf51373f8eb26e935211bda8a73bec4e75054ce
d1bebb6936f968273c5bdf2bdb455d2f49bf95bc
/core/tsystem_communication_dock.h
44c14583eb9bd0dbcc63505e5917b0aca8cecbfd
[]
no_license
spartawwy/TLib
e53c01d1cb30ba86430c1c53e0322e518ecfbbc9
67197852902a41701ba3a4a5712dfeba4d45ca2b
refs/heads/master
2021-10-08T03:12:58.731511
2018-12-07T06:37:47
2018-12-07T06:37:47
116,125,521
0
0
null
null
null
null
UTF-8
C++
false
false
2,085
h
tsystem_communication_dock.h
// by Xixin Silas Cheng // a communication dock containers all types of connection owners #ifndef TSYSTEM_COMMUNICATION_DOCK_H_ #define TSYSTEM_COMMUNICATION_DOCK_H_ #include <mutex> #include <unordered_map> #include "TLib/core/tsystem_connection.h" namespace TSystem { // forward declaration class TaskPool; // ...
26624320071cb0be048edccd54b8a845679673fb
78947ee9cc645cbbc4acd2cd45cd43e8d28eec79
/app/db/imagedao.h
db6e307ce2e0fbc7fcb514af3928227e93cac662
[]
no_license
baptistegasser/Bibliotheque_Photo
4924c194048cee9392782cf2c6a1e550b5448c03
b8d5e2ba8244e30a495e426937a3a2a3dca6d4c9
refs/heads/main
2023-03-03T02:26:50.632319
2021-02-12T22:45:03
2021-02-12T22:45:03
330,893,496
0
0
null
null
null
null
UTF-8
C++
false
false
689
h
imagedao.h
#ifndef IMAGEDAO_H #define IMAGEDAO_H #include "dao.h" #include "model/image.h" #include "model/directory.h" #include "db/imagesearch.h" #include "QSqlRecord" class ImageDAO : public DAO { public: using DAO::DAO; bool exist(Image &image); bool save(Image &image); bool saveAll(Image images[]); boo...
7e18fa0506aa0d410abb768426994becc5ceeff1
1824b659c0fc57a92a27f451d875c2c50e05df98
/Spoj/cprmt.cpp
a99f39ffae66200abf36eaa851692d494b2bad97
[]
no_license
convexhull/codechef-ds-and-algo-solutions
78b46c51926ac38984d877b9c97cb0213b4003ea
dde7f8d768c3eb7d2184aba74c4722a54e73f3f8
refs/heads/master
2022-08-10T18:02:46.802337
2020-05-23T12:16:36
2020-05-23T12:16:36
266,325,011
0
0
null
null
null
null
UTF-8
C++
false
false
541
cpp
cprmt.cpp
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); string a,b; while(cin>>a) { cin>>b; string ans; vector<int>marka(200); vector<int>markb(200); for(auto x:a) marka[x]++; for(auto x:b) ...