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
f6fa9c7ebca3ed23992899b6529240e9d08094cc
efd1f46a51a82b1fbe1fcd25be45c37a9f303710
/pelican/core/AbstractStreamAdapter.h
20e087ef392361cb9039f7ec34eb21ed92d8b17a
[]
no_license
chrisjwilliams/pelican
dc0d3069f6a2366dc331cb82341f1ba37620e666
3aeef40c694347f4df547194a0c0c4c4e214f27d
refs/heads/master
2021-01-15T16:47:14.378470
2012-11-05T16:22:20
2012-11-05T16:22:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,233
h
AbstractStreamAdapter.h
#ifndef ABSTRACTSTREAMADAPTER_H #define ABSTRACTSTREAMADAPTER_H /** * @file AbstractStreamAdapter.h */ #include "pelican/core/AbstractAdapter.h" #include <QtCore/QHash> #include <QtCore/QString> #include <QtCore/QIODevice> namespace pelican { class ConfigNode; class DataBlob; /** * @ingroup c_core * * @class ...
ca6be88371f895de31025f0fb968e859c21b862f
7d375d8f99b69387187f0b1f9d476bf007c431ed
/server.h
1dffaedf79a353604901478fb98d4bf8ac9cf2f4
[]
no_license
reinmind/cmdchat
b397a765e3ba8573c03390fc5390b6216172472b
6ac061cb9105255563ea1e317ef46efbc08f3818
refs/heads/master
2020-05-26T08:33:25.854172
2019-05-23T14:50:54
2019-05-23T14:50:54
188,169,144
0
0
null
null
null
null
UTF-8
C++
false
false
586
h
server.h
#ifndef SERVER_H #define SERVER_H #include <QObject> #include <QTcpServer> #include <QTcpSocket> #include <QtDebug> #include <QVector> class server : public QObject { Q_OBJECT private: QTcpServer* chatServer; QVector<QTcpSocket*>* allClients; public: explicit server(QObject *parent = nullptr); voi...
1a39f15732d29e6e08d601462ecb4253da5e92d1
a608fd348d03014869ad3a1b22700e4798b5037c
/Console_Projects/๋ชฌ์Šคํ„ฐ์›”๋“œ/VariousMonster.h
d94d723644a604f23a8854873e3ccf9868adbd72
[]
no_license
Yaseungho/myCodes
420d5f9f845327faedc2da110cd6174f430e5cec
9a63b696ec598d90d564fe1024dec7a8084c7d74
refs/heads/master
2021-06-22T17:17:44.072240
2021-05-11T06:27:24
2021-05-11T06:27:24
214,841,009
0
0
null
null
null
null
UHC
C++
false
false
4,151
h
VariousMonster.h
#ifndef __VARIOUSMONSTER__ #define __VARIOUSMONSTER__ #include "MonsterWorld.h" void Move_Normal::Move(int& x, int& y, int& NEnergy) { int MoveX = rand() % 17 - 8; int MoveY = rand() % 17 - 8; x = (x + MoveX) >= 0 && (x + MoveX) <= 15 ? x + MoveX : x + MoveX < 0 ? 0 : 15; y = (y + MoveY) >= 0 && (y + MoveY) <= 7 ...
65aad738b2bf5dc3dcc4c1b76036c0db2f00954b
8ac53848564a1993fd60d8d21a6480be28433348
/src/ConfigurationElement.cpp
f046476e243c6565faa8669352d9faf2331a7f92
[]
no_license
Lokinoid/MasterCode
3e9c4cc9622ea3863977d123fc06d88ba50ced34
988dd83ded4d727108b49e6e448cad853eeecb96
refs/heads/master
2021-01-10T20:56:04.430131
2014-09-17T10:45:12
2014-09-17T10:45:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
436
cpp
ConfigurationElement.cpp
// // ConfigurationElement.cpp // ClassifierTrainer // // Created by Stanislav Orlov on 8/19/14. // Copyright (c) 2014 Stanislav. All rights reserved. // #include "ConfigurationElement.h" #include <algorithm> CurrentConfiguration::~CurrentConfiguration() { std::for_each(storage.begin(), storage.end(), [&](std...
3ac12c3f69b24089a6eb37f30bec8239aaac38b0
e83aeef07cbadfb0a61ec9b009d0cb9ba87cab7c
/programmodule.cpp
c7c25eff4299b82deee3f8b0a82fe6244f405bd7
[]
no_license
drProgerschtein/C-program-CInt
0694c503c4805a54f6d4dd644e3f0cb89702a2e7
7997b0aca1b9a6e541264c11f97218ed62348aca
refs/heads/master
2021-04-10T22:28:58.688466
2020-03-21T12:41:11
2020-03-21T12:41:11
248,971,808
0
0
null
null
null
null
UTF-8
C++
false
false
13,297
cpp
programmodule.cpp
#include "programmodule.hpp" #include <string.h> #include "fabric.hpp" #include "CDInt.hpp" #include <vector> #include <map> #include <string> void ClearFile(const char* fname){ FILE * fforclear; fforclear = fopen(fname, "w"); fclose(fforclear); return; } int ProgramCData(const char* fn...
df170e9d0f028bc5aa2c8dc881339e6278ac0955
5bbc46e863478a6b649ce862ba09c5340353c399
/DynamicProgramming/9184_์‹ ๋‚˜๋Š”_ํ•จ์ˆ˜_์‹คํ–‰.cpp
3043ba0c45062e2a6054d07879609d22568ae50b
[]
no_license
dayeondev/AlgoStudy
33f6467707897c72e0fb3a4ea96dff960f5308f3
75b2d7da88ba5aee5543075e4420d874bfcf82bd
refs/heads/master
2022-11-23T05:51:38.450673
2022-11-17T14:16:05
2022-11-17T14:16:05
233,246,385
2
0
null
null
null
null
UTF-8
C++
false
false
1,803
cpp
9184_์‹ ๋‚˜๋Š”_ํ•จ์ˆ˜_์‹คํ–‰.cpp
#include<bits/stdc++.h> #define MAX 51 using namespace std; long long arr[MAX][MAX][MAX]; bool visited[MAX][MAX][MAX]; int a, b, c; int w(int a, int b, int c){ if((a<=0||b<=0) || c<=0){ return 1; } if((a>20||b>20) || c>20){ return w(20, 20, 20); } if((a<b)&&(b<c)){ if(!vis...
027de7c3f85fc65d80c53bd8fe4d4309ee846c4b
d5932c3b6d4a8f0a5dd330f501b748f0c096b932
/main.cpp
036c44c8887e74cb57bacd180686166e01aab6e3
[]
no_license
dashqua/visitor
e41dc142d3d36f70b1421d74ec7645edf8c763c3
cbbe1bf5790f05360e2e19a5a70a8df3be4f0092
refs/heads/master
2021-04-06T08:44:23.154865
2018-03-15T15:44:26
2018-03-15T15:44:26
125,374,595
0
0
null
null
null
null
UTF-8
C++
false
false
1,062
cpp
main.cpp
#include "car.h" #include "berline.h" int main(){ std::cout << "Visitor Design Pattern practice" << std::endl; Car voiture_perso; voiture_perso.setmodel("Renault"); std::string marque_voiture_perso = voiture_perso.getmodel(); std::cout << "La marque de ma voiture perso est " << marque_voiture_perso ...
4f7679e49414065ebba756dac7c5dd2795e629a6
4cf0c6c97b8a143cdc45f1883e55c153df580432
/libsyclinterface/include/dpctl_sycl_platform_manager.h
4cf3625e7d049b7ccd6b75ddc5538362d5deec2b
[ "Apache-2.0" ]
permissive
IntelPython/dpctl
5ba40b59e281ebb130cbf19c875325516d75b795
47c82f5758c8ac71090019e97f196e7e3bcad176
refs/heads/master
2023-08-17T03:08:32.879866
2023-08-16T19:08:07
2023-08-16T19:08:07
279,842,328
83
28
Apache-2.0
2023-09-13T17:36:36
2020-07-15T10:50:36
C++
UTF-8
C++
false
false
3,550
h
dpctl_sycl_platform_manager.h
//===-- dpctl_sycl_platform_manager.h - Helpers for sycl::platform -*-C++-*- =// // // Data Parallel Control (dpctl) // // Copyright 2020-2022 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
18124d165ba5a8e29211c710a0d73671105b3cec
64136a2c8bfb28ace405f1ad07a91a685ec7ca2d
/include/tvm/robot/enums.h
57288f8ec9ebdfb7c3dd6d578fd2b11e0f3002d7
[ "BSD-3-Clause" ]
permissive
ANYbotics/tvm
72152792580592e16ad1280fca278d00b08a8d67
81ea5767eefbac285a9fa03b3d1f55c5e05474ac
refs/heads/master
2023-08-24T23:44:13.633877
2023-01-20T16:15:29
2023-01-23T21:33:10
265,188,142
3
0
BSD-3-Clause
2020-07-20T07:22:19
2020-05-19T08:21:24
C++
UTF-8
C++
false
false
2,518
h
enums.h
/* Copyright 2017-2018 CNRS-AIST JRL and CNRS-UM LIRMM * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the foll...
58d3917535828687ea6a863c62366fed0dd7a9d1
5287a5b3866feefa6adfe505a30c9c954e9ab7ff
/engine/game_event.h
6f37f13b57eb995e22c267f9aead815841fb8b5c
[ "Apache-2.0" ]
permissive
bobjervis/europa
b541bec797bafaf6913a19496a72e28b19f96c49
972c645b5971daef4a091d8f4fd6eb6a9f2d77b1
refs/heads/master
2020-06-05T10:55:31.595386
2015-08-30T20:38:41
2015-08-30T20:38:41
41,640,484
0
0
null
null
null
null
UTF-8
C++
false
false
7,525
h
game_event.h
#pragma once #include "../common/file_system.h" #include "../common/string.h" #include "basic_types.h" #include "constants.h" namespace engine { class Combat; class Detachment; class Doctrine; class Game; class HexMap; class InvolvedDetachment; class StandingOrder; class Theater; class Unit; /* Gam...
36575a7c9801375f634e56eebc2366444ab6f663
4243054350a33a5cca74e8fdba792e62766d2380
/src/builders/ConnectionBuilder.h
75e54fd8c05401d9eabcb81438bf6fe3beb8c88b
[ "MIT" ]
permissive
zhangfang/sdp-cpp
f40afb7f25ff2cbeb592f6e1dc12a037c5df4020
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
refs/heads/master
2023-02-23T04:27:23.832845
2021-01-25T11:47:40
2021-01-25T11:47:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
982
h
ConnectionBuilder.h
#ifndef _SDP_IMPL_CONNECTION_BUILDER_H_ #define _SDP_IMPL_CONNECTION_BUILDER_H_ #include "Builder.h" #include "../../include/CandidateAttribute.h" using namespace sdp; using namespace abnf; class ConnectionBuilder : public Builder { private: Connection* conn; public: virtual void* visit(Rule_connection_field* r...
c7444a38e0c2c9c50aecebf10ca43d2f26e1a8b2
6a3890b734797641a0e45dc2d882da370de63e49
/include/functionCalls.h
09600e37743e214c05cae821ba855f568937a53a
[]
no_license
SysSynBio/StoichiometricBalance
f85222fd4bf650dbe0872dd29db10fd4b6ff30f6
2a9d3aac66bf5fc9ea1e29cb782afa4ae034983b
refs/heads/master
2023-03-16T13:22:54.631650
2020-10-29T21:49:13
2020-10-29T21:49:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
385
h
functionCalls.h
#include <string> #include <sstream> #include <vector> using namespace std; void sample_dist(int npro, vector<double> bin, vector<double> cdf, vector<double> &rval); void shuffle_abund(int npro, vector<double> abund, vector<double> &rval, int Nconstrain, vector<int> constrain); void get_variances(int Npro, int Nif, P...
ec77930945fc8fd22248ed64818f45f47b2a641d
df5815c14daaf31fbb20a71e693ff8a2e4bb99d6
/S5engine/include/tools/widgets/texturewidget.h
e1812884d86f6a79d6e5d1bb731a0d84dd4feeff
[]
no_license
smatcher/S5old
5ce05352d16ae2a75d4111f0a797c9afa117dccf
f2f2ceaa39037b8760fc6743cfbfd10367ba59a7
refs/heads/master
2020-03-30T15:17:57.359493
2012-05-06T14:45:35
2012-05-06T14:45:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
675
h
texturewidget.h
#ifndef TEXTUREWIDGET_H #define TEXTUREWIDGET_H #include "tools/widgets/resourcewidget.h" #include <QGLWidget> class TextureData; class QLabel; class TextureWidget : public ResourceWidget { Q_OBJECT private: class TexturePreview : public QGLWidget { private: GLint glId; public : TexturePreview(QGLWidget*...
c7811829e1d38b72845b542ae41b8f10c9e4b10b
00e1e9ba101264a67c30023118654fbfbfc5bb05
/Engine Hack Base New/cvar.h
b4859abcfdcf3c8dc1a67246757e43cfbc9b3477
[]
no_license
snr63g/Engine-Hack-Base-New
1cc25e5eedcfb28284f54fdcd466f3bc75e95bb4
c39352635db85d5ff9cc3e2d5b5668231baec32c
refs/heads/master
2022-02-26T17:48:38.785550
2019-10-03T10:34:37
2019-10-03T10:34:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
127
h
cvar.h
#ifndef CVAR_H #define CVAR_H class CVARlist { public: void init(); public: int cvar_test; }; extern CVARlist cvar; #endif
abe27b1dddd4813ac101720bc8fe023cc555d2e1
26a99f5fc1ea04d5b3388226e4a246c265de0630
/aod-labs/divide-conquer.cpp
87772980cb6529b8b7fcc81c50612221ea64e70a
[]
no_license
Keyreach/archived_repos
ad382b19866c93035a7b207ccc318310caa05b77
665816bdb2aecb9c92c7c8330be902db94405321
refs/heads/master
2020-12-20T20:36:54.365485
2020-01-25T17:26:08
2020-01-25T17:26:08
236,202,920
0
0
null
null
null
null
UTF-8
C++
false
false
687
cpp
divide-conquer.cpp
#include <iostream> using namespace std; int getmax(int *a, int b, int e){ for(int i = 0; i < b; i++){ printf(" "); } for(int i = b; i < e; i++){ printf("#"); } printf("\n"); //getchar(); if(e - b < 2){ if(a[b]>a[e]) return a[b]; else return a[e]; } int m = (b+e)/2; int u = getmax(a, b, m); i...
7de4e48aa2ed1d0ae9e971b853b85039efb4abdd
33c9d163262d88ccfdcf985a45a245105daf4332
/NodeMCU_Antares/NodeMCU_Antares.ino
eaf666708d7ac1887345fa9df2c6249a88eed8f7
[]
no_license
LintangWisesa/NodeMCU_ESP8266_Antares
16f68da4bb01b643c760453b4d8591bb1844f611
d5093742e66ee6aa76d04b072f4ce369962190a9
refs/heads/master
2020-03-25T01:33:46.364341
2018-08-02T12:43:19
2018-08-02T12:43:19
143,243,491
0
0
null
null
null
null
UTF-8
C++
false
false
1,066
ino
NodeMCU_Antares.ino
#include "AntaresESPHTTP.h" #include "DHT.h" #define DHTPIN D5 #define DHTTYPE DHT11 DHT dht(DHTPIN,DHTTYPE); #define SERVER "http://platform.antares.id" #define PORT "8080" #define ACCESSKEY "your_antares_access_key" #define WIFISSID "your_wifi_name" #define PASSWORD "your_wifi_password" String projectName = "your_...
f0e67f3b7bbb2cb2e2154573e0a6c28b4508688a
63c2bb17e0ff192ef3132a2c92b8f578bc7cef6d
/band/report.cpp
630ab3152fcbec5cbc1a5211bd6ff78809c87dbb
[]
no_license
miyake/SFA
e76bc13a919c4a817f89f44c7049ed469577a32b
665def4cd519d2ec118535a17aa72e68fbe3d17d
refs/heads/master
2022-11-07T09:56:52.242861
2020-06-28T12:39:08
2020-06-28T12:39:08
275,582,738
0
0
null
null
null
null
UTF-8
C++
false
false
506
cpp
report.cpp
// report #include <iostream.h> #include <fstream.h> #include <math.h> #include <process.h> main() { double pi=3.1415,h=1.0545,c=2.9979,e=4.80325; double a_Au=4.08,a_Ag=4.09,a_Cu=3.61; double delta_Au,delta_Ag,delta_Cu; delta_Au=(pow(12*pi*pi,2/3)*h*c)/(2*e*a_Au*a_Au); delta_Ag=(pow(12*pi*pi,2/3)*h*c)/(2*e*a_...
2525fafc3dd63906902eba47b181cfe22a2ef93e
e39f063bbad792fe7cd760b486c7009659b5d90b
/src/Scene.h
2c7d39a7b3fdead9682354c7381b6b925b9c1a20
[]
no_license
xiyuanguo/CGproject4
084176ab116ece480d5811d8b460c9287f15b0f0
3b81a8c6c1cafa17d893cfdbcde01c201074a326
refs/heads/master
2021-01-25T01:22:10.962145
2017-06-19T08:35:52
2017-06-19T08:35:52
94,754,319
0
0
null
null
null
null
GB18030
C++
false
false
5,303
h
Scene.h
#ifndef Scene_H_ #define Scene_H_ #pragma once #include"Point.h" #include"Light.h" #include"Object.h" #include"Ray.h" #include<vector> #include<iostream> using namespace std; class Scene{ public: Point eye;//่ฆ–้ปž Point lb;//ๅทฆไธ‹ Point rt;//ๅณไธŠ int width; int height; int maxDepth; vector<Object*> objects;//็‰ฉไปถๆ•ธ็ต„ vec...
37703878c514fdecd9346e746eae48a094ff0971
8e56fcfff92a958404834c9ffc599e070ce68c9d
/tests/unit_tests_src/shared/common/test_scalar_functions/test_scalar_functions.cpp
352f2ab2453dc002bf2792052c05ba1a18a9d2a8
[ "Apache-2.0" ]
permissive
Xiangyu-Hu/SPHinXsys
723bca41c56792a2d30318e282eb5a3ca6cb63b5
1a06b77685d4687c8f4fa3efe51ef92936f24403
refs/heads/master
2023-08-30T19:42:52.584193
2023-08-30T19:13:56
2023-08-30T19:13:56
189,070,140
229
155
Apache-2.0
2023-09-14T19:34:44
2019-05-28T17:05:34
C++
UTF-8
C++
false
false
511
cpp
test_scalar_functions.cpp
#include "scalar_functions.h" #include "sphinxsys.h" #include <gtest/gtest.h> using namespace SPH; TEST(test_scalar_functions, test_WENO) { Real v1 = 1.0; Real v2 = 2.0; Real v3 = 3.0; Real v4 = 4.0; Real Left_state = getLeftStateInWeno(v1, v2, v3, v4); Real Right_state = getRightStateInWeno(v...
3540d01c6b8bef24ddb6a1c97d54f1669d0f523d
300f69741119d3c51c3182d639b0f32b53769baa
/src/ram/analysis/Complexity.h
fb8d30f9737993a9991bf4417e0663653ec4cf1e
[ "UPL-1.0" ]
permissive
souffle-lang/souffle
a75aade06ca36beaa0e8defdef16959d460e0920
63d6684fe907e8c141d4ffa0e73aefcc857dd83f
refs/heads/master
2023-08-20T16:30:22.212802
2023-08-09T07:29:50
2023-08-09T07:29:50
53,711,734
766
213
UPL-1.0
2023-08-09T07:29:51
2016-03-12T03:39:22
C++
UTF-8
C++
false
false
1,428
h
Complexity.h
/* * Souffle - A Datalog Compiler * Copyright (c) 2019, The Souffle Developers. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /********************************************************...
f3e0394741cd377512d1acf50f61d90e1ac9e425
0813e18eb6b6cd5de9898c33788b9ab7e93727c6
/codejam/2015/2/D.cc
a3742a756509f3439eb2724bb48ef2bee571e726
[ "MIT" ]
permissive
metaflow/contests
a769e97337363743a1ec89c292d27939781491d3
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
refs/heads/master
2021-07-13T00:09:23.470950
2021-06-28T10:54:47
2021-06-28T10:54:47
19,686,394
1
0
null
null
null
null
UTF-8
C++
false
false
4,085
cc
D.cc
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using ii = pair<int,int>; using vii = vector<ii>; using vvi = vector<vi>; using ll = long long; using llu = unsigned long long; using vb = vector<bool>; using vvb = vector<vb>; using vd = vector<double>; using vvd = vector<vd>; using vll = vector<ll>...
39db56f69f26c1c1adc25b8dc757a22aedc912c2
1df9b68cbd8853f8820be0106e887ed5fce59ae1
/SchoolManager/School.h
016c9cc86681a5b16d011ab464bb08fd07482eb0
[]
no_license
zeweidd/firstDome
f90ffa0657764471351285be34e2c1c62c7dd00f
c1fc7929edb58e6924ab0ee02942033afeaef625
refs/heads/main
2023-02-12T21:17:12.519796
2021-01-11T10:57:28
2021-01-11T10:57:28
328,633,810
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
250
h
School.h
#pragma once #include "Team.h" class School { Team classA; Team classB; Team classC; void manage_class(Team&); public: School() :classA("Aยฐร "), classB("Bยฐร "), classC("Cยฐร ") {} void information(); void manage(); };
c6d6932e119da62df1ea581a7652910930960e28
64a2b5b7db60e105fdcb48804fd2c13d0fc6de7b
/editor/mainwindow_tab/animtitle.h
65f6c0f29a076d93fe16a5323a16c36429859f81
[]
no_license
gameblabla/rockbot
d6d821b10c63d30a1758c7eab4d7e1affccac23f
c912f9728802cd9b3f0ca50bbfc5610c8f85674f
refs/heads/master
2022-11-02T16:21:55.157178
2019-04-23T21:12:01
2019-04-23T21:12:01
273,803,404
2
0
null
2020-06-20T23:56:13
2020-06-20T23:56:12
null
UTF-8
C++
false
false
459
h
animtitle.h
#ifndef ANIMTITLE_H #define ANIMTITLE_H #include <QWidget> #include <QTimer> class animTitle : public QWidget { Q_OBJECT public: explicit animTitle(QWidget *parent = 0); void update_properties(); protected: void paintEvent(QPaintEvent *event); private: QWidget *myParent; int _sprite_n; int _time...
ff2b1784c043f6fe3529b080ed9cb9d02b163b4f
4423987b3cb13ad3321479d11de9f0250575df75
/Codeforces/Individual/Virtual/EduRound1/cc.cpp
79b646fc4d423be8070f76fd450f5dd5be32c496
[]
no_license
samplex63/Competitive-Programming
5ebc3a933eed1a5921bea8e91b798c96225007bf
546aecd109dbdedef5b9b2afaddb1fa5ff69bbde
refs/heads/master
2022-12-04T16:51:57.648719
2020-08-24T13:37:47
2020-08-24T13:37:47
282,802,436
0
0
null
null
null
null
UTF-8
C++
false
false
813
cpp
cc.cpp
#include <bits/stdc++.h> using namespace std; #define fi first #define se second #define sz(x) (int) (x).size() typedef long long ll; typedef long double ld; const ld pi = acos(-1.0L); int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n; vector<pair<ld, int>> vec(n); for(int i = 0; i...
b8eb2c2b3701f484bda713e234ff51b87e9c4832
64589428b06258be0b9b82a7e7c92c0b3f0778f1
/URI/1193.cpp
a0ff22cd9c72fc516566886bec99724ece554b22
[]
no_license
splucs/Competitive-Programming
b6def1ec6be720c6fbf93f2618e926e1062fdc48
4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6
refs/heads/master
2023-08-31T05:10:09.573198
2023-08-31T00:40:32
2023-08-31T00:40:32
85,239,827
141
27
null
2023-01-08T20:31:49
2017-03-16T20:42:37
C++
UTF-8
C++
false
false
1,860
cpp
1193.cpp
#include <iostream> #include <string> #include <cstdio> using namespace std; int valordec(string num){ int cont=1, valor=0; for (int i = num.size()-1; i >= 0; --i) { valor+=(num[i]-'0')*cont; cont*=10; } return valor; } int valorbin(string num){ int cont=1, valor=0; for (int i = num.size()-1; i >= 0; --i) ...
a21039b8e9c9cb95eb7009fe9c160f193941e5dc
23f59d8c524be424bd5d5b8047f22341c769fd3e
/Week 06/id_714/LeetCode_547_714.cpp
4eecb2394c4a12f7e7d8ad57851e2d26f78eb2e1
[]
no_license
cboopen/algorithm004-04
59ef7609eb0f8d5f36839c546b0943e84d727960
f564806bd8e18831eeb20f2fd4bdd2d4aaa829ce
refs/heads/master
2020-08-11T12:30:04.843364
2019-12-08T13:21:38
2019-12-08T13:21:38
214,565,309
2
0
null
2019-10-12T02:44:08
2019-10-12T02:44:08
null
UTF-8
C++
false
false
1,134
cpp
LeetCode_547_714.cpp
class UnionFind { public: UnionFind(int size) { count_ = size; parent_ = new int[size]; for (int i = 0; i < size; i++) { parent_[i] = i; } } ~UnionFind() { delete[] parent_; parent_ = nullptr; } void Union(int num1, int num2) { if (num1 == num2) return; ...
58a5e8140bbd64326ea6c0d9fa7e49387c13bf4f
105e01d10b4ffe685998049106bfdb23d2ca509a
/datastructure/Array/arrayRotation.cpp
d7061eff9569f61503ff066ee1ae1954822ac643
[]
no_license
codeshef/datastructure-and-algorithm
131380a16178f89885b83c1d03ed355b8ca3543b
b368afa4e6ec666a32005071b423df6ffaa46c74
refs/heads/master
2020-04-05T07:47:57.633827
2018-04-04T18:58:30
2018-04-04T18:58:30
81,852,771
1
0
null
2017-07-27T17:51:17
2017-02-13T17:39:45
C++
UTF-8
C++
false
false
598
cpp
arrayRotation.cpp
// program for array rotation using juggling algorithm #include<iostream> using namespace std; int gcd(int a,int b){ if(b == 0){ return a; }else{ gcd(b,a%b); } } void rotate(int a[],int d,int n){ int i,j,k,temp; for(i=0;i<gcd(d,n);i++){ temp =a[i]; j =i; while(1){ k = j+d; ...
cc912df31cb6579025b07f207f814fbf8af4b181
d801b0a0e6ca300db487aac74d5f13d88474c263
/RtRuntime/src/RtRuntime/RtThread.cpp
1f06510a5b2c6699efeb0585bffd81bfd95122e8
[]
no_license
martinsteih/PluginSystem
2dd5dbfdc79bc59c9c6bacd888d53f8511b3b637
a4a6e299edd86fa535281e2dd3fffe68f80412f3
refs/heads/master
2023-01-24T04:49:33.848280
2020-12-04T10:16:46
2020-12-04T10:16:46
318,475,762
0
0
null
null
null
null
UTF-8
C++
false
false
1,388
cpp
RtThread.cpp
#include "../../include/RtRuntime/RtThread.hpp" #include <pthread.h> #include <syscall.h> #include <unistd.h> struct sched_attr { sched_attr() = default; sched_attr(uint64_t runtime, uint64_t deadline, uint64_t period, uint32_t policy) : sched_policy{policy}, sched_runtime{runtime}, ...
b51cf100c9383244d2987869225c9be6e0d618e0
865bfdce73e6c142ede4a7c9163c2ac9aac5ceb6
/Source/Generic/Patterns/Singleton.cpp
8f44181ded4babd185aa42c7bb80137e78316b9f
[]
no_license
TLeonardUK/ZombieGrinder
d1b77aa0fcdf4a5b765e394711147d5621c8d4e8
8fc3c3b7f24f9980b75a143cbf37fab32cf66bbf
refs/heads/master
2021-03-19T14:20:54.990622
2019-08-26T16:35:58
2019-08-26T16:35:58
78,782,741
6
3
null
null
null
null
UTF-8
C++
false
false
216
cpp
Singleton.cpp
// =================================================================== // Copyright (C) 2013 Tim Leonard // =================================================================== #include "Generic/Patterns/Singleton.h"
e2eacb13d48e35b93657b23b86ff544972d986f9
a633b4bac060cce6a8bf701e32c6e6af1623992d
/spruce/Input.cpp
40c133da7eb834afeced5c2299672226eaa9e000
[]
no_license
tomhauswald/spruce
c715a03290de58e8c36601e24df713d0186d3154
cbd4002792ef4008bed158bfac5e7fef0850653d
refs/heads/master
2021-01-10T22:49:43.323915
2018-02-01T22:41:30
2018-02-01T22:41:30
70,346,891
0
0
null
null
null
null
UTF-8
C++
false
false
217
cpp
Input.cpp
#include "Input.h" namespace spruce { std::bitset<GLFW_KEY_LAST> Input::sCurrentKeysDown; std::bitset<GLFW_KEY_LAST> Input::sPrevKeysDown; glm::dvec2 Input::sCurrentCursorPos; glm::dvec2 Input::sPrevCursorPos; }
4c891d7ca6a45b30f8ad31be7e2a3672ce77560a
96f041d05b8ddbc6406dcce8639ff8857e03b751
/src/XYCircularFit.cc
eea38d665b2e34f0ba22938a8873f0c0e384195d
[]
no_license
ESSnuSB/PathFinder
f06bb5fb031c1906d7cc41bb26a2dcdd22867fa5
2336f909c7a5d8626fb136c5b1af0efa9ae065a2
refs/heads/master
2020-12-22T10:36:36.490479
2020-01-28T14:40:59
2020-01-28T14:40:59
236,752,402
0
0
null
null
null
null
UTF-8
C++
false
false
4,808
cc
XYCircularFit.cc
/* * Implementaion of the circle fit as described in V.Karimaeki - "effective circle fitting for particle trajectories" */ #include "XYCircularFit.h" #include "TMatrixD.h" using namespace std; using namespace pathfinder; bool XYCircularFit::fit(vector<basicHit> inputHits, HoughMapMaximum* Parameter) { vector<d...
d4c4bb50014a15762e98991a0f4eb275f67953e0
6cee25417e81dfc615a1baf227c9a8e745d21bbe
/common/CompositeMonsterProvider.cpp
e4a238176f0ce20420caa02ffdb1ec663d981f4f
[]
no_license
Koukan/Grab
e8c31f688ccbfdee55327151d65c9b1c0dbac43d
263c774adaae7fb5baccef22186b37afcb2d285c
refs/heads/master
2018-12-28T20:19:50.985625
2013-12-02T19:33:29
2013-12-02T19:33:29
13,930,582
1
0
null
null
null
null
UTF-8
C++
false
false
1,778
cpp
CompositeMonsterProvider.cpp
#include "CompositeMonsterProvider.hpp" #include "CompositeMonster.hpp" #include "Converter.hpp" CompositeMonsterProvider::CompositeMonsterProvider() : XMLProvider("compositemonster", 6) { } CompositeMonsterProvider::~CompositeMonsterProvider() { } void CompositeMonsterProvider::handleXML(TiXmlNode *parent, Core:...
4529028237be421d8078396ebdbb04971b47d7f2
bd0e04dbf20494429ffcbc8638d7505df2b107fb
/baek_project1/์•ŒํŒŒ๋ฒณ์ •๋ ฌ_๋Œ€๋น„๋ฐ˜๋ฌธ์ œ.cpp
777240084b70f29bbbdc3f882f6504c560eddabd
[]
no_license
jejin009/BOJ
3139bd16071c5ac94a4194a0f854af00f1cadc1b
5a4e7b6d6c5b18e3c6d35c8e13b3b44a98ae1cac
refs/heads/master
2023-05-15T05:20:46.723044
2021-06-14T17:19:06
2021-06-14T17:19:06
301,052,420
0
0
null
null
null
null
UTF-8
C++
false
false
432
cpp
์•ŒํŒŒ๋ฒณ์ •๋ ฌ_๋Œ€๋น„๋ฐ˜๋ฌธ์ œ.cpp
#include<iostream> #include<algorithm> #include<vector> #include<map> bool myPairCMP(); using namespace std; int main() { int N; string temp; vector<pair<string,int>> vec; cin >> N; for (int i = 0; i < N; i++) { cin >> temp; vec.push_back(make_pair(temp, temp.length)); } sort(vec.begin(), vec.end(), myPa...
fd4ff397655a0a3205ab3179ec30b601ab305a64
5ce60ac1de6a5245dc9758cb26107d97fd67d372
/Estrutura de Dados/AULA 9/Programas/Video/main.cpp
6ba896beaf6d6ef9cee4849749372e2b747ca6f0
[]
no_license
LeonardoHB98/C--_introduction
2aa4b2a2c0f69331da72acc2dc92d6093da8cee0
21950bf9f34356f9d8262d1d0cb3ae362859c692
refs/heads/main
2023-06-02T14:24:40.538075
2021-06-09T22:25:42
2021-06-09T22:25:42
375,498,581
0
0
null
null
null
null
UTF-8
C++
false
false
1,645
cpp
main.cpp
#include <iostream> #include <locale.h>//setlocale #include <stdlib.h>//system #include <string>// Textos em gerral #include <cstdlib> using namespace std; int main(void) { int i=10,*p; p=&i; cout << *p << " " << i + *p<< " " << *p**p << " " << i+**&p; system("pause"); ...
7167966b247c27717ea3a6ceec6ffeb1e169e973
621df18c7e6514ec733bba6cd664211d4dd767d0
/snakefill.cpp
6f0ddfc82c8e1ba1f9c9f3212165998e21d932e1
[]
no_license
Rose999999/Algorithm-Competition-Practice
9ca4cbb2c9c9243923f8a639e6eaef49e67aa4c5
2ea5596c7f0b57694306746f07eef89f7d2a70f2
refs/heads/main
2022-12-31T07:21:45.756525
2020-10-22T05:54:49
2020-10-22T05:54:49
305,673,772
4
0
null
null
null
null
GB18030
C++
false
false
586
cpp
snakefill.cpp
#include<stdio.h> #include<string.h> #define maxn 20 int a[maxn][maxn]; int main() { int n,x,y,tot=0; scanf("%d",&n); memset(a,0,sizeof(a)); tot = a[x=0][y=n-1] = 1; while(tot<n*n) { while(x+1<n && !a[x+1][y]) a[++x][y] = ++tot;//ๅ…ˆๅŠ tot๏ผŒๅ†่ต‹ๅ€ผ while(y-1>=0 && !a[x][y-1]) a[x][--y] = ++tot; while(x...
a63f9570db240a1f89b7646ebafe91e0b0ea885e
bcb1b8453096699f944e8e3a0dc5b36178d385a3
/include/parse/match_type.cpp
eb25cdc9cac8217e05936ee38fab7fbd0eb06a57
[ "MIT" ]
permissive
nathanmullenax83/rhizome
0d490bafc40251ccf014b47aeb7e21fdb25fec36
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
refs/heads/master
2020-12-15T01:21:24.799354
2020-07-11T14:46:08
2020-07-11T14:46:08
234,942,360
1
0
MIT
2020-07-05T00:46:50
2020-01-19T18:04:15
C++
UTF-8
C++
false
false
3,070
cpp
match_type.cpp
#include "match_type.hpp" #include "log.hpp" namespace rhizome { namespace parse { MatchType::MatchType( string const &tname ): name(tname) { } Gramex * MatchType::clone_gramex(bool withmatches) const { MatchType *mt = new MatchType(name); if( withmatches ...
24702dce74fa420b41361090b54c68e05296f0a9
c695ed452c9cc7bf6a8393a172dbc4391caae0bf
/spiral-matrix-ii/spiral-matrix-ii.cpp
d66a0c8d464cb931f2aeacebd54abd2ebfd6f084
[]
no_license
prashanth-io/LeetCode
ccce6dbce01cbce34e7e9f774bafc05beabce4b1
4dab776c7fe3755ec43855671942b4badcadfd19
refs/heads/main
2023-08-13T02:18:33.952884
2021-09-30T21:02:47
2021-09-30T21:02:47
399,352,697
0
0
null
null
null
null
UTF-8
C++
false
false
923
cpp
spiral-matrix-ii.cpp
class Solution { public: vector<vector<int>> generateMatrix(int n) { int left=0; int right=n-1; int top=0; int bottom=n-1; int val=1; vector<vector<int>>a(n,vector<int>(n)); while(val<=n*n) { ...
2a9925e8dd236355cb98b891c92601997f451895
b98302444024d9041192772437bfd7a6334423f7
/boo.cpp
cbea00718aec9ed55d21163a6c4ba0a55c949bee
[]
no_license
JGPorteous/VarTest
662783f6fcf555a465413b35d0a1f7a3f2a09575
0d92bc8bf0c1f319084c966f6be68534d1fd9b88
refs/heads/master
2016-09-11T06:53:05.318687
2015-03-17T17:52:30
2015-03-17T17:52:30
32,410,400
0
0
null
null
null
null
UTF-8
C++
false
false
63
cpp
boo.cpp
#include "boo.h" int i = 1; boo::boo() { } boo::~boo() { }
4756e4addf6f617995cb731a6106bb1ad2de1f80
bafb289b7f0cb0a488f3948ae05828e2ffa1f6ec
/map.h
a9cff389607d87fd945991bc46cafc80287e5775
[]
no_license
Yarosurafu/Astroexplorer
c706b7c2310e1abc12a7ab30dcdea78fa1040076
d76fdd059fb8d536af26ec7c09d32a9682bb768e
refs/heads/master
2023-02-26T01:44:27.779504
2021-01-17T17:19:50
2021-01-17T17:19:50
330,042,294
4
1
null
null
null
null
WINDOWS-1251
C++
false
false
1,503
h
map.h
#pragma once #include <SFML\Graphics.hpp> #include <SFML\Audio.hpp> #include <vector> using namespace sf; class Map { //-----ะขะตะบัั‚ัƒั€ั‹ ะฟะปะฐะฝะตั‚----- Texture m_alienTexture; Texture m_sandTexture; Texture m_earthTexture; //------------------------- //-----ะกะฟั€ะฐะนั‚ั‹ ะฟะปะฐะฝะตั‚----- Sprite m_alienPlanet; Sprite m_sandPla...
2e2b7a0f56107d59d43af738c1ed6bd117a3b09d
95a5346295a7c277ac4f0f04988dbe1476a970c9
/src/n_tcp_server_socket_picture_services.cpp
7d5a21b3ab6b99db0ca4bae43588d5301fdc4ef7
[]
no_license
sdolard/nawis
ecc0a83f1d79991af477c8f3fba1c39ce77a802d
9e0b701c612f551760ec3ccca6b28610f0c9a122
refs/heads/master
2016-09-02T11:33:28.726466
2010-11-01T15:31:55
2010-11-01T15:31:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,156
cpp
n_tcp_server_socket_picture_services.cpp
#include <QScriptEngine> #include "n_log.h" #include "n_json.h" #include "n_config.h" #include "n_image.h" #include "n_client_session.h" #include "n_database.h" #include "n_tcp_server_socket_picture_services.h" NTcpServerSocketPictureServices * NTcpServerSocketPictureServices::m_instance = NULL; NTcpServerSocketPic...
5529e71fcda7b59836abbb4d7e0d1fc6c1c3c2d6
4c4c8b5a89075f6477aa786d5256095f5a53ce39
/unittest/alignment/utils/FileUtils_gtest.cpp
1b2ea3bbba870dd93ebbaae25ff5ec4246784520
[]
no_license
pb-cdunn/blasr_libcpp
540388eaad3c022d7d68357551365a79bd9c6ca2
0679f5063839480357216cf6fa44141078518930
refs/heads/master
2021-01-17T17:49:17.556800
2015-09-08T07:10:55
2015-09-08T07:10:55
37,907,422
0
2
null
2015-06-23T08:43:29
2015-06-23T08:43:28
null
UTF-8
C++
false
false
1,598
cpp
FileUtils_gtest.cpp
/* * ===================================================================================== * * Filename: FileUtils_gtest.cpp * * Description: Test alignment/utils/FileUtils.hpp * * Version: 1.0 * Created: 10/29/2012 05:20:43 PM * Revision: 08/20/2014 * Compiler: gcc ...
67a4003d5555f68595e2f1c71d57c6b701124d52
4db81fbe6d1f9089c348d8f9e49d83b3c1c2feb5
/Inc/.svn/text-base/TestItemPropertiesWnd.cpp.svn-base
2139de29cf1fd409c3644efc945b804d807e178f
[]
no_license
trigrass2/MVS
66be0bdd10b0e4db5eee4f7e660bff1b9d6cb4f0
2226a15d966c73da2d6934096d1fe78643873977
refs/heads/master
2020-12-18T09:33:46.847203
2013-12-24T15:07:15
2013-12-24T15:07:15
null
0
0
null
null
null
null
GB18030
C++
false
false
26,679
TestItemPropertiesWnd.cpp.svn-base
#include "stdafx.h" #include "TestItemPropertiesWnd.h" #include "Resource.h" #include "MainFrm.h" #include "AOIEdit.h" #include "MCtrlCenter.h" #include "customproperties.h" #include "DrawRegistDialog.h" #include "MCtrlCenter.h" #include <fstream> #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #de...
eeb7e6dff39a7ae5669f045a901cf70df0acb594
26c6b9e1204db5ae4a245a990f7df3bcd218b574
/src/kernel/template-cache.cc
b17dd678210d80d64c578f3cabae772c727472fe
[ "Apache-2.0" ]
permissive
groundwater/runtime
54ac6d6ac4eb528ecc201ffb0c231572938c5802
dc90b2c835bbd70530a933b38c252215ef905831
refs/heads/master
2021-01-18T05:18:21.260974
2015-01-29T07:35:29
2015-01-29T07:35:29
21,312,682
1
2
null
2015-01-10T20:14:08
2014-06-28T23:06:10
C++
UTF-8
C++
false
false
4,492
cc
template-cache.cc
// Copyright 2014 Runtime.JS project authors // // 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 o...
c75d5eef267f6764991b703a9892c4836a3ab720
d6a749e048b05377968f8d67bcd5d469f5c2d6fb
/src/plugins/yaypeg/yaypeg.cpp
e0a61184b51e4f5eeefaabf59c5c065954e64ab5
[ "BSD-3-Clause" ]
permissive
llukask/libelektra
c7770dc3ba6c20e51e1176ecc3efab12bde5eeb8
5a8cb59ebe008e04e406bcb2d6e4cc3357cffaca
refs/heads/master
2021-07-02T21:10:12.060467
2019-08-07T21:16:25
2019-08-07T21:16:25
174,345,765
0
0
null
null
null
null
UTF-8
C++
false
false
2,034
cpp
yaypeg.cpp
/** * @file * * @brief Source for yaypeg plugin * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) * */ #include "yaypeg.hpp" #include <stdexcept> #include <kdb.hpp> #include <kdberrors.h> #include <kdbhelper.h> #include "convert.hpp" using std::exception; using std::runtime_error; u...
568ed917d51a756b63d22c13d5683e75cceec3f0
8e08d060e4def3a90673f31b3d00e4ee7bd5aaf3
/Assignment6/angry.h
20f18264ea30c053050f497f1fc4e86e9fe209cf
[]
no_license
rbostandoust/Advanced-Programming
3d378eb574a11373cc6e4934d9cc0e2b96f381cd
a69930f801551f5ba01f030540a1124c8982cb5a
refs/heads/master
2020-09-18T11:21:39.067248
2019-11-28T22:25:50
2019-11-28T22:25:50
224,143,485
0
0
null
null
null
null
UTF-8
C++
false
false
329
h
angry.h
#ifndef __ANGRY_H__ #define __ANGRY_H__ #include "child.h" #include <cmath> class Angry : public Child { public: Angry(int _id, int _r, bool _f, Velocity _v, Point _p, Behaviour _b) : Child(_id, _r, _f, _v, _p, _b){ type = "Angry"; fix_behaviour();}; void fix_behaviour(); void deal_with(Child* another_child); }...
2c2c47beeb3d44c4efa9e4cff4f82e1f5dea2f8e
cac6325461dec350e62cda2bfe99c13ee55f2acc
/coing_for_algorithm/quick_sort.cpp
648dc0399ddebc681a94a8fc36046f2c3a2b3fc5
[]
no_license
huangjunhao2019/cuda_c-_programming_guide
fd232bbf4f561cc323d2600aedbc101f5aaffd7b
99be7471c89681a89b3b84bdfba3bda8bff87537
refs/heads/master
2023-06-25T01:13:25.329784
2021-07-24T06:23:56
2021-07-24T06:23:56
388,309,371
0
0
null
null
null
null
UTF-8
C++
false
false
937
cpp
quick_sort.cpp
#include<iostream> using namespace std; void swap(int &a,int &b){ int temp=a; a=b; b=temp; } void quick_sort(int *a,int left,int right){ // cout<<a[left]<<" "<<a[right]<<endl; if(left>=right) return; if(right-left==1){ if(a[left]>a[right]) swap(a[left],a[right]); ...
5acee723007ba09725ab1ab0e6ec519ad16c2c6d
79143151a5f5c246a304fc4ee601e144f323fa97
/CodeForces/1096A/17763509_AC_31ms_0kB.cpp
c5da1bce40c64f4e6416edd5276b8bd4e86c8dd1
[]
no_license
1468362286/Algorithm
919ab70d1d26a4852edc27b6ece39f3aec8329eb
571e957e369f5dc5644717371efcc3f4578a922d
refs/heads/master
2020-06-01T23:56:22.808465
2019-06-09T08:44:55
2019-06-09T08:44:55
190,970,478
0
0
null
null
null
null
UTF-8
C++
false
false
511
cpp
17763509_AC_31ms_0kB.cpp
#include <iostream> #include <vector> #include <string> #include <stack> #include <queue> #include <map> #include <string.h> #include <algorithm> #include <utility> #include <assert.h> using namespace std; typedef _int64 ll; const int inf=0x3f3f3f3f; const int maxn = 100; int max(int a,int b){return a>b?a:b;} int min(i...
1f399d0c2d6a7fb2569e8537fcee07422b620aa5
260d4490deac756ba0d61fe4405fda1ed62c2c4a
/bank-view/messagereceiver.h
15e76ca6c77823dee74fce3f705b7f8833e57bfa
[]
no_license
smandyscom/front-base-widget
68837f93fa19eea74ddbf974f71cdbff20ad152d
e2127833a0b2bfb03053af66306fe619513e6a63
refs/heads/master
2021-07-12T18:27:38.309837
2018-11-29T08:11:47
2018-11-29T08:11:47
109,595,217
0
0
null
null
null
null
UTF-8
C++
false
false
420
h
messagereceiver.h
#ifndef MESSAGERECEIVER_H #define MESSAGERECEIVER_H #include <QObject> class MessageReceiver : public QObject { Q_OBJECT public: explicit MessageReceiver(QObject *parent = nullptr); ~MessageReceiver(); signals: void messageReceivedFormatted(QString arg); void messageReceivedRaw(QtMsgType type, co...
ba0e1153c1f250414b998678ab4b2e09e6eb502b
3270597ce4b7a3dcbe0df4b1aff9e253a4a6a8bb
/Project ฮŸฮฝฯ„ฮฟฮบฮตฮฝฯ„ฯฮนฮบฯŒฯ‚ ฮ ฯฮฟฮณฯฮฑฮผฮผฮฑฯ„ฮนฯƒฮผฯŒฯ‚/C++ Project/CodeBlocks Project Hotel/include/Hotel.h
f89d5484beeecb54bc6a54cd83a6e65092a492f9
[ "MIT" ]
permissive
DimitrisKostorrizos/UndergraduateCeidProjects
e39e443d75cde68ab77d1d1ce7110ff782e1b0be
8e55971f5a2c3b867b9f17a8d68c39b9898458dd
refs/heads/master
2022-12-07T14:19:25.086282
2022-11-25T20:44:15
2022-11-25T20:44:15
242,327,023
9
7
MIT
2020-09-30T19:16:38
2020-02-22T11:07:30
HTML
UTF-8
C++
false
false
832
h
Hotel.h
#ifndef HOTEL_H #define HOTEL_H #include<iostream> #include<string> #include<vector> #include<Room.h> #include<RoomTypeC.h> #include<RoomTypeD.h> #include<RoomTypeE.h> #include<Booking.h> using namespace std; class Hotel { public: Hotel(string); virtual ~Hotel(); string getHotelName() { return hotelName; } vo...
a3b0f02d6ff0c038bcb435ed63aeff64fef6bdde
0d949ae5cde3c2007ef87e4fcc062073049cf785
/proxyfield.h
72b0166d859b67bc6ad38d5bc92963c2ad421561
[]
no_license
ResoluteTeam/Battleship
7020c859d0825b6a360ed3ac63873e4c03cff0df
6fe5c9eeb083240a0a797cbb773ff10f335d6509
refs/heads/master
2021-01-18T21:47:25.616302
2016-06-07T02:06:16
2016-06-07T02:06:16
46,987,028
0
0
null
2015-11-27T21:14:10
2015-11-27T15:26:01
C++
WINDOWS-1251
C++
false
false
645
h
proxyfield.h
#ifndef PROXYFIELD_H #define PROXYFIELD_H #include "realfield.h" class ProxyField //ะšะปะฐัั-ะ—ะฐะผะตัั‚ะธั‚ะตะปัŒ (ะŸะฐั‚ั‚ะตั€ะฝ Proxy) { RealField *realField; int id, size; int x_pos; static int next_id; public: ProxyField(int pos, int sz) { id = next_id++; size = sz; realField = 0; ...
f5f5a2965ba3cee83e9e9e3b83c47ea98acdbac6
cdf9c9c76bb33836611ca88d84152dfccf60ed5c
/Object/material/glass.cpp
9f10aec44a04f1b2c4fb4e7b103ddb7414609568
[]
no_license
aureargo/superPoint
c7fa60ce6f0f2399324242253aacb55802768828
02c3397191629c3dc93f51093ca2deddb72844c6
refs/heads/master
2021-01-10T14:02:21.079527
2015-11-13T12:14:42
2015-11-13T12:14:42
42,996,306
0
0
null
null
null
null
UTF-8
C++
false
false
1,076
cpp
glass.cpp
#include "glass.h" Glass::Glass(const glm::vec3& color, float refractProp): Material(color), refractProp(refractProp) { } glm::vec3 Glass::direct(const Ray& cam, const glm::vec3& p, const glm::vec3& n, const Lumiere& l) const { /*if(!aLaLumiere(p,l)) return NOIR; float diffuse = fabsf(glm::...
fec2905fd8545218117540c4f8500851f68fc610
780cbbc911860b98784b1e97873338064099ce54
/ๆจกๆ‹Ÿๅ™จ/CommonFiles/LXY/VC++/ProcessAndHwndAndThread/Inject/MyInject.h
b70800791d2f4e2d45fe77668bb0b6e4a593ecb0
[]
no_license
lxy12306/vmp-confuse
0932ef3939f60ede8f474a86e9a57672a67b0645
a2b25e37b371d6b310202daf65af267498df0509
refs/heads/main
2023-07-08T20:30:36.828442
2021-08-14T03:02:21
2021-08-14T03:02:21
395,868,656
0
0
null
null
null
null
GB18030
C++
false
false
1,415
h
MyInject.h
#pragma once #include "F:\Code\object\ProcessAndHwndAndThread\MyProcess.h" namespace LXY { class RemoteThreadInjection:public SingleProcess { /*ๅ‹ๅ…ƒๅฃฐๆ˜ŽไปฅๅŠusingๅฎšไน‰*/ #define MD_Throw_Handle(szError) throw LXY::m_HandleException(__FILE__,__LINE__,#szError, GetLastError()) private: /*็งๆœ‰ๆ•ฐๆฎๆˆๅ‘˜*/ std::string strDllName;...
42617d75a14d94e8e887322330225471b651cde6
fea9068273f4cd339c3a64da818c0227943a4396
/stack/reverse_string_using_linkedlist_stack.cpp
b22ac661813e708410b274c20ff528a55ccb1739
[]
no_license
dthesiya/data-structure
fad8be1f67e6a427df8a560d9abb9e8e8e785cf2
991cd8c3497fe7f0cf7a7b1bc37cea9f1e3e0b22
refs/heads/master
2021-01-09T06:16:28.545821
2017-02-17T05:46:57
2017-02-17T05:46:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,163
cpp
reverse_string_using_linkedlist_stack.cpp
// // Created by Priyank Vora on 9/2/16. // #include<iostream> #include<stack> #include<stdlib.h> using namespace std; struct Node { int data; struct Node *next; }; struct Node *head = NULL; void Insert(int x); void Print(); void Reverse(); void Insert(int x) { struct Node* new_node = (struct Node*)mal...
a71acd2bcb45dfda9d9e8e54837ebf847f016fe2
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/squid/old_hunk_3794.cpp
1cd3a0253ab5b868b2e419bd3066c9fb7f7d8dbb
[]
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
733
cpp
old_hunk_3794.cpp
} void fatal_dump(const char *message) { debug (0,0) ("Fatal: %s",message); exit (1); } void fatal(const char *message) { debug (0,0) ("Fatal: %s",message); exit (1); } /* used by fatalf */ static void fatalvf(const char *fmt, va_list args) { static char fatal_str[BUFSIZ]; vsnprintf(fatal_str...
b5b8a27a0cc48abec21816a5e751cc331723cd27
83e01dcf901c92a3cff62fc6ee5315c0871d845e
/LinkedLists/ReorderList.cpp
4fc53afe8e717a707fa0ba687261e923a02f519b
[]
no_license
sushmatn/CodeLab
961bb991e6253a3fa914f0afe4bc2ade03d56ce2
ca34dce81d161088d8dd443f04424f464b35a179
refs/heads/master
2021-01-11T21:30:54.566820
2017-02-16T06:45:36
2017-02-16T06:45:36
78,795,625
0
0
null
null
null
null
UTF-8
C++
false
false
1,108
cpp
ReorderList.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ ListNode* reverse(ListNode* root) { ListNode* prev; while(root) { ListNode* next = root->next; root->next = prev; prev = root; ...
75d48de750739902357fcbaf30635a7ee41f53e7
1fe7bac822d93074cd4cb878252b3a5da4679d54
/src/syl_net/protocol/protocol.tcc
0cc9128976a853b644e5923ab5e10fd32f3dbfbe
[]
no_license
kretzmoritz/syl_net
63feeee4f511c27e3896a1a140e12c571cda2cab
dc996a38698e1a58597e9e7e4e73a924aa1de49f
refs/heads/master
2021-01-10T08:34:24.116363
2015-12-29T10:28:38
2015-12-29T10:28:38
48,741,222
0
0
null
null
null
null
UTF-8
C++
false
false
476
tcc
protocol.tcc
#include "protocol.h" namespace SylNet { template<class T> bool Protocol::registerNetworkable( Networkable::Id _id, T& _object, SylUtil::InterpolationFunction<T> _interpolationFunction, bool _disableDefaultInterpolation) { NetworkableTarget<T>* target = new NetworkableTarget<T>( _object, _interpolationFun...
1d41f8665d8886e6a97b9e8f4597474e3a0f107e
8cf632d53b333c4542db078b7475e58ffc44cec8
/src/generator/uc_pso_generator_stencil_function.h
3eb27091f7a6bf5fb312daf70f6ee32647b16207
[]
no_license
UniqueCreator/uc-tools-graphics-gpu-pipeline-compiler
0d6362d44e1868a5ba61f882de04fcda6cca0160
164c55cf07cc132a0c0571b3a3f1fe43b104b55c
refs/heads/master
2020-04-16T04:42:28.535671
2019-05-11T18:26:26
2019-05-11T18:26:26
165,277,888
3
1
null
null
null
null
UTF-8
C++
false
false
312
h
uc_pso_generator_stencil_function.h
#pragma once #include <generator/uc_pso_generator_comparison_function.h> namespace uc { namespace pso { namespace generator { template <typename iterator > struct stencil_function : comparison_function<iterator> { }; } } }
f3e1707c5ac202ffd03c999229de2beec7d2f456
c4ff0b8520786683e934902c708adbef1912e8cd
/CMakeProjectPort/include/Sx/IClickable.hpp
18e823d2d1e61a9d9195a745c9a7b27e939b2b18
[]
no_license
cerpins/RayFrame
26bacb50d7ae52ff6bd9ab22360a647e90b6e73d
fc998b4aa478dcf1a3b94352b9965b99c065c811
refs/heads/master
2023-04-25T16:33:36.644111
2021-05-26T13:23:42
2021-05-26T13:23:42
371,034,728
0
0
null
null
null
null
UTF-8
C++
false
false
518
hpp
IClickable.hpp
#pragma once namespace Sx { /* This should be rebuilt into a generic class which passes around an interface in initializer from (*this) and takes an array of "IInformWhenDeleted" pointers from a pipe. Essentially, an event class that signals it's own going out of s...
cbbd885dedd611daa3aa9bc02e320939fde8c73b
5c710bcf67f5e4efe3d33b26cf1a9ada15848b43
/AlvidLab2/AlvidLab2/task2/task2.cpp
574be87d56ea3f10a574a913abf961e33cd6ec7c
[]
no_license
alvid/Avalon
e6269e4d7f057a74caa73bd58a5240c5a728c2b3
b141f4599ba8218de4edf29a93b6a3ed4ec83f03
refs/heads/master
2021-03-06T19:20:21.550260
2020-04-08T10:23:09
2020-04-08T10:23:09
246,218,518
0
0
null
null
null
null
UTF-8
C++
false
false
3,511
cpp
task2.cpp
๏ปฟ// task2.cpp : ะญั‚ะพั‚ ั„ะฐะนะป ัะพะดะตั€ะถะธั‚ ั„ัƒะฝะบั†ะธัŽ "main". ะ—ะดะตััŒ ะฝะฐั‡ะธะฝะฐะตั‚ัั ะธ ะทะฐะบะฐะฝั‡ะธะฒะฐะตั‚ัั ะฒั‹ะฟะพะปะฝะตะฝะธะต ะฟั€ะพะณั€ะฐะผะผั‹. // #include <iostream> #include <future> #include <memory> // ั†ะตะปะตะฒะพะน ะพะฑัŠะตะบั‚ struct A { char data[2048]; A(std::string const& init_str) { memcpy(data, init_str.data(), std::min(init_str.lengt...
0e0c5602ffcf334e25097ccad03452475c12e7c6
867a035ae73d9ebac5586c224cca569e3dd26921
/client.hpp
af296f611de89c129506943ce007c91939972b64
[]
no_license
liouyi250/linux-socket
6edab52d12351a7ff1a3319659a42e8d797ced7a
3cd8264fd9795e1de22bbc56659d7fc30d2b05e7
refs/heads/master
2020-08-22T03:43:28.938817
2019-11-17T12:15:43
2019-11-17T12:15:43
216,310,464
0
0
null
null
null
null
UTF-8
C++
false
false
3,436
hpp
client.hpp
#ifndef _CLIENT_H #define _CLIENT_H #include <iostream> #include "common/socketwrap.h" #ifndef BUFF_SIZE #define BUFF_SIZE 10240 #endif class Client{ private: int connfd; char firstBuff[BUFF_SIZE*10]; char secondBuff[BUFF_SIZE]; int lastPos; public: Client(){ connfd=-1; lastPos=0; } ~Client()...
7139e7a3d964767ac4ed36dce6bd567631054751
40dc790849dedc6acebddd4bfc171b18d5c4aa64
/source/src/RStarMap.cpp
1c339808d422f97669e0900ec72d6a64f94eae14
[]
no_license
HU-R2D2/map
7a465e9913b27b4dbf13c4a6e1d76d7dfc653549
77f3239554d656cf22ca63e69e59463a15ee851b
refs/heads/master
2021-01-18T22:39:39.665703
2016-06-16T20:20:59
2016-06-16T20:20:59
55,134,273
0
1
null
2016-06-15T13:02:40
2016-03-31T08:39:01
C++
UTF-8
C++
false
false
10,566
cpp
RStarMap.cpp
// ++--++ // @file RStarMap.hpp // @date Created: <11-05-16> // @version <1.0.0> // // @author Chiel Douwes // // @section LICENSE // License: newBSD // // Copyright ๏ฟฝ 2016, HU University of Applied Sciences Utrecht. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modifi...
18d44afd1ee2195bca36f0ef7c17a142f3c39955
9ead5fcc5efaf7a73c4c585d813c1cddcb89666d
/m5/src/mem/ruby/tester/RaceyDriver.hh
9a4702ba82ff4fbecd6c337cebd11de48ee2a76f
[ "BSD-3-Clause" ]
permissive
x10an14/tdt4260Group
b539b6271c8f01f80a9f75249779fb277fa521a4
1c4dc24acac3fe6df749e0f41f4d7ab69f443514
refs/heads/master
2016-09-06T02:48:04.929661
2014-04-08T10:40:22
2014-04-08T10:40:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,880
hh
RaceyDriver.hh
/* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * 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 l...
dc390bbb4c133b3bdeab06768c299f028449993e
1801c9433f23923bd8a67009944e12e953ae21d9
/Untitled1.cpp
903d9deb59e2c98c69172daae6619ca223a5c7ac
[]
no_license
nguyenquan3004/gooo
faddb7ae577e460bbe9f50e5192502346a362c63
edcfe7d9aa89b735d37a7947e40e19c88cb39d17
refs/heads/master
2020-03-16T19:51:05.107881
2018-05-14T23:58:56
2018-05-14T23:58:56
132,934,759
0
2
null
2018-05-10T17:55:07
2018-05-10T17:43:16
null
UTF-8
C++
false
false
3,598
cpp
Untitled1.cpp
#include<stdio.h> #include<string.h> #define SIZE 100 typedef struct member{ char name[51]; int age; int ID; int group_ID; } ; typedef struct member member; void input(member *tv) { printf("Nhap vao so hieu thanh vien: "); scanf("%d", &tv->ID); while (getchar()!='\n'); printf("Nhap vao ten th...
386c942981ece1af9c0853c6127bcd9cb7989025
0ecf930e104dddd589c880c42fd8a9346f9e9e07
/samples/game/src/car.cpp
1c5fe3a9df07189d2dccfa5c4f178ec04b999043
[]
no_license
Erkaman/graphics-experiments
a9d111999fcd7ea73568d0392be61b246877c6e2
ca3759c03feedb62426d671b34ca09f8beaf3f3d
refs/heads/master
2020-04-11T02:58:15.332028
2016-05-19T16:30:44
2016-05-19T16:30:44
31,284,173
2
1
null
null
null
null
UTF-8
C++
false
false
6,214
cpp
car.cpp
#include "car.hpp" #include "ewa/geometry_object.hpp" #include "ewa/keyboard_state.hpp" #include "ewa/physics_world.hpp" #include "ewa/view_frustum.hpp" #include "ewa/bt_util.hpp" #include "ewa/common.hpp" #include "physics_mask.hpp" #include "env_camera.hpp" #include <btBulletDynamicsCommon.h> // hard coded for ...
7847754c41172d4c2be8827f965f60294a6530c1
1e79dc6583448fa711bc6f93ff29ffb982e58f1b
/code/l3-3-17.cpp
9ce61da175171415590a1b253672453f2a93c9c0
[]
no_license
QHSakura/c-NOTE
0416eacae4b8c5da7d5e11e26e2fa5f63947e300
80ce2a4582ba73841044437fa9c4e610456385e4
refs/heads/master
2022-05-13T03:11:58.310565
2018-06-07T11:55:20
2018-06-07T11:55:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
704
cpp
l3-3-17.cpp
๏ปฟ#include<iostream> #include<vector> #include<string> #include<cctype> using namespace std; int main(void) { //freopen("l3.17.txt", "r", stdin); string word; vector<string> sWord; while (getline(cin, word)) //ไธ€ๆฌก่ฏปไธ€่กŒ { sWord.push_back(word); } for (auto &i : sWord) //ๆณจๆ„ๆ˜ฏๅผ•็”จ { for (int j = 0; j < i.size();...
fe5c87defb45fe49bd795c6a42eee9f529d8f2fc
33a4e394085b2075b113dfb515b3a90180389d54
/C:C++_FULL_WITH_GRADES/A11/testcreature.cpp
20719ccab5303fac271df6ff1bf125c8871fc660
[]
no_license
chaudharyl/trial
05a493b3438c7a63481a948bde0e18f17fceabe0
5cc23e3666c9730159f107948ec080ec5aedfd88
refs/heads/master
2023-03-15T00:34:02.547450
2021-03-24T00:42:10
2021-03-24T00:42:10
350,899,703
0
0
null
null
null
null
UTF-8
C++
false
false
545
cpp
testcreature.cpp
/* CH-230-A a11_p4.cpp Lalit Chaudhary lchaudhary@jacobs-university.de */ #include <iostream> using namespace std; #include "Creature.h" int main() { //creating different inherited creatures and calling respective methods cout << "Creating an Creature.\n"; Creature c; c.run(); cout << "\nCreating a...
ceccf9469d358bf39895d3889fae5f56075a02ff
74b85fbd1d25fd5555e40d4739d0bd666db7dff5
/app/src/main/jni/quickjs/Toast.h
f485ba11664b41e4f841dc25d6c59e69c5c70bb9
[]
no_license
lxyMiao/android-quickjs
4c97d820daf7c73db7b00c007901e509dc7fe59b
3fa41fcb00b352baa4ad04ada009338594ca4954
refs/heads/master
2022-08-16T21:37:06.952210
2019-07-19T14:56:55
2019-07-19T14:56:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
787
h
Toast.h
#pragma once #include <jni.h> #include <android/log.h> #ifdef __cplusplus extern "C" { #endif #include "quickjs-libc.h" #include "quickjs.h" #ifdef __cplusplus }; #endif #define MYTAG "QuickJs" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,MYTAG ,__VA_ARGS__) #if defined(__cplusplus) #include <vector> #in...
39e33481ffc47ae56b15a771daddf8246bade120
81da01732d1373fb2791ee434769241c7be5806e
/LaputaEngine/LaputaGeneral/header/Logger.h
f3fe25383f8ed8ffd3b36e0acf7dc11eba895b23
[]
no_license
yachi001/LaputaEngine
7964f9c056508527f26121c723ff4696d4fba08f
adff2cd85c5716edb0e7726b4b78d16fb13eb750
refs/heads/master
2021-01-12T20:48:01.807047
2014-03-23T02:43:16
2014-03-23T02:43:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
688
h
Logger.h
#ifndef _LOGGER_H_ #define _LOGGER_H_ #include <string> #include <iostream> namespace lpta { class Logger { public: static Logger& GetLogger(const std::string& className); void Info(const std::string& message); void Debug(const std::string& message); void Warning(const std::string& m...
8d1dbbee42825dd6f3cb396f0e65a1b12c47a0b3
b9bbae69f41920778ea9b5348a597e498c5f1d2d
/Prac/03.11.20/main.cpp
37d320165a634e2f1b13322bac94f246afcf6038
[]
no_license
DanilShishkin/HSE-CPP
c74c980b7766e979314576188ef0dc52dc924715
d3dac56d51fd2fd45c1d705a686f308b17658acd
refs/heads/master
2023-02-03T01:39:56.835777
2020-12-16T17:28:16
2020-12-16T17:28:16
308,695,209
0
0
null
null
null
null
UTF-8
C++
false
false
1,395
cpp
main.cpp
#include <iostream> #include <vector> #include <type_traits> void empty(int top){ if (top == -1){ throw "Stack is empty"; } } template <typename T> void arithmetic(){ if (not std::is_arithmetic_v<T>){ throw "Typename should be arithmetic type"; } template <typename T> class Stack { privat...
104dea7c55e5aa50cd537ef8a26df70c2ba17d0c
99d6cc0cb357e4ec0ef1f4c61fc3aece633bd4bb
/DataFormats/MuonReco/src/RealME0Muon.cc
c1928897ddb8bfbe8704c611ad2dc9879884c2f8
[]
no_license
dnash86/ME0GlobalRec
1a366c2fd69ef7b57473c97467bc0402808c38b0
ce18c63b2ef07f7319610757bc6ed1691fc939be
refs/heads/master
2021-03-19T07:12:25.996661
2014-06-27T16:04:10
2014-06-27T16:04:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
166
cc
RealME0Muon.cc
/** \file RealME0Muon.cc * * \author David Nash */ #include "DataFormats/MuonReco/interface/RealME0Muon.h" using namespace reco; RealME0Muon::RealME0Muon() { }
68caaa75b48c9a1fef02406865a6272d8139a173
d7b84a31cafb72a3cb71b3a3cc724a68119ba18e
/Tyr/9.64/T
50f30551d9d30bc30515bcf4f40fa4d9a254c675
[]
no_license
benroque/Ragnorak
6cc7c68db801f9281a4ac241da754bce88ef6caf
a1bfc2430cccb207192792acebdd1530f1388a4c
refs/heads/master
2021-01-14T08:13:18.774988
2017-02-20T08:32:53
2017-02-20T08:32:53
82,008,402
0
0
null
null
null
null
UTF-8
C++
false
false
407,037
T
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | ...
603d6d8a86c41f6c2786a59695f69556f9dcd2b1
1c9ef57b9985f792a4f76ece97b928325b68f258
/src/exmachina/ExMachina.h
f1eb0fe089a6fc2573fc996ee45b8bac81de8015
[]
no_license
seapp/seapp_stable
99dbbfddf867d3bc6cf783cdadeb0700d78bb86c
75bde5636917610b04e0dcaec21fbd3438063b79
refs/heads/master
2020-05-21T04:53:01.982169
2019-12-30T11:51:44
2019-12-30T11:51:44
46,110,278
3
2
null
null
null
null
UTF-8
C++
false
false
601
h
ExMachina.h
/** * @file ExMachina.h * @author Francesco Racciatti <racciatti.francesco@gmail.com> * * @brief Experimental module. Executes ony disable. To extend for all physical attacks. */ #ifndef EXMACHINA_H #define EXMACHINA_H #include <omnetpp.h> #include <vector> #include "AttackEntry.h" using namespace std; cla...
7a049688d05927a175acb36d4e29208ea45bcd2a
71919dcc47a5f0003ff18e45cf0e61d2246157e0
/samples/RandomTest/RandomTest.cpp
099b8fc67846c568c1f4f9bcfc297eeb83c404a6
[ "BSD-2-Clause" ]
permissive
lygstate/turf
f8350840b7453038556daf112057241988f865c0
e1c36023e3da860d132e1e1e8e978d905e04c62a
refs/heads/master
2022-08-24T02:16:58.707574
2020-05-17T06:08:44
2020-05-17T06:08:44
264,595,494
0
0
NOASSERTION
2020-05-17T06:04:04
2020-05-17T06:04:03
null
UTF-8
C++
false
false
1,638
cpp
RandomTest.cpp
/*------------------------------------------------------------------------ Turf: Configurable C++ platform adapter Copyright (c) 2016 Jeff Preshing Distributed under the Simplified BSD License. Original location: https://github.com/preshing/turf This software is distributed WITHOUT ANY WARRANTY; without eve...
1325282f596f1ef809db1c744b5e28b4c51527fc
90b5c555b4e1ba763e405183a6c5defaba1720bc
/Crucible_Game/Hud.cpp
360395697f7423c35fc8be8a7ca33d92411c1426
[]
no_license
AaronCC/The_Crucible
b42abc29619c41f43d5bf4f88209eeeb32bbf077
7125c66a46971008647a9c7a3c4c0371d148e8e0
refs/heads/master
2021-04-09T14:26:14.717276
2018-04-29T22:21:34
2018-04-29T22:21:34
125,675,243
1
0
null
null
null
null
UTF-8
C++
false
false
23,656
cpp
Hud.cpp
#include "Hud.h" std::pair<int, int> Hud::checkLevelClick() { int stat = -1; std::string msg = this->levelButtons.getEMsg(oldMousePos); if (msg == "atk") stat = 0; else if (msg == "kno") stat = 1; else if (msg == "def") stat = 2; else if (msg == "agi") stat = 3; if (stat != -1) levelCache--; return { stat, 1...
baebbd47259982d2ebc8c43c0a05671e4f58fb5e
956ae70d0a06c583d777e929b567ba4b564ad4dd
/Chord/gu-search.cc
1220c53fc40ee138e0a8ec8b6e8e00ef8aaabe15
[]
no_license
SamThacher/CNproject
033dd7a26fa00ba8614ef4a59a164f53498013bb
3b97eb8a96084d1847d54585dc6ca1130d99c48c
refs/heads/master
2021-01-24T16:53:23.347040
2018-05-03T00:25:31
2018-05-03T00:25:31
123,218,144
0
1
null
2018-02-28T02:45:44
2018-02-28T02:35:50
null
UTF-8
C++
false
false
12,586
cc
gu-search.cc
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Pennsylvania * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This p...
05ff3c8b2b56d86c2e6592f1f88c23f2e7b63b9b
69e2ab49ab9942296f97f2aef73f20ec56171f30
/284B.cpp
8765102edee29f5375d7301f59774441d2ef0345
[]
no_license
hllj/Codeforces
f2957d8caa97e35772aa2f98ed84373a2fe11908
15b6c4a68168a7b5ec97c4056637587ca40e9f3e
refs/heads/master
2020-03-28T10:55:23.523528
2019-11-02T16:00:49
2019-11-02T16:00:49
148,159,509
0
0
null
null
null
null
UTF-8
C++
false
false
798
cpp
284B.cpp
#define _CRT_SECURE_NO_WARNINGS #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false); cin.tie(0); #define all(v) (v).begin(), (v).end() #define fi first #define se second typedef long long ll; typedef pair<int, int> pi; const int INF = (int) 1e9; const ll LINF = (ll) 1e18; int main() { ...
02748719e5f58b9fd9ea30f057e94d7f6f428b96
07f547ccf04c6ea00375e0494b84179f6de72780
/CustomWidget/PlayStateControl/PlayStateControl.cpp
82dd558624e631844e0109ba4aeda85c22c40b9f
[]
no_license
suncaiyu/qt-custom-widget
1b4db38e8e90c93a0519d9658cc0d8398b55b889
a869e1bf39325031c5ab3a99681f85eeca0096e5
refs/heads/master
2022-06-10T18:27:05.134831
2022-05-13T14:35:53
2022-05-13T14:35:53
229,648,103
4
2
null
null
null
null
UTF-8
C++
false
false
2,864
cpp
PlayStateControl.cpp
๏ปฟ#include "PlayStateControl.h" #include <QPainter> #include <QPaintEvent> #include <QPainterPath> #include <QDebug> PlayStateControl::PlayStateControl(QWidget *parent) : QWidget(parent) { setPalette(Qt::white); diskPixmap.load(":/img/mediaDisk.png"); polePixmap.load(":/img/Pole.png"); c...
5ddb4f43fa4d6e8f48c7b177d5059a5293ca0224
44a56e21a3d6f9e7752e6f9553ba42ebf2907c23
/2048/c-fortran/game.cpp
f5acf5bc01c9326b18ad9f383d745128710b6c57
[]
permissive
0382/have-fun
2c8824fbd092c2764bf63b6917af294104efa128
7a7a1ad5f8aa2218bc6e279b761f58cab648c89c
refs/heads/master
2023-06-25T07:25:40.830228
2023-06-08T12:50:44
2023-06-08T12:50:44
236,752,327
0
0
MIT
2022-06-07T01:13:12
2020-01-28T14:20:09
HTML
UTF-8
C++
false
false
132
cpp
game.cpp
#include "2048.h" int main(int argc, char const *argv[]) { auto game = basic_2048(); game.start(); return 0; }
ac3b0772174f3f7cc96f19f4e795961d8583b30f
c46a1357646306b81d5a49791021d34cf0caf44c
/lista_livro_python/exercicio3.12.cpp
ff4245cc58ff337f355a564b203906b41bf1fd1a
[ "MIT" ]
permissive
robinson-1985/mentoria_exercises
b3723a38cf9ba2a80b4a703e24291c9805bd1408
8359cead6ee5351851b04cb45f252e3881b79117
refs/heads/main
2023-03-07T07:53:17.995120
2021-02-07T20:48:56
2021-02-07T20:48:56
320,094,707
0
0
null
null
null
null
UTF-8
C++
false
false
583
cpp
exercicio3.12.cpp
/* 3.12. Escreva um programa que calcule o tempo de uma viagem de carro. Pergunte a distรขncia a percorrer e a velocidade mรฉdia esperada para a viagem. */ #include <stdio.h> int main(){ float distancia, velocidade_media, tempo_viagem; printf("Qual a distรขncia que vai percorrer em km: \n"); scanf("%f", &dis...
8844f09e3814f3d61f9479828c3e5e6b6964a5ce
cf67452bb206c63f001c49556d93103f60475ef1
/backend/main.cpp
bc3995ccdcaafa1d01ea6798e92f39c6f4a70078
[]
no_license
Stazer/autonomouscabs
a4f117325a105de10ded88ac96d450ab4ae24a2e
8d9d9ce5037a02c74a6b4fedbd62d5c636f63a4c
refs/heads/master
2022-11-23T22:12:33.761662
2020-07-26T20:16:39
2020-07-26T20:16:39
261,213,010
3
0
null
2020-07-18T14:00:35
2020-05-04T14:54:53
C++
UTF-8
C++
false
false
502
cpp
main.cpp
#include <iostream> #include <exception> #include "application.hpp" int main(int argc, char** argv) { std::cout << "Autonomous Cabs Backend\n"; int return_value = 0; try { application application; return_value = application.run(argc, argv); } catch(std::exception& e) { ...
97352e7821512b30649fbbbdab0bcc267b4b5048
9fe399f9a21aa95837a411f8f9d370bb83fcb9a1
/lab9q14.cpp
f8df6de526505ec83dc8b5d72d8b58b3a4fd917a
[]
no_license
ayushisahu/ayushi
ec638f484fe47abb3cc352eb6138d82bb4a0e919
d798351d3be48ab9d5ce7622e92693e824d1b515
refs/heads/master
2020-03-26T08:28:37.442648
2018-11-14T04:10:33
2018-11-14T04:10:33
144,704,342
0
0
null
null
null
null
UTF-8
C++
false
false
413
cpp
lab9q14.cpp
//string that stores my name in it #include<iostream> #include<cstring> using namespace std; int main(){ char name[11] = {'a','y','u','s','h','i','s','a','h','u'}; //printing name by normal index method cout<<"my name is "; for (int i=0;name[i]!='\0';i++){ cout<<name[i];} cout<<endl; //printing by pointer method ...
f928a31cca9757b0689c7e56d8971b9d32735bab
724582ee786baf655643f8b4a9c725bf97e0f1c1
/mediaparser/audio_suquence_header.h
16f0902277d84f04342288dc030c67ffd91d79d8
[]
no_license
breezeewu/ffmpeg_tools
8d703c8ee7904541f847e7600a6a54945f53ddfa
b9a70f7c4e141125d58be8ad05c2a460212846a6
refs/heads/master
2023-08-08T00:54:47.127922
2021-09-16T13:50:59
2021-09-16T13:50:59
407,179,530
0
0
null
null
null
null
UTF-8
C++
false
false
16,292
h
audio_suquence_header.h
#ifndef AUDIO_SEQ_HDR_H_ #define AUDIO_SEQ_HDR_H_ #include <stdio.h> #include <stdint.h> #include "bitstream.h" #include <assert.h> //#include "lazylog.h" //#include "bitstream.h" //#define lbtrace AVTRACE //#define lberror AVTRACE #ifndef lbtrace #define lbtrace printf #endif #ifndef lberror #define lberror printf #en...
424f2d344a164551e7c723261068efaba689b786
3e55231edfaa8478a473681f98a27cabea78d5b6
/6_Ch_nRF24L01_Tx_&_ Rx code - elekkrypt/6_Ch_nRF24L01_Tx_&_ Rx code - elekkrypt/6_Ch_nRF24L01_Tx_&_ Rx code - elekkrypt/6Ch_nRF24L01_receiverCode/6Ch_nRF24L01_receiverCode.ino
8484a43a47ce3b4fd923e5441149d734d13c7fdc
[]
no_license
dhirajkushwaha/nRF24L01-Arduino-Projects
426a785c5e0702f799171b949dfbbef37698177e
2165a004d3bfadadec93ac8ec4e7392bc4dafca8
refs/heads/main
2023-08-30T02:15:36.337869
2021-09-20T13:38:16
2021-09-20T13:38:16
337,505,389
0
0
null
null
null
null
UTF-8
C++
false
false
1,662
ino
6Ch_nRF24L01_receiverCode.ino
/* * This is a 6 channel nrf24l01 transmitter and receiver code. * There are 6 outputs in the receiver end, of which 2 outputs are for led(on/off) and the remaining 4 outputs are for 4 leds with brigtness control. * * To know more refer the below links: * https://youtu.be/Pd7rus79j_4 * https://dhirajkush...
c95167881c736ff2e31a93f75f4b9e31381691d2
5f22f4fd92576fe4287bf891967b373cc5913b30
/include/Networking/InvalidURL.h
df62e08d82b70336030b87d5312dce1b98ab4778
[]
no_license
barnabycolby/Magneto
b76eda3f5e7081bf83deed1478f9d41f031792ff
f97de9ab44d31f02a46adb160962101cff31ace8
refs/heads/master
2021-01-14T13:57:43.834545
2013-12-27T17:07:25
2013-12-27T17:07:25
15,270,201
2
0
null
null
null
null
UTF-8
C++
false
false
282
h
InvalidURL.h
#ifndef INVALID_URL_H #define INVALID_URL_H #include <exception> #include <string> using namespace std; class InvalidURL : public exception { public: InvalidURL(string message); ~InvalidURL() throw(); virtual const char* what() throw(); private: string message; }; #endif
aa2c62b2239eb8ba1ed554dafa165c17cccb89c2
b1ec31f5854ee53f371332129ab053a845857aa5
/C++/Solved/782_TransformToChessboard.h
660d899eb9976ab9c6e1b053eb2f5ccc2fd8ee37
[]
no_license
bubbercn/LeetCode
e9c1ec2e6f9260b69f64e63fbd2bf97cf65e3ad7
42c19adba8d360059e8159564d7384d662c24e8d
refs/heads/master
2023-08-31T10:40:06.288845
2023-08-26T13:55:55
2023-08-26T13:55:55
56,971,005
0
0
null
null
null
null
UTF-8
C++
false
false
3,262
h
782_TransformToChessboard.h
#pragma once #include "Common.h" class Solution { public: int movesToChessboard(vector<vector<int>> &board) { int n = board.size(); // examin first row and first column int count0 = 0, count1 = 0; for (int i = 0; i < n; i++) { if (board[0][i] == 0) ...
83195e9001fb32f7c9332828d179a6deaa69e083
88b130d5ff52d96248d8b946cfb0faaadb731769
/storage/src/vespa/storageapi/message/queryresult.cpp
b5d29cf4e0222ca889d8f48d88c3c6b0c70ad654
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vespa-engine/vespa
b8cfe266de7f9a9be6f2557c55bef52c3a9d7cdb
1f8213997718c25942c38402202ae9e51572d89f
refs/heads/master
2023-08-16T21:01:12.296208
2023-08-16T17:03:08
2023-08-16T17:03:08
60,377,070
4,889
619
Apache-2.0
2023-09-14T21:02:11
2016-06-03T20:54:20
Java
UTF-8
C++
false
false
1,092
cpp
queryresult.cpp
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "queryresult.h" #include <ostream> namespace storage { namespace api { IMPLEMENT_COMMAND(QueryResultCommand, QueryResultReply) IMPLEMENT_REPLY(QueryResultReply) QueryResultCommand::QueryResultCommand() ...
56f60ebfb6fb384e390d8cf906f168c87a5b62fe
67c5af74057025a3259d77d7370cb3dd1548ed76
/myuart.cpp
915f13a0b81bd1a78ce8532edf979f0d05e20656
[]
no_license
nightsenven/PARKINGSYSTEM
99454dff3e0c6ef7a63ef01dcfab99d90a60935a
58123866be530abf2faa4cace5b0e9f90b66a637
refs/heads/main
2023-01-02T07:14:07.889970
2020-10-29T00:38:33
2020-10-29T00:38:33
308,175,667
0
0
null
null
null
null
UTF-8
C++
false
false
5,910
cpp
myuart.cpp
#include "myuart.h" myuart::myuart(QObject *parent) : QThread(parent) { //ๆ‰“ๅผ€ไธฒๅฃ fd=open_uart(); //ไธฒๅฃๅˆๅง‹ๅŒ– init_uart(fd); //่ถ…ๆ—ถๆ—ถ้—ด timeout.tv_sec = 1; timeout.tv_usec = 0; flag=0; } //ๅ…ณ้—ญไธฒๅฃ myuart::~myuart() { close(fd); } //ๆ‰“ๅผ€ไธฒๅฃ int myuart::open_uart() { int fd; //ๆ‰“ๅผ€ไธฒๅฃ็š„้ฉฑๅŠจ fd...
dfc9727ceb70181d69242cb3b9e246fede190616
a75d0418b2143d6f59635a8833bff49bc903df5e
/DofusMessages/IdentificationFailedBannedMessage.h
12c777a0bfa39bddfc1ce716e53b53fe108ba941
[]
no_license
Arkwell9112/dofus_bot
30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8
fc1b805b70c0ed43cbc585322806ece89d057585
refs/heads/master
2023-01-16T01:08:06.710649
2020-11-23T20:53:00
2020-11-23T20:53:00
314,084,045
0
0
null
null
null
null
UTF-8
C++
false
false
436
h
IdentificationFailedBannedMessage.h
#ifndef IDENTIFICATIONFAILEDBANNEDMESSAGE_H #define IDENTIFICATIONFAILEDBANNEDMESSAGE_H #include "IdentificationFailedMessage.h" #include "../BotCoreAPI/BotCoreAPI.h" #include <string> #include <vector> class IdentificationFailedBannedMessage : public IdentificationFailedMessage { public: double banEndDate = 0; ...
b1a1eec815e069217d03740a9b109a2b6fda5357
f2c0259c672277d6f17a715e10f5e5ecdd00d605
/smtk/graph/pybind11/PybindResourceBase.h
bf968f952a9e885db0801039b7b7021974006b45
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Kitware/SMTK
83ff15620f801f12488ad238a4cf36f2998cfd14
a16cf5393f91d97dca2db0c2bd46d21864152c66
refs/heads/master
2023-08-31T18:54:44.534709
2023-08-28T14:35:32
2023-08-28T14:35:50
28,104,084
50
30
NOASSERTION
2023-07-20T11:08:10
2014-12-16T20:02:07
C++
UTF-8
C++
false
false
1,571
h
PybindResourceBase.h
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
08f8af07c8a4eba5059a7c528c23a8ab2dd9e276
90997256b53b76f6fc55e01aa5e40e5ba63e81b4
/include/frozen/bits/algorithms.h
4efa61b218ea324fd323db98636b30e1063d69c2
[ "Apache-2.0" ]
permissive
serge-sans-paille/frozen
ab4c0c143c96dcb46d69fed1e6777bd242c1f721
c241d64279d30a013be2601d42564280f950bcb8
refs/heads/master
2023-09-05T05:56:13.058865
2023-08-28T04:59:09
2023-08-28T05:26:17
92,028,303
1,111
103
Apache-2.0
2023-08-28T05:26:18
2017-05-22T08:09:44
C++
UTF-8
C++
false
false
7,467
h
algorithms.h
/* * Frozen * Copyright 2016 QuarksLab * * 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 Lice...
3e73410012d556ffbbf54b109060d1543fda4d3f
25da2b85d5623bd03306a2f612e969a3d7927c74
/servidor/Clases/Posicion.cpp
afc18a3153ab96caee7f0fc0a89b6e6139c60671
[]
no_license
moreover22/ArgentumOnline
f55e7863e31d0e73e474a2ee9c86fe17b91da522
80f334112c42d35e2303f45eb64f1b1ce9cf06c7
refs/heads/master
2023-03-18T22:08:57.574188
2020-07-21T20:36:42
2020-07-21T20:36:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,797
cpp
Posicion.cpp
#include "Posicion.h" #include "Configuraciones.h" #include <utility> #include <sstream> #include <cmath> ////////////////////METODOS AUXILIARES//////////////////// static bool floatComp(float a, float b, float epsilon = 0.1){ return fabs(a - b) < epsilon; } /////////////////////////METODOS///////////////////////...
6d49b292912b896e3010a54dc9500775b2cb4556
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/base/ntsetup/spsetup/regdiff/regdifffile.h
3304e481a229ca29d87fadd6369bbb7f9af15d5a
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
1,044
h
regdifffile.h
// RegDiffFile.h: interface for the CRegDiffFile class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_REGDIFFFILE_H__898750DA_897E_4F8A_BD51_899EC068C300__INCLUDED_) #define AFX_REGDIFFFILE_H__898750DA_897E_4F8A_BD51_899EC068C300__INCLUDED_ #if _MSC_VER > 1000 #pra...
99f41867fbfbde6979ec4a95d5f2bb087460fb4d
792f2ee67210556f224daf88ef0b9785becadc9b
/atcoder/Other/DDCC2016-C.cpp
d821f931f5fd2528125de5e262a3e37787100a44
[]
no_license
firiexp/contest_log
e5b345286e7d69ebf2a599d4a81bdb19243ca18d
6474a7127d3a2fed768ebb62031d5ff30eeeef86
refs/heads/master
2021-07-20T01:16:47.869936
2020-04-30T03:27:51
2020-04-30T03:27:51
150,196,219
0
0
null
null
null
null
UTF-8
C++
false
false
825
cpp
DDCC2016-C.cpp
#include <iostream> #include <algorithm> #include <vector> #include <iomanip> #include <map> #include <queue> static const int MOD = 1000000007; using ll = long long; using u32 = unsigned; using namespace std; template<class T> constexpr T INF = ::numeric_limits<T>::max() / 32 * 15 + 208; int main() {...
d78815aac54ee0c92db0065084809d298b7928dd
c2c127bb627265dfa1970aa7951238f935380aee
/Multiplayer Blackjack/src/Core/gui/Label.cpp
4ffd7ed771d9cc023bd5799b6106afa59f8d8b11
[]
no_license
Daninjakiwi/Multiplayer-Blackjack
f4e82e87a7b36a4edfca343bc7aefd7be698830e
471cc8fd99187700249da949df672a4cc5dfc77d
refs/heads/master
2020-09-04T19:32:34.872460
2020-01-24T21:04:22
2020-01-24T21:04:22
219,869,211
0
0
null
null
null
null
UTF-8
C++
false
false
4,806
cpp
Label.cpp
#include "Core/Log.hpp" #include "Label.hpp" namespace blackjack::core { Text::Text(const float x, const float y, const std::string& text, Font* font) : GuiElement(x,y,100,100, font->GetMaterial()),text_(text),font_(*font), offset_(0) { SetText(text); } Text::Text(const float x, const float y, const std::string&...
93d14e06e87590a399091cf76cf238722ddf8148
86b53650716d14134591909662465b9b028864b9
/C++/c55.h
85bc04880442e257272bd2b6f39c813ee8e40522
[]
no_license
KaneZhao/LintCode
e2a595656e1518493624def75d40f26a41170f63
2ed5f10354cf5dfc383c66496440ad738361f7cf
refs/heads/master
2018-09-24T19:02:11.855774
2018-07-27T15:00:59
2018-07-27T15:00:59
111,538,283
1
0
null
null
null
null
GB18030
C++
false
false
761
h
c55.h
#ifndef C55_H #define C55_H #include<iostream> #include<string> #include<vector> using namespace std; /* * ๆฏ”่พƒๅญ—็ฌฆไธฒ * * ๆฏ”่พƒไธคไธชๅญ—็ฌฆไธฒAๅ’ŒB๏ผŒ็กฎๅฎšAไธญๆ˜ฏๅฆๅŒ…ๅซBไธญๆ‰€ๆœ‰็š„ๅญ—็ฌฆใ€‚ๅญ—็ฌฆไธฒAๅ’ŒBไธญ็š„ๅญ—็ฌฆ้ƒฝๆ˜ฏ ๅคงๅ†™ๅญ—ๆฏ * ๆณจๆ„ไบ‹้กน * ๅœจ A ไธญๅ‡บ็Žฐ็š„ B ๅญ—็ฌฆไธฒ้‡Œ็š„ๅญ—็ฌฆไธ้œ€่ฆ่ฟž็ปญๆˆ–่€…ๆœ‰ๅบใ€‚ * ๆ ทไพ‹ * ็ป™ๅ‡บ A = "ABCD" B = "ACD"๏ผŒ่ฟ”ๅ›ž true * ็ป™ๅ‡บ A = "ABCD" B = "AABC"๏ผŒ ่ฟ”ๅ›ž false */ class Solution { public: bool compareStr...
06bf0ae65a59bcb8205fac33d93e14db2c51b02e
bcc3d6f4c6b770a87ad0bfd6de2de26d993c4e26
/Software-toMove/FARKUS flash sim/FARKUS flash sim/CubeletsShield.cpp
638bb46d41445db148625ebb6da5a299e8b1d392
[]
no_license
modrobotics/FARKUS
366085064558a0f5bcb367b932482f5e5f2fa733
83cf395ce37c0469d2ed249f68b96a55702ce089
refs/heads/master
2020-05-02T19:50:57.406082
2014-08-05T02:32:52
2014-08-05T02:32:52
13,183,568
6
0
null
null
null
null
UTF-8
C++
false
false
8,599
cpp
CubeletsShield.cpp
/* CubeletsShield.cpp - A Library for interacting with the Cubelets Arduino Shield. Modular Robotics, 2013 Created by Jonathan Moyes, June 9, 2013 */ #include "Arduino.h" #include "CubeletsShield.h" // Initialize Global working variables volatile unsigned char rec_byte_i2c;; // Worker variable to hold I2C...
ffd4b891ddd890ce6462841e084fa791b67d4c0f
7754e632807126d65f2c8fd16545adea0d55cc16
/Problems/#1337 The K Weakest Rows in a Matrix.cpp
6b553d326641d4509a08304da530f589391b0de5
[]
no_license
rahulthetoolsmaker/LeetCode
2fd0b4d2879a65fbb9fdd75b7e35b9d080b8a302
fc9533a2c75f521790070b9df1c2b3cf64173f66
refs/heads/main
2023-08-14T04:31:45.767960
2021-09-30T18:21:14
2021-09-30T18:21:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
780
cpp
#1337 The K Weakest Rows in a Matrix.cpp
// Search array 14 // #1337 The K Weakest Rows in a Matrix class Solution { public: vector<int> kWeakestRows(vector<vector<int>>& mat, int k) { vector<pair<int,int>> freq; for(int i=0;i<mat.size();i++){ int count = 0; for(int j=0;j<mat[i].size();j++){ if(mat[...
6b1937cf0cc0d6c7bdcc9d644834cebc138c6cba
73f2cdaecf3f726d534ce728c8f71cfbe7c7e3e6
/ESP8266WindowCover/ESP8266WindowCover.ino
9dd7c4b5938f7052dcfc1ee29f05a7de356674ac
[ "MIT" ]
permissive
osmanatam/MQTTWindowCover
c118dc516dad25940cf2be4d7382b203a5a57ce6
ec797d4e74948dc3bb4545c22c0304a2870ebd42
refs/heads/master
2022-04-08T04:08:56.919405
2019-03-05T15:41:27
2019-03-05T15:41:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,975
ino
ESP8266WindowCover.ino
#define LightServiceDebug RSerial #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <ESP8266HTTPUpdateServer.h> #include <ESP8266mDNS.h> #include <DNSServer.h> #include <RemoteDebug.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <EEPROM.h> #include <PubSubClient.h> #include <TimeLib.h> #incl...
2b998aabe6463174149291bbb69c02e10f51438b
ac1551bd38d0b71a89d2bad1561a26ba0d0ad18e
/Datalog/src/CPP_Template/include/lockedvectorint.hh
e331c9c0af4e63f6357f819e9b2c69d53f288801
[]
no_license
AllanInComp/okami
f3d7102d13eed465106638df0631596fdbc238f3
4e7c7d0f15dac8f1e462d1ad6a5e463b4c01e465
refs/heads/master
2023-07-23T07:24:49.725067
2017-04-04T10:50:19
2017-04-04T10:50:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
380
hh
lockedvectorint.hh
%% fill_Header #include <vector> #include <mutex> #ifndef LOCKEDVECTORINT_H_ #define LOCKEDVECTORINT_H_ class LockedVectorInt { private: std::vector<int> array; std::mutex array_lock; public: void lock() { array_lock.lock(); } void unlock() { array_lock.unlock(); } void add(int x_1) { array.push_back(x_1); } ...
6934145d35860bc7c109fb2771bc9b4da5b2f5f1
04fee3ff94cde55400ee67352d16234bb5e62712
/8.7/0807test/source/็‰›ๅฝฆๅ“ฒ/pcr/pcr.cpp
5d58e500e7128c92c5df1e4179201885493a091c
[]
no_license
zsq001/oi-code
0bc09c839c9a27c7329c38e490c14bff0177b96e
56f4bfed78fb96ac5d4da50ccc2775489166e47a
refs/heads/master
2023-08-31T06:14:49.709105
2021-09-14T02:28:28
2021-09-14T02:28:28
218,049,685
1
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
pcr.cpp
#include<stdio.h> #include<stdlib.h> #define mo 19260817 long long calc(long long n) { if(n==1) { return 2; } long long t=calc(n/2); if(n%2==0) { return t*t%mo; } else { return t*t%mo*2%mo; } } int main() { freopen("pcr.in","r",stdin); freopen("pcr.out","w",stdout); long long n...