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
2ab9531f28bd13ec63a0adde1f5cb839a346c277
c930780dba8090387b8362e459f7a4b605b68f61
/Tasks/Bonus_Solution2.cpp
77669352c4c3ae622fcaed4ba6c446b25ba0f767
[]
no_license
Pkotova/intro-programming-2020-2021
e3457b4e0738fc0ee221bf02b73528e6bfc941fa
c096d08d6a666d1937808d0198702e3fffec01a7
refs/heads/main
2023-02-26T13:23:43.410495
2021-02-03T17:51:50
2021-02-03T17:51:50
301,367,070
0
0
null
null
null
null
UTF-8
C++
false
false
676
cpp
Bonus_Solution2.cpp
#include "pch.h" #include <iostream> #include <cmath> using namespace std; int main() { // TASK 04 int a, b, c; int D; double x1, x2; cout << "Input the coefficients for ax^2 + bx + c = 0" << endl; cin >> a >> b >> c; if (a == 0) { cout << "The solution is x = " << (double) -c / b << endl; // parse the re...
b7529121930b18d2929c92664f6bc389e648ff9d
191c8a31295021505a01242a461efa78c8e5d712
/chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__145.cpp
1519c237873b454562e1da1bb3495331b434c404
[ "BSD-3-Clause" ]
permissive
vargandhi/ime-congs
4f485c6551ba725e2a11d57888341be65f841c01
963be79b7b319d8e74edae09df7bdf3330371401
refs/heads/main
2023-03-21T13:10:21.477493
2021-03-13T22:04:02
2021-03-13T22:04:02
334,827,027
0
0
null
null
null
null
UTF-8
C++
false
false
386,000
cpp
VTestHarness__145.cpp
// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Design implementation internals // See VTestHarness.h for the primary calling header #include "VTestHarness.h" #include "VTestHarness__Syms.h" #include "verilated_dpi.h" VL_INLINE_OPT void VTestHarness::_sequent__TOP__8352(VTestHarness__Syms* __restrict vlSy...
97ef8ff42dda74915abb379003a90c87a192f170
7133cd0cc12549df5adbbfc9fe04a7915bc86f46
/SFMLOpenGL/Game.cpp
c7151e23c38e16f194f9445931cb166593723bef
[]
no_license
Liam-Hickey-Ire/Practical7Gameplay
120b13791c6363d597ec40b4abed8320f12046d8
9d4dc4b1309ec5941450c4999be2ec73a36d81bc
refs/heads/master
2021-06-10T18:27:35.975578
2016-12-08T15:41:34
2016-12-08T15:41:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,747
cpp
Game.cpp
#include <Game.h> bool flip = false; int current = 1; Game::Game() : window(VideoMode(800, 600), "OpenGL Cube") {} Game::~Game() {} float vertices[] = { 1.0f, 1.0f, -20.0f, -1.0f, 1.0f, -20.0f, -1.0f, -1.0f, -20.0f , 1.0f, -1.0f, -20.0f, 1.0f, 1.0f, -22.0f, -1.0f, 1.0f, -22.0f, -1.0f, -1.0f, -22.0f, 1.0f, -1.0f, -2...
bb48bbade02c52bd5199873d822cadc6b21565cd
e4960ccc6b4a81c906a8311e5282d54f3a869ef1
/Project/Phase3/SRI/RuleBase.cpp
24572ad6050f90e43f230cb84a20e5371c9036ed
[]
no_license
katerinachinnappan/CMPS-109
3f53bd72b30ae5caf5bad698c0c19a17f5771045
221c219106d37286682d86343a401fbc6345552f
refs/heads/master
2021-01-18T16:26:51.465923
2017-03-30T20:28:22
2017-03-30T20:28:22
86,744,797
0
0
null
null
null
null
UTF-8
C++
false
false
1,632
cpp
RuleBase.cpp
#include "RuleBase.h" RuleBase::RuleBase() { } /*void RuleBase::dropRule(string param, RuleBase *rb) { if(RuleDictionary.find(param)!= RuleDictionary.end()) RuleDictionary.erase(param); cout<<"Dropped rules"<<endl; }*/ void RuleBase::addRule(map<string, vector<string> > mems) { string assoc ...
78411ebc483fa4cda5be0073230f3fd24f41829c
7a936105142124a8e493d84b7530cfaf8a349575
/multiple inheritance/Farmer.h
45241f48d7bd7ebb2285d1f16ac0386c282e09f3
[]
no_license
Eithan1/SyntaxAndDataStructures
a8139d018a688caa42a93fb27ac2f9084c0e16b7
c0ae79d8a58663596fcb4914a4ebe0d64b1bb03b
refs/heads/master
2020-04-09T16:11:13.539015
2018-12-08T07:52:14
2018-12-08T07:52:14
160,445,804
0
0
null
null
null
null
UTF-8
C++
false
false
306
h
Farmer.h
// // Created by 张国梁 on 2018/7/20. // #ifndef DUOJICHENG_FARMER_H #define DUOJICHENG_FARMER_H #include <string> using namespace std; class Farmer { public: Farmer(string name = "Jack"); virtual ~Farmer(); void sow(); protected: string m_strName; }; #endif //DUOJICHENG_FARMER_H
aeaa7000e6e76c3bf2b24aa5e5a8d71f87c2be78
88f244733be35ba4570ae03cbab6bf83872e6449
/cppcrypto/simon.h
446e537261df5473a7250d5710fa14306be848e9
[ "MIT", "ISC", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
crashdemons-external/kerukuro-cppcrypto
7577d97260a3c6210c3e55194eb0dfa961fb946b
090d0e97280c0c34267ab50b72a2ffa5b991110b
refs/heads/main
2023-03-15T01:13:17.793068
2021-03-03T00:34:29
2021-03-03T00:34:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,884
h
simon.h
/* This code is written by kerukuro for cppcrypto library (http://cppcrypto.sourceforge.net/) and released into public domain. */ #ifndef CPPCRYPTO_SIMON_H #define CPPCRYPTO_SIMON_H #include <stdint.h> #include "block_cipher.h" namespace cppcrypto { class simon128_128 : public block_cipher { public: ~simon128_1...
0c7b026d7cb7010ef7ba85dc174c92d2afd216a2
301e180dc52fe48dc35d8c6ceb3f7118bbc17f30
/City/PointHistory.h
913c2cd88f2781f85204319b8a268ad7e19d4905
[]
no_license
TitaniumSpartan/Step4
a2eac56794bb512ccb3d8ed87b99b301e50b008c
ceee24b988be8f99aa9f4bcd9385af705117f593
refs/heads/master
2022-04-06T16:24:24.718721
2020-02-07T02:55:32
2020-02-07T02:55:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,730
h
PointHistory.h
/** * \file PointHistory.cpp * * \author Charles Owen * * Class that maintains a collection of Point objects in order. */ #pragma once #include <memory> #include <random> /** * Class that maintains a collection of Point objects in order. */ class CPointHistory { public: /// The number of potato lists. con...
9259a5ae4eba83b3df121a9dce05bd5aef860d78
feb0742ea3aaae6aa9ec814eeac651a641a972c0
/project/src/Warehouse.cpp
3174113f16e8fb643b4579027875d8ed8193d1a9
[]
no_license
hironobukozu/SSE-cpen-
b4a71624797c83e0ff03ec2878d1652ee062d2f9
f7863df7a18da82c063bf0ba473b5e4b5ea0d5ee
refs/heads/master
2020-04-08T14:16:47.092379
2019-02-09T00:32:08
2019-02-09T00:32:08
159,429,954
0
0
null
null
null
null
UTF-8
C++
false
false
3,584
cpp
Warehouse.cpp
#include <fstream> #include <iostream> #include <string> #include <thread> #include <memory> #include <mutex> #include "Warehouse.h" #include "JsonWarehouseApi.h" #include "Warehouse.h" #include "Robot.h" #include <cpen333/process/socket.h> #include <cpen333/process/shared_memory.h> #include <cpen33...
2ca8d7155fccb27a7323c83ab18769e0fb0c4837
8d0f764da10bc17675f82bde3d1801de4c2c9ff7
/CodeForces/CF807-D2-A.cpp
85b4f192133d0f5e52ac4eeb437cd7fc682668cd
[]
no_license
AbdelrahmanElhawary/CompetitiveProgramming
f24f675ced34d75a383db03a9ffef59373b23c31
791ed4fcdefde421902f3b512414c1a49fdc21cd
refs/heads/master
2021-05-09T05:00:41.380756
2020-08-19T09:57:32
2020-08-19T09:57:32
119,295,405
1
3
null
2020-10-01T20:12:38
2018-01-28T20:33:41
C++
UTF-8
C++
false
false
829
cpp
CF807-D2-A.cpp
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include<iostream> #include<map> #include<cmath> #include<algorithm> #include<string> #include<set> #include<sstream> #include<vector> #include<string.h> #include<queue> #include<list> #define F first #define S second #define ll long long using namespace std; void ...
b7387b88098a1c49a1b34e4ccb031589f954db1b
2652a3d0618af9a4a1d9005819c28578e6cb762a
/src/BCB/SampleApp/SampleApp/openGL/SYGLUIButton.h
7c7e5f4a5cc0d5871897d4db8db47277dbc193b0
[]
no_license
wirlsawyer/SYOpenGLToBCB
95f1a4f6fcef3aad51ab08c5fa540c04823e21ef
b7f3a43b5d36b39fddcd5dd1edc0063228367ba2
refs/heads/master
2021-01-17T17:50:45.256770
2016-10-12T01:38:05
2016-10-12T01:38:38
70,650,764
0
0
null
null
null
null
UTF-8
C++
false
false
3,044
h
SYGLUIButton.h
#ifndef _SYOPENG_UIBUTTON_H_ #define _SYOPENG_UIBUTTON_H_ #include "SYGLUIView.h" enum SYGLUIBUTTON { SYGLUIBUTTON_NORMAL = 0, SYGLUIBUTTON_DOWN, SYGLUIBUTTON_OVER, SYGLUIBUTTON_DISABLE }; class SYGLUIButton : public SYGLUIView { private: typedef SYGLUIView super_t; SYTexture2D *m_texture_Norm; //no releas...
0f5f0a234d92b528d19548f47ce64baaa717924b
c22ab83b71294b61ccfc987418cccaab99271c41
/2016-03/2-俄罗斯方块.cpp
363e6cd86ef42199b2c84308a42685d2b6cb95ed
[]
no_license
Coder-Liuu/CCF-CSP-solution
531ab67ce7b73749ea6e3dd79e6480825c6632aa
c882f90dc0477779912deab326b10414d25fb2b7
refs/heads/main
2023-03-19T07:47:53.566276
2021-03-03T17:43:33
2021-03-03T17:43:33
340,525,930
0
0
null
null
null
null
UTF-8
C++
false
false
1,164
cpp
2-俄罗斯方块.cpp
// 知识点: 数组 模拟 #include <iostream> using namespace std; const int N = 20; int g[N][N]; int add[4][4]; int idx; bool check(int k){ if(k > 11) return true; int flag = 16; // 以第k层为例 for(int j = 0; j < 4; j++){ for(int i = idx; i < idx+4; i++){ if(add[j][i-idx] == 1 && g[k+j][i] == 1) ...
5507968569c42d212d648f8d97c9a8210f47803f
c3d26d8700df87c76396fbd5853474177cd03e8b
/JoJoEngine/WinHierarchy.cpp
63a05fce7c8aa120bfa1cd166652d59ed4883b46
[ "MIT" ]
permissive
joeyGumer/JoJoEngine
601e067ec8a9be5a305a4e3795ab0235d7008c2e
15289b1f87e5c79a51ff04a703977abf9dd84886
refs/heads/master
2021-08-22T05:58:05.945296
2017-11-29T12:17:26
2017-11-29T12:17:26
103,857,320
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,269
cpp
WinHierarchy.cpp
#include "WinHierarchy.h" #include "Application.h" #include "ModuleEditor.h" #include "WinProperties.h" #include "Application.h" #include "ModuleGOManager.h" #include "GameObject.h" #include "Globals.h" #include "Imgui/imgui.h" WinHierarchy::WinHierarchy() : EditorWindow() { } WinHierarchy::~WinHierarchy() { } vo...
3084acb80f59b181e3e0fc59f7fc7134257b426f
df16d2c37c8767a1f76af9729cf6646ad8b5fbaa
/7.0/src/udptHttppHandler.h
c2fb64a710427d8f344872960ee3f4bbc7851e28
[ "MIT" ]
permissive
InstantWebP2P/firefox-httpp
083c71ecc4c4f05b8302b62d9c5dc7d8fb03f534
4810d8c9db098c33a7663775cfbbdf1da4f33aa9
refs/heads/master
2021-06-27T09:53:34.911127
2020-11-17T20:28:50
2020-11-17T20:28:50
5,573,788
4
2
null
null
null
null
UTF-8
C++
false
false
1,969
h
udptHttppHandler.h
/* * HttppHandler.h * * Created on: 2010-11-28 * Author: yiqxiong */ #ifndef udptHttppHandler_h_ #define udptHttppHandler_h_ #include "nsStringAPI.h" //#include "nsXPIDLString.h" #include "nsCOMPtr.h" #include "nsWeakReference.h" #include "nsIHttpProtocolHandler.h" #include "nsIProtocolPro...
5c23e0004b37e25d79a43b47e42b1c5d44d100f4
1af3bf37489bc15d742cf9f599050aa08afe4d6e
/driver.cpp
1608b5fcfb2332874e56e89629fb4b382d01d43d
[]
no_license
mizimmerman/Terminal2048
0ed65751f31f5030420ce82417915141fed5ec4e
8d3a294b8b5aa8b1930d340cb8fb1cf470c27bdc
refs/heads/master
2021-01-10T19:23:20.765278
2014-04-09T15:43:16
2014-04-09T15:43:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
195
cpp
driver.cpp
#include "controller.h" #include <iostream> using std::cout; using std::endl; int main() { cout << "\nWelcome to 2048 - Command Line Edition\n" << endl; Controller c; c.run(); return 0; }
9e276a4ba4ae2e0d77a8fb011ecf6d86444fa1d8
c4157e124dad615fcd9404edb45868d3eb78e4b6
/src/ParseTree.h
5b5a40b574322e0dc9553ea0ffd992dd8e74c765
[]
no_license
sersajur/ModulaCompiler
93f9600f6b2a44ed3789cf3b874b890c238127cd
bcca74631732be61cd5f3963458509b96b37d8dc
refs/heads/dev
2020-12-24T18:03:03.517709
2015-06-19T02:45:42
2015-06-19T02:45:42
33,406,774
0
1
null
2015-06-07T15:41:39
2015-04-04T13:43:30
C++
UTF-8
C++
false
false
1,623
h
ParseTree.h
/* * ParseTree.h * * Created on: 1 черв. 2015 * Author: sersajur */ #ifndef PARSETREE_H_ #define PARSETREE_H_ #include <vector> #include <ostream> #include <string> #include "Rule.h" #include "TableOfNames.h" #include "TToken.h" #include "ByteCode.h" class ParseTree { private: Rule m_rule; std::vector<P...
fbab4cc298d62dbf464cb4e72059e24c6d3dc0a4
7eaa9d0fd79b1342ef4ad8a7556741a29d5c65a9
/exam/ruby_code/r107.cpp
b8f301dc2918590e94396fae4b52f763e5fa5be4
[]
no_license
sekiya93/ProgramTracing
7786134221838137fe228b1e6b800a311797dd49
428cb14ebc06bc7a559981576f6809bab1ce3de3
refs/heads/master
2021-01-19T19:52:04.137883
2017-04-17T01:52:38
2017-04-17T01:52:38
88,456,513
0
0
null
null
null
null
UTF-8
C++
false
false
125
cpp
r107.cpp
#include <iostream> using namespace std; int r107(int n) { if(n < 1) { return n; } return r107(n-2)+n+r107(n-1); }
61d601b039a4f04843fee5184bf469d9422927c1
ee2c89c8db04ee6b53d6277b0cf1b134bd7588e3
/include/Median.h
381eacb4846c39997bed865d0973b24c178efdef
[]
no_license
Pankovakr73/Zusatzaufgaben_cpp
9a12ed15d5947093876d42e29c816e31a76f484f
0f1b1c64d516427b84154d03955ddeae1e993f81
refs/heads/master
2020-06-10T13:59:26.481330
2019-06-25T08:09:31
2019-06-25T08:09:31
193,653,701
0
0
null
null
null
null
UTF-8
C++
false
false
277
h
Median.h
#ifndef MEDIAN_H #define MEDIAN_H #include <iostream> using namespace std; class Median { private: int* numbers; int arraySize; public: Median(int size); ~Median(); void addNumbers(); int getMedian(); void showArray(); private: void sort(); }; #endif // MEDIAN_H
695750d8517e3bcced57628ad777ff65f15e38ef
098e4a46a02fb4923741cc8640c6aa5468902c3c
/Fins Adventure/Camera.h
7fba1ed9330425bb638d476347cd3bcb1e4967fa
[]
no_license
iennedaemen/FinsAdventure
72d89ec92a95429bcaf63ed8c7ffb5ac17a9d99a
459844bf3518c4aedb7b71789ac0e25e57a82313
refs/heads/master
2021-04-02T12:33:22.545875
2020-03-18T15:51:32
2020-03-18T15:51:32
248,275,176
0
0
null
null
null
null
UTF-8
C++
false
false
388
h
Camera.h
#pragma once #include "structs.h" class Camera { public: Camera(float width, float height); void SetBoundaries(const Rectf& boundaries); void Draw(const Rectf& toTrack) const; Point2f GetPosition(const Rectf& toTrack) const; private: float m_Width; float m_Height; Rectf m_Boundaries; Point2f Track(const Re...
3cc68d6136b3902e7186180291150bf10dcb2b5f
e0901b6267d58a1e1a281b13e09685851a8e132d
/MenuItem.cpp
4e4c5b5e45cded4be725bd4cb7a66b56076a380a
[]
no_license
scwicker/Group
bea61300af32a20ccdaa67329abe29a500743984
56133b2fbc6d506f2ff031c43010b2c314cc4a81
refs/heads/master
2020-03-15T18:31:21.787913
2018-05-14T02:30:19
2018-05-14T02:30:19
132,285,590
3
1
null
2018-05-10T14:43:25
2018-05-05T21:23:50
C++
UTF-8
C++
false
false
980
cpp
MenuItem.cpp
/********************************************************************* ** Program name: MenuItem.hpp ** Author: John Casey ** Date: April 7, 2018 ** Description: Implementation of MenuItem, a class that stores information ** about an individual menu item. Used by the Menu class. ** Specification in MenuItem.hpp ...
ab556e61d8871c7fa87f689201283cf997f175a7
654b72e14807bd8fa04aada559b8c4e1b92fb6e1
/Problem/P1149/P1149.cpp
fb7c8560c503ff6c81a664afdba53c700b54ce98
[]
no_license
Lounode/Luogu
3e02aafef8ef3e09b38b7056208bb75eb3353375
ccae99a3d1ccb7e1a12dc2ee33486aa5986285d8
refs/heads/master
2020-04-26T07:07:32.468425
2019-04-27T14:00:02
2019-04-27T14:00:02
173,385,017
1
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
P1149.cpp
#include <iostream> #include <cstdio> using namespace std; int n; int s[12]={1,2,8,9,6,9,29,39,38,65,88,128}; int main () { scanf("%d",&n); if(n<=12){cout<<"0";return 0;} cout<<s[n-13]; return 0; }
774c0ef252b78c44b1f5284f39bac88d83eaa448
1b38af12a5cc0493efc96d791e0b0ea5cb98389b
/KindData/src/KShapeFileIndex.cpp
0ffe793a29b434775da8f1e94d6a3eb32f0be058
[]
no_license
shenyczz/KLibrary
efce0689d496f2097d00da7faf46fb73f5102eb7
98eab1108f650253d243795222044989432c4d0e
refs/heads/master
2022-12-14T10:05:58.636127
2020-09-18T02:05:17
2020-09-18T02:05:17
296,487,674
1
0
null
null
null
null
GB18030
C++
false
false
2,271
cpp
KShapeFileIndex.cpp
#include "StdAfx.h" #include "KShapeFile.h" #include "KShapeFileIndex.h" namespace Shapefile { KShapeFileIndex::KShapeFileIndex(KShapeFile* pShapeFile) throw(KException) :m_pShapeFile(NULL) { m_pShapeFile = (KShapeFile*)pShapeFile; if(!Open(pShapeFile->GetShxFile())) { throw KException(_T("Open .shx file...
1aa7415c123ff1d551b19958eaf62566c0538257
31ac07ecd9225639bee0d08d00f037bd511e9552
/externals/OCCTLib/inc/BRep_PolygonOnClosedTriangulation.hxx
adeb4f7d5d0bceb255b4bcbe7f4613101dd81b39
[]
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,323
hxx
BRep_PolygonOnClosedTriangulation.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 _BRep_PolygonOnClosedTriangulation_HeaderFi...
15a66dc9c9447b9d744f6be172b9e4df63faea23
24dd423a4c4b23740e74d8d75f82710fe45c08ee
/stack.cpp
bc67ca4bf7bce51c2db2193a557f3570c1cb6d0c
[]
no_license
ksxcheng/interviewprep
2768cae9c125920b837d40f59f2313d41c8b6e94
7432840431ee724b1f5ccdcbd6d6c3b1a6870b79
refs/heads/master
2021-01-11T12:25:53.536178
2017-01-20T07:31:24
2017-01-20T07:31:24
76,674,272
0
0
null
null
null
null
UTF-8
C++
false
false
685
cpp
stack.cpp
#include <iostream> #include <stack> int main() { std::stack<int> mystack; for (int i = 0; i < 5; ++i) mystack.push(i); std::cout << "Popping elements " << std::endl; while (!mystack.empty()) { std::cout << ' ' << mystack.top(); mystack.pop(); } std::cout << "Stack empty now " << std::end...
43c90129b8dbb5c9df053acc72dee03340edebe7
002b6230874dea6e4d76defafc1ae293b5744918
/library/SpatialDomains/CrvSegGeom.h
79be20e4ccfee299ad5596c82e439175f79cc912
[ "MIT" ]
permissive
SCOREC/nektar
f3cf3c44106ac7a2dd678366bb53861e2db67a11
add6f04b55fad6ab29d08b5b27eefd9bfec60be3
refs/heads/master
2021-01-22T23:16:16.440068
2015-02-27T17:26:09
2015-02-27T17:26:09
30,382,914
6
7
null
null
null
null
UTF-8
C++
false
false
4,008
h
CrvSegGeom.h
//////////////////////////////////////////////////////////////////////////////// // // File: SegGeom.h // // For more information, please see: http://www.nektar.info/ // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronautics, Imperial Coll...
2e627353949663d2b378147595f3573492b58d6a
4cb6f1164795d36d6b9974a856940d9438c15d72
/src/web_server/content_encoding.cc
4591a286cc01194c6012177e84794a9b8dfbb74a
[ "MIT" ]
permissive
motis-project/net
2933c5c25acc384defe562db6d1c81a8907dc247
44674d2f3917e20b7019a0f7254d332522c36fb7
refs/heads/master
2023-05-10T16:53:28.068335
2023-05-05T14:58:15
2023-05-05T14:58:15
249,821,049
1
2
MIT
2023-05-05T14:58:16
2020-03-24T21:23:05
C++
UTF-8
C++
false
false
2,573
cc
content_encoding.cc
#include "net/web_server/content_encoding.h" #include <cstdlib> #include <algorithm> #include <locale> #include <sstream> #include "boost/beast/http/rfc7230.hpp" #include "boost/iostreams/device/back_inserter.hpp" #include "boost/iostreams/filter/gzip.hpp" #include "boost/iostreams/filtering_stream.hpp" namespace b...
197f7e44346f638186d76e43a886ff01ea9390bf
ec8f6238a89045c4420b19fe662abc8754a33ead
/luogu/1307.cpp
5b0978ba2ba5852a0ec003d93eccc9acfdef8930
[]
no_license
hajbw/OICodeStorage
9fe4748a13ec799aed8c21f67c576f8cfd47d3c6
c4c1bbee4c2e0d5c5af792ce6cfb42a7ef5294b0
refs/heads/master
2021-07-23T22:51:23.816998
2018-11-09T13:58:34
2018-11-09T13:58:34
113,634,410
0
0
null
null
null
null
UTF-8
C++
false
false
617
cpp
1307.cpp
#include <iostream> using namespace std; /** *P1307 数字反转 *已AC */ int main() { char num[12] = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; char result[12] = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; short offset = 0,index = 0; bool flag_jump = true; cin.getline(num,11); ...
3cd507c7103c41738ce84dee8b76fd15b060d044
20d3c1a579e6d17fe209bf5715fbf75a2e60987c
/Segment-Tree/woj1464.cpp
07acaafe3fb2b7bb48d0907518336a427a8bee46
[]
no_license
brickgao/ACM_Workspace
c2b31e835cff2bdd600924f7a0532edd32613a3e
cf165d09c319cd2c2d46399a569faecd5c1058b3
refs/heads/master
2021-01-01T17:52:21.309965
2013-10-12T11:49:32
2013-10-12T11:49:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,529
cpp
woj1464.cpp
//By Brickgao #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <algorithm> #include <vector> using namespace std; #define out(v) cerr << #v << ": " << (v) << endl #define SZ(v) ((int)(v).size()) #define lson l, m, rt << 1 #define rson m + 1, r, rt << 1 | 1 #define LL...
4d527f5a0626035447aded20c727aeb8355dcdd3
25b7e3e84afc080e369b9ae64fd9e85536292938
/Trainning/2016-08-09 - 2016 Multi-University Training Contest 7/5813. Elegant Construction - 构造.cpp
cbcef6e4cf38b30a7a6023dd479cbce48e1c7417
[]
no_license
ichn/3-code-for-ac
8a6949e246f50d6d045f194486f3f7f806289e19
4182e2c7ee07c856911a38d114e42443f5eb7b14
refs/heads/master
2021-01-19T06:11:07.419702
2016-10-03T17:44:40
2016-10-03T17:44:40
64,799,372
0
0
null
null
null
null
UTF-8
C++
false
false
2,749
cpp
5813. Elegant Construction - 构造.cpp
#include <bits/stdc++.h> using namespace std; namespace my_zone { #define rep(_i, _k, _j) for(int _i = _k; _i < _j; ++_i) #define rgo(_i, _k, _j) for(int _i = _k; _i <= _j; ++_i) #define foreach(_i, _s) for(typeof(_s.begin()) _i = _s.begin(); _i != _s.end(); ++_i) #define pb push_back #define mp make_pair #define clr(t...
afda855789602366220abafd5891a310cb4b9f60
999f34e1d946bafafccdadf002b15067aacc0543
/Script Genie 1.0/ScriptWindow.cpp
c82b85b66468fe3c306fb706d2b080616f19e58e
[]
no_license
G00SE-EGG/Script-Genie-1.0
14b907bdca9de85c43624e5686b73e3e06cb5bb4
5b4900dcfe792ce8b1c5904d5720b77b5bbe7c6f
refs/heads/master
2020-11-30T17:54:38.253656
2016-09-09T03:38:23
2016-09-09T03:38:23
67,760,026
0
0
null
null
null
null
UTF-8
C++
false
false
569
cpp
ScriptWindow.cpp
#include "ScriptWindow.h" ScriptWindow::ScriptWindow(int x, int y, int width, int height, char* title) :Fl_Window(x, y, width, height, title), parameter_check(false) { begin(); //btn_generate = new Fl_Button(100,400, 70, 40, "Generate"); end(); show(); } ScriptWindow::~ScriptWindow() { } void ScriptWindow::c...
3d7040d5d6fae8a9a2fdd700a922f062be0344f9
18890a72e47c46cbc25b4711c1f5903fac967784
/Projet1CPP/Projet1CPP/CException.cpp
c0a0c094475b57cca8c9bba570ec3fcedf57e1ee
[]
no_license
Millasta/Projet1CPPgit
b073f832495179d6ee928c8ae5134825eed6a369
992a8a007895a20355fa56d1abb1904fa3fee843
refs/heads/master
2020-03-08T03:00:36.088941
2018-04-11T16:18:13
2018-04-11T16:18:13
127,013,967
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,679
cpp
CException.cpp
#include <iostream> #include <string.h> #include "stdafx.h" #include "CException.hpp" // Constructeur par défaut CException::CException() { iEXCId = 0; sEXCDescription = (char*)"Exception"; } // Constructeur prenant en paramètre l'id de l'exception CException::CException(int id) { iEXCId = id; sEXCDes...
5cdda82ec69681b41518adb45bcc058796152961
4dcbe5f82d062994f2bfbc11e6351647f8811525
/ShiftRegisterTest/ShiftRegisterTest.ino
bc8eb948f09c665513530265767b07322e9a2a65
[]
no_license
ScholliYT/LED-Matrix-16x16
08c9d1ba7d4c38c78faa02c06bad4a1642172e0c
c81760af70134c4c99d0123ac98e0541156dd5cb
refs/heads/master
2022-04-30T22:06:24.818576
2022-01-10T12:34:38
2022-01-10T12:34:38
99,058,498
3
2
null
2022-01-10T12:34:39
2017-08-02T01:29:09
C++
UTF-8
C++
false
false
1,878
ino
ShiftRegisterTest.ino
#define SData 23 #define SLatch 22 #define SClock 21 void setup() { pinMode(SData, OUTPUT); pinMode(SLatch, OUTPUT); pinMode(SClock, OUTPUT); digitalWrite(SData, LOW); digitalWrite(SLatch, LOW); digitalWrite(SClock, LOW); pinMode(13, OUTPUT); digitalWrite(13, HIGH); } void loop() { for (uint8_t row ...
e4c67188d7f4c74c3ed0862e5b5921f173a49661
76580a199d8102177974b63236b1719d39647e74
/opengles3/7primitive/common/esutil.cpp
ffdfc878c22238611d677a845491ce8675debc96
[]
no_license
rubydongle/androidgraphicstudy
d5b18f8c03a0f954fb602e1b839d711a4a59b88e
8716f104737fd88a7872621c10af99bc3404b882
refs/heads/master
2020-09-30T12:43:26.752249
2019-12-13T09:44:09
2019-12-13T09:44:09
227,289,726
0
0
null
null
null
null
UTF-8
C++
false
false
12,776
cpp
esutil.cpp
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "esutil.h" #include <android/native_window.h> #include <gui/ISurfaceComposer.h> #include <gui/Surface.h> #include <gui/SurfaceComposerClient.h> #include <gui/SurfaceControl.h> #include <system/window.h> #include <ui/DisplayInfo.h> ...
90b1c39185302995f263ce8b3a28b2cebfd647d3
aaed5a377911c147996f4fc315f01de1f28764b6
/第二章/2.3动态规划/完全背包-1.cpp
4eac5e5ef259ddce2128c5f631f0a4cc89d5cea2
[]
no_license
pidanself/about-my-change
234a4fbe6828fc6c9ccc04c5070503a0927cb2c0
3f76be7e745de06e8d35107408441f7eff86a5c0
refs/heads/master
2020-04-22T19:49:15.801063
2019-04-08T15:09:16
2019-04-08T15:09:16
170,620,352
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
504
cpp
完全背包-1.cpp
//ÍêÈ«±³°ü #include<iostream> using namespace std; int main(){ //input int n; cin>>n; int w[n],v[n]; for(int i=0;i<n;i++){ cin>>w[i]; cin>>v[i]; } int W; cin>>W; //output int dp[n+1][W+1]; for(int i=0;i<W+1;i++){ for(int j=0;j<n+1;j++){ dp[j][i]=0; } } for(int i=1;i<n+1;i++){ for(int j=1;j<...
ffb7659ae39a44936f0b5f1b18df9cf756a8fd42
df24c7f5ce1e6c26382c734fb838428be045ae04
/GSPModule/OmniViewCatadioptric.cpp
dcfc1d85a9a0f27c0b78a4404462a2e2b8eb6d0e
[]
no_license
jmercier/GSP
35f546e42146740abc127af840b940c69cbddd8c
6d9567ca892c40fdd5f8bb0d620779524e950c1b
refs/heads/master
2016-09-06T01:20:07.716329
2010-05-12T16:22:12
2010-05-12T16:22:12
611,814
0
1
null
null
null
null
UTF-8
C++
false
false
5,641
cpp
OmniViewCatadioptric.cpp
#include "OmniViewCatadioptric.hpp" #include <cstdio> #include <cstdlib> #include <iostream> #include <sstream> #include <opencv/highgui.h> #include <cmath> #include <libxml/parser.h> #include <libxml/tree.h> using namespace std; const int OmniViewCatadioptric::nbCircles = 32; const int OmniViewCatadioptric::nbRays ...
5739bd1ca2b462815cd3cb4f8c5d8374e7b216c3
80fe666b677642a6234ceca890bfdf910bd64d29
/src/utils/fileview/eD2kFiles.cpp
48f0234b290645acf77da3857a8765ae27d31ad1
[]
no_license
persmule/amule-dlp
44468301a226dfebadd5375f5101ba05ce4ea699
7b3a07ab554d95267cca0c4a819b26d8474d6b3b
refs/heads/master
2023-03-12T04:17:08.845709
2023-03-02T06:53:11
2023-03-02T06:53:11
15,818,026
96
36
null
2022-01-05T05:14:08
2014-01-11T06:31:08
C++
UTF-8
C++
false
false
9,529
cpp
eD2kFiles.cpp
// // This file is part of the aMule Project. // // Copyright (c) 2008-2011 Dévai Tamás ( gonosztopi@amule.org ) // Copyright (c) 2004-2011 aMule Team ( admin@amule.org / http://www.amule.org ) // // Any parts of this program derived from the xMule, lMule or eMule project, // or contributed by third-party developers ar...
0381f5a385233683a8fa021f576449f1610eb7ec
7d0c963d05e31af3cc63f7e22b5c49f40797d0f4
/World/Source/net.cpp
35259fad861405abf935c588d89a5a362b7fde8b
[]
no_license
aceoyame/OpenEQC
18c12bd1c1ffba3b0fbfbf29944a8146819d720f
a45e833624533584d5e89c7999b6091c3ad1638b
refs/heads/master
2020-12-31T03:26:33.626355
2014-02-22T13:07:21
2014-02-22T13:07:21
16,559,745
2
1
null
2014-02-22T13:07:22
2014-02-05T21:51:19
C++
WINDOWS-1252
C++
false
false
6,415
cpp
net.cpp
// *************************************************************** // EQCException · date: 21/12/2007 // ------------------------------------------------------------- // Copyright (C) 2007 - All Rights Reserved // *************************************************************** // // *****************************...
ef19b5c25bbeb444e8bcd380bc28c8fe3d56d9e8
417586cf681cfe6eb39da3d84527f5d8b3551296
/src/zebulon/qp-generator-orientation.h
c321338bb43f44b3dfeda2aa6ddace283cf1936b
[]
no_license
francois-keith/mpc-walkgen
115d5b131feed288ff4de105fa9594958916e83c
d66dabae13c2e6d5e088d3b660a1f48f569bff09
refs/heads/master
2021-01-19T07:30:58.165995
2013-06-18T09:00:44
2013-06-18T09:00:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,917
h
qp-generator-orientation.h
#pragma once #ifndef MPC_WALKGEN_ZEBULON_QP_GENERATOR_ORIENTATION_H #define MPC_WALKGEN_ZEBULON_QP_GENERATOR_ORIENTATION_H //////////////////////////////////////////////////////////////////////////////// /// ///\file qp-generator.h ///\brief A class to compute QP elements for orientation problem (objective, constraint...
39d43eaa9af994648493a0321bcddddeceb94fd0
0d4bdbc71139662fb3d5b120b7021156acf0a220
/BIN/FINALCPR.CPP
0e33139494efe5130716a86832175a8ac5742019
[]
no_license
16211120/C-project
7973011504c548d31926e4d44121879851b59d1f
6bc24052c28d90e04498dcf175996e9619b28195
refs/heads/master
2020-03-26T20:04:00.406545
2018-08-19T12:44:47
2018-08-19T12:44:47
145,302,238
0
0
null
null
null
null
UTF-8
C++
false
false
4,070
cpp
FINALCPR.CPP
#include<stdio.h> #include<conio.h> void inputdata(); void mainmenu(); void entercardetails(); void enterdriverdetails(); void rentercar(); void searchvehical(int v); void searchdriver(); int c[3][10],d[2][10],date,x=0,z=0; void main() { clrscr(); int opt1; printf("\n\n\t\t**************P&G TOUR SRILANKA**********...
f3c223234f8091a6a33123092757e423a760705d
21355ad1da114531103e1b3344ee69b36b45766b
/SSDO/SSDO/Src/RWTexture.cpp
a395701df0380d4538802d9065219ce9c3a5b8ab
[]
no_license
ACPLMaverick/Wawrzonowski_Samples
306a96102d4031c76cead1f0eca560bf6fa0f6d1
0d48ff3dc199fe409a958cd825253e79fe55c777
refs/heads/master
2021-07-21T07:16:14.602554
2017-10-30T08:22:11
2017-10-30T08:22:11
107,714,116
1
0
null
null
null
null
UTF-8
C++
false
false
2,553
cpp
RWTexture.cpp
#include "stdafx.h" #include "RWTexture.h" #include "Renderer.h" void RWTexture::InitResources(bool bMakeReadOnly, bool bIsRenderTarget) { Texture::InitResources(bMakeReadOnly, bIsRenderTarget); DWZ(D3D11_UNORDERED_ACCESS_VIEW_DESC, uavDesc); GenerateUAVDesc(uavDesc); ID3D11Device* device = Renderer::GetInstance()...
49542902c0586f0a1278869d5cfc700281dbb871
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/elevation_service/elevator.cc
ec9a67546b3c7ecb60c50ed5f87f12e48233249d
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
1,029
cc
elevator.cc
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/elevation_service/elevator.h" #include <stdint.h> #include "base/files/file_path.h" #include "base/win/win_util.h" #include "chrome/ele...
559948427e4e4ac21ee8e4d90cb9fb28e9c07ecb
daa4f99496fe7d77817e4c3e98baf7b1e1adbaba
/menu_310s.cpp
656502d00e70247188e8ad6ed39aa36b91d10f4c
[]
no_license
naaradian/hello7
0cd50469f2072ffffa1d605176972bd90397cf08
1b701e98bf1a8014b37efd672300074b24674146
refs/heads/master
2020-04-11T09:12:30.102060
2016-09-13T09:46:24
2016-09-13T09:46:24
68,086,865
0
0
null
2016-09-13T09:46:24
2016-09-13T07:47:13
C++
WINDOWS-1251
C++
false
false
84,179
cpp
menu_310s.cpp
//menu_310s.cpp //char c[2,2]; NamesConfigFiles.Init( &theAnyStrings.cs[0], 7, 2, //x,y 1 , //changable ZeroStorage, //hier is zero - not saved &theAnyStrings.cNamesConfigFilesV[0], //variants 0, //init value NAMES_LEN, //chars in one on indikator MAX_NUM_CFG, // ...
c459a19ee0491d6c6531f6066530fc5250d4eb65
c0c0af2d8a1c5e3c0a036c6c3b934f3d43c0f5cf
/YonAndroid/jni/YonEffect/BoxEmiter.cpp
27de48843f00bcf82a5ca353808571a2cf2eade9
[]
no_license
feiqiu/repository-of-projects
5f796734e906ccf16b386f7c8f486669e75159cb
a0393d01f57b14d030064cd45d3cd9bb538d4419
refs/heads/master
2021-05-31T10:14:12.565392
2014-02-10T06:04:28
2014-02-10T06:04:28
null
0
0
null
null
null
null
GB18030
C++
false
false
5,887
cpp
BoxEmiter.cpp
#include "BoxEmiter.h" float MultiparC2(float c,float d,float cV) { c=c+d*cV; ASSERT_RANGE(c); return c; } CBoxEmiter::CBoxEmiter(void) { width=30; length=30; minLength=0; minWidth=0; } CBoxEmiter::~CBoxEmiter(void) { Particle.set_used(0); } int CBoxEmiter::emit( int ...
43e1adc7bde8f8d7b597a38993f4e95ef6246f29
9d5144d98b5a6e08925a0cb0c6e4bc70e292e9c8
/时钟 四重循环/时钟 四重循环/时钟.cpp
02da4116d2385486872d6d8f0a0f1bd62cbf29ff
[]
no_license
suyaofan/githubTest
ab2857c3c0ff0dd185d71b18fa9998cb92456ece
01727e9678f242868bc4f24df7b3cc7189dfa532
refs/heads/master
2020-06-15T03:30:50.587067
2019-07-11T07:14:33
2019-07-11T07:14:33
195,193,075
0
0
null
null
null
null
GB18030
C++
false
false
776
cpp
时钟.cpp
#include <iostream> #include <Windows.h> #include <string> using namespace std; int main(void) { short hours; short min; short sec; cout << "-----动态时钟-----" << endl; cout << "---请先开始对时---" << endl; cout << "请输入当前(时):"; cin >> hours; cout << "请输入当前(分):"; cin >> min; cout << "请输入当前(秒):"; cin >> sec; while...
de859d6f5042b706bb28d84e9bfa83aa6c1738e8
ebf8751a05d069e0c5f8a0422489ba7829f777d5
/kmeans/kmeans/solution1/.autopilot/db/kmeans.pragma.0.c.ap-line.CXX
92c17e4d77e29a35e327d66be94a45703f56fe20
[]
no_license
pragya77/Image-processing-using-Vivado-HLS
69a20876f36c17da4f03f15416a8b62719e554e7
0b2227f7c1368b933d6cf5b1130d2af3057856af
refs/heads/master
2021-05-20T09:23:30.717002
2020-12-27T02:05:08
2020-12-27T02:05:08
256,881,523
1
0
null
null
null
null
UTF-8
C++
false
false
17,064
cxx
kmeans.pragma.0.c.ap-line.CXX
#pragma line 1 "kmeans.c" ::: -10 #pragma line 1 "kmeans.c" 1 ::: -9 #pragma line 1 "<built-in>" 1 ::: -8 #pragma line 1 "<built-in>" 3 ::: -7 #pragma line 148 "<built-in>" 3 ::: -6 #pragma line 1 "<command line>" 1 ::: -5 #pragma line 1 "C:/Xilinx/Vivado_HLS/2016.3/common/technology/autopilot\\etc/autopilot_ssdm_op.h"...
b239e852fa6b6ece98237af12400cbfbfd6b10ef
40aa5078eeacbae53decb7bcc23847db2b6f18b3
/SqList.cpp
cef38d32a07b60d1ea28b1121399d1f29f67695a
[]
no_license
zheda-libin/mycpp
23fcc5f2a37fb5ee49eabcdb532104fbea7ccd64
21e9ae85de6fef58caedc92f9ad0ad4251b06b23
refs/heads/master
2023-07-08T07:29:41.456595
2021-08-14T06:02:47
2021-08-14T06:02:47
395,701,032
0
0
null
null
null
null
UTF-8
C++
false
false
875
cpp
SqList.cpp
// // Created by libin on 2021/8/14. // #include <cstdio> #define MaxSize 50 #define ElemType int typedef struct SqList{ ElemType data[MaxSize]; int length=0; } SqList; bool ListInsert(SqList & L, int i, ElemType e) { if (i<1 || i>L.length+1) return false; if (L.length>=MaxSize) return...
3f44d24099f8475fffba6c429f55f9a8190f08b0
afb36eb8fd2059b2255f32cee0b21d7f08dad3aa
/OOPs with C++ Programming/CPP/8_AssociationInhPolymorphism/Association/Address.cpp
f0aca50814e43f5fa40e26c9b77103672b56336d
[]
no_license
anantgehi/Post-Graduate-Diploma-in-Advanced-Computing-CDAC
33d1645d6fe75817e490c63ec1da497426167e8a
8f8605d31b3e8eeaf29ba23b46642803a89ef124
refs/heads/main
2023-04-12T06:59:28.978009
2021-04-29T16:01:26
2021-04-29T16:01:26
412,961,496
1
2
null
2021-10-03T02:57:40
2021-10-03T02:57:39
null
UTF-8
C++
false
false
515
cpp
Address.cpp
#include<iostream> #include<string> using namespace std; class Address{ private: string FlatNo; string Area; string Pin; public: Address():FlatNo(""),Area(""),Pin("") { } Address(string a,string b,string c) :FlatNo(a),Area(b),Pin(c) { } void Accept() { cout<<"\nEnter Flat NO:"<<endl; cin>>FlatNo; ...
805701bba9c339bd114fab0826e416183ef73f9a
3850c4b425ef6f4eda63500a8c887c63deb0dbc4
/m05/ex02/ShrubberyCreationForm.cpp
d1912376685a59afc957018d079fdfa773e58142
[]
no_license
scilla/cplusplus42
b5afabfa3c8b2a4d6128f2f2baefa6387ae79277
c7f0c2c59cb46e0e5df69ee97b6ad097f3bcf93a
refs/heads/main
2023-08-21T05:03:48.065358
2021-09-26T21:22:44
2021-09-26T21:22:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,327
cpp
ShrubberyCreationForm.cpp
#include "ShrubberyCreationForm.hpp" #include <fstream> #if __APPLE__ # define APPEND std::iostream::app #else # define APPEND std::_S_app #endif ShrubberyCreationForm::ShrubberyCreationForm(std::string target): Form("shrubbery", 137, 145) { _target = target; } ShrubberyCreationForm::ShrubberyCreationForm(const Shr...
e05a8c253e75aa2b0f63925620e646b2c93712bd
c555ab551c1fa8af82f682df7db849433f7c133b
/uninter/programacao-c/ponteiros/aula-05.cpp
f33fea8815d02ecc97cbcfda027e64dee6d3ea28
[ "MIT" ]
permissive
matheusbronca/studies
9d95c2b7c64db385725f130401eb1d1de44d20ef
38e066a5366f76266cab51ccc23d6460079cb8a0
refs/heads/master
2023-03-09T17:07:40.692883
2022-10-09T19:47:51
2022-10-09T19:47:51
244,761,388
0
0
MIT
2023-03-06T00:19:31
2020-03-03T23:14:09
PHP
UTF-8
C++
false
false
593
cpp
aula-05.cpp
#include <stdio.h> void variableTest(int value); void pointerTest(int *pointer_value); int main(void) { int test = 1; int *pointer_test = &test; // variableTest(test); // Para parra o endereço de um ponteiro como argumento de uma // função, é necessário retirar o "*", pois se não o valor passado ...
540c345c52aaf251f370732c3812ed5faa8c0270
e926bede54cbddf08870036ae478124e0a6cec77
/src/tests/mem_perf_tests/fdm_iccg_solver3_tests.cpp
1c8c14874eab9b8b206d700018e8d87ad0225251
[ "MIT" ]
permissive
doyubkim/fluid-engine-dev
2d1228c78690191fba8ff2c107af1dd06212ca44
94c300ff5ad8a2f588e5e27e8e9746a424b29863
refs/heads/main
2023-08-14T08:04:43.513360
2022-07-09T06:24:41
2022-07-09T06:24:41
58,299,041
1,725
275
MIT
2022-07-09T06:24:41
2016-05-08T06:05:38
C++
UTF-8
C++
false
false
778
cpp
fdm_iccg_solver3_tests.cpp
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "mem_perf_tests.h" #include <jet/fdm_iccg_solver3.h> #include <jet/timer.h> #include <gtest/g...
25d61bc35c9d4243b28d91f987742ab2e8ac9e1b
3cd6731841e644338a04201d469d18ffdee775dc
/Whip-Jump-Kick-Grab/Links.cpp
623d80dd0b7ac7c1ab62b85ee50ccf0ed8d9aa8d
[ "MIT" ]
permissive
davidwadsworth/whip-jump-kick-grab
5212f189807c5c3d48dbd50282e8b19f3488cb91
b7e0050735a6654c2ce233aeb4e737ede31d64cd
refs/heads/master
2022-05-17T22:29:18.638261
2022-03-20T01:36:04
2022-03-20T01:36:04
153,404,345
1
0
null
null
null
null
UTF-8
C++
false
false
1,128
cpp
Links.cpp
#include "stdafx.h" void CursorLeftLink::set_link_information(SDL_Rect * starting_rect) { link_dimensions_ = font_->text_dimensions(static_cast<int>(pos_.x) + CURSOR_WIDTH + 4 * padding_, static_cast<int>(pos_.y) + 2 * padding_, text_); if (link_dimensions_->h < CURSOR_HEIGHT) link_dimensions_->h = CURSOR_HEIGHT...
905a73c43b197685832fd74c74a8e3f688bdd9b1
fdd8c6d01313af302fc0c7f3118dec8dab20c2d0
/Leetcode_SubarraySumEqualsK.cpp
0c5cad0029ddb98b601be21ff947a6057cb4ea02
[]
no_license
LoppA/Problem-Solutions
2f673a4d865be322d895ed18c498301e3da43ee0
dfd4817406b02281a99e3bb8224d0144dd209b73
refs/heads/master
2023-08-10T13:24:37.783155
2023-07-31T21:54:05
2023-07-31T21:54:05
66,391,422
0
0
null
null
null
null
UTF-8
C++
false
false
276
cpp
Leetcode_SubarraySumEqualsK.cpp
class Solution { public: int subarraySum(vector<int>& nums, int k) { unordered_map<int, int> cnt; int pre = 0; int ans = 0; for(int num : nums) { cnt[pre]++; pre += num; ans += cnt[pre-k]; } return ans; } };
374ab3c83f8cfc9c82dd65bbd92e17fb5db5e0ce
3838f94e79abf0add3fc403800d0cce5a73f4879
/BlackHole.cpp
1721677c50f07f042868e124bd8ab8cb5042e78f
[]
no_license
RichFox1990/SDL_Asteroids_Cpp
40731767434820481bb05ccc68a39fa9d7032d40
4429b3667434e6d4dc88df3466d4ddd04a5ecbf5
refs/heads/master
2023-01-24T20:58:44.753462
2020-11-19T22:06:14
2020-11-19T22:06:14
278,865,116
3
0
null
null
null
null
UTF-8
C++
false
false
3,257
cpp
BlackHole.cpp
#include "Game.h" #include "BlackHole.h" BlackHole::BlackHole(const int screen_width, const int screen_height, const float size_multiplier, const float screen_ratio) { enlarge = false; deflate = false; s_w = screen_width; s_h = screen_height; debug = false; angle_modifier = 200; img = Game::game_images[Game:...
9cb22e3958577b90b3444af3ee6418c243ef195e
405e0aeb93d9cbeac7aaf9d91d9f33b6ec076a08
/euler/problem034/cpp/main.cpp
bdd5dfd4589fba0982b5d7efaca9426a5bbc9e68
[]
no_license
JGuzman4/problems
87cf00473f4c3209b40e6075006a3618e3d9578e
1fcda2248a385666c3e3c22bb2365defa995901b
refs/heads/master
2023-05-26T20:01:30.666593
2022-09-09T03:26:00
2022-09-09T03:26:00
121,163,332
0
0
null
null
null
null
UTF-8
C++
false
false
1,388
cpp
main.cpp
/* * * 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. * * Find the sum of all numbers which are equal to the sum of the factorial of their digits. * * Note: as 1! = 1 and 2! = 2 are not sums they are not included. * * * */ #include<fstream> #include<utility> #include<string> #include<vector> ...
37a119abb37da7a35a6c220acfe7798a09a36407
e4c751c513b1c3c74ec89e969f0b7119232638c0
/ColorThreshUtil/ColorThreshUtil.cpp
30408d64e59e1b34bbdf83d9ef81c8a3b5d9e519
[]
no_license
dzhoshkun/computer-vision
233ce9b0cc416c056ebe8e9aecbd9ef438c711ef
18ff7e5f935b084723c75cd372c5d838ffc40855
refs/heads/master
2020-03-25T20:35:16.418830
2018-08-09T10:57:58
2018-08-09T10:57:58
144,137,638
0
0
null
2018-08-09T10:29:05
2018-08-09T10:29:04
null
UTF-8
C++
false
false
11,642
cpp
ColorThreshUtil.cpp
/** ColorThreshUtil.cpp @author: Najam R Syed @version: 1.1 Date: 2018-05-24 Modified: 2018-07-10 (1.1) - added option to select camera at runtime Description: @brief Threshold an image or video based on its color channels in real time. The following color spaces are currently supported: BGR, grayscale, H...
b6213eefcb7cacba49b1d9f3dc9447d7d2e5af90
8295c24e35f48205a308a64a216e673790be0f21
/02cpp/day2_2.cpp
433178a070d8d30c3c58de54337abe4a07b671ae
[]
no_license
kev-zheng/advent2016
e6da8e13a492735079c1007f3dcda4ddd456717b
56d6a3b6c818948dd1690b6c513ed1df63b9efd9
refs/heads/master
2021-01-12T07:31:37.981359
2016-12-29T20:00:51
2016-12-29T20:00:51
76,972,137
0
0
null
null
null
null
UTF-8
C++
false
false
2,333
cpp
day2_2.cpp
#include <iostream> #include <string> #include <vector> using namespace std; int main(){ vector <string> directions; string line; int lines; cout << "Input line: " << endl; while(getline(cin,line)){ directions.push_back(line.c_str()); lines++; if(cin.peek() == '\n'){ break; } } f...
784738d1961dc3241fca938817d9869f69cc4a0f
f81124e4a52878ceeb3e4b85afca44431ce68af2
/re20_1/processor24/10/U
d8f910800785ee4ed34ab22e023e9d626d3e5d17
[]
no_license
chaseguy15/coe-of2
7f47a72987638e60fd7491ee1310ee6a153a5c10
dc09e8d5f172489eaa32610e08e1ee7fc665068c
refs/heads/master
2023-03-29T16:59:14.421456
2021-04-06T23:26:52
2021-04-06T23:26:52
355,040,336
0
1
null
null
null
null
UTF-8
C++
false
false
5,282
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
3c19bb3c7b433734077ae25ed72437c282c39a3f
bdee6f893b9fb54cff80520c0d1d892ca1267493
/jianzhioffer/06reversePrint.cpp
850b269e69cd0bf8a88d450535fd4684aa7425e6
[ "Apache-2.0" ]
permissive
wanghengg/LeetCode
b1c014c77c3236c3276f682f09d0f1765d220801
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
refs/heads/master
2023-09-01T19:58:11.893396
2021-09-07T15:06:39
2021-09-07T15:06:39
259,371,862
0
0
null
null
null
null
UTF-8
C++
false
false
805
cpp
06reversePrint.cpp
#include <iostream> #include <vector> #include <stack> using namespace std; struct ListNode{ int val; ListNode* next; ListNode(int x) : val(x), next(nullptr) {} }; class Solution{ public: vector<int> reversePrint(ListNode* head) { vector<int> res; stack<int> temp; while (head) ...
82395e7202a27ba4498b6f6b83d68d5ef07f5cff
bab3bb37744cf725bccb2fc059b1136650326de1
/LCode/Singleton_Hungry.h
abb88b8071e60d315e602125fbc5eabc2e3358d4
[]
no_license
wangjcStrive/LCode
2d3dea8bccdd078a2d7ae2a3e124470ae44de589
5e39400a566b57753f9c11506f099e874ca7d6c0
refs/heads/master
2021-08-08T03:00:57.825917
2021-08-05T10:16:44
2021-08-05T10:16:44
63,671,781
0
0
null
null
null
null
UTF-8
C++
false
false
272
h
Singleton_Hungry.h
#pragma once #include "solutions.h" class SingletonHungry { private: SingletonHungry(); static SingletonHungry m_instance; public: static SingletonHungry* getSingletonInstance(); }; SingletonHungry* SingletonHungry::getSingletonInstance() { return &m_instance; }
d0a93472f11f33c03c5fdd60f90a1249e8c2aeb4
df868a93d1bf7c09ce8913ad3185306612b07777
/Engine/Engine/Data/Colour.cpp
17b3fb2054d13d79fd1bf9289b77b7b948bf18ea
[]
no_license
JJJohan/DX12Engine
d707a4f5db7c8086ed16e3f2a17b1862b5b15d60
e571a8333c4e9ede77f632feb976591da634ced5
refs/heads/master
2021-05-04T10:03:58.378265
2016-09-10T08:18:57
2016-09-10T08:18:57
46,175,755
4
1
null
2016-02-01T01:31:39
2015-11-14T13:33:12
C++
UTF-8
C++
false
false
3,010
cpp
Colour.cpp
#include "..\Utils\Math.h" namespace Engine { const Colour Colour::Clear = Colour(1.0f, 1.0f, 1.0f, 0.0f); const Colour Colour::White = Colour(1.0f, 1.0f, 1.0f); const Colour Colour::Red = Colour(1.0f, 0.0f, 0.0f); const Colour Colour::Green = Colour(0.0f, 1.0f, 0.0f); const Colour Colour::Blue = Colour(0.0f, 0.0...
a5da5f02851e719e003022819d46e51e49328a8f
7d3fdafa89cbe529a85a1a512dd547760e53b5ea
/VoroElec/ChangeInput.h
a6f4702dc41adebb3ece4d9846f3785ca5f12bea
[]
no_license
mm148881/postnoneqx
525f8b0cbaff7689bf1ea4dff699066ac84144d6
4314d5ae0ef3f0c938cf93abadcca05e3ceddf09
refs/heads/master
2021-01-10T06:06:58.678559
2014-02-27T09:09:10
2014-02-27T09:09:10
49,501,734
0
0
null
null
null
null
UTF-8
C++
false
false
756
h
ChangeInput.h
/* * ChangeInput.h * * Created on: Mar 13, 2012 * Author: marchi */ #ifndef CHANGEINPUT_H_ #define CHANGEINPUT_H_ #include <vector> #include <algorithm> #include <string> #include <cstring> #include <iostream> #include <sstream> namespace Parallel { using namespace std; template <class T> class Conv { publ...
a14e4377d76b2b5a586347c617cdd8a03e90d320
23a59bab7a5c62ef779c4666184b783ef086b646
/Task 3/A/A.cpp
08b25aa85c38977ebae5e552643f3b45096bec06
[]
no_license
rvolosenkov/DIHT-programming-tasks-2-sem
bf0a14d2068b1e61186a1935bdfdb7668d7eae7c
59ef351faf31aee81ee8d6bf4735fdbd005da05a
refs/heads/master
2020-04-26T14:46:56.818928
2019-05-18T14:51:29
2019-05-18T14:51:29
173,626,010
0
0
null
null
null
null
UTF-8
C++
false
false
5,019
cpp
A.cpp
#include<iostream> #include<vector> #include<list> #include<set> #include<queue> #include<utility> #include<algorithm> const int inf = 1e9; // inf > max(n) * max(lenOfWay) class UndirectedGraph { public: UndirectedGraph(int verticesNumber_) : verticesNumber(verticesNumber_), vertices(verticesNumber_) ...
206061484b019d2dc3d6a1f3f96f7ae3811d0311
63b7eeb13966847cf499e361a0da4918e7e11b96
/statistics/test/test_g2.cpp
8075c7c64e4fc2299acbdf74bfa15369a6178a92
[]
no_license
siolag161/liege_sp
139dd23214bd3e6b10a88735ff91523560ce47cc
6257d22d0db127c10082664b3175a2225bb58a15
refs/heads/master
2020-04-06T05:46:42.474101
2014-07-16T15:40:19
2014-07-16T15:40:19
20,776,886
1
0
null
null
null
null
UTF-8
C++
false
false
2,641
cpp
test_g2.cpp
#define BOOST_TEST_DYN_LINK #ifdef STAND_ALONE # define BOOST_TEST_MODULE #endif #include <boost/test/unit_test.hpp> #include "statistics.hpp" #include <omp.h> #include <chrono> class Data { }; BOOST_FIXTURE_TEST_SUITE( Test_G2, Data ) BOOST_AUTO_TEST_CASE( Test_G2 ) { std::vector<int> geno; for ( int i...
d8b9a8d0bb713b0abba9eb64be62a3564b27b53f
b41a21553146020eb473f33b6f2b33efe6bd35ba
/libraries/Logger/NullLogger.cpp
a09806a5a80db4921a2fb713d6ebd53f8b71e2fa
[]
no_license
kefasb/wemos
9cf48866dc835b8e9e7ddea2daaf60269b6ef3a4
bd3cc89c285a60c8070c8d76e5b2bb08f20f7f4b
refs/heads/master
2021-01-17T12:07:43.665556
2017-11-03T13:44:57
2017-11-03T13:44:57
84,058,789
0
0
null
2017-03-23T18:14:49
2017-03-06T10:12:45
C++
UTF-8
C++
false
false
111
cpp
NullLogger.cpp
/* * NullLogger.cpp * * Author: Piotr Borkowski */ #include "NullLogger.h" NullLogger DefaultNullLogger;
6ee439dc33e4df4a09e6264e4b1fc93fe91a3e90
3159d77c2fc0828025bd0fb6f5d95c91fcbf4cd5
/cpp/unit_test_example/test/UTExample_test.cpp
c7b6dd292582af2a7e9b8a5101c7782a38caec3f
[]
no_license
jcmana/playground
50384f4489a23c3a3bb6083bc619e95bd20b17ea
8cf9b9402d38184f1767c4683c6954ae63d818b8
refs/heads/master
2023-09-01T11:26:07.231711
2023-08-21T16:30:16
2023-08-21T16:30:16
152,144,627
1
0
null
2023-08-21T16:21:29
2018-10-08T20:47:39
C++
UTF-8
C++
false
false
4,465
cpp
UTExample_test.cpp
#include "stdafx.h" #include "CppUnitTest.h" // Class under test: #include "../lib/player.h" // Fake implementation of interfaces: #include "../lib/fakes/guitar_fake.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; // There is tests for UTExample lib, so all classes in lib should be in this namesp...
f140ff93b80ad890da5438827eb321864ae50416
f1aca7515b3b542631a3f1650c6993173d108ce5
/10-Number Theory/primeFactorsOptimiziedApproach.cpp
659cc3bc469cbbae1cc49f856f555c3af207990f
[]
no_license
namanbansal013/Data-Structures-Algorithms
c37772d0254794aac80a793d58d5fb1d916f6c11
a31faa0fdd718f72256344b13b3c5541c07d87d4
refs/heads/master
2023-03-20T10:32:25.627884
2021-03-16T20:25:38
2021-03-16T20:25:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
488
cpp
primeFactorsOptimiziedApproach.cpp
#include<iostream> #include<cmath> using namespace std; int main(){ int num , count; cin>>num; for(int i = 2 ; i <= sqrt(num) ; i++){ if(num % i ==0){ count = 0; while(num % i ==0){ num = num/i; count++; } ...
5b357e3cbca4ee5580873a87815227e17eb1df40
f3e7a082d261d68467d15346118740c5a3db9fd8
/nwncx_win/SinfarXLib/SinfarX.cpp
fa3993f023c9b25cb23bb10d09edfd776d63cd34
[]
no_license
DanielmGoulart/Sinfar-NWNX
1dea766e8a1f5bf2c5667725f56ef26b6cc5d841
ae76cf748c0e3be14d18050c62064de18fad4849
refs/heads/master
2021-08-22T10:14:22.792483
2017-11-30T00:21:05
2017-11-30T00:21:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,079
cpp
SinfarX.cpp
#include "SinfarX.h" #include <imagehlp.h> #pragma comment(lib, "imagehlp") namespace sinfarx { SINFARX_FILE_MAP* file_map = NULL; bool perform_test = false; DWORD launch_tickcount = (DWORD)-1; DWORD(__stdcall *MyGetTickCount)(void) = (DWORD(__stdcall *)(void))GetTickCount; void EnableWrite(DWORD addr) { DWO...
25bd6102b214b6b1c9165e14f21553ddf8387254
8b166bb2a20f817f2d3791095deee50aebd77819
/system-f/include/system-f-c/context.h
615225ebf6c45cad9664e8f0e597ceca1fc9adcc
[ "MIT" ]
permissive
DNoved1/dependent-c
fc0b902713240de103cb2796f311f8c135789a83
d571818f73ec2d2926b51b070dd3fe45990d2f61
refs/heads/master
2021-01-20T09:42:06.028317
2015-10-12T05:36:16
2015-10-12T05:36:16
41,654,082
1
1
null
null
null
null
UTF-8
C++
false
false
1,883
h
context.h
#ifndef SYSTEM_F_C_CONTEXT_H #define SYSTEM_F_C_CONTEXT_H #include <boost/optional/optional.hpp> #include <utility> #include <vector> namespace context { class ContextMarker { size_t term_type_mark; size_t type_kind_mark; size_t term_definition_mark; size_t type_definition_mark; ...
0b01727ffd4b17d88ad1f51f383af212ca66206e
fffb0b9756b71ae1548dc483552f04e09e9d5851
/cf/897D.cpp
0cf8af41a6eafa2e6b0d03208d4727f7b1fa919a
[]
no_license
nandu6177/code-amrita
93ea5046f798253e4fb217c598af6f0b84f3ae7a
cb3cca21da7035fcd7262bf52b5058405c16998c
refs/heads/master
2021-05-11T04:31:12.764411
2018-05-06T11:51:17
2018-05-06T11:51:17
117,941,803
0
0
null
null
null
null
UTF-8
C++
false
false
791
cpp
897D.cpp
#include<bits/stdc++.h> #define pb push_back #define mp make_pair #define all(v) v.begin(),v.end() #define ff first #define ss second typedef long long ll; using namespace std; const ll mod=1000000007; int main() { // ios_base::sync_with_stdio(false); // cin.tie(NULL); int n,m,c; cin>>n>>m>>c; int empty=n; vector...
014e6107d444929fc5ed5d765593f66ef65b0831
4c0a6f167f7c7614a80abe3eb1e5513956eed06a
/3.10.cpp
6f0a59b583dcba04a9221a640b9e7624fa3b88de
[]
no_license
shaikhahmad1/OOP
48556dffeb8aaf6052393b2ffe8933a5745de4d5
0b4b5bd89600bbaaa7de2b21dad2a9a41dd8a441
refs/heads/master
2020-09-12T16:33:17.822442
2019-11-29T13:00:04
2019-11-29T13:00:04
222,480,212
0
0
null
null
null
null
UTF-8
C++
false
false
759
cpp
3.10.cpp
#include<iostream> #include<string> using namespace std; class invoice{ public: string parts,description_part; int quantity,price; double vat,discount; invoice(string p1,string d,int q,int p2,double v,double d1){ parts=p1; description_part=d; quantity=q; price=p2; vat=v; discount=d1; ...
7e1b3473a2142d39e695deb6aa696a9edae9ecaa
8375fa2e9f5d1afb0bd238e1c693d63adc497989
/lib50s/source/PSLSpot.cpp
34a2f5d3f4d6b1c444713fae71f9f151b8053afb
[]
no_license
thyau/lib50s
22a156a45178724ad76820842ccc88559e3a931a
357d5ddeea3097c98751fa5113b0d948463335dd
refs/heads/master
2016-09-05T17:07:44.001205
2015-01-26T05:33:24
2015-01-26T05:33:24
29,845,498
0
0
null
null
null
null
UTF-8
C++
false
false
5,581
cpp
PSLSpot.cpp
/* PSLSpot.cpp Copyright (c) [ORGNAME] 2014 Author: Timothy Yau */ #include "..\\include\\PSLSpot.hpp" #include "..\\include\\ShaderCommon.hpp" #include "SLight.h" using namespace shader; PSLSpot::PSLSpot(ILightContext &lightContext, SpotShadowMapRenderer *shadowRenderer) : m_LightContext(lightContext), m_Shadow...
c62704d13c5a853b3ab3d6c1cce3d4a4b558db65
678f4bcb021168758481acb7383be39fc0cde845
/input/reorder_coordinates.cpp
c51148f6b4f840c4d889620182d1f1f629bc9ac6
[]
no_license
chubbymaggie/irreg-simd
616f34f6014c3ec9108d217e9e0717158e04d538
9d158352f63bc353310a0c3a2c8c7c4fde807e32
refs/heads/master
2021-01-18T06:53:22.322286
2016-01-04T07:17:19
2016-01-04T07:17:19
51,171,477
1
0
null
2016-02-05T20:16:35
2016-02-05T20:16:35
null
UTF-8
C++
false
false
1,402
cpp
reorder_coordinates.cpp
// This util reorders the coordinates of the nodes // according to the ordering result from Metis. #include <fstream> #include <iostream> #include <sstream> #include <tuple> #include <vector> using namespace std; void convert(string coordinate_file, string ordering_file) { // Load ordering file. ifst...
31dabeec433b52659593ffa688669e5eec171980
b22c189f38b8da715e70b76be3d9c0f3bb921f63
/DATA STRUCTURES AND ALGORITHMS/oops/operators_overloading_2.cpp
6e102c4e65eac36d5b4745f6c6056e0a8589b8c4
[]
no_license
Bikubisw/Coding
108f1048bc54bbd526f2f3abea21bd17bb8e7975
274c50caab15f10663a83ad352fc5ddb04b9e236
refs/heads/master
2023-04-20T11:09:32.555814
2021-05-22T20:29:45
2021-05-22T20:29:45
280,332,695
0
0
null
null
null
null
UTF-8
C++
false
false
2,091
cpp
operators_overloading_2.cpp
#include<iostream> using namespace std; class fraction{ private: int numerator; int denominator; public: fraction(int numerator,int denominator){ this->numerator=numerator; this->denominator=denominator; } void print(){ cout<<numerator<<"/"<<denominator<<endl; } void simplify(){ int g...
76caf365bd4080763f21cd96e2cc2fc7d48d201f
9c74d6c82aeeff6a69394bf4b84d677cbd7789e5
/src/resource/ResKey.hpp
c6bb59cd67271debba08c9e453c69ee0998a3ccb
[]
no_license
Lacty/DowaProject
e46b1b22dfa5cef0bcc03482d12fb0108e27a58d
f80fce43a284b6771bb6c1a3642e0e677ddb9761
refs/heads/master
2021-01-10T16:51:11.264898
2016-02-04T10:22:22
2016-02-04T10:22:22
45,377,897
0
36
null
2016-02-04T10:22:22
2015-11-02T07:09:59
C++
UTF-8
C++
false
false
10,214
hpp
ResKey.hpp
#pragma once #include <string> #include <unordered_map> namespace ResKey { enum { // _________ // // ------- |Texture| ------- // // ¯¯¯¯¯¯¯¯¯ // // Title TBack, TFeatherBook, TLogo, TTapToStartEng, TTrance, TTa, TMa, TKo, TRo, TSp...
e86c34e51546fbd07cc9b5d45b5b4d9a58e8c8f9
8639c31433547fe0614795a0189942e41c17c7bc
/Vertex.h
0b87e373936fa54ac635cac3c92ec29d2b673fcc
[]
no_license
shirindora-old/Graphs
693ece95024b890b14347197ed876163718465c3
f909481e72de90168b7993c74b936789b69b0090
refs/heads/master
2023-08-23T23:23:37.674523
2020-04-27T06:24:26
2020-04-27T06:24:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
295
h
Vertex.h
// // Created by shirin dora on 13/04/2020. // #ifndef GRAPHS_VERTEX_H #define GRAPHS_VERTEX_H #include <string> struct Vertex { public: std::string label; bool visited; Vertex (std::string l = "") { label = l; visited = false; } }; #endif //GRAPHS_VERTEX_H
43011af6b8bdaedb56e4c24eba5a5eda65bd66b5
76b9eb88d70df8e5ad8d796e75d07cc2098c026d
/block.cpp
36e00771ec9b95a55560a012797bb08cd5b6ec2f
[]
no_license
Emiluren/voxel
35ab23440be1a025f5224ca6858256990390500e
3346ad00f38d8040e4fbfd88d17114ec4207cb53
refs/heads/master
2016-08-12T23:46:29.119489
2016-03-22T16:10:16
2016-03-22T16:10:16
49,287,707
0
0
null
null
null
null
UTF-8
C++
false
false
2,831
cpp
block.cpp
#include "block.hpp" #include "vertex.hpp" #include "texturedShader.hpp" /*Block::Block(BlockType type) : type(type) { Vertex vertices[] = { Vertex(Vector3f( 1.0f, 0.0f, 1.0f), Vector2f(0.0f, 0.0f)), Vertex(Vector3f( 0.0f, 0.0f, 1.0f), Vector2f(1.0f, 0.0f)), Vertex(Vector3f( 0.0f, 1.0f...
6f56dc6acacb6f6708ef4800b1ed1a74904ecaf1
78ce285eff8566e220a76626aaab0f9e6c2b1c80
/protocols/jtag/xvcSrv/src/xvcSrv.h
28a357e38affcc8f1d352236977fbbba36339d9e
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
slaclab/surf
315dfa6c866e34a01befe780e3a8dbb8caf434ee
c9f42cecda8db19e971a0b33a2add6ff0ea08eff
refs/heads/master
2023-08-17T23:10:12.674166
2023-07-22T01:21:03
2023-07-22T01:21:03
66,395,341
220
56
NOASSERTION
2023-09-01T17:21:33
2016-08-23T19:06:56
VHDL
UTF-8
C++
false
false
1,399
h
xvcSrv.h
//----------------------------------------------------------------------------- // Title : JTAG Support //----------------------------------------------------------------------------- // Company : SLAC National Accelerator Laboratory //----------------------------------------------------------------------------...
ed4a0d837e1347c26e9c5b6113e26095265af13c
1153e306c588a2889eb51c074618ab6b01085282
/software/doorbell_esp32/doorbell_esp32.ino
b144a4db244e0f38619f3dcf9093f68c448aa9da
[]
no_license
ramiropolla/doorbell_esp32
7a6996f14f0aab29a0ae2489dde83111cb4c2f7b
536852c0c16b82dd8b22b7f1756ab38620423e21
refs/heads/master
2023-06-18T08:17:35.936155
2021-07-09T09:25:16
2021-07-09T09:25:16
384,387,103
0
0
null
null
null
null
UTF-8
C++
false
false
2,719
ino
doorbell_esp32.ino
/* This example uses FreeRTOS softwaretimers as there is no built-in Ticker library */ /////////////////////////////////////////////////////////////////////// #include <WiFi.h> extern "C" { #include "freertos/FreeRTOS.h" #include "freertos/timers.h" } #include <AsyncMqttClient.h> /////////////////////////////////...
afde40346735b3a77fe007cb6a18dbe0256f7695
ad97e00924bcfdc275d0327b2ac377ccb4fc232c
/ddcc/B.cpp
49028a44d9bf6381448a2f8e90484037d9653f8a
[]
no_license
ryokamoi/competitiveprog
5188c3dd25ce0a4bc1e17842101497ea124d6299
c78c8e6663ae8e4d203ac0ba03295fd0607050a5
refs/heads/master
2020-04-21T21:33:07.087515
2019-06-07T12:01:40
2019-06-07T12:01:40
169,882,585
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
B.cpp
#include<iostream> using namespace std; #define REP(i, n) for(int i=0; i<n; i++) #define ll unsigned long long ll n, z; ll a[200002]; ll d[200002]; ll ans; ll gcd(ll a, ll b){ ll c; if (a < b) { a+=b; b=a-b; a-=b; } while (b != 0) { c = a % b; a = b; ...
9d41c460069019ab57a7d8fd0ebe8abbc4cf8155
4bea57e631734f8cb1c230f521fd523a63c1ff23
/projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/4.16/Ma
e10ab0aeea2a70fa607d7cad02e764b35c84ef84
[]
no_license
andytorrestb/cfal
76217f77dd43474f6b0a7eb430887e8775b78d7f
730fb66a3070ccb3e0c52c03417e3b09140f3605
refs/heads/master
2023-07-04T01:22:01.990628
2021-08-01T15:36:17
2021-08-01T15:36:17
294,183,829
1
0
null
null
null
null
UTF-8
C++
false
false
19,718
Ma
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
c9d8960dd36b2b59c0edcbd5454c378932e44c1a
fd01af050c2d500964575e44d74fe8de5027cf60
/8.cpp
e81ba06656d2565bf70217b517cdf5aff4cd9deb
[ "MIT" ]
permissive
vicwer/leetcode
6257410566388b3b991fbf166aaae566e751a794
ee134db9b2d1dc817a9c0c7fe7efe86e0d667f16
refs/heads/master
2020-07-18T22:53:09.957724
2019-12-11T13:18:03
2019-12-11T13:18:03
206,328,044
0
0
null
null
null
null
UTF-8
C++
false
false
1,139
cpp
8.cpp
class Solution { public: int myAtoi(string str) { string u = "0123456789"; // 去空格 while(str.size()) { if(str[0] != ' ') { break; } str.erase(str.begin()); } if(str.size() == 0) { ret...
0359b1644f76be7c33936f1a4382d9387cab62fe
4b19b27f4af47f1bfdf1ce588130d4f7492c160d
/src/VRChess/VRChess/ImageTexture.h
781057d68642cf54dc94ccae35e6a65670221329
[]
no_license
alanjg/Chess
1d346ce3df1307e7e6d8ca5747367667262da356
7cde7d784739aa2e65e4215ccd3000f3c49d1f65
refs/heads/master
2023-06-07T01:23:07.846240
2023-06-03T18:35:08
2023-06-03T18:35:08
40,426,099
0
0
null
null
null
null
UTF-8
C++
false
false
205
h
ImageTexture.h
#pragma once #include "Texture.h" class ImageTexture : public Texture { ID3D11ShaderResourceView* texture; public: ImageTexture(); virtual ~ImageTexture(); bool Init(const std::wstring& filename); };
36b2d66e24e1fde66d089739cba1af0aff5b537d
870896d46b503de499c329949d9313fa51c77573
/cage_src/variantcaller.h
20a494718f1a596823db538e78e505eb3e098ae6
[ "Apache-2.0" ]
permissive
adambloniarz/CAGe
9100a4017fcb8d15248f3823e7b946e71a2a499e
fcaa9bbe55fdc50e208347f16e4092840a9ddbd8
refs/heads/master
2021-01-18T21:23:27.433390
2016-05-13T16:10:33
2016-05-13T16:10:33
50,270,733
4
2
null
2016-05-13T16:03:10
2016-01-24T03:37:34
C++
UTF-8
C++
false
false
1,570
h
variantcaller.h
/** * Copyright 2015 Adam Bloniarz, Jonathan Terhorst, Ameet Talwalkar * * 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 * * Unles...
e1bde897681aa86cd931c18c89936a35c246d986
287abbe25e0b2eb073971c73a0771009fef6d250
/ConsoleApplication1/Search.h
93b02c890a102e5f7a9926500fd5f65959dc1611
[]
no_license
ValentinaPD/Study_assignment_-_-easy
9c1cb2c9464ae7d14f7c99a001d6a50161a19372
57075e84ca5cdbd03fd969d74a68c1c2a4d88cad
refs/heads/master
2021-01-06T18:16:19.643279
2020-02-18T18:24:37
2020-02-18T18:24:37
241,435,529
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,933
h
Search.h
#pragma once #include "stdafx.h" #include "Sort.h" #include "MaxMin.h" #include <iostream> using namespace std; /* Поиск элемента в массиве. На выходе номер элемента. Входные даннные: Указатель на массив, длинна массива, искомый символ. Выходные даннные: если символ найден выходит его номер в массиве, если нет, то числ...
799c8767ca12c2db748f77613935f44f218aa6e5
b71a40699eb8504e42b12cfd403afc4b2acb91ec
/UT4-Cheat/SDK/UT4_FX_GrenadeExplosion_classes.hpp
63c13851b6627102d52a04918040460a0ae4d73a
[]
no_license
Twice5846/ut4-cheat
6032edf7f2fa45b8cff6458dc59f9931ee627439
66df8596c1179932196397803fa3c61efa065962
refs/heads/master
2020-04-05T01:30:34.915465
2018-11-06T19:52:37
2018-11-06T19:52:37
156,439,036
1
0
null
null
null
null
UTF-8
C++
false
false
1,677
hpp
UT4_FX_GrenadeExplosion_classes.hpp
#pragma once // Unreal Tournament 4 (Pre Alpha) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace Classes { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass FX_...
b1ef60649d4064b70beb854425b7f62150562de9
d2c4ab4fefdd3fc44fa043305fad486ec52b073c
/大一部分代码打包/第六次上机/7.cpp
c8c6eda1f15d291a7cdfd66a2efebd051a3d69e3
[]
no_license
yaoReadingCode/cywuuuu.github.io
80a9bdbc6699297793d7c8bc634ad7d86fb10f38
b152ae048546577f52a55230615128c1d5538229
refs/heads/main
2023-08-25T01:06:24.216019
2021-10-09T14:40:36
2021-10-09T14:40:36
null
0
0
null
null
null
null
GB18030
C++
false
false
584
cpp
7.cpp
#include <stdio.h> #include <string.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ char a[3000]; int main(int argc, char** argv) { int num=0; while(gets(a) != NULL) { num=0; for(int i=0;i<strlen(a)-3;i++) // unsinged int -3 可能溢出 // (int)strlen(a) -3 是正解 ...
935c03a2afa13abb68221d393255bee7c2b86769
95f4c4c17ac3e58e62988d01f8020581cb52cf49
/01/a.cpp
a741e13b7ab7915535ca29dae5a71e16b17dec6c
[ "MIT" ]
permissive
mratkovic/advent_of_code_2017
98267f06354ca026b04a30ced0e59186eb6e64b1
d50c49e8f2512c5a53f12e6640e5765bf7b025d0
refs/heads/master
2020-03-21T16:43:51.853252
2017-12-25T07:20:07
2018-06-26T20:32:23
138,789,772
0
0
null
null
null
null
UTF-8
C++
false
false
317
cpp
a.cpp
#include <bits/stdc++.h> using namespace std; int main(int argc, char* argv[]) { fstream fs("./input", fstream::in); string input; fs >> input; int n = input.size(); int64_t sum = 0; for (int i = 0; i < n; ++i) sum += (input[i] - '0') * (input[i] == input[(i + 1) % n]); cout << sum << endl; return 0; }
cba1170ee8d3ae17d07c47881ebee1c9ebd4a589
811903068d798d0d12e535425e160c79bb132d79
/Project2A/604251044/BTreeIndex.cc
0e2272c5eee9636dfc28ede4187befa3d024d62d
[]
no_license
alfredlucero/CS143
ef54626bed6ffb0e5f347395b7a43f429304a099
f1340f458e23c1c74a5bb4778567be08711b7bd8
refs/heads/master
2021-01-10T14:26:39.852250
2015-12-01T08:20:39
2015-12-01T08:20:39
45,159,909
0
1
null
null
null
null
UTF-8
C++
false
false
13,918
cc
BTreeIndex.cc
/* * Copyright (C) 2008 by The Regents of the University of California * Redistribution of this file is permitted under the terms of the GNU * Public License (GPL). * * @author Junghoo "John" Cho <cho AT cs.ucla.edu> * @date 3/24/2008 */ #include "BTreeIndex.h" #include "BTreeNode.h" #include <cstdio> #include...
17a69ccfc94e666576145946902c144a2289b24f
6bf39675cde45f906ded9bf142db4b75ecb1f965
/src/Rectangle.h
1162fd01612fdc23112b3867d39cc443a0b03008
[]
no_license
jeffwmair/rebel_defence
c309fa593bf567b67ffbf73f67f291ff702ce428
8af22ed85584e15d263cd7363728beb4cff2ef2e
refs/heads/master
2021-01-23T07:26:11.639480
2020-05-16T03:19:15
2020-05-16T03:19:15
35,073,758
0
0
null
null
null
null
UTF-8
C++
false
false
367
h
Rectangle.h
// // Rectangle.h // cps511a1 // // Created by Jeff Mair on 2013-10-02. // // #ifndef __cps511a1__Rectangle__ #define __cps511a1__Rectangle__ #include <iostream> #include "Shape.h" class RectangleJM : public Shape { private: public: RectangleJM(int shapeType); bool containsPoint(GLfloat x, GLfloat y); }; ...
0f95bd43f4f0d722fe91eda96eb474ac51f4fed2
9cecda6399aa17acddc7fa618ccbdbac03336dd9
/IndovinaIlNumero.cpp
02bce9c5e3abae58c6181a06f69d76223ee28077
[]
no_license
Clymeee/Cpp
53dca5a25d71c496fe8a3c52f60ea8fce44eaa54
415948d989a8bb752aa1395df514a4eac0b6f897
refs/heads/main
2023-03-04T23:11:17.344666
2021-02-16T21:35:09
2021-02-16T21:35:09
337,713,912
0
0
null
null
null
null
UTF-8
C++
false
false
650
cpp
IndovinaIlNumero.cpp
// // IndovinaIlNumero.cpp // Claudio Marchesini // #include <iostream> #include <stdlib.h> #include <time.h> using namespace std; int random() { srand(time(NULL)); return (rand()%10)+1; } int main() { int x,r,n,i=0; n=random(); cout<<n; do { cout<<endl<<"Inserisci un numero che va da 0 a 10: "; cin>>x; w...
cd793df91d085cc0dc49f6ed6713683a18cdcb19
6871c454584bee6ac886c3c6939be5df965121e6
/夏令营准备/约瑟夫问题NO.2/main.cpp
4085059da439ae7ae820f5ab39baab739daf1c25
[]
no_license
yangco-le/LeetCode
86403ac9a4e1beb0d4d7af8ffeec7d9e350f43af
2abf1dd99fc63fa1882f58c26db1abfa34a4c8fe
refs/heads/main
2023-06-30T18:03:40.393569
2021-08-03T09:24:26
2021-08-03T09:24:26
355,465,894
3
0
null
null
null
null
UTF-8
C++
false
false
598
cpp
main.cpp
#include<iostream> #include<cstdio> #include<queue> using namespace std; int main() { int n, p, m; while (cin >> n >> p >> m) { if (n == 0 && p == 0 && m == 0) break; queue<int> q; int cnt = -1; for (int i = 1; i <= n; i++) { q.push(i); } for (int i = 0; i < p - 1; i++) { int t = q.front(); q...
2313d91a6b0bfc166931c96a296c32ef12928e7d
a8e5155ecc010b57fddf83b1451ca7206da2623d
/SDK/ES2_BP_ItemContainer_classes.hpp
3e3420c2d4c92853efdaa0636eae54377fb6c117
[]
no_license
RussellJerome/EverSpace2-SDK
3d1c114ddcf79633ce6999aa8de735df6f3dc947
bb52c5ddf14aef595bb2c43310dc5ee0bc71732b
refs/heads/master
2022-12-12T04:59:55.403652
2020-08-30T00:56:25
2020-08-30T00:56:25
291,374,170
0
0
null
null
null
null
UTF-8
C++
false
false
5,370
hpp
ES2_BP_ItemContainer_classes.hpp
#pragma once // Everspace2_Prototype SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ES2_BP_ItemContainer_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- ...
a9012444c90d65777a59ed0c9d9b968646b36d52
398ff47673c03e397a9fe4ecbe5864b641f6ebcc
/common/src/threadutils.h
8e353fba0819f1ec43cf625066339524f21933f9
[ "Apache-2.0" ]
permissive
ibest/HTStream
2b4e6a2054c9333e9ebf6c2e7548a735b6d1f05d
b2d7b408de79e643f560214536985e25a7153510
refs/heads/master
2021-08-10T05:39:33.170820
2020-05-31T21:06:46
2020-05-31T21:06:46
268,309,086
3
0
Apache-2.0
2020-05-31T15:34:06
2020-05-31T15:34:05
null
UTF-8
C++
false
false
6,095
h
threadutils.h
#ifndef HTS_THREADUTILS_H #define HTS_THREADUTILS_H #include <atomic> #include <condition_variable> #include <functional> #include <future> #include <mutex> #include <queue> #include <thread> #include <vector> // inspired from C++ Concurency in Action by Anythony Williams template <typename T> class threadsafe_queue...
fce4f448907d692495e470af6ca07e13bfc5ec92
db92c3069978b57df242b3b0123aa4f3ac3236cd
/Motor_Headers/ServoMX.h
6f4fc0fb0ed38b0947f3204343bd94a743769337
[]
no_license
embeye/QEmbeddedEye
7c3dd8f7fd2213d3a247924fa3cf7122922ed67b
2e54ec4f4d2dd7c4b6ee6e1e9c4f9dfb2ef393bd
refs/heads/master
2021-01-22T08:59:20.639389
2017-03-17T02:18:48
2017-03-17T02:18:48
81,926,752
0
1
null
null
null
null
UTF-8
C++
false
false
1,833
h
ServoMX.h
/*! * This file is part of SmartServoFramework. * Copyright (c) 2014, INRIA, All rights reserved. * * SmartServoFramework 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 ...
2b59dd0b6d2ebf94021c3789a37bc3fdd24d1f69
c626df107edcc3d1b85d5b85d811b8273567d341
/tank-battle/source/bloodwall.cpp
255c5ad323335c5cb93e219d2cd66aaf5db91228
[ "MIT" ]
permissive
x2137/tank-battle
f7d2f1d29df0db43958200d49aad8672d469c9e9
d5f329151ef5e4f2698e1f323db57a9206698934
refs/heads/master
2020-05-19T17:55:45.597246
2019-05-06T08:05:53
2019-05-06T08:05:53
185,145,612
0
0
null
null
null
null
UTF-8
C++
false
false
446
cpp
bloodwall.cpp
#include "../include/bloodwall.h" #include <string> using std::string; BloodWall::BloodWall(short x, short y, short h, short w, const string &type, short blood) : Wall(x, y, h, w, type) { this->blood_volume = blood; } short BloodWall::getBloodVolume() { return this->blood_volume; } void BloodWall::decrease...
9058a7bc21792e7d875e146ec057581553788c70
b0cfb479d0aa05b9eb63a80e8e3ec3f95246da80
/kut_ugv_sensor_fusion/include/Classifier.hpp
bde8d7ce2138a45dfe6355826b57863fcedff827
[]
no_license
lucianzhong/Unmanned-ground-vehicle
293c9ad95ca114ef36d3e987a22a7fd3b793b086
a329794e02020b3d36cbeff40cb79657473c44fa
refs/heads/master
2021-06-09T10:19:44.561615
2016-08-06T06:39:39
2016-08-06T06:39:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,917
hpp
Classifier.hpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <ros/ros.h> #include <vector> #include "opencv2/ml/ml.hpp" #include "opencv2/core/core.hpp" #include "opencv2/gpu/gpu.hpp" using namespace cv; /******************************************************************************/ /* ...
7b8abca0b02c1ec266867f59d0f8313db3b55e3c
b404c75206134907aae5d5c9e2df623703e87269
/CPP08/ex01/main.cpp
f4741199cf4cf35c33c4af65a43d2dcc2195e5bd
[]
no_license
carce-bo42/42_CPP_modules
7fa1aced471382f9766742eddaad2e1b4b364f95
60e69a2a51b75f3394889d67de91d22bb62b4446
refs/heads/master
2023-08-24T16:51:15.199921
2021-10-18T12:30:16
2021-10-18T12:30:16
412,200,767
0
0
null
null
null
null
UTF-8
C++
false
false
2,039
cpp
main.cpp
#include "span.hpp" int main() { { ///////// Intra test ////////// Span sp = Span(5); sp.addNumber(5); sp.addNumber(3); sp.addNumber(17); sp.addNumber(9); sp.addNumber(11); std::cout << sp.shortestSpan() << std::endl; std::cout << sp.longestSpan() << std::endl; } { Span sp = Span( 10000 ); // ten thousan...
20447f6a59abf7fe8e9f74c43ffff7f3d14a94aa
9802d42f39766bfa7efdbfad84f0daf6af2c97d5
/Zombie-Strike/source/Game.h
8f3b436b3d09304e166eb9791c1847338974facc
[]
no_license
CMcLaine92/Zombie-Strike
108e4bfe511f2a182416652772bf2a51f66fb71d
e500e4dccf64b9893c0e06eac1fa11ccc950d933
refs/heads/master
2021-01-17T17:14:15.140776
2016-07-28T00:26:03
2016-07-28T00:26:03
64,348,045
0
0
null
null
null
null
UTF-8
C++
false
false
6,206
h
Game.h
#ifndef GAME_H #define GAME_H //#include "StateMachine.h" #include <stack> #include "GamerProfile.h" #include "../SGD Wrappers/SGD_Handle.h" /**************************************************************/ // Forward class declaration // - tells the compiler that the type exists // - allows us to create po...
c487fe51c4eed5489dcc7777942fd327f32a7a5d
5c18cc0967f87247f43e4b26ead23154417f708b
/qt_project/emb_pm101/fileio.cpp
0357d937577213ac3a431df1f45138911889c3f5
[]
no_license
jamyang838/yocto_rpi
35f72a38817d0466b26a6aa04a9ec2480240f288
01722124db56b558316fae35aa10b88f53a7eb93
refs/heads/master
2023-03-11T10:35:47.976624
2021-02-22T06:40:20
2021-02-22T06:40:20
275,737,792
0
0
null
null
null
null
UTF-8
C++
false
false
4,735
cpp
fileio.cpp
#include "fileio.h" #include <QDebug> FileIO::FileIO(QObject *parent) : QObject(parent) { /* In windows, this will init the winsock stuff */ curl_global_init(CURL_GLOBAL_ALL); //curl_global_cleanup(); } void FileIO::filenameGen() { QDateTime current = QDateTime::currentDateTime(); filename...
ffc83c6157e154727dc0f9dad880e22b7797f3e8
b6c020b3839496d229962504d701b2e851240396
/Haptic_Resp_V12_Linear_Controller/Haptic_Resp_V12_Linear_Controller.ino
3a5cab7bb28a9753d4c468f69882174398e1170b
[]
no_license
abadreldin/Haptic_Resp_Linear_Controller
fdf41c733d0278266202f997081972b9fd7e922a
96af13ca2fcf31f241686ad3e3f6af0594029db7
refs/heads/master
2021-01-13T06:06:39.905969
2017-04-04T17:23:46
2017-04-04T17:23:46
86,523,522
0
0
null
2017-04-03T02:43:45
2017-03-29T01:15:35
Arduino
UTF-8
C++
false
false
2,239
ino
Haptic_Resp_V12_Linear_Controller.ino
#include "Haptic_Resp_Linear_Controller.h" void setup() { motorSetup(); decoderSetup(); timerSetup(); Serial.begin (9600); //xBoundary = 50; //red motor is x //yBoundary = 50; //blue motor is y xBoundaryMin = 25; //red motor is x yBoundaryMin = 25; //blue motor is y xBoundaryMax = 55; //red mo...
e41423d8a30998d83309820938a8f573fad63fdb
70eef8cc9aa38d9a107de0f361e1b1ab0729744d
/test/main.cpp
6d5a97f8c2e97016c35f2566e1aae8418be668a8
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
a-nava/roq-logging
7864093e76202b335ac2607c8d59fc916125d9e2
a0472c57eede99e36aee27281f8f0e58f5ca0dbe
refs/heads/master
2023-08-21T01:18:31.557509
2021-08-31T04:16:44
2021-08-31T04:16:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
352
cpp
main.cpp
/* Copyright (c) 2017-2021, Hans Erik Thrane */ #include <absl/debugging/symbolize.h> #include <gtest/gtest.h> // SO5260907 extern int my_argc; extern char **my_argv; int main(int argc, char **argv) { ::absl::InitializeSymbolizer(argv[0]); ::testing::InitGoogleTest(&argc, argv); my_argc = argc; my_argv = ar...