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
b34b8f80c272c4f669a4f4037f7f388a7c0374c4
95362b04a313e50fc9bd123e71a45ed3a7616193
/GUI_Babel/slidingstackedwidget.h
cec9712a434acb85cf3b31ba58cf95459cbe6315
[]
no_license
yousuvic/cpp_babel
0557cb4686bb75c1b87da94aa0cab17fd2026ab9
bad263b5fd9bd327b6cec090e4f175146cf7525e
refs/heads/master
2021-01-24T17:50:32.683494
2015-11-17T10:48:20
2015-11-17T10:48:20
44,957,314
0
0
null
null
null
null
UTF-8
C++
false
false
1,630
h
slidingstackedwidget.h
#ifndef SLIDINGSTACKEDWIDGET_H #define SLIDINGSTACKEDWIDGET_H #include <QStackedWidget> #include <QEasingCurve> #include <QPropertyAnimation> #include <QParallelAnimationGroup> class SlidingStackedWidget : public QStackedWidget { Q_OBJECT public: //! This enumeration is used to define the animation direction enum...
40e5f19dc814f8e6651556b6811dae7ad59ed817
fd4bf36d93abfceea2d9947017902757535a2940
/protocol/jsonprotocol.cpp
46f3169fb8dca58f82142ed87398cbe64254cbf2
[]
no_license
samcrow/ColonyServer-v2
cd81d07e8048e3d59661e627742e0858d6833edd
20326334aa01e4093b08b32a19839d9af576bd29
refs/heads/master
2021-01-22T06:54:49.983222
2012-08-17T02:47:18
2012-08-17T02:47:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,273
cpp
jsonprotocol.cpp
#include "jsonprotocol.hpp" JSONProtocol::JSONProtocol(QObject *parent) : Protocol(parent) { } void JSONProtocol::respondTo(QByteArray request) { bool ok; QJson::Parser parser; QVariant json = parser.parse(request, &ok); if(!ok) { printError("Request was not valid JSON"); return...
a2bf658d3a54d200d9802f8132dfbca3644f4e28
5d76218fc8ec450c416b592e0390b0ea3e425501
/include/PriorityScheduler.h
9f8cf348a6ce01f720a810a185a387d43fcd2308
[]
no_license
darioushs/OS_P1
998ba60b30068f631806a35ad3ce61a2dff2262f
d15db0abe92f4665cbacbc2788bf6fadeb4e50cf
refs/heads/master
2021-09-12T17:52:36.953128
2018-04-19T13:29:47
2018-04-19T13:29:47
126,091,541
0
0
null
null
null
null
UTF-8
C++
false
false
578
h
PriorityScheduler.h
#ifndef PIORITYSCHEDULER_H #define PIORITYSCHEDULER_H #include "IScheduler.h" #include "PCB.h" #include "Dispatcher.h" class PriorityScheduler { private: vector<PCB*> readyQueue; CPU* cpu; int getHighestPriorityProcessIndex(); Dispatcher dispatcher; public: PriorityScheduler(); PrioritySched...
510f223f6a53c9c9103ece826c3c2d7c5f9b0f93
3f8b288711bb5adc2394171507f54c62dc60c601
/atcoder/abc/132b.cpp
261e0993de611efe504ce493e9ee75f7927c144a
[]
no_license
pontsuyo/procon
65df6356f0ea1cfb619898d9e8cc6e326c0586e7
804aaeb526946172a8f41e0619712f5989b6b613
refs/heads/master
2021-06-15T15:13:04.441761
2021-03-20T05:26:54
2021-03-20T05:26:54
175,234,672
1
0
null
null
null
null
UTF-8
C++
false
false
447
cpp
132b.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; #define rep(i,n) for(int i=0;i<n;++i) #define MOD 1000000007 int main(){ int n; cin >> n; vector<int> p(n); rep(i, n){ cin >> p[i]; } int cnt= 0; rep(i, n-2){ int a = p[i],b=p[i+1],...
c3da30a11d9d12243904f5a7f531fd4f804652b2
bedcaf173259517ebb4ec24e50c972d0521dce49
/include/PCU.h
231b2eb7d0b4e0d1ad71c45731ad4707d2d109c9
[]
no_license
AbhayG27/RTSim
f1b9926d6c89f37d03a68f890623cf8e841d1b8d
4a50a8a2c79892c0480e83ef1ed3eb4f3a0bc855
refs/heads/master
2021-01-13T12:53:49.647222
2016-04-06T07:31:41
2016-04-06T07:31:41
54,589,240
0
0
null
null
null
null
UTF-8
C++
false
false
218
h
PCU.h
#pragma once #include <entities.h> #define RAY_PRECOMPUTE_LATENCY 10 class PCU { public: PCU(); ~PCU(); int precompute(ray r,precomputedRay& pr); int precompute(ray r[], precomputedRay pr[],int size); private: };
cb7de8ca303abba50ae512287ae512a4cf66e677
85ca451735cddc7205ac4c939f05cd6a5de50d76
/src/impl/RowStore.cpp
c0afd8eb3cc4729f4c60d928d53ba5f5cb8b24c3
[]
no_license
pay632006/database
86d6c03b1fed5844cd583130766cf5716a17bb5f
1d278c1a5f50fb27ac6f9e8ae888ab5c8f97464e
refs/heads/master
2021-08-15T08:04:31.508671
2017-11-14T14:02:01
2017-11-14T14:02:01
111,126,242
0
0
null
null
null
null
UTF-8
C++
false
false
2,600
cpp
RowStore.cpp
#include "impl/RowStore.hpp" using namespace dbms; std::size_t get_alignment_requirement(const Attribute &attr) { switch (attr.type) { case Attribute::TY_Int: case Attribute::TY_Float: case Attribute::TY_Double: return attr.size; case Attribute::TY_Char: ...
0008270d11bc3cf0f64633da18dcd9abc5da1524
af4c4428640b4b73177cdad56ce30af4fc9eaf87
/ExtendedPage/ExtendedPage.h
1a04fed38f16c73911d69c19b28b8a5a2cddd8ea
[]
no_license
geminik23/LabWRL
1fa9df9a5200187a7550da8c6ba884b0b53e8721
19dfa20830edff7d9d945d09ff7c001b050754c0
refs/heads/master
2021-01-11T15:04:11.883502
2017-03-11T03:43:55
2017-03-11T03:43:55
80,291,343
0
0
null
null
null
null
UTF-8
C++
false
false
6,628
h
ExtendedPage.h
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0620 */ /* at Tue Jan 19 12:14:07 2038 */ /* Compiler settings for C:\Users\gemin\AppData\Local\Temp\ExtendedPage.idl-a6da0596: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.06...
1f93c79f34e572a7f9736291658e49326d85262e
9b1ad74d4aeddffe57df71b550fa1075eb980808
/pausewindow.cpp
9ea0187059d485ffc69b3174f6b929141da8afac
[]
no_license
TwinIsland-CCC/RhythmGame_Project_1_00
85f99d9167af08b5ecc29cdd47d881c7becceed6
cbf2e06e89fe53e8a4a190fdefac2822ed073b1c
refs/heads/main
2023-04-24T02:31:35.979145
2021-05-09T17:07:49
2021-05-09T17:07:49
359,840,823
2
0
null
null
null
null
UTF-8
C++
false
false
1,301
cpp
pausewindow.cpp
#include "pausewindow.h" #include "ui_pausewindow.h" PauseWindow::PauseWindow(QWidget *parent) : QWidget(parent), ui(new Ui::PauseWindow) { ui->setupUi(this); movie.setFileName(":/test/cat.gif");//已经在类中声明了movie ui->label->setMovie(&movie); movie.start(); meow = new QMediaPlayer; QMed...
11cdac8dbef716cbc3c62ffcac3e7ab0efd677ec
111c460e6a2f4dd6508845dcb24da498bcf6e2a0
/AT&BT/BT/BT.ino
4ec3b51c9925251e7747ef1c068877d840763858
[]
no_license
jameshuang304/MakeNTU2017_MedCube
ea4f2ba84dcb19ad4c6001d140759d4455b73252
fa10be03483203cbcd3b9d7a81595910c91d943a
refs/heads/master
2020-03-15T04:24:17.242625
2017-02-28T06:29:26
2017-02-28T06:29:26
131,964,273
0
1
null
null
null
null
UTF-8
C++
false
false
2,768
ino
BT.ino
#include <SoftwareSerial.h> // 引用程式庫 #define PRINT // 定義連接藍牙模組的序列埠 SoftwareSerial BT(8, 9); // 接收腳, 傳送腳 char val; // 儲存接收資料的變數 const int xPin = A0; const int yPin = A1; const int buttonPin = 5; const int xThreshold[7] = { 147, 294, 441, 589, 736, 883, 1030 }; void setup() { Serial.begin(9600); // 與電腦序列埠連線 Se...
43844f5581a132a61b1220e3ec7458b8ab7c6a22
e72f7d9e44e258495c04969cbcc50aeee437169a
/widget.cpp
a868c4bb380d2c1ccfc413e2a83c774277c87334
[]
no_license
metaluga/Circle
510e9ecadd2ec9caed9b493a3b84c5326a1adae4
3f81a505c1dbbe9aa34ca8963ba001486795ee94
refs/heads/master
2020-03-09T17:32:06.306921
2018-04-10T09:55:01
2018-04-10T09:55:01
128,910,773
0
0
null
null
null
null
UTF-8
C++
false
false
1,501
cpp
widget.cpp
#include "widget.h" #include "ui_widget.h" #include <QThread> #include <iostream> Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget) { ui->setupUi(this); } Widget::~Widget() { delete ui; } void Widget::setPosition(int x, int y) { this->x = x; this->y...
a56cfb646b75f82fdb22ebc3560f937fcb81e74c
0280d3e052ac227d778f6a1dbee1b0bdd1678407
/A2OJ Code Battle 2017/Round 2/B. Merge Grids.cpp
7df80d0bf29dc1fb2df8c9001cf897a51952665e
[]
no_license
oknashar/Problem-Solving
5d9da159ab5190fcdcff9fc229a25c0f4090801c
07656a0ace44d1933f1212ecc4dc99d7813de2bf
refs/heads/master
2022-08-15T12:34:18.820659
2020-05-24T23:28:41
2020-05-24T23:28:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,205
cpp
B. Merge Grids.cpp
/* You are given two grids of size 3 × 3. In both grids, each cell either is empty (denoted by '.') or it contains a sloping line '\' or '/'. The two grids are transparent. Their only visible parts are sloping lines in some cells, mentioned in the previous paragraph. We put one grid on the other, obtaining a new gri...
7349e323ffe5d1dc446b0f2b3d46aed1076b8f5b
da86d9f9cf875db42fd912e3366cfe9e0aa392c6
/2019/solutions/D/BIG-Sofia/sequence.cpp
b324744446d46bd988211c07b63f73d02667e288
[]
no_license
Alaxe/noi2-ranking
0c98ea9af9fc3bd22798cab523f38fd75ed97634
bb671bacd369b0924a1bfa313acb259f97947d05
refs/heads/master
2021-01-22T23:33:43.481107
2020-02-15T17:33:25
2020-02-15T17:33:25
85,631,202
2
4
null
null
null
null
UTF-8
C++
false
false
833
cpp
sequence.cpp
#include<bits/stdc++.h> using namespace std; long long chislaDoToziRed(long long b){ long long ans=0,o=1; for(int i=1;i<b;i++){ ans+=o; o+=2; } return ans; } int main(){ long long chislo,sresht,red,a,i; bool n=false,c=false; cin>>chislo>>sresht; a=sresht; ...
bdd4d0f8dbbcc4dc4350a60f8d965f660926e2fc
caa7e2c4f2ee37cc41ac0e63e31be68400ca434c
/Sequence/Base.h
8e255788d6c2b0acd4febd4f42cbd64bb6adfc02
[]
no_license
13jk092koizumi/MyDxLibGame
203759adf2ad2f68c068565aa95df2ce3fe343ad
2dbb37279cc10c7842a1531bddde13fd5ead83e0
refs/heads/master
2021-01-19T00:54:57.891518
2016-05-12T00:00:23
2016-05-12T00:00:23
60,909,976
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
273
h
Base.h
#ifndef INCLUDED_SEQUENCE_BASE_H #define INCLUDED_SEQUENCE_BASE_H namespace Sequence { class Base { public: virtual ~Base() {} //何もしない //TODO:共通の関数を書く virtual Base* update( Base* ) = 0; //描画関数 }; } //namespace Sequence #endif
7547e117111fd525b9fd1c8084220c90d372abd7
4ad841857e74b1a018c0bbb668c3a9901cfe3293
/96. Unique Binary Search Trees.cpp
5409ea547a32794fcb21ab9e6fd5e646dbf50527
[]
no_license
MuVen/LeetCode
978ccdf434d7de5d9200c1d376a24b9d80fe1582
bef228fe298da3fe1c337d6b7e7f0947989cc9e3
refs/heads/master
2020-08-05T06:03:07.519901
2019-12-04T20:45:19
2019-12-04T20:45:19
212,422,736
0
0
null
null
null
null
UTF-8
C++
false
false
498
cpp
96. Unique Binary Search Trees.cpp
class Solution { vector<unsigned long long int> cache; public: int catalan(unsigned long long int n){ if(n <= 1) return 1; if(cache[n] != 0) return cache[n]; unsigned long long int res = 0; for(int i = 0; i < n; i++) ...
c73c1402e6f3beffbae53686d3af60d5b699991f
2e0472397ec7145d50081d4890eb0af2323eb175
/Code/src/OE/Graphics/3D/Light.cpp
30cf7857b9136b39b543887221566db97b8e0dd6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mlomb/OrbitEngine
5c471a853ea555f0738427999dd9cef3a1c90a01
41f053626f05782e81c2e48f5c87b04972f9be2c
refs/heads/master
2021-09-09T01:27:31.097901
2021-08-28T16:07:16
2021-08-28T16:07:16
99,012,019
26
3
null
null
null
null
UTF-8
C++
false
false
404
cpp
Light.cpp
#include "OE/Graphics/3D/Light.hpp" namespace OrbitEngine { namespace Graphics { /* Point Light */ ShaderDefinitions PointLight::getRequiredDefinitions() { // TODO concat with Light::getRequiredDefinitions return { "LIGHT_POINT" }; } ShaderDefinitions DirectionalLight::getRequiredDefinitions() { // TOD...
5e95317e9d05f85b443f7b664385779521ed8f8a
c558a52d26afb8abcab5ab58925574391d14d981
/inc/TicTac.h
27811efeec39d9dc5e3fed86c4d52295280aa3ac
[]
no_license
ChristianChaumette-Brown/tictactoe
643c8d06af4fd1e3758546ebc7100ba49e67e7c3
3ed494bdcd3266d3a0205421c9446d2ec2c2790b
refs/heads/master
2021-01-14T03:53:08.283375
2020-08-21T18:59:27
2020-08-21T18:59:27
242,591,638
0
0
null
null
null
null
UTF-8
C++
false
false
575
h
TicTac.h
#ifndef MYLIB #define MYLIB #include <string> #include <server.h> #include <Cell.h> #include <random> class TicTac{ public: TicTac(); //constructor TicTac(const TicTac&); //copy constructor int dim; int counter; int winner; bool computerP; //int col; void start(); std::vector<C...
5a83a19bcfa5a98fd08e5fb794627fc64a9857c3
fdf9c824976bafb805a0f33dc35f8689893d2f20
/examples/wip/main4.cpp
58913e7972bcdf2d635fcce69650c0ee0750769b
[ "CC0-1.0" ]
permissive
ThePhD/embed
99319d2328900588e70089508af4fd63363b932a
5413c81ea33063233941ed88aa4667f3457433e0
refs/heads/main
2022-05-17T14:00:36.374780
2022-05-01T16:13:05
2022-05-01T16:13:05
218,390,512
105
8
null
null
null
null
UTF-8
C++
false
false
122
cpp
main4.cpp
#include <phd/embed.hpp> int main () { constexpr std::span<const char> data = std::embed("foo.txt"); return data[0]; }
148cde306b84c28c4063cdb9551c4a1d792252b1
69bb6c6945680394ca7200fe25490817bb382faa
/test.cpp
9700ac44384725d136a16c1e8f75bc5d9109490e
[]
no_license
Bossones/StPrataPLC
22d6068e7e0d2ce03570f90400daa80264be2ef4
9fa1c6f39d08cdd3d1149936f8c4d23c415eeb23
refs/heads/master
2020-06-24T07:50:17.735918
2019-11-10T18:39:10
2019-11-10T18:39:10
198,902,358
0
0
null
null
null
null
UTF-8
C++
false
false
1,761
cpp
test.cpp
//prgramm from Steven Prata's book "Programming language C++" #include <iostream> #include <string> #include <vector> #include <cstring> #include <ctime> #include <fstream> #include <cstdlib> #include <cctype> #include <array> using namespace std; const short SIZE = 300; struct bop { string fullna...
a1c13066f8a1939036ee5ea351b3a0ed4362b85c
9c875e2e2a425a62ee0ffb148e701342c142a029
/src/Saurobyte/Lua/LuaEnv_Engine.cpp
34bd1d1a477b1e2807f50b50bf5b4b0ac48cee0c
[ "MIT" ]
permissive
Symphonym/Saurobyte
4b80e587517d8108a7ac4d60f17ec7518a693c48
c4bc5afd4ac4353ed6cd9a201454fd14aa3aced2
refs/heads/master
2016-08-05T13:26:18.701701
2014-07-13T00:46:06
2014-07-13T00:46:06
17,995,418
19
2
null
null
null
null
UTF-8
C++
false
false
5,864
cpp
LuaEnv_Engine.cpp
/* The MIT License (MIT) Copyright (c) 2014 by Jakob Larsson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
3ac486f7a416e7f035f95f3dc226f066aba88837
b6c985bd9f493135c4de109f3ad78d38a3059c65
/src/libgvar/Block1or2.cpp
6356120b61930ad2998e3d38c2991c2158b67476
[]
no_license
qjhart/qjhart.geostreams
4a80d85912cb6cdfb004017c841e3902f898fad5
7d5ec6a056ce43d2250553b99c7559f15db1d5fb
refs/heads/master
2021-01-10T18:46:48.653526
2015-03-19T00:13:33
2015-03-19T00:13:33
32,489,398
1
0
null
null
null
null
UTF-8
C++
false
false
1,434
cpp
Block1or2.cpp
/** * This file defines the functions for the class. */ #include "Gvar.h" namespace Gvar { Block1or2::Block1or2 (Block* block) { this->block = block ; Header* gvarHeader = block->getHeader() ; uint16 blockID = gvarHeader->blockId() ; int wordcount = gvarHeader->wordCount() ; uint16* unpacked ...
fe58bdb509e1c5acc8666315fe5c5b6d988464ef
f7dc806f341ef5dbb0e11252a4693003a66853d5
/thirdparty/msdfgen/core/sdf-error-estimation.cpp
7c00c449a932ae6a90c7ed88063b00cc9ccab0bf
[ "LicenseRef-scancode-free-unknown", "MIT", "CC-BY-4.0", "OFL-1.1", "Bison-exception-2.2", "CC0-1.0", "LicenseRef-scancode-nvidia-2002", "LicenseRef-scancode-other-permissive", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSL-1.0", "Apache-2.0", "BSD-3-Clau...
permissive
godotengine/godot
8a2419750f4851d1426a8f3bcb52cac5c86f23c2
970be7afdc111ccc7459d7ef3560de70e6d08c80
refs/heads/master
2023-08-21T14:37:00.262883
2023-08-21T06:26:15
2023-08-21T06:26:15
15,634,981
68,852
18,388
MIT
2023-09-14T21:42:16
2014-01-04T16:05:36
C++
UTF-8
C++
false
false
8,703
cpp
sdf-error-estimation.cpp
#include "sdf-error-estimation.h" #include <cmath> #include "arithmetics.hpp" namespace msdfgen { void scanlineSDF(Scanline &line, const BitmapConstRef<float, 1> &sdf, const Projection &projection, double y, bool inverseYAxis) { if (!(sdf.width > 0 && sdf.height > 0)) return line.setIntersections(std::v...
e00c2cbb57b73e08d9c382337012a0c1a1822044
247764dd458df0e2ee843cfa4b3450e838296052
/OpencvLn/VideoShow.hpp
596eadd13d7116fbdba16c72d892b03c916fe24e
[]
no_license
FanDoubleLucky/OpencvLN
4907f22392957090ee16722ece2a3de6b9b95b93
48f1c88a3410e87ec9f9fd040608a114ba7f374f
refs/heads/master
2020-04-28T05:19:35.452911
2019-04-03T06:50:42
2019-04-03T06:50:42
175,015,391
0
0
null
null
null
null
UTF-8
C++
false
false
337
hpp
VideoShow.hpp
// // VideoShow.hpp // OpencvLn // // Created by FanYizhe on 2019/2/17. // Copyright © 2019年 FanYizhe. All rights reserved. // #ifndef VideoShow_hpp #define VideoShow_hpp #include <opencv2/opencv.hpp> #include <stdio.h> using namespace std; class VideoShow{ public: VideoShow(string VideoName); }; #endif /* Vid...
bd948e1a2065de5ace4b14ee98953c32fca2f932
adc19f9d2d75cc1d6dfc41d75fd207f1405558db
/RTSystems/RTMaster/RTMaster.cpp
ba48e808220e75c4d1c507bd67dae75d57ac46a4
[]
no_license
logogin/CoursesWorks
d84dd8dadb5526991f0313766ed2bb953e46f64a
0f6e1e05299b44986dcbc8622185d9ddcdff95d4
refs/heads/master
2021-01-12T08:26:49.266891
2017-01-21T18:41:31
2017-01-21T18:41:31
76,579,562
0
0
null
null
null
null
UTF-8
C++
false
false
5,713
cpp
RTMaster.cpp
#include <tchar.h> #include <windows.h> #include <stdio.h> #define MAX_FRAGMENT 1024 #define HEAP_INITSIZE 512 void usage(void) { _tprintf(_T("Usage: RTMaster <filename> <procnumber>\n\n")); } void _tmain(int argn,TCHAR *argv[]) { DWORD dwSlavesNumber; TCHAR fileName[MAX_PATH]; if (argn!=3) { ...
cc55f94de89b0776f3dc5032094f9daced8a78a2
cab4a9c36c0fa6543c3afe62a40df92e45d20edf
/level3_네트워크.cpp
da489f2bd5c6f247c3d1bd49bcc985cee9b94456
[]
no_license
asy0217/programmers_algorithm
7d274e08df35783cff940e76f188cf05e6d76c80
e1f0b2576ef17b09cda646cd364ad68261f12324
refs/heads/master
2023-02-15T04:22:28.313219
2021-01-12T16:14:40
2021-01-12T16:14:40
313,518,526
0
0
null
null
null
null
UHC
C++
false
false
2,406
cpp
level3_네트워크.cpp
/*1.bfs는 방문했거나, 방문하지 않은 노드의 개수를 세는 문제에 사용되는 알고리즘이다. bfs알고리즘을 푸는 과정에서 queue를 사용한다. 2.dfs는 재귀를 사용한다(bfs는 재귀를 사용하지 않는다). 3.vector는 stack 자료구조로 LIFO이고, queue는 FIFO이다.*/ #include <string> #include <vector> #include <queue> using namespace std; const int MAX = 200; //컴퓨터 개수(노드의 개수) n의 최대값 bool check[MAX] = { 0, };/...
9ca1ac74072193b6c5d13455f89cce9b9a023121
491c0b66305a2964fe778460b6b95826920eb9a4
/KnapsackProblem/RecursiveSolver.cpp
32fe3b5d73f421310386c4dd48e817b91cdcb37b
[]
no_license
OlegZuev/KnapsackProblem
e106cf5ef44c1d2c2dcb1f859cc4e153b5708d01
b09d5b9c7112cbc2065b850e5da07b058d85f367
refs/heads/master
2023-01-08T17:54:32.550720
2020-11-13T05:39:02
2020-11-13T05:39:02
311,566,190
0
0
null
null
null
null
UTF-8
C++
false
false
674
cpp
RecursiveSolver.cpp
#include "RecursiveSolver.h" void RecursiveSolver::Solver(std::vector<Item> items, double M, int i, Variant curItems) { if (curItems.sum_weight > M) return; if (curItems.sum_value >= result.sum_value) result = curItems; if (i == items.size()) return; Solver(items, M, i + 1, curItems); curItems.items.push_...
1aac8b8a8439e72776ad72120003159ecbb483ab
a7d04d22af187763b62bd8f3ea57dfa19b4cf0be
/raptor/aggregation/par_mis.hpp
8d86f910c13078b228b93e449de1eaadeabc692a
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lwhZJU/raptor
132299162532f29e652b2d7240e6424d04c0cd3a
cc8a68f1998c180dd696cb4c6b5fb18987fa60df
refs/heads/master
2020-04-09T18:05:47.526658
2018-12-04T20:13:38
2018-12-04T20:13:38
160,501,551
1
0
BSD-2-Clause
2018-12-05T10:30:22
2018-12-05T10:30:22
null
UTF-8
C++
false
false
521
hpp
par_mis.hpp
// Copyright (c) 2015, Raptor Developer Team, University of Illinois at Urbana-Champaign // License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause #ifndef RAPTOR_AGGREGATION_PAR_MIS_HPP #define RAPTOR_AGGREGATION_PAR_MIS_HPP #include "core/types.hpp" #include "core/par_matrix.hpp" using namespace raptor...
fe7a72103df635eda585058a33dfb8d01c08c21e
274e1169a03062140871e4fddaf4836e30cce503
/src/CursATE/Screen/detail/Marks.ut.cpp
8db47ea0d84c274ce2853bd303b72fbae609647c
[ "BSD-2-Clause" ]
permissive
el-bart/LogATE
38df676a9874c42d9ec862cf3090e0e31bc134f2
88569417c0758318a049205bb69f3ecee4d13a32
refs/heads/master
2023-08-29T14:45:26.924602
2023-07-25T17:55:13
2023-07-25T17:55:13
152,469,962
3
3
null
null
null
null
UTF-8
C++
false
false
3,175
cpp
Marks.ut.cpp
#include <doctest/doctest.h> #include "CursATE/Screen/detail/Marks.hpp" #include "LogATE/Tree/Filter/AcceptAll.hpp" #include "LogATE/TestHelpers.ut.hpp" using CursATE::Screen::detail::Marks; using LogATE::makeKey; namespace { TEST_SUITE("CursATE::Screen::detail::Marks") { struct Fixture { auto makeNode() const {...
31f1964a0ddfda49ada471520700d74af1c58842
697443cd09e041fffed3b3a0d9d39d0dd3811cc0
/Udoo/light_sensor_march_22_19_30/light_sensor_march_22_19_30.ino
19ca621ae138c99d06926dd60f28cff46d1790a3
[]
no_license
CTIS-SP-Team5/greenAgent
7c79449031fe64a57d12b03ddce4af98b03cc574
1350e0a1543dbc1826c7bc51b2d9b593af12f5a8
refs/heads/master
2021-01-19T11:21:55.494269
2014-05-07T12:12:17
2014-05-07T12:12:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
915
ino
light_sensor_march_22_19_30.ino
#define ANALOG_SENSOR_PIN A0 #define DIGITAL_SENSOR_PIN 3 #define LEDPIN 3 //Onboard led int switch_state; // Holds the last digital value int light_analog_value; // Holds the last analog value void setup() { // put your setup code here, to run once: delay(3000); pinMode(LEDPIN, OUTPUT); Serial.be...
154c4bca21e8efa48f2056abb6fe8a9d0fcbdcfe
c4aa2346a3405ac998153c9691a4af210f0a3794
/main.cpp
404c29f272fe6b153ff4bff5a952ee100f4cab8c
[ "Unlicense" ]
permissive
ManDeJan/kvasir-toolchain-hwlib-example
c2f670c49e527a740ca449e5b6e0c9b8aef0bb61
2f6ba858db77d0c053479aea1f1f2285c2e7e655
refs/heads/master
2021-01-22T10:56:06.940618
2017-02-16T09:48:41
2017-02-16T09:48:41
82,053,086
4
0
null
null
null
null
UTF-8
C++
false
false
279
cpp
main.cpp
#include "hwlib-arduino-due.hpp" int main(void) { // kill the watchdog WDT->WDT_MR = WDT_MR_WDDIS; auto led = hwlib::target::pin_out(1, 27); for(;;){ led.set( 1 ); hwlib::wait_ms( 500 ); led.set( 0 ); hwlib::wait_ms( 500 ); } }
43a80af1d5740ed6e41eeb08ce1e911e55fe77f9
0aaf2bcc185717310133f4141d8615af69308ee0
/client/client.cpp
614aadad3c665aad24bd50525752d0571babf44d
[ "Apache-2.0" ]
permissive
mefest/net
fd1b3b35f1873c4cdc3ac52b44800561bd950eef
87b62eaa0179bbeae2e177066be236b85305480b
refs/heads/master
2021-01-21T13:41:33.992725
2016-04-24T19:53:46
2016-04-24T19:53:46
54,844,971
0
0
null
null
null
null
UTF-8
C++
false
false
3,344
cpp
client.cpp
#include "client.h" #include "QAbstractSocket" #include "package/packagecommand.h" #include "package/packagemessage.h" #include "package/packageauth.h" #include "package/packagefilehandler.h" Client::Client(QObject *parent) : QObject(parent), state(Closed) { compres=0; sok=nullptr; setSocked(new QTcpSocket...
d777a79595ff5213148e8ef508c03febeeb8150d
bc5377f1143f529c091a8bade0d7f63ed067f8fa
/11-yacc_examples/compiler.cpp
aa407dd4939c95ffac3f89d33e5b762a51614bd5
[ "MIT" ]
permissive
puma3/compilers
f744ee871119937638ce5ba3b0607eabdb1afdb6
b0b845db7f81b75182c0c01e7255a2fe758a9475
refs/heads/master
2021-08-31T14:53:58.699139
2017-12-21T19:42:55
2017-12-21T19:42:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,045
cpp
compiler.cpp
#include <bits/stdc++.h> // # include <stdio.h> // # include <math.h> // // # include <conio.h> // # include <ctype.h> // # include <string> #define FLOAT 256 #define MAX 257 #define MAS '+' #define MENOS '-' #define MUL '*' #define DIV '/' #define PARI '(' #define PARD ')' #define FIN '-1' #def...
b7f8d8ed73892b4bd4c3058714c16fcaa4eafc5e
92e67b30497ffd29d3400e88aa553bbd12518fe9
/assignment2/part6/Re=110/41.4/phi
b399230fbb441038624966d44f78fad7546dfa21
[]
no_license
henryrossiter/OpenFOAM
8b89de8feb4d4c7f9ad4894b2ef550508792ce5c
c54b80dbf0548b34760b4fdc0dc4fb2facfdf657
refs/heads/master
2022-11-18T10:05:15.963117
2020-06-28T15:24:54
2020-06-28T15:24:54
241,991,470
0
0
null
null
null
null
UTF-8
C++
false
false
42,956
phi
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
825595f662eeb7de8490a655ac5aad5f0f6db4be
2b4fbc21a8bc43e6c485612cb665664a10cf7bf7
/Server/NetworkManager.cpp
dcc3fe7143f7e17472501974c8f03f11e265124c
[]
no_license
lexablackstar/aMessage
54fe7da30f57188174d78490a40692e57a9ecf3d
fb69981caa466d7cfb60481375adb8afdb47db8a
refs/heads/master
2022-11-27T07:20:34.926802
2020-07-27T14:46:02
2020-07-27T14:46:02
282,925,492
0
0
null
null
null
null
UTF-8
C++
false
false
914
cpp
NetworkManager.cpp
#include "NetworkManager.h" #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #include <netinet/in.h> NetworkManager::NetworkManager(){ } int NetworkManager::getIpByName(/*IN*/char* hostname,/*OUT*/ char* ip) { addrinfo hints, *res;...
1be817d43a0f16a32efd1d0ffee031310685750d
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/password_manager/core/browser/ui/credential_ui_entry_unittest.cc
8d412ba698e864621e43a1e56202f3fb2cfd20b4
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
10,102
cc
credential_ui_entry_unittest.cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/password_manager/core/browser/ui/credential_ui_entry.h" #include <vector> #include "base/strings/utf_string_conversions.h" #include "components/password_...
bec64a4b33521378fc24f06612ea29d1db63e9fb
d4aa4759471cc50f4bbb666fd48cabcdc2fba294
/leetcode/cpp/Array/33.cpp
662cc8b8818f1aab4b21cf473a4c709743cb8f32
[ "MIT" ]
permissive
zubairwazir/code_problems
e9cfc528a90c3ab676fe5959445dcaa7666b5767
a2085f19f0cc7340f1fc0c71e3a61151e435e484
refs/heads/master
2023-09-02T03:08:09.303116
2021-11-17T03:40:42
2021-11-17T03:40:42
429,559,611
1
0
MIT
2021-11-18T19:47:49
2021-11-18T19:47:49
null
UTF-8
C++
false
false
1,971
cpp
33.cpp
class Solution { public: int binarySearchHelper(vector<int> &nums, int lo, int hi, int target){ //simple binary search int mid; while(lo<=hi){ mid= lo + (hi-lo)/2; if (nums[mid]==target) return mid; else if (nums[mid]>target){ ...
7ed00687b67d32f75c8b5467d5036a9322e94531
0e7af5c612f009ad3e234519ec52743d7e287882
/MythCore/message/message.hxx.pb.cc
ac3d8da432ec2efaffe6705d2f33dd71f622c5fa
[]
no_license
jefferyyellow/MythCore
678b1f777f51b8cf3e4f40299b4e2f29882b9cf1
4f2d09dec8e772b190c48f718febec8853671cd9
refs/heads/master
2021-08-01T00:58:58.711347
2021-07-22T15:06:17
2021-07-22T15:06:17
43,931,424
3
1
null
null
null
null
UTF-8
C++
false
true
3,973
cc
message.hxx.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: message.hxx #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "message.hxx.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <...
d54fd92f05f9a0a776b66ecbbdaf642f4ffbbc32
44227276cdce0d15ee0cdd19a9f38a37b9da33d7
/arcane/extras/NumericalModel/src/NumericalModel/Algorithms/FiniteVolumeAlgo/LinearSystemAssembleOp.h
c5e6149c7c77c948c00404ed091fdce22801e68d
[ "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
31,857
h
LinearSystemAssembleOp.h
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- #ifndef LINEARSYATEMASSEMBLEOP #define LINEARSYATEMASSEMBLEOP #include "Numerics/LinearSolver/Impl/LinearSystemTwoStepBuilder.h" //#define DEBUG_INFO template<class CellExpr> Real upStream(const Cell& T0,const Cell& T1,CellExpr& cell_exp) {...
76910c9daeffc7222556027e4b30b72ac0b1a8a6
84b7ef7ab7bc91c184cbe8d7ee1c48f08cbfa2a9
/hexToDecimal.cpp
d057aa640f791de90dbeb5cbc1921f000e1bbf49
[]
no_license
parakramchauhan98/8085-Emulator
86eb00861ad7e426340ebb30676526a61161d270
bb1249d31959387cda25395b61649d7115a9e4d5
refs/heads/main
2023-03-15T18:35:57.431029
2021-03-16T04:15:17
2021-03-16T04:15:17
348,210,324
0
0
null
null
null
null
UTF-8
C++
false
false
244
cpp
hexToDecimal.cpp
#include "MASTER.h" #include <string> void hexToDecimal(string pc,int arr[]){ int l = pc.length(); int p = 0; for(int i =0 ;i<l;i++){ if(pc[i]>='0' && pc[i]<='9') arr[i] = pc[i] - '0'; else arr[i] = 10 + (pc[i] - 'A'); } }
1472c69ce6efbe8996ad1aedfd94276c0c1568b7
5863588c32c110e57fe985a5d9c2598be82e6311
/RayTracer/Surface.h
916073e3385e1f576cbbaf0e172d80ab525788e0
[]
no_license
jpbream/RayTracer
37300c6a5f3cfdc9a094114898bca03867561ece
da2f0ac64971e5a97acacec03b797929f7bd6cee
refs/heads/master
2022-12-23T23:43:42.258021
2020-09-19T00:06:52
2020-09-19T00:06:52
286,766,545
0
0
null
null
null
null
UTF-8
C++
false
false
2,973
h
Surface.h
#pragma once #include <string> #include <iostream> #include "Vec4.h" #include "Vec3.h" #define PI 3.14159265358979323846 // returns an integer color value from a Vec4 #define COMPRESS4(v) ((int)(v.r * 255) | (int)(v.g * 255) << 8 | (int)(v.b * 255) << 16 | (int)(v.a * 255) << 24) // returns an integer color value fr...
348366c291f087fd6047626438f97ac8c5c95db0
3a39b41a8f76d7d51b48be3c956a357cc183ffae
/BeakjoonOJ/4000/4013_ATM.cpp
b068d322ee01c1c2f104aac14f754d88b91d82f9
[]
no_license
Acka1357/ProblemSolving
411facce03d6bf7fd4597dfe99ef58eb7724ac65
17ef7606af8386fbd8ecefcc490a336998a90b86
refs/heads/master
2020-05-05T10:27:43.356584
2019-11-07T06:23:11
2019-11-07T06:23:11
179,933,949
0
0
null
null
null
null
UTF-8
C++
false
false
2,566
cpp
4013_ATM.cpp
// // Created by Acka on 2017. 7. 13.. // //http://ideone.com/J3CVpI smu's tarjan #include <stdio.h> #include <vector> #include <stack> #include <algorithm> #include <queue> using namespace std; bool chk[500001]; int idx[500001], low[500001], sn[500001], cnt, scnt; vector<int> adj[500001], memb[500001]; stack<i...
016154b92a0d2dbd788e336aa738acd4fa419474
5a4b8d25508f6a820365dfacdf067e56d09fea93
/PictureBookEditor/Layout.cpp
d914b0e1303a4fdfd308de3ce4534041e5d7677f
[]
no_license
ajiponzu/PictureBookEditor
9cb093a3351d53e234d4e7610943b23e3b48264d
281427a16f9f7b8dfee16758471af503a2464244
refs/heads/master
2023-01-24T08:50:46.019875
2020-12-05T15:43:41
2020-12-05T15:43:41
315,276,359
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,095
cpp
Layout.cpp
#include "Layout.h" //コンストラクタで呼ばれる初期化処理 void Layout::init() { //dpi取得,高DPI,高解像度のディスプレイを使用している場合, //位置を修正できる dpi = Graphics::GetDPIScaling(); initMenuViewMacro(); initPictureSetViewMacro(); initScenarioSetViewMacro(); initPageSetViewMacro(); BTN_F_SIZE = 20 * dpi; BACK_RECT_WID = 450 * dpi; SLIDER_L_WID = 20...
e3b5ec6971fefa4df3e40247d7a974e80bc29bd2
d69d609c0c80aade62c98f583c671dc0b27d0b27
/Block.cpp
454dfbad4bae807a95b71e7e91a754a64437b463
[]
no_license
shakedguy/Tetris_Project
a525d6332153df3d75e4ce59dd452fbe106024a7
235827d5308e6bb35d41ba4e69557dabcea04cea
refs/heads/master
2023-05-08T15:56:13.000791
2021-05-31T20:10:08
2021-05-31T20:10:08
350,011,730
0
0
null
2021-04-28T16:14:13
2021-03-21T13:47:41
C++
UTF-8
C++
false
false
7,221
cpp
Block.cpp
#include "Block.h" Block::Block(const Point& _pos) : pos(_pos), shape(SHAPE) { std::random_device rnd; const std::uniform_int_distribution<> shapeRange(0, 6); const std::uniform_int_distribution<> colorRange(1, 14); shapeNum = (shapeRange(rnd)); color = static_cast<Color>(colorRange(rnd)); cleanBlock(); setF...
fa141974c02fdd78c69795af65628f4ef0a36dc8
5ac4af1856032d41cedcd83b481b247c9cd2ede0
/lib/Runtime/old/opengl/mpi-old/glVolumeRenderable.cpp
55770e4df459242cc48fb0cbe46bdbfc332e6bf1
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive" ]
permissive
lineCode/scout
884bf2a6bf5c0e9963ef6af36f8559ec635929f3
a7b66c9bb6940625005c05bc350491a443a23866
refs/heads/master
2021-05-30T14:55:14.591760
2016-02-18T22:45:02
2016-02-18T22:45:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,665
cpp
glVolumeRenderable.cpp
/* * ----- The Scout Programming Language ----- * * This file is distributed under an open source license by Los Alamos * National Security, LCC. See the file License.txt (located in the * top level of the source distribution) for details. * *----- * * $Revision$ * $Date$ * $Author$ * *----- ...
55021a96c7ed0676c0e291557c00914765938113
6b7487a2f9b8bd58b0553e001e7a378c7484d384
/src/util/HashMap.h
8cb2e43adc52f948dbed66acdb44e504cab7de2b
[ "Apache-2.0" ]
permissive
joka921/QLever
7b41039f64690349bc6412a5acb9cb4a5f2c9026
c9b1958a13f41736d43b14da5c74abfbff4e968e
refs/heads/master
2023-08-31T21:30:15.049684
2023-03-16T18:30:07
2023-03-16T18:30:07
127,433,123
0
1
null
2018-03-30T13:47:32
2018-03-30T13:47:32
null
UTF-8
C++
false
false
594
h
HashMap.h
// Copyright 2018, University of Freiburg, Chair of Algorithms and Data // Structures. // Author: Björn Buchhold <buchholb@informatik.uni-freiburg.de> // Author: Niklas Schnelle <schnelle@informatik.uni-freiburg.de> #pragma once #include <absl/container/flat_hash_map.h> namespace ad_utility { // Wrapper for HashMaps...
31ed630b8b5ab165cdb7fa4a52dc4aec6d6a1187
c98bd90167d63866d7824186039b95d3b5b2bc1f
/perfectNumber.cpp
17f199330340ca6ae90d1da31dbfc5c7d0273aab
[]
no_license
Tariqul2h2/BasicC
a14bcb4a3dcecd7ed4d1ec14cf30a3aa7a791f68
c3d5c115120a974f65b29ffc95bf123c86aa1282
refs/heads/master
2023-01-28T16:28:41.604140
2020-11-29T17:15:17
2020-11-29T17:15:17
272,958,453
0
0
null
null
null
null
UTF-8
C++
false
false
389
cpp
perfectNumber.cpp
#include<stdio.h> int main() { int n, l = 0, i; scanf("%d",&n); printf("Divisors are: "); for(i = 1; i <= n/2; i++) { if(n%i==0) { printf("%d ",i); l = l+i; } } printf("\n"); if(l == n) printf("%d is a Perfect Number...
df13ae03df72601cc7843ce3a2a328c212b1df82
42541dd5c8f7409cc160d512bebaa69b7fe2d869
/RATA_PDF/input/hist_maker.h
db0f66867a8fcfe1ff3a9ff449f420311774fa94
[]
no_license
Aachen-3A/tools3a
29f37c58c2758ee1b78fafe2012b84425b8bcdc0
6ed78c89ac085b8366d85414759dd9fc576f5423
refs/heads/master
2018-12-28T18:02:33.762660
2015-10-24T08:38:46
2015-10-24T08:38:46
29,477,699
0
1
null
2015-10-24T08:38:47
2015-01-19T15:38:25
Python
UTF-8
C++
false
false
15,374
h
hist_maker.h
/** \file hist_maker.h * * \brief Functions to calculate the PDF uncertainties. * The functions will be called by tha RATA_PDF package. * */ #include <TROOT.h> #include <TH2.h> #include <TStyle.h> #include <TCanvas.h> #include <iostream> #include <fstream> #include "TSystem.h" #include <TChain.h> #include <TFile....
8906a5223229b0bd3958f6a15593e7cbef002fc5
b831452a8efdf7559db62df7c5d3fea95656230f
/oddgravitysdk/CxImage/demo/DlgMix.cpp
ab3b1bd3fc7c8036a3e372e12b928e627c69ac04
[ "MIT" ]
permissive
mschulze46/PlaylistCreator
83760d984f41c138b701fd2e0a55d86ed92b8740
d1fb60c096eecb816f469754cada3e5c8901157b
refs/heads/master
2020-09-29T04:41:39.271163
2019-12-18T10:11:02
2019-12-18T10:11:02
226,953,263
1
0
null
null
null
null
UTF-8
C++
false
false
5,559
cpp
DlgMix.cpp
// DlgMix.cpp : implementation file // #include "stdafx.h" #include "demo.h" #include "demoDoc.h" #include "DlgMix.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // DlgMix ...
ddff719019e2d9ef0d588f71199ec552d046aa4e
c1b1f9e168ff4d707097290a8b410cc160b41bfd
/ObjectPooling/src/StackPool.hpp
3e6edc80ba6f204615d35b48b277ad6a7a2b531d
[ "MIT" ]
permissive
swrni/object_pooling
25c22b4d6f1dd7567933ebdecda1c0e8df97b31a
81d82e257a2ddb2c3871e8c2af77bf416c423502
refs/heads/master
2021-04-18T21:39:06.052423
2018-03-26T07:38:19
2018-03-26T07:38:19
126,790,336
0
0
null
null
null
null
UTF-8
C++
false
false
5,030
hpp
StackPool.hpp
#pragma once #include <iostream> #include <vector> #include <array> #include <memory> #include <numeric> // std::iota. struct EmptyType {}; template <typename Object, typename Store = EmptyType> struct Initialize { static_assert( !std::is_same<Object,Store>(), "Object and Store must differ" ); // Simple initializ...
510ef68c6e0f2cc3d2b602057878389e59bc9855
17bd992d9b0bed53db905988cf5e0667b15dffb3
/kb4/poj2502.cpp
1fe5d31291049129bc59ee57be4a4b491161aa4d
[]
no_license
Amano-Sei/acmnomichi
2c1cc640a5dd63ea930e7a1b4555da554ba6bc9c
80bc7fa29720c4f724e7f64afb253f52eff252b3
refs/heads/master
2020-09-27T06:16:23.669010
2019-12-22T14:55:21
2019-12-22T14:55:21
226,448,318
0
0
null
null
null
null
UTF-8
C++
false
false
2,767
cpp
poj2502.cpp
/************************************************************************* > File Name: poj2502.cpp > Author: Amano Sei > Mail: amano_sei@outlook.com > Created Time: 2019/9/27 9:04:12 ************************************************************************/ #include <cstdio> #include <algorithm> #inc...
a19f83265aa9f8fd1e0789fcaaa5bca774b8f5fa
ec113fe9174910f622d7b4b46b9fd0241388b009
/Splash.cpp
90ab9852d3115070615873f8f60141e242e1045d
[]
no_license
RamseyX/RamseyX-client
150d67bc5b0cd81420883568dddabc277d54f8e2
d03a6af1d4e9d5bdc8849ff5de893c0b55fc544f
refs/heads/master
2020-12-24T14:18:31.017496
2013-12-29T15:12:17
2013-12-29T15:12:17
15,371,939
1
0
null
null
null
null
UTF-8
C++
false
false
1,625
cpp
Splash.cpp
// Splash.cpp : 实现文件 // #include "stdafx.h" #include "RamseyX.h" #include "Splash.h" // CSplash IMPLEMENT_DYNAMIC(CSplash, CWnd) CSplash::CSplash() { } CSplash::~CSplash() { } BEGIN_MESSAGE_MAP(CSplash, CWnd) ON_WM_PAINT() ON_MESSAGE(WM_INIT, CSplash::OnInit) ON_MESSAGE(WM_BENCHMARK, CSplash::OnBenchmark) ...
496dbd0231e7c42cb894460a51931b59aedc176d
56968444705bb68823c547a93f6f7580d7aa00ac
/monday_gsm_code.ino
6d4fcdf6d1f8359cf3ea5c61cb320baedc21e1c4
[]
no_license
Agatha18/Remote-Alert-System
d1dee49fc76b07933d9f1c72f723a99cd4a4110c
593eeb7eb1ec1626da36c6d907f93bcb7017b361
refs/heads/master
2020-06-24T15:37:18.345830
2019-07-30T15:04:16
2019-07-30T15:04:16
199,002,963
1
0
null
null
null
null
UTF-8
C++
false
false
1,659
ino
monday_gsm_code.ino
#include <RH_ASK.h> #include <SPI.h> #include <SoftwareSerial.h> #include <Sim800l.h> SoftwareSerial mySerial (9,10); #define dataout 12 #define datain 11 RH_ASK rf_driver; int buttonState1 =0; int buttonPin = 2; int buzzerPin = 3; int ledPin = 6; const int toneFreq = 423; void setup() { rf_driver.init(...
3fa2f0ab375142a820cc05241df56e6ffbc8494b
8e53ec500653d1836ece3366e6d0fba8332b6acb
/pr09/5.cpp
17b2f7d10df0003e270ce2c46bd85d5d5eac4514
[]
no_license
artnitolog/cpp-grammars_course
184bd38b4847476a1a30c3c7cd3249db47a03eb2
2382e7db12bbad4f30b81c678e75ce93d8daa2aa
refs/heads/master
2022-11-24T23:53:27.766214
2020-07-23T22:51:16
2020-07-23T22:51:16
282,063,945
0
0
null
null
null
null
UTF-8
C++
false
false
1,444
cpp
5.cpp
#include <iostream> #include <map> #include <set> #include <vector> #include <utility> #include <cctype> #include <algorithm> #include <iterator> class CFGrammar { public: CFGrammar(std::vector<std::pair<char, std::string>> &&rules) : rules_(std::move(rules)) { for (auto &[from, to]: rules_) { ...
7dfe318dfcd5ab286436ab1481e0e6c8314106e9
7c616726fd00dfd390bc88264cb0a60f7eb12445
/projects/Getting_Started/src/Robot.cpp
fe10e54dc59bb1a23bda2a364a967b4ee9d54818
[]
no_license
Sparky384/FRC_2015
0c343cc8e211b3f05a2286e7265cc51ac9e5a75e
75d5bca1dae977068ad44778156375490bfab191
refs/heads/master
2021-01-16T19:08:21.034521
2015-03-18T00:40:35
2015-03-18T00:40:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,596
cpp
Robot.cpp
#include "WPILib.h" #include "Commands/ExtendRightWiper.h" #include "Commands/RetractRightWiper.h" #include "Utilities.h" #include "RobotDefinitions.h" #include "ElevatorController.h" #include "DerivedCameraServer.h" #include <math.h> class Robot: public IterativeRobot { Gyro *rateGyro; RobotDrive myRobot...
e587b124e92b91ef779f049c140aff60c7aed2a4
1d00c762556a1e86144f61a4f6a6bddd4d3270bd
/HW5/HW5-2.cpp
bee1fa8e7fb1806c6cfc2cba639ee65d6508f53c
[]
no_license
wei8596/C_Programming_2
2cb80942c848ea9d3c19c89907cee3ce264c892e
5577f222115346a03813f1546f057948e11bd4be
refs/heads/master
2020-03-29T11:58:28.501387
2018-11-03T16:13:42
2018-11-03T16:13:42
149,879,538
0
0
null
null
null
null
UTF-8
C++
false
false
4,677
cpp
HW5-2.cpp
#include <iostream> #include <cmath> using namespace std; class Polynomial { public: Polynomial(); // default constructor Polynomial(const Polynomial& object); // copy constructor const Polynomial& operator=(const Polynomial & rhs); // operator= ~Polynomial(); // destructor Polynomial(double coefficien...
dab61aa69db52e7ec4e9ae0bdd042f17cea7b862
dadf1befe13c33f601db63b9dbb3f67d2d932ed5
/Tetris/Block.cpp
ac1ad42aac99fe0d865b35c30ee80c3292216175
[]
no_license
ZhengLiChina/Tetris
821f9e6532a03fdcaea51ed4917e8a8eaa3b536c
18f2e14b2ff139ad0acbd3843f0eeb49cb53019f
refs/heads/master
2016-09-05T09:57:13.778337
2013-10-24T11:55:32
2013-10-24T11:55:32
null
0
0
null
null
null
null
ISO-8859-7
C++
false
false
2,278
cpp
Block.cpp
#include"Block.h" #include<algorithm> Block::Block(Chessboard* cb):chessboard(cb) { //Init(1); shapeKinds=7; } Block::Block(int shape) { //Init(1); SetBlock(shape); chessboard=NULL; shapeKinds=7; } Block::~Block() { } Block::iterator Block::begin() { return block.begin(); } Block::iterator Block::end() { ...
2a0085b3aea5d9cf6b3adab6173275ed6fbaae13
a12b6eba2cf6e7199f8b98713696d7ac83d5f1ec
/main.cpp
4a6eb5fc2f97f9ace0e60bdf2812369fa615d063
[]
no_license
mezamarco/SortingAlgorithms
622843fac6431b84f86bf09a9dc5c268285bcf6d
3a68b4672c282150834cfffa6a3f6e15aebf19ab
refs/heads/master
2020-03-09T03:02:50.235538
2018-04-16T20:36:09
2018-04-16T20:36:09
128,555,728
0
0
null
null
null
null
UTF-8
C++
false
false
8,019
cpp
main.cpp
// sortingAlgorithm.cpp : Defines the entry point for the console application. #include <iostream> #include <ctime> #include <vector> #include <queue> #include <set> #include <iterator> //Function prototypes //Function that will print the contents of our vector void display(std::vector<int> & myVect); //These ...
90ad2eba1710eccb50a3876d88852f132568f1b6
76e49a7bed55e4fdd31d753cce7f79a29881c0e8
/src/ui/imgui/GUIElement.cpp
d40f1a083b5725665bfbf1eef13a34fec3b7b0c1
[]
no_license
defcanuck/cse_public
ff66f4544e89b9b78baca9948ce469824fcc80df
23f4d3376f131ddd1765ad1da8fc59a32ad29366
refs/heads/main
2023-05-11T10:15:33.317658
2021-06-02T22:40:00
2021-06-02T22:40:00
373,317,769
0
0
null
null
null
null
UTF-8
C++
false
false
1,770
cpp
GUIElement.cpp
#include "PCH.h" #include "ui/imgui/GUIElement.h" #include "ui/imgui/GUIContext.h" #include "imgui.h" namespace cs { bool GUIElement::prepareGUI(bool inWindow, size_t depth) { if (!GUIContext::isContextValid()) return false; if (!this->enabled) return false; RectF thisRect = this->getScreenRect(); ...
97c4a1dcf18bbf8f9eba033235571b7b603f78a4
635553aec5febc8ac53f5cb792ca0487c542edc3
/CPPBasics/6 Arrays.cpp
d275c9fb124d326c6ce62a273e5b199389311561
[]
no_license
joeslee94/UnrealCDoublePlus
9cf273af21873b37ce228a9e0d530a56a366e7d1
f7f7b963381553078db9ae592741fe5f909227ca
refs/heads/main
2023-04-04T06:27:52.602044
2021-04-19T16:03:13
2021-04-19T16:03:13
353,158,317
1
0
null
null
null
null
UTF-8
C++
false
false
376
cpp
6 Arrays.cpp
// 6 Arrays.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <cmath> using namespace std; int main() { //Arrays int number[] = { 1, 2, 3, 4, 5, 6, 7 }; cout << number[0] << " " << number[1] << " " << number[2] << endl; ...
6d98e5259f0678a2345be990a2b3344e50e15116
ab1a5e0268aca022dc8f3f3824cae7e506710897
/aQR.cpp
ba042748c538c6fc0328e86031fcbc91be7b59d3
[]
no_license
clip71/aQR
e39202d02497d52d0db2f1aa5a39d09f0144fe27
9bbead0c67749e503aa80cff70354e2a5ccb7199
refs/heads/master
2021-05-16T02:58:29.264780
2020-06-25T05:49:07
2020-06-25T05:49:07
19,936,801
4
2
null
null
null
null
UTF-8
C++
false
false
35,153
cpp
aQR.cpp
/* * aQR - QR Code encoder class C++ * * version 0.3.2 - 19.05.2014 * * Copyright (C) 2014 Tyumenska region, Surgut * Konstantin Slabouzov <clip71@inbox.ru> * * temporary restrictions: * support QR_ENC_BYTE only */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "aQR.h" const aQR::QR_...
ca098f97583ee7eaafe1c2379d447d283fbf61d3
f4a7677b7ea55fd4816483f3dc73d1c7b0de799e
/lib/include/prjxray/database.h
76b10935d4ae4a5945853bd5774afe158bd903de
[ "ISC", "LicenseRef-scancode-dco-1.1" ]
permissive
unixb0y/prjxray
ff9352f09b0488600c809c04dbabf11ac0e03783
569a44d8beadb7cf6548f7437e46fb456bacdd90
refs/heads/master
2021-04-30T04:54:49.106084
2018-02-20T00:19:00
2018-02-20T00:19:00
121,402,689
2
0
ISC
2018-02-15T02:45:43
2018-02-13T15:57:44
Verilog
UTF-8
C++
false
false
438
h
database.h
#ifndef PRJXRAY_LIB_DATABASE_H #define PRJXRAY_LIB_DATABASE_H #include <memory> #include <string> #include <vector> #include <prjxray/segbits_file_reader.h> namespace prjxray { class Database { public: Database(const std::string& path) : db_path_(path) {} std::vector<std::unique_ptr<SegbitsFileReader>> se...
34c0401c549f5979b2a4108ed9670c3b0ef18eb0
05db1d0c4b5fabce4a5fdb76bb4a286f141c1939
/calcLenString.cpp
6e7996705c327477e6a5ad1b5a5aab3853bac497
[]
no_license
dtfabio/calc-Len-string
a4e10c99fcef8d4bfdef787ee66cc0e83a815d6b
9103c1d5011f42aa4159f23cc7e6dca09d695f1b
refs/heads/master
2022-04-21T21:38:55.437249
2020-04-20T21:44:20
2020-04-20T21:44:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
309
cpp
calcLenString.cpp
#include <iostream> using namespace std; int len (char s[]) { int d=0; while(s[d]!='\0') d++; return d; } int main() { char stri[50]; int lungh; gets(stri); lungh=len(stri); cout<<"la lunghezza della stringa " <<stri<<" e': "<<lungh<<endl; system("pause"); }
8f194bd8450e44170f14ea8a2205c83087286a31
aac83bbda97ab5f7efc4ae131dcb2da33ec9a97e
/app/kdelibs/krandomsequence.cpp
3a20007b1ab0f67602384a32ea4c42865a5e433a
[]
no_license
phedlund/WordQuiz
e8d731033bd62f09c3e7cedb64a921de0e8249a1
adbc7ba0773d29901a2c52c4af95e4db9544183a
refs/heads/master
2021-01-01T05:48:34.828473
2012-11-14T18:49:51
2012-11-14T18:49:51
1,973,988
2
0
null
null
null
null
UTF-8
C++
false
false
5,494
cpp
krandomsequence.cpp
/* This file is part of the KDE libraries Copyright (c) 1999 Sean Harmer <sh@astro.keele.ac.uk> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or...
41a64fbc75be762ff3f3f488337541830310eb30
bc6b55224c05e7f662c4147d499989609ff8cd1c
/ZCWebServer/Interface/InterfaceUserChangePassword.cpp
a7a53b05b4219356b2e03394f2b8c28052b8744e
[]
no_license
lossed1990/jinying
76fb2aabfbc9ca240549a00046d02e2100cddaf4
0d4131d773ff3b2a872a37a87b29064ee32e9e80
refs/heads/master
2021-09-02T11:38:41.390743
2018-01-02T09:26:35
2018-01-02T09:26:35
114,993,525
0
0
null
null
null
null
UTF-8
C++
false
false
2,079
cpp
InterfaceUserChangePassword.cpp
#include <Windows.h> #include <io.h> #include <stdio.h> #include <stdlib.h> #include "../JsonRequest/EncodingToolsClass.h" #include "../ToolFuncs/ToolFuncs.h" #include "document.h" #include "prettywriter.h" #include "stringbuffer.h" #include "CommonFunction.h" #include "InterfaceUserChangePassword.h" using namespace ...
1f630156c31be2ac1a83fb446f197b38c69d286a
fba6ee80ae03468ad5c6f29c07be4b7f88456e47
/test9_program_options.cpp
783952e092ae9bff04033e6d16e7720ab154ac2f
[]
no_license
shane0314/testcpp
397df85eaab2244debe000fd366c30037d83b60e
480f70913e6b3939cc4b60b1a543810890b3e317
refs/heads/master
2021-07-09T15:35:37.373116
2020-07-17T09:13:49
2020-07-17T09:13:49
163,728,721
0
0
null
null
null
null
UTF-8
C++
false
false
2,731
cpp
test9_program_options.cpp
/* compile command at linux: g++ test9_program_options.cpp -o t9 -lboost_program_options */ #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include <boost/regex.hpp> #include <boost/foreach.hpp> #include "myHfile.h" #include <vector> using namespace std; int main(int argc, char** argv ) ...
4759b2d97eb988cc1b775712f4cf1bc49356d6cf
72f6aca80d0bdc1e16f3bdb11b6e280f26e00f34
/src/media_player_82/id3_frame.cpp
1ead8f703e0d5ce90bd01b49f6c3f25b59c3561b
[]
no_license
antsaukk/media-player
5c22769f3703b3950872865288db8500ce11a2a4
a38d7c79c8bdbf6d661401040c84249a84e4111d
refs/heads/master
2023-07-08T02:34:39.232055
2021-08-13T08:16:50
2021-08-13T08:16:50
330,608,063
0
0
null
null
null
null
UTF-8
C++
false
false
2,366
cpp
id3_frame.cpp
#include "id3_frame.h" #include <string> #include <iostream> #include <fstream> #include <algorithm> // A constructor to be used when reading the data from a file ID3_Frame::ID3_Frame(std::vector<char> header_, std::vector<char> value_) : header(header_), value(value_) { } // Helper function to get ...
6fc056d9f3ce055f2a49b4bd94cf7ae98d28da69
be0204c1b95839adee1ad204be022be38e32e2d6
/BOJ/2743.cpp
10e048f61c08e32848e405200f6b8ac992e2b09e
[]
no_license
tlsdorye/Problem-Solving
507bc8d3cf1865c10067ef2e8eb7cb2ee42e16dd
5c112d2238bfb1fc092612a76f10c7785ba86c78
refs/heads/master
2021-06-12T19:19:19.337092
2021-04-23T06:39:43
2021-04-23T06:39:43
179,432,390
4
0
null
null
null
null
UTF-8
C++
false
false
121
cpp
2743.cpp
#include <stdio.h> #include <cstring> char c[101]; int main() { scanf("%s", c); printf("%d", strlen(c)); return 0; }
555827ffdc82b6a2559725ae5038dbd7fb959731
42e0984a94f42bb7f74ffa63493e232debae24e7
/cpp-cnn/layers/max_pooling_layer.hpp
9513632c8b78ce3c1a4b4669177b8e25fddb987f
[]
no_license
RoboTums/find-people
8a2c32307144b1a9950857c74e39c37ebce88dd9
8bc5f3f232cd4096023f67aee4b41750fc7e0adb
refs/heads/master
2021-08-24T16:19:18.559264
2020-04-13T02:22:26
2020-04-13T02:22:26
159,381,254
2
0
null
2018-11-27T18:30:49
2018-11-27T18:30:49
null
UTF-8
C++
false
false
4,396
hpp
max_pooling_layer.hpp
#ifndef MAX_POOLING_LAYER_HPP #define MAX_POOLING_LAYER_HPP #include <iostream> #include <armadillo> #include <cassert> #define DEBUG false #define DEBUG_PREFIX "[DEBUG POOL LAYER ]\t" class MaxPoolingLayer { public: MaxPoolingLayer(size_t inputHeight, size_t inputWidth, size_t...
7dceaef453b28a5e1315717ead165f5db0dfaa0b
ff24e041d4e08c4257ee9e6a987d2bbb5ef68306
/bleep/functions.hpp
1abdd7163d5133458592a5537dafece53999180d
[]
no_license
seagleNet/codecademy-cpp
10a0f488c096c0d7a3b4aa529d5dbae0a37a8aa2
6594e1861f1306062a82d40c8c5b6f61e681fb02
refs/heads/master
2020-05-07T18:43:58.743470
2019-07-28T21:29:07
2019-07-28T21:29:07
180,780,874
0
0
null
null
null
null
UTF-8
C++
false
false
109
hpp
functions.hpp
using namespace std; void asterisk(string word, string &text, int i); void bleep(string word, string &text);
4493017e0d2035ddb1760e21f9322c16b87b5994
103a7320969e0153cda6951aba9e009397a5d79d
/include/FixedArrayStorage.h
8693db79c0f2f886e3a1cf4ba136e1effdf52992
[ "MIT" ]
permissive
tailsu/QuickSig
0f27113c2eba42a235ce8112302c867498b5df75
6ee56638cc6d3945ed88f74fe00158658f9bb1bd
refs/heads/master
2021-01-01T19:10:20.464777
2015-01-10T14:21:54
2015-01-10T14:21:54
29,059,302
0
0
null
null
null
null
UTF-8
C++
false
false
1,289
h
FixedArrayStorage.h
// This file is part of the QuickSig library. // Copyright 2008 Stefan Dragnev. // The library and all its files are distributed under the MIT license. // See the full text of the license in the accompanying LICENSE.txt file or at http://www.opensource.org/licenses/mit-license.php #pragma once #include "Storag...
9fcf0dd39b63619af6ebaebf775cebd93fec0f5f
c81ef20ab259c0941b25054ad07fde801db8a615
/src/Graphic/Circle.cpp
928711626b5b4b9659d2739e8f59d3ff287c0dc0
[]
no_license
gerald5867/GFMEngine
d449c55b356a4839fba7e64f013f8bdd60494453
b1d4dd3da93872e64a3dc3edd204f9e9bbdc992b
refs/heads/master
2021-04-29T23:17:17.540132
2019-06-18T08:06:53
2019-06-18T08:06:53
121,552,006
0
0
null
null
null
null
UTF-8
C++
false
false
1,284
cpp
Circle.cpp
#include "CircleRenderer.h" #include "Circle.h" gfm::graphic::Circle::~Circle() noexcept { static int dtorcall = 0; CircleRenderer::instance().Remove(*this); m_rendererIndex = 0; dtorcall++; } gfm::graphic::Circle::Circle() : Shape() , m_radius(1.0f) , m_scale(1.0f) { m_rendererIndex = CircleRenderer::instance()....
d16e677b303434e3432a123a82e16d5b9f6e1c91
4f5691998e1e55451b17fe6c0d35f294cc38c405
/CharMemoryPool.hpp
461971ecb1ac952d34efcc39f58a53e0bf0b2db6
[ "BSD-3-Clause" ]
permissive
PankeyCR/aMonkeyEngine
9bb3c3f89ec9cab2a181f3cfd43d89f379a39124
a5fb3f7f73f51b17cfe90f6fc26c529b7e8e6c2d
refs/heads/master
2023-06-22T01:36:55.745033
2023-06-15T22:03:09
2023-06-15T22:03:09
198,529,019
1
0
null
null
null
null
UTF-8
C++
false
false
1,410
hpp
CharMemoryPool.hpp
#include "ame_Enviroment.hpp" #if defined(DISABLE_CharMemoryPool) #define CharMemoryPool_hpp #endif #ifndef CharMemoryPool_hpp #define CharMemoryPool_hpp #define CharMemoryPool_AVAILABLE #ifndef ame_Enviroment_Defined #endif #ifdef ame_Windows #endif #ifdef ame_ArduinoIDE #include "Arduino.h" #endif #include...
24ca8608315e91e9ec4b3e30800a3a1df7ca6fd7
7d14d0124135e83fb09af1ccb043d00be691ea74
/src/service/api/rapidjson_utils.h
055a3b67cb4767e94593e8ab2e39d099f8e97103
[ "Apache-2.0" ]
permissive
browsermt/mts
236089ebb54e17a28395801db891e6bd6c0367da
7352e6dde196ac16293728b43d75ed8cad4f61ba
refs/heads/master
2023-03-03T22:11:03.238838
2021-02-12T22:07:07
2021-02-12T22:07:07
276,864,839
11
2
Apache-2.0
2020-07-03T09:46:42
2020-07-03T09:46:41
null
UTF-8
C++
false
false
1,899
h
rapidjson_utils.h
#pragma once // #include "3rd_party/rapidjson/include/rapidjson/rapidjson.h" // #include "3rd_party/rapidjson/include/rapidjson/fwd.h" #include "rapidjson/allocators.h" #include "rapidjson/fwd.h" #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" #include "service/common/...
c86510ce06107adc21e7eddb4ac6af10f617fea0
70418d8faa76b41715c707c54a8b0cddfb393fb3
/738.cpp
ef5ed2246f30e6ba0d0886c1b568d0309a4ea30c
[]
no_license
evandrix/UVa
ca79c25c8bf28e9e05cae8414f52236dc5ac1c68
17a902ece2457c8cb0ee70c320bf0583c0f9a4ce
refs/heads/master
2021-06-05T01:44:17.908960
2017-10-22T18:59:42
2017-10-22T18:59:42
107,893,680
3
1
null
null
null
null
UTF-8
C++
false
false
5,233
cpp
738.cpp
#include <bits/stdc++.h> using namespace std; #define REP(i, b, n) for (int i = b; i < n; i++) #define rep(i, n) REP(i, 0, n) #define pb push_back #define N 5000 #define OUTPUT 0 #define OR 1 #define AND 2 #define NOT 3 #define ALPHABET 4 typedef vector<int> vint; typedef vector<bool> vbool; class Node { public: v...
2a77dbb0401c0a53ea289c80f4011917e5ae973b
dc930010abc738d5a52b7a445f759f87ccb50132
/ms_mpi_static.cc
b30bc6b31a4f97c034f59b9c7269ffc13eabf372
[]
no_license
taffy128s/PP_HW2
fba9fb1cc9ee58bf71fbf6f78b11f2da353be493
9f5ef2f6eb5144cdc8f4d5137c3c134e9c3caae3
refs/heads/master
2021-07-18T20:09:11.483603
2017-10-27T15:17:05
2017-10-27T15:17:05
108,161,407
0
0
null
null
null
null
UTF-8
C++
false
false
3,590
cc
ms_mpi_static.cc
#define PNG_NO_SETJMP #include <mpi.h> #include <png.h> #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> int calc(double y0, double x0) { int repeats = 0; double x = 0; double y = 0; double length_squared = 0; while (repeats < 100000 && length_squared < 4) { doubl...
34738a2c7e35c8638e020936cdd1b114ca188aeb
cf2756bdc6c366715f8e8bc953ba4b8e19765a4a
/cpp/oneapi/dal/backend/primitives/reduction/reduction_1d.hpp
fe64e2fc275dcd1542026613ab0c7061daa4e5db
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Intel", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "MIT", "Zlib" ]
permissive
oneapi-src/oneDAL
c88b1f59218aa3b3b624a7b9f457bfc5823d583b
f4abbf2a18e27fa4165eb6b91b3456b5039e03a6
refs/heads/master
2023-09-06T00:47:52.411627
2023-09-05T22:29:42
2023-09-05T22:29:42
54,928,587
260
115
Apache-2.0
2023-09-14T17:51:26
2016-03-28T22:39:32
C++
UTF-8
C++
false
false
4,743
hpp
reduction_1d.hpp
/******************************************************************************* * Copyright 2023 Intel Corporation * * 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.o...
87b0934543e4e897619a80d0e227b82133d3876c
fd0b0d053e7d67487baa2f48d294704acacf5a32
/Linked_list_bag/lbag.h
f6b48715c707c544596bc3ea19fcff2c509d1001
[]
no_license
CanavanNeeson/CSCI_60
dc7037c054603f8cc45d14215c3a71dfec632320
8aefa05d3bb45966bad387468cd6684ec0b9eff6
refs/heads/master
2020-04-14T04:08:52.927046
2018-12-31T00:29:07
2018-12-31T00:29:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,273
h
lbag.h
#ifndef LBAG_H #define LBAG_H #include <cstdlib> #include <ostream> #include <iostream> #include "node.h" template <class T> class lbag { public: typedef T value_type; typedef std::size_t size_type; // pre: none // post: creates an empty lbag lbag(); // pre: none // p...
211dfcda0c87646184ec90756262760d6bf5900f
bb97a4efbfbd153cc9f9fe1889e7a8eb447c3c40
/main.cpp
f22f41a73a5dae9b32e405125e0c0b73e2d240a5
[]
no_license
Pcornat/VulkanTutorial
285fbe8d5de2fbccb9320040c97a3764ae95793b
c2277cdd8e5e0ffee295fa9289bb1d97e94f21e8
refs/heads/master
2021-06-27T16:32:28.995163
2020-11-01T13:43:34
2020-11-01T13:43:34
163,547,989
0
0
null
null
null
null
UTF-8
C++
false
false
269
cpp
main.cpp
#include <iostream> #include "hello_triangle_app.h" int main() { // try { HelloTriangleApp coucou("Hello", 1280, 720); coucou.run(); // } catch (const std::exception &e) { // std::cerr << e.what() << std::endl; // return EXIT_FAILURE; // } return EXIT_SUCCESS; }
24829d8c0d7e18249cee15bccbed924edff87441
ffb789dd717001da2da181593ecb562f19a210d0
/src/patch.cpp
fb4c091c2c0e23ccb59d1ca10aa14ced1168d64e
[]
no_license
lithium/ym2612-synth
26c7188667ed1ae7dcaee85c91b4adfd99eae27e
b541d01ccdc4cfb228a8f1a8fb17d27985530fb2
refs/heads/master
2020-03-12T16:49:05.209826
2018-06-15T05:33:44
2018-06-15T05:33:44
130,724,284
1
0
null
null
null
null
UTF-8
C++
false
false
348
cpp
patch.cpp
#include "patch.h" const struct ym2612_patch_t GrandPianoPatch = { 2, 6, 0, 0, 0, 0, { {1, 7, 35, 1, 31, 5, 2, 1, 1, 0, 0}, {13, 0, 45, 2, 25, 5, 2, 1, 1, 0, 0}, {3, 3, 38, 1, 31, 5, 2, 1, 1, 0, 0}, {1, 0, 0, 2, 20, 7, 2, 6, 10, 0, 0}, }, 0, "Gra...
f010efe982afc792ac424a23fcfc5ce3303026c8
0c95b4de0c9793908b068667366bedd000f6e800
/Psong/Ball.hpp
078b507d1a692fdc337be18b7f791ed022b146b5
[]
no_license
aclonegeek/Psong
a32704e99944e306455778eb450130ecb2466881
3b9eb866751dbb7ec04276b8c7af4e3a7306334a
refs/heads/master
2021-01-21T14:19:55.101355
2016-07-25T00:58:52
2016-07-25T00:58:52
57,413,296
0
0
null
null
null
null
UTF-8
C++
false
false
359
hpp
Ball.hpp
#pragma once #include "Entity.hpp" #include "Paddle.hpp" class Ball : public Entity { public: Ball(Paddle& paddle1, Paddle& paddle2); void update(const sf::Time dt, const int windowWidth, const int windowHeight); void reset(const int windowWidth, const int windowHeight); private: Paddle* m_paddle1; Paddle* m_pad...
91470ed501f7599671b7588f5c458d354e1da8b6
88678d6377075eb1589fb53e59c908dbc7f26071
/angel_1_1/Code/Angel/CVarChangedAIEvent.h
31a387ef94c474244736d420d52e5ce18a8c530c
[]
no_license
chrishaukap/GameDev
89d76eacdae34ae96e83496f2c34c61e101d2600
fb364cea6941e9b9074ecdd0d9569578efb0f937
refs/heads/master
2020-05-28T11:23:41.750257
2013-08-08T21:59:30
2013-08-08T21:59:30
2,401,748
1
0
null
null
null
null
UTF-8
C++
false
false
380
h
CVarChangedAIEvent.h
#pragma once #include "StringUtil.h" #include "Brain.h" class ConsoleVariable; class OnConsoleVariableChangedAIEvent : public AIEvent { public: virtual OnConsoleVariableChangedAIEvent* Initialize( const String& cVarId ); virtual void Update(float dt); private: ConsoleVariable* _variable; String _lastValue; }...
5f9b24143b2c1ca2a8569d0c27a185bf2141ba65
fa7d6675fe20d6a4c08fcb5721f0569572f857c8
/BerryCPP/berry/berry_gl_client/source/DrawWithVAO.h
31ead9ff6d2dae933ca1212284c83886dc9bfe4a
[]
no_license
yunyou730/berry_project
47cf5876b7cbdc3611c18bef91556aaaabcca678
1b4a96b0bfaca2fce2d8e4997dda326aec268898
refs/heads/master
2022-11-09T04:29:39.427913
2020-06-17T14:41:55
2020-06-17T14:41:55
260,653,922
0
0
null
null
null
null
UTF-8
C++
false
false
553
h
DrawWithVAO.h
#pragma once #include <GL/glew.h> #include <GLFW/glfw3.h> #include "DrawTestcaseBase.h" #include "Renderer.h" #include "VertexBuffer.h" /* Draw with simple VAO ,VBO */ namespace berry { class DrawWithVAO : public berry::DrawTestcaseBase { public: ~DrawWithVAO(); virtual void Prepare() ov...
619e6a5c2bfc5849ddbbefa8c453648b01cc9ae1
d106ecb5f5526d265fd435ed4e1fb02c48a4bed7
/1. 算法部分/第9章 动态规划/第二节 背包问题/3.采药/medic.cpp
28728874e063590cb5483e94fb6cd9c6e707811e
[]
no_license
Lucifer-ww/NOIP_ReC
acd53ccd6fc8a845f8fdba87ed12ec6811154d6c
ed20057f68bd7151c9d9e7067290b7cb0e637a9a
refs/heads/main
2023-01-07T14:52:51.502799
2020-11-04T06:32:27
2020-11-04T06:32:27
309,902,344
43
19
null
null
null
null
UTF-8
C++
false
false
620
cpp
medic.cpp
#include <iostream> #include <cassert> using namespace std; int tt[200]; int vv[200]; int dp[1005][105]; int main () { int T, M; cin >> T >> M; assert(1 <= T && T <= 1000); assert(1 <= M && M <= 100); int i, j; for (i = 1; i <= M; i++) { cin >> tt[i] >> vv[i]; assert(1 <= tt[i] && tt[i] <= 100); assert(...
d86cfed7ed852b8247179f0758b8f82afcbcae31
23ed90539a98ab6a1a053ea25e81ad892423f899
/add_protein_window.h
74659638438838175e3e47b48c9ab0c086532107
[]
no_license
moukraintsev/oop_lab_1
27ae35ad27480286705d29ca2123935d2f9da39a
2d075b1e91b647da060bbf0df5e5bd2f3c057475
refs/heads/master
2023-01-24T08:31:40.468003
2020-11-30T13:59:02
2020-11-30T13:59:02
304,902,528
0
0
null
null
null
null
UTF-8
C++
false
false
411
h
add_protein_window.h
#ifndef ADD_PROTEIN_WINDOW_H #define ADD_PROTEIN_WINDOW_H #include <QMainWindow> namespace Ui { class add_protein_window; } class add_protein_window : public QMainWindow { Q_OBJECT public: explicit add_protein_window(QWidget *parent = nullptr); ~add_protein_window(); private slots: void on_pushButt...
d0510cf11899712310ca18bb6dea2b2100aba3ee
827405b8f9a56632db9f78ea6709efb137738b9d
/CodingWebsites/URAL/Volume1/1077#3.cpp
847a92a1f48e882718ce3601afc6cea6a6be3f4f
[]
no_license
MingzhenY/code-warehouse
2ae037a671f952201cf9ca13992e58718d11a704
d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7
refs/heads/master
2020-03-17T14:59:30.425939
2019-02-10T17:12:36
2019-02-10T17:12:36
133,694,119
0
0
null
null
null
null
GB18030
C++
false
false
2,920
cpp
1077#3.cpp
/* 用最小生成树的思想。 每次加入一条边,如果边连接的两点已经相连,则形成了一个环,找到这个环并输出,不加入这条边。 如果两点不相连,则加入这条边。 相连部分永远保持为一棵树(或几棵树)。所以从起点找终点的DFS就很好写了 */ #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <algorithm> #define inf 0x5fffffff #define FOR(i,n) for(long long (i)=1;(i)<=(n);(i)++) #define Fo...
524e779ee4880249babc55d7dd8e30acc70eb0a5
e2283e0f8d4477e6d81a71b22a305788cd238ba9
/Outrun/ObjectsGenerator.cpp
984f1209205cb5c05055268c0c34aefa5c77ab03
[]
no_license
SilviuShader/TemaPOO
fff2a6185d91583f8345e949000e0044e88aa6cb
cf316a8d45c9497ac365ae4e0ac925539c875290
refs/heads/master
2021-02-08T21:17:02.231058
2020-09-23T12:05:23
2020-09-23T12:05:23
244,197,904
2
0
null
null
null
null
UTF-8
C++
false
false
8,946
cpp
ObjectsGenerator.cpp
#include "pch.h" #include "ObjectsGenerator.h" using namespace std; ObjectsGenerator::ObjectsGenerator(shared_ptr<Texture2DManager> contentManager) : m_zone(ObjectsGenerator::Zone::Beach), m_lastBorder(false), m_borderAccumulatedDistance(0.0f), m_accumulatedDistance(0.0f), m_accumulatedZone(0.0f),...
90a686b5b4572a7c9cddb28f911db8cebfc9b6e6
3c2dbdfd5b9d1d49bf37066e18f1c5bb7e965159
/ANano_xBee/ANano_xBee.ino
2505e3ebeec362babde67f7bad99190251a8e780
[]
no_license
werdroid/Coupe2017
da96c1b8439146377c711e5cb7e58be376437d35
864c1546792bbb25548f6a6c8ac9e534f4d84710
refs/heads/master
2023-04-30T16:54:39.851246
2019-06-15T21:00:51
2019-06-15T21:00:51
76,724,798
2
0
null
2023-04-17T18:45:24
2016-12-17T13:11:46
JavaScript
UTF-8
C++
false
false
1,344
ino
ANano_xBee.ino
/*!!!!!!!!!!!!!! !! ATTENTION !! !!!!!!!!!!!!!!! Choisir Type de Carte = Arduino Uno (et non Nano !) pour le téléversement ! */ const uint8_t PIN_MOTOR = 2; const uint8_t PIN_LED = 13; void setup() { Serial.begin(9600); pinMode(PIN_LED, OUTPUT); // sets the digital pin 13 as output pinMode(PIN_...
d54ecdf188dfc584004f684f8ef6ecd455b69871
7a310d01d1a4361fd06b40a74a2afc8ddc23b4d3
/src/MainFrame_InitTerm.cpp
faf452cc0aae18b422a6d57eb992c77a65be2392
[]
no_license
plus7/DonutG
b6fec6111d25b60f9a9ae5798e0ab21bb2fa28f6
2d204c36f366d6162eaf02f4b2e1b8bc7b403f6b
refs/heads/master
2020-06-01T15:30:31.747022
2010-08-21T18:51:01
2010-08-21T18:51:01
767,753
1
2
null
null
null
null
SHIFT_JIS
C++
false
false
25,661
cpp
MainFrame_InitTerm.cpp
/** * @file MainFrame_InitTerm.cpp * @brief CMainFrame の 初期化/終了処理 * @note * +++ MainFrame.cpp から分離. */ #include "stdafx.h" #include "MainFrame.h" #include "Donut.h" #include "DialogHook.h" #if defined USE_ATLDBGMEM #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #end...
b028c3bc1db265cb219860dfc8a5fe51c54b3440
76228a9bbb0c4e36bb70fcb8bf63a84d9cceddec
/c++/elab/intsch.cpp
18bbeec629c0e340ad5a92f1703b8a42d709800d
[]
no_license
Noboomta/Data-Algo-Lab-SKE-KU-2020
df6300018572e3481afd8f50f23e0b673879fc5f
7f39abaad3e8e8cfd6b319004805d3a073a189b0
refs/heads/master
2023-02-25T22:39:09.735755
2021-01-28T09:21:45
2021-01-28T09:21:45
324,841,334
1
3
null
null
null
null
UTF-8
C++
false
false
661
cpp
intsch.cpp
// // Created by NoBoomTa on 12/26/2020. // #include "iostream" #include "vector" #include "bits/stdc++.h" using namespace std; int main(){ int n; cin >> n; vector< pair <int,int> > vect; for(int op = 0; op<n; op++){ int st, stop; cin >> st >> stop; vect.push_back( make_pair(sto...
b673e1cf3ee2600167d8b999ef56453c78e61bdc
f013497448ff24ed15a2b5c978b0e9e745703697
/algorithms/matrix_layer_rotation.cpp
57ed4d2f4b32668003f5446226f66ad796bd4495
[]
no_license
milbak/hackerrank
a2f81f08d78439049a3c3faf82a758f749bd5d88
42b7df199623c5d9db7b0dda7e96b7da158b7e16
refs/heads/master
2021-01-12T13:14:51.158832
2016-11-16T18:28:52
2016-11-16T18:28:52
72,160,955
0
0
null
null
null
null
UTF-8
C++
false
false
1,787
cpp
matrix_layer_rotation.cpp
// matrix layer rotation #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using std::cin; using std::cout; using std::vector; void tracker(int &c, int i, int C){ if(C%2 == 0){ if(i < C/2 - 1) c++; else if(i >= C/2)c--; } else { ...
3ca4e118d0fa45c1f7ceb91e08b717676b7c0bb2
ba2857bccb9efa4ae7fd53ced44912433d7e3ef6
/src/base/Uncopy.h
9040e2650954a7616ef064fd1e62108eec3206e8
[]
no_license
LZhuY/snode
1ab09140d150cc2f50c96c5be4c5959a35776b2e
3727072e92d8380617383009e8696231815f2100
refs/heads/master
2020-03-16T21:06:35.704647
2018-10-09T06:42:13
2018-10-09T06:42:13
132,985,073
0
0
null
null
null
null
UTF-8
C++
false
false
174
h
Uncopy.h
#ifndef UNCOPY_H #define UNCOPY_H namespace SNODE{ class Uncopy{ public: Uncopy(){} private: Uncopy(Uncopy& ori){} Uncopy& operator = (Uncopy& rhs){} }; } #endif
32a0336ddccaa0031ae796eab64b57eb156763cf
362e321d0c4f054a3877fc0a36b168531f0746b5
/LC912_Sort an Array_Quick Sort.cpp
a04ab685099b8584b978ffe478de7204b7e40ac6
[]
no_license
logic-life/LeetCode
4935b5d57c7d1b673d392e50ad5cfa50d873fb58
3a6e825e114fee2568ec6866833d85a4b4557f02
refs/heads/main
2023-04-08T19:03:24.791258
2021-04-13T05:36:13
2021-04-13T05:36:13
357,615,164
1
0
null
2021-04-13T16:12:07
2021-04-13T16:12:06
null
UTF-8
C++
false
false
1,160
cpp
LC912_Sort an Array_Quick Sort.cpp
class Solution { int partition(vector<int>& nums, int left, int right) { // 快速排序 C++ int pivot = nums[right]; // 选一个数值作为pivot int i = left - 1; for (int j = left; j <= right - 1; j++) { // 将数组中的数值按照选中的pivot大小进行划分,小于等于的在一起,大于的在一起 if (nums[j] <= pivot) { i = i...
3797367e71213ded04480fa25671cdaef617d0e9
cb7fd88891c1573360acfb5b476291f6b07e0e09
/Hello hii.cpp
f7f77924378bbb9baad55e9509091f6bdeb96ee6
[]
no_license
chiragrathi24/code-samples
b212d072bbf7651fbfebcca26ad85328f6eadd61
d7fbfb1cbf735aed30d088f10895c4dca1eabc36
refs/heads/master
2021-07-16T08:46:56.689794
2020-10-02T10:27:39
2020-10-02T10:27:39
212,636,326
0
2
null
2020-10-02T10:27:40
2019-10-03T17:16:56
C++
UTF-8
C++
false
false
94
cpp
Hello hii.cpp
#include <iostream> using namespace std; int main() { cout<<"Hi there!!"<<endl; return 0; }
46be8ac50fc3102958aa0e36f7c29b52692cb210
3a7247e5382e028de6f06d4be35d5300fb08bf83
/Rune Engine/Rune/Symphony/RuSoundChannel.h
b3ab5a10c5c5c394c3631edf623fc951c66a5cc6
[]
no_license
g91/RomLibraries
8c68cfabe6a68dad7937941a9ec90c3948588a85
55a98a86057500527e208a6fd593397839465384
refs/heads/main
2023-05-14T07:03:34.253295
2021-06-08T07:44:44
2021-06-08T07:44:44
356,100,453
1
2
null
null
null
null
UTF-8
C++
false
false
3,082
h
RuSoundChannel.h
/*! @file RuSoundChannel.h Copyright (c) 2004-2011 Runewaker Entertainment Ltd. All rights reserved. */ #pragma once #include "../Core/Type/RuType_Object.h" #include "../Core/Math/RuMathVector.h" #include "../Core/Thread/RuThread_CriticalSection.h" #pragma managed(push, off) // **********************************...
0011912c23f6da84a976bd3fd38e4c04a5018ed0
85326d34a0c6024e310e21152487a84e1f14fb7a
/struct5/main.cpp
e35bd9e98c8f3afa8dcd7eaf58f59ccf87f9cc93
[]
no_license
damianF1996/practica-de-c-
dcb1cdb532705a80fe9933a3730a6757e258040a
0a714fb1a77e959afb90960ac130dd6c6b16dd49
refs/heads/main
2023-07-17T20:01:53.854130
2021-08-26T22:10:53
2021-08-26T22:10:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,228
cpp
main.cpp
#include <iostream> #include <conio.h> #include <string.h> using namespace std; struct datos { char nombre[25]; int discapacidad; }perso[100],personad[100],personass[100]; int main() { int n,a=0,b=0; char persona1[25]; cout << "ingrese la cantidad de personas: "; cin>>n; ...
d90c26b0e336640a8a29fdf4588b5719d2385ac3
04fe7d81c43e9d1e064c48272dd46b3d5b0fbcfb
/Resueltos/uva855.cpp
9e3b095de79caa5137fc8739cacf457df1694bb2
[]
no_license
nachopepper/progcomp-2018_2-
42bd58fe5c1dd0c460356ddda7cacef936642ea8
c914091794634bb769c6b8b4ca762427262f640c
refs/heads/master
2021-07-20T02:03:07.698388
2018-12-07T00:13:00
2018-12-07T00:13:00
145,021,845
0
0
null
null
null
null
UTF-8
C++
false
false
1,856
cpp
uva855.cpp
/*Codigo copiado de internet...*/ #include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <string> #include <vector> /*Sabemos que el valor medio para un arreglo de largo pares largoarreglo/2 en otro caso largoarreglo-1/2 con esto se tom...
f943f4b66a73c9ffaa324242ca97c4f7123c1f8b
6acfb82696512fa7203a68cca867fc11b19273fa
/HW1/house.h
a07c2bbcac561bab591681c9cde07a937a3d5a7e
[]
no_license
dangalang/COP3330
8eed0f601efc455d27885a898f1f7e2872b4d5b6
f6314fab5cc703c7e063125968b9c05fb324392e
refs/heads/master
2022-04-15T23:32:33.672727
2020-04-10T22:10:22
2020-04-10T22:10:22
235,830,969
0
0
null
null
null
null
UTF-8
C++
false
false
1,099
h
house.h
/* Name: Forrest Lang * Date: 21 JAN 2020 * Section: 0005 * Assignment: Homework 1 */ class House { public: House(int size, char wall='X', char filler='*'); // Mutators: // If the base is less than 37 units, increase the size by 1. bool Grow(); // If the base is larger than 3 units, shrink th...
28218e90b66c92085fa47435e6c0abddbe152f0b
d43c584d45b0929c4ca33a36107888d0099ad0c1
/source/menu.cpp
94719cbd2e999d33739cdc3ee77ea57af802497a
[]
no_license
TeamJungle/JungleSafeHouse
aa318908fe7dc5be2b4da900b8b2634c23adfb2e
a9814280979c13ec8edab8dc18eea5eede756f96
refs/heads/master
2021-09-13T02:07:33.823426
2018-04-23T19:55:57
2018-04-23T19:55:57
117,973,810
0
2
null
2018-02-15T10:27:50
2018-01-18T11:25:30
C++
UTF-8
C++
false
false
1,146
cpp
menu.cpp
#include "menu.hpp" #include "assets.hpp" #include "game.hpp" #include "editor.hpp" #include "test.hpp" menu_state::menu_state() { menu.font = &fonts.hud; menu.add_button("Play", [] { ne::swap_state<game_state>(); }); menu.add_button("Settings", [] { ne::swap_state<settings_state>(); }); menu.add_button("Ed...
07ef6befbc5302af85348e97c40259b01abaebed
e3afeab04cfed95b18affeb766bdffec6c610ab3
/tools/step/StepOptDlg.cpp
e715e9eee392d76ec013a31e32bb4111d2ab3e6a
[]
no_license
VB6Hobbyst7/NCL_in_VisualStudio
2831e101163d34be5b5775c458471313cd6c035b
998a5a4ca9eb1cfdee0b276ae9541f7d1f7e6371
refs/heads/master
2023-06-24T12:03:34.428725
2021-07-27T20:30:46
2021-07-27T20:30:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,706
cpp
StepOptDlg.cpp
/************************************************************************ c c FILE NAME: StepOptDlg.cpp c c CONTAINS: c Functions for the class StepOptDlg c c COPYRIGHT 2013 (c) Numerical Control Computer Sciences. c All Rights Reserved c MODULE NAME AND RELEASE LEVEL c StepOptDlg.cpp , 25.4 ...
e7cbadc78bff1baebb340aee8e5c8f935f356ae3
56345c289644498f96d79dcdbee0476ea4342daa
/lc034-1.cpp
020737aee799af820327614f08a6b8fe530fb9a6
[]
no_license
boyima/Leetcode
8023dd39d06bcb3ebb4c35c45daa193c78ce2bfe
0802822e1cbf2ab45931d31017dbd8167f3466cc
refs/heads/master
2020-12-13T06:35:00.834628
2019-11-05T22:27:50
2019-11-05T22:27:50
47,539,183
0
1
null
null
null
null
UTF-8
C++
false
false
1,614
cpp
lc034-1.cpp
class Solution { public: vector<int> searchRange(vector<int>& nums, int target) { vector<int> res; int start = 0; int end = nums.size() - 1; if((nums[start] > target) || (nums[end] < target)){ res = {-1, -1}; return res; } bool found = false; ...
54f22e8d1b830c3ef506c9d8f35305a3ae910db5
06394bc34f4298ddc625ced2ac68530a257810c0
/geeks/problems/LexicographicallyFirstPalindromicString.cpp
649ea570d409ea08ff62b464de25f6e2baf04e46
[]
no_license
dubeyalok7/problems
a052e5e06e009a4df40972eb48f204c2193aea3b
6e2b74cf7188dcaa26c368ce847a0d0a873f15d0
refs/heads/master
2020-03-26T05:11:37.206457
2019-02-16T18:00:27
2019-02-16T20:18:52
144,542,942
0
0
null
null
null
null
UTF-8
C++
false
false
1,460
cpp
LexicographicallyFirstPalindromicString.cpp
/* * LexicographicallyFirstPalindromicString.cpp * * Created on: 28-Jan-2019 * Author: dubeyalo */ #if 0 #include <bits/stdc++.h> using namespace std; const char MAX_CHAR = 26; void countFreq(string str, int freq[], int len) { for(int i=0;i<len; ++i) freq[str.at(i)-'a']++; } bool canMakePalindrome(int...