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
84384ea5aea8ee22acb31bff4a4804df660a0e00
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/fluidisedBed/0.11/U.particles
a9ebbc076d4edcd7ce272643fd4ed5644555bec1
[]
no_license
pyotr777/openfoam_samples
5399721dd2ef57545ffce68215d09c49ebfe749d
79c70ac5795decff086dd16637d2d063fde6ed0d
refs/heads/master
2021-01-12T16:52:18.126648
2016-11-05T08:30:29
2016-11-05T08:30:29
71,456,654
0
0
null
null
null
null
UTF-8
C++
false
false
154,478
particles
U.particles
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
70bcd97636833c0a3b563074602bb35b43a31b11
15f8f7cbd94dcd24f1cab4f9106cb80cb3c27b25
/hw1/src/main.cpp
4af00fea7960f8ed3634954b5f4a7bf33fcb0f7d
[]
no_license
smottahedi/modern-cpp-cv
d16e929515f1bee01d4833d16d05a84707a2abf1
05eebe60e56c98f9d3ba2830640070dedf4b42e2
refs/heads/main
2022-12-25T10:51:59.468940
2020-10-08T02:33:18
2020-10-08T02:33:18
302,213,016
0
0
null
null
null
null
UTF-8
C++
false
false
758
cpp
main.cpp
#include <iostream> #include <random> int main(){ std::random_device rd; //Will be used to obtain a seed for the random number engine std::mt19937 gen(rd()); //Standard mersenne_twister_engine seeded with rd() std::uniform_int_distribution<> distrib(1, 99); int random_number = distrib(gen); int ...
ab6d3acfe068105443d12cca570ca8001f580d03
3b46e0044525c891609e9491f19476866c97f04f
/DEM_Generation/treeGen.h
c285310b2ddd26759e93995d4090c944410b4c37
[]
no_license
ProjectPLANER/DEM_Generation
3edc8083a3fe2b8b70ccd9b3c66348aa90545a4e
77bb3d59f07a63ba93f5f70feb067e7fa9a273bd
refs/heads/master
2023-01-09T00:37:50.065795
2020-11-05T15:57:41
2020-11-05T15:57:41
310,345,450
0
0
null
null
null
null
UTF-8
C++
false
false
1,540
h
treeGen.h
/* DEM_Generation/treeGen.h Author: Daniel Bowden BWDDAN001 Header file for the treeGen class declaring all class variables and functions */ #ifndef TREEGEN_H_ #define TREEGEN_H_ #include <list> #include <vector> #include "opencv2/core.hpp" namespace treeGen{ struct Pos{ int x; int y; }; class...
3f4cdd110717c770767d4f26cb5e433ba65e11a4
ecf8e70cf727ead4ba0f1ee47829e09c05788fb2
/interface/InputMode.h
bbf383c0574aba55170fc89635b2a22cd3de9ef2
[ "BSD-3-Clause" ]
permissive
tapeguy/heekscad
7a7152a6efa6eee68342045f72069fdb8039be19
e5037d15d642551de756f352e4e14505c39ad7cf
refs/heads/master
2021-01-15T10:35:29.849410
2019-01-09T05:41:14
2019-01-09T05:41:14
14,959,018
0
0
null
null
null
null
UTF-8
C++
false
false
770
h
InputMode.h
// InputMode.h // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "../interface/HeeksObj.h" #include "../interface/Tool.h" #pragma once class HeeksObj; class Tool; class CInputMode : public DomainObject { public: virtual ~CInputMode() {} ...
9ed47bd6e4e8526d8d750f0dde56aeb9472861db
bece2a67ab0cdc46713f4229a2eab86813b0f5e2
/main.cpp
e3f522526e6c10ceab2718c749d2539edb42c34a
[]
no_license
dgerasimow/binS
efed951eb784515566eb5f343e2b974a09c367d4
59e010d738cf320101140c15f66b91f8cebbff17
refs/heads/master
2023-04-18T09:06:52.517306
2021-05-04T10:09:40
2021-05-04T10:09:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,139
cpp
main.cpp
#include <iostream> int binarySearch(int arr[], int key, int arrsize){ int mid = 0; int left = arr[0]; int right = arrsize; while(true){ mid = (left+right)/2; if(key<arr[mid]){ right=mid-1; } else if(key > arr[mid]){ left = mid+1; } else { ...
22f655b8b34399123a19a35ed8f8761d304386d6
d32b6eb7c8ca73704a38fef90b5fdca305184da6
/AAudioTrack2/src/main/cpp/ardour/AudioEngine/PortEngine/port_manager.h
d3ea83db565704ad4cc65a452864ccd7d80538aa
[]
no_license
qiguixuJamesTsui/AAudioTrack
e629c1a3ada913596c1adc893e17d4ee4fca69b8
368864da0a5198e7839c207772a3bacea33747f3
refs/heads/master
2023-02-02T01:28:41.734185
2020-12-20T11:54:43
2020-12-20T11:54:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
216
h
port_manager.h
// // Created by matthew good on 21/11/20. // #ifndef AAUDIOTRACK_PORT_MANAGER_H #define AAUDIOTRACK_PORT_MANAGER_H namespace ARDOUR { bool midi_info_dirty; } #endif //AAUDIOTRACK_PORT_MANAGER_H
ac588f00c394011b704b616675aeee8d8b1e500a
d9c592b309e5f7fc2089a40a4e88de6576b2197e
/src/events/notice.cpp
6f257ed36ba75ac245795fe40f841fba568f13ee
[ "BSD-3-Clause" ]
permissive
uhlin/swirc
8d71ffc4a1d97908888f2dc53883a6590beee1fc
5ec9954ed1499f7e70a8f6708f99396678612a38
refs/heads/master
2023-09-01T13:09:16.953034
2023-08-31T22:06:37
2023-08-31T22:06:53
53,422,109
38
5
NOASSERTION
2022-12-21T11:36:51
2016-03-08T15:16:06
C
UTF-8
C++
false
false
7,506
cpp
notice.cpp
/* Handles event NOTICE Copyright (C) 2014-2023 Markus Uhlin. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, th...
8d85c8a6dc643752a8cb7031fd61fe35523c1f5b
54202db29d1589db67c27365abb11141fede1601
/1458/6821885_AC_0MS_904K.cc
2c6bc6e0bbb83f1e08857d9aa5e0e8c7e4a14caa
[]
no_license
MayBeLaterOrNot/poj
677549838a35cfb2b72c33bd4dbdc4b7d5de4b0b
72ecf2f556d22369843c8f003ce542503fef4bf7
refs/heads/master
2023-03-15T18:11:27.168412
2019-04-15T14:07:01
2019-04-15T14:07:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
992
cc
6821885_AC_0MS_904K.cc
#include <iostream> #include <cstring> #include <stdio.h> using namespace std; char X[256], Y[256]; int C[256][256]; int lcs_length() { int m = 0, n = 0; int i = 0, j = 0; m = strlen(X); n = strlen(Y); for (i = 1; i <= m; i++) C[i][0] = 0; for (j = 0; j <= n; j++) ...
8bdd3baafa93c15cf53161bf7d1c48da3b714283
97ed5865686475f44afce7abbd6e4e0b479f4bda
/Matrix-Rechner/include/CPatternFileFilter.cpp
f51b2df139321549012080c9daa71d4f6fb183e0
[]
no_license
Info2-Projekt/Matritzen-Rechner
5f26581fa05ed94d935bdc0b965b755571229878
1f1801a7bf2c2b3f9b91e5d63557e2cf1676fe15
refs/heads/master
2021-01-17T20:33:13.194717
2016-07-06T14:44:05
2016-07-06T14:44:05
60,966,776
1
1
null
null
null
null
ISO-8859-3
C++
false
false
1,246
cpp
CPatternFileFilter.cpp
#include "CPatternFileFilter.h" namespace Codebook { using namespace std; using namespace rel_ops; bool CPatternFileFilter::match(const CFileInfo &fi) const { /* ** Kriterien der Basisklasse prüfen. */ if(!CFileFilter::match(fi)) return(false); /* ** Dateityp nicht FILE? ** => Keine weitere Überprüfung */ i...
fe0a49090021573c2c3ada71883741840b2f8b61
ba56d2112c8e5c36b9ab5c6f33de48c9a28dc808
/include/yaramod/types/token_type.h
d37b03d3a4ecaa86ebda4eab4fafeb6b2dc4305c
[ "MIT", "BSD-3-Clause" ]
permissive
avast/yaramod
664ceb7715add856d4c7d8b5fb49c44cdef03f22
563335e04da4f75c96d6eb27640a078584fdd3f3
refs/heads/master
2023-08-06T21:37:11.975589
2023-07-31T12:48:24
2023-07-31T12:48:24
113,992,549
80
41
MIT
2023-08-21T14:42:25
2017-12-12T13:16:46
C++
UTF-8
C++
false
false
2,227
h
token_type.h
/** * @file src/types/token_type.h * @brief Declaration of enum TokenType. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #pragma once namespace yaramod { /** * Represents type of parsed tokens. */ enum class TokenType { UNDEFINED, RULE_NAME, TAG, HEX_ALT, // '|' HEX_NIBBLE, HEX_...
ad058c3efe9f97ba506df4a4436166c892c24781
f97cbd78a1041ff722e5789d1fc7479eb5dc179c
/Plugins/SNSLibrary/Source/SNSLibrary/Private/SNSLibraryBPLibrary.cpp
6e3e591423ad663be7f5ed644258a6af5e15b3b7
[ "MIT" ]
permissive
lineCode/SNSLibrary-For-UE4
7c408349f41ca692a078da6ba7cd64821f859735
5632218dbe3fe636b69427d466f0dec952610522
refs/heads/master
2023-03-17T00:32:30.501516
2019-04-22T14:11:28
2019-04-22T14:11:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,814
cpp
SNSLibraryBPLibrary.cpp
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SNSLibraryBPLibrary.h" #include "SNSLibrary.h" #include "GenericPlatform/GenericPlatformHttp.h" DEFINE_LOG_CATEGORY(LogSNSLib); #if PLATFORM_ANDROID #include "Android/AndroidApplication.h" jmethodID USNSLibraryBPLibrary::CallIntentSNSMethod; jm...
c014724d4b999ed079f84a6baef2ac4cd722b00c
c35addea453fff575a3498f0c2eb41de0af4325d
/libraries/vm_manager/ro_db.cpp
d624c64d0e61acc434577589a59c38a4f01b17ef
[ "MIT" ]
permissive
mechanic-lee/pyeos
e831942c0db93126564b4a7e860f80a24397a085
b1c2f29068d59ac3be6c81cfa11abac2487c6a10
refs/heads/master
2020-03-29T22:41:31.163833
2018-09-25T09:49:17
2018-09-25T09:52:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,732
cpp
ro_db.cpp
#include <eosio/chain/db_api.hpp> #include <fc/exception/exception.hpp> using namespace eosio::chain; extern "C" { void eosio_assert( uint32_t test, const char* msg ) { if( BOOST_UNLIKELY( !test ) ) { std::string message( msg ); edump((message)); EOS_THROW( eosio_assert_message_exception, "asse...
1f1faf803f0641a578802d819be7187d732a4932
74a769f65628dce45431b5e26d302855686ab23b
/basics/Player.cc
a55e38ae9135843f574cedf36d8e3a328510c415
[]
no_license
sburnwal/cpp
3772dd31dc9a00ac09c1fd07908babec31d49a1b
eaf0d63a94466fb0f6c53eb29c501b50b57cc6a0
refs/heads/master
2021-07-04T00:20:27.636824
2020-09-10T05:56:14
2020-09-10T05:56:14
168,467,923
0
0
null
null
null
null
UTF-8
C++
false
false
206
cc
Player.cc
#include <iostream> #include "Human.h" namespace hr { std::string Player::getRole() { return role; } Human* Player::getHuman(int a, std::string s, std::string r) { return new Player(a, s, r); } }
76942a52b4fc5882653c8db4cd47e6b390e22f8d
f2bd29cc215ab26a73ebb132b492171102f80933
/Spikes/CmdStackApp/CommandStack.h
f7ee9365889c7f308504c94ba7e90b336a3a9c3d
[]
no_license
djeemie2000/SynthPlayground
f319c1491744ad42bbc3501a2ffecdc44f887391
daffa8887d568b306fdea071ad2f5b69fbebf074
refs/heads/master
2021-01-17T11:01:54.643937
2016-03-30T11:14:49
2016-03-30T11:14:49
18,151,046
0
0
null
null
null
null
UTF-8
C++
false
false
625
h
CommandStack.h
#ifndef COMMANDSTACK_H #define COMMANDSTACK_H #include <deque> #include <map> #include <functional> #include <string> using namespace std; struct SCmdStackItem { std::string s_Name; bool s_BoolValue; int s_IntValue; float s_FloatValue; SCmdStackItem(); SCmdStackItem(const std::string& Name,...
d13c107df1694d44091dd51ecd9a4167df5c2597
a5a3698ab5d617988af99b7060ea8f095a8849ba
/src/random.h
035404a06a3ced4b30e3e0d8f52635efe9914741
[ "Beerware", "LicenseRef-scancode-public-domain" ]
permissive
zhmu/rssh
8620e5f48242ee30cf17cac1a91b2063c1863e84
2f7d0014e99462db0a1fdff8e5ba201f873d2b20
refs/heads/master
2022-05-18T19:30:19.182338
2020-04-27T13:45:32
2020-04-27T13:45:32
259,329,036
0
0
null
null
null
null
UTF-8
C++
false
false
406
h
random.h
#ifndef RSSH_SESSION_H #define RSSH_SESSION_H #include "cryptopp/osrng.h" namespace RSSH { class Random { public: static Random& GetInstance(); CryptoPP::AutoSeededRandomPool& GetRng() { return m_Rng; } void Generate(unsigned char* buffer, size_t len) { m_Rng.GenerateBlock(buffer, len); } private: Crypt...
9c05661ac64983bb3226ded25f6367505314e625
74ed8e1d695f01c8563f46b5acf5e14526bb3dc0
/src/Http/HttpsSession.h
e240dd090e99a3bcfeefd11d658106e4e9068208
[ "MIT" ]
permissive
berli/ZLMediaKit
0b540c813d6364f7550c58eb91f5f8be8837a503
b2e650f9f631bedbdb304a027a791e1674d97977
refs/heads/master
2021-01-20T09:00:18.219651
2017-05-02T16:16:53
2017-05-02T16:16:53
90,210,241
2
0
null
2017-05-04T01:52:38
2017-05-04T01:52:38
null
UTF-8
C++
false
false
1,188
h
HttpsSession.h
/* * HttpsSession.h * * Created on: 2017年4月19日 * Author: xzl */ #ifndef SRC_HTTP_HTTPSSESSION_H_ #define SRC_HTTP_HTTPSSESSION_H_ #include "HttpSession.h" #include "Util/SSLBox.h" #include "Util/TimeTicker.h" using namespace ZL::Util; namespace ZL { namespace Http { class HttpsSession: public HttpSessio...
3f8d895b4e80ab7055945501b6efa016552469c5
249b8ac66022cef45f1e5fd8d594b76ee0cb3ad4
/Working/ClusterResults/damBreak/damBreak/0.8/U
568412af4e401f5da1daf6b85a13056662b46b3a
[]
no_license
Anthony-Gay/HPC_workspace
2a3da1d599a562f2820269cc36a997a2b16fcbb8
41ef65d7ed3977418f360a52c2d8ae681e1b3971
refs/heads/master
2021-07-13T17:36:50.352775
2021-02-08T05:59:49
2021-02-08T05:59:49
232,433,074
0
1
null
null
null
null
UTF-8
C++
false
false
55,181
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
de03c7102585fd1700ff1fc0d43754114ec15aa7
6ee567fc3836fce02cc2b4c9c87f107e85164b1e
/owreader/ds18b20.hpp
fb3cb34a40e128483f01f39a98a6c4396865cc65
[]
no_license
kamilmmach/projects
761f65ea73427786ce5a67f7fcfdb3b78b61dcaa
a73708af576c93e282cd31b10a9446b7bda63891
refs/heads/master
2023-01-07T17:07:06.442548
2020-11-10T15:00:02
2020-11-10T15:00:02
311,422,090
0
0
null
null
null
null
UTF-8
C++
false
false
475
hpp
ds18b20.hpp
#ifndef _DS18B20_HPP_ #define _DS18B20_HPP_ #include <cstdint> #include "onewire.hpp" class Ds18b20 { public: Ds18b20(OneWire* ow_interface, uint8_t device_id) : temperature_(0.0f), ow_interface_(ow_interface), device_id_(device_id) { } bool ReadTemperature(); float GetTemperature() { return tempe...
d9705bdce57d199348b983868fae48b1b9ac5023
777a75e6ed0934c193aece9de4421f8d8db01aac
/src/Providers/UNIXProviders/StorageDefect/UNIX_StorageDefect_LINUX.hxx
240096bd69abee7229a64b40226c5cd598d708c8
[ "MIT" ]
permissive
brunolauze/openpegasus-providers-old
20fc13958016e35dc4d87f93d1999db0eae9010a
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
refs/heads/master
2021-01-01T20:05:44.559362
2014-04-30T17:50:06
2014-04-30T17:50:06
19,132,738
1
0
null
null
null
null
UTF-8
C++
false
false
122
hxx
UNIX_StorageDefect_LINUX.hxx
#ifdef PEGASUS_OS_LINUX #ifndef __UNIX_STORAGEDEFECT_PRIVATE_H #define __UNIX_STORAGEDEFECT_PRIVATE_H #endif #endif
399c4eb6e2b1fcdd908679fbaa894c768438d325
fe87d809058b57da26ffde0b494cc4e5aef85102
/project/Harman_T500/databaseform.cpp
32a2d2e2278f1b75b383ab7a9d62b1ca16c83f94
[ "MIT" ]
permissive
happyrabbit456/Qt5_dev
4f2c354d1cead315dc1b2c43fa6a4fceb1a09131
1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2
refs/heads/master
2020-07-08T05:39:16.436243
2020-01-02T07:53:04
2020-01-02T07:53:04
203,581,423
0
0
null
null
null
null
UTF-8
C++
false
false
8,534
cpp
databaseform.cpp
#include "databaseform.h" #include "ui_databaseform.h" #include "mainwindow.h" DatabaseForm::DatabaseForm(QWidget *parent) : QWidget(parent), ui(new Ui::DatabaseForm) { ui->setupUi(this); m_model = new QSqlQueryModel(ui->tableView); updateTableView(); ui->tableView->scrollToBottom(); } Dat...
a71eec92b8c7f753490d3e0147e8fb64b7068717
48d05b089416d40e1bb68e560b5d8d525a2f5c71
/project3/DatalogProgram.cpp
2054b2ece1be3143e88c3cf697e9abe0603fc9c9
[]
no_license
dpettingill/CS_236
49bc254cefb0110119cf37f6529b10a61aaf39b9
69ff8d5249f06b999bf0e01837b9a7ef5194f2f7
refs/heads/master
2020-09-01T21:22:55.764244
2019-12-11T15:36:31
2019-12-11T15:36:31
219,061,402
0
0
null
null
null
null
UTF-8
C++
false
false
3,073
cpp
DatalogProgram.cpp
#include "DatalogProgram.h" static stringstream my_ss; DatalogProgram::DatalogProgram(/* args */) { } DatalogProgram::~DatalogProgram() { } void DatalogProgram::addScheme(Predicate my_scheme) { schemes_v.push_back(my_scheme); } void DatalogProgram::addFact(Predicate my_fact){ facts_v.push_back(my_fact); }...
347650e8e50e43d14c06d8054d53099df60c16bc
d6a1429a803b5b8e9b560d69d7329dcce5f6be75
/Debug/main.cpp
23e9bccbaaad0227058148e391e6896014f0ee76
[]
no_license
zincent/GitLeaming
170b6c484ca6b69270f83e2c10cd6ba730a149ca
cc0629f21d5caa1d6d5232183bcde49137e271f4
refs/heads/master
2021-05-20T09:40:24.401033
2020-04-08T14:24:45
2020-04-08T14:24:45
252,230,359
1
0
null
null
null
null
UTF-8
C++
false
false
1,243
cpp
main.cpp
#include <QCoreApplication> #include <iostream> #include <cstdio> #include <vector> #include <functional> #include <memory> using namespace std; //helper function typedef std::pair<std::function<bool(int)> ,std::function<void(void)>> IfDoPair; //指向类型为IfDoPair的对象的指针P_IfDoPair; typedef std::shared_ptr<I...
52f36f9df80024e1ebbfe65c5637b41b3adec94e
2cd8cb4b9b91a83004c2b2b250e2a760b27d81ca
/10_factorial/factorial.cpp
8ad876a3a5d191824086c0f9c40b291447e3bf8c
[]
no_license
headi90/Cpp
a51414c9bf70111ba052577fb5060deebe81ff20
eb598a52b4ed8399a498d70d0070ae8e6bc187ca
refs/heads/main
2023-08-24T04:46:03.938158
2021-10-14T18:37:53
2021-10-14T18:37:53
391,709,609
0
0
null
null
null
null
UTF-8
C++
false
false
1,063
cpp
factorial.cpp
#include <iostream> long long count_factorial(int n) { if (n <= 1) return 1; return n * count_factorial(n - 1); } long long count_factorial_loop(int n) { long long out = 1; for (int i = 2; i <= n; ++i) { out *= i; } return out; } int main() { std::cout << count_factorial(...
781bb0ebd213c1f0b60922f7e8e9089af4256edd
86caa4db5a8ae3c11efc08025ccf8790617aed8e
/Complex/ComplexFunction.h
74be185237d41818e3e4275d6493a2c922adc2c2
[ "MIT" ]
permissive
HKhademian/ComplexMachine
761c783ef52e2c28932a658c1e8963b869ba1348
b5cbb30b230e094ae28fa9dbbc37044458ff4daf
refs/heads/master
2020-12-08T19:53:48.126892
2020-01-25T06:32:42
2020-01-25T06:32:42
233,079,593
1
0
null
null
null
null
UTF-8
C++
false
false
1,380
h
ComplexFunction.h
#ifndef COMPLEX_FUNCTION_H #define COMPLEX_FUNCTION_H #include "ComplexNum.h" namespace Complex { typedef ComplexNum (*ComplexFun1)(const ComplexNum &); ComplexNum cart(const ComplexNum &z); ComplexNum euler(const ComplexNum &z); ComplexNum floor(const ComplexNum &z); ComplexNum round(const Com...
72afe45ebdca87dca0b8ff1dfcdf74bad1d4c764
ba69dcbedf72efd713838e5f639625402c3febb3
/libCGE/include/filters/cgeFastTiltShift.h
815c5dd85ed88e41d282e9c2775237ac0566e439
[ "MIT" ]
permissive
asdlei99/grafix
a13161de774d914a17161c3715f4cdac3d487ee5
a4d1f760c3262d9708726219d4070afbebbf3d09
refs/heads/master
2020-07-31T05:07:38.127811
2015-08-04T16:11:35
2015-08-04T16:11:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,822
h
cgeFastTiltShift.h
/* * cgeFastTiltShift.h * * Created on: 2015-01-12 * Author: Su Zhiyun */ #ifndef _CGEFASTTILTSHIFT_H_ #define _CGEFASTTILTSHIFT_H_ #include "cgeGLFunctions.h" #include "CGEImageFilter.h" namespace CGE { class CGEFastTiltShiftInterface : public CGEImageFilterInterface { public: CGEFastTiltShiftInte...
cd906740b62c106a8f2c7840d116394ad4a814ca
b61ee126f8f9e4c85e9e387ce3491566915d8670
/sixth_task/graph.cpp
5c4ba33a91a5bdab4dffaccf06c9cbd908fc6e53
[]
no_license
TheLostIn/database__2016-2017
9f0854501b67e2b237b10cf7920732a602050f91
f76d886598fd4cb0e0f298bb49cd3435849b6043
refs/heads/master
2021-01-11T09:57:47.638747
2017-01-11T12:28:38
2017-01-11T12:28:38
77,883,414
6
0
null
null
null
null
UTF-8
C++
false
false
6,201
cpp
graph.cpp
#include<iostream> #include<stack> #include<queue> #include<algorithm> #include<fstream> using namespace std; #define Infinity MAX #define Vertex_Max 20 typedef int VRType; typedef int ElemType; typedef enum{DG,UDG,UDN}GraphKind; typedef struct { ElemType vexs[Vertex_Max]; VRType edges[Vertex_Max][Vertex_Max]; int v...
e184ffe5a0820691a7c4ce111d84ceafb9d53d64
c9cf0586ace11aa32fa67606d237a130a06364ee
/circular-cylinder-3-1/OldData/1.752/p
e9c544ee06c93b569a3a16547675ebdcdacfd8aa
[]
no_license
jezvonek/CFD-Final-Project
c74cfa21f22545c27d97d85cf30eb6dc8c824dc1
7c9a7fb032d74f20888effa0a0b75b212bf899f4
refs/heads/master
2022-07-05T14:43:52.967657
2020-05-14T03:40:56
2020-05-14T03:40:56
262,370,756
1
1
null
null
null
null
UTF-8
C++
false
false
196,501
p
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6.0 \\/ M anipulation | \*-----...
5db7153a45e503f6e469435de41cded0c8072c22
17c1d4c926b3bbb702a2a232e36bb9337ca7d02c
/VENOM.cpp
1ff42f46759ea8938324f22425590c1275b40668
[]
no_license
venkat-oss/SPOJ
796c51696061240980935f6fbf2fdc2f9f1ba674
119d0dec0733ca300bb0072d69e9e5bbcbb80c72
refs/heads/master
2021-10-11T05:15:50.696357
2019-01-22T16:52:48
2019-01-22T16:52:48
169,182,392
2
0
null
null
null
null
UTF-8
C++
false
false
1,304
cpp
VENOM.cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <numeric> #include <algorithm> #include <functional> #include <vector> #include <queue> #include <stack> #include <set> #include <map> #include <unordered_map> #include <list> #include <bitset> #include <utility> #incl...
e69296a18de650e588bc671f8d47594ea137ce87
fbc9e2cd913bd409f702fbf72ee7a0abc8be1c1e
/node/node.cpp
e17c66a5a07479c98906f25538b172a3efd19d99
[]
no_license
jhanssen/testsh
c164a8d6a9ef17a5d4ff6f3d8d6bb70caaae1b6d
b7d9fda9e9e0a66fe1a30976e345ed2f299d0f8e
refs/heads/master
2021-01-22T17:40:01.182823
2017-03-15T04:51:13
2017-03-15T08:11:17
85,029,769
0
0
null
null
null
null
UTF-8
C++
false
false
3,833
cpp
node.cpp
#include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include <signal.h> #include <termios.h> #include <string.h> #include <sys/wait.h> #include <memory> #include <functional> #include <string> #include <vector> #include <initializer_list> #include <nan.h> #define EINTRWRAP(...
e9aaf6768ab6120f5c3dd4cc080d0740c2ad1a68
d16564100beacb7a2ed4f222a120746ffb45e2b1
/IOMapper/register_types.cpp
33b3b1c2f1c2aa311179f8be5963fc8abdcd00a5
[]
no_license
peacheym/IOMapper
a1d840ab05034daf0ffda32477203c6e6a907638
a73a52dfa8dbc4a296fc65d57c8e9b3bd69df4c2
refs/heads/main
2023-07-23T02:11:54.995170
2021-08-16T19:21:47
2021-08-16T19:21:47
375,485,350
0
0
null
null
null
null
UTF-8
C++
false
false
273
cpp
register_types.cpp
/* register_types.cpp */ #include "register_types.h" #include "core/class_db.h" #include "IOMapper.h" void register_IOMapper_types() { ClassDB::register_class<IOMapper>(); ClassDB::register_class<IOMapper::Signal>(); } void unregister_IOMapper_types() { }
f6023f9cd57a154ad87aa93d84d6e688669cc875
ddc1598eeef1d3ab01fd2a710db2df58bb78579b
/Lecture17/deepakAndJourney.cpp
c9d09b5bb512da29fcc3e29258a75ccc2ccb1b34
[]
no_license
aastha621/Launchpad_29Dec2019
dddf9566c1ed669d725b959e4ed07763193e8c8e
d8545ccbe9e37558de26210eca1d0c2fc8d2782a
refs/heads/master
2022-12-24T16:29:25.430589
2020-05-24T09:09:11
2020-05-24T09:09:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
835
cpp
deepakAndJourney.cpp
#include <iostream> #include <vector> using namespace std; long long int minPrice(int* cost, int* petrol, int checkPoints) { long long int minimumPrice = cost[0]; long long int totalMoneySpent = minimumPrice * petrol[0]; for (int i = 1; i < checkPoints ; ++i) { if (cost[i] < minimumPrice) { minimumPrice = cos...
e0c7fff707d0504ddd803946e0e2d130f1b8536c
04c8626f3d4dcddaf78df8da156804023d73c285
/include/QuantKit/Handler/GroupUpdateEventHandler.h
4562b61840592dd68c02bb95b4ee4a09a4dc8945
[]
no_license
lvhui/OpenKit
0d787a6121c209e702dade0f824f6aab12a523d3
963ec4b0491d651ee1f11df972aa39d3166deac2
refs/heads/master
2020-12-27T15:28:37.281907
2015-04-03T10:22:18
2015-04-03T10:22:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,550
h
GroupUpdateEventHandler.h
#ifndef __QUANTKIT_GROUPUPDATEEVENTHANDLER_H__ #define __QUANTKIT_GROUPUPDATEEVENTHANDLER_H__ #include <QuantKit/quantkit_global.h> #include <QDebug> #include <QVariant> #include <IAsyncResult> #include <AsyncCallback> #include <QSharedDataPointer> namespace QuantKit { class GroupUpdateEventHandlerPrivat...
f313f5d0e290f21fe1d6516f2f063a33e260dfc3
860e0c5064c51fa1e54e2c8c969a5ad4450519cf
/leetcode/medium_reconstruct_itinerary.cpp
dd3647e65e00302cc77824c29bc3d7177c572bd7
[]
no_license
wonghoifung/tips
827eaa04c55f2b4e7debf5ea0cd4feb00d53e822
102784596dc410505c1036d876633b0e063345e7
refs/heads/master
2021-01-23T21:11:57.196397
2018-06-17T03:16:08
2018-06-17T03:16:08
46,920,349
4
0
null
null
null
null
UTF-8
C++
false
false
1,943
cpp
medium_reconstruct_itinerary.cpp
#include <iostream> #include <sstream> #include <vector> #include <deque> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stack> #include <set> #include <map> using namespace std; class Solution { public: void listAdd(string value, vector<string>& list) { if (list.empty()...
3635b47d21646cf80d12992adebc0d06a3d842fb
4abdd1ac1563653f5114efa5df4e6743a4a7fd13
/48_gptm_tim3/tim2.cpp
52c23d2660030051d5c880c8dc5e3d92b2dc1ea6
[]
no_license
D-C-5-10/c-_embarqu-
750bdbf3b31e26dc1ee6c57f5750e22bb30a28f3
ecbf871dc5203305837c49eb39b84268d6f96a0a
refs/heads/main
2023-04-10T19:01:11.629225
2021-05-08T02:24:16
2021-05-08T02:24:16
359,261,967
0
0
null
null
null
null
UTF-8
C++
false
false
908
cpp
tim2.cpp
#include "tim2.h" #include "mcal_reg.h" #define TIM2 ((mcal::reg::TIM_TypeDef*)mcal::reg::tim2_base) /*Configure TIM2 for 1hz timeout*/ /*Sysclock 16Mhz = 16 000 000*/ void tim2_init_1hz(void){ //Enable clock to TIM2 mcal::reg::reg_access<std::uint32_t,std::uint32_t,mcal::reg::apb1enr,(1U<<0)>::reg_or...
3cbcd5db90954642230712304e392285b534b2a6
82e6375dedb79df18d5ccacd048083dae2bba383
/src/fltk/tests/main.cpp
2efd339192d3f85346e3809ee6b546d52815cf70
[]
no_license
ybouret/upsylon
0c97ac6451143323b17ed923276f3daa9a229e42
f640ae8eaf3dc3abd19b28976526fafc6a0338f4
refs/heads/master
2023-02-16T21:18:01.404133
2023-01-27T10:41:55
2023-01-27T10:41:55
138,697,127
0
0
null
null
null
null
UTF-8
C++
false
false
107
cpp
main.cpp
#include "y/utest/driver.hpp" Y_UTEST_INIT(4) { Y_UTEST(canvas); Y_UTEST(matte); } Y_UTEST_EXEC()
d1eb0aa1030453e32ae6c4797564677c06d617c8
024317f6e4c9127d91fddfc6c9fd719128e84f38
/src/HOMARDGUI/MonCreateIteration.cxx
92791bb69f1d55012022bd038e58ec513b230371
[]
no_license
FedoraScientific/salome-homard
1161338c24afe4e9f40c552650b5f5c4c3fed456
4c18ac2cb90eb25fe438f08b320e1aa3c9fd20af
refs/heads/master
2021-01-18T13:53:27.426777
2014-10-21T14:55:15
2014-10-21T14:55:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,720
cxx
MonCreateIteration.cxx
// Copyright (C) 2011-2014 CEA/DEN, EDF R&D // // This library 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.1 of the License, or (at your option) any later version. // // This ...
2b7111d41e7a7a6ff47320ffa10318929d069e96
11f440b2be103751f3f542dc6b858323afa748ec
/TitleScreen.h
d9dd3e3a02fd321e7b5467f608bc6368c28e4225
[]
no_license
Casmali/Casmali-Gravedigger-Game-
961a0736b5b38bd2db2239adcc94519e833c85d5
fc1e41e57b04d90de02103c50ceb80cdde538e26
refs/heads/master
2021-01-22T03:13:33.062909
2014-01-10T19:38:11
2014-01-10T19:38:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
416
h
TitleScreen.h
#pragma once #include "ScreenManager.h" #include "InputManager.h" #include <allegro5\allegro_font.h> #include <allegro5\allegro_ttf.h> //#include "MenuManager.h" class TitleScreen : public GameScreen { private: ALLEGRO_FONT *font; //MenuManager menu; public: TitleScreen(); ~TitleScreen(); void LoadContent(); ...
fd7e2ee0ce08fcbaa37f9b2f816d3e130b00b89f
d42f1817feba13c3ced704ec72a76605d4fe6bef
/include/GLSLProgram.h
4330d32f399fad29d64ee8799dbae354a78c61f2
[ "Apache-2.0" ]
permissive
hsdevilliers/Obake-Engine
bed62299c2ceaf0052e7a69fcdf19ccd21d7a5fe
f4e30bca53a97695c546d70da692636b2a477b02
refs/heads/master
2021-01-20T06:11:50.530356
2016-02-24T20:20:35
2016-02-24T20:20:35
51,999,102
1
1
null
2016-02-24T20:19:09
2016-02-18T10:20:51
HTML
UTF-8
C++
false
false
1,112
h
GLSLProgram.h
#ifndef GLSLPROGRAM_H #define GLSLPROGRAM_H #include <string> #include <GL/glew.h> /** \class GLSLProgram * \brief OpenGL Shader Language Program (GLSLProgram) * Class that handles the shader pipelining * Source: <a href="https://www.opengl.org/wiki/Shader_Compilation">Shader Object Compilation</a> */ class GLS...
142505fa978645c53e00226bf1c7dfd7ec124567
61b92188e7b5946f0095e8af4182548c9a8bb7f5
/ASCII_art/ASCIIConvertor.h
27edc1a477bbd7228f05027ca6b3983bd935f824
[]
no_license
xiangyubo/ASCII-art
731acdcfb628c06546607cc63ebb1dc3e5474d1a
61077b495027723f13fe78d5a6ba9a11f60d27da
refs/heads/master
2021-01-10T01:55:20.277826
2016-01-08T13:28:56
2016-01-08T13:28:56
44,610,225
1
0
null
null
null
null
UTF-8
C++
false
false
439
h
ASCIIConvertor.h
#pragma once #ifndef __LOADED_FREE_IMAGE__ #define __LOADED_FREE_IMAGE__ #include "FreeImage.h" #endif #include <string> class ASCIIConvertor { public: explicit ASCIIConvertor(); virtual ~ASCIIConvertor(); void loadImage(char *fileName); void convert(float stepX = 4.0f); private: std::string _fileName; std...
2148055fcf6df96e2b595d1613fb051cea81e023
64f64b8ed3f54a582dbab9fa7f627788b71ee2a4
/include/cRegKey.h
91c690a4ca4af4a31da49eebdee5f057510f5271
[ "MIT", "BSD-3-Clause" ]
permissive
MenaceSan/GrayCore
0aa6b1807aa3cfb86d22c0e5e0b077b829702a70
f94b2c719dcb3e663e6181b54d2ef6dc17a1948d
refs/heads/master
2023-01-12T03:18:59.020281
2023-01-03T23:24:58
2023-01-03T23:24:58
165,569,551
1
0
null
null
null
null
UTF-8
C++
false
false
8,947
h
cRegKey.h
// //! @file cRegKey.h //! Wrap a handle to a windows registry key. //! @copyright 1992 - 2020 Dennis Robinson (http://www.menasoft.com) // #ifndef _INC_cRegKey_H #define _INC_cRegKey_H #ifndef NO_PRAGMA_ONCE #pragma once #endif #include "cHandlePtr.h" #include "FileName.h" #include "HResult.h" #ifdef _WIN32 #ifndef...
8fbb2aae1a96e18cabfe3459de6d73f5e913e219
7c64360b6e32f8576344048db7b9938ea722dedd
/npy/NOpenMeshBoundary.hpp
83e6a2b34565464e407b211a5d072349aaaef0b4
[ "Apache-2.0" ]
permissive
recepkandemir/opticks
4be08a9243c3e0abe82eca77be70178e6384e555
523387f7593676bab58de22d22049e650de3f5c3
refs/heads/master
2023-01-24T16:55:04.131498
2020-12-04T20:25:09
2020-12-04T20:25:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,315
hpp
NOpenMeshBoundary.hpp
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
fa3ac8c5c2bf9211ce26d5a5ff162b19131cd068
dd02fd966fcbeb541e1a82407a6371ff4b723d5b
/ILEDControl.cpp
09ecb2a27b4bbd8874025c2792ac3f0fab82d140
[]
no_license
ivveee/ComCons
f9ed2df630b133aec6d4747eb66a4bce7c38c156
29661669e10a5c8c8a92fb55d371a0dcd8799ca0
refs/heads/master
2020-12-02T22:16:32.323268
2017-07-03T12:11:45
2017-07-03T12:11:45
96,105,878
0
0
null
null
null
null
UTF-8
C++
false
false
253
cpp
ILEDControl.cpp
/* * ILEDControl.cpp * * Created on: 10 Aug 2015 * Author: v */ #include "ILEDControl.h" /* ILEDControl::ILEDControl() { // TODO Auto-generated constructor stub } ILEDControl::~ILEDControl() { // TODO Auto-generated destructor stub }*/
08a1f8302b11aab3376c057ba1ca124870e6c717
afb4a472558ba0cb5c488a5e13be3cef9bf77485
/src/common/include/lexical_cast.hpp
20c98ca49f8e673a5b2027f3de48d4eeb2170589
[]
no_license
nbondarczuk/billgentool
a20fa4463873f53b61466080057a9f0abe127334
e493fb67106fba428f24d4ce135e4d4a4a8e3334
refs/heads/master
2023-05-26T19:13:35.400086
2021-06-09T16:46:12
2021-06-09T16:46:12
241,915,363
0
0
null
null
null
null
UTF-8
C++
false
false
502
hpp
lexical_cast.hpp
#ifndef _LEXICAL_CAST_H_ #define _LEXICAL_CAST_H_ #include <iomanip> #include <iostream> #include <sstream> #include <stdexcept> #include <string> // // the most general version // template <typename Target, typename Source> Target lexical_cast(Source const arg) { Target result; std::stringstream ss; if ...
b2caf0716e20a07edea6220e7dc684639a7ec308
77dddceb89798d0af6b15b3b44445d46539a2e87
/experiments/ROS-3-HC-SR04/ROS-3-HC-SR04.ino
c33911693efdd36318d561ef51bad23ef5d5ecf2
[ "MIT" ]
permissive
bobboteck/B4
56c5896de33103d5b3b5b5c73eff8898bd9fa2e0
8c2625b8a4fb65927d57eef9b8913c698734e4c3
refs/heads/master
2020-03-23T23:00:30.361552
2020-03-10T21:39:15
2020-03-10T21:39:15
142,211,419
2
0
null
null
null
null
UTF-8
C++
false
false
2,057
ino
ROS-3-HC-SR04.ino
//#include <U8g2lib.h> #include <NewPing.h> //#include <stdlib.h> //#ifdef U8X8_HAVE_HW_I2C //#include <Wire.h> //#endif #include <ros.h> #include <std_msgs/UInt8.h> #define SONAR_NUM 3 // Number of sensors. #define MAX_DISTANCE 200 // Maximum distance (in cm) to ping. NewPing sonar[SONAR_NUM] = { // Sensor ...
09c664fcaf7370f67da1f63e225bd1b1e9d0865d
73f16c221ce89a741c17c7db1434e98cdfc6f10a
/searching_and_sorting/sorting_characters_by_frequency.cpp
985aaaed92cc170529690b6f7c09f18f58576e85
[]
no_license
ivaibhavjindal/data-structures-and-algorithms
32ff52dd294d32eee273d3dc9dc51d0ccee626a4
b10c5be5738f8c2f4f289e3c85eb6b4ae37ae2a4
refs/heads/master
2023-08-31T11:20:16.419591
2021-10-09T06:07:20
2021-10-09T06:07:20
287,367,332
1
1
null
null
null
null
UTF-8
C++
false
false
779
cpp
sorting_characters_by_frequency.cpp
// https://leetcode.com/problems/sort-characters-by-frequency/ class Solution { public: // custom comparator (map by values - non increasing) static bool comp(pair<char, int> a, pair<char, int> b) { return a.second > b.second; } string frequencySort(string s) { // freq map ...
d00ed5b454a4d105fdde27ff98dcc8348e555dfe
78ef9b9ff961c9e24dee58ace2492cd8e764f760
/example/seqalign/pa/seqalign.cpp
383aee015bf490c78aa85806afb848821f176e91
[ "MIT" ]
permissive
brandonhamilton/MURACsim
4ddea3800ff157eafc586064dc81f8dacb3dbdf2
b435e95bc7952e3bf9b6b7ba66b1a4142647628d
refs/heads/master
2020-04-26T10:04:43.828356
2012-02-29T16:16:44
2012-02-29T16:16:44
3,283,412
3
0
null
null
null
null
UTF-8
C++
false
false
1,026
cpp
seqalign.cpp
/** * MURAC Test Application - Smith-Waterman Sequence Alignment * Author: Brandon Hamilton <brandon.hamilton@gmail.com> * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../aa/embed/seqalign.h" #include "../../../framework/murac.h" void printdata(const char *data) { for (int i = 0; ...
4e5f16f5b2efa347a56081aec16c2f14c3fd5be3
ce1a82fd17145ba84e56df6ab3c1c7462c9862e7
/s7.cpp
4707f71462adc92fd91514c2ca7e5c134aafa6b0
[ "BSD-3-Clause" ]
permissive
fedelodo/IOT2000-S7-OpcUa-Server
46dc15f87f3cd9d863788c09582877d33820cc7f
9af72d901b2ed83ac9137c28180f3b7252d21c6d
refs/heads/master
2022-12-25T18:50:24.947182
2022-12-10T10:48:58
2022-12-10T10:48:58
159,068,421
1
3
null
null
null
null
UTF-8
C++
false
false
14,370
cpp
s7.cpp
//****************************************************************************************************** // This library is comlement of snap7 library to do mapping of buffer and define types // // S7 Library allow to mapping the buffer into the different S7 data types // based on wrapper made for .Net and tested for C...
6f4d974ed86b3d812e265a9fac6e420c6e62620d
ef174be2e2f91bf336bfbc0b09899f2211e63561
/Spec/SpecContainerSpec.cpp
df924e8687d0265b861016ce9150d6e315692cc8
[ "MIT" ]
permissive
lukemetz/cedarCPP
b3ed99280abb942329affa9d9804417dee5f4240
175d8ee112efa148617f0840a078c2cdf082b1c6
refs/heads/master
2021-01-15T22:58:05.123521
2013-07-05T19:02:42
2013-07-05T19:02:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,746
cpp
SpecContainerSpec.cpp
#include "Cedar.h" #include "Matchers/CedarMatchers.h" using namespace cedar; using namespace cedar::matchers; //extern std::shared_ptr<Spec> rootSpec; SPEC_BEGIN(SpecContainerSpec) describe("construction", [] { describe("when there is no rootSpec", [&]{ it("sets the root spec to a new spec with no text"...
aeac688bd5e0ef96ae58aeb26c5a4181c016c184
2bba773e0e316d6c260358fef4f62ad3a82b0488
/CityMap/city.h
b4b92af1f998f19881df0084454f5487f6913ad7
[]
no_license
GeorgiMinchev1/CityMap
6197b59208a2a28a22e6de511fb9a01ddb2dc451
8dddd172268a5816cba17adfc02a408901d0ef6d
refs/heads/master
2020-12-23T01:32:53.258716
2020-01-29T13:33:32
2020-01-29T13:33:32
236,990,639
0
0
null
null
null
null
UTF-8
C++
false
false
3,592
h
city.h
#ifndef __CITYMAP_H #define __CITYMAP_H #include<vector> #include <string> #include "intersection.h" using Path = std::pair<std::vector<Intersection>, int>; //class City; class Location { std::vector<Intersection*>* allIntersections; std::vector<std::string> closed; Intersection* current; Intersection* findInte...
e4cddba931daa242ffcc5a00bad9269a32d8817f
120f730f9636a0bd87bd0a4d809dea1a7fa19434
/src/UDPConnector.h
87bb82079ddb4bf1786c86a6d13c3ab35787661e
[]
no_license
gazdik/end-to-end-network-tester
a0db77073d2a4783b57368bf55d6d2c22111eb7d
660f415e842761810e31cdfe604d75b22cfddc04
refs/heads/master
2020-12-24T18:55:50.408521
2015-06-18T21:26:56
2015-06-18T21:26:56
59,562,886
0
0
null
null
null
null
UTF-8
C++
false
false
959
h
UDPConnector.h
/*************************************************************************** * * * Jednoduchý tester end-to-end parametrů sítě * * * * Peter G...
063a75e29960621a8d9204563a7d24466eba3376
7c112951d0785e3fcc7191137ddc0d39c854759c
/MOG/MOG_FileHamsterIntegration.cpp
e76650c7fa54291f97e8b6c1c63294723a9d8f1a
[]
no_license
MOGwareSupport/MOG
1003f575eea09a13309ecbad698cdb71a16f2fb8
cd768ad570d99c7f2b959a082f8f4976ec628b4a
refs/heads/master
2020-09-07T17:21:01.373903
2019-11-14T03:40:29
2019-11-14T03:40:29
220,857,805
0
0
null
null
null
null
UTF-8
C++
false
false
2,326
cpp
MOG_FileHamsterIntegration.cpp
//-------------------------------------------------------------------------------- // MOG_FileHamsterIntegration.cpp // // //-------------------------------------------------------------------------------- #include "StdAfx.h" #include "MOG_DosUtils.h" #include "MOG_FileHamsterIntegration.h" bool MOG_FileHamster...
864484e629a3576af1b19a7c4ec1fc001facfeae
fdfd7c3a235acbc496caa5156db700660fd98e60
/timelapse/session.h
f80993e0abcbdf221f60e10081e6c536eeeb82df
[]
no_license
jschmidt42/timelapse
24a09b99bd69f10a1a6f690a1fd6e8c4d8e62f7e
b73548f3e9782655d870e852730b7898e3fde5e0
refs/heads/master
2020-03-18T07:45:31.073415
2018-07-10T00:01:26
2018-07-10T00:01:26
134,471,458
21
1
null
2018-07-10T00:01:27
2018-05-22T20:21:43
C++
UTF-8
C++
false
false
1,953
h
session.h
#pragma once #include "scm_proxy.h" namespace timelapse { namespace session { /// Setup the user session around the specified file path void setup(const char* file_path = nullptr); /// Periodically update the current session data (check scm requests, compile data, etc.) void update(); /// Cle...
28422a07da5bee2f171fe29b019958cb00a544f0
a2d63ccd34ded40c1323673dbc97eafafdba36f7
/src/Document.cpp
96348a9c8044d8cd9dbb03445ad4d9ae236079ca
[]
no_license
viniciusbandeira/Dauphine
47ea464b7b81cae59e4f865f089174a34b1bed19
a51f222cbb96bbfef3e2a91ed9d089944a2ded90
refs/heads/master
2021-08-22T19:40:51.261964
2017-11-18T06:14:07
2017-11-18T06:14:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,628
cpp
Document.cpp
/* Dauphine * Universidade de Brasília - FGA * Técnicas de Programação, 2/2017 * @Document.cpp * Subclass of Entity. * The objects of this class are entities, but have physics applied to them. * License: Copyright (C) 2014 Alke Games. */ #include "Document.h" #include "Logger.h" #include "Game.h" /* @param x_ ...
80beec32571469fa3d367febf9264b472e9f217e
473f795d6c13ef16ab0a47657957f2f9da53c13a
/tests/unit_tests.cpp
1ecd4bf88ab8f904ca8e91c4462efdd8a4862b4a
[]
no_license
zlinwei/limepp
2088040e597663336e267490a8c45090ab13010f
83a6996c711efbc83cbe7b2ea4d179d9f1887c4d
refs/heads/master
2020-04-01T01:29:33.118132
2018-11-15T09:54:33
2018-11-15T09:54:33
152,740,667
0
0
null
null
null
null
UTF-8
C++
false
false
510
cpp
unit_tests.cpp
/** @file basicTX.cpp @author Lime Microsystems (www.limemicro.com) @brief minimal TX example */ #include <iostream> #include <chrono> #include <math.h> #include <thread> #include <gtest/gtest.h> TEST(TestCPP, test_reinterpret_cast) { int a = 0x41414141;//4 bytes a int auto *b = reinterpret_cas...
84c207360fbdcbb841901bbc4482af3d6098c0d5
9abc64591173bb22af2f9d50116fbc4e143cf86b
/Yandex 3.4/D.Createmy_sort.cpp
1018321d7bd0a1c1cce20aecf64b046fe83f8071
[]
no_license
jailsonevora/yandex-cpp-for-competitive-programming
e8924e4f259b0e3be9f12be0c3b08b49e7752dc8
53e4727d0323eec4b27a57429b19671dc1139172
refs/heads/main
2023-05-12T07:34:00.985125
2021-06-04T17:37:26
2021-06-04T17:37:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
607
cpp
D.Createmy_sort.cpp
#include <iostream> #include <cmath> using namespace std; void my_sort (int n, int a[]){ for(int i = 0; i < n; ++i){ int midI = i; for(int j = i+1; j < n; ++j) if(a[j] > a[midI]) midI = j; int temp = a[i]; a[i] = a[midI]; a[midI] = temp; } ...
9ae517c2e10706b72880158f02b131660c620bbf
e47bce88367418560670fee6a350842e9f42bc83
/Pelicula.h
1f182a990753a9a8d8a05b3a7811dc7a3d9e5b1d
[]
no_license
AlexReusC/moviesLibrary
aefbb6a11ca1c903055888a67f94becc6b6a9cdd
c3a5606cd96fdfc353a50b5e3473f76d3ca288dc
refs/heads/master
2022-12-25T01:18:58.680345
2020-10-06T19:22:41
2020-10-06T19:22:41
301,829,884
0
0
null
null
null
null
UTF-8
C++
false
false
665
h
Pelicula.h
#ifndef PELICULA_H_INCLUDED #define PELICULA_H_INCLUDED #include <vector> #include <ostream> #include "Video.h" class Pelicula:public Video{ private: int anio; public: void mostrarAtribs(){ std::cout << nombre << " " << anio << " "<< genero << " "<< duracion << " mins " << getCalificacion() <...
f0a0c9067cc12e3f4095ffd0f3d05511b866d0bd
aa2cc776e356bcfb290d4ee865da8214e1ab060a
/include/game/AsteroidSupernova.h
65303785e5bb11cf29418a66ceff696a7dbd432d
[]
no_license
sebva/Starfighter4K
e3bd380273d1a32db2f9d9a995be9a6bec27a9ce
602130aa1ce6c402ff0268b0bfb11004a591e42c
refs/heads/master
2021-05-27T15:44:51.029506
2014-10-19T17:03:58
2014-10-19T17:03:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
395
h
AsteroidSupernova.h
#ifndef ASTEROIDSUPERNOVA_H #define ASTEROIDSUPERNOVA_H #include "include/config/Define.h" #include "include/game/Asteroid.h" class AsteroidSupernova : public Asteroid { public: AsteroidSupernova(qreal _dX, qreal _dY,Shooter _from, qreal _dResistance, qreal _dHealthPoint, GameEngine *_gameEngine,qreal _d...
bc0b723408b03ee4969968fc6971c2adca0dcace
5f9aa7846462f286ecff94d55fd26a736ac21238
/source/core/intersector/accelerator/kd-tree/tKdTreeNode.ipp
eb2c3b86333e10f57649c94ba88eab528689245d
[ "MIT" ]
permissive
xh5a5n6k6/cadise
bba37903facf98b7640571ec3f910a8ec0f070e1
797b116b96d7d3989b58454422501f6ace04c4b8
refs/heads/master
2023-06-01T08:17:39.848765
2021-02-04T13:17:06
2021-02-04T13:17:06
179,852,908
35
0
null
null
null
null
UTF-8
C++
false
false
1,749
ipp
tKdTreeNode.ipp
#pragma once #include "core/intersector/accelerator/kd-tree/tKdTreeNode.h" #include "fundamental/assertion.h" namespace cadise { template<typename T> inline constexpr T MASK = T(3); template<typename Index> TKdTreeNode<Index>::TKdTreeNode() : _objectIndex(0), _secondChildIndex(0) { } template<typename Ind...
fdce1261d6b6ce683c968f185e249791c1e65e54
5c8e2068d58e8982061e51bd0f7ee355b8fb2ff7
/Manager/particleManager.h
81559488dd699746c371ed64094be04800aae488
[]
no_license
GitAYYYer/2D-Asteroids-Game
5af60505533116feca11a21135c878ee18639db8
3eacb198c681c999a4079fc6e5569deba1186561
refs/heads/master
2023-06-01T18:32:29.456863
2021-06-16T11:40:23
2021-06-16T11:40:23
352,248,759
0
0
null
null
null
null
UTF-8
C++
false
false
665
h
particleManager.h
#ifndef PARTICLE_MANAGER_H #define PARTICLE_MANAGER_H #include "../GameObject/particle.h" #include "../global.h" #include "vector" class ParticleManager { private: std::vector<Particle*> shipParticles; std::vector<Particle*> exploParticles; Ship* ship; bool shipIsMoving; public:...
f80e5660f5e78bc203935c02bbdc4c773be2d90d
3e50ba512e0850a2caa564242f71cf586255ca4b
/vstgui/lib/controls/ccontrol.cpp
caf61d1c1aedc6039b1b9b491213d4f00d7f9bec
[ "BSD-3-Clause" ]
permissive
steinbergmedia/vstgui
c479d31b299fe69dbf37b51a5cfb645c3de90159
fb7060cd13215bdc4f441c37a754711c772922fd
refs/heads/develop
2023-09-03T00:11:43.085495
2023-08-16T14:38:51
2023-08-16T14:38:51
48,168,902
804
157
NOASSERTION
2023-08-16T16:12:53
2015-12-17T10:46:38
C++
UTF-8
C++
false
false
10,831
cpp
ccontrol.cpp
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "ccontrol.h" #include "icontrollistener.h" #include "../algorithm.h" #include "../events.h" #include "../cf...
b232f5ccf75836231f6adb5f7dd7803579460a72
d8c772acd5efa2f124f24c1de49294f0be798830
/Program/stacklinkedlist.cpp
4eef38b28d2512ed97289dddb67d56d090178468
[]
no_license
Adityashar/Program
4cad8c5fa0acd31d759bb1264774699256d9fcd4
9610b85165a861e260d3e0d2f6a7e871db7c90dc
refs/heads/master
2021-07-16T08:50:10.011124
2018-10-17T03:42:44
2018-10-17T03:42:44
135,829,550
0
1
null
null
null
null
UTF-8
C++
false
false
1,364
cpp
stacklinkedlist.cpp
#include<iostream> using namespace std; template <class anyclass> class Node { public: anyclass data; Node* next; Node (anyclass d):data(d),next(NULL){} //friend class stack; /// Use Private Data Members of NODE class }; template <class anyclass> class stack { Node<anyclass> *head; int cur...
bee13b30a7b74a58cd630b02b10797b93e10da3c
a76e06205d9bdd940984fb275abef9bdf564f2a0
/bookshelf.cpp
36aa5fb7ec08dd414b5a1a85c60ed73ee3b92570
[]
no_license
noushadahm/MYWORK
b9983c5be8a0039439abf9e69396e4a99bef9af3
c627d31e5eb90f7cf52f2cfe37567c51e80f0cc3
refs/heads/main
2023-06-04T05:15:33.185220
2021-06-21T06:05:13
2021-06-21T06:05:13
378,819,960
0
0
null
null
null
null
UTF-8
C++
false
false
597
cpp
bookshelf.cpp
#include<iostream> #include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int a1, a2; int n; cin>>n; int ar[n]; for(int i=0; i<n; i++){ cin>> ar[i]; } for(int j=0; j<n; j++){ if(ar[j]==1){ a1=j; j=n; } ...
f02d5bb9ce00acf5ab86e2990470a7dac5983e1b
64873acd2d7ef5e8866d44d34c2144bbc70dbca9
/tetris.cpp
1311f23c95daa1338264016f8855fdd37aaba8f2
[]
no_license
meisterbrake/OpenGL
d2ad678ab97a88489699176581d400a824c73c77
fbdf92bb1e59ecd102b40392844658707437310e
refs/heads/master
2020-05-19T02:43:15.709514
2019-07-15T17:34:00
2019-07-15T17:34:00
184,785,364
0
0
null
null
null
null
UTF-8
C++
false
false
7,982
cpp
tetris.cpp
#define GL_SILENCE_DEPRECATION #include <GLUT/GLUT.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <time.h> //#include <X11/Xlib.h> //#define RAND_MAX 5 //unsigned int sleep(unsigned int seconds); float x0=-1.0, y0=60.0; float x1=5.0,y1=60.0; float x2=1.0,y2=60.0; float x3=-1.0,y3=60.0; float x4...
134fba6962f632d9e8bbcab1320678bf8f3dbd0f
c225e46be47f6a26a6fb7948257314eae6f47349
/InterfaceSegregation/InterfaceSegregation/ChineseTeacher.h
39414e6700f70d45c0d3ccef71e814ed701ad495
[]
no_license
nanoFinder/DesignPattern
48168671c5ec5d497638e7b2de129e8b4ee43b05
3cb38461f7c1b772557d5b639bb03d2ac409f082
refs/heads/master
2020-05-18T16:44:06.970564
2019-07-07T09:54:46
2019-07-07T09:54:46
184,534,028
0
0
null
null
null
null
UTF-8
C++
false
false
307
h
ChineseTeacher.h
#pragma once #include "Person.h" #include "Teacher.h" class ChineseTeacher : public Person, public Teacher { public: ChineseTeacher(); ~ChineseTeacher(); virtual void teach(); virtual std::string getName(); virtual void setName(std::string name); private: std::string name; };
7c88a34891a30dcdf6defbb86e7cc3b88f5e99c7
5eb44c593e1528fe5b99b49033d931685a7034e3
/NFServer/NFGameLogicPlugin/NFCMailModule.h
53d56beaca659f9d2fae9673bd38aaf07aee149a
[ "Apache-2.0" ]
permissive
zh423328/NFServer
456135359fdc79ee028fac055a371e497c4e036a
2b94df566a2552366a81bd4c48d6552306b07fc3
refs/heads/master
2021-01-17T17:25:17.105508
2016-06-25T06:44:09
2016-06-25T06:44:09
61,927,159
2
1
null
2016-06-25T06:44:10
2016-06-25T04:37:53
C++
UTF-8
C++
false
false
1,311
h
NFCMailModule.h
// ------------------------------------------------------------------------- // @FileName : NFCMailModule.h // @Author : NickYang // @Date : 2012/12/15 // @Module : NFCMailModule // // ------------------------------------------------------------------------- ...
55a83bb44cc7acdb9f51482aabdc3b0e0ed3836c
232ddf033ec81074a9731044c2195cab6a21d456
/GA_star/GenerateCSR_undirected.cpp
ca8bff8ec1b751e9a87e8211661e5f049b403f5a
[]
no_license
lkoshale/DDP
b6054a60f10786cb82cf14882128cdaa1a7919c3
cfb6c94fea9a193e5cca1fbda041b8f4658ddab9
refs/heads/master
2021-07-22T13:11:51.629827
2020-05-26T17:32:38
2020-05-26T17:32:38
175,785,863
2
0
null
null
null
null
UTF-8
C++
false
false
4,172
cpp
GenerateCSR_undirected.cpp
#include <iostream> #include <vector> #include <string> #include <stdio.h> #include <unordered_map> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <stack> #include <set> #define CHECK_CYCLE 0 using namespace std; class Node{ public: unsigned int val; vector<unsigned int> weights; ve...
8b2208da077a6eb6ae70d0caaa6a1e6d5f0d1874
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/task_manager/providers/worker_task_provider.cc
4aa7940359fc370d32a413a99233a33cb373ddda
[ "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
3,469
cc
worker_task_provider.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 "chrome/browser/task_manager/providers/worker_task_provider.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/profiles/profile_manager.h" #inclu...
a241970d87ddcca94c874bd85b6c40456a905cc4
d78c01ab449131e971e942c0580b3deacde5039b
/CABNodeExplorer/ToolBarFind.cpp
6da52ce205453317b724d708ab94f3c8fe9bef68
[]
no_license
symanli/CABNodeExplorer
1bb169605bbb3755c15767c3575305cbdfd31826
8f9a910a61388a1b3cb4938691fccc695a117391
refs/heads/master
2023-03-17T01:45:55.351566
2018-10-10T13:00:45
2018-10-10T13:00:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,093
cpp
ToolBarFind.cpp
#include "stdafx.h" #include "resource.h" #include "ToolBarFind.h" #include "CabInst.h" #include "MainFrm.h" BOOL CToolBarFind::PreTranslateMessage(MSG* pMsg) { if (pMsg->message == WM_KEYDOWN) { int nVirtKey = (int)pMsg->wParam; if (nVirtKey == VK_RETURN && m_cb.IsChild(pMsg->hwnd)) { SendMessageW(WM_COMM...
84a0a4eb88e30debb02ac5cc5793611ee50e0e7f
18a0fed2935e0708123a85b05c8ae525c5e85a51
/trunk/GameSrc/Event/GravityChangeEventData.hpp
05f09d49ebe1d69f7d80faa7bca5911bcc146770
[ "MIT" ]
permissive
agiantwhale/moon.chase.star
ec2b487d02c83949899d10eeeec1ef9c9eaf2a71
9d2d9e290f4e6c4cb05b70bf29b3482c8e211d56
refs/heads/master
2016-09-06T03:52:35.289671
2013-12-24T03:37:17
2013-12-24T03:37:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
676
hpp
GravityChangeEventData.hpp
#ifndef GravityChangeEvent_h__ #define GravityChangeEvent_h__ #include "EventData.hpp" #include "../Physics/PhysicsManager.hpp" class GravityChangeEventData : public sb::EventData { public: GravityChangeEventData(sb::PhysicsManager::GravityDirection gravityDirection) : sb::EventData(Event_GravityChange), m_...
6d451e9e40511a1fdc1adf7860358097f7e17cba
08b7af2846315d1ed0ec3aee403d39cd0f0597a8
/solution--jazesq/main.cpp
32f15a2c9e848874c61e8a44f30c39e7593f4c45
[ "CC-BY-4.0", "MIT" ]
permissive
jazesq/assignment-04
9e2f1879bd87b4bcb08703ddf6d8cc73f931a785
e1175d0bb5fb74a63f9c49d3bbc2f50e47d46ba2
refs/heads/master
2021-01-24T09:51:21.349449
2016-03-27T04:51:27
2016-03-27T04:51:27
54,813,186
0
0
null
2016-03-27T04:50:52
2016-03-27T04:50:52
null
UTF-8
C++
false
false
710
cpp
main.cpp
#include <iostream> #include <vector> using std::cout; using std::cin; using std::endl; using std::vector; void print_vector(vector <int> nums, int n) { for (int i = 1; i <= n - 1; i++) { cout << nums[i] << " "; } cout << endl; } void selection_sort(vector <int> & nums) { int n = 0; for (int j = 1; j< n...
c579666bc87b9c8e3125ea9963f7aca1fd40f54e
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/inetsrv/msmq/src/admin/mqsnap/ruleact.cpp
d26a07b8650e67a910c6be8ad13823e87a817aad
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
20,291
cpp
ruleact.cpp
/*++ Copyright (c) 1998 Microsoft Corporation Module Name: ruleact.cpp Abstract: Implementation for the rule action definition Author: Uri Habusha (urih), 25-Jun-2000 --*/ ////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "mqsnap.h" #...
64360eef2cbdcffc2264f33e5ea9e4c0dc2df7b3
6e6ba05d9ec208725f955c3989f641bec0397dd4
/Advance_PAT/1044.cpp
2cbd03e0d93078c427556a50180a7b722459f045
[]
no_license
happysky77/PAT
ffbbd422dc722d82a93b6fb479a1341a892f8032
2bed945c8bed57b9931a79614466cd1a6e504206
refs/heads/master
2021-01-13T01:46:23.297993
2014-09-04T11:03:03
2014-09-04T11:03:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,319
cpp
1044.cpp
#include <iostream> #include <vector> #include <limits.h> using namespace std; int main(){ int n, m; scanf("%d %d", &n, &m); vector<int> nums(n, 0); for(int i = 0; i < n; ++i){ scanf("%d", &nums[i]); } bool isFind = false; int sum = 0; int start = 0; int mindiff = INT_MAX; vector<pair<int, int> > res; for(...
e1f0d64e459820d0b37524a5ce23f905ace5e9e4
8fdd33926201ee2e810de681fad1ce7361a6d517
/b.cpp
cc2a76324a32db90ed351f8d0b2eafd3a84b7bbd
[]
no_license
hjjddb/ACM-Training
d76885d9aafde0e419f156c2910d1825cf740918
2691e079eaf3ef23a5532594134cd8a2b6c0276c
refs/heads/master
2023-04-27T22:20:25.542577
2021-05-04T19:21:29
2021-05-04T19:21:29
311,216,889
0
0
null
null
null
null
UTF-8
C++
false
false
3,087
cpp
b.cpp
#include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define ar array #define vt vector #define all(v) (v).begin(), (v).end() #define pb push_back #define ll long long #define ld long double #define ii pair<int, int> #defin...
bad036c442287dfa4e98b16b3ff1166e9729c5cb
abdc0b3ad51235ffe10adda7a3e4dfac713b2ef1
/static/src/headers/font.h
10bc840080f75fe50f5fad74cae5dbd51f818157
[]
no_license
bridgecrew-perf7/snek_deploy
2ddb0cb2cab0381ef63a35f2830ff52d8ab95abc
ff3fa61dd6f80792818d337c409c55711be09863
refs/heads/main
2023-06-23T09:54:31.070807
2021-07-25T02:40:41
2021-07-25T02:40:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
489
h
font.h
#ifndef FONT_H #define FONT_H struct Character{ class Texture* texture; glm::ivec2 size; glm::ivec2 bearing; unsigned int advance; }; class Font{ public: Font(class Game* game); ~Font(); bool loadCharacters(const std::string& pathName, int pointSize); void unLoad()...
a06ec60ae7d23487e94e5b6453543628c8042c30
277ffbc7bad9c44468db7fa6c56e03751e315ae9
/player/src/main/cpp/JHAudio.h
9e80a3946304e5bb3a08c400924a63fe35b194a6
[]
no_license
zemoLee/ZemoMusicPlayer
06855d29f4863ace6ebaea4835d9a5569600de0f
f1ad81620ca9d8545d170a9b91784e5fd469f666
refs/heads/master
2020-07-17T22:32:27.359799
2019-09-03T15:42:10
2019-09-03T15:42:10
206,113,769
0
0
null
null
null
null
UTF-8
C++
false
false
858
h
JHAudio.h
// // Created by 李金洹 on 2019-08-25. // #ifndef MUSICPLAYER_JHAUDIO_H #define MUSICPLAYER_JHAUDIO_H extern "C"{ //#include "libavcodec/avcodec.h" #include <libavcodec/avcodec.h> }; #include "JHQueue.h" #include "JHPlayerStatus.h" /** * 自定义一个AUDIO类,包装一些东西 * 1.加一个当前这个流的索引 Index */ class LJH_Audio{ public: //...
b4f035b8dfb97d9a5926039feaffea3b6dfa14e3
65e3391b6afbef10ec9429ca4b43a26b5cf480af
/ITS/ITSrec/AliITSOnlineSPDHitEvent.h
86c136d5703ed0592080c6b136156a3658ff2226
[]
permissive
alisw/AliRoot
c0976f7105ae1e3d107dfe93578f819473b2b83f
d3f86386afbaac9f8b8658da6710eed2bdee977f
refs/heads/master
2023-08-03T11:15:54.211198
2023-07-28T12:39:57
2023-07-28T12:39:57
53,312,169
61
299
BSD-3-Clause
2023-07-28T13:19:50
2016-03-07T09:20:12
C++
UTF-8
C++
false
false
1,198
h
AliITSOnlineSPDHitEvent.h
#ifndef ALI_ITS_ONLINESPDHITEVENT_H #define ALI_ITS_ONLINESPDHITEVENT_H ///////////////////////////////////////////////////////////////// // Author: Henrik Tydesjo // // This class is used as a container online. // // One object for each half stave and step in a s...
75bb14bcd1c6376e6779692da4703bc21814e8a5
288adaaa131dc7572eb7f6bf58238fc3972cbd46
/Practice08/ex028/CGLFrameWork.h
9e0369b32dd1fc4e0db88d5252d97fc506480b1d
[]
no_license
hohyuk/OpenGLProject
1da88914e35215bab1362b9fd50a9d727b351885
4563b1cdd4bbc632b291741e0bf389c90510bb6a
refs/heads/master
2020-12-19T16:20:37.251636
2020-02-05T03:04:38
2020-02-05T03:04:38
235,787,239
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,100
h
CGLFrameWork.h
#pragma once class CSceneMgr; // Àü¹æ ¼±¾ð class CGLFrameWork { public: CGLFrameWork(); ~CGLFrameWork(); void init(int argc, char* argv[], int WinWidth, int WinHeight, int WinX_, int WinY_ , const char* WinCaption, int DisplayMode = GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); void update(int value); void draw(); ...
e50a11761552913b6074297ac6f2b2b442381636
7fe3e44cf771a7a811890a7d2ac78ed6708ddedf
/Engine/source/renderInstance/renderOcclusionMgr.cpp
7beb2fae7cc5646d64debb59e26eaa3f608515bc
[]
no_license
konradkiss/meshloop
988ee721fb6463fbfece183c70f678c047215dd5
25b98ce223d21e232593a6c4dc2d6d863aace02c
refs/heads/master
2021-03-19T13:36:21.104735
2015-05-21T13:00:55
2015-05-21T13:00:55
36,012,137
0
0
null
null
null
null
UTF-8
C++
false
false
6,121
cpp
renderOcclusionMgr.cpp
//----------------------------------------------------------------------------- // Torque Shader Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "renderOcclusionMgr.h" #include "console/consoleTypes.h" #include "sceneGraph/scen...
010cfdc1ca5040168a3ce3b056a29b13571d87fe
54767226ff842669c4c0726fb025431e584325c9
/test/unit_test.cpp
e45af38dbe1774cd7337ce36fdb2cbd942ddee2b
[ "MIT" ]
permissive
mmpatil/NCD
89d39159025b44f082a22d1a03c1073ed43f52cb
3e0eea39aaa209e470c036e324509697d80aebc9
refs/heads/master
2020-07-16T14:27:01.750877
2019-09-29T23:44:29
2019-09-29T23:44:29
205,805,508
0
0
MIT
2019-09-02T07:56:45
2019-09-02T07:56:45
null
UTF-8
C++
false
false
4,800
cpp
unit_test.cpp
/** * @author: Paul Kirth * @file: ncd.c */ #include <gtest/gtest.h> #include "unit_test.hpp" TEST(get_time_test, get_time_correct) { struct timeval tv; double d, r; d = get_time(); gettimeofday(&tv, NULL); r = tv.tv_sec; r += tv.tv_usec / 1000000; EXPECT_FLOAT_EQ(d, r); } TEST(init_de...
ee69b204511b9e9967a13563a18d32e73993ec2f
d2c0f8b75a0d82d4f456cb2b7cfba43822e65868
/IRE/indexing.cpp
83163cd0e7201ab4e6f437838f2feed6b6f226e9
[]
no_license
abhigyanghosh30/7th-Semester
c09af84a3181a1d5b8195b45718c19a7e7c7012f
084391eaeb3a40c377a3625716e3e8f7548babb1
refs/heads/master
2023-02-03T01:29:13.880451
2020-12-24T09:44:27
2020-12-24T09:44:27
288,523,838
0
0
null
null
null
null
UTF-8
C++
false
false
287
cpp
indexing.cpp
#include <bits/stdc++.h> #include "pugixml.hpp" int main(int argc, char const *argv[]) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file("enwiki-20200801-pages-articles-multistream1.xml"); std::cout << result.description() << std::endl; return 0; }
7c955b3754989fbd49a9fe2393553eb180430da0
6f749a7d3e25412ac68f0769dacf70e0c2cb3024
/engine/skinnedblock.cpp
dc6fb560b609d1ccf327575cebe1850816106a00
[]
no_license
zhuzhonghua/pixeldungeon_cpp
58d15c66a4df82512393c4bde57521491eda0b9a
7c1982344709580d8cd202dd1f5d6988ac2d84e4
refs/heads/master
2020-03-28T03:22:29.348602
2018-10-24T07:02:19
2018-10-24T07:02:19
147,640,062
15
0
null
null
null
null
UTF-8
C++
false
false
1,463
cpp
skinnedblock.cpp
#include "skinnedblock.h" SkinnedBlock::SkinnedBlock(float width, float height, const std::string& tx) :autoAdjust(false) { init(width, height, tx); } void SkinnedBlock::init(float width, float height, const std::string& tx) { texture(tx); tex->wrap(Texture::REPEAT, Texture::REPEAT); size(width, heigh...
057a7bb97eed4515732a31c43357a3905dded132
44e0614acf303ae9b4284b40b3bd1224b3824939
/APP/Main.cpp
a2cb17fa9ef3582ba08f6b1d0b9decd1ee76fdac
[]
no_license
zdevt/CtrlBox
f76e8d2d84f68a54c632146365e95093e1c7eefe
737b748759a32cf268be5d88fc4d487f1f30122b
refs/heads/master
2023-03-28T21:02:49.145365
2021-03-31T23:32:22
2021-03-31T23:32:22
353,516,798
1
0
null
null
null
null
UTF-8
C++
false
false
2,069
cpp
Main.cpp
/* * ===================================================================================== * * Filename: Main.cpp * * Description: * * Version: 1.0 * Created: 12/23/2014 04:11:51 AM EST * Revision: none * Compiler: gcc * * Author: zt (), * Company: *...
ddd8ea7ffc9c76045956e6f3df3abab2aad34c59
445f135c3c7dd172e1dd0db523a53bc8da8c655a
/PointCloudApplication/src/AddConsoleDialog.cpp
235dbcf9a86d56490a0632a67642ed18e84d8de4
[]
no_license
MoreDrinkHotWater/Demo
99ba3705b36630feba8a334e49f8de0c75c84110
786c13fdcab04cd3a85aa15adc879e80ded52f49
refs/heads/master
2020-06-30T21:11:37.228722
2019-08-07T02:30:31
2019-08-07T02:30:31
200,952,903
0
0
null
null
null
null
UTF-8
C++
false
false
869
cpp
AddConsoleDialog.cpp
// // Created by zhihui on 7/15/19. // //#include <include/AddConsoleDialog.h> //#include <QDockWidget> // //AddConsoleDialog::AddConsoleDialog(QWidget *parent):QWidget(parent) //{ // createDockWindows(); //} // //void AddConsoleDialog::createDockWindows() //{ // QDockWidget *dock = new QDockWidget(tr("Console"),...
05dea7d673ac8fe2166e48f396f1d5cb5ba76eb2
71dd9a23720e45e76cc512f6b9c5d304d21771f9
/pardisoMatrix.cpp
97083f0294268458dabda9eeedbea1219c21edcf
[]
no_license
bertholet/Diffgeo-Project
e3e8d2ec098da892f3ef9c3514617088ed313c17
f5e172bea7b15a293aaf98623358e48db96e970b
refs/heads/master
2016-09-03T06:48:02.765648
2011-10-25T11:53:26
2011-10-25T11:53:26
1,582,243
0
0
null
null
null
null
UTF-8
C++
false
false
128
cpp
pardisoMatrix.cpp
#include "StdAfx.h" #include "pardisoMatrix.h" pardisoMatrix::pardisoMatrix(void) { } pardisoMatrix::~pardisoMatrix(void) { }
6fa431176564170e3a238ff434371996b0ce7f89
256c5100914832915192fb1958444389eff4a85f
/pqdb/NSnPQSimpleKey.h
86e135ec891bc30566504ddc2f033dbeaccc45be
[]
no_license
jetatar/snowShovel
ea9a45ddcb182ca6776752e08df9799ac6cd7439
69678a46cd8c20a57e4b8d8a8cc19b8900173775
refs/heads/master
2020-05-30T19:42:33.193932
2014-08-18T06:37:56
2014-08-18T06:37:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
687
h
NSnPQSimpleKey.h
#ifndef SNS_NSnPQSimpleKey #define SNS_NSnPQSimpleKey ////////////////////////////////////////////////////////////////////////// // namespace NSnPQSimpleKey // // Define some useful constants that can be included in other files. // // Normally, this would be part of the TSnPQSimpleKey, but TSnPQSimpleKey.h // include...
d621482b0b9750a705f4ed81a543b7e05ea20494
95ae94e43068a7d0f768b025cfd7bad31796ca41
/Core/Src/Math/Vector3.cpp
15f05b13f4b92f95853f5721101b23c54853b939
[]
no_license
zxy888pro/Sapphire
3f9661edef006af7669741410f8a141b17c833ba
879e0c4fa02a856edc6937c41eae8fa52af318b4
refs/heads/master
2020-03-23T19:52:14.608133
2019-08-25T02:15:39
2019-08-25T02:15:39
142,007,038
0
0
null
null
null
null
UTF-8
C++
false
false
577
cpp
Vector3.cpp
#include <Math/Vector3.h> namespace Sapphire { String Vector3::ToString() const { char tempBuffer[STRING_BUFFERSIZE]; sprintf(tempBuffer, "%g %g %g", x_, y_, z_); return String(tempBuffer); } const Vector3 Vector3::ZERO; const Vector3 Vector3::LEFT(-1.0f, 0.0f, 0.0f); const Vector3 Vector3::RIGHT(1.0f, ...
8e9f35fb77466e00fc1463b6a06d970a02add6b4
1b047e2d59599c7ef7c535a669e4cb3d1d5c170b
/Chap_5___Strategies_decoration_and_statistics/Wrapper_move_semantics/wrapper_move.h
c75db6737d067066e3dcdfb6c12e043b72d0b227
[]
no_license
seanahmad/Joshi_Cpp_all-the-examples-and-code
9c0cd69475bdfd171740b9db4189f86371dfcf9b
8a6715495f3451a54dbaaf2724e38bf11f359492
refs/heads/master
2023-03-15T12:36:31.268049
2021-01-10T12:08:45
2021-01-10T12:08:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,235
h
wrapper_move.h
#ifndef WRAPPER_MOVE_H #define WRAPPER_MOVE_H // This version of Wrapper class implements both: // - copy semantics: deep-copy constructor and overloaded assignement operator; // - move semantics: move constructor and overloaded assignement operator; #include <iostream> // Wrapper templatized class managing memory f...
afd5501c106a791195509e3cf6ba6531280cc560
03ea882f1f247db8a73f99d4c8ef0ac41cfcffda
/src/CwmFunctionDef.h
7dfedfd89e718e166192d8e8b7f39f2bb4a994bd
[ "MIT" ]
permissive
colinw7/Cwm
b44a02ef3cdc4884c19b84732f4a54fbde1d7fef
dc68c207b5b15f24d81fce0e3c04e9c0c580212a
refs/heads/master
2023-01-24T12:20:05.703709
2023-01-16T14:45:34
2023-01-16T14:45:34
10,445,270
0
0
null
null
null
null
UTF-8
C++
false
false
661
h
CwmFunctionDef.h
#ifndef CWM_FUNCTION_DEF_H #define CWM_FUNCTION_DEF_H class CwmScreen; class CwmFunctionDef { public: CwmFunctionDef(const std::string &name); ~CwmFunctionDef(); void process(); void processWindow(CwmWMWindow *window, CwmData data); void processRoot(CwmScreen &screen, CwmData data); void setData(CwmDat...
e165b8efd5bc6c62f60863235f272789144fff0f
72c6c622d6ab4f3ac10c81019cc6be743e5b74da
/src/alasthope/alasthope/engine/app.h
851b4f3366b75258503e978c5e843eb6340fc36c
[ "MIT" ]
permissive
jbuechner/alasthope
5438653fc4b50449f7187cf90946e99e9301a3d7
63a249ea49db0d8ad8462840ee9c1c57a2ea4097
refs/heads/master
2020-03-26T01:52:43.402798
2018-08-12T08:58:49
2018-08-12T08:58:49
144,359,958
0
0
null
null
null
null
UTF-8
C++
false
false
261
h
app.h
#pragma once #include <memory> namespace engine { class app { public: inline void run_and_wait() { run_and_wait_internal(); } protected: virtual ~app() {}; virtual void run_and_wait_internal() = 0; }; std::shared_ptr<app> create_app(); }
98cdca09650458309344a68c3dfe24f96aa61654
44cb19b68161a60dba72d4f57498df9bc8ab119b
/SplayTree/SplayTree.cpp
25814730fc4480f03fd378ea3a0ddb6d4cf62cbf
[]
no_license
pminev/Data-Structures-and-Algorithms
070c619e68d53c747a9556c497657462d01a25c6
7ad1f3fde49664fedab0023366d0a71618555454
refs/heads/master
2021-09-25T09:27:50.953168
2018-10-20T14:53:31
2018-10-20T14:53:31
114,006,840
1
0
null
null
null
null
UTF-8
C++
false
false
4,913
cpp
SplayTree.cpp
#include "SplayTree.h" SplayTree::SplayTree() :pRoot(nullptr) { } SplayTree::SplayTree(const SplayTree& other) { copyFrom(other); } SplayTree& SplayTree::operator=(const SplayTree& other) { if (this != &other) { clear(pRoot); copyFrom(other); } return *this; } SplayTree::~SplayTree() { clear(pRoot); } voi...
24d461b1f121ec5b819a6e15ee5175752505e4c4
9b8c0df30d20a6e08d42f659d040f25fbb46a38b
/main.cpp
aa1e3df6c5a49006a466ede1a0ded175693ff16e
[]
no_license
anandmitta/RGB-to-Grayscale
609192860c1c062256e290cddb2e71591fe3d2ec
ee992de6d8cf9534af059d5d69927ff309eb354f
refs/heads/master
2021-01-25T22:49:21.816951
2020-02-26T09:07:47
2020-02-26T09:07:47
243,214,185
0
0
null
null
null
null
UTF-8
C++
false
false
1,090
cpp
main.cpp
#include <iostream> #include <stdio.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/core/core.hpp> using namespace std; using namespace cv; int main() { Mat image; image =imread("<image path>"); int rows=image.rows; int cols=image.cols; uint8_t myArray[rows][c...
5fa1e5206e0b401190a8986f86b32ad2a4dbb269
c11b8b2a2af230ac312c63ef15ca6a820af4171c
/Source/DyingIsGood/Private/Actors/Tower.cpp
5b4e3a19dbee9343a59f096e06f5a23284bac82d
[]
no_license
substence/DyingIsGood
d519f84337209fa5ff379e527df3175c7b28017b
e47efebb8fc31da4f71acf41a3980d5ef60473bf
refs/heads/master
2021-01-22T05:16:24.197673
2017-03-27T08:40:10
2017-03-27T08:40:10
81,643,916
0
0
null
null
null
null
UTF-8
C++
false
false
683
cpp
Tower.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "DyingIsGood.h" #include "Tower.h" // Sets default values ATower::ATower() { // Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true...
bbf087726f328038b8d0b9641d72bb7419dd1e4a
7db49ace08c7cdc422e09ed483385d8a1fe2e820
/UNO_discomfortIndex/uno_discomfortIndex.ino
de2754d97aea801338884b4dc9d59942f5c46fb4
[]
no_license
Eunhee-JJ/Arduino-jjakjjak-i
a13d8254a686d3572582dcebd5b7e27297b68252
1ff3c85a0d0efe50236e9737f0ff57a81b8bfd18
refs/heads/main
2023-02-08T07:56:28.440601
2020-12-20T07:51:26
2020-12-20T07:51:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,969
ino
uno_discomfortIndex.ino
#include <SoftwareSerial.h> #include <Adafruit_GFX.h> // Core graphics library #include <Adafruit_TFTLCD.h> // Hardware-specific library #include <avr/pgmspace.h> #include <SPI.h> #include <SD.h> //#include "photo.h" SoftwareSerial MS(A5,14); #define LCD_CS A3 // Chip Select goes to Analog 3 #define LCD_CD A2 // C...
37a4fef82c91d367e9e31c190ba8fd8248d1f6f8
d6a99890866cf1ec2347b4245af3f9b1a97da599
/ksbengine(pc)/renderer2d.cpp
1b2b74bb88a1a275b04dcc9313defa176022f87c
[]
no_license
karansb/ksbengine-pc-
739f0c8f1d7c422ea7f9616191f5316e4c51cead
099e14c104e7fa7655d1669364a700c4f82f0178
refs/heads/master
2020-05-21T16:24:02.981906
2016-09-15T18:36:58
2016-09-15T18:36:58
65,726,232
0
0
null
null
null
null
UTF-8
C++
false
false
4,518
cpp
renderer2d.cpp
#include "renderer2d.h" namespace ksbengine{namespace coreengine{ renderer2d::renderer2d(){ createallbuffers(); } void renderer2d::createallbuffers(){ glGenBuffers(1, &vertexarraybuffer); glBindBuffer(GL_ARRAY_BUFFER, vertexarraybuffer); glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * 3 * 4 * max_sprite,NULL...
33ddafd4fc09b0ae19ba7795e85e332e2138b899
12a42054b156383ebbe3ccc5de4150633c66da5d
/problems/number-of-boomerangs/solution.cpp
2990faafea8f670e87cdacf094c22846a0f5ca54
[]
no_license
cfoust/leetcode-problems
93c33029f74f32c64caf8294292226d199d6e272
f5ad7866906d0a2cf2250e5972ce910bf35ce526
refs/heads/master
2020-03-16T23:05:45.123781
2018-05-11T16:41:09
2018-05-11T16:41:09
133,064,772
1
1
null
null
null
null
UTF-8
C++
false
false
108
cpp
solution.cpp
class Solution { public: int numberOfBoomerangs(vector<pair<int, int>>& points) { } };
ddc676da8f29f6f7f4e1716895c06ff2e492cc98
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5669245564223488_0/C++/Dark/cc.cpp
b8975efc80ab0ca346ff0531eb28f5cdf0cd6151
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
2,400
cpp
cc.cpp
#include <cstdio> #include <cstdlib> #include <cstring> #include <string> #include <iostream> #include <map> using namespace std; string str[105]; int trans[27][27]; int in[27]; int out[27]; int self[27]; int valid(string s, map<char,int> cnt){ int e = s[s.size() - 1] - 'a'; int f = s[0] - 'a'; map<char,in...
c4fa63e0578990207205a2870adc06bb3a532573
ce64de7598ec331d2c47e4681ecc5d940dcf6d0f
/configuraacionred.cpp
a94ed186dc38ddaa3a0e684f27be04ac09f1a9e4
[]
no_license
RaulHuertas/Visor-Osciloscopio-Remoto
17a29dbf0ed8e15f2669b88be9cc6614f59ccb56
7bbfbfee6748cd0a3126a336d49dd63a6aba92ed
refs/heads/master
2021-01-11T20:42:31.589181
2017-01-22T20:55:25
2017-01-22T20:55:25
79,169,922
0
0
null
null
null
null
UTF-8
C++
false
false
266
cpp
configuraacionred.cpp
#include "configuraacionred.hpp" #include "ui_configuraacionred.h" ConfiguraacionRed::ConfiguraacionRed(QWidget *parent) : QDialog(parent), ui(new Ui::ConfiguraacionRed) { ui->setupUi(this); } ConfiguraacionRed::~ConfiguraacionRed() { delete ui; }
8610fb55a0db310af9959941d8956d3dfcdf4d31
bed05496e526a2716d6aa2ca7904c1b89c9058f3
/SPOJ/aibohphobia.cpp
12584638e145f96238d85a582b3350d788dee0e5
[]
no_license
dushyant7917/Competitive-Programming
2e5b6141e87f42bb5dbb61db3b6bcb383c559c16
d25bbb12235bdaf42435342e4865b5b0b6b37a31
refs/heads/master
2020-06-28T12:05:58.959849
2019-08-02T12:24:15
2019-08-02T12:24:15
200,230,019
0
0
null
null
null
null
UTF-8
C++
false
false
906
cpp
aibohphobia.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double dbl; #define fr(x,a,b) for(ll x=a;x<b;x++) #define PB push_back #define MP make_pair #define mod 1000000007 #define gmax LLONG_MAX #define gmin LLONG_MIN #define INF 2e9 #define N 100001 #define MAX(a,b,c) max(max(a,b),c) #define MIN(a,...
a85760d730502b184b8312aae56b8960ac9bc98b
f88f50a7d9de83e88b4c3e4244ae1de6a7473064
/Source/audio/format.hpp
82ac7ca0e7b767afeb1aeb5f19e3a102c2c231e2
[]
no_license
electron0622/WaveletAnalyzer
f20a7cb35fa37f5e3b84eb3f097689faa67c8954
0d3a66cb99bb6c423899357b48747b3142decbaa
refs/heads/master
2020-06-02T23:36:53.834529
2013-02-14T07:06:43
2013-02-14T07:06:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,310
hpp
format.hpp
//============================================================================ // // audio/format.hpp // // Copyright (C) 2012 Sato Takaaki. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Found...
21bfc2421f2380021eaa633321645b1d7d923d64
bb5a59360f92ae016595f2d55e0125223e2ed947
/src/UI.cpp
16e332b9266db582bba22e4fd62ce4a189038ea4
[ "MIT" ]
permissive
rokirovochka/sbisolet
cc57d77955d71fe647d2f456b0a0e99e4f24bc62
b9acabe48e3d5cf72e19cc0565f8164331a888c7
refs/heads/master
2020-05-15T23:34:12.553438
2019-04-21T11:04:09
2019-04-21T11:04:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,085
cpp
UI.cpp
#include "precomp.h" #include "UI.h" #include "Scene.h" #include <stdio.h> UI::UI(RenderWindow &window) : rect(0, 0, window.getSize().x * 1000 / window.getSize().y, 1000) { if(!texture.loadFromFile("effects.png")){ throw std::runtime_error("Failed to load effects.png"); } hp_spr.setTexture(textur...