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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
234f0fe16235ce0ecea6f4a9ff6ab4f8e5141bdd | b7b78ff0e51257bb4d1669ab76c329f213795da1 | /NeHe Tutorials/lesson02/glwidget.h | 1dd540b5f616fcc69d63aaf1b2cff781d6522d5b | [] | no_license | peteristhegreat/qt-redbook-nehe-opengl | 67dcd95db5fa22e4c7cdd43392554be50e86ad2f | 8db5a02af7e480074effef481ee1b64628bce122 | refs/heads/master | 2021-01-22T19:26:11.518576 | 2015-03-03T15:58:18 | 2015-03-03T15:58:18 | 31,606,841 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 607 | h | /*
* This code was created by Jeff Molofee 1999
* And ported to C++/Qt4 by Wesley Stessens 2009
*
* Contact Jeff through his website: http://nehe.gamedev.net/
* Contact Wesley for port-specific comments: wesley@ubuntu.com
*/
#ifndef GLWIDGET_H
#define GLWIDGET_H
#include <QGLWidget>
#include <GL/GLU.h>
class G... | [
"peter.hyatt@gmail.com"
] | peter.hyatt@gmail.com |
dcf63439b8e6eb9bda8180715cc5cf0da0c95bc2 | dd6ad7444def2be540f006d42801bf1cb0187713 | /Source.cpp | b8487c006547a65a0e418428da58d645fea18a0f | [
"MIT"
] | permissive | bjomar/lilcppmtex | 7133f905dc6b1a37327e1c4d24f5cd3c5ffeaec6 | a2b609ae2d724b77a3712c790ac41c442d2eb8b5 | refs/heads/master | 2020-08-30T13:41:18.604467 | 2019-10-30T21:26:33 | 2019-10-30T21:26:33 | 218,394,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,616 | cpp | #include <iostream>
#include <vector>
#include <fstream>
//threading libs
#include <thread>
#include <future>
using matrix = std::vector<std::vector<int>>;
void printm(matrix& m) {
std::cout << "matrix is: " << m.size() << " x " << m[0].size() << std::endl;
for (size_t i = 0; i < m.size(); i++)
{
for (size_t j ... | [
"bm502101@fh-muenster.de"
] | bm502101@fh-muenster.de |
26b302f72d16ac6e6e0174cf0d5f5e12899b1805 | a463276ac63c97815d60730322497f608e9fec0f | /Deft/tags/start/src/Values.cxx | 63772dd97c4c657f3022d4955733c65572a54545 | [] | no_license | hjmjohnson/test_teem | 89507bcde1176c0ea757da008f185087546dc8ee | ba26af49236165dab8c6560a775bdbacc0a147e0 | refs/heads/master | 2021-03-19T02:44:41.769844 | 2020-02-14T12:32:40 | 2020-02-14T12:32:40 | 247,125,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,532 | cxx | /*
Deft: experiments in minimalist scientific visualization
Copyright (C) 2005 Gordon Kindlmann
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... | [
"nobody@3d70eeeb-363e-0410-a505-8a46323a89f2"
] | nobody@3d70eeeb-363e-0410-a505-8a46323a89f2 |
993dede10e1caefd0086df84919b840eaf961bf1 | 11704d7d8a7cf2c35550137794bab0c993f03348 | /src/cell.cpp | dcf5a0150c3b4062aee1d993c1d9585871791370 | [
"MIT"
] | permissive | guildenstern70/playground | 0a65dc69100fe2a8ee7b1313f333109882f70477 | 23d60933a378f5b062b9716011dd05a3f9f8fb05 | refs/heads/master | 2020-05-18T17:56:26.757990 | 2014-01-08T11:52:23 | 2014-01-08T11:52:23 | 15,733,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | /*
*
* CELL.CPP
* Cell class
*
* (C) Alessio Saltarin 2014
*
*/
#include "cell.h"
#include <string>
#include <sstream>
const char* Cell::tostring() const
{
ostringstream cell_representation;
cell_representation << "[";
cell_representation.width(2);
cell_representation << _x << ",";
cell_represen... | [
"alessiosaltarin@gmail.com"
] | alessiosaltarin@gmail.com |
8be66e9931dae4f63f02bbd750059b13bb6ae736 | ec11179770ec8e573267aed78bbd087affab841c | /labfeb14task2/labfeb14task2/personType.h | 35150fedda49867817f3aece1bbc87c525018796 | [] | no_license | jinxTelesis/cpp230 | 30d8cdd08744a791b9554bb702e260adb7e772b0 | 08aca6a293a3a80315993794b2dc071763b507aa | refs/heads/master | 2021-10-10T12:24:36.753746 | 2019-01-10T18:30:02 | 2019-01-10T18:30:02 | 121,046,545 | 0 | 0 | null | 2018-03-02T17:58:13 | 2018-02-10T19:24:21 | C++ | UTF-8 | C++ | false | false | 717 | h | #pragma once
#include <string>
using namespace std;
class personType
{
public:
void print() const;
void setName(string first, string last);
void setNameTest(string first, string last);
bool testName(string firstT, string lastT);
bool testName();
void setNameFir(string first);
void setNameLas(string last);
vo... | [
"dremon7@hotmail.com"
] | dremon7@hotmail.com |
0b22e2a6b1b43acab5afd693fa2c7cf77a4329a8 | 1825800f6cf66d299496ab66066f5f4786719ffa | /src/datagen.cpp | 6cdcc3063599661b0422b06dff068f065cfcfa64 | [] | no_license | mikgral/Master_thesis | e5aebe2b84b0efa3054a70e977877ae10eb16e69 | 5a5b750d3f9c69829aedad3ef88d89291e4899be | refs/heads/master | 2020-03-22T08:16:29.803632 | 2018-09-10T21:37:42 | 2018-09-10T21:37:42 | 139,756,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,216 | cpp | #include "performance.h"
void DataGenerator::performActionOnGeneratedData(const unsigned char &data_char, unsigned int index)
{
if (check_for_errors)
{
if (data[index] != data_char) errors += 1;
}
else
{
data[index] = data_char;
}
}
void DataGenerator::asic()
{
uint16_t amplitude = 0x123; // 16b
uint64_t ... | [
"mg@mg.com"
] | mg@mg.com |
f7fdc911893433702063d4abbca0a405af1c3f66 | 622df67006344be452e62f9b346ec438337f0cab | /codejam/qual21/score.cpp | 574af18234caae5a925cadaa3b04e178304ef065 | [] | no_license | arpu-nagar/Coding | 090981921cdeac70641fdb602ebfdad8b49d4867 | ec71c039784d423eae67b3a5c070c21117771edc | refs/heads/master | 2023-07-14T12:15:35.601131 | 2021-08-31T05:53:22 | 2021-08-31T05:53:22 | 252,650,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp |
// author: arpunagar
#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
typedef pair<int, int> pi;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<string> vs;
#define inv(v) \
for (auto &it : v) \
cin >> it;
#define MOD 1000000007
#define pb push_back
#define pop... | [
"arpnagar1@gmail.com"
] | arpnagar1@gmail.com |
3d004d6ee827e59dc71e492a6c51ac025d8961b2 | ac48be2df07d4d15314cbd32ea264cec50a0b8d4 | /examples/cellCollision/cellCollision.cpp | 8ac54ca5e9b32b16c96bc42f21f4cf5fa0b4240d | [] | no_license | jacktreado/cells | 7e69dea098e1e9d48385403acec4fab857e11cbf | f2ba418f045778e7544d51b7b5002d14a2d33396 | refs/heads/master | 2021-07-24T05:32:04.451302 | 2021-07-23T18:46:33 | 2021-07-23T18:46:33 | 207,389,696 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,396 | cpp | /*
Test .cpp file to test forces and print functions
on two cells colliding
*/
// include file
#include "deformableParticles2D.h"
// use std name space
using namespace std;
// define PI
const double PI = 4.0*atan(1);
int main(){
// local main variables
int i,t,d;
double postmp,veltmp,anew;
double dx,dy,dnor... | [
"john.treado@yale.edu"
] | john.treado@yale.edu |
56a330064fb116d02af0286e56c26faac5648268 | 546a7deec152e4ab8eea0a4dcd2b4901f4f7fba6 | /GraphicLibrary/src/Vertex.cpp | 200debb2fb1fad0cdbdff252924b6f3f39d99b09 | [] | no_license | pqin/GraphicLibrary | f63a59f7edfb4d71972db3a4611a14cb2592d06f | 8ab20f5783698c0e933a2dc05ec88523a00d6474 | refs/heads/master | 2022-08-19T02:51:01.935163 | 2020-05-21T20:32:03 | 2020-05-21T20:32:03 | 265,942,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include "Vertex.h"
VertexIndex::VertexIndex(){
p = 0;
n = 0;
t = 0;
};
VertexIndex::VertexIndex(GLint p1, GLint n1, GLint t1){
p = p1;
n = n1;
t = t1;
};
const VertexIndex VertexIndex::Zero = VertexIndex(0, 0, 0);
bool VertexIndex::operator==(const VertexIndex &b){
if (p == b.p &&
... | [
"pqin@users.noreply.github.com"
] | pqin@users.noreply.github.com |
e42d6ac6407af157ddb7d66517ee88635b6a2889 | e9d4022afb1f45ca699cf0dda806f7d935e7a9b0 | /include/odncrypto/group_arithmetics.hpp | a7c6f5f09e3405bb62efdccd62cc14c380d0ebae | [
"MIT"
] | permissive | adelapie/abe-fame | e4ae54f69c601333cb8b899a35bbf1b2400a063d | 22eec20493306a87334b25aa7b6efcde25bc6bdb | refs/heads/master | 2021-09-23T06:28:35.235759 | 2018-09-20T14:44:55 | 2018-09-20T14:44:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | hpp | //
// Created by abel walga on 02/05/2018.
//
#ifndef ODNCRYPTO_GROUP_ARITHMETICS_HPP
#define ODNCRYPTO_GROUP_ARITHMETICS_HPP
namespace odn {
namespace crypto {
class field_zr;
class group_g;
class group_h;
class group_gt;
class group_arithmetics {
public:
static void mod_div(field_zr "ient, const field_zr &... | [
"awalga@users.noreply.github.com"
] | awalga@users.noreply.github.com |
21a0a27d6b7bf5ca3694ed75ee1a1becf943b700 | e40dcc2d47bfece44c3f48afec601c2a91eb3a70 | /src/qt/miningpage.cpp | c40c71527dc18acf51ba331946ac21d3fa99d106 | [
"MIT"
] | permissive | jujum4n/dv8coin | 883dafd2fefecc40c22b87b999715be547c82809 | e524b597646cf3f7a3144979c0cd7300ffa52955 | refs/heads/master | 2021-01-25T06:37:00.076304 | 2015-09-16T16:11:44 | 2015-09-16T16:11:44 | 22,267,702 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,729 | cpp | #include "miningpage.h"
#include "ui_miningpage.h"
MiningPage::MiningPage(QWidget *parent) :
QWidget(parent),
ui(new Ui::MiningPage)
{
ui->setupUi(this);
setFixedSize(400, 420);
minerActive = false;
minerProcess = new QProcess(this);
minerProcess->setProcessChannelMode(QProcess::MergedCh... | [
"jujowned@Gmail.com"
] | jujowned@Gmail.com |
ca6de529f315260a57d3eb2c1f290b33fc49093e | 4e8af8a23d62f93089d01398b22f6b7421d647c1 | /LuaTool/runLuaComapre.cpp | 5ad238ec3e6c4d1b31614bd5d865ea46f136f7c1 | [] | no_license | mirufa1121/LuaTool | 5e396bafa3ae49a85ee9247c2b3500d73daf629d | 55e68fd1e65f8e7c3fa8eba8ecd8a00cea784158 | refs/heads/master | 2020-04-09T21:23:37.991444 | 2015-04-27T05:09:16 | 2015-04-27T05:09:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | #include "LuaTool.h"
#include "LuaCompare.h"
#include "LuaC.h"
#include "LuaDec.h"
#include "ManilaFile.h"
#include <iostream>
#include <iomanip>
#include <map>
#include <string>
using namespace std;
void LuaTool::printLuaCompareUsage(string message)
{
cout << endl;
if (message != "")
cout <<"*"<<... | [
"viruscamp@gmail.com"
] | viruscamp@gmail.com |
db60bbbc6d287c17ede75b1236988a7d2443c70a | 9a2597400a1efebfda91f5235adabbd7d1bee2ef | /dataconnection.h | ebe39d3be107caa118173f4dbeedc3ebc1461b31 | [] | no_license | ssguagua/QtFtpServer | ac8954ef40e25e310bc7e0085296dab321edd60f | e2cad1a1c675f560bd5f591082c056e5e43f6b0e | refs/heads/master | 2020-04-13T01:51:05.135704 | 2019-01-08T05:39:57 | 2019-01-08T05:39:57 | 162,885,717 | 0 | 0 | null | 2018-12-23T11:41:01 | 2018-12-23T11:41:01 | null | UTF-8 | C++ | false | false | 873 | h | #ifndef DATACONNECTION_H
#define DATACONNECTION_H
#include "sslserver.h"
#include "QSslSocket"
#include "ftpcommand.h"
#include <QObject>
#include <QPointer>
class DataConnection:public QObject
{
Q_OBJECT
public:
explicit DataConnection(QObject *parent = 0);
void scheduleConnectToHost(cons... | [
"z1908144712@163.com"
] | z1908144712@163.com |
a2e1ac1a517ab17ba4f146b1dec7e667eca18a79 | 3635b08d7d69a200a950a07f8f977240847b6bd3 | /directory.h | 9304f9ed92768841ffb17795e7c1321a6765b0c2 | [] | no_license | palwxc/Fabricated-Files-Folders | f91a504476aa312356f303d25135ff27dde30b6d | 4a87dbcfce6e26f0f69bf3590ce3b62ebd135c1c | refs/heads/main | 2023-02-07T07:14:03.297844 | 2021-01-01T06:33:28 | 2021-01-01T06:33:28 | 325,924,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | h |
#ifndef DIRECTORY_H
#define DIRECTORY_H
#include <iostream>
#include <vector>
#include <ctime>
#include <time.h>
#include "file.h"
using namespace std;
class Directory
{
private:
string name;
int numFiles;
Directory * parent = NULL;
Directory * previous = NULL;
vector<File> content;
string owner;
string grou... | [
"palwxc@mst.edu"
] | palwxc@mst.edu |
cb48ff101339c4ec8736c2f79cef4b32bbaedfb0 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/ds/security/passport/common/tools/passportlock.hpp | 379004e644c82e1b157d229d4947f2bb3f4bf1ca | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 572 | hpp | #ifndef PASSPORTLOCK_HPP
#define PASSPORTLOCK_HPP
#include <windows.h>
#include <winbase.h>
class PassportLock
{
public:
PassportLock(DWORD dwSpinCount = 4000);
void acquire();
void release();
~PassportLock();
private:
CRITICAL_SECTION mLock;
};
class PassportLockGlobal
{
public:
Pass... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
1c01180322467f2b5ec9fec980d3e8ba48472451 | fb6251837c15a0ee0b28b15d214599165e11de83 | /URI/1789-The Race of Slugs.cpp | 32b5d726b1b641c37bf6076fe3a9ec4e176a4058 | [] | no_license | CDPS/Competitive-Programming | de72288b8dc02ca2a45ed40491ce1839e983b765 | 24c046cbde7fea04a6c0f22518a688faf7521e2e | refs/heads/master | 2023-08-09T09:57:15.368959 | 2023-08-05T00:44:41 | 2023-08-05T00:44:41 | 104,966,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int l;
while(scanf("%d",&l)==1){
priority_queue<int> pq;
int vi;
for(int i=0;i<l;i++){
scanf("%d",&vi);
pq.push(vi);
}
if(pq.top()<10){
printf("1\n");
}else if (pq... | [
"crispale07@gmail.com"
] | crispale07@gmail.com |
5e4daef80cf4c6c9e8745ceee80950f3c251ae53 | 51b7173200a84b0d51dfdf4320009c78ca549859 | /EscapeVector/Escape_Vector/Intermediate/Build/Win64/Escape_VectorEditor/Development/Escape_Vector/PCH.Escape_Vector.Escape_Vector.h.cpp | 055c97bb3df042373c83a041ab046cb793112603 | [] | no_license | MartinSavard7/EscapeVec | eab61759e9ce2002c4c14f8a2731d5fb77d85cf8 | f7423f4e0b917be24a3f2b18e4cd1a6498b1f96a | refs/heads/master | 2021-01-25T09:00:10.072655 | 2015-01-15T23:02:16 | 2015-01-15T23:02:16 | 29,322,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86 | cpp | #include "E:\Escape_Vector\Escape_Vector\Source\Escape_Vector\Public\Escape_Vector.h"
| [
"classe56martin@hotmail.com"
] | classe56martin@hotmail.com |
7487eb7042b9053d194b8f703465524c472ed87e | dbfb4c98511b6f8bfe926e407d539bbbc81ba0bf | /vendor/mediatek/proprietary/custom/mt6735/hal/D2/camera_3a/isp_tuning_custom.cpp | 20bd52f339235b7c5f6c7f0b727cf610b25740e0 | [] | no_license | Skyrimus/device_kernel_porridge | e8526b59333699b9a06fe1fda79a3b746152e9f1 | 62c434c1bede4ea2b7adaa714cae7bcb50bd780c | refs/heads/master | 2023-04-22T08:12:13.386789 | 2021-04-28T09:09:46 | 2021-04-28T09:09:46 | 256,028,025 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 67,476 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"Skyrimus@yandex.ru"
] | Skyrimus@yandex.ru |
faac9c570b0bf01a5b9bf5d540a6bfc245d5f98f | 76896b75968defc6105525235b5657122ca4c744 | /src/Supervision_SauvegardeKevin/f_Supervision.cpp | 149d3ac1e49e8a259eaa8516de3984adb6cbe013 | [] | no_license | NicoG60/OpenOrganigram | 4580376f74e235f414c8b3fbe3cf81b293b1d2d3 | 3921fc6b3d2f9b3008e53cce69c1ebe6f18ad055 | refs/heads/master | 2021-01-15T10:47:09.008166 | 2015-03-15T17:43:17 | 2015-03-15T17:43:17 | 32,272,999 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 48,690 | cpp |
//-----------------------------------------------------------------------------------
/** @file f_Supervision.cpp
* @brief IHM Principale
* @author Kévin BATARD
* @author STS IRIS, Lycée Nicolas Appert, ORVAULT (FRANCE)
* @since 4 Février 2014
* @version 1.0
* @date 21 Févr... | [
"nicolas.jarnoux@wanadoo.fr"
] | nicolas.jarnoux@wanadoo.fr |
e05c7fd640c2a4fdfeff27ab814b221a4fc880bb | 6107c949bbb4b72b2ff14e976bbe20dd3f04cd49 | /src/bubbles/scene/scene.cpp | 2b3d2b1113ca617d1e6b7435d8bf35b0e78123a1 | [] | no_license | buzzert/bubbles | 7abd021d5bea4639d58b055c5c307c64153d6fc3 | e68af1a3e78251b41fb1dc544f0cfb4b670036db | refs/heads/master | 2021-06-30T21:04:10.659682 | 2020-09-08T09:52:25 | 2020-09-08T09:52:25 | 169,201,998 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,564 | cpp | /*
* Created on Thu Dec 20 2018
*
* Copyright (c) 2018 James Magahern <james@magahern.com>
*/
#include "scene.h"
extern "C" {
#include <bubbles/core/x11_support.h>
}
BUBBLES_NAMESPACE_BEGIN
void MainScene::handle_pointer_callback(void *context, int x, int y, bool pressed)
{
static_cast<MainScene *>(context)... | [
"james@magahern.com"
] | james@magahern.com |
587bd6a5c434556cd755d6679f63c3ab2c656e64 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day1程序包/GD-Senior/answers/GD-0586/track/track.cpp | 495cb1544ac65e2b95863965f46a3c2f0c19d980 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,585 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<string>
#include<iostream>
#include<cmath>
#include<cstdlib>
#include<ctime>
#include<set>
using namespace std;
namespace mine
{
typedef long long ll;
const int MAX_N=51000;
int hou[MAX_N];
struct Edge{int y,c,g;}e[MAX_N*2];
int ln=0;void ins(int x... | [
"orion545@qq.com"
] | orion545@qq.com |
b6e80ed8175c517e7160c2a542333e8ee919e400 | b64acbd868e5f91c2fee5cddbda96d6035401778 | /Codeforces/282A/Bit++.cpp | 5ee726bda403954b4ea878adb52e53e6ea39004a | [] | no_license | Anjalikamath/Programming_Solutions | 6bf04f3fd491edcaf4ede48ebeda447d0d532c29 | 319b5e704ef678421e500dc9ece26a756a1b626a | refs/heads/master | 2022-12-31T21:46:12.089061 | 2020-10-20T09:02:58 | 2020-10-20T09:02:58 | 299,634,560 | 1 | 1 | null | 2020-10-20T09:02:59 | 2020-09-29T14:00:02 | C++ | UTF-8 | C++ | false | false | 198 | cpp | #include<iostream>
using namespace std;
int main(){
int x=0,n;
cin>>n;
while(n--){
string s;
cin>>s;
if(s[1]=='+')++x;
else --x;
}
cout<<x<<endl;
return 0;
} | [
"kamathanjali1999@gmail.com"
] | kamathanjali1999@gmail.com |
ea7d30d2221dfa16b223812c5e6df31786911e9d | 000546c22a1aa2e746a8499e605841a2ac4c60dd | /Codeforces/Rounds/69/A.cpp | 543fea4954d5ef62ecd7125df823a9c44083b4a4 | [] | no_license | leandrovianna/programming_contests | be19a11e0f9e84f519628e78f56df8035f7c7501 | 78e31f4e327be819dd310df4d346b7ac2934f7dd | refs/heads/master | 2021-07-13T07:36:59.095154 | 2021-07-10T14:14:05 | 2021-07-10T14:14:05 | 77,759,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include <iostream>
using namespace std;
int main() {
int x = 0, y = 0, z = 0, n, k, l, m;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> k >> l >> m;
x += k;
y += l;
z += m;
}
if (!(x || y || z))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"leandrovianna50@gmail.com"
] | leandrovianna50@gmail.com |
583dbb05b085c6271d030858e8ead96e01afe1b4 | c50f891ad4dcb06aeb3a814e1e1cc632dea06423 | /vtkColor2Gray/vtkColor2Gray.cpp | 706df92042a47ff0297d2736f5ba13aa09d4049f | [] | no_license | cgcodeboy/vtk | 2898be29ebb266a48520296d08825c5c44d78c56 | 1531d4844aa35d31a24a958c81ac463a0f11e6a0 | refs/heads/master | 2020-07-04T02:13:43.252520 | 2018-04-21T10:10:20 | 2018-04-21T10:10:20 | 74,218,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,945 | cpp | #include <vtkSmartPointer.h>
#include <vtkJPEGReader.h>
#include <vtkPNGReader.h>
#include <vtkBMPReader.h>
#include <vtkBMPWriter.h>
#include <vtkImageActor.h>
#include <vtkImageLuminance.h>
#include <vtkRenderer.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkInteractorStyleImage.h... | [
"1610737331@qq.com"
] | 1610737331@qq.com |
265ec5500e2de612c4f6e99e1859385ceda2a6d2 | 84e064c973c0cc0d23ce7d491d5b047314fa53e5 | /latest9.7/hec/Saxon.C.API/XdmNode.cpp | 81c0f5e171afd8d8725f633a2d65d8d2ba56c895 | [] | no_license | orbeon/saxon-he | 83fedc08151405b5226839115df609375a183446 | 250c5839e31eec97c90c5c942ee2753117d5aa02 | refs/heads/master | 2022-12-30T03:30:31.383330 | 2020-10-16T15:21:05 | 2020-10-16T15:21:05 | 304,712,257 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,271 | cpp |
#include "XdmNode.h"
XdmNode::XdmNode(jobject obj): XdmItem(obj), nodeKind(UNKNOWN), baseURI(NULL), nodeName(NULL), children(NULL), parent(NULL), attrValues(NULL){
childCount = -1;
attrCount = -1;
}
XdmNode::XdmNode(XdmNode * p, jobject obj, XDM_NODE_KIND kind): XdmItem(obj), nodeKind(kind), baseURI(NULL), nodeNa... | [
"oneil@saxonica.com"
] | oneil@saxonica.com |
5b8256e33a007634db3853016a27e695e9b2d45c | 882aea02893bd2f4a1ee526d5c3691aa05d49e1d | /XBedit.cpp | d549d0b868db2cc32c1b4a24d911a205cce0c351 | [] | no_license | bryanchadwick/Bedit | 91e084eeddd15fdb5699207dcddf53195be089b7 | ccef42042ab8e31b5e5e711fbb9094ff11d87eab | refs/heads/master | 2021-01-24T06:23:14.437972 | 2015-05-20T01:25:27 | 2015-05-20T01:25:27 | 35,917,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,590 | cpp | #include <stdio.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include <unistd.h>
#include <sys/wait.h>
#include <iostream>
#include "Control.cpp"
#include "BufferList.cpp"
#include "Bedit.h"
#include "XView.h"
#include "Print.h"
using namespace std;
using namespace BEditor;
void drawList(BufferList<XView>& b);
vo... | [
"bryan@bryanchadwick.com"
] | bryan@bryanchadwick.com |
b3988dc1b19e27f72f5f6cc1bca87b37d05dd4b8 | 930eb8dfa32ae39b9fd31fec0f01fe3f8e0c057c | /src/ecs.h | 431e9362b1789cc67f44873d3ef6054ea146349a | [] | no_license | Fe3000/D7045E-Lab | cafeafd1611e70463e57a282537c27fc3f9f779d | 72892459decf9775b8fa14c5d76640e3e5482c34 | refs/heads/main | 2023-02-20T12:33:56.471202 | 2021-01-15T08:58:24 | 2021-01-15T08:58:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,782 | h |
/**
* Entities handles are represented by an identifier that contains both index and generation.
* 31 24 23 0
* +------------+----------------------------------------------+
* | generation | index |
* +------------+----------... | [
"alexander.mennborg@gmail.com"
] | alexander.mennborg@gmail.com |
206ec26a2e58d4cd7cd03afaf01492caaa8d9728 | f97ef238f5cbc02e63a930979ed42de260b73678 | /src/crow_test_node.cpp | 889a37ec5dea75de317d960cced8d049f5a8d1a2 | [] | no_license | jonbinney/crow_test | 5adc6cb0d96ccb93e93ebd2cbccd92a59a0a9c2c | 72365ebc75635daabfabdd32aa53370af973649c | refs/heads/master | 2016-09-06T15:45:58.958050 | 2014-07-08T07:19:26 | 2014-07-08T07:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | #include "crow.h"
#include "json.h"
#include <sstream>
int main()
{
crow::Crow app;
CROW_ROUTE(app, "/")
.name("hello")
([]{
return "Hello World!";
});
CROW_ROUTE(app, "/about")
([](){
return "About Crow example.";
});
// simple json response
CROW_ROUTE(a... | [
"jon.binney@gmail.com"
] | jon.binney@gmail.com |
62584b599585f52f30ee8f4b9a8f289a95b60d76 | 4f12edafe62c86dff8f8c4557584b3c8eaf585e8 | /C++_project1/C++_project1/StackClass.h | 1ccede59cfdd6c64cf2af1031c2069367993cf24 | [] | no_license | CanTinGit/C- | 6add084597f899a0fdb1f90281ed0d3c25161ef1 | 8642fc5ac91465b23bd54f624446c6fcfdc9ed4c | refs/heads/master | 2020-03-20T05:51:09.875573 | 2018-07-19T09:51:47 | 2018-07-19T09:51:47 | 137,068,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #pragma once
#define Max_Size 50
class Stack
{
private:
int data[Max_Size] ;
int top;
public:
Stack();
bool IsEmpty();
bool Push(int);
bool Pop(int &);
bool GetTop(int &);
int Size();
}; | [
"ctxx61@gmail.com"
] | ctxx61@gmail.com |
4a95594bf8e95e62c2f0fbefcaa671ecb684f1e1 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/chromeos/ui/request_pin_view.cc | 147e750fd08b7b2e54ef6c44d61a0ee4b0d1916d | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 8,092 | 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 "chrome/browser/chromeos/ui/request_pin_view.h"
#include <stddef.h>
#include <utility>
#include "base/bind.h"
#include "base/i18n/number_forma... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4d92144009d0bb73a84ec25179af14afcafb74aa | 54a264778769ef51c712b966f82a92e64a175743 | /DataFile/Block.h | 4ba4e0d4f2df84771fe94bedd094811ffd19291a | [] | no_license | fy222fy/myDBS | dca24f0fbc3217993e7ae6ca73ddb15097cfc88a | 68c204c6c0d8b648c163363e0ec8c0786bc1bc40 | refs/heads/master | 2022-12-04T16:13:47.635027 | 2020-08-14T13:00:06 | 2020-08-14T13:00:06 | 278,084,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,771 | h | /****************************************************
* 宏块模块
* 功能:定义 宏块块头结构,宏块句柄
*******************************************************/
#ifndef OB_BLOCK
#define OB_BLOCK
#include <stdint.h>
#include<iostream>
#include<fstream>
#include "../include/env.h"
#include "../Util/Util.h"
/**
* 宏块块头的结构,该结构与磁盘上的宏块结构对应。
*... | [
"18811796269@163.com"
] | 18811796269@163.com |
c6017c4256aaf09a7976760e1f16cba05339be8d | c1626152963432aa221a4a9b0e4767a4608a51f7 | /src/boost/concept_check.hpp | 1ef7ef260744d7cad7a04108f5f6a81c58ea24fd | [
"MIT"
] | permissive | 107-systems/107-Arduino-BoostUnits | d2bffefc2787e99173797c9a89d47961718f9b03 | f1a4dfa7bf2af78c422bf10ba0c30e2a703cb69b | refs/heads/main | 2023-09-06T03:46:02.903776 | 2023-09-05T09:32:35 | 2023-09-05T09:32:35 | 401,328,494 | 0 | 0 | MIT | 2023-09-05T09:32:37 | 2021-08-30T12:03:20 | C++ | UTF-8 | C++ | false | false | 31,984 | hpp | //
// (C) Copyright Jeremy Siek 2000.
// Copyright 2002 The Trustees of Indiana University.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Revision History:
// 05 May 2001: Workarounds for HP aCC fr... | [
"cto@lxrobotics.com"
] | cto@lxrobotics.com |
30b00a7ad51c084c644f98b2d5eab4e2b24888e1 | c35a958cd6988d0624c5c5249fb4252e123dcc8d | /综合实验三/5.19综合实验三/ADD_DLG.cpp | 6e7f6350deae59ad18fb5eadc35c5971b78498a0 | [] | no_license | mengwencong/-1111 | ff8de852aaf92e2dfdaeb5d04ef07462811d7224 | 9dee1b1ada251f408bdc431b237559f211445855 | refs/heads/master | 2022-11-14T22:30:40.462869 | 2020-07-05T14:08:57 | 2020-07-05T14:08:57 | 277,313,851 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 476 | cpp | // ADD_DLG.cpp : 实现文件
//
#include "stdafx.h"
#include "5.19综合实验三.h"
#include "ADD_DLG.h"
#include "afxdialogex.h"
// ADD_DLG 对话框
IMPLEMENT_DYNAMIC(ADD_DLG, CDialogEx)
ADD_DLG::ADD_DLG(CWnd* pParent /*=NULL*/)
: CDialogEx(IDD_ADD, pParent)
{
}
ADD_DLG::~ADD_DLG()
{
}
void ADD_DLG::DoDataExchange(CDataExchange* ... | [
"2417440970@qq.com"
] | 2417440970@qq.com |
f7037a897258c866d899e3b11f16997c667550b2 | e9040d7f9142287d8dbe6e039402cb441f3acb15 | /TAD8.cpp | 95ce697d55c881bbddfb481252b1a88b8884db72 | [] | no_license | StefanoMazzuka/Estructura_de_Datos_y_Algoritmos | a3536b63c7e25c3d08cc90af9b4f6f9ccbe37eda | a153d865a9e9c6968e4a287e1513c14697b1c0ef | refs/heads/master | 2020-05-27T14:57:51.889452 | 2019-05-26T11:11:20 | 2019-05-26T11:11:20 | 188,671,478 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | /*
E36
Stefano Mazzuka
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include "queue.h"
bool resuelveCaso() {
int data;
std::cin >> data;
if (!std::cin) return false;
queue<int> q;
while (data != 0) {
q.push(data);
std::cin >> data;
}
int length = q.size();
if (length >... | [
"stefano.mazzuka@gmail.com"
] | stefano.mazzuka@gmail.com |
68c6e3b68e574446f80917d70ff762691929241e | e52561b4c3e0e83bc6fc24bddac34598218a0564 | /SimpleEchoServer.h | 5d45c6bf94c959003883e2c96bc78b74cd03584a | [] | no_license | BupTy03/FirstPocoProject | a25e5ba462d3a747f292a3245fd0582923273d2a | 61c16aa17f70c553794185e4af3a00ec40f0cbd3 | refs/heads/master | 2023-04-25T06:13:26.375259 | 2021-05-14T11:47:19 | 2021-05-14T11:47:19 | 314,625,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | h | #pragma once
#include <Poco/Util/ServerApplication.h>
#include <iostream>
#include <string>
#include <mutex>
#include <vector>
class SimpleEchoServer : public Poco::Util::ServerApplication
{
public:
SimpleEchoServer();
static SimpleEchoServer& instance();
void viewText(std::ostream& os);
void setTex... | [
"anton.lagosha.99@mail.ru"
] | anton.lagosha.99@mail.ru |
3b2c670bb1ad49780570a60c0b97a7a7bbd948fa | 75e49b7e53cf60c99b7ab338127028a457e2721b | /sources/plug_osg/src/luna/bind_osg_Timer.cpp | d12f1f8d4d13c7510377e5a90a9505057b7e33f6 | [] | no_license | roche-emmanuel/singularity | 32f47813c90b9cd5655f3bead9997215cbf02d6a | e9165d68fc09d2767e8acb1e9e0493a014b87399 | refs/heads/master | 2021-01-12T01:21:39.961949 | 2012-10-05T10:48:21 | 2012-10-05T10:48:21 | 78,375,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,929 | cpp | #include <plug_common.h>
class luna_wrapper_osg_Timer {
public:
typedef Luna< osg::Timer > luna_t;
// Base class dynamic cast support:
inline static bool _lg_typecheck_dynCast(lua_State *L) {
if( lua_gettop(L)!=2 ) return false;
if( lua_isstring(L,2)==0 ) return false;
return true;
}
stati... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
d4c0b76d79bb6423799c98724b87493d54cb1d00 | 4c39ed31fe1268302952bbe5c2cd456c8083281e | /SGU/297.cpp | 91ae936b2c529e61cfac35b69e9c19f87b2385da | [] | no_license | Abhay4/Algorithm | 37e3b8bd3c9990b896d862f1aa20ad8312f20e75 | 50b157e027c7f0c085a8a15929422e75851fafc4 | refs/heads/master | 2020-12-11T01:37:58.200719 | 2018-01-24T18:24:05 | 2018-01-24T18:24:05 | 38,934,843 | 0 | 0 | null | 2015-07-11T17:46:17 | 2015-07-11T17:46:17 | null | UTF-8 | C++ | false | false | 247 | cpp | //ac
#include <iostream>
#include <cstdio>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
int sum = 0;
for (int i = 0; i < m; ++i) {
int a;
cin >> a;
sum += a;
}
sum %= n;
cout << sum << endl;
return 0;
}
| [
"wendai@wendai1026.redmond.corp.microsoft.com"
] | wendai@wendai1026.redmond.corp.microsoft.com |
e7313e8ad5940bf97038451d7bf841bb92512dd2 | 8a83c68ec22341ef9a99ec5adb3c5150f0efd7a5 | /examples/proxy/channels.hpp | 3c0dac820dc795a2dd7adb6018664965291dc62c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | apples/trellis | 521c2aa2d5563d5c6ee62c48b64d8125a7f3d678 | 83f7a37e5098ba9133ebe0f5e8ecdfc0f4a63fbf | refs/heads/master | 2023-02-26T08:59:50.158906 | 2021-01-25T11:01:48 | 2021-01-25T11:01:48 | 309,874,508 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | hpp | #pragma once
#include <trellis/trellis.hpp>
using channel_numbers = trellis::channel_type_reliable_sequenced<struct numbers_t>;
template <template <typename...> class T>
using apply_channels = T<channel_numbers>;
| [
"dbralir@gmail.com"
] | dbralir@gmail.com |
f650e57d76d8fd1866c0164aa8a4ace4b18ad4eb | a137d0ccfcc428627b4d78b525e65f57688c2ae7 | /src/main.cpp | 75b0fa965bf697309c77f4b3324a5cff096e2e86 | [] | no_license | terrywh/sfplayer | 867cbd3a9ce1937b00b92d69495764761c6fbf40 | 5a28eb44a3406e49fb49b71d70d310a4d7028ccf | refs/heads/master | 2023-03-16T05:36:10.729865 | 2021-03-03T14:08:33 | 2021-03-03T14:32:15 | 343,459,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include "vendor.hpp"
#include "application.h"
#include <malloc.h>
using buffer_t = wrapper<AVBufferRef, av_buffer_unref>;
int main(int argc, char* argv[]) {
mallopt(M_TRIM_THRESHOLD, 16 * 1024);
std::unique_ptr<application> app = std::make_unique<application>();
app->run();
return 0;
} | [
"terry.wuhao@gmail.com"
] | terry.wuhao@gmail.com |
136472605ce77a7b946d2d703470a02923e42c08 | 44bb9d5b089fb3296958e8404c3eaec0acfe4082 | /UVa/UVa_702_The_Vindictive_Coach.cpp | 5fcca9017f946e53bbbd9e1a5ea66ecc9ff7e9a6 | [] | no_license | wujysh/OJ_Code_Repositories | 3a82aa685ffc238710d924657169d81a560bdea9 | e4407421bb342d6b050950fc7e458fe8fd9b6ca5 | refs/heads/master | 2020-06-05T05:38:30.144070 | 2014-10-22T04:33:18 | 2014-10-22T04:33:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | cpp | #include <iostream>
#include <cstring>
using namespace std;
const int MAXN = 30;
long long dp[MAXN][MAXN][2];
int N, m;
void init() {
memset(dp, 0, sizeof(dp));
for (int k = 0; k < MAXN; k++) {
for (int p = 0; p < 2; p++) {
dp[0][k][p] = 1;
}
}
}
void work() {
for (int n =... | [
"wujysh@gmail.com"
] | wujysh@gmail.com |
6c2197cd1dff8427973e587ac61bdaddc7f6e590 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/include/llvm/CodeGen/MIRPrinter.h | 45e30686b6426d05ee7417186e8a8f6023c709e5 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 1,760 | h | //===- MIRPrinter.h - MIR serialization format printer ----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
ba3cfb4891fefc04b182af94fbd016619af9500c | 374295882c901ee5c6ced8d17ca2b578cd483dd4 | /queue/intermediate/leetcode 994 rotten oranges.cpp | cad031a5e6c85fe9d6375279591e86d5d9d62284 | [] | no_license | chinmay021/Interview-Preparation | 232dba9d7d952fffa9475f8d8282f0edbf498726 | c1b6f3e083025581f7157df887e1b87a9e153e98 | refs/heads/master | 2022-12-15T17:51:41.570297 | 2020-09-12T05:28:19 | 2020-09-12T05:28:19 | 279,581,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | class Solution
{
public:
int orangesRotting(vector<vector<int>> &grid)
{
int minTime = 0;
int fresh = 0;
queue<pair<int, int>> q;
for (int i = 0; i < grid.size(); ++i)
{
for (int j = 0; j < grid[0].size(); ++j)
{
if (grid[i][j] == 2... | [
"chinmaykumar021@gmail.com"
] | chinmaykumar021@gmail.com |
5726148c01ca06ff6e1472ad8efd896ad8dfc8f3 | d8a921546761f56e5d42406779ef5e3ad5e72863 | /MCNode.h | afcc4d01c4f4facb93a2e347ba4dd6962206741d | [] | no_license | DerrickWanglf/Othello_MC | 1800deb3523a5a955201d06fd18ae079155b3347 | 7a2e6ac3f8b703241e8c73eb8836a9168299b89c | refs/heads/master | 2020-04-10T08:42:22.944971 | 2018-12-09T21:22:35 | 2018-12-09T21:22:35 | 160,912,293 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | #pragma once
#include<iostream>
#include<math.h>
#include<time.h>
#include "constant.h"
#include"board.h"
class MCNode {
public:
MCNode(Board *othello);
Board *othello; // current board
int blackCount;//number of black
int whiteCount;//number of white
int UCT_v;
int time_li;
doubl... | [
"derrick.wanglf@gmail.com"
] | derrick.wanglf@gmail.com |
a8015286a3647a59698d1225f4f30b8172763b7d | c8dbc0ef5b4efdcd54ef90b7eba5964a38afb009 | /user.h | d1e1d13554ca79fccf809e4e35962e82c14565bc | [] | no_license | diomemilk/gestion-de-note | eb9dd4d11bc1681cff80e5fadd806573f9ee44b5 | 9a20b380f0d213cc5e23e1f72b387a77824e5510 | refs/heads/main | 2023-06-05T05:10:06.999637 | 2021-07-01T08:35:25 | 2021-07-01T08:35:25 | 369,332,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | h | #ifndef USER_H
#define USER_H
#include <QString>
enum TypeUser {
ADMINISTRATEUR,
FORMATEUR,
ETUDIANT,
RESPONSABLE
};
class User
{
private:
uint identifiant;
QString nom;
QString prenom;
QString login;
QString password;
QString type;
QString dates_Naiss;
QString Tel;
... | [
"ahmedhaidda95@gmail.com"
] | ahmedhaidda95@gmail.com |
41bc7121e8cedc20d0620fab88ac555a5e761900 | b5da36479947b153081790e6e7b224773a85a657 | /CheckTemplate/SAM_TIOJ1306.cpp | 0716dec29c93c60dd0b5789c75a6896cec80fe48 | [] | no_license | NCTU-Kemono/CodeBook | d92db75f36343d8ec53c9012a7a55143566f7646 | 2d1ed621cd2086baeafc024e43591ef99ed4321c | refs/heads/master | 2021-06-27T15:34:09.765291 | 2019-05-04T07:36:17 | 2019-05-04T07:36:17 | 137,721,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | #include <bits/stdc++.h>
using namespace std;
const int SIGMA = 26;
struct SAM {
struct Node {
Node *f, *ch[SIGMA];
int len;
Node(int _len) {
len = _len; f = 0;
memset(ch, 0, sizeof(ch));
}
}*rt, *la;
char *s;
inline int idx(char c) { return c - 'a... | [
"yangzd0814@linux1.cs.nctu.edu.tw"
] | yangzd0814@linux1.cs.nctu.edu.tw |
56f4839dac20041bffe333ea9a6ac2e9bb3cb072 | 8fe31ad60626b9bcd9ce2917c8458e8fdec0f1e8 | /tensorflow/core/kernels/data/experimental/fastflow_offloading_fetch_op.cc | 6c8b67e52d80be7373e812fe8a191bf1bdd72aa2 | [
"CC-BY-4.0",
"MIT",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | SamsungLabs/fastflow-tensorflow | 77736a2af75123cd7244ee38abdf05bfcaa6b4f8 | 8dc4caf647dc2df3c9fbe6c15bc7377baa8db1d6 | refs/heads/main | 2023-05-23T17:41:06.184676 | 2022-11-15T09:23:08 | 2022-11-15T09:23:08 | 565,690,266 | 4 | 3 | CC-BY-4.0 | 2023-04-07T10:54:26 | 2022-11-14T05:36:08 | C++ | UTF-8 | C++ | false | false | 57,491 | cc | /*
* Copyright 2022 Samsung Electronics Co., Ltd. All Rights Reserved
* Copied from data_service_dataset_ops.cc
*/
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may ... | [
"taegeon.um@samsung.com"
] | taegeon.um@samsung.com |
338ea2220bb0f0edb2e80772a2b21854bea51cd8 | 5223a86aa0c2640d0191f4f76450ea710de145f0 | /main.cpp | 4c01e677bcf467b6c515e66751d9cf92bb35b823 | [] | no_license | dupark3/LeetCode344ReverseString | cf9a492a636c497f475cb23bcdf24d53c26a74c1 | 86ca88772d813b871c27f32ce44491c2ed801868 | refs/heads/master | 2020-03-13T23:16:09.354497 | 2018-04-27T18:31:55 | 2018-04-27T18:31:55 | 131,332,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include <algorithm> // reverse
#include <cctype> // isalpha
#include <iostream>
#include <string>
using namespace std;
void reverseWords(string& line){
string::iterator left = line.begin();
string::iterator right;
while (left != line.end()){
// ignore all leading non alpha
while(!isalpha... | [
"dupark3@gmail.com"
] | dupark3@gmail.com |
dcaf0e1168d69de2f9fb0de1e6c0f65dc1da77b0 | 37027d31595171b7fbdaeec33dab261719553001 | /android/frameworks/av/media/libstagefright/MPEG4Extractor.cpp | a7fbd7f779aa7971fb7097bd25f4dd0875b77dfd | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | hqctfl/BPI-A20-Android-4.4 | 00aa341659dc0b3a07759e7808b0d5436b4810a1 | 8fe0d48d9ddc84b9821dc767f064edea403e1145 | refs/heads/master | 2022-06-02T15:10:33.870424 | 2018-06-25T03:06:04 | 2018-06-25T03:06:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117,295 | cpp | /*
* Copyright (C) 2009 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 app... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
da6e4ed1e372839336cce6e9bb72163d172dbc83 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/UpdateMulticastGroupResult.h | f85c482714cb83e0fa4b1546f76b8f8ad5f045a4 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 836 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotwireless/IoTWireless_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // ... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8e4644d8ee8c7b2a9424b34b2237b25f72f86bfc | 70d766a32d6ffda9884d019ecdc9689ee5410ff7 | /main.cpp | f55c87a332bb9a3dec9a35b505dd79aad2b61602 | [] | no_license | hG3n/glwarp-nocapture | 458af28105aef9f33661316920f0a11c23400d6a | 223f76102f09459d4b1eacc35df56cb2049161a6 | refs/heads/master | 2020-03-21T00:40:55.704260 | 2018-06-20T15:18:16 | 2018-06-20T15:18:16 | 125,246,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,039 | cpp | // Include standard headers
#include <iostream>
#include <vector>
#include <map>
#include <fstream>
// GL stuff
#include <GL/glew.h>
#include <GLFW/glfw3.h>
// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <sstream>
// gl globals
GLFWwindow *glfw_window;
int SCREEN_WIDTH = (int... | [
"haghiller@gmail.com"
] | haghiller@gmail.com |
50fa37d0e92a84e60ef30d6769214626706f45d6 | 49282f9d9db0c4094e68bed7eeaf6ed2bf14f868 | /hackerrank/corectness-invariant.cpp | f5aff233e369fe12d3341b2eca346559cc13f9d3 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | anuragaryan/Competitive-Programming | f5d323539e1a943b070b76ff67440bdbad8b2a9c | f135c68080fa24e9fc92e622652ec3329c435fdc | refs/heads/master | 2016-09-15T09:53:19.511547 | 2016-03-17T01:12:09 | 2016-03-17T01:12:09 | 40,020,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int s;
scanf("%d",&s);
int ar[s];
for(int i=0;i<s;i++)
scanf("%d",&ar[i]);
for(int i=1;i<s;i++){
int j=i;
while(j>0 && ar[i]<ar[j-1])
j--;
int tmp=ar[i];
for(int k=i;k>j;k--)
ar[k]=ar[k-1];
ar[j]=tmp;
}
for(int j=0;j<s;j++)
... | [
"anurag.aryan2011@gmail.com"
] | anurag.aryan2011@gmail.com |
42454772497329acafd1bc32393e3fbcfdebc10f | ad330b95864c422097bd14edd70d998b4bf233b5 | /common/GameObjects/Product.cpp | e2821e3a429b26181ad3161653d0a5228d7b021d | [] | no_license | eugeneus/sg | bfbfaf455f9a0b683be42c87f57b1b750bb49f77 | c0cc614fb95dba43cfb6b490175c092a5071c7de | refs/heads/master | 2021-06-04T00:43:30.986941 | 2019-07-22T20:26:02 | 2019-07-22T20:26:02 | 26,199,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp |
#include "Product.h"
USING_NS_CC;
Product::Product(){}
Product::~Product() {}
Product* Product::create(const std::string aFileName, cocos2d::Point aRelativePos, float aRelativeSizeFactor) {
Product* pRet = new Product();
if (!pRet->init(aFileName,aRelativePos,aRelativeSizeFactor)) {
delete pRet;
... | [
"yaugeny@yahoo.com"
] | yaugeny@yahoo.com |
98ae1186514f777df10e50cadd5c9b75971c9680 | 3957b233b9c048cd294f620bf812d3254787605e | /build/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp | 0a1509bf1abcd2908461f12c6175572898be00e7 | [] | no_license | vincent-chenzhun-huang/Synthesizer | 1a5207d58dc1b6bb5909652fcceda5bb6eb39876 | 555e02e1ec488d7ab9f88d5a10b517fc1e8a3bf9 | refs/heads/master | 2023-01-23T06:13:28.828887 | 2020-12-07T21:08:50 | 2020-12-07T21:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | /*
IMPORTANT! This file is auto-generated each time you run cmake on your
project - if you alter its contents, your changes may be overwritten!
*/
#include "AppConfig.h"
#include <juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp>
| [
"chenzhun.huang@mail.mcgill.ca"
] | chenzhun.huang@mail.mcgill.ca |
76469e0c13a13f3ae3289715b66b7e0e9caed636 | 5c8a0d7752e7c37e207f28a7e03d96a5011f8d68 | /MapTweet/iOS/Classes/Native/System_System_Net_Security_AuthenticatedStream1183414097.h | 0b936eedc1c1f1e3c36817399a68a7215982d205 | [] | no_license | anothercookiecrumbles/ar_storytelling | 8119ed664c707790b58fbb0dcf75ccd8cf9a831b | 002f9b8d36a6f6918f2d2c27c46b893591997c39 | refs/heads/master | 2021-01-18T20:00:46.547573 | 2017-03-10T05:39:49 | 2017-03-10T05:39:49 | 84,522,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.IO.Stream
struct Stream_t3255436806;
#include "mscorlib_System_IO_Stream3255436806.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Win... | [
"priyanjana@mac.com"
] | priyanjana@mac.com |
60a09b89ccc90402d716f6aaf974f8fb4a0e1596 | 4ddfa685523dc3a7b800454e4873661d02ea9062 | /第5阶段-C++提高编程/04 vector容器/04 vector容器/03 vector容器-容量和大小.cpp | fb2d37302dbbe3cac270aa34eb84f40789ca0249 | [] | no_license | yaoyaoz/c-Base | 9314d8ad9d6c2740546289cbddbc4b97e4f96f12 | c003c51266d68e21e8888732eb8412e4f92a8452 | refs/heads/master | 2022-04-05T05:16:31.248047 | 2020-01-04T14:57:58 | 2020-01-04T14:57:58 | 197,220,939 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 947 | cpp | #include<iostream>
using namespace std;
#include<vector>
void printVector(vector<int>& v)
{
for (vector<int>::iterator it = v.begin(); it != v.end(); it++)
{
cout << *it << " ";
}
cout << endl;
}
//vector容器的容量和大小操作
void test01()
{
vector<int> v1;
for (int i = 0; i < 10; i++)
{
v1.push_back(i);
}
printVec... | [
"905440208@qq.com"
] | 905440208@qq.com |
0641e179c811bbbd048d1d1389eaada345968e8e | 7be8e3636bf08ebdc6662879dc5afec548705537 | /ios/Pods/Folly/folly/detail/Demangle.h | b11ffc7d74eed8f4b59cae24b21f660aa3f7a8c0 | [
"MIT",
"Apache-2.0"
] | permissive | rdhox/react-native-smooth-picker | 3c7384f1fed0e37f076361cce96071d01b70e209 | ae9316c49512f7ed9824c5a3ad50cdf5e80fffa9 | refs/heads/master | 2023-01-08T16:59:40.709147 | 2021-07-03T14:13:21 | 2021-07-03T14:13:21 | 160,224,312 | 230 | 31 | MIT | 2023-01-06T01:46:04 | 2018-12-03T16:54:10 | TypeScript | UTF-8 | C++ | false | false | 1,001 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"admin@rdhox.io"
] | admin@rdhox.io |
3d0dc0abc068277147ee50cd188da12fb8a9361f | d0313e78ac54083b8306d09b37853a63b77067a7 | /include/myun2/bpack/parse.hpp | 11224e5abf85d6369bf6ac5c5397dc1d82cb90e6 | [] | no_license | myun2ext/bitpack | d94a798cd22d9d5c6e1b923c2bf7b4b51f43bec9 | 2177848396d45114e3587686232d200cee33651d | refs/heads/master | 2021-01-23T00:06:15.089500 | 2013-10-28T10:34:32 | 2013-10-28T10:34:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | hpp | #ifndef __github_com_myun2__bitpack__parse_HPP__
#define __github_com_myun2__bitpack__parse_HPP__
namespace myun2
{
namespace bitpack
{
void parse(const void* p, const void *tail) {
}
}
}
#endif//__github_com_myun2__bitpack__parse_HPP__
| [
"myun2@nwhite.info"
] | myun2@nwhite.info |
3dba318e00b57c06077fa3dac59af65a72c0ba14 | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/server/Server/Server/Packets/CGIssuePetPlacardHandler.cpp | ace12309e177738b35b79cee50d2c3a3c074e2b3 | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,322 | cpp |
#include "stdafx.h"
#include "Log.h"
#include "Scene.h"
#include "GamePlayer.h"
#include "Obj_Human.h"
#include "Obj_Monster.h"
#include "PetPlacard.h"
#include "PacketFactoryManager.h"
#include "GCOperateResult.h"
#include "CGIssuePetPlacard.h"
uint CGIssuePetPlacardHandler::Execute( CGIssuePetPlacard* pPacket, Pla... | [
"viticm@126.com"
] | viticm@126.com |
3edce904cb55e17b803934bc0e9bc9414c4b4b09 | 627c1336d99f3a3bae67b9898b8206c0b9f8ae83 | /src/sa/CostFunction.h | 97346a54b9196a129826ba922aa4e681c14990a0 | [
"MIT"
] | permissive | areong/CornerMacroPlacer | e5e80cdc3e97527f634310002659f614b8ab199e | da6841c110a829b33bd705cda13fb371ca369007 | refs/heads/master | 2021-01-21T04:39:05.934464 | 2019-10-16T10:53:57 | 2019-10-16T10:53:57 | 49,002,459 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | h | #ifndef SA_COSTFUNCTION_H_
#define SA_COSTFUNCTION_H_
class State;
class CostFunction {
public:
virtual ~CostFunction() {}
virtual double calculateCost(State *state) = 0;
};
#endif | [
"areong6378@gmail.com"
] | areong6378@gmail.com |
d787287d02ce4ea18a8d56f337bfcac460ed3025 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/windows/directx/dmusic2/dmstyle/motiftrk.cpp | 42982cd3276dbc5b67c5169955ab768f23adc4a8 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,182 | cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (c) 1998-1999 Microsoft Corporation
//
// File: motiftrk.cpp
//
//--------------------------------------------------------------------------
// READ THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!
/... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
f0bc1e72555210f28bb409f7d03cc66a7dc4c44e | b1b0ea718d15415be065885835a430cdaa51f3a4 | /include/libm3d/libm3d.h | e3b6be402d927f936fa253e502edb29dd58714d4 | [] | no_license | panjia1983/APDL | addae0db78a583240fc820d77ca885b39a64f63c | 3f3c682d41de8c20688987066c7913887723e730 | refs/heads/master | 2016-09-05T13:31:29.789355 | 2013-03-01T21:41:41 | 2013-03-01T21:41:41 | 7,075,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | #ifndef LIBM3D_H
#define LIBM3D_H
#include "model.h"
#include "minkowski.h"
namespace libm3d
{
struct LibM3dParam
{
bool bOctfilter;
bool bCDfilter;
bool bNormalfilter;
float PmaxD;
float QmaxD;
int escaleP;
int escaleQ;
float perturb;
int threadsize;
LibM3dParam()
{
bOctf... | [
"panjia1983@gmail.com"
] | panjia1983@gmail.com |
e6255e1be3849d48d3b1b91bd9d3ef8f2fbef4b3 | 26551769200eafa5bdd72ea5a51f87e61dbd8d6d | /hackerrank/august_infinitum_2014/5.cpp | e4777bacb56ef3c255ccaf2741ce466d7efdf640 | [] | no_license | kalachand/codes | f894945a2cdc4c7868fd1f24c3b7727f32cf5ba1 | ed45d7ffe380e4e5d52f95e9542a108e4ceeceb7 | refs/heads/master | 2021-01-15T12:44:29.552598 | 2015-11-03T21:02:36 | 2015-11-03T21:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,822 | cpp | /*******************
Akash Agrawall
IIIT HYDERABAD
akash.agrawall094@gmail.com
***********************/
#include<cstdio>
#include<iostream>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<climits>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<bitset>
#include<stack>
#inc... | [
"akash.wanted@gmail.com"
] | akash.wanted@gmail.com |
949ac415323592939247ee8dc70152eb628c65e3 | e5292428482181499e59886ad2ee50c83a504f6e | /URI/NumeroPequeno.cpp | 90840864c681aff571c2bc1c011d59d2ba5650db | [] | no_license | pedrohenriqueos/maratona | fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d | 5c9bffa2ec6a321a35c854d4800b4fe7931c1baf | refs/heads/master | 2020-03-22T06:35:23.879463 | 2020-02-27T20:15:53 | 2020-02-27T20:15:53 | 139,644,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include<bits/stdc++.h>
using namespace std;
int V[10];
int main(){
string str;
int K;
while(cin >> str >> K){
memset(V,0,sizeof V);
int cont=0;
for(auto &c:str)
V[(int)(c-'0')]++;
for(int i=9;i>=0;i--){
if(V[i]){
for(int j=0;j<(int)str.size();j++)
if(str[j]==(char)(i+'0')){
str.erase(... | [
"pedro986@gmail.com"
] | pedro986@gmail.com |
b61e423b5376e37b5eaeffa0707e355bfa856f4b | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /net/third_party/http2/decoder/decode_http2_structures.cc | 1b439a54dd8966fb3c5d908f535f91582c256435 | [
"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 | 3,470 | 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 "net/third_party/http2/decoder/decode_http2_structures.h"
#include "base/logging.h"
#include "net/third_party/http2/decoder/decode_buffer.h"
#in... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d2513c60a780555df651eb7446d5883acf2099d4 | b319692696eefea1d77e76a1817912717493999e | /Labs/Lab29/Questao02.cpp | aa32c15958995ccfff95b8650cb55cf8d5af780c | [] | no_license | JoaoCleiton12/ProgramacaoDeComputadores | 761b7dc0a3af7b429166ddf74f60e1edb10b36bc | 8b001abfed1c8c20456a993a62194a4b7545dfa7 | refs/heads/master | 2023-09-03T14:00:14.380099 | 2021-10-10T23:13:27 | 2021-10-10T23:13:27 | 415,393,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | #include <iostream>
#define black "\033[7;37;40m"
#define yellow "\033[1;33;40m"
#define green "\033[32m"
#define red "\033[31;31m"
#define blue "\033[34;5;154m"
#define backg "\033[38;5;0;48;5;154m"
#define default "\033[m"
using namespace std;
void print(int n);
void print(double m);
void print(const char * str);
i... | [
"joaocleiton60359@gmail.com"
] | joaocleiton60359@gmail.com |
b3e839f50beead429a04cc2300d74e7175f33368 | e3f08fc34b48c2093235307a5ea9447b9a4c6a25 | /Message_Decowding.cpp | 97816fca7691c1398dd407469c49fd6d0112051c | [] | no_license | pluralism/usaco | 31992e442c7e405da673c3937b924969320df9f1 | c692f1dce0434fa87d685690a5b846a982711bce | refs/heads/master | 2016-09-06T01:35:04.802984 | 2013-02-07T14:35:07 | 2013-02-07T14:35:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include <iostream>
#include <map>
#include <string>
using std::cout;
using std::cin;
using std::string;
using std::map;
using std::endl;
int main(int argc, char *argv[])
{
map<char, char> associa_letra;
string decryption_key;
string message;
int len;
cin >> decryption_key >> message;
len = decryption_key.l... | [
"pluralism@AndrePinheiro.(none)"
] | pluralism@AndrePinheiro.(none) |
a785e2a620ddce87b4ba49630b4b03bdfe73411d | 024d697677d203a05cc6a2d7f3206a7d15e72416 | /Robot Movements.cpp | 7c71ab193fd1bc4b16a8dc06ee458e30bcc89be2 | [] | no_license | pluralism/CodeEval | cedada6cec3408ca3f6f3db5420c23bd2a6ac3bf | 4be97f6b9d1901bc7068d2d78c010c0892c516e0 | refs/heads/master | 2021-01-17T13:30:28.728775 | 2017-11-04T02:53:37 | 2017-11-04T02:53:37 | 17,156,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <iostream>
using namespace std;
int caminhos(bool board[4][4], int x, int y, int w, int h)
{
if (board[x][y])
return 0;
if (x == w - 1 && y == h - 1)
return 1;
int contagem = 0;
board[x][y] = 1;
if (x > 0)
contagem += caminhos(board, x - 1, y, w, h);
if (x < w - 1)
contagem += caminhos(boar... | [
"andrepdpinheiro@gmail.com"
] | andrepdpinheiro@gmail.com |
9842a52e85d9e40dd681e6eaceea8d6de44bf499 | 8ca4db4c61f2017f676750635f5916a56bea4263 | /Nspectra/Example2.cc | 80ba36db6ace771e763c4f9086bbf331f45c56c3 | [] | no_license | Sam-Harper/RooStatsZPrime | 948b28edf45de854c85ffbcbac83a2f8bf105b9f | 0eb6a82ebb2b2cc0be94c6100adde4f5ddb0d8fe | refs/heads/master | 2021-01-05T05:37:50.134022 | 2014-01-08T12:25:23 | 2014-01-08T12:25:23 | 15,710,035 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,530 | cc | #include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <cmath>
#include <map>
#include "RooWorkspace.h"
#include "TFile.h"
#include "ModelConfiguratorZprime.hh"
#include "Resultator.hh"
#include "PoiRangeEstimator.hh"
#include "DataPruner.hh"
using namespace RooFit;
using namespace std;
... | [
""
] | |
5c897c2340e2e940e1aad31ce36376327abf72a3 | 92f176bf2f388763f0b665d7162fa06c0fa731c8 | /evaluatePostfix.cpp | 46625778cbacdde3ae6ce42ff116cccf2562ea4a | [
"MIT"
] | permissive | mansiag/Lab-Programs | 9446358ab42cad8983bfccccb1fcc03196075e3a | 5662fd3e91a95a249e39e9542f9827f183e8ff47 | refs/heads/master | 2021-01-24T10:39:56.769575 | 2018-03-27T01:09:49 | 2018-03-27T01:09:49 | 123,059,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
class Node{
protected:
int data;
Node* next;
public:
Node()
{}
Node(int d)
{
data=d;
next=NULL;
}
void setnext(Node* n)
{next=n;}
int getdata()
{return data;}
Node* getnext()
{return next;}
};
class stack : public Node{
private:
Node* head... | [
"mansi.29ag@gmail.com"
] | mansi.29ag@gmail.com |
1324814b3daced6e978e123e7017fb14a37110ca | c80f604d0d8526d108bf7e5117588b710144f291 | /src/matrix3d.hpp | e55ebe30d011039cce15026b17833de11a2a52ea | [] | no_license | dannluciano/datalib | a91130cec6059c28620f305ce136511c485410d3 | c2c9bc242daa2947080c2628060671137dd0a1d3 | refs/heads/master | 2021-01-13T01:17:20.673914 | 2012-08-17T17:22:43 | 2012-08-17T17:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | hpp | #ifndef _MATRIX3D_HPP_
#define _MATRIX3D_HPP_
#include <ostream>
#include <vector>
namespace dl {
// Three-dimensional rectangular matrix.
template <typename T>
class matrix3d {
public:
matrix3d()
: rows_(0), cols_(0), pages_(0), matrix(0) {
}
matrix3d(unsigned num_rows, unsigned num_cols, un... | [
"dannluciano@gmail.com"
] | dannluciano@gmail.com |
c7fc34453772b9d2453e573a2e8aefecd309780a | 0a229dc4ecf9555325fb2c18a75b47a28114eeb9 | /test/test.h | 8b9f4b7efb7531f9f878714f37266429823da774 | [
"Apache-2.0"
] | permissive | 8secz-johndpope/PalmA-crossplatform | f63e93ab9da557f589841d9ea3c6b49f1f5176db | f60e86ba724935b45eb7c6044e433005206b3b15 | refs/heads/master | 2020-06-12T04:19:47.245942 | 2019-03-10T15:35:15 | 2019-03-10T15:35:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | //---------------------------------------------------//
// Apache License Version 2.0, January 2004 //
// Copyright @ 2016-2019 Tony Su All Rights Reserved //
// https://github.com/peitaosu/PalmA-crossplatform //
//---------------------------------------------------//
#ifndef PALMA_TEST_H
#define PALMA_TES... | [
"peitaosu@163.com"
] | peitaosu@163.com |
24b6dbb0a0afcf529cb053b300bc5b05708e3c2e | 6f74a7991f4da24be99a67489e55402b33e75d62 | /classes/game/item/BalloonItem.h | fe9a7f6f37560106e0d26af1182317d68acdefb7 | [] | no_license | codemage128/unity-to-cocos2d-apk-clone | 73a73514ae1029b6710b93aeb139cec5c01a126d | c81b5367dc8a8312a90a3a4b9c94c9437f89d15a | refs/heads/master | 2023-08-03T06:26:41.345990 | 2020-07-23T12:57:18 | 2020-07-23T12:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | h | #ifndef __ENGINE_BALLOONITEM_H__
#define __ENGINE_BALLOONITEM_H__
#include "../ItemImpl.h"
enum class MatchType;
enum class CollectAnimation;
class BalloonItem : public SpriteBasedItem
{
public:
BalloonItem();
virtual ~BalloonItem();
void SetupItem();
virtual void RemoveSelf() override;
bool CanExplodeDueToExp... | [
"futuredev1001@yandex.com"
] | futuredev1001@yandex.com |
e57c88d8a8228b15d5807ff02de82eea9296de0c | 786d74f7a59c2ded394bc653f559238e35414ef5 | /src/net/awsupload/hmUdpClient.cpp | f0856c16d9a0b7651825d37b9f954094147de778 | [] | no_license | akumrao/mediaserver | 77f71c46e69cbcef9969bcf70867d140fdd0a806 | 046aad2106a859562cf9b6d56a1e56c589843fc2 | refs/heads/master | 2023-04-16T13:51:12.166666 | 2022-06-27T07:01:48 | 2022-06-27T07:01:48 | 214,117,984 | 15 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 7,222 | cpp | /* This file is part of mediaserver. A webrtc sfu server.
* Copyright (C) 2018 Arvind Umrao <akumrao@yahoo.com> & Herman Umrao<hermanumrao@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... | [
"arvind.umrao@sococo.com"
] | arvind.umrao@sococo.com |
8ab8f61ef1923c569f56d934782514c8763d02db | c865e58d41a8dd3cfd5167044721fb52bf78c094 | /src/Logging.cpp | 1ac31c5b7329ada6176f97a4645b7ead033fbc91 | [] | no_license | wertyuiopsdfghjklxcvbn/tree | 332b5cf90c1a470361be3ddd8981c942fcdfe1f0 | 2a19b782c68d9b6a16df2fa19e2048aed0571769 | refs/heads/master | 2022-05-21T05:31:48.576383 | 2021-08-18T20:42:35 | 2021-08-18T20:42:35 | 249,285,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | #include <iostream>
#include "Logging.hpp"
void printError( const std::string& errorMessage, const std::string& end )
{
std::cout << errorMessage << end;
}
| [
"alexeypavlov.m@gmail.com"
] | alexeypavlov.m@gmail.com |
b942f5457f72d70fba8cdff7dd7c17d13c0d85f4 | 87a972e42adedb5a5fc498b446a1da2ed41628e1 | /homesys/tuner/TunerDevice.h | 635ba4f6653af0ac0b77fc81e208771e66b0885d | [] | no_license | gabest11/homesys | 4649f6eb697284dd445f2c8d557a4771e32c2d62 | 3645dd0d142d6332e5ece43ac2402058f2fb8198 | refs/heads/main | 2022-07-29T20:33:58.685388 | 2022-03-30T16:07:46 | 2022-03-30T16:07:46 | 467,268,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | h | #pragma once
using namespace System;
using namespace System::ServiceModel;
using namespace System::Runtime::Serialization;
using namespace System::Collections::Generic;
namespace Homesys { namespace Local
{
[DataContract]
public enum class TunerDeviceType
{
[EnumMember]
None = -1,
[EnumMember]
... | [
"gabest11@gmail.com"
] | gabest11@gmail.com |
a1a240d2b1aca1479551f20e9d7b3b0d6d968dc5 | 4677bc79b0a1131204f64d96972fc8e7ac9e7805 | /Marlin/EventSource.h | f6b4db7637541f8e2d94c41d2e700703087b5940 | [] | no_license | edwig/CXHibernate | 6a2f18328a25b13d75b9a54f8c8d7230ef60ce3e | d2f30e21e98838bacf0772dc8d386c92a630b249 | refs/heads/master | 2022-08-11T18:46:45.086712 | 2022-07-31T16:46:05 | 2022-07-31T16:46:05 | 131,417,873 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,984 | h | /////////////////////////////////////////////////////////////////////////////////
//
// SourceFile: EventSource.h
//
// Marlin Server: Internet server/client
//
// Copyright (c) 2014-2022 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... | [
"edwig.huisman@hetnet.nl"
] | edwig.huisman@hetnet.nl |
e715c271e321b596ae951866649460e40444b5d0 | 0e5cbdd139eb90f62247556e3aa5b6ccf89864a7 | /MyICP/icp.h | 41e3669bc6b54f435607fa2a33f7b49b905b5926 | [] | no_license | whigg/IterativeClosestPoint-ICP | fd4120a5da40f175b6fc9803b23c5165ee52d51d | 457024b8e06b3371a26d847a847dde548bffd3c1 | refs/heads/master | 2020-12-15T14:03:32.117733 | 2018-09-06T13:58:46 | 2018-09-06T13:58:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | #pragma once
#include <iostream>
#include <ANN\ANN.h>
#include <Eigen\Eigen>
class Icp
{
public:
Icp(double** M, int32_t const M_num, int32_t const dim);
virtual ~Icp();
void fit(double** T, int32_t T_num, Eigen::MatrixXd& R, Eigen::VectorXd& t, double const indist);
private:
void fitIterate(double** T, int32... | [
"jianhuyy@hotmail.com"
] | jianhuyy@hotmail.com |
b7ed84e70d4ebb48a94190ac1b682609e0c542ec | 2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85 | /codeforces/R569/CF1179C.cpp | 937ac43a72f18a138f89bd419940124da48b0e6d | [] | no_license | OrigenesZhang/-1s | d12bad12dee37d4bb168647d7b888e2e198e8e56 | 08a88e4bb84b67a44eead1b034a42f5338aad592 | refs/heads/master | 2020-12-31T00:43:17.972520 | 2020-12-23T14:56:38 | 2020-12-23T14:56:38 | 80,637,191 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | cpp | #include <bits/stdc++.h>
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 ROF(i, a, b) for (int (i) = (a); (i) >= (b); (i)--)
#define REP(i, n) FOR(i, 0, (n)-1)
#define sqr(x) ((x) * (x))
#define all(x) (x).begin(), (x).end()
#de... | [
"zhangbin199807@gmail.com"
] | zhangbin199807@gmail.com |
d6159530e6b0dae93bf33788f4b270f40595a91d | 3864a5bcee717bdf9fbdcc8c6e839579f5d3971a | /src/vec3.hpp | 40d38c312515a75cf7ad570f7057b1be26c1868c | [] | no_license | MattRickS/raytracer | 77764fe5ecb955cf1488daa4f2afaaa2b2e944d9 | d568a8e392e76eff34e39be5196594e47c5f0961 | refs/heads/master | 2022-11-18T20:38:10.522545 | 2020-07-13T13:51:07 | 2020-07-13T13:51:07 | 279,055,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,798 | hpp | #pragma once
#include <cmath>
#include <iostream>
#include <utils.hpp>
class vec3
{
public:
union
{
double data[3];
struct
{
double x;
double y;
double z;
};
struct
{
double r;
double g;
doub... | [
"mattalexshaw@gmail.com"
] | mattalexshaw@gmail.com |
e0c6d846b7418285cbbd0b54bb4d8f38b347d1e8 | e8cb2170814443329a9c36ff414624b0a6b589ad | /EASY/563_Binary Tree Tilt.cpp | c44539ceb9e6ececa1f6df4dc9d4411aebae5f31 | [] | no_license | alienxcn/LeetCodeAcceptedCode | acf64d1d53711290cc726bdaeb210b00dc82681c | aef033bccade2e64c34b7b72c1681da06576e8b1 | refs/heads/master | 2021-07-15T13:25:13.771472 | 2020-09-14T07:30:10 | 2020-09-14T07:30:10 | 207,759,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int temp;
int TreeTilt(TreeNode* root) {
if(root == NULL) {
return 0;
... | [
"me@alienx.cn"
] | me@alienx.cn |
1fd45a959830d68b96dfb37c99ab2ebd55f1f6f4 | f5788ce2deadbbe930a5396a8debd19d4b46e1a1 | /src/45_Permutations/Permutations_test.cc | a76639457f3522221e32c744347033db05c101bc | [] | no_license | feixia586/leetcode | 3d8c0c8a6d826fa0ba6931f26c15e4c38471d14e | d29da59412a1ce2f164434d9d4b16489e26e1852 | refs/heads/master | 2021-01-17T13:11:01.075096 | 2017-06-05T01:16:24 | 2017-06-05T01:16:24 | 15,178,743 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cc | #include "gtest/gtest.h"
#include "Permutations.cc"
TEST(Permutation, TestA) {
Solution sol;
vector<int> num1;
num1.push_back(3); num1.push_back(4);
vector<vector<int> > res = sol.permute(num1);
ASSERT_EQ(2, res.size());
ASSERT_EQ(2, res[0].size());
ASSERT_EQ(2, res[1].size());
}
| [
"feixia@cs.cmu.edu"
] | feixia@cs.cmu.edu |
9ff06edebc2c0e3d0fccff6bf1ed5b1519be151a | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /services/viz/public/cpp/gpu/gpu.h | 33a0998394ee8a630d63ce34effb5901f57ea3d1 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 3,121 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_VIZ_PUBLIC_CPP_GPU_GPU_H_
#define SERVICES_VIZ_PUBLIC_CPP_GPU_GPU_H_
#include <stdint.h>
#include <vector>
#include "base/macros.h"
#in... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
2c63fa01cc36ecf0228680f53975c5f02115b032 | df4a6153be9112431f90ce6b7be903c31a2f32af | /WinAPI_Template/WinAPI_Template/Player.h | d6fcac0add3b2e5c00e35134dfe1991620ab68d1 | [] | no_license | haroa/SGA | 5dd360049f8e904f0f3f4e8e829c19d352406b35 | 156c91b448dfc588a9abee595d2ce816aaa708aa | refs/heads/master | 2021-09-04T07:56:50.587071 | 2018-01-17T06:59:59 | 2018-01-17T06:59:59 | 107,367,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #pragma once
#include "SpritesObject.h"
#define GRAVITY 0.3f
class Player : public SpritesObject
{
// vars
private:
GameObject m_gameObj;
int m_playerState;
float m_fjumppower;
float m_fGravity;
bool m_isJumpping;
public:
Player();
~Player();
virtual void Update() override;
... | [
"32758491+haroa@users.noreply.github.com"
] | 32758491+haroa@users.noreply.github.com |
17ccf205752fbfb3747a6c4c4383e6e7dfb77469 | f5eab657e37cd61ba81f849eefb4aa3de8ed0e44 | /C/mosquito.h | f2536b36a47bc20109965721f4d89a4fb89a6f4b | [] | no_license | slphyx/Indivaria | 3cc31f91c6ac6c29510743f2f04388c72aa92365 | b9382f7e12cea788c880e98fd802431dfba21003 | refs/heads/master | 2022-03-06T08:35:22.769029 | 2022-02-24T13:44:37 | 2022-02-24T13:44:37 | 231,531,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #ifndef _MOSQUITO_
#define _MOSQUITO_
class mosquito
{
public:
double SporozoiteRate(double a,double x,double P,double n);
double InoculationRate(double m,double a,double b,double S);
double ReproductiveRate(double m,double a,double b,double x,double P,double n,double z);
double ReproductiveRate0(do... | [
"sakngoi@hotmail.com"
] | sakngoi@hotmail.com |
5700a6abe0264be0c9850cf52e6bf5abdfa8162e | 5a9a187cfbc5074d71bd4ac34217c2ff31adcfd2 | /tests/square.cc | f643f5fe055e16f90154054fc010279d459490e7 | [
"MIT",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wingo/pictie | abcc2d535ffdb82ddb291f6baa738c97a91b6ca4 | 2d8747f91b0e29a99c583ba567c2f23b1d319abd | refs/heads/master | 2020-05-07T19:28:37.388405 | 2019-04-23T12:40:23 | 2019-04-23T12:40:23 | 180,814,709 | 16 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cc | #include <stdio.h>
#include "../pictie.h"
int main (int argc, char* argv[]) {
if (argc != 2) {
fprintf(stderr, "usage: %s OUT\n", argv[0]);
return 1;
}
DrawingContext cx(200);
PainterPtr square = transform(color(Color(100, 100, 200)),
Vector(0.1,0.1),
... | [
"wingo@igalia.com"
] | wingo@igalia.com |
021a3503e81d0cca468a46372ee5dc78aab12967 | 3635df8d74077ff1d51e468f545d21a7a73a584e | /Anima/include/AnimaMathVector4.h | 672285ecbe4c0658a5d36a7ab6f4c5ecb4eaecc6 | [] | no_license | edamiani/Anima-Engine | 2615ee632b10e35dceb82b902661acd988aa9396 | 14b99b71bf5ea5c4b19d08037ca56298a36f6288 | refs/heads/master | 2021-12-14T10:38:18.883495 | 2021-12-02T20:08:08 | 2021-12-02T20:08:08 | 18,024,642 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #ifndef __ANIMA_MATH_VECTOR4__
#define __ANIMA_MATH_VECTOR4__
#include "AnimaTypes.h"
namespace AE
{
namespace Math
{
class Vector4
{
public:
float x, y, z, w;
Vector4() { }
Vector4(const Vector4 &vec) : x(vec.x), y(vec.y), z(vec.z), w(vec.w) { }
Vector4(float xValue, float yValue, float zValue, ... | [
"edamiani@gmail.com"
] | edamiani@gmail.com |
a446f23728463a44f9fafdabbbadee7e4df90652 | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/SEAL_Foundation/SealBase/tests/SaveErrno01.cpp | d1ce4782306c7efc715be1b615646f75fd646803 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include "SealTest/SealTest.h"
#include "SealBase/SaveErrno.h"
#include "SealBase/Signal.h"
#include <iostream>
#include <iomanip>
#include <cerrno>
using namespace seal;
int seal_test::SaveErrno01(int, char **argv)
{
Signal::handleFatal (argv[0]);
seal_test::out << "errno (default) = " << errno << std::end... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
eaee5372d2292d71444156a9094cd2524a0a110a | 80fda55e349f79ded19ab5176c90c99ec3e1c272 | /contests/abc/11/115/a.cpp | afae8b2cb8bd710bc5e509238704997dfa5dd616 | [] | no_license | naoto0804/atcoder_practice | 6b161e36eb25ba26ac715caee99364c2bf9fc95f | 0416b8f45bd36e4ea307a13e3860e40cd7b9f94b | refs/heads/master | 2021-07-19T21:42:10.946063 | 2021-07-05T01:33:31 | 2021-07-05T01:33:31 | 250,864,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for(ll i=0;i<(ll)(n);i++)
#define rep2(i, m, n) for(ll i=m;i<(ll)(n);i++)
#define rrep(i, n, m) for(ll i=n;i>=(ll)(m);i--)
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = ... | [
"kingfisher0804@gmail.com"
] | kingfisher0804@gmail.com |
4d21e72b32271a6f8b24a8959e245b9fc3d1b320 | dfc8edc3a1c832961bb9a7041bad55b25c5ea146 | /games/catastrophe/impl/structure_impl.cpp | be657d1b77a166f8b03e3e52bbb218ab0d89f392 | [
"MIT"
] | permissive | siggame/Joueur.cpp | 5f7332e2d8bbd0daac078ed93ca697a74a847435 | 673fce574ca80fb8f02777e610884a1c9808501d | refs/heads/master | 2022-06-05T16:32:09.667029 | 2022-05-04T15:43:48 | 2022-05-04T15:43:48 | 39,783,980 | 9 | 21 | MIT | 2020-11-08T17:06:08 | 2015-07-27T16:02:44 | C++ | UTF-8 | C++ | false | false | 3,524 | cpp | // DO NOT MODIFY THIS FILE
// Never try to directly create an instance of this class, or modify its member variables.
// This contains implementation details, written by code, and only useful to code
#include "../structure.hpp"
#include "../../../joueur/src/base_ai.hpp"
#include "../../../joueur/src/any.hpp"
#includ... | [
"admin@tehpers.com"
] | admin@tehpers.com |
e5a18e32402a15336c4ad8833976eb099d134fd6 | c5b14f66fb0767a6fa1d7c36e1adc520b01b273f | /Precompiled.h | 855953c678ddb4685dbd8b7aa82f416a7c208723 | [] | no_license | ValentinScorp/DirectX | 0be19a14f9c60e2172ae936497151ceadd9d2871 | 8578bd88286327903a42b27d16218f72bb9472b9 | refs/heads/master | 2021-09-05T01:41:41.868139 | 2018-01-23T14:33:02 | 2018-01-23T14:33:02 | 116,135,026 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | h | #ifndef SOURCE_PRECOMPILED_H_
#define SOURCE_PRECOMPILED_H_
#include <windows.h>
#include <windowsx.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <list>
#include <string>
#include <fstream>
#include <iostream>
#include <iterator>
#include <d3d9.h>
#include <d3dx9.h>
#include <time.h>
#include ... | [
"valentin.blo@gmail.com"
] | valentin.blo@gmail.com |
d2407d59eb1cb3a72072a7d31fcadf53b6065f56 | 54dda1d09ce43869231b20736bf13fcf2e870ce3 | /LC1340_jumpGame_V.cpp | 69989a9ca93fc90e2f075408eb49e1ddfbcdc4b7 | [] | no_license | byronrwth/sonar_static_code_analysis | 084bd7c0559365e3bdc1a24a04a3f020da2e2659 | 2246ca588fa348e35bb5db1481529b2ee29f952a | refs/heads/main | 2023-04-09T19:55:12.521398 | 2021-04-21T16:53:01 | 2021-04-21T16:53:01 | 359,955,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | class Solution {
public:
void jump( vector<int>& arr, int d, unordered_map<int, vector<int>>& graph ) {
deque<int> dq;
for(int i=0;i < arr.size(); ++i) {
while( dq.size() && arr[ dq.back() ] < arr[i] ) {
int j = dq.back() ;
dq.pop_back();
... | [
"byroneagle@gmail.com"
] | byroneagle@gmail.com |
e7d4df98291983242995b5e144f2ca3a8c76faf7 | 7763ebabad16e792d41ba2753a9746bf7496a26e | /cocos2D/Lib/XFlatformCorePackage/IOS_CP/include/Platform/GeoLocator.h | f5537671a383f4d54b98dbf3bb4be98fbdd3ff0d | [] | no_license | flowerfx/ColorLockPuzzle | a4dc1ebf4ccfce74da5bb1f4472c71d2182351bc | 2e17e6305a437a1e1c76093d82f63703ecfa3def | refs/heads/master | 2021-01-10T23:31:44.419176 | 2020-05-06T14:04:09 | 2020-05-06T14:04:09 | 69,724,573 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | h | #ifndef __GEOLOCATOR_H__
#define __GEOLOCATOR_H__
/// This define (PLATFORM_IMPL) must be defined here because is a protection that
/// that does not let you to include PlatformBaseInterface/PlatformBase.h directly.
#define PLATFORM_IMPL
#include "PlatformBaseInterface/PlatformBase.h"
#include <mutex>
namespace plat... | [
"qchien.gl@hotmail.com"
] | qchien.gl@hotmail.com |
02342b01f7b1a721f47458b4470d730e509519b6 | 6c96f814e3d9702a1d122283f85974dcf832cf85 | /ui/views/bubble/bubble_dialog_delegate_view.cc | e89cf97713d84e76a5331bd5203c31716e341586 | [
"BSD-3-Clause"
] | permissive | TeamFirework/SapphireBrowser | bb3c37029d3563cecda6b385ecf3c2fe47b59822 | 700552d0b781685f25d6ffe66c7f25febd1f7ba9 | refs/heads/master | 2023-02-28T14:05:33.172360 | 2018-09-23T18:39:05 | 2018-09-23T18:39:05 | 149,320,091 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,802 | 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 "ui/views/bubble/bubble_dialog_delegate_view.h"
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
#include "ui/accessib... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8a547d4c9fb3d690b920c911246895430c92993b | 5307d5d3d3760240358ad73529723fe9c7411b07 | /src/wallet/test/init_test_fixture.h | 2af1b2ac2a642105891d335f55cec2541c6d4cb5 | [
"MIT"
] | permissive | cruro/cruro | b75d4900c760c40d9641c3355350e9ed56723f84 | 80aa93365db5e6653bb8235fb61914ee4aa087e8 | refs/heads/master | 2020-06-18T10:31:58.958195 | 2019-07-12T14:39:43 | 2019-07-12T14:39:43 | 196,270,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | // Copyright (c) 2018-2019 The Cruro Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_TEST_INIT_TEST_FIXTURE_H
#define BITCOIN_WALLET_TEST_INIT_TEST_FIXTURE_H
#include <interfaces/chain.h>
... | [
"“doctordeep@protonmail.com”"
] | “doctordeep@protonmail.com” |
b1b3df0858168c1f871e8bffad962a431f765298 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/1.65/e | 75ce705e0b3ba7fe396ce8ad0e3ff5a90d2c3e28 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180,862 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
880c2ac0cb7e742daf5446315cf23f97a007ede3 | 6e1730911ab9077141213ad908f077b8061c2940 | /joint_deformation/libNetwork/HNFileCommunicator.cpp | 99921494a951016ff5ae43cd8607d9ba0baea6cc | [] | no_license | neurodiverseEsoteric/JointDeformation | 9a5b8de7880b5764587d4b7243c24a3eeabab0c8 | b2b34105f12db06ca9b8889ee1381b3163ea043f | refs/heads/master | 2021-05-27T23:51:39.815264 | 2014-09-11T20:50:45 | 2014-09-11T20:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,253 | cpp | #include "HNFileCommunicator.h"
#include <fcntl.h>
void HNFileCommunicator::run() {
if(_info.isWritable)
return;
HNNetworkPacket packet;
long oldTimestamp = 0, totalDuration = 0;
bool repeating = false;
while(_fd > 0){
try {
readPacket(&packet);
long duration = oldTimestamp == 0 ? 0 : (packet.getTimesta... | [
"tianny007@gmail.com"
] | tianny007@gmail.com |
aedae094b45ea23cb641ed9859444a19965e7988 | 0319fb18e7ba20030e7f950e97f7661cd7860596 | /rva_servo_search/src/search.h | a34e0b7437a6470c3fcf4fb4ac8c0b0b64c89bd3 | [] | no_license | NEU-TEAM/rva_package | 01a862e400d2f4203f445c8037eb0984fb869996 | a44d78f7d64608936ac50824cbf54b4d38a0abe9 | refs/heads/master | 2020-04-12T06:40:03.916339 | 2016-09-05T03:09:42 | 2016-09-05T03:09:42 | 63,749,524 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #ifndef SEARCH_H
#define SEARCH_H
#include <iostream>
using namespace std;
class Search
{
public:
Search();
Search(int minpx, int maxpx, int xstep, int minpy, int maxpy, int ystep, int cx, int cy);
bool getNextPosition(int & px, int & py);
inline void getCenter(int & cx, int & cy)
{
cx ... | [
"damoninhit@qq.com"
] | damoninhit@qq.com |
80b086449362f3af50cc99b2d9f17eb2a066d593 | 5b6eb98f4ad313110c3382e7a7658d57ed06c9a3 | /131A.cAPS lOCK.cpp | 753b70e0904a82443d9aef21067f61850e4919f2 | [] | no_license | mhaseeb24/Code-Forces | 17827bcdc2549fd16e8fae31b90460c49480bdf3 | 0402b01d22935e2822189e43be6a063e802f4101 | refs/heads/main | 2023-05-02T13:29:24.084435 | 2021-05-26T02:38:29 | 2021-05-26T02:38:29 | 327,549,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
string st=s;
st.at(0)=toupper(st.at(0));
int r=0;
for(int i=0;i<st.length();i++)
{
if(st.at(i)>64&&st.at(i)<91)
{
r++;
}
}
if(r==s.length())
{
for(int i=0;i<s.l... | [
"mhaseeb824@gmail.com"
] | mhaseeb824@gmail.com |
1de978bf3be8cd508872a3f08103b2fec7c989a0 | 9ca71fef91671914e0152a9cc5039a18cb60d63b | /parallel/project3/hello.cpp | db5a8c4935c27e3721ded37efc738ae42fecdd53 | [] | no_license | robertmaxwilliams/fall2020 | 42054f6ff720282b3be06e0321396a4292499dda | ddaab0d455e7cf1e37d9d294eda58ccbce33d750 | refs/heads/master | 2023-02-11T15:45:59.071578 | 2020-12-10T01:09:34 | 2020-12-10T01:09:34 | 299,367,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include <iostream>
#include <cstdint>
#include <vector>
#include <thread>
void say_hello(uint64_t id)
{
std::cout << "Hello from thread: " << id << std::endl;
}
int main()
{
const uint64_t num_threads = 6;
std::vector<std::thread> threads;
for (uint64_t id = 0; id < num_threads; id++) {
thread... | [
"robertmaxwilliams@gmail.com"
] | robertmaxwilliams@gmail.com |
f58753de4238a48bf3012d64a0d3a2bcee3b6824 | 3fb7212f0abd775aa35ad15783f1ef15e5f1e4be | /HelloForm.h | e90d6680b8e4ba5f8047835027a943e44a41980c | [
"Unlicense"
] | permissive | cmckni3/qt-sqlite | 2d8041dd80dafe2fe32639634b7beea5c5ae303e | aed157f49d080382d7b5d510f3fdc2fca11ddcc8 | refs/heads/master | 2020-04-05T05:12:20.805511 | 2018-09-05T20:31:30 | 2018-09-05T20:31:30 | 14,012,382 | 1 | 0 | null | 2018-09-05T20:31:31 | 2013-10-31T09:19:14 | Makefile | UTF-8 | C++ | false | false | 454 | h | #ifndef _HELLOFORM_H
#define _HELLOFORM_H
#include "ui_HelloForm.h"
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlError>
#include <QtSql/QSqlQuery>
#include <iostream>
class HelloForm : public QDialog {
Q_OBJECT
public:
HelloForm();
virtual ~H... | [
"cmckni3@gmail.com"
] | cmckni3@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.