blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
7ba168d90b93f00af7e4fb9d7c2bd9278e9610b9
eb076df9388c6e234fc28525503de6a566faca4f
/manix-wm/src/main.cpp
908024cd1d31dc637506b68371211d8f546a8df2
[]
no_license
quadra/manix
cef6e43c8b8d266fecc803e852fcbf9119ddebb6
443613f468d84b6838837333d739e27fda798bdc
refs/heads/master
2021-01-10T20:08:03.266421
2010-03-27T12:52:00
2010-03-27T12:52:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
102
cpp
#include "App.h" int main(int argc, char* argv[]) { using manix::wm::App; App app; app.run(); }
[ "psamathos@ubuntu.(none)" ]
psamathos@ubuntu.(none)
aea80a5f10a117d0219f358c62a3bf30b46984ec
ef45d92a984c6f0784f018a898521a70fa0c4b5c
/Project/GDE/GDE/Core/DLLLoader.h
0fbb867d56a87a2f04cec09286d6235a504bbc65
[]
no_license
bullfrognz/MoleMadness
5d515c8a0b303e8ab227a84ed4fbcd80f35594a2
134a9375d11b1cf6c7f78b59ebfa82760796c345
refs/heads/master
2020-12-29T01:32:22.550417
2014-05-24T04:20:58
2014-05-24T04:20:58
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
943
h
/** * @file GDE\GDE\Core\DLLLoader.h * @brief * * Copyright() * Copyright © 2004-2010 Media Design School. All Rights Reserved. * *********************************************************************************************/ #ifndef _DLLLOADER_H__Included_871020847 #define _DLLLOADER_H__Included_871020847 n...
[ "brycebooth@hotmail.com" ]
brycebooth@hotmail.com
d93bca5f2b61866edb690bda58b0f83dabf15605
96f44c254c727bbc65ab79789461c58dca1e6b8a
/IPL_WEEK_5/A/main.cpp
dfcd2e0dcbca64cdeb6f4ba15d278b2d952ab29b
[]
no_license
shreychowdhary/Programming-Problems
478c629b4e2474a548e91c3e7a23d874a8d791a6
324646f60b8c6cea7abb7829a06939e9ca795d17
refs/heads/master
2021-08-31T08:21:44.669126
2017-12-20T19:09:12
2017-12-20T19:09:12
51,653,137
0
0
null
null
null
null
UTF-8
C++
false
false
241
cpp
#include<iostream> using namespace std; int main() { int n, m; cin >> n >> m; int i = 1; while(true) { if(m < i) { break; } //cout << i<<endl; m -= i; i++; if(i == n+1) { i = 1; } } cout << m << endl; return 0; }
[ "shrey.chowdhary1@gmail.com" ]
shrey.chowdhary1@gmail.com
f2d574f2cdb758bbe38cf1e3bf20ef8df9ab51b4
8811b518619a061c2fe61c6609964cd93134f28e
/2018 Benelux Algorithm Programming Contest/Cardboard Box.cpp
5e081b81e492028792f90902624a9d4d3b45b1a7
[]
no_license
christopherhui/ICPC-Practice
ef8a70424f31929348fc883ed38214dabba1c236
fcbac53cd8750d028822555ddeaea9f4f7061a39
refs/heads/master
2021-06-18T20:14:15.249044
2021-01-18T05:00:37
2021-01-18T05:00:37
144,316,413
2
0
null
null
null
null
UTF-8
C++
false
false
412
cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int v, min_num = INT_MAX; cin >> v; for (int i = 1; i*i <= v; i++) { for (int j = 1; j*j <= v; j++) { if (v % (i * j) == 0) { int k = v / (i*j); min_num = ...
[ "christophergkhui@gmail.com" ]
christophergkhui@gmail.com
ceaf49f08005973f51947f680407114bd885a7c8
4cf6616725e0121bdf86d70182255ac06fd998bf
/src/base/cbuffer.cc
ba900f2a3e6f0679673e60619a7e8b0dc04b505f
[]
no_license
luigifcruz/samurai
f475d477833cde949e8a8fa1092d39bfff2ddcc0
63087b37860aebb55316962f6164b249b2677f71
refs/heads/main
2023-05-27T00:48:32.552171
2021-06-20T03:41:58
2021-06-20T03:41:58
323,462,029
0
0
null
null
null
null
UTF-8
C++
false
false
2,858
cc
#include "samurai/base/cbuffer.hpp" using namespace std::chrono_literals; namespace Samurai { template<class T> CircularBuffer<T>::CircularBuffer(size_t capacity) : capacity(capacity) { this->Reset(); this->buffer = std::unique_ptr<T[]>(new T[Capacity()]); } template<class T> CircularBuffer<T>::~CircularBuf...
[ "luigifcruz@gmail.com" ]
luigifcruz@gmail.com
fdf892a5ae04347c1fa5f5423b3de1a0857d2b66
3cd1e6cff03461acf5edc1d25f253f1a0af383d0
/include/llvm/Support/CommandLine.h
d0c304712ac77b5d6de5963cdbaa7ed649b651bb
[ "NCSA" ]
permissive
Quantum-Platinum-Cloud/llvmCore
aacb91b619df609f1baf91df966e31a15bda31cc
06636e2aa0be8e24b9c3ed903480bdd49471ee5d
refs/heads/main
2023-08-23T17:42:51.782394
2013-10-29T00:03:36
2021-10-06T05:26:44
589,028,216
1
0
NOASSERTION
2023-01-14T20:31:25
2023-01-14T20:31:24
null
UTF-8
C++
false
false
57,203
h
//===- llvm/Support/CommandLine.h - Command line handler --------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
[ "91980991+AppleOSSDistributions@users.noreply.github.com" ]
91980991+AppleOSSDistributions@users.noreply.github.com
ef9a97735f22cad61f30604dee7533ee0189ff0c
772c4d7923e1dede09c108968faddf7840c6690a
/ZekeGame/ZekeGame/graphics/CConstantBuffer.cpp
3b5b6851696405e4d727f9b0a94dbab03d8619d8
[]
no_license
ZekeZR1/Planet-search-game
53e915b00c01b6a6fa8bbb14ffab8fd3866420e8
505f655a283980a841718e9d0a888d6b92a1cc03
refs/heads/master
2022-01-10T20:10:20.329434
2019-04-30T07:33:18
2019-04-30T07:33:18
139,558,202
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
807
cpp
#include "stdafx.h" #include "CConstantBuffer.h" #include "graphics/GPUBuffer/CGPUBuffer.h" CConstantBuffer::CConstantBuffer() { } CConstantBuffer::~CConstantBuffer() { } /*! *@brief ConstantBufferを作成。 *@param[in] pInitData 初期データ。 *@param[in] bufferSize バッファサイズ。 */ bool CConstantBuffer::Create(const void* pInitD...
[ "hnta3574@gmail.com" ]
hnta3574@gmail.com
08a831449659f19c7eafee659dce762e587feeca
dfed105fe0e5519b231a87480965548edfd398f3
/SharedCode/Data/MessagePack/src/msgpack/type/string.hpp
fbc248cc0cab6b654e67836f7668f316683d44b6
[ "Apache-2.0" ]
permissive
maaooo/liangshi
36e38339652bb95fd95fae253efb55f73c2f1e5b
09711db820d2e0747e98f6542f521bd03d80fdb2
refs/heads/master
2020-03-25T19:31:58.612218
2017-08-19T11:27:10
2017-08-19T11:27:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,615
hpp
// // MessagePack for C++ static resolution routine // // Copyright (C) 2008-2009 FURUHASHI Sadayuki // // 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.apach...
[ "overearth@gamil.com" ]
overearth@gamil.com
1ddffa4ff0048932eb1062ea60259028fbcd3f07
c062e57abd677cc7c1fa4ca864a1eb75cce55388
/알고리즘/프로그래머스/Level2/수식 최대화/수식 최대화.cpp
369d66c10a52216bc0b64b1b7529a22179538804
[]
no_license
Soogyung1106/Algorithm
3a732471a69ac760ecece0c6125edbf9788743e8
a1376e46550d6e335e12a50d772f0241880f2a07
refs/heads/master
2023-08-20T14:11:00.464294
2021-10-21T13:45:34
2021-10-21T13:45:34
257,540,169
1
0
null
null
null
null
UTF-8
C++
false
false
1,976
cpp
#include <string> #include <vector> #include <iostream> #include <algorithm> using namespace std; vector<long long> num; //숫자 vector<char> op; //연산자 차례로 담음 vector<char> p; //연산자 종류를 담음 void split(string& exp){ string s = ""; for(int i=0;i<exp.size();i++){ if(isdigit(exp[...
[ "sally1106@naver.com" ]
sally1106@naver.com
c6e6c23e02a097baa4501587f0fe78fe106e9551
70b7b23b986de21b3d5ece0e9ea504599bffa682
/mainwidget.h
aa4932d84c065ad3549c09e15bbc4f1374d7a2dd
[]
no_license
MRAdapter/QTDemo
5081ccde9e3043b086d19e857ea17dd18f5c9e21
69121e172ba1b2d9ded0d5e0209cf6a0522bf26c
refs/heads/master
2021-01-17T17:35:04.131825
2016-06-20T03:06:43
2016-06-20T03:06:43
61,429,256
0
0
null
null
null
null
UTF-8
C++
false
false
593
h
#ifndef MAINWIDGET_H #define MAINWIDGET_H #include <QWidget> #include "pdfwidget.h" #include <QPushButton> #include "fiveparamswidget.h" namespace Ui { class mainWidget; } class mainWidget : public QWidget { Q_OBJECT public: explicit mainWidget(QWidget *parent = 0); ~mainWidget(); private: Ui...
[ "2608920335@qq.com" ]
2608920335@qq.com
f789de4207d6d874bb58d48add1a093ebdd526d7
45716a35c9fa862145b20e68b47a3187bbfbfb81
/src/operators/divgrad/upwind_scheme/upwind_arithmetic_mean.hh
40770f64d012484a987835635b5887936c8a643b
[ "BSD-3-Clause" ]
permissive
ddwivedi08/ats
3c5f3e69797ddcd07110a4c80c47581034c28a2f
932aba910b977e86121942cd24f2059f0b6bee65
refs/heads/master
2021-01-19T14:53:40.104447
2017-04-06T01:16:22
2017-04-06T01:16:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,659
hh
/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ // ----------------------------------------------------------------------------- // ATS // // License: see $ATS_DIR/COPYRIGHT // Author: Ethan Coon (ecoon@lanl.gov) // // Scheme for taking coefficients for div-grad operators from cells to // fa...
[ "ecoon@lanl.gov" ]
ecoon@lanl.gov
b91274c5d960bfa9c328e2e121e66e3c7202fa13
5cad8d9664c8316cce7bc57128ca4b378a93998a
/CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/java/lang/NoSuchFieldError.h
65f444e839474e640fa2c4a7069eef28ea5a6a83
[ "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "GPL-3.0-only", "curl", "Zlib", "LicenseRef-scancode-warranty-disclaimer", "OpenSSL", "GPL-1.0-or-later", "MIT", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSD-3-...
permissive
huaweicloud/huaweicloud-sdk-c-obs
0c60d61e16de5c0d8d3c0abc9446b5269e7462d4
fcd0bf67f209cc96cf73197e9c0df143b1d097c4
refs/heads/master
2023-09-05T11:42:28.709499
2023-08-05T08:52:56
2023-08-05T08:52:56
163,231,391
41
21
Apache-2.0
2023-06-28T07:18:06
2018-12-27T01:15:05
C
UTF-8
C++
false
false
543
h
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __java_lang_NoSuchFieldError__ #define __java_lang_NoSuchFieldError__ #pragma interface #include <java/lang/IncompatibleClassChangeError.h> class java::lang::NoSuchFieldError : public ::java::lang::IncompatibleClassChangeError { public: NoSu...
[ "xiangshijian1@huawei.com" ]
xiangshijian1@huawei.com
d2901cdecc3e84ca7576d491393cd028dce89e12
4a95ed16ad5f59a7fe5493716f60138518704a74
/IC_server/sqldatabase.h
7112f90f93ea961e5aaa4b130df68ef2c01d440e
[]
no_license
tingroger/IntelligentCommunity
2096c15e0db8c20cc6977c2eecf91bacc936c180
726eaa57542a5fc08f6fba7c9fb79a6ebeecebbc
refs/heads/master
2023-03-18T20:37:01.208761
2020-12-08T22:38:07
2020-12-08T22:38:07
319,767,062
0
0
null
null
null
null
UTF-8
C++
false
false
1,094
h
#ifndef SQLDATABASE_H #define SQLDATABASE_H #include "common_header.h" #include <QSqlQuery> #include <QSqlError> #include "user.h" extern const QString dbPath; class SqlDatabase { public: static SqlDatabase *get_instance(const QString & dbPath); bool open(); void close(); bool create_...
[ "rogerting@yeah.net" ]
rogerting@yeah.net
3bced32b2f096a5308402765593c863dda9921f4
54c94a818b69947c71f4977c1580969fdf843108
/Code/Engine/Graphics/Player.cpp
b3318c09e8bbe3c6250c40921265731db862b94e
[]
no_license
karthiknarayan0512/GraphicsEngine
bfa4fecc725001a9c7daf709e18ebb614434e12e
153888e1269c4180dbc6e2be35581a76e08ac45b
refs/heads/master
2021-01-21T13:52:37.058356
2016-05-06T04:39:47
2016-05-06T04:39:47
50,862,861
0
0
null
null
null
null
UTF-8
C++
false
false
428
cpp
#include "Player.h" namespace eae6320 { namespace Graphics { void Player::AddPlayerRenderable(const char* i_PlayerMeshFile, const char * i_PlayerMaterialFile) { static int currentIndex = 0; m_Renderables[currentIndex++] = Renderable(i_PlayerMeshFile, i_PlayerMaterialFile); } void Player::RenderPla...
[ "u0950014@utah.edu" ]
u0950014@utah.edu
cad51d50c283a6f0ebfcc9580aca683f72aef2ff
5380bb8326cd8e790fd1ffeaa2b3866abd00dd01
/solve/cpp/heap.cc
269017e23eee2c17bb0fd2a32e8f7848efb22ca8
[]
no_license
alxsoares/algo.comb.permute
5af22a7b0247e9597100c5f5ee7836e998e4145b
4c60f11bb49055d1c83cac72c9dc74f2ad5f5b34
refs/heads/master
2021-01-18T07:23:16.441810
2011-11-04T04:48:36
2011-11-04T04:48:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
579
cc
#include "common.hh" void recurse(int k) { if (k == 0) { output(); } else { if (k&1) { for (int i = 0; i != k; ++i) { recurse(k - 1); swap(a[i], a[k]); } } else { for (int i = 0; i != k; ++i) { re...
[ "seritrinh@gmail.com" ]
seritrinh@gmail.com
1c091bd195905feedc951acabc746de21c5e6935
98ef9f82f45320df070f670eac258c8365113642
/solution1-100/17. Letter Combinations of a Phone Number.cc
bc59c950da3b69e710b5d06eb39e0a17eae1e7f0
[]
no_license
FrankWork/LeetCode
abbf6125b57e143073f89daf5cbcbd8ff67bb78b
6ec0c0d43cf4e8ef968051a4d125c4965d58e4f5
refs/heads/master
2021-01-22T07:27:43.963950
2018-11-12T08:44:18
2018-11-12T08:44:18
39,978,490
1
0
null
null
null
null
UTF-8
C++
false
false
1,742
cc
/* Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution. For example, given array S = {-1 2 1 -4}, and target = 1. The sum that is closest to the tar...
[ "lzh00776@163.com" ]
lzh00776@163.com
874b622f355ba66e28c3f8cec26c2a612aea195f
46cce0f5350dd7bef7a22bb0a1246f003f40916c
/ui/widgets/registration/registrationpage.h
ba76721a99727ba1a48673aeedc5508278bfd7c9
[]
no_license
veodev/av_training
6e65d43b279d029c85359027b5c68bd251ad24ff
ecb8c3cdc58679ada38c30df36a01751476f9015
refs/heads/master
2020-04-28T22:23:39.485893
2019-09-23T13:16:29
2019-09-23T13:16:29
175,615,879
0
0
null
null
null
null
UTF-8
C++
false
false
1,671
h
#ifndef REGISTRATIONPAGE_H #define REGISTRATIONPAGE_H #include <QWidget> #include "fileplacementwidget.h" #include "operatorselectionwidget.h" #include "lineselectionwidget.h" #include "coredefinitions.h" #include "trackmarks/trackmarksselector.h" class RegistrationPage : public QWidget { Q_OBJECT protected: ...
[ "veo86@bk.ru" ]
veo86@bk.ru
c9d2cd13d73c19f56465cdf61b7e57e25da692d7
b1aef802c0561f2a730ac3125c55325d9c480e45
/src/ripple/ledger/Sandbox.h
395f78f297c68ef388219b1038b776cae1635d74
[]
no_license
sgy-official/sgy
d3f388cefed7cf20513c14a2a333c839aa0d66c6
8c5c356c81b24180d8763d3bbc0763f1046871ac
refs/heads/master
2021-05-19T07:08:54.121998
2020-03-31T11:08:16
2020-03-31T11:08:16
251,577,856
6
4
null
null
null
null
UTF-8
C++
false
false
730
h
#ifndef RIPPLE_LEDGER_SANDBOX_H_INCLUDED #define RIPPLE_LEDGER_SANDBOX_H_INCLUDED #include <ripple/ledger/RawView.h> #include <ripple/ledger/detail/ApplyViewBase.h> namespace ripple { class Sandbox : public detail::ApplyViewBase { public: Sandbox() = delete; Sandbox (Sandbox const&) = delete; Sand...
[ "sgy-official@hotmail.com" ]
sgy-official@hotmail.com
87fbefc04fcd0fbbe5a5d58c69e83b1199700206
90b1fd6d0e4a7b360c04c8317b587818dca2e048
/src/Scene.h
fb988bd9ee98aba864b8a501a8b767d936dc3fb6
[ "Apache-2.0" ]
permissive
kuro/fyreware
cb315d13cb52dc7b577242149afa3ad4b12b809e
f1c002edc3b278959226ee10210f88abaae19f37
refs/heads/master
2016-09-05T13:41:22.779301
2011-05-23T20:12:00
2011-05-26T14:54:46
1,016,119
0
0
null
null
null
null
UTF-8
C++
false
false
2,351
h
/* * Copyright 2010 Blanton Black * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
[ "theblanton@gmail.com" ]
theblanton@gmail.com
cec3205c6be15df384107c219efc67702a2bbd35
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/prebuilt_include/clang/include/clang/Basic/OpenMPKinds.h
e00333153f9b0084de91c05c39c523dd74cd0f37
[ "NCSA", "LicenseRef-scancode-generic-cla", "MIT", "LicenseRef-scancode-arm-llvm-sga", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "Apache-2.0" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
8,771
h
//===--- OpenMPKinds.h - OpenMP enums ---------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
ee418e77dd42db9b691984e30599cecc5eb69eef
6f3c3d5ed7eaa6cb9ca5a2cfce59ff7bbfc1f0ed
/src/vlGraphics/Tessellator.hpp
286d6b9b4593c39f57880c85885f3b98e1899140
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
gegenschall/visualizationlibrary
416d8b294a158a1905a17cbf2921900a797874c1
940be74349c2309a583c422652ec6cf06f7bb6d5
refs/heads/master
2020-12-30T22:35:01.157239
2015-04-04T11:16:21
2015-04-04T11:16:21
33,401,863
0
0
null
null
null
null
UTF-8
C++
false
false
7,450
hpp
/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary.org ...
[ "michele.bosi@e3458a3e-9034-11de-b664-3b115b7b7a9b" ]
michele.bosi@e3458a3e-9034-11de-b664-3b115b7b7a9b
0ffe8fddfb3a629c37a725ab9376416e08aef3ae
544cfadc742536618168fc80a5bd81a35a5f2c99
/packages/modules/DnsResolver/util.cpp
458f3c6bb9e10467a5bb7aabfa3b3e9f971e947b
[ "BSD-4-Clause-UC", "LicenseRef-scancode-ibm-dhcp", "ISC", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "HPND" ]
permissive
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,899
cpp
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
c7e6c134630488f85e0fd4181d2ec5ea0f473fe1
85e4cda6b18162fb69e86c030b4d11eda9a8e0d4
/Charcaterarray/LargestWordInSentence.cpp
8888eb2898dc59c60890bc4d6e43e0dfd11a7765
[]
no_license
JatinSharma2821/C-plus-plus
4e8e244a6e756ca038cff78358185e2e86a5d1dd
a73febc0302382321bc448b599a569cf88681b7d
refs/heads/main
2023-06-04T20:53:25.732693
2021-06-19T07:56:46
2021-06-19T07:56:46
376,462,667
0
0
null
null
null
null
UTF-8
C++
false
false
2,328
cpp
/* Find largest word in sentence; Tu savoi quel aujourd'hui Je suis content car aujourd'hui Je entrient tu dans mon rever. */ /* Next word is seperated by space in a sentence , make use of that. */ #include<iostream> #include<bits/stdc++.h> using namespace std; int main() { int n...
[ "noreply@github.com" ]
JatinSharma2821.noreply@github.com
381647220c3ec05cd5ba943820a04d14c5233166
1cfd0262157fef375a75024beba0379159d70f6f
/106ConstructBinaryTreeFromInorderAndPostorderTraversal.h
bda743354e0e72204ded5dfdc476542cc45b7aeb
[]
no_license
Hongyan0627/Interview_questions
ce5a27726fa5ff935562cae0d60fb2e510ea5b35
1e926b8efe23e298113a7096a2f91f3e55662b59
refs/heads/master
2020-06-16T08:25:10.265410
2017-02-23T23:48:41
2017-02-23T23:48:41
75,123,431
1
0
null
null
null
null
UTF-8
C++
false
false
1,019
h
// LeetCode // // Created by Hongyan on 02/13/17. // Copyright © 2017 Hongyan. All rights reserved. // class Solution { private: TreeNode* helper(vector<int>& inorder, int instart, int inend, vector<int>& postorder, int poststart, int postend) { if(instart >= inend || poststart >= postend) return NULL; TreeNod...
[ "hongyan0627@gmail.com" ]
hongyan0627@gmail.com
a51d7c2ceb6bec2575761794f668ef765ea69031
8add11f812b191fc654c55a48247b1d97d509d0f
/SZE/OODB/kyberszittya/Rec4/Recitation4/Labirintus/common.h
0a72f6eb407e6eb40024fbd84ea8cbbb86093c1b
[]
no_license
kyberszittya/ClassRoomExamples
df136b87bbd31bfa0009340f4398200221fdc1c2
15eb99701abfcac305944c7e0a7d17e8764ce610
refs/heads/master
2020-07-14T14:12:29.088256
2019-11-04T22:36:55
2019-11-04T22:36:55
205,332,314
0
4
null
2019-08-30T07:48:32
2019-08-30T07:48:30
null
UTF-8
C++
false
false
258
h
#pragma once #include <fstream> enum MovingDirection { ESZAK, KELET, NYUGAT, DEL }; enum UnitType {MONSTER, HERO, OBSTACLE}; struct Coordinate { unsigned int x; unsigned int y; }; std::ostream& operator<<(std::ostream& file, const Coordinate& coord);
[ "kyberszittya@protonmail.ch" ]
kyberszittya@protonmail.ch
2ba9dd6bb11ebeadce4d4ec5a31aaca6c37bca01
f05ec8fe9375f1e613adbbf8dcf14b71289cb91d
/MIPS32SOC-Part3/build/verilog-build/VMIPS32SOC_RegisterFile.cpp
469daecf4f1d26e30ac0a051ead565a272865414
[]
no_license
itsJaan/ProcesadorMIPS32
942d69efa2c32e872e7d951013672f9265690777
46808945a543f61f5974642566d5e0e16027697a
refs/heads/master
2021-04-07T06:51:49.857216
2020-03-20T03:01:42
2020-03-20T03:01:42
248,655,513
0
0
null
null
null
null
UTF-8
C++
false
false
4,630
cpp
// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Design implementation internals // See VMIPS32SOC.h for the primary calling header #include "VMIPS32SOC_RegisterFile.h" // For This #include "VMIPS32SOC__Syms.h" #include "verilated_dpi.h" //-------------------- // STATIC VARIABLES //-------------------- ...
[ "nunez0467@gmail.com" ]
nunez0467@gmail.com
e313c10a7a9aa69bbf6190d5723971a5f91a4ff3
1f1cc05377786cc2aa480cbdfde3736dd3930f73
/xulrunner-sdk-26/xulrunner-sdk/include/xpcexception.h
9960d33ca2a2e943573ed2492ef0f0495bac3244
[ "Apache-2.0" ]
permissive
julianpistorius/gp-revolution-gaia
84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d
6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e
refs/heads/master
2021-01-21T02:49:54.000389
2014-03-27T09:58:17
2014-03-27T09:58:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,554
h
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/js/xpconnect/idl/xpcexception.idl */ #ifndef __gen_xpcexception_h__ #define __gen_xpcexception_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif #ifndef __gen_nsIException_h__ #include "nsIException.h...
[ "luis@geeksphone.com" ]
luis@geeksphone.com
ef63bf55c69af10f554f658a8ac3a5ae38b9ac25
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE36_Absolute_Path_Traversal/s04/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_81.h
78fd818234353f96a950052e8e86dd8f3f0f7bef
[]
no_license
junxzm1990/ASAN--
0056a341b8537142e10373c8417f27d7825ad89b
ca96e46422407a55bed4aa551a6ad28ec1eeef4e
refs/heads/master
2022-08-02T15:38:56.286555
2022-06-16T22:19:54
2022-06-16T22:19:54
408,238,453
74
13
null
2022-06-16T22:19:55
2021-09-19T21:14:59
null
UTF-8
C++
false
false
1,454
h
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_81.h Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-81.tmpl.h */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: listen_socket Read data usi...
[ "yzhang0701@gmail.com" ]
yzhang0701@gmail.com
49f7d0698026f3cd37c99680be65a0f3b3057467
f8ea7e042a62404b1f420a7cc84b7c3167191f57
/SimLib/ExceptionSignal.h
50ae15490b7370794bbd015d165af1522fc6afb9
[]
no_license
alexbikfalvi/SimNet
0a22d8bd0668e86bf06bfb72d123767f24248b48
20b24e15647db5467a1187f8be5392570023d670
refs/heads/master
2016-09-15T17:50:23.459189
2013-07-05T14:41:18
2013-07-05T14:41:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,028
h
#pragma once /* * Copyright (C) 2011 Alex Bikfalvi * * 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 3 of the License, or (at * your option) any later version. * * This ...
[ "alex@bikfalvi.com" ]
alex@bikfalvi.com
fdb8cb2cdcf3882608001190c08f15f6347f8fc5
8cde1eaffc0350214d29b968d6933bd015d59102
/tiny-AES128/test.cpp
83f8202ecedcd77b85950b2e90f3a09063b70cb6
[]
no_license
Will-Z/AES-128
b6cd8cae99476cd15a98a3dc5b46aa6218b79ea8
99a330b083c36cff94be23368ab6774eca8d5c68
refs/heads/master
2016-09-13T11:17:49.366310
2016-06-03T06:53:58
2016-06-03T06:53:58
56,960,305
0
0
null
null
null
null
UTF-8
C++
false
false
28,845
cpp
#include <stdio.h> #include <string.h> #include <stdint.h> #include <math.h> // Enable both ECB and CBC mode. Note this can be done before including aes.h or at compile-time. // E.g. with GCC by using the -D flag: gcc -c aes.c -DCBC=0 -DECB=1 #define CBC 1 #define ECB 1 #include "aes.h" static void phex(uint8_t* str...
[ "1025203332@qq.com" ]
1025203332@qq.com
44fdee71f8a7d25222b0308a16dafe6b63ef6b75
0770dc9fe901f39511deaabb55d5df6df94c0a4d
/GameClient/Inc/Player.h
53bdbd019e10d986eb5a93a9e6edcf733a35660e
[ "MIT" ]
permissive
victor-timoshin/Co-opShooter
9513f0381b7ab9b37e12ea8beb160b59158239a9
6f78c5d8d6bbbf42ebe84db1e0c31bbbd79180b5
refs/heads/master
2021-03-12T20:11:17.392362
2016-01-09T20:44:42
2016-01-09T20:44:42
37,907,006
0
0
null
null
null
null
UTF-8
C++
false
false
708
h
#ifndef PLAYER_H #define PLAYER_H #include "Character/Character.h" #include "StdAfx.h" #define MAX_CHARACTER_COUNT 4 // Максимальное количество персонажей у игрока. class Player { DECL_PROPERTY_INT(Id, _id) // Уникальный идентификатор. DECL_PROPERTY_STRING(Name, _name) // Имя игрока. DECL_PROPERTY_INT(Score, _sc...
[ "victor-timoshin@hotmail.com" ]
victor-timoshin@hotmail.com
2be862dbd838fa11bc9075e15ff0c3e3003e1f18
9d62896fb351ade6be2d27d823f6a8bd042f9a93
/ccc06j4.cpp
afa9bd156f80cf54724f14e3657c2270c001795f
[]
no_license
stevenbai0724/CCC-Solutions-
fc54b7b7bd5c0d6c6132ae9a9bed2f691b06ecb5
e6dc30bfe26f6f20e85fb9d5dac255bd9e5fb202
refs/heads/main
2023-07-11T05:00:45.626373
2021-08-24T18:58:00
2021-08-24T18:58:00
315,148,135
0
0
null
null
null
null
UTF-8
C++
false
false
1,403
cpp
#include <bits/stdc++.h> using namespace std; int main(){ cin.tie(nullptr)->sync_with_stdio(false); vector<vector<int>>adj(8); //if y is in adj[x], x must be done before task y vector<int>indegree(8); //indegree of takes, in other words the number of tasks needed to be done before vector<int>q;...
[ "noreply@github.com" ]
stevenbai0724.noreply@github.com
a85cf363d5bef1f6d6555b70e44efb73cbfffb8e
23279d1ed43e9b0a72cb6e7a7fa595b0abe9aad8
/cvalenzuela/project3/code/src/omptreeincomplete.cpp
c15cf005e7b8a9743b3815de7bdcb07c1f272166
[]
no_license
usantamaria/IPM-407_Fast_algorithms
67c13bcd9bf3ed5c1f8bd34737a784acfd09f370
fa64c4a3dcd9acf76fdab5cc9c76f02cc20c6d29
refs/heads/master
2020-06-15T12:21:44.759395
2017-07-31T22:09:19
2017-07-31T22:09:19
94,136,473
4
1
null
null
null
null
UTF-8
C++
false
false
1,249
cpp
#include "libfastree.h" #include <math.h> #include <omp.h> #include <stdio.h> #include <stdlib.h> void c_incompleteomptree(double THETA,int NCRIT,int N, double* potential,double* x,double* y,double* z,double* m, double EPS2, int threads){ int i; // Set root cell cell C0[N]; cell *CN = C0; double p; init...
[ "cacke91@gmail.com" ]
cacke91@gmail.com
c42f0abf53a4951f2d8e02d9c15c765771f1479f
3f17ad406c80c2405f6bbf71cb4aded9cbbedd86
/practica3/EnetTest/EnetWrapper/ServerENet.cpp
79315ea9bb8b28bc97cf37b907d868c80e7e8035
[]
no_license
gonzalomvp/juegoEnRed
baf24e21322c64756a950825d5eec9cb7743c71c
1283deb3917904630d912417d3489ba6a59f9d44
refs/heads/master
2020-03-09T13:25:02.287578
2018-09-21T21:52:27
2018-09-21T21:52:27
128,810,665
0
0
null
null
null
null
ISO-8859-10
C++
false
false
5,308
cpp
#include "ServerENet.h" #include "PeerENet.h" #include "enet2/enet.h" namespace ENet { ///////////////////////////////////////////////////////////////////////////////////////////////////////////// CServerENet::CServerENet() { } ////////////////////////////////////////////////////////////////////////////////////////...
[ "gonzalo.villaescusa@live.u-tad.com" ]
gonzalo.villaescusa@live.u-tad.com
b6b66d8b1b19f43bd4a847dd129cc7503efc95d7
02718d580008a6f20b932e5fa04521386adf5209
/svm_wtmice_test.cpp
5c076d8e6319ecfa53c64fea04d6595ca046f86f
[]
no_license
jklynch/mothur-test
22ce9e6bff26dbfa970d0458f2dc30298c5afa78
d0b353893d80982ee077971cc2c0dc8f7aa7a41f
refs/heads/master
2021-01-20T07:00:07.334474
2013-12-22T15:29:18
2013-12-22T15:29:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,057
cpp
// // svm_integration_test.cpp // // Created by Joshua Lynch on 7/8/2013. // Copyright (c) 2013 Schloss Lab. All rights reserved. // #include "gtest/gtest.h" #include "mothur/mothurout.h" #include "mothur/groupmap.h" #include "mothur/inputdata.h" #include "mothur/classifysvmsharedcommand.h" #include "mothur/svm.h...
[ "joshua.kevin.lynch@gmail.com" ]
joshua.kevin.lynch@gmail.com
6c8826e7dbff5a59b9a0906c38a4397314ad3b76
f1c132a596bb464dff1a99b0dbe347ca89c6bb7c
/random/distribution/i-uniform-int32-distribution.h
6977411e1562e9ffc05d00ca694a2d9aa2260861
[ "MIT" ]
permissive
Fuzzier/nsfx
669e36333b5d31bac3634df3564098f1bacf389b
452c317d6cf69c00f1bbd9c94e10eac6f1535ba1
refs/heads/master
2021-01-24T17:48:06.439782
2020-07-15T08:46:50
2020-07-15T08:46:50
128,712,401
8
2
null
null
null
null
UTF-8
C++
false
false
3,010
h
/** * @file * * @brief Random number support for Network Simulation Frameworks. * * @version 1.0 * @author Wei Tang <gauchyler@uestc.edu.cn> * @date 2018-09-24 * * @copyright Copyright (c) 2018. * National Key Laboratory of Science and Technology on Communications, * University of Electronic Science ...
[ "gauchyler@uestc.edu.cn" ]
gauchyler@uestc.edu.cn
be70a950d8bd2a28308a5e70c9c3cb59b67abfe1
68a0f8602906de1965f65ee1ce44d3fb1d7c1ce3
/ModuleWindow.cpp
908933c47415f1131d94f6f179f9e5c8d3fe9b96
[]
no_license
0000duck/Engine
cb38372aaba6a54b2d2f2e7e044162587f6689ce
b2e7b945f87f8ff8c8f81a1ee25b4192a9778a6e
refs/heads/master
2022-03-19T09:02:57.130047
2019-11-20T14:28:28
2019-11-20T14:28:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,247
cpp
#include "Globals.h" #include "Application.h" #include "ModuleWindow.h" ModuleWindow::ModuleWindow() { } // Destructor ModuleWindow::~ModuleWindow() { } // Called before render is available bool ModuleWindow::Init() { LOG("Init SDL window & surface"); bool ret = true; if(SDL_Init(SDL_INIT_VIDEO) < 0) { LOG("S...
[ "krlosfuentes@gmail.com" ]
krlosfuentes@gmail.com
ddefe61f0fd5df92ecf462e832cd7b27445a999e
f22bdc99b6b308ec2be3f9cb63aa117f04d82dbe
/code/Trackers/src/cybRegionTrackInfo.cpp
d4927b97764fbb65a91deb79c2216ec777192f23
[]
no_license
naneaa/cybermed-master
d268b7b6c573feadc7cde041bd80de4a7ccc5687
46fba3ea54e9c4671a521cf21624a65a50812bd0
refs/heads/master
2021-01-21T08:37:19.621596
2018-05-14T23:30:42
2018-05-14T23:30:42
91,632,795
0
0
null
null
null
null
UTF-8
C++
false
false
2,126
cpp
// ***************************************************************** // This file is part of the CYBERMED Libraries // // Copyright (C) 2007 LabTEVE (http://www.de.ufpb.br/~labteve), // Federal University of Paraiba and University of São Paulo. // All rights reserved. // // This program is free software; you can redist...
[ "elaineanita1@gmail.com" ]
elaineanita1@gmail.com
5701f77691e1d6405157467c72f2f0c01f6f222b
553d6d5169585a00e15fe681b2a2000d879adf61
/Arduino/Principal_PPI/Configuracion_IMU.ino
3c5502bf6dec1f8d774d6bcf9dc8cae8aa646d07
[]
no_license
ivangarciad/tfgs
6d50e22c921ba2751ae4b84abb2f5d02a6120b26
513f7f5778a368857c6753838537e612cb8a5e2d
refs/heads/master
2021-07-01T06:28:31.232170
2016-09-21T12:53:18
2016-09-21T12:53:18
41,812,420
0
0
null
null
null
null
UTF-8
C++
false
false
3,068
ino
void Configuracion_Acelerometro() { //INICIALIZACION compass.init(); compass.enableDefault(); /* compass.enableDefault() enables the LSM303's accelerometer and magnetometer. Also: -Sets sensor full scales (gain) to default power-on values, which are+/- 2 g for accelerometer and +/-...
[ "sergiomg@me.com" ]
sergiomg@me.com
510048089eaef3bbafb3959838aba791492d5e34
6099cbfa4923067516a46d365063cd05ad7cfc4e
/xStructures/Trajectory.cpp
a5cf85deb8ef66869c7692f16cc7589f4c6b4f3c
[]
no_license
VEX-4610C/4610C_MotionPlanning
70ff0be16f93f8ab01b0ac5f7a1de28ec51460a8
9698e95d85efb239478f5d07621afba3a734591b
refs/heads/master
2020-03-14T15:07:44.102180
2018-05-01T03:30:26
2018-05-01T03:30:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
69
cpp
// // Created by alexweiss on 4/30/2018. // #include "Trajectory.h"
[ "roboFiddle@users.noreply.github.com" ]
roboFiddle@users.noreply.github.com
2d4b985d9ae088fcc107523cef9caca7a27e83ed
c2ff88a68f454056c0be1357a10890fbfd31fe1c
/workShop/ws2/Text.cpp
fd5625924bb88688faf0f07181b56187637b775f
[]
no_license
jayson528/OOP345
abaa43bb5ec4ce73d74c01408e03866f677e10d0
1272336cb2205b1cfec61638eed81d3593ccc0f6
refs/heads/master
2020-04-15T13:01:54.082159
2019-01-08T17:23:57
2019-01-08T17:23:57
164,699,077
0
0
null
null
null
null
UTF-8
C++
false
false
2,626
cpp
// Name: Jayson Sherry // Seneca Student ID: 141056176 // Seneca email: jsherry1@myseneca.ca // Date of completion:09/19/2018 // // I confirm that the content of this file is created by me, // with the exception of the parts provided to me by my professor. #include <iostream> #include <fstream> #include <str...
[ "jaysonsherry@hotmail.com" ]
jaysonsherry@hotmail.com
e9537748875403c6939052aaae1c80910c570201
310b58616cd83d65eaa2394b1cdbfc75d1815009
/src/buffer.hpp
fee79e10e77de9c64901a194e64ea7681bc68ce6
[ "MIT" ]
permissive
t1mm3/dgen
379a1b2c43fbde7d3a9b94736392ca11864e7dfb
bde9d71308b4f84b92f86bb51e05bd55fc5d07be
refs/heads/master
2020-03-14T16:17:32.699532
2019-08-28T14:51:09
2019-08-28T14:51:09
131,695,306
2
0
null
null
null
null
UTF-8
C++
false
false
344
hpp
#ifndef H_GEN_BUFFER #define H_GEN_BUFFER #include <string> struct BufferFactory; struct Buffer { char* data; size_t capacity; size_t size; Buffer* next; char* Alloc(size_t bytes); private: friend class BufferFactory; Buffer(); }; struct BufferFactory { Buffer* NewBuffer(size_t capacity); void FreeBuffer(...
[ "tim.gubner@cwi.nl" ]
tim.gubner@cwi.nl
e3e38086ed9a6af80306aa2d531d9cb04e8120f3
325770e648204b9715ade4c446940f46501ec3ea
/Neopixel/Neopixel_v3/Neopixel_v3.ino
d88fd6646f19453c0ec0298650ad753aaf91d5c5
[]
no_license
JackBauer76/IOTanks
17e3714a199dda5b91f9f93809e6c499f69c46db
424a4d1ca14a20bccf4e1f131980296b72edd11c
refs/heads/master
2021-12-29T22:40:45.819752
2021-12-28T19:58:41
2021-12-28T19:58:41
161,743,249
1
0
null
2019-01-31T19:06:46
2018-12-14T06:44:35
C++
UTF-8
C++
false
false
4,621
ino
/* Version 0 with Arduino Nano -Neopixel to D4 -Pushbutton to D3 (Pullup, Terminal to GND) Version 1 with switch case Version 2 with Switch 5 cases Version 3 with Poti */ #include <Adafruit_NeoPixel.h> #include <avr/interrupt.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 4 // Nano #defin...
[ "panzercalva@gmail.com" ]
panzercalva@gmail.com
fdb0b238ff1593e667a01e7a9f2a8f2bdf4ee633
4c0aac67f746ba08ab2843353d738dad2632cf9e
/MCC201-Procesamiento_de_Imagenes_y_Vision_Computacional/ImageProcesing/Trabajo_Image-Filters/utils/colortransform.cpp
6864578b9d0d50fb263234435e415bc76f2fa4c5
[]
no_license
fmorenovr/ComputerScience_UCSP
90f060bd8727d21e3b150fe2898f9aa40f7aa192
9412e0a72a411d17cc054bb792be16193356fdaa
refs/heads/master
2021-11-08T23:46:18.989498
2021-09-29T15:25:32
2021-09-29T15:25:32
249,790,277
8
0
null
null
null
null
UTF-8
C++
false
false
3,147
cpp
#include "colortransform.h" ColorTransform::ColorTransform(QImage *const src, QImage *const dst, QObject *parent) : QObject(parent) { srcImage = src; dstImage = dst; return; } void ColorTransform::convertToYUV() { emit print_progress(0); emit print_message(QString("applying convertion...
[ "fmorenovr@gmail.com" ]
fmorenovr@gmail.com
f6e45913f795d80a8168f4d6d961e1c27587432a
de21f9075f55640514c29ef0f1fe3f0690845764
/src/analyses/variable-sensitivity/abstract_object_set.h
8374ff0f366ea377159623be113afdc48e4b2668
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-4-Clause" ]
permissive
diffblue/cbmc
975a074ac445febb3b5715f8792beb545522dc18
decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16
refs/heads/develop
2023-08-31T05:52:05.342195
2023-08-30T13:31:51
2023-08-30T13:31:51
51,877,056
589
309
NOASSERTION
2023-09-14T18:49:17
2016-02-16T23:03:52
C++
UTF-8
C++
false
false
2,109
h
/*******************************************************************\ Module: analyses variable-sensitivity Author: Jez Higgins, jez@jezuk.co.uk \*******************************************************************/ /// \file /// an unordered set of value objects #ifndef CBMC_ABSTRACT_OBJECT_SET_H #define CBMC_AB...
[ "jez@jezuk.co.uk" ]
jez@jezuk.co.uk
153f46d33d1a7e57ee7af1a2c038269d8a65f80c
87d95eb442c02572ba76ce4beb97b6357e1e9fa6
/src/Systems/UI/Options.h
624a481878d130b446b0511e718bea9e236f1c38
[]
no_license
Eli5723/Stakken
600816896c74b9f71e9bd2f90897f9fd063bb36e
887c5cd9f277bd4f5dff25f1ef68bf40c414d108
refs/heads/master
2023-05-31T06:55:38.609853
2021-07-04T04:28:35
2021-07-04T04:28:35
369,947,509
0
0
null
null
null
null
UTF-8
C++
false
false
8,662
h
#pragma once #include "../../Globals.h" #include "../Assets/Assets.h" #include "./UI.h" #include "./BaseWidgets.h" #include "../Input/InputProfile.h" #include "Element.h" #include <SDL2/SDL_events.h> #include <SDL2/SDL_keyboard.h> #include <SDL2/SDL_mouse.h> #include <cstdlib> #include <glm/fwd.hpp> #include <strin...
[ "cunninhamelijah@gmail.com" ]
cunninhamelijah@gmail.com
140889b1f21395438dcb8c0eab265d22cea93de7
6a6e83e31730358008dc911391215e92b5dd614d
/exam/main.cpp
2eeb61f9d3c75772efcdf2b58d912790bd73407d
[]
no_license
antorlovsky/msu_cpp_spring_2020
e7ab07f08cc7ef413086231542a0eb0cf2af8df7
d9a508038e39f8989b73383db9b40eb8e3386f92
refs/heads/master
2021-02-25T09:55:53.812710
2020-05-14T16:22:47
2020-05-14T16:22:47
245,452,648
0
0
null
null
null
null
UTF-8
C++
false
false
77
cpp
#include "sum.h" int main() { Sum calcSum("input.txt"); return 0; }
[ "too.shko@gmail.com" ]
too.shko@gmail.com
27e92f9567937107676a8667312726fae644e329
64bcf0f33442d276f07bed73f745be72a830aa6d
/tilt_sensor/tilt_sensor.cpp
a8cb2386c67456a16c3d6e0aa049b0b1b740ef44
[]
no_license
risenanti/usmSensorLibrary
031e1cbcc036256ab46906dcbc3be3143096578f
0ea7928f79c467c1e93f1e592574f1b880cb55b6
refs/heads/master
2021-09-07T08:06:13.516407
2018-02-19T22:13:08
2018-02-19T22:13:08
104,581,733
3
2
null
null
null
null
UTF-8
C++
false
false
566
cpp
#include "tilt_sensor.h" void tilt_sensor::init(int _TiltsensorPin, int _ledPin ) { TiltsensorPin = _TiltsensorPin; ledPin = _ledPin; pinMode(ledPin, OUTPUT); pinMode(TiltsensorPin, INPUT); }; void tilt_sensor::update() { //checks to state of the sensor to read either a high or low value. tiltsensorState =...
[ "prcangel38@yahoo.com" ]
prcangel38@yahoo.com
7d503fd60d822827fa566ebdea2a822ae3147937
a9356a5f2a8b252f7baebcc153e1579f70a28fc7
/lab3a/sorting.cpp
f8124b8a5937a7f98e2a7a996899053df45e71fd
[ "Apache-2.0" ]
permissive
alekseykondus/ooop-2020-2021-semester-2
7fbc0401a445d3adac3abfebe29d94c2a6806546
345a4b03a94b51d28605d04e6c625cc9b800e205
refs/heads/main
2023-05-13T18:32:23.753969
2021-06-05T19:52:06
2021-06-05T19:52:06
342,336,503
0
0
null
null
null
null
UTF-8
C++
false
false
3,457
cpp
#include "sorting.h" Sorting::Sorting(size_t size) { unsorted = CreateVector(size); } std::vector<Type> Sorting::CreateVector(size_t size) { std::random_device rd; std::mt19937 mersenne(rd()); std::vector<Type> unsorted; for (size_t i = 0; i < size; i++) { unsorted.push_back(mersenne()); ...
[ "60347730+alekseykondus@users.noreply.github.com" ]
60347730+alekseykondus@users.noreply.github.com
e0143a230d5bf62c5bdf42c3d616b37973eb6036
650043ce21b1b474237c280bd29fbc672b187960
/dsl/Rails.h
99a77cd97ba69115b4c3828ccae8242736544a08
[ "Apache-2.0" ]
permissive
rmosolgo/sorbet
98a7aedf96eedd2b3dccd19b032e383412c74289
7ab2564aaca51c990aec7b3958b61455c1567283
refs/heads/master
2023-08-30T09:54:09.694611
2019-06-20T19:41:30
2019-06-20T19:41:30
192,978,123
3
0
Apache-2.0
2019-06-20T19:41:58
2019-06-20T19:41:57
null
UTF-8
C++
false
false
569
h
#ifndef SORBET_DSL_RAILS_H #define SORBET_DSL_RAILS_H #include "ast/ast.h" namespace sorbet::dsl { /** * This class is meant to support some of the missing methods for rails. It is * in no way comprehensive, but will grow over time. * * It desugars things of the form * * class Foo < ActiveRecord::Migration[5....
[ "ci-bot-blackhole@stripe.com" ]
ci-bot-blackhole@stripe.com
90967fa487e5ec1df405c9567cc3842131b030d9
35df3a609c4988993bc45d285e204ef33913932e
/src/rectangle.h
f2989f8f0c3130a7a705803f5cfd61a130758d2e
[]
no_license
yangx066/week-04
6eb0d119f573009403b5999f949d3bd1c4e2fa05
6be28a35219ebf52aff16f123e8781ca30f9c27e
refs/heads/master
2021-01-18T15:00:54.427180
2017-03-08T16:21:54
2017-03-08T16:21:54
84,341,380
0
0
null
null
null
null
UTF-8
C++
false
false
330
h
#ifndef RECTANGLE_H #define RECTANGLE_H #include "ofMain.h" class rectangle { public: rectangle(); void draw(); void zenoToPoint(float catchX, float catchY); ofPoint pos; float catchUpSpeed; // take this pct of where I want to be, and 1-catchUpSpeed of my pos }; #endif // RE...
[ "yangx066@gmail.com" ]
yangx066@gmail.com
87c464aaf1550d73d2cf129e01efb7a770e7176f
4d26158e5de775387faf93e6c47386da4ad00cef
/src/ds/thread_messaging.h
265b10c8602fd80dd43052015a81897945f583f6
[ "Apache-2.0", "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
prakashngit/CCF
66ba7ab23af93736f32579cd0617e1199ed8bee9
3ae6e3d4074f424a85ee062aa1ed584e7e17f72f
refs/heads/master
2022-06-06T08:27:53.487883
2020-02-24T14:42:05
2020-02-24T14:42:05
242,808,475
0
0
Apache-2.0
2020-02-24T18:15:09
2020-02-24T18:15:08
null
UTF-8
C++
false
false
4,291
h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #pragma once //#define USE_MPSCQ #include "ds/logger.h" #ifdef USE_MPSCQ # include "ds/mpscq.h" #endif #include <atomic> #include <cstddef> #include <map> #include <thread> extern std::map<std::thread::id, uint16...
[ "noreply@github.com" ]
prakashngit.noreply@github.com
db85e8f9b99e8280242c9692046e5299b36c6070
d4d71f04af840d212c52e76827d732d2826e295a
/src/Vector4D.cpp
8f00735bd4c83ec70150fcad0631acb77d2b769b
[]
no_license
cmbruns/sequoia
53a18861bbe7100ae1d5c645824ead6247693f54
dc3b79e198ac701ef0eecb0fed7249fa06b90903
refs/heads/master
2021-01-18T20:30:31.885488
2014-06-18T00:37:26
2014-06-18T00:37:26
20,944,116
1
0
null
null
null
null
UTF-8
C++
false
false
1,980
cpp
/* Copyright (c) 2005 Christopher M. Bruns * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge,...
[ "cmbruns@3da64b0a-0202-0410-8c91-c753549fdeb7" ]
cmbruns@3da64b0a-0202-0410-8c91-c753549fdeb7
2fd3ab91845aba4537ef7fbffffb832fda726b21
e51e8a6a04d0e57901cca3d866f33e54736053c9
/CodeForces/1005/a/56765409.cpp
c197aeef3db1a17e0c4c0c3ee586c72c961dd1a9
[]
no_license
Nipun4338/Solved-Programming-Problems
7cb638112ef3d135fc6594eac9c6e79c5b0a0592
401a9ecc3157b8b4aa275ceb8c67f4e90213bccd
refs/heads/master
2023-05-17T02:22:57.007396
2021-06-10T17:08:10
2021-06-10T17:08:10
283,442,802
0
0
null
null
null
null
UTF-8
C++
false
false
481
cpp
/* ID: Nipun Paul LANG: C++ PROB: God knows */ #include<bits/stdc++.h> using namespace std; int main() { int a, b[1005], sum = 0, c[1005],l=0; cin >> a; for (int i = 0; i < a; i++) { cin >> b[i]; if (b[i] == 1) { sum++; } } for (int i = 0; i < a; i++) { if (b[i + 1] <= b[i]) { c[l] = b[i]; ...
[ "49658560+Nipun4338@users.noreply.github.com" ]
49658560+Nipun4338@users.noreply.github.com
9f5ffd078099a50033a1c6d5e0537584df1c4635
182808a7b07128136a918ea09da7fcbdb71441dc
/471A_Expression.cpp
5887e54704037f78000cbca4e1f75bcc6438f31f
[]
no_license
ankitsharma07/Codeforces
25b17eb920bbcc9557152e564b7ba1b6d2241962
c15c51a8474cbf90f5eb5afc4aac34eedeadd75b
refs/heads/master
2021-06-02T01:38:46.943264
2020-12-13T18:55:06
2020-12-13T18:55:06
144,665,511
2
0
null
null
null
null
UTF-8
C++
false
false
1,071
cpp
#include <bits/stdc++.h> using namespace std; int main(){ int a, b, c; cin >> a >> b >> c; int r1 = a + b * c; int r2 = a * (b+c); int r3 = a * b * c; int r4 = (a+b) * c; int r5 = a + b + c; int max; if (r1 > r2) { max = r1; } else { max = r2; ...
[ "ankitsharma0711@gmail.com" ]
ankitsharma0711@gmail.com
ea3b3a940d116004f80481da47a09df8e4bde458
fd8ce8e8f093b35e531d93fb62ed1797e104b3ce
/src/nsrlastdocitem.cpp
b740bf3e603bb7ce0ab51e584dc37d0d34a0cf3a
[]
no_license
saprykin/nsrreader-bb10
630e75c5a610926ccf065a36f7d93fb94e51707e
48c5a548917b3fdaa30c048527bcc23bb0bd68c1
refs/heads/master
2021-01-12T21:17:25.263877
2015-10-13T21:44:27
2015-10-13T21:44:27
15,398,795
4
2
null
null
null
null
UTF-8
C++
false
false
15,910
cpp
#include "nsrlastdocitem.h" #include "nsrglobalnotifier.h" #include "nsrthemesupport.h" #include "nsrreader.h" #include <bb/cascades/Application> #include <bb/cascades/StackLayout> #include <bb/cascades/DockLayout> #include <bb/cascades/StackLayoutProperties> #include <bb/cascades/Color> #include <bb/cascade...
[ "xelfium@gmail.com" ]
xelfium@gmail.com
5bebf1a9f8891973a0e0b079245dae7950e9da2b
5cef19f12d46cafa243b087fe8d8aeae07386914
/codeforces/512/C.cpp
86fe11e61e57c6b3b9b8fd0d7b663be3bffba5b6
[]
no_license
lych4o/competitive-programming
aaa6e1d3f7ae052cba193c5377f27470ed16208f
c5f4b98225a934f3bd3f76cbdd2184f574fe3113
refs/heads/master
2020-03-28T15:48:26.134836
2019-05-29T13:44:39
2019-05-29T13:44:39
148,627,900
1
0
null
null
null
null
UTF-8
C++
false
false
1,406
cpp
#include<bits/stdc++.h> #define sc(x) scanf("%d", &x) #define sll(x) scanf("%I64d", &x) #define pb push_back #define ALL(x) x.begin(),x.end() #define debug puts("???") using namespace std; typedef long long LL; const int maxn = 2e5+10; const LL mod = 1e9+7; LL bit[maxn]; void add(int x, LL v){for(int i=x;i<maxn;i+=i&-i...
[ "ly1ch4o@gmail.com" ]
ly1ch4o@gmail.com
88c5469d659caa3e5bbe374456c8a6d6cd7fc753
edb1fc935a8a489c48acd8670f09723a63f535e4
/gp_lib/src/basic.cpp
90260a2e6e23fb832ddfff93ddc45a2afb2e8950
[]
no_license
in-silico/statistical-modeling
b07bb1ccde769e58861382d1b2446b56dcc11e6c
06b6bf799542e31c9870064bd96190ebf1e75ee1
refs/heads/master
2021-01-18T14:18:48.490530
2015-02-27T22:43:56
2015-02-27T22:43:56
31,278,080
0
0
null
null
null
null
UTF-8
C++
false
false
1,502
cpp
#include "gplib.h" using namespace arma; using namespace std; namespace gplib { mat upperTriangularInverse(const mat& upperT) { unsigned int D = upperT.n_rows; myassert(D == upperT.n_cols); mat ans(D,D); ans.fill(0.0); vector<double> tmp(D); for (unsigned int i=0; i<D; i+...
[ "sebasutp@gmail.com" ]
sebasutp@gmail.com
4c7eedc5a99c9569cea356f9427bd478b2676ab0
59a5ca26151808d863979d806379fba99cde9c3b
/Wcl/Source/SdiFrame.hpp
a1d5b5ee4543d7c0c579d3571fe247c42d6709b1
[ "MIT" ]
permissive
chrisoldwood/WIN16
9f0456c2abf573e486cedae4171702cefd3ee1ec
c30f5e3b872ee2dc06e3f5fdafd96236b47d2fd2
refs/heads/master
2021-01-23T03:53:15.891401
2020-02-11T23:20:52
2020-02-11T23:20:52
11,710,742
3
0
null
null
null
null
UTF-8
C++
false
false
1,300
hpp
/****************************************************************************** ** (C) Chris Wood 1998 ** ** MODULE: SDIFRAME.HPP ** COMPONENT: Windows C++ Library. ** DESCRIPTION: The CSDIFrame class declaration. ** ******************************************************************************* */ // Check for previ...
[ "administrator@chrisoldwood.com" ]
administrator@chrisoldwood.com
5e3593313a94039dca1ecd099cbfd45552bfdaee
d5f58c330e4acc8deb217a59283b7db14011ddaa
/lib/ds/meta/function.hpp
0d2385954a291bb20bdeae251b4c70918bff48ee
[ "MIT" ]
permissive
Rerito/dummy-player
9390670c868a2c997a74332d1910efcd8f64ac4b
5004b3aa1a94ced47cac89a0fb5aabaca9b74d43
refs/heads/master
2020-04-17T11:02:27.093489
2019-01-22T15:22:10
2019-01-22T15:22:10
166,524,457
0
0
null
null
null
null
UTF-8
C++
false
false
432
hpp
#pragma once namespace meta { namespace detail { template <typename Sig> struct fun_ptr; template <typename Ret, typename... Args> struct fun_ptr<Ret(Args...)> { using type = Ret(*)(Args...); }; } // namespace detail // I don't like the function pointer syntax much so let's just add some // syntactic sugar ov...
[ "4198746+Rerito@users.noreply.github.com" ]
4198746+Rerito@users.noreply.github.com
d1422be09523f84b2bc29c5d524c2722e4b2d372
83260779a6bf3d68bcad31412d54a889f51da1dc
/Keyboard.cpp
d6ec18b5aa0a9d172f149cdd6b62380eaf1906f7
[]
no_license
onlykeri/keyboard-record
48b2a3e59d721ca2eacc12f636d0399e8f976dde
0c6c52950f1851914ce586e883d07457fd4fa944
refs/heads/master
2023-02-22T19:49:46.900303
2021-01-19T08:19:49
2021-01-19T08:19:49
330,902,583
1
0
null
null
null
null
GB18030
C++
false
false
2,074
cpp
#include <windows.h> // 入口函数 Winmain // HINSTANCE :应用程序实例句柄leixing // LPSTR: char* //安装钩子 extern "C" __declspec(dllimport) BOOL InstallHook(); // 卸载钩子 extern "C" __declspec(dllimport) BOOL UninstallHook(); #pragma comment(lib, "key.lib") // 窗口处理函数 LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L...
[ "2757980624@qq.com" ]
2757980624@qq.com
9eac54ba24744abc1dad004653ae709eba78f955
be164a23e34de9cb85fcd96d08c38169848c914e
/intcalc2c/myexample/alglib/det.cpp
09cee0db5c8a557ab0000d59376fc45829def469
[]
no_license
alitvintsev/IntCALC
84fd8959e92b2e0dba62f57b6ea2f4d2c10d2991
3a12e0b1687ddca76cee136eb5ddacda940f521a
refs/heads/master
2021-09-24T09:59:43.686950
2017-06-20T07:07:06
2017-06-20T07:07:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,995
cpp
/************************************************************************* Copyright (c) 2005-2007, Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> 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 Found...
[ "alexanderlitvintsev@yahoo.com" ]
alexanderlitvintsev@yahoo.com
d2d30a2e0735ff785ce8bb933d84b2ccbfb27ea3
ab338ff32772b2ab8061700e0f59c56ca439a39b
/CMD646ATA.h
a9ef4faafd0a6cce9f9182eccfe0be6d7c613d81
[]
no_license
Quantum-Platinum-Cloud/CMD646ATA
3b7c20f76709ce29f2d46c93112f874d7f8af277
044bc62b3ccca29bcdba9c6033450ceee4d251da
refs/heads/main
2023-07-30T06:10:38.896805
2005-03-29T01:14:56
2021-10-06T04:41:58
589,294,419
1
0
null
2023-01-15T17:57:19
2023-01-15T17:57:18
null
UTF-8
C++
false
false
4,699
h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with th...
[ "91980991+AppleOSSDistributions@users.noreply.github.com" ]
91980991+AppleOSSDistributions@users.noreply.github.com
ab632aab781cd330137ac5fa5478bf9e7d441594
0dca3325c194509a48d0c4056909175d6c29f7bc
/arms/src/model/GetTraceAppRequest.cc
1fab59c371a0863447bea35d10e82284a92eaa57
[ "Apache-2.0" ]
permissive
dingshiyu/aliyun-openapi-cpp-sdk
3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62
4edd799a79f9b94330d5705bb0789105b6d0bb44
refs/heads/master
2023-07-31T10:11:20.446221
2021-09-26T10:08:42
2021-09-26T10:08:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,324
cc
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
28e7ba710102baee92e3a66545b93ae37b8d1f23
cf63146cc1e1a6ea9f492c7d6810e6abdf61d525
/week3/opdracht1/drawable.cpp
96093d072515f13e4fd3b9127def689e2acf633d
[ "MIT" ]
permissive
Bob-Thomas/V100PC-school
3ea480fd33e192a2a27f5c00f3f7aff1740343c2
0fa12db01f39038283fec3f85e65e8971862eb1a
refs/heads/master
2021-01-17T12:36:18.133885
2016-07-01T16:37:48
2016-07-01T16:37:50
56,462,348
0
1
null
null
null
null
UTF-8
C++
false
false
1,006
cpp
#include "drawable.hpp" drawable::drawable(window &w, const vector &location, const vector &size) : w(w), location(location), size(size) { } bool within(int x, int a, int b) { return (x >= a) && (x <= b); } bool drawable::overlaps(const drawable &other) { bool x_overlap = within( ...
[ "smartcat007@hotmail.com" ]
smartcat007@hotmail.com
a485903b7d65e7f12b676ed28f97339bb0cf9540
3f3095dbf94522e37fe897381d9c76ceb67c8e4f
/Current/STE_PlagueEnemies_SlowDeath.hpp
acf04c188c64877241f3d427b505d22e804369e3
[]
no_license
DRG-Modding/Header-Dumps
763c7195b9fb24a108d7d933193838d736f9f494
84932dc1491811e9872b1de4f92759616f9fa565
refs/heads/main
2023-06-25T11:11:10.298500
2023-06-20T13:52:18
2023-06-20T13:52:18
399,652,576
8
7
null
null
null
null
UTF-8
C++
false
false
174
hpp
#ifndef UE4SS_SDK_STE_PlagueEnemies_SlowDeath_HPP #define UE4SS_SDK_STE_PlagueEnemies_SlowDeath_HPP class USTE_PlagueEnemies_SlowDeath_C : public UStatusEffect { }; #endif
[ "bobby45900@gmail.com" ]
bobby45900@gmail.com
1704ddcce5b81133ebe87b8cb66a2215fa31182c
f0b84e3432c02d67b93efeafbbf1a801fa21ded3
/ziy/Classes/layer/NewLoginLayer.h
be9b15226912f830ae1c7eb0c42ab0b6ce49f984
[]
no_license
qwe00921/game-1
d49a096f096b7de0a2da7764632b20ad929d4926
2c7bd14a75ee8cd65528309bca33033f170c813a
refs/heads/master
2021-05-14T19:10:16.374869
2017-05-27T09:18:06
2017-05-27T09:18:06
116,101,350
1
0
null
2018-01-03T06:38:41
2018-01-03T06:38:41
null
UTF-8
C++
false
false
1,557
h
// // NewLoginLayer.h // TRGame // // Created by Jimmy on 16/04/09. // // #ifndef _NEWLOGINLAYER_H_ #define _NEWLOGINLAYER_H_ USING_NS_CC; USING_NS_CC_EXT; class GuestLayer : public BTLayer { public: static GuestLayer* create(EventDelegate* ptrDelegate); virtual bool init(EventDelegate* ptrDelegate); GuestLay...
[ "tangchengyu@bantus.cn" ]
tangchengyu@bantus.cn
7f157531664b668a8c5d91e414922d43fc92ad53
0b7152772768c788ae18ab56a24cf28359d0ba29
/MatrixToOBJ/src/Scene.h
c69e1eec449fc6bbafdddff9028267bebc6e1436
[]
no_license
HaDriell/Matrix3DToOBJ
c6e34b5c86be77e4ef046bd579373fd3de3ac8bb
ce46a1eb5ad5ebbb3ec022a79ca7fc84fb4ffdd1
refs/heads/master
2022-08-20T13:26:34.298589
2020-05-12T14:08:33
2020-05-12T14:08:33
263,334,313
0
0
null
null
null
null
UTF-8
C++
false
false
361
h
#pragma once #include "Mesh.h" #include <string> struct Scene { std::string materialLibrary; std::vector<Mesh> meshes; void sphere(float x, float y, float z, float radius, const std::string& materialName); void cube(float x, float y, float z, float size, const std::string& materialName); void sa...
[ "gautierlathu@hotmail.fr" ]
gautierlathu@hotmail.fr
7d5d5883e8945ccf3ff0a4beeedeaa3f281fea1f
f53a79a1cee7e2ba44e06fe0a94d4032bb9ee43f
/BOJ/2810.cpp
386b79e842fc3c8808cf84e3d0422102b273eddc
[]
no_license
SOFTK2765/PS
f576a416da21034d5ebea60538fcd263b6d042f3
a9215bc9c41530ad6a1a7352716c64e6d73354a7
refs/heads/master
2021-06-21T00:39:34.065445
2021-01-01T12:45:51
2021-01-01T12:45:51
152,511,667
2
0
null
null
null
null
UTF-8
C++
false
false
314
cpp
#include <stdio.h> int main() { int n, count=1; char a[51]; scanf("%d", &n); scanf("%s", a); for(int i=0;i<n;i++) { if(a[i]=='S') count++; else { if(a[i+1]=='L') { count++; if(i+1==n-1) break; i++; } } } if(n<count) printf("%d", n); else printf("%d", count); return 0; }
[ "44043820+SOFTK2765@users.noreply.github.com" ]
44043820+SOFTK2765@users.noreply.github.com
d4cecc48a02336c60e4cceb4a7b33e37ab697568
f81c4f2e224b29e0307fff221827c0a187648c5d
/test/x509/X509SignVerifyUT.cpp
c2400feb46758f403bcb346c130dc3d85a5c65bc
[ "MIT" ]
permissive
pdy/simpleopenssl
055f95db9678bb65bd3d7a6dddd6179f8499a3e8
42468f42070d3abf8c35d13c4412dcccdb1b67c2
refs/heads/master
2023-01-14T14:12:48.459747
2022-12-31T13:50:52
2022-12-31T13:50:52
131,509,442
6
1
MIT
2022-07-03T19:14:17
2018-04-29T16:13:21
C++
UTF-8
C++
false
false
6,052
cpp
/* * Copyright (c) 2021 Pawel Drzycimski * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish,...
[ "pdrzycimski@gmail.com" ]
pdrzycimski@gmail.com
a1e65dc2ee9c3e09601196c9380bde636853bd2e
5d2d6a0f5f9f12756ed9a80ef4daede2e7d7a320
/srcs/PlayerView.cpp
90e538cd168a7fa2a163330534ea151744f6390c
[]
no_license
z363989254/Bomberman
f1641e77cf73dbd7ef809b60dc2c943cd85d5192
46c2000ea54fb1ab946849b7589a3dc06ffb795f
refs/heads/master
2021-01-06T23:53:37.335149
2015-09-08T15:49:43
2015-09-08T15:49:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,109
cpp
// // PlayerView.cpp for bomberman in /home/chazal_l//Ydrasaal/PROJECT/Bomberman/Bomberman // // Made by leo chazal // Login <chazal_l@epitech.net> // // Started on Wed May 15 18:09:28 2013 leo chazal // Last update Sun Jun 9 19:05:05 2013 leo chazal // #include <iostream> #include <ModelException.hpp> #include "A...
[ "bhullnatik@gmail.com" ]
bhullnatik@gmail.com
ee5d6283333dd7271ea708488bdc4d4334587d77
30446123e089e2c27d30861e402dcbc343872354
/modules/vmfcore/java/jni/com_intel_vmf_Reference.cpp
c760305f2f1c2f0905067e0af2d77b6f7efd80e0
[ "Apache-2.0" ]
permissive
apavlenko/vmf
96f4bea4f11405fc64e9bd597e393f608c25c7fd
ba5e451e48bb18278ef0b7205914c7719149ad4d
refs/heads/master
2021-01-24T21:41:22.679622
2016-06-07T21:44:52
2016-06-07T21:44:52
47,108,203
0
4
null
2016-06-02T15:19:05
2015-11-30T09:26:33
C++
UTF-8
C++
false
false
5,213
cpp
#include<string> #include<vector> #include "vmf/metadatastream.hpp" #include "throwJavaException.hpp" extern "C" { using namespace vmf; /* * Class: com_intel_vmf_Reference * Method: n_Reference * Signature: ()J */ JNIEXPORT jlong JNICALL Java_com_intel_vmf_Reference_n_1Reference__(JNIEnv *env, jclass); ...
[ "andrey.pavlenko@itseez.com" ]
andrey.pavlenko@itseez.com
41ea69632fdfac478065084a6d448029fe4e5e98
ac005e30244ccca387c66554deefa7772cd1d142
/boxes/groups/sample/ethtokenpeg/contracts/eos/ethtokenpeg/ethtokenpeg.cpp
44dff329941a0b76da2ddfbc30bad26aec2307b9
[]
no_license
liquidapps-io/zeus-sdk
7eb23771b0996a6a3fc3a660f0e4e633c6c1a143
1d3dc106265b5950b41a928b588aa85255fedad6
refs/heads/master
2023-04-03T16:55:14.053803
2023-03-21T01:42:41
2023-03-21T01:42:41
179,921,716
56
40
null
2023-03-04T03:32:45
2019-04-07T05:22:19
JavaScript
UTF-8
C++
false
false
12,506
cpp
#define LINK_PROTOCOL_ETHEREUM true #define LINK_DEBUG //TO THE DEVELOPER - REMOVE THIS LINE FOR PRODUCTION - DISABLES LIB CHECK #include "../dappservices/link.hpp" #define CONTRACT_NAME() ethtokenpeg #undef MESSAGE_RECEIVED_HOOK #define MESSAGE_RECEIVED_HOOK(message) message_received(message) #undef MESSAGE_RECEIPT_...
[ "tal@liquidapps.io" ]
tal@liquidapps.io
2c30fd38db3c5694bd4f54221e9c60dd0417320a
de05e76f62c407c1a229d526b701825a1ef659c2
/src/main/native/include/units/math.h
5736bcf415ba70ace3ddd3f9c68937a7a8ddc3d5
[ "BSD-3-Clause" ]
permissive
wpilibsuite/wpimath
7272bc7e95eb005affa099e053c2e6499d15cad1
11b1706cd0c89ce6f9fbbdd1a9e6b6296458df40
refs/heads/master
2022-11-30T00:00:52.399970
2020-08-02T02:56:37
2020-08-02T02:56:37
282,506,465
1
5
NOASSERTION
2020-08-06T19:29:10
2020-07-25T18:55:57
C++
UTF-8
C++
false
false
29,642
h
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
[ "johnson.peter@gmail.com" ]
johnson.peter@gmail.com
85d75dc688a0e3768a80c985ac84c2aa1a21aa85
247d8b349ec8dc52fe674cd0d930e6c1dda689f2
/pvz/pvz.cpp
3ce8a25e9b49e450527ade1609eebf9e193b8760
[]
no_license
Goodwu415/PvZModifier
6f4bffe354c92741e2949dfd4b6b61ecb1a553ce
5c68c2acb6a0ad56f6644f53173f46f146cf38b6
refs/heads/master
2020-12-21T13:14:49.089495
2020-02-03T02:51:45
2020-02-03T02:51:45
236,440,319
0
0
null
null
null
null
UTF-8
C++
false
false
2,997
cpp
// pvz.cpp: 定义 DLL 的初始化例程。 // #include "stdafx.h" #include "pvz.h" #include "CDialogMain.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // //TODO: 如果此 DLL 相对于 MFC DLL 是动态链接的, // 则从此 DLL 导出的任何调入 // MFC 的函数必须将 AFX_MANAGE_STATE 宏添加到 // 该函数的最前面。 // // 例如: // // extern "C" BOOL PASCAL EXPORT ExportedFunction() // ...
[ "Goodwu415@users.noreply.github.com" ]
Goodwu415@users.noreply.github.com
dce93221ab8fa9fde09686f14bac22311f69244c
06a27fa68b5f4bcf23c029b57a52ea63a4711627
/Starter/History/Code/3-2-12/TextureCube.h
37d58c969fc4c282b3f7dee04c974128cdf1af64
[]
no_license
kmadsen/opengl-cpp
b24cda1f3973d2e48a3b52c5e46649faa6fbd8a7
6b8fe7fb5b3566b295d6a32adb4dc39f8ee027f6
refs/heads/main
2023-07-12T22:25:29.016043
2021-08-20T15:12:46
2021-08-20T15:12:46
398,293,117
2
0
null
2021-08-20T14:26:53
2021-08-20T13:54:23
Assembly
UTF-8
C++
false
false
522
h
#ifndef TEXTURECUBE_H #define TEXTURECUBE_H #include "GLSLProgram.h" #include "KScene.h" #include "vboteapot.h" class TextureCube : public KScene { public: TextureCube(void) : m_Teapot(NULL) {} ~TextureCube(void) { delete m_Teapot; } void Init(); void Render(float dt); void Resize(i...
[ "kyle.mdsn@gmail.com" ]
kyle.mdsn@gmail.com
5572b18e8102b58990b1fcb5fb789f124d379165
527255cfaf0f63c910bc31aab8e48929af352f60
/blackify/sort-ec.cpp
ee07e3116e1ce9577cadfb5b817a3b047c7b1049
[]
no_license
garrettspringer/ec-to-go
f9f99dbb98cf1713e236752ff3718380e6617865
4ff6f79de86abe5e0043ae172438645bb340c7ea
refs/heads/master
2020-04-17T22:54:21.333684
2019-02-20T23:12:03
2019-02-20T23:12:03
167,013,276
0
0
null
null
null
null
UTF-8
C++
false
false
1,264
cpp
// Sorts the enzyme commission numbers in increasing order #include<iostream> #include<unordered_map> #include<fstream> #include<algorithm> #include<stdlib.h> #include<vector> using namespace std; // reads in the numbers /*void num_converter(const string a, const string b, int &a1, int &a2, int &a3, int &a4, int &b1, ...
[ "ghsprin@g.clemson.edu" ]
ghsprin@g.clemson.edu
b13f8dfb948f1828df3bade8ded11c580583f3ff
e77704e8cfff3205f7165d9879b3f6d89b871b6a
/Plugins/MineSweeperEditor/Source/MineSweeperEditor/Public/MineSweeperEditor.h
9ac233b00b6cf2c67e903b56ffd47e82cdf6d06e
[]
no_license
AbsenceGameDev/poc-editortoolsue4
adc967fb2187df9afb84e2e5c5c7c5a979d68fea
12286891d0c2bb639aef0340eb8d18f87e52b719
refs/heads/main
2023-04-12T16:26:45.192430
2021-05-12T21:40:40
2021-05-12T21:40:40
347,472,105
2
0
null
null
null
null
UTF-8
C++
false
false
6,814
h
/** * @file MineSweeperEditor.h * @author Ario Amin * @project MineSweeper Geodesic Test **/ #ifndef MINESWEEPER_EDITOR_H #define MINESWEEPER_EDITOR_H #include "CoreMinimal.h" #include "FSysManager.h" // ReSharper disable once CppUnusedIncludeDirective #include "Modules/ModuleManager.h" /** * @class FMineSweeperEd...
[ "ario.amin@permadev.se" ]
ario.amin@permadev.se
1153a965e9a7e95d57218000c2a336fea7ae0a15
5cb9bc4c575f9e415e94fc1fddc4c22b0d61f3ad
/basic/analog_input/photo_3_serial/photo_3_serial.ino
22c070f72bfeba4d662661333fb739274ad84686
[]
no_license
eaman/sketchbook_andrea
2986bec89ebeb487e6b5a729e255c673bc5ec7a3
bb5990ecbfff472fbdcde806699ecde9000c9f8c
refs/heads/master
2021-06-17T17:01:59.953789
2017-05-29T19:45:46
2017-05-29T19:45:46
31,169,050
0
0
null
null
null
null
UTF-8
C++
false
false
1,713
ino
/* Photoresistor Utilizzare una fotoresistenza come analog input. Il comportamento della foto resistenza e' simile a un potenziometro: varia la resistenza in base alla quantita' di luce. Per ottenere valori significativi utilizzare unaresistenza da ~5k ohms in serie con il sensore. Questo sketch modific...
[ "andrea@piffa.net" ]
andrea@piffa.net
5b6a1b7e2f6d2bfdb0ce85d901d4bc7f4bd57dd3
b013562927e347376bfd43b57be229fda60cb607
/ax_database/src/axOracle/axDBConn_Oracle.h
6896e7272d30c9d006e1ceaa07153d187ff816ad
[]
no_license
Jasonchan35/libax
82102e2b2fa577f333815f99709ebbb9250ec9f5
931f18f8baf46b1e7087ea93a5f0c2ee667a540c
refs/heads/master
2021-05-04T10:02:13.008748
2018-06-23T16:48:21
2018-06-23T16:48:21
46,000,639
1
0
null
null
null
null
UTF-8
C++
false
false
1,401
h
#ifndef __axDBConn_Oracle_h__ #define __axDBConn_Oracle_h__ #include "axDBStmt_Oracle.h" class axDBConn_Oracle : public axDBConn_Imp { public: axDBConn_Oracle(); virtual ~axDBConn_Oracle(); virtual axStatus identifierString ( axIStringA & out, const char* sz ); virtual axStatus createStmt ( axDBStmt & ...
[ "jasonchan35@gmail.com" ]
jasonchan35@gmail.com
adf7f84129231fcc64e4c435701c0dabfc56e997
b92bedbcd81c44a8534688e0a9f4b9be306c3587
/lab9/modifyStringMain.cpp
b4681a230695c6cce100fd1f4856691f2ff96f30
[]
no_license
jamesdavis5589/cs201
494f310896ae19d2f8e0a2b8abf6194d4110db00
2eb275df86139bd20af449d1ac7a178cd59ecdb3
refs/heads/master
2020-07-13T08:28:38.528479
2019-12-09T05:22:44
2019-12-09T05:22:44
205,044,680
0
0
null
2019-11-20T03:17:08
2019-08-29T00:03:49
C++
UTF-8
C++
false
false
737
cpp
/* James Davis CS201 September 23rd Lab 9 - modifyStringMain.cpp This program will execute examples of the function created in the modifyString header */ #include <iostream> #include <string> #include "modifyString.h" int main() { std::cout << "Trial 1:\n"; std::string a = "diddly"; std::cout << "Length: "; std::...
[ "james.davis5589@outlook.com" ]
james.davis5589@outlook.com
e982fd9fa3026afb2450cb24bff5a4921e9ccf77
1cc17e9f4c3b6fba21aef3af5e900c80cfa98051
/content/browser/renderer_host/media/audio_sync_reader.h
eec238c1f15e70058bed60e03875dcaac2251833
[ "BSD-3-Clause" ]
permissive
sharpglasses/BitPop
2643a39b76ab71d1a2ed5b9840217b0e9817be06
1fae4ecfb965e163f6ce154b3988b3181678742a
refs/heads/master
2021-01-21T16:04:02.854428
2013-03-22T02:12:27
2013-03-22T02:12:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,975
h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_ #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_ #include "base/file...
[ "vgachkaylo@crystalnix.com" ]
vgachkaylo@crystalnix.com
b441afd11ad7f682edfab3ab179fe45d470ab4ba
fc4ec8267bc50bbc38da9894542fddfbf08a3ae4
/freecad-0.14.3702/src/Mod/Mesh/App/MeshPyImp.cpp
434e19f194262601a8b735af738652ae6b34526c
[]
no_license
AlexandreRivet/HomeMaker
c6252aa864780732dd675ab26e5474d84aa7e5f4
f483afea21c915e9208cb360046942a0fb26011c
refs/heads/master
2020-12-24T15:58:53.228813
2015-02-01T22:21:11
2015-02-01T22:21:11
29,052,719
1
1
null
null
null
null
UTF-8
C++
false
false
47,892
cpp
/*************************************************************************** * Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. * * ...
[ "alex-rivet94@hotmail.fr" ]
alex-rivet94@hotmail.fr
1026c51d3ec36b42c367e4be0699e34270ac5ca4
3ed65ce239f2db5de08b5c45caa97525a7379beb
/src/websocketpp/websocketpp/http/constants.hpp
334a78c20368059bdfb4798257b682496ad601f8
[ "BSD-3-Clause", "Zlib", "MIT", "MIT-Wu", "ISC", "BSL-1.0" ]
permissive
moorecoin/MooreCoinService
9466aac3683ccc52e7ea89906e2bc6c90dae9922
6de5f5032972147c0d43c3ae48a088f9e1fa7d28
refs/heads/master
2021-01-10T06:05:51.501738
2015-11-14T13:18:47
2015-11-14T13:18:47
46,175,388
0
0
null
null
null
null
UTF-8
C++
false
false
11,216
hpp
/* * copyright (c) 2014, peter thorson. all rights reserved. * * redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * redistributions of source code must retain the above copyright * notice, this list of cond...
[ "mooreccc@foxmail.com" ]
mooreccc@foxmail.com
322a38ad094075719a4c1758e0cd38e91ed7d5a3
a1c159640e389990b8dff547c4ff660049a82174
/C++/Graph/test.cpp
a17f9d12a0f3d2b53b5ebb712bb31cf091e4b29b
[]
no_license
shashankgargnyu/algorithms
8c7180c29940184286956202bee0e36a11a9bb5c
fa7c6761235f4b486af1f394a63539c3a06ecbf2
refs/heads/master
2021-01-18T21:12:30.511170
2017-04-02T05:43:02
2017-04-02T05:43:02
87,013,754
0
1
null
2017-04-02T20:24:08
2017-04-02T20:24:08
null
UTF-8
C++
false
false
1,498
cpp
// // main.cpp // Graph // // Created by Xiaohang Su on 11/25/16. // // #include <iostream> #include "Graph.hpp" using namespace std; int main(int argc, const char * argv[]) { // insert code here.. vector<Node *> con; Node *a = new Node(1); Node *b = new Node(2); Node *c = new Node(3); N...
[ "sxhdragon@gmail.com" ]
sxhdragon@gmail.com
d8348d7ddd60bb11580ec343d55ba70f3718ec01
40f0582cd9b932f239428923a9f70ec15ea87aad
/ThirdParty/DirectXShaderCompiler/dxc/Support/DxcLangExtensionsHelper.h
942c0fac47e78aab32d3279a368a3b930d284b75
[ "MIT" ]
permissive
yearling/SpartanEngine
95405d5276237504299498464b0b0184f0ac742a
2090901a0a1b79b1757d7c86250711d74651b6ac
refs/heads/master
2022-04-18T08:39:17.179716
2020-04-19T20:34:02
2020-04-19T20:34:02
257,377,327
1
0
MIT
2020-04-20T19:01:46
2020-04-20T19:01:45
null
UTF-8
C++
false
false
9,906
h
/////////////////////////////////////////////////////////////////////////////// // // // DxcLangExtensionsHelper.h // // Copyright (C) Microsoft Corporation. All rights reserved. // ...
[ "panosconroe@hotmail.com" ]
panosconroe@hotmail.com
a48c8e0cb9ee4f45d186bbce59c0761889522874
4dfabddf5852a71479840b4d8fbb5454ae839266
/Day 13/chat-room.cpp
0a61b3ca47f8591f813ceae63233e1b2303d2bb3
[ "MIT" ]
permissive
tushar-nath/100-days-of-code
b04c9eb3134a8453d736ac1c8a263a147d691bd9
860c088968521d953f5ca9222f70037e95cb4ad4
refs/heads/main
2023-07-14T02:15:37.496278
2021-08-21T17:43:36
2021-08-21T17:43:36
367,807,635
0
0
null
2021-05-16T07:01:31
2021-05-16T07:01:31
null
UTF-8
C++
false
false
353
cpp
#include <iostream> #include <string> using namespace std; int main() { string word="hello"; string s; cin>>s; int a=0, count=0; for (int i=0; i<s.length(); i++) { if(s[i]==word[a]) { count++; a++; } } if (count==5) cout<<"YES"; ...
[ "tusharnath10@gmail.com" ]
tusharnath10@gmail.com
87ef29c0b18d0e09341cfb2e27ed0fcb6efa1090
62ffd41447b855d4e36551af102b0dd252bc333f
/Source/ThirdParty/ANGLE/src/compiler/Intermediate.cpp
5a416d6b67167cb802fab527291ad072a9ae60b9
[]
no_license
fatman2021/webkitgtk
8ffae9d18dfb3dd4dbe8884ddb59a9434f2b3568
387f85cda822cbaa3a13642a319d9452cb1518f6
refs/heads/master
2020-12-03T03:52:59.477701
2013-10-28T17:04:33
2013-10-28T17:04:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
49,283
cpp
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // // Build the intermediate representation. // #include <float.h> #include <limits.h> #include <algorithm> #include "compiler/HashN...
[ "clement.lefebvre@linuxmint.com" ]
clement.lefebvre@linuxmint.com
fc52c0973a19484fddfb9186016791c63d4b4a1a
1428edcb2d2eec02d6014e3714d41e5ec860a852
/problems/linked_list_reverse.cpp
3c89d4ab787e92f546417e5421e49145675e02c4
[]
no_license
seongjaelee/techinterview
731cc03e8e7de119ee9622c0ecdd0a47185363c4
b850dd0592e825fbbc403b2d70dc425d6b8736b9
refs/heads/master
2020-12-30T11:14:41.573526
2014-01-16T06:18:14
2014-01-16T06:18:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,577
cpp
#include <cstddef> #include <iostream> struct Node { int item; Node * next; }; Node * reverse(Node * head) { Node * prev = NULL; Node * curr = NULL; Node * next = NULL; prev = NULL; curr = head; while (curr) { next = curr->next; curr->next = prev; prev = curr; ...
[ "seongjae@cs.washington.edu" ]
seongjae@cs.washington.edu
1e72016d1755c82a2f32655bedcb6ee01d27a70e
f9ae1ba26d3d93d9013197cbd28b08d14f8889f3
/src/nodes/async_nodes/async_hidden_node.cpp
7ad7b7f0c7e63cedcb7ef2202ed3376a0c64227a
[]
no_license
RDowse/Asynchronous-Deep-Learning
3242bf2d87728518a13e182471aae070698baa06
d6ae52f4f6647688486d9a47b474d5c6a991c712
refs/heads/master
2021-03-24T12:22:04.921517
2017-06-24T17:39:54
2017-06-24T17:39:54
71,652,508
0
0
null
null
null
null
UTF-8
C++
false
false
5,067
cpp
#include "nodes/async_nodes/async_hidden_node.h" #include "messages/forward_propagation_message.h" #include "messages/backward_propagation_message.h" std::string AsyncNeuralNode::HiddenNode::m_type = "Hidden"; void AsyncNeuralNode::HiddenNode::addEdge(Edge* e) { // add to original edge sets Node::addEdge(e);...
[ "rd613@imperial.ac.uk" ]
rd613@imperial.ac.uk
af2bc00547dd839bb73b6d8e455946938c8a10d0
479201773f3728bf6b8506bb8b8b512628b48fca
/App/Il2CppOutputProject/Source/il2cppOutput/Bulk_System_2.cpp
7dee889abfa95731ae6cc8c1413b4a773a0233ed
[]
no_license
CUSuits/CUTEE2020v2
62f9f6f699d8eaaade193a5bec8b6448e5c0a6e3
b10482172b0f97fbf2fbc418687232426b0ad29f
refs/heads/master
2021-04-07T05:16:12.555842
2020-04-02T23:11:02
2020-04-02T23:11:02
248,649,282
6
2
null
2020-04-03T01:31:40
2020-03-20T02:20:04
C++
UTF-8
C++
false
false
336,034
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
[ "56455003+aminalimody@users.noreply.github.com" ]
56455003+aminalimody@users.noreply.github.com
8c58b58d5d8251f59f20c5a1a42775aa5bc8abee
500c5172e0b8b2c0f618fb2b655d6a0c056715ea
/LC3-sysc/LC3.cpp
029aa5a93059f3265b2c3087fc34aa5c8ee0b3c6
[]
no_license
snehith-shenoy/learning-experiments
652f1fe20c7740b785d4e9303c8504beb0be688f
7585e15872be145674256f4dc6a50642c755a6f4
refs/heads/master
2023-03-31T16:43:41.978135
2020-12-28T17:52:02
2020-12-28T17:52:02
325,077,350
0
0
null
null
null
null
UTF-8
C++
false
false
6,912
cpp
#include "LC3.h" #define DR_MASK 0xE00 #define SR1_MASK 0x1C0 #define SR2_MASK 0x7 #define IMM5_MASK 0x1F #define IMM6_MASK 0x3F #define IMM9_MASK 0x1FF #define IMM11_MASK 0xFFF #define n_MASK 0x800 #define z_MASK 0x400 #define p_MASK 0x200 #define RET_MASK 0x1C0 #define JSR_MASK 0x800 #define BREG_MASK 0x1C0 LC3:...
[ "snehiths@vayavyalabs.com" ]
snehiths@vayavyalabs.com
d03cdb5c8a6355bbe9642da51beeec662326207e
3b61d94c95f8687b0cc4df554c92e3616417122b
/drivers/passenger_generator_driver.cc
2df964f3b208f803c073baf322548054ea9741c2
[]
no_license
hwangdav000/Bus_Simulation
a60bb19a6f0689633400d87de47201f5b2cddea0
a84180283df474be3af33d2297af811f89d249b1
refs/heads/master
2022-07-04T22:52:15.517156
2020-05-15T13:22:35
2020-05-15T13:22:35
264,197,629
1
0
null
null
null
null
UTF-8
C++
false
false
2,216
cc
#include <iostream> #include <vector> #include <list> #include <random> #include <ctime> #include "passenger.h" #include "stop.h" #include "passenger_generator.h" #include "random_passenger_generator.h" int main() { int rounds = 10; //Number of rounds of generation to simulate in test srand((long)time(NULL)...
[ "hwan0259@umn.edu" ]
hwan0259@umn.edu
1beedc0ebecd090b078e4e0da1ce828af031a289
9b596d7dbfe9f3605f3c0c45c62844bb04fb9292
/binding-generator/tpl/smart_ptr/cpp.tpl.cpp
557c26837b055932b357139afc6734ec28398674
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
taojunxin/opencv-rust
2f9225e5f9158f62722d174b749ced6469bf8ba8
75255a29c221f69f0339ae1bd12e9e3a7181a225
refs/heads/master
2021-03-08T14:39:08.146761
2020-03-09T20:56:33
2020-03-10T12:51:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
extern "C" void cv_{{rust_local}}_delete({{cpp_full}}* instance) { delete instance; } extern "C" {{cpp_extern}} cv_{{rust_local}}_get_inner_ptr({{cpp_full}}* instance) { return instance->get(); }
[ "twisted.fall@gmail.com" ]
twisted.fall@gmail.com
d59641188685c1c7bb1b6850e6bed94bae022d07
2d519c0aec7a95fecd7c02db833e4afd5ef941fa
/dsacpp/src/binTree/BinNode_zig.h
757b48cb770d64d7b69cc6ae33b27c94f4ceff45
[]
no_license
mstao/data-structures
21f26ffcedf336d9b87b65ac87428e6987cd8233
27f538ba8c69b17d739906ab8423663cdc1ecf99
refs/heads/master
2022-09-19T21:04:29.667932
2022-08-30T07:54:25
2022-08-30T07:54:25
113,195,381
1
0
null
null
null
null
UTF-8
C++
false
false
1,166
h
/****************************************************************************************** * Data Structures in C++ * ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3 * Junhui DENG, deng@tsinghua.edu.cn * Computer Science & Technology, Tsinghua University * Copyright (c) 2003-2019. All rights r...
[ "walkerhan@126.com" ]
walkerhan@126.com
6b06864ea71a2b9f21dc17a4e6e5899190cc42c5
887ceac74ae641561f2b67f0b78f986aff1d6651
/Leetcode/MinimumMovesToMakeArrayEqual.cpp
d102b129dccfdef186a6967579d5f5d59e235984
[]
no_license
rachitvk/Competitive-Programming
210d2eed2822f226091035656c8b3b8a47a93f44
228557036660492b2df38f21336cfbe025a13951
refs/heads/master
2020-04-23T15:15:30.503158
2019-05-18T07:32:08
2019-05-18T07:32:08
171,258,978
2
0
null
null
null
null
UTF-8
C++
false
false
701
cpp
class Solution { public: int minMoves2(vector<int>& nums) { sort(nums.begin(),nums.end()); int c; c=nums.size()/2; int x=nums[c]; int sum=0; for(int i=0;i<nums.size();i++) { sum+=abs(x-nums[i]); } return sum; } };c...
[ "kulkarni.rachit@gmail.com" ]
kulkarni.rachit@gmail.com
7786d5a9bdac6a43edc7adbf966d8fe5c18c7324
1013586234b6811b6ec319a40159d8b947777a63
/src/drawables/builder.hpp
46132d21cb714140c9d4dd55b1ab2f498954ed6f
[]
no_license
dorsath/sprite-game
8feb0ce6bcf13770f6840f9a3ae3de7549651534
5436e1084e19397c188bb0aff48fe0b4f09df094
refs/heads/master
2021-01-21T22:29:24.516561
2015-09-18T12:31:52
2015-09-18T12:31:52
42,653,659
0
0
null
null
null
null
UTF-8
C++
false
false
647
hpp
#ifndef DRAWABLES_BUILDER_HPP #define DRAWABLES_BUILDER_HPP class Builder: public Drawable { public: void draw(float dt); void setup(); void setLevel(Level* level); void click_callback(int button, int action, int modifiers, Coordinate mouseCoord); Builder(); private: Chunk* chunk_; Leve...
[ "ronald.m.hecker@gmail.com" ]
ronald.m.hecker@gmail.com
8e7a7fa95b20eb66a1b15c4c64a6e62f478fb5c4
e1d8092100af371e5264905baadfadbaa8924801
/hsp3-debug-empty/hsp3-debug-empty/pch.cpp
e1745e0256649b660fb0b1d18b649a52a77ff901
[ "CC0-1.0", "MIT" ]
permissive
vain0x/hsp3-ginger
b3b6beb999bec277e3db62404ee0351386ab6b4b
6fedf4e978c7a0d485ca78efbe4bf7bec4dcb71a
refs/heads/main
2023-08-09T09:28:16.213825
2023-04-19T14:20:12
2023-04-19T14:20:12
181,879,192
5
2
NOASSERTION
2021-11-01T12:25:11
2019-04-17T11:40:15
Rust
UTF-8
C++
false
false
307
cpp
// プリコンパイル済みヘッダーに対応するソースファイル // プリコンパイル済みヘッダーを使用している場合、コンパイルを成功させるにはこのソースファイルが必要です。 #include "pch.h" // ここには何も書かないでください。
[ "vainzerox@gmail.com" ]
vainzerox@gmail.com
9a7ac89bc2ea7ecba8bbf8ad41440839ef911153
d0bda5b8445ac26f29d6fc5dbcf3c0f417169101
/pointers_and_memory/namespaces/Animals.cpp
1f672aa74ebe2572d7aeb342a2645e805f6a925a
[]
no_license
Tanner-York-Make-School/SUP-2.1-Supervised-Intensive-Study
ad399dd28f18d44f1450aefb6b33acfcb85b4db9
06f632e896cc5af31edaf1f80328b1169045583b
refs/heads/main
2023-03-22T09:29:11.458719
2021-03-18T21:54:20
2021-03-18T21:54:20
310,428,700
0
0
null
null
null
null
UTF-8
C++
false
false
186
cpp
#include "Animals.h" namespace jwp { Cat::Cat() { // Constructor } Cat::~Cat() { // Destructure } void Cat::speak() { cout << "SSSsssss!" << endl; } } /* namspace jwp */
[ "tannerwyork@gmail.com" ]
tannerwyork@gmail.com
f584c67087f5c5035999ab039a0ed85d8c7e32c3
5f38b79a9032986797b3aa848c6e9f8a0f768222
/Watches/AGlass.cpp
7e9f40158f1ac14755796707d4decefc3ad57430
[]
no_license
AleksandarPav/Watches
2b45bbe3080df96229a9dfab157182f6ff1eb2f2
168023a1135495c0c7c332f226c221f486c30b12
refs/heads/master
2022-12-12T23:10:36.107632
2020-09-14T02:32:28
2020-09-14T02:32:28
295,206,696
0
0
null
null
null
null
UTF-8
C++
false
false
119
cpp
#include "AGlass.h" unique_ptr<PAccessory> AGlass::Copy() const { return unique_ptr<PAccessory>(new AGlass(*this)); }
[ "aleksandarp.ftn@gmail.com" ]
aleksandarp.ftn@gmail.com