blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
edb37b70681c4e288bc83321536e92770bd02aa3 | 5fa94094a15d5b39d5e8e7870fa967ccad4a2448 | /Graphics Programming Coursework 5/Graphics Programming Coursework/Coursework/Lab5/Lab1/main.cpp | 3ba20fc69cc89476d4c8ce5e4b0cfa6dbb91b991 | [] | no_license | Ignis285/Final-Submission | cc394a0a68dc0b5505678172c03007910298ab82 | 8c487ffbcf93532ff8c1ee1d3127401b248e9974 | refs/heads/master | 2020-03-17T14:50:55.672193 | 2018-05-16T15:36:28 | 2018-05-16T15:36:28 | 133,688,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | #include <iostream>
#include "MainGame1.h"
int main(int argc, char** argv) //argument used to call SDL main
{
MainGame1 mainGame;
mainGame.run();
return 0;
} | [
"39303195+Ignis285@users.noreply.github.com"
] | 39303195+Ignis285@users.noreply.github.com |
284a6012cdeed2c82c91c096070224303cf51c09 | 49e125a9e43d22706cea8f304e88c96dd20197ae | /Codeforces/number circle.cpp | f937f857099675d427bc87ef29d4cff7e681c65c | [] | no_license | tahsinsoha/Problem-solving- | b0382b7afa539715dafb1fbc40666e4051b5f7db | 7049dcc7ab9e4a59977787c2e9052055bff560a8 | refs/heads/master | 2023-01-06T02:35:56.822736 | 2020-11-04T12:15:43 | 2020-11-04T12:15:43 | 280,789,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include<bits/stdc++.h>
using namespace std;
long long arr[1000007];
long long cs[1000007];
long long ps[1000007];
int main()
{
int n;
cin>>n;
for(int i=1; i<=n; i++)
cin>>arr[i];
sort(arr+1,arr+1+n);
if(arr[n]>=arr[n-1]+arr[n-2])
cout<<"NO"<<endl;
else
{
cout<<"Y... | [
"soha97368@gmail.com"
] | soha97368@gmail.com |
e31a44d7e191444b7610adae6c4238b88e23d2f2 | 98d53212f164bbe0dd409b5e3b2c4af42fbd587d | /bin/windows/cpp/obj/src/flash/media/Sound.cpp | 9eaa53f6ed45e83c5ed248b37a80fbe54affd276 | [
"MIT"
] | permissive | scotttswan/mahjong | ff585a79eb52b7a52119f585e64a4cfb54677bc4 | 0ea3d459e06ae734a5f0ebacf306d8252731dbe0 | refs/heads/master | 2020-06-17T05:55:17.570592 | 2013-08-10T23:37:42 | 2013-08-10T23:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,560 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_flash_Lib
#include <flash/Lib.h>
#endif
#ifndef INCLUDED_flash_errors_Error
#include <flash/errors/Error.h>
#endif
#ifndef INCLUDED_flash_events_ErrorEvent
#include <flash/events/ErrorEvent.h>
#endif
#ifndef INCLUDED_flash_events_Event
#i... | [
"guillaume.b.chau@gmail.com"
] | guillaume.b.chau@gmail.com |
5d4d99518d44d6195cc749c88fb9dc6e9d350eb3 | 06c8b0e2352b80b1d6d17747ed3af08204f5688a | /src/hitable_list.cpp | 2ebf152a74aeeb50acb5bd62d2221eaa425b595e | [] | no_license | PeterZs/AnIntroductionToRayTracing | 07dac935a9eb1252a4196f02841ff2ce07daceb7 | 178656e3e24c9ab794ee010bcabc4b903a27e9c5 | refs/heads/master | 2023-06-29T22:22:26.782124 | 2018-11-12T07:32:33 | 2018-11-12T07:32:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | #include "hitable_list.h"
#include <iostream>
using namespace std;
bool hitable_list::hit(const ray& r, float t_min, float t_max, hit_record& rec) const {
// std::cout << "-------------hitable_list::hit----------------" << endl;
hit_record temp_rec;
bool hit_anything = false;
d... | [
"libingzeng123@gmail.com"
] | libingzeng123@gmail.com |
b5fda40beca089446766150a0912be78dc86247c | 52948d5149521bc5985f21f024ee1661b80240be | /05-JUNE-2019/vectorPair.cpp | b006423c8bb96ed489aa8c32bb2fa375d20f19e0 | [
"MIT"
] | permissive | mohit1018102/Programming-Questions | 5cd7d993a4b826b27b423041b26e0fdecd86027c | e5f1634d2ff1a273d289ee5f9f834cf027a8f162 | refs/heads/master | 2020-05-31T08:14:16.821447 | 2019-07-13T14:53:36 | 2019-07-13T14:53:36 | 190,183,282 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
bool comp(pair<int,int> a,pair<int,int> b)
{
if(a.second<b.second) return true;
else
return false;
}
int main()
{
vector<pair<int,int> > vp;
int key;
int n;
cin>>n;
int i;
for(i=0;i<n;i++)
{
cin... | [
"mohit1018102@gmail.com"
] | mohit1018102@gmail.com |
09629f8061ff533328fa5a58fb1e39faa51ee81e | 0c4e18c6e7cde2416d255a22332b025b426b3ff0 | /Image_Processing/Image_ProcessingView.cpp | 8a9271df79b3b5a19ff3970368071bf8f8409ac2 | [] | no_license | DengMiao55/Image_Processing | 801c5fd19a46e40a825f31a5acae5a0d6e21b837 | b4b4c6703ab3ce9f61e88140523cdab54c684f2f | refs/heads/master | 2020-04-13T14:22:22.833122 | 2018-12-27T07:17:58 | 2018-12-27T07:17:58 | 163,260,785 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 61,607 | cpp |
// Image_ProcessingView.cpp : CImage_ProcessingView 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "Image_Processing.h"
#endif
#include "Image_ProcessingDoc.h"
#include "Image_ProcessingView.h"
#include "_Histogram.h"
#include "Cplex... | [
"DM@DESKTOP-8TN62BU"
] | DM@DESKTOP-8TN62BU |
5b2bf4b574a216df75bcda02c3ecda1514ba404a | 4a1e9be1afb995789833329e319546831cded15d | /CTriangle/CTriangle/Triangle.cpp | 1c0d97755ceab5818f22054da89f2d03cb5ba157 | [] | no_license | DolgushevEvgeny/Lab6 | b51150b261e7a1ba562e1bbbc96bc7a9d80c9d8a | b747084519849c98deea694dbf074806682ae57f | refs/heads/master | 2020-04-04T12:57:21.818371 | 2015-06-03T12:24:46 | 2015-06-03T12:24:46 | 35,623,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "stdafx.h"
#include "Triangle.h"
#include <iostream>
using namespace std;
CTriangle::CTriangle(double side1, double side2, double side3)
{
if (side1 < 0 || side2 < 0 || side3 < 0)
{
throw invalid_argument("One or more sides of triangle must be more than zero!");
}
if (side1 > side2 + side3 || side2 > s... | [
"baraxlush1995@gmail.com"
] | baraxlush1995@gmail.com |
eace3d849ea68435d95935b39d54aaea94d1beba | f91b194b173ac314aa6f6d17dd5450c5573b0b55 | /src/cryptonotecore/TransactionValidatiorState.h | b86ca5bf8e9c3da9253e9ad66bdf7303070d2b17 | [
"MIT"
] | permissive | Menutra/catalyst-cli | cd9057d8d4951212b057a3b5844fe24509715eb0 | 27c2833d43a4c80f732f55932c885a03490e0469 | refs/heads/development | 2023-01-03T12:07:35.125808 | 2020-10-14T15:41:03 | 2020-10-14T15:41:03 | 303,084,231 | 0 | 0 | MIT | 2020-10-14T07:35:46 | 2020-10-11T09:22:55 | C++ | UTF-8 | C++ | false | false | 864 | h | // Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2014-2018, The Monero Project
// Copyright (c) 2018-2019, The TurtleCoin Developers
//
// Please see the included LICENSE file for more information.
#pragma once
#include "CachedTransaction.h"
#include <CryptoNote.h>
#inc... | [
"noreply@github.com"
] | Menutra.noreply@github.com |
c18e87c269fe323f48be56df2546ef2da9330cd9 | a867ea2056ae2953870f6ca92c1e9b8e0cc5c10c | /NonOffOpenFOAM/FoamCases/ppGrad/0.7/phi | c2c8e3a78c32b83586488a00c42eed6ab2e899eb | [] | no_license | enrsanqui/OpenFOAM | ca9948b29e5753a302d9d119ca26e89ea0ef969b | 32fdcf986f00e518c303058fa30ac66293782904 | refs/heads/master | 2021-01-02T23:10:15.612823 | 2017-08-29T18:44:55 | 2017-08-29T18:44:55 | 99,481,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,065 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1706 |
... | [
"enrsanqui@gmail.com"
] | enrsanqui@gmail.com | |
8768cb27110d390136dc6615c3649e170dbf5ab4 | 895594e52af5f2ef624802d6fc408573640ded58 | /leetcode/225_MyStack.cpp | dcef415907acafdf72370c0afcedc56e509ba516 | [] | no_license | NICKEY-CHEN/my_leetcode | d9c592a6a9662b7272ad0bca1befba47244ee4c8 | cbc1aea960eadc1a56fb5b5710534f74c836b4c7 | refs/heads/master | 2023-01-02T15:56:18.932954 | 2020-10-24T06:14:53 | 2020-10-24T06:14:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,537 | cpp | // @File : 225_MyStack.cpp
// @Source : https://leetcode-cn.com/problems/implement-stack-using-queues/
// @Title : 225. 用队列实现栈
// @Auther : sun_ds
// @Date : 2020/3/1
/** 题目描述:
使用队列实现栈的下列操作:
push(x) -- 元素 x 入栈
pop() -- 移除栈顶元素
top() -- 获取栈顶元素
empty() -- 返回栈是否为空
注意:
你只能使用队列的基本操作-- 也就是... | [
"1406161541@qq.com"
] | 1406161541@qq.com |
ab9761cbaad7d331fcac68efe7b28be5dd7bbb8f | 2154d6ec923d0694e0d8304105bbfc7cc74db1a9 | /memecity.engine.ecs/ECS/Query/Query.h | 45c1ebff294f5469d9f03501de54a60ef7764a80 | [
"MIT"
] | permissive | tvbronswijk/memecity | f286e1732b17f36b86acdc9886f3ec6db9842aec | f9ce0e15084e2d2ba81f2e3b85849df8b64a6d2f | refs/heads/master | 2022-01-25T21:20:09.822554 | 2018-11-12T17:24:49 | 2018-11-12T17:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | h | #ifndef _QUERY_H
#define _QUERY_H
#include <algorithm>
#include <functional>
#include <vector>
namespace memecity::engine::ecs::query {
template<class T>
using Predicate = std::function<bool(T&)>;
template<class T>
class ComponentQuery {
protected:
std::vector<std::reference_wrapper<T>> _collection;
pu... | [
"294604@student.fontys.nl"
] | 294604@student.fontys.nl |
61724ea717586033a2191e6d44d829afed68e5b1 | a5359770262d631a45089a60779d660c746151c8 | /vnext/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Color.cpp | bbf7ed0a777167a524041536976ba73406591b56 | [
"MIT"
] | permissive | doytsujin/react-native-windows | d8bed28ffff51d7901f2c09830aa7ef3a74f0bd4 | fe8000979126642d57327ac6ea5d28354d64684c | refs/heads/master | 2022-12-06T21:57:16.026611 | 2022-11-24T06:15:43 | 2022-11-24T06:15:43 | 277,171,351 | 0 | 0 | null | 2020-07-04T19:15:59 | 2020-07-04T19:15:59 | null | UTF-8 | C++ | false | false | 1,677 | cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "Color.h"
#include <Utils/ValueUtils.h>
namespace facebook {
namespace react {
bool isColorMeaningful(SharedColor const &color) noexcept {
if (!color) {
return false;
}
return colorComponentsFromColor(color).alpha > 0;
}
... | [
"noreply@github.com"
] | doytsujin.noreply@github.com |
2f91301ff39c44ffec3ab345dada1d7d2ea6ca5c | 29a04ed03c890311b8b717c8b5407a726707a573 | /src/timezone.cpp | b76e3ef68d59eaed22da4b9392e3693a652dff6d | [] | no_license | mugiseyebrows/mugi-query | a9b6fee57ad880f221bce35a79789a299549a0e3 | 6f2644d5a2120642e150269944dce7fcf5ee75c2 | refs/heads/master | 2023-08-10T07:45:57.427411 | 2022-01-21T16:29:31 | 2022-01-21T16:29:31 | 170,751,999 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | #include "timezone.h"
TimeZone::TimeZone() {
}
TimeZone::TimeZone(const QString& code, const QString& name, const QByteArray& ianaId,
const QString& utc, int offset)
: mCode(code), mName(name), mIanaId(ianaId), mUtc(utc), mOffset(offset) {
}
QString TimeZone::code() const {
return mCode;
}... | [
"mugisbrows@gmail.com"
] | mugisbrows@gmail.com |
f6a1eedb7fdb99008505209474eb44408e0a4cc2 | c64b6fd0ba595b0255cb8439a2fea7ccbcce7222 | /HBase/service/DebugInput.cpp | 90b36b44fa6a86f34e3d2afcae6b795091daa585 | [
"MIT"
] | permissive | 15118164372/Humble | ad6c748ab9ea054064fd26085cd8a89b8edad42c | 174d29019766d3e12c44c0486cd72b2eedb227f0 | refs/heads/master | 2023-01-22T17:16:28.880237 | 2020-12-06T02:35:48 | 2020-12-06T02:35:48 | 291,668,070 | 1 | 0 | MIT | 2020-12-06T02:35:49 | 2020-08-31T09:10:27 | null | GB18030 | C++ | false | false | 5,172 | cpp |
#include "DebugInput.h"
#include "NETAddr.h"
#include "HThread.h"
#include "Utils.h"
#include "writer.h"
#include "stringbuffer.h"
H_BNAMSP
CDebugInput::CDebugInput(const char *pszHost, unsigned short &usPort) : m_Sock(H_INVALID_SOCK)
{
CNETAddr objAddr;
if (H_RTN_OK != objAddr.setAddr(pszHost, ... | [
"279133271@qq.com"
] | 279133271@qq.com |
e5cd6d5b62ce3b45139fcbcdf94fe1a476e1c803 | 0818f8f137acef403b855970de92a59943116fc4 | /mainwindow.cpp | ce6a151d56e3193edd4a171bb6519188306f3707 | [] | no_license | K4rBie/CenturiaSim | 4ca0d0d1f0d22923b3e5b0449c44b878e366aef9 | b54518cb58a4f92feb3964f576d4d0bd38cc7e84 | refs/heads/main | 2023-07-21T14:05:53.345837 | 2021-09-07T07:22:30 | 2021-09-07T07:22:30 | 359,151,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
///
/// \brief MainWindow constructor sets up the main window.
/// \param parent Qt parent
///
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
scene = new MainScene(this);
//view = new Q... | [
"karolbienkowski@protonmail.com"
] | karolbienkowski@protonmail.com |
8826e898d248e96a50de2e2d4399ba7ec8ba201a | 8e1ba9ed7bdc0455940c9cbb7e08d934ac7b61c4 | /src/Model/MetabolismEndotherm.h | b56c26832a91335a899f9c3cee455aae1f5d9f59 | [] | no_license | michebio/MadingleyCPP | ea4f082542ed0245359c17b0467af1ef439689f4 | 8b9a125b9f5820003d45ee2da707e5b6b1fc2517 | refs/heads/master | 2021-01-25T01:21:31.410841 | 2017-04-25T15:30:49 | 2017-04-25T15:30:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,792 | h | #ifndef METABOLISMENDOTHERM
#define METABOLISMENDOTHERM
#include "Metabolism.h"
#include "UtilityFunctions.h"
/** \brief A formulation of the metabolism process for Endothermic organisms
\remarks Functional form and parameters taken from fitted relationship in Brown's (2004) Metabolic Theory of Ecology.
Currently ma... | [
"philjunderwood@gmail.com"
] | philjunderwood@gmail.com |
306dcb26a920d414bc735805d283d041383148fd | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_3451.cpp | 4944b5f7a9df279b2ccec0c30725a5c13b8b7222 | [] | 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 | 569 | cpp | storeAppendPrintf(entry, "\n");
storeAppendPrintf(entry, "%s basic realm %s\n", name, basicAuthRealm);
storeAppendPrintf(entry, "%s basic children %d startup=%d idle=%d\n", name, authenticateChildren.n_max, authenticateChildren.n_startup, authenticateChildren.n_idle);
storeAppendPrintf(entry, "%s basic... | [
"993273596@qq.com"
] | 993273596@qq.com |
9cb7383ef431ffbeea2a85c693b4534fbcc5ffdc | a077eb51ff18df52d741d6c9ba9a5003673415df | /cpp/modelC/mycallbackcompact/calback.cc | 01fb6d83f790c3a10aeb5070f49ec9b83836707c | [
"MIT"
] | permissive | michieluithetbroek/A-MDVRP | d4a5f2f4e742c70c9cebd7dccde9837b1f718a2f | f378333e21b874e1cfad1333df5d47dec8c7b13e | refs/heads/master | 2022-04-30T19:55:40.080660 | 2022-03-29T15:19:58 | 2022-03-29T15:19:58 | 241,376,430 | 43 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cc | #include "mycallbackcompact.ih"
void MyCallbackcompact::callback()
{
try
{
switch (where)
{
case GRB_CB_MIP:
callback_user();
break;
case GRB_CB_MIPSOL:
callback_lazy();
break;
}
// Immediately stop if CPLEX has stopped
if (g_modelSolved)... | [
"a.h.schrotenboer@gmail.com"
] | a.h.schrotenboer@gmail.com |
754177008ac464cdcfce1484e92ead379048b8a3 | ca19e9c5f59647662970220238e655f51abbf3f7 | /src/PowerBlock.cpp | f68893c4e819f4e647469cd4b8c9771a1a2dac1b | [] | no_license | DeRidderJonas/SPM | df259b444762d61f6d47b215656044349a3f045a | 32e9ba2689e4ea24594551920ee0c04ff4edec26 | refs/heads/master | 2023-08-18T12:14:17.031675 | 2021-10-09T13:41:41 | 2021-10-09T13:41:41 | 254,367,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include "pch.h"
#include "PowerBlock.h"
#include "Managers.h"
#include <iostream>
PowerBlock::PowerBlock(Texture* pTexture, Texture* pName, Texture* pDescription, const Point2f& bottomLeft)
: Item(Item::Type::PowerBlock, 150, pTexture, pName, pDescription, bottomLeft)
{
}
void PowerBlock::Use() const
{
EnemyManage... | [
"jonasderidder64@gmail.com"
] | jonasderidder64@gmail.com |
c40b555fb27018c75977f08c5e8e551f95664863 | a5f35d0dfaddb561d3595c534b6b47f304dbb63d | /Source/BansheeVulkanRenderAPI/Managers/BsVulkanDescriptorManager.h | 54ea2fd859cdffe663777762b85423b95a9c2844 | [] | no_license | danielkrupinski/BansheeEngine | 3ff835e59c909853684d4985bd21bcfa2ac86f75 | ae820eb3c37b75f2998ddeaf7b35837ceb1bbc5e | refs/heads/master | 2021-05-12T08:30:30.564763 | 2018-01-27T12:55:25 | 2018-01-27T12:55:25 | 117,285,819 | 1 | 0 | null | 2018-01-12T20:38:41 | 2018-01-12T20:38:41 | null | UTF-8 | C++ | false | false | 2,940 | h | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#pragma once
#include "BsVulkanPrerequisites.h"
#include "BsVulkanDes... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
830dc87d3274fb28ad9cec16804ecd3cc400204b | 4afc6182476e8e381ea0913f7b1205edf384a029 | /.build/iOS-Debug/include/app/Fuse.Navigation.EndSeekArgs.h | db1dbffe758c4613ece3af0892a41c14de97a5f3 | [] | no_license | noircynical/soscon_demoproject | 45a4b5594582447001c2895e24cf2e6566095a63 | aab19822fb8bc46715e6b41ac785faf7a128d9e7 | refs/heads/master | 2021-01-10T05:41:33.994651 | 2015-10-28T04:27:43 | 2015-10-28T04:27:43 | 45,085,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Navigation/0.11.3/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_FUSE_NAVIGATION_END_SEEK_ARGS_H__
#define __APP_FUSE_NAVIGATION_END_SEEK_ARGS_H__
#include <app/Uno.Object.h>
#include <Uno.h>
namespace ap... | [
"0101rgb@gmail.com"
] | 0101rgb@gmail.com |
ac50b4deca73f9c8044bb6c5b1a693cf19207971 | 76881b56c70628550c5bf3d35a4c0bb7d50d9b54 | /TJE_framework_2018/src/framework.cpp | 847cde4acc66775bed9e216983adb298a6946c5f | [] | no_license | evallsg/TJE | b36eae00ca6a3a6ae52a3e335c62eb411d4d55df | 34df0e4dc9d5db5c79699d31c40fa02e4f38d30a | refs/heads/master | 2021-09-18T07:57:40.546894 | 2018-07-11T15:04:24 | 2018-07-11T15:04:24 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 27,147 | cpp | #include "framework.h"
#include "includes.h"
#include <cassert>
#include <cmath> //for sqrt (square root) function
#include <math.h> //atan2
#define M_PI_2 1.57079632679489661923
//**************************************
float Vector2::distance(const Vector2& v)
{
return (float)(v - *this).length();
}
float Vector... | [
"eva.valls01@estudiant.upf.edu"
] | eva.valls01@estudiant.upf.edu |
2e9103917d897ccbac9978360315b867bed06043 | 62c87d66b28bdfa79b80a5b6148d2ecaea92d05e | /065_Valid Number.cpp | 847cfee5a8d118401ec24ff9242683615818fae6 | [] | no_license | ivanzjj/Leetcode | 33a5e51d4d9ecd4fb4eea11a48e9291c4d657018 | 1ab4a1943a9408a74d07356f1076d0e8b03a73be | refs/heads/master | 2021-01-10T10:28:01.022182 | 2015-06-18T08:34:55 | 2015-06-18T08:34:55 | 36,235,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp | class Solution {
public:
bool isNumber(string s) {
int sz = s.length (),i = 0;
int j = 0;
for (;j<sz;j++) if (s[j] != ' ') break;
for (;j<sz;j++) s[i++] = s[j];
i--;
while (i >= 0 && s[i] == ' ') i--;
sz = i + 1;
if (sz == 0) return f... | [
"ivanzjjcsu@gmail.com"
] | ivanzjjcsu@gmail.com |
8ba2c2922d7766ac2dd09557acc511fd3953557b | 21f5356e9fd0b3ab9ee7a5c54e30fd94bb660ee4 | /com/win32comext/mapi/src/PyIDistList.h | 9c3e9d3c651d305477bd8558d494ae55ae7ca1f2 | [] | no_license | chevah/pywin32 | 90850232a557ecf054bc316e324aaf60188f2cca | d4ff0b440147ab65f1945991e81163fb1cf1ceaf | refs/heads/master | 2020-03-29T09:46:04.465546 | 2014-10-24T09:11:17 | 2014-10-24T09:11:17 | 25,680,336 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | class PyIDistList : public PyIMAPIContainer
{
public:
MAKE_PYCOM_CTOR(PyIDistList);
static PyComTypeObject type;
static IDistList *GetI(PyObject *self);
protected:
PyIDistList(IUnknown *);
~PyIDistList();
};
| [
"adi.roiban@chevah.com"
] | adi.roiban@chevah.com |
dd6b13cb9e6aa44ed17c03a94272f96c0541a747 | ccd7b1ff51459c6a713cd92892dd72d1bba33cf3 | /programs/indexofarrayrecursion.cpp | eca36c502d7f27085611cfb35161b5046e7855de | [] | no_license | tusharkushwaha/DSA-Competitive | ebd2e77f4d2e33ba5a962026995d575d97d7b160 | 8955df752696383635df41a34ef867c11127e4d0 | refs/heads/main | 2023-06-19T04:03:25.196318 | 2021-07-23T10:51:26 | 2021-07-23T10:51:26 | 378,831,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <iostream>
#include <vector>
using namespace std;
int firstIndex(int arr[], int n, int x){
if(n==0){
if(x==arr[0]) return 0;
return -1;
}
if(x== arr[n]){
return n;
}
return firstIndex(arr, n-1, x);
}
int main(){
int arr[] {34,34,56,78,999,-3,0,12,1, 34,34};
... | [
"kushwahatushar4@gmail.com"
] | kushwahatushar4@gmail.com |
81981a1cdc89d519dc7edfbdc4e976063950af5c | 74bfc4fba3bf5bc0c296282adc7668a3f72b7561 | /src/pow.h | 61babbb1768f7e7a3c39764990857bfbd769a7e0 | [
"MIT"
] | permissive | cannabcoin1/Cannabcoin1 | b675a0f1b7d4ca7779df0119ecc402efb088d25a | 62c93ff987441e521efc5286ed6bc9072c33498c | refs/heads/main | 2023-04-04T06:06:34.221427 | 2021-03-31T05:14:13 | 2021-03-31T05:14:13 | 353,234,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2021 The Cannabcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_POW_H
#defin... | [
"81361298+cannabcoin@users.noreply.github.com"
] | 81361298+cannabcoin@users.noreply.github.com |
86bcacafb61650fd64a07ad836aa0c04885901d5 | ed59303ef60c72b843b9ac9d940f880e587619e4 | /Source/ReinforcementGame/Agents/FFloatArrayStruct.cpp | d19130b6cf4367fbf9d3cb7ac76caa9a619145ea | [] | no_license | risooonho/reinforcement-game-unreal-engine | 1d411b68bfbc981f3f96f7176d55b784e199029f | fe06302324fd56f5497161410e182708f0653f3e | refs/heads/master | 2022-02-25T19:49:26.607621 | 2019-07-27T20:03:43 | 2019-07-27T20:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FFloatArrayStruct.h"
| [
"harri.tuononen@metropolia.fi"
] | harri.tuononen@metropolia.fi |
8524c23d77c8bb14a952c93d42bea7e83931cdca | 367d75d38be7c056bdc1dad16d0b7770ccc6ca3a | /class_work/Sep26/RecursionExercise1.cc | 3c48d7d267f64c827421c3d3fb73f1f85dae8b85 | [] | no_license | NotChristianGarcia/Intro-to-Scientific-Programming | d61811d763682eea06ec88fc0e90fe7f135ace69 | 1785d0267d41e2e5adcf4ad2f50c31d8791c9d03 | refs/heads/master | 2021-10-09T15:38:58.437555 | 2018-12-29T19:37:14 | 2018-12-29T19:37:14 | 115,230,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cc | #include <iostream>
using namespace std;
int recursiveBoi(int n) {
int S;
if(n==1){
S = 1;
}
else {
S = n*n + recursiveBoi(n-1);
}
return S;
}
int main() {
int n = 100;
cout << recursiveBoi(n) << endl;
}
| [
"Christian.G21@gmail.com"
] | Christian.G21@gmail.com |
ac88e9fbe1bd7cdbff7e22f270581384fbaf15ba | 08107664a8e24364687292a7f5cc94ad7a8c47f9 | /Graphics for Games/nclgl/OGLRenderer.h | 869caeec71de01bc862b40eda18c3935b4920450 | [] | no_license | Arangear/Graphics-for-Games | 961d6b274017ee815c94dfec35da46d62d7f5b39 | c914a591417dd79f07bf14fb67c72b012b30baca | refs/heads/master | 2022-04-02T17:30:58.911729 | 2020-02-11T08:47:00 | 2020-02-11T08:47:00 | 221,978,950 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,059 | h | #pragma once
/*
Class:OGLRenderer
Author:Rich Davison <richard.davison4@newcastle.ac.uk>
Description:Abstract base class for the graphics tutorials. Creates an OpenGL
3.2 CORE PROFILE rendering context. Each lesson will create a renderer that
inherits from this class - so all context creation is handled automatically... | [
"D.Cieslowski2@newcastle.ac.uk"
] | D.Cieslowski2@newcastle.ac.uk |
be1d0cf5d1193cb6db84ba55520775f5b64418b3 | 3aae142c67a0b8f6e821b61ce366c43831669c57 | /test/common/runtime/runtime_impl_test.cc | b6e742a472e3c172bc37ca9d25a9ea85a98bd535 | [
"Apache-2.0"
] | permissive | hennna/envoy | 65e05322d3a0e654863d35f5a1e5fc1bc368b3bc | 0faf8a2f06c483c5edcb2dc466005b85c830dc9e | refs/heads/master | 2021-01-22T18:43:08.172913 | 2017-03-20T22:55:14 | 2017-03-20T22:55:14 | 85,107,259 | 0 | 0 | null | 2017-03-15T18:27:05 | 2017-03-15T18:27:05 | null | UTF-8 | C++ | false | false | 3,177 | cc | #include "common/runtime/runtime_impl.h"
#include "common/stats/stats_impl.h"
#include "test/mocks/event/mocks.h"
#include "test/mocks/filesystem/mocks.h"
#include "test/mocks/runtime/mocks.h"
#include "test/mocks/thread_local/mocks.h"
using testing::NiceMock;
using testing::Return;
using testing::ReturnNew;
namespa... | [
"noreply@github.com"
] | hennna.noreply@github.com |
6815cd83f45c87de3acad862c65e33a84e88a01c | ebec07a2df0010fe11a3905cdd009d92027e8460 | /program/Kumar_Rushil_Program_1/Sentence.cpp | d0878afe50f0817476e923b6a42607322f284625 | [] | no_license | rukumar333/cs240 | 809435574211c8cd60a2726fc7cab1cabe8c13da | e19ef4b39172ae8651d509dc4073f4a34d3937d4 | refs/heads/master | 2021-01-10T04:29:31.843584 | 2015-12-12T20:47:18 | 2015-12-12T20:47:18 | 43,622,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,796 | cpp | #include "Sentence.h"
#include "Paragraph.h"
#include <iostream>
Sentence::Sentence(){
// std::cout << "Sentence Default constructor" << std::endl;
}
Sentence::~Sentence(){
// std::cout << "Sentence destructor" << std::endl;
// std::cout << this << std::endl;
// this->show();
Node_W * iterator = h... | [
"rukumar333@gmail.com"
] | rukumar333@gmail.com |
2fbcc0e351f59303472419277c0c90d6050d7578 | 127061541e6f0c428b0a68e534e1adf26a2412f2 | /app/src/main/cpp/RendererES3.cpp | c2d844134a0bfecb671cf1867c119396672d7ae4 | [
"MIT"
] | permissive | s094392/Android-particle-collision | 057b6fc71231baa7dc14efde29a14acdf9859d70 | 28c10d6819296bb74d6de3968638e9cb03ef8bde | refs/heads/main | 2023-06-03T15:53:15.925434 | 2021-06-26T09:00:36 | 2021-06-26T09:00:36 | 365,131,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,447 | cpp | /*
* Copyright 2013 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 applica... | [
"s094392@gmail.com"
] | s094392@gmail.com |
ec5048697b474091865c2c523500bdb949ce8340 | 4fed9d2edde644962c538e01516413339846ba25 | /Final/src/ObjectFactory.cpp | 76df9aa1bae4f068c2421d92b92764549b627e7e | [] | no_license | SamiMurtaza/DragonBallZ-OOP | bfcfab86148f75f73443183728ae7dd7f65a0a19 | 906548994bff21d0d454c5d2365e532cd5b6a3ba | refs/heads/master | 2021-04-12T01:50:17.851713 | 2018-03-18T19:23:55 | 2018-03-18T19:23:55 | 125,758,955 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,845 | cpp | #include "ObjectFactory.h"
#include <sstream>
#include <cstdlib>
#include <string>
#include "Enemy.h"
#include "Game.h"
int atoi(string s)
{
// object from the class stringstream
stringstream geek(s);
// The object has the value 12345 and stream
// it to the integer x
int x;
geek >> x;
//... | [
"sm02934@st.habib.edu.pk"
] | sm02934@st.habib.edu.pk |
8e209621274b774954f1dd8256299b6b156dd7a0 | 885dfd7cbf285f88808b957475092217c5b09c68 | /2019-hpc-i/ex5_particles/main.cpp | c8269e0dd768f74d80d417427bb9c226db0f1b10 | [] | no_license | florian-world/high-performance-computing | d89c0c70ff7fb034611a7f42683aa2b0770770fb | 86c22cd31eb327d5281fb65ca24227dfd0d6cbd0 | refs/heads/master | 2022-11-18T13:51:49.443508 | 2020-07-04T09:41:38 | 2020-07-04T09:41:38 | 277,081,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,578 | cpp | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include "Profiler.h"
#include "SerialParticlesIterator_parallel.h"
#include <omp.h>
using namespace SerialParticlesIterator;
int exec_main (int argc, char ** argv, int num_threads);
int main(int argc, char ** argv) {
exec_main(argc,ar... | [
"fmahlknecht@student.ethz.ch"
] | fmahlknecht@student.ethz.ch |
2319041c2219d96e3d8a1211bdfd2acd82a0aaf2 | 4906d1d25cd4ac8410ba070a82c574b23b7f340a | /132.reverse_iterators/main.cpp | 656445b0026438e9b7727409f22fcb99357221d9 | [] | no_license | aligang/coursera_cpp | 0d4ae4a92819faebd3778979853542d738e48645 | 2996fdd2e16925f68d0cf3a8f071fb58a0d30ff0 | refs/heads/master | 2020-04-28T01:37:08.062273 | 2019-03-11T07:41:03 | 2019-03-11T07:41:03 | 174,863,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | #include <vector>
#include <set>
#include <iostream>
#include <algorithm>
using namespace std;
template <typename T>
void print_container_contents(const T& container){
for(auto it=container.begin(); it != container.end(); it++){
cout << *it << " ";
}
cout << endl;
}
template <typename T>
void p... | [
"aligang@yandex.ru"
] | aligang@yandex.ru |
7e0d478522439fa84dd5f65812926232b9cbe461 | 5ddb88cd93ad5a2bd20cd8a5651c6e68f76ce435 | /master/TradeExecMod/tradeexecmod.h | 10d752c0b2674075e14cee3f5d275285a06aadb5 | [] | no_license | gnuhub/hft-a-demo | 474a119791090970056b14503e166151e5fe9d09 | fcc005e9a178ecf1ffce7877edc9702014a0030b | refs/heads/master | 2021-04-28T23:38:01.091948 | 2016-11-18T17:59:03 | 2016-11-18T17:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,267 | h | #ifndef TRADEEXECMOD_H
#define TRADEEXECMOD_H
#include "tradeexecmod_global.h"
#include <QDateTime>
#include <QVector>
#include <QMap>
enum FuturesTransactType
{
InvalidTransaction,
BullMarket,
BearMarket,
TransactionMax
};
class TEM_EXPORT FuturesContract
{
public:
FuturesContract(quint32 symbol... | [
"Harry Lau"
] | Harry Lau |
e3264c4cdf784c53e7398bc7ee4fc4526f902bc5 | 653e06041f367be94bddb2ce5a33c3e75e1e1821 | /c11/thread/operator_e.cpp | fc5ba7c69c0782ea1448af8e75ada1dfb67d7d4e | [] | no_license | Tmplmtprogramming/test | 1686690d142a10fcf45c4ac52a152b04906fd35d | 281d81aa4321549dc58ec3a3031572688bf6aa66 | refs/heads/master | 2020-03-25T16:42:12.103674 | 2018-08-08T01:32:27 | 2018-08-08T01:32:27 | 143,943,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | // example for thread::operator=
#include <iostream> // std::cout
#include <thread> // std::thread, std::this_thread::sleep_for
#include <chrono> // std::chrono::seconds
void pause_thread(int n)
{
std::this_thread::sleep_for (std::chrono::seconds(n));
std::cout << "pause of " << n << " seconds... | [
"taeho07.kim@hanwha.com"
] | taeho07.kim@hanwha.com |
a1815703870d8365440dec13589ef26617915807 | 780e6b2f91747d6e28e2196138a5094baf059ca7 | /src/dale/Form/TopLevel/Module/Module.cpp | 60082e92217b76aaa6ba4e6d4a63336c624fd0c6 | [
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tomhrr/dale | ef9018afee813566e6319fb7256d2cf752d11969 | 8c0bbe9917b7037e316f78f0e6e55ba0587c60b2 | refs/heads/master | 2023-05-25T01:01:16.477944 | 2023-05-14T10:40:17 | 2023-05-14T10:40:17 | 10,273,216 | 1,160 | 61 | BSD-3-Clause | 2023-01-23T06:41:35 | 2013-05-24T19:11:01 | C++ | UTF-8 | C++ | false | false | 2,591 | cpp | #include "Module.h"
#include <vector>
#include "../../../Node/Node.h"
#include "../../../Units/Units.h"
#include "Config.h"
using namespace dale::ErrorInst;
namespace dale {
bool isValidModuleName(const char *name) {
int length = strlen(name);
for (int i = 0; i < length; ++i) {
char c = name[i];
... | [
"tomh5908@gmail.com"
] | tomh5908@gmail.com |
0b927aaea1883f9a873d3c176047c468da19fdd8 | 1244116da1716013f76948516bb4e11ccbe7dedf | /alife/Tile.cpp | 2e3b15450a3fac750b4a04a5f561ead1577328d9 | [] | no_license | desmondw/alife | d63bd3502b2d9829e62a91614e6e229c48ccc5e3 | 3a5754b843cad6c4d74b9f0fe73e8a028f3ffc08 | refs/heads/master | 2021-01-23T13:45:18.842358 | 2013-11-25T23:33:35 | 2013-11-25T23:33:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | #include "Tile.h"
Tile::Tile(void)
{
color = std::vector<int>(3);
makeEmpty();
}
Tile::~Tile(void)
{
}
Tile::Tile(int x, int y)
{
color = std::vector<int>(3);
status.lastLocation[0] = x;
status.lastLocation[1] = y;
makeEmpty();
}
void Tile::initialize()
{
isEmpty = false;
isCreature =... | [
"desmond@acsurf.net"
] | desmond@acsurf.net |
118e107bd21c974fb2dbf37f0a3b3a6fdc08c2f1 | 11679f3adec2b14ddeaa8b7a72536e3612bc4b44 | /sourceCode/mainContainers/sceneContainers/Registerediks.cpp | d933824b716a40e7c56464ed8fb31289b9dad363 | [] | no_license | dtbinh/vrep_altair | 26eadd039c0fe7e798b49486b187a21c743138bd | ad296b68b1deb11c49937e477ccee64b2e67050d | refs/heads/master | 2021-01-24T22:44:02.877012 | 2014-03-13T16:59:00 | 2014-03-13T16:59:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,142 | cpp | // This file is part of V-REP, the Virtual Robot Experimentation Platform.
//
// Copyright 2006-2014 Dr. Marc Andreas Freese. All rights reserved.
// marc@coppeliarobotics.com
// www.coppeliarobotics.com
//
// V-REP is dual-licensed, under the terms of EITHER (at your option):
// 1. V-REP commercial license... | [
"arena.riccardo@live.it"
] | arena.riccardo@live.it |
28fa015fc625db72ace7a108ca617e33e674ad27 | e6bf17b3e658ae3684a3875f2db79fb7ae04b8b8 | /Infoarena/bilute.cpp | fa067a1ec9422f42908869aef3f52cace2b35b49 | [] | no_license | stefdasca/CompetitiveProgramming | 8e16dc50e33b309c8802b99da57b46ee98ae0619 | 0dbabcc5fe75177f61d232d475b99e4dbd751502 | refs/heads/master | 2023-07-26T15:05:30.898850 | 2023-07-09T08:47:52 | 2023-07-09T08:47:52 | 150,778,979 | 37 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | #include<bits/stdc++.h>
using namespace std;
ifstream f("bilute.in");
ofstream g("bilute.out");
long long n;
long long va[30002];
long long dt[30002];
long long sum;
long long min1,opt1;
long long sst,sdr;
long long nrst,nrdr;
void lily()
{
f>>n;
for(long long i=1;i<=n;++i)
{
f>>va[i... | [
"noreply@github.com"
] | stefdasca.noreply@github.com |
7327e722306ac794875bd0e91d3f3e3ad5a97630 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/net/sqlite_server_bound_cert_store.h | d6777b0f1294daac502731a30e43f16ff3eb1c96 | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,931 | h | // Copyright (c) 2012 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 CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_
#define CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_
#include "base/callback_for... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
df5a0a4e28b20293e5a2305348d877af26b1545f | ab536ca6a3a4bdbc4bff89f29d9d12d9e6ef4783 | /ficha1/cap3/3.10a/main.cpp | c2d4548f0961a08ff6c218045b717b9c66a922ac | [] | no_license | marineve17/FEUP-PROG | f7ca9bdd43b4d59d9f2bd341b17cda66933f5866 | c6ce09d960530c6e8205e00132dd61117172e5f5 | refs/heads/main | 2023-04-25T12:57:50.456410 | 2021-05-10T11:47:26 | 2021-05-10T11:47:26 | 343,224,644 | 0 | 2 | null | 2021-03-31T17:01:48 | 2021-02-28T22:02:10 | C++ | UTF-8 | C++ | false | false | 495 | cpp | #include<iostream>
#include<climits>
using namespace std;
unsigned long long factorial_ite(unsigned int n) {
unsigned long long fac = 1;
if (n==0) {
return 1;
} else {
for (int i = 1; i <= n; i++) {
fac *= i;
}
}
return fac;
}
int main() {
unsigned int n;
... | [
"mariana.lobao2002@gmail.com"
] | mariana.lobao2002@gmail.com |
af793c1841b509a700d2846efe4eba726c7c4e06 | f510646a185226d0325ec66431d5e80031b190f6 | /Game-resource-collector/Classes/GameScene.cpp | b531b1c82b2309c471201b5aae02c06e092e9b3f | [] | no_license | shadowoflove/Game-resource-collector | 5591c189f3309b6305a006003a2d6f3f4a1a1b37 | 5f25e41ebd90c17ab166ca538bc38f3224e7890c | refs/heads/master | 2020-05-25T11:44:00.065791 | 2019-05-25T05:32:35 | 2019-05-25T05:32:35 | 181,503,958 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,683 | cpp | #include "HelloWorldScene.h"
#include "GameScene.h"
#include"math.h"
USING_NS_CC;
//Vec2 hero_position;
Scene* Game::createScene()
{
return Game::create();
}
// Print useful error message instead of segfaulting when files are not there.
static void problemLoading(const char* filename)
{
printf("E... | [
"noreply@github.com"
] | shadowoflove.noreply@github.com |
b00a396811233599ef660c09219ceeb2ff5dc84e | 5f7b1745029430d50ae485f3e23de72514fcac1c | /BIT.cpp | f514debc4ecf992074c9a501b7c0cb948cc2b224 | [] | no_license | manojkannekanti/Cp-templates | e98e0812d66d2266a7034f59770c916eeece9ce5 | 729334ec9fa424be9815ef3a86b210267f066961 | refs/heads/main | 2023-01-05T05:52:52.250948 | 2020-11-01T15:52:14 | 2020-11-01T15:52:14 | 309,129,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | // BIT functions
void update(ll idx , ll val , ll n)
{
while(idx <= n)
{
BIT[idx] += val;
idx += (idx&-idx);
}
}
ll query(ll idx)
{
ll sum = 0;
while(idx)
{
sum += BIT[idx];
idx -= (idx&-idx);
}
return sum;
} | [
"manojkannekanti269@gmail.com"
] | manojkannekanti269@gmail.com |
92afbf583e24590aaeb758522103069b89bf59e2 | 6bcdb9e8836cd60e972be865beb50fbfefdfa650 | /test/algorithm/loop.cpp | 1d999e694a44ce4fb793530fd44ba7b9ba4c15bb | [
"BSL-1.0"
] | permissive | pmiddend/fcppt | 4dbba03f7386c1e0d35c21aa0e88e96ed824957f | 9f437acbb10258e6df6982a550213a05815eb2be | refs/heads/master | 2020-09-22T08:54:49.438518 | 2019-11-30T14:14:04 | 2019-11-30T14:14:04 | 225,129,546 | 0 | 0 | BSL-1.0 | 2019-12-01T08:31:12 | 2019-12-01T08:31:11 | null | UTF-8 | C++ | false | false | 1,260 | cpp | // Copyright Carl Philipp Reh 2009 - 2018.
// 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 <fcppt/make_int_range_count.hpp>
#include <fcppt/tag_type.hpp>
#include <fcppt/use.hpp>
#... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
6d7d0dcb761f9519e38fc0b7283a32bdf4549247 | 35b929181f587c81ad507c24103d172d004ee911 | /SrcLib/core/fwActivities/include/fwActivities/builder/ActivitySeries.hpp | a36cd364c15c852b9a9394004a278c38a5e66d31 | [] | no_license | hamalawy/fw4spl | 7853aa46ed5f96660123e88d2ba8b0465bd3f58d | 680376662bf3fad54b9616d1e9d4c043d9d990df | refs/heads/master | 2021-01-10T11:33:53.571504 | 2015-07-23T08:01:59 | 2015-07-23T08:01:59 | 50,699,438 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,024 | hpp | /* ***** BEGIN LICENSE BLOCK *****
* FW4SPL - Copyright (C) IRCAD, 2009-2014.
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
* published by the Free Software Foundation.
* ****** END LICENSE BLOCK ****** */
#ifndef _FWACTIVITIES_BUILDER_ACTIVITYSERIES_HPP_
#define _FWACTIVITIES_BU... | [
"fbridault@IRCAD.FR"
] | fbridault@IRCAD.FR |
dc016a3d076581b8c4ec7e9d10b6fd50ba428d82 | 41d873a906ef5428f66057242663cb8b3f6e17b4 | /src/test_adapter_pairing.cpp | 2e923b57e1d3db702c40a2c8560690af1afde1cf | [
"Apache-2.0"
] | permissive | webosce/bluetooth-sil-api | d1358097446fdd41cdaa899dc33c4530769063a9 | 766fd78438aa4a8cca5f47d6aa5edff797b4a951 | refs/heads/webosce | 2021-09-10T00:53:44.119299 | 2018-09-29T05:00:18 | 2018-09-29T05:15:10 | 145,511,828 | 0 | 1 | Apache-2.0 | 2021-09-08T13:14:57 | 2018-08-21T05:37:33 | C++ | UTF-8 | C++ | false | false | 29,193 | cpp | // Copyright (c) 2015-2018 LG Electronics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | [
"vijaya.sundaram@lge.com"
] | vijaya.sundaram@lge.com |
09aac15942e9566e69af66dd45f15f50cd4faf32 | 41193455be0c5ce5ef6c76176d85239fc7c8bbca | /parse.cpp | 4eeb84bb9e1075286982a2d32e4ac74bc1b72721 | [] | no_license | boohyung/callgraph | bd67e34ad0089807fd2a379ef22bae08e77ec629 | c137165f341f951827eb29d1af239bf23c6c867f | refs/heads/master | 2021-01-17T11:44:45.645070 | 2013-12-19T12:23:14 | 2013-12-19T12:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <iostream>
#include <fstream>
#include <regex>
#include <unordered_map>
using SymbolTable = std::unordered_map<std::string, std::string>;
SymbolTable getSymbolTable(std::string symbolFileName) {
std::ifstream traceFile(symbolFileName);
std::regex regularExpression ("(.*?);(.*?);(.*)");
SymbolTable tabl... | [
"ckkashyap@gmail.com"
] | ckkashyap@gmail.com |
2a53e352c6050c671b76f2364557294ecf76a060 | 23ce02516ff239f0ff985ab79d6679ef1ca6bf4f | /src/cpp/JNIExceptions.cpp | 9df45bde6556c54cb0974af249a7bdaeeb8151a6 | [
"Apache-2.0"
] | permissive | Syncleus/aparapi-native | 7c4c51b39fb5ceed8735214d00974ff8674fb859 | bdfdb0b45c8a5105907500ec5cee701d92e35a19 | refs/heads/master | 2021-05-01T01:21:07.505881 | 2021-02-16T16:09:11 | 2021-02-16T16:09:11 | 71,058,532 | 3 | 7 | Apache-2.0 | 2018-09-14T12:16:15 | 2016-10-16T15:17:49 | C++ | UTF-8 | C++ | false | false | 869 | cpp | #include "JNIExceptions.h"
jint throwNoClassDefError( JNIEnv *env, char *message )
{
jclass exClass;
char *className = "java/lang/NoClassDefFoundError";
exClass = env->FindClass( className);
if (exClass == NULL) {
//Make JVM crash...
return throwNoClassDefError( env, className );
}
... | [
"jeffrey.freeman@syncleus.com"
] | jeffrey.freeman@syncleus.com |
a168f8a4707cc30a246f4cb6db34164359c7aaa8 | aded2eae845f25bc38055bae3f6eb1c5aedeaf8e | /Ders-14/include/square.hpp | fbad19a9e3e6c20908cac9a7c355ab0090b63297 | [] | no_license | Elixir-Hero/OpenGLEgitim | c9a90dfc50dd38354edefa52b5427eaf446b4097 | bd5e20304b00ef3062b1da36a393a52283dfbf03 | refs/heads/master | 2023-04-23T14:22:49.369858 | 2021-05-03T14:58:31 | 2021-05-03T14:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | hpp | #ifndef SQUARE_HPP
#define SQUARE_HPP
#include<glm/vec3.hpp>
#include<glm/vec4.hpp>
class Square
{
public:
enum DIRECTION
{
DIR_RIGHT = 1,
DIR_LEFT = -1,
DIR_UP = 2,
DIR_DOWN = -2
};
Square(float x,float y,float length);
glm::vec3 getPosition();... | [
"kayar@sakarya.edu.tr"
] | kayar@sakarya.edu.tr |
bff44dd87c395ca440c81b9efb95abd128711230 | 68f09242018f971b2c68ccdfacbaaf67a8cb71b0 | /cpp/柠檬水找零.cpp | bf558065429c4f0e4ca7ddeb2e9e8a739e87a505 | [] | no_license | liujitong858/myLeetCode | a83842dd818d17046eb0fab2cc61e574ce58e0d1 | 78612811b0d049ae5392c75a2ea3aa98ad445af2 | refs/heads/master | 2021-04-02T10:01:50.390708 | 2020-06-25T15:17:37 | 2020-06-25T15:17:37 | 248,260,991 | 0 | 0 | null | null | null | null | WINDOWS-1253 | C++ | false | false | 1,129 | cpp | #include<map>
#include<vector>
using namespace std;
namespace leetcode860 {
class Solution {
public:
bool lemonadeChange(vector<int>& bills) {
if (bills.empty()) return false;
map<int, int> packet;
for (int i = 0; i < bills.size(); ++i) {
if (bills[i] == 5) {
packet[5]++;
}
else if (bills[... | [
"liujitong858@gmail.com"
] | liujitong858@gmail.com |
507f4b3e09a0bf391bec8f4d4a790905e9fadf5a | a2f6660488fed555d720cc0df72ae2cfd526d0ec | /src/hssh/local_topological/area_detection/labeling/variable.h | 40ea29aa83e6b34ec32a25eba50c3863d88607c1 | [
"MIT"
] | permissive | h2ssh/Vulcan | 91a517fb89dbed8ec8c126ee8165dc2b2142896f | cc46ec79fea43227d578bee39cb4129ad9bb1603 | refs/heads/master | 2022-05-03T02:31:24.433878 | 2019-05-04T17:12:12 | 2019-05-04T17:12:12 | 184,834,960 | 6 | 11 | NOASSERTION | 2022-04-29T02:03:07 | 2019-05-04T00:21:10 | C++ | UTF-8 | C++ | false | false | 3,108 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
8885611a9bd9ed34de4c7b5f8e74a19f556c0c66 | 65fb3b520fc037c9de2ede72ac7f97989f30be61 | /common/SocketInit.cpp | 4f3d5f8314613ea48a76d104c319a3899458eb06 | [] | no_license | l0yuee/RemoteControl | ccb8158a2ad56e923b4d78510ce7ab450e309608 | 032adbd88602cf8edbd60071eb84d38656f2104f | refs/heads/master | 2021-01-06T12:37:40.633493 | 2020-02-18T15:38:26 | 2020-02-18T15:38:26 | 241,328,246 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include "SocketInit.h"
// 全局socket初始化对象
SocketInit socket_init;
SocketInit::SocketInit()
{
// 初始化socket环境
WORD wVersionRequested = MAKEWORD(2, 2);
WSADATA wsaData;
if (::WSAStartup(wVersionRequested, &wsaData)) {
return;
}
}
SocketInit::~SocketInit()
{
::WSACleanup();
}
| [
"707655216@qq.com"
] | 707655216@qq.com |
08a752263cad3aebcb68a64e28960a40c82c5e4f | c8d066cd7d7c037c1884419eea1ef4335dac4d58 | /flow-meter/flowmeter.ino | f505043bbe36584958a6b8bfc3ee5de72f4d8117 | [] | no_license | i3detroit/custom-mqtt-programs | c92f03ed5b8bd154f17ae9f47d51e2f03356b5b6 | 112b89e45da64501f98bfb3ab74ad3e6215a7871 | refs/heads/master | 2021-06-04T11:49:43.107125 | 2021-01-23T21:22:02 | 2021-01-23T21:22:02 | 107,081,034 | 5 | 1 | null | 2020-02-24T16:31:37 | 2017-10-16T05:15:17 | C | UTF-8 | C++ | false | false | 1,881 | ino | /*
MQTT enabled flow meter
Based on https://github.com/abzman/esp-stuff/blob/master/esp_mqtt_flow/esp_mqtt_flow.ino
Mike Fink
*/
#include "mqtt-wrapper.h"
#ifndef WIFI_SSID
#define WIFI_SSID "i3detroit-iot"
#endif
#ifndef WIFI_PASSWORD
#define WIFI_PASSWORD "securityrisk"
#endif
#ifndef MQTT_SERVER
#define MQTT_... | [
"mkfink@gmail.com"
] | mkfink@gmail.com |
68077039f92141c2aae424e34f8dc927773286f9 | d4724390d0589ccca17e159f01e24c869e0d4752 | /Phoenix/PX2Engine/Application/PX2GeneralServer.hpp | 3fcdd82427441a0d0279e476bc50c56b74b0cdbe | [] | no_license | yuanxudong/PhoenixIoT | 1d095bd5f06f0d5ba186c5f7525f31ccf1b40748 | a87f1ef8cc61ce7038aa9295d173f9eb36758a61 | refs/heads/master | 2020-03-28T20:33:55.032028 | 2017-06-17T09:18:43 | 2017-06-17T09:18:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | hpp | // PX2GeneralServer.hpp
#ifndef PX2SIMPLESERVER_HPP
#define PX2SIMPLESERVER_HPP
#include "PX2NetPre.hpp"
#include "PX2NetServer.hpp"
#include "PX2Singleton_NeedNew.hpp"
namespace PX2
{
const int GeneralServerMsgID = 2;
enum GeneralServerCallType
{
GSCT_ON_CONNECT,
GSCT_ON_DISCONNECT,
GSCT_ON_RECVEDMSG,
... | [
"realmany@qq.com"
] | realmany@qq.com |
020771fc1e784c18d4883e8eb4ccf77a89337d46 | 731290e0efdc1d0747ab779e4d6ffb16332d4c81 | /astcodegen.cpp | 26b9c3247ace6b740f09e602e821213d71424599 | [] | no_license | keyboardspecialist/blang | 1ac466825759da7ad2ad86fc0a8e47e3c9476061 | 9d50b57adf6a88eaaffecc6882455ba823f78537 | refs/heads/master | 2020-05-19T11:14:22.513663 | 2015-12-17T17:54:11 | 2015-12-17T17:54:11 | 25,808,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,434 | cpp |
#include "astcodegen.h"
#include "log.h"
namespace Blang
{
void IRBuilder::Init(std::string& moduleName)
{
m_context = llvm::getGlobalContext();
m_module.reset(new llvm::Module(moduleName, m_context));
LOG_MSG("LLVM IR Module [%s] created...\n", moduleName.c_str());
LOG_MSG("LLVM IR Environment initiali... | [
"professor.person@gmail.com"
] | professor.person@gmail.com |
1e42cfd9858cac2a3c7375c5d35b936bd04323db | 08efd3804656dbe81d06fdc6d12f5a46ee7c8ecf | /PkServer/ini_file.cpp | 75bda8992dadfe4a0d30561b8c870a438bb596f0 | [] | no_license | zhoushx1018/appsvrsrc.20110713 | 54f96cec5464b2e1651dd3eeb51e0e76d85374a5 | f49eda9d6b385a4f7f6b96fc5e0a16f09e122c42 | refs/heads/master | 2021-01-25T07:40:18.939910 | 2012-05-16T01:27:03 | 2012-05-16T01:27:03 | 4,342,434 | 2 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 6,400 | cpp | #include "ini_file.h"
Option option;
int initLog(const char* cfg)
{
IniFile _file;
if(!_file.open(cfg)) return -1;
string dir,size,num,priority,prevname;
if ( _file.read("log","dir", dir) ) return -1;
if ( _file.read("log","size", size) ) return -1;
if ( _file.read("log","num", num) ) return -1;
if ( _file.r... | [
"zhoushx1018@gmail.com"
] | zhoushx1018@gmail.com |
e5f62e112ebf461ee4c0be7e0de6f68d479a914c | b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a | /kratos_2_2_0/applications/structural_application/custom_utilities/maped_space.h | 633e9e728fc7d8ce372429b8e1786dea5ed121f0 | [] | no_license | svn2github/kratos | e2f3673db1d176896929b6e841c611932d6b9b63 | 96aa8004f145fff5ca6c521595cddf6585f9eccb | refs/heads/master | 2020-04-04T03:56:50.018938 | 2017-02-12T20:34:24 | 2017-02-12T20:34:24 | 54,662,269 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,291 | h | /*
==============================================================================
KratosStructuralApplication
A library based on:
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi, Janosch Stascheit, Feli... | [
"pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a"
] | pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a |
778518553fd52d3599f392b26c6bb200f121dd0a | fbdf270a9e2c4bb265aad1651844420c4c1be1e5 | /src/run/common.cpp | 09b54c7237513590f838f10615c0a3fa89d69f3e | [] | no_license | colin-daniels/sp2 | fd05e6fd4cb28989b014357e187bd009417bc357 | 48e384860d6ed3bb5c6c0f6d51bd9ec50ef19a28 | refs/heads/master | 2022-04-04T01:46:05.866212 | 2020-02-21T22:49:35 | 2020-02-21T22:49:35 | 82,116,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include "run/run_types.hpp"
#include "common/json/json.hpp"
using namespace std;
using namespace sp2;
int sp2::generate_defaults(std::string filename)
{
Json::Value output;
// the default constructed values of the fields in the settings structures
// are the actual defaults for the program
run_sett... | [
"colin.r.daniels@gmail.com"
] | colin.r.daniels@gmail.com |
541879f40b5544607465609587857c92ebfe0830 | 3488515b33bdafbdb4ba2dd652e309b311255891 | /content/browser/portal/portal_browsertest.cc | d0fba3d5dbb36272bf5bd4237ece92722e78c747 | [
"BSD-3-Clause"
] | permissive | Jishun/chromium | bbacceb5d7b29a5cb0b17612c109e2b6560f9735 | 309b078c964e2b61edfe87c29581dab4410eaa25 | refs/heads/master | 2022-11-30T00:36:27.261439 | 2019-10-09T03:59:15 | 2019-10-09T03:59:15 | 212,290,313 | 0 | 0 | BSD-3-Clause | 2019-10-10T03:05:03 | 2019-10-02T08:30:28 | null | UTF-8 | C++ | false | false | 63,803 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/bind.h"
#include "base/callback.h"
#include "base/test/bind_test_util.h"
#include "base/test/scoped_feature_list.h"
#include "build/build_c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
666060d289899d76443c3c2500b4994ef43e641a | e5337e5e455f782f3e9648377642e126f47cea1c | /Cpp/src/serializers/xml/BlacklistXmlHandler.cpp | 2c76acbb6e8e1c6d6ff27e75d40c510b91b860fd | [] | no_license | bradserbu/semantria-sdk | 99857469ddfe86427921ee63c0240b833daad624 | 99b09b0e2a66a888daa1407fe597624f9a4033e0 | refs/heads/api3_51 | 2021-01-15T17:21:23.107077 | 2014-05-28T18:45:58 | 2014-05-28T18:45:58 | 31,917,878 | 0 | 0 | null | 2015-03-09T19:26:15 | 2015-03-09T19:21:57 | C++ | UTF-8 | C++ | false | false | 924 | cpp | #include "BlacklistXmlHandler.h"
#include <cstdlib>
BlacklistXmlHandler::BlacklistXmlHandler() {}
BlacklistXmlHandler::~BlacklistXmlHandler() {}
void BlacklistXmlHandler::startElement(void* user_data, const xmlChar* name, const xmlChar** attrs) {
Stub_Blacklist* stub = static_cast<Stub_Blacklist*>(user_data);
... | [
"george@semantria.com"
] | george@semantria.com |
51df4be28943fe7604d1695b53cc61ae446bf2f0 | 608c6ab5fbebd3db707bc92c6ea80eab75915c25 | /chp13/13.42/TextQuery.cpp | 7f8c9c7d67fdad625ac9aabfe8597ac32a187cf0 | [] | no_license | yzs997/c-primer | bbae8cdeb430ad678cb37f98627760a8947a12f1 | 8c565121c15d5116a149c511a7ebad8dcab8dff3 | refs/heads/master | 2021-08-26T08:11:53.050990 | 2017-11-22T11:16:22 | 2017-11-22T11:16:22 | 109,663,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | #include "TextQuery.h"
#include "QueryResult.h"
#include <sstream>
#include <algorithm>
#include <cstring>
#include <iterator>
using namespace std;
TextQuery::TextQuery(ifstream &ifs) : input(new StrVec)
{
size_t line_no = 0;
for (string line; std::getline(ifs, line); ++line_no)
{
input->push_back(line);
istri... | [
"noreply@github.com"
] | yzs997.noreply@github.com |
6a34ab1d3498b1e3d02bc99dfd02ee4b733baf2e | 7e99ff09589b112bee70c4223319566beedffaf5 | /Utilities/ScreenShot.h | e2658c5cc0a520e26b06b147cf9def46a692603f | [] | no_license | MarkoSterbentz/LaserMappingDrone | 079d86c736d4fd992f3fadaaaa0d532662876036 | 37c00aed4f7cb199de9cda79de623b3f17478d46 | refs/heads/master | 2020-04-06T06:54:29.344994 | 2016-08-18T22:53:45 | 2016-08-18T22:53:45 | 46,240,373 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 788 | h | //
// Created by volundr on 7/23/16.
//
#ifndef LASERMAPPINGDRONE_SCREENSHOT_H
#define LASERMAPPINGDRONE_SCREENSHOT_H
#include <GL/glew.h>
#include <SDL.h>
#include "Camera.h"
namespace LaserMappingDrone {
struct ScreenShotTaker {
GLuint fbo, colorBuffer, depthBuffer;
uint32_t width, height;
... | [
"cochgale@isu.edu"
] | cochgale@isu.edu |
6e7c1a289d39da0fa346ff25a736d7c609a97e78 | 41c90d180f016a524c893e7259a3643c89131986 | /src/SeptemberLunchTime2020/root_the_tree.cpp | 40d5800aface6897454867f7330480bbf83de940 | [] | no_license | piyushatri7/Codechef_Solutions | e1e8b2ce24dc0d2db19961f7b258a8b97dedd448 | 702b6f1ac1b84a977e212c0851e2eed77b86355d | refs/heads/main | 2023-03-05T00:09:59.023793 | 2021-02-15T16:47:26 | 2021-02-15T16:47:26 | 300,359,317 | 2 | 3 | null | 2020-10-02T06:04:02 | 2020-10-01T17:10:22 | C++ | UTF-8 | C++ | false | false | 1,776 | cpp | /*
Problem Link: https://www.codechef.com/LTIME88B/problems/ROOTTREE
Editorial: https://discuss.codechef.com/problems/ROOTTREE
A directed tree is a directed graph such that if all edges were undirected, this graph would be a tree. A rooted directed tree is a directed tree in which there is one vertex (the root, let's ... | [
"chauhanmanish1258@gmail.com"
] | chauhanmanish1258@gmail.com |
d42c9c6b02e660d84cff4e5400045d796f45ed1d | 569d64661f9e6557022cc45428b89eefad9a6984 | /code/gameholder/regular_maoxian_220.cpp | 3557c248e38ade025818da9eaa2a478edf498a35 | [] | no_license | dgkang/ROG | a2a3c8233c903fa416df81a8261aab2d8d9ac449 | 115d8d952a32cca7fb7ff01b63939769b7bfb984 | refs/heads/master | 2020-05-25T02:44:44.555599 | 2019-05-20T08:33:51 | 2019-05-20T08:33:51 | 187,584,950 | 0 | 1 | null | 2019-05-20T06:59:06 | 2019-05-20T06:59:05 | null | UTF-8 | C++ | false | false | 13,036 | cpp | #include "gameholder_pch.h"
#include "regular_maoxian_220.h"
#include "scene.h"
#include "checkpoint.h"
#include "event_define.h"
#include "point_monster.h"
#include "point_touch.h"
#include "point_treasure.h"
#include "point_barrel.h"
#include "point_trigger.h"
#include "monster.h"
#include "spawn.h"
#include "point_b... | [
"judge23253@sina.com"
] | judge23253@sina.com |
fff6e1b6de0ff66d8a954425018d83ff4099bb40 | 1062bdb24cf5f11b54cfe6764b1cce31c47cc05d | /Ultrasonic.ino | a2d4d56d22a7dd985549ecec6b549ee78c57319e | [] | no_license | GregoryNikolaishvili/AquaGod2 | 26421dfd7d2de5890896ae7ae3fa199a27a91e30 | a51583b0cd47c17b78212956f602efbeb9b311d5 | refs/heads/master | 2020-03-07T17:18:26.417941 | 2019-01-20T10:06:21 | 2019-01-20T10:06:21 | 127,607,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | ino |
NewPing sumpSonar(PIN_ULTRASONIC_SUMP_TX, PIN_ULTRASONIC_SUMP_RX, 100); // NewPing setup of pins and maximum distance.
NewPing aquariumSonar(PIN_ULTRASONIC_AQUARIUM_TX, PIN_ULTRASONIC_AQUARIUM_RX, 100); // NewPing setup of pins and maximum distance.
const int SUMP_FULL_DISTANCE = 110; // mm
const int SUMP_EMPTY_DIST... | [
"gianick68@gmail.com"
] | gianick68@gmail.com |
3641a660d7d4f2bc661c730dc25cee267856fa49 | c9529415d99db6ffc5f967252efc7aa41ab0697f | /src/script.h | 7459128f1b433c0547de2ff8032bc8d0e4cd2e73 | [
"MIT"
] | permissive | cryptofun/honey | 9491a65c0f1d29ddd61a86131912daef9ff0c53f | 1d77b7d071225c0cc586c6264321614722c36449 | refs/heads/master | 2021-10-23T01:21:10.845009 | 2021-10-14T17:24:07 | 2021-10-14T17:24:07 | 84,506,945 | 3 | 16 | MIT | 2018-10-18T04:11:10 | 2017-03-10T01:43:35 | C++ | UTF-8 | C++ | false | false | 26,697 | h | // 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.
#ifndef H_HONEY_SCRIPT
#define H_HONEY_SCRIPT
#include <string>
#include <vector>... | [
"cryptostiltskin@gmail.com"
] | cryptostiltskin@gmail.com |
d844efc66f92670742c72ec4c42ef4bc59d529f3 | ba9322f7db02d797f6984298d892f74768193dcf | /cr/src/model/UpdateRepoSourceRepoResult.cc | 46e98e8410197ae4428ebd7e7268412aefd2852f | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,249 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
f844033879ef18bbab6e9ad846398c3ee40c76a0 | 7d8627273662415b2cd64c3c32fb18c613dacd79 | /src/hough/cPtOfCorrel.cpp | d09891a48e2a4c23da7c8e0c5c05f9962f61a101 | [] | no_license | caomw/micmac | 0a60d17341a353e645926e7bf7c03eee8f10a971 | 9233424efe81da6c710194eec4c58c20c35ee83e | refs/heads/master | 2021-01-09T06:33:16.126905 | 2015-03-16T14:37:04 | 2015-03-16T14:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,052 | cpp | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... | [
"helio@kde.org"
] | helio@kde.org |
b79892c46aba449c463cb0154a2c5ca52718794a | 068c7138de17cb53f03ea639ca12e8379b554a67 | /ExamenPracticoV2/ExamenPracticoV2/Form1.h | 61b4671643e871133ed4095d7f69bc725a051079 | [] | no_license | LeonardoADS08/Estructuras | b3c341e3f00b7e699318bb64488616d787193935 | 9f4108747269bd4e7c35e0543ddae6b5612d5b53 | refs/heads/master | 2021-08-08T17:34:43.606253 | 2017-11-10T19:42:36 | 2017-11-10T19:42:36 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 21,104 | h | #pragma once
#include "INTERFAZ.h"
#include "Aplicacion.h"
namespace CppCLR_WinformsProjekt {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
INTERFAZ<int> ... | [
"diegojj1205@hotmail.com"
] | diegojj1205@hotmail.com |
7fc239165f7ad89af86937657a63d662f5689624 | ac453c5afa6797e11411fa07f9bf491c989e59fd | /include/api/SgfxObject.hpp | cfc966cd433dff1e1f7bd5a32613b2c2a0598d13 | [
"BSD-3-Clause"
] | permissive | charanyaarvind/StratifyAPI | 0344a3b13b933cde242221677fbb9f91301645ef | adfd1bc8354489378d53c6acd77ebedad5790b4f | refs/heads/master | 2020-03-27T11:14:38.510797 | 2018-08-28T03:06:57 | 2018-08-28T03:06:57 | 146,473,720 | 0 | 0 | BSD-3-Clause | 2018-08-28T16:10:27 | 2018-08-28T16:10:27 | null | UTF-8 | C++ | false | false | 748 | hpp | #ifndef API_SGFX_OBJECT_HPP
#define API_SGFX_OBJECT_HPP
#include "WorkObject.hpp"
#include "InfoObject.hpp"
#include "../var/Data.hpp"
namespace api {
/*! \brief Sgfx Information Object
*
* \details
* \sa sgfx namespace
*
*/
class SgfxInfoObject : public virtual InfoObject {
};
/*! \brief Sgfx Work Object
* ... | [
"tyler.w.gilbert@gmail.com"
] | tyler.w.gilbert@gmail.com |
bdb0b915f3dbbefec48f65822821d433f16aff16 | 6b699791f9fffc67a7b1bb14f5e42397a8501030 | /8/zisshuu/8_5_test.cpp | 0dd5b1a88801db99d6850ba3abf6370b1ebd8012 | [] | no_license | lastcat/CRenshuu | 1f0a3e6386d20ee9358cba22d7ac43138c0ff967 | 73cfeb3d921f74e69c0338a1a37350a8d6dc2fa4 | refs/heads/master | 2021-06-01T20:20:43.306709 | 2018-07-23T02:24:18 | 2018-07-23T02:24:18 | 34,800,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include <gtest/gtest.h>
#include "8_5.h"
TEST(is_bowel_TEST, vowel_case){
EXPECT_TRUE(is_vowel('a'));
}
TEST(is_bowel_TEST, not_vowel_case){
EXPECT_FALSE(is_vowel('s'));
}
GTEST_API_ int main(int argc, char **argv){
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"kokodoko966@gmail.com"
] | kokodoko966@gmail.com |
f8ac6b91664c9850490f07abd8027ebf3cb4076b | 690b60a57f85bdce71e614676c305e2492fb7608 | /QCIFSServer/SocketServer/cTCPStream.cpp | 5ee0ab51211aab255f60ba81dd21f4c520cfc659 | [
"Apache-2.0"
] | permissive | rodrigomr/VFS | b07886c0a97bf08c2853fa3182e90eba6ff6ff4e | 6b68b00df8cb668106c2d0841cbcd46138298717 | refs/heads/master | 2020-03-30T13:54:59.627030 | 2018-10-02T12:06:43 | 2018-10-02T12:06:43 | 151,293,022 | 0 | 0 | NOASSERTION | 2018-10-02T17:12:38 | 2018-10-02T17:12:46 | null | UTF-8 | C++ | false | false | 2,915 | cpp | // Copyright 2018 Grass Valley, A Belden Brand
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | [
"drjwcain@gmail.com"
] | drjwcain@gmail.com |
f196724018084d04add5bad9b616394236edaee3 | 3067c803546279e2bf4cc4f255734cc31ace4b42 | /src/llvm-backend/llvm_ir_codegen/ir_codegen_visitor.h | d0500f65426c9b6ab5ec2d0c49946904cec3b76b | [
"MIT"
] | permissive | zeta1999/bolt-1 | bf13b10909312afa63ebfbdc1d398e15d66f284c | 5543a135edc67bd8054141cbf99d68c44df59fb9 | refs/heads/master | 2022-11-19T07:19:32.345292 | 2020-08-02T12:00:56 | 2020-08-02T12:00:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,183 | h | #pragma once
#include <stdlib.h>
#include <string>
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "src/llvm-backend/deserialise_ir/class_ir.h"
#include "src/llvm-backend/de... | [
"mukul.rathi@gmail.com"
] | mukul.rathi@gmail.com |
1643002ac40028e909c5a108fa74d1577ed9ab3f | a3057af531a1fb7ce3730b604cc974b4a5555c8b | /test_consoleLib/src/lib/Console.cpp | 770e8c9f61a5f90fa1d6a5a6d3e76be236977204 | [] | no_license | DanielGav/RedLib | fc07626899cb50f2e2abf9b476082b93aa0b8dcd | 8a0cdb38416ca3ded7717c464043c877870b86cd | refs/heads/master | 2020-12-03T00:24:28.313114 | 2017-11-02T17:24:33 | 2017-11-02T17:24:33 | 96,026,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | /*
* Console.cpp
*
* Created on: 29 may. 2017
* Author: dani
*/
#include "Console.h"
#include <iostream>
#include <cstdlib>
#include <termios.h>
#include <unistd.h>
#include <stdio.h>
namespace BlackLibrary {
Console::Console() {
// TODO Auto-generated constructor stub
}
Console::~Console() {
// TOD... | [
"danielgav@192.168.0.19"
] | danielgav@192.168.0.19 |
0ffae06b9ffbe11ea23ac3448b47e3c11538c508 | d245f6697d3023b0f2319a3c567c7e986c85ebee | /src/qt/intro.cpp | 57e06c043ff9738b7cdc02a6052c9f681fccaa4f | [
"MIT"
] | permissive | ProfProfcompile/zarcash-OLD- | cecd17a58272ab718719c1eeb80f4df0694b74b2 | 13a3a1244b636e54a5bcbac5413b5416f5d72113 | refs/heads/master | 2020-05-03T21:26:18.556284 | 2019-06-15T17:22:31 | 2019-06-15T17:22:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,003 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2017 The ALQO developers
// Copyright (c) 2018 The ZARCASH developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COP... | [
"noreply@github.com"
] | ProfProfcompile.noreply@github.com |
552ba54ca74bdd50f6dfb744c43994d6802492ae | f18846fb927d9e7375edaf9bd3b7e124121d26ca | /BlockTree/BlockCache.cpp | cffa412f87733b8355f393bd4b8670e024fbdc9d | [
"LGPL-2.0-or-later",
"BSL-1.0",
"LGPL-2.1-or-later"
] | permissive | corecode/PothosFlow | 60230e54fee770bbdc9e650e6573781971911d89 | 6d38d8800f83086fd1f453cea3498b58f0b75a45 | refs/heads/master | 2022-04-23T17:01:31.930326 | 2020-03-27T20:12:46 | 2020-03-27T20:12:46 | 257,629,303 | 0 | 0 | BSL-1.0 | 2020-04-21T14:54:20 | 2020-04-21T14:54:19 | null | UTF-8 | C++ | false | false | 5,276 | cpp | // Copyright (c) 2014-2017 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#include "BlockTree/BlockCache.hpp"
#include "HostExplorer/HostExplorerDock.hpp"
#include "MainWindow/MainSplash.hpp"
#include <Pothos/Remote.hpp>
#include <Pothos/Proxy.hpp>
#include <QJsonDocument>
#include <QFuture>
#include <QFutureWatcher>
#... | [
"josh@joshknows.com"
] | josh@joshknows.com |
de3191cab04093db20c2f0ac681c20140fa745b9 | 23be620dff72f183dd02216770ff7fd53e5e6562 | /8.17/2-3(백준 11437).cpp | 0742bfa51d6ddad6eedb34a49ef2e4fe502d8cbf | [] | no_license | 11im/algoritm_study | f021d3da6b62d4e9f6d5fc124eb093b2cd2449bb | 298970ca608634c4c45fe554ab7a768d1be013b3 | refs/heads/master | 2023-08-21T15:52:59.783864 | 2021-10-05T11:59:13 | 2021-10-05T11:59:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | cpp | //https://www.acmicpc.net/problem/11437
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
#define MAX 50001
int N, M;
vector<int> Node[50001];
queue<int> Q;
bool Visited[50001];
int Parent[50001];
int Depth[50001];
void Input(){
cin >> N;
for (int i = 0; i < N... | [
"ijh4565@naver.com"
] | ijh4565@naver.com |
0d76fbd648dbeda1eb00038c8bea87ddae75b817 | 92b6aaade5a3f323d7f8e7d02fb9fec09f4c2f50 | /CP-Codes/cn_1.cpp | a113b057dc4f4c92cb17a7557cccd7115e4b5621 | [] | no_license | suraj1611/Competitive_Programming | 846dee00396e2f2b6d13e2ea8aaed444a34062af | 82bd88081ac067ad4170553afedc6c479bb53753 | refs/heads/master | 2020-04-22T17:27:18.116585 | 2019-12-16T19:42:29 | 2019-12-16T19:42:29 | 170,541,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | cpp | /* Code by : Suraj (@suraj1611) */
#include<bits/stdc++.h>
#include <string>
using namespace std;
#define ll long long int
#define rep(i,n) for(int i=0; i<n; i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
#define mx INT_MAX
#define mn INT_MIN
#define md 1000000007
#define pb push_back
#define mp make_pair
#define maxs... | [
"surajsk1611@gmail.com"
] | surajsk1611@gmail.com |
c57758dac76923836010f67575ee6c19eb65e0d5 | a430483e9b08beb65652525556669ee6659b1f99 | /ARC061/C.cpp | cb5f87dc90f7b8cd4f21541989b3edf4f4b89567 | [] | no_license | yago-10/atcoder | 11689ce52be511a5fc8138614334dc7f6ca361fd | 4c2218de674ace03fe11f7941d63f7c4977b86a2 | refs/heads/main | 2023-06-04T08:40:59.893604 | 2021-06-22T05:48:35 | 2021-06-22T05:48:35 | 379,140,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
int main()
{
string S;
cin >> S;
int tmp;
ll ... | [
"ctronronron@gmail.com"
] | ctronronron@gmail.com |
bfe87d921cae6ce5a81197a90144bde7eb9bc37b | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h | 145d63a6fe61e1cb0bba76fe447da1c3d1db3424 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 2,644 | h | //===- SymbolVisitorCallbackPipeline.h --------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"bclayton@google.com"
] | bclayton@google.com |
cbf69c5835435adc76307945bc26b8a43dcdcf3f | 5b5a547bed11dd1ca28e7787f2528d6311e27cc3 | /src/IOLayerNix.cpp | b7c06c94a8b371bbcb5249b8235c40b9a81e1e0a | [] | no_license | RicardoLuis0/TEdit | fec47ce81d9b6fad081313a2974b9cad8b1aa0c9 | 0c269b9684bae9b05fdd7d632261561fbaf61c59 | refs/heads/master | 2023-01-22T19:28:46.372114 | 2020-11-27T13:07:31 | 2020-11-27T13:07:31 | 286,796,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,970 | cpp | #include "IOLayer.h"
#include <stdarg.h>
#include <stdio.h>
#include <termios.h>
#include <stdlib.h>
namespace TEdit {
int tedit_main(int,char **);
}
int main(int argc,char ** argv) {
return TEdit::tedit_main(argc,argv);
}
namespace TEdit::IOLayer {
termios old_mode;
static void cleanup(){
... | [
"ricolvs123@gmail.com"
] | ricolvs123@gmail.com |
c89656cebf82b64bd96b1b1a7bcd81527ebe1ac8 | 066cd062f509cd7f0dd1932ee33997667aa75a8d | /WORDCNT.cpp | f0971dbf36f133b2b436d42092a5429441d08651 | [] | no_license | rhayatin/C-- | 5581b2f283edd119a5cf5245962b8e04b1b0baa1 | 14589f3ffb1433af2afe10dddb1c585f467ce2d1 | refs/heads/master | 2021-01-24T03:02:53.479832 | 2014-08-05T11:29:17 | 2014-08-05T11:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,673 | cpp | #include<stdio.h>
//see about the first element if its included in ans.
#include<string.h>
int max_cnt,val,prev_cnt,curr_size,prev_size,t,index1=0,nxt=0,max_index;;
char str[20005];
int find1(int nxt)
{
int i;
for(i=nxt;i<max_index;i++)
{
if(str[i]==' '&&str[i+1]!=' ')
return i;
}
return max_index;
}
int find(... | [
"dtu.unknown@gmail.com"
] | dtu.unknown@gmail.com |
d367b1cb0c223955d8b4c9f27259c3623db4d875 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /kms/include/alibabacloud/kms/model/UpdateKeyDescriptionRequest.h | 2c562f91b7ae7011789abe128127b54c446291bb | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,499 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
ddf32453c9c4ca144358095d056e9d12cd5b1bfd | fc0b0697f2c693bbe34d4d8e8d39306ebd73db24 | /folder/DSA milestone/Milestone 4-Star Patterns/mirror_right_triangle.cpp | a138880ee853f35cbd3ce15b4b98717628dcff96 | [] | no_license | Shivani0701/DSA_BUDDY | 348070d177c5e4342cecb07cfd3198f02c527635 | dcd0e3a6d140cab6c173fd87cad2d123236f9b8a | refs/heads/main | 2023-06-01T03:10:24.938523 | 2021-07-04T15:39:53 | 2021-07-04T15:39:53 | 370,741,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | /*
print mirrored right triangle star pattern
*
**
***
****
*****
*/
#include<iostream>
using namespace std;
int main()
{
int i,j,n;
cout<<"Enter the number of rows:";
cin>>n;
for(i=1;i<=n;i++)
{
for(j=n;j>=i;j--)
{
cout<<"*";
... | [
"noreply@github.com"
] | Shivani0701.noreply@github.com |
6bde307c8d2885a77664593e97507bfbe43755c6 | 81c66c9c0b78f8e9c698dcbb8507ec2922efc8b7 | /src/domains/acs/targets/Resource.cc | 238abb5fe26b02531abb4cda91dbd368cf7f9d46 | [
"MIT-Modern-Variant"
] | permissive | Argonnite/ptolemy | 3394f95d3f58e0170995f926bd69052e6e8909f2 | 581de3a48a9b4229ee8c1948afbf66640568e1e6 | refs/heads/master | 2021-01-13T00:53:43.646959 | 2015-10-21T20:49:36 | 2015-10-21T20:49:36 | 44,703,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cc | static const char file_id[] = "Resource.cc";
/**********************************************************************
Copyright (c) 1999 Sanders, a Lockheed Martin Company
All rights reserved.
Permission is hereby granted, without written agreement and without
license or royalty fees, to use, copy, modify, and distrib... | [
"dermalin3k@hotmail.com"
] | dermalin3k@hotmail.com |
31d17b2ab87da1b7607ee107b1937869d3a11333 | 3bc50e3b268b8113ecc4ee568757d66a13376757 | /Codes/sad evren sekerci 4.2.cpp | 1552f297cbe41f49535cde0cea6c55cd8d854208 | [] | no_license | OzanUmutSarisen/Preparatory-Class | d76e57d2bd0c99cac1ccc286d9e09aa41368915d | e2e381dade8b39b6f19586c0e482c0f568a286e8 | refs/heads/main | 2023-02-18T12:45:06.862839 | 2021-01-11T05:26:02 | 2021-01-11T05:26:02 | 328,556,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include<stdio.h>
int main () {
int a = 0;
while (a<=20){
printf ("\n\t%d",a);
a++;
}
}
| [
"72633414+OzanUmutSarisen@users.noreply.github.com"
] | 72633414+OzanUmutSarisen@users.noreply.github.com |
f3fdd481a6d1ac3ffaf49201c360dea8521c115b | 5ae1a7309e722faa08e777995b71da7c69ae9338 | /binomial-coefficients/general-floats.cpp | 83d21f93a491184affade5e35a74832bcb9981bd | [] | no_license | simonlindholm/simd-book | 26c4c6649b50c1aff56719d854a60963972b4784 | 68e5153b9dee41f57fa01340a9e3c0bd8dd1423d | refs/heads/master | 2022-11-09T13:16:12.913465 | 2020-06-20T13:46:58 | 2020-06-20T13:46:58 | 267,157,030 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,793 | cpp | #pragma GCC optimize ("O3")
#include <bits/stdc++.h>
using namespace std;
#define rep(i,a,b) for (int i = (a); i < (b); ++i)
typedef long long ll;
typedef uint32_t u32;
ll euclid(ll a, ll b, ll &x, ll &y) {
if (b) { ll d = euclid(b, a % b, y, x);
return y -= a/b * x, d; }
return x = 1, y = 0, a;
}
ll crt(ll a, ll... | [
"simon.lindholm10@gmail.com"
] | simon.lindholm10@gmail.com |
f7cef36e76234d46c8bea99d3304610e57456b8e | 8bf3a88138ce1fb6ebb7888d342e9e2852bbbd64 | /RADS_client/Reading_state.cpp | 35e0078cba0b57ff3707cf6d2e13736c39ec7490 | [
"BSD-2-Clause"
] | permissive | tm-kn/rads | df69479d2327dafa0bd4a7c8674f734e75df0fa6 | 4cbbeb3023333dd4c399c991768c611fe4f24415 | refs/heads/master | 2020-05-30T19:40:03.302577 | 2017-03-24T20:34:17 | 2017-03-24T20:34:17 | 83,682,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,967 | cpp | #include <iostream>
#include <unordered_map>
#include <thread>
#include "Reading_state.h"
#include "../RADS_common/Sensor_reader.h"
using std::cout;
using std::endl;
using std::unordered_map;
using std::pair;
using std::thread;
using Readings::Sensor_reader;
namespace RADS_client {
namespace State {
Rea... | [
"u1562595@unimail.hud.ac.uk"
] | u1562595@unimail.hud.ac.uk |
495100a587dad323a3cd74dc2346b4663c318791 | 522405b3eec6c668576b44abc9f5d6f91a543ebd | /Audio/esp32-i2s-mems-master/examples/InputSerialPlotter/InputSerialPlotter.ino | df1eaed61343ae47d7a5793044bae6fffe127204 | [] | no_license | dotiendungbk/ESP32_audio_I2S | 8342555d5275dd2d7a7c850d1b03c3fe58a6014b | b0b4a14e1b2538b54c5034e68b57b9c60988b8d0 | refs/heads/master | 2020-06-02T11:40:00.386249 | 2019-06-11T04:52:28 | 2019-06-11T04:52:28 | 191,142,401 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,306 | ino | /**
* ESP32 I2S Serial Plotter Example.
*
* This example is based on the espressif-idf example and Public Domain.
* @author maspetsberger
*/
#include <driver/i2s.h>
const i2s_port_t I2S_PORT = I2S_NUM_0;
const int BLOCK_SIZE = 1024;
int32_t samples[BLOCK_SIZE];
void setup() {
Serial.begin(500000);
Serial.... | [
"dotiendungbk@gmail.com"
] | dotiendungbk@gmail.com |
d1745efbdd95e87789d98ef4d4d0327a207554b6 | f52bf7316736f9fb00cff50528e951e0df89fe64 | /Platform/vendor/samsung/common/packages/apps/SBrowser/src/media/base/android/media_player_listener.cc | 8eab0db87c195f3b376da0439152befe98f2d325 | [
"BSD-3-Clause"
] | permissive | git2u/sm-t530_KK_Opensource | bcc789ea3c855e3c1e7471fc99a11fd460b9d311 | 925e57f1f612b31ea34c70f87bc523e7a7d53c05 | refs/heads/master | 2021-01-19T21:32:06.678681 | 2014-11-21T23:09:45 | 2014-11-21T23:09:45 | 48,746,810 | 0 | 1 | null | 2015-12-29T12:35:13 | 2015-12-29T12:35:13 | null | UTF-8 | C++ | false | false | 4,251 | cc | // Copyright (c) 2012 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 "media/base/android/media_player_listener.h"
#include "base/android/jni_android.h"
#include "base/bind.h"
#include "base/logging.h"
#include... | [
"digixp2006@gmail.com"
] | digixp2006@gmail.com |
3b2a1a8d653c2deaf62a86f69afec295386e2791 | bb6b3f0b3101cd153db54130469279c2a77c7cde | /src/CLI/States/ParamStates/PriorityParamState.cpp | 2a0d882ec9731111aace27a05c6cda2f3b759bae | [] | no_license | RodionShyshkin/ToDoList | d1394f5bc41df412d6f0ff53a55cd88102d90766 | 2e1f34080c595fd5a83d9609bfba42866d0e7a0a | refs/heads/master | 2023-01-07T19:20:30.790925 | 2020-10-27T02:00:28 | 2020-10-27T02:00:28 | 279,855,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | //
// Created by rodion on 8/27/20.
//
#include <States/Validator.h>
#include "PriorityParamState.h"
StateResult PriorityParamState::run(std::shared_ptr<Context> context) {
output(context->io_);
if(!input(context->io_)) return StateResult::INCORRECT_INPUT;
context->add_task_buffer_.setPriority(param_);
retu... | [
"rodion.shyshkin@teamdev.com"
] | rodion.shyshkin@teamdev.com |
d5aee3d8dcd469416e7fad963d254c7995ad02aa | 8781e68e843010c16501a0bbeb1a1a00a2319fcc | /hpp file of dll file,named:Transfer.h | 27dcfc0dfc6c57cc7196d19085484fd58fc4f84f | [] | no_license | zenwa970331/built_dll | 0c321ea5fc51b5ec14d473bb9170cdba173405fd | 3ee511bb81b68a081def3d70ec361d8c40774cfa | refs/heads/main | 2023-05-30T18:24:19.613763 | 2021-06-28T09:09:53 | 2021-06-28T09:09:53 | 380,962,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | h | #pragma once
#include <opencv.hpp>
#include <iostream>
#ifdef BUILD_DLLTRANSFER //看是用_declspec(dllexport)还是_declspec(dllimport)
#define API_SYMBOL _declspec(dllexport)
#else
#define API_SYMBOL _declspec(dllimport)
#endif // BUILD_DLLTRANSFER
using namespace cv;
using namespace std;
struct sTransfer
{
Size2f m_SizeD... | [
"noreply@github.com"
] | zenwa970331.noreply@github.com |
1061f4c71822ada6d564a3527b2cb5d5c5a7945f | 943b97f75eb55570e02b868a47cac743386c46b5 | /Arduino_Final_GME/Arduino_Final_CADJAVA.ino | 7fe5603a81efa66e548f908725ce25190dd1eae2 | [] | no_license | AbdelhamidLarachi/PimpMyFrigde-JAVA-ARDUINO | 794ecf41f57265015ea0740a48ef09dd6282aad0 | c3265f3d18484f6c212d19984cbe705976f88f18 | refs/heads/master | 2020-04-09T19:11:38.659588 | 2018-12-05T15:50:39 | 2018-12-05T15:50:39 | 160,536,466 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | ino | //Abdelhamid Larachi
#include <math.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include "thermistance.h"
#include "send.h"
#include "calcdht.h"
#define PELTIER 3
//Variables
int chk;
double celsius;
float consigne;
double V_IN = 5.0; //Alimentation électrique
int ledPin = 10;
int power = 0;
int peltier_level =... | [
"noreply@github.com"
] | AbdelhamidLarachi.noreply@github.com |
eb190a8b680187c3f9678d3abe34fe2adf791320 | 596f29b3d005bd8b88dd7c410f22c790d8c8d967 | /projectOne/源.cpp | 26dbf82cbd69d58ed87e8fd7daf7bf3dedcd71f9 | [] | no_license | happyMH/Clock_FlTK | 1fdf6b11940c169fd6b4604ffef2e9f1ad2d608c | b4f1b0ecf48f925b0684455393466124c961a01c | refs/heads/master | 2020-06-10T18:52:05.894936 | 2016-12-08T05:13:40 | 2016-12-08T05:13:40 | 75,905,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include "C_clock.h"
//------------------------------------------------------------------------------
int main()
{
Clock c;
c.display();
}
| [
"吕明辉@DESKTOP-VM9I9DI"
] | 吕明辉@DESKTOP-VM9I9DI |
b18738ec816c0ea11378fcc62b1fb51a29ab362b | e4d781ed68af63a8cffb657428494e93d41c5ca5 | /Uri_1429.cpp | 8bb6749e4145f6fc1d74e6cf781e681b77781595 | [] | no_license | viniciushfr/Uri | ac3d7fe92f75f2f17174650951550a1f272a9d22 | 9e28ccc7f87d1204e61df4841d1f42b6785cffae | refs/heads/master | 2021-01-18T18:37:03.232736 | 2017-03-31T22:55:47 | 2017-03-31T22:55:47 | 86,864,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | #include <iostream>
using namespace std;
int main(){
string num;
int vetor[5] = {1,2,6,24,120};
cin >> num;
while(num!="0"){
long long int x = 0;
for(int i=0;i<num.size();i++){
x += (num[i]-'0')*vetor[num.size()-1-i];
}
cout << x << endl;
cin>> num;
... | [
"noreply@github.com"
] | viniciushfr.noreply@github.com |
e3b8c6daecaf8efd4caff2b15c2a09d7b77af0f4 | d2368788859349d299b06b02c82c84cad13a9674 | /src/21_MergeTwoSortedLists/main.cpp | 9db5758f67bb704718a395c2ed025abca8e58499 | [] | no_license | wildpea/leecode | c03e6e6819c4a9f0b15fa0df98a4a88d2da388dd | 76b071a06287d651735adfc240fc47457227f4e2 | refs/heads/master | 2021-08-02T12:29:49.291718 | 2021-07-22T02:56:49 | 2021-07-22T02:56:49 | 172,698,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | cpp | #include <string>
#include <set>
#include <map>
#include "gtest/gtest.h"
#include "gflags/gflags.h"
#include "glog/logging.h"
using namespace std;
/**
* Input: 1->2->4, 1->3->4
* Output: 1->1->2->3->4->4
*/
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
void pt_... | [
"wildpea.long@gmail.com"
] | wildpea.long@gmail.com |
220537e9e8fa14bc14fa3ce56cb88f418b65db2f | 3860db035ca76ad830fcba7ce524579179ea5e8a | /1144.cpp | 4dde778b6f05abaf69f7e69bdef901c2b5141845 | [] | no_license | andongfan/oicode | f9cdec6259a4091cdde4e0f476f9200474ead8b6 | 4af2a53aa8a7e423ed220258a6a7f1606358250b | refs/heads/master | 2021-09-26T19:37:08.248281 | 2018-11-01T15:51:22 | 2018-11-01T15:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{ char a;
int sum=0;
while (1)
{
cin>>a;
if(a=='#') break;
if(a=='a'||a=='A') sum++;
}
cout<<sum;
return 0;
}
| [
"anthonyfan2018@163.com"
] | anthonyfan2018@163.com |
5182dcc50ea358e48b8c346c6835cea0fb23218c | 79dda9f6ef1c9e8388f8ad91edf32d49f5a5891f | /perception/object_finder/src/gearbox_finder_fncs.cpp | 7e18c76db3e9a6748071c70aca9f92cfbddc7859 | [] | no_license | devanshg-ml/Autonomous-shopping-Cart-ROS | bf9b0106f970af9191d82edeac9a663a7886db24 | 0a525d1188e52926178e2f20ecd2ef7f4364fa86 | refs/heads/main | 2023-06-02T17:14:22.193585 | 2021-06-20T16:31:19 | 2021-06-20T16:31:19 | 378,689,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,928 | cpp | //! This is the source code for finding the gearbox bottom and gearbox top
/*
*Note: may want to use functions defined in object_helper_fncs.cpp, including:
void ObjectFinder::find_indices_box_filtered(pcl::PointCloud<pcl::PointXYZRGB>::Ptr input_cloud_ptr, Eigen::Vector4f box_pt_min, Eigen::Vector4f box_pt_max, vecto... | [
"dxg397@case.edu"
] | dxg397@case.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.