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
907a066ce955b0d7c0baae984ac4a56f28ce6a07
3cf9e141cc8fee9d490224741297d3eca3f5feff
/C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-5100.cpp
1be4e64d3657ad6f81d5df9b33c508ed107fcaea
[]
no_license
TeamVault/tauCFI
e0ac60b8106fc1bb9874adc515fc01672b775123
e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10
refs/heads/master
2023-05-30T20:57:13.450360
2021-06-14T09:10:24
2021-06-14T09:10:24
154,563,655
0
1
null
null
null
null
UTF-8
C++
false
false
2,504
cpp
struct c0; void __attribute__ ((noinline)) tester0(c0* p); struct c0 { bool active0; c0() : active0(true) {} virtual ~c0() { tester0(this); active0 = false; } virtual void f0(){} }; void __attribute__ ((noinline)) tester0(c0* p) { p->f0(); } struct c1; void __attribute__ ((noinline)) tester1(c1* p); struct c1 { bool ac...
[ "ga72foq@mytum.de" ]
ga72foq@mytum.de
6ec9bcf081575b6beae8578edf94867e2b2bee13
d97eccd30e5299017c3239b9e5e8b3e7b653994b
/test/yosupo/associative_array.test.cpp
07918cdf02db8b6c506580dcb2bf441b6617d672
[]
no_license
sumu007/library
6541597c2dc6ed228c24fdcc1cb9d4677a38b615
06a38d5413e45c7f8833beee5173b66fdeaf4d99
refs/heads/master
2022-11-05T11:51:30.150580
2020-06-16T10:53:44
2020-06-16T10:53:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
613
cpp
#define PROBLEM "https://judge.yosupo.jp/problem/associative_array" #include <bits/stdc++.h> using namespace std; #define call_from_test #include "../../tools/cc_hash.cpp" #include "../../datastructure/pb_ds_cc_hash_table.cpp" #undef call_from_test signed main(){ cin.tie(0); ios::sync_with_stdio(0); const char...
[ "20266375+beet-aizu@users.noreply.github.com" ]
20266375+beet-aizu@users.noreply.github.com
35defa4986c9412689b4fae9824b57cdc4d41d45
749f5a12a824a0eaffd4fe2071d04f69ad94f405
/timer.cpp
0927fde0532dfe971f7a9e3bea9ad59db5ddf6cb
[]
no_license
BrentCranko/IPASS-DCF77
44f9d768cec9b6602e5bbfed7cd17800dc43a494
2d4e48d4efc2cd4689bda95a94f3f3309e3b2937
refs/heads/master
2020-02-26T14:52:29.428007
2016-07-14T09:20:24
2016-07-14T09:20:24
63,321,123
0
0
null
null
null
null
UTF-8
C++
false
false
939
cpp
// ========================================================================== // Copyright : Marten Butter 2016 // // 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) // // =========================================...
[ "brent.cranko@student.hu.nl" ]
brent.cranko@student.hu.nl
99c5ce352267296b1aed6a475abd65e6ec317205
e8307413bff4b74a4949597d130738b85ad61e0e
/Dialog/valuerechargedialog.cpp
542d050619c4e2ae868d7e22b78928ec85726802
[]
no_license
isliulin/SCPark
3ec0b5ddf1ef31b434965b86d70b4ba69851ba40
e9e83072fa35eff672585fcf3dae94eaee953413
refs/heads/master
2021-05-30T04:59:37.253340
2016-01-08T02:56:14
2016-01-08T02:56:14
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,098
cpp
#include "Dialog/valuerechargedialog.h" #include "ui_valuerechargedialog.h" #include "Common/commonfunction.h" CValueRechargeDialog::CValueRechargeDialog( QWidget *parent ) : QDialog(parent), ui(new Ui::CValueRechargeDialog) { ui->setupUi(this); CCommonFunction::ControlSysMenu( *this ); } CValueRecha...
[ "Anne081031@hotmail.com" ]
Anne081031@hotmail.com
41817b236415faa13f008af5facb21d491010630
29cd73e80d3f3b84c2279ce7d7b1ef158a109c1f
/weatherApp/city_model.cpp
7df271eafd27a7c5294f376a7b8427293643866e
[]
no_license
ZJWilliamson/PressureWave
abcb964003e7030ad528108a9fa3152b22ceff15
c099f5d7f7443acbbf84e472709c4bff484446a3
refs/heads/master
2021-01-11T10:54:52.579557
2016-12-10T23:25:47
2016-12-10T23:25:47
76,143,500
0
0
null
null
null
null
UTF-8
C++
false
false
754
cpp
#include "city_model.hpp" CityModel * CityModel::cityModel = 0; CityModel * CityModel::get() { if (!cityModel) { cityModel = new CityModel(); } return cityModel; } CityModel::CityModel() { city = getCity(MOSCOW); } void CityModel::initialise() { setValue(City, QVariant::fromValue(getCity(MOSCOW))); } QVari...
[ "zacha@DESKTOP-RQNU6I5" ]
zacha@DESKTOP-RQNU6I5
698063cb20039092b93a4655f4cb5312b63ba697
7c478a5c49b0133d5243ff0d6bfcc1a39540d0af
/src/findClosestUpdateRate.cpp
f370f91257c8e2c499ef95aa03a21abc58cf04d2
[ "BSD-3-Clause" ]
permissive
yueluo0530/xsens_mtw_driver-release
aea84cdcb63225535fffb42f8271ef39bf422c4f
e57ced57ec9f91f4190afa5cee65442a37548918
refs/heads/master
2022-04-21T09:17:56.194016
2020-04-23T02:03:46
2020-04-23T02:03:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
662
cpp
#include "findClosestUpdateRate.h" int findClosestUpdateRate(const XsIntArray& supportedUpdateRates, const int desiredUpdateRate) { if (supportedUpdateRates.empty()) { return 0; } if (supportedUpdateRates.size() == 1) { return supportedUpdateRates[0]; } int uRateDist = -1; int closestUpdateRate = -1; ...
[ "leonardo.felipe.santos@usp.br" ]
leonardo.felipe.santos@usp.br
7736c1469e9a3bfad9cafc7c24b35b67faa861f5
117a63892e36034df61cc4eee8c14e2703909957
/armor.h
e7073e2b44e88e9e135131a2ab531e58be7be299
[]
no_license
VladSerghei/Shootout
4f8c3cab172bf131acdba81eeec14fc6daf691ae
0bbaf38cc22bae579a49d61ee0d3d9da334dca2d
refs/heads/master
2020-05-17T20:51:44.862683
2019-04-28T20:41:52
2019-04-28T20:41:52
183,956,642
0
0
null
null
null
null
UTF-8
C++
false
false
452
h
#ifndef ARMOR_H #define ARMOR_H class armor { int arm; public: armor(int x); ~armor(){} int Getarm() { return arm; } void Setarm(int val) { arm = val; } }; class heavy:public armor { public: heavy():armor(20){} }; class medium:public armo...
[ "noreply@github.com" ]
VladSerghei.noreply@github.com
a77940df9c5a0053bc31671df841f18d66231428
5eb9f43b40ce870764aa65eb646b3532ebdf01f2
/NMGame/Camera.cpp
cb9ec60de84176f89c5d0c77099e67c4e548bb4f
[]
no_license
anqck/NMGame
911f8cb5ea6142c35bdadbc21339cfb34e614969
3a11e2d7c620dd620dbac07fd27d35ce943b3f26
refs/heads/master
2021-09-15T15:07:10.711772
2017-12-28T08:49:36
2017-12-28T08:49:36
105,494,656
0
0
null
2017-11-25T18:12:53
2017-10-02T03:28:28
C++
UTF-8
C++
false
false
4,877
cpp
#include "Camera.h" Camera* Camera::mInstance = NULL; Camera * Camera::GetInstance() { if (!mInstance) Camera::mInstance = new Camera(); return Camera::mInstance; } Camera::Camera() { this->mPosition = D3DXVECTOR3(0, 0, 0); mVelocity = D3DXVECTOR2(0, 0); this->mWidth = GLOBAL::GetWindowsWidth(); this->mH...
[ "quanchikhanhan@gmail.com" ]
quanchikhanhan@gmail.com
5c4fea9c5d5e482c76ad992ba07089a2a24bf393
622df67006344be452e62f9b346ec438337f0cab
/codechef/weekend.cpp
803acba90a4282bbbf93cbf466813383846c857d
[]
no_license
arpu-nagar/Coding
090981921cdeac70641fdb602ebfdad8b49d4867
ec71c039784d423eae67b3a5c070c21117771edc
refs/heads/master
2023-07-14T12:15:35.601131
2021-08-31T05:53:22
2021-08-31T05:53:22
252,650,938
0
0
null
null
null
null
UTF-8
C++
false
false
386
cpp
#include <bits/stdc++.h> using namespace std; int main(){ int t; cin >> t; while(t--){ int arr[5]; int sum = 0; for(int i=0;i<5;i++){ cin >> arr[i]; sum+=arr[i]; } int p; cin >> p; if(sum*p > 120){ cout << "Yes" << endl; }...
[ "arpnagar1@gmail.com" ]
arpnagar1@gmail.com
790e173d216922d0ff17d5f3630a79edd75d8b60
0b78eaab19fac76c521efd1b4f7d1a337d4a5b4c
/cronos/croblock.cpp
dbfa3ae8252cb048ef09daf8c85c94e462d46264
[]
no_license
gerdoe-jr/centaurus
b82492d21281edf30b9e7094eb5461be72401079
505691d5ea160d521a98b059fc3647f0ced47192
refs/heads/master
2023-06-07T05:35:03.515645
2021-05-21T07:21:01
2021-05-21T07:21:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,667
cpp
#include "croblock.h" #include "croentry.h" #include "croexception.h" #include "crofile.h" CroBlockTable::CroBlockTable(CroEntryTable& tad, cronos_id id, cronos_idx count) : m_TAD(tad) { InitEntity(tad.File(), id); m_uEntryCount = count; } CroBlock CroBlockTable::FirstBlock(cronos_id id) ...
[ "nikolay_tihonov@i.ua" ]
nikolay_tihonov@i.ua
6d21d6823d3a6494bb2129032c3cef62abcda63b
e645f6c0a1db26a2e2aae9db95cd189c533ac8ad
/James_Agents/lattice.cpp
ad5f87c3f3aa2e8bbca3b63961fcb6a17ceaedf7
[ "MIT" ]
permissive
A-Simmons/James_ABM
5a63df2468f9c508dde250eefad44a4b50b2db4b
035cd7892d785ca9767e04bb623225dc8d9cd0f1
refs/heads/master
2020-05-20T19:24:40.930746
2016-09-20T04:47:49
2016-09-20T04:48:27
68,675,085
0
0
null
null
null
null
UTF-8
C++
false
false
816
cpp
#include "stdafx.h" #include <iostream> #include "lattice.h" #include <list> std::vector<lattice*> lattice::getEmptyAdjacencies() { // Get pointer to vector of pointers that point to adjacencies std::vector<lattice*>* adj = this->getAdjacencies(); // Initialise list for adjacencies which are empty std::vector<lat...
[ "alex.simmons.1992@gmail.com" ]
alex.simmons.1992@gmail.com
62d6c986797fa28b65381aaf683943c90256f9bb
aa37f9872425824d5e264bd28e0a50cbbdc840d0
/Simulación/CFD_DEM/28.5/uniform/time
4679a8eed9fca40e1c810a3d2d7dda77c6edac7c
[]
no_license
jdarguello/MSc-Thesis
8c2048d572a1b16a649edd9a41958c93409fff98
5348e134045c4e752c757b6f8fd86e555d3613bd
refs/heads/master
2023-05-04T12:25:16.921722
2021-05-29T15:08:05
2021-05-29T15:08:05
302,655,527
0
0
null
null
null
null
UTF-8
C++
false
false
819
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*-------...
[ "juandavidarguello@gmail.com" ]
juandavidarguello@gmail.com
fa328e80df0c8eca78593700cd597d8da1c6a6a6
0e1c1aacb45001a4231ca5fc1eea71fc4a7ac53b
/CalculatorApp/src-gen/v1_0/commonapi/CalculatorStubDefault.hpp
e20c4063a92c7aa71e67a07cb074cba3f921cf2c
[]
no_license
sunny972538/Common-API-Examples
12fddbe842a8e0f63e209a41f1daf15b13ffa30a
83a9841168cfea676c8b24a9d33f162462e79941
refs/heads/master
2020-04-12T10:31:48.057664
2019-05-13T04:55:18
2019-05-13T04:55:18
162,432,374
0
0
null
null
null
null
UTF-8
C++
false
false
2,772
hpp
/* * This file was generated by the CommonAPI Generators. * Used org.genivi.commonapi.core 3.1.3.v201507280808. * Used org.franca.core 0.9.1.201412191134. * * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain on...
[ "SuYadav@ad.harman.com" ]
SuYadav@ad.harman.com
0859d3407db5271ddea370bc57fc85de5ee7af2e
d4537dd59bd3606813d9975951023b3c2bf07015
/assignment_package/src/scene/lights/pointlight.cpp
9ea23dfb1fc920ab5ee42bc9c46dbe9c1b2a2369
[]
no_license
HanmingZhang/Path-Tracer
a936f0a14466604b954754ba2e8ae1201071e085
8a7714edc3898b8c9908a31dd36290ec7ba3181e
refs/heads/master
2021-01-18T18:01:58.278276
2017-10-18T23:55:24
2017-10-18T23:55:24
86,838,178
1
1
null
null
null
null
UTF-8
C++
false
false
940
cpp
#include "pointlight.h" Color3f PointLight::L(const Intersection &isect, const Vector3f &w) const{ return emittedLight; } Color3f PointLight::Sample_Li(const Intersection &ref, const Point2f &xi, Vector3f *wi, float *pdf) const{ //*wi = glm::normalize(pLight - ref...
[ "HanmingZhang@hotmail.com" ]
HanmingZhang@hotmail.com
2aae71f690d1ec03b879bafcbf70adba10edcaa5
2e4d5607aed45d9c223d36002376eaeb7d9d34b6
/fantasy.cpp
08641ab97d53823076af1e4f901d38048862ad22
[]
no_license
BabuRipon/CPP_CODE
a405f7eb7691e17e20f30db14f61de13e6da019e
dc53e1c1c433b44bcf597de5afe7726d0fcc7080
refs/heads/master
2023-08-01T03:02:30.014708
2021-09-18T05:13:04
2021-09-18T05:13:04
407,762,962
0
0
null
null
null
null
UTF-8
C++
false
false
756
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int T,N,S; cin>>T; while(T--){ vector<int>p,j; cin>>N>>S; for(int i=0;i<N;i++){ int k; cin>>k; p.push_back(k); } for(int i=0;i<N;i++){ int k; cin>>k; ...
[ "riponbabu392@gmail.com" ]
riponbabu392@gmail.com
d1b74e05b81d2e6afa4b2fe8b479c17d4edac7ad
fe65f9eb977b8aa03e9ba1749e0a586920dd4621
/src/SvLib/SvDir.cpp
22b698c7cc1559cab7aa61266f23c7d9c9be4fd0
[]
no_license
usiksan/SaliCAD
6b24cad22db191b0a654ad96f78a642583bdc650
3eb7cbd56991c82de1cd4d659dd5d18eb84329c6
refs/heads/master
2023-08-09T15:49:33.952310
2023-08-08T15:45:02
2023-08-08T15:45:02
122,590,905
5
0
null
null
null
null
UTF-8
C++
false
false
2,154
cpp
/* Project "SvLib - common library" Author Alexander Sibilev Internet www.saliLab.com Description SvDir string which contains directory path */ #include "SvDir.h" //! //! \brief SvDir Path constructor //! \param path Default path. May be with or without final slash //! SvDir::SvDir(const QString...
[ "usiksan32@yandex.ru" ]
usiksan32@yandex.ru
f9e27a700262ceeb3b76136840bd980ede7c5aa4
f5c7304e5ab53c7ac50c49d3e5254675d1297a1b
/libraries/WiFiManager/examples/NonBlocking/AutoConnectNonBlockingwParams/AutoConnectNonBlockingwParams.ino
f5d4881bb36d3adc8e9751fd0545d118b7dd29ed
[ "MIT" ]
permissive
kriffe/ESP32-Adafruit-IO-Templates
62cf2e8d8a213633433a4913fcd445eb964646a4
2a9a46b72ec9ad067cccc5b4ed86bb960c3ad8fe
refs/heads/master
2020-06-20T21:48:46.646150
2019-07-17T11:51:30
2019-07-17T11:51:30
197,261,194
0
1
MIT
2019-07-17T11:50:12
2019-07-16T20:15:56
C++
UTF-8
C++
false
false
1,028
ino
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager WiFiManager wm; WiFiManagerParameter custom_mqtt_server("server", "mqtt server", "", 40); void setup() { // put your setup code here, to run once: Serial.begin(115200); //reset settings - wipe credentials for testing //wm.resetSettin...
[ "kriffe@users.noreply.github.com" ]
kriffe@users.noreply.github.com
32db124a69b9f5400bc9e8609bcd65f07fcb8d12
d1582149f13914c5d5e4867da9da48401ee177b9
/394-coins-in-a-line.cpp
8c6ed374986ec9913d3f28d9f7d06c2a14a3741a
[]
no_license
yaoshun/LintCode
47e5c3f116e929ddf2eb826766578be609bf8a80
6f354b25f791fb4bbac980c94f2c4569e88f83cf
refs/heads/master
2021-01-21T12:11:52.406843
2016-04-19T20:15:17
2016-04-19T20:15:17
41,388,437
0
0
null
null
null
null
UTF-8
C++
false
false
337
cpp
// LintCode series of problem class Solution { public: /** * @param n: an integer * @return: a boolean which equals to true if the first player will win */ bool firstWillWin(int n) { // write your code here if (n % 3 == 0) return false; else retur...
[ "syao@hpc1.csc.bnl.gov" ]
syao@hpc1.csc.bnl.gov
cee13a52e1c478305d61c977cf73d0ccf7e3f2f9
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/oprofile/libpp/xml_utils.h
668e9439123a817d3c206497b4ebf857fe284845
[ "MIT", "GPL-2.0-only" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
C++
false
false
2,072
h
/** * @file xml_utils.h * utility routines for generating XML * * @remark Copyright 2006 OProfile authors * @remark Read the file COPYING * * @author Dave Nomura */ #ifndef XML_UTILS_H #define XML_UTILS_H #include "symbol.h" #include "format_output.h" #include "xml_output.h" typedef symbol_collection::const_...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
c1be0cdcfb1cbf1b365f0f9827dbb3fb86cf34f1
b857ba4267d8bafda5312272f050e966e4e32a25
/Source/Cross/Common/MoCore/MoCrFeature.h
48f1c89fd6cb55394a549a6a8e4d1e3a70fd9f8f
[]
no_license
favedit/MoCross3d
8ce6fc7f92e4716dde95b19020347b24f7c2e469
b5b87bef0baa744625b348d7519509ba6f4e6f1e
refs/heads/master
2021-01-10T12:12:19.301253
2016-04-04T15:06:03
2016-04-04T15:06:03
54,264,397
0
1
null
null
null
null
GB18030
C++
false
false
1,808
h
#ifndef __MO_CR_FEATURE_H__ #define __MO_CR_FEATURE_H__ #ifndef __MO_CR_COMMON_H__ #include "MoCrCommon.h" #endif // __MO_CR_COMMON_H__ MO_NAMESPACE_BEGIN //============================================================ // <T>功能。</T> // // @history 140413 MAOCY 创建 //====================================================...
[ "favedit@hotmail.com" ]
favedit@hotmail.com
735eddc6f34f27b3b9da370684941a36f7029cb4
07533def7713635c732142ab07e0967f5f189c3d
/YCGraphic/YCUITextField.cpp
7fa05c0a70ae7f3b4f50c04ad4cddb09baaddd7c
[]
no_license
lovechen508/GameClient
2bddfca4d4b4a8e3cd788211a0e1178be36f0eb5
cabe9f95a14091bc3ce104a47104c8c278a86920
refs/heads/master
2020-06-09T07:26:55.242641
2013-02-20T06:15:57
2013-02-20T06:15:57
null
0
0
null
null
null
null
GB18030
C++
false
false
587
cpp
#include "YCUITextField.h" YCUITextField::YCUITextField(YCUITagMeta* tagMeta) : YCUITag(tagMeta) { } YCUITextField::~YCUITextField(void) { } // // 函数:draw() // // 目的:在指定处绘制该UI元件 // void YCUITextField::draw() { } ////////////////////////////////////////////////////////////////// // Private ...
[ "loevchen508@hotmail.com" ]
loevchen508@hotmail.com
f85e7bd7b70dcdb83356c10fa3be3c7239c39364
e3ed2205264bfc163ade6a7eacd7507f5475afdf
/app/check/check_veryoldpro/weiduodianzi/GeneratedFiles/Debug/moc_BasePage.cpp
0c9eaa889f95b84e325e6fe854a362f092dae0f7
[]
no_license
icprog/weiduodianzi
7789cab70974c252ca7abbb085aac75ada3d0ec7
a982d0b1c98910ed06d8321a293fc8005fe3057d
refs/heads/master
2020-04-04T15:42:05.712038
2016-06-11T07:09:40
2016-06-11T07:09:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,380
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'BasePage.h' ** ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) ** ** WARNING! All changes made in this file will be lost! ******************************************************...
[ "flylokj@163.com" ]
flylokj@163.com
765c7aa5da53b25486eb75c5b6db489b57f0e0a8
fb889d451d9934856bc05f1785133f02b2231ff6
/template/sgu/117.cpp
ea0df6faf6c114dbbdd38fc8dbb42579d223e248
[]
no_license
RaresC21/ProgrammingContests
3b3f8552ee6a4e18e365c6d633d879dc650637f3
57c4cf65441184cda48b5b2963e9c3399c6811df
refs/heads/master
2021-06-26T15:43:52.162417
2020-09-27T01:10:37
2020-09-27T01:10:37
93,786,723
4
0
null
null
null
null
UTF-8
C++
false
false
1,141
cpp
#include <bits/stdc++.h> using namespace std; #define LL long long #define VI vector<int> #define VLL vector<LL> #define mp make_pair #define pb push_back typedef pair<int, int> PII; typedef pair<LL, LL> PLL; #define A first #define B second #define io ios_base::sync_with_stdio(false) const int INF = 1e9; VI prime; ...
[ "raresc2105@gmail.com" ]
raresc2105@gmail.com
5085c0c436193662d4f40c40e593172b923c6b0c
63d1fe39dd50c5634ee67c60eb91a5c3533fe45b
/client/levelzero.h
b1858ead3e641d93f68b4ba5ede1be0246ec03b9
[]
no_license
matthewcanova/bits-buckets-balls
c1ed8e7a10a53872f5fc0fe10eb8d8407db5c97f
22b247e828361cb111b5804b19d9c5cafb4cfe66
refs/heads/master
2021-05-12T08:00:04.563798
2018-01-12T16:49:10
2018-01-12T16:49:10
117,265,007
0
0
null
null
null
null
UTF-8
C++
false
false
451
h
#ifndef LEVELZERO_H #define LEVELZERO_H #include <QMainWindow> #include <QTimer> #include <SFML/Graphics.hpp> namespace Ui { class LevelZero; } class LevelZero : public QMainWindow { Q_OBJECT public: explicit LevelZero(QWidget *parent = 0); LevelZero(QWidget *parent, int level); ~LevelZero(); v...
[ "matthewcanova@gmail.com" ]
matthewcanova@gmail.com
ace776e532f401ecd00be20e800c3747e32c513f
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 10161 Ant on a Chessboard/sol.cpp
e44d4554efe75e1fbad9426c3ec449508fbce61f
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
C++
false
false
416
cpp
#include<iostream> #include<cmath> #include<cstdlib> #include "stdio.h" using namespace std; int main() { long x, y, t, p; long double s; while (cin >> t && t) { s = sqrt(t); x = ceil(s); y = x - abs(x * (x - 1) - t + 1); p = s + 0.5; if ((p & 1)) { ...
[ "xenron@outlook.com" ]
xenron@outlook.com
25bf7ab0eb9f2d8deecc94aa1bb4812982937e14
2b7b4f2f174d01b0f2445e2e2275e6a1a8f143c6
/HDU/2028(n个数的gcd).cpp
c3b75a287cf6a8df8de47cd22e96c906076c91e9
[]
no_license
lilyht/OJ_code
34220c6d0dbd36984af0fae69dce8427742b1eac
eb589194c109fdc5ed24ea99f2b0f5108964a72c
refs/heads/master
2022-12-27T09:10:17.911928
2020-10-12T08:45:08
2020-10-12T08:45:08
303,328,850
0
0
null
null
null
null
UTF-8
C++
false
false
396
cpp
#include <iostream> using namespace std; //2020-09-07 14:41:30 Accepted 2028 15MS 1408K 340B G++ int a[10010]; int gcd(int x, int y) { if(y == 0) return x; else return gcd(y, x%y); } int main() { int n; while(cin>>n) { for(int i=0; i<n; i++) cin>>a[i]; int ans = 1; for(int i=0; i<n; i++) { int c = gcd(ans...
[ "295808612@qq.com" ]
295808612@qq.com
9085b0e221b1a5f0c63b804c3c193cdc8ac51a5d
32e8f451b857747edd0b0c7e9f2abe3ea120f00e
/anomalyDetection/event_detection/eblearn-1.0-r1860/tools/libeblearntools/include/metaparser.h
9c0844f30dfac4d00718b0805076d29b0ac54012
[ "BSD-2-Clause" ]
permissive
bugcheck/gsra
0c1cbb6ae0fe64f5146257ebf5142b12be4033f8
72424592b7bc3443572807f0b5726066d1cc59d2
refs/heads/master
2020-12-24T06:15:31.104291
2012-04-11T22:30:02
2012-04-11T22:30:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,119
h
/*************************************************************************** * Copyright (C) 2009 by Pierre Sermanet * * pierre.sermanet@gmail.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
[ "athuls89@gmail.com" ]
athuls89@gmail.com
1ef009a29941e1096a598acafc08f8507421937d
d0fb46aecc3b69983e7f6244331a81dff42d9595
/arms/include/alibabacloud/arms/model/GetTraceRequest.h
9c8ad72a2f6e86e5e25c9cfbfe5ae7208d883fe4
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-cpp-sdk
3d8d051d44ad00753a429817dd03957614c0c66a
e862bd03c844bcb7ccaa90571bceaa2802c7f135
refs/heads/master
2023-08-29T11:54:00.525102
2023-08-29T03:32:48
2023-08-29T03:32:48
115,379,460
104
82
NOASSERTION
2023-09-14T06:13:33
2017-12-26T02:53:27
C++
UTF-8
C++
false
false
1,593
h
/* * 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 by...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
7ab8182c661e20526f8cb57dac9f7b35d840e743
8ba26af4be6e5a17e9e8d7bd24cf77ecde9df56d
/lab4/task1/Shapes/Shapes/main.cpp
0f5217ea2f69420daf24ae2f17a734065b598cb6
[]
no_license
GreatHorizon/oop
b182b2ddae504280cc0f5c7248a1be5e9b4a5c32
df8632f64687f37cb138ce855abb317510dded37
refs/heads/master
2022-11-17T20:59:01.550294
2020-07-13T20:15:01
2020-07-13T20:15:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
954
cpp
#include "stdafx.h" #include "ShapesControl.h" using namespace std; int main() { ShapesControl control(cin, cout); cout << "Commands:\n" << "line <first point X> <first point Y> <second point X> <second point Y> <line color>\n" << "circle <center point X> <center Point Y> <outline color> <fill color>\n" << "...
[ "52240672+GreatHorizon@users.noreply.github.com" ]
52240672+GreatHorizon@users.noreply.github.com
768cd4c594e0933427f5f587e621a6ef405a3ecb
871d9f4ee63cde11ade898e17fc39832e0912265
/project-02/project-02.ino
7c8b7101ccc18bb8422349f5fc676a12d029d1a3
[]
no_license
pghalliday/arduino-projects-book
877ea1decdac23a503be463f68b30d8175e1688d
db1fdbf897119c06d8eecb308f41220071a1b5e2
refs/heads/master
2022-06-17T01:52:57.688237
2020-04-26T13:10:31
2020-04-26T13:10:31
255,970,215
0
0
null
null
null
null
UTF-8
C++
false
false
461
ino
int switchState = 0; void setup() { pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(2, INPUT); } void loop() { switchState = digitalRead(2); if (switchState == LOW) { digitalWrite(3, HIGH); digitalWrite(4, LOW); digitalWrite(5, LOW); } else { digitalWrite(3, LOW); ...
[ "pghalliday@gmail.com" ]
pghalliday@gmail.com
51e2c74a678554d996e147abe3185c1934ba1458
a62bdba31dc65c03a2ae00d9842e1b0e45ef92c2
/TGUI/src/Widgets/MenuBar.cpp
f72e978fdb944a3f0692831b0fd93893553170e7
[ "Zlib" ]
permissive
StarikTenger/libraries
2dcec05924987f24caaa504e3b0ecf5953d4c347
28b6c4e012cdbb4fa790620bfb27a2a35610f4d4
refs/heads/master
2021-12-14T23:51:17.082531
2021-12-04T19:09:43
2021-12-04T19:09:43
186,280,405
0
1
null
2021-12-04T19:09:44
2019-05-12T16:50:29
C
UTF-8
C++
false
false
66,465
cpp
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2021 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
[ "71353456+Robby-the-paladin@users.noreply.github.com" ]
71353456+Robby-the-paladin@users.noreply.github.com
380d8e86550d816b054782ddb22aec609ab0cf6f
817cc371e2eb56f37c400b7f96d658d0683476b1
/202004_practice/Grand Prix of Wroclaw/H.cpp
2987c62ab05ffb1c6da5b002d9cd5046c81a8c01
[]
no_license
KanadeSiina/PracticeCode
c696495bd71395648ac62a41d0a41869f50c5eb4
146c8d5889eee7917a355feb8b03d1415a29ae9d
refs/heads/master
2020-09-05T00:49:29.165600
2020-06-30T12:48:15
2020-06-30T12:48:15
219,937,221
2
0
null
null
null
null
UTF-8
C++
false
false
1,721
cpp
#include<bits/stdc++.h> using namespace std; typedef vector<int> vi; typedef pair<int,int> pi; const int maxn=5e5+7; struct Edge{ int to,tp; }; vector<Edge> G[maxn]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int T; cin>>T; while(T--) { int n,m; ...
[ "lluozheyan@gmail.com" ]
lluozheyan@gmail.com
6add347293af50fc8ed65c654a2b0e41c28f71b0
a2111a80faf35749d74a533e123d9da9da108214
/raw/pmsb13/pmsb13-data-20130530/sources/jo3m1hxqqtlpeaer/2013-05-19T09-54-13.492+0200/sandbox/group2/apps/seqc/output.cpp
02e58d751725fa97c86697eaad186289fbf04d0d
[ "MIT" ]
permissive
bkahlert/seqan-research
f2c550d539f511825842a60f6b994c1f0a3934c2
21945be863855077eec7cbdb51c3450afcf560a3
refs/heads/master
2022-12-24T13:05:48.828734
2015-07-01T01:56:22
2015-07-01T01:56:22
21,610,669
1
0
null
null
null
null
UTF-8
C++
false
false
13,915
cpp
#include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/arg_parse.h> #include <string> #include <sstream> #include <iostream> #include <fstream> #include <map> #include "output.h" #include "read_stats.h" /* * Text constants for output */ // output filenames static const char * SEQC_READLENGTH_FILE ...
[ "mail@bkahlert.com" ]
mail@bkahlert.com
08089ad5d19fe211f1795098a4660c604eb4f640
d04a03e59e9914268187211221c3942899d860ab
/src/thirdparty/embree/kernels/common/scene_subdiv_mesh.cpp
f12013d3bb293e9fad2eb5d80ec3cdf1f4e8ad4a
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "Zlib", "BSD-3-Clause", "MIT", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "Unlicense", "LicenseRef-scancode-generic-cla" ]
permissive
01alchemist/tungsten
feb3a9e038471f447ee3a5ed82fe7db61bf437cb
787b1b3170c1bfa8a447b36d8e6f55e02540aad4
refs/heads/master
2021-01-25T06:36:26.068392
2017-08-05T03:09:20
2017-08-05T03:09:20
93,596,217
2
0
null
2017-08-05T03:09:20
2017-06-07T05:32:33
C++
UTF-8
C++
false
false
27,227
cpp
// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
[ "mail@noobody.org" ]
mail@noobody.org
d1c039f67c21262dee3070389d386627f0e11ba5
5831128a4b8a0debfdc00a365f79d25c2866d6cc
/Kattis/amoebas.cpp
8885b7ce9f74a8980036137dd1a7756829488b2a
[]
no_license
yameenjavaid/Online-Judge-Solutions
b577717d777075f618f84676f20f08c184248ac8
7d8ecc4ffb9a7bfddc0cd7d64646ef92ac8c0322
refs/heads/master
2022-12-24T12:00:20.187337
2020-10-13T19:56:17
2020-10-13T19:56:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
776
cpp
#include <bits/stdc++.h> using namespace std; // Sheba's Amoebas int n, m; char grid[103][103]; bool vis[103][103]; int adjR[8]{0, 0, 1, -1, 1, -1, 1, -1}; int adjC[8]{1, -1, 0, 0, 1, -1, -1, 1}; void dfs(int i, int j){ vis[i][j] = true; for(int k = 0; k < 8; k++){ int x = i + adjR[k], y = j + adjC[...
[ "mohsendb7008@gmail.com" ]
mohsendb7008@gmail.com
6e6abb54767cdcb503d4d431a4c109431928b47d
1a5e6f433871b30de884b451641d2929d03a89fc
/dogehouse.h
2c7a3ecacead4fe68b2efc53885714101a2c2194
[]
no_license
devsamuelv/dogehouse-cpp
fc63b16ed95b45398258b749614e355c152c032b
bd0039b57663331fddababc86fbc8f1848ea032a
refs/heads/main
2023-04-29T07:18:02.265952
2021-05-08T17:16:51
2021-05-08T17:16:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
113
h
namespace Dogehouse { class Bot { bool Connect(char *_username, char *_password) throw(char *) {} }; };
[ "realalloutmusic@gmail.com" ]
realalloutmusic@gmail.com
0988744bccf806977e6a63d802de596af49a681c
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/chromeos/network/network_profile_handler.h
b63d2daa484e3fd97b846273a1ba4e29f62d2c06
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
2,997
h
// Copyright (c) 2013 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 CHROMEOS_NETWORK_NETWORK_PROFILE_HANDLER_H_ #define CHROMEOS_NETWORK_NETWORK_PROFILE_HANDLER_H_ #include <set> #include <string> #include <ve...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
20457d28a2bcd26bee6f349d25c61a253b975ebe
7e90a1f8280618b97729d0b49b80c6814d0466e2
/workspace_pc/catkin_ws/devel_isolated/ar_track_alvar/include/ar_track_alvar/ParamsConfig.h
be7c82d4a42fd5782f8b22949c56766db0cae1ab
[]
no_license
IreneYIN7/Map-Tracer
91909f4649a8b65afed56ae3803f0c0602dd89ff
cbbe9acf067757116ec74c3aebdd672fd3df62ed
refs/heads/master
2022-04-02T09:53:15.650365
2019-12-19T07:31:31
2019-12-19T07:31:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,958
h
//#line 2 "/opt/ros/melodic/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template" // ********************************************************* // // File autogenerated for the ar_track_alvar package // by the dynamic_reconfigure package. // Please do not edit. // // ***************************************...
[ "sh9339@outlook.com" ]
sh9339@outlook.com
c5934b4f7563d1e87c4eee91aee0cdadafaf6923
a0bffbdbeeeef7873cfe63da3a0afef7ef326a2f
/MontyHall/MontyHall/Source.cpp
813bcbb55061bb1af7de0725bec4d81d251e8a7e
[]
no_license
18chiatt/BYUCSCORE
174036fec87d84dc627de3e9d16b492abefcf42b
2902a20d16a719d1cca537869f4facae9ad6e2ab
refs/heads/main
2023-02-20T18:26:59.306248
2021-01-28T20:08:20
2021-01-28T20:08:20
333,908,684
0
0
null
null
null
null
UTF-8
C++
false
false
2,093
cpp
#include<iostream> #include<random> #include<time.h> #include<vector> using namespace std; int chooseDoor(void); int guessDoor(void); int newGuess(int notThisDoor); int main() { int NUM_SIMULATIONS = 10000; int numAttemptsNoSwitch = 0; int numSuccessNoSwitch = 0; int numAttemptsWithSwitch = 0; i...
[ "chasehiatt@byu.edu" ]
chasehiatt@byu.edu
0de88f4ec27d2a8fbb6a881f8898122fd5d50b41
7d1a6300b666223919283bf11bb25ee7d4ef9623
/intro2class/Triangle.cpp
1ab8512e837e7dae714deb98718a03614a3d80fe
[]
no_license
idanmarciano/intro2class
e606eca6df5d9c1231cc7052a8903443fb51abd5
9e8c6df4d9805ec23b846dacfe7edf2afce735e5
refs/heads/master
2020-07-27T10:03:17.399865
2016-11-10T23:59:04
2016-11-10T23:59:04
73,431,739
0
0
null
null
null
null
UTF-8
C++
false
false
1,700
cpp
#include "Triangle.h" #include "Vertex.h" #include "Utilities.h" #include <cmath> //---------------------------------------------------------------------------- Triangle::Triangle(const Vertex vertices[3]) { if (CheckTriangle(vertices)) { n1 = vertices[0]; n2 = vertices[1]; n3 = vertices[2]; } else Triangl...
[ "idan@DESKTOP-H5N2EAL" ]
idan@DESKTOP-H5N2EAL
2f4797c8faf451e30bc85fbd45c7ccac5519f6b4
de8efb75c071a8b672420f0cf4e1b355a8915006
/knl_mkl_csr/error_checker.cpp
24896f64bec8978b9f66558d1a2e01e13ad21031
[]
no_license
sclc/spmv
eea47e39b3ef475bede6289241219764694c65f4
100190ac84e60292046744a6c9085aa014e834f3
refs/heads/master
2021-01-12T14:32:43.617507
2017-01-11T16:58:10
2017-01-11T16:58:10
72,005,657
2
1
null
null
null
null
UTF-8
C++
false
false
1,147
cpp
#include "error_checker.h" void spmv_coo(denseMat vec_result, cooMat mat, denseMat vec) { IDX_TYPE idx; assert(vec.global_num_row == mat.num_rows); assert(vec.global_num_col == 1); for (idx=0; idx< vec_result.global_num_row; idx++) { vec_result.data[idx] = 0.0; } for (idx=0; idx<mat.nnz; idx++) { vec_re...
[ "sclc@sclcs-MacBook-Pro.local" ]
sclc@sclcs-MacBook-Pro.local
4f521985f562531e87145157e7346649b959f02e
7f3abfeeddec4a552c1d1c61bf433098be8f8fe7
/UserUtils/MathUtils/src/Measurement_CommonDistro.cc
905740fc20c7d3f97051f2c6b8d58de20de340d3
[ "MIT" ]
permissive
yihui-lai/HGCalTileSim
a2b81f996faf7713c8f7fa57b974947e3335a3d5
9e4da5837e47d6522391a30461b54dce360f52cc
refs/heads/master
2022-06-08T22:10:00.770306
2021-06-10T21:35:26
2021-06-10T21:35:26
249,848,565
1
1
null
2020-03-25T00:23:42
2020-03-25T00:23:41
null
UTF-8
C++
false
false
2,851
cc
/** * @file * @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen) * @brief Implementing common measurement constructions */ #ifdef CMSSW_GIT_HASH #include "UserUtils/MathUtils/interface/Measurement/Arithmetic.hpp" #include "UserUtils/MathUtils/interface/Measurement/CommonDistro.hpp" #include "UserUtils/Mat...
[ "yihui.lai@cern.ch" ]
yihui.lai@cern.ch
14bec510f7d9cbeaadaf47bec05499ebc1a64771
4810365d4c281ee3656272189e822d9d14aff504
/Dll/FIDio/AttrDlg.cpp
2c6802da6659fe73dfa745430b4f1d1cfc946cba
[]
no_license
15831944/GeoReavealLogApp
869d67b036e7adfe865b0fb89b99c7f009049a6b
36be9c1d3fea4d55d5e69c8872c2eb1f2c88db8b
refs/heads/main
2023-03-08T13:28:04.334108
2021-02-19T03:59:21
2021-02-19T03:59:21
478,417,611
1
1
null
2022-04-06T05:37:08
2022-04-06T05:37:07
null
GB18030
C++
false
false
2,348
cpp
// AttrDlg.cpp : implementation file // #include "stdafx.h" #include "AttrDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CAttrDlg dialog CAttrDlg::CAttrDlg(CWnd* pParent /*=NULL*...
[ "bmwmsn123@icloud.com" ]
bmwmsn123@icloud.com
f55e7e3ea105d74b6f520bc1e52cca8ba3c65bd4
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_connect_socket_open_41.cpp
e1c3aa2bfbbfc6d2931d59247de1f84133474afa
[]
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
5,592
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_connect_socket_open_41.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-41.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: connect_socket Read data usin...
[ "yzhang0701@gmail.com" ]
yzhang0701@gmail.com
e2400682b159b51bba90dbd6cf2744a41748d573
94fc6e73ee06a1e416ba4c1eb5acd7506cd9f220
/L165.cpp
3dc9b504f7c440e34c07ab3274b9264f2a31683d
[]
no_license
lakerd/leetcode
d1b436f96683537dea368b52f17023f5743a45cf
ddb04fbd9bc9319a40f93618df21e3446a986378
refs/heads/master
2018-09-30T14:23:10.583425
2018-08-15T17:13:52
2018-08-15T17:13:52
103,848,471
0
0
null
null
null
null
UTF-8
C++
false
false
913
cpp
#include <bits/stdc++.h> using namespace std; class Solution { public: int compareVersion(string version1, string version2) { int i = 0; int j = 0; int len1 = version1.size(); int len2 = version2.size(); int n1 = 0; int n2 = 0; while (i < len1 || j < len2) ...
[ "l4k3rd@gmail.com" ]
l4k3rd@gmail.com
447f34a983f3a8f698fbb2e8421ff182ef2f823a
b6e36d75284458cee8d8d44fabe1b4319733f82e
/Source/CAG_AIR_INT1_Ax.cpp
df9dfecc3aae5cc6b41dd9bc8aaec9d78910f6de
[]
no_license
wirecam2023/APIGen
8365648ef1b8186aa5fbe3901d9e20acb3bd051f
edd631651421aa33a672d1ca82e831096cb0f2d2
refs/heads/master
2023-04-26T06:26:54.931521
2020-08-25T18:04:24
2020-08-25T18:04:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
774
cpp
// Static Model #include "stdafx.h" #include "apigen.h" #include "CAG_AIR_INT1_Ax.h" void CAG_AIR_INT1_Ax::checkDebug() { APIFlavor=AIRAx_API; } CAG_AIR_INT1_Ax::CAG_AIR_INT1_Ax() { } CAG_AIR_INT1_Ax::~CAG_AIR_INT1_Ax() { } void CAG_AIR_INT1_Ax::generateHeader(CStringArray* pcsaHeader, ...
[ "don.cannon.wa@gmail.com" ]
don.cannon.wa@gmail.com
127b520b17db73c340c9f482e5945b4e7ecd9874
cf455d62eeb4a1e4364b87067d0c9c9040242339
/PE_optimization/dataflow_behavior_test/test3_multi_input/src/vadd.cpp
4876c830896d93da389d6ef0a9c209fcb386c757
[]
no_license
WenqiJiang/SIGMOD-2022-submission-Fanns
fb3c33336197a9e732f901106166e9e3e1284fb7
36e947985c7f446b63821c3238f7785bca5241fb
refs/heads/main
2023-06-12T12:46:57.835530
2021-07-01T23:14:14
2021-07-01T23:14:14
381,019,262
3
0
null
null
null
null
UTF-8
C++
false
false
8,803
cpp
// This program: // 1. stora all the cell centroids coordinates on-chip // 2. given an input query, compute distance with those centroids // 3. select the top nprobe centroids using sorting network / heap // 4. access the cell codebooks stored in HBM, construct distance table #include "vadd.hpp" #define LOOP_...
[ "wejiang@r630-03.ethz.ch" ]
wejiang@r630-03.ethz.ch
ca6689f714b4fb8e246c43a37407696987c45f5f
1d7636df220e38c8e2544cc79399211385fcf316
/sujak/jgraphics/jglTableAttributeBufferInstance.hpp
396d781c997ea341b51a63ecc4f5af31033a9f1d
[]
no_license
ingun37/sujak
d75d3a950973f602ab60c0fe0b78d972ff01de32
db7104c9339519fe9fcdba18d369e14f5fa41f63
refs/heads/master
2021-01-19T12:16:48.993430
2020-02-20T14:01:31
2020-02-20T14:01:31
69,942,232
0
0
null
null
null
null
UTF-8
C++
false
false
518
hpp
// // jglTableAttributeBufferInstance.hpp // sujak // // Created by Ingun Jon on 26/10/2016. // // #ifndef jglTableAttributeBufferInstance_hpp #define jglTableAttributeBufferInstance_hpp #include "jglTableAttributeBuffer.hpp" class jglTableAttributeBufferInstance : jglTableAttributeBuffer { protected: virtual...
[ "ingunjon@Ingun-ui-iMac.local" ]
ingunjon@Ingun-ui-iMac.local
adaffdce4353a303635dfa31bd5b92be060c7907
674f269f6ca90298d22452d24656cedb45f1fc95
/gazebo/sensors/ForceTorqueSensor.hh
984f592734f9e4675137de986e5cbdfa7c9044ff
[ "Apache-2.0" ]
permissive
mingfeisun/gazebo
f4187a5214cafd3fab6921e3cc62f4dadddf14ea
f3eae789c738f040b8fb27c2dc16dc4c06f2495c
refs/heads/master
2021-07-07T05:19:48.545813
2019-01-11T12:35:31
2019-01-11T12:35:31
132,331,071
3
0
null
null
null
null
UTF-8
C++
false
false
3,355
hh
/* * Copyright (C) 2012 Open Source Robotics Foundation * * 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 appl...
[ "mingfei.sun.hk@gmail.com" ]
mingfei.sun.hk@gmail.com
51c27d59e1199ebd183ed5bf33233a0705c4a977
79885d0009a90e3ba46b1a1a23a8b7f3272899f3
/tvlm/tvlm.h
c71a09d30269f15e13ac1a6f5fbc0f53ab23cfc4
[]
no_license
ivosu/tvlm
82832a02bf090be7fa1dbd76bd2f69a3b51e07b0
c12e4268d4c4d4b6ac248a7026f9a8249ed07e67
refs/heads/main
2023-08-27T13:24:14.304079
2021-10-27T12:36:00
2021-10-27T12:36:00
422,981,919
0
0
null
2021-10-30T20:16:26
2021-10-30T20:16:26
null
UTF-8
C++
false
false
224
h
#pragma once #include "il.h" namespace tvlm { class Tvlm { public: using IL = Program; void optimize(IL & il) { // TODO } }; // tvlm } // namespace tvlm
[ "zduka@outlook.com" ]
zduka@outlook.com
ae6af549366fed4357c0acbabe01b20451ea8ddd
b6f20766a880e04cc5d764aeade1fadab74df0bd
/cop3530-data-structures/COP_3530_2016F_liu/DList.cpp
2abd2b5736f2a9ea3b867f3b628c5a0e16f56b6e
[ "MIT" ]
permissive
chrisbcarl/FAU-Computer-Science
0cf53b5c8bcc3e8b9f0defcbf24469460b8ce19e
98e247bda17bad97a285c01bf2b36af07d9f4239
refs/heads/master
2021-05-11T03:01:22.475340
2019-06-30T23:22:12
2019-06-30T23:22:12
117,902,425
0
0
null
null
null
null
UTF-8
C++
false
false
1,628
cpp
#include <iostream> using namespace std; class Item { public: int val; Item *next, *pre; Item() { val =0; next=0; pre=0; } Item(int val) { this->val = val; next=0; pre=0; } }; class DLinkedList { int size...
[ "chrisbcarl@outlook.com" ]
chrisbcarl@outlook.com
5a26645b6d6be9067c468dfd581037bc9c304042
2d1b93650cc582ad5c911d001984cbc51b1ec4c6
/ex2/exception.h
471931760c3583fde2bd745b85d37f36f189f325
[]
no_license
jcst0/calculator
56bbefc460383abff44d3fbdb69351fa559a23bc
5b1b66747e80a9d732b562c21f8a4480da484e52
refs/heads/master
2020-07-03T18:52:30.609693
2019-08-12T21:26:54
2019-08-12T21:26:54
202,011,435
0
0
null
null
null
null
UTF-8
C++
false
false
272
h
#pragma once /* * COMP3109 Calculator Exercise * * Exception Class */ #include <exception> /* * exception for reporting illegal states */ class calc_exception: public std::exception { public: virtual const char* what() const throw() { return "error"; } };
[ "joseph@192-168-1-119.tpgi.com.au" ]
joseph@192-168-1-119.tpgi.com.au
2bdf5859f8acf78c1bbea27b9ac67a68b2191037
594d81b53a14989b1c82328371166e246dc1f4a6
/FrameWalk_3/FrameWalk/sources/World/IWorld.h
e92e6292caf10b032efccb8587d26c6fdbcddd01
[]
no_license
TomoyukiYajima/team_08_project
6250c22f432b51e1ae79da500c0003c18b929590
21881c255f7ada9f282d37e83c9b4292f6710085
refs/heads/master
2020-03-09T22:27:55.121594
2018-04-13T01:39:39
2018-04-13T01:39:39
129,034,736
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,345
h
#ifndef IWORLD_H_ #define IWORLD_H_ #include "../Actor/Base/ActorPtr.h" #include "../Field/FieldPtr.h" #include <string> #include <forward_list> enum class ActorGroup; enum class EventMessage; // ワールド抽象インターフェース class IWorld { public: // 仮想デストラクタ virtual ~IWorld() {} // アクターの追加 virtual void addActor(ActorGroup gr...
[ "shimmerofhotair@softbank.ne.jp" ]
shimmerofhotair@softbank.ne.jp
1ac137d0bd8f1c81baee6e6ae7964db696abfba5
efe1928f5f3a38e37e6127c38f3ddab4f3953b41
/src/nnfusion/frontend/tensorflow_import/ops/const.hpp
732c57b971de129510c8eea300215d7f144b878d
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
xiezhq-hermann/nnfusion
8cdf0b6d03b6a43a781caa061e0b7b3e4caed45e
1b2c23b0732bee295e37b990811719e0c4c6e993
refs/heads/osdi20_artifact
2023-01-19T06:25:09.755500
2020-09-05T09:49:54
2020-09-05T09:49:54
293,049,048
0
0
MIT
2020-09-23T07:43:08
2020-09-05T10:01:08
null
UTF-8
C++
false
false
594
hpp
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "../tensorflow_base.hpp" #include "../util/util.hpp" namespace nnfusion { namespace frontend { namespace tensorflow_import { NamedNodeVector TranslateConstOp(const tensorflow::NodeDef&...
[ "Wenxiang.Hu@microsoft.com" ]
Wenxiang.Hu@microsoft.com
7836937f477981cf5a18278a6596e2dab8d617bb
4573175edcc7f34972bc24618382465a6b9afb18
/src/graph.cpp
5baab1ee0392b6626897f4e5793d70e27b10c55b
[ "MIT" ]
permissive
guptashark/graph_theory_bondy_murty
0b1e037b84d8a944549c601803096186884edfde
1c4a93e2d9c6452e08a92e8aaf52a4bf013583c3
refs/heads/master
2023-08-02T20:40:45.255449
2021-10-02T04:53:01
2021-10-02T04:53:01
411,913,133
0
0
null
null
null
null
UTF-8
C++
false
false
2,012
cpp
#include "graph.hpp" #include <algorithm> #include <vector> #include <iostream> using std::none_of; using std::for_each; using std::sort; using std::adjacent_find; using std::mem_fn; using std::vector; bool Graph::add_vertex(char v) { if (auto [it, success] = vertices.insert(v); success) { for (auto &row : adj...
[ "guptashark@protonmail.com" ]
guptashark@protonmail.com
cea32357c8d8b95e3901281ae028501e037c5a3a
adefab1f540aee6a245b250ea660faa618513431
/dbms/src/Core/tests/exception.cpp
40f0ebd1224fd73b3224eac8e3f170f27fc49659
[ "Apache-2.0" ]
permissive
SevaCode/ClickHouse
23b6ba4f3ae9ed62807dcdd8e5d3bae68c8e038b
08cb8e506b49aef6ae2086be8947f728450c4d73
refs/heads/master
2020-06-14T15:16:59.282376
2016-11-29T19:28:50
2016-11-29T19:28:50
75,167,027
0
0
NOASSERTION
2019-03-14T09:46:11
2016-11-30T08:29:42
C++
UTF-8
C++
false
false
437
cpp
#include <iostream> #include <Poco/Net/NetException.h> #include <DB/Common/Exception.h> int main(int argc, char ** argv) { try { //throw Poco::Net::ConnectionRefusedException(); throw DB::Exception(Poco::Net::ConnectionRefusedException()); } catch (const DB::Exception & e) { std::cerr << e.displayText() ...
[ "milovidov@yandex-team.ru" ]
milovidov@yandex-team.ru
53bdb08ae192dd29cd408c246a572c79194cfc22
5710c8db31aba1fd77b5e5fc1391665460045d96
/14500(Brute).cpp
48c8717b63826a38092fd5353052f5796d84a24a
[]
no_license
wlgusdn/AlgorithmPractice
493edfa255aa57fcbbcee3ce0982c793b0170c61
151f82c9b7857a662b4101f5f4a6ee9b8269f01f
refs/heads/master
2022-04-19T17:14:07.251393
2020-04-13T11:06:27
2020-04-13T11:06:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,966
cpp
#include<stdio.h> #include<iostream> #include<algorithm> using namespace std; int N, M; int arr[501][501]; int res, temp, cnt; int xx[4] = { 0,0,1,-1 }; int yy[4] = { -1,1,0,0 }; int visit[501][501]; void dfs(int, int, int, int); void fuck(int, int); void brute() { for (int i = 0; i < N; i++) {...
[ "noreply@github.com" ]
wlgusdn.noreply@github.com
2de405a5d5315c25f48ceb55cbc2cf158f9a5b14
34d0de5e21ddd4442c33e703e9798e21c08245e3
/DEV LeetCodes/561 Array Partition I.cpp
d4ae7391b41f372d9f4269ee72f1e582095cb7eb
[]
no_license
zhyuX/coding-practice
ff97bf1372fe1a5d6f457ee301cd43800aaa777f
a1018fc4f6080efd5986ad9e0f6997e3f44a5c37
refs/heads/master
2020-04-15T17:23:08.768867
2019-01-09T14:01:17
2019-01-09T14:01:17
164,872,276
0
0
null
null
null
null
UTF-8
C++
false
false
864
cpp
// Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of min(ai, bi) for all i from 1 to n as large as possible. // Example 1: // Input: [1,4,3,2] // Output: 4 // Explanation: n is 2, and the maximum sum of pairs is ...
[ "noreply@github.com" ]
zhyuX.noreply@github.com
19492c7e10d788f39b7bced18e197be1b497d95f
821f48007f71be80e7e711e2daf5d647f9b77ef8
/MMDAgent-1.7/Library_MMDFiles/src/lib/PMDTextureLoader.cpp
7d65fc12c09466fd2ba22a80a02838c69c26cb58
[ "BSD-3-Clause" ]
permissive
AtsuSea/C2
0b2e9bcaaac01e2480a0ac85a511fb448128ee21
099de4ad288fbaaa5aa0f13f2d81cbdba99e2870
refs/heads/master
2020-03-31T18:57:41.954955
2018-10-10T19:50:11
2018-10-10T19:50:11
152,479,906
0
0
null
null
null
null
UTF-8
C++
false
false
6,085
cpp
/* ----------------------------------------------------------------- */ /* The Toolkit for Building Voice Interaction Systems */ /* "MMDAgent" developed by MMDAgent Project Team */ /* http://www.mmdagent.jp/ */ /* -----------------------------...
[ "dr.owl.atsu@gmail.com" ]
dr.owl.atsu@gmail.com
94dce5e126373274f0f509520c2f88d8fc1fbcef
4bdcb725873fce86db2289cdeed0a2723e2a3d8b
/Game.cpp
46c63ff3146c032b2ffb7086f3323d3b63eba82d
[]
no_license
TheSkiDY/Flippy-Bird
16b5fe534f1f35b0007490e9af83eef56e8b4dfa
2453ef5e3cce1d429da1eb4ffe65a57d7a3e654c
refs/heads/main
2023-03-29T07:16:54.875850
2021-04-12T15:48:29
2021-04-12T15:48:29
357,246,466
0
0
null
null
null
null
UTF-8
C++
false
false
8,089
cpp
#include "Game.h" Game::Game() : graphics(WIDTH, HEIGHT, "Flippy Bird", 5, "bird.png", "background.png", "jump.wav", "point.wav", "hit.wav", "font.ttf"), bird(graphics.GetWindowWidth() / 2.0f, graphics.GetWindowHeight() / 2.0f, graphics.GetWindowWidth() / 15.0f, graphics.GetWindowHeight() / 15.0f) { distanceB...
[ "noreply@github.com" ]
TheSkiDY.noreply@github.com
0fb222a14ceaecb3fab46e161ef10d1ab705185f
5d1a033cf72f630688da2b8de788d1cebf6339e6
/Source/WTF/wtf/ParallelHelperPool.h
f1d2c13373d333d6df106306eb9e6a58fd5c482b
[]
no_license
jaokim/odyssey
e2115123f75df185fcda87452f455f25907b0c79
5ee0f826dd3502f04e077b3df59e3d855c7afd0c
refs/heads/kas1e_branch
2022-11-07T17:48:02.860664
2017-04-05T20:43:43
2017-04-05T20:43:43
55,713,581
2
1
null
2022-10-28T23:56:32
2016-04-07T17:17:09
C++
UTF-8
C++
false
false
8,984
h
/* * Copyright (C) 2015 Apple Inc. 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 retain the above copyright * notice, this list of conditions a...
[ "deadwood@wp.pl" ]
deadwood@wp.pl
3a3e3be31901784d9d7f65086f474840bba2bd95
b7cf9f79c5f7ea61693f0ce822daac9c0811e41f
/acm/codeup/1910.cpp
f3fe59d998a50d236453cb9f6b53f0ff2eb907fd
[]
no_license
saber110/C_review
8deb7f3ba08b49d9e2f3d14f3921b5c07240ff2e
6c80302ad2fd7fccf04b69441eda84d5df8c9559
refs/heads/master
2020-07-16T15:38:44.034361
2019-04-04T07:35:27
2019-04-04T07:35:27
73,944,762
0
0
null
null
null
null
WINDOWS-1258
C++
false
false
1,930
cpp
#include<iostream> #include<string> #include<cstdlib> using namespace std; typedef struct Node { struct Node * lchild; struct Node * rchild; char ch; } node, *BTree; node * createNode(char ch) { node *p = new node(); p->lchild = p->rchild = NULL; p->ch = ch; return p; } void createBTree(BTree &root, string st...
[ "15675123342@163.com" ]
15675123342@163.com
5e92b6f04b9df7430e26829aba458fe8a63ec7f0
a88750ab34c33c8a00a7d653205c15fd429aac94
/src/winapi/common.h
81d2c68932a93904531ad3631c06a459956989d9
[ "MIT" ]
permissive
FromHDDtoSSD/SorachanCoin-qt
8ccb4b1341b0e8228f93e101b75f741b99d49de0
9dff8dccd71518eea9a1ff80671cccf31915ca09
refs/heads/master
2022-09-08T01:14:20.838440
2022-08-27T16:39:36
2022-08-27T16:39:36
144,701,661
9
3
null
null
null
null
UTF-8
C++
false
false
2,749
h
// Copyright (c) 2018-2021 The SorachanCoin Developers // Copyright (c) 2018-2021 The Sora neko Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SORACHANCOIN_COMMON_H #define SORACHANCOIN_COMMON_H #ifdef WI...
[ "42310034+FromHDDtoSSD@users.noreply.github.com" ]
42310034+FromHDDtoSSD@users.noreply.github.com
e3c5b65f1b9d593cec05e8dd3e3678e08d256ac9
ce2c1edaa1ea136c19f909515be93b62f59e4551
/Source/ProjectA/Widgets/Equipment/Widget_EquipmentSlot.h
051e5169ef51935be40dd42f031129df22ef17c9
[]
no_license
DybBug/-UE4-ProjectA
48d19340310313544e29ba5dda9a7fadde3c1342
91a6fa9d2ea504bf80c3cde3bdb78a44915d8e31
refs/heads/master
2020-03-27T23:07:22.719898
2019-01-07T09:29:29
2019-01-07T09:29:29
147,292,727
2
1
null
null
null
null
UTF-8
C++
false
false
2,941
h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Blueprint/UserWidget.h" #include "ProjectA_Enums.h" #include "Widget_EquipmentSlot.generated.h" /** * */ class UBorder; class UImage; class UWidget_Detail; class UComponent_Equipment; cla...
[ "36883951+DybBug@users.noreply.github.com" ]
36883951+DybBug@users.noreply.github.com
2cab4b70491b1947afec8f8d2a2a839cc99f961b
4ada7a42207e9fe47d7f714f5d5f8d202141eabb
/20170410/2.cc
7476edb3496a2dae9671530b898a2b71d8ce7c62
[]
no_license
Xzzzh/cpplearn
2b2d64d3f667c206b9d98e894cf4910f2eb0a901
ff601086074817478a737f1f7d9ca3725ef4d83b
refs/heads/master
2021-01-19T10:05:05.372192
2017-05-16T08:47:26
2017-05-16T08:47:26
87,823,690
0
0
null
null
null
null
UTF-8
C++
false
false
272
cc
/// /// @file 2.cc /// @author lemon(sjzxzh@yeah.net) /// @date 2017-04-10 15:24:01 /// #include <iostream> using std::cout; using std::endl; int & func() { int x = 4; return x; } int main() { func(); cout << "func() = " << func() << endl; return 0; }
[ "sjzxzh@yeah.net" ]
sjzxzh@yeah.net
f799857b976694a2481b71d81d25b52c2dd3298f
6bca781fd0ed49f083f2896686a7f806f68cc6e8
/include/DoublyLinkedList.hpp
ad412943a36d44600294951f998cbbdd60b5572b
[]
no_license
nkgautam94/DataStructures-Algorithms
eea99607ffb7ce5278918183eda59877cbe39780
d63fbc98dedfbc1e256ffbc9ac0c135c839311e1
refs/heads/master
2021-05-17T07:13:21.779099
2020-07-21T21:32:02
2020-07-21T21:32:02
250,691,418
0
0
null
null
null
null
UTF-8
C++
false
false
2,709
hpp
#pragma once #include "LinkedList.hpp" class DoublyLinkedList { private: protected: class Node { private: int _data_{int()}; Node *_next_{nullptr}; Node *_prev_{nullptr}; public: Node(){} Node(int _data_value_):_data_(_data_value_){} ~Node(){} int...
[ "nikhilgautam94@gmail.com" ]
nikhilgautam94@gmail.com
3e6e44338218d9f37879d3d09552d3babaab28cd
084006eb442b60b82b3d85d61a3b53d21c5c8855
/shared/util/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp
ed6081f38b747290a39084f9bbbaa7c1dde72fe7
[ "XFree86-1.1", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
SethRobinson/proton
7aadcb38bc676c136dce01b8f6773fd75fa33d55
6b1474e75a2acf48d848c70fcb043ce8223001a9
refs/heads/master
2023-08-31T11:04:21.575522
2023-08-29T07:44:50
2023-08-29T07:44:50
142,253,855
81
31
NOASSERTION
2023-08-07T22:02:41
2018-07-25T05:55:38
C++
UTF-8
C++
false
false
3,704
hpp
#ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_STD_ATOMIC_HPP_INCLUDED #define BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_STD_ATOMIC_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // detail/sp_counted_base_std_atomic.hpp - C++11 std...
[ "seth@rtsoft.com" ]
seth@rtsoft.com
689cd60991685f31405b8435996a3809526969fe
063c0493c423272bec0896170d72338b89ff5cb5
/example/NEW_piso/85/p
fecd2504d1432bc771a2223c7b7ad3544d2855bf
[]
no_license
magnushaese/rk4projectionFoam
2d3533ecc0cfe4f984545ae23083a0907ae9c362
dc6a7447c7f554234810e1411e1630ad9c3bd416
refs/heads/master
2022-12-12T20:25:18.691802
2022-11-22T13:55:59
2022-11-22T13:55:59
210,851,257
2
1
null
null
null
null
UTF-8
C++
false
false
453,236
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | ...
[ "magnus.haese@protonmail.com" ]
magnus.haese@protonmail.com
625487979d784417be5b8e5a77d8e01470012e4d
59d26f54e985df3a0df505827b25da0c5ff586e8
/0. Vision 2019/_10. October/accepted/uva_11614 - Etruscan Warriors Never Play Chess_AC.cpp
f40bf37222a604f942fd577e6a1484f35d3e535b
[]
no_license
minhaz1217/My-C-Journey
820f7b284e221eff2595611b2e86dc9e32f90278
3c8d998ede172e9855dc6bd02cb468d744a9cad6
refs/heads/master
2022-12-06T06:12:30.823678
2022-11-27T12:09:03
2022-11-27T12:09:03
160,788,252
2
1
null
null
null
null
UTF-8
C++
false
false
1,068
cpp
/* Minhazul Hayat Khan minhaz1217.github.io Website: www.minhazul.com EWU, Bangladesh Problem Name: Problem Link: https://uva.onlinejudge.org/external/116/11614.pdf Date : 20 / October / 2019 Comment: can be solved using binary search also. */ #include<bits/stdc++.h> //#include<iostream> using namespace std; #define DE...
[ "minhaz1217@users.noreply.github.com" ]
minhaz1217@users.noreply.github.com
c36fc8e25226a9785aa312911779cae2e872cdd2
8e3df0c3136191bc937caabd76df1127a38eda59
/Estructuras/ABB/abb.cpp
e27547ffeb0329f9d389d90e2051a2ddc5a2f5d6
[]
no_license
fede183/Facultad
75b4d3e4142494ff62c66102794a299f09232681
c7751dc9f621193b64120f82f9db7643873ad2a5
refs/heads/master
2021-06-07T20:48:46.137359
2021-05-15T12:40:10
2021-05-15T12:40:10
146,651,867
0
0
null
2020-10-14T00:37:07
2018-08-29T20:03:02
Java
UTF-8
C++
false
false
365
cpp
#include <iostream> #include "Conjunto.hpp" #include "mini_test.h" void si_no_lo_agrego_no_pertenece() { Conjunto<char> c; ASSERT( !c.pertenece('a') ); } void insertar_inserta() { Conjunto<int> c; c.insertar(42); ASSERT( c.pertenece(42) ); } int main() { RUN_TEST(si_no_lo_agrego_no_pertenece); ...
[ "fede.183@hotmail.com" ]
fede.183@hotmail.com
e38e5f03d4eaeaf79f981c0c2502c35d5bfeac59
e1402bc56b5eba90bcdd956a04f5571d89a7d100
/ioi-thailand/mar/o57_mar_c2_pattern boyer moore.cpp
c5a668ff247d811fa95739377f247a6f7ceb68a7
[]
no_license
markverick/ioi-training
5dc9248ad394de0272abafb54d52d90c5073fb27
57a15aa332a908b6044a8cb90b3c0b660ff13ae4
refs/heads/master
2018-12-13T01:28:01.326534
2018-10-23T18:26:04
2018-10-23T18:26:04
148,653,348
0
0
null
null
null
null
UTF-8
C++
false
false
855
cpp
#include<bits/stdc++.h> using namespace std; char s[100135],t[100135]; int pi[100135]; int hsh[500]; int main() { int n,q,i,j,k,len,cot=0; scanf("%d %d",&n,&q); scanf("%s",t); while(q--) { scanf("%d %s",&len,s); for(i='a';i<='z';i++) hsh[i]=-1; for(...
[ "sirapop741@gmail.com" ]
sirapop741@gmail.com
37d25326ee2c7ea9465eee66f8a16b5fce97aeaa
a5a7a84212409e8a48447c74f5aae61a42e7cafb
/Server/tcpClient.cpp
eac61784fe33ec804f69b6aa306e6fdff2d83bd6
[]
no_license
spplus/AttendGate
331719ea31a73525105c02f6d6218f087143ea32
aea9f217df196b5e601ea8564d55d7ee24ee9024
refs/heads/master
2021-08-31T16:35:19.113337
2017-12-22T03:25:51
2017-12-22T03:25:51
110,660,290
0
0
null
null
null
null
UTF-8
C++
false
false
540
cpp
 #include "recvTask.h" #include "tcpClient.h" bool TcpClient::connect(ACE_INET_Addr svrAddr) { m_srvaddr = svrAddr; return connect(); } bool TcpClient::connect() { ScadaHandler* pc = &m_handler; return m_connector.connect(pc,m_srvaddr) == -1?false:true; } void TcpClient::close() { m_handler.close(); } int Tcp...
[ "yleesun@163.com" ]
yleesun@163.com
fadd70b423fa1342452c27fca26d88664907ec74
6ed73709032e05692a705c0a1f6ab492535c066d
/Arduino/RoboLeg_SkatingMode/Controller.ino
8fe9dc7d556d16a809b4c6dbeebefc05bd82092e
[]
no_license
izzys/Roboleg
e375845617a89a2b81e6f7441fd40592cdd0149e
36a5ea6060ddda7a57f7718dd2fd99b35922f642
refs/heads/master
2021-01-16T19:14:18.882103
2015-11-30T11:19:34
2015-11-30T11:19:34
39,431,624
0
0
null
2015-07-23T05:39:38
2015-07-21T07:46:41
C++
UTF-8
C++
false
false
6,873
ino
/* Controller.h - Library for Controlling RoboLeg. Created by Israel Schallheim, 10.2.15. Last edited: 11.2.15 */ #include "Arduino.h" #include "Controller.h" #include <stlport.h> #include <Eigen30.h> using namespace Eigen; #define PI 3.14159265359 #define REF_BLOCK_LENGTH 20 Controller::Controller...
[ "izzy.schall@gmail.com" ]
izzy.schall@gmail.com
f788605da70554fa3b157b73b86d8acd82e7918e
12cad4c5cc7fedafd8ea4d895d3f7c22edde811d
/HelloWorld.cpp
041455387ff275abc5b5e64328cfc3338fc7d1cc
[ "MIT" ]
permissive
abecker99/HelloWorld1
9c2b35bfffe00dc85d5b1d0763e3995ac8062af7
493c82987acf87ff77cf342b72137d0a471bcdeb
refs/heads/main
2023-02-12T21:47:40.895113
2021-01-22T14:45:59
2021-01-22T14:45:59
331,963,753
0
0
null
null
null
null
UTF-8
C++
false
false
84
cpp
#include <iostream> int main() { std::cout << "Hello, World!"; return 0; }
[ "abecker@gus.pittstate.edu" ]
abecker@gus.pittstate.edu
d121337b699c95b80805d34ae89d22416b26bd25
a6a8538a362a1c50e1aad22869dff4612e0e5417
/qt/src/gui/painting/qbrush.h
69c7cc0e34f7172ac44c227dc0ecd743a46a89ce
[]
no_license
victusfate/nvpr_demo
da4d34a04a93799cf056ad8abf20cf5f24f6afef
f6c6ec9bf133b28f22f4cdc851465c6cf7ed69fd
refs/heads/master
2021-01-09T21:58:24.962794
2013-02-24T19:37:33
2013-02-24T19:37:33
8,395,367
0
1
null
null
null
null
UTF-8
C++
false
false
9,534
h
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial Usage...
[ "messel@gmail.com" ]
messel@gmail.com
2a360529edad0c2a7ed8cfe95fbd0324871b5f74
28d449b40da996f2d57f413a44cda83223f4c9b7
/hash.cpp
1baf084b1be555e7dd5e4c0b4c5f41e7eccdfe3a
[]
no_license
SSYernar/algos
238bd76921220c443ed6388e54d73826ee4ac4d8
fe74004545a29504f9427ecac6dd488ba107d95c
refs/heads/main
2023-07-19T21:23:34.179956
2021-09-09T16:30:51
2021-09-09T16:30:51
351,768,103
0
0
null
null
null
null
UTF-8
C++
false
false
5,543
cpp
// #pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math,O3") // #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #include "bits/stdc++.h" // #include <ext/rope> // #include <ext/pb_ds/assoc_container.hpp> // #include <ext/pb_ds/tree_policy.hpp> using namespace ...
[ "noreply@github.com" ]
SSYernar.noreply@github.com
784eeee707910c86c2e5c83ae643268f040484c9
a2aefc3d497dee9770940fac9a678824ac1042bb
/Shallow_H0p002/constant/polyMesh/boundary
c3f1d9fb045ba043b91bfe1aabf34911bedaed08
[]
no_license
christianwindt/ShallowWaterIMPSRC
8c5fe23ab63cd567d543c3051ad119db7d8d1251
673a4e52f1881f09c9fa87a2fd54527c97a4f0a1
refs/heads/master
2021-10-20T14:44:15.664068
2019-02-28T10:09:10
2019-02-28T10:09:10
170,287,208
0
0
null
null
null
null
UTF-8
C++
false
false
1,336
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | ...
[ "christian.windt.2017@mumail.ie" ]
christian.windt.2017@mumail.ie
963c4edbc57081dc7fcc6c42be72d7df1d289621
7c32087e881a18a49e3f8aef5cafa681850b8ab2
/src/rpcdump.cpp
c48502e7afc09fc71060de8543af4575851a278b
[ "MIT" ]
permissive
vashshawn/CopperBars
7c4980784747857495e0db28e1b3658a81f89396
96f0f4704ab71a02f3c08992ab288c44dfbd4548
refs/heads/master
2021-05-03T19:38:24.935078
2014-05-05T14:44:32
2014-05-05T14:44:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,114
cpp
// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #include "base58.h" #include <boost/lexica...
[ "maelstrom9987@gmail.com" ]
maelstrom9987@gmail.com
d844d354fb2728f19e151f60d1b344b9156589c5
7ed75a131537e29973d9299af920dab093e06f1f
/include/sbl/gui/ImageSeqViewer.h
e7c391feb5889601079a62bfaaee581e9dcdf9a1
[ "MIT" ]
permissive
petersand/simple-base-lib
b47dc53f6ba8578514f5b50dc2626aa16983c6c3
a290c27d5f784928abbb9fe7fcb613efadc0a47b
refs/heads/master
2023-08-30T21:24:01.343684
2023-08-20T17:37:13
2023-08-20T17:45:11
49,976,027
1
5
MIT
2023-08-20T17:45:12
2016-01-19T19:07:26
C++
UTF-8
C++
false
false
2,389
h
#ifndef _SBL_IMAGE_SEQ_VIEWER_H_ #define _SBL_IMAGE_SEQ_VIEWER_H_ #include <sbl/gui/ImageViewer.h> #include <sbl/image/Image.h> namespace sbl { // register commands, etc. defined in this module void initImageSeqViewer(); /// The ImageSeqViewer provides a user interface for viewing a sequence of images. /// The view...
[ "petersand123@yahoo.com" ]
petersand123@yahoo.com
902867cc689053c207e12dbff90aac06467bd1d5
35cd9b31b72055eaec45965f5ca5cfd1db8366f0
/179_LargestNumber.cpp
189547a355b2f67f42e405fe99080cd330271401
[]
no_license
ZhengweiLi/_LeetCode
f15ba4b0bf3bb2b3a3b0fd5f102cb1c8637df013
e6fe66299b81275caa003413be49a13becbe7db8
refs/heads/master
2020-12-05T16:19:26.433445
2020-04-07T16:45:11
2020-04-07T16:45:11
232,170,332
0
0
null
null
null
null
UTF-8
C++
false
false
666
cpp
/* Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Input: [10,2] Output: "210" Example 2: Input: [3,30,34,5,9] Output: "9534330" Note: The result may be very large, so you need to return a string instead of an integer. */ class Solution { public: string larg...
[ "36528754+ZhengweiLi1994@users.noreply.github.com" ]
36528754+ZhengweiLi1994@users.noreply.github.com
9a3e7d0c58f3a2890890a5f8ed231190534935b5
9ddcc7147e0db813a20ade2d276dd6f3e5517673
/src/gstd/windows/common_linux.cpp
43709b6eade8f92d3ab1f86e3441aac582e4e37a
[]
no_license
yong422/reference
edac6f600c17e6ac43474fab6464e4e1c7f5def0
db1ee315cb53b71606a6acfcfce559eb8a2ffd83
refs/heads/master
2020-08-07T15:39:32.826538
2019-11-28T02:54:50
2019-11-28T02:54:50
213,510,332
0
0
null
2019-11-28T02:54:51
2019-10-08T00:10:09
C++
UTF-8
C++
false
false
1,845
cpp
#include "gstd/windows/common_linux.h" #include <Windows.h> #if defined(_MSC_VER) || defined(_MSC_EXTENSIONS) #define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64 #else #define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL #endif // timezone 1회설정을 위한 전역 플래그 static bool g_tz_flag = false; // 리눅스의 gettimeofday 함수...
[ "ykjo@gabia.com" ]
ykjo@gabia.com
662591d2b81a6c358f2b92648faed6ef61ee40cf
13e101d76adfdb82fffacb2ccb218a2d39e7eb40
/obj/Release/addons/ofxGestures/ofxGestures.cpp
579d4092d829c8b5a743d5768adcc00c1a095b2a
[]
no_license
denisidoro/wacom2Tuio
6b9b23fef1e9a21d4717e80e514b7e121cd7acca
7837635ee5d101bf6edf87d72958c4fc02b5803b
refs/heads/master
2020-05-29T21:09:10.086549
2015-03-01T14:35:37
2015-03-01T14:35:37
31,430,630
3
0
null
null
null
null
UTF-8
C++
false
false
4,035
cpp
// // ofxGestures.cpp // // Created by Tal Lavi on 10/21/14. // // #include "ofxGestures.h" double rad2deg(double rad) { return rad*180/3.1415; } ofxGestures::ofxGestures(): m_isPanning(false), m_isPinching(false) { ofAddListener(ofEvents().touchDown, this, &ofxGestures::touchDown); ofAddListener(ofEvent...
[ "denis.isidoro-de-franca@student.ecp.fr" ]
denis.isidoro-de-franca@student.ecp.fr
d1af7c1ec5e9f277beb5952fc99ddc76341af157
e08a74a106f39d35f8e4b7e8f00bb3579a6bb055
/cs562_markel.p_final/framework/mesh.h
9f7fb145edd0037d394b25f528fd8a06b2070085
[]
no_license
martxelo94/GeometryClipmaps
943425d1682a86431384c12ac578d44457c29503
44942ccb7a611b0f23e3f8247c398e617d4aa83c
refs/heads/main
2023-03-22T07:01:37.193276
2021-03-13T12:46:10
2021-03-13T12:46:10
347,366,623
0
0
null
null
null
null
UTF-8
C++
false
false
4,917
h
/* --------------------------------------------------------------------------------------------------------- Copyright (C) 2019 Markel Pisano's Technology. Reproduction or disclosure of this file or its contents without the prior written consent of Markel Pisano Berrojalbiz is prohibited. File Name: mesh.h Purpose: def...
[ "martxelo94@gmail.com" ]
martxelo94@gmail.com
7c1ad0828abccfcafb71e8fb5bca0f1e23736bfe
04b1803adb6653ecb7cb827c4f4aa616afacf629
/tools/json_schema_compiler/test/arrays_unittest.cc
cc76e027ea72ebf84d105a9c28f96e3b818cd7fc
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "APSL-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown", "MIT", "Zlib" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
10,445
cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/json_schema_compiler/test/arrays.h" #include <stddef.h> #include <memory> #include <utility> #include "base/stl_util.h" #include "b...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
37d423ecbffc090457d123e3578ea06e91905165
41bf2e9fb47fc35a1ed1a3050b5729b2ee26e880
/codeforces/1453/A.cpp
c8261e6d55c78f0fa74a4443e21f8a76340517f3
[]
no_license
ankur-kayal/Contests
460bc35c5848a89873172afabf61de17678fc4d1
86521b002f6e35d86a19a6d0c9e8468fae535293
refs/heads/main
2023-08-13T11:35:51.353783
2021-09-12T14:45:00
2021-09-18T14:17:07
339,523,983
1
0
null
null
null
null
UTF-8
C++
false
false
1,588
cpp
#include <bits/stdc++.h> using namespace std; //----------------------------------- DEBUG ----------------------------------- #define sim template < class c #define ris return * this #define dor > debug & operator << #define eni(x) sim > typename \ enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) { sim > ...
[ "ankurkayal1234@gmail.com" ]
ankurkayal1234@gmail.com
2f1dace69dd1f20c7dbc7d30a44178310cab1f58
6f9be894dccaa9aeaf26941eded3e383dee3743c
/integrator.cpp
356a57920479dfadca871a004ab9a0969c580018
[]
no_license
palkim/graph2
4531445994feb20650163f539f119df6526175ac
3d20d5627656c439711670386726ec8ebca32f1e
refs/heads/main
2023-01-31T19:28:14.823416
2020-12-12T20:26:53
2020-12-12T20:26:53
319,670,709
0
0
null
null
null
null
UTF-8
C++
false
false
4,381
cpp
#include "integrator.h" #include "image.h" #include "ctpl_stl.h" #include <iostream> #include <string> namespace fst { Integrator::Integrator(const parser::Scene& parser) { m_scene.loadFromParser(parser); } math::Vector3f Integrator::renderPixel(const Ray& ray, int depth) const ...
[ "petekalkim@hotmail.com" ]
petekalkim@hotmail.com
2fcaa7fdeec4a24c95d95e7e8b8098852abcecee
89a6e0eca52e0cb31915fa43d9b1ba3f0145b257
/基礎題目/迴圈/b415.cc
0c7a43146f4c72bcafb25d32db0d4de864cb9302
[]
no_license
rollfatcat/ProblemSet
03a3a960ec324b831d3db422a52d623f2d04b6f0
f9c76320e8812304b73ac348e8e34e8a55e08a10
refs/heads/master
2023-04-03T15:48:44.551030
2023-03-21T19:09:32
2023-03-21T19:09:32
191,777,230
4
0
null
null
null
null
UTF-8
C++
false
false
682
cc
// 練習使用 getchar() 和 putchar() 處理輸入和輸出( =>非必須 ) // 談到 __int128 和 大數處理 // 談到 long long int 和 int 的關係 #include<cstdio> using namespace std; inline bool scanLong(long &x){ char c; for(x=0;(c=getchar())>='0' and c<='9';x=(x<<3)+(x<<1)+c-'0'); return c!=EOF; } inline void printInt(long &x){ char ss[20]; if(x==0){ putch...
[ "crhsieh1114@outlook.com" ]
crhsieh1114@outlook.com
39a22e20ce053125cc96e8f1859613af89ef2ff9
6f07e8bec80afaf0bbab07ef22a9eeaf7192f109
/Level2/0929.cpp
afcaa11a1697fd55a28f1e287c5952bb410f682b
[]
no_license
face4/yukicoder
e525eb1d7e7ef987d4aaefcd32e9701ea4e41cff
2a3f9b9fb7ae4fe3ab96f698f1ead117714fe3ee
refs/heads/master
2021-06-03T03:33:41.935236
2020-12-06T06:09:11
2020-12-06T06:09:11
130,208,436
0
0
null
null
null
null
UTF-8
C++
false
false
342
cpp
#include<iostream> using namespace std; int main(){ int n; cin >> n; int b[n]; for(int i = 0; i < n; i++) cin >> b[i]; int now = 0; long long ans = 0; for(int i = 0; i < n; i++){ while(b[i]-- > 0){ ans += abs(i-now); now++; } } cout << ans <<...
[ "s1611361@u.tsukuba.ac.jp" ]
s1611361@u.tsukuba.ac.jp
bda1d8c5537161a6e21b80c5dd6411c338b770e4
a9ea1d68a856dd802bb6ce783a23c218ecc3545b
/DailyPractice/1893.cpp
7198ee45abe81367d2937566b0f2292b90adacf1
[]
no_license
kiraclf/leetCodePractice
a5c2a9a9bdaed2d6b00805e7e91824cd76634d3b
61f791bd49c8ce8573c630bb86492e4993d8ad13
refs/heads/master
2022-12-12T22:43:34.956744
2022-11-28T01:32:47
2022-11-28T01:32:47
249,493,614
0
0
null
null
null
null
UTF-8
C++
false
false
466
cpp
#include <vector> using namespace std; class Solution { public: bool isCovered(vector<vector<int>>& ranges, int left, int right) { vector<int> cache(50, 0); for (auto range : ranges) { int left = range[0]; int right = range[1]; for (int i = left - 1; i < right; i++) { cache[i] = 1; ...
[ "kiraclf@outlook.com" ]
kiraclf@outlook.com
fc875f00bd248b6f8704a1bc7663395b926a07f6
29a8bd0313113e6edba69cb90c91dfed613bc6a1
/dalvikInsight/jni/vm/mterp/c/OP_INT_TO_SHORT.cpp
3b97e0c2dd1e124575fd402403d6de6b8db39e93
[]
no_license
freemanZYQ/JNI
0995cb199aff48b7b6cb349f2deca6d9e0134090
2f4a4e03e53448ee724bf39dac9d55c75fcf3954
refs/heads/master
2020-10-01T20:27:44.682632
2018-10-11T06:07:13
2018-10-11T06:07:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
105
cpp
#include "opcommon.h" HANDLE_INT_TO_SMALL(OP_INT_TO_SHORT, "short", s2) /* want sign bit */ OP_END
[ "xueyongfu@analysys.com.cn" ]
xueyongfu@analysys.com.cn
4b5f98451ab95a93cf9ef1eccae1dac9260ac53c
7d39cd74028339cad2039502da2990379196ab3a
/DuiVision/include/DuiVision.h
c3fd715968e56fbaa98c267acff52c35da713142
[ "MIT" ]
permissive
guoheping113/DuiVision
9b4a98cd64f730bf39b687a0ab4be31c4c03206b
4f0700c5506545b179632732e493a9445956e75d
refs/heads/master
2020-05-29T12:24:38.776367
2015-05-07T16:10:23
2015-05-07T16:10:23
35,285,212
1
0
null
2015-05-08T14:55:09
2015-05-08T14:55:09
null
UTF-8
C++
false
false
2,367
h
#ifndef ___DUIVISION_H__ #define ___DUIVISION_H__ #ifdef DLL_DUI # ifdef DUIVISION_EXPORTS # pragma message("dll export") # define DUI_EXP __declspec(dllexport) # else # define DUI_EXP __declspec(dllimport) # endif // DUIVISION_EXPORTS #else #define DUI_EXP #endif #include <gdiplus.h> using namespace Gdiplus; #i...
[ "blueantst@gmail.com" ]
blueantst@gmail.com
6f584bd3b5307ad5d791b074da0bd525a9e712e1
3911554d4da7c141aa61f6df7d30dc92e3552cd1
/计科1704_201731061426_龚涛_lab10/计科1704_201731061426_龚涛_lab10/10-1-outfile.cpp
8d7075abbcff9bb41b5359173a6a7b74ac4c9e7c
[]
no_license
gongsir0630/ooplab
6d31ff0106f83c3bba42f9f5fbb1d6f2882f2c59
31b53a756466d2102e6d99887a7a92e96083f3f2
refs/heads/master
2021-06-20T23:48:47.042927
2021-06-14T07:19:40
2021-06-14T07:19:40
154,068,257
1
0
null
null
null
null
GB18030
C++
false
false
756
cpp
//#include <iostream> //#include <fstream> //using namespace std; //int main() { // ofstream outfile("d:\\myfile2.txt", ios::app); //定义输出文件类对象,同时打开指定文件 // if (outfile.fail()) { //fail函数判断是否打开成功 // cout << "D:\\file can not open" << endl; // return 0; // } // float x = 6, y = 7; // outfile << x << " " << y << end...
[ "3198307775@qq.com" ]
3198307775@qq.com
cc11f3e6480dcae303a7b777ea956d8f16647215
72a86345ceb63b187a52632e828c81210919fa78
/260.只出现一次的数字-iii.cpp
5798d98cb0722462df411907425e1dde65a90bfb
[]
no_license
stomachacheGE/leetcode
535a6af727faa7c85ba2453b93fadf34876b75b7
579f903d4656e3877a7c75efe0ac9626a7efc44f
refs/heads/master
2021-03-12T10:00:18.227887
2020-03-11T15:39:59
2020-03-11T15:39:59
246,610,086
1
0
null
null
null
null
UTF-8
C++
false
false
208
cpp
/* * @lc app=leetcode.cn id=260 lang=cpp * * [260] 只出现一次的数字 III */ // @lc code=start class Solution { public: vector<int> singleNumber(vector<int>& nums) { } }; // @lc code=end
[ "liangcheng@LiangchengdeMacBook-Pro.local" ]
liangcheng@LiangchengdeMacBook-Pro.local
6c69093926230d6f7eab1ff9c6808bf6653c9408
354651dac2b2a4a6efbfb7fe6897522b37810ccd
/src/chip8/Memory.cpp
7bed9f96daf57344437406adf1d0f171044ccc2f
[]
no_license
Rydgel/chip8
1c0e89d7c2197f6d7c0dc7065c93ae4f21fc237f
8d2aaecd90ec8a64d6d08e8fe3c33643b4d1977d
refs/heads/master
2021-01-24T18:47:00.026554
2017-04-30T17:50:21
2017-04-30T17:50:21
84,474,276
8
0
null
null
null
null
UTF-8
C++
false
false
584
cpp
#include "Memory.hpp" Memory::Memory() { clearMemory(); initFontSet(); } void Memory::clearMemory() { storage.fill(0); } void Memory::initFontSet() { auto index = 0; for (auto && e : Constants::FONT_SET) { storage[index] = static_cast<uint8_t>(e); index ++; } } void Memory::l...
[ "jerome.mahuet@gmail.com" ]
jerome.mahuet@gmail.com
ae6db9d1f4a630cd92967aaf12c1ef094f2ab3a3
58a01e370bcfb283746018b4551c2226db94e5a3
/src/controller.cpp
f530310712613715b42d8fbd885d6c9d0255a0ec
[ "MIT" ]
permissive
Andrei358/TicTacToe_AI
d99b12ce46ded813e1f8acc3d3e3d53f6a94f246
9328498f5a1081656434f5253e19acce92eb5a5d
refs/heads/master
2020-12-27T09:50:45.226266
2020-02-03T09:10:10
2020-02-03T09:10:10
237,857,646
0
0
null
null
null
null
UTF-8
C++
false
false
1,682
cpp
#include "controller.hpp" bool Controller::player_interaction(Player player){ Move_input move_input; Outcome outcome; this->view.reset(); this->view.output_board(this->model.get_board()); std::string player_string(1, (char)player); this->view.output_message(player_string); this->...
[ "noreply@github.com" ]
Andrei358.noreply@github.com
07863925c6d8a69d2501c0085f8426a21f325e67
c3a764ee087e05236f000e2c1d8d29abf46095b5
/src/engine/Sound.h
d02af685c5c0e02be09c1977bab589c9a8e7e8fd
[]
no_license
emurdock1101/The-Dashing-Mr-Jones
4a8e41c948712b8b222cf2bbb5ec08bed29598bb
2821121a215f799f1aa9b78935e7acd2d163d71d
refs/heads/master
2022-11-19T21:21:14.008326
2020-07-20T16:29:32
2020-07-20T16:29:32
281,137,169
0
0
null
null
null
null
UTF-8
C++
false
false
220
h
#ifndef SOUND_H #define SOUND_H #include <string> using namespace std; class Sound { public: Sound(); ~Sound(); void playSFX(string soundFilePath); void playMusic(string soundFilePath); private: }; #endif
[ "eh7bu@virginia.edu" ]
eh7bu@virginia.edu
4eb3a8cfdbc970529e62107811849a1b45e98a89
8b1d522ef73facca8b3bbbe2c83377196157476b
/examples.cpp
8fdfe1b6a3b073071ae427aa53f9ea900deea0bd
[ "MIT" ]
permissive
Toxe/google-benchmark
18a2b2ce87bb9527a3aba73ae5a5ce6683404d6a
69efd58807e70fb795d26d36b701a7d84a833ccf
refs/heads/master
2021-07-14T17:50:42.110372
2021-03-07T23:11:18
2021-03-07T23:11:18
242,771,947
1
0
null
null
null
null
UTF-8
C++
false
false
2,040
cpp
#include <benchmark/benchmark.h> #include <chrono> #include <thread> static void BM_StringCreation(benchmark::State& state) { for (auto _ : state) std::string empty_string; } static void BM_StringCopy(benchmark::State& state) { std::string x = "hello"; for (auto _ : state) std::string cop...
[ "toxe@toxe.net" ]
toxe@toxe.net
a2439965107bd52dd97e1bd425ebc968fad032c4
b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f
/openfl/Atriangle/Export/macos/obj/src/openfl/display/_LineScaleMode/LineScaleMode_Impl_.cpp
9ddb06aa41026e9d1986100a8980b9ff71243bfd
[ "MIT" ]
permissive
TrilateralX/TrilateralSamples
c1aa206495cf6e1f4f249c87e49fa46d62544c24
9c9168c5c2fabed9222b47e738c67ec724b52aa6
refs/heads/master
2023-04-02T05:10:13.579952
2021-04-01T17:41:23
2021-04-01T17:41:23
272,706,707
1
0
null
null
null
null
UTF-8
C++
false
true
9,341
cpp
// Generated by Haxe 4.2.0-rc.1+7dc565e63 #include <hxcpp.h> #ifndef INCLUDED_openfl_display__LineScaleMode_LineScaleMode_Impl_ #include <openfl/display/_LineScaleMode/LineScaleMode_Impl_.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_ea842eab153a573b_49_fromInt,"openfl.display._LineScaleMode.LineScaleMode_Impl_","fromInt",0...
[ "none" ]
none
720b5d9d6e1a62ab31794c6c6cb0d82b88089dea
3bc7b1a6fc8b2c0ee9895c49ec01f6a8632097ee
/NodesEdges/RoutenGraph.h
74f4046638d85543f4e5761704a4b8d04fb4dd2c
[]
no_license
Mosarvit/graph
22d08bcf5656ed2addfcaddff6ac40a29c7fe981
bb7abcc8fe098d93d70eb9c1f3583dcb35860b5c
refs/heads/master
2021-01-10T16:22:28.444480
2016-01-25T22:54:50
2016-01-25T22:54:50
50,369,003
0
0
null
null
null
null
UTF-8
C++
false
false
619
h
#ifndef ROUTENGRAPH_H #define ROUTENGRAPH_H #include <string> #include <list> #include "Graph.h" #include "Route.h" #include "Stadt.h" using namespace std; struct stadtStatus { Node* pSrc; int distanceToOrigin = 99999; bool done = false; }; class RoutenGraph : public Graph { public: RoutenGraph(); ~Route...
[ "ja, ne" ]
ja, ne
4093e84e854a04191cf294791d9952d876e608ef
b8194fee4ddf498b2c1bd302ec4ba9466746250d
/build/Android/Debug/app/src/main/include/Fuse.Reactive.ItemsWi-e7592013.h
e7da66befc2096d1664b86fd7a1cc07313ca3641
[]
no_license
color0e/Fabric_Fuse_Project
e49e7371c9579d80c9ec96c1f2d3a90de7b52149
9b20a0347e5249315cf7af587e04234ec611c6be
refs/heads/master
2020-03-30T16:49:34.363764
2018-10-03T16:26:28
2018-10-03T16:26:28
151,428,896
0
1
null
null
null
null
UTF-8
C++
false
false
1,825
h
// This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Reactive.Bindings/1.9.0/ItemsWindowList.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Object.h> namespace g{namespace Fuse{namespace Reactive{struct WindowListItem;}}} namespace g{ nam...
[ "limjangsoon@naver.com" ]
limjangsoon@naver.com