blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
839de9caff10bc68bde5266a4243073d9fd0814d | beb0314dd976050bc41ff670537a73b24a3df6c2 | /DataStructureComp/sources/type-manipulators/fibheaptypemanipulator.cpp | 9afc1eca5b8163226abc892982f9f44a8cf4c480 | [] | no_license | danielScLima/dsPerformanceComp | 68840f8eb9bdb2e3894dc859e1fb83648efb2447 | e5d5a2393b3c4cdcbec041d61a0ce52d1a3400ab | refs/heads/master | 2023-02-17T10:07:16.581038 | 2021-01-17T20:23:46 | 2021-01-17T20:23:46 | 329,736,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | cpp | #include "headers/type-manipulators/fibHtypemanipulator.h"
void FibonacciHeapTypeManipulator::initialize()
{
}
void FibonacciHeapTypeManipulator::insert(int key)
{
fh.insertBeforeStart(key);
}
void FibonacciHeapTypeManipulator::remove(int key)
{
FibonacciHeapNode* node = fh.deleteMinInterface();
if (nod... | [
"daniellima32@gmail.com"
] | daniellima32@gmail.com |
2920fc86a0617af3abeb246b7f16c83950637953 | 31321c469832a8d3695d106f73afef611fe66e41 | /BasesAreLoaded/BasesAreLoaded/Source.cpp | 3073b1d241b75870ff79274a3b92a38613f5f978 | [] | no_license | Travisrowe/4883_Programming_Techniques | 7fc0efe67b828e3e52de63f5b1c80f50caf8c0ec | c334ba0163206f33bce89fdb5fb7879d2de10937 | refs/heads/master | 2020-03-28T08:31:37.222070 | 2018-12-10T19:38:17 | 2018-12-10T19:38:17 | 147,971,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | //BasesAreLoaded : UVa 355 : Travis Rowe : Thiefone18 : 10/23/18
#include <iostream>
#include <string>
#include <sstream>
#include <algorithm> //includes reverse method
using namespace std;
int charVal(char c)
{
if (c >= '0' && c <= '9')
return (int)c - '0';
else
return (int)c - 'A' + 10;
}
string convertToBa... | [
"travisrowe18@gmail.com"
] | travisrowe18@gmail.com |
ace66035324f9fc7b51f1224fbf28f56abb28121 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_winapi_security.hpp | eeb4633f457489aa0cee585e953d9dacc18e1580 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37 | hpp | #include <boost/winapi/security.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
5c6444385e1d3c386cce5a3e3151bb76a074ad5d | 434692931b1b973f22f29104930ed197cac34152 | /CommonUtilities/CommonUtilities/Math/Matrix3x3.h | 85c49694d96d3dfe8ad908a3080c48df93236982 | [] | no_license | mrsGoransson/someStuff | 67ce9fdaef9fdf41e2fa7175667bfeb6d60596b5 | 68271d5c01c35f0bf43a3010e10a7c101e2770f0 | refs/heads/main | 2023-07-03T19:57:01.096574 | 2021-08-08T11:45:54 | 2021-08-08T11:45:54 | 324,770,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,716 | h | #pragma once
#include "Matrix4x4.h"
#include "Vector3.h"
#include <assert.h>
#include <math.h>
namespace CU
{
template<class T>
class Matrix3x3
{
public:
Matrix3x3<T>();
Matrix3x3<T>(const Matrix3x3<T>& aMatrix);
Matrix3x3<T>(const Matrix4x4<T>& aMatrix);
T& operator()(const int row, const int column);
... | [
"emma.goransson@protonmail.com"
] | emma.goransson@protonmail.com |
95c279e8cb1f1cef85f0ce9b29cf443ad8252c49 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3610_squid-3.1.23.cpp | d15dcbae2e20f52959ccaf0cb03ce32b4783fff6 | [] | 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 | 596 | cpp | void
UrnState::setUriResFromRequest(HttpRequest *r)
{
if (RequestNeedsMenu(r)) {
updateRequestURL(r, r->urlpath.rawBuf() + 5, r->urlpath.size() - 5 );
flags.force_menu = 1;
}
createUriResRequest (r->urlpath);
if (urlres_r == NULL) {
debugs(52, 3, "urnStart: Bad uri-res URL " <<... | [
"993273596@qq.com"
] | 993273596@qq.com |
2ed7e0772e84a10402c35743480487c32df6de47 | dfee46dd7053daf7eb52459a3ac9c81d70dbf3a1 | /Player.cpp | 5c5939277b8321ee90059538bd78b465308087e1 | [] | no_license | Ishay1997/pandemic-a | 5b456552f6d091c7ae0926c3f1d0431daa757dd2 | 883b5c1be6a18421ea56478b2e394a0c015ddb91 | refs/heads/master | 2023-04-20T16:46:55.656722 | 2021-05-05T15:51:57 | 2021-05-05T15:51:57 | 364,617,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include "Player.hpp"
using namespace std;
namespace pandemic
{
Player::Player(Board &board, City city) {}
Player::Player(Board &board, City city, int x) {}
Player Player::drive(const City &c) { return *this; }
Player Player::fly_direct(const City &c) { return *this; }
Player Player::fly_charter(const City &c) { ... | [
"ishaylevy8@gmail.com"
] | ishaylevy8@gmail.com |
c4b4ac9b2f7971c65d0ee59ab9beea2712297c8f | 0e693b0f2ef8eb7fa7fdc33aa225a8849a80ad14 | /src/dsmanage/StatusWin.h | 3c60311a5f956416d6f0e17484b1ba9f7adc14db | [] | no_license | ncareol/zebra | b40bed1845bc5741cabf50cad7244d61156895e3 | 1f9f2e7cf99db82cab840536245e90a9ac95bdff | refs/heads/master | 2022-05-07T02:36:45.619871 | 2022-03-24T21:35:56 | 2022-03-24T21:35:56 | 124,604,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | h | //
// Status window for loading data.
//
/* Copyright (C) 1987,88,89,90,91,92 by UCAR
* University Corporation for Atmospheric Research
* All rights reserved
*
* No part of this work covered by the copyrights herein may be reproduced
* or used in any form or by any means -- graphic, electronic, or mechanical,... | [
"corbet@eol.ucar.edu"
] | corbet@eol.ucar.edu |
debacd312f553cfc11ca404ddd1fb54dba63055f | 1963d07b4520a6d4379e988241b8f2fb1a75b8ca | /ASP2019/ASP2019/PZ3/Z1/main.cpp | 5deb4100d4a5929b25c63e270ca2e7b6cb3ccd21 | [] | no_license | bsuljic1/Data-Structure-And-Algorithms | f776decfac0648f426dcab2eb0a294eccdfe86ed | 0cf9f89a40e3d1f1a1b466015f5be31db2439c81 | refs/heads/master | 2023-02-28T21:42:31.038958 | 2021-01-31T15:16:56 | 2021-01-31T15:16:56 | 334,270,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,485 | cpp | #include <iostream>
template<typename Tip>
class Cvor
{
public:
Tip element;
Cvor *sljedeci;
Cvor()
{
sljedeci = nullptr;
}
Cvor(const Cvor &c)
{
element = c.element;
sljedeci = c.sljedeci;
}
Cvor(const Tip &el, Cvor *sl) : element(el), sljedeci(sl) {};
};
... | [
"bsuljic1@etf.unsa.ba"
] | bsuljic1@etf.unsa.ba |
c60617cb8bb922af61381dc93b6ce123bba8eebd | e5423140f1894992af36c8b5ea2f42855d8c4701 | /gyroclient.ino | 92e7cdc307646c578e42407a37ca6d75da68abec | [] | no_license | TimtimSMART/Future-Da-Codes | aaa2fcf8b2c52c9b53b41e5bda2d66cf6117d3ba | 9675cd34aa36561ffbd08e85b04bca02c980692e | refs/heads/master | 2022-12-04T05:38:22.549475 | 2020-08-19T11:21:10 | 2020-08-19T11:21:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | ino | #include <ESP8266WiFi.h>
#include <Wire.h>
#include <ITG3205.h>
#include <math.h>
#include <Ticker.h>
ITG3205 itg3205;
Ticker Time;
float deltaGz;
float gz_prev=0;
float degz = 0;
float anglez = 0;
int serverport = 88;
IPAddress server(192,168,4,1);
WiFiClient client2;
void interrupt()
{
itg3205.itg3205ReadGyro();
... | [
"noreply@github.com"
] | noreply@github.com |
b33e2efb410307ae0dc1cfab6402a6916e4ccdbc | 3b1fb2557b629738a1909a89e4b0364f94c3de31 | /utils/mutex_wrapper.h | 0702440021582eb779aace90d3fed2d6bd129d38 | [] | no_license | wangscript007/common_library | 78816267e4542270277c7cb5c3551fba8b3b5b78 | 7e591a83282e67b83a1d149ccccc1fbd674c7d68 | refs/heads/master | 2023-01-22T09:12:06.928323 | 2020-11-23T06:54:27 | 2020-11-23T06:54:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | #ifndef COMMON_LIBRARY_MUTEX_WRAPPER_H
#define COMMON_LIBRARY_MUTEX_WRAPPER_H
#include <mutex>
#define LOCK_GUARD(mux) std::lock_guard<decltype(mux)> lock(mux)
namespace common_library {
template <typename Mux = std::recursive_mutex> class MutexWrapper {
public:
MutexWrapper(bool enable)
{
enable_... | [
"linmin3@yy.com"
] | linmin3@yy.com |
4673b4d29bd7000e9b169d5b9d19c308fb8f5c98 | bc6c37cf0469c6b2778707b76227558b3a040718 | /Other/2018kickstart/RoundD/c.cpp | b4342377b55f7804c450ba8d25e2b4e08d8e5e47 | [] | no_license | zeroplusone/AlgorithmPractice | 241530a5c989f6321543f7bd07a393c405cdf2e6 | 7fe9182d943bc2066f7fd31cc05096be79dc12cb | refs/heads/master | 2022-01-28T21:57:04.393943 | 2022-01-26T13:46:43 | 2022-01-26T13:46:43 | 84,074,414 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ForN(i,n) for (i=0; i<n; i++)
#define For1N(i,n) for (i=1; i<=n; i++)
#define ForAB(i,a,b) for (i=a; i<=b; i++)
#define ForNR(i,n) for (i=(n)-1; i>=0; i--)
#define For1NR(i,n) for (i=n; i>0; i--)
#define ForABR(i,a,b) for (i=b; i>=a; i--)
#define ForBE(i,s) for (i=... | [
"a711186@gmail.com"
] | a711186@gmail.com |
f969043198938c00a87fc34123bc57896eeb464b | b3a158034526daacee4427fa2eae0b797f904924 | /ServiceProject/Deamon/DeamonClassFactory.h | 67a058dd5559ac88cead0b616cd2a7d5e449e938 | [] | no_license | 15831944/Corpse | e1785c12d620f7defd16ab0b0abb0705907815c9 | 51ca96ada1db58272fff3bdbdff165200be96191 | refs/heads/master | 2023-06-29T08:36:07.487065 | 2021-05-22T01:31:41 | 2021-05-22T01:31:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | h | #pragma once
class CDeamonClassFactory : public IClassFactory
{
public:
CDeamonClassFactory();
~CDeamonClassFactory();
public:
// IUnknown
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
STDMETHOD(QueryInterface)(REFIID riid, void** ppv);
// IClassFactory
STDMETHOD(CreateInstance)(I... | [
"Uniquers@853a975a-7e59-4707-9df1-4264b926ceb7"
] | Uniquers@853a975a-7e59-4707-9df1-4264b926ceb7 |
b80f719f774906b9d672c4f516d4debccef9bd30 | 1306171f2763287c287785858c31c6681cefc6fc | /File1(stc c++)/unorderset.c++ | 47f7a1198977a9c9da1a6541c3edafe17bbfad09 | [] | no_license | pratap0007/C-Data-Structure-and-Algorithm | 8e6ea4ec4c9517721f489e37f9fdf6d665f3a0a8 | 0dbb857ae805a7bed3ca5756c9c9d233263c0d34 | refs/heads/master | 2020-04-30T07:14:13.470096 | 2019-05-16T03:22:07 | 2019-05-16T03:22:07 | 176,678,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | #include<bits/stdc++.h>
using namespace std;
#include<unordered_set>
int main()
{
unordered_set <int> ux;
ux.insert(1);
ux.insert(2);
ux.insert(3);
ux.insert(1);
cout<<ux.find(1);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com | |
5bdff1852d9232f11b680e9b10e84d85a60d31ce | b05ad8baaad75df38405c6ca594d55600c77d64b | /NetWork/download.h | 91fdc70cd2a12da474bebf680c7558b87d6ffa24 | [
"Apache-2.0"
] | permissive | jjsz/KLive | d8e71b6d5c88b329c1e4da81dd62fb026ae646fe | 490fc56e3c32f30fce5a2e956355cd2d53777bda | refs/heads/master | 2021-10-11T00:02:41.612410 | 2019-01-19T14:24:01 | 2019-01-19T14:24:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | h | #ifndef DOWNLOAD_H
#define DOWNLOAD_H
#include <QObject>
#include <QFile>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QNetworkAccessManager>
class Download : public QObject
{
Q_OBJECT
public:
explicit Download(QObject *parent = nullptr);
~Download();
private:
QNetworkAccessManager *... | [
"ns@nss-Mac-Pro.local"
] | ns@nss-Mac-Pro.local |
4cc334434608d1ae5aa57e2a7870b7c6e57a38ea | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/VCSamples/VC2010Samples/MFC/Visual C++ 2008 Feature Pack/PaletteDemo/MainFrm.h | f6397760566aef1a4d2a2d891f097fd807e0f807 | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | h | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sour... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
bdea066dc25504211db4e840de1ab794c128cede | de7d7418c1542d04a35522e2d3d6b92359b5d717 | /Edge.cpp | 754798c28efed2478b20ad8bb70720b021409390 | [] | no_license | Wanderinglc/FCM_3D | 89a60fdb1736e85c10415d22606cab1d3a1c9ca9 | 99abc22f390c0a6219b49a5690a5a9100235d5d3 | refs/heads/master | 2020-07-27T01:09:02.214713 | 2019-10-07T02:26:01 | 2019-10-07T02:26:01 | 208,818,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp |
/*=======================================================================
Edge
Define the attributes of Edge for finite element method.
=======================================================================*/
//#include "Edge.h"
//
//
//
//Edge::Edge() {}
//
//Edge::Edge(const int polynomialDegree, const int... | [
"genglc@outlook.com"
] | genglc@outlook.com |
e8b8791f5f7a13ebcd834f3dc29fd3566908783f | d956ffdbe73474a2f2e463623e0ff9fac563f8fe | /Tham lam/GRECUTSEG.cpp | 67c1df959d31772bccf6ed734adfb6ee33d46579 | [] | no_license | NghiaST/VinhDinhCoder | a5c5babe71e1dc742eae42a5940d699947e8aa70 | 7c7f9f428ecb4d4e66ceed617c576f5d0061cd73 | refs/heads/main | 2023-08-19T20:17:41.669372 | 2021-10-26T07:51:07 | 2021-10-26T07:51:07 | 361,578,717 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int t, n, nxt[100005];
pair<int,int> a[100005];
void ReadInt(int &x)
{
char c = getchar();
while (!isdigit(c)) c = getchar();
x = 0;
while (isdigit(c)) x = (x<<3) + (x<<1) + c - '0', c = getchar();
}
int main()
{
ReadInt(t);
while (... | [
"noreply@github.com"
] | noreply@github.com |
0aa4f244730ef1b891c9ebff8d0ee2bcb4642594 | a1faa9455a5e9e39db0d6448f7ba244d77eb51cc | /sources/draw.cpp | 2ea6fbf96a65aa56330a26dab3156b1f67116f11 | [
"MIT"
] | permissive | indjev99/Pong | 1e0e068b8a03c9cbc476e0f0957afb448bbb536c | bb5eb346c025172f21bf537ba47501ad55fe3f3f | refs/heads/master | 2021-01-13T02:56:32.312949 | 2019-09-27T11:00:10 | 2019-09-27T11:00:10 | 77,081,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | cpp | #include "../headers/draw.h"
#include "../headers/window_size.h"
#include "../headers/window_functions.h"
#include "../headers/colours.h"
#include "../headers/dimensions.h"
#include<math.h>
const double DEG2RAD=3.14159/180.0;
void drawPartEllipse(float x, float y, float radiusX, float radiusY, double alpha, double be... | [
"emil.indjev@gmail.com"
] | emil.indjev@gmail.com |
d2ea32e80f465678ec6f80d220c5422bf7eb742b | 15b322d609ed38de5392b67fc578fbbd22a4b7d0 | /TextArt/BADA/FSclPhoneNumber.h | e9c8277f9a759ffb79bbfaf711e903f022c05b19 | [] | no_license | Vizantiec/Bada | 7725bb06cecb72267218220bec05a99879fc2087 | 51a3f544c8e0193dbf374d3a8042d867dbca9818 | refs/heads/master | 2016-09-11T02:18:26.326902 | 2013-12-23T10:22:35 | 2013-12-23T10:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,177 | h | /* $Change: 1142016 $ */
//
// Copyright (c) 2011 Samsung Electronics Co., Ltd.
// All rights reserved.
// This software contains confidential and proprietary information
// of Samsung Electronics Co., Ltd.
// The user of this software agrees not to disclose, disseminate or copy such
// Confidential Information and... | [
"us@mobigear.ru"
] | us@mobigear.ru |
36f5b0ae3a35bb6332083befaa66a7e1e8aa43e3 | 36c99aa5e74ce00e699c20577baa8298e62b9582 | /codechif_DSA/1.11.cpp | e3e055234017d5cf486e161977110e8f340ab6e0 | [] | no_license | Tiwari12abha/c-competitive-programming- | bed3749b51eb81d1f437f0085fc84e749f96d3b5 | 5527441db8e958270156d5e98f5319b3acf560a5 | refs/heads/main | 2023-07-03T07:01:09.246912 | 2021-08-12T14:12:44 | 2021-08-12T14:12:44 | 395,340,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | //Add natrual numbers
#include<iostream>
using namespace std;
int main(){
long long n;
cin>>n;
cout<<(n*(n+1))/2;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
869bdafffa69c8c928603c00dbc857388522cebb | 9a33566bdd5fd8a1a7f40b27f69ad8d1118f8f18 | /epoch/ayla/include/ayla/api.hpp | 0767fb4017ead9fdc054f1aa1b493985c713275e | [
"MIT"
] | permissive | nwalablessing/vize | d0968f6208d608d9b158f0b21b0d063a12a45c81 | 042c16f96d8790303563be6787200558e1ec00b2 | refs/heads/master | 2023-05-31T15:39:02.877681 | 2019-12-22T14:09:02 | 2019-12-22T14:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | hpp | #ifndef AYLA_API_HPP
#define AYLA_API_HPP
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__)
#if defined(AYLA_LIB)
#define AYLA_API __declspec(dllexport)
#else
#define AYLA_API __declspec(dllimport)
#endif
#endif
#ifndef AYLA_API
#define AYLA_API
#endif
#endif // AYLA_API_HPP
| [
"sms.cpp@gmail.com"
] | sms.cpp@gmail.com |
29a66dbd6eb62e0d946b5eaa9af9b2281fe2a4fe | 750b12e612ed4689a103715332a43c5f32abec38 | /lab8-Stack/Stack/BaseConverting.cpp | 58e0efab9444a96623521242a3c4e62057e82aa1 | [] | no_license | lang22/- | d4c8e88ad001c86f1c800f1ef9a8b54cddc33d4e | b0551a0ce9ebf79c87ac49c9be0514fd2faf1092 | refs/heads/master | 2020-04-01T23:00:38.255650 | 2018-10-19T06:54:46 | 2018-10-19T06:54:46 | 153,736,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include"BaseConverting.h"
#include<iostream>
using namespace std;
void convert() {
Stack<int> num;
cout << "please enter a postive number!" << endl;
long long int m; cin >> m;
while (cin.fail())
{
cin.clear();
cin.sync();
cin.ignore();
cout << "you bad! Invalid input! Resume!" << endl;
cin >> m;
}
cou... | [
"34049180+lang22@users.noreply.github.com"
] | 34049180+lang22@users.noreply.github.com |
f879abeba2de5b280fa82d4f81c609330268fb6e | b389f1f3075092f7cb25f45ee9bf910c55250735 | /WorkInProgress/Codeforces - Grakn Forces 2020/A. Circle Coloring/sol.cpp | 552567958a444d22113eb9e29ec011c97d3e0656 | [] | no_license | leostd/Competitive-Programming | 7b3c4c671e799216c79aeefd2ca7d68c5d463fa6 | 4db01b81314f82c4ebb750310e5afb4894b582bd | refs/heads/master | 2023-05-13T07:04:40.512100 | 2023-05-06T10:58:28 | 2023-05-06T10:58:28 | 87,685,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,992 | cpp | /*
think first, always - c,g,a, alg - r,s,iag?,iabs?
*/
#pragma GCC diagnostic ignored "-Wunused-const-variable"
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <bitset>
#include <random>
#include <chrono>
#include <com... | [
"lsantel@amazon.com"
] | lsantel@amazon.com |
6d591dcf8f5c040bcb092fa86d6a9508f234bdfc | 8928e745a14ea907a3fb488d63d8d6437e84457b | /Loops/factorial/factorial.cpp | 58169e3d158b134956fcc9c560dd3ef8be524a6d | [] | no_license | subhodynamics/codeclass | 8b653b53fc2fecb1e0520f924e29d1aa2753568c | 8fb30525f7f4290c50d256881132dc5b31a26f1b | refs/heads/classwork | 2023-07-20T22:01:08.786744 | 2021-09-10T13:23:20 | 2021-09-10T13:25:45 | 338,342,379 | 0 | 1 | null | 2021-07-14T07:32:57 | 2021-02-12T14:31:14 | C | UTF-8 | C++ | false | false | 241 | cpp | #include<iostream>
using namespace std;
int main()
{
int fact,n; fact=1;
cout<<"enter a no"<<"\t";
cin>>n; cout<<"\n";
for(int i=1;i<=n;i++)
{
fact*=i;
}
cout<<n<<" != "<<fact;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
a92f8db48525db02875992e67ff06ba1d57756d9 | 94a78cedf3d9fadf3c15385406ff43848e96e72d | /src/test/scheduler_tests.cpp | b044568fd43d698d2bd78c6a786dfbfe5d50fd1e | [
"MIT"
] | permissive | BitCoinONE1/BTCONE-Blockchain | 02bfbfb4f096232299e01f85d5f6e28111805791 | bccc7e28878b2572f8cafa6c0e4e896745b33a27 | refs/heads/master | 2020-04-13T23:57:55.114465 | 2019-01-16T19:26:32 | 2019-01-16T19:26:32 | 163,520,721 | 4 | 4 | MIT | 2019-01-16T13:06:36 | 2018-12-29T15:20:56 | C++ | UTF-8 | C++ | false | false | 4,969 | cpp | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "random.h"
#include "scheduler.h"
#if defined(HAVE_CONFIG_H)
#include "con... | [
"contact@bitcoinone.io"
] | contact@bitcoinone.io |
98b95624a17f025b8b0ab6f6214e394678bddca8 | 59b8ea5e919fe9761fe5799e9f591850d71383c0 | /codechef/long/may_2020/nanobots.cpp | e8b8f610d343f2c5567ddae1362be21eeaab345c | [] | no_license | utsavkuchhal/Competitive-Programming | a25db05aaf16009910497c1b1127815fece332aa | fd16601f223dbd168c4a3efda7d78af799ac4602 | refs/heads/master | 2023-04-18T00:33:31.738464 | 2021-04-24T03:07:50 | 2021-04-24T03:07:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,863 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define f(i,n) for(int i=0;i<n;i++)
#define fs(i,s,n) for(int i=s;i<n;i++)
#define ff first
#define ss second
#define int long long
#define pb push_bac... | [
"shivanshmittal25@gmail.com"
] | shivanshmittal25@gmail.com |
e10359e960f3b83844477ef962e38d90c0f291fb | bbf83fa8c6b540f8c057a370b4d683f1c0b023bf | /CarambolaChat/Model/DCCChat/dcc_chat_connection.h | deba79f519635a6438e4e75b1a34581107f1ab6c | [] | no_license | dpjudas/CarambolaChat | af5b8c171f3b61b645db4aab0a8824401a2878a1 | 87f38a9fff9e64258149168bfef706c6753c4440 | refs/heads/master | 2020-04-06T06:58:50.554238 | 2016-06-23T08:03:28 | 2016-06-23T08:03:28 | 39,250,669 | 0 | 1 | null | 2015-11-26T09:22:14 | 2015-07-17T11:21:56 | C++ | UTF-8 | C++ | false | false | 1,458 | h |
#pragma once
#include "../IRCSession/irc_text.h"
class DCCChatConnection
{
public:
DCCChatConnection(const std::string &local_nick, const std::string &remote_nick, const uicore::SocketName &socket_name);
~DCCChatConnection();
void connect();
void offer();
void send_line(const IRCText &text);
void disconnect()... | [
"dpjudas@users.noreply.github.com"
] | dpjudas@users.noreply.github.com |
16f30f1924a366dbac7965a326e1936808e59be7 | 9eb7064a8d890f97419d07ac434ab0c27899cfac | /m02/target14-3.cpp | e920a6c9f2f2809ff64799b195b9a9830fd5e268 | [
"MIT"
] | permissive | campbellcole/CS200 | 9e656a8ea483bbb84954affa254cd5b4a233d2de | 333df210e70757da7cec481314b1a1e734fd03ed | refs/heads/master | 2022-04-26T04:11:47.801541 | 2020-05-02T20:55:47 | 2020-05-02T20:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | // This program demonstrates a static member function.
#include <iostream>
#include <iomanip>
using namespace std;
class Budget {
static double corpBudget; // Static member variable
double divisionBudget; // Instance member variable
public:
Budget() { divisionBudget = 0; }
void addBudget(double b)
{ divisionB... | [
"tchern@dvc.edu"
] | tchern@dvc.edu |
e72a1fcdd8f50c4dd9015cbdd8619228b1f61298 | 4ca18c4cdd5a26f29f53d0044eb3054c2d5916ca | /mlp/mlp.h | ede0d79716480123039c4b497796500ed5d11379 | [] | no_license | samfu1994/4j_project | 6fd2d08340a82d9dd68818ef58da7fce2b6a7292 | e194e9de30270c5d4fe3c178b9b8411ba0b92a66 | refs/heads/master | 2021-01-06T20:41:49.665480 | 2015-05-10T13:02:29 | 2015-05-10T13:02:29 | 33,973,834 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | /*********************************************************************
* File : mlp.h
* Author: Sylvain BARTHELEMY
* mailto:sylvain@sylbarth.com
* http://www.sylbarth.com
* Date : 2000-08
*********************************************************************/
#ifndef _MLP_H_
#define _MLP_H_
#i... | [
"qzyz_dailing@163.com"
] | qzyz_dailing@163.com |
c75fef3019c3ef7602cc77b519e0e0bae865a585 | 840fcc8e5dbca3a0de6a608b4f2a59a02d779b6a | /src/mainmenustate.cpp | 74d234cedbb35a2cd4a4fb5b9137efb8688aad49 | [] | no_license | marcoswicket/algorithm-analysis | 39404c2c56eb741449bbc98e89c89e8c2243bdf5 | fecf8d3d8af1843694e079e8b9e05138fc603e7e | refs/heads/master | 2021-08-19T08:48:37.185890 | 2017-11-25T15:50:36 | 2017-11-25T15:50:36 | 108,470,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | #include <iostream>
#include <assert.h>
#include "mainmenustate.h"
const std::string MainMenuState::menuID = "MENU";
// Button callbacks
void MainMenuState::menuToPlay() {
// TODO: Need to properly create a new state;
//Window::getAppStateMachine()->changeState();
std::cout << "I'm working bro relax" << std::endl... | [
"random.wicket@gmail.com"
] | random.wicket@gmail.com |
fc9c9fb3b7680dd47419b61604ccff64ad9b65f5 | 07460e0f8517bfe062ed74de1d932bdb8a664a41 | /include/tuplehandlerdustcart.h | 49fd7ab62101734b6c6ce5e252c2195fb1c331d6 | [] | no_license | benadler/peis_ros | 6814588ecd5cca07d7c6dd166402cab864d4f471 | db38dfa48571d64e65ccf76136185becfd5933f1 | refs/heads/master | 2016-09-05T22:59:26.888526 | 2013-01-31T18:37:54 | 2013-01-31T18:37:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | h | #include <ros/ros.h>
#include <tf/tf.h>
#include <std_msgs/String.h>
#include <tuplehandler.h>
#include <peis.h>
class TupleHandlerDustCart : public TupleHandler
{
public:
TupleHandlerDustCart(const std::string& robotName, Peis* peis);
virtual ~TupleHandlerDustCart(void);
// reimplemented ... | [
"adler@informatik.uni-hamburg.de"
] | adler@informatik.uni-hamburg.de |
e82343a30720a89c584beffef46cd15bd852b383 | a77cae61867e4fb947f88acb4e11603d9cd0f6d1 | /LeetCode/Leetcode68面_二叉树最近公共祖先.cpp | 0ed84561ab93a1bf5763ba3d579a7b3d4f98c96e | [] | no_license | CHOcho-quan/OJ-Journey | cbad32f7ab52e59218ce4741097d6fa0ac9b462f | a9618891b5e14790ba65914783e26f8a7aa03497 | refs/heads/master | 2023-06-09T15:35:27.418405 | 2023-06-01T00:57:11 | 2023-06-01T00:57:11 | 166,665,271 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <stack>
#include <queue>
#include <map>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
TreeNode *result;
int findTreeNode(Tre... | [
"574166505@qq.com"
] | 574166505@qq.com |
72146df0d5f36b549358d4a7a4fb3fe01e25eb1a | 1d7e5e8269d7ef7a3cd951d41bbb14d6b942bad3 | /2ndLab/include/stack.h | 3aee3cb699696a786f4b96f6540536fe95535fa2 | [] | no_license | sudhansu15/lab-assignments | 6a1d29fea9e87f2a418a15d7506a13294ed32020 | 53254cac4a36e12a5c2d96cb651e29571f579bdf | refs/heads/master | 2023-07-12T11:48:57.906622 | 2021-08-21T13:55:02 | 2021-08-21T13:55:02 | 377,398,305 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #pragma once
#include <iostream>
template <class T>
class stack
{
public:
virtual ~stack() {}
virtual bool isEmpty() const = 0;
virtual bool isFull() const = 0;
virtual bool push(const T &element) = 0;
virtual bool pop(T &element) = 0;
virtual bool top(T &element) const = 0;
/* virtual v... | [
"67737425+sudhansu15@users.noreply.github.com"
] | 67737425+sudhansu15@users.noreply.github.com |
c9c41e3238c3bb5ac0b15a57e1ff7047901638c8 | d0a70993a4b6f73af29f161f988b64985e9b6e80 | /GlutApp.h | a1351f3ea37659beb16e551bc507869405ae4b12 | [] | no_license | EtcetFelix/Pong-toss-game | 23271b5f29ea4d370903462ede445b0a1c79a460 | 12158a564a12eb439174f5c708c6779967b60b45 | refs/heads/main | 2023-07-03T17:20:58.077045 | 2021-08-05T20:57:44 | 2021-08-05T20:57:44 | 393,167,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,709 | h | #ifndef GlutApp_h
#define GlutApp_h
#if defined WIN32
#include <freeglut.h>
#elif defined __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/freeglut.h>
#endif
class GlutApp {
int width;
int height;
const char* title;
bool fullscreen;
// Prevent derived classes from defining these ... | [
"alanbohannon@gmail.com"
] | alanbohannon@gmail.com |
57cd930f1d082411f6981967c3c8b30b33f7b0bd | c069df36af6ae8cfc51b19b442ad48b80dbd875f | /src/pomolite/pomoresult.h | d23c5852dee812e1ede1bfa7f9e4652c172dfb29 | [] | no_license | hkmix/pomoqt | ba259ee28ed22ba4be607c124a62e13362f9fc26 | 07f70ab71b52ccdb0ab4baff6df2e3a356880f4c | refs/heads/master | 2021-01-12T09:33:09.618715 | 2016-12-11T19:05:50 | 2016-12-11T19:05:50 | 76,193,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,851 | h | #ifndef POMORESULT_H
#define POMORESULT_H
#include <exception>
#include <string>
enum class PomoResultCode {
SUCCESS,
FAIL,
};
// Exception
class PomoResultException : public std::exception {
public:
PomoResultException(const std::string& msg);
PomoResultException(const char* msg);
virtual const char* what... | [
"jack@zzh.ca"
] | jack@zzh.ca |
f0fd7f64f07439d43c300bb897f512950574b04d | 6ca64ae363fe6ad5b0d630e28a8c55dd4aed5c05 | /Software/Linux_App_Driver/ui.cpp | 3b7f1a8dfe82dca900353def668d9897c772c836 | [
"MIT"
] | permissive | iscalab/PCIe_FPGA_Accel | d7d9fba2849273050ef7b68167ed2ebd03b84f55 | bd601ac5b212583fd6329721ff21a857ae45a0d6 | refs/heads/master | 2020-03-22T09:23:16.963328 | 2018-07-05T10:50:27 | 2018-07-05T10:50:27 | 139,833,637 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 143,958 | cpp | /*******************************************************************************
* Filename: ui.cpp
* Author: Dimitrios Bakoyiannis <d.bakoyiannis@gmail.com>
* License:
*
* MIT License
*
* Copyright (c) [2018] [Dimitrios Bakoyiannis]
*
* Permission is hereby granted, free of charge, to any person obtaining a copy... | [
"d.bakoyiannis@gmail.com"
] | d.bakoyiannis@gmail.com |
0def4085d65967c43c47335e709ed377c769d228 | 7b83ba2cdfb21b2d99a2482f8f9969232844e339 | /0295_Find_Median_from_Data_Stream/MQQM.cpp | 2fbd1e57da63f424ee828de323c75fd6504ce7bb | [] | no_license | MQQM/LeetCode | 515b1bab62f174753c5a50dee5e3bd63500a78dc | ad3ce34c4b8a1a2cb5be59a64a1633747a1d55e4 | refs/heads/master | 2020-04-01T23:37:37.421439 | 2020-01-23T05:07:58 | 2020-01-23T05:07:58 | 152,594,081 | 1 | 0 | null | 2018-10-11T13:12:12 | 2018-10-11T13:12:12 | null | UTF-8 | C++ | false | false | 965 | cpp | /*
题目:
如何得到一个数据流中的中位数?如果从数据流中读出奇数个数值,那么中位数就是所有数值排序之后位于中间的数值。
如果从数据流中读出偶数个数值,那么中位数就是所有数值排序之后中间两个数的平均值。
我们使用Insert()方法读取数据流,使用GetMedian()方法获取当前读取数据的中位数。
参考:
https://blog.csdn.net/lv1224/article/details/82222719
*/
class Solution {
private:
vector<int> nums;
public:
void Insert(int num){
... | [
"noreply@github.com"
] | noreply@github.com |
32aea8150f3176b857c2c9340443edad0cca41e4 | 2cd103b2972f4f1f32e860cd5d5b5010a536ee88 | /dig/Code/Scanner.h | ddc317c4e1f0cdb27588d2b6f5fe8ba2afe80e71 | [] | no_license | MasterCna/digger | f946aad2c0eac29c2888612942c26c5e876b2fab | 813f818072d2a0a40af08d64d235033214bcad53 | refs/heads/master | 2021-04-27T05:48:43.596618 | 2018-02-23T09:48:39 | 2018-02-23T09:48:39 | 122,601,816 | 1 | 0 | null | 2018-02-23T09:51:47 | 2018-02-23T09:39:56 | C++ | WINDOWS-1252 | C++ | false | false | 562 | h | /****************************************************************************\
* Created: 1/9/2018 by Ali Sepehri-Amin
* Version: 0.9.0000
* Copyright © Tehranbytes Team.
* History: -
* Description: -
\****************************************************************************/
#ifndef __SCANNER_H__
#define __SCANNER... | [
"mastercna77@gmail.com"
] | mastercna77@gmail.com |
ca0f8221aa0734ebea3d22c4393300dc286a9717 | 665813341b9d0911aaab3658c38b495ff1dae30a | /AtCoder/ABC/160/B-GoldenCoins.cpp | 5ed0cf5feca93b440c7324a4356d5f0c96248138 | [] | no_license | THEToilet/program | 1fd54802d8e90ae648a50685d2ff8ee1838ebeb9 | 30b13449e114849981f832a6360dd0ab702682d1 | refs/heads/master | 2021-12-22T07:14:47.025845 | 2021-12-19T17:10:29 | 2021-12-19T17:10:29 | 243,990,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long int X;
cin >> X;
long int fivehund;
long int five;
fivehund = X/500;
//cout << fivehund << endl;
five = (X-fivehund*500)/5;
// cout << five << endl;
cout << fivehund*1000 + five*5 << endl;
} | [
"bp18015@shibaura-it.ac.jp"
] | bp18015@shibaura-it.ac.jp |
f29a4c2435f359d4a8ad38c89963f5434d776ecd | f8b1dfccaef5a8f75567b527fc7c2f0a34e3877b | /swjtu/e20150122/p2.cpp | 5575c5fe715b261983ffeb72451e6cdc7e92832c | [] | no_license | bamboohiko/problemSolve | e7e2a2c6e46a4d10ccfa54cffff3c9895b3ddb1b | cd3e9e5986325f5def4efe01975a950f6eaa6015 | refs/heads/master | 2021-01-17T06:39:42.502176 | 2017-09-13T14:30:08 | 2017-09-13T14:30:08 | 47,928,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include<iostream>
#include<cstdio>
#include<map>
#include<set>
#include<vector>
#include<stack>
#include<queue>
#include<string>
#include<cstring>
#include<algorithm>
#include<cmath>
using namespace std;
int f[100000 + 10];
set<int> use;
int add(int x)
{
if (!use.count(x))
{
use.insert(x);
re... | [
"bamboohiko@163.com"
] | bamboohiko@163.com |
9a11bc9fabca9a4fc4a271683bd328cb80ec1c7b | e47888a89a89c3ba5010efac9f52ceb44cc35b48 | /opengl/src/test.cpp | 851ac914f84243fdc60961b7dc502e6287bc1024 | [
"MIT"
] | permissive | workflowmate/shoveler | 9c3c36784004026d47c22bf033db067740517282 | 3846427cd43ff3bdec291fc3dffd306d02fff1d0 | refs/heads/master | 2022-10-12T15:11:43.861882 | 2020-06-12T10:43:38 | 2020-06-12T10:43:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <gtest/gtest.h>
extern "C" {
#include "shoveler/log.h"
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
shovelerLogInit("shoveler/", SHOVELER_LOG_LEVEL_ALL, stdout);
int result = RUN_ALL_TESTS();
shovelerLogTerminate();
return result;
}
| [
"fabian@hahn.graphics"
] | fabian@hahn.graphics |
0c557e1997292da9927c852c4f37b81957a6415b | 53ffff4bf1b977e52da7b925cfa428f9c291e937 | /State/workState/AfternoonState.h | 27e8dc2a567f63d35fa319c5282a0a8bb757e17c | [] | no_license | willtuna/DesignPatternExercise | 4260c1b2b7096e353b4b0eea67ee028a9c9992ca | 8d1b43c5a739f2fa8705ce5a96fa8c50f1c47b36 | refs/heads/master | 2020-04-14T17:13:07.968621 | 2014-09-03T10:25:21 | 2014-09-03T10:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | h | #ifndef AFTERNOONSTATE_H
#define AFTERNOONSTATE_H
#include "state.h"
class AfternoonState : public State
{
public:
void WriteProgram(Work& w);
};
#endif | [
"Kx_wang@chilinopto.com.tw"
] | Kx_wang@chilinopto.com.tw |
0533b3f338751418b98814b9fdea9017e9ea96c3 | 511d7cd374cf8ecdc6a9d72223bed16a32d83c78 | /msdk/mscom/download/downloadmgr/HttpSyncRequest.cpp | 63f4467080bd2e48256da2abda128c73b7af1de3 | [] | no_license | mynick777/msdk | 1818c718a181de772b9a3e2dd6d7b9a66296dc86 | 4ee669c60148ad72e1d8af9bea05e05019af79e6 | refs/heads/master | 2020-05-18T00:56:37.308774 | 2019-05-01T16:19:13 | 2019-05-01T16:19:13 | 184,075,465 | 0 | 0 | null | 2019-04-29T13:22:32 | 2019-04-29T13:22:32 | null | WINDOWS-1256 | C++ | false | false | 8,148 | cpp | #include "StdAfx.h"
#include "HttpSyncRequest.h"
#include <vector>
CHttpSyncRequest::CHttpSyncRequest(void)
{
}
CHttpSyncRequest::~CHttpSyncRequest(void)
{
}
STDMETHODIMP CHttpSyncRequest::HttpRequest(LPCWSTR lpszUrl, /*IMsBuffer*/IMSBase** ppBuffer)
{
RASSERT(lpszUrl && _tcslen(lpszUrl), E_INVALIDARG);
UTIL::co... | [
"maguojun123@126.com"
] | maguojun123@126.com |
3309e129321652340f6c2ec2360482a8b9a9a071 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /ui/aura/test/test_screen.cc | 6d107d8b4e3227cf0301deb5c07a10631c03f5ea | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 6,473 | 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 "ui/aura/test/test_screen.h"
#include <stdint.h>
#include "base/logging.h"
#include "ui/aura/env.h"
#include "ui/aura/mus/window_tree_clien... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
67a5292df3ad8d288619d5398a176c597cd57f2d | f9759b3118826bb4787fe8ace58307523763cdfb | /DAY3 J/main.cpp | 398330979ef51bc09f773dc49a021ff340837b39 | [] | no_license | Abraham-WH/2017ACMtraining | 72eb3ec2d6d6760da22b671c05764db6bb57ed27 | 048ab6ae3b94b45b771208d2fbcbf16b47ec5c6d | refs/heads/master | 2020-04-10T21:11:56.368966 | 2018-12-11T07:00:28 | 2018-12-11T07:00:28 | 161,290,523 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,173 | cpp | #include <iostream>
#include <stdio.h>
#include <algorithm>
using namespace std;
int n,k;
int a[10000000];
int ans;
void find(int kk,int l,int r);//kk,要求的第k大数
int read();
int read()//读写优化函数
{
int tmp = 0;
char x;
while(1)
{
x = getchar();
if(x >= '0' && x<= '9') tmp = tmp * 10 + x - '... | [
"38722340+Abraham-WH@users.noreply.github.com"
] | 38722340+Abraham-WH@users.noreply.github.com |
0e1ae7bf34963412d42a8cec9b06278e18e6984d | 2d9af107b5f83b1333feb094e71d3cde1387329e | /cpp/Robot/RobotCommonTest/RobotCommonTestCommon.h | cab5ac39da037eee06e9b69855eafbf26becd1ec | [] | no_license | VijayEluri/src | c068d84a011b129fb832c2a057cf71c7b0edcee7 | 9abd682df413091c99614867cd416d6c0fa1d072 | refs/heads/master | 2020-05-20T10:58:59.373647 | 2019-03-19T10:30:17 | 2019-03-19T10:30:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #pragma once
#include "stdafx.h"
#include "CppUnitTest.h"
#include "..\RobotCommon\Direction.h"
#include "..\RobotCommon\Vector.h"
#include <string>
using std::wstring;
using RobotCommon::Vector;
using RobotCommon::Direction;
using RobotCommon::DirectionUtils;
namespace Microsoft
{
namespace VisualStudio
{ ... | [
"merxbj@hotmail.com"
] | merxbj@hotmail.com |
ea35128c9453d1931bd9e52f9dbe2c4a500e134a | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp | c50a7d1d5c7b7b16241ffd23ab88f2b295a559a8 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 7,075 | cpp | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | [
"22249030@qq.com"
] | 22249030@qq.com |
976858f831485da1095bc390973975c6564c221b | 6fa3d87c4df47a15186a7141a80f4aa90c908fc9 | /src/optimizer.cpp | 18b9ee351cb3290cca707709f3a037e92b1f6e70 | [
"MIT"
] | permissive | lorenzosquadrani/plasticity | 4dc539c3a9513ea8cb3fa341349c2ee10f4f2df8 | 6ae648fe537ebbff8432ec04beb58e4acac5871e | refs/heads/main | 2023-07-03T12:37:53.274114 | 2021-08-07T12:06:28 | 2021-08-07T12:06:28 | 367,437,263 | 0 | 1 | NOASSERTION | 2021-05-14T17:37:25 | 2021-05-14T17:37:25 | null | UTF-8 | C++ | false | false | 5,434 | cpp | #include <optimizer.h>
float update_args :: epsil = 1e-6f;
update_args :: update_args () : m (), v (), type (-1), learning_rate (0.f), momentum (0.f), decay (0.f), B1 (0.f), B2 (0.f), rho (0.f)
{
}
update_args :: update_args (const int & type, float learning_rate, float momentum, float decay, float B1, float B2, flo... | [
"nico.curti2@unibo.it"
] | nico.curti2@unibo.it |
ae4d02ba5691d85a325c7ebe1ac981959bdcf894 | e1ecf96f19ffd3bda81bf1f614a9ebc9c91a454d | /p2KineticSculptureMotionCode.ino | 94a9549bf1380dbcaa47145686eb47cf900469c8 | [] | no_license | amsilldn/P2-Kinetic-Sculpture | 9c31157f80eb3f4610a7a796ed6fcf5fbf990bfc | a2b3043c1f91ea14ac9e828c21362857835b093b | refs/heads/master | 2020-04-04T20:39:33.998487 | 2018-11-05T19:37:42 | 2018-11-05T19:37:42 | 156,255,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,789 | ino | #include <Stepper.h>
//number of steps the motor will take with one call
const int num_steps = 200;
// initialize the stepper library on pins 4-7 n 8-11
Stepper myStepper1(num_steps,4,5,6,7);
Stepper myStepper2(num_steps,8,9,10,11);
//distance sensor one
const int trigPin1 = 2;
cons... | [
"asill@iusb.edu"
] | asill@iusb.edu |
6cb09dc049464c5167c8cde7da3ede6e1542ec9b | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosData/Data/src/GmDataInitialGammaEquivalentDose.cc | fbb2db46418df22c92223f5317f9809a4aca4ca6 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cc | #include "GmDataInitialGammaEquivalentDose.hh"
#include "GamosCore/GamosUtils/include/GmGenUtils.hh"
#include "G4Step.hh"
#include "G4Track.hh"
#include "G4Event.hh"
//----------------------------------------------------------------
GmDataInitialGammaEquivalentDose::GmDataInitialGammaEquivalentDose()
{
bInitial = ... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
a3c9f9539cba4e7bdaf70c17f4c06ce47ecfc0e5 | 02fec111191ecede92d844422125ac8482171bde | /Contests/77edu/d.cpp | 90203b0441ae9d2296e060c0f0e89a4de50cb2c6 | [] | no_license | Lucas3H/Maratona | 475825b249659e376a1f63a6b3b6a1e15c0d4287 | 97a2e2a91fb60243124fc2ffb4193e1b72924c3c | refs/heads/master | 2020-11-24T18:35:24.456960 | 2020-11-06T14:00:56 | 2020-11-06T14:00:56 | 228,292,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fr(i, n) for(ll i = 0; i < n; i++)
#define frr(i, n) for(ll i = 1; i <= n; i++)
#define frm(i, n) for(ll i = n-1; i >= 0; i--)
#define pb push_back
#define f first
#define s second
typedef long long ll;
typedef pair<ll,ll> pii;
typedef pair<ll, ll> ponto;
typedef... | [
"lucas.harada1900@gmail.com"
] | lucas.harada1900@gmail.com |
9f9b33764a32acd729ff941b1f1285edadc4eab4 | 5f67dac5b41e90a96df5156ff40ab0073431d48a | /My Procedure/c++/36 指针数组.cpp | 42637f2b578a41a8d2c65351b5e96d85c5979845 | [] | no_license | HGD-CodeMe/c_or_cpp | 9e98db76a3be9e18943fcdbc7a8c4ff8e9c3518f | 84fb1fd1f0dfb5cc70ff97046d2ed130e4ac03a6 | refs/heads/master | 2021-01-21T17:06:29.646363 | 2017-11-16T14:01:51 | 2017-11-16T14:01:51 | 91,930,692 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 522 | cpp | #include<iostream>//此题是指针数组的应用 这个定义字符数组的方式十分有用 有几个应该注意的地方 如下
using namespace std;
main()
{
int i;
char *p[]=//此处注意中括号中不可以带参数值 而且还要带等号
{
"January",
"Fbruary",
"March",
"April",
"June",
"May",
"July",
"August",
"September",
"October",
"November",
"December"
};
//return (i<1||i>7)?p[0]:p[i]; ... | [
"1639213032@qq.com"
] | 1639213032@qq.com |
d8dc7b156da11cf259de21b2f7589bd735c22842 | 322586fd62facf9563df4e2ba99d2cc10ee74c6b | /73/src_1_22.cpp | 1c7f87d05c3f3acd91c804a56da728cef8a49249 | [] | no_license | WavesUR/leetcode-study | 82fe60ccb65b243a82731951257ad36186bd5784 | 0564b36237dbb50087bc7dd51932df1f5eb37e83 | refs/heads/master | 2021-01-13T12:19:03.696019 | 2018-12-03T05:19:12 | 2018-12-03T05:19:12 | 77,957,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,955 | cpp | #include <iostream>
#include <cstring>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cctype>
#include <climits>
using namespace std;
class Solution {
public:
void setZeroes(vector<vector<int> >& matrix) {
bool first_row_zero = false;
bool fir... | [
"waves.ur.ee@gmail.com"
] | waves.ur.ee@gmail.com |
2bb076154163cc755690fb0d8a138732ba8d629a | 3dd33e0cced471c94cd1ab7e6f30890a16cd6d15 | /PKO ProxyServer/Client/PacketHandler/EndPlayHandler.h | f1b5dc2784dd308f03f9b209cdd18cf628b6c210 | [] | no_license | lanochan/ProxyServer | 4cee76cb2dc4b7bd2b219a0db620f0a074b258ea | 47cef011cf17deb5688a724b2ef7b1480f4d763b | refs/heads/main | 2023-04-24T15:58:27.331716 | 2021-05-19T20:49:56 | 2021-05-19T20:49:56 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 959 | h | #pragma once
#include "../../Main/IPacketHandler.h"
namespace PKO
{
// Обработчик пакета выхода на выбор персонажа
// C -> S
class CEndPlayHandler : public IPacketHandler
{
public:
// Конструктор
CEndPlayHandler();
// Деструктор
~CEndPlayHandler();
// Получить ID пакета
virtual unsigned sho... | [
"igoor.loukoos@gmail.com"
] | igoor.loukoos@gmail.com |
93575ff384dfa86c81d9fd72d5fd864f986f2ce7 | b85d1556bdee32ca69bb54dfa688538a309b5ad9 | /FrameworkLib/ScriptInterpreter.h | 8b417f5d420bb8494b3a827538aa0518f6249b5d | [
"Zlib"
] | permissive | DashW/Ingenuity | e32c62e90005d43d304e3f5459c076ae167c039b | f7944a9e8063beaa3dda31e8372d18b4147782e2 | refs/heads/master | 2021-05-04T11:53:42.817688 | 2017-01-29T20:40:52 | 2017-01-29T20:40:52 | 20,335,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,908 | h | #pragma once
#include <stdarg.h>
#include "ScriptLogger.h"
#include "ScriptParam.h"
#include <vector>
namespace Ingenuity {
class ScriptInterpreter;
struct ScriptCallbackMeta
{
const char * name;
//void(*call)(ScriptInterpreter*);
const char * help;
ScriptCallbackMeta(const char * name, const char * help = "")... | [
"copper_w@hotmail.com"
] | copper_w@hotmail.com |
dd66f65a5aa92224a615700306e94a53d51c18f6 | b8bbb54a43d0eb883716eed4f8daecf34d983ae8 | /TableModel.h | 08f589a8659fda8cdda50a256e81bf855db36fcf | [] | no_license | IulyN1/ShopAppGUI | 8a6452e648f733490ac30c3c3e88e38b7bfe7ded | 4913706fb6c19ce47e45f6cc593187142236aff1 | refs/heads/master | 2023-05-09T10:17:36.378205 | 2021-06-04T15:25:39 | 2021-06-04T15:25:39 | 373,884,080 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #pragma once
#include "Cos.h"
#include <QtWidgets/qtableview.h>
#include "Observer.h"
#include "ProdusServ.h"
class MyTableModel : public QAbstractTableModel, public Observer {
private:
Cos& cos;
public:
// Constructorul modelului de tabel pentru cos
// cos - referinta la obiect Cos
MyTableModel(Cos& cos) :cos{ co... | [
"68956428+IulyN1@users.noreply.github.com"
] | 68956428+IulyN1@users.noreply.github.com |
4b81767038329affa72e029ec670fed61db85e66 | 7bb34b9837b6304ceac6ab45ce482b570526ed3c | /external/webkit/Source/WebCore/platform/gtk/GeolocationServiceGtk.h | 46249ed8fdb1d96db56f77ee1735ff4d174034de | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | ghsecuritylab/android_platform_sony_nicki | 7533bca5c13d32a8d2a42696344cc10249bd2fd8 | 526381be7808e5202d7865aa10303cb5d249388a | refs/heads/master | 2021-02-28T20:27:31.390188 | 2013-10-15T07:57:51 | 2013-10-15T07:57:51 | 245,730,217 | 0 | 0 | Apache-2.0 | 2020-03-08T00:59:27 | 2020-03-08T00:59:26 | null | UTF-8 | C++ | false | false | 2,498 | h | /*
* Copyright (C) 2008 Holger Hans Peter Freyther
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
*... | [
"gahlotpercy@gmail.com"
] | gahlotpercy@gmail.com |
c9d65348a89e8889e88d3773b6b3d2b37abfa911 | 8638a2efe2168eaa536bd89ca5f6b87927d17118 | /practice/dp/knapsacksimple.cpp | c7dbe2637f5a9120f80934242ab04914f356c8ee | [] | no_license | Simply-divine/Competitive | 5c5e6418ddaceb8fae3c643a2e120b23a256b67c | 0a7e720322a57fd95cff0d796640ac69a6f45cdc | refs/heads/master | 2022-12-26T21:32:04.483818 | 2020-04-18T15:52:40 | 2020-04-18T15:52:40 | 256,789,554 | 1 | 1 | null | 2020-10-01T06:37:57 | 2020-04-18T15:37:30 | C++ | UTF-8 | C++ | false | false | 611 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define REP(i,a,b) for(int i=a;i<=b;i++)
#define SQ(a) (a)*(a)
#define DEBUG printf("hello\n")
#define nl "\n"
#define INF std::numeric_limits<int>::max()
using namespace std;
usin... | [
"hardikvu0204@gmail.com"
] | hardikvu0204@gmail.com |
3042a693758e970b8b54bcc86e1757744418dac8 | 50acc31c58b4711f5acfaaeb3278473a77a8e94f | /gis/GIS/GisImageLoader.cpp | dd8d41fcb80bb9a99275a24cdcecf1350399a1e3 | [] | no_license | MAPSWorks/opengl-1 | c3ca7b1c0169f7c29a05cbca76c40b5989c4fe06 | c137ce7d49542d0872698cd8283d0a12c52424e8 | refs/heads/master | 2020-07-10T17:51:25.309201 | 2019-01-03T14:49:46 | 2019-01-03T14:49:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include "GisImageLoader.h"
namespace GIS
{
GisImage* GisImageLoader::load(const char* fileName)
{
GisImage* pImage = 0;
return pImage;
}
bool GisImageLoader::loadImage(const char* fileName, GIS::GisImage& image)
{
return true;
}
RgbBuffer* GisImageLoader::loadRgb_256X256(const char* fileName)
{
RgbB... | [
"shen@nbjinque.com"
] | shen@nbjinque.com |
e41045e677a64a39c854725b67588af9c38634f8 | 4d49450b3c7a0daf35022012ec7906ca556dd9e8 | /lfa/ckyAlgorithm.cpp | e7f0ee89d70b389062c52ff26fec8e8cc87adfcd | [] | no_license | rebecadiaconu/fmi | 3d3c7d977b8f61ee02a52b81c0cdc7ae0ccd31ae | 1ccee33441f6a1843bfe599eec6219b37c533c95 | refs/heads/master | 2023-04-14T08:39:11.996296 | 2021-04-22T08:49:55 | 2021-04-22T08:49:55 | 238,420,720 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | cpp | #include<iostream>
#include<cstring>
#include<string>
#include <fstream>
#include<iomanip>
using namespace std;
#define dim 200
typedef struct{
string T;
string s[dim];
int nrCuv;
}cyk;
cyk v[dim];
string concat( string a, string b)
{
int i;
string aux=a;
for(i=0; i<b.length(); i++)
... | [
"rebeca.diaconu15@s.unibuc.ro"
] | rebeca.diaconu15@s.unibuc.ro |
4dfb27aaa15ea7e139f2e5b4fe3417b0cc07a5c3 | 1cc570030a86cd38ef3455bbf9243014f72776bd | /planning/semi_trailer_truck_collision_checker.h | b865f5892f5dae6c8e7e2c699e0299381c7a4d7a | [] | no_license | tradye/CIDItrucksim | 005d3d37bb41c12f5a9eb44b3ae8c3ca8be8fcbd | 7047c178c618f7f4eced2f3379556fc70ef53591 | refs/heads/master | 2020-03-09T23:24:51.295437 | 2018-05-14T14:51:41 | 2018-05-14T14:51:41 | 129,057,538 | 1 | 0 | null | 2018-05-14T14:51:42 | 2018-04-11T08:04:28 | Matlab | UTF-8 | C++ | false | false | 2,307 | h | /******************************************************************************
* Copyright 2017 The Apollo 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 Licens... | [
"tradye@163.com"
] | tradye@163.com |
5f653229eb95c1ecb7386f267f1e7c212757993c | a309d6ea67b7caf7177bf34ccc064f46bfaad7b5 | /ServiceManager/ServiceProcessConfig.cpp | 7ea92df1b295e0572bdd80273bf2fa9aea7ee4cf | [
"MIT"
] | permissive | fengjixuchui/JAV-AV-Engine | a968ecd18ad4954e3668030f92e5680d93cd0969 | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | refs/heads/master | 2020-04-30T16:08:46.699929 | 2018-08-25T09:28:44 | 2018-08-25T09:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,484 | cpp | #include "ServiceProcessConfig.h"
#include "BaseObject.h"
ServiceProcessConfig::ServiceProcessConfig(
__in_opt TCHAR * _strMachineName,
__in_opt TCHAR * _strDatabaseName,
__in DWORD _dwDesiredAccessSCM,
__in TCHAR * _strServiceName,
__in_opt TCHAR * _strDisplayName... | [
"ebrahim.z.b@gmail.com"
] | ebrahim.z.b@gmail.com |
a718a16be2343f5b4d5aa50d37b41f579b9ea0f2 | bbac388eb6b53daec63190e2f271a18fe9bfb163 | /abc129/CTypicalStairs.cpp | 977fb85746604ed9df081c092c92f90e67eb93ae | [] | no_license | tatsumack/atcoder | 8d94cf29160b6553b0c089cb795c54efd3fb0f7b | fbe1e1eab80c4c0680ec046acdc6214426b19650 | refs/heads/master | 2023-06-17T23:09:54.056132 | 2021-07-04T13:03:59 | 2021-07-04T13:03:59 | 124,963,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | cpp | #include <iostream>
#include <limits.h>
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#incl... | [
"tatsu.mack@gmail.com"
] | tatsu.mack@gmail.com |
aee3aaf3bf5baffa9b481e0fd7fab05d5f8837fa | 9bcedb0048c0c7a3908d27c6bdf3def3acb27849 | /Day16~27/DXEngine/DXEngine08_FBXLoader/Engine/DXUtil.h | ea84d2b5455e81b775c76b202689749224aa9e35 | [] | no_license | youga114/AlgorithmAndDX | 653b2e60fa605584353120468febcedf938c59f8 | ea94a3bc94aae80e5c188e2596e61a01b39bc290 | refs/heads/master | 2020-06-02T21:36:21.462739 | 2019-07-23T09:52:54 | 2019-07-23T09:52:54 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 647 | h | #pragma once
#include <d3d11.h>
#include <d3dcompiler.h>
#include <DirectXMath.h>
#pragma comment(lib, "d3d11.lib") //프로젝트 설정에서 링커->입력->종속성에 추가한것과 같음
#pragma comment(lib, "d3dcompiler.lib")
namespace Memory
{
template <class T> void SafeRelease(T& t)
{
if (t)
{
t->Release();
t = NULL;
}
}
template ... | [
"youga114@naver.com"
] | youga114@naver.com |
030feff9a56be68f47035ab3e4d84e87d5d2a9e7 | 2c36841c1c3bef06fe4a82bd87cacc64425d08c7 | /Source/rclUE/Public/Msgs/ROS2GenericMsg.h | 78b81a579d10b3a0961c39528c5cdd03af0b424a | [] | no_license | saratrajput/rclUE | 29edba1a9b5b218264880b60844e9da2a1474602 | 4521c29ac66caba6eb5aa91483e75751652f91bf | refs/heads/master | 2023-08-12T07:28:01.881375 | 2021-10-04T22:06:57 | 2021-10-04T22:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | h | // Copyright 2020-2021 Rapyuta Robotics Co., Ltd.
#pragma once
#include <CoreMinimal.h>
#include "rclcUtilities.h"
#include "ROS2GenericMsg.generated.h"
DECLARE_LOG_CATEGORY_EXTERN(LogROS2Msg, Log, All);
/**
* This should be refactored with other generic ROS2 types (Msgs, Sensors, Actions)
* Need to... | [
"christian.conti@rapyuta-robotics.com"
] | christian.conti@rapyuta-robotics.com |
c41f05983604566dc1211d53df68a68d7d9bc9d1 | c8ae40e956c93e44c86bad95a89e5b752a1c9cad | /src/caffe/net.cpp | c753f190bdce683908faea0413b5767dcc0419e1 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | lpx1233/caffe-yolov2 | 25739bed1661f54480b26027a21132b4e0341b95 | c113a15fb734fb36da941f0550a44199d4fb454b | refs/heads/master | 2020-05-16T09:07:42.454463 | 2019-04-23T05:35:57 | 2019-04-23T05:35:57 | 182,938,539 | 0 | 0 | NOASSERTION | 2019-04-23T05:20:18 | 2019-04-23T05:20:14 | null | UTF-8 | C++ | false | false | 41,529 | cpp | #include <algorithm>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "hdf5.h"
#include "caffe/common.hpp"
#include "caffe/layer.hpp"
#include "caffe/net.hpp"
#include "caffe/parallel.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/hdf5.hpp"
#include "caffe/uti... | [
"weiyaodong@idaneel.com"
] | weiyaodong@idaneel.com |
474e07e55682843c5d30a6064cf2eb207d0fddff | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_Task_Scout_Strafe_structs.hpp | 4d3d7a30680f98cfdc84d4aca70c67973b080686 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Basic.hpp"
#include "ARKSurvivalEvolved_AIModule_classes.hpp"
#include "ARKSurvivalEvolved_Engine_classes.hpp"
#include "ARKSurvivalEvolved_CoreUObject_classes.hpp"
#include "ARKSurvivalEvolved... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
f95b32443ea7ff04130330a9e75ecbcd243d640c | 36642102620faa102478e824124e347ed243dc23 | /112A.cpp | fceae5e18f8b7ab7d3193866ae55333360c6bfc0 | [] | no_license | Ajit021/Codeforces | 483b769e53c05e2548353b9365eccb330bbf39e7 | a3b08c39c862a9e4fc459a8d853c345b1109b958 | refs/heads/master | 2022-11-18T09:45:51.137985 | 2020-07-24T05:10:40 | 2020-07-24T05:10:40 | 282,121,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include<bits/stdc++.h>
using namespace std;
main()
{
string s;
string s1;
cin>>s>>s1;
transform(s.begin(), s.end(), s.begin(), ::tolower);
transform(s1.begin(), s1.end(), s1.begin(), ::tolower);
if(s==s1)
cout<<"0";
else if(s<s1)
cout<<"-1";
else
cout<<"1";
}
| [
"noreply@github.com"
] | noreply@github.com |
ff57ca89185995bc4e9a6cdef52bc70a5d736e94 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /libraries/fc/include/fc/crypto/sha1.hpp | 1fd1cea8a330d66cbfa1b979db88e18bc3b2d184 | [
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,023 | hpp | #pragma once
#include <fc/fwd.hpp>
#include <fc/string.hpp>
namespace fc{
class sha1
{
public:
sha1();
explicit sha1( const string& hex_str );
string str()const;
operator string()const;
char* data()const;
size_t data_size()const { return 20; }
static sha1 hash( c... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
0bc1b51d509b6fe1d9adf215544e4163e4a5b245 | f0e677fe5293bc60315fb70506d03ede72bba0f0 | /Bond/Bond.h | 15dd49e959b2e3e25d1bab697756e567ca049986 | [] | no_license | evteevaa/bpoptim | 886344dfe3e02b581cb1a562d93fd062b9b125e3 | 1194e5d3eaedd19d5a40ada882111f01041ea661 | refs/heads/master | 2020-08-03T17:20:31.686614 | 2019-09-30T09:56:18 | 2019-09-30T09:56:18 | 211,825,479 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | h | /*
* File: Bond.h
* Author: melichron
*
* Created on 10 марта 2019 г., 21:53
*/
#ifndef BOND_H
#define BOND_H
class Bond {
public:
Bond();
Bond(std::string bn, float cp, float cr, float ye, float NKD, float dur, int cpy=2, float nom=1000, float ys=0);
Bond(const Bond& orig);
Bond& operator=(c... | [
"noreply@github.com"
] | noreply@github.com |
a0a9d01f37d162e884d3f1ee6dc9613e1cfdaa9b | c543e7e3c562ed6758fb82ff26e99f316bfbe098 | /pacman/src/rendering/post_processing.h | d0a9458210963e61ebc2f677a7fe75392c078ce3 | [] | no_license | Tikaszar/wacman | 7b1ff88db86ae41d719f4aebd3a1862588cd6a75 | cdab50e1a3bc97fa8a3d7ded0a1f453e25f02c33 | refs/heads/master | 2020-06-20T23:51:02.519935 | 2019-06-07T18:32:03 | 2019-06-07T18:32:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | h | #pragma once
#include "shader_program.h"
namespace pac
{
class PostProcessor
{
public:
/*!
* \brief The Filter enum describes the various filters that can be applied in post proccessing
*/
enum class Filter
{
BlackAndWhite,
VerticalLines,
SphericalDistort,
Chromat... | [
"sportleroro@gmail.com"
] | sportleroro@gmail.com |
e915df1b0da23160b3c52c1f52c7c294b13dc451 | ed6ce53c235e0bc64c0b86052829c488e123cabf | /hashing/0-sum-subarr.cpp | 57d1cc018ce225e956c4c898e15d11d960328060 | [
"MIT"
] | permissive | Strider-7/code | 6a2cf94407c0d004fb6fbcdcb3679779e40b1eb0 | e096c0d0633b53a07bf3f295cb3bd685b694d4ce | refs/heads/master | 2022-12-14T20:12:52.568623 | 2020-09-04T13:27:16 | 2020-09-04T13:27:16 | 292,848,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include <bits/stdc++.h>
using namespace std;
bool zeroSumSubarr(int arr[], int n)
{
unordered_set<int> s;
int prefixSum = 0;
for (int i = 0; i < n; i++)
{
prefixSum += arr[i];
if (s.find(prefixSum) != s.end())
{
return true;
}
if (pref... | [
"noreply@github.com"
] | noreply@github.com |
f6457b21befc7718d15ce2f76e8c0acc28d31a13 | c48bee236ea2b2ae01d0aeda3cf6876ed7469275 | /eng/eng/Engine/Core/OctSpacialPartisioning.h | d57fd835902429cbd3d11143b968388206b780a4 | [] | no_license | blackmoondrago/Game-Engine-proto | eff6505e79fa8736313b291ccf88b8d62221c334 | 6664f39cda0351aabfa7a25d1337595db69e5abb | refs/heads/master | 2020-12-01T23:35:25.074969 | 2019-12-29T23:47:44 | 2019-12-29T23:47:44 | 230,812,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | h | #pragma once
#include "..//Rendering/3D/GameObject.h"
#include "..//Math/Ray.h"
class OctNode
{
public:
enum OctChildren
{
OCT_TLF,
OCT_BLF,
OCT_BRF,
OCT_TRF,
OCT_TLR,
OCT_BLR,
OCT_BRR,
OCT_TRR
};
OctNode(glm::vec3 position_, float size_, OctNode* parent_);
~OctNode();
void OnDestroy();
void ... | [
"32849623+blackmoondrago@users.noreply.github.com"
] | 32849623+blackmoondrago@users.noreply.github.com |
cd9dd156c56a98ebc89fa49e8c8e6a3be27ece30 | 94dabf1490cc12e8c45a9fde6215351e43c743d7 | /acmp/0384.cpp | 1a19b4e265f355993b29b4c1aab168d0bd0001e3 | [] | no_license | dmironov1993/acmp | a4d820ed3f39180dde282cc8fc666e9ff625b19e | 63f3f30e9ce97b796b3a842428b156e3ad4f7fd0 | refs/heads/master | 2020-09-15T21:21:40.734882 | 2020-01-07T20:01:35 | 2020-01-07T20:01:35 | 223,558,981 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | //https://acmp.ru/index.asp?main=task&id_task=384
#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
while (b) {
a %= b;
swap(a,b);
}
return a;
}
int main() {
int i,j, f0 = 0, f1 = 1;
cin >> i >> j;
for (i = gcd(i,j); i > 0; i--) {
int f = (f0 + f... | [
"noreply@github.com"
] | noreply@github.com |
7e431837ece567d5189b4f9f14de733a55f5ab40 | 24372fd346e16e7b7f173746f804cbe235f56d64 | /share/log/logger.cpp | 314dab8fd0b2d87c45ac746fb0b6bb70d4950b43 | [] | no_license | jsonwu/zenus | ea1bb6e27bcc24aa98bace81177f7c5155fea7f4 | d3c959c4a6674a6b7d321cd2dc29e2247001b138 | refs/heads/master | 2021-06-05T09:47:34.330019 | 2017-12-15T07:57:54 | 2017-12-15T07:57:54 | 22,098,160 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | cpp | #include <stdarg.h>
#include <stdio.h>
#include <iostream>
#include "logger.h"
#include "thread_mutex_guard.h"
#define MAX_LOG_BUFF_SIZE 4096
#define MAX_LOG_FILENAME_SIZE 512
logger::logger(string filename_pattern)
:filename_pattern_(filename_pattern)
{ }
logger::~logger()
{
if (this->writer_ != NULL)
{
dele... | [
"240088640@qq.com"
] | 240088640@qq.com |
fc96ed0281fb49a7cc4c75ac9c7cfb460a0db570 | c608f260c7d836630762584b35c901688798c565 | /exercise/src/coreUtil/Mesh.cpp | 1b91f247b597ab1f43c2337a3c5f2314bfd2b3ed | [
"MIT"
] | permissive | softwarekid/crayon | 3c87625c670c6690ffacd475e6dc2a577aabecbd | 72fe08eab4b4282ad729ee2719e75df2f02f1def | refs/heads/master | 2021-07-03T22:41:11.668328 | 2021-05-18T07:35:14 | 2021-05-18T07:35:14 | 46,350,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include "Mesh.h"
#include <GL/glut.h>
void Mesh::Render()
{
glutSolidSphere(2.0, 10, 10);
} | [
"784810053@qq.com"
] | 784810053@qq.com |
d0864bba8cebade59f893d72b2e90314483ae264 | 4e4083a4e6acea1fd3d87439ebd95b1ff4542eaa | /12. Tree Data Structure/HotelReviews.cpp | f3a1a3be69353133aff957caffbd4b86762c98ef | [] | no_license | niravnb/InterviewBit | c1ce460203b7cafad9e5fbcd1ee41c48f5a8f3d3 | baa9b71c0a32207913324f0165f7bcd8c6294799 | refs/heads/master | 2020-08-22T09:09:11.843426 | 2019-12-15T06:35:21 | 2019-12-15T06:35:21 | 216,362,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,917 | cpp | /*
Given a set of reviews provided by the customers for different hotels and a string containing “Good Words”, you need to sort the reviews in descending order according to their “Goodness Value” (Higher goodness value first). We define the “Goodness Value” of a string as the number of “Good Words” in that string.
Not... | [
"noreply@github.com"
] | noreply@github.com |
6484c2449f456932b1a0db0fa696e814871a3fbf | 14248aaedfa5f77c7fc5dd8c3741604fb987de5c | /luogu/P2167.cpp | 87024f2dd63b21f16dc57e914c718c15c568419b | [] | no_license | atubo/online-judge | fc51012465a1bd07561b921f5c7d064e336a4cd2 | 8774f6c608bb209a1ebbb721d6bbfdb5c1d1ce9b | refs/heads/master | 2021-11-22T19:48:14.279016 | 2021-08-29T23:16:16 | 2021-08-29T23:16:16 | 13,290,232 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | cpp | // https://www.luogu.org/problemnew/show/P2167
// [SDOI2009]Bill的挑战
#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000003;
int T, N, K;
int dp_prev[1<<15], dp_curr[1<<15];
int f1[1<<15], f2[1<<15], f3[1<<15];
int ALL, LEN;
char str[16][52];
int sub(int64_t a, int64_t b) {
return (a + MOD - b) % M... | [
"err722@yahoo.com"
] | err722@yahoo.com |
1dfef6ae0327f27e1476c7a6d61d4beff725b1bf | 0f84b56717a0dc95466f0042d29e80e58d2bdb69 | /SDD_ex/CircularList2/CircularList2/CircularList2.cpp | ffce89e256e06d42d7ba5196f02ef3e119f0288b | [] | no_license | cnicolae94/student_work | ea3e26d8b81081d59428c7bb0f1cc2b38878b916 | 2ffcd404bf5b1a1e4641ee8ff0644d97a7cb0998 | refs/heads/main | 2023-05-12T09:01:36.018985 | 2021-05-31T13:35:10 | 2021-05-31T13:35:10 | 355,815,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,860 | cpp | #include <iostream>
using namespace std;
struct produs
{
int cod;
char* nume;
};
struct nodls
{
produs inf;
nodls* next, * prev;
};
nodls* inserare(nodls* cap, nodls** coada, produs p)
{
nodls* nou = new nodls;
nou->inf.cod = p.cod;
nou->inf.nume = new char[strlen(p.nume) + 1];
strcp... | [
"62987170+cnicolae94@users.noreply.github.com"
] | 62987170+cnicolae94@users.noreply.github.com |
eeb0a1efd846ecb4f19fe81214ff2b679fad819a | 11b6f11e1aba9a1021c4a0eeb79e086e4fdd41a2 | /opp.lab1/lab1.cpp | 0386822ffb10c7b25d0ab67912ff29b7a34df584 | [] | no_license | gundone2001/oop.2020 | 1af271ba8ef3f79382163eae4e57b9823df3da54 | 54fd711d550bb2a66e6aa140803a3c4ca58ee890 | refs/heads/master | 2023-01-11T07:45:03.376490 | 2020-11-07T17:53:58 | 2020-11-07T17:53:58 | 297,077,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include <iostream>
#include "Prog1.h"
using namespace Prog1;
//основная функция
int main()
{
Matrix SparseMatrix = { 0,0,nullptr };
Matrix ResMarix = { 0,0,nullptr };
print_menu();
variant(SparseMatrix);
if (!(SparseMatrix.header))
{
std::cout << "incorrect data" << std::endl;
return ... | [
"noreply@github.com"
] | noreply@github.com |
11abd4c73d389c07c8325250e9c30b62f9b44ef1 | 0b8515326d4cb6a2e72318d256ed929aa04dff20 | /content/browser/media/capture/image_capture_impl.h | 8ca23dae59b31de51a450dab104a3010809e8bff | [
"BSD-3-Clause"
] | permissive | wuhengzhi/chromium-crosswalk | 0c6aaec514a3952123616679399f84769019a9de | b5d9bfd4f53d132beab079ed59c6e1ae5d14fe98 | refs/heads/master | 2022-11-11T08:03:41.115014 | 2016-08-25T07:37:50 | 2016-08-25T07:37:50 | 25,424,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_
#define CONTENT_BROWSER_MEDIA_CAPTURE_IMAGE_CAPTURE_IMPL_H_
#include "mojo/public/cpp/binding... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c0f2e6fe65bd43b672d4c2491a5c6abf63ef5182 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/RangesOfConfiguration/UNIX_RangesOfConfiguration.h | d824b7248e2fb6522e1705e9bc45c83bfac2fb69 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,676 | h | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
70df201d0d65ac63a34cea16dc3ed77d0eee600c | 1434a7db58d831dd6a64fa564861b30fc1ce2dc5 | /cpp/equation-solver/src/Coefficient.cpp | 3649a4ae6036218479347c8b380501b654ce912c | [
"Apache-2.0"
] | permissive | reverse-gad/lookwhaticando | 67e507df3c5b2559de5c4b9ed21a78dc7ffec6eb | 46dae592ad1664e9439c71dee285340a3e55ed5f | refs/heads/master | 2020-11-27T14:35:57.550514 | 2017-02-28T14:57:24 | 2017-02-28T14:57:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include "Coefficient.hpp"
Coefficient::Coefficient(double newXExp, std::initializer_list<Variable> newFactors) : xExp(newXExp)
{
factors.insert(factors.begin(), newFactors.begin(), newFactors.end());
}
void Coefficient::derive()
{
factors.push_back(Variable(xExp));
xExp -= 1.0;
}
void Coefficien... | [
"juna99@gmx.de"
] | juna99@gmx.de |
2e9088abd3928a064d93f27b5a1c6494de22027a | 48b23a49c093e8303b90ed6335e61d64362e40af | /shazhko-artem/src/shazhko05/Wheel.cpp | c785d82f85470bb854934288cf7115c90c268f7e | [
"MIT"
] | permissive | zeienko-vitalii/se-cpp | e5b7d1d8800e2a5c777e76cc9cfd30d898400282 | 54a5dfb2e98af099fbfaef129a7fe03a7b815d6f | refs/heads/master | 2021-08-15T15:22:30.559011 | 2017-11-17T22:37:45 | 2017-11-17T22:37:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,225 | cpp | /**
* @file Wheel.cpp
* @brief Содержит реализацию класса Wheel
* @author Shazhko Artem
* @version 0
* @date 03.10.17
*/
#include "Wheel.h"
#define _USE_MATH_DEFINES // for C++
#include "SimpleStreamHelperFactory.h"
#include <sstream>
Wheel::Wheel() : diameter(0), width(0), units(EUNITS_CENTIMETERS)... | [
"31850295+Shazhko-Artem@users.noreply.github.com"
] | 31850295+Shazhko-Artem@users.noreply.github.com |
a0f20998a403f0405b12c09bd6b8e2cb90d51cf1 | 629e4fdc23cb90c0144457e994d1cbb7c6ab8a93 | /lib/ui/uiparent.cpp | cadfd6e4fae50a8d92ab668bb49efa2ffd66a397 | [] | no_license | akin666/ice | 4ed846b83bcdbd341b286cd36d1ef5b8dc3c0bf2 | 7cfd26a246f13675e3057ff226c17d95a958d465 | refs/heads/master | 2022-11-06T23:51:57.273730 | 2011-12-06T22:32:53 | 2011-12-06T22:32:53 | 276,095,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | /*
* uiparent.cpp
*
* Created on: 2.8.2011
* Author: akin
*/
#include "uiparent.h"
namespace ice
{
UIParent::UIParent()
{
}
UIParent::~UIParent()
{
}
} /* namespace ice */
| [
"akin@lich"
] | akin@lich |
2d4a6e79536c4defb78283242232499237a71a4b | 109c56c286dc91c12d7a9bd8cd98431c45e56696 | /Array/ArrayRotation.cpp | 209ffa367d8bc9371c9a3cc2a438cdda2807ebca | [] | no_license | zehao-ba/Data-Structure-Exercise | b965cc9e71f8650e8da1894b56a995b1992075b8 | a97cb34cf6df419132317d5ea2a25f5046117c07 | refs/heads/master | 2018-10-26T23:48:51.380656 | 2018-08-22T01:53:48 | 2018-08-22T01:53:48 | 118,995,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include<iostream>
using namespace std;
void RotateByone(int arry[], int n){
int temp, i;
temp = arry[0];
for(i = 0; i<n-1; i++ )
arry[i] = arry[i+1];
arry[i] = temp;
}
void RotateLeft(int arry[], int n, int d){
int i;
for (i = 0; i<d; i++)
RotateByone(arry,n);
}
void print(int arry[], int size){
int i;
... | [
"noreply@github.com"
] | noreply@github.com |
c23326445ca9fc22fbe630a555f65eca64e0b593 | 2e58ccc2455f302cb6c97847553c804567444ad2 | /CLion/HashMap/HashMap.h | 04eaedd81a29a286e69453bbaf95610548cb8caf | [] | no_license | octaviodimarco/Entrega | c7991d615e85ecdd7057d229a0a95b2c72d9a11e | ea559f166093ed4cf82710be40d9dca4fe53d349 | refs/heads/master | 2020-04-05T18:25:23.666915 | 2018-11-14T05:52:52 | 2018-11-14T05:52:52 | 157,101,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | h | #ifndef HASHMAP_H
#define HASHMAP_H
template<class K, class T>
class HashMap {
private:
unsigned int hashFunc(K clave);
static unsigned int hashFuncDefault(K clave) { return 0; };
unsigned int (*hashFuncP)(K clave);
T **datos; //puntero a puntero
unsigned int tam;
public:
HashMap(unsigne... | [
"octaviodimarco@localhost.localdomain"
] | octaviodimarco@localhost.localdomain |
dc82d4428675834272a13e8a00018365d7fc2550 | be5b2a65fa71e1d91f255d83acd4662105fa04db | /HW_3/part1/csce310hw03pt01.cpp | dd81db60a9280bae983daac99142bc5a45e6d632 | [] | no_license | CaseyNolte22/CSCE310 | fa0b25531956e324cf2b40d92fff32dc5d46869e | 7c5f235ef8c245e2300783a6a45d471195b29610 | refs/heads/main | 2023-04-13T11:13:25.307208 | 2021-04-27T19:01:48 | 2021-04-27T19:01:48 | 339,200,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | cpp | #include <iostream>
#include <cstdio>
#include <list>
#include <vector>
#include "csce310hw03pt01.h"
using namespace std;
class undirected
{
int vertexes;
list<int> *connected;
bool LoopTest(int vertex, bool visited[], int root);
public:
undirected(int vertexes);
void addEdge(int vertex1, int vertex2);
b... | [
"casey.nolte@huskers.unl.edu"
] | casey.nolte@huskers.unl.edu |
d3dcd32e32c272b9e4a869dc1ce865d4ea68fea9 | 8d20bdbb889a8a784561ec741ec464d18851ef8a | /Function.cpp | 7373ef6c97a3cff0ed02f34c1343065853c3de37 | [] | no_license | DENISH220/C-Program | 406b01cab6dcf29a0efb399499308371a37faa5c | 175fc396fc59c9736a48c72312c796f13d6a1e88 | refs/heads/master | 2022-12-11T16:44:25.624079 | 2020-09-06T03:38:21 | 2020-09-06T03:38:21 | 293,191,036 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | //Function area () is overloading three time
#include <iostream>
using namespace std;
//Declaration of funtion prototypes
int area(int);
int area(int, int);
float areas(float);
int main()
{
cout<<"calling the area () funtion for computing the area of square(side=5):"<<area(5)<<"\n";
cout<<"calling the area (... | [
"jyoninishad2200@gmail.com"
] | jyoninishad2200@gmail.com |
435d557cf7b3502bf4b1bc6aa3e7f271dff350cd | 66e6360325b781ed0791868765f1fd8a6303726f | /LQSearch/BTaggingAndMRScaling/6743/MakePlots.cpp | 1aea0aea1fe9d071cbaf29e16c2bf12f4bd6103a | [] | no_license | alintulu/FHead2011PhysicsProject | c969639b212d569198d8fce2f424ce866dcfa881 | 2568633d349810574354ad61b0abab24a40e510e | refs/heads/master | 2022-04-28T14:19:30.534282 | 2020-04-23T17:17:32 | 2020-04-23T17:17:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,101 | cpp | #include <string>
#include <vector>
using namespace std;
#include "TROOT.h"
#include "TStyle.h"
#include "TGraphErrors.h"
#include "DataHelper.h"
#include "PlotHelper2.h"
int main()
{
gROOT->SetStyle("Plain");
DataHelper DHFile("CollectResult.dh");
PsFileHelper PsFile("ParameterDependenceOnBTag.ps");
P... | [
"yichen@positron01.hep.caltech.edu"
] | yichen@positron01.hep.caltech.edu |
d74d08a9743f4e81719078ede6c2b3a45d309686 | 368bc40b7004951f227f6b931aeafaea44426420 | /mainwindowbis.h | 0d6fd9b8b62f0b3bee1abc845ee9e2b6d79976ea | [] | no_license | LilyOfTheWest/OntologyTool | 2f2bc13a3f92f86ff54751f50dcdf6aef1059fe8 | e8ef03a67cb0a424bb86c54ac864052337ff5063 | refs/heads/master | 2021-04-15T14:30:16.400182 | 2016-06-06T12:26:11 | 2016-06-06T12:26:11 | 60,525,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | #ifndef MAINWINDOWBIS_H
#define MAINWINDOWBIS_H
#include <QMainWindow>
namespace Ui {
class MainWindowBIS;
}
class MainWindowBIS : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindowBIS(QWidget *parent = 0);
~MainWindowBIS();
private:
Ui::MainWindowBIS *ui;
};
#endif // MAINWINDOWBIS_H
| [
"linovergame@hotmail.fr"
] | linovergame@hotmail.fr |
3edf47b13451a077945804ead7293087b1d5c3a4 | ff3ce61334d6d1a65ee1076dd92053111f403ce6 | /PAT/1010.cpp | 7b7f1472e0a10473127ce1360b4b9b30133363ee | [] | no_license | JuntaoLiu01/LeetCode | 0c6053cb3eacb02ed6daa91fd11feaff967c8a2c | 28bdee75301d4edd34f8b9edbdb307f925e02a06 | refs/heads/master | 2020-03-23T14:37:21.557481 | 2020-01-16T07:52:21 | 2020-01-16T07:52:21 | 141,688,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include <iostream>
#include <cctype>
#include <math.h>
#include <algorithm>
using namespace std;
long long convert(string num,long long radix){
long long sum = 0;
int index = 0,temp = 0;
for(int i = num.size()-1;i >=0;i--){
temp = isdigit(num[i])?num[i]-'0':num[i]-'a'+10;
sum += temp*pow(... | [
"0001000000100100km@gmail.com"
] | 0001000000100100km@gmail.com |
16ed466726fb0b73c6eb5350f31b2a129b24abba | 452ba5f01bbea2a7827bbadfa7761c1505d973c8 | /ui/editor/roadbuilder.cc | 9cb4df473a3880cba1db6b78225d75512948f7e0 | [
"MIT"
] | permissive | torokati44/LIMoSim | 08dc2b7da426f8222572cb15d22e9e13616cd1d8 | e831434d5d40e4fb5287d3e0aea15099d3eac75b | refs/heads/master | 2021-06-29T14:23:46.771940 | 2017-09-13T09:05:12 | 2017-09-13T09:14:08 | 103,378,010 | 0 | 0 | null | 2017-09-13T09:05:20 | 2017-09-13T09:05:20 | null | UTF-8 | C++ | false | false | 7,492 | cc | #include "roadbuilder.h"
#include "ui/uimanager.h"
#include "ui/map/mapui.h"
#include "ui/map/pathlayer.h"
#include "ui/map/nodeui.h"
#include <QGuiApplication>
#include "LIMoSim/sim/simulation.h"
#include "ui/editor/selectionhandler.h"
#include "ui/qteventscheduler.h"
#include "ui/map/mapui.h"
namespace LIMoSim
{
... | [
"benjamin.sliwa@tu-dortmund.de"
] | benjamin.sliwa@tu-dortmund.de |
8523d64519391b7aa3a831c7b44e842cf6df4b68 | dda21f4378e37cf448d17b720da4a1c9eb2b24d7 | /SDK/SB_BP_Effect_Player_BurningDOT_functions.cpp | 038e84cbc922bd20366b5a57891fb699305bd291 | [] | no_license | zH4x/SpellBreak-FULL-SDK | ef45d77b63494c8771554a5d0e017cc297d8dbca | cca46d4a13f0e8a56ab8ae0fae778dd389d3b404 | refs/heads/master | 2020-09-12T17:25:58.697408 | 2018-12-09T22:49:03 | 2018-12-09T22:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | // SpellBreak By Respecter (0.15.340) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SB_BP_Effect_Player_BurningDOT_parameters.hpp"
namespace SpellSDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------... | [
"45327951+realrespecter@users.noreply.github.com"
] | 45327951+realrespecter@users.noreply.github.com |
b34f321ba097662fa02715697f605b1b83e2d794 | c0cbcddb4d2e92d08caa634f61a8ab3bd66526df | /projects/biogears/include/biogears/cdm/utils/unitconversion/QuantityConversionKey.h | 2bea025b45616c2ace665c0c16effdedebbbe91d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | timhoer/core | 2c50ba7ae42a128768396ac2ce4573237445a258 | f3af359ecdb88b8b8e3b976fa11c3075e0ca7c11 | refs/heads/master | 2020-03-22T09:59:09.621767 | 2018-07-10T15:12:25 | 2018-07-10T15:12:25 | 139,873,468 | 0 | 0 | Apache-2.0 | 2018-07-06T18:45:56 | 2018-07-05T16:12:45 | C++ | UTF-8 | C++ | false | false | 3,396 | h | /**************************************************************************************
Copyright 2015 Applied Research Associates, 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.ap... | [
"sawhite@ara.com"
] | sawhite@ara.com |
d3e9972f2f8aa0ead76c101f34b472b98b5d5d6d | 050b0e3e5d37bf1cd1f79733788b2ed2c361b730 | /employee.h | ee98f0eaf2822420654e118cdc64565d53237754 | [
"MIT"
] | permissive | cgraves1/WorkerPayApp | a721cd0928e1cd9bda07a6eb62911153dfaef788 | 9284bbda28199b22333fa5e2c5bd879d397c1bb1 | refs/heads/master | 2020-03-27T03:54:56.531135 | 2019-06-27T19:16:06 | 2019-06-27T19:16:06 | 145,896,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | h | #ifndef EMPLOYEE_H
#define EMPLOYEE_H
#include <QString>
class employee
{
public:
//constructor
employee();
employee(QString,QString, double, double);//first, last, wage, com
//f, l, wage, com, selected, paiddate, paidamt
employee(QString, QString, double, double, bool, QString, double);
bool ... | [
"cody.graves@hotmail.com"
] | cody.graves@hotmail.com |
bfb6d66861a57abd019406b14d856bfbbab735cf | 37a84006b0fe76073ed541cdd8cfb6f446992e3b | /sys/eventqueue.cpp | 7d564be84e72382f1ce141f876ebaa5331f529e5 | [] | no_license | idx0/GetToTheInn | 635161cc21ecf12aa59c0a2a4dd79da9efd8e266 | 509279ecab0b1639777aed2560300c293a607216 | refs/heads/master | 2021-01-01T16:06:31.152068 | 2020-06-03T15:46:19 | 2020-06-03T15:47:25 | 26,274,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,975 | cpp | #include "eventqueue.h"
#include "enumstr.h"
#include "logger.h"
#include <stdlib.h>
#include <string.h>
namespace sys
{
eventqueue *eventqueue::m_instance = static_cast<eventqueue*>(0);
bool eventqueue::createEventQueue()
{
bool ret = false;
if (m_instance == static_cast<eventqueue*>(0)) {
m_instance = new e... | [
"code@theindexzero.com"
] | code@theindexzero.com |
99c80beb7abcc21708de701ef0219c3ce7d7e22e | 64cfe764a3e19b85eef6b33a7d280319b89e51ac | /2539/Peresadin/tests.cpp | 9dd3f380d1f58cc0fa1b95090348a0e3584317ae | [] | no_license | itmoasm2015/Homework1 | 78c4db386f10419b04b2b9da2d3a2fdfce13dacf | 34f9e92cac985e9f09344e59b4d446f34c3e0992 | refs/heads/master | 2021-01-10T19:15:47.782958 | 2015-06-27T10:27:10 | 2015-06-27T10:27:10 | 31,006,119 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | cpp | #include <bits/stdc++.h>
#include "hw1.h"
#define format1 "%0+10u | %0-+10u"
std::string gen_flag(int len) {
std::string format = "%";
for (int i = 0; i < 7; ++i) {
int t = rand() % 4;
if (t == 0)
format += '+';
if (t == 1)
format += ' ';
if (t == 2)
format += '-';
if (t == 3)
format += '0';
}... | [
"pva701@gmail.com"
] | pva701@gmail.com |
0e019bbdbc95751dfe787349470e33805b462cb9 | fbbb4a1d84187ce82c5671e22ad3bfc744a36edf | /GeeksForGeeks/C Arrays/Find subarray with given sum.cpp | ef702f06a8ce7f2e16f0c02346237bce9137e98e | [] | no_license | richa18b/Competitive_Coding | 49d56dbb6b00a21e07c7b069602fd00fe9cf81e7 | 74acc7dcc2b83e79f8673ec3bc843242c7563e97 | refs/heads/master | 2020-07-23T20:42:42.121404 | 2017-05-29T13:09:48 | 2017-05-29T13:09:48 | 73,801,040 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | /* Find subarray with given sum [Google Interview Question]
[May 13, 2012] */
#include<bits/stdc++.h>
using namespace std;
bool subarraySum(int a[],int n,int sum)
{
int curr_sum=a[0],start=0;
for(int i=1;i<n;++i)
{
while(curr_sum>sum&&start<i-1)
{ curr_sum-=a[start];... | [
"richa.bhardwaj@mail.click-labs.com"
] | richa.bhardwaj@mail.click-labs.com |
7a9045777cc6bd601d1c6e7173592c140d3d981e | a73505cf2ecc7b0cc54770ee3c8d03aaf23e12c9 | /Proyecto/menuperiodo.h | 774bdff448c8cb2317d67afe933c339f77f8d4bf | [] | no_license | alexVillasenor/SEDDII | 97a6623d419c890a57ae4646f1f0506051ac425c | b531638eb8b292c654e130162fc4e04f711fce6f | refs/heads/master | 2020-04-07T18:57:01.495658 | 2018-12-07T03:00:10 | 2018-12-07T03:00:10 | 158,630,552 | 0 | 0 | null | 2018-12-07T03:00:11 | 2018-11-22T02:15:57 | C++ | UTF-8 | C++ | false | false | 855 | h | #ifndef MENUPERIODO_H
#define MENUPERIODO_H
#include <QWidget>
#include <QWidget>
#include "profesor.h"
#include "login.h"
#include "menuuser.h"
#include <fstream>
#include <QDebug>
#include <QMessageBox>
#include <QLineEdit>
#include <QIntValidator>
#include <QRegExpValidator>
#include <regex>
#include "periodo.h"
... | [
"alejandro.villasenor97@gmail.com"
] | alejandro.villasenor97@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.