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
da9424a81ffcc88d3df78ae418dcc6aa7acca22d
c0ca1567bd3cbed64f6ca8a7c99f64a74e879764
/Timer.cxx
ae2f42a8918ce55de34373840863c051853fdd6c
[]
no_license
TP1-HHU/hw5
51e862e5e7c0a240666507e99374922596caee7d
6a59d75552f37f2ba1273b0843f3e49bcda156c4
refs/heads/master
2020-04-06T10:50:05.953817
2019-12-18T06:00:30
2019-12-18T06:00:30
46,853,397
0
67
null
2015-12-02T12:51:54
2015-11-25T10:07:45
C++
UTF-8
C++
false
false
1,418
cxx
Timer.cxx
// Timer.cxx // GL, 14.5.2011 #include "Timer.hxx" #include <sys/time.h> #include <sys/resource.h> #include <unistd.h> #include <cstdlib> #include <iostream> //----------------------------------- using namespace std; //------------------------------------------- // Public parts //--------------------------------------...
33b956f4d661b9857fbb8fe98fd9a8af8b5b2abe
92eead7872140b0ba00e54629ef19d4432f3be4e
/Chapter-10/10.27.cpp
67d9d1c00faff4db891d44e4504a8a1837bdb87d
[]
no_license
shengchiliu/Cpp-Primer-Answer
acd8a3b3f0ce80fd759055d7d79788c2b5456b13
9a932c349b5cd272c47a7c793c3cee8c84f9edbc
refs/heads/master
2023-03-22T10:35:00.824761
2019-08-30T04:57:29
2019-08-30T04:57:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
10.27.cpp
#include<iostream> #include<vector> #include<algorithm> #include<list> #include<iterator> int main() { std::vector<int> v{1,1,2,2,3,4,5,12}; std::list<int> l; std::unique_copy(v.cbegin(), v.cend(), std::back_inserter(l)); for(int i : l) std::cout << i << " "; std::cout << std::endl; return 0; }
a77eca9750a01aef6aec4c27b77b90134ea60324
918e012b8b539b457c3cb943fa7b4ef5ff3d0429
/Lotus/Lotus/Math/Math.h
2242dfde501e2fdb4e5f69e731f0967b56ebafee
[]
no_license
reedhong/lotus
6660a1e58fb7cf27392580e5ba103adf272d6c8d
51fc90cb1123f8e455f06ef2b9b5d864c1812c60
refs/heads/master
2021-01-10T19:48:41.756534
2012-09-18T09:55:56
2012-09-18T09:55:56
null
0
0
null
null
null
null
GB18030
C++
false
false
2,128
h
Math.h
/******************************************************************** created: 2012/08/08 filename: Math.h author: reedhong purpose: 数学相关的 Ogre中数字的计算设计了缓存机制,后续可以考虑引入 *********************************************************************/ #ifndef __Lotus_Math_H__ #define __Lotus_Math_H__ #include <cmath...
98ac537e8bec7d94039639765c44ae497bd0594d
1617e6e5e56071b7cafa7f4fe4d0960dde374e58
/RO/rand.h
9c7a5b89e2a90709a959ae0b03630494dece1813
[]
no_license
skyline-nju/VM-MPI
4fc1c02c063d3ef0fae14b1bc561f3cea83ac312
be1fbff62433039316d89376d0288dd687e3998a
refs/heads/master
2022-04-30T22:28:10.182033
2022-03-14T10:44:54
2022-03-14T10:44:54
92,464,925
0
0
null
null
null
null
UTF-8
C++
false
false
5,164
h
rand.h
#ifndef RAND_H #define RAND_H #include <cmath> #include <vector> /********************Uniform Random number generator*************************/ // Ref: Numerical Recipes, The Art of Scientific Computing, 3rd // Uniform Random number generator with period 3.138e57 struct Ran { unsigned long long u, v, w; Ran(unsigne...
56bb8de7feb5aa718e967152c3f7941760c0e639
645ea8356b7a1662882449107386c79fa051943a
/src/Intersection.cpp
8ef4fea1783fc5d11a5f4a02f5673ba78939ef9c
[]
no_license
jomigo96/Aalto-sim-city
bd022e694ce2930733b6574bef196d2b15183b76
e25d2bab68584350b261394869ff698a49a2f012
refs/heads/master
2020-03-09T13:53:54.945521
2018-04-09T19:19:26
2018-04-09T19:19:26
128,822,119
0
0
null
null
null
null
UTF-8
C++
false
false
970
cpp
Intersection.cpp
#include "Intersection.hpp" Intersection::Intersection(Position pos, std::list<Road>& roads) : MapItem(pos, roads) { way=right; } Intersection::~Intersection(){} Intersection& Intersection::operator=(const Intersection& other){ this->m_position=other.getPos(); return *this; } void Intersection::toggle(){...
100789976107fd293e2be6339f86795e59ab1d91
9987fded6026ace187753eaa3e520d0bb72047a0
/isis/src/base/objs/Anisotropic1/Anisotropic1.cpp
bed366790e69830cb89fcea8c5485e8eca3d1e99
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
kberryUSGS/ISIS3
1345e6727746e2ebc348058ff3ec47c252928604
b6aba8c38db54d84b1eb5807a08d12190bf8634e
refs/heads/dev
2021-07-17T16:53:37.490510
2021-03-13T00:09:53
2021-03-13T00:09:53
118,936,778
0
1
Unlicense
2020-03-31T19:44:30
2018-01-25T16:17:20
C++
UTF-8
C++
false
false
10,531
cpp
Anisotropic1.cpp
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
b851441de55b10ee3ed54a2f4850af0ee6ecbab2
d6f907bbdcc73c9d235792143829071c89f46a70
/Chombo/lib/src/HOMappedGeometry/MultiBlockFluxRegister.cpp
9768f4b06b96d594a13962cf7af236c19ee35ace
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
LLNL/COGENT
2095aa2dfda75f03b01d7d271ee01059ebaa99e0
955f848bcfb8811ebdf6c52c605efb3b71e5177c
refs/heads/master
2023-08-23T19:00:32.957355
2023-05-06T03:05:11
2023-05-06T03:05:11
61,917,616
13
5
null
2023-01-20T22:18:06
2016-06-24T23:22:42
C++
UTF-8
C++
false
false
45,138
cpp
MultiBlockFluxRegister.cpp
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "MultiBlockFluxRegister.H" #include "LevelFluxRegisterF_F.H" #includ...
e0f4ce193f127050efef5dabf5287448d0d3d6b5
dddd7de9d728e23c0180ab83f65dfb9552d11092
/2020.06.21/10799.cpp
adfae2c2f00769baefb4ae9350936d8c76cb1d77
[]
no_license
rheehot/baekjoon-2
0ed775463f7f48d023b33464cb05813318f3cd7b
e1cc8b79347909f8bc3c1c8387e57e0be8b74d25
refs/heads/master
2022-12-22T18:01:23.755686
2020-10-02T12:12:56
2020-10-02T12:12:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
338
cpp
10799.cpp
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(0)->sync_with_stdio(0); string a; getline(cin, a); long long cnt = 0, ans = 0; for (int i = 0; i < a.size(); i++) { char c = a[i]; if (c == '(' && a[i + 1] == ')') { ans += cnt; i++; } else if (c == '(') cnt++; else ++ans && cnt--; }...
d4b47a47321281f54474b78352602c5fcc7602d9
545de1693541ce5df2b50ab3a37e4440854f6ec8
/renderer/main.cpp
740c190b7f8b368e18bcf76a801adae34fd287dc
[]
no_license
jelowang/Renderer
8ad1fadcf3eb1ea0c01927b38c46df12bc946451
2cb4b05b3800caef835867c2f17e1ab48fbd67ff
refs/heads/master
2021-05-15T13:59:06.646665
2017-10-17T11:33:46
2017-10-17T11:33:46
107,258,922
0
0
null
null
null
null
UTF-8
C++
false
false
221
cpp
main.cpp
// // main.cpp // renderer // // Created by jelo on 10/14/17. // Copyright © 2017 jelo. All rights reserved. // #include <iostream> #include "glm/glm.hpp" int main(int argc, const char * argv[]) { return 0; }
757dd1ce715b14b5e2eedb0375cea9c35b56a7b9
df7595f5819424f7f2c49471a843e1922b3e56ab
/include/TBTrack.h
10571c35e6b97b080b0a9429d78d37221cef55cd
[]
no_license
sbein/EventDisplay
28c7dc6c7b869ba7f37a031e434928c0c2dde183
1db57fb20a5daf43557ab7daeb35421699c864c6
refs/heads/master
2016-09-14T00:28:57.044440
2016-05-13T02:16:44
2016-05-13T02:16:44
58,691,397
0
0
null
null
null
null
UTF-8
C++
false
false
2,023
h
TBTrack.h
#ifndef TBTRACK_H #define TBTRACK_H #include <TTree.h> #include <TH1I.h> #include <TObject.h> #include "TBEvent.h" #include "WC.h" // a track is a container for a pair of (x,y) hits in each of chambers 1 and 2 class TBTrack : public TObject { ClassDef(TBTrack,1); public: enum Flags { kSC1=1, // "confirmed"...
ba411ab6d765494c6353b639a13421695dbd1d5d
b71eae6ae35da82d8dc4715cdcbac2d5841ab903
/src/VecteurImpl.h
d7e4b4ba0ad1823d2ba31384d5db7d0548bd7904
[]
no_license
amstroed/INF2_Vecteur_Matrices
d2db4e955a207838daf401beca9ef7be484290ac
7f1b47486671910216293105a163725233c12b36
refs/heads/master
2020-05-04T11:00:13.251803
2019-04-11T14:28:01
2019-04-11T14:28:01
179,098,726
0
0
null
null
null
null
UTF-8
C++
false
false
5,032
h
VecteurImpl.h
/* ---------------------------------------------------------------------------------- - Laboratoire : G�N�RICIT� ET EXCEPTIONS Fichier : VecteurImpl.h Auteur(s) : Lo�c Geinoz, Teo Ferrari Date : 09.04.2019 But : Impl�menation des diff�rentes fonctions de la classe Vecteur ainsi que des surcharges d'op�rateur. ...
f36731f0d3dccb330a623bb7de64c8ec8e6ed39b
4cd83a7c7ac0badc2c42580d8dcd8aaba80cabcf
/ui/ui_botton.cpp
527334d3f35e4a2a0028187e341e47d5cab73205
[]
no_license
rolfrm/bbe2
13791a3d7cf860431471b6c66a5d8019dc901665
d4f11e467b58a1dd9f15c3d838d4740cdea3432a
refs/heads/master
2021-01-01T18:54:54.908758
2011-06-13T12:01:17
2011-06-13T12:01:17
1,045,790
0
0
null
null
null
null
UTF-8
C++
false
false
782
cpp
ui_botton.cpp
/* * ui_botton.cpp * * Created on: Jul 18, 2010 * Author: rolf */ #include "ui_botton.h" #include "../events/event_core.h" #include <math.h> #include <iostream> #include "../globals.h" ui_botton::ui_botton(std::string id,std::string recv):signal("",GROUP,"bctrl"){ // TODO Auto-generated constructor stub a...
17b6ca0058651d4656e84378d43654eecc7cdf5d
2ecb48b3a749513f64099ce086cc2184661a437f
/button_multiclick_modified_testing/button_multiclick_modified_testing.ino
16e32876ba6ee6137ff5a9d30bc4f79295b4cca9
[]
no_license
dabare/arduino
db956ff32c4004dd1cb2ec7b5c7cb7819e380a02
b33587f06a355eabe95318642140778bc3e6f02a
refs/heads/master
2021-07-25T16:51:06.104378
2017-11-07T11:44:30
2017-11-07T11:44:30
109,827,947
0
0
null
null
null
null
UTF-8
C++
false
false
6,230
ino
button_multiclick_modified_testing.ino
// -------- clickButton.h -------- #define CLICKBTN_PULLUP HIGH class ClickButton { public: ClickButton(uint8_t buttonPin); ClickButton(uint8_t buttonPin, boolean active); ClickButton(uint8_t buttonPin, boolean active, boolean internalPullup); void Update(); int clicks; // but...
3d5724ca47de3bf9ab9d8733a4560edeb5a4fb0c
217b5c3b80fb62eeab42e0a2b6169f18da1f4c8e
/codeforces/update.cpp
e8a8e9557f0d2503f4da5e9dabaf38ec81f43fe9
[ "MIT" ]
permissive
dhwanisanmukhani/competitive-coding
95f8c68d23106a1bc5af22104fb790c46d19c82b
5392dea65b6ac370ac641c993120d7f252f5b1ac
refs/heads/master
2021-01-21T09:59:32.552450
2018-11-20T18:22:23
2018-11-20T18:22:23
91,676,438
0
0
null
null
null
null
UTF-8
C++
false
false
2,427
cpp
update.cpp
#include <iostream> #include <vector> using namespace std; struct node { int lt, rt; int mmax; int mmin; int sum; int l; node(){ // lt=rt=0; // mmax=0; // mmin=int(1e9); // sum=0; // l=0; } // void print(){ // cout<<"----"<<endl; // cout<<lt<<" "<<rt<<endl; // cout<<mmin<<" "<<mmax<<" "<<sum<<e...
66eb91ab06c6f70a3bad95f5935769c7c02051ce
e5720f95696653b496e5f927eac7492bfb9f132c
/0501-1000/0697-Degree of an Array/cpp_0697/Solution1.h
eff91d4f91f931a13021ca905b49a8e7c1e2bdf3
[ "MIT" ]
permissive
ooooo-youwillsee/leetcode
818cca3dd1fd07caf186ab6d41fb8c44f6cc9bdc
2cabb7e3e2465e33e4c96f0ad363cf6ce6976288
refs/heads/master
2022-05-24T15:37:19.652999
2022-05-15T01:25:31
2022-05-15T01:25:31
218,205,693
12
0
null
null
null
null
UTF-8
C++
false
false
921
h
Solution1.h
/** * @author ooooo * @date 2021/2/20 09:36 */ #ifndef CPP_0697__SOLUTION1_H_ #define CPP_0697__SOLUTION1_H_ #include <vector> #include <iostream> #include <unordered_map> using namespace std; class Solution { public: int findShortestSubArray(vector<int> &nums) { // count, start, end vector<vector<int>> m...
e06799b8306e0d87daa7d7e1774dc65cd63114a2
8481b904e1ed3b25f5daa982a3d0cafff5a8d201
/C++/SJTU/sjtu 1335.cpp
89d7524c96411fd0fd9e5695c6ba870841c1a7a0
[]
no_license
lwher/Algorithm-exercise
e4ac914b90b6e4098ab5236cc936a58f437c2e06
2d545af90f7051bf20db0a7a51b8cd0588902bfa
refs/heads/master
2021-01-17T17:39:33.019131
2017-09-12T09:58:54
2017-09-12T09:58:54
70,559,619
1
2
null
null
null
null
UTF-8
C++
false
false
632
cpp
sjtu 1335.cpp
#include<iostream> #include<cstdio> #include<cstdlib> #include<queue> #include<algorithm> using namespace std; struct node{ long long v; }; bool operator <(const node &a,const node &b){ return a.v>b.v; } int n; long long ans,V; priority_queue<node> q; int main(){ node A,B; scanf("%d",&n); for(int i...
d9a1ec8f48836bb58e493fc679a8db08846d70e5
8d55cf4c0b15d6a5141b0c9a7ae3db432c79cb24
/GraphOrderLibrary/GeneralSettingsDlg.h
8fa702149675ff502843fa3bdfa4f2514480aa0f
[]
no_license
AndriiIakubovych/WorkProjects
f82ad5696df633dbe4b704c625fac61a6bc043b3
8af484b5428c26693be01bc4b496ca1ce6f98820
refs/heads/master
2021-06-24T07:24:55.898648
2017-09-10T19:37:21
2017-09-10T19:37:21
103,055,254
0
0
null
null
null
null
UTF-8
C++
false
false
2,679
h
GeneralSettingsDlg.h
#if !defined(AFX_GENERALSETTINGSDLG_H__08310685_EACE_4906_A6CF_5F6F5511CDF5__INCLUDED_) #define AFX_GENERALSETTINGSDLG_H__08310685_EACE_4906_A6CF_5F6F5511CDF5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // GeneralSettingsDlg.h : header file // #include "SelectStateOrder.h" /////////////////...
0343f748ae87a762414eff2d6900761b6ef10f18
4599649f9889188c681bbde50dc5ceae76590d55
/cxx/algorithm/lru.h
28efbe61e36bd0dec76f8300d7a5a56c33d4a2c0
[]
no_license
wuxiang/language
fbdfe078ddc261f58cbea6dcc4d7405a9ced17ca
f8d5c8c803e35285569da21ed0f1ea3650c33018
refs/heads/master
2021-01-18T22:58:49.824021
2016-07-04T03:25:56
2016-07-04T03:25:56
2,753,949
0
1
null
null
null
null
UTF-8
C++
false
false
1,195
h
lru.h
/********************************************* * * * * the size of cache(250kb) * * each tuple about 28 bytes * * * * *********************************************/ #ifndef TWO_QUEUE_H_ #define TWO_QUEUE_H_ #include <list> #include <boost/unordered_map.hpp> #include <boost/thread.hpp> enum queue_num { _ONCE_FLAG_,...
1315caeb73f1be3f41f2f2624a1ed92c1343d205
30dcfb948080641b3920c35d895c68f185daaab8
/qt-creator-plugin/pyeditor/tools/highlighter.h
b67afa004247e9f4cd3654db0387f1397a683f6b
[]
no_license
sergey-shambir/sergey-shambir-sandbox
e64f144e58ee9727abd6f38fa005e60048f213dd
a74910294975db10eabcd376c0ac506b6ccec5be
refs/heads/master
2021-01-10T04:56:20.987140
2012-05-19T23:18:22
2012-05-19T23:18:22
45,915,836
0
0
null
null
null
null
UTF-8
C++
false
false
842
h
highlighter.h
#ifndef PYEDITOR_HIGHLIGHTER_H #define PYEDITOR_HIGHLIGHTER_H #include <QtCore/QMap> #include <texteditor/syntaxhighlighter.h> #include <texteditor/fontsettings.h> #include "../pyeditorglobal.h" namespace PyEditor { namespace Internal { class Scanner; } class PYEDITOR_EXPORT Highlighter : public TextEditor::Syntax...
acf1b3a37ec7596190063aefb9c63c67ee0234da
8491fc9ff8256f0922df8b01da96458727b46ecb
/Priority Queue Max/client.cpp
73516091c54eec26833d944fb5708d4195437ad4
[]
no_license
vmprkr/Data-Structures
76fd11987d15f6873e51bbc78c1f98a8e7e5a9b0
9f88c53ee17d3068ff0cd56ab6a4dba550b52189
refs/heads/master
2020-04-06T10:38:25.884664
2015-09-09T12:50:49
2015-09-09T12:50:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
client.cpp
#include <iostream> #include "pqueue.h" #include "realvector.h" int main(){ PQueue p; p.enqueue(3); p.enqueue(15); p.enqueue(5); p.enqueue(20); while(p.size() > 0) std::cout<<p.dequeueMax()<<std::endl; return 0; }
b414f5f5c8a209d95c83123a5873d0cd02a85a91
ef76c830eb153b2e8083b2c34a5b0726019c742e
/src/SNLogger/FormatLogger.cpp
339e56b4d278ec21a446511e5bd8de544cb1047f
[ "MIT" ]
permissive
NFWSA/UnknownFuture
aeecac05538f005f8db179de4c001dbddd4bf842
8b9162aa98a52aea85632712282073a1b31780ee
refs/heads/master
2021-01-20T06:04:03.992539
2017-09-07T13:26:01
2017-09-07T13:26:01
101,479,282
1
0
null
null
null
null
UTF-8
C++
false
false
3,232
cpp
FormatLogger.cpp
#include "FormatLogger.h" #include "ColorOutput/ColorTable.h" #include <iostream> #include <string> #include <ctime> #include <iomanip> namespace SurgeNight { FormatLogger::FormatLogger(const unsigned int level) : Logger(level) { } FormatLogger::FormatLogger(const Logger::LOG_HANDLE_TYPE handle, cons...
6e6b8ef5a30638f303032ffb6d013615e7d8bec6
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-sagemaker/source/model/ModelCardExportJobSummary.cpp
434e25522749d8f54dc167dac98e4c35521585f0
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
3,525
cpp
ModelCardExportJobSummary.cpp
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/sagemaker/model/ModelCardExportJobSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace...
90c2eb5c0afcce24cce695591425b3687ddac026
3624e9f0a026b57ebdafa4e842b93f56e5a8504d
/CodeChef/IPC/IPC15P1B/Problem A/A.cc
5fc7e785503449e237f0f03775bf89262c834687
[ "MIT" ]
permissive
ailyanlu1/Competitive-Programming-2
54109c8644d3ac02715dc4570916b212412c25c0
6c990656178fb0cd33354cbe5508164207012f24
refs/heads/master
2020-03-23T07:48:20.560283
2018-02-15T06:49:49
2018-02-15T06:49:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
287
cc
A.cc
#include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); using namespace std; int main(){ _ int t; cin >> t; while(t--){ int n; cin >> n; for(int i = 0; i < n; i++){ int x; cin >> x; } cout << 1 + (n > 1) << endl; } return 0; }
311f8758dcbbecb2ecc662b740baf355ce9f5fd5
d4989b4c740da67a9f8d3850164c05f9ef57652c
/期末專題/final/task 5.cpp
d2bd5084e02b369f1cbffc38d2d2596a0974a28b
[]
no_license
Davidlee92605/pikachu_volleyball
4a3e920343306ba8cacb889886fcd8e9b7bde204
c64777c8ae9af679b8189de66e7d821151366521
refs/heads/master
2020-07-27T07:33:38.520620
2019-09-17T09:42:55
2019-09-17T09:42:55
209,015,741
0
0
null
null
null
null
UTF-8
C++
false
false
2,956
cpp
task 5.cpp
#include <stdio.h> #include <allegro5/allegro.h> #include <allegro5/allegro_primitives.h> //Our primitive header file #define GAME_TERMINATE 666 ALLEGRO_DISPLAY* display = NULL; ALLEGRO_EVENT_QUEUE *event_queue = NULL; ALLEGRO_EVENT event; const int width = 800; const int height = 600...
18c5dd765af816e8a4dd62fd2c9c123491b88c3f
5b5dadd0691c98b6bc6640a842493bef5bf091a2
/praktikum_2.5.ino
e4486286ed706d1ecaa94d4582bdfc30f6831969
[]
no_license
andikris/praktikum-mikrokontroller-1
4de63f3528cfe110acc2ada8820e749fb0eb74b2
68e69e7ffe6ee738f7d80c3224523ec5c60d0dec
refs/heads/master
2021-01-18T19:08:36.669195
2016-12-19T15:21:18
2016-12-19T15:21:18
74,126,756
0
0
null
null
null
null
UTF-8
C++
false
false
139
ino
praktikum_2.5.ino
void setup() { DDRC=0x00; PORTC=0x01; DDRB=0x10; } void loop() { if(bit_is_clear(PINC,0)){ PORTB=0x10;} else{ PORTB=0x00; } }
ca62718512d6ce1ee0ecc3c29798cb56c88733f4
d4305ba4c19022ed96310d23074c44b9ba6b149d
/src/Dive.hpp
5db74febe7a9afc1478b21dfa52b0d6c3c3b6b0e
[ "MIT" ]
permissive
project-hermes/remora-test-suite
cd27899d1affed8a1088cf1e96d7daca85bb6ad9
794838e382bd26d1f9e78ac4e2d5c039534d1a35
refs/heads/master
2020-07-02T22:47:16.080145
2019-09-29T14:54:21
2019-09-29T14:54:21
201,693,331
0
0
MIT
2019-09-29T14:54:22
2019-08-10T23:23:28
C++
UTF-8
C++
false
false
3,540
hpp
Dive.hpp
#include <mbedtls/md.h> #include <WiFi.h> #include <ArduinoJson.h> #include <Storage/Storage.hpp> #include <Types.hpp> #include <Utils.hpp> using namespace std; struct DiveMetadata { String ID; long startTime; long endTime; int freq; int numSilos; int siloSize; float startLat; float s...
96a0ed5f68b407c828e7905043e64d3139f1409d
85377a916403d13687c67bc00b813adaf465e821
/src/zone.hpp
5ae2b122b8a89e8091c529c26ec3d0e10e1659f6
[]
no_license
Xiphoseer/Assembly
f763d68b5a9b3045c48952a5a0fab60d78b3a785
51a0184fe9c7328f5ffdb5a5361efe53d2ce1b28
refs/heads/master
2021-07-07T18:04:25.274215
2019-04-12T06:37:08
2019-04-12T06:37:08
104,585,156
2
0
null
null
null
null
UTF-8
C++
false
false
2,120
hpp
zone.hpp
#pragma once /*! \file zone.hpp * \brief Zone manipulation * * Utilities to edit a zone / game world */ #include <string> #include <vector> #include "types.hpp" //! Worlds within the game namespace assembly::zone { using namespace assembly::common; //! Reference to a scene within the zone struct...
86a7cde83dc1f611d2bf1a2623cd586a0d34b90b
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/core/kernels/batching_util/warmup.cc
e0b0da335ec9c94a2ce04777092fd755c03c2d8c
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
C++
false
false
2,807
cc
warmup.cc
/* Copyright 2023 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
d836d8af6b1597aa402621fe68ef15903cb30fe1
89557076bc98d1ec7bd6e027f194ea32274db125
/src/Expression.cpp
ef3cd7a7a70c4807ee38f6371dc0cfeec631d7ef
[]
no_license
AcId9381/Calculator
86d372fe9d8239aed8a91688ff64cb761c7c2b01
665a6b6f1f03dede0fbf438506b114d23735a5a5
refs/heads/master
2022-03-31T17:32:33.849661
2020-01-17T14:26:07
2020-01-17T14:26:07
234,564,243
0
0
null
null
null
null
UTF-8
C++
false
false
1,767
cpp
Expression.cpp
#include "Expression.hpp" #include "ExpressionVisitor.hpp" #include <string> namespace Calculator { /* Expression */ Expression::~Expression() { //dtor } /* BinOpExpr */ BinOpExpr::BinOpExpr(Expression* lhs, Expression* rhs) : Lhs(lhs), Rhs(rhs) { //ctor } BinOpExpr::BinOpExpr(const BinOpExpr& expr) ...
0f0a069d44ede1a1959c3479e7f9c0a07dfd0d29
e582bc4299a0460f68a5adb2b945ab2e06246693
/1 - Introduction to C++/exercises/2 - Pun.cpp
749b30633e9b55da9bf33ecbfa63e4fb998c0db3
[ "BSL-1.0" ]
permissive
korehyt/CXX101
6e9f4e3624a9758343166d9c72d283057ca92e73
8b560285774606b3cab4cee1371090f813bfccef
refs/heads/main
2023-08-10T21:00:22.042231
2021-09-12T16:20:32
2021-09-12T16:20:32
405,687,526
0
0
null
null
null
null
UTF-8
C++
false
false
1,230
cpp
2 - Pun.cpp
#include <iostream> // Include the header <iostream> so that we may write on the screen int main(int argc, const char* argv[]) { // Declare the main function, this is the start point for our code ...
c325a0656d7574e3a58dd5b5bf576d7002b7db16
226af9a9f250a9d55545a71829b29adc1b9e33b4
/queue_array.h
6e31cb4c561a24fbce72f4aba3d077b0ef51dde5
[]
no_license
bLACKZU/CPP
db2682441ba42005277358cc352b5bea33d13f4e
aee5fd30b4f6657b5d915ddf34b8170dfa9e8e1d
refs/heads/master
2021-01-25T12:36:41.926093
2019-10-21T22:03:26
2019-10-21T22:03:26
123,484,170
1
0
null
null
null
null
UTF-8
C++
false
false
393
h
queue_array.h
//Queue.h - Queue class interface #ifndef QUEUE_H_ #define QUEUE_H_ class Queue { public: int cap; int *arr; int floor; int top; Queue(const int &c) { cap = c; arr = new int[cap]; floor = -1; top = -1; } bool isEmpty() const; bool enQueue(const int&); int deQueue(); ...
4900636cd6ddf95695ae5459d7e7d5c5aa3ef5d8
2b6cf0876f2d73bd66efc65f9454da00dea7688b
/Source/SatelliteImpl.hpp
b18c8300c759f12d488aed82a2028b689ad8471e
[]
no_license
BachelorDegree/Satellite
12e4eb34905e0d84c4ce7d2da84e48dd3af216ef
97d6ced414d246869f5738a08c05568ca0d61739
refs/heads/master
2022-04-15T07:03:29.620631
2020-03-29T07:46:07
2020-03-29T07:46:07
240,658,187
0
0
null
null
null
null
UTF-8
C++
false
false
881
hpp
SatelliteImpl.hpp
#pragma once #include "coredeps/satellite.pb.h" #include "coredeps/satellite.grpc.pb.h" class SatelliteInternal; class SatelliteImpl final : public Satellite::Service { public: SatelliteImpl(void); ~SatelliteImpl(void); ::grpc::Status Heartbeat(::grpc::ServerContext* context, const ::HeartbeatRequest* req...
4e2a4c706006fc9332d6a3fab7a1fad98f6fbd28
f72904be589497ede4577b98c19008e750e046ba
/ml-prims/src/linalg/gemv.h
b2edb2ff0864b773935188ffab327fc693e34c9c
[ "Apache-2.0" ]
permissive
kkraus14/cuml
8cb27da6a001b3eed603cf73c3b0c8b6f08a4414
87c3f51640d0b4c3a5764ce38387bf94178127bf
refs/heads/master
2021-06-23T14:06:51.735265
2019-02-05T22:28:59
2019-02-05T22:28:59
175,876,179
0
0
null
2019-03-15T18:59:59
2019-03-15T18:59:59
null
UTF-8
C++
false
false
1,770
h
gemv.h
/* * Copyright (c) 2018, NVIDIA 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
46fb232738f7fdd43592d05eb986b3d18fee9dd7
05a9e0bb7e33099f94dfc8af53b4837bc5c9d287
/cpp/ext_example/libpython/test.cpp
855a6e333a8a277e017640f7ce98262b7d451cfc
[]
no_license
HiroIshida/snippets
999c09efadae80397cb82a424328bb1dbda4915f
f64dcd793184be64682b55bdaee7392fd97a0916
refs/heads/master
2023-09-01T08:18:42.523625
2023-09-01T04:08:20
2023-09-01T04:08:20
207,662,767
7
2
null
2022-08-01T23:20:42
2019-09-10T21:04:01
C++
UTF-8
C++
false
false
1,316
cpp
test.cpp
#include <stdio.h> #include <Python.h> #include <string> #include <iostream> using namespace std; int main() { PyObject* pInt; Py_Initialize(); string site_package_path = "/home/hiro/.local/lib/python2.7/site-packages"; PySys_SetPath("/home/hiro/.local/lib/python2.7/site-packages"); PyObject* module = PyImp...
16cb2fd4e9c4501816659a6f6425abc8bef48828
634120df190b6262fccf699ac02538360fd9012d
/Develop/mdk/RealSpace3/Todo/REnvironmentSceneNode.cpp
a1998f104fe1c7642a90c59d34ad8663a0f42cbb
[]
no_license
ktj007/Raiderz_Public
c906830cca5c644be384e68da205ee8abeb31369
a71421614ef5711740d154c961cbb3ba2a03f266
refs/heads/master
2021-06-08T03:37:10.065320
2016-11-28T07:50:57
2016-11-28T07:50:57
74,959,309
6
4
null
2016-11-28T09:53:49
2016-11-28T09:53:49
null
UHC
C++
false
false
19,245
cpp
REnvironmentSceneNode.cpp
#include "stdafx.h" #include "RDevice.h" #include "REnvironmentSceneNode.h" #include "RWaterPassRenderer.h" #include "RWheatherEffect.h" #include "RXMLTemplate.h" namespace rs3 { ////////////////////////////////////////////////////////////////////////// // // REnvironmentSceneNode enum converter // /////////////////...
0d8008f5d8d9db79a7d80a4befa342f7bc469ff9
3d93e3582030bdc568d02b417839d44391e0acf7
/RemoteControl/RemoteControl/CloseCommand.cpp
de4593d87f2d85770c55f6ce1093ffde87584d6d
[]
no_license
Djon/SDP3_UE8
307754dce640da43db6700cc9bd16bff6023077f
fbd2b4a799d0387f071cf21d344424312379a6e5
refs/heads/master
2020-04-08T14:05:22.237809
2013-01-15T14:28:37
2013-01-15T14:28:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
689
cpp
CloseCommand.cpp
/////////////////////////////////////////////////////////////////////////// // Workfile : CloseCommand.cpp // Author : Reinhard Penn, Bernhard Selymes // Date : 11.01.2012 // Description : Implementation of class CloseCommand /////////////////////////////////////////////////////////////////////////// #include <...
5e1bae3ae25d0c58badecbe0c9bb2f90976b11ce
cee179ac9c79c15109cddfc83ba81bb971eb1b7e
/BES_Beta/vtkMAF/vtkMAFLargeImageData.h
7b66241df0c015276d8b9745c32d3e6bfecd9f75
[]
no_license
besoft/MAF2Medical
8f88ea90a8091d99c70412ce6bca2cc988d6dfe4
8fed46786e9b34e7ff4871d2f11728abd69d9541
refs/heads/master
2021-01-15T22:29:48.224711
2019-07-31T13:57:22
2019-07-31T13:57:22
41,854,951
0
3
null
2015-09-03T10:52:01
2015-09-03T10:52:00
null
UTF-8
C++
false
false
13,140
h
vtkMAFLargeImageData.h
/*========================================================================= Program: Multimod Application Framework RELOADED Module: $RCSfile: vtkMAFLargeImageData.h,v $ Language: C++ Date: $Date: 2011-05-26 08:51:01 $ Version: $Revision: 1.1.2.4 $ Authors: Josef Kohout (Josef.Kohout *AT* beds.ac.uk) ...
8198ea27bccf58c81bc431348d09fc2ae74f93f0
7741a24bf07339f7250ddabed3ac260c133e9a27
/Shape/square.cpp
267c4fa3a0a92aca688e315b6e6fd3846de71049
[]
no_license
Kinxil/VectDraw
86242f723ac996e78e7d0d4dd4362b1ea61cb8ce
9b7fb76e403d5e0da5dde2377ae89bd1617b112d
refs/heads/master
2016-08-12T19:14:17.974959
2016-05-03T14:03:36
2016-05-03T14:03:36
55,506,400
0
0
null
null
null
null
UTF-8
C++
false
false
189
cpp
square.cpp
#include "square.h" Square::Square(int X, int Y, RGB color, int trans, int Length):Rectangle(X,Y,color,trans,Length,Length){ //Does nothing but using Width=Length } Square::~Square(){}
9f51b902c1546467179fa46b15fc6a407baeca85
2f852b111938cd818d1f218cd0ebaa852679f5c7
/inc/color_palette.h
9d3c76b64411334b9aee0f16e9d6dcf1664bd526
[]
no_license
Tomdein/cpp-I-project
75609f16603de85649c714a8ed4798849bca71b0
bf389f845296c533dd534fd9efade65df5946ce2
refs/heads/master
2023-05-02T23:35:30.633530
2021-05-16T21:48:21
2021-05-16T21:48:21
356,337,747
0
0
null
null
null
null
UTF-8
C++
false
false
168
h
color_palette.h
#ifndef PAINT_INC_COLOR_PALETTE_H_ #define PAINT_INC_COLOR_PALETTE_H_ namespace paint { class ColorPalette { }; } #endif // PAINT_INC_COLOR_PALETTE_H_
1547adabaf75bdb84e808551e6d78d615996bcb3
be17a327e25658903f7ec766b6ddec8207703855
/eg_utils.h
df945345bd52462e671a3f0ff7550cb919a1c2c5
[]
no_license
RISCuinho/EquipoGraph_LIB
44dfe0ed54461815b3343b18d2caebb1509a5c5d
310b5ffb1efdf80694420cffd0dc666194633f25
refs/heads/main
2023-07-18T09:37:27.133519
2021-09-07T21:10:07
2021-09-07T21:11:15
402,257,991
0
0
null
null
null
null
UTF-8
C++
false
false
213
h
eg_utils.h
#ifndef UTILS_H #define UTILS_H #include <stdexcept> namespace eg_utils { class NullPointer : public std::runtime_error { public: NullPointer() : std::runtime_error("MyException") { } }; } #endif // UTILS_H
22a600ff0f60d5c57e7ed2896f0c8ddaedb1e452
c3a78d39b996a6860a8a2076f50d5523e3ad9ed0
/Algorithm/Homework/2/C.cpp
9719e946fafee852141774ad3d9278793e436e31
[]
no_license
BanSheeGun/Learning
61bfc0c79a2a04e4c2d8dccb063a007463fbe25f
cbb785eec763f0d15406e6993febf8c16159140d
refs/heads/master
2021-01-17T14:09:48.763244
2018-04-02T05:39:29
2018-04-02T05:39:29
47,012,547
0
0
null
null
null
null
UTF-8
C++
false
false
618
cpp
C.cpp
#include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<algorithm> using namespace std; typedef long long ll; const ll mod = 1e9 + 7; bool f[1000000]; int c, d, i, j, ans, now; int main() { scanf("%d%d", &c, &d); memset(f, 0, sizeof(f)); f[1] = 1; for (i = 2; i <= d; ++i) ...
132408885f75e8a40b0f4ea9c497342073d408b6
e94caa5e0894eb25ff09ad75aa104e484d9f0582
/data/s30l/mp2/cp_corrected/20/AB/cc-pVQZ/2_ghosts/cbas_mp2/restart.cc
6dd50a8da7a2af525c343189c32bacc56e590290
[]
no_license
bdnguye2/divergence_mbpt_noncovalent
d74e5d755497509026e4ac0213ed66f3ca296908
f29b8c75ba2f1c281a9b81979d2a66d2fd48e09c
refs/heads/master
2022-04-14T14:09:08.951134
2020-04-04T10:49:03
2020-04-04T10:49:03
240,377,466
0
0
null
null
null
null
UTF-8
C++
false
false
444
cc
restart.cc
$chkbas= 1570771.54340576 $nucrep= 505.009748775714 $chkaux= 13179617163.0805 $chkupro= 1.00000000000000 $chkipro= 2.00000000000000 $chklasrep= 1.00000000000000 $chkisy6= 4.00000000000000 $chkmos= 2036.89531322081 $chkCCVPQ_ISQR= 52880.6863318043 $chkbqia= 55.1374803240782 $chkr0...
e2bdac5d0c7d250c8cbce339687ac4e9d5ed90c4
b25f9a671d57616d359ed1885fc7c96009af0984
/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/HydrodynamicModel.h
8bd509e76a7927a48cd7da04936adfa477d3e7dd
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
AbdelazizAssem/VAUV-simulator
8bb55c6e59307efdf2d27dd8dead348cb354e486
1ef4078de239a05fbdb050cc64e735897a31b3b7
refs/heads/main
2023-04-03T23:45:36.803280
2021-04-11T19:02:27
2021-04-11T19:02:27
356,694,933
0
0
Apache-2.0
2021-04-10T21:07:56
2021-04-10T21:07:56
null
UTF-8
C++
false
false
14,549
h
HydrodynamicModel.h
// Copyright (c) 2020 The Plankton Authors. // All rights reserved. // // This source code is derived from UUV Simulator // (https://github.com/uuvsimulator/uuv_simulator) // Copyright (c) 2016-2019 The UUV Simulator Authors // licensed under the Apache license, Version 2.0 // cf. 3rd-party-licenses.txt file in the roo...
bc0a0c8c115fdf85c25745c5a0994c6adf31c021
c085c6837f31aaaa049da89bd5486b2141d63634
/cpp/leetcode/leetcode_77.cpp
57396ddf902c6ee56a320b3599f955c7ed50b924
[]
no_license
shenhui0509/leetcode
64d474babac54b38382839dc9d6142412a342c3b
caf09607748d804947e92a4368b753eb13e54ccc
refs/heads/master
2021-01-21T13:18:27.799003
2016-05-18T12:05:56
2016-05-18T12:05:56
48,417,523
1
1
null
2016-04-11T15:14:46
2015-12-22T07:35:29
C++
UTF-8
C++
false
false
719
cpp
leetcode_77.cpp
#include <bits/stdc++.h> using namespace std; void dfs(int n, int k, int cur, int num, vector<vector<int>>& ret, vector<int>& tmp){ if(num == k){ ret.push_back(tmp); return; } for(int i = cur; i < n; i++){ tmp.push_back(i+1); dfs(n,k,i+1,num+1,ret,tmp); tmp.pop_back(...
bd760d4138f785893740720b0af6c0b1f447cd06
020989c6cd09856a37b68d9c501de12b19d8a24f
/src/Tiny/Core/Resource/ResourceManager.h
156a4b1172319eeb0bd29fc9b63a1ddfbf64b9dc
[]
no_license
SunMouRen520/Tiny
9a6a1e76ffb25a9f2f11f5b28a28869727e36800
0d36cc934c27d41b83f09143390325efeec86aeb
refs/heads/master
2022-01-07T00:19:03.457265
2019-07-04T07:43:06
2019-07-04T07:43:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,304
h
ResourceManager.h
#ifndef TINY_CORE_RESOURCEMANAGER_H #define TINY_CORE_RESOURCEMANAGER_H #include <string> #include <unordered_map> #include "Tiny/Graphics/Texture/ImageData.h" #include "Tiny/Graphics/Shader/Shader.h" #include "Tiny/Graphics/Texture/TextureData.h" namespace Tiny { class ResourceLoader{ public: static ResourceLoad...
f89387216167e7c27b474ba250cb48cfd22f5bd8
2f04b5c9f45f0cae96de6820b8bcc67e399fb5f4
/Lecture-24/CoinsExchange.cpp
985d6f12ba651ec25b18586c44e49951d081e531
[]
no_license
sahil6699/Nagarro_Bootcamp_Jan20
15548e5be6730bbf5d68b7e34cdacb6a4e0a95d6
232e995e8f1a984a970afa6fb49cd2a91462a148
refs/heads/master
2022-04-13T04:01:39.652428
2020-04-09T15:12:20
2020-04-09T15:12:20
269,043,249
1
0
null
2020-06-03T09:17:26
2020-06-03T09:17:25
null
UTF-8
C++
false
false
1,551
cpp
CoinsExchange.cpp
// CoinsExchange #include <iostream> using namespace std; // int CoinsExchange(int amount,int *coins,int n){ // if(amount == 0){ // return 0; // } // int min_coins = INT_MAX; // for(int i=0;i<n;i++){ // int chotiAmountCoins = INT_MAX; // if(amount>=coins[i]){ // chotiAmountCoins = CoinsExchange(amount-coi...
db75029350e5e6ce18e9f93d0987dd4ca3e15912
f367dd2773935f30d2fd4bcace4c35bc14e234f0
/ShootingGameFramework/ShootingGame/src/canTouch/GameObject/TestObject/PlayerBullet/PlayerBulletScript.cpp
92c49ecfa2c30f27410feaab34dcfc783d52d24f
[]
no_license
TAKAYA888/PUTCORE
a932526c1ba8af18f5b0e1bd2619b17540f49499
394a2939480f9e27acd3cd548478affa74435fca
refs/heads/master
2020-06-29T17:37:16.913396
2019-10-18T09:25:04
2019-10-18T09:25:04
200,579,070
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,019
cpp
PlayerBulletScript.cpp
#include "PlayerBulletScript.h" PlayerBulletScript::PlayerBulletScript() { } // 毎フレーム呼ばれる void PlayerBulletScript::update() { } // 衝突開始で呼ばれる void PlayerBulletScript::onCollisionEnter(GameObjectPtr other) { // 衝突相手のタグが「GAME_OBJECT_TAG_ENEMY」だったら if (other.lock()->getTag() == GAME_OBJECT_TAG_ENEMY) { // 自分を殺す g...
97e67a5f8f201de211f7133790806db861d25c21
6ce4add532471bb49d199ea632ed4af377735e38
/blif_solve_lib/blif_factors.cpp
b0e6d9f0f088a1358e7fa609ce66a6b1f40e4dcc
[ "MIT" ]
permissive
appu226/FactorGraph
398688f188876eba27a67f327f97e8f0002f856d
b7cf6025339247b0d89740540a813097ca32774e
refs/heads/master
2023-08-17T15:07:21.512438
2023-06-18T17:22:11
2023-06-18T17:22:11
164,322,621
0
1
MIT
2023-02-12T21:49:24
2019-01-06T15:59:51
C++
UTF-8
C++
false
false
10,653
cpp
blif_factors.cpp
/* Copyright 2019 Parakram Majumdar 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, merge, publish, distribute, ...
628f55bcc135b8d3b0677e48abd5bdcd75d57c16
474c12bc494a525de4ea4c7082ac58c85bb535df
/Closed_Loop_PID.h
5243718159037e0760e5419af72026a746b32a73
[]
no_license
ee3579-group/EE3579-Group-Project
f40773fc16ee3e9b6578e1f24cf1bdf7b41bb341
abe3701c3f48fca0f5b832e1191810f32882c247
refs/heads/master
2020-04-24T09:53:15.451044
2019-03-05T20:32:05
2019-03-05T20:32:05
171,876,055
0
0
null
null
null
null
UTF-8
C++
false
false
5,509
h
Closed_Loop_PID.h
#ifndef Closed_Loop_PID_H #define Closed_Loop_PID_H #include <Arduino.h> class PID { protected: double ref_Kp; //P from Input double ref_Ki; //I from Input double ref_Kd; //D from Input double ref_contr_inter_time_ms; //Refference T...
dcfaab412811087931ecf7bc618e32106815098d
4d1c9b550309f1c19cdebcdfd45b09131d762405
/ants/src/digging.cpp
0b6a25c1b3390b6971691cd175bfeb50901a5349
[]
no_license
lheckemann/featherkit-showcase
28cbe4fd5e65bdc367f20348da311bde0c942d38
c8400365e5de61275bcee0afa8b86331b1ed0c98
refs/heads/master
2021-01-16T18:05:38.317998
2014-06-06T09:40:50
2014-06-06T09:40:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,065
cpp
digging.cpp
#include "digging.h" Digging::Digging(fea::MessageBus& bus) : messageBus(bus) { digging = false; messageBus.addSubscriber<AntPositionMessage>(*this); messageBus.addSubscriber<DiggerAntCreatedMessage>(*this); messageBus.addSubscriber<DirtTextureSetMessage>(*this); dirtTexture = nullptr; ...
fda46c960d98247c42cb999c39eca5c2dfe58e0f
965a63f5207d28042b7ad6075d12828fbcdda8de
/src/MainWidget.h
12decef35727d5fe217150c334618dd8ff3506fd
[]
no_license
ryder1986/QtSwitchManager
369e758f6eec9e9bf33649af86f8c864e9144e19
8cade6e3b043bfb5368ec323bb2dd3fbf505a16d
refs/heads/master
2022-12-07T07:52:53.991561
2020-09-05T07:59:58
2020-09-05T07:59:58
293,017,891
1
1
null
null
null
null
UTF-8
C++
false
false
849
h
MainWidget.h
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include <QTabWidget> #include <QPushButton> #include <QHBoxLayout> #include <QVBoxLayout> #include "TopologyFrame.h" #include "PortFrame.h" #include "DevInfoFrame.h" #include "WarnFrame.h" class MainWidget : public QWidget { Q_OBJECT public: MainWidget(QW...
59f4eeca715938f84ce28fe614a5b8ae94c6ee33
32cddd146a8a211a30282d6bfbd376694c3d815f
/src/io/codec/lz4Codec.h
946aece76079d896445f717340d01f1272c2cd0b
[]
no_license
lwhay/NCores
f9fe935b42e7361c7fddf0399f11da3e9ed48b73
21a50ea018d6e24646adc0ebc4024d4af6fd369d
refs/heads/master
2021-08-15T23:51:55.574050
2020-04-25T11:48:27
2020-04-25T11:48:27
166,794,648
1
0
null
null
null
null
UTF-8
C++
false
false
1,392
h
lz4Codec.h
// // Created by Michael on 2018/12/4. // #pragma once #include <lz4hc.h> #include <lz4.h> class LZ4Codec { const bool SMALL_END = false; size_t _size; size_t _rsize; size_t _csize; char *_buf; char *_cbuf; int _level; LZ4_streamHC_t body = {{0}}; LZ4_streamHC_t *pb = &body; ...
5029bac1b2eeb4291785241d3e5e4ece71959450
f7dc806f341ef5dbb0e11252a4693003a66853d5
/thirdparty/msdfgen/core/render-sdf.h
7f2d270b67347c688b2f98d06a0391f738aee55f
[ "MIT", "OFL-1.1", "JSON", "LicenseRef-scancode-nvidia-2002", "BSD-3-Clause", "Zlib", "MPL-2.0", "CC0-1.0", "BSL-1.0", "Libpng", "Apache-2.0", "LicenseRef-scancode-public-domain", "Unlicense", "LicenseRef-scancode-free-unknown", "CC-BY-4.0", "Bison-exception-2.2", "LicenseRef-scancode...
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
1,230
h
render-sdf.h
#pragma once #include "Vector2.h" #include "BitmapRef.hpp" namespace msdfgen { /// Reconstructs the shape's appearance into output from the distance field sdf. void renderSDF(const BitmapRef<float, 1> &output, const BitmapConstRef<float, 1> &sdf, double pxRange = 0, float midValue = .5f); void renderSDF(const Bitma...
553b495cd58b1a4a467ac488e96eee329f73c1ac
ebe0cffadf5d04495905bbc75fbfd8acee832f6b
/Cameras/Mafia3/InjectableGenericCameraSystem/Globals.h
71b87e5c81be95c9e9d9927e24568b05a29e0a7a
[ "BSD-2-Clause", "LicenseRef-scancode-proprietary-license" ]
permissive
FransBouma/InjectableGenericCameraSystem
f123f31c676879561fc3a3e2d03579adf2c1f7cf
bdd9e237cef6caba38b946b18c36713f69ab09b9
refs/heads/master
2023-08-24T19:17:59.563669
2023-04-27T18:59:08
2023-04-27T18:59:08
75,194,811
718
278
BSD-2-Clause
2020-09-23T19:12:50
2016-11-30T14:30:36
C++
UTF-8
C++
false
false
2,514
h
Globals.h
//////////////////////////////////////////////////////////////////////////////////////////////////////// // Part of Injectable Generic Camera System // Copyright(c) 2017, Frans Bouma // All rights reserved. // https://github.com/FransBouma/InjectableGenericCameraSystem // // Redistribution and use in source and binary ...
4171f8fa5d0f347be5d8491c3670809049cd14ba
ecc36a1cbb256157a1b30f316e833a54267ba4d2
/Examples/IPlugDrumSynth/IPlugDrumSynth.h
68dd5044ea21404c88df8c085770be253cf1fcc1
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wizzie2/iPlug2
7e3e1455166a1504f55e437694a49c2afba4288a
102c82cd1ad3fc760fe250e0fdc5c4c77f71f44e
refs/heads/master
2023-01-04T21:37:27.730335
2020-10-22T13:21:54
2020-10-22T13:21:54
282,632,424
0
0
null
2020-07-26T11:08:01
2020-07-26T11:08:00
null
UTF-8
C++
false
false
1,000
h
IPlugDrumSynth.h
#pragma once #include "IPlugDrumSynth_DSP.h" const int kNumPresets = 1; enum EParams { kParamGain = 0, kParamMultiOuts, kNumParams }; enum ECtrlTags { kCtrlTagPad1 = 0, kCtrlTagPad2, kCtrlTagPad3, kCtrlTagPad4, kCtrlTagMeter, kNumCtrlTags }; using namespace iplug; using namespace igraphics; class IPlugDr...
e30762a0964de73568f9903b48b4db12ab31e4a3
6a5efc2e71f1f261a83df18b9ab571284a3851e4
/C++ Projects/Projects/proj2_Summer/Word.h
8f09711afe15f7ad728e4def0d4356bd259f9834
[]
no_license
blakeaw6/Coding-Projects
676292d378352c1be65d07c7c7ce39fad37669ed
e79c3d9ec5b8b929b7aa74abb7ddf352d50e17d8
refs/heads/master
2021-07-05T06:01:12.469954
2021-02-14T21:13:08
2021-02-14T21:13:08
225,695,469
0
0
null
null
null
null
UTF-8
C++
false
false
1,303
h
Word.h
///CMSC 341 - Summer 2020 - Project 2 //File: Word.h //Author: Blake Wishard #ifndef WORD_H #define WORD_H #include <queue> #include <iostream> #include "BinarySearchTree.h" #include <iomanip> using namespace std; class Word { public: //default constructor Word(); //overloaded constructor Word(str...
c51a85acab3e3ab7860ed1637702e91b62267c02
6d1573c1ab917d94705d6208cc2cde868d41e7de
/codeforces/1328c.cpp
00c0de460e8b2abeae39aa87e5aea128f00e9b48
[]
no_license
gourav-kandoria/competitive_programming
f48ffdf7e17611b63204d358f154d7c5c5510483
96bc8259a7bb0e89b2d425ca141e3d746dd0bd81
refs/heads/master
2021-04-02T01:46:40.137083
2020-05-27T20:12:06
2020-05-27T20:12:06
248,225,496
0
0
null
null
null
null
UTF-8
C++
false
false
1,127
cpp
1328c.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int t; cin >> t; while(t--) { ll n; cin >> n; short arr[n]; string str; cin >> str; cout << str << endl; for(ll i=0; i<n; i++) { if(str[i]=='0') arr[i] = 0; if(str[i]...
11594dadd38cb9eaed353ef6ebfa2a2feee28bd8
fdbfbcf4d6a0ef6f3c1b600e7b8037eed0f03f9e
/geometry/make_mesh_for_deformable.h
79db3ff1633ed06d0612d80fbb2180c32e0063c3
[ "BSD-3-Clause" ]
permissive
RobotLocomotion/drake
4529c397f8424145623dd70665531b5e246749a0
3905758e8e99b0f2332461b1cb630907245e0572
refs/heads/master
2023-08-30T21:45:12.782437
2023-08-30T15:59:07
2023-08-30T15:59:07
16,256,144
2,904
1,270
NOASSERTION
2023-09-14T20:51:30
2014-01-26T16:11:05
C++
UTF-8
C++
false
false
1,403
h
make_mesh_for_deformable.h
#pragma once #include <memory> #include <string> #include "drake/geometry/proximity/volume_mesh.h" #include "drake/geometry/shape_specification.h" namespace drake { namespace geometry { namespace internal { /* See Build() function. */ class MeshBuilderForDeformable : public ShapeReifier { public: MeshBuilderForD...
1d4b799c830260d23e6fba46f36b1bc656304023
6c55f31276bb32c0918240851e8a609e74ae87c7
/Codechef/Ap/C.cpp
bee9576a06fbfa31fa1b85366df4421ce7f6bd69
[]
no_license
sspeedy99/APS-2020
73cd185a7598ea9f287fa624a5dc484ac2ebab3b
d8bf48562588c694a53ddc5ecb996439e04bb9eb
refs/heads/master
2022-07-08T21:56:53.336294
2022-07-04T12:10:20
2022-07-04T12:10:20
236,193,172
2
0
null
null
null
null
UTF-8
C++
false
false
1,039
cpp
C.cpp
#include <bits/stdc++.h> using namespace std; using vi = vector <int> ; #define IOS ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); #define endl "\n" #define ll long long #define mp make_pair #define pb push_back #define fi first #define se second #define sz(x) (int)((x).size()) #define fill(x, y) me...
f40a21a4c7a1aef6cff264f28e102e39b934b2a8
76826d2d1d16e079dd1879e1efc08c38c95ca56f
/SPOJ/TOE1.cpp
420fc9ac3f2f148fc04d8839d90a9b34aa148ad8
[]
no_license
zaurbek/CompetitiveProgramming
27d183be4abde3f09ec515d4fa56c3f601fb80d5
367932a0b37963a9662e005dd336cd629a0cc253
refs/heads/master
2021-09-05T14:06:58.386869
2018-01-28T15:19:27
2018-01-28T15:19:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,492
cpp
TOE1.cpp
#include <bits/stdc++.h> using namespace std; #define FOR(i) for(int i=0; i<3; ++i) #define x first #define y second typedef vector<int> vi; typedef vector<vi> vvi; bool no_turns(const vvi &a) { FOR(i) { int sum = 0; FOR(j) { sum+=a[i][j]; } if(sum==3||sum==-3) return 1; } FOR(j) { int sum = 0; FOR(i)...
926dfa57bf64e39fbb38192f0688e561b7d86fc4
51c9cc5ee212e8cb289bc5c89f752c8f9bb6da3f
/ConsoleEngine C++ 17092019/TetrominoController.h
69233e2ef1bcbe4405649852027d24806061c978
[]
no_license
jonash871j/Tetris-Second-Attempt
6c93bbc7b892fcfafbf2f1545d89260c8dc2e920
e4466d640889f625a63334c996fdf1363f2dfc62
refs/heads/master
2023-01-14T11:19:29.052351
2020-11-02T09:14:01
2020-11-02T09:14:01
309,319,533
0
0
null
null
null
null
UTF-8
C++
false
false
1,107
h
TetrominoController.h
#pragma once #include "TetrisMap.h" #include "Tetromino.h" #include "Input.h" class TetrominoController : private Tetromino { private: bool storedABrick = false; bool warpBrick = false; bool gameOver = false; int xPos, yPos; int hsp, vsp, rsp; int score = 0; byte lineCount = 0; byte currentIndex = 0, nextIndex...
01740eb644904bb465566aaec28e1a7c69264a1a
e5e44fd85008a431949d6dc12885c0c016576c0f
/strategy.h
419e5e9aa77afba97a064f553c285874d1377673
[]
no_license
DanieldeNobrega/COS214-Group-project
6739a49589b1ec448d6a6fce797cd1dd112fc4a5
629341b2a02cf822495a030328cd9327fe387bfd
refs/heads/main
2023-09-06T10:42:34.581892
2021-11-22T17:30:00
2021-11-22T17:30:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,427
h
strategy.h
#ifndef __STRATEGY_H__ #define __STRATEGY_H__ #include <iostream> #include "satellite.h" #include <vector> using namespace std; class strategy { private: bool launched; public: /// This is the strategy Constructor. /// /// strategy(); /// This is the strategy deconstru...
3e5e5a1eb063b9ab4c6bf80b80d57ae65ce33584
7101c9ed3aef77f9fe39097f8446b0c0d1af2c3e
/TressFX11_v2.0/TressFX11/Math/Transform.h
1165b3ac84d7e602d02aefa526798cac0cebfe3d
[]
no_license
Michael-Zp/MasterThesis
888f4712b7b9ca497b785db1d48a047d83be9ba8
39565c911c60fbfd493f6613c12f721eb7d9d95f
refs/heads/master
2021-07-09T03:59:42.133478
2020-09-24T22:31:30
2020-09-24T22:31:30
195,367,013
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,017
h
Transform.h
//-------------------------------------------------------------------------------------- // File: Transform.h // // Copyright © AMD Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #pragma once #include "Vector3D.h" #include "Quaternion.h" cl...
aee9d09098770fa655a0e16640a137a3fcc5b38a
18576af81ff3b7382e270442bc2a402fb0646734
/lottie_qt/Classes/RenderSystem/InterpolatorNodes/LOTColorInterpolator.h
1076933f4af2727e5ba2ddeeaaa4024a33601d2b
[ "Apache-2.0" ]
permissive
Conntac/lottie-qt
58da3fe102172b2ff2acd5c3fbc611ad4b6e3061
90a80263880c5408d2933527b7c9242a39954d5f
refs/heads/master
2020-04-16T03:22:44.356740
2019-01-11T11:17:36
2019-01-11T11:17:36
165,229,983
5
2
null
null
null
null
UTF-8
C++
false
false
638
h
LOTColorInterpolator.h
// // LOTColorInterpolator.h // Lottie // // Created by brandon_withrow on 7/13/17. // Copyright © 2017 Airbnb. All rights reserved. // #pragma once #include "LOTValueInterpolator.h" #include "LOTValueDelegate.h" class LOTColorInterpolator : public LOTValueInterpolator { public: LOTColorInterpolator(const QL...
656c52b82f0a861c9d1bd248dcc08285c570f065
8943a4aca28447d423a80b52d4524750e71b6bca
/SmallCar.cpp
3994521b92bf67c7cd6dc4111ef209b7029e2fda
[]
no_license
Zebsi235/CarRental
dc7168e82c55bbdb9440902ca319f213f94614d0
ba24beae8cd9279182b53dd773cbb10d979b7716
refs/heads/master
2023-02-02T00:18:36.654621
2020-12-20T18:02:40
2020-12-20T18:02:40
322,876,200
0
0
null
null
null
null
UTF-8
C++
false
false
973
cpp
SmallCar.cpp
//////////////////////////////// // Workfile : SmallCar.cpp // Date : 19.12.2020 // Name : Michael Enzelsberger // Description : Concrete Component representing small cars. //////////////////////////////// #include "SmallCar.h" using namespace std; static size_t const price = 100; //ctor for setting manufacturer and...
78728ccb0b34672f9bd273eabd0ac2a25c5d255d
02ae1489bfdc15f8fb3a79615092baefe693050e
/Kinect For SLR/kinectUI/kinectUI/simpleDTW.h
00d3bcb9a9682f00207de6f961c18f2858d24b78
[]
no_license
minimon/kinectHR
c312a758a5418697acd4f275d48f8cc079cc9e91
7dd745b2cebc136baac73014da97b72819874828
refs/heads/master
2020-05-30T12:55:17.426376
2014-09-21T08:04:38
2014-09-21T08:04:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
847
h
simpleDTW.h
#pragma once #include <iostream> #include <cmath> #include <vector> #include <fstream> #include <limits> #include <atlstr.h> #include <atltypes.h> using namespace std; class SimpleDTW { private: int *x; int *y; vector<int> a; vector<int> b; vector<CPoint> path; int **distance; int **f; int initGap; int...
526074c012651dec468e3fd0ca0ba4003bcf2140
470fae08316b55246ab01675ac5013febfb13eee
/src/server/game/Server/Packets/CombatLogPacketsCommon.h
e48dc358606c8a68c1cac6bfeafc44241f049d1a
[]
no_license
adde13372/shadowcore
8db6fb6ccc99821e6bd40237a0c284ce7cf543c2
aa87944193ce02f6e99f7b35eceac5023abfca1b
refs/heads/main
2023-04-01T07:38:39.359558
2021-04-03T07:54:17
2021-04-03T07:54:17
354,320,611
4
8
null
2021-04-03T15:02:49
2021-04-03T15:02:49
null
UTF-8
C++
false
false
4,702
h
CombatLogPacketsCommon.h
/* * Copyright 2021 ShadowCore * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed...
f91469ba63a937c4e70c4f0678c123170c12c303
b8febae46924ab2412a190a2df54556c82610b08
/zad.1.cpp.cpp
5b09aefa5286c2d7e0bbb35d597d1fc0a0cc2034
[]
no_license
MilaKicheva/Homework3
7dc20914e101efdc27c7f9983d242eccb7c26f89
b102d4cf7e8449a339e990b00ac1beb2a79b7c63
refs/heads/master
2021-05-11T01:27:19.926627
2018-01-21T11:51:07
2018-01-21T11:51:07
118,330,046
0
0
null
null
null
null
UTF-8
C++
false
false
339
cpp
zad.1.cpp.cpp
#include<iostream> using namespace std; #include<string> char toUpper(char letter) { if ( (letter >='a') && (letter <='z')) return letter - 'a' + 'A' ; else return letter; } int main () { char letter=0; cin>>letter; toUpper(letter); cout<<toUpper(letter)<<endl...
90c88501f28ce46c1654af8eb12434e9a0169d91
cae7b95a4beb96b2c2803029f06dccc8e5072884
/src/model/ResourceManager.cpp
5bfabfdb97d171b4fda99ba4750185297448de29
[]
no_license
thomond/GameEngine
ddb3b7bf7d656181fb00179ed036e8b28b6ad081
912e1c8542c8ce1097fdd86f551c688fb1ee6949
refs/heads/master
2020-05-24T04:02:34.685601
2019-09-24T10:55:10
2019-09-24T10:55:10
187,084,399
0
0
null
null
null
null
UTF-8
C++
false
false
1,414
cpp
ResourceManager.cpp
#include "ResourceManager.h" void ResourceManager::init(SDL_Renderer * renderer, std::string filename) { if(!mTMXConfig.load(filename)) SDL_LogError("%s couldn' be loaded. ",filename.c_str()); loadTileLayers(); loadTilesets(); for(auto& tileset : mTilesets){ tileset.tilemap = Tex...
10dd92d596df53fc9e3b3e39d2cba4afc7cc791c
84f3640ec6c4cc71db4ae2f726132bc3e7a06dde
/src/Win32App/Win32AppCliCommands.cpp
863508cdc20d40542940b22c8a2a3d59dbf6c37e
[ "MIT" ]
permissive
dbc60/Win32App
a1b77779ea7cc3734bd7aefdec10bde0898667bc
1ca6fd9b4716f61ec3cdfdb21d05f9a59b7563c8
refs/heads/master
2020-12-03T00:27:33.301276
2017-07-13T10:56:43
2017-07-13T10:56:43
96,032,739
0
0
null
null
null
null
UTF-8
C++
false
false
59
cpp
Win32AppCliCommands.cpp
#include "Win32AppCliCommands.h" HelpCommand helpCommand;
3a6c28b98619a31df2fc87daf4ec1749ff4a851f
ab81ae0e5c03d5518d535f4aa2e3437081e351af
/OCCT.Foundation.NetHost/DataExchange/TKIGES/IGESGeom/IGESGeom_ToolBSplineCurve.cxx
961ab8ac9b3f84e80ceea23191d3d42a1a13b84e
[]
no_license
sclshu3714/MODELWORX.CORE
4f9d408e88e68ab9afd8644027392dc52469b804
966940b110f36509e58921d39e8c16b069e167fa
refs/heads/master
2023-03-05T23:15:43.308268
2021-02-11T12:05:41
2021-02-11T12:05:41
299,492,644
1
1
null
null
null
null
UTF-8
C++
false
false
14,907
cxx
IGESGeom_ToolBSplineCurve.cxx
// Created by: CKY / Contract Toubro-Larsen // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser Gene...
80b21305e19b720ac0f5bb763bbeceec12d7cdcc
104d5cbcb9a7cb20e2152d2517e1347d0ff4dfc6
/algo/subgraph.cpp
1c3057578c00f759de8940256bc1885b430ddc72
[]
no_license
sdyy1990/RBGameCounter
a95b95c452da55851b5ef7928e98b527919ce9b3
33cf768e43e8ca2629beccff8014a897a102af91
refs/heads/master
2021-01-20T02:47:47.192149
2013-06-07T09:26:40
2013-06-07T09:26:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,799
cpp
subgraph.cpp
template<typename T> string toString(vector<T> VT) { stringstream ss; string s; for (typename vector<T>::iterator iV = VT.begin(); iV!=VT.end(); iV++) ss << *iV<<"."; ss >> s; return s; } class SubGraph { public: int n,e,mgameid; map<int,int> subid; set< pair<int,int> > SPI; set<int> innode...
38102d0746a61b8469e64b1f587413d487cbea87
8483830175b98ba2915d7bf90bed728bb6a4ed75
/Examples/include/Aspose.Pdf.Cpp/InteractiveFeatures/Annotations/AnnotationType.h
921ede49f9255eca72b764c372ed40bc0c6b18ac
[ "MIT" ]
permissive
kashifiqb/Aspose.PDF-for-C
83393e3173e2d74540f7ec7904eb91fb23b13550
13d49bba591c5704685820185741e64a462a5bdc
refs/heads/master
2020-08-08T11:15:23.173738
2019-10-09T04:41:03
2019-10-09T04:41:03
213,819,800
0
0
MIT
2019-10-09T04:20:06
2019-10-09T04:20:06
null
UTF-8
C++
false
false
3,418
h
AnnotationType.h
#pragma once // Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved. #include <system/string.h> #include <system/object.h> #include <system/enum.h> #include "aspose_pdf_api_defs.h" namespace Aspose { namespace Pdf { namespace Annotations { /// <summary> /// Enumeration of annotation types. /// </summary>...
e4fb3b5b80f0d35da411a7895ae582d16f9fdf55
296df595800968a55e2f5174543a68d132f8128f
/src/ScriptSystem/detail/UECS_AutoRefl/Entity_AutoRefl.inl
8be754a45ca39a875b2cd3c69d20f09d785d2135
[ "MIT" ]
permissive
Hengle/DustEngine
b4e66b388c10c6cd09bbec0ec3939a60c787c517
7f8bd19939560a6488b4ab03cc3f55ab59968d81
refs/heads/master
2022-12-01T01:41:37.402525
2020-08-09T11:37:38
2020-08-09T11:37:38
286,367,707
0
0
MIT
2020-08-10T03:34:52
2020-08-10T03:34:52
null
UTF-8
C++
false
false
1,339
inl
Entity_AutoRefl.inl
// This file is generated by Ubpa::USRefl::AutoRefl #pragma once #include <USRefl/USRefl.h> template<> struct Ubpa::USRefl::TypeInfo<Ubpa::UECS::Entity> : Ubpa::USRefl::TypeInfoBase<Ubpa::UECS::Entity> { static constexpr AttrList attrs = {}; static constexpr FieldList fields = { Field{"Idx", &Ub...
d140fadff47f372e4df55e476059a262e34b3231
dfb6c1f525908ae85e575babe292c6c54431a947
/Classes/Service/GameDataService.cpp
4d02db22a78f3c09eef23adf4492058cc72f3221
[]
no_license
momons/hateru_cocos2dx
c3fe616ee28b25ae6c00e43dc42da9b67bceaee2
184ebb03f9a03774ee207b6a4efaaf562e31de3a
refs/heads/master
2020-04-15T14:29:40.459659
2019-04-25T12:54:29
2019-04-25T12:54:29
60,107,035
4
1
null
null
null
null
UTF-8
C++
false
false
2,833
cpp
GameDataService.cpp
// // GameDataService.cpp // hateru // // Created by HaraKazunari on 2016/06/04. // // #include "GameDataService.h" #include <mutex> #include "Manager/GameInfoManager.h" #include "Manager/GameMapManager.h" #include "Manager/GameMapChipGroupManager.h" #include "Manager/GameEnemyManager.h" #include "Entity/Game/Ene...
4449013e98b5ad8ec21c93cd4d7c9ae8360e4a77
4e3c4f30415062da425ad3058a0c1fed167e961e
/703.cpp
f3f7eb3f5af44a18093d685ef7491374cbf04a4a
[]
no_license
jing-ge/Jing-leetcode
7f423d94d3983076630f33e7205c0ef6d54c20d8
ae428bd3da52bb5658f3a25fbbd395b24552a735
refs/heads/main
2023-08-22T12:19:12.861091
2021-09-29T03:15:24
2021-09-29T03:15:24
321,316,029
0
0
null
null
null
null
UTF-8
C++
false
false
2,175
cpp
703.cpp
// 703. Kth Largest Element in a Stream // Design a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element. // Implement KthLargest class: // KthLargest(int k, int[] nums) Initializes the object with the integer k and the strea...
71d32785d644d4b66b0abe54bb62f4f16b1e2c67
ce99b399bead6c9a285f07d386d04a4a1c5f6bb7
/Cookbook/4569OS_CodeBundle/Chapter03/Chapter03/AddingTrees/AddingTrees/AddingTreesView.cpp
503bdcb5e3f290957f0876ee0c12f1163c31e6f8
[]
no_license
codediy/OgreDemo
13e97c984499330bbd733f5c7c64212324e428b4
6fb0ad2edde881feda040f5eb8bdf134f6ca9495
refs/heads/master
2020-12-05T21:44:51.348401
2020-01-07T06:13:00
2020-01-07T06:13:00
232,255,494
0
0
null
null
null
null
UTF-8
C++
false
false
7,742
cpp
AddingTreesView.cpp
// AddingTreesView.cpp : implementation of the CAddingTreesView class // #include "stdafx.h" // SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail // and search filter handlers and allows sharing of document code with that project. #ifndef SHARED_HANDLERS #include "AddingTrees.h" #endif ...
d68f72f903b064865ac2fd67c528e431e99b10f2
2257486777137458e9b03231a05e8b44b618ab81
/Src/server/servermap.h
543bd215c7e1717703c18d3b0c2e3dce63abd1cb
[]
no_license
hw233/auengine
68aecddb628a987edff0de20f62c1464aaec02c1
78410de459557f75d6df10e4fc61c4b78b46c41f
refs/heads/master
2021-02-22T14:29:07.909448
2019-03-04T11:16:59
2019-03-04T11:16:59
245,379,407
0
1
null
2020-03-06T09:30:46
2020-03-06T09:30:46
null
UTF-8
C++
false
false
520
h
servermap.h
#ifndef _AUENGINE_SRC_SERVER_SERVERMAP_H_ #define _AUENGINE_SRC_SERVER_SERVERMAP_H_ #include <map> #include "modulebase.h" namespace Au { class ServerMap:public ModuleBase { public: ServerMap(); ~ServerMap(); bool Init(); bool Destroy(); bool Start(); bool ObtainSockFd(int rand_key, unsig...
f0f766a5725342afdc52e2393e6b136c8600067a
88837ef19e08a3b2126f6f6bbfe0358d584c2114
/src/audio.hpp
a68593b7938c020a450506957c883b555c9f1a84
[ "Apache-2.0" ]
permissive
b3hartw/pong-game
08d1a4e108d148128f657a7b79faf0968795da05
4c3b40c82cfbad486e6258a3d088689eb429ac2c
refs/heads/master
2023-08-07T13:55:56.314500
2020-06-12T16:24:40
2020-06-12T16:39:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,425
hpp
audio.hpp
/** * Copyright 2014-2018 Rafael Campos Nunes. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain a * copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
2dc92b079fc6563b880ab3a3b49031fc961f644f
5de94e9d87fffaba092887b4a933dcb1fd97dbd8
/include/fleye/vec2f.h
72530a65aab318bbd910d25cca66de8530984f7f
[]
no_license
carrardt/Fleye
c65354cf9604904e7d8d839419531c551a486d27
8443fef5e346125588c88608ac3848ec1cff01a5
refs/heads/master
2020-05-21T15:08:10.900780
2016-11-06T14:36:33
2016-11-06T14:36:33
48,604,897
1
0
null
null
null
null
UTF-8
C++
false
false
1,023
h
vec2f.h
#ifndef __FLEYE_VEC2F_H #define __FLEYE_VEC2F_H #include <cmath> struct Vec2f { float x,y; inline Vec2f() : x(0.0f) , y(0.0f) {} inline Vec2f(float u, float v) : x(u) , y(v) {} inline Vec2f(const Vec2f& v) : x(v.x) , y(v.y) {} inline Vec2f operator + (Vec2f v) const { return Vec2f(x+v.x,y+v.y); } inline Vec2f...
4c058b3af14e8b93d2deb429fb53ed4cc7a9d8ce
c5fa19606aef542c05a2031b8b7c95a83ab96a1d
/outro.cpp
f9fb112ea74e55fffda99bfce028287dc658eb16
[]
no_license
sandsmark/textonacube
621138b0db6c1290f4aab96ccfd580c39b867728
e9910be48d55eb3cdd7e9b1d96dc7515d414f50a
refs/heads/master
2021-01-01T20:48:13.258607
2016-02-21T16:03:36
2016-02-21T16:03:36
32,103,920
0
0
null
null
null
null
UTF-8
C++
false
false
1,248
cpp
outro.cpp
#include "graphics.h" void Graphics::outroDisplay(suseconds_t cur, suseconds_t diff) { gluLookAt(-5, 5, 5, // Eye 0, 0, 0, // Focus 0.0, 1.0, 0.0); // Up int bass = m_sound.getBass(); m_angleSpeed += bass; m_angleSpeed /= 1.05; if (m_angleSpeed > 1) m_angleSpeed =...
1df2287bb04bed61e269ec06f745f4fb24334ca3
ff7102a351372bc6be2786c651173ed5e9ead171
/formatter.cpp
baa59d575e59fedab3cf7067a345cd8cba5c3699
[]
no_license
mksong76/QAView
6db1fa3e31d448aafdee9110de46580fabaa8646
87b11665befda2de0ffe48df93d2059c444ac2bd
refs/heads/master
2023-07-25T05:44:02.183056
2009-08-30T02:34:24
2009-08-30T02:40:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,575
cpp
formatter.cpp
/** * Text Formatter. * It will reformatting paragraph with UI information ( Font, Width, Height ) * vim:sw=2:et */ #include "formatter.h" #include "parser.h" #include <qfontmetrics.h> #include <stdio.h> #include <qpainter.h> #include "qunicode.h" #include <qfont.h> #include <stdlib.h> #include <qmap.h> struct FLi...
cc8220fcac42d18415b79d9c3eb3935578160d36
5c97d076cadfe6246d6583c8832187fde6746f83
/Labs/BloomFilter_9Hashes_comparison/main.cpp
7bdbdec8f09e949d16e9539beb4a0e0334a06f31
[]
no_license
iiSmiley/CIS-7
e8fe8f1e8b95ba9f09582899b99d62e0d024bc95
3b8f0661ba5a7c2c6990ab60023936e226fd2e6a
refs/heads/master
2023-03-22T01:24:58.322139
2021-03-01T21:17:34
2021-03-01T21:17:34
242,433,718
0
0
null
null
null
null
UTF-8
C++
false
false
1,246
cpp
main.cpp
/* * File: main.cpp * * Author: Omar Alkendi * * Created on April 22, 2020, 4:32 PM * * Purpose: * */ //User Libraries #include "BloomFilter.h" //Global Constants const int N[] = {12,13,14}; const int M = 1; //Number of elements to add to the list const int K = 9; //Number of o...
4de33174ce64f0289615fe6665a1c8478ca9f907
c65a8ad9a145dc109b042eba4604f5ecad477d2e
/CourseNosov/Enemy.h
f41e2b8fb40cdd1b6eede127beff60be04c2da30
[]
no_license
vyalich/Course_Nosov
0ef4fdf262da296f11a65ea1c32d857c4f3a69e4
ee8abee0d82dfc99e96779dbad829f09939f4e83
refs/heads/master
2020-12-05T19:24:52.038713
2020-01-23T08:46:46
2020-01-23T08:46:46
232,222,950
0
0
null
null
null
null
UTF-8
C++
false
false
868
h
Enemy.h
#pragma once #include <SDL.h> #include "Drawer.h" #include "Being.h" #include "Player.h" class Spell; class Enemy: public Being { friend class Spell; protected: bool _mouseover; static double Dist; static Uint16 AggroRNG; static Uint16 FleeRNG; static Uint16 AttackRNG; Uint16 AttackPWR; Uint16 AttackSPD;...
efdb060aa33926d28590f945a7264ef9885ef4b3
ffd643bd88565d6342686bfc5b934d03c7872920
/TALLERPARCIAL2/Taller 3/Matrices4(NOTFINISHED).cpp
1fbf8f9c454a6b1d3d8cf7ee0a9d32fecab6f014
[]
no_license
Mariana0330/Programacion-I
20f11402c6d039f335e44acb1ed499a9ffc54726
99fe26199a832d2cf8476215fb266fae5a128e50
refs/heads/main
2023-01-29T12:40:06.914021
2020-12-01T00:42:16
2020-12-01T00:42:16
317,382,829
0
0
null
null
null
null
UTF-8
C++
false
false
474
cpp
Matrices4(NOTFINISHED).cpp
#include <iostream> using namespace std; /*-Desarrolle un programa que simule un parqueadero, donde cada espacio del parqueadero corresponderá a una posición de una matriz, que contendrá un valor de acuerdo al tipo de vehículo. 0 espacio libre. 1 Moto 2 Auto sedan 5 puestos. 3 Auto de 7 pasajeros. El programa deberá ...
26865d4741b6117c93048ba7cc0813124d986585
b1cca159764e0cedd802239af2fc95543c7e761c
/ext/libgecode3/vendor/gecode-3.7.3/test/int/mm-rel.cpp
fbb253752024d9fca2040ec221c6ee63419c0cfa
[ "MIT", "Apache-2.0" ]
permissive
chef/dep-selector-libgecode
b6b878a1ed4a6c9c6045297e2bfec534cf1a1e8e
76d7245d981c8742dc539be18ec63ad3e9f4a16a
refs/heads/main
2023-09-02T19:15:43.797125
2021-08-24T17:02:02
2021-08-24T17:02:02
18,507,156
8
18
Apache-2.0
2023-08-22T21:15:31
2014-04-07T05:23:13
Ruby
UTF-8
C++
false
false
4,498
cpp
mm-rel.cpp
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2008 * * Last modified: * $Date: 2010-04-08 20:35:31 +1000 (Thu, 08 Apr 2010) $ by $Author: schulte $ * $Revision: 10684 $ * * ...
0438f865b7ba25de1f0d5ee7a313d6ab7bfda618
2c5ca50c729a1d2b75fddb873dc81c2dbaed1b3f
/DGEngine/Inc/Component/collider.h
ee8cf9bdbdf16a526e4a25fc6b8614337ea82072
[]
no_license
kwangminy27/DirectX-Game-Engine
fba60d81bd50f2694521f7c3a9cb70ed56b13626
02c4452b019f18c49204f98bc0840fe8aa2e181d
refs/heads/master
2020-03-29T08:27:03.213339
2018-11-20T11:33:08
2018-11-20T11:33:08
149,711,994
0
0
null
null
null
null
UHC
C++
false
false
3,664
h
collider.h
#pragma once #include "component.h" namespace DG { class Mesh; class Shader; class DG_ENGINE_DLL Collider : public Component { friend class Object; friend class CollisionManager; public: virtual void Initialize() override; virtual bool Collision(Collider* _dest, float _time) = 0; void AddCallback(st...
56f3c3409fc9799b3196f5140246ae214529f2bb
506dc96bb1737c55d5a1f18e1b0ff2a784448e2c
/socket/Client/include/SocketClient.h
ae9d854341f4c34d16e9c00b06cf972fdb3082da
[]
no_license
PHM-araujo/Sockets_communication
3c69977dcc16e8395d7232e6ec8191a3c7f2ecb3
e76af4c4de0ff1add22dc3fa92849e135d96e956
refs/heads/master
2023-07-30T09:44:58.771962
2021-09-20T14:42:30
2021-09-20T14:42:30
404,480,046
0
0
null
null
null
null
UTF-8
C++
false
false
608
h
SocketClient.h
#ifndef SOCKETCLIENT_H #define SOCKETCLIENT_H #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string> class SocketClient{ private: int portNumber, socketClient_fd; struct sockaddr_in addressClient; std::string ip; public: ...
182b85e5aef84b9a85c7aa3ab5d4467567957603
08e683ec513028830f61050fab6dd59055e7cd98
/src/initilization.cpp
568c4bbcd38803f3e9e769e5b05d63eb3a87c4e8
[]
no_license
sidheswar12/Practice_CPP
f50c7241cc7092d3fdfd128d847e95f51df7b003
6a3ae466725e375dce7ee85eb20180796bd8353d
refs/heads/master
2022-11-14T20:06:42.131536
2020-07-08T15:28:33
2020-07-08T15:28:33
256,040,705
1
0
null
2020-07-08T15:27:14
2020-04-15T21:27:47
C++
UTF-8
C++
false
false
1,880
cpp
initilization.cpp
#include<iostream> #include<string> #include<vector> #include<map> using namespace std; class Clss { int x[100]; public: Clss(): x{0,1,2,3} { for(auto i=0;i<4;i++) { cout<<x[i]<<" "; } cout<<endl; } }; class Clss1 { ...
cb18e90e4d0655fecd5d21c2c6e8834ff5224b42
ecd5948fadc8d28ddacd4b859a41409a4fa55e11
/CPPCODE/MTFZMLG.CPP
948fdcf1cc7a2340859fe4a01b20ff70968e5265
[]
no_license
gtraines/fuz-cy-logic
0f06822cdcb51b8363e1f740efd6ef74600adbcc
ccca335fae858624f90b704da9865c0de4021a22
refs/heads/master
2020-03-30T23:59:48.808873
2018-10-05T14:10:44
2018-10-05T14:10:44
151,721,039
0
1
null
null
null
null
UTF-8
C++
false
false
1,198
cpp
MTFZMLG.CPP
/*------------------------------------------------------------* *--------------------Procedure Description--------------------* | mtfzmlg.cpp Earl Cox 04/01/93 Monotonic Reasoning | | In monotonic or proportional fuzzy reasoning the value of | | the model state is implicitly determined by the truth value...
f93f43315f8b7d6d70cdec89727c2683f1442770
1be3496dec31819d4b3e62e43af78942bffcf319
/LazarusEngine/src/Scene.cpp
bc70db93e126a5e3ba2d0f581d3ba91c682b644e
[]
no_license
TomWoodley2/LazarusEngine
89c757d2e8ba02eae159c826ee7f275722cae61b
ecd20be607a0b1200273aef8d39a293baaa61c19
refs/heads/master
2020-04-22T11:07:18.337402
2019-05-03T10:52:22
2019-05-03T10:52:22
170,328,589
1
0
null
null
null
null
UTF-8
C++
false
false
23,119
cpp
Scene.cpp
#include "Scene.h" #include "IEngineCore.h" #include "Model.h" #include "Game.h" #include "TransformComponent.h" #include "ColourComponent.h" #include "ModelComponent.h" #include "CameraComponent.h" #include "ModelManager.h" #include "JSON\json.h" //#include "PlayerCharacter.h" already included in Scene.h #include "...
961b3ea3e8acb7e5ea583d25dd6cb4e55fd027d6
4e4d1d2f6c21aacfa25c6562c8beb06f0dcc50c6
/binaryParsingVersion/FileInputOutput.cc
a2a4fc3915b24c3bd1cbb68ce1be5f15336de27f
[]
no_license
aaeppens/Spring2016ControlFlow
bbf31fff9b022f9872c357d6bbca1df170286ef6
87b8f396e63c7eaaea50ddfbdaeb7536b8532a68
refs/heads/master
2016-08-12T08:40:54.308119
2016-05-06T02:53:34
2016-05-06T02:53:34
54,033,423
1
2
null
2016-04-10T22:40:00
2016-03-16T13:17:54
C++
UTF-8
C++
false
false
2,018
cc
FileInputOutput.cc
#include <vector> #include <string> #include <iostream> #include "FileInputOutput.h" using namespace std; FileInfo::FileInfo(FILE* fileArg, const string& fileNameArg, const int depthArg) : file(fileArg) , fileName(fileNameArg) , depth(depthArg) {} void FileInfo::PrintUsage() { cout << "Usage: test input_fi...
f00786e703f150ff06f4b85d002df91960eab355
1a287ae5ebc0a6f7d55bc36f8deadf8a1a15e078
/assn02/assn02_3.5.cpp
e434c83c6d1d1e766c9e4e6118ef7333e3b8c4d6
[]
no_license
ruddyadam/MIT_CPP
2ff45766d37e0b7b45a268728b3ea2518740a29b
1e6d887a3858c982e9b7ff7fbc7469416a513902
refs/heads/master
2021-01-01T19:47:40.382957
2019-01-28T01:35:38
2019-01-28T01:35:38
98,683,219
0
1
null
2017-07-29T20:41:18
2017-07-28T19:56:53
C++
UTF-8
C++
false
false
300
cpp
assn02_3.5.cpp
#include <iostream> using namespace std; //added namespace int sum(const int x, const int y, const int z); //added prototype, const int z int main(){ cout << sum(1,2,3); //should print 6 return 0; } int sum(const int x, const int y, const int z){//added const in z return x + y + z; }
a215ab415a3185cf0203c39f7d571b2391574b0a
cdd00d4d303e0829bb0c00530a165e1bd20cc7e6
/gcpCbass/util/common/Test/tLogger.cc
939c5a3381d7c9b289e3c48e5096e4aa3dc59184
[]
no_license
chopley/controlCode
fa538a20719989c7d13946d7e273bae153aa91d7
0b40d14797bc6db63ca9ea55115be5217d87dc88
refs/heads/master
2021-01-19T01:34:05.388485
2016-07-20T11:20:29
2016-07-20T11:20:29
11,604,863
0
0
null
null
null
null
UTF-8
C++
false
false
1,021
cc
tLogger.cc
#define __FILEPATH__ "util/common/Test/tLogger.cc" #include <iostream> #include "gcp/program/common/Program.h" #include "gcp/util/common/Logger.h" #include "gcp/util/common/LogStream.h" using namespace std; using namespace gcp::util;using namespace gcp::program;void Program::initializeUsage() {}; LOG_HANDLER_FN(lo...
50c8d0aa81243df319a4efb86ceb9737cf8bf379
ac943253176ff701a3a87016400a932f961d264e
/src/glove/world/WorldHostFacet.hpp
3dc0b4f8215448f5fd5ba902d9cd0d64df131604
[ "Apache-2.0" ]
permissive
luoxz-ai/glove
f47f46b205a475412c5ab6d687ee3667651431e9
392978d81b0bc109a3eb53c9f85ed48c2ebaa67e
refs/heads/master
2021-05-30T14:02:29.966200
2015-09-19T17:16:04
2015-09-19T17:16:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
825
hpp
WorldHostFacet.hpp
#pragma once #include "glove/BlueDwarfApi.hpp" #include "glove/log/Log.hpp" #include "glove/world/World.hpp" namespace BlueDwarf { class RendererService; class BD_API_EXPORT WorldHostFacet : public ApplicationFacet { public: WorldHostFacet(ServiceRegistryHandle serviceRegistry) : ApplicationFacet("WorldHostFa...
68d936353f5b2af53cffa0cb68f1debb3c8bbcf1
97faaee3922a67776c63f3101b8b0cebae8d3b1d
/LOJ/543.cpp
c85276620c9cef11ef08fd932b683fdb11a36422
[]
no_license
g1n0st/oi-ACM-code-archive
4e5ce361391f65fb274155d3641ce59a5376b4f6
81f6f152ebb109cdc17e5db0f52632a77f18a1b9
refs/heads/master
2023-01-24T11:02:40.606083
2020-11-26T15:23:56
2020-11-26T15:23:56
112,888,450
2
1
null
null
null
null
UTF-8
C++
false
false
272
cpp
543.cpp
#include <bits/stdc++.h> using namespace std; int T, N, K; int main() { //freopen("in.txt", "r", stdin); //freopen("out.txt", "w", stdout); for (cin >> T; T--; ) { cin >> N >> K; puts(((N + K) & 1) ? "YES" : "NO"); while (K--) cin >> N >> N >> N; } return 0; }
220c9f45c8d7009b1e7e73f7f3154ada5beca877
a1105c33b21c7fe0d8e5967b4b97e919d9e23ca8
/数据结构教程-源程序/第10章/quicksort.cpp
3fc24591424c1f7ff2d144e03f069f36ff6a4582
[]
no_license
billgoo/Learning-About-Data-Structure
3c2b57951b325f07d827fe326c088f9e2d11d0f8
d67076a6563823a98d46b469cbfb2015a1d0f331
refs/heads/master
2021-01-01T18:49:47.429034
2017-07-26T15:52:38
2017-07-26T15:52:38
98,440,005
12
0
null
null
null
null
GB18030
C++
false
false
1,394
cpp
quicksort.cpp
#include <stdio.h> #define MaxSize 20 typedef int KeyType; //定义关键字类型 typedef char InfoType[10]; typedef struct //记录类型 { KeyType key; //关键字项 InfoType data; //其他数据项,类型为InfoType } RecType; //排序的记录类型定义 void QuickSort(RecType R[],int s,int t) //对R[s]至R[t]的元素进行快速排序 { int i=s,j=t; RecType tmp...
48adc0db54eb909bc1d694492e696c602184e98e
78948deaf2bcebe374e52f984e05c0c5887f4e06
/机房预约系统/order.cpp
0c278d4b1a7cbd3c287bb0c8149c6885f1ce73e5
[]
no_license
Lwt-ymm/My-C-language-learning-process
e91a71a462368d49fac0dedd3e09ef6298707f96
89211bda320ddd68c7fcd019f942affa18234027
refs/heads/main
2023-06-28T04:29:04.499658
2021-07-29T10:28:28
2021-07-29T10:28:28
329,885,376
1
0
null
null
null
null
GB18030
C++
false
false
2,194
cpp
order.cpp
#include"order.h" //构造函数 Order::Order() { ifstream ifs(ORDER_FILE, ios::in); string data;//日期 string time;//时间段 string room;//机房号 string stuid;//学生编号 string stuname;//学生姓名 string state;//预约状态 this->m_size = 0; while (ifs >> data && ifs >> time && ifs >> room && ifs >> stuid && ifs >> stunam...
448264fea8b71d473409f38db9a35830ef52f7d3
26135a1362f8cb9638cc9649ec9cc2a11e2cd66e
/src/Interface/ShapeInferenceOpInterface.cpp
a371fba9f5dbed0c990d4805f5658cd8a93b75d0
[ "Apache-2.0", "LicenseRef-scancode-dco-1.1" ]
permissive
onnx/onnx-mlir
81003870714bf743aac7b08666563552aac34a5b
8919cf3198e8e98960d95b1fb163a58f43c52070
refs/heads/main
2023-08-28T13:18:14.750654
2023-08-28T09:57:10
2023-08-28T09:57:10
241,400,276
590
286
Apache-2.0
2023-09-14T18:46:19
2020-02-18T15:43:43
C++
UTF-8
C++
false
false
673
cpp
ShapeInferenceOpInterface.cpp
/* * SPDX-License-Identifier: Apache-2.0 */ //===---- ShapeInferenceOpInterface.cpp - Definition for ShapeInference ---===// // // Copyright 2019-2020 The IBM Research Authors. // // ============================================================================= // // This file contains the implementations of the shap...
528ecc77380d204f57544f7e5f6c77c3de939bc0
72d96ec3732fcd115f9e08632cfbd3dd34eb5efb
/Source.cpp
32edf8b739cab10721fe6aebdd954e4669134293
[]
no_license
dangdohuynhnhu2000/CTDL-GT
4ff44b8e23e1fc5a29ae8f9fb5f5344dcb3a7fbb
a3e6de74ef0acd83a49cf73024111025284abdd7
refs/heads/master
2020-09-12T01:11:55.875578
2019-11-20T16:33:08
2019-11-20T16:33:08
222,251,623
0
0
null
null
null
null
UTF-8
C++
false
false
11,118
cpp
Source.cpp
#include "Header.h" int getHeight(NODE* node) { if (node == NULL) { return 0; } else { return 1 + max(getHeight(node->p_left), getHeight(node->p_right)); } } int max(int a, int b) { if (a > b) { return a; } return b; } NODE* CreateNode(int data) { NODE* pNode = new NODE; i...