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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fcf863f30fe195fb4594c06a28640a4c0b85e131 | b3632665c205bd5dd4f4b90823a39eb22c3a2e7a | /mebel.h | c4e9e039393df3c753ab9b2468ace4c469c61ea9 | [] | no_license | vadimibs/rabota3 | f361387390b959ceb0fe2578baa10d249c86ab04 | 88226232982d0fcc89e6c0d8edc85acb704bb064 | refs/heads/master | 2022-07-16T16:43:12.081323 | 2020-05-19T14:11:38 | 2020-05-19T14:11:38 | 265,254,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef MEBEL_H_INCLUDED
#define MEBEL_H_INCLUDED
#include "izdelie.h"
class mebel: public izdelie{
protected:
string material;
public:
mebel();
mebel(string name_, int size_, string color_, string material_);
void SetMaterial(string material_);
string GetMaterial() const;
vir... | [
"w1ntoff@mail.ru"
] | w1ntoff@mail.ru |
5ed459d3dbacb0ad2f69e7f496bfc812180cdbf5 | debe35fd227dcb9fc3535c6957ac017b914a7915 | /src/Managers/GlobalManager.h | 7684f3e6af8f9b34a1e075b9e785e03bc4fe49dd | [] | no_license | menegais1/EngineRenderer | d83b79388533c30f2dbd8ea892a1e4bf46253483 | 0aeddc6bbd343658e3c20351d0bcd2141761f53f | refs/heads/master | 2022-12-03T02:58:06.701352 | 2020-08-13T22:59:16 | 2020-08-13T22:59:16 | 284,381,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | h | ///Manager responsible for forwarding the GLFW callbacks
///To every CanvasObject instantiated, every object has a uniqueId given
///in the beggining of its lifetime
#ifndef GLOBAL_MANAGER_H
#define GLOBAL_MANAGER_H
#include <vector>
#include <chrono>
#include "../Base/CanvasObject.h"
class GlobalManager {
public:
... | [
"menegais1@gmail.com"
] | menegais1@gmail.com |
53b424e3501b355260b3c587cf3dcabc6057ce74 | 63b39b6cb42b762fd9d1114cd6ade08644796e64 | /checkers-server/eventService/RequestService.h | 6d3fa85294b43174fbff0c5d6b9fe4c55e4c2a38 | [] | no_license | Yamadads/checkers | f265e5543bc4908f4e775483171a0ff694d82a51 | 1c837b91dfb73f64084429c05b82a1423928feb3 | refs/heads/master | 2021-01-16T19:14:54.555761 | 2016-02-15T11:46:02 | 2016-02-15T11:46:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | /*
* requestService.h
*
* Created on: 09-11-2015
* Author: debian
*/
#ifndef EVENTSERVICE_REQUESTSERVICE_H_
#define EVENTSERVICE_REQUESTSERVICE_H_
#include "../jsonParser/json/json.h"
#include "../game/Server.h"
#include "../game/Client.h"
class RequestService {
protected:
Json::Reader reader;
Json::St... | [
"s_pawlak@yahoo.com"
] | s_pawlak@yahoo.com |
960da726aaca071019a120a69226c33828edb107 | 6ea0e138431c129d5c520ea739cabf4a15fb3b10 | /src/Game.cpp | 66903cc27089fef956893a473e37d8fc62b41e54 | [] | no_license | ceh-2000/pong | 10b61dfb36cc8e862cd1aed63e701e7d5eaeef65 | 1d679c8d748b3be362c06dc8b1f87fcfe7ea09e1 | refs/heads/main | 2023-03-07T07:28:36.697065 | 2021-02-17T16:27:21 | 2021-02-17T16:27:21 | 338,654,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,642 | cpp | #include <SFML/Graphics.hpp>
#include <iostream>
#include "Game.h"
Game::Game(Paddle& paddle1, Paddle& paddle2, Ball& ball, PaddleView& paddle1View, PaddleView& paddle2View, BallView& ballView):
paddle1(paddle1),
paddle2(paddle2),
ball(ball),
paddle1View(paddle1View),
paddle2View(paddle2View),
ballView(bal... | [
"clare.heinbaugh@gmail.com"
] | clare.heinbaugh@gmail.com |
6705959800b3220449cdea8c9c827ce196b9550f | 9b6eced5d80668bd4328a8f3d1f75c97f04f5e08 | /bluetoothapitest/bluetoothsvs/T_BTSdpAPI/inc/T_DataSdpAttrValueList.h | 70fe0d33cca84cb5f609d71f90222406faf32f06 | [] | no_license | SymbianSource/oss.FCL.sf.os.bt | 3ca94a01740ac84a6a35718ad3063884ea885738 | ba9e7d24a7fa29d6dd93808867c28bffa2206bae | refs/heads/master | 2021-01-18T23:42:06.315016 | 2010-10-14T10:30:12 | 2010-10-14T10:30:12 | 72,765,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | h | /*
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
6d2b16a70c505dede2b82912e05ab5cb683a269d | 7027b334e40207f80eab358fd12006ba2e63a490 | /lab4/lab4/Point.cpp | 9c0690de8f50a47e010bcd6e087dbb882c6bae8d | [] | no_license | Dushess0/lessonsCPP | 5eb48467b5540c992f2b8b86d6569366b9e8914d | 72790d97f1246c85000e550e7ef80ab816d1645d | refs/heads/master | 2020-04-28T09:06:12.365111 | 2019-05-11T15:19:51 | 2019-05-11T15:19:51 | 175,153,988 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,109 | cpp | //Definicja znajduje się w pliku Point.cpp
#include <cmath>
#include <ostream>
#include <iostream>
#include "Point.h"
using ::std::ostream;
using ::std::endl;
using ::std::pow;
using ::std::sqrt;
using std::cout;
/* Aby wskazać, ze definicja funkcji dotyczy metody danej klasy
stosujemy tzw. operator za... | [
"noreply@github.com"
] | Dushess0.noreply@github.com |
f3e4040bd2aa091af393812201eddc440aa7eb44 | 5eb2628304a47e1aafd7496b9c1479b1dd6e07ca | /Health.h | f9a8683133628e903ddcfe4e6a94267a974d990a | [] | no_license | johnn134/TheTankHeardAroundTheWorld | 577044a73621a01db7c68d51fddae95433ff8699 | c88c10caa5e1065a65ab00164f9a18d814e3384d | refs/heads/master | 2021-01-10T09:56:39.154855 | 2015-10-14T21:21:52 | 2015-10-14T21:21:52 | 43,763,952 | 1 | 0 | null | 2015-10-06T17:27:40 | 2015-10-06T16:43:26 | C++ | UTF-8 | C++ | false | false | 281 | h | //view object to show the player's health
#ifndef __HEALTH_H__
#define __HEALTH_H__
#include "ViewObject.h"
#include "Event.h"
#define HEALTH_STRING "Health: "
class Health : public df::ViewObject{
private:
public:
Health();
int eventHandler(const df::Event *p_e);
};
#endif | [
"silverx@verizon.net"
] | silverx@verizon.net |
0fd43608809485b1c41b329438d3d9d7189711d9 | 9c47aff8f135146e599fb19c19fea2c4898129ae | /Render/RenderList.h | c6ebdb4276a8cbd29bc3b6f77626cbe19fb640d1 | [] | no_license | ELTraxo/DX9-Render | 4b1b7d531612784d0289e3bfcf1e16995c90270e | 97150d13bb0e20b73996f4933a01cc5b75c8fe92 | refs/heads/master | 2021-06-20T01:26:31.699033 | 2021-01-12T03:28:15 | 2021-01-12T03:28:15 | 157,016,157 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 413 | h | #pragma once
#include "Primitive.h"
#include "Sprite.h"
#include "Text.h"
using Renderables = std::vector<RenderablePtr>;
class CRenderList
{
Renderables renderables;
public:
CRenderList();
~CRenderList();
Renderables& GetList();
void Clear();
void AddRenderable( PrimitivePtr pPrim );
void AddRenderable( Tex... | [
"traxin@noreply.github.com"
] | traxin@noreply.github.com |
08efbd0db7b9245205c7795b57e3a8d080b5ae1d | e95ba818ef79f11c2b96e5c38ce9270d971ade56 | /src/engine/octaedit.cpp | ffa64136706d7009b7ab875f3136ad14dfbb841a | [
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Manmellon/zeromod-sauerbraten | 92095da2f36daafb4742512a5e108e107ee799e7 | ae025cc5ee998b03869ce06ef991322d3eead46b | refs/heads/master | 2020-04-08T05:50:35.967620 | 2018-11-25T21:27:42 | 2018-11-25T21:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,080 | cpp | #include "engine.h"
extern int outline;
bool boxoutline = false;
void boxs(int orient, vec o, const vec &s, float size)
{
int d = dimension(orient), dc = dimcoord(orient);
float f = boxoutline ? (dc>0 ? 0.2f : -0.2f) : 0;
o[D[d]] += dc * s[D[d]] + f;
vec r(0, 0, 0), c(0, 0, 0);
r[R[d]] = s[R[d]... | [
"andrius4669@gmail.com"
] | andrius4669@gmail.com |
db76149f373b6306d6d36ee5b77a464094be676b | 9de5bc4636f13f78651238c2c7c047387e885a3b | /component/RestServer/export/WorkerThread.h | 3c7f9429cb0376832359465d249b1d91a5aa3673 | [] | no_license | nerfe/CPPRestSDK-server | 1ba7bcaf25344644e38fa5480ff8cc54968aa734 | 8b76ea5ed2071be0456df702847fac37f4f6f08a | refs/heads/main | 2023-07-13T01:06:18.610123 | 2021-07-30T14:56:00 | 2021-07-30T14:56:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | #ifndef _WORKERTHREAD_H
#define _WORKERTHREAD_H
#include "thread.h"
#include "workqueue.h"
class WorkerThread
{
private:
std::thread *tid;
static WorkerThread* workerInstance;
public:
CWorkQueue* wmsgQueue;
WorkerThread();
virtual ~WorkerThread();
virtual void Run();
virtual void start... | [
"chandanshoun@gmail.com"
] | chandanshoun@gmail.com |
5e0e47e322ce264ce384ebef15005272e2c874d6 | 140d78334109e02590f04769ec154180b2eaf78d | /aws-cpp-sdk-sms/include/aws/sms/model/GetServersResult.h | 403b60bdc237b3a097fd4729d71c858848acdd0f | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | coderTong/aws-sdk-cpp | da140feb7e5495366a8d2a6a02cf8b28ba820ff6 | 5cd0c0a03b667c5a0bd17394924abe73d4b3754a | refs/heads/master | 2021-07-08T07:04:40.181622 | 2017-08-22T21:50:00 | 2017-08-22T21:50:00 | 101,145,374 | 0 | 1 | Apache-2.0 | 2021-05-04T21:06:36 | 2017-08-23T06:24:37 | C++ | UTF-8 | C++ | false | false | 4,243 | h | /*
* Copyright 2010-2017 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 |
ff41145cba05ec35d2ff7a85ca27949a407ef29e | 09112640ccaf06b9cc28317a67f803f9131ed65d | /BolosLocos/BolosLocos/skeleton/main.cpp | 409742725ccf15c1ddfc05b850ee22736ce388e1 | [] | no_license | Posna/SimulacionFisicaPracticas | 42552434f44d2bebeec991e4b001f826d74819e7 | 974899fc0c87a4663f663bf814170f3d03e872a3 | refs/heads/master | 2022-03-18T11:31:15.571758 | 2019-12-12T22:12:21 | 2019-12-12T22:12:21 | 209,085,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,790 | cpp | #include <ctype.h>
#include <PxPhysicsAPI.h>
#include <iostream>
#include <vector>
#include "core.hpp"
#include "RenderUtils.hpp"
#include "callbacks.hpp"
#include "Particle.h"
#include "ParticleSystem.h"
#include "ParticleForceRegistry.h"
#include "ParticleForceGenerator.h"
#include "ParticleGravity.h"
#include "Pa... | [
"jomart17@ucm.es"
] | jomart17@ucm.es |
014110b2478e330113d121bf7acb954a22429273 | 84d078cfe9a7676abc9f1f41d7835e9bc2f7722b | /piscine_cpp/d00/ex02/Account.class.cpp | 12b93f21422186ed027f2e0e521ff3e4a802110c | [] | no_license | aradiuk/CPP | 0b58a823317c05ca8941998481da61700752d52d | 1414413ae524c185908b30c4a9ddd77cf791383b | refs/heads/master | 2021-07-19T21:08:34.762887 | 2021-02-16T10:18:15 | 2021-02-16T10:18:15 | 99,698,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,975 | cpp | #include "Account.class.hpp"
#include <iostream>
// CHECK THE ORDER
// OF DESTRUCTORS
// LAST 8 ROWS OF
// THE OUTPUT
int Account::_nbAccounts = 0;
int Account::_totalAmount = 0;
int Account::_totalNbDeposits = 0;
int Account::_totalNbWithdrawals = 0;
int Account::getNbAccounts()
{
return _nbAccounts;
}
int Acc... | [
"hartright@bitbucket.org"
] | hartright@bitbucket.org |
f3203921cadf78d4fff5b1970ba513caa28088f2 | 86db324c6a039369ef9d904defd9a15c944c429c | /thrift/lib/cpp2/test/FlagsTest.cpp | be64a14bd8d7e9c9e60b117a95bb49dd478c68ab | [
"Apache-2.0"
] | permissive | curoky/fbthrift | 1eb3cecfee5f72748a5787e792c63276f7734f76 | 199ca4b1807a705fc55e6fa099c39b7e90ef03e0 | refs/heads/master | 2023-04-29T21:19:41.027102 | 2023-04-25T16:23:11 | 2023-04-25T16:23:11 | 242,927,696 | 0 | 0 | Apache-2.0 | 2020-02-25T06:31:35 | 2020-02-25T06:31:34 | null | UTF-8 | C++ | false | false | 9,038 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f7683e4a33d2ce2c6339ed8a1e953cc5494809fb | a2853414268447c37d448570ee648e8d45ed706c | /core/Data.hpp | 058d69dfa7f5a744a925958cbd3c1c593c66465c | [] | no_license | acherkaoui/HTOP | 5f61057a6a478925d32ebea82e0e99f6fe0f6afa | 3577c1ea7aebba85cdd7364229ca6c5a69318589 | refs/heads/master | 2021-04-09T14:11:22.022810 | 2018-03-16T23:03:12 | 2018-03-16T23:03:12 | 125,578,109 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | hpp | /*
** EPITECH PROJECT, 2021
** cpp_rush3
** File description:
** Created by abderrahim.cherkaoui@epitech.eu,
*/
#ifndef CPP_RUSH3_DATA_HPP
#define CPP_RUSH3_DATA_HPP
#include "../modules/Clock.hpp"
#include "../modules/Network.hpp"
#include "../modules/OperatingSystem.hpp"
#include "../modules/Processes.hpp"
#include... | [
"abderrahim.cherkaoui@epitech.eu"
] | abderrahim.cherkaoui@epitech.eu |
cbfcb606d5f189a8cf61b489d266329447a4fa9d | d522a93c6d573c1b2f8b559d8a88269bad4130d3 | /shellcode/loader/loader.cpp | 2d34ede6a93edbf5ad114acd8d763c30d8e3f0ce | [] | no_license | floomby/framework | d7699947027bb440f82e033655f03f51335c631e | d08e5f54381393acb08c85317caaf841c574c35d | refs/heads/master | 2016-09-06T17:28:16.754564 | 2014-06-07T01:44:07 | 2014-06-07T01:44:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include <cstdio>
#include <cstdint>
#include "reflect/reflect.h"
int main(int argc, char *argv[])
{
uint8_t *it = (uint8_t *)&ReflectiveLoad;
printf("print \"");
for(size_t i = 0; i < ReflectiveLoad_size; ++i){
printf("\\x%02x", it[i]);
}
puts("\"");
return 0;
}
| [
"caboodlennm@gmail.com"
] | caboodlennm@gmail.com |
5b336b02c651da3ae7f044af55b5dd6371291715 | 33aa51db560b5b1f0af1e442f2cf11bee538e9fc | /VipClient/UpdateIpDlg.h | 1cc82121260d176145309d4989b7e37d937a656c | [] | no_license | hanggithub/vipshell | 529f7652d5ec8480dd679f0e79cfc7ef589020c6 | a34593d7a6865fa06d098137c04e4cbab0050065 | refs/heads/master | 2021-01-22T21:32:50.236517 | 2014-11-16T08:27:06 | 2014-11-16T08:27:06 | 26,708,064 | 4 | 3 | null | null | null | null | GB18030 | C++ | false | false | 618 | h | #pragma once
// CUpdateIpDlg 对话框
class CUpdateIpDlg : public CDialog
{
DECLARE_DYNAMIC(CUpdateIpDlg)
public:
CUpdateIpDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CUpdateIpDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_UPDATEIP };
protected:
virtual void DoDataExchange(CDataExchange* pDX); //... | [
"ignccvv@163.com"
] | ignccvv@163.com |
68c48eb9c3083acb80a04939595049812c31dcf1 | 969a3f74a957b7fa3685ac5ae5f94ac225af9522 | /Rendering/OpenGL2/vtkOpenGLES30PolyDataMapper2D.h | 49e1411fb205556b4e466bb573cabaac34e81028 | [
"BSD-3-Clause"
] | permissive | gview/VTK | 61adbce5b78e0fdf8069e2384c0fc1899a723df5 | 17c664f1c3bdb84997aa2c9bfdf51ba77171672e | refs/heads/master | 2023-06-01T11:56:23.857210 | 2023-05-30T04:01:23 | 2023-05-30T04:01:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,929 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLES30PolyDataMapper2D.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... | [
"jaswant.panchumarti@kitware.com"
] | jaswant.panchumarti@kitware.com |
b8ce8dac5ae09e0d7b54a6b10d797ec31f79748c | cb2b64e9cdf6fbde8ea49e9fd04eeae6e7690acc | /pokemon-battle.cpp | b9d5af724498aedd5992f4c9499a34d5f773ecc2 | [] | no_license | bdavis171/Pokemon-Battle | 327d5b181d53b6e65683d786c541ee713254609e | bf277272688d5729232c399a99dddce36fc6e3e0 | refs/heads/master | 2022-08-19T17:45:46.783296 | 2020-05-21T23:29:25 | 2020-05-21T23:29:25 | 263,171,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,511 | cpp | #include <cstdlib> // imports rand() and srand()
#include <ctime> // import time()
#include <iostream>
// NOTE: To get a decimal value when divided two int values, one of them must be casted to a double
using namespace std;
// create a class for Moves that has the following properties: name,type,pwr,and acc.
class ... | [
"bdavis171@gmail.com"
] | bdavis171@gmail.com |
576ef45d4369a754d9c22d53b8274301c48f4156 | 1cf3c0bda1eeec186c21363ee514957d4215c9cb | /backgrounds/Sorting/Comparison_functions.cpp | 228f6240802fd456bd6e967f7e4909a62589c51e | [] | no_license | jaguarcode/algorithms | 5aeb6d6a46e6658a9fbc04186313f46d4135ac86 | 222b65dcfb245292ad10663039a8406871cb2a43 | refs/heads/master | 2023-05-04T08:09:24.246394 | 2021-05-27T23:32:40 | 2021-05-27T23:32:40 | 307,350,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | /**
* author: jaguarcode
* date:
**/
#include <bits/stdc++.h>
using namespace std;
template<typename T>
auto print(T& t) {
for(auto value : t) cout << value << " ";
cout << "\n";
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
vector<int> v { 2,3,4,5,6,2,1,8,2,3,6,9 };
sort(v.begin(), v.end(), [](in... | [
"behonz@gmail.com"
] | behonz@gmail.com |
3e5baed33044cae6f0be029cc5e2de087081b9c2 | b22819d39a788b046e9a475f655b005ac478b1ef | /src/439.Ternary_Expression_Parser.cpp | 8ac8efc4558da0dd448393c28a2ceb81cd0a9cdc | [] | no_license | chouchoudiudiu/LeetCode | 81424dd12c6ec7ff0c801b6c4786a6e567b1cdec | a5af14f948db04a2e5a1adfefe033a872fd8f0ed | refs/heads/master | 2021-01-11T07:45:53.672062 | 2019-05-14T21:26:35 | 2019-05-14T21:26:35 | 72,676,179 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | class Solution {
public:
string parseTernary(string expression) {
stack<char> stk;
bool evaluate = false;
for (int i = expression.size() - 1; i >= 0; --i) {
char c = expression[i];
if (!evaluate && c != ':' && c != '?') //not adding the T or F before the ?
... | [
"noreply@github.com"
] | chouchoudiudiu.noreply@github.com |
73b82e3e8ae1271dc90b868329daec6dae21cde4 | 946e56abf2e2de724aab9d575a94accb2184c88c | /openmp/ring/ring.cpp | 00e22bb05e8a8514f65e9d6a87fcba45b8b827b2 | [
"MIT"
] | permissive | pavelkryukov/paraprog | e71137d196a26fe74c7748efec4ecba6208aea00 | 9a3307f75019543dfd24fc9b5c1a3c0ea1dcd3be | refs/heads/master | 2021-01-20T14:52:37.855913 | 2017-05-08T23:29:43 | 2017-05-08T23:37:30 | 90,681,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,442 | cpp | /**
* ring.cpp
*
* Send/Recv messages with pthreads in ring using pthreads
*
* @author pikryukov
* @version 1.0
*
* e-mail: kryukov@frtk.ru
*
* Copyright (C) Kryukov Pavel 2012
* for MIPT MPI course.
*/
#include <cstdlib>
#include <iostream>
#include <vector>
#include <pthread.h>
/**
* Mutex class wrap... | [
"kryukov@frtk.ru"
] | kryukov@frtk.ru |
1c259c53f596bebd4c0d756c05cb2e09b3b342a9 | 08ed3720f797ab761f9d627601896ee7a3f7f14b | /LuaSQLite3/LuaSQLite3.cpp | 2c203a1a291aab7320a7dfeda47658d6fb91135b | [] | no_license | fcccode/LuaUI2 | 2df357681a1f6df8c9c42a73a56ed96efc5212fd | daba4835c848261943fd9ce6d2df0bac0140bd95 | refs/heads/master | 2020-03-14T12:37:28.846054 | 2017-06-09T11:15:11 | 2017-06-09T11:15:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | // LuaSQLite3.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
| [
"6659907@gmail.com"
] | 6659907@gmail.com |
73a7eb67e6bf2490552a798ea3c128d1a3c86ed4 | b8482403496a1b2ff50310e2074bebdbea942a68 | /training/2018/winterTraining/3-U.cpp | 11aff0c45c40df7d283188edf1392d1f8f99d8ce | [] | no_license | TangliziGit/icpc-code | 02cc8d70cb5da893ec18c79052f16d7976be98ee | cb0986e12af34d1624e534671f97bd540d412de9 | refs/heads/master | 2021-08-07T09:41:01.999446 | 2020-07-05T02:08:22 | 2020-07-05T02:08:22 | 197,133,978 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | cpp | #include <cstdio>
#include <queue>
using namespace std;
int nx, ny, dir[4][2]={1, 0, 0, 1, -1, 0, 0, -1};
char map[25][25];
struct Point{
int x, y;
Point(int x=0, int y=0):
x(x),y(y) {}
}points[400+5];
int bfs(int x, int y){
queue<int> que; int size=1;
points[0].x=x; points[0].y=y;
que.push(... | [
"tanglizimail@foxmail.com"
] | tanglizimail@foxmail.com |
5fb8da5217f1e4cf5ead0e1de197592896394db4 | 39cdb6ff35231538ef25c565181981ccf237cc30 | /BOJ/14225.cpp | 0d0ffcdbfae96ffefcc514c6f12855288e86c191 | [] | no_license | dittoo8/algorithm_cpp | 51b35321f6cf16c8c1c259af746a9f35d5ba8b76 | d9cdda322d3658ffc07744e4080c71faeee6370c | refs/heads/master | 2023-08-03T14:49:08.808253 | 2021-02-16T04:13:53 | 2021-02-16T04:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include <cstdio>
using namespace std;
int n;
int a[21];
bool ck[20*100000];
void backtrack(int idx, int sum){
if (idx == n){
ck[sum]= true;
return;
}
backtrack(idx+1, sum+a[idx]);
backtrack(idx+1, sum);
}
int main(){
scanf("%d", &n);
for(int i=0;i<n;i++){
scanf("%d", &a[... | [
"sohyun1018@gmail.com"
] | sohyun1018@gmail.com |
71b2bc5e6b14568b6e6753cfe175cdf22d7acf08 | 9c025e695dfeab531a47c68b1373811bed94b1da | /BC一周年B.cpp | 8b543e8e434e0b6dc9c3e716f5a553c5eb8c8b05 | [] | no_license | shipoyewu/code | 8ecfa66f5a82976327ec649e9fe142efe0293e28 | 54bcf1623d6eef87109c6c34148a6072f419dfa8 | refs/heads/master | 2021-01-23T21:34:34.113351 | 2015-09-17T11:58:31 | 2015-09-17T11:58:31 | 39,375,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <queue>
#include <cmath>
#include <cstring>
#include <stack>
#include <set>
#include <map>
#include <vector>
using namespace std;
#define INF 0x4fffffff
#define LL long long
#define MAX(a,b) ((a)>(b))?(a):(b)
#define MIN(a,b) ((a)<(b))?(a):(b)
char st... | [
"871650575@qq.com"
] | 871650575@qq.com |
27afcc0d8d527c6eecf1a5143451b4f2070f9089 | 3a7b4600778f147a24d49fe5264f96e46db57e10 | /32_3.cpp | d422030a249a597c6a5f63596f3948d656a1c2ee | [] | no_license | CanRui-Wu/PointToOffer | 9f5fea82f7d8796a95ecbbf1fb6b01e998ca46c0 | 88204fb67a4dc29373dcb94980857d6210dcf176 | refs/heads/master | 2021-04-26T23:54:09.474574 | 2018-03-24T12:21:52 | 2018-03-24T12:21:52 | 123,877,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
struct TreeNode {
int val;
struct TreeNode *left;
struct TreeNode *right;
TreeNode(int x) :
val(x), left(NULL), right(NULL) {
}
};
class Solution {
public:
vector<vector<int> > Print(TreeNode* pRoot) {
... | [
"434858383@qq.com"
] | 434858383@qq.com |
518622424b9903c5be5cd2f1ebd5c72f45f16105 | 7edeec5310bf96c435c287f59be66fb78be556b9 | /OSDesign/main.cpp | d4ad4d7949c906f240b014c0a2f3331fc13ee4c1 | [] | no_license | typeme/daily-study | e145824eb4dab77a7e862003a133d4a3ffdf9c1f | e149cde065c84285bacb6c7012bf5e7d54432efc | refs/heads/master | 2020-08-03T20:23:33.019127 | 2020-07-13T15:54:48 | 2020-07-13T15:54:48 | 211,875,489 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79,681 | cpp | #include <iostream>
#include<termios.h>
#include<unistd.h>
#include<assert.h>
#include<time.h>
#include <stdio.h>//c语言的的unix文件输入输出库
#include <fcntl.h>//根据文件描述词操作文件的特性
#include <string>
#include <cstring>
using namespace std;
//常量定义
// NADDR为文件可使用的最大数量节点
const unsigned int NADDR = 6;
// BLOCK_SIZE为一个block的大小
const un... | [
"typeme3@163.com"
] | typeme3@163.com |
2d5b9967b371d88f4cbccb3f786a0091ced74dce | fffc0e7860910ed1c7689b5c1349a35bdd5426da | /pitzDaily/100/p | 4dabb0df764655f05dc85debeb8a35eeb646d3b5 | [] | no_license | asAmrita/adjointShapeOptimization | 001fa7361c9a856dd0ebdf2b118af78c9fa4a5b4 | 2ffee0fc27832104ffc8535a784eba0e1e5d1e44 | refs/heads/master | 2020-07-31T12:33:51.409116 | 2019-09-28T15:06:34 | 2019-09-28T15:06:34 | 210,605,738 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96,607 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
814f1289e8c958c485b7ec1308550c397b77c0aa | 6924d84805ef11ae874c50bf5cea64152e296750 | /refBoxComm/src/explorationInfoListenerNode.cpp | 13fee157820279c16cf1be451be8275d1027f77b | [] | no_license | ValentinVERGEZ/RBQT_communication | 95ad18cea7f2328411e3728fd58b68fc895bf4c1 | b3eabac8d33c0cd591ad64e1c569d11ff1f687cb | refs/heads/master | 2020-05-19T21:31:54.834701 | 2014-12-14T15:53:38 | 2014-12-14T15:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp |
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "geometry_msgs/Pose2D.h"
#include "refBoxComm/ExplorationInfo.h"
void eiCallback(const refBoxComm::ExplorationInfo &ei)
{
for(int idx=0; idx < ei.signals.size(); idx++)
{
ROS_INFO("signal %d : %s", idx, ei.signals[idx].type.c_str());
... | [
"vincent.coelen@polytech-lille.net"
] | vincent.coelen@polytech-lille.net |
c37031c4d39298c4280ec1fa2d29a2c105dfd582 | 93db044eb00abbd18b75eeb0617dd1e054f2b199 | /Engine/Source/ThirdParty/PhysX/PhysX-3.3/include/PxQueryReport.h | 9aed019b55ecb2458ae8b1817b541217151a5809 | [] | no_license | cadviz/AHRUnrealEngine | 9c003bf9988d58ece42be4af030ec6ec092cd12e | e0c1a65098f4a86b4d0538535b5a85dd1544fd30 | refs/heads/release | 2021-01-01T15:59:31.497876 | 2015-04-13T22:03:55 | 2015-04-13T22:03:55 | 34,035,641 | 9 | 19 | null | 2015-04-16T05:12:05 | 2015-04-16T05:12:05 | null | UTF-8 | C++ | false | false | 16,776 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"unrealbot@users.noreply.github.com"
] | unrealbot@users.noreply.github.com |
4e71e77596d3329e2592052b42712c56c9e13ea5 | 983515294c903355d6574e9c73db6a84d9bd65c8 | /test/modules/sequencizer/sequence-controller-idle-suite.cpp | 5c364bff0466c0ee72e909caeb5f33eaeb4b1d79 | [
"MIT"
] | permissive | dhemery/DHE-Modules | 80c10f54219633d356ed922aa014bf94e3dcbd00 | 1d1c286fc69babdb36dfe5fa4fe2856b0f707854 | refs/heads/main | 2022-12-23T20:46:49.810184 | 2022-02-05T20:50:38 | 2022-02-05T20:50:38 | 117,472,503 | 36 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 8,590 | cpp | #include "components/latch.h"
#include "fixtures/sequence-controller-fixture.h"
#include <functional>
namespace test {
namespace sequencizer {
using dhe::unit::Suite;
using dhe::unit::Tester;
using TestFunc = std::function<void(Tester &)>;
static inline void when_idle(Signals &signals, StepSelector & /*step_selector... | [
"dale@dhemery.com"
] | dale@dhemery.com |
013e48952bf2b2fb19473eb8cec8cc84c5502e48 | bf9318969029963bc8f790798aa62769334a3026 | /16- Majority Element II/sol1.cpp | 33b721619432d8c1b792d072cba5ced7f5693301 | [] | no_license | wandering-sage/dsa-practice | b7e16daf51f9c5cffb846a75cc50fa10ea54ee92 | c63d832731f254c47a905f243d266f703bfefa79 | refs/heads/main | 2023-07-16T04:07:04.170288 | 2021-08-25T05:38:22 | 2021-08-25T05:38:22 | 379,991,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | #include <bits/stdc++.h>
using namespace std;
// Using Moore Voting Algorithm
// time-->O(N) space-->O(1)
vector<int> majorityElement(vector<int> &nums)
{
int me1 = -1, me2 = -2;
int c1 = 0, c2 = 0;
vector<int> ret;
int i = 0;
for (int i = 0; i < nums.size(); i++)
{
if (nums[i] == me1)
... | [
"shivam4503@gmail.com"
] | shivam4503@gmail.com |
bad3392ec9536a873d23fb973e1f553ca41c6a4e | 8e854323d86b97057ee199e545f508d933d3a5be | /src/privatesend-client.h | adc49bc0ab1737349aae9d95b72cf510718cc85a | [
"MIT"
] | permissive | julivn/.github | 362789f251e73846441028cf4de5a8279fc40f0e | 6d544f99d9ba53d386863cb58e749af163c30294 | refs/heads/master | 2020-04-14T13:18:14.444317 | 2019-01-02T16:31:03 | 2019-01-02T16:31:03 | 163,864,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,991 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018 The Bitmonix Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRIVATESENDCLIENT_H
#define PRIVATESENDCLIENT_H
#include "master... | [
"46324696+julivn@users.noreply.github.com"
] | 46324696+julivn@users.noreply.github.com |
1d966df9d536890fb52dac2ca613e317888d1d05 | c717b260750d9c733b40e668d2841dee92167699 | /software/libs/mctl/ft_sensor_cal.hpp | 2aad94ea629536606217071b13fc275da9c3e267 | [
"Apache-2.0"
] | permissive | hanhanhan-kim/noah_motion_system | b68e3fc6db1a0faea272ead7a22a043dfb80a6c8 | 5bea2750eac638b9f90720b10b5e2516f108c65b | refs/heads/master | 2022-11-06T08:20:49.977792 | 2017-10-06T00:12:05 | 2017-10-06T00:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,293 | hpp | #ifndef FT_SENSOR_CAL_HPP
#define FT_SENSOR_CAL_HPP
#include "rtn_status.hpp"
#include "ft_tool_transform.hpp"
#include <memory>
#include <vector>
#include <iostream>
#include <armadillo>
namespace atidaq
{
extern "C"
{
struct Calibration;
}
}
namespace mctl
{
class FT_SensorCal
{
... | [
"will@iorodeo.com"
] | will@iorodeo.com |
b9c87feb0de7dbe5a32a2e087c775691a79f4df8 | 07afe5a4ea3946a8891348783530dc7a33a9fcbd | /Source/v3ctor.cpp | 4db1ddc834bd355ab2ef0ad0343777e885da496f | [] | no_license | dvulakh/GalaxyMap | b1a9beb89f8f08a6e7bba6397263ae298fe0055a | 0cbfcce8bee886c73fc98797447069f112485020 | refs/heads/master | 2020-08-21T09:05:55.574090 | 2019-10-19T23:40:47 | 2019-10-19T23:40:47 | 216,127,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,149 | cpp |
#include "v3ctor.h"
#include <string>
#include <cmath>
#define PI 3.141592635897931
// Constructors
/// Given components
v3ctor::v3ctor(double x, double y, double z)
{
this->x = x;
this->y = y;
this->z = z;
}
/// Default
v3ctor::v3ctor() {
this->x = 0;
this->y = 0;
this->z = 0;
}
// Ov... | [
"noreply@github.com"
] | dvulakh.noreply@github.com |
ee1fd5a7032a390d5aab81dc81182035df8ccf50 | 923d0c8d9e4578c9a77e6f5fab207ba706ad61c4 | /simplect_cpp/width-height_image.cpp | 6c7e7c955c0520e5a8497863eaa2ee72f0b2da60 | [] | no_license | yuni-net/simplect | d19a73c39af660bf69fc25dd655efe8067f632bf | 9bdb75eb08652ad37a43555827228d4b5eb72ba3 | refs/heads/master | 2021-01-21T10:09:19.623786 | 2015-06-28T08:45:10 | 2015-06-28T08:45:10 | 38,192,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include "includes.h"
#include "image.h"
float sim::image::width() const
{
return base_width()*magni();
}
float sim::image::height() const
{
return base_height()*magni();
}
uint sim::image::base_width() const
{
if (pImageData == NULL) return 0;
return pImageData->width();
}
uint sim::image::base_height() const... | [
"yuni.net.liberty@gmail.com"
] | yuni.net.liberty@gmail.com |
9c6897ad10c77e78913865041aeee2163b784c79 | 28a961d8524aa1fe84cfdd2b6e124f39eb1b5237 | /net/Server.h | 94e9064756774cab14e2f46269b76916da660f3b | [] | no_license | yanpd1228/Yedis | 0765607ef26cb03d416ab76262109d2f6ab2a658 | d137a68636637599ebe78e35a403fc145a22450c | refs/heads/master | 2023-05-12T20:39:01.805463 | 2021-05-30T05:01:30 | 2021-05-30T05:01:30 | 363,556,674 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,910 | h | #ifndef _YPD_SERVER_H_
#define _YPD_SERVER_H_
#include <functional>
#include "SocketAddr.h"
#include "TcpConnection.h"
#include <atomic>
#include <memory>
#include <map>
class AcceptNew;
class EventLoop;
class EventLoopThreadPool;
class Server
{
public:
enum Option
{
kNoReusePort,
kReusePort,
... | [
"1654309840@qq.com"
] | 1654309840@qq.com |
f7e3598ca2384268d722850c20e9a5a91ca71484 | 8c6e11ae739ba9da168c991a166855d3b84206ca | /arduino_rfid/arduino_rfid.ino | 075f578ed3b3d812ee18a4e6d4353fd89c8c5579 | [
"BSD-2-Clause"
] | permissive | mrozo/RFIDScreenLock | 8c8d633564b6b30c8b210ab8f7e3a916f7ed6448 | 15bb335df594cea70094a97556c1149b4b3f1cf7 | refs/heads/master | 2021-04-26T04:54:03.361584 | 2017-10-22T21:25:29 | 2017-10-22T21:25:29 | 107,031,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | ino | /*
* Initial Author: ryand1011 (https://github.com/ryand1011)
*
* Reads data written by a program such as "rfid_write_personal_data.ino"
*
* See: https://github.com/miguelbalboa/rfid/tree/master/examples/rfid_write_personal_data
*
* Uses MIFARE RFID card using RFID-RC522 reader
* Uses MFRC522 - Library
* -----... | [
"private@mrozo.pl"
] | private@mrozo.pl |
e85b42250df1e8b140ef72ed94e8c252c9cca7dc | ed4a91fd9b4fefca40cc5118b485c0ec7d4ba40c | /louluosrc/template_tcp/src/main/main.cpp | 5899d2047fb7fefadf9a5c96726d9d393835a488 | [] | no_license | hkduke/my_src | 165035db12481d36bedb48cf2c1c1759ce2af42f | 2282fff562fd14c972e7ce66a615a7125cb4a877 | refs/heads/master | 2020-06-13T08:14:34.674528 | 2017-04-09T12:47:57 | 2017-04-09T12:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | cpp |
//#include "module_test.h"
#include "SDConfigurationSingleton.h"
#include <log4cplus/configurator.h>
using namespace log4cplus;
#include "common/SDLogger.h"
#include "dispatcher.h"
//#include "service_stat.h"
//#include "http_server.h"
#include <sys/types.h>
#include <sys/wait.h>
//#include "log_codec_w... | [
"18915413902@163.com"
] | 18915413902@163.com |
2113963c0eb66e7db7bf43f697480962f577be4a | e18a51c1bd1425f22db15700a88e8c66f3552d93 | /packages/lagrangian/intermediateNew/parcels/Templates/KinematicParcel/KinematicParcel.H | ee860ad478dc325305b57ba1d41997a831391526 | [] | no_license | trinath2rao/fireFoam-2.2.x | 6253191db406405683e15da2263d19f4b16181ba | 5f28904ffd7e82a9a55cb3f67fafb32f8f889d58 | refs/heads/master | 2020-12-29T01:42:16.305833 | 2014-11-24T21:53:39 | 2014-11-24T21:53:39 | 34,248,660 | 1 | 0 | null | 2015-04-20T08:37:28 | 2015-04-20T08:37:27 | null | UTF-8 | C++ | false | false | 20,385 | h | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
--------... | [
"karl.meredith@fmglobal.com"
] | karl.meredith@fmglobal.com |
ddbe164296fe772daef73bdf76842991f7d7c89b | bd56aece437cd598f929ca4df96138e8c2a5713e | /2DPlatformer/Fighter.h | dbf58cd453f60d8b9bff5931303adc8bfd2f0789 | [] | no_license | dbncourt/SpaceFighter | 9bb5b1585459cef5f81d59e208c38b20815e9890 | 84c4fa2428dad8573e8eabf23180610c83d2229a | refs/heads/master | 2021-01-01T06:05:05.102586 | 2015-10-01T01:41:27 | 2015-10-01T01:41:27 | 42,380,702 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | ////////////////////////////////////////////////////////////////////////////////
// Filename: Fighter.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _FIGHTER_H_
#define _FIGHTER_H_
//////////////
// INCLUDES //
//////////////
#include <list>
///////////////////////
// MY CL... | [
"dbncourt@gmail.com"
] | dbncourt@gmail.com |
62f48f8c1e86d61f8c3caaf55e1eeb5f9c7f9d26 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/modules/v8/v8_data_transfer_item_partial.cc | dc2be783a55ea6cbfac2593cfd4102495af82a30 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,253 | cc | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/partial_interface.cc.tmpl
// by the script ... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
5091df236918ca918efa34e83268eee3fcc6fdbe | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/Internal (Offsets Only)/SDK/AD_ThirdPerson_PlayerPirate_Female_Athletic_classes.h | b64e2dc918f5e7079a5eb84bd930626e57974fdd | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
efd68d2dded62d980338d0eb39b3682c8b5b1e99 | 1835bc57373845971613cda3f66b88813c139fc2 | /examples/Cylindrical/tracker.cc | 9c2ef9360fdf68c2eafe505390268eb1ec37ccc5 | [] | no_license | jtalman/ual-sandbox_SL7.4Plus | 4cf8037a0b289d9a29b9e8918ca15e40d4eca8a4 | decdce8e9e42b51be4ced1174811bcb14427353a | refs/heads/master | 2020-03-09T19:36:51.464651 | 2019-11-12T12:57:52 | 2019-11-12T12:57:52 | 128,962,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,565 | cc | #include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include "UAL/APDF/APDF_Builder.hh"
#include "PAC/Beam/Position.hh"
#include "SMF/PacSmf.h"
#include "PAC/Beam/Bunch.hh"
#include "Main/Teapot.h"
#include "UAL/UI/Shell.hh"
#includ... | [
"JohnDTalman@gmail.com"
] | JohnDTalman@gmail.com |
8401e26f288c6be46a17019049f6a1bccfd9212d | 525ae58ba7555323e5b3fa751f1713c264d8ec1b | /Advanced/1003.cpp | 6b60a0c85fcd0dd0d0dc79c088e66b612010bd01 | [] | no_license | zzwzxmm/PAT | 5515e304b660eab4cffe23389d30c38aec4245a1 | 2813efbc50a4f62c631e0111f72703509e9bc875 | refs/heads/master | 2020-08-07T17:34:28.632026 | 2019-12-07T03:04:19 | 2019-12-07T03:04:19 | 213,539,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,896 | cpp | #include<stdio.h>
#include<algorithm>
#include<iostream>
#include<vector>
using namespace std;
//Using vector node as adjacency table
struct node{
int v;
int dis;
};
//Variables define num[max] to count, num[max]=num[now]+num[pre] or num[pre];
//Using t[max] and w[max] to store maximum weight
const int MAX=5... | [
"noreply@github.com"
] | zzwzxmm.noreply@github.com |
b730cbb19015ce885de50335d0c25cbd314c5ada | b6ccb7529cd311c953b208e5200f26bdb3cb1d67 | /41.First Missing Positive.cpp | 0e413c0be7a093144f464da6d686b72f9e0745de | [] | no_license | swang109/Leetcode-1 | 2c5b3b6d9a7223c9f791d8972cb0da8c07e33eee | 9243f05ddd1fdcc0de2a6d57148c7df33affc627 | refs/heads/master | 2020-12-01T11:41:23.955464 | 2015-11-08T22:40:40 | 2015-11-08T22:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include <iostream>
#include <vector>
using namespace std;
int firstMissingPositive(vector<int>& nums) {
for (int i = 0; i < nums.size(); i++)
while (nums[i] > 0 && nums[i] <= nums.size() && nums[i] != nums[nums[i] - 1])
swap(nums[i], nums[nums[i] - 1]);
for (int i = 0; i < nums.size(); i... | [
"roddykou@gmail.com"
] | roddykou@gmail.com |
7a3fefa58ce5fe985874f035fd6424270fdece2a | ad6e3ddf624e444820972845ed70d84a7628dd0b | /Cpp/442.cpp | 4f9bf154dc8a744eadcaedc2571a40f526f2e852 | [] | no_license | ZoeyeoZ/LeetCode-Program-Learning | 4c1d422a0d10e03ebce4154a8a400f6523e0da22 | 5369d7ed4eaeaa95542244aad1bce598e01e1386 | refs/heads/master | 2021-07-13T18:27:43.634167 | 2019-01-27T00:33:48 | 2019-01-27T00:33:48 | 114,710,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | /*
no extra space & O(n) time
1.
mark with highest bit
int index = nums[i] & 0x7fffffff;
if (nums[index - 1] < 0) {
r.push_back(index);
}
else {
nums[index - 1] |= 0x80000000;
}
2.
mark using negative
nums[abs(nums[i])-1] = -nums[abs(nums[i])-1];
if(nums[abs(nums[i])-1] > 0) res.push_back(abs... | [
"noreply@github.com"
] | ZoeyeoZ.noreply@github.com |
9deda26c98829c6f09c81085d08900cffc1ea5c3 | 3c2217a9e512b0f0cc9158729bf29117673d60fa | /uva 1185 solution.cpp | d774e54a4d5cfed7c5ce0b80ebca095f939f20ff | [] | no_license | tanveerislam/UVASolution | 84b0f443ae435dabe09189ba5ed7a2b550b66415 | 9c03e59fc0a93f319ff17e85a5012823ace16166 | refs/heads/master | 2020-07-22T00:00:41.956658 | 2019-09-07T18:12:57 | 2019-09-07T18:12:57 | 207,007,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
long long a[100000];
int main()
{
long long m,t,i,j,k,l,c;
double n;
cin>>t;
for(i=0;i<t;i++)
{
cin>>a[i];
n=(double)a[i];
c=1;
for(j=n-1;j>0;j--)
{
while(n>=10.0)
{
... | [
"tanveerlab10ragshahi@gmail.com"
] | tanveerlab10ragshahi@gmail.com |
39e5fca2873f87f549dc7d7e8a5a8158864f5d8d | e3f4283e488dabbc45cbeeb6309503f8334571e9 | /Wire/Wire.cpp | 881b31bcaa0cefad701933da997fea6b0d75e47d | [] | no_license | igouss/RobotProto | 139a81fe4fc2faa9b3520749bf9bf716c6de3264 | 74833be50b68eb7dc27ec2e60ef9cfa9cb128064 | refs/heads/master | 2021-01-17T06:33:41.452786 | 2011-09-10T01:43:01 | 2011-09-10T01:43:01 | 2,166,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,904 | cpp | ///*
// TwoWire.cpp - TWI/I2C library for Wiring & Arduino
// Copyright (c) 2006 Nicholas Zambetti. All right reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
... | [
"i.gouss@gmail.com"
] | i.gouss@gmail.com |
f087a53e54beb2bd8e9ef1ce76eb3d5530a6c867 | ece2011fdb20670f76b6b970df54bc818c6b313b | /Sources/Inputs/AxisCompound.cpp | 121c741d5954050f89ad73628f721e636f61926f | [
"MIT"
] | permissive | FirstLoveLife/Acid | eda32711a0cfdcc9f596e547e2880e9edfffda5a | b7ce821a6a2b2d4bc441b724fabe1bbd9b9c6b8d | refs/heads/master | 2020-04-28T04:20:02.863648 | 2019-03-15T19:26:27 | 2019-03-15T19:26:27 | 174,974,067 | 0 | 0 | null | 2019-03-11T10:09:23 | 2019-03-11T10:09:22 | null | UTF-8 | C++ | false | false | 372 | cpp | #include "AxisCompound.hpp"
namespace acid
{
AxisCompound::AxisCompound(const std::vector<IAxis *> &axes)
{
for (const auto &axis : axes)
{
m_axes.emplace_back(axis);
}
}
float AxisCompound::GetAmount() const
{
auto result = 0.0f;
for (const auto &axis : m_axes)
{
result += axis->GetAmount();
... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
d0779c97dc47d49d93a3454332e4a2f479e30d3e | 841776845974ba2645eff58ff8fabedd873093f0 | /8.最短路径/P2829大逃离.cpp | 278d68a6e0ebfde1361e94ca98674ad04e9183cd | [] | no_license | hello-sources/Coding-Training | f2652c9b8e58d244a172922e56897fa2a3ad52fb | d885ca23676cb712243640169cf2e5bef2d8c70e | refs/heads/master | 2023-01-19T11:17:36.097846 | 2023-01-01T00:49:09 | 2023-01-01T00:49:09 | 246,630,755 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | cpp | /*************************************************************************
> File Name: P2829大逃离.cpp
> Author: ltw
> Mail: 3245849061@qq.com
> Github: https://github.com/hello-sources
> Created Time: Thu 02 Jul 2020 03:31:59 PM CST
************************************************************************/
#includ... | [
"3245849061@qq.com"
] | 3245849061@qq.com |
713a1a0e1514d669dc3af66b65ee30e7530d8298 | 7842405af3bb3224de1790d75822e22a034cc584 | /ClassRoster/Code_Files/softwareStudent.h | 4fdb945d5e0f5bfeddb17550c5d2b7b68d611a0f | [] | no_license | Joseph-Maulin/Class_Roster | 9d25ea9ddb5ca75529d2966b1b456adc6220e57c | f370b434e2e435f5dbba05761ab914cb03877256 | refs/heads/master | 2023-01-25T05:16:25.227642 | 2020-12-07T03:29:41 | 2020-12-07T03:29:41 | 293,864,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | #ifndef softwareStudent_H
#define softwareStudent_H
#include <string>
#include "Student.h"
#include "degree.h"
using namespace std;
class SoftwareStudent: public Student{
public:
//Constructors
SoftwareStudent(string input);
SoftwareStudent(string studentID, string firstName, string lastName, string ... | [
"noreply@github.com"
] | Joseph-Maulin.noreply@github.com |
4bad78897ff2cc64284e87972bbf4e3990e2e7a1 | f53c6b3045e89b6674808e1c41495a020af48484 | /test/sy/angle/angle.ino | ba29651295de0c87b3fa57143129e7b7f4ffdb30 | [] | no_license | Team-Achi/Electric-Toothbrush | 73783a78c7d2b319718277e93fd5161b671e9fec | 74a4ec49851a60d0e93f84cbbfe2d76d159114fa | refs/heads/master | 2020-03-28T19:42:15.625659 | 2018-12-10T14:18:33 | 2018-12-10T14:18:33 | 149,001,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | ino | #include<Wire.h>
const int MPU=0x68;//MPU6050 I2C주소
int AcX,AcY,AcZ,Tmp,GyX,GyY,GyZ;
void get6050();
void setup()
{
Wire.begin();
Wire.beginTransmission(MPU);
Wire.write(0x6B);
Wire.write(0);//MPU6050 을 동작 대기 모드로 변경
Wire.endTransmission(true);
Serial.begin(9600);
}
void loop()
{
get6050();//센서값 갱신
//받아... | [
"gfsusan@naver.com"
] | gfsusan@naver.com |
b1bc9ea4a932837fe65731fe52349fbafa30c4ed | 7dd9149a4518ac21e3e2ba500f7cdc9823ddaf06 | /T1/CardT1.cpp | fd5f133cf6f9011be375e835ba767906cd671df9 | [
"MIT"
] | permissive | bcspragu/Casino | d34848ae60631cd05de9c249c9f7d7e734375fc3 | eaa106432b6e8ecdd5860d5007f1404e0150e154 | refs/heads/master | 2021-01-21T02:11:13.193473 | 2015-05-05T00:09:29 | 2015-05-05T00:09:29 | 14,091,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,652 | cpp | #include <string>
#include "CardT1.h"
using std::string;
CardT1::CardT1(Suit s, Value v){
suit = s;
value = v;
}
CardT1::CardT1(string s){
string su;
string va;
va += s[0];
if(s[0] == '1'){
va += s[1];
}
//Last character
su = *s.rbegin();
if(va == "2"){
value = (Value)0;
}else if(va == ... | [
"brandon00sprague@gmail.com"
] | brandon00sprague@gmail.com |
b96791c7ba47fa615a92e6ab8ca47a7e13e5d7bb | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T2723200652.h | 1e9b71d374786c2e5775168166d7c9f1d70cc086 | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.ComponentModel.WeakObjectWrapper
struct WeakObjectWrapper_t2012978780;
// System.Collections.Generic.LinkedList`1<System.ComponentModel.TypeDescriptionProvider>
struct Linke... | [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
62e834969f9caf4ea346d078db2eee2a19074293 | 9008c55d40a55adf6432152fc4fb9bfc71824c42 | /src/Overlook/SystemQueue.cpp | 1e5708c3418448aeb9a5aa2ad3cf19163e36222c | [
"BSD-3-Clause"
] | permissive | IanMadlenya/Overlook | 6a9c46483c5ce651b3f4caac4b41b3e1f1aba8a8 | e62ef353e72d9513f43652d027c546547195a143 | refs/heads/master | 2021-04-25T07:20:49.668491 | 2018-02-19T21:30:50 | 2018-02-19T21:30:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,736 | cpp | #include "Overlook.h"
namespace Overlook {
void System::InitRegistry() {
ASSERT(regs.IsEmpty());
ASSERT_(System::GetCoreFactories().GetCount() > 0, "Recompile Overlook.icpp to fix this stupid and weird problem");
// Register factories
for(int i = 0; i < System::GetCoreFactories().GetCount(); i++) {
... | [
"seppo.pakonen@yandex.com"
] | seppo.pakonen@yandex.com |
0660949b4c216d61dc21b0c38ee7b2e829bb7cfa | a1a0518781ec8bb41acb853850e115005bdc7c8c | /BOJ/11719_그대로 출력하기 2.cpp | e5a4be9ed311dc99db02c1b2fa516bd6f11b2c78 | [] | no_license | JJungs-lee/problem-solving | e71ccbcab58b6c2444a4b343a138a3082ed09c0c | aa61f2311a7a93fbcb87d2356d15188ea729ee7c | refs/heads/master | 2023-09-03T16:48:31.640762 | 2023-08-31T09:05:39 | 2023-08-31T09:05:39 | 106,645,163 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | #include <iostream>
using namespace std;
int main(){
char str[101];
while(cin.getline(str, 101)){
cout << str << endl;
}
return 0;
} | [
"loveljhs2@gmail.com"
] | loveljhs2@gmail.com |
845708b1c6df58776b9b009fbd438edc9b48082f | 56b94ffc8f4dcb39908399201d38b78f4f8c2376 | /tests/parser/030.cpp | c51fafa069c5ce8a8202ee091331561857aea6ac | [] | no_license | helviett/Tiny_C_Compiler | 99f7a5187eea701bf95f090c2efbb34e6326baf9 | 0968c89884e50386911913b3c6703fe4ce31e10f | refs/heads/master | 2021-09-07T06:58:44.035998 | 2018-02-19T05:53:30 | 2018-02-19T05:53:30 | 106,104,684 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | int main(void)
{
int a, b, c, d, e, f, g[5];
int max = c > d ? c : d;
5 + 12 * 8 <= 5 | 9 << 3 + 1 > 4 ? (123 ^ 7) - d >> 8 << 7 & 12 + ~1 == 9 <= 5 && f + ++g[5] - 15 : 12;
return 0;
} | [
"keltarhelviett@gmail.com"
] | keltarhelviett@gmail.com |
097a2834319794b216c1d29684b8190038ebd097 | 509aa79f8b1054a37c0eaf5786826b140695980a | /Lab/Lab/src/shortestPath2D/ShortestPath.h | afc1937c98f39e56c52fd98b9c94e100312c62ad | [] | no_license | MariKush/MFCG | e5171c0ec38f5fc86819174fb962dfdc30ed0b09 | a2bc141216c6e630c329f346de6041120a3f3506 | refs/heads/master | 2022-07-31T22:01:50.722977 | 2020-05-19T19:31:03 | 2020-05-19T19:31:03 | 262,397,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | #ifndef SHORTESTPATH2D_SHORTESTPATH_H
#define SHORTESTPATH2D_SHORTESTPATH_H
#include <vector>
#include "Common.h"
#include "Point.h"
#include "Polygon.h"
#include "Path.h"
#include "Graph.h"
namespace shortestPath2D {
class ShortestPath {
struct SPNode {
real distance;
Point point;
Point parent;
};
pu... | [
"43176370+MariKush@users.noreply.github.com"
] | 43176370+MariKush@users.noreply.github.com |
75546bca3da92d9b4f8c736035389a52c583824d | 4fd9f29b20e26b7cc80d748abd8f1dcd94fbbfdd | /File exploration/Ernst Kleiberg/BotanicVis/SoBotanicalBranch.h | 0d5b2bac01551946e7fcd0a15cf16b6192ab54f2 | [] | no_license | Kochise/3dglrtvr | 53208109ca50e53d8380bed0ebdcb7682a2e9438 | dcc2bf847ca26cd6bbd5644190096c27432b542a | refs/heads/master | 2021-12-28T03:24:51.116120 | 2021-08-02T18:55:21 | 2021-08-02T18:55:21 | 77,951,439 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 9,312 | h | /* ========================================================================
* Copyright (C) 2000 Vienna University of Technology
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foun... | [
"noreply@github.com"
] | Kochise.noreply@github.com |
8cbb720c82303474b24892f2f50098f7e228ee7c | 838bc678fc99413b914fdc69b508f77e6c59b66c | /VGP334/17_HelloSkinnedMesh/WinMian.cpp | 8f825318ceb3c1a0986f261fd31cbde8d08dc6ea | [] | no_license | NeilChongSun/SBEngine | 34a6969b1c59226a096986d267265ff2f4479b05 | a2659bb3c40ae7154dfadaeb8c7b1d5fb71fc366 | refs/heads/master | 2023-05-26T06:52:36.933092 | 2021-06-10T23:47:51 | 2021-06-10T23:47:51 | 376,198,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include<SB/Inc/SB.h>
#include"GameState.h"
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
SB::MainApp().AddState<GameState>("GameState");
SB::MainApp().Run({ "Hello Skinned Mesh", 1280, 720 });
return 0;
} | [
"ImportService@microsoft.com"
] | ImportService@microsoft.com |
747e0748264a21b3471120c028e14041c0c8fb1e | d60c368af917b102962ca4f63fb4f906bf488906 | /CS15 Object-Oriented Programming Methods Workplace/Assignment 5/Assignment 5/Trapezoid.cpp | a56bee3410e1fbc4074eb2520b0cc0ac1cf88d55 | [] | no_license | mahdikhaliki/CS-Classes | f36d3092abf17553bbd75cfe21312edfc403deaf | ef52cc430e3dd778e20c6b59dd6261d193bc59cb | refs/heads/master | 2021-01-15T02:02:59.361191 | 2020-12-11T06:43:14 | 2020-12-11T06:43:14 | 242,841,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include "Trapezoid.hpp"
using namespace std;
Trapezoid::Trapezoid() {
_a.setAll(4.0, 0.0);
_b.setAll(0.0, 0.0);
_c.setAll(1.0, 5.0);
_d.setAll(3.0, 5.0);
}
double Trapezoid::area() {
return ((_a.Distance(_b) + _c.Distance(_d)) / 2) * (_c.getY() - _b.getY());
}
double Trapezoid::perimeter() {
... | [
"mahdi.khaliki@sjsu.edu"
] | mahdi.khaliki@sjsu.edu |
0b0ad3df71d876d345786439f20ae167f28ec32f | 1100c43ab96da22bcfd1003c8472fb568b5b4675 | /examples/src/Core/OverrideFinal/XX_OverrideFinal.cpp | e9923f943784abfe0b4159c8ee30be059a5a1dec | [] | no_license | xcysuccess/CPlusPlus11 | ba6d91655a391d739dc5bd17983d92dc715614fe | 991c71a158777856033414d38bcd3aa2a461aa77 | refs/heads/master | 2020-04-06T09:28:11.683155 | 2018-11-19T13:17:38 | 2018-11-19T13:17:38 | 157,343,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | //
// XX_OverrideFinal.cpp
// XXCPlusPlus
//
// Created by tomxiang on 2018/11/16.
// Copyright © 2018年 tomxiang. All rights reserved.
//
// 1.继承的时候会有无意重写父类方法的问题---
// 2.virtual中如果方法一样,参数类型不同可能会被重复调用---
#include "XX_OverrideFinal.hpp"
#include <XXTiles/XXTiles.h>
//第一种情况----accidentally overrides A::func
class ... | [
"tomxiang@tencent.com"
] | tomxiang@tencent.com |
052ec59dc5e0d70b055de852a4c0e9d7992144bd | a1bfdad4489b2ef379330ddb7ce41d279406ea30 | /src/7zipAndroid/CPP/7zip/UI/Console/PercentPrinter.cpp | bce0ba7875b286484b93f6e138d80542d54c1648 | [] | no_license | wcrosmun/simple-7zip-wrapper | 996eb4dafd6255904a411e61707d3e86a970edbf | e14b6bda0af6662905788b88274152d209a4e97b | refs/heads/master | 2021-09-07T01:25:33.889372 | 2018-02-15T00:07:46 | 2018-02-15T00:07:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cpp | // PercentPrinter.cpp
#include "7zStdAfx.h"
#include "../../../Common/IntToString.h"
#include "PercentPrinter.h"
static const unsigned kPercentsSize = 4;
CPercentPrinter::~CPercentPrinter()
{
ClosePrint(false);
}
void CPercentPrinterState::ClearCurState()
{
Completed = 0;
Total = ((UInt64)(Int64)-1);
File... | [
"cryptobees@gmail.com"
] | cryptobees@gmail.com |
6c3cb6fc5dcdd297386a5fd11b41e311e41218e0 | cc2cd06b8ed582d8363ca0998d5fd1a77e70cd0c | /MFISH.cpp | a03c2a4e9719623f8ef106bbcd37dde219543e98 | [] | no_license | gittyvarshney/DP | 625aaa73ef984fd557db629bdae30c540baa79da | 12798f3211508f8b030671efed6fce85172a74e2 | refs/heads/master | 2022-12-15T01:26:20.591380 | 2020-09-16T14:57:24 | 2020-09-16T14:57:24 | 285,312,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | #include<bits/stdc++.h>
using namespace std;
//Very nice 1D DP Problem of SPOJ
//In original problem their is a constraint that you have to use all the ships but
//if their is no constraint on ships
//you can replace the //with constraint <--between--> //End of constraint With
/*
map<int, int>::reverse_iterator it;
f... | [
"pv66645@gmail.com"
] | pv66645@gmail.com |
990c74fae962413d962825c19a3658d2853fd003 | 70c1d93fd809d767e7a10611a83425234d1f7a77 | /Study/KOI_Book/KOI/9.cc | 2b3ee01200dcd74e1dbbd5faa873053fefe3c77f | [] | no_license | BlinkingStar7/Problem_Solving | 1e52348d3f013ab1849697894d7e30cf540697f8 | 9f115c831ffb70cd3dfedf6fbee782fba4cfc11a | refs/heads/master | 2021-01-21T04:27:40.184818 | 2016-08-26T09:24:40 | 2016-08-26T09:24:40 | 51,363,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cc | #include <stdio.h>
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
vector<int> Prime;
typedef struct Node {int num, height; vector<Node> child;} Node;
queue <Node*> Q;
int C[4] = {1, 3, 7, 9};
void findPrime(int num) {
for (int i=3; i<num; i+=2) {
bool flag = true;
for (int k=0; k<Pri... | [
"steadies@naver.com"
] | steadies@naver.com |
927111a3af4e3dd2c7c047d5881697b93de1437e | 62f22ff727b6437362cfdb9d23afb99bed517290 | /libraries/PowerPin/PowerPin.h | d46d073e221c5efa99404b718581f990274d1bd2 | [] | no_license | tezmo/OpenPuzzleBox | 0902c19d7c3f2288b75d03208e044571ddf1d3a6 | a707a0257d7dd13790d1dfc3dc433e7d47ecd3d8 | refs/heads/master | 2016-09-05T10:50:52.258158 | 2015-05-12T17:59:41 | 2015-05-12T17:59:41 | 35,000,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | h | /*
PowerPin - Simple Arduino library for powering things, with timeouts.
Juerd Waalboer
*/
#ifndef PowerPin_h
#define PowerPin_h
#include <inttypes.h>
#include <Arduino.h>
class PowerPin {
public:
PowerPin(uint8_t pin, uint8_t off_state = LOW);
void on();
void off();
void on(u... | [
"jvanderroest@gmail.com"
] | jvanderroest@gmail.com |
05d291af83204389f33026a48248ccfd791e43f0 | 0fc9ad6ba0b4fd5590d7d471fed6881277d192fd | /code/Lulea/Rib.cpp | 5955eec0ec463b7831a46b2f62e122d5df3874b2 | [] | no_license | jijinfanhua/MyBitmap | fda92926a3382c5ba59aefcd7d9742d198cff46b | 6ed7a0731492fdf07c3a9c30b7a6e44f86e41c3c | refs/heads/master | 2020-04-26T13:27:34.950420 | 2019-03-03T14:09:06 | 2019-03-03T14:09:06 | 173,579,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,564 | cpp | /*
============================================================================
Name : Lulea.c
Author : Mzaort
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#incl... | [
"noreply@github.com"
] | jijinfanhua.noreply@github.com |
e226e2080c54721f229fa4539455a944904d9488 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/mpl/bitand.hpp | 844cc1a2669f853b0fef30c07dcada5a7f89cf03 | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 1,191 | hpp |
#ifndef BOOST_MPL_BITAND_HPP_INCLUDED
#define BOOST_MPL_BITAND_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2009
// Copyright Jaap Suter 2003
//
// 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)
//... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
9f534a1748b38c981fa29ef589f2293681312296 | 1f171eacac79739625a0500b0097871d40d61a2d | /test/unit/pdf/PdfMappingTest.cpp | f1164040e2ba01583f7f0d97c640f0ba7d309ff1 | [] | no_license | BillyLiggins/oxsx_old | b41a44bf77da859c342843f61d7a5495452089df | 67c23cf2c616a4a637bdda21e3d94e57cc5007b5 | refs/heads/master | 2021-05-02T16:48:47.383871 | 2017-03-02T01:52:36 | 2017-03-02T01:52:36 | 72,468,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | cpp | #include <catch.hpp>
#include <PdfMapping.h>
#include <BinnedPdf.h>
TEST_CASE("Check Initialisation of 3x3 -> 3x3"){
AxisCollection ax;
ax.AddAxis(PdfAxis("axis 1", 2.3, 4.5, 90));
ax.AddAxis(PdfAxis("axis 2", 1.3, 4.7, 11));
PdfMapping map;
REQUIRE(map.GetNBins() == 0);
map.SetAxes(ax);
... | [
"jack.dunger@physics.ox.ax.uk"
] | jack.dunger@physics.ox.ax.uk |
358240356f030dfdb855874ba5bc2b9a7efd1b07 | d4acab203c402bc5f8f412b47be13c73f2324b31 | /cdcl/Templates/vbl_smart_ptr+cdcl_feature_with_shape+3--.cxx | af476f679de3973a09e44dcbddee9f77a6f7285f | [
"Apache-2.0"
] | permissive | msofka/LRR | 18b69cb0fd2f98844fa47337e660541c65b7f953 | 8c04ab9d27980c98a201943c1fe46e7e451df367 | refs/heads/master | 2021-05-15T05:35:51.686646 | 2018-01-14T02:36:32 | 2018-01-14T02:36:32 | 116,441,547 | 2 | 0 | Apache-2.0 | 2018-01-06T02:43:14 | 2018-01-06T00:50:29 | C++ | UTF-8 | C++ | false | false | 134 | cxx | #include <vbl/vbl_smart_ptr.txx>
#include <cdcl/cdcl_feature_with_shape.h>
VBL_SMART_PTR_INSTANTIATE( cdcl_feature_with_shape<3> );
| [
"msofka@4catalyzer.com"
] | msofka@4catalyzer.com |
3c4664fed709c824c07031ac9e26ac127b4a72ee | 88e6a52c56ce251f01a19736b1ff95649b884cb2 | /p1.cpp | e97e64a02e878a5820138d4f8e4475176138b88d | [] | no_license | MYLNANDHU/mn | 5c12e95a213e08f2b32263ff756cd60db90f0286 | 90899f8a74506e15812a75b17da5459c471907a7 | refs/heads/master | 2021-04-26T14:38:48.381492 | 2018-07-06T14:54:10 | 2018-07-06T14:54:10 | 121,203,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <iostream>
using namespace std;
int main(int argc, char *argv[]){
size_t maxlen = 0, leng;
int i;
int longest;
for (i = 1; i < argc; i++)
{
len = strlen(argv[i]);
if (leng>maxlen)
longest = argv[i];
}
cout<<longest;
return 0;
}
| [
"noreply@github.com"
] | MYLNANDHU.noreply@github.com |
f0f18c51a1711afe3a6bfe37929757e7ef2167d8 | 7c3705990d82f10c9c5a789c9c8442da51f232f5 | /AmbifluxRobotARNL/AmbifluxRobot/Frame.cpp | 88a1bb6a53a2a93aa56b15e52016af6acdb857aa | [] | no_license | onartz/AmbifluxRobot | 7d30b3c6cbd6364bbf4ec7990cbaf45c9510159d | 7a7331bcf3d81997a073d0abcb8c84a508a266ed | refs/heads/master | 2021-01-21T10:09:08.567781 | 2015-05-28T09:15:06 | 2015-05-28T09:15:06 | 41,915,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | #include "Frame.h"
Frame::Frame(){}
Frame::Frame(char** msg, int nbArgs):msg( msg, msg + nbArgs )
{} | [
"olivier.nartz@univ-lorraine.fr"
] | olivier.nartz@univ-lorraine.fr |
386fc1cd7d378e4d6d18d62752528d972416fd82 | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /CppParserLib/PPTokenList.h | 26cf01369c79b1d9f102b0f10cd2339843d503c2 | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | h | /** ---------------- COPYRIGHT NOTICE, DISCLAIMER, and LICENSE ------------- **
Copyright (c) 2022 Andrew Paterson
This file is part of The Codaphela Project: Codaphela CppParserLib
Codaphela CppParserLib is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public Lice... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
bb6175870dea2b7f11c56317950356e40c570b47 | ff123a817c5b831005b8208f0ba635f631cd8ee4 | /Chapter 6/Code/6.45.cpp | 4fb66086abc0e523873037bcce690d59c764babf | [
"MIT"
] | permissive | VKorpela/EIC0691-Homework | c7699bd406513f4f0a402adb6ce4a117ddc603fd | d1080a212ec526551a9ac7cba61864e5ef2e1575 | refs/heads/main | 2023-04-18T13:38:56.978162 | 2021-05-05T01:37:49 | 2021-05-05T01:37:49 | 357,939,530 | 1 | 0 | MIT | 2021-04-28T01:52:41 | 2021-04-14T14:44:51 | C++ | UTF-8 | C++ | false | false | 1,372 | cpp | #include <iostream>
#include <cstdlib>
#include <cstdio>
#include <algorithm>
#include <queue>
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
typedef int Status;
using namespace std;
typedef struct TNode {
int tag;
TNode *LC, *RC;
} *BiTree;
BiTree treeBuild() {
int id;
scan... | [
"noreply@github.com"
] | VKorpela.noreply@github.com |
6508690ec1d94a20d85d58f51ac918b4b2aefe18 | 5bee3ec75e44bfc15fc181bb51248e81e6d5e83c | /Currentsensor.h | a45c374fd7af20b41d6220ec8368e062052d03a0 | [] | no_license | Luumo/microgrid-iot-platform | ad9f568d19458bbe0d1726d527200cb23f3611ce | fc727b1ef5d5af53d8e2c94c98285f9eed43b32b | refs/heads/master | 2023-02-21T17:54:11.118478 | 2020-07-03T22:30:15 | 2020-07-03T22:30:15 | 224,829,758 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | h | #ifndef CURRENTSENSOR_H
#define CURRENTSENSOR_H
class CurrentSensor{
public:
CurrentSensor(int pin, float sensitivity);
float readCurrent(); // returns Ampere
float currentValue = 0.000;
private:
int m_pin;
float m_sensitivity; //66mV/A for 30A sensor, 100mV/A for 20A sensor
... | [
"34240620+Luumo@users.noreply.github.com"
] | 34240620+Luumo@users.noreply.github.com |
66445abbba295b65d82cfe21ef535dd423fdc7c4 | e104892af303d85c5e661d099b500dc1e35b882d | /Sample12_4/app/src/main/cpp/bndev/MyVulkanManager.cpp | 08bf6e60198a5bdbb2fe66627cb03c2966f6ae67 | [
"Unlicense"
] | permissive | siwangqishiq/Vulkan_Develpment_Samples | 624900dabaca75c9ad21ef5a1ee5af6709dcc9a8 | 409c973e0b37086c854cde07b1e620c3d8d9f15d | refs/heads/master | 2023-08-16T04:13:54.777841 | 2021-10-14T06:53:11 | 2021-10-14T06:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,672 | cpp | #include <vulkan/vulkan.h>
#include "MatrixState3D.h"
#include "MyVulkanManager.h"
#include "../util/FileUtil.h"
#include "../util/TextureManager.h"
#include "../util/HelpFunction.h"
#include <thread>
#include <iostream>
#include <assert.h>
#include <chrono>
#include "ThreadTask.h"
#include "../util/FPSUtil.h"
#include... | [
"709165253@qq.com"
] | 709165253@qq.com |
8eefc0be7fd82bc76974dd74b77623edb98f4b48 | f13d58b82ab70b42ff017432272e4e9fc3d8d99a | /online-judge/CodeForces/CodeForces 1093C.cpp | 94b28e10eac469fb9c000f7987fb7a0993a35f7b | [] | no_license | WEGFan/Algorithm-Contest-Code | 3586d6edba03165a9e243a10566fedcc6bcf1315 | a5b53605c0ec7161d12d48335171763a2ddf12b0 | refs/heads/master | 2020-11-26T10:33:02.807386 | 2019-12-19T12:05:17 | 2019-12-19T12:05:17 | 229,043,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include <iostream>
using namespace std;
long long arr[200007];
long long brr[200007];
int main()
{
int n;
cin >> n;
for (int i = 0; i < n / 2; i++)
{
cin >> brr[i];
}
arr[0] = 0;
arr[n - 1] = brr[0];
for (int i = 1; i < n / 2; i++)
{
long long tmp = arr[n - i];
... | [
"goofans@qq.com"
] | goofans@qq.com |
0f0a4329caeca28272ba9b782a665fcffba36a76 | 438d9dde1d13a7b49da7ab4599a7ea5a046ccb88 | /Semester5-F/BTP305/Workshop8/Workshop8/w8.cpp | 1701c4586daceeb551c6de5bf8266215b9d7feea | [] | no_license | phanthanhkhai480/school-work | b99e1b11642a9929bbb5a83d3d0e3b6480669d92 | f95831e0d36a461bd0eb00c61946cff526fdbf60 | refs/heads/main | 2023-08-06T00:21:05.091992 | 2021-09-27T02:31:31 | 2021-09-27T02:31:31 | 394,076,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | cpp | // Workshop 9 - Smart Pointers
// w9.cpp
#include <iostream>
#include <fstream>
#include <iomanip>
#include <memory>
#include <utility>
#include "Element.h"
#include "List.h"
const int FWC = 5;
const int FWD = 12;
const int FWP = 8;
w9::List<w9::Product> merge(const w9::List<w9::Description>& desc,
... | [
"50007190+phanthanhkhai480@users.noreply.github.com"
] | 50007190+phanthanhkhai480@users.noreply.github.com |
229fef720611cacd523d8fbc4f2d5853417bc653 | 87b48e7b8d80e11fa8ac762a5327b9877ec5a1ff | /configure/configure_edge/main.cpp | 47f7d8cd35d7e0dc11fc49c80f8577ff0711f1d0 | [] | no_license | junyiliu/innovation-diffusion | 0d5fb38e0ae16f802d223a1f420c22c19bfa330f | d27b0d1689324fb9c3b8cf170e8c0255e64e23b4 | refs/heads/master | 2021-01-10T19:32:58.600105 | 2014-05-10T08:00:46 | 2014-05-10T08:00:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,651 | cpp | #include "my_vector.h"
#include "epidemic.h"
#include <cstdio>
#include <iostream>
#include <fstream>
#include <vector>
#include "include/igraph.h"
#include "migraph.h"
#pragma comment(lib,"igraph.lib")
igraph_rng_t *mrng=igraph_rng_default();
extern void gen_graph(igraph_t* res,
const string & name);
... | [
"qikuijun@gmail.com"
] | qikuijun@gmail.com |
663d3de5060c32b3f52419900f2d0b9350ad630c | 384b61b16a703e28093dd07e8d4d74f053e4c582 | /src/Magnum/Trade/imageconverter.cpp | e2d5dce54452e9adeccecc6175e283d70b27e698 | [
"MIT"
] | permissive | fauder/magnum | 6d11a2aa00efbf56a08e41a36ec75b975d5712e0 | f79a9dfecfc042520704f9ad7e563114ee6ed5f7 | refs/heads/master | 2023-07-29T02:29:10.712611 | 2023-07-05T13:19:49 | 2023-07-05T13:24:51 | 264,703,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,389 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022, 2023 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation ... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
3d774fefd010ea4393a5da76b5add4841b07913b | a8cd091c684b79676841ef4778fbcc27bdefdfa3 | /Walker/Walker.ino | 583ff65b9856453def67501eb98d9e5fad99adcd | [] | no_license | ericgemnay/Robot | dabaaf6370f1b3c99f509eeff0b78627aa396045 | e12a88ced2bcc9a08ec475457a640c287d286a50 | refs/heads/master | 2021-01-02T08:32:37.179615 | 2015-06-27T00:10:46 | 2015-06-27T00:10:46 | 38,139,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,439 | ino |
//including libraries
#include <Servo.h>
#include "Legs.h"
//makes the objects for servos
Servo Coxa1;
Servo Femur1;
Servo Tibia1;
Servo Coxa2;
Servo Femur2; //alt
Servo Tibia2; //alt
Servo Coxa3;
Servo Femur3;
Servo Tibia3;
Servo Coxa4;
Servo Femur4; //alt
Servo Tibia4; //alt
//starting angles
/*
int startingp... | [
"egemnay@gmail.com"
] | egemnay@gmail.com |
1e531ed1be17a8ef274b456b18740fbd76aaab01 | 03303888daff8e46fac3d333a747adb7a3742d2d | /Core/fun.h | 6d1900949b734f46c5cef30f41b7fb05d1a39ae1 | [
"MIT"
] | permissive | pvmoore/cpp-core | 015c6385c3c2c7428f27cf4816edab85788b22d1 | 6dba63f12415fec5fe2e50dd18c52cac07a14d04 | refs/heads/master | 2021-10-19T13:26:10.372074 | 2019-02-21T11:53:42 | 2019-02-21T11:53:42 | 123,930,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | h | #pragma once
namespace core {
template<typename COLLECTION, typename LAMBDA>
void forEach(COLLECTION collection, LAMBDA lambda) {
std::for_each(collection.begin(), collection.end(), lambda);
}
/// Transforms elements of same type within the collection.
template <typename COLLECTION, typename LAMBDA>
COLLECTION map(... | [
"1926576+pvmoore@users.noreply.github.com"
] | 1926576+pvmoore@users.noreply.github.com |
7e7252a91c740f5331c75770749578c5432d499c | f622e20ed72dcc6a11b6de365dc7f62d34af4995 | /TP.h | c13b1947c144c082d55a5cbb64e523cf716edc0e | [] | no_license | MarcosRolando/tp2taller | d637ac425127d14cf0518eb896c11de181f323ee | b7bdf6e9113d5f0f3917d2a817aaf7e8ffac43f6 | refs/heads/master | 2022-07-13T01:35:36.088076 | 2020-05-13T13:57:36 | 2020-05-13T13:57:36 | 262,163,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | //
// Created by marcos on 12/5/20.
//
#ifndef TP2TALLER_TP_H
#define TP2TALLER_TP_H
#include "King.h"
#include "FileException.h"
class TP {
public:
static int run(int argc, char** argv);
private:
static bool _validInput(int argc);
};
#endif //TP2TALLER_TP_H
| [
"marcosrolando.mr@gmail.com"
] | marcosrolando.mr@gmail.com |
e7f2363bcc2c2146d2426d119017f54bddb31722 | 5c6d2151717fcca45406321895b59505a681f25e | /examples/cli_single.cpp | 54dcde55d346bcaff5d9bd5a2720fbcf03c533ce | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | DonRazor2/libsolace | fd29266a166b8249578e7368638c6bf9305795cd | d7501d2e83b30064a0aa938e03509b4822b3b2b0 | refs/heads/master | 2020-03-23T10:01:16.064131 | 2018-07-16T14:50:32 | 2018-07-16T14:50:32 | 141,421,486 | 0 | 0 | null | 2018-07-18T10:47:33 | 2018-07-18T10:47:33 | null | UTF-8 | C++ | false | false | 1,690 | cpp | /*
* Copyright 2016 Ivan Ryabov
*
* 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 ... | [
"abbyssoul@gmail.com"
] | abbyssoul@gmail.com |
2208c400bd5400c4ae9d38020c1721a8997deeba | d6752ac9f95da0f1bc04e70a258e9976c9ddacef | /trapfunc.cpp | 4fe330f79df5f6d06290596b1f3cc0662530ad2b | [] | no_license | Justice-/MGSmod | a486119d1d998b2adfcbb9b04f2595fdf41e7fd6 | fcc475aabc1dca04041d1c69aa88af01a3d6ad8a | refs/heads/master | 2021-01-21T08:01:35.964087 | 2013-06-09T07:04:36 | 2013-06-09T07:04:36 | 10,578,456 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,148 | cpp | #include "game.h"
#include "trap.h"
#include "rng.h"
void trapfunc::bubble(game *g, int x, int y)
{
g->add_msg("You step on some bubblewrap!");
g->sound(x, y, 18, "Pop!");
g->m.tr_at(x, y) = tr_null;
}
void trapfuncm::bubble(game *g, monster *z, int x, int y)
{
g->sound(x, y, 18, "Pop!");
g->m.tr_at(x, y) = tr_n... | [
"codepublic@charter.net"
] | codepublic@charter.net |
73d390b2855ecd39f3140f85c2e73c56bb4f384f | 454c964ab7dd6a8258632bdf3ab9e6eeafd71872 | /source/TouchButton.cpp | ab08450c01cb0382783b1ec88953488c72b749f6 | [] | no_license | fizzyfrosty/FuzzyCubesUniversalHD | bebc023769173a5debd6299acd733f6477d355bf | 1d8b95f6687be5b9fad1b8cc0941ebcbca2818d6 | refs/heads/master | 2020-05-29T14:32:12.210893 | 2014-04-04T02:18:40 | 2014-04-04T02:18:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | #include "TouchButton.h"
TouchButton::TouchButton(void)
{
pressed = false;
initialPressed = false;
enabled = true;
x = 0;
y = 0;
}
TouchButton::~TouchButton(void)
{
}
bool TouchButton::isPressed( int16 x, int16 y )
{
if( enabled == true )
{
// sets the hitbox for the button, determines if it's pressed
... | [
"fizzyfrosty@yahoo.com"
] | fizzyfrosty@yahoo.com |
9f794de3c23a5ccd76aa5e785aa032e3d73841c7 | 617296ef3936724a88be5a2e6023aa363cb93d1d | /backup/新建文件夹/word.cpp | 59b50bfb2c9eab3a55a95ca380251f05d2793291 | [] | no_license | Melos17/Lex | d2fc204fb383a9677c72cd380e410f4adc2c0a9a | 89f1e63ddee89063373cdf10744a170b57ea63a9 | refs/heads/master | 2023-01-06T03:21:10.782944 | 2020-11-03T11:51:01 | 2020-11-03T11:51:01 | 309,675,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include "word.h"
enum TOKEN_TYPE {
Unknown = -1,
Parenthese_Left = '(', Parenthese_Right = ')',
Bracket_Left = '[', Bracket_Right = ']',
Star = '*',
Plus = '+',
Question = '?',
VerticalLine = '|',
Dot = '.',
Hyphen = '-',
Caret = '^',
Normal_Character = 128,
Escape_Character,
// no... | [
"melos17@qq.com"
] | melos17@qq.com |
e7c3ad2d7214f48168548eee42907bd0498b6911 | 4121fe2de9aec21141bc70d52b857a8090289a40 | /Interfaz/Prueba/Tools.cpp | c1053a34adccc8fa361888f62fddf5daf330858f | [] | no_license | david-ponc/PDI | 63accf247abbc7d27ea7c92406ee9d61487cca30 | 31473ecb9909f09757cb989deacf9cd46c1e43be | refs/heads/master | 2022-06-19T15:31:24.550421 | 2020-04-19T22:54:21 | 2020-04-19T22:54:21 | 242,806,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | #include "Tools.h"
Image Tools::HistogramRGB(Image img) {
Image histo;
histo.Create(256,256,255, "", "histogramaRGB");
int histoR[256] = {0}, histoG[256] = {0}, histoB[256] = {0};
int maxR = 0, maxG = 0, maxB = 0, max = 0;
for(int i = 0; i < img.height; i++) {
for(int j = 0; j < img.width... | [
"buap.david@gmail.com"
] | buap.david@gmail.com |
5d1741e362d0165ad09e1bdb76ac79cbd6784100 | 9556ebced20e46c57e9827f671d6026b180e02bd | /ioComponents/DRAMsim/DRAM_config.cc | cc245f3c1c5b616bde3380dd6c50f3345700977a | [] | no_license | lebiednik/PhoenixSim | fedb066194da5edb4a351608e34ac536ddfab228 | c4254118cbdb07c6ff91b5bc0da7b43bd0b84a2e | refs/heads/master | 2021-01-12T04:00:43.153824 | 2017-01-26T15:27:25 | 2017-01-26T15:27:25 | 77,463,750 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 26,592 | cc | #include "DRAM_config.h"
#include "TransactionQueue.h"
DRAM_config::DRAM_config(){
dram_power_config = NULL;
init_dram_system_configuration();
}
void DRAM_config::init_dram_system_configuration(){
int i;
set_dram_type(SDRAM); /* explicitly initialize the variables */
set_dram_frequency(100); /* ex... | [
"brian.lebiednik@gmail.com"
] | brian.lebiednik@gmail.com |
0ea10fbfc307cc922163b390ac51401eee098b88 | 5565952688dd8a0619c71bfe4fdf36b333fb94de | /server/Main.cpp | 8a7bed0e0d45e2783db9d42504dafc88c77f7b73 | [] | no_license | huykaiba/YgoProServer | 131b89d2e35e2c2eba606788475e69725ad144f8 | 3ff281f2285bafb7662dc5942bd02838966dea62 | refs/heads/master | 2021-03-27T12:18:16.884009 | 2016-07-16T04:50:50 | 2016-07-16T04:50:50 | 63,411,406 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include "Config.h"
#include <string>
#include "GameserversManager.h"
using namespace ygo;
using namespace std;
volatile bool needReboot = false;
volatile bool isFather = true;
int sfd; //server fd
int main(int argc, char**argv)
{
Config* config = Config::getInstance();
if(config->parseCommandLine(argc,... | [
"huykaiba@gmail.com"
] | huykaiba@gmail.com |
b0f1b2bd9dff725c9e5f2d0e38b76742874b32b1 | 827405b8f9a56632db9f78ea6709efb137738b9d | /CodingWebsites/WHU_OJ/Volume1/P1050.cpp | b04b93db762767ad04efb30d1c828beb9f77f6cd | [] | no_license | MingzhenY/code-warehouse | 2ae037a671f952201cf9ca13992e58718d11a704 | d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7 | refs/heads/master | 2020-03-17T14:59:30.425939 | 2019-02-10T17:12:36 | 2019-02-10T17:12:36 | 133,694,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
using namespace std;
int D[100][100];
int F[100];
void Init(int n){for(int i=0;i<n;++i) F[i]=i;}
int Find(int x){return x==F[x]?x:Find(F[x]);}
struct Arc{
int from,to,dist;
Arc(){}
Arc(int from,int to,int dis... | [
"mingzhenyan@yahoo.com"
] | mingzhenyan@yahoo.com |
5b02a691bbd1bcc8d62c2854283ca13dba56fe5e | 63a1e65a9c66c0de59673ddd6e54367da2da12a3 | /字节跳动/5. 最长回文子串.cpp | c4ed290c68eb9b0954403021007d0f86fb23d77f | [] | no_license | Maserhe/Algorithm_practise | 58df28ce1e6ab7bd10943c022264662c2a7bbf19 | f06dc4395e1089b5d3076e3c463b59d1483f324a | refs/heads/master | 2023-03-22T10:14:27.381659 | 2021-03-15T14:44:43 | 2021-03-15T14:44:43 | 230,616,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | class Solution {
public:
int getStr(int l, int r, string& s) {
while (l >= 0 && r < s.size() && s[l] == s[r]) {
l -- ;
r ++ ;
}
return r - l - 1;
}
string longestPalindrome(string s) {
int max = 0, start = 0;
for (int ... | [
"982289931@qq.com"
] | 982289931@qq.com |
945cc14ae145165a5fbfbefcf79808b84a99ddca | 38a724327679ba89a9a5383b79523476264c69b2 | /3 term/mipt-concurrency-course/task4/striped_hash_set/striped_hash_set.cpp | a5d64e9a87847b36b4e9f43e54555907314cd4dd | [] | no_license | alexeyqu/mipt-alexeyqu | 3f0af5534a142082d8f9b10b36bbc9ae82daf6fe | 1059b0e9a95855a95d0bc6c7da564799dfc7c449 | refs/heads/master | 2021-01-21T04:39:39.719665 | 2017-10-11T16:28:20 | 2017-10-11T16:28:20 | 51,085,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include "striped_hash_set.h"
#include <thread>
const int MAX_TEST = 50000;
int main()
{
std::cin.get();
striped_hash_set<int, std::hash<int>> my_hash_set(1);
std::thread([&my_hash_set]()
{
for (int i = 0; i < MAX_TEST; ++i)
{
std::cerr << i << std::endl;
my_hash_set.contains(... | [
"alexeyqu@gmail.com"
] | alexeyqu@gmail.com |
e206cf05236021f2c5e9eaca259134ecc1e7a4be | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /Olympiad Solutions/SPOJ/CNTPRIME.cpp | 13a2af59f950396eff9ceb9c2813c86af182aca2 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 2,164 | cpp | // Ivan Carvalho
// Solution to https://www.spoj.com/problems/CNTPRIME/
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int MAXN = 1e4 + 1;
const int MAXP = 1e6 + 1;
const int MAXS = 1e3 + 1;
int arvore[4*MAXN],lazy[4*MAXN],vetor[MAXN],n,m,TC;
int crivo[MAXP];
void build(int pos,int... | [
"samant04aditya@gmail.com"
] | samant04aditya@gmail.com |
5621aa78d51d80d8839919a31aec4946a8b92f5e | 92ebaf7ce3022a38f8ae6bb57f6f8ee4ce6d267c | /tek2/object_prog/arcade/graphical/sdl2/Menu.hpp | d09f4b81d05f47994ff92c35f92ee692d0af1731 | [] | no_license | CyrilGrosjean/Epitech | d69d6c448214c9ea17c9837fb03e0e166a73afc4 | dde6bc229dcef73d66c422e98bd300cee6d19502 | refs/heads/master | 2023-04-28T17:32:08.333950 | 2021-05-20T00:12:33 | 2021-05-20T00:12:33 | 228,628,449 | 0 | 0 | null | 2023-04-14T17:18:22 | 2019-12-17T13:59:00 | C++ | UTF-8 | C++ | false | false | 570 | hpp | /*
** EPITECH PROJECT, 2021
** B-OOP-400-MPL-4-1-arcade-cyril.grosjean
** File description:
** Menu
*/
#ifndef MENU_HPP_
#define MENU_HPP_
#include <iostream>
#include <fstream>
#include "../../includes/Vector.hpp"
#include <vector>
namespace sdl
{
class Menu
{
public:
Menu();
~Menu();
... | [
"cyril.grosjean@epitech.eu"
] | cyril.grosjean@epitech.eu |
908e2a75ce7a78d04b275b5372592b592f326cdb | 55cd0ea9846924b0abd1d6ae6c5d0889b2689fdb | /cny70/cny-test/cny-test.ino | 96933288d8996f70fac33754a50bf36cd678c869 | [] | no_license | rezacode01/CPS-Real-time-Embedded-Systems | 68cbaa429728f0e6b6133186e7324f1e209e52c1 | cac43967723c6b781d7f22aa3266c6eee8aa7340 | refs/heads/master | 2020-03-18T15:25:27.410866 | 2018-06-10T12:11:56 | 2018-06-10T12:11:56 | 134,906,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | ino | int a = -1;
void setup() {
// put your setup code here, to run once:
pinMode(2, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
a = digitalRead(2);
Serial.print("input is");
Serial.println(a);
delay(500);
}
| [
"rezacode01@gmail.com"
] | rezacode01@gmail.com |
a5b9510b4de68fd3c47d873b87711b0b58882282 | 2c22ee6d774b40d147263ed3891f2dcf700ff9bd | /Type.cpp | 17e9664a25a54a991a7f8780af606f3206a1edfd | [] | no_license | dogilla/CompiladoresC | 9fbfa2a0bc643d06bdff361672e79ea9e611d403 | e8d6ea804a62fc4ed50a665a57aee54cc5383c97 | refs/heads/main | 2023-07-09T16:23:12.277225 | 2021-08-16T21:55:27 | 2021-08-16T21:55:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include "Type.h"
#include "Table.h"
C0::Type::Type(){
}
C0::Type::Type(string name, int baseType, int numItems, int tam){
this->name = name;
this->baseType =baseType;
this->numItems = numItems;
this->tamBytes = tam;
}
C0::Type::Type(string name, int bytes){
this->name = name;
this->tamBytes... | [
"ferbpp@ciencias.unam.mx"
] | ferbpp@ciencias.unam.mx |
b0807aa9e4bae0c3134a47e57130f077d11f6fd8 | 8ad84e8c9ff528394cfaa36120a1f8a37a16f558 | /boost/shared_ptr/payload.cxx | 3fdce173d90eca0d1b0ce30f6acdaf30c4969b44 | [] | no_license | cellist/dev | 30378d031cbf2cc4ca23d8bdcd831679d6417786 | 3b59f54cafb2cfe97ff90caf127e165d866b9280 | refs/heads/master | 2023-08-19T03:43:30.494172 | 2023-08-12T14:43:46 | 2023-08-12T14:43:46 | 1,159,225 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cxx | #include <iostream>
#include "payload.h"
Payload::Payload() {
std::cout << "Payload(): "
<< this->reference.use_count() << std::endl;
}
Payload::~Payload() {
std::cout << "~Payload(): "
<< this->reference.use_count() << std::endl;
}
void Payload::inject(const PayloadPtr& ref) {
std::cout << "Paylo... | [
"cellist@squizzy.de"
] | cellist@squizzy.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.