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
b8fa714dcd41dbba5ddf735637491ac9617a2889
f9a521941997b5d3cd058e834821f2367838dfb1
/Arrays_and_LinkedLists/Q2_Array.cpp
04d80718539f45fb66e6e3c0ba915f6488aac1fe
[]
no_license
hmd0404-nitk-eee/algorithms_and_problems
4835923c5138b588fbb574d19aadb91d7c385338
14de5e6ea0c3324469bdff606570c089897f01e1
refs/heads/master
2022-12-20T18:28:05.309838
2020-09-28T03:52:20
2020-09-28T03:52:20
291,418,596
0
0
null
null
null
null
UTF-8
C++
false
false
1,981
cpp
Q2_Array.cpp
/* CS202 Assignment Name: Harshal Dhake 191EE212 This program stores a lower triangular matrix efficiently (space wise). The formula to map 2D indexing to 1D index .i.e. Matrix to Array is, 2D index (i,j) = (sigma(n){n from 1 to n-1} + j) in 1D indexing */ #include <iostream> using namespace std; #de...
bd3e28c1bf84d00697f53009ed979f8f5b6df190
c05e553d9fb38cb28dabfeb594b6f2c7b0defd85
/CSI2372-master/Hand.h
da1db0f9439f3b3a0755c534ac6314106b447c3b
[]
no_license
matteo391/CSI2372
25d79128547e586352e95f82d0bd3a4cab12dab0
3f6d02be611841578f483af28d22827296742fea
refs/heads/master
2023-01-25T03:49:58.588025
2020-12-08T03:01:10
2020-12-08T03:01:10
318,626,750
0
0
null
2020-12-07T22:45:32
2020-12-04T20:22:04
C++
UTF-8
C++
false
false
252
h
Hand.h
#include <iostream> #include <list> #include "Card.h" class Hand { list<Card*> hand; public: Hand(istream&, const CardFactory*); Hand& operator+=(Card*); Card* play(); Card* top(); Card* operator[](int); //todo insertion operator };
d8887cf9df74c81d877bc87a7a64b52986fe5120
91f913acfd0d085ce71aceca3e55dcd7953e319a
/MDP_GRP11/MDP_GRP11.ino
61cd9c3e28b9a2b3addf873784db1c34f068a0dc
[]
no_license
nghaninn/MDP
3a8d27acf5f074c85a625960e97c945e2059fa54
a947ce0a1808ef172b60ea61fbbedf8fb1449487
refs/heads/master
2022-10-15T16:16:46.726079
2018-10-17T15:44:59
2018-10-17T15:44:59
149,653,378
0
0
null
null
null
null
UTF-8
C++
false
false
6,442
ino
MDP_GRP11.ino
#include <EnableInterrupt.h> #include "Calib.h" #include "Global.h" String commands = ""; String pre_command = ""; bool isFastestPath = false; Movement *move; Calib *cal; Motor *motor; Sensor *s; void setup() { Serial.begin(115200); enableInterrupt(Motor::M1A, motor1, RISING); enableInterrupt(Motor::M2A, moto...
e517c7b33cefa3a972625c0365e2268d74a44808
784ab6712362e46dbcccb6c75e64c7b01f0844cc
/src/gamecode/mkbkgd.inc
b86c729de3355bda072e67b6cbb6b060cadea857
[]
no_license
Zoltan45/mktrilogy
6e574e23c3be9192832e3e5fb16d78b398130cf3
77bc46385b303168ed51f2597ff420d36c6d236b
refs/heads/main
2023-06-04T22:26:29.635963
2021-06-28T01:01:11
2021-06-28T01:01:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,848
inc
mkbkgd.inc
/* set if background is active/loadavle (0=no, 1=yes) */ ACT_BG_SUB_STREET = 1 ACT_BG_ROOF = 1 ACT_BG_BANK = 1 ACT_BG_TOWER = 1 ACT_BG_SOUL = 1 ACT_BG_BELL = 1 ACT_BG_GRAVE = 1 ACT_BG_BRIDGE = 1 ACT_BG_TEMPLE = 1 ACT_BG_THRONE = 1 ACT_BG_LADDER = 1 ACT_BG_BIO = 1 ACT_BG_COIN = 1 ACT_BG_VS = 1 ACT_BG_BUYIN =...
e03cd1a1e6cca226d26c63916ac856e9fa10c992
628734bd2841ca93808d2252c1e1952fbcb109be
/traverse_blend_vr/cpp/octomutils/src/mapUpdate.cpp
2f1faa7d003ae34aa87aed9dad78db803451665e
[]
no_license
BlenderCN-Org/H-MRI_Search_and_Rescue
303579cb0dd2c4a3b532723eaee49313a0fe2e42
db1ee048fd8bd7d19f8be2d092cd650be0c3df1c
refs/heads/master
2020-05-22T18:25:30.349917
2017-03-01T17:26:34
2017-03-01T17:26:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,736
cpp
mapUpdate.cpp
#include <fstream> #include <stdio.h> /* printf */ #include <string.h> /* strcat */ #include <stdlib.h> /* strtol */ #include <iostream> #include <bitset> #include <sys/time.h> #include <vector> #include <math.h> #include <time.h> #include<ctime> #include <sstream> #include <sys/types.h> #include <dirent....
a6d136f2ad1cc871eea698f4bab4ed0c63bde674
3b85b8142ea0ed022d40a135fd174ffcef295a2f
/DlgGame.h
60a7c0ecff66fcffca9a518b9c5395971daa08d7
[ "MIT" ]
permissive
ximenpo/easy-wgloader
56e9f7e4f9674874c6003759af16d86cfe057f8f
48991a2d9d57e7fa08fef0f6d0c8ba3241241d3b
refs/heads/master
2020-05-22T06:36:31.422128
2017-05-18T09:19:39
2017-05-18T09:19:39
61,518,522
2
0
null
null
null
null
UTF-8
C++
false
false
1,907
h
DlgGame.h
#pragma once #include "atlwin.h" #include "easy-wgloader.h" class GameDialog : public CAxDialogImpl<GameDialog, CAxWindow>, public IDispEventImpl<IDC_WEB,GameDialog>, public IDispEventImpl<IDC_WEB_DUMMY,GameDialog> { public: GameDialog(void); ~GameDialog(void); protected: typedef GameDialog ...
e179c90da5294bb386b0b8de8f9fab39ab2eca3c
346c17a1b3feba55e3c8a0513ae97a4282399c05
/src/uti_phgrm/NewOri/cNewO_Hom1Im.cpp
e70b4f95f4499b968e9b00f67c1bd7404c240748
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
micmacIGN/micmac
af4ab545c3e1d9c04b4c83ac7e926a3ff7707df6
6e5721ddc65cb9b480e53b5914e2e2391d5ae722
refs/heads/master
2023-09-01T15:06:30.805394
2023-07-25T09:18:43
2023-08-30T11:35:30
74,707,998
603
156
NOASSERTION
2023-06-19T12:53:13
2016-11-24T22:09:54
C++
ISO-8859-1
C++
false
false
35,080
cpp
cNewO_Hom1Im.cpp
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maillet, ...
122c6477059ff6597b3e28be9a67b00a3c2f34e0
4540b627dfeda33422e49e89b44ce9589f7c3e0a
/generators/FlameEffect.cpp
2793e4d3d0cede765a2347fbe80f333be6086ad2
[]
no_license
romanchom/libLunaEsp32
f88bba2f6c8b8c0f9cc06e51f6f4f1e655489aca
42c4922e5676407af7ba0dc77b50f2c278d02183
refs/heads/master
2022-02-24T09:36:10.711744
2022-01-30T12:42:01
2022-01-30T12:42:01
153,509,549
0
0
null
null
null
null
UTF-8
C++
false
false
651
cpp
FlameEffect.cpp
#include "FlameEffect.hpp" namespace luna { FlameEffect::FlameEffect() : mTemperatureLow(1500.0f), mTemperatureHigh(3000.0f), mFrequency(1.0f) {} std::unique_ptr<Generator> FlameEffect::generator(Time const & t) { return std::make_unique<FlameGenerator>(t.to...
c64d6f9bee0ef1c2aa6726beaa4cd36aff3f20d6
3d46c17d32854e48f7eda1a84bb575c421b0e63a
/src/raytracer/octree/node.cpp
2e380d3de3292311d831ff69e51f838b3555c3bc
[]
no_license
andreasots/raytracer
021216179da7b3ee3205c43bef106b31ea2ba3c6
33bfb06f1027c98ee54b9b903a12e61009c91136
refs/heads/master
2016-09-05T14:55:38.045820
2012-08-01T11:59:08
2012-08-01T11:59:08
1,744,616
0
0
null
null
null
null
UTF-8
C++
false
false
3,766
cpp
node.cpp
#include "raytracer/octree/node.h" #include "raytracer/allocator.h" #include <SIMD/AABox.h> #include <iostream> namespace Raytracer { namespace Octree { Node::Node() { for(int i = 0; i < 8; i++) subnodes[i] = NULL; } Node::~Node() { for(int i = 0; i < 8; i++) deallocate<Node, 16...
76ed4af2e4f2c338ea6145f35cd18bb554920564
928d35c68db207748e5c05aa65e3cb1a90100aeb
/Leetcode/matrixBitMan/gfgAndPratice/matrixOperations.cpp
f589daee54b6a1b7df29bbba4b0f71a53c68d3d1
[]
no_license
satvik-tha-god/Algorithms
580768970ef5c9dbebfaa82f4e2286843c349aba
9d7386dec1c05aeab95e992068faf0ddfc522fb1
refs/heads/master
2023-08-07T19:08:35.957414
2021-09-16T19:22:08
2021-09-16T19:22:08
373,586,892
0
0
null
null
null
null
UTF-8
C++
false
false
1,335
cpp
matrixOperations.cpp
int main()//addition { int n = 2, m = 2; int a[n][m] = { { 2, 5 }, { 1, 7 } }; int b[n][m] = { { 3, 7 }, { 2, 9 } }; int c[n][m]; for (int i = 0; i < n; i++) for (int j = 0; j < n; j++) { c[i][j] = a[i][j] + b[i][j]; } for (int i = 0; i < n; i++) { for (...
999f250d52d679401bed55a7513a5b4cc0d4e674
b3fb4e259f5c51e701d560e1f352a4215039bd40
/lab5_q12.cpp
d10d6b1747d2b89d512715e1c92df58b3b54afa4
[]
no_license
ShashankSaumya123/CS-141
a4f64eda253b2d2db3749ed39176de66cae0892b
7888bdeeaf4032c9d1057ab960f0123683633915
refs/heads/master
2021-07-07T17:34:10.890498
2019-03-02T10:26:57
2019-03-02T10:26:57
143,713,879
0
1
null
2019-03-02T10:26:58
2018-08-06T10:36:42
C++
UTF-8
C++
false
false
592
cpp
lab5_q12.cpp
// Ask for month number and print number of days in that month // including library #include<iostream> using namespace std; int main() { // defining variables int month; // Asking for input cout << "Please write the month number" << endl; cin >> month; // if else if ((month == 1)||(month == 3)||(month == 5)||(mo...
f81a1aa9787a37fa292cb7dacb692d94653ab7a7
a4dbd78f17520fd1f640eadee41fe6541f219a58
/tcc/src/utility/ellipsisproximityalgorithm.h
7d7fdd167da290a1299d2e2e67a6ce3555b81789
[]
no_license
guigsson/CCO
761f928e39209c0596f26d0375187eccf629d62b
4f0ef3ab43ce6db2df48f4c58f2278993d5a3367
refs/heads/master
2020-05-21T11:14:47.572010
2018-05-07T19:53:38
2018-05-07T19:53:38
43,181,389
0
0
null
null
null
null
UTF-8
C++
false
false
647
h
ellipsisproximityalgorithm.h
#ifndef ELLIPSISPROXIMITYALGORITHM_H #define ELLIPSISPROXIMITYALGORITHM_H #include "utility/proximityalgorithm.h" #define ELLIPSIS_A_B_RATE 0.3 #define ELLIPSIS_OUTER_DIST_RATE 1.1 class EllipsisProximityAlgorithm : public ProximityAlgorithm { public: EllipsisProximityAlgorithm(); bool InBetween(const QPoin...
9ce805419ead802dcd3496cc586a876a0282b634
78ff83abb52324c18cc32b7b951aaa0227f7a3d2
/main.cpp
73e1c8d1781188a2e0801aa57bed976db56e59a0
[]
no_license
jqoo/demo
eb43141f14435408707cf3b5de53fd8a336e302b
91112368ec48efe4b2ee26c8967d47d32c756a6c
refs/heads/master
2021-07-17T16:29:02.017526
2020-04-28T01:56:52
2020-04-28T01:56:52
132,213,025
0
0
null
2020-02-13T01:24:30
2018-05-05T03:59:42
C++
GB18030
C++
false
false
4,538
cpp
main.cpp
#include <iostream> #include <vector> #include <string> #include <iterator> #include <locale> #include "Matcher.h" #include <queue> using namespace std; int test1() { cout<<"Test KMP:"<<endl; KmpMatcher<char> m("mAiN"); char* p = "#include <iostream> using namespace std;int main();int ma...
b98b4ebfd9cbadd5f67e1504a3de7addc4114e3e
78f78bfecc4e3de2bf452178d4e8cbc6758110c4
/samples/cortex/m3-iar/stm32f1xx/4-debug/src/main.cpp
21c1f4cb6282f953a8f9ce7ce3ed978981a7a378
[ "MIT" ]
permissive
scmrtos/scmrtos-sample-projects
249f6259b4b7de99854aad10f7de177289d1d3b3
3b34a485b6ca4b16705c250383ae5d30c81966f1
refs/heads/master
2021-11-17T14:55:35.186727
2021-02-04T15:43:10
2021-02-04T15:43:10
43,736,411
10
9
null
null
null
null
UTF-8
C++
false
false
5,900
cpp
main.cpp
//****************************************************************************** //* //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System //* //* NICKNAME: scmRTOS //* //* PROCESSOR: ARM Cortex-M3 //* //* TOOLKIT: EWARM (IAR Systems) //* //* PURPOSE: Port Test File //* //* ...
839d628e213df22a68d1c89230c456cdcbd9bd06
49eb433ff628912371ffef8687043f897c162be1
/ex52/dirsizer/allocateentry.cc
13b92ffb2b45523b43fe6ff84549d72a79aa6a1f
[]
no_license
grebnetiew/cpp-2-52
c32c8924abdec612d1eeeef4b0cedc22607390dd
cc3197ef1b330d812fe6287d940165a3048efa05
refs/heads/master
2016-09-08T01:34:37.505413
2015-01-27T13:42:52
2015-01-27T13:42:52
29,914,011
0
0
null
null
null
null
UTF-8
C++
false
false
233
cc
allocateentry.cc
#include "dirsizer.ih" #include <stddef.h> // offsetof struct dirent *DirSizer::allocateEntry() const { return static_cast<struct dirent *>( operator new(offsetof(struct dirent, d_name) + d_maxNameLen + 1)); }
5749a6d7999d60e984991e68f58e24987b80712b
52b9808797d8e4fab0acc1c6f8a7b93d6a4ce0fc
/DSA Project/RBT.h
36536536e8c40a3aab5ec6cf8191f9ef34753c80
[]
no_license
musakhan18/Data-structures-and-Algorithms
a16033b6f7307bef80fdf85a992fc240a3ecc0a9
0f5b3ced96dd246f2c2ff5e46c9eb4de6655f554
refs/heads/main
2023-06-28T13:43:11.671066
2021-08-04T09:11:23
2021-08-04T09:11:23
359,820,421
0
0
null
null
null
null
UTF-8
C++
false
false
923
h
RBT.h
#pragma once #include<iostream> using namespace std; struct Node { int data; Node* leftChild; Node* rightChild; char colour; }; class RBT { private: Node* root; int c = 0; void inorderTraversalCode(Node* temp); int leaf(Node*); int max(Node*); public: void RBTinsertionCode(Node* ...
8d136b7bacf7792e83d379e94b7576044dd0374b
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/ui/views/editor_menu/editor_menu_promo_card_view.h
7b39c9269bcf82202bfba4502492896462f1d943
[ "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
1,284
h
editor_menu_promo_card_view.h
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_EDITOR_MENU_EDITOR_MENU_PROMO_CARD_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_EDITOR_MENU_EDITOR_MENU_PROMO_CARD_VIEW_H_ #include "ui/base/metadat...
619027a779f7760c2122f51a800a024647db261d
2d42a50f7f3b4a864ee19a42ea88a79be4320069
/source/attributes/camera/iprojection.h
11ecc09c66b3b64066f298a991caef29ae5676b9
[]
no_license
Mikalai/punk_project_a
8a4f55e49e2ad478fdeefa68293012af4b64f5d4
8829eb077f84d4fd7b476fd951c93377a3073e48
refs/heads/master
2016-09-06T05:58:53.039941
2015-01-24T11:56:49
2015-01-24T11:56:49
14,536,431
1
0
null
2014-06-26T06:40:50
2013-11-19T20:03:46
C
UTF-8
C++
false
false
409
h
iprojection.h
#ifndef _H_IPROJECTION #define _H_IPROJECTION #include <config.h> #include <system/factory/interface.h> #include <core/iobject.h> PUNK_ENGINE_BEGIN namespace Attributes { DECLARE_PUNK_GUID(IID_IProjection, "69EF1F1D-778E-482A-881D-3770FB2EC35E"); class IProjection : public Core::IObject { public: }; using IPr...
8896675d517eafeeb1d435d19095d0614aee9bc0
83f727ae888371f414339d9cf2460e830c036b9a
/tasks/Task.cpp
734882717f5e4fe2a40cd3777d99a86a4afb1be7
[]
no_license
nilsbore/simulation-orogen-imaging_sonar_simulation
b47f98e2a16fddb23bf2452779cf6793200d13f3
4565a98796691e0e3a1484c8853896b821411c0c
refs/heads/master
2021-08-26T09:27:24.484624
2017-09-26T23:45:42
2017-11-23T01:05:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,459
cpp
Task.cpp
/* Generated from orogen/lib/orogen/templates/tasks/Task.cpp */ #include "Task.hpp" // Rock includes #include <gpu_sonar_simulation/Utils.hpp> #include <frame_helper/FrameHelper.h> #include <base/Float.hpp> using namespace imaging_sonar_simulation; using namespace base::samples::frame; Task::Task(std::string const&...
208cd593b301f9df71749af6863391ff83c1167e
f74b295b4056dedd33d8a04f9fb7222b190ac164
/src/transmitter/transmitter.ino
1ac3653461b5dd6b97832b55ead8dd7e1f871827
[]
no_license
richsergsam/Arduino-RF-liquid-level-sensor
2817414dba58f3f766d49d981d9bebcdd4262fda
3d18eb3068f9c57598ae28e403614220cadc5b62
refs/heads/main
2022-12-26T04:13:27.313871
2020-10-17T19:15:50
2020-10-17T19:15:50
301,960,618
0
0
null
null
null
null
UTF-8
C++
false
false
3,672
ino
transmitter.ino
//----------------------БИБЛИОТЕКИ--------------------- #include "GyverPower.h" // с понижением частоты "уйдут" функции времени // для их коррекции можно сделать так: #define millis() (millis() << (CLKPR & 0xF)) #define micros() (micros() << (CLKPR & 0xF)) #define delay(x) delay((x) >> (CLKPR & 0xf)) #define delayMicro...
9abfd7e22d64faeea91d36e09bd8923b3c03dfb7
675e55b07deb42ad99dddbe8746899e051127701
/65_Valid_Number/65.cpp
debc67245e9d1ecfbbbddc1bc2a90a3114743e04
[]
no_license
wyc25013/leetcode
3bbef070b72a16666a1cdf0d4710d3558c30f4be
5358f3c2cc7a5999d134b77bc87c8764dad2ddc2
refs/heads/master
2021-01-18T15:17:05.658334
2015-10-14T02:14:39
2015-10-14T02:14:39
37,750,911
0
0
null
null
null
null
UTF-8
C++
false
false
1,369
cpp
65.cpp
#include <string> #include <iostream> using namespace std; class Solution { public: bool isNumber(string s) { int len = s.length(); // cut all space and sign int start = 0; while(s[start]==' ') start++; if(start==len) return false; int cntsign = 0; while(s[start]=='+' || s[start]=='-'){ start++...
eccd6ea02dc9407aca525cc07871f0945a725ec8
5a00ce827b1d6d0bff7d5ea0e8e4934696dd7c6d
/src/MixedView.cpp
90781770758abc26b0339ec76f957d97ce0e3bed
[]
no_license
IvanGH2/SoundAnalysis
3a5887c56820cbcc72008f06dfcb9ab1f66956a1
118fd491e0f104064f3269757d4b0b6cf31803f6
refs/heads/master
2022-12-30T15:35:25.595265
2020-10-18T12:54:50
2020-10-18T12:54:50
305,091,987
0
0
null
null
null
null
UTF-8
C++
false
false
4,113
cpp
MixedView.cpp
/* Copyright 2020 Ivan Balen This file is part of the Sound analysis library. The Sound analysis 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 3 of the License, or (at your opt...
6ea067576e4cb39742d17b93d99201f3d0a6eaf2
356ca0e5d593832f6b766ce70a7edb209d463b23
/oxref/xrefdata/keepfirst.cc
1456007a1e7e678a6fb5ecb1af8608644e0fe033
[]
no_license
fbb-git/oxref
dc5631033953b1b5b7a7fbf4a2120340da5d1e9b
60bddcf36617cc34612becddb6ae1e83b71a29b7
refs/heads/master
2021-05-04T06:34:33.369266
2018-06-25T12:59:56
2018-06-25T12:59:56
41,297,715
0
1
null
null
null
null
UTF-8
C++
false
false
1,169
cc
keepfirst.cc
#include "xrefdata.ih" void XrefData::keepFirst(size_t openParIdx) { //cout << d_cooked << "\n"; size_t begin = openParIdx; while (d_cooked[begin] != ')') { ++begin; // beyond the separator if (d_cooked[begin] == ' ') // keep blank aft...
3993cec29b10be74eed104bc381634acf34d42cb
057a475216e9beed41983481aafcaf109bbf58da
/src/Processors/Transforms/MergeJoinTransform.h
6bf4484df247373a7c61cd0f91ac9da811b5840a
[ "Apache-2.0" ]
permissive
ClickHouse/ClickHouse
fece5204263a5b4d693854b6039699265f1bb27f
6649328db809d51a694c358571539bc5820464be
refs/heads/master
2023-08-31T18:48:36.615225
2023-08-31T17:51:24
2023-08-31T17:51:24
60,246,359
23,878
5,449
Apache-2.0
2023-09-14T20:10:52
2016-06-02T08:28:18
C++
UTF-8
C++
false
false
7,408
h
MergeJoinTransform.h
#pragma once #include <cassert> #include <cstddef> #include <memory> #include <mutex> #include <optional> #include <unordered_map> #include <utility> #include <vector> #include <boost/core/noncopyable.hpp> #include <Common/PODArray.h> #include <Core/SortCursor.h> #include <Core/SortDescription.h> #include <IO/ReadBu...
07b20dff3c1c6424223043008674ad83cae575b6
54cd2cca6dea49b4f96f50b4a54db2673edff478
/51CTO下载-钱能c++第二版源码/ch12/f1205.cpp
198746ae63648842c2ce9a461632872fcde495f9
[]
no_license
fashioning/Leetcode
2b13dec74af05b184844da177c98249897204206
2a21c369afa3509806c748ac60867d3a0da70c94
refs/heads/master
2020-12-30T10:23:17.562412
2018-10-22T14:19:06
2018-10-22T14:19:06
40,231,848
0
0
null
2018-10-22T14:19:07
2015-08-05T07:40:24
C++
WINDOWS-1252
C++
false
false
590
cpp
f1205.cpp
//===================================== // f1205.cpp // Ð麯Êý //===================================== #include<iostream> using namespace std; //------------------------------------- class Base{ public: virtual void fn(){ cout <<"In Base class\n"; } };//----------------------------------- class Sub : public Base{ pu...
a24bf257fd49cc1b78946a3d022734cf3c2e3716
6fc94468f49fddb1166b34db9c6120682538d824
/C.S.P0008/C.S.P0008/main.cpp
ebc6ea71f12acb2086eb4386d0585d5c1e96aad8
[]
no_license
hungndse130670/SE130670_2
7cadaae1038084967dd993b3d885ebe3fb7c5af3
5e669843946e065d8b61d597da909a6f936bf15e
refs/heads/master
2022-11-21T08:37:12.734311
2020-07-20T05:58:04
2020-07-20T05:58:04
281,025,974
0
0
null
null
null
null
UTF-8
C++
false
false
553
cpp
main.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: duchu * * Created on June 5, 2020, 1:42 PM */ #include <cstdlib> #include <stdio.h> using names...
b2f5bb339ae92a373e9b792f9f29a860f7ed9beb
26c825925b8b9e90b2db4fd2d4144ad9bf8517c4
/sources/SLAM/Frame/CalcNormalMap.cpp
9fc4cca970ac99d15fb8d15826caaf80be761092
[]
no_license
neophack/Cross-Platform-Dense-SLAM
f4051a09817716c757dfe8a69bc32df283c3b5d8
45ee66abff199f10ea3ee4039577c55a2b3ae952
refs/heads/master
2023-03-17T21:23:16.782906
2018-11-29T11:20:43
2018-11-29T11:20:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
442
cpp
CalcNormalMap.cpp
#include "CalcNormalMap.h" namespace rgbd { CalcNormalMap::CalcNormalMap( const gl::Shader::Ptr prog ) : prog(prog) { } void CalcNormalMap::execute( gl::Texture::Ptr srcVertexMap, gl::Texture::Ptr dstNormalMap ) { prog->use(); srcVertexMap->bindImage(0, GL_READ_ONLY); dstNormalMap->bindImage(1, GL_...
a44714c34447b5a221235a1dd3fdc2a7abf45995
94788a3a6d5636b280daaae9879220143001826b
/INO/20180915_internet/20180915_internet.ino
7454b39a3b9568156fffe407dcef353ab15dbc89
[]
no_license
LeoLovina/Arduino
2100922d0e056fbfdacdd8b09017ef4f9912d289
a1476b41967e9e7a21996d3963a05008e86ff394
refs/heads/master
2020-03-28T07:34:25.965332
2018-11-04T01:54:26
2018-11-04T01:54:26
147,910,300
0
0
null
null
null
null
UTF-8
C++
false
false
1,241
ino
20180915_internet.ino
/* d1 min board 1. 利用 D3 讀取 switch (設定為 Input_Pullup) 2. 使用 ESP8266WiFi 程式庫 連線 wifi wifi by 陳建榮 This example code is in the public domain. */ #include <ESP8266WiFi.h> #define READ_PIN 0 // GPIO: 0, d1 min:D3 #define D1 5 // GPIO: 5, d1 min D1 #define D0 16 // GPIO: 16, d1 min D0 ...
4ed165327d055ec100ab3087ad0a01fb8b9a68d5
02b65e4c746f4abe0f14ea3b71c7cfb44479675a
/5.21.homework.3..cpp
58a66f794c644d1c32fd79322f94a144876dc70b
[]
no_license
bayraa77/5.21.homework
988f28dc5542bf27efed818562e7ab8e895eafa2
5cbee31d72d18dee9935046143858346ebe81d52
refs/heads/main
2023-05-07T19:35:53.145646
2021-06-01T05:47:55
2021-06-01T05:47:55
369,733,671
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
5.21.homework.3..cpp
#include<iostream> using namespace std; int main(){ char a; cout<<" enter any letter : "; cin>>a; switch(a){ case 'a': case 'A': case 'e': case 'E': case 'i': case 'I': case 'o': case 'O': case 'u': case 'U': cout<<" this is a vowel "; break; default : c...
24b444adfcaa4f1a21e512fa4f282846fcd27943
e5bc91dfb180a7b2fae9cd6d2cc96bbb16d3cfda
/CodeinC.cpp
89cb290f48455c3bc99dffdc9e48c1ebfb2c8401
[]
no_license
NobleLip/AssemblyComparer
631816bfc42a2ddba08fd77772761ee3c7d80aae
e89553887bd8045d83875a7575c2fdc3258a4a58
refs/heads/main
2023-05-12T22:29:35.573835
2021-05-31T22:56:33
2021-05-31T22:56:33
372,199,341
0
0
null
null
null
null
UTF-8
C++
false
false
3,726
cpp
CodeinC.cpp
#include "stdio.h" #include "conio.h" #include <stdlib.h> #include "string.h" #include <time.h> #include <malloc.h> #ifdef _WIN32 #include <intrin.h> #else #include <x86intrin.h> #endif #define Tamanho 1000000 extern "C" { //indicate that we have an external function void binarize(unsigned char, unsigned char*, in...
c3598dde7556818b07e0097868cd08b64a751418
fa1a685e8c3dd2fb1f2ce422779b5602e1d4b770
/automapping/src/PosicionAdyacente.h
6e2af0a1027488035a28ae197ff2f94da3affdc7
[]
no_license
nFichin/automapper
1f15392b8f5eaaabf8de630f0126b25f54a07cf6
2820ddd3d89d9e41f988cad14ae293cdcd018d38
refs/heads/master
2020-04-22T10:46:25.018895
2013-05-19T18:17:46
2013-05-19T18:17:46
9,200,513
1
0
null
null
null
null
UTF-8
C++
false
false
486
h
PosicionAdyacente.h
#ifndef POSICIONADYACENTE_H_ #define POSICIONADYACENTE_H_ #include "Posicion.h" enum ladoAdyacencia_t{ DERECHA = 0x01, IZQUIERDA = 0x02, ARRIBA = 0x03, ABAJO = 0x04 }; class PosicionAdyacente: public Posicion { public: ladoAdyacencia_t ladoAdyacencia; PosicionAdyacente(int fila,int columna,ladoAdyace...
480debdd120c869ee10cdb0c5e372e60bf33567a
a1b1a844881146b1e678063f3b98164a74b69521
/demo/Examples/animate-bmp.cpp
895d74cbf216adf885b517d3a292932bbf25dabe
[]
no_license
qPCR4vir/myNana
9378655fbba2f14bc612ae795233fe7a2150e426
5d00798dc770895defeb0cb3a859816f0f0c25e2
refs/heads/master
2021-01-22T01:27:43.503510
2015-11-11T08:45:05
2015-11-11T08:45:05
27,862,064
1
0
null
null
null
null
UTF-8
C++
false
false
525
cpp
animate-bmp.cpp
#include <nana/gui/wvl.hpp> #include <nana/gui/animation.hpp> int main() { using namespace nana::gui; //Build frames frameset fset; fset.push_back(nana::paint::image(STR("a_pic0.bmp"))); fset.push_back(nana::paint::image(STR("a_pic1.bmp"))); fset.push_back(nana::paint::image(STR("a_pic2.bmp...
f3e432ae0f7ebcddefbf1ff9d32a26a597c07993
091afb7001e86146209397ea362da70ffd63a916
/inst/include/nt2/core/include/functions/rng.hpp
506ec2ed204e125252e1b85e7730d077e0c35f59
[]
no_license
RcppCore/RcppNT2
f156b58c08863243f259d1e609c9a7a8cf669990
cd7e548daa2d679b6ccebe19744b9a36f1e9139c
refs/heads/master
2021-01-10T16:15:16.861239
2016-02-02T22:18:25
2016-02-02T22:18:25
50,460,545
15
1
null
2019-11-15T22:08:50
2016-01-26T21:29:34
C++
UTF-8
C++
false
false
151
hpp
rng.hpp
#ifndef NT2_CORE_INCLUDE_FUNCTIONS_RNG_HPP_INCLUDED #define NT2_CORE_INCLUDE_FUNCTIONS_RNG_HPP_INCLUDED #include <nt2/core/functions/rng.hpp> #endif
a1dfab2bd9f2812fdc888d198ee03586b136f893
1b9484f051414df045b4be62d44b2e095ba5a71f
/include/ofp/header.h
e3e4a390937c94d6f1db7234f0254235a3fecb06
[ "MIT" ]
permissive
byllyfish/oftr
be1ad64864e56911e669849b4a40a2ef29e2ba3e
5368b65d17d57286412478adcea84371ef5e4fc4
refs/heads/master
2022-02-17T15:37:56.907140
2022-02-01T04:24:44
2022-02-01T04:24:44
13,504,446
1
1
MIT
2022-02-01T04:24:44
2013-10-11T16:59:19
C++
UTF-8
C++
false
false
1,443
h
header.h
// Copyright (c) 2015-2018 William W. Fisher (at gmail dot com) // This file is distributed under the MIT License. #ifndef OFP_HEADER_H_ #define OFP_HEADER_H_ #include "ofp/byteorder.h" #include "ofp/constants.h" namespace ofp { class Header { public: explicit Header(OFPType type) : type_{type} {} UInt8 versi...
8360002a613ad03d460fabfdeaeb1f9441f10df5
d961ba1a3832a475feba8d8a6171886fe22c5767
/imu/imu.ino
582d895bc84b005bc8e2113f6f6867b253cc93b2
[]
no_license
hfrk/arduino
d42d8bb60eb42dd5fb0cfd97344d0ac811748195
10c64978fae2ed1496198e6a72cbc39686d9e770
refs/heads/main
2023-07-21T16:56:16.077586
2021-09-10T09:29:51
2021-09-10T09:29:51
312,867,081
0
0
null
null
null
null
UTF-8
C++
false
false
945
ino
imu.ino
#include "Sensor.h" MPU6050 mpu; Magnetometer mag; TENDOF dof10; void setup(){ Serial.begin(57600); Wire.begin(); Wire.setClock(400000); delay(100); mpu.initialize(); mag.initialize(); dof10.initialize(); delay(100); } void loop(){ reading_sensor(); } void reading_sensor(){ float fdata[3]; // ...
0a8d10b6cd80520e5d47fd024d3cde9bd0407e7b
67a52ef3f5785d465795940b73eab47667b477e6
/exlib/include/utils_arm.h
24d3e85c307a6fb38f957bd88fc98dffdc5e7603
[]
no_license
FIBOSIO/fibjs_vender
3ae706e0ea81edfc36358f47e28d07bcd5e28530
c7d03a8193a708e9513a31df576af9b0fefa745c
refs/heads/master
2020-03-18T11:27:15.843237
2018-03-31T17:05:39
2018-03-31T17:05:39
134,672,385
1
1
null
null
null
null
UTF-8
C++
false
false
3,316
h
utils_arm.h
/* * utils_arm.h * Created on: Jul 10, 2014 * * Copyright (c) 2014 by Leo Hoo * lion@9465.net */ namespace exlib { #pragma pack(1) class registers { public: intptr_t r0; intptr_t r1; intptr_t r2; intptr_t r3; intptr_t r4; intptr_t r5; intptr_t r6; intptr_t r7; intptr_t r...
d9632bce4b081f26590824a8c24f180edb87a279
f1c5d59a93aa613f2727a8c1696a8238f61f8dd0
/Linked List/insertData.cpp
2653dc7a6d530ac4c2e1655b8858859136c6de10
[ "MIT" ]
permissive
FahimMuntashir/theAlgorithms
fd0563c7a1931194000ddfae3c8ea02dbd67e8f3
58348ea5c45059121a1cf83b8f99b4ac46973f01
refs/heads/main
2023-07-18T17:24:34.490169
2021-09-08T16:31:16
2021-09-08T16:31:16
302,953,947
0
0
null
null
null
null
UTF-8
C++
false
false
1,196
cpp
insertData.cpp
/* * * Author : Fahim Muntashir * Handle: f12r * */ #include <bits/stdc++.h> using namespace std; #define f12r ios_base::sync_with_stdio(false), cin.tie(NULL) const double EPSILON = 1e-9; #define MOD 1000000007 #define pi acos(-1) #define ll long long #define endl "\n" /********** Main() function **********/ str...
1500b88ce73bc89c830af8d85eef93ca748b557f
8c8820fb84dea70d31c1e31dd57d295bd08dd644
/MediaUtils/Public/MediaRecorder.h
4619803beed6ecbc0c818bd1c29b2302fe2cfad4
[]
no_license
redisread/UE-Runtime
e1a56df95a4591e12c0fd0e884ac6e54f69d0a57
48b9e72b1ad04458039c6ddeb7578e4fc68a7bac
refs/heads/master
2022-11-15T08:30:24.570998
2020-06-20T06:37:55
2020-06-20T06:37:55
274,085,558
3
0
null
null
null
null
UTF-8
C++
false
false
3,163
h
MediaRecorder.h
// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreTypes.h" #include "Async/Future.h" #include "IImageWrapper.h" #include "MediaSampleQueue.h" #include "Misc/Timespan.h" #include "Templates/SharedPointer.h" class FMediaPlayerFacade; class FMediaRecorderClockSink; class IImageWriteQueue; ...
952a033e04a77cf4da8a1d813218eb5ff29be5b0
5c9a7a6eb22704a39039ff8375ab8d932b682a4f
/audioplayer/src/main/cpp/audio-lib.cpp
bf05162611dbfa5cb95410917cbe443c3d255f5e
[]
no_license
guchengzhi/JniExample
0badcb15faf0b2721987ecf999b66da3f82332f0
80757cb8056d4eb32e273c6c8e5b530fda0c5549
refs/heads/master
2022-03-11T13:17:32.886399
2019-02-07T09:33:59
2019-02-07T09:33:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,240
cpp
audio-lib.cpp
#include <jni.h> #include <string> // //extern "C" { //#include <libavformat/avformat.h> //} #include "FFmpeg.h" JavaVM *jvm = NULL; FFmpeg *ffmpeg = NULL; CallJava *callJava = NULL; PlayStatus *playStatus = NULL; //native 退出 bool nexit = true; pthread_t pthread_start; extern "C" JNIEXPORT void JNICALL Java_com_exam...
d85f555cbdccb4dd17c183b55e7a7624864afeef
0eba0ae14b55c5894eebb65e0e28a98e4cbe44c7
/alLayer/alLayer.cpp
2fc6ec060615ad79f0b59ca5f1d4d596eaa75a98
[ "MIT" ]
permissive
Jedzia/alShaders
0d88e06b9a5bd25442d56fc359130ed1cc4f62fc
8e5b330ab6259aa56f85515a4b3b629923e9742d
refs/heads/master
2022-04-17T04:48:44.231126
2020-04-16T11:07:54
2020-04-16T11:07:54
255,810,508
8
3
null
null
null
null
UTF-8
C++
false
false
11,901
cpp
alLayer.cpp
#include "alUtil.h" #include <ai.h> #include <vector> #include <string> #include <cassert> #include "cryptomatte/cryptomatte.h" #include "aovs.h" AI_SHADER_NODE_EXPORT_METHODS(alLayer) struct ShaderData { // AOV names std::vector<AtString> aovs; std::vector<AtString> aovs_rgba; bool standardAovs; Cryp...
1268c95dd894f60c398d01743d961ee8d1710d5c
da72a74bd754719826a27b12d690cb519a3e43ad
/kvs/include/metadata.hpp
0b698acd628922ab481b4596af9a5108a425aa79
[ "Apache-2.0" ]
permissive
arvindsankar/fluent
1b9c668a938cc8214d0e0109f0585fc0363c5094
fad6d46c64e6805e3feaaa5c14f4c7f1670515d4
refs/heads/master
2020-04-08T03:18:28.661383
2018-11-26T01:22:51
2018-11-26T01:22:51
158,970,417
1
0
Apache-2.0
2018-11-24T20:17:49
2018-11-24T20:17:49
null
UTF-8
C++
false
false
4,486
hpp
metadata.hpp
// Copyright 2018 U.C. Berkeley RISE Lab // // 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...
181b9d403721b1b29dac2fbc4dae1992da9477a1
c31e83456a83457265abb75e70d9f3f4839dea24
/Problems/Strstr.cpp
6ae51bd756736241d1cff2a3fafb2da04f14ef3f
[]
no_license
valentin-stamate/Inline-Assembly-Problems
67b583a0c810f91ad5bdcbaf1dc1b364b190ff4d
53cadd0bd9fff6030eb61ffeee361086da248458
refs/heads/master
2023-08-12T20:37:49.300921
2020-02-02T20:49:19
2020-02-02T20:49:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
529
cpp
Strstr.cpp
int strstr(char*, char*) { _asm { mov ebx, [ebp + 8] mov ecx, [ebp + 12] mov esi, 0 while_1: cmp [ebx + 1 * esi], 0 je return_f push esi mov edi, 0 while_2: cmp [ecx + 1 * edi], 0 je continue_ mov al, [ebx + 1 * esi] cmp al, [ecx + 1 * edi] jne continue_ inc esi in...
9460c719e6901165b69c88b4d7efabfd8428e65b
c33843ec1deea9f2917d28f7c8d71629e3733f66
/src/cpp/ee/core/WhenAny.hpp
40fa7a74faebfc5628967a8df09d34b85e9051fe
[ "MIT" ]
permissive
Senspark/ee-x
c7129f3cd7de8a0879f2079164727a05501e19b6
60a66ad3dc6e14802a7c5d8d585a8499be13f5b8
refs/heads/master
2023-08-20T07:19:27.472704
2021-08-19T03:04:35
2022-03-14T09:39:51
62,603,267
18
11
MIT
2023-05-08T03:33:24
2016-07-05T03:28:21
C++
UTF-8
C++
false
false
1,200
hpp
WhenAny.hpp
// // WhenAny.hpp // ee-x-d542b565 // // Created by eps on 1/8/21. // #ifndef EE_X_WHEN_ANY_HPP #define EE_X_WHEN_ANY_HPP #ifdef __cplusplus #include "ee/core/LambdaAwaiter.hpp" #include "ee/core/NoAwait.hpp" #include "ee/core/Task.hpp" namespace ee { namespace core { namespace detail { template <class T> void w...
382b5f17e52822e1915b91354b9b6c35e8472da8
805e7cb4f5d97f303f7175699c4b6007872baab1
/source/src/network/mitecom/mitecom-handler.cpp
154dd284446be2201ef2abe5c07a7b4fa740dbc9
[ "MIT" ]
permissive
electric-sheep-uc/black-sheep
0d1315af0a67759ad175fde4eff97fb57fd560d9
e908203d9516e01f90f4ed4c796cf4143d0df0c0
refs/heads/master
2020-06-24T01:15:50.109820
2019-07-25T09:56:53
2019-07-25T09:56:53
198,805,036
7
1
null
null
null
null
UTF-8
C++
false
false
3,321
cpp
mitecom-handler.cpp
#include "mitecom-handler.h" #include "mitecom-data.h" #include <assert.h> #include <stdio.h> #include <arpa/inet.h> /*------------------------------------------------------------------------------------------------*/ /** * Take an incoming message and check if the message was received correctly and store the data...
95bc46924e531722d8fe5fe4d3b971b714284b44
7a44204672c44e103aad47f3afd18952fbd9afd0
/src/SupportClasses/SpikeStreamMapper.cpp
92af9710d56b6dd1312afe58c8074bd7b1c1fe2f
[ "MIT" ]
permissive
AuditoryBiophysicsLab/EarLab
202acdb79489ea903c20e45239a9a3ba820caeba
bc5ccc39076ee0419078e9ff5147e98f28fac3c9
refs/heads/master
2020-04-15T20:45:36.062819
2019-07-10T11:54:27
2019-07-10T11:54:27
27,502,131
3
1
null
2017-06-28T01:53:57
2014-12-03T18:47:42
C++
UTF-8
C++
false
false
2,763
cpp
SpikeStreamMapper.cpp
#include "SpikeStreamMapper.h" #include "EarlabException.h" #include <memory.h> SpikeStreamMapper::SpikeStreamMapper(int InputCellCount, int OutputCellCount, char *MapFileName) { FILE *fp; int curChar; int BitNumber = 0; int OutputCellID = 0; inputCellCount = InputCellCount; outputCellCount = Output...
77c639bd554af69c2611cf3fbcc6fb2a2eadc228
7bb673af6c51bb31e04d8dee7f840538e91c9f69
/include/Random.hpp
0a75e43779ee2d981528d665186836c22e64942e
[ "MIT" ]
permissive
grncbg/ANSL-NetworkSimulator
4166ad61d7abd1fe2ba2e3cadd1e20c328b87404
6a49390218518559e1ffaed6c91468e8873d90c0
refs/heads/master
2020-04-06T19:30:29.961183
2018-12-22T14:06:43
2018-12-22T14:06:43
157,739,666
0
0
MIT
2018-12-18T09:51:34
2018-11-15T16:19:17
C++
UTF-8
C++
false
false
1,708
hpp
Random.hpp
#ifndef INCLUDED_RANDOM_HPP #define INCLUDED_RANDOM_HPP // dorward declaration namespace boost::random { // mersenne_twister typedef __SIZE_TYPE__ size_t; typedef long unsigned int uint_fast64_t; template <class UIntType, size_t w, size_t n, size_t m, size_t r, UIntType a, size_t u, UIntT...
4133943fc6c968c5211aa10c69f58cd20ac8a467
3443729995fcaf70d2cbcb2af604731ec1bc589a
/LeetCode/23. Merge k Sorted Lists.cpp
48b919df100055b3186f26be66e6471cea193fa4
[]
no_license
Altudy/solutionheejoon
dc8faca784307ac0bba214317dd26d6519fb440b
de49671d15487ba15f41487d24ea0b5a6c8ffcce
refs/heads/master
2021-07-01T17:30:22.107345
2021-02-01T13:43:10
2021-02-01T13:43:10
212,311,666
1
2
null
null
null
null
UTF-8
C++
false
false
1,998
cpp
23. Merge k Sorted Lists.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* mergeKLists...
4a1c0a4999d9d0c3523d1edada5988bdb01afd63
4aa3ff56e35d2d4cdeba40f45795f62f276859b3
/Engine/Network/ActionBuffer.h
e869175db9e4ee030e06ba36f90b2e1c7bd5ef3f
[ "Apache-2.0" ]
permissive
SixShoot/lastchaos-source-client
fde6a750afc4d7c5df3e9e0c542b056573c1b42d
3d88594dba7347b1bb45378136605e31f73a8555
refs/heads/master
2023-06-28T17:20:35.951648
2021-07-31T21:51:49
2021-07-31T21:51:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
845
h
ActionBuffer.h
#ifndef SE_INCL_ACTIONBUFFER_H #define SE_INCL_ACTIONBUFFER_H #ifdef PRAGMA_ONCE #pragma once #endif // #include <Engine/Base/Lists.h> // buffer of player actions, sorted by time of arrival class CActionBuffer { public: CListHead ab_lhActions; public: CActionBuffer(void); ~CActionBuffer(void); void Clear(vo...
37ef976db136ea9aa8a54a499f041503a5c1c3e5
7b8aac984fbaf154c5fce208ed423f6edc42d7cc
/templates/src/main.cpp
140a7649a19804b62d2b55c5511f9b9726f0efe3
[]
no_license
dankegel/obi-noodoo2
8bf8f2268988adaf55409715323bb2a63a612315
e07b39bbfb021698b8dbd3a130bd31763df342f5
refs/heads/master
2021-04-27T01:40:55.688916
2018-02-23T22:43:38
2018-02-23T22:43:38
122,680,437
0
0
null
null
null
null
UTF-8
C++
false
false
1,631
cpp
main.cpp
/* (c) oblong industries */ #include <libLoam/c++/ArgParse.h> #include <libNoodoo2/VisiFeld.h> #include <libNoodoo2/VisiDrome.h> #include <libNoodoo2/Scene.h> #include <libNoodoo2/MeshyThing.h> using namespace oblong::loam; using namespace oblong::basement; using namespace oblong::noodoo2; // Note: This hook assum...
306cb2c962d3d11548bcabafd42c37205e935023
1b90be9561c10508eea59cb36c1f1665d0ef947f
/stan/math/prim/fun/identity_free.hpp
0652ac11e24ca108099906890f0ad78e8f0f6e15
[ "BSD-3-Clause", "GPL-2.0-only", "Apache-2.0" ]
permissive
stan-dev/math
473e7c1eaf11f84eaf2032c2455e12ba65feef39
bdf281f4e7f8034f47974d14dea7f09e600ac02a
refs/heads/develop
2023-08-31T09:02:59.224115
2023-08-29T15:17:01
2023-08-29T15:17:01
38,388,440
732
240
BSD-3-Clause
2023-09-14T19:44:20
2015-07-01T18:40:54
C++
UTF-8
C++
false
false
743
hpp
identity_free.hpp
#ifndef STAN_MATH_PRIM_FUN_IDENTITY_FREE_HPP #define STAN_MATH_PRIM_FUN_IDENTITY_FREE_HPP #include <stan/math/prim/meta.hpp> namespace stan { namespace math { /** * Returns the result of applying the inverse of the identity * constraint transform to the input. This promotes the input to the least upper * bound of...
be6f08bf712e05cd60bf0c910512156ed3947958
e91e67cbd5190c3f285932559e33d3fbd2c90f4b
/Codeforces/A. Lucky Division.cpp
0aa658c05e637f3a92bbbbeb8ccfd53c3ef98e17
[]
no_license
Fahimefto/Solved-problem
0dd83f367a935fc142f0a86304aee207ba5825dd
1f2df5d33e6345b55a6f99f4eee53cf25655c6c0
refs/heads/master
2020-12-19T00:45:14.378188
2020-06-01T07:29:58
2020-06-01T07:29:58
235,568,430
0
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
A. Lucky Division.cpp
#include<bits/stdc++.h> using namespace std; int main() { int x; cin>>x; if(x%4==0 || x%7==0 || x%47==0 || x%744==0 || x%477==0 ) cout<<"YES"<<endl; else cout<<"NO"; }
43eb64a993ed5a78f3377cb7baa223e545c4d481
7e97b46635bc9f28b7102845192a2938313a21f3
/ABC/AGC004_A.cpp
7df9f4d2483ec5115520fd2fe1c76c59f3877c93
[]
no_license
ittsu-code/Atcoder_ittsucode
3a8f609c649cfd8357c829c3f4aa787c41543211
3294babf5d6e25f80a74a77fd49ae535d252d4da
refs/heads/master
2022-11-06T03:41:55.136071
2020-06-16T14:53:34
2020-06-16T14:53:34
249,254,658
0
0
null
null
null
null
UTF-8
C++
false
false
373
cpp
AGC004_A.cpp
#include <bits/stdc++.h> using namespace std; int main() { long long A, B, C; cin >> A >> B >> C; vector X = {A, B, C}; sort(X.begin(), X.end()); if (X.at(0) % 2 == 0 || X.at(1) % 2 == 0 || X.at(2) % 2 == 0) cout << 0 << endl; else cout << ((X.at(2) + 1) * X.at(0) * X.at(1) * 4) - ...
7fb522694af1781123ac0df9bac521a7442569ef
303e592c312459bf9eb3ce231b1357c4de91124b
/pku/1009/1009.cpp
681688f07f1444d5b43a18c9fbd34c520f25b8b5
[]
no_license
kohyatoh/contests
866c60a1687f8a59d440da3356c6117f9596e8ce
b3dffeaf15564d57aec5c306f5f84bd448bc791f
refs/heads/master
2021-01-17T15:06:23.216232
2016-07-18T14:06:05
2016-07-18T14:06:05
2,369,261
0
1
null
null
null
null
UTF-8
C++
false
false
2,790
cpp
1009.cpp
#include <stdio.h> #include <stdlib.h> #include <algorithm> using namespace std; #define rep(i, n) for(int i=0; i<(int)(n); i++) int w, n, p[2000], s[2000], sum, x[2000]; int zn, z[6000]; int main() { for(;;) { scanf("%d", &w); printf("%d\n", w); if(w==0) return 0; n=-1, sum=0; ...
ea4eab584164d2d090944d963cb4bda66039db1a
682f56561c3a9c2d64b45eb005d3a063eaae6095
/account.cpp
429cac13883a5c54b294b5424b47abc02199d4d2
[]
no_license
bevanDon/3060U_phase2
d096cda56810847817dd10ad64163d1c0deecf5b
c771c9ea205eb54ffbd1d3d4ef18ec813f4cf8e7
refs/heads/main
2023-03-15T18:34:36.617776
2021-03-08T20:34:38
2021-03-08T20:34:38
340,991,921
0
0
null
null
null
null
UTF-8
C++
false
false
1,690
cpp
account.cpp
/* User class */ #include <iostream> class Account{ std::string accountName; //accountName for user login std::string accountID; //account ID for user login int accountType; //Type of account (standard = 0, admin = 1) float money; //value in the users account int isActive; //0 = active, 1 = inactive int pl...
962bc3e00e9848343253d6af9d6d155df5b4eda7
5f0ccc599968f8d6db9cef32446dbadeb2414868
/src/datetimehelper.h
23fb474a3be5ce2893bb9b17d9620f88ad0b7340
[]
no_license
dprelec/forum-qml-new
5b39223832010a322f8d822931b343a2364c4827
8ec4426856db57952ca1a3f74a4ff33699dac976
refs/heads/master
2021-01-18T01:28:41.092275
2013-06-25T03:01:44
2013-06-25T03:01:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
302
h
datetimehelper.h
#ifndef DATETIMEHELPER_H #define DATETIMEHELPER_H #include <QString> class DateTimeHelper { public: DateTimeHelper(); static QString parseDateTime(const QString dateTime); static QString parseDate(QString date); static QString parseTime(QString time); }; #endif // DATETIMEHELPER_H
533b4569c8e4535137919f0de7dbfb69f2b48faa
1a5331af71a79baf014bc463f8c23eb6d92ca406
/3rdPartyLibs/protobuf-3.20.1/src/google/protobuf/unittest_mset.pb.cc
ceac316472915ec82a8d3bd641f4ca8d57084184
[ "LicenseRef-scancode-protobuf" ]
permissive
DLR-TS/SUMOLibraries
be8a1d7b32a428fc9a31d6e324170c4ad8ce358b
48faf165ba098b832cd8963992902427c212acac
refs/heads/main
2023-08-09T09:14:35.238792
2023-08-08T12:25:10
2023-08-08T12:25:10
116,371,656
26
21
null
2023-03-24T10:20:04
2018-01-05T10:11:39
C++
UTF-8
C++
false
true
85,689
cc
unittest_mset.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/unittest_mset.proto #include "google/protobuf/unittest_mset.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include ...
ae9c8d9bd502269e6523147f61fe9ce3ad195282
b5a2d8e68402f5094c6a0b2ee4361f5a535f135b
/力扣_C++/图论/787.cpp
933117a81484f159446d8decf0c260dcdd3e28bb
[]
no_license
iStitches/leetCode
cb918dcee3db9f820911053331df4e605bf39db5
5ba17fc21eaea212d36e30bbbf8f228461ed66fb
refs/heads/master
2023-04-09T03:36:27.509287
2021-04-19T15:57:43
2021-04-19T15:57:43
294,427,484
0
0
null
null
null
null
UTF-8
C++
false
false
799
cpp
787.cpp
#include<iostream> #include<algorithm> #include<vector> #include<cstring> #define MAX_VALUE 0x7fffffff #define MAX_SIZE 1000 using namespace std; int n,a,b,c,src,dst,k; int graph[MAX_SIZE][MAX_SIZE]; int res = MAX_VALUE; bool visited[MAX_SIZE]; void dfs(int src,int dst,int k,int price){ if(src == dst){ res = pric...
0976890637113ba968d3aab86537e0ad6a0777e1
827afdbb047bcf8359529d49496b7d7d2eec1f0e
/CPP/ModdedObjects/re2/Examples/Solution/src/ex_re2.cpp
035aaaea406e08ca802182c135fe8ec5e3055ecf
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Radicalware/Libraries
7c51d403c221fbf8d2746ad9f8aaf95821058668
d280ec79d855513412ab64435fd121b9298c3774
refs/heads/master
2023-04-09T10:54:57.618924
2023-03-23T03:13:01
2023-03-23T03:13:01
122,286,234
8
1
Apache-2.0
2021-07-29T06:29:19
2018-02-21T03:05:30
C++
UTF-8
C++
false
false
1,752
cpp
ex_re2.cpp
 #include <iostream> #include <string_view> #include "re2/re2.h" using std::cout; using std::endl; void test1() { cout << "===================================\n"; std::string str; std::string data = "XXoneZZ XXtwoZZ"; re2::StringPiece pc = data; RE2::FindAndConsume(&pc, RE2(R"((?:XX)(\w+)(?:ZZ)...
014a42949ee78bc5469a682d8030d13914ffb7b0
815edcbf058f48be3a57eba6ab68798861e0be5c
/friend functions.cpp
e56cf4ab5bd0e5787476cc396847bcb668e95afb
[]
no_license
7starmohit/c-friend-function
cd1c5867f60a1c618badeb5cac0b2dba9f684d68
4062d78324c526cac11972a3c94bf136fbe9937b
refs/heads/main
2023-04-28T22:30:13.815155
2021-05-08T16:25:46
2021-05-08T16:25:46
365,560,310
0
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
friend functions.cpp
#include<iostream> using namespace std; class complex{ int a; int b; public: void set_data(int w1,int w2) { a=w1; b=w2; } friend complex sumof_complex(complex q1,complex q2); void printdata(void) { cout<<"the complex number is :"<<a<<" + "<<b<<"i"<<endl; } }; complex sumof_complex(complex q1,...
b796f74e02079e17819aa3cb689dbbc6f583c107
e9c0ffba62f5bd0c7bc1b3ca6173b40f3ab488f6
/LeetCode/Longest-Turbulent-Subarray.cpp
10451c05a1a808ef4f519ca0bbba3f64242d67dc
[]
no_license
iiison/technical-interview-prep
501f15877feef3b6b6e1bf3c1ba8b06b894a923b
55b91267cdeeb45756fe47e1817cb5f80ed6d368
refs/heads/master
2022-11-24T11:21:22.526093
2020-08-04T13:49:32
2020-08-04T13:49:32
285,201,793
1
0
null
2020-08-05T06:33:34
2020-08-05T06:33:33
null
UTF-8
C++
false
false
984
cpp
Longest-Turbulent-Subarray.cpp
/* A subarray A[i], A[i+1], ..., A[j] of A is said to be turbulent if and only if: >> For i <= k < j, A[k] > A[k+1] when k is odd, and A[k] < A[k+1] when k is even; >> OR, for i <= k < j, A[k] > A[k+1] when k is even, and A[k] < A[k+1] when k is odd. That is, the subarray is turbulent if the comparison sign flips betwe...
1a115f11791c58f14791bcff0c8b5520ad7affe6
9739cc18419ac711ac7ccc1a8c7febd4127bfe75
/skrypty/tql/Parser_temp.cpp
c72ca06fdd518b3b8b46202c35e94fbcfa9461c1
[]
no_license
sumlib/main
ac27e14252c65cf2ef9a111d24797c856b0429fa
5e085b319916435e37ac216cfd2f0a32ee6b36b4
refs/heads/master
2021-01-10T20:30:16.863531
2011-05-12T19:20:34
2011-05-12T19:20:34
369,944
0
0
null
null
null
null
UTF-8
C++
false
false
43,608
cpp
Parser_temp.cpp
#define YY_parse_h_included /*#define YY_USE_CLASS */ /* A Bison++ parser, made from TQL.y */ /* with Bison++ version bison++ Version 1.21.9-1, adapted from GNU bison by coetmeur@icdc.fr Maintained by Magnus Ekdahl <magnus@debian.org> */ #define yyparse TQLparse #define yylex TQLlex #define yyerror TQLerror #de...
1747f45302e1b0feeb0babe54b134e62ee15963f
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/67/1696.c
c76cee53bbc7654d7ccbe273c6b080e11332f1fe
[]
no_license
GabeOchieng/ggnn.tensorflow
f5d7d0bca52258336fc12c9de6ae38223f28f786
7c62c0e8427bea6c8bec2cebf157b6f1ea70a213
refs/heads/master
2022-05-30T11:17:42.278048
2020-05-02T11:33:31
2020-05-02T11:33:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
365
c
1696.c
int main() { int n,a,b,m,p; int i; double x,y; scanf("%d",&n); scanf("%d %d",&a,&b); x=(1.0*b)/(1.0*a); for(i=1;i<n;i++) { scanf("%d %d",&m,&p); y=(1.0*p)/(1.0*m); if(y-x>0.05) { printf("better\n"); } else if (x-y>0.05) { printf("worse\n"); } else { prin...
bd8f53473af0cbc45e6f7a9a5381b315c82bde2a
33ad34f016d7b92bee09a1f206f013418a1f651c
/415. Add Strings.cpp
331e34d602ab4fbb115ecfc0e102e8af21cafa35
[]
no_license
piyushkhemka/Leetcode
a6e4e8c71948f92d47a23ba31e3a7373338ec558
0e7b8064c7e5c1c9bf1cf646a1221848220f30e8
refs/heads/master
2020-04-03T20:57:06.606598
2017-11-23T10:33:16
2017-11-23T10:33:16
58,159,096
3
0
null
null
null
null
UTF-8
C++
false
false
1,115
cpp
415. Add Strings.cpp
class Solution { public: string addStrings(string num1, string num2) { if(num1.empty() && num2.empty()) return ""; if(num1.empty()) return num2; if(num2.empty()) return num1; int n = num1.length()-1; int m = num2.length()-1; str...
7d3867d646534c9c450c472c4ad2b4158db2383c
317f2542cd92aa527c2e17af5ef609887a298766
/tools/target_10_2_0_1155/qnx6/usr/include/bb/cascades/resources/multiselecthandler.h
aafc782b3318e0a6e19418700d10f812ee04d138
[]
no_license
sborpo/bb10qnx
ec77f2a96546631dc38b8cc4680c78a1ee09b2a8
33a4b75a3f56806f804c7462d5803b8ab11080f4
refs/heads/master
2020-07-05T06:53:13.352611
2014-12-12T07:39:35
2014-12-12T07:39:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,226
h
multiselecthandler.h
/* Copyright (C) 2011-2013 Research In Motion Limited. Proprietary and confidential. */ #ifndef cascades_multiselecthandler_h #define cascades_multiselecthandler_h #include <bb/cascades/bbcascades_global.h> #include <bb/cascades/core/uiobject.h> #include <bb/cascades/resources/actionitem.h> namespace bb { namesp...
a763456bfd51b9fef89af1f793cb63ae9c6b8ed0
e7becda0364ffa548d04aa1fe02fccad11f106bd
/Native/build/Tools/ModelPipeline/pch.h
4390d7cc9b8f3f8f4ac504702a16017e25655bef
[]
no_license
btrowbridge/DirectX.MultiMesh.DataDriven
5593b5746fd4abb7fafdb64538bc7fc916c0acbd
e5e7e9db86e3c5272e092ff194e5b86d4ffcc18b
refs/heads/master
2020-06-29T11:00:20.745244
2016-11-22T22:03:01
2016-11-22T22:03:01
74,432,732
0
0
null
null
null
null
UTF-8
C++
false
false
591
h
pch.h
#pragma once #include "targetver.h" #include <stdio.h> #if defined(DEBUG) || defined(_DEBUG) #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> #endif #include <wrl.h> #include <DirectXMath.h> #include <memory> #include <vector> #include <iostream> #include <fstream> #include <cstdint> #include <stri...
729b24f262a8bfbc1bb8abc9af4b57495873866e
e96a0bc65d1e015881030f3f94e2145bb2b163ea
/ABC/c154/c.cpp
3ba317fc924a46a24b622452c6db8d9aa4f011ee
[]
no_license
TimTam725/Atcoder
85a8d2f1961da9ed873312e90bd357f46eb2892b
067dcb03e6ad2f311f0b4de911fae273cee5113c
refs/heads/main
2023-06-06T02:06:34.833164
2021-06-20T06:22:01
2021-06-20T06:22:01
378,565,753
0
0
null
null
null
null
UTF-8
C++
false
false
766
cpp
c.cpp
#include<bits/stdc++.h> #include<iomanip> using namespace std; typedef long long ll; typedef long l; typedef pair<int,int> P; #define rep(i,n) for(int i=0;i<n;i++) #define fs first #define sc second #define pb push_back #define mp make_pair #define eb emplace_back #define ALL(A) A.begin(),A.end() const do...
92be074646e7c8e605a2465dd846481998991720
617d14f5b3d77333541b906bf96b8ef36ed73dfc
/0452.cpp
02f7f0b92856a457cba28f68a5e3959f945f66c7
[]
no_license
dcyril233/LeetCode
a9b755941447e294c9ad8db14ee5da6c22b2d119
ba8116a35ba5c7cd67eebb06b32bd56903dcc081
refs/heads/master
2023-04-15T14:14:26.529701
2021-04-23T09:54:06
2021-04-23T09:54:06
300,212,577
0
0
null
null
null
null
UTF-8
C++
false
false
1,449
cpp
0452.cpp
#ifdef LEETCODE #include <LeetCodeL.hpp> #endif class Solution { public: int findMinArrowShots(vector<vector<int>>& points) { sort(points.begin(), points.end(), [](vector<int> &a, vector<int> &b){ return a[1] < b[1]; }); int n = points.size(); if(n == 0) retu...
369bf021b5f12f2ae3f857c3089033ea3a02aad6
4bef310305aa76aebb4cba66f117566ab14c8eeb
/MiCrOmAcRo/micromacro/src/main.cpp
53f7d2f943fba5fb2d2cd01d4b4c0b960cb963d5
[ "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
tectronics/rom-bot1
803baf71128040451f17f41f779162fdda537ffc
404c667c2b3cd98bb2c6a2e88a6c7769adcb3fab
refs/heads/master
2018-01-11T14:48:11.133463
2013-08-09T14:36:20
2013-08-09T14:36:20
47,052,526
0
0
null
null
null
null
UTF-8
C++
false
false
4,171
cpp
main.cpp
#include "main.h" #include <string> #include <vector> #include <stdio.h> #include <stdlib.h> #include <iostream> #include "macro.h" #include "luaglue.h" #include "luaengine.h" #include "misc.h" #include "color.h" #include "filesystem.h" #include "logger.h" #include "error.h" int mainRunning; in...
6f79df527b0e164da328405411e4b2e20ef07813
8485fc3c53cf2fa541be4a5fee606d4958478c5d
/TTCtrl/Waves.h
5f4a115f6ea2dce00719f0f14cbcc4ecbb8c0d35
[]
no_license
jaredmales/MagAO
8c5a6136dedab9ce0de8d612a8f6cf31cfef6bbf
3d5b87d9e440831c7ede81fd70e74c335d630bbf
refs/heads/master
2021-01-21T22:21:48.942524
2017-09-01T19:10:45
2017-09-01T19:10:45
102,152,105
0
1
null
null
null
null
UTF-8
C++
false
false
2,875
h
Waves.h
#ifndef TT_WAVES_H #define TT_WAVES_H #include "TTCtrl.h" #include "TTCtrlExceptions.h" #include "BcuLib/BcuCommon.h" using namespace Arcetri::Bcu; //@Class: Waves // // Defines K sine waves for the tip-tilt generator, that is // the low-level parameters for te TTCtrl. // (Note: this version supports only K = 3 !!...
3b3134b516e733d3649171ac43724de43bf2a2a4
0b413dffe67f8b3513301a37e2144c5f8b86e9da
/Physics.h
acfc2a3de60c01536cfd25cec51f74e04e1a17e4
[]
no_license
andrew0milne/AR_Pool
4e22b75a323a7cf4eecd32f691408816a120dd45
ac9427dd5e2979c155111be8391228a058788557
refs/heads/master
2020-04-25T22:09:03.574111
2019-02-28T12:23:19
2019-02-28T12:23:19
173,102,196
0
0
null
null
null
null
UTF-8
C++
false
false
648
h
Physics.h
#include <system/platform.h> #include "system\debug_log.h" #include "../build/vs2017/GameObject.h" // FRAMEWORK FORWARD DECLARATIONS namespace gef { class Platform; class SpriteRenderer; class Font; class Renderer3D; class Mesh; class Scene; class InputManager; //class Sphere; } #pragma once class Physics { ...
00e89a11e86ca4fcf35aa968261e8604f0c55508
f72f4707c153fbd3871753bc18c374fb71c8e57b
/practice/Untitled1n.cpp
0b6d5c04732bd410c5f76b02425fdcf0425b4a02
[]
no_license
Real-dev-byte/practice
1f95c3c6494b5e9d33c45f6b57ae2a5b259263b0
1f2043387666d4732bf3423ec0b7a9746d312574
refs/heads/master
2022-02-15T11:10:27.500955
2019-09-09T10:43:24
2019-09-09T10:43:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
528
cpp
Untitled1n.cpp
#include<bits/stdc++.h> using namespace std; int d=0; void recur(int r,int c,int f,int k); int main() { int t; cin>>t; while(t--) { int a,b,k,f=0; cin>>a>>b>>k; recur(a,b,f,k); } } void recur(int r,int c,int f,int k) { if((r<1 || r>8)||(c<1 || c>8)) { return; } else { if(f==k) { d++; return; ...
59235e9656492bfde5b7146196588ca8393c7947
a1637b180744459c7eee5e0428fe10549a19e727
/PixelEffect/PixelEffect.Android/TouchInputDeviceAndroid.h
ccc085767cc04c234f271e06b484da1cf8b03562
[]
no_license
bgsa/JumpFlooding
48528c2780307ef946fc88bf097709e10914823d
d817b93bec9ff516fc71af33a6892781a49cc0b9
refs/heads/master
2020-04-02T02:18:40.332248
2018-12-02T15:26:34
2018-12-02T15:26:34
153,902,696
0
0
null
null
null
null
UTF-8
C++
false
false
656
h
TouchInputDeviceAndroid.h
#pragma once #include <InputDevice.h> #include <TouchInputDevice.h> #include <vector> #include <map> #include <algorithm> using namespace std; class TouchInputDeviceAndroid : public TouchInputDevice { private: vector<TouchInputDeviceHandler*> handlers; map<int, TouchItem*> touchItems; public: void update(long lo...
ab1246523266788ed6365c1458d3ce3648c5f38a
a93205f24d69075f67288aea26c96b8b826ea7d0
/ProjetY/Button.cpp
44b93c8fa86026e472db846d7f56f6feba390e92
[ "Apache-2.0" ]
permissive
asgards1990/UnderSky
3f442d73e483b1c167127df6e93304e31be49e09
44f217a859757bf7eca285d953f0dcd73276e982
refs/heads/master
2020-03-29T22:53:23.510624
2014-04-20T16:44:18
2014-04-20T16:44:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
522
cpp
Button.cpp
#include "Button.h" Button::Button(): hitbox(Point2d(),Point2d()) { //empty } Button::Button(Point2d bottomLeft, Point2d topRight): hitbox(bottomLeft,topRight) { //empty } Button::~Button() { //empty } bool Button::isLeftClickedOn(sf::RenderWindow *window){ if(sf::Mouse::isButtonPressed(sf::Mouse::Left)){ ...
4350e1755e0ff5149c4a398e126d148bc5b5a430
006b80537ff822195c4da35580f46f9f2aec94e0
/mini_synth/Device.h
3d084a8c44dccca74c613a833256422da0521d25
[ "MIT" ]
permissive
0x0c/mini_synth
f408fa640445d98c0aa4c3724c275e9a577d42aa
e86b75fd5c808a70df89961d8a32b3fad472daec
refs/heads/master
2020-04-30T12:59:24.339321
2019-04-02T09:34:25
2019-04-02T09:34:25
176,841,798
1
0
null
null
null
null
UTF-8
C++
false
false
3,431
h
Device.h
#pragma once #include <Arduino.h> #include <Arduino_STM32_PSG.h> #include <U8g2lib.h> #include <string> #include <vector> #include "Key.h" #include "RoterlyEncoder.h" namespace bongorian { namespace mini_synth { class Device { private: const uint8_t _rowIO[3] = { PB3, PB4, PB5 }; const uint8_t _columnIO[4] = ...
fea8871bed1054e4da80079eb4c695af444d5006
9f561d4ce1646b0818b69087b06813a26bb290a5
/Codeforces/C++/A/632A.cpp
8c54696886677b5e57790e0a15447ee1fe6c1a89
[]
no_license
ahmedfci93/Problem-Solving
b5c34601b59075d5b62aead10b8073b6c00f797c
148e9e29bd4fd3cf6fe9f93a7d90983abb83cd38
refs/heads/master
2018-12-22T15:43:55.405718
2018-10-06T16:28:23
2018-10-06T16:28:23
112,637,571
0
0
null
null
null
null
UTF-8
C++
false
false
326
cpp
632A.cpp
#include <iostream> #include <vector> using namespace std; int main() { long long int n ,p,i,pre=1; long long int ans=0; cin>>n>>p; vector<string> pays(n); for(i=0;i<n;i++) cin>>pays[i]; ans=p/2; for(i=n-2;i>=0;i--) { pre*=2; if(pays[i]=="halfplus") { pre++; } ans+=(p/2)*pre; } cout<<ans; retur...
58e86778879288471183891ed47c9a0a31b250ee
33a8178528d13e8d21239117eb7af26108dae6cd
/metiscoinMiner.cpp
2f0d6b5b1209417d34db83d51be4ac8930062572
[]
no_license
Nahimana/xptminer-linux
ba409f4060a5807548af41febc882dc1a9dab00f
27a1ff2ee3ff4d2f0503ea23989d35f44ee76e1f
refs/heads/master
2021-01-17T15:57:58.458232
2014-01-26T16:55:01
2014-01-26T16:55:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,026
cpp
metiscoinMiner.cpp
#include"global.h" void metiscoin_process(minerMetiscoinBlock_t* block) { sph_keccak512_context ctx_keccak; sph_shavite512_context ctx_shavite; sph_metis512_context ctx_metis; static unsigned char pblank[1]; block->nonce = 0; uint32 target = *(uint32*)(block->targetShare+28); uint64 hash0[8]; uint64 hash1[...
94a9f51ef1db33b0283e45ee3221d1ba4013983c
042922a450aa3ad7944cdffead3562c6ce7bfbcf
/tests/test_solver.cpp
33f9884c63862be886dd19dca7c2874e324e4b56
[ "MIT" ]
permissive
lacrymose/polysolve
1317daceb02f60851ae24a3eb01b8eab31666064
a94e9b8ed8302d4b479533c67419f31addb1e987
refs/heads/master
2023-06-04T05:13:24.145186
2021-06-22T23:26:04
2021-06-22T23:26:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,813
cpp
test_solver.cpp
//////////////////////////////////////////////////////////////////////////////// #include <polysolve/FEMSolver.hpp> #include <catch.hpp> #include <iostream> #include <unsupported/Eigen/SparseExtra> //////////////////////////////////////////////////////////////////////////////// using namespace polysolve; TEST_CASE("...
8ba787341d06d2cc6cceffaa686fa948c65f77e6
3b07f6b9d8e4321d160c91c4eebd0b522869dc64
/src/Core/Math/Matrix.hpp
f4e0b6415853bf44acbc260e580e0c4844403e53
[]
no_license
KiriCord/BYTEngine
91ae33fe1313b39201722f228f264286496120db
877182c831d7bed3ff99cd7b1c103438e5253c51
refs/heads/master
2023-08-21T15:22:40.624332
2021-10-24T06:38:30
2021-10-24T06:38:30
283,521,617
1
1
null
null
null
null
UTF-8
C++
false
false
433
hpp
Matrix.hpp
#include "Vector2.hpp" #include "Vector3.hpp" class Matrix { //float matrix[2]; Vector2 matrix[2]; //static Matrix public: void Invert(); void Transpose(); void Orthonormalization(); float Determinant(); Vector2 GetRow(int value) const; Vector2 GetColumn(int value) const; ...
e4bf114387cb5af9d5d4d53b58e4650d46f544d5
76bb5ef47f010b2c492a1332b61c218604cbdb89
/data_structure/boj_10816.cpp
7c4848cead1080cda037eecfa426d175f68b79e1
[]
no_license
yellowsummer9812/winter_algorithm_camp
ab02f92cfc0ac7294eb8b25ab5aa3d337e4ea703
6d116c1887b98fcfe68e66f804d35f958c963b97
refs/heads/master
2023-03-23T22:45:36.773912
2021-03-24T00:48:47
2021-03-24T00:48:47
327,474,366
0
0
null
null
null
null
UTF-8
C++
false
false
400
cpp
boj_10816.cpp
#include <iostream> #define MAX 10000000 typedef long long ll; using namespace std; ll n, m; ll a[2 * MAX + 1]; int main(){ ios_base::sync_with_stdio(0); cin.tie(0), cout.tie(0); cin>> n; ll tmp; for(ll i = 0; i < n; i++){ cin>> tmp; a[tmp + MAX]++; } cin>> m; for(ll i...
a06a2ab36393283b48d3707a705f487793db2a5d
555ade8ec24af779ce30f78f140d011139c2097d
/2504_괄호의값.cpp
9e1b003f973bf85eb80f09c9943918d39ed3d614
[]
no_license
hyeon0121/baekjoon_problem
6222e6c837342d419f15ff45ba948cbc95831286
51dcc8d3b0299d2f2714aa66672ea08588e0a55b
refs/heads/master
2021-08-18T15:43:00.302687
2021-06-16T13:46:16
2021-06-16T13:46:16
201,385,374
0
0
null
null
null
null
UTF-8
C++
false
false
958
cpp
2504_괄호의값.cpp
#include <iostream> #include <vector> #include <stack> using namespace std; int main () { string str; cin >> str; int answer = 0; stack<char> s; int tmp = 1; for (int i = 0; i < str.size(); ++i) { if (str[i]=='(') { tmp *= 2; s.push(str[i]); } else i...
d318404daaea94350205efd97c072e39c5ae108b
308f5596f1c7d382520cfce13ceaa5dff6f4f783
/hphp/runtime/ext/snappy/ext_snappy.cpp
64f23d74009a8a05437e1f2b2487153ed4a565e4
[ "PHP-3.01", "Zend-2.0", "MIT" ]
permissive
facebook/hhvm
7e200a309a1cad5304621b0516f781c689d07a13
d8203129dc7e7bf8639a2b99db596baad3d56b46
refs/heads/master
2023-09-04T04:44:12.892628
2023-09-04T00:43:05
2023-09-04T00:43:05
455,600
10,335
2,326
NOASSERTION
2023-09-14T21:24:04
2010-01-02T01:17:06
C++
UTF-8
C++
false
false
2,106
cpp
ext_snappy.cpp
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
ae218eec0ad8ee2ddd759c95be7b16aa70211ff4
d8f8cd94f057453fdeea69605f0b7990548eff4a
/vlasov/boundaries/outflow.h
7c5f7f189c240fe5c81fa1b761fc27ebdd56a0d4
[ "MIT" ]
permissive
natj/runko
2333e708171f607e1dc62d68fb85a766b5c55169
7cd6375c426723f53c91e31789b7ced72a38c5cb
refs/heads/master
2023-09-04T09:06:35.817058
2023-02-02T13:29:48
2023-02-02T13:29:48
153,752,597
32
19
MIT
2023-09-06T21:10:15
2018-10-19T08:40:56
Python
UTF-8
C++
false
false
977
h
outflow.h
#pragma once #include "../../corgi/corgi.h" #include "../../em-fields/boundaries/damping_tile.h" #include "../../vlasov/tile.h" #include "../spatial-solvers/amr_spatial_solver.h" namespace vlv { namespace outflow { template<size_t D, int S> class Tile : virtual public fields::damping::Tile<D, S>, virtual publi...
7a17491e960b56c2faf7021f76693d98ddfbbb04
3cc1de03a54d9da8ea666de170d97c87e29d7e29
/test_parellelmodel_gainsRC.ino
f28bb0b0a0bd64d2b89f69d32bc660c53b43ad30
[]
no_license
ganna1abhi/AD5933-labview-integration
d742e6e5f160187530a0b2c18b19ae37823aa86a
17764db90896579416baced96495a61828fb490f
refs/heads/master
2020-03-24T06:41:20.073468
2018-08-15T16:24:41
2018-08-15T16:24:41
142,537,671
1
0
null
null
null
null
UTF-8
C++
false
false
7,888
ino
test_parellelmodel_gainsRC.ino
// By Dr. Arda Gozen and Abhishek Gannarapu (abhishek.gannarapu@wsu.edu) // Gain factors calculated at different frequencies starting from 2000 Hz to 100 kHz // in steps of 2000 Hz // A 1.5 Mohm Resistor and 10 pF Capacitor (RC) was used as a reference impedance source #include <WireIA.h> #include <inttypes.h> #inclu...
6c1fdf623dccd8d688e3ed677f910c4a48a70fbe
e16ead64b9c6c8094ce54bcfda9da62289d0eef4
/imgproc/segmentation/ForegroundSegmenterNaiveCRF.cpp
fbd50a0cac6fdaeebecea12f88484e391e6b7a7b
[ "BSD-3-Clause" ]
permissive
Algomorph/surfelwarp
fc8e85164f9d14bad7b00c8af9e528c634c9ddf2
3448229981ff67419ac47126d8f2ac8e9eb3127d
refs/heads/master
2020-07-24T12:30:54.755311
2019-10-22T14:33:25
2019-10-22T14:33:25
207,928,372
3
0
BSD-3-Clause
2019-09-12T00:06:37
2019-09-12T00:06:36
null
UTF-8
C++
false
false
4,852
cpp
ForegroundSegmenterNaiveCRF.cpp
// // Created by wei on 2/24/18. // #include "common/Constants.h" #include "imgproc/segmentation/ForegroundSegmenterNaiveCRF.h" #include "imgproc/segmentation/foreground_crf_window.h" #include "imgproc/segmentation/crf_common.h" #include "common/common_texture_utils.h" #include "visualization/Visualizer.h" void surfe...
eeb4a4287546b0c7362305809b5b0d6c39dae7e3
93b74c8637e843ac74afb696e36230223b0e18ab
/Sphere/model.h
6a0ef4cd4b48450a6e19295ea838930b5524eaee
[]
no_license
denis-bunakalya/Qt
9a4d9858617ebf5d7e770008da828f9f70fbbce3
03648ddb25d7ee7cebb49f13c6a7149dfa248ed8
refs/heads/master
2021-06-27T12:32:55.769759
2017-09-13T06:53:50
2017-09-13T06:53:50
103,364,533
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
h
model.h
#ifndef MODEL_H #define MODEL_H #include <QObject> #include <QImage> class Model : public QObject { Q_OBJECT public: Model(); int getX() const; int getY() const; int getScale() const; int getFilter() const; QImage* getImage(); static const int minX = -1000; static const int m...
41cf15a77a70987c32aa38340cec80ae3111fb77
b70ed7fb7e896813688e1538e6727baa15301bec
/Stack/5) decode_given_sequence.cpp
d5ed419341e562e19367155bc275db44ab20de28
[]
no_license
sagar-barapatre/Data-Structures-and-Algorithms
6b9c83ad1ea081fd2cc3f61f8d19c35a4a6b21f8
8383475e279bea103e623d462b235aa45d6dc315
refs/heads/master
2023-01-29T06:34:59.229690
2020-12-13T02:35:11
2020-12-13T02:35:11
272,883,213
6
1
null
null
null
null
UTF-8
C++
false
false
422
cpp
5) decode_given_sequence.cpp
#include<iostream> #include<stack> using namespace std; string decodeMinimum(string str) { string result = ""; stack<int> s; for (int i = 0 ; i <= str.length() ; i++) { s.push(i + 1); if (i == str.length() || str[i] == 'I') { while (!s.empty()) { result += to_string(s.top()); s.pop(); } }...
44cb38f03f8b1c2441347e01a163c568a73a8bbd
7d40f405bf9b73a81a014af4a438da2ee0d73cbe
/parseRegEx/regexToAutomata.cc
b687752c6f956d692a33853a4d06c5826882b001
[ "Apache-2.0" ]
permissive
idea-iitd/ARRIVAL
6447c104c8b27646354fe276342a2e7c8c9d7160
e476da2b376f236c0d3db42ae8af5ad3ddb6db98
refs/heads/master
2021-07-25T13:26:37.775609
2020-05-19T06:05:45
2020-05-19T06:05:45
172,227,158
6
4
null
2019-06-07T10:01:46
2019-02-23T15:01:45
C++
UTF-8
C++
false
false
5,761
cc
regexToAutomata.cc
#ifndef automata_H #include "nodeAutomata.cc" #define automata_H #endif #include <stack> #include <iostream> automata *conversionNode(string regex) { stack<automata *> automatons; stack<char> operators; if (regex[0] == 'U') { automata *curr = new automata(-1); curr->pl...
7bcc178ff0eebc7a0f064e9110042d114bc19bfd
6c57b1f26dabd8bb24a41471ced5e0d1ac30735b
/TBS/include/TBS/NamedActivity.h
2d545a03a54312bd57afbd9a0871eff220fa3798
[]
no_license
hadzim/bb
555bb50465fbd604c56c755cdee2cce796118322
a6f43a9780753242e5e9f2af804c5233af4a920e
refs/heads/master
2021-01-21T04:54:53.835407
2016-06-06T06:31:55
2016-06-06T06:31:55
17,916,029
0
0
null
null
null
null
UTF-8
C++
false
false
3,873
h
NamedActivity.h
/* * NamedActivity.h * * Created on: 9.12.2011 * Author: Honza */ #ifndef NAMEDACTIVITY_H_ #define NAMEDACTIVITY_H_ #include "Poco/Foundation.h" #include "Poco/RunnableAdapter.h" #include "Poco/ThreadPool.h" #include "Poco/Event.h" #include "Poco/Mutex.h" #include "TBS/Log.h" namespace TBS { template...
dfa10e2124b0532775eb070080195355c9d8c843
7c96a7c46cf53bdb5d5e08a45b36b6fceacab5f0
/ThirdParty/ioss/vtkioss/text_mesh/Iotm_TextMeshUtils.h
41272fded3c02a73a1778d03fd524bac78b7628e
[ "BSD-3-Clause" ]
permissive
QuanPengWang/VTK
b4dca79a67b5d124e128b7978b5f0470899c0818
6a2b5e8d4e6f5b2184ca7750b624af076b61dd1a
refs/heads/master
2022-04-30T14:18:48.214123
2022-03-16T06:24:24
2022-03-16T06:24:24
200,147,417
0
0
NOASSERTION
2022-03-16T06:24:25
2019-08-02T02:04:28
C++
UTF-8
C++
false
false
73,006
h
Iotm_TextMeshUtils.h
#pragma once // ####################### Start Clang Header Tool Managed Headers ######################## // clang-format off #include <ctype.h> // for toupper #include <stddef.h> // for size_t #include <algorithm> // fo...
3286f03213958bf2c7d6921662a428f4ccf1df30
dc87786cad39bcce3fe522e2863fa3cab6bd0b37
/Source/Utils/BufferFormat.cpp
6231a31d6ac7efdde1531223d36642b3ec10ddc2
[ "MIT" ]
permissive
Aljenci/ModernGL
dca6234711f057c77884e89786814e01262ef1c3
02aa3518db6ae49742ee33dbfbdcd6e5937a49ea
refs/heads/master
2021-01-22T04:49:29.905307
2017-02-10T17:48:10
2017-02-10T17:48:10
81,587,693
0
0
null
2017-02-10T17:11:38
2017-02-10T17:11:37
null
UTF-8
C++
false
false
1,651
cpp
BufferFormat.cpp
#include "BufferFormat.hpp" #include "Utils/OpenGL.hpp" FormatNode * InvalidFormat = (FormatNode *)(-1); FormatIterator::FormatIterator(const char * str) : ptr(str) { } FormatInfo FormatIterator::info() { FormatInfo info; info.valid = true; info.nodes = 0; info.size = 0; FormatIterator it = FormatIterator(ptr...
b11606a51b6a3fef29295c09c7b870e4b1d3d5e0
b3086689ea407a1b4b57db933eb7c9dae6852902
/include/mpel/core/planner.hpp
bc809b4f510a2d4dd5f25c9d255c84ad17b59f87
[]
no_license
lakshayg/mpel2
6c5d4d8d0ae53db9bc3d2ecbf3832f89fec1cc6b
b807b9cee1da91b57966f2ec7fc3ca998237a7b4
refs/heads/master
2021-04-27T00:09:00.228170
2018-03-02T18:56:24
2018-03-04T04:54:49
123,758,196
0
0
null
null
null
null
UTF-8
C++
false
false
1,003
hpp
planner.hpp
#ifndef MPEL_PLANNER #define MPEL_PLANNER #include "mpel/core/graph_builder.hpp" #include "mpel/core/graph_search.hpp" #include "mpel/core/interpolator.hpp" #include "mpel/core/primitives/graph.hpp" #include "mpel/core/primitives/path.hpp" #include "mpel/core/primitives/problem_definition.hpp" #include "mpel/core/prim...
7e9453eb5c16118328fda808dead1e711307ea58
be596f44528920580e721d5554808bff85ac1883
/Bank/client.cpp
b946447a285a2a44755ef1534ff7cb2631f0df2e
[]
no_license
Mrjarkos/2019_1_d3_prc4_CabuyaAlberto_C-rdenasJavier_RoncancioBrayan
bf98eb521bd06ac53edb0ecf08a2e4886764fccc
00e5ffe1fc1483358cf02ce2803b3c0e9b12af67
refs/heads/master
2022-02-01T05:54:39.654354
2019-04-24T13:36:49
2019-04-24T13:36:49
181,575,180
0
0
null
null
null
null
UTF-8
C++
false
false
3,240
cpp
client.cpp
#include "client.h" #include <QDebug> Client::Client(char* cc,char* contra ) { Cc= cc; Contra= contra; for (int i=0;i<msjzise;i++) { msg[i]='0'; } } void Client::verifyClient(){ fd= open(pipename, O_WRONLY); if (fd<0){ close(fd); strcpy(msg,"No se pudo abrir la comunicación, in...
d49e8180dc2cd6d42fbac37de4cd23608f27b003
c365d25ee2237b3c260198827b33b0253d43eaf4
/codeforces/667-a.cpp
62373fc3f47536c43414b9ea029fb6ecb07d28b8
[]
no_license
germanohn/competitive-programming
fb1249910ce951fe290e9a5be3876d3870ab8aa3
fab9dc0e2998dd395c1b9d6639f8c187cf637669
refs/heads/master
2021-06-12T08:17:52.907705
2021-03-17T19:06:19
2021-03-17T19:06:19
58,595,999
0
0
null
null
null
null
UTF-8
C++
false
false
593
cpp
667-a.cpp
#include <bits/stdc++.h> #define ff first #define ss second #define pb push_back #define mp make_pair #define debug (args...) fprintf (stderr, args) using namespace std; typedef long long ll; typedef pair<int, int> pii; double area, d, h, v, e, E; double eps = 1e-5; double pi = acos (-1); int main () { scanf ("%l...
d1aa8ad5fda51e0c581d7f3996bc383990791ed3
edc5b1e0bbfe683f23dd14c811f2da456f5603a1
/include/subsys/Arm.h
9dcc10ade6b75bf230d9487a1ca5aae69408ce66
[ "MIT" ]
permissive
JacksterGamingYT/2019DestinationDeepSpace
fca67d7dbe022ca2289af8bab3091f368e21073e
e863c5b9a7c31e6edd41eb09bb2b33cfde7669d5
refs/heads/master
2020-04-22T19:18:25.859421
2019-02-12T13:49:49
2019-02-12T13:49:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,929
h
Arm.h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
f8a3ac8b6abc99da398e71065b15f62dff0a0e26
61343c326fbd76e5bc2c02c700fd6f879deefa39
/Plane.h
fb061c6f11ae9f81ff790d88b99712649bfff692
[]
no_license
mvanmeurs/MatrixOperations
8ccd87d6a04fab9827be433020a750a36997c4bc
6f330946f258d7c95b71ba541da4a567193f80dd
refs/heads/master
2021-09-04T20:02:03.834756
2018-01-22T01:01:28
2018-01-22T01:01:28
112,414,496
0
1
null
null
null
null
UTF-8
C++
false
false
5,742
h
Plane.h
/* Plane.h defines Plane class methods. * Made by Mason VanMeurs * Student at Calvin College in Grand Rapids Michigan * Date:12/2/17 */ #ifndef MATRIXOPERATIONS_PLANE_H #define MATRIXOPERATIONS_PLANE_H #include "Vec.h" #include <cstdlib> #include "cmath" #include "Point.h" using namespace std; template<class It...
80ea184189903dc2ddf37a6fbc17dcded84820fc
b240383bfe38f94a7753293aca1a2d8ee225a856
/Final/Dataset/B2016_Z2_Z4/student9589.cpp
28cbe77b019b0bbef1d37df3e90d30c142b1ba9d
[ "MIT" ]
permissive
Team-PyRated/PyRated
2daa9866e45c75814c24fe073b8be321822f3e4c
1df171c8a5a98977b7a96ee298a288314d1b1b96
refs/heads/main
2023-06-22T08:27:53.615611
2021-07-17T18:44:37
2021-07-17T18:44:37
354,628,313
0
0
null
null
null
null
UTF-8
C++
false
false
4,462
cpp
student9589.cpp
/*B 16/17, Zadaća 2, Zadatak 4 NAPOMENA: i javni ATo-vi su dio postavke Autotestovi by Ivona Ivkovic. Sva pitanja, sugestije i prijave gresaka saljite na mail: iivkovic2@etf.unsa.ba */ #include <iostream> #include <new> #include <algorithm> #include <vector> #include <string> #include <cstring> #i...
81cd93a7e7efcb4f23110f817fb9938e45615178
0d0fd5bebda3a6305c3f8d5017b99c0f28c4667e
/800/Vitalityandpie.cpp
da368bc8f65fae2c8a27e5334b440a2323bd2d1e
[]
no_license
manmeet-kaur18/CodeForces_Leetcode
9b7b88daa8ba8ecca48d92a665bf2ac11a437f0a
8c129d6a6d1ffb57e224f573177c443baf835ad6
refs/heads/master
2023-07-13T09:50:42.888171
2021-08-26T05:00:44
2021-08-26T05:00:44
287,578,703
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
Vitalityandpie.cpp
#include<bits/stdc++.h> #include<map> #include<string> using namespace std; int main(){ int n; cin>> n; char arr[2*n-2]; for(int i=0;i<(2*n-2);i++){ char y; cin>>y; arr[i]=y; } int cost = 0; map<char,int> m; for(int i=0;i<(2*n-2);i++){ if(i%2 == 0){ if(m.find(arr[i])== m.end()){ m...
70f3753ddea37e89acedaec3731b521a4584ec41
e2021e9651b63a6ff9718ba628d3ad9f6b8ae981
/1195/4447788_AC_704MS_4508K.cc
f7462db74ee90c6dd0664172e398e4799e21ca84
[ "Apache-2.0" ]
permissive
fanmengcheng/twilight-poj-solution
36831f1a9b2d8bc020988e0606b240527a381754
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
refs/heads/master
2020-04-08T22:36:47.267071
2015-05-26T10:21:03
2015-05-26T10:25:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,417
cc
4447788_AC_704MS_4508K.cc
/********************************************************************** * Online Judge : POJ * Problem Title : Mobile phones * ID : 1195 * Date : 12/2/2008 * Time : 20:49:34 * Computer Name : EVERLASTING-PC *****************************************...
9d5482f19d0f537f94dbc57ed14c6babf1bc0b10
f6fca6c43ad746c45c8321541178eb02e2cb555e
/icpp/Source/RuntimeException.cpp
e389ed11bbe5c58bdb4d5fa0877a1a0387c2bac4
[]
no_license
Asakra/alterplast
da271c590b32767953f09266fed1569831aa78cb
682e1c2d2f4246183e9b8284d8cf2dbc14f6e228
refs/heads/master
2023-06-22T04:16:34.924155
2021-07-16T06:20:20
2021-07-16T06:20:20
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
6,561
cpp
RuntimeException.cpp
#include "stdafx.h" #include "RuntimeException.h" ////////////////////////////////////////////////////////////////////////// // CRuntimeExceptionClass class (c) artbear 2007-2008 ////////////////////////////////////////////////////////////////////////// // ======================================================...
809f4ffe72df88c8e18f51a01f4f426febe811dd
4ea4c266ca596699ccd964e4d55dce0168ff2246
/tucsenApp/src/tucsen.cpp
5f16bbbb6e0c45d545e51c3fbdf4ca4a990f0048
[]
no_license
ZRen86/ADTucsen
25d61fba02a63d86f8ec038cd3500473c9f5272d
1eb5567e71a32d75caa811967152f9bf53917844
refs/heads/master
2022-01-10T14:12:22.663928
2019-06-22T16:22:40
2019-06-22T16:22:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
30,769
cpp
tucsen.cpp
/* This is a driver for the TUcsen Dhyana 900D camera. It should work for all * Tucsen USB3 cameras that use the TUCAM api. * * Author: David Vine * Date : 28 October 2017 * * Based on Mark Rivers PointGrey driver. */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <epicsEvent.h> #include...