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
b3b2c2a6abdaedddc7393b9b93dc922d9c7681aa
bcbf968884d30cb038ee3d784c657e5e368daa01
/Stitching/src/sift_matcher/sift_matcher.hpp
4b9c08a396ff9249d855c5b987b2fab560c4d222
[]
no_license
fireae/computer-vision-course
75af7e6ec9ec9944e4e022f599f0650615e79062
dbc77908bc05e937a7bdc2479d377f1fccec0a00
refs/heads/master
2020-04-23T15:10:27.720018
2018-07-23T07:59:54
2018-07-23T07:59:54
171,255,628
1
0
null
2019-02-18T09:39:33
2019-02-18T09:39:32
null
UTF-8
C++
false
false
3,932
hpp
sift_matcher.hpp
#ifndef SIFT_MATCHER_HPP #define SIFT_MATCHER_HPP #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/xfeatures2d.hpp> //Thanks to Alessandro #include <opencv2/flann.hpp> #include <iostream> #include <CImg.h> #include <string> #include <queue>...
ee2eda8644af039820cdb64891367c9e9dee72b9
e8db50e2227f66b7fbe223467c8509d34cc25b70
/tuple.h
8edf2db3013214b024d9dce6d7806b40f40bb73e
[]
no_license
pycpp/stl
b281993f2d9cc9b73c5b12e32291053038187dba
baa0daac8e8e7ac56a46b3e05df2f46e54b155c5
refs/heads/master
2021-05-10T11:01:26.392237
2018-01-29T00:16:25
2018-01-29T00:16:25
118,400,250
0
0
null
null
null
null
UTF-8
C++
false
false
1,567
h
tuple.h
// :copyright: (c) 2017-2018 Alex Huszagh. // :license: MIT, see licenses/mit.md for more details. /** * \addtogroup PySTD * \brief <tuple> aliases. */ #pragma once #include <pycpp/stl/tuple/apply.h> #include <pycpp/stl/tuple/make_from_tuple.h> #include <pycpp/stl/type_traits/logical.h> PYCPP_BEGIN_NAMESPACE ...
2ebb59bfbdf107aafafeeb2cd1b9e3be655fbeb1
8b21334e6d55fec4bdf978a84d93383be1191876
/tms_ss/tms_ss_pot/include/multiple_particle_filter.cpp
8db23dfb95e991f2a9010e7b80465e7f5e4998f0
[]
no_license
SigmaHayashi/ros_tms_for_smart_previewed_reality
1d741ec93e9d70755b6199e7a86cf2228817c3da
4ace908bd3da0519246b3c45d0230cbd02e49da0
refs/heads/master
2022-06-14T00:18:26.423268
2020-05-03T15:29:04
2020-05-03T15:29:04
257,358,222
0
0
null
null
null
null
ISO-8859-1
C++
false
false
10,593
cpp
multiple_particle_filter.cpp
<<<<<<< HEAD #include <stdio.h> #include <stdlib.h> #include <math.h> #include <vector> #include <string.h> #include <pthread.h> ======= // ParticleFilter.cpp : ŽÀ‘•ƒtƒ@ƒCƒ‹ // #include <stdio.h> #include <stdlib.h> #include <math.h> #include <vector> #include <string.h> #include <pthread.h> >...
2001d0118d3d0285cd3dba7b02098e25581dd9df
5990d5d3060657de488d0cb6027aceb2926adfee
/Faro.h
6423cb1879e65e4d63d88834492441e43638c1f6
[]
no_license
AlbertoCasasOrtiz/UCM-Informatica_grafica-Practica_3
9567c7e81dabac61b07ae5d645c288ec074e6339
5286464c9c7d337491011995a5feec0110eb2293
refs/heads/master
2020-12-30T16:41:33.178245
2017-05-11T19:01:02
2017-05-11T19:01:02
91,013,964
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
1,390
h
Faro.h
#ifndef FARO_H #define FARO_H #include "ObjetoCompuesto3D.h" #include "Cilindro.h" #include "Disco.h" using namespace std; /* Clase faro. Faro del coche. */ class Faro : public ObjetoCompuesto3D { private: /*Cilindro que será el cuerpo del faro.*/ Cilindro *cilindro; /*Disco que será la tapa del faro.*/ Disco *d...
30552bf6c496e61372acce2bb95923b7ede0e26f
32ced74ff6273cfd4df49b9a014adcadbf750a37
/src/PlayingField.cpp
3ed761e6527bd3157617a1e3da50d5be0315e75b
[]
no_license
rip1ey/pong
442f63bf071b564b45b6ad40fc43b5cb56205e3a
a58ff29ee063668130f4251fdd6a3329a5a81201
refs/heads/master
2023-01-22T00:41:50.008416
2020-11-28T22:52:31
2020-11-28T22:52:31
280,580,165
0
0
null
null
null
null
UTF-8
C++
false
false
4,520
cpp
PlayingField.cpp
#include "PlayingField.h" #define PI 3.14159265 PlayingField::PlayingField() { int playerX = width / 10; int npcX = ((width / 10) * 9) - PADDLE_WIDTH; int startY = (height / 2) - (PADDLE_HEIGHT / 2); int ballX = (width / 2) - (BALL_WIDTH / 2); int ballY = (height / 2) - (BALL_HEIGHT / 2); playerPaddle =...
f107474baa84a89da6136a6d1cfd45eb9fefe739
0a9c03346e4ddde75beeebd252b6f332665527af
/Week-1/Perfect.Number.cpp
edfb8742782a62fc10c97d1d78c002082282b254
[]
no_license
Prakhar55/NPTEL---Programming-Data-Structures-Algorithms
145b944fbf1e3b0fafa0fab60fcb66ede865fef2
e76f131a0e9c0b9d0d74cf0ffb97595a2f4a2149
refs/heads/master
2021-01-10T16:06:05.525960
2016-03-26T08:11:18
2016-03-26T08:11:18
53,275,831
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,339
cpp
Perfect.Number.cpp
/*Write a program to find whether a given number (say x) is a “perfect number” or not. Definition of Perfect number: A perfect number is a positive integer that is equal to the sum of its proper positive divisors excluding the number itself. By this definition, 1 is not a perfect number. Explanation: Take numbe...
e2efaaf60fb508c19df4f5c60d036868fa9c2e39
25d01103cdceffd02aa09607791fc85708ba6d50
/Summer_Training_2018/Network_Contest/ICPC_Nanjing_0901/L_test.cpp
ee9fd87eccb109ec59ea01d634cdf17adaa00413
[]
no_license
MoonChasing/ACM
3aea87957c695eec5dced21e0cc53c2fcb0fe3e6
aa5878646a47bf258cb2698d5068edb57fe1d03e
refs/heads/master
2020-03-24T13:07:31.432360
2019-02-27T14:53:10
2019-02-27T14:53:10
142,735,585
0
0
null
null
null
null
GB18030
C++
false
false
2,183
cpp
L_test.cpp
#include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <set> #include <map> #include <queue> #include <vector> #include <utility> #include <algorithm> #define MAXN 100010 #define INF 0x3f3f3f3f #define DEBUG #define DataIn typedef long long LL; using namespace std; int N, M, K; struct q...
c562bc3242149fdd590432e7761ff5fb15d77674
0b8f36d599f971603c77b0b2bdf2697308817ff5
/RxPJServer/RxWSocket.h
8db9e1217cddc8baaced18487356d0ace54f3842
[]
no_license
Rel4X/TheRxProject
06c438f504ec5d873f7394999b1538f43ee97961
5ae74ecf960ccf779b6696305dc92af0d44754b2
refs/heads/master
2021-05-26T17:46:12.260340
2014-04-11T10:10:45
2014-04-11T10:10:45
18,669,779
0
0
null
null
null
null
UTF-8
C++
false
false
744
h
RxWSocket.h
#pragma once #include <string> #include <Windows.h> //#include <WinSock2.h> #pragma comment(lib, "ws2_32.lib") class RxWSocket { private: static int sockCount; int __socket; struct sockaddr_in __infos; bool __connected; public: RxWSocket(void); ~RxWSocket(void); public: int GetSocket()...
5c2b10db413b13589fe589435ecb893b24de0e1e
24f62eba7f9faab93f2e408aca7e39e59a111f92
/c12.2.cpp
9bf2e58968e3f96e4d1c4b7ea8ff3103ce8f1433
[]
no_license
LaterFly/c-
984faddb06035169529d71368a57a2a5d39e5683
2e4d1087c6910cc0d9eea611ab36a8a815ce1589
refs/heads/master
2020-08-22T07:28:25.012298
2019-12-09T09:01:08
2019-12-09T09:01:08
216,348,096
0
0
null
null
null
null
GB18030
C++
false
false
10,057
cpp
c12.2.cpp
#include<iostream> using namespace std; #if 0 template<class T> class Smartptr{ public: Smartptr(T* ptr = nullptr) :_ptr(ptr){ cout << "Smartptr" << endl; } ~Smartptr(){ cout << "~Smartptr()" << endl; if (_ptr){ delete _ptr; _ptr = nullptr; } } T& operator*(){ return *_ptr; } T* operator->(){ ...
556a522ae14b8a59a025f0f14622fd87589bd405
2f6a9ff787b9eb2ababc9bb39e15f1349fefa3d2
/inet/src/inet/physicallayer/apskradio/bitlevel/ApskPhyHeaderSerializer.h
ebb1481a771de11c02aba07d0d61faa3a4d694b8
[ "BSD-3-Clause", "MPL-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
ntanetani/quisp
97f9c2d0a8d3affbc709452e98c02c568f5fe8fd
47501a9e9adbd6adfb05a1c98624870b004799ea
refs/heads/master
2023-03-10T08:05:30.044698
2022-06-14T17:29:28
2022-06-14T17:29:28
247,196,429
0
1
BSD-3-Clause
2023-02-27T03:27:22
2020-03-14T02:16:19
C++
UTF-8
C++
false
false
1,371
h
ApskPhyHeaderSerializer.h
// // Copyright (C) 2014 OpenSim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
c1259fba05a5d52cf947ec71c46014b2f8ef1de5
5768648601c8055c96101d4f2c06ce8b2147b7ff
/Array-Medium/714.best-time-to-buy-and-sell-stock-with-transaction-fee.cpp
427061165f24fe5ed74bc265927786fadb365710
[]
no_license
DreamBlack/leetcode
8fe317cc80a05e53e1c82f10fa4091020dd2e8bf
f3723df5dbd25b1f4b6faf785f94692fbf792699
refs/heads/master
2021-05-13T12:54:27.968346
2020-02-22T08:06:48
2020-02-22T08:06:48
116,615,303
1
0
null
null
null
null
UTF-8
C++
false
false
3,994
cpp
714.best-time-to-buy-and-sell-stock-with-transaction-fee.cpp
/* * @lc app=leetcode id=714 lang=cpp * * [714] Best Time to Buy and Sell Stock with Transaction Fee * * https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/description/ * * algorithms * Medium (50.43%) * Likes: 954 * Dislikes: 32 * Total Accepted: 42.5K * Total Submissi...
d28ae3dfdf628f09ceb3580505617667ebc6c1e7
015c173a5dacbc3c89ce072d1276b1bab46bb334
/Exam_Assignment/Minigin/TextComponent.cpp
b1e5bc1d8e38b3cff66ba203156a2df0b585b679
[]
no_license
AidanVa/PacmanExam
bf23504465454105a4296b1757b576dbf44ef7d2
73af0a893d737a1a292b343e4f299733129d3269
refs/heads/master
2021-04-06T09:12:06.089383
2018-05-27T19:54:50
2018-05-27T19:54:50
124,861,302
0
0
null
null
null
null
UTF-8
C++
false
false
1,326
cpp
TextComponent.cpp
#include "MiniginPCH.h" #include "TextComponent.h" #include "Renderer.h" TextComponent::TextComponent(const std::string& text, std::shared_ptr<dae::Font> font) : mNeedsUpdate(true), mText(text), mFont(font), mTexture(nullptr) { } TextComponent::~TextComponent() { } void TextComponent::Update(float deltaTime) { U...
7429de66d56a84d0d9cb81c1aa8c4a57503b2b7a
21b201ebf2ffbbc19fa8d74e5657e12ef597b02d
/research/syntaxnet/syntaxnet/label_transitions_test.cc
49d39c78d0e6789ab9dc58aab36acc114cd153e5
[]
no_license
alhsnouf/model
fa619691ad9d0afc7ad849a9471e6bb0643a8d47
5fe429b115634e642a7469b3f1d4bc0c5cf98782
refs/heads/master
2021-04-12T11:16:02.150045
2018-03-27T15:19:18
2018-03-27T15:19:18
126,702,717
0
0
null
null
null
null
UTF-8
C++
false
false
129
cc
label_transitions_test.cc
version https://git-lfs.github.com/spec/v1 oid sha256:3710e7ae4ee6f2df354a9bee3804376e5fc968d332a85d2946d355a25d2788bb size 4700
4a702f0464b81a91dbe59884364ae3757fabff8a
c1f71f6002ec36014016d2caeaf88142deb5762e
/src/analyzer.cpp
9c5c46d422da5ee88a362adf692b0ce3da8c0bd7
[]
no_license
nmohr/pyxar
619a92f88cab9694b60bb08c331d211b0fff9c3f
90579b96ce4fc446709312fbc4edce0ccd409551
refs/heads/master
2021-01-04T14:06:13.484354
2014-04-17T12:42:29
2014-04-17T12:42:29
15,042,885
0
1
null
null
null
null
UTF-8
C++
false
false
5,211
cpp
analyzer.cpp
// analyzer.cpp #include "analyzer.h" #include <stdio.h> void DumpData(const std::vector<uint16_t> &x, unsigned int n) { printf("\n"); unsigned int i; printf("\n%i samples\n", int(x.size())); for (i=0; i<n && i<x.size(); i++) { if (x[i] & 0x8000) printf(">"); else printf(" "); //printf("%03X", (...
97d9301296d913105909a359ce2140c0070d00c3
aee9f4a7a277c3f44eac40072adb81dc52db3079
/Code/core/SwisTrackCore.h
69cbc7c0aa2bad0dff7f58236a54d56aae3884ca
[]
no_license
SiChiTong/swistrackplus
1a1bbc7dd8457ec908ced0cae3e30ef1f0d85551
7746c32dcfdbe1988c82e7a1561534c519ac0872
refs/heads/master
2020-04-05T02:31:55.840432
2010-06-01T14:12:46
2010-06-01T14:12:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,142
h
SwisTrackCore.h
#ifndef HEADER_SwisTrackCore #define HEADER_SwisTrackCore class SwisTrackCore; #include <list> #include <wx/xml/xml.h> #include <wx/filename.h> #include <wx/ffile.h> #include "Component.h" #include "ComponentCategory.h" #include "CommunicationInterface.h" #include "DataStructureInput.h" #include "DataStr...
d8af94f2a5f7c8deda418d7c363837b232bef09e
84e064c973c0cc0d23ce7d491d5b047314fa53e5
/latest10/hec/Saxon.C.API/SaxonApiException.h
39e27e7afef737bdb8582295e6f96bac1273cfac
[]
no_license
orbeon/saxon-he
83fedc08151405b5226839115df609375a183446
250c5839e31eec97c90c5c942ee2753117d5aa02
refs/heads/master
2022-12-30T03:30:31.383330
2020-10-16T15:21:05
2020-10-16T15:21:05
304,712,257
1
1
null
null
null
null
UTF-8
C++
false
false
3,018
h
SaxonApiException.h
#ifndef SAXON_API_EXCEPTION_H #define SAXON_API_EXCEPTION_H //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2020 Saxonica Limited. // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. // If a copy o...
91641ded1ccab166983937777a0f891fbaede023
14e897e580656ccaa5e0af6c3fecf09f48e94214
/source/Kernel/RLandPseudoScalar.hpp
39eb34b6d3e8c6a245311c97bd0197b4d6020a3f
[]
no_license
stkubr/DSEpp
23c28856c097adab723ad98e870a7ae4e84ca3b7
fc82a4d2c3ccca2414eb653223abd5ce27b5b7a9
refs/heads/master
2016-09-11T08:58:41.353167
2015-05-05T15:12:14
2015-05-05T15:12:14
16,768,456
0
1
null
null
null
null
UTF-8
C++
false
false
2,002
hpp
RLandPseudoScalar.hpp
/* * RLandPseudoScalar.hpp * * Created on: Jan 28, 2014 * Author: stkubr */ #ifndef RLANDPSEUDOSCALAR_HPP_ #define RLANDPSEUDOSCALAR_HPP_ #include "TwoQuarkKernel.hpp" namespace Kernels { /** * \brief The Rainbow-Ladder + Pion exchange scattering Kernel * * The single gluon exchange + pion cloud effec...
c1757c8289e25ba12e8070fe561b07ca2d3aeae2
d860fcbbe9a391a04d97860067b156a681acab63
/Simulation/Environment/FirmwareCode/Config.cpp
a7ffcf6c3cc65756a1a18436643ccf72eeb1b9ef
[]
no_license
levevg/hexapod
986a21311ac9d040ac41ddcb9ff0d79de095969f
e684cad5c45141a194d77419a1ea060f54616eb6
refs/heads/master
2020-04-18T21:07:20.985209
2019-09-03T21:38:10
2019-09-03T21:38:10
167,756,539
0
0
null
null
null
null
UTF-8
C++
false
false
4,858
cpp
Config.cpp
#include "Config.h" #include <map> #include <string> #include <iostream> #include <tuple> #include <sstream> #include "Serial.h" #include "Hexapod.h" #include <cstdint> #define _USE_MATH_DEFINES #include <cmath> #include <exception> using namespace std; map<string, string> Config::dictionary; void Config::loadConfig...
0c4ae17df1e86de99d1f0424e8e4548480c1ba30
a58124707863d4102ab31eca1466a31beaf8eeef
/practice arranged by sites/SPOJ/AP3/AP3-6778341.cpp
0176bb7f5fdd21e63a5a600772b1b877fb0da4f2
[ "LicenseRef-scancode-public-domain" ]
permissive
prashantgpt91/competitive-programming
019ef0925cdd52a2420fa3c1c6683565ac1b588b
55e2789336616384c1c9c97fa155f460f4e8f729
refs/heads/master
2021-09-14T00:35:30.562882
2018-05-06T19:04:35
2018-05-06T19:04:35
86,184,326
1
0
null
null
null
null
UTF-8
C++
false
false
636
cpp
AP3-6778341.cpp
#include<iostream> #include<math.h> using namespace std; int main() { int t,j; long double a,b,c; cin>>t; long long p,q,r; a=(long double)a; b=(long double)b; c=(long double)c; for(j=0;j<t;j++) { cin>>a>>b>>c; long double n,d,a1; n=((7.0*a + 5.0*b + 2.0*c)/(2.0*(a+b)) + sqrtl(((7.0*a+5.0*b+2.0*c)*(7.0*a+5.0*b+2.0*c)...
9724436c2d5fe777057445201755c698bd9b7854
054d51d90fc6abb0a6153f5fcf18ecbdacd18407
/C++Problem/SourceCode/Ali-Test1.cc
7ef17ef35617caad97d91d7dedfb795104fc0de9
[]
no_license
Stephenhua/CPP
c40c4c69bffc37546ed00f16289e0b24293c59f9
bbaa84aabf17cf8e9c1eccaa73ba150c8ca20ec4
refs/heads/master
2020-12-30T03:42:44.502470
2020-09-18T14:56:38
2020-09-18T14:56:38
238,844,457
0
0
null
null
null
null
UTF-8
C++
false
false
915
cc
Ali-Test1.cc
#include <iostream> #include <vector> #include <map> #include <algorithm> #include <set> using namespace std; int main(){ int T; cin >>T ; for(int i =0 ;i<T ;i++){ int n , m ; cin >> n >> m ; if(n > 1000000){ break; } map<int,unsigned long> a; f...
b3191e444b919b2e912491abdef9926eb3a0216c
f046a483300e4cd4d7b040f6f23db737d9d0e0f3
/VBO/VBO/VBO/main.cpp
5a8b9bd6cc10dddef6aec5990293dec49f96fb0e
[]
no_license
LEChaney/OpenGLHexagon
8ac76213a4d26be0fcec370683068ff041d03e0e
1166445d5165cf2cd52af3f4eaeb1de1d7ea458c
refs/heads/master
2021-06-21T10:34:56.166636
2017-08-08T00:17:27
2017-08-08T00:17:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,216
cpp
main.cpp
#include <glew.h> #include <freeglut.h> #include <iostream> #include <assert.h> #include <chrono> #include <array> #define _USE_MATH_DEFINES #include <math.h> #include "ShaderHelper.h" #define BUFFER_OFFSET(i) ((GLvoid *)(i*sizeof(float))) // Constants for program GLuint program, VAO, VBO, aPositionLocation, aColorLoc...
76123c4e9bf3f9a3608a83d8affb29416fbe7373
b65447c63c693e6eb2556be84550dfcb92c99dbc
/libAFPDFLib/LinkInterop.cpp
2f472835d096397ebf45a03d35a3a47ba39a8fcc
[]
no_license
weimingtom/pdfviewer-win32
2213a31ddcbdde6ff43dc106ada79d364623c75a
9d99d96346d9a1dfd81002bf2ada443f28749cd8
refs/heads/master
2021-01-16T21:18:37.447784
2017-04-28T08:36:10
2017-04-28T08:36:10
40,588,736
2
2
null
null
null
null
UTF-8
C++
false
false
2,252
cpp
LinkInterop.cpp
#include "LinkInterop.h" #include "AFPDFDoc.h" #include "AFPDFDocInterop.h" LinkInterop::LinkInterop(void *ptr,AFPDFDocInterop *pdfdoc) : _link(ptr) , _pdfDoc(pdfdoc) , _action(0) { } LinkInterop::~LinkInterop(void) { _link=0; if(_action!=0){ delete _action; _action=0; } } double LinkIn...
cabe13ef4252db99139e85716ae50819ae0b8bfc
29435ba0c996efdd7ec88a3e247a25f19b500916
/muduo/net/TcpServer.cc
4ec2af664978649e29a44eb71d0d6dc5cd6edf51
[ "BSD-3-Clause" ]
permissive
nercoeus/muduo_source_note
f51555e23b1ebc9630c51287f123785cad56f5ce
78dbdbca75d995781d7f6f9efd8a911aee42fde9
refs/heads/master
2020-08-14T12:47:52.673797
2019-10-22T09:06:05
2019-10-22T09:06:05
215,171,273
2
0
null
null
null
null
UTF-8
C++
false
false
6,543
cc
TcpServer.cc
// Copyright 2010, Shuo Chen. All rights reserved. // http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: Shuo Chen (chenshuo at chenshuo dot com) #include "muduo/net/TcpServer.h" #include "muduo/base/Logging.h" #inclu...
c591c9e26ea963e6eaa457f2014cebd81e775c13
fa7e305dd9e7b243d9423522bb208eff2fec5756
/include/Partie.hpp
b0d0ae57139b247de63508055b9cb09781c2ecde
[]
no_license
Hersant/Jeux-de-societe
6f98b87b758b9fccfb5e5ecf35f951a8b59ff7d1
78d12a664c70f37a9d042d84ce8119671093b057
refs/heads/master
2021-04-20T21:07:12.424814
2020-03-24T13:46:03
2020-03-24T13:46:03
249,717,488
0
0
null
null
null
null
UTF-8
C++
false
false
226
hpp
Partie.hpp
#ifndef PARTIE_HPP #define PARTIE_HPP class Partie { public: virtual void initialisation() = 0; // Initialisation de la partie virtual bool estFinie() = 0; // Renvoie vrai si la partie est finie, faux sinon }; #endif
d498f888749d2d35688477ff6d4e25c635b460ed
280792a07f33b29070bc537bf56dd1f78848faf1
/src/glfield.cpp
8481b66ba454861f6766748c7ebb7bed2fd9f6f4
[]
no_license
Homotherium/Weekeewachee
0ef3e88e5342f19df028331458526e664a346446
d77f84aa1e6ece369b7c654696633b371afb5c50
refs/heads/master
2022-05-12T11:06:49.284070
2020-04-28T13:36:41
2020-04-28T13:36:41
250,270,512
0
0
null
2020-04-15T15:54:27
2020-03-26T13:47:09
C++
UTF-8
C++
false
false
2,083
cpp
glfield.cpp
#include "glfield.h" GLField::GLField() : GLBody("Plane") { m_ll = QVector3D{-6.0f, 0.0f, -9.0f}; m_ur = QVector3D{6.0f, 0.0f, 9.0f}; setDrawingMode(GL_TRIANGLE_STRIP); createTextureObjects(); } void GLField::makeSurface(QVector<GLPoint> *pointContainer, QVector<GLushort> *indexContainer) { GLBod...
4f4c293ab19dd5b51869e790f8361994cbadb861
3ab9f803e615cb8860d9409fe9c0fd259352ad56
/src/GameObject.h
c54488238207bc19e6ba50b7db9db7177afd9bd3
[ "MIT" ]
permissive
BranchofLight/Breakout
27475c1202fceb099de94aea037609c341f42757
a83defcf9ee8d5239334499ed97ba6d6430c142c
refs/heads/master
2020-05-25T05:48:38.150313
2017-03-14T07:15:29
2017-03-14T07:15:29
84,916,215
0
0
null
null
null
null
UTF-8
C++
false
false
1,081
h
GameObject.h
// Class Objectives: // - Create a base class for all objects used #pragma once; #include "LineSegment.h" enum DIRECTION { UP, DOWN, LEFT, RIGHT, NONE }; class GameObject { public: GameObject(int, int, std::string); ~GameObject(); void move(DIRECTION, float); void accelerate(float); void dece...
9e179d6cd38d084293e27ec4e39ccf084811442a
e3dd0a4882284156aaa981ca1b9fc977c1fc532f
/18 fall NIU/csci 340 data structures and algorithms/prog7/emily/binSTree.h
e0a68ca5249278e0f477f60a8368914fc6814851
[]
no_license
hasnainclub/school
8c137a884e1822947a0a50bca4fbb6038b03d94b
d303306d23b9ed65c4cb715ab80ff2e504556c41
refs/heads/master
2022-12-11T21:25:13.179006
2020-08-31T15:14:23
2020-08-31T15:14:23
291,606,364
0
0
null
null
null
null
UTF-8
C++
false
false
2,838
h
binSTree.h
/*************************************************************** Programmer: Emily Ducatte Program: Program 7 Due Date: 11/08/2018 Class: CSCI 340 Section: 3 Instructor: Ibrahim Onyuksel TA: Nicholas James Swanson ***************************************************************/ #ifndef BST_H #define BST_H #include "b...
10e03dbc73dcfe91255206f0fd976ed7f00bb29d
e263b3c0fd10874ffa11e1097487a65b4074fe9f
/src/StandardCab.h
cc051e96a8a4ab3336b6cc8996a4347569e66366
[]
no_license
Agent77/ex6
e410af917763af903c75098b996a7378defad82f
be5e807ec59fcd0b634d41fb52c580e2e6fd10cc
refs/heads/master
2021-05-01T01:46:53.302585
2017-01-30T19:36:07
2017-01-30T19:36:07
79,842,368
0
0
null
null
null
null
UTF-8
C++
false
false
713
h
StandardCab.h
#ifndef TRY_STANDARDCAB_H #define TRY_STANDARDCAB_H #include <boost/serialization/access.hpp> #include "Taxi.h" class StandardCab: public Taxi { friend class boost::serialization::access; template<class Archive> void serialize(Archive &ar, const unsigned int version) { ar & boost::serializa...
0c27f3d94518c5f65b6108381061da1cd19391af
440d62b97850990f42f4addb74ae17087a6cfe7e
/A12_JavaException.cpp
f3ccdcc3f85f339dc0078dd2bd1c0bdf2dad0b63
[]
no_license
rutujak24/SPPU_SE_ADSL_Assignments
740e83d4c974bae7ac6254bd7dc0d4034b097ea9
c5b1598f89d84cc49036a9a76494b1717ea18d3e
refs/heads/master
2020-12-09T03:47:20.815690
2020-09-14T05:43:29
2020-09-14T05:43:29
233,183,693
0
0
null
null
null
null
UTF-8
C++
false
false
3,256
cpp
A12_JavaException.cpp
import java.util.Scanner; abstract class stack { stack(){} public final void function() { int flag=0,op,data; Scanner obj= new Scanner(System.in); while(flag!=1){ System.out.println("\n1.Push the element \n2.Pop the element \n3.Display element at top \n4.Exit \n Enter your choice-:"); op=obj.next...
143d7135c2b133e0499aede158b4224a4ee65d10
24349902af9f3a86f8ef1a58b62673aead0a463a
/C++ II/FinalProject Solution Olliff/FinalProject Project Olliff/StoredOrders.cpp
ea7030b31ee0c185c36e4daa2d26cc17fdc1e0ee
[]
no_license
Sylvia-Olliff/School
0eccd27cbf736379abe096a3a50174d9c976cecf
ed71f8e88b50492e8a035f51f5665260585451c5
refs/heads/master
2021-05-29T07:32:44.043318
2014-08-02T20:58:33
2014-08-02T20:58:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,154
cpp
StoredOrders.cpp
/*File Name: StoredOrders.cpp Programmer: Joesph Olliff Purpose: The set of methods associated with the StoredOrders class, used to store orders data into a file. */ #include <iostream> #include <fstream> #include <iomanip> #include "StoredOrders.h" using namespace std; StoredOrders::StoredOrders(string storageFile)...
b1f5d31824ba5faf7908a949e4da1ff67294a06f
480e33f95eec2e471c563d4c0661784c92396368
/SimGeneral/TrackingAnalysis/plugins/SimHitTPAssociationProducer.cc
e8c9523b9e0ddfb585e8d4e09eb6235aab803806
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
C++
false
false
2,878
cc
SimHitTPAssociationProducer.cc
#include <fstream> #include <iostream> #include <memory> #include <utility> #include <vector> #include "FWCore/Utilities/interface/InputTag.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFo...
52c5aef678b27681b0fbf31f9c4ac7d1f3505e3a
81a942d959f8712491be7a92e535020f24c7096d
/test/extensions/transport_sockets/tls/test_data/keyusage_crl_sign_cert_info.h
67ba22d31c19db3a15a94b8c95ade356689921ba
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
siepkes/envoy-smartos
c83d4498a11eb6e866f81b19bfe0b439af9a3a8b
e5ffbbb24f7b53d594f6acf6b3f74df82b1c972d
refs/heads/smartos-v1.18.4
2023-08-16T11:33:19.306548
2021-10-21T07:58:51
2021-10-21T07:58:51
135,030,335
7
0
Apache-2.0
2021-10-05T23:36:57
2018-05-27T08:51:09
C++
UTF-8
C++
false
false
622
h
keyusage_crl_sign_cert_info.h
// NOLINT(namespace-envoy) constexpr char TEST_KEYUSAGE_CRL_SIGN_CERT_256_HASH[] = "11a37b30d2fa15b30decc49bae67dfcf2b30d2fafa63ee52ebaad4503631c733"; constexpr char TEST_KEYUSAGE_CRL_SIGN_CERT_1_HASH[] = "1e5a16317bc06aea66f0264ca4da234ba7db1758"; constexpr char TEST_KEYUSAGE_CRL_SIGN_CERT_SPKI[] = "w5R7NEmc1JYbaS...
7acd577e85a133ab0174efac58621773f4132c95
77e2747300555901308a57e460b77d69bb7f6cf4
/src/Application/StorageJson/storagepropertybooljson.h
607544f7e31e520ec10e522019867515daf800c6
[]
no_license
FederikoCorp/Editor
af3b4e0d45e70a9a79ba15f0dc6c472f85d85c25
530e019581b36d8579f5e5495af88af8ae1b2254
refs/heads/master
2020-04-10T15:37:58.245304
2018-12-15T16:57:45
2018-12-15T16:57:45
161,116,477
0
0
null
null
null
null
UTF-8
C++
false
false
395
h
storagepropertybooljson.h
#ifndef STORAGEPROPERTYBOOLJSON_H #define STORAGEPROPERTYBOOLJSON_H #include "../../export/Core/StorageProperty/storagepropertybool.h" #include "StorageJson/storagejson.h" class StoragePropertyBoolJson : public StoragePropertyBool, public StorageJson { public: void setValue(bool value) override; void setName(...
fb3042fff12dfbeda636d381655b0d247e99e3df
c016a390a86756299ab28199eed085ca9b21b1a3
/TXCloudRoom/GeneratedFiles/ui_InvitePanel.h
cd9fa9502038dedf98a1d63e3f71f64debcffd25
[]
no_license
WenTao-Love/webexe_exe_source
1edd02ca645b17d7bb61a17ac151aca9b6bbf521
08d6b56846a7ea42712a8ab1b043ed75bb6b1cd9
refs/heads/master
2020-12-23T17:59:09.085501
2020-02-05T04:16:52
2020-02-05T04:16:52
237,224,123
0
0
null
2020-01-30T13:56:25
2020-01-30T13:56:24
null
UTF-8
C++
false
false
10,425
h
ui_InvitePanel.h
/******************************************************************************** ** Form generated from reading UI file 'InvitePanel.ui' ** ** Created by: Qt User Interface Compiler version 5.11.3 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
88c5750b888f62ce7ea5bc91cb7023b7ee52322b
360c625315c673a00cae92ee14c9bde5dacbe692
/C++/240A/Labs/lab3/wage_plan.cc
09f7b558581ab41b88f24aeb43fdeea908cbc7be
[]
no_license
nyarnell/code
2330e47199363af0bcf998fa1098401297224369
ffdc5c8ee19b1995a068177d6470a77897c525f4
refs/heads/master
2021-01-01T15:50:13.432902
2012-10-13T16:14:46
2012-10-13T16:14:46
6,204,805
1
0
null
null
null
null
UTF-8
C++
false
false
1,360
cc
wage_plan.cc
// // Program Name: Wage Plan // // Author Name: Nathaniel Yarnell // Email: nathanielbyarnell@gmail.com // // Description: This program determines the expected wages // for a bicycle salesperson under two different wage plans // // Last changed: 1/19/2011 // #include <iostream> using namespace std; const double RAT...
0849a50693f133aebc365548b5a4372e94d7ee4b
3fa2aaf3d3ab4a8422fd27b51249119ee67c2a3e
/2020备战蓝桥/刘震/第十一次作业/11.4 将下列算式或叙述用C++表达式描述.cpp
29f4f932957ac180f0eac57ae260a16e7e7d738f
[]
no_license
WireLife/FightingCode
a1e620e1236749c644715397916831d706e14a97
cb0bc25e8bde52347fb2a0113b8c47a97a1b4ce0
refs/heads/master
2020-09-21T22:30:04.845501
2020-05-11T12:42:28
2020-05-11T12:42:28
224,953,824
15
20
null
2019-12-15T15:52:06
2019-11-30T03:26:10
C++
GB18030
C++
false
false
498
cpp
11.4 将下列算式或叙述用C++表达式描述.cpp
/*11.4 将下列算式或叙述用C++表达式描述。*/ #include<iostream> #include<cmath> using namespace std; double PI = 3.1415926; int main() { double x = 1, c = 1, y = 2, a = 1, b = 1, k = 1; cout << PI / 2 + sqrt(asin(x) * asin(x) + c * c) << endl; cout << (x + y) / ((x - y) * a * y) << endl; cout << (sqrt(x * x + y * y)...
14f6efe4f9cb13003210a016bbfa8f08abb4a2f4
051b444c5d9f9d3fe3bfbbd9d1929e50e618d764
/src/unit3/q11.cpp
928ca78c93c28d0ca3dbc3e632fe900150d0cebd
[]
no_license
jamesbriant/ScientificComputingAndCpp
b6499ec5f633e049c3d9cc41f46062a3126a36a1
2650d9ffd9e6e0e3b19f5d6b2c2e6db76c7384fc
refs/heads/master
2023-02-16T10:18:33.266203
2021-01-16T11:34:55
2021-01-16T11:34:55
299,550,319
0
0
null
null
null
null
UTF-8
C++
false
false
543
cpp
q11.cpp
#include <iostream> int main(int argc, char* argv[]) { double a, b, c, d; std::cout << "Enter the values for a, b, c & d. eg 1 3 2 4" << std::endl; std::cin >> a >> b >> c >> d; double determinant = a*d - b*c; double a1, b1, c1, d1; a1 = d/determinant; b1 = -b/determinant; c1 = -c/det...
73dab8fdffa555d433b4268b38d0103c519d40b4
f769e4df3e80746adadf5ef3c843dda5212809cf
/chuck-norris-joke-part2/HoundCpp/HoundJSON/StoredPageMatchPageListJSON.cpp
a27e003604bff02cfe02edfc0d564d7b799ce84d
[]
no_license
jiintonic/weekend-task
0758296644780e172a07b2308ed91d7e5a51b77d
07ec0ba5a0f809d424d134d33e0635376d290c69
refs/heads/master
2020-03-30T09:07:29.518881
2018-10-03T15:13:58
2018-10-03T15:13:58
151,061,148
1
0
null
null
null
null
UTF-8
C++
false
false
3,169
cpp
StoredPageMatchPageListJSON.cpp
/* file "StoredPageMatchPageListJSON.cpp" */ /* Generated automatically by Classy JSON. */ #pragma implementation "StoredPageMatchPageListJSON.h" #include "StoredPageMatchPageListJSON.h" StoredPageMatchPageListJSON::StoredPageMatchPageListJSON(const StoredPageMatchPageListJSON &) { assert(false); } Store...
59be054a3029585b8ef801f7fef89959c753dbdd
ee5f899ad02bb356866eeb02644784baa343e6a1
/include/pkg_ros_monitor/monitor_geo_fence.h
047e65775aa4f5f6d1669b97773969a8cf52305c
[]
no_license
Vishvender-Malik/pkg_ros_monitor
5ea8a920a41416cc4b4e22c6b177e675aaf1f589
9d0def8699a5935ebd28be2b81cb54909cc641b0
refs/heads/master
2020-04-21T09:16:08.839399
2019-03-07T11:31:28
2019-03-07T11:31:28
169,443,253
0
0
null
2019-04-23T17:46:07
2019-02-06T17:08:05
C++
UTF-8
C++
false
false
830
h
monitor_geo_fence.h
/* Author : Vishvender Malik Email : vishvenderm@iiitd.ac.in File : monitor_geo_fence.h */ // failsafe for if this header is used more than once in // the same file (will compile it only once) #ifndef header_monitor_geo_fence #define header_monitor_geo_fence #include "monitor_base.h" class monitor_geo_fence : public...
56bb7ab21217731802dfbc0f2dd06e8abfe3553f
ac5e95add3d7a1d03653cea083ec0a5aaef7686c
/heroes_server/troop.h
6b16e3152fe034b88fae1c12665a8ab4462c21c5
[]
no_license
greenflame/heroes_game
30e16eb7afa42fa06b2bd81e099f3636fc9a18c1
59c01b283d4fea2c115bfb9543eedd79fc259d2c
refs/heads/master
2021-01-16T22:30:31.309925
2016-07-09T17:52:39
2016-07-09T17:52:39
63,495,503
0
0
null
null
null
null
UTF-8
C++
false
false
884
h
troop.h
#ifndef TROOP_H #define TROOP_H #include <QString> #include <QPoint> #include <QTime> #include <QtMath> #include <QDebug> #include "unit.h" enum Player { FIRST_PALYER, SECOND_PLAYER }; class Field; class Troop { public: Troop(Player owner, QPoint position, Unit unit, int count); bool operator ==(c...
abbcd3e40bcac9a8863538952e794b124a67a202
c9986c5f791a362dc10d966b4174b1c44a20c017
/practice/removeconsecutiveduplicate.cpp
38ed5ead94df99971cdf9f139a332271f10b9833
[]
no_license
viditrastogi11/DSA
4ee574f4baec20ce28b87204931d64ed3a5dfbfe
b2f8ea5ac577852c16b66e004de66ec7095721b9
refs/heads/main
2023-08-12T01:02:47.432896
2021-10-08T09:12:38
2021-10-08T09:12:38
381,125,553
0
0
null
null
null
null
UTF-8
C++
false
false
431
cpp
removeconsecutiveduplicate.cpp
#include<iostream> #include<cstring> using namespace std; void removeDuplicate(char a[]) { int i=0,j=1,len=strlen(a); while(j!=len) { if(a[i]!=a[j]) { i++; a[i]=a[j]; j++; } else { j++; } } a[i+1]='\0'; ...
ff22dce203d595c5ede0539fa3352e76d2a168ea
5035034cb7f5553f79f2786a341936511bbcb92c
/base/src/tls.cpp
1c8c54e10b219c7d500786e552019b3e35856a12
[]
no_license
piboye/conet
9faa3ae6366bdda1bbddcd76c5dd362a04ef93de
fd61a3496bbf8c890de31c83d1b54a7189bf7f2e
refs/heads/master
2023-01-12T01:53:01.583535
2022-12-30T07:03:05
2022-12-30T07:03:05
19,636,891
48
36
null
null
null
null
UTF-8
C++
false
false
2,494
cpp
tls.cpp
/* * ===================================================================================== * * Filename: tls.cpp * * Description: * * Version: 1.0 * Created: 04/23/2014 05:33:42 PM * Revision: none * Compiler: gcc * * Author: piboye * Organization: * * =...
3690655e821ef05faa67ee0e4606fe4f1382602f
3ffc6782cd90c8260e3ed963264ab62f98c1546b
/src/utl3d.h
b815223ccb80cce308577f2ddf77eccbfb15730f
[ "Apache-2.0" ]
permissive
multitudinous/mapgen
e1485c9792fd92c493b09e87faf126472b18fd29
1073b48973811b167fd1e765f0c2a4704312ed0e
refs/heads/master
2021-09-11T16:47:38.356494
2018-04-09T22:33:44
2018-04-09T22:33:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
522
h
utl3d.h
#ifndef UTL3D_H #define UTL3D_H #include "vector3.h" class Utl3d { public: static double Angle(vec3f v1, vec3f v2, bool normalize=true, bool deg=true); static float Anglef(vec3f v1, vec3f v2, bool normalize=true, bool deg=true); static void MatrixConcatenate(float *result, float *ma, float *mb); }; // Distance Fr...
dd40b5f85cf93170dd345ff6b9bbff90d70055d3
39d9772e86907c29bdbc584b264ff9aa7590677f
/实验/多态实现计算机类.cpp
15edf304f5b30cdd441275bffebe9335b788df22
[]
no_license
742982520/my_program
d35bcb0a747216712c3dc77db4609b9fbacdfd6f
4e8a170bab4948c555e9d06cb42f3c2343fadb6a
refs/heads/main
2023-02-13T05:50:52.089345
2020-12-20T06:27:17
2020-12-20T06:27:17
321,656,773
0
0
null
null
null
null
GB18030
C++
false
false
1,342
cpp
多态实现计算机类.cpp
#include <iostream> #include <string> using namespace std; class Calculate_base{ public: int m_num1; int m_num2; public: // virtual int get_result(){ // return 0; // } virtual int get_result() = 0; }; //加法计算器的类 class AddCalculate:public Calculate_base{ public: int get_result(){ ...
0ce544173435799041de2c959918500e21561a86
3720091953240b8186de1a085e3ecd6791b6cb79
/lighthouseText.cpp
94bced396772d4c1164bff408192db14730bdd0f
[]
no_license
rahilathayyil/Introduction-to-Programming-CPP
affade27fe0cae51b9825b5aea712f76899872cb
1ab30d69fff689f2d74470f616fec7a86af96855
refs/heads/master
2020-12-13T22:33:59.480738
2014-10-14T01:10:02
2014-10-14T01:10:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,096
cpp
lighthouseText.cpp
// Lab 5h // Programmer: Aaron Melocik // Editor used: Windows 7 Notepad // Compiler used: Microsoft Visual C++ 2010 Express #include <fstream> #include <iomanip> #include <iostream> using namespace std; #include <cmath> int main() { // identifying output statements cout << "Programmer: Aaron Melocik" << endl; ...
a1667d79917061d2136495c324dfdbb44e3b4f73
7a876d5e6d055491d06b65e3f8ffb7626e0aef99
/week6/c++/week6_8.cpp
7968384a8ca42996cfbee9885ad3f1c9da45b664
[]
no_license
sewonkimm/AlgorithmStudy
3f172c453b9bf149dd89bdb2678bca17a5534c95
1478b696ea7b9bd2b63f930817a656976af00ae5
refs/heads/master
2021-07-17T19:42:46.915886
2020-09-02T06:59:09
2020-09-02T06:59:09
205,660,994
6
2
null
null
null
null
UTF-8
C++
false
false
672
cpp
week6_8.cpp
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main(int argc, char **argv) { int test_case; int T; cin >> T; for (test_case = 1; test_case <= T; ++test_case) { int n; cin >> n; vector<int> a(n); for (int i = 0; ...
634f2cd5ef34e3780bbaf206364a06a59619fa9b
4dd3d2f2839ac07a6ce84061cb181a5de18a0fc8
/RandomNum.cpp
9c7f8682c33f1e9f13e4006fa2f7bcbb2ef87ca6
[ "MIT" ]
permissive
VertiginousVents/EMERALD-BANJO
8a944bac4030d16cd9a49a21a5c790f3e2135f23
f3e630781e8805a86395e4bfb904d373646a778f
refs/heads/master
2021-04-12T12:19:50.131475
2018-05-18T09:55:44
2018-05-18T09:55:44
126,303,656
0
1
MIT
2018-05-18T09:55:46
2018-03-22T08:28:17
C++
UTF-8
C++
false
false
1,505
cpp
RandomNum.cpp
#include "RandomNum.h" RandomNum::RandomNum() { this->minNum = 4; this->maxNum = 4; std::random_device rd; std::mt19937 mt(rd()); } RandomNum::RandomNum(int min, int max) { this->minNum = min; // min num; this->maxNum = max; // max random num; srand(time(NULL)); } int RandomNum::genRandom() { std::mt19937 g(...
05b34df395516b457a646282b8083a71e23649a7
6d53b7fefe9c170b3753ff4661f230d581f7ed9f
/src/baseclass/Car.h
a460a3540f47be4448bbaddb65275f351df8ea1e
[]
no_license
Forward-Wang/DVRP
1b0348e934c7cf5ebc86031625fe54152177a765
196d51fd301ea57094505d5f5618aaf969e25192
refs/heads/master
2020-03-26T05:23:38.312467
2018-05-11T15:34:26
2018-05-11T15:34:26
null
0
0
null
null
null
null
GB18030
C++
false
false
3,906
h
Car.h
#ifndef _CAR_H #define _CAR_H #include "Route.h" #include "../modules/EventElement.h" #include "Matrix.h" #include<vector> enum State{wait, departure, serving, offwork}; class Car{ public: Car(Customer &headNode, Customer &rearNode, float capacity, int index, bool artificial = false); // 构造函数 ~C...
8c80c9ad99859cb5ae6e83eccd3afcc80278449a
2407b7834ac70df0b14dda6782e9ce048a2d1279
/Practice/NOIP/[NOIP]愤怒的小鸟.cpp
770ebdc29e029d057d2ca610154f7e6febbbe40f
[]
no_license
sssSSSay/Code
44ad26b521674a1ecd5a78af1da448df97305ecf
8f853943103b549a9c8795493530793ccbf1b7a2
refs/heads/master
2021-01-12T00:59:05.285035
2017-08-10T13:30:09
2017-08-10T13:30:09
78,328,140
0
1
null
null
null
null
UTF-8
C++
false
false
1,485
cpp
[NOIP]愤怒的小鸟.cpp
#include <cmath> #include <cstdio> #include <cstring> #include <iostream> #define eps 1e-10 using namespace std; const int Maxn = 21; int T, n, m, g[Maxn][Maxn], dp[1 << 20]; long double x[Maxn], y[Maxn]; bool Comp(long double a, long double b) { return fabs(b - a) < eps; } void Add(int &x, int w) { x |= (1 << ...
2915ac1035ffd6bc35a95b0210d678a7bb73c7e5
2ef6a773dd5288e6526b70e484fb0ec0104529f4
/acm.timus.ru/1511. Fiscal Operations/Wrong_answer_1505418.cpp
7f2844ff79cc071e602b9b015f7cc0933b657123
[]
no_license
thebeet/online_judge_solution
f09426be6b28f157b1e5fd796c2eef99fb9978d8
7e8c25ff2e1f42cc9835e9cc7e25869a9dbbc0a1
refs/heads/master
2023-08-31T15:19:26.619898
2023-08-28T10:51:24
2023-08-28T10:51:24
60,448,261
1
0
null
null
null
null
UTF-8
C++
false
false
1,144
cpp
Wrong_answer_1505418.cpp
#include <stdio.h> #include <string.h> char a[1010],b[1010],c[1010]; long s1[1010],s2[1010]; long dp[2][1010]; long la,lb,lc,lab; long mx(long a,long b) { if (a>b) return a; else return b; } long mn(long a,long b) { if (a>b) return b; else return a; } long abs(long n) { if (n<0) return (-n); else return n; } ...
09c9328a7347f1366c24064776cedeb91def5b6a
d9a1c1f8be52fec565650042f60466aa14d91db5
/include/shadergraph/TypeQualifier.h
e19f6ce30bb7b78bd6ea700979d16832bef5f4f7
[ "MIT" ]
permissive
xzrunner/shadergraph
aee3bb20f7ba002414ccd948beb8e378d196f9a8
a5bf002b40738010ef4d9870f507d4faf07ba893
refs/heads/master
2021-06-23T08:44:08.987696
2020-11-20T23:57:21
2020-11-20T23:57:21
146,755,500
1
0
null
null
null
null
UTF-8
C++
false
false
305
h
TypeQualifier.h
#pragma once namespace shadergraph { enum class TypeQualifier { Null, // Storage qualifiers Const, Input, Output, Attribute, // Layout qualifiers // Precision qualifiers // Memory qualifiers Volatile, // Invariance qualifiers // Precise qualifiers // Removed qualifiers Varying, }; }
59d0d88ba010f84708bd8a549984cb1025eb7479
c6259f4f2dcbb400daf554a72ce0452221b0b55f
/postres.h
e4451b625ad26a00e68539e05bde6b44c18af068
[]
no_license
kevinPinzon/Proyecto-Super_Mercado
761bfd4fb0e54e003b8f3a175336572ebe4ceb0e
7b35cc406dc426f93223486e7249d674678ee503
refs/heads/master
2020-12-25T16:49:41.680304
2015-03-26T18:46:41
2015-03-26T18:46:41
32,841,055
1
0
null
null
null
null
UTF-8
C++
false
false
648
h
postres.h
#ifndef POSTRES #define POSTRES #include "alimentos.h" #include <string> #include <sstream> using std::stringstream; using std::string; class Postres: public Alimentos{ public: Postres(string nombre, double precioNeto, string caducidad, int cantidad,string color) : Alimentos(nombre, precioNeto, caducidad, canti...
384fb876fa422bacbb0de66ad9e61124d6239378
1332d5378c96dd09cfbe7f08400dafd22c358a04
/cs1410/Fish and Sharks HW/protofish.h
920602400842326989a8cd54ae1ed60f503d814d
[]
no_license
proctorsdp/coursesInC
51a6ee6a8d6bc0db40ea0914ed3d352c714962c3
c32c49b50b358b2e702d26ec3b9e36166f51cd73
refs/heads/master
2021-08-23T19:20:42.176463
2017-12-06T06:13:54
2017-12-06T06:13:54
113,275,972
0
0
null
null
null
null
UTF-8
C++
false
false
915
h
protofish.h
// // protofish.h // Fish and Sharks // // Created by Steven Proctor on 2/22/16. // Copyright © 2016 Steven Proctor. All rights reserved. // #ifndef PROTOFISH_H #define PROTOFISH_H #include <iostream> #include <cstdlib> #include <cmath> #include <string> #include "dir.h" using namespace std; //a basic fish that ...
cf56c4de292c764fa1d1279c52ffcbe381ea19aa
2e45720a8747bbcd06213a3dfc2b3a5c668052d6
/org.glite.wms.common/src/utilities/lb.h
a11b3c633f12c2299d3e3812af3623f8a66010c3
[ "Apache-2.0" ]
permissive
italiangrid/org.glite.wms
df0616a06b034b875b3c93e16995fc022a206685
0fc86edb5b0395c5400023a4cfb29b5273eba729
refs/heads/master
2021-01-10T20:25:56.444145
2015-01-23T15:09:44
2015-01-23T15:09:44
5,776,443
2
0
null
null
null
null
UTF-8
C++
false
false
16,316
h
lb.h
// File: lb.h // Authors: Francesco Giacomini <Francesco.Giacomini@cnaf.infn.it> // Marco Cecchi <marco.cecchi@cnaf.infn.it> // Copyright (c) Members of the EGEE Collaboration 2004 // For license conditions see http://public.eu-egee.org/license/license.html #ifndef GLITE_WMS_COMMON_UTILITIES_LB_H #define GLIT...
939d0be9f2e9b2721f2728a1cea3f43e61c776e0
c65bf7d6943ed32e1e39270821a012a062ee9013
/HomuraViewer/HomuraViewer/Message/ComLog.hpp
c8dd79c3012e807e990b16ffe6a628c97ce502e8
[]
no_license
HomuraVehicle/HomuraViewer
60c9f388a090e582d42a4e30970f19d21b24a5a9
ee20008d2c037c291ea188373b48ab9484573ff8
refs/heads/master
2020-12-23T00:17:21.154782
2017-04-01T11:39:11
2017-04-01T11:39:11
41,242,727
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,717
hpp
ComLog.hpp
#ifndef HMR_VIEWER_MESSAGE_COMLOG_INC #define HMR_VIEWER_MESSAGE_COMLOG_INC 100 # /*===hmrComLog=== Comの送受信ログ保存用クラス hmrComLog v1_00/130410 hmIto 1バッファ方式のcComLogを追加 */ #include<deque> #include<mutex> #include<boost/signals2.hpp> #include<hmLib/signals.hpp> #include<hmLib/inquiries.hpp> #include<HomuraViewer/Message/Pa...
95ea762c939a1600925b6e4e0b103af51c34037b
c1e320cb17ce12bf499be3b32534311b3303b76b
/Particle.h
e9da25f8ae3100b63e205709ddd485a4fbc454dd
[]
no_license
sp-alex-osou/Firework
2325506cbd7221a2a509edccb796da9ac4bfc652
e8b1c499bc7a19cbec68bbb011b857c7373c9875
refs/heads/master
2020-05-15T01:11:43.838524
2013-08-22T11:29:35
2013-08-22T11:29:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
487
h
Particle.h
#pragma once #include "Include.h" class Particle { friend class Integrator; friend class Firework; public: Particle(const CL_Vec2f& position = CL_Vec2f(0, 0), float mass = 1.0f) : position(position), mass(mass) {} ~Particle(void) {} float getMass() const { return mass; } const CL_Pointf& getPosi...
f9ae88581cedf0ff8129e2957fdcf9a8f4fe21c0
c1f3e34b2e3291423e14c46820285bc086df6954
/pre-camp_test/combo_3.cpp
fe39f8582e9360f96482c44c11d2f6ec0dd1f456
[]
no_license
purevb1/MOP_2020_Ghana
fb1a7ca6607cd9404bea419e460c83508306080d
16abadbdb00298c03f0467fdfb6c455ec11216c7
refs/heads/master
2022-12-18T10:56:52.892415
2020-09-28T17:37:08
2020-09-28T17:37:08
299,062,559
1
0
null
null
null
null
UTF-8
C++
false
false
563
cpp
combo_3.cpp
////////////////////////////// // Author: whatisit // Date: 2020-05-28 05:58 ////////////////////////////// #include <bits/stdc++.h> using namespace std; void solve(int n) { long long ans = 0; for (int i = 0; i <= n; ++i) { for (int j = 0; j <= n; ++j) { for (int k = 0; k <= n; ++k) { for (int t = 0; t <= ...
66e1ac02b12fea9ae18fe37e6a482e443471d2c3
35004498347e683ab8a24fff35c8b98bc76a81e9
/SmartTOSAI/src/Path.h
c5b198a7fe96fdbc7982f94b7065bdd141e0384f
[]
no_license
Malrb/SmartTOSAI
a7a6e4efae03ce946e3b21a761601860328aa159
58c73a35aa96e5d7c3c35207c2ce7f6c68698683
refs/heads/master
2021-05-01T06:32:10.008812
2014-05-31T07:39:14
2014-05-31T07:39:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,303
h
Path.h
#ifndef _PATH_H #define _PATH_H #include<vector> #include<iostream> #include<Windows.h> #include"board.h" #include<sstream> #include<easyx.h> #include"config.h" using std::ostringstream; using std::vector; static int const dx[8]={ 0, 0, 1,-1, 1, 1,-1,-1}; static int const dy[8]={ 1,-1, 0, 0, 1,-1, 1,-1}; static int ...
e978d912c39c30685ec8c2be7fe758c752652418
25f15e5aaa102eae5280a0d5de4bee1b4578e22a
/eecs268/KnightsTour/BoardCreationException.h
b0295c635982864e10e8febf2be4c5f74bb00be2
[]
no_license
sharynneazhar/coursework
4c1ea27026b83b599fcbea2e51dcbfbf44b99794
da4840f1352017a62897f61a1823905e1d9103b6
refs/heads/master
2021-03-27T16:48:52.495058
2018-05-11T02:50:04
2018-05-11T02:50:04
44,264,439
1
1
null
2016-02-05T03:32:16
2015-10-14T17:25:59
C++
UTF-8
C++
false
false
474
h
BoardCreationException.h
/** * @file : BoardCreationException.h * @author : Sharynne Azhar * @date : 03-07-2016 * Purpose: Header file for BoardCreationException class */ #ifndef BOARDCREATIONEXCEPTION_H #define BOARDCREATIONEXCEPTION_H #include <stdexcept> #include <string> class BoardCreationException : public std::runtime_error { pub...
8da222a9a1e29ad6871413b58862f1708a51e58d
05b166f163992e1aa67f089c0c86d27a9c3af786
/2022/week3/14719_빗물.cpp
69523241713ef0b85d0b3db1caa3a8c2863a9346
[]
no_license
gyeolse/algorithm_study
52417554c9ab7ffc761c3b78e143683a9c18abaa
bdfd3f0ae0661a0163f5575f40a6984a6f453104
refs/heads/master
2022-08-31T11:32:27.502032
2022-08-06T12:18:50
2022-08-06T12:18:50
246,004,136
0
0
null
null
null
null
UTF-8
C++
false
false
649
cpp
14719_빗물.cpp
#include <bits/stdc++.h> using namespace std; int h, w; int ans; int widthArr[501]; int main() { cin >> h >> w; // 가로, 세로 for (int i = 0;i < w;i++) { int a; cin >> a; widthArr[i] = a; } for (int i = 1; i < w - 1;i++) { int left_ = 0; int right_ = 0; // left side for ...
b3aff8682046730d742b1b7b8bc89d198a38f6ff
e3493b61ebba92d690f03fe51f7968dae15210ee
/BothSchemes.cpp
ccfba86de9b9a8b471043a36110a3adf0e7304ce
[ "Apache-2.0" ]
permissive
MarisaSchmidt/Synchronization
420f8882f7018a102a7cdeadc5bd9b3e8aa940d0
9fd9528a5fca46e29878099a591c9e36229ac62d
refs/heads/master
2021-01-10T16:16:28.071350
2015-10-12T22:39:39
2015-10-12T22:39:39
44,136,926
0
0
null
null
null
null
UTF-8
C++
false
false
5,700
cpp
BothSchemes.cpp
// //Marisa Schmidt //March 24, 2015 // #include <iostream> #include <sstream> #include <stdlib.h> #include <iomanip> #include "unistd.h" #include "Buffer.h" #include "threads.h" using namespace std; /////VARIABLES AND FUNCTIONS////// //Both schemes int stop = 20; //how many times producer and consumer will perform...
7f2b645b1a63752d6813557b71eb791b397e68a4
012712451c82f5e2e8d5ce1fd93247713760884c
/ObjectViewModel/SignalMimeData.cpp
db8fa582954478dbdbe5ee443ec80e745d1d3790
[]
no_license
gbumgard/QObjectGraphEditor
735b29178d7928ef8a14f13c42e42aa1d737c506
2fde592a20830362504d4c1662dccab352e62885
refs/heads/master
2023-05-01T00:11:40.635181
2023-04-18T04:02:35
2023-04-18T04:02:35
265,347,674
0
0
null
null
null
null
UTF-8
C++
false
false
519
cpp
SignalMimeData.cpp
#include "SignalMimeData.h" const QString SignalMimeData::MIME_TYPE("application/x-signal-method-index"); SignalMimeData::SignalMimeData(const QUuid& objectUuid, const QString& methodSignature, ObjectGraphEdge* connectionPath) : MethodMimeData(objectUuid, methodSignature, connectionPath) { } QStringList SignalMime...
c27a873c1f8ec1cf2a4073fe3446190ecf55bd50
63434a2aa532ccbd96b6fdebef253714009261b7
/luni/src/main/native/libcore_io_Windows.cpp
f121c2afdad452ee6decde54940de2b42916a261
[ "LicenseRef-scancode-unicode", "ICU", "MIT", "W3C", "W3C-19980720", "SunPro", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
bigfatbrowncat/avian-pack.android.libcore
13998cca9e187e2aa4161ceee73901459b2fd4a3
f86574ec7dcda6a8ebca55c35eb4de85c4e886b6
refs/heads/master
2021-01-15T10:34:38.091226
2016-10-06T15:57:55
2016-10-06T15:57:55
16,859,524
0
1
null
2014-07-17T11:35:21
2014-02-15T08:59:16
Java
UTF-8
C++
false
false
1,638
cpp
libcore_io_Windows.cpp
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
608f39ca6797539dc1446c7f9fb394e8944dc7ff
48f783d74e85c4d400f8b8594e3609e4ec34a84c
/areaOfTriangle.cpp
27da57c2e0f491e873368d43a460c03bee454554
[]
no_license
sfabianlyl/ukm-stqs1313-tutorial
3f80b4bd98235dbfd208d471b7b16ea4a6dd42ce
7e35a28b45493b5e557b6488fc38c536c5ba8358
refs/heads/master
2020-05-29T16:02:41.098813
2019-05-29T14:12:54
2019-05-29T14:12:54
189,238,098
0
0
null
null
null
null
UTF-8
C++
false
false
430
cpp
areaOfTriangle.cpp
#include <iostream> #include <cmath> using namespace std; int main(){ double a,b,c,angleC; cout<<"Please enter the side 1 of triangle in cm: "; cin>>a; cout<<"Please enter the side 2 of triangle in cm: "; cin>>b; cout<<"Please enter the side 3 of triangle in cm: "; cin>>c; angleC=acos((a...
48afdc443b92114d3156cd84ac52d0adfe154538
fded81a37e53d5fc31cacb9a0be86377825757b3
/buhg_g/zar_ar_r.cpp
9dda5bd7a405b691ef0e7f2fa0ea35031c801d9d
[]
no_license
iceblinux/iceBw_GTK
7bf28cba9d994e95bab0f5040fea1a54a477b953
a4f76e1fee29baa7dce79e8a4a309ae98ba504c2
refs/heads/main
2023-04-02T21:45:49.500587
2021-04-12T03:51:53
2021-04-12T03:51:53
356,744,886
0
0
null
null
null
null
UTF-8
C++
false
false
10,125
cpp
zar_ar_r.cpp
/*$Id: zar_ar_r.c,v 1.24 2013/09/26 09:46:59 sasa Exp $*/ /*23.05.2016 20.03.2006 Белых А.И. zar_ar_r.c Расчёт отчёта */ #include <math.h> #include <errno.h> #include "buhg_g.h" #include "zar_ar.h" class zar_ar_r_data { public: GtkWidget *knopka; GtkWidget *window; GtkWidget *label; GtkWidget *bar; Gtk...
4ef74112a2bde2b81182e44a727ec30d6b72eb1a
d97d2c0fb91744da6123acb641ba7b26d1946a70
/Driver_Motor/process_command.ino
4d6676e8bb3966fda388829b8a840436d661154c
[]
no_license
Zzzonkeed/Arduino-Robot-Explorador
e7a12d2717ec2b61b7b80b7f4400721383331e2a
0955928684ed2eef9007da8aa91ef89f8c69cf3a
refs/heads/master
2021-01-11T16:48:46.367570
2018-01-03T19:03:59
2018-01-03T19:03:59
79,676,312
0
0
null
null
null
null
UTF-8
C++
false
false
1,158
ino
process_command.ino
/* * Comando recibido * 1:100&3:100 * 1 o 2 significa el sentido de movimiento * 1: Adelante * 2: Atras * 100 es la velocidad en PWM con maximo de 255 * * 3 o 4 es la direccion * 3: Derecha * 4: Izquierda * 100 es la velocidad en PWM con maximo de 255 */ //Tamaño del comando recivido int action; int motor...
d7c5ec08baf2109800d8d0db38b798562005342b
37aed740a238ff7b083c769a01361b3050cde7fb
/cpp06/ex00/Converter.hpp
32f2787f8c95248c540016b934d25c546a49e8ff
[]
no_license
nawaraing/cppModule
e96961510b7974203befb5edd4d9a336696ddb59
437265c5070fd2714d20fea36248d22e2515ed34
refs/heads/master
2023-03-28T18:00:36.821494
2021-03-29T11:40:53
2021-03-29T11:40:53
340,276,195
0
0
null
null
null
null
UTF-8
C++
false
false
686
hpp
Converter.hpp
#ifndef CONVERTER_HPP #define CONVERTER_HPP #include <string> #include <climits> #include <cctype> #include <cstdlib> #include <exception> #include <iomanip> #include <cmath> #include <iostream> class Converter { private: double _val; bool _nan; public: Converter(); Converter(const char *arg); Converter(Conv...
b8170896a3dea7fb847bde228f4f78e7eb80d9d5
01553d07828278cab0c77da9c1f6b6c3dc87f7c2
/spojsolutions/PARTY-20946096-src.cpp
dafb17d92b2ddfff2dce6bc666b51408b920144c
[]
no_license
alphaWizard/competitive-coding
d6f0e01a2643947c0aa79af45687fbcb9d0fa24f
95bb20b13cc1b06028451904c4aa8c076f5fb5c4
refs/heads/master
2021-05-05T01:29:47.856903
2018-04-08T13:31:06
2018-04-08T13:31:06
119,661,782
3
1
null
null
null
null
UTF-8
C++
false
false
650
cpp
PARTY-20946096-src.cpp
#include<bits/stdc++.h> using namespace std; typedef int ll; const ll mod=1000000007; ll b,n,costop; ll cost[104],fun[104]; ll dp[104][600]; ll f(ll i,ll b) { if(b<=0) return 0; if(i==-1) return 0; if(dp[i][b]!=-1) return dp[i][b]; ll ai=f(i-1,b); ll bi=0; if(b>=cost[i]) bi=f(i-1,b-cost[i])+fun[i]; if(ai>bi) r...
332dc5ac209372db96ec04ea7c6ead82d70dae7e
7069c4dbc65c88144d2f89bfe433febaf0a57e2a
/src/appleseed/renderer/kernel/intersection/triangletree.cpp
55c8fae94d064596091492137c4d7c856e9042b2
[ "MIT" ]
permissive
tomcodes/appleseed
4d39965f168be1fd8540b635b5f32c2e8da188b6
e8ae4823158d7d40beb35c745eb6e9bee164dd2d
refs/heads/master
2021-01-17T22:45:50.384490
2012-01-20T17:54:49
2012-01-20T17:54:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
45,047
cpp
triangletree.cpp
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz // // Permission is hereby granted, free of charge, to any person obtaining a copy /...
84760b647181fde319887bf70ffd6d97f64474a8
036f090a4acb8b8186e35aad2785889a184a635f
/Infor_omprov/referensparameter/main.cpp
5aef9d61f2513588543c84e8145739912ec79826
[]
no_license
ing181/arduino
f1140b38763fe9c224f8545897247e8eda79c65c
85e78a226212b5057680f4be21f17151033763c2
refs/heads/master
2021-04-16T22:59:11.293609
2020-05-11T10:34:36
2020-05-11T10:34:36
249,390,252
0
0
null
null
null
null
ISO-8859-1
C++
false
false
604
cpp
main.cpp
/* Jämför vad som händer om du använder värdeparamterar (tar bort &-tecknet framför a) */ #include <iostream> using namespace std; // Funktionsdeklaration void minFunktion(int &a); // Referens x och a är samma variabel int main() { setlocale(LC_ALL,"swedish"); int x = 8; cout << "Fr main 1 " << x << endl; // 8 m...
a54b6404d988e1c0f91f9808392636bb23ea988c
387e8c04de1e2fd8bd3be7b2bd3b51e3b7f351b6
/brushless_gimbal_motor/_BruGi/_BruGi.ino
2344cbaccb9c7bcfcefb4ec87ff20d110930ced8
[]
no_license
xiapeiqing/reactionWheel
edc83a9e6987c4cb55d5325543f30adb7bfbf085
cf75af9df01a6d9e7b80c3126d1d7bd9bbeda833
refs/heads/master
2020-07-27T06:20:33.589815
2019-09-16T21:33:56
2019-09-16T21:33:56
208,900,053
0
0
null
null
null
null
UTF-8
C++
false
false
4,277
ino
_BruGi.ino
// Brushless Gimbal Contmotor2er Software by Christian Winkler and Alois Hahn (C) 2013 // Ludwig Fäerber, Alexander Rehfeld and Martin Eckart #define VERSION_EEPROM 15 // change this number when eeprom data structure has changed /*************************/ /* Include Header Files */ /*************************/ #incl...
283fa39605eed6dff2d95052e99a10b7b3094be8
a6e2f92ce10fa12a201422936ca89aec48f42ea7
/cpp/Platform.Data.Doublets/ISynchronizedLinks.h
4b7b44f531d073f3deb6c4dd874aa5796ee99726
[ "Unlicense" ]
permissive
linksplatform/Data.Doublets
0bf40de8910234c7bea00ef3a5687bd7484d8726
ba74dc457b745900bc7f054d96e511962910f273
refs/heads/main
2023-07-13T21:01:22.946690
2023-07-10T19:24:35
2023-07-10T19:24:35
199,508,305
67
10
Unlicense
2023-07-09T11:11:12
2019-07-29T18:41:30
C#
UTF-8
C++
false
false
318
h
ISynchronizedLinks.h
namespace Platform::Data::Doublets { template <typename ...> class ISynchronizedLinks; template <std::integral TLinkAddress> class ISynchronizedLinks<TLinkAddress> : public ISynchronizedLinks<TLinkAddress, ILinks<TLinkAddress>, LinksConstants<TLinkAddress>>, ILinks<TLinkAddress> { public: }; }
268e36e283e41467157eef17df1e90ce98a62c8f
60e7458294ae343190a702ebe2c7658bc7691f32
/sketchbook/anglerfish/anglerfish.ino
f5474baf12f582253b710d499eff95375f969919
[]
no_license
zoharsf/arduino
d0f5d43faacb24be9209967c3ebba013c0b875a8
a2049fe5c4112c0cad4798a9883b5e602fd8ca05
refs/heads/master
2022-02-16T03:40:28.622368
2019-09-20T13:11:47
2019-09-20T13:11:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,183
ino
anglerfish.ino
#include "Arduino.h" #include <stdlib.h> #include <FastLED.h> // Was built against version 3.1.0 /* * Anglerfish LED code. Assumes use of OctoWS2811 PortD pins via adapter board. * Was thrown together quickly due to rather short amounts of time * to spend working on this; would love to have had more time. * One ex...
ade8d89bcd0b26de53ab8e9f08c763624ff659ef
e3614af1f19a1d05b74cfef403cdba9a7e1a4f5b
/depth2rgb/depth2rgb/main.cpp
53e173db26373d719533da9489d6ef24c1861c56
[]
no_license
denniskb/merge_fusion
009c623f4dba5a5f82c97b1c8df0ea1f5ca08d85
01131ccbc3aaf43abe8e8608d1c69f5034a6a423
refs/heads/master
2020-12-25T22:29:03.257080
2020-11-23T12:17:15
2020-11-23T12:17:15
17,841,511
0
0
null
null
null
null
UTF-8
C++
false
false
4,524
cpp
main.cpp
#include <cstdio> #include <functional> #include <map> #include <vector> static const unsigned KINECT_RES = 640 * 480; std::vector< unsigned short > read_pgm( char const * file ) { std::vector< unsigned short > result( KINECT_RES ); FILE * src = fopen( file, "rb" ); fseek( src, 16, SEEK_SET ); fread...
dc97613cadb70ff1512419bf34bd7a9bc8989256
a35a436ed995d369ef940ebe323e4d500b65d50f
/games/Sorcery/src/player.h
6ff75801b4e67d0121c18ba9c0a11dd849784f53
[]
no_license
K-Frash/Arcade-Cabinet
01b0f2939fa12275b5032420063768e3d75a7955
ca35af0ec2c0f02f9361316d81ed99c237ba27aa
refs/heads/master
2021-07-06T17:48:49.007516
2020-09-19T23:11:10
2020-09-19T23:11:10
187,583,752
0
0
null
null
null
null
UTF-8
C++
false
false
2,646
h
player.h
#ifndef PLAYER_H #define PLAYER_H #include "inquiry/inquiryableplayer.h" #include "minion.h" #include "ritual.h" #include <string> #include <deque> #include <vector> class Player: public InquiryablePlayer { std::string name; int magic; int life; std::deque<std::unique_ptr<Card>> deck; std::vector<std::uniqu...
5a0135e03db9691ecaed8a26efca30ae8d43cf10
f82fef1bd4b69c9879d3684531f6f7d2e278ebd5
/include/piped/utils/applicatives.hpp
e0119deebf9f492276d328555f08b5323c252906
[ "MIT" ]
permissive
nikhedonia/reactive.cpp
fd57e1303e9aa2e341fc3fea5e5e5a5511aa1689
9b5b3cfecb0fa69de2ea7e8e9e315d6ae0859936
refs/heads/master
2020-12-24T12:28:32.306362
2016-11-27T23:32:03
2016-11-27T23:32:03
73,002,009
0
1
null
null
null
null
UTF-8
C++
false
false
349
hpp
applicatives.hpp
#ifndef PIPED_APPLICATIVES_HPP #define PIPED_APPLICATIVES_HPP namespace piped { auto apply = [](auto...x) { return [=](auto f) { return f(x...); }; }; auto amap = [](auto f) { return [=](auto...x) { return apply(f(x)...); }; }; auto acat = [](auto...x) { return [=](auto...y) { return apply(x.....
a5f4f25a6658292781161ac3f7607c5f6f533632
ce8fd5f0b5b15bace408393814d53c7d95ffec65
/src/DrueckerAbfragen.cpp
da48c5a5afa6b13c97323be9d4b1eac3189658e6
[]
no_license
leNique/uwr-ba-hupe
c8b3f07e129e16495a2e40c2ecd9ba61e1edfee3
f6bb45b67ecfe4cad2db19a4a5c696029bab1a59
refs/heads/master
2023-05-25T00:40:16.458846
2023-05-23T10:21:16
2023-05-23T10:21:16
84,340,260
4
1
null
2017-03-27T12:12:00
2017-03-08T16:10:54
Arduino
UTF-8
C++
false
false
2,257
cpp
DrueckerAbfragen.cpp
#ifndef DrueckerAbfragen_H #define DrueckerAbfragen_H #include "DrueckerAbfragen.h" #endif #define MinimaleHupZeit 100 #define HupeSperrZeit 2000 void DrueckerAbfragen() { BounceDrueckerSpielleiter.update(); BounceDrueckerUW1.update(); BounceDrueckerUW2.update(); // Drücker Spielleiter if (Bo...
9b9996744e1a0f40fba5d122521ec989dcc0b556
033ea075704396e3be4b31f27d57e77468e55181
/bindings/python/src/OpenSpaceToolkitPhysicsPy/Environment/Object.cpp
864fb9f8801491c464cd7010732fff720a4bb22d
[ "Apache-2.0", "MPL-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
open-space-collective/open-space-toolkit-physics
195163d94389c02fa10b2ee5db16660f6742dffa
ea6316e45a1bffb1d22bc124a1f72f5eb3f18456
refs/heads/main
2023-08-11T07:42:09.705555
2023-08-10T17:14:33
2023-08-10T17:14:33
136,835,583
15
3
Apache-2.0
2023-09-14T15:01:46
2018-06-10T18:44:58
C++
UTF-8
C++
false
false
1,719
cpp
Object.cpp
/// Apache License 2.0 #include <OpenSpaceToolkit/Physics/Environment/Object.hpp> #include <OpenSpaceToolkitPhysicsPy/Environment/Object/Geometry.cpp> inline void OpenSpaceToolkitPhysicsPy_Environment_Object(pybind11::module& aModule) { using namespace pybind11; using ostk::core::types::Shared; using os...
e00e10350708564ba5e812ba26facc08b01a53c5
65c30eb65f4c0ea9a07eabd86fba7aaeb4624ac5
/callbacks.h
37b948a122e22ebb5c43802f243f71e3e2ab758e
[]
no_license
niklassandberg/NS1_SAND_NO_MOZZI
f9021049faed215c94c024e749503ab7b759b349
f8ac2ac64bc921d6caa7bdf2b20a77eed263719c
refs/heads/master
2021-07-25T10:41:59.280215
2017-10-13T02:30:49
2017-10-13T02:30:49
105,017,145
0
0
null
null
null
null
UTF-8
C++
false
false
606
h
callbacks.h
#ifndef _SAND_CALLBACKS_H_ #define _SAND_CALLBACKS_H_ namespace midi { void noteon(uint8_t note, uint8_t velocity); void noteoff(uint8_t note, uint8_t velocity); void pitch(uint8_t lsb, uint8_t msb); void changedMod(uint8_t cc, uint8_t value); void changedCC(uint8_t cc, uint8_t value); }; namespace sync { ...
4413aa2a8991f4b358af5eb702bab214f4d585ca
37e6f1a2a71809ab873eca160901e9ab43177704
/Custom Game Engines/Frac/TDGame/src/Heap.cpp
7165c68a466727057d3aa8ed3e176d3d72250ccb
[]
no_license
mcmlevi/Portfolio_Levi_de_koning
1a1868c65917f59e0ded88bba900bd8a8ddadc57
9ed1797c96051163ba3b5703d7ee0f1193af9a0f
refs/heads/main
2023-04-28T21:53:28.011662
2021-05-27T20:29:45
2021-05-27T20:29:45
371,030,224
1
0
null
null
null
null
UTF-8
C++
false
false
3,641
cpp
Heap.cpp
#include "pch.h" #include"Heap.h" Heap::Heap(int maxSize, Frac::EngineConnector* connector) { items = std::vector<EntityHandle*>(maxSize); m_CurrentItemCount = 0; m_connector = connector; } Heap::~Heap() { } void Heap::Add(EntityHandle* entity) { TileComponent* entityTileC = m_connector->GetEngine().GetWorld()....
8eb5d6c5581bfcc28a249b60332d14a025b8b68c
831882327ced6b438d1d96482986b79a4bda5b6e
/source/client.h
b1f80c2c31e8d8c81c25a21b5000ba182b1af0ab
[]
no_license
LukasInnerhofer/Networking
736b227afcb5cc788b51b48f6e7c15207359d8bd
dad0efc0c53893830c147243f0121634493454fe
refs/heads/master
2021-01-20T09:37:14.153264
2017-05-12T16:36:09
2017-05-12T16:36:09
90,268,953
0
0
null
null
null
null
UTF-8
C++
false
false
528
h
client.h
#ifndef CLIENT_H #define CLIENT_H #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #include <iostream> #include <exception> #include <cstring> #include <unistd.h> #include <errno.h> namespace networking { extern bool verbose; extern struct sockaddr_...
397a69d33b9a137a8e5dc8e8181aeace5d31b6d5
2f0b898dd66ef2e35030a857896fdfca52747d1c
/Hackerrank/Graphs/kruskal/kruskal.cpp
2d2153403b859c5f017b62944dcc6bb48523aa3d
[]
no_license
DonaldoAyala/cp-solved-problems
b9b3ec27c001606ca73e029d9cb112b6ca6b9e44
1772f7815c7f2d59244c9210429113053c18a120
refs/heads/main
2023-07-01T10:03:57.405832
2021-08-16T01:42:51
2021-08-16T01:42:51
393,878,826
0
0
null
null
null
null
UTF-8
C++
false
false
1,694
cpp
kruskal.cpp
#include <bits/stdc++.h> #define FAST_IO ios_base::sync_with_stdio(false), cin.tie(NULL) #define endl '\n' using namespace std; class disjoint_set { public: vector<int> parent; int no_nodes; disjoint_set(int n) { no_nodes = n; parent = vector<int>(n+1); //Each node is its own father...
7c921e752187abd8f03c95a6c328ed9a6b1ee033
3b44469c3a98f9be6d7a71f92a713d9813b56aa2
/examples/payload_to_android_only/payload_to_android_only.ino
5bf4d1acd82e420df33c82b72872743919cafe9f
[]
no_license
sean-m-miller/Arduino-WiFiPayload
8462a5b24f23441f87c89a32ab84826902cb3191
b37d7c39a5360d03790972c1498cdd002d0cf18a
refs/heads/master
2022-04-27T08:57:13.396890
2020-04-23T00:37:13
2020-04-23T00:37:13
140,041,578
0
0
null
null
null
null
UTF-8
C++
false
false
1,945
ino
payload_to_android_only.ino
// This example shows how one could setup single-direction communication from an Arduino-interfaced device to the Android device as the surface. // for this example, we will be using a fictional metal detector #include <WiFiPayload.h> // include header file. WiFiPayload folder must be stored in Arduino/libraries/ // ...
11abacc2aca14133116593b5e28d40caa4389ebc
48ce7b84c044069d3def7908b24845d83e91bb75
/Date/Date/Date.h
a8cf0442fe23ce590568bc2df950b63c2b98ef9f
[]
no_license
eggie5/SDSU-COMPE260-SPRING12
8a9e69fc0a8abd7e7c579a3acf1f48938019a520
969836157fdc40a32f275cb0ce80ee201686dced
refs/heads/master
2021-01-23T03:48:17.066222
2012-04-26T17:02:49
2012-04-26T17:02:49
3,224,550
0
0
null
null
null
null
UTF-8
C++
false
false
795
h
Date.h
// // Date.h // Date // // Created by Alex Egg on 2/24/12. // Copyright (c) 2012 . All rights reserved. // #include <iostream> using namespace std; #ifndef Date_Date_h #define Date_Date_h class Date { private: unsigned day, month, year; void setDate(unsigned day, unsigned month, unsigned year); publ...
40c6de3cd33c2efe10a495a98681753a1d47df5f
2dcb52ddd94443a81082c71627784f4a8089e860
/test/sources/model/mymodel.h
7e80709ab006657640e42dff4313609fd9a2f3ac
[]
no_license
jerryxiee/qt_code
d986ff7270ca582f59dc00257cb7368b7080f7ae
1cd8d63666a7aabcb9df3108dbaf3227dd5cb440
refs/heads/master
2022-12-31T23:00:21.370792
2020-10-21T08:00:43
2020-10-21T08:00:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,781
h
mymodel.h
#ifndef MYMODEL_H #define MYMODEL_H #include <QObject> #include <QAbstractListModel> #include <QHash> #include <QList> #include <QByteArray> #include <QDebug> #include <vector> class mydata { public: mydata(const QString& data1, const QString& data2):mdata1(data1),mdata2(data2) { } QString data1() const { re...
211d00a5bef30aa7353eccc4a983e50474ef914d
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/lite/delegates/xnnpack/fully_connected_tester.h
da9a4aeea515b5f5fee3239dd770634760b6dd4a
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
C++
false
false
5,205
h
fully_connected_tester.h
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
56455a0df87b389580e377cafad34005fba97f6f
c5b583438a0219a74c271237f24a3bad18bc2519
/problems/bzoj2021.cpp
863b40ee394e1b45d5ccc595021fed54047921db
[]
no_license
gaodechen/OI_History
7b857cda868b5881735431a41de6fb42ea68b19f
5abf087de374cd9866ec7b6902f3a2bae870bdd9
refs/heads/master
2022-04-22T19:27:15.534325
2020-04-23T16:36:33
2020-04-23T16:36:33
258,250,958
0
0
null
null
null
null
UTF-8
C++
false
false
1,038
cpp
bzoj2021.cpp
#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 101, M = 1001; struct Item { int w, h; bool operator < (const Item &b) const { return h < b.h; } } e[N]; inline int pack(int x) { return x * 4 / 5; } int n,...
5eac422bfe24a14e6f2a02e04478f13575fe6a4a
6f120419562ba09627e43cffaf704650e1fc8887
/src/common/VMEWrapper.cc
ebfd462bc509e2b02cb73c0583e30728f6ad255f
[]
no_license
me11/odmbdev
83e185728de100044a63607e84535ff504e00ca4
d6b6724a8ac8d23df6c5492badfd866c36a5f9f6
refs/heads/master
2021-07-13T21:35:47.342047
2021-03-04T14:55:04
2021-03-04T14:55:04
11,902,031
0
2
null
2021-03-04T14:55:05
2013-08-05T15:43:58
C++
UTF-8
C++
false
false
8,557
cc
VMEWrapper.cc
#include "emu/odmbdev/VMEWrapper.h" #include "emu/odmbdev/Manager.h" #include "emu/odmbdev/utils.h" #include <iomanip> #include <string> #include <stdlib.h> namespace emu { namespace odmbdev { VMEWrapper::VMEWrapper(Crate * crate) : crate_(crate), port_number_(Manager::getPortNumber()), logFile...
262a46d0e383d62143116925dd4a3752b943fc87
c9ed51edaf649774c8f4062495cddd1dbfa4e7d6
/UnitTest.h
1e565f285d48389cb6b8936594bfa912a1db17c5
[]
no_license
mvipin/biped-hybrid
7d0e5757aa073f6614adc2d37360cd5b02160b7f
94cbe61cc566ea57eb68192488bc5870ead1b3ec
refs/heads/master
2023-04-22T06:26:08.864358
2021-05-05T06:48:39
2021-05-05T16:04:03
359,033,058
1
1
null
null
null
null
UTF-8
C++
false
false
3,259
h
UnitTest.h
#ifndef UNIT_TEST_H #define UNIT_TEST_H #define UP_DOWN 0, 0, -220, -120, 0, 0 #define LEFT_RIGHT -30, 30, -190, -190, 0, 0 #define FRONT_REAR 0, 0, -190, -190, -50, 50 class UnitTest { private: const int time_period = STEPS_DURATION; int interval; int xmin, xmax, xmid, xamp; int ymin, ymax, ymid...
77b0ad77f2b467f8bae47c94834e2982dfc307e4
799038eabf3b11032646bc5ec434d38cdb570d9d
/ActionPractice/ActionPractice/Window.cpp
c165a9b0eb5e3ad39ae1c53d3ef923996b449bfd
[]
no_license
hiroto1130/ActionPractice
726deba1cbbff299b850bc66d2225f31577dc629
1cfa528c3cafcee2ca8d397cf77309f32e0bbc75
refs/heads/master
2020-08-13T21:22:46.014864
2019-10-14T14:42:47
2019-10-14T14:42:47
215,040,041
0
0
null
null
null
null
UTF-8
C++
false
false
4,715
cpp
Window.cpp
#include<d3dx9.h> #include<tchar.h> #include<dinput.h> #include"window.h" #include"Engine.h" DWORD WINAPI Thread(LPVOID* data) { //1000ミリ秒(1秒)おきにループ Sleep(1000); //MessageBox(0, "Sleep処理が終了しました", NULL, MB_OK); ExitThread(0); } ////// ウィンドウプロシージャー ////// LRESULT CALLBACK WindowProcedure(HWND hInst, UINT iMsg...
66c052c47d286deb60c71c66b4d43206d0092fa0
2ff47e415a2a69e104352b6e2234ba5ee95459d6
/Src/World/Systems/System.h
6e4bd6cacb3af85e4f99a657d607bbdc57b14bcf
[ "MIT" ]
permissive
DanWatkins/glZombies
030fb2756790bc1274b0be97f6a021f2ef2fa5f9
22eb53074d3a5d3a8afa242016b4642f09c18beb
refs/heads/master
2020-04-05T23:11:52.973413
2016-05-22T16:26:56
2016-05-22T16:26:56
14,460,370
0
0
null
null
null
null
UTF-8
C++
false
false
1,409
h
System.h
//=======================================================================================================================| // Created 2013.12.23 by Daniel L. Watkins // // Copyright (C) 2013-2016 Daniel L. Watkins // This file is licensed under the MIT License. //========================================================...
5147a88275c17bde0d8efb4c5a3798391ae9ba65
424deedb6e929fd297de92d9cd2928d8711f4731
/src/Master.cpp
3e5f0e70d0235d5469737a901876647153fd673d
[]
no_license
jedrik94/16WSN_AMS
f75fa3f2a01dfa499f790d0a00e61e4a90bf3b27
9432beb6008a61096163dae2323e0eb79e6c681f
refs/heads/master
2020-06-16T08:04:26.076845
2017-01-14T21:44:44
2017-01-14T21:44:44
75,124,323
0
0
null
null
null
null
UTF-8
C++
false
false
17,683
cpp
Master.cpp
#include <Arduino.h> #include <SPI.h> #include <RF24.h> #include <printf.h> #include <nRF24L01.h> #include <AESLib.h> #include "Definitions.h" uint8_t sentFramesCounter = 0x00; // counts sent frames from node RF24 radio(9,10); // init of RF24 const uint64_t adr[2] = { 0x1B1B1B1B21LL, 0x1B1B1B1B12LL }; // piplines ...
1d4175a9a57e6fc4868fbfd8abae60878be72056
1976b4a2e9ed1c504ca460857c8c48d450d6181d
/Classes/ServerCpp/server.h
f9b163e3da241e1de1337c8f634eba65888039ab
[]
no_license
crookedbard/GameTrafficOptimization
1f734daf32263bebeeaf7c1400e64b233f2b69ba
4c5dccd2a4dd8b06303601a9642c48a96b276f78
refs/heads/master
2021-01-12T03:54:52.188381
2018-01-07T21:33:44
2018-01-07T21:33:44
78,283,573
4
3
null
null
null
null
UTF-8
C++
false
false
2,822
h
server.h
#ifndef __SERVER_H__ #define __SERVER_H__ //#define _WIN32_WINDOWS //Resolve additional dependancies #include <iostream> //#include <string> //#include <sstream> //#include <ostream> //#include <Windows.h> //#include <Psapi.h> //#include <fstream> //#include "dirent.h" //#include <direct.h> //#include <vector> //#incl...
b171a847d0dd1d0261d289ad2a0a593b87d2a84c
9540a4d319c9f0b8053fdf2ef5bc4f8c442cdef5
/OpenGL_Framework/OpenGL_Framework/Projects/Sources/C++/Library/Physics/Body/Soft/SoftBody.cpp
501d41cd141908cc68f7a4d3e81c5ef62dd8fa5b
[]
no_license
jaccen/OpenGLFramework02
c5ff1a8e1ad1d275c2f034e2f21686b3a1a500cf
d468bde0dbaa1b71ffd523a76c8d87ac1aa8f885
refs/heads/master
2021-01-14T14:01:49.314683
2015-03-09T17:21:14
2015-03-09T17:21:14
null
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
22,753
cpp
SoftBody.cpp
/* ヘッダファイル */ #include "SoftBody.h" #include "../Rigid/RigidBody.h" #include "../../../Debug/Helper/DebugHelper.h" #include "Joint/LinearJoint.h" #include "Joint/AngularJoint.h" #include <BulletSoftBody/btSoftBodyHelpers.h> //------------------------------------------------------------- /// /// @brief フィジックス /// @bri...
6544a29753a83185d48e2f51fe2b83e42f581a7f
622e548ab614ef25993da154b567e41b29aa4d78
/src/Commands/DriveWithJoystick.cpp
63cd02c10390bffdd7c45de161ac4800040a3efa
[]
no_license
cwtech2959/2017-SteamWorks-Robot-Project
e32cc1be8c84b88d65a6a99bffdae973e6fa8a0d
9b47d728e0e61405520a2170102a70c7017d99c4
refs/heads/master
2021-01-11T17:53:08.936084
2017-04-01T16:00:36
2017-04-01T16:00:36
79,861,359
1
1
null
null
null
null
UTF-8
C++
false
false
507
cpp
DriveWithJoystick.cpp
/* * DriveWithJoystick.cpp * * Created on: Jan 28, 2017 * Author: mriri */ #include <Commands/DriveWithJoystick.h> #include <Robot.h> DriveWithJoystick::DriveWithJoystick() : Command("DriveWithJoystick") { Requires(Robot::DriveTrainSubsystem.get()); } DriveWithJoystick::~DriveWithJoystick(...
ae6ef92de1147daecb5cac0eb9438f16cdebe5c4
c948d845c0916a5a92367673d5819b0bcf7870c2
/price.cpp
abcef49f25f9acd1b91fbeded12b936c5b8b9bec
[]
no_license
CxkkxC/C-Exercise-
227134d9cad133a33fb360057fb8d6d8eb35d2be
8dbb663fbec400b4ce09257e196caf0d62b4c588
refs/heads/master
2020-06-16T14:58:50.223667
2019-07-13T01:54:55
2019-07-13T01:54:55
195,616,053
0
0
null
null
null
null
GB18030
C++
false
false
760
cpp
price.cpp
#include<iostream> #include<iomanip> #include<fstream> using namespace std; int main(){ /* char *name[] = {"手电筒","电池"}; double price[] = {75.825,4.1}; int n; cout<<"商品名称 单价\n"<<setiosflags(ios::left); for(n = 0;n<2;n++) { cout<<setw(8)<<name[n]; cout<<" "; cout<<setw(6)<<price[n]; cout<<endl; } ofstream fout...
9ade952c22a0d21918f357033cfa9fef1e6e0218
5d9be773dc0139d33df024c037d1fde72ad96e54
/virtual-zoo-cpp/vz01/src/Cage.h
12cc850d0098484a5c524e7948797e53bb4781fd
[]
no_license
tugas-itb-erick/IF2210-OOP
cc49fd7c00ec0b27817e80db9c7d5e851701b8c8
b5165e1731a86f4f87579e64f0cc8677c9d0d724
refs/heads/master
2020-04-03T05:16:15.891248
2018-10-28T06:36:40
2018-10-28T06:36:40
155,040,348
0
0
null
null
null
null
UTF-8
C++
false
false
1,411
h
Cage.h
/* NIM/Nama : 13515057 / Erick Wijaya */ /* File : Cage.h */ #pragma once #include <iostream> #include "Renderable.h" #include "Animal.h" #include "Habitat.h" using namespace std; class Cage : public Renderable { public: /** @brief Constructor * membuat cage kosong. */ Cage(); /** ...
3e550e5ee7ffa831fc5fb2116b5ef0aea62cfcb3
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/performance_manager/performance_manager_registry_impl.cc
51bd4bb573ede3e06fd7c27b580c2f4e1d2b749f
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
12,432
cc
performance_manager_registry_impl.cc
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/performance_manager/performance_manager_registry_impl.h" #include <iterator> #include <utility> #include "base/observer_list.h" #include "base/task/seque...
6f84d2f324b5517594bedc797fa0e1d8a657f80c
52ccaa4e091f87c148c154cd81bb2c17d5581144
/maps/maps.cpp
d1d6bc25b1fbba410dd38c1b5b977590d9830720
[]
no_license
saleemsaeed/practice
4a13e71a5320bbe2cc52e3561d43de898d2c8154
e7c11da3441be6e108183720a742451a60383c23
refs/heads/master
2020-03-12T06:59:06.046264
2018-05-25T20:56:46
2018-05-25T20:56:46
130,497,509
0
0
null
null
null
null
UTF-8
C++
false
false
837
cpp
maps.cpp
#include <iostream> #include <map> using namespace std; int main() { map<string, int> ages; ages["Mike"] = 40; ages["Raj"] = 20; ages["Vicky"] = 30; ages["Mike"] = 70; cout << ages["Raj"] << endl; //cout << ages["Sue"] << endl; // creates a new element named Sue value 0 //pair<string, int> addToM...
2e7c344182eb430e773e2599ac09477ab99f4dcf
44706cc69378605bfb50f8f4cb89be752e09d88e
/main/src/messenger.cpp
34e0bc47e614e8ad2f85027fed9364ec8d8c8d3c
[]
no_license
dream-overflow/o3dstudio
9512ce34fa8668fb06a128ca5536ff20251eb9ab
c51d149d6753b75a2f40ebfb905ac1390bb0106c
refs/heads/master
2020-04-27T08:02:50.642718
2018-04-23T16:28:51
2018-04-23T16:28:51
174,157,370
3
0
null
null
null
null
UTF-8
C++
false
false
2,004
cpp
messenger.cpp
/** * @brief Common messenger manager * @copyright Copyright (C) 2017 Dream Overflow. All rights reserved. * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2017-11-09 * @details */ #include "o3d/studio/common/messenger.h" #include <o3d/core/debug.h> using namespace o3d::studio::common; ...