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
4ce1844692f177522c591f170ce19f1e8e018f10
70d0ec79be7f09b869158ccd8d4e9681ee0c579c
/ActiveWarSimulation/StageEditor/EditMove.h
5caa57766a61af3dd264bf4867c51ea432834c12
[]
no_license
mabo207/ActiveWarSimulation
3eaf68cc2d57115bbc431c68df5aedac05c786c2
4c449283b4abeebcf2ff70ae750ad5a9c2ab08c2
refs/heads/master
2021-01-24T01:28:27.726976
2019-08-19T07:06:33
2019-08-19T07:06:47
122,803,694
0
0
null
2019-12-06T05:25:17
2018-02-25T04:03:49
C++
SHIFT_JIS
C++
false
false
978
h
EditMove.h
#ifndef DEF_EDITMOVE_H #define DEF_EDITMOVE_H #include"EditAction.h" //設置場所を動かす行為を記述するクラス class EditMove:public EditAction{ //型・列挙体 public: struct EditMoveButton:public EditActionButton{ EditMoveButton(Vector2D point,Vector2D vec); void PushedProcess(EditActionSettings &settings)const;//ボタンが押された時の処理 }; //定数 ...
f1c98b8378a2a8278b810aec1f165deaeb1e6863
ad0f06d334dcb419abf673dd004505020976691d
/src/server.cpp
a5f817637c876237042049742d2ab837e596cfab
[]
no_license
Coderlane/QtWebkitUI
b112444c09ffd9e3b3984205067233a953b20298
5290fa0f5fa21798408f9d67c50c1fa403d0b474
refs/heads/master
2016-08-05T03:21:32.513015
2013-03-26T18:11:09
2013-03-26T18:11:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,065
cpp
server.cpp
#include "server.h" Server::Server(QObject *parent) : QObject(parent) { mainSocket = NULL; } void Server::Connect() { if(mainSocket != NULL) { Disconnect(); free(mainSocket); mainSocket = NULL; } mainSocket = new QTcpSocket(this); connect(mainSocket, SIGNAL(connected ()...
346c43d969ab8bf16bd448913a7c1f8238959e1e
a099b1cd56d522f3e425ee4650c9cd3022201b2d
/Algorithms/NumberTheory_MatrixExpo.cpp
5ac84aa4f6f258dc17d938ad7110586a9a5c364a
[]
no_license
SamuelT13/Competition_Programming
1d1f3556cd50965ff4ef8b9ef60f4a6f456e6ec9
efb461762cfe544e4a795ad8c5ce7c1445603ddb
refs/heads/master
2021-01-02T09:45:43.697448
2017-09-16T15:04:48
2017-09-16T15:04:48
99,290,014
0
0
null
null
null
null
UTF-8
C++
false
false
2,059
cpp
NumberTheory_MatrixExpo.cpp
#include <iostream> #include <vector> #include <fstream> #include <cstring> using namespace std; typedef long long LL; const LL MAT_SIZE = 2; // A struct for a square matrix. struct matrix{ LL mat[MAT_SIZE][MAT_SIZE]; matrix() { memset(mat, 0, sizeof(mat)); } matrix(LL w, LL x, LL y, LL z...
6901547c1178ac8893a4d85f4dcb73a3dccecddb
a575e3dee4b387d61c78ad4ee00afc15544aba18
/src/Graphic/CustomNode.hpp
21f0c0913391ce9221c61ce82b884781a3cd8a9a
[]
no_license
nicolasguerinAI/cpp_indie_studio
858fbecbe0270bac4af23982d2abed2b4804c143
bf3894956d9e139c35f3cc6f9db74a6a36bff9ca
refs/heads/master
2021-11-22T03:44:17.401618
2018-06-18T11:58:57
2018-06-18T11:58:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
894
hpp
CustomNode.hpp
// // Created by jdecombe on 08/05/18. // #ifndef IRRLICHTTESTS_CUSTOMNODE_HPP #define IRRLICHTTESTS_CUSTOMNODE_HPP #include "Irrlicht/irrlicht.h" class CustomNode : public irr::scene::ISceneNode { private: irr::core::aabbox3df _box; irr::video::S3DVertex _vertices[4]; irr::video::SMaterial _material; publ...
9fd591fdc4e667dcff8e3db9eb17041fb317d8c6
eda03521b87da8bdbef6339b5b252472a5be8d23
/Userland/Libraries/LibSQL/AST/CreateTable.cpp
a5f383c691d49056906538c1c5af5adb44e2a1f9
[ "BSD-2-Clause" ]
permissive
SerenityOS/serenity
6ba3ffb242ed76c9f335bd2c3b9a928329cd7d98
ef9b6c25fafcf4ef0b44a562ee07f6412aeb8561
refs/heads/master
2023-09-01T13:04:30.262106
2023-09-01T08:06:28
2023-09-01T10:45:38
160,083,795
27,256
3,929
BSD-2-Clause
2023-09-14T21:00:04
2018-12-02T19:28:41
C++
UTF-8
C++
false
false
1,389
cpp
CreateTable.cpp
/* * Copyright (c) 2021, Jan de Visser <jan@de-visser.net> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibSQL/AST/AST.h> #include <LibSQL/Database.h> namespace SQL::AST { ResultOr<ResultSet> CreateTable::execute(ExecutionContext& context) const { auto schema_def = TRY(context.database->get_schema(...
4acbf1d170f0629050253f840a45c12599ece450
4dbb0388367d0ca4ec29dfeaecf86625b85eecce
/Others/LeibICT-UDK_new/LeibICT-UDK_new/1.0a/samples/c++/ussdtest/ussd.cpp
0d1eb95b8915cc76648e86a26543f0ec80500975
[]
no_license
Harshad-Pardeshi/Unreserved-train-ticketing-system-using-mobile-phones
086a63be26d9ab30876e9e67804d5cbe52f444f4
24fd635d8307ad398758ded75ae09940cfed691e
refs/heads/master
2021-04-15T07:16:55.461073
2018-03-26T22:04:56
2018-03-26T22:04:56
126,884,785
2
0
null
null
null
null
UTF-8
C++
false
false
1,768
cpp
ussd.cpp
#include "StdAfx.h" #include <stdio.h> #include "ussd.h" #define STDLOG printf #ifdef _WIN32 #define DLLSYM GetProcAddress #define DLLUNLOAD FreeLibrary #define DLLERROR GetLastError #else #include <dlfcn.h> #define DLLSYM dlsym #define DLLUNLOAD dlclose #define DLLERROR dlerror #endif CUSSD::CUSSD(){ dll_pong =...
593fc48a2919c16c17051300f1f12cb4190e609b
768316ed72470715e641fda62a9166b610b27350
/03-CodeChef-Medium/579--Grid Shuffle.cpp
7c8f0e405586e18d639c1905b030d05337ae8354
[]
no_license
dhnesh12/codechef-solutions
41113bb5922156888d9e57fdc35df89246e194f7
55bc7a69f76306bc0c3694180195c149cf951fb6
refs/heads/master
2023-03-31T15:42:04.649785
2021-04-06T05:38:38
2021-04-06T05:38:38
355,063,355
0
0
null
null
null
null
UTF-8
C++
false
false
5,693
cpp
579--Grid Shuffle.cpp
#include<bits/stdc++.h> using namespace std; // (POLICY BASED DS) // #include <ext/pb_ds/assoc_container.hpp> // #include <ext/pb_ds/tree_policy.hpp> // using namespace __gnu_pbds; // template<typename T> // using ordered_set=tree<T,null_type,...
834af21247ae3d40911ea393fb42facfc473d781
c96a8c199c4e7f8b636d4ce94926d708ccdd4992
/src/widgets/controllers/ListController.h
60fb9b475c16ec189bd7eead014c504efac0672c
[ "MIT" ]
permissive
Kaosumaru/libmx
b662db96e52d9c7805a20b41a96a509357f36c41
7f412a7b845a315da02deb279fb208c739fb2f30
refs/heads/master
2020-08-04T01:50:37.197501
2020-02-02T15:24:23
2020-02-02T15:24:23
73,533,925
0
0
MIT
2019-12-18T19:50:53
2016-11-12T05:39:35
C++
UTF-8
C++
false
false
4,687
h
ListController.h
#pragma once #include "widgets/Widget.h" #include "widgets/strategies/Strategy.h" namespace MX { namespace Widgets { //populates parent with controls created from data template <typename T, typename SignalType = Signal<void(const T&)>> class ListController : public Strategies::Strategy, public shared_ptr_...
501d7f6621058ddda7ebe6e6ad060b879972f295
dc94bbc6128ffebb39fd5ccc23125a4f4ef6a6b9
/search/search_engine.hpp
394aa7cc0b4b4e2aa24e0b0cc5e90d5ef862a164
[ "Apache-2.0" ]
permissive
liqian/omim
9c6f73a06b2c254e2d81770c1baa4d15ef42f933
e3e4ad800158171d934adf2fed2b3caa46ccbf8e
refs/heads/master
2021-01-18T02:17:34.187177
2016-03-20T16:12:38
2016-03-20T16:12:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,667
hpp
search_engine.hpp
#pragma once #include "params.hpp" #include "result.hpp" #include "search_query_factory.hpp" #include "geometry/rect2d.hpp" #include "coding/reader.hpp" #include "base/mutex.hpp" #include "std/atomic.hpp" #include "std/function.hpp" #include "std/string.hpp" #include "std/unique_ptr.hpp" class Index; namespace s...
95284cdf7189523bc2aee44ba42f807a4002dc0d
31a035666e2ee9f0b05e213123ed29f3ce20fafa
/FileReader.h
6627aca32ce9c39c42b652b001edbae3bc941324
[]
no_license
vismeneer/OOPAcircuit
3b5da038ccbad52f3d18ae83f5e32d141922f661
b4d4d8bc3555667f43250fc4c986ae707084b69f
refs/heads/master
2016-09-06T21:26:37.591954
2013-11-13T23:45:42
2013-11-13T23:45:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
205
h
FileReader.h
#pragma once #include <iostream> class FileReader { public: FileReader(const char* szFileName); virtual ~FileReader(void); int ReadFile(std::string& rsText); private: std::string m_sFileName; };
e3c274912ef7127a2f6d992f0a7cf7dfb0c6a2e2
6377ddaa8e3140b330ad80787a18bad7f47c87f0
/src/bear.h
5c8e6d5ddec112637056ebb9009f4b70adda07e7
[]
no_license
tonca/TP3_CPLUS
51965ed335d1437e30c66296b0c7756feda57ea2
c5292aff606c7dbd3505a7bc1fa2d6d388fa6228
refs/heads/master
2021-01-10T02:42:30.021572
2015-11-21T11:57:47
2015-11-21T11:57:47
46,611,884
0
0
null
null
null
null
UTF-8
C++
false
false
306
h
bear.h
#include "animal.h" #include <iostream> #ifndef BEAR_H_ #define BEAR_H_ class Bear: public Animal { private: int compteur; public: virtual void deplace(); virtual char nom(); virtual string attaquer(); //contructeur Bear(); //destructeur ~Bear() {}; }; #endif
220724b1be32ea900936c38b1e94c78bba8c727d
0aae835a7de983505f114b8e52c98765d7fe2cc2
/gui/guistate.cpp
849226a8dfb0a8448cdebdc6c838c5f5706360db
[ "MIT" ]
permissive
ousttrue/Skeletal
92c54b3f75060e188a3707040e5f7fddee7e0803
bfbed4ec87e06787d3c004050d65954d53d0abbd
refs/heads/master
2023-06-11T06:55:07.037894
2019-07-21T15:20:52
2019-07-21T15:20:52
193,386,381
0
0
null
null
null
null
UTF-8
C++
false
false
7,920
cpp
guistate.cpp
#include "guistate.h" #include <scene.h> #include <dx11.h> #include <imgui.h> // #include <imgui_widgets.cpp> #include <memory> #include <Windows.h> static std::wstring OpenDialog() { OPENFILENAME ofn; // common dialog box structure TCHAR szFile[260] = {0}; // if using TCHAR macros // ...
afc505440100ac3cd7f6618d24371970123f0a6a
25ee624bc6995383b24adf010b638674a15db72e
/libraries/SD/sd_log.h
6707289fa84cfd6bc31c9f216e10043a3ca19c14
[]
no_license
kicksat/KickSatBoards-ArduinoIDE
c81bd0b6131addf6aee5730fa19136a520d9bd7d
887e22948fcd8e4d947df8967b9af2f826d09ec5
refs/heads/master
2020-03-25T16:39:12.033513
2018-10-04T23:23:53
2018-10-04T23:23:53
143,940,753
4
3
null
null
null
null
UTF-8
C++
false
false
1,928
h
sd_log.h
// sd_log.h - Library for reading from and writing to the log on the SD card #ifndef SD_LOG_h #define SD_LOG_h #include "Arduino.h" #include "SD_DataFile.h" #define CS SPI_CS_SD #define ENTRY_LEN 126 #define LOG_NUM_INDEX 3 #define STATUS_BYTE_INDEX 8 #define I_BATT_INDEX 12 #define V_BATT_INDEX 16 #define I_SOLAR_I...
c51853bbe8a5395022e910760a5d04cf0100928e
8b431a95400331a8c3201a05514df024d6b4cc7b
/src/iesidcm_cipher.hpp
c21ed7bd139d9abb5333e2822e664286348c9398
[ "MIT" ]
permissive
botezatumihaicatalin/ChaoticImageCrypto
d45a056809c87518e5097f5fb7ac1fbedc3e7c54
b8f41b159b21a618cec794584ca67a604bdf98ec
refs/heads/master
2021-01-18T18:01:09.300622
2017-06-12T18:28:42
2017-06-12T18:28:42
86,836,397
2
0
null
null
null
null
UTF-8
C++
false
false
7,599
hpp
iesidcm_cipher.hpp
#pragma once #include <stdint.h> #include <stdexcept> #include "image_cipher_base.hpp" #include "generator3.hpp" #include "generator1.hpp" #include "cat_generator3.hpp" #include "skew_tent_generator1.hpp" #include "ruleT_generator3.hpp" template <size_t spectrum> class iesidcm_cipher: public image_cipher_base<spectr...
f19498945f6bcd85eef5ff836b57ab2d6ce214ab
2c7e7764ba353498520ebfd04e12892bea8d587b
/231A.cpp
59bc776fab227d0db46185858d8c05662f290ee3
[]
no_license
IJmouri/codeforces
240bab4c8bcb86a0f238e91e5fd2a1db68df08b0
a617198ae1607db6df52a02d6e0a2c44c3548526
refs/heads/master
2022-11-19T23:43:31.247541
2020-07-06T20:42:14
2020-07-06T20:42:14
277,644,652
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
231A.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n,i,co=0,a,b,c,t=0; cin>>n; for(i=1;i<=n;i++) { cin>>a>>b>>c; if(a==1) co++; if(b==1) co++; if(c==1) co++; if(co==2||co==3) { t++; co=...
6efe6621779b4affe92048a8dc922a939080cf3c
1c540a07fe2f068a31cb8d23a9db0ea4364539be
/DS/stack.cpp
0b19537cf8c5e54ddf01319687a542d93c9cf8e6
[]
no_license
guneet96/Data-Structures
56e70693d07c7c208aa5108601e8edae3d70894e
b6eb32201fbc009b47943d46665b82816830ef9c
refs/heads/master
2020-05-24T18:03:26.197090
2017-04-03T21:41:28
2017-04-03T21:41:28
84,867,192
0
0
null
null
null
null
UTF-8
C++
false
false
1,761
cpp
stack.cpp
// Linked implementation of stack. #include<stdio.h> #include<stdlib.h> struct node { int info; struct node *link; }*top = NULL; void push(int item); int pop(); int peek(); int isEmpty(); void display(); main() { int choice, item; while(1) { printf("\n1. Push"); printf("\n2. Pop"); printf("\n3. Display i...
409eb84efe5e24c41b0be0d4447fb9c21da9b718
c0f0941e3d6f62dbe6932da3d428ae2afed53b43
/simulation/g4simulation/g4eval/TrackSeedTrackMapConverter.cc
214c91ac7983d352427c907ceadd4caddd8763b6
[]
no_license
sPHENIX-Collaboration/coresoftware
ffbb1bd5c107f45c1b3574996aba6693169281ea
19748d09d1997dfc21522e8e3816246691f46512
refs/heads/master
2023-08-03T15:55:20.018519
2023-08-01T23:33:03
2023-08-01T23:33:03
34,742,432
39
208
null
2023-09-14T20:25:46
2015-04-28T16:29:55
C++
UTF-8
C++
false
false
10,937
cc
TrackSeedTrackMapConverter.cc
#include "TrackSeedTrackMapConverter.h" #include <trackbase/ActsGeometry.h> #include <trackbase/TrkrCluster.h> #include <trackbase/TrkrClusterContainer.h> #include <trackbase_historic/SvtxTrackMap_v1.h> #include <trackbase_historic/SvtxTrack_v4.h> #include <trackbase_historic/TrackSeed.h> #include <trackbase_histori...
e06ecd44ec5bf53f87e7cf1486a187866a867b25
6cd1bf6544347c85cabaf672a5ed2dad94a18b63
/ABC/ABC212/abc204_d.cpp
2f4d122e7f5ca7fd5811f73f1df2da5f97fff91e
[]
no_license
Shell-Wataru/AtCoder
0a35f12478ac0ab54711171f653ce7bed5189c92
0ba32250f4e4a44459a4cd231ff47a5f46c4fe87
refs/heads/master
2023-01-10T04:21:25.199532
2023-01-09T04:16:30
2023-01-09T04:16:30
89,144,933
0
0
null
null
null
null
UTF-8
C++
false
false
1,014
cpp
abc204_d.cpp
#define _USE_MATH_DEFINES #include <iostream> #include <algorithm> #include <vector> #include <deque> #include <queue> #include <set> #include <map> #include <limits> #include <cmath> #include <iomanip> #include <functional> #include <random> #include <boost/multiprecision/cpp_int.hpp> using namespace std; using ll = ...
04b9b25c365ba292a17cc770e3a3e284dbc0f6b0
d31e7dda63e8231fed64a73f0730d5d55227e752
/arduino_test/arduino_test.ino
18110031bc57935e92b5bdf639afebff5c82c8a1
[]
no_license
cedced19/challenge-imagine-and-make
2f960c57bce494f17c2fe317145711f9a8d77818
13a984833c0e481dd38f456fdeb69880c44b82d6
refs/heads/master
2023-08-10T18:48:37.335975
2021-10-06T09:42:50
2021-10-06T09:42:50
413,823,785
0
0
null
null
null
null
UTF-8
C++
false
false
469
ino
arduino_test.ino
int rPot; int bPot; void setup() { Serial.begin(9600); //com speed. bits per second pinMode(9, OUTPUT); pinMode(2, INPUT_PULLUP); //add pullup resistor } void loop(){ rPot = analogRead(0); bPot = analogRead(1); Serial.print("R = "); Serial.print(rPot); Serial.print(" B = "); Serial.println(bPot); ...
a7e4c6f29892c9996eadc6118d7cf12a927dcfba
ec7e0d0febe5546125e5c8f17f57196d680b9c58
/applications/nbody/hardware/nbody_memcpy_vhls/nbody_tb.cpp
002deb181456fd41663a2115b8d56e654df55c39
[]
no_license
Hosseinabady/ZynqDynamicEnergyManagemen
c8031d2c3e4593293ccc8efff9ff34d9c3806163
fadbfd09aaeaf5d16f12f69724e61cbdbbe4bf99
refs/heads/master
2021-01-19T16:34:56.404707
2017-04-22T00:34:41
2017-04-22T00:34:41
88,272,742
5
2
null
null
null
null
UTF-8
C++
false
false
5,095
cpp
nbody_tb.cpp
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "nbody.h" void runReference(const float *initialPositions, const float *initialVelocities, float *finalPositions); int main() { unsigned long dataSize = NUM_BODIES*4*sizeof(float);...
32aaea16d43d42abd997b665e73c5f2eb0b60c6a
787e4f4c385204d502d2bcb13cfb1eaa16fa567b
/rpc/RPC 4/D.cpp
a79caa238219fde6b2df8ec50161ba5723ecb76d
[]
no_license
Hecodes98/Competitive_Programming
29df23dd9b9e2aa0a7af63c1395ab8b3e41c6024
cada3d5d87684a5ecf6e57366121507596189648
refs/heads/master
2022-12-11T20:08:38.990572
2020-09-09T22:12:26
2020-09-09T22:12:26
259,469,943
0
0
null
null
null
null
UTF-8
C++
false
false
1,582
cpp
D.cpp
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define REPL(i,a,b) for(int i=a;i<b;++i) #define REPLE(i,a,b) for(int i=a;i<=b;++i) #define DEBUG(x) cerr << #x << " = " << (x) << endl; #define f first #define s second #define ALL(v) v.begin(), v.end() typedef vector<i...
085773b5405610b09c8a4b7d5669c7c3e48f798e
06ccf385c23228f7c62614c914185670b19430a4
/Document_Processing_neural_network/src/cuda/blas.hpp
fc95f29d491a811aaaae6b5fd7b496398a10e219
[]
no_license
Deepti-1027/Document_Processing
40d29e989588cfa04483e0336efca516c8d6fc67
ad2b6f8dab897a4020360f0578e344fd9bcd622a
refs/heads/master
2022-06-07T15:43:38.646589
2020-05-05T15:38:54
2020-05-05T15:38:54
261,508,682
0
0
null
null
null
null
UTF-8
C++
false
false
1,224
hpp
blas.hpp
#pragma once #include <storage.hpp> #include <utils.hpp> #include<omp.h> // #include <cuda_runtime.h> // #include <device_launch_parameters.h> void operator_add(const Storage *input1, const Storage *input2, Storage *outputs); void operator_add(const Storage *input1, float value, Storage *outputs); ...
34a3307f4cf82629d6e04424602882453463322e
91ff482968f618098c8faeeca892c6d256ee415c
/cf/672A.cpp
7c10998de5d41ec2b5be1710af5797baa3f4d188
[]
no_license
Rajat-Goyal/all-over-again
5728c8d05afc409f103d78f6fbbd3be1bf382793
a5e4192762febf1666808c4068c83502ef7485fb
refs/heads/master
2021-01-20T11:18:17.477916
2018-10-03T12:12:44
2018-10-03T12:12:44
83,948,322
0
1
null
2018-10-03T12:12:46
2017-03-05T05:48:38
C++
UTF-8
C++
false
false
261
cpp
672A.cpp
#include<bits/stdc++.h> #include<string> using namespace std; int main(){ // ios::sync_with_stdio(false); string x=""; for(int i=1;i<=10000;i++){ x.append(to_string(i)); } int n; cin>>n; cout<<x[n-1]<<endl; return 0; }
c7d245c92b00ebf6751517fc7bb3c60fb2973868
94a1ae89fa4fac16b3d2a6c56ca678d6c8af668a
/include/ircd/util/all.h
b48ec5683cda09ac4bf1e5a4776397244389662f
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
matrix-construct/construct
99d677d0c2254cac2176d80690bbfd02b18a8658
0624b69246878da592d3f5c2c3737ad0b5ff6277
refs/heads/master
2023-05-28T12:16:23.661446
2023-04-28T05:33:46
2023-05-01T19:45:37
147,328,703
356
41
NOASSERTION
2022-07-22T03:45:21
2018-09-04T10:26:23
C++
UTF-8
C++
false
false
820
h
all.h
// The Construct // // Copyright (C) The Construct Developers, Authors & Contributors // Copyright (C) 2016-2020 Jason Volk <jason@zemos.net> // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and t...
7e8f000def1cd428d7635ac78c1a614298a4ae82
f20e965e19b749e84281cb35baea6787f815f777
/Hlt/Phys/LoKiTrigger/src/UpgradeVertices.cpp
6db7739ef7fe156ad059c84e4ed693f944778776
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,016
cpp
UpgradeVertices.cpp
// ============================================================================ // Include files // ============================================================================ // GaudiAlg // ============================================================================ #include "GaudiAlg/GaudiAlgorithm.h" // ===========...
1ff033acc366af9be5a3a537aa823ce7dae6690d
246843976f5daefec373de980b009294128b7225
/solution/TopCoder/Incubator.cpp
88e18a8d3716fcbb8712ac52c50e8e4e0c19cfe0
[]
no_license
nlbao/competitive-programming
48cd18f3f7813c63d90ce0927d0ed8a215a435a1
918cec44facfc4bd4daf7ba2ce183432e7a352aa
refs/heads/master
2022-08-21T07:11:31.985603
2020-05-18T01:18:41
2020-05-18T01:18:41
75,738,161
3
0
null
null
null
null
UTF-8
C++
false
false
3,416
cpp
Incubator.cpp
#include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <sstream> #include <iostream> #include <cstdio> #include <cmath> #include <cstdlib> #include <ctime> #include <queue> using namespa...
841166ea233d2ca3a2860b7cdf33069ea2e93251
cb753c7f0f03201a100f2d279e084a49ef522b23
/PDI2-finalProject/Viewer.h
fda6d891703adf3ef40b9cec052b2a02edd697fb
[]
no_license
bingluen/CSE-CODE
866f481de213a75b496d914c35affd1a18be236c
1aaa8fa2ef3ea9062304ee9fb276b2bbd17e870d
refs/heads/master
2020-04-09T12:10:24.712421
2015-06-28T15:29:34
2015-06-28T15:29:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
130
h
Viewer.h
#ifndef VIEWER_H #define VIEWER_H #include "database.h" class Viewer : virtual public ItemMan{ public: void showList(); }; #endif
832d65d70fdf87c3d99408b6fcd6bbfb9058ae88
bc44dcf0ef640668b185ae3d788cc0ec452210b0
/P5/SDK/P5SDK/Knight/Source/KeyboardControl.h
a5a0f8e5efc9e5f23c7958d6b3dd631e6d2e1789
[]
no_license
ttrask/staubliserver
606ad6bcbae9c980d4491bdc6be6b251b29990d7
2d69ef2d3026b2ff19c21b8eeb93e9a73a4ce50b
refs/heads/master
2021-01-23T09:53:06.761894
2012-04-17T01:00:24
2012-04-17T01:00:24
40,439,948
0
0
null
null
null
null
UTF-8
C++
false
false
2,856
h
KeyboardControl.h
#ifndef KeyboardControl_H #define KeyboardControl_H class KeyboardControl; class KeyValue { public: KeyValue(KeyboardControl *pKeyCtrl, char *groupName); ~KeyValue(); float GetMinValue() {return minValue;} float GetMaxValue() {return maxValue;} float GetValue() {return value;} float GetRawValue() {...
dd1346343f4c56f8e16ead4d9fffcd8dbda9fc55
7ada338e189a9e941a467f9d4eca3317f3ef8f4a
/Tag1_Aufgabe3/CharGenerator.hpp
46f913621e39669028072739f7e6aa3c64d47052
[]
no_license
cbiehl/cpp_tutorials
6927429b8bcd5f25e026a2fde064c43de8158b5f
ff83f8616bda4a17204d5f2097a7d4c292f4c94f
refs/heads/master
2020-03-27T07:06:48.592670
2018-09-22T13:29:35
2018-09-22T13:29:35
146,163,377
0
0
null
null
null
null
UTF-8
C++
false
false
125
hpp
CharGenerator.hpp
class CharGenerator { public: CharGenerator(char initialChar = 'a'); char generateNextChar(); private: char nextChar; };
a1a39f0f99cf88ec58cbf1c1e19a562a6a4a49b7
f6e895e1fada24ac3987c9374c84a912709e197c
/HDU/HDU_1017.cpp
c072f9e2c91f10c7fbddf28abf0d9a0b33294a63
[]
no_license
tpbluesky/Online-Judjing
7b0f4f08525830d6765be6dfc39a7c230fffb881
dc5c186b79d3f4b32a7f9496fb849bd987bf84d7
refs/heads/master
2021-01-23T11:04:26.788901
2018-03-11T05:01:49
2018-03-11T05:01:49
93,123,032
2
0
null
null
null
null
UTF-8
C++
false
false
754
cpp
HDU_1017.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <algorithm> #include <vector> #include <set> #include <map> #include <string> #include <sstream> #include <queue> #define inf 0x3f3f3f3f #define eps 1e-8 #define sqr(x) ((x)*(x)) using namespace std; t...
6f728e4a6495eee1b4fdf0791dca674a5af3339d
093df6cf938afc1f0af9f7120e2b48112cde7e36
/libstd_cpp/memory/shared_ptr/shared_ptr_allocateshared11.cpp
93f1a37f707e8b4860766b789d36586fb38adefb
[]
no_license
hexu1985/cpp_code
6487e19563ed2a751f889cb81ad724c40b442097
1cdbe297dec47cdd11f9e5d28e6caa2971b469bb
refs/heads/master
2020-06-25T22:19:55.409303
2019-02-19T03:29:49
2019-02-19T03:29:49
96,992,341
3
0
null
2017-07-12T09:54:11
2017-07-12T09:54:11
null
UTF-8
C++
false
false
609
cpp
shared_ptr_allocateshared11.cpp
// allocate_shared example #include <iostream> #include "memory.h" int main () { std::allocator<int> alloc; // the default allocator for int std::default_delete<int> del; // the default deleter for int Hx::shared_ptr<int> foo = Hx::allocate_shared<int> (alloc,10); auto bar = Hx::allocate_shared<int> (allo...
269a8ba6b463aafd99134b6b2f76de53a8c3edf3
01f40e6707240d7c00231f4eba205ebc5132a2cc
/browser/Node.h
9b04c7f6b175d87a172bb32c505b0769121484a8
[]
no_license
SeungKyuHong/Preloading
c852d0e7897be06dba617dbf2cbc23d6182158ae
d2deb5f61a36c015ff0b08ea0677e5e1565dd8de
refs/heads/master
2021-01-13T05:53:46.151460
2017-09-07T06:55:17
2017-09-07T06:55:17
94,963,137
0
0
null
null
null
null
UTF-8
C++
false
false
915
h
Node.h
#pragma once #include<iostream> #include<fstream> #include <cstring> #include <ctime> #include "linkedqueue.h" using namespace std; #define EDGE 300 class linkedqueue; class my_queue; class Node { private: int e_count[EDGE]; double priorN[EDGE]; unsigned long node_size; public: Node* Prior[50]...
841fd40cbe50227d7e04dcd42fac617a856a25a5
0a8a0b80abb155fa74b0fd4746bf01e8d666a5d3
/clouds/proceduralClouds_gl/skyDemo/src/ProceduralClouds.cpp
d1a9b048da27592edf3bb293e1fc87976511fae1
[ "Unlicense" ]
permissive
doggan/code-dump
48e7cf0c39bc9a84fc3e91e423e248d17b5fb3d5
8f4c7bc32ea45ae0a775838e2a7f7217017cd1be
refs/heads/master
2022-01-11T19:13:17.942575
2021-12-29T08:25:01
2021-12-29T08:25:01
29,381,706
0
0
null
null
null
null
UTF-8
C++
false
false
9,920
cpp
ProceduralClouds.cpp
#include "ProceduralClouds.h" #include "TextureManager.h" #include "gl/glew.h" #include <cassert> ProceduralClouds::ProceduralClouds(unsigned int programID) : m_programID(programID) { } ProceduralClouds::~ProceduralClouds() { // Clean up. delete [] m_skyColorData; delete [] m_tex_Octave1_data; ...
b8a4c2a1f9b7659c24d873fb55240848b45147a4
458eea1b41c9eae73146a1668af6bb6a3362a14c
/libraries/utilities/include/mcrl2/utilities/detail/separate_keyword_section.h
81ea0e3832e138580a66c4a75b20b82589b28b88
[ "BSL-1.0" ]
permissive
mCRL2org/mCRL2
91fb459f26087ac50036150cd77c7e8a16b5ec42
33d77f5ef994381e03a0d3b0693c1014e4e12d41
refs/heads/master
2023-09-01T13:54:28.982994
2023-09-01T12:54:35
2023-09-01T12:54:35
128,542,478
90
42
BSL-1.0
2023-08-10T15:12:42
2018-04-07T15:35:53
C++
UTF-8
C++
false
false
2,688
h
separate_keyword_section.h
// Author(s): Wieger Wesselink // Copyright: see the accompanying file COPYING or copy at // https://github.com/mCRL2org/mCRL2/blob/master/COPYING // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // /// \file m...
2f0925fc92ccb2bad9401260049cab5f4d78d91e
2769d06b54725e78a755c1c8342032ac95a947f0
/Djikstra Shortest Path on Turkey Map/Kodlar.txt
ff4833694b9a29321f5a687d08e6ead26ba7eea6
[]
no_license
nedret212/Djikstra-Shortest-Path-on-Turkey-Map-on-C-
025681b61c882a7560925f28cdcd9b342defac98
1301ab33dafc8bf6a79fcfef991240d14adc8dd1
refs/heads/master
2020-11-27T07:29:21.563754
2019-12-21T00:19:02
2019-12-21T00:19:02
229,354,980
0
0
null
null
null
null
ISO-8859-3
C++
false
false
8,078
txt
Kodlar.txt
#include <iostream> #include <graphics.h> #include <stdio.h> #include <string.h> #include <conio.h> #define K 6 struct djikstra{ char sehir1[50]; char sehir2[50]; int maliyet; }dugum[K][K]; int sonsuz=9999; void nedret(char bas_dugum[50],char hedef_dugum[50],int maliyet_matris[K][K]); void ekran(); ...
6c469e92b749f378bcdd9d83aacb11ebb2cf7630
9f9660f318732124b8a5154e6670e1cfc372acc4
/Case_save/Case30/case3/800/alphat
1ff031146307994a2479fb857b715a55928c048a
[]
no_license
mamitsu2/aircond5
9a6857f4190caec15823cb3f975cdddb7cfec80b
20a6408fb10c3ba7081923b61e44454a8f09e2be
refs/heads/master
2020-04-10T22:41:47.782141
2019-09-02T03:42:37
2019-09-02T03:42:37
161,329,638
0
0
null
null
null
null
UTF-8
C++
false
false
9,407
alphat
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
82b6e65033accf61b10e456c1b61530149ae312f
deca8d4725b1b4e4a5aacb5c29f7f0dd98c2b982
/sam.cpp
d652d0cdafc2622b5d9c38c484a0dd076389c91f
[]
no_license
NhatTanXT3/QtSAMtest
0485193b80b426178292456c6b3a7a78d99689b1
8c747e37e3d4d19a7014e2f4102caee0cce23e88
refs/heads/master
2020-12-30T11:28:44.378853
2017-11-10T09:45:30
2017-11-10T09:45:30
91,568,528
0
1
null
null
null
null
UTF-8
C++
false
false
7,278
cpp
sam.cpp
#include "sam.h" SAM::SAM(QObject *parent) : QObject(parent) { } void SAM::serialSend(const QByteArray &byteArray) { serial->write(byteArray); } void SAM::initConnection() { serial=new QSerialPort(this); serial->setPortName("ttyUSB0"); // serial->setPortName("ttyACM0"); // serial->setBaudRate(QS...
7f8634f74133fb0c87d4cc732a5891ae799a568e
27a7b51c853902d757c50cb6fc5774310d09385a
/[Client]LUNA/ExitManager.cpp
66d0d8971922b840c8cf7398f86454ba82fc830a
[]
no_license
WildGenie/LUNAPlus
f3ce20cf5b685efe98ab841eb1068819d2314cf3
a1d6c24ece725df097ac9a975a94139117166124
refs/heads/master
2021-01-11T05:24:16.253566
2015-06-19T21:34:46
2015-06-19T21:34:46
71,666,622
4
2
null
2016-10-22T21:27:35
2016-10-22T21:27:34
null
UHC
C++
false
false
6,347
cpp
ExitManager.cpp
// ExitManager.cpp: implementation of the CExitManager class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "ExitManager.h" #include "ChatManager.h" #include "ObjectManager.h" #include "ObjectStateManager.h" #include "MoveManager.h" #include "WindowIDEnum.h" #in...
e91e042c5ba8bb3716cfa1840754b051ed343a6e
b6027f686e77978c3cc238c4b4af3fb7c4872b57
/Go.cpp
0dfa660e0de1bcfad1dd854c63b6229f5fa84b60
[]
no_license
udalov/russianaicup2015
13cb7f61c329a4a6be49161b2aa0f521ed4498da
7ca5e5ba69a84984824f26be172950c886632cac
refs/heads/master
2020-09-13T10:54:46.078142
2016-08-24T19:29:03
2016-08-24T19:29:03
66,493,454
0
0
null
null
null
null
UTF-8
C++
false
false
1,498
cpp
Go.cpp
#include "Go.h" #include <sstream> using namespace std; bool Go::operator==(const Go& other) const { return enginePower == other.enginePower && wheelTurn == other.wheelTurn && brake == other.brake && throwProjectile == other.throwProjectile && useNitro == other.use...
c36cfbbb80d21894b8bd2d6c5107a9f4bddec592
6f224b734744e38062a100c42d737b433292fb47
/libc/src/__support/OSUtil/fuchsia/io.h
150d92d56eb6508bb86def2e5cd06e0930f3ad7c
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
smeenai/llvm-project
1af036024dcc175c29c9bd2901358ad9b0e6610e
764287f1ad69469cc264bb094e8fcdcfdd0fcdfb
refs/heads/main
2023-09-01T04:26:38.516584
2023-08-29T21:11:41
2023-08-31T22:16:12
216,062,316
0
0
Apache-2.0
2019-10-18T16:12:03
2019-10-18T16:12:03
null
UTF-8
C++
false
false
849
h
io.h
//===------------- Fuchsia implementation of IO utils -----------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
c67983ebad6a20af2869678a5489858ed05854f3
98b1e51f55fe389379b0db00365402359309186a
/homework_6/problem_2/100x100/0.03/T
80dc25596e6de51dfc6b67c6a42b87eede2c4c4d
[]
no_license
taddyb/597-009
f14c0e75a03ae2fd741905c4c0bc92440d10adda
5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927
refs/heads/main
2023-01-23T08:14:47.028429
2020-12-03T13:24:27
2020-12-03T13:24:27
311,713,551
1
0
null
null
null
null
UTF-8
C++
false
false
115,563
T
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*-------...
2001a6a164a56b1b35150991aa43a4c6d96878b7
c0ce32b73f7eb8de3d2079e6f358e6d143f80226
/hw3d/hw3d/Bounds.cpp
0d0875dbb1a475eec33f7739d19e50886327cc82
[]
no_license
lbondi7/ATPlatformerDirectX
f1e8a92be4e203b92db654a6d04d13b31c69be7f
c899543125d85343dafb0fa43537b811eb76723d
refs/heads/master
2022-06-14T19:18:53.009248
2020-05-07T06:51:00
2020-05-07T06:51:00
214,225,889
0
0
null
null
null
null
UTF-8
C++
false
false
2,696
cpp
Bounds.cpp
#include "Bounds.h" #include "Utilities.h" #include <algorithm> using namespace DirectX; void Bounds::CalculateBoundingBox(const Vec4& pos, const std::vector<Float3>& verts, Matrix& worldMatrix) { XMFLOAT3 minVert = XMFLOAT3(FLT_MAX, FLT_MAX, FLT_MAX); XMFLOAT3 maxVert = XMFLOAT3(FLT_MIN, FLT_MIN, FLT_MIN); m_Min...
bd5034023b1f8c797918df648dba062adf51c2b6
a40e65eb1f6f494b3db0266ec1f7ed7f583927ab
/question6.cpp
c7cbcc310decc61d63c03caf1bf34f1e4b354cf2
[]
no_license
Txiaobin/coding-interviews
d9dda4aca2376dc546c8370215735bb76d074158
bb7862c481e415cc76b716f369f2b9de5ecf9496
refs/heads/master
2020-06-16T18:30:40.379944
2019-08-28T01:49:08
2019-08-28T01:49:08
195,665,059
0
0
null
null
null
null
UTF-8
C++
false
false
688
cpp
question6.cpp
/* 输入一个链表的头结点,从尾到头反过来打印出每个节点的值。 xiaobin9652@163.com; Xiaobin Tian; */ #include<vector> #include<stack> using namespace::std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: vector<int> printListFromTailToHead(ListNode* head) { v...
634413077d0fd31a4d20f8029fda4e347e7449f7
187977453b41b41077d438b7c39a690795fade70
/cpp/oneapi/dal/table/backend/csr_kernels.cpp
b83f2b4caaf4c19444e2ea2daff121499cb4fec0
[ "Intel", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "MIT", "Zlib", "LicenseRef-scancode-unknown-license-reference" ]
permissive
homksei/oneDAL
d3c26922965528711e9a2a82e4625583bdd3385c
c423627ce86290a37323ef8acb56b35f91099eca
refs/heads/master
2023-07-06T05:09:42.050776
2023-01-04T15:12:15
2023-01-04T15:12:15
252,134,079
0
0
Apache-2.0
2020-04-01T09:46:41
2020-04-01T09:46:40
null
UTF-8
C++
false
false
10,646
cpp
csr_kernels.cpp
/******************************************************************************* * Copyright 2021 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...
0d8756ead6e47e63f331550d4d681c0d4ccad778
8c10b097e827f6c33250d2081188a6814a9ed303
/HW/HW-03 Peer Review/Peer 02/Graph.cpp
4a4c0a7091a12dfec0539bc01efd3f14386ef7e1
[]
no_license
ktjones/CPP4C_Programmers
b023dc328df93a7530d28bd02656f6b43eda3927
6af90d23e8aa63138fa131b58455beb775557b36
refs/heads/master
2016-09-06T00:36:52.076836
2013-12-28T13:26:21
2013-12-28T13:26:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,474
cpp
Graph.cpp
#include <iostream> #include <vector> #include <stdlib.h> #include <queue> #include <fstream> #include <sstream> #include <string> using namespace std; //~~~~~MY DATA STRUCTURES ARE A LITTLE DIFFERENT FROM THOSE SUGGESTED ON COURSERA, PLEASE TAKE TIME TO READ THROUGH THE CODE~~~~~ //~~~~~THANKS FOR GRADING~~~~~ //...
42207bcab90a8a8ce7fd8addce6353425a918054
3f12a45ae133af9e822c0c58add3cd0a71f7b10a
/programloader.h
568756a0c48b8be844c6760994c76d684864a9cb
[]
no_license
arturp-a/My_Virtual_CPU_apa_93
07c18cf37520470fbb241bd795b2fdff62d03578
680a7d7d8ffe0912900e8ff5ccbcf8daffb71cff
refs/heads/master
2021-06-18T16:17:20.576592
2017-06-29T16:00:19
2017-06-29T16:00:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
555
h
programloader.h
#ifndef PROGRAMLOADER_H #define PROGRAMLOADER_H #include "ram.h" #include <QFile> #include <QTextStream> #include "cpu.h" #include <QQueue> #include <QRegExp> class ProgramLoader { private: int AddressCounter; int AddressOffset; RAM *Memory; public: ProgramLoader(RAM *mem, int Offset); void loadF...
93bd4f0eaa564d3b0a39a504041f211c866adc86
9784d4b5a853f9d720f1c047814ce1f9b863a9a3
/lib/src/cpp/tfd/tensor.h
3240aac7b7454b8a172abdee49b7c382aa86ead3
[ "Apache-2.0" ]
permissive
thosakwe/tensorflow.dart
2154d7e8da50f921fc59179ab100ef072d54e188
3b7b82894d22310683674d431f7b937ae42b5bf1
refs/heads/master
2020-03-10T23:05:26.016914
2020-02-29T17:47:02
2020-02-29T17:47:02
129,633,423
93
14
null
null
null
null
UTF-8
C++
false
false
321
h
tensor.h
// // Created by Tobe on 4/15/18. // #ifndef TENSORFLOW_DART_TENSOR_H #define TENSORFLOW_DART_TENSOR_H #include <dart_api.h> #include <tensorflow/c/c_api.h> namespace tfd { void Constant(Dart_NativeArguments arguments); void Tensors_string(Dart_NativeArguments arguments); } #endif //TENSORFLOW_DART_TENSOR_H...
6cb1a5de8a690961eb1f130aeeaa5a4075bdbbce
7ad41d46716ac2aa51fbed6a69ac66aa08f9e3a5
/C++ Competitive Programs/Introductory Problems/NumberSpiral.cpp
180891c6c9635170ec6654958a4de7ef0e014b06
[]
no_license
thierryxdp/Competitive-Programs
00c7d4f75fa2a7f3daaf4c33f5d3fbf5497968f9
9f5d1102ab39ba13d5ea010019723b968794766e
refs/heads/master
2023-02-05T01:36:46.943930
2020-12-27T00:26:33
2020-12-27T00:26:33
289,184,142
0
0
null
null
null
null
UTF-8
C++
false
false
302
cpp
NumberSpiral.cpp
#include <bits/stdc++.h> using namespace std; int main(void){ int t; cin >> t; while (t--){ int y, x; cin >> y >> x; if (x >= y){ int diagonal = diagonal(x - 1) + 2*(x-1); } else { } } return 0; }
1b15320e973aa985b1bbf38c0bf54bf46a808c99
78ab99b23ef81fc301fb516fa2f10490754960d7
/day3/socknet/thread/launch_thread.h
d96e4fc3764d5418cc609387e445a0cf4d48a9e1
[]
no_license
marcinklimek/cpp_rt_2
d7865caa17d5be8bac554c52654efb67370be3e4
0223aad7431e97d400f678e831bba3faaabf1fb3
refs/heads/master
2021-01-22T09:32:38.439285
2014-04-09T12:22:44
2014-04-09T12:22:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
142
h
launch_thread.h
#pragma once #include <functional> void launch_thread(pthread_t *id, std::function<void()> f); void launch_thread(std::function<void()> f);
8c326cfc5a73e6bd7e838b774a99094d74712726
6dcc73b950483b31227af567dedafaf8857efe6e
/UI/Choiceset/ChoicesetVR.h
622bd813a4f78358856968cf7668798d390f3c42
[]
no_license
jafo2128/hmi_sdk
aef424041261412da51bcbd0fe6262503400cac0
a7065fdda9cbbb486aba3ca54b8dffc31ae579f4
refs/heads/master
2021-01-14T08:55:50.746164
2016-02-06T00:26:35
2016-02-06T00:26:35
48,529,688
0
0
null
2015-12-24T06:54:22
2015-12-24T06:54:22
null
UTF-8
C++
false
false
1,190
h
ChoicesetVR.h
#ifndef CCHOICESETVR_H #define CCHOICESETVR_H #include "QLabel" #include "UI/Common/Button.h" #include "Common/PopBase.h" #define PERFORMINTERACTION_TIMEOUT 10 #define PERFORMINTERACTION_CHOICE 0 class CPopBase; class CChoicesetVR : public CPopBase { Q_OBJECT public: explicit CChoicesetVR(AppListIn...
77314e7359949eb5deec3faaa980f0d3f43841dc
7e000df064e7cbf22fc9812b5142a3598b97fbbf
/domain/fwinit/WilcoFactories.cpp
e4e06664e9949129bfa3821c2b994a5173a4273f
[ "MIT" ]
permissive
carrotsrc/wilco
e74fccf285e418828a637ca08f8cbca104b3d593
1d8cc8fec369e1be034c19da2de3d90219de2109
refs/heads/master
2021-01-19T18:29:48.181601
2014-11-11T09:28:30
2014-11-11T09:28:30
26,239,454
0
1
null
null
null
null
UTF-8
C++
false
false
208
cpp
WilcoFactories.cpp
#include "domain/Wilco.h" #include "common.h" #include "system/factories/DirectoryModelFactory.h" void Wilco::wireFactories() { this->megaFactory->registerFactory<DirectoryModel, DirectoryModelFactory>(); }
bbe9e6d59877874c36c5f6f5963c08f557d575d7
9da899bf6541c6a0514219377fea97df9907f0ae
/Editor/AnimationModifiers/Private/SAnimationModifierContentBrowserWindow.cpp
c1e7bcb7791f04469ec4000a628ea39c7ab81534
[]
no_license
peichangliang123/UE4
1aa4df3418c077dd8f82439ecc808cd2e6de4551
20e38f42edc251ee96905ed8e96e1be667bc14a5
refs/heads/master
2023-08-17T11:31:53.304431
2021-09-15T00:31:03
2021-09-15T00:31:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,571
cpp
SAnimationModifierContentBrowserWindow.cpp
// Copyright Epic Games, Inc. All Rights Reserved. #include "SAnimationModifierContentBrowserWindow.h" #include "AnimationModifierHelpers.h" #include "Widgets/SOverlay.h" #include "Widgets/SBoxPanel.h" #include "Widgets/Layout/SBorder.h" #include "Widgets/Layout/SUniformGridPanel.h" #include "Widgets/Input/SComboButto...
3adc7df1fdfac14924483a2e4e4f736c43daf2a5
e3b28e9d19bae7f0975e2b7a599e6da2c2d313bb
/cpp/basics/vjezba8b.cpp
8c20940eb9628222566ef395c209db4aead204b9
[]
no_license
Ivan-Vinski/FOI_C_Cpp
94402fff543325c958148919d48696fbc0b1ddff
a64fb87627ee8f4ccc57cf7cfcac3be9de584317
refs/heads/master
2022-12-22T01:13:33.038790
2020-09-28T19:42:32
2020-09-28T19:42:32
299,413,519
0
0
null
null
null
null
UTF-8
C++
false
false
3,821
cpp
vjezba8b.cpp
#include<iostream> #include<cstring> #include<cmath> #include"vrijeme.cc" using namespace std; float zbroj_povrsina = 0; class ctrokut{ public: static int broj; bool jest_trokut, pravokutni_trokut; ctrokut *sljedeci, *prethodni, *zadnji; float a, b, c, vrijeme; char naziv[20]; float povrsina...
b5af12096f0592e8a6d73da79f847ccd759f78a8
bb6806e0bd52cbf26fcea2d7090ba6521c9e31ee
/data_structure/adjacency_matrix.cpp
fb3787240850fe7ce92dc1cfb643404df3163bc0
[]
no_license
wuyexkx/cpp_exercises
25b8a08ccdf7d8c0a1ca1da7867b16535c7733aa
cf08035f7acf21ccd34cca55fcf6d7b7ab4d436a
refs/heads/master
2021-07-12T21:19:36.710739
2020-08-25T08:37:26
2020-08-25T08:37:26
196,787,290
4
0
null
null
null
null
UTF-8
C++
false
false
2,033
cpp
adjacency_matrix.cpp
#include <iostream> using namespace std; // 用邻接矩阵表示图, 顶点 边 // 邻接矩阵为对称阵(两个定点相互是相连的), 对角元素为0(顶点与自己的边用0表示) // 简单,但是有一半的空间浪费,并且稀疏0很多. # define MAXVERTEX_NUMS 20 // 顶点的类型,可以不用这么绕弯子,也没啥用 class Vertex { public: Vertex(const int& dt): data(dt) { } private: char data; }; // 图的类型 class Graph { public: Graph(): nV...
12645c4d6985be4e021e0c21f66e1f11792f9846
50019f39ac619b99c3ad0ca37c24dc10ed48e0d9
/Data Structures/Polynomial Calculator/polynomial.hpp
3d974936a8d53ee8129e2eb13e17436295524b2b
[]
no_license
k48shah/Assignments
3e4124b17bdf9d6bac32d9708aec64193206ac81
c2d638ff489ba7f0af36dfcf0e41ef941906a42f
refs/heads/master
2020-04-29T10:13:21.073541
2019-03-17T05:17:38
2019-03-17T05:17:38
176,053,533
0
0
null
null
null
null
UTF-8
C++
false
false
425
hpp
polynomial.hpp
#ifndef POLYNOMIAL_HPP #define POLYNOMIAL_HPP #include <iostream> #include <string> class Polynomial { int dataSize = 0; int* data = NULL; public: Polynomial(); Polynomial(int a[], int size); Polynomial(std::string fileName); ~Polynomial(); void add(const Polynomial& second); void subtract(const Polyn...
66c16996d9c177bd7981eb747208e3d92898dd5c
a4c25da4877a5af2f404e7ddc2b2bf12e2db3372
/hpvm/projects/hpvm-tensor-rt/tensor_runtime/include/tensor_runtime.cc
083d733b14d4f335f4365503e5ecdb5c3de0a2fb
[ "LLVM-exception", "NCSA", "Apache-2.0" ]
permissive
vzyrianov/hpvm-autograd
ff2d2d2b83e886f07690ef42b693259765abf147
521cc3b684531548aea75f9fe3cc673aaa4a2e90
refs/heads/main
2023-04-29T03:30:11.948340
2021-05-20T02:30:25
2021-05-20T02:30:25
359,849,964
0
1
null
null
null
null
UTF-8
C++
false
false
2,693
cc
tensor_runtime.cc
#include <cmath> #include <cstdlib> #include <memory> #include <stdio.h> #include <string> #ifndef CUDNN_HEADER #define CUDNN_HEADER extern "C" { /**** Initialization Routine - Must be inserted at program start (in the * backend) ****/ void llvm_hpvm_initTensorRt(int gpuid = 0); void llvm_hpvm_cleanupTensorRt(); ...
02be6bcff6ba2c2a93f034a7ae8a8a585d42553c
637756ec2b19bb1654e4f290fc296fbe7d702609
/include/cyclon/contacts.hpp
b308903506285ab7e153de6268bfdcd776920314
[]
no_license
devprofile98/shm-physics
a3f5925cffe7f47b898ff48c15e86eae51f71cfe
5b8d13526d70511d4097dd4050422a6059d091d3
refs/heads/main
2023-07-15T08:51:09.287999
2021-08-25T14:21:04
2021-08-25T14:21:04
377,780,887
0
0
null
null
null
null
UTF-8
C++
false
false
270
hpp
contacts.hpp
#ifndef CYCLON_CONTACTS_H #define CYCLON_CONTACTS_H #include "core.hpp" namespace cyclon { // data that is needed to be with contacts generated class Contact{ Vector3 contactPoint; Vector3 contactNormal; real penetration; }; } #endif //CYCLON_CONTACTS_H
90113549dd142a02527696ed5b5a467a6b54ad33
42d27eab1400524afbd0466213b374d7ba51f2b3
/GitGud/DSEffect.cpp
43e3349b82abf725fbf1216bd453d3488e986c53
[]
no_license
gitDanilo/GitGud
08b0bbde0ddf36ebb7c7d396feb7ac9ab12b99b3
5826b1c98b3f62a01452868586acf9fb10a5930b
refs/heads/master
2020-04-16T05:45:40.783454
2019-01-21T03:33:09
2019-01-21T03:33:09
165,319,763
1
0
null
null
null
null
UTF-8
C++
false
false
5,982
cpp
DSEffect.cpp
#include "DSEffect.h" BOOL DSEffect::ReadDataStruct(EFFECT_STRUCT &EffectData) { if (pProcMem->ReadProcMem(EffectData.qwBaseAddr + EFFECT_DURATION_OFFSET, EffectData.fEffectDuration) == false) return FALSE; if (pProcMem->ReadProcMem(EffectData.qwBaseAddr + DURATION_INC_OFFSET, EffectData.fDurationIncrease) == fal...
d0de306cb4d99aebc7d7d19e0dde93596c6e2bac
10d4762f3602390b5b5b1a6eabb89c44b4f5b983
/scope_ztsh_coords.cpp
7c2a6fb67fca721230dbf3621bad6fd3900f3bbf
[ "BSD-3-Clause" ]
permissive
olegkutkov/phd2guiding_crao
7171b7db615ef405f0d7745fa6eb566e11807c56
2bbbfbc5bd516a55094ae2b8daaa0c803d16f83c
refs/heads/master
2021-09-03T13:41:05.905004
2018-01-09T13:19:42
2018-01-09T13:19:42
85,361,634
1
1
null
null
null
null
UTF-8
C++
false
false
7,690
cpp
scope_ztsh_coords.cpp
/* * scope_ztsh_coords * PHD Guiding * * Module for ZTSH autogude system, Crimean astrophysical observatory * All rights reserved. * * Copyright (c) 2017 Oleg Kutkov * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and bi...
98af8219061a13cfcaaf52b6f93ba5217feb83c5
69be5215ff881670a1bde185b9932fb8e520de53
/src/lib/serialize/decl_serializable.hpp
297dfcc99fa89bd84bcb33860666167a27a9d287
[]
no_license
xiangyun-kongxy/genetis
e34e3521e2ab42e69dbdf763fbec2cba5eec23f9
8df3f9b7426acac1dc7c1dabb5ecb92e75cb4c43
refs/heads/master
2020-03-15T12:28:28.671966
2019-04-08T10:20:21
2019-04-08T10:20:21
132,144,780
0
0
null
null
null
null
UTF-8
C++
false
false
893
hpp
decl_serializable.hpp
// // decl_serializable.h // lib // // Created by 孔祥云 on 7/19/17. // Copyright © 2017 孔祥云. All rights reserved. // #ifndef decl_serializable_h #define decl_serializable_h #define DECL_SERIALIZE(class, ar, ins, ...) \ friend serializable& operator << (serializable& ar, const...
8020a7551b90c933ac331cc864a95b7fffa46fac
b93faf4a7bf8c1c61cfcf03ab229293106bda2b2
/MFC/MFC_practices/MFCPainting/MFCPainting.cpp
928ec5eb885fd81cc2feba3ad85591fea2d35703
[]
no_license
specter-executant/c-c-
9dd588147287ac8094adb9b272294932031833ee
8ddbeff382b03ee4672096d60dd9475e8df92dea
refs/heads/master
2022-09-18T03:48:30.837975
2020-04-14T08:12:12
2020-04-14T08:12:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,157
cpp
MFCPainting.cpp
 // MFCPainting.cpp: 定义应用程序的类行为。 // #include "pch.h" #include "framework.h" #include "afxwinappex.h" #include "afxdialogex.h" #include "MFCPainting.h" #include "MainFrm.h" #include "MFCPaintingDoc.h" #include "MFCPaintingView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CMFCPaintingApp BEGIN_MESSAGE_MAP(CMFC...
7f5bb1b20ace4d40c12b3a11574c3e3d90ad1359
1835938ff1e6dd0b8f9c8e34a57dd5d862a9e45b
/中国象棋/main.cpp
bdd9594847b63506d5969cb4f8a8ff3e0722579f
[]
no_license
sweeter-melon/hello-game
8cb30271b4e134590e876edd40a225b57a2a3209
f0a2995711a1b48c424297c90329cf5cf363bbf4
refs/heads/master
2021-01-21T10:13:58.691617
2017-02-28T06:48:43
2017-02-28T06:48:43
83,398,958
0
0
null
null
null
null
GB18030
C++
false
false
45,449
cpp
main.cpp
#include<graphics.h> #include<conio.h> #include<stdlib.h> #include<iostream> #include"chess.h" #include"rule.h" #pragma comment(lib,"Winmm.lib") using namespace std; class Play { public: void show(); void chess(); void qipan(); void update(); //更新棋盘棋子 void startgraph(); void breakrule(); void victory();...
1534ebf93de2c24430056f9599c7777ccd55ea7a
57e7d44e27b463f153c3cc0a63c4ffb2bc7109e6
/core/Hardware.h
a8ec9dc8aed06f31a0125a69ac1eaaa8ebf01fe3
[]
no_license
slagyr/sk8bms
039b99689cd7bf820519488f3f41e3c69e9d4586
03e2ab166648cc9bf75aea9abac597c643e89e20
refs/heads/master
2020-04-01T07:28:12.745342
2019-02-22T21:46:08
2019-02-22T21:46:08
152,991,233
0
0
null
null
null
null
UTF-8
C++
false
false
816
h
Hardware.h
#ifndef HARDWARE_H #define HARDWARE_H #include "common.h" class Hardware { public: virtual void pinToInput(byte pin) = 0; virtual void pinToOutput(byte pin) = 0; virtual int readDigitalPin(byte pin) = 0; virtual int readAnalogPin(byte pin) = 0; virtual unsigned long getMillis() = 0; virtual v...
213df67775283ad36f9fbd92fc8a9a999ea047a1
604336927fa76c9e1cf6b910235db948fbc0af8a
/samples/penalized_gd_solver.cpp
524ae763e6db36ed93429b589c6e5f00df528f7f
[ "MIT" ]
permissive
hrishikeshkhade/solvers
32b308e39734bdfa5bfca39672a74cdb9400c43b
05c44762aae43268fa965104c19ba86c4284c549
refs/heads/master
2023-03-15T18:42:20.884773
2019-12-29T12:38:49
2019-12-29T12:38:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
768
cpp
penalized_gd_solver.cpp
#include "utils/data_generator.cpp" #include "../src/numerical/gradient_descent/penalized_gd_solver.h" #include "../src/logging/easylogging++.h" #include <armadillo> using arma::mat; INITIALIZE_EASYLOGGINGPP mat WEIGHTS = {100, -20, 50, -0.5}; int main(int argc, char *argv[]) { el::Configurations conf("./loggin...
b0a842d03073943cd6f1f0c6b8ab9195ce114279
56f1a6eb6436dc61305dbc38b94d84324592448e
/src/rain-library-4/network-utility.cpp
783070242da3be5618e9fe6705320142d9d76ea5
[]
no_license
GilgameshxZero/tab-space
971e2ce0fa9313b3c16024a03a601bc58e74df93
35788631e6bd3da7c03388e265f5c1f700c0ec93
refs/heads/master
2020-12-14T16:30:27.920928
2020-01-30T04:51:35
2020-01-30T04:51:35
234,807,317
2
0
null
null
null
null
UTF-8
C++
false
false
3,008
cpp
network-utility.cpp
#include "network-utility.h" namespace Rain { bool WSAStarted() { SOCKET s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (s == INVALID_SOCKET && WSAGetLastError() == WSANOTINITIALISED) { return false; } closesocket(s); return true; } std::string getClientNumIP(SOCKET &clientSock) { static struct s...
b014239c1f8ea05a40d629fa01766b5923cb0cc9
63ab1f6373b80ad833490683584a80d00c29278d
/core/simulation/core/streamcallback.h
1769e6e592c007837ede069d8e3544a39737055e
[]
no_license
copton/lethe
811986784571a65e1a02100f3bc0c304535ca0ff
5d18a99a3932a3ecbe59dade8c67cb93f6fcd2ba
refs/heads/master
2020-05-16T18:01:51.670153
2012-08-22T12:33:20
2012-08-22T12:33:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,292
h
streamcallback.h
#ifndef __CORE__STREAMCALLBACK_H #define __CORE__STREAMCALLBACK_H #include "streamcache.h" namespace Core { class Reference { public: Reference() : _counter(1) { } bool isZero() { return _counter == 0; } void inc() { _counter++; } void dec() { _counter--; assert(_counter >= 0);...
aaf011749db6ee856964c20267189adf769edb4e
14a238d6285ac124be77ba3aa02b1899ae641e72
/src/Sphere.h
f8bbb492b225b8ce3df2dc21ad4286f5faeef527
[]
no_license
yuzepe/proj
cde7407fcd3b1602b7b805805fd7c632360b3c08
ee4141a4921d291ade15f261bead5fd3dc8ec8fe
refs/heads/master
2020-04-04T06:43:08.142693
2014-04-12T13:18:37
2014-04-12T13:18:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
709
h
Sphere.h
/* * Sphere.h * * @author Joseph Zehe * */ #ifndef SPHERE_H #define SPHERE_H #include <sstream> #include <string> #include "Shape.h" using namespace std; class Sphere : public Shape { public: inline Sphere(float radius = 10) : m_radius(radius) {}; inline Sphere(int radius) : Sphere(static_cast<float>(radius...
1a74fedd9ddee71013b0f1482429d7421b6045e7
bacb98f977ff5908eb3ed36a4aa46c9ffcd1311c
/eu0162.h
c3860d208cc74aaadff7bce2fe63e69555cae33d
[]
no_license
nrey/eulerOld
c0f5177bc9a3df4e1118670af166ea0bc2b001ab
a83e7d5dcae0cb56e930c100f7cb1f9cb864c07b
refs/heads/master
2021-01-22T12:07:33.608340
2012-09-28T06:08:57
2012-09-28T06:08:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
175
h
eu0162.h
#ifndef eu0162_h #define eu0162_h #include"euler.h" class eu0162 : public euler{ public: eu0162(){}; ~eu0162(){}; void solucion(); void printsolution(); }; #endif
b5f42a165bf44aea5cfc8b77b3bb752e95f1f472
2eba4d9c89f41f978c01b2e05ec1bdc9a61cd179
/Src/Terrain3D/Core/ShaderProgram.cpp
17b0e50a0c1a6a2a14f182c6e8a34a49499970c8
[ "MIT" ]
permissive
fHachenberg/Terrain3D
e58eeb7ecc285575e8bc90cdb16a2416d9e1b5bb
9659fca4d11ddfb57834cb851b578d957bae0417
refs/heads/master
2021-01-18T04:40:08.470828
2016-02-18T03:30:41
2016-02-18T03:30:41
60,901,679
0
1
null
2016-06-11T10:14:44
2016-06-11T10:14:44
null
UTF-8
C++
false
false
2,866
cpp
ShaderProgram.cpp
//==================================================================================================================| // Created 2015.03.17 by Daniel L. Watkins // // Copyright (C) 2014-2015 Daniel L. Watkins // This file is licensed under the MIT License. //=============================================================...
5b37748212bb284bca5f210e2eabe2c964394445
c16097e4cf266668a4b69f85ff900b369a80ac99
/sources/gui/src/dirscanwidget.h
bdb43973fdd939893f7731730c7a657aad509498
[]
no_license
superactive/meduzzza
63f6487d1f40d53e04c6df15cf83649c5e5df4e8
e856e2ddb0c83e8fe16827eff652ba35ac17ca43
refs/heads/master
2021-01-14T09:49:58.736263
2014-11-14T11:02:07
2014-11-14T11:02:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,724
h
dirscanwidget.h
/* * Copyright (C) 2013 Andrey Dudakov * * Authors: Andrey "amd00" Dudakov * * This file is part of meduzzza-gui. * * meduzzza-gui is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version...
b561d4b2c297e2b4181225a22d0942d24e0ce463
4a8318fb3775476b3cb849ef32426ced6bbb86e5
/cc/063.cc
d87bc28384b50ace0f84d9f6900e1eba863760d6
[]
no_license
zellyn/project-euler
422de8387320ebb9b7a978e348dd7e12e1048352
087061f007350ac2c210c5ef19f1ccc3d89dea35
refs/heads/master
2021-01-21T05:00:15.903675
2020-01-17T14:21:44
2020-01-17T14:21:44
154,268
1
0
null
null
null
null
UTF-8
C++
false
false
192
cc
063.cc
// Project Euler Problem 063 // // How many n-digit positive integers exist which are also an nth // power? #include <cstdio> int main(int argc, const char* argv[]) { printf("%d\n", 0); }
5eda9c812b4c47adf7b7dae8aa4ca7f2ad48dc00
87d714204625a38ae7b09e5c9be537811d34268a
/LinkedList/Stack.cpp
807029464af20188902bb30c5acf181110eaa92d
[]
no_license
Gominbong/List
c1c358c821e20a73c2fc97655ee7d13bd6d96f89
9f5ec14a1f9f7d5bd2e83b4a4a289e722ed4de4c
refs/heads/master
2023-02-12T04:02:40.609957
2021-01-08T04:35:55
2021-01-08T04:35:55
267,345,095
0
0
null
null
null
null
UHC
C++
false
false
4,052
cpp
Stack.cpp
#include"Stack.h" #include<stdlib.h> #include<stdio.h> #include<string.h> #include<ctype.h> void InitStack(Stack* stack) { stack->top = NULL; } int IsEmpty(Stack* stack) { if (stack->top == NULL) return true; else return false; } void Push(Stack* stack, float data) { Node_stack* NewNode = (Node_stack*)malloc...
e9045e8fa5aa45cb306122b644cd85cc78930ec6
3efc50ba20499cc9948473ee9ed2ccfce257d79a
/data/code-jam/files/6224486_biltharesatyendra_5686275109552128_0_extracted_pan.cpp
a30d142cb16d6ef97e24047ad1542f1dd59614f9
[]
no_license
arthurherbout/crypto_code_detection
7e10ed03238278690d2d9acaa90fab73e52bab86
3c9ff8a4b2e4d341a069956a6259bf9f731adfc0
refs/heads/master
2020-07-29T15:34:31.380731
2019-12-20T13:52:39
2019-12-20T13:52:39
209,857,592
9
4
null
2019-12-20T13:52:42
2019-09-20T18:35:35
C
UTF-8
C++
false
false
1,474
cpp
6224486_biltharesatyendra_5686275109552128_0_extracted_pan.cpp
#include<string.h> #include<bits/stdc++.h> using namespace std; typedef long long ll; int a[1000005]; int n; int sol(int ans) { int st; for(st = 0; st<=ans;st++) { // printf("taking only steps %d\n",st); multiset<int> ss ; int i; for(i=0;i<n;i++) ss.insert(a...
8dec880390c155a0728b7005d2e966f7a434ece8
6b09fdc05a6c6c756d6525b5bfe12aa2110f2922
/STUB/STRUCTURE/database_structure.hpp
322d66482ec3013fa29876f7c55620c0b4c2f0bf
[]
no_license
roysuman/DatabaseStub
fcf3d4b405f272de521cd016946f133ca3817dfe
c7e07ffe2bdb2fd001d6498398a8918798996030
refs/heads/master
2021-01-18T23:00:38.368321
2016-05-12T05:38:31
2016-05-12T05:38:31
25,222,657
0
2
null
null
null
null
UTF-8
C++
false
false
1,696
hpp
database_structure.hpp
/* * ===================================================================================== * * Filename: database_structure.hpp * * Description: structures to maintain database information, at a particular time only one database will be active so only one instance of database variable is needed. *...
7d7eb57186d00b7822a1b1d69b822787a1713364
aa1e3dc577fb616da19902fe3d598081bed88da7
/12.- Supermercado/Prac12.cpp
88a2fbb23df55f6cb61e12a12277485b98b5e741
[]
no_license
cocosabio97/ED
817ebe18767b453e5120acb41154d71d65bbd192
b17070c8f877fb09102ffdf3fcb5c7c24ae9c9ab
refs/heads/master
2022-11-18T07:20:45.213881
2020-07-17T08:59:49
2020-07-17T08:59:49
280,377,322
0
0
null
null
null
null
ISO-8859-2
C++
false
false
5,794
cpp
Prac12.cpp
/* * --------------------------------------------------- * ESTRUCTURAS DE DATOS * --------------------------------------------------- * Manuel Montenegro Montes * Facultad de Informática * Universidad Complutense de Madrid * ---------------------------------------...
62310754766f7896068a5d648870c3fba1988848
b78c255d1c8b917c21bf689f5f9153d765fbe195
/dogpack/apps/2d/advection/rotating/AfterQinit.cpp
f9475aae57605a0ceaae67e8ad240457cf727c5e
[]
no_license
smoe1/ImplicitExplicit
8be586bed84b1a661e5fe71f5b063dcd406643fa
2b9a2d54110ca0f787d4252b9a8cc6d64b23b08d
refs/heads/master
2016-09-08T02:39:48.371767
2015-09-15T21:15:08
2015-09-15T21:15:08
41,374,555
0
1
null
null
null
null
UTF-8
C++
false
false
2,563
cpp
AfterQinit.cpp
#include<cmath> #include "dogdefs.h" #include "DogParamsCart2.h" #include "DogSolverCart2.h" // Smooth initial conditions void AfterQinit(DogSolverCart2& solver) { dTensorBC4& aux = solver.get_aux(); dTensorBC4& q = solver.get_q(); const int mx = q.getsize(1); const int my = q.getsize(2); con...
3667a1921ba46e093c710af9c204619a8a09119d
e6186d644bc43beb233cefe59633009212643e57
/serving.cpp
555cf6fa81c77314f3a287dfced5599ca556de89
[]
no_license
george-hinkel/MICE_TeamA
0c9abf127a60c6a79287c1cfd9bfa0444c2e4f40
dee1664eed12b0c5f8949dfcf6b5073100f51705
refs/heads/master
2021-05-15T10:13:28.787856
2017-11-30T13:19:48
2017-11-30T13:19:48
108,171,188
0
0
null
null
null
null
UTF-8
C++
false
false
1,812
cpp
serving.cpp
#include "serving.h" #include <iostream> void Serving::add_item(Item* item){ _items.push_back(item); } Item* Serving::get_item(std::string name){ for(int i=0;i<_items.size();i++){ if(_items[i]->get_name()==name){ return _items[i]; } } Item* null_item = (Item*)malloc(sizeof(Item)); null_item = new Item("NULL...
f428712dc582a312cbafa9a1a35db53e1ceae285
684b2280d42de5a4fa1bad2d114ddd2699aa21f1
/src/graphicblock.cpp
1a83d536e315b012b48238ad3fdb3885f1b6789d
[]
no_license
kashin/Engine2DTest
1e573e1b69c8551e983396f6795bc9688c0e0f80
c6603484cbe349cf4a88d4ff0b22f5ce0f138549
refs/heads/master
2016-09-11T07:59:10.337004
2013-05-29T16:31:05
2013-05-29T16:31:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,095
cpp
graphicblock.cpp
#include "graphicblock.h" #include "animator2d.h" #include <irrlicht/irrlicht.h> #include <QDebug> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; GraphicBlock::GraphicBlock(IVideoDriver *driver, const CollisionType& type) : mDriver(0), mEnableAn...
f1f58f5514a09890ab3e65dc44bded22e08d01c4
84ecd166c2078c23bc517cbcc02d26d88724e293
/InheritanceC++-Assignment5/ShapesGood.h
81de5ab6fd667a604bd593d4ce1a0bc0db3174d1
[ "MIT" ]
permissive
DanMan259/CMPE_320_Fundamentals_of_Software_Development
7499ba54e1202a6b231e2c13146585e7ddb2579d
ad53876a42f5c37ea0722c4377ed9fdd9285f742
refs/heads/master
2020-08-04T17:04:02.207789
2020-01-19T23:30:07
2020-01-19T23:30:07
212,213,485
0
0
null
null
null
null
UTF-8
C++
false
false
1,953
h
ShapesGood.h
#pragma once #include <string> using namespace std; // Shape Class that all the other shapes will inherit class Shape { public: Shape(); Shape(int, int, string); virtual ~Shape(); int getLength(); int getWidth(); string getOutlineColor() const; virtual void draw() const; protected: voi...
91d70de8ef7616b20df47e6005c551b756e2748c
f4724bdfcac0ab9380d133e541c03a9d4c57d39b
/Lab1/test.cpp
0ac9b85b9036f96c3660582eb074e9662dbfa1ea
[]
no_license
Kish29/AlgorithmCourse
a1c06f335a3b328a35ce8d641a4400f26d255500
d62b5c785a2c2241ecf349616b701e3df20ab484
refs/heads/master
2023-02-08T11:06:09.502278
2021-01-01T16:07:15
2021-01-01T16:07:15
312,187,143
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
test.cpp
// // Created by 87569 on 2020/12/9. // #include "MyAgorithm.h" int nums[max_n]; int main() { int len, n; scanf("%d%d", &len, &n); for (int i = 0; i < len; ++i) { scanf("%d", &nums[i]); } printf("%d", minDivide(nums, len, n)); return 0; }
cfc43413c9902a65e8f4331de6751b3b70f8bddf
24fb405cbac1742628826996d353f91ab9c97e91
/Unit_tests/collectionTests.cpp
5d32a07528f862c4c4788fdd58d1457aafd5f87b
[]
no_license
MonikaBer/Artificial_life
c2850c39a2f33a0b0e484386b59b585da5eb9d86
08ff4f7deb40defd0bd4bb8d6cf7f4c81945548b
refs/heads/master
2021-05-18T16:54:50.109764
2020-06-10T21:23:26
2020-06-10T21:23:26
251,326,344
0
0
null
2020-04-30T21:30:01
2020-03-30T14:14:22
C++
UTF-8
C++
false
false
2,946
cpp
collectionTests.cpp
#define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "../Subjects/Animals/Herbivore.hpp" #include "../Subjects/Animals/Predator.hpp" #include "../Subjects/Plants/TypicalPlant.hpp" #include "../Subjects/SubjectsCollection.hpp" #include "../helper.hpp" BOOST_AUTO_TEST_SUITE(test_suite_collection) ...
0723b1330d5d0ae395bda3475b6c472f0d8d3a70
add246d790e0e8ff9eb49955bfd276c70439e613
/main/drawCTRSingleBarsComb.cpp
9f27b73e946fee1de18507d8744ef592d1a98152
[]
no_license
abenagli/TBStudies
0bee17521e29272659cfc31927db7dce56a38437
2d9c1b2b5cd2ee25ef0c8ad4d37bdcd5aeafe99a
refs/heads/master
2020-03-30T15:46:52.235302
2020-01-19T12:33:53
2020-01-19T12:33:53
151,378,759
0
0
null
null
null
null
UTF-8
C++
false
false
70,203
cpp
drawCTRSingleBarsComb.cpp
#include "interface/FitUtils.h" #include "interface/TreeUtils.h" #include "interface/SetTDRStyle.h" #include "CfgManager/interface/CfgManager.h" #include "CfgManager/interface/CfgManagerT.h" #include <iostream> #include <fstream> #include <vector> #include <map> #include "TFile.h" #include "TChain.h" #include "TH1F.h...
84859abbb9d18d51b274e52c0f54db74eb3c382c
8a2f4a3a4f497e1415506b5dd588881ad5c8ada3
/POSN_63/CAMP1/055-081_ProgrammingTechnique_2-3/71_OverSort.cpp
bb919c65803b15e2eb732d1c5b5ba45d0a23cba0
[]
no_license
MasterIceZ/CP-COM
34db51e6d8aeecf2917eefc6a58fa0dbe8147d73
8121aace39f186e548cc99f2f73960994711c17c
refs/heads/master
2022-12-16T01:41:00.930500
2021-05-04T12:47:25
2021-05-04T12:47:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,191
cpp
71_OverSort.cpp
#include<bits/stdc++.h> using namespace std; const int mxN = 1e5+1; int a[mxN]; char c[mxN]; double d[mxN]; struct String { char a[105]; bool operator < (const String& o) const { if(strcmp(a, o.a)<0) return true; return false; } } s[mxN]; int main() { int opr,n; scanf("%d %d", &opr, &n); if(opr==1) { for(in...
9c3228d191649ae0dd9440b1c9ef531e5428a70a
8a113790fed21a9d6f8ecf9a6457a21e90f250a7
/trunk/MusicSynthesizer/source/lcd/managwnd.cpp
87688d71345b9e7ed05b638c7f3ec0d9265901b1
[]
no_license
SteveZiZi/Effector
8df91818c5b034ce486cc6664253e6ce3eac43ad
12d9177daffd8def9e2ff51d31c708f525280650
refs/heads/master
2020-05-20T21:25:54.461085
2017-03-10T06:47:08
2017-03-10T06:47:08
84,527,223
0
0
null
null
null
null
GB18030
C++
false
false
3,828
cpp
managwnd.cpp
/** @file * @brief 终端管理与维护窗口定义 * @author Steven Wan yezhengqiu * @date 2012/02/21 * @version 0.1 */ #include "sguiapp.h" #include "managwnd.h" #include "version.h" #include "syscfg.h" #include "sysctrl.h" #include "context.h" #include "status.h" #include "modem.h" #include "sguictrl.h" const char *g_TermName[...
1d8dc714b8f076191e8425f50ce2e116502a84d0
0d70a5fb895823be35e479a924ae2728d0e77adc
/Matrix/1.cpp
7307a5a5017825b90366f113a6a9638f1d253a49
[]
no_license
akshadagrawal/DSA-450
412ffa9532fcbfa11f056833db8b08a85b7e0a7f
2d5e5a098a5d9948ab14d1f556ad2e5998b97845
refs/heads/master
2023-06-18T00:04:38.511419
2021-07-16T14:24:06
2021-07-16T14:24:06
361,821,658
0
0
null
null
null
null
UTF-8
C++
false
false
917
cpp
1.cpp
//Spiral traversal of matrix #include<bits/stdc++.h> using namespace std; vector<int> spiral(vector<vector<int>> matrix, int r, int c){ vector<int> arr; int k=0, l=0; while( k< r && l < c){ for(int i = l; i<c; i++) arr.push_back(matrix[k][i]); k++; for(int i=k; i< r; i++) arr.push_ba...
47310a93c3a9ef476e2e717ddd3a1246417a4394
3e1fb4a974bef95630bab33239f9fea844d42663
/src/headers/Graph.hpp
839d16d72525a8f430df23be0924fd9b7190fb8b
[]
no_license
lgstvo/tp2alg1
bbf86bf607854eea0e55bfeecbba086dd2206881
748d9770fd38c02286690b7b1c56d3c033496465
refs/heads/main
2023-03-07T01:28:38.196977
2021-02-23T21:24:51
2021-02-23T21:24:51
341,377,065
0
0
null
null
null
null
UTF-8
C++
false
false
676
hpp
Graph.hpp
#ifndef GRAPH #define GRAPH #include <vector> #include <algorithm> #include "../headers/Attraction.hpp" #include "../headers/Edge.hpp" using namespace std; class Graph{ private: int edgesListSize, mstCost, mstAtractiviness; vector<int> interestPointsIDs; vector<Attraction> edgesList; ...
bd53c798d0f9648d43b057db9ec0d6c93f4ea722
e0eee9346e263f6a227169bdb175e35b52bc51b8
/substitution-support/substitute-inserter.cc
8fbbf224f7946bd0ffeeab4ccdbc40cb3551ce7c
[ "MIT" ]
permissive
wolf-lc1/magisk-ios
de4cd831050153d9294869848db3cb0613623003
8f0217ad5dd15e59675faca25862e08b43d917c9
refs/heads/master
2023-03-26T15:29:25.233664
2021-01-13T19:58:15
2021-01-13T19:59:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,577
cc
substitute-inserter.cc
#include <Scope.hpp> #include <bootstrap.h> #include <codesign.h> #include <common.h> #include <cs_blobs.h> #include <dirent.h> #include <dlfcn.h> #include <errno.h> #include <libproc.h> #include <mach-o/dyld.h> #include <mach-o/dyld_images.h> #include <mach-o/getsect.h> #include <mach/mach.h> #include <mach/mach_vm.h>...
449e5bfb33751d3fcaefe401a130604589b7dd5a
b75de4625adcb1becb1bd95ebe93fc619de1d838
/BeatSaber/Bloom/Bloom.cpp
845b55be45bdb943d3c231bb023dc818efa76be5
[]
no_license
genki-yoshizawa/BeatSaber
4a949d1dde73ae23659d83a20f5d04c4d0516409
fd758ef3d4a8bf5cf446beae00f62cd1f7d0d45e
refs/heads/master
2023-03-18T07:39:39.505037
2021-03-11T16:05:03
2021-03-11T16:05:03
346,756,010
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
17,927
cpp
Bloom.cpp
#include "Main/Main.h" #include "Bloom.h" #include "GameManager/GameManager.h" #include "Renderer/Renderer.h" #include "Scene/Scene.h" #include "VR/VRHandle/VRHandle.h" //#include "title.h" #include <typeinfo> Bloom* Bloom::m_Instance = nullptr; void Bloom::Init(void) { VERTEX_3D vertex[4]; for (int...
d6416c927e3fa42226c35e101d925fdae975f35a
634451da48acec97fbd1cf0d8748f5b3d6d0b0a5
/tracing/trace_helpers.h
cf6b2eb24f4cf35951e86600029ffd38bf96b58a
[]
permissive
paolococchi/kv_engine
522400a511bd18d46576a3b17f2ac41d01e259ba
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
refs/heads/master
2020-07-03T13:53:31.745707
2019-09-25T10:35:11
2019-09-27T15:31:58
191,713,509
1
0
BSD-3-Clause
2019-06-13T07:31:22
2019-06-13T07:31:21
null
UTF-8
C++
false
false
4,868
h
trace_helpers.h
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
c646dd251653e32319f127be29d5dcb923545866
5c1fcca4656f2f3e11bf49db865d6a3172cdc56c
/src/main.cpp
cb64d66cee992e26574eab675f63e7a0f741527f
[]
no_license
kioku-systemk/MOE3
40e03523e58a8263b4d5e302039faf7414fe2a5e
24b40973045e532d53278f20a2773e3ec0a16457
refs/heads/master
2023-05-14T00:16:15.167768
2015-03-05T15:42:01
2015-03-05T15:42:01
7,355,474
0
0
null
null
null
null
UTF-8
C++
false
false
8,836
cpp
main.cpp
// // main.cpp // MOE3 // // Created by kioku on 2012/12/28. // Copyright (c) 2012 System K. All rights reserved. // #include "Core/MOE.h" #include "Core/CoreWindow.h" #include "Gfx/Graphics.h" #include "EasyMIDIController/EasyMIDIController.h" #if 0 // for script #include "Utility/ScriptManager.h" #...
5328180c04c260dabfb8a587798f70d12671acd8
066cd062f509cd7f0dd1932ee33997667aa75a8d
/GFG/DP/Cutting a Rod.cpp
159620e6ccbd70075be37b7a71de868defab35e2
[]
no_license
rhayatin/C--
5581b2f283edd119a5cf5245962b8e04b1b0baa1
14589f3ffb1433af2afe10dddb1c585f467ce2d1
refs/heads/master
2021-01-24T03:02:53.479832
2014-08-05T11:29:17
2014-08-05T11:29:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
Cutting a Rod.cpp
#include<iostream> #include<cstdio> using namespace std; int cutRodDP(int arr[], int size) { for(int i=2;i<size;i++) { for(int j=1;j<=i/2;j++) arr[i]=max(arr[i],arr[j]+arr[i-j]); } return arr[size]; } int cutRod(int arr[], int size) { if(size<=0) return 0; int ans=arr[size]; for(int i=0;i<=size/2...
918b2e2b217d98e1eb047f49b0b12a5474bb784b
d985f7286f3c3844b7d9e7c89075d2ebe4bcfa18
/2/2.2/main.cpp
dee5e47694bb4417745ceee80e2c7ee8a9273cf0
[]
no_license
KeremAtak/ceepeepee
091e5677c2a4215ea79bcd436ee867cf6d03fed7
0fc63d5ece3954203d900e8debf363f5d40b99e2
refs/heads/master
2022-12-11T06:55:57.873720
2020-08-27T22:45:18
2020-08-27T22:45:18
275,889,063
0
0
null
null
null
null
UTF-8
C++
false
false
576
cpp
main.cpp
#include <iostream> int getValueFromUser() // this function now returns an integer value { std::cout << "Enter an integer: "; int input{}; std::cin >> input; return input; // return the value the user entered back to the caller } void printA() { std::cout << "A\n"; } int main() { int num1 { getValueFr...
ac1d1c8e2c0ed7af0390ed05b20990ec96e7a51d
f019ddb942b65b8c8b78fc89429fffaed37ebbc7
/Server Code/ArduinoUno/ArduinoUno.ino
4e08f157b98af9c6683377785363ddf635162082
[]
no_license
NigelBess/Arduino-Server
18dbc0e91d3dc60207df1991d55422c9754bc51a
ad3d9c5800abf9600100fc1025056d8c4c4b2d0f
refs/heads/master
2020-07-09T05:40:47.750590
2019-10-31T01:39:18
2019-10-31T01:39:18
203,897,082
0
0
null
null
null
null
UTF-8
C++
false
false
13,028
ino
ArduinoUno.ino
#include "PinObject.h" #include "ServoObject.h" #include "Encoder.h" const uint8_t maxMessageLength = 8;//max number of bytes in an incoming message const uint8_t numBitsPerByte = 7;//useable bits per byte for sending large numbers over multiple bytes //obviously each byte is 8 bits, but we cant use values of 255 or ...
f76180d719227eba3a792b7b35ed54da0c4fdc54
98e86df1ec2841721f75c5c8474c2636de193fa8
/Others/google_train_set/word_search_unify.cpp
5124eda64b774abc2e63efe7f0a320cc948c3f1d
[]
no_license
cyscgzx33/Leetcode-Practice
59bb7cf3a92e7fcaca2b0a0ad3ba2471a5effc8f
ce025a8e555344974611ab35ef4874e788bbd808
refs/heads/master
2021-06-26T22:02:14.437882
2020-10-23T21:10:58
2020-10-23T21:10:58
146,931,961
4
4
null
null
null
null
UTF-8
C++
false
false
2,421
cpp
word_search_unify.cpp
#include <iostream> #include <vector> #include <string> class Solution { public: int dx[4] = {0, 1, 0, -1}; int dy[4] = {1, 0, -1, 0}; bool isInside(std::vector<std::vector<char>>& board, int x, int y) { return ( x >= 0 && y >= 0 && x < board.size() && y < board[0].size() ); } bool dfs(std::vecto...
c461e7b8dab972da9e9f56facf4364c9d2dc4753
a1d41a176e004531cff8bd44996411ab8b13fd4e
/modules/imgcodecs/include/opencv2/imgcodecs.hpp
81f8a45f658a65e0caf386487889956c8ba56b02
[ "BSD-3-Clause" ]
permissive
pokeefe/opencv
ae18c62fb7af9afc6fc6a62637dc9cd6aa5d7757
dbefbbc52227d3ed5fffe0188a0221c1ade2618c
refs/heads/master
2020-12-25T00:05:58.895257
2014-07-15T09:46:28
2014-07-15T09:46:28
21,886,960
0
1
null
null
null
null
UTF-8
C++
false
false
3,721
hpp
imgcodecs.hpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
f22a48cc91810fb426bee74a1c4c72dc11345df5
be997e617a6db96883b8a5140caad876d52c1b0f
/src/xml_serialization/array_scan.cpp
7d932c46d4b708921fb9376812464ede145b54f9
[]
no_license
cnsuhao/swf
0094b408492444a1cbb9c1f2d9df58e291dd869e
040f81247b58c33f1ea4ea7f0ac4272d012e70df
refs/heads/master
2021-05-27T06:26:11.852155
2013-01-17T23:08:24
2013-01-17T23:09:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,657
cpp
array_scan.cpp
/* Generated by re2c 0.11.0 on Thu Jan 15 13:12:17 2009 */ #include "array_scan.h" ArrayTokenType array_scan(const char*& p) { char* q = 0; #define YYCTYPE char #define YYCURSOR p #define YYLIMIT p #define YYMARKER q #define YYFILL(n) 0 { YYCTYPE yych; if((YYLIMIT - YYCURSOR) < 2) YYFILL(2); yyc...
28f12e3072e4ad42f61a5a44ab49c42f0d21fe97
998a555e2e64611a57f8a714b8eaa8ad64b689eb
/PS7DSP/DynamicQueue.h
9f218cee28a6c7baf36d67a39837962cf4112e7e
[]
no_license
Dy1ski/PS7DSP
957bbfe777830bcab83a41b5defd278210936de4
83cd7117545b2ca6f0df038c4be0ac7ff711f818
refs/heads/master
2020-03-17T16:31:58.006936
2018-05-17T10:40:30
2018-05-17T10:40:30
133,752,259
0
0
null
null
null
null
UTF-8
C++
false
false
1,125
h
DynamicQueue.h
// COS30008, Problem Set 6, 2018 #pragma once #include "List.h" #include <stdexcept> template<class T> class DynamicQueue { private: List<T> fElements; public: bool isEmpty() const; int size() const; void enqueue(const T& aElement); void dequeue(); const T& top() const; }; template<class T> bool DynamicQueu...
f05010a3c0418cc7938bb6bdf6156f63c9d29a39
df1439312463c3dfa7a00fa7b85d4c8272070eaa
/extio.cc
e7188a2b0381c13541f5b8ca0eb7130b914420ee
[]
no_license
naveenmuralimanohar/cacti
692c36d1c7a649cfff5886b8d904d9b93f6c9e8b
2bec6aacdc859f976d59aa2472fc077831c00530
refs/heads/master
2020-07-01T03:18:30.938856
2013-09-13T00:02:15
2013-09-13T00:02:15
32,216,566
0
0
null
null
null
null
UTF-8
C++
false
false
14,428
cc
extio.cc
#include "extio.h" Extio::Extio(IOTechParam *iot): io_param(iot){} //External IO AREA. Does not include PHY or decap, includes only IO active circuit. int Extio::extio_area() { //Area per IO, assuming drive stage and ODT are shared double single_io_area = io_param->ioarea_c + (io_param->ioarea_k0/io_pa...
667c2e52a59544c4bd4348b7560d04508ef4b98a
edbd71479ab4617edfa3a6d4c75004ec3d9165c0
/LeetCode/algorithm_interview_questions/list/Palindrome.cpp
5b38785f3b75bcab5a9023b7247b701729ba1fe5
[]
no_license
ye-ye1998/ye-ye1998.github.com
11a7f9c5c58ddc386e0316e81b71cb61c91cfaff
58e49e44d6e073366c5128cd65f8876077d63a39
refs/heads/main
2023-01-14T21:08:52.880828
2020-11-27T15:48:25
2020-11-27T15:48:25
314,485,159
0
0
null
null
null
null
UTF-8
C++
false
false
1,788
cpp
Palindrome.cpp
// 请判断一个链表是否为回文链表。 // https://leetcode-cn.com/leetbook/read/top-interview-questions/xaw0rm/ #include <iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; ListNode* reverseList(ListNode* p) { // 反转链表...
14d0edd8ff2b43718c94c9e97c4b00c18f29e6a2
cca1db3e138747fc5ce5a3a8fdd80d6d1ed5a886
/charging/C++基础/listnode.cpp
b6844257032150fce1f1811332a3c7aa88f41372
[]
no_license
anchuanxu/leetcode
a1726c1b9949c0b9ae7be00cec139d55f6715963
d028bc9bd8ad2ac833cc4c8ab4466166523350c2
refs/heads/master
2022-11-09T01:14:13.200880
2022-10-28T16:04:55
2022-10-28T16:04:55
164,972,892
0
0
null
null
null
null
UTF-8
C++
false
false
2,081
cpp
listnode.cpp
#include <iostream> using namespace std; //Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; //创建链表函数 ListNode* createLinkedList(int arr[], int n){ if(n == 0) return NULL; //创建头节点 ListNode* head = new ListNode(arr[0]);...