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
f5374b9395d5ef5e40ed3ea2575864d191f2b347
2196ab4ecd5c3d80edc47125cd393c4180c31c67
/genFifo/src/main.cpp
15f45d0a5f9e210baccad4310472a33db0141f92
[]
no_license
nkay08/VirtualPrototyping
97f283420022117cc78788705c30726c6f896a27
92d7576ae79166541edbe83273a412c8ae130c1f
refs/heads/master
2020-03-18T12:13:38.651510
2019-09-26T12:39:39
2019-09-26T12:44:15
134,715,890
0
0
null
null
null
null
UTF-8
C++
false
false
921
cpp
main.cpp
#include "genFifo.h" int sc_main(int argc, char * argv[]) { sc_signal<int> wr; sc_signal<bool> wrb; sc_signal<bool> wrs; sc_signal<bool> wra; sc_signal<int> re; sc_signal<bool> reb; sc_signal<bool> res; sc_signal<bool> rea; intproducer p("producer"); p.setRandom(true); intconsumer c("consumer"); c.setRandom(true);...
5e6be06d1d1076e6a0e1999ec8c2174c8acd5929
5696f7e9bb6cb18e791be3f71e8a72f9a26a0a22
/src/CKeyboard/CKeyboard/src/CKeyboard.cpp
6a930fdb0864dc232a65dc7d0cd35f62835c5269
[ "MIT" ]
permissive
xylsxyls/xueyelingshuang
0fdde992e430bdee38abb7aaf868b320e48dba64
a646d281c4b2ec3c2b27de29a67860fccce22436
refs/heads/master
2023-08-04T01:02:35.112586
2023-07-17T09:30:27
2023-07-17T09:30:27
61,338,042
4
2
null
null
null
null
UTF-8
C++
false
false
10,415
cpp
CKeyboard.cpp
#include "CKeyboard.h" #include "DmSoft/DmSoftAPI.h" #include "CRandom/CRandomAPI.h" enum { KeyPressTimeMin = 50, KeyPressTimeMax = 100 }; bool CKeyboard::KeyDown(int32_t code) { return DmSoft::KeyDown(code) == 1; } bool CKeyboard::KeyUp(int32_t code) { return DmSoft::KeyUp(code) == 1; } boo...
c8b484995b4cc4e6c0397929702d39d8934aed2c
dc33eb88ca508a3d4cc043fff402ccfa7babbac4
/Sources/Backend/hermes/db/HMMailDBRemoveSentDraftWithMessageIDOperation.h
7e51244393a2a709f802ff768c14379827e4a49e
[ "BSD-3-Clause" ]
permissive
mquantin/dejalu
395e03768a16ab04126eac011682903e8e3883b4
c1c0b60c9c4a1d3f9ec5847058e4e55ebbb9a209
refs/heads/master
2022-01-12T10:24:36.783695
2019-01-08T05:39:39
2019-01-08T05:39:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
924
h
HMMailDBRemoveSentDraftWithMessageIDOperation.h
// DejaLu // Copyright (c) 2015 Hoa V. DINH. All rights reserved. #ifndef __dejalu__HMMailDBRemoveDraftWithMessageID__ #define __dejalu__HMMailDBRemoveDraftWithMessageID__ #include <MailCore/MailCore.h> #include "HMMailDBOperation.h" #ifdef __cplusplus namespace hermes { class MailDBRemoveSentDraftWithMessageID...
35b3b0dd71cc473088d16be71bc69de6a1bbed09
7215b490c3ed3bfbe22a2ef0b715c6b185078b9f
/src/Dll/CalibSvc_dll.cxx
d781d1a127a6ddf958c4c8170a03b7732952e670
[ "BSD-3-Clause" ]
permissive
fermi-lat/CalibSvc
76cea1455639752a57f9904b0b4491dfc8a23c18
c262bbd5481a01af3f75a250fc1ba385bb5c775f
refs/heads/master
2022-02-17T03:03:32.350460
2019-08-27T17:27:16
2019-08-27T17:27:16
103,186,849
0
0
null
null
null
null
UTF-8
C++
false
false
222
cxx
CalibSvc_dll.cxx
/** @file CalibSvc_dll.cpp $Header: /nfs/slac/g/glast/ground/cvs/CalibSvc/src/Dll/CalibSvc_dll.cxx,v 1.1.1.1 2002/11/14 21:30:13 jrb Exp $ */ #include "GaudiKernel/LoadFactoryEntries.h" LOAD_FACTORY_ENTRIES(CalibSvc)
fc68fb570a473022bc58af1746c4bbc22e3c4408
58df354d4aac503c36be392c13faf616ef276c1d
/src/core/memhandler_class.h
3a39978389baa8b70f4feb3208a468654915886d
[ "MIT" ]
permissive
Jussmith01/AM1Reparam
583ffa071efe5bc2d06a3d4a3a4f1fe9b0c0644c
4c71bf5a1fb7d94def1fb13357b39b7bd4658b63
refs/heads/master
2021-01-17T08:44:33.215562
2015-07-22T13:49:20
2015-07-22T13:49:20
37,611,630
0
0
null
null
null
null
UTF-8
C++
false
false
2,259
h
memhandler_class.h
#ifndef memhandler_header #define memhandler_header #include <stdio.h> #include <stdlib.h> #include <cstdlib> #include <sstream> #include <string.h> #include <string> #include <cmath> #include <fstream> #include <vector> #include <iostream> #include <limits.h> #include <bitset> #include <time.h> #include "../structs/i...
a30fa80596fa694a4602e15eb3dab9a07de84f6c
690515bc545ef8ca75fe754abcf658b827f53c97
/src/cpp/libutil/sslice.cpp
6ba323c62f34b9946712008307f1c1c29ab9776a
[]
no_license
ingunnkw/comap
6c91e60d8044d6aaafbdc4ef609abd1a62f71451
84ea9c1677d3e5f7c03f048ab745d29f641d67f7
refs/heads/master
2022-11-17T01:05:15.447265
2022-11-09T08:46:41
2022-11-09T08:46:41
83,796,147
2
0
null
2020-10-30T16:15:53
2017-03-03T12:31:44
Fortran
UTF-8
C++
false
false
1,675
cpp
sslice.cpp
#include <sslice.h> #include <serror.h> #include <stoken.h> #include <limits> #include <cstdlib> using namespace std; namespace skn { const int Any = numeric_limits<int>::max(); typedef Vector<int,3> Vec; Slice parse_slice(const string & spec) { Slice res; vector<string> fields = tokenize(spec,","); for(int i = ...
1461549c7efbc3f615d06a74b15d5744a528fc20
49f88ff91aa582e1a9d5ae5a7014f5c07eab7503
/gen/services/network/public/mojom/data_pipe_getter.mojom-shared.h
c31f8b175f88332036f3cc8b020e81cdc0a6ca87
[]
no_license
AoEiuV020/kiwibrowser-arm64
b6c719b5f35d65906ae08503ec32f6775c9bb048
ae7383776e0978b945e85e54242b4e3f7b930284
refs/heads/main
2023-06-01T21:09:33.928929
2021-06-22T15:56:53
2021-06-22T15:56:53
379,186,747
0
1
null
null
null
null
UTF-8
C++
false
false
4,203
h
data_pipe_getter.mojom-shared.h
// Copyright 2016 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 SERVICES_NETWORK_PUBLIC_MOJOM_DATA_PIPE_GETTER_MOJOM_SHARED_H_ #define SERVICES_NETWORK_PUBLIC_MOJOM_DATA_PIPE_GETTER_MOJOM_SHARED_H_ #include <s...
ddb20c25e8d69eb80890aab96124e37a4fd85a1c
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/dlc/src/v20210125/model/WorkGroupInfo.cpp
7eb28bca77221a2b51b32b9026b2de1c84c1f484
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
10,515
cpp
WorkGroupInfo.cpp
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
69abe989cb7968e926bf4f02063449c3292bcdc1
a7df01b8edf8ab0ca34951d8cb557b36ce921c06
/tree/472-path-sum-iii.cpp
40089dd57c40bee3e5f2787a4e3d6035d638efae
[ "MIT" ]
permissive
geyixin/awesome-Leetcode
e49a7125ea8c80f3765c2073a47de42e20bc4981
488cb477beeaa6fa7e65950615bfafa899eed3a3
refs/heads/master
2021-05-18T07:25:34.500320
2020-06-29T15:24:34
2020-06-29T15:24:34
251,178,446
1
0
null
null
null
null
UTF-8
C++
false
false
2,129
cpp
472-path-sum-iii.cpp
/* * @Author: Eashin * @Date: 2020-04-13 17:03:03 * @LastEditors: Eashin * @LastEditTime: 2020-04-13 21:18:17 * @Description: * @FilePath: /tree/472-path-sum-iii.cpp */ #include <iostream> #include <queue> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNo...
c23e6357a51b61344508d863b708f0ad1611fb8e
fcda8ec82dfa0c670eff072f08360c4a867b1fde
/src/Net/HTTPDigestCredentials.cpp
3b873b664a31b4fc71f7e37588eb9a8f9cf3872f
[ "BSL-1.0" ]
permissive
BackupTheBerlios/pocoextensions
4d4bfc1d15aaaac806c037071184923b0d1b8a09
1706ded5d5ba3d0308719ea11ddb1715360dc1b2
refs/heads/master
2020-05-17T17:36:47.086521
2012-01-18T20:32:17
2012-01-18T20:32:17
39,850,787
1
0
null
null
null
null
UTF-8
C++
false
false
6,399
cpp
HTTPDigestCredentials.cpp
// // HTTPDigestCredentials.cpp // // Copyright (c) 2011 Anton V. Yabchinskiy (arn at users dot berlios dot de) // // 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) // #include "Poco/DateTime.h" #include "Poco/DateT...
139a9709f1f3bd5b1e16d6ce0a16b5f6c61ce8f4
5a9e9943b074c7955dcdd7b3847caef0e3a047b9
/src/tracker_lib/dprintf.h
d5c89dad358673625f14c8fc457d852b653b22b3
[ "MIT" ]
permissive
asdlei99/vrtracker
c29f54a117361f8b426ed4a7debd1dd03efb9d3d
53249748c0c4d0e3a1a9d9c200ed010600a4e27e
refs/heads/master
2023-02-27T12:57:44.393558
2021-02-08T01:12:36
2021-02-08T01:12:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,271
h
dprintf.h
#pragma once #include <openvr_string_std.h> #include <openvr_operators.h> void dprintf(const char *fmt, ...); inline void log_entry(const char *fn) { dprintf("> %s\n", fn); } inline void log_entry(const char *fn, const char *param) { dprintf("> %s %s\n", fn, param); } inline void log_entry(const ...
10d91668c5b74cf9a819fa0b25ddd11f8701c27a
67d6ab99b20ff791f26f400fd94347bd84765bb2
/code/3DMuVi/test/gui/CTestCMainWindow.cpp
1d290d76e5c993574da974674b9cc88c43322e1d
[ "BSL-1.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
boitumeloruf/3DMuVi
d05f1abdcb538be35a093b28f71badb77e19ea49
45b38f733e97eff6f71e3bd72084a0d79466d5e8
refs/heads/master
2022-09-17T15:49:52.409396
2022-09-15T12:11:39
2022-09-15T12:11:39
44,605,276
2
2
null
null
null
null
UTF-8
C++
false
false
3,868
cpp
CTestCMainWindow.cpp
#include <QMessageBox> #include <QMenuBar> #include <QTimer> #include <QThread> #include <QGroupBox> #include <gui/CMainWindow.h> #include <gui/CSettingsDialog.h> #include "CTestCMainWindow.h" #define WAITING_TIME 10 #define WAITING_TIME_LONG 20 void CTestCMainWindow::about() { CMainWindow mw; openMenu("Help",...
e71bc09f39a0d36c95a50bf07e5d0c95d3cccf15
3cfc3f4cb1572806c153cdb550f7fd41e1943f08
/_MODEL_FOLDERS_/_modelNameHere/marcFace/marcFace_VERT.cpp
01f4144196f3a990282d6848af2b62b2936381ee
[]
no_license
marcclintdion/a8a_MATRIX_MATH_MAY_10
c8d07b3425f8fb04f05104c1baf1b5934fa5b0c4
d9f9851c20f681929aa0896be4e0b8336c50a4fb
refs/heads/master
2021-01-10T07:11:59.889363
2015-09-30T14:11:41
2015-09-30T14:11:41
43,436,890
1
1
null
null
null
null
UTF-8
C++
false
false
61,893
cpp
marcFace_VERT.cpp
GLfloat marcFace_VERT[] = { //number of vertices = 1761 -0.0151813, 0.0727848, 0.0819328, -0.018985, 0.0739557, 0.0820079, -0.0196772, 0.0705375, 0.0817546, -0.0070197, 0.0693468, 0.0832695, -0.00878257, 0.0775382, 0.0878782, -0.0100009, 0.0685937, 0.0805774, -0.0196772, 0.0705375, 0.0817546, -0.024...
da23296e61b7b7ab308ee1062a5ad02cee33270e
ecec137010f2cb4631f96b8c183983a62c9b2ca0
/C++/college_code/expr/.history/experi_10_20200517165503.cpp
50f10f0ace8d8eefdac06b2a42e9d6911bc28c51
[]
no_license
lijiayan2020/Code
d6296658bdec1adb6353faa3ca1ae583542ce926
ba9f015c51a60fc8aeb1f5efbd33e96126c34265
refs/heads/master
2023-04-12T19:23:21.860951
2021-04-21T16:21:11
2021-04-21T16:21:11
330,329,460
1
0
null
null
null
null
UTF-8
C++
false
false
241
cpp
experi_10_20200517165503.cpp
/* * @Description: * @version: * @Author: LiJiayan * @Date: 2020-04-15 22:58:43 * @LastEditors: LiJiayan * @LastEditTime: 2020-05-15 15:37:21 */ #include<iostream> using namespace std; int main() { return 0; }
25bcf99412fb025e732440401400a7f66de2efa0
308f3cb8a30fcacd8851cc2ed979949b643cf1d9
/codeforces/Educational Codeforces Round 45/c.cpp
84b1a1cd573b03ea221a3608a1533b3d6be09355
[]
no_license
szh-bash/ACM
9a49859644d077bcb40f90dbac33d88649e7b0f3
3ddab1ab8f9b8a066f012f2978ee9519d00aec54
refs/heads/master
2022-08-08T19:20:09.912359
2022-07-20T10:43:57
2022-07-20T10:43:57
98,170,219
5
0
null
null
null
null
UTF-8
C++
false
false
984
cpp
c.cpp
#include <map> #include <queue> #include <cmath> #include <ctime> #include <vector> #include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> #define N 400000 typedef long long ll; using namespace std; int n, ma, top; char s[N], stack[N]; ll ans, tot, f[N][5]; int read(){ int p=0...
e70f0566ff09ced4c2215265f42ca947ff478ba1
4ebb44a6a75bdf2b1fbc54ad6762422f4419ffbc
/src/TAO/API/types/finance/get.cpp
0ade19ae4671bfc51acd15c9e9d0721414cb5d77
[ "MIT" ]
permissive
abhibunt/LLL-TAO
4f23bf9716063d4c1686b3fc47a38bc96df4d025
a0ed0e4dc56d6b808d4b2bf3750a04089274e87a
refs/heads/master
2023-08-10T18:05:21.373998
2021-09-14T01:55:37
2021-09-14T01:55:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,347
cpp
get.cpp
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2021 Distributed under the MIT software license, see the accompanying ...
f3f04676f44aa2752a1ce7d7767e3a8f8b1aa8df
c6f7399a05720083f5ead9880eeb5492f28954c4
/src/binfhe/lib/lwe.cpp
f5cc1de3e0537f1c0fa6141cb6f6672cbb083743
[ "BSD-2-Clause" ]
permissive
uishi/Modified_PALISADEv1.9.2
88ebf027683ef8eb48a056e1ca2d52a028ccefe1
d8bf4739144e53340481721b1df83dfff2f65cd8
refs/heads/master
2023-03-14T10:31:01.250592
2021-02-22T08:12:59
2021-02-22T08:12:59
341,124,793
2
3
null
null
null
null
UTF-8
C++
false
false
8,541
cpp
lwe.cpp
/* * @file lwe.cpp - LWE Encryption Scheme implementation as described in https://eprint.iacr.org/2014/816 * Full reference: * @misc{cryptoeprint:2014:816, * author = {Leo Ducas and Daniele Micciancio}, * title = {FHEW: Bootstrapping Homomorphic Encryption in less than a second}, * howpublished = {Cryptolog...
af5c1f6d94ca5d35d1915b2edf448dc23091f1b1
5bf5c2e002b51a9a21e59cdb2ea166908989b665
/FastCgiCpp/src/apps/Verify.cpp
96580dd8d9ac95ecbff73a6a8f104324b7a7c8ab
[]
no_license
eemjwu/Cpp_Web
47e693ed8992093f85110c894139424d8f1ba18f
b29870fc46da60d417e049250a95e04ab49f86c3
refs/heads/master
2020-04-05T02:46:18.068610
2019-03-04T02:57:19
2019-03-04T02:57:19
156,489,606
6
0
null
null
null
null
GB18030
C++
false
false
889
cpp
Verify.cpp
#include "Verify.h" Response Verify::get_verify(Request req) { DBG(L_DEBUG, "method : %s, url: %s, params: %s, cookie: %s", req.getMethod().c_str(), req.getUrl().c_str(), req.getParams().c_str(), req.getCookie().c_str()); Params reqParams(req.getParams()); Cookie reqCookie(req.getCookie()); Re...
b21fcde6aaeb2ce601ea324dd55294a1b683665e
6b91ea73a53de75224cd775e7e902c9dbbd2bac2
/BOJ/NO.2589/BFS.cpp
3a302e52c908cf1133b471f007b08ee32ca5e26f
[]
no_license
vvega-a/algorithm_study
d823fb05e3fd59c060a85a7ce29e436b5cafcae8
4f0cc828bb33e55a8250b67fee7ece9d84cc46b3
refs/heads/master
2023-02-23T23:51:43.228244
2019-11-27T10:35:04
2019-11-27T10:35:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,556
cpp
BFS.cpp
//https://www.acmicpc.net/problem/2589 #include<iostream> #include<string> #include<queue> using namespace std; char map[52][52]; int n, m; int dx[4] = { 1,-1,0,0 }; int dy[4] = { 0,0,1,-1 }; typedef struct point { int x, y, time; }pt; int bfs(int a, int b) { queue<pt> q; bool visit[52][52] = { 0, }; //시작 좌표 큐에 넣음 ...
6fab77e71407fd4a691aa7f0912ea7ff9623d51f
952cd37bdd81ce4e2b11c0132b3041264f963bc5
/src/controllers/GLSixDOFViewController.cpp
af795e451a9d9b2a66c4640675e422a4c6f72bbe
[ "MIT" ]
permissive
adam4813/Sigma
7f577f5ada6e701563b8e53d8f9bc0c4171dd635
c59a99b54edaf1fc0b619aa80775ba51d5944a2d
refs/heads/develop
2021-01-19T20:18:27.225589
2014-03-02T19:18:59
2014-03-02T19:18:59
11,834,309
3
1
null
2014-03-06T22:26:12
2013-08-02T03:42:30
C++
UTF-8
C++
false
false
2,747
cpp
GLSixDOFViewController.cpp
#include "controllers/GLSixDOFViewController.h" namespace Sigma{ namespace event{ namespace handler{ const float GLSixDOFViewController::SPEED_TRANSLATE = 2.0f; const float GLSixDOFViewController::SPEED_ROTATE = 20.0f * 3.14159f; const float GLSixDOFViewController::BOOST_MULTIPLIER = 2.0f; GLSi...
f71ae63f9ee4c9ddad7b4e3794d89b72c1f14a1e
5d4b70ac5e555e3c8b68534ef1790ce041a0f65e
/deps/perceptualdiff-master/lpyramid.cpp
b9f0fc7f4f29c603d496726c952e6583b8717ef0
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "GPL-2.0-or-later", "GPL-2.0-only" ]
permissive
LuxCoreRender/LuxCore
eddb0e3710cbc8fa28cb80f16d908f1ec3cc72db
2f35684a04d9e1bd48d6ffa88b19a88871e90942
refs/heads/master
2023-08-17T01:28:23.931381
2023-05-28T22:25:00
2023-05-28T22:25:00
111,695,279
1,055
154
Apache-2.0
2023-08-03T20:21:05
2017-11-22T14:36:32
C++
UTF-8
C++
false
false
3,290
cpp
lpyramid.cpp
/* Laplacian Pyramid Copyright (C) 2006-2011 Yangli Hector Yee Copyright (C) 2011-2016 Steven Myint, Jeff Terrace This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (...
786778d2c8e6635c6e46acbd5a52b9a36ce96326
1e02ed3f3369d36379be725a6b4cec6b155e97c9
/garden/factory.cpp
67e075b86df6cb8c3d025f82fdc8892fe7b9ed92
[]
no_license
dormon/prj
0f803287f316606ff4e0f475930a6f9e7a6b3bb9
7ab62eedccd8153ac905fc27f74adcaf634771c7
refs/heads/master
2023-08-04T04:23:12.785661
2023-07-20T23:19:45
2023-07-20T23:19:45
89,816,202
4
0
null
null
null
null
UTF-8
C++
false
false
96
cpp
factory.cpp
#include<factory.h> #include<memory> auto factory(){ return std::make_shared<size_t>(42); }
9ad4d78b05541ea8e10dbf40b8963b0d7f9cbf1a
39bdfc9ef2db343d7a026f97f3a1b1eb4c4b424d
/easysheet/SheetView.h
18b790da09f467ccfa6e1a27c79da2877cc0d9d3
[]
no_license
brharp/easysheet
0d7344e4e6436ecbfe5961664d082e16b47b3a20
e67d610272dbe600a24b03ca0369b31385594705
refs/heads/master
2016-09-05T16:13:14.465920
2013-03-22T00:59:39
2013-03-22T00:59:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
320
h
SheetView.h
#pragma once #include "Display.h" #include "DataSource.h" class SheetView { public: SheetView(DataSource &dataSource) : dataSource(dataSource) {}; ~SheetView(void); void setDataSource(DataSource &dataSource) { this->dataSource = dataSource; } void render(Display &display); private: DataSource &dataSource; };
c7d29ed0f232a6469eeecd053a9833dbf7efbdc1
5b2b7c8ab0dde974dbbba2928690b2664183dbf4
/designdemo/src/asyn_redis_sub.cpp
057cedd73620cf812ec14468858c76d32fd85c76
[]
no_license
wangzhicheng2013/c-11
ff6f40b0f2630de9a5c3a21733eb9ff7f8d7b158
76d2533581a86d86ceafa4f1f4ed64d298651791
refs/heads/master
2021-07-05T09:43:21.002577
2019-04-09T12:46:01
2019-04-09T12:46:01
146,904,243
0
0
null
null
null
null
UTF-8
C++
false
false
1,982
cpp
asyn_redis_sub.cpp
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <ctype.h> #include <pthread.h> #include <iostream> #include <memory> #include <functional> #include <openssl/ssl.h> #include <openssl/err.h> #include <event2/bufferevent.h> #include <event2/bufferevent_ssl.h> #include <event2/event...
b0dc0b584fc3bec2e247ca15867e790c19ba22ae
11ba8167f2a41ec947f3f8ad4bff4154cffaee9a
/sol.cpp
872128d6312e849e8ee840d804467d14fbf1268b
[]
no_license
mgalang229/Codechef-Sed-Sequences
6375010275ed675e976e48fa01062d5de5869886
a0a9b6bf37ac588e3d0e347ce1267559b6d6cdf6
refs/heads/main
2023-02-05T06:53:16.672391
2020-12-26T16:07:03
2020-12-26T16:07:03
324,589,521
0
0
null
null
null
null
UTF-8
C++
false
false
530
cpp
sol.cpp
#include <bits/stdc++.h> using namespace std; #define ll long long #define ar array void solve() { int n, k; cin >> n >> k; int sum=0; //calculate if the sum is not divisible by 'k' //if it's not divisible then print '1', otherwise '0' //explanation: printing '1' mean adding all the remaining numbers need //i...
8ea4dbf7e3ea7cd27a40a701c32bdfd76f7ee95a
a799d27b20f394a59ad8fc357123f6ae6c43bee5
/Framework/ResourceManager.cpp
e924c107cc2ea3b9da0f8c948ac1036e3e8d86f7
[]
no_license
qiomoip/space-express
2d8a6acb99b59619ed96c33c83601e1bfe642b9d
938064f9cd81a2585c0259226024a7d62ab32648
refs/heads/master
2021-01-01T15:24:52.681271
2015-08-29T11:42:55
2015-08-29T11:44:33
41,589,882
1
0
null
null
null
null
UHC
C++
false
false
4,942
cpp
ResourceManager.cpp
#include "ResourceManager.h" #include "Device.h" //#include "TString.h" #include "TerrainMesh.h" #include "StaticMesh.h" #include "Texture.h" #include "GridMesh.h" #include "BoxMesh.h" #include "Shader.h" #include "ShaderManager.h" #include "UIMesh.h" CResourceManager::CResourceManager(void) : m_mapMesh(...
3038272a8853ae25bed6b73ff3ef74c0a5b8d0e2
2bdfec46f4725c9c7c0ad54935802d84076ff3e5
/source/core/node-manager/DistributeDriver.cpp
aa6388f1b9b96dfb5b44f0161e8464d3b82717ed
[ "Apache-2.0" ]
permissive
izenecloud/sf1r-ad-delivery
66f73bc7764216a1faed3d8de0ab3a569b8d4900
998eadb243098446854615de9a96e58a24bd2f4f
refs/heads/master
2021-01-19T14:09:42.842935
2014-09-23T10:41:15
2014-09-23T10:41:15
24,359,409
18
7
null
null
null
null
UTF-8
C++
false
false
16,097
cpp
DistributeDriver.cpp
#include "DistributeDriver.h" #include "MasterManagerBase.h" #include "NodeManagerBase.h" #include "DistributeRequestHooker.h" #include "RequestLog.h" #include "DistributeTest.hpp" #include <util/scheduler.h> #include <util/driver/Reader.h> #include <util/driver/Writer.h> #include <util/driver/writers/JsonWriter.h> #i...
0ef7cc94512fe3c9e6101a7b53642cbd7d260827
6abb62030557513d7b37a7eebb81008a1cacf9d9
/Game.h
1daef81ddcbfc7b7a5e5557f3a8f327e61930f48
[]
no_license
vadimxL/Dnd_Game
b91ed33c4af8dc2812468a96471d82c3c0c60de2
a8d8924716cf0bb1e524a23cdadf338c1b932f05
refs/heads/master
2020-12-08T04:23:09.701701
2020-01-09T19:34:24
2020-01-09T19:34:24
232,883,483
0
0
null
null
null
null
UTF-8
C++
false
false
315
h
Game.h
// // Created by vadim.malinovsky on 04/01/2020. // #ifndef DND_GAME_H #define DND_GAME_H #include "Player.h" class Game { public: void Play(); void AddPlayer(std::tr1::shared_ptr<Player> player) { player = player; } private: std::tr1::shared_ptr<Player> player; }; #endif //DND_GAME_H
b63ffec4922091aa1f5f73be6e3b16876dc1273c
012a8f36b7297e7976a84b2ff9a9967a87939245
/Fundamental Algorithma/Project.cpp
c5626b12bf2578e8a2cde563050aca3041a023af
[]
no_license
eksanadit321/Kominfo-Progate
4a2497aadab0ab16654bdbe73ff6bf0bf30c3187
b7ad7388e076b5950747ce62285f8b06ccc8f70b
refs/heads/main
2023-07-26T18:52:58.350620
2021-09-10T05:38:40
2021-09-10T05:38:40
399,089,609
0
0
null
null
null
null
UTF-8
C++
false
false
6,248
cpp
Project.cpp
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<conio.h> typedef struct{ char name[200]; int damage; int maxHealth; }classes; typedef struct{ char name[200]; int damage; int maxHealth; int expGained; int goldGained; }monster; int isNew = false; monster monsters[] = { ...
9e1617213a40053c3dc6dbc8c1c59ec9b32d6e41
9e1d5ae03f6beb17021d560e0a9b431291fb23aa
/dep/gce/libs/asio/test/test_lua_asio.hpp
d81222114ce679504b80ffecf8e48c8f9dcaa68b
[ "BSL-1.0" ]
permissive
cash2one/mmo
e8bd4acc5745606d64a783245c69dbf3b88990d6
6bcbb3af7a04cc25acb380b1ba771d92cae03b30
refs/heads/master
2020-12-24T11:52:32.495390
2015-10-09T15:35:44
2015-10-09T15:35:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,219
hpp
test_lua_asio.hpp
/// /// Copyright (c) 2009-2014 Nous Xiong (348944179 at qq 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) /// /// See https://github.com/nousxiong/gce for latest version. /// #include <gce/asio/con...
d08423f5326c17648fa3d984edc3510260fdd058
37a95a2c62b97675df6b2220c5e4245a1c7f45fa
/autorally_core/src/ocs/main_window.hpp
edc7bdad27588a346067cd7315577c6ecea8ed32
[]
no_license
AutoRally/autorally
e718d908113505182f0cce4ef8b1255f3260aa5a
48bae14fe4b2d56e5ca11fd2fec3d7dfac7a0e75
refs/heads/melodic-devel
2023-08-02T04:47:44.591592
2021-08-16T19:05:29
2021-08-16T19:05:29
56,652,382
726
267
null
2021-04-07T19:27:14
2016-04-20T03:30:14
C++
UTF-8
C++
false
false
5,871
hpp
main_window.hpp
/* * Software License Agreement (BSD License) * Copyright (c) 2013, Georgia Institute of Technology * 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 retai...
03c65f509bfc9297789cecaf0da1d7b9381e33e6
b04bd17e75c26dcbd62de3bab219e88071a2a34e
/WzAG-GS/Log.cpp
75a9aaa31fd6673097d085e543c35df51ff894ad
[]
no_license
WebShok/Mu-1.0
48c8a213acea90dfe1ce3f1f548dd2b6011151f9
047d1284cf771efcb24f0cc302917fece6daf909
refs/heads/master
2023-06-28T02:35:35.258170
2021-07-31T20:46:42
2021-07-31T20:46:42
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,293
cpp
Log.cpp
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // # DARK PLUGIN - POWERED BY FIRE TEAM // # GAME SERVER: 99.60T (C) WEBZEN. // # VERSÃO: 1.0.0.0 // # Autor: Maykon // # Skype: Maykon.ale //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // # O Sen...
3b9e6c686cf5620fff3570d68bf1a7af5d34daed
d762fb9442c5d997fad75991b2184fe5b0ea3569
/catkin/build/roboy_control_center/ui_body_part.h
70126d5565c1f10851b5044d0cfd73dc41076ec0
[]
no_license
Roboy/roboy_hand
b349f5ab9120a1cdd6c703ccaa47a4b7755d6841
c647113e4e1bde685485d7d0b48bd065be9b8e83
refs/heads/master
2020-12-22T14:14:24.973777
2020-08-20T15:49:45
2020-08-20T15:49:45
131,862,666
0
0
null
null
null
null
UTF-8
C++
false
false
3,242
h
ui_body_part.h
/******************************************************************************** ** Form generated from reading UI file 'body_part.ui' ** ** Created by: Qt User Interface Compiler version 5.9.5 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *****************************************...
b224a43960ed26846009c7977bcdffb8fe864479
0f5175b1f08253451557e3a67750b27c2bee032b
/puppyandsum.cpp
3aa0a80daf1171366d1deca51a5a69fe4640e14d
[]
no_license
devikasugathan/Code_Chef_Beginner
f8ed00707150e698d894f52e4fca8122d5ae57b8
6e10ac43b86fd01df90c7a6da1d9241fdf0d5498
refs/heads/master
2021-04-06T08:08:01.278307
2018-03-19T12:52:46
2018-03-19T12:52:46
125,050,228
0
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
puppyandsum.cpp
#include <iostream> using namespace std; int main() { int t; cin>>t; for(int i=0;i<t;i++) { int d,n; cin>>d>>n; for(int j=0;j<d;j++) { int sum=0; sum =n*(n+1)/2; n=sum; } cout<<n<<...
10d0235df2fac9ffdea625e428af3dbf514c5800
7b18e60e5bec1bcf9bbb8b1c7c7369b4d3357fb1
/NM/ODEMain.cpp
9399bdd653aad4576e0cc97afddca192d6af33f5
[]
no_license
MadhuriTeli/MPI
3c6aaa8dadd9ad068c14c577752a40d9138bf209
ff239459b41ec87a3a2ea6e8f81380126ee2784e
refs/heads/main
2023-07-10T00:41:17.057470
2021-08-21T07:24:40
2021-08-21T07:24:40
398,494,245
0
0
null
null
null
null
UTF-8
C++
false
false
308
cpp
ODEMain.cpp
#include<iostream> #include"ODE.hpp" using namespace std; int main() { ODE o1; //o1.Euler(); //o1.Taylors(); //o1.TaylorNew(); //o1.RungeKulta_2(); //o1.RungeKulta_3(); //o1.RungeKulta_4(); //o1.Adams_Bashforth_1(); //o1.Adams_Bashforth_2(); o1.Adams_Bashforth_3(); return 0; }
14a22d81fb21ea850cbae94489b686163569d1b7
6e530f470b55809935b094dfcbe58a690c2510bc
/Space Invasion/main.cpp
8e4bd172d799fee648d67edf65cbd9a5eef1c5bb
[]
no_license
rygei8/Space_Invasion
cfaebcf6c6aa18da94b3b66fae3d60960bdbf5ad
5a210e3dfda033c71d22e43e404f916fe69fba7d
refs/heads/master
2021-01-01T05:37:41.213492
2014-09-20T19:12:55
2014-09-20T19:12:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,830
cpp
main.cpp
// main.cpp - Space Invasion game program main entry point // Written by Ryan Geiger // December 2013 #include "SDL.h" #include "Master.h" #include "Timer.h" #include "Utilities.h" using namespace std; #define FRAMES_PER_SECOND 60 int main( int argc, char* args[] ) { // Initialize screen surface SDL_Surface* scr...
46330bfd523ddb18a45332aada5cd280f1c313db
8191864909f7d8b896f97ff353ce475757f4fbd1
/deps/spidershim/src/v8proxy.cc
f184361630e53da532569aa4b48dc830e4ce2fec
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unicode", "LicenseRef-scancode-openssl", "LicenseRef-scancode-unknown-license-reference", "Artistic-2.0", "NAIST-2003", "NTP", "ICU", "ISC", "Zlib", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
mozilla/spidernode
df5a1e58b54da5bfbc35a585fc4bbb15678f8ca0
aafa9e5273f954f272bb4382fc007af14674b4c2
refs/heads/master
2023-08-26T19:45:35.703738
2019-06-18T19:01:53
2019-06-18T19:01:53
55,816,013
618
69
NOASSERTION
2019-06-18T18:59:28
2016-04-08T23:38:28
JavaScript
UTF-8
C++
false
false
1,759
cc
v8proxy.cc
// Copyright Mozilla Foundation. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modif...
82e66dc66142b006ec5a95546d448da2cf40280f
d83ceeafd709e03577d0ed5f996719128b621223
/Baekjoon/Baekjoon/12760_최후의_승자는_누구.cpp
a9d9e486ebae7adb19a6f0bd21cd4b1f0fff9c4c
[]
no_license
hyunynim/Algorithm_Study
58b56457e48471dfc3a6de2a758534babfffe4c0
1112a57ef95344b66f8313464f5fde428bb5bc3d
refs/heads/master
2021-10-18T16:20:25.524826
2019-01-15T08:39:32
2019-01-15T08:39:32
125,656,431
0
0
null
null
null
null
UTF-8
C++
false
false
1,112
cpp
12760_최후의_승자는_누구.cpp
#include<cstdio> #include<queue> #include<functional> using namespace std; int main() { priority_queue<int> card[101]; int n, m, tmp; scanf("%d %d", &n, &m); for (int i = 0; i < n; ++i) { for (int j = 0; j < m; ++j) { scanf("%d", &tmp); card[i].push(tmp); } } int score[101] = { 0 }; int maxScore, ma...
0d0a7b676f67d94ff72650722356a3e826fd940f
a45261de442b7df1140ddaa2069ae3d48db2597c
/src/GUI/ColorButtonHandler.cpp
561794ec1df05538576c5589f7c31ff70842e028
[]
no_license
GM07/Island
c506b958c241cbdc022e43f19693ae543db3fee7
c2ecc52bf8d0a6b0ceca044a637232ab88ca02ef
refs/heads/master
2023-02-13T08:30:10.808734
2020-12-30T21:17:43
2020-12-30T21:17:43
305,188,204
0
0
null
null
null
null
UTF-8
C++
false
false
5,175
cpp
ColorButtonHandler.cpp
#include "../headers.h" #include "ColorButtonHandler.h" /** * @brief Constructor * @param color Base color * @param hoverColor Color when mouse is on button * @param clickedColor Color when button is clicked * @param offColor Color when button is disabled * @param textColor ...
d6b402100fcd04533a5c5af40f3b24cad526879c
1bc64732201834a7ac85c0d83fa3dbf4e077f358
/slr_parsing/main.cpp
a214375b086afa51c81169a162a61c9dbc4bfe6f
[]
no_license
futre1529/Implementations
19129b3890e7a7633132b706d2ff63ee099a0f7c
d53154eda591397d18ded60d5ea0c14271e72cfc
refs/heads/master
2021-01-22T09:05:27.870339
2014-03-16T05:26:31
2014-03-16T05:26:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,456
cpp
main.cpp
#include<iostream> #include"can_set.cpp" #include<conio.h> #include<utility> using namespace std; vector<vector<can*> >cset; pair<bool,int>**table; can* acc; void print_table(string s,pair<bool,int>** t) { cout<<s<<endl<<"\t"; int num=term.size()+nterm.size(); for(int i=0;i<term.size();i+...
463ab0c77172e55b5f6b3258bad8c2b6a7958b05
e68809630211bfa16569605de02df7cc44f650b1
/Chapter2/CalculatorOverGaloisField/Calculator Over Galois Field/Calculator Over Galois FieldDlg.cpp
985a13247815772f261681ed051ce9a88a0094e0
[]
no_license
whatfcukoff/NetworkCoding
931a5b9a71c961d79860c64dcefc480bda04a780
f486047ebcd6cc1bdd54fae5acaba70f683c2119
refs/heads/master
2021-08-07T12:47:30.359181
2017-11-08T06:31:52
2017-11-08T06:31:52
null
0
0
null
null
null
null
GB18030
C++
false
false
6,415
cpp
Calculator Over Galois FieldDlg.cpp
// Calculator Over Galois FieldDlg.cpp : 实现文件 // #include "stdafx.h" #include "Calculator Over Galois Field.h" #include "Calculator Over Galois FieldDlg.h" #include "afxdialogex.h" #include "gf.c" #ifdef _DEBUG #define new DEBUG_NEW #endif // 用于应用程序“关于”菜单项的 CAboutDlg 对话框 class CAboutDlg : public CDialogEx { publi...
ca42d3dd6c2e895e1f56f9d0cc754bcbe63cf850
147c0c29769f2999e323a0f2944372431afdf6d4
/tests/unit.cpp
c9d5b38a9fde31a72983edb293d18fdea4ad7250
[]
no_license
Anan8/gaga
92ff0355467f0492f1a3e3dba11e678021edbd6e
64dbaf741fea585cfe57b42ed4e4db9d96d8f2f2
refs/heads/master
2020-03-18T06:52:44.087000
2017-02-16T14:10:11
2017-02-16T14:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,055
cpp
unit.cpp
#include "../gaga.hpp" #include "catch/catch.hpp" #include "dna.hpp" #include "grgen/classic.hpp" #include "grgen/common.h" #include "grgen/grn.hpp" template <typename T> void initGA() { GAGA::GA<T> ga(0, nullptr); ga.setVerbosity(0); ga.setMutationProba(0.7); ga.setCrossoverProba(0.3); ga.setEvaluator([](auto &i...
2de48c2d24cdee24fdba33313917db8674702ecc
0d0415e740bf76ebb464acc56cae293b2a976239
/project/mypushbutton.h
52d81819dbf32d8eef89aa6da030b38a956188de
[]
no_license
zhuxing666/Qt-CoinGame
bb1172262c9862f2bac4d441531c073606c5a163
90770cfbed4d27b605a27dfad593c7cb2070b947
refs/heads/main
2023-07-27T20:55:26.330741
2021-09-13T12:47:01
2021-09-13T12:47:01
405,958,236
1
0
null
null
null
null
UTF-8
C++
false
false
723
h
mypushbutton.h
#ifndef MYPUSHBUTTON_H #define MYPUSHBUTTON_H #include <QPushButton> #include<QString> #include<QDebug> class MypushButton : public QPushButton { Q_OBJECT public: //explicit MypushButton(QWidget *parent = 0); //构造函数 参数 1正常显示图片 参数2 按下后正常图片路径 MypushButton(QString normalImg, QString press...
4c198748160dc063d25ab0e93a0050947944088f
611a218bd3bebedac7b2036196143b2c3e9cd57d
/include/fast_master.h
f0eb3dac122648725d5b9a156ba624fe0faac10e
[ "Apache-2.0" ]
permissive
jwlawson/qvmmi
7f505f9e56bb8fbb1610a0240727b65f1b4a5991
a3e121187751374a218bacdcb22d1aeddd01e623
refs/heads/master
2020-09-13T08:21:30.798271
2016-08-25T10:04:38
2016-08-25T13:21:31
18,524,902
0
0
null
null
null
null
UTF-8
C++
false
false
1,104
h
fast_master.h
/** * fast_master.h * * Contains headers for the FastMaster abstract class. This Master object takes an * iterator of matrices and checks all extensions of those matrices. Any * minimally mutation infinite matrices found in this way are then output to * stdout. */ #pragma once #include "master.h" #include <uno...
d26c925a3aee7a2c4223f3a3f210082721b3f669
7b6cbb82ae8a8d9e616a72bb1e621199cebd330c
/includes/gui_object.h
112217e106eab874bce9b00ef384a4b143841345
[]
no_license
Hyarius/TAAG-3D-redesign
1847f6aaaf6f1aca8060307f045bf073384c7899
09d2983b85e49777e8b9fd02913e373d0f9952bb
refs/heads/master
2020-03-30T13:02:18.752104
2019-03-26T15:32:23
2019-03-26T15:32:23
151,253,244
1
0
null
null
null
null
UTF-8
C++
false
false
2,579
h
gui_object.h
#ifndef GUI_OBJECT_H # define GUI_OBJECT_H # include "template_gui_structure.h" #include "actor.h" #include "spell.h" using namespace std; typedef struct s_iterator : t_gui_obj { t_button_comp *button[4]; //0 - description | 1 - button minus | 2 - value | 3 - button plus string text_value; int *value; int...
251e0ed5c6574209d9ab54ff5f722dc1531ae603
258c0c846bae4d0046c3a8ccc999be5dd4dfcb94
/src/parser.hpp
4f16a87b798f95622bcc9b3446e4fc568f402b19
[ "MIT" ]
permissive
istvanfedak/lambda-calculus-interpreter
69f5e87cee9acf15db5c4cad3f47405cef5c79f2
8da5137ae329285a425f29a29f82c4f75af17962
refs/heads/master
2022-01-11T19:37:51.330644
2019-07-04T21:45:58
2019-07-04T21:45:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
468
hpp
parser.hpp
#ifndef PARSER_HPP #define PARSER_HPP #include <iostream> #include <string> #include <vector> #include "lexicalAnalyser.hpp" #include "Lambda.hpp" #include "Variable.hpp" #include "Abstraction.hpp" #include "Application.hpp" Lambda * parser(const std::vector<std::string> & tokens, int & i); Lambda * ...
87aba198a1736d886ada21b5feffbea386411965
54072b6836b1ab81a06a8e408e7248979c59af44
/Asg1/Q1/ofApp.cpp
9a523ff4a46a701ea0ec79466e560c56117f7137
[]
no_license
titikakakuko/Computer-Vision-for-Interactivity
800b199344d39fe3cc5fb8b9a3a1b0a366264462
94ecdaf3557534aa91940872ad7498ac0c7cde53
refs/heads/main
2023-08-19T06:09:23.137564
2021-10-30T01:04:11
2021-10-30T01:04:11
422,487,663
0
0
null
null
null
null
UTF-8
C++
false
false
799
cpp
ofApp.cpp
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { imgMan.load("running.jpg"); imgBg.load("bg.jpg"); matMan = toCv(imgMan); matBg = toCv(imgBg); for (int x = 0; x < matMan.cols; x++) { for (int y = 0; y < matMan.rows; y++) { int c = matMan.cols; if ...
1586df4462ab29641330121f0c3ecf2774d2934f
c7b8bcd26e5ba4a3eab379c5c6321c0eebe2a455
/Firmware/VController_v3/Class_MD.ino
1f220f6a4fbbe9423e40b0ba6cb576e8cbc1e4c5
[]
no_license
sixeight7/VController_v3
cc66e3d85d3f1bbcf7cfbc74a696f70053c082e2
ff9fdd605faaa1e498a36ab5a3867cbd52517313
refs/heads/master
2023-04-19T09:37:32.782761
2023-03-20T16:44:34
2023-03-20T16:44:34
85,973,767
64
14
null
2018-09-25T06:42:27
2017-03-23T16:44:30
C++
UTF-8
C++
false
false
78,222
ino
Class_MD.ino
// Please read VController_v3.ino for information about the license and authors // This page has the following parts: // Section 1: MD_base_class declaration (base) // Section 2: MD_GP10_class declaration (derived) // Section 3: MD_GR55_class declaration (derived) // Section 4: MD_VG99_class declaration (derived) // S...
6b8e31a17741ba7dcc7853ac6638850d48b5a043
91d315d15e7f85c57d9fac6956f7e085653ca0b2
/Library/MinFunction.h
152737e217ab76f11400948fc063b5f2ff7aad2c
[]
no_license
pradeepkodical/pkParser
83ab03ab94098ae1dbd5f0636de15ecdcc5e8588
e9e7f17f850071d82bc34a1a8d1b422990e63d66
refs/heads/master
2016-09-16T00:58:37.207043
2012-04-26T22:29:20
2012-04-26T22:29:20
4,152,853
1
1
null
null
null
null
UTF-8
C++
false
false
733
h
MinFunction.h
/*--------------------------------------------------------------------------- * Copyright 2004-2012 Pradeep Kodical * This source code is licensed under the terms of the * Lesser Gnu Public License (see license.txt) and carries * NO WARRANTY *------------------------------------------------------------------------...
87be6a930c22fad9746cc1dc7f6d2f6350299c2e
e82adff11877afb27b2970718726567ae919fa8b
/pam_test.cpp
23b1807c79be34ff0bb3d88a4bd5396a17d09171
[]
no_license
wangkeyi203/test_ePass
ba6c9d7da4bca5377447b4898c0bf94da81fe4c6
e96f1ab0ebc752e868e879230b43ef3b8ea3af1a
refs/heads/master
2021-01-20T17:55:01.207199
2016-07-24T14:52:03
2016-07-24T14:52:03
64,070,409
0
0
null
null
null
null
UTF-8
C++
false
false
6,324
cpp
pam_test.cpp
// // Created by 王轲毅 on 16/7/24. // #define PAM_SM_AUTH #include <security/pam_modules.h> #include <security/pam_appl.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include <syslog.h> #include <stdlib.h> #include "skf_test.h" #define MODULE_NAME "my_pam" #define PAM_DEBUG_ARG 1 #define DPRINT if...
add015b57d746d92f4a8fe97f848490868101ceb
d4a515cac988d44fb08d6e261f8ab0372468777f
/parking_fee_calculation_and_motor_control_etc.ino
4fb5293600dcc58c4faa69d6a707b210a04a82c9
[]
no_license
lej0790/Automatic-Parking-Lot-System
cf6d7d60ef08a844e4d027d5c5f9a2e471583b50
9499c05327ad643676004b56cfab14b6522118d6
refs/heads/master
2020-06-04T05:20:51.144487
2019-06-14T06:45:28
2019-06-14T06:45:28
191,886,614
0
0
null
null
null
null
UTF-8
C++
false
false
8,197
ino
parking_fee_calculation_and_motor_control_etc.ino
//lcd 라이브러리 해더 #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 20, 4); //서보모터 라이브러리 해더 #include <Servo.h> //입구 쪽 서보모터(주차장 차단기) Servo myservo; //출구 쪽 서보모터(주차장 차단기) Servo myservo1; //출구 RFID 라이브러리 해더 #include <SPI.h> #include <MFRC522.h> #define SS_PIN 10 #define RST_PIN 9 //출구 RFID 라이브러리...
4c7c986b425c00c89395a0b57801a0f4f470bd8c
8bc7ae24c5d61224e4f300c61376dd65f345b424
/wet4/malloc_2.h
d1e98cbc5b86d1b85ac8252b0689bf43be3893e9
[]
no_license
dekool/operating-systems-1
a4794ede125670a3519cde19ce5ea9cff065628d
a845c4f5a3d5e7a2ce93a8a7f7cf29a4c023ea84
refs/heads/master
2020-05-04T01:04:18.333843
2019-06-25T16:49:57
2019-06-25T16:49:57
178,897,395
0
0
null
2019-05-25T16:33:35
2019-04-01T15:54:31
C
UTF-8
C++
false
false
1,312
h
malloc_2.h
#ifndef WET4_MALLOC_2_H #define WET4_MALLOC_2_H #include <cstdlib> #include <unistd.h> #define MAX_MALLOC_SIZE 100000000 struct meta_data { size_t block_size; bool is_free; }; class Node{ public: Node(): data(NULL), next_node(NULL){ }; void setNext(Node* next){ this->next_node = next; ...
2e4c3f69f990821fbdb3ee783d26fbb49c32a9c6
23526a9c7c917da261e91fce1371ff65611001af
/game-overlay/deps/src/corelib/ex/waitable.h
c3f165aaaa5f59619ea0c88891698a854b7036a2
[ "MIT" ]
permissive
honzapatCZ/gelectron
3726ca86b171e4f77cfa50fb05c4380c79c25f92
96ffea892f43c1ff07df7c764779f1c3f0f2083c
refs/heads/master
2023-03-22T10:11:03.280289
2021-03-09T11:35:01
2021-03-09T11:35:01
258,478,629
19
8
MIT
2023-03-06T15:01:19
2020-04-24T10:19:51
C++
UTF-8
C++
false
false
5,583
h
waitable.h
#pragma once #include "schedule.h" namespace Ex { enum class WaitableState { Wait = 0, Signal, Timeout, Disposed }; class WaitableImpl; class WaitableRef { friend class SchedulerWorker; std::shared_ptr<WaitableImpl> d_; typedef Storm::Callback<void(WaitableRef)> ...
d29d7c476a36d66958a5dcdcd6df90a92a99fafe
402c7656d5ca377b465764b31d70df75cf071fec
/src/components/keyboardeventcomponent.cpp
2dc52721a22daf2cf3f34914c0914815ded696db
[]
no_license
realliance/madd
bb0060258b045bdf2208239573c742975c1fe3ba
f5a541c5fce3888b25ca194d02d914b4cdf5d6c3
refs/heads/master
2021-06-11T03:31:23.361946
2020-03-13T01:11:09
2020-03-13T01:11:09
128,241,434
1
2
null
2019-03-23T23:03:18
2018-04-05T17:34:12
C
UTF-8
C++
false
false
192
cpp
keyboardeventcomponent.cpp
#include "keyboardeventcomponent.h" #include "madd.h" ComponentType KeyboardEventComponent::cType = Madd::GetNewComponentType(); ComponentType KeyboardEventComponent::Type(){ return cType; }
ae41f35455c36984ad8d815e5b484a2bf729f72e
97b56affa5ab538c0c29f8ad5b2b74fbfc3698ad
/concurrent_bitmap/concurrent_bitmap/concurrent_bitmap.h
b239ea64bbfeb0946b45d9a702e25d359b977ffe
[]
no_license
georgeus19/Advanced-c-plusplus
96e34115b1f2e36dff910b731c34a92a333d9967
d8bbb5f21d6421ba7172c0aea7d7080050728e96
refs/heads/master
2020-12-27T05:56:20.832788
2020-02-02T14:45:34
2020-02-02T14:45:34
237,785,019
0
0
null
null
null
null
UTF-8
C++
false
false
2,066
h
concurrent_bitmap.h
// concurrent_bitmap.hpp // <Krystof Hruby> NPRG051 2019/2020 #ifndef BITMAP #define BITMAP #include <atomic> #include <cstdint> #include <iostream> #include <mutex> #include <array> struct node { virtual ~node() {} }; struct inner_node : public node { std::array<node*, 64> data; inner_node(); ~inner_node(); }; ...
3242b05bb0e70232ada429473e68a414e7afcac4
94ed2113af11ba8b716fb959c5ac0a32c5549c18
/lib/mpi/Handle.h
af0ef19985ea6ba6023a990c2b773926717899ac
[ "BSD-3-Clause" ]
permissive
avalentino/pyre
85ba21388514dc8c206d5136760e23b39aba1cae
7e1f0287eb7eba1c6d1ef385e5160079283ac363
refs/heads/main
2023-03-23T04:58:02.903369
2021-03-09T17:37:11
2021-03-09T17:37:11
347,723,195
0
0
NOASSERTION
2021-03-14T18:43:34
2021-03-14T18:43:33
null
UTF-8
C++
false
false
956
h
Handle.h
// -*- C++ -*- // // michael a.g. aïvázis // orthologue // (c) 1998-2021 all rights reserved // // code guard #if !defined(pyre_mpi_Handle_h) #define pyre_mpi_Handle_h // place Handle in namespace pyre::mpi namespace pyre { namespace mpi { template <typename Resource> class Handle; } } // declaratio...
bf63ea6ea0f916b1bd17b7446dd89f75665e9cf3
b1e1428e311a505eef3cbe2c632c242ca7856d2c
/rodri/uva/11498.cpp
89ea195fb6e3fe0cb0f6ff2e4813570acf4443d5
[]
no_license
RodrigoDePool/algorithms
5c3576bd1080f13a7e604d49cbdc12871da0d11f
337cc47915e104db47717f860c72822c6820efdb
refs/heads/master
2020-04-09T07:39:00.976685
2019-11-12T00:10:01
2019-11-12T00:10:01
160,164,525
0
0
null
null
null
null
UTF-8
C++
false
false
803
cpp
11498.cpp
#include <iostream> using namespace std; int main() { int nqs; cin >> nqs; while (nqs != 0) { int divx, divy; cin >> divx >> divy; for (int i = 0; i < nqs; i++) { int x, y; cin >> x >> y; if (x == divx || y == divy) { ...
93ffbd1e9432bae9737e935a456f18a959e29a2c
7b07fc3649269506bd4bebd8d64a828054bcc880
/dp_problem/rack falls.c++
d375824cfed04cdb6e192608962bed9bc8744415
[ "MIT" ]
permissive
abdelrhman-adel-ahmed/algorithms
8cb4ff1c8d5dc6af517252096d1b18c42f22c236
4f8072c04eb79104c7744fdfa40b61ef4ce86072
refs/heads/main
2023-08-28T19:48:32.676527
2021-10-02T21:37:36
2021-10-02T21:37:36
309,360,062
0
1
null
null
null
null
UTF-8
C++
false
false
1,865
rack falls.c++
//https://www.hackerrank.com/contests/rookierank-4/challenges/server-room-safety/problem #include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; string rack(int elem, vector<int>pos, vector<int>height) { string res = "NONE"; bool allfall = true; int n = 0; /*...
585fc607440ab4b8b6b6a061438f99e7e1df3b43
3a2af230da7d699df36e06ac2358f1f240d47880
/2020_October/25.cpp
47ab145fd1b0ab6adef586ac7b5025b83ee147de
[ "MIT" ]
permissive
zzz0906/LeetCode
96e6baca4355cf842826d650e111a65b4f8d93b8
6c2ad7ecb91343033362bcb9e6e90766918bef5e
refs/heads/master
2023-06-23T11:18:21.610633
2023-06-23T00:22:52
2023-06-23T00:22:52
93,714,713
22
0
null
2021-08-17T14:17:30
2017-06-08T06:26:02
C++
UTF-8
C++
false
false
531
cpp
25.cpp
class Solution { public: vector<int> square; bool winnerSquareGameCounter(int n){ for (int i = 0; i < square.size(); i++){ if (square[i] <= n) } } bool winnerSquareGame(int n) { for (int i = 0; i <= sqrt(n)+1; i ++) if (i*i <= n) square.pus...
0642473d28fc87e0001d697ae6ec1eff640dd632
05c3cce5aab97b68d0b6c0357843be6105c6d084
/myOpenGL/myglwidget24.cpp
788a99c8c7a6da7ef23fecc18c91b2b43fcdfcec
[]
no_license
TommyZhang936/MyQTP
48701e75eed655775c25dc092c19a75c68741084
95848d7b7f289cafe860a9a47b301dd78af518b8
refs/heads/master
2021-01-11T02:31:21.525952
2016-11-20T14:26:49
2016-11-20T14:27:04
70,928,725
0
1
null
null
null
null
UTF-8
C++
false
false
13,920
cpp
myglwidget24.cpp
#include "myglwidget24.h" #include <QKeyEvent> #include <QTimer> #include <GL/glu.h> MyGLWidget::MyGLWidget(QWidget *parent) : QGLWidget(parent) { fullscreen = false; setFixedSize(640, 480); //设置固定的窗口大小 m_Scroll = 0; m_Maxtokens = 0; m_FileName = "E:/Q...
8c60d0e5a324470c788ba9cdd65174459cd06b4c
bf7a49673e87013447a009ff92b439ca6d74e577
/roi2017/day1-B.cpp
80ca0a9673754a7e62440f5bae55061945d7c93b
[]
no_license
maximelianos/algorithm-c-cpp
971e7edf9cf100309372339b8e045dafc9e27ba6
13047501f5c883222df23522aa57922d70a490ea
refs/heads/master
2022-01-29T10:05:37.470908
2018-03-09T14:27:33
2018-03-09T14:27:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,801
cpp
day1-B.cpp
// exa.cpp : Defines the entry point for the console application. // //#include "stdafx.h" #include <iostream> #include <stdio.h> #include <vector> #include <string> #include <algorithm> #include <math.h> using namespace std; // Define #define ll long long int // Variables int n; vector< vector<in...
a8a232a0c02c0bc25c6595653cdeafec086757b3
214f3bc0fff4e6fd9d2dbe2bea4524813e7907b1
/mogupro/game/include/Network/Packet/Request/cReqLightBomb.h
f71002062d735c0f09f1dd675da11a468bc4131b
[ "MIT" ]
permissive
yumayo/mogupro
9d88676fc11da5f19b3f1f4a31129fdc911c610a
33b67529624cb77f7259cb8420895dab6d229f2e
refs/heads/master
2018-12-19T02:21:11.834285
2018-09-15T09:07:31
2018-09-15T09:07:31
106,014,321
3
5
MIT
2018-02-23T15:08:17
2017-10-06T14:30:39
C++
UTF-8
C++
false
false
550
h
cReqLightBomb.h
#pragma once #include <Network/Packet/cPacketBase.h> #include <Network/Packet/PacketId.h> #include <cinder/Vector.h> namespace Network { namespace Packet { namespace Request { class cReqLightBomb : public cPacketBase<cReqLightBomb, PacketId::REQ_LIGHT_BOMB> { public: cReqLightBomb( ); void packetI...
528741e6aeb7db9d16c4907a278476e10c140b8e
912cd9c4baebaf6df91b9d0b364b22e3e59f72de
/src/add-ons/translators/pngtranslator/PNGTranslator.cpp
962259c92f83c5000dcffef6ef22409cefc12747
[]
no_license
D-os/cosmoe
994ad2ead11a7fd4a4a18f2e48589e664d767ea3
ff9803afcfa6ef588548dfb850f55a098d84ee13
refs/heads/master
2020-03-07T21:59:47.239870
2014-11-10T15:46:12
2014-11-10T15:46:12
127,742,119
1
1
null
2018-04-02T10:34:39
2018-04-02T10:34:39
null
UTF-8
C++
false
false
32,456
cpp
PNGTranslator.cpp
/*****************************************************************************/ // PNGTranslator // Written by Michael Wilber, OBOS Translation Kit Team // // PNGTranslator.cpp // // This BTranslator based object is for opening and writing // PNG images. // // // Copyright (c) 2003 OpenBeOS Project // // Permission is...
c90bf4b480bca89d50a1fe8fe4704bee85053093
cf7ae4ac2644daa52e0f7c5ae30c72b66d15fc7f
/Engine/CommandSystem/CommandCamera/CommandCameraTremble.cpp
e1508f3b6532adce77fa21b86aa17c6d3e6a1351
[]
no_license
ZHOURUIH/GameEditor
13cebb5037a46d1c414c944b4f0229b26d859fb5
eb391bd8c2bec8976c29047183722f90d75af361
refs/heads/master
2023-08-21T10:56:59.318660
2023-08-10T16:33:40
2023-08-10T16:33:40
133,002,663
18
21
null
null
null
null
UTF-8
C++
false
false
802
cpp
CommandCameraTremble.cpp
#include "Utility.h" #include "txTrembling.h" #include "txTremblingManager.h" #include "txCommandHeader.h" #include "GameCamera.h" #include "CameraTrembling.h" void CommandCameraTremble::execute() { GameCamera* gameCamera = CMD_CAST<GameCamera*>(mReceiver); CameraTrembling* comTrembling = static_cast<CameraTrembling...
319d18559f0e8df07d5e4fe088416d778bd4b861
45c6e5e140019ea417b06fe5c082ad309eaab0ce
/DlgAlignNeedle.cpp
71d373c7d1c91b995191ca98f192edfe75140457
[]
no_license
isliulin/fadvs
532220b54d17eab90717a8cd92b280417e65eeeb
5729519bcd0651eb85b34fcbda61c50f1d70ddc4
refs/heads/master
2022-10-16T04:32:17.502976
2020-06-15T09:55:21
2020-06-15T09:55:21
null
0
0
null
null
null
null
GB18030
C++
false
false
9,009
cpp
DlgAlignNeedle.cpp
// DlgAlignNeedle.cpp : implementation file // #include "stdafx.h" #include <math.h> #include "TSCtrlSys.h" #include "DlgAlignNeedle.h" #include <math.h> // CDlgAlignNeedle dialog IMPLEMENT_DYNAMIC(CDlgAlignNeedle, CDialog) CDlgAlignNeedle::CDlgAlignNeedle(CWnd* pParent /*=NULL*/) : CDialog(CDlgAlignNeedle::IDD, pP...
dd4e88fb0971573d564fa017ff0925a870534f94
04f6a2d7c5774cd15c29793f33e9ec115b55b407
/src/core/db/realtime_feed.hpp
a507697f9c322880993b30976997395cde7d5383
[]
no_license
vrtx/virtualeyes
85bdbdfb7353b129e541682747f5c4d65e95313a
376f3015bf38304de2f85461b104f81e50f34420
refs/heads/master
2021-01-01T18:07:49.763624
2014-06-25T23:45:41
2014-06-25T23:45:41
2,534,790
2
1
null
null
null
null
UTF-8
C++
false
false
993
hpp
realtime_feed.hpp
/////////////////////////////////////////////////////// // virtualeyes // // Copyright (c) 2011 - 2011 Benjamnin Becker // All Rights Reserved // // @brief database interface (including real-time tailable collections) // @author ben // @date 1/7/12 /////////////////////////////////////////////////////// #ifndef ...
8f317d9c7c3610316154e8d6b8237e8fb117c295
6a060ed7ca2cf942e0a2cbd410e3877b10a6132b
/player/yuv/yuv/yuv_str.cpp
6b3dcb0e46771e2bc18e5c9ea9d33f90fc950490
[ "MIT" ]
permissive
y38y38/yuv
730ebfbe129e5ea9593b29449eaa490df976c216
3a09ba6a785f1c54a43abac4f63a4f0149af9741
refs/heads/master
2022-08-31T12:01:38.497492
2022-08-15T09:41:51
2022-08-15T09:41:51
73,189,086
0
0
null
null
null
null
UTF-8
C++
false
false
384
cpp
yuv_str.cpp
#include "stdafx.h" #include "yuv_str.h" YuvStr::YuvStr(void) { return; } YuvStr::~YuvStr(void) { return; } TCHAR *YuvStr::GetFileName(TCHAR *path) { TCHAR *result; TCHAR *next; next = path; for (int i=0;i<100;i++) { result = _tcsstr(next, _T("\\")); if (result == NULL) { break;...
830429bc2d4367d3234b813fb9ebd7fd3638413e
f283d0ab92861331af801cbee4ae3cb97d61891e
/algorithim/hw1_mergeSort/hw1.cpp
493b40c8efe6ed63ec9db0192b110377e8a2fc97
[]
no_license
qwerthjkl45/annProject
e4510bb428604fb94b6946e082039a6ec67497e7
5f9d55e1788bb436e398139ab4c88b4dcd3d3cfe
refs/heads/master
2020-12-01T00:25:56.298905
2017-02-15T02:49:54
2017-02-15T02:49:54
67,135,810
0
0
null
null
null
null
UTF-8
C++
false
false
2,114
cpp
hw1.cpp
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <fstream> #include <iostream> long long running_count = 0; using namespace std; int *merge(int*leftData, int* rightData, int leftLength, int rightLength) { int *combineData = new int[leftLength+ rightLength]; int rightIndex = 0 ; int leftIndex = 0; ...
3f08056bf3c0a3e95005dd7b12a8e24b0e241e6b
57c012ba54ded9ca34ee31c559d707349a1e6cfc
/mod07/ex00/whatever.hpp
eace4232e3c31323f9814e3586cc9c5bee752198
[]
no_license
mikirosario/cpp
61944a4e39f9d2c06b26c4076e5a76834e6fdb4f
12d1e6ea4f4478805379babe75b4285661bf79f8
refs/heads/main
2023-08-23T16:43:28.100491
2021-11-06T17:29:03
2021-11-06T17:29:03
412,053,059
1
0
null
null
null
null
UTF-8
C++
false
false
1,230
hpp
whatever.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* whatever.hpp :+: :+: :+: ...
6e0a7ad8f6340c2654ef8c3d70572eba47f2b811
4fcd8c78080d983c20f4d28c8703a0767d766ae9
/get_page/parser.hpp
f3644ba3928dca5a27b1bb3a38d08fb3865c6b34
[]
no_license
denislobanov/lcpp
e7484c8feebd790935768f5ab4a6849ffd2574aa
9087efdc37d2daf52c993dda121429f309d5b064
refs/heads/master
2021-01-12T05:03:37.155429
2017-01-15T23:32:29
2017-01-15T23:32:29
77,840,176
0
0
null
null
null
null
UTF-8
C++
false
false
1,132
hpp
parser.hpp
#if !defined(PARSER_H) #define PARSER_H #include <iostream> #include <vector> #include <libxml/HTMLparser.h> //libxml2 #include <libxml/xpath.h> #include <glibmm/ustring.h> #include "ipc_common.hpp" //data returned from crawl struct data_node_s { Glib::ustring tag_name; //tag name crawled Glib::ustring t...
2e0aa308be0deb90b0c6a43f86b76f47090b1fa0
8de6afb8c8dc880e1c323ed41f15697720937a69
/tags/tags.cpp
762ff8fb5b3326157acf6ac89b2e2b2184fcb690
[ "BSL-1.0" ]
permissive
XzoRit/C--Playground
d19ab9989887eac10f556aa1938856bfe0495a4e
a413645fe03dfcce831f4010cac26355be90d42a
refs/heads/master
2021-01-23T08:14:42.805060
2012-12-12T19:44:36
2012-12-12T19:44:36
7,065,958
0
1
null
null
null
null
ISO-8859-1
C++
false
false
1,056
cpp
tags.cpp
// tags.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung. // #include "stdafx.h" #include <iostream> struct Tag { }; struct Hose : Tag { }; struct Absorber : Tag { }; struct Switch { template<typename T> bool enabled(T) { return this->enabledImpl(T()); } private: bool...
0ef0a081496bc3df860c7fd23235cc91eed89080
6bf0252b2c0600cf8d9e664d8d677eee34746f72
/BaekjoonOnline/2302_cinemaSeat.cpp
b1469b02aaf3532cdf6932acda325dc503e8d6ba
[]
no_license
lja9702/JinAh-BOJ
18bfd3029c946e9d16039cc3ec813a6321c4e41c
eb6c16f7f315b8acbdc3c7532f49fbedb01dc43e
refs/heads/master
2021-04-28T14:35:50.179515
2018-08-19T05:54:20
2018-08-19T05:54:20
121,968,017
0
0
null
null
null
null
UTF-8
C++
false
false
382
cpp
2302_cinemaSeat.cpp
#include <cstdio> int dp[41], n, m, arr[41], res = 1; int main(){ dp[0] = 1, dp[1] = 1, dp[2] = 2; for(int i = 3;i <= 40;i++) dp[i] = dp[i - 1] + dp[i - 2]; scanf("%d %d", &n, &m); for(int i = 1;i <= m;i++) scanf("%d", &arr[i]); arr[m + 1] = n + 1; for(int i = 1;i <= m + 1;i++){ int gap = arr[i] - arr...
05c680deb38d24c0378e8cf5074531c6ba55b016
f231fd7cb34b042a91addf2e96468cc08ab785e3
/books/FundamentalsMatrixComputations/exercise.01.003.017.cxx
f473fa5689943335ab4fd5630da1c46533b97117
[ "Apache-2.0" ]
permissive
xunilrj/sandbox
f1a0d7a1af536bea217bc713e748f04819c2480b
d65076ba487b8bf170368c9e0a0d23e0575fc09f
refs/heads/master
2023-05-10T09:27:59.541942
2023-04-26T15:39:25
2023-04-26T15:39:25
64,613,121
8
5
Apache-2.0
2023-03-07T01:57:24
2016-07-31T20:12:02
C++
UTF-8
C++
false
false
3,336
cxx
exercise.01.003.017.cxx
template <typename T> class localarray{ public: localarray(T * v) : Value(v) {} ~localarray() { delete [] Value;} private: T * Value; }; bool matrix_foward_substitution_row_oriented(int N, float * A, float * b) { auto at = [&](const int x, const int y) {return (x*N)+y;}; int i = 0; for(;i < N...
1dca6215df33f1cc67b3c5c2b02b87791ecf5368
7e97337d9ea7701a788d7bf639eea84ec25923cd
/AppServer/src/Model/jobifyCredentials.h
4c82089ef5804d11d0ec5b5413e1a347b9f5b66a
[]
no_license
jaschulz/JobifyAS
8b9b0f1cc65604d053eec66186d3234f26c6ec2c
19f45b39f2f69280db9c02e4003b0379a8bd8f3e
refs/heads/master
2020-04-18T13:24:22.633092
2016-12-12T18:35:34
2016-12-12T18:35:34
67,640,937
0
0
null
2016-10-06T18:46:12
2016-09-07T20:27:13
C++
UTF-8
C++
false
false
499
h
jobifyCredentials.h
#ifndef JOBIFY_CREDENTIALS_H #define JOBIFY_CREDENTIALS_H #include <unistd.h> #include <stdlib.h> #include "Credentials.h" #include <jsoncpp/json/json.h> #include <string> using namespace std; class jobifyCredentials: public Credentials { private: string password; public: jobifyCredentials(const string &mail, con...
dcb95150b40f251515211dace366a9a63472559d
80db5ef3961350de9a8817e98426faff170d9b87
/13. Roman to Integer/13. Roman to Integer/13. Roman to Integer.cpp
373e0b0f51a1f6a3e457f53cf9fb73bf45886e4a
[]
no_license
Maple-feng/leetcode
be399ed641c6251cd5a009824ae36531c6320c36
af165ef9b5933409e7a792d123fd7cdef390ba66
refs/heads/master
2021-01-15T19:06:32.669740
2017-09-04T11:51:04
2017-09-04T11:51:04
99,806,689
0
0
null
null
null
null
GB18030
C++
false
false
859
cpp
13. Roman to Integer.cpp
#include <iostream> #include <string> #include <map> using namespace std; class Solution { public: int romanToInt(std::string s) { int sum = 0; char char_arr[] = { 'I', 'V', 'X', 'L', 'C', 'D', 'M' }; int int_arr[] = { 1, 5, 10, 50, 100, 500, 1000 }; map<char, int> roman_map; int map_len = sizeof(char_arr) ...
c3d58701ffa6699ae29e426160ad1d5647d5058e
3246bb6599c295610f8cf5a2466de567159542a2
/source/octree.cpp
f5a8a80a7639b5a0e8ee03b117a1f49800e1f3cd
[]
no_license
GarryGuanDoubleG/Under-World
19bb12187d92db042a5423fa589e4e0b440911e1
5291fc48359dc4163fa08fd58a08219c017d64f3
refs/heads/master
2021-03-22T03:04:58.678921
2017-12-19T21:07:28
2017-12-19T21:07:28
100,510,758
0
1
null
null
null
null
UTF-8
C++
false
false
19,929
cpp
octree.cpp
#include "game.hpp" #include <set> #include <mutex> const float QEF_ERROR = 1e-6f; const int QEF_SWEEPS = 4; void FindEdgeCrossing(Octree *node, const unordered_map<glm::vec3, EdgeInfo> &hermite_map) { int v_edges[4][12]; int v_index = 0; int e_index = 0; //DMC lookup tables for (int e = 0; e < 16; e++) { i...
6f27452fc6b1bfe36b07e665ff7a1917592a40a5
aef0d8b6f871cc5ef375c2cdd6c9f13fa5f291e0
/exercises/cpp/antonandletters.cpp
2897603db42daa5f8539d89de15e5cdfacf3e584
[]
no_license
kamarulaw/competitive-programming
e2b95dd74883f8ae80f6b0b0c2e1d40a024f10d1
2f36fa6e5a7e04cb10ec0eabbc7b0bd400e7c268
refs/heads/master
2023-09-03T15:18:15.661776
2023-08-28T21:57:00
2023-08-28T21:57:00
162,459,171
0
0
null
null
null
null
UTF-8
C++
false
false
473
cpp
antonandletters.cpp
#include <iostream> #include <algorithm> #include <unordered_set> using namespace std; string s; unordered_set<char> u; unordered_map<char, int> m; int main() { cin >> s; int n = s.length(); for (int i = 0; i < n; i++) { if (s[i] != ',' && s[i] != ' ' && s[i] != '}') { cout << s[...
700064ce9b22ddcfd8e94eb52ee09969f0d64d4f
6dc4be7a98873efd5ea2932b8a3b7cf8dc042926
/checker.cpp
36ed1b6858b89f717ee7f600b5b632caa7cc8698
[ "MIT" ]
permissive
clean-code-craft-tcq-1/functional-cpp-hegde056
6f0c4afd80c1aed192675ee7e45514a7c4bf7ec8
ab7739643f484c6e27a6ebbc65e1cc0754dbce35
refs/heads/master
2023-03-16T10:18:27.033280
2021-03-02T18:17:40
2021-03-02T18:27:16
343,364,329
0
0
MIT
2021-03-01T09:47:25
2021-03-01T09:47:21
C++
UTF-8
C++
false
false
1,530
cpp
checker.cpp
#include <assert.h> #include <iostream> #include <string.h> using namespace std; #define TEMP_MIN_THRESHOLD 0.00f #define TEMP_MAX_THRESHOLD 45.00f #define SOC_MIN_THRESHOLD 20.00f #define SOC_MAX_THRESHOLD 80.00f #define CHARGE_RATE_MIN_THRESHOLD 0.00f #define CHARGE_RATE_MAX_THRESHOLD 0.80f bool checkValueInRange...
82bd7f201b21d18ec3e969e5d10aa2c0ac31f201
3d051b4e7532811456198a58a39c403252d10595
/yinchuan/F.cpp
a8302ec12ad708adb0e998d42ebab0254ffcc1ff
[]
no_license
ItsLucas/acm
3c1aeee36a96ec33965e7c321bdc76d2c4d0e09f
3659bc82862124146f760923167a15ae1507ed80
refs/heads/master
2021-07-22T11:20:52.094674
2020-07-21T02:56:40
2020-07-21T02:56:40
198,808,058
0
0
null
null
null
null
UTF-8
C++
false
false
1,442
cpp
F.cpp
#include <bits/stdc++.h> using namespace std; static constexpr int INF = INT_MAX - 1; static constexpr int maxn = 201; int mp[maxn][maxn][maxn]; int risk[maxn], node[maxn]; inline bool cmp(int i, int j) { return risk[i] < risk[j]; } inline void floyd(int n) { for (int k = 1; k <= n; k++) { for (int i =...
1199922020233f0561ab0de17c05d6c18208c3cc
cb085801e8b4eff4f74574811de2acc02a556287
/ARC/ARC031-040/ARC036/B_山のデータ.cpp
4d925ef6dcd7f388343cb22693d83abc327f1034
[]
no_license
shouth/CompetitiveProgramming
0e9c2b2950b505e0a3a164bcbba24c0293843e33
b99b5302f848838447c4cd6cf99a4617f2c9e7df
refs/heads/master
2023-07-11T01:11:15.829832
2023-07-02T21:44:00
2023-07-02T21:44:00
221,540,185
0
0
null
null
null
null
UTF-8
C++
false
false
1,086
cpp
B_山のデータ.cpp
#include <utility> #include <bitset> #include <tuple> #include <string> #include <deque> #include <queue> #include <stack> #include <vector> #include <map> #include <set> #include <algorithm> #include <complex> #include <numeric> #include <iostream> #include <iomanip> #include <cmath> using namespace std; #define all...
6c98584a8876b117aab9156cc6f20c770deb36bd
672cdb46f4588af320ed352f1ef583bae0872d5b
/Part D/Control/controllers/Driver/Driver.cpp
be95c1830275c6866b59aff4c76b8cd234f99ec5
[]
no_license
SamBanz96/MTRN4110
15fe1fad7a4d839e6bfadd073ea1332b79584a40
d1619031ab0d65e8d6585e9683e4b9166129d2e8
refs/heads/main
2023-06-18T05:18:37.525779
2021-07-13T06:28:36
2021-07-13T06:28:36
385,493,111
0
0
null
null
null
null
UTF-8
C++
false
false
1,567
cpp
Driver.cpp
//Robot Keyboard control with wasd and arrow keys #include <webots/Robot.hpp> #include <webots/Motor.hpp> #include <webots/Keyboard.hpp> #include <iostream> #include <Windows.h> #include <math.h> #include <fstream> #define TIME_STEP 64 //Define Speed here #define D_SPEED 3 #define T_SPEED 3 using namespace webots; us...
4b02d5a7e724793499fcba83d278b4ebf9819524
dabd4adda53d42c4a1cb130159f827cee4b732dc
/src/shared/coroutine.cpp
6cdbbcbb6e9f322a4c866de8747b498115f695db
[ "MIT" ]
permissive
jackusm/virtual-reality
c9de295767c0a5c278e82069f7c01cbf8579a06c
df12c384ef12a1ca01bda2e2cc00a8ce41aeccae
refs/heads/master
2020-04-22T17:19:07.949630
2019-11-15T13:31:52
2019-11-15T13:31:52
170,537,149
0
0
MIT
2019-11-15T13:31:53
2019-02-13T16:06:47
C
UTF-8
C++
false
false
4,192
cpp
coroutine.cpp
// // MIT License // // Copyright (c) 2019 Rokas Kupstys // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, ...
cb0a4ff3a47330976366fd7a9e8388ab9d32ab05
cb80a8562d90eb969272a7ff2cf52c1fa7aeb084
/inletTest5/0.064/Co
e91769bb7dc25dd98fcc2ce7958875957d8efbde
[]
no_license
mahoep/inletCFD
eb516145fad17408f018f51e32aa0604871eaa95
0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2
refs/heads/main
2023-08-30T22:07:41.314690
2021-10-14T19:23:51
2021-10-14T19:23:51
314,657,843
0
0
null
null
null
null
UTF-8
C++
false
false
241,920
Co
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | ...
bf2f709a4f5ad7fa48a717b3316086cf4dde72e0
a597a69e22cfaab69b120256100514139a4951b1
/TimeCrisisVR/Source/TimeCrisisVR/Interactables/Keypad.h
039fe6e068b08fcf2b4cfddcf6c618ce936c6026
[]
no_license
carddeath/TCVR
a3b1eb1fc15e839162a60a5682db19d1655beca7
ced23a5432f47b33b08f426d92c256b76e98e1b9
refs/heads/master
2021-09-18T13:06:11.556980
2018-07-14T12:36:19
2018-07-14T12:36:19
134,758,766
0
0
null
null
null
null
UTF-8
C++
false
false
3,334
h
Keypad.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Keypad.generated.h" UCLASS() class TIMECRISISVR_API AKeypad : public AActor { GENERATED_BODY() //Variables public: protected: UPROPERTY(EditDefaults...
e9a49a13a3880882d19f28ab2b9a860001747fff
b25549b3b1b8a64d0e903fe074ac995551a63668
/Codeforces/991A.cpp
25e2c2bb0eef1da0a988c0480d523b78152ec372
[]
no_license
niketanrane/CodingDecoding
06dd7bb92c5d083216df21da16a70d1c351554a0
4318b3eef42370a2320d0a8ac5e823e7961cc74b
refs/heads/master
2021-07-24T07:21:12.336868
2018-12-05T01:22:17
2018-12-05T01:22:17
141,040,310
0
0
null
2018-11-15T15:42:52
2018-07-15T16:03:05
C++
UTF-8
C++
false
false
348
cpp
991A.cpp
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c, n; cin >> a >> b >> c >> n; int ans = n - (a+b-c); if(c > a || c > b){ cout << "-1"<<endl; return 0; } if(ans > 0){ cout << ans << endl; } else { cout << "-1" << endl...
fde0207531320ebd5ae53848ed28a9c885164909
f4ee5441cd8e0a2561406203babae3ed0aa40b1e
/ppp_cpp/ch4/ch4_scores_reader.cpp
181c4e6a3b74c95ac6c496b610998b2913505e19
[]
no_license
marwan-nabil/playground
df0a8490bf6115a8ef9fc3a524e8ed43d08670b0
4a7bf015285e0a71b78d42dd14a41150bbe6cdd5
refs/heads/master
2023-07-20T00:27:06.564913
2023-07-10T14:20:29
2023-07-10T14:20:29
161,254,071
1
0
null
null
null
null
UTF-8
C++
false
false
1,441
cpp
ch4_scores_reader.cpp
#include "std_lib_facilities.h" vector<string> names; vector<int> scores; bool is_name_unique(const string& name); int the_index_of(const string& name); int main() { vector<string> names; vector<int> scores; int score=0; string name = ""; cout << "Please enter name and a score\n >>"; while (cin >> na...
a2af677a44766efc053a7a9965c81c1d22c83915
4865475429689e620820e1beebbe093d588854ac
/DS/Arrays/(IMP)rain_water.cpp
948fc9b0c36d0f5bcd65d0e9eb2a156b1316e700
[]
no_license
Shivam06/Cpp-Programming
148d4c6be67152493fa0578e891442ba2ae2a6f9
d1fda3d5bd8ea49e7ed582a8635f940df02b3b66
refs/heads/master
2021-05-19T12:45:00.628086
2020-07-09T03:27:23
2020-07-09T03:27:23
251,705,709
0
0
null
null
null
null
UTF-8
C++
false
false
588
cpp
(IMP)rain_water.cpp
#include "helper_functions.cpp" // Time - O(n) // Space - O(n) // Can be optimized more - // 1. Use the concept of storing 2 elements at the same index. // 2. Some other ways as well on GFG. int max_rain_water(vi& v) { int n = v.size(); vi vc(v.size(), 0); int maxl = 0; loop(i, n) { if (v[i] > maxl) { max...
71d2eb7da54db96470a750e52a690c5f806193f7
9e0fa2ae1470a4449d2bd6647621b59aecd83393
/A/LevkoandTable.cpp
0bbdcf91bf17082a658de52b51cc03a5d789acc1
[]
no_license
sauravmittal001/cfladders
e58a24d4c7fede24c209c32552bfd00d5c688e9f
608c0a98c16c50d82187fa371f6e1d46283efc0c
refs/heads/main
2023-02-26T16:59:53.051254
2021-02-04T10:40:34
2021-02-04T10:40:34
316,765,027
2
1
null
null
null
null
UTF-8
C++
false
false
495
cpp
LevkoandTable.cpp
#include <iostream> #include <algorithm> using namespace std; int main() { int n; string k; cin >> n >> k; for(int i = 0; i < n; i++) { string str; for (int j = 0; j < n; j++){ if (i == j) { str.append(k); str.append(" "); } else ...
d85e7b5acb27e2056ec89d4814ec65951d102df9
5c8645d9c4deee4e77c7a9ca649d24c49794ce6f
/CPP/101-200/Q158_ReadNCharactersGivenRead4_II.cpp
4a216772078c8e2083e3bd4a8cc0d122e5498a64
[]
no_license
XiandaChen/LeetCode
51e9c851f739a5e47195745a2dddc87462a0efbf
fb8b5c67b3876f4a6752cdbe8c8b8979e185ab93
refs/heads/master
2022-10-23T20:34:56.375847
2022-10-17T06:06:27
2022-10-17T06:06:27
205,062,375
0
0
null
null
null
null
UTF-8
C++
false
false
985
cpp
Q158_ReadNCharactersGivenRead4_II.cpp
// Forward declaration of the read4 API. int read4(char *buf); class Solution { public: /** * @param buf Destination buffer * @param n Number of characters to read * @return The number of actual characters read */ int read(char *buf, int n) { for (int i = 0; i < n; ++i) { ...
f4f8508d3a0adc04ecf349c4ad24908c2458ebdd
f9ad61aa4efad7bcfc2cac24d0cd8e500b2112c7
/FuturePromise/ThreadPool.cpp
96fab89b14aa276c546adb90c93a81e098fbb803
[ "Apache-2.0" ]
permissive
IKholopov/pl-concepts-hw
64770cc04fd52c554db1ce064215dfc456c0421b
5176d3b44127efd93a28ff90a42985a2be9b1f3b
refs/heads/master
2021-03-27T15:50:44.784531
2018-05-17T14:09:33
2018-06-17T21:21:17
121,628,910
0
1
Apache-2.0
2018-06-17T21:21:08
2018-02-15T12:45:21
C++
UTF-8
C++
false
false
1,789
cpp
ThreadPool.cpp
#include <ThreadPool.h> ThreadPool::~ThreadPool() { { std::lock_guard<std::mutex> guard(critical); terminated = true; cv.notify_all(); } for(int i = 0; i < threads.size(); ++i) { try { threads[i].join(); } catch(...) { std::terminate(); ...
489d73514f9fc768c9ab2d4b680986c5973add70
d160bb839227b14bb25e6b1b70c8dffb8d270274
/MCMS/Main/Processes/GideonSim/GideonSimLib/SimCardTxSocket.h
199fdbdd5d251458562824b61b37e3a9c50cc978
[]
no_license
somesh-ballia/mcms
62a58baffee123a2af427b21fa7979beb1e39dd3
41aaa87d5f3b38bc186749861140fef464ddadd4
refs/heads/master
2020-12-02T22:04:46.442309
2017-07-03T06:02:21
2017-07-03T06:02:21
96,075,113
1
0
null
null
null
null
UTF-8
C++
false
false
2,056
h
SimCardTxSocket.h
//+========================================================================+ // SimCardTxSocket.h | // Copyright 1995 Pictel Technologies Ltd. | // All Rights Reserved. | //----------...
163573d019421527ffa57941eec60925ef9eace2
83626fb3dee88dc2530a9ef84f988984acf3d86f
/AD2S1210_Driver_CommsFunctions/AD2S1210_Driver.ino
06c9a660a023405a025748d86bafb8dcbecd98bf
[]
no_license
promnius/ResolverAD2S1210Drivers
89ec58d8f1381e1784927153da925a6e7f216ae5
eaa513b78cffe36128ac40fc3e75954186b2036b
refs/heads/master
2022-11-28T11:56:15.004506
2020-07-30T00:41:16
2020-07-30T00:41:16
283,632,332
0
0
null
null
null
null
UTF-8
C++
false
false
4,362
ino
AD2S1210_Driver.ino
#include <SPI.h> int pinCS = 10; int pinClock = 13; int pinMOSI = 11; int pinMISO = 12; int clockFrequency = 5000000; byte dataReturn0 = 0; byte dataReturn1 = 0; byte dataReturn2 = 0; byte dataReturn3 = 0; int addrPosition = 0; int addrFrequency = 0x91; int clockSpeed = 2; // must be even so that clockSpeed/2 can be...
813ef8817230a5df6c3b261f0ecdd6646e22c825
042857d8067d2d11144e76ca47d6f2e82fe6c30d
/src/marchingcubes/LevelSet.h
dcfedbaed54e1822b536432e1132303b833fb565
[]
no_license
tiger-tiger/ESES
47eed9b63f0fbb51358ff3c605b0313562306f3c
0b4cd5129702cb2f29a18e970e07e850bb24fc92
refs/heads/master
2022-11-25T07:26:13.260938
2020-08-05T03:25:09
2020-08-05T03:25:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
370
h
LevelSet.h
#ifndef _LEVEL_SET_H_ #define _LEVEL_SET_H_ #include <iostream> #include <vector> #include <string> #include <sstream> #include <fstream> #include <cmath> #include "MarchingCubes.h" using namespace std; int sign(double num); int input_levelset_grid_info(std::string filename, MarchingCubes& mc); in...
9874d8881844154a4c092926204d0638907a2be7
fc35f8872f8960e90c765231022a410b528d09c6
/trunk/other/tiago/pong/paddle.h
9f9f45ee33a31b3624ac6930359865f558216a1f
[]
no_license
BGCX261/z-one-svn-to-git
576b2b958a783238d11159ca175a54d79c988a64
bc8bfbcb0267e27ce637844f762032ae6f49a9ee
refs/heads/master
2021-01-25T09:59:22.856790
2015-08-25T15:46:24
2015-08-25T15:46:24
42,317,186
0
0
null
null
null
null
UTF-8
C++
false
false
422
h
paddle.h
#include <SDL/SDL.h> #ifndef PADDLE_H #define PADDLE_H class paddle{ SDL_Rect box; SDL_Surface* image; int yvel; int point; public: paddle(SDL_Surface* img, int x, int y, int w, int h, int yVel); //construtor ~paddle(); //destrutor SDL_Rect* getRect(); //get do box void moveUp(); void moveDown(); void show(...
782088b915d07930871c0ecbc0fa24ca007c210e
9fa26368d926664964ecf56274f33dc0009590ca
/src/events/subscriptions/subscription.h
97e39d10f4c0c32f8792671260068a00a4d3085c
[ "MIT" ]
permissive
bkryza/oneclient
e3485e25547a06878345e80631cd853afdb3cf43
70eaafe200f55c5d9bede865182daf40a3217fae
refs/heads/develop
2020-12-25T20:08:53.847534
2016-08-26T05:49:07
2016-08-26T05:49:07
66,667,194
0
0
null
2016-08-26T17:38:06
2016-08-26T17:38:06
null
UTF-8
C++
false
false
2,672
h
subscription.h
/** * @file subscription.h * @author Krzysztof Trzepla * @copyright (C) 2015 ACK CYFRONET AGH * @copyright This software is released under the MIT license cited in * 'LICENSE.txt' */ #ifndef ONECLIENT_EVENTS_SUBSCRIPTIONS_SUBSCRIPTION_H #define ONECLIENT_EVENTS_SUBSCRIPTIONS_SUBSCRIPTION_H #include <boost/optio...
5683cdcc92a41c568259fca9a5e73f9b29b72d92
797a9caca879cb0ab85f8bbc5cc6a5937ab0814d
/src/engine/things/Player.h
2b41c6a4bf0df261c180bd7f98a8bf329405038a
[]
no_license
SandyGould/GameDesign
bdff51e731c9765cc92011b525159a1cd96f3ea4
22a814fbdbe0f3969d5e2e5844b67756bc1531f5
refs/heads/master
2021-01-03T16:17:51.116406
2020-05-22T01:48:26
2020-05-22T01:48:26
240,144,903
3
1
null
2020-04-24T21:51:07
2020-02-13T00:34:39
C++
UTF-8
C++
false
false
1,279
h
Player.h
#pragma once #include "../AnimatedSprite.h" #include "../CollisionSystem.h" #include "Shield.h" enum class SlideDirection { Left, Right, Up, Down, None, }; class Player : public AnimatedSprite { public: Player(); void changeHealth(int amount); void changeStamina(int amount); void toggleShiel...
e68a40949fc4bf02d38456a75bc235ae472a00ca
9889e7fd73314382fb2f9e8f63d92cf3254b75fb
/GranularSim/src/Core/Math/root6.h
32d017622dcc547532322d68ac6fa96ab3ca496e
[ "BSD-3-Clause", "MIT" ]
permissive
bbanerjee/ParSim
0b05f43cff8e878658dc179b4a604eabd873f594
87f87816b146f40013a5e6648dfe20f6d2d002bb
refs/heads/master
2023-04-27T11:30:36.252023
2023-04-13T22:04:50
2023-04-13T22:04:50
13,608,512
16
3
null
null
null
null
UTF-8
C++
false
false
282
h
root6.h
#ifndef ROOT6_H #define ROOT6_H #include <Core/Math/Vec.h> #include <Core/Types/RealTypes.h> namespace dem { bool root6(REAL coef1[], REAL coef2[], Vec& v); bool root6(REAL coef1[], REAL coef2[], Vec& v, REAL radius, std::size_t partID1, std::size_t partID2); } #endif
92bbd12623b94e7c758f5792b82fa030022f2056
3b9b983d78d8ce148dad6ffc417ad61938531a6b
/engine/runtime/rendering/debugdraw/bounds.h
a94638da88c705fe09dd453d89497abe45cc55d6
[ "BSD-2-Clause" ]
permissive
nemerle/EtherealEngine
9b605814b8464fee7cc3031ef2fc69236a6b8034
44755cd28813779248df756ebb61b1dd3f256165
refs/heads/master
2021-06-27T00:21:52.711853
2017-09-15T18:17:31
2017-09-15T18:17:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,571
h
bounds.h
/* * Copyright 2011-2017 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #ifndef BOUNDS_H_HEADER_GUARD #define BOUNDS_H_HEADER_GUARD #include <cstdint> struct Aabb { float m_min[3]; float m_max[3]; }; struct Cylinder { float m_pos[3]; float m_end[3...
3f797f865f8c8575371eac832232804c7a86767e
ff92d7103cc73306d85f83583f7104095b84b72e
/heap/appl_heap_primary.cpp
3e1d5907999b90f8cb1c931c1526bc32a2eb7475
[ "MIT" ]
permissive
fboucher9/appl
43d94878518d3c43d6d6df2b2844d37b4b94222a
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
refs/heads/master
2021-06-06T07:28:53.144067
2019-11-07T01:50:58
2019-11-07T01:50:58
115,062,399
0
0
null
null
null
null
UTF-8
C++
false
false
3,380
cpp
appl_heap_primary.cpp
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_types.h> #include <list/appl_list.h> #include <heap/appl_heap_primary.h> #if defined APPL_HAVE_COVERAGE #include <coverage/appl_coverage.h> #endif /* #if defined APPL_HAVE_COVERAGE */ #include <stdlib.h> // // // appl_heap_prim...
cf308bed553641332d7690119c6ec68fd82c2a12
9d9c217d265515738bd2889cf7512d796169c243
/Problems/Atcoder/atb102/C-102/main.cpp
f09fcf8dba09f9f9b2d1d7e54acbb0a6fc481771
[]
no_license
Evalir/Algorithms
f4d70f6b5cb7a20b5304a8543dd9dd443d2e7d7d
c58507d9f79eb388dd98b8e22302598eb29876e0
refs/heads/master
2021-07-08T16:52:15.820629
2019-09-21T23:45:52
2019-09-21T23:45:52
99,495,180
0
0
null
2017-10-24T22:07:37
2017-08-06T15:20:17
Makefile
UTF-8
C++
false
false
788
cpp
main.cpp
#include <iostream> #include <vector> #include <algorithm> #include <cmath> using namespace std; using ll = long long; int n; bool ch(int b, int last, vector<ll> &V) { ll ans = 0; for(int i = 0; i < n; i++) { } if (ans <= last) return true; return false; } int main() { cin >> n; ve...