blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26bb6298a5db0e9f0d2dd9402a2235b9290defdb | aaad762cd1d72e7dc46052e3112d148137c8f741 | /lab_5q15.cpp | 0c6cb997ab427770663054aa4b9f4c6947e30a1b | [] | no_license | Ashwinak2000/Project-1 | a0c1bfc9d376e66849c452dc89256238c8ccd9a9 | 0a0a91926ef5ba999098f00bbf8858aef576203a | refs/heads/master | 2021-07-24T04:34:32.804530 | 2018-11-18T14:40:55 | 2018-11-18T14:40:55 | 143,856,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include<iostream>
using namespace std;
/*
*****
* *
* *
**
*
*/
int main()
{
//Find number of rows
int n=5;
cout<<"Enter value of rows(n)"<<endl;
cin>>n;
int star=0;//Position of star per row.
// for loop for the rows
for(int i=0;i<n;i++)
{
//For loop for the columns
for(i... | [
"noreply@github.com"
] | noreply@github.com |
5392392a6f4518205c4d24f705044210c3e24f7e | f87ffdde15f1c2bb42220e73b283b17f15342363 | /Test_IPC/BaseLayer.cpp | 3c7ae15b5608f7a9a9a3d1b4a99e14dcd4b366c9 | [] | no_license | dbstn1369/IPC | ab5a1cfb8d8070374cdbcb03b4fdb5e341494b30 | 66c9bcbbdf0030271c822b2d3f23a00702909076 | refs/heads/master | 2020-04-24T10:51:14.869267 | 2019-02-21T16:37:08 | 2019-02-21T16:37:08 | 171,907,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | cpp | // BaseLayer.cpp: implementation of the CBaseLayer class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Test_IPC.h"
#include "BaseLayer.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
////////////... | [
"dbstn1369@gmail.com"
] | dbstn1369@gmail.com |
1fe286046b6c7dfcd1fa19ba09d8969740d12f51 | b301ab714ad4d4625d4a79005a1bda6456a283ec | /POJ/1905.cpp | 643a019710c27e262d98f47370a0eb51009be896 | [] | no_license | askeySnip/OJ_records | 220fd83d406709328e8450df0f6da98ae57eb2d9 | 4b77e3bb5cf19b98572fa6583dff390e03ff1a7c | refs/heads/master | 2022-06-26T02:14:34.957580 | 2022-06-11T13:56:33 | 2022-06-11T13:56:33 | 117,955,514 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <set>
#include <map>
#include <cmath>
using namespace std;
double esp = 1e-5;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
double l, d, c;
while(cin >> l >> d >> c){
if(l < 0 && d <... | [
"296181278@qq.com"
] | 296181278@qq.com |
b193f6ad403b970986689c58db11c9190a227866 | 3bbd76064ee4549228d7fc89c0666493c93bae4d | /code/01_points/model.cpp | 4e7ace84d4b91e0931a8fddd70f5529b58f4c6f7 | [] | no_license | Ant-Play/tinyrender | 4a5594de84d533ea6a320c0d5f6c1546fefc587f | 7f5f8e7226e77f152e69e10f8696022b2986344a | refs/heads/master | 2023-04-13T03:16:32.949249 | 2021-01-03T01:17:40 | 2021-01-03T01:17:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include "model.h"
Model::Model(const char *filename): verts_()
{
std::ifstream in(filename, std::ifstream::in);
if (in.is_open()) {
std::string line;
while (std::getline(in,line))
{
char trash;
std::istringstream iss(line);
if... | [
"abcyuxue123@126.com"
] | abcyuxue123@126.com |
5869be1731883c8c43e1a1a05aad4872f13076e1 | 63a8dc03928ac350f578b4fece4cb581f1ba8fc4 | /include/caffe/layers/anno_data_layer.hpp | 7ca59fcf730a8c5886ec1bc18035b99f310db17c | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | bigning/caffe | 8d43cc55e9baa6c215b24a34cc3daeb747a75f92 | aa0e2477ff9091a00cd58e4708a076aaf3a4b940 | refs/heads/master | 2020-12-07T06:26:21.411494 | 2016-05-06T02:28:00 | 2016-05-06T02:28:00 | 56,088,184 | 0 | 0 | null | 2016-04-12T18:33:22 | 2016-04-12T18:33:21 | null | UTF-8 | C++ | false | false | 1,487 | hpp | #ifndef ANNO_DATA_LAYER_HPP_
#define ANNO_DATA_LAYER_HPP_
#include <vector>
#include <string>
#include <map>
#include "caffe/blob.hpp"
#include "caffe/data_reader.hpp"
#include "caffe/data_transformer.hpp"
#include "caffe/internal_thread.hpp"
#include "caffe/layer.hpp"
#include "caffe/layers/base_data_layer.hpp"
#i... | [
"bigning1118@gmail.com"
] | bigning1118@gmail.com |
ac32dbbe8f0fefde1ff6d9dfdc7b926693d108a3 | a72a2e6a96adef9d7f6ad4b913f386c9a4a8e0a4 | /lec-18/BinarySearchUsingRecursion.Cpp | 5c7183e9ef35ec580ab254a9977eeb7ad959c6ae | [] | no_license | Mohit29061999/StAndrews-Cpp | dc9d5e022e7ce351682525974da7445e000c28fe | 84025f53a2473ab3142f508fcbdd74e57662b0e8 | refs/heads/master | 2023-02-26T00:06:09.938805 | 2021-01-29T07:32:09 | 2021-01-29T07:32:09 | 298,160,687 | 18 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include <iostream>
using namespace std;
int bs(int arr[],int n,int start,int end,int x){
if(start>end){ //ye case tab aayega jab saari values search ho
return -1; //gyi hogi
}
// [1,2,3,4,5,6,7,8,9,10]
int mid = (start+end)/2; //mid ka index nikala h
if(arr[mid]==x){
... | [
"noreply@github.com"
] | noreply@github.com |
7b025ab0b608962813448fff9c6724ec07551806 | a511497ea715c06a26c830fb230bf023db84aff5 | /Communication.h | 48b65f0c7807614187cf70cbc912a7af277438ee | [] | no_license | amirhammad/wireless433MHz | b0bc1609fa1bec82d65ed6a674989b2c6cfaa597 | 84c6ed0cc1829725623aa7f630daa34366e62249 | refs/heads/master | 2021-01-19T00:52:35.283506 | 2016-06-13T07:04:37 | 2016-06-13T07:04:37 | 61,014,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include <QObject>
class Communication : public QObject {
Q_OBJECT
int m_fd;
QByteArray m_buffer;
int m_index;
int m_sendIndex;
void sendSync();
void parse();
public:
Communication(QObject *parent = 0);
private slots:
void on_socketNotifier_activated(int fd);
void on_timer_timeout();
};
| [
"amir.hammad@hotmail.com"
] | amir.hammad@hotmail.com |
bcf2f02e9b536061846d2ec4508e16de21e2e073 | a4d8cb480cbdb196e79ce482f5f9221fc74855e2 | /2009/20090728_appline_onestream.cpp | d653b2765503873be0283292980fe4476044d86e | [] | no_license | bonly/exercise | 96cd21e5aa65e2f4c8ba18adda63c28a5634c033 | dccf193a401c386719b8dcd7440d1f3bb74cb693 | refs/heads/master | 2020-05-06T13:51:29.957349 | 2018-02-10T16:14:52 | 2018-02-10T16:14:52 | 3,512,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | #include <fstream>
using namespace std;
int main()
{
fstream fs;
fs.open("/tmp/tek.txt",ios::out|ios::binary);
fs << "line 333333333\n";
fs << "444444\n";
//fs.flush();
//fs.seekg(ios::beg);
fs.close();
fs.open("/tmp/tek.txt",ios::in);
ofstream is;
is.open("/tmp/tekret.txt",ios::out);
is << "ove... | [
"bonly@163.com"
] | bonly@163.com |
4e1e17bf42eed4453f56b0c1541a1c7b17c82537 | 6e9f140ae0ab51bfcb4a2238dacea893de39f22b | /src/UnitTestPRD/UnitTestPRD.cpp | 18d38f879edc64db898d365b256c760a3d7ee2f4 | [] | no_license | YohanDerenne/PRD-Operational-Research | cf55e6965500cdd753c753d9d9aec72e50e45109 | 0db264536e585dc340a7fa52863ba6bc0b02a8ae | refs/heads/main | 2023-04-14T00:57:58.886194 | 2021-04-14T15:53:51 | 2021-04-14T15:53:51 | 316,169,441 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 17,621 | cpp | #include "pch.h"
#include "CppUnitTest.h"
#include "../PRD/Instance.h"
#include "../PRD/Instance.cpp"
#include <string>
#include "../PRD/Result.h"
#include "../PRD/Result.cpp"
#include "../PRD/SolverControler.h"
#include "../PRD/SolverControler.cpp"
#include "../PRD/Solver.h"
#include "../PRD/Solver.cpp"
#include "../P... | [
"yohan.derenne@gmail.com"
] | yohan.derenne@gmail.com |
be1b8757573badebddbfbe533ddce6baa76e4d2b | ddc2551fa7665a63cf26291442ed409e03b5e218 | /.Sincrono/Report/paper.cpp | 9e0eeb5c075612db7f3e6787d613271859ade1b8 | [] | no_license | kapyderi/recoverdrake-v3 | 41052a7c86e3f25d7cde174e1269e60ed9528164 | e75375b692d5d7cc7dc224d55cd3c8329d4956b0 | refs/heads/master | 2020-06-08T16:26:57.305002 | 2015-02-14T01:34:41 | 2015-02-14T01:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,353 | cpp | #include "paper.h"
#include "sectioneditordlg.h"
#include <QKeyEvent>
struct _size {
double width;
double heigth;
};
_size StandarSizes [] = {
{841 , 1189},{594 , 841},{420 , 594},{297 , 420},
{210 , 297}, {148 , 210},{105 , 148},{74 , 105},
{52 , 74}, {37 , 52}, {1000 , 1414... | [
"juanjo.kapyderi@gmail.com"
] | juanjo.kapyderi@gmail.com |
34645084023a466a1f7ce99615eb47e247e95bcb | 199db94b48351203af964bada27a40cb72c58e16 | /lang/mk/gen/Bible50.h | 57ca415187cd3fc6307bc551ca4c30df452fee77 | [] | no_license | mkoldaev/bible50cpp | 04bf114c1444662bb90c7e51bd19b32e260b4763 | 5fb1fb8bd2e2988cf27cfdc4905d2702b7c356c6 | refs/heads/master | 2023-04-05T01:46:32.728257 | 2021-04-01T22:36:06 | 2021-04-01T22:36:06 | 353,830,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,495 | h | #include <map>
#include <string>
class Bible50
{
struct mk1 { int val; const char *msg; };
struct mk2 { int val; const char *msg; };
struct mk3 { int val; const char *msg; };
struct mk4 { int val; const char *msg; };
public:
static void view1() {
struct mk1 poems[] = {
{1, "1 Павле и Тимотеј, слуги на Христос Исус... | [
"max@mkoldaev.ru"
] | max@mkoldaev.ru |
18ca209264eabf13ba050e8cd495a39f067a793d | 3de2cde7669ca200214415e28967e2bbdbeea5c8 | /dev/test/so_5/execution_hint/basic_checks/main.cpp | 3df47b4e96c643decfbe40d0d41c60b546f89fa7 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | crystax/android-vendor-sobjectizer | 01ec752f19664c8d4563cdf077a674c06edcc81c | 443f3b456f83e8ce8be972a28d150da7abb48fdd | refs/heads/master | 2020-12-30T22:32:12.319910 | 2016-03-25T10:14:02 | 2016-03-25T10:14:02 | 58,122,012 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,464 | cpp | /*
* Test for basic operations with execution hints.
*/
#define SO_5__EXECUTION_HINT__UNIT_TEST
#include <utest_helper_1/h/helper.hpp>
#include <so_5/all.hpp>
class test_environment_t
: public so_5::environment_t
{
public :
test_environment_t()
: so_5::environment_t(
so_5::environment_params_t() )
... | [
"eao197@1d1731ae-3f85-447d-88f8-c72b288064d1"
] | eao197@1d1731ae-3f85-447d-88f8-c72b288064d1 |
f110bd3aacd78d21ad905a03ad04859c1ad4c4d4 | 6fc84b8d0a26d1d08cf9304dbb21f76c532ea082 | /fmtgenrunnable.cpp | 1958353cb8b56a1cea8f28a960e4121c04b2e232 | [] | no_license | Smitt64/FmtHelper | e8b8cf37552d3a288b1d244d98ad5c019a5a1879 | 2f985ade1388e570b4ce660b1aafea28e69e49ee | refs/heads/master | 2020-08-27T06:31:14.359573 | 2015-08-30T21:12:54 | 2015-08-30T21:12:54 | 41,204,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include "fmtgenrunnable.h"
#include <QTextStream>
#include "fmtobject.h"
FmtGenRunnable::FmtGenRunnable(const QModelIndex &index, const QSqlDatabase &db)
:QObject(NULL), QRunnable()
{
_index = index;
_db = db;
result = 0;
setAutoDelete(true);
}
void FmtGenRunnable::run()
{
QString cpp, tables... | [
"smitt64@yandex.ru"
] | smitt64@yandex.ru |
24a1b8c1fc0347bdd99c1407c742b3657905d80f | 8b77fcdb9ca3e88f900994d753f522fecfdd956d | /4o Semestre/Análisis de Algoritmos/Ejercicio 05/SegmentTree.cpp | 527b9460a39d1a432080603bdcf89ebf6f52b403 | [] | no_license | akotadi/ESCOM | a345665639659880a60fe49c9d3288d83210e3ec | f0e19796dd70c0658af7115b84005631ccc2403f | refs/heads/master | 2022-12-13T01:15:23.515074 | 2020-04-03T04:21:43 | 2020-04-03T04:21:43 | 125,299,374 | 6 | 1 | null | 2022-12-09T10:18:03 | 2018-03-15T02:07:16 | HTML | UTF-8 | C++ | false | false | 1,480 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 30;
template<class T> struct SegTree {
T dato;
int i, d;
SegTree* izq, *der;
SegTree(int I, int D) : izq(NULL), der(NULL), i(I), d(D), dato() {}
~SegTree() {
if (izq) delete izq;
if (der) dele... | [
"manuel_7795@hotmail.com"
] | manuel_7795@hotmail.com |
5a0a44814074bb2d6600b3e767b02981e48eec58 | 4f98aa76ef3ff2d7bd1f93733853577ed7d1de8c | /PC-kom-src/src/LogicUI_imp/utils_Terminal/Terminal_SendSection.hpp | ddc94df140da0a3170c29ddf13794bd0e5bee940 | [] | no_license | Generall14/PC-kom | fc3b8a52fba9530753606d796f46ef80b4c11e40 | 8764858dcde8a5b9ed4cf8e4ee55846316654455 | refs/heads/master | 2022-07-04T20:51:24.662135 | 2022-06-28T11:06:57 | 2022-06-28T11:06:57 | 194,335,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | hpp | #ifndef TERMINAL_SENDSECTION_HPP
#define TERMINAL_SENDSECTION_HPP
#include <QObject>
#include <QLayout>
#include <QString>
#include <QTimer>
#include <QLineEdit>
#include <QCheckBox>
#include <QSpinBox>
#include <QBoxLayout>
class Terminal_SendSection : public QObject
{
Q_OBJECT
public:
Termin... | [
"wojciech_kogut@o2.pl"
] | wojciech_kogut@o2.pl |
2d4923a620569fcc7db7e2ed8d04b020458681f1 | 43441cde04695a2bf62a7a5f7db4072aa0a6d366 | /vc60/src/StaticMem.cpp | 999a5f97398d5ba31a74668e4af62ffd33c1fa68 | [] | no_license | crespo2014/cpp-lib | a8aaf4b963d3bf41f91db3832dd51bcf601d54ee | de6b653bf4c689fc5ceb3e9fe0f4fe47d79acf95 | refs/heads/master | 2020-12-24T15:23:32.396924 | 2016-03-21T11:53:37 | 2016-03-21T11:53:37 | 26,559,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,326 | cpp | // StaticMem.cpp: implementation of the CStaticMem class.
//
//////////////////////////////////////////////////////////////////////
#include "StaticMem.h"
#define _FILENAME_ "staticmem.c"
#define _CHECK_BLOCK_ if ((!m_pblock)||(!m_block_max)) return _LOG_ERROR ERR_HANDLE,"Memory is undefined");
#define _CHE... | [
"lester.crespo.es@gmail.com"
] | lester.crespo.es@gmail.com |
5dd99e85e42a940b698afa4a1a3ebaac2c232e0b | 1c6371658cfe23d2d0c7d17731ef254b390439b8 | /Source/NameServer/Ns_el.cpp | d719735659c878ae16631345e7e79fdce24faeb2 | [] | no_license | mfkiwl/Orchestrator | 6f5aa5c7f88d73220616fcadf9333d96565bd730 | b9d8f563be7c99d131fda3d05381f01ab0e7a803 | refs/heads/master | 2022-12-10T00:53:04.887565 | 2018-11-05T15:54:08 | 2018-11-05T15:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,969 | cpp | //------------------------------------------------------------------------------
#include "Ns_el.h"
//==============================================================================
Ns_el::Ns_el()
{
Put<Dindex_t>();
Put<Sindex_t>();
Put<Tindex_t>();
Put<Oindex_t>();
}
//--------------------------------... | [
"adr1r17@soton.ac.uk"
] | adr1r17@soton.ac.uk |
ce12673eeaec9d4c404ace64c2a7896131bb7f43 | 43101a53873405918a35d6972afe8173289d3163 | /leetcode/quick_sort.cpp | 85c7ebdf109236fbe60c2b460b4042be46f11109 | [] | no_license | dycforever/program | ba796c0b43d6a6353f93793a9c3c4d4d49e919bd | 10259b95c5e92303e40117f97a5735c8306214a5 | refs/heads/master | 2021-06-29T17:52:52.768063 | 2021-01-31T10:37:29 | 2021-01-31T10:37:29 | 12,435,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | #include <iostream>
#include <vector>
#include <random>
#include <tuple>
using namespace std;
void qs(vector<float>& data, size_t start, size_t end) {
float* dataPtr = data.data();
if (end <= 1 + start) {
return;
}
if (end == 2 + start) {
if (data[start] <= data[start + 1]) {
... | [
"yichuan.dingyc@alibaba-inc.com"
] | yichuan.dingyc@alibaba-inc.com |
5ab0a678172a211f516b94fad07fb3d707e642e4 | 9da899bf6541c6a0514219377fea97df9907f0ae | /Editor/BlueprintGraph/Classes/K2Node_Literal.h | c81fd22f5e628d188fcfc61acedbda7d194512dc | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,109 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "K2Node.h"
#include "Textures/SlateIcon.h"
#include "K2Node_Literal.generated.h"
class AActor;
class FBlueprintActionDatabaseRegistrar;
class UEdGraphPin;
UCLASS(MinimalAPI)
class UK2... | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
4b974df7ca755cafb9169622c0525e0d90878738 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/BRepBuilderAPI_MakeEdge.hxx | 48c2f8ba198ca27a8dc2cc7b508144469d071600 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,058 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BRepBuilderAPI_MakeEdge_HeaderFile
#... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
690b8c003294ca7e5527f5b748839ca093ed25b4 | 97ca456c57dd3e5e4e05c8ec23f61efb744431c7 | /.bak/SbrYYY.h | 2a2354b96354abc23616ee393a7b835a58642c4f | [] | no_license | kwokhung/testESP32 | 870b807749b7ff3b77dbb91d6e4bb61f675b9953 | 0005d5b8e131b86cda8d29c1be6325d58b86d3ab | refs/heads/master | 2020-12-30T11:02:32.516155 | 2019-03-18T04:56:37 | 2019-03-18T04:56:37 | 98,839,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #ifndef SbrYYY_h
#define SbrYYY_h
#include "SbrBase.h"
class SbrYYY : public SbrBase<SbrYYY>
{
public:
friend class SbrBase;
private:
SbrYYY(std::string name)
: SbrBase(name)
{
}
void setup() override;
void loop() override;
};
#endif | [
"chu_kwokhung@yahoo.com.hk"
] | chu_kwokhung@yahoo.com.hk |
7c9c1c9dc0884433165e54cae353d62f87e91301 | dccb136394c3c7f4a636f17f444ebaf95e24ab66 | /Baekjoon/baekjoon_14226.cpp | 472fa9ad510946016a4e9f564a03f9a163528e3c | [] | no_license | Oh-kyung-tak/Algorithm | e2b88f6ae8e97130259dedfc30bb48591ae5b2fd | be63f972503170eb8ce06002a2eacd365ade7787 | refs/heads/master | 2020-04-25T22:37:41.799025 | 2020-01-19T08:55:42 | 2020-01-19T08:55:42 | 173,117,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
queue<pair<int,int>> q;
int visit[2001][2001] = { 0, };
int N;
int copy = 0;
int cnt = 0;
void check_min()
{
q.push(make_pair(1,0));
while (1)
{
int size = q.size();
for (int i = 0; i < size; i++)
{
int num... | [
"noreply@github.com"
] | noreply@github.com |
d17fb531f30470b5b7cdd9483fa9965b67c14ef3 | ac0b9c85542e6d1ef59c5e9df4618ddf22223ae0 | /kratos/applications/PfemFluidDynamicsApplication/pfem_fluid_dynamics_application_variables.cpp | 1ea770e7c4d08b2c60464043667041ea53724d94 | [] | no_license | UPC-EnricBonet/trunk | 30cb6fbd717c1e78d95ec66bc0f6df1a041b2b72 | 1cecfe201c8c9a1b87b2d87faf8e505b7b1f772d | refs/heads/master | 2021-06-04T05:10:06.060945 | 2016-07-15T15:29:00 | 2016-07-15T15:29:00 | 33,677,051 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | //
// Project Name: KratosPfemFluidDynamicsApplication $
// Created by: $Author: JMCarbonell $
// Last modified by: $Co-Author: $
// Date: $Date: February 2016 $
// Revision: $Revision: 0.0 $
//... | [
"enriquebonetgil@hotmail.com"
] | enriquebonetgil@hotmail.com |
09829d72f3ce4f235ba0add262dd777ea8da7e0d | 543baf3f63e6a6b47534b524e54fa90c37613959 | /codeforce/189/A.cpp | b68a35b32668a098c776bb7d43a9ee3f9576da9e | [] | no_license | funtion/algorithmProblems | ac9341f9fc5233cffe51d2140404983763b66265 | dd27afc25670ea3ad2a681dc382a3e500e530c1a | refs/heads/master | 2020-05-04T05:15:44.150235 | 2014-01-12T10:53:27 | 2014-01-12T10:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include <iostream>
using namespace std;
int n,a,b,c,dp[4001];
int g(int i,int d){
if(i-d<0)return 0;
if(i-d==0)return 1;
if(dp[i-d]==0)return 0;
return dp[i-d]+1;
}
int main(){
cin>>n>>a>>b>>c;
//dp[a]=dp[b]=dp[c] = 1;
for(int i=1;i<=n;i++){
//if((i==a||i==b||i==c)&&i!=n)continue;
... | [
"acm@acm.com"
] | acm@acm.com |
5e3763d9582f60ad65fd07b78f99e845d2e3e5c7 | ab9324a08e91a44e14204240b57b3085366a1b6f | /Renderer/Renderer/include/Renderer/Buffer/VertexArrayTypes.h | 7b2d47c94baab44e365c31ba3edf9f55548fa0a9 | [
"MIT"
] | permissive | CitrusForks/unrimp | fe78fe19e5d9ad37135a1eaea652aadb679be7c9 | 94b68b773999d152667891bd4742910968aefbad | refs/heads/master | 2021-01-02T22:46:12.212430 | 2017-07-30T06:41:50 | 2017-07-30T10:03:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,232 | h | /*********************************************************\
* Copyright (c) 2012-2017 The Unrimp Team
*
* 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 wit... | [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
f69e04f431df3ee145ef97bd574d6c42097ac3bb | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/VTK/Wrapping/Python/vtkPVEnvironmentInformationPython.cxx | 5c27169eef8d0d6314d58eee8e5cf0f44f1182e9 | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,981 | cxx | // python wrapper for vtkPVEnvironmentInformation
//
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include "vtkPythonArgs.h"
#include "vtkPythonOverload.h"
#include "vtkConfigure.h"
#include <vtksys/ios/sstream>
#include "vtkIndent.h"
#include "vtkPVEnvironmentInformation.h"
#if defined(VTK_BUILD_SHARED_LIBS)... | [
"mpasVM@localhost.org"
] | mpasVM@localhost.org |
923b4b7d080f2c0bc155b80d19b037117f55cbdd | ec2eccf877208e5d571f312808dca3b16adade32 | /Algorithm/SearchInRotatedSortedArray.cpp | 66121d28ca2a15875f0f34522876f4dbb6f59898 | [] | no_license | Jerry990612/Cpp_Study | 06e130150479d51418cda6dc784c95e58300d818 | cd39823c9e2b91cff3af20efdad2aee31caba56d | refs/heads/master | 2022-02-15T17:24:22.903058 | 2019-07-29T03:45:47 | 2019-07-29T03:45:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,728 | cpp | ///////////////////////////////////////////////////////////////////////////////////
// 假设按照升序排序的数组在预先未知的某个点上进行了旋转。
// ( 例如,数组 [0,1,2,4,5,6,7] 可能变为 [4,5,6,7,0,1,2] )。
// 搜索一个给定的目标值,如果数组中存在这个目标值,则返回它的索引,否则返回 -1 。
// 你可以假设数组中不存在重复的元素。
// 你的算法时间复杂度必须是 O(log n) 级别。
//////////////////////////////////////////////////////... | [
"noreply@github.com"
] | noreply@github.com |
570357f033eeadd658e36e85fdfc352dfacbe692 | 6ee6cc888f0a82e36fd1687fed4a109f0cb800a7 | /leetcode/990.cpp | 7993b07c304647a0b1400ba844543038ef30812e | [] | no_license | Rayleigh0328/OJ | 1977e3dfc05f96437749b6259eda4d13133d2c87 | 3d7caaf356c69868a2f4359377ec75e15dafb4c3 | refs/heads/master | 2021-01-21T04:32:03.645841 | 2019-12-01T06:33:44 | 2019-12-01T06:33:44 | 49,385,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | class DisjointSet{
private:
int n;
vector<int> leader;
vector<int> weight;
public:
DisjointSet(int size):
n(size)
{
leader = vector<int>(n);
weight = vector<int>(n);
for (int i=0;i<n;++i) {
leader[i] = i;
weight[i] = 1;
}
}
in... | [
"jingyun.bian@centro-T000325.centro.net"
] | jingyun.bian@centro-T000325.centro.net |
ff875a8eaa5bc5c2e49f6081f96cefd3fb41ee69 | 48e064866defada66f187117ba4a074d2487d041 | /src/filebuf.h | ba37b33f435556837bfa75520b315a29c2b7dc0e | [] | no_license | LaoZZZZZ/prefixMatching | efc71500e57cebe55b5863c3175c10038f313a51 | e3daa0eded7f77696307e9836061b31694d789de | refs/heads/master | 2016-09-11T14:32:17.477712 | 2015-05-06T15:15:28 | 2015-05-06T15:15:28 | 35,166,363 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,673 | h | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 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 Foundation, either version 3 of the License, or
* (at your opt... | [
"luzhao1986@gmail.com"
] | luzhao1986@gmail.com |
1e7a72795b1bd256888a841d4e566bdba776d4f3 | 7f91c893175adb12e49c2646588213d38ae3a5fc | /src/ZNode.cpp | e1b3c3c51ad7565b254e24d9ebbce1bc17d2c770 | [] | no_license | umbibio/libgbnet | 340b32e5a7dddee7e5c7eed1d1289b644ae871db | 293659eac29ffc6c19e1a5ba418c887513cc1d9c | refs/heads/master | 2020-07-20T08:40:26.830363 | 2019-09-06T21:40:34 | 2019-09-06T21:41:34 | 206,610,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | #include "ZNode.h"
namespace gbn
{
ZNode::~ZNode ()
{
// std::cout << "Object at " << this << " destroyed, instance of ZNode \t" << this->id << "\t" << typeid(this).name() << std::endl;
}
ZNode::ZNode (std::string uid, double a, double b, gsl_rng * rng)
: Beta ((std::string) "Z", uid, a,... | [
"argearriojas@gmail.com"
] | argearriojas@gmail.com |
2c07a062144a219a53d637c95493fffc9294ccbf | 96bd1d19068e2958103562f578e7df4b92263227 | /综合实验四/综合实验四/综合实验四/综合实验四Doc.h | 0882ddfc3c5d8712a802f272bc2f96264f3d3e2a | [] | no_license | ChenQL6/chenql2 | 0c766df826105b0095fdff7676acb90cd4523a59 | fcc0e162bf9f77aa38babc9263d81d06df2d40a3 | refs/heads/master | 2021-04-20T20:54:27.087545 | 2020-07-11T12:38:19 | 2020-07-11T12:38:19 | 249,716,812 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 974 | h |
// 综合实验四Doc.h : C综合实验四Doc 类的接口
//
#pragma once
#include "综合实验四Set.h"
class C综合实验四Doc : public CDocument
{
protected: // 仅从序列化创建
C综合实验四Doc();
DECLARE_DYNCREATE(C综合实验四Doc)
// 特性
public:
C综合实验四Set m_综合实验四Set;
// 操作
public:
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifde... | [
"1571590774@qq.com"
] | 1571590774@qq.com |
dcaa45a3697bdbbb927b66b504bf32c99fd8ec6e | 6c865d8bdf70871f53f4a6e2caa9573afb0da584 | /c_basics/src/octalToHexadecimal.cpp | f123cd079141cb1a1251287f8136e79299141832 | [] | no_license | kittusairam/C_RnD | b685d0b542bf3d0f9ba3e43a9b1f8e488328d6af | 5b533d72315cd2a2ae190654a42a265daff7d1d0 | refs/heads/master | 2021-04-27T00:27:18.731062 | 2018-03-11T16:48:13 | 2018-03-11T16:48:13 | 123,818,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | cpp | /*
OVERVIEW:
1)Write a function which takes a octal number as input and returns the hexadecimal number for
octalToHexadecimal().
E.g.: octalToHexadecimal(10) returns 8.
2)Write a function which takes a fractional octal number as input and returns the hexadecimal number for
octalToHexadecimalFraction() until... | [
"noreply@github.com"
] | noreply@github.com |
a53e1ec8760948d09ff09c162f72f975980742d3 | 25d5843534ee02722f97591c26001db0751f4b3d | /DataStructure_Algorithm/2694_逆波兰表达式.cpp | a68cc83024b5debe50dfbfceb8871d0ec71ac41b | [] | no_license | 131250208/DataStructure_Algorithm | 50997289dd4040255a11fee6e5e6775f5cee232f | 3c0c7f938fd32d7e1ec1ffdc5c61081985205ca3 | refs/heads/master | 2021-01-15T23:21:24.734988 | 2017-08-10T13:40:08 | 2017-08-10T13:40:08 | 99,925,913 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,597 | cpp | /*考前练习*/
#include<iostream>
#include<stdio.h>
#include<string.h>
static char input[100];
using namespace std;
double recurse_2694() {
scanf("%s", &input);
if (strcmp(input, "+") == 0)return recurse_2694() + recurse_2694();
else if (strcmp(input, "-") == 0)return recurse_2694() - recurse_2694();
else if (strcmp(inp... | [
"wychengpublic@163.com"
] | wychengpublic@163.com |
589abdd3e0d6f900a34e05bdc151c497385187e0 | 9dccda0fc2aa7ac7471b4f38f4eba8b316316fde | /it_kar.cpp | 02c79e91e715b85c8316a22f3710a0a362cf0225 | [] | no_license | troublefrom2001/pip | 218e812eb4ad83520c9dc0bd8f6fcc3ea809db4b | 62c377777a853b67d5166ecd3719264e474f9cd2 | refs/heads/main | 2023-04-29T12:34:11.428246 | 2021-04-29T06:48:28 | 2021-04-29T06:48:28 | 362,716,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | #include"h.h"
void it_kar(SDL_Renderer *renderer, int x){
for(int i=800; i>730;i-=15){
it_gor(renderer,x, i, x+108,100,100,0);
it_gor(renderer,x, i-1, x+108,130,130,0);
it_gor(renderer,x, i-2, x+108,160,160,0);
it_gor(renderer,x, i-3, x+108,200,200,0);}
for(int i=x;i<=x+110;i+=1... | [
"83391698+troublefrom2001@users.noreply.github.com"
] | 83391698+troublefrom2001@users.noreply.github.com |
1a1c7837c39c988abd8f2267d31ba347fb038ee8 | 8531bbb748b168f7437bffae70e5c75b1f86f2af | /project/bench/main.cpp | ea6b1f8967574774bf12a34ba8cde78665ec5d6f | [
"MIT"
] | permissive | linpsong/cpplox | 52164ce74310c3ae1bb79789be7baf833372d2a8 | 6b2b771c50fd3d0121283d1f2e54860e1d263bca | refs/heads/master | 2022-05-12T11:49:46.897248 | 2020-04-09T01:49:53 | 2020-04-09T01:49:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,101 | cpp | #include <iostream>
#include <string>
// (MSVC) Suppress warnings from dependencies; they're not ours to fix
#pragma warning(push, 0)
#include <benchmark/benchmark.h>
#pragma warning(pop)
#include <boost/process.hpp>
#include <boost/program_options.hpp>
using std::cout;
using std::string;
namespace process = boo... | [
"jeffrey.t.mott@intel.com"
] | jeffrey.t.mott@intel.com |
4b32b3730bc8e9c1f543c9d458f1bd1c291bc9f4 | ed1542846f8bb8d9f9f27b5ee446911387807a4f | /Final/NYUCodebase/Entity_untextured.cpp | 3d8c9ae8c665c8d8a0d27e8a7a1957dfabdc88d8 | [] | no_license | ChenZ0912/Game-Programming | 3e873e9a300f4f6a97d4ca57bdc80df51e4eed00 | a6a622980281426b693ac8c51775e343b7c29eef | refs/heads/master | 2020-03-28T04:51:38.165322 | 2018-12-17T05:31:14 | 2018-12-17T05:31:14 | 147,741,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp | //
// Entity_untextured.cpp
// NYUCodebase
//
// Created by CHEN ZHOU on 12/15/18.
// Copyright © 2018 Ivan Safrin. All rights reserved.
//
#include "Entity_untextured.h"
Entity_Untextured::Entity_Untextured(float positionX, float positionY, float sizeX, float sizeY):position(positionX, positionY, 0.0f), size(size... | [
"cz1740@nyu.edu"
] | cz1740@nyu.edu |
6f5cff6c45a652e317e0541ab8e2c833b3afda68 | 96c0a1bf68c18241bc5cd75565e390dddc16c8c0 | /programs/CPP/13.cpp | b4e075cba38c5853d94022485dcf0178fe884f77 | [] | no_license | abhishekannigeri/abhishekannigeriblog | 3ba07b66d7e5eec14d237faa35191291528c09bf | d6a33783cef949706d51b9a0df05976ae6f58f85 | refs/heads/master | 2021-01-21T23:29:13.416792 | 2016-03-21T10:14:54 | 2016-03-21T10:14:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include<iostream>
#include<cstdlib>
using namespace std;
int size;
class stack1
{
public : int a[20],n,top;
stack1()
{
cout<<"Enter stack size\n";
cin>>size;
top=0;
}
void push()
{
int ele;
cout<<"Enter the element\n";
cin>>ele;
a[top]=ele;
top++;
}
void pop()
{
top--;
cout<<"Deleted element is:"<<a[top]<<endl;
}
v... | [
"abhishek.anni001@gmail.com"
] | abhishek.anni001@gmail.com |
e4a53b110d95297280594e1b6c41e3f80861a232 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/transport/GroupSession.h | bd3ab1931c2c7cbdc5302ae39dda8ad38f7d3459 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 4,852 | h | /*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"noreply@github.com"
] | noreply@github.com |
9acec153863cafae9b8c9ecae75a3727ba973960 | fa6b5a15bd5d7ed857c1705e26f58f7f6452c1cd | /BINARY TREE/10.RIght_view.cpp | 53a827b76d5dff4ff2ba355eaf078166784eed92 | [] | no_license | retro-2106/DSA_450_questions | d4cadc840f168a388db5258581712372be3e8629 | 7b23eba2661d6596870848ca3e3d1582236ca46f | refs/heads/main | 2023-06-14T13:08:35.856589 | 2021-07-04T11:28:21 | 2021-07-04T11:28:21 | 308,229,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | ector<int> rightView(Node *root)
{
vector<int> ans;
if(!root)
return ans;
queue<Node*> qu;
qu.push(root);
while(!qu.empty())
{
int n = qu.size();
for(int i=1;i<=n;i++)
{
if(i == n)
{
ans.push_back(qu.front()->data);
... | [
"ashishcool2106@gmail.com"
] | ashishcool2106@gmail.com |
36a120c57abc478dc2ce63986ec7e2d7b38e9f79 | b01adb671949fcd94e1c4c29fd21bb5382785a85 | /GeeksForGeeks/Left View of Binary Tree.cpp | 5412139453f663aa21dbb21372fbe6de18b6fb2e | [
"MIT"
] | permissive | tanishq1g/cp_codes | c13f4841cbd3226c3600abc75eecb970aa416962 | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | refs/heads/master | 2021-06-20T00:37:48.926709 | 2021-02-05T17:59:10 | 2021-02-05T17:59:10 | 170,661,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <locale>
#include <algorithm>
#include <cmath>
#include <unordered_map>
#include <bitset>
#include <climits>
#include <queue>
using namespace std;
// TREE
struct Node
{
int data;
struct Node* left;
struct Node* right;
Node(int x){
... | [
"tanishq.gupta@iiitb.org"
] | tanishq.gupta@iiitb.org |
eb68be0f743ad07198bb97c7fabbbe65c777cd5c | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/value.cc | d7fdb4594adf003c6f5853e5ca4ae006084b4d68 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,963 | cc | // 2004-12-26 Paolo Carlini <pcarlini@suse.de>
//
// Copyright (C) 2004-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 S... | [
"rink@rink.nu"
] | rink@rink.nu |
ece3a25be1217260d7f69b044a687abe2a446463 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmbs12/pmsb13-data-20120615/sources/brbym28nz827lxic/404/sandbox/meyerclp/apps/dreme/dreme.cpp | 95e6fd01f622de5ae68b7cd37cb2a046d7c9be8c | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,353 | cpp |
#include "dreme.h"
using namespace seqan;
int main(int argc, char const ** argv){
Seq sequences;
Seq background;
IupacMaps IMaps;
unsigned int kmer_len=4;
unsigned int kmer_len_end=6;
MapIupac(IMaps);//IupacMap for generalization
if(argc !=3){
std::cerr<<"ERROR: Invalid argument count."<<std:: endl... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
9222b3df4929e2dfbcd5d9588a281b9ab68509dd | 9b11f561510070d40be43addeccc743f91025cfa | /codeforces/1279/A.cpp | c6794ae66614fd16c19606f7d9c07f103da3734a | [] | no_license | MasterMind90/cppractice | a5a1774fc87047c9c9f18ed6df2a58af4a027256 | ce1b74d9e682e5d369df62f3ad9494798dceda85 | refs/heads/master | 2023-02-21T04:58:50.101142 | 2019-05-08T14:41:00 | 2021-01-14T21:11:38 | 328,998,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | #ifndef LOCAL
#pragma GCC optimize("O3")
#endif
#include "bits/stdc++.h"
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > r... | [
"amjadm2008@gmail.com"
] | amjadm2008@gmail.com |
7e1e41099347d05f78838602ff6e0ef76b80b416 | 159eed90e970c568c811bacbb37f2c9fc66233ef | /Detector/DetComponents/src/GeoSvc.h | 1e3d74f5f4b15ee32bd7da98023348dafd97c438 | [] | no_license | ocolegro/100TeVFWK | ca92cf530495094ca75995eb79e03d01a0ba244e | 88dcbf47e7210ba9ac581324f95e7b094ada49dc | refs/heads/master | 2020-12-10T03:13:29.360118 | 2017-06-26T09:07:54 | 2017-06-26T09:07:54 | 95,428,328 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | h | //
// GeoSvc.h
//
//
// Created by Julia Hrdinka on 30/03/15.
//
//
#ifndef GEOSVC_H
#define GEOSVC_H
// Interface
#include "DetInterface/IGeoSvc.h"
// Gaudi
#include "GaudiKernel/IIncidentListener.h"
#include "GaudiKernel/IIncidentSvc.h"
#include "GaudiKernel/Incident.h"
#include "GaudiKernel/MsgStream.h"
#includ... | [
"ocolegro@physics.ucsb.edu"
] | ocolegro@physics.ucsb.edu |
b7233ecc3258053d8eb16e8869830111cadabd80 | 546d00dd96099d7ad669373f5771b9b200938f6e | /Sources/Sword3PaySys/Toolkits/mysql++-1.7.1-1-win32-vc++/include/field_names1.hh | 5b56c68b7abe940b650981378f177628ecffdb59 | [] | no_license | lubing521/mmo-resourse | 74f6bcbd78aba61de0e8a681c4c6850f564e08d8 | 94fc594acba9bba9a9c3d0a5ecbca7a6363b42a5 | refs/heads/master | 2021-01-22T01:43:29.825927 | 2015-03-17T02:24:16 | 2015-03-17T02:24:16 | 36,480,084 | 2 | 1 | null | 2015-05-29T03:16:18 | 2015-05-29T03:16:18 | null | UTF-8 | C++ | false | false | 1,226 | hh | #ifndef __field_names1_hh__
#define __field_names1_hh__
#include <vector>
#include <algorithm>
using namespace std ;
#include "defs.h"
#include "define_short.h"
#include "coldata1.hh"
#include "string_util.hh"
//: A vector of the field names.
class FieldNames : public vector<string> {
private:
void ... | [
"ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c"
] | ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c |
97c22fa9e2899ae8c187b90cc02bb92ead60e13e | 72806e672ae44be1ad5d1365224b9b430d1fa721 | /pod/pinocchio/qap/GateBoolOR.cpp | 42da52928ce22478ce3e51fd6edcd89762258f3d | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | imtypist/BlockSense | 277814436a50c800625193d4c72982e326f9566a | 00a0336205c1f1049d978b07bcf078b8c85374b0 | refs/heads/master | 2023-05-27T13:42:32.715625 | 2023-05-15T09:53:58 | 2023-05-15T09:53:58 | 145,524,879 | 14 | 4 | null | 2020-07-18T04:56:06 | 2018-08-21T07:33:59 | C++ | UTF-8 | C++ | false | false | 477 | cpp | #include <assert.h>
#include "GateBoolOR.h"
GateBoolOR::GateBoolOR(int N) {
this->N = N;
inputs = new BoolWire*[N];
maxInputs = N;
assignedInputs = 0;
output = NULL;
}
GateBoolOR::~GateBoolOR() {
delete [] inputs;
}
inline void GateBoolOR::eval() {
assert(inputs && output);
bool result = false;
for (int ... | [
"junqin.huang@qq.com"
] | junqin.huang@qq.com |
2373d66297b4a66b23780a34990895170896f1ab | e216c1df4b156d7a0d7b3f62d6b81b27d562211d | /Codeforces/Mail.Ru_Cup_2018_Round_3/B.cpp | 68c85a2ae6e829c5d56c3c69243aaedc6b7d3214 | [] | no_license | Bonayy/Competitive-Programming | 0888b394c556c90559c66802e40d9ff6fd905780 | 03dc096da4978bc18d9e52704ebaf7bbc59ddca0 | refs/heads/master | 2022-12-19T20:58:40.693221 | 2020-09-30T04:22:19 | 2020-09-30T04:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | /*
Author: Dung Tuan Le
University of Rochester
*/
#include <bits/stdc++.h>
#define fio ios_base::sync_with_stdio(false); cin.tie(NULL)
#define FOR(i, l, r) for (int i=l; i<=r; i++)
#define REP(i, r, l) for (int i=r; i>=l; i--)
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define lb low... | [
"dle8@u.rochester.edu"
] | dle8@u.rochester.edu |
659acc3514cd9eb7f53abbec9715c5bf74c9c242 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/include/functions/scalar/rsqrt.hpp | ec8861d3125320d8bc6d7183ab71a2a6384b66c7 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 182 | hpp | #ifndef NT2_INCLUDE_FUNCTIONS_SCALAR_RSQRT_HPP_INCLUDED
#define NT2_INCLUDE_FUNCTIONS_SCALAR_RSQRT_HPP_INCLUDED
#include <nt2/arithmetic/include/functions/scalar/rsqrt.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
a78b2aba5d12a3656fcda60d6eb92d39e583764e | 057a475216e9beed41983481aafcaf109bbf58da | /base/poco/Foundation/src/StreamChannel.cpp | 817c047a65a7b1ec81ef3d9763fbc3f714546bff | [
"Apache-2.0",
"BSL-1.0"
] | permissive | ClickHouse/ClickHouse | fece5204263a5b4d693854b6039699265f1bb27f | 6649328db809d51a694c358571539bc5820464be | refs/heads/master | 2023-08-31T18:48:36.615225 | 2023-08-31T17:51:24 | 2023-08-31T17:51:24 | 60,246,359 | 23,878 | 5,449 | Apache-2.0 | 2023-09-14T20:10:52 | 2016-06-02T08:28:18 | C++ | UTF-8 | C++ | false | false | 567 | cpp | //
// StreamChannel.cpp
//
// Library: Foundation
// Package: Logging
// Module: StreamChannel
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/StreamChannel.h"
#include "Poco/Message.h"
namespace Poco {
St... | [
"noreply@github.com"
] | noreply@github.com |
d78eeb441a84a56f1368a94990dd670c6f7e01cd | 7ebc12c326dd918bc96c08167f0457ed2f8f93de | /Trains/20112014/H/hax3.cpp | 6601adc2d1895e13ee22962f1e2ff2aa7519ed89 | [] | no_license | qwaker00/Olymp | 635b61da0e80d1599edfe1bc9244b95f015b3007 | c3ab2c559fa09f080a3f02c84739609e1e85075d | refs/heads/master | 2021-01-18T16:35:58.452451 | 2015-08-06T16:45:58 | 2015-08-06T16:46:25 | 5,674,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <memory.h>
#include <cmath>
#include <string>
#include <cstring>
#include <queue>
#include <vector>
#include <set>
#include <deque>
#include <map>
#include <functional>
#include <numeric>
#include <ss... | [
"grickevich@yandex-team.ru"
] | grickevich@yandex-team.ru |
e89d25ff3517d6dc7df11e05bc5c54e9a4c2eee4 | 87fa3799bce046f93b518432f9221b647ea999e6 | /2threads.cpp | cc41d2ce71b84f565a8e10e6a0496b5d3c35ad12 | [
"MIT"
] | permissive | CMPT-431-SFU/Cpp11-Demos | ff2e5e522956e90f06f9cbb6a27d1c0c025324e9 | 56ed14c5eb9e355edf7a387943492f50c3d591ec | refs/heads/master | 2020-12-10T00:23:23.715620 | 2020-02-25T18:39:27 | 2020-02-25T18:39:27 | 233,457,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | /*
*
* Simple thread example: one thread prints 0's the
* other prints 1's
*
*/
#include <thread>
#include <iostream>
#include <chrono>
using namespace std;
void print_zero()
{
while(1)
cout << "0" << endl;
}
void print_one()
{
while(1)
cout << "1" << endl;
}
int main(int argc, char* argv[])
{
thread t... | [
"ashriram@cs.sfu.ca"
] | ashriram@cs.sfu.ca |
42ccfced40d0bc4ec9dad8e56f2a02f2afb009b0 | b1be8471950a7d7a834d67b11b24d70aa7ece501 | /DemoApps/GLES2/Blur/source/ReferenceOnePassBlurredDraw.cpp | b11d21b01f4c5307738268d74dc685aec2b5aa18 | [
"GPL-1.0-or-later",
"JSON"
] | permissive | alexvonduar/gtec-demo-framework | 1b212d9b43094abdfeae61e0d2e8a258e5a97771 | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | refs/heads/master | 2021-06-15T13:25:02.498022 | 2021-03-26T06:11:43 | 2021-03-26T06:11:43 | 168,854,730 | 0 | 0 | BSD-3-Clause | 2019-03-25T23:59:42 | 2019-02-02T16:59:46 | C++ | UTF-8 | C++ | false | false | 6,441 | cpp | /****************************************************************************************************************************************************
* Copyright (c) 2015 Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are ... | [
"Rene.Thrane@nxp.com"
] | Rene.Thrane@nxp.com |
f9386e47ce7292f5925451ead9da28870c3299a4 | 239822875e18416f63b532f09d4ae703c261b028 | /hareem/List.cpp | ac4fbc2f06b9621a9a9eec437020d0f8348962e9 | [] | no_license | Lukaa98/operating-system-proj1 | e2e6d17cb48c6d57f66e0d6287fdfcb87aced544 | abc9c01781ff8c1d5998d2d90a9e6d4425f7c6e7 | refs/heads/master | 2020-11-24T07:56:26.570581 | 2019-10-16T07:16:32 | 2019-10-16T07:16:32 | 228,040,197 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include <unistd.h>
#include <iostream>
using namespace std;
int main (int argc,char* argv[]) {
const char* arg[] = {"ls",(char*)NULL};
execvp("ls",(char* const*)arg);
}
| [
"hbokhari98@gmail.com"
] | hbokhari98@gmail.com |
7dbc3d53758ee0461fc6b4df788ebb3acb40ee28 | ef4ce28d84d84c9403ae837d6447573361bf4c15 | /rpcdump.cpp | 40dc33bfc4795d2eb145fbfb05e23002fc9d2479 | [] | no_license | failcoin/ttt | f8e99f18dff5723a15d45d88a5ec5f318ae652ec | 0680f44c5c72d122f5057418897cc86b989dcaac | refs/heads/master | 2016-09-06T11:42:35.728958 | 2014-03-17T12:47:57 | 2014-03-17T12:47:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | cpp | // Copyright (c) 2009-2012 Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 AntiKeiserCoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h" // for pwalletMai... | [
"root@failco.in"
] | root@failco.in |
aca5c35f351a995056b629b2682d56611586e6b9 | eb568794911a41f50ff666eed9648cc2025a4e44 | /CertificationOAuth/CertificationOAuth/main.cpp | 430cac3ba58031fa637187b63adc0a7e03526362 | [] | no_license | ExistOrLive/DemoForLearning | fb9e888ba88932c0747b11978d2d51fc8eb5ae99 | b0f3a5608d0a7b5d5c24ff13b9efc4eabd19851a | refs/heads/master | 2022-10-27T04:27:45.688643 | 2021-04-19T02:47:20 | 2021-04-19T02:47:20 | 185,629,254 | 0 | 0 | null | 2022-10-06T19:23:55 | 2019-05-08T15:06:29 | Python | UTF-8 | C++ | false | false | 2,221 | cpp | //
// main.cpp
// CertificationOAuth
//
// Created by 朱猛 on 2020/11/7.
//
#include <iostream>
#include <string>
#include "OpenXLSX.hpp"
#include "httplib.h"
using namespace std;
using namespace OpenXLSX;
int main(int argc, const char * argv[]) {
cout << "检测程序开始: \n\n";
string sourceFilePath = "/... | [
"2068531506@qq.com"
] | 2068531506@qq.com |
15feb28bd466d676cee7ed961125d49c16c64623 | 38b3240d55703809216b5a39a82f9aca9d18693c | /HW3/cs550_project_3/cs550_project_3/main.cpp | 3c1b07b6d9f38f12131a68f1562c393133d0c067 | [] | no_license | Jerrydepon/CS550_Computer-Graphics | 1e5975027daa869b2929c28fbf6a2bc7b01818c8 | 8e0023d97f12df2154748da0e92dd1af5c5aaa25 | refs/heads/master | 2020-04-01T08:54:21.658348 | 2019-08-18T22:28:28 | 2019-08-18T22:28:28 | 153,051,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,253 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#define _USE_MATH_DEFINES
#include <math.h>
#ifdef WIN32
#include <windows.h>
#pragma warning(disable:4996)
#include "glew.h"
#endif
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#define MS_IN_THE_ANIMATION_CYCLE 10000
// parameters o... | [
"jerry2285@yahoo.com.tw"
] | jerry2285@yahoo.com.tw |
bad11a9ce48681fb9ef3a61369d0590f84fd2717 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tcr/src/v20190924/model/KeyValueString.cpp | ed7bf6dbe14f577cc540d5b79acfd09c7191f6e1 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 2,925 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
4df7393f21b4306113ceb83d2cfc9bf7c4621a22 | e8478d7e80c73c8ee7f7d883743563668210c71a | /tests/host_vector_test.cpp | 673339230eb92d16d9a2c714336f9c5eb811d173 | [] | no_license | siavashadpey/linsolver | 660b6a786c888baed4426ca20814e51a160aff60 | f7910b5307650e7303fe369bc82e9094d0193c51 | refs/heads/master | 2022-11-30T18:08:42.826792 | 2020-08-12T23:10:35 | 2020-08-12T23:10:35 | 284,055,954 | 0 | 1 | null | 2020-08-12T23:10:36 | 2020-07-31T14:30:14 | C++ | UTF-8 | C++ | false | false | 3,459 | cpp | #include <stdio.h>
#include <cmath>
#include "gtest/gtest.h"
#include "backends/host/host_vector.h"
#define tol 1E-13
TEST(HostVector, test_1)
{
HostVector<double> v = HostVector<double>();
const int n = 5;
v.allocate(n);
double v_e[n];
double norm_e = 0.0;
for (int i = 0; i < n; i++) {
... | [
"sia.shadpey@mail.utoronto.ca"
] | sia.shadpey@mail.utoronto.ca |
ac867aab9bc4b9302f86e1f45df70e126123bab0 | 762e574fed6c42196aede4f1e00d1faac33dd8dc | /spatialmedia/parser.cpp | 02a466c98b36c55d5b52b3ae39b329883b0001f7 | [
"Apache-2.0"
] | permissive | spincle/Spatial-Media-For-iOS | e2ebe0216ea7e172619c9c13f3d9fcfffa0f6dba | 9e5d4cad9e220f5a3806d08252bf80b12ea7d243 | refs/heads/master | 2021-06-17T01:46:26.787597 | 2017-05-15T12:30:19 | 2017-05-15T12:30:19 | 76,186,711 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,727 | cpp | /* *******************************************************************************
** usage: spatialmedia [options] [files...]
**
** By default prints out spatial media metadata from specified files.
**
** positional arguments:
** file input/output files
**
** optional arguments:
** -h, --help ... | [
"tomtomtongtong@gmail.com"
] | tomtomtongtong@gmail.com |
27df39eefb2cadb6a0547c32a7a949680c050124 | 90e0a8dd428056f663257ae34328e83dc239551e | /thrift_async_test/ImagingHandler.h | 8f000f80d10b875b2dd9e9f0359d59e6faa0ead5 | [] | no_license | aubonbeurre/abbsandbox | f8bfbb1faec0e034ff6081176ac78554e02ad683 | 198fa843139960712fd53062708e01e4a9f94452 | refs/heads/master | 2020-04-06T03:33:05.823104 | 2011-09-06T19:39:13 | 2011-09-06T19:39:13 | 1,911,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | h | #pragma once
#include "gen-cpp/Imaging.h"
namespace imaging {
class ImagingHandler: public ImagingIf {
public:
ImagingHandler() {
}
virtual void mandelbrot(std::string& _return, const int32_t w, const int32_t h);
virtual void transform(std::string& _return, const Transform::type t, const std::string& img);
};
... | [
"aubonbeurre@gmail.com"
] | aubonbeurre@gmail.com |
2744feacf7904decae760b647e2144a8f2a9d77d | fb6010e5992307fd420309cbd99a01fef13200dc | /Algorithms/34. Find First and Last Position of Element in Sorted Array.cpp | 7b556d6bc8057babd601d0e34fe92cce4a10adf6 | [] | no_license | MegrezZhu/LeetCode | 018e803701bbdb56827d98a3811fdb63cc787792 | 9105298f18a1284a5eeee7e2cc4745f5b45476c8 | refs/heads/master | 2023-02-10T08:55:08.884565 | 2021-01-11T05:44:39 | 2021-01-11T05:44:39 | 107,408,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | class Solution {
vector<int> span(vector<int>& nums, int pos) {
int l = pos, r = pos;
while (l > 0 && nums[l - 1] == nums[l]) l--;
while (r < nums.size() - 1 && nums[r + 1] == nums[r]) r++;
return { l, r };
}
public:
vector<int> searchRange(vector<int>& nums, int target) {
... | [
"mystery490815101@gmail.com"
] | mystery490815101@gmail.com |
9fb96d850ed27a3e8574e9866e3548604b6160d6 | eea7adb1221e39e949e9f13b92805f1f63c61696 | /leetcode-04/solutions/cpp/0680.cpp | ef7e19bb38c004cb35867eb31702919e879b3007 | [] | no_license | zhangchunbao515/leetcode | 4fb7e5ac67a51679f5ba89eed56cd21f53cd736d | d191d3724f6f4b84a66d0917d16fbfc58205d948 | refs/heads/master | 2020-08-02T21:39:05.798311 | 2019-09-28T14:44:14 | 2019-09-28T14:44:14 | 211,514,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | class Solution {
public:
bool validPalindrome(string s) {
const int n = s.length();
for (int i = 0; i < n / 2; i++)
if (s[i] != s[n - 1 - i])
return validPalindrome(s, i + 1, n - 1 - i) ||
validPalindrome(s, i, n - 2 - i);
return true;
}
private:
bool validPalindrome(... | [
"zhangchunbao515@163.com"
] | zhangchunbao515@163.com |
2c4726e351b8dbcafe8f069dd4822aa1118d90bc | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/random/detail/disable_warnings.hpp | 6801bf56b2ed710536587ebe83711c56e600a402 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:eb1c675271f8f94d10623527120368274389b07f71bb14dd0f5185669f177773
size 823
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
89d41798bad1c404cc7b955d8bbc0fc01b8a904d | 1c8a37527627e8bab2b0b9a07f4e8eeddbb68bfa | /Chess_org/ChessEngine/src/engine/ops/Movements.cpp | 72f4c1efd2c9d1ebbdd87339e24c854fb02d0f5a | [
"MIT"
] | permissive | Jurymax99/Chess | b52975c2d70f4358ae7ab6cac214cabfa03ee729 | 6f8c2ab959907755af102b68eb5dec3b40793203 | refs/heads/master | 2022-05-31T14:30:39.497544 | 2020-05-03T16:33:42 | 2020-05-03T16:33:42 | 248,818,337 | 1 | 0 | null | 2020-03-24T18:36:01 | 2020-03-20T17:49:23 | C++ | UTF-8 | C++ | false | false | 3,384 | cpp | #include "Board.h"
#include "Utilities.h"
namespace Chess {
namespace Engine {
bool Board::makeMove(const char& type, const Position& source, const Position& dest, const int& player, const bool& enp) {
Player* mover = player == RED ? &Red : &Green;
main(dest) = main(source);
main(source).removePi... | [
"noreply@github.com"
] | noreply@github.com |
7dc9f2a7e5ddb7f8959fdd5ef782ccac25ebf065 | 3c43c85b33747c9dda3a258e21d71d65890748ce | /IOICAMP0094.cpp | f66e52f5c2fae2a53e1fdc89b988de72484915ae | [] | no_license | rareone0602/Competitive-Programming-Solutions | 934fed13af0b4ba662dcdeacf14f64eb0559babf | 2b42cfeba2d8e4ba5993bef6cf06481a3e85932f | refs/heads/master | 2021-09-14T11:30:06.208446 | 2018-05-12T22:04:28 | 2018-05-12T22:04:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,614 | cpp | #include <iostream>
#include <cmath>
#include <complex>
#include <algorithm>
#define X real()
#define Y imag()
#define F first
#define S second
#define eat(a) int a;scanf("%d",&a)
#define FL(i,j,k) for(int i=j;i<k;++i)
using namespace std;
const int N=1010;
const double eps=1e-8;
typedef complex<double... | [
"rareone0602@me.com"
] | rareone0602@me.com |
8140b59ced5eb34f4204bd5f43712291bb7cf6a0 | 65b9845d5b426d570d8fa31fe536bd04cdbeda98 | /include/logging/StdOutput.h | e8b3f6568c04ddc4577d5b034cf8ee26043b3ff6 | [
"BSL-1.0"
] | permissive | shenyanjun/eddic | 72bb4fd51d36c370bf925200e075f751fd6f273d | 4715ca46fae7d0d0eab45584a73b81b602b38004 | refs/heads/master | 2021-01-15T17:28:18.944839 | 2012-11-10T19:59:02 | 2012-11-10T19:59:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,417 | h | /*******************************************************************************
*
* Copyright (c) 2008, 2009 Michael Schulze <mschulze@ivs.cs.uni-magdeburg.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
c436c40c95f78f9b0c796eb55cacc9f32191bd1c | eadd2c7a0b42191555c49af22217723f26efcf84 | /canbustrans/src/canbustrans.cpp | 78f0661ade6b8c0e683ab10696b76b56d701e03c | [] | no_license | nguyenanhlam691999/Projects | b88eaa5753a94ce66f1d37483a93ed728a62b0ff | 8432e58fe820a530b61ffc5f56b6b53d2532f8f3 | refs/heads/main | 2023-04-15T02:41:36.195372 | 2021-04-27T05:42:49 | 2021-04-27T05:42:49 | 347,860,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | #include <Arduino.h>
#include <mcp2515.h>
#include <SPI.h>
struct can_frame canMsg1;
MCP2515 mcp2515(10);
void setup()
{
Serial.begin(9600);
while (!Serial)
;
Serial.begin(9600);
mcp2515.reset();
mcp2515.setBitrate(CAN_125KBPS);
mcp2515.setNormalMode();
canMsg1.can_id = 0x0F6;
canMsg1.can_dlc = 8;
... | [
"thecrystal2014@gmail.com"
] | thecrystal2014@gmail.com |
50ebe01a09e35a35c7c4112349e48760375bc001 | f6cf14142621b8c4709c6f2073172f39577b1964 | /api2/lib/rec/cv_lt/rgb2bgr.cpp | 4503abeefb7bdd89f66fa785198d1d3d920a36d2 | [] | no_license | BusHero/robotino_api2 | f3eef6c1ace2ff5a8b93db691aa779db8a9ce3a1 | 9757814871aa90977c2548a8a558f4b2cb015e5d | refs/heads/master | 2021-06-18T21:32:14.390621 | 2021-02-18T15:21:48 | 2021-02-18T15:21:48 | 165,231,765 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | cpp | #include "rec/cv_lt/rgb2bgr.h"
#include <algorithm>
void rec::cv_lt::rgb2bgr( const char* src,
const unsigned int srcWidth,
const unsigned int srcHeight,
const unsigned int srcStep,
char* dst,
const unsigned int dstWidth,
const unsigned int dstHeight,
const unsigned int dstStep )
{
unsigned int w... | [
"petru.cervac@gmail.com"
] | petru.cervac@gmail.com |
19ec49791037c42683eb33407d0e219c48d1cb8c | faa5d1d27a89cba2657f6fe53d9106630ef2c104 | /洛谷/P3879.cpp | 44b7726dc946bc562286d09be98116a4e4e96ce0 | [] | no_license | xiao-lin52/My-Codes | f4feef04a05b1904a1f31e0e5a04e0a48ee61cb9 | d8fc530ade2bbac32c016a731c667c4189e3c6c7 | refs/heads/main | 2023-03-12T23:32:55.219341 | 2021-03-07T07:31:32 | 2021-03-07T07:31:32 | 304,806,222 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include<bits/stdc++.h>
#define SIZE 500010
using namespace std;
struct Trie
{
int k,nxt[SIZE][26];
vector<int> isWord[SIZE];
void insert(char* str,int x)
{
int p=0,len=strlen(str);
for(int i=0;i<len;i++)
if(nxt[p][str[i]-'a'])
p=nxt[p][str[i]-'a'];
else
p=nxt[p][str[i]-'a']=++k;
if(isWord[p].em... | [
"2492043904@qq.com"
] | 2492043904@qq.com |
7abe529bd761dd5eeeb3d4c2e51cd2fce06d6d3f | a600c54dfff84c93cc77aef9669aae1bc7f30f4c | /Source/Injector/InjectorMain.cpp | 5d18062bb0b758c5f6b3d455fadf10ad16e3ac7d | [] | no_license | POETSII/Orchestrator | 88003917b9fb107417bf1c1221f09c3b8a4fb70b | 3369ec20cd1ad9b28293f044e2a960d7faf1dd7a | refs/heads/development | 2022-10-13T06:47:40.505365 | 2022-07-28T12:44:06 | 2022-07-28T12:44:06 | 133,035,539 | 0 | 1 | null | 2022-07-12T15:17:57 | 2018-05-11T12:13:51 | C++ | UTF-8 | C++ | false | false | 812 | cpp | //------------------------------------------------------------------------------
#include "Debug.h"
#include "Injector.h"
#include "Unrec_t.h"
#include "Pglobals.h"
#include <stdio.h>
//------------------------------------------------------------------------------
int main(int argc, char* argv[])
{
Injector * pInjec... | [
"m.vousden@soton.ac.uk"
] | m.vousden@soton.ac.uk |
bd4287424539cf4f2bf05c5737bd08b79fd98a8b | 5008a2fc7d8a14711f430541d26bef4acef3e870 | /Иван Борисов (81134)/BullsAndCows.cpp | 08c1cea9e30de9cc41682fff4a64d4c0300fd69b | [] | no_license | ehadzhi/PeerCodeReview | d59ea13722b88ca88d34968613a0b78ca5e58531 | 31c38f592673a88cc4e805f3fc9140fab15d0c83 | refs/heads/master | 2021-06-01T08:47:45.753826 | 2015-05-14T11:27:35 | 2015-05-14T11:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,580 | cpp | /*
* BullsAndCows.cpp
*
* Created on: Apr 7, 2015
* Author: ivan
*/
//#include <cstdlib>
#include <iostream>
#include <stdlib.h>
#include <ctime>
#include <stdio.h>
using namespace std;
#include "BullsAndCows.h"
int DEFAULT_SIZE = 4;
BullsAndCows::BullsAndCows(int size) {
srand(time(NULL));
this->setC... | [
"kazmanov@uni-sofia.bg"
] | kazmanov@uni-sofia.bg |
31afe493839660a7ff5d07e42c1a21dca2596b77 | cba830137eaa81165e398108c372bf8fde6db811 | /test/32-markdownish.h | f7df80bf39edc9be74e1da4432475505aed7df45 | [
"MIT"
] | permissive | Enuvesta/re2jit | b15aa1c3faf0fa3a564e61b85b25c949cbfa15be | 6a2519b7adfc6211b22052822867af02db74dc5b | refs/heads/master | 2021-01-14T08:40:21.793487 | 2015-12-02T17:24:07 | 2015-12-02T17:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,844 | h | #include "00-definitions.h"
/* A parser of a small (but most commonly used) subset of Markdown.
* It uses regexps to tokenize the input text. Obviously.
*
* Initially, this thing was written as a bet that I could make a parser
* of a subset of Markdown suitable for comments, etc. in less than 200 SLOC
* in Python... | [
"pyos100500@gmail.com"
] | pyos100500@gmail.com |
acd9923ccff647e5dd9015c2e48364bf64c37446 | c24dfe35e7b412f4e70e3ae0f2f822251e71f889 | /Combo.cpp | 7016fa094bedccf9bfeb60c5776bc044e3c96a2e | [] | no_license | cjcoimbra/ChessterOSX | 98dbbe269a23c6abf165309affd009048f61721a | 89c6cbdfb295b3d929faa0bf036440b96a0007c6 | refs/heads/master | 2021-08-29T21:15:36.511182 | 2017-12-15T02:01:54 | 2017-12-15T02:01:54 | 114,315,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | #include "StdAfx.h"
#include "Combo.h"
Combo::Combo(int id, int spt, int first_id)
{
this->combo_id = id;
this->amount = 1;
this->sprite_id = spt;
ids.push_back(first_id);
}
Combo::Combo(void)
{
}
Combo::~Combo(void)
{
}
| [
"dm.black@gmail.com"
] | dm.black@gmail.com |
e8c236347319389278301312cd2802f9aac102d3 | c2cde38550b45893ea4c5b25bc4c379cabc29375 | /cpp/hash.cpp | 185743fbf85b9ea6588f82f977785ca84a3711f3 | [] | no_license | nllanura/algorithms | 2f7aa8434e720866b9f25183d3d190b3a09f5625 | 8da0e6b9e7e39c130aaa8f9439be2d59df8002de | refs/heads/master | 2021-06-06T10:07:47.356386 | 2016-10-31T08:51:05 | 2016-10-31T08:51:05 | 72,343,509 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Hash_Entry {
int key;
int value;
public:
Hash_Entry(int key, int value) {
this->key = key;
this->value = value;
}
int get_key() {
return this->key;
}
int get_value() {
return this->value;
}
};
const int TABLE_SIZE = 128;
class Hash_T... | [
"nllan001@ucr.edu"
] | nllan001@ucr.edu |
f9b5203668b33bb6dd7af6a208748354fa3a859e | f0cb8232579d2287c617bafc59d26bb17c6016c5 | /src/future/cryptography/utils.h | ad36afe30a86e497f313b35fbcfa8c7d33f6ae06 | [] | no_license | Delaunay/vanagandr | 2c2dc3f9bb48b37baa22868fee269276f9fa9aca | 157386c71225a338f719155a68c094c64879b5e6 | refs/heads/master | 2021-01-22T02:12:55.877454 | 2015-08-16T13:28:02 | 2015-08-16T13:28:02 | 28,604,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | #ifndef VANAGANDR_CRYPTOGRAPHY_UTILS_HEADER
#define VANAGANDR_CRYPTOGRAPHY_UTILS_HEADER
#include "../enum.h"
namespace vanagandr
{
namespace cryptography
{
/*!
* Complexity
* ----------
* - O(b)
*
* Possible Upgrade
* ----------------
* - O(log(b))
*
*/
template<typename T>
T modular_pow(a, b, mod)
{
... | [
"pierre.delaunay@outlook.com"
] | pierre.delaunay@outlook.com |
dd28a13f185581c5bf0d0f3f05423949314c07b6 | 1b5b708e0925265031790896fd2987178cfe7f78 | /src/nubot/omni_vision/src/whites.cpp | b0519f1ce52ed5f844a4ad6a0f78bb5860d4a736 | [
"Apache-2.0"
] | permissive | Gwynplainyg/nubot_ws | 44998c39763e7e0595002a2045cb41298b7f74bd | 627da6a93e104dfd47fd22042da0c1f69e908c65 | refs/heads/master | 2020-12-09T16:06:58.943363 | 2018-12-14T10:13:52 | 2018-12-14T10:13:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,755 | cpp | #include "nubot/omni_vision/whites.h"
using namespace nubot;
Whites::Whites(ScanPoints & _scanpts,Transfer & _coor_transfer)
{
scanpts_ = &_scanpts;
transfer_ =&_coor_transfer;
img_white_.reserve(1000);
h_low_=45;
h_high_=120;
nums_pts_line_=5;
filter_width_=2;
... | [
"weijia.yao.nudt@gmail.com"
] | weijia.yao.nudt@gmail.com |
7d7d29780c59673041f77a17d2ac93cc675337fe | e4014a72bd3e9c7316ce108852c8a411dcf6788c | /Code/Public/IFCommonLib/IFNodeObj.h | 808845a50b0eec7fd594b6caf002b130b4f5a8b3 | [] | no_license | oneofzero/Infinite | f6a3b90c73ef2d99fa34c077012c8d9fa37ebaf1 | 72c2d898d4c25b43a1eb90b38df4734e6919f420 | refs/heads/master | 2022-08-08T05:33:05.272088 | 2020-05-25T03:11:54 | 2020-05-25T03:11:54 | 261,687,231 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,143 | h | #pragma once
#include "IFAttributeSet.h"
class IFNodeObj;
typedef IFRefPtr<IFNodeObj> IFNodeObjPtr;
typedef IFArray<IFNodeObjPtr> IFNodeObjList;
class IFCOMMON_API IFNodeObj : public IFAttributeSet
{
IF_DECLARERTTI;
IF_DECLARECREATEABLE;
public:
IFEventSlot<void(IFNodeObj* pObj, IFNodeObj* pSubObj)> ... | [
"huangcong@ztgame.com"
] | huangcong@ztgame.com |
80247324cb8fcc1c3fb16277ada1bfbe798452d0 | bd201e44af600c43abeac4679ea0cc489cd44e50 | /Server/common/fxtimer.cpp | 664850aa2cf0efa2617bd584da1cb75a87e17e73 | [
"MIT"
] | permissive | MySun275312964/FxLib | 87c98ac1cf32c90b8a99089bd054fa957764c5e6 | e05b296a80741ec9db447f6de8379dfc66047521 | refs/heads/master | 2020-04-12T09:16:49.960853 | 2018-12-18T13:16:31 | 2018-12-18T13:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,695 | cpp | #include <map>
#include <set>
#include <stdlib.h>
#include "fxtimer.h"
#include "fxmeta.h"
#include "lock.h"
#include "limiter_queue.h"
#ifdef WIN32
#include <time.h>
#else
#include <sys/time.h>
#endif // WIN32
double GetTimeOfDay()
{
static double s_qwTime = 0;
#ifdef WIN32
s_qwTime = (double)ti... | [
"724789975@qq.com"
] | 724789975@qq.com |
b09f4237f13bdc7eb4c806ec2ba56e7c0a645160 | dfe1f796a54143e5eb8661f3328ad29dbfa072d6 | /psx/_dump_/40/_dump_c_src_/diabpsx/source/preport.cpp | ee67f5cfc5e01da965dc3cbb8b63a751cd8e0900 | [
"Unlicense"
] | permissive | diasurgical/scalpel | 0f73ad9be0750ce08eb747edc27aeff7931800cd | 8c631dff3236a70e6952b1f564d0dca8d2f4730f | refs/heads/master | 2021-06-10T18:07:03.533074 | 2020-04-16T04:08:35 | 2020-04-16T04:08:35 | 138,939,330 | 15 | 7 | Unlicense | 2019-08-27T08:45:36 | 2018-06-27T22:30:04 | C | UTF-8 | C++ | false | false | 184 | cpp | // C:\diabpsx\SOURCE\PREPORT.CPP
#include "types.h"
// address: 0x8015A448
// line start: 74
// line end: 79
void InitPortals__Fv() {
{
// register: 16
register int i;
}
}
| [
"anders@jenbo.dk"
] | anders@jenbo.dk |
922a2fb2e11f693e2eefe14d4f304feeb6bb8447 | 8fd97c8310d59bf1ce9487e42dbf5395d4412345 | /source/utils/logger/clog.cpp | 63b893d8daa353ba11bd48a9a7618e2a494af342 | [
"Zlib"
] | permissive | gummikana/poro | 37c5dba0c11412e8ccdde5b4f5e949864c1e6e74 | 70162aca06ca5a1d4f92b8d01728e1764e4c6873 | refs/heads/master | 2023-06-22T17:48:43.103700 | 2019-09-17T15:32:31 | 2019-09-17T15:32:31 | 1,170,509 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 6,780 | cpp | /***************************************************************************
*
* Copyright (c) 2003 - 2011 Petri Purho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permissi... | [
"petri.purho@gmail.com"
] | petri.purho@gmail.com |
acc8c36e1834048a493011f83d2ae6fbd059eb9f | 1367d43ed9a5695fb14f2bacbd6380ef78cf0b54 | /include/util.h | df2e0f5cc48d75f434e9980ab7dd5db7a6b53fbe | [] | no_license | xuechaofelix/BDD | 1bbaf948c10f0630259c88769574c6fb22df41c4 | 302713f1f70e57e18741f6a57fc40273431ac7ee | refs/heads/master | 2020-04-12T17:32:40.331518 | 2018-12-21T02:32:08 | 2018-12-21T02:32:08 | 162,648,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #ifndef UTIL_H_
#define UTIL_H_
#include <string>
#include <fstream>
#include <iomanip>
#include <sstream>
using namespace std;
bool Write2File(string fileName,string content);
template<typename T>
string toString(const T& t){
ostringstream oss;
oss<<t;
return oss.str();
}
#endif | [
"xuechaofelix@hotmail.com"
] | xuechaofelix@hotmail.com |
1d1cd6c259390e873b426ebb7e1258eb513cea23 | 33d88cf70ad9f56d2833b150b932ab07d08e9b6e | /dp/maximum-size-sub-matrix-with-all-1s-in-a-binary-matrix.cpp | 920ab310c19a5419f82f0e9073ac8d7f78b02c22 | [] | no_license | sanyamdtu/interview_questions | 386c33fd8a72ff22a73cfb4c3b1d4d730695cc63 | 157880e9d83009db455eec1a370010ea7b494ea0 | refs/heads/main | 2023-08-14T21:43:26.330843 | 2021-10-02T06:18:46 | 2021-10-02T06:18:46 | 315,205,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | class Solution
{
public:
int maxSquare(int n, int m, vector<vector<int>> arr)
{
int dp[n][m];
memset(dp, 0, sizeof(dp));
for (int i = 0; i < n; i++)
{
dp[i][m - 1] = arr[i][m - 1];
}
for (int i = 0; i < m; i++)
{
dp[n - 1][i] = arr[... | [
"sanyamexam@gmail.com"
] | sanyamexam@gmail.com |
588357c5e80d89dfe5a87fe81852454f919c023e | 95f692202f127f964df763c5725950a35b18c922 | /MusicPlay-master/src/ui/ContentWidget/MusiSongList/musicsongssummarizied.cpp | 0c120a4398c14c5fdb65caf524f23a83821dd4b7 | [] | no_license | renjiexiong/vlc | 2ecabf2c4c5fc327956eaff40242fece50bfd217 | ff0cf3a28b6a6e48b1e5a027a3c7b94ca00320a8 | refs/heads/master | 2023-07-02T09:01:03.086337 | 2021-08-02T02:41:06 | 2021-08-02T02:41:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,200 | cpp | /*************************************************
Copyright:kevin
Author:Kevin LiQi
Date:2016-03-12
Email:kevinlq0912@163.com
QQ:936563422
Version:V1.0
Description:基于Qt的音乐播放器---歌曲汇总实现
Function:
**************************************************/
#include "musicsongssummarizied.h"
#include "musicsongslistwidget.h"
#in... | [
"zhengrui@hudunsoft.com"
] | zhengrui@hudunsoft.com |
f1675549b06cfaf122f1e62c2b69c2496145c6dc | 1777d9a09471e3e3523193dc0d808a5328815a13 | /Matriz.cpp | 27fc151d83687f21d99aad2649423d59a104892b | [] | no_license | thiagomcoutinho/TP1-POO | fe73a6b0f00ac4ec3f637569d5d6adb1ef4201ed | 9a297112e9d644ebe6b4468937eec55fe754c732 | refs/heads/master | 2020-06-28T19:08:21.518870 | 2019-08-03T01:23:31 | 2019-08-03T01:23:31 | 200,315,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,286 | cpp | #include"Matriz.h"
#include<iostream>
#include<stdexcept>
#include<bits/stdc++.h>
// PUBLIC METHODS
Matriz::Matriz(const int n_rows_, const int n_cols_){
n_rows = n_rows_;
n_cols = n_cols_;
if(n_rows != 0 && n_cols != 0){
m = new double*[n_rows];
for(int i=0; i<n_rows; i++){
m[i] = new doub... | [
"thiagomaltac@gmail.com"
] | thiagomaltac@gmail.com |
c562d33e12932e5aae0fc991e2eb21b29b13d4e1 | de13bba043b6d9cf3e78a8481ee16142ee84f127 | /Plugins/Bugly/Source/Bugly/Public/GenericBugly.h | 35f006c393dd110aed76c9324d55f166c82a8e5c | [
"MIT"
] | permissive | crazytuzi/UE4Bugly | 92610dd507ab32ed6e36703f6a29a03884723fec | 4f91379b11481aa32f58018aac35b2a394b45ae5 | refs/heads/master | 2023-03-18T00:23:17.496948 | 2022-11-21T03:46:18 | 2022-11-21T03:46:18 | 223,711,970 | 3 | 1 | MIT | 2022-04-29T16:33:41 | 2019-11-24T08:08:30 | C++ | UTF-8 | C++ | false | false | 1,340 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Templates/SharedPointer.h"
#include "GenericBuglyDelegate.h"
class BUGLY_API FGenericBugly
{
public:
FGenericBugly();
virtual ~FGenericBugly();
virtual void OnStartup(const FString& InAp... | [
"newzeadev@gmail.com"
] | newzeadev@gmail.com |
49de05b21a60367fefbba239cd151b6270ccc03e | 376883e26add80c6e3dc75fd3571b994d37eda51 | /src/signACommonUI/Chart2D/SAFigureWindowOverlay.cpp | 5388562ed230b2f3fe64933fda5ba3ef8e40ea4e | [] | no_license | rpzhu/sa | 4375142a565e9ed058acd2d0f2729f6cfa499c73 | 1a01b4ab065d2b596496126b43140e8bda922a53 | refs/heads/master | 2022-11-28T12:36:27.491989 | 2020-07-30T01:22:08 | 2020-07-30T01:22:08 | 275,979,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include "SAFigureWindowOverlay.h"
#include <QDebug>
SAFigureWindowOverlay::SAFigureWindowOverlay(SAFigureWindow* fig)
:QwtWidgetOverlay(fig)
,m_fig(nullptr)
{
m_fig = fig;
}
SAFigureWindow *SAFigureWindowOverlay::figure() const
{
return m_fig;
}
| [
"872207648@qq.com"
] | 872207648@qq.com |
5698ac16ef78f6b097c9b4df29fb920ca5041106 | 959f9c455401745d071114cf569ec458a3657f3e | /src/AddTest.cpp | c9180cf544258cd602473b94904d455d0692b32a | [] | no_license | swallville/trab2 | 56b72594aa12a9e584c42fb40b7c0d0cd73b4cb5 | ca67a71dc4c0e276d79208cc27cc85e0ace8acfa | refs/heads/master | 2021-01-18T00:18:35.391288 | 2016-09-21T22:48:13 | 2016-09-21T22:48:13 | 68,666,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,762 | cpp | /*
* AddTest.cpp
* Lab2
*
* Created by Lukas Ferreira on 14/09/16.
* Copyright © 2016 Lukas Ferreira. All rights reserved.
*/
#include "funcs.hpp"
using namespace Add;
using namespace testing;
class AddTest : public::Test
{
void SetUp(){}
virtual void TearDown(){}
};
/* Teste da funcao from_roman():
... | [
"unlisislukasferreira@hotmail.com"
] | unlisislukasferreira@hotmail.com |
537e192204b9b852721a50f6ddb84634c04fce90 | acd9c9594202027796af3dd48e4a6ca6680e08d5 | /contest7/J.cpp | a59a646f31b27d841d2422482b20125b21937deb | [] | no_license | ZhekLu/Yandex-Algorithms-Training | 3f9a7727169fbf31f1a996ed4aa1102292e87249 | 625e5a54e9e370a7bfa5417a70f75c55f3338d2a | refs/heads/main | 2023-08-25T11:54:36.214847 | 2021-10-04T17:45:30 | 2021-10-04T17:45:30 | 382,930,954 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cpp | #include <iostream>
#include <set>
#include <tuple>
#include <unordered_set>
using namespace std;
enum Events
{
BLOCK_END = -1, BLOCK_START = 1
};
int main()
{
int blockNum, W, L;
cin >> blockNum >> W >> L;
set<tuple<int, Events, int, int>> events; //z, type, area, index
for(int i = 1, x1, y1, z1,... | [
"justletmego@list.ru"
] | justletmego@list.ru |
6bb646681f88217ef956b505cee91bb795a330f3 | 960858e0bec3398d75dc07e6705506ec83c9df3d | /src/hostviewcli/stdafx.h | 9832c1dfd6c485fc1db2b5dd55f0715a8cb41eba | [
"MIT"
] | permissive | radtek/hostview-win | 85db65547f2c5f049b4877650eb3ba0a7932a7f5 | db890b83956081d98e64005873eb2e7e4c6891e6 | refs/heads/master | 2021-09-14T17:11:48.218173 | 2018-05-16T12:54:02 | 2018-05-16T12:54:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | h | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Muse / INRIA
*
* 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 u... | [
"annakaisa.pietilainen@gmail.com"
] | annakaisa.pietilainen@gmail.com |
2dbcd03ccff990ffd3de72d828ad730d9abc183e | 0f39b426b8f9e8b4c096070b85a0852580c2f904 | /DeepLearningToolKit/Toolkit/Core/Container/SanRange.h | ce3acf1cc409b313a4afa1774f0ed5fc5ab7cff7 | [
"MIT"
] | permissive | zxyinz/DeepLearningForBlueShark | 838db4fbc4caf65907ac76555ed29a5734130a9e | 025206aa7450b7ec86ebab9ca2bbcabe4421af91 | refs/heads/master | 2021-01-21T11:54:31.328844 | 2017-05-03T22:37:11 | 2017-05-03T22:37:11 | 85,154,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,231 | h | #include"SanContainerDef.h"
#pragma once
using namespace std;
namespace San
{
#ifndef __STDSANRANGE_H__
#define __STDSANRANGE_H__
template<class _type, class _Allocator = cSanSystemAllocator>
struct _srange
{
private:
_type Min;
_type Max;
_type Step;
public:
_srange(const _type &Min, const _type &Max, con... | [
"zxyinz@gmail.com"
] | zxyinz@gmail.com |
66ee5653e5cb1911cc9e08ba225ce27641585109 | 488b49075ae89dcb84dc22ca27a961671049e89a | /baekjoon/9461-파도반수열.cpp | f68e125f9dbc8242ce5797cf07944920ecc1ab78 | [] | no_license | blytheej/alg | 4cb2f24d30e7e35b6282ad08c823e23f756bfc3c | 332f12ddc643a91501fccaf5dfaaafd1fe8a38a4 | refs/heads/master | 2020-03-27T03:33:39.719217 | 2019-10-17T04:48:51 | 2019-10-17T04:48:51 | 145,871,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include <stdio.h>
int main() {
int tc;
scanf("%d", &tc);
long long int wave[102];
wave[0] = 1;
wave[1] = 1;
wave[2] = 1;
wave[3] = 2;
wave[4] = 2;
for (int i = 5; i <= 100; i++) {
wave[i] = wave[i - 1] + wave[i - 5];
}
for (int i = 0; i < tc; i++) {
int n;
scanf("%d", &n);
printf("%lld\n", wav... | [
"blytheej@naver.com"
] | blytheej@naver.com |
0ddb34827841deda89f2fb63caade89efcf71fb0 | 672ba9aba77ead521356284c8fc47165bcd8adf1 | /tags/0.2/api/include/api/init.hpp | ecfe8c2fb83031e9aeb6d099f875da369ef11e1b | [] | no_license | BGCX261/zia-tamer-svn-to-git | fdca85aeb6c2290c6b89dc574aa202192c521d04 | 852ed903f0adefcdd0869ec2d954cc8a25bb5c5a | refs/heads/master | 2021-01-10T21:53:38.993041 | 2015-08-25T15:27:48 | 2015-08-25T15:27:48 | 41,600,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | hpp | #ifndef _INITDLL_H_
#define _INITDLL_H_
#include <list>
#include "IModule.hpp"
#include "IConf.hpp"
#include "HttpStep.hpp"
#include "IStream.hpp"
extern "C"
{
/*!
* \brief Global log
*
* This will be given by the Core.
* Use it only inside external functions of the dll.
*/
zia::api... | [
"you@example.com"
] | you@example.com |
fa7c945b97b75adad16f168891c38ef9bc8f4021 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+addr-rfi-data-rfi.c.cbmc.cpp | 9283a8da1ea545fd682df0655b942b13fcc39dbf | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 44,334 | cpp | // 0:vars:3
// 6:thr0:1
// 7:thr1:1
// 3:atom_1_X0_1:1
// 4:atom_1_X5_1:1
// 5:atom_1_X8_1:1
#define ADDRSIZE 8
#define NPROC 3
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, cha... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
546290d7103708f970ff4164ea00558a0f1cb077 | 22d4ec8baf3258edf318a7832a169a11e9fd12d1 | /Flocking/SeekAndFace.h | a65fe44e3dd1546ab652d2e6c967565aa39539cf | [] | no_license | Laurareilly/EventSystem | fee7f902266f8d9c6766ee8b3eb56517a4e322ef | e219f4499b88373c0d45d48f8f317d36449bfb4f | refs/heads/master | 2021-07-22T20:48:47.566374 | 2017-10-31T00:25:11 | 2017-10-31T00:25:11 | 108,455,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | /*
Author: Laura Reilly
Class: EGP 410-02
Assignment: Assignment 2- Steering behaviors
Certification of Authenticity: I certify that this assignment is entirely my own work.
*/
#pragma once
#include "FaceSteering.h"
#include "SeekSteering.h"
class SeekAndFace: public Steering
{
//so that wander steering can use our ... | [
"laura.reilly@mymail.champlain.edu"
] | laura.reilly@mymail.champlain.edu |
d1af248192ca1afa65ba9bf73f554d3bdd16aff4 | c4617bb18dee000848aee5593e8668c3d1516b97 | /Experiment_Controller_V6/Pixelfly/pixelfly_cam.cpp | aed359c205996cb0bd96c50179155cd98a12b42b | [] | no_license | liangqibox/Lithium6_ATI | 469f688dbea6a128b53e159cc4b9e9562f0a9640 | b81cea8895ed15db941019a8c00101499317b731 | refs/heads/master | 2020-12-26T10:32:39.611130 | 2020-01-31T18:26:17 | 2020-01-31T18:26:17 | 237,481,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,607 | cpp | #include "pixelfly_cam.h"
#include <QDebug>
Pixelfly_Cam::Pixelfly_Cam(QObject *parent) : QObject(parent){
wCamNum = 0;
hBWConv = 0;
wTriggerMode = 0x0000;
dwDelay = 0;
dwExposure = 100;
wTimeBaseDelay = 0;
wTimeBaseExposure = 0x0001;
XRes = 1392;
YRes = 1040;
wBitPerPixel = 1... | [
"60519181+liangqibox@users.noreply.github.com"
] | 60519181+liangqibox@users.noreply.github.com |
f06d882f98682f035e95192bb6c6bf447a584183 | 2f874d5907ad0e95a2285ffc3592b8f75ecca7cd | /src/websocketpp/websocketpp/transport/base/connection.hpp | fb93a6ea2d2fae6f168ae3b21c9a1ddcb41b5855 | [
"BSD-3-Clause",
"Zlib",
"MIT",
"MIT-Wu",
"ISC",
"BSL-1.0"
] | permissive | dzcoin/DzCoinService | fb93809a37fad0a26bf26189266b44cf4c797865 | b0056717d6bcc1741f4fb3f3f166cd8ce78393f9 | refs/heads/master | 2021-01-20T20:28:41.639585 | 2016-08-15T06:21:51 | 2016-08-15T06:21:51 | 65,678,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,813 | hpp | /*
* copyright (c) 2014, peter thorson. 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 con... | [
"dzgrouphelp@foxmail.com"
] | dzgrouphelp@foxmail.com |
6b280af83ac36df1fe3f3deec17a627e7ef7f4db | 6ba38fe94e7ea5146c633f56f59c0c3278d695a7 | /plugins/core/FakeMonkey/FakeMonkeyEyeMovementChannel.h | d65d147c86611347430584625e00dfe161c71273 | [
"MIT"
] | permissive | mworks/mworks | b49b721c2c5c0471180516892649fe3bd753a326 | abf78fc91a44b99a97cf0eafb29e68ca3b7a08c7 | refs/heads/master | 2023-09-05T20:04:58.434227 | 2023-08-30T01:08:09 | 2023-08-30T01:08:09 | 2,356,013 | 14 | 11 | null | 2012-10-03T17:48:45 | 2011-09-09T14:55:57 | C++ | UTF-8 | C++ | false | false | 1,702 | h | /*
* FakeMonkeyMovementChannel.h
* FakeMonkey
*
* Created by bkennedy on 10/24/08.
* Copyright 2008 mit. All rights reserved.
*
*/
#ifndef FAKE_MONKEY_EYE_MOVEMENT_CHANNEL_H
#define FAKE_MONKEY_EYE_MOVEMENT_CHANNEL_H
#include "FakeMonkeyStatus.h"
#include "MWorksCore/Clock.h"
#include "MWorksCore/GenericVa... | [
"cstawarz@mit.edu"
] | cstawarz@mit.edu |
b774b820a90b7f3f51808c74bf4cdb47719d6e87 | 9173f55583dcade2474ffe3f0ba4f9e2692572d7 | /src/syntax/ast/ast_range.hpp | e1f3e3d4515b0090df93e25830d0235f49a5e79c | [] | no_license | nyanzebra/cat | 234888ecd6f6029358fe165e7ecd492a28b9217c | 118ee41c98bd73173f9243c8997688346ccec5dc | refs/heads/master | 2021-03-24T12:02:07.875373 | 2018-06-26T07:47:23 | 2018-06-26T07:47:23 | 118,212,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | hpp | #pragma once
#include "ast_expression.hpp"
namespace syntax {
class ast_range final : public ast_expression {
private:
protected:
public:
private:
protected:
public:
std::ostream& print(std::ostream& stream, size_t tabs = 0) override { return stream; }
void* accept(code_generator_visitor* visitor) override;
};
... | [
"robbaldwin95@gmail.com"
] | robbaldwin95@gmail.com |
94f91e9ded6e7f10ce25e92be2059a9b4aa2974b | bdb2c303701fc74d2c2291bb9ee45e6ce0d0b80e | /scripts/src/aux.hpp | ddb273c8ab52deb3c59ef95c64bf9efc90509ec9 | [] | no_license | simaomenesesjoao/kestrel | bde9c711fb9dc673dfdeb175882c9594e65a6009 | ffdb305f7677971fcb27cab2e31ba17592195c4f | refs/heads/master | 2021-06-14T20:33:12.567853 | 2021-05-26T22:54:29 | 2021-05-26T22:54:29 | 198,523,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | hpp |
double jackson(unsigned n, unsigned N);
Eigen::Array<TR, -1, -1> calc_dos(Eigen::Array<TR, -1, -1> mu, Eigen::Array<TR, -1, -1> energies, std::string mode);
void extended_euclidean(int a, int b, int *x, int *y, int *gcd);
class variables{
public:
double avg_time;
unsigned iter;
unsigned m... | [
"simao_meneses_joao@hotmail.com"
] | simao_meneses_joao@hotmail.com |
4810d62f56d1fb38eaf957308dbeba427f6ef4d8 | bc1a36a31673a24228f52bc48069b1b86c07e6b4 | /picturepushbutton.h | 0ed63c1cfb38b7e40557db9c079b7a5ce28d1e98 | [] | no_license | lgbo-ustc/videoplayer | 9418ebf7dbea1c55044c1cb72507815d1f74758d | e2c1b709b6cfca689f39eaf6c9ac468fb286be21 | refs/heads/master | 2021-01-10T21:59:13.077778 | 2013-08-10T08:46:17 | 2013-08-10T08:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #ifndef PICTUREPUSHBUTTON_H
#define PICTUREPUSHBUTTON_H
#include <QPushButton>
class PicturePushButton : public QPushButton
{
Q_OBJECT
QPixmap pixmap;
QIcon icon;
public:
explicit PicturePushButton(QWidget *parent = 0);
void setPixmapPath(const QString &path);
void setSizeExt(const QSize &size... | [
"lgbo.ustc@gmail.com"
] | lgbo.ustc@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.