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
181663fadcb2fefce31a219eff1bcaa0a9d6f133
0674e81a160161996251fb4b063c801330ccd1e2
/other/inc/2012/echris.cpp
4ede790e15da83613fbee0182439d368a619b489
[]
no_license
joshuabezaleel/cp
8a2c9b44605810da4367efeb981f822ae5e1e9a2
57f365458cca38c3c0fb1f5af1c6b44b74f3b53e
refs/heads/master
2022-07-19T00:39:34.395495
2020-05-23T20:37:20
2020-05-23T20:37:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,065
cpp
echris.cpp
#include<iostream> #include<cstring> #include<cstdio> #include<vector> #include<set> #include<algorithm> using namespace std; int kasus,vertex; vector<int> edge[1001]; set<string> kode; string dfs(int x,int parent) { string hasil = ""; vector<string> mau; for (int i=0;i<edge[x].size();++i...
b8cca2e1b69f6b010556588b5c339da3dc19e149
b15153a01f724e8d3579f2c3a7e87a69fc4bd3b7
/libuvxx_rtsp/include/details/media_framers/_mpa_audio_framer.hpp
dbd57ea8f00c6a46306b6a911dd064c0f6c3d65f
[]
no_license
UIKit0/libuvxx
e2e931e1625ec4224281696ada0e5e5bcf247fa0
b795fe6addeab18fe8ed090bd0c30c57d4c3be65
refs/heads/master
2020-12-26T04:05:57.509265
2015-08-20T09:14:46
2015-08-20T09:14:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
442
hpp
_mpa_audio_framer.hpp
#pragma once #include "media_session.hpp" #include "_media_framer_base.hpp" namespace uvxx { namespace rtsp { namespace details { namespace media_framers { class _mpa_audio_framer : public _media_framer_base { public: explicit _mpa_audio_framer(const media_subsession& subsession); virtual ...
df0f68061a477a139a6d9fe54f5bcf6dfcb26083
1dd361b07e88814c2afa5e8bc36aa1b045d12858
/ChutesAndLaddersGame.cpp
c8c9fd4f5941fd9c718cdfab93197660829a771f
[]
no_license
xdo0410/project2
1651981c257a16699fb78ec044f3ae81167aecd6
f54ab24be018c3d4f7e28826874fdd4c987879b1
refs/heads/master
2021-01-13T09:08:02.156878
2016-11-08T07:11:45
2016-11-08T07:11:45
72,506,793
0
0
null
2016-11-01T05:30:55
2016-11-01T05:30:55
null
UTF-8
C++
false
false
2,688
cpp
ChutesAndLaddersGame.cpp
// // ChutesAndLaddersGame.cpp // #include <iostream> #include <string> #include "ChutesAndLaddersGame.hpp" #include "GameBoard.hpp" #include "Player.hpp" using namespace std; // TODO: implement the constructor with all your team members // constructor with the default value of a minimum players ChutesAndLaddersG...
03ffc86553bd45065293416d6ea85595d67b82be
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/103/875.c
52fed267b7d1e498297eae7832e08ce826a27bda
[]
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
385
c
875.c
char q[1200]; char lastQ; int head,length; char MT(char q) { if ((q>='a')&&(q<='z')) return q-'a'+'A'; } int main() { cin>>q; head=1;length=1;lastQ=q[0]; while (q[head]!='\0') { if (MT(q[head])==MT(lastQ)) length++; else { cout<<'('<<MT(lastQ)<<','<<length<<')'; lastQ=q[head];length=1; } head++...
e3b52314bc40fa9eea60c897dc173a3f1f3ea853
95e5da8d91a213c69856db4f50ba95e12f4d6d98
/cc/app/kitti_occ_grids/occ_grid_extractor.h
2077369779f0726419d4eed059018f17847fecbc
[]
no_license
aushani/summer
4f2ba146a9cafc8e0ed239e8d2ddecb30518bf11
01ef8e9fa05d13bd853f37d5d9f3aba2fe74d2fb
refs/heads/master
2020-03-22T04:18:04.547751
2018-01-15T17:13:20
2018-01-15T17:13:20
137,923,798
0
0
null
null
null
null
UTF-8
C++
false
false
1,502
h
occ_grid_extractor.h
#pragma once #include <iostream> #include <sys/stat.h> #include <unistd.h> #include <fstream> #include <random> #include <chrono> #include <boost/filesystem.hpp> #include "library/kitti/camera_cal.h" #include "library/kitti/tracklets.h" #include "library/kitti/velodyne_scan.h" #include "library/ray_tracing/occ_grid_...
199916f2eb848145ff9d31a2e14591ad326f47dd
33bf3509defd8b9962dfda155256f49e49793fbc
/CF/B. Chtholly's request.cpp
1ab27ca54446eaca67ce278048272806e0e21140
[]
no_license
restukartiko03/CP-Solution
837dfae09c9e042d9ae5432d953f3d2b1ebc668c
05f2a28858526944745e80277726ca441bdf86b3
refs/heads/master
2021-04-15T07:18:34.453465
2018-03-26T15:46:25
2018-03-26T15:46:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
786
cpp
B. Chtholly's request.cpp
#include<bits/stdc++.h> #define mp make_pair #define pb push_back #define ll long long #define fi first #define se second #define pii pair< int , int > #define pll pair< long , long > #define pi acos(-1.0) #define _FAST ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL); #define MOD 10e9+7 #define line puts("")...
51722fb86f4d4981babddeeaf4a965b053b8aff9
9e50de103d180250da9fa73d06fd650a0224f201
/CheckersEngine/Engine/BoardUtilities.cpp
210080283def917c643556f8d78e72b15e3c6e05
[]
no_license
HubertBraun/CheckersEngine
5740daadc1a117e0fc39c0fdb7a626439d450e22
e734dc4b135df06237e85532ace4b0ab92a5c8c4
refs/heads/master
2020-04-26T12:49:44.963588
2019-03-09T12:35:50
2019-03-09T12:35:50
173,561,926
1
0
null
null
null
null
UTF-8
C++
false
false
2,516
cpp
BoardUtilities.cpp
#include"BoardUtilities.h" #include<iostream> #include<Windows.h> using std::cout; using std::endl; namespace sboard { void gotoxy(int x, int y) //goes to the (X,Y) coordinates { COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } void copy(board out,...
c2ec281b22e14ff95788f5b259537d42f3df245a
c0438cae3adfb762c87d2c43bc1095bc0c123627
/String/Find the smallest window in a string containing all characters of another string.cpp
3506175b0f3b0cfe6d9735ea6df7910c06e660c7
[]
no_license
SubhradeepSS/dsa
6705ae2c27e73dd8b9eb3557fa5c255b54e6c746
3d4cf60c298e1c93ce458690f3e01940232d5099
refs/heads/master
2023-08-14T18:14:09.254692
2021-10-06T18:13:13
2021-10-06T18:13:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,929
cpp
Find the smallest window in a string containing all characters of another string.cpp
#include<bits/stdc++.h> using namespace std; string findSubString(string str,string pat){ int len1=str.length(),len2=pat.length(); int start_ind=-1,min_length=INT_MAX,count=0; int hash_pat[256]={0},hash_str[256]={0}; for(int i=0;i<len2;i++) hash_pat[pat[i]]++; int start=0; for(int i=0;i...
d139e388ee15cff9830c9113ab7a0a1de02e3040
0ef072f73e074bb88cbe0e594281f23e64c9ff6b
/Grades/Grades/Gradebook.cpp
7baf38a41945ceeaade0c1bf3c6db9138c7e9e8b
[]
no_license
ryanmalencia/CPlusPractice
43f350c4b54d023bef2c290397b3b6e0eaac4cc1
a5b10a648c51e0eeb230c0fc00787549169fd29f
refs/heads/master
2021-04-12T03:21:34.029296
2018-03-30T01:25:34
2018-03-30T01:25:34
125,945,448
0
0
null
null
null
null
UTF-8
C++
false
false
1,028
cpp
Gradebook.cpp
#include "stdafx.h" #include <stdlib.h> #include <string> #include <vector> #include "Gradebook.h" #include "GradeStatistics.h" using namespace std; Gradebook::Gradebook() { count = 0; } Gradebook::Gradebook(string name) { this->name = name; count = 0; } int Gradebook::AddGrade(double grade) { if (grade >= 0) ...
1b618c4ba1dbd3597d611a53e29308bd6174b7f4
d8c958433033517d62c118d8bbf0d3c70f17cf0c
/joindialog.h
0f63d90fb97894d7126190d1f299ba11b54d9aad
[]
no_license
busoc/moncop
c516c51538f039a2d4bd887c2300e6feee4fbd84
860f26d6ede19199792be26e8cae3a918ec389a3
refs/heads/master
2022-12-02T19:14:37.644477
2020-08-21T08:37:29
2020-08-21T08:37:29
289,218,331
0
0
null
null
null
null
UTF-8
C++
false
false
396
h
joindialog.h
#ifndef JOINDIALOG_H #define JOINDIALOG_H #include <QDialog> namespace Ui { class JoinDialog; } class JoinDialog : public QDialog { Q_OBJECT public: explicit JoinDialog(QWidget *parent = nullptr); ~JoinDialog(); QString host() const; QString interface() const; quint16 port() const; bool...
6d9ae4082cb222c4d97a1d0f53f1f9bcd3f1454b
dd9e33662af1ba9c35b165d322aa87143a9eadec
/1078.cpp
060fa0bb6603dd1f83a569c28a3f7a2bcca3e165
[]
no_license
novakoki/PAT
001ea6d02fcef2b2cfb2188184c81a9bda75b24b
4292fe1a9a354fd6b6e9afc6cf293d7cb419b5d0
refs/heads/master
2021-01-21T10:09:03.562899
2017-03-03T06:22:41
2017-03-03T06:22:41
83,386,173
0
0
null
null
null
null
UTF-8
C++
false
false
1,316
cpp
1078.cpp
#include <iostream> #include <sstream> #include <vector> #include <list> #include <queue> #include <algorithm> #include <iomanip> #include <map> #include <unordered_map> #include <unordered_set> #include <string> #include <set> #include <stack> #include <cstdio> #include <cstring> #include <climits> #include <cstdlib> ...
ece98be21b2b0e0ce2edfba55ee74e0d12630ae0
ba1e90ae6ea9f8f74d9b542e159825341c717712
/2014/cclunchsep4.cpp
b595eff7629ef572206bae5c65857408cc2ea6a9
[]
no_license
sailesh2/CompetitiveCode
b384687a7caa8980ab9b9c9deef2488b0bfe9cd9
5671dac08216f4ce75d5992e6af8208fa2324d12
refs/heads/master
2021-06-24T22:39:11.396049
2020-11-27T05:22:17
2020-11-27T05:22:17
161,877,355
0
0
null
null
null
null
UTF-8
C++
false
false
786
cpp
cclunchsep4.cpp
#include<stdio.h> #include<iostream> using namespace std; int main() { int i,t,j,ctr,n,m,a,b,c; cin>>t; for(i=0;i<t;i++) { cin>>n; ctr=0; int arr[n]; int sav[n]; sav[0]=0; for(j=0;j<n;j++) { cin>>arr[j]; ...
ec6e126dace52c38a9d95c5143424518bd7bc304
6b3a502518bb96c4202e1dbcb5d6ac8fb04449bd
/core/data/GP/Factory.h
e6cf498721923f9b85dd75611b52ff32c54349a3
[ "MIT" ]
permissive
Mahdidaeidaei/Placenta-Morphometry
631c6a7f3f210e775cafcb8f40222134d423e3e0
dfc084d8b83acf0b67808cbf941d28856883a00e
refs/heads/master
2020-06-01T02:01:47.172085
2019-06-03T16:27:44
2019-06-03T16:27:44
190,589,038
0
0
null
2019-06-06T13:46:31
2019-06-06T13:46:31
null
UTF-8
C++
false
false
7,023
h
Factory.h
/******************************************************************************\ |* Population library for C++ X.X.X *| |*----------------------------------------------------------------------------*| The Population License is similar to the MIT license in adding this clause: f...
e952f3a5fa2e6b7b843cf635a8645d1b071b9da0
29eccfcedc60468cd5ec69afc8e70f1792da9fc9
/src/tft/wristband-tft.cpp
ab466df236d619c2ba3ee47ffc6e9fc14d77e42c
[ "MIT" ]
permissive
marf41/TTGO-T-Wristband
29fad0be1654e40ff0f85318f29fd3a3da10886b
5558dccddd17e35553c6aab08f47da9f5680567f
refs/heads/master
2021-05-25T18:33:07.866156
2020-12-17T20:03:40
2020-12-17T20:03:40
253,871,001
1
0
null
2020-04-07T17:52:08
2020-04-07T17:52:08
null
UTF-8
C++
false
false
17,062
cpp
wristband-tft.cpp
#include "wristband-tft.hpp" TFT_eSPI tft = TFT_eSPI(); bool landscape = true; void tftInit() { tft.init(); tftPortrait(); tft.setSwapBytes(true); tft.fillScreen(TFT_BLACK); ledcSetup(0, 5000, 8); ledcAttachPin(TFT_BL, 0); ledcWrite(0, 185); } void wifiManagerAdvice(const char *ap_name) { tft.fillScr...
185e5ee84d828c3893f70656c20fc5a154ed9edc
8b3aa26cec0f07dd1b226d74ea7f099597ac4783
/src/States/StateRoundFailed.h
46adc3cb0e5b3af04d53775d0d925f3266af10ea
[]
no_license
RyanSwann1/BomberMan
c79dc5b6a89e5615eca9a60278563a46a4df5b9e
04a912865f6f72d822aac3f5b28ceea7d57884e0
refs/heads/master
2021-01-22T06:03:28.914959
2017-11-07T15:49:12
2017-11-07T15:49:12
92,521,498
0
0
null
2017-11-07T15:49:12
2017-05-26T14:59:07
C++
UTF-8
C++
false
false
307
h
StateRoundFailed.h
#pragma once #include <States\StateBase.h> #include <Game\Timer.h> class StateRoundFailed : public StateBase { public: StateRoundFailed(StateManager& stateManager, StateType stateType); ~StateRoundFailed(); private: void activateButton(const std::string& name) override; void onEnteringWinState(); };
24fb9ae76f9bb40ddae5679815e2ac7548ee0a38
26786ae41bd8032e668ea745c0481ddc013ff0b4
/Push_Button_Led.ino
131429c5147e0f73b1eb5aeddba7d5ae952ef867
[]
no_license
IchalAlwiros/Learn-FreeRTOS_Control-Led
8be354f26845bf2e35734908c24d21525074d45d
be6cef3fbbd2a1f93339aab45faaa8ed189c0ae0
refs/heads/main
2023-06-06T23:21:26.956069
2021-07-14T05:19:10
2021-07-14T05:19:10
385,821,790
0
0
null
null
null
null
UTF-8
C++
false
false
979
ino
Push_Button_Led.ino
#include <Arduino_FreeRTOS.h> void Task_PSX(void *param); void Task_Print2(void *param); TaskHandle_t Task_Handle1; TaskHandle_t Task_Handle2; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); //Prioritas tertinggi, itu akan dijalankan terlebih dalu xTaskCreate(Task_PSX,"Task1",100,NULL,1,&Task_Handle1)...
42368eb0220be3c38d91f3daaca2d32c71c4c440
b12984c4a27367db1ec155370d1271f029bdfc56
/PEngine/Source/Runtime/Component/Private/SpriteComponent.cpp
7d4da686d919b831ddeaa3a655f31767cf9cc3bd
[ "MIT" ]
permissive
DimaMuzychenko/PEngine
312c6a54f4f02df51309f848c6bb661fec3c0067
18dc600f9bfa95520492a00b101ddaa4e62cf209
refs/heads/main
2023-04-10T03:02:25.727800
2021-04-20T15:08:09
2021-04-20T15:08:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
325
cpp
SpriteComponent.cpp
#include "Component/Public/SpriteComponent.h" #include "Object/Public/Level.h" DEFINE_META(CSpriteComponent) CSpriteComponent::CSpriteComponent(CObject* Owner) : Super(Owner) { } #ifdef WITH_EDITOR void CSpriteComponent::FillEditorFields() { Super::FillEditorFields(); } #endif void CSpriteComponent::Draw() const ...
a9225fa8ae615aecba5498b29e5d84347eb0852f
f0f7ca508461a376e4b07d95562afdaa1a8b75dc
/PGG_Lab7-8_v1 - V16 - Finished/PGG_ViewingMovingObjects/Cube.cpp
92f93d440e652a47025950326b4baf3e433677df
[]
no_license
HiddenRealm/PGG
7aac4249d3acaf8e6648ea9d4474a899b1829b6f
8a919dbae1b4281e94f046b02c92e12e91c6dd63
refs/heads/master
2020-03-20T12:21:19.880352
2018-06-15T01:52:30
2018-06-15T01:52:30
137,427,441
0
0
null
null
null
null
UTF-8
C++
false
false
4,891
cpp
Cube.cpp
#include "Cube.h" //Constructer Cube::Cube() { // Variable for storing our VAO // OpenGL has its own defined datatypes - a 'GLuint' is basically an unsigned int _VAO = 0; // Creates one VAO glGenVertexArrays( 1, &_VAO ); // 'Binding' something makes it the current one we are using // This is like ...
d4be6ebc3aa07ed5f27f6613c3a171269aa73eaa
23eeef629a7ea12b3374fab7492ad550e3ce1370
/tutorial_08.cpp
47f3f458aea8984cbb7a2c2242a7c2fe9da98f0c
[]
no_license
mpeven/opengl_tutorial
eb75712fd89925615860f27ac21170e7efbcea9d
affa9fb8df6c58f05a96c17f035a7973d3f9d86c
refs/heads/master
2021-05-07T14:31:20.299658
2017-11-16T00:44:32
2017-11-16T00:44:32
109,893,298
1
1
null
null
null
null
UTF-8
C++
false
false
2,077
cpp
tutorial_08.cpp
//Tutorial 8: Shading // Compilation: g++ -framework OpenGL -lGLUT -w tutorial_08.cpp -o tut8.out #include <GL/freeglut.h> #include <stdio.h> const int window_height = 640; const int window_width = 640; void RenderLoop() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_PROJECTION);...
72631c7e9ba58008ee197aac29865686b74e19fd
4e0e82e2f926bcd90d1c306d940afceb1d968d30
/rover_imu_uart/src/uart_imu_receiver/ROS_UART_IMU_Rx.hpp
d6be8fc7adf8e945e5d2c7d7204b7521bb97d0c9
[]
no_license
pwalczykk/phobos_rover
944c836c80c3ee8e4602e301eaf74bf8c356d26c
79639312e9091e2d0e7a9876bbe30e3bc25ae622
refs/heads/master
2021-03-27T13:43:59.321061
2017-03-13T12:26:23
2017-03-13T12:26:23
58,230,231
0
0
null
null
null
null
UTF-8
C++
false
false
4,389
hpp
ROS_UART_IMU_Rx.hpp
#ifndef ROS_UART_RX_IMU_HPP_ #define ROS_UART_RX_IMU_HPP_ #define ACCEL_SCALE_RANGE 2 #define GYRO_SCALE_RANGE 250 #define MAGNETOMETER_SCALE_RANGE 1.3 #define Z_ACCEL_OFFSET 1800 #define Y_ACCEL_OFFSET 130 #define X_ACCEL_OFFSET -800 #define Z_GYRO_OFFSET 0 #define Y_GYRO_OFFSET 0 #define X_GYRO_OFFSET 0 #include ...
9d676ca6f98edc1da0c3219c0c5893162ecacfc6
056a35a213f0f146e37394aba99109b93d16834b
/WT_Show/show/core/monitor/monitor_window.cpp
231988f5515543d4281b3738aef51888b202c3ab
[]
no_license
wiali/video_record
45e2e7e126448cd2408ac5dbae1703975cabbff6
5d2c9d3b3d6bca9d771b1b9bf434ae5369d3f501
refs/heads/master
2021-07-22T12:59:25.084905
2017-11-01T10:06:16
2017-11-01T10:06:16
103,298,379
0
0
null
null
null
null
UTF-8
C++
false
false
19,446
cpp
monitor_window.cpp
#include "monitor_window.h" #include "ui_monitor_window.h" #include <QGuiApplication> #include <QScreen> #include <QClipboard> #include <QStyle> #include <QDesktopWidget> #include <stage_item_form.h> #include <global_utilities.h> #include "styled_message_box.h" #include "event/stop_video_streaming_event.h" #include...
0bd56d7aa4cc426640c856ffa9ad49b18b574163
915b1b271c222273c9c914ea5bd7bf6fd3239d6f
/math_functions.h
760e578c430aae1874ed5fa779ba6ce3925cb8aa
[]
no_license
bingxinhu/TensorRT-SSD-1
f6015ec2ff88a8dd387e8b705f553b4e5c40394b
c0455174addcd76db9da98dc3738ca2d46c476be
refs/heads/master
2021-09-22T22:30:19.134693
2018-09-18T02:44:38
2018-09-18T02:44:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
674
h
math_functions.h
#ifndef __MATH_FUNCTINS_H__ #define __MATH_FUNCTINS_H__ #include <stdint.h> #include <cmath> // for std::fabs and std::signbit #include <cblas.h> #include <cudnn.h> #include <cublas_v2.h> #include <cuda.h> #include <cuda_runtime.h> #include <curand.h> #include <driver_types.h> // cuda driver types #inclu...
2c6d805ac32728335a109a2d71114a35bd116447
8209a87ad129ec85e66e0e654b3c94cc1e840d4c
/estrutura-sequencial/exercicio-25.cpp
2964fafa094d7ae631f59d489632f42d1a35ea64
[]
no_license
fraterblack/exercicios-algoritimos
85ef053d2007664dbe286b8bc2d93d17c15c1d15
561a492ff47deb039897831d1a66b82700b7426c
refs/heads/master
2020-05-24T20:53:44.393913
2017-03-27T23:44:54
2017-03-27T23:44:54
84,879,955
0
0
null
null
null
null
ISO-8859-1
C++
false
false
761
cpp
exercicio-25.cpp
#include<stdio.h> #include<conio.h> #include<locale.h> #include<math.h> main () { setlocale(LC_ALL, "Portuguese"); float totalDespesa, totalGorjeta; printf("Informe o total da despesa (R$): "); scanf("%f", &totalDespesa); totalGorjeta = totalDespesa * 0.1; printf("********* Total do Pedid...
7fc5c788533c019277f390b86fb20dbd831a33bd
a8804f93227e46fd41ac9c6c4ba7e91ee5bf6a93
/uva/10401/10401.cpp
852fdfd53c1316d77c19c0a32dfe754eaf2e2141
[]
no_license
caioaao/cp-solutions
9a2b3552a09fbc22ee8c3494d54ca1e7de7269a9
8a2941a394cf09913f9cae85ae7aedfafe76a43e
refs/heads/master
2021-01-17T10:22:27.607305
2020-07-04T15:37:01
2020-07-04T15:37:01
35,003,033
0
0
null
null
null
null
UTF-8
C++
false
false
1,253
cpp
10401.cpp
#include <iostream> #include <algorithm> #include <cstring> #define MAX_N 16 using namespace std; typedef long long ll; int pos[MAX_N], N; ll memo[MAX_N][MAX_N]; ll dp(int col, int lastCol){ if(col == N) return 1; if(memo[col][lastCol] != -1) return memo[col][lastCol]; if(pos[col] != -1){ if(pos[col] >= lastCo...
14b5bac50417ecd337568016b0083976485e869e
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/notes/deprecated_note_attachment.cc
4a0ba0354582c275d9d61e6a5553ae0cff267ece
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
1,913
cc
deprecated_note_attachment.cc
// Copyright (c) 2013-2015 Vivaldi Technologies AS. All rights reserved #include <string> #include "base/base64.h" #include "base/guid.h" #include "base/json/json_string_value_serializer.h" #include "base/memory/ptr_util.h" #include "base/strings/string_number_conversions.h" #include "base/values.h" #include "crypto/s...
73f449d996dda9c4b4b25a273df19dda93f03bb8
2f8a14f20718b2ecd2c1b6d7d2e9def877e48b1f
/leetcode/remove_duplicates_from_sorted_array/cpp/solution.cc
cb5765a27fe20a8fbdcd94877a631da8a1686d63
[]
no_license
amazonsx/archives
5aa9441aa7689b8af9d33a9a7fefd381c08a569b
e6618ad50ced9aa9e90e4d989b97a3377e92af9c
refs/heads/master
2021-01-10T18:46:08.536119
2014-11-23T06:49:06
2014-11-23T06:49:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
782
cc
solution.cc
#include <iostream> #define DEBUG using namespace std; class Solution { public: int removeDuplicates(int A[], int n); }; int Solution::removeDuplicates(int A[], int n) { if (n <= 1) return n; int j = 0; for ( int i = 1; i < n; i ++) { if (A[i] != A[j]) { A[++j] = A[i]; } ...
9dfd75a0e2920836d122886a263206a627cebee8
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/base/efiutil/efilib/inc/basesys.hxx
c101533433166fe80d13f73ec79e3f9c5e008a8c
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
932
hxx
basesys.hxx
/*++ Copyright (c) 1991 Microsoft Corporation Module Name: basesys.hxx Abstract: BASE_SYSTEM is the a base class for SYSTEM. It is created so encapsulate the methods on SYSTEM that are used for AUTOCHK. Environment: ULIB, User Mode --*/ #if !defined( _BASE_SYSTEM_DEFN_ ) #defin...
8382f0253d25e8ba855bf4d8d2ef64bf09a66f92
4b902f7cc86c128793f555cd03e38349a28ac4c6
/dataset/cpp/USBox.cpp
afb6f07539f2aa97278963f5f82353e5df3eac29
[]
no_license
korhankonaray/FileTypeDetector
bf763ad20992978a54a1484035398fe69f6edd71
2ab29f9433781c74f35206c1ab2ecb6c6689e263
refs/heads/master
2021-06-29T20:14:47.062064
2021-02-28T18:54:07
2021-02-28T18:54:07
206,796,718
2
1
null
null
null
null
UTF-8
C++
false
false
11,190
cpp
USBox.cpp
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <uslscore/USBox.h> #include <uslscore/USPrism.h> //================================================================// // USBox //================================================================// //---...
b4f7be739fb88f4a930f963dcaff274d2edcf89a
3bbf11ba7a189cc6d1456908b5da8b2c902236c4
/Test_Sketches/Test-LightSensor/Test-LightSensor.ino
c7a3c9205687fbadc22d71576243b705698f8ae8
[]
no_license
growboxguy/Gbox420
6c5442642f2856a7c7ce1efcbc3cfec307ab569f
2a69969146716a3bda25439ec05e00256f2de619
refs/heads/master
2023-07-20T17:28:35.953560
2021-07-05T10:36:11
2021-07-05T10:36:11
157,996,952
40
18
null
2020-02-16T21:54:50
2018-11-17T15:20:11
C++
UTF-8
C++
false
false
849
ino
Test-LightSensor.ino
//GrowBoxGuy - http://sites.google.com/site/growboxguy/ //Sketch for testing: Light sensor with analog and digital outputs //Pins const int DigitalPin = 4; // D0 digital input - LM393 light sensor const int AnalogPin = A0; // A0 analog input - LM393 light sensor void setup() { Serial.begin(115200); Serial.println...
3788e078dd7505828f7d436dced4331d6c76fe41
9b9982d1089504b88cdd0b61861fe25ce071bea9
/bst/bst1/bst1/sortedArrToBST.cpp
9ab7daaec069d0b4bf2dfe10a8701b049a9557c0
[]
no_license
swk333/recursion
416d3634e136121d63b1fce479555614aad566cb
2cfc09c41084e7a21cdb95e3ae96c3bfdc90643f
refs/heads/main
2023-04-10T20:25:43.606057
2021-04-30T03:32:13
2021-04-30T03:32:13
328,837,269
0
0
null
null
null
null
UTF-8
C++
false
false
1,293
cpp
sortedArrToBST.cpp
#include <iostream> #include <string> #include <cmath> #include <deque> #include <vector> #include <iterator> #include <algorithm> using namespace std; class BinaryTree{ public: int data; BinaryTree* left; BinaryTree* right; BinaryTree(int value){ this->data = value;}; Bina...
00f876a641e8c190d7d961b47757f03d7899b636
d3bc4da66fcf059cbd3d05c2817f6d94bc0cf9d4
/PoCTask/PoCTask/Window.h
619dac5c7a17040a692a1e27bb629f0d72535c9f
[]
no_license
stanimir/ABirds
9535d8aaa56fc8ddb6939d9d635d4998eedf40c1
b0ec8a06246286617769184ead41fa0d9656d798
refs/heads/master
2023-06-25T01:43:31.294793
2023-06-18T15:18:49
2023-06-18T15:37:48
107,548,727
0
1
null
2023-06-18T15:37:49
2017-10-19T13:18:06
C
UTF-8
C++
false
false
510
h
Window.h
#pragma once #include <string> #include <SDL.h> using namespace std; class Window { public: Window(const string &title, int width, int height); Window(); ~Window(); inline bool isClosed() const { return _closed; } // Detect and Do Something that was detect void pollEvents(); void clear() const; private:...
7a3b4611ab97b700fa01a28de842277f3808125b
8b9229ba6d43c5ae3cc9816003f99d8efe3d50a4
/dp/util/StridedIterator.h
1ad188a7f26f910df7ab8cd19fda153033782fe5
[]
no_license
JamesLinus/pipeline
02aef690636f1d215a135b971fa34a9e09a6b901
27322a5527deb69c14bd70dd99374b52709ae157
refs/heads/master
2021-01-16T22:14:56.899613
2016-03-22T10:39:59
2016-03-22T10:39:59
56,539,375
1
0
null
2016-04-18T20:22:33
2016-04-18T20:22:32
null
UTF-8
C++
false
false
10,163
h
StridedIterator.h
// Copyright NVIDIA Corporation 2010 // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following d...
ed1d4e6a813eaba8e7ce394e9a7590548294ca9a
dc83eeee7ff5312f432c2167f600e98136b50e1e
/nihtiu_alarm/defs.cpp
4a3f35202d6ffc6ed9b426e69d9c27d00aa6f1ed
[ "MIT" ]
permissive
malvcr/nihtiu
3dc4ad54ae2d5282dde89b83c2478ead7f1fc981
f8e527f3dd8f5f9584336aeb71aa52b63ebb33d4
refs/heads/master
2021-04-03T20:34:47.298029
2020-05-11T05:12:04
2020-05-11T05:12:04
248,394,179
2
1
null
null
null
null
UTF-8
C++
false
false
134
cpp
defs.cpp
/** * Nihtiu * * (c) 2020 Marco Alvarado * * This project has the MIT Licensing. Check the accompaining LICENSE file. * */
a997c5cee6263d45365a2da19934cdd00d66a7c8
b2c01a105dc1bbc2f1535ea6d781836ff9523d3b
/HW 05/BoardVector.h
19b46c27778ebeaa1d3eacd59bf299b91641a5b6
[ "MIT" ]
permissive
BerkP/CSE241-Object-Oriented-Programming
748abe368647dae279dd2c564968f0a3b123ee6f
4d9952a8257fd653bee46aa9fcbea57195137553
refs/heads/main
2023-03-16T02:55:19.130015
2021-03-11T12:21:13
2021-03-11T12:21:13
346,681,859
0
0
null
null
null
null
UTF-8
C++
false
false
450
h
BoardVector.h
#ifndef BOARDVECTOR_H #define BOARDVECTOR_H #include <vector> #include "AbstractBoard.h" using namespace std; namespace GTU_PKGZ{ class BoardVector:public AbstractBoard{ public: BoardVector(); /* Default constr */ BoardVector(int ,int); void setSize(int rowInput,int columnInput) override; virtual int& op...
a0ab36e7cddab588b67c55d817152afe7f0c86a3
ecbf5821fdd3d108632c4fb7adf56844045479ec
/TransshipmentProject/NoTransshipmentApp_Solver.h
68f6636e2c107df8b9409194b99f181bd5841036
[]
no_license
OlgaRusyaeva/Transshipment
339c338fc5f8280d7ef00a57f07eba230aa6f356
95964b0c756d5718c95b602bc205644bb6729682
refs/heads/master
2021-01-02T09:41:35.355276
2017-08-03T23:11:42
2017-08-03T23:11:42
99,280,382
0
0
null
null
null
null
UTF-8
C++
false
false
656
h
NoTransshipmentApp_Solver.h
// // NoTransshipmentApp_Solver.h // TransshipmentProject // // Created by Olga on 23/02/15. // // #ifndef TransshipmentProject_NoTransshipmentApp_Solver_h #define TransshipmentProject_NoTransshipmentApp_Solver_h #include "NoTransshipment_Solver.h" class State; class Cost; class Demand; class NoTransshipmentApp_...
6e4770291cec4c9373984fce0c3d1db20c775ba2
897c335fc8280e90b9f7867f1e0a95f345262f0f
/c_linux/ubuntu_c/thread/ext5-2.cpp
a98a4dc39dc828674617d1c10858c752398759e3
[]
no_license
jiangqianghua/workspace
da504ab68a18948c6d8b2609d9513e3d509af995
fd5d5dfc44bf080dfeddd097575ab937db8a79d4
refs/heads/master
2021-01-18T22:29:58.224055
2016-12-04T03:52:45
2016-12-04T03:52:45
29,686,942
1
0
null
null
null
null
UTF-8
C++
false
false
526
cpp
ext5-2.cpp
#include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <sys/ipc.h> #include <sys/shm.h> #define SIZE 1024 ; #define KEY 99 ; int shmid ; int j = 5; int main() { int i , *pint ; pid_t pid ; char *addr ; i = 10 ; shmid = shmget(1024,99,IPC_CREAT|0777); pint =(int *)shmat(shmid,0,0); *pint = ...
06132645beac8d52b62eb91b1d61a04f83f3c374
9c400e7e3a84f4657af32d1fbaf7da0572ccca5b
/applications/modem/src/demodulator.cpp
649553e742541a855b4bfcd1f1cc2c72149c6e27
[]
no_license
xtuml/models
1986868b6a12f92017588c3a38f894a1bc7c00bb
34dc3e28318207e17a0e532bc81f88fef8b011d5
refs/heads/master
2023-07-20T14:38:42.048389
2023-07-06T14:14:44
2023-07-06T14:14:44
6,943,299
14
98
null
2023-07-06T14:14:45
2012-11-30T17:59:41
C
UTF-8
C++
false
false
1,190
cpp
demodulator.cpp
/*---------------------------------------------------------------------------- * File: demodulator.cpp * * UML Component as a SystemC Module * Component/Module Name: demodulator * * your copyright statement can go here (from te_copyright.body) *-----------------------------------------------------------...
8aad73bbe94489380366336c39b20afa9d3edeed
27651c3f5f829bff0720d7f835cfaadf366ee8fa
/QBluetooth/BTTypes/Impl/QBtService.cpp
f9d63107f957ae4c8d1305a371c89761265bca0a
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cpscotti/Push-Snowboarding
8883907e7ee2ddb9a013faf97f2d9673b9d0fad5
cc3cc940292d6d728865fe38018d34b596943153
refs/heads/master
2021-05-27T16:35:49.846278
2011-07-08T10:25:17
2011-07-08T10:25:17
1,395,155
1
1
null
null
null
null
UTF-8
C++
false
false
3,178
cpp
QBtService.cpp
/* * QBtService.cpp * * * Author: Ftylitakis Nikolaos * * 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 * * Un...
137a93a2bf700ac8085f7f1d4bd65362cbad62ad
bc3c03ae7a16786f6c99fb93622cd4eecda83c64
/SheepHerdChallenge/Source/SheepHerdChallenge/Scenery/EdgeTriggerBox.h
bfc889121e69cba7eb78d1ee950b7888db386952
[]
no_license
lizzye414/SheepHerdingChallenge
b7a47159d69c8321ba9d7bbea0e911f5705262a6
0f1bbbe9dc04483a3e646fd3d9ec94afc8221de2
refs/heads/master
2022-12-17T14:36:25.556803
2020-09-15T15:28:22
2020-09-15T15:28:22
295,770,877
0
0
null
null
null
null
UTF-8
C++
false
false
603
h
EdgeTriggerBox.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Engine/TriggerBox.h" #include "EdgeTriggerBox.generated.h" /** * */ UCLASS() class SHEEPHERDCHALLENGE_API AEdgeTriggerBox : public ATriggerBox { GENERATED_BODY() protected: // Called ...
70d21540bcf263ff79205dd86e8368f932684191
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/browser/history/history_tab_helper_unittest.cc
0c69d7ee26ad47638dcb682ae90a69700c10c785
[ "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
4,042
cc
history_tab_helper_unittest.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/browser/history/history_tab_helper.h" #include "base/run_loop.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_strin...
16d2d20f9402c0c5974c8ad3fe3e337beadcf869
1404f3e204455aacd602c46bdfa2a05c2ac4fb46
/Source/TS_Arena/TS_ArenaCharacter_MP.h
c6db3f0120d6f5a64c475a1ca19d70e90112dc33
[]
no_license
lmlr/TS_Arena
555fecb2878f2ae8ac3f8a15a10e9987e8a8002f
3138d174ace049176aa610a38e15578aa1ac41cc
refs/heads/master
2021-07-03T23:06:43.815993
2017-09-27T08:09:23
2017-09-27T08:09:23
104,262,403
0
0
null
null
null
null
UTF-8
C++
false
false
3,191
h
TS_ArenaCharacter_MP.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "TS_ArenaCharacter.h" #include "TS_ArenaCharacter_MP.generated.h" /** * */ UCLASS() class TS_ARENA_API ATS_ArenaCharacter_MP : public ATS_ArenaCharacter { GENERATED_BODY() public: ATS...
fa07e166d4709beac18831a39bcc3fc7a6509128
b15e0aa36c90d33a8e76448a82915acfb1e16f50
/268/lab10/Lammers-2124909-Lab-10/MazeCreationException.cpp
895f25d78f82b18570de015b27afb04a6bb68a86
[]
no_license
lcoblamm/EECS
8f422c40d5b7ce5c8d3081fc7b3e2a6879e3675e
a04f4a05715b567e8aaf606b6484e33d3728caee
refs/heads/master
2021-05-03T09:11:05.794206
2016-04-10T23:37:39
2016-04-10T23:37:39
30,848,029
0
1
null
null
null
null
UTF-8
C++
false
false
279
cpp
MazeCreationException.cpp
/* @file: MazeCreationException.cpp @author: Lynne Lammers @date: 2014.04.30 Purpose: Implementation of MazeCreationException class */ #include "MazeCreationException.h" MazeCreationException::MazeCreationException(const char* message): std::runtime_error(message) { }
c80240ae0304a1cc2bad76e8900463eb17e214db
fb9b42c9d01d55eb46b4e51d2184a41caffa5ac1
/Recursion/nthtriangle.cc
1333229a1e9ce2af97316111d823b757b1325ce7
[]
no_license
Priyadarshanvijay/Codingblocks-2018
d60ca31b050b4c5bdced1fe8b26d2e57497ae44e
963b722d0d665f241b359edd4e9cb4c1f5b19458
refs/heads/master
2020-05-25T06:40:55.695887
2020-01-30T11:39:59
2020-01-30T11:39:59
187,669,993
0
1
null
null
null
null
UTF-8
C++
false
false
222
cc
nthtriangle.cc
#include <iostream> using namespace std; int triangle(int n) { if(n<=0) return 0; int sum = 0; sum = n+triangle(n-1); return sum; } int main() { int n; cin >> n; int ans = triangle(n); cout<<ans<<endl; return 0; }
b134f4509f2dc6ae0e91f9226fb3bb424adcf9ad
977cbb4a577243fec3fafa6958bd44661382dfa3
/Credit.cpp
f27d272510ea53d24f44390c3346e7f271e1d154
[]
no_license
simoneliu94/BankingSystem
764815f3859bde5bc7b8397c31442e54c2c1e97c
a64f1f250869b6f93af5a99188fc293ab8705ce0
refs/heads/master
2021-08-23T00:42:55.581558
2017-12-01T23:49:30
2017-12-01T23:49:30
112,308,470
0
0
null
null
null
null
UTF-8
C++
false
false
3,913
cpp
Credit.cpp
#include "Credit.h" using namespace std; Credit::Credit() { } //Create a credit account with parameters id, balance, date and customer and pass them to Account class Credit::Credit(string a_id, double a_bal, double lim, string a_date, Customer &a_cus):Account(a_id, a_bal, a_date, a_cus) { limit = li...
bca04258b7675249e48400f6a7cdcfe21b9e5fc5
09e2375e0b8b9645d6eafffe8e1428bd9469d056
/MakeLimitInputs/table.h
552280f8d157ec68c1c9f852f7c937cc679a69aa
[]
no_license
susy2015/StatisticalTools
e59d9cb6a31e166c2508da98d73d442cdf390790
fa6a2d2b9d126051881910ed1ca9f43670314468
refs/heads/master
2021-01-18T23:07:46.771607
2017-03-02T18:59:14
2017-03-02T18:59:14
37,553,718
0
3
null
2017-03-02T18:59:44
2015-06-16T20:17:14
C++
MacCentralEurope
C++
false
false
4,715
h
table.h
//class table for formatted output //Christian Autermann, Universitšt Hamburg #ifndef TABLE_H #define TABLE_H /* ---------------------------------------------------------------------------------------------- Usage: ------ using Table::TTable; TTable table("Particle mass table"); table.AddColumn<string>("pa...
e5c4b8455207e2d8ea3938f486cf35679d7d203c
e97676049537a10187f4fc5f9781a37c13179f20
/RooRarFit/RooFlatte.cc
b81885999317636acb82d975c42bcd0148035e1b
[]
no_license
Abd-zak/rich
e61714c9939c9898a4339b26e90a0331b6799ea2
603e0f7afed7c45f92deb15e6706fec2b5a52583
refs/heads/main
2023-06-21T12:57:10.727379
2021-07-26T07:54:09
2021-07-26T07:54:09
384,119,990
0
0
null
null
null
null
UTF-8
C++
false
false
3,284
cc
RooFlatte.cc
/***************************************************************************** * Project: BaBar detector at the SLAC PEP-II B-factory * Package: RooRarFit * File: $Id: RooFlatte.cc,v 1.5 2014/09/14 17:33:47 fwilson Exp $ * Authors: Fergus Wilson * History: * * Copyright (C) 2005-2012, RAL ********************...
06ada1f66d7bce91465e6f50689dc84ac52dd2e3
1b4a1a66173d85be9745d192c427ed975c19c18f
/simple_calculator/Formula.cpp
3d038b95a85744f274885aaa33884f8c65637fcb
[ "Apache-2.0" ]
permissive
shianchin/mini_projects
d10a6aef24ac482507dc7fd01965454941bc5797
c4559e564c05ae5abfd844cb43691867f01f3ff2
refs/heads/master
2021-01-17T03:07:43.233442
2017-08-27T15:51:55
2017-08-27T15:51:55
46,563,110
0
0
null
2016-08-07T12:54:15
2015-11-20T13:20:27
Python
UTF-8
C++
false
false
2,169
cpp
Formula.cpp
//---------------------------------------------------------------------- // Project : Customizable Scientific Calculator // // File name : Formula.cpp // // Author : Cheang Shian Chin // // Date created : 15 October 2016 // // Purpose : Handles read & write formulae to file. ...
b89c1775e7008ecee92ff3342b244b3d21911f24
f3986aae0e60ffd9395968a7dcb639eb55f07dd7
/c++/cpp_primer/9/size.cpp
7d7df72b06f5491151d6c6b983103a3e3d7c86d4
[]
no_license
czisimba/playground
764dba458088e0c80e2b75850c1fb36e73dace4d
7a892add3e233eec41233f9555ebf5f704998179
refs/heads/master
2020-05-22T04:01:49.504407
2017-03-13T09:25:11
2017-03-13T09:25:11
47,691,357
0
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
size.cpp
#include <iostream> #include <vector> #include <list> using namespace::std; int main() { vector<int> ivec; cout << "vector size:" << ivec.size() << endl; cout << "vector max size:" << ivec.max_size() << endl; ivec.resize(100); cout << "vector size(after resize to 100):" << ivec.size() << endl; ...
edee97e25ecc9b4b5fc548d8a433a57cf5baf91e
844fc17b4b94fcc455e56b1e8fa87da8be537d23
/applications/convergence_plots/spectral_transfer_matrix.hpp
b0f7913988b58d44a20f0fd333536d62c0d692db
[]
no_license
simonpintarelli/2dBoltzmann
be6426564ffd74cd084787fbe1c6590b27a53dcc
bc6b7bbeffa242ce80937947444383b416ba3fc9
refs/heads/master
2021-04-12T10:21:50.167296
2018-12-16T16:16:43
2018-12-16T16:16:43
126,182,914
0
0
null
null
null
null
UTF-8
C++
false
false
609
hpp
spectral_transfer_matrix.hpp
#pragma once #include <Eigen/Sparse> #include <algorithm> namespace boltzmann { template <typename SPECTRAL_BASIS> Eigen::SparseMatrix<double> spectral_transfer_matrix(const SPECTRAL_BASIS& dst, const SPECTRAL_BASIS& src) { unsigned int m = dst.n_dofs(); unsigned int n = src.n_dofs(); Eigen::SparseMatrix<doub...
2ccf0b432a3794380ccf5d23e94ae68c0b289289
a77e5d9bfbf0e6c6943534cf53a4f913cdbede6f
/source/Thread.cpp
34a726cdd37d17df32b7929fb7771fb890b8d6ca
[]
no_license
xiaowenmu/mynet
ea41ad693c50137120be74b56357bffd0fd42e16
37d368437c404129025d88882ece553c5d9f413e
refs/heads/master
2020-05-19T16:37:55.647733
2019-06-08T13:32:55
2019-06-08T13:32:55
185,115,452
4
0
null
null
null
null
UTF-8
C++
false
false
1,463
cpp
Thread.cpp
#include"include/Thread.h" #include"include/MacroDefine.h" namespace mynet{ struct ThreadData{ typedef std::function<void()> ThreadFun; ThreadFun fun; Condition *condPtr; pid_t *tid; ThreadData(ThreadFun f,Condition *cond,pid_t *t):fun(std::move(f)),condPtr(cond),tid(t){}; void runInThread(){ t...
38382f7503f810e5fc4f4b04fee0e0d58e6a2c58
04243c8686210ee2f16e85d79c15f60bf3949588
/CLanClient/CLanClient.cpp
d59538614f44bfcea6f720d675a64eda80e7d467
[]
no_license
Goomni/MOProject
4745e5ec19ab313ad6e90547ee5a7a91750d0472
aa0ae7bd974eb6250f70d3bd2b0949a6e0c0d29c
refs/heads/master
2023-08-10T11:49:54.451702
2021-09-02T22:55:32
2021-09-02T22:55:32
402,583,012
0
0
null
null
null
null
UHC
C++
false
false
28,458
cpp
CLanClient.cpp
#include "CLanClient.h" #include "Logger\Logger.h" #include "Define\GGM_CONSTANTS.h" #include "Define\GGM_ERROR.h" ULONGLONG ReconnectCount = 0; namespace GGM { bool GGM::CLanClient::Start( TCHAR * ConnectIP, USHORT port, DWORD ConcurrentThreads, DWORD MaxThreads, bool IsNoDelay, bool IsReconnect, ...
21d253bbe057b495c6af41d2b3dd7fb55e409b20
891c4614ad009d25fea684cdd94f5d47f310941c
/leetcode/01. Two Sum.cpp
19f418dc2ff04d4b2cb631bf27f29ef58f974196
[]
no_license
parkcl/algorithm-practice
28a70ddee3792dfa1c27fd255ec0bac5f4078f2b
3dc94e387ec08d5eec6ecd4b1776e6c95304265f
refs/heads/master
2021-06-21T12:42:55.801665
2017-06-01T16:17:19
2017-06-01T16:17:19
88,552,948
0
0
null
null
null
null
UTF-8
C++
false
false
1,211
cpp
01. Two Sum.cpp
/** Problem statement: given input vector, nums, return indices of the two numbers such that they add up to a specific target. */ class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { map<int, int> intLookupTable; int index = -1; for (vector<int>::const_itera...
988a0432df75eb4e82fa62d554bd32f6a85e75f7
0c441322e08aa622c06433cbeef476d0e14ef679
/Dec1_2019/const_pointers.cpp
426c8840b98be07888e7c7ca228954fdf7a9a41d
[]
no_license
Shreya-Shetty2019/Sample
64936059450f02875d837b1b82a36336b2d9efe2
7fdfec4926d0b9bb18f3f49e98c9b1415851d436
refs/heads/master
2020-09-16T13:55:14.473481
2019-12-01T18:46:49
2019-12-01T18:46:49
223,789,933
0
0
null
null
null
null
UTF-8
C++
false
false
876
cpp
const_pointers.cpp
#include<iostream> int main() { int val=20; int count=56; const int *ptr=&val; //pointers to integer constants std::cout<<"value of val is "<<val<<std::endl; std::cout<<"value of ptr is "<<*ptr<<std::endl; //*ptr=90; //ERROR //-------------------------constant pointers------------------------------------...
5671f4f671a6ca861297ffb5a5ae4c87e1a21b12
ff98cec1bc75685c346795259f9083880dee0ba8
/bank.cpp
90212bfb0dd4de95932f5ae545c26e31b0b1653a
[]
no_license
ralfleistad/Kattis
cb8560708db3be2beb29e5ec17fbd88f435201d8
55e2719c1bbfb0c5f7f2cc7ea0e0edce4cebddc7
refs/heads/master
2021-06-27T10:50:47.032372
2020-12-18T10:30:24
2020-12-18T10:30:24
187,688,568
1
0
null
null
null
null
UTF-8
C++
false
false
1,221
cpp
bank.cpp
#include <cmath> #include <iomanip> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <map> #include <string> #include <bitset> #include <climits> #include <queue> #include <cstring> using namespace std; struct Person...
44163dc44d0f675599792c9fcc856752d972b861
c10650383e9bb52ef8b0c49e21c10d9867cb033c
/c++/MFC_Broadcast_Server/MFC_Broadcast_ServerDlg.cpp
ce0f095ca26726db0c66444acfac8fc828707676
[]
no_license
tangyiyong/Practise-project
f1ac50e8c7502a24f226257995e0457f43c45032
4a1d874d8e3cf572b68d56518a2496513ce5cb27
refs/heads/master
2020-08-11T16:28:11.670852
2016-03-05T04:24:41
2016-03-05T04:24:41
null
0
0
null
null
null
null
GB18030
C++
false
false
16,437
cpp
MFC_Broadcast_ServerDlg.cpp
// MFC_Broadcast_ServerDlg.cpp : implementation file // #include "stdafx.h" #include "MFC_Broadcast_Server.h" #include "MFC_Broadcast_ServerDlg.h" #include "DialogSendMSG.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////////////////////////////////////////////////...
c62024feaa651e8ff0c4a46b9c62dbf666edb150
cb71095aa80406ee7c9a02ed37d0f616b7d1cdcc
/Kurs7_Alla_and_Yulya/class_player.cpp
18ba3de4b92cc42494454dadea99a911122bc448
[]
no_license
TokiSeven/university_course2_informatics_coursework_forYulyaAndAlla
7b73aa4a79ac70b2db522e5021b06d15cd0bcef8
7ad236946248f36110ebce70d78bb1cbc3b50c7a
refs/heads/master
2021-01-15T09:02:40.094609
2016-01-14T21:33:57
2016-01-14T21:33:57
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,367
cpp
class_player.cpp
#include "class_player.h" CLASS_PLAYER::CLASS_PLAYER(float x, float y, Texture &image) : CLASS_UNIT(x, y, image) { score = 0; lifeCount = 3; maxLifeCount = 3; rect.width = rect.width / 2; sprite.setTextureRect(IntRect(0, 0, 64, 63)); } CLASS_PLAYER::~CLASS_PLAYER() { delete this; } void CLASS...
d8a8de8e44fa2ace1b014e27d359ba3cc9c09773
f4b844363d692373d80d1340ddd98ced9a6cd47d
/Barbarian.hpp
c4b4296c22b01884a73bc6448de2e9aaeef0bc43
[]
no_license
bpoore/162_Fantasy_Game
e7024861835fed3c010e7cc9bfeb20bf211106e1
35008665f2861860e355b147ac2fb50685a593b9
refs/heads/master
2020-12-24T19:28:24.208863
2016-04-29T06:13:50
2016-04-29T06:13:50
57,358,387
0
0
null
null
null
null
UTF-8
C++
false
false
457
hpp
Barbarian.hpp
/********************************************************************* ** Author: Elizabeth Poore ** Date: May 5, 2015 ** Description: Barbarian.hpp is the Barbarian class specification file *********************************************************************/ #ifndef BARBARIAN_HPP #define BARBARIAN_HPP class Barbari...
fe8de7cdee05ff66003fcdffe33cf47438b880e3
73935c1814a8fe260167d4aa1b01d39de72f5c0f
/src/server/game/Entities/Unit/UnitMovement.h
1a62210e9de35bb5fefe911e166b8b20f9eea606
[]
no_license
planee/Mop-548
e794ed978237f355efa813c2be8f8fb14d1907dc
a852cc0be53fcc2951b51452e3ebaa9f1d7d7397
refs/heads/master
2022-12-23T01:08:51.566255
2020-09-25T03:55:52
2020-09-25T03:55:52
298,549,776
1
7
null
2020-09-25T11:10:28
2020-09-25T11:10:27
null
UTF-8
C++
false
false
1,521
h
UnitMovement.h
/* * Copyright (C) 2012 - 2016 WoWSource * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is d...
c5108cc1dc8b935aadd72ea4cb949d9456d56a81
40da32f08e1fbe68f6a17036fba7f5fc11c05a59
/types/address.h
f45f7c392e1272cf70f60be362375439360bbd10
[]
no_license
rjhayortega/auction
d18439157a55f3ac55b420eadddcd92588fc55da
4a5dd3c96ecabe01ccd387381b03ae5712ef4001
refs/heads/master
2020-04-17T13:10:49.982631
2019-01-19T23:32:57
2019-01-19T23:32:57
166,604,493
0
0
null
null
null
null
UTF-8
C++
false
false
928
h
address.h
#ifndef _ADDRESS_H_ #define _ADDRESS_H_ /****************************************************************************** - - class Address - - purpose: Encapsulates an address - - Notes: - - Todo: - *****************************************************************************/ #include <string> using namespace std;...
d6bfb2e919334922b7458a4c3a93d2294ccf8dee
e85c74e0c08a8e8497bae3d6cec788e811249b73
/test_model.cpp
f09cbc6d75831bf902d59f6c31668199fe36f60e
[]
no_license
ykerit/daal_case
80b4a806d2d497725f36c4f940899db36a24f7c1
303911d95b720a5b7002077c323b7ab730eb6500
refs/heads/master
2023-06-12T18:38:56.658865
2021-07-01T04:53:18
2021-07-01T04:53:18
381,904,147
0
0
null
null
null
null
UTF-8
C++
false
false
1,616
cpp
test_model.cpp
#include "daal.h" #include "service.h" #include <fstream> #include <iostream> #include <assert.h> using namespace daal; using namespace daal::algorithms; using namespace daal::data_management; using namespace daal::algorithms::gbt::regression; void load_data(NumericTablePtr& test_data) { float data[27 * 2] = {1.0}; ...
c46e0d7def2e5a4586fb574ea34c4d330ec3a166
74a0046ec32d45942144b1526d9d7f580f154bbf
/vendor/snarkv/include/snark/stransaction.h
55844ef1377151411dbafde7e3c2df5af52f2a5b
[ "MIT", "Apache-2.0" ]
permissive
chain2future-os/future-core
e93c7d166392902862717d555044cd223efc295f
030a2be7be92f205439334bd9a848843b0922cb0
refs/heads/master
2022-12-15T08:01:28.507126
2020-08-25T03:38:34
2020-08-25T03:38:34
290,100,867
0
0
null
null
null
null
UTF-8
C++
false
false
11,291
h
stransaction.h
#ifndef _S_TRANSACTION_H_ #define _S_TRANSACTION_H_ #include <fc/reflect/reflect.hpp> #include "snark/uint256.h" #include "snark/note_encryption.h" #include "snark/serialize.h" #include "snark/util_str_encodings.h" typedef int64_t CAmount; typedef std::array<unsigned char, 64> spend_auth_sig_t; typedef std::array<uns...
92a4f1d7e74a7fbb198e1ebfa47089ad391981f6
d32b6eb7c8ca73704a38fef90b5fdca305184da6
/AAudioTrack2/src/main/cpp/smallville7123/plugins/ChannelRack.h
aba24365c851b794267d17468ef765483a607e32
[]
no_license
qiguixuJamesTsui/AAudioTrack
e629c1a3ada913596c1adc893e17d4ee4fca69b8
368864da0a5198e7839c207772a3bacea33747f3
refs/heads/master
2023-02-02T01:28:41.734185
2020-12-20T11:54:43
2020-12-20T11:54:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,633
h
ChannelRack.h
// // Created by matthew good on 28/11/20. // #ifndef AAUDIOTRACK_CHANNELRACK_H #define AAUDIOTRACK_CHANNELRACK_H #include "../../ardour/Backends/PortUtils2.h" #include "Mixer.h" #include "Sampler.h" #include "Delay.h" #include "../HostInfo.h" #include "../Rack.h" #include "../Channel_Generator.h" #include "../PianoR...
a05e42eac20aaa4e5bc7233c08b29f18bd3bd9e4
4dd695fdfe07b70522880cf27d6925f37dc41f58
/Project9/Human.cpp
fd5ae55c2d13d86969c7a94648c1cc61f95b46fe
[]
no_license
MarinaKim/Inheritance_Lab2105
206ee8e265ec1aca31e0f530a93109cf6b7b2b97
47c60ec1a765e7f77c5f95018e3bdfda11f9eb16
refs/heads/master
2020-03-18T04:15:13.869043
2018-05-21T14:11:15
2018-05-21T14:11:15
134,278,385
0
0
null
null
null
null
UTF-8
C++
false
false
525
cpp
Human.cpp
#include "Human.h" Human::Human(string name, string sname, int age, string address) { this->name = name; this->sname = sname; this->age = age; this->address = address; } istream & operator >> (istream & is, Human&obj) { string s; getline(is, obj.name, '/'); getline(is, obj.sname, '/'); is >> obj.age; getlin...
c0cf1a2d436297822f1c8688cbec2d52b9b43ea8
288f4a54a27ad6548595c6eba76a39d86a3c1968
/svn/F270/ghl/.svn/text-base/main.cpp.svn-base
d1e6d315e57da277ddf2acadca347001bebb8d96
[]
no_license
chrismayo/ONLIGHT
b6c3dc4378c2b37332aa035e2d32920238af567c
105317a8d55468b7cddb81e2ad7fd02b51132a84
refs/heads/master
2021-01-01T17:28:43.915528
2015-09-01T10:58:30
2015-09-01T10:58:30
39,361,481
2
0
null
null
null
null
UTF-8
C++
false
false
1,615
main.cpp.svn-base
#include <QApplication> #include <QLabel> #include <QSharedMemory> #include <QTableView> #include <QDebug> #include <QDateTime> #include "./Common/slidingscreen.h" #include "./Common/softkeypad.h" #include "./GlobalData/cfgGlobalDef.h" #include "./GlobalData/dataGlobalDef_ModbusReg.h" #include "./DataModel/modeldigi...
79c11adcefab3f6c5be1b7eeb49690be56d57a74
83a65eebfe51fde8c052096d788596410b6a7b8f
/src/CTrail-all.cpp
3a67db8e19617111590dbee85e0a511c742e332a
[]
no_license
mikekazakov/ctrail
21b8fa8a02923e8ab138508f3e6140bf00d37daa
5447e16216f1f8804d4545b2dccfffe37e939c24
refs/heads/master
2020-09-07T12:23:12.326158
2019-12-01T16:58:09
2019-12-01T16:58:09
220,779,563
0
0
null
null
null
null
UTF-8
C++
false
false
358
cpp
CTrail-all.cpp
#include "ChromeTraceExporter.cpp" #include "CSVExporter.cpp" #include "CyclicValuesStorage.cpp" #include "Dashboard.cpp" #include "DashboardImpl.cpp" #include "MonotonicValuesStorage.cpp" #include "OneShotMonitor.cpp" #include "Ports.cpp" #include "Registry.cpp" #include "RegistryImpl.cpp" #include "ValuesStorage.cpp"...
608006be474c9b8dbb9de4b26ad1e3688fc5c016
086a72a391984a14feab432e484a66359925715b
/pscore/core/any_ptr.cc
7f3edf098e096a38eb75b694c330dfa45728a9b2
[]
no_license
Superjomn/pscore
966e8dd25b098cf9d2e2b36ebb0c182494454463
0cbe6d3caab30ba73646d0af0e61dfed1ea9f333
refs/heads/master
2023-06-02T21:24:13.582567
2021-06-28T07:28:20
2021-06-28T07:28:20
377,822,009
0
0
null
2021-06-28T07:28:20
2021-06-17T12:24:44
C++
UTF-8
C++
false
false
74
cc
any_ptr.cc
#include "pscore/core/any_ptr.h" namespace pscore {} // namespace pscore
7876292102d3937a53d927056b81ab4b8161fe0a
cb4674d804d1d0b28004e651b3a16cf15dc3545f
/tests/fake_support/opencascade/gp_Pnt.hxx
be4ce4f9e9214dfd69458f5291c3a9f10c1e480a
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
GridEyes-2010/gmio
7a493aae2704c88baf5ac8eb1aadbccf36349895
6deb4fabb47b4aaf31073e23adf2c4f1d1bc290e
refs/heads/master
2022-01-01T21:58:54.750029
2017-04-14T09:14:50
2017-04-14T09:14:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
361
hxx
gp_Pnt.hxx
#ifndef _gp_Pnt_HeaderFile #define _gp_Pnt_HeaderFile #include <Standard_TypeDef.hxx> #include <gp_XYZ.hxx> #include <gp_Trsf.hxx> class gp_Pnt { public: gp_Pnt() {} gp_Pnt(const gp_XYZ& /*coords*/) {} const gp_XYZ& XYZ() const { return coord; } void Transform(const gp_Trsf&) {} private: gp_XYZ...
f8663fee7dbbe705cdaff7d3e96d911a746a26e2
f95a3c26ff14fbc10876da8d404aca11ececb1b7
/ExampleCode/ExampleCode/Lib/Header/Graphics/Textures/TextureFactory/OpenGLTextureFactory.h
7ff02c04b2c822f0195651afd893a7c9d0397f36
[]
no_license
PBenkoApplication/CodeSample
574e4e2d7f7e4300136c72dc921e66fcd372cd15
68174a37cc6ddecba64794dc16042406493b654c
refs/heads/master
2021-01-01T16:53:11.795981
2017-07-21T12:47:09
2017-07-21T12:47:09
97,941,723
0
0
null
null
null
null
UTF-8
C++
false
false
952
h
OpenGLTextureFactory.h
#ifndef OPENGLTEXTUREFACTORY_H #define OPENGLTEXTUREFACTORY_H #include "ITextureFactory.h" #include "../OpenGL/OpenGLTexture.h" namespace BAME { class OpenGLTextureFactory : public ITextureFactory { public: OpenGLTextureFactory(); ~OpenGLTextureFactory(); protected: void AddNewTextureToPool(std::string const...
6342c9c621b3774fcb69c752760b7a51718c9bb5
19194c2f2c07ab3537f994acfbf6b34ea9b55ae7
/android-33/android/graphics/RectF.def.hpp
88fc67686fb270477512090fa45c354d8a4b8f50
[ "GPL-3.0-only" ]
permissive
YJBeetle/QtAndroidAPI
e372609e9db0f96602da31b8417c9f5972315cae
ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c
refs/heads/Qt6
2023-08-05T03:14:11.842336
2023-07-24T08:35:31
2023-07-24T08:35:31
249,539,770
19
4
Apache-2.0
2022-03-14T12:15:32
2020-03-23T20:42:54
C++
UTF-8
C++
false
false
2,418
hpp
RectF.def.hpp
#pragma once #include "../../JObject.hpp" namespace android::graphics { class Rect; } namespace android::os { class Parcel; } class JObject; class JString; namespace android::graphics { class RectF : public JObject { public: // Fields static JObject CREATOR(); jfloat bottom(); jfloat left(); jfloat ri...
6b2e17a90231d507a543ec1bbc98e672e7ae5c0b
44289ecb892b6f3df043bab40142cf8530ac2ba4
/Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/CActivityOptionsAnimationStartedListener.cpp
2aa6f21654b0cc2455f8457d8efa6d6b8bc2ff66
[ "Apache-2.0" ]
permissive
warrenween/Elastos
a6ef68d8fb699fd67234f376b171c1b57235ed02
5618eede26d464bdf739f9244344e3e87118d7fe
refs/heads/master
2021-01-01T04:07:12.833674
2017-06-17T15:34:33
2017-06-17T15:34:33
97,120,576
2
1
null
2017-07-13T12:33:20
2017-07-13T12:33:20
null
UTF-8
C++
false
false
2,021
cpp
CActivityOptionsAnimationStartedListener.cpp
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
5b109ba232633c33e97ff7eec2a4e6a88a915e00
0de02af56408b50495a999c1af9e714015be8364
/inc/Bot.hh
8654389a9061d1c2046ff791b2f4456fed0a96b9
[]
no_license
Christopher-Steel/Bomberman
4345ec42e27506ea66b7b8c56da32211c975949e
04b6445be01f1bdbf6e2faf09d87096277af787f
refs/heads/master
2020-03-14T08:04:14.232840
2018-04-29T17:58:42
2018-04-29T17:58:42
131,517,029
0
0
null
null
null
null
UTF-8
C++
false
false
1,395
hh
Bot.hh
// // Bot.hh for bomberman in /home/dubour_f//projects/Bomberman/bomberman-2016-dubdub/inc // // Made by frederic dubourg // Login <dubour_f@epitech.net> // // Started on Wed May 22 13:46:58 2013 frederic dubourg // Last update Wed Jun 5 23:14:45 2013 frederic dubourg // #ifndef BOT_HH_ # define BOT_HH_ #inclu...
c3ab062d8e54e32cda28b51756e12b82c117a39c
2378938f301116c10e33f52f9bc857853ce10b4d
/codeforces/accepted/915a.cc
ce4c454ffa793e6e7219802a8d538d2c8d092604
[]
no_license
ckebabo/problem_solving
e25fafd606edeeb9dd99de9339044dbfe8838fbb
f62ec8800457339ac0c0529344f4d4e852e3560f
refs/heads/master
2018-07-29T06:23:22.379461
2018-06-02T15:07:54
2018-06-02T15:07:54
117,555,079
0
0
null
null
null
null
UTF-8
C++
false
false
233
cc
915a.cc
#include <iostream> #include <algorithm> using namespace std; int main() { int n,k; cin >> n >> k; int v = 0; for(int i=0;i<n;i++) { int t; cin >> t; if(k % t == 0) v = max(v, t); } cout << k/v << endl; return 0; }
832f7f797e142376125eb6badf3a51d00f0f1066
f7d06ecbaf75e0cf246c08217fc73f4745bd0287
/PoseCalculator.h
80e1a54fdb9ec3bc6550f2b0e794f78b5b365a37
[]
no_license
4ndr3w/omnibot
1b7f841b11e9e9b13186711e7e8b1d59bf9594e0
a2aa51cb44ac3402e735d70607e9ff47b44b52dd
refs/heads/master
2021-01-19T04:12:40.869179
2017-05-19T01:47:59
2017-05-19T01:47:59
87,358,336
0
0
null
null
null
null
UTF-8
C++
false
false
444
h
PoseCalculator.h
#include <WPILib/WPILib.h> #include "hardware/Drivetrain.h" #include "OmniBotComm.h" #ifndef POSE_CALC_H #define POSE_CALC_H class PoseCalculator { private: SEM_ID lock; double x,y,theta; double vx,vy,vth; Drivetrain *drive; PoseCalculator(); public: static PoseCalculator* getInstance()...
a401c9aa32d602bfb5734e77b9c546023c78b882
8a6c98a052cef2c9d49680bdd4d4517e477e25d3
/SharedLib/PSPApp/PSPUSBStorage.cpp
88f5d743c2e49f08ba7abfbd58ba031d5f64abe3
[]
no_license
PSP-Archive/PSPRadio
d4bc2a43e7a2f79ba5090d8d84bb9de25aa367e6
dfeb55b359cc125379f7f97282e9058c2c79b485
refs/heads/master
2023-02-05T18:17:26.980200
2020-12-31T06:45:53
2020-12-31T06:45:53
325,731,433
1
0
null
null
null
null
UTF-8
C++
false
false
4,125
cpp
PSPUSBStorage.cpp
/* PSPApp C++ OO Application Framework. (Initial Release: Sept. 2005) Copyright (C) 2005 Rafael Cabezas a.k.a. Raf This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lic...
642a8c2960c695f2cdc5573a23707bd8a273f64a
f0d59af3f73b91bba39f956aff50e206b549630c
/visualcenter.h
29d26c93bcf8d42a4f9ae20c89ec5fe5eb279042
[]
no_license
MrSiz/LogV
405133b106651116dfe13db025872e9d30f7d01a
d8f9add14067aa7532721a9307e4ceb43151d788
refs/heads/master
2020-03-10T20:28:51.415330
2018-06-18T05:58:20
2018-06-18T05:58:20
129,571,518
0
0
null
null
null
null
UTF-8
C++
false
false
1,496
h
visualcenter.h
#ifndef VISUALCENTER_H #define VISUALCENTER_H #include "threadpool.h" #include <QWidget> #include <QtCharts> #include <QtCharts/QChartView> #include <QList> namespace Ui { class VisualCenter; } class VisualCenter : public QWidget { Q_OBJECT public: explicit VisualCenter(int numThread = 2, QWidget *parent ...
8397d4e7baa9262e992962c863bba6c0cc0af7db
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/ckafka/include/tencentcloud/ckafka/v20190819/model/FailureParam.h
4feff8048b46d8a391fd602e0b83011a387aac4f
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
8,397
h
FailureParam.h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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 ...
14c36301b395004dc03913eab38ab4a7b094f5d7
e542e955e45277ca014430019a0188f6e85a0d3c
/HkfyCrypt/HDSerial.cpp
8c139d7f8066cb2771a2bb8d9559ffdb9cadc57a
[]
no_license
langyastudio/sentinel-crypto
fb3eb34270dc22cb42255b8beeee3340510bf096
86f98f7f2149e1ff10cb3657f01144ce386b6570
refs/heads/master
2020-03-22T10:51:21.039366
2019-10-31T03:21:46
2019-10-31T03:21:46
139,931,467
4
1
null
null
null
null
GB18030
C++
false
false
2,406
cpp
HDSerial.cpp
#include "stdafx.h" #include "HDSerial.h" void ChangeByteOrder(PCHAR szString, USHORT uscStrSize) { USHORT i = 0; CHAR temp= '\0'; for (i = 0; i < uscStrSize; i+=2) { temp = szString[i]; szString[i] = szString[i+1]; szString[i+1] = temp; } } //------------------------------------------------...
a168cd469e06c25fb9243a65f8cdd3af38f2d7ce
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5769900270288896_1/C++/JaNo/B.cpp
61d876da45c2dba6f78984bc517c59c302d9274f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,732
cpp
B.cpp
//Fruit of Light //FoL CC //Apple Strawberry #include<cstdio> #include<algorithm> #include<vector> #include<iostream> #include<set> #include<map> #include<queue> #include<cmath> #include<cstring> using namespace std; #define For(i, n) for(int i = 0; i<(n); ++i) #define INF 1023456789 #define eps 1e-9 typedef long l...
79181d05956e3bd243d9dc31cb113f2b93500107
c30e2a0dc71db5fcdd459db52e012f116c4a726e
/LearnC++ForProgramingDevelopement/TextAdventure/Chapter26-TextAdventure/EvaluateVisitor.cpp
8b5a9811cc8620b802f51db4fafd5bf68fd8c3bf
[ "MIT" ]
permissive
Gabroide/Learning-C-
9bcfc09fb826ea78affca118572fa7ac7c7b786b
d2fc9b2ef21d66a17b9b716975087093c592abbc
refs/heads/master
2021-07-21T08:41:40.602975
2020-05-10T20:16:47
2020-05-10T20:16:47
161,846,077
0
0
MIT
2019-06-12T07:45:47
2018-12-14T22:15:43
C++
UTF-8
C++
false
false
297
cpp
EvaluateVisitor.cpp
#include "EvaluateVisitor.h" #include "Option.h" EvaluateVisitor::EvaluateVisitor(Player& player) : m_player{ player } { } void EvaluateVisitor::OnVisit(Visitable& visitable) { Option* pOption = dynamic_cast<Option*>(&visitable); if (pOption != nullptr) { pOption->Evaluate(m_player); } }
0bedc3d037b141593e5d2c639d9063cf7f89194f
59c4a6fe9c686654922e1f365a5098a18ec9eef5
/src/parameterised/api/module.cc
20a6f719ed2ea2ec966cd96afd6f30a52165965e
[ "MIT" ]
permissive
pabble-lang/libscribble
c002f622ccf05e1c84b9e274dc9d921fd530fcfa
df25fb8a88257fa3249e9faaa3e6fe69a10f0082
refs/heads/master
2020-06-19T05:25:24.946495
2015-08-07T02:27:37
2015-08-07T02:27:37
74,918,949
0
0
null
null
null
null
UTF-8
C++
false
false
1,220
cc
module.cc
#include <scribble/parameterised/const.h> #include <scribble/parameterised/ext_type.h> #include <scribble/parameterised/import.h> #include <scribble/parameterised/module.h> #include <scribble/parameterised/protocol.h> #include <scribble/parameterised/range.h> namespace scribble { namespace parameterised { pbl_module ...
644adaca3f2d5a80f43a6b608fb644efeebbea64
630db4ba2ef42eb3a81972da808881b9dfa707e6
/2021-05-31-baekjoon1037.cpp
589afd6eb9e7a05dda6533f7557606ad0266c8e7
[]
no_license
Byeongchan99/Algorithm_Study
90283d97767df5b5e5075a3a9c1250d0a7765e91
ad913b72c95582fbb4a99e4fef4219be6f25a19d
refs/heads/main
2023-07-02T09:58:09.302871
2021-08-01T10:38:30
2021-08-01T10:38:30
313,072,328
0
0
null
null
null
null
UTF-8
C++
false
false
857
cpp
2021-05-31-baekjoon1037.cpp
1037 약수 양수 A가 N의 진짜 약수가 되려면, N이 A의 배수이고, A가 1과 N이 아니어야 한다. 어떤 수 N의 진짜 약수가 모두 주어질 때, N을 구하는 프로그램을 작성하시오. #define _CRT_SECURE_NO_WARNINGS #include <numeric> #include <cstdio> #include <stdlib.h> #include <iostream> #include <cstring> #include <string> #include <algorithm> #include <vector> #include <climits> // 최댓값,...
50efb1519f1c44339c701b5e7f7565a44d6b2c25
461619a84c6617ceaf2b7913ef58c99ff32c0fb5
/twitter/statuses/user_timeline/src/statuses/statuses/main.cpp
5e5a18a90a193f9b5d6f1fe5566d223cbf441c40
[ "MIT" ]
permissive
bg1bgst333/Sample
cf066e48facac8ecd203c56665251fa1aa103844
298a4253dd8123b29bc90a3569f2117d7f6858f8
refs/heads/master
2023-09-02T00:46:31.139148
2023-09-01T02:41:42
2023-09-01T02:41:42
27,908,184
9
10
MIT
2023-09-06T20:49:55
2014-12-12T06:22:49
Java
SHIFT_JIS
C++
false
false
8,089
cpp
main.cpp
// ヘッダのインクルード // 既定のヘッダ #include <tchar.h> // TCHAR型 #include <iostream> // C++標準入出力 #include <string> // std::string #include <winsock2.h> // Windowsソケット #include <ws2tcpip.h> // WinSock2 TCP/IP #include <openssl/bio.h> // BIO #include <openssl/ssl.h> // SSL #include <openssl/err.h> // エラー // 独自のヘッダ #include ...
a64199d694eca98218b9a2263811eb5432153a8d
e1c2a102e85c37f0e99b931e3a70b5f2c0682a31
/src/heranca/main.cpp
e81570bddf54d697b62ef724c01dee46700e7508
[ "MIT" ]
permissive
coleandro/programacao-avancada
cc370755b7f85bb44644e326fd36f30361d1a7ea
0de06243432fb799b1dc6707b24f2b3f6f23f76d
refs/heads/master
2020-05-04T13:37:51.327385
2019-04-16T23:57:04
2019-04-16T23:57:04
131,093,863
0
0
null
null
null
null
UTF-8
C++
false
false
880
cpp
main.cpp
#include <iostream> #include "Veiculo.h" #include "Carro.h" #include "Caminhao.h" #include "Caminhonete.h" int main() { // Veiculos Veiculo vei1("ABC-1234", 1000.0, 180.0, 63000.0); Veiculo vei2("BCD-2345", 1280.0, 220.0, 84900.0); // Carros Carro car1("DEF-3456", 1080.0, 220.0, 62500.0, "VW UP CR...
1f82b11423cea53cef6f3d26cfa62b896aaf90f2
d7b9c777e467afff96f0807a30f96390380e1183
/Particle.cpp/main.cpp
83861e05d0fe73a82d00eb476775b6890712ba9d
[]
no_license
htafer/cppStuff
bf6bc8b6451663754463417d09ab69c92efcd7c9
dce5547d3de05093b7394d94bf9a4f0a3e37524b
refs/heads/master
2020-04-14T13:57:01.240681
2019-02-22T14:49:32
2019-02-22T14:49:32
163,883,441
0
0
null
null
null
null
UTF-8
C++
false
false
2,964
cpp
main.cpp
#include <iostream> #include <iomanip> #include <math.h> #include <random> #include "SDL.h" #include "Screen.h" #include "Particle.h" #include "Swarm.h" #include <stdlib.h> #include <time.h> #include <cstdlib> #include <ctime> using namespace std; using namespace caveofprogramming; int main () { srand((unsigne...
12dd5cb205692638fdbd8a5a92f36e52b94f98ec
0e2ee1cd50a6ba70f34dd6a570a0652b5a17ee33
/parse_file.h
c819edb6079d25defc3059f497e2d9d66b16ab99
[]
no_license
pzoxiuv/biostuff
e694356c824c0cdcbb107cb07d88cdb95a306531
6d32de235da49a7ce8c7b5b08b257a3ab031d5d7
refs/heads/master
2021-01-10T04:47:40.028539
2016-01-03T02:11:28
2016-01-03T02:11:28
48,925,803
0
0
null
null
null
null
UTF-8
C++
false
false
124
h
parse_file.h
#ifndef PARSE_FILE_H #define PARSE_FILE_H #include "main.h" std::vector<gene_t> parse_file(const char *filename); #endif
0f05608922df8d1fde7e9562894dd2acf172bd49
f780917ad11ebb6f38ac989ad391d8c26effbe79
/RandomForest/BeyondRandomForest/Tree.h
1fbe444f0e1ac9a2db2d75b50e6b4b41ae4f6db3
[]
no_license
cool-cola/Random-Forests
349a3c9f8593fbe4a43f4253b19ab3e5d7b78e7f
968bd395727ee8448077dee3392a0776961c1b34
refs/heads/master
2021-01-21T06:49:09.693608
2017-03-08T02:09:02
2017-03-08T02:09:02
83,287,612
2
0
null
null
null
null
UTF-8
C++
false
false
353
h
Tree.h
#pragma once #include "DataTable.h" #include "bootstrapDataset.h" namespace BeyondRandomForest { class CTree { public: CTree(void); virtual ~CTree(void); void buildTree(const CDataTable& vDataTable, const CBootstrapDataset& vBoostrapDataset, const int vCandidateVariables, const std::vector<std::string>& vRes...
3b2bea2877116dfd93ff27350243067d0efbf898
8755fe466d934b336bea57550c048859c3b00ae3
/blocklist.h
8537656f163b1cdb2a43d592a383024a7dabe657
[]
no_license
paperplane03/BookStore_SiriusNEO
887af9e18a8a555c63624316c4cd37415655024e
16447e454d68ddefb34a91a26379e3287256b2d2
refs/heads/master
2023-03-12T05:41:18.437520
2021-02-20T08:42:49
2021-02-20T08:42:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,371
h
blocklist.h
// // Created by PaperL on 2020/11/9. // #ifndef BOOKSTORE_SIRIUSNEO_BLOCKLIST_H #define BOOKSTORE_SIRIUSNEO_BLOCKLIST_H #include <cstdio> #include <iostream> #include <fstream> #include <algorithm> #include <vector> #include <string> #include <string.h> #define BLOCK_SIZE 320 #define BLOCK_SPLIT_THRESHOLD 300 #def...
cda07f64161ee0f2cabf0bdc4f7f05bb1cbfd16b
ba7c50c6898069aa53bca4328f0f91bebdc6b5f4
/libraries/MenuManager/MenuManager.cpp
6d3191f167fe4e231e14c0f028646a89e89104f1
[]
no_license
martinzk/sw5
ea691e2185a3ed3250bc5ba301b4c7b8acc3adab
575db6012f06c2b3483316f51d3998ff4ec4b425
refs/heads/master
2020-11-30T00:33:45.568496
2015-09-16T12:16:14
2015-09-16T12:16:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,261
cpp
MenuManager.cpp
#include <MenuManager.h> bool MenuManager::instanceFlag = false; MenuManager* MenuManager::menuManager = NULL; MenuManager* MenuManager::GetMenuManager() { if(!instanceFlag) { menuManager = new MenuManager(); instanceFlag = true; return menuManager; } return menuManager; } Men...
2cc73532885eeb7cac71f8aa1ed24475e66b8d3f
172a04c22139983d2a093292b709eb15045dbe7f
/ctripui/roomsuserui.cpp
99977231223c1875514328dabdcf1a5185491d15
[]
no_license
inhzus/hotelManage
a080d8d6c48454ffa7d28bb3bf2886e3980dfb23
2e0cef0cd019d19cae9ce7ae076c48be9a2b8df8
refs/heads/master
2021-06-14T23:32:15.936229
2017-04-05T00:10:46
2017-04-05T00:10:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,404
cpp
roomsuserui.cpp
#include "roomsuserui.h" RoomsUserui::RoomsUserui(QWidget *parent) : QDialog(parent), ui(new Ui::RoomsUserui) { this->setWindowFlags(Qt::WindowCloseButtonHint | Qt::MSWindowsFixedSizeDialogHint); ui->setupUi(this); this->setFixedSize(640, 450); uRow = getVecRow(uRow); connect(ui->tableWidge...
1ed3bbd5b46439ef14f8f6cd55b3899cf0080500
e0a762aed8e0639d9760060f847e0e9185bbfde1
/src/renderer/scenegraph/LightNode.h
4fcb3a194bddd986d9a2242e98a3b7149cffc198
[]
no_license
sondrex76/-imt2531-2019-exam-sondrewr
219764173d18201c8cc328ac330fbb208bc6dd94
c21c7d84005912f1c0a854c80be14852ca0fc505
refs/heads/master
2020-05-19T00:29:16.999310
2019-05-06T09:13:50
2019-05-06T09:13:50
184,736,182
0
0
null
null
null
null
UTF-8
C++
false
false
1,014
h
LightNode.h
#pragma once #include "Node.h" #include "../defines.h" namespace Scenegraph { template<class TLight> class LightNode final : public Node { public: LightNode(const TLight &light, glm::mat4x4 transform) : Node(transform), m_light(&light) {} bool bindActiveCamera(const glm::mat4x4 &parentAb...
1b5734edac2aee2208b83e18366f286b37047185
a8a31b178932adc882da490b89d3d2a44cca9999
/trajectory_publisher/src/polynomialtrajectory.cpp
d736a9f62791368da18a598d47c12b73be30ea64
[ "BSD-3-Clause" ]
permissive
Jaeyoung-Lim/mavros_controllers
2a4e352b73a04fcdefd15a05a308326d67c6f67e
8b3fff0327b56c415aa24708bea5f37d76307404
refs/heads/master
2022-09-26T16:00:55.140038
2022-08-22T10:33:47
2022-08-23T07:36:52
140,596,755
360
162
BSD-3-Clause
2022-08-23T07:36:52
2018-07-11T15:43:22
C++
UTF-8
C++
false
false
6,343
cpp
polynomialtrajectory.cpp
/**************************************************************************** * * Copyright (c) 2018-2021 Jaeyoung Lim. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistribut...
7071cd454e7cb47c0c3158b5c5065737cbdc3ac4
b45a48e484b04c2c095a8202a2532058fb8a1e52
/TC3045/Parcial uno/Entregas/CesarTest/Cesar.h
cfcd8f970a097cb832ba40ea7532a3da5ee4400a
[]
no_license
Biller17/PruebasYCalidadSoftware
d412335dbb2fbe850cc419553673691ea80d8821
215dcbf3ab5ef4dc204114126b400705d29f4d2d
refs/heads/master
2021-01-11T23:01:51.169654
2017-05-19T04:00:30
2017-05-19T04:00:30
78,536,484
0
0
null
null
null
null
UTF-8
C++
false
false
1,086
h
Cesar.h
#pragma once #include <iostream> #include <fstream> #include <string> class Cesar { public: Cesar(){} std::string read (){ std::ifstream file; std::string word; std::string decriptedWord; bool decripted = false; file.open("encriptado.txt"); word.clear(); char x; while(file >> word)...
3f6b35d0c28f11b5a7e6adfffe92a8c8035e1572
f9a3f11ee028cdb73b22b7fa18648c0abb5f425d
/zcode/DSA01005.cpp
3dd2455bf7ed6a7daee0d8e0870896203d799de1
[]
no_license
pearldarkk/C-Cplusplus
431e17343ca6a1859aca1dc1b8a353afa7d23a87
43b5f656c9e7dd0a7866f50c69a0c49ad115c2f1
refs/heads/main
2023-08-22T05:43:32.770939
2021-10-26T13:36:18
2021-10-26T13:36:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
820
cpp
DSA01005.cpp
#include <iostream> #include <string> #include <vector> using namespace std; vector<int> v; vector<bool> used; int n; void gen(int x) { for (int i = 1; i <= n; ++i) if (!used[i]) { v[x] = i; used[i] = 1; if (x == n) { for (int i = 1; i <= n; ++i) ...
4b3cbe64de00011db26ce58ba0b05e7d2d674953
d01e649cacedffbe3bef656dd6f4e29986e3bad0
/includes/myroom/node/node.hpp
ab98bf397b346847c8990984aeab6427b90b8250
[]
no_license
mazlani/my-room-virtual-reality
c4e6b7fb0fa869e41403dc1c9336d5c248f509df
c8014b48263aea6a9e47df0dc085e58dba5714db
refs/heads/master
2021-07-24T22:38:29.937887
2017-11-03T16:55:08
2017-11-03T16:55:08
108,431,897
0
0
null
null
null
null
UTF-8
C++
false
false
1,012
hpp
node.hpp
#ifndef MYROOM_NODE_NODE_HPP #define MYROOM_NODE_NODE_HPP #include <iterator> #include <OpenSG/OSGBaseTypes.h> #include <OpenSG/OSGComponentTransform.h> #include <OpenSG/OSGGroup.h> #include <OpenSG/OSGNode.h> #include <OpenSG/OSGMaterial.h> #include <myroom/util/color.hpp> namespace myroom { namespace node { O...
25760c43a495f8fc005f126db5d1f633b3106df5
0d653408de7c08f1bef4dfba5c43431897097a4a
/cmajor/wing/ImageList.cpp
0691eb122678b820b0918558cfcaee8a97b175fd
[]
no_license
slaakko/cmajorm
948268634b8dd3e00f86a5b5415bee894867b17c
1f123fc367d14d3ef793eefab56ad98849ee0f25
refs/heads/master
2023-08-31T14:05:46.897333
2023-08-11T11:40:44
2023-08-11T11:40:44
166,633,055
7
2
null
null
null
null
UTF-8
C++
false
false
1,843
cpp
ImageList.cpp
// ================================= // Copyright (c) 2022 Seppo Laakko // Distributed under the MIT license // ================================= #include <wing/ImageList.hpp> #include <wing/Control.hpp> #include <soulng/util/Unicode.hpp> namespace cmajor { namespace wing { using namespace soulng::unicode; ImageLis...
52c7178ad406faddc04e1a781e6abea042a69b90
2192a47fe996c3364266c43ca850763b478b4d5e
/Module_01.8_BitwiseOperators/Driver.cpp
ee6b2260e637bfb1cb16f88efb679e9d939232c6
[]
no_license
lorenarms/SNHU_CS_260_Practice_Projects
9ab49376dc23cfe568d906bacb7c32f189fd4f28
d3f8e94afbde25c68876842fcfd21dd296bc2dec
refs/heads/master
2023-09-05T10:10:30.134210
2021-11-06T16:33:56
2021-11-06T16:33:56
402,142,088
2
0
null
null
null
null
UTF-8
C++
false
false
1,490
cpp
Driver.cpp
#include "Driver.h" #include <iostream> using namespace std; // swap two variables without using a temporary variable void Swap(int &a, int &b) { a = a + b; b = a - b; a = a - b; } // checks a variable using bitwise operator void CheckIfOddOrEven(int a) { if (!(a&1)) { cout << " is even." << endl; } else ...
b064923c00e47e2a3176a39c6386c6e145fae9ef
e21dece7e20f1c69f8f9985e308591021ad5ae6a
/country.cpp
67a76ebde71cc9bceae30e8e831f7ac598d4aa77
[]
no_license
Damien90154/ProjetLockerControl
51a41a0f27e488579e2ed2f0a5e650b55128f414
753941bd41c25c02b6d90d1bb6f13d98288878ab
refs/heads/master
2020-05-17T00:21:00.331769
2015-05-03T15:32:37
2015-05-03T15:32:37
34,989,580
0
0
null
null
null
null
UTF-8
C++
false
false
792
cpp
country.cpp
#include "country.h" #include <QApplication> Country::Country() { m_Linguist = new QTranslator(); SetFrench(); } Country::~Country() { delete m_Linguist; } void Country::SetFrench() { qApp->removeTranslator(m_Linguist); m_Linguist->load(":/Linguist/french"); qApp->installTranslator(m_Linguist)...
0392bc7d10263d280f11f55fc82f89222d3afa3a
24bdd2e863ab9835240b4014c6b91426f4759876
/Single_Phase_3D/SINGLE_PHASE_MPI_Software_Spars_2dDrag_force.cpp
7b64eb9ae666a5d681b02915f8561094c5a68b44
[]
no_license
DarkOfTheMoon/jianhui-lbm
aaaee6abc03ca38237cc44b9447698c5ce2c4017
76d831352c5aa1600389dbdee6a4659c01eb2c65
refs/heads/master
2020-05-17T16:40:59.862938
2013-11-12T10:00:23
2013-11-12T10:00:23
42,917,907
2
4
null
null
null
null
UTF-8
C++
false
false
71,175
cpp
SINGLE_PHASE_MPI_Software_Spars_2dDrag_force.cpp
#include<iostream> #include<cmath> #include<cstdlib> #include<iomanip> #include<fstream> #include<sstream> #include<string> #include<math.h> # include "mpi.h" #define MAXN 100 #define eps 1e-12 #define zero(x) (fabs(x)<eps) struct mat{ int n,m; double data[MAXN][MAXN]; }; //D3Q19 ...
9636d11f189b28f77d7c629376ff3480fd6f25fd
267e979fee386aedfde7dd48f5bb88cb7a86095a
/CG/Scene.cpp
d1eefd8643e9a3f91aa17b2c52c77ed544cb894c
[]
no_license
wb-finalking/Path_Tracing
6c84da19c618cac5035b2ee63187095f48166589
4de934eee355f8a6e41460a87a81c2387a4c1ffb
refs/heads/master
2021-04-27T03:48:01.977737
2018-04-13T14:16:18
2018-04-13T14:16:18
122,720,435
0
0
null
null
null
null
UTF-8
C++
false
false
18,589
cpp
Scene.cpp
#include <Scene.h> std::atomic_int Scene::computed_row{0}; Scene::Scene() : viewport_width(8), viewport_height(5), max_depth(14), sample_num(64), light_intensity(35), near_plane(10),cam_pos(Vector3f(0, 4, 30)), cam_view(Vector3f(0, 0, -1)), cam_up(Vector3f(0, 1, 0)), cam_right(Vector3f(1, 0, 0)), environment_color(V...
c51c8653f233992031ff50ad45eb5c038d6e5a11
06d2386ced7e6c82eab0243541de0d8d258e812c
/ct_sensor.ino
ef4dff2a52029afd523fff93fa6f3b89b13ae22e
[]
no_license
iowasparrow/homeEnergy
1aecf91f43dd46ef666133f7f9d40e1b4694b43b
53dbb49014cd1de0898f6a14786e5a02642faf3f
refs/heads/main
2023-03-17T13:36:01.682636
2021-03-16T17:33:19
2021-03-16T17:33:19
348,436,696
0
0
null
null
null
null
UTF-8
C++
false
false
5,312
ino
ct_sensor.ino
#include <PubSubClient.h> #include <ESP8266WiFi.h> #include <Adafruit_ADS1015.h> Adafruit_ADS1115 ads; /* Use this for the 16-bit version */ //this sketch is working for a 50 amp ct //const float FACTOR = 20; //20A/1V from the CT const float FACTOR = 30; const float multiplier = 0.0000633; #ifndef STASSID #define ST...