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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
861ebb7f0f44f1ccfedc30deec1be96a4b93c185 | d023d1b9cee9449ee3ee2bbf14045d46cf2cdd1b | /VRoscopy/Source/SomTemplate_VR/VirtualReality/TP_VRGameModeBaseCPP.h | d0c4e586decd35fbb14ff7c2dc6e65e93e9aed2d | [
"MIT"
] | permissive | piandpower/VRoscopy | 94c1115925fa630aaaa41d002c3be0d3d50e7995 | 6f8fc165635c132686840323434ae9349ec44f20 | refs/heads/master | 2020-12-19T23:13:50.003121 | 2020-01-16T14:11:43 | 2020-01-16T14:11:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | // Copyright (c) 2014-2019 Sombusta, All Rights Reserved.
// SomWorks :D // MIT LICENSE // Epic VR Template Convert C++ Open Source Project.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "TP_VRGameModeBaseCPP.generated.h"
UCLASS()
class SOMTEMPLATE_VR_API ATP_VRGameModeBaseCP... | [
"danrol92@gmail.com"
] | danrol92@gmail.com |
5d27949f9af2ad451e56d9c322315f068cac1f09 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Widget_StatusEffectStack_functions.cpp | 0a1980775604546f322c8aee98f1f372aa879b37 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,452 | cpp | // Name: Remnant, Version: 1.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
1d42b36e5e990f8c65fa5d386516a682b991f22d | 476af59c3267d2c865fef50a84a256dcf6dbe191 | /C++/Solution190.cpp | 2bf75cc452d8f2b9f646083daed76f08c8ada823 | [] | no_license | yogurt-shadow/leetcode | fb3c2f47e77c3b40b06fa65cffe63095bd6542e7 | c824fa13237421afa69d05bb48026e7a2e407d02 | refs/heads/master | 2023-08-29T04:09:43.859492 | 2021-11-11T15:16:15 | 2021-11-11T15:16:15 | 325,449,621 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<unordered_map>
using namespace std;
class Solution190 {
public:
uint32_t reverseBits(uint32_t n) {
uint32_t res = 0;
for(int i = 0; i <= 31; i++){
int cur = n & (1 << i) ? 1 : 0;
res = res | (cur << (31 - i));... | [
"1711143@mail.nankai.edu.cn"
] | 1711143@mail.nankai.edu.cn |
935c051786dbf24a774c1043cb79f5f1e84a0f55 | 34a5bfd96b68cf770e06da9fbd866e10c7f80643 | /A1050/main.cpp | 62b8fb8d75cc42934073b2f4517095baec33fc4d | [] | no_license | JohnNiang/algorithm | cec5fa27b733004f05ab1a574dc4d891d8403846 | 3abdedfc8927ede56ffab53e07e7db4210b41458 | refs/heads/master | 2020-05-09T13:19:03.081132 | 2019-09-18T14:27:43 | 2019-09-18T14:27:43 | 181,146,902 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include <iostream>
#include <string.h>
using namespace std;
// A1050: String Substraction
// <https://pintia.cn/problem-sets/994805342720868352/problems/994805429018673152>
bool secondChar[128] = {0};
char first_line[10001] = {0};
char second_line[10001] = {0};
int main() {
// Initialize it
memset(secondC... | [
"johnniang@riseup.net"
] | johnniang@riseup.net |
e87ac55532a636e80937dd8025885376c5ba7b71 | 2fc46bdb45737beb6c6175a5870bde5218504cba | /src/qt/qrcodedialog.cpp | 8ed63cc9e07d0e02789fd55a6d4e052fec09b695 | [
"MIT"
] | permissive | ophelia-project/ophelia | 5d14c95c1ecc5916e25af7ad77705eb7fd51691d | a0ddf76f9efdc96872298b3420c8a6fe3fa6182e | refs/heads/master | 2021-04-25T18:17:19.142709 | 2017-10-25T17:41:21 | 2017-10-25T17:41:21 | 107,882,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,343 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bo... | [
"billings.m@yahoo.com"
] | billings.m@yahoo.com |
a054eb8b6ecd53865a532b7e63bf425bb0fdf8d1 | 8022b3cf506fec0c47fa277e8abff20eb2c1c634 | /bamboo/buffer/bufferif.hpp | 2b65774dec980149a2f603d7a3eb4838be40586f | [
"MIT"
] | permissive | difosschan/bamboo | e879e5b8b716d3fce537c4f16e129f115e0a59f3 | 43fc2bb62cdcc27406e541c891909b6492a8d365 | refs/heads/master | 2020-03-18T22:31:41.860224 | 2018-09-05T14:17:44 | 2018-09-05T14:17:44 | 135,350,389 | 0 | 0 | null | 2018-05-29T20:38:18 | 2018-05-29T20:38:18 | null | UTF-8 | C++ | false | false | 502 | hpp | #pragma once
#include <cstdint>
namespace bamboo {
namespace buffer {
enum class SkipType { WRITE, READ };
class BufferIf {
public:
virtual std::size_t Write(const char* data, std::size_t size) = 0;
virtual std::size_t Read(char* data, std::size_t size, bool skip = true) = 0;
virtual std::size_t Size() = 0;
... | [
"azuresky.xjc@gmail.com"
] | azuresky.xjc@gmail.com |
bc3a0465dd88b8ab8eafc3fbfa73f32db0819df2 | a2c1e5c62611e007982176d2e813d96a351ee54a | /BattleTank 4.22/Source/BattleTank/TankPlayerController.h | 279c592ed56350bd81afcd37480de6405d523e96 | [] | no_license | lauragro/BattleTankLateGame | 6265a80b8964c3d796cc5b19f5e5bf32f20216a9 | 574e927f0d56993127bb7c8253895bbee2d37d46 | refs/heads/master | 2020-06-05T01:35:34.059592 | 2019-06-17T03:17:48 | 2019-06-17T03:17:48 | 192,267,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "TankPlayerController.generated.h"
UCLASS()
class BATTLETANK_API ATankPlayerController : public APlayerController
{
GENERATED_BODY()
protected:... | [
"emailgrondahl@gmail.com"
] | emailgrondahl@gmail.com |
a866578864343bc935036010bd90fd2fc42a0f2f | 355ebd8f9374731003f6ce2ab9902496d010eba7 | /dvd2xbox/d2xacl.cpp | 32db53df3eabafcb46bbd870aef7b7e30238d643 | [] | no_license | Xbox-dev/dvd2xbox | b75ff856c6709a089d4c77a5de424f30e46e690d | 9a64003acdbbe454cec9070e033534386a344e6d | refs/heads/master | 2022-04-05T06:19:04.616053 | 2020-02-23T19:00:43 | 2020-02-23T19:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,969 | cpp | #include "D2Xacl.h"
#include <stdstring.h>
#include <xtl.h>
//#include <helper.h>
#include "D2Xapplyppf3.h"
D2Xacl::D2Xacl()
{
reset();
m_acltype = ACL_UNKNOWN;
}
D2Xacl::~D2Xacl()
{
}
void D2Xacl::reset()
{
memset(m_destination,0,sizeof(m_destination));
m_acltype = ACL_UNKNOWN;
}
void D2Xacl::resetPattern()
... | [
"wiso"
] | wiso |
0d1b8e8fb008204dcffafdbb8592e43131709d82 | a81f9090e5fe4691a4e8309a0a73eb5f189b2bc3 | /CPP/clients/Application_Chat.cpp | 1c8c1924b315b836e29916bd2956d1e646606147 | [] | no_license | HendrickSamuel/RTI-2020-2021 | 48817152f8fbeb6468ead0905119d7cb4360f77c | 833256ce30bf05142de6b673aefca62f09211e7c | refs/heads/master | 2023-02-16T12:25:17.764115 | 2021-01-14T10:01:30 | 2021-01-14T10:01:30 | 296,327,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,828 | cpp | /***********************************************************/
/*Auteurs : HENDRICK Samuel et DELAVAL Kevin */
/*Groupe : 2302 */
/*Labo : R.T.I. */
/*Date de la dernière mise à jour : 11/12/2020 */
/*********... | [
"delaval.k60@gmail.com"
] | delaval.k60@gmail.com |
f89b81f48f77a46a320be9ac739654af1d8b2f60 | 5708d8a41a6e1897f58681c4bfd32e6155512336 | /inc/KawaiiZombie.h | b8226edd19258d6889572f057d6179500a1dc0db | [] | no_license | Azagthoth/KawaiiZombie | cf5de674725006dd27bf81990f67fd65dc801ce6 | cc456108747944bdc1fa2201dbf8d84a4f6577aa | refs/heads/master | 2021-01-02T23:07:41.123048 | 2011-10-18T14:04:02 | 2011-10-18T14:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | h | #ifndef _KAWAIIZOMBIE_H_
#define _KAWAIIZOMBIE_H_
#include <FApp.h>
#include <FBase.h>
#include <FSystem.h>
#include <FUi.h>
/**
* [KawaiiZombie] application must inherit from Application class
* which provides basic features necessary to define an application.
*/
class KawaiiZombie :
public Osp::App::Application... | [
"junior.joanis@gmail.com"
] | junior.joanis@gmail.com |
a8a6c32e961a17936f99885c476e3eebf6e85dd1 | 5ef42aef9c02252463c5748e18e49f8b1a422f95 | /C++/C++ Unit 9_Student/C++ Unit 9_Student/Slides/Lesson 9-2/SampleProjectFile/point.h | cdded9ec88484316dc22ced2414c0f6c776ce111 | [] | no_license | MatthewH-code/projects | 9e75aa47e66e756203cfc0ad73f95354682bbc57 | 07df5b3249f7d699a5ea33b4810e45dff7ca714b | refs/heads/master | 2020-03-13T09:33:22.059135 | 2018-04-25T22:03:47 | 2018-04-25T22:03:47 | 131,066,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | h | #include <iostream>
using namespace std;
struct Point
{
double xCord;
double yCord;
};
| [
"prosauce98@gmail.com"
] | prosauce98@gmail.com |
04b4388b89d9a6d7b56a3d582db4504e8eee8ba2 | 62a9d980bee43da577be4dd831dfc23c3a2e701e | /include/RenderData.h | 1476c59b4d53b6740b4183578556a37571c4ef01 | [] | no_license | Zaiyugi/cackle | fb758d2d21d631f457c7abc05ed966ff26ef6643 | 5531f0dcdf8d23e4bc37ac7c959ed8d40d69d967 | refs/heads/master | 2020-03-13T22:57:40.883011 | 2018-04-27T21:44:01 | 2018-04-27T21:44:01 | 131,326,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,231 | h | #ifndef __RENDERDATA_H__
#define __RENDERDATA_H__
namespace akasha
{
#ifndef __CUDACC__
class float4
{
public:
float4() : x(0.0), y(0.0), z(0.0), w(0.0) {}
float4(float r, float g, float b, float a) : x(r), y(g), z(b), w(a) {}
float4(float r, float g, float b) : x(r), y(g), z(b), w(0.0) {}
float4(f... | [
"zshore@g.clemson.edu"
] | zshore@g.clemson.edu |
b1cbb35e9c2f80e29447ddc27687932efdf36683 | e13e24de0b8db910f4b3eab98b57eed61e651493 | /src/Visualization/Shader/Simple2DShader.cpp | 5e178519d7462f3722aadc6faec16df87ed862e0 | [] | no_license | TUM-CAMP-NARVIS/artekmed_prototyp_01 | 07bd6b126bc1d8f30189a2e88e7d266242e78fb8 | cf085b28f42782506be6c7050f14e4bdde6360b3 | refs/heads/master | 2020-04-13T11:31:23.077627 | 2019-02-06T14:18:23 | 2019-02-06T14:18:23 | 163,176,919 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,080 | cpp | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | [
"ulrich.eck@tum.de"
] | ulrich.eck@tum.de |
8ff9e27f34d89a41242fd6eb5917c5a7cceb3d5d | 69008dcf1432cbf05f82a541174614f8da8fb169 | /src/vector2d.h | de0796e6fcdcb05e1200e1fa513875c33f15cec2 | [] | no_license | v-biryukov/gcmethod_2d | 9aaed8df31a05b39393a5b4feb925638c32e5f3f | 2cf60ba381a38cfdf798e53588a062c1ae405183 | refs/heads/master | 2021-01-10T20:57:03.335536 | 2015-04-23T14:51:19 | 2015-04-23T14:51:19 | 23,495,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,750 | h | #pragma once
#include <math.h>
class tensor2d;
class vector2d
{
public:
double x;
double y;
vector2d() {}
vector2d(double r, double s)
{
x = r;
y = s;
}
vector2d& Set(double r, double s)
{
x = r;
... | [
"biryukov.vova@gmail.com"
] | biryukov.vova@gmail.com |
d46539f411f65a52f370a421bfc5b5511a355f26 | c3bd5fb541ce75c9cfb11de85b66ed9a7cde0dcb | /src/log.h | 54ffc5483de316c086bd82ec27494c2ef09b5c61 | [] | no_license | dwhenry/interpreter-v2 | 6e37d6b3ae03c3594c60d5279f6cd4568ec1f572 | 08441122de14244f1534e1b759386b61304605e6 | refs/heads/master | 2021-07-23T22:03:22.580024 | 2017-10-31T23:25:40 | 2017-10-31T23:25:40 | 109,062,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | #ifndef _LOG_H_
#define _LOG_H_
#include <string>
class Log {
static const int level = 0;
template <typename T>
static void output(T t) {
std::cout << t << std::endl;
}
template <typename T, typename... Args>
static void output(T t, Args... args) {
std::cout << t;
output(args...);
}
public:... | [
"david@decoybecoy.com"
] | david@decoybecoy.com |
8e4144e0a22b37caae373b16060946883ea7f50e | 7711804cab9a9c07876a62488f26ee2621e336af | /UGV_full_sub_explicit/position_suspension.cpp | 514b2c6ceef878d6ec9e33a26d90128dfef6338a | [] | no_license | hajunsong/UGV-full-sub-explicit | 16b16380201dadc3b999ef89687a4b677af180aa | 9bfd3f7e72a9b8b31ca13790a36cff84bf96c2b7 | refs/heads/master | 2020-04-15T20:55:05.810048 | 2019-01-10T08:36:01 | 2019-01-10T08:36:01 | 123,396,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include "UnmannedGroundVehicle.h"
void UnmannedGroundVehicle::position_suspension(suspension *sus) {
mat3331(chs->A0, sus->s01p, sus->s01);
mat3331(sus->A1, sus->s12p, sus->s12);
mat3331(sus->A1, sus->rho1p, sus->rho1);
for (int j = 0; j < 3; j++) {
sus->r1[j] = chs->r0[j] + sus->s01[j];
sus->rw[j] = sus->r1[... | [
"hajunsong90@gmail.com"
] | hajunsong90@gmail.com |
fcdd13b8d99c16c76e28725e81d4851211ac00aa | 950b506e3f8fd978f076a5b9a3a950f6f4d5607b | /fb-hc/2017/round-1/test.cpp | d5c5685aa4e8d9e67a0bae7abff392572f13c36e | [] | no_license | Mityai/contests | 2e130ebb8d4280b82e7e017037fc983063228931 | 5b406b2a94cc487b0c71cb10386d1b89afd1e143 | refs/heads/master | 2021-01-09T06:09:17.441079 | 2019-01-19T12:47:20 | 2019-01-19T12:47:20 | 80,909,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
srand(time(NULL));
int t = 50;
printf("%d\n", t);
for (int i = 0; i < t; ++i) {
int n = 50;
int R = 10;
printf("%d %d\n", n, R);
for (int j = 0; j < n; ++j) {
printf("%d %d\n", rand() % 1000000, rand(... | [
"dimaz1301@gmail.com"
] | dimaz1301@gmail.com |
a622b629ca8907c91e10dd60ad6ca758b326e5cb | 357a90a4524b0b8450a2390577cbb41c20b78154 | /JAMA firmware/include/SistemasdeControle/Testes/controlLibs/PredictiveTest/tst_predictivetesttest.cpp | 5187512db61c1da1108ff3358d820800ec5b1f7c | [
"MIT"
] | permissive | tuliofalmeida/jama | 23b8709c2c92a933f35fae5ba847a9938c676f0f | 6ec30ea23e79e8a95515f4a47519df9e8ac04b31 | refs/heads/main | 2023-08-18T07:07:49.108809 | 2021-09-28T13:26:33 | 2021-09-28T13:26:33 | 363,915,045 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,994 | cpp | #include <QString>
#include <QtTest>
#define testPolynom
#define testModel
#define testControl
#include "../../../headers/primitiveLibs/LinAlg/matrix.h"
#include "../../../headers/primitiveLibs/polynom.h"
#include "../../../headers/modelLibs/transferfunction.h"
#include "../../../headers/modelLibs/arx.h"
#include "../... | [
"tuliofalmeida@hotmail.com"
] | tuliofalmeida@hotmail.com |
cf896f5e340ad8b865bb0473c854ce900119f9b0 | 3f981d86067464fae3945e2c98e2e23912183afb | /Utility/Sandbox/Coordinator.h | 0df726fcfaedf8290cab7057598c9c6abe0f68fc | [] | no_license | keithbugeja/illuminaPRT | 8b1a4664f202611412b8e7c720f1e309f05fe6a2 | faddb7d05a5ea71f8209dfa64d0c82b690347208 | refs/heads/master | 2021-03-27T19:50:03.104771 | 2014-05-20T11:12:49 | 2014-05-20T11:12:49 | 87,206,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,854 | h | //----------------------------------------------------------------------------------------------
// Filename: Coordinator.h
// Author: Keith Bugeja
// Date: 27/07/2012
//----------------------------------------------------------------------------------------------
#pragma once
//--------------------------------... | [
"keithbugeja@users.noreply.github.com"
] | keithbugeja@users.noreply.github.com |
8553e2654630875486a176a36486dc7cbf79c230 | 7228e6f46c1ce82a08c5feb17c76df89d02b0c76 | /10dotImageSize/src/ofApp.cpp | 733b7a9cce1e9c8dfc2969fb8422f985055e9883 | [] | no_license | tado/ccss17 | 4e5aa8666ac13f07399c5b0350841a746d772b5b | 36f12adddab7805d9866c8de9b2713de55fc9113 | refs/heads/master | 2021-04-30T17:40:24.746461 | 2017-01-28T00:41:05 | 2017-01-28T00:41:08 | 80,242,379 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,258 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
ofSetFrameRate(60);
ofSetBackgroundAuto(false); //背景の自動更新をOFF
image.load("source.jpg"); //画像を読み込み
image.resize(ofGetWidth(), ofGetHeight()); //画像を画面の大きさにリサイズ
}
//---------... | [
"tadokoro@gmail.com"
] | tadokoro@gmail.com |
0377f2f79e31221ea2bf55edafaeade7796ec340 | 6b9636f187b0acf35e8bd792205e9f67991235ea | /msvc/modules/photo/opencv_perf_photo_pch.cpp | 56e2d2d9afb4e08e899cf475582d1d244ec185a8 | [
"BSD-3-Clause"
] | permissive | gajgeospatial/opencv-4.1.0 | 485169246012cd1ccac7deab5f5113f6314e4619 | 4b6cf76e12e846bc7fb5dbdce0054faca6963229 | refs/heads/master | 2022-09-14T21:24:20.751932 | 2020-05-21T01:52:33 | 2020-05-21T01:52:33 | 265,724,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56 | cpp | #include "../../../modules/photo/perf/perf_precomp.hpp"
| [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
794f5aa5cde9fa6361c7c92874d4720e9ae376c4 | 1d96dfe63b4a048dffe96ea996d5aba40dcfa004 | /simple-voltage-sensor.ino | 8b945d61c38f60196b65f8e45139dbc7a28c2851 | [] | no_license | tlacloc/simple-voltage-sensor | 0e8f856e7899365917b6c221b2d146ed44529d44 | ebfb6f11fabc4ec54fcbecee10d25aa71c0399ba | refs/heads/master | 2020-05-23T19:38:36.213001 | 2019-05-16T14:46:59 | 2019-05-16T14:46:59 | 186,917,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | ino |
// SIMPLE SETUP FOR A J2 VOLTAGE SENSOR
/*
* WAY TO SETUP THE SENSOR
*
* connect all J2 gnd to arduino gnd
* then connect SIG to analogInput
* described below, and finally connect
* VOL to the voltage you want to measure
*/
// port init
int analogInput = A1; // THIS CAN BE CHANGE TO ANY PORT
// resistors
floa... | [
"eri.cas.cor@gmail.com"
] | eri.cas.cor@gmail.com |
305c2892986d8d16e585244a60a11d30d57f6a05 | 9ba354f2dfb6755864560e258d1a6e9970641b0c | /TMuffin/LineTween/CLineTweenCurve.h | a013ff9385e7c1317b56623b0fa76ed1b2590916 | [
"MIT"
] | permissive | thirty30/Muffin | b808d75b1b5bb78dc463c64ab159d889cc873e79 | 06db87761be740408457728a40d95cdc8ec05108 | refs/heads/master | 2020-08-04T02:02:34.009543 | 2020-04-14T19:56:58 | 2020-04-14T19:56:58 | 211,962,180 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | #pragma once
#include "TMuffinSysInclude.h"
#include "CLineTween.h"
class T_DLL_EXPORT CLineTweenCurve : public CLineTween
{
private:
glm::vec3 m_vCurvePoint1;
glm::vec3 m_vCurvePoint2;
glm::vec3 m_vCurvePoint3;
n32 m_nBezierIndex;
vector<glm::vec3> m_vecBezier;
f32 m_fTotalCurveLength;
f32 m_fNowTime;
f32 m_f... | [
"402050805@qq.com"
] | 402050805@qq.com |
913d00c26e9bdc8461c0810b29ec616596e423b4 | 3c7e3c10f2c3e767227f49473a5d0d804056ce8b | /Camera.h | d7fc86c627f2dd36ddd563d6baba59635da8a129 | [] | no_license | awadhera/Pinball | c0e9a44857c28f3f3988a23aa4c3bf53b3ff9595 | 72c4a722efdcdeedcbbbee8ac4e850ecdcef98d5 | refs/heads/master | 2021-01-25T08:32:36.379392 | 2017-09-13T08:30:35 | 2017-09-13T08:30:35 | 22,001,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | h | /******************************************************************************/
/*!
\file Camera.h
\author Anshuman Wadhera
\par email: a.anshumanwadhera\@digipen.edu
\par a.anshumanwadhera 900995
\par Course: CS1250
\par Project #01
\date 02/08/2012
\brief
Interface for a Game Camera
Copyright (C) 2012 DigiPen Instit... | [
"awadhera@gmail.com"
] | awadhera@gmail.com |
261f48442483f210c10afd37368385f913ae007c | 7358b08911f02ab4e51ef3b2799ea66a820dd57f | /Source/S05_TestingGrounds/S05_TestingGroundsCharacter.cpp | bf34df96a69d958e0a0f6d978fd5e940b12bede8 | [] | no_license | DominicHarvey01/S05_TestingGrounds | 145e76bad225bc1612b107a79755bff04aa7017d | be81f9519142796bd4bf048d226254d3b09a34bd | refs/heads/master | 2020-05-15T14:11:58.754493 | 2019-04-19T21:25:59 | 2019-04-19T21:25:59 | 182,324,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,180 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "S05_TestingGrounds.h"
#include "S05_TestingGroundsCharacter.h"
#include "S05_TestingGroundsProjectile.h"
#include "Animation/AnimInstance.h"
#include "GameFramework/InputSettings.h"
DEFINE_LOG_CATEGORY_STATIC(LogFPChar, Warning, All);
///////////... | [
"dominic.harvey@sita.aero"
] | dominic.harvey@sita.aero |
5fc5bab0b4af822026fc672a36df20870064da02 | 56c11c2c4e0ef9752ccf9118825dec1a58787491 | /9_Classes/1_ RectangleStruct.cpp | 310b3f35605d54930c74dc2b3e3a9cfb6c360497 | [] | no_license | Ocvcorp/PR60Cplusplus | 79a1e2029756975f2ec81e01924609a6b2657aaf | 33aaf6dbe148a12d6d0beb5500a9707096a089f5 | refs/heads/master | 2021-02-07T03:08:23.119140 | 2020-08-14T21:40:34 | 2020-08-14T21:40:34 | 243,975,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | /*
СР6-1
1.
1) Дополнить класс rectangle методами вычисления площади прямоугольника,
полупериметра, длины диагонали;
добавить в этот класс поле angle (угол),
хранящий информацию об угле поворота прямоугольника (в градусах),
и метод rotate(double grad), изменяющий значение угла поворота на число градусов grad.
*/
#i... | [
"ocvcorp123@outlook.com"
] | ocvcorp123@outlook.com |
1df414b9d6c81a61f8a3829d6f09c6887d786a24 | 0c19a953edf3c8f5c81da45b29f03622414d417d | /src/collator.cpp | 8fc53f3761e47d1c4107f8a899893c71f5e7a100 | [
"MIT"
] | permissive | erikjohnston/httpp11 | c4dfa73fdfa312f4f75b2b344c8d11dd921bce4a | b6d70240935ac5acbf92fcf5eba0b3dc0fcf5a52 | refs/heads/master | 2020-05-16T21:20:54.682177 | 2015-02-08T18:08:12 | 2015-02-08T18:08:12 | 28,720,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,886 | cpp | #include "httpp11/collators.hh"
using namespace httpp11;
template<typename T>
static httpp11::DataCallback bind_data_fn(
T* p,
bool(T::* fn)(httpp11::Parser&, BufferView const&)
) {
return std::bind(std::mem_fn(fn), p, std::placeholders::_1, std::placeholders::_2);
}
template<typename T>
static httpp11::... | [
"erikj@jki.re"
] | erikj@jki.re |
526f4a9c9365b8e59cadf024bc3a399b07e7eff1 | 16211833c96a137fecb45272f818c7fd783b08ba | /03operator/03/String.cpp | 8f419ae2d7581e412ed34a451d53e1cf3b44b399 | [] | no_license | wemadefoxwxl/Learncpp | 093d7ccb40e799285fbf08fc4ea533e70ee5bb06 | 9439c6c0d2f53f45e9f61c676774155a46959685 | refs/heads/master | 2020-12-02T18:20:32.917041 | 2017-07-07T08:32:37 | 2017-07-07T08:32:37 | 96,517,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include <cstring>
#include <iostream>
#include "String.h"
using namespace wl;
String::String(const char* str)
{
str_ = allocAndcpy(str);
}
String::String(const String& other)
{
str_ = allocAndcpy(other.str_);
}
String& String::operator=(const String& other)
{
if(&other == this)
return *this;
delete[] str_;
... | [
"wxl2015kaoyan@163.com"
] | wxl2015kaoyan@163.com |
8d87e81c56f9f9718d96b01dc373c4e47c8f2488 | c5ed2d57496cafa1b10925814b4fc670fb9d84af | /Opensankore/build-Sankore_3.1-Unnamed-Release/build/win32/release/moc/moc_UBZoomPalette.cpp | ece062cf371d228e384ce7b6bb3de4ab29025aca | [] | no_license | Educabile/Ardesia | 5f5175fef5d7a15ea79469901bdd4c068cc8fec7 | 9b7b0bfe1c89e89c0ef28f93f6b1e0ac8c348230 | refs/heads/master | 2020-03-31T17:16:50.538146 | 2018-10-10T12:34:43 | 2018-10-10T12:34:43 | 152,416,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,193 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'UBZoomPalette.h'
**
** Created: Fri 4. May 12:30:53 2018
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.0)
**
** WARNING! All changes made in this file will be lost!
*********************... | [
"salvatore.naddeo@€ducabile.it"
] | salvatore.naddeo@€ducabile.it |
d8e7a4ca914e9a2d82bb9e710443d47df644cc31 | f3a81ef39f51f5e3d9a7d8eab68285308f91c372 | /main.cpp | ebfd7c2abd400f1317866e0ec48ead12be9c91dd | [] | no_license | pptaszynski/aisdi-graf | f01e9090e7a5e1a18adefb0cd9925a21ac08dc02 | 786bb80298bb597bc1f3b8520d774cfe8446773e | refs/heads/master | 2021-01-10T19:38:49.572156 | 2008-06-12T03:01:34 | 2008-06-12T03:01:34 | 24,402 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,840 | cpp | #include "graf.h"
using namespace std;
int main(int argc, char* argv[] )
{
if (argc != 2) {
cerr << "Usage: " << endl << argv[0] << " infile" << endl;
return 1;
}
ifstream in_file(argv[0] );
if( !in_file) {
cerr << "Error opening " << argv[1] << endl;
return 1;
}
Graph graph;
cout << "Reading graph f... | [
"pptaszynski@gmail.com"
] | pptaszynski@gmail.com |
b9435d782ada4ef4a40d1775b596d691b341077f | 9a31f1fe1ed364b4d8e1ead1967a2656b43fab8e | /chapter 5/Lab5.3/Lab5.3.13.7.cpp | 6b8633feefddba101feeae0570aecf2bb05d2afe | [] | no_license | PashaNaumencko/CPA_Practise | 3881b0ec4db9d082856811e93ff57d408a115c82 | 59bf847efce12e6dc54017ddaf0be754621883c7 | refs/heads/master | 2021-08-30T23:26:08.734063 | 2017-12-19T20:38:48 | 2017-12-19T20:38:48 | 107,972,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,276 | cpp | #include <iostream>
using namespace std;
class Node
{
public:
Node(int val);
~Node();
int value;
Node* next;
};
Node::Node(int val) : value(val), next(nullptr)
{
}
Node::~Node()
{
}
class List
{
public:
List();
List(List &other);
void push_front(int value);
bool pop_front(int &value);
void push_back(in... | [
"pashanaumencko@gmail.com"
] | pashanaumencko@gmail.com |
1cfee77784b0c3671c41b3227d4c908070ff8503 | bfa94b1e2deed41e36a9ab56446b5d06cc8ee110 | /Trees/Boundary Traversal Of Binary Tree.cpp | f2d74df057e5bf0cb5c64e6da2736d8aa81ef387 | [
"MIT"
] | permissive | shawamar/InterviewBit | 2f067392a4ed1a3c4b588fa1816fc88081481372 | 6a800a35e8f9bc0a66d7f94c1dca25bca3abff6f | refs/heads/master | 2020-12-26T18:19:11.166699 | 2020-02-01T09:52:30 | 2020-02-01T09:52:30 | 237,594,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | /**
Boundary Traversal Of Binary Tree
Given a binary tree. Given a binary tree, return the values of its boundary in anti-clockwise direction starting from the root.
Boundary includes left boundary, leaves, and right boundary in order without duplicate nodes. Left boundary is defined as the
path from the root to the ... | [
"46993795+shawamar@users.noreply.github.com"
] | 46993795+shawamar@users.noreply.github.com |
b4e0606eb2c36e2c1c307e796e044b70ed2a9e04 | 500c9bcb0879fabaa76bb43dd6735abfe01dafdd | /Pulstar4/include/include/UCNSimpleAbsorption.hh | 316a9500b8f4eabb7b8b8c9e03040b896b49213c | [] | no_license | korsch/PulstarEDM | 9531b180503d75ce76263bdacb1a1f63f7a52656 | 7d40e497a2d67cf9f97382378fa1e469d5bf5917 | refs/heads/master | 2020-12-02T21:33:48.936891 | 2013-05-28T14:09:26 | 2013-05-28T14:09:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | hh | ////////////////////////////////////////////////////////////////////////
//
// UCNsimpleabsorption, 7.9.04, peter fierlinger
// 21.4.06, marcin kuzniak
//
////////////////////////////////////////////////////////////////////////
#ifndef UCNSimpleAbsorption_h
#define UCNSimpleAbsorption_h 1
#include "globals.hh"
#... | [
"korsch@pa.uky.edu"
] | korsch@pa.uky.edu |
b907249898f2ac220a6fcd23c3226b49a0056f35 | e2029872bcf1feead431d3eb155ddc91036d9317 | /Migrator/MigWriter.cpp | 6f24872b5b3e41d2d0a8865cf17f7fccc4433059 | [
"Artistic-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | FingerLeakers/emojicode | 604d14a11ca7716b0488bc0d3d5ce3f573bfe2a3 | 1e5b1a6f287998639cd43152f37482125ab3d96a | refs/heads/master | 2020-03-12T06:16:48.757828 | 2018-04-09T13:02:51 | 2018-04-09T13:02:51 | 130,481,785 | 2 | 0 | null | 2018-04-21T14:34:08 | 2018-04-21T14:34:08 | null | UTF-8 | C++ | false | false | 862 | cpp | //
// MigWriter.cpp
// EmojicodeCompiler
//
// Created by Theo Weidmann on 28/08/2017.
// Copyright © 2017 Theo Weidmann. All rights reserved.
//
#include "MigWriter.hpp"
#include "Function.hpp"
namespace EmojicodeCompiler {
void MigWriter::add(Function *function) {
if (function->package() != underscore_ || ... | [
"hi@idmean.xyz"
] | hi@idmean.xyz |
7b8345623822554d4fdca15bdcedcbb61166a2e6 | fa1d2ca55f331fc4daaf88f004fde84351ad1038 | /ostm-synchrobench_time&abort/ostm/ostm-lib/tablsl.h | 9ab1fa3b6e2cd4b96d3190b673acb4209ea73ad1 | [] | no_license | aajayssingh/ostm | a8863224b43e172d4ab2a4c49bee436c0e28d349 | a5c6c99421cc5f0b8596cf7bd8a2e9ab685a9df0 | refs/heads/master | 2021-09-25T05:17:53.797403 | 2018-10-18T12:41:25 | 2018-10-18T12:41:25 | 87,868,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | h | /*
*DESCRIPTION : OSTM hash table
*AUTHOR : AJAY SINGH
*COMPANY : IIT Hyderabad
*/
#ifndef TABLSL_H
#define TABLSL_H
#include <pthread.h>
#include "common.h"
#include <climits>
#include <assert.h>
//#define lock(_mtx_) pthread_mutex_lock(&_mtx_)
//#define unlock(_mtx_) pthread_mutex_unlock(&_... | [
"aajayssingh1@gmail.com"
] | aajayssingh1@gmail.com |
c90e36607555543553c20f846d5b6f9ccdd6becb | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /billing/include/tencentcloud/billing/v20180709/model/DescribeCostSummaryByProductResponse.h | 7bea7d4f5971f378ff2bd9f089ef855a27a4a285 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 4,864 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
036a85a878477ad4239d8eba9c0a4f45719b455b | 513dc7751fd20f98f2f88ab83b4d68c9472e6c1b | /src/Sputnik-tx.cpp | 8d0768d203ee1e6c740524422283809b5e13320f | [
"MIT"
] | permissive | SputnikChain/Sputnik | fbb41689602fe537017b1011231e76f3ab8c7c9b | 4c83758e5e57c973a98d606c01e1cc49df2f8339 | refs/heads/main | 2023-05-15T05:30:47.093620 | 2021-06-02T12:22:20 | 2021-06-02T12:22:20 | 373,155,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,651 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "clientversion.h"
#include "coins.h"
#include "cor... | [
"85232841+SputnikChain@users.noreply.github.com"
] | 85232841+SputnikChain@users.noreply.github.com |
50688e2618e132878ba8f25b1bcb48a1546952b2 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/components/services/storage/public/mojom/origin_context.mojom-shared.cc | 609a134f5e33ff75eb1e335b489203f23a6e8d69 | [
"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 | 1,070 | cc | // components/services/storage/public/mojom/origin_context.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2016 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.
#if defined(_MSC... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
2996e893ae6eb7b5cb6d66ae23c9c4f892480522 | ad63454e59efada2c887faca213c081eb252f88c | /dep/include/ascs/udp/socket.h | 91748ff01f661d09d8d4833b02b400c8ccb12c86 | [] | no_license | yslflsy/asio_websocket | 146b88c18d04ac5418b9b46b6bb75060196dc2cc | 8f1b6d51de71725aac695162b4ef416af0f36165 | refs/heads/master | 2020-04-22T03:33:54.373902 | 2019-04-10T08:21:32 | 2019-04-10T08:21:32 | 170,092,003 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,434 | h | /*
* socket.h
*
* Created on: 2012-3-2
* Author: youngwolf
* email: mail2tao@163.com
* QQ: 676218192
* Community on QQ: 198941541
*
* UDP socket
*/
#ifndef _ASCS_UDP_SOCKET_H_
#define _ASCS_UDP_SOCKET_H_
#include "../socket.h"
#include "../container.h"
namespace ascs { namespace udp {
template <t... | [
"yslflsy@qq.com"
] | yslflsy@qq.com |
1486aec5f14d1eba651b3b82fecbe6438f5b3341 | ff573e54850a993bbdc8bd3f17ed5cc2f4db9429 | /SR.h | b9d50bdc1c1c5503dcf8028294f8ff7fffedaa34 | [] | no_license | libohit/Example-Based-Super-Resolution-Freeman | 142d6b33533cc0e843d85444a5cf0f05fe5c3392 | 12d626516622372cdcbd6c48cd2e537d47be0216 | refs/heads/master | 2021-12-18T17:40:13.374971 | 2016-03-25T23:28:57 | 2016-03-25T23:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,327 | h | #ifndef _SR_
#define _SR_
#include "Utilities.h"
#include "BMP.h"
#include <future>
#include <functional>
#include <mutex>
double Euclidean ( vector<float> &lhs , vector<float> &rhs )
{
double value = 0;
for ( size_t i = 0; i < lhs.size ( ); i++ )
{
value += ( lhs [ i ] - rhs [ i ] )*(... | [
"bl4ck0ver@gmail.com"
] | bl4ck0ver@gmail.com |
9f75f778127be43fd7b2234e43bd4226a14fccd5 | 33394856a8de0e824ec49a3643e387cdbacca0c6 | /SolvedProblems/CodeForces/208A.cpp | 183a0496061b2a62ed2012a69c15291461b6e0b6 | [] | no_license | MoogleAndChocobo/ACM-Learning | caf116d713c24d14af166dac701e7812e495405b | 9a86daf172c3a74aab69f2054f222f51c5939830 | refs/heads/master | 2021-08-10T15:40:43.108255 | 2018-09-14T07:06:04 | 2018-09-14T07:06:04 | 129,596,917 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include<cstdio>
#include<cstring>
int main()
{
char s[205] = {0};
char s1[205] = {0};
scanf("%s", s);
int len = strlen(s);
for(int i = len - 1; i >= 2; i--)
{
if(s[i] == 'B' && s[i-1] == 'U' && s[i-2] == 'W')
{
s[i] == '\0';
s[i-1] == '\0';
s... | [
"1728708466@qq.com"
] | 1728708466@qq.com |
f2cf1028031789415e341ead05c060feea65c597 | f67f0f77370d18400e2ac3a64b5eda85231fbe8b | /of-develop/squareBump/87/hTotal | 4aa90e3e1e6ccb722ce274e2887583f99f461544 | [] | no_license | seiyawati/OpenFOAM | 6c3f0a2691e0eeabee6645d7b71c272c2489de03 | 79d770169962cc641f5b386318f210c61b9a8e25 | refs/heads/master | 2023-06-09T18:28:56.170426 | 2021-06-10T15:03:44 | 2021-06-10T15:03:44 | 354,198,942 | 0 | 0 | null | 2021-06-18T06:13:41 | 2021-04-03T04:30:05 | C++ | UTF-8 | C++ | false | false | 5,797 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"kid960805@gmail.com"
] | kid960805@gmail.com | |
09c7c08727c425173b70ba3f40f2aeb6d085f256 | 44e919a2b5520ca5c85b46183504f9f110d4ca22 | /DataStore.h | df90e518a35cf41fa0cbc2aa9eeabde3c8948c9d | [] | no_license | johnsong60/assign3 | 4fea17565bf6a50979df77c74433967894eb2ac9 | 380c432a0e2c448a07424dd690277fd3d7ffe8d5 | refs/heads/master | 2022-12-19T21:05:37.183322 | 2020-09-25T23:39:05 | 2020-09-25T23:39:05 | 298,700,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | // Author: johnathan song
// GitHub:
// September 26, 2020
// csis 123a
#ifndef ASSIGNMENT_1_DATASTORE_H
#define ASSIGNMENT_1_DATASTORE_H
#include <string>
#include <vector>
using namespace std;
class DataStore {
private:
vector<string> arrayitem1;
vector<int> arrayitem2;
public:
DataStore();
vo... | [
"joe.song60@gmail.com"
] | joe.song60@gmail.com |
de69d5105c183638154f241c9d5956bdca3c416c | 5ff0d31990029dea230559f783b49b4e5bd291fa | /Source/OldMessage.h | df7090ade857e7b371559ebee3f7bee7f3600cd1 | [] | no_license | mattgonzalez/ProductionTest | 92c624549eea36fc7a28e99b41ec66cb102625a4 | 5e85e334bc83d0486a2a22cf67c52ffc23ad0af4 | refs/heads/master | 2020-12-24T05:46:37.996099 | 2016-06-29T02:50:45 | 2016-06-29T02:50:45 | 18,086,915 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | #pragma once
class OldMessage : public Message
{
public:
OldMessage(int intParameter1_, int intParameter2_, int intParameter3_, void* pointerParameter_):
intParameter1(intParameter1_),
intParameter2(intParameter2_),
intParameter3(intParameter3_),
pointerParameter(pointerParameter_)
{
}
int intParameter1;... | [
"matt@echoaudio.com"
] | matt@echoaudio.com |
10f76ab29f509aec684e8bc5e88670981f05f948 | b94ad20e3c3491576ef2e342e8b34032e4e5544a | /formats/xml.h | 74f31aa779606ab455110c623bfb5e7b1d73d733 | [
"MIT"
] | permissive | xrw003/Leanify | e03795e0e392cd8e927d969c7250c7082c2fef9e | 719529a41b7afbc8250aff72aaff1d9c7a6ecec7 | refs/heads/master | 2020-04-04T20:48:17.276042 | 2018-10-14T09:09:13 | 2018-10-14T09:09:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #ifndef FORMATS_XML_H_
#define FORMATS_XML_H_
#include <pugixml/pugixml.hpp>
#include "format.h"
extern bool is_verbose;
class Xml : public Format {
public:
explicit Xml(void* p, size_t s = 0);
bool IsValid() const {
return is_valid_;
}
size_t Leanify(size_t size_leanified = 0) override;
private:
... | [
"jayxon@gmail.com"
] | jayxon@gmail.com |
c4e5bff73ff17650f7020275f4e863cf1f00952b | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /ui/ozone/platform/drm/gpu/drm_overlay_validator_unittest.cc | d7732899dee07a528593f38ce349bd12dba9b855 | [
"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 | 19,474 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/drm/gpu/drm_overlay_validator.h"
#include <drm_fourcc.h>
#include <memory>
#include <utility>
#include "base/files/platform... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
3f867e703209fba320241a89e9178379a2a1eba9 | 843093561dbf75fdf30d44c3d4316a53d2b9182a | /FBUI/Button.h | 316e581c39162de6e333b8e40d4795c2ac3aec2b | [] | no_license | phundio/fastbirdEngine_NewAPI | 20a4390f859ca9909fafeee09030781cbfc0fd29 | be887ada9f0a66732a2afb829e295e1512ca4339 | refs/heads/master | 2021-05-30T13:15:06.338238 | 2015-12-02T12:55:04 | 2015-12-02T12:55:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,767 | h | /*
-----------------------------------------------------------------------------
This source file is part of fastbird engine
For the latest info, see http://www.jungwan.net/
Copyright (c) 2013-2015 Jungwan Byun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | [
"jungwan82@gmail.com"
] | jungwan82@gmail.com |
fe8b66a5389831712e3448f09f94a942232fe5f9 | f44986e40bbb554cc915797bd4ea5fc6e32d1015 | /uniquen.cpp | a8edc8d05d591cb6547b0388d49ada8a524b6aa1 | [] | no_license | sumitkaushik1005/coding | 934640a616e2e1ecca1a23a211bebd1fa2046158 | b057270cfa91634ce828155a15a2b755d32f18ff | refs/heads/master | 2020-09-01T14:23:04.055207 | 2020-04-29T15:12:08 | 2020-04-29T15:12:08 | 218,978,681 | 0 | 0 | null | 2020-04-29T15:12:09 | 2019-11-01T12:11:04 | C++ | UTF-8 | C++ | false | false | 512 | cpp | #include<bits/stdc++.h>
using namespace std;
bool fn(int x){
set<int> st;
while(x!=0){
int digit=x%10;
if(st.find(digit)!=st.end()){
return false;
}
st.insert(digit);
x=x/10;
}
return true;
}
int main(){
int l,r;
cin>>l>>r;
int max_diff=0;
int ans=0;
for(int i=(l+r)/2-1;i<=r;i++){
if(i<l){
... | [
"sumitkaushik1005@gmail.com"
] | sumitkaushik1005@gmail.com |
4b3fdbc05835ff403cd3e2bde03aaeeff326984c | 311525f7de84975434f55c00b545ccf7fe3dcce6 | /online/cf/mailru_r1_18/divide_candy.cpp | d17ece15cf485fd7aa644ce2496bb2bfca75750a | [] | no_license | fishy15/competitive_programming | 60f485bc4022e41efb0b7d2e12d094213d074f07 | d9bca2e6bea704f2bfe5a30e08aa0788be6a8022 | refs/heads/master | 2023-08-16T02:05:08.270992 | 2023-08-06T01:00:21 | 2023-08-06T01:00:21 | 171,861,737 | 29 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include <iostream>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
int n, m; cin >> n >> m;
vector<int> mods(m);
for (ll i = 1; i <= n; i++) {
int val = (i * i) % m;
mods[val]++;
}
ll ans = 0;
for (int i = 0; i <= m; i++) {
ans += mods[i] * ... | [
"squadfatty@gmail.com"
] | squadfatty@gmail.com |
96d19fbb4904713584f7e7b0e1963e193b130a64 | 6853b2de3890dd943117ea579a67763dc57d74b3 | /Mathematics/Fundamentals/army_game.cpp | 448ebb14d0e1ef317b365a025846b46db4f5b969 | [] | no_license | zjzoloo/my-hackerrank-solutions | 2140433b8c28b44c0ade0fc7cc18afcd729cd2d4 | 831e25f9393c179b89b09e9eab7a08c9affe6f84 | refs/heads/master | 2022-12-08T20:15:33.617592 | 2020-09-09T13:06:19 | 2020-09-09T13:06:19 | 272,715,007 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
int gameWithCells(int n, int m) {
return (n+n%2)*(m+m%2)/4;
}
int main()
{
ofstream fout(getenv("OUTPUT_PATH"));
string nm_temp;
getline(cin, nm_temp);
vector<string> nm = split_string(nm_temp);
int n = sto... | [
"zoljargal.coder@gmail.com"
] | zoljargal.coder@gmail.com |
c77dfa01c0ade0e37e261ac370cafc8d09eaa2d6 | 66cb84cae7d3b6d2440d814a006d2821177cc355 | /baseaction.h | 1e7c467c3f141ead68b72108461e69f6cb3ff66f | [] | no_license | predbannikov/EliteBot | 1eb8d61528df53da11488b2bbc7a8ea76bc220ac | 1a20dd3eb1b68fcb0a36d7f2d8302217eac4a2da | refs/heads/master | 2023-03-06T10:48:39.514059 | 2021-02-13T18:39:28 | 2021-02-13T18:39:28 | 245,508,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | h | #ifndef BASEACTION_H
#define BASEACTION_H
#include <QElapsedTimer>
#include "socketio.h"
#include "global.h"
#include "capturewindow.h"
class BaseAction
{
enum TRANSITION {TRANSITION_1, TRANSITION_2 } transition;
SocketIO *m_sock;
public:
BaseAction(CaptureWindow *aCapture, SocketIO *aSock);
vir... | [
"predbannikov.yurii@gmail.com"
] | predbannikov.yurii@gmail.com |
c691add8aab227ac9528792e11b826d460b2b285 | 05e159ab5fe7f6d73a54f5eb223e1aaff7bbf9c5 | /track/Tracker2playersV4.cpp | c9c7524c977bdd78f9d4e7180865237ebbbd0221 | [] | no_license | josepabloapu/renekton | 1cdb98a37691f7356834b0c8a03107a7440723e3 | c8654b0f91566ace32ca5a9155adb7699f09f249 | refs/heads/master | 2021-01-25T05:27:59.300518 | 2013-07-17T16:48:28 | 2013-07-17T16:48:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,032 | cpp |
#include <cv.h>
#include <highgui.h>
IplImage* imgTracking;
int lastX1 = -1;
int lastY1 = -1;
int lastX2 = -1;
int lastY2 = -1;
int posX1;int posY1;
int posX2;int posY2;
//This function threshold the HSV image and create a binary image
IplImage* GetThresholdedImage(IplImage* imgHSV, int H, int S, int V, int H1, i... | [
"nanomata@gmail.com"
] | nanomata@gmail.com |
3cead9032980bcb6a95f3f8dfcaa8d5e13432a1c | b9a077398540310472c8367b11857b5a0cc79478 | /vtk63release/include/vtkjsoncpp/json/value.h | cc5f9415489a81ca0b8bf78f763c038272775f97 | [] | no_license | vamshimuga/Vessel-Segmentation | b000bae98c0a3fefc6efdb5e34ab1ee50d7e3569 | bb5436732a16cd5c212e5140c32166101ed89913 | refs/heads/master | 2016-09-12T23:58:22.052366 | 2016-04-16T10:41:28 | 2016-04-16T10:41:28 | 56,378,445 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 33,760 | h | // Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef CPPTL_JSON_H_INCLUDED
#define CPPTL_JSON_H_INCLUDED
#if !defined(JSON_IS_AMAL... | [
"vamshikrishnamuga@n158-p84.kthopen.kth.se"
] | vamshikrishnamuga@n158-p84.kthopen.kth.se |
5c4f2bc853b90b7750cbeb11e3aa1d57f4daa75b | 4b4b803e04d5b9fec108471bac9b369fe7691249 | /b_star_pre2/源.cpp | 0cea642df5ad55fa3708bae5f7fba136d183f7e5 | [] | no_license | lonelam/LearnC | b96f9efcde52e79185a66e6c035b28817ed8ff75 | 8f845626c84fa7301a22cb994c15c9ae20a26a64 | refs/heads/master | 2021-01-18T23:42:14.724933 | 2016-07-09T09:29:37 | 2016-07-09T09:29:37 | 52,439,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
int main()
{
unsigned char s[100000];
int t,n,cnt =0;
scanf("%d", &t);
for (int i = 0; i < t; i++)
{
cnt++;
cin.get();
cin.getline(s, 100000);
cout << "Case #" << cnt<<":\n";
int len = strlen(s);
scanf("%d", &n... | [
"lai@DESKTOP-HHP58PF.localdomain"
] | lai@DESKTOP-HHP58PF.localdomain |
eb93bb9576c9013debf856e79fb411faff721871 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_1595.cpp | d5197a53ef286ba9d4fb05f5a72fcd0faf7e2616 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | elapsed_msec = tvSubMsec(tv1, tv2);
t2s = tv2.tv_sec;
tmp = localtime(&t2s);
fprintf(stderr, "%d-%02d-%02d %02d:%02d:%02d [%d]: %ld.%03ld secs, %f KB/s\n",
tmp->tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday,
tmp->tm_hour, tmp->tm_mi... | [
"993273596@qq.com"
] | 993273596@qq.com |
d824e79b028375e04b4a66f36beb6de0e7a873ff | ef8d6f81434023b70fa6b4df5a73f0cb333aaf45 | /Framework/Scene/Actor.cpp | 5a565fd29ff6d61385cfaf511c281365030a77e4 | [] | no_license | wls0041/D3D11Game | 312832a5700bd60830ba500baf432721eb3f80ef | 657a4321e406a415ff63eaa2fc0b738a2f9ee04e | refs/heads/master | 2020-06-05T15:16:12.099162 | 2019-09-26T05:33:30 | 2019-09-26T05:33:30 | 192,469,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | cpp | #include "Framework.h"
#include "Actor.h"
#include "Scene.h"
#include "Component/Camera.h"
#include "Component/Renderable.h"
#include "Component/Transform.h"
Actor::Actor(Context * context)
: context(context)
, name(NOT_ASSIGNED_STR)
, is_active(true)
{
actor_id = GUID_Generator::Generate();
}
Actor::~Actor()
{
... | [
"rladudfk456@naver.com"
] | rladudfk456@naver.com |
5694479df6c04409d2447132c7b77f96202feae9 | 6b11deeb26a9b53c5b69fb8dba6cd3390012272d | /dictglobal.cc | bf5ecadf4333c6719c5fad941faa8db78771272e | [
"MIT"
] | permissive | janlanecki/unordered-map-for-c | b2ed72576b76c6baf54c29177d6009a688f12729 | a854aa0691fd308a1365e06f0c879870f77a13ca | refs/heads/master | 2020-04-01T18:50:35.806831 | 2018-10-17T20:19:40 | 2018-10-17T20:19:40 | 153,516,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | cc | #include "dictglobal.h"
#include "dict.h"
unsigned long jnp1::dict_global() {
static unsigned long global_id = jnp1::dict_new();
return global_id;
}
| [
"jan.lanecki@gmail.com"
] | jan.lanecki@gmail.com |
45eea546d7065244b1d2136113d2c8849c02f897 | ed48f4a78ecde8924c83ef6da7ec61eaeb074b3f | /wxTEDMain.h | 2fc19d20f9ca0e54e67fac3fde1c22f9388f37e9 | [] | no_license | davegorst/wxted | 59ebb57cea8bc21b017306894208c67edd36bd90 | ea9bcbc79d508c65879a4c3e30058f0480b84330 | refs/heads/master | 2021-09-04T18:56:56.640524 | 2018-01-21T11:02:19 | 2018-01-21T11:13:30 | 115,321,521 | 0 | 0 | null | 2017-12-25T08:32:14 | 2017-12-25T08:32:14 | null | UTF-8 | C++ | false | false | 10,669 | h | /***************************************************************
* Name: wxTEDMain.h
* Purpose: Defines Application Frame
* Author: Peter Kwan (peterk.vt80@gmail.com)
* Created: 2014-10-30
* Copyright: Peter Kwan (http://www.teastop.co.uk) 2014-2017
* License:
*
* Permission to use, copy, modify, an... | [
"dgorst@gmail.com"
] | dgorst@gmail.com |
ac5fe2ae74e69e307afca5799d3dafe6d267094b | 777713d22368076710db7a008b791625b79bddae | /Kuangbin_part/kuangbin-shortPath-H.cpp | 5302192aa5c8c08fb974d356a3847b5b5a1952ff | [] | no_license | jelech/To_Be_ACMer | bcf468a5245b67f0d3d3604d2e867388fb21a5ee | 626d289ff76b013f2cb84bc2d5290c8d76182214 | refs/heads/master | 2021-04-06T00:28:24.653734 | 2019-10-14T12:00:52 | 2019-10-14T12:00:52 | 124,747,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,638 | cpp | // // #include <bits/stdc++.h>
// #include<iostream>
// #include<cstdio>
// #include<vector>
// #include<cstring>
// #include<assert.h>
// #include<set>
// #include<queue>
// using namespace std;
// #define rep(i,a,n) for (int i = a; i<n; i++)
// #define per(i,a,n) for (int i = n-1; i>=a; i--)
// #define pb push_back
/... | [
"Milking2k@qq.com"
] | Milking2k@qq.com |
a5802dce709d75d550bea16556ff128f3a7e33e3 | ab97a5f455709d228cfa5f1f4f75e29acef64e9d | /proj1/exec.cpp | dab33f56aa3710b97f52345f2628991c42467583 | [] | no_license | bogyshi/cs580 | fe40d20c3ebc00b59237a811aa67254438912d69 | 64487fb3719bb71b44c4fd1c9d7d224e1dc2019d | refs/heads/master | 2021-10-08T15:08:40.003234 | 2018-12-13T23:20:33 | 2018-12-13T23:20:33 | 120,128,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,779 | cpp | #include <fstream>
#include <string>
#include "reading.h"
#include "KDTree.h"
#include <iostream>
#include <cstdlib>
#include <chrono>
#include <ctime>
#include <ratio>
using namespace std;
const bool debug = 0;
uint64_t avgDepth(KDTree * head);
pair<uint64_t, uint64_t> testBalance(KDTree * node);
in... | [
"avanroi1@binghamton.edu"
] | avanroi1@binghamton.edu |
66a4234bf76b2dfcfa373f66cbd94c8da13a993d | 0c83140996eba23d097284b79139d26226b279df | /ThreadDemo/test.h | 42b783992382edafbc72f9e63207e0e2fde7b9da | [] | no_license | Gonghaoran7719/QT_Demo | 9d3c25af4c38d50aaedfac5f8b8a255c0a2b6267 | 95afba6c9bd08f9f20a8ff63a54f85018c97d017 | refs/heads/main | 2023-08-23T09:41:13.749856 | 2021-10-10T03:50:59 | 2021-10-10T03:50:59 | 415,478,322 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #ifndef TEST_H
#define TEST_H
#include <QObject>
class Test : public QObject
{
Q_OBJECT
public:
explicit Test(QObject *parent = nullptr);
signals:
public slots:
};
#endif // TEST_H
| [
"398047688@qq.com"
] | 398047688@qq.com |
df058fff150c244571bd65932259906674fec4a0 | fe0559eaa11c60145797571bf0ab051bed71ae91 | /functions/FunctionHead.hpp | a288767215d10ff93f717730079acd4c38cec056 | [] | no_license | ren19890419/xqilla | 23e64a012f825ff58371907284d15872c9286f7b | ba6e4d58c777bede091856c0edee68c58a5fa364 | refs/heads/master | 2021-05-26T12:09:50.022580 | 2012-04-11T13:41:47 | 2012-04-11T13:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | hpp | /*
* Copyright (c) 2004, 2011,
* Oracle and/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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | [
"yayanyang@gmail.com"
] | yayanyang@gmail.com |
8ad42de239e469795bc3a02ccb909073eba2c75c | 20f10dac21957db1e1db199754edfa5e9558ba85 | /SlowForShooting/Game/Patapata.cpp | 13814689ad827c34b814bd1715a94d961675f3bd | [
"Unlicense"
] | permissive | boxerprogrammer/TestCode | 6f55424adf63722b57588b757ef4e4638a57b563 | c79dbb943a7d9fdb197e27c8b507bdd0f7c93baa | refs/heads/master | 2023-07-20T12:20:23.607362 | 2023-07-19T23:51:36 | 2023-07-19T23:51:36 | 187,131,781 | 2 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,259 | cpp | #include "Patapata.h"
#include"../DrawFunctions.h"
#include"BulletFactory.h"
#include"../SoundManager.h"
#include"Player.h"
#include<DxLib.h>
constexpr int anim_frame_speed = 10;//1枚に必要なフレーム数
constexpr int anim_frame_num = 5;//アニメーション枚数
constexpr int img_width = 29;
constexpr int img_height = 29;
constexpr float img_s... | [
"zan56011@nifty.com"
] | zan56011@nifty.com |
1443aab5fd9f3ac2a94d57d500347a11fae555e1 | 50b9927729a467167ffc6c96be1dcdbbe4f9d983 | /Sources/simdlib/SimdSsse3Laplace.cpp | 648900d85afa27d4b7b10334a221bc8bb5b5736b | [
"Apache-2.0"
] | permissive | aestesis/Csimd | 6e66dd5e560216204610388b0472b3ed14a033e1 | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | refs/heads/master | 2021-07-13T00:16:57.421233 | 2017-10-12T15:18:02 | 2017-10-12T15:18:02 | 106,708,639 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,930 | cpp | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* 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 Software without restriction, including with... | [
"renan@aestesis.org"
] | renan@aestesis.org |
fdfe4e0d67001c4066d4e12e3dacbcec08fddeb5 | 989b34c46586ce2b769afc334e53ad310ccf4ed7 | /Envy/EMemento/EMementoUtility.cpp | ac23b9fdeabbf55bcc78249f2fadc5f9bd02a17a | [
"Unlicense"
] | permissive | DavidCoenFish/ancient-code-1 | ed51ae1cc75cea7ed77db111d46846d36aac7975 | 8d76c810209b737bfc1ce996611807f62122fb41 | refs/heads/master | 2020-03-21T10:18:51.234695 | 2018-06-24T01:24:48 | 2018-06-24T01:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | //file: Envy/EMemento/EMementoUtility.cpp
#include "Envy/EnvyPreCompileHeader.h"
#include "Envy/EMemento/EMementoUtility.h"
#include "Envy/EMemento/EMemento.h"
#include "Envy/EMemento/EMementoDataStore.h"
#include "Envy/EMemento/EMementoImplementation.h"
#include "Envy/ERecursiveDataStore/ERecursiveDataStoreUtility.... | [
"35204591+DavidCoenFish@users.noreply.github.com"
] | 35204591+DavidCoenFish@users.noreply.github.com |
c85a1b28471259d8b8fb06b2e6b21e274be5c84d | d73aafc803a2352acd3400e5ba88ffccafdf5af8 | /week08/8-2.cpp | 71ae5bf43f74ee19d8ce4c4a3b77742fb60226ba | [] | no_license | ken1882/NTOU-2017-Winter | 8bf4589acebc2d30639c5794fef3c3af6a00b50a | 9f7bc8950ba0ee48c839c7f6f27757753804714e | refs/heads/master | 2021-08-29T18:35:41.360396 | 2017-12-14T16:28:23 | 2017-12-14T16:28:23 | 110,421,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | #include <iostream>
#include <iomanip>
#include <cstdio>
using namespace std;
double matrix[3][3];
double inverse[3][3];
double calc_abs(){
double base = matrix[0][0] * matrix[1][1] * matrix[2][2];
base += matrix[1][0] * matrix[2][1] * matrix[0][2];
base += matrix[0][1] * matrix[1][2] * matrix[2][0];
... | [
"qj6w94g0q@gmail.com"
] | qj6w94g0q@gmail.com |
375b54d02ad822aa7a6ec0a4b5e5487b0f430d39 | a36903c64de68aa57b19d81f10ab4872f3552d6e | /experiments/enum_data_manager.cpp | d2091c9aaaf0d1e7082fb97dc73ba44ea38292e8 | [] | no_license | Elbagast/experiments | 22d9b18f79ceb343db9c927e785af5a1e45a0343 | 9d4fba0524d6a4891c00c4b606b0a3d3dd8db8d7 | refs/heads/master | 2021-01-17T07:29:23.995140 | 2018-02-19T18:48:22 | 2018-02-19T18:48:22 | 29,255,390 | 0 | 1 | null | 2015-07-08T15:42:11 | 2015-01-14T17:06:04 | C++ | UTF-8 | C++ | false | false | 593 | cpp | #include "enum_data_manager.h"
#include <iostream>
void enum_data_manager::test()
{
std::cout << "Enum Data Manager" << std::endl << std::endl;
MultiDataManager mdm{};
mdm.set_value<DataEnum::Int>(1, 5);
std::cout << mdm.get_value<DataEnum::Int>(1) << std::endl;
std::cout << mdm.get_value<int>(1)... | [
"elbagast@gmail.com"
] | elbagast@gmail.com |
cf77bdfa0cbaef069c1a69834d16c2ae264e220d | 9c7101f8dc4220e8001dfbf1631150550d0c1531 | /src/timer.cpp | 716514183a4f4a3c1c1b2e6ef6f71789090b8548 | [
"MIT"
] | permissive | conp-solutions/maxpre | dd13b8dc73fb062a08a77e9c651925651e3cb63c | 127fba6665d43580a252c838fb12b88d03685a24 | refs/heads/master | 2020-05-25T07:51:43.653021 | 2017-06-27T06:36:56 | 2017-06-27T06:36:56 | 187,695,334 | 0 | 0 | MIT | 2019-05-20T18:43:37 | 2019-05-20T18:43:37 | null | UTF-8 | C++ | false | false | 687 | cpp | #include <chrono>
#include "timer.hpp"
using namespace std;
namespace maxPreprocessor {
Timer::Timer() {
timing = false;
elapsedTime = chrono::duration<double>(std::chrono::duration_values<double>::zero());
}
void Timer::start() {
if (timing) return;
timing = true;
startTime = chrono::steady_clock::now();
}
v... | [
"tuukka.korhonen@cs.helsinki.fi"
] | tuukka.korhonen@cs.helsinki.fi |
0fe07da3a18baa98cf6f536a9c972949d0ff1bec | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Helmet_CorpTrooper_UDL_T1_classes.hpp | 707c2216c56e89ed17bf52549a7121a887a1fd48 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Helmet_CorpTrooper_UDL_T1_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------------------------... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
ca762af2a584e2312833b82920c1cb8aa3aceb95 | 1351f48d45c2c05e322c29c5f68da0d4590888c1 | /Data_Structure/Borhan/DELETE (2).CPP | aa86cbf3037d147a2c3e2b85f1eeb62c33ce42e7 | [] | no_license | laziestcoder/Problem-Solvings | cd2db049c3f6d1c79dfc9fba9250f4e1d8c7b588 | df487904876c748ad87a72a25d2bcee892a4d443 | refs/heads/master | 2023-08-19T09:55:32.144858 | 2021-10-21T20:32:21 | 2021-10-21T20:32:21 | 114,477,726 | 9 | 2 | null | 2021-06-22T15:46:43 | 2017-12-16T17:18:43 | Python | UTF-8 | C++ | false | false | 954 | cpp | /************************************************************************/
/* Name: Towfiqul Islam */
/* uva id: 448714 */
/* email id: towfiq.106@gmail.com */
/* institute: IIUC */
/* address: Chittagong, Bangladesh */
/* */
/*******************... | [
"towfiq.106@gmail.com"
] | towfiq.106@gmail.com |
6449212be5c6f0f36d8610d299ed41193bf03fb9 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/old_hunk_4325.cpp | 2ce0e1d93dc0e60771787506396dd679cfcb5dee | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | else if (S_ISDIR(st.st_mode))
src = git_link;
else
die("unable to handle file type %d", st.st_mode);
if (rename(src, git_dir))
die_errno("unable to move %s to %s", src, git_dir);
}
fp = fopen(git_link, "w");
if (!fp)
die("Could not create git link %s", git_link);
fprintf(fp, "gitdir: %s\n", git_d... | [
"993273596@qq.com"
] | 993273596@qq.com |
5eb90325c0dbe7f2240c08845955f3264b133df0 | 0f08276e557de8437759659970efc829a9cbc669 | /problems/p967.h | 7d46244d84443f5ceef3d18bf4ab957f3f2580c2 | [] | no_license | petru-d/leetcode-solutions-reboot | 4fb35a58435f18934b9fe7931e01dabcc9d05186 | 680dc63d24df4c0cc58fcad429135e90f7dfe8bd | refs/heads/master | 2023-06-14T21:58:53.553870 | 2021-07-11T20:41:57 | 2021-07-11T20:41:57 | 250,795,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | h | #pragma once
#include <vector>
namespace p967
{
class Solution
{
public:
std::vector<int> numsSameConsecDiff(int N, int K)
{
if (N == 1)
{
return {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
}
if (K == 0)
{
st... | [
"berserk.ro@gmail.com"
] | berserk.ro@gmail.com |
2a1e8d6926e83b65363fd211eb35ea8fdecc6ef9 | 6cb737016e185507db8f767158666283e729b3d0 | /ph1/super_user.cpp | 21801ee2f431224b1fe2880a54f1ca76f31d1c0f | [] | no_license | SajjadPSavoji/AP_Drive | a7ace783c76b0e306c37e95d78749a1dbb63ca5d | cee2414287c3ed438f70e391032a4ea68b8e887c | refs/heads/master | 2022-12-09T13:30:26.884447 | 2020-01-30T08:12:28 | 2020-01-30T08:12:28 | 292,504,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include "super_user.hpp"
using namespace std;
void Super::validate_demote_type(std::string type)
{
if(type != NORMAL && type !=ADMIN)
{
throw Exp("invalid demotion type : "+type);
}
}
| [
"sj.pakdaman@ut.ac.ir"
] | sj.pakdaman@ut.ac.ir |
2211acc9734d7657c76dfa4eb6cd4baefc02b0e0 | 7cdb4de26bd3da5666882e6bf307d7adedde9104 | /4-Excepciones/impresora.h | 84460038a059d21c68020b07b987360575a97848 | [] | no_license | XimenaRubio/TC1030.303 | 363a4dd4d9c6609e282ca6d29ccc26c598e35fea | fb6c807f69ecec221401ec383ae516ef8c4c412c | refs/heads/main | 2023-05-05T00:20:56.959670 | 2021-06-03T16:20:12 | 2021-06-03T16:20:12 | 373,570,555 | 0 | 0 | null | 2021-06-03T16:17:48 | 2021-06-03T16:17:47 | null | UTF-8 | C++ | false | false | 69 | h | #ifndef IMPRESORA_H
#define IMPRESORA_H
#include <string>
#endif | [
"avmejia@tec.mx"
] | avmejia@tec.mx |
349e8ee53fed04c0940d7461e060d88f9e0220b6 | 87f2a68913879b25ac47640e6aacc3b30de04493 | /Matrix.h | db8f2d4999fd5d17ebff46b8382c3ec165f68efb | [] | no_license | JieunSummerPark/PJE1626361_MonsterWorld_03_Practice | d3892ae25b07860fa02ae382129803057d6a8454 | 3a300e195b01f9ec4bf94a77699f3b3c06ac1599 | refs/heads/master | 2020-05-26T06:59:26.875337 | 2019-05-23T01:59:40 | 2019-05-23T01:59:40 | 188,142,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | h | #pragma once
#include <iostream>
#include <iomanip>
using namespace std;
class Matrix {
int rows, cols;
int** mat;
public:
Matrix(int r = 0, int c = 0) : rows(r), cols(c), mat(NULL) {
mat = new int* [rows];
for (int i = 0; i < rows; i++)
mat[i] = new int[cols];
}
~Matrix() {
if (mat != NULL) {
for (in... | [
"parkj2@student.swosu.edu"
] | parkj2@student.swosu.edu |
12707f4f8fdc387ee0c071d088ff1a614ab7c353 | cc8b2f5e878e51915d26642b2598f56f96aacb56 | /Source/VictoryBPLibrary/Private/TKMathFunctionLibrary.cpp | 2dee5a572d45df5f6186d43c66f2e81730b505e8 | [] | no_license | haisongliang/VictoryPlugin | 138ab09f6afc8bff713d7c872e6d079f45235fdd | 4cb1dd7dc095a7ead161537e4b0396d89c076b8b | refs/heads/master | 2021-01-20T13:10:42.116710 | 2017-09-08T02:57:51 | 2017-09-08T02:57:51 | 90,454,668 | 0 | 0 | null | 2017-09-08T02:45:47 | 2017-05-06T10:13:31 | C++ | UTF-8 | C++ | false | false | 12,516 | cpp | /*
By TK-Master
*/
#include "VictoryBPLibraryPrivatePCH.h"
#include "TKMathFunctionLibrary.h"
#include "StaticMeshResources.h"
//UTKMathFunctionLibrary
float UTKMathFunctionLibrary::GetConsoleVariableFloat(FString VariableName)
{
static const auto CVar = IConsoleManager::Get().FindTConsoleVariableD... | [
"rama@evernewjoy.com"
] | rama@evernewjoy.com |
eae89693d8eb76a4a7ac362afc04552a2e5c56e1 | 1702be86fb699140f05db0dc153368c19e59e1cc | /vtkm/worklet/RemoveUnusedPoints.h | fa4b9dbca93dfdd6ae6719110e3a98738a5878aa | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yisyuanliou/vtk-m-v1.5.0 | 7377e5ef962032aec0977a7248605958a562caf0 | 66e5fb7aa78ac327c2154b1a2ace7f88566358f2 | refs/heads/main | 2023-03-28T09:44:08.181818 | 2021-04-02T11:34:55 | 2021-04-02T11:34:55 | 329,729,614 | 0 | 0 | NOASSERTION | 2021-04-02T11:34:55 | 2021-01-14T20:42:29 | C++ | UTF-8 | C++ | false | false | 9,935 | h | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | [
"yisyuan@liuyixuandeMacBook-Pro.local"
] | yisyuan@liuyixuandeMacBook-Pro.local |
3cb4f5875f47f9ad7cda2f0bba2aa71e23478e35 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /interFoam/laminar/altered/sample/7.875/p | 6f71935a94dbbf207a1cbfb5022464f0eb4941a3 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,899 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
b6953a441d14615c4b3e1bd9eb5e629669cf4bb1 | ad87c16097ca607ffab37f80f3a7aa58903412e9 | /source/iosuhax.cpp | 5fb400319ddf6881a203789ab9c14653a2589b3c | [
"MIT"
] | permissive | stringboi/dumpling | a62032ed30d1b8913658fc7851f5d958c0aef91b | c85d6a71e1a2caf6ac0c19873d024c66fd3749f1 | refs/heads/master | 2022-12-12T06:56:01.670869 | 2020-09-03T11:07:15 | 2020-09-03T11:08:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | #include "iosuhax.h"
int fsaHandle = -1;
int iosuhaxHandle = -1;
int mcpHookHandle = -1;
void haxchiCallback(IOSError err, void* dummy) {
}
bool openMCPHook() {
// Take over mcp thread
mcpHookHandle = MCP_Open();
if (mcpHookHandle < 0) return false;
IOSError err = IOS_IoctlAsync(mcpHookHandle, 0x62,... | [
"26669564+Crementif@users.noreply.github.com"
] | 26669564+Crementif@users.noreply.github.com |
755e3f8eb82c55300073c236551fd33be2605588 | af5991f5b6e9c5b0453d7a89271f3100b03fe462 | /catkin_ws/build/qt_app/include/qt_app/moc_main_window.cxx | 918a3d2334c00dfb6c6252a1925e4f2261802d33 | [
"Apache-2.0"
] | permissive | andrehschmid/lucas-amparo-challenge | eac8ca7b4f0b0dcfc5fc7e60e45f51dbb1ae4a6e | 21fa5792ecdc9952ae64081bf55d02bef68626d6 | refs/heads/master | 2020-03-28T10:50:14.297783 | 2018-09-14T12:53:08 | 2018-09-14T12:53:08 | 148,150,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,291 | cxx | /****************************************************************************
** Meta object code from reading C++ file 'main_window.hpp'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"lucasamparo.ti@gmail.com"
] | lucasamparo.ti@gmail.com |
d4d0bc1867b0785ca39aac75c94e80ed73831e0d | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc085/B/4503525.cpp | c8368b6830f7a4e46e8f4a8d550e4886d3eab0cb | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n; cin >> n;
vector<int> v;
for (int i = 0; i < n; i++) {
int d; cin >> d;
v.push_back(d);
}
sort(v.begin(), v.end(), greater<int>());
int ret = 1;
for (int i = 1; i < n; i++) ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
89ee2759ef79600a40abc7b4da6c85eb3b7ca6d7 | ea89996bb0368e8f496dcfbed00ffef7d62ac0e6 | /misc/aooswd/A7/posNode.h | 71db19b15a781606ced70c3fb98c67ee4014d50e | [] | no_license | dstrube1/playground | 8c63e42c7223da12a35000ab0aaa80333bec09ce | 62b42eff564214729cfacd14c79916766e58237a | refs/heads/main | 2023-03-05T16:06:22.524699 | 2023-03-04T00:50:31 | 2023-03-04T00:50:31 | 95,035,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | //posNode.h - a unary operator node representing the positifying of a node value
/****************
David Strube
CSIS4650-01
Spring 2003
Assignment 7 - Visitor Pattern
***************/
#ifndef POSNODE_H
#define POSNODE_H
#include "unaNode.h"
class posNode:public unaNode{
public:
posNode()... | [
"dstrube3@gatech.edu"
] | dstrube3@gatech.edu |
02083d134af0254cb817c179b47072174871ab4d | 79a634d9357a750cbd0efea04d932938e1b7f632 | /Contest/ACM/unknown/sometime/MULTIPLE/D/Letter.cpp | 7800e505edbc05b4069bcb8f748c629880e28fff | [] | no_license | hphp/Algorithm | 5f42fe188422427a7762dbbe7af539b89fa796ed | ccbb368a37eed1b0cb37356026b299380f9c008b | refs/heads/master | 2016-09-06T02:24:43.141927 | 2014-05-27T00:49:44 | 2014-05-27T00:49:44 | 14,009,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,512 | cpp | #include <stdio.h>
#include <string.h>
struct abc{
char c[60], l;
}a[20];
int l[50000], w, r;
char s[50000][610], str[610];
int dis[20][20];
int u[50000];
int main(){
int n, i, j, k, t, x, y, ri = 1;
// freopen("123.in", "r", stdin);
// freopen("123.out", "w", stdout);
while (scanf("%d", ... | [
"hphpcarrot@gmail.com"
] | hphpcarrot@gmail.com |
170a9ac83d087fb2ab977c38abb6f8949d29fb1e | 5ed6a17f8a5b5d3fd915061c3b0b0bc833e8b80d | /5.cpp | 3da2d904d3bcb2729e7a351ce546c75539a07435 | [] | no_license | young1928/Cpp | 9b084b498a56586804f2f5bda055df2e43ff5e6f | 4a80a11976392f3cb936353a784d916966432f99 | refs/heads/master | 2023-04-12T18:23:22.115514 | 2021-04-19T14:34:41 | 2021-04-19T14:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | #include <iostream>
using namespace std;
int main()
{
int ans = 0;
int n;
cin>>n;
int a,b,c;
cin>>a>>b>>c;
for(int i = 1; i <= n; i++)
{
if(i%a && i%b && i%c)
ans++;
}
cout<<ans<<endl;
return 0;
}
| [
"2664484273@qq.com"
] | 2664484273@qq.com |
3d9253c78ec02408515b51028d8aa7c0abf87366 | 8ecc287ed3061dffbf8cc14666031ebf2bd83744 | /TeamNP2/SyntacticalAnalyzer.cpp | cb81883612c05e8cd0eff66af25c8a3c46683fe2 | [] | no_license | jeffbahns/syntactical-analyzer | 4e1768e23334dceb6b20e150e8df0488979df364 | cb632308daf59f8e10483c26e6f8973c5dc60f5e | refs/heads/master | 2021-01-19T09:25:07.661039 | 2017-04-24T22:22:06 | 2017-04-24T22:22:06 | 87,758,360 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,766 | cpp | /********************************************************************************/
/* Project: 2, Syntactical Analyzer */
/* Author: Jeff Bahns, Erich Bucher, Jordan Bergero */
/* Date: 4/16/2017 */
/* Description: A syntactical analyzer built on top of Project 1. When a new */
/* Syn... | [
"bergero@sonoma.edu"
] | bergero@sonoma.edu |
fd3a066b748373732248343322d0f6e7ef05bffc | 05c0cc928e7979f71c78deecaa58b7fb7b79e63a | /momento.h | 8aca098797a3f1815f97ea29672a6d9f51f009dc | [] | no_license | Brand-Temp/OO-Assignment-3 | b561cc9aace0d0b65fea5eb929673092b932b3a5 | d16adf22d673dbe16638e4a6fc9c665fa82b32b3 | refs/heads/master | 2020-03-18T11:07:56.704410 | 2018-06-08T06:06:29 | 2018-06-08T06:06:29 | 134,652,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h | #ifndef MOMENTO_H
#define MOMENTO_H
#include "ball.h"
#include "table.h"
class PoolGameMomento {
protected:
std::vector<Ball*> m_balls; //! A vector of Ball pointers, in this case a previous configuration of the pooltable class's balls
Table* m_table; //! A table pointer, in this case a previous configuration ... | [
"brandon.temple.97@gmail.com"
] | brandon.temple.97@gmail.com |
407db09c62a213e2f32bcdf6d9cb76b4cb8f0d1b | 8a78e21fe422d4b56097b8277e8cad2e2bfaf2a2 | /Easy/278_FirstBadVersion.cpp | 8f57acd01a0353165079ea338e944eb0ea0f66ec | [] | no_license | dianapao/LeetCodeProblems | 1e050673d7b0b246d831b7af7877fd96fd210c61 | 13592d9d36f92c31730d302a3879426befd31207 | refs/heads/main | 2023-07-02T11:41:04.067925 | 2021-08-12T05:32:48 | 2021-08-12T05:32:48 | 334,864,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | cpp | /*You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version
of your product fails the quality check. Since each version is developed based on the previous version,
all the versions after a bad version are also bad.
Suppose you have n versions [1, 2, ..., n] and... | [
"dianapaodcs@gmail.com"
] | dianapaodcs@gmail.com |
e7f3a7c12448beeb8a2db5f68341db2db15a4c71 | c3c0a5f90d14c956dd8ce4aa77d2b9a681e5c184 | /Accum.h | a7f7a751b6783b1a5b4a08e45bbcb0f415c414ce | [] | no_license | zaratejavier/Module8 | 2b0e90cf1afdf2585a28c325eebcac687e9ffe9a | 380499971916877071ac2ef8dfaf633c3d9ef81f | refs/heads/master | 2021-08-22T20:29:38.267449 | 2017-12-01T06:29:06 | 2017-12-01T06:29:06 | 109,915,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | //
// Created by Javier Zarate on 11/21/17.
//
#ifndef MODULE8_ACCUM_H
#include <iostream>
#include "person.h"
#define MODULE8_ACCUM_H
using namespace std;
template <class T>
class Accum
{
private:
T total;
public:
Accum(T start): total(start){};
T operator += (const T& t)
{
return total =... | [
"javierzaratemata@mail.weber.edu"
] | javierzaratemata@mail.weber.edu |
572ffb2b2e556e6f1f1fe90e0a50db9680cba19b | 51abbcc45bc86fd97f6a5f9082d1405bad3edaa0 | /gph/gph_math.h | bcc006e2de64822d277c9427b00b38d8917048a3 | [
"Apache-2.0"
] | permissive | asm128/graphics | 7f19b214565fde36b9a2bf278f1104752ea97f66 | 439edc70b08cfd1c5e4c3e88ed50403ca8f9d7da | refs/heads/master | 2020-12-04T19:44:03.794904 | 2020-01-07T13:42:06 | 2020-01-07T13:42:06 | 231,884,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,223 | h | #include <cstdint>
#include <algorithm>
#ifndef GPH_MATH_H_2983749283
#define GPH_MATH_H_2983749283
namespace gph
{
template<typename _tValue>
struct SMinMax {
_tValue Min;
_tValue Max;
inline bool operator==(const SMinMax & other) const noexcept { return Min == other.Min && Max == other... | [
"pabloarielz@outlook.com"
] | pabloarielz@outlook.com |
32dcac996b719a502465909322572bbb8b0e3073 | d4eafbd4ab30aa24706e9fe2f9f2309279fb7ed5 | /CodCad/Estruturas de Dados/Pilha/Expressoes_62.cpp | 4feff9bf7600fdb66dc1de355b79a9ea6780b9ac | [] | no_license | VitorCosta8102/Competitive-programming | f3867b38eee6e1c8aaeb6bdb3eacf79e41d6ce4d | b3c7432846c9219746edc1950f75a91b3b6c880c | refs/heads/master | 2020-04-23T11:39:27.585074 | 2019-02-17T16:53:29 | 2019-02-17T16:53:29 | 171,143,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | //------------------------------------
// CodCad - Estruturas de Dados: Stack
// Problema 62: Expressões
//--------------------------------------
#include<iostream>
#include<stack>
using namespace std;
int main() {
int t;
cin>>t;
for(int i=0;i<t;i++) {
stack<char> pilha;
string expressao;
bool valida... | [
"vitor.formando.eletrica@gmail.com"
] | vitor.formando.eletrica@gmail.com |
dee0f5ee235e91ce3430d24e4b43d2f55660ff60 | cc7e39a42ec967392da7de61ed171874e007797e | /src/retainer.cpp | 9b0e040e9fde9b0725946bf897edb63cd666b83a | [] | no_license | Sephiroth1118/homework | e9c2e08a996cbbcca8322e0b53666c1eed718ba0 | 19fb0fab6625fca28a8b6b5dd12a18db944f1940 | refs/heads/master | 2020-05-25T13:53:00.853208 | 2019-05-26T12:41:39 | 2019-05-26T12:41:39 | 187,804,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | //标准头文件
#include<ros/ros.h>
#include<iostream>
#include<std_msgs/String.h>
#include<string.h>
//navigation中的位姿信息坐标
#include<geometry_msgs/Twist.h>
using namespace std;
//定义全局变量
geometry_msgs::Twist twist;
//订阅器和发布器
ros::Subscriber sub_twist;
ros::Publisher pub_twist;
void init()
{
//线速度
twist.linear.x = 0;... | [
"861275501@qq.com"
] | 861275501@qq.com |
3d15611848eb917b7aec30989a0c8ab13d79a349 | 6b09fdc05a6c6c756d6525b5bfe12aa2110f2922 | /STUB/DBLAYER/DB/newpacket.cpp | c28113421749c59b1cfd3f6b98edff55c36d1bf3 | [] | no_license | roysuman/DatabaseStub | fcf3d4b405f272de521cd016946f133ca3817dfe | c7e07ffe2bdb2fd001d6498398a8918798996030 | refs/heads/master | 2021-01-18T23:00:38.368321 | 2016-05-12T05:38:31 | 2016-05-12T05:38:31 | 25,222,657 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,294 | cpp | /*
* =====================================================================================
*
* Filename: newpacket.cpp
*
* Description: all the codes those are db related on creating new packet instance by user thnat will act as an original packets.
*
* Version: 1.0
* Created: Monday ... | [
"email.suman.roy@gmail.com"
] | email.suman.roy@gmail.com |
7b3d8574b06ecdd84aef539a825459044b083e0e | 75253c0fabf20bdeb6000f304e3420b59290dfd4 | /Basic-Programming/Pattern/Star/diamond star.cpp | 6c2f6fdcb2477f1ec9e7775edf53df6df8416cc0 | [
"MIT"
] | permissive | arifparvez14/Basic-and-competetive-programming | 513099ad4fcb21e93f6a5b408292c929b37fc740 | 835a913bcdbc28773617bf06014afb22ea00449d | refs/heads/master | 2023-07-07T12:13:26.749340 | 2023-06-25T14:40:02 | 2023-06-25T14:40:02 | 231,807,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int i,j,N,columns,spaces;
cin>>N;
columns=1;
spaces=N-1;
for(i=1;i<N*2;i++)
{
for(j=1;j<=spaces;j++)
cout<<" ";
for(j=1;j<columns*2;j++)
cout<<"*";
if(i<N)
{
columns++;... | [
"arif.mbstu22@gmail.com"
] | arif.mbstu22@gmail.com |
4af80f1c391c5176d6dc1690d1ee374a170b6bde | f875f2ff25629091b2f234140891f407ef537608 | /aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/CreateBotLocaleRequest.h | 53bbe91da8566ef014e87bdcbb95e4a3c3ca8ed8 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Adam9911/aws-sdk-cpp | 39f0c057c25053929aec41ef8de81a9664c1a616 | da78cc54da7de3894af2742316cec2814832b3c1 | refs/heads/main | 2023-06-03T10:25:53.887456 | 2021-05-15T14:49:26 | 2021-05-15T14:49:26 | 367,572,100 | 0 | 0 | Apache-2.0 | 2021-05-15T07:52:14 | 2021-05-15T07:52:13 | null | UTF-8 | C++ | false | false | 16,333 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
#include <aws/lexv2-models/LexModelsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/lexv2-models/model/VoiceS... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8c389cd77b2450e6a0296dc240ee2e259048ab55 | ef20d28313ace6912d27e596aab8364f834409f4 | /main.cpp | fc89b6ea6f965320d4f9be984404815c8f9f6e6f | [] | no_license | anishdhakal/exception_handle | b11c0dd5e5abfb0a6f8b3c6709f8dbbb1a085bef | dc1b6351083abd11e254e34cf9cf759a0b81bcf4 | refs/heads/master | 2020-12-11T09:05:21.864328 | 2015-06-07T11:22:20 | 2015-06-07T11:22:20 | 37,013,824 | 0 | 0 | null | 2015-06-07T11:17:01 | 2015-06-07T11:17:00 | null | UTF-8 | C++ | false | false | 1,062 | cpp | /*
Author : Anish Dhakal
Date : 7th June 2015
Program : Exceptional Handling using Class My Time
*/
#include <iostream>
#include "MyTime.h"
#include "ValueOutOfRangeException.h"
using namespace std;
int main()
{
int hour,minute,second;
cout << "Enter the time [HH:MM:SS]" << endl;
while (c... | [
"anish.dhakal@deerwalk.edu.np"
] | anish.dhakal@deerwalk.edu.np |
31f4cdc8de1ef94aa9015027fb4e58cd34c16bf7 | c5f1a804dbd1f5de123469dd5432633633e80597 | /GAMELIB/Graphics/OpenGLDisplay.h | ff6e46e78511755521bd7f2ef99b34fc5b55a3fb | [] | no_license | brosell/HTS-Games | 2d03a8988adc5c613dba1e249a7e0b409593ff11 | 3c7c1cc2ec4fe0ba7865f6eec5cec905faab5a3f | refs/heads/master | 2021-01-22T21:23:38.681074 | 2020-01-12T15:41:47 | 2020-01-12T15:41:47 | 85,423,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,488 | h | #ifndef OpenGLDisplay_h
#define OpenGLDisplay_h
#include "Display.h"
#include "Misc/GameMath.h"
#include "SDL.h"
#include "ObjectCache.h"
#include <windows.h>
#include <GL/gl.h> // Header File For The OpenGL32 Library
#include <GL/glu.h> // Header File For The GLu32 Library
#include <list>
using namespace std;
e... | [
"bert@rosell.net"
] | bert@rosell.net |
21981a762c76e5add486f94ff85ce572260532fc | be03dc43006806fae89db73abbd6126d77687c4f | /src/init.cpp | 41d53a7a2cbf718724228323ce152e050b160c9c | [
"MIT"
] | permissive | GalacticCredit/galacticcredit | 7b55d63888006a6c7d65cc9bff728890f1cbaa58 | 6f88785eabdd4cffa79530c2a385b6afa0efea8f | refs/heads/master | 2021-07-15T08:54:16.965194 | 2017-10-21T19:51:08 | 2017-10-21T19:51:08 | 107,764,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,598 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#... | [
"galacticcredit@gmail.com"
] | galacticcredit@gmail.com |
51b8d9a82e03203c25b7136b5e7cb0c10f981d02 | 31036c028e7f022a889568134ca4116f2dbb4982 | /Maneken_nucleo_rtos F446/my_motor.h | 7bdb74fa8c8bb2f7db303d66cfa6d80f841dd64e | [] | no_license | AntonKlekovkin/Maneken | 58ab5e8faf05916552a482a6f3ea623cbebc1e0c | 8288f9076f56d719ff3099114d5e46f506540034 | refs/heads/master | 2021-05-25T10:51:41.794224 | 2018-05-30T12:32:50 | 2018-05-30T12:32:50 | 127,151,760 | 0 | 1 | null | 2020-03-06T23:37:20 | 2018-03-28T14:21:43 | C | UTF-8 | C++ | false | false | 1,872 | h | #include "mbed.h"
class My_motor
{
protected:
public:
DigitalOut direct1;
DigitalOut direct2;
PwmOut speed;
My_pid Pid;
char flag_start;
char flag_rotate;
char flag_dir;
float omega;
int pulse_enc;
char direction;
... | [
"klanvlad@mail.ru"
] | klanvlad@mail.ru |
4aa034846f8bc05ac201aa4aee576f3533652e47 | 17c7baa7c06a0945c0a971bc052de7aa0c474be5 | /cpp/mats.hpp | 240735aa831296cd7938e0576964d986f17d2f5e | [
"MIT"
] | permissive | fizzoo/kod | 70a7ec72f483004a05dc35ed898879bef999a5e8 | 79a4b415729e7cadbe9466fbdea9fe73a44485d8 | refs/heads/master | 2021-06-16T19:52:49.237769 | 2019-08-11T20:29:55 | 2019-08-11T20:29:55 | 70,597,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | hpp | #include <iostream>
#include <vector>
using namespace std;
typedef vector<vector<int>> Mat;
Mat init_mat(int ny, int nx, int val){
return vector<vector<int>>(ny, vector<int>(nx, val));
}
Mat init_like(const Mat &m, int val){
auto ny = m.size();
auto nx = m[0].size();
return init_mat(ny, nx, val);
}
void pri... | [
"vixirfizz@gmail.com"
] | vixirfizz@gmail.com |
b8b82f33a525f1fa34b63a2235593d3fe604ad8f | bab438dc2795d9defadccc5d9eda39771611cbed | /Lab7/polygon.h | 963d3f6078743d022ec0c7bfe96e6a68477db5dc | [] | no_license | glchernenko1/Lab7 | 85d14a5d9d9e828b2c91ed2282d87d28f4ef8a84 | 0d04e518150e0fe260bbec91728d82bb237e5727 | refs/heads/master | 2020-03-30T08:19:14.947409 | 2018-09-30T20:51:25 | 2018-09-30T20:51:25 | 151,005,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,552 | h | #pragma once
#include <math.h>
class polygon;
const double precision = 1E-10;
class point
{
private:
double x, y;
public:
point();
point(double x, double y);
point(const point &p);
~point();
double get_x() const;
double get_y() const;
double distance_to(const point &target) const;
friend class polygon;
fr... | [
"ogrttt@gmail.com"
] | ogrttt@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.