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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fc01821205f7f7886e72fd55b350e409dacf2732 | 0b951ba069c27440dc4f368785a4367e4eecab11 | /model/payment.cpp | 34a3d4cb4fb2c182ccefcd7e25a82c2d8e1dc280 | [] | no_license | nickits/cmst | 074b231c191d58e9ef93672bd0ae64eeb5bdb390 | 9928bb816660dc4ffe6076b0dc70782bb64b7c1c | refs/heads/master | 2020-04-10T19:06:15.156411 | 2013-02-11T14:55:02 | 2013-02-11T14:55:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | /*
* Copyright (C) 2011 Nicki, Bulgaria.
*
* See the LICENSE file for terms of use.
*/
#include "payment.h"
#include <Wt/Dbo/Impl>
DBO_INSTANTIATE_TEMPLATES(Payment);
| [
"nicki.ts@gmail.com"
] | nicki.ts@gmail.com |
a339e4e4f4268eb013808d8f22a81dca02b7cd3b | f080d8c851998e0e6c6e88c94c4dd0b1a5bfe55e | /detour/register_types.cpp | fcdd8cc29b4cb19f244a920479e031e9d6731e9c | [] | no_license | slapin/godot-modules | 81bf9fce11dc2810356a6f95118b7256fd32c13e | 942f16e194d800ffd464181f68ba5f99c60ea7bc | refs/heads/master | 2023-04-07T08:02:41.319819 | 2021-04-14T21:58:48 | 2021-04-14T21:58:48 | 350,753,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,915 | cpp | /*************************************************************************/
/* register_types.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"slapin@ossfans.org"
] | slapin@ossfans.org |
f6c634af675f6c359f14d3823375edef21c0b9fd | dbe3171af86f0309b61b6af9dc04333970d7f51b | /src/common/CScriptObj.h | 7e7bad5f07adf742d75166adccb373f2407f6058 | [
"Apache-2.0"
] | permissive | JakubLinhart/SphereServer99 | 4a9f8cf819b5aa623e445fddbd431608b30833f4 | 989e5819f781af87390b12656291138d00648ec8 | refs/heads/master | 2021-07-25T20:07:16.326693 | 2020-12-26T10:55:41 | 2020-12-26T20:36:20 | 231,421,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,792 | h | #ifndef _INC_CSCRIPTOBJ_H
#define _INC_CSCRIPTOBJ_H
#pragma once
#include "CArray.h"
#include "CVarDefMap.h"
#include "CVarFloat.h"
class CScriptObj;
enum TRIGRUN_TYPE
{
TRIGRUN_SECTION_EXEC, // Execute this section (first line already read)
TRIGRUN_SECTION_TRUE, // Execute this section
TRIGRUN_SECTION_FALSE, // ... | [
"jakub.linhart@gmail.com"
] | jakub.linhart@gmail.com |
3c08c5d61c947e6064999a4b7daece6eaf757c78 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/numerics/numarray/template.mask.array/mask.array.comp.assign/addition.pass.cpp | 826607fac6081691451a49144f4756da9a8b6dd5 | [
"MIT",
"NCSA"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
4b5bc81c1322999a0c51695d950eade93484c872 | 51f985e90ba3ad44e3ad5722c65078220477e48f | /QtHttps/httpsrecv.h | 3f0b40fc78b1b0813e02cc58b970de99e6723083 | [] | no_license | jason-lv-meng/study | 9444e7c4dfcd2871a232f4df9ae9acf467da89bf | 2b115a9b2eee5ccfdd92bda755bb302d99ef7aa9 | refs/heads/master | 2020-09-20T17:48:34.866238 | 2019-11-28T23:45:01 | 2019-11-28T23:45:01 | 224,551,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | h | #ifndef HTTPSRECV_H
#define HTTPSRECV_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QSsl>
#include <QSslKey>
#include <QSslSocket>
#include <QSslConfiguration>
#include <QSslCertificate>
#include <QSslError>
#include <QUrl>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetwork... | [
"lvmengzou2007@163.com"
] | lvmengzou2007@163.com |
72398cea83ca4ec7fda5dc722bef115cbadbb7db | 999a6bc88e813afc7e646a4b02a5f48a2c97ea39 | /Ablaze/src/Resources/Meshes/Mesh.cpp | 54e93df86fee94376e1c90dc36392c5825146eba | [] | no_license | Totomosic/Ablaze2 | 49b72058ad68a3983e755ca0a54dec9a5c6141ec | 30333d56edd24a53cb5e14bb7c1ab524b15ecde8 | refs/heads/master | 2021-09-06T06:49:45.137147 | 2018-02-03T11:58:44 | 2018-02-03T11:58:44 | 103,130,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,508 | cpp | #include "Mesh.h"
namespace Ablaze
{
Mesh::Mesh(Model* model, const Material& material) : Asset(),
m_Model(model), m_DefaultMaterial(material)
{
model->Increment();
}
Mesh::Mesh(Model* model) : Mesh(model, Material())
{
}
Mesh::~Mesh()
{
m_Model->Decrement();
}
void Mesh::Reload()
{
}
Model... | [
"jordan.thomas.morrison@gmail.com"
] | jordan.thomas.morrison@gmail.com |
a3a31065aec0863d0b609f5098a8f1913fa64aec | 8a819b2a0a643b659097b96d041c52e5df81b4a1 | /books/Design_Pattern/TemplateMethod/drink/main.cpp | 8ce2dec9afa9b509d772f85bb167cd92d41ffc9a | [] | no_license | hackerlank/Norman | 82e9112eaa838b7fc8e8fd79030f57ca9d58ef59 | db414c7855dacf923edf60849e413c3e2f572922 | refs/heads/master | 2021-01-12T08:57:19.805317 | 2016-07-02T07:33:44 | 2016-07-02T07:33:44 | 76,732,695 | 0 | 1 | null | 2016-12-17T15:53:07 | 2016-12-17T15:53:07 | null | UTF-8 | C++ | false | false | 730 | cpp | /**
* - version 1.0
* -------------------------------
* Copyright (C) 2016-2016 by Norman (none_lih@163.com)
* Report bugs and download new versions at https//github.com/evely211
*
* This library is distributed under the MIT License. See notice at the end of this file.
* This work is based on POSIX,which is:
* Copyr... | [
"569197531@qq.com"
] | 569197531@qq.com |
1e102bdec6f4ecdf231bb9d5a954e820d91155d7 | 126f1960d3b10cdc5a791d87e2f5b972b7f101ea | /green_screen/Transformations.h | 60b79c7fdf24c4f61734d829ff7b58dc2c979ed3 | [] | no_license | Youssef-Beltagy/computer-vision | 5ad305056d693bb858d3de97d3ea656241ef58a3 | f9555daf8bd9c1c6680a7beef3827d86bcadffd7 | refs/heads/main | 2023-08-04T19:30:36.280183 | 2021-09-23T17:07:07 | 2021-09-23T17:07:07 | 409,639,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | h | /*
Author: Youssef Beltagy
Date Last modified: 11/4/2019
Description: This is the declaration for program three of CSS 487 (computer vision).
This is a simple segmentation program that separates the image into background and foreground.
The background is replaced with another image.
This program uses openCV
*/
#i... | [
"potoato@hotmail.com"
] | potoato@hotmail.com |
3b4f1d02d6d5a942c04253ad6ebcd071d9b2a9e8 | 5979e679f6c9cd345434334f18dd63ce856b88bf | /sensor/sensor.ino | c8eeff4403c9a68482584aed638dc71be05b8531 | [] | no_license | joaodelgado/cobalt | c04ccdddff589e4d72571e3541076465aaed4567 | 16d62cb30ecf70572f59da7596f8e112ac013b1c | refs/heads/master | 2020-09-03T00:52:35.354828 | 2019-12-01T21:16:08 | 2019-12-01T21:16:08 | 219,344,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | ino | #define SECOND 1000
#define MINUTE 60000
#define COUNTER_PIN 2
int counter_reading = 0;
void ISR_impulse() {
Serial.println("Pulse!");
}
void setup() {
Serial.begin(9600);
pinMode(COUNTER_PIN, INPUT);
attachInterrupt(digitalPinToInterrupt(COUNTER_PIN), ISR_impulse, FALLING);
}
void loop() {
}
| [
"joaomtdelgado@gmail.com"
] | joaomtdelgado@gmail.com |
1cc37bb96ef5261fde28aa0b353ddca81c1538af | e9a9bcc6f33f269c8ca8dd114aa46adca77d8b8b | /TakeAway/menudb.cpp | f6e92ca1083d0d9a7c6c36ab8648a204c202db66 | [] | no_license | ZTL522/TinyTakeawaySystem | e932947c1276197a5f9164f7efc94b617b55362c | 755607732076441a17af6081e4f44fba1e51dec8 | refs/heads/master | 2021-07-15T17:49:16.478851 | 2017-01-26T15:13:58 | 2017-01-26T15:13:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,398 | cpp | #include "menudb.h"
#include "reguserdb.h"
MenuDB::MenuDB()
{}
void MenuDB::setShop(int shop)
{
this->shop = shop;
}
int MenuDB::getShop()
{
return shop;
}
QMap<QString, int> MenuDB::searchShopMenu()
{
QMap<QString, int> map;
if(!connDB())
{
return map;
}
QSqlQuery myQuery;
... | [
"j88172365@gmail.com"
] | j88172365@gmail.com |
7f8afd39d7008e40fbb87e2e487ef7836f9fc0d8 | 961ae4b217551beae7b2fcfbab7cd19d5421b3b5 | /third_party/JavaScriptCore/include/JavaScriptCore/MarkedSpace.h | 698f1c7a473ac25c69615a0917c105b528e32e90 | [
"Apache-2.0"
] | permissive | andycall/kraken | d7c57f1604355d24c754c3c1c3103a0b8b65b609 | c5b53d9621525fc576001220a02c88beeb21a6e0 | refs/heads/main | 2023-04-11T10:55:40.569640 | 2021-04-22T13:28:04 | 2021-04-22T13:28:04 | 360,521,219 | 1 | 0 | Apache-2.0 | 2021-04-22T13:03:22 | 2021-04-22T13:03:21 | null | UTF-8 | C++ | false | false | 9,139 | h | /*
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2003-2018 Apple Inc. All rights 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 pu... | [
"chenghuai.dtc@alibaba-inc.com"
] | chenghuai.dtc@alibaba-inc.com |
66a5f7e69381606f8ae0738d519bbf191e9df3ab | 5a3585bee30e37a61d20b958ac25cfb3638474b4 | /UAS/OpenFoam/challenger_cases/nose_level/constant/polyMesh/refinementHistory | 88cdc42c483b87a8bbfa4f5ffe282daf1947866b | [] | no_license | PegasusAero/Systems | a60e40330afe0d549cc6e0cb3c7cfca233f1d7fd | f36ea4c968f40b0c9c913935d21d14b12712eed4 | refs/heads/master | 2021-01-01T18:37:34.169427 | 2013-08-22T23:23:17 | 2013-08-22T23:23:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
... | [
"pegaero@gmail.com"
] | pegaero@gmail.com | |
0b982e3773a6ad2bc83ef80d14d41346adec7355 | 0c22c9a202b79a1b8bb4c1456c38f5cf346caff4 | /Source/MainSource/Cannon.h | 407ad61e0d60c310e3c85a9021ced0dc6a04758a | [] | no_license | LShearan/JelloShots | cf031eac13fa0b30dc111ac42855147cc3dcfa95 | 511f76063e45b4657e9e91552ac653b8d1a6adb2 | refs/heads/master | 2023-02-23T03:21:41.377634 | 2021-01-20T18:07:03 | 2021-01-20T18:07:03 | 302,040,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "ConstructorHelpers.h"
#include "Projectile.h"
#include "Camera/CameraComponent.h"
#include "GameFramework/SpringArmComponent.h"
#include "Components/StaticMes... | [
"liamshearan@gmail.com"
] | liamshearan@gmail.com |
9b027ada60823cba44d6a2d19c7da9e3ca1639c1 | 6803e994c1317a276e4820f19058198afd99d1b7 | /Cocos/Classes/Login/MenuScene.h | 5677b77bc00f74a15b9887b3e90327729e6e581e | [] | no_license | Dinghow/CrazyArcade | e5fd5f4fee6b2c8f848f0b3c9ec9dece5ddeb33b | 0bd3617a8c523d339ede755d42454cada590b832 | refs/heads/master | 2021-09-02T04:43:30.419491 | 2017-12-30T12:34:24 | 2017-12-30T12:34:24 | 87,302,913 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | h | #ifndef __MENU_SCENE_H__
#define __MENU_SCENE_H__
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
#include <SimpleAudioEngine.h>
using namespace CocosDenshion;
using namespace cocostudio::timeline;
using namespace cocos2d::ui;
class MenuTable : public cocos2d::Layer
{
pub... | [
"DinghowYang@gmail.com"
] | DinghowYang@gmail.com |
a0b141d97afb1cfffd146f91801c9cd94e81cd39 | 140d78334109e02590f04769ec154180b2eaf78d | /aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/SMSChannelResponse.h | 9f9fdef9f9cce5f4b9bc503bb5c4f10248322775 | [
"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 | 13,048 | 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 |
4f3aff41732044cd20f53b8c2490e300aeca08cf | 786de89be635eb21295070a6a3452f3a7fe6712c | /H5DataTypes/tags/V00-00-56/include/PnCCDFrameV1.h | 64509d58f6365663c8cdddbbb4c12076d1b0aeb4 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | h | #ifndef H5DATATYPES_PNCCDFRAMEV1_H
#define H5DATATYPES_PNCCDFRAMEV1_H
//--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class PnCCDFrameV1.
//
//------------------------------------------------------------------------
//-------... | [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
e3d70a1b3d31e01a7f5daa2c2e7fafeb7e2f22e5 | 74397ef44ec21aff6cd400290cfc1304c40888c0 | /examples/ContinuouslyUpdateColors2.cpp | 18994d4c583872a8bb579577ca6ef80b79620642 | [
"MIT"
] | permissive | LtdJorge/OpenRGB-cppSDK | 6fd46631056719df4130637c5590e0308cf4aff1 | 55be2bc567e3ae8370ace1462cea2cb5d3dacfc8 | refs/heads/master | 2023-07-30T03:06:00.083562 | 2021-07-16T11:05:48 | 2021-07-16T11:05:48 | 406,888,304 | 0 | 0 | MIT | 2021-09-15T18:54:42 | 2021-09-15T18:44:14 | null | UTF-8 | C++ | false | false | 3,390 | cpp | //======================================================================================================================
// continuously keep updating colors of CPU cooler until an INTERRUPT signal
// - variant handling errors by catching exceptions
//================================================================... | [
"youda008@gmail.com"
] | youda008@gmail.com |
cf72e4404a24efb3f371b38dc83afe5fbc2f399d | 04690ba87e70f7aef1866eee62718b07d3605de6 | /Computer-Graphics-Midterm/TestOpenGL/Shader.h | e18d420dbfd56a69a8d00c1f52ba24508c30b4f8 | [] | no_license | dabbydoo/SpaceShoot | 3b5da99242c07674fce5f2fb8bbfcd9f9d2c8f5c | 34d349b66d9b6df76cf16ff6b5b7a5046c9f5798 | refs/heads/master | 2023-01-24T13:31:08.005417 | 2020-11-27T00:17:42 | 2020-11-27T00:17:42 | 316,355,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <glew.h> //include before glfw
#include <glfw3.h>
#include <glm.hpp>
#include <vec2.hpp>
#include <vec3.hpp>
#include <vec4.hpp>
#include <mat4x4.hpp>
#include <gtc/type_ptr.hpp>
class Shader
{
public:
//Constructors/destructors
Shader... | [
"fakhri.pranayanda@ontariotechu.net"
] | fakhri.pranayanda@ontariotechu.net |
eeecde5bc5bdcfba36b2da2393835b1f371ffb68 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-iotwireless/source/model/UpdateFuotaTaskRequest.cpp | 9e3388aad61f9cfb95468164329be3465b1a991c | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,239 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotwireless/model/UpdateFuotaTaskRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IoTWireless::Model;
using namespace Aws::Utils::Json... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a0f84526797bbf003c631af32438eee181c98018 | 0c726c231c74a0264fddca8916e1ae7b6688dbd2 | /Obsolete function.cpp | 0c8a801a77117af74164d919503c410c119031a6 | [] | no_license | chenzikang990512/ToolsTest | 56472571a3bc6c9ace6855319d89b7eb7956cc26 | d4e322a7393e6fb1625ec91e843e8132babb1985 | refs/heads/master | 2022-10-11T07:21:28.262558 | 2020-06-07T10:28:41 | 2020-06-07T10:28:41 | 270,163,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObsoleteTest{
[Obsolete("A is Obsolete,Use C")]
class A{}
[Obsolete("B is Obsolete,Use C",true)]
class B{}
class C{}
class Program
{
[Obsolete("FuncA is Obsolete,... | [
"noreply@github.com"
] | chenzikang990512.noreply@github.com |
3679b6013588905d65ff22573b0904c5cfaddf13 | db73d29b17fae08c348deec15d8c7c3851f2e53e | /Week 4/flipped_convert.cpp | c94cbe1583cf9c1a677231a34c21eb004585373e | [] | no_license | deekshikatomar/IPMP1921 | 839539432f7a78b124e42c0c1a53aabb749364b5 | a4193d9605d17d006511b986b0b6ca9689711b61 | refs/heads/main | 2023-06-03T10:28:48.257743 | 2021-06-19T18:14:39 | 2021-06-19T18:14:39 | 354,489,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <iostream>
using namespace std;
int countSetBits(int n)
{
int count = 0;
while (n > 0)
{
count++;
n &= (n-1);
}
return count;
}
int FlippedCount(int a, int b)
{
return countSetBits(a^b);
}
int main()
{
int a = 10;
int b = 20;
cout << FlippedCount(a, b)<<endl;
return 0;
}
| [
"noreply@github.com"
] | deekshikatomar.noreply@github.com |
63602fa6922c0ad044d3ee62d08587d15f8d45e4 | 5350528f269892758a014a3235d93532b9a2b801 | /Classes/Manager/PushManager.h | 16fdc93c457bfc917a54a703067c41b96982dc08 | [] | no_license | shwetak16/Pocker-1 | ff3c035024ef19a74215af000169c8edbdf843bc | bc7fafaa1e1420f238f2ac67732dad55bbcee1e3 | refs/heads/master | 2020-07-01T20:53:13.440269 | 2019-08-08T18:39:46 | 2019-08-08T18:39:46 | 201,297,346 | 0 | 0 | null | 2019-08-08T16:32:02 | 2019-08-08T16:32:01 | null | UTF-8 | C++ | false | false | 961 | h | //
// PushManager.h
// pokerclient
//
// Created by qqronaldz on 15/8/27.
//
//
#ifndef __pokerclient__PushManager__
#define __pokerclient__PushManager__
#include <stdio.h>
#include <iostream>
class PushManager
{
public:
PushManager();
~PushManager();
public:
static PushManager* getI... | [
"panyumiao@panyumiaodeMacBook-Pro.local"
] | panyumiao@panyumiaodeMacBook-Pro.local |
be124f71a5ca939a7bcca50007ca6db7615328fb | 1ea1a48f4762e1dd22e4321c4d09b1f8d00be147 | /cocos2d/cocos/editor-support/cocostudio/CCSGUIReader.cpp | 349bba5dfeca1aa7bcff9fa23fd1598b5adf81d8 | [] | no_license | gloryming/LuaBinding | d416263a5647395894225646ae2df15bbaf5b9e4 | 2098ebcf3e8fd7f80a3df10069e713ed7ea7c5ed | refs/heads/master | 2021-01-22T09:46:59.214694 | 2014-02-07T03:33:59 | 2014-02-07T03:33:59 | 16,126,735 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 80,800 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | [
"gloryming910222@gmail.com"
] | gloryming910222@gmail.com |
f6285f66fcc98592f1184de7dfc6f2c807242353 | 539eba3b73c81ebc52329604bcbce556a008fc92 | /MeshFrame/MeshFrame/core/algorithm/Foliation/tetFL.h | 7afdcb2206434195f26cacbee3c262a7b15402b5 | [] | no_license | MeshFrame/MeshFrame | ad35f91c38cec9911a6c391214d8c8a9f9d7a003 | 84f3445238105e8df662c7e8049e577a0d858d48 | refs/heads/master | 2022-10-25T16:55:30.515839 | 2022-10-17T16:08:38 | 2022-10-17T16:08:38 | 137,697,615 | 40 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 11,674 | h | #pragma once
#include "../../core/TetMesh/TMeshLibHeaders.h"
#include "../../algorithm/Foliation/BorderType.h"
#include "../../algorithm/Foliation/BaryCoordinates4D.h"
#include "TFaceFL.h"
#include <random>
#include <list>
#include <sstream>
#include "DebugSetting.h"
#define TET_DIRECTION_DEMENSION 4
#define OUTGOING ... | [
"AnkaChan@126.com"
] | AnkaChan@126.com |
d953b59af6c72662e6fbe29986258ae8e3d4a964 | 4a8f783118bd1bba8023f5dbd499b08e1822ce93 | /src/Evolution/Systems/RadiationTransport/M1Grey/UpdateM1Closure.hpp | 08382247a24562885b89ac76d1c89454dcbcb4ed | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | denyzamelchor/spectre | 8db0757005dea9bb53cd7bd68ee8d11551705da4 | 1c1b72fbf464827788dbbdb8782a8251a2921c48 | refs/heads/develop | 2020-04-26T05:57:25.244454 | 2019-06-22T04:11:17 | 2019-06-22T04:11:17 | 155,779,028 | 0 | 0 | NOASSERTION | 2018-11-01T21:38:07 | 2018-11-01T21:38:06 | null | UTF-8 | C++ | false | false | 1,861 | hpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <tuple>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "Evolution/Systems/RadiationTransport/M1Grey/M1Closure.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities... | [
"francois.foucart@gmail.com"
] | francois.foucart@gmail.com |
2001c7ed59622aa232ef149888c9b024530de447 | f319117cf0c034998c78568b4101c27ca78defd0 | /src/dtkCore/dtkCoreApplication.cpp | 91331c6be34610669578697cc6fa1cec911fce2e | [] | no_license | drescherjm/dtk | 1dd5d6ba875402e7c2bc6805c39b867cb9b386ca | 3115adeff029f5d0818c25e368c74dabce540b42 | refs/heads/master | 2021-01-22T01:34:15.301039 | 2016-05-04T15:58:03 | 2016-05-04T15:58:03 | 58,063,809 | 0 | 0 | null | 2016-11-29T15:07:30 | 2016-05-04T15:38:32 | C++ | UTF-8 | C++ | false | false | 3,813 | cpp | /* dtkCoreApplication.cpp ---
*
* Author: Nicolas Niclausse
* Copyright (C) 2015 - Nicolas Niclausse, Inria.
* Created: 2015/02/04 12:03:44
*/
/* Commentary:
*
*/
/* Change log:
*
*/
#include "dtkCoreApplication.h"
#include "dtkApplicationPrivate.h"
/*!
\class dtkCoreApplication
\inmodule dtkCore
\br... | [
"Nicolas.Niclausse@inria.fr"
] | Nicolas.Niclausse@inria.fr |
ea3d50b01a3165f28c5663127d63f6dc80e387c8 | 3af1e8e142701b4f9f57615e07ae5d183ebdd308 | /20sep1.cpp | 5f5e7b136f31a8e79ed7c99e055e476f330096a9 | [] | no_license | mazim21/codechef | cf255a6508396ee73a20e9cd70b472595b05ad58 | 159f16002027986958cc7082d406a4a19447f94e | refs/heads/master | 2021-01-10T07:28:45.973492 | 2016-04-19T18:05:25 | 2016-04-19T18:05:25 | 54,332,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include<iostream>
#include<set>
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
int t;
cin >> t;
int i,j,n,k,l;
while(t--)
{
cin >> n;
cin >> k;
string arr[n+2];
int st[n+2];
for(i=0;i<n;i++)
{cin >> arr[i];
s... | [
"mosharraf.azim@gmail.com"
] | mosharraf.azim@gmail.com |
96601db49792334066430fedee59bf7a2c6d4019 | 868e8628acaa0bf276134f9cc3ced379679eab10 | /squareDrop/0.426/alpha.water | 3b21bd59b6fd8bc7aedc909ff55fe6771ae059ae | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 120,717 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"stig.m.nilsen@gmail.com"
] | stig.m.nilsen@gmail.com |
46e761811b704484183008d878cc946566ee86bf | 831f3b4f6b316807dc6a6e306071f4ce1ac8e2f8 | /HMMAS.cpp | ff7c24cdcab01983967d022f5f6f04033874bbb7 | [] | no_license | Catalina-ui/ACO | 254209fb17c919fdb25ee2ffbd6eb00e133b3218 | 0c82078a759b1ef5e57a9e5f80f5a14b5cf8581c | refs/heads/master | 2020-12-13T16:48:04.374726 | 2020-02-25T13:54:39 | 2020-02-25T13:54:39 | 234,475,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,642 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <math.h>
typedef long long ll;
using namespace std;
//static double a = 1;
static double b = 2;
vector<double> roList = {0.8, 0.5, 0.2, 0.1, 0.02, 0.01};
vector<double> pbestList = {0.5, 0.1, 0.05, 0.01, 0.005, 0.00... | [
"noreply@github.com"
] | Catalina-ui.noreply@github.com |
e5ab2ce69cd903a2741e19a559b69abdad7c0e52 | f62e37d6a8884960b8e315c61a924650d756df0d | /src/core/addrMgr/addrMgr1/addrMgr1.h | 0f42722356e62b0fa7805f9b4772b7bfe8b90274 | [
"MIT"
] | permissive | ardacoskunses/pal | cd5f0dfd35912239c32e884005bd68b391bb96e0 | ec4457f9b005dcb7a6178debc19b1df65da57280 | refs/heads/master | 2020-03-28T18:00:47.178244 | 2018-09-12T04:59:18 | 2018-09-12T05:06:04 | 148,844,552 | 0 | 0 | MIT | 2018-09-14T21:41:30 | 2018-09-14T21:41:30 | null | UTF-8 | C++ | false | false | 13,330 | h | /*
***********************************************************************************************************************
*
* Copyright (c) 2015-2018 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | [
"jacob.he@amd.com"
] | jacob.he@amd.com |
2c4e1c05f0fa724e736eca23893420f0e25eeca6 | 7108a9ee514ad3dbe0fa6d700fdc115e1b0f9549 | /CollossalBossGame/client/TentacleCObj.h | 388976545b08a185aa7e1746dbd1eba8b6089ae0 | [] | no_license | Sudoka/NinjaCoders125 | ed7e30dbecfc0e404e9bc61535a7ff6c13f4e1aa | 478954b3e3c5f5affb05ad2d72bf3d0ba2ec5e00 | refs/heads/master | 2021-01-15T15:31:26.343004 | 2013-04-29T01:05:14 | 2013-04-29T01:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #pragma once
#include "ClientObject.h"
class TentacleCObj : public ClientObject
{
public:
TentacleCObj(uint id, char *serializedData);
virtual ~TentacleCObj(void);
virtual bool update();
virtual RenderModel* getRenderModel() { return rm; }
virtual void deserialize(char* newState);
private:
RenderModel *rm;
}... | [
"haronid@outlook.com"
] | haronid@outlook.com |
d10fe46c6a7d769e3099acb54b01ce0563fbe978 | b92ddd59ae4dc32d404fbb7e0cac1719180d0954 | /EstructuraDatos/EGO-Grafica/main.cpp | 5b6172e523978c39a7aa090b1b4b0211455796a6 | [] | no_license | laloolea/PortafolioEstructuras | 86e5e3c7700763c62933927521b286e30ad6fcb5 | 73685ddbd535156b9d3291de72a5cc93af52bbb1 | refs/heads/master | 2020-03-19T07:18:25.190683 | 2018-06-10T04:56:09 | 2018-06-10T04:56:09 | 136,103,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include <iostream>
#include <cstdlib>
#include "Graph.h"
using namespace std;
int main () {
Graph grafica;
grafica.addVertex ("a");
grafica.addVertex ("b");
grafica.addVertex ("c");
grafica.addVertex ("d");
grafica.addEdge ("a","b");
grafica.addEdge ("b","c");
grafica.addEdge... | [
"laloolea18@gmail.com"
] | laloolea18@gmail.com |
11ae2f5f0ebfbe98fd8eb332520c742e10d2323b | 1f6d79658ce351eafa3bf83cf38949d82b58de2f | /src/struct_test.cpp | 1bff6bb56fb2f078dc1a1a9594f1a8d78fcd1aad | [
"MIT"
] | permissive | USCCANA/netdiffuseR | 3dd061f8b9951f7bdc5ec69cded73144f6a63cf7 | 7c5c9a7d4a8120491bfd44d6e307bdb5b66c18ae | refs/heads/master | 2023-09-01T08:26:19.951911 | 2023-08-30T15:44:09 | 2023-08-30T15:44:09 | 28,208,077 | 85 | 23 | NOASSERTION | 2020-03-14T00:54:59 | 2014-12-19T00:44:59 | R | UTF-8 | C++ | false | false | 5,965 | cpp | // [[Rcpp::depends(RcppArmadillo)]]
#include <RcppArmadillo.h>
#include "netdiffuser_extra.h"
using namespace Rcpp;
// [[Rcpp::export]]
double struct_test_mean(NumericVector & y,
std::string funname, bool self=false) {
int n =y.size();
double m = (self? n*n:n*(n-1));
double ans = 0.0;... | [
"g.vegayon@gmail.com"
] | g.vegayon@gmail.com |
fa4653df1b875a86e711b80b48dfd0d631fabfa3 | c31ee8136a57a96649196081e1cfde0676c2a481 | /larcv/app/arxiv/Range.h | 8fadb35db81e37263ae88f024c843a5d095d79d1 | [
"MIT"
] | permissive | DeepLearnPhysics/larcv2 | b12b46168e5c6795c70461c9495e29b427cd88b5 | 31863c9b094a09db2a0286cfbb63ccd2f161e14d | refs/heads/develop | 2023-06-11T03:15:51.679864 | 2023-05-30T17:51:19 | 2023-05-30T17:51:19 | 107,551,725 | 16 | 19 | MIT | 2023-04-10T10:15:13 | 2017-10-19T13:42:39 | C++ | UTF-8 | C++ | false | false | 4,056 | h | /**
* \file Range.h
*
* \ingroup Utils
*
* \brief Class def header for a class Range
*
* @author kazuhiro
*/
/** \addtogroup Utils
@{*/
#ifndef __LARCVUTIL_RANGE_H__
#define __LARCVUTIL_RANGE_H__
#include <vector>
#include <iostream>
#include <stdexcept>
namespace larcv {
template <class T>
class Un... | [
"kazuhiro@nevis.columbia.edu"
] | kazuhiro@nevis.columbia.edu |
c636254bef9b0ef63097cc54f6eb405871b1b8aa | 1d728862431c0fef2642a9c366ac18b73028ac11 | /ImageProcess/StdAfx.h | c4bd799a4697baa4926d3ce62ea63b6809ae896b | [] | no_license | schaferandrew/Image-Processor | 93a15f1ff9f7c21926b14dcb789108d2f1610465 | 330ebc95a1489acee7c24c27993ad2a0aafce956 | refs/heads/master | 2021-08-23T05:27:23.436487 | 2017-12-03T16:24:03 | 2017-12-03T16:24:03 | 112,945,180 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,150 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__9DC9E637_7AAC_11D3_B40B_00C04F53D1ED__INCLUDED_)
#define AFX_STDAFX_H__9DC9E637_7AAC_11D3_B40B_00C04F53D1ED__INCLUDED_
#defin... | [
"schaf@MISTY"
] | schaf@MISTY |
570682f181549abdfa1e0aa8fcdacf82ad4b68c5 | 41e9eaa410050fe1b1abc315ed044f4b29971796 | /Pangram.cpp | 9c7b308be190055d98f2a3293155345c550a6981 | [] | no_license | Raisul191491/Noob_C- | 32202ccf298de2915685b1a091fa5d7bf4cb80b3 | 3ce698ca763dab2a3d95f8dbfd1a755161e1857b | refs/heads/master | 2023-02-26T11:18:19.107628 | 2021-02-01T18:24:01 | 2021-02-01T18:24:01 | 240,031,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,sum=0;
cin>>n;
string a,con;
cin>>a;
for(int con='a'; con<='z'; con++)
{
sum=0;
for(int i=0; i<n; i++)
{
if(tolower(a[i])==con)
{
sum=1;
break;
... | [
"52915635+Raisul191491@users.noreply.github.com"
] | 52915635+Raisul191491@users.noreply.github.com |
6bbdd90da89ae937f0de6b64cf41322474010a68 | 75e75f478edf250472651c1d31e3b2599fc52222 | /IsButtonClicked.cpp | d9f0574fbfb40d44ea227a935ea72888820acf0d | [] | no_license | mishok2503/DoublePendulum | dfdc672bb52b89567c252673ce879c656a7b1158 | e6d8ed29d17c06657d60a3bb3f1f77f338096a1b | refs/heads/master | 2023-02-25T22:39:24.283209 | 2021-02-02T23:19:07 | 2021-02-02T23:19:07 | 335,449,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include <SFML/Graphics.hpp>
using namespace sf;
bool IsButtonClicked(const RectangleShape &rect, Vector2i mouse_pos)
{
bool res = false;
if (mouse_pos.x > rect.getPosition().x && mouse_pos.x < rect.getPosition().x + rect.getSize().x)
{
if (mouse_pos.y > rect.getPosition().y && mouse_pos.y < rect... | [
"43549245+mishok2503@users.noreply.github.com"
] | 43549245+mishok2503@users.noreply.github.com |
5161335aa243f491ec99174f0bfe9e81c91165d5 | eeaf139b93150d6be75e02561939b20346b21861 | /srcs/boxpp/boxpp/base/ipc/windows/IpcServer_Windows.hpp | ad12e25dd134a848445717ba64d86b7960fa5612 | [
"MIT"
] | permissive | whoamiho1006/boxpp | b8c44dbc20cad5345eb7fdb48fc6d84e0290da2e | 5de2c5f9b2303ac6f539192f6407e9acf9144f8b | refs/heads/master | 2021-07-24T08:15:05.014984 | 2020-10-04T03:35:01 | 2020-10-04T03:35:01 | 221,234,644 | 2 | 0 | MIT | 2019-11-25T09:58:46 | 2019-11-12T14:16:19 | C | UTF-8 | C++ | false | false | 1,108 | hpp | #pragma once
#include <boxpp/base/BaseMacros.hpp>
#include <boxpp/base/BaseTypes.hpp>
#if PLATFORM_WINDOWS
#define BOXPP_IPC_PIPEWIDTH 2048
#include <boxpp/base/opacities/windows.hpp>
#include <boxpp/base/systems/Barrior.hpp>
#include <boxpp/base/systems/AtomicBarrior.hpp>
#include <boxpp/base/tpls/containers/Linked... | [
"33371449+jay94ks@users.noreply.github.com"
] | 33371449+jay94ks@users.noreply.github.com |
78f7fa62ee3706ccc751fe420324a1b2f14c3bda | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 5/Section6-Networking/6.04-FastRPCforOnlineGames-Bae/RPCDuel/IncludeIDL.h | 11df460de91ecfbcc630d69075c1035f58cafaf2 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 166 | h | #pragma once
#include "../MyRPC/MyRPC.h"
#include "gameproc.h"
namespace DuelProxy
{
#include "RPCDuel_proxy.h"
}
namespace DuelStub
{
#include "RPCDuel_stub.h"
}
| [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
ed81f30bf13d05c01ff4912f2f70d2bbb22aec33 | ca7795d618073a354f9b73485d04e0e498498e1e | /Lab10_1.cpp | 7077dd68307021cfc1b8a7bc4a86ee1e5349e52f | [] | no_license | tuando96/ASM | 67f9dcd2c8631218aae91faeeb2ef8d10a1c2d88 | 58ea4c1842cbe65fb85b20e58a834acc878e9ecd | refs/heads/main | 2023-05-10T00:22:54.557335 | 2021-06-05T08:49:32 | 2021-06-05T08:49:32 | 367,547,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <stdio.h>
#include <string.h>
int main(){
char s[50];
printf("Nhap vao chuoi: ");
scanf("%s",s);
int a, e, i, o, u, k;
a = e = i = o = u = k = 0;
for(int j=0; j<strlen(s); j++){
switch(s[j]){
case 'a': a++; break;
case 'e': e++; break;
case 'i': i++; break;
case 'o': o++; break;
case 'u... | [
"tuando961@gmail.com"
] | tuando961@gmail.com |
1165f2ddbeeb26248049d853d47fdf6ebe6062ee | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/components/error_page/common/localized_error.h | 4ff323161a80340d449442bd6992805737cc3e8d | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 1,793 | h | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ERROR_PAGE_COMMON_LOCALIZED_ERROR_H_
#define COMPONENTS_ERROR_PAGE_COMMON_LOCALIZED_ERROR_H_
#include <memory>
#include <string>
... | [
"csineneo@gmail.com"
] | csineneo@gmail.com |
e33ac36223751d2ed5d303fdc474fd7a2828c9f9 | eef3ea19240769789c70a5509b3e3251bbc3e688 | /graspPlugin/Grasp/GraspPluginManager.h | 26d27ba7be24d96632614a66911e55af773077b8 | [] | no_license | kensuke-harada/grasp-plugin | 816b81534cb045b62c59bfee92db178a0ee49dfe | e1757ff0b1e6fc8d9b5ae4dbd4a86a0e5d27edb8 | refs/heads/master | 2020-05-17T19:21:32.091852 | 2013-04-16T08:30:07 | 2013-04-16T08:30:07 | 33,283,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | h | /**
c) Tokuo Tsuji (Kyushu univ./AIST) and Kensuke Harada (AIST)
*/
#ifndef _GRASP_PLUGIN_MANAGER_H_
#define _GRASP_PLUGIN_MANAGER_H_
#include <string>
#include <boost/regex.hpp>
#include <QLibrary> /* modified by qtconv.rb 1st rule*/
namespace grasp{
typedef void* (*GrasplotEntry)(cnoid::BodyPtr body, cnoid... | [
"kensuke.harada@gmail.com@80f9602f-6e34-fe1a-7234-7f7116e1c1e8"
] | kensuke.harada@gmail.com@80f9602f-6e34-fe1a-7234-7f7116e1c1e8 |
21558defacb3f124382618da3b815d071e04141d | c2ea5017b91fcbd4676084c110f18bce8b856f55 | /cam_video.cpp | bb791ec8e478beb184ea61aea6bd5949087dd088 | [] | no_license | mclods/autodrive | 04c9f6c4e8e8acee8c70b03606dd50730aae71f4 | dc242a43d15ea9f6529e6b4106eac76dc8f0f65b | refs/heads/master | 2022-12-19T10:16:56.818604 | 2020-08-29T01:46:20 | 2020-08-29T01:46:20 | 289,766,757 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | // Program for taking video using RaspiCam
#include <opencv2/opencv.hpp>
#include <raspicam_cv.h>
#include <iostream>
#include <chrono>
#include <ctime>
using namespace std;
using namespace cv;
using namespace raspicam;
Mat frame;
void setup (int argc, char **argv, RaspiCam_Cv &camera)
{
camera.set(CAP_PROP_FRA... | [
"47282664+mclods@users.noreply.github.com"
] | 47282664+mclods@users.noreply.github.com |
99b1910a9bdc805812bd38daaa8bce5a50ddcba6 | e92acdbdd9f95f8caf93adf63ab13b804d94a776 | /enma_pe/pe_relocations.cpp | d8069883c4d704f77e95fa1ada8775531fe47d84 | [
"BSD-3-Clause"
] | permissive | killvxk/enma_pe | 00fdc6260ac3d585e444e4e1db372ae5dada5562 | 1da24f83e76585cf6dc569f82204caac61fe89c1 | refs/heads/master | 2020-04-01T17:28:09.723339 | 2018-09-20T14:48:54 | 2018-09-20T14:48:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,061 | cpp | #include "stdafx.h"
#include "pe_relocations.h"
relocation_table::relocation_table() {
}
relocation_table::relocation_table(const relocation_table& relocations) {
this->operator=(relocations);
}
relocation_table::~relocation_table() {
}
relocation_table& relocation_table::operator=(const relocation_table& reloc... | [
"jnastarot@yandex.ru"
] | jnastarot@yandex.ru |
031b137d886c42c80b331502a8db86cd76e7d60b | d8ea1ed34f0261f9164b597799111ece08c208e4 | /CodeForces/Ladders/Div2 B/B. The Fibonacci Segment.cpp | 7c6a142a79dc210f86dd516e3c98e8e39f890290 | [] | no_license | OmarAbdelrahman/solved-problems | 8a6695280072588332e0e0c5606d699b7489b898 | 62b734644bce6c997bd08aa651b968a9fdff205c | refs/heads/master | 2021-09-05T07:58:58.631821 | 2018-01-25T12:45:07 | 2018-01-25T12:45:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
ios_base::sync_with_stdio(false);
int n; cin >> n;
vector<int> a(n);
for (int i = 0; i < n; ++i) {
cin >> a[i];
}
if (n < 3) {
cout << n << endl;
return 0;
}
int result = 2;
fo... | [
"omar.sebres@gmail.com"
] | omar.sebres@gmail.com |
8627c60735f7a6da6d5f79354a362625817c089b | 0329788a6657e212944fd1dffb818111e62ee2b0 | /docs/snippets/cpp/VS_Snippets_Winforms/Classic VScrollBar Example/CPP/source.cpp | 170507cec4f6da2529a2efb2e8afc943b3b811d4 | [
"CC-BY-4.0",
"MIT"
] | permissive | MicrosoftDocs/visualstudio-docs | 3e506da16412dfee1f83e82a600c7ce0041c0f33 | bff072c38fcfc60cd02c9d1d4a7959ae26a8e23c | refs/heads/main | 2023-09-01T16:13:32.046442 | 2023-09-01T14:26:34 | 2023-09-01T14:26:34 | 73,740,273 | 1,050 | 1,984 | CC-BY-4.0 | 2023-09-14T17:04:58 | 2016-11-14T19:36:53 | Python | UTF-8 | C++ | false | false | 694 | cpp | #using <system.dll>
#using <System.Drawing.dll>
#using <system.data.dll>
#using <system.windows.forms.dll>
using namespace System;
using namespace System::Data;
using namespace System::ComponentModel;
using namespace System::Windows::Forms;
public ref class Form1: public Form
{
protected:
TextBox^ textBox1;
//... | [
"v-zhecai@microsoft.com"
] | v-zhecai@microsoft.com |
b65c46859b4ed69631d373aeeffdb304cd94ea38 | fea1222095e0a3d02dacc75f76505b6018c7509e | /lab12/testlist.cpp | e7c4bc9872b348eae54834b5e7453fbf3c01813a | [] | no_license | ethanyc216/CSCI455_Introduction_to_Programming_Systems_Design | db445669c1f3e8bd522bff600e52b4d1390bf98e | 69b66ba820d7dc9be79e66ea85dc5aeb788cc7b7 | refs/heads/master | 2020-07-26T14:21:27.619959 | 2020-01-13T19:22:13 | 2020-01-13T19:22:13 | 208,673,101 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,249 | cpp | // some linked list routines and a test program for CS 455 lab
#include <iostream>
#include <cctype>
#include <cassert>
#include <string>
using namespace std;
//*************************************************************************
struct Node {
int data;
Node *next;
Node(int item);
Node(int item, N... | [
"ethanyc216@gmail.com"
] | ethanyc216@gmail.com |
4da9ccc0e30a8e897960a43ec586c8ad2d2f1a50 | 05ace75fffe21a2d375e3611571f1a815d3c0fbc | /4.0.6/Core/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp | 9191ac860b683b3ff53b55503a47d1eea6ad2237 | [] | no_license | DeKaDeNcE/Project-WoW | 97fcf9b505f2cd87e2fb17b27d92d960cdc12668 | 9307425445316cc4e88c73e116d4ea4d440d5ac2 | refs/heads/master | 2021-05-27T09:11:53.994059 | 2014-02-20T06:29:42 | 2014-02-20T06:29:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,471 | cpp | /*
* Copyright (C) 2010-2011 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 ArkCORE <http://www.arkania.net/>
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribu... | [
"pat_66696@hotmail.com"
] | pat_66696@hotmail.com |
a487eab19e9e9910e8b5cfea82c61df84f06b19c | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta-W/82.6/p_rgh | 1432a03d591f9387d3b9467dba74450f41ec3579 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196,564 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
0b8723d5ac6dd3b7839733ab14a3439e657b8845 | 19408c596148206a670ebaf8012c264520b1b5aa | /Lab12/Q1.cpp | f31875beb1ea920f77e54f1750d3a45d84c6eebd | [] | no_license | samraj2k/CS342-Operating-System-Lab | b362a943781fb4389e8f58bcb48cd9d743547f9e | 8190ac327efe8ca0f20ae20fbe8d2a3fbeca53c1 | refs/heads/main | 2023-04-18T21:47:13.051716 | 2021-05-08T14:37:02 | 2021-05-08T14:37:02 | 363,647,744 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,719 | cpp | #include <bits/stdc++.h>
using namespace std;
#define seekRate 5
pair<int, string> compare[4] = {{0, "FCFS"}, {0, "SCAN"}, {0, "CSCAN"}, {0, "SSTF"}};
void PlotGraph(vector< string >&x , vector< string >&y , string name , string num){
int total_pts = x.size() ;
int total_cmds = total_pts + 100 ;
char *commands[to... | [
"noreply@github.com"
] | samraj2k.noreply@github.com |
5bc4fd50c3cd92ce058d2294ff62770b7e0393d1 | 6dc4a4bf3868f9dc4fdfffa274706f639d2020f5 | /11955.cpp | 8ce02839a7565af6940bdd2f7c9520279515d0ca | [
"MIT"
] | permissive | 00mjk/UVa-Online-Judge | 0481d2a86480177330eb672979c35c6f9ce057d7 | c267f069f9690daad2b438bc32e72c148b9e100e | refs/heads/master | 2022-12-31T12:48:16.082901 | 2020-10-28T01:58:43 | 2020-10-28T01:58:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"siteshshrivastava@gmail.com"
] | siteshshrivastava@gmail.com |
ae3fbe773fbda3001d2277ec71ce96bd9e848795 | f6038f4104059a4f3c52a1ab10e740da4aa439d3 | /tools/errorclass.h | ca7b16f65c639dd28741f494b092df95f131a563 | [] | no_license | iliis/MBH_dosgui | e3c67e8ba8607ae54f50a6bf3a76a90a318f2a11 | 71dd2222b620e09e7e25ea25f3ebf4b6622f38f8 | refs/heads/master | 2020-05-03T02:11:35.631401 | 2014-03-09T21:11:57 | 2014-03-09T21:11:57 | 16,887,380 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | h | #ifndef ERRORCLASS_HPP_INCLUDED
#define ERRORCLASS_HPP_INCLUDED
#include <stdexcept>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include "stringhelpers.h"
//------------------------------------------------------------------------------
// Makro für detailiertere Fehlermeldungen
#define ERROR(type, ms... | [
"samuelbryner@gmx.ch"
] | samuelbryner@gmx.ch |
11562ce95ec6e30e5249b768f74091b6969a3f80 | e7e923e1a584d70ec406dfbbc5062aa67f2480b0 | /src/mainloop.cpp | c53095c2f71a2f49eeff5d0cf16ec74bfcdbc1ce | [] | no_license | gavincangan/DRRT | 3353f068eba2a9218cfa1ede13aa099047b9ad53 | 9df8076d41dedec5ee1953ffb2987146100878bd | refs/heads/master | 2020-04-29T00:34:46.759416 | 2019-03-14T21:04:50 | 2019-03-14T21:04:50 | 175,699,065 | 0 | 0 | null | 2019-03-14T21:02:35 | 2019-03-14T21:02:35 | null | UTF-8 | C++ | false | false | 12,371 | cpp | /* mainloop.cpp
* Corin Sandford
* Spring 2017
* RRTX main loop function for running in threads
*/
#include <DRRT/mainloop.h>
using namespace std;
bool timingml = false; // Use to check on frame rate
bool collect_timing_data = false;
void RrtMainLoop(shared_ptr<Queue> Q, shared_ptr<KDTree> Tree,
... | [
"cosa0481@colorado.edu"
] | cosa0481@colorado.edu |
abb59cbbc38e7de9d6358a4c324a4dc19bc1aef0 | 69370bd0066f8635ccd6d86442f5eefdc5fc99ce | /compare.cpp | 8a47e262da191812b0bb862d6af1396835dd0f03 | [] | no_license | hitohira/SpMV | 892f6ace78d0bc709e0cdc14cca3575dcc9fbc37 | bd5d88bb9acc520ec33dfa7434f72369e9ab28ca | refs/heads/master | 2023-05-01T19:49:30.674534 | 2020-05-24T06:53:22 | 2020-05-24T06:53:22 | 253,999,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,059 | cpp | #include "matrix.h"
#include "util.h"
const int TIMES = 100;
int measure(const char* filename);
int main(){
char* mat[] = {
"matrices/bbmat/bbmat.mtx",
// "matrices/Chebyshev4/Chebyshev4.mtx",
"matrices/PR02R/PR02R.mtx",
"matrices/pwtk/pwtk.mtx",
"matrices/raefsky3/raefsky3.mtx",
"matrices/raefsky5/raefs... | [
"hitohirasakuno@gmail.com"
] | hitohirasakuno@gmail.com |
4e08d9f2be18ef0b3180e7cd95781d82d19d01f2 | c3f5d41167ea86e8d5c61bbf1dd4f3d607a7e9ff | /DirectShowLiveStream.cpp | 84e22ae85fd2052da9e696ea0f5728cc54b6ccc2 | [] | no_license | Flukeywheat/DirectShowLiveStream | c0d7f257cc9254b0d9d5871292844fc5c901b53a | 4894180c4bbf2266692583cc61acb24f8a891da6 | refs/heads/master | 2022-05-26T10:08:55.556293 | 2020-04-28T02:47:44 | 2020-04-28T02:47:44 | 259,514,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | #include <dshow.h>
int main()
{
IGraphBuilder* pGraph;
IMediaControl* pControl;
IMediaEvent* pEvent;
HRESULT Hr = CoInitialize(NULL);
if (FAILED(Hr))
{
printf("Error initializing COM Library");
return 0;
}
Hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SE... | [
"Chapter_120@yahoo.com"
] | Chapter_120@yahoo.com |
fbd7d980cd2ec46a0787a4cd2f1803449bfb7eb1 | 17ee73d77ac875204ecfdec0fc178654ee5598e4 | /Project4/debug/moc_createmeeting.cpp | c960c9fced91c367c2c116f8816498fb0c6907c7 | [] | no_license | flyingmanPan/sysumap | ed57c2e0c6d712d95e381add536db8043e375001 | 62aad53466b8a52e9fc27cb2c57fdb9f37bca04e | refs/heads/master | 2021-08-30T22:08:46.540046 | 2017-12-19T16:04:05 | 2017-12-19T16:04:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'createmeeting.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"245221442@qq.com"
] | 245221442@qq.com |
a53d6e7a6ae2d638054daf7cd3fb93eea27585ac | 6d3f4e571c95d490d98b5a6d488b225423b76cdc | /LeetCode/C++/Problem 236.cpp | 1f7dc63ec5011b2ae715afd4c611099b5ffa91fa | [] | no_license | GH-Edifire/GH-JK-practice-problems | c5719e87a1e4f3a3a859d431dbc5a97e93e2aa0e | 61bcc10a7ae701bc84773e519d84a20158e268a2 | refs/heads/master | 2020-05-31T01:38:15.941071 | 2020-04-09T18:45:48 | 2020-04-09T18:45:48 | 190,052,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | // LeetCode: Problem 236
// Jonathan Kosasih
/*
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
*/
//-------------------------------------------------------------------
#include <iostream>
#include <vector>
#include <map>
#include <unordered_map>
#include <set>
#include <stri... | [
"50841744+GH-Edifire@users.noreply.github.com"
] | 50841744+GH-Edifire@users.noreply.github.com |
478a4987d8e3561630b2bc952c512bcd65da523b | 01370e1d6d628834d00d74d6c27556ff39320410 | /VirtualBox-5.0.12-Thinputer/src/VBox/Runtime/common/string/uni.cpp | ced67d2e3924caef21a14130b7f117569918a885 | [] | no_license | stonezk/Thinputer3D_ReadBack | 13ca19c0cfc05af88082321dfc524240961dca7f | 09418b420e82bb7eb6ce76e066145fcf240aaec9 | refs/heads/master | 2021-07-14T05:31:01.057984 | 2017-10-13T01:26:15 | 2017-10-13T01:26:15 | 104,833,018 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | cpp | /* $Id: uni.cpp $ */
/** @file
* IPRT - Unicode.
*/
/*
* Copyright (C) 2006-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* G... | [
"zhengke_stone@foxmail.com"
] | zhengke_stone@foxmail.com |
1e2a48659a017c651b04f484ca6f05a26c8a32c3 | 4eb4242f67eb54c601885461bac58b648d91d561 | /third_part/indri5.6/ExtentAndNode.hpp | 53be772dacdf6a5880005a6e5b81f95cb0a32920 | [] | no_license | biebipan/coding | 630c873ecedc43a9a8698c0f51e26efb536dabd1 | 7709df7e979f2deb5401d835d0e3b119a7cd88d8 | refs/heads/master | 2022-01-06T18:52:00.969411 | 2018-07-18T04:30:02 | 2018-07-18T04:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | hpp | /*==========================================================================
* Copyright (c) 2004 University of Massachusetts. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file include... | [
"guoliqiang2006@126.com"
] | guoliqiang2006@126.com |
7147e26eca31084ff805bd1f51a1b52fdd7a48b1 | 9113c2c6db72238c5690afbb3661f36cb1368590 | /PDM/PDMBuilder/BuildTest/BuildTest/BuildTest.h | 071917a4abb7cae4b419013da5d4fab7bd1f3a73 | [] | no_license | songcser/ALM | 52bae52c156d0cf0cb2d7b36fd02b2eb939edee7 | fe697a5a7d06ff46aa93a9b27cb3895b21fe64c6 | refs/heads/master | 2021-01-06T20:36:47.044416 | 2014-08-06T02:41:42 | 2014-08-06T02:41:42 | 13,189,948 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | // The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the BUILDTEST_EXPORTS
// symbol defined on the command line. This symbol should not be defined on any project
// that uses this DLL. This way any other project who... | [
"songjiyi2008@163.com"
] | songjiyi2008@163.com |
35b4ea799d54742ea9d2558e11078331cc7efa97 | 6c6231aa4b6ba66e771530c7fbfa34812ea28d98 | /Tutorials/Tutorial 3/inputFromFile.cpp | b718ef74b3aa79e37afe5eeff1df7953a4e5a188 | [] | no_license | Shurimian/me101-programming | 0f7efb3fe854b091340d44991cd7b79fad818c43 | bfc33663f2f85cbdf3aad1f3eb2c799b957d5b01 | refs/heads/master | 2021-04-06T20:56:07.871082 | 2020-03-18T14:22:34 | 2020-03-18T14:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | // Chamath Wijesekera - ME 101
// Tutorial 3 - Input from File
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream fin("info.txt");
if (!fin)
{
cout << "File not found.";
system("PAUSE");
return EXIT_FAILURE;
}
string pri... | [
"chamath2.wijesekera@gmail.com"
] | chamath2.wijesekera@gmail.com |
2e1fac4ec759e6f1a26dfff08e85323f4e6359ff | 14c2bc8e616571f59f1d85a1ceacce0ead77e11b | /include/freefloating_gazebo/freefloating_pids_joint.h | 650bdd0e47faba7ed4efee0a1b3dee63d99ee417 | [
"MIT"
] | permissive | epsilonorion/freefloating_gazebo | 20af7236c46f426beeb0738afc80f16186a2e0b5 | 7902668a01698c65bbef58266c4982d5a49f3449 | refs/heads/master | 2022-11-12T20:17:26.662677 | 2018-06-20T08:27:57 | 2018-06-20T08:27:57 | 277,930,539 | 0 | 0 | MIT | 2020-07-07T21:57:33 | 2020-07-07T21:57:32 | null | UTF-8 | C++ | false | false | 1,172 | h | #ifndef FREEFLOATINGJOINTPID_H
#define FREEFLOATINGJOINTPID_H
#include <ros/ros.h>
#include <control_toolbox/pid.h>
#include <sensor_msgs/JointState.h>
#include <freefloating_gazebo/freefloating_pids.h>
class FreeFloatingJointPids : public FreeFloatingPids
{
public:
void Init(const ros::NodeHandle&_node,
... | [
"olivier_kermorgant@yahoo.fr"
] | olivier_kermorgant@yahoo.fr |
e811346f60c72a30c6274715c593568bb50ebd79 | 11fc3585671ecdf86f67ce076304b3b4e82875dd | /Delaunay_pic/src/display/Display.h | 6181aaa89f3f869d52171bf70da48dd2b5257fea | [] | no_license | wk199/dem | a719bb3f3393f93ad5c635e1c2184344d00890e6 | 08c97687fb8b2b996d840246dff06303a183f511 | refs/heads/master | 2020-04-09T05:10:05.903869 | 2017-12-07T14:24:58 | 2017-12-07T14:24:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | #ifndef DISPLAY_H
#define DISPLAY_H
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "Struct_Class.h"
#include "Tile.h"
class Display_cv
{
public:
Display_cv();
int frame2dem(Frame& frame, Dem& dem);
int demFusion(Dem& dem);
SPtr<tileManager> tile_manager;
}... | [
"1014726410@qq.com"
] | 1014726410@qq.com |
8b1bdb68ef2a6d9e85f05ed9bec5994ae96a170c | bcd9048b8f83cc2061fdf73c2025930e2f713d2f | /src/MPC.h | e7adf4be29ef6259ece784041576b2ed692d2399 | [] | no_license | williambeverly/MPC_Project | db14456e36ccefb421c8e68a235aa781a1329a54 | 93a4ed222e382cad6c3a0b6cb560c6a405eab190 | refs/heads/master | 2021-01-21T23:13:27.447336 | 2017-06-23T13:35:39 | 2017-06-23T13:35:39 | 95,210,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #ifndef MPC_H
#define MPC_H
#include <vector>
#include "Eigen-3.3/Eigen/Core"
using namespace std;
const size_t N = 8; // number of steps
const double dt = 0.15; // time step
const double Lf = 2.67; // turning radius
const double ref_v = 35; // reference speed
class MPC {
public:
MPC();
virtual ~MPC();
// ... | [
"yuill.william1@gmail.com"
] | yuill.william1@gmail.com |
a68728954682a95ba37e5746aa67718110a82fe7 | a795581f1e6a9c29f1cc90fd27f06a862c1ffe00 | /arduino_python serial communication/arduino/python_serial_communication_no_enviroment/string_to_double.ino | d565f8b57bfc97a653d564040f8efc81e190adab | [] | no_license | parhamkazemi76/RL-crawler | 93f194b41928d29b777b7cbbf4f123431807276c | d93bba888e27046258870769d3c6eeb3e4c1b377 | refs/heads/master | 2020-04-07T10:17:16.538801 | 2018-11-19T19:47:28 | 2018-11-19T19:47:28 | 158,281,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | ino | float string_to_double(String S){
// Serial.print(S);
// Serial.print(" ");
int dot = -1 ;
int e = -1;
double num = 0;
for (int i = 0; i < S.length(); i++){
if (S[i] == '.'){
dot = i;
}
if (S[i] == 'e'){
e = i;
}
}
if (dot > 0){
for (int... | [
"parhamkazemi76@gmail.com"
] | parhamkazemi76@gmail.com |
cefd48a575f731e78134a4e46bcc0f2a41b82648 | 7197eacd17dd4b835338f41c5528ee80bf16608d | /PortasLogicasEducacional.ino | 95d86c2a0eb4bcc11412f6fd7e17ebad51fb966d | [] | no_license | EdgarOlv/Portas-Logicas-Educacional | 37c1a2f35afdf21b34d356d31cb514397c116e8f | 9909dc4abef3e49954172c33cc44f904d9477427 | refs/heads/master | 2021-09-23T23:15:33.169714 | 2018-09-28T19:56:08 | 2018-09-28T19:56:08 | 107,815,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,700 | ino | #include<Wire.h>
#include<LiquidCrystal_I2C.h>
int contador=0;
int contador2=0;
const int botao = 9; //menu 1
const int botao2 = 5; // entrada a 1
const int botao3 = 6; //entrada b 1
const int botao4 = 8; //menu 2
const int botao5 = 7; //entrada 2
boolean troca = false;
boolean troca1 = false;
boolean troca2 ... | [
"noreply@github.com"
] | EdgarOlv.noreply@github.com |
54da31a310a5872518c00c9f3ae1431a99c10bb6 | 3e0f892c02562651fe721d436655ad623f91bf66 | /chap01/GuitarStore-r2-list/Guitar.cpp | 790c3c8fe10b3e263d84c5e58181e129dece1e9d | [] | no_license | samuelololol/HFOOADinCpp | e0a3ad2f2ebdfe10aba3e929c65d122ef7a30159 | 7c4437a3de0f8cff71094f6c6a042e5d3135a85b | refs/heads/master | 2016-09-05T11:00:05.300959 | 2012-12-11T14:31:51 | 2012-12-11T14:31:51 | 1,233,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include "Guitar.h"
Guitar::Guitar(){}
Guitar::Guitar(string serialNumber, double price,
const GBuilder &builder, string model,const GType &type,
const GWood &backWood, const GWood &topWood):
serialNumber_(serialNumber),
model_(model),
price_(price),
builder_(builder),
type_(type... | [
"samuelololol@gmail.com"
] | samuelololol@gmail.com |
1c4c1c0bc232600e3800f9779bea577d888b11af | 0f36cd291b7674d88e841e5f6b6d4badd9c2b0b6 | /include/jce/wup_sym.cpp | db81246ad3ffe05e82b2491b80c5901342026421 | [] | no_license | fengmm521/taf | b75164e2d7f9501aa0786f50261f046d25eaced3 | 42e48f68b230d91c95533b35c856ef1e14f95d34 | refs/heads/master | 2020-03-22T20:04:50.436752 | 2018-08-08T17:50:18 | 2018-08-08T17:50:18 | 140,571,475 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,982 | cpp | // **********************************************************************
// WUP version 1.0.0 by WSRD Tencent.
// **********************************************************************
#include <stddef.h>
#include "wup_sym.h"
namespace wup
{
// static const taf::Int32 WUP_SUCCESS = 0; //成功
// static con... | [
"tangyi1@syswin.com"
] | tangyi1@syswin.com |
37db9f87f62b76818cbe72a7091f6d38a1be2b61 | 20e58a78041a5959d7d892dcc2b984bd82710e88 | /compare/hugefile/test_ntuple.cc | 3e7d96bbdeb0ffc8ad0d755d22c3a9027b98ae18 | [] | no_license | jblomer/iotools | 812c63d90cce173307eda3e8c7a63dc2466f8edf | 817bf4e89d323cb6a137041f8a6978499f4fee48 | refs/heads/master | 2023-08-08T07:50:20.882150 | 2023-06-15T11:13:41 | 2023-06-15T11:13:41 | 85,220,481 | 7 | 7 | null | 2023-06-15T11:13:43 | 2017-03-16T16:53:46 | C++ | UTF-8 | C++ | false | false | 1,978 | cc | #include <ROOT/RNTuple.hxx>
#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleOptions.hxx>
#include <TROOT.h>
#include <cstdio>
#include <memory>
#include <string>
#include <type_traits>
using RNTupleModel = ROOT::Experimental::RNTupleModel;
using RNTupleReader = ROOT::Experimental::RNTupleReader;
using RNTupleW... | [
"javier.lopez.gomez@cern.ch"
] | javier.lopez.gomez@cern.ch |
17842a80fcd6daa0878014ad267e141d075cdbf5 | 6c121e0c3fec192b58572567f06f6bdca8c5132a | /EclipseStudio/Sources/UI/HUDCommCalls.h | 4a46fe3f5aac7b8f7024f53528a9e2ff8a62154b | [] | no_license | gamedevforks/src | 35555c4a32ce15692cd6cd1343aef16dd3307576 | 6e7470992ea47990c60ebceeb665a4d8c037c6d2 | refs/heads/master | 2020-05-21T16:09:56.595652 | 2014-09-20T22:54:59 | 2014-09-20T22:54:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | h | #pragma once
#include "APIScaleformGfx.h"
class HUDCommCalls
{
struct CallCommand
{
int id;
const wchar_t* txtCommand;
int voiceCmd;
CallCommand() :id(-1), txtCommand(0), voiceCmd(0) {}
CallCommand(int i, const wchar_t* txt, int voice) : id(i), txtCommand(txt), voiceCmd(voice) {}
};
CallCommand m_Comma... | [
"muvucasbars@outlook.com"
] | muvucasbars@outlook.com |
f4e03d5cdcf36f0c3e42bc8ce66ed6b56d04ed63 | e18ef95490745713792e75b84d48b943069ac152 | /src/patchinfo.cpp | 336078027c13b80b5122f77e77dadf7a96747b5e | [
"Zlib",
"BSD-2-Clause"
] | permissive | blastrock/pkgj | f6ee562743e9b0c338803cce829b8ea6f07059fd | fa3f130d6f5df224ddeef2b090e850af81a626a7 | refs/heads/master | 2023-08-14T18:59:35.994836 | 2023-07-31T08:46:56 | 2023-07-31T08:46:56 | 124,300,424 | 1,054 | 141 | BSD-2-Clause | 2023-07-07T19:29:21 | 2018-03-07T22:08:48 | C++ | UTF-8 | C++ | false | false | 3,338 | cpp | #include "patchinfo.hpp"
#include "sha256.hpp"
namespace
{
constexpr uint8_t HMAC_KEY[32] = {
0xE5, 0xE2, 0x78, 0xAA, 0x1E, 0xE3, 0x40, 0x82, 0xA0, 0x88, 0x27,
0x9C, 0x83, 0xF9, 0xBB, 0xC8, 0x06, 0x82, 0x1C, 0x52, 0xF2, 0xAB,
0x5D, 0x2B, 0x4A, 0xBD, 0x99, 0x54, 0x50, 0x35, 0x51, 0x14,
};
std:... | [
"p.daouadi@free.fr"
] | p.daouadi@free.fr |
cccc4109f7f15164e411a041ddca6c82eef04568 | 6ad2b8de9e856aa362d611fc2e82d0606dfe10b0 | /www.codeforces.com/279.B.cpp | 0a08968d1f65b7d84ab503bca1b855979063e8b4 | [] | no_license | jonyroy/online-judge-problem-solutions | 7e62ac345ae701ea2d8e57e8460be68eaee77082 | 334d21b83e180a572639912f6e324a85eb7d3b8c | refs/heads/master | 2021-06-18T07:46:10.199974 | 2017-05-23T02:01:01 | 2017-05-23T02:01:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | #include<bits/stdc++.h>
using namespace std;
int arr[200050];
map<int,int>a;
map<int,int>b;
map<int,int>::iterator it;
int n,f,s,l,k;
int main()
{
cin>>n;
for(int i=1;i<=n;i++)
{
int cnt,cn;
cin>>cnt>>cn;
if(cnt==0)
f=cn;
a[cnt]=cn;
b[cnt]=b[... | [
"jonyroy16@gmail.com"
] | jonyroy16@gmail.com |
afa5046133ef20b58f065c835db9755a204639ff | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/ZeroJudge/ZJ b004.cpp | 53098b364f0a98edec846beacf2d1642a107695a | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
int main() {
double d,l;
while (cin>>d>>l) cout<<fixed<<setprecision(3)<<pow(((l*l-d*d)/4.0),0.5)*(l/2.0)*2.0*acos(0.0)<<endl;
} | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
95619cc2ec7a7367de0770cc18540d88c3944798 | 9374c8d1bb503b60e2c963824b1db255349ff0c3 | /src/Session.h | f6a1b959ca31bb7e36a27b3bd2c364b50ac53150 | [] | no_license | yewsky/507 | f6a500033a62ed35b82a31e7e09cd06e053beade | fa32af93fada75591b1c5601e249e917361063c5 | refs/heads/master | 2021-01-13T04:28:55.750961 | 2011-07-24T03:27:44 | 2011-07-24T03:27:44 | 2,095,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,359 | h | #ifndef _SESSION_H_
#define _SESSION_H_
using boost::asio::ip::tcp;
#include "Def.h"
class Session : public boost::enable_shared_from_this<Session>
, public boost::noncopyable
{
public:
typedef boost::shared_ptr<Session> SmartPtr;
/// @param buf 返回结果空间
/// @param size 返回结果大小
typedef bo... | [
"yewsky@qq.com"
] | yewsky@qq.com |
0d87c33b39b4db087bd2cc7c29b06d16f70c8359 | b7c2c8118a2ca2e8dd6519e42a3e6290d96fe82f | /Parse/SyntaxAnalyser.cpp | 31d9d8cb24357468cfe471e8755f9291457c28da | [] | no_license | singleghost/miniSqlFrom0 | 94f40f77c2baec1dc1763726cee1e332e4a660e6 | 8f778180b62744d92f2182106e64125c87f41a9d | refs/heads/master | 2021-01-20T19:56:52.935809 | 2016-08-18T02:51:41 | 2016-08-18T02:51:41 | 60,464,525 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 19,699 | cpp | //
// Created by 谢俊东 on 16/8/6.
//
#include "SyntaxAnalyser.h"
RC SyntaxAnalyser::GetNextToken(Token &tok) {
if (bTokenBufed) {
bTokenBufed = false;
tok = aheadTok;
return 0;
}
else {
if (lexer.nextToken(tok)) return LEX_ERR;
return 0;
}
}
void SyntaxAnalyser::... | [
"570111267@qq.com"
] | 570111267@qq.com |
4ac6d80435a6895b6bf25e8e78d60196683276aa | 2e62eded4a05a565aa67c2557fed94d2dd2965cf | /vlc/vlc/DuiMenu.h | a1d166081e9b12e99d71cd4b0b4641bae0994731 | [] | no_license | jielmn/MyProjects | f34b308a1495f02e1cdbd887ee0faf3f103a8df8 | 0f0519991d0fdbb98ad0ef86e8bd472c2176a2aa | refs/heads/master | 2021-06-03T11:56:40.884186 | 2020-05-29T09:47:55 | 2020-05-29T09:47:55 | 110,639,886 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,339 | h | #pragma once
#include "common.h"
#include "UIlib.h"
using namespace DuiLib;
class CDuiMenu : public DuiLib::WindowImplBase
{
protected:
virtual ~CDuiMenu() {}; // 私有化析构函数,这样此对象只能通过new来生成,而不能直接定义变量。就保证了delete this不会出错
DuiLib::CDuiString m_strXMLPath;
DuiLib::CControlUI * m_pOwner;
DWORD m_... | [
"jielmn@aliyun.com"
] | jielmn@aliyun.com |
eafbc7616cf318d02aef98fa6ff7990336e1d73d | eaba6074c49c93000eee7f7f65f78663001edd22 | /src/rpcvelocity.cpp | 8cac2e4249e7ee7bb7910d9740a70dddb9b57ef3 | [
"MIT"
] | permissive | payplatinum/platinum | e076ba9c2f571a4bbbd02e260928737770c62a8b | 667275e8cbbe25642466a049cfe32cb6765f03c5 | refs/heads/master | 2021-01-19T07:56:32.899911 | 2019-07-04T10:11:01 | 2019-07-04T10:11:01 | 100,648,188 | 5 | 10 | MIT | 2019-07-04T10:11:02 | 2017-08-17T21:53:17 | C++ | UTF-8 | C++ | false | false | 1,904 | cpp | // Copyright (c) 2014 The Cryptocoin Revival Foundation
// Copyright (c) 2015-2017 The CryptoCoderz Team / Espers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "rpcvelocity.h"
#include <boost/assi... | [
"simsim0331@gmail.com"
] | simsim0331@gmail.com |
7efed52ddb067a75be2751957bab689d90253f9a | 434efe0ec8852ded5a2b731157e42d4b8deeace5 | /misc/examples/rectanglepc/main.cpp | f2d216fa9a8fcfacbcbe1f05b1cbd9cad9aaedbc | [] | no_license | murproject/mur_ide_legacy | 85df5ccb1ee76105672b491c65343b61f5dbb963 | b1c67e39eda6e3b5137aa3fd1d48ea805b14872d | refs/heads/master | 2023-02-01T14:37:36.814329 | 2020-12-21T05:36:15 | 2020-12-21T05:36:15 | 323,231,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include <murAPI.hpp>
int main() {
mur.initCamera(0);
mur.addDetectorToList(Object::RECTANGLE, 0);
while (true) {
for (const auto &obj : mur.getDetectedObjectsList(0)) {
cv::Mat image = mur.getCameraOneFrame();
if (obj.type == Object::RECTANGLE) {
if (obj.... | [
"alex.zauzolkov@yandex.ru"
] | alex.zauzolkov@yandex.ru |
b9308b86f2c0057c3a8a134d99aa9a7227f3834e | ae219d28725c9dd58c200ae76ba3bf3f2a90d557 | /BrowserLauncher/xulrunner-sdk/include/rdfITripleVisitor.h | 64eb36297f06e88398d334dcc96909fe4588527d | [] | no_license | pepekinha/src | de1f0c64cf1238e019f4daf7f87d95849304d88e | 5223858f05f6791f1dec30df1dbb91ae3e4f5952 | refs/heads/master | 2021-01-22T01:05:54.659896 | 2014-04-06T01:43:37 | 2014-04-06T01:43:37 | 27,421,524 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,541 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/release-mozilla-1.9.2-xulrunner_win32_build/build/rdf/base/idl/rdfITripleVisitor.idl
*/
#ifndef __gen_rdfITripleVisitor_h__
#define __gen_rdfITripleVisitor_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that do... | [
"highnetlan@gmail.com"
] | highnetlan@gmail.com |
e65e4c3ad0e64aab98d259217d9072afcd2a9bac | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5686275109552128_1/C++/ShawnDong/B.cc | 2db7ff43f98eb944291416f8fa33d41d6addca7c | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 26,410 | cc | /** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <numeric>
#include <cstring>
#include <cassert>
#include <cstdio>
#include <string>
#include <vector>
#include <bitset>
#include <queue>
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
51135ecfca11cf01e3617851ec8f8877cab3a9ee | 0813ecdda1a7c00242a3657da8a9a933a7c37a56 | /miniFS.Core/dist/src/exceptions/MFSDirectoryAlreadyExistException.cpp | bd49ac4b919ec689d032cb138f8520cce7c6a782 | [] | no_license | Lancern/miniFS | ab128b6db008463970e529a94c835ca3de8a0ea6 | 0e5a59e1dec0357c00d3bfde74bd335ebaacf157 | refs/heads/master | 2020-03-27T08:54:23.003551 | 2018-09-16T12:17:12 | 2018-09-16T12:17:12 | 146,296,992 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include "../../include/exceptions/MFSDirectoryAlreadyExistException.h"
MFSDirectoryAlreadyExistException::MFSDirectoryAlreadyExistException(const MFSString & directory)
: MFSException(MFSString::Format(L"Directory %s already exist.", directory.GetRawString()))
{
}
| [
"xh19980325@126.com"
] | xh19980325@126.com |
00952e1eb0141bb8e96a850dd57df5f52fc86306 | 01e5712315ce5d23fcf7cbdd299d2450ae0aa459 | /src/ui/action.h | 1250bccac9f1b2300afe2dca9d5a54b5d12e6129 | [] | no_license | localghost/imgconv | c9532cd18de90a1d003d9c83999b9863ff632919 | 26b039f3d96725648f88eb64c7c3cb70b33902bc | refs/heads/master | 2020-05-13T03:40:54.413573 | 2015-01-13T21:13:36 | 2015-01-13T21:13:36 | 25,688,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | h | #ifndef ACTION_H
#define ACTION_H
#include <memory>
#include <vector>
#include <QString>
#include <im/image.h>
#include <im/imageaction.h>
//namespace im {
//class Image;
//}
//
class Action
{
public:
virtual ~Action() = 0;
virtual void configure() = 0;
virtual std::unique_ptr<im::ImageAction> compile() = 0;
... | [
"localghost@codeleet.com"
] | localghost@codeleet.com |
030bf734bf9b60d6697b2faef13d8032b1442950 | a71b70de1877959b73f7e78ee62e9138ec5a2585 | /CF/20120422/B.cpp | 0ffeacbdaf6558e4f73dbb35e3862f5c92d48c71 | [] | no_license | HJWAJ/acm_codes | 38d32c6d12837b07584198c40ce916546085f636 | 5fa3ee82cb5114eb3cfe4e6fa2baba0f476f6434 | refs/heads/master | 2022-01-24T03:00:51.737372 | 2022-01-14T10:04:05 | 2022-01-14T10:04:05 | 151,313,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,043 | cpp | #include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<cstdlib>
#include<cmath>
#include<map>
#include<set>
#include<queue>
#include<string>
#include<vector>
#include<ctime>
using namespace std;
int nums[105],nums2[105];
int prime[10000];
bool bo[10001];
int prime_table()
{... | [
"jiawei.hua@dianping.com"
] | jiawei.hua@dianping.com |
10c99b9237bc4ede1be674cf7326f99b98f95686 | fe8a79ff9bfe8e60f8ba1171a232ca196f16cfd5 | /Model/Track/track.h | 33478b360ea29b8e97d8ff2e75a8448f06923925 | [] | no_license | miguelfs/Stonify | eb28d09325b09d03b14e3d9a26d7c9315c4d1d80 | 6098a0a0c98e0e450dce7000fe9a11c973c8efed | refs/heads/master | 2021-08-23T17:50:02.602588 | 2017-12-05T23:54:06 | 2017-12-05T23:54:06 | 112,770,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | #ifndef TRACK_H
#define TRACK_H
#include <string>
class Track
{
public:
Track();
private:
Album album;
Artist artist;
std::string availableMarkets[];
int discNumber;
int durationMs;
bool explicito;
Id externalIds [];
URL externalUrls [];
std::tring href;
std::string id;
... | [
"mfsousa@poli.ufrj.br"
] | mfsousa@poli.ufrj.br |
a6734d8ffb3df387e09e3235765b94824c7d01f3 | 85e3837c748ecb287e1a0ba8407954741962ffd1 | /Randomly/499e.cpp | 80804e2f8955209df49a195395aa43f8115a6f80 | [] | no_license | infyloop/uva-solns | cc146c1ea1853a834ce324cfd73d470a5a8e252d | df6c94ece4c9f7e552210f6ab901327f14e4ed81 | refs/heads/master | 2021-05-26T22:26:26.198382 | 2013-02-04T05:58:55 | 2013-02-04T05:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | #include<iostream>
using namespace std;
struct ds {char letter; int cnt;};
int main()
{
int i,j,maxu,maxl,k,l;
char c;
ds up[26],low[26],temp;
for(i =0;i<26;i++){ up[i].letter = i+'A'; up[i].cnt = 0;}
for(i =0;i<26;i++){ low[i].letter = i+'a'; low[i].cnt = 0;}
while((c=getchar())!... | [
"contact@fruiapps.com"
] | contact@fruiapps.com |
3b2cb9bd3ada6345486384a371778c5a8fc5d4db | 4905457d00df7f2da09cd9de2295b570d6dc3405 | /Gumi Gota Game Engine/Gumi Gota/Gumi Gota/src/graphics/buffers/IndexBuffer.cpp | 9bb9a9091b003caf8706ffb81676fe87d567d6c9 | [] | no_license | SmiledProgrammer/Gumi-Gota-Game-Engine | 7e3b8cb110bbc69cf20ac125179b96ce90918c0e | d251e9d73ef56b04c8b98cca2129cff416c246e5 | refs/heads/master | 2023-04-30T11:47:08.851588 | 2021-05-19T16:33:15 | 2021-05-19T16:33:15 | 368,627,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,163 | cpp |
/* INCLUDES */
// Self include
#include "IndexBuffer.h"
// OpenGL Includes
#include "GL/glew.h"
// Header Includes
#include "../../graphics/ErrorHandling.h"
namespace gg
{
/* Constructors */
IndexBuffer::IndexBuffer(const unsigned int* data, const unsigned int count)
: m_count(count)
{
GLcall(glGenBuffers... | [
"szinton@gmail.com"
] | szinton@gmail.com |
b60c3f1c8b04d84f760a453b1421ced3c0a7a42c | 8166ddf1de0a77bf7269f9d1aac65cfeb66f2ed3 | /average_rainfall.cpp | c0816adf771ba2603b516d99dede45c0d9ad80cf | [] | no_license | figueroam14/Find-Average-Rainfall | d7b39960b83e3b1e1a2f1c76c9ae94036eff3cb4 | 6ae3624ad79490ea728d47db9f381fdd13608dc4 | refs/heads/master | 2020-06-19T16:49:01.693234 | 2019-07-14T03:44:16 | 2019-07-14T03:44:16 | 196,790,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,667 | cpp | //Michael
//Figueroa
//900389292
//CS1410, CRN 11297, Fall 2018
//Programming Assignment #6
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
using namespace std;
//Total_Rainfall Prototype
double Total_Rainfall(double arr[]);
//Average_Rainfall Prototype
double Average_Rainfall(double arr[... | [
"michaelfigueroa24@gmail.com"
] | michaelfigueroa24@gmail.com |
e691d03bed7cd7608b49a711b6555e0d14dc3c96 | 353d69a6b4eeb70835d0e17bb9293e177a132d76 | /Week_05/70.爬楼梯.cpp | 9d87e476e10d6cb54afb961c1b5e792d5cb0f755 | [] | no_license | cjf1699/AlgorithmQIUZHAO | 0b3751a12618fbf0a2b544cb294fde23f0e5062f | 9ef45e3c467986764c2c4ec0b909cc21530d4da1 | refs/heads/master | 2022-12-03T17:50:44.415082 | 2020-08-23T14:35:10 | 2020-08-23T14:35:10 | 279,323,126 | 0 | 0 | null | 2020-07-13T14:18:56 | 2020-07-13T14:18:56 | null | UTF-8 | C++ | false | false | 441 | cpp | /*
* @lc app=leetcode.cn id=70 lang=cpp
*
* [70] 爬楼梯
*/
// @lc code=start
class Solution {
public:
int climbStairs(int n) {
if (n <= 2) return n;
vector<int> dp(n + 1);
dp[1] = 1;
dp[2] = 2;
return helper(n, dp);
}
int helper(int n, vector<int>& dp) {
if ... | [
"1801213778@pku.edu.cn"
] | 1801213778@pku.edu.cn |
d50e6e40df1755d82f6d188071694ca4e441605e | d674f1b1b47d4e526e28c23372fda453b86dc456 | /TreeMaker/TreeMaker/plugins/TauIDUpto3New.h | e0fe45ab138b0f7fd87620eed819640cc9060d34 | [] | no_license | amkalsi/TauPOGUpgrade | 5ac29a8f1dd2fcfca922aa3ca88cca95cad5f72a | d348d2325051c783f12c79df721b415f50b89c45 | refs/heads/master | 2021-01-18T17:18:51.785086 | 2015-03-10T08:07:28 | 2015-03-10T08:07:28 | 24,678,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,079 | h | #ifndef __3NEW_DECAYMODE_NEWD_H_
#define __3NEW_DECAYMODE_NEWD_H_
#include <memory>
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Fr... | [
"rimmy330@gmail.com"
] | rimmy330@gmail.com |
42f65fef9d3dde0e606229b6dff38b80d276d894 | 037f3b2c731c308af613a2b573e69d2714863396 | /IE.h | ddb401507e86b2a2bac3684cb306a6c41afa8687 | [] | no_license | LauraDiosan-CS/lab8-11-polimorfism-Neffe00 | 2b757025ad208ba0a808e6f834b6b05275eec8a1 | c5c922fa5f3f299ef5bf39a5830441b1f75ca46d | refs/heads/master | 2022-09-04T09:32:33.141320 | 2020-05-21T08:32:23 | 2020-05-21T08:32:23 | 261,999,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | h | #pragma once
#include<iostream>
using namespace std;
#include<string>
class IE {
public:
virtual IE* clone() = 0;
virtual void copy(IE*) = 0;
virtual bool equals(IE*) = 0;
virtual int compareTo(IE*) = 0;
virtual string toString() = 0;
virtual ~IE() {};
};
| [
"noreply@github.com"
] | LauraDiosan-CS.noreply@github.com |
fcfbc946a9f1740b3cb3dd7359d3a929374f7274 | b8f4a99d52768416f901854116be40a81b8171a7 | /ticpp-oneex/T05/T05-04.cpp | c1d6e4447ee39fef9f42b15a26b135a146094fc1 | [] | no_license | turmary/smalls | eb51ea8667ff20706629ccdb41ecd21958f7d4b0 | cf18974cba64b89cd68d0ae30d56e265beb4f74e | refs/heads/master | 2023-08-05T08:26:00.862780 | 2023-08-03T15:07:22 | 2023-08-03T15:07:22 | 9,112,947 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 669 | cpp | //: T05:T05-04.cpp
//创建两个类,每个类有一个成员数
//函数中将指针指向另一个类的一个对象
#include <iostream>
using namespace std;
class first {
public:
int member(int deep);
};
class second {
public:
int member(int deep);
};
int first::member(int deep) {
if (deep == 0) {
return 0;
}
cout <<"first deep = " <<deep <<endl;
second two;
secon... | [
"turmary@126.com"
] | turmary@126.com |
abf2e2fb220ca032ff6ffafe6484fd92eb2242a8 | adc23a0ae271c14a3e45e06f48b973509ba734f6 | /Animation.h | ab2838fb2d0f85a8c75700c224bbe2cf269f5eac | [] | no_license | Bonefest/EcsGames | 5d7049ddd430d39ddee8d0904e7ba40e532a15b5 | 676e74328788fd45d4385de544f929c7e0435506 | refs/heads/master | 2021-01-16T15:57:04.098807 | 2020-04-20T16:19:41 | 2020-04-20T16:19:41 | 243,175,953 | 0 | 0 | null | 2020-03-25T18:13:05 | 2020-02-26T05:23:58 | C++ | UTF-8 | C++ | false | false | 2,331 | h | #ifndef ANIMATION_H_INCLUDED
#define ANIMATION_H_INCLUDED
#include <string>
#include <vector>
#include <map>
using std::string;
using std::vector;
using std::map;
class EntityAnimation {
public:
EntityAnimation(): _currentFrameIndex(0) { }
EntityAnimation(const vector<string>& frames, float frameDuration): _... | [
"tereshenko1@ukr.net"
] | tereshenko1@ukr.net |
fa41c9d3e418cf4db6fcc7b03ce1447e6b3d4526 | bf77f38c1d42ce97902bd5dc0e498d7d89ab4705 | /codeforces/770/c.cpp | ffa726ef738175b4a7222b12510928284c683dd8 | [] | no_license | byam/algorithms | 6c570c8d00ad5457346d6851f634d962b2ef744e | f3db7230655c945412774505254e2be4cbf23074 | refs/heads/master | 2022-05-12T16:24:39.831337 | 2022-04-08T13:59:07 | 2022-04-08T13:59:07 | 68,830,972 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,822 | cpp | #include <bits/stdc++.h>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
//#include <atcoder/all>
// using namespace atcoder;
using namespace std;
// func
#define rep(i, first, last) for (int i = (first); i < (last); i++)
#define rrep(i, last, first) for (int i = (last); i >= (fi... | [
"bya_ganbaatar@r.recruit.co.jp"
] | bya_ganbaatar@r.recruit.co.jp |
c0228d29e5b347138f32668209be5a03d7faf82e | 2eba3b3b3f979c401de3f45667461c41f9b3537a | /root/meta/genreflex/ROOT-5768/CoolKernel/ValidityKey.h | bf7efefbf16273d2d81e506ed59a32bb8386c12b | [] | no_license | root-project/roottest | a8e36a09f019fa557b4ebe3dd72cf633ca0e4c08 | 134508460915282a5d82d6cbbb6e6afa14653413 | refs/heads/master | 2023-09-04T08:09:33.456746 | 2023-08-28T12:36:17 | 2023-08-29T07:02:27 | 50,793,033 | 41 | 105 | null | 2023-09-06T10:55:45 | 2016-01-31T20:15:51 | C++ | UTF-8 | C++ | false | false | 2,251 | h | // $Id: ValidityKey.h,v 1.11 2009-12-17 18:50:42 avalassi Exp $
#ifndef COOLKERNEL_VALIDITYKEY_H
#define COOLKERNEL_VALIDITYKEY_H
// Include files
#include "CoolKernel/types.h"
namespace cool {
/** @class ValidityKey ValidityKey.h
*
* Type definition ValidityKey for the unit of an interval of validity.
*... | [
"danilo.piparo@cern.ch"
] | danilo.piparo@cern.ch |
e8a5ebcf02533600a2d44b3f7b5512358da721d7 | d48a833da418be56e9878379705332881e2abd02 | /old_practise/codeforces/573-A/573-A-36569965.cpp | 7a757a0c5555087325efc889bb5717590f09928c | [] | no_license | convict-git/sport_coding | 21a5fc9e0348e44eafaefe822cb749dfa4f7e53b | ae288a9930fac74ceb63dc8cc7250c854e364056 | refs/heads/master | 2021-07-05T21:35:14.348029 | 2021-01-01T17:53:34 | 2021-01-01T17:53:34 | 215,317,175 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | #include <bits/stdc++.h>
#define e(x) cout<<x<<endl;
#define ll long long int
using namespace std;
ll gcd(ll a,ll b){ll t,x,y;x=max(a,b);y=min(a,b);while(y!=0){t=x;x=y;y=t%y;}return x;}
int log(ll a, ll b){
ll n = b/gcd(a,b);
while(n%2==0) n/=2;while(n%3==0) n/=3;
return n==1 ? 1:0;
}
int main(int ar... | [
"official.mr.convict@gmail.com"
] | official.mr.convict@gmail.com |
f70836d6cfc0164e0836db9934b53724d1682780 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-iotthingsgraph/include/aws/iotthingsgraph/model/GetSystemTemplateRevisionsRequest.h | 1b24ed8ebfb84af32aae029cf75b059bb98239da | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 6,767 | 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... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
5928ef9a201dc6015d814834244848efaae511b7 | e265be3bc75a6bb490ca25c922d8dfd950854722 | /set.h | 7b25c50ac958d8cfdb3ddc07cb994a328a54a3eb | [] | no_license | Viliars/MyLib | 7b680098f5b5f6c05a9b8520e426ecac152cfacb | c09c3fea4a637b5754addf2cf5bd1f87a92959bf | refs/heads/master | 2021-04-06T20:29:44.176661 | 2018-04-03T17:59:09 | 2018-04-03T17:59:09 | 125,427,296 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 666 | h | #ifndef SET_H_INCLUDED
#define SET_H_INCLUDED
class set {
using u8 = unsigned char;
u8* base;
int max;
public:
//create
set(int num) {
base = new * u8[max=(num+7)/7];
memset(base,0,max);
}
//destroy
~set() { delete[] base; }
//insert
bool insert(unsigned n)
{
if(n>>3>=max) return fa... | [
"redkillerpw@mail.ru"
] | redkillerpw@mail.ru |
49d3d381cbf534d11b783929091fc4877ed6bc87 | 30eb4a4039440d1ebd6de14ef82e458f3b74593a | /Hashing/Easy/Key Pair.cpp | 00d18ff1f69943f48e097c7807ca0305eccff857 | [] | no_license | G-Sudarshan/dsa-using-cpp | 6082ccde01ac80411789f3073e0b5100156729db | cbc91845a6f81f5aa0da6fb9471ebaff5299a449 | refs/heads/main | 2023-06-26T05:31:08.799847 | 2021-07-28T11:32:27 | 2021-07-28T11:32:27 | 385,249,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cpp | /*
platform: GFG
Key Pair
Easy Accuracy: 49.96% Submissions: 22007 Points: 2
Given an array Arr of N positive integers and another number X. Determine whether or not there exist two elements in Arr whose sum is exactly X.
Example 1:
Input:
N = 6, X = 16
Arr[] = {1, 4, 45, 6, 10, 8}
Output: Yes
Explanation: Arr[3] ... | [
"noreply@github.com"
] | G-Sudarshan.noreply@github.com |
5b1df3d29cc502c820a7063719cb51a5c1c76f79 | d02b07cf6951b32b8e52091977fdc436376b261a | /Study/C/MFCImageMap/CShape.cpp | 85aeb490dff686638a9a6ce30d08ba58f024f16e | [] | no_license | uiharuayako/publish | 6e4f9d377236465688fdd4f0d2b63417d64d5039 | 7f96104b50dc3bf57053f069842cebed31c67483 | refs/heads/master | 2021-02-04T18:58:43.900651 | 2020-06-03T11:34:59 | 2020-06-03T11:34:59 | 243,699,705 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include "pch.h"
#include "CShape.h"
#include "CPolyline.h"
CShape::CShape()
{
m_strType = "unknown";
}
CShape::~CShape()
{
}
CShape* CShapeFactory::CreateShape(string& strType)
{
CShape* pShape = nullptr;
if (strType == "single-road") {
pShape = new CSingleRoad;
}
else if (strType == "double-road") {
pShap... | [
"52899485+uiharuayako@users.noreply.github.com"
] | 52899485+uiharuayako@users.noreply.github.com |
bd55f1ef6103857fdddc41fa1943d04bcdaccc5f | e2e556a03becdc64ac55150d2260683f806f3fab | /UVA/accepted/acm524.cpp | d22b4ea4f3455bcfcaf65077d3fd7f9bdb7b0351 | [] | no_license | sumsuddin/ProblemSolving | bdf9bd9639d072c18946e82817593df660031cf2 | 832ca60cfe66fb35562b7877e8b33fa5e8d8b6ea | refs/heads/master | 2020-06-17T10:37:49.326394 | 2016-11-28T20:48:46 | 2016-11-28T20:48:46 | 75,012,514 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include<stdio.h>
#include<vector>
using namespace std;
vector<long>vc[20][90000];
long a[20],pr[50],n,re,len[20],cs=1;
void call(long s,long wrt,long cor,vector<long>v)
{
long i;
if(s==re)
{
if(pr[cor+wrt]==0)
{
vc[n][len[n]++]=v;
}
return;
}
for(i=1;i<=n;i++)
{
if((s&(1<<i))==0... | [
"sumsuddinshojib@gmail.com"
] | sumsuddinshojib@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.