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
9bd9a47cb6539e55cdd2c08c0954ee2811a00209
f057542364beb7f6e362463ce08a356d8622c893
/src/planets/Planet.cpp
ed17986baf93fe770241c62efd50279b937685e5
[]
no_license
TWilson023/Aquarius
bcf49868de601b7e854f181e66812dd0f4f626e5
c24034e88f0a04e032e17f64760f7701008abf8d
refs/heads/master
2021-07-06T20:05:58.918619
2017-12-31T01:28:25
2017-12-31T01:28:25
48,939,663
1
1
null
2021-05-24T17:42:51
2016-01-03T08:49:33
C++
UTF-8
C++
false
false
1,788
cpp
Planet.cpp
#include "planets/Planet.h" #include <iostream> Planet::Planet(int radius) : radius(radius), Geometry(new ShaderProgram("shaders/simple.vert", "shaders/simple.frag")) { create(); } void Planet::create() { chunk = new Chunk(1, ); GLuint vertexArrayID; glGenVertexArrays(1, &vertexArrayID); glBindVertexArray(ver...
a8752872932cee7b2a3e85059bca2c696d1a055d
bfa3b192288ceed44ed30792d8857c3c1d72b4b2
/FTL_ALL/ColorQuantizer/ColorQuantizerBase.cpp
dc304eaa9234f994e6a8efee51ee86ed55ad8c1f
[]
no_license
Crawping/fishjam-template-library
a886ac50f807c4386ce37a89563b8da23024220f
46b4b3048a38034772d7c8a654d372907d7e024d
refs/heads/master
2020-12-24T09:44:22.596675
2015-03-18T10:50:43
2015-03-18T10:50:43
null
0
0
null
null
null
null
GB18030
C++
false
false
5,230
cpp
ColorQuantizerBase.cpp
#include "stdafx.h" #include "ColorQuantizerBase.h" #include <ftlGdi.h> namespace FTL { CFColorQuantizerBase::CFColorQuantizerBase(){ m_nWidth = 0; m_nHeight = 0; m_nBpp = 0; m_nBmpDataSize = 0; m_nBmpLineBytes = 0; m_nPaletteItemCount = 0; m_nBm...
335c7e9d8f2529a5ca33ab60be1ca6c6175e52d4
60a15a584b00895e47628c5a485bd1f14cfeebbe
/comps/misc/input/NewDoc/InputDriverManager.h
b62e69eb7bec96ceff302280c2b605efe438db55
[]
no_license
fcccode/vt5
ce4c1d8fe819715f2580586c8113cfedf2ab44ac
c88049949ebb999304f0fc7648f3d03f6501c65b
refs/heads/master
2020-09-27T22:56:55.348501
2019-06-17T20:39:46
2019-06-17T20:39:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,785
h
InputDriverManager.h
#if !defined(AFX_INPUTDRIVERMANAGER_H__530DE72D_608F_4218_991A_C393B4FB1283__INCLUDED_) #define AFX_INPUTDRIVERMANAGER_H__530DE72D_608F_4218_991A_C393B4FB1283__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // InputDriverManager.h : header file // class CDeviceInfo; ///////////////////////////...
a9fb499614fccccca4312ecb9baa8b2cb05c1e09
a8d7099048b36126f5faf56b373cc970b601f745
/Famouso/include/VREPActuator.h
61531f7f014c6de42cb4ab783397481ae1cec17a
[]
no_license
dtbinh/VREP-Plugins
3fd944c5b23d3c450098ccb9a51ebf9723f10d74
1371edbf68a78c2dacbfadeba6bca528bbcaa26a
refs/heads/master
2021-01-22T15:22:22.251798
2014-11-07T19:03:07
2014-11-07T19:03:07
63,950,209
1
0
null
2016-07-22T12:02:42
2016-07-22T12:02:42
null
UTF-8
C++
false
false
621
h
VREPActuator.h
#pragma once #include <config.h> #include <VREPObject.h> class VREPActuator : public VREPObject{ private: config::Famouso::Subscriber sub; void init(); void trampoline(const famouso::mw::api::SECCallBackData& e); protected: typedef famouso::mw::api::SECCallBackData Event; virtual void print(st...
6f60f3833d0ca4002443228ab7130ed683db8772
88005007184d47119b299152101abd5e67d638e6
/EMS_Controller/EMS_Controller.ino
506d9c06f8e71078737ef791acd61d40ef7a47ed
[]
no_license
christianstenderup/MasterThesis
f9dc8c5a656f5a1abb6fc96b38026cc13ab193f2
83ee41ed889938920d88f96dea8d46e3cf56fdc2
refs/heads/master
2021-01-20T00:14:59.607507
2017-04-22T22:26:33
2017-04-22T22:26:33
89,101,237
0
0
null
null
null
null
UTF-8
C++
false
false
2,309
ino
EMS_Controller.ino
#include <DS1803.h> #include <Wire.h> DS1803 pot_pulse(0x28); DS1803 pot_amplitude(0x2C); int amp; int width; int rate; int amp2; int FstSource = 0; int SndSource = 1; int PulseWidth = 0; int PulseRate = 1; bool turnOnSndSource; void setup() { Serial.begin(9600); //Initialize amplitude potentiometers. pot_...
3c93ec73e1ee6e29c76dee1ed909e559f302e7f6
0f35399b2d6a9e7ff5e57efcc9048f2216f41618
/modem3g.cpp
4fad3b0d69333b57983daa957d64fecb6d9b6438
[]
no_license
electrobas94/UMController
a9de6b6e5dd36c1a7b175870a1891b8bdfcb7e7d
beca5a3beb4e2dee997679f63c0d4764140cbae6
refs/heads/master
2021-01-19T19:46:26.831685
2017-06-25T14:59:45
2017-06-25T14:59:45
84,476,503
0
0
null
null
null
null
UTF-8
C++
false
false
46
cpp
modem3g.cpp
#include "modem3g.h" Modem3G::Modem3G() { }
54d24a159b1ba928e5e7a80f4c9db8943ee67ea8
3ef492e4ceddcc487ef73ddd1befee2f0dd34777
/Algorithms/Implementation/Drawing Book.cpp
8d875f735bb705a958ecb4dfaaabd7430660c4d4
[]
no_license
PhoenixDD/HackerRank
23c9079e5b31657bc68f1709b5550be403f958ce
044c39619ce535f5a247c7407b0f7793ca04719d
refs/heads/master
2021-01-15T16:47:47.124935
2018-06-28T00:17:12
2018-06-28T00:17:12
99,726,089
0
0
null
null
null
null
UTF-8
C++
false
false
294
cpp
Drawing Book.cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int N,p; cin>>N>>p; if(p==N-1&&N%2==0&&N!=2) cout<<1; else if(p>N/2) cout<<(N-p)/2; else cout<<p/2; return 0; }
33d651b6dab6028575cdb103bcf634809f6960de
ce29683da092c8aa5a9ce222f080042071d575fb
/viewmenulistedestaches.cpp
56a6689d858a9f84745f61b36ceb11ef3c8e9c57
[]
no_license
piratebreizh/DockAuto
58dcab1829459194bd60a00f1badb6180bc1bebb
ed182d139f528e3fd9d2cafd911d60115a12c811
refs/heads/master
2016-09-08T02:37:59.146140
2014-07-21T12:05:54
2014-07-21T12:05:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,981
cpp
viewmenulistedestaches.cpp
#include "viewmenulistedestaches.h" #include <gestiondb.h> ViewMenuListeDesTaches::ViewMenuListeDesTaches(ViewMenuSimulation * _viewMenuSimulation) { viewMenuSimulation = &* _viewMenuSimulation; initialisationComposant(); definitonLayout(); } void ViewMenuListeDesTaches::initialisationComposant() { ma...
6205be3a9d392f64f1aea486dbaf83ada7c244c7
5c9777049a5af6fb2400578ba6214ea8b8249b59
/practices/Q18.cpp
a43ad44eed430696d14a0a33d203a59371624532
[]
no_license
brucelee503jo3/F611700
092e0233dbc2037fcd1fae06fecd37191e59d426
de4d00cc4ba05576b19a919d0707f082b2b5ebb2
refs/heads/main
2023-06-20T02:48:58.920659
2021-07-20T05:51:13
2021-07-20T05:51:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
268
cpp
Q18.cpp
#include<iostream> #include<cstdlib> using namespace std; #define MAX(a,b,c) (a>b?a:b)>c?(a>b?a:b):c int main() { int a; cin>>a; for(int b=0;b<a;b++) { int i,j,k,n; cin>>i>>j>>k; n=MAX(i,j,k); cout<<n<<endl; } return 0; }
f2c2b1c9bdad1a81de59693f0f85e8de4b6fcfe6
ba33e7cc50972aa4affe70397da85cff61a15ea2
/include/ponder/qt/qtsimpleproperty.hpp
2b866403068a4410c1cc4948df8475ee3582dce9
[ "MIT" ]
permissive
billyquith/ponder
246fcd0b5a4b1c0c1a1e53760977b834c0a47e78
aff8843efa8069b272bad49df2d820a9b4d88171
refs/heads/master
2023-08-22T13:08:52.616858
2020-12-03T16:56:58
2020-12-03T16:56:58
48,850,177
634
116
NOASSERTION
2022-10-31T03:52:31
2015-12-31T13:22:02
C++
UTF-8
C++
false
false
3,689
hpp
qtsimpleproperty.hpp
/**************************************************************************** ** ** This file is part of the Ponder library, formerly CAMP. ** ** The MIT License (MIT) ** ** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company. ** Copyright (C) 2015-2020 Nick Trout. ** ** Permission is...
a6d8bb39d7fed926d01aacce149770a56b2bfaa5
103848bd4ee0922daf953a9933d85fbb41d01f3a
/ch3/ex3_40.cpp
0f89ca823b85d5f4c6f418ba66b9d032c3d3afbd
[]
no_license
geekbutton/Cpp-Primer
9db5f16685dfb8d847ad523da065e0418a9b353a
f192f2c023d3b673ad5dfac49962c4d7cad79c30
refs/heads/master
2021-01-12T13:52:24.741118
2016-10-07T07:55:15
2016-10-07T07:55:15
69,074,708
0
0
null
null
null
null
UTF-8
C++
false
false
637
cpp
ex3_40.cpp
//============================================================================ // Name : HW.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include<iostre...
c108592dfae6a23b23f5f95b39e47222b846dba9
33f10f127eb15300065fc652825fbac90d7ac69a
/cvsnt/tortoiseCVS/TortoiseCVS/src/DialogsWxw/CheckoutOptionsPage.cpp
138ae6b7ee38ff40b71ed4502f9b1090cce417e1
[]
no_license
todace/G-CVSNT
aa4a7d075bb30303b373fda1041c486072d9c957
d13506abb904c61e6d031d97a23fde1a14ba4ba0
refs/heads/master
2021-03-12T20:45:33.618315
2021-01-15T12:07:19
2021-01-15T12:19:06
4,526,593
2
1
null
null
null
null
UTF-8
C++
false
false
7,463
cpp
CheckoutOptionsPage.cpp
// TortoiseCVS - a Windows shell extension for easy version control // Checkout options page // Copyright (C) 2002 - Ben Campbell // <ben.campbell@ntlworld.com> - Jan 2002 // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by...
6a44fd6d950497d9143a3427ee05b43eb57692b4
588166c7cce8fd6d7a05d7bb246888948184f910
/archive/plot_2016-12-02_full_status_pies_1d.cxx
c0e6ace7f0151e9e905e0a6296169081310049bc
[]
no_license
ald77/ra4_draw
d9668844fa2c9c648a7af3b289805a4c00ef6469
5f4f6998516d5913ae899636ba39652bd9a79a52
refs/heads/master
2021-01-23T19:35:55.392641
2017-11-15T14:44:12
2017-11-15T14:44:12
49,285,571
5
2
null
null
null
null
UTF-8
C++
false
false
5,907
cxx
plot_2016-12-02_full_status_pies_1d.cxx
#include <cmath> #include <stdio.h> #include <chrono> #include "TError.h" #include "TVector2.h" #include "core/plot_maker.hpp" #include "core/plot_opt.hpp" #include "core/palette.hpp" #include "core/hist1d.hpp" #include "core/event_scan.hpp" #include "core/utilities.hpp" #include "core/table.hpp" #include "core/slide...
b54fd1fde868d526b553aee064aa6bebab0ce163
07c3e4c4f82056e76285c81f14ea0fbb263ed906
/Re-Abyss/app/components/UI/SaveSelect/Main/ModeCtrl.hpp
5bbc60fd8f50044a8a1bb0d1f8f076848265409b
[]
no_license
tyanmahou/Re-Abyss
f030841ca395c6b7ca6f9debe4d0de8a8c0036b5
bd36687ddabad0627941dbe9b299b3c715114240
refs/heads/master
2023-08-02T22:23:43.867123
2023-08-02T14:20:26
2023-08-02T14:20:26
199,132,051
9
1
null
2021-11-22T20:46:39
2019-07-27T07:28:34
C++
UTF-8
C++
false
false
856
hpp
ModeCtrl.hpp
#pragma once #include <abyss/modules/GameObject/IComponent.hpp> #include <abyss/modules/UI/base/IDraw.hpp> #include <abyss/components/UI/SaveSelect/Main/Mode.hpp> namespace abyss::UI::SaveSelect::Main { class ModeCtrl : public IComponent, public IDraw { public: ModeCtrl(UIObj* pUi);...
e9350841fb4d51a393b050c2998f5e29ee566b04
bf437a984f4176f99ff1a8c6a7f60a64259b2415
/src/ansa/routing/eigrp/pdms/EigrpPrint.cc
63f0ac5285ab49e41f9755d645d2e929ce2bf649
[]
no_license
kvetak/ANSA
b8bcd25c9c04a09d5764177e7929f6d2de304e57
fa0f011b248eacf25f97987172d99b39663e44ce
refs/heads/ansainet-3.3.0
2021-04-09T16:36:26.173317
2017-02-16T12:43:17
2017-02-16T12:43:17
3,823,817
10
16
null
2017-02-16T12:43:17
2012-03-25T11:25:51
C++
UTF-8
C++
false
false
2,714
cc
EigrpPrint.cc
// // Copyright (C) 2009 - today Brno University of Technology, Czech Republic // // 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 3 of the License, or // (at your option...
9e6ae0f7420b2b790bd1710a07b07fb0976c3512
33d9639d0c994721ef62e6e423c89a7164d1b867
/tractor/FuelTank.h
ba87114a7e52a9bf3a471fe563323166c61e00c2
[]
no_license
elohhim/gkom-optimus
af7fa6e554ba5df34433320117f25b5fb5946ebd
c4150503dc4369e7614b7f77ddf27122607917cd
refs/heads/master
2021-06-02T14:01:53.321092
2018-01-25T13:57:38
2018-01-25T13:57:38
28,600,840
0
0
null
2015-01-08T23:15:09
2014-12-29T17:55:36
C++
UTF-8
C++
false
false
284
h
FuelTank.h
/* * FuelTank.h * * Created on: Jan 2, 2015 * Author: elohhim */ #ifndef FUELTANK_H_ #define FUELTANK_H_ #include "../Part.h" class FuelTank: public Part { public: FuelTank( float x, float y, float z); virtual ~FuelTank(); void draw(); }; #endif /* FUELTANK_H_ */
d8dc6b45f6206aee833c7f277866ad2f0fdb86ab
3926445e634886772189bf0ab5db05c211b817e4
/gameOverState.cpp
bd9d94a7ce1171e99d2a2c9967953aae67af3aba
[]
no_license
Samuelfournier/Projet-TrenteEtUn
172cdaf1d42176449be904ee6df2222e98b12255
f31b9a1d594e2ba07547eaa37629922f3159d8ff
refs/heads/main
2023-03-02T16:43:58.579278
2021-02-13T21:35:22
2021-02-13T21:35:22
338,672,708
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,348
cpp
gameOverState.cpp
/* Auteur : Samuel Fournier, Olivier Vigneault, William Goupil Date : 18 Décembre 2020 Programme : Définition des méthodes de gameOverState */ #include "gameOverState.h" //le constructeur utilise les : pour initialiser _data avant même l’exécution du contenu{} gameOverState::gameOverState(gameDataRef data, int win...
1d67ee11c8a56815798bc7c61224522738faa1f9
53104373fb21335329b6a68ac24cef41300ae230
/A/1042.cpp
e5524842e3edbd63ba624b522ba50dbd626a630b
[]
no_license
LykeeKylee/PAT
fdcc64f009c557b08b56f1e7a17889b7ce3cdcb4
2cc460b7cfdce5ef129cca91ff3f4d5a741eae00
refs/heads/master
2022-11-22T11:19:02.441663
2020-07-25T09:03:57
2020-07-25T09:03:57
239,987,525
0
0
null
2020-03-19T09:55:52
2020-02-12T10:39:44
C++
UTF-8
C++
false
false
695
cpp
1042.cpp
#include<bits/stdc++.h> using namespace std; vector<string> card(60), tmp(60); int shuffles[60]; int main() { int k, i, j, cnt = 1; string color[] = {"S", "H", "C", "D", "J"}; scanf("%d", &k); for(i = 0; i < 5; ++i) { if(color[i] != "J") { for(j = 1; j <= 13; ++j) { card[cnt++] = color[i] + to_s...
c5b0af6ef9d54029211b882732814fe9f84e52e6
9c8bf3ca7f70243c35c998916f6e402581b55f43
/Classes/ArrowNode.h
92aaddb7882ec86e76892b2dd2d632e96bb2f6ee
[]
no_license
agiantwhale/segments
aced26c936f6c7d5dce9d417316dec11023eafce
2fec42032d374078702268f6f04034f2d017da7d
refs/heads/master
2016-09-15T22:38:58.786295
2013-10-20T23:53:26
2013-10-20T23:53:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
581
h
ArrowNode.h
// // ArrowNode.h // CutGame // // Created by 이일재 on 13. 7. 5.. // // #ifndef __CutGame__ArrowNode__ #define __CutGame__ArrowNode__ #include <cocos2d.h> #include "GameLayer.h" using namespace cocos2d; class ArrowNode : public CCNode { CC_SYNTHESIZE_PASS_BY_REF(std::vector<SliceInfo>, m_sliceInfoStack, SliceI...
91f79f56bd005930c4c6f210a1939b663ea26edf
1b08ce242cf532a0af1378735a153a0cac172b85
/Ubung1/Header/Mul.h
d80c2b21318bf9b7979cd151fc784f64d5281a0a
[]
no_license
Martinay/PraktikumDesignPatterns
70dd43fc3c3dd16c71bc52ecf54796c06de74e06
0d5d7f6954993ccf6f7ac3445cdb7605335a6670
refs/heads/master
2021-04-30T22:06:49.422389
2017-01-20T11:08:10
2017-01-20T11:08:10
71,438,734
0
0
null
null
null
null
UTF-8
C++
false
false
188
h
Mul.h
#include "Term.h" class Mul : public Term{ public: Mul(Term* links, Term*rechts); void Print(); int Calc(); private: Term *_links; Term *_rechts; };
471a600a8f6cabe3fcf55e00586ff688f5d1bd9b
acc968826c90c46ecbb3f3c9fe839fbb98116124
/src/model/Term.h
90640b2b92202a2e478b0153c2031b4937c98a95
[ "MIT" ]
permissive
lucasnr/autocomplete
eeca8dec424981886597b06ecad7586824fbc980
7480711f9d908ef5f44d38b1dd8332e5cea71874
refs/heads/main
2023-07-06T20:02:15.908968
2021-08-22T20:24:54
2021-08-22T20:24:54
360,253,365
0
0
null
null
null
null
UTF-8
C++
false
false
89
h
Term.h
#include <string> using namespace std; struct Term { long weight; string value; };
f82c8942dbca950b1be89cd1ba70299cd632e983
a92e370fa5b4adc2b8ebd081ee2ac7a49283c7a4
/src/laneft_ocv.hpp
2f6935ddb213fec775d95f1f5e5ff1e836c72323
[ "MIT" ]
permissive
jamesljlster/laneft
66c03b076d0694489ba4abb1b288c3f41eb1a72a
6dfc0984d038b0c4b7fa13b6244b6f104a426584
refs/heads/master
2020-04-14T23:44:44.126728
2018-12-09T08:29:03
2018-12-09T08:29:07
164,214,203
0
0
null
null
null
null
UTF-8
C++
false
false
435
hpp
laneft_ocv.hpp
#ifndef LANEFT_OCV_HPP_INCLUDED #define LANEFT_OCV_HPP_INCLUDED #include <opencv2/opencv.hpp> #include "laneft.hpp" class laneft_ocv : public laneft { public: laneft_ocv() : laneft() {} laneft_ocv(laneft::LANE_TYPE laneType) : laneft(laneType) {} double get_feature(cv::Mat src); void draw_line_on...
6c7ef769bd6df4471d5e270d7429e0ce253c184a
6dccb3185a93e45b0992dfdf5938b5e3ab9d46de
/src/ParaGraphTest/src/main.cpp
142dfd0876e087fe83b13c4e21054871a327c5cf
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
appu226/ParaGraph
7a16f40424879a4aac5c8f1e264fc63dd9fa6c02
82604a286b50d414515f22521882115980f2ee80
refs/heads/master
2020-03-07T15:25:38.515538
2018-09-02T12:39:57
2018-09-02T12:39:57
127,554,552
1
0
Apache-2.0
2018-08-04T15:11:58
2018-03-31T17:22:32
C++
UTF-8
C++
false
false
2,048
cpp
main.cpp
/** * Copyright 2018 Parakram Majumdar * * 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 agr...
10d7be5a2fd15f30fc20aa455231e6a9d8720c6e
862b98241a8a7207237467829b6e54d67865c1d4
/cpp/Test/12_CO_en_case.cpp
225d1e0be5614a9bfcc71297ab218788c1038271
[]
no_license
eglrp/PublicSpace
fa6889f410e11ccebffac6730ee5c1b063d73217
e5d31339a316ffdbfedc8f3cb750ef942c47412a
refs/heads/master
2022-11-12T17:49:34.531240
2020-06-30T00:10:30
2020-06-30T00:10:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,947
cpp
12_CO_en_case.cpp
// // 12_CO_2case.cpp // cpp // // Created by kabun on 2020/4/21. // Copyright © 2020 kabun . All rights reserved. // #include <stdio.h> #include <iostream> #include <string> #include "Point.hpp" #include "Circle.hpp" using namespace std; /* //====================================================立方体案例=============...
779772437b7234380368d4d6b1d47b428f7449ff
547a0e37998c836be10ee00f13b1cf201a381de5
/3.2小节——入门模拟->查找元素/ProblemB.cpp
a40cd0c617619cf0b2801ea2256ddea530f0ee84
[]
no_license
hegongshan/algorithm-notes
7232c3b3868f1a6ca4603756adc92edb3facbf6d
59e1ab7146858e5a4b4b11c9b7459289e2a93f16
refs/heads/master
2020-04-29T11:41:02.881872
2019-08-06T15:35:39
2019-08-06T15:35:39
176,108,059
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
ProblemB.cpp
#include <cstdio> int main() { int n; while (scanf("%d", &n) != EOF) { int arr[n]; for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } int x; scanf("%d", &x); bool flag = false; for (int i = 0; i < n; i++) { if (x == arr[i]) { printf("%d\n", i); flag = true; break; } } if (!f...
e7492987bbeb8c12c58d99184c22b073ba380c25
096387465560b8f226733ee807358b4c99ea0a3d
/BlobWorld/source/src/animatedsprite.cpp
7612ef742e7b0233225c7e9694e6760761f8f91b
[]
no_license
jezwin10/BlobWorld
57aaa210ca2756a39d216f316616dd6c8e48a23e
6f55bc62f042d114e0fa21754a053d88fb93731b
refs/heads/master
2020-03-12T23:34:46.315448
2018-04-24T14:42:40
2018-04-24T14:42:40
130,749,886
0
0
null
null
null
null
UTF-8
C++
false
false
3,371
cpp
animatedsprite.cpp
/* AnimatedSprite Class * Used to animate the sprites */ #include "animatedsprite.h" #include "graphics.h" AnimatedSprite::AnimatedSprite() { } AnimatedSprite::AnimatedSprite(Graphics &graphics, const std::string &filePath, int sourceX, int sourceY, int width, int height, float posX, float posY, float timeToUpd...
d8c70dfb97b36a84a314d54127e5179bf5e1eaec
78637020449753a82e219cd7e750a166a2a01533
/noiseField/src/ofApp.cpp
bcd8e25e1086023416c2ed93528ff4fe1b215c02
[]
no_license
jakeelwes/OF_work_old
f4550a56092f0a830809ba95fc29c4983c1e9faa
72d983c1e2508e10ffd26350146713c985c3c531
refs/heads/master
2021-01-15T13:23:22.375579
2015-10-24T06:48:17
2015-10-24T06:48:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,804
cpp
ofApp.cpp
#include "ofApp.h" float phase = TWO_PI; // separate u-noise from v-noise float complexity = 3; // wind complexity int step = 10; // spatial sampling rate float timeSpeed = .02; // wind variation speed ofPoint ofApp::getField(ofPoint position) { float normx = ofNormalize(position.x, 0, ofGetWidth()); float ...
2e0ee7c0f2259bbe3232c0f4cc93feface9e3358
fe561727a6b4337965c046019a2d412ef178540d
/apprenticevideo/yaePlaylistViewStyle.cpp
19b6123a6af38e402f836e23f7cbeac7575c6404
[]
no_license
pkoshevoy/aeyae
7a22eeac3afe58326b613233eb3df0abd11b1d67
f7e0d23c85bed7f223c1b7fe9e0a3d52eab88d67
refs/heads/master
2023-08-31T00:41:59.258498
2023-08-19T18:28:33
2023-08-19T18:28:33
40,034,857
16
6
null
2018-05-16T03:39:13
2015-08-01T04:10:12
C++
UTF-8
C++
false
false
1,895
cpp
yaePlaylistViewStyle.cpp
// -*- Mode: c++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil -*- // NOTE: the first line of this file sets up source code indentation rules // for Emacs; it is also a hint to anyone modifying this file. // Created : Sat Jan 2 16:32:55 PST 2016 // Copyright : Pavel Koshevoy // License : MIT --...
17f4fea6ed232d72f067f68f4e1fe1d1b0245fd7
8a4597aeb1a9dfdc91139a1f1f3aa8bb9f87718d
/src_cpp/Bench/Thread.h
55f067330893d7d4fd9bc0e55df2cbd90b51f15b
[]
no_license
kimleeju/JellyFishDB
62ece2f6bff085f545d69393f8b09130a632cb9e
9a737c72ba4faa08f7e4929275f1397c0dc198b2
refs/heads/master
2022-12-10T03:22:19.656333
2020-09-22T01:13:13
2020-09-22T01:13:13
297,499,528
0
0
null
null
null
null
UTF-8
C++
false
false
660
h
Thread.h
#ifndef THREAD_H #define THREAD_H #include <iostream> #include <pthread.h> #include <assert.h> #include <stdio.h> //#include <Windows.h> using namespace std; // 라이브러리 내부 클래스 class Thread{ public: pthread_t tid; pid_t pid; private: static void *_entry_func(void* arg) { assert(arg); ((Thread *)arg)->entr...
768d85496756bc15d6b9c1353747372a7482b171
368dac6c28dc44bd28288bce651c32f1f640dc91
/virtual/client/include/csutil/csevent.h
3c99c7352ba5c42021df7b9f08a4f7fa25fbbdef
[]
no_license
Programming-Systems-Lab/archived-memento
8fbaa9387329d1d11ae4e8c1c20a92aeadeb86e0
084c56a679585c60b5fc418cd69b98c00cf2c81e
refs/heads/master
2020-12-02T12:21:04.667537
2003-11-04T17:08:35
2003-11-04T17:08:35
67,139,953
0
0
null
null
null
null
UTF-8
C++
false
false
1,905
h
csevent.h
/* Crystal Space 3D engine: Event class interface Written by Andrew Zabolotny <bit@eltech.ru> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the L...
ace714a2c1fe63fa668886936bc2ea77606c9cbf
d3cf897a9ba0f624da78ea59091237f54a9ff402
/686 Div3 E.cpp
454a56d7c20d402976523805c102fbd41b137f0e
[]
no_license
divyanshTyagi/ProblemsSolving
6caa70fc68cf5983b8f41b142ec9361e89b045e5
8ac1c71c32bc87956bf49e16fabafa57c91d1a10
refs/heads/master
2023-04-06T05:28:40.302645
2021-04-18T03:48:48
2021-04-18T03:48:48
293,764,751
0
0
null
null
null
null
UTF-8
C++
false
false
2,420
cpp
686 Div3 E.cpp
#include <bits/stdc++.h> #define int long long #define float double #define sz 100005 #define mod 1000000007 using namespace std; #define vi vector<int> #define vvi vector<vector<int>> #define debug cout << "here" << endl; #define rep(i,n) for(int i = 0 ; i<n ; ++i) #define pb push_back #define ff first #define ss sec...
b0c922124fc74ccd78e669e7ef6208612680ac5d
322056cae401f1bbd9a7336f636a29e4ffa6ffa9
/General/MRR_Dir/mrr.cpp
bb425a5884abc9a456c15d7cc843c9f02d89dcb9
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
dariasor/ag_scripts
64987144f15e25f2df603525900c19401f8d1786
430af8e2c24ec803853fd7c66d981c469001ab83
refs/heads/master
2021-04-24T17:54:27.159922
2021-03-24T19:45:53
2021-03-24T19:45:53
18,821,093
1
4
null
null
null
null
UTF-8
C++
false
false
4,898
cpp
mrr.cpp
//mrr.cpp: main function of executable ndcg //Calculates MRR from predictions and group and target values. Reciprocal rank (RR) is calculated separately //for each group, then averaged. #pragma warning(disable : 4996) #include <fstream> #include <iostream> #include <errno.h> #include <vector> #include <string> #inclu...
2ce4294294e1248047821e54cc8845b5f38ee11b
4fd632c1daad7f351cdbc87e81a0f8f600d34337
/main.cpp
c30b0a108ce01867db43dd4b5c18d1affcc2ca65
[]
no_license
airyai/avalon
27992e65183d802d4859bde0310b3c4928c93e82
20b82c56ed72928084b2192d8282b9a46b252a4d
refs/heads/master
2016-09-06T11:00:29.099178
2012-03-27T17:47:11
2012-03-27T17:47:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
main.cpp
#include <iostream> #include <boost/asio/io_service.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> void f(boost::shared_ptr<boost::asio::io_service::work> w) { boost::this_thread::sleep(boost::posix_time::seconds(2)); w.reset(); } int main(int argc, char **argv) { ...
0838bc21da3849e92e17274dd332f3623bcf93c7
da645441cfa22bb38fe55c90f0d83091fa7b636b
/src/net/src/TrantorEPoll.cc
ae54209d0a4245e9b5b4c29a27baf9a6a1a8f588
[ "BSD-2-Clause" ]
permissive
hdzz/TrantorNet
fc0a6a09930c5cbb9763afa1473ca505db40fa1c
df437ad698e8eb88d949e5c8053705068d511df1
refs/heads/master
2021-01-16T18:51:30.239858
2017-06-20T12:42:35
2017-06-20T12:42:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,115
cc
TrantorEPoll.cc
#include "TrantorEPoll.h" #include <sys/eventfd.h> TrantorEPoll::TrantorEPoll(uint32_t max_fd_num) :max_fd_num_(max_fd_num), events_vec(100) { epfd_ = epoll_create(max_fd_num_); if(epfd_ < 0) { //LOG_ERROR<<"epfd create error"; abort(); } } void TrantorEPoll::startEPoll(map<uint32_t, uint32_t>* event_map) { ...
e6e3d6f8fe77e436d8446c70cf9bc0e8f3967b3c
c5ae27716b79c1cdb0b7f6c980dee928e379976a
/library/src/main/cpp/CryptoHelper.h
244b4be5e5ab467fb74b30bc3a45021f71444421
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
fengjixuchui/AndroidJniHelpers
4ef380664a8e3f5ca88e264da38b3295b0b9f3df
97385c90438d57e8b2a094c91c409cec7e33aa43
refs/heads/master
2020-11-24T15:07:51.108055
2018-09-03T11:01:30
2018-09-03T11:01:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,111
h
CryptoHelper.h
// // Created by Christopher Miller on 2/12/17. // #ifndef APPLICATIONRESOURCES_CRYPTOHELPER_H #define APPLICATIONRESOURCES_CRYPTOHELPER_H #include "JniHelpers.h" using spotify::jni::NativeObject; class CryptoHelper : public NativeObject { public: jbyteArray keyBytes; /** * This facsimile of the Java me...
74c256ee08539292a75de74359529e719e75f3c3
b6607ecc11e389cc56ee4966293de9e2e0aca491
/Petrozavodsk/Winter 2016/Day 6/H/Main.cpp
280d1b8ba416d98ca0b5a8750a9836041060c8ed
[]
no_license
BekzhanKassenov/olymp
ec31cefee36d2afe40eeead5c2c516f9bf92e66d
e3013095a4f88fb614abb8ac9ba532c5e955a32e
refs/heads/master
2022-09-21T10:07:10.232514
2021-11-01T16:40:24
2021-11-01T16:40:24
39,900,971
5
0
null
null
null
null
UTF-8
C++
false
false
3,020
cpp
Main.cpp
/**************************************** ** Solution by NU #2 ** ****************************************/ #include <bits/stdc++.h> using namespace std; #define F first #define S second #define MP make_pair #define all(x) (x).begin(), (x).end() typedef long long ll; typedef unsigned long long ull...
d0acaec77d25923cc0eeda0a4fb60927971a160e
e043b5501df9f8e37d73db7825f6d5db5c31764b
/protocols/MaliciousYao/apps/OnlineP1/AppOnlineP1.cpp
38e5f5b78b28d34f2d9fca1ff11c337d31fd2fab
[ "MIT" ]
permissive
srpgilles/libscapi
5b71d65111c6af1a50d3a87b3862519730358ba8
19bb6c3d7d3f95408fb7bc3ab6f84f8cd28f6fcd
refs/heads/master
2021-09-01T09:47:16.073540
2017-12-18T06:33:09
2017-12-18T06:33:09
115,406,846
0
0
null
2017-12-26T09:19:42
2017-12-26T09:19:41
null
UTF-8
C++
false
false
3,972
cpp
AppOnlineP1.cpp
#include <boost/thread/thread.hpp> #include <lib/include/common/CommonMaliciousYao.hpp> #include <lib/include/primitives/CommunicationConfig.hpp> #include <lib/include/primitives/CryptoPrimitives.hpp> #include <libscapi/include/circuits/GarbledCircuitFactory.hpp> #include <libscapi/include/cryptoInfra/Protocol.hpp...
81420d681389ab9726968819e1cfe451abf5f463
39adfee7b03a59c40f0b2cca7a3b5d2381936207
/codeforces/506/B.cpp
31b44dec98a3e93eb65c43f021fb6e97b44c3206
[]
no_license
ngthanhtrung23/CompetitiveProgramming
c4dee269c320c972482d5f56d3808a43356821ca
642346c18569df76024bfb0678142e513d48d514
refs/heads/master
2023-07-06T05:46:25.038205
2023-06-24T14:18:48
2023-06-24T14:18:48
179,512,787
78
22
null
null
null
null
UTF-8
C++
false
false
2,778
cpp
B.cpp
#include <bits/stdc++.h> #define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; i++) #define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; i--) #define REP(i,a) for(int i=0,_a=(a); i<_a; i++) #define EACH(it,a) for(__typeof(a.begin()) it = a.begin(); it != a.end(); ++it) #define DEBUG(x) { cout << #x << " = "; cout << (...
8b8eac9bc5d4de45de4387d1dbd4d69d0b860b7f
e48032c0f73ee30ea23c042631a38507fdf230c5
/src/Lights/DirectionalLight.cpp
b3ef3813a275bfce1402b998d15aab1ba3e4abd3
[]
no_license
mauro-ferrario/playroom
1d9e09b38d0cc0a065b84bbafa85042771caa2c3
870a1a220faecb331705205989fa4491c449c37b
refs/heads/master
2020-04-03T22:29:55.858999
2019-03-13T10:51:20
2019-03-13T10:51:20
155,604,515
1
0
null
null
null
null
UTF-8
C++
false
false
1,895
cpp
DirectionalLight.cpp
// // DirectionalLight.cpp // playroom // // Created by xxx on 01/11/2018. // #include "DirectionalLight.h" DirectionalLight::DirectionalLight(string name, bool addToGUI, bool castShadow):Light(name, addToGUI, castShadow){ this->setType(LightTypes::DIRECTIONAL); } void DirectionalLight::setupGUI(ofxDatGui& gui)...
29e7fa54179f3c834f65cd9590e813f42758a7f3
ef8bc39983ae8a1e9a6401709a88102ef125b57d
/CVect2D.h
3e24e9902aa9e4bf185c34bff9965c437d799df4
[]
no_license
AnthonyLamour/BACH_CPP_TP2_SDL_LAMOURAnthony
5bfd642fc951a59d88b4dcbf5d3236929e96f553
dc2f99b899e983c8c77db3e41b37f0bd6f1af310
refs/heads/master
2020-04-05T21:14:02.813982
2018-11-22T09:33:03
2018-11-22T09:33:03
157,212,935
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,580
h
CVect2D.h
//******************************************************************************************************************************************************************************** // // fichier : CVect2D.h // // description : Gestion de vecteur 2D // // attributs : float fltX, float fltY // // class : CVect2D // //*****...
6fdde56d9d4e26aeb468f57d505862458fd307c1
19e5c3407466691aa0b42b2fc9a6790baafc5343
/neighbor.h
c904de5299f231f685744ac39d1bb2f3f8b744a9
[]
no_license
8cH9azbsFifZ/lammps-CSI
168101d48f4ba2af5d1d8235ac7c969a74b283ff
ac4b39f405463aa6329e2bf0f72532248b028562
refs/heads/master
2021-06-02T23:40:27.967156
2019-11-05T00:46:52
2019-11-05T00:46:52
6,374,089
1
0
null
null
null
null
UTF-8
C++
false
false
12,859
h
neighbor.h
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
ae6fdab911abe56c27bb847ccbbbe3744e2d8130
acf30fa254f72c282fce77b22dced66b21f8277d
/src/commands/exportopenpgpcerttoprovidercommand.h
ff43e8a281a433f0571f1bb8ee5f0b8362f95686
[ "CC0-1.0", "BSD-3-Clause" ]
permissive
KDE/kleopatra
fc879c3d1f9fa4e7f54ebcb825eaea8705386d72
3e6db6e439bbb62886dd58cfc4239f256fec5415
refs/heads/master
2023-08-18T04:37:13.963770
2023-08-16T21:17:25
2023-08-16T21:17:34
53,312,712
84
16
null
2020-12-29T18:58:39
2016-03-07T09:27:39
C++
UTF-8
C++
false
false
1,120
h
exportopenpgpcerttoprovidercommand.h
/* -*- mode: c++; c-basic-offset:4 -*- commands/exportopenpgpcerttoprovidercommand.h This file is part of Kleopatra, the KDE keymanager SPDX-FileCopyrightText: 2022 Felix Tiede SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include "command.h" #include <QPointer> #include <gpgme++/key....
af7990ca01cb7ad0c710a227d36e543cc264cfb2
cd12f94d64c67c9b8d4412febfe2e456497945de
/cs201/Lecture06_Example3/main.cpp
1a4e725acfcfb703fa9f51c5d1bf54f446bcbd43
[]
no_license
codebiters/cs201
ecce12b908b9546accfd7be787d8b1e97d2d0981
2528e404749763004dc41b4ba74db27ebae39fc1
refs/heads/master
2023-07-19T18:56:09.190145
2021-08-21T04:43:43
2021-08-21T04:43:43
398,132,334
0
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
main.cpp
#include <iostream> /*This program calculates the factorial of a given number*/ using namespace std; int main(int argc, char** argv) { // declaration of variables int factorial, number; factorial = 1; number = 1; // prompt the user to enter upper limit of integers cout << "Please enter the num...
af99af0d30f685f65346458c80abd101fdc9f61e
130e9de9fe06fcc720e0aee0961b4f432360e2a9
/variable and basic type/ex2_29.cpp
fee83df99741f12d5dab5ba6ba6cee386c1337bd
[]
no_license
rajivranjanmars/cpp_primer
7dba2c25b193369beaa1886457007eb357f74001
0a56716072f4e1c0582d02796a5573aed76a9b4b
refs/heads/main
2023-05-12T00:54:20.166050
2021-05-26T18:15:05
2021-05-26T18:15:05
339,401,780
9
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
ex2_29.cpp
#include <iostream> #include <cstdio> #include <string> using namespace std; int main(){ int i, *const cp; int *p1, *const p2; const int ic, &r = ic; const int *const p3; const int *p; i = ic; //legal p1 = p3; // illegal p1 = &ic; // illegal p3 = &ic; // illegal ...
c1f8fc2eb9a1ae14c9c0ee0624f1161102c21b59
d140e74d215ed5de3d571f99edfcfcb68369921f
/src/Revival/PlayerSprite.cpp
cf139a799183613436511d1b75c1cc9601e32652
[]
no_license
dead-pixel-studios/GlobalGameJam-2012-Game
556ae2345e0975655c89a560120d7f239ef3a2aa
3e0e91a5989bef259d05622609d7c4eaa89540cf
refs/heads/master
2016-09-06T19:43:05.465080
2012-01-30T12:05:00
2012-01-30T12:05:00
3,161,819
0
0
null
null
null
null
UTF-8
C++
false
false
3,067
cpp
PlayerSprite.cpp
#include "PlayerSprite.h" #include "Universe.h" #include <sstream> PlayerSprite::PlayerSprite() { this->MaximumVelocityX = 1.0F; this->MaximumVelocityY = 1.0F; this->rotation = 0.0F; texture = gEngine->CreateTexture(CoreFunctions::GetAppPath() + "/data/playerplaceholder.bmp"); texture->Load(); //Player start...
e38ae9e61ac24a5d602c600865269f6ca648518c
4bdc29d572fe9aec2d3a3509e78759952835d32d
/blend.cpp
9a064713c93b5350bb6f6086e09d4f2d4344566f
[]
no_license
tailxiuxian/MiniRender
b33fc067bd41a0671563660ce059ac8adc5be895
a1ae3d2c8572f4a5510e9cdd6cb1a54190bffc25
refs/heads/master
2021-06-16T08:51:09.392244
2019-11-04T07:40:55
2019-11-04T07:40:55
149,566,755
4
0
null
null
null
null
UTF-8
C++
false
false
1,916
cpp
blend.cpp
#include "blend.h" #include "comm_func.h" bool is_opaque_pixel_color(IUINT32 color) { #ifdef USE_GDI_VIEW return true; #else return Get_A(color) == 255; #endif } IUINT32 blend_frame_buffer_color(device_t *device, IUINT32 srcColor, IUINT32 dstColor) { float alphaSrc = (float)Get_A(srcColor) / 255.0f; float alphaDs...
03a1e44854f462e62893efb6e86f9e469dadeaa6
c80f25d24cee6ed8dba1513c227886c07d83cf75
/WeaponGirl_1/Client/trunk/Classes/SceneMain/Poker/WidgetPoker.h
cabaf913a8dd21920c35c2c4c13663365024961d
[ "MIT" ]
permissive
cnsuhao/newProBase
c250e54ead43efb57363347d1700649a35617d15
4fe81d30740a2a0857ca6e09a281fed1146e6202
refs/heads/master
2021-08-23T14:19:24.568828
2015-11-27T13:37:54
2015-11-27T13:37:54
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
899
h
WidgetPoker.h
//////////////////////////////////////////////////////////////////////// // Copyright(c) 2015-9999, WuHan GoodGame, All Rights Reserved // Moudle: WidgetPoker.h // Author: ÅíÎÄÆæ(Peng Wenqi) // Created: 2015/11/24 //////////////////////////////////////////////////////////////////////// #ifndef _JPY_WidgetPoker_H_...
eeac3d9f085ce89a6a406173549e074df5931109
154dfd2a2130a3a7731a9a9b431e8295fbf82cd2
/Codeforces/1033D.cpp
8d8c5dd72a498f00734b44a93697dba671d1a4ea
[]
no_license
ltf0501/Competitive-Programming
1f898318eaecae14b6e040ffc7e36a9497ee288c
9660b28d979721f2befcb590182975f10c9b6ac8
refs/heads/master
2022-11-20T21:08:45.651706
2020-07-23T11:55:05
2020-07-23T11:55:05
245,600,907
0
0
null
null
null
null
UTF-8
C++
false
false
1,398
cpp
1033D.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long const int mod=998244353; int n; ll a[505]; map<ll,int> mp,mp2; vector<ll> v,tmp; ll mysqrt(ll a) { ll k=(ll)sqrt(a+0.5); while(k*k<a)k++; while(k*k>a)k--; return k; } main() { scanf("%d",&n); for(int i=1;i<=n;i++...
d1e11b7af46a723282a3b7aa8e7c87d907efa385
8237ac7bfa1635aa225d6afad017c9bc00b31d65
/synth/synth.ino
0a5c53f90f094bba56bee61fd245b1593166eb7d
[]
no_license
EuCE/synth
f89d0bd2d4d18eeb907c189922d794f9dd9b954c
a39703b2de3249738c7327948f077db5b4e09c32
refs/heads/master
2021-01-10T18:44:18.339229
2014-10-06T02:12:08
2014-10-06T02:12:08
24,801,659
1
0
null
null
null
null
UTF-8
C++
false
false
746
ino
synth.ino
// The maximum PWM output value #define MAX_PWM 0xFF #define OUTPUT_PIN 9 // Fast PWM, 8 bit (datasheet page 136) #define PWM_MODE 0b0101 unsigned int hzToMicros(unsigned int freq) { return 1000000 / freq; } byte sawWave(unsigned int period /* in us */) { unsigned long time = micros() % period; return time * MAX_P...
d1f4dfa19575b0c2e054f547d0bf3a6fb212bb9b
f7c94ded48feec20f495f129b34b04d4361e7358
/files/testing.cpp
1df42f7db8f2029c88e336c4fca763ccea5b0c95
[]
no_license
dineshnitt/RayTracer
9194e758c60ab741980824ce7b57629d7e207f33
07b0c5e0f24f3783b354b6eaef2f3272a1a84026
refs/heads/master
2021-01-01T17:28:29.849280
2011-07-06T13:17:12
2011-07-06T13:17:12
1,966,683
0
0
null
null
null
null
UTF-8
C++
false
false
7,734
cpp
testing.cpp
#include "Physics.h" #include "Vector.h" #include "Point.h" #include "Color.h" #include "Line.h" #include "Lineseg.h" #include "Rayseg.h" #include "functions.h" #include <stdlib.h> #include "Ray.h" #include "Sphere.h" #include "Object.h" #include "intersection.h" #include "Point.h" using namespace std; Point zero_p = ...
140d54ff10739bcff6ae1a20676fbd656f033c20
e7e9a50678500116c1fd33c521bc88e027c81588
/src/models/event.cpp
96ef4285ebec88e3450eecd2ec4b384c1e2a0512
[]
no_license
AkharazOmar/TableViewQT
dfdebc1efb6ca716106e3ab3683cd798a99c7adc
66df9d66ab7521574bee4b322da534fda9ee0e79
refs/heads/master
2020-03-21T09:44:46.991964
2018-08-11T21:30:35
2018-08-12T01:15:45
138,415,882
0
0
null
null
null
null
UTF-8
C++
false
false
3,098
cpp
event.cpp
/* * Copyright 2018 <copyright holder> <email> * * 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 la...
3e09088fa6135d6abe577473bf84bd259f6819e3
6b22688a2eb04a0b63d584fc0817c6d3fe155b40
/listProblem/w1406/main.cpp
e70506da876dc4e4d037300ba8e74c087901d877
[]
no_license
ukiKwon/algorithm-study
615d734576e0ca2377f0b2ef40d2a3b77619ca1b
22581eb26825599f1b56612afb3c4be47938165f
refs/heads/master
2022-10-20T07:37:24.093435
2020-06-09T14:40:20
2020-06-09T14:40:20
115,795,348
0
0
null
null
null
null
UTF-8
C++
false
false
3,639
cpp
main.cpp
#include <iostream> #include <string.h> /* cursor actuall cannot be on first. Therefore, (L + 1) is range of movement of cursor when there is L string. */ #define DEFAULT_WORD ' ' #define LEN_STR 100000 using namespace std; class word { friend class sentence; public: word(char _data = 0, word* _left = 0, word* _r...
c799ce2df0220b73cdec13840f9b67a5dfad4179
6cb9f535c40a11a22a4abbfb3c05adb1fd8aec96
/BTOOP_COHANH/set.h
fa0060ac5b6367dc84a38f12e5d00864af0bc71f
[]
no_license
ceontgroup/public-project
f77449a000176dfd4fdceaf65853d44fda217e7e
c311e143cad7d552cfdc47ce70cdbc61ba00e433
refs/heads/master
2016-08-11T18:06:59.377421
2013-06-02T17:46:36
2013-06-02T17:46:36
48,648,449
0
0
null
null
null
null
UTF-8
C++
false
false
236
h
set.h
// Class automatically generated by Dev-C++ New Class wizard #ifndef SET_H #define SET_H /* * Author: Kem */ class set { public: // class constructor set(); // class destructor ~set(); }; #endif // SET_H
c35c73761688c65025152c8436f0d57dee8f9cf3
32cb2f19760079beea29f16bfadaefe675476623
/additional/recursive-algorithms/1517.cpp
b33a713ccccd70f7a1ce1f688ee2bcc9ee048eb1
[]
no_license
junkkerrigan/algorithmics
d00b438ebd9909c0afc73a1a6e0bdd0579b2c240
a7493bcefb2a09987a4891b6de955db57ac9ed8a
refs/heads/master
2021-05-23T14:06:12.730092
2020-06-08T17:59:31
2020-06-08T17:59:31
253,329,013
0
0
null
null
null
null
UTF-8
C++
false
false
314
cpp
1517.cpp
#include <iostream> using namespace std; long p, q; long g(long p) { long t = p % 10; if (!p) return 0; return t * (1 + t) / 2 + p / 10 * 45 + g(p / 10); } long s(long p, long q) { return g(q) - g(p - 1); } int main() { while (scanf("%ld %ld", &p, &q), p + q >= 0) printf("%ld\n", s(p, q)); return 0; }
e2b28d44c2e0a65edd962b13b00426af6473c66e
ae55b48aebec623cf6f6cb47ab4c39b153d7b4d1
/Ugine/include/affector.h
a523ab3ce7399cb4d997cab930f46c567ca4dc60
[]
no_license
AlvaroAbad/Star-Control
fed2d7c935debac4b83cfb7083be948d9e4fb2bf
a693aa4603d0eff65ec56d81eb774ad8e7fd7b21
refs/heads/master
2021-01-12T06:05:07.870793
2016-12-24T18:34:00
2016-12-24T18:34:00
77,295,571
0
0
null
null
null
null
UTF-8
C++
false
false
2,698
h
affector.h
#ifndef UGINE_AFFECTOR_H #define UGINE_AFFECTOR_H #include "types.h" #include "string.h" class Affector { public: Affector() { affectVelocityX = affectVelocityY = affectAngularVelocity = AffectLifeTime = affectedColor=false; minVelocityX= maxVelocityX= minVelocityY= maxVelocityY = minAangularVelocity= maxAngularV...
8ac2535b0cb7a40f5a532e659c6b00fa2bed7cb7
7648eecee4a40727b6afbc7fe2ac7ffb5810a8c5
/sessions/main.cpp
cdf79c078db3490e5c508595a2a7051af5476da3
[]
no_license
ronghuazhao/CTP_Practice
782f49a8732a41cd42770cf30f138bee83d1e3f6
592c717630cbc26356aedab18e4abd64702b5504
refs/heads/master
2021-01-17T10:37:26.566908
2016-02-20T01:30:58
2016-02-20T01:30:58
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,355
cpp
main.cpp
#include "cfgutil.h" #include "multi_session.h" #include <windows.h> HANDLE g_hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); DWORD WINAPI Login(LPVOID lpParameter) { } int main() { //ÇëÇó±àºÅ int reqId = 0; CThostFtdcReqUserLoginField loginField; //µÇ¼ÇëÇóÊý¾Ý CfgUtil getCfg("./cfg/rsh.cfg"); string md...
01fd3d6aa7687eeef3e6dd6f5e31d5c35e6c4b52
5eba39fa53189f3c334df06cc6487ec01eae679b
/Programas C/Trabalho piteri.cpp
5f8faa1e4ebc98d1631b816189c62fe221dc23b2
[]
no_license
marcosinocencio/C
df938c268b954f6aca58fb64912ca521df3a4701
3d984929fca92e8d1348103fe2cbf7e1b2abde96
refs/heads/main
2023-01-10T01:09:47.486097
2020-11-03T19:02:53
2020-11-03T19:02:53
309,781,568
0
0
null
null
null
null
UTF-8
C++
false
false
6,573
cpp
Trabalho piteri.cpp
#include <stdio.h> #include <stdlib.h> #include <math.h> //////////////////////////////////////////////////////////////// double Equacao_1_grau (double a ,double b) { double x; x=-b/a; return(x); } //////////////////////////////////////////////////////////////// double Delta (double b, double c, d...
6cadac88483e52b0cfe40f95cc9891eb4c961c05
2a89e46324a6e0dfa5cad89801379d593a12a4c1
/src/ppl/nn/engines/x86/kernels/onnx/fc_kernel.cc
e1d0c207ab339adbf48b2b9959c9c3a4795a694f
[ "Apache-2.0" ]
permissive
fzhsbc/ppl.nn
16ca2a4991316cfee2eb40a48a3003caf5dfac70
370a3ff5296b3c2d8768bb2f5220eaa5e65a94a7
refs/heads/master
2023-09-03T18:40:29.524548
2021-11-09T07:59:04
2021-11-09T08:45:10
426,165,992
0
0
Apache-2.0
2021-11-09T09:26:13
2021-11-09T09:26:13
null
UTF-8
C++
false
false
2,963
cc
fc_kernel.cc
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
387b7b5de9e8c3d7757cdfe87827055565945ed0
79c7c8602c07e99c3827c27092818725639f5a10
/Labyrinth Solver/Labyrinth Solver/Queue.h
8e839dd3b2705c92adb4bcb66caf7f16dd399d12
[]
no_license
LASRIDOR/Labyrinth-Solver-Data-Structure-Course-Project-
7f0c8b1f0af6c3d000e75b7c1c08a2192e19a138
6bc65688bcf557838273dfafb7b4d35b011d85a9
refs/heads/main
2022-12-30T02:49:33.400395
2020-10-17T08:34:42
2020-10-17T08:34:42
303,200,520
0
0
null
null
null
null
UTF-8
C++
false
false
428
h
Queue.h
#ifndef __QUEUE_H #define __QUEUE_H #include <iostream> #include <stdlib.h> using namespace std; #pragma warning (disable: 4996) #include "Square.h" class Queue { private: Square *data; int head, tail; int MAX_SIZE; int AddOne(int x); public: Queue(int size_of_data); ~Queue(); void MakeEmpty(void); int IsE...
02f5e7bf34f54971adf0736865cedb12436bf3f9
a337ce96b4012093ec021ba600bb2dafb56afd38
/gm_module/src/pygm.hxx
fcd80b227a822eb08dd2ed3874098a21b6e9ee1a
[]
no_license
thorbenk/ia13project
f964617a6288eb2dfe51fabf3a85c8e27678d199
568d44bb69633dd0948d1ba598ce70e9250d814b
refs/heads/master
2020-12-24T17:45:24.315844
2013-07-19T11:58:48
2013-07-19T11:58:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
24
hxx
pygm.hxx
void export_adjGraph();
c5587606861947ef76df3d84267a20a31988fb62
c6cfd48aefd600fb15aae50ab8e13992459a69ca
/Pila.cpp
db0d9bbbdb8e8fa9f17cb45c821dc24598d67e07
[ "Apache-2.0" ]
permissive
victorortiz98/Manchester-Triage-Queue-and-Tree-
2fcacb97960a95c7dc0b9de4ba938d0fd1ef0249
d5865433bc623c72464d46c0cd71c772ed08f724
refs/heads/main
2023-06-10T20:06:43.777020
2021-07-03T16:18:03
2021-07-03T16:18:03
382,658,121
0
0
null
null
null
null
UTF-8
C++
false
false
4,395
cpp
Pila.cpp
// // Created by Víctor Ortiz on 16/06/2021. // #include "Pila.h" #include "NodoPila.h" #include "Pacientes.h" #include "Hospital.h" Pila::Pila() { cima = NULL; } Pila::~Pila() { while (cima) pop(); } bool Pila::esVacia() { return cima == NULL; } void Pila::push(Pacientes *v) { pnod...
a0031c7f2d7ae05b83cef8076f931915f6f0fbd5
ea4f2445a0c97b427e5827138246129f28059a3d
/cpp/ColorMandelbrotSet.cpp
c45d06eb933433582d99fa3412134ee8c1e397a6
[ "MIT" ]
permissive
so61pi/examples
27cfe8a3e7712b25d2f344312f64fd4d4bdeeca3
38e2831cd6517864fc05f499f72fbb4ff6ae27c0
refs/heads/master
2023-01-22T04:13:27.785531
2020-04-30T14:07:36
2020-04-30T14:07:36
116,532,548
5
1
MIT
2023-01-05T00:47:46
2018-01-07T02:56:36
C
UTF-8
C++
false
false
3,641
cpp
ColorMandelbrotSet.cpp
#include <algorithm> #include <cinttypes> #include <cmath> #include <complex> #include <iostream> #include <iterator> #include <vector> #define png_infopp_NULL nullptr #define int_p_NULL nullptr #include <boost/gil/gil_all.hpp> #include <boost/gil/extension/io/png_io.hpp> namespace gil = boost::gil; // map va...
3db3edb2c9b37b2cdac8dcede64bbfdf15f10763
200562a6ea2fdcbc71983a5641ef5b4297963c63
/MegamanRunner/Classes/Features/Game/gameScene.h
d666606d28891817e30b63f77569c10959470da2
[]
no_license
mendesbarreto/mega-man-runner
3569827e6394d9fe947f38ac633d86d359274092
851858477abed1af71afeca853644ac09df92be7
refs/heads/develop
2023-01-14T04:20:08.161022
2019-03-27T23:02:34
2019-03-27T23:02:34
177,480,706
2
0
null
2022-12-27T00:30:49
2019-03-24T23:12:53
C++
UTF-8
C++
false
false
335
h
gameScene.h
// // Created by Douglas Mendes on 2019-03-27. // #ifndef MEGAMANRUNNER_GAMESCENE_H #define MEGAMANRUNNER_GAMESCENE_H #include "scene.h" #include "cocos2d.h" class GameScene: core::Scene { public: static cocos2d::Scene* createScene(); virtual bool init(); CREATE_FUNC(GameScene); }; #endif //MEGAMANRUNN...
680c4ea0dc0b827610aba71ae6a8c6a7ed7ef6ef
036a044d4f1dddb02627340bf38cd9e625ff8587
/src/dropbox/users/UsersSpaceAllocation.h
5e3f1bd3cc32a31a4d41678ae427c0e8318f4810
[ "MIT" ]
permissive
kobolabs/dropboxQt
12737a79cbf4021e950dbcb81fd45f732782af7c
63d43fa882cec8fb980a2aab2464a2d7260b8089
refs/heads/master
2020-08-04T02:49:09.795523
2019-09-25T17:50:21
2019-09-25T17:50:21
211,977,548
0
2
MIT
2019-09-30T23:39:37
2019-09-30T23:39:36
null
UTF-8
C++
false
false
2,373
h
UsersSpaceAllocation.h
/********************************************************** DO NOT EDIT This file was generated from stone specification "users" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #pragma once #include "dropbox/endpoint/Api...
20cda372a15c627d1d93c5bcb78a13a80c3c10d4
33b567f6828bbb06c22a6fdf903448bbe3b78a4f
/opencascade/Interface_ParamList.hxx
ae9e2b35f9da6106d3ef97db01bfe9d8626e89b4
[ "Apache-2.0" ]
permissive
CadQuery/OCP
fbee9663df7ae2c948af66a650808079575112b5
b5cb181491c9900a40de86368006c73f169c0340
refs/heads/master
2023-07-10T18:35:44.225848
2023-06-12T18:09:07
2023-06-12T18:09:07
228,692,262
64
28
Apache-2.0
2023-09-11T12:40:09
2019-12-17T20:02:11
C++
UTF-8
C++
false
false
2,495
hxx
Interface_ParamList.hxx
// Created on: 2008-01-21 // Created by: Galina KULIKOVA // Copyright (c) 2008-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 ...
b70d9a66c836e080103b28613c82994028b5325c
230cba94d190926083e285e79e8e764c51f6e532
/openMP/task5.cpp
9d4f60eca014b975bbc2cd646bbee8af156bacc2
[]
no_license
vladKrk/High_performance_computing
6e4316ec62fe44bf68c75a5d9daeaa6b51639f79
129e1727fa3bcdafda3b00a30ddb21ce9b8d93f8
refs/heads/main
2023-03-30T15:53:34.819349
2021-04-08T17:54:46
2021-04-08T17:54:46
344,779,176
0
0
null
null
null
null
UTF-8
C++
false
false
2,600
cpp
task5.cpp
#include <omp.h> #include <cstdlib> #include <cstdio> #include <utility> static const int num_threads = 4; double even_odd_sort(int* arr, int n) { bool sorted = false; int init = 0; double t1 = omp_get_wtime(); while (!sorted) { sorted = true; for (int i = init; i < n - 1; i += 2...
70ec21ddb9973fb6bc1433c87387695e540f6fd4
7be8a39598ffcb6684bdfe673cca8f252e579075
/BaseObject.h
6f187e541b7bba692ac387a4d1f613b26e189e22
[]
no_license
bannerholly/raytracing
c0b5be35eb915f080df89951abf9a6a7f563d3d0
f2881aedcc1144ff1d8a01be327764973fbcebfe
refs/heads/master
2023-05-05T17:56:22.265925
2021-05-27T16:30:22
2021-05-27T16:30:22
370,434,597
0
0
null
null
null
null
UTF-8
C++
false
false
3,132
h
BaseObject.h
#pragma once #include "HitRec.h" #include "Vec.h" #include "Ray.h" #include "Material.h" #include <vector> #include <iostream> #include <GL/glut.h> class BaseObject{ public: enum ObjectType { Normal, Emit }; //コンストラクタ BaseObject():o_pos(Vec3{0.0}),material(new Material()){}; ...
e19d5cdc11b66b4a298969bf9255c518daa81f4b
0618591a36cfaede8df0da1027381c766d5cbed7
/Interrupts/interrupt.ino
b6d4bc5ce1b1874ac4f7fa2720c707a7b514eac0
[]
no_license
muhammedyozgatli/Arduino_Youtube_Tutorials
6e5aa7273079d8e87786ce12edbf4b39d21006dc
65057fccb90e72adc2abec758bcc3c0478cbfb03
refs/heads/master
2023-04-23T20:54:23.186843
2021-05-17T09:55:39
2021-05-17T09:55:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
771
ino
interrupt.ino
/* Interrupts with Arduino Author: Electrofun For more information visit us: www.electrofun.co.in Prerequisites video: https://www.youtube.com/watch?v=H3l8Y2ra3f8&ab_channel=Electrofun Video explanation at: https://www.youtube.com/watch?v=X-YffrXxM-M&ab_channel=Electrofun */ int pin = 2; //De...
798104d2bfe7fa86280a87f41dc7a7d0285f97d3
b00c54389a95d81a22e361fa9f8bdf5a2edc93e3
/external/pdfium/fpdfsdk/include/javascript/color.h
1910e1695525a74952e18e066a18920a3d4e2156
[ "BSD-3-Clause" ]
permissive
mirek190/x86-android-5.0
9d1756fa7ff2f423887aa22694bd737eb634ef23
eb1029956682072bb7404192a80214189f0dc73b
refs/heads/master
2020-05-27T01:09:51.830208
2015-10-07T22:47:36
2015-10-07T22:47:36
41,942,802
15
20
null
2020-03-09T00:21:03
2015-09-05T00:11:19
null
UTF-8
C++
false
false
2,046
h
color.h
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef _COLOR_H_ #define _COLOR_H_ class color : public CJS_EmbedO...
35110a2d53d82bb041505eb6aa967d614b8bb1a0
5241a49fc86a3229e1127427146b5537b3dfd48f
/src/Sparrow/Sparrow/Implementations/Nddo/Pm6/Wrapper/PM6MethodWrapper.h
12e19ca9f7188c96d8a763ab7bdecc78b2299c38
[ "BSD-3-Clause" ]
permissive
qcscine/sparrow
05fb1e53ce0addc74e84251ac73d6871f0807337
f1a1b149d7ada9ec9d5037c417fbd10884177cba
refs/heads/master
2023-05-29T21:58:56.712197
2023-05-12T06:56:50
2023-05-12T06:56:50
191,568,488
68
14
BSD-3-Clause
2021-12-15T08:19:47
2019-06-12T12:39:30
C++
UTF-8
C++
false
false
2,446
h
PM6MethodWrapper.h
/** * @file PM6MethodWrapper.h * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #ifndef SPARROW_PM6METHODWRAPPER_H #define SPARROW_PM6METHODWRAPPER_H /* Internal In...
54bb69b45bba6b6edfdc835f1ed6c1bb43543717
04bcec54ac17c7254958d2bd35ea45d6402e2f92
/assignment1/qr.cpp
a53a62e3c0ad139f14dc21d29d1dcc6ff263f7b7
[]
no_license
UditSinghParihar/Parallel_Computing_Solutions
408587a2aed6c087edfd46380b0ee46069c1e2f5
1aa2c8883b15e9961008a85b3ca621dca9e2b0eb
refs/heads/master
2020-04-26T14:28:20.368740
2019-05-07T19:12:09
2019-05-07T19:12:09
173,615,286
1
0
null
null
null
null
UTF-8
C++
false
false
1,890
cpp
qr.cpp
#include <iostream> #include <cstdlib> #include <vector> #include <cmath> #include <numeric> using namespace std; void print_matrix(const vector<vector<float>>& mat){ for(auto v : mat){ for(auto element : v){ fprintf(stdout, "%9.3f", element); } cout << endl; } cout << "\n---\n"; } void fill_vector(vecto...
dd1c60fec523d39ec883d9462cbf2841be58c313
37b5230d6fcd00b432bb9202ee9299977b11b5bf
/lib/interop-1.1.8/include/interop/logic/plot/plot_by_cycle.h
5f2a3edb0f76cbad98f5b3321a985bdbc0ec13d4
[ "MIT" ]
permissive
guillaume-gricourt/HmnIllumina
f1a19880ad969282ce3fe1265f50c0a001287e44
2a925bcb62f0595e668c324906941ab7d3064c11
refs/heads/main
2023-04-28T18:15:56.440126
2023-04-17T17:10:57
2023-04-17T17:10:57
577,830,976
0
0
MIT
2023-09-08T21:56:15
2022-12-13T16:14:48
C++
UTF-8
C++
false
false
3,081
h
plot_by_cycle.h
/** Plot an arbitrary cycle metric by cycle * * @file * @date 4/28/16 * @version 1.0 * @copyright GNU Public License. */ #pragma once #include "interop/model/run_metrics.h" #include "interop/model/plot/filter_options.h" #include "interop/model/plot/plot_data.h" #include "interop/model/plot/candle_stick_point...
504040a4febd68e01827df5fe54e825c2cf65db4
abe368495116213ab56e0583e1903564b5857131
/common/Block/DynamicBlockBuffer.cpp
55fc7db19f0a46e1cd192f7b9f721af93b75dc0a
[]
no_license
Jackson1992/CLAIMS
56c630d2a6e74e16e42bb9ee96b1f5257da73371
f9409a99bd75654c78091c25f0d79350693126bb
refs/heads/master
2020-05-25T11:33:16.565631
2015-11-08T13:03:15
2015-11-08T13:03:15
35,158,070
2
0
null
2015-05-06T12:48:48
2015-05-06T12:48:46
null
UTF-8
C++
false
false
2,270
cpp
DynamicBlockBuffer.cpp
/* * DynamicBlockBuffer.cpp * * Created on: Dec 20, 2013 * Author: wangli */ #include "DynamicBlockBuffer.h" //#include <assert.h> #include "BlockStream.h" DynamicBlockBuffer::DynamicBlockBuffer() { // TODO Auto-generated constructor stub } DynamicBlockBuffer::DynamicBlockBuffer(const DynamicBlockBuffe...
1215c44b7cfdc4e0e5279cdccc42b48d365a8319
011359e589f99ae5fe8271962d447165e9ff7768
/src/burn/misc/pre90s/d_lwings.cpp
907b592d34168743b73779abf628b59ffc6adeec
[]
no_license
PS3emulators/fba-next-slim
4c753375fd68863c53830bb367c61737393f9777
d082dea48c378bddd5e2a686fe8c19beb06db8e1
refs/heads/master
2021-01-17T23:05:29.479865
2011-12-01T18:16:02
2011-12-01T18:16:02
2,899,840
1
0
null
null
null
null
UTF-8
C++
false
false
68,295
cpp
d_lwings.cpp
// FB Alpha "Legendary Wings" driver module // Based on MAME driver by Paul Leaman // To Do: // Missing emulation of CPU 3 && MSM5205 sound #include "tiles_generic.h" #include "burn_ym2203.h" //#define EMULATE_ADPCM static unsigned char *AllMem; static unsigned char *MemEnd; static unsigned char *AllRa...
c3ec844de4ad8d9adae3b10b279d832ef20544b0
f654ca71af356cc87b5019741029b28dcecf76f1
/dep/include/meowMath/mat4.h
7b8e107347f6e149a9019ddc41b374f48f389d99
[]
no_license
No-Face-the-3rd/Graphics
1205af54bea496815d5152528ca1b4bb6cd039fd
aadbc215c7359cc056a78218f1f226a4fd7a845c
refs/heads/master
2020-04-18T01:15:41.735989
2016-10-20T16:05:00
2016-10-20T16:05:00
66,578,980
0
0
null
null
null
null
UTF-8
C++
false
false
2,678
h
mat4.h
#pragma once #ifndef MAT4_H #define MAT4_H #include "mat3.h" namespace meow { struct mat4 { union { float m[16]; float mm[4][4]; vec4 c[4]; struct { union { vec4 c1; vec3 right; }; union { vec4 c2; vec3 up; }; union { vec4 c3; vec3 forward; }; union { vec4 c4; vec3 position; };...
49b6e00381766448c500711812293d223c61f708
aa9cc4b8c7996ede07a26664b0d9214ed8fe3887
/network-protocol-SERVER/network-protocol/source/Collider.cpp
36a1a049917da8f6ee41811de2accbbf23618c27
[]
no_license
orre1996/TankWarsNetworked
5aab1c07e9ed7b4fd7b45bb2348c333733ab335a
dea2c770b7a610cf8122d0e9737af49c6b89ed2b
refs/heads/master
2020-05-02T23:22:32.822806
2019-03-28T20:55:39
2019-03-28T20:55:39
178,278,310
0
0
null
null
null
null
UTF-8
C++
false
false
113
cpp
Collider.cpp
//#include "stdafx.h" #include "Collider.h" Collider::Collider() { } Collider::~Collider() { }
0953611aecb93526bc2849616aef6fa606c2d61b
78ebcd61aa59072d0bdd838187fcf939c69f15de
/src/affine_transformation.cpp
459fd90bd33630561707b70ed2dfdb7419c0d403
[]
no_license
LoicPeter/video-mosaicking
3df300cf0f3493df5fc018d5a734db4cb7fb178c
f47a5558661317a0b6c11918f0fc8ad4881f443e
refs/heads/main
2023-01-20T02:22:59.762665
2020-11-29T16:22:07
2020-11-29T16:22:07
316,986,061
3
0
null
null
null
null
UTF-8
C++
false
false
567
cpp
affine_transformation.cpp
#include "affine_transformation.hpp" void getDisplacedPointsAffine(std::vector<cv::Point2f>& output_points, double *h_ij, const std::vector<cv::Point2f>& input_points) { int nb_input_points = (int)input_points.size(); if (output_points.size()!=nb_input_points) output_points.resize(nb_input_points); ...
4a2f9a38c20322df9870f1b1b4e9bb39bbc16d22
15eb5e21d6abf34f5bfeb94fde78c2e2ffb764b9
/Structures/SegmentTree.h
a0a4ba1f566f61724cf26ea354020ea4ccdd76a5
[]
no_license
buevichd/algo
70e615906fedb3b400ede2f113076c7474d455e5
fb05eb9568b586b471c9b63f2d2b52a820b5086b
refs/heads/master
2022-03-26T18:26:41.414036
2019-12-04T08:20:49
2019-12-04T08:20:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,354
h
SegmentTree.h
template <class T, class V> class IdentityConverter { public: V operator()(const T& obj) { return obj; } }; /** * @tparam ElementType - type of stored elements * @tparam ResultType - type stored in the tree */ template <class ElementType, class ResultType> class SegmentTree { public: using Merge...
b0bfd70105b18fa02b8c53662a856fff095566de
f546ab714e1042b460190845548008d2ad6fcb86
/src/agv_tf/src/tf_listener.cpp
4fbb21112363dabf90d0936442c62b0256c8e399
[]
no_license
jancore/agv_slam_algorithms
ed1318449f3f692a7aa686a17c0243e72ed0f17f
57b0c683d3f36b3775dbc21677278dd79a86052a
refs/heads/master
2020-04-07T08:24:36.442053
2019-02-21T16:28:29
2019-02-21T16:28:29
158,212,489
4
0
null
null
null
null
UTF-8
C++
false
false
2,423
cpp
tf_listener.cpp
#include <ros/ros.h> #include <geometry_msgs/PointStamped.h> #include <sensor_msgs/LaserScan.h> #include "std_msgs/String.h" #include <tf/transform_listener.h> #include "math.h" class Laser_listener { public: Laser_listener(){ ranges = std::vector<double>(); angle_increment = 0.0; } void C...
b67c6a34eb79273fb8d95160f0d9b3a267fbfd95
3d36b686316c25d96d96f1c42b52947bf6b908fa
/SiSExpressionLib/sisresult/resultexpression.h
617df29188d422a8e28165c30f27450da63e68da
[]
no_license
jason10071/sisConsoletool
be99a40525c2e5e0fa62e147c9fbb579279d5aa4
34ba82bf5707f5e888d55f1e14548b84db31afa3
refs/heads/master
2021-01-10T10:36:52.821405
2020-07-22T07:36:40
2020-07-22T07:36:40
48,153,451
1
3
null
2020-07-03T09:36:30
2015-12-17T05:03:55
C++
UTF-8
C++
false
false
1,372
h
resultexpression.h
#ifndef RESULTEXPRESSION_H #define RESULTEXPRESSION_H #include <iostream> #include <map> #include <list> #include <string> #include <sstream> using namespace std; namespace SE { class ResultExpression { public: enum TreeRole { TREE_ROOT = 0, TREE_NON_LEAF, TREE_L...
2425daa54e2f973f128678d1c49b1b9dccfa7374
c37613964ab1fb8b5613243323c50f65ca4d14b3
/src/DiceFour.h
879b01f39947b496a918aeaee3a05810e7a78f45
[]
no_license
gillkashdeep/webgamingMidterm
77dd99722242841b8256339d3cbb1faa93505c04
e44cdcf60519689f628ed0b5067a34c167621c0d
refs/heads/master
2021-01-06T23:18:24.487427
2020-03-03T23:50:32
2020-03-03T23:50:32
241,510,592
0
0
null
null
null
null
UTF-8
C++
false
false
278
h
DiceFour.h
#pragma once #ifndef __diceFour__ #define __diceFour__ #include "DisplayObject.h" class DiceFour : public DisplayObject { public: DiceFour(); ~DiceFour(); void draw() override; void update() override; void clean() override; private: double m_currentDirection; }; #endif
0acdb2358df43ae5c20033dbe5c8616930d90996
87d9c581207dee14840e563b6bd6957ce0a9d836
/Boxes through a Tunnel.cpp
961254b2dc61613af8afc29e91b41d7156542bb3
[]
no_license
Somaiyajannat/Competitive-Programming
659643e6612bdf62366ea44bebc1ba090b6c301b
379974e391b7e2e97708a26243783202edf5f43c
refs/heads/master
2022-05-10T22:37:59.939525
2022-05-01T04:29:34
2022-05-01T04:29:34
134,086,660
0
0
null
null
null
null
UTF-8
C++
false
false
489
cpp
Boxes through a Tunnel.cpp
struct box { int length, width, height; /** * Define three fields of type int: length, width and height */ }; typedef struct box box; int get_volume(box b) { int result = b.length * b.width * b.height; return result; /** * Return the volume of the box */ } int is_lower_than_max_heigh...
32fea66c30cab53a114269cac19003effa810750
9875d3831c2a7a7ad4ee98bd353586f51bddeb92
/gaudio/gaddress.cpp
2f6f0e51b773ce9df4275a221ceea54811d94038
[]
no_license
bigsealing/gaudio
de65668ad847064deb3b82d4ed8e1b15c6372531
6334409bb4178748d793be34d8e0cad6c2a3d82d
refs/heads/master
2023-06-10T22:23:41.792946
2021-06-26T11:41:31
2021-06-26T11:41:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,328
cpp
gaddress.cpp
#include <string.h> #include "gaudio.h" #include "gcontext.h" #include "streamBuffer.h" #include "gresample.h" #include "gqueue.h" struct gFunctionStruct { const char* name; void* address; }; #define ADDR_WRAPPER(name,ptr) {name,(void*)ptr} static gFunctionStruct gFunctions[] = { ADDR_WRAPPER("stream_te...
b28f7a32fd6b0d086c4084bd1ee3306884d964a6
7f610e8792081df5955492c9b55755c72c79da17
/LinkedListBasics/main.cpp
dc46633c2a78263fbe426945b2fc089448999378
[]
no_license
Parikshit22/Data-Structures-Algorithms-Cpp
8da910d0c1ba745ccfc016e0d0865f108b30cb04
4515f41c8a41850bc2888d4c83b9ce5dc9b66d68
refs/heads/master
2022-12-09T09:54:42.240609
2020-09-02T03:48:43
2020-09-02T03:48:43
276,821,418
1
0
null
null
null
null
UTF-8
C++
false
false
4,818
cpp
main.cpp
#include <iostream> using namespace std; class node{ public: int data; node* next; node(int n){ data = n; next = NULL; } }; void InsertionAtTail(node *head,int data){ node *q = head; while(q->next!=NULL){ q = q->next; } node*a = new node(data); q->next=a; } v...
aa5ea62819fd45eedf3bd7812abeb20521b9cf84
b7f1b4df5d350e0edf55521172091c81f02f639e
/components/cronet/native/test_util.cc
6e56cd52996359ddadf60d8bff7da4b72ccc83bc
[ "BSD-3-Clause" ]
permissive
blusno1/chromium-1
f13b84547474da4d2702341228167328d8cd3083
9dd22fe142b48f14765a36f69344ed4dbc289eb3
refs/heads/master
2023-05-17T23:50:16.605396
2018-01-12T19:39:49
2018-01-12T19:39:49
117,339,342
4
2
NOASSERTION
2020-07-17T07:35:37
2018-01-13T11:48:57
null
UTF-8
C++
false
false
987
cc
test_util.cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/cronet/native/test_util.h" #include "base/bind.h" #include "base/task_scheduler/post_task.h" namespace { // Implementation of PostT...
b6f53862451049a795a23f24a707f9a22bcb4cf7
88c85bfd2e1b889f3fbdefb9073bb988910f0e25
/ApplicationSolarSystem/ApplicationSolarSystem/cgvPoint3D.cpp
932a2b1b49d41345b2769e81d349a110cfa0abe4
[]
no_license
natalijapesic/SolarSystem
ea852bd96c590b57148391f1e38b00d6adff2258
73d363ceebd73bcbf2855ff04e03dbdfd4997e80
refs/heads/master
2020-10-01T21:34:27.010969
2020-03-31T17:25:54
2020-03-31T17:25:54
227,626,973
1
0
null
null
null
null
UTF-8
C++
false
false
1,017
cpp
cgvPoint3D.cpp
#include <stdio.h> #include <math.h> #include "cgvPoint3D.h" // Constructors cgvPoint3D::cgvPoint3D() { c[X] = c[Y] = c[Z] = 0.0; } cgvPoint3D::cgvPoint3D (const double& x, const double& y, const double& z ) { c[X] = x; c[Y] = y; c[Z] = z; } // Copy constructor cgvPoint3D::cgvPoint3D (const cgvPoint3D& p ) { ...
9a981a2a390b730dd91e3fcabc4723f508377dbb
dd7f9963c0f918372230130662d201ff0b9c23d8
/src/server/baselistener.cpp
56be96db5759d5d29eb5d8ae2cc74ff28dca8c54
[]
no_license
cbueno/batyr
863d0303c71b6f016ede80677e0fd17b19755718
27f8c095ce9d44a11667b40c0d6a853095f93139
refs/heads/master
2020-12-24T19:04:58.639904
2014-04-16T09:38:36
2014-04-16T09:38:36
23,156,810
1
0
null
null
null
null
UTF-8
C++
false
false
373
cpp
baselistener.cpp
#include "server/baselistener.h" using namespace Batyr; BaseListener::BaseListener(Configuration::Ptr _configuration) : logger(Poco::Logger::get("BaseListener")), configuration(_configuration) { //poco_debug(logger, "Setting up listener"); } BaseListener::~BaseListener() { //poco_debu...
c128b6886ec1a463b0d3cc6aeb9b01da8b77f78e
b6b019e62ddcfe7f4364cd6fa15acad941af220f
/src/test3_chr.hpp
848aa65f4b3eaaf99062c11c5d40fee74e9d27c1
[]
no_license
schaban/crossdata_gfx
999a0e39d111f04a75683d434356b33e64ad0d8b
075b98adca57056ae35bdd360118d6bac583f29c
refs/heads/master
2022-08-31T18:01:36.667398
2022-08-24T11:49:34
2022-08-24T11:49:34
95,958,151
5
4
null
null
null
null
UTF-8
C++
false
false
2,886
hpp
test3_chr.hpp
#define D_KEY_UP 0 #define D_KEY_DOWN 1 #define D_KEY_LEFT 2 #define D_KEY_RIGHT 3 #define D_KEY_L1 4 #define D_KEY_L2 5 #define D_KEY_R1 6 #define D_KEY_R2 7 #define D_KEY_A 8 #define D_KEY_B 9 KEY_CTRL* get_ctrl_keys(); TD_JOYSTICK_CHANNELS* get_td_joy(); float get_anim_speed(); bool stg_hit_ck(const cxVec& pos0, co...
d59018e9f7ae03bdd2a0b765f565139b3c6f1f27
e71b53457bc25af7d92b7a661596b0f31d21853a
/is/storagecreatedialog.h
f2d6467f6a972a462fbeb8081920789236f5d98f
[]
no_license
hackey9/ikit-kp-3sem
868e2f455bf085362a42119f4031e6da947facc3
ad119c7b44bd7133c23bb9fdbb2b1c4a87856cf2
refs/heads/master
2022-08-02T17:48:30.509190
2020-05-21T06:35:30
2020-05-21T06:35:30
264,706,642
0
0
null
null
null
null
UTF-8
C++
false
false
440
h
storagecreatedialog.h
#pragma once #include <QDialog> #include "../database/database.h" namespace Ui { class StorageCreateDialog; } class StorageCreateDialog : public QDialog { Q_OBJECT public: explicit StorageCreateDialog(Database &db, QWidget *parent = nullptr); ~StorageCreateDialog(); signals: void onStoreCreated(); ...
868ac0c5a922234354cdfc5b49b4487811d469e4
d80556050142e45aa26e353544422f2dfbc0dffb
/leetcode-com/338_Count_Bits.cpp
7d863477402ce97646c32aa279f63ca321b2179e
[]
no_license
Alexzsh/oj
c68822fcb9e70c6a791a87c74f4034bb50148354
48625a3ee463ae9de253b6a19bcc2b1f249c1f2e
refs/heads/master
2021-07-06T06:39:04.956354
2019-04-27T10:51:39
2019-04-27T10:51:39
141,728,785
0
0
null
null
null
null
UTF-8
C++
false
false
520
cpp
338_Count_Bits.cpp
#include<iostream> #include<vector> using namespace std; vector<int> countBits(int num) { vector<int> res={0}; for(int i=1;i<num;++i){ if(!(i&(i-1))) res.push_back(1); else res.push_back(res[i&(i-1)]+1); } return res; } int* countBitss(int num) { int* res ...
e020879edca5d49fa8bc523be7e0726f1b48fe57
d66ea321bd43ff76305d3d33ebab056251b6d413
/libs/erdas/include/NCSEcw/JPC/T1Coder.h
2761ce951bc0b051e591326d60a1cc2bb5a37ba7
[]
no_license
winsento/geoserver-ecw
97d498ab6b8ac0f65569206141dcaad6cc57d623
a41ac9ca2dd8e03cc66a109d393237b3e87ea32c
refs/heads/master
2020-12-30T17:11:02.360195
2017-05-12T09:25:58
2017-05-12T09:25:58
91,062,046
1
1
null
null
null
null
UTF-8
C++
false
false
3,820
h
T1Coder.h
/******************************************************** ** Copyright, 1998 - 2014, Intergraph Corporation. All rights reserved. ** ** FILE: T1Coder.h ** CREATED: 12/02/2003 3:27:34 PM ** AUTHOR: Simon Cope ** PURPOSE: CT1Coder class header ** EDITS: [xx] ddMmmyy NAME COMMENTS *****************************...
242a501bf53c91226233e9b23b33f228ad0948c8
6d5a257bf72afdd85660ad3e938e2aa3025c680b
/include/Core/QuantumCircuit/OriginClassicalExpression.h
04212dba824b8546b14e3d52541f90a4432ebe18
[ "Apache-2.0" ]
permissive
OriginQ/QPanda-2
682b0e3bcdec7c66a651e8001d639f6146595fdf
a182212503a97981844140b165cb3cee8e293edd
refs/heads/master
2023-08-19T03:01:27.385297
2023-08-04T08:43:03
2023-08-04T08:43:03
136,144,680
1,207
96
Apache-2.0
2023-08-04T08:42:52
2018-06-05T08:23:20
C++
UTF-8
C++
false
false
2,056
h
OriginClassicalExpression.h
/* Copyright (c) 2017-2023 Origin Quantum Computing. All Right 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 la...
af4a1731ac24cad6a69ae5e63f57a678b48ff97d
e08dd41b3a1b6af70491ef4177b5ec7f988a24d4
/oopPastexam/oop11machinetest/B.cpp
e3da32b7b66c77408f6bb43a760eadb3d40ed1f1
[]
no_license
xatier/QQP
8b279edc754f1eaf6e8457b86c3889f6915a1072
32db8ed30b117641ed4d4b507cacbd4a7860939e
refs/heads/master
2020-05-26T19:47:09.161818
2015-04-16T17:06:42
2015-04-16T17:06:42
4,889,726
0
0
null
null
null
null
UTF-8
C++
false
false
1,549
cpp
B.cpp
#include <iostream> #include <functional> #include <numeric> #include <vector> using namespace std; //Version A int subset(int* a,int n) { int b=accumulate(a,a+n,0,plus<int>()); if (b%2==1) return 0; vector<vector<int> > t(n,vector<int>(1+b/2)); t[0][0]=t[0][a[0]]=1; for (int i=1;i<n;i++) for (...
c346124a8ad20002241ddd1eb543f02cac956726
eefb5893de2db35003cbea36c077604f95a023cc
/src/gctools/gc_boot.cc
d7da414527ce2db0757513dd127d43b29fefb5ba
[]
no_license
dota534/clasp
4d20c8f54c33fe5027c6bfe11b9ddaf0e3dd7f27
525ce1cffff39311e3e7df6d0b71fa267779bdf5
refs/heads/master
2021-05-05T03:09:47.626701
2017-07-21T01:31:41
2017-07-21T01:31:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,505
cc
gc_boot.cc
#include <clasp/core/foundation.h> #include <clasp/gctools/gctoolsPackage.fwd.h> #include <clasp/core/array.h> #include <clasp/gctools/gc_boot.h> #include <clasp/core/lisp.h> #include <clasp/core/package.h> #include <clasp/core/numbers.h> namespace gctools { size_t global_kind_max; Kind_info* global...
97d62ed23c6081109a8774bfd27d2d9ef80eaf8e
2493f74eeab056a62c32b8b3bcb128d581568f17
/include/Code.h
a9b0e1161215896c13ef4da5318b5f442303f28d
[ "MIT" ]
permissive
mfl28/HackAssembler
eb1a7fbf9526c123a2a21c73f5ce8c7e026c4590
0655b29bdd45bc19da223c67dbf9d3b9fe8a64fe
refs/heads/master
2021-07-09T06:30:34.353204
2020-08-29T17:06:22
2020-08-29T17:06:22
184,457,374
1
2
null
null
null
null
UTF-8
C++
false
false
892
h
Code.h
#pragma once #include <bitset> #include <string> namespace HackAssembler::Code { /** * \brief Gets the binary code of the destination-mnemonic. * \param mnemonic One of 8 possible dest-mnemonics defined in the Hack assembly language. * \return The binary code (3 bits) */ std::bitset<3> des...
1f52ddf40121fe0680fbfc73834072c923459cbc
134f98b6904f5750d83b10295aa25153205cea19
/sumOfFactTest/unittest1.cpp
d1771bd944c0a7ff16338281c2e176eeea905e13
[]
no_license
luffykid/poj
0d81ef63577bc4d69e41b42c2f585caef5c14d35
d889508fe74bbda3d8b9799cf1639887847e6402
refs/heads/master
2020-03-12T05:17:54.156334
2018-04-21T10:06:11
2018-04-21T10:06:11
130,460,893
0
0
null
null
null
null
UTF-8
C++
false
false
440
cpp
unittest1.cpp
#include "stdafx.h" #include "CppUnitTest.h" #include "../sumoffactorial/stdafx.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace sumOfFactTest { TEST_CLASS(UnitTest1) { public: TEST_METHOD(TestMethod1) { // TODO: Your test code here int n = 51200; int exceptVal = 940310...
594b01e2bc361dc2c58810f162a013bb35627322
3960f1c2f53794fdf5e502f2ea3918f769046ffe
/position.cpp
6174d587258e89da346b49536a2594713ce4cd85
[]
no_license
debug18/Iris
20d3753f0bd87488989fb93f83216a7c6c23ca38
9e979f1827b9defd013ee91efff539e8fae630e4
refs/heads/master
2020-01-01T23:51:24.693594
2017-08-10T09:00:36
2017-08-10T09:00:36
92,399,006
8
1
null
null
null
null
UTF-8
C++
false
false
5,243
cpp
position.cpp
#ifndef _BOTZONE_ONLINE #include "position.h" #endif Position::Position() { board[0] = (1ull << toSquare(3, 4)) | (1ull << toSquare(4, 3)); board[1] = (1ull << toSquare(3, 3)) | (1ull << toSquare(4, 4)); player = 0; nullMoveCount = 0; basicEval = 0; hashValue = PIECE_HASH_VALUE[toSquare(3, 3)][...
4c144d3cfc70e17d7fa52627b822e8985a177f46
ee5c245008ee568c055667acc90026a30bb3a8f3
/src/main/process.cpp
1c659323ead94795baa3f7338558b8af866859ae
[]
no_license
MooseOnTheRocks/virtualterminal
7f803425e4c7c976cdbb84272249a5ead486ae9e
4cff574dda2f97f764c176cfa3982c64b474aa17
refs/heads/master
2021-04-16T01:53:06.780268
2020-03-23T21:08:51
2020-03-23T21:08:51
249,317,871
0
0
null
null
null
null
UTF-8
C++
false
false
3,441
cpp
process.cpp
#include "process.h" #include <iostream> #include <windows.h> Process::Process() { mCmd = ""; mIsOpen = false; } Process::~Process() { close(); } void Process::close() { CloseHandle(mProcInfo.hProcess); CloseHandle(mProcInfo.hThread); CloseHandle(mChildOutWr); CloseHandle(mChildInRd); ...
edf1e94702d5357acc033c9e16542a4296030b3f
b2634b890dc73fcc445d86766a83a24c1dfaa64c
/cpluscplus_pracice/polymorphism.h
3155269f2dd2458101d0e12519eb3ba1fe982e7d
[]
no_license
xiaocong-1024/study
b9793979104e90fe54ef307cd4f3219cc6f74aca
0808254ef75e9a49358b6ab2f1f92d1f7bb17b45
refs/heads/master
2021-06-15T03:44:38.135330
2017-03-22T17:01:31
2017-03-22T17:01:31
null
0
0
null
null
null
null
GB18030
C++
false
false
930
h
polymorphism.h
#pragma once class Point { public: Point(float x = 0, float y = 0);//构造函数 void setPoint(float a, float b);//设置坐标值 float getX()const//获取x坐标 { return _x; } float getY()const//获取y坐标 { return _y; } friend ostream& operator<<(ostream& _cout, const Point& p); protected: float _x; float _y; }; class Circle ...
1e5cdc8f69f8dbd6543c41b829b23e2d7a140add
71488f1c516dd54decf72b6679598d2f4a40b312
/scrollUp.cc
dd5a6f6612fdb8ce3d47669364b77510091a65b3
[]
no_license
bzheng98/bill-josh-vm
4ba9d1a2c1f9c50218613c97ae7abd51180f7219
a3974f9e1ea548f2a9f6c72d33941a645040fb74
refs/heads/master
2021-05-07T06:52:29.341791
2017-12-05T04:07:32
2017-12-05T04:07:39
111,737,376
0
0
null
null
null
null
UTF-8
C++
false
false
210
cc
scrollUp.cc
#include "scrollUp.h" #include "vm.h" void ScrollUp::update(const CommandInfo &c) { if(c.getCommandType() == SCROLLUP) { vm->scrollViewsUp(); fileManager -> setCursorPosition(vm -> getViewCursor()); } }