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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
366251a53bd473d15b3305aa878b3d6d51bee819 | 6ac96a57f2d6e1f1fca264209b76811909df8681 | /cf/526/b.cpp | 4cd92e724e73e505179d672e0709fb8ef001c62e | [] | no_license | SBidaibek/acm | ac85ca9b5ae158113e95c3d851c76c61ccd04c6f | b358a79f8753d2c3f9888ab8a5b22b0ec25d15db | refs/heads/master | 2020-04-22T17:19:43.625322 | 2019-02-15T06:22:14 | 2019-02-15T06:22:14 | 170,537,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | #include <bits/stdc++.h>
using namespace std;
#define forn(i, x, n) for (int i = int(x); i <= int(n); ++i)
#define for1(i, n, x) for (int i = int(n); i >= int(x); --i)
#define F first
#define S second
#define pb push_back
typedef long long ll;
typedef pair <int, int> pii;
typedef pair <ll, ll> pll;
type... | [
"sanzhar.bidaibek@gmail.com"
] | sanzhar.bidaibek@gmail.com |
2335c4db417e44903e6fd265f9361eb2258c67e2 | d87b74caa36c207a10e4340ca91bc93a6a0e3384 | /src/Popo/BaseItem.h | 351949a2171cb592ccf5e910e387870691ae58cb | [
"Unlicense"
] | permissive | yangzhiming/popo | aeb82a1cad13ccb40358fbcaa8847a33c77516f7 | 598b93befa2f00214b6d236050048d7da231443f | refs/heads/master | 2020-05-31T16:47:27.514938 | 2013-09-26T09:33:32 | 2013-09-26T09:33:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #ifndef _BASE_ITEM_H_
#define _BASE_ITEM_H_
class BaseItem
{
public:
BaseItem(void) {}
virtual ~BaseItem(void) {}
virtual void Draw(Graphics* pGraph) = 0;
virtual BaseItem* Clone() = 0;
virtual void Update(float fDelta) = 0;
};
#endif //_BASE_ITEM_H_ | [
"yzmforever@163.com"
] | yzmforever@163.com |
c7f58301e3046e7f513284722fd7255473dcd422 | 7002f9baf2a838a4d148b1df221b2fb2dbcbcaaf | /Simulator/srSimulator/Systems/NAO/Ball.cpp | c879820d4061831bd9e7e2413a9beceea231a0bf | [] | no_license | jainajinkya/Sejong_Dynamic_Control_Toolkit | 7edfd69696408a19fe95f4a5594e2767d25cc97e | 811d4ff64b89a06f6a8e1cc9dcf851163c8f06e1 | refs/heads/master | 2021-08-14T23:02:50.910091 | 2017-11-16T23:42:21 | 2017-11-16T23:42:21 | 111,034,351 | 0 | 0 | null | 2017-11-16T23:35:41 | 2017-11-16T23:35:41 | null | UTF-8 | C++ | false | false | 863 | cpp | #include "Ball.h"
Ball::Ball(double x, double y, double z, double d, double mass, double rest){
for( int i(0); i<NUM_BALL; ++i){
ball_.GetGeomInfo().SetShape(srGeometryInfo::SPHERE);
ball_.GetGeomInfo().SetColor(0.324f, 0.12f, 0.12f);
ball_.GetGeomInfo().SetDimension(d, 0.0, 0.0);
... | [
"dk6587@utexas.edu"
] | dk6587@utexas.edu |
ff91b99f8604bfd42c435ff1dad0b19007c256ce | 2b7607fa78bf83b2515b9de2f9b40d15c81c2ab2 | /Examples/include/CheckTopology.h | 4f4412b548660a949e73a9d88f29b28a01474336 | [
"Apache-2.0"
] | permissive | ANTsX/ANTs | 3176341b8de664939eafde3e1ebf8c449809a9dd | dfd9e6664f2fc5f0dbd05c6c23d5e4895e82abee | refs/heads/master | 2023-08-24T20:43:33.986495 | 2023-08-08T18:23:45 | 2023-08-08T18:23:45 | 7,777,650 | 899 | 286 | Apache-2.0 | 2023-09-10T18:38:59 | 2013-01-23T15:43:41 | C++ | UTF-8 | C++ | false | false | 304 | h |
#ifndef CHECKTOPOLOGY_H
#define CHECKTOPOLOGY_H
namespace ants
{
extern int
CheckTopology(std::vector<std::string>, // equivalent to argv of command line parameters to main()
std::ostream * out_stream // [optional] output stream to write
);
} // namespace ants
#endif // CHECKTOPOLOGY_H
| [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
2f8490aaa091d7ece7860b51ab82932c3849068f | 9eaee5c68f53ee3749167fb8d941f6d4d841ba9e | /Editor/QStringAndQVariant.h | c6f52b06d37fd5ce32206049fd9f42931de69e76 | [] | no_license | 0xlitf/Editor | ad78293b27a198b1699c0f0ae5b062e8fe772c7e | 61baaf8fcf2f516eb2b2e66970dcddb1bc421f69 | refs/heads/master | 2023-05-24T02:39:01.996225 | 2016-01-02T17:00:25 | 2016-01-02T17:00:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | h | #ifndef QStringAndQVariant_h__
#define QStringAndQVariant_h__
#include <QString>
#include <QVariant>
class QStringAndQVariant
{
public:
QStringAndQVariant(void);
~QStringAndQVariant(void);
static QVariant stringToVariant(QVariant::Type type, const QString &);
static QString vairantToString(const QVariant &);
};
... | [
"calciferlorain@gmail.com"
] | calciferlorain@gmail.com |
2a077ac5955bfbbd79cc1fc6f8689c4346073803 | e7810ab9687b6e929eb081f4e50e4fec43330b8a | /fit_curve/fit_curve.cpp | 9ab000802a0e92109edf835f2c194f5ac00c66fb | [] | no_license | marcel1hruska/fit_curve | a0a28167ed8f9761ce6e46bfd8f33b77ff49ac77 | d4435f82877972f6957ab5200a6d8de819434e7f | refs/heads/master | 2020-09-13T14:29:50.308480 | 2019-11-20T00:32:43 | 2019-11-20T00:32:43 | 222,816,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,959 | cpp | /*
C++ implementation of
An Algorithm for Automatically Fitting Digitized Curves
by Philip J. Schneider
from "Graphics Gems", Academic Press, 1990
*/
#include<string>
#include<iostream>
#include<cmath>
#include"fit_curve.h"
#define MAXPOINTS 1000
using namespace std;
/*
* FitCurve :
* Fit a Bezier curve to a s... | [
"marcel1hruska@gmail.com"
] | marcel1hruska@gmail.com |
e2e15ca8627308286c8d64b12ceddc88fa85d655 | 5b80db0924330e5d76618662421d0bcac07af132 | /src/optimization/LocalCompression.cpp | 1e48be499d833af0d45101a28670990b785427b1 | [
"MIT"
] | permissive | Mookel/VC4C | 25129e2260c3ae5cdbdc92e8dc0f392fc3118a30 | d72978253820e4175fa591206dedda6c586068b3 | refs/heads/master | 2023-06-07T10:43:58.594891 | 2021-06-21T15:20:13 | 2021-06-21T15:20:24 | 357,043,822 | 0 | 0 | MIT | 2021-04-12T03:20:39 | 2021-04-12T03:20:39 | null | UTF-8 | C++ | false | false | 5,083 | cpp | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "LocalCompression.h"
#include "../InstructionWalker.h"
#include "../Method.h"
#include "../intermediate/VectorHelper.h"
#include "../intermediate/operators.h"
#include "CompilationError.h"
#include "log.h"
#inclu... | [
"stadeldani@web.de"
] | stadeldani@web.de |
46927eca55c611b623381ae689653f629aecf300 | 1b1114a96b826f8d1de0eafca1e38db57d4ff7c7 | /src/algorithm/deimosV1.cpp | 3bf4c7d7fe67b06079e7e53f7647a2b48c8e0de9 | [
"MIT"
] | permissive | TheSonOfDeimos/network-routing-optimization | beb0d19c7020ca106a02e23406daf28c97bc1406 | 7030b5cf333f19ab68952b6841463f4cfd664895 | refs/heads/main | 2023-05-08T01:02:08.619010 | 2021-06-05T20:47:44 | 2021-06-05T20:47:44 | 341,121,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,101 | cpp | #include "deimosV1.hpp"
#include "types.hpp"
DeimosV1::DeimosV1(int maxPathLength, double reqSpeed, double reqPacketloss, double reqPing)
: m_maxPathLength(maxPathLength),
m_reqSpeed(reqSpeed),
m_reqPacketloss(reqPacketloss),
m_reqPing(reqPing)
{
}
status_t DeimosV1::adoptStartMatrix(ConnectMat... | [
"l.kargalov@yandex.ru"
] | l.kargalov@yandex.ru |
159f4d2a65520355ce925b9e19bfca8291e96c2b | 5cb7861cf5787dec2ff4bb0d5f2f96803e4b7ede | /tensorflow/core/tfrt/saved_model/tests/saved_model_test.cc | 1c532843ff41cff7f9f83315ca43dd5bbafdbeb1 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | VeriSilicon/tensorflow | c94887193d562c9d320b5c56d476629682c4ce58 | 2a1fa53a7c3a06eedec16b8aa751fb7deba8f4c5 | refs/heads/xla_npu_v270 | 2022-06-02T16:53:51.549104 | 2022-04-18T10:19:46 | 2022-04-18T10:19:46 | 93,762,772 | 4 | 29 | Apache-2.0 | 2022-04-18T10:19:47 | 2017-06-08T15:05:39 | C++ | UTF-8 | C++ | false | false | 34,906 | cc | /* Copyright 2021 The TensorFlow Authors. 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 applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0deec34884ac3ff53ca8a82b0b75ee39aad46a3b | 6db9478ab57690420b2aa98b450d346f7a9f3b7d | /z_unclassified/1026.cpp | 2a24cc0763fed2796b5b76f64b86b92460f79de4 | [] | no_license | siosio34/AlgorithmStudy | d23266e0d4576a3aab123aee7b571021ec619009 | b5626a0e4eb14f9553fe48aacacb1696a927c740 | refs/heads/master | 2020-03-19T09:15:13.167353 | 2019-05-22T13:50:41 | 2019-05-22T13:50:41 | 136,272,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include <iostream>
using namespace std;
int main()
{
int num;
int temp;
int sum = 0;
cin >> num;
int *a = new int[num];
int *b = new int[num];
for (int i = 0; i<num; i++)
{
cin >> a[i];
}
for (int i = 0; i<num; i++)
{
cin >> b[i];
}
for (int i = 1; i<num; i++)
{
for (int j = 0; j<num - 1; j+... | [
"siosio34@nate.com"
] | siosio34@nate.com |
a8d893e3dd4256a000b1ee55026810f0f3cd3561 | c7e26dc37573e8766e472990ab09ae046f49b3ef | /src/media/audio/audio_core/channel_attributes_unittest.cc | 27cf2e0d6d81dfcb2d9c7869f53c8d2da2e95612 | [
"BSD-2-Clause"
] | permissive | lambdaxymox/fuchsia | 03b72b387cbe14360868c98875ed0ed2d2bd8bf5 | 27dc297f40159d6fbd1368830b894d1299710cb5 | refs/heads/master | 2022-11-15T02:50:25.363189 | 2022-10-19T16:49:21 | 2022-10-19T16:49:21 | 296,795,562 | 1 | 2 | BSD-2-Clause | 2022-10-19T07:11:19 | 2020-09-19T05:47:00 | C++ | UTF-8 | C++ | false | false | 3,636 | cc | // Copyright 2020 The Fuchsia 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 "src/media/audio/audio_core/channel_attributes.h"
#include <fuchsia/media/cpp/fidl.h>
#include <vector>
#include <gtest/gtest.h>
namespace med... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
17a5367da91a7af5e932cd69933c810b244539ec | e4a386ecc62121a124a68fc530483c582a9f2c29 | /PlayFabServerSDK/PlayFabLocalizationAPI.h | ef0a8c0e0cdd60f2dddd8640c75b950b7ad0a15b | [
"Apache-2.0",
"MIT"
] | permissive | PlayFab/Cocos2d-xSDK | f3d08059bb25018970dc312d58de51702fba4664 | b0ba5c90ff0731b9ffb6fb56fcdaaafaa6dca6b9 | refs/heads/master | 2021-01-23T16:20:56.759161 | 2020-12-01T00:19:33 | 2020-12-01T00:19:33 | 23,086,480 | 7 | 8 | NOASSERTION | 2020-12-01T00:19:34 | 2014-08-18T21:06:50 | C++ | UTF-8 | C++ | false | false | 942 | h | #ifndef PLAYFAB_LOCALIZATIONAPI_H_
#define PLAYFAB_LOCALIZATIONAPI_H_
#include "IHttpRequester.h"
#include "PlayFabError.h"
#include "PlayFabLocalizationDataModels.h"
#include <string>
namespace PlayFab
{
class PlayFabLocalizationAPI
{
public:
template<typename ResType> using ProcessApiCallback = ... | [
"jenkins-bot@playfab.com"
] | jenkins-bot@playfab.com |
f49b250cae82aa2cac8d228e9e2338f8729050d8 | 1e82e51bfca5cfbaf8e4c0c3fa018101036791e1 | /src/core/public/query/DgR2QueryDiskDisk.h | 5d73d48cf6444195f25b6196a0d43625f024e07a | [
"MIT"
] | permissive | int-Frank/DgLib-deprecated | 74bc2df68fed9b60359189d9a03601f7fa3331dc | 2683c48d84b995b00c6fb13f9e02257d3c93e80c | refs/heads/master | 2022-04-02T17:05:22.205320 | 2020-01-04T07:49:23 | 2020-01-04T07:49:23 | 33,456,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | //! @file DgR3QueryLineSphere.h
//!
//! @author: Adapted from http://www.geometrictools.com
//! @date 29/05/2016
//!
//! Class declaration: TIQuery
#ifndef DGR3QUERYDISKDISK_H
#define DGR3QUERYDISKDISK_H
#include "..\impl\DgFPCQueryHypersphereHypersphere.h"
namespace Dg
{
namespace R2
{
template<typename Rea... | [
"frankhart010@gmail.com"
] | frankhart010@gmail.com |
e15e145204331f13e2502b41b93bcabdd97745ed | 08e953330f88590b0a1ffc0a04b286c449669b55 | /src/QtHuman/Human/nFaceShapes.cpp | d4c304d3bf517198011b4ea9e8ca9d9cf15ebe84 | [
"MIT"
] | permissive | Vladimir-Lin/QtHuman | 1edd2ccb0fc2b236cb85c82b3cebf480b8a83f00 | 37e81cc3940748c2f30bdd3a6f54c3c1b0798b00 | refs/heads/main | 2023-05-27T14:10:10.060446 | 2021-06-16T09:26:10 | 2021-06-16T09:26:10 | 377,440,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,647 | cpp | #include <qthuman.h>
N::FaceShapes:: FaceShapes ( QWidget * parent , Plan * p )
: ListDock ( parent , p )
, PeopleManager ( p )
, CommandSequence ( new QTimer ( this ) )
, Commanding ( false ... | [
"lin.vladimir@gmail.com"
] | lin.vladimir@gmail.com |
aae04d9838f4ddee82600589139070538df51c72 | c72f1ba091332e289791afb5ed723c7b619046f9 | /4 JSON Parser HTTP Cache/C++ Parser+HTTP+Cache iOS w calabash/include/Poco/Data/LOB.h | c257ea5288db9ce3fd094e33fe4f4993e5f2cfbe | [] | no_license | ravindranathakila/Sogeti-MasterThesis-CrossPlatformMobileDevelopment | 7d7823ed17c37945f6b600550625a7ebaf9edd27 | 6042d67950d18302972758038dcbe5066d585726 | refs/heads/master | 2021-01-20T23:03:47.956283 | 2013-07-07T07:59:30 | 2013-07-07T07:59:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,959 | h | //
// LOB.h
//
// $Id: //poco/Main/Data/include/Poco/Data/LOB.h#12 $
//
// Library: Data
// Package: DataCore
// Module: LOB
//
// Definition of the LOB class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge,... | [
"dev.david.karlsson@gmail.com"
] | dev.david.karlsson@gmail.com |
fac6f25ea63d73a4cbdfeebacb5c227fad16d64d | cafcf6a79e61ae811c461e9b57016bb5c77eda24 | /datacenter/RedisAgent.h | d266643423e1219522e2bf2fc56fbfb6c04f22b5 | [
"MIT"
] | permissive | jj4jj/playground | fa3f3a0da0e4f112b0e407a1cce8faf002151b4f | be0ab129d28359199008af8282e7395186a211a5 | refs/heads/master | 2021-01-22T04:40:44.470282 | 2014-11-05T16:53:01 | 2014-11-05T16:53:01 | 23,486,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | h | #pragma once
#include "base/stdinc.h"
#include "base/Buffer.h"
#include "base/Singleton.hpp"
struct redisAsyncContext;
struct redisReply;
struct RedisAddr
{
string ip;
int port;
uint dbidx;
};
struct RedisClientContext
{
RedisAddr addr;
redisAsyncContext* ctx;
int db_sele... | [
"resc@vip.qq.com"
] | resc@vip.qq.com |
519f2cf03e22949615bcbdee8e9c7641dc8b2b03 | 2748d0af8c89e0975bdfde2a24b5e567bfcac0ab | /perception/pointcloud_tools/sq_fitting/tests/es_tests_2.cpp | 72afd2347779eee0130ef2f7f06a5f731aa0d725 | [] | no_license | shenglixu/golems | 184384574958112690719c9295e9c08b75ccb093 | ae516ce6d70cfd07e8806f243686536ca42d662d | refs/heads/master | 2021-01-22T21:37:32.705276 | 2016-11-14T23:44:29 | 2016-11-14T23:44:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,465 | cpp | /**
* @file es_tests_2.cpp
* @brief Test a set of random cases for noise and partiality using threads
*/
#include "perception/pointcloud_tools/sq_fitting/evaluated_eqs.h"
#include "perception/pointcloud_tools/sq_fitting/SQ_utils.h"
#include <pcl/common/centroid.h>
#include <pcl/filters/voxel_grid.h>
#include <futur... | [
"ahuaman3@gatech.edu"
] | ahuaman3@gatech.edu |
6cc99318098544f33729114d233f057e23e4fb23 | bada30d01f229cbfb5c315d44f31b0038f15a523 | /ability/node/ChangeAbilityInfoNode.cpp | a65231b534dc6be08cdab7d42fb03330cd74a64f | [] | no_license | calmackenzie/VG1819 | 97d8c6d5823a1dbb618fd1ca7c21c5393fd8aff3 | 7bc8f3ba380209668ce281054fd9e024b4455d82 | refs/heads/master | 2021-10-26T12:24:19.940811 | 2019-04-11T19:59:10 | 2019-04-11T19:59:10 | 133,898,562 | 1 | 2 | null | 2019-04-11T01:21:31 | 2018-05-18T03:32:31 | C++ | UTF-8 | C++ | false | false | 358 | cpp | #pragma once
#include "ability/node/AbilityNode.h"
#include "ability/AbilityInfoPackage.h"
//Rock
namespace ability
{
ChangeAbilityInfoNode::ChangeAbilityInfoNode()
{
}
int ChangeAbilityInfoNode::effect(ability::AbilityInfoPackage* p_pack, const std::string& p_valueName, int p_value)
{
p_pack->m_intValue[p_va... | [
"you0rock0@gmail.com"
] | you0rock0@gmail.com |
163278772b2d2d310ad675d9e9ee21f6aaf1c466 | 4258763312424d1fbd34ad597216491f934e12f9 | /Swan/src/Scene/Scene.cpp | 5f864a17506798a7f5d299217a04512caed32cf2 | [
"MIT"
] | permissive | ranoke/swan3d | cbe97736e9aa093991fe4562352f1f56a7972bf2 | 4ce1f0461b38f12cee73b2fc2d2a28c7e1e0b31d | refs/heads/main | 2023-02-16T02:30:10.052093 | 2021-01-14T18:59:27 | 2021-01-14T18:59:27 | 311,061,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include "pch.h"
#include "Scene.h"
#include "Renderer/Renderer.h"
#include "Entity.h"
namespace Swan
{
Entity Scene::CreateEntity(const std::string& name)
{
Entity entity = { m_Registry.create(), this };
entity.AddComponent<TransformComponent>();
auto& tag = entity.AddComponent<TagComponent>();
tag.Tag =... | [
"ranokpvp@gmail.com"
] | ranokpvp@gmail.com |
a35314ff40e9b258dc9ab9cf3b6c51c7e47aa229 | 500396f79d674e893c607db3b42d0d04a9d6ee89 | /MGL/MGLFileLoaderMGL.cpp | fdb3d63136c07123b94eed3cdab558b2a0d0298d | [] | no_license | MrMCG/MGL_old | a682a9e69c4fe9022411fa1cd1717f476dac50b6 | 82a5a2aae78d4cb788a1c65fc65476ac0129ab13 | refs/heads/master | 2021-06-05T13:03:44.988814 | 2016-09-22T01:00:42 | 2016-09-22T01:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,422 | cpp | #include "stdafx.h"
#include "MGLFileLoaderMGL.h"
#include "MGLMesh.h"
#include "MGLExceptions.h"
#include "MGLLog.h"
#include "MGLTimer.h"
#include "MGLMeshGenerator.h"
MGLMesh* MGLFileLoaderMGL::Load(std::string fileName) {
MGLTimer timer = MGLTimer();
timer.Start();
std::vector<GLfloat>* buffer = LoadFileToVe... | [
"mark.gentles@hotmail.co.uk"
] | mark.gentles@hotmail.co.uk |
98f0a7efd60a341164a4326f2c01b0ecf89741b3 | 300980256f6482567c5d9dc1795bb01aa20f01c7 | /leetcode/leetcode-019.cc | b70e5c750be13fa59c68788d2105ae0c05b0b4c2 | [] | no_license | zgnMark/Algorithm | 50886932c426be3575caaff152b09e85c70c861f | 7c6e2c2848e3aa0cd484f51a175fd57d3d135b4a | refs/heads/master | 2020-07-29T06:20:52.208876 | 2018-10-28T12:30:58 | 2018-10-28T12:30:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cc | #include <bits/stdc++.h>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
} ;
class Solution {
public:
ListNode* removeNthFromEnd(ListNode* head, int n) {
if (head == NULL)
return head;
/*if (head->next == NULL)
... | [
"nitingge@126.com"
] | nitingge@126.com |
d18e94f1843c2c94181e9233808ae4fa12c2d5ca | 843bc3b2e82f52d0bd13eaf7e3b7aae2f04f689e | /Fucking_test.cpp | 7fbba0da5cfcaeb2ee2e9163ea353416268a3594 | [] | no_license | 1o-o1/graphics_lab | 2a5b189eeb7557ddfe614180bf0a2607b2701389 | f324100ff88eec44e3a864bb37a6b0ed5abdaea2 | refs/heads/main | 2023-01-25T01:35:22.593778 | 2020-12-08T15:08:11 | 2020-12-08T15:08:11 | 319,394,389 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,869 | cpp | #include<bits/stdc++.h>
#include <stdio.h>
#include <GL/glut.h>
#include <windows.h>
#include <mmsystem.h>
#define b1 first.first
#define b2 first.second
#define b3 second.first
#define b4 second.second
#define s second
#define f first
#define pbk push_back
using namespace std;
typedef long long int ll;
typedef pair... | [
"noreply@github.com"
] | 1o-o1.noreply@github.com |
aca0083f1cb8b884057b780856f35c1abdc6a88c | 1d21e7f12c0db31afd0860c13f46877a6ee691a4 | /Project1/OrdinaryOrder.cpp | 37562ab0f18be337c3570f19e7dac2dd9f0d36d3 | [] | no_license | kav113/exam | 8d4375f5f1590499786e6e7a0e4cfee3e3343a68 | 0ceaeb128221039fad955109d7fcbb328f37ae4f | refs/heads/master | 2021-03-25T22:50:57.974944 | 2020-03-21T19:45:52 | 2020-03-21T19:45:52 | 247,651,701 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,397 | cpp | #include "OrdinaryOrder.h"
#include <fstream>
#include<string>
#include <cstring>
using namespace std;
OrdinaryOrder::OrdinaryOrder(Date date, Time time, Order id)
{
}
OrdinaryOrder::OrdinaryOrder()
{
id ++;
date = date;
time = time;
}
void OrdinaryOrder::toString()
{
cout << "Заказ № " << id
... | [
"noreply@github.com"
] | kav113.noreply@github.com |
361bc814380c7552c0b6323d528e1030dce21798 | 0bf4e9718ac2e2845b2227d427862e957701071f | /google_code_jam/all/final_09/d/lq.cpp | 4d0367312899483f5b9035bdf0a0ad70a85535ad | [] | no_license | unjambonakap/prog_contest | adfd6552d396f4845132f3ad416f98d8a5c9efb8 | e538cf6a1686539afb1d06181252e9b3376e8023 | refs/heads/master | 2022-10-18T07:33:46.591777 | 2022-09-30T14:44:47 | 2022-09-30T15:00:33 | 145,024,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <algorithm>
#include <numeric>
#include <utility>
#include <iostream>
#include <cstdlib>
#include <string>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>... | [
"benoit@uuu.com"
] | benoit@uuu.com |
3441aa064543fae7331516d6b5fc8157c04f374e | 1aa372fe482daf2bd122aae1a29b5823dfcaad27 | /packages/git-travel/node_modules/nodegit/src/tag.cc | 29726c64e60e1d627c141ee4b072ad005a513d96 | [
"MIT"
] | permissive | maartenvw/atom-settings | 74ea62fe376d5508b52427955be11c58f5d7308f | 9b0963c013db7d84bd281f7e31d572dd9eb1dcaa | refs/heads/master | 2020-12-24T07:04:11.496569 | 2016-11-10T12:58:57 | 2016-11-10T12:58:57 | 73,382,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,300 | cc | // This is a generated file, modify: generate/templates/class_content.cc.
#include <nan.h>
#include <string.h>
extern "C" {
#include <git2.h>
}
#include "../include/functions/copy.h"
#include "../include/tag.h"
#include "../include/functions/sleep_for_ms.h"
#include "../include/oid.h"
#include "../include/rep... | [
"maarten.vanwingerden@hotmail.com"
] | maarten.vanwingerden@hotmail.com |
732c47ab46c1ee26b2216524892e3c34d20f3a34 | 2ce066f36aaa5e24ed8d07c3039b6b9e5cf12877 | /View/ModulAccount/account_view.h | 15acd05cc1c71e66098b6d852a1f78666d3d6909 | [] | no_license | Euclidis/Dictionary | b638c968dba1bc84e5467afca5ab1e601aaca07e | a9fc540a13b64c0eca480829780742218ecb8d48 | refs/heads/master | 2020-12-24T16:50:22.218791 | 2016-03-13T11:59:37 | 2016-03-13T11:59:37 | 52,585,927 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | #ifndef ACCOUNTVIEW_H
#define ACCOUNTVIEW_H
#ifndef ACCOUNTVIEWINTERFACE_H
#include "account_viewinterface.h"
#endif
namespace Ui {
class AccountView;
}
class AccountView :
public QWidget,
public AccountViewInterface
{
Q_OBJECT
public:
explicit AccountView(QWidget *parent = 0);
~AccountV... | [
"amirberetar@gmail.com"
] | amirberetar@gmail.com |
2de3bf4747419ebbc7c192ded50ec98231e7b421 | 2aef8e6ed65c879ba9557d34bb5c8ae6a7eda4f1 | /cpp/nearest_lucky_numbers_329.cpp | 0cdfd3ea807417be782e304cf729a48cddbd53d7 | [] | no_license | Anarcroth/daily-code-challenges | 987d1597eb0bd96b4f932874f084e41deb6fee69 | 46e9add896855aee3028858c06f7e46eb453d4aa | refs/heads/master | 2021-06-04T17:30:03.339100 | 2018-12-29T16:31:14 | 2020-01-10T12:35:05 | 109,251,734 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,331 | cpp | // Description
//
// A Lucky Number is a natural number in a set which is generated by a certain "sieve". This sieve is similar to the Sieve of Eratosthenes that generates the primes, but it eliminates numbers based on their position in the remaining set, instead of their value (or position in the initial set of natura... | [
"mnestorov@protonmail.com"
] | mnestorov@protonmail.com |
377387af2c1646aefa7ae6715f9b2eaa332bb3de | a9acfe1965a5a6c197cffe6ebcdd35140b0ee1ca | /main.cpp | 25715b5e867017c7679b335e6aaf5140932b04af | [] | no_license | kindow/LaneLineDetection | d50d6b6cd44a3b59029d8a16d7fce9df8ceaeae3 | 7406792fe49cf82c30715e2fa20cb84447f879d2 | refs/heads/master | 2022-01-10T13:39:13.276112 | 2019-07-09T17:32:34 | 2019-07-09T17:32:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,860 | cpp | //
// main.cpp
// opencv4_test
//
// Created by Rahul Aggarwal on 6/26/19.
// Copyright © 2019 Rahul Aggarwal. All rights reserved.
//
#include <opencv2/opencv.hpp>
#include "cpuUtils.hpp"
#include <iostream>
#include <stdio.h>
#include "LaneLine.hpp"
#include "LaneLineHistory.hpp"
#include "AdvancedLaneDetectorWi... | [
"rahulaggarwal965@gmail.com"
] | rahulaggarwal965@gmail.com |
7dbbf7696884555192b07035e46d5067928e43a3 | 9fccdc430b35121301d9a2e3ef4143f4a74e0f36 | /include/nbdl/concept/Store.hpp | db0a91f4193024b3fec7d32e56a17a8dc2413066 | [
"BSL-1.0"
] | permissive | drorspei/nbdl | 2668e49e1fa5147a59a2788e21af57d4aa579dc2 | 6ebac56d8d6910e7271819432febb5d0b76be68b | refs/heads/master | 2020-05-21T01:05:02.193382 | 2019-02-12T03:35:33 | 2019-02-12T03:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | hpp | //
// Copyright Jason Rice 2016
// 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)
//
#ifndef NBDL_CONCEPT_STORE_HPP
#define NBDL_CONCEPT_STORE_HPP
#include <nbdl/fwd/concept/Store.hpp>
#include <nbdl/fwd/match.hp... | [
"ricejasonf@gmail.com"
] | ricejasonf@gmail.com |
4388689d95289590cd1c6f9d84e7bb4c58728da0 | 7ea36abac559442702154d80254ea218c2b176d0 | /cpp/cpp2/cpp2.cpp | ee3c7b064ab7d4d2f1823636a2f2f6611fcfbcf8 | [] | no_license | danzaleta/c_cpp | 9dd30f112cf01cc784a1729139d69571684ac660 | 4cd9c31e223ccc241ded4a915a28e061e84ed710 | refs/heads/master | 2023-07-18T04:42:48.326575 | 2021-09-07T17:04:07 | 2021-09-07T17:04:07 | 304,169,853 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
// SETTINGS
bool gameOn = true;
//USER INFO
string name;
int edad;
int peso;
// CASES
int option;
int arr[10];
while (gameOn)
{
cout << "[0] Nueva partida \n[1] Continuar \n[2]... | [
"zaletadaniel@gmail.com"
] | zaletadaniel@gmail.com |
45c46a692879a16f68fa28c542755cc18cb49df4 | 2dbbcbdceb9c3e1647a401103bf55afabe156eac | /sca/samples/BigBank/Accounts/AccountServiceImpl_AccountDataService_Proxy.h | ff5c6e6d8779052b58496ce94cef81dc805df470 | [
"Apache-2.0"
] | permissive | lelou13/tuscany-sca-cpp | bd30f5967f0c3a95382d80f38ee41a16ec7420ca | b06cb5b2608c0802c15c75c708589e82a9c60e2d | refs/heads/cpp-M1 | 2021-01-15T08:04:32.276885 | 2009-11-16T06:23:13 | 2009-11-16T06:23:13 | 49,079,719 | 0 | 0 | null | 2016-01-05T16:58:49 | 2016-01-05T16:58:49 | null | UTF-8 | C++ | false | false | 1,513 | h | /*
* Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
*
* 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-... | [
"edslattery@apache.org"
] | edslattery@apache.org |
925dfb4988476ce5b87a8c8b466a7130d072b798 | 17cc523c6bfd5b5146cc9152bad60d138cb20a2f | /Castle/CustomGlow.cpp | 1b20f7c67921b3c519550cc103c130710c4a89c9 | [] | no_license | MyCoolCheats/Antario | a1e631fccb00445ba8f31491ea8f479bde134bb9 | fe49c8413935740b69f356406b5ec6417de21e11 | refs/heads/master | 2021-07-19T21:15:24.313243 | 2017-10-24T12:08:30 | 2017-10-24T12:08:30 | 108,400,816 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | #include "Features.h"
std::vector<std::pair<int, int>> custom_glow_entities;
void CustomGlow::FrameStageNotify(ClientFrameStage_t stage)
{
// Skip reserved slots that are guaranteed to be managed by the engine.
//scalar => zero-initialization because c++98
//68 because 64-67 are used by some useless shit c... | [
"noreply@github.com"
] | MyCoolCheats.noreply@github.com |
6ae77c142a3ae790adb180205fa403acad8c7472 | 3c5b5f9853eba27d74ca8d2817c3b75d5eddb6f3 | /Wave2.h | 84d3bcb740d23283b10a4216cef2843dd8faaf9d | [] | no_license | 657122411/Lidar | 44770da6d5da6f34b14037d4ffdde0a91feb141c | 63d23606a03f7aed134f01a08c4964f04e19ce06 | refs/heads/master | 2020-03-20T00:18:11.718688 | 2018-06-12T08:20:43 | 2018-06-12T08:20:43 | 137,039,065 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include "iostream"
#include "fstream"
class Wave2
{
public:
Wave2();
~Wave2();
int data[320];
void init(FILE *fp);
void linearSmooth3(double in[], double out[], int N);
void linearSmooth5(double in[], double out[], int N);
void linearSmooth7(double in[], double out[], int N);
... | [
"noreply@github.com"
] | 657122411.noreply@github.com |
d6b1ca364b4ac467d7cbf340d378ed3d638cfbaa | 853398fb9eec1bb663577837bb4f9da759b7cd56 | /2D_shooter_v2/src/DebugEngine.cpp | 75ee733ad6070e93692810c786cac375a4b2bbe0 | [] | no_license | kelj0/gamedevplayground | ab597b42aeb2408f3cf7a5b07fb8c901aa3e924d | 0b538293b32bd9a2c61d53250918abe045d73fdf | refs/heads/master | 2023-05-01T07:37:44.644478 | 2021-05-24T11:41:25 | 2021-05-24T11:41:25 | 342,294,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include "DebugEngine.h"
DebugEngine::DebugEngine(sf::RenderWindow &window, std::vector<Player*> players, sf::Font font) {
this->_window = &window;
this->_font = font;
this->_players = players;
}
void DebugEngine::updateData(){
sf::Text t;
t.setFont(_font);
std::string b = "";
for (Player ... | [
"kelj0@protonmail.com"
] | kelj0@protonmail.com |
ca4a2ad8d7a2616d4153654bf4eeadd06cfa5564 | 69be9b20ec28d319ebac8db566f994fa20650df1 | /src/Encoders.cpp | 4127419dd8150e567630c6f894033b5705eb3649 | [] | no_license | jiezhi320/ADRC-1 | 252b3d554fc85687c5743e4fa3b1d73095dffa11 | e9a32c71fc6b5e98c68213d589df9c296ef62ddf | refs/heads/master | 2021-05-13T12:53:13.550491 | 2015-11-04T02:27:04 | 2015-11-04T02:27:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | #include "Encoders.h"
#include <fcntl.h>
#include <iostream>
#include <unistd.h>
#include <sys/mman.h>
using namespace std;
Encoders::Encoders() {
m_file = open(MOTOR_DEVICE_NAME, O_RDWR | O_SYNC);
if(m_file == -1) {
cout << "Error: couldn't open the analog device." << endl;
return;
}
m_p_device = ... | [
"psiorx@gmail.com"
] | psiorx@gmail.com |
fc5d646cc8688b837dc675cab8cdeb150220f334 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /codeforce/CF_58A.cpp | 338bb2f8d98709eb0a6f016afb436c3bdedd197b | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include<stdio.h>
#include<string.h>
int main(){
char s[100];
int i,h,e,l1,l2,o;
while(scanf("%s",&s)!=EOF){
h=e=l1=l2=o=0;
for(i=0;i<strlen(s);i++){
if(s[i]=='h'){
h=i;
break;
}
}
for(i+=1;i<strlen(s);i++){
if(s[i]=='e'){
e=i;
break;
}
}
for(i+=1;i<strlen(s);i++){
if(s[i]=... | [
"imss5ss@outlook.com"
] | imss5ss@outlook.com |
85668a7d828245ac86bc3f22ba7d15e298300ba1 | 539bff0ab3912fc0b570ff09a94562f3815079ba | /board.cpp | f97af3a845ea354e7a81ed5cc2d5613bdd218bd6 | [
"Apache-2.0"
] | permissive | volkertb/4steps | 78cea28a3435c21973457cb875305f1be29f0817 | ce3c04790a15847783130e7340f0f1c2b57991a7 | refs/heads/master | 2022-04-26T14:28:00.822943 | 2022-01-05T01:10:09 | 2022-01-05T01:12:15 | 120,374,551 | 0 | 0 | null | 2018-02-05T23:18:51 | 2018-02-05T23:18:51 | null | UTF-8 | C++ | false | false | 35,664 | cpp | #include <QMouseEvent>
#include <QToolTip>
#include <QPainter>
#include "board.hpp"
#include "globals.hpp"
#include "messagebox.hpp"
#include "io.hpp"
#include "palette.hpp"
Board::Board(Globals& globals_,NodePtr currentNode_,const bool explore_,const Side viewpoint,const bool soundOn,const std::array<bool,NUM_SIDES>&... | [
"TFiFiE@users.noreply.github.com"
] | TFiFiE@users.noreply.github.com |
e9676507c5ee1fee7c8ab9a193980c18cb47fd9d | df05196c665c668dd8862df136f09a20b057829c | /release/moc_board_model.cpp | 400c74d7054b3d8f7f432928b9aaa3bf6ef3d566 | [] | no_license | Hjvf01/15 | 8ed81198fff6df49d9890574e1fd6f6724ccc0d6 | b0add06d8e65c425dc653c7279348c7777c5d9aa | refs/heads/master | 2021-06-27T11:18:33.265997 | 2017-09-12T13:25:04 | 2017-09-12T13:25:04 | 102,881,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,134 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'board_model.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"mail@email.com"
] | mail@email.com |
ddcf1238306684ac13e6444bab63473d9bc0d6a2 | 470385354ed332fc9f700c2fc46ebc28e7918512 | /listas/lista_1/h_squats.cpp | 9014923261175e33fd292091de6db3d50ef3e2de | [] | no_license | sconetto/ppc | 3a97c092d4b235989bb92250c191aeb1258f88c3 | bfd70be6722a358b8488bdcdfb6316707458c755 | refs/heads/master | 2020-07-04T23:44:57.254823 | 2019-11-25T00:51:57 | 2019-11-25T00:51:57 | 202,459,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char const *argv[]) {
int n, su = 0, sd = 0, mins = 0;
char aux;
string hams;
cin >> n;
if (n < 2 || n > 200 || (n % 2) != 0) {
exit(1);
}
for (size_t i = 0; i < n; i++) {
cin >> aux;
hams.push_back(aux);
if (... | [
"sconetto.joao@gmail.com"
] | sconetto.joao@gmail.com |
ccfdb3266ca1b5e8d331fa8defba63d4b57a7aa5 | bcb834d26c7dd8f5e915969cc9783b8360281cc3 | /Test/GoogleTest/ClangSetup/main.cpp | d1c92a41a472389cd90cc07f04bdbb60503a6570 | [] | no_license | alexander190591/funMRI | 00d01b256724e9244ce10a2fdf17569f2b7c7663 | 30094f992c32658074ce2030eedbc01778cacf83 | refs/heads/master | 2022-12-19T00:54:51.056141 | 2020-09-22T20:27:57 | 2020-09-22T20:27:57 | 247,016,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cpp | /****************************************************************************
* Copyright (C) Kamstrup A/S, 2020. All rights reserved.
****************************************************************************/
#ifndef __main_2020__
#define __main_2020__
/**
*
* @file main.cpp
*
* Created:
* @author Nikolaj ... | [
"alexander190591@gmail.com"
] | alexander190591@gmail.com |
0bbf841e761a2e7881cf0cb7336d5e017b0c39b5 | a636c55ab78abd56273ef5c9bf2e9a7bf0b8f20a | /src/sem/depth_multisampled_texture_type.cc | 6f11f1a23772bc82a7938b481526c9540e19c5c0 | [
"Apache-2.0"
] | permissive | sunnyps/tint | 97432995d0829c6e3db900b66918de29f3d4cb79 | 22daca166bbc412345fc60d4f60646d6d2f3ada0 | refs/heads/main | 2023-08-27T17:07:28.621015 | 2021-10-04T14:54:37 | 2021-10-04T14:54:37 | 411,415,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cc | // Copyright 2021 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | [
"tint-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | tint-scoped@luci-project-accounts.iam.gserviceaccount.com |
853f537749c87d144d420d9b6ca44ab6821cce2b | 48e1edbdd9188a8e53dda852248de0e09b8e8e8f | /A350Systems/A350Systems/Waypoint.h | ad77ca4aea3a8bce9727c659d01926ee7405ec1f | [] | no_license | SimJobs/A350 | 1ac6369a2fde6c5e4a02b464ce1a1c7627df95ed | 9462fb665ca16bdc81bb92d0f2a0ef55c25318fd | refs/heads/master | 2021-01-23T04:09:44.137894 | 2014-10-21T16:40:40 | 2014-10-21T16:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | h | #ifndef WAYPOINT_H
#define WAYPOINT_H
#include <string>
using namespace std;
namespace Backend
{
struct Waypoint
{
private:
//location
float longitude;
float latitude;
//name
string name;
//data for waypoint
int altitude;
int speed;
public:
Waypoint(float latitude, float longitude, string name,... | [
"simjobsinc@gmail.com"
] | simjobsinc@gmail.com |
c67baf25ec6b3caf29664f5384e4bde4bef8dae7 | bd2f117637be64d13d7b94093c537d346ca3257f | /Tests/Core/Text/test.cpp | 9bf1f38555318799c98e9672708fa550e0344a26 | [
"Zlib"
] | permissive | animehunter/clanlib-2.3 | e6d6a09ff58016809d687c101b64ed4da1467562 | 7013c39f4cd1f25b0dad3bedfdb7a5cf593b1bb7 | refs/heads/master | 2016-09-10T12:56:23.015390 | 2011-12-15T20:58:59 | 2011-12-15T20:58:59 | 3,001,221 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | cpp | /*
** ClanLib SDK
** Copyright (c) 1997-2011 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | [
"rombust@cc39f7f4-b520-0410-a30f-b56705a9c917"
] | rombust@cc39f7f4-b520-0410-a30f-b56705a9c917 |
1d46dc09a5b43581107715c6e9d18cff9409bda4 | c2757b08e4a3a27438141423e669adcae6594ccc | /FG_Course9_cpp_group_asteroids/FG_Course9_cpp_group_asteroids/src/ResourceManager.cpp | 6c7c23a034e4b72a622a8b866b9ed42aff4c7eb1 | [] | no_license | TinyKenny/FG_Course9_cpp_group | f59ddaf4b6d2bf779ac0a4bae14c54648331e4ed | 17fbd9f21d403fd29c81b093bb524046c0199e0e | refs/heads/main | 2023-03-22T17:23:45.326030 | 2021-03-12T10:42:50 | 2021-03-12T10:42:50 | 343,375,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | #include "ResourceManager.h"
ResourceManager::ResourceManager()
{
loadedFonts["default"] = TTF_OpenFont("res/comic.ttf", 20);
loadedSounds["shot"] = Mix_LoadWAV("res/shot.wav");
loadedSounds["hit"] = Mix_LoadWAV("res/hit.wav");
}
ResourceManager::~ResourceManager()
{
for (auto const& x : loadedSounds)
{
Mix_Fr... | [
"37851342+TeoC00l@users.noreply.github.com"
] | 37851342+TeoC00l@users.noreply.github.com |
0a58fbb9a48c2b5e1e8fc809c41766235669852c | 629a05d73fcccc21003b43d7733e5afc37b214c1 | /src/robotX/utils/TimeUtils.cpp | fb7d4d03a87321ee92373685e4f3e4103df9b6bb | [] | no_license | glee0413/robotX | 4179872b9f90194dc9dcdd9ebf344a38a526c556 | a8c9fd0b27c31ef7907248350ff4e1ef0c85e146 | refs/heads/master | 2021-01-17T19:23:51.397200 | 2017-02-14T13:43:09 | 2017-02-14T13:43:09 | 59,926,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | cpp | /*
* TimeUtils.cpp
*
* Created on: 2016年5月11日
* Author: light
*/
#include <sys/time.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include <utils/TimeUtils.h>
namespace Utils {
TimeUtils::TimeUtils() {
// TODO Auto-generated constructor stub
gettimeofday(&this->m_current,NULL);
}
T... | [
"glee-0413@163.com"
] | glee-0413@163.com |
5c717326a2aa0618c3f91c7d2a007ecd4bf1de79 | 41b8c46b39698d8642df8d3b947384996e6d2167 | /src/trajectory_optimizer/cubic_bezier_curve.cpp | cb4ac4561d65970e617825e117e0c1a1b974f789 | [] | no_license | ColleyLi/TrajectoryOptimizer | dbe579258bfcfb71e06b91100aad2ffd9d7659cb | e38cd47041d3c47285db3e881a611c71b8df7d2e | refs/heads/master | 2023-04-21T21:39:30.620452 | 2021-05-19T06:02:55 | 2021-05-19T06:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,587 | cpp | /******************************************************************************
* Copyright 2020 The zhejiang lab Authors. All Rights Reserved.
*****************************************************************************/
/**
* @file cubic_bezier_curve.cc
**/
#include "cubic_bezier_curve.h"
namespace localPlann... | [
"shenzheng@zhejianglab.com"
] | shenzheng@zhejianglab.com |
e8cd26d509386423936089f2dc8fd0cf831da3f7 | 828ba76e1e18870bee0cc3be87a81a2f6a9ce5ea | /metUnit4NANO-bmp280/metUnit4NANO-bmp280.ino | 385aecd766867caf824d5a60096e1ca68b1103dc | [
"LicenseRef-scancode-other-permissive"
] | permissive | filipecebr1980/arduMet | 12c1148944bb42d33c0bb6b70e3d1d126c6965d2 | fb9f9dadfb38a8fa11b6b606abab0f44f22ac435 | refs/heads/master | 2022-12-25T16:23:51.818524 | 2020-10-03T23:32:32 | 2020-10-03T23:32:32 | 291,845,840 | 0 | 0 | null | 2020-10-03T23:32:33 | 2020-08-31T23:21:21 | C++ | UTF-8 | C++ | false | false | 4,794 | ino | /* Meteorological Unit - Temp, Umid and Pressure and Air Density
* V 1.2.0 - Air density enabled
*Created by Filipe Brandao Using
*Sparkfun GY-BME280 Library
*SMS0408E2 Library
*Using examples from Adafruit and Sparkfun Libraries.
*
The GY-BME280 is using address 0x76 (jumper closed)
Hardware connections:
BM... | [
"filipecebr@gmail.com"
] | filipecebr@gmail.com |
60b4b9e051b95945cdca4e8f2ceda5e560c1163d | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+data-wsi-rfi-addr-[fr-rf].c.cbmc.cpp | 38485c36e024b6bac75ced7496c0bfaadc1b8c75 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 57,353 | cpp | // 0:vars:3
// 3:atom_1_X0_1:1
// 8:thr1:1
// 9:thr2:1
// 4:atom_1_X5_2:1
// 5:atom_1_X7_0:1
// 6:atom_1_X9_1:1
// 7:thr0:1
#define ADDRSIZE 10
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
56e08704d4831c92de58b97105790bc4df04ad6d | 7a2e4fb0ef75367e88112160713f94b1eee06eea | /src/NodeRpcProxy/NodeRpcProxy.h | eefd98e042d28ec5adf867488b3ace0ca1874bad | [] | no_license | rainmanp7/digitalnote45 | 0ba02600369f19c729841c736f5809893bc45034 | c64310a220f12b6d4e7f4820c8014026a4266a02 | refs/heads/master | 2020-03-17T16:02:22.867091 | 2018-05-17T01:33:53 | 2018-05-17T01:33:53 | 133,733,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,447 | h | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <atomic>
#include <condition_variable>
#i... | [
"muslimsoap@gmail.com"
] | muslimsoap@gmail.com |
ae6476e08c8d8d62d6b6014b829704600cd5780e | af9e53fdbc56abed24f2ba8236103c64032c82eb | /代码/3.cpp | b636a88e8d77e69b83a532fa0bf1c3db56a59a02 | [] | no_license | syj716/CodeSet | 9f271a4fcf647c3c368f0753a38414c189c66e93 | 0695ee0a79438d9760622cf8b0acc232cd1d374a | refs/heads/master | 2022-11-09T09:51:37.481250 | 2020-06-29T04:00:11 | 2020-06-29T04:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | cpp | #include<stdio.h>
#include<string.h>
int dates[3002][13][32];
char NameofWeek[7][20] =
{
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
};
int dayOfMonth[13][2] = {
0,0,
31,31,
28,29,
31,31,
30,30,
31,31,
30,30,
31,31,
31,31,
30,30,
31,31,
30,30,
31,31
};
char NameofMon... | [
"1523646952@qq.com"
] | 1523646952@qq.com |
f7ebb5c51c5faee6086b93c816be4ea490f3402f | 90047daeb462598a924d76ddf4288e832e86417c | /chrome/browser/ui/page_info/page_info_ui.cc | 401b5cd12f5307c98b44dc619dbf3c8189db364e | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 17,811 | 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 "chrome/browser/ui/page_info/page_info_ui.h"
#include <utility>
#include "base/command_line.h"
#include "base/macros.h"
#include "chrome/br... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
005d1e01f5dd184750d598c1477bef73f4128fd0 | 9332aa1506f44d1f7053cc81d02f71140eb7c0f0 | /Brown belt/5 week/Budget professional mobile legacy version/budget_bad_base.cpp | 381d51b75663d78860bdb5c080a7c7b1ec64307e | [] | no_license | arkud/C-plus-plus-modern-development-basics | 39c2d8ef7d3140258ed6d272810a88a769c51f36 | ea324252ab0d0632cfbab5ec17d317773bfd51db | refs/heads/master | 2022-12-18T14:35:33.685055 | 2020-09-27T10:03:22 | 2020-09-27T10:03:22 | 298,999,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,813 | cpp | #include <array>
#include <cassert>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string_view>
#include <utility>
using namespace std;
pair<string_view, optional<string_view>> SplitTwoStrict(string_view s, string_view delimit... | [
"artyomiius@gmail.com"
] | artyomiius@gmail.com |
c761e1f520b94b81eff95a74b7d9b842d6d9b048 | cf36b5f820198a5807f1c6343fd3c8c61de034e7 | /include/spmCalculator/spmCalculator.hpp | f1a9c89c87678edb36f595bb3952197848c7c24b | [] | no_license | kunaljathal/Simple-SPM | df72a128be1138f7123880050e38b2c1d1044365 | fd35e7f253dcf6f465a52fee38d97c237400b4f9 | refs/heads/master | 2016-09-16T03:05:18.496028 | 2015-08-11T17:40:37 | 2015-08-11T17:40:37 | 40,556,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | hpp | #ifndef SPMCALCULATOR_H
#define SPMCALCULATOR_H
class spmCalculator
{
public:
static int spmCalculate(double *xAccValues, double *yAccValues, double *zAccValues, unsigned int samplingRate, unsigned int windowSizeInSeconds);
private:
static double singleAxisEstimate(double *accValues, const unsigned int window... | [
"Kunal@Kunals-MacBook-Air.local"
] | Kunal@Kunals-MacBook-Air.local |
8b657049df30665f18183ef0822ec2455a1e3abf | 3028bcee07ca7b245a9e134fd70e9c791a2d75f8 | /Lab3_Event/Lab3_Event/main.cpp | cbe218910b1ec36a72fae3f885e0bdc1ea08346a | [] | no_license | Smartkin/os-labs | 49d48592b17f580abd06de9d74002db5c3d680d6 | 5cb91048a161db38456c85f4edfc571ee317b256 | refs/heads/master | 2020-03-28T09:53:16.456288 | 2018-12-24T00:40:16 | 2018-12-24T00:40:16 | 148,067,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include <Windows.h>
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
//Helper for Lab_3
//Emulates chat between 2 processes
int main(int argc, char** argv)
{
HANDLE event = 0x0;
std::string ev_name;
std::string search_str;
std::cout << "Enter event name: ";
std::cin >> ev_name; std... | [
"vladislav5019@gmail.com"
] | vladislav5019@gmail.com |
a3f34c3f5a895122ef39e8e644b5fea22ffd2043 | ba732d80d942509dcd3f305ec8b0d95834e79808 | /ref_book/01_cpp_games/ch14/05_queue.cpp | e27ec171730f0ba43ffb1e029b240164fbefaee3 | [] | no_license | minsa97/lecture_cpp | 198e0c55a72f2c4edfcfa264995a5c18c77c9eb5 | efa53e033af7014ef73156673d273f93c5a215ce | refs/heads/main | 2023-05-11T13:12:40.584750 | 2021-05-31T09:21:16 | 2021-05-31T09:21:16 | 343,638,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | // 05_queue.cpp
#include <iostream>
#include <queue>
using namespace std;
int main(){
queue<int> que;
int count;
cout << "피보나치 수의 개수를 입력하세요: ";
cin >> count;
cout << "피보나치 수열 = ";
que.push(0);
que.push(1);
for (int i = 0; i < count; i++) {
int x = que.front();
que.pop();
cout << x << " ";
que.push(x... | [
"minsa97@naver.com"
] | minsa97@naver.com |
2ed681d453deb5985daa5da761bbb383d92db22f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5744014401732608_0/C++/kobebryant24/B.cpp | 96212efd64a7d6e281e355dd7236513a17df4e0e | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef pair<int,int> pi;
typedef vector<string> vs;
typedef vector<pi> vpi;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define forall(i,a,b) for(int i=a;i<b;++i)
#define... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
9f953dc461d6c19379e00b4d9a19d6be83c45cb7 | 85d8b496ba390a8890c023f20ffa41e32cadc1b3 | /nekBone/setup.cpp | 2f565b2106a65c684ef71edced193d5ddcae3d2c | [
"BSD-3-Clause"
] | permissive | luspi/nekBench | 8570a25ec546381247b28f3edc440359f196913c | 7363779d6696aca1e786fe5671d6d7c350b5a180 | refs/heads/master | 2023-01-02T13:46:46.340135 | 2020-06-16T09:09:12 | 2020-06-16T09:09:12 | 273,134,966 | 0 | 0 | NOASSERTION | 2020-08-02T02:15:51 | 2020-06-18T03:42:45 | null | UTF-8 | C++ | false | false | 13,626 | cpp | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitatio... | [
"stefanke@gpu03.ftm.alcf.anl.gov"
] | stefanke@gpu03.ftm.alcf.anl.gov |
37376ef68df587ce1671bf3921841995bf8fe21d | dde6e0373d64418ceac8da010144cc921d33eec7 | /HTest1/src/GOffAxisCamera.h | c7a1be2597c9969e0494079456eb0309962c1e2a | [] | no_license | fengxiuyaun/OgreHavokTest | 25eb1e9f7eba0712e12e51bc6e8233223a314ebd | 7bac456c4bc5513ccbe0ae0695e9fa28f7c4316b | refs/heads/master | 2020-04-05T23:34:01.993161 | 2011-08-01T03:54:47 | 2011-08-01T03:54:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | #ifndef __GOFFAXKIS_HEADER__
#define __GOFFAXKIS_HEADER__
#include "Singleton.h"
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include "ExampleApplication.h"
#pragma once
#define NUMBER_OF_DISPLAYS 4
class GOffAxisCamera : public HK::Singleton<GOffAxisCamera> {
friend class HK::Si... | [
"jerdak@gmail.com"
] | jerdak@gmail.com |
58937a7cc330d6119d46923904850fce73d25a3f | 378969fa995f5f4d479ec7af87d7fb7e42332be2 | /lib/shader.hpp | c883f47988581fd97cf577cec07eadc4dab79b5d | [
"Unlicense"
] | permissive | mewbak/ying | b995551f132e91a1d1fd319a72921d5b632ba505 | 8daccccc2de5a2dbf2430146adbbbf67c26551d9 | refs/heads/master | 2020-04-16T07:54:54.530756 | 2019-01-12T17:13:10 | 2019-01-12T17:13:10 | 165,403,759 | 0 | 0 | null | 2019-01-12T15:33:58 | 2019-01-12T15:33:57 | null | UTF-8 | C++ | false | false | 5,329 | hpp | #ifndef SHADER_H
#define SHADER_H
// System Headers
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class Shader {
public:
// The program id
unsigned int ID;
// Constructor reads and builds the Shader
Shader(const char* vertex... | [
"henry@karlek.io"
] | henry@karlek.io |
dfb6247e47d201d3c3565423dbd3be55c844fb0c | cda270bdbce3f32e7e764acb8657466bb3a90044 | /src/data_types.cpp | 53b6021d74fcd4bf8d76d4666063511950a08688 | [] | no_license | make-j64/focus-stacking | 6e177d8bddc6729e07be035d01479601f275dc7d | d0e46e3904a3f4f0323adfea32c01bfd9aae394c | refs/heads/master | 2022-03-10T21:51:28.985736 | 2019-11-26T10:11:49 | 2019-11-26T10:11:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include "data_types.h"
std::ostream& operator << (std::ostream& os, coordinate &c)
{
os << "(" << c.x << ", " << c.y << ")";
return os;
}
| [
"markosloizou@hotmail.com"
] | markosloizou@hotmail.com |
becb7aa59ae134fdb492ff13cf50f0376bfb18e6 | 7873fa1647bab7ecac2bc5a98367aa96f32fb94a | /AFS.cpp | 47446ceba569bb9b1bd8e1c09fd19202c8e52d7f | [] | no_license | pegasus1/SPOJ | 81158badc827e978db0e9c429dc34181f0bfe1ee | eff901d039b63b6a337148dfbe37c1536918bbf8 | refs/heads/master | 2021-01-10T05:32:37.535098 | 2015-06-05T18:20:38 | 2015-06-05T18:20:38 | 36,937,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include<iostream>
using namespace std;
#include<stdio.h>
int main()
{
int t;
unsigned long long n,st,lt,i,sum,p,s1;
scanf("%d",&t);
while(t--)
{
sum = 0;
scanf("%llu",&n);
if(n<=3)
printf("%d\n",n-1);
else
{
for(i=2;i*i<=n;i++)
... | [
"ayush.rajoria@outlook.com"
] | ayush.rajoria@outlook.com |
8818c85b84b7efefffc574673e7e79eb3fb32adb | 23378c451e396684f712fc9f9e2a65a53a61a8a8 | /Dynamic_Programming/1872.Stone-Game-VIII/1872.Stone-Game-VIII.cpp | 2b974ed34f7972069362459a6bdcf72b4ceba80e | [] | no_license | wisdompeak/LeetCode | 25676a8bf606c0511dd9844d4e61388235de82f4 | f3d38bbe9e40ceb0ab9780a4cb0dec938eae578e | refs/heads/master | 2023-09-01T18:45:36.056015 | 2023-08-28T08:01:22 | 2023-08-28T08:01:22 | 83,542,585 | 5,153 | 1,209 | null | 2023-07-22T18:15:25 | 2017-03-01T10:30:52 | C++ | UTF-8 | C++ | false | false | 542 | cpp | class Solution {
public:
int stoneGameVIII(vector<int>& stones)
{
int n = stones.size();
stones.insert(stones.begin(), 0);
vector<int>presum(n+1);
for (int i=1; i<=n; i++)
presum[i] = presum[i-1]+stones[i];
vector<int>dp(n+1);
dp[1] =... | [
"noreply@github.com"
] | wisdompeak.noreply@github.com |
60bc4cc438b1fb32b7356bb403af21e2fac0dd37 | a49ad8d5b41bd36f7d4f7b96c7770e7a39bfdba1 | /BSc (H) Sem 18-94033-45/serious stuff/CALC.cpp | 383c32251e4ad5a0fe87220be0f7db2ce2849b4d | [] | no_license | Legedith/1st-sem | 7fd10a58d9b80fa5668f9a38966f8452569f7f12 | ed99f573c5132be1047b774bc9e12268ccbae7a9 | refs/heads/master | 2020-06-29T23:18:06.147719 | 2019-10-23T00:59:40 | 2019-10-23T00:59:40 | 200,653,230 | 0 | 1 | null | 2019-10-23T00:59:41 | 2019-08-05T12:42:05 | C++ | UTF-8 | C++ | false | false | 4,128 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
void HomePage(float []);
void menu(float []);
void Switch(char, float []);
void ca();
float add( float [] );
float sub( float [] );
float multiply( float [] );
float div( float [] );
int mod( float [] );
int limit;
float result;
string choice;
int main()
... | [
"jatindehmiwal@gmail.com"
] | jatindehmiwal@gmail.com |
a68c239156ad1cd518b926b9a23b210b8310e418 | 6bcd0eb0cf8a2ecf4fb60f1a354424ad3e8ce5e7 | /DeviceEnumeration/cpp/BackgroundDeviceWatcherTaskCpp/BackgroundDeviceWatcherTaskCpp.h | d2a78cd21f10e7bdbc54c24b56ab108f0873a12a | [
"MIT"
] | permissive | mhdubose/Windows-universal-samples | 8e0fa492ca624b96f60a28913753066eac8e09f4 | 7c3abf2bc631dccdd19c1a55fc16109c3d3e78d5 | refs/heads/master | 2021-01-14T12:35:20.616148 | 2015-08-27T23:11:19 | 2015-08-27T23:15:06 | 38,263,630 | 0 | 0 | null | 2015-06-29T18:27:38 | 2015-06-29T18:27:37 | null | UTF-8 | C++ | false | false | 409 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
#pragma once
using namespace Windows::ApplicationModel::Background;
namespace BackgroundDeviceWatcherTaskCpp
{
[Windows::Foundation::Metadata::WebHostHidden]
public ref class BackgroundDeviceWatcher sealed : public IBackgroundTask
{
public:
Backgrou... | [
"IrinVoso@users.noreply.github.com"
] | IrinVoso@users.noreply.github.com |
326290c4ecf7545c941af67142c603da0505e157 | 63daf225819636397fda6ef7e52783331c27f295 | /python-call-so/testLib.cpp | bbf6a8f55cc42027b4cbcec402ee07baefe0a278 | [] | no_license | cash2one/language-Python | e332ecfb4e9321a11407b29987ee64d44e552b15 | 8adb4f2fd2f023f9cc89b4edce1da5f71a3332ab | refs/heads/master | 2021-06-16T15:15:08.346420 | 2017-04-20T02:44:16 | 2017-04-20T02:44:16 | 112,173,361 | 1 | 0 | null | 2017-11-27T09:08:57 | 2017-11-27T09:08:57 | null | UTF-8 | C++ | false | false | 345 | cpp | #include <stdio.h>
#include "testLib.h"
CTestLib::CTestLib()
{
}
CTestLib::~CTestLib()
{
}
int CTestLib::sum(int a, int b)
{
int result = a + b;
show(result);
return result;
}
void CTestLib::show(int value)
{
printf("[class] result: %d\n", value);
}
extern "C" {
CTestLib obj;
int sum(int a, int b)
{
ret... | [
"finetang@gmail.com"
] | finetang@gmail.com |
1b43d695bb39c699a7e2dea6a30fb26f9029cea6 | 6d4bb1fd018e732e190c3967c8738313340e9b0a | /src/Wrapper/HK/include/HK/DVRStatementImpl.h | b01fe1980b73ffdd8ac6df2911ed5f8fbef68b34 | [] | no_license | anyboo/Phoenix | 5c14f39bce905b2cc26e037973e28012dcb9da34 | 13b9608e402e5f3ce2feabb4bad5a0e7c862699a | refs/heads/RefireCode | 2020-04-12T03:05:30.351331 | 2016-09-28T10:12:47 | 2016-09-28T10:12:47 | 62,291,017 | 3 | 5 | null | 2016-09-28T10:12:47 | 2016-06-30T07:48:54 | C | UTF-8 | C++ | false | false | 1,200 | h | #pragma once
#include "HKLite.h"
#include "DVR/DVRStatementImpl.h"
#include "HK/Utility.h"
namespace DVR {
namespace HKLite {
class HKLite_API DVRStatementImpl : public DVR::DVRStatementImpl
{
public:
DVRStatementImpl(DVR::DVRSessionImpl& rSession, Utility::HANDLE pDvr);
~DVRStatementImpl();
long donwloadByNam... | [
"zyf079@gmail.com"
] | zyf079@gmail.com |
3eb45ce17fdc3f412c3ba5d21c490254f36407ed | d077e40e376f16c9420f32001decf946a34a6e71 | /NumCore/HypreGMRESsolver.h | 75f51ed9a15f506a626c6bfec34cda62c70ee4e5 | [
"MIT"
] | permissive | jnbrunet/febio2 | 43196e79f8c54a5c92f3f592aa7437fd3b3fe842 | fdbedae97c7d2ecad3dc89d25c8343cfbdeb195a | refs/heads/master | 2021-07-21T01:04:58.828864 | 2020-05-19T06:47:31 | 2020-05-19T06:47:31 | 203,228,954 | 0 | 0 | null | 2019-08-19T18:38:29 | 2019-08-19T18:38:28 | null | UTF-8 | C++ | false | false | 2,212 | h | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2019 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... | [
"mherron@omen.sci.utah.edu"
] | mherron@omen.sci.utah.edu |
80e08b81a41f4c07118a85f3a3eca02143564dca | b794490c0e89db4a3a4daabe91b2f057a32878f0 | /Hook/Hook_Ring3/KeboardHook/KeboardHook.cpp | f3da580ad465121fa1c2f64a311fd1c5958d21d6 | [] | no_license | FusixGit/hf-2011 | 8ad747ee208183a194d0ce818f07d312899a44d2 | e0f1d9743238d75ea81f1c8d0a3ea1b5a2320a16 | refs/heads/master | 2021-01-10T17:31:14.137939 | 2012-11-05T12:43:24 | 2012-11-05T12:43:24 | 50,957,230 | 3 | 8 | null | null | null | null | GB18030 | C++ | false | false | 95 | cpp | // KeboardHook.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
| [
"hongfu830202@gmail.com"
] | hongfu830202@gmail.com |
3df6c4edd068d49ee25386a20c261446f8034967 | f3a316a2f25b37793e1741295d7e932e3d8e7c09 | /source/common/simpleformatter.cpp | ae17a0500518a892e7588f2ee3299c664cb9c56b | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NAIST-2003",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"ICU",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | CdTCzech/ICU | 3cb59891b9efcbcfa5fb6e75d394d666561650a3 | 4c9b8dfefd9a26096f7642c556fa3b4bd887317e | refs/heads/master | 2023-03-01T19:23:09.347544 | 2021-02-09T13:01:11 | 2021-02-09T13:01:11 | 257,857,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,246 | cpp | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
* Copyright (C) 2014-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*************... | [
"hrncirmirek@outlook.com"
] | hrncirmirek@outlook.com |
355fb36ac25fb1c5292dbfe146a98a4acb94e1a2 | 8b59552ce92fab023f5efb462a12a3616bb44464 | /RemoteControl/RemoteControlView.cpp | 1949468eef60359b2b8b83019c5c91e0e38378ca | [] | no_license | 0x6666/RemoteControl | bbdb8a7f7507bbf305ee5d439f0926ad6f89adba | 08d9330534a1d8fa73d7f98209ceb681db374a6e | refs/heads/master | 2021-06-12T15:29:59.614740 | 2015-05-03T14:13:43 | 2015-05-03T14:13:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,434 | cpp | ///////////////////////////////////////////////////////////////
//
// FileName : RemoteControlView.cpp
// Creator : 杨松
// Date : 2013年2月27日, 20:10:26
// Comment : 远控控制服务器文档视图结构中的视图类的实现
//
//////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RemoteControl.h"
#include "RemoteCon... | [
"yangsongfwd@sina.com"
] | yangsongfwd@sina.com |
cc140bfb72092d443e89dcb5eda7761848b64fce | 2b45998c5472e30ea7058603bca3a77700b86b70 | /실패작 개똥벌레.cpp | e563801434de367dbf8c850235ef3f149f04619e | [] | no_license | forybm/CodeMountain | c6b5e404bc5947f2a41df76331bb1ba078dcbe41 | 7a3c8bc76db7f57ad68638f800513d0ea0a7c5a2 | refs/heads/master | 2021-06-21T15:05:30.653346 | 2017-07-27T06:03:55 | 2017-07-27T06:03:55 | 98,499,311 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 788 | cpp | #include <stdio.h>
#include <algorithm>
using namespace std;
int H[500000]={0};
int main()
{
int length,high; //동굴의 길이, 동굴의 높이
int n[200000]; //종유석 갯
scanf("%d%d",&length,&high);
for(int i=1;i<=length;i++)
{
scanf("%d",&n[i]);
}
for(int i=1;i<=length;i++)
{
if(i%2==0) //짝수번째 종유석은 위세어 아래로
{
... | [
"forybm1@naver.com"
] | forybm1@naver.com |
7eb155845bd7602ff96c60bfbf4e3f5a8af43255 | c5fb286e9adb0132f87ffecd0091f71a9907c197 | /ext/aip/src/lib/aptl/memory/BaseArena.h | c1e3125a2e0086761afeb9e5ca9973867ef2695f | [
"Apache-2.0"
] | permissive | sovaai/sova-engine | 2dc00ca554fd464cc2fd693c02c8de4acb4dcc5c | 783b04072bb243891bc332fcb0f61e938e456f4f | refs/heads/master | 2022-12-31T20:32:14.158432 | 2020-10-28T19:07:39 | 2020-10-28T19:07:39 | 289,885,115 | 50 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,581 | h | #ifndef _BASEARENA_H_
#define _BASEARENA_H_
#include <assert.h>
#include <stdlib.h>
#include <_include/cc_compat.h>
#include <_include/_string.h>
namespace Arena
{
struct DefaultPolicy
{
static const size_t defaultBlockSize = 8UL * 1024 * 1024;
};
template< typename MemberType >
... | [
"fedor.zorky@gmail.com"
] | fedor.zorky@gmail.com |
cc6946f0915aa96352d543d8ceac5e5067e33945 | 4feaaccdbd7359309f348a066ade183c2994449f | /strategy/strategy.cpp | 6d3bcce7c5bd78c5c7153a42443d6556bc1d637b | [] | no_license | sirjofri/patterns | 8c0d07fb0750c09008853f0c9093c087fe1411a2 | be0908a9ce0c0709ec844fd4a346e04d7d8e5aae | refs/heads/master | 2020-03-08T09:22:49.373068 | 2018-04-04T11:22:51 | 2018-04-04T11:22:51 | 128,045,716 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | #include "strategy.h"
#include <iostream>
#include <sstream>
std::string Strategy::getStr(std::string in)
{
return "No Strategy!";
}
int Strategy::str()
{
return -1;
}
std::string AStrategy::getStr(std::string in)
{
std::ostringstream ret;
ret << "Strategy A: " << in << ":";
return ret.str();
}
int AStrategy::... | [
"sirjofri@gmx.de"
] | sirjofri@gmx.de |
998f09f75e090e68113e7c20f007c1f8c7be75da | 49b05e95d9003b7f1f4f66620c3e051a27648d91 | /Applications/Terminal/Terminal.h | 82d13a546f8d70bff9c4f449119dfd16727b8972 | [
"BSD-2-Clause"
] | permissive | ygorko/serenity | 8f1d25b8d48465c9353c585b64e4e089c3434bbf | ccc6e69a294edacf7bec77cb2c2640ada7fe1f77 | refs/heads/master | 2020-05-31T03:40:53.063797 | 2019-06-03T17:52:31 | 2019-06-03T19:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,652 | h | #pragma once
#include <AK/AKString.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <LibCore/CConfigFile.h>
#include <LibCore/CNotifier.h>
#include <LibCore/CTimer.h>
#include <LibGUI/GFrame.h>
#include <SharedGraphics/GraphicsBitmap.h>
#include <SharedGraphics/Rect.h>
class Font;
class Terminal final : publ... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
03132ecf0ea8c074928ddfedc34853f11d17826a | 78f38f9968e1b8d31e1969c26f7b5588118ec085 | /AdventOfCode2016/AdventOfCode2016/AOC_23/AOC_23.cpp | a8b83bbd30f30b0221369c1001ff09dc502c6529 | [] | no_license | RTwTools/AdventOfCode | dfb5368b9dc08a59f225f0707f39ea66cb4515de | 9f8bb65e2e973cc664995781d6d409c158c6c655 | refs/heads/master | 2020-06-12T22:13:36.175924 | 2018-12-23T18:50:09 | 2018-12-23T18:50:09 | 75,435,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,617 | cpp | #include "AOC_23.h"
AOC_23::AOC_23(std::string fileName) :
passReg(4, 0),
line(0)
{
//open input file
std::string input = readFile(fileName);
if (input == "") return;
//split string at '\n', split commands at ' '
std::vector<std::string> lines = splitString(input, '\n');
for (int i = 0; i < (int)lines.size()... | [
"JeroenJacobs@Outlook.com"
] | JeroenJacobs@Outlook.com |
4ae5b93d68c44d5c4f9a9fbcb01c3f8459b2b053 | 2694b5757220afebf0a07cc2c14e487c81219654 | /450-DSA-Cracker/String/count-and-say.cpp | 8c760b8c4ff31c92c16bf56db01947ebdd7d06f6 | [] | no_license | sumitrathawani1810/Data-Structure-Algorithm | 64254e3116aad331b7e3019b5eebadf885bf9dc5 | 7ad452368e721c970f4b0ca9cde39d436bba2533 | refs/heads/main | 2023-08-31T20:26:23.648931 | 2021-10-23T04:07:39 | 2021-10-23T04:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include<bits/stdc++.h>
using namespace std;
class Solution{
public:
string countAndSay(int n){
// We will check for 1 and 2 individually,
if(n==1)
return "1";
if(n==2)
return "11";
// Now for any entry greater than 2, we will :... | [
"iamlucif3r@localhost.localdomain"
] | iamlucif3r@localhost.localdomain |
0296c1524210d3ace54d4184939eaf0e1675ea76 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_4711_git-2.1.4.cpp | 008446ce15498fee9b8a68b786ccba945a3be1d3 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | static int git_clean_config(const char *var, const char *value, void *cb)
{
if (starts_with(var, "column."))
return git_column_config(var, value, "clean", &colopts);
/* honors the color.interactive* config variables which also
applied in git-add--interactive and git-stash */
if (!strcmp(var, "color.interactiv... | [
"993273596@qq.com"
] | 993273596@qq.com |
7bbf92a4274078f823e2d125ce8cb7ce20f510bf | 4882847af716e5342f437569970795fe1fc9a853 | /Code/MUD/Implementations/mud/Game/Areas/Room.hpp | a3f558a1bd16a783961c3c5342a60dc91ec37cc6 | [] | no_license | Aslai/MUD | 059a40976cbd501265a5097e08a70ec8773bab01 | 86b3828fe343ee787f799d59b1d9f6ad2226a614 | refs/heads/master | 2020-06-06T15:46:33.822555 | 2014-10-13T02:06:07 | 2014-10-13T02:06:07 | 18,485,230 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | hpp | //Be sure that Realm is defined in the case of a circular reference
#ifndef MUD_GAME_AREAS_ROOM_DEFINED
#define MUD_GAME_AREAS_ROOM_DEFINED
namespace MUD{
namespace Game{
class Room;
}
}
#endif // MUD_GAME_AREAS_REALM_DEFINED
#ifndef MUD_GAME_AREAS_ROOM_HPP
#define MUD_GAME_AREAS_ROOM_HPP
... | [
"kaslai@kaslai.com"
] | kaslai@kaslai.com |
7bbeb7fa849d18319876dc16d1cb205919a6ff4b | 66c655a05d79ecfbc104b9b40a147c90b9efe242 | /Client/Store.cpp | 591ee9b431b701213d49fa686e8ae09e8a941545 | [] | no_license | a110b1110/MapleStory | 244cdb3a98aed43244341b1b815b86cd1b0c0f15 | 03d627fad6224ac41ac9d92a2243d1caa05a6b35 | refs/heads/master | 2021-01-01T06:29:04.838321 | 2017-08-15T09:10:24 | 2017-08-15T09:10:24 | 97,435,142 | 0 | 0 | null | 2017-07-17T04:26:52 | 2017-07-17T04:26:52 | null | UHC | C++ | false | false | 12,311 | cpp | #include "stdafx.h"
#include "Store.h"
#include "BitMapMgr.h"
#include "BitMap.h"
#include "ObjMgr.h"
#include "Mouse.h"
#include "KeyMgr.h"
//Item----------------------------
#include "Npc.h"
#include "Item.h"
#include "Armor.h"
#include "Glove.h"
#include "Accessory.h"
#include "Helmet.h"
#include "Shoes.h"
#include... | [
"ygchoi2001@naver.com"
] | ygchoi2001@naver.com |
0e6e560bb8cda7980ff82d974bce9815e29788dd | 40cdb94b52db41bb7b06f0b304a554247a8c9754 | /Gpu_Rvd/header/cuda/cuda_polygon.h | 63e90237b8359ce810f8b2d05a1dde11b75610a6 | [
"MIT"
] | permissive | stormHan/gpu_rvd | adb86de5e2d236ac63476c8d598d4021deb9b2d5 | 4029bfa604117c723c712445b42842b4aa499db2 | refs/heads/master | 2020-06-23T03:13:14.648566 | 2017-03-29T12:40:34 | 2017-03-29T12:40:34 | 74,668,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | /*
*
*/
#ifndef CUDA_POLYGON_H
#define CUDA_POLYGON_H
namespace Gpu_Rvd{
/*
* \brief Cuda polygon vertex.
* \detials x, y, z is the spatial position of a vertxt.
* w is the weight of a vextex. neigh_s is the nearby seed
* of the current point.
*/
struct CudaVertex
{
double x;
double y;
double z;
do... | [
"stormhan1205@gmail.com"
] | stormhan1205@gmail.com |
e086d8de5a7d3349357bb1d7a885c19b1e96e908 | 7292da3fcac24ba18579466b44b4b8e053464eb6 | /Server/recomandare.cpp | 947c016670f227fd8a3510b5732e18d787f22634 | [] | no_license | raresmihai/readsprofiler | 16b12e2c58703094fe5280ead5ce0945088eed65 | c32315322675727fe9c41437224b2d8d84f8ca80 | refs/heads/master | 2021-01-19T03:13:46.835065 | 2016-07-23T19:13:45 | 2016-07-23T19:13:45 | 48,611,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,829 | cpp | #include "recomandare.h"
void recomandare_carti(int client_descriptor)
{
int caz_recomandare;
if(read(client_descriptor,&caz_recomandare,4)<0)
{
perror("Eroare la citirea cazului de recomandare.\n");
}
char username[50];
if(read(client_descriptor,&username,50)<0)
{
perror("E... | [
"raresbabuta@gmail.com"
] | raresbabuta@gmail.com |
282cb6bc3252bcbb409f65049f47506d495e82c5 | e08b2ee4b3c34fc9ef03fbdda7fffa8ec9ef1077 | /sim/program.h | bf74e989853f3021577814c5e71db46f7bd2f7bf | [] | no_license | trnila/ledcube | d1c04f80629e51474f44f9b6a7c3f49ee250fafd | 3dd814b2ac0cec53c8656cc33416a6d3bbbda1a7 | refs/heads/master | 2020-03-22T16:31:27.790283 | 2018-07-09T19:23:20 | 2018-07-09T19:23:20 | 140,332,313 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | #pragma once
#include <glm/glm.hpp>
class Program {
public:
Program(const char *vertex, const char *fragment);
void setUniform(const char *attr, glm::mat4 coord);
void setUniform(const char *attr, glm::vec3 vec);
void activate();
void configureCoord();
private:
GLuint program;
GLint getUniformHandle(con... | [
"daniel.trnka@gmail.com"
] | daniel.trnka@gmail.com |
d4dcd077dcd08cdf5c50423f2e3b60ad7d724d90 | 2f85ea1b415b0a5b14c3f67a43bc7c8266c2d1b3 | /Bitmanipulation/clearallbit.cpp | 60d17ef0ab26b050bf191ab92ace6446566c6fe2 | [] | no_license | ratankumar19/Competitive-Programming | 960c565fcbf91c282bcfb0d8141ed85335985310 | d19f1678f4695b8057d619651a8c05310f212c5c | refs/heads/master | 2022-11-13T22:06:59.396406 | 2020-07-11T13:16:08 | 2020-07-11T13:16:08 | 278,863,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | int clearAllBits(int n, int i){
/* Don't write main().
* Don't read input, it is passed as function argument.
* Return output and don't print it.
* Taking input and printing output is handled automatically.
*/
int mask= (1<<i)-1;
n=n&mask;
return n;
}
| [
"ratankumar086@gmail.com"
] | ratankumar086@gmail.com |
9418324f5f67691190bb0ff12b9a7e48c993f21a | 350db570521d3fc43f07df645addb9d6e648c17e | /0155_Min_Stack/solution.cpp | 5f0290ad67573f5fcc955ab398e5f2eb808a06c6 | [] | no_license | benjaminhuanghuang/ben-leetcode | 2efcc9185459a1dd881c6e2ded96c42c5715560a | a2cd0dc5e098080df87c4fb57d16877d21ca47a3 | refs/heads/master | 2022-12-10T02:30:06.744566 | 2022-11-27T04:06:52 | 2022-11-27T04:06:52 | 236,252,145 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | /*
155. Min Stack
Level: Easy
https://leetcode.com/problems/min-stack
*/
#include <vector>
#include <string>
#include <stack>
#include <algorithm>
#include "common/ListNode.h"
#include "common/TreeNode.h"
using namespace std;
/*
Solution:
*/
class MinStack
{
private:
stack<int> valStack;
stack<int> minSta... | [
"bhuang@rms.com"
] | bhuang@rms.com |
60256069d7654e75f62ddcee04320b6bfec10236 | 535e18dcaa3d0fb0d85b171f426b77d44c5082f8 | /wifi/wifi.cpp | 23e9b90db808e7b84716e9f0549a1fbbfc9f79de | [] | no_license | raspberrydev/WiFiDirect | 0ea38c03892ecda3738935054ea269c7b3fbd700 | 6b185f4266f00291e395a57873c47b2d27d5c544 | refs/heads/master | 2022-03-25T19:57:05.829784 | 2019-12-26T09:45:29 | 2019-12-26T09:45:29 | 230,236,103 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "stdafx.h"
#include "console.h"
#include "hostednetwork.h"
using namespace ABI::Windows::Foundation;
using namespace Microsoft::WRL;
using namespace Microsoft::WRL::Wrappers;
using namespace std;
int main(int argc, char** argv)
{
// Initialize the Windows Runtime.
RoInitializeWrapper in... | [
"noreply@github.com"
] | raspberrydev.noreply@github.com |
e44cba589706d446a3f2fd25f4643f5074c0e6f6 | 3f435b73e0fd7701828ea7e569e0586d38f98edb | /Begginers/sumodd.cpp | 50a727297bd3a748b063bd9867ec42f74de48e84 | [] | no_license | lhpdev/URIJudgeExercises | 44adb7912c5abf4ac623e2053c041099950ec429 | 87293f5ab12f2a92dce3fb9dc02c403ad9a0e60f | refs/heads/master | 2021-09-22T09:06:09.539693 | 2018-09-06T21:15:00 | 2018-09-06T21:15:00 | 93,896,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | #include <stdio.h>
#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int X,Y,i,sum,sumX,sumY,auxX, auxY;
scanf("%d" , &X);
scanf("%d" , &Y);
sum = 0;
sumX = 0;
sumY= 0;
if (( X < 0) && (Y < 0)){ // OK
auxX = -X;
auxY = -Y;
if( auxX > auxY){
for (int i = (auxY +... | [
"lucass.hauptmann@gmail.com"
] | lucass.hauptmann@gmail.com |
d7d7e220ecf925cd816e2e497288e6e987343e29 | 11cd4f066c28c0b23272b6724f741dd6231c5614 | /Codeforces/1325-A.cpp | 9a9a92121c246e50a2c8e100a239a50f878cf286 | [] | no_license | Maruf089/Competitive-Programming | 155161c95a7a517cdbf7e59242c6e3fc25dd02b7 | 26ce0d2884842d4db787b5770c10d7959245086e | refs/heads/master | 2021-06-24T11:00:55.928489 | 2021-06-01T05:45:58 | 2021-06-01T05:45:58 | 222,057,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,197 | cpp | /**Bismillahir Rahmanir Rahim.**/
#include<bits/stdc++.h>
using namespace std;
#define ln '\n'
#define inp(x) scanf("%lld",&x)
#define inp2(a,b) scanf("%lld %lld",&a,&b)
#define f0(i,b) for(int i=0;i<(b);i++)
#define f1(i,b) for(int i=1;i<=(b);i++)
#define MOD 1000000007
#define PI acos(-1)
#define ll lon... | [
"noreply@github.com"
] | Maruf089.noreply@github.com |
62a79fc795b079f4d7ff06235ddc99dcd0b42430 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /ash/wallpaper/wallpaper_widget_controller.cc | 809500b80b531cd952e9dd2552a2039a139b46f8 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 8,191 | 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 "ash/wallpaper/wallpaper_widget_controller.h"
#include <utility>
#include "ash/ash_export.h"
#include "ash/root_window_controller.h"
#inclu... | [
"artem@brave.com"
] | artem@brave.com |
8819e6252b12de94972dc95f5c918bfe01856186 | 37bd9a94cddce57c8699a1ddc037b531c82eaa51 | /src/wallet/message_store.cpp | d0ca8dca8d31db5a31844257d3d718927f6e3cb3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Vireonidae/vireo | 607366c8f97c6878bc72721e79a04601e50b80fb | 750e16bf5c242b864acb7b37b8c10652929e5f3f | refs/heads/master | 2022-11-12T10:24:09.275176 | 2020-06-29T22:13:28 | 2020-06-29T22:38:26 | 271,019,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,319 | cpp | // Copyright (c) 2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
// ... | [
"cam@camthegeek.net"
] | cam@camthegeek.net |
fdff192bbe4c7dda9e0d42dfeeef939d4304a3d1 | 52896a1d66e157f966105bee46cf8a7e48c26df2 | /src/renderer.h | 41718bdb6c8da498e335cb7fba120b9f1f8826b8 | [] | no_license | AntonHakansson/c_physics | 9b86027263a1d3c2900806069308e7ecc5ca4c5b | fc8a71f7ba04287c9f69010af633ecfc1a995602 | refs/heads/main | 2023-08-19T10:08:41.625908 | 2021-09-23T16:34:48 | 2021-09-23T16:40:52 | 349,856,320 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | h | #pragma once
#include <raylib.h>
#include "language_layer.h"
constexpr u32 MAX_DRAW_CALLS = 1024;
enum RENDER_COMMAND_TYPE {
FILLED_RECT,
SCALED_TEX_RECT,
CIRCLE,
LINE,
TEXT,
MAX_RENDER_COMMANDS,
};
struct RenderCommand {
RENDER_COMMAND_TYPE type;
u8 flags;
union {
// NOTE(anton) : render co... | [
"anton.hakansson98@gmail.com"
] | anton.hakansson98@gmail.com |
1e2b5e7193f95d59054ec19ef1aeed89ec11660a | 5bae8b53fed74f9e093f2fdedc08485182aa8d47 | /src/MG5_aMCNLO/Commons/read_slha_MEKD.cc | 39568adbde5c02086a008755783c3c5af76d7834 | [] | no_license | odysei/MEKD | eac098ea7241f287dde1fb625aaaeb7138823d8b | 1614a2192a1e7725cc96e3cb773b02f62ac3c52b | refs/heads/master | 2020-12-25T17:14:26.875430 | 2018-12-01T19:31:44 | 2018-12-01T19:31:44 | 10,505,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,302 | cc | #ifndef READ_SLHA_MEKD_CC
#define READ_SLHA_MEKD_CC
#include <algorithm>
#include <iostream>
#include <fstream>
#include "read_slha_MEKD.h"
using namespace std;
void SLHABlock_MEKD::set_entry(vector<int> indices, complex<double> value)
{
if (_entries.size() == 0)
_indices = indices.size();
else if (i... | [
"odysei@gmail.com"
] | odysei@gmail.com |
5caae901f14254a8128f9b5cd9b6ccd98a037612 | 4255fcba4718c888eb32e4530b736ef037882d28 | /APIs_Drivers/DigitalOut_ex_1/main.cpp | 6ddc38d6f7c0a63b167b6b048932d80350173bf6 | [
"Apache-2.0"
] | permissive | ARMmbed/mbed-os-examples-docs_only | e2fb92478a847c2578c7950a510ae2730b3eccc4 | d955550449cc6ac7d1151550f2a058803a2986ee | refs/heads/master | 2023-07-05T06:05:59.974508 | 2021-09-19T22:47:14 | 2021-09-19T22:47:14 | 152,603,832 | 6 | 28 | Apache-2.0 | 2021-09-19T22:47:15 | 2018-10-11T14:19:44 | C++ | UTF-8 | C++ | false | false | 643 | cpp | /*
* Copyright (c) 2006-2020 Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*/
#include "mbed.h"
DigitalOut myled(LED1);
int main()
{
// check that myled object is initialized and connected to a pin
if (myled.is_connected()) {
printf("myled is initialized and connected!\n\r");
... | [
"maciej.bocianski@gmail.com"
] | maciej.bocianski@gmail.com |
7f33e43d78ed28a2063adc7bda8920f31b67abb2 | 31d6eddaa5c6b62a7591fe29578ceb537cd7d40f | /pub/Publisher.cpp | 7347dd0fec0cab4bb11541a2d02d0f01c252be85 | [] | no_license | StudyforLife/MyIce | 091a66ccddcb37a3967f3a87e276ad263e2cf34f | 7e848afad5cafd2c220ecac27cb3ec656325d0eb | refs/heads/master | 2020-04-11T02:51:38.891815 | 2018-12-16T10:48:01 | 2018-12-16T10:48:01 | 161,458,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,541 | cpp | #include<iostream>
#include<IceStorm/IceStorm.h>
#include<Ice/Ice.h>
#include<sstream>
#include<vector>
#include<time.h>
#include<cstdio>
#include<sys/types.h>
#include<sys/stat.h>
#include"Station.h"
using namespace std;
using namespace StationDemo;
myTopicList create_topic()
{
myTopicList m;
int size=100;
strin... | [
"840431307@qq.com"
] | 840431307@qq.com |
6094c04c1b4f7ff3716e230b238a20611bc1e4c7 | 9e882dab9db411cc1c24f3dc82c4eb734c956130 | /src/ParticlePhysics/MuonTomography/Hit.h | a5b071a15019092fc356cc541701379b5e16be93 | [] | no_license | OpenCMT/uLib | 8d4a2541fb60e596c07c139a151ae5cc2eb97931 | b7c775ee3510296b7cc1a29de3f5443ce518a68d | refs/heads/master | 2023-04-09T14:04:22.232237 | 2023-02-22T10:20:56 | 2023-02-22T10:20:56 | 36,926,725 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | h | /*//////////////////////////////////////////////////////////////////////////////
// CMT Cosmic Muon Tomography project //////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
Copyright (c) 2014, Universita' degli Studi di Padova, INFN sez. di Padova... | [
"andrea.rigoni@pd.infn.it"
] | andrea.rigoni@pd.infn.it |
fe20a07562f747220d02cd166472b964841d9ab1 | 33b567f6828bbb06c22a6fdf903448bbe3b78a4f | /opencascade/TColgp_HArray1OfPnt2d.hxx | ff851b63fc00c2db908b1562e14bede163b46782 | [
"Apache-2.0"
] | permissive | CadQuery/OCP | fbee9663df7ae2c948af66a650808079575112b5 | b5cb181491c9900a40de86368006c73f169c0340 | refs/heads/master | 2023-07-10T18:35:44.225848 | 2023-06-12T18:09:07 | 2023-06-12T18:09:07 | 228,692,262 | 64 | 28 | Apache-2.0 | 2023-09-11T12:40:09 | 2019-12-17T20:02:11 | C++ | UTF-8 | C++ | false | false | 997 | hxx | // Created on: 1993-03-10
// Created by: Philippe DAUTRY
// Copyright (c) 1993-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
582b0b8098367699d94e3d818a7c325ae44110e6 | 04579fb7426b9cf8d7b3877334bc927bb0c79e87 | /Source/TestingGrounds/AI/PatrolRoute.h | e644b210412a43b10ee3212c2f08c68a66fad081 | [] | no_license | SeanSiders/TestingGrounds | ad3fab8ce9b3b9c5df7e1ecea6effc54f8dde511 | 0335f849227ed3f123021094d9ed4e0ccff3893a | refs/heads/master | 2022-01-18T16:38:32.225650 | 2022-01-13T19:35:19 | 2022-01-13T19:35:19 | 170,135,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "PatrolRoute.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class TESTINGGROUNDS_API UPatrolRoute : public UActorComponent
{
GENERATED_BODY()
public:
TArray<AActor*> GetPatrolPoints() const;
... | [
"sean.siders@icloud.com"
] | sean.siders@icloud.com |
b2ba115e0b7acba4127081a54a81adb38a0192c9 | e431a1685ace7e541da641d9005195db89cb1b6f | /10_v1.cpp | 33f34f5c670deef562caddedaf2e1ba5ced688ed | [] | no_license | jianminchen/LeetCode-17 | 7f82230be3510fdfb60847bcee521e6796b33ea9 | 68080d07819bf81823a0c9d25ec84f2a19d422a6 | refs/heads/master | 2021-01-19T07:07:30.481800 | 2016-07-17T08:08:56 | 2016-07-17T08:08:56 | 67,087,459 | 1 | 0 | null | 2016-09-01T01:35:35 | 2016-09-01T01:35:34 | null | UTF-8 | C++ | false | false | 1,343 | cpp | /*
10_v1.cpp
Regular Expression Matching
My first submission got WA because I forgot to initialize the f array as
false. I don't quite understand why my second submission got WA since I
believe bool f[lenS + 1][lenP + 1] = {false} should have already initialized
all values of f.
Turns out this is incorr... | [
"phoenixinter@gmail.com"
] | phoenixinter@gmail.com |
8b0ff0aede8cbda87552556eb34e49429901eaa3 | 9f0c51ab161e4adc1207e0bef70200c4ec4d20c5 | /src/kdc_arm_tf2/src/kdc_pose_tf.cpp | 60a1db28a13d50a47eca8f99584389052111a09b | [] | no_license | tartanBot/BOOST1 | b3f8229e20142a9d27c48f901d0b4a567e189105 | 637c2cfaac46eb3c41547bf56172c8f01ef456d4 | refs/heads/master | 2021-06-25T08:05:54.460186 | 2017-08-20T02:38:03 | 2017-08-20T02:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | cpp | #include <ros/ros.h>
#include <tf2_ros/transform_listener.h>
#include <tf2_ros/transform_broadcaster.h>
#include <geometry_msgs/TransformStamped.h>
void arucoPoseCallback(const geometry_msgs::TransformStamped::ConstPtr& msg)
{
static tf2_ros::TransformBroadcaster br;
geometry_msgs::TransformStamped transformStampe... | [
"merrittj@andrew.cmu.edu"
] | merrittj@andrew.cmu.edu |
6e01a71d125d05a9514200080186ec69ff8a507a | 34aadfb024f98b6de7441f17b4796c39af168b93 | /lookup/src/LookupInterface.cpp | fb47a0797de31f167a1d33d1945ba6751a2f4ee7 | [] | no_license | cbuchxrn/argus_utils | 5a393014ed9a6dd977995d176fe8ca5f3eea81fc | d19be5bdd54e324d1bb23e10625462bf2c6bd5e0 | refs/heads/master | 2022-01-12T14:17:12.322705 | 2018-04-10T17:57:32 | 2018-04-10T17:57:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cpp | #include "lookup/LookupInterface.h"
#include <boost/thread/thread.hpp>
namespace argus
{
LookupInterface::LookupInterface()
: nodeHandle(), lookupNamespace( "/lookup/" ) {}
LookupInterface::LookupInterface( const ros::NodeHandle& nh )
: nodeHandle( nh ), lookupNamespace( "/lookup/" ) {}
void LookupInterface::SetLoo... | [
"humhu@cmu.edu"
] | humhu@cmu.edu |
416898df56d0412e5c0adad54b07ce3dc83ead70 | 8b01178a3b58043681ee138961ed366db46fb749 | /src/coincontrol.h | ecceb0bf6ce746ea7c8a69c672620ad3c905d823 | [
"MIT"
] | permissive | awardprj/AwardCoin | a574c3475bf6a69fa544257c5d5e80d424d9a461 | 5c3703129c716f177da3a1d7ef0421778abef62e | refs/heads/master | 2020-05-21T21:57:52.593996 | 2019-05-12T16:49:58 | 2019-05-12T16:49:58 | 186,162,973 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,240 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2014-2016 The Dash developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019 The AwardCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... | [
"root@ubuntu16.local"
] | root@ubuntu16.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.