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
d1cf6445149bfc118de3f3372207b5555b88943e
7947ad268579a1a62d3d3b70da884340838d9aec
/point.cpp
da2a5b42640a125a2af24b19c52bb944560925df
[]
no_license
cheinemann/clever_raytracer_name
622bc50e4c773646cef36d24c9ed168ba495e31d
827d3bcd09d87260610f0115f22f59b0873fcf6e
refs/heads/master
2020-03-18T13:13:21.881237
2018-05-24T21:10:52
2018-05-24T21:10:52
134,769,101
1
0
null
null
null
null
UTF-8
C++
false
false
1,019
cpp
point.cpp
#include <math.h> #include "point.hpp" #include "ray.hpp" Point::Point() { } Point::Point(const double a):x(0), y(0), z(0) { } Point::Point(const double a, const double b, const double c):x(0), y(0), z(0) { } Point::Point(const Point& p):x(p.x), y(p.y), z(p.z) { } Point::~Point() { } Point& Point::opera...
03c184d65c834485b28f0ec452627558368f0a11
7cd8b14de39c83edaf72fa9bc5647d40347046e6
/遊戲成品/Main.cpp
a71af039548ac756b8bfa955b26d1fed832ef0eb
[]
no_license
jadonlkketc/1092-programing
62a27ebdc085ed403102092430cfd2976a8bbd22
044bfc993efaf3652b2509596dd39fd2a141eabe
refs/heads/main
2023-05-03T21:22:32.265568
2021-05-29T22:36:59
2021-05-29T22:36:59
343,701,690
0
2
null
null
null
null
BIG5
C++
false
false
3,705
cpp
Main.cpp
#include<iostream> #include<iomanip> #include <conio.h> #include"Sudoku.h" using namespace std; int main() { Sudoku action; char location; //第一頁 cout << "PC:你好,我是PC,我想和您玩一個遊戲。" << endl << "我這邊有一個白紙,請你填入任意格子來出一個數獨題目給我。" << endl << "而我會盡我所能的解出答案。" << endl << endl << endl << "白紙:" << endl; action....
d9a7bda342802728e489ccaea258692d5c16b1b8
c7f307e9d3b95a6b8875940b89e225ac3a4e34a5
/semantic_map/src/semantic_map_main.cpp
2a3dd1fdb7de3f6a5b24115252785158f06c9f17
[]
no_license
strands-project/strands_3d_mapping
e540c6ab1da3ce047df4b739b357c36ad992981f
28ee7a6b6ab6f591de201bd0a6e8a37c5a57a9ea
refs/heads/hydro-devel
2021-01-23T21:27:31.872040
2017-05-05T07:13:55
2017-05-05T07:13:55
11,306,586
23
28
null
2022-08-30T10:53:40
2013-07-10T08:32:49
C++
UTF-8
C++
false
false
390
cpp
semantic_map_main.cpp
#include "semantic_map/semantic_map_node.h" int main(int argc, char **argv) { // Set up ROS. ros::init(argc, argv, "Semantic_map_node"); ros::NodeHandle n; ros::NodeHandle aRosNode("~"); SemanticMapNode<pcl::PointXYZRGB> aSemanticMapNode(aRosNode); ros::Rate loop_rate(10); while (ros::ok...
9026f10484f286ec8cbe168e497756a65b3c164c
94903d3084f03c1255701126edb23095522b3583
/0303 Range Sum Query - Immutable.cpp
2245007653acfe8c758b590a5282bf3e448b2e5d
[]
no_license
xieh1987/MyLeetCodeCpp
dcf786f4c5504e063ab30adcbb87436fc6067fb0
9fff547aa12cf64b801092d175b34caf8e56336f
refs/heads/master
2021-08-08T03:07:54.297810
2021-07-16T23:21:53
2021-07-16T23:21:53
23,158,836
1
0
null
null
null
null
UTF-8
C++
false
false
534
cpp
0303 Range Sum Query - Immutable.cpp
class NumArray { public: vector<int> num_array = {}; NumArray(vector<int>& nums) { for (auto it=nums.begin();it!=nums.end();++it) num_array.push_back(*it); } int sumRange(int left, int right) { int res = 0; while (left<=right) { res += this->n...
29bc19251cce180421eef2c6b92c06909f121537
0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8
/Prague/CodeGen/idlc/idl/namecontext/SequenceType.cpp
9aeb8c459b61230d12e9152573c79f83826aea71
[]
no_license
seth1002/antivirus-1
9dfbadc68e16e51f141ac8b3bb283c1d25792572
3752a3b20e1a8390f0889f6192ee6b851e99e8a4
refs/heads/master
2020-07-15T00:30:19.131934
2016-07-21T13:59:11
2016-07-21T13:59:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
821
cpp
SequenceType.cpp
#include "Context.hpp" #include "Sequence.hpp" namespace idl { size_t SequenceType::getNumberOfItems() const { return _size; } void SequenceType::setType(Type::Ptr type, size_t size) { NamePath path; path.push_back("sequence"); //path.insert(path.end(), type->getNamePath().begin(), type->getNamePat...
9973b1a658ebb5cef56e678edcecfcfced089fea
15bcb1f8bc02319735aebf4da423e0ba113b32f5
/library/system/clock.cpp
735742b3f2dbb41351b5748bed0b0dc3fb9a5199
[]
no_license
joshguffin/dev
3ced3e7bf027c630eab347dbc637f5b6b65ee406
291079663efa3e15a6a96a4f758078bf61a3a2bc
refs/heads/master
2021-01-10T01:01:52.228872
2013-09-22T20:00:18
2013-09-22T20:08:18
5,392,339
1
1
null
null
null
null
UTF-8
C++
false
false
4,945
cpp
clock.cpp
#include "clock.h" #include <boost/date_time/posix_time/posix_time_types.hpp> #include <boost/date_time/posix_time/time_formatters.hpp> #include <stdio.h> /* namespace SystemLib { using namespace boost::posix_time; using namespace boost::gregorian; Clock& Clock::Instance() { static Clock clock; return clock; ...
ab3355015be169489be653fa4cdd31cd56eb02b5
0c31ee6983af7844accbe6cbe7c0fe2c5e94ed0a
/src/gard.cpp
2449c165b2b2c5b4b4957660f1ff5a570750c652
[]
no_license
SergiuBabin/Tema1_PA
2ad34a692ac72046f10dba2b8532a44edbe99ae9
3dbec83cebf1f99d70cae6187e6ea06778b1dc9b
refs/heads/master
2022-08-17T09:48:10.000084
2020-05-28T12:20:04
2020-05-28T12:20:04
267,577,085
0
0
null
null
null
null
UTF-8
C++
false
false
1,882
cpp
gard.cpp
#include <bits/stdc++.h> #include <unordered_set> using namespace std; #define IN 1000000007 // Structura pentru obiectele de tip Gard struct Gard { int start; int end; Gard(int _start, int _end) : start(_start), end(_end) {} }; // Comparator pentru sortare crescatoare bool comp(Gard &e1, Gard &e2) { ...
3be405c3a737fac1b73464917d7de3b039fa8d20
087bfb31e3d795a3a3d6c9274e90ac3883f4591c
/Array/AvgOfArray.cpp
5e3bad51766b5e0d0aec90003ac2e8dfaecff4ea
[]
no_license
vivek-gurjar/Data-Structures-Using-Cpp
fbaf954b622bdc9f8c43a8829e4bc21b62f375ae
83bcac5ee01c27061e13381b4ed90cbf3b8c55a3
refs/heads/main
2023-04-15T11:51:07.466466
2021-04-16T13:27:46
2021-04-16T13:27:46
354,102,658
1
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
AvgOfArray.cpp
#include<iostream> using namespace std; int avgFunction(int arr[],int num) { int avg,sum=0; for(int i=0;i<num;i++) { sum=sum+arr[i]; } avg=sum/num; return avg; } int main() { int arr[20],i,num; cout<<" Enter the size of array --> "; cin>>num; for(i=0;i<num;i++) { co...
892d46faa93d70de6f0b1bcb8756d424b8611cbd
3e499542d7d102d386b63b3e9aea86378a030572
/src/gui/imgui/imguiExtensions.cpp
095213354b8d8b7275322979ad90e8c00784d4d3
[ "MIT" ]
permissive
haddenkim/hush
c322db5998a7e2fdb2f1a52946ffc8b3851f3ffa
c003fa327874cf3890da50e8914730974c648f3f
refs/heads/master
2020-04-15T20:22:55.949832
2019-04-03T06:51:19
2019-04-03T06:51:19
164,990,890
2
0
MIT
2019-01-30T03:12:19
2019-01-10T04:39:56
C++
UTF-8
C++
false
false
555
cpp
imguiExtensions.cpp
#include "imguiExtensions.h" bool ImGui::InputVec3f(const char* label, Point3f* p, const char* format, ImGuiInputTextFlags extra_flags) { float vArray[3] = { p->x, p->y, p->z }; if (ImGui::InputFloat3(label, vArray, format, extra_flags)) { p->x = vArray[0]; p->y = vArray[1]; p->z = vArray[2]; return true; ...
11a6aead2d2b93ac49b80defb5b009681f3d6a86
43748a1c43915c7e98d9f063ce215bcbb4d74bdc
/fdfr/tools/image2lcd_rgb565/rgb565.cc
09c568c69bf8ff63838239bcb0ca9da921b7c623
[]
no_license
lixiaokai666/bm1880-ai-demo-program
3253f0011159b83afbc3c72df760ce48ac264cf5
7ec05f3a705143cd8fc3b1414f7e409f9cfc1302
refs/heads/master
2020-04-15T10:54:58.847655
2019-01-08T07:12:41
2019-01-08T07:12:41
164,603,036
1
0
null
2019-01-08T08:37:34
2019-01-08T08:37:33
null
UTF-8
C++
false
false
3,456
cc
rgb565.cc
#include <iostream> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; #ifdef HEX_16 unsigned short c_buf_hex_16[320*240]; #else unsigned char c_buf_hex_8[320*240*2]; #endif int main(int argc,char**argv) { string pic_name,name ; cv::Mat imageSource = imread("logo_320x240.jpg",IMREAD_COLOR);...
db18dd2b73764b212c4d239ce18c8025bfdc6b4a
dee7931e7c49e096173d2069a078112265263acf
/Tests/TestQtC3/qc3canvas.cpp
fd3740e2f6b8ac5a62fbec2814229c8985074c65
[]
no_license
bobbyblues/FRVSenseSmokeGenerator
70dad337f4e84a53a14969dfb561202ccf9f99d8
fefa9eb995d37460e8d7279799669bef8a4bddfc
refs/heads/master
2016-09-05T23:34:21.376546
2011-11-09T09:49:02
2011-11-09T09:49:02
2,507,811
0
0
null
null
null
null
UTF-8
C++
false
false
1,697
cpp
qc3canvas.cpp
#include "qc3canvas.h" QC3Canvas::QC3Canvas(QWidget *parent, const QPoint& Position, const QSize& Size, unsigned int FrameTime) : QWidget(parent), m_Initialized(false) { // Mise en place de quelques options pour autoriser le rendu direct dans le widget setAttribute(Qt::WA_PaintOnScreen); setAttrib...
be2ba34a7d0b211c7884c902982355d748da0323
c5718f09a6e4e7fe8ed375981bbab7693817302f
/Classes/Level/Backgrounds/CityBackGround.h
f430b41bc494872aa7de799bea772f1ff701c677
[]
no_license
ryanmcbride/CrashTestMonkeys
3ef3d4917b8d829005fb9b5c991970e86d282be8
236317741c7e769cb43da56cd52ec2681d12aeff
refs/heads/master
2016-09-06T18:51:47.699575
2013-10-01T03:17:03
2013-10-01T03:17:03
10,875,817
0
1
null
null
null
null
UTF-8
C++
false
false
610
h
CityBackGround.h
// // HelloWorldScene.h // MonkeyDroid // // Created by Admin on 3/19/13. // Copyright __MyCompanyName__ 2013. All rights reserved. // #ifndef __CITYBACKGROUND_H__ #define __CITYBACKGROUND_H__ // When you import this file, you import all the cocos2d classes #include "BackGround.h" class CityBackGround : public B...
09094fa902a9d1a37c9b5d680974a1f956a25c49
51f2492a5c207e3664de8f6b2d54bb93e313ca63
/kattis/estimatingtheareaofacircle.cc
954a5ce421a789414e9a9dc4bbf3e834028e1bd9
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abeaumont/competitive-programming
23c5aabd587d7bb15a61efd3428838cb934233dd
a24c9b89941a59d344b51dc1010de66522b1a0dd
refs/heads/master
2023-09-01T09:50:58.267361
2023-07-31T18:00:10
2023-07-31T18:00:10
117,589,708
618
262
WTFPL
2023-07-12T17:36:20
2018-01-15T20:00:56
C++
UTF-8
C++
false
false
424
cc
estimatingtheareaofacircle.cc
// https://open.kattis.com/problems/estimatingtheareaofacircle #include <cmath> #include <iomanip> #include <iostream> using namespace std; int main() { while (true) { double r; int m, c; cin >> r >> m >> c; if (r == 0 && m == 0 && c == 0) break; double a = M_PI * r * r; double b = (r * 2) *...
1a802ce11fb3a8249f19ab1e75b65e6479fde77d
5ee0eb940cfad30f7a3b41762eb4abd9cd052f38
/Case_save/case5/3000/epsilon
2b0e51fcec496fc1e570ea1b45c6b298ed34bb92
[]
no_license
mamitsu2/aircond5_play4
052d2ff593661912b53379e74af1f7cee20bf24d
c5800df67e4eba5415c0e877bdeff06154d51ba6
refs/heads/master
2020-05-25T02:11:13.406899
2019-05-20T04:56:10
2019-05-20T04:56:10
187,570,146
0
0
null
null
null
null
UTF-8
C++
false
false
10,239
epsilon
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
dc50a7e7028f943238ce1079f45caf9dc4174981
44227276cdce0d15ee0cdd19a9f38a37b9da33d7
/arcane/src/arcane/core/ISimpleTableWriterHelper.h
3aae43769a566174dcf7e8447ba66bf2f552eba8
[ "Apache-2.0", "LGPL-2.1-or-later" ]
permissive
arcaneframework/framework
7d0050f0bbceb8cc43c60168ba74fff0d605e9a3
813cfb5eda537ce2073f32b1a9de6b08529c5ab6
refs/heads/main
2023-08-19T05:44:47.722046
2023-08-11T16:22:12
2023-08-11T16:22:12
357,932,008
31
21
Apache-2.0
2023-09-14T16:42:12
2021-04-14T14:21:07
C++
UTF-8
C++
false
false
12,902
h
ISimpleTableWriterHelper.h
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
f73ba3152ec55152232835598fe92e68bc63ca1d
97adb838ef1c783a6479131fec26963954d924d1
/resourcelistwidget.h
f3162944c44dc1f65e8888bdeaea30438da42bda
[]
no_license
jewalky/TestShit
862589a1ad35770c4b7a7622088a03a7b2e7522a
52e78fbb4aa3510609add35de2023802c650d711
refs/heads/master
2021-01-19T05:07:57.693824
2016-07-29T09:49:59
2016-07-29T09:49:59
60,004,679
0
0
null
null
null
null
UTF-8
C++
false
false
1,086
h
resourcelistwidget.h
#ifndef RESOURCELISTWIDGET_H #define RESOURCELISTWIDGET_H #include <QGroupBox> #include "data/texman.h" namespace Ui { class ResourceListWidget; } class ResourceListWidget : public QGroupBox { Q_OBJECT public: explicit ResourceListWidget(QWidget *parent = 0); ~ResourceListWidget(); ...
9c9806b75cd516e5732aee6244550b60e407fd01
5e5a586912d70f60b73a0068c935aa93713ffe19
/source/gamemodes/Zombies.h
5d177095c2cce3954b28ff4fc528b101889d298a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Foamer/RocketPlugin
607bacabe7ed5d9ec741eb111b3c2d2dc6b49fbf
6e5b357ac79c9b2701510ac72cf8a6b7f4b4d5a9
refs/heads/master
2023-02-08T04:32:22.026120
2020-12-26T15:15:15
2020-12-26T15:15:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
546
h
Zombies.h
#pragma once #include "../RocketPlugin.h" class Zombies final : public RocketGameMode { public: explicit Zombies(RocketPlugin* rp) : RocketGameMode(rp) { _typeid = std::make_shared<std::type_index>(typeid(*this)); } void RenderOptions() override; bool IsActive() override; void Activate(bool active) override; ...
6cb13c87fa1432aad51a17dded5f951f06b48881
12ddfd65087bfad6223c58f89bd5549ea8f5be6c
/IZHO/2014/UFO.cpp
4822e1435ba05a30fce33032693a62f563738b0b
[]
no_license
BenRitmicoCode/Olympiad-Preparation
285ef73fa812c4b230276fb082d407197124b2c4
b09b2edcd4eb14ebb5fe356c577a61e6ac92eff2
refs/heads/master
2021-05-11T08:36:36.170277
2019-08-17T19:22:37
2019-08-17T19:22:37
118,057,369
0
0
null
null
null
null
UTF-8
C++
false
false
3,573
cpp
UFO.cpp
#include <iostream> #include <vector> using namespace std; const int MAXN = 1e6 + 5; int n,m,r,k,p; vector<vector<int>> a; vector<int> temp; int remain; struct segtree{ vector<int> v1; int n; void reset(int n) { this -> n = n; v1.resize((n * 6) + 10); } void update...
a4df709d2c0880964a919ffbbc2434e9614972ec
8590b7928fdcff351a6e347c4b04a085f29b7895
/corn/data_source/command_options_datasrc.h
b4442a8484594aaa8cfa6e9df9ac5b83fbd0dc88
[]
no_license
liao007/VIC-CropSyst-Package
07fd0f29634cf28b96a299dc07156e4f98a63878
63a626250ccbf9020717b7e69b6c70e40a264bc2
refs/heads/master
2023-05-23T07:15:29.023973
2021-05-29T02:17:32
2021-05-29T02:17:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,284
h
command_options_datasrc.h
#ifndef command_options_datasrcH #define command_options_datasrcH #include "corn/data_source/vv_datasrc.h" #include "corn/primitive.h" #include "corn/container/text_list.h" #include "corn/application/arguments.h" #include "corn/OS/directory_entry_name_concrete.h" #ifdef __BCPLUSPLUS__ #ifndef CROPSYST_VERSION ...
36470c659fecac0dcb4bf579c67fea0aebce4fa4
96cd9912bcfd023f1238ccfa4dac06b4dd8d833e
/hummingbird.h
a4a7039a0babe72448fc17002d0ce910fa8b81b3
[]
no_license
SeNat07/Birds
ec91fc425a29e136a4e70c26e5ab495be97d6c5b
b5df4406b466c4915bfcaeb086552d33e144fae4
refs/heads/master
2023-01-23T16:02:22.108626
2020-05-16T17:07:54
2020-05-16T17:07:54
264,442,479
0
0
null
null
null
null
UTF-8
C++
false
false
538
h
hummingbird.h
#ifndef HUMMINGBIRD_H #define HUMMINGBIRD_H #include <iostream> #include "flying_bird.h" using namespace std; namespace hummingbird { class Hummingbird : public FlyingBird { public: Hummingbird(); void info(); string whatLovesToEat(); string getFavoriteFood() { return favoriteFood; } void setFavoriteFood...
973452e90cd84672571bbc57924ff212bee19802
a3a942e6839b05b0e0032cc7245e64f5646751af
/section8_cjl_ref2/69.999/phi
0537b5a05e55210192a83564f997dce75c1020ca
[]
no_license
carsumptive/OF-2
8826dc120b8a1f6b9fbd70e47cda6976f80d6ca7
dfb46ab301dfded517b579cb59df02df14bcfd2f
refs/heads/main
2023-04-08T18:45:15.811682
2021-04-08T14:51:19
2021-04-08T14:51:19
355,948,191
0
0
null
null
null
null
UTF-8
C++
false
false
342,319
phi
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
522d5cbe48d2514a693a0afc66f504e5005fd65e
19349c1992e35a9eefb1f705dccc4ebec7891cec
/tool.h
ecc09eabee9402eb27dc3cbda3c96f53eb287f45
[]
no_license
VideoLiam/acnode-cl
2a0e553b06d600a2795ac1a6a631a28f66d6dc2a
3de2d1a42d99c81915218e7fcf13354a81b0a506
refs/heads/master
2020-04-15T11:51:55.776135
2015-05-09T22:30:01
2015-05-09T22:30:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
409
h
tool.h
#ifndef _TOOL_H_ #define _TOOL_H_ #include <Energia.h> #include "user.h" class Tool { public: Tool(int pin); Tool(int pin, int onpin); void poll(); void startrunning(); void stoprunning(); void on(user user); void off(user user); void begin(); private: int _toolpin; int _t...
85c2c27a663dc07fbfc345250cdf15ccddda932b
868778cfaff0103c350abbb7af2aaddb62eae40c
/Chapter 11/11-12/main.cpp
a6c9b867ac5c2215dd52a8aeebbcbb64c2c261f1
[]
no_license
Jerrydepon/C_plus_plus_Practice
a1f3287f98a0fb625218cfccfb9228d040186f13
d75a4d3be64c6030d020c10a5bbb86e8313415c1
refs/heads/master
2020-07-06T16:36:38.765385
2019-08-19T02:03:19
2019-08-19T02:03:19
203,080,358
0
0
null
null
null
null
UTF-8
C++
false
false
544
cpp
main.cpp
#include <iostream> #include "feetinch4.h" using namespace std; int main() { FeetInches first, second, third; int f, i; cout << "Enter a distance in feet and inches: "; cin >> f >> i; first.setData(f, i); cout << "Enter another distance in feet and inches: "; cin >> f >> i; second.setData(f, i...
9c16faa24722aef189f1a6f947b345ae8b77a4f3
9325e8133fe8c00c6538415d5a8d21589ad6c63f
/dynamic_programming/edit_distance.cpp
e63a9e2f5ebc68a141fbc908978622abedf0f03e
[]
no_license
nskprasanth/practice
91fc14d7d62451f96d4212679da805f1934e4136
8283cfe4880998d59bace2fc5a4fd7c44492fd4e
refs/heads/master
2021-01-10T05:49:22.425097
2015-11-16T02:10:20
2015-11-16T02:10:20
45,445,907
0
0
null
null
null
null
UTF-8
C++
false
false
1,384
cpp
edit_distance.cpp
/** * Given two strings str1 and str2 and below operations that can performed on str1. Find minimum number of edits (operations) required to convert str1 into str2. * Insert * Remove * Replace * All of the above operations are of equal cost. Can be easily customized for different costs. * -- Example -- * ...
1793c45648a429d6c6aed4d245f8ad2a772e6650
fa3b8a8253deb70fac9cdd4d43d9b583ee99b276
/home_weather.ino
9d55c2bff30274c9757c7c0e78dd6ba1accebf3e
[]
no_license
shtirlic/arduino-sketches
c5d115e81c0e8313353a8295e89c39e96022709f
40a0e1ce142be8f268eaa5c0941ee9a699e7bd1c
refs/heads/master
2021-01-23T10:00:31.737515
2013-03-23T20:50:52
2013-03-23T20:50:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,769
ino
home_weather.ino
#include <Wire.h> #include <LiquidCrystal_SR3W.h> #include <DHT22.h> #define APP_VERSION "0.1" #define CONTRAST_PIN 5 #define DHT22_PIN 6 #define LDR_PIN A0 #define STATUS_LED_PIN 13 #define BEEP_PIN 11 #define CONTRAST 120 #define MEASUREMENT_DELAY 5000 DHT22 myDHT22...
0882aa90a7781da479859802cc5936eae56cdeda
148b778983b0df3328adb85cdb5e046c8be6a4d6
/book/8_recursion/8_5.cpp
bd51170d4365c27a80faf8782abaaa344fac8e2b
[]
no_license
mascai/exercise
9dcbdca7038ca9b02b1bf9abc0ead354f4e06ba1
c58912261126ae3ed4b44cb466344f4b8c4d8c6c
refs/heads/master
2023-06-24T12:15:32.170458
2023-06-08T18:20:19
2023-06-08T18:20:19
95,127,196
1
1
null
null
null
null
UTF-8
C++
false
false
1,252
cpp
8_5.cpp
/*Напишите рекурсивную функцию для умножения двух положительных целых чисел без использования оператора * . Допускается использование операций сложения, вычитания и поразрядного сдвига, но их количество должно быть минимальным.*/ #include <iostream> #include <stdio.h> #define For(x,n) for(int x = 0; x < n; ++x) #incl...
345abb2e2307ed999a885ced2bffb6cc96350a9b
bd226417f1cc508a6fdadf8c996552184e89b34e
/competitive_coding/inversionCount.cpp
38ec2f00042f370b8e2e3ab2efb9a7be4e4c554b
[ "MIT" ]
permissive
rupav/cp
5876a42f5d86df482426b523fdeddcd84843c373
0b4c20ef3504472c1b0a9bbf586bb2daae9631c5
refs/heads/main
2023-02-24T23:21:31.930979
2021-01-30T06:08:15
2021-01-30T06:08:15
334,339,922
0
0
null
null
null
null
UTF-8
C++
false
false
1,853
cpp
inversionCount.cpp
/// Inversion count - count of elements for each i(0 to n-1) such that arr[j] > arr[i] for all j>i. #include<bits/stdc++.h> using namespace std; #define fr(i,n) for(int i=0; i<n; i++) #define rep(i, st, en) for(int i=st; i<=en; i++) typedef long long ll; typedef pair<int, int> pii; ll mod = 1e9+7; int getNext(int i, ...
d03b19d08e1df7451c8e7d5b55ba2a26b8fdca45
32c3c90c4c8e3e47fb5252f97213556bba84f30b
/week11/boj1577/orihehe_1577.cpp
9fbfdaf19ead92155382aabc2fa18ec697c24367
[]
no_license
onww1/Soft-Algorithm-Study
8b4398ca8afcce64ec3e01609b0661044636bd39
6b66759a3e542d22b06433ff46aa82a0f883b529
refs/heads/master
2020-04-16T17:07:39.029418
2019-12-23T23:05:57
2019-12-23T23:05:57
165,763,614
3
3
null
2019-03-10T07:13:26
2019-01-15T01:32:14
C++
UTF-8
C++
false
false
1,308
cpp
orihehe_1577.cpp
/* BOJ 1577 - 도로의 개수 시간복잡도 : O(MN) 공간복잡도 : O(NM) 현재 정점에서 왼쪽도로와 윗쪽 도로가 공사중인지 아닌지를 vec에 체크해줍니다. 그리고나서 왼쪽, 윗쪽 도로에 대해 공사중이 아닐 때 그곳까지의 경로를 더해줍니다. 도로정보는 칸마다 번호를 매겨 저장해주었습니다. */ #include <cstdio> #include <algorithm> #define ll long long #define pii pair<int,int> using namespace std; /* 🐣🐥 */ ll dp[101][101]; bool vec[1...
5b828feebd313d47505fdc6d26706bbee46ca2c7
b2f33b1842536f9d80d44b7a7cb9585042f38204
/projects/HouJiePrac/oop/templateMethod.cpp
cdc744464b3d9a3110f9b6d69020f8f546532bd6
[]
no_license
freedomvictory/cpp-practices
250650017175fd4b90bb1e53f6ddc6928be6055b
ccc77d7aed50e002029cbb7a93a8ac56324c1a20
refs/heads/master
2023-03-09T16:55:34.709710
2021-02-27T03:38:03
2021-02-27T03:38:03
310,278,012
0
0
null
null
null
null
UTF-8
C++
false
false
684
cpp
templateMethod.cpp
// // Created by dingguoliang on 2021/2/25. // #include <iostream> using namespace std; //template method class CDocument { public: void OnFileOpen() { cout << "dialog .." << endl; cout << "check file status..." << endl; cout << "open file..." << endl; Seria...
2052d93152a57299b13b81bc90f9213cc034f076
89714ac860fc9cdc71c1b8a87a91f5ebb892173f
/gameboard.cc
640808082dd23ae50f9a986b2a570fbe10d33930
[]
no_license
F1nde/Carcassonne
cf3cac80a6fa11346ff5f4c1a0c200c752fce1af
efde0677b0b5375fbb28922059a03414f467188c
refs/heads/master
2021-05-09T05:08:15.564123
2018-01-28T21:39:58
2018-01-28T21:39:58
119,299,845
0
0
null
null
null
null
UTF-8
C++
false
false
7,213
cc
gameboard.cc
#include "gameboard.hh" #include "gameconstants.hh" #include "card.hh" #include "pointcard.hh" #include "playerdatabase.hh" #include <QDebug> #include <memory> gameBoard::gameBoard( int width, int height, std::shared_ptr<playerDataBase> dataBase ) { firstTurn_ = true; dataBase_ = dataBase; tile_ tile; ...
6f5912762ffe1834bac1334be7934fc7ed32f4cf
263bc70c476d7ab9a9653a149513a417d34f0f77
/app/Wifi.cpp
61f83b77ed5cf61dfc44449c69a134151663e2dc
[]
no_license
sosarkar/MySensorsGateway
30802fbca2a2b496453c140ded5de15fee86d80a
12f478df543ae0bd54e932050d575bccabd07262
refs/heads/master
2021-01-16T21:57:09.925034
2016-02-25T02:59:39
2016-02-25T02:59:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,601
cpp
Wifi.cpp
#include <user_config.h> #include <SmingCore/SmingCore.h> #include <SmingCore/Debug.h> #include <globals.h> #include <AppSettings.h> #include "Wifi.h" void wifi_cb ( System_Event_t *e ) { Wifi.handleEvent(e); } extern void otaEnable(); void WifiClass::begin(WifiStateChangeDelegate dlg) { changeDlg = dlg; ...
764c8eeb44bf2c457e23ee1e93498c3d6eab116c
c9b02ab1612c8b436c1de94069b139137657899b
/server/app/data/ResourceManager.cpp
e4ecb506cdc5244b017cbe21030b70dfbb24dd14
[]
no_license
colinblack/game_server
a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab
a7724f93e0be5c43e323972da30e738e5fbef54f
refs/heads/master
2020-03-21T19:25:02.879552
2020-03-01T08:57:07
2020-03-01T08:57:07
138,948,382
1
1
null
null
null
null
UTF-8
C++
false
false
1,050
cpp
ResourceManager.cpp
/* * ResourceManager.cpp * * Created on: 2016-9-2 * Author: Ralf */ #include "ResourceManager.h" #include "BaseManager.h" unsigned OfflineResourceItem::CalcAddExplotBox(int exploit, int box_lvl, int add_exploit) const { if (add_exploit <= 0) { return 0; } try { ExploitBoxCfgWrap cfg; unsigned o...
7ac774a1eef3bdf24797e84681294db9aeeb8039
f7759fb3e7ffee16271ad30a0333312eef027742
/src/transformations/transformations.cpp
e004401a8a4238ef07216f68d5ffbe61ff41985b
[]
no_license
xz1548/FacePro
276f68a6e038d6b85b8833db1ddeb68705a01ebb
ffabd5e29353d05ebd1e80c896e2cec52f5ff7b3
refs/heads/master
2023-03-20T18:39:56.106156
2021-03-22T14:17:26
2021-03-22T14:17:26
350,535,342
0
0
null
null
null
null
GB18030
C++
false
false
205,524
cpp
transformations.cpp
#include "..\..\head\transformations\transformations.h" #include <cmath> const int MAXN = 11; const double a = -320.0; const double b = 320.0; const int MAXQ = 20; const int MINQ = -20; const int MAXL = 128; const double MAX = 1000.0; const double MIN = 100.0; int K;///the number of charges double Matrix[MAXL][MAXL...
c6d563822911be5971a107945d07c968327978c3
da19b619f3eddf61f4b46bfb310959e26a3b27bb
/src/compiler/osr.cc
3360a1a321f81f86259e56523dffea76e161b58f
[ "BSD-3-Clause", "bzip2-1.0.6" ]
permissive
brandonobermeyer/taint-chromium-v8
40c497ddf4806f28a320e9c14ac15221db6c31d3
3da5a729e83a8bf1e6ef308f1e24f43931fa1772
refs/heads/master
2022-11-04T19:59:22.294635
2015-01-13T20:27:55
2015-01-13T20:28:13
30,933,984
5
1
null
null
null
null
UTF-8
C++
false
false
1,906
cc
osr.cc
// Copyright 2014 the V8 project 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 "src/compiler.h" #include "src/compiler/common-operator.h" #include "src/compiler/control-reducer.h" #include "src/compiler/frame.h" #include "...
88687d49b2562509b7734c6d4f0144fac6d6df0c
e1ea290c9d0e7280648f72a585a18cddecba0316
/DesignPatterns/Whip.h
1af75f5a2955de62c584a6fa6e402c986d3cf0e8
[ "MIT" ]
permissive
ITnull/DesignPatterns
3ffc8e1c474333ac1c000f59f4b640d39531c626
2753f1a62b0fd2f94d460819f63075916c24ecbc
refs/heads/master
2020-11-24T18:22:51.739162
2020-04-22T15:12:06
2020-04-22T15:12:06
228,289,524
1
0
null
null
null
null
UTF-8
C++
false
false
176
h
Whip.h
#pragma once #include "CondimentDecorator.h" class Whip : public CondimentDecorator { public: Whip(); ~Whip(); virtual double cost(); virtual string getDescription(); };
b4274df5da190fdc625bf4e0f0789b391dc25049
3b1d08997d0dc9c444f2bdaaab55a8606c60d332
/IOCMain/Download/ZModemRecv.cpp
718418dd340098baa4536e00983f9a826407f9ba
[]
no_license
zjsaisi/sm2000
8303ece373516c871694d382bb3daef9f5129d1a
0fa74cdb7566621162e1845dd4558723182a49ac
refs/heads/master
2020-04-16T09:22:12.797424
2019-01-23T10:31:07
2019-01-23T10:31:07
165,461,667
0
1
null
null
null
null
UTF-8
C++
false
false
18,279
cpp
ZModemRecv.cpp
// ZModemRecv.cpp: implementation of the CZModemRecv class. // ////////////////////////////////////////////////////////////////////// // MFC specific #include "stdafx.h" #include "ZModemRecv.h" #include "comm.h" #include "Storage.h" #include "CRC16.h" #include "CRC32.h" #include <stdio.h> #include <string.h> #include...
b2fd9a050c96e5d360c7621548eccce581ff5b66
c14fe08ab8d4d18ee33f9f544eb75e16a85a04f7
/Source/SummerDeliverables/WaveManager.h
1e67a063bf129c1b52f1a43284a796a71c0570ae
[]
no_license
Deme72/Summer-Deliverables
98ceb887c5267a42fc0e3103df31800a85f85e7c
74963af343747d1015e31600e9e0e6a293ba9112
refs/heads/master
2023-02-25T08:43:19.918941
2021-01-03T18:02:58
2021-01-03T18:02:58
282,299,276
0
0
null
null
null
null
UTF-8
C++
false
false
3,920
h
WaveManager.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "BaseEnemyCharacter.h" #include "GameFramework/Actor.h" #include "WaveManager.generated.h" UENUM(BlueprintType) enum EEnemyType { CriminalTier1, CriminalTier2, CriminalTier3, LeaderTier1,...
e4b189e2a0659a343ce964b16a3dfc4299b88ce4
c9cf0586ace11aa32fa67606d237a130a06364ee
/circular-cylinder-2-10/19.75/phi
547d04a764346036daaa0ef86a9988934899805c
[]
no_license
jezvonek/CFD-Final-Project
c74cfa21f22545c27d97d85cf30eb6dc8c824dc1
7c9a7fb032d74f20888effa0a0b75b212bf899f4
refs/heads/master
2022-07-05T14:43:52.967657
2020-05-14T03:40:56
2020-05-14T03:40:56
262,370,756
1
1
null
null
null
null
UTF-8
C++
false
false
199,024
phi
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6.0 \\/ M anipulation | \*-----...
aa2107212613f68abacfca0301d55367bf84295b
58457842abd6ac0073ce969eccb1ed22caef9ea2
/lulib/win32api/font/detail/attribute/init.hpp
755370fe215db9fca42ae4c6c0c4a350ac16dc5c
[]
no_license
luluci/lulib
abbf7cf09765bd1a76ed1acf30b289b111b8f431
235378b85cb07169ffc627021cd01094affd5c99
refs/heads/master
2021-03-12T23:01:26.865103
2012-01-02T15:19:33
2012-01-02T15:19:33
1,025,943
0
0
null
null
null
null
UTF-8
C++
false
false
339
hpp
init.hpp
#pragma once #pragma warning(disable : 4819) #include <windows.h> namespace lulib { namespace win32api { namespace font_detail { namespace attribute { struct init { init(HWND hWnd) : hWnd_(hWnd) {} inline HWND operator()() { return hWnd_; } private: HWND hWnd_; }; }}}}// namespace lulib::win32api::window...
b7ef0521093b92ab92f2196decc39c8f9520dbbb
b84e06f21f99e59fa10388d0dffa9c12d56dcc3b
/src/Cryptography/Tests/TestChecksum.cpp
5c500b6244052fc34100331e6324b89a8498a1a8
[]
no_license
visualcortex/Foundation
de238b9e15c8a2a957f3a94ea1bdb2f1179e48ec
bacc6151bceae65ea2c2ebfc64aab6491abb3f3a
refs/heads/master
2021-01-22T02:40:06.790379
2012-06-01T01:43:40
2012-06-01T01:43:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,297
cpp
TestChecksum.cpp
/****************************************************************************** * @file * @author Ivan Makarov <im.visualcortex@gmail.com> * * @section LICENSE * * Copyright (C) 2012, Ivan Makarov * Licensed under the MIT license. * ********************************************************************...
cd8c7552e4a35c47269fec0b3cd36bd05a382df6
eddeb9c9967493d441e135a68f40c45bd9ea3036
/main.cpp
7fc427729da9984923e311210805f2f95d5306d0
[]
no_license
patrickmaingi/3GL
69db4d0b24fa02cbd139d84faa4cad621bcddbe8
fcf74b1c8606a9e2a59a5e6851dded7f8dc919ab
refs/heads/main
2023-07-04T14:21:19.526821
2021-08-10T07:13:55
2021-08-10T07:13:55
394,523,655
0
0
null
null
null
null
UTF-8
C++
false
false
11,256
cpp
main.cpp
#include<stdio.h> #include<GL/glut.h> float speed=0.5; int x=-1,y=-1,z=-1; float rotate[3]={0,0,0}; int axis=-1; int flag=1;//rotation is disabled int size=0; float a=0.5,b=0.5,c=0.5; GLubyte roofPat[]={ 0xff, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, ...
a1695d74b0ed05e087e52e9db7673d0e46524a7f
b39b0652150a981c9e08d63b78a5b8d57197601e
/doom_py/src/vizdoom/src/g_hexen/a_fighterhammer.cpp
42aae31fbdd230790309fd795d6fad5c5c2f6795
[ "MIT" ]
permissive
jaekyeom/doom-py
476026afd7dad6ecd47cf2633c745e3b09fa5c9c
a7d08a0f2e92b0ba4be538e182791be4c5a11a1b
refs/heads/master
2020-03-06T18:52:38.651857
2018-04-05T14:28:14
2018-04-05T14:28:14
127,015,715
1
0
MIT
2018-03-27T16:29:10
2018-03-27T16:29:10
null
UTF-8
C++
false
false
3,445
cpp
a_fighterhammer.cpp
/* #include "actor.h" #include "gi.h" #include "m_random.h" #include "s_sound.h" #include "d_player.h" #include "a_action.h" #include "p_local.h" #include "a_action.h" #include "p_pspr.h" #include "gstrings.h" #include "a_hexenglobal.h" #include "thingdef/thingdef.h" */ const fixed_t HAMMER_RANGE = MELE...
9346096fcb93e85376735d3e1f8870c391f0faa5
059ad38cb52ef27eba41a73662a780676f981cb4
/src/TerrainSizeInputDialog.h
1cacbc000cd44d4dc76aedb610cc2758e8b8d8da
[]
no_license
Arking1995/DSC
0745f30d2131ff8ee0d1ab9406b4750c7f528b94
5c1dc1007ca2a1918238663243ce5511c3e7dd96
refs/heads/master
2020-06-12T13:19:34.909699
2019-08-15T20:02:21
2019-08-15T20:02:21
194,311,855
0
0
null
null
null
null
UTF-8
C++
false
false
413
h
TerrainSizeInputDialog.h
#pragma once #include "src/glew/include/GL/glew.h" #include <QtWidgets/QDockWidget> #include "ui_TerrainSizeInputDialog.h" class MainWindow; class TerrainSizeInputDialog : public QDialog { Q_OBJECT private: Ui::TerrainSizeInputDialog ui; MainWindow* mainWin; public: int side; int cellResolution; public: Ter...
3254c38528d2452e6aeb83ddc9591630e05fe889
79564cffc852b4d7b01b500b178ce6bfde893bbf
/sivparameters.cpp
e455713437f6f9f91ef3b32286a23eff3a225f8e
[]
no_license
xiaomailong/Guangzhou
e72f3133975c0b3e80464220b868a34d956b0da2
2e824e01c6b1f5ac487ac798ffdf440ffe39cd94
refs/heads/master
2021-06-21T23:38:28.961981
2017-08-14T09:34:28
2017-08-14T09:34:28
106,808,496
0
1
null
2017-10-13T10:03:09
2017-10-13T10:03:09
null
UTF-8
C++
false
false
12,580
cpp
sivparameters.cpp
#include "sivparameters.h" #include "ui_sivparameters.h" #include "tableacontrol.h" #include "vehiclelogo.h" #define _MAX_PAGE 2 SivParameters::SivParameters(QWidget *parent) : MyBase(parent), ui(new Ui::SivParameters) { ui->setupUi(this); this->tableControl = new TableAControl(this); this->table...
e812cc0e3ca39f060f8d615a6f54d23b6dfffc78
fcb631f65ce83f9593657e5fc45117e977361965
/Contest/Round #629/B/main.cpp
7f93005551f0ec3b4da563f31ac6875a4ba95f8a
[]
no_license
MassimoSandre/Codeforces
5e0592c0ed53811e2046bbd0c5bd60be2c0853f3
6d52bfcf39c4cf5bee2f00388cc42634f2a46009
refs/heads/main
2023-04-08T20:14:21.958488
2021-04-17T12:09:45
2021-04-17T12:09:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
550
cpp
main.cpp
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <math.h> using namespace std; int main() { unsigned long long t, n, k, p1=-1,p2,temp; cin >> t; for(int i = 0; i < t;i++) { cin >> n >> k; temp = (-1+sqrt((unsigned long long)1+((unsigned long long)8*(k-1))))/2; p...
093e95dd94e60c074717e2dfaf827f605ed7e14a
1dbf007249acad6038d2aaa1751cbde7e7842c53
/frs/include/huaweicloud/frs/v2/model/AddFacesByBase64Response.h
44f08bb057939787719c1cfcf81d737d33aa2c46
[]
permissive
huaweicloud/huaweicloud-sdk-cpp-v3
24fc8d93c922598376bdb7d009e12378dff5dd20
71674f4afbb0cd5950f880ec516cfabcde71afe4
refs/heads/master
2023-08-04T19:37:47.187698
2023-08-03T08:25:43
2023-08-03T08:25:43
324,328,641
11
10
Apache-2.0
2021-06-24T07:25:26
2020-12-25T09:11:43
C++
UTF-8
C++
false
false
2,405
h
AddFacesByBase64Response.h
#ifndef HUAWEICLOUD_SDK_FRS_V2_MODEL_AddFacesByBase64Response_H_ #define HUAWEICLOUD_SDK_FRS_V2_MODEL_AddFacesByBase64Response_H_ #include <huaweicloud/frs/v2/FrsExport.h> #include <huaweicloud/core/utils/ModelBase.h> #include <huaweicloud/core/http/HttpResponse.h> #include <huaweicloud/frs/v2/model/FaceSetFace.h> ...
0108effd84ae16ec49542d5447af4d8bd0a15add
49e2bccf605c332d66bf8006839e17f671b28128
/include/PololuMath.h
dc1a0f08151d3fd745fdc1c531e4c11140b31fb5
[]
no_license
hansonrobotics/ros_pololu_servo
73ab035e891a871e01c24172c03b1d51261dac81
114bedb365818573058bee2dc9abd9e83c01c3f3
refs/heads/master
2021-01-18T06:18:34.406912
2015-06-02T04:38:55
2015-06-02T04:38:55
20,589,372
1
1
null
2015-02-03T11:28:08
2014-06-07T09:03:48
C++
UTF-8
C++
false
false
524
h
PololuMath.h
#pragma once #include <ros/ros.h> #include "Motor.h" #include "Calibration.h" #include <angles/angles.h> class PololuMath { public: static double EPSILON; static bool are_same(double a, double b); static double interpolate(double value, double old_min, double old_max, double new_min, doubl...
64ea94eaaf4dcd6dfa20de545dc63f6c03f51b0d
efe1131a33ee82e7c46b5af4cf200dcae8eb4add
/mfc/SRC/16-BIT/DLGCORE.CPP
0cc553067c1780d432e8b76a1909a97ad72f9439
[ "BSL-1.0" ]
permissive
ALEHACKsp/dmc
819398bbb46e8b5a8ef5c344ef2a0f8b4ee8903c
9478d25a677f70dbe4fc0ed317cc5a5e5050ef8b
refs/heads/master
2022-12-28T13:36:57.721262
2020-10-11T07:47:16
2020-10-11T07:47:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,966
cpp
DLGCORE.CPP
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1993 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and Microsoft // QuickHelp and/or WinHelp documentation provided with...
5e0c0afc047baab644dd24b8689c8484efdbd86b
7cc4bd5ce79fcbaa5fa2a58558aa05f89df0f7a4
/attic/torsor.hpp
c6a5ed36e72dc6490296849505805361d269c770
[]
no_license
wovo/godafoss-c-
5bde98b077bfd3a2bb0cbe9057abf5b7b0c3ebf4
77be6d2661be47af6b6591a944c169021ee71020
refs/heads/master
2023-03-17T07:17:15.014692
2021-03-27T10:16:18
2021-03-27T10:16:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,360
hpp
torsor.hpp
/// absolute version of an arithmetic value type /// /// For a value type that denotes a ratio scale value (a value /// for which addition yields a value on the same scale), the /// torsor of that type is the corresponding interval scale /// (anchored) type. /// /// Examples of ratio scales and their corresponding a...
672714a07cebe24a8f6799fc4bff8db36d03fe71
51e8abe780348857f5023fe97810d6f1fdd5f690
/plane3d/figures/pyramid.h
302194feca21db63282c4c9e3a18dc3aa695725d
[]
no_license
rbaygildin/learn-graphics
959a0182d7a81a7a3c33349e337aa5adea0ff32c
b6b88659b4028a6e3b5c05c68954503afd3e1c97
refs/heads/master
2021-09-15T03:08:58.803772
2018-05-24T19:00:44
2018-05-24T19:00:44
109,318,622
2
0
null
null
null
null
UTF-8
C++
false
false
698
h
pyramid.h
// // Created by Roman Yarnykh on 31.10.17. // #ifndef SEM5_ROBERTS_PYRAMID_H #define SEM5_ROBERTS_PYRAMID_H #include "figure.h" #define PYRAMID_V1 0 #define PYRAMID_V2 1 #define PYRAMID_V3 2 #define PYRAMID_V4 3 #define PYRAMID_V 4 #define PYRAMID_E 6 #define PYRAMID_F 4 #define PYRAMID_P 3 #define PYRAMID_SIDE_...
68f4535ea47bb9b21959d8bb3799c0094d4a9be8
984bc4181baec6e5a4b05a657e666b0e9f89f3f3
/src/tsqlobject.cpp
2cfc72a34cf0bab8014370d2ac0c69ef353113b8
[ "BSD-3-Clause" ]
permissive
treefrogframework/treefrog-framework
0173245ff92162d2107af79861505981980d1eca
a1df97793e8cc628779378e5adae9af6987460c1
refs/heads/master
2023-08-22T03:57:58.891846
2023-05-18T14:00:42
2023-05-18T14:00:42
7,067,532
1,152
263
BSD-3-Clause
2023-08-08T20:25:03
2012-12-08T13:17:01
C++
UTF-8
C++
false
false
18,725
cpp
tsqlobject.cpp
/* Copyright (c) 2010-2019, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include "tsqldatabase.h" #include "tsqldriverextension.h" #include <QCoreApplication> #include <QMetaObje...
15b16d96d46b5964f70cd5cca2f61c7383bd80a7
89a71d5d812c512f0ce38b95f65ac0ccfdfb7866
/Ex_Files_C_PlusPlus_Templates/Exercise Files/Chap06/stablesort.cpp
b256a389b1ae3b2971fb7888b85eab9763e1b168
[ "MIT" ]
permissive
gilson27/learning_experiments
03db1e903662efbb635f465ff3bca1bbb7fd7855
c329b1e0de8dd50afc70fb257540b569927156d1
refs/heads/master
2023-04-07T19:42:18.343118
2020-05-13T09:18:39
2020-05-13T09:18:39
225,115,257
0
0
MIT
2023-03-25T00:13:01
2019-12-01T06:12:41
Python
UTF-8
C++
false
false
927
cpp
stablesort.cpp
// stablesort.cpp by Bill Weinman <http://bw.org/> // 2018-10-01 for CppSTL #include <iostream> #include <algorithm> #include <vector> using namespace std; template <typename T> bool mycomp(const T & lh, const T & rh) { return int(lh) < int(rh); } template <typename T> void disp_v(const T & v) { if(!v.size())...
38df25489dc46457baa86b0423d545d54d3a0d5f
1a3f297fc535af61bdb80e4fc7cc0df54764d353
/include/Hitbox.h
ee15c2d706e3e9981e4c41d7358a79b5afa75af4
[]
no_license
adriengivry/Platformer-Engine
42af71936fe10ba3c5e94f3971aff13fcd345d7d
7f7c83d480ab65d3607a273cd1f21144759f72be
refs/heads/master
2021-07-24T20:10:00.307969
2017-11-05T16:19:31
2017-11-05T16:19:31
109,282,045
0
0
null
null
null
null
UTF-8
C++
false
false
844
h
Hitbox.h
#pragma once #include "cinder/app/App.h" #include "Component.h" class Hitbox : public Component { public: explicit Hitbox(const float p_x = 0, const float p_y = 0, const float p_sizeX = 0, const float p_sizeY = 0); ~Hitbox() {} glm::vec2& GetPosition() { return m_position; } glm::vec2 GetPosition() const { retu...
4c7ae21f4c32043df33419754ce7b9b07a109254
68a1b52b579629a8ca9daa5c61bbbdba69aa96a4
/RNG.cpp
1217db5eebedf3ce4d0f12659d44a053700227a5
[]
no_license
minhnq410/DSA_Lab
e9031f74c8d233486b455563e4e10c4e1288f107
38ba7e8532f4730a325e887af7a720f4f2590c82
refs/heads/master
2020-03-29T13:53:11.412386
2018-11-13T09:22:09
2018-11-13T09:22:09
149,987,065
0
0
null
null
null
null
UTF-8
C++
false
false
415
cpp
RNG.cpp
#include <fstream> #include <cstdlib> #include <ctime> using namespace std; int main() { srand(time(NULL)); int n = rand() % 100 + 1; int array [n]; for (int i = 0; i < n; i++) { array[i] = rand() % 1000 + 1; } ofstream fileOut ("EXX2.IN.TXT"); fileOut << n << " "; for (...
23fcc7f3a9b961947267d3cddaa104101324e076
71214e50d567967dcbb5721505fabbf076243023
/includes/edge.h
e1de45b94fe30152f1e4948430df9e1f4b58462e
[]
no_license
yebra06/prims-algorithm
20661436697a08c1a2c500850ba12bb7fbe79399
4e5101bc9853f61cf8db7af300803074a23c2aaf
refs/heads/master
2021-01-01T04:13:01.146630
2017-05-10T02:52:24
2017-05-10T02:52:24
56,794,381
1
0
null
null
null
null
UTF-8
C++
false
false
235
h
edge.h
#ifndef EDGE_H #define EDGE_H class Edge { public: /// Member variables. int index; int end1; int end2; int weight; /// Member methods. Edge(int index = 0); void edge_set(int end1, int end2, int weight); }; #endif
4d94178da2d35fc910e3fa73220fedd551063a10
4e71065fa9f81d3ada64a4807fdf288be0fefd33
/weex_core/Source/include/JavaScriptCore/profiler/ProfilerOrigin.h
ded74502ffd33bc1cc201b85c96e477318ddb7b5
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
acton393/incubator-weex
c2d9fc7f80eed5d95b054ab6f1af42f8ef9cd47a
c7dd6c76fe726a4413b08d3c895c91d521d01755
refs/heads/master
2021-03-24T12:15:30.348499
2019-01-07T03:19:18
2019-01-07T03:19:18
83,516,877
2
2
Apache-2.0
2018-04-02T09:19:33
2017-03-01T05:48:09
JavaScript
UTF-8
C++
false
false
3,103
h
ProfilerOrigin.h
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
efaf5b6a30ec460820980a7c5b34d66b866d3396
b4078bcdd061deab7bdc7fc085e8dbc10105866b
/ReverseList/reverse_double_list.cpp
b4d46312379b30b91342bd2394091e46178b0876
[]
no_license
xmpace/AlgorithmPractice
5a8cc09e488b38dc6bcb8812af4a5c822772ac86
4a1077267fb8871c93e508d69225c14562c852a0
refs/heads/master
2021-01-23T12:17:36.332167
2013-08-30T08:51:48
2013-08-30T08:51:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,540
cpp
reverse_double_list.cpp
#include <iostream> using namespace std; struct double_list_node { int key; struct double_list_node *next; struct double_list_node *prev; }; static struct double_list_node *double_list_head = NULL; void add_to_double_list(struct double_list_node *node) { if (!double_list_head) { node->next = node->prev ...
211497967f59d9d780f53cff191967ce3bb82c8d
1ef5a27c9326065db448dd539810e900cae9460d
/Classes/Round013_04.h
76195bbc8f234a52cd16cf928938b666a4cedb19
[]
no_license
langtuandroid/SuperBaby
c4e3f7faaa82d40c8da0f518b71251a8ff466c2f
957a5202ba7d1078bdcfb6b0cd6b73a966893efe
refs/heads/master
2021-01-06T20:43:54.083245
2017-06-18T14:19:00
2017-06-18T14:19:00
99,549,410
0
1
null
2017-08-07T07:25:29
2017-08-07T07:25:29
null
UTF-8
C++
false
false
1,859
h
Round013_04.h
// // Round013_04.h // AbelLLExplorer // // Created by Administrator on 2015/03/27. // // #ifndef __AbelLLExplorer__Round013_04__ #define __AbelLLExplorer__Round013_04__ #include "RoundBase.h" USING_NS_CC; class Actor; class SocialShareNode; class StageScene; class Round013_04 : public RoundBase { public: Ro...
5da9e2d768dbed4204a098dccdf52e96b15c9039
c0ce9d59cfe3b2e4ae55e16534272b2d8c4fb0ed
/server/Program.cpp
23eb3897cabb86dd1a2ad517fb0f5f489d4449b0
[]
no_license
TheNytangel/Networking
4c6a595e97326ec5d88433309fe28179ec2d02c9
2211ee1dae933774138c851089b266f72600ed30
refs/heads/master
2021-01-20T02:38:19.667889
2017-04-26T04:04:14
2017-04-26T04:04:14
89,436,336
0
0
null
null
null
null
UTF-8
C++
false
false
6,234
cpp
Program.cpp
#include "Program.h" // Need to initialize the acceptor before the rest of the class actually runs. Run on port 420 CProgram::CProgram() : acceptor(service, asio::ip::tcp::endpoint(asio::ip::tcp::v4(), 420)) { } CProgram::~CProgram() { } void CProgram::initialize() { // Make space for 4 threads in the vector so t...
63be03a4092206ecd74755339bb58539920445f0
ab0e971833988ece49ea9c6be17826779abec43a
/introduction.cpp
f0594b79a297822943fd3b448a3f19cf2ac28d53
[]
no_license
yogendrarp/concurrent-cpp
da7d9250cfd49d734e61ab115e5026b46093303a
7e821fe70a0a2075c0a988d6fb4d14f03a462bbd
refs/heads/main
2023-04-24T04:14:34.949355
2021-05-13T04:30:00
2021-05-13T04:30:00
365,938,918
0
0
null
2021-05-13T04:30:01
2021-05-10T06:22:46
C++
UTF-8
C++
false
false
554
cpp
introduction.cpp
#include<iostream> #include<thread> using namespace std; void function_1(){ cout<<"Beauty of thing is joy forever"<<endl; } int main(){ thread t1(function_1); //t1.join(); //main thread waits for t1 to finish t1.detach(); // t1 is free on its own and main thread may exit before the exc of child ...
ee30dfc8f6c6ae02c91e6f245b58acda49462698
a0f45dac9048e2fcb1297c73c4f14811e91d2fdb
/src/Data/RIDS/FibreList.cc
14b4487f05857fce9ffe02b4e3d994d8b7246ba2
[]
no_license
snoplus/snogoggles
ef6bd1078d5327d8263362e0cc6a04fac24243b6
ae6051ba5b0fe9caf0bd569d4f3577b28afa421b
refs/heads/master
2016-09-05T21:19:38.710515
2013-06-13T15:10:16
2013-06-13T15:10:16
3,463,699
4
1
null
2013-03-29T23:44:57
2012-02-16T20:34:27
C++
UTF-8
C++
false
false
2,678
cc
FibreList.cc
#include <RAT/DB.hh> #include <RAT/Log.hh> #include <string> using namespace std; #include <Viewer/RIDS/FibreList.hh> using namespace Viewer::RIDS; void FibreList::Initialise( int /*runID*/ ) /// < Run ID defines which pmt info table to use { RAT::Log::Init("/dev/null"); RAT::DB* db = RAT::DB::Get(); assert(...
d946a02f2d07c5bcdcc08cf55730f75ce759b060
5722320a61864ceef8e02d79dea6fe568117b8e6
/include/bbn/electrons.h
4fe45f0f3bbbe0ad2c0814c04e7eb528fd214abd
[]
no_license
GraCosPA/BBN
390dc463bead631e51cb07b0f4d91f89ece3216c
39a7c94be79ad8008a9bf95beeb69bd210d7d7ea
refs/heads/master
2022-02-23T17:04:31.503963
2016-03-14T14:29:15
2016-03-14T14:29:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,872
h
electrons.h
#ifndef __BBN_ELECTRONS_H__ #define __BBN_ELECTRONS_H__ #include <iostream> #include <fstream> #include <sstream> #include "bbn/common.h" #include "bbn/structures.h" double Analytical_form_inverse_compton(double s, Structure_Spectrum_and_Precision_Parameters * pt_Spectrum_and_Precision_Parameters); double rate_ele...
67be72210a472ff9cecf3723509897d6d90f8618
e7b17850c0826f8ee69cbd5354a0e4873ad8a1be
/list.cpp
7e5cc69867f99e27085ab6fcec90efbc39488baa
[]
no_license
subhashis002/CPP
a717ef9c5d5d9b6f701a21994ad6e33b1dfcc47a
c6abb8ce55ede1ba191ce47a6b9aa4237726def0
refs/heads/master
2020-11-28T10:37:53.029311
2019-12-23T19:19:02
2019-12-23T19:19:02
229,786,644
0
0
null
null
null
null
UTF-8
C++
false
false
521
cpp
list.cpp
#include<iostream> #include<list> #include<vector> #include<iterator> using namespace std; void showList(list<int> g){ list<int>::iterator it; for(it = g.begin(); it != g.end(); ++it){ cout<<*it<<" "; } cout<<endl; } int main(){ list<int> gqlist1, gqlist2; for(int i=0 ;i<10; ++i){ ...
6016dba3ca05317154e96cd61d9bcd1af9c8bdd5
4c143777c2a974e8bf11cab395878bb6048ba73e
/mexfun/BCD_Zpart.cpp
00cd3d86cd123c0454a1179948bdf7ce1fb4849e
[]
no_license
SCUT-OptGroup/Proximal_AM
7da4091224d47c6f11ce9a9e0afae35b021467d7
cc1e1652c4ebf52aa2782dfde720c0cb91eb97d7
refs/heads/main
2021-07-04T13:57:53.748412
2020-10-29T05:43:53
2020-10-29T05:43:53
189,818,059
2
0
null
null
null
null
UTF-8
C++
false
false
1,641
cpp
BCD_Zpart.cpp
#include "mex.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { double *Z, *ylambda, *n, *sig_alpha, *alpha, *beta, *WZ; double *temp_Zk; int m, nn, N; int sum1 = 0; mxAssert(nlhs == 1 && nrhs == 7, "Error: number of variables"); ...
a90a644fc635de757493267c7cf9111414a4ce87
f4a00816d38706c828cb77b973bdeb47af36c1c3
/students.cpp
fb4c3a29d8e696c94c94f5ea1b9e4c229658a621
[]
no_license
InfiniteAndBeyond/Computercontrol
7d60fb4db7ff4abfcf404710972699e514deddaf
a234909e527dd45a6bd1f942d509da17731752f7
refs/heads/master
2020-03-18T02:00:34.591754
2018-05-20T17:12:09
2018-05-20T17:12:09
134,170,263
0
0
null
null
null
null
GB18030
C++
false
false
11,558
cpp
students.cpp
/* #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; struct student { int id; // 学号 char name[30]; // 姓名 char sex[2]; // 性别 float gread; // 成绩 }; typedef struct student DataType; // 指定struct student为DataType struct SeqList { ...
d5a68c419adfd22665255c428d56ef4ad46bbefb
7a473613652611b0b67dcdfa5600e6676a312800
/session09/howdeleteworks.cc
11ce2018eb64994d31cc192a9bd0575d078bc12c
[]
no_license
StevensDeptECE/EE553_2017S
0cac8fa24c7b6672931798cd08ef8e2c39a635b4
6048bd58f9981fb93d0e564e8fbeadffc0d23abb
refs/heads/master
2021-01-11T19:26:57.938467
2017-05-01T02:20:09
2017-05-01T02:20:09
79,369,055
13
6
null
null
null
null
UTF-8
C++
false
false
568
cc
howdeleteworks.cc
class Elephant { private: int* p; // pretend p gets allocated public: Elephant() { cout << "Elephant born"; } ~Elephant() { cout << "Elephant about to die"; } }; int main() { /* 4 p --> int 400 q --> int int int int .... 800 e --> E E E E E...
3a57865356bc7ee817268620124a0da86cf13526
5986cc50dfab725dbb1d04e14e3cb928c7e1ea5f
/src/main.cpp
18f3042702bd9874e6551831672669d3638f834a
[]
no_license
team-iot-fkekk/mkr1000-ILP-favoriot
c283808eab36fb04ae04db238a6b3343079f29d7
57d4b3453c26b30c2a943400ea2a9b7f14594cbb
refs/heads/master
2021-05-19T06:04:11.142003
2020-07-27T16:44:02
2020-07-27T16:44:02
251,559,045
0
0
null
null
null
null
UTF-8
C++
false
false
2,533
cpp
main.cpp
#include <Arduino.h> #include <SPI.h> #include <WiFi101.h> //#include "secrets.h" #define sensorPin 0 //#define pushButton 7 char ssid[] = "YOUR_SSID"; // change it! char pass[] = "YOUR_PASSWORD"; // change it! //const String yourDevice = YOUR_DEVICE_DEVELOPER_ID; // ...
28b73b95522a11bb92e9376ce15ab6d95be7a931
45162ab49fa11b55daa0f3ef5905f99f1ceee226
/Shushao/src/Shushao/Font.cpp
8cd8a3f3e8c91e4b40edb4eff26c7acebc2f5321
[]
no_license
stefanocaronia/ShushaoEngine
727ed7e3931b3a0734e2985c52e97e2b7dcebf2d
1ad17c44eae283b272c519e6ccc3b0d2a00dc41a
refs/heads/master
2023-06-24T20:21:08.641499
2023-06-12T21:30:43
2023-06-12T21:30:43
109,894,922
0
0
null
null
null
null
UTF-8
C++
false
false
1,843
cpp
Font.cpp
#include "sepch.h" #include <glad/glad.h> #include "Resources.h" #include "Core.h" #include "Utility.h" #include "Font.h" #include "GLManager.h" namespace se { Font::Font(std::string filename, std::string n) { if (filename != "") Load(filename); name = (n == "" ? util::basename(filename) : n); } Font::~Font...
0ff26d12fd05c182a480bcdb83c5aabc7fe92e32
0aa9dcb3cef817ec55eaa8fae2102106f939f594
/src/rtcmix/rtsendsamps.cpp
36752fa92a167df813629f59eeaf9233845a2367
[ "Apache-2.0" ]
permissive
RTcmix/RTcmix
fd30a7d610b2b7b8688cbb5a6d77475201b8ad07
4e89415929d7752f325b7813b5aae2a042c08e64
refs/heads/master
2023-08-30T23:23:48.806948
2023-08-22T19:34:56
2023-08-22T19:34:56
21,259,864
45
15
Apache-2.0
2023-06-28T20:53:49
2014-06-27T01:07:32
C++
UTF-8
C++
false
false
4,468
cpp
rtsendsamps.cpp
/* RTcmix - Copyright (C) 2000 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ /* rev'd for v2.3, JGG, 20-Feb-00 */ /* major revision for 3.7 (converted to C++ source), DS, April-04 (see delet...
d016740be9943eea47b97e093e95d898500b3da7
50ee168f18ab161ee8aeb310d7edca190baabeae
/demo4/XCSTG/util/AppFrameWork.h
718501de911c03447d601b71e3fa0c8846e46feb
[]
no_license
lr8soft/xcustomized_standard
9a3d963d65172eb93550095a2e92974b0ca8639a
46f2928a6111175893c40b7637dcbbf9ea40a7e1
refs/heads/master
2020-05-03T14:56:27.783056
2019-05-11T05:01:52
2019-05-11T05:01:52
178,692,080
0
0
null
null
null
null
UTF-8
C++
false
false
759
h
AppFrameWork.h
#pragma once #ifndef _ogl_class_ #define _ogl_class_ #include <GLFW/glfw3.h> #include "../PlayerRenderGroup.h" #include "../BackGroundRenderGroup.h" #include "../EnemyRenderGroup.h" namespace xc_ogl { class AppFrameWork { private: EnemyRenderGroup eygroup; BackGroundRenderGroup bggroup; PlayerRenderGroup rende...
31576733ac42168c1e4daf27eb5d3689eca80577
7a2d4c3d3b236048d5e8f76d98885146d6c3ad38
/src/allapplicationdialog.h
7b71eabab19f5931054a8ab28ebc5d01af9f09bd
[]
no_license
SiteView/MPC-QT
17ad5db1e2addf29d5f6145c78d85806bf997552
99569be35d481d19da5e773401a4704082fc86fa
refs/heads/master
2016-09-16T14:33:00.085154
2013-04-01T03:00:05
2013-04-01T03:00:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,819
h
allapplicationdialog.h
#ifndef ALLAPPLICATIONDIALOG_H #define ALLAPPLICATIONDIALOG_H #include <QMainWindow> #include <QTableWidget> #include <QMenuBar> #include <QToolBar> #include <QSystemTrayIcon> #include <QDockWidget> #include <QClipboard> #include <QSplitter> #include <QTreeWidget> #include <QListWidget> #include <QHBoxLayout> #include ...
366fb7ecad6be6159b8fcaeeda89e9bd09667035
9f3b2fe9d27105fd336c1df6cd13d5f6d353774e
/game/Player.h
139931a1e5b1457fd9ba3806f875d2575d16adab
[]
no_license
Coreficent/Flare
163b02b3dc79a463ec82005cdd58e9cce91b2992
1d72b904c25874382e0e21fb3b2d6b8459b58368
refs/heads/master
2023-03-28T17:17:28.258791
2021-04-13T00:56:53
2021-04-13T00:56:53
347,856,074
0
0
null
null
null
null
UTF-8
C++
false
false
286
h
Player.h
#pragma once #include "flare/Key.h" #include <flare/Sprite.h> namespace Game { using namespace Flare; class Player : public Sprite { public: Player(int window_width) noexcept; void enter_frame() override; private: int window_width{}; float move_speed{ 10.0f }; }; }
9fb1a0488994272ea938a1397af5f679b653a2b3
16b69166caef465ecf44d65f7808ab0c2ecff2d3
/DFS/DecodeString.cpp
b0ce27a29d2ae309b87df48d47962e98cd9964f1
[]
no_license
llu0120/Cpp-Algorithm
10fcc3ac8e3c0c9a55a7ba981fae92e80037267f
3ed4cffd290b9702454facc803a3e530f2e1eaef
refs/heads/master
2020-05-04T03:39:38.219288
2020-04-19T21:25:57
2020-04-19T21:25:57
178,950,835
9
0
null
null
null
null
UTF-8
C++
false
false
2,850
cpp
DecodeString.cpp
/* Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k is guaranteed to be a positive integer. You may assume that the input string is always valid; No extra white spaces, square...
f2c2a437d2908c1e9d8fe608934323ad7c06be2b
00535d7e950011c99049da5b2e324f3239d9d513
/imagesavethread.cpp
98992e6cc8f9ff27cbacab6faf50ec4ed5808138
[]
no_license
SAKURABAi/FluoImaging
5ecae1fb8132fb5b0c51635c9a7a43c751567a75
23b45f71d34514b3d816f61c74179cdbca44d2e3
refs/heads/master
2022-12-17T14:00:17.986056
2020-09-25T05:05:14
2020-09-25T05:05:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,962
cpp
imagesavethread.cpp
#include "imagesavethread.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> ImageSaveThread::ImageSaveThread(QVector<ImageBuffer *> buffers, QString imageFolder, QString prefix, QString imageFormat, QObject *parent) : buffers(buffers), imageFolder(imageFolder), prefix(prefix), imageFormat(ima...
e9f8b9689d9c4ef26c6067a823818eaa5fba29f5
42fb8772cedb232819ac952445b2f4430bff7420
/ChessQtGUI/ChessQtGUI/chessqtgui.h
ba99bc573e1f3ff1a9cd536a44381c7e635606cc
[]
no_license
squaretriangle902/Chess
cabd0bb21e3e411a3a3c5dc7c00e0758cb13339a
5fd88e1e981d8099077ee48b3309db1fc4d44ada
refs/heads/master
2021-05-21T21:44:09.928443
2020-11-18T13:50:21
2020-11-18T13:50:21
252,815,119
1
1
null
null
null
null
UTF-8
C++
false
false
2,059
h
chessqtgui.h
#ifndef CHESSQTGUI_H #define CHESSQTGUI_H #include <QMainWindow> #include <QtCore> #include <QtGui> #include <QGraphicsScene> #include <QGraphicsItem> #include <QGraphicsItemGroup> #include "../../Chess/Piece.h" #include "../../Chess/Pieces.h" #include "../../Chess/ChessBoard.h" #include "../../Chess/LongRangePiece.h"...
c21907290db15b616a2a4c7a033c17dfc6d9a1a3
08509d1d559f3f7eab7495cd4e072f229488166a
/Solution/Game_Shared/SharedLevelFactory.h
0b74eb079c2ec1913e0839a9d1941c2c0d8ad779
[]
no_license
LastVision/DistortionGamesFPS
8a9da37990c68bb6ba193a289633f91ffa47bd6b
e26bd778b3ce16e01e6c9d67ad8e0ce7d1f0f6e0
refs/heads/master
2021-06-01T08:32:46.430309
2016-04-28T10:34:38
2016-04-28T10:34:38
51,527,472
2
3
null
null
null
null
UTF-8
C++
false
false
2,544
h
SharedLevelFactory.h
#pragma once #include <GrowingArray.h> #include <unordered_map> class SharedLevel; class XMLReader; namespace tinyxml2 { class XMLElement; } struct LevelPathInformation { LevelPathInformation() : myID(-1), myPath("No Level") {}; LevelPathInformation(const int aID, const std::string& aPath) : myID(a...
fb511506d58551923981c88c02a50716886ab45b
6ad89d7c9a533ca22810575e3db71878c295e45c
/Final/main/main.ino
1b188ec1dfbe772b5b3ae6a11e60d04daad07937
[]
no_license
ethandudu/Robot-accueil
0c6483e282419f2cf004d384262cef009d47aaf4
a8b0aeca1b12f458ff00e32edf1243d86e60fcf5
refs/heads/main
2023-05-12T22:12:01.462685
2021-06-03T09:25:38
2021-06-03T09:25:38
348,332,139
4
0
null
2021-06-03T09:25:39
2021-03-16T12:05:17
HTML
UTF-8
C++
false
false
8,016
ino
main.ino
/* Programme réalisé par la STI2D B, plus d'infos sur le github du projet : https://github.com/ethandudu/Robot-Accueil */ //Définition des librairies à utiliser #include <LiquidCrystal_I2C.h> // Écran LCD #include <Wire.h> // Shield de l'écran #include "pitches.h" // Notes du buzzer #include <Servo.h> // Servo mote...
25cbe647183f5aa9627e5b5719b5b357f41bb1d1
35e314e3f3981259fad3bc5fb6de0c0475fdda05
/linux_c/IPC/read_write_lock/read_write.cpp
6235f6839d2521b55edcc4b3d645ff143a990e3a
[]
no_license
isliulin/iwork
708ae59cdabc0c719386dc176db2cd4164e23252
a114e460dead6ef54bf1b92af36d1b9e4de389bf
refs/heads/master
2023-04-14T10:03:57.089975
2021-05-01T12:34:34
2021-05-01T12:34:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,660
cpp
read_write.cpp
#include"read_write.h" using namespace std; rdlock::rdlock(int inum) { iNum=inum; } rdlock::~rdlock() { } void* rdlock::pthread_fun(void *ags) { while(1) { pthread_rwlock_rdlock(&rwlock); cout<<"read thread----"<<iNum<<"----count:"<<(var.count)<<endl; pthread_rwlock_unlock(&rwlock); sl...
56b56c3074d2110384d8de5efd5bf7126a27ab22
d1082dbc7c8f99234bfc18f7119b541460bb7d7d
/distributed/utils.h
606f05d54d2d2fe84dfd141ea171b46f4ff306dd
[]
no_license
mirceadino/pdp-filters
48207b4aca227bb70fad9b969fda9dbe6e1cdbcd
f5e8c38027980094d971da6a8848a9f1e361fc40
refs/heads/master
2021-05-05T16:17:45.542462
2018-01-13T14:56:30
2018-01-13T14:56:30
117,346,064
0
0
null
null
null
null
UTF-8
C++
false
false
4,255
h
utils.h
#ifndef PDP_PROJECT_UTILS_ #define PDP_PROJECT_UTILS_ #include <bits/stdc++.h> #include <Magick++.h> #include <mpi.h> #include "matrix.h" template<typename T> struct RgbMatrix { RgbMatrix(int h, int w): height(h), width(w), red(h, w), green(h, w), blue(h, w) {} int height, width; Matrix<T> red; Matrix<T...
ee3c38e03db76b9eabef2ef75ec29dca46344d81
8ed682d563f78668f9fdffc4208c3b00e8048fe9
/genShpIMG.cpp
38665182541c450c6a10ae724ff8ceafe50633ce
[]
no_license
xialang2012/AircraftsFinder
cf82efe7e118931e83a7b7541f2739dfd13fa0d6
86a5abc0f9800cdb6b126e357b7a3d84dc17aabe
refs/heads/master
2020-03-24T09:04:47.726351
2018-08-19T15:50:08
2018-08-19T15:50:08
142,617,866
0
0
null
null
null
null
UTF-8
C++
false
false
10,704
cpp
genShpIMG.cpp
#include "genShpIMG.h" // reference http://www.gdal.org/ogr_apitut.html int HandleShpFile::initShp() { const char *pszDriverName = "ESRI Shapefile"; //GDALDriver *poDriver; GDALAllRegister(); poDriver = GetGDALDriverManager()->GetDriverByName(pszDriverName); if (poDriver == NULL) { std::cout << "driver not av...
8f708a68bc33aa6696645916c20a3415292b1297
976dba6b51a110e7722bf201de54ce7bef5fd90b
/src/prototypes.h
7e4bce685dad7c93688c2e088c6fd19e3646b9a5
[]
no_license
Antollo/Starship-battle
ba54942a76ae06dc5f276351066e6211315eabd9
67b519b36e765c488984afe3464f82965aa91832
refs/heads/master
2023-04-02T04:57:07.384869
2023-03-23T23:04:20
2023-03-23T23:10:31
175,684,293
2
0
null
2022-12-09T07:30:22
2019-03-14T19:13:54
C++
UTF-8
C++
false
false
1,607
h
prototypes.h
#ifndef PROTOTYPES_H #define PROTOTYPES_H #include <vector> #include <SFML/System/Angle.hpp> #include <Box2D.h> #include "Vec2f.h" #include "Rng.h" #include "Shape.h" class Prototype { public: std::vector<Vec2f> points; }; class BulletPrototype { public: b2PolygonShape shape; std::vector<Vec2f> points; ...
34e1f9f0c19f218bab5872f4d2e10ef23cbbefb4
29350ae125a99d31939b08e43020ed37f00beb1f
/Sandbox/src/Sandbox2D.cpp
8e3a5d2ddbf6100198c47fe164406df9c2f4b912
[ "MIT" ]
permissive
hesseb/Crystal
c80b7a2c33271e68ffbdc417b4b3ee2e2d179696
5c759a8b2db7d15a234238127c5ab9e9726ac467
refs/heads/main
2022-11-14T12:04:09.701051
2020-07-06T22:52:36
2020-07-06T22:52:36
274,138,645
0
0
null
null
null
null
UTF-8
C++
false
false
3,906
cpp
Sandbox2D.cpp
#include "Sandbox2D.h" #include <imgui/imgui.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> Sandbox2D::Sandbox2D() : Layer("Sandbox2D"), m_CameraController(16.0f / 9.0f, true) { } void Sandbox2D::OnAttach() { CR_PROFILE_FUNCTION(); m_CheckerboardTexture = Crystal::Texture2D::Create("a...
18c1e866fec6977ad4ab8a6a571665903e98576f
cce3bf9356f1a2a0b4e6c61353a098ab63bd9802
/BasicLibraryTest/TcpLayerProcessorTest.cpp
80a61b9785699e7f259587b771425931df11659e
[]
no_license
k06a/RitM
ff98a1282c582fce53fa1f4e1a01615f7c95c90c
31bb0b8a91ada54d4832a083daf295d2c01d2449
refs/heads/master
2020-03-12T00:25:39.644330
2018-04-20T11:45:07
2018-04-20T11:45:07
130,348,755
1
0
null
null
null
null
UTF-8
C++
false
false
3,654
cpp
TcpLayerProcessorTest.cpp
#include "gmock\gmock.h" #include "gtest\gtest.h" #include "expect_file.h" #include "FileAdapter.h" #include "MacHeaderProcessor.h" #include "MacSwitch.h" #include "TcpLayerProcessor.h" #include "Ipv4HeaderProcessor.h" #include "TcpHeaderProcessor.h" #include "Ipv4Splitter.h" #include "TcpSplitter.h" #incl...
891d3424c557cb2e999ac6d25bfa52a5cbf791f7
ad4a9e31928834c4fc7ff75cec50e8c7af4771d3
/old_v1/libs/solar/Solar.h
b09c9514d61fe5ffaa264bf16d6a2d2a014b1870
[ "MIT" ]
permissive
paulfantom/pi-solar
a1d1f07688a169dc10b058d485183a4021a8b2e0
b6a38ad40e3acfa276c7001a9727964b641c8b42
refs/heads/master
2020-03-07T14:22:53.619797
2018-12-29T19:33:48
2018-12-29T19:33:48
127,524,933
1
1
MIT
2018-07-22T15:45:42
2018-03-31T11:09:00
HTML
UTF-8
C++
false
false
1,736
h
Solar.h
#ifndef Solar_h #define Solar_h #include <Arduino.h> class Solar { // all temperatures are multipled by 100 to avoid using floats public: //Solar(int pump_pin); Solar(int pump_pin, int switch_pin); Solar(int pump_pin, int pump_switch_pin, int switch_pin); void setup(int solar_critical, int ta...
f6ac0b57dc63596c62a3d3f3b26565509445ae6f
ce7cd2b2f9709dbadf613583d9816c862003b38b
/SRC/engine/PETSc/petsc_preconditioner.h
dedaca3a185311e4483df8c437d742e6e62fd6d3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
usnistgov/OOF3D
32b01a25154443d29d0c44d5892387e8ef6146fa
7614f8ea98a095e78c62c59e8952c0eb494aacfc
refs/heads/master
2023-05-25T13:01:20.604025
2022-02-18T20:24:54
2022-02-18T20:24:54
29,606,158
34
7
null
2015-02-06T19:56:26
2015-01-21T19:04:14
Python
UTF-8
C++
false
false
1,891
h
petsc_preconditioner.h
// -*- C++ -*- /* This software was produced by NIST, an agency of the U.S. government, * and by statute is not subject to copyright in the United States. * Recipients of this software assume all responsibilities associated * with its operation, modification and maintenance. However, to * facilitate maintenance we...
cdb90abf3347daad3ce4e2a86e376f9942b97392
d2ec4eb2a2cc27b6e064510fdee137b00c6bb341
/lab6przykład/lab6przykład/main.cpp
0bb8f0d5e5b262c38af32c5c4e32d33691f919f6
[]
no_license
tadeq/Cpp
9a9f8eeb3523a8a363beb82e98c9c3b82c15fc42
aefa8c9426df0b84c3cf3920a7a3e36359f43e94
refs/heads/master
2020-03-10T16:00:51.648189
2018-05-29T08:42:23
2018-05-29T08:42:23
129,463,624
0
0
null
null
null
null
UTF-8
C++
false
false
1,834
cpp
main.cpp
#include "Tree.h" #include <ctime> #include <vector> #include <map> #include <algorithm> using namespace std; struct unique_gen { int n = 1; unique_gen() { n = 1; } Tree operator()() { Tree tree; tree.set_age(n++); return tree; } }; void grow_tree(Tree & tree) { tree.grow(); } int m...
0dde770bff8f5a24b0685c2457cfb0d71aeaa729
03a7a68301c01639af9c1172f7c34ac9b5477baf
/AxonDisplayBlock.h
55bc49cef302ce79ecda3e05cdd39761a24a1cfb
[]
no_license
simonp54/AxonLibrary
ad59284363203c8a529b3ae474e7ff6cc87bb102
f51aeba4be37b8f2fcd0ee8f2a7ec373d9ad673a
refs/heads/MASTER
2021-12-08T08:49:08.143292
2021-11-30T08:20:33
2021-11-30T08:20:33
125,521,355
0
0
null
2018-03-24T17:22:27
2018-03-16T13:41:26
C++
UTF-8
C++
false
false
368
h
AxonDisplayBlock.h
#ifndef AXON_DISPLAY_BLOCK_h #define AXON_DISPLAY_BLOCK_h #include "AxonEvent.h" #include "AxonAction.h" #include "Arduino.h" class AxonDisplayBlock: public AxonAction { public: virtual void execute( AxonAction *sender, AxonEvent *event ) = 0; // pure virtual function definition of the Execute method (aka doesn't...
7fac940399bdb2bd4c0ef05d9b7f05a862b1ab55
311b48a3c1805e26f37c8074469660c522c2af8b
/doc/bme280_spi-main/bme280_spi.cpp
ded4de45f2db14fd6b54ddbb3854ddb9056fced4
[ "MIT" ]
permissive
llooman/P2CHub
d639930f4b749650ea597a3ac0ab4f72d0c915e5
9feb1b65c3a62d2ffc338b7a5e518fe16cc8ed67
refs/heads/main
2023-09-02T05:44:41.905137
2021-10-25T19:58:28
2021-10-25T19:58:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,223
cpp
bme280_spi.cpp
#include "bme280_spi.hpp" // Initialize BME280 sensor BME280::BME280( uint spi_no = 0, uint rx_pin = PICO_DEFAULT_SPI_RX_PIN, uint tx_pin = PICO_DEFAULT_SPI_TX_PIN, uint sck_pin = PICO_DEFAULT_SPI_SCK_PIN, uint cs_pin = PICO_DEFAU...
1962aa3524d7de6611c94f289264c88dac53d076
b8b41ee53e99a897fd910ccbcabff7f4fd8883fd
/6_1.cpp
7bb8b31393d99e03cb45938f443aa10b4138530f
[]
no_license
annasychugina/TP_AISD_2016
d0cdacb6297ac35752a498b82f527ca3bbc7cff3
8b1a45e4a389d3dc4ac1a8cea1a72fb9b780e521
refs/heads/master
2022-05-16T02:20:57.334089
2016-03-25T15:20:40
2016-03-25T15:20:40
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,911
cpp
6_1.cpp
/* * author: Sychugina Anna * group: АПО-12 Дано N кубиков. Требуется определить каким количеством способов можно выстроить из этих кубиков пирамиду. На вход подается количество кубиков N.Вывести число различных пирамид из N кубиков. 6_1.?Высокая пирамида. ?Каждый вышележащий слой пирамиды должен быть не больше...
2203b2c7453900f07fbf04378f75198f1dfd3e37
dbf63cb9ed1123b1ebd2ccef9fc310f87fc4dd65
/DCCPacketScheduler.h
0a209b0cbd8d361954c55352087599fa7dca3fd8
[]
no_license
thejpster/CmdrArduino
b3ca9146f977ac55e3ed96cf985ebd09e4e3e44d
a8ce7a69b7381644d5826c3bebc92bff32dffe94
refs/heads/master
2020-07-14T06:02:25.072208
2015-06-24T15:41:30
2015-06-24T15:41:30
37,811,702
0
0
null
2015-06-21T14:24:35
2015-06-21T14:24:33
null
UTF-8
C++
false
false
3,862
h
DCCPacketScheduler.h
/* * CmdrArduino * * DCC Packet Scheduler * * Author: Don Goodman-Wilson dgoodman@artificial-science.org * Changes by: Jonathan Pallant dcc@thejpster.org.uk * * based on software by Wolfgang Kufer, http://opendcc.de * * Copyright 2010 Don Goodman-Wilson * Copyright 2015 Jonathan Pallant * * This program is...
01d46817648e94fe88bf55086f29ef51d43b8b38
8596f8968ae5da3ddeea0f12e444aa1f15794fc9
/5/ex02/RobotomyRequestForm.cpp
fc62fd70981a8a055d5ff418620846311e85f0a3
[]
no_license
alromeros/CPP
9ca607c7cd32d18ceabd4844b5856480adb34ad7
517f5111a6bfb60e22288ff648b9d4a9a2fc531a
refs/heads/master
2022-12-30T20:04:58.528173
2020-09-25T13:10:17
2020-09-25T13:10:17
264,930,460
0
0
null
null
null
null
UTF-8
C++
false
false
1,962
cpp
RobotomyRequestForm.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* RobotomyRequestForm.cpp :+: :+: :+: ...
92fe39a9b78972761947b2e59c5d43a6ced50278
169e75df163bb311198562d286d37aad14677101
/tensorflow/contrib/lite/java/src/main/native/duration_utils_jni.cc
0e08a04370592f6e3c92b5811fa7e163f808e03c
[ "Apache-2.0" ]
permissive
zylo117/tensorflow-gpu-macosx
e553d17b769c67dfda0440df8ac1314405e4a10a
181bc2b37aa8a3eeb11a942d8f330b04abc804b3
refs/heads/master
2022-10-19T21:35:18.148271
2020-10-15T02:33:20
2020-10-15T02:33:20
134,240,831
116
26
Apache-2.0
2022-10-04T23:36:22
2018-05-21T08:29:12
C++
UTF-8
C++
false
false
1,264
cc
duration_utils_jni.cc
/* Copyright 2017 The TensorFlow Authors. 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 Unless required by applicable law or a...
ad1910e2a33a744854c49342264478b3274b4a98
a8e5517df264ca12e84c377270574a3cc378f0c1
/LAVIDA/2002/solution.cpp
3d1524f0d34eb74a51244a1c6a96f029931927f4
[]
no_license
wowoto9772/Hungry-Algorithm
cb94edc0d8a4a3518dd1996feafada9774767ff0
4be3d0e2f07d01e55653c277870d93b73ec917de
refs/heads/master
2021-05-04T23:28:12.443915
2019-08-11T08:11:39
2019-08-11T08:11:39
64,544,872
1
1
null
null
null
null
UHC
C++
false
false
7,943
cpp
solution.cpp
//#include <stdio.h> //#include <memory.h> //#include <limits.h> // //#include <vector> //#include <queue> // //using namespace std; // //class ele{ //public: // int a, c; //}; // //int x[5003][2], y[5003][2]; //void swp(int *a, int *b){ // int t = *a; // *a = *b; // *b = t; //} //int m(int a, int b){ return a < b ? a ...
0669f7c3083f051aadfa89c0df1b377e6600f403
153a746ea3246cdc04ac0413c9793309ca924d08
/src/commands/CmdReport.cpp
2870b9f5d66037f60da761b97f78d019e3ca4721
[ "MIT" ]
permissive
GothenburgBitFactory/timewarrior
bfbc0e9960012ce47c1134ca60ba06077cfa8724
a72659f753af283879a5c3bfb71448583a2ba7b7
refs/heads/develop
2023-09-04T20:55:38.830794
2020-03-06T13:52:22
2023-08-11T18:50:29
120,080,436
1,082
129
MIT
2023-09-11T23:20:14
2018-02-03T10:15:22
C++
UTF-8
C++
false
false
5,301
cpp
CmdReport.cpp
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 - 2022, Thomas Lauf, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
440cf9a8e819c351b711bad7c87f83e3d0f7e6ce
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AwsJobAbortCriteria.h
2268dbe938cb331e80634f9400bfdcac2ab3fa8c
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
6,478
h
AwsJobAbortCriteria.h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iot/IoT_EXPORTS.h> #include <aws/iot/model/AwsJobAbortCriteriaFailureType.h> #include <aws/iot/model/AwsJobAbortCriteriaAbortAction.h> #include <utility> namespace Aws { na...
56ff6f12d4959d940a1520029caf29220649f03f
09710946270b2006d1dc0fb3a9b365c031425d78
/src/Grid.hpp
cf4c3db3990d1a1e90aab9d11f6180f7aea9ce0b
[]
no_license
AkiSchmatzler/Raycaster
89e01c113792532e200fc8194c811575214333bb
2e3e1ffcbdbed6e9d169d26015165822407be479
refs/heads/master
2023-07-19T11:46:15.876621
2021-09-07T20:54:28
2021-09-07T20:54:28
404,119,416
0
0
null
null
null
null
UTF-8
C++
false
false
263
hpp
Grid.hpp
/** * \file Grid.hpp * \brief header for getGrid function * \date 07/09/2021 * \author Aki Schmatzler */ #ifndef __GRID_H #define __GRID_H #include <iostream> #include <fstream> #include <cstdlib> int** getGrid (char* filename, int* X, int* Y); #endif
5b51f88f3569625d5307724bba3cb27e4eac571f
c2c821f8b1c9cd66e2b91963651d0e936ae4d483
/Student.cpp
a7502dec076f7450820cc30b27a5c8dfa6eda75e
[]
no_license
GezelligCode/Student-Roster-Database
d291b0237714111243db99f4f92873d5bc9f605e
5bdb6809a5068d628a98c269cf96aba251a8db88
refs/heads/master
2023-06-12T06:29:37.074513
2021-07-07T01:28:09
2021-07-07T01:28:09
336,691,782
0
0
null
null
null
null
UTF-8
C++
false
false
2,548
cpp
Student.cpp
#include <iostream> #include <vector> #include <string> #include "student.h" #include "Roster.h" using namespace std; using namespace Degrees; Degrees::DegreeProgram Convert(string parsedDegreeProgram) { if (parsedDegreeProgram == "SECURITY") { return SECURITY; } else if (parsedDegreeProgram == ...
c716e4af63af846de16e735d2128d2ba114776d2
16b71146baefca3b7bbfacb911312f31b9dc6768
/tutorial/12-daytime-sync-UDP-server.cpp
be9c0a790a8546279d162c7f464c519b997b4244
[]
no_license
ya-ming/boost-asio
27f96dfffcc8012f8fddd122dd569d827d77c800
b69fd806bb343ae212935f4bfda7b9dda3494a87
refs/heads/master
2021-05-23T14:54:17.188406
2020-04-22T01:45:39
2020-04-22T01:45:39
253,348,615
0
0
null
null
null
null
UTF-8
C++
false
false
1,308
cpp
12-daytime-sync-UDP-server.cpp
#include <ctime> #include <iostream> #include <string> #include <boost/array.hpp> #include <boost/asio.hpp> using boost::asio::ip::udp; std::string make_daytime_string() { using namespace std; time_t now = time(0); return ctime(&now); } int main() { try { boost::asio::io_context io_c...
4414b903d802dda67af50eb50c3882582e1ea8f6
5521a03064928d63cc199e8034e4ea76264f76da
/fboss/thrift_cow/visitors/TraverseHelper.h
85a553e36dab020083cc908f060719374543eccf
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
facebook/fboss
df190fd304e0bf5bfe4b00af29f36b55fa00efad
81e02db57903b4369200eec7ef22d882da93c311
refs/heads/main
2023-09-01T18:21:22.565059
2023-09-01T15:53:39
2023-09-01T15:53:39
31,927,407
925
353
NOASSERTION
2023-09-14T05:44:49
2015-03-09T23:04:15
C++
UTF-8
C++
false
false
1,399
h
TraverseHelper.h
// (c) Facebook, Inc. and its affiliates. Confidential and proprietary. #pragma once namespace facebook::fboss::thrift_cow { enum class VisitorType { /* It can be useful to know the visitor type when making decisions * in a traverse helper as some use cases compose visitors together * and the behavior may ch...
a8f456e76c61337be6121a9da499d5aadd4fec6d
5144482e307223249e6158dc5f039aee3ce56caf
/Calibration/Calibration/main.cpp
3e83fcefe4f0cbe6cfb8d957a98660a1e28f3f45
[]
no_license
AlicePang/Structured-Light-Calibration
4c02f86e38bf1678c7168d2509a49ff3c88386fc
d07e6201c4fbb0856703ac29207715e52afd18a4
refs/heads/master
2022-04-22T04:48:31.438731
2020-04-22T10:12:20
2020-04-22T10:12:20
257,858,606
0
0
null
2020-04-22T09:48:31
2020-04-22T09:48:30
null
GB18030
C++
false
false
240
cpp
main.cpp
#include "head.h" using namespace cv; using namespace std; int main() { // 创建类: CCalibration myCalibration; // 标定类 myCalibration.Init(); myCalibration.Calibrate(); myCalibration.Result(); system("PAUSE"); return 0; }