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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6482670efbfc529d3a98447aeef18572d9fe7086 | d6ebbcf78baa559cf138d073ca0e6174373a8ee8 | /algorithm/1603.design-parking-system.cpp | 8411be165191872f09c221ea08a7a193b306a167 | [] | no_license | silencelee/leetcode | 91bd93704a83a48f9afa86744e871d1b3ef098e5 | 32d1bca2009635423cfdc0f022fb335c9baf4c7e | refs/heads/master | 2021-07-09T15:19:50.735419 | 2021-03-22T03:26:06 | 2021-03-22T03:26:06 | 236,697,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | cpp | /*
* @lc app=leetcode id=1603 lang=cpp
*
* [1603] Design Parking System
*
* https://leetcode.com/problems/design-parking-system/description/
*
* algorithms
* Easy (86.52%)
* Likes: 264
* Dislikes: 110
* Total Accepted: 46.9K
* Total Submissions: 54.5K
* Testcase Example: '["ParkingSystem","addCar","... | [
"lij311@qq.com"
] | lij311@qq.com |
f4fc996f7f388c14e1bcb9aa615af7cbffdc818e | 9d6df578516566142cec8fe201ce20e6247c4364 | /2006-2007/Alfa/Fyrri Hluti/07.cpp | 1c16cc61826670204bd11ec022b2ec6669ff8814 | [] | no_license | SuprDewd/Forritunarkeppnin-2 | d841c9837e395715f8b6065d030a6d752244d526 | c5be01ccb4add0ab2b0ab31bfa2b44d55b5609a4 | refs/heads/master | 2021-01-17T15:35:54.864513 | 2012-03-11T19:12:16 | 2012-03-11T19:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <... | [
"suprdewd@gmail.com"
] | suprdewd@gmail.com |
c35f3640e161692525b85c36b9b3500984685bf7 | f5eb694dbd4201279109b2a9b66c652ec1b4d650 | /C++/SpookyRPG/include/Sprite.h | a641cc8779841f233e29e03e274df45b08e4f6e2 | [] | no_license | Krokys9/all-my-work | 35a84e770b84eba3d86c161d9209e4dcd3c1aa62 | 6dc8e9f6044bd4910fc79f126f489f49eca93af9 | refs/heads/master | 2023-02-27T03:49:10.794094 | 2021-02-01T21:39:06 | 2021-02-01T21:39:06 | 331,379,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | h | #ifndef SPRITE_H_INCLUDED
#define SPRITE_H_INCLUDED
#include <SDL.h>
#include <iostream>
#include <vector>
#define fps 60
class Sprite
{
protected:
SDL_Surface *image;
SDL_Rect rect;
int origin_x, origin_y;
public:
Sprite(Uint32 color, int x, int y, int w , int h);
void draw(SDL_Surface *dest... | [
"Krokys9@users.noreply.github.com"
] | Krokys9@users.noreply.github.com |
a1c8657a8c765a1576422d67a9d6a10b3aebd04e | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_GameplayTags_classes.hpp | b432a9b83e7d5d68ac32832d8d64fbaefeab54a6 | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,909 | hpp | #pragma once
// Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_GameplayTags_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
//... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
132dc2f91f488336f02e6507613eb245eec4d97d | 2fcc9ad89cf0c85d12fa549f969973b6f4c68fdc | /LibMathematics/Meshes/Wm5EdgeKey.h | 605663779c2280025257583ac770dcffa78d5d68 | [
"BSL-1.0"
] | permissive | nmnghjss/WildMagic | 9e111de0a23d736dc5b2eef944f143ca84e58bc0 | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | refs/heads/master | 2022-04-22T09:01:12.909379 | 2013-05-13T21:28:18 | 2013-05-13T21:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#ifndef WM5EDGEKEY_H
#define WM5EDGEKEY_H
#include "... | [
"bazhenovc@bazhenovc-laptop"
] | bazhenovc@bazhenovc-laptop |
ae1ee466e9fe6eb99daf18aa84ef7364ddc9d2f9 | 26ac7837de540d915cdfa7783a65dde9bd311e4b | /Source/TiAALS/ExternalObjects/FFTRelated/IRSpectrogramObject/IRSpectrogram/IRSpectrogram/IRSpectrogramComponent.cpp | 3b8c1b813ff5af95f3386e3ee870e17c4cf89ee9 | [] | no_license | KeitaroTakahashi/TiAALS_FULL | cfdf98a81f5e95f35fb3c7f36837d35856cdcf88 | 21cbdd04c5caf7b7de7bcc638056ad5af9ded5b0 | refs/heads/master | 2023-02-20T17:43:19.929814 | 2021-01-23T13:57:54 | 2021-01-23T13:57:54 | 320,263,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | cpp | //
// IRSpectrogramComponent.cpp
// IRiMaS
//
// Created by Keitaro on 25/07/2019.
//
#include "IRSpectrogramComponent.hpp"
IRSpectrogramComponent::IRSpectrogramComponent(IRNodeObject* nodeObject, IRStr* str)
{
this->spectrogram = std::make_shared<IRSpectrogram>(nodeObject, str);
addAndMakeVisible(this->sp... | [
"neoterize@mac.com"
] | neoterize@mac.com |
d4da5ff9e8453ae84549d45319917abade4f67a1 | 3dda82c149b6f4db9121d7130d3a1f0736148a35 | /PatternGenerator/old_main.cpp | 4977e0c6dfcc260a09aeb945c0fa8d40ef9f1154 | [] | no_license | teiband/arduino-led-interface-rtdb | edcc6006118f43d6b06a380245a20c2db4ba1afe | 643db913c1e34205e429fa325c382cbd83e39c75 | refs/heads/master | 2021-01-10T02:58:53.427672 | 2016-03-09T09:46:51 | 2016-03-09T09:46:51 | 53,485,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | /*
* main.cpp
*
* Created on: 15 Nov 2015
* Author: Thomas Eiband
*
* thomas.eiband@tum.de
*/
#include "PatternGenerator.h"
#include <getopt.h>
#include <iostream>
#include <unistd.h> // for sleep()
#include <ArduinoData.h>
using namespace std;
#include <kogmo_rtdb.hxx>
using namespace KogniMobil;
... | [
"thomas.eiband@gmail.com"
] | thomas.eiband@gmail.com |
9dd7a66c6dbe4843bb7089ac59f1d1fa2444068d | 682bdce8f2892af6f1c2cf3c38d8f891247a781d | /GK_Lab4/shader.hpp | 74b2fdfa04042477d0899df27d06d6aca8a5038d | [] | no_license | rottensunday/GK_Projekt3D | 7431feffc1a3c92a1f569251f67c6b8b2add6af0 | 8a415f2aeed122959fae9d8cc34fd6781d84b2c0 | refs/heads/master | 2021-01-02T11:45:43.823687 | 2020-02-10T20:47:40 | 2020-02-10T20:47:40 | 239,608,495 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,289 | hpp | #pragma once
#include <stdio.h>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <sstream>
using namespace std;
#include <stdlib.h>
#include <string.h>
#include <glad/glad.h>
#include <glm/glm.hpp>
// THIS IS HELPER CLASS TO LOAD AND USE SHADER.
// IT HOLDS SHA... | [
"39813108+rottensunday@users.noreply.github.com"
] | 39813108+rottensunday@users.noreply.github.com |
08578490aa6dd909147a0046090bed151f031190 | 666e2ff7aa1a4bcf3592331062ce774373fe6fa6 | /crypto/openssl/tls_socket.h | d0f4fbe403c45bdee5c0918e7f5d28e915deb756 | [] | no_license | asyr625/mini_sip | aeffd6e5ea1dafafa817b1137859b41351fe9580 | 12ea4b9a03585b5c7e5b5faeeed0a5bc6a9c19cc | refs/heads/master | 2021-01-20T12:06:33.212419 | 2015-11-24T02:33:26 | 2015-11-24T02:33:26 | 46,761,914 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 117 | h | #ifndef TLS_SOCKET_H
#define TLS_SOCKET_H
class Ossl_Socket
{
public:
Ossl_Socket();
};
#endif // TLS_SOCKET_H
| [
"619695356@qq.com"
] | 619695356@qq.com |
73d49197778c92f690447ccb9c3783091ae9f4c1 | f867c0f5f582a1b44579413c023fcc8f5cd7a6b2 | /MainBoosterCat/dirty.ino | 6c41403e927f8acc72f27aab051439428799c202 | [] | no_license | Happy-Ferret/BoosterCat | e23dd9cef4ababab8b5d4ff343055f43fc51235e | c6d4cc3d764c95ecb5a5c09beb29bac1271e1053 | refs/heads/master | 2020-07-08T03:46:06.426608 | 2017-01-24T15:16:21 | 2017-01-24T15:16:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,760 | ino | // BoosterCat Dirty Status Occurance
// setups for communicating with I2C accelerometer
void WireRequestArray(int address, uint8_t* buffer, uint8_t amount);
void WireWriteRegister(int address, uint8_t reg, uint8_t value);
void WireWriteByte(int address, uint8_t value);
// Needed Register Maps
static uint8_t const a... | [
"noreply@github.com"
] | Happy-Ferret.noreply@github.com |
6b44f4244cd775cd7746885aaafdb30212ec01db | 4a0993484a1f9882dd7ec710d6f26713a12f3d27 | /codeforce/292E.cpp | 3b9d732d3f3966227ccb19d719e01cd38b680d3f | [] | no_license | zhouyuzju/code | fbe6a526260119ba42638d65bffe339063365bb0 | 8401d6c9eb522abd9cb993818cba9d6587ca13d8 | refs/heads/master | 2020-05-18T06:34:25.421161 | 2013-09-06T16:52:55 | 2013-09-06T16:52:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | cpp | /**
* Typical segment tree problem
* 2013/4/18
*/
#include <cstdio>
#include <iostream>
#include <cstring>
#define MAX 1 << 20
#define INIT -1000000000
#define MULTI -1000000001
#define PR(x) cout << #x << " = " << x << endl
using namespace std;
struct node{
int l,r,c;
} segtree[MAX];
void init(int... | [
"jwjzy1020@gmail.com"
] | jwjzy1020@gmail.com |
10265cfb0b373b1b8920f9f5573c1b2051fdbce6 | 561ef87c682feea936a1622ddfb07e6aa7182807 | /bioinf/bioinf.hh | b63c77c38cc6f917cf73fd626718b52179c5529f | [] | no_license | deltadev/dpj | 80d5b584a0baa01aee007439f3c29e89d3a892f0 | 93c879c9a5696b305a1a0b39058093cfd3294d8f | HEAD | 2016-09-05T23:10:26.209537 | 2014-09-29T21:27:01 | 2014-09-29T21:27:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,772 | hh | #ifndef DPJ_BIOINF_HH_
#define DPJ_BIOINF_HH_
#include <cmath>
#include <string>
#include <vector>
#include <algorithm>
#include <numeric>
#include <fstream>
#include <iostream>
namespace dpj
{
namespace bioinf
{
inline void unsignedToNucleotides(unsigned n, std::string& s)
{
char nucs[] = "ACGT";... | [
"dj@deltadev.co.uk"
] | dj@deltadev.co.uk |
4567259402d82f0fc4d572564d2947f8497e0d5e | 1e40eb8bb863992749e8986f4f3e2e7a54f7632b | /CustomList/listA.h | 73754568f1bf5cf480aa83b0792bf924321de7fc | [] | no_license | MarcusCasey/MultiDemArrays | 468b4ff9b4c82803d46002806e9564f56a0b96c5 | 64e3153e9dd0abc137cddfbde34d2865df03181c | refs/heads/master | 2020-11-28T20:34:46.883818 | 2019-12-25T04:49:04 | 2019-12-25T04:49:04 | 229,914,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | h | /**
* Marcus Casey
* CS202
* Section 1103
*/
#include <iostream>
using namespace std;
class ListA
{
public:
ListA(int);
ListA(const ListA&);
~ListA();
bool goToBeginning();
bool goToEnd();
bool goToNext();
bool goToPrior();
bool insertBefore(int);
bool insertAfter(int);
bool re... | [
"marcus.casey@outlook.com"
] | marcus.casey@outlook.com |
dd7aef2cec036185374c90a7d7166abd4aeba424 | e8874f9119df1bc95970549bb08a93a390aecb01 | /Exceptions.cpp | 2713bc1583ea35b54d865596ad8c6630c22edc7d | [] | no_license | yesalusn/ucd-csci2312-pa3 | 2f07c38c251389f14e3ff9c69dacb8109792ad84 | 7f785f185625849e14a52a01170476ba12ff8bf6 | refs/heads/master | 2021-01-20T17:21:22.784790 | 2016-03-31T03:52:20 | 2016-03-31T03:52:20 | 54,694,249 | 0 | 0 | null | 2016-03-25T04:20:01 | 2016-03-25T04:20:00 | null | UTF-8 | C++ | false | false | 2,331 | cpp | //
// Created by Nikki on 3/29/2016.
//
#include <string>
#include <iostream>
#include "Exceptions.h"
using std::string;
using std::ostream;
using std::istream;
namespace Clustering
{
OutOfBoundsEx::OutOfBoundsEx(unsigned int c, int r):
__current(c), __rhs(r)
{
this->__name = "OutOfBoundsEx";
}
unsigned int... | [
"nikki.yesalusky@ucdenver.edu"
] | nikki.yesalusky@ucdenver.edu |
8d13278682c02fdd9e3c80e87a30d85f38be4e45 | fde0eeab2c085cd736105caf987e33854fc6c6f5 | /basesim.cpp | c10361b30986d037d5e79183715a2f990b602b92 | [] | no_license | JerryZhong/Similarity | d5facf2164c3f36b0e4d59c93189d84a583601a0 | c9fa8098ca4c2be6d719bf56b120ed29368034ad | refs/heads/master | 2021-01-20T07:47:31.421832 | 2014-02-12T13:05:19 | 2014-02-12T13:05:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include<stdio.h>
#include<algorithm>
#include"basesim.h"
namespace crystal{
using namespace std;
basesim::basesim():_min_occur_user(0),_max_occur_user(0),_topn_sims(0X7FFFFFF)
{
}
basesim::~basesim()
{
}
int basesim::postprocess()
{
map<int,vector<sim_t> > ::i... | [
"zhongwei19900209@gmail.com"
] | zhongwei19900209@gmail.com |
35260450ae252cfde0811e22a40ba55770f7a1ef | 37baab470e4d1f55119b8e00447e490ee8eaa93e | /Car.h | 3df75dbea3e48179f9e8a4de14b2835e2c2388c5 | [] | no_license | muneebGH/simple-car-application- | 74538aa55a1e05ca82eb0a227059323f1214c4de | 34e7400ed239cebc2155cb1f7356c46e3f7486dd | refs/heads/master | 2020-12-01T13:55:50.696007 | 2019-12-28T18:49:54 | 2019-12-28T18:49:54 | 230,650,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | h | #include<iostream>
#include"MyOOPString.h"
using namespace std;
class Car
{
private:
int yearModel;
char make[30];
int speed;
float maxSpeed;
public:
Car();
void setYearModel(int YM);
void setMake(const char * p);
void setSpeed(int s);
void setMaxSpeed(float MS);
int getYearModel();
const ch... | [
"muneeb.github@gmail.com"
] | muneeb.github@gmail.com |
c27530fcc3f2d21c1308b8e933e9a550070e462c | 1bb6a0b3692b5468f7d148788298320ac3ba2a23 | /Practice/2022/rock_mtn/b.cpp | c9140eef0359e38e726badbc23f583a90e856bc1 | [] | no_license | ablondal/comp-prog | ee6ea5c0b32d7fbe0321a4b9919a9cec23fe85f6 | 725e369476993307874f9f5d6e2e7299918251a0 | refs/heads/master | 2022-10-08T05:40:39.206721 | 2022-09-25T22:29:49 | 2022-09-25T22:29:49 | 243,620,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | #include <bits/stdc++.h>
using namespace std;
// incomplete
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef complex<double> cd;
int main() {
ios_bas... | [
"ari.blondal@gmail.com"
] | ari.blondal@gmail.com |
4461926bb491fc41f8b977665345bfa4be177fee | 013c7539d6fb9ffc30740a33691aac902b11b06e | /practive/PTA/advanced/finished/1006.cpp | bf15f329847c0b6cde83efb115f02c481d013480 | [] | no_license | eternity6666/life-in-acm | 1cc4ebaa65af62219130d53c9be534ad31b361e2 | e279121a28e179d0de33674b9ce10c6763d78d32 | refs/heads/master | 2023-04-13T07:50:58.231217 | 2023-04-09T09:23:24 | 2023-04-09T09:23:24 | 127,930,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | cpp | #include <iostream>
using namespace std;
struct node
{
string name;
string in;
string out;
};
int tLen = 8;
bool isEarly(string a, string b)
{
for (int i = 0; i < tLen; ++i)
if (a[i] != b[i])
return a[i] < b[i];
return false;
}
int main()
{
int m;
cin >> m;
string n... | [
"yzh@DESKTOP-RLSAM61"
] | yzh@DESKTOP-RLSAM61 |
fd1e8be12113f05e9822808d838ab4584532c790 | 41df197fd0458619c7cbba2fd27f2eef9411702b | /include/core/base/bundle.h | 052012d76db951cf65eeb3cf430f9f50a78ada81 | [
"Apache-2.0"
] | permissive | xwpcom/CoreLooper | 80c0883cd10d2997c6a526ea6d7c70cd1a6e6915 | b6764cc8eed7a616ff8be0ee84e3fe42968188df | refs/heads/master | 2023-08-29T13:46:40.168936 | 2023-08-24T07:27:30 | 2023-08-24T07:27:30 | 138,360,379 | 41 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | h | #pragma once
#include <map>
#include <string>
#include <sstream>
#include <iostream>
namespace Bear {
namespace Core
{
//XiongWanPing 2017.09.23
class Bundle
{
public:
template <class T> void Set(string name, T tmp)
{
stringstream ss;
ss << tmp;
Set(name, ss.str());
}
void Set(const strin... | [
"xwpcom@163.com"
] | xwpcom@163.com |
490962cd8a4932b1db676f67564ca86f698f398d | edb593be81d61450212e619f9d461ba7d69b22fc | /include/data_structures/stacks/lcp_stack/lcp_stack_delta_x.hpp | f616b81c617c8c685a384b63a96135ff60a62a45 | [
"MIT"
] | permissive | jonas-ellert/xss-real | aa4e5b8080bf15a8268943e4b3b6f16e15641ce0 | 0a526af5a7f29c42ceb52c2920581e62592373b0 | refs/heads/master | 2020-06-15T13:10:18.129566 | 2019-09-04T09:06:18 | 2019-09-04T09:06:18 | 195,308,515 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,370 | hpp | // Copyright (c) 2019 Jonas Ellert
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publ... | [
"jonas.ellert@tu-dortmund.de"
] | jonas.ellert@tu-dortmund.de |
d623ecc84b538e7279fad80ea35288eda5eb20ef | c95bbe1e2e8119647f740d446523b4c00cfd8c00 | /aux.cpp | 26cabeec171990516e176b4cfdd17d603c086d87 | [] | no_license | Snehabisht/APS-PROJECT | 7ee3aeeae7fbc72cf6fd89cb0b971d794c1430e6 | b6b469ddfb128618cce2dd8ed844c2dab349553c | refs/heads/master | 2020-04-28T00:39:08.238296 | 2019-05-07T18:18:26 | 2019-05-07T18:18:26 | 174,823,781 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include <bits/stdc++.h>
#include "dijkshastra.cpp"
using namespace std;
#define v 10
int main()
{
//schools
bool *check = new bool[10];
memset(check, false, sizeof(check));
int graph[v][v] = {
{0, 4, 0, 0, 0, 0, 0, 8, 0},
{4, 0, 8, 0, 0, 0, 0, 11, 0},
{0, 8, 0, 7, 0, 4, 0, 0, ... | [
"noreply@github.com"
] | Snehabisht.noreply@github.com |
30a1ed6e2cbd3fb77d119063923149a485d93d89 | 4b14e804ee223e20e8e0ad376715155448b28d80 | /template_stack.cc | 6c5f8d32b3771e76634acd5e1be6a9bd34c712b2 | [
"MIT"
] | permissive | tamsynlin/CaTest | 6800188246cadf707b139a9c56688940f4ef30d2 | c68e58bdd13aa805ac844d34150187aa26a7fb51 | refs/heads/master | 2020-03-23T20:50:00.914117 | 2018-08-26T19:47:49 | 2018-08-26T19:47:49 | 142,065,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cc | #include <iostream>
#include <vector>
#include <cstdlib>
#include <string>
#include <stdexcept>
using namespace std;
template <class T>
class Stack {
private:
vector<T> elems; // elements
public:
void push(T const&); // push element
void pop(); // pop element
T t... | [
"noreply@github.com"
] | tamsynlin.noreply@github.com |
f5a1a1dcac141c083d4f67256fc0810c06be2697 | a6b0c0f404c251466542ca167ccf8beec040bfe3 | /6heap.h | 4a1c1692be0bb244d4cc55f049e72a359b5f5313 | [] | no_license | eric54205420/algorithms-5 | 9d76af885c3e4f43f15023291b380a9dbbe953d6 | d824fa1afdfa40bb279505324923cc256caaee26 | refs/heads/master | 2020-05-04T15:32:20.926052 | 2015-09-11T07:31:13 | 2015-09-11T07:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,898 | h | #ifndef TEST_HEAP_H
#define TEST_HEAP_H
#include "test.h"
/*
这里建立的是小根堆,元素存在vector容器中,根从下标为1的元素开始
*/
template <typename T>
class BinaryHeap {
public:
explicit BinaryHeap(int capacity = 100)
:array(capacity + 1), current_size(0) {}
explicit BinaryHeap(const vector<T>& items)
:array(items.size() + 10), current_siz... | [
"977709619@qq.com"
] | 977709619@qq.com |
a15ab23ad9f6b64cc0991d2f490680190124403f | c95c3d2d646a0790d54eba2ee3684d28fb833b40 | /day30/221.cpp | a0852ab210ea4037256bbe376e0376093aaadbbd | [] | no_license | loge1998/100-days-of-cp | a23efc2dd6e99fa4afedc2b685a65dae358da32d | f198702a78f0e83d1fa8914366b449f860ce55f6 | refs/heads/master | 2021-04-23T21:10:37.466905 | 2020-05-07T17:04:34 | 2020-05-07T17:04:34 | 250,005,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | class Solution {
public:
int maximalSquare(vector<vector<char>>& matrix) {
if(matrix.size()==0)
return 0;
int n = matrix.size();
int m = matrix[0].size();
vector<vector<int>> dp(n,vector<int>(m,0));
int maxVal = 0;
for(int i=0;i<n;i++)
{
... | [
"logeshbalu1998@gmail.com"
] | logeshbalu1998@gmail.com |
b9358f45fc7389258c3430fd6438c75b38bdf10e | 26d75381b9729abfa8732e6a232f9ae9d503f147 | /src/amount.h | f0f618ea0381a8b032f69ba4f1451ece254019bb | [
"MIT"
] | permissive | admecoin/philscurrency | c20f1f81f418325e1704dd44ada639a4d8f47dcb | e1f52af1b8b6038fd650f62637592321f42463aa | refs/heads/master | 2020-03-09T03:49:27.954413 | 2019-10-29T18:15:26 | 2019-10-29T18:15:26 | 128,573,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,090 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_AMOUNT_H
#define BITCOIN_AMOUNT_H
#include "serialize.h"
#include <s... | [
"philscurrency@gmail.com"
] | philscurrency@gmail.com |
547dcb5e7b26c3d135a3494b79beb384c77ad2a6 | 4bad19f2b4675fad95d21ae8416ff81cb71d5181 | /贪心/55_跳跃游戏.cpp | 1b4b8bd42eb24c0665976d2842b97fe8b2be80df | [] | no_license | cachefish/LeetCode | 39552f93cc2b1bd7fd1dfbb372178868ddda212d | b0bf78a5e3d1e19d1a0575ce6f0238672779ffcb | refs/heads/master | 2022-12-08T04:46:20.283970 | 2020-08-15T07:18:23 | 2020-08-15T07:18:23 | 275,514,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | /*
55. 跳跃游戏
给定一个非负整数数组,你最初位于数组的第一个位置。
数组中的每个元素代表你在该位置可以跳跃的最大长度。
判断你是否能够到达最后一个位置。
示例 1:
输入: [2,3,1,1,4]
输出: true
解释: 我们可以先跳 1 步,从位置 0 到达 位置 1, 然后再从位置 1 跳 3 步到达最后一个位置。
*/
#include<vector>
using namespace std;
class Solution {
public:
bool canJump(vector<int>& nums) {
vector<int> index;
for(int i ... | [
"780207419@qq.com"
] | 780207419@qq.com |
2b330db652746e8cdb4b5d4c8da6dc7ce7cf7f4d | 29c037f0e5f69d9caf2c72623ecdee4367fcba10 | /Dynamic_Programming/Knapsack/test01.cpp | 70fc31334f7e7cc7494d64b5d02e972d52b96702 | [] | no_license | Thebasic123/algorithms_in_CPP | 4b8645df2f275addffc48ec7dac08d4171cf8956 | 56f1af8cd8d142b48e331a4afc7b12a5bf76907d | refs/heads/master | 2023-04-24T18:28:54.222187 | 2021-05-14T08:43:08 | 2021-05-14T08:43:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
#include <vector>
#include <utility>
int knapsack(int W, std::vector<std::pair<int, int>> vwp){
int n = vwp.size();
std::vector<std::vector<int>> dp( n+1, std::vector<int>(W+1));
for(int i=1; i < n+1; ++i){
for(int j = 1; j < W+1; ++j){
if(j>=vwp[i-1].second){
dp[i][j] = std::max(dp[i-... | [
"hufune@gmail.com"
] | hufune@gmail.com |
3f5839dfef96b15ab4dde99903f12f01fa74a177 | ebeade2609e56126da910684fd41085b85f981d3 | /Src/Chest.h | be0b940306d568abcd78696221ca5a3f662b496b | [] | no_license | patrickjamescarr/DirectX_Engine | 3364e3d68dffd9365cc781d1246038f242ad4044 | bf98fcb8708658e462eaa00e8e5f5c03a035cf49 | refs/heads/main | 2023-08-15T17:52:27.860256 | 2021-10-08T12:18:11 | 2021-10-08T12:18:11 | 345,572,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | h | #pragma once
#include "Mesh.h"
#include "PlayerCamera.h"
class Chest :
public Mesh
{
public:
Chest(
DX::DeviceResources& deviceResources,
DirectX::SimpleMath::Matrix scale,
DirectX::SimpleMath::Matrix rotation,
DirectX::SimpleMath::Vector3 position,
const MeshObject& che... | [
"carr.patrickjames@gmail.com"
] | carr.patrickjames@gmail.com |
0d3dce9ad9e7600ba9462225d8ee83ff256641f5 | 93b6722cd2e4f33d31281d0d79d6171d270be81a | /main.cpp | 3883a4dce10ba04ec281152e46cc7903b293dd6e | [] | no_license | pengliu916/SimpleFire | aff8c656d980d6a17421e3e30662533ea9b69893 | f8cd2017b70b3d70bc0dec6dde048c2233a3ce22 | refs/heads/master | 2021-01-23T06:45:03.694787 | 2013-09-20T04:38:59 | 2013-09-20T04:38:59 | 38,592,050 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,899 | cpp | #include "DXUT.h"
#include "DXUT\Optional\DXUTcamera.h"
#include "DXUT\Optional\SDKmisc.h"
#include "DXUT\Optional\DXUTgui.h"
#include "MultiTexturePresenter.h"
#include "SimpleFire.h"
#define SUB_TEXTUREWIDTH 1024
#define SUB_TEXTUREHEIGHT 768
//----------------------------------------------------------------------... | [
"peng.liu916@gmail.com"
] | peng.liu916@gmail.com |
44233a7ec7c8532e777c45848429b3e89a12cf3c | 3a4b861cf0085953a6f58df2c63f8dfdfca75f84 | /ci/17_mergeSortedList.cc | a0d25f88d3323014337d69975557171b733115f8 | [] | no_license | ElvisKwok/code | f490c1acfb4025ff2dbe00e61379304f2526176f | b2d5560e7fc1f7e14ff3a7eb827282f2732d22a3 | refs/heads/master | 2020-04-15T17:31:37.265803 | 2016-05-09T13:57:42 | 2016-05-09T13:57:42 | 23,882,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,039 | cc | #include <iostream>
#include "utilities/List.h"
using namespace std;
// file description:
// merge two sorted list
// this algorithm is recursive
// corner case:
// 1. pHead1 == NULL, pHead2 == NULL
// 2. both contains one node
// 3. some nodes' value are equal.
ListNode* merge(ListNode* pHead1, ListNode* pHead... | [
"359619839@qq.com"
] | 359619839@qq.com |
0c371e73340255da3c55c5ace018bf4d39ef72ba | e2954063aac14aaf0f7aa2778f6aa8c162fbd919 | /inventorychange.cpp | c56b586d0bc2cca3bc687c5ff2fe2052ddad85d3 | [] | no_license | RrodGtHb/newGitTest | 054b96638c0620b32b3828f7340ec24ca31eaf1b | 169d6eca485a41e39b8f834b20b27cec7666e6ac | refs/heads/master | 2021-05-04T10:34:18.663259 | 2016-08-16T18:21:23 | 2016-08-16T18:21:23 | 54,262,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include "inventorychange.h"
#include "ui_inventorychange.h"
InventoryChange::InventoryChange(QWidget *parent) :
QDialog(parent),
ui(new Ui::InventoryChange)
{
ui->setupUi(this);
}
InventoryChange::~InventoryChange()
{
delete ui;
}
| [
"reyronald19@hotmail.com"
] | reyronald19@hotmail.com |
0686274ea119518953b96cccabc88f385fd51118 | 28082d0e84ce6fbfc362f4c4266e6c7625322fe7 | /src/ljevent.h | 7df89863356c7e5ddf1a19ac09c2d2dd15383b38 | [
"MIT"
] | permissive | Maledictus/harbour-mnemosy | 8ce84104510ec5756ac40d5ff1c6d820780ef4c8 | d5fdc5fb3a23e82afede51f0390b77f0459a9d4d | refs/heads/master | 2020-04-12T01:20:26.317557 | 2018-06-09T17:44:12 | 2018-06-09T17:44:12 | 62,672,675 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,113 | h | /*
The MIT License (MIT)
Copyright (c) 2016-2018 Oleg Linkin <maledictusdemagog@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ri... | [
"MaledictusDeMagog@gmail.com"
] | MaledictusDeMagog@gmail.com |
e82e0366a87a8e4a7adce95d1a60c8bc53f01bf0 | 51f6e63555b4fda6a620fb42952c5c1fa6eac706 | /chrome/browser/performance_manager/webui_graph_dump_impl_unittest.cc | e570e5114b0d7476b8c3149f20d0d13b2d8e51f4 | [
"BSD-3-Clause"
] | permissive | heanglightman/chromium | 6f74026b428317a28cbb1226d20d1116ed54dd2b | f561f3e0174135fcc555aad31f4adb845977b8bd | refs/heads/master | 2023-02-25T08:18:13.731198 | 2019-03-25T16:19:12 | 2019-03-25T16:19:12 | 177,623,917 | 1 | 0 | NOASSERTION | 2019-03-25T16:27:22 | 2019-03-25T16:27:22 | null | UTF-8 | C++ | false | false | 2,432 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/performance_manager/webui_graph_dump_impl.h"
#include "base/test/bind_test_util.h"
#include "base/time/time.h"
#include "chrome/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d30d52bb245fc305547c4a0116f262714125c4ac | 14b33f9027689a8422f0642f25e65152823b35a1 | /C++ program design/cpp files/exp4-4.cpp | 4ea57d5c142d28bbbd5aaae033b7688999173632 | [
"MIT"
] | permissive | duskmoon314/THU_homework | f224436ad3b3ed2e8accb22b5d3d0a54993b3f3c | 3ebd1f711009770f9803ebce4fa68e399461b685 | refs/heads/master | 2021-07-13T07:54:43.090423 | 2020-03-03T15:09:02 | 2020-03-03T15:09:02 | 155,978,876 | 1 | 1 | MIT | 2021-07-08T06:42:11 | 2018-11-03T11:59:14 | C++ | UTF-8 | C++ | false | false | 641 | cpp | #include <iostream>
#include <fstream>
using namespace std;
int main() {
int iChicken, iHen, iRooster, max = 1;
cout << "所求购买方案为:\n";
for (iRooster = 1; iRooster < 99; iRooster++) {
for (iChicken = 1; iChicken < 99; iChicken++) {
for (iHen = 97; iHen > 1; iHen--) {
if ((iChicken + iHen + iRooster == 100) &... | [
"duskmoon314@users.noreply.github.com"
] | duskmoon314@users.noreply.github.com |
820447d3d399facb2cd9fd08830499e540fcff6b | 7fd93c3f443ee857518f2cc6f65c8567ef98b184 | /src/delta_ik/main.cpp | df996c56070f819388849fa71d6e2ed4a2ef070e | [] | no_license | MonsterMaster007/ros-cga-kinematics | e3182cdc18532a34f16813db17781d86835f4cd9 | a8ec45189ca708a92c87ce92826023fd37bc3749 | refs/heads/master | 2023-01-14T02:17:49.630432 | 2020-11-04T04:42:44 | 2020-11-04T04:42:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,122 | cpp | #include <ros/ros.h>
#include <tf2_ros/transform_broadcaster.h>
#include <sensor_msgs/JointState.h>
#include <geometry_msgs/Vector3.h>
#include <geometry_msgs/TransformStamped.h>
#include <geometry_msgs/PoseStamped.h>
#include <urdf/model.h>
#include <algorithm>
#include <stack>
#include "constraint/constraint.h"
#in... | [
"zachalambert@gmail.com"
] | zachalambert@gmail.com |
701c113aef40e4f1e06c73d99eba6d61370e25bd | dd19107e9469e48ed00cec0dfb2fd2b84b7ca9ba | /D3D12_ModelAnimation/asdx/include/asdxCommandList.h | cf50a78df410e118d0b42c632d2345f623bbe38e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ProjectAsura/D3D12Samples | 75a1a3e205078d55d1b1e01177ee931f07f41c12 | b2e2803120a8d13c2d1b18c2dc58d935bb0ba127 | refs/heads/master | 2022-06-03T01:11:23.942399 | 2022-05-22T08:12:18 | 2022-05-22T08:12:31 | 72,711,525 | 17 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 6,455 | h | //-------------------------------------------------------------------------------------------------
// File : asdxCommandList.h
// Desc : Command List Module.
// Copyright(c) Project Asura. All right reserved.
//-------------------------------------------------------------------------------------------------
#pragma o... | [
"project.asura@gmail.com"
] | project.asura@gmail.com |
e911920e35b6c233a931693042b152abe5b84dca | 8318a1144be4872574ac1ceabd854f836e7362c2 | /Source/Entity.cpp | 54fc2476fca293f31e7102b37d782784ec952711 | [] | no_license | ValeryStatinov/Patterns_project | 239647f8adf62437acd94e6957f58de9c0173125 | be29148e817b8a1fb431174a613ee166fb44f9e1 | refs/heads/master | 2021-01-25T10:06:28.417815 | 2018-05-23T01:15:42 | 2018-05-23T01:15:42 | 123,339,860 | 0 | 0 | null | 2020-02-16T11:09:14 | 2018-02-28T20:40:26 | C++ | UTF-8 | C++ | false | false | 876 | cpp | #include "../Headers/Entity.h"
Entity::Entity() {
dir_ = right;
position_.x = 0;
position_.y = 0;
size_.x = 0;
size_.y = 0;
velocity_vector_.x = 0;
velocity_vector_.y = 0;
speed_ = 0;
animation_manager_.set_animation("stay");
}
void Entity::draw_entity(sf::RenderTexture &render_texture, float time) ... | [
"stv1k@stv1k-deb"
] | stv1k@stv1k-deb |
d1374849d1101b8687dd1d1b9e5bd253d3d228b7 | 5cfc51db04e750dd33c0953a72075fdef528834a | /ToonTanks/Source/ToonTanks/Pawns/PawnTurret.h | 7c7b709fd5502a4c4cb045661e49dd8c5269bb00 | [] | no_license | dgnewsom/Unreal_Engine_C- | 4db15d4123eb13cf0503abaaff9d57028d41a079 | a3a9cdbae25b32a963263a14ee5b297dcf6c6ddf | refs/heads/main | 2023-06-02T18:56:19.875100 | 2021-06-23T12:58:06 | 2021-06-23T12:58:06 | 373,844,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "PawnBase.h"
#include "PawnTurret.generated.h"
class APawnTank;
UCLASS()
class TOONTANKS_API APawnTurret : public APawnBase
{
GENERATED_BODY()
private:
UPROPERTY(EditAnywhere, BlueprintRea... | [
"danielgnewsom@gmail.com"
] | danielgnewsom@gmail.com |
8958f28c0ed1e1f25553e4af7f42f6b78bf3f820 | dc81c76a02995eb140d10a62588e3791a8c7de0d | /PTv3/PTStation/HistSlopeTrigger.cpp | df257933dd6974efcb28e7464c35e53b3e0cb50f | [] | no_license | xbotuk/cpp-proto-net | ab971a94899da7749b35d6586202bb4c52991461 | d685bee57c8bf0e4ec2db0bfa21d028fa90240fd | refs/heads/master | 2023-08-17T00:52:03.883886 | 2016-08-20T03:40:36 | 2016-08-20T03:40:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,187 | cpp | #include "StdAfx.h"
#include "HistSlopeTrigger.h"
#include "DoubleCompare.h"
#include "globalmembers.h"
CHistSlopeTrigger::CHistSlopeTrigger(const entity::TriggerItem& triggerItem)
: CTrigger(triggerItem)
{
Apply(triggerItem);
}
CHistSlopeTrigger::~CHistSlopeTrigger(void)
{
}
void CHistSlopeTrigge... | [
"zxiaoyong@163.com"
] | zxiaoyong@163.com |
58079e1d1543bbf96e30cdf2177911ea6958dbd5 | d9cfe5dd9bcbd5e168c780c0f4ede892b9e9df63 | /pfs-dom/include/pfs/dom/document.hpp | 82ea9711ddfd47feaf3dc5c631269def7a05dfb7 | [] | no_license | semenovf/archive | c196d326d85524f86ee734adee74b2f090eac6ee | 5bc6d21d072292dedc9aa4d7a281bc75a1663441 | refs/heads/master | 2022-05-30T11:04:17.315475 | 2022-04-27T03:33:56 | 2022-04-27T03:33:56 | 130,155,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,298 | hpp | #ifndef __PFS_DOM_DOCUMENT_HPP__
#define __PFS_DOM_DOCUMENT_HPP__
#include <pfs/string.hpp>
namespace pfs { namespace dom {
class document_impl;
class node;
class dom_implementation;
class doctype;
class document_fragment;
class element;
class text;
class comment;
class cdatasection;
class processing_instruction;
cl... | [
"fedor.v.semenov@gmail.com"
] | fedor.v.semenov@gmail.com |
2b03f54d561b597e9ac4e89760fe5df705e9b17f | 519bc1ddeb2128c7393d5e6262c282abe3983249 | /HW2_ConwaysLife/world.hpp | 2973003b3d225b4cdbf849383d9294da425f0026 | [] | no_license | listvin/4finomen | 6da45aba957f98de998a01af0c460968e04b31d8 | f043fd0bb0be5ab5cf4e8ce7a312fc49c135c183 | refs/heads/master | 2020-04-26T14:55:52.539208 | 2015-05-21T06:25:27 | 2015-05-21T06:25:27 | 31,102,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,832 | hpp | #include <iostream>
#include <fstream>
#include <cstdio>
#include <cassert>
#include <vector>
#include <algorithm>
using namespace std;
#define CUU "\u001B[1A"
#define CUD "\u001B[1B"
#define CUF "\u001B[1C"
#define CUB "\u001B[1D"
#define RESET "\u001B[0m"
#define GREEN "\u001B[32m"
#define RED "\u001B[31m"
#defin... | [
"fyodor-listvin@ya.ru"
] | fyodor-listvin@ya.ru |
bb558d18e758c2d758c50d370495e4e8d483c9dd | b8fb6c802cf4767f582b64aca4e05ab8df9b7cbe | /src/Memory/Arena.h | 08038f24a9b2b4229d266007bac099abda96a2ee | [
"MIT"
] | permissive | castly6/rainbow | 8bc82bbb6d2b1bae3b095a05c12b10f599267ae8 | 96d90b5a81e1fda09f5b570f6c972026d1b29f32 | refs/heads/master | 2020-05-30T11:27:39.773049 | 2015-12-22T16:21:24 | 2015-12-22T20:10:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | h | // Copyright (c) 2010-15 Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#ifndef MEMORY_ARENA_H_
#define MEMORY_ARENA_H_
#include <iterator>
#include <memory>
#include <new>
#include "Common/NonCopyable.h... | [
"tn0502@gmail.com"
] | tn0502@gmail.com |
ac66cfd3ce40aa52d98e7965d489d73dae9fb11e | 769a40e65649a3bd049ebad0bb58d57937282eaf | /Scans/ScanUtils/ScanState/IdleScanState.h | 9026380a6b50c887139c272d0455aa5d5a796044 | [] | no_license | ottocruyt/scan | 47d25ea1ee4dc2680f7cb0e2e6cc97d5fa9389c1 | 543ac0cbdc4c8d06b5339f9c23fd05b01c95049f | refs/heads/master | 2023-03-26T12:13:20.560681 | 2021-03-25T14:06:00 | 2021-03-25T14:06:00 | 341,096,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #ifndef IDLESCANSTATE_H
#define IDLESCANSTATE_H
#include "..\..\..\Globals.h"
#include <sstream>
#include <iostream>
#include <string>
#include "ScanState.h"
#include "SettingUpScanState.h"
class IdleScanState : public ScanState {
public:
IdleScanState();
~IdleScanState();
void start();
void stop();
};
#en... | [
"ottocruyt@gmail.com"
] | ottocruyt@gmail.com |
322ffd432ada890ae191adc16f359f221ebf5b1e | 85d2c76b8a646c4183fb095c2b5a2e2a916d70a8 | /solution/prefix_sum/21757/main.cpp | bc34c2db7cb4784482934fb8cbad9aa574fb3e09 | [
"MIT"
] | permissive | tony9402/baekjoon | 448213dcbdf74b58b6d87191ac54c286bad32f29 | 71f9bfc1f4ed66b97ffc0aff2d17389a095a7d11 | refs/heads/main | 2023-08-16T17:54:08.533578 | 2023-08-16T16:36:36 | 2023-08-16T16:36:36 | 200,492,112 | 4,828 | 1,230 | MIT | 2023-06-22T11:49:18 | 2019-08-04T12:48:59 | Python | UTF-8 | C++ | false | false | 835 | cpp | // Authored by : tony9402
// Co-authored by : -
// Link : http://boj.kr/421ce6bb00ca40709c15dc5df958d5f1
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAXN = 100000;
ll prefix[MAXN + 5];
ll L[MAXN + 5], R[MAXN + 5];
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int ... | [
"tony9402@naver.com"
] | tony9402@naver.com |
61c601948daefe3e27b3b8e6a15f7033f29b448b | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-directconnect/source/model/AllocatePublicVirtualInterfaceResult.cpp | 48309ba1082343282d7678debe45d3c833286d45 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
fb14d16bf4a01258d8d2b421a17bbb31b732c6c1 | c9eb7196339cc3b057877a2f8e057b84e145bb03 | /UVa514(Rails).cpp | 7393d8463eba2046d64ea71b97b888b8552fe54b | [] | no_license | LGHigh/Algorithm | af12b18284af38ce9cab31a244db9a6f571df95a | 097ebff72962028442577cb2a434b788c1ca38c7 | refs/heads/master | 2021-05-07T23:47:05.903308 | 2018-03-13T02:15:46 | 2018-03-13T02:15:46 | 107,564,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | #include <iostream>
#include <stack>
#include <vector>
using namespace std;
int main() {
int n;
while (cin >> n && n) {
int t;
while (cin >> t && t) {
stack<int>B, C;
B.push(t);
for (int i = 1; i < n; i++) {
int t; cin >> t;
B.push(t);
}
int ok = 1;
for (int i = n; i >= 1; i--) {
wh... | [
"1612895@mail.nankai.edu.cn"
] | 1612895@mail.nankai.edu.cn |
c561571db6574210da2f987f977c431f4a98b91d | 1c803d259e1f459426fdd62b5399f4c3a65a5291 | /6/list.cpp | fd648d8859359c76fd52453dc5741103d80231a6 | [] | no_license | CIS190/spring2020 | 3c13816718116b333d8ec9744fc19cde3e7661db | 3d58cefae7051e0adfa7159f6a83e439fe96bb14 | refs/heads/master | 2021-08-05T22:10:37.891693 | 2020-12-18T20:46:53 | 2020-12-18T20:46:53 | 230,176,647 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include <iostream>
#include <list>
using namespace std;
int main()
{
list<int> l;
l.emplace_front(2);
l.emplace_back(3);
l.emplace_front(1);
for (auto i : l)
cout << i << "\n";
}
| [
"paulhe@seas.upenn.edu"
] | paulhe@seas.upenn.edu |
b018af9891c3accffccdbf88cee60d9a7e8e069a | 702aa7364289f87d16e0fcbd163d648bd9cc4148 | /Languages/C++/hello-hacktober.cpp | e269db3897fdf8e5519b0d55018f93e92c7c3237 | [] | permissive | syyam/Hacktoberfest | f41cc5c1bafafb8fc4b577a4c34f58ca24d60e19 | d58c6289d27aca2c728a5095078e6bc623937c5e | refs/heads/master | 2022-12-30T23:37:52.748817 | 2020-10-06T09:21:27 | 2020-10-06T09:21:27 | 152,482,182 | 0 | 0 | MIT | 2018-10-10T19:59:15 | 2018-10-10T19:59:14 | null | UTF-8 | C++ | false | false | 74 | cpp | #include<iostream.h>
int main(){
cout<<"Hello Hacktober!";
return 0;
} | [
"manbir01@hotmail.com"
] | manbir01@hotmail.com |
d0950b14e685d383bb39b7979e0044d42022bf05 | b0b710e714a7c973099e05f990a90cdab86a6384 | /opencl/test/unit_test/command_stream/command_stream_receiver_hw_2_tests.cpp | d16e35fea1603026be2af3b1c7382f3579c63f21 | [
"MIT"
] | permissive | gvvynplaine/compute-runtime | b22bd8952d58ac916a7c2b52c8f52860d18687c3 | fd492f28b036f3fa1685ecfbef86e64f8c7e3d8a | refs/heads/master | 2023-01-06T20:44:37.674507 | 2020-10-14T13:40:57 | 2020-10-15T08:22:30 | 304,321,890 | 0 | 0 | MIT | 2020-10-30T12:32:37 | 2020-10-15T12:39:15 | null | UTF-8 | C++ | false | false | 67,711 | cpp | /*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/command_stream/scratch_space_controller_base.h"
#include "shared/test/unit_test/utilities/base_object_utils.h"
#include "opencl/source/event/user_event.h"
#include "opencl/source/helpers/cl_blit_propertie... | [
"ocldev@intel.com"
] | ocldev@intel.com |
9caae026035df092fd448e52c8799e18d3df2e79 | 09a45c64b3226272b2a061fa2191eec28ced99e9 | /C++/4.24/MultiWindow/Intermediate/Build/Win64/UE4Editor/Inc/MultiWindow/PCSceneCaptureComponent2D.generated.h | ef8dac86d5a016d11d63af9e0299090672405da1 | [] | no_license | serishan/UnrealEngine | d33d2e11da2a65109cc8da71e687b6f5db2b994a | bcd73ecd5993180e55d5b6d49cfd92d0edce448e | refs/heads/master | 2022-11-18T00:17:03.673752 | 2020-06-28T15:25:02 | 2020-06-28T15:25:02 | 275,609,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,587 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"qc3067@gmail.com"
] | qc3067@gmail.com |
a9f6e0597c829e79d09aa9c76961f8dd2a2d5e38 | f941477e317cfbc2e04946379f3d2c48427d5206 | /0713/miro.cpp | 0a4d7d2c85ad5c64ad2d76e681e364f7f885f124 | [] | no_license | SangHyeon/Algoritm-practice | 9167b90173dae3d1fd800eb037d0d0021e0022c0 | a435805198f20f001a8b3ba17d9f5d0dea84ed53 | refs/heads/master | 2020-12-29T02:44:39.873014 | 2017-04-13T13:39:14 | 2017-04-13T13:39:14 | 39,385,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | /*
VC, GCC에서 사용
*/
#include <iostream>
using namespace std;
char table[20][20];
int load[20][20]={0, };
void find(int n, int m,int N, int M) {
if(n+1 < N && (table[n+1][m] != '1')) {
if(load[n+1][m] > load[n][m]+1 || (load[n+1][m] == 0) ) {
load[n+1][m] = load[n][m]+1;
find(n+1, m, N, M);
}
}
if(n... | [
"sktkddusrj@naver.com"
] | sktkddusrj@naver.com |
457caaa0ef386b655d45a568224bc63a92b9775a | 3440f343301c534098b7d292878befe67d8a71a7 | /SceneMgr.cpp | 087b62c8227f7ec55c351260d285d8343eaa95e7 | [] | no_license | porygon3/MOUNT | 8ce33a3b7e3f1b1184b48bc770ee8bc2229b7b72 | 6d868ba8b64d059e86e870a28e80f1b0f1b3d37f | refs/heads/master | 2020-04-24T22:13:09.041532 | 2019-07-05T17:53:31 | 2019-07-05T17:53:31 | 172,304,343 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,225 | cpp | #include "DxLib.h"
#include "Select.h"
#include "Game.h"
#include "Title.h"
#include "Jacket.h"
#include "Result.h"
#include "Unlock.h"
#include "SceneMgr.h"
SceneMgr::SceneMgr(){
scene = new Title();
Initialize();
}
SceneMgr::~SceneMgr() {
Finalize();
delete scene;
}
void SceneMgr::Initialize... | [
"noreply@github.com"
] | porygon3.noreply@github.com |
4751748b6d1a3d3ab4c46168918af63a52b50199 | 9861baf0aff68fc9c4e13479b9accbb93dcb5428 | /src/effects/imageBeatEffectItem.cpp | c4bf18fa5139712fba6294bf32761eb27e45d4be | [] | no_license | Daandelange/karmaMapper | 9b36c0bd7244e6f1cb2feee07968eb11feff0d23 | 274b694f61d1a09e2e58c219d4232344ffceb49e | refs/heads/master | 2022-12-27T11:36:29.204878 | 2020-10-10T11:51:19 | 2020-10-10T11:51:19 | 18,294,275 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,013 | cpp | //
// imageBeatEffectItem.cpp
// workshopMappingCyril
//
// Created by Daan de Lange on 14/12/2014.
// Copyright (c) 2014 __MyCompanyName__. All rights reserved.
//
// tmp disabled
#ifdef KM_PLEASESKIPME
#include "imageBeatEffectItem.h"
imageBeatEffectItem::imageBeatEffectItem(basicShape* _shape) {
if(_shape==N... | [
"idaany@gmail.com"
] | idaany@gmail.com |
7180ad106a77dc8bfad2f8ce8fb331367136ee6e | 870bb58c90ed1fd80e448d7b5361a6c4233ab96b | /src/scene.hpp | 792d773b73840005eae99ac9d44b7d416e5534e6 | [] | no_license | LanJian/Raytracer | 421e483884e8bb961d2113d2183d7f2c305a72c0 | b1a923d33b1b97235ff68aefbcc3d491f0ccd56e | refs/heads/master | 2016-09-08T00:27:03.361236 | 2012-06-06T01:16:28 | 2012-06-06T01:16:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,039 | hpp | #ifndef SCENE_HPP
#define SCENE_HPP
#include <list>
#include "algebra.hpp"
#include "primitive.hpp"
#include "material.hpp"
class SceneNode {
public:
SceneNode(const std::string& name);
virtual ~SceneNode();
const Matrix4x4& get_transform() const { return m_trans; }
const Matrix4x4& get_inverse() const { ret... | [
"jackhxs@gmail.com"
] | jackhxs@gmail.com |
d2f0c748eb7822c0d31e79e601db22ac5756c95b | f1a6cdffb793d41d673a945133907334865f7b62 | /Codeforces/div2_A/CF677-D2-A_vanya and his friends.cpp | d06d3ff11015f373680aaac24062ec8e6f84a839 | [] | no_license | asrezoun/contest-programming | be4b263314e032e3a524eb4301a7d82229151237 | c77c47fa26b7ceb90cc37d248bf0897cc6dbac32 | refs/heads/main | 2023-04-21T02:01:03.794277 | 2021-05-06T10:43:05 | 2021-05-06T10:43:05 | 363,039,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include<cstdio>
#include<vector>
using namespace std;
int main()
{
int n,h,width=0;
scanf("%d %d",&n,&h);
vector<int>a(n);
for(int i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
for(int i=0;i<n;i++)
{
if(a[i]>h)
width +=2;
else
++width;
}
... | [
"abusaid.rezoun@gmail.com"
] | abusaid.rezoun@gmail.com |
87ca32220f060f8cbe407569ced73a8687b90c34 | 6303ec756d2c99cbcea7472341b90056065fdef5 | /ECS/ECS/Entity.h | 02ff1b985dabfcca6ddba5277cb50e572b6df2b1 | [] | no_license | MichaelBridgette/Games-Engineering-Labs | 69f49885e4c9d6f246974c9d2bfcee2117305c28 | c30ce632b888f63f27c2f27e8aa1301b7a392430 | refs/heads/master | 2020-03-29T16:00:41.945242 | 2019-03-11T12:55:13 | 2019-03-11T12:55:13 | 150,092,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #ifndef ENTITY_H
#define ENTITY_H
#include<vector>
#include"Component.h"
class Entity {
public:
int id;
Entity() {};
void addComponent(Component * c) { components.push_back(c); };
std::vector<Component *> getComponents() { return components; };
private:
std::vector<Component * > components;
};
#endif // !ENTI... | [
"c00205948@itcarlow.ie"
] | c00205948@itcarlow.ie |
8b45532b59e086d66fc59489d34c00f1ea5b0887 | 89378f005af9b78e850e097cba243b51e7460242 | /Data Structures/DS11/Project3/BinartSerachTree2.h | 2c32ba773c5869542011a4427861e2265ae42265 | [] | no_license | KevenTom/my_study_project | 5bf15ea24f20e76c1eb5ab1e3d7f1d607dacc6d6 | 1b49bcfca75612c68a2a061517fc2fd233e6f91c | refs/heads/master | 2023-01-21T08:30:36.813165 | 2020-12-02T18:13:34 | 2020-12-02T18:13:34 | 278,594,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,674 | h | #pragma once
#include "Binary_Tree.h"
#include "AVLRebalance.h"
#include<iostream>
template<typename T>
class BinartSerachTree :
public Binary_Tree<T>
{
public:
BinartSerachTree()
:Binary_Tree<T>()
{}
void test() {
int get = AVLRebalance<T>::instance().GetHightDiff();
std::co... | [
"zpqls1648@naver.com"
] | zpqls1648@naver.com |
6b78b2edfc7ac358303669082e5450fe6fb30172 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItem_DungeonEntrance_TekCave_Easy_classes.hpp | e0f8f207013885364e8d6c8cf234333906c68ba0 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_DungeonEntrance_TekCave_Easy_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
bd9e45dc8bd870af997ba0640b736682fa8d6ebb | a47a3506c59d861d1a9e2b6ada12fe4f8bf8a3e4 | /TutorialsUsed/ForLoopIteration/ForLoopIteration.ino | baa08fa77fffa70a667093409983c228575a3230 | [] | no_license | helloimali/ArduinoThings | 540c71c3887b8d8c772dcc4df5e744b767c96265 | 1c0726f6f69d334f42f0524c8ff8eecede0e1274 | refs/heads/master | 2021-01-10T10:05:03.898356 | 2017-02-25T06:21:05 | 2017-02-25T06:21:05 | 80,338,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | ino | // _ ___ _______ ___ ___ ___ ___ _ _ ___ _____ ___
// / |_ )__ / \ / __|_ _| _ \/ __| | | |_ _|_ _/ __|
// | |/ / |_ \ |) | | (__ | || / (__| |_| || | | | \__ \
// |_/___|___/___/ \___|___|_|_\\___|\___/|___| |_| |___/
//
// For Loop Iteration
//
// Made by Becky Stern
// License: Public Domai... | [
"toalisaeedmalik@gmail.com"
] | toalisaeedmalik@gmail.com |
0253a41c00dcdf2b19941024b9e5c0ac7abdf2d5 | 0b81f139cb54d3b6358a00f1a16efe6a5e754452 | /test/main.cc | f62c5d99c58f0c489e7d29d714eb7096374218e8 | [] | no_license | cjq/proxy | df3cef795ffc14a3d89ff6c003d0fbfb8db4101b | 659de55f7258edd7611b000264594660631528cc | refs/heads/master | 2020-03-12T17:02:58.376974 | 2018-04-15T15:32:16 | 2018-04-15T15:32:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cc | #include "../util/util.h"
int main(int argc, char **argv) {
ccflag::init_ccflag(argc, argv);
cclog::init_cclog(argv[0]);
cctest::init_cctest(argc, argv);
cctest::run_tests();
} | [
"1135628277@qq.com"
] | 1135628277@qq.com |
4b4d3d21cbde2bf15001aec797554a5efdb23b06 | ef3a7391b0a5c5d8e276355e97cbe4de621d500c | /venv/Lib/site-packages/torch/include/caffe2/operators/elementwise_ops.h | ab6f0e9988de8e14425b28a6642f95fec4cfceb1 | [
"Apache-2.0"
] | permissive | countBMB/BenjiRepo | 143f6da5d198ea6f06404b4559e1f4528b71b3eb | 79d882263baaf2a11654ca67d2e5593074d36dfa | refs/heads/master | 2022-12-11T07:37:04.807143 | 2019-12-25T11:26:29 | 2019-12-25T11:26:29 | 230,090,428 | 1 | 1 | Apache-2.0 | 2022-12-08T03:21:09 | 2019-12-25T11:05:59 | Python | UTF-8 | C++ | false | false | 16,724 | h | #ifndef CAFFE2_OPERATORS_ELEMENTWISE_OPS_H_
#define CAFFE2_OPERATORS_ELEMENTWISE_OPS_H_
#include <iterator>
#include <string>
#include <tuple>
#include <vector>
#include "caffe2/core/common_omp.h"
#include "caffe2/core/context.h"
#include "caffe2/core/logging.h"
#include "caffe2/core/operator.h"
#include "caffe2/core... | [
"bengmen92@gmail.com"
] | bengmen92@gmail.com |
b7e7cb9af082bda9c64a5a888192b148e8f09436 | 0641d87fac176bab11c613e64050330246569e5c | /branches/claireho/timezone/source/i18n/coll.cpp | d35a7d1c47cd328b9ce8e18a82d2169fd694e61b | [
"LicenseRef-scancode-unicode",
"ICU"
] | permissive | svn2github/libicu_full | ecf883cedfe024efa5aeda4c8527f227a9dbf100 | f1246dcb7fec5a23ebd6d36ff3515ff0395aeb29 | refs/heads/master | 2021-01-01T17:00:58.555108 | 2015-01-27T16:59:40 | 2015-01-27T16:59:40 | 9,308,333 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 27,579 | cpp | /*
******************************************************************************
* Copyright (C) 1996-2011, International Business Machines Corporation and
* others. All Rights Reserved.
******************************************************************************
*/
/**
* File coll.cpp
*
* Created by: Helen... | [
"claireho@251d0590-4201-4cf1-90de-194747b24ca1"
] | claireho@251d0590-4201-4cf1-90de-194747b24ca1 |
d9409e83ba3cafef5c8b2d98590a2e92a9f254f6 | 3b0dc93b88bb8043bcab2c7b3f1d7be64a58db25 | /sketch_feb08c_pwm/sketch_feb08c_pwm.ino | 356b21a153acd10575d6cb358c01d4ed62a75092 | [] | no_license | nikparam/arduino_stuff | 401e552358cae43fb18f7caf56fe74ad9b22236f | a3e7c73ee55f9adb797088269428408b2fe48f59 | refs/heads/master | 2021-05-02T09:09:31.265159 | 2018-02-08T21:07:37 | 2018-02-08T21:07:37 | 120,817,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | ino | int LEDpin = 9;
void setup() {
pinMode( LEDpin, OUTPUT );
}
void loop() {
for( int i = 0; i <= 255; i++ )
{
analogWrite( LEDpin, i);
delay(10);
}
delay(1000);
for( int i = 255; i >= 0; i-- )
{
analogWrite( LEDpin, i);
delay(10);
}
delay(1000);
}
| [
"nikparam@yandex.ru"
] | nikparam@yandex.ru |
7e335fe1a0f59a6d1d5294f333878d2f019fb083 | ee1820f94178fdfa93eceb6dd2cb9b9d9c95b72a | /ITSA/C_OT13.cpp | 324ef54a2c5dd18f255fb69d94c3881e882fb558 | [] | no_license | asd0012/ITSA | 3a2f6c8a829c08d49ac0be951514f1bd2ee47989 | 05879bf4c13db4c75588b8135942bda8bbcc0456 | refs/heads/master | 2020-06-07T08:05:21.205082 | 2019-06-21T02:56:59 | 2019-06-21T02:56:59 | 192,969,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
int main()
{
float x1,x2;
float y1,y2;
//freopen("input.txt","r",stdin);
cin>>x1>>y1;
cin>>x2>>y2;
cout<<(y1-y2)/(x1-x2)<<endl;
return 0;
}
| [
"noreply@github.com"
] | asd0012.noreply@github.com |
9df454f540d88bc174eddad5c6079ec6dfbd4923 | b48cc66bf4f5a173338e42ba02245da043e71ce7 | /LuoguCodes/CF784F.cpp | f45efa4eb51331917f68773070ab1ab2bea40bea | [
"MIT"
] | permissive | Anguei/OI-Codes | 6f79f5c446e87b13c6bffe3cc758c722e8d0d65c | 0ef271e9af0619d4c236e314cd6d8708d356536a | refs/heads/master | 2020-04-22T22:18:14.531234 | 2019-02-14T14:24:36 | 2019-02-14T14:24:36 | 170,703,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | //【CF784F】Crunching Numbers Just for You - 洛谷 - Uk
#include <chrono>
#include <thread>
#include <vector>
#include <iostream>
#include <algorithm>
int main()
{
int n;
std::cin >> n;
std::vector<int> v;
for (int i = 1; i <= n; ++i)
{
int t;
std::cin >> t;
v.push_back(t);
}
std::sort(v.begin(), v.end());
lo... | [
"Anguei@users.noreply.github.com"
] | Anguei@users.noreply.github.com |
cebb91591cec78f102b8dd282bb4e64ec7358df9 | 3cc5872c4c534ccd0349d34e860ff41a8c072e90 | /hw_2/main.cpp | f722882a08a2515fe62cf30e0ce367645ffde064 | [] | no_license | bear24rw/EECE6086 | 253f2be5f25f06c9748384ad33936f4ad3608d01 | 3b25ed6951514fbb91fab47300c5a213fe62f555 | refs/heads/master | 2021-01-10T19:11:41.214890 | 2014-04-19T03:43:22 | 2014-04-19T03:43:22 | 17,157,280 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,001 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include <string.h>
#include <fstream>
#include <algorithm>
#include <string>
#include <ctime>
#include "main.h"
#include "place.h"
#include "route.h"
#include "magic.h"
#include "svg.h"
#include "report.h"
int num_nets;
int num_cells;
std::s... | [
"bear24rw@gmail.com"
] | bear24rw@gmail.com |
068148f3a18602bc9e995c4435c3f295a719912e | 678fe6c52cf30a7a7881090978f97ef8c89f1ad3 | /generator.hpp | dae58c5cb596c9ba6ea993f72468b2b14b6d0bb3 | [] | no_license | jm-boley/python_equivs | 89d57cf98be7c2820554859dfd9a4012c789d56e | d0439d0d0893f94c6f587fc19c649140d850d155 | refs/heads/main | 2023-01-13T00:32:04.548032 | 2020-10-23T20:47:36 | 2020-10-23T20:47:36 | 306,742,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,666 | hpp | #ifndef PYGEN_H_
#define PYGEN_H_
#pragma once
#include <functional>
#include <iterator>
#include <utility>
#include <type_traits>
#include <memory>
#include <chrono>
#include <random>
#include <exception>
namespace PythonicUtils {
template <typename _Rs>
class GenIter;
template <typename _Rs>
class Generator
{
... | [
"noreply@github.com"
] | jm-boley.noreply@github.com |
f3648ea5d94db5ee37e52b1e79484b9db3b5e4b5 | e0234d89a6f7890a8afd8cca3a87395aafd895bc | /fluid_vis/fluid_vis/BaseException.h | 6322de710ff5217a308364ea17864cfb3a1b64f0 | [] | no_license | piotrekjanisz/master_thesis | 175ef08e09cff6a5bb1ab0b997565ae146d10e55 | 91e86153f2b096f076042114bd27294be2cc16bb | refs/heads/master | 2020-05-17T10:43:49.708325 | 2011-07-06T12:19:13 | 2011-07-06T12:19:13 | 1,629,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #pragma once
#include <exception>
#include <string>
class BaseException : public std::exception
{
std::string _msg;
public:
BaseException(const std::string& msg);
virtual ~BaseException(void);
virtual const char* what() const throw() { return _msg.c_str(); }
};
| [
"Piotrek@.(none)"
] | Piotrek@.(none) |
8eae636bd7dbe1c24aac60e0937c80387f808af9 | bb2d45152b6fc2ebe9d1a264175369f75fb5d024 | /Arcane/src/Arcane/Vendor/renderdoc-1.x/renderdoc/driver/d3d12/d3d12_debug.cpp | ea9bb677a7e70ca0edb781bac2a199aed6e05028 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Ershany/Arcane-Engine | b719930e7538dcb99185fa31e0255fd2d2b2383b | 94ae49d04359bb79916f61fe7c2130939f88f49d | refs/heads/master | 2023-07-27T04:38:23.753293 | 2023-07-23T22:13:48 | 2023-07-23T22:13:48 | 66,559,567 | 492 | 42 | MIT | 2023-07-15T12:33:51 | 2016-08-25T13:20:39 | C++ | UTF-8 | C++ | false | false | 83,236 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2022 Baldur Karlsson
*
* 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... | [
"bradyjessup@hotmail.com"
] | bradyjessup@hotmail.com |
63e64ab93b2d5c5bf70eabe37cdf79f4ee6b4961 | 539080b0a026f8888ffab7c43f11223310369395 | /src/RcppExports.cpp | b8c27e9e1282b060fae1979bfbfa5e8c3bc51306 | [] | no_license | shortyatz/Nlopt-and-Rcpp | b87601d6f4b422f4a29481d2aa6e9e6be0a932f4 | fc03d14db42bb306af63c52e97b205962d276eb7 | refs/heads/master | 2020-03-26T17:45:12.145857 | 2018-08-18T00:35:52 | 2018-08-18T00:35:52 | 145,178,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// test
double test();
RcppExport SEXP _nloptCppTest_test() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGS... | [
"shortykatz@gmail.com"
] | shortykatz@gmail.com |
948e53a1357edea8032fade26f9cf01b21ccac41 | 97a019b52a56cfd16cd7c4dbb730e83c581d2b3e | /Archived/Research/GeneralizedCapturePoint/gcp.h | e69672f6a41072fccea20b365a065ce7fdcaa00a | [] | no_license | nalinraut/high-level-Motion-Planning | f0263dcfa344b914159b0486370bc544552ac360 | 08cd792124defba63583ba6ae6394b20329d38c0 | refs/heads/master | 2020-03-09T04:20:12.846801 | 2018-04-09T06:11:29 | 2018-04-09T06:11:29 | 128,585,159 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,566 | h | #ifndef GENERALIZED_CAPTURE_POINT_H
#define GENERALIZED_CAPTURE_POINT_H
#include <stdlib.h>
#include <vector>
namespace GCP {
typedef double Real;
class Vector2
{
public:
Vector2();
Vector2(Real x,Real y);
Real x,y;
};
class Segment
{
public:
///Sorts the endpoints in increasing / decreasing x component... | [
"rautnalin@gmail.com"
] | rautnalin@gmail.com |
9f7b7b1f0cf7e0939f00932f5e0405dfb4555a8d | 597964e09d6d2b6fd58055fb81caa1db08d0832c | /seedwires.h | 4ee5e18ea0bcab0b998db57cffe6be325ec554f6 | [] | no_license | danilapal/Lr3_Pavlov_Alg | 88486b680f9ebfcf5f3fad477f829e57e1f42ecd | de8fdf0b2110f8826440ed484732a37fac5bbedc | refs/heads/master | 2021-01-20T00:30:29.419963 | 2017-04-29T17:49:17 | 2017-04-29T17:49:17 | 89,144,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,353 | h | #ifndef SEEDWIRES_H
#define SEEDWIRES_H
#include <iostream>
#include <vector>
#include <math.h>
template <class T>
T countS (const std::vector<std::vector<T>> &distance,const std::vector<std::vector<T>> &wires,std::vector<T> place) {
// std::cout<<"countSS placeSize"<<place.size()<<std::endl;
//for (unsigned i=0... | [
"danilapal@mail.ru"
] | danilapal@mail.ru |
0b45bfd61a96be74834caf2d8a7518c4cd195b30 | 073f047d6a2f6648167729dac46a4a970f09d59e | /mainwindow.h | 9ca1d87a3f84015a56eac9eefc40345663bbbaa7 | [] | no_license | alexliu2360/IndoormapEdit | a9bea563745fac07a7898b894de05afe93fea12c | 5c487fce8bdd67f03630309c90786c18d9315795 | refs/heads/master | 2020-05-04T01:54:16.746993 | 2019-04-01T09:59:31 | 2019-04-01T09:59:31 | 178,916,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QListIterator>
namespace Ui {
class MainWindow;
}
class DocumentView;
class PropertyView;
class Feature;
QT_FORWARD_DECLARE_CLASS(QTreeView)
QT_FORWARD_DECLARE_CLASS(QPrinter)
QT_FORWARD_DECLARE_CLASS(QCloseEvent)
QT_FORWARD_DECLARE_CLASS(Q... | [
"906_100009053356_alexliu2360@git.cloud.tencent.com"
] | 906_100009053356_alexliu2360@git.cloud.tencent.com |
89add5d13b9da71887be880cda3b253fb0a7087b | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/fluid/distributed/ps/table/ctr_dymf_accessor.cc | 4824ab8946b9d03c922318b95c81a21897f15f94 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 12,736 | cc | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
eb533d1b00318226d1a132c355d4017b9cdc26ad | f06394eb49f055ce3a51c93eb56249350d64ddbb | /tests/generation-tests/kdm/event/ConsumesEvent.hpp | 98577bf518b411f5327c12b91c5cb817b7ba4b65 | [] | no_license | happyj/e4c | a3c6eb523cf1d346a73b138c45a6cdfc83766710 | 59646a43d50749ddfc983e9a1f3a3c70fc5eb218 | refs/heads/master | 2020-03-26T05:15:09.814976 | 2014-02-22T11:20:12 | 2014-02-22T11:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | hpp |
#ifndef EMF_CPP_KDM_EVENT_CONSUMESEVENT__HPP
#define EMF_CPP_KDM_EVENT_CONSUMESEVENT__HPP
#include <kdm/event/fwd.hpp>
#include <kdm/event/meta.hpp>
#include <kdm/event/AbstractEventRelationship.hpp>
#include <e4c/mapping.hpp>
namespace kdm
{
namespace event
{
class ConsumesEvent : public virtual ::kdm::event::A... | [
"andres@senac.es"
] | andres@senac.es |
506154e53dd0b512585df088521088756867c588 | c62710853eaaaaa554fe2ef348db1b615ec814fb | /c/lufuxing/chapter03/p108_1.cpp | b5b78d35a6bb782895808a84e5bde70892eddad1 | [] | no_license | CodingWD/course | e38d75871e17627d1ce24beef6700ef65e606640 | e80eeba61be9c0960002259a452babce44ee84a1 | refs/heads/master | 2023-04-06T21:47:54.940420 | 2021-04-15T10:25:30 | 2021-04-15T10:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include<iostream>
#include<ctime>
#include<cstdlib>
using namespace std;
int main()
{
const int sz=5;
int a[sz],b[sz],i;
srand((unsigned) time (NULL) );
for(i=0;i<sz;i++)
a[i]=rand()%10;
cout<<"系统数据已经生成,请输入您猜测的5个数字(0-9),可以重复:"<<endl;
int uVal;
for(i=0;i<sz;i++)
if(cin>>uVal)
b[i]=uVal;
cou... | [
"15803824671@163.com"
] | 15803824671@163.com |
624967001c2f4ed8db4ffe0114e92a8d1263c687 | 334558bf31b6a8fd3caaf09c24898ff331c7e2da | /GenieWindow/plugins/GeniePlugin_Wireless/QGenieConfirmMessageBox.cpp | 7d9ee03d9964f64b0d9ab9217c8f8826a147ff07 | [] | no_license | roygaogit/Bigit_Genie | e38bac558e81d9966ec6efbdeef0a7e2592156a7 | 936a56154a5f933b1e9c049ee044d76ff1d6d4db | refs/heads/master | 2020-03-31T04:20:04.177461 | 2013-12-09T03:38:15 | 2013-12-09T03:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | cpp | #include "QGenieConfirmMessageBox.h"
#include "GeniePlugin_Wireless.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
QGenieConfirmMessageBox::QGenieConfirmMessageBox(QWidget *parent) :
GeniePopupDialog(parent)
{
m_ok_btn = new QPushButton(this);
m_no_btn = new QPushButton(this);
m_prompt_lb = new... | [
"raylq@qq.com"
] | raylq@qq.com |
378c0d1baf11dec1f0806c83aed66519b03f1b21 | a602297469e640a846c0e07b022fbd254bd06ec9 | /C/src/server-copy.cc | dc21d91b4f0f6661fd81bc23a27f7b41aa08ef03 | [] | no_license | bill-rui/Streaming | aa93b8439f1d86492f5edf987e180ae2d52286fc | 0a94a2689854017f489a02132666e6746ad3aaed | refs/heads/master | 2023-06-27T00:04:14.389869 | 2021-08-03T22:55:21 | 2021-08-03T22:55:21 | 387,906,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,503 | cc | #pragma clang diagnostic push
#pragma ide diagnostic ignored "EndlessLoop"
#include "server.h"
#include "signal_handler.h"
#include "udp_client.h"
#include "udp_server.h"
#include <iostream>
#pragma clang diagnostic push
class StreamReceiver{
private:
UDPServer server;
UDPClient sender;
SignalHandler signal_ha... | [
"74115078+bill-rui@users.noreply.github.com"
] | 74115078+bill-rui@users.noreply.github.com |
c5a57f80316ceef8e759e419df3f4202b0abdda5 | 9c310296d6b2a75d9af3a45579bc3c249a7ed7e9 | /src/RpcExt/StubBufferMap.cpp | 74b9c182b14cc56678ffb7272dd78af04ffb6049 | [] | no_license | temp1352/rpcext | 836abfe0c76564462bd9d50a7211e7aad8dba475 | 94db5a343d86af8808f876bfad45cdf9afd82a75 | refs/heads/main | 2023-07-18T07:12:54.845469 | 2021-09-12T10:10:09 | 2021-09-12T10:10:09 | 404,338,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,295 | cpp | #include "StdAfx.h"
#include "StubBufferMap.h"
#include "RpcExt.h"
#include "HashMap.h"
#include "InterfaceMap.h"
RpcStubBuffer::RpcStubBuffer()
{
_logFile.Write(LogCategory::Misc, LogLevel::General, LogOption::Std, "RpcStubBuffer::RpcStubBuffer");
m_ref = 0;
m_hash = 0;
m_conected = false;
m_pRawBuffer = nul... | [
"temp1352@live.com"
] | temp1352@live.com |
d4e324267bce05f83b289a303f28a64e3696fa0c | fe8970bd7e24924bb6a696cae83cb3d781ee8881 | /src/crypter.cpp | 52708b34b2f4a80b84804f7bc37c2284dea2d730 | [
"MIT"
] | permissive | worldpaycoin/WPAY | 2fb48e59886e4acab842093e74cf5e5f10e2c9e1 | 51c2e7fc8c68bf108c44b46909efadfc27f4ce81 | refs/heads/master | 2021-06-09T02:33:49.090558 | 2021-04-26T10:26:11 | 2021-04-26T10:26:11 | 170,187,121 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,061 | cpp | // Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The ZillionFLUX developers
// Copyright (c) 2018 The WPAY developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypter.h"
#include... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
01702fb79167018c38b1a35259d1e54dbfe45edd | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/Halide/2016/4/DeviceInterface.cpp | 42cd86e8874b65ad2765a145373467ec0239469e | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 6,825 | cpp | #include "JITModule.h"
#include "Target.h"
#include "runtime/HalideRuntime.h"
#include "runtime/HalideRuntimeCuda.h"
#include "runtime/HalideRuntimeOpenCL.h"
#include "runtime/HalideRuntimeOpenGL.h"
#include "runtime/HalideRuntimeOpenGLCompute.h"
using namespace Halide;
using namespace Halide::Internal;
namespace {
... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
3d096d16f5d2c93cb592d4f9b49052403fe2f399 | c4891b64e7145dbf3ea14201919b4969dce54fb5 | /practices/cpp/level1/p11_Fighters/test.cpp | ccba73e0caa3f2cc72e01e907a4a088bb1e6211d | [] | no_license | qiaopengju/CCpp2017 | aedd1d457737f071cf385b22ea5b238da8c22976 | 2c81176cea6ec022f3dc0c53c0486bb0dac058c7 | refs/heads/master | 2021-06-18T16:15:10.500073 | 2017-06-23T12:23:44 | 2017-06-23T12:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <SFML/Graphics.hpp>
#include <iostream>
using namespace std;
sf :: RenderWindow window(sf :: VideoMode(500, 500), "a");
void play();
int main(){
while (window.isOpen()){
sf :: Event event;
while (window.pollEvent(event)){
if (event.type == sf :: Event :: Closed)
window.close();
}
play... | [
"holmesqiao@gmail.com"
] | holmesqiao@gmail.com |
fe85b5e8c2e51a0ce03603a13841ebfb50d63cae | 6889dcc1bd55c309d240142ccba5c979efe37399 | /tests/self-sufficiency/function_hpp.cpp | 2db7d910fb6388ab66b43d6e1ff3ca6f9d9d1501 | [
"MIT"
] | permissive | agnat/ncd | c6e8b3afa8de3228676d114be80b104f87b1e296 | 23c928d101dda3146f7a1701deab9ab00c9937b9 | refs/heads/master | 2021-05-07T09:32:11.528371 | 2017-11-22T00:38:47 | 2017-11-22T00:38:47 | 109,622,900 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | // Copyright 2017 David Siegel. Distributed under the MIT license. See LICENSE.
#include <ncd/function.hpp>
int main() { return 0; }
| [
"agnat@me.com"
] | agnat@me.com |
1d29bd58a79ed2291943600e9cf2735c9eefb97c | e363b63383c617acc55c5b43bd0fa524d9e64dff | /game/client/swarm/vgui/objectivepanel.h | ec5223522b0c9fd7233d6cb9fc19192723b07172 | [] | no_license | paralin/hl2sdk-dota | 63a17b641e2cc9d6d030df9244c03d60e013737d | e0fe36f0132b36ba9b1ca56aa10f888f66e9b2bf | refs/heads/master | 2016-09-09T22:37:57.509357 | 2014-04-09T13:26:01 | 2014-04-09T13:26:01 | 18,719,255 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | #ifndef OBJECTIVEPANEL_H
#define OBJECTIVEPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include <vgui_controls/Panel.h>
class C_ASW_Player;
class Label;
class ImagePanel;
// this panel is used during the briefing to show a particular objective name and image in the list on the left... | [
"ds@alliedmods.net"
] | ds@alliedmods.net |
8f816fdd0f48ba8982a1abce7f7575f781f03c9b | 47f24d8a8ddb142f7b24860052e2195aa1f3c6e8 | /Omni V1/mcp_can_2.h | 4e31d90b82bbda392cc148a3e8c27aa10ef49d3d | [] | no_license | mathbrook/learningCpp | f41a0652ed1a93d3549dee84466a7acfcdde43f2 | 894e93411748773fbf767db12cd0aa2e012c21e3 | refs/heads/master | 2022-03-06T12:38:02.803760 | 2022-02-22T16:08:05 | 2022-02-22T16:08:05 | 230,959,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,194 | h | #ifndef _MCP2515_H_
#define _MCP2515_H_
#include "mcp_can_2_dfs.h"
#define MAX_CHAR_IN_MESSAGE 8
class MCP_CAN
{
private:
INT8U m_nExtFlg; /* identifier xxxID */
/* either extended (the 29 LSB) */
/* or sta... | [
"mathos.brook@gmail.com"
] | mathos.brook@gmail.com |
bc6a4c84238040d0d74bc709d04ae215183a996d | baebe8a00a7b3aa662b8078bd000c424bb214cc6 | /src/geometry/triangle.cpp | 4275f4820c39c7ee4d4efb66cf6200356618e65c | [
"MIT"
] | permissive | jonike/lumen | 8ffd85f64018eba0d5adea401c44f740b6ea0032 | c35259f45a265d470afccb8b6282c8520eabdc95 | refs/heads/master | 2021-04-25T04:03:36.864204 | 2017-06-02T17:49:11 | 2017-07-15T00:10:37 | 115,495,859 | 2 | 0 | null | 2017-12-27T07:45:31 | 2017-12-27T07:45:31 | null | UTF-8 | C++ | false | false | 3,006 | cpp | #include <algorithm>
#include <cassert>
#include <sampler.h>
#include <triangle.h>
#include "nex\util.h"
namespace lumen {
triangle::triangle(const nex::matrix& world, const bsdf_ptr& bsdf,
const vertex& v0, const vertex& v1, const vertex& v2) :
geometry(world, bsdf),
normal(nex::cross(v1.posit... | [
"jeremy.adam.lukacs@gmail.com"
] | jeremy.adam.lukacs@gmail.com |
f182660832b5f8766bf5840de681c9adf8d051d5 | 6313406bb6dd2fdca60c31cbc77a32af11b19a78 | /uvaOnlineJudge/uva10755.cpp | 416e4e2e96bef465210742aa3fe40baa8fc931d0 | [] | no_license | jackschu/icpcPrep | 4b37a5fef24d5a2c3d4302c11ba4740c81da0272 | 755567da6d03c81587891bb0c02980dd932d8dfb | refs/heads/master | 2021-12-23T20:03:25.832857 | 2021-12-16T06:30:24 | 2021-12-16T06:30:24 | 127,687,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,087 | cpp | #include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstring>
#include <functional>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdint.h>
#include <unordered_map>
#i... | [
"js9pa@virginia.edu"
] | js9pa@virginia.edu |
870c3d7a01a50eb354b4b8b54c52314f91708db5 | 1faeffc0315846f3fc056a0dcb482d6ae89e6d38 | /PayPalRESTStore/PayPalRESTStore.Windows/MainPage.xaml.cpp | 2f9c9dbad341f7d9b7504446bf9a2923aa861b27 | [] | no_license | MavenRain/PayPalRESTStore | f2c2d676199e3e6138efd601c0128a508cc7077e | 1bcb5418dc6805cd4e8205b9ab05614ef567e7ee | refs/heads/master | 2016-09-15T20:18:06.449840 | 2015-01-06T06:53:11 | 2015-01-06T06:53:11 | 28,850,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | //
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
MainPage::MainPage()
{
InitializeComponent();
}
void PayPalRESTStore::MainPage::Button... | [
"v-oniobi@v-oniobi-1217.redmond.corp.microsoft.com"
] | v-oniobi@v-oniobi-1217.redmond.corp.microsoft.com |
2fb7b241a28797bab086b78b840f3cdbf87fe74e | 1e07d601e6fd3a9f38636d4f209b9f9a1a00d5bd | /TESTs/denso/LED_tikatika/LED_tikatika.ino | 9950e550a93ef1fb32fbfee883fc737801b765ba | [] | no_license | tockn/myArduinoProjects | b8d73a824c44b4e4578eaf640831d529284ce10c | a2a0ee54e8135624b207a35912a2bf56a3c0766b | refs/heads/master | 2020-03-20T05:10:31.446567 | 2018-06-19T12:53:34 | 2018-06-19T12:53:34 | 137,205,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | ino |
/*
* LEDの足が長い方ーArduinoの13番ピン
* LEDの足が短い方ーArduinoのGND
*/
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
| [
"takuto.sato.5g@stu.hosei.ac.jp"
] | takuto.sato.5g@stu.hosei.ac.jp |
acf16db2e9bb91c81e0bc5775442da2a78a6ae5a | 75b7c38dbc490fb5f5c929687ebdd59b481a73e5 | /src/imageprocess/ImageDeskew.h | 434df3c57e49462104e466b2a97936d4c36697ae | [] | no_license | wxjwz/ocrstyle | bcd457ae60a3696e518d3edefc69c6e540e3681c | 537a7385d1acf26dbffff7c0d4e952d7c685b7af | refs/heads/master | 2020-03-17T09:09:15.925954 | 2019-11-19T05:33:12 | 2019-11-19T05:33:12 | 133,463,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,334 | h | // Copyright 2013, Zaoqibu Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions... | [
"vwarship@163.com"
] | vwarship@163.com |
b6b50b630a02eb988b513a84dc36562e98496bbc | 6a7007918e745bc623129cf1d0ab7e5ce046730f | /astro/PCDM.h | b7c3abd580a6ac18a967bc87b6337fcbab8efe60 | [] | no_license | LarsFlaeten/astro | c0ded9ac68556ef9075dd450f0e48df6c5fbf742 | a2a9f5e482b19509dd21c8861d4a23965ab655b7 | refs/heads/master | 2021-04-28T01:09:04.821478 | 2019-08-06T18:00:57 | 2019-08-06T18:00:57 | 122,268,301 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | #ifndef _ASTRO_PCDM_H_
#define _ASTRO_PCDM_H_
#include <vector>
#include "Time.h"
#include "State.h"
#include "ODE.h"
namespace astro
{
// Implementation of the Predictor-Corrector Direct Multiplication algorithm
// by Zhao/van Wachem for numerical integration of rotation ODEs with quternions
// http://calliope.dem... | [
"lars.flaeten@gmail.com"
] | lars.flaeten@gmail.com |
af8bb1ebc526f5e64dcf4cb4c796cbc5147674b0 | 09907daaa32f79743ada4901d5de178932ab117d | /SERVER/ALM/NodeManagerIF.hpp | 34c399e79224e8dd5d3ee4cccc76f06337fb9c0f | [] | no_license | Ntels-sup/SRC_ATOM_BE | 64c6923d78e1db66cdd87dbf0c6f89d8f35db71e | cd9dc2d92314c20f4840b395761ea610bf28188e | refs/heads/master | 2021-01-19T06:27:42.768707 | 2016-06-14T00:23:05 | 2016-06-14T00:23:05 | 59,884,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | hpp | #ifndef __NODE_MANAGER_IF_HPP__
#define __NODE_MANAGER_IF_HPP__
#include <cstring>
#include <string>
#include <vector>
#include "CMesgExchSocket.hpp"
#include "AlarmDataDef.hpp"
class NodeManagerIF
{
public:
NodeManagerIF();
~NodeManagerIF();
bool Init();
bool Connect(const char * _ip, int _po... | [
"kslee@ntels.com"
] | kslee@ntels.com |
8d768860505f6d0ca1e58297969743a7b39715e2 | 20a3d5dd3e6af0a7d87ea79edbf0f817ec8b7166 | /src/plugins/Analysis/dirc_hists/DEventProcessor_dirc_hists.cc | 03071bbafb28c60b918bc227fc29c58d2ab047ab | [] | no_license | kading-che/halld_recon | 06b3350933b439cf27ca27639233868d054e514e | 29851f3ae1995e1ada58aba9eabce178e9ecf32a | refs/heads/master | 2021-10-18T21:03:48.222149 | 2019-01-16T00:56:23 | 2019-01-16T00:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,803 | cc | // -----------------------------------------
// DEventProcessor_dirc_hists.cc
// -----------------------------------------
#include "DEventProcessor_dirc_hists.h"
// Routine used to create our DEventProcessor
extern "C" {
void InitPlugin(JApplication *app) {
InitJANAPlugin(app);
app->AddProcessor(new DEvent... | [
"jrsteven@jlab.org"
] | jrsteven@jlab.org |
887f373ce659c96c9b6324d43635728e2bc38e22 | ec761bcc8a3c2fbc4554f6d36d81d13223e78974 | /include/nesl2c/AST/ExpBinds.h | ee09a4e0eb815d4cc889ea0066e1c41e3459450d | [] | no_license | tclin914/NESL2C | 63c254881a03fad67a0c007c2a0ccb70e68e842c | 1df2829c858d7a6f4e050af542b168fe7af9eb60 | refs/heads/master | 2021-01-01T05:52:53.906396 | 2017-08-22T02:26:10 | 2017-08-22T02:26:10 | 95,673,455 | 1 | 0 | null | 2017-07-06T02:00:10 | 2017-06-28T13:44:23 | C | UTF-8 | C++ | false | false | 538 | h | //===- ExpBinds.h -------------------------------------------------===//
//
// Tsung-Chun Lin <tclin914@gmail.com>
//
// Copyright (C) 2017, Programming Language and System Lab
//
//===--------------------------------------------------------------===//
#ifndef NESL2C_AST_EXP_BINDS_H
#define NESL2C_AST_EXP_BINDS_H
#i... | [
"tclin914@gmail.com"
] | tclin914@gmail.com |
9caec0308baadbe7236bec8b5cb9f6cd13e4ab3c | ffd817cb151f47704738ea3ae0d22d317a4da692 | /src/potential_perfect_ellipsoid.cpp | b5a0bad0f0517ed9106b07c272becbbba865683c | [] | no_license | alekseygenerozov/Agama | 427d99f56a2625ff752e3e968b8f1c28ff390472 | 42499dd5e222455c193409da23ca3a29956906e1 | refs/heads/master | 2020-06-28T16:07:48.264491 | 2016-12-03T03:49:37 | 2016-12-03T03:49:37 | 74,489,235 | 0 | 0 | null | 2016-11-22T16:00:56 | 2016-11-22T16:00:56 | null | UTF-8 | C++ | false | false | 3,040 | cpp | #include "potential_perfect_ellipsoid.h"
#include <cmath>
#include <cassert>
#include <stdexcept>
namespace potential{
OblatePerfectEllipsoid::OblatePerfectEllipsoid
(double _mass, double major_axis, double minor_axis) :
mass(_mass), coordSys(pow_2(major_axis)-pow_2(minor_axis)), minorAxis(minor_axis)
{
i... | [
"eugvas@lpi.ru"
] | eugvas@lpi.ru |
1576ca16c3f875393673fb744030e1f474518369 | be3f3c3e407ad5eba2a477a12c405adc02c106ac | /Games/Minesweeper/main.cpp | 42029fcfd9a73445d9c1ed293321e3f0e3003cb3 | [
"BSD-2-Clause"
] | permissive | asuperpower/serenity | ae7becc2012d53511c46958e72caff272501fe21 | acb7710a62886babd852f8d5e3294c85d1f8c5e6 | refs/heads/master | 2022-02-17T01:26:20.635287 | 2019-07-21T19:57:22 | 2019-07-21T19:57:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,817 | cpp | #include "Field.h"
#include <LibCore/CConfigFile.h>
#include <LibGUI/GAction.h>
#include <LibGUI/GApplication.h>
#include <LibGUI/GBoxLayout.h>
#include <LibGUI/GButton.h>
#include <LibGUI/GLabel.h>
#include <LibGUI/GMenu.h>
#include <LibGUI/GMenuBar.h>
#include <LibGUI/GWindow.h>
int main(int argc, char** argv)
{
... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
a4843f42b33e462123881ff99fcad293cf230b2f | 2f84d8c9868277f5aae4825f1f841734a9acc489 | /gym/100947/k.cpp | 0ab0e91f93d48bcd542a63e34523cfbfe9b8aed9 | [] | no_license | lkmtue/cp | 5a380f34427c4d4478355c88f88c1e19bae04f20 | 3915012f7bb20f8d18638e35ba20303483bc7a23 | refs/heads/master | 2021-01-10T08:14:15.982944 | 2016-09-18T15:27:00 | 2016-09-18T15:27:00 | 50,479,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define FOR(i, a, b) for (int i = (a); i <= (b); i++)
#define FORN(i, a, b) for (int i = (a); i < (b); ... | [
"lkmth1@gmail.com"
] | lkmth1@gmail.com |
52d1dc3c5530811003d9f24a41fd430eb4425ba3 | 5f6c47e58f4377423e1fa064ddeb92d02e17c967 | /2/server.cpp | 21297ec86926eb7df700a64624fc958094702c0f | [] | no_license | themostfreeboy/TCP | e38ffcb44da8d9460145c4d8b7b3116210028a9e | 541026531bbc68c279e4fa77f88dc5b8fb57cc47 | refs/heads/master | 2020-03-08T13:29:16.708134 | 2018-04-05T04:33:20 | 2018-04-05T04:33:20 | 128,159,176 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,769 | cpp | //server
//#include "stdafx.h"
#include <stdio.h>
#include <winsock2.h>
#pragma comment(lib,"ws2_32.lib")
int main(int argc, char* argv[])
{
//初始化WSA
WORD sockVersion = MAKEWORD(2,2);
WSADATA wsaData;
if(WSAStartup(sockVersion, &wsaData)!=0)
{
return 0;
}
//创建套接字
SOCKET sliste... | [
"361425474@qq.com"
] | 361425474@qq.com |
3683a089bacd61857c5ac67ee392f28e5d8c3c4a | 0202c7495ff3513cac263ed9efda87269cb5f49a | /hazelcast/src/hazelcast/client/spi/impl/ClientClusterServiceImpl.cpp | 444d30117ca6e80aa36c1a0537637e4d37f4f436 | [
"Apache-2.0"
] | permissive | dpwegener/hazelcast-cpp-client | 66ebf2aadd5c8ba63ceabca75485b1d554e4ede0 | 3b50b88f434fbc49e39c8b00601756233990c2a8 | refs/heads/master | 2020-03-19T04:38:18.089140 | 2018-06-01T11:36:42 | 2018-06-01T11:36:42 | 135,848,799 | 0 | 0 | Apache-2.0 | 2018-06-02T20:08:35 | 2018-06-02T20:08:35 | null | UTF-8 | C++ | false | false | 8,805 | cpp | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"noreply@github.com"
] | dpwegener.noreply@github.com |
4081e28a60df5ff890b70359191ec7b95ec810ca | b04a512a26e7f38d90c25346545f27ffe288cc98 | /Record.cpp | ac16dfc2653ef1c3ede83a7900668fb2a3af1c8e | [] | no_license | EverettMelanson/Covid-19_Visualizer | 8e2b9eb1654b58781b9da187950e21f223cc4006 | 58e336ee05caade08fbcf9803901077a0ac7b0a2 | refs/heads/main | 2023-04-06T17:06:23.972130 | 2021-04-12T15:08:39 | 2021-04-12T15:08:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | /*
Author: Everett Melanson
Description: Contains functions to pharse, sort, store and display covid-19 data
Date: October 7, 2020
*/
#include "Record.h"
//Constructor
Record::Record(std::string _name, std::string _code, int _newCases, int _newDeaths, int _newRecovery, int _totalCases, int _totalDeaths, int _totalReco... | [
"noreply@github.com"
] | EverettMelanson.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.