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
6852cefe33918f74c8154af62bb33161ab88ba63
6cc00c07a75bf18a2b1824383c3acc050098d9ed
/Gulf Programming Contest/2017/league/league.cpp
ebda9ca286162a5126c053b5bf1883df64682293
[ "MIT" ]
permissive
Mohammed-Shoaib/Coding-Problems
ac681c16c0f7c6d83f7cb46be71ea304d238344e
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
refs/heads/master
2022-06-14T02:24:10.316962
2022-03-20T20:04:16
2022-03-20T20:04:16
145,226,886
75
31
MIT
2020-10-02T07:46:58
2018-08-18T14:31:33
C++
UTF-8
C++
false
false
316
cpp
league.cpp
#include <iostream> #include <cstdio> using namespace std; int league(int N) { return (N - 1) * 6; } int main() { freopen("league.in", "r", stdin); freopen("output.out", "w", stdout); int T, k = 1; cin >> T; while (T--) { int N; cin >> N; cout << k << ". " << league(N) << endl; k++; } return 0; }
62c768ee0ddea580ae778faa3ec3c655a3bdb2a5
375f899736bbec5c900db342efec3ce8a19edbe9
/quickSort.cpp
116b54726c3163d7e2e335e7503580240220d37f
[]
no_license
davischoll/Estruturas-de-Dados
b10f31a65d900aa989ea4f205a8d5301527af749
0a2612df36577de0825697ed6201544b6e8cd584
refs/heads/main
2023-03-28T06:38:57.439015
2021-04-04T04:20:07
2021-04-04T04:20:07
352,410,903
0
0
null
null
null
null
UTF-8
C++
false
false
1,334
cpp
quickSort.cpp
#include <stdio.h> #include <stdlib.h> #include <time.h> void QuickSort (int vet[], int inicio, int fim); int particao (int vet[], int inicio, int fim); void troca(int vet[], int inicio, int fim); #define TAMANHOVETOR 10 int main() { int vet[TAMANHOVETOR] = {0}; srand(time(NULL)); for (int i = 0; i < TAMA...
3b94caf16ad22603fea243903895d5dc49d1feb6
d0e9c3e968af7f7e6b444f5e89e04dfbbdc14b91
/utilities/convert/basil/multiclip.cc
739f59664f6575dc49bdf53efc34aeea842fb3a9
[]
no_license
jokulhlaup/elle_patch
5c720383776c96ee41e3a3bcdd72ba95afa10724
86d1cea0e336854193d99bb7856446ed2b85e59d
refs/heads/master
2016-09-01T22:20:11.142255
2013-01-29T01:51:45
2013-01-29T01:51:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,030
cc
multiclip.cc
#include <stdio.h> #include <vector> #include "attrib.h" #include "polyarea.h" #include "multiclip.h" #include "errnum.h" #include "error.h" int multiclip(std::vector<Coords> &pv2, std::vector<Coords> &pv1, std::vector<std::vector<Coords> > &pclip ) { int cnt, i, err=0; int op=PBO_ISECT; Coords pos; ...
67cbd0248881ac9cb43c8f298a6124e0ffea94d0
739cd742ce780376ce0c6fb228b158d4617330ea
/fishtoeque/src/main.cpp
50c2d66f003c1777880681cdfedb5028d088ef5d
[]
no_license
dimitrisPs/opencv_360video
a5bbf9dfd99a97ab022be429651dace77fdad8eb
f50b20fdc8c7bd97d8ae0b3b904a8b90f77c7c62
refs/heads/master
2023-06-28T19:53:20.562255
2021-07-25T13:28:47
2021-07-25T13:28:47
53,042,819
1
0
null
null
null
null
UTF-8
C++
false
false
13,281
cpp
main.cpp
#include "main.hpp" int main () { /*create windows for src and result displaying */ cv::namedWindow("src Img",cv::WINDOW_NORMAL); //passing the autosize option prevents user to resize the window cv::namedWindow("result Img",cv::WINDOW_NORMAL); //window's size is the same as the img resolution cv::namedWindow("r...
166dd32f0cfa5d9373c3383e678315ae0defdc69
3f7028cc89a79582266a19acbde0d6b066a568de
/source/extensions/config_subscription/grpc/new_delta_subscription_state.h
03d949bac1b802b51b9b1c69e7a8e53b67551dc1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
envoyproxy/envoy
882d3c7f316bf755889fb628bee514bb2f6f66f0
72f129d273fa32f49581db3abbaf4b62e3e3703c
refs/heads/main
2023-08-31T09:20:01.278000
2023-08-31T08:58:36
2023-08-31T08:58:36
65,214,191
21,404
4,756
Apache-2.0
2023-09-14T21:56:37
2016-08-08T15:07:24
C++
UTF-8
C++
false
false
9,833
h
new_delta_subscription_state.h
#pragma once #include "envoy/config/subscription.h" #include "envoy/config/xds_config_tracker.h" #include "envoy/event/dispatcher.h" #include "envoy/grpc/status.h" #include "envoy/local_info/local_info.h" #include "envoy/service/discovery/v3/discovery.pb.h" #include "source/common/common/assert.h" #include "source/co...
cf6d4110341658f365c743246ce8574a506d4c9b
54320ef64dd0548a5b5016feed14c606a5fd1e76
/Anush_Qalashyan/C++/Homework/30.10.2015/max_min_sum.cpp
8b4eff3f16cb444bcf67b8770642afd0445d426a
[]
no_license
ITC-Vanadzor/ITC-7
9859ebbd0d824d3a480ea281bbdb14edbb6a374e
d2bfcdc3a1faea4cdc1d7e555404445ac8768c66
refs/heads/master
2021-01-17T15:43:29.646485
2019-02-17T19:07:36
2019-02-17T19:07:36
44,699,731
0
4
null
2017-04-13T18:45:36
2015-10-21T19:38:34
JavaScript
UTF-8
C++
false
false
774
cpp
max_min_sum.cpp
#include <iostream> int getMinMax(int* A, int size, int Min_out, int Max_out) { for (int i = 0; i < size; ++i) { if(i % 2 == 0) { Max_out = A[i]; if (Max_out < A[i]) { Max_out = A[i]; } } else { ...
9fdae3350b76d25da9a85a92ecdb109425cecf6c
f27c9ab5d8bffdac3d1511044ac26754895cbf37
/cores/zuno/Print.h
f14a1faa7d83a2bb29c9274ae076b9f46c0e5baf
[]
no_license
Wismgari/Z-Uno-2.1.4
17fbf69910c926e2d9ad74bc12ca1e7c37cba3f2
5762ded25109692a25eefd2d5aee74e3300454e1
refs/heads/master
2020-03-31T04:58:16.560084
2018-10-07T10:13:12
2018-10-07T10:13:12
151,927,771
0
0
null
null
null
null
UTF-8
C++
false
false
1,740
h
Print.h
/* Print.h - Base class that provides print() and println() Copyright (c) 2008 David A. Mellis. All right reserved. Simplified for Z-Uno project by Z-Wave.Me (c) 2016 */ #ifndef Print_h #define Print_h #include "ArduinoTypes.h" #include "c_lib_minimal.h" #define DEC 10 #define HEX 16 #define OCT 8 #define...
39b20379fb1585d93ab51f0ada802ee0b95cdfc2
ca57d57bec37faeb57899a80df5b4d267a536ac5
/src/sun_ray/application.h
06f8219b55defa14bc8d530a7d7cdca3fae11b14
[ "BSD-3-Clause" ]
permissive
fuersten/sun_ray
ed875b2a5a2c0f9fd8bfb7321921b1b70c205a3a
b882d67cd9747f61b50def4c1414e7552ba917c0
refs/heads/main
2023-04-17T04:08:18.860499
2021-04-27T10:15:50
2021-04-27T10:15:50
335,270,596
2
0
BSD-3-Clause
2021-04-27T10:03:57
2021-02-02T11:46:17
C++
UTF-8
C++
false
false
2,219
h
application.h
// // application.h // sun_ray // // Created by Lars-Christian Fürstenberg on 29.02.20. // Copyright © 2020 Lars-Christian Fürstenberg. All rights reserved. // #include <sun_ray/script/engine.h> #include <sun_ray/version.h> #include <fstream> #include <iostream> #include "options.h" namespace sunray { class ...
f40df15edcd6e39272c8503b389ebd33c8a8e478
f623885149f6396c0d308e273e3e370c2f550930
/Project 2/Project 2/testSequence.cpp
ba556dbde96a92ee5645bdcd04002f85a5b86874
[]
no_license
melodychn/CS32
d809f3e3039a920512cb4ea7d528a29ddc9e58f5
bb9aff04af9224a34cba614c5c040cd427c0d155
refs/heads/master
2021-07-16T15:39:54.776429
2020-06-21T18:12:00
2020-06-21T18:12:00
179,424,733
0
0
null
null
null
null
UTF-8
C++
false
false
5,501
cpp
testSequence.cpp
// // testnewSequence.cpp // HW1 // // Created by Melody Chen on 4/11/19. // Copyright © 2019 Melody Chen. All rights reserved. // #include <iostream> #include "Sequence.h" #include <cassert> using namespace std; int main() { Sequence a; assert(a.insert(0,1)==0); //testing insert with size 0 assert(a....
16176c0f13dc1bd1ba4645954de06884c9f6f2c1
7964a53ada1c109f96c78ee720fd3827c3c34ae3
/basics.h
a724dacc832575847546bc03eeaa536b58ba415f
[]
no_license
tobiasbuescher/Source-code
777fa221c6ee102566a41130447e5775819a96f9
e4e8d05ad2ae9b19a15a6bcf7a74acf8a4b4d564
refs/heads/master
2021-01-11T21:05:20.711749
2017-01-25T10:55:14
2017-01-25T10:55:14
79,242,765
0
1
null
2017-01-25T09:10:09
2017-01-17T15:40:59
C++
UTF-8
C++
false
false
17,807
h
basics.h
/* basics.h */ ////////////////////////////////////////// // basic types and functions // // definitions // ////////////////////////////////////////// #ifndef __BASICS_H_ #define __BASICS_H_ #include <iostream> #include <fstream> #include <limits> #include <cstring> #include <cstdlib> #include <cmath> #include...
305d65b5e463c1b7a87558c3786a4e6e3128dcc9
9a32178d3c2fdf377d84f65b55989264e67f40e9
/2002/ALL VC SAMPLES/MFC/advanced/fire/firedlg.cpp
40bf00d757c5f6382a85b953a0e799aed10222cd
[]
no_license
philipwolfe/Samples
5e5cc1376575ac6361b62a3554c98626f153b694
7eb703287a6d07596a141c4557f271efe6c1666f
refs/heads/master
2021-12-25T12:52:52.616313
2021-12-19T04:26:29
2021-12-19T04:26:29
250,445,305
3
1
null
null
null
null
UTF-8
C++
false
false
10,884
cpp
firedlg.cpp
// firedlg.cpp : implementation file // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provid...
d57019523876d5722a04d88803e9c8add29de2ac
dd1e8c0c9afcfa519046f7a240a65b6e3d3d55c3
/search/DFS/UVA620.cpp
3d8639be73a377ca5ffc7198884c3b38231ee056
[]
no_license
LYoGA/ACM
654db40e5d15b442777b097dbac1260d77444849
b5bccef4b61648471c533671b520fdb83eeff7d6
refs/heads/master
2021-01-23T12:05:31.973037
2014-12-14T12:25:19
2014-12-14T12:25:19
12,356,200
1
0
null
null
null
null
UTF-8
C++
false
false
918
cpp
UVA620.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> using namespace std; const int MAXN = 105; char str[MAXN]; int dfs(int b, int e) { if (b == e && str[b] == 'A') return 1; if (e - b >= 1 && str[e] == 'A' && dfs(b, e - 1)) return 1; if (e - b >...
ad55fe7eea5938e3d7595045918574e6aa912644
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/Leetcode/Algorithm/cpp/00542-01 Matrix.cc
966a7375ab3f5b7eba1dede107e331997326b7f6
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
C++
false
false
1,342
cc
00542-01 Matrix.cc
const int INF = 0x3f3f3f3f; const int my[] = {-1, 0, 1, 0}; const int mx[] = {0, 1, 0, -1}; struct MyPoint { int x, y; }; class Solution { public: vector<vector<int>> updateMatrix(vector<vector<int>>& matrix) { n = matrix.size(); if (n == 0) { return res; } m = matr...
b64b2fcbc0837aaba97269c4479001f924785301
14aa98620601084d587c99bfefe80cba5affb82b
/src/src_c/Fields/Pimpact_ModeField.hpp
ef19ecd7be09cde2936e20d939903255fc5ca934
[ "MIT" ]
permissive
huppd/PINTimpact
fe810576ab407b1f16e435b897710ea9b662701a
766b2ef4d2fa9e6727965e48a3fba7b752074850
refs/heads/master
2021-05-05T13:59:22.848668
2018-06-26T13:21:53
2018-06-26T13:21:53
105,018,801
0
0
null
null
null
null
UTF-8
C++
false
false
8,242
hpp
Pimpact_ModeField.hpp
/// Pimpact /// \author huppd /// \date 2018 #pragma once #ifndef PIMPACT_MODEFIELD_HPP #define PIMPACT_MODEFIELD_HPP #include <vector> #include <iostream> #include "mpi.h" #include "Teuchos_ArrayRCP.hpp" #include "Teuchos_RCP.hpp" #include "Teuchos_ScalarTraitsDecl.hpp" #include "Teuchos_SerialDenseMatrix.hpp" ...
4c4e6c63aeaae8e4897a6c5497c6e1d9bcf43643
542f386fa521225f2f70055fa2d43290f40f5385
/Winconvert.hpp
fa8d052978e68daa8943d349dbfe96286b314896
[]
no_license
liuhouer/ClockTool
33937af25f0ccd92b396455aa7e1d3a23ad27af5
32407fe91ca991165003e5d067b503ecedd01c0c
refs/heads/master
2021-01-10T08:12:23.734657
2015-11-16T02:00:58
2015-11-16T02:00:58
46,215,657
3
4
null
null
null
null
UTF-8
C++
false
false
6,194
hpp
Winconvert.hpp
// Borland C++ Builder // Copyright (c) 1995, 2005 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'Winconvert.pas' rev: 10.00 #ifndef WinconvertHPP #define WinconvertHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warning...
1485e6c9280e5ca6d9ab970dd06d5bc2cff9a988
b1522a9fb02cdc40d9cf089da94515ab03b6ba00
/C++/Mini Twitter.cpp
c53e7ad3c7d2ac126bbe44012aae308156d4f153
[ "MIT" ]
permissive
kmather73/LintCode
b16ff60aa8037ec406425898bdf98d3d1d7d33ac
a31d5a61c856f404520a4465d1da9d9a5c30d1ba
refs/heads/master
2020-12-24T19:28:03.827812
2016-06-08T18:48:04
2016-06-08T18:48:04
56,944,897
0
1
null
null
null
null
UTF-8
C++
false
false
3,126
cpp
Mini Twitter.cpp
/** * Definition of Tweet: * class Tweet { * public: * int id; * int user_id; * String text; * static Tweet create(int user_id, string tweet_text) { * // This will create a new tweet object, * // and auto fill id * } * } */ class MiniTwitter { public: MiniTwitte...
bc4eed209b4f48ad60a649c901094d0b55912909
52b8f5a7c1e04472927d8e9d7b13aeb17b9324fb
/djikstras.cpp
868ff56d210b17b2c5273b671addac7e9219f09b
[]
no_license
NDThacker/cpp_practice
1c55743c1870a6731c5308186497823baff6767f
c33be90c0072bd2f294ae691e6b334657a5b6391
refs/heads/master
2022-10-01T11:43:29.936481
2022-09-18T07:05:59
2022-09-18T07:05:59
212,974,410
0
0
null
null
null
null
UTF-8
C++
false
false
1,112
cpp
djikstras.cpp
#include <iostream> #include <vector> using namespace std; void updateValues(vector<int> &nVec, int **edgeMat, vector<int> &res, int node, int start, int total) { for (int ind = 0; ind < total; ind++) { cout << "In here"; if (edgeMat[node-1][ind] != 1) continue; nVec.push_back(ind+1); if(res[ind] == 0) ...
3a63571a95bc7666593ac7f1ee33cdfaab4727e0
1725d222de24eac0c38de00d3b00d5f27b87c38d
/ my-tel-util/ECG_Android/jni/CoreECGAnalyse/RPosAnalyser.cpp
53564deb2b5c06736cb15087746a8e1378c72db7
[]
no_license
flyfire/my-tel-util
76e7776e3777056f50a59d9105e5e90d1db851b2
837149c71819272313c1367a09b29509ebd8522f
refs/heads/master
2021-01-10T11:42:08.005663
2014-02-19T05:55:31
2014-02-19T05:55:31
46,967,698
0
0
null
null
null
null
GB18030
C++
false
false
14,114
cpp
RPosAnalyser.cpp
#include "RPosAnalyser.h" #include "LTSTAnalyst.h" /*/// <summary> /// RR间期上限值,超过此值可以认为数据不正常 /// </summary> private const int MaxRRLength = 6000; /// <summary> /// RR间期下限值,超过此值可以认为数据不正常 /// </summary> private const int MinRRLength = 30;*/ #define MAX_RR_LENGTH 6000 #define MIN_RR_LENGTH 30 exte...
e9d0820ff71bf17dae91aeea02f0b5f26b95a8f2
d04f0f5618a552ad0c1bb457b644a585d9c7abea
/SixJoint/Task.cpp
0a929e456122a5971290c21890e5014b937296bc
[]
no_license
Nhiemth1985/ArduinoRL
44a5ff19048aa89e4fb541111c94483603cf7ccf
d3859bcfbef08bd87cdb8a3d3214bd451c7cc57c
refs/heads/master
2021-12-16T12:03:31.697932
2017-09-19T05:07:02
2017-09-19T05:07:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
211
cpp
Task.cpp
#include <Arduino.h> #include "Learning.h" ArmState startState = { 60, 65, 50, 50, 50,100}; ArmState targetState = {100,80, 85,100,100,130}; void pickNewRandomTarget() { chooseRandomState(targetState); }
9c1307eab9e597be97c9665133994654951f5010
0b82c60d4498657538f2dbc15d294e1a9e855776
/Back-End-Compiler/CodeGenNodes/idivNode.hpp
7863144f4ceb2d31b2e0fd07c26b25bb77c78cc9
[]
no_license
vincentrolypoly/Malice
d768d5aadad74008a941014ffe285c656b2ab839
2a4399cd08c001b1a52e028365f66f976bab989b
refs/heads/master
2016-09-06T10:24:55.549117
2014-11-03T13:24:00
2014-11-03T13:24:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
243
hpp
idivNode.hpp
#ifndef IDIV_H #define IDIV_H #include "IA32Nodes.hpp" #include <string> #include <fstream> using namespace std; class idivNode: public IA32Nodes{ string reg1; public: idivNode(string r1); string printSelf(); bool removable(); }; #endif
3eb6ea8872acbeb7e6ac823e138e12c84c8860c3
815648614bd1382e47cb6bcf85daaeaff14f30d1
/src/util/vec2d.cpp
786e3c4d156639e665450907dc514aefdfad8bd9
[]
no_license
adamagatt/sumo
d235519d64bdaee91c6a940e7ec8b6d8ddab84c2
98d1f5488ebc42e6e22ee293d712f3f017359c27
refs/heads/main
2023-01-07T16:17:28.229916
2020-11-01T20:33:04
2020-11-01T20:33:04
301,408,466
0
0
null
null
null
null
UTF-8
C++
false
false
1,386
cpp
vec2d.cpp
#include <cmath> #include <iostream> #include "vec2d.h" Vec2d::Vec2d(float x, float y) : x(x), y(y) { } float Vec2d::getX() const { return x; } float Vec2d::getY() const { return y; } void Vec2d::zero() { x = 0; y = 0; } Vec2d Vec2d::operator-() const { return Vec2d{-x, -y}; } float Vec2d::abs(...
b185260ae516d9f87b9be33ce2e3a3d046f40590
664814da59b39b9c0b0bfc7d40e95b0564df22d4
/Seed/src/Platform/OpenGL/OpenGLTexture.cpp
2674ffeb13feb9446c69d58d30ae41953241d2e2
[ "Apache-2.0" ]
permissive
hightemplarzzyy/Seed
fae93c4140fbab898d0e4910e57b8f9584db0908
d16c5b9f3c1586b09fe3bb25f52c908a939bb09f
refs/heads/master
2020-04-28T03:08:24.599318
2020-02-23T08:00:19
2020-02-23T08:00:19
174,925,003
2
1
null
null
null
null
UTF-8
C++
false
false
7,764
cpp
OpenGLTexture.cpp
#include "Seedpch.h" #include "OpenGLTexture.h" #include <glad/glad.h> #include <stb_image.h> namespace Seed { static GLenum SeedToOpenGLTextureFormat(TextureFormat format) { switch (format) { case TextureFormat::RGB: return GL_RGB; case TextureFormat::RGBA: return GL_RGBA; } return 0; } static int ...
1c1f03bcb3c3c3fd46503ab405f0d7476aac1029
b8bfb544cd43c129882f8a463eccf897b5434067
/src/ofApp.h
7dfe977d2949b499b4329deb4cea94ee4c2786cc
[]
no_license
Michael-Newcombe/Audio-Visualizer
c235fc5b54e6b689fafd86863b60023ec4c51d5c
1b0a80c931fa086ee73ada20013c86dc1dacdbc3
refs/heads/master
2022-11-15T10:27:37.570085
2020-07-16T18:51:58
2020-07-16T18:51:58
275,245,812
0
0
null
null
null
null
UTF-8
C++
false
false
1,669
h
ofApp.h
#pragma once #include "ofMain.h" #include "ofxMaxim.h" #include "maxiGrains.h" #include "ofxGui.h" typedef hannWinFunctor grainPlayerWin; class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x, int y ...
f58e4fd71f9f4873788fa2c5ad6acfdd5d4c6ccb
e8a3c0b3722cacdb99e15693bff0a4333b7ccf16
/Uva Oj/10195..the knights of the round table.cpp
9a7a4190a4b8cd67fc1e8a3fa21bcd681bc537a1
[]
no_license
piyush1146115/Competitive-Programming
690f57acd374892791b16a08e14a686a225f73fa
66c975e0433f30539d826a4c2aa92970570b87bf
refs/heads/master
2023-08-18T03:04:24.680817
2023-08-12T19:15:51
2023-08-12T19:15:51
211,923,913
5
0
null
null
null
null
UTF-8
C++
false
false
515
cpp
10195..the knights of the round table.cpp
#include<bits/stdc++.h> using namespace std; int main() { //freopen("input.txt", "r", stdin); //freopen("output.txt", "w", stdout); double a, b, c, s, ar, rad; while(scanf("%lf %lf %lf",&a, &b, &c) == 3){ if(a + b > c && b + c > a && c + a > b){ s = (a + b + c)/ 2.0; ...
181dd6e39dd307c2ae4e0783f4ead84fe3ebe23f
ca0faa3aec886f5c6af98e059d29b522ecec8ddd
/Exercises4_Federico_Pigozzi.cc
b14ee575ec32c7106922829b65fcdc5f8bffb130
[]
no_license
pigozzif/advanced_programming-2018-19
d0e434cc3aba611528ffe6ee95b46f978e557737
a0d26460df4b3dfed7b2001f63bac6f9e86ee1c4
refs/heads/master
2020-03-31T00:37:29.223671
2019-01-26T15:17:17
2019-01-26T15:17:17
151,747,614
0
0
null
2019-01-17T23:01:28
2018-10-05T16:16:48
C++
UTF-8
C++
false
false
3,518
cc
Exercises4_Federico_Pigozzi.cc
#include <iostream> // Exercise one enum class Month {january=1, february, march, april, may, june, july, august, september, october, november, december}; class Date { int _day; Month _month; int _year; public: Date (const int day, const int month, const int year) : _day{day}, _mont...
d35da615c34ea3ec2c9168a3c6eddcfb1357cbcc
32d798c1b7892a17ba8d34b1c22758315e3aec09
/Kursovaya/Курсовой проект(лабиринт)/Курсовой проект(лабиринт)/Mechanics.h
2e1ab5c70e95df146b4443785ba8eecf0f9249d6
[]
no_license
W3STi/Logic
d52b42572f6353d1a6a71d7ad7240f35f075a2b4
98e2859acd9411fb16fd53ad4b5169552bea64d5
refs/heads/master
2023-02-01T09:35:35.402940
2020-12-16T15:13:21
2020-12-16T15:13:21
294,073,336
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,059
h
Mechanics.h
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<math.h> #include<windows.h> #include<iostream> #include<memory.h> #include<time.h> #include<malloc.h> #include<conio.h> #include<vector> using namespace std; #define KEY_SPACE 32 //определение клавиши "пробел" int ** dynamic_array(size_t h...
474d87a3d0332230b1a0365b64f63f086b0d8e07
e2021e9651b63a6ff9718ba628d3ad9f6b8ae981
/2259/3469065_WA.cc
41c17e7c41f650379ea61a7d1788374b8f604a66
[ "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,188
cc
3469065_WA.cc
#include<iostream> using namespace std; #define MAXN 1000 #define MAXINT 1000000 int qhead[MAXN]; int qtail[MAXN]; int s[MAXINT]; int qsize[MAXN]; int qpos[MAXN]; int qu[MAXN][MAXN]; int h,t,n,i,j,temp,p,test; char str[10]; int main() { //freopen("d:/in.txt","r",stdin); test=0; while(scanf("%d",&n)&&n!=0) { tes...
56ce357406ec80a278668a530288ca5b29394307
2af4a134ad9176f26e3d0d8b81d268dd0c15ec7a
/2d/main.cpp
d5246628c0fdde9bd7c4b355614aba8e18d8d935
[ "MIT" ]
permissive
kychern/gbc
12e1cc2d791968c8e9403456295470f7247151f1
7436053037c8627a9e0a5d0877f8df76facbe322
refs/heads/master
2020-03-16T19:22:12.571591
2018-05-10T15:39:08
2018-05-10T15:39:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,524
cpp
main.cpp
// Copyright Dmitry Anisimov danston@ymail.com (c) 2016-2017. // Some examples on how to use the coordinate classes. // README: /* A quick way to incorporate my code in your code is to implement a wrapper that converts data stored in your data structures to my data structures. As a quick example: std::v...
54d44da945ff4f85fe643ba3c9a97387197d9733
daca8431e24ce78ea70ed32e9bb97ccb70b6f8d6
/Src/Engine/Core/Vulkan/vulkanManager.h
85334774c1fb324c8b14cefbadb15d9cffdbd4b2
[]
no_license
kevomacartney/Venus
6f947bf7d4301be87e6227d3c8a18ff0be2cd9ac
686e302cf5a1387aeda24bf338de37a9bc010c0e
refs/heads/master
2023-06-29T12:39:08.539896
2020-05-13T14:20:13
2020-05-13T14:20:13
244,494,730
2
0
null
null
null
null
UTF-8
C++
false
false
298
h
vulkanManager.h
// // Created by Kelvin Macartney on 04/03/2020. // #ifndef VENUS_VULKANMANAGER_H #define VENUS_VULKANMANAGER_H namespace Venus::Core::Vulkan { class VulkanManager { public: VulkanManager() = default; ~VulkanManager() = default; }; } #endif //VENUS_VULKANMANAGER_H
5d8167c54b89594fb2eb81b24fc99716babaf132
e2f5c3367ba345dc15c8fdc75d6f6d720ef522ef
/Grid Based dp/Min cost path + intro grid.cpp
d8fee2f59f22716dd9919350eb2bcd902b34481d
[]
no_license
mansikagrawal/GEEKS-FOR-GEEKS-INTERVIEW-PRACTICE
5f9ca6b75d88a56c977042efde1615408b65e357
d43dc3460332b17223d0598dda52b931dacd10cb
refs/heads/master
2022-12-13T10:52:40.770889
2020-09-22T16:03:05
2020-09-22T16:03:05
261,119,447
5
3
null
null
null
null
UTF-8
C++
false
false
1,104
cpp
Min cost path + intro grid.cpp
/* Grid based dp This section can contain two type of problems 1) Given a matrix with each block some cost find a path to reach one end to another end with min cost. 2) Find the number of ways to reach one end to another end. */ #include <bits/stdc++.h> using namespace std; #define R 3 #define C 3 int dp[3][3]; int co...
fd7d18e7e4de8260d296306f131a77b9e42d95e6
cf413a0e9bf3d1d54a9dca23d17b3c63b0a0291c
/Solve/2749.cpp
c93944eb04ffba6b22900ce3ff484add16483d6d
[]
no_license
ruru14/noj.am
4d7dabf642f205bf901e595aaed1168469ef1b9f
b89b4f7372c357fbb8e567dafd8ba306fd01a200
refs/heads/master
2021-11-27T16:48:39.438279
2021-09-16T06:45:21
2021-09-16T06:45:21
130,633,719
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
2749.cpp
#include "2749.h" int mem[1500001] = { 0, }; int fibo(unsigned long long n) { if (n < 2) return n; if (mem[n] == 0) mem[n] = (fibo(n - 1) % 1000000 + fibo(n - 2) % 1000000) % 1000000; return mem[n]; } void nojam2749::solution() { unsigned long long n; scanf("%lld", &n); n = n % 1500000; printf("%d", fibo(...
da88836a26a763caa0bf6b0eea731be72fb01fcd
f77606954ffedf1b78f3678db105e5c616b6ba3b
/cocos2d-x-2.2.2/projects/motoGame/Classes/Util/widget/LabelView.h
87e528f04afe749c4e0d04f578a7a7da13fb593d
[ "MIT" ]
permissive
xbinglzh/my1netFrameWork
6efe27135d365707a03c9d5f7a8702e7ea18c1e6
bb6cd0da829ce66f7490b48448966d3c8267878d
refs/heads/master
2016-09-06T19:05:47.493963
2014-07-28T11:55:43
2014-07-28T11:55:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,251
h
LabelView.h
// // LabelView.h // iLostCity // // Created by user on 13-5-22. // // #ifndef iLostCity_LabelView_h #define iLostCity_LabelView_h #include <list> #include "cocos2d.h" USING_NS_CC; class CCLabelTTFStroke; class LabelView : public CCNodeRGBA { public: LabelView(); ~LabelView(); static LabelView *cr...
5b59d4cacc65a58b41f6c87399ff5d937be371e1
745f5ca4aab736a051342cce970a7232fe65aeca
/GLAC/GLAC/GLAData.cpp
dea93ff5720dd9f30b700ede661773d2a2037961
[]
no_license
kiddove/nikki
cdf7bd3d83458090a979cf067bd05be9459221a1
dfbe1db92159f4a80b32318a870b3c522a89ec8f
refs/heads/master
2021-01-21T04:31:59.582089
2016-06-28T19:14:27
2016-06-28T19:14:27
13,760,340
0
1
null
null
null
null
UTF-8
C++
false
false
59,779
cpp
GLAData.cpp
#include "StdAfx.h" #include "GLAData.h" GLAData::GLAData(void) { int i1 = sizeof(GLA14); int i2 = sizeof(GLA01_MAIN); int i3 = sizeof(GLA01_LONG); int i4 = sizeof(GLA01_SHORT); ASSERT(i1 == 10000); ASSERT(i2 == 4660); ASSERT(i3 == 4660); ASSERT(i4 == 4660); } GLAData::~GLAData(void) { if (m_LogFile.m_hFile ...
03ed41d5d743209cf4178cf3c961c21ee085e9bd
ec2fbd7dcc14cc16c95f4d8ce50da146ee05504a
/Source/ResourceAnimation.cpp
e313acf8b7297ed29b6afab74797ef72b25868fb
[ "MIT" ]
permissive
AniolAndres/Engine
266ba25aa97301d8327cb474e5c4d3395980d1ea
a7f1f13892d26fb3975b24365693a415eb6d45a8
refs/heads/master
2022-03-06T18:46:25.131189
2019-12-02T11:10:40
2019-12-02T11:10:40
222,310,061
0
0
null
2019-11-17T20:49:12
2019-11-17T20:49:11
null
UTF-8
C++
false
false
12,976
cpp
ResourceAnimation.cpp
#include "Resource.h" #include "Application.h" #include "ModuleFileSystem.h" #include "ModuleResourceManager.h" #include "ResourceAnimation.h" #include "imgui.h" #include "JSON.h" #include <assert.h> #include <algorithm> ResourceAnimation::ResourceAnimation(unsigned uid) : Resource(uid, TYPE::ANIMATION) { } Res...
0a1274d86899cc46aaaf12aec77786ab9038da81
3db5bc7428e6fb929423863e34c8cb7dfab6a26c
/main.cpp
6e4a430fb2c4f747b19e9802f07b6970d7627977
[ "MIT" ]
permissive
mfkiwl/SDRReceiver
a8ae6dc83dd1b4af2901632c15eddbd14bde9906
93d970717eed00b0cddbd637447819eddc529b9a
refs/heads/master
2023-07-10T08:25:05.299248
2021-08-09T14:36:12
2021-08-09T14:36:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,218
cpp
main.cpp
#include "mainwindow.h" #include <QApplication> #include <QCommandLineParser> #include <iostream> QString MainWindow::settings_filename; int main(int argc, char *argv[]) { QApplication a(argc, argv); QApplication::setApplicationName("SDRReceiver"); QApplication::setApplicationVersion("1.0"); QComma...
a6e47c6d763f24f09b4a6b0eb5b5a56ecf5c6a6c
1815ed8de31de7ef2b34de448af1ec53fb355d39
/coding_exercises/linkedlist/interesting/sum_linked.cpp
3a8e080056bc214f4835c69ef8bd8cbe8d18053f
[]
no_license
nathanzhu144/coding
59f0da0161b00ddf408359f220d6aeb2a2a7d9dc
c79c96351d31f529580c88013cb6e37fc23c337d
refs/heads/master
2021-06-26T20:02:17.171219
2019-01-06T21:57:21
2019-01-06T21:57:21
121,160,805
0
0
null
null
null
null
UTF-8
C++
false
false
2,630
cpp
sum_linked.cpp
/** * sum_linked.cpp * Nathan Zhu * October 16th, 2018 * * How do you sum two linked lists together? * Leetcode medium question. * * https://www.geeksforgeeks.org/sum-of-two-linked-lists/ * */ #include <iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int ...
3cf30a6a760cbc549c92eec68e904da2092a5684
346c2d7a687e66369055c991ba0fcb2ae0604ba7
/Task1 - 복사본 (2) (4)/2019.11.21/UserProgram.h
92d06b6f652a0e326de7c9494809cdb851201f37
[]
no_license
3yeong/OOP
400334b47b00471c00845743c9df3bc98dd36805
8936ff678670bead09885b0593a78b4095b30704
refs/heads/master
2022-11-20T04:34:52.810023
2022-10-31T15:30:34
2022-10-31T15:30:34
220,010,540
0
0
null
null
null
null
UTF-8
C++
false
false
130
h
UserProgram.h
#pragma once #include <string> using namespace std; static class UserProgram { public: UserProgram(); ~UserProgram(); };
c80b195bbce89e2752209278024033e7e680dda5
2295081e6dc21b95d00a400e9e50cbda2ca3cee0
/Link.h
7ae8d59c3b7d1744039e43055ffaf3556e8840c9
[]
no_license
vortex314/Common
d39b56aa9cf41e9f558ea35f535b3eaa949fcae3
d08afec3850fb6fa615667d0b0725c70da7a6947
refs/heads/master
2021-07-08T16:30:21.287637
2021-05-12T10:48:06
2021-05-12T10:48:06
42,076,838
0
1
null
2021-05-12T10:49:38
2015-09-07T22:12:25
C++
UTF-8
C++
false
false
718
h
Link.h
#ifndef LINK_H #define LINK_H // #include "Event.h" //#include "MqttIn.h" #include "Handler.h" class Link : public Handler { public: // static const int CONNECTED,DISCONNECTED,RXD,MESSAGE,ERROR; Link(const char* s) : Handler(s) {}; Link(); virtual ~Link(); virtual bool isConnected(...
13d93343dc17e2b0c9dd6c8ad70c9252e9703fd3
e2446222c787d892cc95460478bf7758386a7f38
/extl/smartptr/shared_array.h
4c5600ebf8e7c11ebd85bd44b54a15c7e2c3e6f9
[]
no_license
gxfgithub/hnr
554bbc0223fc18ddc998c0b2e4b3d06a26953f5e
a843843e4e48ae14222ab5a04cf0f15f0f0dde19
refs/heads/master
2021-06-03T03:51:27.943129
2016-07-15T10:07:32
2016-07-15T10:07:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,087
h
shared_array.h
/* /////////////////////////////////////////////////////////////////////// * File: shared_array.h * * Created: 08.02.25 * Updated: 08.05.06 * * Brief: shared_array class - shared array * * [<Home>] * Copyright (c) 2008-2020, Waruqi All rights reserved. * ////////////////////////////////////...
a97a925803d68a205acda51204c285c5b1c0c890
24f1fe388f5e04ec213ba9365c44e998e4b0e980
/day06/opestu.cpp
43aad40b5298c64a792ff6c96ef79f3800694434
[]
no_license
HuaxinWang/C-
33306affacd586ce803a09dd7219e39887a0295e
8c2272431437c6e39331477e64013e0ac858bd66
refs/heads/master
2021-01-19T05:50:14.765752
2017-09-15T02:51:12
2017-09-15T02:51:12
100,585,039
0
0
null
null
null
null
UTF-8
C++
false
false
1,871
cpp
opestu.cpp
#include <iostream> #include <string> using namespace std; class Student { public: Student(string name="", float score=0.0f) { m_strName = name; m_fScore = score; m_iId = m_iBaseId++; } bool operator<(const Student &other) const { return m_fScore < other.m_fScore; } int getId() const { return m_i...
f72d1cdb759f370da49b8d5d1f3b8af5db59bb5a
0065cefdd3a4f163e92c6499c4f36feb584d99b7
/rogue/cheat/sdk/SDK/UIFontPalette_structs.h
884a30055a88f7bb9e3492bde9fd7f3c68f584d1
[]
no_license
YMY1666527646/Rogue_Company_hack
ecd8461fc6b25a0adca1a6ef09ee57e59181bc84
2a19c81c5bf25b6e245084c073ad7af895a696e4
refs/heads/main
2023-08-20T06:07:14.660871
2021-10-21T20:33:53
2021-10-21T20:33:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,907
h
UIFontPalette_structs.h
#pragma once // Name: roguecompany, Version: 425 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Script Structs //------------------------------------------------...
a9d32263204534499b3bbf1233ec657c4c784f99
2c6bb48bfa057314b8fde3b01cd3b511319e865b
/img_oper_algorithm/RotRectAngle.cpp
24a9b472e0e23d404ee65f6c6af879765e289598
[]
no_license
king1991wbs/hiscene
65edd35403b3cabbbdc28bae19a57372e7df939a
9961445fd51688f1002a903181e1877608830f80
refs/heads/master
2021-01-20T08:47:06.347773
2015-03-25T06:03:40
2015-03-25T06:03:40
30,106,956
0
0
null
null
null
null
UTF-8
C++
false
false
1,802
cpp
RotRectAngle.cpp
#include "RotRectAngle.h" double rotRectAngle( const RotatedRect &rRect ) { double angle = 0.0; Point2f pts[4]; rRect.points(pts); //Point2f lEdgeA, LEdgeB; int lPosA = 0, lPosB; for( int i = 1; i < 4; ++i ) { //rect if up-right if( abs( pts[lPosA].x - pts[i].x ) < precision ) { if( ( rRect.size.heig...
3af215ccab38a45dd9484f9bd8eaaa0ce952e26b
2870b0fc2b0b40c0c641c9f9529f84372f004c20
/boss.cpp
3330b2fd0c86545df821037396fedb7071225ba8
[]
no_license
MoLiYue/homework
865edf976ac3f2d88a52b26992141f5bbad6ad91
c8c600683aa44d167d983f8b29f3b8974b749afa
refs/heads/master
2020-05-09T13:41:11.052207
2019-04-13T12:07:11
2019-04-13T12:07:11
181,163,546
0
0
null
2019-04-13T12:04:22
2019-04-13T11:52:33
C++
WINDOWS-1252
C++
false
false
25,112
cpp
boss.cpp
#include<stdio.h> #include "stdafx.h" #include"functions.h" #include <time.h> #include <stdlib.h> extern int x_boss0 = 0; extern int y_boss0 = 0; extern int hp_boss0 = boss0_hp; extern int boss0_exist = 0; extern int x, y; extern char boss0_move; extern int bullet; extern int maxj = 0, maxd = 0; int check_...
c23b28a18c5bc541e75bfad5f351eed12991c4b4
69e2e5fb5220d3311b9d1e4c2bb2f6c1722a156a
/werkkzeug3_kkrieger/geneffectipp.hpp
c49ff3b2202a4c6dfffb35cb205ba313e17cd96a
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
kebby/fr_public
c2acb4787472c5e039805a084894a7858dd6d19a
2bb82d30bf9d10cf2a94b445710942ac9f065391
refs/heads/master
2021-01-16T00:36:57.267206
2012-08-16T03:36:05
2012-08-16T03:36:05
4,026,092
6
1
null
null
null
null
UTF-8
C++
false
false
701
hpp
geneffectipp.hpp
// This file is distributed under a BSD license. See LICENSE.txt for details. #ifndef __GENEFFECTIPP_HPP__ #define __GENEFFECTIPP_HPP__ #include "_types.hpp" #include "geneffect.hpp" /****************************************************************************/ KObject * __stdcall Init_Effect_LineShuffle(sInt pass)...
eb114479784d9e4bdf50031546b0edade36479b3
024c74f395b4a749b26cf2719b1e4efecd5331fc
/TopCoder/SRM 587/test.cpp
911be5592552e2138722ada8ffd0994537bc8a40
[]
no_license
thisisrajat/competitive-programming
28ed70f77e2c3892ee1d005341ef7d37930caad9
422cc7fac78a9908ca7a95a7c6eae724ed4a0631
refs/heads/master
2021-01-01T18:12:10.693796
2017-01-01T17:42:53
2017-01-01T17:42:53
17,668,936
0
0
null
null
null
null
UTF-8
C++
false
false
179
cpp
test.cpp
#include <iostream> #include <cmath> #include <cstdio> using namespace std; int main() { long double a = 9099.96*100.00; cout << a << endl; printf("%.3f", 9099.96*100.00); }
4632aca153107a9b6b88778cedea4e8365f00cb1
d92c0930458822cdcf75cd0d521333fe42a29543
/praks/пр 4/ооп пр 4.3.cpp
317d1bb3c344bc6869951389a5288f736a7f1264
[]
no_license
Sosnovskiy2116/oop-1
c9ad23788007222d3be221aa198a4a2eb81a4c6e
1f455fd64d2ca109cd4e0d6b64c6ddfdf54ae8bb
refs/heads/master
2020-05-14T12:12:34.737794
2019-04-16T18:31:58
2019-04-16T18:31:58
181,790,281
1
0
null
2019-04-17T00:54:48
2019-04-17T00:54:48
null
UTF-8
C++
false
false
1,188
cpp
ооп пр 4.3.cpp
#include "pch.h" #include <iostream> #include <ctime> using namespace std; int** zap( int kolstr, int kolstolb, int** mat ) { for (int i = 0; i < kolstr; i++) { for (int j = 0; j < kolstolb; j++) { mat[i][j] = rand() % 50 + 10; } } return mat; } void vyv(int** uuk, int kolstr, int kolstolb) { ...
bc2078abbedb95aad8605799a5042acb4753139f
6d8fdd9fe2066525a236c03501425028d4117129
/ProjectW3S/UtilFunc.h
189524ddd8b94f608ddd96063ee01656cff9bca5
[ "MIT" ]
permissive
yashihei/EX1ST
44c35cf925dd2e31f481cde346d2a44967826069
0ea8c8d5a73f9808b3e0e5594b894dcee70bc4bf
refs/heads/master
2021-01-11T16:36:13.363609
2017-01-28T09:16:34
2017-01-28T09:16:34
80,120,594
0
0
null
null
null
null
UTF-8
C++
false
false
1,637
h
UtilFunc.h
#pragma once template <typename Type> inline const Type& Clamp(const Type& x, const Type& min, const Type& max) { return (x < min) ? min : ((max < x) ? max : x); } template <typename Type> inline Type Wrap(const Type& x, const Type& min, const Type& max) { const Type n = (x - min) % (max - min); return (n >= 0) ? ...
3ee57c4e05e833a0b3c70cc236dcff11c0c70cd0
cf2fe95b72d73b2356ec24683b6e727a1f852191
/intro/ext/limits.cpp
073297ba1ee6641a1b94ed764468cd3d6c852a78
[]
no_license
ardkastrati/AlgoLab
b480d75539fecdb5d9adfab4d50d958cb4bf5be9
4acb3eed65070eb5b9d0b3facedbf1c0e0aad1b1
refs/heads/master
2020-04-04T14:27:30.933419
2019-01-18T10:50:38
2019-01-18T10:50:38
155,999,529
2
0
null
null
null
null
UTF-8
C++
false
false
648
cpp
limits.cpp
#include <limits> #include <iostream> int main() { std::cout << "type\tmin()\t\t\tmax()\t\t\t#binary digits\n"; std::cout << "int\t" << std::numeric_limits<int>::min() << "\t\t" << std::numeric_limits<int>::max() << "\t\t" << std::numeric_limits<int>::digits << "\n"; std::cout << "long\t" << std::n...
8fcd00840f015d0019c8707af618c2ae7122fd5d
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/cpp/uniqueNumberofOccurrences/uniqueNumberofOccurrences.cpp
0d975e9f261bff74837bc55cb7254db23b1dd3e6
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
C++
false
false
458
cpp
uniqueNumberofOccurrences.cpp
// Source: https://leetcode.com/problems/unique-number-of-occurrences/ // Author: Miao Zhang // Date: 2021-04-17 class Solution { public: bool uniqueOccurrences(vector<int>& arr) { unordered_map<int, int> cnt; for (auto a: arr) cnt[a]++; unordered_set<int> s; for (const auto& kv: ...
a5656743170fe329a8c20ffe105b7ff86e8bd0ae
b9fd9789a1b426fcbd8c3b3a0210c44500b31e60
/CoreRpc03x/src/common/startup/service.cpp
c72b86dabb33f20cee41a4f2e7e9d23caddf28e6
[]
no_license
zhangjingl02/CoreRpc
c94d31c1dca9e6a72e8cab2325651e0d61decf75
18891e7d345653ebc5f670762326eb364aa63316
refs/heads/master
2020-05-18T11:24:12.520122
2013-11-15T03:40:28
2013-11-15T03:40:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,738
cpp
service.cpp
#include "service.h" #include<stdio.h> #include <string.h> #include <boost/format.hpp> static const int NAME_LENGTH = 16; static const int VERSION_LENGTH = 16; Service::Service(std::string name,std::string version,std::string dispname): name_(name),version_(version),displayName_(dispname){ name_ = name; version...
b99ca74bd4d92de2eff51ddafd65a92de518a4d4
31ac07ecd9225639bee0d08d00f037bd511e9552
/externals/OCCTLib/inc/GccAna_CircLin2dBisec.hxx
70220d45c8bc2ba2c3309fa9c2d8c87650b871cb
[]
no_license
litao1009/SimpleRoom
4520e0034e4f90b81b922657b27f201842e68e8e
287de738c10b86ff8f61b15e3b8afdfedbcb2211
refs/heads/master
2021-01-20T19:56:39.507899
2016-07-29T08:01:57
2016-07-29T08:01:57
64,462,604
1
0
null
null
null
null
UTF-8
C++
false
false
2,808
hxx
GccAna_CircLin2dBisec.hxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _GccAna_CircLin2dBisec_HeaderFile #define _...
d547dd3185517da0effa059ba5ccbe2594837b92
8da9fd5175fad4f938f3e6c1965254d1d4827cce
/lrlb_reactor/src/tcp_server.cpp
abe4447dee7eb05a7f2a79e7acf53a5fd8e9675a
[]
no_license
liangruijin/Lrlb
c80632354d05d5fe70487e20163b5d655ca1cc2a
7cb38c332e5e38f89e433ee7c4ae29f3eef84882
refs/heads/master
2023-06-20T03:19:12.112844
2021-07-09T01:04:40
2021-07-09T01:04:40
329,559,789
1
0
null
null
null
null
UTF-8
C++
false
false
11,683
cpp
tcp_server.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include <unistd.h> #include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <errno.h> #include "tcp_server.h" #include "tcp_conn.h" #include "reactor_buf.h" //tmp test message struct message{ ...
bf58d7e031315382f3ef6cca10848a5d10f9f82a
dcbd41891a4dfefe941a73ca071e5553a367ed8f
/CTaskEvent.h
48a5ad6cc112afea08ee207c20f68572b351b9a5
[]
no_license
cuiopen/GameServer-4
dbaf074c127d3cd5a0aae47e2303d6b0e6b01633
3235d24a9eeeb065bd5296d2e36d8ccba3174836
refs/heads/master
2020-03-19T15:47:26.790489
2015-05-15T01:48:03
2015-05-15T01:48:03
null
0
0
null
null
null
null
GB18030
C++
false
false
892
h
CTaskEvent.h
#ifndef CTaskEvent_H_ #define CTaskEvent_H_ #include "CGameMesEvent.h" #include "CMD_Game.h" #include "CGlobeData.h" class CCTaskEvent : public CCGameMesEvent { public: CCTaskEvent(CCGameMesManager *pMesManager,CT_WORD id); ~CCTaskEvent(void); private: //处理用户消息 virtual CT_VOID OnUserEvent(CT_DWORD m...
cedae6292ddcf6f666daed6cdc4050dce641b5ee
9ffee105d323f8f9c0cb8ac92d74ee3551ab5dfa
/Templates in C++/Function Templates/Example_3.cpp
b9d8fb5bd0790c5da63cf69c894cb6a89a4352c4
[ "MIT" ]
permissive
Ahtisham-Shakir/CPP_OOP
2098f3bf4d965d26adee5585033d211e297f0003
308e7bdbd1e73c644a17f612fc5b919cb68c171c
refs/heads/main
2023-07-26T01:22:59.402548
2021-08-28T19:22:29
2021-08-28T19:22:29
375,672,983
0
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
Example_3.cpp
#include <iostream> using namespace std; template <class type> void show(type a) { cout << a << endl; } int main() { show("Hello"); show(100); show(50.75); show('*'); return 0; }
6c25be696ac275156ad2d9c755bc35d4baed7411
b33a9177edaaf6bf185ef20bf87d36eada719d4f
/qtmultimedia/src/multimediawidgets/qvideowidget.cpp
d14a70475924f557087d62c03a2da8099908a980
[ "Qt-LGPL-exception-1.1", "LGPL-2.1-only", "LGPL-2.0-or-later", "LGPL-3.0-only", "GPL-3.0-only", "LGPL-2.1-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "GFDL-1.3-only", "LicenseRef-scancode-digia-qt-preview", "LicenseRef-scancode-warranty-discl...
permissive
wgnet/wds_qt
ab8c093b8c6eead9adf4057d843e00f04915d987
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
refs/heads/master
2021-04-02T11:07:10.181067
2020-06-02T10:29:03
2020-06-02T10:34:19
248,267,925
1
0
Apache-2.0
2020-04-30T12:16:53
2020-03-18T15:20:38
null
UTF-8
C++
false
false
25,784
cpp
qvideowidget.cpp
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
88d2f98d5bf175babea303ed87e3dc1c8cc2b392
8cb7d04277f805fd9c5a00786a1780133b06d604
/Main_neu.ino.ino
6b3450234b17495591a363da97f8f4ad9225f28b
[]
no_license
fabeck/Biometo
4a854cc8f10b07a67a99a9fc88249f4af3c3a128
a598f0997d855de9a8cf2b8d369c5ffa12d6ed26
refs/heads/main
2020-12-02T22:53:26.897728
2017-07-04T09:07:06
2017-07-04T09:07:06
96,197,847
0
0
null
null
null
null
UTF-8
C++
false
false
2,561
ino
Main_neu.ino.ino
#include <Wire.h> #include <MySignals.h> #include <sounddata.h> #include <Adafruit_ILI9341.h> #include <SPI.h> #include <Adafruit_GFX.h> #include <gfxfont.h> #include <EEPROM.h> #include <SD.h> // Display #define TFT_CS 10 #define TFT_DC 9 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC); //Variables int It...
1b1ebbb2b0fd37acd35f2a8797b9b5d99e1bbd3f
2a85936a3ebe4ed0845c8fa4defd26674fe95c0a
/RadarRpcServer.cpp
4af51fe6b8fd5e4e7abba1a8324535c60bdda3b9
[]
no_license
erikarn/USRP-Radar-Relay
aaffe79f3ba17ab3b7530deeac5b179b4d46e61e
e7632d4102c9d407cbc8f0f4db42ee05a8ef7405
refs/heads/master
2021-01-18T17:19:58.156415
2012-06-23T21:30:41
2012-06-23T21:30:41
4,767,679
2
0
null
null
null
null
UTF-8
C++
false
false
3,778
cpp
RadarRpcServer.cpp
/* * Copyright (c) 2012 Neratec Solutions AG * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
ba31dfeb9ab745dcb158a36818c2be1635e7e3bc
3ef9dbe0dd6b8161b75950f682ec2fc24f79a90e
/CSES_challenge/Sorting_and_Searching/maximum_subarray_sum.cpp
b19e0db6ba544c12afa90341d41503579b893500
[ "MIT" ]
permissive
JackBai0914/Competitive-Programming-Codebase
abc0cb911e5f6b32d1bd14416f9eb398b7c65bb9
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
refs/heads/main
2023-03-29T14:17:36.190798
2021-04-14T23:15:12
2021-04-14T23:15:12
358,065,977
0
0
null
null
null
null
UTF-8
C++
false
false
608
cpp
maximum_subarray_sum.cpp
#include <iostream> #include <algorithm> #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <vector> #include <map> #include <queue> #include <stack> #include <set> #define F first #define S second #define MP make_pair using namespace std; typedef long long ll; typedef lo...
d697c05144fc2d3ac116e77c93351b8e23609fe8
3cbd8534190bdb7eb3f6994a4ada1d26c40da016
/mmg.hh
659d96ea57bd9cffd3421ee30c9db98e2e85527a
[]
no_license
cympfh/classed-MMG
36dbedd4ea6985851deee80be5a5a058c1d7fc12
b8aa1426c7d6565c87a08677414a42c4c8192457
refs/heads/master
2021-01-10T20:43:20.524292
2015-11-03T15:16:36
2015-11-03T15:16:36
37,809,883
0
0
null
2015-09-14T14:24:58
2015-06-21T13:29:21
C++
UTF-8
C++
false
false
427
hh
mmg.hh
struct PUnit; struct Alphabet; using Pattern = vector<PUnit>; using Text = vector<Alphabet>; // initial with `init` vector<Text> docs; int alphabet_size = -1; map<string, int> class_size; set<Alphabet> vocabulary; bool preceq(const Text&, const Pattern&, bool=false); void init(vector<Text>&_docs, bool=false); vector...
fcfa945716a6a14e06c35a27041e9f7e6d24e93c
40425604bbd709a80e273e02d62b5925d493fdc0
/servidor/clases/cabeceras/ManejadorArchivos.h
1c1220992502c507b5e17c7c09a7ceed6abe7d1f
[]
no_license
mafvidal/UdriveTPTaller2
b93daa9a44b37048f953f640805b7c67e98d59c6
1a1bc28fb7bc2e2e58d36263d99d41fc1ea73f27
HEAD
2016-09-06T16:43:35.822346
2015-11-24T02:41:00
2015-11-24T02:41:00
42,020,376
0
0
null
null
null
null
UTF-8
C++
false
false
2,099
h
ManejadorArchivos.h
/* * ManejadorArchivos.h * * Created on: 5 de nov. de 2015 * Author: mafv */ #ifndef MANEJADORARCHIVOS_H_ #define MANEJADORARCHIVOS_H_ #include "Archivo.h" #include "json/json.h" #include "Respuesta.h" #include "ManejadorArchivosFisicos.h" #include "Log.h" /* * Clase encargada de administrar los archivos ...
13efc5e5d9ab491bb14c8984534e330adb86427f
bbadd348ce2bf28ab0aa14603dfda2244f798257
/GroupAssignment01/primalityChecker.cpp
f6cd7c1043b6e80c9aaf1fbff3ef9f69f5f8140b
[]
no_license
AliHaidry/GroupAssignment01
287a2741c7b3af092139563a0a09b192c87aae7b
73eabea93d16f75c52593d623d54e25aadc1b3f4
refs/heads/master
2023-02-26T12:40:16.083701
2021-02-01T17:27:15
2021-02-01T17:27:15
333,540,523
0
0
null
null
null
null
UTF-8
C++
false
false
1,168
cpp
primalityChecker.cpp
#include <iostream> #include <cstring> #include <cstdlib> #include "primalityChecker.h" ll PrimalityValidator::modulo(ll base, ll exponent, ll mod) { ll x = 1; ll y = base; while (exponent > 0) { if (exponent % 2 == 1) { x = (x * y) % mod; } y = (y * y) % mod; expon...
c020c8c5bf234f10d4ae5413c7901c5c6ab5de00
de5409656af4c6c5d172d8a07725039ef71dc1a4
/Surpport.h
de7a58a7d9243908cb167b934385636523a683d9
[]
no_license
ShinDongHyeop/NGP_TermProject_Server
42bf7dbc49cbe1f16e3bf5641623b5be943d4486
c29d3e52e76c785b96a516e5e024ec30659c3830
refs/heads/master
2021-08-29T22:19:49.965122
2017-12-15T05:37:05
2017-12-15T05:37:05
111,879,420
0
0
null
null
null
null
UHC
C++
false
false
1,384
h
Surpport.h
#pragma comment(lib, "ws2_32") #include <WinSock2.h> #include <iostream> #include <vector> #include <list> #include <time.h> #include <math.h> #include <algorithm> using namespace std; #define SERVERPORT 5000 #define MAX_PLAYER 10 #define MAX_BULLET 100 #define PB_SIZE (sizeof(PlayerBuf) * MAX_PLAYER) #define...
bb2364c801c4b215c5796d9d0bf012ac3e15d8f3
3ddf4ecbc2033234e1f91a94981d82f29c838143
/graph/single-source-shortest-paths.h
8646b9d33ba27cc200c85547766e854e05461e27
[]
no_license
fons/graph-repl
c4a2c3567944e3cdb8c77f9cd1061e6e10859b86
9a14a67c9c7219c7101c4d7c9af3b1ebb585ebba
refs/heads/master
2016-09-05T15:14:45.209989
2012-12-01T18:28:47
2012-12-01T18:28:47
6,678,146
3
1
null
null
null
null
UTF-8
C++
false
false
16,357
h
single-source-shortest-paths.h
// // single-source-shortest-paths.h // graph-repl // // Created by alfons haffmans on 10/8/12. // Copyright (c) 2012 mohegan skunk works. All rights reserved. // #ifndef graph_repl_single_source_shortest_paths_h #define graph_repl_single_source_shortest_paths_h template <typename edge_t, typename traits=edge_tra...
e1507b294e6a2a08c5357907ad4001cb2074362b
28a3903ace2bee9d64428af0b2cea63ec1e7af11
/include/Initial/Video/IShader.h
e0d3a8fd7be63aaaef65320a00db392488dd6711
[]
no_license
thennequin/InitialProject
e90a551c8b38e9c458eabb8c9b1c9d3a5395e9a0
89ab9de41a1191da38ea002f7233f8de0a9cb0af
refs/heads/master
2021-01-10T02:29:10.419919
2018-04-21T13:30:20
2018-04-21T13:30:20
43,328,862
0
0
null
null
null
null
UTF-8
C++
false
false
2,342
h
IShader.h
//--------------------------------------------- // Initial Engine // Shader Module // // By Thibault HENNEQUIN // December 20th 2008 //--------------------------------------------- #ifndef _ISHADER_HEADER_ #define _ISHADER_HEADER_ #include "Initial/Co...
047ba31b43d165b9721b18304c9d69d2a815a3e7
df6c3d7d95507bf452ce8eda24e779a82049fcad
/final-project/simulationNonInertial/20/phi
440e61b6b2699945a91de5869ba3f4c5372ee385
[]
no_license
aeronau/CFD-course
5c555e7869f0170f90e9d3532b06f7e78683b770
e891eb94950cfa0992d6ff003dbe45315af377c5
refs/heads/master
2021-09-01T04:18:32.111694
2017-12-24T18:18:44
2017-12-24T18:18:44
104,058,197
0
0
null
null
null
null
UTF-8
C++
false
false
150,242
phi
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | ...
3dd9aed623e91de3ec9c2e577280b9031315f312
522c7dfa88d6b78aaa97b9ff39380421acd1739b
/UltraSonic/exmple/UltraSonic/UltraSonic.ino
907ac1c6be3c774e46f196bd3000c6dfe1f7905b
[ "MIT" ]
permissive
hriships-zz/arduinolib
439b1dce74c58a419abdd78cfe302304fc74ef24
8187001c0568b2b1f924c515aef86a88f18f9685
refs/heads/master
2021-09-18T17:02:09.533827
2016-11-21T04:28:20
2016-11-21T04:28:20
74,324,035
0
0
MIT
2018-07-17T06:29:24
2016-11-21T03:48:58
C++
UTF-8
C++
false
false
330
ino
UltraSonic.ino
#include <UltraSonic.h> int ULTRASONIC_TRIG_PIN = 2; int ULTRASONIC_ECHO_PIN = 4; UltraSonic *ultraSonicSensor = NULL; void setup() { Serial.begin (9600); ultraSonicSensor = new UltraSonic(ULTRASONIC_TRIG_PIN, ULTRASONIC_ECHO_PIN); } void loop() { ultraSonicSensor->calibrateEcho(); Serial.println(""); dela...
04aa3709dcfa9e3a2cce0eb99de6407ee051b0d0
cff81ff659ad529706dc9ba1befbc68d8ae5ad26
/hr_ways_to_give_a_check.cpp
c806c2f5a649fe0643042e7a2a40e76352015a1e
[]
no_license
iishipatel/Competetive-Programming
9dafb3e49e60daee0f7dfca7f88ea23fd0777507
2ece5d282e753aee38d503bc5102baffa0141b2f
refs/heads/master
2020-08-05T23:03:48.027950
2019-10-08T12:02:27
2019-10-08T12:02:27
212,747,647
1
0
null
2019-10-04T06:12:08
2019-10-04T06:12:06
null
UTF-8
C++
false
false
958
cpp
hr_ways_to_give_a_check.cpp
/* Author : Abhinav Modified : 07-02-2018 07:59:02 PM */ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vi; #define faster ios_base::sync_with_stdio(false);cin.tie(0); const ll mod = 1e9+7; #define for(i,j,k) for(ll i=j; i<k; i++) #define forv(i,j,k) for(ll i=j; ...
baf8aa873160b24fe1e4791d115813201f10b2a7
1ccf8028b6c97355583e8032c8c8aaff6baa9092
/Session02/1.cviceni/1.cviceni.cpp
86d53f4adab61002c1696a71e0e64083099cc457
[]
no_license
meitys79/ICpp1
78a507b5dd036afd72211c1c208dc22f41430be2
2d2dc7cc21653316ce3c85c75e3fd24bffb76e84
refs/heads/master
2020-08-07T07:56:51.982233
2019-10-07T11:16:19
2019-10-07T11:16:19
212,520,280
0
0
null
null
null
null
UTF-8
C++
false
false
3,373
cpp
1.cviceni.cpp
#include <iostream> using namespace std; struct trojuhelnik { int a; int b; int c; }; bool lzeSestrojit(trojuhelnik t) { if ((t.a + t.b > t.c) && (t.a + t.c > t.b) && (t.b + t.c > t.a)) { return true; } return false; } bool lzeSestrojita(trojuhelnik ta) { if ((ta.a + ta.b > ta.c) && (ta.a ...
3843da16169123add34289225acbbe517218738e
c846d27585f1503d1d9933d8a11e6aaedcdb123b
/EchoServer.cc
18806c9716d62248c185d7252274612833ccf0a4
[ "MIT" ]
permissive
ebayboy/nanorpc
4a6eaf08533fb12a90358135374b34e6573ed2c9
ea2440894453636b631d726156f2b284e8a1c751
refs/heads/master
2022-12-20T18:27:46.356218
2020-10-10T06:46:06
2020-10-10T06:46:06
299,888,549
0
1
MIT
2020-09-30T10:48:34
2020-09-30T10:48:33
null
UTF-8
C++
false
false
2,809
cc
EchoServer.cc
/** * @project nanorpc * @file EchoServer.cc * @author S Roychowdhury <sroycode AT gmail DOT com> * @version 1.0 * * @section LICENSE * * Copyright (c) 2013 S Roychowdhury * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Softwa...
6769094c94396f930fb3be3eb72ef24be2a7abc8
33d2c53baa002c94d48f34818f8ba2c3c2646662
/cpp/system/secureimageprovider.cpp
1eabd7f7fb9739b5e6d1a541266fdbcc6f8b5fbe
[]
no_license
kmakeev/DSClient
b521316163c3e46d1512f97e1ebc02eaf6687729
bc51a99d1b228bb3271e71f6a5d8b5d7d84278c7
refs/heads/master
2021-01-23T06:45:29.196187
2015-07-22T12:36:41
2015-07-22T12:36:41
39,503,018
0
0
null
null
null
null
UTF-8
C++
false
false
1,718
cpp
secureimageprovider.cpp
//****************************************************************************** //****************************************************************************** #include "header\system\secureimageprovider.h" #include "header\system\o1requestor.h" #include <QDebug> //************************************************...
78339ff97c668ec4ea7bb5ffde9bf249c3579ebd
bdc0b8809d52933c10f8eb77442bd0b4453f28f9
/build/visualization_msgs/rosidl_typesupport_c/visualization_msgs/msg/interactive_marker_pose__type_support.cpp
359f2ed89173b24757afd62c57e8517ced683019
[]
no_license
ClaytonCalabrese/BuiltRos2Eloquent
967f688bbca746097016dbd34563716bd98379e3
76bca564bfd73ef73485e5c7c48274889032e408
refs/heads/master
2021-03-27T22:42:12.976367
2020-03-17T14:24:07
2020-03-17T14:24:07
247,810,969
1
0
null
null
null
null
UTF-8
C++
false
false
3,340
cpp
interactive_marker_pose__type_support.cpp
// generated from rosidl_typesupport_c/resource/idl__type_support.cpp.em // with input from visualization_msgs:msg/InteractiveMarkerPose.idl // generated code does not contain a copyright notice #include "cstddef" #include "rosidl_generator_c/message_type_support_struct.h" #include "visualization_msgs/msg/rosidl_types...
823d1fb5c36720c473e8d1778392681cb1a536dd
157dc6385d761606bee938bc3a31a5e58b2a674a
/XNetFrame/WindowViewer.h
153c0e868f7055d7517c3f31cc16ea4a2287c615
[]
no_license
guojunping/XNet
b745f0fee1749b50cf71ebbf605d92902320c81d
fdf8eabff0f0ec2938d896b6e57edc0d0c69c72f
refs/heads/master
2022-11-06T20:48:46.680964
2020-07-07T08:21:48
2020-07-07T08:21:48
277,760,354
0
0
null
null
null
null
UTF-8
C++
false
false
602
h
WindowViewer.h
/////////////////////////////////////// // Author : Mr Kim // Name : /////////////////////////////////////// #ifndef __WINDOW_VIEWER_H #define __WINDOW_VIEWER_H #include "TypesDn.h" #include "Viewer.h" namespace DnNetworkFramework{ class CWindowViewer : public CViewer{ private: HWND m_hWindow; // sin...
49f6dbfb1fede692c154827fadfe0c33db06fb4a
f88213364606807b3ccccac4b35c3746246f475d
/Lab12/Prog2.cpp
69e254a8e05791b76639b6e51ba753d45c6d2b61
[]
no_license
PemchingKue/CSC1500
12e06e7f3d6adca148b8384af0f603c1c944175c
6f0daac8cb9f63ece3a26845b4c00d78d66d9997
refs/heads/master
2020-03-13T23:17:45.807181
2018-04-27T18:42:25
2018-04-27T18:42:25
131,332,640
0
0
null
null
null
null
UTF-8
C++
false
false
2,765
cpp
Prog2.cpp
/* Source code was adapted from the class representation: http://www.algolist.net/Data_structures/Graph/Internal_representation */ #include <iostream> #include <string> using namespace std; struct Graph { Graph(int v) { vertexCount = v; adjacencyMatrix = new bool*[v]; for (int i = 0; i < vertexCount; i++) { ...
442cabe7364e1b962891ded68b549b0da4e4fc5a
bccd2a32cc76564b3939c8444575f4f6c8fdedad
/RoboAfetivo/Camera.cpp
6aa5b7f6b5d997ab8eb43a01b261a9c56cd76773
[]
no_license
Cleversonzato/RoboAfetivo
2c5f712d383d8c52d1c6dbf931267e95cf40d3d9
3e7e53b816cc7a218fe35ae520de438378a289ca
refs/heads/master
2021-01-11T08:24:50.868626
2017-03-22T04:42:58
2017-03-22T04:42:58
72,287,431
0
0
null
null
null
null
UTF-8
C++
false
false
5,503
cpp
Camera.cpp
#include "stdafx.h" #include "Camera.h" const std::string Camera::janela = "Reconhecimento Facial"; void Camera::mostraFrame(cv::Mat& frame) { cv::imshow(janela, frame); cv::waitKey(-1); } Camera::Camera() { } Camera::~Camera() { captura.release(); cv::destroyAllWindows(); } void Camera::preparaCamera() { c...
bfc44113eb328adeec7cbe81a90a329cba31d002
95ae92abbb91f8c980fe513fab893780d907ce0a
/Parallelia/ItemProcessor.h
c41f5a39f54c8d12b12abb256e91def5014d8fb2
[]
no_license
ArtyomShabarshin/Parallelia
ce21079d4c2570df17e1ceaa066139be3bafb66a
57c12a7d75fcf4cd94f870dc923a0dc8331c63e3
refs/heads/master
2020-05-26T23:45:52.315320
2013-03-26T14:55:24
2013-03-26T14:55:24
5,992,621
1
0
null
null
null
null
UTF-8
C++
false
false
2,221
h
ItemProcessor.h
#ifndef ITEMPROCESSOR_H #define ITEMPROCESSOR_H #include "IInputDataFlowBlock.h" #include "InputDataFlowBlockCoreDebugProxy.h" #include "concurrent_vector.h" #include "concurrent_queue.h" namespace Parallelia { namespace ParalleliaCore { template<typename T> class ItemProcessor { public: typedef IOutpu...
1cc181accd1a3d87ea5a38d6abe7e8e23c69c390
dd14da4f34dc2accd432601cf4e60a458cb930a4
/STL/Containers/Sequence_Containers/list/list1.cpp
2f4e43dc88f8a4960e793b9081ae7b44c53c729d
[]
no_license
debajitdeb11/cpp-code-practice
8dfbff3becf2381b304f6de9411a0f4288108eca
a89a3f6f4a6c3d703c105922ad91b1a8a05d2091
refs/heads/master
2021-01-01T00:14:27.278647
2020-08-13T09:51:52
2020-08-13T09:51:52
239,092,286
1
0
null
2020-02-26T19:16:49
2020-02-08T08:17:33
C++
UTF-8
C++
false
false
1,378
cpp
list1.cpp
#include <iostream> #include <list> #include <iterator> using namespace std; // To display list void display(list<int> li) { list<int>::iterator it; for (it = li.begin(); it != li.end(); ++it) cout << " " << *it; cout << "\n"; } int main() { // Initialized list list<int> gqlist1; list...
65f4e7147e576413768b309574ba1a6813baf10c
04bfe691a9829dbc11f9f74dc8744f849cc50546
/include/RunAction.hh
6be461309cae107dc43429bf004fcd80291da0f1
[]
no_license
Z6fans/muon
174ae437575b013599a6dd28b0705aa2d119eab8
613323281def976538e9bf60c8088075e76d56fb
refs/heads/master
2020-06-08T04:15:42.292742
2019-07-17T14:16:32
2019-07-17T14:16:32
193,155,661
0
0
null
null
null
null
UTF-8
C++
false
false
448
hh
RunAction.hh
#ifndef RUNACTION_HH #define RUNACTION_HH #include "G4UserRunAction.hh" class G4Run; class RunAction : public G4UserRunAction { public: RunAction(); ~RunAction(); void BeginOfRunAction(const G4Run*); void EndOfRunAction(const G4Run*); private: void CreateHistogram(); void WriteHistogram(); void Be...
6499a52a136bd694a582c8d25c2e34b8ad4eea49
9402379373dceaacddbd68911410df582f763246
/src/tlocCore/containers/tlocForwardList.h
9558b7d60ecd2913f353b674c2a1a73cfcfa4a23
[]
no_license
samaursa/tlocEngine
45c08cf4c63e618f0df30adc91b39f58c7978608
5fab63a31af9c4e266d7805a24a3d6611af71fa7
refs/heads/master
2022-12-30T20:10:38.841709
2014-09-12T07:36:27
2014-09-12T07:36:27
305,503,446
2
0
null
null
null
null
UTF-8
C++
false
false
6,691
h
tlocForwardList.h
#ifndef TLOC_FORWARD_LIST_H #define TLOC_FORWARD_LIST_H #include <tlocCore/tlocCoreBase.h> #include <tlocCore/containers/tlocList.h> #include <tlocCore/containers/tlocArray.h> #include <tlocCore/iterators/tlocIterator.h> #include <tlocCore/utilities/tlocUtils.h> namespace tloc { namespace core { namespace ...
310cc74d5654da40070e86744382d2ec18eee71d
7859b6b4f7f2024bfaace1423d062f069711c8a0
/opt/cfg_lifting.h
c1bc22d12cd4925fcf8d163c7318922af5421bf7
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
onecoolx/xoc
751f0b28dacbd7e358afbeb679b9335ac9dbc7bb
1af5e48f4e2967d33cf7aa0359ed526d4920e6a6
refs/heads/master
2023-01-07T19:33:04.033188
2023-01-04T09:59:20
2023-01-04T09:59:20
40,281,588
0
0
null
2018-02-07T06:08:22
2015-08-06T03:10:27
C++
UTF-8
C++
false
false
2,261
h
cfg_lifting.h
/*@ Copyright (c) 2013-2021, Su Zhenyu steven.known@gmail.com 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,...
3291576b66703945c8892d406e0cb353c3c96dec
b9154098324ab0b1339dee638db0e5218e458328
/codeforces/749D1.cpp
276d039241cd9dc14363010fff1ebd48c8ab3d5d
[]
no_license
yasharmaster/competitive-programming-solutions
17c972e1842fa28969fb459b0d4db8c4568faee0
b862c89a5adda744185a2b14b82342d1912f3798
refs/heads/master
2021-01-20T09:45:56.325759
2017-10-22T04:44:35
2017-10-22T04:44:35
78,131,241
0
3
null
2017-10-22T04:44:36
2017-01-05T16:53:52
C++
UTF-8
C++
false
false
1,778
cpp
749D1.cpp
#include <iostream> #include <algorithm> #include <cstdio> #include <climits> #include <vector> #include <string> #include <set> #define DBG false #define DEBUG(x) cout << '>' << #x << ':' << x << endl; #define REP(i,n) for(int i=0;i<(n);i++) #define FOR(i,a,b) for(int i=(a);i<=(b);i++) #define FORD(i,a,b)...
0e3246835d91f71655407e8e6357fe188e2d076c
44c4009ebfbc777bf338024d36150b64d4f37602
/nested-try.cpp
a7bbc2fb64da69bf2af4e8f22c1400653497f687
[]
no_license
Animeshnbe/hello-world
7951bf20da1d27b9d66a61a7034863139ddfcf45
cef78b83d071399e4b656b561a04c80a0b638159
refs/heads/master
2018-10-12T18:41:02.021579
2018-07-11T16:16:33
2018-07-11T16:16:33
116,478,327
0
0
null
2018-07-11T12:41:05
2018-01-06T11:43:07
null
UTF-8
C++
false
false
471
cpp
nested-try.cpp
#include<iostream> #include<math.h> using namespace std; int main(){ float a,b; cout<<"\nEnter a natural number: "; try{ cin>>a; try{ b=a-floor(a); if(b!=0) throw ("Not an integer!"); cout<<a/(a+5)<<endl; } catch (const char msg[]){ cout<<msg<<endl; } if (a<=0) ...
68851163b253deaae03362bfc79a609dfaa376be
76dba61f664fe4a9ecf7fa5a926a43055e8b92d5
/mesh/nurbs.hpp
907be677d1f5dd71aa4a4878407fd0e23cd238b4
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "Zlib" ]
permissive
mfem/mfem
4be8b3782f69af874a543565c25b3615188137a1
a15866e212b167ab83d5384e7326cdd3fa0723b2
refs/heads/master
2023-08-16T23:11:02.996304
2023-08-16T03:10:57
2023-08-16T03:10:57
37,287,688
1,442
548
BSD-3-Clause
2023-09-14T16:29:14
2015-06-11T21:42:21
C++
UTF-8
C++
false
false
25,590
hpp
nurbs.hpp
// Copyright (c) 2010-2023, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
8cefd8738e1ad8ec0b35b6fcfd9c251f3f5da7f2
6ce2ce4bcbbb6142223878c1b36ad71d68dd55fb
/codeGenFrameWork/binaryExpr.cpp
b42f9955aceba6599799aba32b8e930336864431
[]
no_license
aktemur/rtpg4llvm
d8a0365104001d8b741baf3218523317e56810d9
808633d9b959913ecb6c83795f830c028ea0ba6f
refs/heads/master
2021-03-24T12:43:54.744478
2018-02-08T10:32:01
2018-02-08T10:32:01
90,113,527
0
0
null
null
null
null
UTF-8
C++
false
false
492
cpp
binaryExpr.cpp
#include "binaryExpr.h" #include <iostream> using namespace codeGen; BinaryExpr::~BinaryExpr() { delete left; delete right; } cval BinaryExpr::build() { cval lval = left->build(); cval rval = right->build(); return this->op(lval, rval); } void BinaryExpr::print() { std::cout << "("; left->print(); ...
6b35cddc225e87a7e0160b8babf9df9a67081225
d23726099e5da046531af160d7088fce0095b6af
/main.cpp
ed6968feb22bdb28516be6e0d8e4baa58e038e64
[]
no_license
ICY-ANPI/RootFinder
299a5c2e72f24977718cce418d5841e308690283
08332156a3feae709402931bdb61466bf6c28772
refs/heads/master
2021-04-03T09:04:46.531171
2018-03-10T07:49:38
2018-03-10T07:49:38
124,597,281
0
0
null
null
null
null
UTF-8
C++
false
false
619
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: Irene * * Last edited 9-3-18 */ #include <stdio.h> #include "iostream" #include ...
0ff6dfbf0495df440cbfbe28c82358d85ee490e7
c7c86ff91e651adb9bfc54c1ec4a6d2623cd77bc
/src/Core.h
aa0f577a4ea2bfe800a99cd8004105db04c19978
[]
no_license
jeffason/JrsCheckers
f45ef8f0b57910f2d6872f0c206462b2f093abb6
12b7737a5027ee0fc8135cf6a22946e6385f389b
refs/heads/master
2021-01-10T09:01:59.658108
2016-01-07T00:21:20
2016-01-07T00:21:20
49,169,802
0
0
null
null
null
null
UTF-8
C++
false
false
669
h
Core.h
///////////////////////////////////////////////////////////////////////////////////////////////////// // // Core.h // // DESCRIPTION: // Core engine functionality commonly used across different parts of the application // // jrs051413 - created // ////////////////////////////////////////////////////////////////////////...
4ae4fbf8e2eef9bae97d4ec3ad9f5541c84aeaf5
f059e48efe35c17d27a1c315593e895e34c932d4
/structures/maps/hashmap.cpp
41adcf9f77e5b82d3789c63fa2b4a3cd7ea808e3
[]
no_license
mingkaic/MingC-Util
02a855561b6be1ab034aacad575ea1f87e8f5b22
f89e1df342cd0923aa278300913e2914a398c42c
refs/heads/master
2021-01-01T05:44:45.046754
2016-05-13T19:13:16
2016-05-13T19:13:16
58,181,140
0
0
null
null
null
null
UTF-8
C++
false
false
10,043
cpp
hashmap.cpp
// // hashmap.cpp // Map // // description: hashmap that uses heaps as buckets // features priority removal // // description: hashed structure mapping keys to value // // Created by Ming Kai Chen on 2014-07-15. // Copyright (c) 2014 Ming Kai Chen. All rights reserved. // #ifdef __HASH_MAP__H #in...
77e88f801076e72f874b3c7e809f6745a08e712b
b1f367c0994badd5b28a81824017d2a934c0a008
/Algorithm/Branch_Bound/Exercise/Bracket normals/bracketNormal.cpp
0cd17dd69d8d8b8321cba7d64fb9b56dc1874f02
[]
no_license
h114mx001/Competitive-Coding
070bfe8d931ca3e0a551cb839442e1b5c395f739
7cd069aff9450104a4b3b65bd2700fc1d6c5383c
refs/heads/master
2023-02-07T07:37:25.334940
2020-12-27T09:33:31
2020-12-27T09:33:31
289,979,932
0
0
null
null
null
null
UTF-8
C++
false
false
804
cpp
bracketNormal.cpp
#include <bits/stdc++.h> using namespace std; int arr[100]; int n; string brackets = "()"; bool checkValid(int j){ int sum = 0; for (int i = 1; i <= j; i++){ if (arr[i] == 0){ ++sum; } else --sum; if (sum < 0) return false; } if (j < n){ return true; } ...
6803c31b9575ac29187ea624f482fe52ecd33328
f6724b46574298a3b89ac558954eadc49c9f96f1
/IntersectionofTwoLinkedLists.cpp
123b18b9f96aae07e7f1b3e20f3b40ffb1c765c2
[]
no_license
zrss/LeetCode
5b0a6ce72d44859cc12a45edef8c5a371c149bc9
54ff11599b5c141072f94e77ce55731b76467f0d
refs/heads/master
2020-04-06T00:57:25.675167
2016-10-22T03:26:26
2016-10-22T03:26:26
24,978,800
0
0
null
null
null
null
UTF-8
C++
false
false
1,253
cpp
IntersectionofTwoLinkedLists.cpp
#include <iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode *getIntersectionNode(ListNode *headA, ListNode *headB) { if (headA == NULL || headB == NULL) return NULL; ListNode* aPtr...
6f1f371acebbce39722a7d7a09b99e4fc76c9667
976a68b4b8441352b5f775a946335328db88783c
/src/assembler/mips_instr_writer.h
cbd2ef564801021e75345558e4c9195d1d256330
[ "MIT" ]
permissive
maddnias/EzMIPS
08f4b75d0c2529e6817175c09492712f648ec52d
01b1a96528d2293faebc363a4004f8c03cf82f42
refs/heads/master
2021-05-31T07:02:45.852827
2016-05-03T12:25:22
2016-05-03T12:25:22
57,319,750
1
0
null
null
null
null
UTF-8
C++
false
false
331
h
mips_instr_writer.h
#ifndef MIPS_INSTR_WRITER_H #define MIPS_INSTR_WRITER_H #include "runtime_context.h" class mips_instr_writer { public: mips_instr_writer(void); ~mips_instr_writer(void); void write_instr(const mips_instr &instr, mem_segment &segment, unsigned int addr); bool m_big_endian; private: runtime_context *ctx; ...
d5127c2823b875a38d00db3319a3a371cfe5ab13
0b01e80ca3d9217403b8aaf48ce6462c6a9cd296
/Q_2422.cpp
45861d5e73829adac4476dc13dabb0e26d655e29
[]
no_license
middlelow-Y/algorithm_training
dda2fef8dbf0ec415058728db6ba2848637fa2c4
e6f860f71db25c432b55236505d19073cdb2dc61
refs/heads/master
2021-10-10T13:51:14.494121
2019-01-11T12:49:51
2019-01-11T12:49:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
889
cpp
Q_2422.cpp
#include<iostream> #include<vector> #include<cmath> using namespace std; int N, M; int how_many = 0; int main() { int a, b; scanf("%d %d", &N, &M); vector<vector<int>> cannot(N, vector<int>(N,0)); for (int i = 0; i < M; i++) { scanf("%d %d", &a, &b); cannot[a - 1][b - 1] = 1; cannot[b - 1][a - 1] = 1; }...
2d408931b411c63413df7bcdbfc8ea78b4785e1b
945a0eadeef3656506fd875101f6d05e30058af7
/src/motion_model.cpp
63358c3fcf4dd72a92fe83d65d0925989d54c431
[]
no_license
sameerbardapurkar/ParticleFilter
f3f8b420a7617cddb2a44ab853b6c62effff3788
75df45ee347173b2dab5fa3a0f6dac8351dceb1d
refs/heads/master
2020-07-02T09:52:20.666591
2016-12-13T04:28:11
2016-12-13T04:28:11
74,312,385
0
0
null
null
null
null
UTF-8
C++
false
false
1,877
cpp
motion_model.cpp
#include <motion_model.h> using namespace utils; using namespace data; namespace mm{ MotionModel::MotionModel(data::Log *log, double mm_std_xy, double mm_std_theta) : std_xy_(mm_std_xy), std_theta_(mm_std_theta) { utils_ = new UtilFunctions(); log_ = log; } void MotionModel::applyMotionModel(std::vector<ps::Part...
12569f556cbcb5c64bdead998957b8ed6ecc28e7
e5539f96495ab051a322b82896a6cc41731490b4
/.old/ImpInHeaven/Scene.cpp
7e3ae570c04b35cd3bd4507e88b66ccde6b91728
[]
no_license
StormHowl/ImpInHeaven
7fa8cd086e5b61f10879b755a8a0e7bf6287a3eb
b79c5d8e81c4799f678dba1d92ea5efb6432478c
refs/heads/master
2021-07-05T21:28:20.016765
2017-09-29T17:40:58
2017-09-29T17:40:58
92,089,878
0
0
null
null
null
null
UTF-8
C++
false
false
1,537
cpp
Scene.cpp
#include "Scene.h" #include "utils.h" #include <algorithm> #include <iterator> Scene::Scene() { } void Scene::addEntity(DrawableElement* element) { elements.push_back(element); } Imp* Scene::addPlayer(Imp* player) { players.insert(std::pair<std::string, Imp*>(player->getIdentifier(), player)); return player; } ...
160cdb1c82588db3e596fdf1894c82014b0167ca
d55bc0e8fd533aa2c02e2f80f03944838f6acdb2
/project/source/components/Camera.h
23f34e0461eddcc86e58e037c5957fa3926c99b8
[ "Zlib", "CC-BY-4.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
laetemn/rehover
8214a19610b364529ecf5405233dd631af6bd812
5219658b9877a9ea032a588aa95a6881ac37e92e
refs/heads/master
2023-06-25T23:19:17.628437
2020-04-28T17:10:37
2020-04-28T17:10:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,706
h
Camera.h
#pragma once #include "../pchheader.h" namespace Components { /*! Camera viewport in screen space */ struct CameraViewport { float width; /*< Width of the viewport rect */ float height; /*< Height of the viewport rect */ float offsetLeft; /*< X position relative to the left of the frame */ float offsetTo...
3868df9115e6edb778641693e0a7ba978c8f3c8f
104f14a892dbdd0d3cae5428298c8a56fa7cb887
/RectPlatform.cpp
f24a0e3f99934ba21d3ac1622a429699ebb64e97
[]
no_license
biyasto/Recreated-SuperMarioBros3
4ba5addf0cb21df1551fcb0f50dfa48194873f8b
8368256b9727d5a55b593f727e3a33bfa7a345c7
refs/heads/master
2023-06-29T16:05:04.855612
2021-08-04T11:59:07
2021-08-04T11:59:07
391,110,044
2
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
RectPlatform.cpp
#include "RectPlatform.h" CRectPlatform::CRectPlatform(float x, float y, float width, float height) { this->x = x; this->y = y; this->width = width; this->height = height; } void CRectPlatform::GetBoundingBox(float& left, float& top, float& right, float& bottom) { left = x - width / 2; top = y - height / 2; r...
3ab6d5e0c8f1d641c5b453763c3b02a9ccf3cc17
5d5baef098c65be072a7ce12899d320847e8636d
/Mixer/DirectoriesDlg.cpp
6eedac09582bcf8893680271ce9fdc3a38b9ce65
[]
no_license
OlafvdSpek/xcc
e43bfdaf2fbac4c413fc7855ddf378b6d7975024
76adf95fc048d8c1143b3bcc8e777f870245680d
refs/heads/master
2023-03-23T13:10:33.983570
2023-03-12T08:30:29
2023-03-12T08:30:29
44,600,393
44
18
null
2016-02-17T17:16:10
2015-10-20T10:59:00
C++
UTF-8
C++
false
false
3,276
cpp
DirectoriesDlg.cpp
#include "stdafx.h" #include "DirectoriesDlg.h" #include "xcc_dirs.h" CDirectoriesDlg::CDirectoriesDlg(CWnd* pParent /*=NULL*/) : ETSLayoutDialog(CDirectoriesDlg::IDD, pParent, "directories_dlg") { //{{AFX_DATA_INIT(CDirectoriesDlg) m_edit_dune2 = xcc_dirs::get_dir(game_dune2).c_str(); m_edit_td_primary = xcc_dir...
d1815da1b6b5d0be12cfb15f8a9063a16f5b92c2
0127c1ab6e64da0ae867aad0309cc9006ebced5f
/arduino/oled__.ino
3a64de0137105febb7f9c9c3d0c8cbb041a14928
[]
no_license
if-0518/homework
1e328bae1307d09ee7f57d971bb017ed67ba382b
df53bb20e8c847c6a4a5e1d6d996e2703b0f256c
refs/heads/main
2023-02-06T05:04:04.283422
2020-12-16T04:37:00
2020-12-16T04:37:00
321,707,156
0
0
null
null
null
null
UTF-8
C++
false
false
3,876
ino
oled__.ino
#include <NTPClient.h> #include <WiFiUdp.h> #include <SoftwareSerial.h> //软串口通信 #define SSID "if" #define PASS "88888888" SoftwareSerial monitor(5, 6); // RX, TX 软串口通信 #include <U8glib.h> #include <U8g2lib.h> #include <Arduino.h> #include "dht11.h" WiFiUDP ntpUDP; NTPClient timeClient(ntpUDP, "ntp1.ali...
17bf7dd84af1ee9a18b60389dc12e5ca8d3f5da9
c58866b57331311979f2479ae7627e6492be30db
/src/Vtk/Wrapper/quickVtkArcSource.hpp
81e2a153bc7d204ae5a63af30ce924331da9afcb
[ "BSD-3-Clause" ]
permissive
ruisebastiao/QVTK
2763b3c7d2a3260b6a641403135cf4e219f826c5
6e9aee0d0fc691539dca3b825d0ffe6e7b30db09
refs/heads/master
2021-03-07T18:19:11.934936
2020-10-21T21:22:39
2020-10-21T21:22:39
246,286,556
1
0
null
null
null
null
UTF-8
C++
false
false
2,089
hpp
quickVtkArcSource.hpp
#pragma once #include "quickMathVector3.hpp" #include "quickVtkPolyDataAlgorithm.hpp" #include <vtkArcSource.h> namespace quick { namespace Vtk { class ArcSource : public PolyDataAlgorithm { Q_OBJECT Q_PROPERTY(quick::Math::Vector3* point1 READ getPoint1 CONSTANT); Q_...
278a8708a673563ed4ff54046a9a87aeea54a4a7
170c5603638739b16ef4662ed0a9d994c3b05a27
/ICP/src/scene.cpp
ddfe18e5853a4f2f60b00f962bc38aa38b0c9e7e
[]
no_license
ybcr7/UCL-3D-Geometry
4e845dc77dc595134113b6fde7b42956c0776087
a64588c0683ee6720f65645ce93e1b255e2e8d32
refs/heads/master
2021-04-08T01:01:53.704224
2019-08-15T22:32:38
2019-08-15T22:32:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,443
cpp
scene.cpp
#include <igl/readOFF.h> #include <igl/opengl/glfw/Viewer.h> #include "scene.h" #include "icp.h" #define FILE_PATH "../data/" struct Scene::RenderingData{ Eigen::MatrixXd V; Eigen::MatrixXi F; Eigen::MatrixXd C; }; Scene::Scene(igl::opengl::glfw::Viewer& refViewer):viewer(refViewer){ it...
8df33c8e2147bcab6087c0433933690a226fac71
61abba14ecc4f5ee6097e956619c6ed54640cfe7
/programming-in-high-level-languages/2nd-semester/laboratory-work-3/v1-unfinished/Polynomial.cpp
b49e870b225690f79d527613afc8c0f9e77f53ad
[]
no_license
koterevma/mb-bmstu-works
bd6864a1c167fe32f87c098e161d01a6862755a8
15fa5e82761d0265f833e8adb966650cd66808cf
refs/heads/master
2023-08-29T19:34:18.471944
2021-11-09T19:31:26
2021-11-09T19:31:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,041
cpp
Polynomial.cpp
#pragma clang diagnostic push #pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection" #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma ide diagnostic ignored "bugprone-narrowing-conversions" /** * Created by Bernigend on 28.04.2020. */ #include <cmath> #include "Polynomial.h" // конструктор...
72eab7f763cc3d08b0334e0ee477430c504ebed0
85b24d826dd7a2fe9a4bfa2c0ccdf8fc04f9da14
/emulator/decode_instruction.cpp
2cbb6349bcf203103cd2d859bca19320e82fb845
[]
no_license
alexzhang007/MipsSimulator
d6d91283e3ad8a0ae39e75616d3e391fa25fabfb
eac10be7a6bb4944890a4a7e5ae0ad07c8ea3682
refs/heads/master
2020-06-25T22:42:24.758219
2017-07-12T10:49:03
2017-07-12T10:49:03
96,996,734
0
0
null
null
null
null
UTF-8
C++
false
false
2,105
cpp
decode_instruction.cpp
#include "decode_instruction.h" InstructionDecoder::InstructionDecoder(int depth): depth_(depth){ } InstructionDecoder::~InstructionDecoder(){ for (int i=0; i<depth_; i++) { fifo.pop(); } } bool InstructionDecoder::DecodePush(MipsInstruction& inst){ if (fifo.size() < depth_) fifo.push(inst); el...