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
0ea0e7d1872b63f6fd2845d41b8557370a798987
3058de21ed33db262d3cf611fc1281457b601528
/include/gaia_ctn_avltree.h
9ecc726e166053c50a7a67f83c9fdd2305f67214
[]
no_license
Armterla/GAIA
6a24f1f421d5cdb84c7c9f3938bc70240bf92f02
7e2e78b0f33f3e209a7a1019bb2d810ca491ebbc
refs/heads/master
2021-01-19T11:39:56.389573
2017-09-27T12:08:52
2017-09-27T12:08:52
82,270,136
2
5
null
2017-09-27T12:08:53
2017-02-17T07:33:26
C
UTF-8
C++
false
false
24,118
h
gaia_ctn_avltree.h
#ifndef __GAIA_CTN_AVLTREE_H__ #define __GAIA_CTN_AVLTREE_H__ #include "gaia_type.h" #include "gaia_assert.h" #include "gaia_iterator.h" #include "gaia_algo_extend.h" #include "gaia_ctn_pool.h" namespace GAIA { namespace CTN { template<typename _DataType, typename _SizeType, typename _HeightType, typename _Exte...
e2c9c92cfd115cb81080611618eabee02ce8359c
0892a175b1740f2ac638249bb9eab52f2f2c5760
/Demo1/24 set容器.cpp
64059539a83814fdc5a7116b9581fc5ee3553348
[]
no_license
xiaomohaa/Demo1
a38291784eab27a2f3cb90597ffd06d9b6f8a61e
3ef6747845fdd9dbdda0e7200813d73ba3c7e2b1
refs/heads/master
2023-02-21T02:26:05.121917
2021-01-25T07:35:53
2021-01-25T07:35:53
308,578,908
0
0
null
null
null
null
GB18030
C++
false
false
2,826
cpp
24 set容器.cpp
// ///* set/ multiset 容器 //* @ set 基本概念 //* > 简介 //* - 所有元素都会在插入时自动被排序 //* > 本质 //* - set/multiset属于关联式容器,底层结构是用二叉树实现。 //* > set 和 multiset 区别 //* - set 不允许容器中有重复的元素 //* - multiset 允许容器中有重复的元素 //* @ set 构造和赋值 //* > 功能描述 //* - 创建set容器以及赋值 //* > 构造 //* - set<T> st; // 默认构造函数 //* - set(const set &s...
8553188718e99edeeeacb94f26a76732a34551c4
4a379b4cd84665ef6b1ac91e5a70af60488cdf78
/qt_project/PaintMaze/level1.cpp
205988340e8fc25654695ece90ab8142fbd1a90d
[]
no_license
mchavaillaz/cplusplus
d2af864f01f6a5a1d59b91505ec4ff4fda57a054
f461c5e222e5862061e3c4842aae62d8e55c7948
refs/heads/master
2020-12-30T11:15:15.339456
2014-04-13T13:26:22
2014-04-13T13:26:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,646
cpp
level1.cpp
#include "level1.h" #include <QVector3D> #include "wall.h" #include "endobject.h" Level1::Level1() { this->timeLimitMillis = 3 * 60 * 1000; // 1 minute fillListFormNonCollidable(); fillListFormCollidable(); } void Level1::fillListFormNonCollidable() { } void Level1::fillListFormCollidable() { double...
e092188e18fc23ee8c53cb327a36f53b42a34412
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/make/old_hunk_1418.cpp
853e3abef175e58e6b0c38f0718954132c4c422b
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
260
cpp
old_hunk_1418.cpp
if (!must_make) { DEBUGPR ("No need to remake target `%s'.\n"); notice_finished_file (file); return 0; } DEBUGPR ("Must remake target `%s'.\n"); /* Now, take appropriate actions to remake the file. */ remake_file (file);
cb904277359787ee1bcd3b0c07e3807a8878c943
04cfaa229151ec3686fcb17e43c8a29fa496eb46
/behavioral/command.cpp
7daa0fc77dd626dcb44efc91fa6fa2c41b6ab1be
[]
no_license
kokoslik/patterns
2051ab4765b00ec04595af8337d2e9caa9c7c192
108b881f031a022d8274508f46f3614bf1466683
refs/heads/master
2021-01-21T11:00:23.102504
2018-03-27T18:13:54
2018-03-27T18:13:54
91,717,078
0
0
null
null
null
null
UTF-8
C++
false
false
1,215
cpp
command.cpp
#include <iostream> #include <vector> #include <map> using namespace std; class VectorWrapper { private: vector<int> vec; public: VectorWrapper() = default; void push_back() { cout<<"Enter number: "; int a; cin>>a; vec.push_back(a); } void pop_back() { ...
201b9a083389e068128ef8b9a4a8eb538b3bcc72
f7524a76f5a6fba87ad13348d604df2e19e2c0f7
/CodeChef/Xor Equality.cpp
a7a08db1e71ba96936cbb89e2f77b3f7e4fd5367
[]
no_license
Ravi2155/competitive_coding
2a484bdc8fc061f366a26274983a81a05b17876b
90a1e4dbe590750eed69cbbd27a55369b30e797a
refs/heads/main
2023-06-04T20:32:42.476668
2021-06-27T19:06:26
2021-06-27T19:06:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,893
cpp
Xor Equality.cpp
/* Solution by Rahul Surana *********************************************************** For a given N, find the number of ways to choose an integer x from the range [0,2N−1] such that x⊕(x+1)=(x+2)⊕(x+3), where ⊕ denotes the bitwise XOR operator. Since the number of valid x can be large, output it modul...
35850cbb59656f6258a10e460ae0b8e4768886ea
c1f57795226874ba346cf14f586beb5e0faae440
/lib/Pitch/Yin/difference.cpp
41aa20b4d12c786ffc983988e20d043d601745cc
[ "MIT" ]
permissive
ForeverRainbow/speech-analysis
1b3658bea94b64d108c722affdab17ebb12f956e
1758655b9202c1c17b06049396672bf4eb63f264
refs/heads/master
2021-05-23T12:59:51.672157
2020-04-27T18:28:52
2020-04-27T18:28:52
253,298,283
0
0
MIT
2020-04-05T17:59:06
2020-04-05T17:59:05
null
UTF-8
C++
false
false
329
cpp
difference.cpp
#include "YIN.h" using namespace Eigen; ArrayXd YIN::difference(const ArrayXd & x) { const int N = x.size(); ArrayXd acorr = autocorrelation(x); ArrayXd yin_buffer(N / 2); for (int tau = 0; tau < N / 2; ++tau) { yin_buffer(tau) = acorr(0) + acorr(1) - 2 * acorr(tau); } return yin_b...
6c8ef3b6764b8b47b34723245bad707082b0109a
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_old_hunk_2308.cpp
c8f6d38209a3ce190f38da4297f437c9d9efb5f0
[]
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
575
cpp
httpd_old_hunk_2308.cpp
"attempt to include NPH CGI script"); #if defined(OS2) || defined(WIN32) #error mod_cgid does not work on this platform. If you teach it to, look #error at mod_cgi.c for required code in this path. #else if (r->finfo.filetype == 0) return log_scripterror(r, conf, HTTP_NOT_FO...
0ebfe05e8277c104782ec09281fc0ec389fcf037
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/contest/1542587474.cpp
8deea3613e304894bf76569295e39419e328887a
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
743
cpp
1542587474.cpp
#include <bits/stdc++.h> using namespace std; map<int,int>m; set<int>s; pair<int,int>p; int n,x,y,c,k=10; int main() { string a[1000]; string g,v; cin>>g; cin>>n; for(int q=0;q<n;q++) cin>>a[q]; while(k--) { for(int i=0;i<n;i++) { v=a[i]; if (v[0]==g[0...
d3d0cd919b76d94b5a455463a8ea65c5dfb04d34
66934b2e78e7b7667334e94b7c8f64f10810e8cd
/sniffer.cpp
9a1529690498bff750a5c3f4450ce27ff1bca4bd
[]
no_license
itamarmaouda101/packet_sniffer
0071aada1ac8beecfa11e104c4127886e575d288
f15053c27941eb484834a5ffc27f22bafe455332
refs/heads/master
2022-12-01T17:58:13.852754
2020-08-18T11:25:50
2020-08-18T11:25:50
285,844,557
0
0
null
null
null
null
UTF-8
C++
false
false
6,336
cpp
sniffer.cpp
/* * Simple Sniffer * * Simple program to illustrate how to use the Sniffer class */ #include <iostream> #include <string.h> #include "httpLib.hpp" #include "sshLib.hpp" #include <map> #include "ftpLib.hpp" #include "EthernetLibs.hpp" #include <crafter.h> #include <bits/stdc++.h> using namespace std; using namesp...
c6c0b2b7761b635f9c3e1e014fe22e38c421d8c8
7b1bec06083bbc6cc79f311f9cab44479995d8df
/App2.3/App2.3/App2.3.cpp
6649943e4f122014945b5965ea6a331e5b3456bb
[]
no_license
abhi1561/CTCI
f3fc46674dd8ddcc45a97b06f9b0ccb3e23c7750
979feb4df4d87c5889c2de882a900642d7c16edf
refs/heads/master
2020-05-03T16:15:38.780712
2019-05-08T03:06:43
2019-05-08T03:06:59
178,719,234
0
0
null
null
null
null
UTF-8
C++
false
false
851
cpp
App2.3.cpp
// App2.3.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "malloc.h" struct ll { int data; ll *next; }; ll* head; void DeleteMiddleNode(ll* llhead) { if ((llhead == NULL) || (llhead->next == NULL) ||(llhead->next->next == NULL)) return; ll* onehop = llhead; ll* dbhop...
79ebf2a5be02dd1b79c10cf65ac5d31df78ab31c
8e039772af95cba7b797011d15094d22a1c99057
/src/firmware-tests/Platform/Timer0/PollAfterTimer0Mock.inc
37d1dc2950cc5aec8a3b3fb5ac33e4f880956ef2
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
pete-restall/Cluck2Sesame-Prototype
44823861721bc9e8fb23ce4f71f376c49f53a64c
99119b6748847a7b6aeadc4bee42cbed726f7fdc
refs/heads/master
2021-09-13T11:42:31.684365
2018-04-29T07:40:19
2018-04-29T07:40:19
61,883,020
1
0
null
null
null
null
UTF-8
C++
false
false
218
inc
PollAfterTimer0Mock.inc
#ifndef __CLUCK2SESAME_TESTS_PLATFORM_TIMER0_POLLAFTERTIMER0MOCK_INC #define __CLUCK2SESAME_TESTS_PLATFORM_TIMER0_POLLAFTERTIMER0MOCK_INC extern initialisePollAfterTimer0Mock extern calledPollAfterTimer0 #endif
0331d7ac14b4ce8367bbdb1b00c37df72440e8f1
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/pdf/draw_utils/coordinates_unittest.cc
07dee79f501ee2758c15aa15177540b3d2206d38
[ "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
11,789
cc
coordinates_unittest.cc
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "pdf/draw_utils/coordinates.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/geometry/point.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/ge...
434c4c6d5b689705dd68a6a98be7ba3800599d90
18130a67a65b1d6620c6b6e21b545362f523475a
/2021_3/day25-Pacific Atlantic Water Flow/C++/Pacific Atlantic Water Flow.cpp
d3e657e689e41dbbe17a4416725e4e6a1289f727
[]
no_license
Mealf/LeetCode
00bb32366cbf6d2b8a4094b7a2eb7db597fd6723
0f2b22134c2e06add4ac6b33c655651dbea62f0e
refs/heads/master
2023-04-01T05:13:52.066693
2021-03-31T09:57:51
2021-03-31T09:57:51
344,504,226
0
0
null
null
null
null
UTF-8
C++
false
false
2,047
cpp
Pacific Atlantic Water Flow.cpp
class Solution { public: vector<vector<int>> pacificAtlantic(vector<vector<int>>& matrix) { if(matrix.size()==0) return {}; //Pacific fill 1; Atlantic fill 2; Both fill 3(binary 11) vector<vector<int>> v(matrix.size(),vector<int>(matrix[0].size())); vect...
d610ba8b8face5bd4f41a9582eaa78bf1ecc061a
f250b150ec352905427e26cc8800b38676dead1e
/Extend/Ui.Plugins/CPP/Basic/AgUiPluginCppAddInEmbeddedWindow.cpp
b4b78ccb0d0b699535cdbcff65efff3ab17c7c55
[]
no_license
VB6Hobbyst7/SampleExamples
14874a50aeed2a19810d9bc11c6b488b3cb7c981
d826df6341c0999849d06a95ea7f266691dbf89b
refs/heads/master
2022-01-05T13:39:27.774406
2019-03-04T17:46:17
2019-03-04T17:46:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,080
cpp
AgUiPluginCppAddInEmbeddedWindow.cpp
// // This is a part of the STK Developer Kit. // Copyright (c) Analytical Graphics, Inc. All rights reserved. // // CAgUiPluginCppAddInEmbeddedWindow.cpp : implementation file // #include "AgUiPluginCppAddInStd.h" #include "AgUiPluginTutorial.h" #include "AgUiPluginCppAddInEmbeddedWindow.h" #include "AgUiP...
0be1d293a05fcaa1c8802f20c8877faaee3680b0
ad37ef79b60413aabfb36300a7f4f104f1198824
/79.cpp
3b64ac95b1c5f3723b6d0b4612f0a1029e0ab73b
[]
no_license
luyongkang/leetcode
13fe45cbd153e5b64c463d445b1b5e4ddff87129
c7eca5d9cc0b23dad9aa803939fbef03f4712641
refs/heads/main
2023-07-22T15:00:49.890576
2021-09-14T10:56:02
2021-09-14T10:56:02
389,047,844
0
0
null
null
null
null
UTF-8
C++
false
false
504
cpp
79.cpp
#include <iostream> #include <vector> #include <stack> using namespace std; void checkAround(int x, int y, vector<vector<char>> &board, stack<int> &temp, char c) { int m = board.size() - 1; int n = board.at(0).size() - 1; } bool exist(vector<vector<char>> &board, string word) { int m = board.size() - 1; int n = b...
147840b8db7d7d2b50e574e46d9a18cf833669b5
c4e2ce6e7024e50134fa7367e9e71a65b8dd4c35
/mainwindow.h
69ae1f5683d19b5958fe17727d2542c342a463ff
[]
no_license
raoleynik/unix-course-assign
26c0e548c9f1fce5133d9c93800c8181ad4e4b6e
502d33334eb83ac7a47e5f02c7e0c7a8a2d262ae
refs/heads/master
2021-03-14T18:03:12.263370
2020-05-25T21:49:52
2020-05-25T21:49:52
246,782,017
0
0
null
null
null
null
UTF-8
C++
false
false
774
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "conv_length.h" #include "conv_mass.h" #include "conv_temp.h" #include "conv_time.h" QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *p...
11fd4afee4f5d7317a2975f1c564c6244eaa331e
17ee2b4e876ca2f9b3cbabc63b0d5ee6522fb5e3
/resol.h
18ef1568bd1bd344f398d6ba1234af8f1f12488d
[]
no_license
sasq64/revoke
4de10524d105997b573ce9d06608d9f9df862c96
dee5f6f69d382fe0156fc452237f772b818d536a
refs/heads/master
2020-04-01T05:21:10.263004
2019-01-12T21:32:36
2019-01-12T21:32:36
152,899,770
0
0
null
null
null
null
UTF-8
C++
false
false
5,190
h
resol.h
#pragma once #include "revoke.h" #include "sol2/sol.hpp" #include <map> #include <string> struct CSLua { struct CSStaticCall { sol::variadic_results operator()(const sol::variadic_args va) { printf("Called with %lu args\n", va.size()); sol::variadic_results r; ...
c7b37723aa8c94bf38218cd476641f496dd0658b
0f85d3cc4e7a81cf1578e8a8501c4abdc1aeba8b
/Berlin2/Berlin2.ino
50174c178caeb5cda1ac8916840c9ad5706206f7
[]
no_license
contrechoc/arduino_scripts
2407dbc4af1135da54a728ef0a80c19e6d4be81f
f5dbc2bc8e5a5eb0667c0313c27382c1606fd5b9
refs/heads/master
2021-01-13T01:26:27.187332
2014-05-12T17:25:20
2014-05-12T17:25:20
19,707,910
1
0
null
null
null
null
UTF-8
C++
false
false
10,658
ino
Berlin2.ino
// include the library code: #include <LiquidCrystal.h> #include <avr/pgmspace.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // sine lookup table pre-calculated prog_uchar PROGMEM sinetable[256] = { 128,131,134,137,140,143,146,149,152,156,159,162,165,16...
9e4f55552ce580ff34c15933f80b815966b98e3b
9c7c58220a546d583e22f8737a59e7cc8bb206e6
/Project/MyProject/MyProject/Source/MyProject/Private/BaseFrame/Libs/Math/MWrapQuaternion.cpp
764bc70c2b6e87c906ec2f9296b7fee74a18e250
[]
no_license
SiCoYu/UE
7176f9ece890e226f21cf972e5da4c3c4c4bfe41
31722c056d40ad362e5c4a0cba53b05f51a19324
refs/heads/master
2021-03-08T05:00:32.137142
2019-07-03T12:20:25
2019-07-03T12:20:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,471
cpp
MWrapQuaternion.cpp
#include "MyProject.h" #include "MWrapQuaternion.h" #include "UtilMath.h" MY_BEGIN_NAMESPACE(MyNS) MWrapQuaternion::MWrapQuaternion() { this->mIsEulerAngleInvalid = true; this->setRotation(UtilMath::UnitQuat); } MWrapQuaternion::MWrapQuaternion(float x, float y, float z, float w) { this->mIsEulerAngleInvalid = tr...
f71e2e8f661c6f173c4e177c52143daeb23f650b
3e2b6d4966cc7d63b56d02646d891af8723683e7
/Problem.h
3dbf06d2df332fbbb7966c2cc04b4b9957b10a9d
[]
no_license
JarJarBB/TLBO
150bf8aa71de4b9af4364ad223038797aab86c33
ca843ff5925999a7c4d07217d20747de9580abd1
refs/heads/master
2021-08-27T18:00:38.435498
2021-08-25T20:02:09
2021-08-25T20:02:09
157,550,825
0
0
null
null
null
null
UTF-8
C++
false
false
1,037
h
Problem.h
#ifndef PROBLEM_H #define PROBLEM_H #include <iostream> #include <vector> using namespace std; enum fonction {Rosenbrock, Rastrigin, Ackley, Schwefel, Schaffer, Weierstrass, TheSpecialFunction}; class Problem { public: Problem(int dimension, fonction f); ~Problem(); friend ostream& operator<<(...
59d64fab8d66b0bb10ef711c492ce623640b7e97
328d6b40cd67a9ef5dfb54ce9637bc9383fa40d6
/window_issuebook.h
5802c8da5d51b6d6d530263c5ce5501cb514d969
[]
no_license
Nilsae/LibraryManagementSystem
b9b6d05e9af873aceb39be5dfce891cae026e0d0
638a79efcdbdf8970834748a9362a51b6fe70294
refs/heads/master
2023-07-18T07:08:27.950115
2021-09-12T19:00:20
2021-09-12T19:00:20
272,802,962
1
1
null
null
null
null
UTF-8
C++
false
false
439
h
window_issuebook.h
#ifndef WINDOW_ISSUEBOOK_H #define WINDOW_ISSUEBOOK_H #include <QDialog> namespace Ui { class Window_IssueBook; } class Window_IssueBook : public QDialog { Q_OBJECT public: explicit Window_IssueBook(QWidget *parent = nullptr); ~Window_IssueBook(); private slots: void on_pushButton_IssueBook_clicked...
3f141b3054a68fabb412ffb53584865d78f91916
5a64100bc513863583ce95fb835d84c027646ece
/main.cpp
1377079c49830e8327d975a1e60f5b2f7ccbb3bd
[]
no_license
JJ-NavaC/ASM-Examples
56d1ee2df7345ca558e48a94d41fb04a831ba4ea
c9cf5a8e115b304b7e7e4e82f57eb608bf54227d
refs/heads/main
2023-08-15T08:21:14.894998
2021-10-12T01:05:20
2021-10-12T01:05:20
416,134,340
0
0
null
null
null
null
UTF-8
C++
false
false
768
cpp
main.cpp
#include <stdio.h> #include <iostream> using namespace std; int main() { int a, b, add, sub, mul, quo, res; cout << "Enter 2 numbers: "; cin >> a; cin >> b; __asm__ ( "addl %%ebx, %%eax;" : "=a" (add) : "a" (a) , "b" (b) ); __asm__ ( "subl %%ebx, %%eax;" : "=a" (sub) : "a" (a) , "b" (b) ); ...
1d20a10f6d1a2b1a4b49b8bdd9e2b6065f8b8074
792c698496d15a7386c60dd3eac0a189e3ee64e7
/kadane.cpp
b567ed095d1d3ffdf43a4942893fcd1ad80872ef
[]
no_license
upeshsahu/algos-and-comp-code
72313decd5bcc2444f8bd95037a619bbb35a03f9
2022f8cba9bf27a59a79bbdf558e0e42b709a17e
refs/heads/master
2018-09-25T17:39:56.570536
2018-06-07T06:01:15
2018-06-07T06:01:15
120,885,145
2
0
null
null
null
null
UTF-8
C++
false
false
626
cpp
kadane.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int a[n]; for(int i=0;i<n;i++) cin>>a[i]; int max_ending=0, max_so_far=INT_MIN; for(int i=0;i<n;i++) { max_ending+=a[i]; if(max_ending>max_so_far) max_so_far=max_ending; if(max_ending<...
74bfa197333036c0b098bd0320d7fe8017479fbd
ed00c2a0a3844976618e6604a2c3af8d3b76c8ba
/seaweed.h
6345387de64c2aeab7ffdbc0fec54afe19b16130
[]
no_license
AurelieT1/javaquarium
9a1f382124477036bf808595ab1ca299c265584e
b41048c1f125a3ad7ddb16014715f575ee93cfa7
refs/heads/master
2016-09-01T09:18:56.317016
2016-04-19T19:32:51
2016-04-19T19:32:51
55,862,002
0
0
null
null
null
null
UTF-8
C++
false
false
286
h
seaweed.h
#ifndef SEAWEED_H #define SEAWEED_H class Seaweed { public: void addHealthPoints(unsigned i); void removeHealthPoints(unsigned i); unsigned getHealthPoints() const { return healthPoints; } private: unsigned healthPoints = 10; }; #endif // SEAWEED_H
a71a23769190646fd5e9cc51d0226731929c9c67
3d8d2e4ebe08730cbbed3edd590c3ffa0b9bb732
/Inversions in Array/naive_inversion.cpp
d8050d0658c897c7a32d3ebb9a4783210ab4e5e9
[]
no_license
InnoCentCoder5497/DSA-in-C-plus-plus
762ce2e9ccf30ac98f15f6821c4f3e737bc7ebfa
4afc9afd47c6ea9ca0fe0dad95e767d402a74d4a
refs/heads/master
2022-12-09T06:29:31.930326
2020-09-14T08:30:49
2020-09-14T08:30:49
285,457,864
3
0
null
null
null
null
UTF-8
C++
false
false
574
cpp
naive_inversion.cpp
#include<iostream> using namespace std; void print_inversions(int[], int); int main() { int arr[5] = {2, 3, 8, 6, 1}; int i; cout << "Input Array : " << endl; for(i = 0; i < 5; i++) cout << arr[i] << " "; cout << endl; print_inversions(arr, 5); return 0; } void print_inversions...
809b529209e7219e852a224989364bb8f536b690
4c6a5de3be02e8b585e6e0ab3e7feff5b83d03c4
/SESH++/LittleRedundantVampire/src/Observer/IListener.h
59fc3a2a930c1db165d55f185b74c9ef13129631
[]
no_license
henrikgram/SeshExamC-PlusPLus
1187747e62564c6d634486bdd0c70a04e8ed6975
09d8ace0c2a8cddf62cbf385ab31b37a2f894802
refs/heads/main
2023-04-30T08:09:25.299863
2021-05-28T12:42:25
2021-05-28T12:42:25
360,512,153
0
0
null
null
null
null
UTF-8
C++
false
false
560
h
IListener.h
#ifndef ILISTENER_H #define ILISTENER_H #include <string> /// <summary> /// Observer: Interface for listeners to events. /// </summary> class IListener { public: /// <summary> /// Executes code that should happen when Notify is called for an event that this listener is subscribed to. /// </summary> /// <param na...
3edf5274899a2cbfdf289654fac952ed6b660613
7033a9f0cf9ae1ef0312d100af01cc3e69b54fd8
/patternPrint.cpp
cad6d20ccdba155e5241d77879db77c3d73b9645
[]
no_license
sivajayaraman/Interview-Preparation
5dd9161ff08dda15f3ea5792c62e59c2b3b9bfca
4d0fd5a6cc2d71739e7f5ef04ae8f715799fa5d1
refs/heads/master
2021-07-06T12:46:27.723295
2020-07-31T11:09:26
2020-07-31T11:09:26
151,400,512
0
0
null
null
null
null
UTF-8
C++
false
false
410
cpp
patternPrint.cpp
#include <iostream> using namespace std; int printPrime(int n){ while(1){ for(i=2;;i++){ } } } int printComposite(){ } int main(){ int n,i,j,prime=1,composite=3; cin>>n; for(i=1;i<=n;i++){ for(j=1;j<=i;j++){ if(i%2==0){ composite=printComposite(composite); cout<<composite<<" "; } else {...
74fc9d25dbf48421e7dd16e2863a5bf7037751fe
624c21d571563a2f76ee9892fd333b8e329e8e22
/MathsTest/Maths/Convert.h
d74f4dc3a076cc0119840aa0e0cc3428f0758ae9
[ "MIT" ]
permissive
JSlowgrove/GCP-Assignment-1-Quats-Vs-Mats
0bb29f83672fd55ae2aca0417bdad56e74feae40
0b4a1681e955466904edc8a354749db94c5cbdba
refs/heads/master
2020-03-30T20:11:30.967249
2018-10-05T16:57:19
2018-10-05T16:57:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
681
h
Convert.h
//DISCLAMER - This is a modified version of code from one of my other assignments. #pragma once #include "MathsDefs.h" /** @brief The namespace for all maths code. */ namespace Maths { /** @brief Contains maths conversion functions for use within the code. */ namespace Convert { /** @brief Converts the de...
9d561dd3d49eabc2d93f76d7a44bd2dfa72f8d55
3ee7b57056d946c8f9ec2ea886c0b613a65d8131
/客户端/mySHA.h
647db9ed6ea93bdb5d748750ddc22fb69e853481
[]
no_license
zhangshaoxiao/CryptoServer
f163c08dc5d483efb68e2cf996856689b1966f0d
412dc14b609e9fea3e789c26bb8e028fcd35c2b9
refs/heads/master
2021-01-20T15:43:00.024117
2017-09-19T09:42:47
2017-09-19T09:42:47
95,709,157
2
1
null
null
null
null
UTF-8
C++
false
false
226
h
mySHA.h
#include<string> //using namespace std; #ifndef mySHA_H #define mySHA_H void CalculateDigest(std::string &Digest, const std::string &Message); bool VerifyDigest(const std::string &Digest, const std::string &Message); #endif
c9cbd68bd75916672ba218659bbf18fc964d51b3
668c769bbdd6cf72391d150b36502d3bd55b629b
/Hash_Tagger.cpp
8d68246e1aa61cdeb2d45d018af98b08b2e718ce
[]
no_license
AKKamath/Naive_Bayes_Classifier
c3568244febc97e1ef4091d0da9d56ce5ae6061a
d40d1cc7a414776ea93dc72567d90b5bb931d2a9
refs/heads/master
2022-11-15T04:07:19.198486
2022-11-05T08:09:06
2022-11-05T08:09:06
92,395,991
0
0
null
null
null
null
UTF-8
C++
false
false
5,044
cpp
Hash_Tagger.cpp
#include <iostream> #include <string.h> #include <map> #include <string> #include <fstream> #include <vector> #include <algorithm> #include <sys/stat.h> #include <stdlib.h> using namespace std; #define TAG_SIZE unsigned int struct stat sb; // Check if file exists bool fileExists(const char *fileName) { ifstream i...
a5dbc2b0257839513e00c0a73be906baa8906000
44ab57520bb1a9b48045cb1ee9baee8816b44a5b
/Engine/Code/AssistTools/GenerateProjects/GenerateTemplateModuleVcxprojFilters.cpp
ab33c9b3231db2afad6f195fb8230ba8fce686a3
[ "BSD-3-Clause" ]
permissive
WuyangPeng/Engine
d5d81fd4ec18795679ce99552ab9809f3b205409
738fde5660449e87ccd4f4878f7bf2a443ae9f1f
refs/heads/master
2023-08-17T17:01:41.765963
2023-08-16T07:27:05
2023-08-16T07:27:05
246,266,843
10
0
null
null
null
null
GB18030
C++
false
false
1,142
cpp
GenerateTemplateModuleVcxprojFilters.cpp
/// Copyright (c) 2010-2022 /// Threading Core Render Engine /// /// 作者:彭武阳,彭晔恩,彭晔泽 /// 联系作者:94458936@qq.com /// /// 标准:std:c++20 /// 引擎版本:0.9.0.12 (2022/04/29 13:48) #include "AssistTools/AssistToolsExport.h" #include "GenerateTemplateModuleVcxprojFilters.h" #include "Detail/GenerateTemplateModuleVcxprojFiltersImpl....
c7d2ad6988557c89cf5606fd1929e7309aa5bf60
b310a77e681dff025075d2b9bb3c1bdf5759d73b
/Laboratorio5/ejercicio2.cpp
301c5c37aea62223cc4d8ffcb276232c5ead1b9a
[]
no_license
RebV20/FundaLabos
291e2cf5eb754d0bafce8824368545df930d8437
43415c7563fe1d2bf1f3516c0708e39be62fffc7
refs/heads/master
2022-11-21T07:22:32.878604
2020-07-12T15:41:46
2020-07-12T15:41:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
742
cpp
ejercicio2.cpp
#include "iostream" using namespace std; int hora(int hour,int minuto, int segundo); int main(){ int hour,minuto,segundo, hora_s; cout<<"Ingrese una hora y aparecera un segundo despues \nIngrese la hora (formato 24 horas)"<<endl; cin>>hour; cout<<"Ingrese los minutos"<<endl; cin>>minuto; ...
0f406cf7ec9f70ace408a7fe7c771e4d153974da
36d57b306e434cfad38907a29eef45e9c720a271
/BlackWindowEngine/Object.h
dae142cc0d0801591e8164777ac57388eca7839d
[]
no_license
SHSongs/BlackWindowEngine
1f9a726d7cb6cfbe6ab5e8a164324a72b5558187
36d2e50b15c0caad4f98feec2ee1cd2f62fddac4
refs/heads/master
2021-03-18T04:13:36.160437
2020-05-03T07:34:46
2020-05-03T07:34:46
258,995,719
1
0
null
null
null
null
UTF-8
C++
false
false
1,293
h
Object.h
#pragma once #include<iostream> #include "Unit.h" class Object { protected: std::string name; std::string shape; std::string Type; FPosition position; Area area; std::string Direction; float Speed = 0.2; FPosition Up = { 0, Speed }; FPosition Down = { 0, -Speed }; FPosition Left = { -Speed, 0 }; FPositi...
f7b4d449bfeab10f37208ac98daa69800e8b5367
9e48764d4ac607eb6baf775b1ac439f30cba06be
/parse_headers.re
71804dcbaefc493e9b5aaa99a8e4eb1c01f5cc00
[ "CC0-1.0" ]
permissive
rlew631/the-bike-shed
19b1cf525c2ce66ca0371df13111421640a1bc48
19713075795e711f38f81c44d9442b24450b5f48
refs/heads/master
2023-08-19T23:31:57.755736
2021-10-22T19:24:42
2021-10-22T19:24:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
736
re
parse_headers.re
enum HEADER_TYPE { HEADER_TYPE_INVALID, HEADER_TYPE_OTHER, HEADER_TYPE_LAST_MODIFIED, HEADER_TYPE_ETAG, }; struct ParsedHeader { int type; char * value; }; static struct ParsedHeader parse_header(char *YYCURSOR) { char * YYMARKER, * start = 0, * end; struct ParsedHeader ret = {HEADER_TYPE_INVALID, ...
a3d6d5d8cb7d18a0c4716242aa6dd9fd77e6c108
83010fe0442b0cf6f7260ee71a452d087f328a5d
/felinar.cpp
4d39f15137c2e6b6feb311eebf1d579778ea6afa
[]
no_license
samkumartp/Competitive-programming-problems
d6b32233d36dbd91fe5c78d2f4b4e37afcfe67df
399d966d5e77aae4c3823405e3989b4e1b1bbea5
refs/heads/master
2020-04-08T11:54:06.225640
2017-09-17T16:25:35
2017-09-17T16:25:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,454
cpp
felinar.cpp
# include <cstdio> # include <vector> # include <cstring> # include <algorithm> # define NR 10005 using namespace std; vector <int> v[NR]; int i,j,n,m,cuplate,sol,x,y; int M1[NR], M2[NR], ap[NR], SL[NR], SR[NR]; int match (int k) { int i; if (ap[k]) return 0; ap[k]=1; for (i=0; i<v[k].size(); ++i) ...
e2bbae822bc4b7f196c8828ca9444640ed4badc5
cac6f203a469df349a01e26097864c3aa4915e72
/examples/SerialTest/SerialTest/SerialTest.ino
9cbb97390b0c081f8f5e29abc39adb5f7b8f7295
[]
no_license
stembotvn/Alcohol_MQ3
4d78a0c049b29a238ac4d142f4fc96109a16dc48
1344209c3ccf657e536644509fb83e6a1f05bf80
refs/heads/master
2020-12-05T06:52:00.546356
2020-01-06T08:32:33
2020-01-06T08:32:33
232,039,794
0
0
null
null
null
null
UTF-8
C++
false
false
398
ino
SerialTest.ino
#include <MQ3_alcohol.h> MQ3 mq3; void setup() { // put your setup code here, to run once: Serial.begin(9600); Serial.println("Calibrating..."); mq3.setupMQ3(A0,1000); mq3.calibrateMQ3(); Serial.println("Ready"); delay(1000); } void loop() { // put your main code here, to run repeatedly: Serial.print("Alcohol: ...
605b65a45c60e34af9f9a80510dfdb56748c1ac5
87ed265b0aa7d3ac0fea44500c52f1e7d7d8254e
/gui/mainwindow.h
983628cdca56d0768ffefe47080bd8a1db01bc35
[]
no_license
surajroland/cam-calib
e17bdd52c4612631cf9144040a6689fdf606e412
167ce66d66ecc73c45211fcb4186796f490d472f
refs/heads/master
2021-01-10T03:10:00.308014
2016-03-23T04:01:58
2016-03-23T04:01:58
54,202,240
0
0
null
null
null
null
UTF-8
C++
false
false
870
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "ui_mainwindow.h" #include <QFileDialog> #include <QPixmap> #include <QMessageBox> #include <QGraphicsPixmapItem> #include <QRadioButton> #include <QString> #include <processors/improc.h> namespace Ui { class MainWindow; } class MainWindo...
cba9acaab0101a43f373f91d3483a087ec3bf988
13b14c9c75143bf2eda87cb4a41006a52dd6f02b
/AOJ/2160/2160.cpp
7450444c1f0932b99d19e52665930fc64f826b41
[]
no_license
yutaka-watanobe/problem-solving
2c311ac856c79c20aef631938140118eb3bc3835
f0b92125494fbd3c8d203989ec9fef53f52ad4b4
refs/heads/master
2021-06-03T12:58:39.881107
2020-12-16T14:34:16
2020-12-16T14:34:16
94,963,754
0
1
null
null
null
null
UTF-8
C++
false
false
5,179
cpp
2160.cpp
#include<iostream> #include<cfloat> #include<cassert> #include<cmath> #include<vector> #include<queue> using namespace std; #define EPS (1e-10) #define equals(a, b) (fabs((a) - (b)) < EPS ) #define dle(a, b) (equals(a, b) || a < b ) static const double PI = acos(-1); class Point{ public: double x, y; ...
61eb6a77069d6cab810275bbe5efda768f34cf0f
05844fd418ce64c6fff6ce4df0a925656be0c5a6
/Finite.Difference.Time.Domain/Problems/Drude_1D_DNG_Transmission_Coefficient/Cpp/src/FDTD1DDNGMain.cpp
873e8c833fd14892712c6804235a3140f84469fb
[]
no_license
Motorfan/computational-electromagnetics
010127c166cfd72783015311415d5bc4807e6ead
2e8b9297b04d32f888b387b43d30da8194b32c47
refs/heads/master
2021-05-02T17:12:22.986497
2015-12-23T10:35:15
2015-12-23T10:35:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
900
cpp
FDTD1DDNGMain.cpp
#include <FDTD1DDNG.h> #include <iostream> using namespace std; int main() { CFDTD1DDNG TestSim(/*Size=*/4U*1024U, /*SourceLocation=*/10U, /*SnapshotInterval=*/16U, /*SourceChoice=*/1U); TestSim.StartTimer(); cout << "Memory required for simulation = " << TestSim.SimSize() << " bytes (" << (double)TestSim.S...
a6d6e0bc23297210d780085981b43a80e22a60f4
395f5870ba1a3d428a3294cf166d63891b3346e0
/robot2005/src/include/devices/tesla.h
c9d834dda2d7840f9b41f1605b273251802d49af
[]
no_license
BackupTheBerlios/robotm6
08a57f8cbb9100734c85ef0e444260f16e7efa6f
dc26ad2d1f3575c016c6c9104bd49ec6fb4d812d
refs/heads/master
2021-01-01T19:25:40.673078
2005-06-03T21:18:04
2005-06-03T21:18:04
39,962,329
0
0
null
null
null
null
UTF-8
C++
false
false
1,427
h
tesla.h
// gestion de l'electroaimant #pragma once #include "robotDevice.h" #define BigTesla BigTeslaCL::instance() #define Tesla BigTeslaCL::instance() enum TeslaMode { TESLA_MODE_0V = 0, TESLA_MODE_5V = 5, // envoie du petit sur l'electro aimant TESLA_MODE_12V = 12, TESLA_MODE_28V = 28}; class BigTe...
7ee5513a4afe977113fb9e07b86738bc382461ab
1075f2ad320c48a245c8f2b795621b773c3375db
/module_5/ex03/RobotomyRequestForm.cpp
36b678e30041c01a52194bbb4acbfc31e1eabbc0
[ "MIT" ]
permissive
cgriceld/42-cpp-piscine
59d1f197a620a12605e5326aeabdcccdeff2b343
2d07a886f0eca3216b50a17da807c721d6684e5d
refs/heads/main
2023-07-02T17:36:59.044027
2021-08-16T10:54:04
2021-08-16T10:54:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
888
cpp
RobotomyRequestForm.cpp
#include "RobotomyRequestForm.hpp" RobotomyRequestForm::RobotomyRequestForm() : Form("RobotomyRequestForm", 72, 45) { set_target("default"); }; RobotomyRequestForm::RobotomyRequestForm(std::string target) : Form("RobotomyRequestForm", 72, 45) { set_target(target); } RobotomyRequestForm::RobotomyRequestForm(const R...
80954a4b8af47ed3a1995c1571c778c82bc7406e
3135309ac61e6ea3e9e0bdb9e767df31d29f81a7
/src/filesystem/image.cpp
fe4a249708194871f339bcada45bc3d5cb3e1d1d
[]
no_license
lb2016github/water
e989325996aa6ea407f2058f18f24f3476877a88
d929d47d908ff3ed783483b092c4a643a4dd16d9
refs/heads/master
2020-04-26T15:49:55.620180
2020-01-07T13:50:32
2020-01-07T13:50:32
173,658,890
1
0
null
null
null
null
UTF-8
C++
false
false
1,752
cpp
image.cpp
#include "image.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image/stb_image.h" #include "common/log.h" #include "filesystem.h" namespace water { namespace filesystem { bool Image::do_load() { stbi_set_flip_vertically_on_load(true); auto fs = FileSystem::get_instance(); auto abs_path = fs->get_abso...
5c0e53678e56025f22cca5283074723b3840766e
9edbbde0fa31feb4c42a3c935301c5ed1211b1f2
/krab/Practice/ONP.cpp
296bc34964aac68345201cabcb110b33d76f6add
[]
no_license
Raman077/Codechef
4aa057ef9a86d73cbb1258463a630a9a16106575
3a4ea75eea424d79f91373d32ea7b062c3a09b84
refs/heads/master
2020-03-23T00:03:25.702902
2018-07-13T12:02:29
2018-07-13T12:02:29
140,841,324
0
0
null
null
null
null
UTF-8
C++
false
false
379
cpp
ONP.cpp
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { stack<char> s; string str; cin>>str; for (int i=0;i<str.size();i++) { if(str[i]=='-'||str[i]=='*'||str[i]=='/'||str[i]=='^'||str[i]=='+'||str[i]=='(') s.push(str[i]); else if(str[i]==')') { cout<<s.top(); if(!s.empty()) s.pop(); if(!s...
c65d07b0949b5cfc4ceeb319a1bc45dd18da742d
73200cd0a8bd2b05ff330ddd2e84f55d91b0b156
/CS341Project2/main.cpp
a467c0b97f3021b35eb8230449ffe3203141651b
[]
no_license
DanUnix/Netflix-Movie-Reviews
6f2607bc649f7434f62cba6975950610d5b7d1c2
da90fa6c451ab6d536ade164ed23a512882d34df
refs/heads/master
2021-05-03T10:02:24.087252
2016-09-22T02:11:00
2016-09-22T02:11:00
67,321,616
0
0
null
null
null
null
UTF-8
C++
false
false
7,081
cpp
main.cpp
// // Netflix Movie Review Analysis // // <<Daniel Pulley>> // U. of Illinois, Chicago // CS341, Fall 2016 // HW #02 // // Preprocess Directives #include <iostream> #include <iterator> #include <iomanip> #include <fstream> #include <string> #include <sstream> #include <vector> #include <numeric> #include <algorithm> #...
bc24e80ff7d4cfa29738aaebc3c64b4140520949
e9f3aed4d520b7a2634ae6bd9467a5504dbbdfa2
/obj/ObjectHeaderUnknownCTypeGenerator_def.hpp
62ec27b3599ccc95ee96976ffb3fea310ee43755
[]
no_license
tfoerch/LMP
4b7e50f72796e96f8c40691c3cfab1c5c64f2ca9
b82e2665778e6d984f166ba2242add0f78cf4857
refs/heads/master
2021-01-01T03:48:57.646358
2018-12-18T22:01:17
2018-12-18T22:01:17
58,702,868
0
0
null
null
null
null
UTF-8
C++
false
false
2,298
hpp
ObjectHeaderUnknownCTypeGenerator_def.hpp
#ifndef LMP_OBJ_OBJECTHEADER_UNKNOWN_CTYPE_GENERATOR_DEF_HPP_ #define LMP_OBJ_OBJECTHEADER_UNKNOWN_CTYPE_GENERATOR_DEF_HPP_ /* * ObjectHeaderUnknownCTypeGenerator_def.hpp * * Created on: 28.02.2015 * Author: tom */ #include "obj/ObjectHeaderUnknownCTypeAstAdapted.hpp" #include "obj/ObjectHeaderUnknownCTypeG...
53d852eaac94e6d64eaf37a9f0cb55e1c2ef512a
607f1925d45868f8defff9c38131e5093892bf0e
/trackingstrategy.h
8e8713344569947b36fb7749fbb68882b11c5878
[]
no_license
nagyistoce/vision-global-futbol-robots
be7fd13cff61c69e2fcb9d266ed6db707dfc1db7
84f5dcb9ae1d64675ad727676c93507199819c2c
refs/heads/master
2021-01-22T09:09:15.992852
2013-11-22T19:18:55
2013-11-22T19:18:55
32,746,937
1
0
null
null
null
null
UTF-8
C++
false
false
2,075
h
trackingstrategy.h
//======================================================================== // This software is free: you can redistribute it and/or modify // it under the terms of the GNU General Public License Version 3, // as published by the Free Software Foundation. // // This software is distributed in the hope that it will b...
850d0621021914c3721d8b64e5f8523480c2d63d
b6498036ac7955a26892584a7c9562e2029fd336
/src/main.cpp
3829875129c66a0c141ea1b93d987ac828b06b19
[ "MIT" ]
permissive
Projet-ReseauDeNeurones-M1CHPS/MNISTNN2
1d73ed192925456edda0b9c67e43e3b07f7f30ae
bf7e0f8a114d2ca492d1c2c6c76fe348857ab4ff
refs/heads/master
2020-03-16T09:40:52.124886
2018-05-08T20:29:36
2018-05-08T20:29:36
132,620,565
0
0
null
null
null
null
UTF-8
C++
false
false
11,885
cpp
main.cpp
/// \file #include <iostream> #include <stdio.h> #include <fstream> #include <Eigen/Dense> #include "Perceptron.hpp" #include <cstdlib> #include <tbb/tbb.h> #include <tbb/task_scheduler_init.h> #define BLACK '#' #define WHITE '_' /// \brief Permet de savoir si dans quelle mode lire les metadonnees d'un fichier IDX (...
e7e6fe60f2fd1e8e5847edf1bd63f9471a5a9bec
373973a49d5a44317f4ae270d0528e69086f6fa4
/USACO/Section 1.3/Prime Cryptarithm/miguelsandim.cpp
4a9e9c34988c47c26f2a954b649eaa6552eae96a
[]
no_license
ferrolho/feup-contests
c72cfaa44eae4a4d897b38bd9e8b7a27b753c6bb
d515e85421bed05af343fda528a076ce62283268
refs/heads/master
2021-01-10T21:03:53.996687
2017-03-29T17:34:35
2017-03-29T17:34:35
13,063,931
9
3
null
null
null
null
UTF-8
C++
false
false
3,298
cpp
miguelsandim.cpp
/* ID: migueel1 PROG: crypt1 LANG: C++ */ #include <iostream> #include <fstream> #include <vector> #include <string> using namespace std; int numbers[9]; int subset_number; unsigned int solution_number; bool existsInSubSet(int num) { for (int i=0; i < subset_number; i++) if (numbers[i] == num) return t...
8d55649a884aac63627855e9ccbe8581cddcc25f
2aec811bf06b8e8356822436829eeb7002b13576
/src/draw/tile.cpp
795771ed142e2949387932ec4e5953642f33ac92
[]
no_license
YueZhuAnn/cc3k_3d
c4825d028e6f567f2f90eacf275df12eec377ed9
1eb023164ef65ab9f249f3165640e2eae3f663e7
refs/heads/master
2022-01-20T02:24:09.348428
2019-07-20T14:59:51
2019-07-20T14:59:51
197,945,106
0
0
null
null
null
null
UTF-8
C++
false
false
1,677
cpp
tile.cpp
#include "draw/tile.hpp" using namespace std; using namespace glm; Tile::Tile(){ m_mode = GL_TRIANGLES; m_size = 2*3; m_type = GL_UNSIGNED_INT; } Tile::~Tile(){} void Tile::registerUniform(){ setUniformPos("P"); setUniformPos("V"); setUniformPos("M"); setUniformPos("colour"); } void Til...
bbd6d577f183239885dfe1a13518abde37cdcb4c
dde1120eef1431f410b24a162ce79ccea6f5b031
/SpaceX/KramerProjectionSolver.h
ef4f38d9760111b93c86ebd19e8a5b8b77e1262a
[]
no_license
fascinatingwind/Projection
f14dce919493351296fe4acd99ee01239935aefc
b58a805408363ac59981ed037cf2ec88d5f65e90
refs/heads/main
2023-09-01T23:55:14.268735
2021-11-07T07:16:07
2021-11-07T07:16:07
423,066,480
1
0
null
null
null
null
UTF-8
C++
false
false
832
h
KramerProjectionSolver.h
#pragma once #ifndef KRAMER_PROJECTION_SOLVER_H #define KRAMER_PROJECTION_SOLVER_H #include "dllexport.h" #include "FPoint3D.h" #include "FLine3D.h" #include "FMatrix3x3.h" namespace SpaceX { // Store method for find projection point class SpaceX_ExportDll KramerProjectionSolver { public: KramerProjectionSolv...
7eede3753d99548f7a54a1c7eca8ea18db755bfe
e740520065b12eb15e0e59b16362679464b69c42
/LintCode/LintCode/Permutations.cpp
04546c66dd18abd37243831538400333a457c443
[]
no_license
watsonyanghx/algorithm
ad8fa73ec1672129879bd761e8990a20919106bf
afea8ea4f9f22ac049e9229e64de4905f6939668
refs/heads/master
2021-06-18T08:31:54.164042
2017-03-13T10:57:41
2017-03-13T10:57:41
53,142,005
0
0
null
null
null
null
UTF-8
C++
false
false
2,728
cpp
Permutations.cpp
#include <stdio.h> #include <stdlib.h> #include <vector> #include <queue> #include <unordered_set> using namespace std; //without using recursion // class Solution { public: /** * @param nums: A list of integers. * @return: A list of permutations. * @date: 2016-10-2 */ vector<vector<int> > per...
67d40427b2f01764ea1694e23c64bd994e6f4c70
dd79e25d75ddfc2ee4909ea270297dfa29ac90b3
/1073FRC11/SmartJoystick.cpp
e3fc8e649ae19e33eb1687befc64f7b4cf6aea7e
[]
no_license
cha63506/robot11-googlecode-hg-archive
9196fcf7e1edbd6ab319618fe385dcc698aea077
25c147e308df2c63f3f56744d2e9c869327fa744
refs/heads/master
2018-05-29T20:40:03.206376
2016-01-18T23:43:33
2016-01-18T23:43:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,607
cpp
SmartJoystick.cpp
////////////////////////////////////////////////////////// // Filename: SmartJoystick.cpp // Author: Ken Cowan // Date: Feb 6, 2011 // // This file contains ... // ////////////////////////////////////////////////////////// #include "SmartJoystick.h" bool SmartJoystick::ButtonClickDown(UINT32 button) ...
ba2a1f193209a90adf3c64bc35e13afdf2e211a1
ba876bce84da34997c8dc6a8fcb8f173eec24e14
/src/preprocess/gltf.inl
b5d1e4d87490193d66fa9e82ebc7a77ba1b84de8
[ "MIT" ]
permissive
shacklettbp/bps3D
4fa7294c57aa7e5a47903d841de400dc72884b07
be0a725f74df8512204628bde8fcf5ba510f8643
refs/heads/master
2023-06-22T09:46:35.948654
2021-06-28T22:15:18
2021-06-28T22:15:18
338,671,043
13
1
null
null
null
null
UTF-8
C++
false
false
23,067
inl
gltf.inl
#include "gltf.hpp" #include "import.hpp" #include <bps3D_core/utils.hpp> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <glm/gtx/transform.hpp> #include <fstream> #include <iostream> #include <type_traits> #include <unordered_set> using namespace std; namespace bps3D { namespace SceneImport { str...
6cb885e29a0940ac3e18970dc851aa90e44685a8
202b96b76fc7e3270b7a4eec77d6e1fd7d080b12
/modules/libcrypto/src/OpEncryptedFile.cpp
c910231f6c02108d07ef3bc6c4a11ad023a164af
[]
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
16,427
cpp
OpEncryptedFile.cpp
/* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- * * Copyright (C) 2011-2012 Opera Software ASA. All rights reserved. * * This file is part of the Opera web browser. * It may not be distributed under any circumstances. * */ #include "core/pch.h" #if defined(CRYPTO_ENCRYPTED_FILE_SUPPO...
48e6616e8634dcbfb3cf3674204e48608e7a32e6
b6ba0ed8b22843f0bbcbea073b2852be20888c62
/ShiYan_04/LowerMatrix.h
c6f2dbe297f8086717d27557c95fa639ab3a1da3
[]
no_license
yushulinfeng/DataStructure
d215af62b19e51e87f10a549c92205cf06a0ee48
6bb50b56bfbc86622a2509d2a58cf6c422eafff1
refs/heads/master
2021-01-10T01:10:49.322780
2016-01-03T08:18:00
2016-01-03T08:18:00
48,938,772
0
0
null
null
null
null
GB18030
C++
false
false
378
h
LowerMatrix.h
#include "stdafx.h" /*下三角矩阵类*/ template<class T> class LowerMatrix { public: LowerMatrix(int size = 5){ n = size; t = new T[n*(n + 1) / 2]; } ~LowerMatrix(){ delete[]t; } LowerMatrix<T>& Store(const T& x, int i, int j); T Retrieve(int i, int j)const; void Output(ostream& out)const; private: int n;//矩阵维数 ...
0c10aadf08f94a69f150a064b3c584b3d95c2d37
f2f8bf9a304d8f390b800b25cc81da5175ecd289
/runa/foundation/font/font_view_impl.h
cda9641f3ad4df28f711743385b5d5fb7fe9643a
[ "BSL-1.0" ]
permissive
walkinsky8/nana-runner
dbc46227a083b99bf5dfd909ca5c48543ceac106
9cd8f9a0ec3ef50c858a89656435d87ca14cdb0f
refs/heads/master
2023-03-03T08:17:19.169671
2023-02-26T14:57:17
2023-02-26T14:57:17
79,042,119
5
1
null
null
null
null
UTF-8
C++
false
false
959
h
font_view_impl.h
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(dot)com * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ // Created on 2019/01/22 #pragma once #include <runa/foundation/font/font_v...
1f9778cedb5c6052f81c0fbad06957bac6c0d1bc
b1f773739fc97ae550baa13df512822dc11a6d5d
/convert.cc
ea3b20e6f206201bf10640c86d4e169ea4bc4633
[]
no_license
amluto/tpmkey
376d3e72777cc29940bbce6d427ce6e4c16a443c
77a904283445e4e5bcc67c39039260828b84167d
refs/heads/master
2021-01-10T13:45:01.947762
2013-09-11T03:07:24
2013-09-11T03:07:24
45,418,325
0
0
null
null
null
null
UTF-8
C++
false
false
6,461
cc
convert.cc
/* -*- mode: c++; c-file-style: "bsd" -*- TPMKey conversion commands Copyright (c) 2011 Andrew Lutomirski. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must reta...
097bb47364af2f3d3e12a7baadc8152bae11ace1
ca5fdca4ad31f2bf6297ee28aa2a7c5ceeb5ca8f
/source/Irrlicht/MacOSX/examples/CTBulletHelper.h
b02cc5f904eb442e40dac732d726c48927f90009
[]
no_license
EEmmanuel7/leapmotion-irrlicht
301687843e18afcd69ee21c0d35185e15487ee70
e2403b87cd37620558b37b7936a92d1006f45efe
refs/heads/master
2021-01-15T09:51:44.884672
2013-03-06T11:02:47
2013-03-06T11:02:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
994
h
CTBulletHelper.h
// // CTBulletHelper.h // MacOSX // // Created by James Zaghini on 9/02/13. // // #ifndef __MacOSX__CTBulletHelper__ #define __MacOSX__CTBulletHelper__ #include <iostream> #include "irrlicht.h" #include <BulletDynamics/btBulletDynamicsCommon.h> using namespace irr; using namespace video; using namespace scene; u...
81558589d09effa47d1736156d9ee2b563264f47
50c45ad94d56884b110bcce03efc555c7762e5da
/Object_Oriented_Design/test2.cpp
97992bd1a08b42a30e4254ddb326f3295c44642f
[]
no_license
LaserCakes/School
29977dde72479c3ab9b822a86a69080bd67a28b5
00fcdc449eeaca3e34de94a0d181b5b0d3472d4f
refs/heads/master
2020-04-11T05:38:33.287078
2018-07-30T20:47:43
2018-07-30T20:47:43
68,175,318
0
0
null
null
null
null
UTF-8
C++
false
false
897
cpp
test2.cpp
#include <iostream> #include <string> using namespace std; class Dog //Creates a class named Dog { public: //Acces set to public. Needs to end with a colon : void dogName(string name) //Function takes a string type variable called name { //name listed below is the variable that will be passed to the function...
d75b7ddb076829e5244b943b8254b5920f190352
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_new_log_5069.cpp
73bb7eb271b2d7094fa0fc6fc638cc9cb75ac277
[]
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
176
cpp
httpd_new_log_5069.cpp
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf, APLOGNO(00493) AP_SIG_GRACEFUL_STRING " received. Doing graceful restart");
722a6c9ac12b573ed401ff87cc97191e445aeed6
40662e477e03bf8757973cec33ada3643a28cb49
/201802/0203/BZOJ4065/BZOJ4065.cpp
4392e825d0bcaa407c8d4d6c383ebbeb329ed2f9
[]
no_license
DreamLolita/BZOJ
389f7ab12c288b9f043818b259bc4bd924dd7f21
a68e8530603d75f65feed3e621af30cbeccc56fe
refs/heads/master
2021-09-15T19:21:56.356204
2018-06-09T05:54:38
2018-06-09T05:54:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,377
cpp
BZOJ4065.cpp
#include<bits/stdc++.h> #define L 16 using namespace std; const int N=1024; const int M=8192; int T,n,m,k,tot,ans; int head[M],q[M]; bool lef[M],vis[M]; char ret[L]; struct Tway { int v,nex,f; }; Tway e[M<<1]; void init() { tot=ans=0; memset(vis,0,sizeof(vis)); memset(head,-1,sizeof(head)); memset(lef,0,sizeof(...
016cd839cf07a700926ed00889119567161ec734
35a0a383b079978992647555645ac30e52ebec3f
/lib/StaticAnalyzer/Core/DynamicType.cpp
a78e0e05e903b63d55fd47653751aa0905f176c2
[ "Apache-2.0", "LLVM-exception", "NCSA" ]
permissive
Codeon-GmbH/mulle-clang
f050d6d8fb64689a1e4b039c4a6513823de9b430
214e526a2b6afeb9508cac5f88c5a4c28e98982f
refs/heads/mulle_objclang_100
2021-07-18T07:45:29.083064
2021-02-16T17:21:51
2021-02-16T17:21:51
72,544,381
29
5
Apache-2.0
2020-04-30T11:36:08
2016-11-01T14:32:02
C++
UTF-8
C++
false
false
7,624
cpp
DynamicType.cpp
//===- DynamicType.cpp - Dynamic type related APIs --------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
424a7af3e5393b082f6782f7a19663e529cbbe7a
337ce318df64cf38c6c8caa265e7280748f992a2
/inheritance/derived.hpp
ee37badf7e44c6dff090e69c1d09c4684461b23f
[]
no_license
cristobalmedinalopez/boost-python-examples
f724ba459ae9959287ce661248fb8e1ae6f743d6
d9beed420ebac32bc6b6d327dbc6b4b972f35037
refs/heads/master
2021-01-10T12:41:36.339808
2016-04-13T08:24:26
2016-04-13T08:24:26
55,055,523
1
0
null
null
null
null
UTF-8
C++
false
false
128
hpp
derived.hpp
#include "base.hpp" class Derived : public Base { public: char const* hello() { return "hello from Derived"; } };
b085aef8e9975515433259de04b7914c4cb5f58c
1cb532b563489ab995ac76cce0e31f3591947c33
/ESCOM/pc/SistemasDistribuidos/general/dist2/Pack Manzano/Proyecto1/6/1.cpp
30257f098ce46ceb5ed2f3b939e48c2145b3e817
[]
no_license
MasterAdminAlex21/sistemas-distribuidos
ceee60bc386e3381db57153f7374e5e18c510234
af51f7e4d49718b2bed75b58f78fdde0b5c8bf5c
refs/heads/master
2022-10-22T04:06:23.635122
2018-12-10T03:39:43
2018-12-10T03:39:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
725
cpp
1.cpp
#include <iostream> #include <vector> #include "Par.h" using namespace std; int main(){ int N = 1000000; vector < Par > criba( N + 1 ); criba[1].setIsPrimo(false); for( int i = 2; i <= N; i++ ){ criba[i].setNumero(i); } for(int i = 2; i*i <= N; ++i) { if(criba[i].isPrimo()) { for(int ...
03028819f469e7fe994aa84af092bdcf46ecc17a
c4b88f63e73271c343660abc0fceaf6aa84ca0bb
/3/ex_3_42.cpp
474455888c2e680e1fce7f36ce41849150a39544
[]
no_license
drliebe/cpp_primer_5th_ed
2275ba0236eb9b27d9842a3c9df86fcd04982bee
a1de6bc40984827957ef12a783969a6ff2557dc9
refs/heads/master
2023-04-04T10:12:00.504841
2021-04-22T22:49:33
2021-04-22T22:49:33
360,699,360
0
0
null
null
null
null
UTF-8
C++
false
false
251
cpp
ex_3_42.cpp
#include <iostream> #include <vector> using std::vector; int main() { vector<int> vec1 = {1,2,3,4,5}; int array1[5]; for(int i=0; i<5; ++i) { array1[i] = vec1[i]; } for(auto i : array1) { std::cout << i << std::endl; } return 0; }
34f40affaf0f491720a1eb9b8030f3efa52c30a2
9694aa3b1dfe0eb9c8690c455490e0a5aa6550df
/src/hvpp/hvpp/vmexit/vmexit_c_wrapper.cpp
a62dd3f907748ba4ffdb28b81dbe56c6aae2715a
[ "MIT", "BSD-2-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
killvxk/hvpp
2d05d9db9c756aea59038c05dca80cda28cc8fdd
2532c76618978ed04e5767b6df8ae1bfe3126a54
refs/heads/master
2020-03-31T11:37:25.749411
2019-02-27T05:25:55
2019-02-27T05:25:55
152,184,218
1
0
MIT
2019-02-27T05:25:56
2018-10-09T03:47:47
C++
UTF-8
C++
false
false
1,899
cpp
vmexit_c_wrapper.cpp
#include "vmexit_c_wrapper.h" #include "hvpp/vcpu.h" namespace hvpp { auto vmexit_c_wrapper_handler::initialize(const c_handler_array_t& c_handlers, void* context) noexcept -> error_code_t { // // Make local copy of the C-handlers. // c_handlers_ = c_handlers; context_ = context; return error_code_t{};...
a43356215a2d0a069f7144799add513266f49d52
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/base/fs/utils/fmifs/src/extend.cxx
172e34b5bc712a5d6d72b5ba888e1e31fe54e1fd
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
2,835
cxx
extend.cxx
#define _NTAPI_ULIB_ #include "ulib.hxx" extern "C" { #include "fmifs.h" }; #include "fmifsmsg.hxx" #include "ifssys.hxx" #include "wstring.hxx" #include "ifsentry.hxx" #include "system.hxx" #include "drive.hxx" VOID Extend( IN PWSTR DriveName, IN BOOLEAN Verify, ...
0ba47cad3b89ecd236f2d60fd57ef69efcf51626
b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1
/C++ code/Uva Online Judge/Q10462.cpp
edf2310db2324f248f2b5c280c04255118ba8ef7
[]
no_license
fsps60312/old-C-code
5d0ffa0796dde5ab04c839e1dc786267b67de902
b4be562c873afe9eacb45ab14f61c15b7115fc07
refs/heads/master
2022-11-30T10:55:25.587197
2017-06-03T16:23:03
2017-06-03T16:23:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,107
cpp
Q10462.cpp
#include<cstdio> #include<cstdlib> #include<vector> using namespace std; struct pairtype { int x,y,z; }; pairtype S[200],tmp[200]; void rangeS(int a,int b) { if(a==b) return; int mid=(a+b)/2; rangeS(a,mid); rangeS(mid+1,b); int c=a,d=mid+1; for(int i=a;i<=b;i++) { if(d>b||(c<=mid&&S[c].z<S[d].z)) tmp[i]=S[c++...
5002794dfccf8f1078137e934b3c4b2a27e388ac
9d913e74d1eca141be73cad3e039c80e88d49ba4
/2IO/3Visual/Code/LED/LED.ino
739bc6c27bc25227a52e9c1a9fd947ee81af9957
[ "Apache-2.0" ]
permissive
trombonehero/grove-examples
f05caf60a91bf7364bd4cb23e9fa0202d9607e4d
534f6246cb56ae3003b6098f61f82e0a44d4eba8
refs/heads/master
2020-01-19T21:23:53.285275
2017-05-10T01:31:28
2017-05-10T01:31:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
619
ino
LED.ino
int sensor = A0; int led = 5; void setup() { pinMode(sensor, INPUT); //Setup sensor pinMode(led, OUTPUT); //Setup LED Serial.begin(9600); //Set computer serial output to 9600 bits per second(make sure manager is the same) } void loop() { int brightness = analogRead(sensor); //Get reading Serial.printl...
ac13d1be0d9487a72b01f9ea338a3f65143ce2cb
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc096/B/2394871.cpp
4854dee245b0a4934fcb7ac2c5b3e71ac7327b0b
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
C++
false
false
1,144
cpp
2394871.cpp
#include <cstdio> #include <algorithm> using namespace std; #define ll long long #define N 200100 struct node { ll num; int id; bool operator < (const node& x) const { return x.num<num; } }g[N]; ll c,ans,now; ll f[N],x[N]; int n,v[N]; /*ll read() { int c=getchar(); ll x=0; while (c<'0' || ...
9de031e891e48002a7aaf95bcc5eddc609403fe8
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionClient.h
5a7d976f5280c3a2f7f4efb145121f7ceac6146b
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
C++
false
false
838
h
WebPresentationConnectionClient.h
// Copyright 2015 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. #ifndef WebPresentationConnectionClient_h #define WebPresentationConnectionClient_h #include "public/platform/WebString.h" #include "public/platform/WebU...
929f4e463ec1c88659f365ba09b043da16b9e04a
0d9b5d7d3f6cceed12729e57b98db52b8f1d7b8f
/汇编/stack.h
abb5cdee1a29dab6829b41d642bf374648683d5a
[]
no_license
695573425/teach
1d8dc041a130227e31404b602baf01a12f08cd9a
825a4d7ccf562708a02536efb0246aa78041bac9
refs/heads/master
2021-05-14T10:13:52.513262
2018-01-05T05:14:33
2018-01-05T05:14:33
108,815,615
0
0
null
null
null
null
UTF-8
C++
false
false
1,552
h
stack.h
#pragma once #include <algorithm> #include "myTools.h" template <typename T> class stack { public: stack(int initialCapacity = 8); stack(const stack & s) { capacity = s.capacity; arr = new T[capacity]; _top = s._top; copy(s.begin(), s.end(), begin()); } stack(stack && s) { arr = s.arr; capacity = s.c...
74a7d678a755e782d3fad9f976e992a420ab8e76
ba23f7d006377df5c14ce8c9451f066c0b1aba60
/4948.cpp
c1ec6761d381c4f8ace4451fab6ad8f6354d7504
[]
no_license
holicAZ/AlgorithmStudy
89a1ad5b95e85f582e0124c130c1a1e88ac73eb9
8259d60f5ced234d6170b720790e6854a5cc6b63
refs/heads/master
2023-03-23T13:51:11.467640
2021-03-24T14:22:58
2021-03-24T14:22:58
278,343,793
0
0
null
null
null
null
UTF-8
C++
false
false
524
cpp
4948.cpp
#include <iostream> #include <cstring> using namespace std; bool check[123456*2]; int main(void) { int n; while (true) { int cnt = 0; memset(check, false, sizeof(check)); cin >> n; if (n == 0) break; if (n == 1) { cout << 1 << endl; continue; } for (int i = 2; i <= 2 * n; i++) { if (ch...
9f5727980b0d6823d8132ece3fa5a1a4b68db228
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir29315/dir29712/dir29713/dir29714/file29852.cpp
253f206c6990c03bfc7d2f1de6f225e972ff8fef
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file29852.cpp
#ifndef file29852 #error "macro file29852 must be defined" #endif static const char* file29852String = "file29852";
313a24748193ef4b49e67a7e7555162915dca259
809bbbddf5f4abdf8f85a6591df61fcf11f52ce0
/11_01_resource/src/libs/libplayer/player_component.cpp
80328ced2de29f4c2adf09f5898dd9dc74d79c3b
[ "MIT" ]
permissive
KMUS1997/GameBookServer
542df52ac3f7cb1443584394e3d8033dbb2d29e3
6f32333cf464088a155f0637f188acd452b631b7
refs/heads/master
2023-03-15T18:52:23.253198
2020-06-09T01:58:36
2020-06-09T01:58:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
31
cpp
player_component.cpp
#include "player_component.h"
8dc3084909850a4654b0a3350aa5f2a635574ab7
e7cb043173ea0a5f451bafca0bfcdb08b542b7d7
/source/IO/FloatVolume.cpp
40b416620ccf1349f9dbffe31657cdb4dbc39c50
[]
no_license
VisualIdeation/Toirt-Samhlaigh
aa0201c3762798d4186727ef192cc55855a11fef
6fad5ff0f43cc32c02f2d9a33da1e00f064c8924
refs/heads/master
2021-01-19T05:36:16.037374
2011-10-20T16:47:04
2011-10-20T16:47:04
2,125,754
2
0
null
null
null
null
UTF-8
C++
false
false
2,561
cpp
FloatVolume.cpp
/* * FloatVolume.cpp - Methods for FloatVolume class. * * Author: Patrick O'Leary * Created: October 19, 2007 * Copyright: 2007 */ /* Vrui includes */ #include <Math/Math.h> #include <Misc/File.h> #include <DATA/Volume.h> #include <IO/FloatVolume.h> /* * FloatVolume - Constructor for FloatVolume class. */ ...
ece116723a3789ebfdf434aac3e95536a0eb6553
95b28b2804574e4d20239db53634a493a495b4d0
/test2/EntityRenderer.h
8bf25e5efcfd8265bd6d09d1d4e0c124ed3498b0
[]
no_license
avitzdaka1/openGL-cpp-graphics
54cfa4223342c3382304c9d98edd6cbd48f258c4
6e09ed15653cedeb3e3f6fad8cb4bda9426b4754
refs/heads/master
2020-05-13T17:17:28.943047
2019-03-27T22:28:41
2019-03-27T22:28:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
411
h
EntityRenderer.h
#pragma once #include "StaticShader.h" #include "Maths.h" class EntityRenderer { private: StaticShader shader; public: EntityRenderer(StaticShader shader, glm::mat4); void render(std::map<TexturedModel, std::vector<Entity>>); void prepareTexturedModel(TexturedModel model); void unbindTexturedModel(); void...
8db599a8e4acc09ea38641d4dee12d3d5abcd396
bdc579c89ca1ae028437ce37411434cca6dfb69c
/src/SDLstuff/main.cpp
4185052eed267b32da25f15f9f2aa9306859a191
[]
no_license
portsmouth/the-sentinel-game
2e4ad5ee5a38ffeda8f3928b5755a85c8443a926
16e452f84a2ee701e714e423b5c1789473e525fe
refs/heads/master
2023-08-12T19:30:38.957645
2016-09-07T11:32:59
2016-09-07T11:32:59
36,428,534
5
1
null
null
null
null
UTF-8
C++
false
false
301
cpp
main.cpp
#include "Game.h" #include "SDL/SDL.h" int main(int argc, char *argv[]) { //create Game object, which will instantiate everything else too Game::Instance()->mainLoop(); //exit game SDL_Quit(); return 0; } /************************************************************************/
89497dbd36ad9ad72c8f13bcff801445614ebac9
ee40e669a2d60b757a22d2e97bd443f6f5c86c4b
/flowitem.h
a68db62c54485c089b10809b903080ab81087fb0
[ "MIT" ]
permissive
paule32/RETRO_BuildSet
c8c044c4475f727a52a3a18b5265b55aff563aa2
a38375e871d3e623b388d8e1f247f3980dcb48b8
refs/heads/master
2020-12-10T06:10:09.479044
2020-01-13T05:56:28
2020-01-13T05:56:28
233,521,240
0
0
null
null
null
null
UTF-8
C++
false
false
353
h
flowitem.h
#ifndef FLOWITEM_H #define FLOWITEM_H #include <QWidget> #include <QVariant> #include <QGraphicsItem> #include <QGraphicsPixmapItem> class FlowPixmapItem: public QGraphicsPixmapItem { public: FlowPixmapItem(QGraphicsPixmapItem * parent = nullptr); // itemChange(GraphicsPixmapItemChange change, const QVariant &...
21bb523331729fe01b2b8e294f42f7baecba29d2
bd73e2da8c721f65ee8658f01b85a30ea52de561
/CSES/Dynamic Programming/Dice_combinations.cpp
d17bd9b28559abd06f86feb43656d041e6fb4c89
[]
no_license
npsnishant/C-DSA
e02e6e450a5bf0d541b3fe40b5b517a7773c67d6
5c91ed8bf8c69bade06126b0b4330660026b81fc
refs/heads/master
2023-08-04T15:12:26.173462
2021-09-17T16:11:23
2021-09-17T16:11:23
407,604,010
0
0
null
null
null
null
UTF-8
C++
false
false
404
cpp
Dice_combinations.cpp
#include <iostream> #include <bits/stdc++.h> #define mod 1000000007 using namespace std; int main(){ long long n; cin>>n; std::vector<int> dp(n+1, 0); //dp[i] = Number of valid ways of throwing the dice such that the sum = i. dp[0] = 1; for(int i=1;i<=n;i++){ for(int x=1; x<=6;x++){ if(x>i){ break...
0fb2fea81b29671d52d80cea8a39f37f1274250f
ff5c1d61409b0d462463adce8b9a0889f662d107
/bindings/python/src/OpenSpaceToolkitMathematicsPy/CurveFitting/Interpolator.cpp
54db442e3c39a9cc1282ec2ec4d5d1e5d92342d7
[ "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "MPL-2.0" ]
permissive
open-space-collective/open-space-toolkit-mathematics
ff1eb9a1c6baae5f538c434e646e11635f4d773b
c441c8ceb8f9fef3c7bb1981e031a83b68960020
refs/heads/main
2023-09-01T04:59:44.874092
2023-08-31T18:24:41
2023-08-31T18:24:41
136,834,880
10
3
Apache-2.0
2023-09-14T10:07:47
2018-06-10T18:35:03
C++
UTF-8
C++
false
false
948
cpp
Interpolator.cpp
/// Apache License 2.0 #include <OpenSpaceToolkitMathematicsPy/CurveFitting/Interpolator/BarycentricRational.cpp> #include <OpenSpaceToolkitMathematicsPy/CurveFitting/Interpolator/CubicSpline.cpp> #include <OpenSpaceToolkitMathematicsPy/CurveFitting/Interpolator/Linear.cpp> inline void OpenSpaceToolkitMathematicsPy_C...
7bb1579655a2199eb1e34585b1d8ea165e8ae90f
b3ce8e3d4eb65247020b52e4c384e4b2c34a1dbe
/pthread/productor.cpp
bc82afb48053a9fbe2e7149a1b3de26898739292
[]
no_license
yulongli6/linux
a29bc5164d71ef50a0f345ad81f9780d339cb337
a44c2e49d42cdeb4295a63832e77a0a7d3ee6c05
refs/heads/master
2020-03-31T12:49:39.886033
2019-04-06T12:58:15
2019-04-06T12:58:15
152,231,007
0
0
null
null
null
null
UTF-8
C++
false
false
2,393
cpp
productor.cpp
#include <iostream> #include <queue> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <pthread.h> #define QUEUE_MAX 10 class BlockQueue { private: std::queue<int> _list; int _cap; pthread_mutex_t _mutex; pthread_cond_t _full; pthread_cond_t _empty; public: BlockQueue(int cap...
66573985fbc3547ab3353628c9fa36c65d874682
2721933a740591823a84f8d5a969d9408cadb967
/zhaoyun/Classes/GameScene.h
b5ac122e36b93b4d7f128bd896aaf2bcebd69e66
[]
no_license
Iakgun/First-Game
0e3731213b9e26a015e40d0b5b0e47bbf10aac5c
2120042a94b9afaec91d6cefc257a410a647a1cc
refs/heads/master
2020-12-25T12:47:05.969108
2014-08-08T06:48:52
2014-08-08T06:48:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
253
h
GameScene.h
#pragma once #include "GameLayer.h" #include "cocos2d.h" class GameScene : public cocos2d::CCScene { public: GameScene(void); ~GameScene(void); virtual bool init(); CREATE_FUNC(GameScene); CC_SYNTHESIZE(GameLayer*, _gameLayer, GameLayer); };
f1d6f756abc63c86d3e06b76bab7e9b0af50c177
bcde28e271c8435ddc989a9d3af4756a93b850fe
/Playfield.h
c1364f6a8f9f64d619975fb2246e337d482aeccf
[]
no_license
aggrotech/tetris
c1113dc1dc69b88547851d2cba7fc841215d8c29
dc83982521c59c8005fdeb48cb24b2514fe8d8fa
refs/heads/master
2020-05-14T11:12:28.436155
2013-02-21T04:02:52
2013-02-21T04:02:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
835
h
Playfield.h
#pragma once #include <vector> namespace Aggrotech { // Forward decl. class Cell; class Tetrimino; class Playfield { public: static const int DefaultWidth; static const int DefaultHeight; Playfield(unsigned int width, unsigned int height); ~Playfield(); ...
cf981f45795e845c50353893bd340df5ceafc4ef
05a00a68121c2cfc0894d50a4f46cc3e89d62a4a
/CastleVania/CastleVania/Whip.cpp
de063b4d718382d42d7344427024d4b33e787809
[]
no_license
sipv1612/CastleVania-Clone
19bc4dbf2161e26778f23686f627a91e2c257b2a
09ef969e215bcbce86e9b9186a6defecc869a089
refs/heads/master
2021-01-22T19:13:59.180178
2017-03-16T09:48:14
2017-03-16T09:48:14
85,176,940
0
0
null
null
null
null
UTF-8
C++
false
false
3,868
cpp
Whip.cpp
#include "Whip.h" Whip*Whip::instance = 0; Whip::Whip() :MovableObject() { _listAction = SpriteManager::GetInstance()->listAnimation[SpriteWhip]; _collType = CollWhip; position.X = 0; position.Y = 0; oldX = 0; oldY = 0; vx = 0; vy = 0; width = 9; height = 24; ay = 0; _direction = RIGHT; _curState = 0; i...
994b29e408c607ffc268f83f1f8f778d23ecf0d1
ad4a3300a1720a0c4ad7b97e2b8cbaf670b69146
/codeforces/527_div3/527C.cpp
c77794ebefcc8098793ed64944fbccf5a6d668aa
[]
no_license
arpituppal/competitive-programming-codes
4cf98279ffefb437b40fd412f4cbda3f519d4f3a
ca543259e6e8fd8b1b963ca5a54fccea4083860c
refs/heads/master
2022-12-08T11:23:21.927150
2020-08-29T21:20:19
2020-08-29T21:20:19
104,647,687
0
0
null
null
null
null
UTF-8
C++
false
false
3,953
cpp
527C.cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <queue> #include <algorithm> #include <vector> #include <cstring> #include <stack> #include <cctype> #include <utility> #include <map> #include <string> #include <climits> #include <set> #include <sstream> #include <utility> #include <ct...
3dcf9636e5c3b99d3d5ee3bf43d81d5868851ecc
ad753cad14f390332abbdde7eaf788320576a3b7
/Semester 2/Computer Programming/Lab/Lab 4/Question1 164305.cpp
86a26e33384f9403775ce31c99d66c9bfc6fbc9a
[]
no_license
Shaheryar-Ali/FAST-NUCES-code
e93770098488a6e8717c8ff1e1fdd993ef4b4395
1cbbd9b188aeeffc31c93d6a3c001cbbaa14daf8
refs/heads/master
2020-06-02T12:58:03.358157
2019-06-27T18:39:55
2019-06-27T18:39:55
191,160,728
0
0
null
null
null
null
UTF-8
C++
false
false
787
cpp
Question1 164305.cpp
#include<iostream> using namespace std; void RowWiseInput( int *row, int size); void AddColumns(int *&col, int size); void RowWisePrint(int **arr, int size); void main() { int n,size; int **triangle; cout<<"Enter the no. of rows"; cin>>n; triangle = new int *[n]; for(int x = 0; x < n; x++) { size = x + 1; ...
e69f9963894d3992b36c19a18f933431aed93c12
14984558fb1596174358ec412fd72928bc48af66
/CFLCommImpl/CommSrc/buildinshaders/GameImage_Atlas_TinyColor.h
8316977cadbe430b23691030fb251cff08f5bf99
[]
no_license
asheigithub/CFL
81cb9f95675b15fcb8c093b9cb932f57dd612203
c6b81a84d8e1d49773bdcb3657a14efba2e5a570
refs/heads/master
2016-09-14T21:28:07.077343
2016-03-05T12:21:35
2016-03-05T12:21:35
48,234,683
0
0
null
null
null
null
UTF-8
C++
false
false
1,206
h
GameImage_Atlas_TinyColor.h
#ifndef GameImageAtlasTinyColor_H #define GameImageAtlasTinyColor_H #define STRINGIFY(A) #A namespace cfl { namespace graphic { static const char* gameimage_atlas_tinycolor_vert = "#version 100\n" STRINGIFY( uniform mat4 vp_matrix; attribute vec4 vPosition; attribute vec4 color; attribute vec2 ...
7597a4e1eccde4eda0e0a35d0e6abbebdf8adc62
0b704bbfcbb77816b99621f783336b947b7a65c7
/BattleTank/Source/BattleTank/Private/Tank.cpp
252b78f3de1c296647a46e8f99af169eb740267b
[]
no_license
jzg-unrealengine/BattleTank
fbb3763a3c547a2144f176aa425ac4c62f35763d
7d04368472fb486498679daca7be7a0dbab78fd9
refs/heads/master
2021-08-19T14:16:23.474020
2017-11-26T15:28:49
2017-11-26T15:28:49
109,190,983
0
0
null
null
null
null
UTF-8
C++
false
false
1,038
cpp
Tank.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "Tank.h" // Sets default values ATank::ATank() { // Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = false; } void ATank::BeginPlay(...
12c7ecfae65a6a86ee6b4c8670b6567f118b39fe
1a4363e3074a02fccdd05068c2974c6bd06c272e
/test/chunksa.cpp
a1f6ea7a6790a27a0e2e2e73c98d00a3111446cf
[ "ISC" ]
permissive
lluchs/sparsearray
3906f6850b502ca0ffc51a6e5f8bb8ab0e444777
aed1cbe9c85fcce3bd159b6b35adaff29df2076c
refs/heads/master
2021-01-11T16:49:41.665349
2017-01-29T11:11:20
2017-01-29T11:11:20
79,678,845
3
2
null
null
null
null
UTF-8
C++
false
false
329
cpp
chunksa.cpp
#include "catch.hpp" #include "../sparsearray.h" TEST_CASE("ChunkSA: Basic actions", "[ChunkSA]") { constexpr int N = 10; ChunkSA<int, N, 2> array; #include "common.h" } TEST_CASE("StaticChunkSA: Basic actions", "[StaticChunkSA]") { constexpr int N = 10; StaticChunkSA<int, N, 2> array; #include "com...
8189b2f0a402c67cd3786b2faf8ee3b27a89cceb
ce9500f5ee0458b2101deb1433e7b937843d035b
/src/FrameState.cpp
40b1e48163f3bb9067ab85cbae9c5f6acafb274e
[]
no_license
Adam-van-der-Voorn/Fractals
4ef5823d3920acd642d6ce124bcfc62445ca104f
bb4d1b2ee46a67085263b27449c60e52ef574f70
refs/heads/master
2023-07-19T10:46:51.126273
2021-09-08T00:22:12
2021-09-08T00:22:12
293,015,707
1
0
null
null
null
null
UTF-8
C++
false
false
1,995
cpp
FrameState.cpp
#include "FrameState.h" #include <unordered_map> #include "EditableLine.h" #include "EditableLineNode.h" #include <vector> #include "NodeID.h" int getID() { static int i = 0; return i++; } FrameState::FrameState(const AbsLine& base_line_dimensions) : base_line(EditableLine(getID(), base_line_dimensions)) { } void ...
53b8099c6fc506867c50e0d4e733052a32026c6a
e5e6bdbf405a918ca604f68e70dcc7f1cc6970ce
/src/Core/Models/Transaction.cpp
f86fe61674e09b5f14d33a05475e683ce1d29dfd
[ "MIT" ]
permissive
GrinPlusPlus/GrinPlusPlus
a86d39fdf31bcd26d13e7dec646a0ecc0b125336
fa3705f5558f0372410aa4222f5f1d97a0ab2247
refs/heads/master
2023-06-21T21:28:08.086560
2023-03-01T16:20:42
2023-03-01T16:20:42
162,051,905
153
50
MIT
2023-05-19T16:56:56
2018-12-16T23:53:01
C++
UTF-8
C++
false
false
2,597
cpp
Transaction.cpp
#include <Core/Models/Transaction.h> #include <Consensus.h> #include <Crypto/Hasher.h> #include <Core/Global.h> #include <Core/Serialization/Serializer.h> #include <Core/Util/JsonUtil.h> #include <Core/Config.h> Transaction::Transaction(BlindingFactor&& offset, TransactionBody&& transactionBody) : m_offset(std::move...
0b432459a1d9c6e33e420e29bd05d7d544486a32
5b14015ef383e41068de03745ea88adb12793499
/Source/UnrealEnginePython/Private/Slate/UEPySWindow.cpp
da76f15a80adca76a317179335b447d118856a55
[ "MIT" ]
permissive
adaube/UnrealEnginePython
11fb628d51c3cf5a20a58e806b1384659a77e89a
cc639859f2ae94a3a09cee8d2c11450f20c56a2f
refs/heads/master
2021-01-22T11:15:29.831426
2017-05-28T16:23:38
2017-05-28T16:23:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,051
cpp
UEPySWindow.cpp
#include "UnrealEnginePythonPrivatePCH.h" #include "UEPySWindow.h" #define GET_s_window SWindow *s_window = (SWindow*)self->s_compound_widget.s_widget.s_widget static PyObject *py_ue_swindow_set_title(ue_PySWindow *self, PyObject * args) { char *title; if (!PyArg_ParseTuple(args, "s:set_title", &title)) { retur...
c00af065a4623945924f44cc06c9e0daa25486c3
1a8b08ad3d8139f27098c47271a0a6421cdd10da
/src/mainview.cpp
4206107d7039418f494ef3da84e1d1ecc1b08d6e
[]
no_license
dudochkin-victor/touchcp-regionformat
a7149831cc48595e3f467dbbb56821a9db353108
7fc59ac6025cae8f3ba5d43cc123b329a1256152
refs/heads/master
2016-09-06T17:16:04.502523
2013-05-15T06:51:37
2013-05-15T06:51:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,329
cpp
mainview.cpp
/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Karoliina T. Salminen <karoliina.t.salminen@nokia.com> ** ** This file is part of duicontrolpanel-regionformatapplet. ** ** ** This pro...
d3eaf7f4d8dbfab403b49a9915e722d0722d6101
f7f99058381ee79b1a969d34cb19936a317b2645
/Bsaic_DS/Quick_Sort/main.cpp
bff6a7f0a5bb155b79250397ef8c350f31c08df6
[]
no_license
GS-prepare/DataStructure
f92d2b97450b2b2222fbba6a6fd91bc2fa3b2870
de5b8b6644cc87e12a5da1d1eea5499421599cd2
refs/heads/master
2020-11-29T21:36:59.429392
2020-01-27T11:55:40
2020-01-27T11:55:40
230,220,848
0
0
null
null
null
null
UTF-8
C++
false
false
1,186
cpp
main.cpp
// // main.cpp // Quick_Sort // // Created by Sun on 2019/12/31. // Copyright © 2019 Sun. All rights reserved. // #include <iostream> using namespace std; void Quick_Sort(int arr[], int L, int R){ if(L<R){ int i = L, j = R+1, pivot = arr[L]; //initial do{ do i++; while(arr[i] < piv...
a2366b79b79a692bbc8e742029f621bc651c24e9
7e1314190616848a093d5e40c10409f686b49710
/m26.cpp
47f6f87738b22a7d3e4d626975621253f01d97be
[]
no_license
xyzkpsf/110A
109cacec854cae2ff74abd4761ee1f3d5435f820
b63549e09cafd64bb4417f83a3672b780963b9ee
refs/heads/master
2022-11-30T22:20:16.574198
2020-08-20T16:38:33
2020-08-20T16:38:33
289,055,476
0
0
null
null
null
null
UTF-8
C++
false
false
4,590
cpp
m26.cpp
/* ID:w78034117 Filename: m26.cpp Assignment : M26: strcmp Description: Mobile Service Provider, Part 3 */ #include <iostream> #include <iomanip> #include <fstream> #include <cstring> using namespace std; int main() { char package, month[10]; int min, maxMin; float additionalFee = 0, fee; bool isDone; ifst...
3250d805c45a828bc993da8c7d1019582e413fdb
d4644544c31a5f0e0a0b071138dedfd4cf9e4603
/remove_duplicates_from_sorted_array/duplicate.cpp
e91b4c6a3c33a817c9f07057c515e9355ea142ae
[]
no_license
xiangbai/LeetCode
d095250de91c9293f51818a648828e1c9ad4eade
15f66bb56511966e53bcbc0d3f8a09ad37845d00
refs/heads/master
2021-01-10T20:04:40.068965
2014-04-27T13:02:43
2014-04-27T13:02:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
877
cpp
duplicate.cpp
/************************************************************************* > File Name: duplicate.cpp > Author: wang > Mail:xiangbai@qq.com > Created Time: Sat 19 Apr 2014 10:00:24 AM CST ************************************************************************/ #include<iostream> using namespace std; class Solut...
1873005a59e9a8e182528b61585fd6c216b209dd
c281896bbd547170ac3a25614a565f047328f08c
/src/frontend/lexer/token.hpp
8054cb26fe9c64d06e95d9e64326a14e53f11b3b
[]
no_license
anastasiarazb/c-format-checker
0c2c420bec946efebf1fd49933cc337533d1c0d2
b4a672a762e06ef674b7417cd3690edf283a8987
refs/heads/master
2020-05-09T11:21:49.344762
2019-06-20T21:53:16
2019-06-20T21:53:16
181,076,376
1
0
null
null
null
null
UTF-8
C++
false
false
2,734
hpp
token.hpp
#ifndef LEXER_H #define LEXER_H #include "frontend/lexer/coords.hpp" #include <algorithm> #include <iostream> #include <string> #include <vector> #include <frontend/rules/rules.hpp> namespace lexem { enum Type { LPAREN, // ( RPAREN, // ) LBRACKET, // [ RBRACKET, // ] LBRACE, // { RB...
9b535017d2461e3d5b169e5004daa523fa638dc4
920e748cdcdcea9a71b74889a5e44f4b97a98699
/Src/DarunGrim2C.cpp
5d3d6b92ac31b7416f684fb2d05901fdfeeb5a3f
[ "BSD-3-Clause" ]
permissive
fengjixuchui/DarunGrim
5e50af3cb7ea2c47bcc257b9aefa59707aeb8a6c
a6cbe5c064f9399423845dea0ab67355d5ac5852
refs/heads/master
2020-12-18T09:31:05.212773
2020-05-25T02:22:21
2020-05-25T02:22:21
235,330,249
0
0
NOASSERTION
2020-05-25T02:22:22
2020-01-21T11:48:54
C
UTF-8
C++
false
false
3,695
cpp
DarunGrim2C.cpp
#include "Common.h" #ifdef _DEBUG #include <conio.h> #include <ctype.h> #endif #include "Configuration.h" #include "DiffMachine.h" #include "Storage.h" #include "XGetopt.h" #include "ProcessUtils.h" #include "Log.h" #include "DarunGrim.h" #define strtoul10(X) strtoul(X,NULL,10) void main(int argc,char *argv[]) { b...