blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
26f14f98e1dfad105cf078b03ef70df9b66ea0ca
6e73011d39041c6c4fdbcb8ba7f776ce83e8ea4d
/src/object.cpp
d70850789973cb520b0da700f085a2b9e40547c0
[]
no_license
XT95/Laroost
2b5b58993e40c201c101a401a07bedb48f0efdfa
3cebfce9d4928bf18465a91ad90319a398bf2224
refs/heads/master
2022-06-13T07:44:20.343400
2020-05-09T06:48:57
2020-05-09T06:55:35
253,349,147
3
2
null
null
null
null
UTF-8
C++
false
false
1,808
cpp
#include "core.h" #include "object.h" Object::Object() { m_geo = NULL; m_transform = glm::mat4(1.f); } Object::Object(const Object &obj) { m_geo = obj.m_geo; m_shad = obj.m_shad; m_tex = obj.m_tex; m_transform = obj.m_transform; m_display = true; } Object::~Object() { delete m_geo; } ...
[ "anatole.duprat@gmail.com" ]
anatole.duprat@gmail.com
5a4194819fa74387e34afc5f0ba9f58175dfffb2
dcc2287c94a4eaeafe61557a066413b7effd01fc
/HackBaseMini/esp.cpp
fa3503ecec06f70d3a01c1c0a8483a33d813f3cf
[]
no_license
svtrv/cscheat
4a01e1bdfc2d291de7122be44ee5996e16c11a50
e14abf298378fbb8d5fd74adfbec522eecce252e
refs/heads/master
2020-12-30T13:46:14.005699
2017-05-18T20:34:45
2017-05-18T20:34:45
91,251,525
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
6,575
cpp
#include "main.h" #include "esp.h" #include "aimbot.h" #include <math.h> // up / down #define PITCH 0 // left / right #define YAW 1 // fall over #define ROLL 2 #define M_PI 3.14159265359 #pragma warning(disable : 4244) esp_s g_Esp; bool esp_s::bCalcScreen(float *pflOrigin, float *pflVecScreen) //world to screenfunc...
[ "dasolo@rarus.ru" ]
dasolo@rarus.ru
0a6ad71720d00b911ba10a05dc38ed99cbe5fba3
9824f765732f2645d16da7e457764245a460227d
/original code/Kernel.h
29ebbbc4a0c4da4130e585f8368db8d7b1c6d683
[ "MIT" ]
permissive
okbalefthanded/conj-svm-plus-mex
7cab6068bbec2062b1b9c3a63099c8f6ef1f682e
8665546ddce7d2366edf8bb1ca4be61991d8f44d
refs/heads/master
2023-08-31T04:05:52.925320
2023-08-17T13:17:04
2023-08-17T13:17:04
114,651,494
3
1
null
null
null
null
UTF-8
C++
false
false
5,084
h
#ifndef _KERNEL_H_ #define _KERNEL_H_ #include "common.h" #include "Cache.h" // // Kernel evaluation // // the static method k_function is for doing single kernel evaluation // the constructor of Kernel prepares to calculate the l*l kernel matrix // the member function get_Q is for getting one column from the Q Matr...
[ "okba.bekhelifi@gmail.com" ]
okba.bekhelifi@gmail.com
a22516099445d02c82942461915458c60eb822f5
ba225468ef163528ea48b091b5d5e3255ff888cb
/ToolCode/LayerTable.h
4c428489751b5614ec050f3d69c947564dbfe620
[]
no_license
presscad/ToolKits-1
aef98bfbce74cfe999a6faa1da83502685366cc3
29c38e692d04a78ab5d31c28d9602cfb1a5db1b5
refs/heads/master
2021-02-15T20:00:57.339658
2020-03-04T08:12:02
2020-03-04T08:12:02
244,927,268
0
1
null
2020-03-04T14:52:44
2020-03-04T14:52:44
null
GB18030
C++
false
false
2,987
h
#pragma once #ifndef __LAYER_TABLE_H_ #define __LAYER_TABLE_H_ #include "XhCharString.h" #include "HashTable.h" #include "f_ent_list.h" typedef struct tagTOWERATOM_COLOR_INDEX { int crNode; int crOutLine; //可见轮廓线及一般字型 int crDashLine; //不可见轮廓线及非本段实体 int crLs; //螺栓符号及标注 int crDimSimTri; //相似三角形及标注 int crSingle...
[ "wjzhwht@hotmail.com" ]
wjzhwht@hotmail.com
b5e295deab85365e4fb110e0bc40df854c812335
548140c7051bd42f12b56e8bb826074609c8b72e
/DFS1/Adventure/Code/Game/DataSet.cpp
a1aa20f82a17e3206abaf994950706274b02af6e
[]
no_license
etrizzo/PersonalEngineGames
3c55323ae730b6499a2d287c535c8830e945b917
6ef9db0fd4fd34c9e4e2f24a8b58540c075af280
refs/heads/master
2021-06-16T22:01:57.973833
2021-01-26T03:54:58
2021-01-26T03:54:58
135,343,718
0
0
null
null
null
null
UTF-8
C++
false
false
16,870
cpp
#include "DataSet.hpp" #include "Game/ActionDefinition.hpp" std::map<std::string, DataSet*> DataSet::s_dataSets = std::map<std::string, DataSet*>(); DataSet::DataSet(tinyxml2::XMLElement * datasetElement) { m_name = ParseXmlAttribute(*datasetElement, "name", "NO_NAME"); //parse acts tinyxml2::XMLElement* actElem...
[ "emilytrizzo@gmail.com" ]
emilytrizzo@gmail.com
17cda2e1e4d3afaf8fdd064197fa9dc38c0e7d13
acc08a2b6d935a587dc92c986a8b2da525088421
/core/global.h
6663f5a34ebee546e6bf5ba8aed3da861a8d6d57
[]
no_license
walterqin/vcnrs
905d4666351045ce2004f03bf34a524e0c6752a1
539ff6bc7c69efc95fb80edcd2d0dead673706c1
refs/heads/master
2020-04-03T09:16:56.218317
2018-10-29T05:58:42
2018-10-29T05:58:42
155,149,507
0
0
null
null
null
null
UTF-8
C++
false
false
9,793
h
/** * @file global.h * @brief 定义项目中用到的全局数据,包括: * 全局常数 * 通用API * 全局变量 * @ingroup core * @author walterqin(walterqin@hotmail.com) * @date 2015-09-07 */ #ifndef GLOBAL_H #define GLOBAL_H #include <QtCore> #include <QMessageBox> #include <QMetaType> #include <math.h> #include <QtDebug> #include "co...
[ "walterqin@hotmail.com" ]
walterqin@hotmail.com
1224710d0f3524b1a1eaaecf1898b8a0fa6c950d
9cb87c3a33619e6c3d39f576d97cb09ebe1a9216
/dipoly/julkinen/utility.cc
40ad25f9a8404378fffdea7aa02ebb64e78ce715
[]
no_license
Vickytommy/C-plus-plus-Projects
7f6fb154070688fbcdfb8c57bac0a5d73cf766b1
ecb00d82c503c6e2d4158410742183d9b3696a9e
refs/heads/master
2020-03-21T10:10:22.383799
2015-09-18T08:17:38
2015-09-18T08:17:38
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,212
cc
/// \file Utility.cc /// /// \brief Utility functions, source file #include "utility.hh" #include "chopper.hh" #include "initexception.hh" #include <cctype> #include <sstream> //#include <ctime> //#include <cstdlib> using std::string; using std::toupper; namespace Utility { /// For reading street srtuct from ...
[ "johnshumon@gmail.com" ]
johnshumon@gmail.com
d23b1c56305f42ccf65786d58837e3e4bcfa9675
9923a00a9afcd97c2fb02f6ed615adea3fc3fe1d
/Branch/Deprecated/GpsEthernet/NMEA0183/ZFI.CPP
0774d63f50033d253792d9571cfe9f02e5c832e4
[ "MIT" ]
permissive
Tsinghua-OpenICV/OpenICV
93df0e3dda406a5b8958f50ee763756a45182bf3
3bdb2ba744fabe934b31e36ba9c1e6ced2d5e6fc
refs/heads/master
2022-03-02T03:09:02.236509
2021-12-26T08:09:42
2021-12-26T08:09:42
225,785,128
13
9
null
2020-08-06T02:42:03
2019-12-04T05:17:57
C++
UTF-8
C++
false
false
4,036
cpp
/* Author: Samuel R. Blackburn Internet: wfc@pobox.com "You can get credit for something or get it done, but not both." Dr. Richard Garwin The MIT License (MIT) Copyright (c) 1996-2015 Sam Blackburn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated document...
[ "synsin0@outlook.com" ]
synsin0@outlook.com
9dc8a7324d4a678d7cc9512519b19fc6f56c6f7a
2fcebe7db0b485e7a0cb3560203eaae2eda8e46b
/Arduino/Metronome/display.ino
3dcc4685ea52ff16554e194b18bf667d3b461347
[ "MIT" ]
permissive
loggerhead-instruments/Metronome
c1fc90c10db6eae9cceea2e33037d5b031b4799a
550a5ce0619e9d865ebdf208788571797613266b
refs/heads/master
2020-07-27T10:27:40.825659
2020-03-11T16:22:34
2020-03-11T16:22:34
209,058,945
0
0
null
null
null
null
UTF-8
C++
false
false
5,085
ino
#define setStart 0 #define setSchedule 1 int curMenuItem = 0; volatile int maxMenuItem = 2; unsigned long autoStartTime; char *menuItem[] = {"Start", "Schedule", }; char *helpText[] = {"UP/DOWN:Scroll menu\nENTER:Start", "ENTER:View Schedule\nUP/DN:scroll ...
[ "dmann@loggerhead.com" ]
dmann@loggerhead.com
a2160970789b663c10b23460d1517c55272db70f
627d4d432c86ad98f669214d9966ae2db1600b31
/unprocessed/doc/src/snippets/qlistview-using/model.h
0ea07dcb940d43f35870ec4404a548a4ef26193e
[]
no_license
fluxer/copperspice
6dbab905f71843b8a3f52c844b841cef17f71f3f
07e7d1315d212a4568589b0ab1bd6c29c06d70a1
refs/heads/cs-1.1
2021-01-17T21:21:54.176319
2015-08-26T15:25:29
2015-08-26T15:25:29
39,802,091
6
0
null
2015-07-27T23:04:01
2015-07-27T23:04:00
null
UTF-8
C++
false
false
3,384
h
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** ...
[ "ansel@copperspice.com" ]
ansel@copperspice.com
1b90f57a32bf3fb9763f03dbfa0feb13c2ca8c2a
0d314decc17cf7bb7918a9b5ac72ebe1e1abca1e
/src/pow.cpp
fa1a26b92f175ac14d68d5e28184883258165a8e
[ "MIT" ]
permissive
gus3008/protoncoin
798375f90c6fd97de29ad75bf79def555fae1888
320fe64295c487a0af6a18ceb8da8012b822cd86
refs/heads/master
2020-03-21T19:30:19.506175
2018-07-10T23:52:02
2018-07-10T23:52:02
138,953,437
0
0
MIT
2018-06-28T01:58:07
2018-06-28T01:58:06
null
UTF-8
C++
false
false
11,358
cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pow.h" #include "arith_uint256.h" #include "chain.h" #include "chainpa...
[ "newprotoncoin@gmail.com" ]
newprotoncoin@gmail.com
4bb5a0076814d53222f6c8c9f05a1d948735269f
e280f0cd29a2a042637a1af23d8bc4a74686a261
/balanced_diet_upload.cpp
60d6627da23b121d402ffb9c06313847b77e0176
[ "Apache-2.0" ]
permissive
danikin/my-pet-projects
54fc59f7c4397c19b3d481938aca2fac58555f3c
b6f7cac2c9b05b860ae392b6edab926ef3891c18
refs/heads/main
2023-03-22T00:01:09.456686
2021-03-17T14:22:11
2021-03-17T14:22:11
348,730,153
0
0
null
null
null
null
UTF-8
C++
false
false
10,530
cpp
/* * balanced_diet_upload.cpp * * (C) Denis Anikin 2020 * * Upload the data for the balanced diet * */ #include <vector> #include <algorithm> #include <iostream> #include <cmath> #include <iomanip> #include <map> #include <set> #include <unordered_map> #include <fstream> #include "balanced_diet.h" ...
[ "danikin1@gmail.com" ]
danikin1@gmail.com
a98a4e18de05eac6b649a81641ab85d451c0be3c
44d12f9c95fdc60b19d152b053843f6db10df721
/test/test_main.cpp
44088407b9c43660c7d4e8d265e75dc9e393d3e2
[ "MIT" ]
permissive
lenLRX/SimDota2
de7b7bfb149c2ed587db6d7e1e76c8858d2dca1c
79bbac26be6052913f4208d692398a55d809eb24
refs/heads/master
2021-10-09T03:26:20.904690
2018-01-29T15:53:17
2018-01-29T15:53:17
114,144,594
1
1
MIT
2018-01-29T15:53:17
2017-12-13T16:36:39
C++
UTF-8
C++
false
false
253
cpp
#include "simulatorImp.h" int main(int argc, char** argv) { for (int i = 0; i < 1000; i++) { cppSimulatorImp engine(nullptr, nullptr); while (engine.get_time() < 200) { engine.loop(); } } return 0; }
[ "545976176@qq.com" ]
545976176@qq.com
8cc339af5b50fc503350e8b9c241f4b719a1c3d8
ad024316e65c673be6bd89a07ae3b8f872e8a790
/src-cpp/include/GVec.hh
7023b7550aada536f2f37268208e6c96bfba7fba
[ "MIT" ]
permissive
k3yavi/caviar
e70a9f92d21106eaed6f0d8ddb0ae646b080d5d9
f6f3705b180f1b9c59c87fac8c266c4e068f2f78
refs/heads/master
2021-01-01T19:25:57.288695
2017-08-01T22:23:25
2017-08-01T22:23:25
98,581,907
1
1
null
null
null
null
UTF-8
C++
false
false
26,704
hh
//--------------------------------------------------------------------------- /* Sortable collection of pointers to objects */ #ifndef _GVec_HH #define _GVec_HH #include "GBase.h" #define GVEC_INDEX_ERR "GVec error: invalid index: %d\n" #if defined(NDEBUG) || defined(NODEBUG) || defined(_NDEBUG) || defined(NO_DEBUG...
[ "avi.srivastava@stonybrook.edu" ]
avi.srivastava@stonybrook.edu
9891e3ebc2c81696775ebfc7d0d4aa1db20c5eea
3f5cfb6385fe8f4f85ec57e49de4775f26e6bccb
/Tree/GTree/07_MaxNode.cpp
d5ba29498897841540c3c35c7c9c48164521eb31
[]
no_license
sunny7898/DSA-Practice
0ef56a62336b3d03fec49465be31409154080925
91b4dbcdd2636b3203a14c086a01f6a924c7c179
refs/heads/main
2023-07-24T01:09:01.289525
2021-09-05T13:38:06
2021-09-05T13:38:06
403,214,615
0
0
null
null
null
null
UTF-8
C++
false
false
1,589
cpp
#include<bits/stdc++.h> using namespace std; template <class T> class Node { public: int data; vector<Node<T>*> children; Node(T data){ this -> data = data; } }; Node<int>* takeInputLevelWise(){ cout << "Enter root data: "; int rootData; cin >> rootData; Node<int> *root = new Node<int>(...
[ "sungoswami07@gmail.com" ]
sungoswami07@gmail.com
cd13525317bea883e0a9f9baf6935e271e1ad2ec
9638292ebb37f5d578740b47185ccf9232371db6
/Section13/Challenge/Movies.h
7ba5f8baada99b2a0523c9a9da65c22ae394ed96
[]
no_license
Cr0ckyy/udemy_cpp
803495ef188a6f1bd43f8ac0b32bfbf2456a5169
cc144eef3d08340dcb3d9405ddebe612dc8aa61a
refs/heads/master
2022-03-10T16:19:22.408605
2019-11-18T19:25:22
2019-11-18T19:25:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
428
h
#pragma once #include <vector> #include <string> #include "Movie.h" class Movies { std::vector<Movie> movies; public: void add_movie(std::string name, std::string rating="R", int watched=0); void increment_watched (const std::string name); void display() const; // Passing in empty vector as de...
[ "tkleia34@gmail.com" ]
tkleia34@gmail.com
53474eb3e707c5ba90e3b7b0c132f47a6ba2da84
63447efce1ee79ea12b8e1530390ab41797ec171
/src/hammingcode.h
7eb130da0197f285edc40020620972606d14255c
[ "BSD-3-Clause" ]
permissive
nkdhny/aruco
9606c8647af8e3b935f75c3e05127a2df5e972c9
29874451d43a18f27deed5de965e85fbd1dba407
refs/heads/master
2020-05-18T18:28:41.145436
2014-09-11T08:47:17
2014-09-11T08:47:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
992
h
#ifndef HAMMINGCODE_H #define HAMMINGCODE_H #include <boost/noncopyable.hpp> #include <opencv2/core/core.hpp> namespace nkdhny { class HammingCode: boost::noncopyable { private: static int apply_rotation(const cv::Mat & in, cv::Mat& out); static int distance(const cv::Mat& bits); HammingCode(); public:...
[ "golomedov@gmail.com" ]
golomedov@gmail.com
c0e5defff457c167ea71cebd280c887f20fd32f2
7caf0202db429e6ba6f3b3f81bace5656a6a237b
/Assignment 4/workforce.cpp
ac6ee616203c1d9ac7ad27ce6a5677e318fda467
[]
no_license
erinaucoin/ENGM-3282-Assignments
332cb5cbe388d72c4bb75b533e42486db9752fe0
60a67e9e874cfb10f75caa7018f75add4cd6afc0
refs/heads/master
2021-08-15T15:19:46.891630
2017-11-17T22:38:32
2017-11-17T22:38:32
106,895,857
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
3,288
cpp
/* File: workforce.cpp An employee’s information is stored as an object of type employee consisting of name, employee id and employee salary. The methods read() and write() are defined for employee. Information about a company’s workforce is stored in an object of type workforce consisting of the wo...
[ "noreply@github.com" ]
erinaucoin.noreply@github.com
730b9d5c490d7fc7a63ded9587e53f05ef0100bf
1269f59a03784427fa04ca9a9a4e2556edcdbd7a
/d01/ex06/HumanA.cpp
82d9dbb64eda6e5e628debbd089bbaea101b146f
[]
no_license
spalmaro/Piscine-CPP
d0ccb8709fc513130140492250a78cdb23398f07
fe4d6abb464c559d38936c8001cc78bb2c87bb34
refs/heads/master
2020-03-18T19:36:22.839017
2018-06-05T18:24:50
2018-06-05T18:24:50
135,164,796
0
0
null
null
null
null
UTF-8
C++
false
false
307
cpp
#include "HumanA.hpp" #include <iostream> HumanA::HumanA(std::string _name, Weapon &_weapon): name(_name), weapon(_weapon) { return ; } HumanA::~HumanA(void) { return ; } void HumanA::attack() { std::cout << this->name << " attacks with his " << this->weapon.getType() << std::endl; }
[ "spalmaro@e2r11p13.42.fr" ]
spalmaro@e2r11p13.42.fr
f6a4f736ef9ed58d2bce7bcc245137d25560c966
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/squid/new_hunk_4241.cpp
d09d0c4aaf442ffd7be01487e9d7c5b54f2c39b1
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
430
cpp
{ fprintf(stderr, #if USE_WIN32_SERVICE "Usage: %s [-cdhirvzCFNRVYX] [-s | -l facility] [-f config-file] [-[au] port] [-k signal] [-n name] [-O CommandLine]\n" #else "Usage: %s [-cdhvzCFNRVYX] [-s | -l facility] [-f config-file] [-[au] port] [-k signal]\n" #endif " -a port ...
[ "993273596@qq.com" ]
993273596@qq.com
078235f24e04f16630569a825907766a48af62db
4cb0d85cf756b6ef55495e11e5959aca0c5f8a23
/cpp/one/a066.cpp
67b79ff96170ac4f11bfea3bb7e686b13ba1a8df
[]
no_license
yunyu-Mr/myLeetcode
ae751ebc69d71e38ded181804898c523f70d1114
e8a9f227a849656e0260316697401e4350e3bf05
refs/heads/master
2021-04-15T06:42:21.064281
2017-10-10T02:28:25
2017-10-10T02:28:25
41,905,584
1
0
null
null
null
null
UTF-8
C++
false
false
417
cpp
class Solution { public: vector<int> plusOne(vector<int>& digits) { int n = digits.size(); int carry = 1; for (int i = n-1; i >= 0 && carry; i--) { int sum = digits[i] + carry; digits[i] = sum % 10; carry = sum / 10; } if (...
[ "yellow-ming@163.com" ]
yellow-ming@163.com
e8be6129bc4d2603e890df73b39cebef5a125005
fb4c099e52b198d96cfa985f27aeffbd8b959ed8
/3.Expert/FT81X_Tactil_test/M_0.ino
f9d1f7e0d8cfbde1b1def0556d6ec3fcd3cc0462
[ "BSD-2-Clause" ]
permissive
lightcalamar/GD3_HOTMCU
6484af8d1676540c46fa834ab2e3805c1005b8af
f3ac0d8242d7ee301485f978a5f16b77053b8508
refs/heads/master
2021-01-18T20:01:34.815909
2017-07-31T07:50:55
2017-07-31T07:50:55
86,926,370
0
0
null
null
null
null
UTF-8
C++
false
false
4,352
ino
void MainMenu(){ while(1) { GD.get_inputs(); GD.Clear(); GD.ColorA(255); GD.SaveContext(); fondoJPGZoom(); GD.RestoreContext(); GD.LineWidth(48); GD.Begin(RECTS); GD.ColorRGB(0xffffff); for (int j = 0; j < Numrects; j++) { int y = 40 * j - ymov; GD.ColorA(100)...
[ "noreply@github.com" ]
lightcalamar.noreply@github.com
0ff2f80907d822132e632d833b3952100c34c52b
45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33
/FindSecret/Classes/Native/UnityEngine_UnityEngine_Gyroscope3288342876.h
4aa68e651d2cf15a9b8e986fa26ee2529a748592
[ "MIT" ]
permissive
GodIsWord/NewFindSecret
d4a5d2d810ee1f9d6b3bc91168895cc808bac817
4f98f316d29936380f9665d6a6d89962d9ee5478
refs/heads/master
2020-03-24T09:54:50.239014
2018-10-27T05:22:11
2018-10-27T05:22:11
142,641,511
0
0
null
null
null
null
UTF-8
C++
false
false
967
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object3080106164.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang d...
[ "zhangyide@9fbank.cc" ]
zhangyide@9fbank.cc
d2eb0a6dbc25bd23176f6282f29d4647ef7de1eb
562027128b51ec5dccf8a00c8b426f4411a39225
/c++/recursion/395_longest-substring-with-at-least-k-repeating-characters/main.cpp
42bc9fe5f436830e1a95cce76ce0011f4cb04e43
[]
no_license
zwkcoding/data_structure
3014487de553e499515f170b9398a56cce1efbcc
5704d036e180fa23e577c08ab5a37e358747aeb2
refs/heads/master
2022-12-15T19:05:27.740797
2022-11-28T14:34:07
2022-11-28T14:34:07
183,247,465
0
0
null
null
null
null
UTF-8
C++
false
false
1,438
cpp
/* * Filename: /home/zwk/code/data_structrue/c++/recursion/395longest-substring-with-at-least-k-repeating-characters/main.cpp * Path: /home/zwk/code/data_structrue/c++/recursion/395longest-substring-with-at-least-k-repeating-characters * Created Date: Tuesday, May 14th 2019, 6:49:25 pm * Author: zwk * * Copyrigh...
[ "zhouwk33@gmail.com" ]
zhouwk33@gmail.com
9e6c400f4868ca2ea812c470ce54263597507628
15b80cd053038932651139aafa26cefd620ae347
/w3/19127618-NguyenThanhTung-inclass/Project1/19127618_W3_1.cpp
86ec392a438e39b49b2a9265214d2e779217a2ca
[]
no_license
19127618student/oop
d004d3a9ecb6cf2b39bf5e49253b6fcda8258b9b
0e887300f8fc2179d44d5695e6b853c7d85efaec
refs/heads/master
2022-12-06T22:24:47.133163
2020-09-02T06:03:34
2020-09-02T06:03:34
279,295,547
0
0
null
null
null
null
UTF-8
C++
false
false
976
cpp
#include <iostream> using namespace std; class HS { private: char* hoTen; public: HS(void); HS(const char* ht); HS(const HS& hs); ~HS(void); const HS& operator=(const HS& hs); }; HS::HS(void) { hoTen = NULL; } HS::HS(const char* ht) { int len = strlen(ht); hoTen = new char[len + 1]; strcpy_s(hoTen, len + 1, ...
[ "63986381+19127618student@users.noreply.github.com" ]
63986381+19127618student@users.noreply.github.com
fd3e72ebeaa7a2c0dbf34c1eb8f7ad4badef1f08
4d22354225daba8e7fb83f27e3c0e4ac38ca4132
/app/src/main/cpp/isEngine/ext_lib/Box2D/Dynamics/b2Island.cpp
7fb696af44eb12498de7163b6833569adb04950e
[ "Zlib" ]
permissive
Is-Daouda/is-Engine
609ad87ca64c26c1de01c589576fc6190dad93bd
9609263bafcc52ea7c60fa880ef95f64851b36ee
refs/heads/master
2023-08-08T18:16:57.959281
2023-07-18T22:00:05
2023-07-18T22:00:05
163,519,422
205
25
Zlib
2021-05-07T13:20:35
2018-12-29T15:01:27
C
UTF-8
C++
false
false
16,479
cpp
/* * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * i...
[ "isdaouda.n@gmail.com" ]
isdaouda.n@gmail.com
8f23f1a8a08105240ac227ec1dcc092018b3c912
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5708284669460480_1/C++/Hellis/main.cpp
ca85ca82b8564ecfeca6bf6e25540ef48dfc6d26
[]
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
2,719
cpp
#include <iostream> #include <cstdio> #include <vector> #include <algorithm> #include <cstring> using namespace std; const int NN = 105; const double eps = 1e-8; int nxt[NN]; void get_next(char s[], int len) { nxt[0] = -1; for (int i = 2, j = 0; i <= len; i++) { while (j > -1 && s[i - 1] != s[j])...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
68f90816af9ee91cf2dfc8714a07e919d6187969
459b4ab676edf61d09899a539c7f8d7c78f7c2b5
/numberTheory/sachinAndVarun.cpp
db4217f4c3e3a6eb7759018220666e206a8a41dc
[]
no_license
ali-anas/Archive-of-Code
a75cd0df1224dea14ed195f74fd906b74457a45e
bc1132b6434c3d39b406e731629605af8b6c5727
refs/heads/master
2023-01-01T18:50:12.876755
2020-10-22T08:13:23
2020-10-22T08:13:23
225,658,465
0
0
null
null
null
null
UTF-8
C++
false
false
1,423
cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unordered_map<int, int> umapii; typedef unordered_map<int, bool> umapib; typedef unordered_map<string, int> umapsi; typedef unordered_map<string, string> umapss; typedef map<string, int> mapsi; typedef map<pair<int, int>, int> mappiii; typedef...
[ "infoalmora786@gmail.com" ]
infoalmora786@gmail.com
028df5ba29c10283c468e2d7dbf9c610153dfbcf
77082f01cb12fc9f9cdedb3e45f72293e5d88f45
/headers/Squelette.h
3170c274dfbd0a278c902d89b23558bcacfe0404
[]
no_license
mumu1000/battaille_sur_lave
cfd4e4f13d3338215b0589d8f16e14765c8c2d82
9d8674d49e458c571067d9cef5a83f94ddb6ee63
refs/heads/main
2023-03-26T01:51:29.867199
2021-03-24T18:48:27
2021-03-24T18:48:27
342,925,467
0
0
null
null
null
null
UTF-8
C++
false
false
119
h
#pragma once #include "Monstre.h" #include <string> class Squelette : public Monstre { public: Squelette(); };
[ "jean.elomass@gmail.com" ]
jean.elomass@gmail.com
53e2aafc24b651da4be42428a200bd40ec2a07e6
b1cd3e53c2851efca75a1740fd71945c0b895981
/layers.h
7fb248b86c70076b8e9566c5e71efc7c647c07fb
[]
no_license
VhalPurohit/NN_CUDA
aea510b630fe51d76f7af2b4d42dbb38fb940529
d9ca8886b6e4f92ffa63a5e6df5a94e67176f435
refs/heads/master
2022-11-09T07:59:13.164945
2020-06-12T01:40:44
2020-06-12T01:40:44
268,931,189
0
0
null
null
null
null
UTF-8
C++
false
false
7,539
h
#ifndef LAYER_H #define LAYER_H #include<iostream> #include<random> #include "matrix.h" using namespace std; enum LAYER {linear, relu, sigmoid}; //This is the parent abstract class, each class must have these 5 functions to qualify as a layer class Layer{ public: string name,taip;//="name", taip="taip"; ...
[ "vpurohit@ucsc.edu" ]
vpurohit@ucsc.edu
87711f579ede4581e451e3cd5ce9271fa92ac1e1
5dd2ec8717248d25c502a7e73182be11dd249fb3
/chrome/browser/ui/android/autofill/autofill_progress_dialog_view_android.cc
d7d48b39aa27e1e1a43634d8582df98faae25cda
[ "BSD-3-Clause" ]
permissive
sunnyps/chromium
32491c4799a2802fe6ece0c05fb23e00d88020e6
9550e527d46350377a6e84cd6e09e1b32bf2d936
refs/heads/main
2023-08-30T10:34:39.941312
2021-10-09T20:13:18
2021-10-09T20:13:18
217,597,965
0
0
BSD-3-Clause
2021-09-28T18:16:02
2019-10-25T19:01:58
null
UTF-8
C++
false
false
3,028
cc
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <jni.h> #include <stddef.h> #include "chrome/browser/android/resource_mapper.h" #include "base/android/jni_android.h" #include "base/android/jni...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
a3f02d848ff5afcbbe4aa8228ab483a0adca0ecb
096cb52e9ccf1ee7d3979d694fdfdb9017b18958
/C_and_Cplusplus_in_linux/size/1000_6.cpp
908a6e5b17f06c2fa65ca31499f31d90e5988143
[]
no_license
ly-tcp-udp-ftp/networklib
181c8629a466a765f73b9313ae1184ddbfeca266
892790e09fc111097534c145b9a54863bf2b7594
refs/heads/master
2020-03-15T15:22:59.554097
2018-01-06T05:00:14
2018-01-06T05:00:14
132,210,804
0
1
null
null
null
null
UTF-8
C++
false
false
125
cpp
#include<cstdio> int main(int argc, char**argv) { printf("%d\n", argc) && argc ^100 && main(argc+1,NULL); return 0; }
[ "i@tiankonguse.com" ]
i@tiankonguse.com
d27c850db05af30ceb45727ff7355522d178f1af
bc655b33bc631f108dccd62f870d5b4de51c74d9
/LevelEditor/LevelEditor.cpp
05f6704496455528097578c34f8f83e16fb051e9
[]
no_license
nandee95/ZombieGame
c21dfe5c923ed969d35fed300ab3c277220eb305
a01d22150d1625f6fe4571cabbda09054b8d0478
refs/heads/master
2020-05-29T21:07:49.943818
2019-05-30T08:25:33
2019-05-30T08:25:33
189,371,184
0
0
null
null
null
null
UTF-8
C++
false
false
9,180
cpp
#include "../LevelEditor/LevelEditor.hpp" #include "../LevelEditor/ColorPicker.hpp" LevelEditor::LevelEditor() { //Create globals Tool::levelEditor = this; this->resetView(); std::shared_ptr<Window> window = Globals::window.lock(); this->swConvert = sf::Vector2f(this->view.getSize().x/static_c...
[ "noreply@github.com" ]
nandee95.noreply@github.com
6fc25ff6ffde20af2d12d8f1de45c88bc6ec8b55
c45608c6f57e9e91e753483b65a555e2a7fc4cf0
/ATmega32u4/Circuit-Playground-Stuff/HealthPrototype/HealthPrototype.ino
751f94e83e98834915cf806df732449d2a22c33a
[]
no_license
parmarjh/CircuitPlayground-s
d26526416abc7ee796770adc74715e9c786df360
d210469f85fec3af54236d503d4c6ce489b2aa3d
refs/heads/master
2023-02-19T03:15:39.647138
2018-01-17T20:29:53
2018-01-17T20:29:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,809
ino
/////////////////////////////////////////////////////////////////////////////// // Circuit Playground Health Prototype // // Author: James Fey using code from Carter Nelson's example // This Is the Larp Health Prototype // Materials: // Circuit Playground by adafruit // Vibe Motor #include <Adafruit_CircuitPlaygroun...
[ "tdamdouni@Peters-MBP.fritz.box" ]
tdamdouni@Peters-MBP.fritz.box
935071985eab102cd4b26df0947a06aa37fd1bc5
59255ea212337bb849e640e3108f43764c23f87a
/xrtl/base/intrusive_list.h
67f6c701140370ea641a19b0ef70776c878bd410
[ "Apache-2.0" ]
permissive
NeoTim/xrtl
2aea04e0768590cc68c75c57273c9c221bcc621e
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
refs/heads/master
2021-09-18T19:37:25.148899
2018-07-18T17:48:33
2018-07-18T17:48:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
23,197
h
// Copyright 2017 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 by applicable law or agreed to in...
[ "ben.vanik@gmail.com" ]
ben.vanik@gmail.com
feb43a080cb629c6fc68c9116c1cf7e89d2f50ae
a0bf06795c19db6b89841a764ebabec5cc69ee5b
/Build/TopDownMultiplayer Shooter_Client_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_1.cpp
0bc0ad78ef078df2d631b6535ef0e6a955ed83b3
[]
no_license
Numpienick/TopDownMultiplayerClient
22e3e3aa6bcd078260bd362f52276054fcb648d2
406d3c41a71f168aa3b9dc875aceb67e02751264
refs/heads/master
2020-06-20T17:07:02.791836
2019-07-16T12:13:19
2019-07-16T12:13:19
197,187,868
0
0
null
null
null
null
UTF-8
C++
false
false
1,867,439
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
[ "211162@edu.rocfriesepoort.nl" ]
211162@edu.rocfriesepoort.nl
03a9a7e36f5eced6769578193db4b8fdad35d25e
65dc34dc3b91d04a2c3f213bb226716981067953
/opentherm/OpenTherm_Demo1.ino
01866fa54972af8aa495f7bc31afbe5e5e0d131c
[]
no_license
homeserve-alliance/Boiler-protocols
837a9eec2a60a3dc158728c74996239cfd56dbea
54c7196bc8d528c2a21afc549dc100843c891983
refs/heads/master
2020-03-27T13:42:16.120431
2018-08-30T22:40:53
2018-08-30T22:40:53
146,623,635
2
0
null
null
null
null
UTF-8
C++
false
false
3,366
ino
/* OpenTherm Communication Example Code By: Ihor Melnyk Date: January 19th, 2018 Uses the OpenTherm library to get/set boiler status and water temperature Open serial monitor at 115200 baud to see output. Hardware Connections (OpenTherm Adapter (http://ihormelnyk.com/pages/OpenTherm) to Arduino/ESP8266): -OT1/OT2 = B...
[ "noreply@github.com" ]
homeserve-alliance.noreply@github.com
a425b7517d4054c283781b246c9d12fddbd0d3e7
b2d28dd1c647ea592d3a4f3fdc561d649007ec30
/Classes/GameScene_Box2D.h
74ea7243af18f565b7b455fe44879d6e8eb30c72
[]
no_license
tigerwoods1206/LiquidFunClassOnly
a87119b31d3fa01de7cc6bc15cf006b1997def9a
62507d97cb38ec23c5a69b529b32b60dfbab270f
refs/heads/master
2020-12-24T15:13:29.151310
2014-12-24T09:37:53
2014-12-24T09:37:53
28,328,520
1
0
null
null
null
null
UTF-8
C++
false
false
3,477
h
// // GameScene_Box2D.h // TumTum_Base // // Created by ohtaisao on 2014/12/19. // // #ifndef __TumTum_Base__GameScene_Box2D__ #define __TumTum_Base__GameScene_Box2D__ //#define LIQUIDFUN_SIMD_NEON 1 #include "cocos2d.h" #include "Box2D.h" #include "GLESDebugDraw.h" #include "BallSprite.h" #include "TGestureRecog...
[ "ohtaisao@square-enix.com" ]
ohtaisao@square-enix.com
dd781facf68bd3338dd2e671eeb3e8e8f33f9771
f92bbd5524cf8c110836f7df04bace27e21617b1
/src/qt/intro.cpp
80d196d8ac77f54348156cfe9c2b8b71eecb842e
[ "MIT" ]
permissive
Palem1988/beacon
da0a03672996eeeb2f68470cb0f2f2e5667e005d
c93b771b5b217180819a04cd10596857751fa8bb
refs/heads/master
2020-08-05T08:12:16.519794
2019-08-21T00:03:59
2019-08-21T00:03:59
212,460,108
0
1
MIT
2019-10-02T23:22:29
2019-10-02T23:22:21
null
UTF-8
C++
false
false
9,024
cpp
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 LightPayCoin developers // Copyright (c) 2018 The Beacon developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYIN...
[ "41976657+beaconcrypto@users.noreply.github.com" ]
41976657+beaconcrypto@users.noreply.github.com
9d75c83ee622de3ac9f24781a1db7a07cc0f063e
0b9dbf22cc813e88e66bee173ac1a4c768525c5d
/VS2017/DemoMFC03/ClassView.cpp
5aa3e71da0488cca3099c5607f47c71da831ea21
[]
no_license
smallinsect/MyCPP
bce174694444996efb721cafc46d67ab0cd9afd3
72a6d70ac955fed6a53f54462cd9edad902d45e5
refs/heads/master
2021-07-12T21:26:31.116962
2020-11-18T14:05:23
2020-11-18T14:05:23
225,051,258
0
0
null
null
null
null
UTF-8
C++
false
false
8,916
cpp
 #include "stdafx.h" #include "MainFrm.h" #include "ClassView.h" #include "Resource.h" #include "DemoMFC03.h" class CClassViewMenuButton : public CMFCToolBarMenuButton { friend class CClassView; DECLARE_SERIAL(CClassViewMenuButton) public: CClassViewMenuButton(HMENU hMenu = nullptr) noexcept : CMFCToolBarMenuBut...
[ "1161851688@qq.com" ]
1161851688@qq.com
56a2872dc9f640a236b020695086aa07f7166cf3
006ec916fe7d8059a7e7483f52947d8eaf4e2d5e
/src/cob_twist_controller.cpp
1a95630191fa0589f090769d6128f8938de576bf
[ "MIT", "Apache-2.0" ]
permissive
nbfigueroa/robot_kinematics_kdl
5ca705be07c5482085063879f16c234805df2eec
5f9db79d4a15fe09eb2f42f382aa2944131c8abe
refs/heads/master
2022-12-04T10:31:01.482591
2020-08-26T16:08:33
2020-08-26T16:08:33
268,668,440
1
1
MIT
2020-08-26T16:08:34
2020-06-02T01:05:19
C++
UTF-8
C++
false
false
32,893
cpp
/* * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA) * * 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...
[ "nbfigueroa@gmail.com" ]
nbfigueroa@gmail.com
371926a09f49cbd346c1addfa8ebcfa8f416170e
b19fab1f1617572638ab17d8fbc1a09b0fcd9ca6
/ros/ardros/srv_gen/cpp/include/ardros/SetDriveControlGains.h
22f91ee4f878e968d2313a9f78f339579bdae93d
[]
no_license
TugberkArkose/drh-robotics-ros
7cb8f64c833abdb02638536bb22df65b0199585b
7ac41fca03ac4a16d9f9f1a13f8f1fa412545311
refs/heads/master
2021-01-10T15:20:32.231512
2016-03-31T19:25:42
2016-03-31T19:25:42
55,165,932
0
1
null
null
null
null
UTF-8
C++
false
false
8,854
h
/* Auto-generated by genmsg_cpp for file /home/tugberk/drh-robotics-ros/ros/ardros/srv/SetDriveControlGains.srv */ #ifndef ARDROS_SERVICE_SETDRIVECONTROLGAINS_H #define ARDROS_SERVICE_SETDRIVECONTROLGAINS_H #include <string> #include <vector> #include <map> #include <ostream> #include "ros/serialization.h" #include "ro...
[ "tugberk@tugberk.arkose@gmail.com" ]
tugberk@tugberk.arkose@gmail.com
6f50b28b8d448cffda1f32a6cd23a13e1bee0cf7
08fae5bd7f16809b84cf6463693732f2308ab4da
/MarketDataAdapters/include/$Activ/ActivMiddleware/ActivFramework/Subjects.h
71bb08fe556275d813eb6e56e35f73efee05f5e8
[]
no_license
psallandre/IVRM
a7738c31534e1bbff32ded5cfc7330c52b378f19
5a674d10caba23b126e9bcea982dee30eee72ee1
refs/heads/master
2021-01-21T03:22:33.658311
2014-09-24T11:47:10
2014-09-24T11:47:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,161
h
/** * @file Subjects.h * * @brief Header file for framework subject classes. * * $Log: $ */ #if !defined (ACTIV_FRAMEWORK_SUBJECTS_H) #define ACTIV_FRAMEWORK_SUBJECTS_H #include "ActivMiddleware/ActivSystem/Subject.h" namespace Activ { /** * @brief Endpoint subject. */ class EndPointSubject : public Subjec...
[ "alex2172@gmail.com" ]
alex2172@gmail.com
f23fcd3cd7d4719a6bfd1abe609feca19d879e3f
5e80e306f0b85d712f045b57bfb287a090831f2b
/source/Plugins/Language/ObjC/NSString.cpp
0717d6dcff905725f4b9f3c0af308c340797adf4
[ "NCSA" ]
permissive
mkurdej/lldb
238a28eb833028655e2eb069c33f00952d612771
aefaad0117e74eae15110d9b29cf3f28f05c9610
refs/heads/master
2020-05-30T13:25:31.411483
2015-10-07T10:02:24
2015-10-07T10:02:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,328
cpp
//===-- NSString.cpp ----------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------...
[ "egranata@apple.com" ]
egranata@apple.com
0f781199f822a136df02bfc738ec23cab4550c40
74837c92508b3190f8639564eaa7fa4388679f1d
/xic/include/cd_database.h
d6519643c9c379c70d2880b80f6bdb544e4312d1
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
frankhoff/xictools
35d49a88433901cc9cb88b1cfd3e8bf16ddba71c
9ff0aa58a5f5137f8a9e374a809a1cb84bab04fb
refs/heads/master
2023-03-21T13:05:38.481014
2022-09-18T21:51:41
2022-09-18T21:51:41
197,598,973
1
0
null
2019-07-18T14:07:13
2019-07-18T14:07:13
null
UTF-8
C++
false
false
12,008
h
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
[ "stevew@wrcad.com" ]
stevew@wrcad.com
89642c0c77e08e73fcda4df2e04af279c5f9cd97
728e57a80995d7be98d46295b780d0b433c9e62a
/src/prediction/predictor.cc
c91cb223c490892a8a20dc7e3d5b091f06cb978c
[ "Apache-2.0", "MIT", "BSD-3-Clause", "GPL-1.0-or-later" ]
permissive
SNQ-2001/Mozc-for-iOS
7936bfd9ff024faacfd2d96af3ec15a2000378a1
45b0856ed8a22d5fa6b4471548389cbde4abcf10
refs/heads/master
2023-03-17T22:19:15.843107
2014-10-04T05:48:29
2014-10-04T05:48:42
574,371,060
0
0
Apache-2.0
2022-12-05T06:48:07
2022-12-05T06:48:06
null
UTF-8
C++
false
false
9,691
cc
// Copyright 2010-2014, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
[ "kishikawakatsumi@mac.com" ]
kishikawakatsumi@mac.com
b1b703cb3bd25fa2aaaf738840e5c028118b0d48
124b6c49ea404b24b4a0f149298f4dfffd457f32
/lab4/closure.cpp
48b40a7c6b5c44cd9e72d7474a2c895767d808d4
[]
no_license
BlaskoEric/CSE570-Compilers
7f1172d9534025180ad2e16b74fe9cb67ea9092a
a42b4d15e9780d6bd26032273d31322ede9136b8
refs/heads/master
2020-06-05T11:45:23.953748
2019-06-18T16:28:47
2019-06-18T16:28:47
192,427,814
1
0
null
null
null
null
UTF-8
C++
false
false
18,058
cpp
/******************************************************************* * Name : Eric Blasko * Lab : Lab 4 * Date : 3/4/2019 * Title : Cannonical LR(0) continuation * Description : This program reads in a grammar and parses the * grammar to produce the first, follows, ...
[ "dcs8ter2000@gmail.com" ]
dcs8ter2000@gmail.com
5016a1a5b9b99f276ff2d03c49077989c906b4c5
9c4f49ce0276c6c7f85556c0fa3906fb348225ca
/main.cpp
49aa207076f4d1908d8de95d24a655434827ebb3
[]
no_license
WoShiAPei/CGHomeWork
2af692236efcf8e6feff36fe088e1fd6d62ae2df
41160469c7ffa671b1e8129aff6bdc7c5bad272c
refs/heads/master
2023-05-18T03:15:25.502152
2021-06-07T13:37:14
2021-06-07T13:37:14
374,675,344
0
0
null
null
null
null
UTF-8
C++
false
false
788
cpp
#include <QApplication> #include <QGraphicsScene> #include <QGraphicsView> #include "myitem.h" #include <QPropertyAnimation> #include <QPushButton> int main(int argc, char* argv[ ]) { QApplication app(argc, argv); QGraphicsScene scene; scene.setSceneRect(-200, -150, 400, 300); MyItem *item = new MyItem...
[ "237146048@qq.com" ]
237146048@qq.com
38d636b2c5ad870a6932862b7a7e2c6fcb6284ca
96435a3933f0e45dd9703adc5091d7f974450529
/src/GameServer/DBAgent.cpp
dbe406bbb000537b2c49b7ca2e6e6a1ab25e8697
[]
no_license
omear/akuma-koserver
d3c7fb185927a8f6ad349bbfaee08c28f8d38d7f
75fa02e0224e748a532e7bf85765f320b0e73371
refs/heads/master
2020-04-11T02:58:10.735732
2015-12-25T16:44:38
2015-12-25T16:44:38
51,509,846
1
2
null
2016-02-11T11:13:31
2016-02-11T11:13:30
null
UTF-8
C++
false
false
56,888
cpp
#include "stdafx.h" #include "../shared/database/OdbcConnection.h" #include "KnightsManager.h" #include "DBAgent.h" CDBAgent g_DBAgent; using std::string; using std::unique_ptr; CDBAgent::CDBAgent() { m_GameDB = new OdbcConnection(); m_AccountDB = new OdbcConnection(); } CDBAgent::~CDBAgent() { delete m_GameDB; ...
[ "andersonpp9@hotmail.com" ]
andersonpp9@hotmail.com
7df1ba89e63f78f413dda9f702c3a0c0219ddb47
a6366bdc973aede756c44975003e9153e1f9bf94
/copytextobject.cpp
3c3bed345956e616acf12802251a4b83dd32dddd
[]
no_license
poohia/poohia_clipboard
df34f6a361302f1e07d840a64866aa1d4514b347
7084aeefa6b5203ef43ce243b7264b1c048a1fc2
refs/heads/master
2020-07-19T05:13:00.576017
2018-03-22T12:50:01
2018-03-22T12:50:01
94,333,115
0
0
null
null
null
null
UTF-8
C++
false
false
543
cpp
#include "copytextobject.h" copyTextObject::copyTextObject(QString value, QObject *parent) : QObject(parent), _maxCaract(30) { this->_value = value; this->createResumeValue(); } void copyTextObject::sendToPaste(QClipboard *clipboard) { clipboard->setText(this->_value); } void copyTextObject::crea...
[ "jordan azoulay" ]
jordan azoulay
863e9e958ca7f8c79602a3e2199576f274412117
4f37081ed62e44afa0b2465388a8adf9b5490b13
/chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api.cc
aaccd1ab4ed602da375ceff9c55946748a388870
[ "BSD-3-Clause" ]
permissive
zowhair/chromium
05b9eed58a680941c3595d52c3c77b620ef2c3ac
d84d5ef83e401ec210fcb14a92803bf339e1ccce
refs/heads/master
2023-03-04T23:15:10.914156
2018-03-15T11:27:44
2018-03-15T11:27:44
125,359,706
1
0
null
2018-03-15T11:50:44
2018-03-15T11:50:43
null
UTF-8
C++
false
false
16,906
cc
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api.h" #include <algorithm> #include <string> #include <utility> ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
120c0fc114e40b93091eb4283869c9d17c085bb9
14edb3491718f55ac4faddbeeb804a18496d7b68
/src/crypto/hkdf_sha256_32.h
a72ac28ee49579c69d818a30e90875a790788166
[ "MIT" ]
permissive
freelancerstudio/Danecoin
712f361abdf2a635f86ea9be7e8a0f63a419437d
73d21d335c11a8966c995b7e8c520c2b55695c04
refs/heads/main
2023-07-03T04:22:05.076216
2021-08-16T17:43:48
2021-08-16T17:43:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
784
h
// Copyright (c) 2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DANECOIN_CRYPTO_HKDF_SHA256_32_H #define DANECOIN_CRYPTO_HKDF_SHA256_32_H #include <crypto/hmac_sha256.h> #include <stdi...
[ "36169687+blockinator@users.noreply.github.com" ]
36169687+blockinator@users.noreply.github.com
63c45f23a39ca714290c792e67b678a32879b55f
22b09c3de3728ebb204c38454c4b1cecaca31fed
/Roguelike/PickupDef.h
1f39d98008b9e853a42812869c2e4e062814ada0
[]
no_license
afulsom/Roguelike
33d115718ea166505268b8402d5723bd1c0f792b
62d7fe3f3bf39da169baf7c95bfc1537f358f4ab
refs/heads/master
2016-08-12T07:39:18.867188
2015-10-02T19:45:11
2015-10-02T19:45:11
43,571,399
0
0
null
null
null
null
UTF-8
C++
false
false
576
h
#include "stdafx.h" class PickupDef { private: int tile; std::string name; bool isEquip; bool spell; std::string description; int quality; int type; int value; int manaCost; public: PickupDef(); PickupDef(int, std::string, int, std::function <void()>, std::string, int, int, int, int); ~PickupDef(); std::f...
[ "class@JJ202-PC25.seas-s.engr.smu.edu" ]
class@JJ202-PC25.seas-s.engr.smu.edu
ae0e2e7423fa9c06e32d95895507258724338165
55ed6b1305748eda1466c0420b8d99f43717522b
/Visual Studio 2008/MFCCOMClient/CATLExeSimpleObjectWrapper.h
d17e267460b189b41f966f31abbd4a05017334ce
[]
no_license
2mhk/All-In-One-Code-Framework
de53599dd599fd84a9d6a21421336633153bd67e
cf711261c52d51d1c9e903d2395d7f200b392743
refs/heads/master
2022-03-01T21:15:02.668420
2019-09-13T14:59:40
2019-09-13T14:59:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,330
h
// Machine generated IDispatch wrapper class(es) created with Add Class from Typelib Wizard #import "ATLExeCOMServer.exe" no_namespace // CATLExeSimpleObjectWrapper wrapper class class CATLExeSimpleObjectWrapper : public COleDispatchDriver { public: CATLExeSimpleObjectWrapper(){} // Calls COleDispatchDriver ...
[ "jdm7dv@gmail.com" ]
jdm7dv@gmail.com
1b8346620a8e6a878bfcd69c3faa657381e74392
cfbe32d3c679487610e0a8e924c33ab6aa64f3d1
/topcoder/programs/TheMatrix.cpp
844c0f0404063c60b217fbe50f44df5bc1295742
[]
no_license
hophacker/algorithm_coding
6062fafd00e276baeb5ef92198c6c1dab66b6184
bfc9a124ed21eabf241590b90105427f0a2b6573
refs/heads/master
2020-06-04T00:41:25.378594
2014-07-07T00:50:35
2014-07-07T00:50:35
18,478,412
5
1
null
null
null
null
UTF-8
C++
false
false
11,102
cpp
// PROBLEM STATEMENT // Have you ever had a dream, that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world? To answer this complex puzzle, one of the questions that must be answered is to find out whether the world th...
[ "jokerfeng2010@gmail.com" ]
jokerfeng2010@gmail.com
53b5e9859b2b0bc4b2f057f348b7600e720e5d48
c5481fefeed5f19fe9ac8d005ce5f67bfd61ff0a
/bftengine/src/bftengine/TimeServiceManager.hpp
46d19c086e41d187c14ea55a707d80aaf0ba2346
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
salieri11/concord-bft
36ef0e7ce048c5ccb84df5aa052ebec0a85a5454
189d78bffe27ba31f5fe88121d356735a90258dd
refs/heads/master
2021-11-04T04:57:59.278758
2021-11-01T12:12:17
2021-11-01T12:12:17
155,085,420
0
0
NOASSERTION
2021-04-28T17:09:43
2018-10-28T15:24:43
C++
UTF-8
C++
false
false
7,139
hpp
// Concord // // Copyright (c) 2018-2021 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in // compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyrig...
[ "dmitry.b.danilov@gmail.com" ]
dmitry.b.danilov@gmail.com
4b088371eb09a46681d55fef2c75b984b045b719
e18f79365551beeb67ed9a1e7f82a90650333905
/Three.cpp
f0d3ff0843c6cf9e6ef83cbb88ecd6b410ba97ce
[]
no_license
palyamate/ModernCpp
9601807800e5c4e5f83b137a268c1c50ed8aaff7
7f2ce5ccef821a0cf727edf9e9d58328be984cf9
refs/heads/master
2020-05-27T10:13:58.575607
2019-05-25T15:20:17
2019-05-25T15:20:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
723
cpp
#include <iostream> template <size_t B, size_t E> struct Pow { static constexpr size_t value = B * Pow<B, E - 1>::value; }; template <size_t B> struct Pow<B, 0> { static constexpr size_t value = 1; }; template <char H, char... A> struct Three { static constexpr size_t value = Three<H>::value * Pow<3, siz...
[ "33262622+matt180@users.noreply.github.com" ]
33262622+matt180@users.noreply.github.com
0dc18efccb36587ec639c2a7fb5f229b8a1b8394
17e8b775ec28c774857919b8df957145adf2e606
/codeforces/Many-Equal-Substrings.cpp
f627de3e87edfd2efbba8a3b22e90fc5cc988e9d
[]
no_license
chamow97/Competitive-Coding
30b5acc77d51207c55eca91b8da161d80a3fbfab
8f2d8a1ca6881dbde9c75735240d4e4f681e0138
refs/heads/master
2021-04-28T21:40:05.294842
2019-09-15T13:25:59
2019-09-15T13:25:59
77,766,905
5
0
null
null
null
null
UTF-8
C++
false
false
2,353
cpp
//template by chamow #include<bits/stdc++.h> /*-------------------------------------------------------- */ using namespace std; /*-------------------------------------------------------- */ #define rep(i,val,n) for(int i=val;i<n;i++) #define per(j,val,n) for(int j=val;j>=n;j--) #define pb push_back #define pi 3.14157...
[ "jchandramowli15039@it.ssn.edu.in" ]
jchandramowli15039@it.ssn.edu.in
11bba556dc2053320a17bd24b34968a7a539dae5
095b7832c29a9225b83f9f4ff8355ef6a6543b0d
/Searching & Sorting/ArithemeticNumber.cpp
3e0d6b15c1c22e6b3480f02307696dc362fc6729
[]
no_license
I-Venkatesh/Data-structures-and-algorithms
a459b2a45fe0b5d2399e4f287bb83ea5d1742fac
0d05ee80d0e6dd5f376b843975f3c70abac1457f
refs/heads/master
2023-08-13T20:19:52.214023
2021-09-11T14:36:30
2021-09-11T14:36:30
323,447,201
0
0
null
null
null
null
UTF-8
C++
false
false
395
cpp
#include <bits/stdc++.h> using namespace std; int ans(int A, int B, int C) { if (A == B) { return 1; } if (C != 0) { int rem = (B - A) % C; if (rem == 0 && ((B - A) < 0 && C < 0 || (B - A) > 0 && C > 0)) { return 1; } } return 0; } int main...
[ "venkatesh.i18@iiits.in" ]
venkatesh.i18@iiits.in
167d1d63e2a8e6c20c43d062780d42689e97e27e
3c4669af972aa8f27d41365d5a08ed1cc372d1a3
/arrlistlib/ArrList.h
81354972816b4cd50c1a45252b17efe31710d691
[]
no_license
Zhigulyaka/lab6
26d39787fcfe803835c67eba24aae5fda5d69f20
bd482abb064ae9b3f80ce2e218a0fe1e74f96104
refs/heads/main
2023-02-05T07:41:33.372209
2020-12-20T15:31:10
2020-12-20T15:31:10
320,697,632
0
0
null
null
null
null
UTF-8
C++
false
false
9,944
h
#pragma once #ifndef _ARRLIST_ #define _ARRLIST_ #include <iostream> using namespace std; template <class T> class ArrListIterator; template <class T> class ArrList { protected: T* data; int* links; int size; int count; int root; public: ArrList(int _size); ...
[ "noreply@github.com" ]
Zhigulyaka.noreply@github.com
12e63bba10ced7734f5d047932fe9b5762320850
d3ab36e3bf8103950b0c90900ac4e9ded22f5ff2
/src/checkpoints.cpp
8c2193b87d64e38d9d4825cb3ca78c7d03ebf0a4
[ "MIT" ]
permissive
wizzywealth/tabscoin
083bd73a390ce49849e38e032db43ceb733034c0
037698d7cd19dfe7a29e6ad97a518c5605e15405
refs/heads/master
2020-03-23T09:00:56.249997
2017-05-29T07:19:03
2017-05-29T07:19:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,825
cpp
// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints.h" #include "t...
[ "admin@coin.com" ]
admin@coin.com
877d103668be6a681b92f2bc4ac122fd45badcde
3d6c56f8ee8eaf9766b5c18607981d2a15a5fae3
/functions/common/cfgFunctions.hpp
f00f7c732bdcc399d6ddec82dd8510d3da98869f
[]
no_license
gruppe-adler/CO_introCamTest.Altis
e17300fc2191625ce918d00a53f31e763cfbb43f
1b45aa9f1109dbce8a3fead6bbc45677ae53ed20
refs/heads/main
2022-12-31T22:48:01.191954
2020-10-20T19:15:37
2020-10-20T19:15:37
305,002,386
0
0
null
null
null
null
UTF-8
C++
false
false
122
hpp
class GRAD_common { class common { class addJipToZeus {}; class restrictedArsenal {}; }; };
[ "noreply@github.com" ]
gruppe-adler.noreply@github.com
344f6f828cc532d55cb9d3c001ce95bd987750f7
9ba05deb234788033186fc7df210d33192384a15
/text.cpp
67754bfeffaec0ac9758862ab726e3ee2159309d
[]
no_license
yixu34/RefuseRobots
29e63caaf831b171c10b2a38efcacd3b6c86ce75
27a6442954ffe2a68ed7094af420ee4ab152c337
refs/heads/master
2021-01-21T13:07:40.301751
2012-08-02T23:28:37
2012-08-02T23:28:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,837
cpp
#include "main.hpp" #include <SDL_ttf.h> #include "logger.hpp" ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // Cached rendering of a string struct TextCache { TextCache(std::string text, const Tex...
[ "yi@tinyfunstudios.com" ]
yi@tinyfunstudios.com
52e877dbe2f698d8913be112071838b4b09c5050
93eae8b5e1943fdf9d60f9a71bcfcceb9cdbd733
/tin/runtime/p.h
0836bf9c35901e39760efe33d6ed9efe585a54f4
[ "BSD-2-Clause" ]
permissive
cloudpeak/tin
c68d3393573323b97f861e6f792e071f53d6e913
dc7f8b13c89281105b594e047f6678ef95bd5c2a
refs/heads/master
2023-01-28T16:26:22.248945
2023-01-07T19:28:50
2023-01-07T19:28:50
71,595,713
19
3
null
null
null
null
UTF-8
C++
false
false
1,976
h
// Copyright (c) 2016 Tin Project. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include "base/basictypes.h" #include "tin/runtime/util.h" #include "tin/runtime/guintptr.h" namespace tin { namespace runtime { c...
[ "mycloudpeak@outlook.com" ]
mycloudpeak@outlook.com
e2ac8c3e862677afca44e87a01e6d0df16ffb7ba
2efbd55f9c7f39bddc1348f3a9d38a8f05d0644a
/plugins/eeui/WeexSDK/ios/weex_core/Source/core/parser/action_args_check.cpp
9f133d3136051dffcfe8eaf254733d7a5246eab6
[ "MIT" ]
permissive
bonniesl/yktapp
23b05cc53214269bf1d792dcf41993b425bfe470
3f96b7aad945e9aa110f0643d9a57e28d0645ab6
refs/heads/master
2023-03-27T04:27:14.921221
2021-03-25T06:29:16
2021-03-25T06:33:12
351,330,677
0
0
null
null
null
null
UTF-8
C++
false
false
2,222
cpp
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
[ "1336429771@qq.com" ]
1336429771@qq.com
17ad61bf16d71ee95c37e9eb2aaa707127761bda
f0be8b268cb4405a9d40a1ea943a5352018173bb
/066 Plus One.cpp
a745b3336ff0f9dcdcfa3c41f5ae251d0057e850
[]
no_license
iroot900/Algorithm-Practice-300-Plus
1b2cdce48104dec540e045dfcab6290fefe60e4b
5b97c69c991d2b2f330d7b667e79dd32b53e44f5
refs/heads/master
2020-07-10T21:34:39.125332
2015-09-01T21:40:20
2015-09-01T21:40:20
36,990,843
0
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
class Solution { public: vector<int> plusOne(vector<int>& digits) { int n=digits.size(); int carry=0; int digit=0; vector<int> result(n,0); if(n==0) { result.push_back(1); return result; } result[n-1]=(digits[n-1]+1)%10; carry=(digi...
[ "iroot900@gmail.com" ]
iroot900@gmail.com
967cee8d3eb146b7a2f97be39db6c8332e9efeb9
245da92fba8d6613f915ad674faf236bbdcefb99
/common/src/MyTimer.h
69946f6772b996625226f2e95dbf297e19363671
[]
no_license
EdenGEM/PPView
f1ab8db77aa6e3933dc7c565c9bfd5cdf1bd0f00
23266d2cbc09d38026e41bccd92bdc697acd111e
refs/heads/master
2021-01-24T20:41:27.575340
2018-12-16T09:57:28
2018-12-16T09:57:28
123,258,410
0
0
null
null
null
null
UTF-8
C++
false
false
448
h
#ifndef __MY_TIMER_H__ #define __MY_TIMER_H__ namespace MJ{ //用来计时的类 class MyTimer{ private: struct timeval _b; struct timeval _e; public: MyTimer(){ gettimeofday(&_b,NULL); } void start(){ gettimeofday(&_b,NULL); } int cost(){ gettimeofday(&_e,NULL); return...
[ "caoxiaolan@mioji.com" ]
caoxiaolan@mioji.com
dbae453d7bb419a01b250d67800e2d87be185655
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE194_Unexpected_Sign_Extension/s02/CWE194_Unexpected_Sign_Extension__rand_memcpy_83_bad.cpp
251cf232aa628a8673cd7875b077db25aec61ed5
[]
no_license
junxzm1990/ASAN--
0056a341b8537142e10373c8417f27d7825ad89b
ca96e46422407a55bed4aa551a6ad28ec1eeef4e
refs/heads/master
2022-08-02T15:38:56.286555
2022-06-16T22:19:54
2022-06-16T22:19:54
408,238,453
74
13
null
2022-06-16T22:19:55
2021-09-19T21:14:59
null
UTF-8
C++
false
false
1,651
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE194_Unexpected_Sign_Extension__rand_memcpy_83_bad.cpp Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml Template File: sources-sink-83_bad.tmpl.cpp */ /* * @description * CWE: 194 Unexpected Sign Extension * BadSource: rand Set data to result o...
[ "yzhang0701@gmail.com" ]
yzhang0701@gmail.com
a72f9fc27e7fd69cc8da21d1e22e83d7d3e3dd45
e0a25e4cc4e45d5190af4be59f585c869cd8d3ec
/cs561_hw1/primitive.cpp
f95bc84a8c9fc5fe1b410c7a1101a5f629308708
[]
no_license
HC-Mark/Graphics
1cef2ab965c6c28c13b72c82d9b3d48a64910cd7
0397e79cf5bc697e98f1e137e9669102f1a6f2b6
refs/heads/master
2020-04-21T09:12:03.622731
2019-02-07T02:29:49
2019-02-07T02:29:49
169,441,207
0
0
null
null
null
null
UTF-8
C++
false
false
363
cpp
#include "primitive.h" bool Primitive::getIntersection(const Ray& r, Intersection& i) { //call the shape stored in this primitive to check intersection if(intersectable->getIntersection(r,i)){ //we can't assign primitive to the intersection in a shape, so we do it here i.objectHit = this; ...
[ "txu1@haverford.edu" ]
txu1@haverford.edu
e854bc04adcaa32c131a2d5f53015cb2023f9e98
ffc7f609fd4bc20cc4dbc62ea8ff76b82edf722b
/Session10/Lab10_1.cpp
2ad2eb90e9c4368a07387293d3509feca279f56a
[]
no_license
hoatq-fptaptech/T2104E_LBEP
ca5cdb1191770591483273ba99925919395cde24
ce29ee7872f80cbae30afb22909af09ea921c033
refs/heads/main
2023-05-14T12:38:01.380979
2021-06-03T13:00:57
2021-06-03T13:00:57
367,019,587
0
2
null
null
null
null
UTF-8
C++
false
false
486
cpp
#include <stdio.h> #include <string.h> int main(){ char s[50]; printf("Nhap vao chuoi: "); scanf("%s",s); int a,e,i,o,u,k; a = e = i = o = u = k = 0; for(int j=0;j<strlen(s);j++){ switch(s[j]){ case 'a':a++;break; case 'e':e++;break; case 'i':i++;break; case 'o':o++;break; case 'u':u++;break; ...
[ "hoatq4@fpt.edu.vn" ]
hoatq4@fpt.edu.vn
5061c42d58563137a693a1cb2e61f4ed90a62cd3
9c046eeda11be532cc0017e6da316e7ddfd16283
/Telecomm/SharedLib/UpdateShareLib/include/updatesharelib.h
dfab4232dccd91b58c0e8f5c5e7ade33e1b1b358
[ "BSD-3-Clause" ]
permissive
telecommai/windows
83cd3ac4dec7742c6e038689689ac7ec9cde842a
30e34ffe0bc81f39c25be7624d16856bf42e03eb
refs/heads/master
2023-01-12T02:10:59.904541
2019-04-23T11:42:07
2019-04-23T11:42:07
180,726,308
3
0
BSD-3-Clause
2023-01-03T19:52:20
2019-04-11T06:12:20
C++
UTF-8
C++
false
false
960
h
#ifndef UPDATESHARELIB_H #define UPDATESHARELIB_H #include <QDebug> #include <QJsonDocument> #ifdef Q_OS_WIN #include <Windows.h> #include <shlwapi.h> #include "zlib\zip_util.h" #else #include "updatewidget.h" #endif #include <QApplication> #include "messagebox.h" #include "httpnetworksharelib.h" #incl...
[ "wow218@126.com" ]
wow218@126.com
72503c629ea0a0b2193cfed8ac881ab86ae15bfa
12414972dc128994864cfb984f215c1031f23a59
/cpp2016/boxlayout/boxlayout.cpp
9c84fdf7006996311397d9ce63d47dfa09a19f99
[]
no_license
tomamic/paradigmi
9287fd1ad99a738f78fdd2e777afe236d5e62b61
1f0df892cb6ab70b6bedbcc56e12300b4a38a631
refs/heads/master
2023-05-25T05:54:12.367865
2023-05-18T09:45:45
2023-05-18T09:45:45
123,184,052
3
2
null
null
null
null
UTF-8
C++
false
false
229
cpp
#include "boxlayout.h" BoxLayout::BoxLayout() { } void BoxLayout::add(Box* box) { boxes_.push_back(box); } int BoxLayout::sum_areas() { int area = 0; for (auto box : boxes_) area += box->area(); return area; }
[ "tomamic@ce.unipr.it" ]
tomamic@ce.unipr.it
51bb6176ed1643e41e402ee253d1380ac691b4d8
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2749486_0/C++/mark2222/R1CQB.cpp
8ebe3aa45ad1204a58279e302b6d6539d9f6c3cf
[]
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
742
cpp
#include<cstdio> #include<vector> using namespace std; int minmoves[101][101]; vector<int> xs[2],ys[2]; int main(){ freopen("R1CQB.in","r",stdin); freopen("R1CQB.out","w",stdout); int numcases; scanf("%d",&numcases); for(int ccase=0;ccase<numcases;ccase++){ int cx,cy; sca...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
0f4a6515f045d3771a8bc36e95dcef2ecc99b6e7
eef97c8f93bfad6d5e33c40cde15674585a65385
/arduino/DHT_logger/DHT_logger/DHT_logger.ino
85aeeec4a391b4af0e6b88adc9b61d021de85351
[]
no_license
dingdinglhz/code
4f910d248f40e1b49c8d9a898e4d5c2e4b652984
dbb7ce6c350a6524c16aba76230751d95fc21103
refs/heads/master
2021-01-17T12:08:45.521852
2014-08-26T01:53:00
2014-08-26T01:53:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,326
ino
#include <DHT.h> #include <OneWire.h> #include <DallasTemperature.h> #include "U8glib.h" DHT dht; OneWire oneWire(2); DallasTemperature sensors(&oneWire); U8GLIB_MINI12864 u8g(10,9,7); float temp; char tmp[7]="T=__._"; void u8g_prepare(void) { u8g.setFont(u8g_font_6x10); u8g.setFontRefHeightExtendedText(); u8...
[ "dingdinglhz@gmail.com" ]
dingdinglhz@gmail.com
614a4d15e18a4285cf54efd2abaa831d31341c03
3438e8c139a5833836a91140af412311aebf9e86
/ash/common/mojo_interface_factory.cc
e4384fef951d561d0f2334d9a56afb3d4bb5188f
[ "BSD-3-Clause" ]
permissive
Exstream-OpenSource/Chromium
345b4336b2fbc1d5609ac5a67dbf361812b84f54
718ca933938a85c6d5548c5fad97ea7ca1128751
refs/heads/master
2022-12-21T20:07:40.786370
2016-10-18T04:53:43
2016-10-18T04:53:43
71,210,435
0
2
BSD-3-Clause
2022-12-18T12:14:22
2016-10-18T04:58:13
null
UTF-8
C++
false
false
1,313
cc
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/common/mojo_interface_factory.h" #include "ash/common/shelf/shelf_controller.h" #include "ash/common/system/tray/system_tray_controller.h" ...
[ "support@opentext.com" ]
support@opentext.com
9ef1de994deec59bf6ed5f692d301204e2903d72
c7f3db94cc3d69cd9a2ae24aa3c69cd767b28672
/must_rma/src/externals/GTI/modules/utility/Bitset.cpp
d377d8141be6e7909a1aa658735158563e0a8dd4
[]
no_license
RWTH-HPC/must-rma-correctness22-supplemental
10683ff20339098a45a35301dbee6b31d74efaec
04cb9fe5f0dcb05ea67880209accf19c5e0dda25
refs/heads/main
2023-04-14T20:48:36.684589
2022-08-10T20:28:43
2022-11-18T03:33:05
523,105,966
0
0
null
null
null
null
UTF-8
C++
false
false
1,551
cpp
#include <array> #include <cstring> #include <iostream> #include <memory> #include <sstream> #include <vector> // source: http://c-faq.com/misc/bitsets.html #include "Bitset.h" // TODO: redo this with function templates void AbstractBitset::set(const int* idx_set, size_type size) { for (size_type i = 0; i < size;...
[ "schwitanski@itc.rwth-aachen.de" ]
schwitanski@itc.rwth-aachen.de
96f760a88c943d5bc4c9466d9f2ab8e4f64bc712
8d2a6dda5278193435a2569b7d018bbfc329b262
/tema1_var1_prob3_c.cpp
2b50fbc429efbe8770849dd0626aeab2d935769d
[]
no_license
VersinMihaela/TAP
c56c3553f88129e88ce45e47d9cc90a8d8915535
2661d687e99d3aeed60f269cab0a47dd135cb20d
refs/heads/master
2021-07-19T14:12:33.443896
2017-10-29T19:08:01
2017-10-29T19:08:01
106,435,918
0
0
null
null
null
null
UTF-8
C++
false
false
3,043
cpp
#include <iostream> #include<fstream> #include<stack> using namespace std; ifstream f("date.in"); ofstream g("date.out"); //cautare binara ca sa gasesc indicele stivei in care ar trebui inserat elementul de la pasul curent int caut(int s, int d,stack<int> *stiva,int x) { if(s>d) return d+1; else...
[ "noreply@github.com" ]
VersinMihaela.noreply@github.com
fbec6f4f37af256391e93b588daace145a5f4415
c6dc686b91093c09e56091b281c6a25d1eea988c
/Wifi-Single-Dimmer-Board/Arduino_Code/BA004-Wifi_Single_Dimmer_Board/Wifi_single_dimmer_tasmota/sonoff_betaV0.3/xsns_34_hx711.ino
dc740860ccd7b5f46b8e7a56c893faa308f36396
[]
no_license
armtronix/Wifi-Single-Dimmer-Board
1670cb8ae6c76177d6bae707bdf7b0f98d98ac24
7061c79366b12138e4d19d86fa2aac5f200622f0
refs/heads/master
2021-07-20T15:36:39.941226
2021-07-17T11:07:57
2021-07-17T11:07:57
107,936,227
6
9
null
null
null
null
UTF-8
C++
false
false
17,430
ino
/* xsns_34_hx711.ino - HX711 load cell support for Sonoff-Tasmota Copyright (C) 2018 Theo Arends 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 version 3 of the License, or (at ...
[ "info@armtronix.net" ]
info@armtronix.net
66495011d6272220b4466c873ab1be73749b7b3c
2daa45fdb5b08c8c28bece9118c90a7571a61781
/libs/vr/libvrsensor/include/private/dvr/sensor_constants.h
8fa87b39a0a10c5cc9ed8d4ed1ce8afbf8fba3fd
[ "LicenseRef-scancode-unicode", "Apache-2.0" ]
permissive
phhusson/platform_frameworks_native
526a1e0f5e4fb8c5af809988b579f79423a7f5b9
a053e536166adf63e68dfb3c31adcc0e7aaa81db
refs/heads/android-vts-8.0_r4-phh
2022-10-13T08:59:21.688662
2018-05-14T15:32:24
2018-05-14T15:32:24
116,317,490
8
23
NOASSERTION
2022-09-17T12:08:11
2018-01-04T23:25:30
C++
UTF-8
C++
false
false
781
h
#ifndef ANDROID_DVR_SENSOR_CONSTANTS_H_ #define ANDROID_DVR_SENSOR_CONSTANTS_H_ namespace android { namespace dvr { // Number of elements in the async pose buffer. // Must be power of two. // Macro so that shader code can easily include this value. #define kPoseAsyncBufferTotalCount 8 // Mask for accessing the curre...
[ "jwcai@google.com" ]
jwcai@google.com
dd6de7001b454615d86f8b485e8ec0afcbba2c2c
9230e0d3e101983c2d260e9a3ed210d88496841c
/test/support/long_event.h
5c60e1f0a79051b5db3e1dca5f57093b92b15ac2
[]
no_license
arnoud67/disruptorcpp
a4d57dc7e2a920e39e2d05c8a5ef1443ed2b3eb7
0862f793cb79aaf17767a561c6579e4e6dc904a5
refs/heads/master
2020-07-19T01:13:31.698617
2013-09-04T05:17:54
2013-09-04T05:17:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
504
h
#ifndef DISRUPTOR_TEST_LONG_EVENT_H_ #define DISRUPTOR_TEST_LONG_EVENT_H_ class LongEvent { public: LongEvent(int64_t value = 0) : value_(value) { } int64_t value() const { return value_; } void set_value(int64_t value) { value_ = value; } private: int64_t value_; }; class LongEventFactory { public...
[ "serious33@yandex.ru" ]
serious33@yandex.ru
2e81633750f494a169d5401f3ef30f9eb6db5f9a
f8d6e1deb17b450906ac356d9af4c47f8aa60bf4
/QuadTestDriver.cpp
48e3e6d2f0b97a4fd2167d460933cdecf59e381c
[]
no_license
NishantSaini93/ADT_Implementation_Quad
cce7cb0ed3b53532ee672c585b8f264b4740ce3c
2fdce4a987a678c896cbb3c0eb2b90dbd28f895f
refs/heads/master
2020-06-24T17:33:35.740594
2019-07-26T14:42:27
2019-07-26T14:42:27
199,031,466
0
0
null
null
null
null
UTF-8
C++
false
false
5,327
cpp
#include <iostream> #include <iomanip> #include <string> #include <limits> #include <cassert> #include "Quad.h" using std::cout; using std::endl; /* Tests class Quad. Specifically, tests constructors, compound assignment operator overloads, basic arithmetic operator overloads, unary +, unary -, pre/post-increment/decr...
[ "nishantsainins@outlook.com" ]
nishantsainins@outlook.com
73f782a735d79f4a3f7a00635c59eeba9ae58c01
26e02f9806aa384eaa6c8c5a6f600453c373f18e
/LearningToDrive/Intermediate/Build/Win64/UE4Editor/Inc/LearningToDrive/SpawnPassengers.gen.cpp
f650f5bafeffaf238d7c89d5fd747ec545a480b3
[]
no_license
TasGames/LearningToDrive
524fc090bebe2823cdc530e6b071a8ad71e49535
0fd7568b2dca6c7a3b25792e5d8467dfa18bf646
refs/heads/master
2021-10-04T05:06:12.464541
2018-12-03T04:23:38
2018-12-03T04:23:38
158,446,773
0
0
null
null
null
null
UTF-8
C++
false
false
11,412
cpp
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==========================================================...
[ "thomas.simon@btopenworld.com" ]
thomas.simon@btopenworld.com
4c3364e963802a429cb5d38a171aa5a6c09a55af
bbcf7f564eb25a2a11085aeec9c3236431efbfbe
/CVProcessor/OutputWriter.cpp
7b2db0a84ca4644761c07701b7bbd19a378ef545
[]
no_license
gregoryjjb/cs160
8e178c051162e7ab92df582f41d6df4af29c9b87
f180df082d8cec7f147d97ef400b28dbc337c277
refs/heads/master
2021-09-14T10:34:01.627146
2018-05-11T19:49:25
2018-05-11T19:49:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,309
cpp
#include <sstream> #include <iomanip> #include "OutputWriter.h" #include "json.hpp" using nlohmann::json; OutputWriter::OutputWriter() : m_enabled(true), m_mutex(), m_stdout(NULL), logLevel(LogLevel::Data) { } void OutputWriter::setEnabled(bool value) { // Start critical section { s...
[ "dean@deanljohnson.com" ]
dean@deanljohnson.com
7a7664d711d1aeeac200daef4fa76ced84f5b4fc
1e0e391b27703e93723ca43a69c882a2f15e385d
/HeatTransient/case3D/2.2/uniform/time
882ab4e5f392f45b647a2bb0310e448c9ee112fd
[]
no_license
curiousTauseef/openFOAM
b95411a1dbe323cb5fa258a3b67342f321524fa8
04801f91044670787df35a85b22a4fb815f7617f
refs/heads/master
2022-11-25T10:43:03.128319
2020-08-01T02:08:10
2020-08-01T02:08:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
925
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | ...
[ "rafael.xuxubelez@gmail.com" ]
rafael.xuxubelez@gmail.com
07fc906ffc5ac50e46a7d83ccf5e2cfb15fab319
45ee32435c345790cae1f10111e37f860395f1ea
/art-extension/compiler/optimizing/extensions/passes/insert_profiling.cc
1056b60450f66a2f4014b305c96c344f73a94833
[ "Apache-2.0", "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
android-art-intel/Nougat
b93eb0bc947088ba55d03e62324af88d332c5e93
ea41b6bfe5c6b62a3163437438b21568cc783a24
refs/heads/master
2020-07-05T18:53:19.370466
2016-12-16T04:23:40
2016-12-16T04:23:40
73,984,816
9
1
null
null
null
null
UTF-8
C++
false
false
20,185
cc
/* * Copyright (C) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
[ "aleksey.v.ignatenko@intel.com" ]
aleksey.v.ignatenko@intel.com
ce73b24dd74682387cf8c25dd849c92113d71398
97fd71ca88972bbe1e446ef15a9c85e64754c20b
/src/noui.cpp
ac8b15c3db8eeebce154612523106cad7deb879c
[ "MIT" ]
permissive
StakeCenterco/StakeCenterCash
b7778d8cea4e74427e652a136ef00be4f499bdf2
2599220e654b018590830375884d34586dab51bf
refs/heads/master
2023-03-18T00:42:47.919044
2021-03-20T10:29:13
2021-03-20T10:29:13
299,020,501
4
2
null
null
null
null
UTF-8
C++
false
false
1,598
cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license...
[ "71810303+StakeCenterco@users.noreply.github.com" ]
71810303+StakeCenterco@users.noreply.github.com
e82d71135f09de4dc2f7d9f89c8fbadca2074afb
be379c5decf2b8a8a7aac102e489563ae0da8593
/extern/irrogles/source/Irrlicht/CAnimatedMeshMD2.cpp
cb055deacdd0d1ea2d1246873640cc86b011d541
[]
no_license
codeman001/gsleveleditor
6050daf26d623af4f6ab9fa97f032d958fb4c5ae
d30e54874a4c7ae4fd0a364aa92a2082f73a5d7c
refs/heads/master
2021-01-10T13:09:01.347502
2013-05-12T09:14:47
2013-05-12T09:14:47
44,381,635
1
0
null
null
null
null
UTF-8
C++
false
false
14,546
cpp
// Copyright (C) 2002-2011 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "IrrCompileConfig.h" #ifdef _IRR_COMPILE_WITH_MD2_LOADER_ #include "CAnimatedMeshMD2.h" #include "SColor.h" #include "irrMath.h" ...
[ "hongduc.pr@gmail.com" ]
hongduc.pr@gmail.com
2af3a9c78bbf935bf615e3520d8f3d770a264e9d
c537ab11f512c42b93f5072343ffdf20c37bd833
/Source/UnrealSFAS/Minimap.cpp
ad0008cd8826f83034041123837f3349de5b4242
[]
no_license
Smeurfy/MazeGenerator
57f0d28dd2526071e13a2a66090ac9550bd0ad22
f13ca53f8223ff2cdeba0746385fcd90bb541717
refs/heads/main
2023-03-06T04:48:12.811739
2021-02-21T18:04:44
2021-02-21T18:04:44
340,086,829
0
0
null
null
null
null
UTF-8
C++
false
false
198
cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "Minimap.h" UMinimap::UMinimap(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
[ "dennydenii@gmail.com" ]
dennydenii@gmail.com
2e3ab19b06369c8f3abac86a28778f4e68604873
9dc44a06c464d9c8e690bd54cd07396e40b999ad
/simu.182.16O2_geomnostra_compiled/ecr.cpp
c40e3dcc601dd02fa5e38fda166fa409847ca4e8
[]
no_license
dgasparri/infn-lnl-ibsimu
b83e48464f7cffe19c300e91dc04c87c4aef2e04
1cbd8742646eabd9e95a67991b615c2d8cd8a183
refs/heads/master
2021-09-15T03:29:11.505912
2021-08-24T02:00:55
2021-08-24T02:00:55
245,387,523
0
0
null
null
null
null
UTF-8
C++
false
false
5,531
cpp
#include <fstream> #include <iostream> #include <ibsimu.hpp> #include <error.hpp> #include <geometry.hpp> #include <dxf_solid.hpp> #include <mydxffile.hpp> #include <epot_field.hpp> #include <epot_efield.hpp> #include <meshvectorfield.hpp> #include <epot_bicgstabsolver.hpp> #include <gtkplotter.hpp> #include <trajector...
[ "553197+dgasparri@users.noreply.github.com" ]
553197+dgasparri@users.noreply.github.com
bea929fadd5b6e462767e64361220c24c6952347
fd15aaab4922ebd09dff21abea8daf86c7a91d9c
/15/char15-7.cpp
897b2aed6efd7e5a825a741390ba10aaf6c3ecd9
[]
no_license
zhweiwei/apue
ca2970d80c2cf36b60d3ed773a70a6060b236331
b719bbf766feb87b3275d7ca1f4784c2626c9997
refs/heads/master
2020-03-30T16:23:21.781994
2018-10-03T20:05:56
2018-10-03T20:05:56
151,406,372
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
#include "apue.h" static int pfd1[1],pfd2[2]; void TELL_WAIT(void){ if(pipe(pfd1) <0||pipe(pfd2) <0) err_sys("pipe error"); } void TELL_PARENT(pid_t pid){ if(write(pfd2[1],"c", != 1) err_sys("write error"); } void WAIT_PARENT(void){ char c; if(read(pfd1[0],&c,1) != 1) err_sys("read error"); ...
[ "1239218305@qq.com" ]
1239218305@qq.com
d5f2b89b6a10c72a9222b265c59ad0aaf65998ee
213b6e39caa37ba109584e6b2e7ef681b7defe7f
/ConsoleApplication1/로봇청소기.cpp
9c73b452f281a6e35c7ad27b12a3ab3895e4f869
[]
no_license
sunky0/SW_test
9e01ae00d0aea6598265b26a66542056e147a3c9
acb4c9a7e9c8ecdcbea1595e3da955f1f8286231
refs/heads/master
2020-03-08T08:06:01.739836
2018-04-15T00:43:59
2018-04-15T00:43:59
128,012,371
0
0
null
null
null
null
UHC
C++
false
false
1,598
cpp
#include "stdafx.h" #include <iostream> using namespace std; int map[52][52]; bool visit[52][52]; int N, M, Answer;//d 0북->서, 1동->북, 2남->동, 3서->남 r--,c++,r++,c-- void req(int r, int c, int d) { if (!visit[r][c])Answer++; visit[r][c] = true; if (visit[r - 1][c] && visit[r + 1][c] && visit[r][c - 1] && visit[r][c + 1]...
[ "windo3o@hanmail.net" ]
windo3o@hanmail.net
541f84dda65212b21d112317043c9046f60e918f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/10/64/6.cpp
78c3638844052bad44084021de00885eff95a1b6
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
C++
false
false
7,019
cpp
#include <iostream> #include <sstream> #include <string> #include <vector> #include <stack> #include <queue> #include <set> #include <map> #include <algorithm> #include <cstdio> #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <cassert> #include <cstdarg> #include <sys/time.h> #ifdef _...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
6c01551e21d9779f10dd29322de4859681765203
3b24a7efcde406193344c8b9b5b4dff0d4649710
/ModuleTest/small/detail/exception/throw.ixx
41248fc02d49c6fbe0fd55a9e4c02645c3025b7f
[]
no_license
HungMingWu/C-20ModuleTest
babaa07420a905399c22e8f14b140a8e69748658
2279e665ac22a61637d86a35edd330059cbf86cb
refs/heads/main
2023-08-06T12:06:26.402015
2021-09-13T13:53:06
2021-09-13T13:53:06
405,587,154
0
0
null
null
null
null
UTF-8
C++
false
false
1,189
ixx
module; #include <exception> #include <type_traits> #include <utility> export module small.exception:throw_context; #ifndef cpp_exceptions #define SMALL_DISABLE_EXCEPTIONS #endif export namespace small { /// \brief Throw an exception but terminate if we can't throw template <typename Ex> [[noreturn]] void th...
[ "u9089000@gmail.com" ]
u9089000@gmail.com
5137faf217e1477ae7a84c445577f7d7f68e9d9f
e65e6b345e98633cccc501ad0d6df9918b2aa25e
/Atcoder/Regular/100/C.cpp
2152dc069b034c8e91e6a9299bd7214a99a5e588
[]
no_license
wcysai/CodeLibrary
6eb99df0232066cf06a9267bdcc39dc07f5aab29
6517cef736f1799b77646fe04fb280c9503d7238
refs/heads/master
2023-08-10T08:31:58.057363
2023-07-29T11:56:38
2023-07-29T11:56:38
134,228,833
5
2
null
null
null
null
UTF-8
C++
false
false
473
cpp
#pragma GCC optimize(3) #include<bits/stdc++.h> #define MAXN 200005 #define INF 1000000000 #define MOD 1000000007 #define F first #define S second using namespace std; typedef long long ll; typedef pair<int,int> P; int n,k,a[MAXN]; int main() { scanf("%d",&n); for(int i=1;i<=n;i++) scanf("%d",&a[i]); for(in...
[ "wcysai@foxmail.com" ]
wcysai@foxmail.com
af6de905178d43416ac11843b092e959e9f657b2
43a54d76227b48d851a11cc30bbe4212f59e1154
/oceanus/src/v20190422/model/ResourceLocParam.cpp
d505c08aa77c4939d91af7e3e5dfb80f6664187d
[ "Apache-2.0" ]
permissive
make1122/tencentcloud-sdk-cpp
175ce4d143c90d7ea06f2034dabdb348697a6c1c
2af6954b2ee6c9c9f61489472b800c8ce00fb949
refs/heads/master
2023-06-04T03:18:47.169750
2021-06-18T03:00:01
2021-06-18T03:00:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,923
cpp
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
ca341333196b481b141eb6d1db44f2304ba037a6
6d70c258575739d06454129e165e7b1591e3f7cc
/Rational.cpp
19dd72dafdc67ff3eecee9f7ae18b6d1ca0435d7
[]
no_license
Jesse34/RationalNumbers
a9f2c612360049396a1153b713fde273cd42899c
7ebe4f887b9837b91c2f07861d7544e910d3641a
refs/heads/master
2020-05-05T08:24:54.759440
2019-04-06T17:43:36
2019-04-06T17:43:36
179,863,252
0
0
null
null
null
null
UTF-8
C++
false
false
6,159
cpp
// // Referenced this website for a method to implement normalization: // http://snipplr.com/view/42917/reduce-a-fraction-to-lowest-terms/ // #include "Rational.h" using namespace std; Rational::Rational() { this->numerator = 0; this->denominator = 1; } Rational::Rational(int whole) { this->numerator = ...
[ "jesseburke25@hotmail.com" ]
jesseburke25@hotmail.com
126327bcb8455e7d1c2fbd7843b1691574285b8b
f9fac2127fd4acd484101793d4ff0836eeea2641
/ext/MitsubaLoader/CElementRFilter.h
6887b7bc18c9e8df2016386b2a8b17f9754b13a5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Hazardu/IrrlichtBAW
61b5e1ae9472e25c3b796b27a606c94910c9a053
54995a04f81720f41026f313995bcbce2d29bc0c
refs/heads/master
2021-02-13T21:45:42.433090
2020-10-09T12:25:46
2020-10-09T12:25:46
244,736,384
1
0
Apache-2.0
2020-07-21T13:28:00
2020-03-03T20:36:06
null
UTF-8
C++
false
false
1,325
h
#ifndef __C_ELEMENT_R_FILTER_H_INCLUDED__ #define __C_ELEMENT_R_FILTER_H_INCLUDED__ #include "../../ext/MitsubaLoader/PropertyElement.h" #include "../../ext/MitsubaLoader/IElement.h" namespace irr { namespace ext { namespace MitsubaLoader { class CGlobalMitsubaMetadata; class CElementRFilter : public IElement { p...
[ "devsh.graphicsprogramming@gmail.com" ]
devsh.graphicsprogramming@gmail.com
42ecd27ad75be6e64f6c85d7da2fe4053b8bc323
18ce07fe40cae21c60918edb2aa9ce0a7f8dd36f
/3dtw/src/TimeSeries.cpp
3c50bebaf37643a2435a79b9171b8bb693180f86
[]
no_license
fazlekarim/3d-dtw
80ac6211f8b8c1daea37383204481a0d1645dcd4
e7815db1f89385f30853edadba109b27d7ed8bcb
refs/heads/master
2021-01-19T07:12:49.839703
2017-08-17T19:45:27
2017-08-17T19:45:27
100,639,330
0
0
null
null
null
null
UTF-8
C++
false
false
13,835
cpp
#include "TimeSeries.h" #include <sstream> #include <iostream> #include <string> #include <cmath> #include <cassert> #include <algorithm> #define POW2(X) ((X) * (X)) #define JDIST(X,Y) (POW2((X).v - (Y).v) + POW2((X).w - (Y).w)) #define SQRT_JDIST(X,Y) (std::sqrt(JDIST((X),(Y)))) #define MIN(X,Y) ((X) < (Y) ? (X) : (Y...
[ "noreply@github.com" ]
fazlekarim.noreply@github.com
a65f785e2f2a5edae58f88562dbdf191a1ca9376
be381d91e7026a372471920ca13d44dde447d1e2
/New_Heap.cpp
36d0af82969b0bc5690deb0cbd6ac0899dce5069
[]
no_license
tinvaan/Miscellaneous-Code
49d179bade9bf8bf862a6188c0e9ace408f47872
fd9f7a5baaf5c81c616e014bc04acb9e8cd6ee8d
refs/heads/master
2021-05-28T11:25:27.485996
2015-01-18T11:57:18
2015-01-18T11:57:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,330
cpp
#include <iostream> #include <cstdlib> using namespace std; class Max_Heap { private: /* Private memebers */ static const int max_size = 10; vector<int> data[max_size]; public: /* Constructors */ Max_Heap( typename vector<int>::iterator first, typename vector<int>::iterator last ); void he...
[ "harishnavnit@gmail.com" ]
harishnavnit@gmail.com
6218cc0ea90f808a297c534774582dbad1c7e5ee
50bd91de5227209211140e7c23844ef2cafb27a5
/LuaGame/LuaGame/Entity.cpp
fa03199c472710b3f37dec122da98dd2fc22fc45
[]
no_license
liggxibbler/luagame
1259ede777e6bc4fb0ffad7164e76d205169451e
f3276ac43254d553a5168bd34d1f2eadbd8024d3
refs/heads/master
2023-02-27T11:33:22.608889
2020-12-23T18:31:23
2020-12-23T18:31:23
336,851,140
2
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
#include "Entity.h" Entity::~Entity() { for (auto& c : m_components) { delete c.second; } } void Entity::AddComponent(std::type_index type, Component* c) { m_components[type] = c; }
[ "albizgil@gmail.com" ]
albizgil@gmail.com