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
ad8d99d8b193a57e9dbeb0dd3a44639e042ae343
845a62f395baa719566d774f39cfa5430770eeb9
/Intro-To-CS/week2/average.cpp
8d7b16a86948a629e7832432fcd4e7f3718ff5ef
[]
no_license
christophrico/Oregon-State-CS
51b4dfac36aec91c9965103bbdffbeaacd1bb84f
fe879d903b2c1b332ef36414896c39f0c74072ba
refs/heads/main
2023-04-06T19:47:01.248312
2021-03-22T23:39:06
2021-03-22T23:39:06
346,213,340
0
0
null
null
null
null
UTF-8
C++
false
false
970
cpp
/************************************************************************************ ** Author: Christopher Rico ** Date: 4/12/17 ** Description: Week 2 assignment. Program that gives average of five numbers. ***********************************************************************************/ #include <iostream> usin...
[ "christoph.rico@gmail.com" ]
christoph.rico@gmail.com
8997a26349e7fd0a42d5b361fbe19233998d98e6
b20a7b4c4d4db525ef7e221e21c49f6e85f086ad
/questitemnotifier.cpp
296889130a9750e2c7914a51a8c811c2fe6dc9db
[]
no_license
amdevelop/questmaker
dfc2943376f0f814c9340ae9f7220ad1f63258d2
adde57a42a06cdbca0a3e1a715ccc86eeb82c12d
refs/heads/master
2016-09-05T10:44:03.640619
2016-01-03T00:29:52
2016-01-03T00:29:52
35,687,362
0
0
null
null
null
null
UTF-8
C++
false
false
192
cpp
#include "questitemnotifier.h" QuestItemNotifier::QuestItemNotifier(QObject *parent) : QObject(parent) { } void QuestItemNotifier::emitPropertyChanged() { emit propertyChanged(); }
[ "alexey.matal@gmail.com" ]
alexey.matal@gmail.com
ba141e5e678fc430f180acacc8eb56183ab66e4b
cebd0a6fd853fc1abf3b168bf229611173d21652
/code(10.13)/test/test2.cpp
e26678cbf354d54130746d72ede52e9b8c1dd220
[]
no_license
caomw/BigHomework
1dd657acc674cc55333abdcd8ad21f571f07de81
9eeb642f31b2c7eec2838d711a1302966f4773de
refs/heads/master
2021-01-12T20:56:36.152665
2012-10-30T11:59:48
2012-10-30T11:59:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
332
cpp
#include<iostream> #include<cstdlib> using namespace std; #include"player1.h" #include"player2.h" int main() { fish *player[10]; player1 p; player2 q; player[1]=&p; player[2]=&q; cout<<player[1]->getID()<<endl; cout<<player[2]->getID()<<endl; player[1]->print();player[2]->print(); ...
[ "daerduoCaery@163.com" ]
daerduoCaery@163.com
42ef52f2d652c298d8b077ce608bd4b1aeb6f177
faf3aab8eac4813cac8c1fd30682bdcec2bf8286
/Basics/CPTTRN5.cpp
a0e51526ec7079ec8d99851924becbefd6e76b0d
[]
no_license
allensu0314/SPOJ
67f29e2d3adf00361724c3e7013123c99934cb27
856441b94457028238153593c5b0449338d98f6c
refs/heads/master
2022-07-18T23:24:33.458042
2016-08-03T07:52:10
2016-08-03T07:52:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,166
cpp
#include <iostream> #include <vector> #include <array> using namespace std; int main() { int linenum; cin >> linenum; vector<array<int, 3>> vaboundary; for(int i = 0; i < linenum; i++) { int num1, num2, num3; cin >> num1 >> num2 >> num3; array<int, 3> atmp{num1, num2, num3}...
[ "420703660@qq.com" ]
420703660@qq.com
04ca439635c770939b501dd9069169696a41a715
069138bc0c2f7ae90c659eaefa9c80a73d44e159
/interface/btag_weighter.h
b4a740d716d7d23912f5c35c34ac3b0aa9cd4bb2
[]
no_license
rgoldouz/miniAOD_IIHE_2017
59b746c5b49d6d5d12a7bf2d01bb639697286fa9
f86af76f83160b408821902e278633bb2619f36d
refs/heads/master
2021-01-01T11:54:54.131579
2017-12-06T11:13:21
2017-12-06T11:13:21
97,573,567
0
1
null
null
null
null
UTF-8
C++
false
false
4,832
h
#ifndef H_BTAG_WEIGHTER #define H_BTAG_WEIGHTER #include <string> #include <TFile.h> #include <TH3D.h> #include "BTagEntry.h" #include "BTagCalibration.h" #include "BTagCalibrationReader.h" #include "DataFormats/PatCandidates/interface/Jet.h" class BTagWeighter{ public: enum class Runs{all, BtoF, GtoH, B, CtoD, Et...
[ "reza.goldouzian@cern.ch" ]
reza.goldouzian@cern.ch
28ccf46ea909238f4a55877aea12d950d568492b
792bc9ab9987443647fbd20ba95ddb69c1c1e726
/Shooter survival/Shooter survival/Weapon.h
d29dc93e1cff22ab316b62afdc2815e7e40c8633
[]
no_license
antjowie/Snake
f9e378375108f276510960279a21cc025c60bd4d
e51dff6852af6804c0d8110bc8e4dc5b1830a579
refs/heads/master
2021-01-12T18:28:09.469118
2016-12-13T17:11:04
2016-12-13T17:11:04
71,384,914
0
0
null
null
null
null
UTF-8
C++
false
false
1,210
h
#pragma once #ifndef WEAPON_H_INCLUDED #define WEAPON_H_INCLUDED enum eBulletDir { BULLETUP, BULLETDOWN, BULLETLEFT, BULLETRIGHT }; class cBullet { int x; int y; int pace; int live; bool active; eBulletDir direction; public: cBullet(); void Generate(int paramX, int paramY, int paramPace, int paramLive, eBulle...
[ "angelo05rettob@gmail.com" ]
angelo05rettob@gmail.com
e320adc56dd4d822787e7ad6a10892c1eb21b95d
b6f3cdbe8de6142f48ea5b6a0ef4a118bf300c15
/FractalTree-master/FractalTree/FractalTree32/FractalTreeModelInitialization.cpp
2b5d72fabba20b8607ae4bb6a121225bc5a374ae
[]
no_license
jwang320/Engine
182042cc2b5ea8bb71fe45022296aa00dbbc4e13
5fe1d23fc695f5b43f5a484297b6448c5a446f5a
refs/heads/master
2023-01-01T12:25:18.545583
2020-10-28T00:45:05
2020-10-28T00:45:05
307,857,598
0
0
null
null
null
null
UTF-8
C++
false
false
12,678
cpp
#include "pch.h" #include "FractalTreeRenderer.h" #include "..\Common Source\Mesh\Mesh.h" #include "..\Common Source\Rendering Engine\Rendering Engine Standard\ParticleSystem.h" #include "..\Common Source\Rendering Engine\Rendering Engine Standard\Particle.h" #include "..\Common Source\Rendering Engine\Rendering Engine...
[ "73551517+jwang320@users.noreply.github.com" ]
73551517+jwang320@users.noreply.github.com
fc8b4fca18d8d69015fee41ecc6ad33550f8e4bf
3a53b3f6dedf690ac3fc1277e6a74610b51d827b
/src/Astar_learning/topo_node.h
8fc119e2b689530bcc8b41f7f2ce07fcc97446b1
[]
no_license
WASEDACK/waseda_ck_learning
5e8dcde15d2452ce6ea2fb1339efba7064e94066
0fdbb126953dc6e9e3ac7041365027820e725b57
refs/heads/master
2020-03-22T14:00:44.704640
2019-05-25T08:47:36
2019-05-25T08:47:36
140,147,688
0
0
null
null
null
null
UTF-8
C++
false
false
4,907
h
/****************************************************************************** * Copyright 2017 The Apollo Authors. 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 Licens...
[ "770825052@qq.com" ]
770825052@qq.com
0ff9f3b217a5f098408e86d55f3fa3b55f6974be
f3fe2b28287c46dcc72da7f123d343244e32e1b8
/NativeIos/Classes/Native/Il2CppCompilerCalculateTypeValuesTable.cpp
4f1fddd61978b9b26948b6d72147a8d2b24d613a
[]
no_license
DarkYuanJs/SDKTemplate
c41e997fb5f075361a3fc892f02dd6bc1c019299
fda55ce24ebc749d6d8691cb6f6ee6a466bd0560
refs/heads/main
2023-07-04T15:52:30.083494
2021-07-15T03:12:58
2021-07-15T03:12:58
329,500,857
0
0
null
2021-01-18T10:06:37
2021-01-14T03:50:53
C#
UTF-8
C++
false
false
499,291
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 "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" IL2CPP_EXTERN_C_BEGIN IL2C...
[ "yuanjs870428198@163.com" ]
yuanjs870428198@163.com
72e62bde02b30c3f7244cd7cd11cdaf395dcd231
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ManagedScalingStatus.h
a9a5bdc5b33d25f2e81b8683469a9347db77565a
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
666
h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ecs/ECS_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace ECS { namespace Model { enum class ManagedScalingStatus { NOT_SET, ...
[ "sdavtaker@users.noreply.github.com" ]
sdavtaker@users.noreply.github.com
0bb5fea8017818625d185cfe8113caee13074a50
6657186600feaec8228f8f92a9c3dec33d089d2b
/onnxruntime/test/contrib_ops/layer_norm_op_test.cc
c8c62434d26cfd114057f8a462cbacaf12b77757
[ "MIT" ]
permissive
microsoft/onnxruntime-openenclave
4da64801290ff0f89497a6cfbfccd79e1584f81b
a6ad144bfbe4d91277c33180e65768e843a9f053
refs/heads/openenclave-public
2023-07-06T02:33:46.183271
2022-08-17T02:56:57
2022-08-17T02:56:57
290,272,833
34
21
MIT
2022-12-12T16:28:23
2020-08-25T16:58:14
C++
UTF-8
C++
false
false
1,385
cc
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <chrono> #include <random> #include "core/framework/tensor.h" #include "core/session/inference_session.h" #include "test/common/tensor_op_test_utils.h" #include "test/framework/test_utils.h" #include "test/util/inc...
[ "noreply@github.com" ]
microsoft.noreply@github.com
9cb58a09f586de07fb1885a2ac6489da5ca1dc98
e50ad655c84e010395b8f7d3d9a6e171d3981e45
/bench.h
fdc389331c776324f0bf651418a466c998d1f4c0
[ "BSD-3-Clause" ]
permissive
niumowm/busybee
0d5fefe7c665c865f8c64eb621ac831111285f24
451818cdce6c16c3be8afc4235fee7c34012ba49
refs/heads/master
2020-12-24T11:07:01.135846
2013-03-19T18:39:46
2013-03-19T18:39:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,013
h
// Copyright (c) 2012, Cornell University // 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 ...
[ "me@robescriva.com" ]
me@robescriva.com
200f9b04f6f15b12e4a20f9286996e9e208fd970
d5a858002f9c04c66333d866672ca5d083240f4f
/18_4sum.cc
00e4f58e86f3fba25427b701a8873d0ca6e8820a
[ "Apache-2.0" ]
permissive
kungwahcheung/leetcode
dbc080c50979451e94bbe05f57264271498f8532
715101158787f81ff3dc3d1b66e4d376cff5fd9c
refs/heads/master
2020-04-06T21:18:42.330582
2018-12-20T15:37:34
2018-12-20T15:37:34
157,799,408
0
0
null
null
null
null
UTF-8
C++
false
false
1,583
cc
/** * 多次提交出错都是因为输出的结果存在重复项, * 如果不采取每次push_back的时候做重复判断, * 则需要充分考虑如何避免重复项的出现, 如下面的代码 */ #include <algorithm> // sort #include <iostream> #include <string> #include <vector> #include "util.h" // print_vector_array using namespace std; class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, in...
[ "gonghuachang@hotmail.com" ]
gonghuachang@hotmail.com
7cfbdea15a09fedb9d62c5df08fdeeb07d79c855
95025210b9131d8bbddfe2f4b85e0cf683596c1f
/Src/GeneralInput/DeckBindConcRebarDlg.h
9947ccab6e2503f3500cbd0c600a9cc2567ee221
[]
no_license
SamuelBacaner1112/APlate
ece78b86f4cda173c7e1c3d3776d3aaf0ef1d341
0d89bd5beadc811d9d33c75f3110903f8b4f256e
refs/heads/master
2023-01-24T07:50:59.851986
2020-12-09T00:19:05
2020-12-09T00:19:05
319,794,441
0
2
null
null
null
null
UTF-8
C++
false
false
2,169
h
// This is a part of the Hangil IT Program Source. // Copyright (C) 1998- (c) Hangil IT Corporation // All rights reserved. // #if !defined(AFX_DECKBINDCONCREBARDLG_H__4F3112C0_AA86_4A30_94E6_B60590DD3508__INCLUDED_) #define AFX_DECKBINDCONCREBARDLG_H__4F3112C0_AA86_4A30_94E6_B60590DD3508__INCLUDED_ #if _MSC_VER > 10...
[ "75705234+SamuelBacaner1112@users.noreply.github.com" ]
75705234+SamuelBacaner1112@users.noreply.github.com
7d072d30628604d13f9ce98386dd8de1c6bfbb74
4d4fbfd4ed5b38fb807fc23b8ab5caf30b62b32d
/opencore-linux/fileformats/mp4/composer/include/mpegsampleentry.h
15f0b293c7af4c71b701c96c0a4037f4b7585c32
[ "MIT", "LicenseRef-scancode-other-permissive", "Artistic-2.0", "LicenseRef-scancode-philippe-de-muyter", "Apache-2.0", "LicenseRef-scancode-mpeg-iso", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rcoscali/ftke
e88464f1e85502ffb9c199106bc6cb24f789efcf
e9d4e59c4387400387b65124d4b47b70072dd098
refs/heads/master
2021-01-10T05:01:03.546718
2010-09-23T02:49:21
2010-09-23T02:49:21
47,364,325
6
0
null
null
null
null
UTF-8
C++
false
false
2,566
h
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
[ "xianjimli@7eec7cec-e015-11de-ab17-5d3be3536607" ]
xianjimli@7eec7cec-e015-11de-ab17-5d3be3536607
6c6aa03efdbfb67948b40ff4de1cb2e338366037
e5f604984b69a5c2db38f1fa0d790e4d5fca4372
/cc/trees/layer_tree_host.cc
6ac4cd38e7be7a32e57d72011cd862c3cf0375aa
[]
no_license
love514425/chromium-cc
8e8a7e48e9735d654b2a273e66ff7fb67d026c7d
e0ec441a24ba8d78e0e69b642066c174c50abbfe
refs/heads/master
2020-06-03T08:09:58.458541
2016-03-13T21:23:48
2016-03-13T21:23:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
43,385
cc
// Copyright 2011 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 "cc/trees/layer_tree_host.h" #include <algorithm> #include <stack> #include <string> #include "base/atomic_sequence_num.h" #include "base/auto_...
[ "mbc@iot.bzh" ]
mbc@iot.bzh
9d5a12646d85fc97bb53b403fee07f5a0e16e495
a67c9dbe7c2a3447c247d5d73c9c5c4312d41cad
/leetcode/non_decreasing_array.cpp
41c1f86cd29ef344f65bb2baea988b51c544fb53
[]
no_license
AshwathVS/Programming
c8386bc28c13dc063cb9c2d8194e715b3c47ff52
855833ab33d65cbc42a0f53bb60b0617f036adca
refs/heads/master
2023-03-11T07:14:05.857629
2021-02-21T19:18:44
2021-02-21T19:18:44
256,755,057
1
0
null
null
null
null
UTF-8
C++
false
false
927
cpp
class Solution { public: int getIndex(vector<int> nums, int index) { if(index < 0) return INT_MIN; else if (index >= nums.size()) return INT_MAX; else return nums[index]; } bool checkPossibility(vector<int>& nums) { bool chance = true; int size=nums.size(); ...
[ "ashsat.vijayan122@gmail.com" ]
ashsat.vijayan122@gmail.com
7dd0277909317ca9094c13a1ff9b80a661e7825a
54590b39d4710d32bc129e0e9bf59fd5f56ac32d
/SDK/SoT_BP_PromptActor_EmissarySunk_RB_parameters.hpp
7a0597a3fa76aad03ab77599be7a9a68880ea507
[]
no_license
DDan1l232/SoT-SDK
bb3bb85fa813963655288d6fa2747d316ce57af8
cda078f3b8bca304759f05cc71ca55d31878e8e5
refs/heads/master
2023-03-17T13:16:11.076040
2020-09-09T15:19:09
2020-09-09T15:19:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,417
hpp
#pragma once // Sea of Thieves (2.0.17) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "SoT_BP_PromptActor_EmissarySunk_RB_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------------------...
[ "saerko19@gmail.com" ]
saerko19@gmail.com
0f6727426a60d75f6cc5ba2a39d172cbc752ad8b
4aca6e0da325098e72791349bea4dad0d79d3674
/Engine/Dependancies/microprofile/demo/noui/fakework.cpp
0a558fdaeb97772e539c7b4c57e4c857f7fe6465
[ "Unlicense" ]
permissive
stenzek/YGameEngine
9e1d42cc01cba1ea40030776df401ec4ed2bc4cb
833e0dceee8f7d87c311624776344dde4ffa1c83
refs/heads/master
2021-08-23T10:10:20.598809
2015-11-05T15:19:37
2015-11-05T15:19:37
110,406,401
3
1
null
null
null
null
UTF-8
C++
false
false
5,752
cpp
#include <thread> #include <atomic> #include "microprofile.h" #if defined(__APPLE__) || defined(__linux__) #include <unistd.h> #endif extern uint32_t g_nQuit; #ifdef _WIN32 #undef near #undef far #define snprintf _snprintf #include <windows.h> void usleep(__int64 usec) { if(usec > 20000) { Sleep((DWORD)(usec/...
[ "me" ]
me
43a9db86b055ddb76718acda49c7eefecdf875f3
9192182cfcfcf4ce9f9bbb4003106e29b37b5bd1
/mame-0.141/src/mame/includes/foodf.h
cb6e718c273eb4c9a7e0c8ef95f0c09655ccd9e2
[]
no_license
johkelly/MAME_hi
a2b9ea9d4f089f75e57de5963af187718733fccd
ccbec44e4c82e5ca83ba80de19bfb9c100dbd349
refs/heads/master
2020-05-17T13:29:54.978078
2012-07-13T19:03:50
2012-07-13T19:03:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
828
h
/************************************************************************* Atari Food Fight hardware *************************************************************************/ #include "machine/atarigen.h" #include "machine/x2212.h" class foodf_state : public atarigen_state { public: foodf_state(ru...
[ "john.kelly@readytalk.com" ]
john.kelly@readytalk.com
39a5a67bf1aa7d197f712036e6cdc8aa3dc0c913
7dd90d8eaf82b322358a5d42f317b2211a76bd56
/Sourcecode/YYL_ESP32/sea_esp32_qspi.cpp
247a7d8579912bb36a3e8f05f57023b7ddbbbfca
[]
no_license
ChenGithub1417/YaoYaoLe5002
3fce33d182b77bc3e95736ed6f0d0a816e2af4f1
991578913c0277cd4efe69c26caff97e03a99179
refs/heads/master
2022-12-05T21:55:23.727846
2020-08-01T07:40:28
2020-08-01T07:40:28
282,645,010
0
0
null
null
null
null
UTF-8
C++
false
false
1,177
cpp
#include "sea_esp32_qspi.h" #if 1 sea_esp32_qspi SeaTrans(VSPI_HOST, 5); #endif sea_esp32_qspi::sea_esp32_qspi(int spi_host,int cs){ qspi.host = spi_host; qspi.cs = cs; qspi.dev = NULL; } sea_esp32_qspi::~sea_esp32_qspi() { this->end(); } bool sea_esp32_qspi::begin(freq_e baud) { return qs...
[ "noreply@github.com" ]
ChenGithub1417.noreply@github.com
21933f818e46679500221a7835987c5d66ea001d
119c1dd2b61764210064511d8ab5be252b8b7c8f
/450 DSA Questions/03 String/3IsIsomorphic.cpp
684f3136c6f4290840436bb62ee2c45410b05372
[]
no_license
jasveen18/CP-krle-placement-lag-jayegi
2557309a9dfc4feb01dbdc867a67f1ccc4f10868
8db92e5c3a7d08edfc34d8223af6c080aa3e4721
refs/heads/main
2023-07-29T09:39:36.270193
2021-09-03T15:19:22
2021-09-03T15:19:22
430,816,168
1
1
null
2021-11-22T18:10:13
2021-11-22T18:10:13
null
UTF-8
C++
false
false
1,137
cpp
// T - O(N) // S - O(N) bool areIsomorphic(string str1, string str2) { unordered_map<char, char> mapString; set<char> seenChars; int n = str1.size(); int m = str2.size(); // Invalid Case if (n != m) return false; for (int i = 0; i < n; i++) { if (mapString.find(str1[i]) == ...
[ "arpitfalcon1@gmail.com" ]
arpitfalcon1@gmail.com
6ec4fd01425dd09920bb49d46705dc438220f682
51519c7a143f25a651f8ac4ee16466dddc32a2db
/Tower.cpp
7c328d8edc872b9c2fe4501697375b52db63eb58
[]
no_license
gordywgilbert/Tetris
9c52fd12598e69fc21a2111fc2f47824488828c9
cd93600062d639af5a787d9ee52eaa0341ca5b2f
refs/heads/master
2021-01-17T14:55:40.997277
2017-03-06T19:13:06
2017-03-06T19:13:06
84,102,107
0
0
null
null
null
null
UTF-8
C++
false
false
6,563
cpp
#include "stdafx.h" #include "Tetronimo.h" #include "Tower.h" #include "Timer.h" #include <windows.h> #include <iostream> #include <string> /* Initialize an empty Tower object */ Tower::Tower() { grandTotalLinesCleared = 0; level = 1; score = 0; for (int i = 0; i < BUCKET_WIDTH; i++) { for (int ...
[ "noreply@github.com" ]
gordywgilbert.noreply@github.com
c124786302a3b3ec2a26187210140fc9d0c88b49
febf3f7144af58d22c81b3dac67c643256f1b1ad
/SanguoClient/frameworks/runtime-src/Classes/battle/system/hero/States/StateHeroMoveToTargetTile.cpp
b59a879e01d4241db774e624cf7e0de32568439e
[]
no_license
wagulu/cocos2dx_sanguo_heroes
ce503f9562e77f5922e80e77758a56386cd2b288
e4117963825831ba51a5ead8651cd8dd48602768
refs/heads/master
2020-07-17T12:56:14.532212
2019-09-01T04:57:31
2019-09-01T04:57:31
206,023,787
4
2
null
2019-09-03T08:09:08
2019-09-03T08:09:08
null
UTF-8
C++
false
false
2,085
cpp
// // StateHeroMoveToTargetTile.cpp // sanguoGame // // Created by fuchenhao on 7/9/15. // // #include "StateHeroMoveToTargetTile.h" #include "BattleWorld.h" #include "AICommonHelper.h" StateHeroMoveToTargetTile::StateHeroMoveToTargetTile(const BattleConfig::Tile& targetTile) { m_targetX = MapHelper::getCenter...
[ "940299880@qq.com" ]
940299880@qq.com
89e59ed37a739d0dcfe73bfdfb94dc2ce37e7632
76fe2aff605cf1ff6721dffdad92550651106cfb
/translate.cpp
b0e0e98b4bb444fca7071c01da68efe7255284dd
[]
no_license
evertonmj/cpp_activities
a0dbd5c5afbaa7a73cd0debacbed6a63c2cf4ded
cbb0d1062db9114106a8733401c277d83f7982d5
refs/heads/master
2020-05-21T20:27:41.807033
2016-12-19T16:42:45
2016-12-19T16:42:45
63,454,461
1
0
null
null
null
null
UTF-8
C++
false
false
1,601
cpp
//translate.cpp //http://br.spoj.com/problems/JASPION/ #include <iostream> #include <map> #include <vector> #include <string> using namespace std; vector<string> splitWords(string line, char separator); /** * main function */ int main() { int n_instances, n_dic_words, n_music_lines; string word, trans, music_li...
[ "evertonmj@gmail.com" ]
evertonmj@gmail.com
8509076a83676111b332d53ef508303ef57dfc80
0b8cadfa4e6d78b1002380ba98dff7c9693b6ebb
/Longterm.h
4039fffda08d672f5defc80eb4e6b728515f8998
[]
no_license
pranjalia/Budget_Planner
7890c66b2eee36f1fe28ce1089021fe5a0734c4f
07560214b13ee333b91902a711b414bd826b43c3
refs/heads/master
2020-04-23T14:34:31.271243
2019-02-19T09:12:38
2019-02-19T09:12:38
171,236,302
0
0
null
null
null
null
UTF-8
C++
false
false
815
h
#include <iostream> #include <vector> #include <string> #include "node.h" using namespace std; #ifndef _Longterm_h #define _Longterm_h class Longterm{ private: node* head; public: //constructor Longterm () { head = new node(0); } //destructor ~Longterm(){ node *p; ...
[ "pranjaliadhikary@Pranjalis-MacBook-Pro.local" ]
pranjaliadhikary@Pranjalis-MacBook-Pro.local
ad31258782ab662893abd0489c94ede2c9e4a1f5
45a33656f61f1206a31a2cf2a04ddf039fbfdc63
/atcoder/abc/029d.cpp
c9bd581c75e538749e93df7acc3204c5a325048f
[]
no_license
nsendoda/competitive
ca49d54ea5a8076285cf3621b82687494643d23d
de5cec03da8198cdfa687fae6b4c0bbe1968de42
refs/heads/master
2021-09-02T14:26:48.884207
2018-01-03T06:50:17
2018-01-03T06:50:17
77,330,162
0
1
null
null
null
null
UTF-8
C++
false
false
810
cpp
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <numeric> #include <map> #define REP(i,n) for (int i=0;i<(n);i++) #define ll long long #define ull unsigned long long int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; using namespace std; int main(){ cin.tie(0); ios::sync_w...
[ "s1410068@edu.cc.uec.ac.jp" ]
s1410068@edu.cc.uec.ac.jp
bf9ec7a12769e891369450bb895027eca42f66e7
61656dcece9300a5d05d751bdc208262fb6728c9
/GameAnalytics/HTTPRequest.hpp
c6cf0d5239b5edd25403afcdb651240cf9ff4c62
[]
no_license
VladislavNedodaiev/GameAnalyticsLibrary
3bc042e02dbc0f132fdce4256627de3fe449723a
f6d7c102e8087014981833a0801410c69bac40a6
refs/heads/master
2020-06-01T05:50:55.404957
2019-06-11T07:43:42
2019-06-11T07:43:42
190,662,560
0
0
null
null
null
null
UTF-8
C++
false
false
20,687
hpp
// // HTTPRequest // #ifndef HTTPREQUEST_HPP #define HTTPREQUEST_HPP #pragma comment(lib, "Ws2_32.lib") #include <algorithm> #include <functional> #include <stdexcept> #include <system_error> #include <map> #include <string> #include <vector> #include <cctype> #include <cstddef> #include <cstdint> #ifdef _WIN32 # ...
[ "vladislavnedodaiev@gmail.com" ]
vladislavnedodaiev@gmail.com
b6a7bd9b04167262c9b116758cd52147ba18cbf7
65d1bd123fe11cce161359c78e16b00792a376d2
/Trees/104. Maximum Depth of Binary Tree.cpp
9faf6895c61374a9fb2dcf5200b9a6d15ee68ccd
[]
no_license
en-jai-neer/Leetcode_Solutions
d62c33110712287114f8723b1eb16ea3f5818311
aba47073d43b2d27f50d3c00c90cfb3ceebf58ad
refs/heads/master
2022-10-23T08:37:12.375215
2020-06-16T10:18:54
2020-06-16T10:18:54
265,836,597
0
0
null
null
null
null
UTF-8
C++
false
false
330
cpp
class Solution { private: int solve(TreeNode* root) { if(root == NULL) return 0; int depthleft = solve(root->left)+1; int depthright = solve(root->right)+1; return max(depthleft, depthright); } public: int maxDepth(TreeNode* root) { return solve(root);...
[ "noreply@github.com" ]
en-jai-neer.noreply@github.com
cfdd8a31a065576ace36388fbfea7f4390c983a3
a62342d6359a88b0aee911e549a4973fa38de9ea
/0.6.0.3/Internal/SDK/UI_KeyBinding_functions.cpp
7698fcd471880c486e681329128721d29ef75fc4
[]
no_license
zanzo420/Medieval-Dynasty-SDK
d020ad634328ee8ee612ba4bd7e36b36dab740ce
d720e49ae1505e087790b2743506921afb28fc18
refs/heads/main
2023-06-20T03:00:17.986041
2021-07-15T04:51:34
2021-07-15T04:51:34
386,165,085
0
0
null
null
null
null
UTF-8
C++
false
false
3,532
cpp
// Name: Medieval Dynasty, Version: 0.6.0.3 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //---------------------------------------...
[ "zp2kshield@gmail.com" ]
zp2kshield@gmail.com
76dab8be9e3eff03d219a875a01b6019c6b24e1e
162dcfccd3e1334b9eec76c8b787a579cb90c4da
/src/sdl/rect.h
286d2be5fc6cd350f45ed8070e6a73feafc84e13
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mwthinker/CppSdl2
8ca612de9caadcba1ff9308183c3eff70b0b3f71
107fdecaef1da1fa3ab1e291c2e498f1d3a32153
refs/heads/master
2023-08-03T16:27:19.785491
2023-08-01T13:36:32
2023-08-01T13:36:32
191,014,455
6
0
null
null
null
null
UTF-8
C++
false
false
130
h
#ifndef CPPSDL2_SDL_RECT_H #define CPPSDL2_SDL_RECT_H #include <SDL_rect.h> namespace sdl { using Rect = SDL_Rect; } #endif
[ "mwthinker@yahoo.se" ]
mwthinker@yahoo.se
479a2fcbf5a4ef612f4c4172f7ae666684052b7c
de33982a4dd42f5e3fdd609a8ae469ab851de27c
/URI/1958.cpp
5acda610506dda8e9e8801fd9503996980ede8dd
[]
no_license
luishng/Algoritmos
be5981a702a65940dac704868ead68d0bf9dc102
42939c2ceeb0575d109b6bc133673249df7b98f1
refs/heads/master
2021-01-19T16:12:51.596701
2017-10-11T16:23:12
2017-10-11T16:23:12
100,990,917
0
0
null
null
null
null
UTF-8
C++
false
false
163
cpp
#include <bits/stdc++.h> using namespace std; int main(){ double numero; scanf("%lf", &numero); printf("%+.4E\n", numero); return 0; }
[ "luishng123@gmail.com" ]
luishng123@gmail.com
9034a5fef4cdddc82ada66115a8db698dbdfdde1
2a45507fff25c42cad05b52d83d011fea0909be5
/Leetcode/C++/Serialize and Deserialize Binary tree.cpp
d4fb750ca63bd8091259376c837321f48b024dae
[ "MIT" ]
permissive
Sharayu1071/Daily-Coding-DS-ALGO-Practice
dc8256e76d43952f679236df904f597908fbda13
2c424b33a1385085f97b98d6379d6cd9cc71b1bd
refs/heads/main
2023-08-30T17:49:44.312613
2021-10-03T04:21:21
2021-10-03T04:21:21
412,973,714
3
0
MIT
2021-10-03T04:18:20
2021-10-03T04:18:19
null
UTF-8
C++
false
false
1,680
cpp
//Link to the problem /* https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ */ //According to the problem: //We need to ensure that a binary tree can be serialized to a string and this string can be deserialized to the original tree structure. //NOTE:Serialization is the process of converting a ...
[ "snehaagarwalbly361@gmail.com" ]
snehaagarwalbly361@gmail.com
d9fe8b04aa8e4bf585acb66cbccb6fe24b5fe731
890a813c8babfa6c12a2578afaa3372edb5dccd2
/sort_algorithms.cpp
1f954749fd0c8ea371433a6d82cf8427a8fdec05
[]
no_license
liiochen/command_pattern_template
3965f51ffc56d40e582e8105f3a08dcaf13fe75c
cb2d541996fd51df10c0cbc538a62dc41c02ed89
refs/heads/master
2020-04-17T21:52:00.454431
2017-09-05T02:32:29
2017-09-05T02:32:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
910
cpp
#include "sort_algorithms.h" //START_FUNCTION_HEADER////////////////////////////////////////////////////// BUBBLE_SORT::BUBBLE_SORT ( std::string name ): // // Description: Constructor. // // Returns: None // //END_FUNCTION_HEADER//////////////////////////////////////////////////////// m_name(name) { }; //START_FU...
[ "hbutler97@comcast.net" ]
hbutler97@comcast.net
881ce3815cb06cb7ebf9fbd118fb38771df75115
f561a62019fd20e224c14223ee84f60a9667d227
/Chapter4/Ex18.cpp
d12f925bc73b399e38c369ef2604a89a1561a401
[]
no_license
brennanpeter/DeitelExercises
dca8ae19952ad486955f3790726e9989f1669ccb
01fde95f2152e852a7ddd337dc7bc6748d504fec
refs/heads/master
2021-01-20T09:13:38.421896
2017-09-22T19:21:49
2017-09-22T19:21:49
101,582,950
0
0
null
null
null
null
UTF-8
C++
false
false
664
cpp
/* Written by Peter Brennan 7/12/17 This program prints the following table of values to the screen using a while loop and the tab escape sequence. N 10*N 100*N 1000*N 1 10 100 1000 2 20 200 2000 3 30 300 3000 4 40 400 4000...
[ "peter.brennan@wsu.edu" ]
peter.brennan@wsu.edu
8a8be259d3df8fb269a60d763de35a97a131bf21
2af9686bf3b5cce8d8dd56df8c505d85ba4ce3c5
/music_led.ino
1fb4ed6fbafa41939de8264d3e31d7df5162ccc7
[]
no_license
taasinsaquib/MusicLEDs
e444d98344718de22524451f8345d831f1c5a4db
a242276a31fd66839d1b785a8bb74a2a981441a9
refs/heads/master
2020-07-27T18:01:59.938459
2019-09-19T00:26:03
2019-09-19T00:26:03
209,180,492
0
0
null
null
null
null
UTF-8
C++
false
false
6,403
ino
// A basic everyday NeoPixel strip test program. // NEOPIXEL BEST PRACTICES for most reliable operation: // - Add 1000 uF CAPACITOR between NeoPixel strip's + and - connections. // - MINIMIZE WIRING LENGTH between microcontroller board and first pixel. // - NeoPixel strip's DATA-IN should pass through a 300-500 OHM RE...
[ "taasin.saquib@gmail.com" ]
taasin.saquib@gmail.com
0a2b207353953f6a9c38c6be41936d1a19b66051
40ef32fcb5a02d0cf01d544dcb01df5b697b56a0
/Rogue-Dungeon/Rogue-Dungeon.h
cb11485208039e78cab9cb9083a941d90d641e9b
[]
no_license
Richard-CRT/Rogue-Dungeon
b9f9db703c26545b7474481b504685b1962d0349
023d3766be1e77ff96907a33fff36bdac9decc61
refs/heads/master
2020-09-02T09:20:32.601326
2019-11-02T17:27:32
2019-11-02T17:27:32
219,188,941
0
0
null
null
null
null
UTF-8
C++
false
false
330
h
#pragma once #include "Elements.h" #include <iostream> #include <stdio.h> #include <conio.h> #include <Windows.h> #include <vector> using namespace std; // Prototypes COORD GetCoord(void); void SetCoord(COORD coords); void ShowConsoleCursor(bool showFlag); void DrawRoom(Player & player); // Global Variables HANDLE...
[ "rc4g17@soton.ac.uk" ]
rc4g17@soton.ac.uk
5e7626aa70cec4b923cc700507f425e1439bfc01
7a28fd87d8a61c9df3e95173aad779f31a04be44
/TeamServerCluster/TeamSource/TeamDL/DLServer/Logic/Table/DLRoom.h
23aa262f334feeb2eddfaff9f9ffbde06536d861
[]
no_license
kspine/TeamServer
e84a858254736c05cc33780978212f7f982e549e
360de39453156f4c4fbb5d99325aef28d2a5f75c
refs/heads/master
2021-01-22T05:15:55.186201
2016-11-30T02:53:35
2016-11-30T02:53:35
81,638,625
0
1
null
null
null
null
UTF-8
C++
false
false
1,598
h
#ifndef __DL_ROOM_H__ #define __DL_ROOM_H__ #include "../../FrameWork/BaseDefine.h" class CDLRoom { public: CDLRoom(); virtual ~CDLRoom(); EQ_DECLARE_CACHE(CDLRoom) inline void setRoleId(int nRoleId) { m_nRoleId = nRoleId; }; inline void setRoleName(string strRoleName) { m_strRoleName = strRoleName;...
[ "kspine@163.com" ]
kspine@163.com
1968ec230a5a6cf6fa37fe4f3420c2fc69b1e5c8
cc893a8f22ce0dc281c3588dc21e5fb8385dd85e
/WobbleAnimation.h
09b6d1a51098947e860622f9f1772e76f8501a74
[]
no_license
BellCrow/GettingInShapes
7b46d128635b7d9a130643ffdc2269eeb16c4b18
8e014655c7334cee6b2a4b76b3d9e5d94ec30da6
refs/heads/master
2020-05-21T22:01:14.807229
2020-02-11T09:48:45
2020-02-11T09:48:45
186,164,346
4
3
null
2020-02-11T09:48:46
2019-05-11T17:47:41
C++
UTF-8
C++
false
false
423
h
#pragma once #include <memory> #include "AbstractShape.h" #include "AbstractAnimation.h" class WobbleAnimation:public AbstractAnimation { public: WobbleAnimation(AbstractShape* shape, float periodTime, float minWidth, float maxWidth, float minHeight, float maxHeight); void Tick(); private: AbstractShape* m_shape; ...
[ "peremptor1@gmx.de" ]
peremptor1@gmx.de
ea548e64698be604b76853116b753c1947f099d1
988870e1eecfa71fe1c07ab24627c3ef41edc98a
/MultitouchHybrid/src/MultitouchEvent.hpp
dc45220a4140cc9d1c8cf25aa1715421ba55748c
[ "Apache-2.0" ]
permissive
kartun83/Cascades-Community-Samples
486be3994fa3246c5a472e3780ca04c28d63d505
19cd0e5671f409f1363a282ae90642a41a0d6f8b
refs/heads/master
2021-01-09T06:44:21.763820
2015-10-07T16:00:25
2015-10-07T16:00:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,719
hpp
/* * Copyright (c) 2012-2013 BlackBerry * * 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 ...
[ "rsperanza@CI0000002800875.local" ]
rsperanza@CI0000002800875.local
e805332533379a26c5d953d1ff11c32156d346f9
b27b2d149f159e297d5362eb04d0587d44efe66a
/Server/Server/LobbyServer/LobbyServer/Channel.h
df3530c37a30b469b2ceeedcab4a5bd743fd819e
[]
no_license
kimeyongchan/MobileStar
74aef848b5d71825394824d2f4dd5d948c0f3c29
5bada949ae1ef76c80d3f822d7a4b9d58c01bd19
refs/heads/master
2021-01-10T08:21:48.565073
2015-11-19T00:19:23
2015-11-19T00:19:23
43,584,410
0
2
null
null
null
null
UTF-8
C++
false
false
1,522
h
// create by yong chan kim // since 2014.7.29 #ifndef __CHANNEL_H__ #define __CHANNEL_H__ #include <stdint.h> #include <list> #include <vector> #include "BasicPacket.h" class User; class UserInfo; class Channel { public: Channel(); bool initialize(ChannelInfo* channelInfo); int addUser(User* user); int rem...
[ "fullstory97@naver.com" ]
fullstory97@naver.com
b875533eb04dd2617e4384db1b95107fcd443288
8f8bee07f707bba2fff3383c5e5a82d5c5c0a92f
/03-red/w01-05-unique-id/w01-05-unique-id/main.cpp
be1db9545eb6c300ea7a2f1f43eb029fdb85ce04
[]
no_license
sergrigordeev/yandex-cpp-courses
047f91338aeaa793e040ff405a54e098bdf7498d
b2c9717560cdc6a1f4058d8c247086e2f208d59b
refs/heads/master
2022-04-17T05:59:28.948411
2020-04-16T06:30:32
2020-04-16T06:30:32
217,713,599
1
0
null
null
null
null
UTF-8
C++
false
false
288
cpp
#include <string> #include <vector> using namespace std; #define UNIQ_ID uId1(__LINE__) #define uId1(ln) uId2(ln) #define uId2(ln) var##ln int main() { int UNIQ_ID = 0; string UNIQ_ID = "hello"; vector<string> UNIQ_ID = {"hello", "world"}; vector<int> UNIQ_ID = {1, 2, 3, 4}; }
[ "sergey.gordeev@jrholding.co" ]
sergey.gordeev@jrholding.co
5e7f4cd888f3751ce4f92bd29f741d8b7e24bca3
904ff2f74108a020816aa0e77a10b6f501d1cbfd
/FV1_GPU_1D/set_num_cells.cpp
df48afed1c92811c6a841c82fcc55fc04b7cf597
[]
no_license
al0vya/FV1_GPU
55321900f6cfc529e4d48e547b7e4e6b92486d87
3e7c3295726f04f23a23cdc694959f3941e7a000
refs/heads/master
2023-02-22T23:52:29.344775
2021-01-25T18:25:57
2021-01-25T18:25:57
284,138,157
0
0
null
null
null
null
UTF-8
C++
false
false
347
cpp
#include "set_num_cells.h" int set_num_cells() { std::cout << "Please select the number of cells.\n"; int user_input_num_cells; std::cin >> user_input_num_cells; if (!std::cin || user_input_num_cells < 1) { std::cout << "Error: please rerun and enter a integer value. Exiting program.\n"; exit(0); } ret...
[ "alovya.chowdhury@gmail.com" ]
alovya.chowdhury@gmail.com
f5ae87855d7e20bc8f86bce5ab9a8e4bed73b55d
ac75a1d06761731587de507981653d044637c2ac
/include/interval.hpp
b87e8df8687e0033a4ce3f356cc0cca652f68a8d
[]
no_license
sdavtaker/safe_numerics
a120f46b6f08359134aa2c13c106fa92040d6487
78111d12e8f7ccb45448da2d71e587a086e7ab72
refs/heads/master
2020-12-31T01:03:34.181931
2015-07-04T17:04:49
2015-07-04T17:04:49
38,602,368
0
0
null
2015-07-06T06:50:06
2015-07-06T06:50:03
null
UTF-8
C++
false
false
6,232
hpp
#ifndef BOOST_NUMERIC_INTERVAL_HPP #define BOOST_NUMERIC_INTERVAL_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // Copyright (c) 2012 Robert Ramey // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_...
[ "ramey@rrsd.com" ]
ramey@rrsd.com
87bb0ce90e33e165ad4f0afdd3a97522359ef932
e0a545932a1ed87b3114884b31ba3c5ce7b3794e
/include/uWS/Socket.h
aff635bad2c1115024024872e816b02d2a6d97de
[]
no_license
benohalloran/cscoins2017
0d229823127fd6f18cc6a45cd255e0ac0bb0d5fd
2d5f2ef0fabfd1530d8345564cfa282e68c9ee06
refs/heads/master
2021-01-19T00:54:56.911702
2017-03-26T06:14:30
2017-03-26T06:14:30
84,676,484
1
1
null
null
null
null
UTF-8
C++
false
false
16,082
h
#ifndef SOCKET_UWS_H #define SOCKET_UWS_H #include "Networking.h" namespace uS { // should derive directly from poll? class WIN32_EXPORT Socket { protected: Poll *p; public: Socket(Poll *p) : p(p) { } void (*getPollCallback())(Poll *, int, int) { return p->getPollCb(); } void tran...
[ "jvalinsk@u.rochester.edu" ]
jvalinsk@u.rochester.edu
ef8db771f57d516c0808cc721ad034c74c5430f1
b176800174743d4b08c94691e8edc2d95c610cda
/code/strings/suffix_tree.h
dfdc40b313ca7b3ca96f49b19137e83d39109f91
[]
no_license
danielvitor2d/Competitive-Programming-Notebook
3274172c41b2488833fb475d19533a08cacb5ce9
8643bc52b1853b77857ec66dbc6f21b397c2da27
refs/heads/master
2023-03-06T18:18:25.798702
2021-02-19T02:00:38
2021-02-19T02:00:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,729
h
#include <bits/stdc++.h> typedef long long ll; using namespace std; namespace SuffixTree { const int NS = 60; //Number of strings const int MAXN = 100010; //Number of letters int cn, cd, ns, en = 1, lst; string S[NS]; int lastS = -1; /* sufn[si][i] no do sufixo S[si][i...] */ vector<int> sufn[NS]; struct Node { int l...
[ "paulomirandamss12@gmail.com" ]
paulomirandamss12@gmail.com
e7d81b63aa7b75eee4f9c9691b23b90c53638beb
0d9e4b31d7f4f3d468f2ddfb735789d51f6e09f7
/src/test/prevector_tests.cpp
cb3a26d00bf4d4d655a0f2aabd79280d0810bfad
[ "MIT" ]
permissive
shadowOz/AvaTesting
5d4ee56701197718f9f02897f6c11d364a5d3bb3
22d0380f6984a4405bf117c8ec3fcbcfa00bb831
refs/heads/master
2020-03-16T20:10:06.088629
2018-05-10T21:26:15
2018-05-10T21:26:15
132,949,196
0
0
null
null
null
null
UTF-8
C++
false
false
8,021
cpp
// Copyright (c) 2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <vector> #include "prevector.h" #include "random.h" #include "serialize.h" #include "streams.h" #include "test/test_ava...
[ "mivecracers@gmail.com" ]
mivecracers@gmail.com
1093e48e2145cabde7998a236c693802a7cd999c
5dc07420eeccbfccafc32cd698c1b0c423e230ac
/include/Kernel/DiskSimulator/DiskSimulator.h
2b9f5e98e2c8cd5d4c190b07e99f598b376c848a
[]
no_license
caiyaodeng/DataIndex
45e2e30971d19deb09dd716b8d32800cb80b1bc1
399d5f1fde1f092c4012baa26a7f0ff83377b783
refs/heads/master
2016-08-11T18:45:25.924739
2016-01-31T15:42:47
2016-01-31T15:42:47
50,286,186
3
0
null
null
null
null
UTF-8
C++
false
false
937
h
#ifndef _INTERFACE_DISK_SIMULATOR_H_ #define _INTERFACE_DISK_SIMULATOR_H_ #ifdef __cplusplus extern "C" { #endif namespace NS_DataIndex { /** * 说明:磁盘接口 * 创建人:蔡曜镫 * 更新时间:2016/1/29*/ virtual class DiskSimulator { public: DiskSimulator (){} virtual ~DiskSimu...
[ "512324291@qq.com" ]
512324291@qq.com
8c1c73a77a95cdc03c1f080ba8964b79b515854e
e8d87c9b119d8f33bd35b111a7f06041c0bb7041
/test_name_pairs.cpp
789122889462b41e41eac3c03fdf8316edc34741
[]
no_license
Bowser-ai/Library_chapter_9
5b68c54ad6fa8696fc23d87ec3f442e22163fc93
0a9322407c9a286cd9f14e06d0fad2990cedfdf9
refs/heads/master
2022-11-16T06:35:39.694722
2020-07-10T21:51:43
2020-07-10T21:51:43
277,655,587
0
0
null
null
null
null
UTF-8
C++
false
false
396
cpp
#include "name_pairs.h" #include <sstream> int main() { std::istringstream is{"Wouter\nKarel\nRosa"}; std::istringstream is2{"10\n13\n15"}; std::istringstream is3{"Wouter\nKarel\nRosa"}; std::istringstream is4{"11\n13\n15"}; Name_pairs np; Name_pairs np2; np.read_names(is); np.read_ages(is2); np2.read_names(i...
[ "martijnvermeulen1@gmail.com" ]
martijnvermeulen1@gmail.com
02061677e82bb4ea2ede528dc0853477d9d19a6d
c776476e9d06b3779d744641e758ac3a2c15cddc
/examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+addr-addr-rfi-addr-pos.c.cbmc.cpp
546aad6f856bdf9695738c9c6324c9b0f66eba5f
[]
no_license
ashutosh0gupta/llvm_bmc
aaac7961c723ba6f7ffd77a39559e0e52432eade
0287c4fb180244e6b3c599a9902507f05c8a7234
refs/heads/master
2023-08-02T17:14:06.178723
2023-07-31T10:46:53
2023-07-31T10:46:53
143,100,825
3
4
null
2023-05-25T05:50:55
2018-08-01T03:47:00
C++
UTF-8
C++
false
false
52,753
cpp
// 0:vars:4 // 4:atom_1_X0_1:1 // 5:atom_1_X8_1:1 // 6:atom_1_X10_0:1 // 7:atom_1_X12_0:1 // 8:thr0:1 // 9:thr1:1 #define ADDRSIZE 10 #define NPROC 3 #define NCONTEXT 1 #define ASSUME(stmt) __CPROVER_assume(stmt) #define ASSERT(stmt) __CPROVER_assert(stmt, "error") #define max(a,b) (a>b?a:b) char __get_rng(); char g...
[ "tuan-phong.ngo@it.uu.se" ]
tuan-phong.ngo@it.uu.se
ea3b66b48f2e5f635d66b87e4d34f7c64b54248b
db4fa4bdfa2dddac062ebfb57764aa4d6f02f434
/src/VulkanTools.cpp
2a2f18ea70a87cc6577572cf19ac906e779f0ff4
[]
no_license
zimengyang/ForwardPlus_Vulkan
f6a0bfcf3e69bb43420f0f26804a025bc1968085
b69113b9d31366e4f7b50e11160572b9fd082140
refs/heads/master
2020-07-04T09:19:27.860751
2017-01-03T15:41:49
2017-01-03T15:41:49
74,075,478
26
3
null
null
null
null
UTF-8
C++
false
false
3,307
cpp
#include "VulkanBaseApplication.h" VkBufferMemoryBarrier VulkanBaseApplication::createBufferMemoryBarrier( VkAccessFlags srcAccessMask, VkAccessFlags dstAccessMask, VkBuffer buffer, VkDeviceSize bufferSize) { VkBufferMemoryBarrier barrier = {}; barrier.sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER; barrier.pN...
[ "penliang@seas.upenn.edu" ]
penliang@seas.upenn.edu
971f1f6e0325a92ee8132f59280f1224973b5e4c
f488339731282c48acf87c703f6b49ca91b31496
/position.h
d1fec24169fffcc95a9393460eb85500c15c9797
[]
no_license
lokesh58/Wuttang
15c68e925b601c6d6eae4d745442ad12594b15dd
8a7fe2e1df0b57f3136f70201a96626cb4aff65f
refs/heads/master
2021-05-15T12:07:45.966201
2017-10-26T11:06:58
2017-10-26T11:06:58
108,400,110
1
1
null
null
null
null
UTF-8
C++
false
false
1,285
h
#ifndef POSITION_H #define POSITION_H #include <string> #include "data.h" #include "move.h" #include "bitboards.h" #include "pvTable.h" struct posInfo { int move; int enPass_sq; int castleRights; int fifty_move; Key posKey; }; class Position { public : int pieces[sq_no]; ...
[ "noreply@github.com" ]
lokesh58.noreply@github.com
47195624d3e2fe1bad9fe0e809a8662d41fcbc42
071c53728c400c5486ada97482a921ae5ef80583
/prerequisites/C++/ConcurrentProgramming/Bartoz/temp.cpp
28a34450aa59fa779c77f8f16630299b58a60999
[]
no_license
0xchamin/HPC-LiDAR
6c2ca24fe99bf0e5fc8e4cc2aea28d8199fe6bd3
615f6c196148857b4df6683dd306cf190e5d0520
refs/heads/master
2020-04-11T22:41:06.153766
2019-03-11T16:50:43
2019-03-11T16:50:43
162,144,276
2
0
null
null
null
null
UTF-8
C++
false
false
602
cpp
#include <iostream> #include <thread> #include <vector> #include <algorithm> //#include "foreach.h" using namespace std; int main(){ //store thread creation //since we have to wait (barrier) vector<thread> workers; for(int i = 0; i < 10 ; i++){ // thread th([](){ // cout << "Hi ...
[ "chmk90@gmail.com" ]
chmk90@gmail.com
57e7051da3937820d53d1e53dd9f4a2e3cf79bbf
b579d32b04731f0215b9843bc0f9d8812abbae9a
/Algo2/Taller/ejercitacion_compilacion_testing/tests/ej2_periodo_y_fecha.cpp
4df600adac721249e9d465e8ba42ecd5dc15da63
[]
no_license
pdbruno/TPsPatricio
b693893bf8ff127ad46d9ce3b783a9afa321884e
130f3feea6ee3f4546b034b23b8e7ff2b3272673
refs/heads/master
2021-06-29T19:35:41.109732
2021-03-31T19:57:47
2021-03-31T19:57:47
227,661,643
0
2
null
null
null
null
UTF-8
C++
false
false
329
cpp
#include "gtest-1.8.1/gtest.h" #include "../src/Fecha.cpp" #include "../src/Periodo.h" TEST(fecha, periodo) { Periodo p(1, 2, 3); EXPECT_EQ(p.anios(), 1); EXPECT_EQ(p.meses(), 2); EXPECT_EQ(p.dias(), 3); Periodo p2(10, 40, 50); EXPECT_EQ(p2.anios(), 10); EXPECT_EQ(p2.meses(), 40); EXPECT_EQ(p2.dias()...
[ "pdbruno@gmail.com" ]
pdbruno@gmail.com
f3b6bc42d94c35204af114d992e287a8c79dc994
c8944a17fd45b883f2186c3a63840a96f2555206
/Cpp/fost-inet/mime-binary_body-tests.cpp
b98adf90107a56c8be29b2cf88893113f133065f
[]
no_license
codewithcats/fost-internet
6fa38f62699953cfc3d4cde253b3e2590178405f
bc6d639e14ab81ad2df899ddef58681f751a7abd
refs/heads/master
2021-07-01T17:08:33.088323
2017-07-22T05:34:05
2017-07-22T05:34:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,984
cpp
/* Copyright 2010-2015, Felspar Co Ltd. http://support.felspar.com/ Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt */ #include "fost-inet-test.hpp" #include <fost/mime.hpp> #include <fost/exception/un...
[ "k@kirit.com" ]
k@kirit.com
e9e79162ea24331a01dcb875c2e3e04f0648e474
1a508784b1d34e810cee286f9158290303ec70a9
/unittests/contracts_tests.cpp
2c77566e33684a51ae9680648c0220af5f2403b4
[ "MIT" ]
permissive
ZizhouJia/evt
af99bbf5682a3cec3d063528e54c1f049f5b0691
8ef5e253eb67e5a1cd56a1f1869de524d447334f
refs/heads/master
2020-03-24T22:52:14.525801
2018-08-01T05:23:32
2018-08-01T05:23:32
136,720,337
0
0
null
2018-06-09T12:11:53
2018-06-09T12:11:53
null
UTF-8
C++
false
false
50,544
cpp
#include <catch/catch.hpp> #include <evt/chain/token_database.hpp> #include <evt/testing/tester.hpp> using namespace evt; using namespace chain; using namespace contracts; using namespace testing; using namespace fc; using namespace crypto; extern std::string evt_unittests_dir; class contracts_test { public: co...
[ "harrywong@live.com" ]
harrywong@live.com
5258596284207bed9d1a02e8c6a96d6e7fd6ebdd
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/ThirdParty/WebRTC/rev.9862/lib/Win64/VS2013/include/webrtc/base/socketstream.h
876115686c0db5f24dccfba79b219ca2cbb1c232
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
windystrife/UnrealEngine_NVIDIAGameWorks
c3c7863083653caf1bc67d3ef104fb4b9f302e2a
b50e6338a7c5b26374d66306ebc7807541ff815e
refs/heads/4.18-GameWorks
2023-03-11T02:50:08.471040
2022-01-13T20:50:29
2022-01-13T20:50:29
124,100,479
262
179
MIT
2022-12-16T05:36:38
2018-03-06T15:44:09
C++
UTF-8
C++
false
false
1,730
h
/* * Copyright 2005 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
[ "tungnt.rec@gmail.com" ]
tungnt.rec@gmail.com
5894bc46767f96b9dd52966d0bd14100d2e099b9
c51d7d3d453ad1e831e625cc3a0ac1df67fc1e93
/lib/vector.h
3ea837fcce9be48d4c8c2e48f95c96a45f225282
[]
no_license
schliffen/cracking-the-coding-interview
3553ed8b3e3458cd9a40b48365beb28dba327d9d
4fa5dead78c526731069ee972777c97c3f9a92ac
refs/heads/master
2021-06-13T23:21:10.600481
2019-10-06T13:40:50
2019-10-06T13:40:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,854
h
#ifndef _VECTOR_H_ #define _VECTOR_H_ /* As crazy as it sounds, in this class we implement a vector. Implementing our own containers, such as the vector class is ALWAYS a bad idea. This should only be done for EDUCATIONAL purposes. Please take this code with a GRAIN OF SALT, chances are, it's buggy, leaks memory, an...
[ "shyal@shyal.com" ]
shyal@shyal.com
53030ef6fe81757037d7c2f7153a56fe42320365
1ce975dbe8d0ca9e7e98368cdb4e923763037d78
/Equinox.cpp
c0cb557bddf5b259a6146fd4621580ee9bf9899b
[]
no_license
vriddhi1203/Codechef_and_codeforces_contests_solutions
cf32c6d0f49dcc69647375ba0873763cfdee32e1
7ee26b7af67cc2516e8e78d8292c40e4f7c433e3
refs/heads/master
2023-08-20T22:09:27.566832
2021-10-18T15:45:11
2021-10-18T15:45:11
298,057,003
1
0
null
null
null
null
UTF-8
C++
false
false
588
cpp
#include <bits/stdc++.h> #define ll long long int using namespace std; int main() { ll t; cin>>t; while(t--){ ll n,a,b,sum1=0,sum2=0; cin>>n>>a>>b; for(ll i=0;i<n;i++){ string s; cin>>s; char c=s[0]; if(c=='E' || c=='Q' || c=='U' || c=...
[ "noreply@github.com" ]
vriddhi1203.noreply@github.com
8bf20bbdff5325841b55e72afc605ca517f22ff3
24e400b878c2e410c5afbcc007f2e219fd4f7644
/src/STEventAction.cc
c848adbfd972e4fe250f3b15d3eb40a6b0469176
[]
no_license
nburmaso/SiliconTracker
33fec133294f736cb431086b2dc6e7990014a86e
905500cae32274400c0da0d81443f6f813c328e3
refs/heads/master
2023-04-30T16:18:20.251300
2021-05-19T14:13:24
2021-05-19T14:13:24
359,834,817
0
0
null
null
null
null
UTF-8
C++
false
false
23,939
cc
#include "STEventAction.hh" #include "STRunAction.hh" #include "STTrackFitter.hh" #include "G4RunManager.hh" #include "G4Event.hh" #include "STSimulationPars.hh" #include "TGraphErrors.h" #include "TF1.h" #include "TCanvas.h" #include "TFile.h" #include "TH2D.h" #include "TMultiGraph.h" #include "TRandom.h" #include "...
[ "nazar.burmasov@cern.ch" ]
nazar.burmasov@cern.ch
6f5155f8d7ccc291e5fdb4bbb5da44ff6a07eada
f0b7bcc41298354b471a72a7eeafe349aa8655bf
/codebase/apps/ingest/src/mysqlSurface2Spdb/mysqlSurface2Spdb.cc
8c2c3326f9547870e79f07836def1c59b2d3a881
[ "BSD-3-Clause" ]
permissive
NCAR/lrose-core
23abeb4e4f1b287725dc659fb566a293aba70069
be0d059240ca442883ae2993b6aa112011755688
refs/heads/master
2023-09-01T04:01:36.030960
2023-08-25T00:41:16
2023-08-25T00:41:16
51,408,988
90
53
NOASSERTION
2023-08-18T21:59:40
2016-02-09T23:36:25
C++
UTF-8
C++
false
false
12,958
cc
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Bo...
[ "dixon@ucar.edu" ]
dixon@ucar.edu
5402bf33de123b46e20eb7a22d419a9d3998bcef
9320375dc23c3e332cc599d7d32e18669515ff0f
/Chapter03/EpsilonV/ex3_44.cpp
0b053411bd6fa3d8739fe551034e135b239147ad
[]
no_license
kawaiidoo/CPP_Primer
1bf279f92c30bef435de9cc7b30ae94e7fbd6f4f
aa8dfdb38d92136803dd96512a6c780977db8ec1
refs/heads/master
2020-04-25T20:59:58.305405
2019-04-15T12:18:30
2019-04-15T12:18:30
173,067,258
0
0
null
null
null
null
UTF-8
C++
false
false
560
cpp
#include <iostream> using namespace std; int main() { int ia[3][4] = { {0, 1, 2, 3}, {4, 5, 6, 7}, {8, 9, 10, 11} }; //range for using int_array = int[4]; for(int_array& row : ia) for (int i : row) cout << i << " "; cout << endl; //for loop for (size_t i = 0; i != 3; i++) for (size_t j = 0;...
[ "hanfenging@gmail.com" ]
hanfenging@gmail.com
327188311e47d067ca42ab1aca571e82a65829f6
5bf57ea44af8940730d64e08c2d2061f675f819e
/code/milestone4/milestone4.ino
93262526de5d825357d050a1a6ad5c591b08d6b6
[]
no_license
Vassar-Robot-Competition-2018/teamA
1c80c3dc1aa208a397d3b2d5ea7e594d35a244ca
ffb5e2eb351ca61e276a2eb83fce332ac3a19743
refs/heads/master
2021-03-27T08:53:08.221761
2018-05-16T20:58:25
2018-05-16T20:58:25
119,575,571
0
0
null
null
null
null
UTF-8
C++
false
false
9,225
ino
// Color sensor module which allows for multiple sensors // https://github.com/Fire7/Adafruit_TCS34725_SoftI2C #include <Wire.h> #include <Adafruit_TCS34725softi2c.h> // Pixy Module #include <SPI.h> #include <Pixy.h> // Servo module #include <Servo.h> // Helpful rgb struct to store rgb values typedef struct rgb { ...
[ "georgewitteman@gmail.com" ]
georgewitteman@gmail.com
73c2cbdd19a0763c13bbdc5ccd7641de5ad31fa0
f86d5bb1c70da818b227245d04a9e0b9c29fc09d
/AICommon/Utils/include/Utils/DeviceInfo.h
936ed969581c6ab68e0287f6850428c7599fff6b
[]
no_license
caixiong110/MediaPlayerWrapper
a94ae93c9d4e98b3f55ed88ef40dc1b6fe3e2258
536874a2b2e9d825537e0a6b28d33040052934f6
refs/heads/master
2022-02-25T03:31:25.666213
2019-09-09T08:37:21
2019-09-09T08:37:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,867
h
/* * Copyright 2019 gm its affiliates. 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. * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIE...
[ "djzheng@wisepool.com.cn" ]
djzheng@wisepool.com.cn
53544be9f17021f5f7d94668088ed8300be8f553
019119e06e765466fb496f03692858d9cdf6ab4f
/_oe-sdk-20071004091648/usr/local/arm/oe/arm-linux/include/mozilla-minimo/necko2/nsIViewSourceChannel.h
95db9c394e210085f85a84779e5b602f5d841cab
[]
no_license
josuehenrique/iliad-hacking
44b2a5cda34511f8976fc4a4c2740edb5afa5312
49cfd0a8f989491a6cc33cf64e8542f695d2e280
refs/heads/master
2020-04-06T06:40:50.174479
2009-08-23T16:56:01
2009-08-23T16:56:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,610
h
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /data/workareas/matthijs/svn/openembedded/build/tmp/work/minimo-0.0cvs20051025-r9/mozilla/netwerk/protocol/viewsource/public/nsIViewSourceChannel.idl */ #ifndef __gen_nsIViewSourceChannel_h__ #define __gen_nsIViewSourceChannel_h__ #ifndef __gen_nsIChannel_h__ #include...
[ "supad@tujuh.oppermannen.com" ]
supad@tujuh.oppermannen.com
d7e263fb0648b6e716d6ea3d6b08e9593abda12d
ef6bf8ff4d494e1e8bad43c3d625154ff0ccacd8
/lib/src/math/Rect.cpp
0a66ef25ab5d233535dc1552a160fd8577d99f3a
[ "Apache-2.0" ]
permissive
tuanphuc/Viry3D
ce72ddf0e962a9bdb929e5e1ce90098e6bb21677
8f6e141f222ce01372ffd2183a4d39e7a076aad2
refs/heads/master
2020-04-01T08:26:28.008476
2019-01-15T22:30:21
2019-01-15T22:30:21
153,030,798
0
0
Apache-2.0
2018-10-15T00:11:44
2018-10-15T00:11:44
null
UTF-8
C++
false
false
946
cpp
/* * Viry3D * Copyright 2014-2019 by Stack - stackos@qq.com * * 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 applicabl...
[ "stackos@qq.com" ]
stackos@qq.com
79f10d70474d9d9d53833f10b056a83874e55c8c
783e2becd41c6864eb70c96b01b8b9eee00b7833
/proj.winrt/App.xaml.cpp
af28b86f66fb62e2db2daaf8437945e589bcd8ae
[]
no_license
abekert/cocos2d-x-arkanoid
d32a08a2d1676759e43faa60d211a30b609cc357
49a7ada869947e7c4ed47b785738a81488b185e6
refs/heads/master
2021-06-08T03:36:34.061938
2016-11-24T19:11:14
2016-11-24T19:11:14
63,872,265
2
1
null
null
null
null
UTF-8
C++
false
false
3,494
cpp
/**************************************************************************** Copyright (c) 2010-2013 cocos2d-x.org Copyright (c) Microsoft Open Technologies, Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files...
[ "bekert@me.com" ]
bekert@me.com
4a2a0c83a6522278f7e80a1b6d1a6a23822f5bb3
3f3095dbf94522e37fe897381d9c76ceb67c8e4f
/Current/UI_InfoScreen_Overlay_DawnOfTheDread_DLC04.hpp
b26bece5246a03c646c0747b797546057ea88587
[]
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
1,135
hpp
#ifndef UE4SS_SDK_UI_InfoScreen_Overlay_DawnOfTheDread_DLC04_HPP #define UE4SS_SDK_UI_InfoScreen_Overlay_DawnOfTheDread_DLC04_HPP class UUI_InfoScreen_Overlay_DawnOfTheDread_DLC04_C : public UUserWidget { FPointerToUberGraphFrame UberGraphFrame; class UWidgetAnimation* Click; class UWidgetAnimation* Hover;...
[ "bobby45900@gmail.com" ]
bobby45900@gmail.com
fbeb6990a5ca7c31b4dc13d27513591ff8d4119e
bb2ebcf12a7d228b486c808db70dbc67935b31ab
/Jesse test code projects/Active/SerialSender/SerialSender.cpp
d325e929ab329badfce4e8c26f1bc2df16e9131c
[]
no_license
JesseFederkiewicz/RC-Safety-Suite-Capstone
2aa0cc39774e4f2b396bbd37a7aa58885718d303
9b3539ea189a01dfbd80319ca5e4f542c0b46f2f
refs/heads/master
2023-04-04T00:59:23.514099
2021-04-13T22:18:34
2021-04-13T22:18:34
327,439,156
0
0
null
null
null
null
UTF-8
C++
false
false
5,062
cpp
// // code for the slave board that sends post requests to the database and commands to the master board // #include "SerialSender.h" #include <HardwareSerial.h> #include <WiFi.h> #include <HTTPClient.h> #include <Arduino_Json.h> #include <mutex> HTTPClient _mainThread; HTTPClient _secondThread; String serverURL =...
[ "59615077+JesseFederkiewicz@users.noreply.github.com" ]
59615077+JesseFederkiewicz@users.noreply.github.com
968ec1877aba951dbe0f37dac68087709fee687c
9b316806f20d2d720f665cefda0291b69b98d269
/edgetpu_api/src/cpp/posenet/posenet_decoder.cc
e3a15e5e33223cdc249cfddaeb495f7600662644
[ "Apache-2.0" ]
permissive
junyu0704/edgetpu_demo
56dcefb66c2bdaa3e0cae70c090a100f2902ffc8
b828c0de89aab8a3cf1190f1711cd79e38f380bd
refs/heads/master
2020-12-18T05:57:33.412205
2020-01-15T01:23:26
2020-01-15T01:23:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
20,704
cc
#include "src/cpp/posenet/posenet_decoder.h" #include <algorithm> #include <array> #include <cmath> #include <cstring> #include <numeric> #include <ostream> #include <queue> #include <vector> namespace coral { namespace { using posenet_decoder_op::kNumKeypoints; using posenet_decoder_op::Point; using posenet_decoder...
[ "akioolin@gmail.com" ]
akioolin@gmail.com
8db24355b9a98a6f254f15985c6e66ad1e5eda53
583f768eb8b16f029c7c031e98aa325846bfff87
/c++_language_programming/code/experiment/2.1/include/CCar.h
64a7a0a39ec95ace3b4b6aeb1d38f5354e79ea87
[]
no_license
yuyue98/MyUniversity
da5ce16d695afae3976ff9291b53c724401e6651
46bc83c69f99f712776c4674bfbac03f6fce37e6
refs/heads/master
2020-09-21T16:13:16.961253
2020-06-01T07:46:07
2020-06-01T07:46:07
224,842,331
0
0
null
null
null
null
UTF-8
C++
false
false
1,152
h
#ifndef CCAR_H #define CCAR_H #include <iostream> #include <string> #include "CPerson.h" using namespace std; class CCar { private: string CID; CPerson* Owner; string Brand; string Color; string VIN; public: CCar(string cid,string brand="未知",string color="未知",string vin="未知"); CCar(string cid,CPers...
[ "yuhonge123@163.com" ]
yuhonge123@163.com
ccc697ec98c9e2a319f0562539bf4b78d0a5a213
913e5eed9d216aeede6a9687d7b0cd306255e258
/examples/ssd/ssd_detect.cpp
64e84c2a5d34c8fa0dc2ce8be434d3e6860ec0bd
[ "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
MonsterPeng/caffe_ssd
30c0243c96295213151b81b049a056ad768a534c
489dd1c1f6d855dcc9d6cabcdb8f8553feb7576d
refs/heads/master
2021-07-01T07:23:43.505334
2019-05-31T03:19:28
2019-05-31T03:19:28
154,322,567
0
0
null
null
null
null
UTF-8
C++
false
false
12,251
cpp
// This is a demo code for using a SSD model to do detection. // The code is modified from examples/cpp_classification/classification.cpp. // Usage: // ssd_detection [FLAGS] model_file weights_file list_file // // where model_file is the .prototxt file defining the network architecture, and // weights_file is the .c...
[ "270657381@qq.com" ]
270657381@qq.com
b47e404d1309bde47b89983e89fa6f831d2f7316
496260d58d531540ceff1f951e1465a4d9c9e321
/labs/lab10/bigint.h
653aa5b63de1c805846cb6efcff6078ff290c010
[]
no_license
shannonmb144/CSCI-103-USC
eb85ee3354b282cbc587187b3390d1a4f4399919
f0bd74a78a510185853ee953c853608ea1b04d32
refs/heads/master
2022-11-30T03:06:04.516435
2020-07-30T11:56:43
2020-07-30T11:56:43
283,754,437
3
0
null
null
null
null
UTF-8
C++
false
false
626
h
#include <string> #include <vector> // importing a whole namespace in a header is frowned upon // this will at least let us write 'string'/'vector' below using std::string; using std::vector; class BigInt { public: BigInt(string s); // convert string to BigInt string to_string(); // get string repres...
[ "noreply@github.com" ]
shannonmb144.noreply@github.com
ee47fd3b686fc0e9ccd58e2e88907b74dca644d3
d3d9ff5fee85c902754ddd8d32db4c16666f17fd
/source/client/process_bootstrap.cc
6cfd3dcd2081084d0121cd9d4f7976edae686ae9
[ "Apache-2.0" ]
permissive
envoyproxy/nighthawk
d6e2ae0ccbb7136c6d106506e8251f1fd8508398
9572d3fb7db6d9a255c98ca71ac2b21aa7e08618
refs/heads/main
2023-09-02T01:12:58.142999
2023-08-29T03:28:56
2023-08-29T03:28:56
180,498,819
298
75
Apache-2.0
2023-09-14T14:24:00
2019-04-10T03:59:28
C++
UTF-8
C++
false
false
12,020
cc
#include "source/client/process_bootstrap.h" #include <string> #include <vector> #include "nighthawk/client/options.h" #include "nighthawk/common/uri.h" #include "external/envoy/source/common/common/statusor.h" #include "external/envoy_api/envoy/config/bootstrap/v3/bootstrap.pb.h" #include "external/envoy_api/envoy/...
[ "noreply@github.com" ]
envoyproxy.noreply@github.com
8652b4d1ddf9be67873594fe26cbe89c2f1e13d1
455a63d8fbfed97be03206b4b22972535ffc11bd
/cpp/patterns/adapter/adaptee.cpp
6cc17d682854d71552edf5b8ca089fc2db5b2a5d
[]
no_license
laubosslink/lab
44aa3bb1717809cba5a2c98462a540a6f21c2505
a9987013b106e936c99226ed1c78dd9c63d78cf9
refs/heads/master
2021-01-10T09:13:38.148883
2015-10-24T13:52:00
2015-10-24T13:52:00
47,622,615
0
0
null
null
null
null
UTF-8
C++
false
false
193
cpp
#ifndef ADAPTEE #define ADAPTEE #include <iostream> class Adaptee { public: Adaptee(){} void specificPrint() { std::cout << "Adaptee::specificPrint()" << std::endl; } }; #endif
[ "laubosslink@society-lbl.com" ]
laubosslink@society-lbl.com
a891903913070ca59729cdccf19d885bc53efcb8
c365306ee19d2fa83af437877f6698c88f6a3bdd
/src/qt/bitcoingui.cpp
cb99d4e07cbbca66f4bb18ee7464749a4ae8cfe0
[ "MIT" ]
permissive
tomandev/toman-source
eb69f93f64d88a8b5672d3b50d35fadc7e374c94
a5a499448b364562666ce9fc9db1856ed469f115
refs/heads/master
2021-08-26T09:11:47.626603
2017-11-22T18:42:52
2017-11-22T18:42:52
111,720,384
0
0
null
null
null
null
UTF-8
C++
false
false
35,535
cpp
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2012 */ #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookpage.h" #include "sendcoinsdialog.h" #include "signverifymessagedialog.h" #include "optionsdialog.h" #include "aboutdialog.h" #include "clientm...
[ "toman@vermine.nl" ]
toman@vermine.nl
2a191c7570a60bb02aa8ba455dda722332275333
409beb9aa75d153c9d49834354fed5b53fc56187
/FirmwareModifier/Common/inc/IEmTcpConnectCallback.h
156f779ff408b3a1b652f0195ef56dcda7cd0702
[]
no_license
shzhbx/FWFactoryTool
604faaec209dfd5a77252314c95d85014fa84674
67d32965a6aec815c5b9942a2fe46848e6d5d541
refs/heads/master
2023-03-18T07:34:29.252551
2016-08-16T08:47:57
2016-08-16T08:47:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
881
h
#ifndef _h_IEmTcpConnectCallback #define _h_IEmTcpConnectCallback #include "EmBase.h" #include <string> #include <vector> #include <map> #ifndef SOCKET typedef unsigned int SOCKET; #endif namespace em { class IEmTcpConnectCallback { public: virtual int OnSendBytesOnce(SOCKET xSockClient, INT64 iKey ,...
[ "David.li@rock-chips.com" ]
David.li@rock-chips.com
a77b828401d0f61c79183e4b6c39dfd22341a1c0
39cff6c1d998fc6121a3f62544482497bf321436
/src/linear_method/linear_method.h
44bf7f5415978bacb4a5a69837d14f62de09581f
[ "Apache-2.0" ]
permissive
daishichao/parameter_server
e01c1bb84007dddfd0748ac24df09b73816e74ea
88bf1bd70f036d2c640c6e18aa431c9b51acccdd
refs/heads/master
2020-12-26T04:37:41.205536
2014-10-29T00:35:06
2014-10-29T00:35:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,131
h
#pragma once #include "system/app.h" #include "parameter/kv_vector.h" #include "proto/linear_method.pb.h" #include "linear_method/loss_inl.h" #include "linear_method/penalty_inl.h" #include "base/auc.h" // #include "linear_method/learner/learner.h" // #include "linear_method/learner/aggregate_gradient.h" namespace PS...
[ "muli@cs.cmu.edu" ]
muli@cs.cmu.edu
7e9fc447ea5ca93a05e23f7a221f0e30b089e63b
f2fe1212f368ce7f3fa5925f9e483b82b037e18c
/rcar3_download/CommUtils.cpp
3d32862c0e483d7fc4448ff2846ee55f35076e56
[]
no_license
Weihong125770199/bear
c76bb5692140b5f1495a27eb83afc865bb4dcc32
5543a0f365ba8a355aa6a436d6952a8da8283463
refs/heads/master
2021-05-11T11:04:21.931850
2021-04-15T02:22:53
2021-04-15T02:22:53
118,119,796
1
0
null
null
null
null
UTF-8
C++
false
false
5,153
cpp
#include "stdafx.h" #include "CommUtils.h" #include "stdio.h" const int READ_TIMEOUT = 500; CommUtils::CommUtils() { bOpenCom = false; } CommUtils::~CommUtils() { this->CloseCom(); } bool CommUtils::OpenCom(int Port,unsigned long BaudRate ) { if (bOpenCom) { this->Clo...
[ "FC4305@faureciacoagent.com" ]
FC4305@faureciacoagent.com
cb74c1fa6b4e918e43b8a28cabf98ba14e143d01
72f21eb131870674a68b020156f2e0e54cceaba5
/main.cpp
e75d12e1e9ac50e542c71e933f2de3d7a103a70c
[]
no_license
BekrenevMA/lab04
9ee7cd7f827f1b1ae934f56c23a4ba4165049ea0
55c8b0f21fe8678aac8767d5c403bb65a5efaf64
refs/heads/master
2020-05-18T06:51:00.547765
2019-04-30T14:14:46
2019-04-30T14:14:46
184,247,363
0
0
null
null
null
null
UTF-8
C++
false
false
4,200
cpp
#include <iostream> #include <assert.h> using namespace std; char nibble_to_hex(uint8_t i) { assert(0x0 <= i && i <= 0xf); char symbols[]="0123456789abcdef"; return symbols[i]; } void print_in_hex(uint8_t byte) { cout<<nibble_to_hex(byte>>4) <<nibble_to_hex(byte&0x0f); } const uint8_t* as_b...
[ "misha@miasha.ru" ]
misha@miasha.ru
4c3997b9244b1a00c68672f5d52c70da37551958
4fdd217cb52b70bf73b78fc06fbf76748d00d091
/JobSender/main.cpp
982374007c77a1a5b50aaa3e17eda9ea65f8bc9b
[]
no_license
lopruben/School
e4bd3a67350e6172e07d0327ecb9698ff7eabae1
b9a874466be5e6d977f74030a0e173e6f13caeac
refs/heads/master
2021-01-22T05:16:28.173089
2014-11-17T02:09:11
2014-11-17T02:09:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQuickItem> #include <QQuickView> #include <QQmlEngine> #include <QQmlContext> #include <QQmlComponent> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("q...
[ "ruben.lopez@hpcds.com" ]
ruben.lopez@hpcds.com
c0aa044b6a46e67865ee5804f252b407171c1a04
ac507e24073717f0f2f43480101be5db0213c2c4
/pwiz_tools/Bumbershoot/idpicker/Qonverter/Logger.cpp
d8239d53b39aa743cacea055c08e031981ef325f
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
ProteoWizard/pwiz
7adbd5a276b49d5f0271eb8cfddbd6d21ee31318
f708f62d098c33ef60a76d92b038fde74361570a
refs/heads/master
2023-08-27T20:42:37.708268
2023-08-25T18:30:50
2023-08-25T18:30:50
124,952,577
185
92
Apache-2.0
2023-09-14T20:39:46
2018-03-12T21:16:01
C#
UTF-8
C++
false
false
1,197
cpp
// // $Id$ // // 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 to in writing, software...
[ "chambm@ca36993f-311d-43bf-b7bd-f3fd426d09d2" ]
chambm@ca36993f-311d-43bf-b7bd-f3fd426d09d2
b85d6a7a0ab3bc07c03c98fd52b0c70a171e0d70
743dcee2eb0a2f97b60bfc0dc7939d63681f1fa8
/tag/demo_nov-13/Server/mongodb/mongo/db/pipeline/document_source_match.cpp
03006c1e04336d29469d0c33e91ef82a78ed11f5
[]
no_license
l0gicpath/scribble-websocket-server
e3e5f035055a8534e48853dc550e516b977b37c6
c86955abc71e4f9c856924a93ddb510a463eed95
refs/heads/master
2021-01-21T00:25:20.570140
2013-04-29T18:18:43
2013-04-29T18:18:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,951
cpp
/** * Copyright (C) 2011 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
[ "frankyn@ubuntu.(none)" ]
frankyn@ubuntu.(none)
e19f19d813d1cfa84367d88288dc7d90f321bc7b
e65a4dbfbfb0e54e59787ba7741efee12f7687f3
/converters/wkhtmltopdf/files/patch-config.tests_unix_gnu-libiconv_gnu-libiconv.cpp
5f5c16ea37f577551301921bf60fcc6a9ecf101e
[ "BSD-2-Clause" ]
permissive
freebsd/freebsd-ports
86f2e89d43913412c4f6b2be3e255bc0945eac12
605a2983f245ac63f5420e023e7dce56898ad801
refs/heads/main
2023-08-30T21:46:28.720924
2023-08-30T19:33:44
2023-08-30T19:33:44
1,803,961
916
918
NOASSERTION
2023-09-08T04:06:26
2011-05-26T11:15:35
null
UTF-8
C++
false
false
351
cpp
--- config.tests/unix/gnu-libiconv/gnu-libiconv.cpp.orig 2015-01-03 18:06:12 UTC +++ config.tests/unix/gnu-libiconv/gnu-libiconv.cpp @@ -48,7 +48,7 @@ int main(int, char **) { iconv_t x = iconv_open("", ""); - const char *inp; + char *inp; char *outp; size_t inbytes, outbytes; iconv(x, &inp...
[ "tijl@FreeBSD.org" ]
tijl@FreeBSD.org
3bd16d52521dd62c913cab20a9de19eb29077f58
94db0bd95a58fabfd47517ed7d7d819a542693cd
/client/ClientRes/IOSAPI/Classes/Native/AssemblyU2DCSharp_NGUIText_GlyphInfo3590955929.h
3cf2c370eebc320405af6af7d94f033f8485ae61
[]
no_license
Avatarchik/card
9fc6efa058085bd25f2b8831267816aa12b24350
d18dbc9c7da5cf32c963458ac13731ecfbf252fa
refs/heads/master
2020-06-07T07:01:00.444233
2017-12-11T10:52:17
2017-12-11T10:52:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,424
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object2689449295.h" #include "UnityEngine_UnityEngine_Vector22243707579.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored ...
[ "1" ]
1
0f6bacffd1e0f7395a1efc9eafa688b581a8927b
2cce15887362c58716aaec9eaa486363984bcf42
/chapter10/10.3.cpp
fa82e396f29ddc81941fb5b43b5f562583ad1db2
[]
no_license
LiwenChii/cpp_practice
c0f2fc4ab1f44313023f4d69e62f0bf0b6835a5d
fa04723d764193280814509fcb6385e9e8336951
refs/heads/master
2020-03-30T10:17:37.952146
2016-02-25T14:58:29
2016-02-25T14:58:29
41,008,719
0
0
null
null
null
null
UTF-8
C++
false
false
292
cpp
#include <iostream> #include <vector> #include <algorithm> #include <numeric> using std::cin; using std::cout; using std::endl; using std::vector; int main() { vector<int> ivec = { 0, 1, 2, 2, 3, 3, 4, 44, 4 }; cout << std::accumulate(ivec.cbegin(), ivec.cend(), 0) << endl; return 0; }
[ "328957392@qq.com" ]
328957392@qq.com
ab1b8c8dd4e15e288daef8e05c8516a6fecbae47
4fd379b4ea5317f0e62b97ce1dcab4c569e7bbfe
/app/override_guard.hpp
dfdf20419e0bbeff3edb9845d4e432745da475dd
[]
no_license
sabel83/preshell
d60d1efc30f766ac3ccee0dee6bf62aba621df46
e56915e0d44b9718f7b0313f4382ffabfa6c1bb5
refs/heads/master
2021-06-06T05:26:03.784187
2016-01-01T11:29:49
2016-01-01T11:29:49
8,957,804
10
3
null
2020-10-04T16:45:46
2013-03-22T18:02:36
C++
UTF-8
C++
false
false
1,143
hpp
#ifndef PRESHELL_OVERRIDE_GUARD_HPP #define PRESHELL_OVERRIDE_GUARD_HPP // Preshell - Interactive C/C++ preprocessor shell // Copyright (C) 2013, Abel Sinkovics (abel@sinkovics.hu) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publ...
[ "abelsoft@freemail.hu" ]
abelsoft@freemail.hu
8f8e906547de0da39942c18ea1e011e138f1df2b
452c6d1c2cca5144972977a0ae50a5b72d695c28
/max_and_min_using_pointers.cpp
5ab9008bc982b20c4aeef073c2d2e622178553a8
[]
no_license
tanya9020/APS2020
0a9707e639df6ff69608146c99d4d29388e69d60
c24b1dae0376042ad222f8b633671ea6784122b4
refs/heads/master
2020-12-21T16:27:09.037561
2020-04-28T15:02:34
2020-04-28T15:02:34
236,489,165
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
#include <bits/stdc++.h> using namespace std; int main() { int arr[10]={4,11,2,1,15,3,8,9,6,7}; int *ptr=arr; int max=-99999,min=100000; for(int i=0;i<10;i++) { if(max<*ptr) { max=*ptr; } if(*ptr<min) { min=*ptr; } ptr++; } cout<<max<<" "<<min; return ...
[ "noreply@github.com" ]
tanya9020.noreply@github.com
5654041309db027eddafb17034b41e344da1ae7a
b82fff58d9b26f852388269eb58848c50c4d4940
/minesweeper/maincpp.cpp
c538d557a52d434192c299557b4c91b50053499e
[]
no_license
olegio170/minesweeper
5a4bd058f77fa30d97cfbd2fc338d7a4bb97bcd0
29488f723e2cfddc0b8b6a98ea61a029755fa316
refs/heads/master
2021-09-12T19:47:37.120362
2018-04-20T08:03:26
2018-04-20T08:03:26
77,481,952
0
1
null
null
null
null
UTF-8
C++
false
false
69
cpp
#include <iostream> #include <stdio.h> int main() { return 0; }
[ "o1999@ukr.net" ]
o1999@ukr.net
d575c86c1c07268a36b0423d8dcdbc10872fc608
7dda8e33d266ce0e62911c778b80a7d7d6bb1390
/src/SynchronizationInstrumentor/CodeTransformer.cc
371cc08c786801e8d5318a922cbcd12680e56149
[ "Apache-2.0" ]
permissive
mozafari/vprofiler
03c47ae1e3a807025967d2c2f75f1ccb0b22cc82
23e44f04ba7476d35080bd3bc3a03c8e941e762a
refs/heads/master
2020-04-16T17:55:06.692864
2018-04-24T17:30:21
2018-04-24T17:30:21
52,889,378
108
13
Apache-2.0
2018-04-24T17:30:23
2016-03-01T15:53:22
C++
UTF-8
C++
false
false
2,773
cc
#include <stdexcept> #include "CodeTransformer.h" using namespace clang; std::unique_ptr<CodeTransformer> CodeTransformer::singleton = nullptr; bool CodeTransformer::TransformFile(std::string &filename) { CreateCompiler(); const FileEntry *file = fileManager->getFile(filename); sourceManager->setMainF...
[ "jrectorb@umich.edu" ]
jrectorb@umich.edu
b2c0c10fd9f04e0db980af2dace9fefb3db71484
6570de0c645a49cdf2757bcb2529fd946a7ebd42
/SamplesZQCNN/SampleDetectMouth/SampleMouthDetector.h
0d42c403269fc4f4951c9b9d4164d8c2edd22086
[]
no_license
aliushn/ZQCNN-v0.0
9cb904177c0f9a0e0538bdc1dc4c7d2800be3f43
a15c3fd019c48197338bc8832faed52f5313ebd7
refs/heads/master
2020-03-26T11:10:33.695549
2018-08-15T03:06:16
2018-08-15T03:06:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,780
h
#ifndef _SAMPLE_MOUTH_DETECTOR_H_ #define _SAMPLE_MOUTH_DETECTOR_H_ #pragma once #include <string> #include "ZQ_CNN_MTCNN.h" #include "ZQ_CNN_SSD.h" #include "opencv2\opencv.hpp" #include "ZQ_CNN_DetectorInterface.h" namespace ZQ { class SampleMouthDetector : ZQ_CNN_DetectorInterface { public: class InitialArgs ...
[ "zuoqing1988@aliyun.com" ]
zuoqing1988@aliyun.com
35b4f668e5685ee981984d9692f78810b286122e
570c1e308029377d4f48a8f2408f9f0697b50075
/AbstractFactory/AbsFactory.cpp
a128f42b74d02cdc54e4006b98f2adcc66eff589
[]
no_license
abhi-k9/designPatterns
41997ef04ef675b8d671f65a1ffda3dc8fc1e56a
5dc9b99785ee85395d27d0d13a2fcf00c0d3dedc
refs/heads/master
2022-09-08T13:50:06.841651
2020-05-28T01:44:22
2020-05-28T01:44:22
267,432,997
0
0
null
null
null
null
UTF-8
C++
false
false
2,873
cpp
/** @file : AbsFactory.cpp * @author: Abhijit Kale * @date : 27th May 2020 */ # include <iostream> # include <string> using namespace std; /// @brief Base Door class class Door { public: Door(){} virtual void Open() = 0; }; /// @brief Concrete Door class class GasCarDoor : publ...
[ "kale.49@osu.edu" ]
kale.49@osu.edu
fe0531d1c3d1b8cdf0074d1a3ae39ba142006221
ac015ff3d799f832e87a5fa4de200712143cf9e9
/CH18/EXAMPLES/palindrome.cc
7303dad491fd132cffef8d11b2f1211545902cb8
[]
no_license
lfresco/Programming_Principles
0d592d14db90a7764dc160d481aa9b2cfe9dd59d
2c7d40324d935fef1bcfeab7a48a8fae7d0f85db
refs/heads/master
2020-04-19T03:17:43.120436
2019-02-02T17:18:48
2019-02-02T17:18:48
167,929,684
1
0
null
null
null
null
UTF-8
C++
false
false
1,249
cc
#include <iostream> #include <string> #include <cstring> /** * Is palindrome using std::string **/ bool is_palindrome (const std::string& s) { int first = 0; // indice della prima lettera int last = s.length() - 1; //indice dell'ultima lettera while(first < last) { if(s[first] != s[last]) return false; ++fi...
[ "loryfresco@gmail.com" ]
loryfresco@gmail.com
b14372f2bdc5f2ab68b71c8f8f3043d785e3d531
d761e11c779aea4677ecf8b7cbf28e0a401f6525
/src/include/ZlibCompressedData.hpp
985c137f566d5ce54f5e74f80a2ad8d01a909d6e
[]
no_license
derrick0714/infer
e5d717a878ff51fef6c9b55c444c2448d85f5477
7fabf5bfc34302eab2a6d2867cb4c22a6401ca73
refs/heads/master
2016-09-06T10:37:16.794445
2014-02-12T00:09:34
2014-02-12T00:09:34
7,787,601
5
1
null
null
null
null
UTF-8
C++
false
false
3,054
hpp
#ifndef INFER_INCLUDE_ZLIBCOMPRESSEDDATA_HPP #define INFER_INCLUDE_ZLIBCOMPRESSEDDATA_HPP #include <cmath> #include <zlib.h> #include "DataTypeTraits.hpp" /// \todo handle errors template <typename T> class ZlibCompressedData { public: /// \brief A typedef for the DataTypeTrait typedef blob_data_tag data_type; ...
[ "derrick0714@gmail.com" ]
derrick0714@gmail.com
142d91349ba55cab4462fe52e447780cbd8e522c
8eb7121fd08836a2016e91e7a755fa1f61fbe790
/mokomes/timer.cpp
8a625b2d14ba3ad745f6fcd4f91dcba19678f43e
[]
no_license
Humsas/planes-battle-server
72f8e003c3b45df4564cfb35eca3b36827ebc493
232adda5a71d2b3fdf84598dd98c38eb92600e8d
refs/heads/master
2016-09-13T22:17:16.829547
2013-06-02T18:56:55
2013-06-02T18:56:55
57,382,833
0
0
null
null
null
null
UTF-8
C++
false
false
851
cpp
#include "timer.h" Timer::Timer() { isPaused = false; speedMultiplier = 1.0; deltaTime = 0.0; startTime = timeGetTime(); lastTime = startTime; } Timer::~Timer() { //nothing to do here } void Timer::pause() { isPaused = true; } void Timer::resume() { isPaused = false; } voi...
[ "dariusbespalovas@users.noreply.github.com" ]
dariusbespalovas@users.noreply.github.com
e45f90d0477c3a876251e031934c77488a6011bd
9e1fb87d6aa5084c850d3165ea749da67d0add59
/codeforces/260_C_DIV1_CODEFOECES.cpp
a63ae2d68cd5353fc0738802916ddd2abaaebc16
[]
no_license
Yang-33/competitive-programming
673d57bc95efb559f8e2905bad758cd576505761
f85ef9f1a5763334e4d26f9206154e4f7c0a85ac
refs/heads/master
2021-01-12T03:19:17.961860
2019-10-06T15:35:48
2019-10-06T15:35:48
78,174,818
3
0
null
null
null
null
UTF-8
C++
false
false
3,171
cpp
#include <bits/stdc++.h> using namespace std; using VS = vector<string>; using LL = long long; using VI = vector<int>; using VVI = vector<VI>; using PII = pair<int, int>; using PLL = pair<LL, LL>; using VL = vector<LL>; using VVL = vector<VL>; #define ALL(a) begin((a)),end((a)) #define RALL(a) (a)....
[ "kasai.yuta0810@gmail.com" ]
kasai.yuta0810@gmail.com
21f543dcc8fd4c336484f16c2d7d0807f7761089
9c44a32c87f731a8e7d5d91ad80ab02b8bee49f4
/Modules/ITKVTKHelpers/ITKVTK_Helpers.cpp
c167b2918952bd24d853acc96af40a1467bb77a9
[ "Apache-2.0" ]
permissive
linson7017/MIPF
24ea935f6bb3c7bdb109c42d4968872381c86b13
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
refs/heads/master
2021-01-23T07:20:49.355315
2018-05-15T07:38:27
2018-05-15T07:38:27
86,419,578
5
2
null
null
null
null
UTF-8
C++
false
false
9,100
cpp
#include "ITKVTK_Helpers.h" #include <vector> #include <itkIndex.h> #include <vtkPoints.h> #include <itkBresenhamLine.h> #include <VTKImageProperties.h> #include "ITKImageTypeDef.h" namespace ITKVTKHelpers { std::vector<itk::Index<3> > PointsToPixelList(vtkPoints* const points) { // The points of the...
[ "linson7017@126.com" ]
linson7017@126.com
5bd94e9986ebe5a11dfe2abf2fe4467dc4a2b53f
9cd376a388eb6a812a8c86340256d92149fc72eb
/ABI/third_party/android-emugl/host/libs/libOpenGLESDispatch/GLESv1Dispatch.cpp
3bbcee3c0dc90cee47fa46d4dc1f17a842be5aa9
[]
no_license
frankKiwi/aid
f290372b031d797cad32264a55110096a777aaf5
0207d6101b349cb338e982b4b22ed25dae27dda1
refs/heads/master
2023-08-04T12:40:35.996158
2021-09-17T06:24:04
2021-09-17T06:24:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,471
cpp
/* * Copyright (C) 2011 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 applicable law or...
[ "voquanghoa@gmail.com" ]
voquanghoa@gmail.com
87f60655d6e71f1052a4763cb7535c9a0791ab79
bde250a5bd97435abf0ffa505ba3da1f129720d8
/ds/src/util/parser/utest/main.cxx
48aa8174a36fb478fd6516e9c26c31ed28277dfe
[]
no_license
KernelPanic-OpenSource/Win2K3_NT_ds
f45afd1a1243e42a8ccb489048f4a73946dad99f
0d97393773ee5ecdc29aae15023492e383f7ee7f
refs/heads/master
2023-04-04T00:34:51.876505
2021-04-14T04:49:28
2021-04-14T04:49:28
357,774,650
1
0
null
null
null
null
UTF-8
C++
false
false
4,027
cxx
#include <NTDSpch.h> #pragma hdrstop #include "parser.hxx" CParser parser; BOOL fQuit; // Expression 1: "What time is it" HRESULT Expr1Implementation(CArgs *pArgs) { SYSTEMTIME sysTime; GetLocalTime(&sysTime); printf("The time is: %02d/%02d/%04d @ %02d:%02d:%02d:%04d\n", sysTime.wDay, ...
[ "polarisdp@gmail.com" ]
polarisdp@gmail.com
e15d38e04579dfcf3f3817a9a30bc88109def3a7
9452341b3252759e1a9133b5e4676993e27f4dd8
/advection/HadleyLike/HRgrid4/test/system/extrudeMeshDict
c8e989d09dde40066e596cda59228f17e3e650af
[]
no_license
AtmosFOAM/hilaryRun
8af184499fe2001acb659dcd8b82920c50a76dc0
6eb682dbc9498e529d690bcb4a7b9cad179e8ea4
refs/heads/master
2023-09-04T07:33:52.157194
2023-09-01T07:38:11
2023-09-01T07:38:11
113,987,213
0
0
null
null
null
null
UTF-8
C++
false
false
1,462
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | ...
[ "h.weller@reading.ac.uk" ]
h.weller@reading.ac.uk