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
f1754a2fc85853e0255be6a70bc97ef513be2d47
181ed7260e17691722dd276053bf2d1f351d2a6b
/JEBIO/UnitTest/PathsTest/test_WindowsPaths.cpp
a2b034793e4717a2812d33f03b000d07ca879827
[ "BSD-3-Clause" ]
permissive
jebreimo/JEBLib
53fec19dcc43e9dcf12209c53f990e0de6f597ca
9066403a9372951aa8ce4f129cd4877e2ae779ab
refs/heads/master
2020-06-06T14:01:32.871705
2019-03-13T15:24:16
2019-03-13T15:24:16
24,158,968
1
0
null
null
null
null
UTF-8
C++
false
false
2,763
cpp
test_WindowsPaths.cpp
#include "JEBIO/Paths/WindowsPaths.hpp" #include <vector> #include <JEBTest/JEBTest.hpp> using namespace JEBIO; namespace { template <typename T, typename U> std::pair<std::string, std::string> stringPair(T&& first, U&& second) { return std::make_pair<std::string, std::string>(first, second); } void test_split...
48086ebb981f35aee30a96358e29cd29e933361f
12e64d92fac9e48185696a89a5e5c1e7cfb4712f
/Greed/Greed/Graphics/Shader/Shader.h
8fc00217f01bcac0d3d0156b7074de34b37096fc
[]
no_license
unknown56234/Greed
c77593ff9ba68bc1b67d1010ad46de65d94eb8b3
67df0b8db1275f31b0c286f173a364fd035e234d
refs/heads/master
2020-04-18T11:00:40.832554
2019-01-29T00:37:07
2019-01-29T00:37:07
167,485,575
0
0
null
null
null
null
UTF-8
C++
false
false
1,344
h
Shader.h
#pragma once namespace gr { namespace Graphics { namespace Shader { class Shader { public: ComPtr<ID3DBlob> GetBlob() const { return blob; } HRESULT GetCompileResult() const ...
2b91ff9845a4a1952696b3be55a129b00e282739
d906bedebc4c29d7393408104bf7550d3730ab82
/voxblox-plusplus/voxblox/voxblox/include/voxblox/io/layer_io_inl.h
0c43e92d583271dd38e2d1143fe9a1c955da3807
[ "BSD-3-Clause", "MIT" ]
permissive
Skywalker666666/visual_mapping
f6e6cf7555b7bcff68f9d0eea5c9e368a5f7bd80
d28d1e2c800c08f0a3a2b32821e7cae09dfe744e
refs/heads/master
2023-03-24T09:29:54.804995
2021-01-26T22:43:30
2021-01-26T22:43:30
295,920,284
3
1
MIT
2021-01-26T22:43:31
2020-09-16T04:12:28
C++
UTF-8
C++
false
false
8,343
h
layer_io_inl.h
#ifndef VOXBLOX_CORE_IO_LAYER_IO_INL_H_ #define VOXBLOX_CORE_IO_LAYER_IO_INL_H_ #include <fstream> #include "./Block.pb.h" #include "./Layer.pb.h" #include "voxblox/utils/protobuf_utils.h" namespace voxblox { namespace io { template <typename VoxelType> bool LoadBlocksFromFile( const std::string& file_path, ...
dca77f063d5e985cd1784a588f6b73913a463500
138f1098276ae509857e6c881976e284a2786194
/project/source/game/ZombieAi.h
59e6c6687ae3e18676456f83bf44774a2a99d818
[]
no_license
Tomash667/RogueSavior
941623b16b07ae5e54c35b185f521b6be088b040
6b2ff4aaafda27d692359d4c8ac3c3a9fdb518ad
refs/heads/master
2021-01-25T04:14:16.890594
2017-07-13T14:09:43
2017-07-13T14:09:43
93,409,910
0
0
null
null
null
null
UTF-8
C++
false
false
105
h
ZombieAi.h
#pragma once #include "Ai.h" class ZombieAi : public Ai { public: void Think(float dt) override {} };
90631a95d78519a6864ed1c4de2b31a04312b138
f64cdd2f1b591be5d412831be9ca37b3a553e37a
/Code full house/buoi23 nguyen dinh trung duc/implement/bai 46 749A.cpp
cba83603b40585ec3d32b6563a4a1164e5062e3f
[ "Apache-2.0" ]
permissive
ducyb2001/CbyTrungDuc
115468f5d8094c6cf5b9c4b514f4a8a492ca9a38
0e93394dce600876a098b90ae969575bac3788e1
refs/heads/main
2023-01-12T23:09:11.578083
2020-11-13T12:29:58
2020-11-13T12:29:58
312,476,692
0
0
null
null
null
null
UTF-8
C++
false
false
286
cpp
bai 46 749A.cpp
/*bai 46 749A*/ #include<stdio.h> int main(){ int n; scanf("%d",&n); if(n%2==0){ int x=n/2; printf("%d\n",x); for(int i=1;i<x;i++){ printf("2 "); } printf("2"); } else{ int x=n/2; printf("%d\n",x); for(int i=1;i<x;i++){ printf("2 "); } printf("3"); } }
338082efb41db2ed78731155eff7f51b26adfa2a
3b88eca1e4cd490b7e414a4fc15e141e19dedf21
/RootTools_Cpp/CD2DTest.h
6456dd9f711a02d92768d73901ccc438da518e37
[]
no_license
dreamplayer-zhang/programingstudy
91a2c836d540ff42a057e014e8fce550bc9b7e17
d0067719d972a7cabc4fe6f896ff4c4531b74385
refs/heads/master
2023-07-09T11:34:49.186959
2021-08-20T08:32:43
2021-08-20T08:32:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
556
h
CD2DTest.h
#pragma once #include "D2DPtrStruc.h" #include "D2DChipStruc.h" class MyClrTest { public: int testInt(int a, int b); void testDB(); void test_struc_func(D2DPtrStruc reference, D2DPtrStruc Target); void testTrigger(D2DPtrStruc reference, D2DPtrStruc Target); ULONGLONG SSE_GetDiffSum4DoubleSize_256(D2DPtrStruc* Tar...
b7bdb697d20d0780d91d24257637d400e183c417
d5f87dbc316adddf81648f12459bb4248971eace
/NFComm/NFNoSqlPlugin/NFRedisClientSet.cpp
b7065b49c52019a704a0971b203f81e4c520a2e5
[ "Apache-2.0" ]
permissive
schwantz/NoahGameFrame
97b4838a3fa22160f09a885771953a7466be278e
67764fa16f3bed646e6c14caa34b3e3bb7b09abd
refs/heads/master
2021-09-08T11:07:11.792958
2018-06-27T07:49:36
2018-06-28T03:54:48
137,440,144
0
0
Apache-2.0
2018-06-15T04:15:25
2018-06-15T04:15:24
null
UTF-8
C++
false
false
53
cpp
NFRedisClientSet.cpp
// // Author: LUSHENG HUANG Created on 17/11/17. //
db415d50420e067050fb6b4ea0225fb76e9bc39a
fa99d6a0981510675c6abdff0a9dde1fc61c319b
/Software/WildFiFirmware/testREV5/magFifoTest/main.cpp
fb1fbbf581101a4b4669f98d2efeb65835bafb24
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
trichl/WildFiOpenSource
f29de95b208586061d6d7a75ffd9c317ed0a4679
2ac5e86c3619782c8582ce81065f267dce830f0b
refs/heads/main
2023-04-19T00:01:50.853085
2021-10-09T09:09:33
2021-10-09T09:09:33
368,456,988
7
3
MIT
2022-10-25T03:13:18
2021-05-18T08:31:23
C
UTF-8
C++
false
false
4,794
cpp
main.cpp
#include "PlatformWildFiTagREV5.h" #include <math.h> WildFiTagREV5 device = WildFiTagREV5(); RTC_DATA_ATTR bool firstStart = true; RTC_DATA_ATTR uint8_t lastErrorId = 0; RTC_DATA_ATTR uint16_t errorCnt = 0; RTC_DATA_ATTR uint16_t fifoDataPointerRam = 0; RTC_DATA_ATTR bmm150_trim_registers trimData = {}; RTC_DATA_ATTR...
d9b8e41ad869e567a3ab17174710cc7423654882
958686722dfc58ea022354a1e4f72dd4971af42d
/COMP1006/a2/question7/main.cpp
3cc3e9d299212c38144ac74b3b3fb0fb4a4ce4fa
[ "MIT" ]
permissive
cal-smith/Class
449e43abdda9126db5530d3e23ce5b7ae51e51a1
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
refs/heads/master
2021-06-03T20:24:29.143739
2015-09-11T23:49:30
2015-09-11T23:49:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,088
cpp
main.cpp
#include <iostream> using namespace std; typedef char* arrayString; //helper function int len(arrayString s){ int i = 0; while (s[i] != '\0'){ i++; } return i; } void deleteLastCharacter(arrayString &s){ int length = len(s); arrayString result = new char[length]; for (int j = 0; j < length-1; j++){ resul...
9098ec7a5bb27c39ea3cd41f45fe6173052cbe4d
ce91508bb845dbecb1e41abf5688903fd972e789
/DynamicSimulation.cpp
c407fcc1fb5379e3640ba07e5959c04a41e2c84c
[]
no_license
gzalewsk/SDM
e4e9ac361fedc169eb37b66d4c1f96dc779a9e38
35ad25a9d5059201353a60aaa7e524f19b251abf
refs/heads/master
2021-04-06T01:10:24.402033
2018-03-08T11:14:06
2018-03-08T11:14:06
124,376,064
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
14,968
cpp
DynamicSimulation.cpp
#include "StdAfx.h" #include "Heuristics.h" #include "DynamicSimulation.h" #include <Windows.h> //Sleep function #include <math.h> #include <algorithm> #include <random> #include "NetworkState.h" #include "Lightpath.h" #include <ctime> #include "NetworkScenario.h" #include <tuple> int DynamicSimulation::generate_exp_...
893fd9d233f22af177093704fd4ff55d9e89d17a
6f40de67648684c5f5112aeb550d7efb5bf8251b
/URAL/1167. Bicolored Horses.cpp
2f110db645986b6a29a25f15bcc0871ceaf493d1
[]
no_license
Mohib04/Competitive-Programming
91381fa5ba2ff2e9b6cf0aeee165f7cf31b43d0d
529f7db770b801eff32f2f23b31a98b1b9f35e51
refs/heads/master
2021-10-21T07:53:03.645288
2019-03-03T14:53:47
2019-03-03T14:53:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,067
cpp
1167. Bicolored Horses.cpp
/* problem: Optimize the innermost loop for(k=1; k<=g; k++) { for(i=k; i<=n; i++) { for(j=k; j<=i; j++) { dp[k][i] = min(dp[k][i], cost(j,i)+dp[k-1][j-1]); } } } say, P[k][i] is the first j value for which, dp[k][i] = cost(j,i)+dp[k-1][j-1] if for fixed k, P[k][0] <= P[k][1] <= P[k]...
b388d5403a7999a82de242548a99e4323e944206
cd3f7ccb116d6c969df7d535f0842b46098e1d8d
/etc/DrawPixels.cpp
bea0c29b5248ef30b7c4b1bc314647cb81a755d0
[]
no_license
McMerrison/Painters-Algorithm
0d2100311e512771f2484d36c9a89081f613f581
2468f1c08cb9d95b866182a2d3fd85add0bf9808
refs/heads/master
2021-06-03T14:14:51.736621
2016-05-16T01:24:59
2016-05-16T01:24:59
55,539,910
2
1
null
null
null
null
UTF-8
C++
false
false
4,536
cpp
DrawPixels.cpp
#include <stdio.h> #include <stdlib.h> #include <GL/glew.h> #include <glfw3.h> #include <glm/glm.hpp> #include <glut.h> #include <vector> #include <iostream> struct Pixel { float rgb[3]; }; struct Triangle { int x1; int x2; int x3; int y1; int y2; int y3; float r; float g; float b; float depth; }; using n...
3cb0fefcf413d2d773e9c3d486611c51128d7ca5
b7f3d07ed83fcac1f136715a399bac4f8805bd9e
/QQuickOpenGL/QQuickOpenGL.h
89d231482e79410381e553cf3c328713d393e10d
[]
no_license
patrickelectric/Qt-Examples
ed06782dc68e518bd7e482a5ebd4d03ad7a4d6c7
4c0ead6716e755b5f1f114cbdfb0c61a8c6e0a87
refs/heads/master
2020-10-01T22:30:58.624148
2019-12-27T13:51:33
2019-12-27T13:51:33
227,637,221
1
0
null
null
null
null
UTF-8
C++
false
false
724
h
QQuickOpenGL.h
#pragma once #include <QOpenGLFunctions> #include <QQuickItem> #include <QSharedPointer> class QOpenGLShaderProgram; class QQuickOpenGL : public QQuickItem, protected QOpenGLFunctions { Q_OBJECT Q_PROPERTY(int shift READ shift WRITE setShift NOTIFY shiftChanged) public: QQuickOpenGL(QQuickItem *parent =...
f1a43d0956dbdb69ffe8f30f766f32b187b6ee6d
1849fede1cd5bb4efd774a7a5b85db5c4aa3661d
/cpp/examples/test3.cpp
b72a98e57d655b16e942a0f6384723693dfb9332
[]
no_license
diegofps/wup
67686757129a02bd2941f374cdfd069cb5e7501e
017cb97ea3a93b1b3bd4fcb210e61d68c6e6d16e
refs/heads/main
2023-01-06T12:18:26.752824
2022-12-24T01:30:55
2022-12-24T01:30:55
58,674,374
2
0
null
null
null
null
UTF-8
C++
false
false
2,128
cpp
test3.cpp
#include <wup/wup.hpp> using namespace wup; int main() { srand(time(NULL)); Dataset dataset("../../datasets/uji2"); node::Root root(dataset.numFeatures()); node::ZScore zscore1(&root, true); node::Smooth smooth(&zscore1, 0.01); node::Direction direction(&smooth); ...
9910d912c8b393cd0bbde55728e761866e22b7d1
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/Geometry/MTDNumberingBuilder/src/CmsMTDDebugNavigator.cc
5eb881f7c7f067c4335a4a9edefc3264586cefe3
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
C++
false
false
1,991
cc
CmsMTDDebugNavigator.cc
#include "Geometry/MTDNumberingBuilder/interface/CmsMTDDebugNavigator.h" #include "Geometry/MTDNumberingBuilder/interface/GeometricTimingDet.h" #include "Geometry/MTDNumberingBuilder/interface/GeometricTimingDetExtra.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/MessageLogger/interface/...
c955aba06fd010295d7f6353db913e30bbc69ba7
9d2ec1986b9f9445e50194417be1b29946c3a332
/tests/demo_tests/test_helper.h
cd42ce22bc46c4b0f4a70867a76aaa95b6b1aa87
[ "MIT" ]
permissive
SvenJo/demo_mandelbrot
b2142118b7ac2c317bc8676f468a140e36428844
4a424b720ef48e7e0482ce271658cbd8e96b794a
refs/heads/master
2016-08-12T11:58:31.022194
2016-01-19T22:43:26
2016-01-19T22:43:26
49,980,793
0
0
null
null
null
null
UTF-8
C++
false
false
637
h
test_helper.h
#pragma once namespace mandel { using namespace easy; namespace unittest { inline void test_values_in_range(const std::vector<int>& picture) // and different from the init value! { for (const auto i : picture) { REQUIRE(i != -99); REQUIRE(i >= 1); REQUIRE(i <= 100); // maxi...
a59ccfe3641a5378c2b09f08007b358202e366d4
202b96b76fc7e3270b7a4eec77d6e1fd7d080b12
/platforms/unix/base/common/sound/oss_audioplayer.cpp
39b533f6dd01aaab071b6214e133d26d9d31439d
[]
no_license
prestocore/browser
4a28dc7521137475a1be72a6fbb19bbe15ca9763
8c5977d18f4ed8aea10547829127d52bc612a725
refs/heads/master
2016-08-09T12:55:21.058966
1995-06-22T00:00:00
1995-06-22T00:00:00
51,481,663
98
66
null
null
null
null
UTF-8
C++
false
false
3,638
cpp
oss_audioplayer.cpp
// -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; c-file-style:"stroustrup" -*- // Copyright (C) 2002, Morten Stenshorne // Used in the Opera web browser with permission. #include "core/pch.h" #include "oss_audioplayer.h" #include "audiostream.h" #include <fcntl.h> #include <unistd.h> #includ...
5db793829df61f9802b2107a3d67dd609a737e6c
ffc7cc818a3f4c0397232238fcf4afb293180afd
/ex315.cpp
79475c2c24cff45c3feb9ec04ff43d82be0e9e65
[]
no_license
TonyChouZJU/c---primer
e87cef617cca039739127a80986c7c4cb248bfe2
aaa0c4e81fdffed07c32b331e6cb0f58955335f3
refs/heads/master
2016-08-04T23:58:30.493836
2015-06-24T05:53:24
2015-06-24T05:53:24
22,288,413
0
0
null
null
null
null
UTF-8
C++
false
false
160
cpp
ex315.cpp
#include <iostream> #include <string> #include <vector> using namespace std; int main() { vector<string> vs; string s; while(cin >> s) vs.push_back(s); }
c0fd29f8d28074bcd862628d1e604d48e0b2fec4
fed44090182950480fb9ac1298072374e30b0da6
/Tcp_Live/Tcp_Server/userhandler.h
ff784447515eca9c79430f8eb4919eae15dcd06a
[]
no_license
The-Third-Float/QT
c1d11e75640681485caaee83534b8ab1c86cc067
4f8002ceb9ee23dbd7bf8846c2636b0ded513818
refs/heads/master
2020-04-28T11:10:05.045097
2019-03-12T14:38:24
2019-03-12T14:38:24
175,223,459
0
0
null
null
null
null
UTF-8
C++
false
false
280
h
userhandler.h
#ifndef USERHANDLER_H #define USERHANDLER_H #include "user.h" class UserHandler { public: UserHandler(); bool insertUser(const User &user); //添加记录 bool checkUser(const User &user); //检查用户名密码 }; #endif // USERHANDLER_H
ad184ab7a82e4547f4a68ae943a5c700bec15043
378d404d4b8ec12dd9548470fa3b33d3dec087ff
/Codeforce/Round589/round589a.cpp
0b1fd7ed344e9f9d6f4738d054f6ecaa7cdc0845
[]
no_license
kk-katayama/com_pro
d0e8871aff88e7939d439c37f9cafd2d11a870fc
a3a6a3bcb846e2eded42d1fed5d9495e53a73e41
refs/heads/master
2021-06-25T18:49:35.320092
2021-02-05T06:50:38
2021-02-05T06:50:38
200,748,000
0
0
null
null
null
null
UTF-8
C++
false
false
537
cpp
round589a.cpp
#include <iostream> #include <algorithm> #include <vector> #include <map> #define rep(i,n) for(int i=0;i<n;++i) #define rep1(i,n) for(int i=1;i<=n;++i) using namespace std; int main() { int l,r; cin >> l >> r; bool ff = true; for(int i=l;i<=r;++i){ map<int,int> mp; bool f = true; int x = i; whil...
3db5832086d3a3e906ed6b12ee7ba35322b6ce95
ed9e559e7292285afce8070576eff1ac852af399
/src/Window.hpp
ebebd7353abbae5f8b256f6582895d645f1c3fff
[ "Unlicense" ]
permissive
tybl/goon
ea035853d098614d98d9c4b56a04b24f7bcb68fb
9c7ae6e309457327465252f200964d95c8dfde17
refs/heads/dev
2023-09-01T10:57:53.373716
2023-08-18T19:36:22
2023-08-18T19:37:46
672,677,647
0
0
Unlicense
2023-08-18T19:37:48
2023-07-30T22:17:06
C++
UTF-8
C++
false
false
747
hpp
Window.hpp
// License: The Unlicense (https://unlicense.org) #ifndef GOON_WINDOW_HPP #define GOON_WINDOW_HPP #include <SDL2/SDL.h> // Screen dimension constants const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; class window { SDL_Window* m_window; int m_width; int m_height; public: window(void); window(wi...
d3539d076c5effd4ba8b368b2f1faf58739d4bac
cadb836d9ac9c9e3b618cf44c936015a0aea24a8
/daily_challenge/2023/LT_2023-05-01_1491._Average_Salary_Excluding_the_Minimum_and_Maximum_Salary.cpp
d2f5dfde0baac2b7fc450d5332611290886100ae
[]
no_license
checkoutb/LeetCodeCCpp
c6341a9fa5583a69046555a892bb41052624e83c
38832f7ccadf26b781cd8c9783c50916d1380554
refs/heads/master
2023-09-03T22:35:50.266523
2023-09-03T06:31:51
2023-09-03T06:31:51
182,722,336
0
1
null
null
null
null
UTF-8
C++
false
false
542
cpp
LT_2023-05-01_1491._Average_Salary_Excluding_the_Minimum_and_Maximum_Salary.cpp
#include "../../header/myheader.h" class LT { public: // Runtime5 ms // Beats // 23.2% // Memory7 MB // Beats // 84.6% double average(vector<int>& salary) { int mn = 12345678; int mx = -1; int sum2 = 0; for (int i : salary) { sum2 += i;...
31814861ef25a2223ae40a628ae66b4c192464b5
24c456d31966a458a32eb61bc9425a5b66caeaaa
/getimagesize.h
a4b88c24013c3109f06facc241d121270c019bd4
[]
no_license
tjssmy/Cuviewer-2.0
577852960a58addb3cd38bbd0f7101334b83f0d2
bc11760c2010e9b2cbe59697e9ed6e0d43d3fbd2
refs/heads/master
2021-01-10T18:27:34.483338
2011-11-28T14:22:58
2011-11-28T14:22:58
2,772,012
0
1
null
null
null
null
UTF-8
C++
false
false
575
h
getimagesize.h
#ifndef GETIMAGESIZE_H #define GETIMAGESIZE_H #include <qvariant.h> #include "ui_getimagesize.h" namespace Ui { class GetImageSize; } // namespace Ui class GetImageSize : public QDialog, public Ui::GetImageSize { Q_OBJECT public: GetImageSize(QWidget* parent = 0, const char* name = 0, boo...
799e830fa4977035f3b7400de52ed202103e4c4a
96cd6d7b41b66fac4597af58eed0c20064c62676
/cgraphicslineitem.h
67790bb046d9cc8926e4b65f56a03cf3a650672a
[]
no_license
MarkChen1/DxfEditer
c6ed8fc4078654cd7e174c5e7043d6f89feca50e
ed6c9dae8c668dfe5e910db196f4c5ac1cf2a60d
refs/heads/master
2023-05-08T18:50:34.550207
2021-06-04T08:28:23
2021-06-04T08:28:23
373,185,064
0
0
null
null
null
null
UTF-8
C++
false
false
227
h
cgraphicslineitem.h
#ifndef CGRAPHICSLINEITEM_H #define CGRAPHICSLINEITEM_H #include <QGraphicsLineItem> class CGraphicsLineItem : public QGraphicsLineItem { public: explicit CGraphicsLineItem(QLineF line); }; #endif // CGRAPHICSLINEITEM_H
95bcceaa5b1ec1748cbc31da9466ddeabff75f14
8805b9905278805b5b00b36f8e4a71bf39dae41e
/com/leet_cpp/3SumWithMultiplicity.cpp
427280bd847ec41d82c6ec3be39e75180e306ff2
[]
no_license
mengarena/Leetcode
96a935a10bcb289cde4c2a52e2490794a62ff553
76acc557df0032f0932c14d7b6ea0e90d116a0dc
refs/heads/master
2021-04-19T01:12:22.746949
2021-01-13T08:59:24
2021-01-13T08:59:24
53,725,914
0
0
null
null
null
null
UTF-8
C++
false
false
2,654
cpp
3SumWithMultiplicity.cpp
/* 923. 3Sum With Multiplicity Given an integer array A, and an integer target, return the number of tuples i, j, k such that i < j < k and A[i] + A[j] + A[k] == target. As the answer can be very large, return it modulo 10^9 + 7. Example 1: Input: A = [1,1,2,2,3,3,4,4,5,5], target = 8 Output: 20 Explanation: En...
d163d79f2f403019b756583e0a79ed979ce80b83
31589435071cbff4c5e95b357d8f3fa258f43269
/PPTVForWin8/ppbox_1.2.0/src/ppbox/demux/base/DemuxerBase.h
96e5975233eca4e76a8cac458b8a8079e8b14a2b
[]
no_license
huangyt/MyProjects
8d94656f41f6fac9ae30f089230f7c4bfb5448ac
cd17f4b0092d19bc752d949737c6ed3a3ef00a86
refs/heads/master
2021-01-17T20:19:35.691882
2013-05-03T07:19:31
2013-05-03T07:19:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,038
h
DemuxerBase.h
// DemuxerBase.h #ifndef _PPBOX_DEMUX_DEMUXER_BASE_H_ #define _PPBOX_DEMUX_DEMUXER_BASE_H_ #include "ppbox/demux/base/DemuxBase.h" #include <framework/configure/Config.h> namespace ppbox { namespace demux { class DemuxerBase { public: DemuxerBase( boost::...
189e7fbebd1f3db08a7c109812390deefba2ac78
e70363a2398de423537a0fe3560fa2ff2506bf28
/gui/gui.cpp
3e56d10c390f92251322611ff3ca09ef0208183d
[]
no_license
Shevchik-CS/dinosaur
18376e372bc95c4a0037e80538573f0c2ac934fe
3d68ef8d13846793a8b962af9b0d1251a5f4ef04
refs/heads/master
2021-01-16T18:48:11.818370
2012-05-30T18:35:07
2012-05-30T18:35:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,992
cpp
gui.cpp
/* * gui.cpp * * Created on: 20.05.2012 * Author: ruslan */ #include "gui.h" GtkWidget *window; GtkDialog* open_dialog; GtkFileChooserWidget * open_dialog_dir_chooser; std::string open_dialog_hash; GtkTreeView* torrent_view; GtkListStore* torrent_list; GtkListStore* tracker_list; GtkListStore* peer_list; b...
7003da653383864c1253a48c9f30defae02ba71c
9e79ad2cd6e98d0a15a8b7e15b0298bf52a6dd07
/02-Sorting/twinha0204/C-11582.cpp
61eff1720a9719599470527a2f4aa2aaf63bfbe5
[]
no_license
dsc-sookmyung/2020-Algorithm-study
23f6501065215e2f6ce951d0f5fe2955f21f9c82
d70082d5b9898ef9a3a874c6430855c4debc9735
refs/heads/main
2023-02-09T02:23:30.856156
2021-01-04T13:45:51
2021-01-04T13:45:51
301,112,904
1
0
null
null
null
null
UTF-8
C++
false
false
416
cpp
C-11582.cpp
// 치킨 TOP N - 11582 #include <stdio.h> #include <algorithm> using namespace std; int main(void){ int N; scanf("%d", &N); int* flavors = new int[N]; for(int i=0;i<N;i++) scanf("%d", &flavors[i]); int K; scanf("%d", &K); int step = N / K; for(int i=0;i<N;i+=step) sort(flavors+i, flavors+i+step); for(i...
c819fa1cc5378003a5d3ca9297149d111d7c2cf4
b34ed4b357ff34473947596b981ba79b1b8413ea
/GameScene.cpp
4f537ab2c47b62fa537d18c23a26541b89a554b9
[]
no_license
JohnnyToumieh/GameProject
3376c34710ed25988f33039e0ad954b96ef1ab2d
3201957322b95223603275f3a59d231c591f188a
refs/heads/master
2021-04-29T16:34:49.591090
2018-04-26T09:00:51
2018-04-26T09:00:51
121,652,260
0
0
null
null
null
null
UTF-8
C++
false
false
8,600
cpp
GameScene.cpp
#include "GameScene.h" #include "Message.h" #include "GamePage.h" /** *\file GameScene.cpp *@brief contains GameScene class definition which represents the general game shell. * * It handles saving of games, the creation and deletion of elements and tracking the game state. * */ /** * @brief GameScene::GameSc...
86f50332eb63079b5949918dca6b8c79210635a9
68572da614e34b418daab726a4075fd62eea2375
/practice/12/exercises/3_initials.cpp
c0af0da2b55c7792bbe92756670a4b74fa256cc7
[]
no_license
samkots/ppp2e
25ff5e7d2562476f670b439d75bde3564a66e3b7
b84cfa056600415b8136d773427f11f104e32c5e
refs/heads/master
2022-01-24T04:16:55.444701
2019-08-06T16:36:56
2019-08-06T16:36:56
113,661,884
1
0
null
2017-12-31T16:15:44
2017-12-09T10:44:22
C++
UTF-8
C++
false
false
1,883
cpp
3_initials.cpp
#include "ppp/Simple_window.h" #include "ppp/Graph.h" using namespace Graph_lib; // drawing initials... // each letter 150 pixes in height and 50 pixels in width // distance of 15 pixels // Monospace.... you know! int main() try { constexpr int height = 150; constexpr int width = 50; constexpr int distance = 15;...
e55244f3e5a841378bbfac1c5b58b30374a41b96
773f615ca7f3111f33c9ee34c23359df0f7dd3e0
/SPA/EvaluatorHelper.cpp
bfd8677846d6dd9c077984be3cc865c9a34b07ee
[]
no_license
keloysiusmak/cs3201-group6-spa
9b97df28accf5187b61b110ac4c4bb5545dda02a
6cb4f849c9c59edb82661d51bc579b0df3338732
refs/heads/master
2021-09-12T08:20:51.849978
2018-04-15T15:37:32
2018-04-15T15:37:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,681
cpp
EvaluatorHelper.cpp
#include "EvaluatorHelper.h" using namespace std; /* Generalize clause by making all synonyms ALL */ Clause EvaluatorHelper::generalizeClause(Clause &clause) { Param lhs = clause.getLeftParam(); Param rhs = clause.getRightParam(); Clause generalizedClause; generalizedClause.setRelRef(clause.getRelRef()); if (U...
d00f7afc424a5a2c5c0d676fc01790f4844ad3d0
5330918e825f8d373d3907962ba28215182389c3
/SimGeneral/MixingModule/plugins/MixingModule.cc
23ca6c1a530a57ba94cce9dc7f59b18ea520044d
[]
no_license
perrozzi/cmg-cmssw
31103a7179222c7aa94f65e83d090a5cf2748e27
1f4cfd936da3a6ca78f25959a41620925c4907ca
refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22
2021-01-16T23:15:58.556441
2017-05-11T22:43:15
2017-05-11T22:43:15
13,272,641
1
0
null
2017-05-11T22:43:16
2013-10-02T14:05:21
C++
UTF-8
C++
false
false
23,375
cc
MixingModule.cc
// File: MixingModule.cc // Description: see MixingModule.h // Author: Ursula Berthon, LLR Palaiseau // //-------------------------------------------- #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Utilities/interface/EDMException.h" #include "FWCore/Utilities/interface/Algorithms.h" #inc...
760fb984f9a8f67f9f0af05366bc7d0811fdd7a5
7fb7d37a183fae068dfd78de293d4487977c241e
/chrome/browser/ui/webui/ntp/suggestions_source_discovery.cc
2de116cdf06d5be339e17aa51c7bdf5adfce5974
[ "BSD-3-Clause" ]
permissive
robclark/chromium
f643a51bb759ac682341e3bb82cc153ab928cd34
f097b6ea775c27e5352c94ddddd264dd2af21479
refs/heads/master
2021-01-20T00:56:40.515459
2012-05-20T16:04:38
2012-05-20T18:56:07
4,587,416
1
0
null
null
null
null
UTF-8
C++
false
false
3,971
cc
suggestions_source_discovery.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/ntp/suggestions_source_discovery.h" #include <string> #include "base/bind.h" #include "base/bind_helpers.h" #inclu...
93308aee1c9da8322c2052bd4bf226725c7b976f
d347c093172f842a151e5a5dee77bab8e1ca3c9b
/07_Composite/painter_lib/CanvasSVG.cpp
b93e097ed8e6aefcd6385428cd38eb3d1c485bca
[]
no_license
alisa-efremova/ood2016
42042bee5c87f99290451b8aee20cc9cccdea776
fe9c5977339fc3ccb5e49531e41d5726774d87b7
refs/heads/master
2021-06-18T18:26:36.069506
2017-06-08T15:07:09
2017-06-08T15:26:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,018
cpp
CanvasSVG.cpp
#include "stdafx.h" #include "CanvasSVG.h" #include <boost/format.hpp> using namespace std; CCanvasSVG::CCanvasSVG(std::ostream & ostream) : CCanvas(ostream) { } void CCanvasSVG::BeginDraw() { m_ostream << "<svg version = \"1.1\" xmlns = \"http://www.w3.org/2000/svg\">" << endl; } void CCanvasSVG::EndDraw() { if...
590a25626065ff953f86b22210bb4a74800589fa
3d14bd127939cffb877c9decaf21a74d761174d1
/!LibPkg/libpkg/update.cc
214705cebc98c5e29c1e80a327bc5344e30a4d59
[ "Apache-2.0" ]
permissive
alanbu/LibPkg
909f107c7939da5cfc3a260d2cd3f5f30712f47d
c4c41f974e8cdd915ee101eacc1103de7c5aa2b9
refs/heads/master
2022-05-14T04:08:08.766917
2022-04-30T17:32:15
2022-04-30T17:32:15
50,520,934
3
0
null
null
null
null
UTF-8
C++
false
false
7,807
cc
update.cc
// This file is part of LibPkg. // // Copyright 2003-2020 Graham Shaw // // 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 requ...
5039336906f607b1858fa4dbe8ba815890baaa4e
87625f38e66b413f4ee6936fb148b22785f465a7
/Sketch1/MyClass.cpp
d39c30ca215549b1a3647c09b13927ce3b82b045
[ "MIT" ]
permissive
joshua-lucier/leafTier
341760fbf9671b0b322117645f637f145592bf31
89251a15a9defe9d2196c5a8796ecaa1dd2590b5
refs/heads/master
2016-09-06T12:35:20.823775
2015-05-03T00:39:39
2015-05-03T00:39:39
34,968,476
0
0
null
null
null
null
UTF-8
C++
false
false
3,313
cpp
MyClass.cpp
/* * MyClass.cpp * * Created: 4/29/2015 12:27:48 PM * Author: jmluc_000 */ #include "MyClass.h" #define PING_PIN 12 // Arduino pin tied to both trigger and echo pins on the ultrasonic sensor. #define MAX_DISTANCE 200 // Maximum distance we want to ping for (in centimeters). Maximum sensor distance is rated at...
94a83423a87df0cca280120ea7a839e26a6daa5f
b23da1e3803df62f1450c9f1bef686bc971dfdb1
/test/test_givens_rotation.cxx
3e20d37d79a8f31ddd67877be581b098a11c4567
[]
no_license
BNLIF/wire-cell-lsp
12d8d41748e950142a3311c723b44fdd7d749bac
32769be5db8c39944cba590b0e1ef065b8d22fda
refs/heads/master
2020-04-06T06:47:31.600630
2018-03-07T15:12:15
2018-03-07T15:12:15
37,540,338
0
0
null
null
null
null
UTF-8
C++
false
false
1,392
cxx
test_givens_rotation.cxx
#include <lsp/givens_rotation.h> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/matrix_proxy.hpp> #include <boost/numeric/ublas/vector.hpp> #include <boost/numeric/ublas/io.hpp> int main(){ using namespace boost::numeric::ublas; double x,y,x2,y2; x=2; y=1; x2=3; y2=2;...
62df3e782c547fb46ec8dcabd100cdc1f07ff53e
d9d33985d040538a86c181937b240a0a277a4e5a
/todo.cpp
202db776f65311b48def2665db41a1f2fbdcc070
[]
no_license
prtk/g4gcodes
106d602b8b596578755c53cd6f1a9ae4893e0e86
d1f21a44bd31d6de0beff523f06c9c5d790002b3
refs/heads/master
2023-01-21T20:11:09.533738
2023-01-17T15:12:14
2023-01-17T15:12:14
150,434,916
0
3
null
2023-01-17T15:12:16
2018-09-26T13:55:04
C++
UTF-8
C++
false
false
102
cpp
todo.cpp
//https://www.geeksforgeeks.org/maximum-absolute-difference-between-sum-of-two-contiguous-sub-arrays/
1a154270e656bbcd9cda46d5d660c88a3ab22f7b
6bf1625b2826fbd7ab0593ec964464117944d66f
/qt09_dialog/myqdialog.h
708ede897fa78daf8b0b6ec33b7667614f0fb749
[]
no_license
coderTong/my_qt_study
49138b04e2151e6dd72de8cbdf54e86a17d72384
fe7257230076369f812347685c02507ecc8aae03
refs/heads/master
2023-01-20T03:44:43.828283
2020-11-29T14:00:40
2020-11-29T14:00:40
308,842,948
0
0
null
null
null
null
UTF-8
C++
false
false
295
h
myqdialog.h
#ifndef MYQDIALOG_H #define MYQDIALOG_H #include <QDialog> #include <QCloseEvent> class MyQDialog : public QDialog { Q_OBJECT public: explicit MyQDialog(QWidget *parent = nullptr); signals: public slots: protected: void closeEvent(QCloseEvent *event); }; #endif // MYQDIALOG_H
32df9b6f03a3be19156a72c467ef0bd2e7f983e8
9c8552e76b65b5611aa80b808d6713d02d5710fd
/Bootstrap/Camera.h
d5917f0ab05f6c173cba4f27ce25b6ddb1c11994
[]
no_license
dylanmitchell1007/Assessment8-18-2017
850e64338f855e8d16f25030db65f962e658f7e6
0c75a9425dab1ef148f0d969cdba8bb1d8e7e8ef
refs/heads/master
2021-01-22T18:15:10.883529
2017-08-24T22:57:33
2017-08-24T22:57:33
100,755,662
0
0
null
null
null
null
UTF-8
C++
false
false
643
h
Camera.h
#pragma once #include "gl_core_4_4.h" #include <mat4x4.hpp> #include <vec3.hpp> #include <vec4.hpp> class Camera { public: Camera(); ~Camera(); void update(float deltatime = 0); void setPerspective(float FOV, float AR, float m_near, float m_far); void setLookAt(glm::vec3 eye, glm::vec3 center, glm::vec3 up); v...
ce62efbcab5e47ffd655b3e0ce8fe8b84fbc5172
53b540cd66285ed5cf3a6f1e572c2eec4507ae48
/linkmanager.cpp
b77a77ba2684499cc19caa38c8b62018b50f18a5
[]
no_license
atikbif/mc35xxUtility
2b82335f0d77fc0505f171132c3be3661f17790f
5509a28d258a475ee8996e25fe3a394e0e5703b3
refs/heads/master
2021-01-24T11:44:21.746137
2018-02-27T11:52:42
2018-02-27T11:52:42
123,096,094
0
0
null
null
null
null
UTF-8
C++
false
false
1,224
cpp
linkmanager.cpp
#include "linkmanager.h" LinkManager::LinkManager(AbstractScanner *sc, QObject *parent):QObject(parent),scanner(sc) { scanner->moveToThread(&scanThread); connect(&scanThread,&QThread::finished,scanner,&AbstractScanner::deleteLater); connect(this,&LinkManager::scanCycle,scanner,&AbstractScanner::scanCycle);...
704c4bbd07e12e0b7fe30c620e92779d1774d8db
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/media/gpu/test/video_encode_accelerator_perf_tests.cc
e9296962190b21dd33d0e514f8294ca2dbab87d1
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
45,741
cc
video_encode_accelerator_perf_tests.cc
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <vector> #include "base/command_line.h" #include "base/containers/contai...
0fc463433742ec1a572b3250e7d5aaa05607d7a1
544a1263f1b6eecdae48fd3b25a6ab60181904fb
/src/collection.h
f769246c2c0ab395ecc0ab679b32af6775a0cdd1
[]
no_license
CasparKielwein/geom
708ef06ef3c783d5a94b1c452310b21b1be72072
d363dd31da48bdea090cb9d9f178518d6ec309a5
refs/heads/master
2021-01-01T05:26:47.468281
2017-02-06T20:59:47
2017-02-06T20:59:47
77,609,414
0
0
null
null
null
null
UTF-8
C++
false
false
10,023
h
collection.h
/* * geom.h * * Created on: Sep 24, 2016 * Author: ckielwein */ #ifndef GEOM_SRC_COLLECTION_H_ #define GEOM_SRC_COLLECTION_H_ #include "config.h" #include "object.h" namespace fc { namespace geom { template<class > class collection; /** * \brief Proxy of actual geom::object for reference access in geom...
500c6fcb34242a5cce2b7a806752c37af9824043
a6bf1b33cd201ec3f153cfbece69cd4216bdebcd
/Chapter12/PauseMenu.h
f660c84977399fb26cecff2584c16f785716d8d9
[]
no_license
lehmamic/gameprogcpp
2fe9ac91b4e73e4aeb4002415d300a02c121aa80
46e34a0dcdb426a71ee3088a0535837b6479dbb9
refs/heads/master
2023-02-25T17:54:17.558290
2021-02-02T19:16:05
2021-02-02T19:16:05
328,257,940
0
1
null
null
null
null
UTF-8
C++
false
false
381
h
PauseMenu.h
// // PauseMenu.hpp // Game-mac // // Created by Michael Lehmann on 24.01.21. // Copyright © 2021 Sanjay Madhav. All rights reserved. // #ifndef PauseMenu_hpp #define PauseMenu_hpp #include "UIScreen.h" class PauseMenu : public UIScreen { public: PauseMenu(class Game* game); ~PauseMenu(); void Handl...
a5b7a10b7838a90c16b07b2c990c2a39dc3a78d0
a93586d05c7663ca4b7f9c85ffeed2e54ca4ddaf
/Controller/accesscontroller.h
351478b163bec3a8c6413abfb65d7b38cccc359f
[]
no_license
michaelanis14/Merply
22116ddc893e4e884b589130478a616dbc132c65
aa8ea4b0051e1cf84e9c12e1935c95c8885327f0
refs/heads/master
2021-03-22T01:20:08.105113
2017-07-03T10:14:14
2017-07-03T10:14:14
46,493,358
0
0
null
null
null
null
UTF-8
C++
false
false
820
h
accesscontroller.h
#ifndef ACCESSCONTROLLER_H #define ACCESSCONTROLLER_H #include "database.h" #include <QObject> #include <QJsonDocument> #include <QJsonValue> #include <QJsonArray> #include <QJsonObject> class AccessController :public QObject { Q_OBJECT public: static AccessController* Get(); void login(QString username,QString ...
6acf381248d095482e1737d0b72ca9f3a18bfbe4
5ca344902c8eb5f60a652772d13cdca660849351
/include/slot_map.hpp
5d363d196de44acea628b1a09abb7535a39afd15
[ "MIT" ]
permissive
Dwarfobserver/Exercices-Cpp
f2ad4a63ecda0222d61a5341f48db73f207befa3
b5d991c8fa357554840f7524e75a1a25874ba60c
refs/heads/master
2020-03-18T08:24:02.753715
2018-07-20T08:03:40
2018-07-20T08:03:40
134,507,337
0
0
null
null
null
null
UTF-8
C++
false
false
1,854
hpp
slot_map.hpp
/* (moyen) Cet exercice constiste à implémenter une slot_map, une structure de données qui stocke des objets en retournant une clé associée. Elle possède les propriétés suivantes : - Insertion d'un objet avec sa clé en O(1). - Suppression d'un objet avec sa clé en O(1). - Objets stockés...
84de4dc6cee1344783bb5866b1d96dadfafeb23e
fd20c8566974df255f49cb5c4f17ba8d54ecf64b
/03 DataStructure/01 20181012/test/problem5.cpp
377d60df97b401ed4e6f646ab6c58920067e148b
[]
no_license
linuxlsx/ProjectCodes
53ebac53f29b1e63e61e3aba856ad6641200ab7a
a09d7518b3dae3ee2b33ee8fc110d0251186dd02
refs/heads/master
2021-10-09T09:40:29.433043
2018-12-25T12:49:31
2018-12-25T12:49:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,554
cpp
problem5.cpp
#include "headers.h" void testProblem5(){ int data[13] = {1, 3, 5, 7, 13, 19, 25, 43, 43, 51, 66, 70, 84}; node *headNode =(node *)malloc(sizeof(node)); printf("Datas: "); generateListFromArray(headNode, data, 13); print(headNode); printf("\n"); printf("Deleted(min:6, max: 50): "); deleteAllSpecifiedNodes(...
47c603d5524c6e47bb092fb7a98cb5936bda8fb8
7ec427217c8b216af4054e70e05cb2df0c37171a
/src/logic/balance/Balance.cpp
bfcd20142aa4a4c2d6748aef1ed18d2bbdd73336
[]
no_license
DuanDechao/shyloo-chat
7f051e05ddc3fe7d3bd77781ee32cd4934b45464
2db7268533b1bbf1000560e0c233c5d5ce11c7eb
refs/heads/master
2021-01-16T17:39:43.610114
2017-09-07T02:01:37
2017-09-07T02:01:37
100,011,507
1
0
null
null
null
null
UTF-8
C++
false
false
4,521
cpp
Balance.cpp
#include "Balance.h" #include "IHarbor.h" #include "NodeDefine.h" #include "NodeProtocol.h" #include "IAgent.h" #include "slbinary_stream.h" #include "ProtocolID.pb.h" #include "slxml_reader.h" #include "GameDefine.h" #include "ChatProtocol.h" bool Balance::initialize(sl::api::IKernel * pKernel){ _kernel = pKernel; ...
19b39836925ba6abc8316ceb1fa6d24b4643a3dd
017f6714f8068d03f4078c4b6fa5680a7d966ed9
/ESEP/src/serial/client/m_reset.cpp
00e7208d5923855622000dae0291123390df04b0
[]
no_license
davekessener/SE2-Project
fa635fc8be7103d5f2d28c9fb2da6c0f9678585d
8099119cddfc7dc169b16c1f41656157b5ca2866
refs/heads/master
2020-03-21T05:50:00.446941
2018-06-21T12:07:09
2018-06-21T12:07:09
138,183,878
1
0
null
null
null
null
UTF-8
C++
false
false
871
cpp
m_reset.cpp
#include "serial/client/m_reset.h" #define MXT_RS_1 0x91 #define MXT_RS_2 0x0D #define MXT_RS_E 0x99 #define MXT_NRS_S 16 #define MXT_NRS_R 8 namespace esep { namespace serial { namespace modules { void Resetter::send(void) { for(uint i = 0 ; i < MXT_NRS_S ; ++i) { mConnection.send<byte_t>(MXT_RS...
9eb1a9ab01dbf5a8f67c1e99955cbf57a8a110b8
7e88587fb56d494adf0f0d35ba414d4bdfc81664
/LAWA-lite/lawa/methods/adaptive/algorithms/apply1d.tcc
0688aebe16397acc4fc48680521df57e477a90e9
[]
no_license
iris-haecker/LAWA
8c488652b64db299299dd72fa7fb0a0e3baf4d83
a79c6b70e4558935da34a04da62bdb4af2da08af
refs/heads/master
2021-01-25T04:57:43.279709
2013-09-18T10:31:05
2013-09-18T10:31:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,544
tcc
apply1d.tcc
namespace lawa { template <typename T, typename Index, typename Basis1D, typename Parameters, typename MA> SYM_APPLY_1D<T,Index,Basis1D,Parameters,MA>::SYM_APPLY_1D(const Parameters &_parameters, const Basis1D &_basis, MA &_A) : parameters(_parameters), basis(_...
f2dc7b8d7e775a4dabf24d4541353328c274017d
d1324544b5eec61819071d2847d7940a3c7b56df
/SourceCode/SSRS/LBBML/LBBML/LBBMLGraphics/Viewer/Camera.cpp
5eb2dfd742b00054b6e2808d11f38b6cc7ee1ba2
[]
no_license
FrankBATMAN/Soft-Shadows-Rendering-with-Split-screen
1bc88351ee8761c1a69151283c1090bedff253fa
9203f2412054d3e75fd70063ede6c4f58fd6934c
refs/heads/master
2021-01-20T00:34:04.552376
2017-03-05T02:38:56
2017-03-05T02:38:56
83,797,802
0
0
null
null
null
null
UTF-8
C++
false
false
1,519
cpp
Camera.cpp
#include "Camera.h" CLBBMLGraphicsCamera::CLBBMLGraphicsCamera(void) { __initialize(); } CLBBMLGraphicsCamera::~CLBBMLGraphicsCamera(void) { } //****************************************************************** //FUNCTION: void CLBBMLGraphicsCamera::initPositions(int vSize, float vXMin, float vXMax, float vYMin, ...
0cc10794d2c021f5e0eba661bc927e9e195dc4e1
ebd1f2112cdf649e423da523a8958a1c4c83f63c
/src/sipparser.cpp
3a0df5990bee6de9fbcc305d1914b44a4dd835be
[ "ISC" ]
permissive
nvisa/kvazzup
4a395a0b5f0fcf6b390873c461bc07b1b72c4600
bd1b9824b8f11b62588919edd856f79451a2cf64
refs/heads/master
2020-03-15T23:23:49.160475
2017-11-16T11:26:22
2017-11-16T11:26:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,846
cpp
sipparser.cpp
#include "sipparser.h" #include <QRegularExpression> #include <QRegularExpressionMatch> #include <QList> #include <QHostInfo> #include <iostream> #include <sstream> #include <string> struct HeaderLine { QString name; quint8 minWords; quint8 maxWords; bool mandatory; }; // TODO: possiblity of having more tha...
a4337294d5d9bd9cbedff444b3284a1c57a803b8
a793acc8128bd3bedd419f6886098ad4bb644d8d
/Motors.h
c00584f7a4f9af14d697f97cb514eeb0200e8aa4
[]
no_license
kevywilly/rover2017a
99061ebe20faab9b3057674247058a8a8f82cf63
6fb0af06440bb95a29bd77576306d2d51eb4f1e9
refs/heads/master
2021-01-20T05:41:15.329411
2017-09-08T16:37:22
2017-09-08T16:37:22
101,464,086
0
0
null
null
null
null
UTF-8
C++
false
false
2,115
h
Motors.h
/* * motors.h * * Created on: Jul 6, 2017 * Author: kevywilly */ #ifndef MOTORS_H_ #define MOTORS_H_ #include "Arduino.h" #include "Servo.h" typedef enum { Forward, Spinning, Turning, Braking, Reverse, Stopped } MotorStatus; class Position2D { public: float xPos; float yPos; Position2D(float x, fl...
60e8b3abc7bf303e3c0fed65696d6a82b72d226a
df203ba198b04b3f61dddba7839040d2320a4100
/test/test-kmerizer.cpp
539cbd7906f6c250e6e827b0247786fb83f5d50d
[ "MIT" ]
permissive
warelab/snapdragon
8adbfaae65ef0f5239c4b0615492ca684a6d1536
05d969f362706a9208383545022f06e78f2bf529
refs/heads/master
2021-01-15T20:28:36.756767
2014-11-28T20:19:27
2014-11-28T20:19:27
8,907,156
1
0
null
null
null
null
UTF-8
C++
false
false
413
cpp
test-kmerizer.cpp
#include "test.h" #include "kmerizer/kmerizer.h" Kmerizer * initKmerizer() { return new Kmerizer(1, 1, "/tmp", CANONICAL, QUERY); } namespace { class KmerizerTest : public ::testing::Test { }; TEST(KmerizerTest, DoesInstantiation) { EXPECT_TRUE(initKmerizer() != NULL); } } /* namespace */ int main(int arg...
5f3360b0be8df1cd3438e9088c234aec80b2a5bb
265b790ca06510ca4850493ded072bdd52f4b4f4
/Alpha Star Gold/3.5/Source.cpp
63637802a5e8d133d39a9785d3870fdf2b208269
[]
no_license
neilsong/USACO
1b2028898b98b9462cbc27a6f0012a2f69aebc38
6b4340acd1b0dc36bb31d02c67c4f07fd61c7fa3
refs/heads/master
2023-02-25T15:53:18.768599
2021-01-29T19:13:30
2021-01-29T19:13:30
220,547,667
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
Source.cpp
#include <bits/stdc++.h> using namespace std; int main(void) { long long n, m; vector<long long> f,s; cin >> n >> m; f.resize(n); s.resize(n); long long presum = 0; int starting = -1; multiset<long long> spices; for (int i = 0; i < n; i++) { cin >> f[i] >> s[i]; if (starting == -1) { presum += f[i]; spi...
c92bb68a369af0b7d770dff95785af4defb50b24
5f66c979da5800133d3fe79d2be8621a6b897170
/src/st7735/fixed.cpp
b0d968b8e9f618d435056751de5560c08349feda
[]
no_license
leethomason/OpenSaber
a4098f2204bfa786f941b14fccb9f53785fc09b4
98794f76284030afaf30dc61fb78b69f6d089944
refs/heads/master
2023-08-28T01:07:09.630441
2023-08-14T02:12:35
2023-08-14T02:12:35
50,316,148
39
8
null
null
null
null
UTF-8
C++
false
false
1,737
cpp
fixed.cpp
#include "fixed.h" #include "Grinliz_Util.h" bool TestFixed() { { Fixed88 a(5, 2); TEST_IS_TRUE(a.getInt() == 2); TEST_IS_TRUE(a.getDec() == 65536 / 2); Fixed88 b; b = 2; Fixed88 c(1, 2); Fixed88 d = a + b + c; TEST_IS_TRUE(d == 5); } { ...
723aa4f2096bc05a552c723337dc037472cfcd76
6294bd7d65c96e00cd3ba8cfc7735aacf403f24e
/lib/halfduplexspi/halfduplexspi.h
28137f27f90c289085af4dd4b7fc025458461815
[ "MIT" ]
permissive
vargin/scout
30f5c245a052f3d148cb84faa439a6c8875f6700
1214e73e8bc3252baf7e4ed959c19511a0e07b0f
refs/heads/master
2020-05-21T13:31:57.141364
2016-10-06T21:48:20
2016-10-06T21:48:20
64,860,790
0
0
null
null
null
null
UTF-8
C++
false
false
707
h
halfduplexspi.h
#include <Arduino.h> /* AVR half-duplex software SPI master * @author: Ralph Doncaster 2015 public domain software * connect 4.7K Ohm resistor between slave MO and MI pins and * connect slave MOSI to AVR MO/MI * AVR SLAVE * SCK ------------ SCK * MOMI --+-------- MOSI * +-\/\/\-- MISO * ...
46bcf22319642d555da57b5306c3219f1dca66f0
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_repos_function_5894_git-2.2.3.cpp
61d06de56f6f07293283c5ec40da06cf0515b644
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
172
cpp
git_repos_function_5894_git-2.2.3.cpp
int pthread_cond_destroy(pthread_cond_t *cond) { CloseHandle(cond->sema); CloseHandle(cond->continue_broadcast); DeleteCriticalSection(&cond->waiters_lock); return 0; }
0c83e10ce55d100313afe4e699593beb540b4deb
135735e69475e94345ea8003e94a6b7bf6786b85
/test_motor.ino
50251ba56e2bc169e03b67bff303b9d273be288f
[ "Apache-2.0" ]
permissive
akashnambiarr/HYAAN
1a3324a8944c8da2a1cc369da6df7bfd2c670629
f4aeac58946937260dd0e77f96d47e97587bb7ac
refs/heads/master
2021-03-29T22:38:16.309006
2020-03-17T14:33:59
2020-03-17T14:33:59
247,982,232
0
0
null
null
null
null
UTF-8
C++
false
false
314
ino
test_motor.ino
void setup() { // put your setup code here, to run once: pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite(3, HIGH); digitalWrite(2, LOW); digitalWrite(5, HIGH); digitalWrite(4, LOW); delay(2000); }
37319c5c11b14e89d6e178676ffecb3d290efaf1
f4aa6bfdf2bf1caacf9e9a8cefd09d00382e9e8c
/My_Study/include/C_Null.h
b3d292f72e474b017e36169bb8d1f22a1087b6d8
[]
no_license
Byeng-Yong-Choi/C_Yong
e39a015b64facd473c5193d21a157b552813e9b7
9c2a1856b7c59156c2364ea2bf0a21e3d02eab1d
refs/heads/master
2020-09-28T14:26:17.358211
2019-12-18T04:51:44
2019-12-18T04:51:44
226,795,230
1
0
null
2019-12-09T05:57:44
2019-12-09T05:53:34
null
UTF-8
C++
false
false
165
h
C_Null.h
#pragma once #include "C_Tower.h" class C_Null :public C_TowerStateProcess { public: void Process(C_Object* obj); public: C_Null(C_Tower* host); ~C_Null(); };
7e5e8a277af17e04f33557a640654f2816ffa6a5
16e13ffb88a48fdfbfb936b22e3a275053478c50
/flurry.cpp
4e71717a0fa7385f81e6997730ffad664ccc1a63
[]
no_license
mzdwedar/Computer-Graphics
d93c47e4b437e82d5f0e3ed6bb14ea47bac2c117
e53c82b9c61ef151036212dbde0ba2073bff3e64
refs/heads/master
2022-04-06T06:18:41.110710
2020-03-16T18:21:11
2020-03-16T18:21:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,361
cpp
flurry.cpp
#include <windows.h> #include <gl/Gl.h> #include <gl/glut.h> //OpenGL Utility Toolkit for creating openGL window #include <iostream> #include <vector> #include <chrono> #include <thread> #include <cmath> #include <cstdlib> #include <stdlib.h> #include <random> using namespace std; using std::vector; u...
6ec60395ad4b4e9db1f895f575e54dd7ca506992
c1c16ad7ef7a83cc890d3d94213649ebea58ffa7
/Robotron/Source/DirectX9Framework/Network/NetworkView.cpp
6907db2aedfa9cb13b1c6856b68ace97c211e880
[ "Apache-2.0" ]
permissive
ThatBeanBag/Slimfish
9967af82f2f329046a846e3eb0e7041069be327c
7b0f821bccf2cae7d67f8a822f078def7a2d354d
refs/heads/master
2021-03-19T15:49:23.701580
2016-08-07T10:06:17
2016-08-07T10:06:17
39,884,058
0
0
null
null
null
null
UTF-8
C++
false
false
819
cpp
NetworkView.cpp
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2005 - 2015 Media Design School // // File Name : NetworkView.cpp // Description : CNetworkView implementation file. // Author : Hayden Asplet. // Mail : hayden.asplet@mediadesignschool.com // // PCH #include "GameSt...
22a93298c7162062401a5d7b1f5ddfdc5c01aff2
f38d1d11128d824f087d4fe09f0c45fe7b749155
/app/cpu.cpp
265ae71a231b3bb6f5932aa41a7320e18d0297c0
[]
no_license
MarcAntoine-Arnaud/HardwareDetection
1351addf2a096fba56f6037e7592bbe24e898b4a
96c583f4b44dc86bc69ca5a6722928b725d39261
refs/heads/master
2021-01-01T06:27:57.898109
2012-07-30T10:03:25
2012-07-30T10:03:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,460
cpp
cpu.cpp
#include <MyHardware.hpp> #include <iostream> int main( int argc, char** argv ) { Cpu cpu; Cpu::EVendor vendor = cpu.getCpuVendor(); switch( vendor ) { case Cpu::eVendorUnknow: std::cout << "unknown cpu" << std::endl; break; case Cpu::eVendorIntel: std::cout << "Intel cpu" << std::endl; break; case Cpu::eVe...
20610296f7f3ddc7fa6ed8d2618d9d54e826ad7e
72d44d01083aeb66606cecd9d84dbb0eb17b0acb
/leetcode/leetcode475/leetcode475/main.cpp
ff248e8c0d3d12c5f4d8fc1085257a1bcd3e1993
[]
no_license
danache/coding
e3d704b6302acb913d3f58ea1dfe9e126d1b0f39
ef798534e8412eb81f31318244305e1a6110ea72
refs/heads/master
2020-04-19T15:12:56.562307
2018-06-03T06:24:37
2018-06-03T06:24:37
66,996,085
2
0
null
null
null
null
UTF-8
C++
false
false
784
cpp
main.cpp
// // main.cpp // leetcode475 // // Created by 萧天牧 on 17/8/24. // Copyright © 2017年 萧天牧. All rights reserved. // #include <iostream> #include <vector> #include <cmath> using namespace std; int findRadius(vector<int>& houses, vector<int>& heaters) { sort(houses.begin(), houses.end()); sort(heaters.begin(), ...
4f59a63c8fbe3a09826ec61b7bca17bb6fde6825
3a62ce872de08712883a7c94a6af4f43dde0062b
/CSE240-C C++/Homework3/Homework3/theatre.cpp
c66a5365c9ca61fed6934df41abe74c2b5a969ac
[]
no_license
aneuhold/cse240
7189a22dc61cdec0ff2401d054057a14550c1299
b1d6036576f13d311c3ba8d3046f5245e5a731eb
refs/heads/master
2020-03-26T22:52:34.408415
2018-10-03T02:13:48
2018-10-03T02:13:48
145,493,022
0
0
null
null
null
null
UTF-8
C++
false
false
3,071
cpp
theatre.cpp
/* Contains the implementation for the functions of the Theatre class. Homework 3 Part 2 Completion time: 4 hours author: Anton Neuhold version: 1.0 */ #include "theatre.h" /* Initializes a theater seating 2d array with the designated rows and cols. Each location in the theater seating 2 dimensio...
7b8bd1d25d83ce95df539b126265d3d3d1b84ec3
15254961275828818e2e01cadeb15e9e00619e0b
/Tree.cpp
b27ea42b248d37197ce174d0ec3fb09cd39f157b
[]
no_license
worta/fast-subset-convolution
9818d32d21826b03cd2a6b39bec265ca0f5441c2
055828bebbae44b85cf39c850dcbcb8c59055ce4
refs/heads/master
2022-03-29T19:29:14.436430
2020-01-20T15:40:06
2020-01-20T15:40:06
184,640,343
0
0
null
null
null
null
UTF-8
C++
false
false
58
cpp
Tree.cpp
// // Created by dominik on 7/4/19. // #include "Tree.h"
b7b891ad5231587c838b2f9e524c64588dbcb0f9
8bfa3c91abe7f22bffc3115c1fa48ed1a4aabd82
/ABC/135/B/0_or_1_swap.cpp
11e54a33e89a21d598c7d552fef289ca189e5017
[]
no_license
yugo1103/atcoder
96a0dcd41704fadc0a1ef3253cdffa4a961fdc0a
9b2d0b1a0f178cd442d51d2ad07added982d2a92
refs/heads/master
2020-07-26T04:04:41.019118
2020-03-30T10:42:39
2020-03-30T10:42:39
208,528,448
0
0
null
null
null
null
UTF-8
C++
false
false
363
cpp
0_or_1_swap.cpp
#include<bits/stdc++.h> using namespace std; #define rep(i, n) for(int i = 0; i < n; i++) int main(void){ int n; cin >> n; int p[n]; rep(i, n){ cin >> p[i]; } int count = 0; rep(i, n){ if(p[i] != i + 1) count++; } if(count <= 2) puts("YES"); ...
a94f03bc0ce83e54e4b3c2b4d049a02e337dc622
5b58e550e9d49315c21d9799e9aa10feff1db326
/Geometry_Wars/engine/ActionController.h
52ee55ad8da90279a6a16acaf674c5cf336df505
[]
no_license
DennisVinke/Geometry_Wars
019584b2e338d2d5117239a5f60d6600419a5ae6
9088ddb84d3a7fa10f0d913bb02303c9a28f8d6d
refs/heads/master
2020-04-06T23:28:35.935868
2019-05-06T12:03:42
2019-05-06T12:03:42
157,870,752
2
1
null
null
null
null
UTF-8
C++
false
false
594
h
ActionController.h
#pragma once #include <cstdint> #include <glm/glm.hpp> /// class ActionController: Handles actions based on Events given by the window /** * This class is responsible for handling the input abstracted by the InputManager * The ActionController can be set active (positive and negative) * */ class ActionController...
2b04c9e9ec08dd6d426c942ee5f327b1cfe68495
32e1c6071aedd55db0537933e88154f0495294d3
/solver/detail/clause.hpp
8e9519b3e809cf9d498501a60d4423297369780a
[ "MIT" ]
permissive
scalexm/sat_solver
6e379485f86e29a02f005bf0ab234bb86fcad44d
0235f76d0a93c4b8ff59071479c8ca139d2e162a
refs/heads/master
2021-01-21T13:21:12.605209
2016-05-17T18:31:00
2016-05-17T18:31:00
51,093,836
3
0
null
null
null
null
UTF-8
C++
false
false
2,872
hpp
clause.hpp
// // detail/clause.hpp // solver // // Created by Alexandre Martin on 03/04/2016. // Copyright © 2016 scalexm. All rights reserved. // #ifndef DETAIL_CLAUSE_HPP #define DETAIL_CLAUSE_HPP #include <vector> #include <cstddef> #include <list> #include <cassert> namespace detail { enum class polarity; class...
59237a6278bf0f546a214bad26840c77b41991b5
ae35e395b7d6da2e79fd875a6813d1122c71ae69
/methodoverloading1.cpp
22d8e173ac9e9dcd90a531d0d01caa2b8b84d985
[]
no_license
rahulkumarjhamtani/Object-Oriented-Programming-Lab
7cbfd6bdb37a4961456ed4f9bbc62c72fed9f158
374bb58f1b63da1a7e52daf3a0a1e43e9cfe1caf
refs/heads/main
2023-03-22T05:03:50.458137
2021-03-13T04:02:59
2021-03-13T04:02:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,281
cpp
methodoverloading1.cpp
#include<iostream> #define pi 3.14 using namespace std; class fun { public: void area(int); //area of circle void area(int,int); //area of rectangle void area(float,int,int); //area of triangle }; void fun::area(int a) { cout << "Area of Circle = " << pi*a*a << endl; } void fun::area(int a,i...
b4b86edba748de3c1ddb6759c60b943625a315f8
4296ad62fc2d1c0111af5e9c9ef5b8336256674e
/src/arc93/d.cpp
4f720940c31004225210e4ff0c60027e7cf00886
[]
no_license
emakryo/cmpro
8aa50db1d84fb85e515546f37e675121be9de5c2
81db478cc7da06a9b99a7888e39952ddb82cdbe5
refs/heads/master
2023-02-09T12:36:47.893287
2023-01-23T12:07:03
2023-01-23T12:07:03
79,899,196
0
0
null
null
null
null
UTF-8
C++
false
false
982
cpp
d.cpp
#include<iostream> #include<iomanip> //#include<cstdio> #include<vector> #include<map> #include<queue> #include<algorithm> #include<cmath> #include<cassert> using namespace std; typedef long long ll; int A, B; int main(){ cin >> A >> B; vector<string> ans; string buf(100, '#'); for(int i=0; i<A-1; i++...
d19eda8067bc2a66873c46df0e1dfbfc62b00054
174fe4fd09e680cc6a49f97505a77c44ba6d8f10
/NodePrac.cpp
567ed3751396e25250bec2493978797b4f924201
[]
no_license
will-I-amor/isWellFormed
085ab88d1d767c8818a8b899998422d436593f3b
14693e7dcb9a611b7dd9a90db6781a5faffc1740
refs/heads/master
2021-01-10T02:15:03.941925
2017-09-18T17:42:10
2017-09-18T17:42:10
44,708,866
0
0
null
null
null
null
UTF-8
C++
false
false
469
cpp
NodePrac.cpp
#include <iostream> #include <list> using namespace std; struct Node{ Node* next; string payload; Node(string pl="", Node* n_ptr=NULL):payload(pl),next(n_ptr){}; }; void print_list(Node* ptr){ while (ptr!=NULL){ cout<<ptr->payload<<" "; ptr = ptr->next; } cout<<endl; } int main(){ //从后往前写 Node* head = new N...
50bb95c71241a4c1758e1860bef7440984101a25
3959bcbc7d82c4db8a17a33de4a4b0c5a444a300
/ak/net2/AKServer2.cpp
fc7726a8153e14ea3dd30bd4cb09224f7bca736b
[]
no_license
daxingyou/akserver
727ecb906ff1d1d425885a4d5129620f37d710b8
50d7de23bc7fc2a3c26850addb20235bdc4bdd83
refs/heads/master
2023-03-15T12:34:45.957891
2019-02-13T05:33:10
2019-02-13T05:33:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,982
cpp
AKServer2.cpp
#include "ak.h" #include "AKServer2.h" namespace ak { namespace net2 { class AKServerSession; AKServer2::AKServer2(boost::asio::io_service& io,uint16 port,ak::AKCore *core): io(io), acceptor(io,boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(),port)), ...
24304500d92d5971193716a3ba74b46352373691
b170f9a4a31191c87af3fc88e0ebebb2057114b0
/TerrainSDK/vtdata/Vocab.cpp
ce6a67621b39e2e0d0345b85154156f7fb9955e7
[ "MIT" ]
permissive
kamalsirsa/vtp
b24dd50a023f4fb0da48270a033af40b929388f5
36578e121656cb7600d1f0ee4c1cb05b1e385a4d
refs/heads/master
2021-01-21T03:07:50.273296
2013-01-21T00:58:54
2013-07-04T19:25:11
37,513,536
3
1
null
2015-06-16T06:56:19
2015-06-16T06:56:19
null
UTF-8
C++
false
false
12,377
cpp
Vocab.cpp
/* * Test code. Very rough. Just throwing around an idea here. */ /* Some examples of the kind of word input we might expect to handle, using Editing of Buildings is the example subject. Selection of whole objects will be with mouse, not words, but sub-parts of buildings have their own selection. "Sele...
e9a5d12e025f9145c6b1e20ecd86fd66f4d2ade0
87a0547acd944a877741e32233f973b02f7f56bc
/LeetCode/src/tree/binaryTreeInorderTraversal/BinaryTreeInorderTraversal.cpp
f647eec397c6bf8336530b23b50570d60f29e513
[]
no_license
OscarShen/LeetCode
bede3330851dc1149238cbb07586fe4f3a0fb739
3d5910413753ab19a3e1c2baa913ce9dec150b14
refs/heads/master
2020-05-21T13:47:55.137289
2017-03-14T14:43:52
2017-03-14T14:43:52
61,470,121
0
0
null
null
null
null
UTF-8
C++
false
false
703
cpp
BinaryTreeInorderTraversal.cpp
#include <vector> #include <stack> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} }; class Solution { public: vector<int> inorderTraversal(TreeNode* root) { vector<int> res; TreeNode* p = root; stack<TreeNode*> s; ...
d1e318a110a942959fc76073cbf9b8bb54b283c6
08cde8de37c109b7ee222d01c371b31cdba013b7
/stl_function/Vector.cpp
9016933415d8a13a08ae4cea1eb2c4a93d72da58
[]
no_license
ayanchyaziz123/all-competitive-programming-documents-and-problem-solving
6ec534e70ccc78c7744cb662899ca4639bb047f5
cebc6a6e596a00d4e69d41927f672f82241ef402
refs/heads/master
2023-07-12T07:03:48.966461
2021-08-21T13:53:51
2021-08-21T13:53:51
289,900,378
1
0
null
null
null
null
UTF-8
C++
false
false
361
cpp
Vector.cpp
#include <bits/stdc++.h> using namespace std; int main() { vector<int> arr(5, 0); arr.push_back(10); //add a element in tail for (int i = 0; i < 6; i++) { cout << arr[i] << " "; } cout << endl; vector<char> ch = {'a', 'b', 'c'}; for (int i = 0; i < 3; i++) { cou...
41cb0f811b494bc0b2d357ada47852ee156c65c7
94cd12ac9b4d3e80532619d9a41b3bedc12749e4
/201912-1.cpp
4281518b16569c302d7c328e71df1a5c1815ee4a
[ "MIT" ]
permissive
ZubinGou/CCF-CSP
0dfc83b32d6988d0740ed85dba3b17c10651a949
6d8b8de66c4ffc6c058efdf021e3a546fccdea44
refs/heads/main
2023-03-31T14:07:42.382356
2021-04-10T05:53:41
2021-04-10T05:53:41
352,284,372
0
0
null
null
null
null
UTF-8
C++
false
false
529
cpp
201912-1.cpp
#include <iostream> #include <vector> using namespace std; bool has_seven(int num) { while (num) { if (num % 10 == 7) return true; num /= 10; } return false; } int main() { int n; cin >> n; int i = 0, count = 0, j = 0; vector<int> res(4, 0); while (count < ...
2af619beed8504d76f5a2a5b10e6144d801b1824
2771893a93bdf0b9c2d06d78c9099f7c92e92709
/c++/075-SetColors.cpp
e8d20f8494d48ff00ee7cb7fa8de7c1b74bad43b
[]
no_license
tangzecn/leetcode
2144ba31727ca6f2c81c537ab41ef4ba400564b6
1a5ebb9c036bea4910002a6dfa260804193134b7
refs/heads/master
2021-06-08T13:03:33.641424
2017-06-07T22:23:00
2017-06-07T22:23:00
28,834,674
1
1
null
null
null
null
UTF-8
C++
false
false
751
cpp
075-SetColors.cpp
#include<iostream> using namespace std; class Solution { public: void sortColors(int A[], int n) { int red = 0; int blue = n - 1; while (red < n && A[red] == 0) red++; while (blue >= 0 && A[blue] == 2) blue--; int index = red; while (index <= blue) { ...
6e1a522de4acf3e89481afd4066a5bea094dc0f2
51635684d03e47ebad12b8872ff469b83f36aa52
/external/gcc-12.1.0/libstdc++-v3/testsuite/22_locale/numpunct/members/wchar_t/1.cc
5df60e4f7758d920ecebde8bf58b1d1a9062e06e
[ "LGPL-2.1-only", "GPL-3.0-only", "GCC-exception-3.1", "GPL-2.0-only", "LGPL-3.0-only", "LGPL-2.0-or-later", "Zlib", "LicenseRef-scancode-public-domain" ]
permissive
zhmu/ananas
8fb48ddfe3582f85ff39184fc7a3c58725fe731a
30850c1639f03bccbfb2f2b03361792cc8fae52e
refs/heads/master
2022-06-25T10:44:46.256604
2022-06-12T17:04:40
2022-06-12T17:04:40
30,108,381
59
8
Zlib
2021-09-26T17:30:30
2015-01-31T09:44:33
C
UTF-8
C++
false
false
1,497
cc
1.cc
// 2001-01-17 Benjamin Kosnik <bkoz@redhat.com> // Copyright (C) 2001-2022 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 Sof...
d40d6e3b102018cbc518b5063ef1fe44e8759646
9436849e6f1b611035f823fdca7892d9fe4d66b7
/src/console.cpp
8240011b0a2283f20dc192783776b25985fb053c
[]
no_license
colbyhall/shader_playground
bde795cc22ccff36ed8a9226960776931d1566b2
51c163858dcf1734ac7dcb46134a1331ff1c7756
refs/heads/master
2022-03-11T20:52:57.277337
2019-11-10T02:23:52
2019-11-10T02:23:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,497
cpp
console.cpp
#include "console.h" #include "draw.h" #include "input.h" #include "app.h" #include "font.h" #include <ch_stl/math.h> #include <ch_stl/array.h> #include <ch_stl/time.h> #include <ch_stl/gap_buffer.h> #include "console_commands.h" #include <stdio.h> #include <stdarg.h> enum Console_State { CS_Closed, CS_Small, CS...
b76809230206aa6edf9a87ff8c831edad6110b53
dd8177d820f8ca354ae2827ee8d12c9651bfc6c8
/FarewellParty/FarewellParty.cpp
b188aff0bfc6db079e74f1a7e75eaf9d4ec12526
[]
no_license
suresh-yetukuri/SI-Practice
d53d9d26e3d9497244f7915eed96f35349b18587
ba11d3f71463681b849d2f127a6967833fe98b29
refs/heads/master
2022-10-11T21:37:55.516778
2020-06-08T23:54:54
2020-06-08T23:54:54
245,960,273
0
0
null
null
null
null
UTF-8
C++
false
false
2,413
cpp
FarewellParty.cpp
// FarewellParty.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <vector> #include <algorithm> using namespace std; int GetRoomCountRequired(vector<int>& oStartInterval, vector<int>& oEndInterval, int nTotalGuest) { int oMinRoomReq = INT_MIN;...
916548a1700b8472e432618f33b8ed5d27d4884d
c3d4f43717d0c098a9bb99f1c60d0688f5057e1d
/baekjoon/Pylons.cpp
cc754ea7e938c27ce7ef51db9202b0083e0c46bf
[]
no_license
moneymaniacteam/algorithm
96701ab7e140ec26c7363fccd1929c8e948319ff
516175e33bc1d42d556fa43bf1fce0725eaa12c4
refs/heads/main
2023-05-05T12:28:20.234649
2021-05-25T16:56:30
2021-05-25T16:56:30
362,050,705
0
0
null
2021-04-27T09:13:19
2021-04-27T09:13:18
null
UTF-8
C++
false
false
2,255
cpp
Pylons.cpp
#include <bits/stdc++.h> using namespace std; #define INF 987654321 #define FOR(var, start, to) for(int var = start; var < to; var++) #define MAX(a, b) ((a > b) ? a : b) #define MIN(a, b) ((a < b) ? a : b) #define MAX3(a, b, c) MAX(a, MAX(b, c)) #define MIN3(a, b, c) MIN(a, MIN(b, c)) #define ABS(a) ((a < 0) ? -a : a) ...
d6b290e859b0a0c287fc36580ef61a16602c9e66
e23b80244aa29d0c4d8637cd4afaa670cc6fafce
/PathTracer/Material.h
5c8e2f37e5c6cad4c33892abc1445114a67c5bf5
[]
no_license
WeixuchenZJU/BakingProject
13b0863435167dd7666bfaeaa6876933f6ef9d6c
1476cfa8d9196a269affc37a1ca1868bb85d1dd0
refs/heads/master
2021-04-06T01:18:43.090998
2018-04-14T10:33:27
2018-04-14T10:33:27
125,146,010
0
0
null
null
null
null
UTF-8
C++
false
false
1,113
h
Material.h
#pragma once #include <glm/glm.hpp> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> class Material { public: Material(glm::vec3 kd = glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3 ka = glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3 Tf = glm::vec3(1.0f, 1.0f, 1.0f) , glm::vec3 ks = glm::vec3(0.0f, 0.0f, ...
150a5c8d49fb8f843bb18b173860d10906320b65
0b47bcea33ef029d5387540f01030b117053397d
/ADHOCincrese_decrese.cpp
be4942b78725c71a878235fe9ec7c9b5a0b70ce6
[]
no_license
ank219/CompetativePrograming
b1b9dd7ef817abb4d0182c55e1cf85f3b97c2c13
5dc70a0a471ccb7dc0c8b390d605e319e5d3c98a
refs/heads/master
2020-04-01T08:04:46.691588
2019-07-04T10:05:41
2019-07-04T10:05:41
153,016,810
0
0
null
null
null
null
UTF-8
C++
false
false
477
cpp
ADHOCincrese_decrese.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; bool check_pos=true,split_pos=true; int first; cin>>first; for(int i=0;i<n;i++) { int val; cin>>val; if(!(val<first)) check_pos=false; else if(!(val>first))...
0715facf702a4ff88e42b0c7c29bb232df0526e8
8c942837d35c0577465ff9d4be83b58ad8085244
/src/node/ReluTest.cpp
042bf296cb9d911364ed4b8e439a771e6bd42980
[]
no_license
ArthurSonzogni/WebNeural
4a4adf9621e88328b57d5d2852d42614f492dfef
6db762de0a7344bcae4c6069f58e8ebfe0957c0f
refs/heads/master
2021-01-06T21:15:11.923372
2018-12-30T16:33:34
2018-12-30T16:33:34
241,482,401
0
0
null
null
null
null
UTF-8
C++
false
false
1,080
cpp
ReluTest.cpp
#include <cmath> #include "node/Input.hpp" #include "node/Linear.hpp" #include "node/Softmax.hpp" #include "node/Relu.hpp" #include "Model.hpp" #include "gtest/gtest.h" namespace { Tensor xor_function(Tensor& input) { Tensor ret({2,1,1}); if ((input[0] > 0.0) == (input[1] > 0.0)) ret[0] = 1.0; else ret[...
1510287dd9f81383e6f5b184b686d69ccef47eb0
eab73a7acf3194b5d9f095aade9ca83ba2e9c5cb
/src/WMIMapper/WMIProvider/MyString.h
90f51b70ee2d3e4cf5a2171230d10658bb74c075
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive" ]
permissive
edwardt/Pegasus-2.5
f1af8e7c546d1ae50bbcbd0b5af752b111b5d895
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
refs/heads/master
2022-03-17T17:34:46.748653
2013-07-23T13:21:50
2013-07-23T13:21:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,581
h
MyString.h
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
26019a9e87777e8f9623917d899d3575053cbb1c
64aca0dda6624b956cac6d22d892d6416476e814
/Heap_Priority_Queue/heap_STL.cpp
df8800e0d387db49945532eb95d6ecea45e364ef
[]
no_license
Darkknight1299/C-plus-plus
c772331a87ab36fb01036703370b1108d8aff901
0255dfa1609401234eb627463f1e7d0a3058b684
refs/heads/main
2023-06-24T11:05:55.068853
2021-07-20T12:59:48
2021-07-20T12:59:48
344,157,787
0
0
null
null
null
null
UTF-8
C++
false
false
461
cpp
heap_STL.cpp
#include<bits/stdc++.h> #include<queue> using namespace std; int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif // code starts priority_queue<int> pq; //max heap, for minHeap- priority_queue<int,vector<int>,greater<int>> pq fo...
40211beb03f68202e69386ddae6fc220217fb52a
49abb58c40577ce4470cca16034cf03ff0f94f7c
/C++/cisco/CPA/lab/cpa_lab_5_3_10__6/lab_5_3_10__6.cpp
59020080cd33d252631074bf367db7830b1a2390
[ "MIT" ]
permissive
stablestud/trainee
196c3e64920adc8278bd2f06430b6e357091c2a7
72e18117e98ab4854e9271c2534e91cf39c42042
refs/heads/master
2022-08-11T11:52:26.099642
2022-07-30T22:45:56
2022-07-30T22:45:56
130,486,168
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
lab_5_3_10__6.cpp
#include <iostream> #include <string> #include "Fraction.h" int main (void) { int numerator, denominator; std::string trash; std::cin >> numerator >> trash >> denominator; Fraction fraction1 ( numerator, denominator ); std::cin >> numerator >> trash >> denominator; Fraction fraction2 ( numerator, denominato...
daf0f07e5818e71dfe930683ce40ba536ecb4178
62a59ca4fd181b6ee3758903ba656c14542fde72
/Server/GDouDiZhuServer/src/DDZPlayerCard.cpp
f0241c036280839f0733c689c0055318cc1a23f8
[]
no_license
BillXu/XProject
dc4f277db0b9e8c73c561dca68ee6d86e8cb2db3
e1ebec2b930971efb8fc822f4107d836d311518a
refs/heads/master
2021-01-19T22:44:28.542648
2018-04-10T12:06:35
2018-04-10T12:06:35
88,851,690
1
0
null
null
null
null
UTF-8
C++
false
false
1,654
cpp
DDZPlayerCard.cpp
#include "DDZPlayerCard.h" #include "DDZFindCardTypeForChu.h" void DDZPlayerCard::reset() { m_vHoldCards.clear(); m_vLastChu.clear(); m_nChuedCardTimes = 0; } void DDZPlayerCard::addHoldCard(uint8_t nCard) { m_vHoldCards.push_back(nCard); } bool DDZPlayerCard::onChuCard(std::vector<uint8_t>& vCards) { std::vecto...
1e81e9f8c485a568c2ef721830f7ab7ae0eea914
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
/main/reportdesign/source/core/api/FixedLine.cxx
bea9fca9e8cf0e14ca837b3383c3772fe9fd07dd
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", ...
permissive
apache/openoffice
b9518e36d784898c6c2ea3ebd44458a5e47825bb
681286523c50f34f13f05f7b87ce0c70e28295de
refs/heads/trunk
2023-08-30T15:25:48.357535
2023-08-28T19:50:26
2023-08-28T19:50:26
14,357,669
907
379
Apache-2.0
2023-08-16T20:49:37
2013-11-13T08:00:13
C++
UTF-8
C++
false
false
26,644
cxx
FixedLine.cxx
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
bb555fb33fa939b4de6b3083c81c504dde47f77e
d6f40b1d1b1d572d29efef2627aa22123cb18fe0
/lib/lightweaver-core/LightWeaver/Features.h
d9130ec3d9ccef0e39bcd893b43d4c1cda851ffc
[]
no_license
Oelderoth/LightWeaver-Module
c6746339da89536c9e006f11044f75be254d76f5
d6ddcc97e9d3eac62ca8efb099461f83dd1a82cf
refs/heads/master
2022-04-10T12:39:14.158955
2020-04-11T08:15:33
2020-04-11T08:15:33
248,660,374
0
0
null
null
null
null
UTF-8
C++
false
false
258
h
Features.h
#pragma once namespace LightWeaver { /** * Flags representing the supported functionality of a given LED Driver */ enum SupportedFeature { BRIGHTNESS = 1, COLOR = 2, ANIMATION = 4, ADDRESSABLE = 8 }; };
0f05f76dd3c3235a0103449c76c168c706c5a562
005cb1c69358d301f72c6a6890ffeb430573c1a1
/Pods/Headers/Private/GeoFeatures/boost/geometry/algorithms/union.hpp
8c1b777ba0251901c74e2b1f2a8f41683d1c433c
[ "Apache-2.0" ]
permissive
TheClimateCorporation/DemoCLUs
05588dcca687cc5854755fad72f07759f81fe673
f343da9b41807694055151a721b497cf6267f829
refs/heads/master
2021-01-10T15:10:06.021498
2016-04-19T20:31:34
2016-04-19T20:31:34
51,960,444
0
0
null
null
null
null
UTF-8
C++
false
false
77
hpp
union.hpp
../../../../../../GeoFeatures/GeoFeatures/boost/geometry/algorithms/union.hpp
7015728ec23289f71c2392afb1c6125fd64d85ad
97aa21e75ca782153bea2c1ba2490da4aeff5ad2
/LCS/LCS_Length_&_LCS.cpp
d6aa1a382ee882b18de89c7e0c9ce16fc812ad5a
[]
no_license
abdullah624/Algo-Design-and-Analysis
3a498b8d4e5f683dfc081d7248bf3c2a86ab4960
09f6586aaad59d96b2caeaebb92ff7c16353e31d
refs/heads/master
2020-06-19T17:31:38.564822
2019-09-15T04:23:07
2019-09-15T04:23:07
196,803,008
0
0
null
null
null
null
UTF-8
C++
false
false
717
cpp
LCS_Length_&_LCS.cpp
#include<bits/stdc++.h> using namespace std; int main() { string s1, s2; cin>>s1>>s2; int m, n; m = s1.size(); n = s2.size(); int l[m+1][n+1]={}; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++) { if(s1[i-1] == s2[j-1]) l[i][j] = l[i-1][j-1] + 1; else l[i][j] = max(l[i-1][j],l[i][j-1])...
2039dd97b3ca9efca80eb6b7f2356ba5ebc2fe72
aabb7cebb80b6b5f319e4d41bb5a1cc80dfa3d98
/src/dbc/service/node_request_service/data_query_service.h
cdd28e3c6441614e0df87aa0d331311d85a95fe4
[]
no_license
sbnair/DBC-AIComputingNet
cc68a5721f6d242f3820e836bf66041ca6354434
4ef84d7bdd375df6793dc66130b58c769b187778
refs/heads/master
2023-07-31T01:48:54.936853
2021-08-14T04:34:30
2021-08-14T04:34:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,424
h
data_query_service.h
#ifndef DBC_DATA_QUERY_SERVICE_H #define DBC_DATA_QUERY_SERVICE_H #include <boost/asio.hpp> #include <string> #include "service_module/service_module.h" #include "network/handler_create_functor.h" #include "data/node_info/service_info_collection.h" #include "data/node_info/node_info_collection.h" #include "../message/...
4cf2012aef2acd386f6b5ae939d9c610cf3ddf43
3a90df4655a9bfcc01df3fbf0e8ef5081794736c
/PRACTICE/fact_Test.cpp
29973227829d44cf5ae48c587d647c398baae2f3
[ "MIT" ]
permissive
prasantmahato/CP-Practice
0442434665603496b3e79741476c0a30855be214
54ca79117fcb0e2722bfbd1007b972a3874bef03
refs/heads/master
2023-01-03T04:41:22.672625
2020-10-26T16:52:37
2020-10-26T16:52:37
300,133,429
0
0
null
null
null
null
UTF-8
C++
false
false
1,169
cpp
fact_Test.cpp
#include <iostream> #include <string.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin>>t; while(t--){ int n; cin>>n; int ans1[160]; memset(ans1, 0, sizeof(ans1)); int ans2[160]; memset(ans2, 0, sizeof(ans2)); ans1[0] = 1;...
68c89fb0dea1310ef761ace374ade9dc9a200554
eac0a13fea8acd3ee5d8c6bd72b97f39102c6337
/ObjectOrientedProgramming/OOP_nanotekspice_2019/src/check_links.cpp
f0eeb81d71ce8dba48a733e043e758c280fe91d5
[]
no_license
Jean-MichelGRONDIN/EPITECH_Tek2_Projects
ddb022cc6dafd9c3d8d1e8b17bad8de108a0cd2c
eb4621bb747b1f2cca3edfe993fefef4b564835f
refs/heads/master
2023-01-04T13:12:21.670186
2020-10-23T06:16:50
2020-10-23T06:16:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
846
cpp
check_links.cpp
/* ** EPITECH PROJECT, 2020 ** OOP_nanotekspice_2019 ** File description: ** check_links */ #include "../include/nanotekspice.hpp" static bool check_if_linked( std::string obj_name, std::vector<nts::Cable>& links) { for (auto& tmp : links) { if (tmp.getOut()->getName().compare(obj_name) == 0 || ...
51aacc8f3a778c438d72ee099b299716fd569458
14dacc389911c4aba0bb42b3f01df75dbba2ad38
/algorithms/src/assignment-merge-sort.cpp
a4893b07bcd45aa4e2fe71bf21eab2d1491acade
[]
no_license
RaymondSHANG/cpp_from_control_to_objects_8e
9fe5142c6a7890743ffdc4a22f7ae4f8bb588c60
ba537974d5d7b7012ae659368f1887f739e50c3b
refs/heads/master
2023-04-17T06:20:55.635444
2021-04-16T01:22:13
2021-04-16T01:22:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,484
cpp
assignment-merge-sort.cpp
/*Write a function that merges two sorted array-based lists into one sorted array-based list. The function takes two arrays as parameters, each holding a sorted list of integers, merges them into a single sorted list, and returns the result. Note that this function performs the merge part of the merge sort algo...
bfc350f197cdd94372f84a660c92e2cedd6c1bb3
d86dee3a88a619603bd3b7ea265373d1f6fb71cc
/Evaluator/o59_oct_c2_triangle_v2.cpp
1e375b27ed59931867c2d83682e6a30a3dd29a04
[]
no_license
vzsky/submissions
17ca8b096450170cc077b70a9efb4c7d7e21479d
78211da43e9b51b98bb7f42a294330507af92a65
refs/heads/master
2023-04-02T03:44:04.193078
2021-04-19T05:57:52
2021-04-19T05:57:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
609
cpp
o59_oct_c2_triangle_v2.cpp
#include <bits/stdc++.h> using namespace std; const int N = 101; const int MOD = 1e9 + 7; int n,k; long long dp[N][N]; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n >> k; for(int i = 0;i <= n;i++) dp[0][i] = dp[i][0] = 1; for(int i = 1;i <= n;i++) for(int j = 1;j <= n;j++) { ...
322f68d682906fb4aa154ee06b63e2836558a242
9c2b3d399f22b640d61b49c5b0f7bcf9f5f2614b
/tetris3d/main.cpp
a3cb1bff4d64b014201a0e3aac8ff040c7ac2104
[]
no_license
victoriazakharo/Tetris-3D
96804f82f134621a8c69341d68bf77e8dec2932a
698e7d835ffbd047eee2ded384f49471b10ca355
refs/heads/master
2021-01-17T10:51:53.916404
2016-07-03T15:58:12
2016-07-03T15:58:12
62,503,999
2
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
main.cpp
#include "Window.h" int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR lpCmdLine, int nCmdShow) { bool fullscreen = true; Window window(hInstance); if (!window.Show(fullscreen)) { return -1; } window.RunGame(); BOOL done = false; MSG msg; while (!done) { if (PeekMessage(&msg, nullpt...
b022b847841e35c877070d951b888ccf6079f10b
3fe13e073d1a7c3e8beacc71f1570fc8a2ec8692
/src/tlbst/updl24.inc
274c6bb0af753c79e5e4f14fefd52e4e4bbcd66d
[ "MIT" ]
permissive
jerebenitez/IFE-simpact-openfoam
7dbba4ae7ec3aa518277d7fa5f6e0fab42a2cd48
2dbcbf3195b22fca1c80ad0da6b3822b6cad5cdf
refs/heads/master
2021-06-17T09:28:47.097398
2021-06-14T21:16:39
2021-06-14T21:16:39
205,249,068
0
0
null
null
null
null
UTF-8
C++
false
false
2,294
inc
updl24.inc
SUBROUTINE updl24(elset,oldlb) !****************************************************************** ! !*** updates internal node numbering ! !****************************************************************** IMPLICIT NONE ! dummy arguments INTEGER (kind=4):: oldlb(:) !(IN) previous strategy nodal labels ...