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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39097a905546a694d220981fd341ef511115828a | 6739070574fbba0338c4b44b9ac26d968c6f6ee1 | /agv/StartLocationWindow.cpp | f8d1c43e298308b8b1b6a404b80b017e21157155 | [] | no_license | hc1251/AGV-UI | a9175b3a6fac12277ffaac28f5821474bc9a8971 | 1a6c780c01b7ef52514967fd775610eed5e10310 | refs/heads/master | 2020-03-18T17:29:12.993677 | 2018-05-27T09:33:57 | 2018-05-27T09:33:57 | 135,031,740 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,447 | cpp | #include "StartLocationWindow.h"
#include "ui_StartLocationWindow.h"
#include "database/ConnectionPool.h"
#include "css/WidgetDraw.h"
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlTableModel>
StartLocationWindow::StartLocationWindow(QWidget *parent) :
QWidget(parent),
ui(new Ui::StartLocationWin... | [
"1039044578@qq.com"
] | 1039044578@qq.com |
e9a384bef68d3f836dfd598a8225ba259b96e5f5 | c904c678f627d540f25fa6f247bd06280d2990d2 | /scene_loader.h | 98f76f7e8ba788565968670cdcd38b0ddf380e9f | [
"MIT"
] | permissive | vchizhov/Simple_Pathtracer | edb57cbc43af0ad88f0ddb46bc6ec2d62e30b885 | 65b053db4a5a38fed70751b4c821cd7bc260beaf | refs/heads/master | 2021-01-25T12:30:58.930983 | 2017-02-19T17:26:31 | 2017-02-19T17:26:31 | 82,470,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,844 | h | #ifndef SCENE_LOADER_H
#define SCENE_LOADER_H
#include "scene_parser.h"
#include "PlyLoader.h"
#include "scene.h"
#include "sphere.h"
#include "octree.h"
#include "high_precision_timer.h"
namespace SceneLoader
{
std::map<std::string, Raytr_Core::texture*> textureMap;
std::map<std::string, Raytr_Core::trian... | [
"noreply@github.com"
] | vchizhov.noreply@github.com |
772453ab10a561f9778363d5785b7810dbe4a36d | 49740a8c2bb69d16d6f6822ed15300cee9faeb6a | /src/coincontrol.h | 4a6de8da1543b22811dcc9e30c16b7d79583801e | [
"MIT"
] | permissive | Pink2Dev/Pink2 | 455dba11414d974beab5996fd6afd4e233857e36 | 948dbb9e159afdbd329928af683d204c34ae8b8f | refs/heads/master | 2022-01-24T22:41:22.742716 | 2022-01-06T20:23:04 | 2022-01-06T20:23:04 | 113,770,899 | 31 | 32 | MIT | 2021-11-03T21:49:45 | 2017-12-10T17:53:02 | C++ | UTF-8 | C++ | false | false | 1,032 | h | #ifndef COINCONTROL_H
#define COINCONTROL_H
/** Coin Control Features. */
class CCoinControl
{
public:
CTxDestination destChange;
bool fReturnChange;
CCoinControl()
{
SetNull();
}
void SetNull()
{
destChange = CNoDestination();
setSelected.clear();
}
... | [
"saidge@gmail.com"
] | saidge@gmail.com |
951436556410104e3fc376ba5c75c7037b4f9495 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Reliability/Failover/common/VersionedCuid.h | 243063a57605236b4a87e0842caf0449d7350520 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 1,780 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Reliab... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
e4b5f28a455abe794f56816c199267ee6d4e8d28 | 1c346466f52bb8f664e3b2ae13647a6fba03fbfb | /Sprawdziany/Zadanie_3_wasz.cpp | 436de5ea24b399801fba13096f619bb2016be26a | [] | no_license | TKDMzq/Kod_2bi_PSIO | 887b7b11c36888f6ab99e049b37139178353b973 | fc75ed9e840d095b4aea758bed44c489f626fcd2 | refs/heads/master | 2020-03-29T16:54:09.791704 | 2019-03-29T09:14:54 | 2019-03-29T09:14:54 | 150,133,222 | 1 | 1 | null | 2018-10-15T17:33:47 | 2018-09-24T16:26:36 | null | UTF-8 | C++ | false | false | 694 | cpp | #include <iostream>
#include <algorithm>
#include <fstream>
using namespace std;
string palin (string slowo)
{
reverse(slowo.begin(),slowo.end());
return slowo;
}
int main()
{
string slowo;
fstream plik;
int d, licznik = 0, licznik1 = 0;
plik.open("tekst.txt", ios::in);
while ( !plik.eo... | [
"amokrzycki96@gmail.com"
] | amokrzycki96@gmail.com |
8a214cd7e12c0846c19dd87151995729766cdaa8 | 573754c036cfb5cfc8b54ceb61a34e31a545fb99 | /acwing/basic/acwing_798差分矩阵.cpp | 821245162b4b7166f23a4e3e3c8fcdfcd3ca4264 | [] | no_license | cocolord/Algorithm_Code | ef7230ae734572163ec086504db25b8362ab98f3 | 87258e57ddb3e0a65e1c4122d11187fa603c3e8d | refs/heads/master | 2021-06-06T07:46:16.934611 | 2020-07-06T10:35:32 | 2020-07-06T10:35:32 | 87,143,790 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include<iostream>
using namespace std;
const int N = 1010;
int b[N][N];
int a[N][N];
void insert(int x1,int y1,int x2,int y2,int c){
b[x1][y1] += c;
b[x2+1][y2+1] += c;
b[x2+1][y1] -= c;
b[x1][y2+1] -= c;
}
int main(){
int n,m,q;
cin>>n>>m>>q;
//输入
for(int i = 1;i<=n;i++)
for(i... | [
"noreply@github.com"
] | cocolord.noreply@github.com |
36f1afa4630805ecf03b5eb940af205a4d247e11 | f1fcbdef4b45c1b50464b18906915c5d7c58cece | /boost/asynchronous/any_scheduler.hpp | e7fe353c8c6a6e1dfb766d271c4076cf26d785a4 | [
"MIT",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | TobiasHoll/asynchronous | 7e1b05a7b4be9bd9a36f94693974aae823da5b19 | 60c89780149f64d397af87ec0bff9710d942ca83 | refs/heads/master | 2022-06-12T12:28:18.546782 | 2022-06-07T11:53:36 | 2022-06-07T11:53:36 | 15,863,104 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,537 | hpp | // Boost.Asynchronous library
// Copyright (C) Christophe Henry 2013
//
// Use, modification and distribution is subject to 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)
//
// For more information, see http://www.boost.org
#i... | [
"christophe.j.henry@googlemail.com"
] | christophe.j.henry@googlemail.com |
e699f612cba06aa47f1aedf67b78d1eb60238bea | 5db3132aac54c91df00cdfeb845f6684c5a3bbc4 | /C++ files/502-1st6years0.9.cpp | e5644bc180473270af7ee07abb7600c115212fea | [] | no_license | Abhishek-P-Joshi/Sea-ice-anomaly | 8e80991cb50b0e976cb64f4f904160de3055d4dc | f5c2839459fec4ff9f91c7211c26f5b9a93787db | refs/heads/master | 2021-01-13T00:42:59.860619 | 2016-02-16T10:29:48 | 2016-02-16T10:29:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146,698 | cpp | // 502lag1.cpp : Defines the entry point for the console application.
//
// 502Test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream"
#include <conio.h>
#include <fstream>
#include <stdlib.h>
#include <ctype.h>
#include <cstring>
#include <string.h>
#include <math.h... | [
"abhijosh92@gmail.com"
] | abhijosh92@gmail.com |
a8915c5204c2af4bce1825f9ffc753d4890336e6 | 9b32c32592460960ba322719aec6dd9bc3151ced | /Applications/WaferAnalysis/WaferData.h | b13bc9acec9df86c521898a030a49f35f4fdd019 | [] | no_license | beam-telescopes/USBpix | 1c867ad6060404652dc44305a002bbd876da2cca | f5350163a2675982b013711546edb72701d49fb0 | refs/heads/master | 2021-05-02T02:30:34.944845 | 2017-01-09T16:04:11 | 2017-01-09T16:04:11 | 120,883,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,291 | h | #pragma once
//Class storing the analyzed data from the WaferAnalysis class.
//It does not open any data files from STControl but checks if they exist.
//It also performs analysis on the analyzed data like averaging, statistics calculation etc.
//and provides simple set/get functions to access scan result data an... | [
"jgrosse1@uni-goettingen.de"
] | jgrosse1@uni-goettingen.de |
0d8168701ae49e665d7f628ac29d2169517ba2dc | 893a15f55ea26dac1bdea634fc8a6bfdb3c439f5 | /src/MattermostAccountSession.cpp | 6ac02e70afdfe032d27d0c3d4553a10a36903169 | [
"MIT"
] | permissive | polysoft1/legacy-polymost | 6ddc8c26aa7164ab698369273232de37d7b4b702 | c93d74297cb4cc8c77f1bbd87fff2af95f0b24f3 | refs/heads/master | 2023-01-06T19:30:01.499188 | 2020-11-01T22:22:02 | 2020-11-01T22:22:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,195 | cpp | #include "MattermostAccountSession.h"
#include "include/ITeam.h"
#include "PolyMost.h"
#include "include/Message.h"
#include <chrono>
#include <memory>
MattermostAccountSession::MattermostAccountSession(Polychat::IAccount& coreAccount, std::string host,
unsigned int port, bool ssl, std::string token, Polychat::ICore&... | [
"jared.oc321@gmail.com"
] | jared.oc321@gmail.com |
d404d79a37ba0f320368b773c229db5a9569ad4c | 5b83a3eef49ac004b98ff1ff9ce30989fd85c567 | /VArena/Bete/bete.cpp | 5ca09894b0802b4fe289c204d74816edfa61d747 | [] | no_license | floreaadrian/AlgCodes | cd0dfe331d2b1acae26ead05c4be07d6c3c05f52 | b3ba2472ba256a73daea334c22bbca282ff3a24d | refs/heads/master | 2020-05-25T14:34:27.475469 | 2019-05-21T13:49:35 | 2019-05-21T13:49:35 | 187,846,889 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | #include<fstream>
using namespace std;
ifstream fin("bete.in");
ofstream fout("bete.out");
int main()
{
int n,a,b,maxa=0,maxb=0,cona=0,conb=0,i,sum1=0,re;
fin>>n;
for(i=0;i<n;i++)
{
fin>>a;
sum1+=a;
if(a>maxa)
{
maxa=a;
cona=1;
}else
if(a==maxa)cona++;
}
for(i=0;i<n;i++)... | [
"florea.adrian.paul@gmail.com"
] | florea.adrian.paul@gmail.com |
cb0a03b35459f47d082ef1773dbe01c2d30358d8 | 1ce740051a6420616f0fc5eb471193dd9643a818 | /psdaq/psdaq/hsd/FmcCore.cc | 38c1ccdd30be62e0c736b8111bd8364f75d583a9 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | slac-lcls/lcls2 | 25405bd81f8b61b3aa035e4da856402e630afb28 | 7f0401960ceb46551fd926d932c59e96297df6b0 | refs/heads/master | 2023-08-22T17:29:44.193939 | 2023-08-21T20:56:18 | 2023-08-21T20:56:18 | 94,483,750 | 19 | 32 | NOASSERTION | 2023-07-27T01:59:45 | 2017-06-15T22:31:15 | Python | UTF-8 | C++ | false | false | 439 | cc | #include "psdaq/hsd/FmcCore.hh"
using namespace Pds::HSD;
bool FmcCore::present() const
//{ return (_detect&1)==0; }
{ return powerGood(); }
bool FmcCore::powerGood() const
{ return _detect&2; }
void FmcCore::selectClock(unsigned i)
{ _clock_select = i; }
double FmcCore::clockRate() const
{ return double(_clock_co... | [
"weaver@slac.stanford.edu"
] | weaver@slac.stanford.edu |
b18085b87d6fe1c5091d4354f818108d1e3e8d1a | 37806873edc7a064276179656c34b0f094b961dd | /calculator.h | b0d271a8c7499700f68e4803e650e7f49c947de1 | [] | no_license | strictboss/interpretator_sysprog | 0dcbd20a7bc4eee49105f9c9eae1542c3fe7fdd6 | bb336ea8e65946eeb098c5453b9f6a8c0deee18f | refs/heads/master | 2021-08-31T04:45:01.678957 | 2017-12-20T12:00:31 | 2017-12-20T12:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,937 | h | #pragma once
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/repository/include/qi_confix.hpp>
#include <boost/fusion/include/std_pair.hpp>
#include <boost/fusion/include/vector.hpp>
#include <vector>
#include <string>
/* для удобного пользования*/
namespace qi = boost::spirit::qi;
namespace repositor... | [
"hondalom@gmail.com"
] | hondalom@gmail.com |
a5ba81aeacf4eb738eb46982dadf05c85cb4efc8 | 60946e2aded0ec9d746e4c9d3bf6da5d3ee2c6ef | /basic/read_show_image_cpp.cpp | ef9c4ad80a51296d153e1d7ebb661831a841f865 | [] | no_license | bwhite/opencv-examples | d1d1bfffba5eadaeb289912a9648f7ef1b0643cc | 58ebd8a66550ad139b4b5461e553a9dbd8f065c1 | refs/heads/master | 2016-09-10T19:00:07.101990 | 2010-07-01T21:58:15 | 2010-07-01T21:58:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include <opencv/cv.h>
#include <opencv/highgui.h>
using namespace cv;
int main () {
Mat image = imread("../test_data/lena.bmp");
namedWindow("OpenCV");
imshow("OpenCV", image);
waitKey();
return 0;
}
| [
"bwhite@cs.umd.edu"
] | bwhite@cs.umd.edu |
2f7fe4de9bdd7fc4c53dbd88912dfdcbf3cdd370 | 075c105063f78489dcc650c6dfc9c1e02b5de58f | /LinkedList/intersection/linkedList.h | 7190a314780d98466a62874098c5727567580c4f | [] | no_license | nishchay-suteri/Practice-Questions | 0c9da4ca08ccf8f615a653da86ea9ad0e633d24e | e3c540b8f4a08c204fd75ef56e4486a38579b8d3 | refs/heads/master | 2022-03-26T00:26:22.046318 | 2019-12-18T04:32:01 | 2019-12-18T04:32:01 | 206,962,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,736 | h | #ifndef LINKEDLIST_H
#define LINKEDLIST_H
#include<iostream>
#include<assert.h>
template<typename T>
class ListNode{
protected:
T data;
public:
ListNode(T& d){
this->data = d;
}
T& get_data(){
return this->data;
}
};
template<typename T>
class S... | [
"nishchay271095@gmail.com"
] | nishchay271095@gmail.com |
b0d4d48b752dc931a6bc7d3d5212eb63140e621a | 489ee689ff87969040abb0d5ac80229df4053287 | /ChessGame_forLinux/Engine/defs.h | bc55a9d042d6a6f8124ea5458304a842c08b3f71 | [] | no_license | feshfesh123/ChessGame | 5238c37e5f1f229eee9acd6fccfc7d908effd7fb | 7da381051ee436c560ccdeb923e013691168e88b | refs/heads/master | 2020-06-19T16:33:29.157196 | 2019-07-14T02:43:38 | 2019-07-14T02:43:38 | 196,785,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | h | /**
* @file
*
* Contains global constants and functions used in many classes / functions.
*
*/
#ifndef DEFS_H
#define DEFS_H
#include <limits>
#include <iostream>
#include <cstdlib>
/**
* An unsigned 64 bit integer (A bitboard).
*/
typedef unsigned long long U64;
/**
* @name Rank bitboards
*
* @{
*/
... | [
"ngoctai.nguyen234@gmail.com"
] | ngoctai.nguyen234@gmail.com |
fcc4f8b4aceb2aa69548e362e2d51f1d11efd072 | 73e8acb2256231884d79709375f50c484f71e089 | /src/enemy.cpp | 636dc7767fb748b84af1fb4b55a1e4e22fbd0027 | [] | no_license | aayush0823/Jetpack-Joyrider | cbbdf1c786567196bf8a8c80f944337bd39ac93b | 3537082e4907914b2f7d9de4066d7904ceaaeeaa | refs/heads/master | 2020-04-19T04:23:07.950332 | 2019-07-31T16:31:05 | 2019-07-31T16:31:05 | 167,961,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,230 | cpp | #include "enemy.h"
#include "main.h"
#include <math.h>
Enemy::Enemy(float x, float y, color_t color,int type) {
this->position = glm::vec3(x, y, 0);
this->speed = 0.03 + level*0.01;
// Our vertices. Three consecutive floats give a 3D vertex; Three consecutive vertices give a triangle.
// A cube has 6 face... | [
"aayush.goel0823@gmail.com"
] | aayush.goel0823@gmail.com |
4db93364fd2035d6400c1c697ec1aefb3c44ac0e | 549fbf3faaa8fedb46eee3a814ee44bacd8ae48d | /GUIcpp/SaleWindow.cpp | 7e2780565409e0c4fba4f58dbbc8e3cf8a0cafc8 | [
"MIT"
] | permissive | li1553770945/course-design-GUI | 7b31dee4c7f749a3da84b3d63cc5b585b0303b88 | 4d2f66ce0057a35fc76d6abf47d71f529c0f4e4a | refs/heads/master | 2022-06-14T06:13:04.979165 | 2020-05-06T17:31:42 | 2020-05-06T17:31:42 | 257,077,886 | 6 | 0 | MIT | 2020-05-06T17:31:44 | 2020-04-19T18:53:13 | C++ | GB18030 | C++ | false | false | 9,148 | cpp | #include "../GUIh/SaleWindow.h"
#include <qevent.h>
#include <qmessagebox.h>
#include <qdebug.h>
#include "../h/library.h"
#include <iostream>
#include "../h/global.h"
#include "../GUIh//BookInfoWindow.h"
#include "../GUIh/ReportWindow.h"
#include "../h/global.h"
#include "../GUIh/FindWindow.h"
# pragma execution_chara... | [
"1553770945@qq.com"
] | 1553770945@qq.com |
e6a53ab4aab3a34f26f5169ce2f42fe30a8a285c | a8a84558092b98140b354d9a9935b3873f64aca8 | /libipc/ipc_shm_pool.h | 3e8cdbf874a16425e298f28ac24a2cd5ee48ff34 | [] | no_license | grh4542681/comm-libs | 9434e9544b999a8c958767386acd404440ebd3f1 | d6be5d0d03f700096202b865bebdbc00aa29c5b2 | refs/heads/master | 2023-04-26T18:01:26.969735 | 2021-05-27T08:19:02 | 2021-05-27T08:19:02 | 279,017,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | h | #ifndef __SHM_POOL_H__
#define __SHM_POOL_H__
#include <string>
#include "shm.h"
namespace infra::ipc::shm {
template < typename S > class ShmPool {
public:
ShmPool() : shm_() {
static_assert(std::is_base_of<Shm, S>::value, "Must be a subclass that inherits from Shm.");
}
ShmPool(std::string pat... | [
"grh4542681@163.com"
] | grh4542681@163.com |
e7d28b96d4d0ce35db6ca4e891c103194da3cd45 | 41ab6b8bbeb03958c59350ae6da2887a4bf8e144 | /third_party/v8/test/cctest/compiler/test-js-typed-lowering.cc | 559ed1088c73539f357c960d42a187ef56fc4849 | [
"Apache-2.0",
"SunPro",
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | ofrobots/no-bazel | 6472b0bb1b3309d8613ee97c6526a3fa46060eab | f7eb147044dc35aac86df8bd9bec2cc55863ce17 | refs/heads/master | 2020-04-07T14:21:40.305137 | 2018-12-08T00:53:07 | 2018-12-08T00:53:07 | 158,443,929 | 4 | 0 | Apache-2.0 | 2018-12-13T01:54:59 | 2018-11-20T19:56:42 | C++ | UTF-8 | C++ | false | false | 34,331 | cc | // Copyright 2014 the V8 project 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/compiler/js-graph.h"
#include "src/compiler/js-typed-lowering.h"
#include "src/compiler/machine-operator.h"
#include "src/compiler/node-pr... | [
"ofrobots@google.com"
] | ofrobots@google.com |
c82d05d3ffb5f4c7b1680a51fbdb9befdef9b022 | b92a23e6ac60d1bf3b8d33cd944a623c67c69620 | /Lecture11/pointersintro.cpp | eda86785424af0bf6f77e6526a8ebae2e16d3fe8 | [] | no_license | pushpraj9889/CPP-Live-21-Aug | cc57e92b5fc9267bbcecfff2a02e2b43dfd1b8b4 | ba391cbb6e8c8b3db76fc93c6fbba46cf7225c1d | refs/heads/master | 2023-08-05T02:33:48.120086 | 2021-09-24T18:06:57 | 2021-09-24T18:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,586 | cpp | #include<iostream>
using namespace std;
int main(){
int x=10;
float f=70.56;
double g=90.64353;
// cout<<"value of x is : "<<x<<endl; //10
// cout<<"value of f is : "<<f<<endl; //70.56
// cout<<"value of g is : "<<g<<endl;//90.64353
// // adrees
// cout<<"address of x is : "<<&x<<endl; //0x7ffeee433948
//... | [
"mosinaashraf1913@gmail.com"
] | mosinaashraf1913@gmail.com |
c4f76d01b971dd348b941517e8b5c075b39b99a6 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/multimedia/dshow/filters/core/util/code/ftype.cpp | 97707ddec54d4077d0e7ac65f582511a5ae20d4c | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,205 | cpp | // Copyright (c) 1995 - 1999 Microsoft Corporation. All Rights Reserved.
/*
Find the type of a file
*/
#include <windows.h>
#include <uuids.h>
#include <wxdebug.h>
#include <winreg.h>
#include <creg.h>
#include <ftype.h>
#include <comlite.h>
#include <errors.h>
BOOL ValueExists(HKEY hKey, LP... | [
"112426112@qq.com"
] | 112426112@qq.com |
82b93e31c0ead103aef4e2f45b2a9dc283d740e4 | 1d9e60a377ce2b0b94234e90c3156f212f2a7e9b | /13/ShutComputer/RxStatic.h | 5ecf386b688cbef66ea78af7307c6ce064f95db1 | [] | no_license | seehunter/visual_c-_reff_skill_code | fd13ceec2c34bd827f2556638bbc190be46d9b93 | 1a99bd875c32a04cbcc07c785b61270821c58341 | refs/heads/master | 2020-04-09T21:28:33.030596 | 2018-12-06T01:59:25 | 2018-12-06T01:59:25 | 160,603,401 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,851 | h | #if !defined(AFX_RXSTATIC_H__134230C6_AAD7_4461_B1FE_2A796909C386__INCLUDED_)
#define AFX_RXSTATIC_H__134230C6_AAD7_4461_B1FE_2A796909C386__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RxStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
... | [
"seehunter@163.com"
] | seehunter@163.com |
e2cb1403737813d9ec196428bf9894dade68dcd4 | d712e2a00627c6fc85321f2a4c32f8f0938b3642 | /src/Commands/DriveWithJoystick.h | e43cbc5044363f5473c8a4fe52a722cd2777da36 | [] | no_license | Team2927/SitBot2 | e10b2545b16585751ebc87eaa87bc24cc6aa05d7 | 196c5c78f12f695fd2909c1bab7db8067f9bf656 | refs/heads/main | 2023-06-01T23:06:20.235618 | 2021-06-20T09:47:45 | 2021-06-20T09:47:45 | 378,610,020 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | h | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... | [
"chris.barnes.2000@me.com"
] | chris.barnes.2000@me.com |
7bf783fde2db7b62502293048a8ec8c53af0a399 | 5a810777cfa72a56d67a311882e9fdc513ec9365 | /Stack.h | ef11cd5ed11af1e4dd8d65af2edd6f3e95db4264 | [] | no_license | FERBP3/CompiladoresC | bfe3373a431cc1e5efdab7b314a2f6a18ad8b2bd | c1249f2ca1845a02cccc2b9d933bfa3160cdd0e5 | refs/heads/main | 2023-08-04T08:54:14.788903 | 2021-09-15T19:49:14 | 2021-09-15T19:49:14 | 395,132,486 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | // TODO(1) Cambiar la constante PILA_H por TSTACK_H
#ifndef TSTACK_H
#define TSTACK_H
#include <stack>
#include "Table.h"
using namespace std;
namespace C0{
class Stack{
private:
C0::Table* global;
stack<C0::Table*> pila;
public:
Stack();
~Stack();
void push();
... | [
"ferbpp@ciencias.unam.mx"
] | ferbpp@ciencias.unam.mx |
6c119793b2635aa24e42e7e043ce6aa4e62f64d0 | f403843c872d702acf338475914dcd0f94d5ab3a | /priority_queue_using_heaps.cpp | 806d5f196b31d3a7108952cc6383056d828a35a4 | [] | no_license | govind1996/Algorithms | 53b89c0b29321e3f791f81f6370e1cb41e647f11 | 3966e0e771aef7510e745bd1d9774386afbd21f6 | refs/heads/master | 2018-12-22T13:14:27.151916 | 2018-09-30T19:24:19 | 2018-09-30T19:24:19 | 117,877,217 | 3 | 3 | null | 2018-09-30T19:12:31 | 2018-01-17T18:41:10 | C++ | UTF-8 | C++ | false | false | 1,355 | cpp | #include <bits/stdc++.h>
using namespace std;
long int len=0;
void Heapify(long int arr[],long int i,long int n)
{
long int l=2*i+1;
long int r=2*i+2;
long int highest=i;
if(l<n&&arr[l]>arr[highest])
highest=l;
if(r<n&&arr[r]>arr[highest])
highest=r;
if(highest!=i)
{
... | [
"noreply@github.com"
] | govind1996.noreply@github.com |
58f9b5ad2aee0402f8a4627c240c89a2f2f43000 | e514e7dea552d80bc31fcc2c0c1d8bbf5dca5308 | /deps/libssm_ref-0.6.6-r2263/common/ssm/ext/boost/preprocessor/variadic/to_array.hpp | 925712aa9fb85979450665cceb1b75e48a0322e5 | [
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sandialabs/sirocco-release | 939875cc57726b5324532a555d9ee9709ea9b96d | 008c5e40c360053300e8f61e03e36c448287a193 | refs/heads/master | 2023-06-24T19:18:51.941605 | 2019-07-18T21:08:46 | 2019-07-18T21:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Edward Diener 2011. *
# * (C) Copyright Paul Mensonides 2011. *
... | [
"mlcurry@sandia.gov"
] | mlcurry@sandia.gov |
3e82a129302146b9379fe73b5529b75150371ad9 | a0f09b2257257923ad5345ca17c857c06fecaee7 | /hacker_rank_jim_and_the_orders.cpp | b705d1b8d1ff53f799d822d9a50a0bf9cc276076 | [] | no_license | poojan124/Trunk-of-Codes | 078ac144c66c085de7fe17e23a7f3e92e5e40190 | d7325de4548fb2249a6378b1f490f838f9d366b4 | refs/heads/master | 2021-07-20T20:56:31.781406 | 2017-10-28T05:07:33 | 2017-10-28T05:07:33 | 108,621,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include<vector>
#include<algorithm>
#include<map>
#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
long int n;
multimap<long int,long int> m;
scanf("%ld",&n);
for(long int i=1;i<=n;i++)
{
long int a,b;
cin>>a>>b;
pair<int ,int> p;
... | [
"poojan124@hotmail.com"
] | poojan124@hotmail.com |
ffd0360f154c7025372baf9717c3f6a7ad6daf83 | 66a7c9a3eafca6f956edc23e02b0b210385d2475 | /mls-mpm88/tetris.cpp | fbb53521c2d304001cd88f276db721bebff5bd1b | [] | no_license | juniorcarvalho07/mls | 1d474ee2b9ca42ff46b2e2cad77374e935c3aea0 | c4db6d456404d9cf31cdd2252136af1fa4316ce6 | refs/heads/master | 2020-07-14T20:35:10.228466 | 2019-10-17T15:14:42 | 2019-10-17T15:14:42 | 205,395,608 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,172 | cpp | #include "taichi.h" // Note: You DO NOT have to install taichi or taichi_mpm.
using namespace taichi; // You only need [taichi.h] - see below for
// instructions.
const int n = 160 /*grid resolution (cells)*/, window_size = 800;
const real dt = 60e-4_f / n, frame_dt = 1e-3_f, dx = 1.0_f / n,
... | [
"junior_sousa95@usp.br"
] | junior_sousa95@usp.br |
5d16b20807a811f55d5a6028c2a3e5140c94cac7 | 07de79c2d79cfdebaba6699ec9615959417bde97 | /cpp/algorithm/heart/new_traffic_server.cpp | 52c2ca5e4772f2ccd360ca2b258dfa363d8bb8b5 | [] | no_license | SuperVang/example | b56e17dd12a5d780416d66e92265983eaff5ad02 | e97a22e8c14335c53422e3bed869f42dfd9b8831 | refs/heads/master | 2023-02-24T04:09:04.390495 | 2021-01-25T02:40:44 | 2021-01-25T02:40:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | cpp | #include <grpc++/grpc++.h>
#include <automotive_ai/world/new_traffic_service.grpc.pb.h>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/filesystem.hpp> // I can has C++17?
#include <boost/optional.hpp>
#include <boost/program_options.hpp>
#include <boost/smart_ptr/make_shared.hpp>
#include <iostr... | [
"caibinbin6843@navinfo.com"
] | caibinbin6843@navinfo.com |
7b872e8db7a2d63bf619d4545012814145f457c5 | 0dd6351a5fd21cee545bab5ab1cbc905964b2474 | /Cpp/main.cpp | 316bd3f3d5d3973758e7389e44066d4df994febd | [] | no_license | marinpoux/Cpp | cd721356e080435be0aa63ebb0bd739a3b95ceab | 32bc8989f62685a0b4e4bd9b9a0579613031b71a | refs/heads/master | 2023-03-22T04:19:40.566315 | 2021-03-11T11:26:35 | 2021-03-11T11:26:35 | 346,678,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include "tPoint.h"
#include "CPoint.h"
#include <stdio.h>
void afficheLog(int n_value);
void afficheLog(float flt_value);
int main() {
//instance de la classe CPoint
CPoint p;
p.setX(0);
p.setY(0);
printf("X: ");
afficheLog(p.getX());
printf("Y: ");
afficheLog(p.getY());
float flt_f = 12.8;
afficheLo... | [
"m.schwartz@ludus-academie.com"
] | m.schwartz@ludus-academie.com |
835f07f6f32c7e82925c84122d12030ba178d410 | fe8dc6fc2956b5750971996e2a79148b6b0549a1 | /alcoholadjustdialog.cpp | 4ae39d07b1a52687921261dd8662ffea133ca012 | [] | no_license | KunYang5163/Attendance | 65c40ad3810db5d5657de6f8062b7358ed160821 | a623340aa697ebdd4bf1610fcaa5d4f80b6470ee | refs/heads/master | 2020-12-30T16:03:09.775105 | 2017-07-04T08:12:49 | 2017-07-04T08:12:49 | 90,958,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,685 | cpp | #include "alcoholadjustdialog.h"
#include "ui_alcoholadjustdialog.h"
#include <QMessageBox>
#include <QFile>
#include <QTextStream>
#include "common.h"
AlcoholAdjustDialog::AlcoholAdjustDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AlcoholAdjustDialog)
{
ui->setupUi(this);
ui->lab... | [
"noreply@github.com"
] | KunYang5163.noreply@github.com |
4d11350f282474176e6d59ecf2825cf7319406ef | 98a74e8dcf902e8384015c7f027a449121714634 | /patches/src/offshore/pricing_handler.cpp | 11b105f76b69cf4383038734710e4cdeade4f076 | [] | no_license | haven-protocol-org/haven-protocol | ee5b9e2587de267a7728d4b4c5d59f4bf1366a1a | 28d336e8d380811956b4edc2cf64213c9abe3710 | refs/heads/master | 2021-08-08T12:26:41.858066 | 2020-07-06T08:18:10 | 2020-07-06T08:18:10 | 199,059,449 | 7 | 5 | null | 2020-01-02T23:22:21 | 2019-07-26T17:56:39 | C++ | UTF-8 | C++ | false | false | 2,217 | cpp | // Copyright (c) 2019, Haven Protocol
// 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
// conditi... | [
"ncoggins@jupiter.localdomain"
] | ncoggins@jupiter.localdomain |
dc310c0416afee34198076915c2343a6f1b384a7 | 94d7a96822a1113965b91b9975e06e8463d401b0 | /src/LE/graphics/debug_draw_manager.cpp | ec5ccc18c932bc3e4d17fc4a1be1e1f51abfa1b6 | [] | no_license | TykeComputing/lifeline | fa578d46ab5f82bc5feaa206f5c880bf23ff5b02 | 221745bdcea8a27c69d6012b0e5a9929a1c5b984 | refs/heads/master | 2020-05-30T00:33:39.064789 | 2014-10-02T18:10:07 | 2014-10-02T18:10:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | /*
************************************************************************************************
Copyright 2014 by Peter Clark. All Rights Reserved.
************************************************************************************************
*/
#include "debug_draw_manager.h"
namespace LE
{
void debug_draw_ma... | [
"pclark@peterclark.net"
] | pclark@peterclark.net |
0395a70c15eb93f93ac76c8860f6d17adc5f9669 | df77205f0ef3fc6270c252c8481db575a909963d | /Lecture 8 : Linked List 1/Palindrome LinkedList.cpp | 296fdf24db88f7cf543ee2f324e958bd2db1844c | [] | no_license | lavishabhambri/Coding-Ninjas-DSA | 61084ecca85aa517058a10d77a1cc66a309955b7 | 6882f78c067e4df4ffe71027ffd25a691f378984 | refs/heads/main | 2023-02-10T04:13:26.428082 | 2021-01-05T09:04:49 | 2021-01-05T09:04:49 | 310,663,096 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,740 | cpp | /*
You have been given a head to a singly linked list of integers. Write a function check to whether the list given is a 'Palindrome' or not.
Input format :
The first line contains an Integer 't' which denotes the number of test cases or queries to be run. Then the test cases follow.
First and the only line of each t... | [
"noreply@github.com"
] | lavishabhambri.noreply@github.com |
6e41ab7866d3cfec8ce3f8cd016b4b44ceb8a056 | cfc1d27e30ceed953bebb23742b792a915ff7acb | /rigs/cage.cpp | 4f2f7c6541b623e796ff36a5239b3157619c0484 | [
"MIT"
] | permissive | PeterZs/SuperCages | 92b36183cac5b97527c0f73922ed074abf5a62f1 | 1eb387488019ef8166f95445710db21e52a502c2 | refs/heads/master | 2022-04-11T14:52:07.647862 | 2020-04-06T11:03:49 | 2020-04-06T11:03:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | cpp | #include "rigs/cage.h"
#include "geom/plane.h"
#include "iostream"
Cage::Cage()
: Trimesh()
{
}
Cage::Cage( const std::vector<double> & vertices ,
const std::vector<int> & tris )
{
create(vertices, tris);
}
bool Cage::create(const std::vector<double> & vertices ,
... | [
"cordafab@gmail.com"
] | cordafab@gmail.com |
96fe0c6752b5a273ef1ddefbd38318213b3e56b7 | 99e0152266459f5d8611eac5a4245ad8317286f5 | /PA25/src/object.cpp | 1dd562f5b7363b159db3b92aeb0e8db7b41b23e7 | [
"Apache-2.0"
] | permissive | TennisGazelle/cs791ALopez | b186da21622378fd10b7ee20bd3027fbacec5ccd | 034c5e24647ab6eacf9889e0e997d3b20ebaa924 | refs/heads/master | 2021-01-21T22:19:57.569300 | 2017-11-08T06:52:31 | 2017-11-08T06:55:13 | 102,151,089 | 0 | 0 | null | 2017-10-31T00:03:08 | 2017-09-01T20:35:20 | C | UTF-8 | C++ | false | false | 5,229 | cpp | #include "object.h"
Object::Object() {
VBO = 0;
IBO = 0;
TBO = 0;
}
// TODO safely delete the buffers from OpenGL
Object::~Object() = default;
bool Object::Init(const std::string &filename) {
if (!LoadVerticiesFromFile(filename)) {
printf("Error loading file\n");
return false;
}
... | [
"daniellopez@nevada.unr.edu"
] | daniellopez@nevada.unr.edu |
67e91e0a000d754f0e4f3fce7177844e0f81daca | 1d38be13f71159523d36365ff5b35c6d6253610a | /Source/stoneDefence/Public/Core/HallCore/TowerDefenceHallPlayerController.h | 0f90d4a35960936bcb09aa1a3c27cdf8411f6761 | [] | no_license | caozhe1991/tower-defence | 349bb016e40fc98d6da9e2bcf3af74886a309b20 | eef36514f082096d7df387c72db39e56dbe8e485 | refs/heads/master | 2023-02-11T17:24:07.412250 | 2021-01-03T11:22:45 | 2021-01-03T11:22:45 | 325,688,839 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "TowerDefenceHallPlayerController.generated.h"
/**
*
*/
UCLASS()
class STONEDEFENCE_API ATowerDefenceHallPlayerController : public APlayerContro... | [
"498900921@qq.com"
] | 498900921@qq.com |
5b91c661d8c34d5bad489c2a4f8884ccfbf55764 | 4fc99ed9dcd266f0735f3066b053e3db9ad5538c | /FindTreeHeightDepth/main.cpp | b93b7d63c6f1ded9ea28dc87d996f3b0280b3322 | [] | no_license | yashchandel0007/cplusplus_projects_directory | 22beeaeccd99937dcba3393dbd905054ca008678 | 34c2d921808581e64ec9447c6cd8cf5d6b544bdb | refs/heads/master | 2021-01-07T10:53:04.382844 | 2020-03-24T11:26:31 | 2020-03-24T11:26:31 | 241,669,179 | 0 | 0 | null | 2020-03-24T11:26:32 | 2020-02-19T16:42:08 | C++ | UTF-8 | C++ | false | false | 1,050 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
class BTNode{
public: int data;
public: BTNode* left;
public: BTNode* right;
};
BTNode* newNode(int data){
BTNode* newNode = new BTNode();
if(newNode == NULL){
cout<<"Memory error";
exit(0);
}
else{
newNo... | [
"yashchandel007@outlook.com"
] | yashchandel007@outlook.com |
6a2e52d983941d4c20e4d21732aa54807e73bbeb | c925d488f6f60bd31278319bf8b099d5d8d93ede | /Jump_Game.cpp | 97cb34a3a3d95987cca7bc680a92e4a005e30ce3 | [] | no_license | ShailendraAgarwal/LeetCode-1 | ba24af46752d8a284b2582c42f931af36b8ac068 | 2155036b1f0423c22a446128f95b024f2e6a37c5 | refs/heads/master | 2021-01-16T20:55:02.417735 | 2013-03-06T07:36:02 | 2013-03-06T07:36:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | /*
Author: Timon Cui, timonbaby@163.com
Title: Jump Game
Description:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine if you are able to reach the last index.
For e... | [
"timonbaby@163.com"
] | timonbaby@163.com |
15084fe1d3ede9b189e49e886198ad96ac0e9bb8 | 06bd829a0b316ff1a8b54b4fc1bb88c73a4fc68f | /二叉树/205.区间最小数.cpp | 6994608b1d8c0d642a5f78cf3162bb3f770dfc56 | [] | no_license | LiuYu0521/lintcode | 148e763294f478f50858f8053cacf5478b5c60b4 | 97c90a2065c6bf6df76c43211af0db2da528b965 | refs/heads/master | 2021-01-22T21:53:32.924735 | 2017-08-13T02:51:25 | 2017-08-13T02:51:25 | 92,742,383 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,938 | cpp | /**
* Definition of Interval:
* classs Interval {
* int start, end;
* Interval(int start, int end) {
* this->start = start;
* this->end = end;
* }
*/
class SegmentTree{
public:
SegmentTree *left, *right;
int start, end, min;
SegmentTree(int start, int end, int min = 0):le... | [
"ly819933137@gmail.com"
] | ly819933137@gmail.com |
2f77a0fc5f393a745ca3428d809d9ea2a594cf09 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/shaders/gradients/Sk4fLinearGradient.h | 98006479875e7ab9e4e209090ff11cec742ceaaa | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 1,142 | h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef Sk4fLinearGradient_DEFINED
#define Sk4fLinearGradient_DEFINED
#include "src/shaders/gradients/Sk4fGradientBase.h"
#include "src/shaders/gradients/SkLinearGradient.h"
... | [
"NearTox@outlook.com"
] | NearTox@outlook.com |
f2f2ae7a07e890e59479c06c29828e4958063a85 | 1e48b46d2cb75a47d0c3a3653f2a263e5afcfc38 | /Part2/maxBias.cpp | e7c67e170ea6c668cd12c43556b2627f7207ce0d | [] | no_license | tirupatihemanth/sailingSeaMonkey | 72f3a1637c06732ee998e2a29dd5919c4abe78cf | 0ca10ce9c018b19d4e9ed0f1ca6b4cbea6432d78 | refs/heads/master | 2021-06-08T03:59:21.878904 | 2016-11-28T05:57:27 | 2016-11-28T05:57:27 | 74,946,027 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,577 | cpp | #include <bits/stdc++.h>
using namespace std;
unsigned char s[256] =
{
0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0,
0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, ... | [
"hemanth kumar tirupati"
] | hemanth kumar tirupati |
41dbce9de474d8775a1a04d1bc1ba2b461f420be | c2f8c2b01fcf2c64e8a817fa203b80ab2ea107b0 | /CS340-CourseProject/main.cpp | 37c7a4ec1b9e0fdde39b706891d554b67528dbca | [] | no_license | jramirez23/PirateAdventures | cce8a1feaa6639313f375b7cfc0a949d137a4c2c | 333a241b670adb4db9ea6eb287b94aad9afebddf | refs/heads/master | 2016-09-06T09:51:12.297949 | 2013-12-04T11:55:14 | 2013-12-04T11:55:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | cpp | <<<<<<< HEAD
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QApplication>
/*#include <QProgressBar>
#include "Character.h"
#include "attackmove.h"
#include "attacklist.h"
*/
#include <iostream>
#include "worldmap.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
... | [
"paulramirez@Jaime-Ramirezs-MacBook-Pro.local"
] | paulramirez@Jaime-Ramirezs-MacBook-Pro.local |
70d10316945a015bfe7c025daf3cfd11148a850a | a9d19fd9ac55b20576160261fcf6c241549b712b | /src/selfie_park/src/detect_parking_spot_mock_client.cpp | 18e5609b85cfba125a52849e4604d75bc695b63b | [
"BSD-3-Clause"
] | permissive | KNR-Selfie/selfie_carolocup2020 | 1021be9f52114c1eb6d319e7f510fac795c1ac36 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | refs/heads/master | 2021-08-05T16:51:58.265347 | 2021-07-15T17:48:16 | 2021-07-15T17:48:16 | 176,028,216 | 11 | 3 | BSD-3-Clause | 2021-07-15T18:02:24 | 2019-03-16T21:45:48 | C++ | UTF-8 | C++ | false | false | 1,001 | cpp | /**
*Copyright ( c ) 2019, KNR Selfie
*This code is licensed under BSD license (see LICENSE for details)
**/
#include <selfie_park/Search_client_mock.h>
ros::Publisher Search_client_mock::obstacles_pub_;
int main(int argc, char **argv)
{
ros::init(argc, argv, "detect_parking_spot_mock_client");
ros::NodeHandle n... | [
"noreply@github.com"
] | KNR-Selfie.noreply@github.com |
c82869635fdb534668ab4e9f38af404163f82a69 | d06ae9822b99919a08bf4609c3522301160d3f8c | /5644/5644.cpp | 3f1509fc87be78204d67cf534b8938bd2f07ea9c | [] | no_license | dahyelucy/SWEA | b0dbc5a5c53aa7eecc4fbfd74baae96d6712897f | 594cd136c9b8abd6b66394178b16b2cf01c1c820 | refs/heads/master | 2020-04-02T09:55:09.833296 | 2018-10-23T11:58:52 | 2018-10-23T11:58:52 | 154,316,356 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,709 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
typedef struct BC {
int y;
int x;
int coverage;
int performance;
}BC;
typedef struct Exist {
int bcNum;
int performance;
}Exist;
typedef struct node {
Exist exist[9];
int max1;
int max2;
}node;
int M, A;
int moveA[101];
int moveB[101];... | [
"gomulemi@naver.com"
] | gomulemi@naver.com |
86281180854a191205968ff144c6241aae71cd9c | 8584afff21c31c843f520bd28587a741e6ffd402 | /AtCoder/ABC/109/d.cpp | 5a5141cbf36ef8eeacd5341bddf9351715016d86 | [] | no_license | YuanzhongLi/CompetitiveProgramming | 237e900f1c906c16cbbe3dd09104a1b7ad53862b | f9a72d507d4dda082a344eb19de22f1011dcee5a | refs/heads/master | 2021-11-20T18:35:35.412146 | 2021-08-25T11:39:32 | 2021-08-25T11:39:32 | 249,442,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,s,n) for (int i = (int)s; i < (int)n; i++)
#define ll long long
#define pb push_back
#define eb emplace_back
#define All(x) x.begin(), x.end()
#define Range(x, i, j) x.begin() + i, x.begin() + j
#define lbidx(x, y) lower_bound(x.begin(), x.end(), y) - x.begin... | [
"liyuanzhongutokyos1@gmail.com"
] | liyuanzhongutokyos1@gmail.com |
57340e35f345cd651f47ebc1d420cc46dc9da673 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /components/autofill/core/browser/address_rewriter_unittest.cc | 4416c1b989c7c22eeb7c53462655a8fa7072990e | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,428 | cc | // 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.
#include "components/autofill/core/browser/address_rewriter.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gt... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
16cbde070941141cffb3b9e663c9990d108e2e2b | 02f9f44328dad647cb08dfdfd033b9d751c70560 | /아두이노 파일_LCD/ver5_16평문_LCD적용/ver5_master/ver5_master.ino | 28aad7fc56d538fbfe2ca0f79ae235680bdf8efa | [] | no_license | ewha-ende/2019_arduino_JolP | 72c30b79d1eabd1acb2d17bfc6d4ae36ee2b41cd | 665ed5d1b816bd98e553b013c046ab26e4da8137 | refs/heads/master | 2020-04-29T03:11:55.575358 | 2019-11-22T04:34:41 | 2019-11-22T04:34:41 | 175,800,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,199 | ino | #include <uECC.h>
#include <AES.h>
#include <stdarg.h>
#include <EEPROM.h>
#define NUM_ECC_DIGITS 24
AES aes ;
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 ... | [
"ordinaryhan@naver.com"
] | ordinaryhan@naver.com |
b08fa32b87e7ffdb568bd6b03ece2b102af2ab59 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dvecdvecmult/VUaVUb.cpp | d12d13b644506ab71cbde780421646a7b077233d | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,987 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecdvecmult/VUaVUb.cpp
// \brief Source file for the VUaVUb dense vector/dense vector multiplication math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
1c71c3aebfa4617b912c697021306e63389f2057 | 06515baae74ed442fe85d08f5b4932804583aaf5 | /mainwindow.h | d9c6f54d8ccb66930d5ca7b4934529217b8a40b8 | [] | no_license | ws1336/Calculator | a744773e7d662022a052a7948a0b955d4742ef14 | f362e5f8c98f501107138d6f243d7d67e101bce6 | refs/heads/master | 2020-03-26T08:57:42.570473 | 2018-08-14T13:43:31 | 2018-08-14T13:43:31 | 144,727,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "moudle.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_btn_1_clicked();
void on_btn_2_clicke... | [
"1194115368@qq.com"
] | 1194115368@qq.com |
0f302e1f6303504dfc9c19b98a7c0c9e2272b0e6 | 11a190ff31986d2b50470e886655c34f039b4744 | /lib/Strobe/src/ToValue.cpp | d92dca6a688680d9f6e468063013a70a0594bf82 | [
"MIT"
] | permissive | take4blue/librarieseesp32 | 330813d8617698a6b197a8e340c4144e2e94e655 | b714126d85a253409ff121d44c71948771c10ff9 | refs/heads/master | 2023-08-18T20:11:38.256768 | 2021-10-06T04:02:02 | 2021-10-06T04:02:02 | 384,830,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include "ToValue.h"
static const int FlashStrobeCode[19] = {
0x80,
0x80, 0x82, 0x85, 0x88, 0x8a, 0x8d,
0x90, 0x92, 0x95, 0x98, 0x9a, 0x9d,
0xa0, 0xa2, 0xa5, 0xa8, 0xaa, 0xad,
};
int Take4::Canon::IntToStrobePower(int value)
{
for (int i = 0; i < 19; ++i) {
if (value == FlashStrobeCode[i])... | [
"46077789+take4blue@users.noreply.github.com"
] | 46077789+take4blue@users.noreply.github.com |
67c350daa210d26d7713866413fa07eb9bcf6365 | 3e5612905ddce79f1e20121f8ad6c0eb05d03cdc | /BuilderProjects/ProgHelper/ColorsFrameUnit.h | 9723867679ee5145561624acc43eebfe0d713283 | [] | no_license | Alanson70/CodeExamples | dfcf87554100ae9de1efd486a720277fdc60469c | af0240b3f2ce6b30d0e3bc54cf9a3e1703f15569 | refs/heads/master | 2020-05-31T20:08:24.856823 | 2019-11-03T11:11:57 | 2019-11-03T11:11:57 | 190,469,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | h | //---------------------------------------------------------------------------
#ifndef ColorsFrameUnitH
#define ColorsFrameUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.h... | [
"shaposhnikov.aa@mail.ru"
] | shaposhnikov.aa@mail.ru |
c29af74181f5ea462fa18e1999cfb2bd364768c6 | a26d25c930aff826c25a79f9290748c24a0f43f8 | /src/wasm/wasm-opcodes.h | d9565ae60527f16dd44b8e170ee74c1d6350cdb5 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | saigowthamr/v8 | ce0cd017bc1015228def3289ab2b9d282653fdd9 | a0406ca909fc6848b722bfd543c5d723d55bb88f | refs/heads/master | 2021-09-08T14:07:57.610578 | 2018-03-09T21:49:26 | 2018-03-09T21:49:41 | 124,609,596 | 6 | 0 | null | 2018-03-10T01:03:14 | 2018-03-10T01:03:14 | null | UTF-8 | C++ | false | false | 30,009 | h | // Copyright 2015 the V8 project 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 V8_WASM_WASM_OPCODES_H_
#define V8_WASM_WASM_OPCODES_H_
#include "src/globals.h"
#include "src/machine-type.h"
#include "src/runtime/runtime.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b98f7d3a64c1ecc7c01b2f26328139776423652b | b66ee6d34802777dc66519a28e3905188e2d5cfd | /src/qt/signverifymessagedialog.cpp | bf9f1f1fbfe6fd20319e74e8caaacc5eb4dd0b21 | [
"MIT"
] | permissive | btcblock/jinkecoin | 4aaf97b69c336413ebbadc86cca282eba7dc6faa | e9deb46755eedf936052a14994983c88767d1b00 | refs/heads/master | 2021-01-12T05:42:20.978919 | 2016-12-22T19:59:26 | 2016-12-22T19:59:26 | 77,172,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,713 | cpp | #include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... | [
"gilsonqtcn@foxmail.com"
] | gilsonqtcn@foxmail.com |
d392737db33a1b4c9167f66705ad904ba4f4405f | 24643916cd1515911b7837ce81ebd17b0890cc81 | /frameworks-ext/av/media/libstagefright/wifi-display-mediatek/source/PlaybackSession.h | 80aadc853a61b4351bb7a92b48157de2ca1b7b15 | [
"Apache-2.0"
] | permissive | touxiong88/92_mediatek | 3a0d61109deb2fa77f79ecb790d0d3fdd693e5fd | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | refs/heads/master | 2020-05-02T10:20:49.365871 | 2019-04-25T09:12:56 | 2019-04-25T09:12:56 | 177,894,636 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,549 | h | /*
* Copyright 2012, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | [
"sunhouzan@163.com"
] | sunhouzan@163.com |
350e4042eb85566d005c7f34e3cfd1c74448644d | 8edf9759e9b920d9833e3b8eb97b1e5350678e77 | /Nistal Engine/ModuleFS.h | e6d5c63829c03b84408b4bd28ba8507d6d6bc3c4 | [
"MIT"
] | permissive | AlbertCayuela/NistalEngine | de126c5e7ba7a16e978253ab6b806c911e6a1a84 | d5a082c49326dcd47557fdb856a5a86deac40616 | refs/heads/master | 2023-02-14T16:35:27.272375 | 2021-01-10T22:48:45 | 2021-01-10T22:48:45 | 299,208,409 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | h | #ifndef __MODULEFS_H__
#define __MODULEFS_H__
#include "Module.h"
#include <vector>
#include <string>
struct SDL_RWops;
int close_sdl_rwops(SDL_RWops* rw);
struct aiFileIO;
class ModuleFS : public Module
{
public:
ModuleFS(Application* app, bool start_enabled = true, const char* game_path = nullptr);
// Destru... | [
"albertcayuela16@gmail.com"
] | albertcayuela16@gmail.com |
76e108de026117df9cc03a40917973600d43c1a6 | 5d13c29589102b9cb840bbeea9d2a839fb5f2176 | /weblayer/browser/content_browser_client_impl.cc | 858cc1831ea69073b720f4a838928d2e2a871935 | [
"BSD-3-Clause"
] | permissive | gd-Jason/chromium | 01615770af8d058f54b207247395cf9e2d180d2d | 83c28c4a27e287d5c714b8644c1f6bf1f2c32f96 | refs/heads/master | 2022-12-28T14:08:35.966002 | 2020-10-22T09:02:12 | 2020-10-22T09:02:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,144 | cc | // Copyright 2019 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 "weblayer/browser/content_browser_client_impl.h"
#include <utility>
#include "base/command_line.h"
#include "base/containers/flat_set.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3129490ae8a31f3132152dca07475e4b0fbb7451 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542571756.cpp | 4697f644accba37ff23b101135c1d6e46c160d4a | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,465 | cpp | #include<iostream>
#include<stdio.h>
#include<stdlib.h>
#define MAX 10000000000
using namespace std;
struct mystruct{
long long v;
mystruct * next;
};
int structcmp(const void *v1,const void *v2){return ((mystruct *)v1)->v - ((mystruct *)v2)->v;}
int intcmp(const void *v1,const void *v2){return *(int *)v1-*(int *)... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
8137aaeec813014e203647523cb5f5f5b85189d7 | 13bc62c3340f00ae16957c9ac49bffb91222be17 | /Recurrence/Recurrence.hpp | d7a6dc2185dea4583638cf1742025593e1f2ef99 | [] | no_license | Mindjolt2406/PACE-2018-Steiner-Tree | 14a368467eaa0ed5db0af019519929b32f76dda3 | b9054292d0f450d5bccf22ffb7f3c03164c1faa1 | refs/heads/master | 2023-07-08T23:10:22.651348 | 2021-08-03T16:31:38 | 2021-08-03T16:31:38 | 350,956,353 | 2 | 0 | null | 2021-04-22T15:23:31 | 2021-03-24T05:27:30 | C++ | UTF-8 | C++ | false | false | 1,536 | hpp | #ifndef __RECURRENCE_
#define __RECURRENCE_
#include<bits/stdc++.h>
#include "../NiceTreeDecomposition/NiceTree.hpp"
#define ll long long int
class Recurrence {
public:
static map<pair<int, pair<set<int>, set<set<int> > > > , ll> dp;
static vector<vector<int> > adjNodes;
static map<pair<int, int>, i... | [
"rathin7@gmail.com"
] | rathin7@gmail.com |
2ddf1abdd83cd94c05f20bd2fc55913b44b96160 | e182dede9d6824f4b3d431fba5f3249a721997bf | /src/main.cpp | e7a0e4561b12b557ec5bb86c5354b7cf731c2c8e | [] | no_license | xf22001/tunvpn | a64c2939fc62d6b234922cd0ba55ef14fc773a2d | 2196776a47e3ee02416676d0061cbc18efe67e8e | refs/heads/master | 2021-09-04T00:23:22.085743 | 2021-08-18T15:18:10 | 2021-08-18T15:18:10 | 224,620,673 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,772 | cpp |
/*================================================================
*
*
* 文件名称:main.cpp
* 创 建 者:肖飞
* 创建日期:2019年11月28日 星期四 10时49分25秒
* 修改日期:2020年09月03日 星期四 12时00分54秒
* 描 述:
*
*================================================================*/
#include "main.h"
#include "util_log.h"
#include <uni... | [
"alibaba22001@163.com"
] | alibaba22001@163.com |
46948cb26f452a0bcd3b85a9f26283d212153b90 | 1c390cd4fd3605046914767485b49a929198b470 | /atcoder/abc230_f.cpp | ca0dabf9641d40ab9d633f095d6be3d32daf2e6e | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include <bits/stdc++.h>
using namespace std;
const int p = 998244353;
int n;
long long s, x;
int f[200020];
map<long long, int> g;
int main()
{
cin >> n;
f[1] = 1;
for (int i = 1; i < n; i++)
{
cin >> x;
s += x;
f[i + 1] = f[i] * 2 % p;
if (g.find(s) != g.end())
{
f[i + 1] = (f[i + 1] - f[g[s]] + p) %... | [
"wwwwodddd@gmail.com"
] | wwwwodddd@gmail.com |
8596cdc93bf6470202975ae889b1656a619a428d | 19d50f12abf3771d575ed8545dfc43b356661cf7 | /Tests/test_tissurectangle.cc | c396cc3629f852158024c7543fc9e1c7141e2ba9 | [] | no_license | thenchoz/prg_ph_ba1_POO_Tissu | 64006db2d64ee6987d44344b99df5231f3425adb | 5a694fa25873359b5b7f7a071024f16adb01dd99 | refs/heads/main | 2023-07-18T23:28:00.707260 | 2021-08-17T17:03:25 | 2021-08-17T17:03:25 | 397,325,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cc | #include <iostream>
#include "../general/Systeme.h"
#include "../text/TextView.h"
using namespace std;
int main()
{
TextView ecran(cout);
Vecteur3D nul;
Vecteur3D largeur(20,0,0);
Vecteur3D longueur(0,20,0);
TissuRectangle tissu(&ecran,largeur, longueur, nul, 1, 0.4, 0.25, 2, 4);
Systeme syst(&ecran);
sy... | [
"tristan.henchoz@gmail.com"
] | tristan.henchoz@gmail.com |
96b20a939a418d07d152d75b650c88bb8c14e2b4 | 6f583489b338d4d49a764522c5cafe1868839900 | /advent_of_code_2018/2_inventory_management_system/part1.cpp | d43e96994456ebca31b69f9cf27b7bc02ed3ce49 | [] | no_license | TartanLlama/advent-of-code-2018 | 43224bf83f314ab6217ce4b8be9ca1d2b199a992 | 17e4628a4f415d48c67ee6fba0ee11055364b928 | refs/heads/master | 2020-04-09T02:58:13.303496 | 2018-12-03T22:47:59 | 2018-12-03T22:47:59 | 159,962,718 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | /*
Problem:
Input is strings delimited on newlines
For each string, check if there is at least one character repeated two times
Also check if there is at least one character repeated three times
Add together the number of strings with two-repeated characters,
multiply by the number with three-repeated characters
Ap... | [
"tartanllama@gmail.com"
] | tartanllama@gmail.com |
0db9b10dd4fd84577aef1299d4f0fa7be60aa37b | 6658875e9e328ee6a3d0c6e66138f66554531f25 | /Teensydunio/Projects/LedSnowboard/DigitalInput.h | 04df3ba670af65041f7d922a11fad91a8172e602 | [] | no_license | hydra/ledsnowboard | a771f021f2b65576caadf360feb6f1f93c1b324c | 67e18c8e9a8339719f316aaba689db12dce86c45 | refs/heads/master | 2021-01-13T01:45:14.041617 | 2014-04-27T11:11:01 | 2014-04-27T11:11:01 | 15,635,691 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | /*
Copyright (c) 2012-2013 Dominic Clifton. All right reserved.
*/
#ifndef DigitalInput_h
#define DigitalInput_h
#include "Input.h"
class DigitalInput: public Input {
public:
virtual void read(void) = 0;
bool getBoolValue(void) {
return value;
}
int getIntValue(void) {
return value... | [
"me@dominicclifton.name"
] | me@dominicclifton.name |
e17a9a479781c940a32bd054fe56e2d86737fa18 | 29aef929be8cbfccf8fb971457cd21d09dccadfc | /Example/Example.cpp | 773ef123d968f10d5a31dc3a107bedd527670dcd | [] | no_license | wjgxajh/book_code | f20b669a3178084e2def3de4295950496ce65984 | 6f61fabec3293a775d3170f08354edffbc3da225 | refs/heads/master | 2022-11-22T17:24:13.202253 | 2020-07-19T14:03:04 | 2020-07-19T14:03:04 | 279,885,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,272 | cpp | /*
#include <iostream>
#include "ch05_1.h"
#include<vector>
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
template <typename Type>
void Knapsack(vector<int> &v, vector<int>& w, int c, int n, vector<vector<int>> &m)
{
//递归初始条件
int jMax = min(w[n] - 1, c);
for (int ... | [
"wjgxajh@163.com"
] | wjgxajh@163.com |
be3688787d74c59daf7e16da2a560bcca871f953 | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/codeforces/kuadrt.cpp | befd64ed91314c9574020d6922e4ec9f9aec889e | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int i,j,k,l;
int banyak=0;
for (i=1;i<=30;i++){
for (j=1;j<=30;j++){
for (k=1;k<=30;k++){
if (i*i+j*j+k*k==343) banyak++;
}
}
}
cout<<banyak<<endl;
}
| [
"irfansofyana0305@gmail.com"
] | irfansofyana0305@gmail.com |
e0c1e53370f11e74ef16f3c244ce90e1f1772aa8 | 3aa028649f6e9a26454a1caa4d0b89cbe341d660 | /BRAINSCommonLib/GenericTransformImage.h | e7fbaae98f57400ce69f87ad195fa6998b36f776 | [] | no_license | jcfr/BRAINSStandAlone | 2738b83213235c35148f291ad57d07bdeb30de07 | db8a912bbd19734968e4cf83752cb1facdba10eb | refs/heads/master | 2021-01-16T21:03:02.734435 | 2011-10-26T18:30:54 | 2011-10-26T18:30:54 | 2,634,574 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,575 | h | #ifndef _GenericTransformImage_H_
#define _GenericTransformImage_H_
#include "BRAINSCommonLibWin32Header.h"
#include <iostream>
#include "itkImage.h"
#include "itkCastImageFilter.h"
#include "itkRescaleIntensityImageFilter.h"
#include "itkWarpImageFilter.h"
#include "itkLinearInterpolateImageFunction.h"
#include "itk... | [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
ea23ec1461c2fc5365fefb80c81b1ffbd7d9eafb | a502dc8c004ef9e841069f9f28ba9017cd51128e | /TcpEpollClient.cpp | 7bcb37513e90770760bf43c4bf87cb78c733fd93 | [] | no_license | ly-util/CommLib | ed0e4fe71a54376de8f36d777232a4c9228270bb | f5e3b6585b9ff969ae0541faf9040b29056da0c6 | refs/heads/master | 2020-03-15T15:28:03.869000 | 2014-05-14T05:44:57 | 2014-05-14T05:44:57 | 132,212,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | /*
* File: TcpEpollClient.cpp
* Author: gwm <wenmao@eastmoney.com>
*
* Created on 2014年4月15日, 下午3:02
*/
#include "TcpEpollClient.h"
#include "Epoll.h"
#include "MemPool.h"
namespace CommLib {
TcpEpollClientImp::TcpEpollClientImp(boost::shared_ptr<Epoll> epoll, boost::shared_ptr<MemPool> pMemPool)
: ... | [
"jixuduxing@gmail.com"
] | jixuduxing@gmail.com |
70ddbf58cdaa3df14975503fded30c94936ad332 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/427smdvbnknp0jra/2013-04-11T11-30-14.780+0200/sandbox/mysandbox/apps/third_app/third_app.cpp | 7251f35499efc23849dabba637e908c0f82b8c8d | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include <seqan/sequence.h>
#include <seqan/index.h>
using namespace seqan;
int main ()
{
typedef Index<DnaString,IndexQGram<OneGappedShape>> TIndex;
TIndex index("CATGATTACATA");
hash(indexShape(index),"AT-A");
for (unsigned i = 0; i < length(getOccurrences(index,indexShape(index)));++i)
{
... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
8ae0db9fce966e334320126623a692ddc5fb62c6 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/vr/testapp/test_keyboard_delegate.h | 92dbcf76b054510e3aed0748eaf76421157289fd | [
"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 | 1,746 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_VR_TESTAPP_TEST_KEYBOARD_DELEGATE_H_
#define CHROME_BROWSER_VR_TESTAPP_TEST_KEYBOARD_DELEGATE_H_
#include "base/macros.h"
#include... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
97f3caf08c7bf29eb66fa9c920ebf64911a220b1 | 27d1165d5f69cd2410139acc21d30476393597e9 | /next_muduo/Buffer.h | fdec8d34f1438ef526c853fd59ebbf95a09a5007 | [] | no_license | skyformat99/nextMuduo | 3bc1a3dd14e025d30349837b557412f61e28aad9 | 307a0afd5f2ee22c20cec1f537d060381adc563f | refs/heads/master | 2020-03-18T21:37:48.185796 | 2015-12-29T08:58:38 | 2015-12-29T08:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #pragma once
#include <string>
using namespace std;
namespace nextMuduo
{
class Buffer
{
public:
Buffer();
~Buffer();
public:
const char* peek();
int readableBytes();
void retrieve(int len);
void append(const string& data);
std::string retrieveAl... | [
"xclyfe@gmail.com"
] | xclyfe@gmail.com |
ba482a9427a0f64640d28fa06e73ebe251d929d3 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /GeeksForGeeks/Practice/ModularNode.cpp | 200d7de5c5870155bfc360d05758c0b2845054d5 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 629 | cpp | /*
Please note that it's Function problem i.e.
you need to write your solution in the form of Function(s) only.
Driver Code to call/invoke your function would be added by GfG's Online Judge.*/
/*Struture of the node of the linked list is as:
struct Node {
int data;
struct Node* next;
};
*/
// Your task is to comple... | [
"samant04aditya@gmail.com"
] | samant04aditya@gmail.com |
015be7867c249016f4c8105cb0b2083abd07b9e4 | 92e7a96c196e563b70f78db321680d830af80a53 | /CifcoAsset/CifcoAssetRiskMgr/Client/HisRiskEventPanel.cpp | e0f6ae18c6a1ca66f594cea66552f658b1e023d5 | [] | no_license | alexfordc/zq | 513723341132dd2b01f5ca3debb567b2fd31c033 | a0b05b7416fe68784e072da477e8c869097584e2 | refs/heads/master | 2021-05-25T14:19:37.317957 | 2018-02-24T05:57:23 | 2018-02-24T05:57:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | cpp | #include "StdAfx.h"
#include "HisRiskEventPanel.h"
| [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
a597bce5563cf61f4e3b032708433926e643d96f | ab81ae0e5c03d5518d535f4aa2e3437081e351af | /OCCT.Foundation.Net/DataExchange/TKSTEP/StepToTopoDS/StepToTopoDS_GeometricTool.cxx | 3a6bec4b4fcec192b53c41231392b79ff66fc33d | [] | no_license | sclshu3714/MODELWORX.CORE | 4f9d408e88e68ab9afd8644027392dc52469b804 | 966940b110f36509e58921d39e8c16b069e167fa | refs/heads/master | 2023-03-05T23:15:43.308268 | 2021-02-11T12:05:41 | 2021-02-11T12:05:41 | 299,492,644 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,041 | cxx | // Created on: 1995-01-06
// Created by: Frederic MAUPAS
// Copyright (c) 1995-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... | [
"sclshu3714@163.com"
] | sclshu3714@163.com |
185872025ae3151726c998a0b798762cdf40751b | 6f51acc883b34bb7a107c77c4d19ebbe4f4e623e | /code/model_inference_header.h | ece1c5801494649a9b242f96b5ff46635f62a139 | [] | no_license | msylau/superspreading-of-SARS-CoV-2-in-GA | fce0eb736963d6134936414a5f0e8766eef5cc29 | 723599dd9351c703cc1e72dd21d5fe4ebf972a19 | refs/heads/master | 2022-12-01T15:23:00.630796 | 2020-08-14T15:07:45 | 2020-08-14T15:07:45 | 287,560,328 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,914 | h |
#ifndef _FUNCTIONS_H_INCLUDED_ //include guard
#define _FUNCTIONS_H_INCLUDED_
#include<iostream>
#include<vector>
#include<algorithm>
#include <fstream>
#include <string>
#include<sstream>
#include <ctime>
#include <cstdlib>
#include<time.h>
#include <cmath>
#include <stdio.h>
#include <numeric>
#include <gsl/gsl_r... | [
"noreply@github.com"
] | msylau.noreply@github.com |
81757ce041ea0de85ff3ef6959bbbc26469d6a57 | 163e9bc03f7cada6ca055ddeb71730400db47fc1 | /StateMachine/SheepStateMachine.cpp | e304c4542e8638857b75d81a1e6891f84dcd0052 | [] | no_license | LorenzoNiero/AI-Project | b9367c96173dcac06b65851cd4fd9957503ef994 | e7d905b281ce50b8f5ad3d4c964c3247f15d78f4 | refs/heads/master | 2021-01-19T13:49:18.857373 | 2015-07-07T13:10:39 | 2015-07-07T13:10:39 | 35,152,686 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include "SheepStateMachine.h"
void SheepStateMachine::Update() const
{
if (m_pCurrentState) m_pCurrentState->Execute(m_pCurrentAgent);
}
void SheepStateMachine::ChangeState(State<Sheep>* pNewState)
{
m_pPreviousState = m_pCurrentState;
m_pCurrentState->Exit(m_pCurrentAgent);
m_pCurrentState = pNewState;
m_pC... | [
"niero.lorenzo@gmail.com"
] | niero.lorenzo@gmail.com |
72d51fadab9f94deb3b6a3dbe40edeb4a59c4686 | 1faac49bc8b909144a8d13ebb81d36ee36a2495e | /interview_tasks/dynamic_prog_approcah/longestCommPrefixFinder.cpp | 5b14bfcffe8aaa51167dafc8dd7305274ad76146 | [] | no_license | yaroslavpalamar/samples | ccbb862e3429c46ad1503ca70dceadf8f2b8f1d4 | d7f9abf138d8705f75965e3ba369214775990121 | refs/heads/master | 2020-03-13T12:08:44.850917 | 2020-03-03T09:56:12 | 2020-03-03T09:56:12 | 131,113,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include <iostream>
using namespace std;
int findMinLength(string* arr, int n)
{
int min = arr[0].length();
for (int i=1; i<n; i++)
if (arr[i].length() < min)
min = arr[i].length();
return(min);
}
string commonPrefix(string* arr, int n)
{
int minLen = findMinLength(arr, n);
string result;
char curr... | [
"yaroslavpalamar@gmail.com"
] | yaroslavpalamar@gmail.com |
c7eb8e7167a1dde2947ddc3b1ab398f89af089a6 | 102d1431ca34adb206112067ffba0d3d0c9f2543 | /Cyno/contactslistitem.cpp | 730fa95e510b96300a183c26004b596ed056d926 | [] | no_license | Nomai0526/Cyno | 8ea7a0958cb04591f740addd2c3091fd1b770653 | 5d52b7ca839134f94f8ca839afa18fd62609850f | refs/heads/master | 2023-03-12T06:53:27.414390 | 2021-03-04T13:10:36 | 2021-03-04T13:10:36 | 344,477,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | cpp | #include "contactslistitem.h"
contactsListItem::contactsListItem(currentAccount *cAccount, QString avatar, QString account, QString username,QString online)
{
this->cAccount = cAccount;
this->account = account;
this->username = username;
accountLabel = new QLabel(this);
usernameLabel = new QLabel(t... | [
"44196436+WindReiner@users.noreply.github.com"
] | 44196436+WindReiner@users.noreply.github.com |
c95e66d9526c64d85c5bb68b960c07bad9122192 | 35821ce1607d389a03581703832c5cd6648d5cb4 | /Source/DroidAttack/AIBTTask_ClearBlackboardValue.h | a51717d0f6b8cc81b817a99162a617476018443e | [
"MIT"
] | permissive | sheldonlsides/DroidAttack | 3df0bac3df653b5a729a7c47282390ef14d6ed8b | 44965f7d73702c61f23ef656673a8af1eafb158a | refs/heads/main | 2023-01-12T19:51:51.156838 | 2020-11-16T06:08:36 | 2020-11-16T06:08:36 | 309,295,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | #pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "AIBTTask_ClearBlackboardValue.generated.h"
/**
*
*/
UCLASS()
class DROIDATTACK_API UAIBTTask_ClearBlackboardValue : public UBTTask_BlackboardBase
{
GENERATED_BODY()
public:
void UBTTask_ClearBlackboardValue();
... | [
"sheldon.sides@live.com"
] | sheldon.sides@live.com |
41b46027d3e7207de1824799c60e7bdc8dfbfe4b | 5a58f64d3f2e8336ba1ad8b4d0a11d4698e46f71 | /mycpp/container/Base.hpp | 18a4e41eeff100a1bad18c3d85f7e6c654f7ed02 | [
"MIT"
] | permissive | buyuer/mycpp | 84ecc258ccec761dca974b56ca54206bbbe0f391 | 21c1ae7d34dce759cb4ca3dbcfdef5256ab77d32 | refs/heads/master | 2022-10-13T14:47:59.734592 | 2022-09-23T09:42:49 | 2022-09-23T09:42:49 | 230,822,412 | 4 | 2 | MIT | 2022-10-03T13:29:23 | 2019-12-30T00:53:45 | C++ | UTF-8 | C++ | false | false | 346 | hpp | #pragma once
#include <cstddef>
#if defined(CONFIG_LIBCXXMINI)
#define USE_MIWEAR_CXX_LIB
#endif
#if defined(USE_MIWEAR_CXX_LIB)
FAR void *operator new(std::size_t nbytes, FAR void *ptr);
FAR void *operator new[](std::size_t nbytes, FAR void *ptr);
template <typename T>
T &&Move(const T &arg)
{
return const_c... | [
"dingddding@163.com"
] | dingddding@163.com |
5857518c259738e835946174a21acbfbb13e5e9a | dd2625d1c78a37379cbc97b4563b716e20ca5c4f | /file1.cpp | 45853184fc87a3d7d29e1159fb5c9519f89ed11e | [] | no_license | rohitbcs09/test | c6ba58a1c57f9e3217a0c65fecf189c7825d49a2 | 6f430dc830baf42516de70bb9d09851e57553a83 | refs/heads/master | 2021-03-30T21:34:34.142531 | 2018-03-13T21:35:58 | 2018-03-13T21:35:58 | 125,112,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | #include <iostream.h>
#include <stdio.h>
int main() {
std::cout << "Hello World !!!"<< "\n";
}
| [
"rokkumar@cs.stonybrook.edu"
] | rokkumar@cs.stonybrook.edu |
91ca71bd819c0cf448be0609a30f1638af6f6141 | 763d301330d5b5c74aa06582832955d4ac35c19b | /FsLibrary/FsMosaic.cpp | f42c116e2f80a7e6bf5949c5bb0c99da248bed0b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bryful/F-s-PluginsProjects | dd0bc719df6b0a9c7dd397377319d954ba1099a8 | 942be10e7b334912649f39223d1aca1824946c58 | refs/heads/master | 2022-07-22T05:14:13.664573 | 2022-07-14T09:46:30 | 2022-07-14T09:46:30 | 186,790,231 | 185 | 33 | MIT | 2020-12-31T04:50:48 | 2019-05-15T09:06:45 | C++ | SHIFT_JIS | C++ | false | false | 10,786 | cpp | #include "FsGraphics.h"
//********************************************************
//指定した範囲を平坦化する。prの値で数値を加減できる
//********************************************************
PF_Err CFsGraph::flat8(FsFlatParam *fp,FsPixelRand *pr)
{
PF_Err err = PF_Err_NONE;
if ( (fp->sizeX<0)||(fp->sizeY<0)) return err;
if ( (fp->size... | [
"bryful@gmail.com"
] | bryful@gmail.com |
4e80a50899bd897fe41e968bf360278d3ab5ee10 | ccbd18224e73447c05ffc90d2034c3d579b4ae28 | /Assignment9.cpp/Header.h | b2f2e0ad6116782c7a85068534d71c636ec3caad | [] | no_license | aramirez7412/CS1C_Workspace | 2826f5057571950c4c1ad8f29aff0b5c504af242 | 4bf2a062d93fa390b735b31eb44171976750dea4 | refs/heads/master | 2021-01-19T19:32:20.508388 | 2015-01-30T01:02:20 | 2015-01-30T01:02:20 | 30,049,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | h | /**************************************************************************
* NAME : Anthony Ramirez
* CLASS : CS1C
* SECTION : T/TH 6:00-8:50
* DATE :
* ASSIGN #9: Templates
**************************************************************************/
#ifndef HEADER_H_
#define HEADER_H_
/************... | [
"aramirez7412@gmail.com"
] | aramirez7412@gmail.com |
5d5b14a9834a52e38dc37943b43617450f693ce6 | dca4131408db9bdcbd4a32ebe2882bcfcc59d6b8 | /WildcardMatching_10_18/WildcardMatching_10_18/main.cpp | 6606aeffa8e6e92cb9f43b5400b1da6e62d2cac7 | [] | no_license | Wan-YunPeng/leetcode | b1719678b91915236d7faeb319bab9b4353f3380 | f89158cea724f2ffa874e91b7a57eb1d5f3db833 | refs/heads/master | 2021-01-10T14:31:24.918567 | 2015-12-20T11:38:40 | 2015-12-20T11:38:40 | 44,424,656 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,142 | cpp | #include <iostream>
using namespace std;
bool isMatch(const char *s, const char *p);
// 迭代版
bool isMatch2(const char *s, const char *p);
int main()
{
char *s = "aabbc";
char *p = "*b*c";
bool is = isMatch2(s, p);
cout << s << " is matching with " << p << " is: " << is << endl;
return 0;
}
bool isMatch(const c... | [
"425324478@qq.com"
] | 425324478@qq.com |
e483ece8f94b0ae1732fadc096f9eaac4dbe96d8 | a217fdbcceb0d4a1ef4713366bfac4afc78a6c95 | /c & cpp programming/practice sheet/p16.cpp | d337547bcdd2e60bf2cff4365e3ab25325781cac | [] | no_license | handeesome/School_Assignments | 6c3785ddd3022b32b8e1c84d09095c9c4d28f0db | ab4687c8ebd1cb9946dda1e4a6e356c291228a34 | refs/heads/master | 2023-01-12T20:28:34.943020 | 2020-11-10T10:52:52 | 2020-11-10T10:52:52 | 311,620,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <iostream>
using namespace std;
class Car{
private:
string brand;
string model;
double price;
public:
Car(string brand, string model, double price)
:brand(brand), model(model), price(price){}
~Car(){}
void setBrand(string name);
};
inline void Ca... | [
"ducenhandee@gmail.com"
] | ducenhandee@gmail.com |
0c2cd427ec375ee7189f28f6f7f83056edaa8d7a | 3355e6cfe368490bdacdacb153cc8bea0b3a807d | /02-CPP/剑指Offer/61_ContinousCards/main.cpp | 256c8732e5bc50556fdf34d52a072c4d98228712 | [] | no_license | CoderLiLe/DataStructureAlgorithm | 1ecf077efbf19f3f08ee05879c9e2c1fa48dd736 | f552e8d5e2f2b531e5b90dd0f16fd9208f0feadb | refs/heads/master | 2021-11-19T09:27:15.688142 | 2021-10-12T12:10:47 | 2021-10-12T12:10:47 | 187,794,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,831 | cpp | //
// main.cpp
// 61_ContinousCards
//
// Created by LiLe on 2020/2/22.
// Copyright © 2020 lile. All rights reserved.
//
/**
面试题61:扑克牌中的顺子
题目:从扑克牌中随机抽 5 张牌,判断是不是一个顺子,即这 5 张牌是不是连续的。2 ~ 10 为数字本身,
A 为1,J为11,Q为12,K为13,而大小王可以看成任意数字。
*/
/**
分析:
需要将扑克牌的背景抽象成计算机语言:将5张牌看成5个数字组成的数组。大小王为特殊数字,定义为0。
判断5个数字是不是连续的... | [
"1250124009@qq.com"
] | 1250124009@qq.com |
418c60f4129a7ea91a98c4514ab7732123239c2f | 3c003ccd412dafa73643b7982744df8baa6c2eba | /Plugins/SimpleFtpTool/Source/SimpleHttpTool/Public/HttpRequest/RequestInterface.h | 7b489724ed46cd1dfa350eb4d069276975ca35e2 | [] | no_license | fdsalbj/ue4_FTP | 77e0521b6fb27c13bac8db7b65ad3814a617f39e | aa21fb401efe42e0cdf853ced2a3bac4756f1f16 | refs/heads/master | 2022-11-16T05:57:16.844527 | 2020-07-14T13:07:24 | 2020-07-14T13:07:24 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,004 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Interfaces/IHttpRequest.h"
namespace SimpleHttpRequest
{
struct SIMPLEHTTPTOOL_API IHTTPClientRequest
{
friend struct FHttpClient;
IHTTPClientRequest();
IHTTPClientRequest& operator... | [
"1060139924@qq.com"
] | 1060139924@qq.com |
09d4e0a02b180bcb8498bf0f6e5fa1e7728e7aa3 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5753053697277952_0/C++/Musou/1C-A.cpp | db985420f836996aa77733d469c775754e1f8371 | [] | 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 | 820 | cpp | #include <iostream>
#include <vector>
using namespace std;
int largest(int p[]);
int main() {
int T,N;
cin >> T;
for(int i=0;i<T;++i) {
cin >> N;
int parties[26]={0};
int P,sum=0;
int rmv;
cout << "Case #" << i+1 << ": ";
for(int j=0;j<N;++j) {
cin >> P;
parties[j]=P;
sum+=P;... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
c84cff90ddd10379de2958218b9c187d98ab9c13 | 57ac85ca91d0f218be2a97e41ad7f8967728e7b9 | /blazetest/src/mathtest/dvecdvecmax/V4aVDa.cpp | 6c221a3271089fe703ce55297686e772c6a3d973 | [
"BSD-3-Clause"
] | permissive | AuroraDysis/blaze | b297baa6c96b77c3d32de789e0e3af27782ced77 | d5cacf64e8059ca924eef4b4e2a74fc9446d71cb | refs/heads/master | 2021-01-01T16:49:28.921446 | 2017-07-22T23:24:26 | 2017-07-22T23:24:26 | 97,930,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,655 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecdvecmax/V4aVDa.cpp
// \brief Source file for the V4aVDa dense vector/dense vector maximum math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
f5f764dde056b740f755237dfaf62074d9788561 | 9bcfa566e60c04894f3569034d4635d4074de60f | /소스코드/TextureManager.h | a86d0acf7fcb9eb5aa457e548fdf24fefafd9720 | [] | no_license | magrejh/SFMLDemo | 63b241c8cf4329822f06e42f3f99f76133e096a8 | 92fa282eb45808af999cbab15138cc1dbd4cfd82 | refs/heads/master | 2020-04-21T10:55:02.835840 | 2019-03-29T06:35:51 | 2019-03-29T06:35:51 | 169,502,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | #pragma once
#include "ResourceManager.h"
#include <SFML/Graphics/Texture.hpp>
#include <filesystem>
class TextureManager: public ResourceManager<TextureManager, sf::Texture>{
public:
TextureManager(): ResourceManager(std::experimental::filesystem::current_path().u8string() + "\\" + "textures.txt"){}
sf::Texture* L... | [
"magrejh@naver.com"
] | magrejh@naver.com |
e48e45a1487ce3485990c2a761672722e9d666e4 | b91c271e125210156a80216748ee19d876f962a1 | /src/FileManagers/ModelLoader.h | 54a1bcfa6385039e41da07ef23bb6aee57c637e2 | [] | no_license | menegais1/MAPF | 6ac51c0580a4c3933163436a36f5685128c1d4ce | 616d4166a36b655bedf23e32ec799bcf47f32bf5 | refs/heads/master | 2023-07-13T13:44:57.708934 | 2021-08-30T19:38:25 | 2021-08-30T19:38:25 | 400,258,731 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | //
// Created by Lorenzo on 2/11/12021.
//
#ifndef MAPF_OBJECTLOADER_H
#define MAPF_OBJECTLOADER_H
#include "../PnuVertexInput.h"
class ModelLoader {
public:
static void loadPnuModel(const std::string &inputFile, std::vector<PnuVertexInput> &vertexInputs, std::vector<uint32_t> &indexVector);
static void c... | [
"menegais1@gmail.com"
] | menegais1@gmail.com |
7523925005e4858492c6f8345615b9c2f2cd9cad | 2c105ac510b1b886f7e477e6a551902d23d5a524 | /src/include/Logger.hpp | af6bb6101fbdfaf215a86dc07121d41aafdd1520 | [] | no_license | gureya/balm | 8b9bd6a8e25e61174c09cdff5828bfde6e615e11 | 2fcb425e2c77449e2c04e8d3aa05b97aa7a1d326 | refs/heads/master | 2023-07-12T06:52:01.058009 | 2021-08-24T14:52:46 | 2021-08-24T14:52:46 | 189,629,501 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,627 | hpp | /*
* Logger.hpp
*
* Created on: May 31, 2019
* Author: david
*/
#ifndef INCLUDE_LOGGER_HPP_
#define INCLUDE_LOGGER_HPP_
#include <dlfcn.h>
#include <unistd.h>
#include <ctime>
#include <cstring>
#include <cinttypes>
#include <cstdio>
#include <string>
#include <iostream>
#include <boost/stacktrace.hpp>
... | [
"david.gureya@ist.utl.pt"
] | david.gureya@ist.utl.pt |
d95d893aeb329602268832dae5fe52b090e25391 | 047029632e73271ab8b8a372858942713eb6c0dc | /src/renderer/ShaderProgram.h | ac2fe979a4e4fdf04e0e56c13e053c09b1975812 | [
"MIT"
] | permissive | asdlei99/Ainan | b1b5ce9a3d9230baa795cc60e535c2005a1efdff | bbac9f8a1b7a690af3aaf543726fc9b9ff26a356 | refs/heads/master | 2023-02-01T16:04:30.220572 | 2020-11-28T23:14:48 | 2020-11-28T23:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | #pragma once
#include "RendererAPI.h"
namespace Ainan {
class Texture;
class UniformBuffer;
class FrameBuffer;
//ONLY create this using Renderer::CreateShaderProgram
class ShaderProgram
{
public:
virtual void BindUniformBuffer(std::shared_ptr<UniformBuffer>& buffer, uint32_t slot, RenderingStage stage) = 0... | [
"abdullrohman514@gmail.com"
] | abdullrohman514@gmail.com |
9788f1df958740b718ce873965840d56980997ef | 5cf9753be10647186606b2b2c2e4f8c4c3b4e533 | /append_k_ll.cpp | 5e9f5e4adcc351857c1680eee3a24fd747a9614f | [] | no_license | Git-Pratik97/OOPS | b80c9ff26bbdd8c1581af6836ab7fa26b174d8df | c023dc41a53ff21c58e5ea88fd32b372aaed2124 | refs/heads/main | 2023-06-23T23:10:06.514620 | 2021-07-05T07:00:00 | 2021-07-05T07:00:00 | 380,653,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,759 | cpp | #include<iostream>
using namespace std;
class node
{
public:
int data;
node* next;
node(int val)
{
data = val;
next = NULL;
}
};
void insert_at_head(node* &head, int val)
{
node* n = new node(val);
n->next = head;
head = n;
}
void insert_a... | [
"noreply@github.com"
] | Git-Pratik97.noreply@github.com |
96efa82224f15e007c3f74890b44a7da69078f87 | 7106777c2e634eae070beb8aa7c13c958ab67996 | /StabbyCore/player/spawn/SpawnSystem.cpp | 83450a0523e1c49ecf134d77bd0f0c9d8aff6e45 | [] | no_license | Lurgypai/Stabby | 485d693f646fb7527af7b7c2fc09e591972370e9 | 6cf92772eac4e1b385cc57be7307fcb96b5f5caf | refs/heads/master | 2021-12-22T12:41:40.371690 | 2021-02-19T18:23:13 | 2021-02-19T18:23:13 | 176,328,416 | 2 | 0 | null | 2021-09-20T19:25:50 | 2019-03-18T16:39:25 | C | UTF-8 | C++ | false | false | 931 | cpp | #include "SpawnSystem.h"
EntityId SpawnSystem::addSpawnZone(const AABB& zone, bool defaultZone_, unsigned int teamId) {
EntityId id;
EntitySystem::GenEntities(1, &id);
EntitySystem::MakeComps<SpawnComponent>(1, &id);
SpawnComponent* spawn = EntitySystem::GetComp<SpawnComponent>(id);
spawn->spawnZone = zone;
spaw... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
0be73c41f8fbab9703ee21c0406b8a139f66dea8 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/86/c918ed180774f4/main.cpp | 18b043bbefa540fadf6b2d78b080b654f0273950 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,151 | cpp | #ifndef FRACTION_H
#define FRACTION_H
#include <iostream>
#include <string>
#include <stdexcept>
#include <limits>
class Fraction {
private:
int numer;
int denom;
// static int gcd(int, int);
public:
void reduce();
int getNum() const;
int getDen() const;
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
23c24c8cc9b4e992dd1664e628566197754ac2b7 | dacdd83b771cfa56b1e5dee6d4efb14042e868a8 | /main.cpp | d9f8a802694552a31b817e63c755da64684ae7c9 | [] | no_license | Sanghoon-Jung/send-arp | 60a8e23463a3a4f825425ef00a09778e6a7586ff | 74f3bd57a99cfbb97743af003bf077a3b070f958 | refs/heads/master | 2022-11-28T06:43:17.319763 | 2020-08-02T07:38:20 | 2020-08-02T07:38:20 | 284,413,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,571 | cpp | #include <cstdio>
#include <pcap.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <unistd.h>
#include "ethhdr.h"
#include "arphdr.h"
/* pragma pack -> no empty memory space between members -> consecutive */
#pragma pack(push, 1)
struct EthArpPacket{
EthHdr eth_;
A... | [
"shone2137@naver.com"
] | shone2137@naver.com |
30dce966af1e737031cbd68388f35cbfc9da8eb9 | 6bf57771cf8e75b6b2eb459301d7e2b1f63c5406 | /stockTea.h | ed495b079b7af464f0646262fbdbb6b993c3899d | [] | no_license | jernejj/SimpleStock | a9e639b5d9e10de5b3b763892e22d825f86b3cb1 | 939818beab823ff53f40121f3a301675a30f3b35 | refs/heads/master | 2020-12-03T00:30:11.660359 | 2017-07-02T16:58:13 | 2017-07-02T16:58:13 | 96,036,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h | #include "stockinterface.h"
class stockTea :
public stockInterface
{
public:
stockTea(int lDividend, int pValue, int fDividend=0, std::string name="Tea");
~stockTea(void);
};
| [
"jjerebic@comtrade.com"
] | jjerebic@comtrade.com |
81b076daf89ca365bcc1136950e587573ced364b | bc022349e18339102b0be6d1d106cd4f2c5386ac | /src/MediaStreamCapturer.h | 66c9727969251f7abd8921bfd062b503c3ac73b0 | [
"MIT"
] | permissive | krunalsoni01/webrtc-streaming-node | 64cd43106f64abf885b07dfe10ead133fa55a487 | 94634acadd69c340c020ed2d05cafcbf72e1860e | refs/heads/master | 2021-01-10T07:58:03.004483 | 2016-03-31T23:44:01 | 2016-03-31T23:44:01 | 55,189,133 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,045 | h | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 vmolsa <ville.molsa@gmail.com> (http://github.com/vmolsa)
*
* 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 wi... | [
"kgsoni.ec@gmail.com"
] | kgsoni.ec@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.