blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3c76507cf55d6fa7a40b5e08003130172dd67238 | 6d34fa23c708320b2e42d120d107f187106302e3 | /orca/gporca/libgpopt/include/gpopt/operators/CScalarBoolOp.h | 76413a45514a646e507642fac628050c3408794b | [
"Apache-2.0"
] | permissive | joe2hpimn/dg16.oss | a38ca233ba5c9f803f9caa99016a4c7560da9f08 | 2c4275c832b3e4b715b7475726db6757b127030c | refs/heads/master | 2021-08-23T19:11:49.831210 | 2017-12-06T05:23:22 | 2017-12-06T05:23:22 | 113,322,478 | 2 | 1 | null | 2017-12-06T13:50:44 | 2017-12-06T13:50:44 | null | UTF-8 | C++ | false | false | 2,895 | h | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CScalarBoolOp.h
//
// @doc:
// Base class for all scalar boolean operators
//
// @owner:
//
//
// @test:
//
//
//---------------------------------------------------... | [
"fengttt@gmail.com"
] | fengttt@gmail.com |
b5f00ea95c228343214ca683b6ed89e91929b9fa | 5c6762f71e21c428ba1eae345fb1394577e78ef3 | /arduino/ros_sensor/ros_sensor.ino | 628db5ab2ece4e10c671835f9a657e70984341b9 | [] | no_license | meitiever/movebase | 8cb72662fe257f4fc73a35681110ca2bf6cb6aee | a671f099823fc1f204403d258825abfa251bb913 | refs/heads/master | 2021-01-22T03:40:13.198102 | 2017-04-20T02:54:33 | 2017-04-20T02:54:33 | 81,450,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,459 | ino | #include <Wire.h>
#include <FreeSixIMU.h>
#include <FIMU_ADXL345.h>
#include <FIMU_ITG3200.h>
#include <HMC5883L.h>
#include <ros.h>
#include <std_msgs/String.h>
//#include <nav_msgs/Odometry.h>
//#include <geometry_msgs/TwistStamped.h>
//#include <sensor_msgs/Imu.h>
//#include "ros/time.h"
/**************************... | [
"meitiever@gmail.com"
] | meitiever@gmail.com |
1ecf2420d218196ed2cb69837ff87f416e3a270d | 99b4e49d44b7c978e7802c655846e9d1d52bf474 | /OOP Projekat/FinalniProjekat/questioncb.h | b32d63eb839d03a309ee78e844cdad7b485e1fd1 | [] | no_license | Mcraellhs/QT-c-Quiz-with-DB | 3af5b49bf4530b642693aa9cfe5595cbde5a20ba | 06b7a9419ca0f01b847b21deaec0d7f447c17890 | refs/heads/master | 2022-11-16T07:08:07.839896 | 2020-07-10T10:15:58 | 2020-07-10T10:15:58 | 278,603,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #ifndef QUESTIONCB_H
#define QUESTIONCB_H
#include <QDialog>
#include <QtSql>
#include <QtSql/QSqlDatabase>
#include <QDebug>
namespace Ui {
class questioncb;
}
class questioncb : public QDialog
{
Q_OBJECT
public:
explicit questioncb(QWidget *parent = nullptr);
~questioncb();
questioncb(QString strc... | [
"sakicahmedyahoo.com"
] | sakicahmedyahoo.com |
007457c6180a43de36b1c5a0832c4f8cb1f0aada | 4cda6b04304f3f008fa87cdae5abb6edfd1d8d27 | /guitartunermodule/guitartuner.cpp | 49e155c1d1e6168d4fd42ca2c33b5d0f1b8a7e29 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | NicholasShatokhin/Qt4-GuitarTuner | 9432b54cd22f9765b44985a88c486b7cc55be6b7 | bb15b0b2a8c01b4070bb0815e252cef63024396f | refs/heads/master | 2021-01-22T23:48:07.999188 | 2013-04-07T18:54:04 | 2013-04-07T18:54:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,019 | cpp | /**
* Copyright (c) 2011-2012 Nokia Corporation.
*/
#include "guitartuner.h"
#include <QtCore/QDebug>
#include <QtCore/qmath.h>
#include <QtMultimediaKit/QAudioDeviceInfo>
#include <QtMultimediaKit/QAudioInput>
#include <QtMultimediaKit/QAudioOutput>
#include "constants.h"
#include "voiceanalyzer.h"
... | [
"robotex@robotex-laptop.(none)"
] | robotex@robotex-laptop.(none) |
93f47a60826c91335d4a0f73649851d26833a3b4 | 2f87c6e0b94f32fe2b92b1f98ae79c51fe6ef4f6 | /Multithreading 3/task.h | 2156c3e935ba6d2bfe830dad25b39ce50c3fddc6 | [] | no_license | Edacth/ComplexGameSystems | 101b558f6f17ec55031557cc0c82643c0556b76e | 8e151e86eaf55cb6073b7380d04b2e1d93e752fe | refs/heads/master | 2020-09-06T07:34:48.895328 | 2019-11-21T23:10:03 | 2019-11-21T23:10:03 | 220,365,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,609 | h | /* @brief task.h
Task simulates a single game engine sub-system.
Holds and tracks imposter data for simulating processing time taken
by a task on a thread.
@note This will only work in debug mode as the optimise notices the delay loop does nothing
computationally and removes it.
*/
#pragma once
#ifndef TASK... | [
"cadeanderson99@gmail.com"
] | cadeanderson99@gmail.com |
f243388eab842f4e62ae7527963d43b70ef7f3a8 | f00c5e6ce16e0fba1675704754f09aa71914ec0d | /Framework_2020/Framework/TimeManager.h | 9fed87ef23852ee3557813d39f87109951cc50bc | [] | no_license | cometj03/CCTI_Game | 2ae10dced0ae26de7439818e995c68ff51209e6d | 549aec23441aaba6105388f37ba3e24095d83eec | refs/heads/master | 2023-01-23T03:04:39.682262 | 2020-12-04T16:16:20 | 2020-12-04T16:16:20 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 301 | h | #pragma once
//시간을 계산하기 위한 클래스입니다.
//Framework 클래스에서 사용합니다.
class TimeManager
{
friend class Framework;
public:
TimeManager();
~TimeManager();
private:
static float deltaTime;
static void UpdateTime();
public:
static float GetDeltaTime();
};
| [
"48352078+XxCtrlZxX@users.noreply.github.com"
] | 48352078+XxCtrlZxX@users.noreply.github.com |
64a1bde7f1afcfc7b3bdf840ead8cb44a8bc329a | 0ecf2d067e8fe6cdec12b79bfd68fe79ec222ffd | /chrome/browser/supervised_user/supervised_user_service.cc | 6f7791f3231a7db443db99b4641bf123890dd3d2 | [
"BSD-3-Clause"
] | permissive | yachtcaptain23/browser-android-tabs | e5144cee9141890590d6d6faeb1bdc5d58a6cbf1 | a016aade8f8333c822d00d62738a922671a52b85 | refs/heads/master | 2021-04-28T17:07:06.955483 | 2018-09-26T06:22:11 | 2018-09-26T06:22:11 | 122,005,560 | 0 | 0 | NOASSERTION | 2019-05-17T19:37:59 | 2018-02-19T01:00:10 | null | UTF-8 | C++ | false | false | 39,837 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/supervised_user/supervised_user_service.h"
#include <utility>
#include "base/feature_list.h"
#include "base/files/file_path.h"
... | [
"artem@brave.com"
] | artem@brave.com |
add0c8c48078fb06be09511450fdecdf00f528f5 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /Atelier Courrier/CreusetExt/Creuset/ATPResultHypo_C1.cpp | 5d9d2d04910eb74aefddb213afadd360f6f1de48 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,132 | cpp | // on inclut les définitions nécessaires
#include "stdafx.h"
#include "ATPResultHypo_Metriques.h"
#include "ATPResult_Grandeurs.h"
#include "ATPResultHypo_C1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////
// le constructeur
CATPResultHypo_C1::CAT... | [
"alain.chambard@kantarmedia.com"
] | alain.chambard@kantarmedia.com |
e9373785de559795f5ebab478ad005106034e151 | a673387437f57c45a1673170ce7cad9de9bc7f9c | /Classes/RankBirdLayer.h | 811b0f39c74c52a19fce38fe09206d89d275100b | [] | no_license | icsfy/cocos2d-x_FruitandBird | cba1507065c4e766c29599c59c162f6450f41f1a | 9b49ac1c351383fed3dfd81833940bed83acc9f9 | refs/heads/master | 2020-12-31T07:41:28.345523 | 2017-04-02T08:42:32 | 2017-04-02T08:42:32 | 86,539,470 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 634 | h | #ifndef _RankBirdLayer_H_
#define _RankBirdLayer_H_
#include "cocos2d.h"
#include "GameSceneManager.h"
using namespace cocos2d;
class RankBirdLayer : public Layer {
public:
std::string scoreBird[5]; // 记录分数的字符串数组
Label* labels; // 显示分数的文本
GameSceneManager* sceneManager; // 场景管理器
public:
virtual bool init(... | [
"1294433495@qq.com"
] | 1294433495@qq.com |
fcaba27a40ff92d5e8b05342dfcd1c387f9c9584 | 1286c5b3d37b0785e99073c8234b44df47561f5a | /2020/0615_ABC170/past/F2.cpp | b3e56ad615ebf36d72fecd51a3c52ec4c2c63dc5 | [
"MIT"
] | permissive | kazunetakahashi/atcoder | 930cb5a0f4378914cc643de2f0596a5de7e4a417 | 16ce65829ccc180260b19316e276c2fcf6606c53 | refs/heads/master | 2022-02-15T19:12:10.224368 | 2022-01-29T06:38:42 | 2022-01-29T06:38:42 | 26,685,318 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,736 | cpp | #define DEBUG 1
/**
* File : F2.cpp
* Author : Kazune Takahashi
* Created : 6/15/2020, 11:46:33 PM
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>
#include ... | [
"kazunetakahashi@gmail.com"
] | kazunetakahashi@gmail.com |
f315506c4879ea9cf8f30611d0308f004adafc02 | 337f830cdc233ad239a5cc2f52c6562fbb671ea8 | /case5cells/5.1/gradTz | 69238e3c5e4f438e9e98adead0cae477fe1d4175 | [] | no_license | j-avdeev/laplacianFoamF | dba31d0941c061b2435532cdfbd5a5b337e6ffe9 | 6e1504dc84780dc86076145c18862f1882078da5 | refs/heads/master | 2021-06-25T23:52:36.435909 | 2017-02-05T17:28:45 | 2017-02-05T17:28:45 | 26,997,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"j-avdeev@ya.ru"
] | j-avdeev@ya.ru | |
eb2a47d896694f3e002823a1a0d8672ae18858fc | 70ad0fa3c3d5113fdd0ac1a1c1148749d8ac3510 | /h1/13.cpp | 747fab7a893e5392f2d637ca549215814a16f847 | [] | no_license | SlightRemorse/VaskosBox | c15f2b77489a6f602c762daf8da8583e3074e45a | 93e9646b6e37a84a0ba06f25d673438c044d34f0 | refs/heads/master | 2021-01-10T23:36:30.861521 | 2012-12-03T23:51:29 | 2012-12-03T23:51:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | //Vasil Bozhurski XIa
#include <iostream>
using namespace std;
int x,y;
void xnt() {
do {
cout << "Enter X [0<X<10]: ";
cin >> x;
}while((x<1) || (x>9));
}
void zad13() {
xnt();
int arr[10];
int sum;
for(int i=0; i<10; i++) {
sum=0;
for(... | [
"slightremorse@gmail.com"
] | slightremorse@gmail.com |
62d698fa6644ed8d97e6a96b5ae55c9260190552 | 351f6a4274ad800b0ac37815839f24222117ca91 | /Typhoon/Intermediate/Build/Win64/UE4Editor/Inc/Typhoon/TyphoonCharacter.gen.cpp | 9a833a4a17a1a59fe2c67f9e59c7d11e2326748c | [] | no_license | dynamiquel/Typhoon | aa1d8a2fa314f2b220e28163e81274e7632a6a1d | dee58d0214fba5bf13a22881619820b5aafe12d5 | refs/heads/main | 2023-03-17T02:09:41.930601 | 2021-03-02T20:18:38 | 2021-03-02T20:18:38 | 339,853,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,950 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"50085636+dynamiquel@users.noreply.github.com"
] | 50085636+dynamiquel@users.noreply.github.com |
55111ed7042eed3113b1ad454f9b4c30bf457055 | ad52a7268bf0d90c10be2229c6143f8efe7ece99 | /C++98_omp/swapview.cpp | 681932194a6d8e6a3acd55bc0e62524ac0ab1adc | [] | no_license | chenfengyuan/swapview | ab28cb1f85f391aa4a7b0c91451ef4d329e8ed91 | d5a8545df72fabc258550ba72ccd32cb5d5afb70 | refs/heads/master | 2021-01-14T10:39:22.237851 | 2015-01-09T07:52:00 | 2015-01-09T08:01:08 | 29,006,401 | 0 | 0 | null | 2015-01-09T07:46:33 | 2015-01-09T07:46:33 | null | UTF-8 | C++ | false | false | 3,566 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <cmath>
#include <cctype>
#include <sys/types.h>
#include <dirent.h>
#include <error.h>
#include <errno.h>
#include <omp.h>
using namespace std;
// #define TARGET "Size:" ... | [
"farseerfc@gmail.com"
] | farseerfc@gmail.com |
702c93c0368542398fef57e03f07809d2863e441 | efa38f0484f6f164f47a179794561c7355a48381 | /src/daemon/HNDaemonLog.h | 6a4e3fd64bb7923ff0dc4f98eec9f295548ce900 | [
"MIT"
] | permissive | nottberg/hnode2_switch_daemon | 29810d40acea5d1002b929f9c4af4e208f404e39 | e9c60013b394d71bb25f38f96695b913c3bc6d04 | refs/heads/master | 2023-05-03T20:28:18.471143 | 2023-04-22T20:12:06 | 2023-04-22T20:12:06 | 252,907,469 | 0 | 0 | MIT | 2023-04-22T20:12:07 | 2020-04-04T04:21:25 | C++ | UTF-8 | C++ | false | false | 1,332 | h | #ifndef __HN_DAEMON_LOG_H__
#define __HN_DAEMON_LOG_H__
#include <cstdarg>
typedef enum HNDaemonLogLevelEnum
{
HNDL_LOG_LEVEL_ERROR = 0,
HNDL_LOG_LEVEL_WARN = 1,
HNDL_LOG_LEVEL_INFO = 2,
HNDL_LOG_LEVEL_DEBUG = 3,
HNDL_LOG_LEVEL_ALL = 4,
}HNDL_LOG_LEVEL_T;
class HNDaemonLog
{
private:
... | [
"noreply@github.com"
] | noreply@github.com |
a2a638cf399b1c70973678ffa184df5e4b0cf9cb | 18d5ba86957e3e3bdcf5ee144d6cdce307409949 | /blimp/client/feature/compositor/blimp_compositor.cc | 3bb910fd64272a2d32560081e3bbc736a4d912ce | [
"BSD-3-Clause"
] | permissive | MichaelMiao/chromium | cf5021e77c7df85905eb9e6a5c5bfa9329c5f4ff | 00c406052433085e22fa4f73d990c8e4ff3320b3 | refs/heads/master | 2023-01-16T06:47:36.223098 | 2016-03-28T20:00:29 | 2016-03-28T20:02:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,537 | 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 "blimp/client/feature/compositor/blimp_compositor.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/numerics/safe_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b5df62ec366a6c9fd15aebe327bf3af8a1abcf16 | efe1131a33ee82e7c46b5af4cf200dcae8eb4add | /samples/MFC16/CTRLTEST/SPIN.H | c5f065eab72200dad3a71ce1aafb18fa094f0f3b | [
"BSL-1.0"
] | permissive | ALEHACKsp/dmc | 819398bbb46e8b5a8ef5c344ef2a0f8b4ee8903c | 9478d25a677f70dbe4fc0ed317cc5a5e5050ef8b | refs/heads/master | 2022-12-28T13:36:57.721262 | 2020-10-11T07:47:16 | 2020-10-11T07:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | h | // spin.h: C++ interface to spin control
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// WinHelp doc... | [
"walter@walterbright.com"
] | walter@walterbright.com |
6ddf1f3b0376b23bacbd7d6e78a7bed45f68be3b | 1c3d7a1ee2a26166f1c2683d2d962cbac4e06185 | /atherton/MainWin.cpp | c3f3182a334c681ed5322c1ac1c8299f4d13ce6a | [] | no_license | emiruner/simge-examples | 3866d5ff2a65371dd864635a15714558c6e07b76 | dcda01a4e47249e86e42decf95d17d5e53937d73 | refs/heads/master | 2021-01-11T17:45:19.451575 | 2017-01-24T03:57:24 | 2017-01-24T03:57:24 | 79,835,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | cpp | #include "MainWin.hpp"
#include <algorithm>
#include <simge/util/Utility.hpp>
#include <simge/algo/Atherton.hpp>
using namespace simge::geom;
using namespace simge::glut;
using namespace simge::util;
using namespace simge::algo;
namespace
{
inline void writeMsg(char const* msg)
{
glColor3f(1, 0, 0);
drawTex... | [
"emir"
] | emir |
a0831e43522f78125125a13b92bd7ee813508010 | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_g1403980240.h | 2600041da81602573fa5bb433b12b86e5eebd0b3 | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,703 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Int32[]
struct Int32U5BU5D_t3030399641;
// System.Collections.Generic.Link[]
struct LinkU5BU5D_t62501539;
// System.Byte[]
struct ByteU5BU5D_t3397334013;
// System.String[]
... | [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
e88129258657528c06edb629ebec3a42947abb6e | 995ecce03cfac9af98a62c317bf0a531bebf3e09 | /pymote/algorithms/tinagojak/led_blink.ino | aae8e2a47635bacb8f93f4429f840c535a4f16c6 | [] | no_license | VjeraTurk/pymote-algorithms-bootstrapBMO | 2cd175b19142cf043637461b0928dafd1cd32744 | 324956db430570316bc17df51339731ee03bae89 | refs/heads/master | 2020-03-08T03:24:28.931975 | 2018-06-30T00:20:06 | 2018-06-30T00:20:06 | 127,890,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | ino | #include <JeeLib.h>
#include <LocLib.h>
// jeenode ports where ledstate is plugged
LedStatePlug ledstate(2, 3);
MilliTimer timer;
int blinkPeriod = 1000;
int delta = 500;
bool state = true;
void setup () {
Serial.begin(57600);
Serial.println("\n[led_f]");
ledstate.set(2);
}
void loop () {
byte event = ledst... | [
"vturk@riteh.hr"
] | vturk@riteh.hr |
041076235a274d45cc3087f3175f498eed1e419b | b9b6177bd33f8969592575ff01c4f286646fef18 | /12.cpp | cc1d7811f327190dae560730cd5e96ee2945145f | [] | no_license | nitinkumar2558/LAB-7 | 26461f48ced1110abb987cb0be2dd1a0756ef708 | 8ad2897c398d6e8bcfd4ecec898afb7bdb646144 | refs/heads/master | 2020-03-31T02:44:42.410159 | 2018-10-06T13:19:18 | 2018-10-06T13:19:18 | 151,838,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | //program for LCM of two numbers using recurrsion
#include<iostream>
using namespace std;
int foo(int m ,int n) {
if (m%n==0) return n;
else return foo(n,m%n);
}
int main() {
int a,b;
cout<<"enter two no. to find there LCM"<<endl;
cin>>a>>b;
if(a>b)
cout<<"the LCM is "<< (a*b)/foo(a,b);
else
cout<<"The GCD is "<... | [
"noreply@github.com"
] | noreply@github.com |
d35912bad4005a0557d50433542c3d8eb87e1037 | b82720bbb4013db0746e05bd47f9d750d9914076 | /aizu-online-judge/ALDS1_3_A.cpp | 84ade63d1a54833948f86c29d4a7f92ee891f6c0 | [] | no_license | shiimaxx/programming-contest | 3cc2549cbd0bd6f7aaadb52fc381b6c19d15cb28 | 6b8c8f5ba52003845aa133fcee31bba6fb1fb2f5 | refs/heads/master | 2021-01-19T19:09:33.394142 | 2017-04-23T13:39:50 | 2017-04-23T13:39:50 | 88,401,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <iostream>
using namespace std;
const int MAX = 100;
bool isEmpty(int top) {
if ( top == 0 ) {
return true;
} else {
return false;
}
}
bool isFull(int top) {
if ( top == MAX ) {
return true;
} else {
return false;
}
}
void push(int S, int top) {
if ( isFull(top) ) {
} else {
}
}
int main... | [
"yoshima@shiimaxx.com"
] | yoshima@shiimaxx.com |
cf1b370af1ffccb248fb1121294afdb3a0f4c411 | 65791a76c95a765c7b31c78ce3d8ce7179dfb0be | /art/runtime/parsed_options_test.cc | b58a29c4711bd0d814f6902c48323c97f6207bc3 | [
"NCSA",
"Apache-2.0"
] | permissive | lamproae/feixue | 1def2887c0becbccd6d2e87a439482bfccc7597c | f49184e63cd88e7c5bbb0413a5d80f4564657559 | refs/heads/master | 2016-09-15T15:54:12.643916 | 2015-07-25T03:03:16 | 2015-07-25T03:03:16 | 39,730,495 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | cc | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"ektksc@gmail.com"
] | ektksc@gmail.com |
59138b9fbe45d74e082cfa9590c3685c9934f467 | dc5aa5d4740a3b26060806a75caa2e192886be99 | /robot_node/src/PracticalSocket/PracticalSocket.cpp | 7c10934d676839ad2e1d09bb5068f12598417b0b | [] | no_license | mcubelab/abb-ros-catkin | 5b9f145ac4022e714cd691a1c9c873af4d733cff | 4a9c2d4a2e758b64f808b8086cb5e25bcc6087bb | refs/heads/master | 2021-01-19T22:05:05.428756 | 2017-12-13T11:32:14 | 2017-12-13T11:32:14 | 88,748,722 | 2 | 4 | null | 2018-06-10T15:11:59 | 2017-04-19T13:30:21 | C++ | UTF-8 | C++ | false | false | 12,433 | cpp | /*
* C++ sockets on Unix and Windows
* Copyright (C) 2002
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later ve... | [
"peterkty@gmail.com"
] | peterkty@gmail.com |
d256bb361f346d9b64c31604ee1e1d8a49014ea2 | c55e607f1dc3727aac9efd6636e29315243d4213 | /Classes/Tentacle.h | 5289e534aa06297c15e5c9d296301b21d119e4c9 | [] | no_license | Varun-MS/CultOfTheEye | e08fb05a49fd1b89442fb6a74251594b97fd4b44 | 9c2881ee97553c04a71b233dff7426b034b3be84 | refs/heads/master | 2020-04-27T09:13:39.535080 | 2019-03-06T19:24:14 | 2019-03-06T19:24:14 | 174,205,956 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 556 | h | #pragma once
#include "cocos2d.h"
#include "Tower.h"
#include "Monster.h"
#include <map>
using namespace cocos2d;
class Tentacle : public Monster
{
int mStage;
public:
enum Animations
{
Idle, Attack, Damaged, Retreat, Spawn, Count
};
static vector<vector<vector<PhysicsShapePolygon*>>> mShapes;
static Tentacle... | [
"reach.varun.ms@gmail.com"
] | reach.varun.ms@gmail.com |
0e01fd92c43f9a9a675ae2089a85b3897ad63ef5 | 59c29cdb0ce237ef70068a676c32742e689a062a | /Analyser/Static/Atari2600/StaticAnalyser.cpp | cd756e59e5a8067a2adca4f055de271b58290915 | [
"MIT"
] | permissive | Sakery/CLK | 18828596490958532ac79f24b4ab0ea4e4610f4f | 8e094598cab18b7ef9e0bc6115719e4871a1df80 | refs/heads/master | 2020-12-23T13:44:41.137181 | 2020-01-28T02:54:32 | 2020-01-28T02:54:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,236 | cpp | //
// StaticAnalyser.cpp
// Clock Signal
//
// Created by Thomas Harte on 15/09/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#include "StaticAnalyser.hpp"
#include "Target.hpp"
#include "../Disassembler/6502.hpp"
using namespace Analyser::Static::Atari2600;
using Target = Analyser::Static::Atar... | [
"thomas.harte@gmail.com"
] | thomas.harte@gmail.com |
e120baf7013b67a3e4b54641118f26cfdd9f95ab | 2b219e180c6a4bd1682a562f952fc877e50150fc | /src/rpcrawtransaction.cpp | 306b74bcb2acd1d7732aebf3e29ce82b5ef975d8 | [
"MIT"
] | permissive | qdBlockChain/LRM-LRMcoin | 2c5be45184df79f75e610a38e190818a74a8fa4c | cbe0e8f0df0b899f78cbb1ca1824d0d18309325b | refs/heads/master | 2020-03-23T23:37:08.133540 | 2018-07-25T04:58:07 | 2018-07-25T04:58:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,219 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 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 <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... | [
"noreply@github.com"
] | noreply@github.com |
80dd2de6c4fef752e286c96243a9a42ad472ab47 | 250e97666c4a919531bf38f3fd56a6ff93987609 | /dataStructureClass/chap2/t4.cpp | 748b07201a44bffa8ee27d8815e22bd085cd42f1 | [
"WTFPL"
] | permissive | claviering/code | ccec3b642056645f5e3df0e6d02aa74ac73e0281 | 7019d50ff2e390696bc60358d1e39d9112f332e0 | refs/heads/master | 2021-07-11T13:44:23.211305 | 2020-06-21T02:46:09 | 2020-06-21T02:46:09 | 50,170,145 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | void separate(List *head, List *char_list_first, List *int_list_first, List *other_list_first)
{
if (head == 0)
{
return;
}
else
{
char_tmp = 0;
int_tmp = 0;
other_tmp = 0;
while (head != 0)
{
if (head -> data == char)
{
... | [
"claviering@gmail.com"
] | claviering@gmail.com |
94829e5b504132e910e9fa5d04f78a32bd11ad07 | 0f3bee9c3f6d991a41158300426d7f35868fda99 | /include/rtseis/utilities/deconvolution/transfer.hpp | d1d89efc513fa9c87d5c7a9367fb7012cfdc3584 | [
"MIT"
] | permissive | yuminzhao91/rtseis | b5a4db14e51141830a224db454c87937f3a11ece | bec376cf6e0038ca820496cd103eb8e2b33c7187 | refs/heads/master | 2023-01-07T22:47:56.022685 | 2019-11-12T22:47:44 | 2019-11-12T22:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | hpp | #ifndef RTSEIS_UTILITIES_DECONVOLUTION_TRANSFER_HPP
#define RTSEIS_UTILITIES_DECONVOLUTION_TRANSFER_HPP 1
#include <memory>
using namespace RTSeis::Utilities::Deconvolution
{
// Forward declaration
class InstrumentResponse;
/*!
* @class Transfer transfer.hpp "rtseis/utilities/deconvolution/transfer.hpp"
* @brief Rem... | [
"bakerb845@gmail.com"
] | bakerb845@gmail.com |
253e58c72d3215945d2a5decd16295f135063c23 | 5c985b909feec9484b832e104d712eebb91c4bb6 | /TZXTool/TZXFile/TZXBlockTextDescription.cpp | 8beee6fd8c3f22c54ac8f72c9ff32e18631c874f | [
"MIT"
] | permissive | MrReeMachine/TzxTool | c9b285073515a6166a00d3ede1f7390fc11c5a67 | a0685726b996a244e0f67790165bf7599fa5d535 | refs/heads/master | 2022-04-19T23:36:57.463316 | 2020-04-12T10:11:32 | 2020-04-12T10:11:32 | 254,926,734 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | //#include "stdafx.h"
#include "TZXBlockTextDescription.h"
#include "TZXFile.h"
#include <stdlib.h>
#include <stdio.h>
TZXBlockTextDescription::TZXBlockTextDescription()
{
m_nBlockID = TZX_BLOCKID_TEXT_DESCRIPTION;
m_szDescription = NULL;
}
TZXBlockTextDescription::~TZXBlockTextDescription()
{
if... | [
"richard.baxter@pdp.com"
] | richard.baxter@pdp.com |
8d9a1517bd482a3d1e0287e58722fc44a5ee6ad6 | cbea406838397b87d1e92e6f3a73fa7b04e07142 | /week4/day2/t09_students_source.cpp | 12113e0c037059b0e277ab44d41417828c2cbf7f | [] | no_license | greenfox-zerda-sparta/Oszvaldb | c8d3e71710e66eba59ae0bc38916ee244367c464 | 69d76fc4947b5e1539d116ea5d379f4d8ff87b70 | refs/heads/master | 2021-01-12T18:14:57.203584 | 2016-12-15T13:21:47 | 2016-12-15T13:21:47 | 71,351,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | cpp | /*
* students_source.cpp
*
* Created on: Nov 8, 2016
* Author: zoltanszabo
*/
#include <iostream>
#include <string>
#include "t09_students_header.h"
using namespace std;
Student::Student(string name, int grades[], int grade_counter) {
this->name = name;
this->grade_counter = grade_counter;
this->grades... | [
"nagyongonoszi@gmail.com"
] | nagyongonoszi@gmail.com |
50b86bc88a7fe0962f54c96f8fc6b6f97823cbde | ab7fa4d8a3b061a488b91b2101c3f3c974322a43 | /code/contoh8-8.cpp | 01ec464b01f4d2de269972ea777dc1c560a32808 | [
"MIT"
] | permissive | yinchuanming/cpp-qt | b9400e538562d140a90ceebf8f3f9f951214348c | 6889995826c742bf58820596065ed8ab64c569bf | refs/heads/master | 2022-12-13T05:29:31.631942 | 2020-09-08T17:13:30 | 2020-09-08T17:13:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <QtCore/QCoreApplication>
#include <iostream>
using namespace std;
class COpArray
{
private:
int *_myArray;
int _numElement;
public:
COpArray(int numElement);
~COpArray();
int& operator[](int index);
};
int& COpArray::operator [](int index)
{
return _myArray[index];
}
COpArray::COpArray(int numElement... | [
"wachid@outlook.com"
] | wachid@outlook.com |
c4e3d8523276d2393c3b22604ce089e124f5fdc6 | d19330f4599add81cae80a0e96edc40efe924848 | /ext/ChaosCore/include/chaoscore/base/clock/ClockOperations.hpp | ae373e45c641532cb2fa857d4d1931bbe910e540 | [] | no_license | DavidSaxon/ProtoAlpha | a856d122e64d6a930d33752de839ea9d620fdc16 | 3631a59f60f39e56fbdea7cb6ac2bc4a23ed2777 | refs/heads/master | 2021-01-10T18:04:29.019742 | 2016-02-02T12:48:49 | 2016-02-02T12:48:49 | 50,710,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | hpp | /*!
* \file
* \brief Operations for measuring time.
* \author David Saxon
*/
#ifndef CHAOSCORE_BASE_CLOCK_CLOCKOPERATIONS_HPP_
#define CHAOSCORE_BASE_CLOCK_CLOCKOPERATIONS_HPP_
#include "chaoscore/base/Types.hpp"
namespace chaos
{
namespace clock
{
//-----------------------------------------------... | [
"davidesaxon@gmail.com"
] | davidesaxon@gmail.com |
0f78bbc58c62989e21206489a6157ba1a2127c45 | 95a5633880bcba74066f73d3fd19661449a6ba1d | /Cpp/fostgres-fg/fg.call.cpp | b4c7ea9b0a07345b97b6213ae073f04bcfab4e78 | [] | no_license | mengwong/fostgres | d3b5b133867558d79f08fb091b3d72a6213e42cb | f302650fad19dca7dac7a60d803326176469e01c | refs/heads/master | 2021-05-06T23:13:37.855585 | 2017-07-22T05:34:30 | 2017-07-22T05:34:30 | 112,961,069 | 0 | 0 | null | 2017-12-03T20:27:30 | 2017-12-03T20:27:30 | null | UTF-8 | C++ | false | false | 1,371 | cpp | /*
Copyright 2016 Felspar Co Ltd. http://support.felspar.com/
Distributed under the Boost Software License, Version 1.0.
See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt
*/
#include <fostgres/fg/fg.hpp>
#include <fost/push_back>
fg::json fg::call(frame &stack... | [
"k@kirit.com"
] | k@kirit.com |
df217bb1696a01945122474d83a8c6a79503bfa7 | 37b4d3e203a0abb6f5f8c634b15329d86b0fa8c8 | /src/obfuscation.h | 897949b1383bc359025a1fcc5460846ed17ce2a5 | [
"MIT"
] | permissive | iothome-rc/iothome | 09b101d4b5bf65d4b22a65f20fbac49a87f4a223 | f15992e23dd2dd41a7ff22484ec36da3b1ba67b1 | refs/heads/master | 2020-04-23T03:09:24.009000 | 2019-02-15T14:08:54 | 2019-02-15T14:08:54 | 170,507,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,961 | h | // Copyright (c) 2014-2015 The Dash 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.
#ifndef OBFUSCATION_H
#define OBFUSCATION_H
#include "main.h"
#include "masternod... | [
"iothome.dev@gmail.com"
] | iothome.dev@gmail.com |
c4f8707193129f8259cb38eaa734744fa1fad64b | b1f52cb0fa6649faae40968a8a0b9c0c510f107d | /WT_20210219/c638.cpp | b11254f72756b648026541d8172590266fbd96f1 | [] | no_license | yoyoisaman/winterproject | f53dc34a82e9b4add82bd37a539ffa11b0032eec | dcc9cad9ac24cbea42f56dc4a145e16ce1efd90e | refs/heads/main | 2023-07-18T16:05:30.007925 | 2021-09-14T07:57:19 | 2021-09-14T07:57:19 | 327,964,401 | 0 | 0 | null | 2021-06-26T08:02:52 | 2021-01-08T17:06:48 | C++ | UTF-8 | C++ | false | false | 891 | cpp | #include <bits/stdc++.h>
using namespace std;
void a(int y){
int y1=y%10;
if (y1==0) cout << "庚";
else if (y1==1) cout << "辛";
else if (y1==2) cout << "壬";
else if (y1==4) cout << "甲";
else if (y1==5) cout << "乙";
else if (y1==6) cout << "丙";
else if (y1==7) cout << "丁";
else if (y1==8) cout << "... | [
"noreply@github.com"
] | noreply@github.com |
da63e65135e102be76720e9dd7805de36a4d3fce | 294493658a0452aa0d32849c1a03ac80e8b508d8 | /codechef snackdown/N different palindromes.cpp | 657795c593cadb046a3eb7a29b4f47ed3cb2e119 | [] | no_license | rMoshiur/contest-code | 6f19b340621a9f84840ab2fa0a84455fe26c7dd0 | 95c9cb040db0e3ed857801ea737213bb37a25069 | refs/heads/master | 2020-03-15T16:52:27.110364 | 2017-09-23T17:24:20 | 2017-09-23T17:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include <bits/stdc++.h>
using namespace std;
const double pi = 3.141592653589793;
#define xx first
#define yy second
#define mp make_pair
#define intl long long
#define filein freopen("input.txt", "r", stdin)
#define fileout freopen("output.txt", "w", stdout)
#define debug... | [
"turab2013@gmail.com"
] | turab2013@gmail.com |
9975234038a8cbb69e797cb96f9c84efe3a8830f | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigHypothesis/TrigHLTJetHypo/TrigHLTJetHypo/TrigHLTJetHypoUtils/IMatcher.h | bc8c4774efd73fbabb90ddd01bee763f914b720f | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGHLTJETHYPO_IMATCHER_H
#define TRIGHLTJETHYPO_IMATCHER_H
/********************************************************************
*
* NAME: IMatcher.h
* PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
*
* AUTHOR: P. Sher... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
2703b1ef0af8e8f8f24ddafbd6ebccfaa9c07e05 | 1deccd9718fe2dc701e77498fbcbf746c262150a | /src/morganaDofs/komplex.cpp | a2cf79d857c603d3f12fab23c85a1534040fcae0 | [] | no_license | lacrymose/morganaPublic | ce577067102ba626f136c1b5ca4b8181a6f38a71 | 6422b8d0c6c201fd5a4dfeef81db3c1b214f6ace | refs/heads/master | 2022-11-16T01:27:14.401469 | 2020-07-14T14:54:14 | 2020-07-14T14:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,521 | cpp | /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This file is part of Morgana.
Author: Andrea Villa, andrea.villa81@fastwebnet.it
Morgana is free software: you can redistribute it and/or modify it under the terms of the GNU Gene... | [
"andrea.villa81@fastwebnet.it"
] | andrea.villa81@fastwebnet.it |
75f59a69bd82b701ff97bfac70cefc73fdaa6430 | 6ca631c6d14eea31060f06999cee975eda124c7f | /old/editors/ide/sdlbasEditor/scintilla/src/Document.cxx | 2b8be0c36ce37f2d757f9dcb194bd8ad68c80388 | [
"LicenseRef-scancode-scintilla"
] | permissive | sdlBasic/software | 56fb60addfff9ae0856a9702633cd2a8b83e412a | 1ed4ef1c165874793fd0dcd2f5e8821e6387f7dc | refs/heads/master | 2016-09-08T05:11:31.870593 | 2015-08-25T06:49:17 | 2015-08-25T06:49:17 | 38,472,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,476 | cxx | // Scintilla source code edit control
/** @file Document.cxx
** Text document that handles notifications, DBCS, styling, words and end of line.
**/
// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#inclu... | [
"vroby.mail@gmail.com"
] | vroby.mail@gmail.com |
bbc5d2ae8ed4b76093e4708e5f931e64e5f21a57 | 76194044c1aac233fe6c9b40e953b815747478a5 | /libraries/sparseSolver/ARPACKSolver.cpp | 7bc2a64fc4122c3af5f31b2a716978fbfa395c79 | [] | no_license | Milliekf/Vega | b97d521af64d118523a64bd4d5e83ccbec5773d8 | 256fc29e1d1a19bced5ec73bc37cc0d06f620c1a | refs/heads/master | 2022-12-27T11:35:20.000544 | 2020-10-10T02:33:33 | 2020-10-10T02:33:33 | 291,040,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,568 | cpp | /*************************************************************************
* *
* Vega FEM Simulation Library Version 4.0 *
* *
* "Large Modal Defo... | [
"1614435795@qq.com"
] | 1614435795@qq.com |
a7cccfa54c1d15c97ba48027e3138a7c36b8b2b5 | 1972e07379ad5d73e9011884c3538ae992a2258d | /src/main.cpp | 618b72ae652c6ebb31466ca3df96763718c41dd5 | [
"MIT"
] | permissive | happinesscoin/happinesscoin | eb5c513b80d6f6666b3ee1f90624783559f69ada | 02aae962bf5e49651386b399e97665763e837b01 | refs/heads/master | 2020-12-24T18:55:39.477695 | 2016-04-14T02:32:23 | 2016-04-14T02:32:23 | 56,201,124 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 170,302 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 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 "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "txdb.h"
#inc... | [
"aapool@outlook.com"
] | aapool@outlook.com |
e9814faaf08df2557923e36e14cc39a90c3bd6ca | 7a704e838d89f942a1099fec141f1fbe9828e528 | /hysia/core/HysiaDecode/include/MultiDecoder.hpp | 9d652c3ad92e49b3219aa5dbc194eabd6e08bef2 | [
"Apache-2.0"
] | permissive | cap-ntu/Video-to-Retail-Platform | 3ee00d22b7fd94925adac08c5ea733ee647f4574 | 757c68d9de0778e3da8bbfa678d89251a6955573 | refs/heads/hysia_v2 | 2023-02-14T05:22:16.792928 | 2021-01-10T02:31:43 | 2021-01-10T02:31:43 | 212,741,650 | 63 | 20 | Apache-2.0 | 2021-01-10T02:32:00 | 2019-10-04T05:22:08 | Python | UTF-8 | C++ | false | false | 4,538 | hpp | /*
* Author : Wang Yongjie
* Email : yongjie.wang@ntu.edu.sg
* Description: Video decoder
*/
#ifndef _MULTIDECODER_HPP
#define _MULTIDECODER_HPP
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include "BaseDec.h"
#include "CpuDec.h"
#include "GpuDec.h"
#include "AudioDec.h"
... | [
"huaizhen001@e.ntu.edu.sg"
] | huaizhen001@e.ntu.edu.sg |
deae93ecb90a9af93230c791bdfb1161de1b3456 | cc8a39e61c1de4f8657fe32a50249f369cf57577 | /health_check/cpp_daemon/src/gtest_boost.cc | 4b963c9f485b3817eda9b423d13d1d3262233cf3 | [
"BSD-3-Clause"
] | permissive | xcnix/HPC_Scripts | addfd3e765b9030980a05ce7565b0519a3226301 | 5be3870aedde320de55fcd9190936f8e84b11735 | refs/heads/master | 2023-06-23T06:28:52.470806 | 2018-10-11T20:06:13 | 2018-10-11T20:06:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,094 | cc | //Make sure THREAD SAFE is Active
#define BOOST_SPIRIT_THREADSAFE
#include <gtest/gtest.h>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/date_time.hpp>
/**
* @brief Basic shared lock tests
* @see http://www.boost.org/doc/libs/1_41_0/doc/html/thread/synchronization.h... | [
"nate@ucar.edu"
] | nate@ucar.edu |
14c8451fe22e3a1502459345bb8ef560d8ac15a9 | 1ffd8bf6ab8bc8cbae85cfe65ea8d0c564b65e80 | /examples/SchedulerSemaphore/SchedulerSemaphore.ino | e9ae286b9ebe7a44dcf3103eae87f230092e8bc2 | [] | no_license | srmq/esp8266-scheduler | ba06ba99e89a8afd1e37e4dd10aa4c7bc1c6074e | 498112d0ca3d16b85838c1ab9a2a34174a52155c | refs/heads/master | 2021-07-08T11:44:34.821579 | 2017-10-06T01:41:00 | 2017-10-06T01:41:00 | 116,195,941 | 1 | 1 | null | 2018-01-04T00:37:02 | 2018-01-04T00:37:02 | null | UTF-8 | C++ | false | false | 1,990 | ino | /**
* @file SchedulerSemaphore.ino
* @version 1.0
*
* @section License
* Copyright (C) 2015-2016, Mikael Patel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | [
"mikael.patel@gmail.com"
] | mikael.patel@gmail.com |
e2b1ddcc18d31b3bbe023c94c54d76ba390d0c65 | a1732b958ae73657900585a4e8991a05072212d6 | /2020/day8/computer.cpp | 73a975188026da5dcc21ce212598231ba4af86fb | [
"MIT"
] | permissive | bielskij/AOC | 97fca8183955caf4d46967ac1bf4b00d9dc04f12 | 270aa757f9025d8da399adbc5db214f47ef0b6de | refs/heads/master | 2023-01-08T10:23:40.667070 | 2022-12-29T07:58:04 | 2022-12-29T07:58:04 | 226,080,843 | 3 | 0 | null | 2020-12-09T08:27:49 | 2019-12-05T10:57:02 | C++ | UTF-8 | C++ | false | false | 1,069 | cpp | /*
* computer.cpp
*
* Created on: 19.11.2020
* Author: jarko
*/
#include "utils/file.h"
#include "utils/utils.h"
#include "utils/graph.h"
#include "computer.h"
#define DEBUG_LEVEL 5
#include "common/debug.h"
void Computer::reset() {
this->_pc = 0;
this->_acc = 0;
}
Computer::Computer() {
this->_bre... | [
"jaroslaw.bielski@7bulls.com"
] | jaroslaw.bielski@7bulls.com |
4e99d0bd66f2bf2bf50ac20dd295a83edc64a85d | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /analysis/NuclMed/SOE/include/CEvent.h | 360f612e9c652ca45d0594158a6a6210f6fb80a0 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | h | #pragma once
#ifndef _SOE_CEVENT__
#define _SOE_CEVENT__
#include "CHit.h"
#include "CCone.h"
#include "CPETLine.h"
#include <map>
// #include "boostincludes.h"
#include "constants.h"
enum EVENT_TYPE
{
EVENTTYPE_NONE = 0,
COMPTON_EVENT,
PET_EVENT
};
class CEvent
{
public:
CEvent(int in_ID = 0, EVENT_TYPE... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
f108790f81d149aeff57f3573adc801e1def50d1 | 168758fe0b5ef0d1fe53300890ce20da82caaba9 | /src/kernel/pit.cpp | eb8f722db9c0c3f81ed8f8fd134b8a62e181ede4 | [] | no_license | jimbob843/purasu | 2b3cb559bfd17ed3f20d7e2c480fd242427c17f9 | 6eeff38214e1d2cd359c45346587528dae17c94e | refs/heads/master | 2021-01-01T04:40:55.889119 | 2016-05-07T13:36:53 | 2016-05-07T13:36:53 | 58,266,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | //
// Name: pit.cpp
// Project: Purasu Operating System
// Author: James Smith
// Date: 24-May-2014
// Purpose: Programmable Interrupt Timer (PIT)
//
#include "pit.h"
#include "idt.h"
#include "console.h"
static DWORD tick = 0;
static void timer_callback(registers_t regs)
{
tick++;
con_Write("Tick: ");
co... | [
"jsmith@marlet.co.uk"
] | jsmith@marlet.co.uk |
59a4b91b5a9b0071fabe4921a862cd00b43fa50d | e45f197f56ec6d81728e7aa857a536db9220f9e4 | /SkProjects/GNSS_Viewer_V2/ConSrePorDlg.h | 1c555a2bd97eb7eda92e6fb7a903434246d7bebb | [] | no_license | asion0/AsionGitCodes | 82bfbaf5bf14eebeb375f3d83ecbcee5c45989ad | 7f493fb2a67e053387026a5652fc28f53e76f73c | refs/heads/master | 2016-09-10T20:12:25.665716 | 2013-12-31T09:11:47 | 2013-12-31T09:11:47 | 15,427,503 | 1 | 2 | null | null | null | null | BIG5 | C++ | false | false | 560 | h | #pragma once
#include "afxwin.h"
// CConSrePorDlg 對話方塊
class CConSrePorDlg : public CDialog
{
DECLARE_DYNAMIC(CConSrePorDlg)
public:
CConSrePorDlg(CWnd* pParent = NULL); // 標準建構函式
virtual ~CConSrePorDlg();
// 對話方塊資料
enum { IDD = IDD_CON_SRE_POR };
protected:
virtual void DoDataExchange(CDataExchange* pDX);... | [
"asion.lin@gmail.com"
] | asion.lin@gmail.com |
705b41e590ad96c22bea0f9cc6fec4ecbf649c04 | e9aa170d98e825fd624abb73cd019c5349e8be6b | /dialog.h | 553502328e12a1ebd6e14d21edaf27a3709d39ea | [] | no_license | ronaldnoronha/9220Pool1 | 2e029c66e91906772d5a36aae9635bc6ddc31448 | 843eff8573d28f3e02ed57eda302e84068b2ee9c | refs/heads/master | 2020-03-09T15:15:08.375255 | 2018-04-10T14:26:23 | 2018-04-10T14:26:23 | 128,854,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | #ifndef DIALOG_H
#define DIALOG_H
#include "ball.h"
#include <QDialog>
#include <QTimer>
#include <QPainter>
#include <iostream>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
protected:
void paintEvent(QPaintEvent *)... | [
"rnor3536@uni.sydney.edu.au"
] | rnor3536@uni.sydney.edu.au |
3b23199a1807203ad0d69598a6babf4d0d060d9c | 9932f630351e1838a30c182a3d8f1afa212abcf4 | /TeraGateServer_New/TeraGateServer_New/main.cpp | 2badfa32c9597d6826cb5bd0c9129c644dcb933c | [] | no_license | xlskrp12/TeraGate | 14e43df820cae8acffdc51346caec5f1302e8c8e | 83c49cbcca4ec90da98962773cfee86d92295d19 | refs/heads/master | 2021-01-12T01:42:27.624606 | 2018-02-12T01:56:05 | 2018-02-12T01:56:05 | 78,419,373 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 13,837 | cpp | #include "stdafx.h"
HANDLE hIocp;
bool isShutdown = false;
//#define _PacketDef PACKET::GetInstance()
WorldData worldData[NUM_OF_OBJECT];
// npc, object 확인용
const bool isNPC(const int id)
{
if (id < MAX_USER)
return false;
else if (id > NUM_OF_NPC_AND_PLAYER)
return false;
return true;
}
const bool isObject(... | [
"xlskrp@gmail.com"
] | xlskrp@gmail.com |
245dfaa7fa0fec071d96a2dd396a67fa24de6322 | 68da2c756b091a117f72f739b79f0df36e5d6ef0 | /GeneratedFiles/ui_heatview.h | 5906804b826072340dbb146a56d34fc3743ccf70 | [] | no_license | SobolevSpace/xUnitTestDemo | 01797b95338ab0ffe4b5ad2f9f573a19c22e4700 | e6c8771effd83d3b23d39eef6106bd4f1dc666c0 | refs/heads/master | 2020-06-16T14:05:37.990686 | 2019-07-14T01:20:20 | 2019-07-14T01:20:20 | 195,602,458 | 0 | 0 | null | 2019-07-14T01:20:21 | 2019-07-07T02:42:14 | C++ | UTF-8 | C++ | false | false | 1,627 | h | /********************************************************************************
** Form generated from reading UI file 'heatview.ui'
**
** Created by: Qt User Interface Compiler version 5.9.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"noreply@github.com"
] | noreply@github.com |
4ebb871b8904d3b6f1cc4e12517b7e7c83f7849b | 53f0935ea44e900e00dc86d66f5181c5514d9b8e | /acsl/intermediate/all-star/Octohex.cpp | 1dcc4aceb4f95c9f715c9e07d523a19aae4b09fb | [] | no_license | losvald/algo | 3dad94842ad5eb4c7aa7295e69a9e727a27177f6 | 26ccb862c4808f0d5970cee4ab461d1bd4cecac6 | refs/heads/master | 2016-09-06T09:05:57.985891 | 2015-11-05T05:13:19 | 2015-11-05T05:13:19 | 26,628,114 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <conio.h>
#include <iostream.h>
#include <iomanip.h>
int main() {
long long int a, b;
scanf("%llo %llo", &a, &b);
printf("%llx", a*b);
getch();
return 0;
}
| [
"leo.osvald@gmail.com"
] | leo.osvald@gmail.com |
96de933134b4b5f6c4ce2475b21e64846ebdc9e9 | cf903c879aa07d59fdc9bb6e0d0217e03d4f03d7 | /PA/Tema2/poduri.cpp | 2f3a7cf39bb1a6dd95beae435d6f0a8fb7bf77c3 | [] | no_license | GeorgeF23/Teme_anul2 | 644ed9bd9a495ef0ac769436ee04e23be67a0ff0 | 6605ba4f72b026d01e9c191e4a61f036b0096537 | refs/heads/master | 2023-05-04T07:45:12.562954 | 2021-05-24T12:21:59 | 2021-05-24T12:21:59 | 314,865,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,026 | cpp | #include <bits/stdc++.h>
using namespace std;
/**
* @brief Verifica daca o coordonata e pe uscat
* @note
* @param x: linia
* @param y: coloana
* @param n: numarul total de linii
* @param m: numarul total de coloane
* @retval
*/
bool is_finish(int x, int y, int n, int m) {
return (x == 0 || x == n... | [
"floareageorge@gmail.com"
] | floareageorge@gmail.com |
00f31d0a7b10672463aea93d98b6a0870e98a96b | 2088d9eb0de86ea3029645eca35a7eeef7f1b7bc | /算法/有向图强连通.cpp | 2e226bcbbbfeba2eee13b8a54e0e5bf4e46adc35 | [] | no_license | HLHL1/Algorithm | c6355213c5c07d8e2551eae276c36eb9878001af | f2f8a51c66056a2ef0dfdaed553b15b5464e6d2f | refs/heads/master | 2020-03-21T04:37:20.689961 | 2019-12-22T07:49:40 | 2019-12-22T07:49:40 | 138,118,556 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,080 | cpp | #include<iostream>
#include<algorithm>
#include<queue>
#include<cstdio>
#include<cstring>
using namespace std;
void Tarjan ( int x ) {
dfn[ x ] = ++dfs_num ;
low[ x ] = dfs_num ;
vis [ x ] = true ;//是否在栈中
stack [ ++top ] = x ;
for ( int i=head[ x ] ; i!=0 ; i=e[i].next ){
... | [
"1716903153@qq.com"
] | 1716903153@qq.com |
505963771591ab7a15142168b159186b0f3b4ba2 | e8281ca4ab4e1f2ea635dd0d85a5e56e7f469e5b | /TIVS/666-IVS(OpenCV)-GPO/IVS/Batch_manager.h | ff54dec97428a0f20b2cf96ee3de7915c27baea6 | [] | no_license | majkyun888/C-Pro | 287aaa0ca981e935820384bf55c66e1976d76f93 | 92482ebc097c904852fbb3128fd9e30689d70ea3 | refs/heads/master | 2021-08-14T10:18:37.934296 | 2021-08-11T00:16:01 | 2021-08-11T00:16:01 | 208,016,334 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,336 | h | #pragma once
#include "stdafx.h"
#include "hpdf.h"
#include "Recipe_manager.h"
#include "Globals.h"
#include "Def_globali.h"
#include "File_mngmt.h"
//Pour added 20190328
#include "afx.h"
/*
#include "afx.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <setjmp.h>
#include "hp... | [
"majkyun@163.com"
] | majkyun@163.com |
0b0db5b51229da9f6ae43cb8281103f855fe02cd | b3465a4bebc12c8f4eabad301c343c5c9694afdf | /007-Factory/devicefactory/Project/IOontroller.h | 20f5f77822c2d7586d98058f3de183f311fcc1ca | [] | no_license | dincerunal/design_patterns | fc7be618986b110078deb010fd74d55ca981662f | 243933001dcd12aaa65dbfeb600252eddcac72c2 | refs/heads/main | 2023-05-13T20:20:29.953153 | 2021-06-02T14:00:14 | 2021-06-02T14:00:14 | 372,414,976 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "Device.h"
class IOController : public Device {
public:
IOController(const std::string &name, const std::string &protocol) : Device(name, protocol) {}
void sendAlarm(const std::string &alarm) override;
private:
//...
};
| [
"noreply@github.com"
] | noreply@github.com |
ff7beaff49babe209f010eaa6c6a20494d78a356 | c9cdb8772eb74c832b703624f6395f1e8b84c09e | /CCore/src/CancelPacketList.cpp | 01398d8bed6fd62c1bcac7deab94e9eaab50ba10 | [
"BSL-1.0"
] | permissive | SergeyStrukov/CCore | 70799f40d0ecfec75ab9298f60e7396413931800 | 509bd439ae5621603f9fbe8e8b3ca03721ac283b | refs/heads/master | 2021-01-17T17:01:19.899215 | 2015-08-12T18:41:25 | 2015-08-12T18:41:25 | 3,891,233 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | cpp | /* CancelPacketList.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 1.02
//
// Tag: General
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local ... | [
"sshimnick@hotmail.com"
] | sshimnick@hotmail.com |
ae4d7a1c99ad594f15224bb66b63394ad5f761b8 | cf5b60492f74c289bbda7a79bce04f15f17eb0d6 | /字节跳动探索/字符串/4.cpp | 93a138838d0834236ff3f1e0e7cbcc945c676013 | [] | no_license | RoseAlice2018/Leetcode | 8bfcf850baeda0a1be45e08e0b913b933f8bd519 | e3c713f3dab13f96efe13949d8b8f3be21a2fe9e | refs/heads/master | 2021-07-14T10:51:58.002714 | 2021-02-09T08:19:37 | 2021-02-09T08:19:37 | 290,232,050 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
string multiply(string num1, string num2)
{
int size1=num1.size();
int size2=num2.size();
string res;
if((size1==1&&num1[0]=='0')||(size2==0&&num2[0]=='0'))
{
... | [
"40765813+RoseAlice2018@users.noreply.github.com"
] | 40765813+RoseAlice2018@users.noreply.github.com |
08ea52d6b276906984a416f777adf39849510193 | 9e81b80feb8407ceeea2949317840d93561f43da | /Hojas de trabajo/HT3_EJERCICIO_01.cpp | 1e983050d8e4afee589a8c5bcac6fe7ad3a1b4bf | [] | no_license | aparedesg/Proyecto-Progra1 | db6106693a2d398ecfa0ca87f034811c5900b061 | ad61920dc6aa211de8083bb61bd50f8be078deae | refs/heads/master | 2022-06-02T02:54:09.145777 | 2020-05-03T01:26:18 | 2020-05-03T01:26:18 | 260,804,351 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 4,641 | cpp | /*Ejercicio # 1:
El presidente de un club de futbol requiere calcular el sueldo de sus jugadores
si se tiene como dato la edad y la nacionalidad del jugador.
Ademas se sabe que el sueldo se calculara de la siguiente manera:
Sueldo fijo $2500.00
Si es extranjero recibe un bono de $500.00
Si la edad esta entre ... | [
"noreply@github.com"
] | noreply@github.com |
98ae3c8d22842d3857f20f6676dcd8fa145bf98d | ec15b129676eba0cbf2305eff226f3682de9722b | /IterativeSegmentTree.cpp | c069821754f0b9b109fc52eeefee6c026a6d3909 | [] | no_license | exsanik/data_structures | 93653f495947a12088e31fffcc4c8cd4b47362b1 | f122c087ce63390f0b584d0ea8dcea20e9f99467 | refs/heads/master | 2020-11-24T02:05:15.520487 | 2020-05-03T18:11:07 | 2020-05-03T18:11:07 | 227,918,833 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | class SegmentTree {
private:
vector<vector<int64_t>> segmentTreeContainer;
public:
explicit SegmentTree(const vector<int64_t>& segmentTreeBase) {
int rowLength = segmentTreeBase.size();
const int logElements = __builtin_clz(rowLength); // get the postion of the highest "1" bit
se... | [
"noreply@github.com"
] | noreply@github.com |
846b9c4bae5476db09e468c5afff77b414edd957 | bac438a87edf552a9e193b69e5bb7217703172d6 | /w14/g1/6.cpp | f38ef034533eb29b8697483699fa488fc89fd072 | [] | no_license | Beisenbek/PP1_2020_FALL | 4aac350e2fdb8f3c0dc31dd7c9495bbd6b291c33 | dc94eb58cebcb83f05296fdd7e1cdf6dd65db442 | refs/heads/master | 2023-02-20T20:30:37.723139 | 2021-01-26T12:15:52 | 2021-01-26T12:15:52 | 293,035,486 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include <iostream>
#include <vector>
#include <map>
using namespace std;
int main() {
int n = 4;
int &c = n;
int *p = &n;
cout << &n << endl;
cout << &c << endl;
cout << p << endl;
n = 12;
cout << n << endl;
cout << c << endl;
cout << *p << endl;
cout << "======" << ... | [
"bbaisakov@dar.kz"
] | bbaisakov@dar.kz |
a2de2868a8856ad960e60d71ace29666b519c51b | 1dbced382333c820a90068f15f40e177c4032274 | /src/caffe/layers/structSVM_loss_layer.cpp | 2cda6f2be98e8557eaa54613088e11ddbeb28684 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | hyzcn/struct-max-sum | baf521769a782ea345d0cb74a2431a1bc656a6f1 | e31227d8ebc7276b8ce1995a12cb874d071c977d | refs/heads/master | 2021-06-12T21:42:28.955480 | 2017-04-01T02:23:52 | 2017-04-01T02:23:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,607 | cpp | /*
* structSVM_loss_layer.cpp
*
* Created on: Feb 23, 2016
* Author: zehuany
*/
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <vector>
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/loss_layers.hpp"
namespace caffe {
template <typename Dtype>
void ... | [
"zehuany@umich.edu"
] | zehuany@umich.edu |
e082e87da401115b86bc57bdcdf7ab9c181ac29f | bd9e090345eb7e66caf84aae73767c1e551cdde1 | /rl_local_planner/src/wp_generator.cpp | 0cc7913263997906f946384480404bb097cd7511 | [
"BSD-3-Clause"
] | permissive | dangaw255/arena-flatland | 3d3a9d3f246c5ef1c9794bd4247278927e7d7d66 | 584ff41e7edc055ee59f7c8d8bdec2a5a4809410 | refs/heads/main | 2023-01-24T15:23:35.695104 | 2020-11-23T19:47:07 | 2020-11-23T19:47:07 | 315,422,618 | 1 | 0 | BSD-3-Clause | 2020-11-23T19:42:45 | 2020-11-23T19:42:44 | null | UTF-8 | C++ | false | false | 5,183 | cpp | /*
* @name wp_generator.cpp
* @brief Generation of waypoints on the global path and
* determination of the closest waypoints to the robot.
* @author Ronja Gueldenring
* @date 2019/04/05
**/
#include <rl_local_planner/wp_generator.h>
namespace rl_local_planner {
WpGenerator::WpGenerator(const ros:... | [
"linh4138@yahoo.de"
] | linh4138@yahoo.de |
e9cd0813a6e9a02568cd38af75cf3809c98918ad | 33d9f9536fed2fc9ee0a68a85206f2f9d64f1b76 | /gsum.cpp | 63b090784e4555e772e6a95187e30ef09a258c10 | [] | no_license | tanyasharma6317/data-structures-questions | 29ced119b05472249738473ed4ad053b5236ca98 | 6d801b6415bdf8b37cafe4b32968e2e0ff347bb4 | refs/heads/master | 2022-12-29T22:54:16.042412 | 2020-10-23T05:56:22 | 2020-10-23T05:56:22 | 300,130,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
double geometric_sum(int k)
{
if(k==0)
{
return 1;
}
double n=geometric_sum(k-1);
return n+ 1.0/ pow(2,k);
}
int main()
{
cout<<geometric_sum(3);
} | [
"noreply@github.com"
] | noreply@github.com |
a4257377a485780a25f3dec0ce8212c2f947ce9d | 54bed339ce0b76e4735c0ce7c4a358fd55d9cd12 | /core/include/GameLoop.h | 1d18fe273374580b42422cd0c817e5f7068b451b | [] | no_license | object71/AztecBlocks | 2d9edf2d4b7240cd76da8759baa6d1f322fe74ab | 646ab85e69a0c56c6c4546cb5b3ac9968502174d | refs/heads/master | 2021-07-08T05:12:23.202424 | 2020-10-12T15:23:50 | 2020-10-12T15:23:50 | 199,054,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | #pragma once
#include <chrono>
#include <memory>
#include "Interfaces.h"
class GameLoop {
private:
bool m_running;
std::chrono::milliseconds m_step;
IFullComponent& m_mainComponent;
public:
GameLoop(IFullComponent& component);
~GameLoop();
bool getRunning();
void setRunning(const bool& value);
std::chrono::... | [
"capitane71@gmail.com"
] | capitane71@gmail.com |
632636bb019fe593665c95be8f1a02ccb29ea70e | 29bce9d3c2a7a73275944f00fca9826da23a8504 | /Software/src/lib/misc.h | dbf74cf7d5e89d889299ce7fc2611f8b781bf000 | [] | no_license | gabriel-lepetitaimon/VoxPopuli | bbc72211aef0aa5789feb3e12307554cfab271a1 | ced3b7537e3332d3a586337500630369615c38f7 | refs/heads/master | 2021-06-10T20:55:17.533663 | 2016-11-16T14:42:53 | 2016-11-16T14:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,860 | h | #ifndef MISC_SAFE_H
#define MISC_SAFE_H
#include <string>
#include <vector>
#include <stdint.h>
char intToHex(uint8_t value);
uint8_t hexToInt(char value);
std::string intToHexStr(const std::vector<uint8_t> &v);
std::vector<uint8_t> hexStrToInt(const std::string& str);
class HexData{
public:
He... | [
"gabriel.lepetitaimon@gmail.com"
] | gabriel.lepetitaimon@gmail.com |
ba3502afc1165a8cc89a663509c30dba51c167bd | 098fe36aab3fec5febcd6b9e8a1bfc3b91a6a0dc | /ICP-2/Source/heartbeat/heartbeat.ino | 425ede4377b7ba2fd0bf6e97c6cf7a08849a5e38 | [] | no_license | Abdullah-otb/IOT | 79298303e4fb9696d4a68c4bf480cc453da7b59d | dfd63b9536e4f783dd22ad733b32d50be9d0b134 | refs/heads/master | 2020-07-25T12:54:43.191996 | 2020-01-21T08:12:27 | 2020-01-21T08:12:27 | 208,296,444 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,041 | ino | #include <SoftwareSerial.h>
#define DEBUG true
SoftwareSerial esp8266(9,10);
#include <LiquidCrystal_PCF8574.h>
#include <stdlib.h>
LiquidCrystal_PCF8574 lcd(0x27); // set the LCD address to 0x27 for a 16 chars and 2 line display
#define SSID "ASUS" // "SSID-WiFiname"
#define PASS "*******" // "password"
... | [
"48735557+Abdullah-otb@users.noreply.github.com"
] | 48735557+Abdullah-otb@users.noreply.github.com |
994b9441c279c8c49565ce207f654e5f776a8fc4 | c6a8eba7dedee65362948567d39595ede3bc1376 | /KGE/Core/Audio/ComponentAudioClip.cpp | 85bdf147a2160d2a7a09a6878efd03bad15e84a9 | [
"MIT"
] | permissive | jkeywo/KGE | 014718add09d6bbccf9f95513fad167e0276823b | 5ad2619a4e205dd549cdf638854db356a80694ea | refs/heads/master | 2021-01-13T01:14:48.634544 | 2014-04-16T17:14:14 | 2014-04-16T17:14:14 | 17,664,341 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | cpp | #include "KGE.hpp"
#include "Core/Audio/ComponentAudioClip.hpp"
namespace KGE
{
}; | [
"jkeywo@yahoo.co.uk"
] | jkeywo@yahoo.co.uk |
68a6b3b16efa14e674952537515e7efe5a619152 | 849dd6a635641fe095abab7ce35fe93b822e36d7 | /PhaseObserver.h | ff4ae852908178e7ec75ccd339758b19a76dac2d | [] | no_license | GuoZhihong/SMALL_WORLD | 73178bf92d940c6151d7d7371bd52a2eb7be4d61 | 7108828d291ccab24776a3ca5caa948ce2657cd3 | refs/heads/master | 2021-05-09T03:39:02.900968 | 2018-04-18T11:12:21 | 2018-04-18T11:12:21 | 119,249,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | #ifndef PhaseObserver_h
#define PhaseObserver_h
#include"Subject.h"
#include<iostream>
class PhaseObserver: public Observer
{
public:
PhaseObserver(Subject * subject, int method) :Observer(subject) { this->method = method; };
~PhaseObserver() {};
void update(int playerIndex);
int method = 0;
int locatio... | [
"noreply@github.com"
] | noreply@github.com |
837bcffbda8d47f177645bfd811c2ca988b868d5 | debeaeb3254bd496fbf0aa15529c10a8a54eec05 | /GL3DStereoTool/GL3DStereoTool/opengl/glimports.hpp | fb1ca0faddb3a204a5999987df63e5f47dffce7e | [] | no_license | GitHubGenLi/Special3DGL | 12d4599d5b4817459ff1ef7206f035ed429049ed | 15d55ab5b01ac8f24574c3d42fe8ca4e05777423 | refs/heads/master | 2021-05-29T06:54:38.954946 | 2015-10-13T16:47:50 | 2015-10-13T16:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,135 | hpp | /**************************************************************************
*
* Copyright 2010 VMware, Inc.
* All Rights Reserved.
*
* 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 wit... | [
"Tuan.Nguyen@nottingham.ac.uk"
] | Tuan.Nguyen@nottingham.ac.uk |
57c32cf35127bea375a61886b86acd2e77e8d709 | 32731bc457096c4b2f65586dd0261881ee6fbe48 | /src/popupbutton.h | c7c8b52738b59875cf6f51a752194646cf951b3a | [] | no_license | bkumpar/f3d | 0fca5af927611413d705f53a0cada0b33d17a6e0 | 9ed1d31e5d8bf741648658e5390fc44f0cd1a90a | refs/heads/master | 2023-02-08T15:36:49.859427 | 2020-12-22T22:01:46 | 2020-12-22T22:01:46 | 289,575,207 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | #ifndef POPUPBUTTON_H
#define POPUPBUTTON_H
#include <QPushButton>
#include <QMenu>
class PopUpButton : public QPushButton
{
Q_OBJECT
public:
explicit PopUpButton(QWidget *parent = 0);
PopUpButton( const QIcon & icon, const QString & text, QWidget * parent = 0);
~PopUpButton();
void addItem(QStrin... | [
"bkumpar@gmail.com"
] | bkumpar@gmail.com |
3de28c63c9ea8d0e8b6854c3370bd5c875071409 | 20ec46931fcfa8e1688b7a030bdd172e1326ea33 | /Project 4/Vampire.cpp | 85409f1b1018d64c6a4a0a540617d2cdaaaa1df7 | [] | no_license | kevharvell/CompSci_II | 871d8e868223c8fd746bab10267a02260c9ce2cf | d2b0e6a387844a171e313797e48d787c902eda13 | refs/heads/master | 2020-04-08T21:42:13.879980 | 2018-11-30T02:11:59 | 2018-11-30T02:11:59 | 159,755,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,538 | cpp | /*****************************************************************************
* Program name: Vampire
* Author: Kevin Harvell
* Date: 5/2/2018
* Description: Vampire class is a derivative of Character class. Its unique
* attributes are having 1 D12 roll for attack, 1 D6 roll for defense, 1 armor,
* and 18 streng... | [
"harvellk@oregonstate.edu"
] | harvellk@oregonstate.edu |
81e20b381e60088f74890d48723f065cac6b726f | 56440b42d3ff55809d6d1fb12f74ceb6d1a24c2e | /lib/CodeGen/CodeGenModule.cpp | 592490c5af841209c6d3c0b401f1f26ece3f432a | [
"NCSA"
] | permissive | f-akazawa/mlang | b8b3c393b78ee606ef7bba65c6b286832bcf8471 | 393edb214478d4185e594ad85ef02779002e6f72 | refs/heads/master | 2020-04-24T09:02:29.181586 | 2012-06-08T07:20:17 | 2012-06-08T07:20:17 | 34,935,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74,105 | cpp | //===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===//
//
// Copyright (C) 2010 yabin @ CGCL
// HuaZhong University of Science and Technology, China
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------... | [
"yabin.hwu@gmail.com"
] | yabin.hwu@gmail.com |
8cecd54f8be4b5d24edc16f0321a9b869d9b849f | 50cc654b7b289d888511060af8364ac8a4a87e24 | /src/network/sender.h | e9b2d62f9ba2e9ee52c398ecc016e7f2da428bec | [
"Apache-2.0"
] | permissive | EvilMcJerkface/centiman | b3febc32607ba3b8eaf81bc8d0c8de0fba06db19 | 213eab0bd391822cbc9a01644979f8409440c376 | refs/heads/master | 2021-01-17T17:21:49.160580 | 2015-10-21T22:31:17 | 2015-10-21T22:31:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | h | #ifndef __NETWORK_SENDER_H__
#define __NETWORK_SENDER_H__
#include <map>
#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include "util/counter.h"
#include <network/socket-buf.h>
#include <processor/processor.h>
#include <util/packet.h>
#include <util/queue.h>
#include <util/... | [
"bailuding@gmail.com"
] | bailuding@gmail.com |
c3732b935aae7717b42d093ace3df1e54205cb3c | 98aaa56bb0455106d46910d1dfc9d93c7196efb8 | /src/game_flow.cpp | 07f4f8414a801265a6ee0c92febabff104b49ce2 | [] | no_license | Clotho9225/2021_APT_Assignment2_Team_Coding_Everyday | a916f59f49fa9dc9b5e979083bfa94f007d1b209 | bf8b1b2d1d33dd96d7ad1c73f81ca4e983f1b9a7 | refs/heads/main | 2023-04-21T06:09:55.526935 | 2021-05-16T06:04:05 | 2021-05-16T06:04:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,700 | cpp | #include "game_flow.h"
#include "check_input.h"
void qwirkle()
{
std::cout << "Welcome to Qwirkle!" << std::endl;
std::cout << "-------------------" << std::endl;
}
void newGame()
{
std::string player1_name, player2_name;
std::cout << "Starting a New Game" << std::endl << std::endl;
std::cout << ... | [
"s3798354@student.rmit.edu.au"
] | s3798354@student.rmit.edu.au |
271a1f5bffece77a92df94481aa27fd182cddbc0 | 79f449ec9e81b170b994d7fa86e3deb0834022b9 | /src/string_repr.h | aefb45ec0f5669c405552ded83d72f9f7b82d8a4 | [
"MIT"
] | permissive | whunmr/circa | b5bfacd336024a4120be46b52b849ff5a76e93ec | f3667f2af8b46728c1475990ecdf5cf1b3dd1ee2 | refs/heads/master | 2020-04-08T02:08:24.311295 | 2013-03-01T04:37:19 | 2013-03-07T18:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | h | // Copyright (c) Andrew Fischer. See LICENSE file for license terms.
#pragma once
namespace circa {
void parse_string_repr(const char* str, caValue* valueOut);
void write_string_repr(caValue* value, caValue* stringOut);
}
| [
"paul.hodge.email@gmail.com"
] | paul.hodge.email@gmail.com |
0ed1e614ff9124d7e0c0e9d90e0f1c201f0dc1ed | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /DP/1766.cpp | b27a354d1467ada883f22cdd9682064572ee8303 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | #include<iostream>
using namespace std;
int main()
{
string s;
cin >> s;
int flag=0;
for(int i=0;i<s.length()-1;i++){
if(s[i]=='A' && s[i+1]=='B')
{
for(int j=i+2;j<s.length()-1;j++){
... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
fc36a4b54492a73b09a8528ba531435be2c1933d | 287bcb31bdf291bebc97e8acfdc5ad68eec7c7c7 | /FactoryMethod/product_a.h | 3fba4364b10ed0c9e8a6fcf5002a1e50cbdee15c | [] | no_license | henrywarhurst/design-patterns | 8cb786bc24adbd56731f2961c177ae89bfcc6c87 | ee00927b5f4af81ed8632da83a7dc76ceb7c9297 | refs/heads/master | 2021-01-21T23:04:24.501049 | 2017-06-28T09:30:20 | 2017-06-28T09:30:20 | 95,184,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | h | #ifndef PRODUCT_A_H
#define PRODUCT_A_H
#include "product.h"
class ProductA : public Product
{
public:
ProductA();
virtual ~ProductA();
};
#endif // PRODUCT_A_H
| [
"hwar3828@uni.sydney.edu.au"
] | hwar3828@uni.sydney.edu.au |
e0af6a31477f742a757fa5485ffe7690d9c77a34 | eed7d2565bf2f102386be402a99e320cbc74caa5 | /Source/Client/Game.cpp | 9ff2072e348048f9c5c8126f3079c900ae5ac2c8 | [] | no_license | edelsbrunner/Helbreath-Mysql-2016 | f3176d6261a11bb5e22bb226e17264f1c7a39cdd | 8a3a5e3aad413631b2b1606a56fa97fc317f63ec | refs/heads/master | 2021-01-01T17:58:34.456553 | 2016-04-09T10:48:55 | 2016-04-09T10:48:55 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,639,399 | cpp | // Game.cpp: implementation of the CGame class.
//
//////////////////////////////////////////////////////////////////////
#include "Game.h"
#if LANGUAGE == ENGLISH
#include "lan_eng.h"
#elif LANGUAGE == SPANISH
#include "lan_Spanish.h"
#endif
extern char G_cSpriteAlphaDegree;
extern char G_cCmdLine[256], G_cCmdLi... | [
"isolatorhk@gmail.com"
] | isolatorhk@gmail.com |
ade4daec14a709e3b90101c472a85430bc38ba68 | 25c2f64bc1a56f6634375b4481516970bbd61287 | /winebox.cpp | 8127cc774316b309cc0054bf588bfe527ee801bf | [] | no_license | keyze/wine_db | 583b316c13adb0e7477b8193c5e9f3e672f5dbc6 | 90aab57f5a5b73bf00794797692b6c9dc07f4788 | refs/heads/master | 2021-05-23T05:24:08.660998 | 2017-11-18T08:44:13 | 2017-11-18T08:44:13 | 95,182,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | #include "winebox.h"
#include <QDebug>
WineBox::WineBox(QMessageBox *parent) : QMessageBox(parent)
{
}
void WineBox::setSuccessAdd()
{
this->setWindowTitle(tr("Success!!!"));
this->setText(tr("You have successfully added the wine to your collection!!!"));
}
void WineBox::setFailAddGeneric()
{
this->setW... | [
"adam@adam.com"
] | adam@adam.com |
77d072dbec584aedba960258d11909ed0dccb322 | e83aaf423d3624748522b9adecdeb15659f5bdee | /ditfw-gfx/src/platform/wxw/WxDriver.cpp | 065af765e84f17d2569c89740d5ebeda2057317a | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | chartly/portfolio | 4b432c212968b56d6a1514efe3dae87ae9a0c0e0 | bd1782c274604f29f0edaa1407efce2a80d2c58f | refs/heads/master | 2021-01-19T18:33:16.143552 | 2016-11-29T03:03:25 | 2016-11-29T03:03:25 | 30,293,065 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 802 | cpp | /************************************************************************
*
* Flood Project © (2008-201x)
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/
#include "API.h"
#include "WxDriver.h"
namespace dit {
//--------... | [
"the.corbin.hart@gmail.com"
] | the.corbin.hart@gmail.com |
f2cd6e7e43afa3af763758c784594cc8ab69d75d | 5c6ca8bf171f500853d7cae03c00714a749ad06b | /Assignments/Assignment2/DataStructureTestFile/PriorityQueueTest.cpp | ca45a30fffd8e9ba819ce63911dab26d9571dc6b | [] | no_license | ngDuyAnh/Comp2150 | 3861541a298339717fe0b5bbbe31f052d89e4d41 | 606342a47008d8849134cfe1e0862c98e91515f4 | refs/heads/master | 2023-04-10T13:53:24.254780 | 2021-04-21T22:26:34 | 2021-04-21T22:26:34 | 330,733,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | cpp | #include <iostream>
#include <cassert>
#include "PriorityQueue.h"
#include "IntegerItem.h"
using namespace std;
// Macro
#define NUM_INSERT 6
#define INSERT 5, 2, 1, 0, 3, 4
int main()
{
// Local variable dictionary
const int INSERT_ARRAY[] = { INSERT };
PriorityQueue* testPriorityQueue = new PriorityQueue();
//... | [
"In_Drop@outlook.com"
] | In_Drop@outlook.com |
90e7a8e1a8e776734cd87ac9eaf4429524983b3c | 318cae5305ac7e881b12ab234f5576f9823c7a38 | /examples/Modules/PAJ7620/PAJ7620.ino | 8ee1323fbd32f8494c4b77cdfa43d68d712c69e5 | [
"Apache-2.0"
] | permissive | upahead/Rubik_Mini1-Arduino | e511426350be0d0afaf5eea2cfa74ac8023eeac6 | 7408c3469a07dc7dd288132af2a89f04da7f40ea | refs/heads/master | 2023-04-01T01:31:41.114309 | 2021-04-09T08:51:02 | 2021-04-09T08:51:02 | 356,197,889 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,489 | ino | #include "PAJ7620.h"
#include <Wire.h>
#define GES_REACTION_TIME 500 // You can adjust the reaction time according to the actual circumstance.
#define GES_ENTRY_TIME 800 // When you want to recognize the Forward/Backward gestures, your gestures' reaction time must less than GES_ENTRY_TIME(0.8s)... | [
"1398776451@qq.com"
] | 1398776451@qq.com |
eb7c64c45412f346eb929ab7b85644671e882a88 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/content/test/plugin/npapi_constants.h | d748bf897018251331acf6a639f54fcff8a9338e | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 390 | h | // Copyright (c) 2010 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 CONTENT_TEST_PLUGIN_NPAPI_CONSTANTS_H_
#define CONTENT_TEST_PLUGIN_NPAPI_CONSTANTS_H_
namespace NPAPIClient {
extern const char kTestComple... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
0f3294078166c164ae803ea87430c4309a4a357f | 258cb026f59dff826ada21702e6efa3f952981c4 | /Test/frametest/frametest/MyRenderWnd.h | 17f2f07efbe3b428a50360b9d6fac5f8396b4440 | [] | no_license | sryanyuan/Srender | dbac0e1aa1b1c06f41d67dc7b93d407f776434cd | bb168d969f5008e99a06bc831fbb1a3db619e3ef | refs/heads/master | 2021-01-01T17:32:05.017317 | 2014-08-14T08:06:53 | 2014-08-14T08:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef _INC_MYRENDERWND_
#define _INC_MYRENDERWND_
//////////////////////////////////////////////////////////////////////////
#include <core/SRRenderWnd.h>
#include <core/SIMessageListener.h>
//////////////////////////////////////////////////////////////////////////
class CMyListener : public SIMessageListener
... | [
"sryan@qq.com"
] | sryan@qq.com |
1f0249f5d55362e235f2f2d246391171ec27c497 | acde52b01a43888fbe5ad5179cd3b914207bc916 | /src/prems-office-problems/Test_Preparation/SW_Comp_Test_GraphMaze1.cpp | 20c211740bb38c7053774e122ffaf7d4a84adadd | [] | no_license | amitverma2/programming | 8b39615ded80f8f86f7fef56416e659b4a18c10c | 1200adb3274c12ca98eda6184797fb34c009d503 | refs/heads/master | 2022-05-04T21:34:51.639987 | 2022-04-05T21:27:43 | 2022-04-05T21:27:43 | 116,874,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,749 | cpp | #include<iostream>
using namespace std;
#define N 16
bool DFSUtil(int g[N][N], int x, int y, bool** visited)
{
if(g[x][y] == 3)
return true;
visited[x][y] = true;
if(x-1 >=0 && visited[x-1][y] == false && (g[x-1][y] == 0 || g[x-1][y] == 3) && DFSUtil(g, x-1, y, visited ) )
return true;
i... | [
"amit.verma2@gmail.com"
] | amit.verma2@gmail.com |
0a752de7658eae4a2e3ece0e3efeebca6530adc8 | a1859bbfc6cef11345ca554a85469de857d17e03 | /amqpclient/receiver.h | 0abdb8aee039d7d7f2db2aa0dea8c4effc36b30d | [] | no_license | ashraful100/Web-Service-Broker | 272cc8f3ef64fad076a73bd4529ea1c60299c7e1 | 3ff53e6bbc869c5c66abb4fc043c2cb403dee302 | refs/heads/master | 2020-06-11T12:52:34.777579 | 2019-06-26T20:26:13 | 2019-06-26T20:26:13 | 193,970,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | h | #ifndef RECEIVER_H
#define RECEIVER_H
#include <QObject>
#include <QRunnable>
#include <QDebug>
#include <QTime>
#include "qamqp/amqp.h"
#include "qamqp/amqp_queue.h"
namespace QAMQP
{
//!
//! \brief The Receiver class provides an interface to receive AMPQ data from the server
//! \ingroup amqpclient
//!
class Rec... | [
"write2ashraf_eee@yahoo.com"
] | write2ashraf_eee@yahoo.com |
8dc563ec1ce96dde2c38d2fd061f3695fe3b1515 | 521f867f59c89f63c15eabc076adc6b692e1e7d8 | /RGB7221.cpp | 78414a669a1894ec52ec2bf1cba60263fb50ecaa | [] | no_license | Oyun-Erdene/bod | 08c077d13a9068291506a332d9a727943db39990 | 769cb3b57a120e865fda14e9915df8957f15fd8c | refs/heads/master | 2021-01-13T10:19:54.828901 | 2016-10-01T17:19:25 | 2016-10-01T17:19:25 | 68,976,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | //Ogogdson tsifr hurtelh tsifruudiig neg hooson zaigaar tusgaarlan hevle. Suuliin tsifriin ard hooson zai bhk mor duusga
#include<stdio.h>
int a;
main()
{
scanf("%d",&a);
for(int b=0; b<a; b++)
{
printf("%d ",b);
}
}
| [
"holly_1227@yahoo.com"
] | holly_1227@yahoo.com |
fa4f3690003d7549899fc3ff76431060e78efe22 | 2d24f074daa64b2f8f32c55a6ff0a6f9eef41eaa | /Sources/Part12/Entity/Actor.cpp | 1ea431522fee8351bc177aa40fe7d2273f41fd60 | [
"MIT"
] | permissive | marukrap/RoguelikeTutorial2020 | f39600696b2c9de1f9e63e3f540bc7f741387fa2 | 6fbed9068dff6279f1e3a885329cc2dfaec1ad4a | refs/heads/master | 2022-12-04T11:56:17.892520 | 2020-08-20T02:33:42 | 2020-08-20T02:33:42 | 273,975,736 | 33 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,514 | cpp | #include "Actor.hpp"
#include "World.hpp"
#include "Engine/Direction.hpp"
#include "Engine/Rng.hpp"
#include <unordered_map>
#include <algorithm> // max
struct ActorData
{
char ch;
Color color;
int hp;
int attack;
int defense;
int xp;
};
namespace
{
const std::unordered_map<std::string, ActorData> Table =
{
... | [
"marukrap@gmail.com"
] | marukrap@gmail.com |
56d95a5cf1fcc6ab0d267fbd58b7ad09adfa86af | 90eab7e1e18f4f06b8aede466f5ffffbb33546d7 | /객체지향프로그래밍/2주차/DDD/DDD/DDDDlg.h | 056776899292b1a32445a1861bd7d3d5da86e075 | [] | no_license | juhyeonkwon/homeworks | 3f098cf4479ab0904600bbebab6ee2aa6660490d | bdb1e05dde5f66c124326abd3e34d725bb9c080f | refs/heads/main | 2023-03-29T04:05:08.960545 | 2021-04-04T14:47:53 | 2021-04-04T14:47:53 | 353,884,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | h |
// DDDDlg.h: 헤더 파일
//
#pragma once
// CDDDDlg 대화 상자
class CDDDDlg : public CDialogEx
{
// 생성입니다.
public:
CDDDDlg(CWnd* pParent = nullptr); // 표준 생성자입니다.
// 대화 상자 데이터입니다.
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DDD_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
... | [
"asshole96@naver.com"
] | asshole96@naver.com |
63e3cad4fd95883d829387333d879d1888ac191b | 1aa8209b02e8cb7226ff1d81e1914412041b9e97 | /Composition.h | fe5d8780f4dcc0093d26de7e9fb2dfb17eebfc96 | [] | no_license | tmyt/tsfwrapper | 9ac61a377cd26ddd94ccc70e8e7c1fcd0e9fe787 | 0f63923ccd9d36b9a997d91ef46fb27145e4d4a3 | refs/heads/master | 2020-05-17T15:23:14.404914 | 2014-08-12T05:19:44 | 2014-08-12T05:19:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | h | #pragma once
#define prop(__type, __name) \
private: \
__type m_##__name; \
public: \
property __type __name { \
__type get() { return m_##__name; } \
void set(__type value) { m_##__name = value; } \
}
#define propr(__type, __name) \
p... | [
"shigure@refy.net"
] | shigure@refy.net |
2be68a47652dd8937e7deac196ae51642c508438 | 414efe112db52b6b2309c5b7032065a23a017d0f | /Source/BearBroomstick/BearBroomstick.cpp | 0fc5adccd5fe6a97c99173806259998b0fc45f83 | [] | no_license | palaster/the-bear-and-the-broomstick | 9c7f20e8ff42ca15fc2c32d4481103f7342741b4 | 0fac775697adf402fab2d9c668ac7609dfdd9236 | refs/heads/master | 2023-01-27T15:24:32.794971 | 2020-08-25T17:32:55 | 2020-08-25T17:32:55 | 286,346,539 | 1 | 0 | null | 2020-12-07T23:36:43 | 2020-08-10T01:16:37 | C++ | UTF-8 | C++ | false | false | 163 | cpp |
#include "BearBroomstick.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, BearBroomstick, "BearBroomstick" );
| [
"palaster307@gmail.com"
] | palaster307@gmail.com |
accbb0419acd2e774fd659c047df3325c17778f7 | 18850649cfa4b5a0a813a4b1a58a28941a73f848 | /Source/FPSTemplate/HUD/SpectatorHUD.cpp | a22a98662ab75e15a0d8bd915c2fd2ca1be61270 | [] | no_license | DavidPereira00/Crown-Descendants | 4a6f3553d97eb7e3fc6f53dcb7173c4340c47fbc | 43afdcbd9ab5c79680aa9b55bcebcca15a622695 | refs/heads/master | 2023-03-23T11:59:41.042816 | 2021-03-16T23:34:24 | 2021-03-16T23:34:24 | 268,814,110 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include "FPSTemplate.h"
#include "SpectatorHUD.h"
ASpectatorHUD::ASpectatorHUD()
{
static ConstructorHelpers::FObjectFinder<UObject> NewMainWidgetClass(TEXT("WidgetBlueprint'/Game/FPSTemplate/HUD/Widgets/WBP_Spectator.WBP_Spectator_C'"));
MainWidgetClass = (UClass*)NewMainWidgetClass.Object;
} | [
"39087853+DavidPereira00@users.noreply.github.com"
] | 39087853+DavidPereira00@users.noreply.github.com |
08477eebad6f579a9a830991fcff8b9dd76081c6 | cc9db74ae72802a5682b4f9b3bcf78daa2b636ae | /nana/source/paint/image.cpp | b7881af288ac7ff8e27c945a17acfd9f90dda32f | [
"BSL-1.0"
] | permissive | testing-in-chrome/nana_test | c0e57211446a0f3958fade368c2ed819a3dac00b | 34c903a312df81ec4e82f42b2e87f29787188410 | refs/heads/master | 2020-04-06T06:04:34.542678 | 2017-03-22T07:23:51 | 2017-03-22T07:23:51 | 73,659,228 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,949 | cpp | /*
* Paint Image Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2016 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* @file: nana/pa... | [
"testing.in.chrome@gmail.com"
] | testing.in.chrome@gmail.com |
6275808330ee1710629034a06a0ecb5b93619dbe | 25c8e6cbe599a3e1a8d1eae7393e9ff8549d073f | /Lab/Gaddis_9thEd_Chap3_Prob19_MonthlyPayments/main.cpp | 35de81654330c2d392d528af155daa73284d014d | [] | no_license | juansterrr/2020_Spring_CIS_CSC_5 | ceaeb482aff7cd5d8fba9c035a662f67241b93f3 | ee2bfa465a64cadabb11da5fe2d1106c2d9f3059 | refs/heads/master | 2022-04-25T15:30:38.629797 | 2020-04-24T17:09:31 | 2020-04-24T17:09:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cpp | /*
* File: main.cpp
* Author: Dr. Mark E. Lehr
* Created on March 10th, 2020, 10:03 AM
* Purpose: Loan Problem
*/
//System Level Libraries
#include <iostream> //I/O Library
#include <cmath> //cmath library for pow function
#include <iomanip> //Format Library
using namespace std; //Libraries compiled... | [
"mark.lehr@rcc.edu"
] | mark.lehr@rcc.edu |
82404d3af79dc9e725d44ee4f52365dd8f26ac39 | 34b22618cc53750a239ee7d3c98314d8e9b19093 | /framework/samples/cmadtv/src/Windows/Planning/StatsRatingsWindow.cpp | 007f5e7e87465df00bb724f66a4798272f28ad3f | [] | no_license | ivan-kits/cframework | 7beef16da89fb4f9559c0611863d05ac3de25abd | 30015ddf1e5adccd138a2988455fe8010d1d9f50 | refs/heads/master | 2023-06-12T05:09:30.355989 | 2021-07-04T09:00:00 | 2021-07-04T09:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,392 | cpp | #include "cmadtv/Windows/Planning/StatsRatingsWindow.h"
#include <math.h>
#include "cfoundation/Enum/EnumIncrement.h"
#include "cfoundation/Math/Utils.h"
#include "csystem/Input/Input.h"
#include "cgui/Gui/Button.h"
#include "cgui/Gui/TextBox.h"
#include "cgui/Tooltip/TooltipSystem.h"
#include "cmadtv/Data/Databas... | [
"dev@oeing.eu"
] | dev@oeing.eu |
04ae1205c3dd3e2519be13f0a04c6495dd62d5f8 | c258ecfc7fd11507da15e25bfcf5c6548c6f5874 | /656A.cpp | 1ccb8f2d5b924f89494e350e526b2ce8189bdd0a | [] | no_license | sagarsingla14/Codechef | 724ae9b8563deed5cb6c8648cbc39603f0283c57 | 74384679a2eec984b2fbb762e0a8a8e8f60cc103 | refs/heads/master | 2021-07-13T17:17:34.026783 | 2020-09-27T14:07:27 | 2020-09-27T14:07:27 | 208,868,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ld long double
#define fast_io ios_base::sync_with_stdio(false); cin.tie(NULL);
int main() {
ll t;
cin >> t;
while(t--) {
ll x , y , z;
cin >> x >> y >> z;
map <ll , ll> mp;
ll mx = 0;
mx... | [
"sagarrock1499@gmail.com"
] | sagarrock1499@gmail.com |
a5a29f69d0f278a58d767c0ab6cda583a8c641e1 | cdf84839fa036ac25bdcf9bcc30f181e9aff4d8e | /key/src/main/cpp/native-lib.cpp | b11f0b38e811904f88b41aa307fc258c50aa7408 | [] | no_license | lizhifeng-sky/CustomNdk | a9874b57df6eac7684dc218a3a5a17a87bcff400 | bcfd982a5dd907aa0a1241782b3679bbced37fc3 | refs/heads/master | 2022-12-06T03:12:31.110516 | 2020-08-21T02:54:47 | 2020-08-21T02:54:47 | 289,160,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,241 | cpp | #include <jni.h>
#include <string>
#include <iostream>
extern "C"
const char *KEY1 = "密钥1";
const char *KEY2 = "密钥2";
const char *KEY3 = "密钥3";
const char *UNKNOWN = "unknown";
const char *PACKAGE_NAME = "com.android.ndk";
//(签名的md5值自己可以写方法获取,或者用签名工具直接获取,
//一般对接微信sdk的时候也会要应用签名的MD5值)
const char *SIGN_MD5 = "C3DC5A2D4FA... | [
"m13162137315@163.com"
] | m13162137315@163.com |
e181fecb358d9611232c8462a29be031dbaa000f | 6d1abcb0e471f92dfe75c28d0bdb1611af0f420f | /chatclient/chatclientcontroller.h | 54dcaa0c025063eaf2dedfb3f3c018b4d8eb1c82 | [] | no_license | igorbushin/SmallChat | a39c7e4d496dffb9537f9b15c49b86ca58176013 | 13d1e92c4106d2c24d3319ca4a4dffc116384bfe | refs/heads/master | 2020-04-28T02:19:42.648677 | 2019-03-16T14:52:38 | 2019-03-16T14:52:38 | 174,894,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | h | #ifndef CHATCLIENTCONTROLLER_H
#define CHATCLIENTCONTROLLER_H
#include "chatclientview.h"
#include "chatclientmodel.h"
class ChatClientController
{
public:
ChatClientController();
~ChatClientController();
ChatClientView *getView();
private:
ChatClientView *view = new ChatClientView;
ChatClientMo... | [
"ingvar.gorbushin@gmail.com"
] | ingvar.gorbushin@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.