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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d5b12df6fc9f226fd8603bf2a9bd6e00bf4cfdf0 | 2a63cbaee66b1697890bdbd11ff80359317d612f | /SimpleRpc/rpcserver.h | 28c3d7a65806c80ca620d3c054349abb79298f08 | [] | no_license | Meteorix/UnrealPocoSdk | 757ede5254cf17f89b055aabe85c101dd971bc9a | b3dfdafcc9bf1e44092f17bf49cf58bb8897b7f4 | refs/heads/master | 2020-03-22T17:45:52.318670 | 2018-07-11T13:29:17 | 2018-07-11T13:29:17 | 140,414,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | h | #ifndef RPCSERVER_H
#define RPCSERVER_H
#include "iostream"
#include <string>
#include "Tcp/PassiveSocket.h"
#include "WinSock2.h"
#include "protocol.h"
#include "json.hpp"
#include <list>
#include <map>
#include <thread>
#include <functional>
using std::string;
using std::cout;
using std::endl;
using json = nlohman... | [
"gzliuxin@corp.netease.com"
] | gzliuxin@corp.netease.com |
85512cc521466c99bb84b18a878f812691dd8ae7 | c5b20eb450210a73e4acb49f347e16b861bee934 | /Arduino Code/Sailboat/Sailboat.ino | 21c629094c85ddfeac7a5bc88701d77601e66c20 | [] | no_license | rflmota/Sailboat | 446d2bfbe773f5fa5f2169d4b4074b953e74c9d6 | fae527d4c6fa0c166c24ef9145183fb93ef8cc2f | refs/heads/master | 2020-05-31T11:37:15.632018 | 2014-05-19T19:00:58 | 2014-05-19T19:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,585 | ino | #include <sail_controller.h>
#include <rudder_controller.h>
#include <Wire.h>
#include <Servo.h>
#include <TinyGPSPlus.h>
#define _DEBUG TRUE
const unsigned int COMPASS_I2C_ADDRESS = 0x60;
const unsigned int DEBUG_SERIAL_BAUDRATE = 57600;
const unsigned int GPS_SERIAL_BAUDRATE = 57600;
const unsigned int GPS_VALID... | [
"ricardoflmota@gmail.com"
] | ricardoflmota@gmail.com |
91e737f0d1e9eee11da9d94a26a044f198cbef0c | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rfast2/src/apply_funcs_templates.h | 9bdd3aeadc1011698b17bc2c4a248713bf74592a | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,261 | h | #include "templates.h"
using namespace std;
#ifndef FUNCS_TEMPLATES_H
#define FUNCS_TEMPLATES_H
/*
* sum(Bin_Fun( a, b))
* ? is a binary function
* a, b are iterators (should be same size)
*/
template<Binary_Function B, class T1, class T2>
inline double apply_funcs(T1 a, T2 b, const int sz){
double ret = 0.0;
for(... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
0481a5ae07f2a69c9beab888097a02c1261cb7c2 | 1af49694004c6fbc31deada5618dae37255ce978 | /ui/ozone/platform/wayland/host/wayland_zaura_shell.h | 3057ff66ce824b29906a3ccc9b220df95f6f6352 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 1,092 | h | // Copyright 2020 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 UI_OZONE_PLATFORM_WAYLAND_HOST_WAYLAND_ZAURA_SHELL_H_
#define UI_OZONE_PLATFORM_WAYLAND_HOST_WAYLAND_ZAURA_SHELL_H_
#include "ui/ozone/platform/w... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e1aacb4d5261f52e5f0e87bb65845a4a0dac2af6 | 44aa2e76764f37d27146f18e57f3d7397a29940c | /C++/ISC-EVA1/EVA1_10_CUNAESFERICA.cpp | 99d81ca902802e9e964efddad4af82fa101bb899 | [] | no_license | Nidia08/fundamentospro | 8118fa5fe8f29b091e69bea240989f2f3087d21d | 102c5f68b0b14595a0d93996ba2db3429cb34a4a | refs/heads/master | 2020-03-27T12:22:03.147615 | 2018-12-09T18:18:06 | 2018-12-09T18:18:06 | 146,542,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp |
//Nidia Gonzalez Morales 18550676
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>
using namespace std;
string toString (double);
int toInt (string);
double toDouble (string);
int main() {
cout<< "Ingresa el radio"<<endl;
double r;
cin>>r;
cout<<"In... | [
"nidia.gonzalezm08@gmail.com"
] | nidia.gonzalezm08@gmail.com |
8526437b98c6ea8d311fe63748ab0883c40c3722 | f4bc7cf7f667f98e0599ae87a4a558e87be0675a | /C++/121_BestTimetoBuyandSellStock.cpp | 483d9572399b69a4f3597bc83d82199c498dc100 | [] | no_license | Darren2017/LeetCode | 7867cbb8f0946045a51d0ffd80793fcd68c7d987 | cf4a6f402b32852affbc78c96e878b924db6cd0b | refs/heads/master | 2020-03-27T18:02:18.498098 | 2019-07-11T15:15:11 | 2019-07-11T15:15:11 | 146,894,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | class Solution {
public:
int maxProfit(vector<int>& prices) {
int min = prices[0], maxprice = 0, len = prices.size();
for(int i = 0; i < len; i++){
if(prices[i] < min){
min = prices[i];
}
if(prices[i] - min > maxprice){
maxprice = p... | [
"17362990052@163.com"
] | 17362990052@163.com |
09d6a7f66daeb5e5f487ba54e081915920f31170 | 9bc24fa2c325b5cb8c6ec6b3515e051a631956b7 | /vector2dsort.cpp | 6418d723d6d893ace37ad6dbad7c501b344be438 | [] | no_license | syedsiddhiqq/Competitive_programming | 5cdca1594fdc1dc78bccc6149e3ab327b57aadeb | c55fa87b8f4803d9f25ed2b028ad482501570697 | refs/heads/master | 2020-04-22T09:08:08.155827 | 2019-02-12T06:08:05 | 2019-02-12T06:08:05 | 170,261,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | /*
* @Author: SyedAli
* @Date: 2019-01-11 17:08:32
* @Last Modified by: SyedAli
* @Last Modified time: 2019-01-11 17:09:31
*/
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, k;
cin >> n >> k;
vector<pair<int, int> > a(n);
for (int i = 0; i < n; ++i) {
cin >> a[i].first;
a[i].second = i;... | [
"dineshananth97@gmail.com"
] | dineshananth97@gmail.com |
53568ae1f9836ded44cc08a8af5c18f094712e33 | 00788ef473065316489de368dbc9ccb14dd1b863 | /Classes/scene/TitleScene.cpp | 892941ed906a6118f8e0a5575f11c233db0901f0 | [] | no_license | KeitaShiratori/KusoGame4 | 3656632f067fa658b697398afe0893e43522ed7f | 92aff72a795ec466d9ef2a55205a781cd060f268 | refs/heads/master | 2021-01-22T01:54:42.552120 | 2015-05-06T06:42:58 | 2015-05-06T06:42:58 | 35,141,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,835 | cpp | #include "TitleScene.h"
#include "StageSelectScene.h"
#define WINSIZE Director::getInstance()->getWinSize()
#define T_DIALOG 1000
#define STAGE_SELECT_SCENE 1
USING_NS_CC;
//コンストラクタ
TitleScene::TitleScene()
{
}
//シーン生成
Scene* TitleScene::createScene() {
auto scene = Scene::create();
auto layer = TitleScene... | [
"keita.shiratori@gmail.com"
] | keita.shiratori@gmail.com |
84601eac4df491b674cdcf809efe46c4e6b56752 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /dsgc/include/tencentcloud/dsgc/v20190723/model/ReportInfo.h | e7c0867fae6f38fdb5a5991b8bf1deb5f364607e | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 19,301 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
d8a5cbc8bb4a8a2fbe58c0c80f272a23e87d7fb2 | 5f3cb89f65805aac2e9b69ac89d59b74062927aa | /AVL/AVLTest.cpp | 29738d38d65cc015bed78207992435ae54a6fc51 | [] | no_license | kk-codezeus/BST-AVL-Treap-Splay-Trees-Analysis | 5cc75d2c386827dab3bd3c128e8c0c5f7654227f | ae0de1db9f9ebd99e3cc31ed41bbc85d257caadf | refs/heads/master | 2020-05-21T14:30:06.628016 | 2019-05-11T03:33:36 | 2019-05-11T03:33:36 | 186,080,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,082 | cpp | #include "AVL.cpp"
using namespace chrono;
vector<int> randomKeys;
vector<int> sequentialKeys;
vector<int> recentAccessedKeys;
void loadThreeVectors()
{
ifstream random("../random_keys.txt",ifstream::in);
ifstream sequential("../sequential_keys.txt",ifstream::in);
ifstream recent("../recentAccess_keys.txt... | [
"kk3117@gmail.com"
] | kk3117@gmail.com |
c6d1ba859689b6c19f71f3d4cd71a5afa9f54eda | 05ac4e5a18cd01102719c67b591fa376d7f65ad0 | /src/RE/TESDescription.cpp | 64a5729e91d0e3eb8e53e40e43362b435009cb62 | [
"MIT"
] | permissive | CakeTheLiar/CommonLibSSE | 5beb42dee876e2b17265a63903d37f1b1586453e | ad4c94d0373f20a6f5bcdc776ba84bd4a3b24cea | refs/heads/master | 2020-08-14T05:47:28.042591 | 2019-10-14T19:21:03 | 2019-10-14T19:21:03 | 215,108,918 | 0 | 0 | MIT | 2019-10-14T17:47:07 | 2019-10-14T17:47:06 | null | UTF-8 | C++ | false | false | 453 | cpp | #include "RE/TESDescription.h"
#include "skse64/GameFormComponents.h" // TESDescription
#include "RE/BSString.h" // BSString
namespace RE
{
void TESDescription::GetDescription(BSString& a_out, TESForm* a_parent, UInt32 a_fieldType)
{
using func_t = function_type_t<decltype(&TESDescription::GetDescription)>;
... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
00434465cc3d7a82483463fe9fcd6e4a77fdc620 | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2017/solutions/D/DPK-Gabrovo/bio.cpp | 16454983b5d27cbeb4b0d4f320188c44b95a7929 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include <iostream>
#include <algorithm>
#include <cctype>
using namespace std;
struct dm
{
int d,m;
};
int main ()
{
char k;
dm a,b,c,d;
cin>>a.d;
cin.get(k);
cin>>a.m;
cin>>b.d;
cin.get(k);
cin>>b.m;
cin>>c.d;
cin.get(k);
cin>>c.m;
cin>>d.d;
... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
7e3d302e2a0d8ed086ef5033c05732aaac8deb5e | a4f6a06e41f0873bc5d71783051c2483e4a90314 | /UNITTESTS/stubs/storage/ProfilingBlockDevice_stub.cpp | 52a94fa5b1d805a744b74d56385559904afc3ce1 | [
"SGI-B-1.1",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MPL-2.0",
"BSD-3-Clause",
"BSD-4-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jeromecoutant/mbed | 20b7a5a4dfbcace7c5a6a2086fde939c28dc8a8b | bf07820e47131a4b72889086692224f5ecc0ddd7 | refs/heads/master | 2023-05-25T09:50:33.111837 | 2021-06-18T09:27:53 | 2021-06-18T15:18:48 | 56,680,851 | 2 | 4 | Apache-2.0 | 2018-09-28T12:55:38 | 2016-04-20T11:20:08 | C | UTF-8 | C++ | false | false | 1,898 | cpp | /*
* Copyright (c) 2017, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... | [
"antti.kauppila@arm.com"
] | antti.kauppila@arm.com |
517c9aa953f8fe7390817853726510980e386663 | 84120b6b73012288fcc907c37a165d548398d319 | /task1/src/2_power.cpp | 7a7e5b7379b01eb52af1aa8954a71744d404e696 | [] | no_license | t0pcup/cpp | 6866122d3d7c711fae35dcc2bb7a128a0bbb1ad9 | cf2b66d0b7397faa4a112b689f9d3ff0198e1a1e | refs/heads/master | 2022-12-17T00:07:46.233528 | 2020-09-28T09:48:55 | 2020-09-28T09:48:55 | 299,297,025 | 1 | 0 | null | 2020-09-28T12:10:35 | 2020-09-28T12:10:34 | null | UTF-8 | C++ | false | false | 630 | cpp | #include <cmath>
#include <gtest/gtest.h>
using namespace std;
// Написать реализацию функции возведения числа в степень
long long power(int, int);
#pragma region power tests
TEST(power, case1) {
EXPECT_EQ(8, power(2, 3));
}
TEST(power, case2) {
EXPECT_EQ(1, power(3, 0));
}
TEST(power, case3) {
EXPECT... | [
"h33el@yandex.ru"
] | h33el@yandex.ru |
d2915d4130b5ee72227ec0857729a52410166ef1 | 2148f667cc1b75213c8ae10f8f1b499aae3df980 | /LeetCode/90.子集2.cpp | cde571b99354afa79063e7747da203922aa98a7e | [] | no_license | zkk258369/Practice-of-some-Test | 346d14714bc3f9ea965abf294eadcb2f28622847 | 599914056f2b263a69621724961175f08bb622ac | refs/heads/master | 2021-07-12T16:24:18.974614 | 2020-10-11T07:29:45 | 2020-10-11T07:29:45 | 209,548,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
/* 思路一
* 1.先排序
* 2.递归过程中,遇到nums[i] == nums[i-1],则跳过这次递归
* 这样就避免了同层次的相同元素,而没有避免不同层次的相同元素,实现了去重。
*/
class Solution
{
private:
vector<vector<int>> res;
vector<int> cur;
public:
vector<vector<int>> subsetsWithDup(vector<int>& nums... | [
"zkk258369@163.com"
] | zkk258369@163.com |
dba8ad70a01928a37a8f7a3ced1408509804b5e1 | 3aa8a1168d18eda2ce0b0855a2fd265b5b445528 | /build-RefInfoEditor-Desktop_Qt_5_7_0_MinGW_32bit-Debug/debug/moc_showkeyboardfilter.cpp | 8012cb0acefa29963095a15f6199a74684480609 | [] | no_license | rymarchik/QtLearning | 49587addbcc8f878f421dfd6c47edcda4b3618f1 | 14986ea6120828f05bf2dab9dc5d0cce6ee969cc | refs/heads/master | 2021-01-17T20:32:15.858422 | 2017-01-16T13:41:09 | 2017-01-16T13:41:09 | 64,671,336 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,783 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'showkeyboardfilter.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************... | [
"alexander.rymarchik@gmail.com"
] | alexander.rymarchik@gmail.com |
1a864b989c02d636a73d935cfc22927e514ec171 | 03a4884c3feb088379967f404ebc844941695b67 | /Leetcode/周赛162/11.17_4.cpp | 27e24ce66096cf86ecc77f08c1512b076b2a1bd6 | [] | no_license | 875325155/Start_Leetcode_caishunzhe | 26686ae9284be2bdd09241be2d12bc192e8684bd | af15bf61ab31748724048ca04efb5fa007d4f7f5 | refs/heads/master | 2020-09-02T06:42:01.896405 | 2020-02-17T10:42:38 | 2020-02-17T10:42:38 | 219,158,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
struct city
{
char name[100];
double g1,g2,g3;
double gdp;
double ans;
}City[1005];
int cmp1(city a,city b)
{
return a.gdp<b.gdp;
}
int cmp2(city a,city b)
{
return a.ans<b.ans;
}
int main()
{
int n;
scanf("%d",&n);
for(in... | [
"875325155@qq.com"
] | 875325155@qq.com |
3ee61ace8a63c88a419e16fe01eee1b0f5521f64 | 788aed39b7253d761079a1478594488d67c4d1ef | /ue4Prj/Source/ue4Prj/Pickable.cpp | ac3c7f2f1a73ac19b198c4b0d5d4ad3cbcd5a576 | [] | no_license | Arbint/VersionCtrl | e6e384a474e0df4f9ec227ca479387f6370be1d0 | b3d92a99b144eadc1dffb0f2c9548616dfe3c0d7 | refs/heads/master | 2020-12-14T07:42:18.521443 | 2017-06-29T02:41:08 | 2017-06-29T02:41:08 | 95,582,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Pickable.h"
// Sets default values
APickable::APickable()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
VisualMesh... | [
"jingtianli.animation@gmail.com"
] | jingtianli.animation@gmail.com |
ffddf61a74de9c70c8c4b5fa6bb4c43bb047e74e | 8b08822c5b94516353b0b76f1b5fea5de0d6023b | /src/multi_armed_bandit.hpp | 04d222066f3d707893285c7f8bf599f845eadb6b | [] | no_license | phpisciuneri/k-armed-bandit | 72f031307efd28a3587bcc3992778a79788ffb44 | dd7f3d00d2d553abf20c866dde7521ca2edf60cd | refs/heads/main | 2023-06-16T09:48:00.894273 | 2021-07-16T15:51:42 | 2021-07-16T15:51:42 | 384,190,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | hpp | #ifndef MULTI_ARMED_BANDIT_HPP_
#define MULTI_ARMED_BANDIT_HPP_
#include <random>
#include <vector>
class Multi_armed_bandit {
public:
Multi_armed_bandit(int n_arms, std::default_random_engine& generator) : k(n_arms) {
// initialize known action values from ~ N(0, 1)
q_star.resize(k);
std::normal_dis... | [
"phpisciuneri@gmail.com"
] | phpisciuneri@gmail.com |
1407ba5cfd1bbf56582870bde9822f2e06f04c92 | f57e6c45958e317179926c935f36bf298a0f5e01 | /Project2/DatalogProgram.h | 5944745cb6fa316dbc1ec78888f88fc55e042571 | [] | no_license | tlfarny/CS236 | 9ff3ec7872c0a28a608f3ec5892fa5f07bde35af | 92584a22f993757bb874a7ad6219f0f16e7de0a8 | refs/heads/master | 2021-01-11T05:34:46.641720 | 2016-10-26T13:58:45 | 2016-10-26T13:58:45 | 71,487,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,937 | h | #pragma once
#include <set>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "Predicate.h"
#include "Rule.h"
using namespace std;
class DatalogProgram{
public:
DatalogProgram(){}
~DatalogProgram(void){}
void toString(){
cout<<"Schemes("<<Scheme.size()<<"):"<... | [
"noreply@github.com"
] | tlfarny.noreply@github.com |
6805d27c7ec0c8fca8ad1c22a9a680c8eb62dd08 | f9f493d11ad7e9e088d60714fa3e0209a7e70a5b | /Harkka_Sorsakivi_Manninen/Harkka_Sorsakivi_Manninen/include/vaittamavirhe.hh | fc7f5b8458182124cd4590c86c928c5e2d78408d | [] | no_license | Hirmuli/Labyrintti | dc5e7e6ff09adea7bd09b7947b9038d20e3c4b6e | bb39e0625f11fa93639d714a5d9337245a809d3f | refs/heads/master | 2021-01-10T18:36:52.004522 | 2015-05-04T17:58:04 | 2015-05-04T17:58:04 | 33,736,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | hh | #ifndef JULKINEN_TOT_VAITTAMAVIRHE_HH
#define JULKINEN_TOT_VAITTAMAVIRHE_HH
/**
* \file vaittamavirhe.hh
* \brief Julkinen::Vaittamavirhe-luokan esittely.
* \author ©2010 Jarmo Jaakkola <jarmo.jaakkola@tut.fi>,
* TTY Ohjelmistotekniikka
*/
// Kantaluokat
#include "virhe.hh"
// Standardikirjastot
#inc... | [
"e0tmanni@KA32012.tamk.ad"
] | e0tmanni@KA32012.tamk.ad |
9e98b7a97e167cb2bfbe06aca38c7b00c7c83d9c | d4bcd690abb41c6720aab07feeb205392c712793 | /Chapter 9/OOP Project/OOPProjectStep3/OOPProjectStep3/Source.cpp | 32a72724477c9eb9e60586c11a630a73aa1b8192 | [] | no_license | HyungMinKang/Cplusplus-Pratice | 39b26bf2a58b47d29ca7401ad4c47e1b87f2f899 | 22aa3d93d0304bff062e63a290a20d08bcb271a8 | refs/heads/master | 2022-05-28T01:41:22.711717 | 2020-04-29T01:21:17 | 2020-04-29T01:21:17 | 259,792,112 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,131 | cpp | /* step3 수정사항
깊은 복사- 복사 생성자 정의
Account 클래스
*/
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstring>
using namespace std;
const int NAME_LEN = 20;
void showMenu(void);
void makeAccount(void);
void depositMoney(void);
void withdrawMoney(void);
void showAll(void);
enum { MAKE = 1, DEPOSIT, WITHDRAW,... | [
"ramkid91@gmail.com"
] | ramkid91@gmail.com |
e7aae108e7307ddaf212935ef993a137cc8daf31 | 6fa29c69e3e5ec1acf2a0c25f94d733e523b731f | /LabProject13/LabProject13/GameFramework.h | ea25c8f11358da613720c256e77f11d6ae64d295 | [] | no_license | KU-t/3D-Game-Programming | 62bb4062cf79e871b88522e8f7f71933b502c7b7 | f4078b06362bf75a26bac6a2fc915f273a04585b | refs/heads/master | 2022-02-23T13:05:21.921440 | 2019-06-26T11:06:59 | 2019-06-26T11:06:59 | 174,095,293 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,507 | h | #pragma once
#include "Timer.h"
#include "Player.h"
#include "Scene.h"
class GameFramework{
private:
//게임 프레임워크에서 사용할 타이머
GameTimer m_GameTimer;
//프레임 레이트를 주 윈도우의 캡션에 출력하기 위한 문자열
_TCHAR m_pszFrameRate[50];
// Scene
Scene *m_pScene;
// Camera
Camera *m_pCamera = NULL;
// Player
Player *m_pPlayer = NULL;
... | [
"jhltk2426@naver.com"
] | jhltk2426@naver.com |
0e48a0784bc7daadc65c37b8d8cdb008759cc81d | 6929e7c71a6b12294a5307640ac04628221e5d54 | /2749.cpp | 46d280b2ea3f5ec51efaea7a792672cbfae4bbf2 | [] | no_license | right-x2/Algorithm_study | 2ad61ea80149cfe20b8248a6d35de55f87385c02 | a1459bfc391d15a741c786d8c47394a3e1337dc6 | refs/heads/master | 2021-06-29T23:13:56.230954 | 2021-03-03T08:25:35 | 2021-03-03T08:25:35 | 216,532,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | #include <iostream>
using namespace std;
long long arr[4]={0,1,2,0};
int fibo(long long x, long long n)
{
long long a;
if (n==1) return 1;
else if(n==2) return 2;
else if(x==n) return arr[3];
else
{
arr[3] = (arr[2]+arr[1])%1000000;
a = arr[2];
arr[2] = arr[3];
arr[1] = a;
x++;
fibo(x, n);
}
}
int ... | [
"kjw970103@gmail.com"
] | kjw970103@gmail.com |
8f082dfb0cc805a168500f84bc9beb4848dffda0 | aff0153d6d792b1396a34813809b1c2b4738a157 | /Engine/include/kat/renderer/VertexArray.hpp | e7deb80709b4c3c00279b3678ba1d1a85a128ba5 | [
"MIT"
] | permissive | superspeeder/thegame | 1614593bfb8afd59bf7d4d96c227c857b4334dcd | a8b80c919b6790236e9496ed1cdcbe1649fa3344 | refs/heads/master | 2023-03-17T17:23:27.461069 | 2021-03-11T17:23:12 | 2021-03-11T17:23:12 | 345,518,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | hpp | #pragma once
#include <glad/glad.h>
#include "kat/renderer/Buffer.hpp"
namespace kat {
class VertexArray {
private:
uint32_t m_VertexArray;
uint32_t m_NextIndex = 0;
public:
VertexArray();
~VertexArray();
void bind();
void unbind();
void attachEBO(kat::ElementBuffer* ebo);
void attribute(ui... | [
"andy@delusion.org"
] | andy@delusion.org |
073ade734c17a6dd23400224a13e62112dcd8ee3 | 4597f9e8c2772f276904b76c334b4d181fa9f839 | /C++/First-Missing-Positive.cpp | 20148f4dc840a2676ee855c4ed47615c1a5d336b | [] | no_license | xxw1122/Leetcode | 258ee541765e6b04a95e225284575e562edc4db9 | 4c991a8cd024b504ceb0ef7abd8f3cceb6be2fb8 | refs/heads/master | 2020-12-25T11:58:00.223146 | 2015-08-11T02:10:25 | 2015-08-11T02:10:25 | 40,542,869 | 2 | 6 | null | 2020-09-30T20:54:57 | 2015-08-11T13:21:17 | C++ | UTF-8 | C++ | false | false | 624 | cpp | class Solution {
public:
int firstMissingPositive(vector<int>& nums) {
int cur = 0;
while (cur < nums.size()) {
while (nums[cur] != cur + 1) {
if (nums[cur] > nums.size() || nums[cur] <= 0) {
break;
} else {
if (nums... | [
"jiangyi0425@gmail.com"
] | jiangyi0425@gmail.com |
2a5c1b35af01afca4bab98b00bd1e828b46a1822 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/TagResourceResult.h | 3fb3cb40432ffea19cf708c4faa9a112bdf74813 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 800 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotwireless/IoTWireless_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // ... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
d5d52a68655d2d0f84aaefd0a82b3f9bbc114817 | ce814fc0678bc864f8d38362660adc8de9e25329 | /Coursework/nclgl/Mesh.h | 82ea6f3ea3a076bb3cf0e4da85cf70dcb575c4bc | [] | no_license | nutiel/CSC5802 | c7329e3a4062b3e80bae0add7a6bcb349fb6394d | d0e26f9249625c90f98d856d707e68a75527c866 | refs/heads/master | 2021-08-18T21:34:21.308191 | 2017-11-23T21:06:09 | 2017-11-23T21:06:09 | 110,700,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | h | #pragma once
#include "OGLRenderer.h"
enum MeshBuffer {
VERTEX_BUFFER, COLOUR_BUFFER, TEXTURE_BUFFER, NORMAL_BUFFER, TANGENT_BUFFER, INDEX_BUFFER, MAX_BUFFER
};
class Mesh {
public:
Mesh(void);
~Mesh(void);
virtual void Draw();
static Mesh * GenerateTriangle(float x, float y, float z);
static Mesh * Generate... | [
"32769684+nutiel@users.noreply.github.com"
] | 32769684+nutiel@users.noreply.github.com |
c115ec5974c812caea42f391e5e1810a24abfec4 | 51c59bc864255b95ee29f9a87f1a9f84acbcc25b | /YellowBelt/Week3/Task3/bus_manager.cpp | 88d1a32e76931303726ecb4697ae29c44673bc22 | [] | no_license | Handwhale/Coursera | 2c8d6c25d6aba357a8172d4663f6640c1350d042 | e4fcf28394203f274a9180d4a7d30ee380d262fb | refs/heads/master | 2021-07-04T16:58:32.559122 | 2020-11-01T10:55:38 | 2020-11-01T10:55:38 | 195,672,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "bus_manager.h"
#include <vector>
void BusManager::AddBus(const string &bus, const vector<string> &stops) {
buses_to_stops[bus] = stops;
for (const auto &item : stops) {
stops_to_buses[item].push_back(bus);
}
}
BusesForStopResponse BusManager::GetBusesForStop(const string &stop) const {
... | [
"mr.rabbiton@gmail.com"
] | mr.rabbiton@gmail.com |
59cb28ded54536f411976be14cad000c2b8373a2 | c76346e1ac0e6ac32c2ada9496a5a92133146ced | /src/cpu_bsplv.cpp | 49b581cb0b006bb7cfbe96ebf2d4212082977f5f | [] | no_license | mhieronymus/GUSTAV | ed2cf58c4c6d4c6acf870118d88c142d9030829e | 97d09ae60e6734acf06c2780d0d4f814e0800446 | refs/heads/master | 2020-03-30T04:14:09.223343 | 2018-10-19T07:34:32 | 2018-10-19T07:34:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,636 | cpp | #include "cpu_bsplv.hpp"
CPU_BSPLV::CPU_BSPLV(
char * filename)
{
load_table(filename);
}
CPU_BSPLV::~CPU_BSPLV()
{
free_table();
}
// Binary search to find the leftmost spline with support.
// Uses left as first guess
void CPU_BSPLV::find_left_knot(
value_t * knots,
index_t n_knts,
index_t ... | [
"mhierony@students.uni-mainz.de"
] | mhierony@students.uni-mainz.de |
ebca16559a7918d8a8458a191b9abc8b0fbf90ba | bad323acc2683952743071f3dfaf7df09e799af0 | /WEEK_4/BOOKS1.cpp | c063eec4e0ad75d8694e79c354fd5bcca3db61cc | [] | no_license | hoangIT1/Applied-Algorithm | f9dd93befc07cfad13f8cfd0791cfd1ef2b1d18a | 687067390bddb482071d4a987afba52075b93e2e | refs/heads/main | 2023-04-30T07:18:01.815311 | 2021-05-11T17:06:04 | 2021-05-11T17:06:04 | 348,368,929 | 1 | 1 | null | 2021-04-22T17:42:54 | 2021-03-16T14:00:33 | C++ | UTF-8 | C++ | false | false | 1,301 | cpp | #include <bits/stdc++.h>
using namespace std;
long long int N;
long long int m,k;
long long int P[505],b[505],ans[505];
bool is_divided(long long int maxval) {
long long int sum = 0;
long long int cnt = 0;
for (int i = 1;i<=m;i++) {
b[i] = 0;
}
for (int i = m;i>=1;i--) {
if (sum+P... | [
"noreply@github.com"
] | hoangIT1.noreply@github.com |
93df2275918f6d65f6e197bba8b5412a613c441b | 7579d827cb7b50b438dfd9ef6fa80ba2797848c9 | /sources/plug_wx/src/luna/bind_wxAuiNotebookPage.cpp | c2a1591585c67e521b8ba11b61252eca8006ae03 | [] | no_license | roche-emmanuel/sgt | 809d00b056e36b7799bbb438b8099e3036377377 | ee3a550f6172c7d14179d9d171e0124306495e45 | refs/heads/master | 2021-05-01T12:51:39.983104 | 2014-09-08T03:35:15 | 2014-09-08T03:35:15 | 79,538,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,276 | cpp | #include <plug_common.h>
class luna_wrapper_wxAuiNotebookPage {
public:
typedef Luna< wxAuiNotebookPage > luna_t;
inline static bool _lg_typecheck___eq(lua_State *L) {
if( lua_gettop(L)!=2 ) return false;
if( !Luna<void>::has_uniqueid(L,1,43006525) ) return false;
return true;
}
static int _... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
9e7898d3f2ba8258fdfb3ab370a984326733e92a | 8263d56e3b565bdbec506b3823a9e4f1361ce284 | /19-01to03/qt_udpsocket/netcomm/cameradatapool.cpp | 0cdea1a8e7edaf96a515e23905b53535676a288b | [
"MIT"
] | permissive | 18325391772/blog-code-example | 52268d63f08a441f3a4819ae62c8d278c22d1baf | 8ea0cc00855334da045b4566072611c24c14c844 | refs/heads/master | 2020-05-30T12:23:52.054077 | 2019-05-31T03:54:27 | 2019-05-31T03:54:27 | 189,733,193 | 0 | 0 | MIT | 2019-06-01T12:59:48 | 2019-06-01T12:59:47 | null | UTF-8 | C++ | false | false | 656 | cpp | #include "cameradatapool.h"
#include <QDebug>
template<class T>
DataObjPool<T>::DataObjPool(int size)
{
T *pt;
pool.reserve(size);
for(int i = 0; i < size; i++) {
pt = new T();
pt->setValid(true);
pt->setId(i);
pool.append(pt);
}
numAvailable = size;
}
template <cl... | [
"752736341@qq.com"
] | 752736341@qq.com |
093d5b7e52c133f037ecaba064ed6ebb67163429 | f5f053975aadd70cadbf3831cb27d2873e51c808 | /ceEngine/Texture_D3D.cpp | 3a24097806d03bfe283b84256608137b2ec1e785 | [] | no_license | YoelShoshan/Dooake | fd5ded20b21075276c27899215392f6078d8713e | 254b74bc8fa30d38511d5bda992a59253cc8c37d | refs/heads/master | 2021-01-20T11:11:23.048481 | 2016-09-15T20:03:32 | 2016-09-15T20:03:32 | 68,323,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | cpp | #include "stdafx.h"
#include "Texture_D3D.h"
#include "Defines.h"
#include "LogFile.h"
extern ILogFile* g_pLogFile;
#include "ce.h"
#include <string>
#include "stdio.h"
///////////////////////////////////////////////////////////////////
// RESTORE RESTORE RESTORE RESTORE RESTORE RESTORE RESTORE RESTORE
#include ... | [
"yoelshoshan@gmail.com"
] | yoelshoshan@gmail.com |
9fadac1b5794ea48fba046e23a8d080436d1a7ce | 157668c81e84c9fd675a7fdcc7b350333a38f50d | /Selector.h | 7b76b1e95eb00fefb0db32b4e2af3e0e94ae1a41 | [] | no_license | SohaylaMohamed/Tournment-Predictor | 7a0f2e480fe35f5ec37f2c44231b7211d746c3d8 | e5fb7eb9b4e194e41c061cbe690c4c898b24beaf | refs/heads/master | 2022-09-15T02:15:29.443818 | 2020-06-02T19:51:49 | 2020-06-02T19:51:49 | 268,894,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | //
// Created by sohayla on 13/03/19.
//
#ifndef TOURNMENT_PREDICTOR_SELECTOR_H
#define TOURNMENT_PREDICTOR_SELECTOR_H
#include <string>
#include <map>
#include "State.h"
using namespace std;
class Selector {
private:
string index;
State *currentState;
public:
Selector(string index);
string getSelect... | [
"sohaylaMohammed734@gmail.com"
] | sohaylaMohammed734@gmail.com |
bf357ec8c055f8aeb88b152187db92ae8df705e3 | bfd6feab3383162d4cc6f7bbecc94ed7e1fb369b | /UI/Source/Crash.h | ebc70d833db327098fe0946cb394a4224cdef76f | [
"Apache-2.0"
] | permissive | paultcn/launcher | 1a9200ecf57bf8703031a442063d6ed904ce8dfe | d8397995e18200b12d60781ed485af04f70bff03 | refs/heads/master | 2021-07-13T00:52:56.408370 | 2017-09-27T09:13:31 | 2017-09-27T09:13:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef __CRASH_H__
#define __CRASH_H__
#include "../JuceLibraryCode/JuceHeader.h"
#include "Poco/Logger.h"
class Crash :
public juce::Component,
public juce::ButtonListener
{
public:
Crash();
~Crash();
void paint (juce::Graphics&) override;
void resized() override;
... | [
"i@crioto.com"
] | i@crioto.com |
f3bf32d9a46f4d375e16ed5c0ce2e142460ed71c | 307ff7435a9b6f0090c873626ff2861ccc0b7c41 | /c메모/문장만들기.cpp | 521c02891538510e6a424ea89fcc6d43b9f9666e | [] | no_license | sjoon627/basic_200 | eb579eca1d9633314ba98d981f426472d9109f3e | 4ab045557458e40e83752b1bc017b2047c84b253 | refs/heads/master | 2020-09-02T04:40:31.776787 | 2020-04-11T14:45:03 | 2020-04-11T14:45:03 | 219,133,766 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include <stdio.h>
#include <string.h>
int main()
{
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
int l,i,j,n;
char str[2][10000]={0};
int A[2][26]={0};
scanf("%s",str[0]);
l=strlen(str[0]);
for(i=0;i<26;i++){
A[0][i]=i;
}
for(i=0;i<l;i++){
A[1][str[0][i]-'a']+=1;
}... | [
"48435096+sjoon627@users.noreply.github.com"
] | 48435096+sjoon627@users.noreply.github.com |
d386ac319fef8b60b9b768a64b4ebb5a994c9741 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AutoMLSortBy.h | 71c6768156d431e4febc85c2bc0485a37b2836e2 | [
"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 | 659 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace SageMaker
{
namespace Model
{
enum class AutoMLSortBy
{
NO... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
d9e5fdad5396e973cbc0797fff346da2bd149651 | c3f18073dac4767129e28dece885dc95525c1f53 | /LeetCode/All/cpp/141.linked-list-cycle.cpp | 4be4dff40aab45aeae1044682b365db21fef4adc | [
"MIT"
] | permissive | sunnysetia93/competitive-coding-problems | 670ffe1ec90bfee0302f0b023c09e80bf5547e96 | e8fad1a27a9e4df8b4138486a52bef044586c066 | refs/heads/master | 2023-08-09T04:31:24.027037 | 2023-07-24T12:39:46 | 2023-07-24T12:39:46 | 89,518,943 | 20 | 22 | MIT | 2023-07-24T12:39:48 | 2017-04-26T19:29:18 | JavaScript | UTF-8 | C++ | false | false | 453 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool hasCycle(ListNode *head) {
ListNode *slow = head, *fast = head;
while (fast && fast->next) {
slow =... | [
"bhavi.dhingra@gmail.com"
] | bhavi.dhingra@gmail.com |
4107e7e24488ba4dd79c841baf3d6d43edced4c8 | 331dd3ecae04a64b0e9d54a86c5bd9d5db6a53ac | /src/http/Url.cpp | 5a349d7339cca79d20d5692e02cc4d403b5b2d3d | [] | no_license | makarenya/vantagefx | e6a3a3162beb1c29e627a5f94f8afc52ab961149 | 413e5568b55a1cb028063825681d32407a1fb277 | refs/heads/master | 2020-12-29T02:36:34.127314 | 2017-04-10T12:17:28 | 2017-04-10T12:17:28 | 55,528,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,753 | cpp | //
// Created by alexx on 17.04.2016.
//
#include "Url.h"
#ifdef _MSC_VER
#pragma warning(disable : 4503)
#pragma warning(push)
#pragma warning(disable: 4348) // possible loss of data
#endif
#include <boost/lexical_cast.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/fusion/adapted.hpp>
#include <boost/f... | [
"alexey@deli.su"
] | alexey@deli.su |
8ac3d1612b1617d2b1a66459033ce7d96637aa25 | 850c8077bfa06b340f54f44a425f79e2b583e415 | /Source/LivingAvatars/MyAnimationBlueprintLibrary.cpp | 16d2058ddb10ba2a072bcc5ea11f8626d8bc8eb7 | [
"MIT"
] | permissive | adamriley1219/VRAvatarMotion | 7d37fe611c022df86b802c9344779abbd3bfd179 | 17ca530d0a26fd77ccb9406947479585574a0aae | refs/heads/master | 2021-09-14T10:33:53.168961 | 2018-05-11T21:11:47 | 2018-05-11T21:11:47 | 105,055,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyAnimationBlueprintLibrary.h"
| [
"adamriley1219@gmail.com"
] | adamriley1219@gmail.com |
8837a59b9e397491c8514cf29845080c4ffb943b | 579d1b8d7166bf800369b5c96c80642c6d4c187a | /misc/Insert-Interval.cpp | eae313d3b4769da6cffd28392f98d43978e920f7 | [] | no_license | zephyr-bj/algorithm | bd1914d9d518ae2b8cccb0d6c3d1c9ba98dbe7bc | e2a52c533ba9bbd6d9530b672cb685ed3d9c4467 | refs/heads/master | 2022-10-14T01:41:45.221235 | 2022-09-26T08:47:51 | 2022-09-26T08:47:51 | 81,426,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | /*
* Insert-Interval.cpp
*
* Created on: Mar 14, 2017
* Author: Zephyr
*/
#include <vector>
using namespace std;
/**
* Definition for an interval.
*/
struct Interval {
int start;
int end;
Interval() : start(0), end(0) {}
Interval(int s, int e) : start(s), end(e) {}
};
class S... | [
"noreply@github.com"
] | zephyr-bj.noreply@github.com |
ceaa1419e7a2942b101102b19b67d496b1171197 | e1bfbf48adea8cc8e2a4daa2dc1dbcb5ae811df5 | /Hashing/hashChain.h | aa0efeed57b40b6208ed1913d2b036b6fe2701a2 | [] | no_license | utec-cs-aed/solution_mix | c702394a719c6232baf798a18d1c76a7f8c9cf4f | 06d75534ef185b770e20c4fc6a211d97bb03fd33 | refs/heads/main | 2023-04-20T18:32:17.694779 | 2021-05-10T19:48:51 | 2021-05-10T19:48:51 | 300,741,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | h | template <typename TK, typename TV>
class Hash
{
private:
struct Node {
int hashCode;
TK value;
TV value;
Node* next;
};
int arrayLength;
int size;
Node** array;
public:
Hash(int _length)
{
arrayLength = _length;
array = new N... | [
"heider.sanchez.pe@gmail.com"
] | heider.sanchez.pe@gmail.com |
b49b4f5e70bdfdd70db0b4ecc8e8eef792efbdf5 | 0b049f21ccdb20c78dc8e94fdca9c5f089345642 | /算法竞赛宝典/第三部资源包/第八章 线段树/天网.cpp | 1b36df77ee70726b7dc9898db9eda856b741179d | [] | no_license | yannick-cn/book_caode | 4eb26241056160a19a2898a80f8b9a7d0ed8dd99 | 5ea468841703667e5f666be49fece17ae0d5f808 | refs/heads/master | 2020-05-07T14:17:50.802858 | 2019-04-10T13:01:19 | 2019-04-10T13:01:19 | 180,582,574 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,786 | cpp | //天网
#include<stdio.h>
#define Max 200001
struct data
{
int l,r,max;
}node[3*Max];
int score[Max];//保存分数
int max(int a,int b)
{
return a>b? a:b;
}
void BuildTree(int left,int right,int num)//建树
{
node[num].l=left;
node[num].r=right;
if(left==right)
... | [
"happyhpuyj@gmail.com"
] | happyhpuyj@gmail.com |
e4a434214f75311828d431b69b07540d390f43a0 | cb6588134336d847031f6e5b76ec1565ab786013 | /src/interfaces/node.h | e601a964cd8151c316247dfa8da7b8df13d57d0a | [
"MIT"
] | permissive | mkscoin/mkscoin | 10d4bb1ee557aa1ab50b46a36cfa66995821b888 | a4436857087a727a5d1b03f8380764b04d954f04 | refs/heads/master | 2023-06-02T19:49:30.987647 | 2021-06-11T05:34:29 | 2021-06-11T05:34:29 | 375,903,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,669 | h | // Copyright (c) 2018 The mkscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef mkscoin_INTERFACES_NODE_H
#define mkscoin_INTERFACES_NODE_H
#include <addrdb.h> // For banmap_t
#include <amount.h> ... | [
"15370399888@163.com"
] | 15370399888@163.com |
ef6f61e71bb0eebc8d0b82289aaf6e97658cab9f | 4e49f2b456882ba8643907a196f86b3062004243 | /MFCTeeChart/MFCTeeChart/TeeChar/surfaceseries.h | 81c1db4b88c1f559d1c30528ef5bbd01fa448c26 | [] | no_license | 772148702/Artificial-Intelligence | d4616acf13a38658fc38e71874091b4a0596f6ac | 3b2c48af7a88adc2d2fab01176db7c811deda1d1 | refs/heads/master | 2018-08-29T19:14:37.293494 | 2018-07-06T15:16:10 | 2018-07-06T15:16:10 | 108,261,921 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | h | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CValueList;
class CBrush1;
cl... | [
"772148702@qq.com"
] | 772148702@qq.com |
c63707a0834964c3e154bedfc5914cc05a594069 | 2277375bd4a554d23da334dddd091a36138f5cae | /ThirdParty/CUDA/include/thrust/system/detail/generic/reduce_by_key.h | e8e182aa99c61dfc682eaf52cc2c91a69ad9fbf7 | [] | no_license | kevinmore/Project-Nebula | 9a0553ccf8bdc1b4bb5e2588fc94516d9e3532bc | f6d284d4879ae1ea1bd30c5775ef8733cfafa71d | refs/heads/master | 2022-10-22T03:55:42.596618 | 2020-06-19T09:07:07 | 2020-06-19T09:07:07 | 25,372,691 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | h | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* 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... | [
"dingfengyu@gmail.com"
] | dingfengyu@gmail.com |
f28be2d03da382d7464f610a983f84d6e3f8d966 | bf26310b4c2b5010b38eabc1db859b7d2c98aaf4 | /tailieu/stack.cpp | 6ce82967da7f7ed5839a4a98f78139d955f7c44f | [] | no_license | nhaantran/ctdl | 03ed8583a56c8a8a266afb58ff4b76e6e05e212c | 7dd34adbea6ff807767cdd9f8fb4310a73841481 | refs/heads/master | 2023-07-03T00:29:53.042004 | 2021-08-08T09:04:15 | 2021-08-08T09:04:15 | 393,911,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <iostream>
using namespace std;
struct node
{
int info;
node *pnext;
};
struct List
{
node *phead;
node *ptail;
};
void createlist(List &l)
{
l.phead=l.ptail=NULL;
}
node *createnode(int info)
{
node *p=new node;
p->info=info;
p->pnext=NULL;
return p;
}... | [
"20520259@gm.uit.edu.vn"
] | 20520259@gm.uit.edu.vn |
09cc47113b6223766cb38eebc0e022fbf49ed53e | 41ece9eafe777948758fa3c5d12bc238829164bc | /Arduino/dj_controller/dj_controller.ino | dad40ff043bab160745079b50ccedff13faef57a | [] | no_license | edition89/projects | d4d3a6ecb80cad18e74d9402c401d85077eb974a | d2052d89b2b460f8b6cb9d0f3a08904c50df7862 | refs/heads/main | 2023-04-06T13:02:30.321554 | 2021-04-19T08:46:20 | 2021-04-19T08:46:20 | 359,360,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,928 | ino | #define CLK 15 //Энкодер
#define DT 14
#define SW 16
#define PIN 6 //Neopixel
#define NUMPIXELS 32
#define ARRENC 6 // Массив действий энкодера
#define DOUBLEARR 16 // Смешение на массив
#define ROWS 4 // Столбцы
#define COLS 4 // Строки
#include <TM1638lite.h>
#include "GyverEncoder.h"
#include "MIDIUSB.h"... | [
"roman_gabibullae@mail.ru"
] | roman_gabibullae@mail.ru |
a6ce341b1c339a679de64b507e70b915cf30ddc7 | fdf6a2c879bf56bfa684cb82cbc09d28de5a30ce | /simplealignment.h | 86aed7fdc3f9a08154fd87fd696425e2e032f5a7 | [] | no_license | rickbassham/indi-celestron-cgx | 2820cb230c0535cb3cc014a5f09f276c28bd5d23 | 1878fbd8ac8b638c596bc6df5cfeb61f4aa0f5a7 | refs/heads/main | 2023-02-26T09:27:43.434670 | 2021-02-03T22:04:20 | 2021-02-03T22:04:20 | 318,504,488 | 5 | 2 | null | 2021-01-02T21:39:52 | 2020-12-04T12:06:24 | C++ | UTF-8 | C++ | false | false | 1,622 | h | #pragma once
#include <stdint.h>
/*
Simple class to map steps on a motor to RA/Dec and back on an EQ mount.
Call UpdateSteps before using RADecFromEncoderValues. Or call EncoderValuesFromRADec to get
the steps for a given RA/Dec.
*/
class EQAlignment
{
public:
enum TelescopePierSide
{
PIER_UNKNOWN ... | [
"brodrick.bassham@gmail.com"
] | brodrick.bassham@gmail.com |
319b044afa2e5f84360e2658bd4be8639a2780f9 | 976aa8b8ec51241cbac230d5488ca4a24b5101dd | /lib/dart_analyzer_execreq_normalizer.h | 15ec09c1f43fb183a1a67a00fd7099126239ea85 | [
"BSD-3-Clause"
] | permissive | djd0723/goma-client | 023a20748b363c781dce7e7536ffa2b5be601327 | 1cffeb7978539ac2fee02257ca0a95a05b4c6cc0 | refs/heads/master | 2023-03-29T07:44:30.644108 | 2021-03-24T11:49:54 | 2021-03-24T15:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | h | // Copyright 2019 The Goma 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 DEVTOOLS_GOMA_LIB_DART_ANALYZER_EXECREQ_NORMALIZER_H_
#define DEVTOOLS_GOMA_LIB_DART_ANALYZER_EXECREQ_NORMALIZER_H_
#include "lib/execreq_normalizer.... | [
"tikuta@chromium.org"
] | tikuta@chromium.org |
767d664db770d1a35c6bea61e8c1a3cd06e13ec0 | 097b30de420bd68117a20613e4ed62f1f994626a | /crc8saej1850.h | d24002d1a7d43b10b0225b5c205b1f491b54d97b | [] | no_license | Kompot11181/BreakCRC | 276a8afaeb5e26c54b7933929a0f17223cfe2c77 | 4fb5045b241d6b9f7aa01888170f64e0faa1af51 | refs/heads/master | 2022-11-10T17:00:51.352924 | 2020-06-27T13:29:20 | 2020-06-27T13:41:52 | 275,375,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | #ifndef CRC8SAEJ1850_H
#define CRC8SAEJ1850_H
#include <QtCore>
// класс, описывающий алгоритм CRC-8-SAE J1850
// x8 + x4 + x3 + x2 + 1 (0x1D | 0x100)
// Нормальное представление: 0x1D
// Реверсивное представление: 0xB8
// Реверснивное от обратного: 0x8E
class crc8SAEJ1850
{
public:
crc8SAEJ1850();
void CRC... | [
"chosen_i@inbox.ru"
] | chosen_i@inbox.ru |
4776dcc3397d6a31edce20e052df04eaae95f1a6 | 1aa38513e62d081e7c3733aad9fe1487f22d7a73 | /compat/shm.h | 61efaf6880a2d0288b65f68930f990cba6822c96 | [
"ISC",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cpuwolf/opentrack | c3eae3700a585193b67187c6619bf32e1dedd1aa | 5541cfc68d87c2fc254eb2f2a5aad79831871a88 | refs/heads/unstable | 2021-06-05T14:18:24.851128 | 2017-11-02T13:10:54 | 2017-11-02T13:10:54 | 83,854,103 | 1 | 0 | null | 2017-03-04T00:44:16 | 2017-03-04T00:44:15 | null | UTF-8 | C++ | false | false | 884 | h | /* Copyright (c) 2013 Stanislaw Halik <sthalik@misaki.pl>
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*/
#pragma once
#if defined(_WIN32)
#inc... | [
"sthalik@misaki.pl"
] | sthalik@misaki.pl |
eaa77ce02591f2e0b52f55b6d4c33ad21c7ed0b9 | e51382641be2b0ba5c6dfcb8952ab5bc7ee295bd | /include/Vertex.h | 185728036ac4cae329fb6657bcd2107e02d750fb | [] | no_license | dragod812/Straight-Skeleton-Implementation | c55c715800b1b6d0f66634d227a61e54eeeb70b7 | 52dfc23b8db20e69e6e5f5ff3520ae92e47afccf | refs/heads/master | 2020-03-14T09:08:28.438776 | 2018-04-29T23:53:52 | 2018-04-29T23:53:52 | 131,539,229 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #ifndef VERTEX_H
#define VERTEX_H
class Vertex;
#include "Point.h"
#include "CLLNode.h"
#include<memory>
#include "Ray.h"
#include "Edge.h"
#include "Direction.h"
enum Type { EDGE, SPLIT };
class Vertex{
public:
Point<double> coord;
Ray* bisector;
Edge* inEdge;
Edge* outEdge;
CLLNode* cllNode;
... | [
"sidtastic11@gmail.com"
] | sidtastic11@gmail.com |
1eb5ec136545e8c7e67712b9e62b8e415f495146 | cf27788f1c1e5b732c073d99b2db0f61bb16b083 | /test.cc | 037b0665d2e68e557291094699a87b8f75c1f1ba | [] | no_license | mjorgen1/LinearRegressionMLE | 1958db24771c01f368650a14a1be830ff85f81b2 | 2a79c35595b378227cdfc91d67732814ade69847 | refs/heads/master | 2021-06-20T04:52:27.452594 | 2017-06-28T19:31:08 | 2017-06-28T19:31:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cc | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <cmath>
#include "Eigen/Dense"
using namespace std;
using namespace Eigen;
MatrixXd fromFile(const string &input_file_path) {
// Reads in the file from "input_file_path"
ifstream input_file(input_file_path, ifst... | [
"mjorgen1@villanova.edu"
] | mjorgen1@villanova.edu |
c6b00d9b7b67737b7ddab6c33da4683b6d498b2d | 8f2a6d9e1fbd84f2956ee0b34f5ca488558c9ab9 | /reports/jscope_hugefile/write_huge.cpp | 3240a1f71333476a6b6cd0bc3e8b97f8e57f4419 | [] | no_license | MDSplus/MDSip-tests | 51275346aaca15da76212a98c093e4e0a2b45ba2 | 11721c8c0d0415608d93a2501ea74ad5d1e95189 | refs/heads/master | 2020-12-21T23:17:58.618124 | 2017-05-26T12:49:52 | 2017-05-26T12:49:52 | 29,479,981 | 0 | 0 | null | 2017-05-26T08:37:11 | 2015-01-19T16:28:54 | C++ | UTF-8 | C++ | false | false | 1,759 | cpp | #include <mdsobjects.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <sys/time.h>
#include<math.h>
#define SEGMENT_SAMPLES 500000
#define NUM_SEGMENTS 1000
int main(int argc, char *argv[])
{
int loopCount = 0;
struct timespec waitTime;
struct timeval currTime;
waitTime.tv_sec = 0;
waitTime.tv_n... | [
"andrea.rigoni@pd.infn.it"
] | andrea.rigoni@pd.infn.it |
6465726d9bcd0d53683cc5d3e1442ed3631db2ab | 0ea91e94e0f4ce02ffb5afc1af806f660cf6131e | /Fourth/class.cpp | 66c40c6f2df3ba47a992a9d169ae0b15b455c37d | [] | no_license | Syxxx/Coursework | f8399654f2cc72799d9f549c148276b4392ab4b1 | 40840de6fe282bf5ae59dcb4d446f027c81f9041 | refs/heads/master | 2021-01-20T03:06:32.670448 | 2017-06-12T06:08:56 | 2017-06-12T06:08:56 | 89,145,567 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,845 | cpp | #include <iostream>
#include "Arithmetic_H.h"
using namespace std;
void UserInteraction::printNumber()
{
switch (language)
{
case 1:cout << "请输入题数:"; break;
case 2:cout << "Please enter a number of questions:"; break;
defaul:cout << "Error!"; break;
}
}
UserInteraction::UserInteraction()
{
}
UserInteraction... | [
"303241829@qq.com"
] | 303241829@qq.com |
2609df0b39f6c063c07d56762615860dccea5fcb | 3ef9dbe0dd6b8161b75950f682ec2fc24f79a90e | /MT_Cup/H/large.cpp | eed27722b56050c5b3b9dd739caad55933998c33 | [
"MIT"
] | permissive | JackBai0914/Competitive-Programming-Codebase | abc0cb911e5f6b32d1bd14416f9eb398b7c65bb9 | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | refs/heads/main | 2023-03-29T14:17:36.190798 | 2021-04-14T23:15:12 | 2021-04-14T23:15:12 | 358,065,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,611 | cpp | 2 0 0
3 2 1
4 3 2
5 2 3
6 3 1
7 3 5
8 0 3
9 6 0
10 6 4
11 4 7
12 0 9
13 4 5
14 10 9
15 13 7
16 13 8
17 10 16
18 12 13
19 12 18
20 2 19
21 8 6
22 20 3
23 7 21
24 15 6
25 17 16
26 14 25
27 10 17... | [
"xingjianbai0914@sina.com"
] | xingjianbai0914@sina.com |
803bcb47eeff7d8871d343a44751b277134adad6 | 528f3cc7cadbf30ccce8286ee04e375e03cb3a15 | /smskinedit/implementation/control/impl/EditorControl.cpp | 4866a689cb23bca0c26d8fd999daef909977c935 | [
"MIT"
] | permissive | CorneliaXaos/SMSkinEdit | b59f26aade2ead8d4f10dc1ef884ea7cc96d0bed | 119766d3cb4f0ac1f43ee4e102ed0f8939aea87b | refs/heads/master | 2021-01-18T16:40:24.829422 | 2017-04-18T10:29:53 | 2017-04-18T10:29:53 | 86,755,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include "control/impl/EditorControl.h"
namespace smskinedit {
namespace control {
void EditorControl::setUseInternalEditor(bool useInternalEditor) {
_useInternalEditor = useInternalEditor;
onControlUpdated(EditorControl::INTERNAL_EDITOR);
}
bool EditorControl::shou... | [
"cornelia.xaos@gmail.com"
] | cornelia.xaos@gmail.com |
fd1ab0aef283e9c3eb3170325bd53a5cb79579a8 | 4a28104787a4ce3bf362fda9182e4f1fe6276c30 | /implementations/1348A.cpp | e08a5ef3d986b9c2647e84ec6c4348038ec5c4ba | [] | no_license | Ason4901/geeksforgeeks | d0538a22db00c86e97ec8b9f6c548ebd1ecef8ce | 777aa4c0752bb0a9b942922e1ad99095a161cc6b | refs/heads/master | 2023-02-24T07:51:15.469015 | 2021-01-30T15:36:20 | 2021-01-30T15:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp |
#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <chrono>
#include <complex>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define pii pair<int,int>
#define pll pair<long long, l... | [
"51023991+abhinavprkash@users.noreply.github.com"
] | 51023991+abhinavprkash@users.noreply.github.com |
baca92bd21304160fdebe65fd867dbf076c7ef66 | 2f6278ca84cef2b2f5b85bf979d65dcbd4fa32a9 | /algorithms/scrambleString.cpp | 00f32f5ca38cbd7593557a0e7eab11d9f3a57f4a | [
"MIT"
] | permissive | finalspace/leetcode | ffae6d78a8de1ab2f43c40bccc10653e3dec2410 | 4a8763e0a60f8c887e8567751bd25674ea6e5120 | refs/heads/master | 2021-06-03T13:39:16.763922 | 2019-07-26T07:35:03 | 2019-07-26T07:35:03 | 40,842,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,151 | cpp | // Source : https://leetcode.com/problems/scramble-string/
// Author : Siyuan Xu
// Date : 2015-08-14
/**********************************************************************************
*
* Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
*
* Belo... | [
"finalspace.1031@gmail.com"
] | finalspace.1031@gmail.com |
2a9e34f4b80718544072cd3628aa865b2fc2444d | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-cloudtrail/source/model/ListImportFailuresRequest.cpp | ade8ef608d1c86bd1bd4cc70982c26793f66a1d9 | [
"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 | 1,237 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/cloudtrail/model/ListImportFailuresRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CloudTrail::Model;
using namespace Aws::Utils::Jso... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
470a77c2d03500db09f5d006bed664ae97db4c30 | a0940d0bb63fc78fce26f2286d8c9b753b880ae3 | /task2-sol.cpp | 862b349c4720731441f52830094d548acc7843b3 | [] | no_license | Kourosh-Davoudi/STL | 170530ac5e7d94e78bcdcda24bf7e109fa7fdda6 | 525a994cd172aa6a2886d30fd669663bc81369d4 | refs/heads/master | 2021-04-03T18:34:44.352481 | 2020-03-28T16:47:11 | 2020-03-28T16:47:11 | 248,386,326 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cpp | // Student class is implemented based on string and do not need any change
#include <iostream>
#include <fstream>
#include <string>
#include <set>
using namespace std;
// ----------------------------- Base class
class Person{
protected:
string name;
public:
void setname(char const *);
string getname(... | [
"noreply@github.com"
] | Kourosh-Davoudi.noreply@github.com |
48d9f45f39bcb60ed5e474c22dde595e8d72f104 | 850a39e68e715ec5b3033c5da5938bbc9b5981bf | /drgraf4_0/Allheads/Mi_obj3d.h | 03f18c3d6340be8f333090d46876a517917e0aef | [] | no_license | 15831944/drProjects | 8cb03af6d7dda961395615a0a717c9036ae1ce0f | 98e55111900d6a6c99376a1c816c0a9582c51581 | refs/heads/master | 2022-04-13T12:26:31.576952 | 2020-01-04T04:18:17 | 2020-01-04T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | h | // ELMouse.h : header file
//
#ifndef _MI_OBJ3D_H
#define _MI_OBJ3D_H
//#undef AFX_DATA
//#define AFX_DATA AFX_EXT_DATA
#include "drObj3D.h"
#include "DListMgr.h"
#include "Def_Type.h"
/////////////////////////////////////////////////////////////////////////////
// CMouse vi... | [
"sray12345678@gmail.com"
] | sray12345678@gmail.com |
12cd74be7c2809147f44d95c0780e8e7a244657f | 62d6e09be253895ef4f574265e4b86a3fe3936d3 | /Getopt/ShortFunction.cpp | 112d134c17eaaa08e514fb1e7abb1c3522bec998 | [] | no_license | JackWyj/Getopts | d8fa752680467dcf053c8af827f2ec48cd375df5 | 02e7b30a0d593cf127afdfd5a152aa0210496868 | refs/heads/master | 2016-09-08T02:03:18.458048 | 2015-06-23T13:34:13 | 2015-06-23T13:34:13 | 37,046,440 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "stdafx.h"
#include "ShortFunction.h"
ShortFunction::ShortFunction(void)
{
ch = 0;
have_param = false;
}
ShortFunction::ShortFunction(char c , bool b){
ch = c;
have_param = b;
}
ShortFunction::~ShortFunction(void)
{
}
bool ShortFunction::haveParam(){
return have_param;
}
char ShortFunction::getch(){... | [
"568887572@qq.com"
] | 568887572@qq.com |
e4b1d126bdfa72583dbdff7118343bf1c0875958 | 44b79f3468fc295e856e8cadd42441c7f05dd1e7 | /module06-study-stl/city.cpp | 892c44d1104d818fe54bd6ea1a4e2ebf34296479 | [
"MIT"
] | permissive | deepcloudlabs/dcl118-2020-sep-21 | e000a2e83692a08dd7064af9b9df8aea8c0377f4 | 900a601f8c9a631a342ad8ce131ad08825d00466 | refs/heads/master | 2022-12-25T14:36:20.319743 | 2020-09-23T14:56:50 | 2020-09-23T14:56:50 | 297,109,828 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include "city.h"
namespace world {
city::city(int id, const std::string &name, const std::string &country_code, int population) {
this->id = id;
this->name = name;
this->population = population;
this->country_code = country_code;
}
};
std::ostream &operator<<(st... | [
"deepcloudlabs@gmail.com"
] | deepcloudlabs@gmail.com |
a411158a8ced855fd1a0b0524a30a14f5da21d54 | 5c83b3b84af296ee2aaf4ff879fba949921668f0 | /src/core/vertex_buffer_base.cpp | d57fe45761c166f78655401408ecc5b04593336a | [] | no_license | stevebeard/rend | 8785dd6a71d9f2ebec8a83264fbcbd587c5f67fb | 852b01252da9f9d77fd9ea3bf8743c64aa2e09b1 | refs/heads/master | 2020-07-29T22:00:32.250020 | 2019-09-13T15:39:11 | 2019-09-13T15:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include "vertex_buffer_base.h"
using namespace rend;
VertexBufferBase::VertexBufferBase(void)
: _count(0), _bytes(0), _vertex_bytes(0)
{
}
VertexBufferBase::~VertexBufferBase(void)
{
}
uint32_t VertexBufferBase::count(void) const
{
return _count;
}
size_t VertexBufferBase::bytes(void) const
{
return _... | [
"alas.paterson@gmail.com"
] | alas.paterson@gmail.com |
7d0b9df182f454e20608fd8f6553fe6d3c6dccba | 9f0d42c412db503f0759980a35136618ac6fda79 | /MyProjects/C++/2021/07.19/ZR1955.cpp | d83200d4a6052c9097817442def7e6c6b39fc1f2 | [] | no_license | lieppham/MyCode | 38a8c1353a2627d68b47b5f959bb827819058357 | 469d87f9d859123dec754b2e4ae0dced53f68660 | refs/heads/main | 2023-08-25T04:00:00.495534 | 2021-10-21T12:15:44 | 2021-10-21T12:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | //Created by yanyanlongxia on 2021/7/23
//
#include <bits/stdc++.h>
#define ll long long
#define clm(x) memset(x,0,sizeof(x))
#define infm(x) memset(x,0x3f3f3f3f,sizeof(x))
#define minfm(x) memset(x,0xcf,sizeof(x))
using namespace std;
const int N=2e3;
int n,s,a[N],sum[N];
bool ma[N][N];
int gcd(int x,int y){
retu... | [
"yanyanlongxia@outlook.com"
] | yanyanlongxia@outlook.com |
ecb7a987d472de06bca16181f8358db10c0320cf | f26360b99a471d466af83f037a02ccc4667db913 | /3rdparty/poco/Crypto/testsuite/src/CryptoTest.cpp | 777c23c610466c2b28c706352f97855d3f7c3a13 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | gitkeidy/opencvr | 80646520b8099485edb6c666750808f876fabf97 | 9bd570ff30c407cf149acdaf483f22f0ebefa72e | refs/heads/master | 2021-01-18T08:56:04.463604 | 2016-02-08T05:10:18 | 2016-02-08T05:10:18 | 50,656,483 | 3 | 1 | null | 2016-02-08T05:10:20 | 2016-01-29T10:44:57 | Makefile | UTF-8 | C++ | false | false | 9,166 | cpp | //
// CryptoTest.cpp
//
// $Id: //poco/1.4/Crypto/testsuite/src/CryptoTest.cpp#2 $
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "CryptoTest.h"
#include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h"
#include "Po... | [
"xsmart@163.com"
] | xsmart@163.com |
f1e5f2b5adb65210cc8ec49d1d107578e38d3ea8 | 7c8b98fecfb1e9dbd9d98c890e32b12a0fe03f6b | /transactionHistory.h | dd1c3a9cc09de964b333dbca39156f33e96070cf | [] | no_license | DevTheSourceLuke/css343_lab4 | 56802e5616e0ba07f270340c4e3b2a352a6dbcad | d2238e3eac57c016ebc87dd67da64844ab72845a | refs/heads/master | 2021-06-14T06:08:35.119779 | 2017-03-16T06:47:18 | 2017-03-16T06:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | h | /*-------------------------------------------------------------------------------------------------
Authors: Bushey, Luke
King, Garret
Created: 2/21/2017
Modified: 3/1/2017
This class represents a Transaction affects the store's customer's history.
------------------------------------------------------... | [
"noreply@github.com"
] | DevTheSourceLuke.noreply@github.com |
e107dbe5f8cc956665c2c4572712dd1a16bd65af | 2ff6e1f31cc46bb5d3b3dbb9f7bcf0a61da252ab | /tetris2/tetris2.ino | e6c9092abaa29fd5b400ea0451c9490e161efecf | [] | no_license | ondras/arduino | c0fc37e373935c30ec1b61f5043ae32e1dc951e4 | f41fa693c317a1794f2784dc3f7442ae28eee6ed | refs/heads/master | 2023-08-25T23:29:01.565826 | 2020-08-22T10:54:29 | 2020-08-22T10:54:29 | 19,730,254 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | ino | #include <tetris.h>
#include "output-rgbmatrix.h"
#ifdef BENCH
#include <stdio.h>
#include <limits.h>
#define MAX_GAMES 100
Output output;
int total_score = 0;
int min_score = INT_MAX;
int max_score = 0;
int games = 0;
#elif TERM
OutputTerminal output;
#else
OutputRGBMatrix output;
#endif
//Weights weights... | [
"ondrej.zara@gmail.com"
] | ondrej.zara@gmail.com |
db266ddf7401aa89d77492bf6a75637f608594fa | 013c7539d6fb9ffc30740a33691aac902b11b06e | /practive/POJ/finished/3278.cpp | 468d0fcf7c40dcabc1daed9490d807bcad43bd30 | [] | no_license | eternity6666/life-in-acm | 1cc4ebaa65af62219130d53c9be534ad31b361e2 | e279121a28e179d0de33674b9ce10c6763d78d32 | refs/heads/master | 2023-04-13T07:50:58.231217 | 2023-04-09T09:23:24 | 2023-04-09T09:23:24 | 127,930,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <iostream>
#include <cstring>
#include <queue>
using namespace std;
const int maxn = 1e5 + 10;
struct node{int now, time;};
int n, k;
bool v[maxn];
int bfs()
{
memset(v, 1, sizeof(v));
node s;
s.now = n;
s.time = 0;
queue<node> q;
q.push(s);
int ans = maxn;
while(!q.empty())
... | [
"1462928058@qq.com"
] | 1462928058@qq.com |
ba65c63bfb27b946dc9a2cb0cd0a7fbe1f3bb856 | 4c8aa269772b2677176b21930e2b513e5fcad252 | /resources/cPerson.cpp | 1a10789bd53c13421e1d3166f8c34ee7504208d9 | [] | no_license | CEduardoSQUTEC/karuSampi | 0e29ef230263fdfe32b1c0e657407f30969ef784 | b0a08ee231789e807590e7d1eac25f41562de91c | refs/heads/master | 2022-03-20T16:58:00.369954 | 2019-11-29T16:46:40 | 2019-11-29T16:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | cpp | //
// Created by eduar on 28-Nov-19.
//
#include "cPerson.h"
| [
"eduardo.castro@utec.edu.pe"
] | eduardo.castro@utec.edu.pe |
fae816c4afc9cd24cf07e3b92e3d8c6ed3a9d5b1 | 50edf0fe7791df5e792aef4ae844783a9bbbeb64 | /3. dynamic programming/F.cpp | a3b49310cd11be8539f39b7e871b3e1bc8f9c442 | [] | no_license | don2rryV/itmo_ADS | 08a5266f0bb485325f04797979118016bbf6c543 | af728eafc278e6d26c70356817446fe0b2cb9833 | refs/heads/master | 2020-05-27T16:48:10.716049 | 2019-05-27T17:37:57 | 2019-05-27T17:37:57 | 188,708,988 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | cpp | #include <bits/stdc++.h>
using namespace std;
vector <vector <int> > a, ans;
string s;
int func(int left, int right){
if (left > right) return 0; else{
//cout << left << " " << right << endl;
if (a[left][right] == 0){
// cout << left << " " << right << " in 0 " << endl;
int y = right ... | [
"don2rry@gmail.com"
] | don2rry@gmail.com |
a8791f0636d7fbecd4a63aa4a4fbb4f64b8c7f6d | e6f6c2fe3a2d77069bca51c39d54ba1821f00a36 | /communication/unixSocket/include_files/unixSocket.hh | 0b964026e907f0c335744bc8a887f872a0c0c473 | [] | no_license | Tibonim/cpp_plazza | b33744dc6ad6a333eabfc9c6beeb992e01e41faa | 0cf973005c59bac8d32bb628604aea760a6cf22f | refs/heads/master | 2023-07-25T08:15:17.735210 | 2018-10-28T10:10:59 | 2018-10-28T10:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | hh | #pragma once
#include <string>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include "ACom.hh"
namespace com {
class unixSocket : public ACom {
public:
unixSocket(std::size_t id, int input);
~unixSocket();
void sendCmd(ICom::SendProtocol const &protocol) override;
void recei... | [
"Fusion@LAPTOP-687C0M9D.localdomain"
] | Fusion@LAPTOP-687C0M9D.localdomain |
12dd406c4759c70dbb675e095ae2a00bd95a5dfb | 8e355653e4fcb7896ec767bf8819bf53ccac7b06 | /Configuration.cpp | 4e6a766f9642ea27c9edb7c64234ed09b6e79127 | [] | no_license | bashirkhayat/Turing-Machine-Simulator | 6afcbdce7e3196881691206bf24b64e145608684 | 684b783e51644195b40d8b1ed1c75326846b5a1c | refs/heads/master | 2020-03-26T00:13:45.876566 | 2018-08-10T16:54:59 | 2018-08-10T16:54:59 | 144,311,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | //
// Created by jeries on 1/17/17.
//
#include "State.cpp"
template<typename Tape, typename State, int Position>
struct Configuration {
typedef Tape tape;
typedef State state;
enum { position = Position };
};
| [
"noreply@github.com"
] | bashirkhayat.noreply@github.com |
049092663df1e1ad7b506685f510939da48f8fc8 | c1d7cd0b81923e54d18435ad7fdd119c290f0ddf | /10.11.cpp | c0e295f33ffaa33da481833c9ef2fb70545e4c3c | [] | no_license | leebingzheng/li_bingzheng | a6ba4f8d08dff21c5c408e7d03eeecca9a88839b | 6ebe1b67665499b981ec663879b803b46778b632 | refs/heads/master | 2020-04-02T06:24:31.630734 | 2019-04-21T12:08:12 | 2019-04-21T12:08:12 | 154,146,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include "Polynomial.h"
#include <iostream>
#include <string>
#include <Polynomial.h>
using namespace std;
Polynomial::Polynomial(int a)
{
z=a;
x=new int[z+1]();
for(int i=0;i<z+1;++i)
x[i]=0;
}
Polynomial::~Polynomial()
{
delete[]x;
}
istream & operator>>(istream& input,Polynomial& a)
{
for(int i=0;i<... | [
"1074586195@qq.com"
] | 1074586195@qq.com |
2163d70c3fd36099f2d26e57b9aba7e11bb7163a | ac25e1afb366426988e5900270a27da8da22f8dc | /src/kidsbedsmall.cpp | e4f5cb1b4761ebee99fd5b98b66acc45a53183f0 | [] | no_license | sha256/OpenGLKidsRoom | a2c5424729c74ab1d37300b32e86057a90d85031 | 131b9aa4d1bead40cf32799b5618078e9889ddb9 | refs/heads/master | 2021-01-20T15:19:54.674265 | 2017-05-09T14:44:38 | 2017-05-09T14:44:38 | 90,756,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,701 | cpp | //
// kidsbedsmall.c
// Offline1
//
// Created by Shamim Hasnath on 10/5/15.
// Copyright © 2015 Holo. All rights reserved.
//
#include "Header.h"
void kidsBedSmallDisplay(){
color(LB_PILLER);
glPushMatrix();{
glTranslatef(10, 0, 0);
glScaled(1, 3, 1);
drawCurvedCubicLine... | [
"shamim@hasnath.net"
] | shamim@hasnath.net |
996c64f8814e1e0dc72928669e5bdd6b31396ca6 | da41653417bb575b80f80dcd534083d3ec5968b1 | /Qt5_learn/Day1/Code/01_FirstProject/mypushbutton.cpp | e9fd74b070aa0d6659dd91271f8d6d2a39e11828 | [] | no_license | TaraxaYJ/Qt5_Interface_for_Robot | e5c6420fc17300e0aef72b5afcd7aa3f8002b179 | 4cb7edc6327b55e840c3266329b87f38dde6efb2 | refs/heads/master | 2020-12-03T16:51:21.240568 | 2020-01-02T14:31:50 | 2020-01-02T14:31:50 | 231,396,042 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include "mypushbutton.h"
#include <QDebug>
MyPushButton::MyPushButton(QWidget *parent) : QPushButton(parent)
{
qDebug() << "我的按钮类构造调用";
}
MyPushButton::~MyPushButton()
{
qDebug() << "我的按钮类析构";
}
| [
"yyj_1803294@sjtu.edu.cn"
] | yyj_1803294@sjtu.edu.cn |
8a15213a202dba0bce4076bcd4bb20f029b3997b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_1357.cpp | 4b86268d0da26e74a2833567515b4af54f3df5de | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | */
#include "apr_arch_threadproc.h"
APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize)
{
int x;
if (chdir("/") == -1) {
return errno;
}
#if !defined(MPE) && !defined(OS2) && !defined(TPF) && !defined(BEOS)
/* Don't detach for MPE because child processes can't survive the death of
... | [
"993273596@qq.com"
] | 993273596@qq.com |
4237332df7a0628105c6f91dd7bff4c671c19cf1 | bd59d5419a886576ca93b2d07fb70c910144e4ba | /MsgBox.cpp | bec0bce10e4f2b7698cf074c89d369384959b41c | [] | no_license | liuyanmin120/test | 9555a0622f1a96e4ad1170ab8a38b7f2ac198a6e | 45d5793c70e819e4263f40b32beaeeeb7d751a50 | refs/heads/master | 2021-06-03T17:49:41.679532 | 2020-12-10T07:27:13 | 2020-12-10T07:27:13 | 320,192,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | cpp | #include "MsgBox.h"
#include "ui_MsgBox.h"
const int MulHeight = 253;
const int SingleHeight = 193;
MsgBox::MsgBox(QWidget *parent, bool bAutoDel/* = true*/, int autoCloseTime/* = 0*/) :
QDialog(parent),
ui(new Ui::msgbox)
{
ui->setupUi(this);
setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowSta... | [
"mywin@qq.com"
] | mywin@qq.com |
af36ba3442cb6180a261f6880ebf3f60e68d697a | f5f750efbde0ccd95856820c975ec88ee6ace0f8 | /aws-cpp-sdk-clouddirectory/include/aws/clouddirectory/model/ListObjectChildrenRequest.h | b3245e8b4e7d37504bcfa1e6b4729d65ccf597b7 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | csimmons0/aws-sdk-cpp | 578a4ae6e7899944f8850dc37accba5568b919eb | 1d0e1ddb51022a02700a9d1d3658abf628bb41c8 | refs/heads/develop | 2020-06-17T14:58:41.406919 | 2017-04-12T03:45:33 | 2017-04-12T03:45:33 | 74,995,798 | 0 | 0 | null | 2017-03-02T05:35:49 | 2016-11-28T17:12:34 | C++ | UTF-8 | C++ | false | false | 7,931 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
c2adde24185a998d43eaf5e925bf74d05a1f0644 | b974b958552668113dbe82409e4e08bb4e153150 | /main.cpp | 7978b35e1f67e00042fb73c8f40aeb012388f083 | [] | no_license | GeremiaPompei/boost_json_heap | 8826d8d5baf943163ebce113991da4ef1371f0bf | 7add00ff6efba33b553cf4fbdf08cb148f909677 | refs/heads/master | 2023-04-06T04:03:48.254984 | 2021-04-01T08:14:19 | 2021-04-01T08:14:19 | 353,110,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | #include <iostream>
#include <vector>
#include "fibonacci_heap_handler.hpp"
#include "json_handler.hpp"
#include "value.hpp"
using namespace std;
/**
* Funzione main che fa partire l'esecuzione del programma.
*/
int main()
{
JsonHandler json;
FibonacciHeapHandler<Value> fib;
vector<Value> w;
cout... | [
"geremia.pompei@studenti.unicam.it"
] | geremia.pompei@studenti.unicam.it |
3b2e429c1eb06161a280cd1aa8357f356ff4660f | 9c83aa016dbee6d5ca49cc30cd03bab6d02c30ec | /LanMap Filter/cdp.cpp | 43d74f236077ec91d012acdbdf3f440e99f66465 | [] | no_license | trevelyanuk/SMPF-Client | a8240b856f9550354d59967bb7215d005e9014ea | 716e58552343ed701fc2dc2fbea2c7e7ae6367dd | refs/heads/master | 2020-04-05T14:05:47.766995 | 2019-08-03T20:43:12 | 2019-08-03T20:43:12 | 94,760,868 | 1 | 1 | null | 2019-08-13T19:40:29 | 2017-06-19T09:39:23 | C++ | UTF-8 | C++ | false | false | 9,980 | cpp |
//http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cdp/configuration/15-mt/cdp-15-mt-book/nm-cdp-discover.html
void getDataCDP()
{
unsigned int count = 0;
/*
Destination MAC address - which is octet 0 - 5
*/
//%02x, rather than %x, will enforce a mininum field size - so a value of 1 becomes 01 and e becomes 0... | [
"cellotape@gmail.com"
] | cellotape@gmail.com |
08dde59c33d5b689e59069dea2581c10236be166 | 27f817ac1c8be0ad473279d02a514e419b5bd6fc | /November Game/MenuState.cpp | 9a809641579a3bf76401136df6c4b178da883fac | [] | no_license | Swistaak/November-Game | 7281a058d5b8bad4d3880dd0cca898deaff33607 | 5b6dfe4307905e9809f30c6816871c5990f41e2d | refs/heads/master | 2020-07-23T02:55:30.907076 | 2017-07-21T09:43:23 | 2017-07-21T09:43:23 | 73,818,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include "MenuState.h"
#include "Game.h"
#include "PlayState.h"
MenuState MenuState::mMenuState;
void MenuState::init(Game * game)
{
font.loadFromFile("font\\dpcomic.ttf");
startText.setFont(font);
startText.setPosition(390, 380);
startText.setString("Press space key to start game");
}
void MenuState::cleanup()
{... | [
"sswistak123@gmail.com"
] | sswistak123@gmail.com |
bab23d4f274c2db5bd2a783f29136041dc1c2c5f | 5bef53b0dc9539a4953919f75fde1f0ebd20e9fb | /ICPC/Sharif_2019/I.cpp | 1f74dfa7c7f160dd019cb7912fb5e832dc659e65 | [] | no_license | atrin-hojjat/CompetetiveProgramingCodes | 54c8b94092f7acf40d379e42e1f2c0fe8dab9b32 | 6a02071c3869b8e7cd873ddf7a3a2d678aec6d91 | refs/heads/master | 2020-11-25T10:51:23.200000 | 2020-10-08T11:12:09 | 2020-10-08T11:12:09 | 228,626,397 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cpp | #include <iostream>
#include <cstring>
#include <vector>
using namespace std;
const int MaxN = 2e5 + 6.66;
struct Segment {
long long seg[(int) (2e5 + 6.66) * 4];
long long laz[(int) (2e5 + 6.66) * 4];
int upd[(int) (2e5 + 6.66) * 4];
Segment() {
memset(seg, 0, sizeof seg);
memset(laz, 0, sizeof laz)... | [
"magic.h.s.atrin@gmail.com"
] | magic.h.s.atrin@gmail.com |
7b4d3a4a2fddf53e76a7cac7651d501fe0189655 | 2d16f56549a1becb433cab7bf7bc08f0c9bdb930 | /chap4/pr4_1.cpp | 66052560207fbef0fe7666082a397b39ac326e7e | [] | no_license | ferng/cppBeginners | 275811ce762af8ad1cf2e3870da7b702f3aa5a80 | 708a83d150fde776a40f4da86301005ee090eb50 | refs/heads/master | 2020-09-15T11:23:58.621735 | 2019-11-22T15:27:20 | 2019-11-22T15:28:50 | 223,431,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int nums[10];
int a, b, t;
int size;
size = 10;
for (t = 0; t < size; t++)
nums[t] = rand();
cout << "Array is:\n";
for (t = 0; t < size; t++)
cout << nums[t] << ' ';
for (a = 1; a < size; a++) {
for (b = size-1; b >= a; b--) {... | [
"ferng001@gmail.com"
] | ferng001@gmail.com |
ee64d5284d62b300029f2cce0f2c94d0ed48c44f | 83d06b8ef639485edd2085f176f778166aa32486 | /Exercise00-07.cpp | 93d10881bfadf8fb6cc6b343fb4fba1d99865f07 | [] | no_license | peteflorence/KoenigMoo_AcceleratedCpp | ac54385e0311542a94f9607349f3ed65a1f493d7 | 35dba25410e51f1729d8544666e29a78c7c36258 | refs/heads/master | 2020-04-11T09:53:48.726205 | 2015-08-25T12:01:03 | 2015-08-25T12:01:03 | 39,455,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | //Exercise00-07.cpp
#include <iostream>
int main()
{
/* This is a comment that extends over servel lines
because it uses /* and */ as its starting and ending delimiteres */
std::cout << "Hello, world!" << std::endl; }}}}}}
return 0;
} | [
"pete.florence@gmail.com"
] | pete.florence@gmail.com |
cee78d7c6f635a018ffd6f231402a0d801a31536 | bcf681e46f3214a5d76bc92ab66cb3bda62da8a4 | /CSCE_313_Projects/PA3/SHMreqchannel.h | 6d7e4810f3b66e707ea93eb6dfb0585f11705547 | [] | no_license | AndersonIJ99/oldProjectsForPortfolio | 1930c0916587ce26aae2f20de0e4d7208da0997f | ccd94cd846d7301dde078ebb825ddd9726348d6d | refs/heads/master | 2023-02-28T10:16:54.727695 | 2021-02-02T20:08:56 | 2021-02-02T20:08:56 | 335,409,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,195 | h |
#ifndef _SHMreqchannel_H_
#define _SHMreqchannel_H_
#include <semaphore.h>
#include <sys/mman.h>
#include "common.h"
#include "Reqchannel.h"
#include <string>
using namespace std;
class SHMQ {
private:
char* segment;
sem_t* sd;
sem_t* rd;
string name;
int len;
public:
SHMQ (string _name, int _len) : name(_name... | [
"mew1067@gmail.com"
] | mew1067@gmail.com |
74a2c4390d2b02125824bee6e6f6cc7e20efa756 | 6c60fa044d44773c6a40485a3d8209614d2adf5e | /uVision/uVision/GeneratedFiles/ui_imagestitching.h | 8d3b095e9c4f17e0d182e5d308c71325e2f50411 | [] | no_license | githubcjl/uVision_cjl | d36e36f9f022bbfb7b1131fd76bb375f3a6e411b | a1902dd3f308d3524f92bb3552bf3b4096644730 | refs/heads/master | 2021-01-10T10:46:35.820743 | 2015-12-04T13:29:36 | 2015-12-04T13:29:36 | 45,160,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | /********************************************************************************
** Form generated from reading UI file 'imagestitching.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"1290478835@qq.com"
] | 1290478835@qq.com |
e7f8f757f773affb21f3eddeb74c19cdc9a68f3f | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BP_MiniGame_SmartBall_SimpleBase_parameters.h | e6726b807594cb733394c401309c3064cd7b94dc | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | h | #pragma once
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
e6eaf640255ad4d165cf8ef6930537ea5e4e5ec5 | 446fdbad810bd6623b4995184b82f8c0d5987902 | /leetcode/leetcode/35. 搜索插入位置.cpp | c6bf3c54b172c598553f597938f7fe0538357c9f | [] | no_license | 19865044959/code_test | 74f258769f627f45ba8c829d14a3111335e48562 | 371d1cb89f401290715b42e7f72299aace7ede8c | refs/heads/main | 2023-04-17T19:14:37.449157 | 2021-05-13T01:48:28 | 2021-05-13T01:48:28 | 366,901,912 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,112 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>
#include <unordered_map>
using namespace std;
/**********************************************************************************************************
方法:暴力法
说明:
时间复杂度与空间复杂度:O(n) O(1)
涉及到的知识点:
************************... | [
"huanyzhang@foxmail.com"
] | huanyzhang@foxmail.com |
febd4bfaf0d06bef7d2dc05e27debf764eccc0aa | 7d497f964e20fbfa6ddfc980858f676eb1a8e274 | /main.cpp | f381df2d79351c480b17820fe94cf100f1af6141 | [] | no_license | jhirniak/keylogger | 41bd0d588088e1d74ca8f444c45cf09554e60159 | 6780826a0219479ac4eb27ffd2b6a5406d7f2754 | refs/heads/master | 2020-05-18T01:03:08.519176 | 2015-01-07T11:22:55 | 2015-01-07T11:22:55 | 28,909,591 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,397 | cpp | #include <windows.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdbool.h>
#include <stdlib.h>
bool invisible = true;
char fileName[MAX_PATH];
void hide(void)
{
HWND stealth;
/* Retrieves a handle to the top-level window whose class name and window name match the specified strings.
... | [
"j@hirniak.info"
] | j@hirniak.info |
7228b57d2e3464d5e579462f2776e2d2f4c0b865 | 7105d8cf4a4d14e326dda4adf5c8a5403f3d092f | /ImplicitAndExplicitScheme/ImplicitScheme.h | 5616d34f2de55a1e9420647af86c270fea396ed9 | [] | no_license | Etienne-So/computational_methods | 337484eabdc027c0d03aa59b07dc03f47cea208d | 37a5541504533c8d73d7f17ce7e1d368056b1038 | refs/heads/main | 2023-02-12T03:06:45.386174 | 2021-01-12T15:46:05 | 2021-01-12T15:46:05 | 329,029,144 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | h | #ifndef IMPLICITSCHEME_H //include guard
#define IMPLICITSCHEME_H
#include "Scheme.h" //Mother class
#include <iostream> //generic IO
#include <string> //for string methods
#pragma once
/**
* Inherited class, which includes implicit schemes like:
* Up Wind Forward-Time Backward-Space and Forward-Time Central-S... | [
"noreply@github.com"
] | Etienne-So.noreply@github.com |
54a82dcc2e59588acd3eedfbca0072e7adada9a3 | 1a93a3b56dc2d54ffe3ee344716654888b0af777 | /env/Library/include/qt/QtQuick/qquickrendercontrol.h | 8ec9b8aafc1f9f730bbbaf473b09bcd9c4a0722a | [
"BSD-3-Clause",
"GPL-1.0-or-later",
"GPL-3.0-only",
"GPL-2.0-only",
"Python-2.0",
"LicenseRef-scancode-python-cwi",
"LicenseRef-scancode-other-copyleft",
"0BSD",
"LicenseRef-scancode-free-unknown"
] | permissive | h4vlik/TF2_OD_BRE | ecdf6b49b0016407007a1a049f0fdb952d58cbac | 54643b6e8e9d76847329b1dbda69efa1c7ae3e72 | refs/heads/master | 2023-04-09T16:05:27.658169 | 2021-02-22T14:59:07 | 2021-02-22T14:59:07 | 327,001,911 | 0 | 0 | BSD-3-Clause | 2021-02-22T14:59:08 | 2021-01-05T13:08:03 | null | UTF-8 | C++ | false | false | 2,871 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commer... | [
"martin.cernil@ysoft.com"
] | martin.cernil@ysoft.com |
30ff9d2e8c861f92b5780ca785a8d767c9628ced | fa345d30d723c9cbdb750235c832bb3af635d77f | /CountAndSay.cpp | 1d4cd3aa2b150637dc495a9b257e1d51e278b531 | [] | no_license | AparnaChinya/100DaysOfCode | 03c50ff1dc7e003f7c3510ee1c40f2c0588021ec | 436ff8302eaeea705d92de4dc8c5a763b84b3348 | refs/heads/master | 2021-07-18T13:24:06.102900 | 2018-12-07T06:04:29 | 2018-12-07T06:04:29 | 72,006,131 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | /*
38. Count and Say
The count-and-say sequence is the sequence of integers with the first five terms as following:
1. 1
2. 11
3. 21
4. 1211
5. 111221
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n where 1 ≤ n ≤ 30,... | [
"apchin@outlook.com"
] | apchin@outlook.com |
3c384efd88fda77f22eb44d42a9992f6e1e26a2d | fe6ef75f0e51bf88ba917162f5c31b5ac3cfd5ba | /create_image_task.cpp | 24f4f4ccbef67cfd9dd609b28d61d9471600dead | [
"MIT"
] | permissive | Sauexceed/Fractal_Designer | 5f1d1b8621321500aaf49f0296687838182f767c | 7b8289fbfb4c527786b49b6beeef35356d6a1abf | refs/heads/master | 2023-06-16T17:40:18.404673 | 2021-06-21T15:10:17 | 2021-06-21T15:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,280 | cpp | #include "create_image_task.h"
#include "mainwindow.h"
Create_Image_Task::Create_Image_Task(QWidget* parent)
{
MainWindow* p = (MainWindow*) parent;
connect(this, &Create_Image_Task::updateImage_preview, p, &MainWindow::getImage);
connect(this, &Create_Image_Task::progressInform_previ... | [
"teddy-jerry@qq.com"
] | teddy-jerry@qq.com |
d586d9eaa0883b0c9ea2714b2f753a49360e649a | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chromeos/services/device_sync/public/cpp/fake_device_sync_client.cc | f756216f32e422eb5fa1f43030e902156c9f87ff | [
"BSD-3-Clause"
] | 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 | 4,058 | cc | // Copyright 2018 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 "chromeos/services/device_sync/public/cpp/fake_device_sync_client.h"
#include "chromeos/components/multidevice/remote_device.h"
#include "chrome... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
4b1a3719da650338e9bca804b2acf6914a12f8ae | 25e024cf92044a4233991028e5b7f534354b146a | /OTEEditors/Plugin_TerrainEditor/AdjustColor.h | 58e3c3991b5ee4f0b0a1009134fa0565ef1a352d | [] | no_license | panguojun/OTE | db8b4d7d1d5242d57dee503b7e405a7a01eed89e | d67a324337cc078f7da84a6d8b3d25b7ad0a7ca2 | refs/heads/main | 2023-08-20T21:56:08.208514 | 2021-10-26T01:53:24 | 2021-10-26T01:53:24 | 421,238,299 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,750 | h | #pragma once
#include "afxcmn.h"
// CAdjustColor 对话框
class CAdjustColor : public CDialog
{
DECLARE_DYNAMIC(CAdjustColor)
public:
static CAdjustColor m_Inst;
CAdjustColor(CWnd* pParent = NULL); // 标准构造函数
virtual ~CAdjustColor();
// 对话框数据
enum { IDD = IDD_AdjustColor };
enum enumColor{red=1,... | [
"noreply@github.com"
] | panguojun.noreply@github.com |
69e788e7f83f9a4648031e7b3512d0250dd885cf | 12105636bdbaa06fe0dd4eeb93a9c3d35b28af6f | /bus_router/include/yt/util/nouse/allocator.h | d8f4a58d5b3948bd413b44b8d1b71d6c69562a48 | [] | no_license | crcanfly11/zmq-protobuf | 3f81a6699c123ace9dfd770a04ea4bbe7c32c1c5 | 1ea7039ed442cf83a4250d3af06d801cc3444284 | refs/heads/master | 2020-04-24T04:10:31.778675 | 2014-10-15T07:43:25 | 2014-10-15T07:43:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include <sys/types.h>
#include <stdlib.h>
namespace yt
{
class Allocator
{
public:
virtual ~Allocator() {}
virtual void * Allocate(size_t iSize, size_t * pRealSize = NULL) = 0;
virtual void Deallocate(void * pData) = 0;
public:
static Allocator * Instance();
};
class MallocAllocator ... | [
"185830862@qq.com"
] | 185830862@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.