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
17fe9ddc4cd9457a1575b96def2a77cc8d414940
913c4e6121012405582ba92364a4c9518a184a3b
/16-2.cc
ae59173f7c0488217cdd7ece3c5e60007d95d5fd
[]
no_license
weijiaming2012/Cpp
56c3f79532405c8d58d9e2b4fade1eb195718b4d
d942fec522613f66d1730777d6c64fa927ce068e
refs/heads/master
2020-07-08T19:39:52.747168
2019-10-27T13:15:45
2019-10-27T13:15:45
203,758,783
0
0
null
null
null
null
UTF-8
C++
false
false
330
cc
16-2.cc
#include<iostream> using namespace std; int main() { int donuts,milk; double dpg; try{ cout<<"Enter donuts:"; cin>>donuts; cout<<"Enter milk:"; cin>>milk; if(milk<=0) { throw donuts; } dpg=donuts/static_cast<double>(milk); cout<<"dpg:"<<dpg<<endl; } catch(int e) { cout<<e<<endl; } re...
feaa6185ae88b43905fd82c681921a30a84f27f5
42d4df931d26091b5a2963d811db88f710469bdd
/src/proposer.cc
b0b38c5ef62a0128222ea637fcf5faeb357aff09
[]
no_license
irbowen/Sharded_Key_Value_Store
4245e65a957b3054412812c4907be5cdd9797dad
ca49d2e2de916d0889874705921d6980a8186a58
refs/heads/master
2021-01-19T08:45:22.188074
2017-05-15T19:54:18
2017-05-15T19:54:18
87,669,516
8
0
null
2017-05-15T19:54:19
2017-04-08T23:05:29
C++
UTF-8
C++
false
false
4,753
cc
proposer.cc
#include "../headers/proposer.h" using namespace std; void Proposer::init(Environment* env, vector<int> holes) { env_ = env; seq_holes = holes; quorum_ = (1 + env_->num_replicas_) >> 1; } Message* Proposer::handle_start_prepare(int view_num) { Message *msg = new Message; msg->msg_type = MessageT...
7296bb7ac27ef37b6116fb12a571b5d05aa59981
fcaaf840784495f21a8b1a56ed9e5ca38c84bcc3
/Week 5/homework/hw5-2.cpp
c9b68eb5fdc507c1d5715c01a594888739ac6519
[]
no_license
stephanie0324/Data-Structure-2020
4215c805166493e899d2c489ce78a66610afdc86
268aba9c3166b43bd4c679003630fb4988abd263
refs/heads/master
2021-02-18T04:45:22.670038
2020-07-03T08:27:18
2020-07-03T08:27:18
245,162,230
0
0
null
null
null
null
UTF-8
C++
false
false
14,095
cpp
hw5-2.cpp
#include <iostream> #include <string> #include <cmath> using namespace std; const int Max_Val = 1000; //============================================================================ // Item // 若為 1,表示該道具是所有角色都可以使用的;若為 2,只有戰士可以 使用;若為 3,只有巫師可以使用。 //=======================================================================...
50e5849cc940c30fc1c3b28a167c6940e4dd8b99
39dbffad5f45b1cb09061459458b79c62b0fb598
/Src/Base/PsuadeRSInterpreter.cpp
c31d190bf9f530827d031090f8d608991a0c3747
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "Apache-2.0" ]
permissive
tong10/psuade
27a6af2bf5ffa23dd11c13362f2ba1d93feb20c4
20d7df05360d2d98cbc134e1a49e60ac33f18e20
refs/heads/master
2023-08-31T07:04:10.483864
2023-01-11T21:15:27
2023-01-11T21:15:27
114,056,555
0
0
null
2017-12-13T01:08:17
2017-12-13T01:08:16
null
UTF-8
C++
false
false
357,688
cpp
PsuadeRSInterpreter.cpp
// ************************************************************************ // Copyright (c) 2007 Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the PSUADE team. // All rights reserved. // // Please see the COPYRIGHT_and_LICENSE file for the copyrig...
1812c3d2a977a174cf85cbafb9c38f0ff16d6f10
0c22d527c18df1f4edb90523f01e4a56cdf58606
/NaoTH2011-light/NaoTHSoccer/Source/Core/Motion/Engine/MotionEngine.cpp
155cfc4f06fba4249df7be0cf9e4c645a63fd350
[]
no_license
IntelligentRoboticsLab/DNT2013
3d9fdb1677858fe73006132cc47dda54b47ef165
ddc47ce982fe9f9cfaf924902208df1d5e53a802
refs/heads/master
2020-04-09T06:04:30.577673
2013-12-11T13:39:12
2013-12-11T13:39:12
9,521,743
3
1
null
null
null
null
UTF-8
C++
false
false
3,961
cpp
MotionEngine.cpp
#include "MotionEngine.h" // motion factories #include "InitialMotion/InitialMotionFactory.h" #include "InverseKinematicsMotion/InverseKinematicsMotionFactory.h" #include "ParallelKinematicMotionEngine/ParallelKinematicMotionFactory.h" #include "KeyFrameMotion/KeyFrameMotionEngine.h" MotionEngine::MotionE...
7a48661122db244f010e95b9639af9b677ff929b
95a0bb23a05a96b9ef01f88dcc35c2bdaa7f2f14
/1.9.1.12285/SDK/WBP_ModalMenu_functions.cpp
087e0811c4f63ca48e612481d68d353d9afb2320
[]
no_license
MuhanjalaRE/Midair-Community-Edition-SDKs
38ccb53898cf22669d99724e7246eb543ae2d25d
8f459da568912b3d737d6494db003537af45bf85
refs/heads/main
2023-04-06T03:49:42.732247
2021-04-14T11:35:28
2021-04-14T11:35:28
334,685,504
1
0
null
null
null
null
UTF-8
C++
false
false
2,781
cpp
WBP_ModalMenu_functions.cpp
// Name: mace, Version: 1.9.1.12285 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace SDK { //--------------------------------------------------------------------------- // Functions //----------------------------------------------...
80640903fdcbc0f45be32cad666a3a253805b51a
67cf5d1d7ea62ca9e7b35c42c042efcf1c77ff36
/mosixFastProjections/Stitcher.cpp
545d7d571453cad40ceaa1ccd85c5532a3d813bf
[]
no_license
bpass/cegis
d3c84d2d29a084105b4c207391ddc6ace0cdf398
6c849e41974b8ff844f78e260de26d644c956afb
refs/heads/master
2020-04-03T18:57:58.102939
2013-04-24T22:07:54
2013-04-24T22:07:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,018
cpp
Stitcher.cpp
#ifndef STITCHER_CPP #define STITCHER_CPP #include "Stitcher.h" #include <iostream> //************************************************************* Stitcher::Stitcher( USGSImageLib::ImageOFile * inout, unsigned long lines ) { //copy the output file out = inout; m_currentRow = 0; done = false; // assign...
58b33f20588d1673e62f85e60d67b533e6ff4756
9379625eeadd777a4b4961982cf0cb228ef192d1
/src/financial.h
e9ea48d2b73025fd04e2f745689f675d72235ed3
[]
no_license
ettoremaiorana/resampling-and-simulation-methods-for-trading
06652c7c615654b8971aa40a08a962f44d19d2f9
f68b6b60a7f9a7a5cbc5a9c62e6aee2098aedbdc
refs/heads/master
2020-07-26T13:38:52.282788
2019-10-16T07:51:20
2019-10-16T07:51:20
208,662,607
0
0
null
null
null
null
UTF-8
C++
false
false
425
h
financial.h
// // Created by ivan on 13/09/2019. // #include <vector> double annual_return(const std::vector<double>& daily_returns); double annual_volatility(const std::vector<double>& daily_returns); double sharpe_ratio(const std::vector<double>& daily_returns, double risk_free); double max_drawdown(const std::vector<double>& d...
3bf8145d775e29ce19705b8441b7dc9300b0f6ce
8dc536fde88501d1c208414ee4fd854e25557050
/url_code.h
2cbc12a948330ff5b01125ba11259434113bec8c
[]
no_license
qhadyn/VideoQualityDetection
f1eadf9d716524723fdd686e5443a89415ab25da
cdbc86cfae5ff4a478f57d12e79418b450663f1f
refs/heads/master
2023-08-03T06:13:58.305690
2021-09-25T08:59:02
2021-09-25T08:59:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,527
h
url_code.h
/****************************************************************************** * * Copyright (C), 2001-2005, Huawei Tech. Co., Ltd. * ******************************************************************************* * File Name : url_code.h * Version : Initial Draft * Author : sst * Created :...
ec997e5c1a553b9167d523f92b5ce6068e444023
24b6dc34a419586a14d384c216186f6175011db6
/game_platform_win32.cpp
60744b854af0661c206a49492a71a7b2765b5b76
[]
no_license
xstraski/quantic_veryold
c6e440b108b9cd963001b4e24c2f606d87f67af4
ff91bcabda48fd0d23707dc45f2fb4f3adeaf952
refs/heads/master
2020-06-10T19:58:55.288261
2019-07-25T13:00:39
2019-07-25T13:00:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
48,509
cpp
game_platform_win32.cpp
#include "game.h" #include "game_platform_win32.h" // Win32-specific CRT extensions. #include <crtdbg.h> // NOTE(ivan): Win32 visual styles enable. #pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b6414...
1d54b838a67fec5bfc97569c1bb57ec57629c4b7
aa4d78d6a25650b274591fa60fecc43cb78ff1bd
/alarm/alarm.ino
cfa56ca66d4710f816e2a81be4b11b765ca1f841
[]
no_license
wnew/arduino_pi_alarm
b789d71fe081adca00d417d7a074f6f696fdfdac
ccaf239ec7ff63d11264817c0ffab9d2423852f7
refs/heads/master
2020-07-01T15:07:23.662984
2016-12-30T10:19:40
2016-12-30T10:19:40
74,336,316
0
1
null
null
null
null
UTF-8
C++
false
false
2,960
ino
alarm.ino
// this project uses the arduino to poll the alarm sensors and to send a serial // message to the rpi if there is any change in the state of the sensors. This // means that the rpi is required to handle the alarm state. // list of sensor pins, set this to the number of sensors in your system. // this must match the nu...
80578705df1ca4e3498f86952516b6ae13f35dc3
71e295b8b1fbba937e92502856a22c3c69d49e4f
/src/engine/Scene/Scene.h
95c18ce0baa3720fb5a2ff1f4c292aeb473c5269
[]
no_license
Douidik/GameEngine
a41f9737589e4ca543b44f1dc02f3fe8ef518823
e43da29402c6cb5d63490a6cc69cfbc972ba017b
refs/heads/master
2022-06-19T01:10:20.235816
2020-05-10T21:25:08
2020-05-10T21:25:08
262,878,057
0
0
null
null
null
null
UTF-8
C++
false
false
584
h
Scene.h
#pragma once #include "Primitives/GameObject.h" class Scene { public: Scene(const std::string &name); void addGameObject(GameObject *pGameObject); void removeGameObject(GameObject *pGameObject); void removeGameObject(const std::string &name); GameObject *getGameObject(const std::...
eb260240ffc33847805230a22015512b61b6cc38
03341c7ff8115384a5edea4b6e66895b33ab73c1
/Codes/Basics/friend.cpp
396cc3930650efb6cfb98c4c95f98375f2fba942
[]
no_license
abhi3700/My_Learning-Cpp
fa5e5f919c02e3dad7279c9b56c0d2cd6ddad0b6
73cc3a085a66f30a3fe480dff8d0c3a3e9689945
refs/heads/master
2022-07-11T15:43:56.066960
2022-06-14T07:21:59
2022-06-14T07:21:59
252,186,491
7
0
null
null
null
null
UTF-8
C++
false
false
1,475
cpp
friend.cpp
/* Use of `friend` keyword - The global operator function is made friend of this class so that it can access private members */ #include <iostream> class complex { private: int real, imag; public: complex( int r=0, int i=0) : real(r), imag(i) {} void print() { std::cout << real << " +...
332725c9a76d5278bbd452eaf308fdc028e79cc9
e18ef95490745713792e75b84d48b943069ac152
/src/pkgi.cpp
45426fa22319b0f1fc4ac1d642436c512c92ab61
[ "Zlib", "BSD-2-Clause" ]
permissive
blastrock/pkgj
f6ee562743e9b0c338803cce829b8ea6f07059fd
fa3f130d6f5df224ddeef2b090e850af81a626a7
refs/heads/master
2023-08-14T18:59:35.994836
2023-07-31T08:46:56
2023-07-31T08:46:56
124,300,424
1,054
141
BSD-2-Clause
2023-07-07T19:29:21
2018-03-07T22:08:48
C++
UTF-8
C++
false
false
42,702
cpp
pkgi.cpp
#include "pkgi.hpp" extern "C" { #include "style.h" } #include "bgdl.hpp" #include "comppackdb.hpp" #include "config.hpp" #include "db.hpp" #include "dialog.hpp" #include "download.hpp" #include "downloader.hpp" #include "gameview.hpp" #include "imgui.hpp" #include "install.hpp" #include "menu.hpp" #include "update.hp...
bf3f188a868a1d5f57928bd607197eae025bca8b
9f520bcbde8a70e14d5870fd9a88c0989a8fcd61
/pitzDaily/789/alphak
1d8249ee7b59e90cbb3be32a8a0506f84b057488
[]
no_license
asAmrita/adjoinShapOptimization
6d47c89fb14d090941da706bd7c39004f515cfea
079cbec87529be37f81cca3ea8b28c50b9ceb8c5
refs/heads/master
2020-08-06T21:32:45.429939
2019-10-06T09:58:20
2019-10-06T09:58:20
213,144,901
1
0
null
null
null
null
UTF-8
C++
false
false
68,779
alphak
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1806 | ...
4e91c4f773c946436318b495e5238957ed627bf9
01351920bbf9efb2ee154c72f41b7890ff516fa4
/942. DI String Match/main.cpp
a7f12ab74e19284e2be22254ca90039076af7d9f
[ "MIT" ]
permissive
dllexport/leetcode
0631c1748c4eed28ff0e2b7679d17b667629d49a
a0cfd5d759daa36fec808b2dbe19c045d218ed76
refs/heads/master
2022-08-25T12:54:44.596484
2019-07-23T15:13:04
2019-07-23T15:13:04
266,346,397
0
0
null
null
null
null
UTF-8
C++
false
false
606
cpp
main.cpp
#include <vector> #include <string> using namespace std; vector<int> diStringMatch(string S) { auto size = S.size(); vector<int> vec(size + 1, 0); int min = 0; int max = size; for (int j = 0; j < size; ++j) { switch (S[j]) { case 'I': { ...
0520bc78ea562b429f402e563cb86c66398b8a55
011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3
/stress_testing/my_code.cpp
4c3de2e0e9e7e5e739359f6adf45b7dbf8f590f0
[]
no_license
ay2306/Competitive-Programming
34f35367de2e8623da0006135cf21ba6aec34049
8cc9d953b09212ab32b513acf874dba4fa1d2848
refs/heads/master
2021-06-26T16:46:28.179504
2021-01-24T15:32:57
2021-01-24T15:32:57
205,185,905
5
3
null
null
null
null
UTF-8
C++
false
false
2,768
cpp
my_code.cpp
#include<bits/stdc++.h> using namespace std; # define C continue; # define R return # define D double # define I insert # define ll long long # define ld long double # define ull unsigned long long # define ui unsigned int #define FILE_READ_IN freopen("input.txt","r",stdin); #define FILE_READ_OUT freopen("my_result...
4a3913941023bc37ed3d9a644078f13ed98f82c5
e30e9a05829baf54b28a4a953c98f6ea2ca5f3cf
/Timus/T1255.cpp
282271ad9a83f661ccba71cbd30eb9712b33db09
[]
no_license
ailyanlu/ACM-13
fdaf4fea13c3ef4afc39a522e12c5dee52a66a24
389ec1e7f9201639a22ce37ea8a44969424b6764
refs/heads/master
2018-02-24T00:33:02.205005
2013-01-09T18:03:08
2013-01-09T18:03:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
391
cpp
T1255.cpp
#include <iostream> using namespace std; int n, k; int main (void) { #ifndef ONLINE_JUDGE freopen ("T1255.in", "r", stdin); freopen ("T1255.out", "w", stdout); #endif cin >> n >> k; if (n<k) cout << "0"; else if (2*(n%k)-k<0) { int ans =(n/k)*(n+n%k); cout << ans; } else { in...
e5713dc6a5f0b1e9b11de2e26ce4e8fb288cd264
f798e5955febcbb5e053604dde0056225954e956
/HackerEarth/MaximizeFunction.cpp
22b7331e300652c24d4fb56a2d27a0640c4a25cd
[]
no_license
atulRanaa/problem-solving-directory
bd129da93f205602fd1b596a80d98ca3c164020f
3c261a7a57591203d0fb502859a0e388f9b09ae1
refs/heads/master
2022-09-02T00:22:02.199595
2022-08-22T07:14:56
2022-08-22T07:15:41
177,447,829
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
cpp
MaximizeFunction.cpp
// hackerearth #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll N = 1e6+5; const ll MOD = 1000000007; #define all(x) x.begin(),x.end() #define pii pair<int,int> #define pis pair<ll,string> #def...
300148b72065d8fa26bcce9df816758cfc9d61f9
9530eb5b4fc5acc39d71c6d8e6637e49093f58b8
/10773 Back to Intermediate Math.cpp
22042cc309cdc8548c27dfb546ecca36af1baa8c
[]
no_license
Mahbub20/UVA-Solutions
9ea6ae47a22730b30168118edee0fa77eee1a1f6
3ed44a00130bfc9b6ce4cfe2d17c57940ffdc3c6
refs/heads/master
2021-01-13T08:18:12.680369
2018-10-03T16:15:08
2018-10-03T16:15:08
68,840,053
0
0
null
null
null
null
UTF-8
C++
false
false
503
cpp
10773 Back to Intermediate Math.cpp
#include<iostream> #include<cmath> #include<cstdio> using namespace std; int main() { ios_base::sync_with_stdio(0),cin.tie(0); double d,v,u,diff,n,t1,t2; int k = 1; cin >> n; while(n--) { cin >> d >> v >> u; if(v==0 || u<=v || u==0)printf("Case %d: can't determine\n",k++); ...
0b6f6b09f44313b9f12ef05e631199cc5955039e
82bbdeb7d87ab9d7409605c316e8f6b7ab33a36b
/misc/tensor.cc
083f6c7a217dfd2773b119feb1b5c07989a3689f
[]
no_license
taozhijiang/study-tensorflow
0ae62139df14ed41f7bf242823a999a92447928b
f6d621745f5bdc2bc83b860f5c1017a97c7da265
refs/heads/master
2022-09-04T13:54:24.317737
2020-05-26T16:13:52
2020-05-26T16:13:52
266,824,092
2
0
null
null
null
null
UTF-8
C++
false
false
5,170
cc
tensor.cc
#include <iostream> #include <cassert> #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/tensor.h" using tensorflow::Tensor; using tensorflow::TensorShape; // 一些Tensor使用方式展示 // 资源来自于tensorflow的代码库 // https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor_...
327b3b0ef5547220d714e7117ef11ce6144b043f
9da88ab805303c25bd9654ad45287a62a6c4710f
/Cpp/LeetCode/wc208_3.cpp
692dd9cea9f2bdaf6ab76a6d7a2a820e49712e26
[]
no_license
ms303956362/myexercise
7bb7be1ac0b8f40aeee8ca2df19255024c6d9bdc
4730c438354f0c7fc3bce54f8c1ade6e627586c9
refs/heads/master
2023-04-13T01:15:01.882780
2023-04-03T15:03:22
2023-04-03T15:03:22
232,984,051
2
0
null
2022-12-02T06:55:19
2020-01-10T06:47:00
C
UTF-8
C++
false
false
1,324
cpp
wc208_3.cpp
#include "usual.h" class ThroneInheritance { string kname; unordered_set<string> live; unordered_map<string, vector<string>> edges; public: ThroneInheritance(string kingName) : kname(kingName) { live.insert(kingName); edges.insert({kingName, {}}); } void birth(string paren...
d56bc7e4d865f28a388fdd63e5305ea8e83eb7be
62d5fd2277ed20029b656d18d6738c248273eedd
/poj1979.cpp
8f5ac7f7fdedf4f40d16793af197c628002b6303
[]
no_license
guinao/poj
c2bc9f8d498dd0bb2a36443b854f49583adb46ae
80795e41c22c6b4a2d046e58d49c337576577f8f
refs/heads/master
2021-01-01T05:41:22.621218
2015-09-05T12:05:38
2015-09-05T12:05:38
21,536,515
3
1
null
null
null
null
UTF-8
C++
false
false
712
cpp
poj1979.cpp
#include <cstdio> #include <cstring> char grid[32][32]; int dx[] = {0, 0, -1, 1}; int dy[] = {1, -1, 0, 0}; int dfs(int x, int y) { int ret = 1; grid[x][y] = '#'; for(int i=0; i<4; ++i){ int nx = x + dx[i]; int ny = y + dy[i]; if(grid[nx][ny] == '.'){ ret += dfs(nx, ny); } } return ret; } int main() ...
6a17b4a1860501ca82fa31aed4da6a704e453ff1
67ed24f7e68014e3dbe8970ca759301f670dc885
/win10.19042/System32/trie.dll.cpp
e57fc58e743be54cb2f521067cc266b29d091aa1
[]
no_license
nil-ref/dll-exports
d010bd77a00048e52875d2a739ea6a0576c82839
42ccc11589b2eb91b1aa82261455df8ee88fa40c
refs/heads/main
2023-04-20T21:28:05.295797
2021-05-07T14:06:23
2021-05-07T14:06:23
401,055,938
1
0
null
2021-08-29T14:00:50
2021-08-29T14:00:49
null
UTF-8
C++
false
false
204
cpp
trie.dll.cpp
#pragma comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\trie.DllCanUnloadNow\"") #pragma comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\trie.DllGetClassObject\"")
2c6adc168e301eee21d49a761bf0022050f9dafe
fd6ab01556ae8de49ffb0231c5dd6ccab91cf7a5
/Estructura de Datos/Practicas/Practica1/ejercicio8.cpp
0e0da9815df2ac3d45618c07bd5ae7a546e70291
[]
no_license
carlosyyxy/2nd-semester
d622c92397967374adb445d201991bc474ddda9b
18bae911ae0a085a482a3a8cc8343e8271f2e219
refs/heads/master
2023-06-05T00:14:51.812127
2021-06-21T05:29:37
2021-06-21T05:29:37
364,369,883
0
0
null
null
null
null
UTF-8
C++
false
false
1,311
cpp
ejercicio8.cpp
/*Ejercicio 3: Para las siguientes instrucciones, construya el estado de todas las variables en la memoria(de forma gráfica) que muestre que ocurre en ella, y cuál es la salida del programa.*/ #include<iostream> using namespace std; struct node { int info; node *next; }; void main2(); int main(){ main2(); ret...
8933a0dd451fc304d3389ff982c6513be5f82ae6
fbb149fdbf7ae06e93091f1846d6e68057a10360
/main.cpp
4e5f2e1c341dcf1b1f23562188aefe455f1a5fdc
[]
no_license
adeljck/DatastructLearning
f3315ab0af7686e507f6bb66fcf17ee628f1d41d
a3727abd7cb28c4b633eb8a8af5dad35be48e682
refs/heads/master
2023-07-17T06:09:02.555874
2021-08-23T13:30:01
2021-08-23T13:30:01
399,069,613
0
0
null
null
null
null
UTF-8
C++
false
false
396
cpp
main.cpp
#include <iostream> #include <stdio.h> #include "sortA/sort.h" using namespace std; int main() { int maxsize = 9; int data[9] = {0, 4, 5, 2, 7, 9, 8, 10, 6}; for (int i = 0; i < maxsize; ++i) { cout << data[i] << ","; } QuickSort(data, 0, maxsize - 1); cout << endl; for (int i = 0;...
8c20adb2c974031fb2ba07dde5154ec8dc1abcb9
81e8a52cfc99e6fd1f473fb227525b203b7b1503
/CSCE_121_LabWork33/LabWork33/Person.cpp
9f674e9476b30d1eda7b43def2165645c0946bf6
[]
no_license
jtiu-cse-school-assignments/csce-121-labs-part2
9968447e959eb20f93098bb6dbb1db9ce7fc4f33
0b48293af8496afc7ab9637f6b6a5e0771f2be82
refs/heads/master
2020-07-20T15:01:38.863262
2019-09-05T22:00:28
2019-09-05T22:00:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,312
cpp
Person.cpp
#include <string> #include <ostream> #include "Person.h" using namespace std; // Fix 2b /* Write the definitions for any functions in the predicate function object class: comp_firstname - If you do option 1, you'll need to apply the scope resolution operator twice. */ // Default Constructor ...
5d7e56851f9a01f39d55a40112a57c493b921285
d1092749d8360f5ea9440d02313f83f9c10f77a6
/Test1/Test1/Player.cpp
e8e24ac99b7466410f53557fe740b71df0af2db1
[]
no_license
cat5778/KatanaZero
d6fc7b56bab9a9f36f700940eb2cdfac1e916b3a
6baa2248d2eddb6512dd45884f36809e0f555f75
refs/heads/master
2020-12-05T13:47:08.833923
2020-01-27T13:21:52
2020-01-27T13:21:52
232,127,346
0
0
null
null
null
null
UHC
C++
false
false
5,905
cpp
Player.cpp
#include "stdafx.h" #include "Player.h" CPlayer::CPlayer() { } CPlayer::~CPlayer() { } void CPlayer::Initialize() { SetPos(WinCX*0.5, WinCY*0.5); SetSize(50,50); ZeroMemory(&m_tAimInfo, sizeof(INFO)); SetObjType(PLAYER); m_fSpeed = 5.0f; m_fAtkRange = 70; m_fRadian = 0; m_iCount = 0; m_iAnim = 0; m_fAtkP...
de80ea3c10059fb87c64c1e5369b1522c3552f8e
19fc6e6c6767d91b37775f5707d1536df747369e
/mex/include/wildmagic-5.7/include/Wm5CubicPolynomialCurve3.h
f24e0c95c24051e0512a0c878e31e9eb5af3ca5c
[ "BSD-2-Clause" ]
permissive
HanLab-BME-MTU/extern
ef062722ffc3877e5691bc46135d9ff56d7199e6
8f0ab6a554006ebc60e12b1595ecaafd0aec541b
refs/heads/master
2021-04-29T23:51:26.091473
2020-01-31T03:07:12
2020-01-31T03:07:12
121,562,896
1
1
null
null
null
null
UTF-8
C++
false
false
1,805
h
Wm5CubicPolynomialCurve3.h
// Geometric Tools, LLC // Copyright (c) 1998-2011 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.2 (2011/07/23) #ifndef WM5CUBICPOLYNOMIALCURVE3_H #define WM5CUBICPOLY...
38269576992d165957fbb20a3b1832b45740991c
44ab57520bb1a9b48045cb1ee9baee8816b44a5b
/EngineTesting/x64/ReleaseWindows/Resource/OutputCodeTesting/OutputCSVTestingFwd.h
054c0a674ae6d90f1aabc22c80fa2dc4a91621d2
[ "BSD-3-Clause" ]
permissive
WuyangPeng/Engine
d5d81fd4ec18795679ce99552ab9809f3b205409
738fde5660449e87ccd4f4878f7bf2a443ae9f1f
refs/heads/master
2023-08-17T17:01:41.765963
2023-08-16T07:27:05
2023-08-16T07:27:05
246,266,843
10
0
null
null
null
null
GB18030
C++
false
false
745
h
OutputCSVTestingFwd.h
/// Copyright (c) 2010- /// Threading Core Render Engine /// /// 作者:彭武阳,彭晔恩,彭晔泽 /// 联系作者:94458936@qq.com /// /// 标准:std:c++20 /// 自动生成 #ifndef OUTPUT_C_S_V_TESTING_FWD_H #define OUTPUT_C_S_V_TESTING_FWD_H #include "CoreTools/TextParsing/TextParsingFwd.h" namespace OutputCSVTesting { class Input1; class Input...
99cf5aa76312ec30d9bf013dcd627726378f7fc7
de2aa648e1193d508d9fba837e26088144599cd5
/Cognac.h
bf18cf5a199a6eb1b4801f30925e7ce48e7eaa25
[]
no_license
vverenich/Drinks
54350310ff2964f1451e5e3971c47f4795fd863b
c4c565df0412aa550361d7e4fef2bb5116f291ba
refs/heads/master
2023-02-09T02:40:39.439893
2020-12-27T19:29:03
2020-12-27T19:29:03
324,828,896
0
0
null
null
null
null
UTF-8
C++
false
false
381
h
Cognac.h
#ifndef MYCLASS_H4 #define MYCLASS_H4 #include "AlcoholicDrink.h" #include<string> enum class Grape { UnyBlanc, FoilBlanche, Colombard, Montil, JurensonBlanc, Semillon, }; class Cognac : public AlcoholicDrink { private: Grape grape; public: Cognac(std::string nam, double volum, double streng, Grape g); std:...
dfd4bad02fc438c239a7c9151e10b17ae7f1de5c
9d02a593be808ccdb10039df110ddc050e3e88fa
/HW/HW6/3SAT.h
4109aff14896fff784a0adcadc339cbca72138f1
[]
no_license
HO-COOH/CS4750
f57e15dad071edbd66334c74fc9191f2aa856787
a3f163edb2e4cb2aea4dce490c9b8acc4185b710
refs/heads/master
2020-07-17T03:28:48.097230
2020-02-06T11:45:08
2020-02-06T11:45:08
205,930,423
2
0
null
null
null
null
UTF-8
C++
false
false
1,575
h
3SAT.h
#pragma once #include <vector> #include <string> #include <list> #include <queue> #include <variant> struct variable { size_t index; bool value; //the value of the variable std::vector<bool> remain = { true,false }; //the remaining value of the variable {T,F} bool assigned = false; //assigned? size_t...
fee0dcc2dfbd5dca8330fd70f48eb6d28c7a146b
53c3fe38014ae2235502673d706d49848aae145e
/Stack.cpp
f7a49599abb4652b3d985da777ef2fbd699178fb
[]
no_license
ifebles/notacion_polaca_inversa_itla
9c988310a05a2e19a04f1a409764c86c8aab73f4
de3abcd587b905490e4976865857204aa9901c91
refs/heads/master
2021-01-26T10:39:08.649304
2020-02-27T01:53:32
2020-02-27T01:53:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
968
cpp
Stack.cpp
#include <iostream> #include "Stack.h" using namespace std; Stack::Stack() : _first(NULL), _count(0) { } void Stack::push(double num) { Element* elem = new Element(num); if(_first == NULL) _first = elem; else { elem->_next = _first; _first = elem; } _count++; } double Stack::pop() { if(_first == NULL...
807f7787257c7b4932ef0b904e5750eef1449975
d5749c8baa3c653f7fb8a6006a0776306cd3cfca
/test1.cpp
290c17c8a6d3cdf3c23e1b590be68b12e4983bd9
[]
no_license
kupull74/test_c--
dd2d714501924a3592a9af121c425a09ffc94f4b
06567488268cdcde1f23c84e439f4e2e4e2ab095
refs/heads/master
2023-01-23T03:57:31.883412
2020-11-27T01:14:39
2020-11-27T01:14:39
311,860,275
0
0
null
null
null
null
UTF-8
C++
false
false
846
cpp
test1.cpp
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include <ncurses.h> #include <string.h> int main() { initscr(); // curses 초기화 WINDOW *w; w = initscr(); curs_set(1); // 커서 보이게 하는 옵션..? using namespace std; noecho(); // ?? 일단 넣어봤음 cbreak(); //? box(w, 0, 0); // 안의 숫...
62717aa3a1b523f06a8a1c75aac32a459ab8967c
a721f9d0543faa7b1a78660e8985f6753ed95f2c
/804.唯一摩尔斯密码词.cpp
911e4dfaee744a0b6da2b5f0c714d1999a6c2c04
[]
no_license
fflq/LeetCode
c510bc8763df013d1bff3069815ae6d86c615c2c
21ddf5e1090ec288b251b9153ed164fc5b7a7f2d
refs/heads/main
2023-04-20T14:52:01.123621
2021-03-12T02:28:01
2021-03-12T02:28:01
346,647,663
0
0
null
null
null
null
UTF-8
C++
false
false
648
cpp
804.唯一摩尔斯密码词.cpp
/* * @lc app=leetcode.cn id=804 lang=cpp * * [804] 唯一摩尔斯密码词 */ #ifdef FLQ #include "heads.h" #endif // @lc code=start class Solution { public: vector<string> dict = {".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-"...
9dedec9f81a7d51583fc72e0b9dad88a6c06bb63
adc999db9af574e6e5f87e73b06c9d7fc4d23c79
/ReaderWriter/ReaderWriter/Source.cpp
2b0ec0264190700de7571db57b7dd03dc80cebb1
[]
no_license
C00192124/GamesEngineering
fc82a092a5619aee1a83b1249d454783020b2c7c
3909ac8018a1649d362f02e4f11e8ea11bb91b78
refs/heads/master
2021-09-10T09:10:22.943291
2018-03-23T09:33:54
2018-03-23T09:33:54
103,931,254
0
0
null
null
null
null
UTF-8
C++
false
false
1,447
cpp
Source.cpp
#pragma once #include <iostream> #include <thread> #include <chrono> #include <string> #include <mutex> #include <condition_variable> using namespace std; struct Semaphore { public: int m_lock = 1; mutex m_mutex; condition_variable m_con; }; void Reader(); void Writer(); void P(Semaphore &s); void V(Semaphore &s...
05b158004bec4d0e8bd2706dae45a2a632ef43bd
d669decf6a6537d3c2e5cd092629fdd7f77f6419
/requests/src/main.cpp
0137e655d467ea55b360784e7a9a018116d29d39
[]
no_license
dariaomelkina/parallel-crawling-research
4a2a7eacddbd65952f7db146e5359d3fd9b61f7b
9b794b7d282e21e7839d3d67abed0c0de22849d6
refs/heads/main
2023-07-03T16:27:15.888363
2021-08-12T22:45:26
2021-08-12T22:45:26
362,185,582
4
0
null
null
null
null
UTF-8
C++
false
false
469
cpp
main.cpp
#include <iostream> #include "requests.h" /* For testing and demonstration purposes. */ int main() { std::string url = "http://google.com/"; std::string additional_params = "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36\r\n"; cha...
23a74808179f89a2263ffa8b8279c94b09a309e5
ae672d17c4a8eb1143b7091b8988d6b16778f936
/T/satori.cxx
40b6d83e2a65da72378a4fafd8cca1d03f5589f3
[]
no_license
Maciej-Poleski/ASD2
5797266bfcbde6def703b0dfc5d3af747c7ef5e8
a9724046fabf514105ff81b0e42f448f1f699a21
refs/heads/master
2023-04-18T09:54:07.455397
2013-06-13T19:26:21
2013-06-13T19:26:21
363,194,562
0
0
null
null
null
null
UTF-8
C++
false
false
10,599
cxx
satori.cxx
//Maciej Poleski #ifdef DEBUG #define _GLIBCXX_CONCEPT_CHECKS #include <iostream> #include <fstream> #include <cstdlib> #include <cassert> namespace { namespace Wrapper { std::ifstream in; std::ofstream out; } void init(int argc, char **argv) { if (argc != 3) { std::cerr << "Potrzeba dokładnie dwóch argumen...
5438abd534d05391a723287b1280fef4813423b2
c904606638a9e3ccc7f9e2142848f4c041d404dd
/engine/core/main/plugin.cpp
477337331a76e7373606eb81813692c98bd191c7
[ "MIT" ]
permissive
Geniok/echo
bd367238cbe3fad6b6a3f3b675ba2c19ca9444f8
5b65c438739c040d04117308e8eac1e2805890a6
refs/heads/master
2020-04-24T01:48:05.430729
2019-02-20T05:11:02
2019-02-20T05:11:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,044
cpp
plugin.cpp
#include "Plugin.h" #include "engine/core/util/PathUtil.h" #include "engine/core/log/Log.h" #ifdef ECHO_PLATFORM_WINDOWS #define DYNLIB_HANDLE HMODULE #define DYNLIB_LOAD( a) LoadLibraryEx( a, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) #define DYNLIB_GETSYM( a, b) GetProcAddress( a, b) #define DYNLIB_UNLOAD( ...
de3e1ba75a6c36d64557c5e02d394a805eb8a434
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/78/1736.c
b2a0e1eca80063a8bcaecb9ea42a6184161622ae
[]
no_license
GabeOchieng/ggnn.tensorflow
f5d7d0bca52258336fc12c9de6ae38223f28f786
7c62c0e8427bea6c8bec2cebf157b6f1ea70a213
refs/heads/master
2022-05-30T11:17:42.278048
2020-05-02T11:33:31
2020-05-02T11:33:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
893
c
1736.c
int compare (int z, int q, int s, int l, int i) { int a[4] = {z, q, s, l}; int j, k, t; for (j = 4; j > 0; j--) for (k = 1; k < j; k++) { if(a[k] > a[k - 1]) { t = a[k]; a[k] = a[k - 1]; a[k - 1] = t; } } return (a[i - 1]); } int fout( int z, int q, int s, int l, int sum) { if(sum =...
ffb5604802864ea6f733c88e481ba05aa3da82e0
6ffd23679939f59f0a09c9507a126ba056b239d7
/dnn/test/cuda/region_restricted_convolution.cpp
db10790c532fd225e191708e296243a661dee100
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
MegEngine/MegEngine
74c1c9b6022c858962caf7f27e6f65220739999f
66b79160d35b2710c00befede0c3fd729109e474
refs/heads/master
2023-08-23T20:01:32.476848
2023-08-01T07:12:01
2023-08-11T06:04:12
248,175,118
5,697
585
Apache-2.0
2023-07-19T05:11:07
2020-03-18T08:21:58
C++
UTF-8
C++
false
false
44,841
cpp
region_restricted_convolution.cpp
#include "megdnn/dtype.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" #include "megdnn/oprs/nn.h" #include "test/common/checker.h" #include "test/common/conv_bias.h" #include "test/common/rng.h" #include "test/common/tensor.h" #include "test/common/workspace_wrapper.h" #include "test/cuda/benchmark.h" #...
9d8e57bb2f1f694eefa0b62276da921f8c9f02ad
592b53b4453899ab9e5947e7a45a38f4b2a31b50
/GNURadio/OOT_Modules/gr-ccsds/lib/rs_decode_pdu_impl.cc
f51ec33c1fae65338ce32e0743a6bd3bd8a3cf48
[ "MIT" ]
permissive
ClydeSpace-GroundStation/GroundStation
9b4e2cc86edfa2598958d081ba6bc74a64e40584
21b4da25a7061b59447cf5a6686e5a575350a3f4
refs/heads/master
2021-01-18T23:17:13.095811
2016-06-13T10:39:31
2016-06-13T10:39:31
54,881,024
5
1
null
null
null
null
UTF-8
C++
false
false
3,817
cc
rs_decode_pdu_impl.cc
/* -*- c++ -*- */ /* * Copyright 2016 - Thomas Parry - Clyde Space. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. * * This softwar...
e136a4cfc981671a27a5719eb481844a636e7479
8259d368485e3e627d15b871a6c3f704f9094518
/api/c++/persistence/HDFSStream.cpp
83f97e66ffe82102ccd066fd72418dc93f6638d7
[ "Apache-2.0" ]
permissive
AudiovisualMetadataPlatform/mico
d8e05f10ce4a5a55d186e7a066f8a76016d31923
7a4faf553859119faf1abfa15d41a7c88835136f
refs/heads/master
2020-04-24T15:53:03.512597
2019-02-11T09:13:08
2019-02-11T09:13:08
172,086,512
0
0
null
null
null
null
UTF-8
C++
false
false
8,561
cpp
HDFSStream.cpp
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed unde...
bf304345f6079a337f16be22c69db9ebfc306e47
fdfeb3da025ece547aed387ad9c83b34a28b4662
/Fundamental/CCore/test/test2020.BinarySearch.cpp
23e6938ef45aa25c7e9e0e547444f278c1d88e88
[ "FTL", "BSL-1.0" ]
permissive
SergeyStrukov/CCore-3-xx
815213a9536e9c0094548ad6db469e62ab2ad3f7
820507e78f8aa35ca05761e00e060c8f64c59af5
refs/heads/master
2021-06-04T05:29:50.384520
2020-07-04T20:20:29
2020-07-04T20:20:29
93,891,835
8
1
null
null
null
null
UTF-8
C++
false
false
1,053
cpp
test2020.BinarySearch.cpp
/* test2020.BinarySearch.cpp */ //---------------------------------------------------------------------------------------- // // Project: CCore 2.00 // // Tag: Fundamental Mini // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the loc...
b58917841804b04fe5be64fc3efcc83f9280cb45
a282dccd573b9d5225017db2739c0861c5270fb2
/parcial.cpp
b193d44ec925899b40e16b7c5078be9093563d3c
[]
no_license
atrippel/Mate3
064416f10bef685f79359144f40e5ade99207ba9
90c7d6d33c8e5498bc312be47373305bf1c5f287
refs/heads/master
2021-06-17T19:32:44.438940
2017-06-22T22:36:52
2017-06-22T22:36:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,758
cpp
parcial.cpp
#include <stdio.h> #include <stdlib.h> void cargarMatriz(int matriz[4][4]) { int i,j,valor; for(i=0;i<4;i++){ for(j=0;j<4;j++){ printf("\nIngrese el valor de la posicion %d y %d\n",i,j); scanf("%d",&valor); matriz[i][j]=valor; } } } void sumarD...
b498b4068418f7aa67fda4d13a0c17ac9faf06eb
085e03878f982a59185cc91581d1c61b0eba7ecc
/BattleTank/Source/BattleTank/Public/TankBarrel.h
764790ed200b5e664198c85ff0920fedd14b8a10
[]
no_license
fogeZombie/BattleTankTutorial
c1a0dcf1ef34cb09c2c0ebb81085f19d0a391bde
71b1967c86953c927adeff5329cc0b169c55b219
refs/heads/master
2020-03-23T10:42:53.596795
2018-08-31T19:52:54
2018-08-31T19:52:54
141,458,046
0
0
null
null
null
null
UTF-8
C++
false
false
979
h
TankBarrel.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "Engine/World.h" #include "CoreMinimal.h" #include "Components/StaticMeshComponent.h" #include "TankBarrel.generated.h" /** * Holds barrel's properties and elevate method. * Used exclusively as a tank component. */ ...
3912bf83dec9fe35f17aee7276930a90f357e0fb
ee33b4ab65c8840cf37c4acb3037ea66dde12d91
/curvefs/src/tools/curvefs_tool_main.cpp
9f42c095d03ba47eb178b50957ec7916336d2040
[ "Apache-2.0" ]
permissive
opencurve/curve
36339c6377e7ac45ad2558d5cb67417b488094b4
6f5c85b1660aeb55d5c08e3d1eb354949ab7567a
refs/heads/master
2023-08-31T04:52:54.707665
2023-08-05T14:04:44
2023-08-15T11:46:46
276,365,255
2,099
540
Apache-2.0
2023-09-14T15:33:46
2020-07-01T11:57:25
C++
UTF-8
C++
false
false
1,940
cpp
curvefs_tool_main.cpp
/* * Copyright (c) 2021 NetEase Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
6f8e54dec614a3cabff667cf5b67eed091ef8c66
e281e415d56392e84d317d7d55390d8c5eb0c483
/ObjecrOrientedDesign/Source/Books.cpp
d8815920cc6eef3e3ff9583278671d4fd7afb920
[]
no_license
soheil647/Advance_Programming_Cpp
9ce99203404377e40e1bc16333f0f9c2ea99fef6
231e5b42cfd75e04df474c931969e80b8622222b
refs/heads/master
2020-12-28T15:15:08.717047
2020-08-19T14:41:54
2020-08-19T14:41:54
238,384,145
2
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
Books.cpp
#include "../Header/Books.h" using namespace std; Books::Books(int book_id, const std::string &book_title, int temp_author_id, const std::string &book_genres) { id = book_id; title = book_title; author_id = temp_author_id; genres = book_genres; } Books::Books(int book_id, float book_rate) { id = b...
3e5933d0b0f4e29f8bdab47b9100d82af4b5913a
28fa21455f49efffe9dc4302ef82d878428e9c5f
/src/test_thread_class.cpp
c3dcf321032a8442e36385f13126933241f13b31
[ "Apache-2.0" ]
permissive
zhangkeplus/revolver
1051a9460a88b8bf75ce7304ad18be1b893c9d01
75e4fb32cd8b7f603cef61985f483a77e6a529b8
refs/heads/master
2020-12-11T07:54:27.552091
2015-10-07T07:15:06
2015-10-07T07:15:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,029
cpp
test_thread_class.cpp
#include "inc.h" #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "thread_class.h" using cootek::revolver::thread_class; class testc1 : public thread_class { public: testc1() : m_init(0), m_cleanup(0) { } void check1() { assert(m_init == 0); ...
23127e777798667cb34554d9a24ff65fdbb73998
058dd18b93de675e53598012923f2148047a87b8
/GenericCombine/Main.cpp
c3d79cfc8f38c54254080ecfa7b270ac3fc99406
[ "MIT" ]
permissive
invader35/SEN2UE9
92b43965c59d6a01315bb0154c0e52abc1a110ef
165b88d0b6e0f196cbdda0cd761d92054e2d51cc
refs/heads/master
2020-05-30T10:49:28.516457
2015-03-16T11:02:37
2015-03-16T11:02:37
10,665,486
0
0
null
null
null
null
UTF-8
C++
false
false
3,307
cpp
Main.cpp
/////////////////////////////////////// // Workfile : Main.cpp // Author : Matthias Schett // Date : 27-05-2013 // Description : Combine if template // Remarks : - // Revision : 0 /////////////////////////////////////// #include <iostream> #include "GenericCombine.h" #include <vector> #include <r...
df1fc70bebc538c4c2148b0b4b8d0f721624488a
42a5316d14e8a3a01dd58eee2e63b3376a3fead9
/002 Even Fibonacci numbers.cpp
a071de155acb25feccbbca4d2434002aab898ff1
[ "MIT" ]
permissive
satvik007/ProjectEuler
f76b9936002eca7d59e5f63de29c6bf7ae7628c4
6044cebe03672412d385a62bef827b28f0943cb6
refs/heads/master
2021-05-12T08:05:28.121197
2018-01-12T18:27:18
2018-01-12T18:27:18
117,266,819
1
0
null
null
null
null
UTF-8
C++
false
false
804
cpp
002 Even Fibonacci numbers.cpp
#include <bits/stdc++.h> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ //ifstream cin("in.txt"); int t; cin >> t; vector <long long int> a; a.push_back(1); a.push_back(2); long long current; for(int i=2; a[i-1]<4e16; i++)...
6256bc17d9fa8337dabafb966228b60f30d18fcf
39921d049a882220193fb45f4023a6831fb79908
/Pods/gRPC-Core/src/core/lib/profiling/basic_timers.cc
3afcad8e44b21d3bb33bc21fb8bd17f724ef9741
[]
no_license
furydeveloper/SearchCoinKaraoke
a48bb7f0a4032735a2fc8895bd6bb02626b392b3
98043d3e280814f75c4f6c7957e6c0eee320a9b9
refs/heads/master
2023-08-10T23:24:28.780365
2021-10-03T02:51:57
2021-10-03T02:51:57
409,012,702
0
0
null
null
null
null
UTF-8
C++
false
false
129
cc
basic_timers.cc
version https://git-lfs.github.com/spec/v1 oid sha256:ef078c099ab36e2bd6326b34d1caabcbe1aa32a74048f1df1b3c87e4274a5473 size 7881
ff803a8f82e0b3e7a4d862af36c8033dc67d44fd
b73a46dcf05ab7ba0f079779dcae7b428b76c546
/C++/1044火星购物.cpp
fb789e6573dc2c9f435c07c56d9a9d8c7005ed6b
[]
no_license
vei123/PATTestAdvanced
1a665f278e8cc88c4342ed8e8bd489530ca9ba69
222f6e8efa45fadd3a432ba88475d9476591aba8
refs/heads/main
2023-07-28T12:47:55.908453
2021-09-09T10:21:06
2021-09-09T10:21:06
392,303,394
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
cpp
1044火星购物.cpp
#include<iostream> #include<vector> using namespace std; //看到N<=10^5,就知道一定得用O(n)复杂度的算法,自然想到"滑动窗口"法 struct segm { int i, j, val; segm(int i, int j, int val) :i(i), j(j), val(val) { } }; signed main() { ios::sync_with_stdio(0); int n, m, d, a[100005]; vector<segm> ans; int minlost = 0x7fffffff; vector<segm> mi...
2f7ce87d10b0f69dfcf76c334a597d84dd8791af
2fdba81ab16f228d209afcb09cd683475b239f8b
/ConsoleApplication1/ConsoleApplication1/job_priority_compare.h
2ca1ee7bafaabad31460ce64936cfefef65a37b9
[]
no_license
thatgirlprogrammer/OS_project
97a71e1ce63bc9b87d5431ac1fc1903060dd87e6
e56a6074f41438d75369e2223481676007373ceb
refs/heads/main
2023-01-20T02:49:39.571530
2020-12-07T15:41:43
2020-12-07T15:41:43
302,135,355
1
0
null
2020-10-28T00:03:35
2020-10-07T19:08:12
C++
UTF-8
C++
false
false
520
h
job_priority_compare.h
#pragma once #include <vector> #include "pcb.h" namespace OSSim { class priorities { public: priorities(PCB_info pcb_info) { info = pcb_info; } bool operator< (const priorities other) const { return info.pc.job_priority < other.info.pc.job_priority; } PCB_info get_pcb_info() { re...
9778f48193d0ccce730c5df291eca05b6ab9fa19
e6793e7eb54d2105c373a8af7ebc653b7ad94575
/bindings/pydrake/solvers/osqp_py.cc
1b27e795d58a1d629c9a18317cb0e736a57ca64a
[ "BSD-3-Clause" ]
permissive
nikaven/drake
5c59e88f79b530ddf62496452959abeaf8fff1e3
34bab4ecaa34ac09ade6dcb11cf7bc0d13c5bd4e
refs/heads/master
2020-03-31T01:37:25.441270
2018-10-05T19:42:22
2018-10-05T19:42:22
151,788,663
7
0
null
2018-10-05T23:37:07
2018-10-05T23:37:07
null
UTF-8
C++
false
false
716
cc
osqp_py.cc
#include "pybind11/pybind11.h" #include "drake/bindings/pydrake/documentation_pybind.h" #include "drake/bindings/pydrake/pydrake_pybind.h" #include "drake/solvers/osqp_solver.h" namespace drake { namespace pydrake { PYBIND11_MODULE(osqp, m) { using drake::solvers::OsqpSolver; auto& doc = pydrake_doc.drake.solver...
1c5c193af946894ce68dc7900b120994b3afc837
2ba94892764a44d9c07f0f549f79f9f9dc272151
/Engine/Source/Runtime/SlateCore/Public/Fonts/SlateFontInfo.h
37dbd45ba9aa78e34142fb13dba8444116171513
[ "BSD-2-Clause", "LicenseRef-scancode-proprietary-license" ]
permissive
PopCap/GameIdea
934769eeb91f9637f5bf205d88b13ff1fc9ae8fd
201e1df50b2bc99afc079ce326aa0a44b178a391
refs/heads/master
2021-01-25T00:11:38.709772
2018-09-11T03:38:56
2018-09-11T03:38:56
37,818,708
0
0
BSD-2-Clause
2018-09-11T03:39:05
2015-06-21T17:36:44
null
UTF-8
C++
false
false
6,014
h
SlateFontInfo.h
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "Templates/TypeHash.h" #include "CompositeFont.h" #include "SlateFontInfo.generated.h" /** * A representation of a font in Slate. */ USTRUCT(BlueprintType) struct SLATECORE_API FSlateFontInfo { GENERATED_USTRUCT_BODY() /** The fo...
88a791c78943e63dd3d8061b5de8d3ca62670085
825baf7b3ecbcbdcd2f8b86179a802739ba3636c
/src/systems/sources/depth.cpp
ea2e668ef603c61c2689b85f11bacf26b229706d
[ "MIT" ]
permissive
brucelevis/zenith
1c8fcdb273c7497a73046f1d1a9112f7c8f9ebfb
eeef065ed62f35723da87c8e73a6716e50d34060
refs/heads/master
2023-08-28T21:28:05.552328
2021-10-15T19:14:13
2021-10-15T19:14:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
710
cpp
depth.cpp
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #include "../depth.hpp" #include "../../utils/assert.hpp" #include "../../components/depth.hpp" namespace Zen { extern entt::registry g_registry;...
c73dca1207d1ee15b1fa616fba28cb7fd0951555
c054ffed0df3565ce5a52321db273219275c6ca5
/src/yart_core/sphere.h
9e6770f83cafc688feda525be5976b7d1295c0d9
[]
no_license
stevegocoding/yart
8ba0d059485f08e3a8eec31bdbec223512d2b71b
01505cc0e989cee41ba0e7617c9e6acb511447fe
refs/heads/master
2016-09-03T07:08:28.078837
2012-06-16T02:15:03
2012-06-16T02:15:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
421
h
sphere.h
#pragma once #include "prerequisites.h" #include "shape.h" class c_sphere : public c_shape { typedef c_shape super; public: c_sphere(float radius, float z_min, float z_max, float phi_max_deg); // virtual bool intersects(const c_ray& ray, float *t_hit, float *ray_epsilon) const; private: float...
fc90e56534d4437011773538b7969c7a91f7d43b
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/codeforce/581-620/600/f2.cpp
04a491e2a4d7fd80668836f70e61b02ec041d16b
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
2,995
cpp
f2.cpp
#include <bits/stdc++.h> using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x<(to);x++) #define FORR(x,arr) for(auto& x:arr) #define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++) #define ALL(a) (a.begin()),(a.end()) #...
27b331a9b6c6470cb348b39bcf157b74e8dbb5cb
afb71a8e6d26990b044debda5367188a898723d6
/cpp/methods/greedy_linear_oblivious_trees_v2.h
aaef23130e334869dcfcf31c2c99b51350f3ef6f
[ "Apache-2.0" ]
permissive
equivalence1/ml_lib
cf4d1c45167958051d4a4422e10c382f2e6d19af
92d75ab73bc2d77ba8fa66022c803c06cad66f21
refs/heads/master
2021-08-22T08:09:39.593877
2020-02-10T07:44:34
2020-02-10T07:44:34
150,852,557
0
0
null
null
null
null
UTF-8
C++
false
false
8,062
h
greedy_linear_oblivious_trees_v2.h
#pragma once #include <unordered_set> #include <vector> #include <memory> #include "optimizer.h" #include <models/model.h> #include <data/grid.h> #include <models/bin_optimized_model.h> class GreedyLinearObliviousTreeLearnerV2; class BinStat { public: explicit BinStat(int size, int filledSize) : si...
6e3873c6938b1e4ad22d68966e25fafefafa5dfe
aacc7ecfb6a23aa5a13e7cd872d2c2ea3053858d
/Binary Search/Matrix Median.cpp
c1d4355c639f33f2c993f2a3fb98aaf779013742
[]
no_license
pranayagr/InterviewBit
4dd7a300ced59920904dc2dedb9f1035a7201705
4031abac73dc56ee5f4b53ed797353d34d9362bd
refs/heads/main
2023-05-13T01:11:14.979359
2021-06-04T18:26:23
2021-06-04T18:26:23
326,433,528
1
0
null
null
null
null
UTF-8
C++
false
false
575
cpp
Matrix Median.cpp
int Solution::findMedian(vector<vector<int> > &A) { int m = A.size(), n = A[0].size(); int a = INT_MAX, b = INT_MIN, k = (m*n+1)/2, mid; for(int i = 0 ; i < m ; i++){ a = min(a,A[i][0]); b = max(b,A[i][n-1]); } while(a < b){ mid = a + (b-a)/2; int count = 0;...
e24e7106c10e02fb38cae78ed9497de17c7ce1f1
37d5c87b8dbdd8d430870de3e5a3714ed47e126d
/hihocoder21.cpp
ad21c8787161f701c1318a0790a1b444f78c3d31
[]
no_license
cczhong11/hihocoder
981c17c52be8cb7ee75e4b68f8a8612a06d4cde8
e7fd66bebaef69ed8d99f9664a88dd7252925aa3
refs/heads/master
2021-01-22T23:43:17.023952
2017-03-22T04:27:32
2017-03-22T04:27:32
85,664,804
0
0
null
null
null
null
UTF-8
C++
false
false
2,489
cpp
hihocoder21.cpp
#include <algorithm> #include <vector> #include <set> #include <cstdio> #define RM 1000000010 #define MAX 100020 #define LL long long using namespace std; LL index_R[MAX], index_L[MAX]; int c[2*MAX],lazy[2*MAX]; vector<LL> v; set<int> ss; int getid(int x) { return lower_bound(v.begin(),v.end(),x)-v.begin()+1; ...
9da149c3f6a159609f3e1f51c84a5ea1b2e27fc7
6114187e8f0a727a9128483a20556e824b16b907
/src/main.cpp
ad1bf8999606b80ebc3242b975f8079183129dcb
[ "MIT" ]
permissive
jipp/theBadge
5f4bde300e356410e3fb90d8641053541acad80b
954b3b95124bc6adb61a6a49a86daf51e4139049
refs/heads/master
2020-12-19T02:04:39.633904
2020-01-26T17:51:57
2020-01-26T17:51:57
235,588,138
0
0
null
null
null
null
UTF-8
C++
false
false
18,278
cpp
main.cpp
#include <Arduino.h> // TODO (jipp): upload info via web services, list files, delete files, upload files #define ARDUINOJSON_ENABLE_STD_STRING 1 #define ENABLE_GxEPD2_GFX 0 #include <iostream> #include <ArduinoJson.h> #include <Bounce2.h> #include <DNSServer.h> #include <GxEPD2_BW.h> #include <SPI.h> #include <SPI...
fe3ab9b7497dc4d3fcb5a8e224f37bbaebf05315
a0c4ed3070ddff4503acf0593e4722140ea68026
/source/MAILPLUS/BULLET2/SRC/PABNSP/HIERBCX.CXX
8d3bb89c11f5a8728d23fd19422085fa3eba97a6
[]
no_license
cjacker/windows.xp.whistler
a88e464c820fbfafa64fbc66c7f359bbc43038d7
9f43e5fef59b44e47ba1da8c2b4197f8be4d4bc8
refs/heads/master
2022-12-10T06:47:33.086704
2020-09-19T15:06:48
2020-09-19T15:06:48
299,932,617
0
1
null
2020-09-30T13:43:42
2020-09-30T13:43:41
null
UTF-8
C++
false
false
1,807
cxx
HIERBCX.CXX
#include <pabinc.cxx> #include "session.hxx" #include "pabbcx.hxx" #include "macbcx.hxx" #include "hierbcx.hxx" ASSERTDATA; _public HIERBCX::HIERBCX ( void ) { this->lpschemaCur = (LPSCHEMA) pvNull; } _public HIERBCX::~HIERBCX ( void ) { FreePvNull( lpschemaCur ); } _public NSEC HIERBCX::NsecInstall ( PABSES...
e138ea7e7c4e6b61d9a6241e2fa40533f1962110
2dd0253e5f7331e2346cb44aebabc925c5003519
/src/api/declare_operator.h
52b482d364f911a4705799c6bfaaa4d782d0f83a
[]
no_license
KangLin/TenniS
06e22b734c08781abf3bcb24abeceda777584e6c
d2c44ab369685450beb18fc83685f9e589bb3f35
refs/heads/master
2023-07-30T14:11:25.828834
2021-10-03T08:49:52
2021-10-03T08:49:52
412,299,971
0
0
null
2021-10-01T02:35:24
2021-10-01T02:35:23
null
UTF-8
C++
false
false
1,426
h
declare_operator.h
// // Created by kier on 19-5-18. // #ifndef TENSORSTACK_DECLARE_OPERATOR_H #define TENSORSTACK_DECLARE_OPERATOR_H #include <core/tensor_builder.h> #include "declaration.h" #include "api/operator.h" #include "global/operator_factory.h" #include "declare_tensor.h" #include "runtime/stack.h" #include "core/device_c...
75f39a05ce1ef80ca518afefd6b851f939de1e5d
ec250c250ac18e555a0629d0716182ffe3cb9729
/Samples/Marmalade_SpaceWarFare/client/SpaceWarFare/source/GameListener.h
e7824945d27b6e758a90aaf6cc316fac61c3d150
[]
no_license
shephertz/AppWarpS2Public
99cb82f30a0b2a5171f0be0c605ad8d686c14b83
7495645c561b131d6323b5f337a63b72c8e3e9f4
refs/heads/master
2020-12-29T01:41:54.094084
2017-12-28T07:17:37
2017-12-28T07:17:37
14,166,804
3
2
null
null
null
null
UTF-8
C++
false
false
2,456
h
GameListener.h
#ifndef __GAME_LISTENER_H__ #define __GAME_LISTENER_H__ #include "appwarp.h" class GameListener : public AppWarp::ConnectionRequestListener, public AppWarp::LobbyRequestListener, public AppWarp::NotificationListener, public AppWarp::RoomRequestListener, public AppWarp::ZoneRequestListener,public AppWarp::ChatRequestL...
db833ffe851719228d73334311e0a4a2574ed9fd
9f5227a0df5362dcefe9cdc29e032e1aae478a53
/Eigen.cc
c1b02643d9b583478627afc5c760e5f1904ab19a
[]
no_license
hapfang/AnisoAdapt
684b419e17fa3fac7a447802d1909a5065460fc0
051335fdb6e32028573d34153041458c22751639
refs/heads/master
2021-05-08T19:19:35.938308
2018-01-30T19:57:49
2018-01-30T19:57:49
119,564,267
0
0
null
null
null
null
UTF-8
C++
false
false
9,973
cc
Eigen.cc
#include "Eigen.h" #include <stdio.h> #include <algorithm> #include <stdlib.h> #include <math.h> #include "MeshSimInternal.h" using namespace std; #define ABS(x) ((x) < 0 ? -(x) : (x)) // int normVt (double [],double []) // { // return 1; // } #ifdef SIM int normVt(double *v1,double *nv) { double norm ; n...
98a59ac27ddb9f3d1d32db25910db88a59b0abf2
8892e53be0319219214f9f6b8ff75b7c4d41ce9b
/src/vpktool.h
6455f556aee5d696ece7edd9beb0947485400a7a
[ "MIT" ]
permissive
motz61/vpktool
6621dae3e9075736aa496f99ace5e91082e59600
99093c6d8992cac64a8129def874ba8f26d48cbf
refs/heads/master
2023-01-08T14:50:07.455977
2020-10-06T23:10:57
2020-10-06T23:10:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
141
h
vpktool.h
/** * * vpktool.h * * Common definitions for the VPK tool * */ #pragma once #include <filesystem> #include <string> #include <vector>
21e87e695dd020464b2b42f14a7cd54f57bba976
412386012ca2b54426b59eccf2019b00dbc3b32c
/mymol/src/configfile.cpp
569eae7ac07db61d793b4923429ae7d802249964
[]
no_license
Santiso-Group/GeneralOPs
353b522cbce51663e327b7bd8214336c53ced6bd
e34135f79fca31cea8b3f6aaf946352b35912a8b
refs/heads/master
2023-03-25T07:48:49.786397
2021-03-24T21:22:48
2021-03-24T21:22:48
271,597,046
0
0
null
null
null
null
UTF-8
C++
false
false
22,395
cpp
configfile.cpp
/* ** Copyright 2007-2011 Erik Santiso. ** This file is part of mymol. ** mymol is free software: you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public License ** version 2.1 as published by the Free Software Foundation. ** ** ** mymol is distributed in the hope that it will be u...
b9bebc051955955a2efbda024daf60a514311565
c107f05542d22c310733604878fcd8f3745ab35f
/leetcode/_000716_maxStack.cpp
1dd1e434168a04dfc6930609d7e9de7a2d448582
[ "MIT" ]
permissive
cbrghostrider/Hacking
b9f867e9f5bab476a109098ab768254225d86a06
bec6ede4682595e39c985ee55e5db1c0bc3ddff9
refs/heads/master
2022-03-10T19:06:14.155969
2022-02-15T06:19:13
2022-02-15T06:19:13
33,151,888
6
5
null
null
null
null
UTF-8
C++
false
false
1,271
cpp
_000716_maxStack.cpp
class MaxStack { vector<int> stack; void repopulateAt(int index) { for (int i=index; i<stack.size()-1; i++) { std::swap(stack[i], stack[i+1]); } stack.pop_back(); } public: // O(1) time. MaxStack() {} // O(1) time. void push(int x) { stack.pus...
7c0d4fca3a6f8f6d6e70c7aaa8305654bb0bdcfa
5b9c89d96ce3e2a239427a4a8f2d55278ccb187c
/Week13/Mitrele's Exam/mitrele1Tegava.cpp
31d4b27bf4be75d63c40d7dd5efa370cdf8c6dc7
[ "MIT" ]
permissive
Stoefff/Introduction-to-Programming-17-18
eeb1e1dfa2c2dc82de5a1daa6beba9fa67053396
0f58bddddd9bbf3141181961ac2f41f866b93966
refs/heads/master
2022-09-18T06:17:49.169808
2022-09-03T15:30:00
2022-09-03T15:30:00
106,529,959
0
0
null
null
null
null
UTF-8
C++
false
false
589
cpp
mitrele1Tegava.cpp
#include <iostream> #include <cmath> using namespace std; int main(){ float v; float EPS = 0.0001; //Approximation of the float value needed cout << "Enter value of V: " << endl; cin >> v; cout << "Value of U: "; if ((v - 4.0) <= EPS){ if ((v - 2) > EPS){ cout << v + 4 ...
ebfc6734530ebf54e0f41733263e4605c9999756
7202c6911d505b6b1e54da2e4220f731d098d54f
/PiZeroROI/classes.h
df52e5c274e01f54c9bd9eabb2d75b56f7d6013d
[]
no_license
jzennamo/PiZeroROI
45fad268f119bff54f1448f2b39012e8263c2521
e40a9a6c79d13f518d7263f3c684fd5b3ea9e5c7
refs/heads/master
2021-01-21T13:53:19.425907
2016-04-17T04:10:30
2016-04-17T04:10:30
52,900,465
0
0
null
null
null
null
UTF-8
C++
false
false
269
h
classes.h
#include "art/Persistency/Common/Wrapper.h" #include "PiZeroROI/PiZeroROI.hh" template class art::Wrapper<std::vector<ana::PiZeroROI> >; template class std::vector<ana::PiZeroROI>; template class std::vector<std::pair<int,int> >; template class std::pair<int,int>;
c8d8c3f4bd4f70b0d3c7eaa19bbccc5159220a81
a94b9cc0bdc87c6d94708f815b7848fe332989f8
/src/Test.cpp
b3bd26baf357318b7169b9b810a1ba3254943b4a
[]
no_license
mightyvoice/Face-and-Skin-Detection
d0c1aa127a76a1c4ee5a038ff6c86205e03f842f
7dcaadfb98e578dc42df322c8959cb47de3d7b28
refs/heads/master
2021-01-10T06:36:36.480638
2015-12-18T23:29:45
2015-12-18T23:29:45
47,209,584
0
0
null
null
null
null
UTF-8
C++
false
false
4,703
cpp
Test.cpp
#include "Test.hpp" void Test::procAllPicInDir(string imgDir){ vector<string> fileNames = GetAllBodySkinRatios::getAllFilesFromDir(imgDir); int n = fileNames.size(); for(int i = 0; i < n; i++){ string imgName = MyLib::getNameFromFileName(fileNames[i]); // cout<<imgName<<endl; Mat peopleImg...
15ab209b8a3d6dd5bf030eb42c0f35ed52d5f4e5
e0bd5c3aae3885d2efc09c54693554f9d2b2a1b5
/RayTrace/Pinhole.h
59e75bb9a881108d4a3b6ab7c2197e031dbf3bd6
[]
no_license
Mrwanghao/RayTrace
0548c10b2fb75d7187ffdba6a5d5ff5fe2efae2b
aaf0a6974a6db91409952a566b4cda4de4785dd8
refs/heads/master
2020-03-24T08:01:07.436434
2018-08-28T10:05:47
2018-08-28T10:05:47
142,582,842
0
0
null
null
null
null
UTF-8
C++
false
false
526
h
Pinhole.h
#pragma once #include "Camera.h" #include "Vect2.h" #include "World.h" class Pinhole : public Camera { public: Pinhole(); Pinhole(const Pinhole& right); virtual Camera* Clone() const; Pinhole& operator=(const Pinhole& right); virtual ~Pinhole(); public: inline void SetViewDistance(float _distance) { distance ...
4175e4ddb2079806306ff90cbf4135e0f9163782
475e62ba79012bc8e507ae3a8788856388b56ace
/Gondola.h
4f6d8243509401a0f402474fc1dc25bd6e9c85b6
[]
no_license
Martinsosa95/Chango
7409d9ce641a833b236268318b1b25c75313e7a2
9bda24bbf3cf857fbfacdc50f1b91894d1ca8ecc
refs/heads/master
2020-05-17T05:34:10.179468
2019-04-28T22:57:14
2019-04-28T22:57:14
183,538,080
1
2
null
2019-04-28T21:15:17
2019-04-26T01:55:12
C++
UTF-8
C++
false
false
1,999
h
Gondola.h
#ifndef GONDOLA_H #define GONDOLA_H #include "Producto.h" using namespace std; class Gondola{ private: int cant_productos; Producto* productos; int producto_seleccionado; public: //Descripcion: constructor por parametros //Pre: --- //Pos: se creo la gondola con los valores indicados en los parametros...
cb93a955bb12b35c3dbefba91caef0d482b157c6
0756dea0444ada160540685dd1d28fcd3ef4aac5
/src/function.cpp
fbf3bf56612a07552e2f3c05ab5a3c6ddd3a4fa7
[ "MIT" ]
permissive
ange-yaghi/engine-sim
439e38f717bf46dbe8b6825d181ed77f711f8f21
85f7c3b959a908ed5232ede4f1a4ac7eafe6b630
refs/heads/master
2023-02-18T03:26:25.469967
2023-01-22T17:44:02
2023-01-22T17:44:02
439,491,516
8,177
795
MIT
2023-01-13T00:07:50
2021-12-18T00:14:57
C++
UTF-8
C++
false
false
5,268
cpp
function.cpp
#include "../include/function.h" #include <algorithm> #include <string.h> #include <assert.h> #include <cmath> GaussianFilter *Function::DefaultGaussianFilter = nullptr; Function::Function() { m_x = m_y = nullptr; m_capacity = 0; m_size = 0; m_filterRadius = 0; m_yMin = m_yMax = 0; m_inputSca...
f099252155467be24d55500fe784d2e3e9280aa3
a9c12a1da0794eaf9a1d1f37ab5c404e3b95e4ec
/CTPServer/CTPTDLoginSA.h
cb88671bae632a2405deb50fc7f886996529c998
[]
no_license
shzdtech/FutureXPlatform
37d395511d603a9e92191f55b8f8a6d60e4095d6
734cfc3c3d2026d60361874001fc20f00e8bb038
refs/heads/master
2021-03-30T17:49:22.010954
2018-06-19T13:21:53
2018-06-19T13:21:53
56,828,437
1
0
null
null
null
null
UTF-8
C++
false
false
1,062
h
CTPTDLoginSA.h
/*********************************************************************** * Module: CTPTDLoginSA.h * Author: milk * Modified: 2015年8月1日 21:18:52 * Purpose: Declaration of the class CTPTDLoginSA ***********************************************************************/ #if !defined(__CTP_CTPTDLoginSA_h) #define __C...
ee1fe967b1cf5c7a9eedfbd20834c3d394aabf84
fca68c5fec6df6f999408571315c2b8e7c4b8ce9
/service/navtrack_home/src/Navigation/Class/NavShower_condes.cc
306a490270cc94a34864bc8ceaa41f7f71748ef7
[]
no_license
jpivarski-talks/1999-2006_gradschool-3
8b2ea0b6babef104b0281c069994fc9894a05b14
57e80d601c0519f9e01a07ecb53d367846e8306e
refs/heads/master
2022-11-19T12:01:42.959599
2020-07-25T01:19:59
2020-07-25T01:19:59
282,235,559
0
0
null
null
null
null
UTF-8
C++
false
false
5,410
cc
NavShower_condes.cc
// -*- C++ -*- // // Package: Navigation // Module: NavShower // // Description: // // Implementation: // // Author: Brian K. Heltsley // Created: Tue Jun 22 10:46:38 EDT 1999 // $Id: NavShower_condes.cc,v 1.6 2003/02/03 20:16:17 bkh Exp $ // // Revision history // // $Log: NavShower_condes.cc,v $ //...
ad20e61c584019bbc7b5ee7e8f90e8594848660a
ff906e1bf3405aa5b77eb90022a7ce7b30768df0
/viewer.cpp
323188be6968f84c89dbb12fe2095fd35454b55a
[]
no_license
shadimsaleh/computer_vision_pointcloud_merger
28f1c5f62ba7c135ec4cd28774727906b6ac967a
e8c9fe13b78b79145dbf3b6e5f363072d6ba6c03
refs/heads/master
2021-01-12T11:11:51.231198
2014-06-27T12:27:12
2014-06-27T12:27:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,650
cpp
viewer.cpp
#include "definitions.h" using namespace std; pcl::PointCloud < POINT_TYPE >::Ptr flipyz ( pcl::PointCloud < POINT_TYPE >::Ptr in ) { pcl::PointCloud < POINT_TYPE >::Ptr ret(new pcl::PointCloud < POINT_TYPE >); pcl::copyPointCloud(*in, *ret); for (size_t i = 0; i < ret->points.size (); ++i) { ...
5174fe9979113949fa311ec549a5e673dc542f7d
49db059c239549a8691fda362adf0654c5749fb1
/2010/maltsev/task6/Pult/Pult.cpp
63ad2c546c0a40d61e394445f971636ce8e0bd91
[]
no_license
bondarevts/amse-qt
1a063f27c45a80897bb4751ae5c10f5d9d80de1b
2b9b76c7a5576bc1079fc037adcf039fed4dc848
refs/heads/master
2020-05-07T21:19:48.773724
2010-12-07T07:53:51
2010-12-07T07:53:51
35,804,478
0
0
null
null
null
null
UTF-8
C++
false
false
6,062
cpp
Pult.cpp
#include "Pult.h" #include <QLabel> #include <QErrorMessage> #include <QHBoxLayout> #include <QVBoxLayout> #include <QIntValidator> Pult::Pult(QHostAddress& ip, qint16 port, QWidget *parent):QDialog(parent) { my_ip = ip; my_port = port; setView(); connectButtons(); setNetworkData(); } void Pult::s...
302f94aff7eb41722a6ea72fb89ec97b2e64444c
2f1cf12618d7ac91c38e38ac4a5ffe4794ff1f68
/game/Missile.h
8bc01a13ea230fbfaea68158ef27828a5e01e827
[]
no_license
OC-MCS/p2finalproject-01-JoshKeenMurr
c4834922fca3dda915a2ecd569840db84ef5a9fe
dad2cfdfadb395db2eda3daae39a46b8ac18e3a3
refs/heads/master
2020-05-04T17:14:47.913374
2019-04-19T05:57:53
2019-04-19T05:57:53
179,303,632
0
0
null
null
null
null
UTF-8
C++
false
false
950
h
Missile.h
#include <iostream> using namespace std; #include <SFML/Graphics.hpp> using namespace sf; #pragma once class Missile { private: Sprite missileSprite; // sprite for the missile public: //=========================================================================== //Missile: default constructor for the missile class ...
6da2610779f5e324db45b85b4333f9e26d5e5341
aa17f840cfaf6c660b5d284efc06025fa46da658
/CPP_HW_1/CPP_HW_1/Phone.h
2d93f6fd289870311e213027a357a226dc5b289b
[]
no_license
iamemil/wut_projects
808ece42dc44d399e2ba1fe2d1ea108ccc523d0a
b4ec75da75e3d8d908a9aedefda43db6e02d996d
refs/heads/master
2020-05-06T20:28:38.190347
2019-04-08T22:55:50
2019-04-08T22:55:50
180,239,158
0
0
null
null
null
null
UTF-8
C++
false
false
867
h
Phone.h
#pragma once #include <string.h> using namespace std; class Phone { private: char Brand[30]; char Model[40]; unsigned int Number; unsigned int Price; static unsigned int RegisteredPhones; int messageNum; unsigned int messageOwner[5]; char messages[5][20]; public: // Default Constructor Phone(); // Paramete...
c09feee661ae493ff55f6a3fbb8ffd516586dde8
ce12cdfe1346c9babfaae48583d887fc25a56ebd
/HostApplication/Tracking/trackingalgo.cpp
8733a86116b53e91e5d555d930cec750688c32fa
[]
no_license
noko31/GreyWind
ab100820643f821aefec087f29e126ff83d4d69a
ff3de38ba40bea47ef1da6d089e045b602ea953a
refs/heads/master
2020-04-08T23:49:09.831767
2015-01-20T10:31:26
2015-01-20T10:31:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
313
cpp
trackingalgo.cpp
#include "trackingalgo.h" TrackingAlgo::TrackingAlgo(QObject *parent) : QObject(parent) { } TrackingAlgo::~TrackingAlgo(){ } cv::Point TrackingAlgo::getCoordinate(){ return m_coordinate; } cv::Size TrackingAlgo::getSize(){ return m_size; } bool TrackingAlgo::getStatus(){ return m_status; }
c2a1c770c504c04349f9ef23684869e3f1142829
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/src/core/fragment/picking_old/vall/gen/LengthGen.cc
cb375a93266fd22461dfebd1eb60163a073fffec
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
C++
false
false
2,589
cc
LengthGen.cc
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // (c) Copyright Rosetta Commons Member Institutions. // (c) This file is part of the Rosetta software suite and is made available under license. // (c) The Rosetta software is developed by the co...
86ef1169f523b5c683dc6fa0db1a12e6ba0d8d41
387549ab27d89668e656771a19c09637612d57ed
/DRGLib UE project/Source/FSDEngine/Public/SDFSingleChildBase.h
6871c9bdf49f443e90ce65802b2397bb69f7988d
[ "MIT" ]
permissive
SamsDRGMods/DRGLib
3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a
76f17bc76dd376f0d0aa09400ac8cb4daad34ade
refs/heads/main
2023-07-03T10:37:47.196444
2023-04-07T23:18:54
2023-04-07T23:18:54
383,509,787
16
5
MIT
2023-04-07T23:18:55
2021-07-06T15:08:14
C++
UTF-8
C++
false
false
350
h
SDFSingleChildBase.h
#pragma once #include "CoreMinimal.h" #include "SDFBase.h" #include "SDFSingleChildBase.generated.h" UCLASS(Blueprintable) class FSDENGINE_API USDFSingleChildBase : public USDFBase { GENERATED_BODY() public: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) USDFBase* Child; ...
8fd9a0cc087da4396439650ebcf9a04accf03f17
aa5045647c14856d5db824be6c54f4e98b55544c
/Leki/Zacma.cpp
2b1b5b6f6659d7a6fb468238fce9efc994a3d41e
[]
no_license
IXOFIXOF/Leki
164341b312a1d03107c64ecdd60f204d11b05b76
1d65c911730e26f036a0c2957e5f80063673588a
refs/heads/master
2020-03-18T07:53:19.638212
2018-05-31T14:15:44
2018-05-31T14:15:44
134,478,328
0
0
null
null
null
null
UTF-8
C++
false
false
512
cpp
Zacma.cpp
#include "stdafx.h" #include "Zacma.h" CZacma::CZacma() { m_ProcentPopulacji = -1; } void CZacma::print(ostream& sru) { sru << "Jestem choroba ktora atakuje oczy. Nazywam sie: " << m_Nazwa << ". Leczy sie na mnie ok " << m_CzasLeczenia << " lat."<<" Atkuje ok "<<m_ProcentPopulacji<<" % ludzi."; } void CZacma::Ust...
78695821abeca1c887ea00bab364022eb1614fa3
77e8abc3d2febb03132d662e000c2ed335d5c804
/myCode/main.cc
f954934887e0eb9b6e7a8460b68a461709c44ca2
[]
no_license
yeahhhhhhhh/BPlusTree
b49ecddc176bbfbb4bb65dcde20a5b36293feebb
e4813f9eace06be620db88174e49e8005c040cb8
refs/heads/master
2020-05-01T08:40:18.824954
2019-04-15T06:55:41
2019-04-15T06:55:41
177,383,915
0
1
null
null
null
null
UTF-8
C++
false
false
433
cc
main.cc
#include <iostream> #include "BPlusTree.h" using namespace std; void aaa(Node* node){ for(int i = 0; i < node->keyNum; i++){ cout << node->arrKeys[i] << " "; } } int main(int argc, char const *argv[]) { BPlusTree* bt = new BPlusTree(); for(int i = 60; i > 0; i--){ bt->insert(i, i...
dc0ca1b813813c014595977d8e9b9f4a1a7437ea
f8774839ebd935770609a331ee09057217bee463
/TVout/gameOfLife.ino
bbac4d9026329b554f30f515443a6ac8d602aa2f
[]
no_license
andyfriedl/Arduino-samples
ff0ade4bc80afebea9e23d833da622c60ce020e4
0cd3a412ca30105e315f35a87b2267692bd81a24
refs/heads/master
2022-10-01T16:58:53.140397
2022-09-24T00:17:20
2022-09-24T00:17:20
42,628,781
1
1
null
null
null
null
UTF-8
C++
false
false
5,488
ino
gameOfLife.ino
// Conway's Game Of Life 128x96 using TVout // P.Beard // March 2013 #include <TVout.h> #define matWidth 4 #define matHeight 96 TVout TV; unsigned long * myScreen; void setup() { TV.begin(NTSC, matWidth * 32, matHeight); myScreen = (unsigned long *) TV.screen; randomSeed(analogRead(0)); randomiseMatrix(); }...
e8858e8d22af13d40d7e8bb81f7b1545fc387e25
1e074e828ca4bd5e4ee239c81745b6b2b818a6c7
/apv5sdk-v15/autelan/plc-homeplug/classes/CPLChannel.hpp
aef9936a267fe3e340bf65aa5e050cfbf4ec9132
[]
no_license
hades13/apv5sdk-v15
51698f727b17f0cc05cbfd0df6ffff3da31d5b6e
56b8a22a93e026580ecc8b33d18267e4ace4e02a
refs/heads/master
2020-03-18T11:34:29.809253
2016-05-03T10:45:27
2016-05-03T10:45:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,627
hpp
CPLChannel.hpp
/*====================================================================* * * CPLChannel.hpp - interface for the CPLChannel class * * Ethernet I/O channel managment for powerline applications; * * This software and documentation is the property of Intellon * Corporation, Ocala, Florida. It is provided 'as...
7cbd8c269226aca62fa06089b5b59baa924ad468
1956af138784d983b812ef71b683a0c54c7f4a63
/质因数分解/分解质因数.cpp
418bf0f43bfb0702d9b5843f9ca9284b6bb527ba
[]
no_license
wangzilong2019/lan-qiao
e46e6668ba1e7ef3a0b8ef69cb1bda41ac704642
d742a5cac56413ce46b0206edfb4422f35b33276
refs/heads/master
2020-09-09T15:26:39.297956
2020-01-13T13:30:22
2020-01-13T13:30:22
221,482,997
2
0
null
null
null
null
UTF-8
C++
false
false
338
cpp
分解质因数.cpp
#include <stdio.h> int main(){ int a,b,i,n,j; scanf("%d%d",&a,&b); for(i=a;i<=b;i++){ printf("%d=",i); n=i; j=2; while(n!=j){ for(j=2;j<n;j++){ if(n%j==0&&n!=j){ printf("%d*",j); n=n/j; break; } } } printf("%d\n",n); } r...
efa5eb2ac89e7099ee6ad14586793a8a1dc0cb60
78d338559d773456cb830e89d692c7743b2cfc1e
/leetcode/algorithms/Jewels and Stones/JandS.cpp
ba178a26e38965c67fa84654a39f4ba8405d3280
[]
no_license
kingback1/coding
ddf392acb9cbc71af8c16593a3ea2ff6f953c759
4839d6402b6f5b2e4dee8a24faa3c294e0b836cd
refs/heads/master
2021-06-04T19:07:47.212604
2018-02-22T13:00:06
2018-02-22T13:00:06
57,002,999
0
0
null
null
null
null
UTF-8
C++
false
false
722
cpp
JandS.cpp
class Solution { public: int numJewelsInStones(string J, string S) { if(J.length() <=0 || S.length() <=0) return 0; string tmp = ""; int count = 0; for(int i =0; i<S.length(); i++) { if(J[0] == S[i]) { c...
5a90690464d94035d50a7c7d9800d15beff2a14b
fd504941c40b9fa749f1a8c787555e70f2815bc5
/src/Delay.cpp
195ca6baf5e8fc1cea43c979a78e332805d37e3e
[]
no_license
tmendoza/AudioDozer
e20febbaf3c2439874fefa0b683e4fa5cdba3712
98d7de1cbb4888348c9a7a6d57582d040fb6619d
refs/heads/master
2022-04-26T14:43:51.843677
2020-04-22T13:45:08
2020-04-22T13:45:08
166,310,210
1
0
null
null
null
null
UTF-8
C++
false
false
2,836
cpp
Delay.cpp
///////////////////////////////////////////////////// // delays // // (c) V Lazzarini, 2005 ////////////////////////////////////////////////////// #include "SndDefs.h" float delay(float *sig, float dtime, float *del, int *p, int vecsize, float sr){ int dt; float out; dt = (int) (dtime*sr); ...
519db749f8acb714b79c4f062178ec6714c0acbf
b725a81b0946e00b0af43b3040d9a84dce9bc829
/objects/hLog/hLogGraphHelpers.cpp
2f675e879f9f59b6e7c66804574fb3802594e912
[]
no_license
LukeThoma5/CSCW
5913e0cdd2e19d4c332b9b228029e949d0ecf186
2a4b4fa92d8bd38e48a0cf7100532f3b6bb7d989
refs/heads/master
2021-01-17T17:29:13.699600
2017-02-19T17:51:26
2017-02-19T17:51:26
70,406,929
0
0
null
null
null
null
UTF-8
C++
false
false
2,713
cpp
hLogGraphHelpers.cpp
#include "../../headers/hLog.h" #include "../../headers/logEvent.h" #include <sstream> using namespace std; namespace SSG { extern std::time_t sessionStartTime; } std::string hLog::coordToString(const std::vector<float>& coords) //Convert x or y lists to comma seperated values in a string { //Only run if atleast 1...
6e04fe774b0ee4609b83a13dccc38c7fb0b32f2b
d6a71446721d790ea431619666868312963afe8d
/CSC8503/CSC8503Common/Transform.h
bd5d35bb27e7e63136b805b5969edfb3ab332aa6
[]
no_license
georgek98/CSC8508-Teamroject
8633eaac617c75089a506279474301031c95e04c
51067a6925513c6ece471ae802b3c50ad445a7fa
refs/heads/main
2023-04-14T02:23:49.462567
2021-04-18T16:59:41
2021-04-18T16:59:41
359,203,341
1
0
null
null
null
null
UTF-8
C++
false
false
1,260
h
Transform.h
/* Created By Rich Davison * Edited By Samuel Buzz Appleby * 21/01/2021 * 170348069 * Transform Definition */ #pragma once #include "../../Common/Matrix4.h" #include "../../Common/Matrix3.h" #include "../../Common/Vector3.h" #include "../../Common/Quaternion.h" #include "../../i...
1e35c0136bb0ea7365556f5f1522c6f7109b902a
c9d3176099bd20da79f28239a77b71324c6109b8
/day04/ex02/TacticalMarine.cpp
298516c47c76b1215bc1e1148beaecbeb4c9c76b
[]
no_license
Ashypilo/Piscine-CPP
9db9e08e3f3853e9a198d256d42d8cca9090cb75
2ff24ffedae35c6bdb627f9a080513b2c2f63373
refs/heads/master
2020-08-13T15:37:28.047031
2019-10-14T09:12:36
2019-10-14T09:12:36
214,993,845
0
0
null
null
null
null
UTF-8
C++
false
false
1,833
cpp
TacticalMarine.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* TacticalMarine.cpp :+: :+: :+: ...
2ae384f5f86cd7ed95765efbaec295be6cc886ad
5f071d7ed9a837c1442fbf1982e50a7180080491
/Source/Connection.cpp
adff8a0aea06dfaabaf68b90a544e8c97f9e3cd5
[]
no_license
amweeden06/SRSem-Project-2009
7d877f2078c5c79cc5bc8c7b64554c43e5092efd
15edbfe668ff2eaf9851968fd1a86ef0257ff2f3
refs/heads/master
2021-01-19T09:31:13.883061
2010-04-12T00:10:51
2010-04-12T00:10:51
353,557
1
1
null
null
null
null
UTF-8
C++
false
false
425
cpp
Connection.cpp
/* * */ #include "Connection.hpp" namespace Sewers { Connection::Connection() { set_width(CONNECTION_WIDTH); set_height(CONNECTION_HEIGHT); } /* FUNCTION: draw() * PRECONDITIONS: None * POSTCONDITION: The connection has been placed in the drawing queue, to be * drawn at the next glFl...
ca7e02a99b087b3e421e851e924f648ad5807d45
2511f5350f86362f5eb2f536afe0b89f1360fa08
/src/ObjectTracker.h
5239489945889bea4c2827b6d909bea68eb83d7f
[ "MIT" ]
permissive
asarasua/bloObjectesKinect
f5d5ac62ce94f7a5ae9409899b92c0c485cd2c1e
625a6ebce23d3897cdadae386f5f43761a42f9fe
refs/heads/master
2021-01-23T12:27:12.912480
2014-12-16T18:08:16
2014-12-16T18:08:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,127
h
ObjectTracker.h
// // ObjectTracker.h // bloObjectesKinect // // Created by Álvaro Sarasúa Berodia on 11/12/13. // // #ifndef bloObjectesKinect_ObjectTracker_h #define bloObjectesKinect_ObjectTracker_h #include "ofxCv.h" #include "ofMain.h" #include "ofxKinect.h" #include "ofxOsc.h" class Object{ protected: //cv::Point2f cen...
8373a8b71e0f80594ef4df89fd87b499f85eb1ab
350d6ea7d82208b5027e8c23a2a17bc42fef4daa
/include/math/ConvexHullGraham.h
75214d7143d48fd02b250c59bde84ce6aac6770b
[]
no_license
bach74/Lisa
2436d4da3765b9fe307d5e3dc31bfe532cf37dce
d80af7b880c0f99b914028dcf330d00ef0540cd3
refs/heads/master
2021-01-23T11:49:37.826497
2010-12-09T16:31:22
2010-12-09T16:31:22
1,153,210
2
0
null
null
null
null
UTF-8
C++
false
false
2,594
h
ConvexHullGraham.h
// // This class uses the Graham scan algorithm to calculate the convex // hull of a batch of points in 2D. // // The convex hull part of the code is based on the article from Dr. Dobb's Portal, // September, 2007 by Mark Nelson // // instead of std::pair<float,float> Ogre::Vector3 is used with implicit y=0 (ground pla...
381fe712b1b223e1169202084380097ddc241f9b
b31d9ac2e881fec3aa9fa5f21f10da4b1db9bc17
/UCD/ecs40/p6/DayOfWeek.cpp
ac71210991fbacf161aafac2bad8692f1c268a3f
[ "MIT" ]
permissive
darylnak/ucdavis-work
be7a4d5160d27fa40c2b2949c802448724a75b50
4bb41f5fc0e8e95197e22166e99576deefb0565a
refs/heads/master
2021-09-24T08:21:43.864710
2018-10-05T17:46:03
2018-10-05T17:46:03
78,607,206
0
0
null
null
null
null
UTF-8
C++
false
false
1,794
cpp
DayOfWeek.cpp
// Author: Sean Davis #include <fstream> #include <iostream> #include <iomanip> #include <cstring> #include <sstream> #include "DayOfWeek.h" #include <cctype> using namespace std; DayOfWeek::DayOfWeek(int currMonth, int currDay, int currYear) : month(currMonth), day(currDay), year(currYear) { } // DayOfWeek() bool ...
f0ad600dacd043b735eee7487b7b3c27f9fa78a9
011ceeff99beb9e1151cbba0d3db2149415a5dbb
/src/figure.h
8a456023f94043c43462a94901011dbfcdfb3765
[]
no_license
ThomasLeMezo/ipe_generator
ff80f6ee26efdac8748f7e58ffd544f5a1000060
64e3313299c0a6398e9d6101764d13cebd86a90e
refs/heads/master
2020-09-12T01:19:14.800387
2020-09-04T13:58:17
2020-09-04T13:58:17
222,253,407
0
3
null
null
null
null
UTF-8
C++
false
false
8,383
h
figure.h
#ifndef FIGURE_H #define FIGURE_H #include "ipelib.h" #include "ibex_IntervalVector.h" namespace ipegenerator { #define MM_TO_BP 2.83467 enum FLOAT_PISTON_MVT{FLOAT_PISTON_EQUAL,FLOAT_PISTON_DOWN,FLOAT_PISTON_UP}; enum PATH_TYPE{STROKE_ONLY,STROKE_AND_FILL,FILL_ONLY}; class Figure { public: /** * @brief Fi...