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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aa1205f35021924e57eb9044121e3e8cf4fa2b13 | 8c90e0ffb2819653c566aa7894e73b2726fb3640 | /mekai/13_class/width.cpp | 90b5cfc558374982bd47b4555ad2773743973bd6 | [] | no_license | Tetta8/CPP_test | f842390ad60a0aeb259240910d12d1b273ce58ed | a4692aae32bbc6bfce2af61567a9fa0575e47fe0 | refs/heads/master | 2021-01-04T17:20:09.526885 | 2020-09-17T05:09:19 | 2020-09-17T05:09:19 | 240,681,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include <iostream>
using namespace std;
int main(){
char str[10];
cout << "文字列を10文字未満で入力せよ:";
cin.width(10);
cin >> str;
cout << "str = "; cout.width(12); cout << str << endl;
cout << "str = " << str << endl;
} | [
"tester.ta8@gmail.com"
] | tester.ta8@gmail.com |
18dc6b9c00913595e3b9198c86b3c1ded5981ed0 | 274e1169a03062140871e4fddaf4836e30cce503 | /src/CursATE/Screen/help.hpp | 0d210d85a70188d13874778bfd626cab002dc886 | [
"BSD-2-Clause"
] | permissive | el-bart/LogATE | 38df676a9874c42d9ec862cf3090e0e31bc134f2 | 88569417c0758318a049205bb69f3ecee4d13a32 | refs/heads/master | 2023-08-29T14:45:26.924602 | 2023-07-25T17:55:13 | 2023-07-25T17:55:13 | 152,469,962 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 57 | hpp | #pragma once
namespace CursATE::Screen
{
void help();
}
| [
"bartosz.szurgot@qiagen.com"
] | bartosz.szurgot@qiagen.com |
db4842ca667c42120e5124db7818a9864bb347d7 | 9e898b8b8033dd02a499e1e8f7801bbae34ba35c | /FM-Index/FMIndex.h | 60fb9c7f82562bec21c0d3b9afdd7641d4382645 | [] | no_license | KoyanoBunsho/FM-Index | f25dd096d578f5fb1802a68c8235932597a2de06 | 7a5177fa33dd07728d4e1dcb5f4b6d4bb11ec675 | refs/heads/master | 2022-02-19T20:23:40.720555 | 2019-08-20T11:21:05 | 2019-08-20T11:21:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,179 | h | #ifndef __FM_Index__FMIndex__
#define __FM_Index__FMIndex__
#include <map>
#include <list>
#include <iterator>
#include "WaveletTree.h"
class FMIndex
{
public:
class const_iterator : public std::iterator<std::forward_iterator_tag, char>
{
private:
const std::unique_ptr<WaveletTree> & BWT_or_BWTr;... | [
"olivernash@Olivers-MacBook-Pro.local"
] | olivernash@Olivers-MacBook-Pro.local |
de50b4a6bb27be2d0ca8aff5f5d7c574eeed7e71 | e80972c3d72814438e7f2564fbd8931d1eb773ba | /Section01/Nick/Assignment 2 - Steering/SwitchPathfindingMessage.h | 3ff8a55ca58afdd23c2e66c81588e3c4f8c21fae | [] | no_license | dacuster/GameAI | 9b8a8bc75e34142612d0ddefc8c136a300c0017a | 0f6814e33e875af3493eb3de36029ebee491fa02 | refs/heads/master | 2020-09-01T14:25:49.511069 | 2019-12-06T09:32:25 | 2019-12-06T09:32:25 | 218,979,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | h | /*********************************************************************
** Author: Nick DaCosta **
** Class: 340 <Section 01> **
** Assignment: pa 4 **
** Certification of Authenticity: **
** I certify that this assignment is entirely my own work. **
********************... | [
"dacosta.nick@yahoo.com"
] | dacosta.nick@yahoo.com |
b0576b31cd4a37030f9ab8e1befff3edba64098c | dbb2039848c2a264eedb3510ef800c47cbfe5afc | /shared_model/backend/protobuf/impl/permissions.cpp | fd54529c5aae4c720b4a5fe55255c1796de4b2bf | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | alxndrtarasov/iroha-rest | d5404551db2fcee6299cd8f4b5a43f2c89cf98a1 | 69975ba6a7a619db612f582ec3720b9460d383eb | refs/heads/master | 2022-12-10T21:33:30.915616 | 2019-04-11T14:19:36 | 2019-04-11T14:19:36 | 180,153,183 | 0 | 1 | Apache-2.0 | 2022-12-07T23:53:32 | 2019-04-08T13:18:39 | C++ | UTF-8 | C++ | false | false | 2,141 | cpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "backend/protobuf/permissions.hpp"
namespace shared_model {
namespace proto {
namespace permissions {
interface::permissions::Role fromTransport(
iroha::protocol::RolePermission perm) n... | [
"trezor0210@gmail.com"
] | trezor0210@gmail.com |
43aff7ae8f6eb177c7c4c9702783914fc0405288 | 93f6548440a8d61e852cbf4683bc551784a74182 | /FilePosition.h | 518d4611a4583d729a168a600c9dc6c2cfff135f | [] | no_license | RikuSyaCyo/miniSQL | 73c756c68241599232551adde6cf6a4355f4ed03 | d2ac82c3465e2b0867cb1b32b2d39a1ff55f96c2 | refs/heads/master | 2021-01-10T15:29:03.779548 | 2015-11-08T15:33:25 | 2015-11-08T15:33:25 | 45,240,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | #pragma once
#include <string>
#include <iostream>
#include <sstream>
using namespace std;
class FilePosition
{
private:
static const int FILENAMELENGTH = 32; // max length of file name
char fileName[FILENAMELENGTH];
public:
int blockNo;
FilePosition();
~FilePosition();
string Hash() const
{
stringstream strN... | [
"598991258@qq.com"
] | 598991258@qq.com |
bcab1964e5fbbc98186ea6757550ec6a63d0a59c | b3554c0cfca16513303e49e82b2762498f414c1f | /src/shaders/EffectShaders.h | 99ce390591dce726678d219949bfbc60cc6b36f4 | [] | no_license | mfkiwl/oculon | 9d75148364649b2729e0adffcbd6cc37dc125d88 | 92d3101c8a0c6b896b4ce37c8169cdbbf3f88a06 | refs/heads/master | 2023-01-10T11:35:50.173892 | 2020-11-14T23:10:19 | 2020-11-14T23:10:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,114 | h | //
// EffectShaders.h
// Oculon
//
// Created by Ehsan Rezaie on 2014-05-15.
//
//
#pragma once
#include "Scene.h"
#include "TimeController.h"
#include "AudioInputHandler.h"
#include "SimplexNoiseTexture.h"
#include "FragShader.h"
#include "TextureSelector.h"
#include "AudioBandSelector.h"
#include "cinder/gl/Gls... | [
"ehsan@ewerx.ca"
] | ehsan@ewerx.ca |
f3123b794d47921266d87f1e39b22e4c307ea9c1 | 93e75fbf66f304abc4b64df6b5c1e46bc045931f | /libs/irrlicht-1.2-patched/source/Irrlicht/CColorConverter.cpp | 629acf0c3918f67931ca59b711c0c90cc9feacd2 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | fossabot/Bolzplatz2006 | 3397cd69a0d8e193ecee6e6dde6b196e5be0903b | a368427f9654776d9968de8ae067f200ffb0f68d | refs/heads/master | 2023-02-24T08:42:02.268217 | 2021-01-29T09:49:34 | 2021-01-29T09:49:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,326 | cpp | // Copyright (C) 2002-2006 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CColorConverter.h"
#include "SColor.h"
#include "os.h"
#include <string.h>
namespace irr
{
namespace video
{
//! converts a... | [
"hoehnp@gmx.de"
] | hoehnp@gmx.de |
370095a4162be3c0f08604deb76d109b5c25c407 | 701c6718dcea101242cd37dd8c6e2d937102ad90 | /cf_100.cpp | e720fd8d2d60027053b60571a4d96d8553964980 | [] | no_license | Ch-Lokesh/cp_practice | e373567fc7233ab4b7fed38ad69bc0498cd2cd57 | 0b75bcf2661bbbb2791f2ebb4abfd2ca6b7c4c33 | refs/heads/main | 2023-05-31T20:44:21.384092 | 2021-07-13T03:50:22 | 2021-07-13T03:50:22 | 362,665,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fori(i, n) for (int i = 0; i < int(n); i++)
#define forll(i, n) for (ll i = 0; i < ll(n); i++)
#define MOD 1000000007
void neg()
{
cout << -1 << endl;
}
void No()
{
cout << "No" << endl;
}
void NO()
{
cout <... | [
"chikkula@iitkgp.ac.in"
] | chikkula@iitkgp.ac.in |
7888e5c580a283a6f068785efd3b5cc1ab740c86 | 715b2962ea1befeec1ed97733d6fc48337993380 | /Classes/UnitTest/CocosGUITest.h | 8532f1396a2548cd9856f93e01f1382bdbd873ed | [] | no_license | tklee1975/SimpleTDD-ccx3-demo | 69d1e00831b7c02388ab349f605c3f8599fa26de | d39101d999a8d1bd7c9f1bf3f8bd24e3c6c52529 | refs/heads/master | 2021-01-19T06:34:51.803956 | 2016-10-23T14:35:07 | 2016-10-23T14:35:07 | 31,271,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #ifdef ENABLE_TDD
//
// CocosGUITest.h
//
//
#ifndef __TDD_CocosGUITest__
#define __TDD_CocosGUITest__
// Include Header
#include "TDDBaseTest.h"
// Class Declaration
class CocosGUITest : public TDDBaseTest
{
protected:
virtual void setUp();
virtual void tearDown();
virtual void defineTests();
virtual void will... | [
"tklee1975@gmail.com"
] | tklee1975@gmail.com |
cefaf08208079b00e5c832d66e9881a62e4f2161 | 1a1cc549631350f32927d14f43a7b21905729c60 | /peternndor_2035_147003_main-2.cpp | 75c8875290240b0840eb451708ee81838e796ebb | [] | no_license | thec0dewriter/AlgoGI2020 | d17466b379e5073f69edae26e52deead51938532 | 1cc7a448465fb534922c687f1173d09a5c0a89ca | refs/heads/main | 2023-01-21T08:41:51.225765 | 2020-11-30T21:14:20 | 2020-11-30T21:14:20 | 317,330,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | cpp |
/////PETER NANDOR GI2
#include <iostream>
#include <fstream >
#include <math.h>
using namespace std;
///1. Feladat: MAXIMUM KIVALASZTAS
/*
void maximum_kivaszlatas(unsigned long int n, unsigned long int a[]);
void kiir(unsigned long int n, unsigned long int a[]);
int main()
{
ifstream f("be.txt");
unsigne... | [
"kutikmatyas@gmail.com"
] | kutikmatyas@gmail.com |
09867a26f454bb45d3e091c8125fb14e5f3bebe3 | 8662931078c2ff999c8b2ee248ee1ce2109ab81a | /TinySTL/ReverseIterator.h | b54e0b117775c6ec06fcc3a74a145b91f3b6f0f6 | [] | no_license | sydtju/TinySTL | 6d0d396dc4cf11e686b2abe6edde707ea9e9df3b | a02fe7120f2512b472a133a84d25a57ab8b4d03d | refs/heads/master | 2021-01-21T17:03:16.514249 | 2015-07-16T13:07:32 | 2015-07-16T13:07:32 | 39,196,873 | 2 | 0 | null | 2015-07-16T12:58:27 | 2015-07-16T12:58:27 | null | GB18030 | C++ | false | false | 6,332 | h | #ifndef _REVERSE_ITERATOR_H_
#define _REVERSE_ITERATOR_H_
#include "Iterator.h"
namespace TinySTL{
template<class Iterator>
class reverse_iterator_t{
public:
typedef Iterator iterator_type;
typedef typename iterator_traits<Iterator>::iterator_category iterator_category;
typedef typename iterator_traits<Itera... | [
"1210603696@qq.com"
] | 1210603696@qq.com |
63f26f78b7b938a3bf7d59a4dd2c44d21fa7a650 | 31ea1a5b210c90a62eb0b1a1732d7a66ca8bb4a0 | /IAccessible2Test/win-include-accessibility/CAccessibleHyperlink.h | e7523478f56b253b55ae0b42c38ceca5caadab73 | [
"MIT"
] | permissive | define4real/hello-world | b0185f36da57de754d5aaef79e0464933323fd8f | 296d79bbdb62872a48f5167101b00cf2073503a2 | refs/heads/master | 2023-06-08T20:03:36.139123 | 2023-06-07T13:35:05 | 2023-06-07T13:35:05 | 166,627,902 | 0 | 0 | MIT | 2019-01-20T06:08:03 | 2019-01-20T05:47:25 | null | UTF-8 | C++ | false | false | 2,910 | h | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:expandtab:shiftwidth=2:tabstop=2:
*/
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use t... | [
"define4real@gmail.com"
] | define4real@gmail.com |
48023d03a73ae0d1510b2493cd0ed0721af1c065 | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MKL36Z4/include/arch/reg/fgpioe.hpp | 80bae73acca966d0d8a8e80c60a71e2e3eff3709 | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,918 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
05b1e16b8e31b2718ab76a413ef53cf7d11b3b53 | 7d041327921bd0b41b0f6060536872a39eacfb3a | /Подготовительная программа по программированию на С-С++/Task_2.cpp | f2514df3084a4244a960606755647f887e0ea962 | [] | no_license | TatyanaMin/Cplusplus | a78479e75550fda90518ad71c2c0d0bfd0fdf214 | 9a4165b1b18382eefb49289ddae9f186afd5fe9c | refs/heads/master | 2023-08-25T04:00:52.893807 | 2021-10-28T20:19:58 | 2021-10-28T20:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,173 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
using namespace std;
class Student {
friend class findStudent;
public:
Student();
Student(const Student&);
Student(char*, char*, char*, char*, char*, char*, char*, char*, char*, char*);
void set(char... | [
"79032312801@yandex.ru"
] | 79032312801@yandex.ru |
c99c0b51db9dade53a7a6339753c47fbbe7f3360 | 6f224b734744e38062a100c42d737b433292fb47 | /lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/main.cpp | b948fe1b4b375fc6080005ee2b6462ea6dcfb8ee | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 857 | cpp | #include <cstdio>
#include <deque>
struct Foo_small {
int a;
int b;
int c;
Foo_small(int a, int b, int c) : a(a), b(b), c(c) {}
};
struct Foo_large {
int a;
int b;
int c;
char d[1000] = {0};
Foo_large(int a, int b, int c) : a(a), b(b), c(c) {}
};
template <typename T> T fill(T deque) {
for (int... | [
"wallace@fb.com"
] | wallace@fb.com |
a35d2a8da874a92d3ab312eded48f1b0f2343799 | 4dbaea97b6b6ba4f94f8996b60734888b163f69a | /LeetCode/68.cpp | 1e1e34dd9a7682b477c991e869f802d9ea64f421 | [] | no_license | Ph0en1xGSeek/ACM | 099954dedfccd6e87767acb5d39780d04932fc63 | b6730843ab0455ac72b857c0dff1094df0ae40f5 | refs/heads/master | 2022-10-25T09:15:41.614817 | 2022-10-04T12:17:11 | 2022-10-04T12:17:11 | 63,936,497 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | class Solution {
public:
vector<string> fullJustify(vector<string>& words, int maxWidth) {
vector<int> stringLen;
vector<string> output;
for(int i = 0; i < words.size(); i++){
stringLen.push_back(words[i].length());
}
int i = 0;
while(i < stringLe... | [
"54panguosheng@gmail.com"
] | 54panguosheng@gmail.com |
f0f50ff9e535b2221f7962a8fe666d0457bd4a90 | c19a1d618a295aa685e91b9855d5a686ae23a35d | /LDE/gui/LDEgui_core_draw.cpp | 894ad148948d8a50b0b1782e2ae68388a0dfb7a8 | [] | no_license | HappyLDE/Faya-Editor | 680abb4ae483a7806a3e5345778d92abb00f22fd | c206b3ad8cd32b998b83d47e243b13c08110b971 | refs/heads/master | 2021-01-01T06:54:30.320700 | 2012-07-15T21:46:13 | 2012-07-15T21:46:13 | 4,239,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,172 | cpp | /********************************************************************\
*
* Little Dream Engine 2
*
* Scene Gamera
\********************************************************************/
#include "LDEgui_core.h"
void LDEgui::draw( vec2i cursor, LDEfloat frametime )
{
unused = 1;
focus_window = 0... | [
"happylde@gmail.com"
] | happylde@gmail.com |
13e05e0b2536a1dbb544f3f5054886bc547940c2 | 62a7571b8e75e6228c5e08290e3e847ff9a07f94 | /interfaces/salle.cpp | 6bcc8de11be641bc892a0f4e3d41809d88819803 | [] | no_license | g4145/smartcinema | ce38295a4f0ba2a7d355270c2c5b991b927b3765 | 687f4a2d7be8c519866c4afa6bb345ea6bc493ca | refs/heads/main | 2023-02-10T13:45:49.283527 | 2021-01-10T10:22:03 | 2021-01-10T10:22:03 | 317,076,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,372 | cpp | #include "salle.h"
#include <QSqlQuery>
Salle::Salle(int id,QString nomsalle,int capacite,int numbloc )
{
this->id=id;
this->nomsalle=nomsalle;
this->capacite=capacite;
this->numbloc=numbloc;
}
Salle::~Salle()
{
}
QString Salle::getnomsalle(){
return nomsalle;
}
void Salle::setnomsalle(QString ... | [
"yassine.brahmi@esprit.tn"
] | yassine.brahmi@esprit.tn |
c90d0f93034814c0e83f1b479605ff4415cd1618 | 0123e81421499171e9a8181edd873ac748f75cc5 | /testA3/gui/testA3mw.h | 772904bbb0ed70ed2b30dc1525eb7d4a1362679c | [] | no_license | VirusRushTheater/WhimsyAudio | 516bbaa032af63a9505f80624502835a3bb07ffc | 4df31b7f3f4a2c4e81844bedb5735af70fc9373b | refs/heads/master | 2021-01-12T01:48:00.055360 | 2017-01-10T17:22:56 | 2017-01-10T17:22:56 | 78,432,747 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 445 | h | #include <QWidget>
#include <QTextEdit>
#include <QPushButton>
#include <QGridLayout>
#include <QSpinBox>
#include <QSlider>
#include <QDebug>
#include <QLabel>
#include <QComboBox>
#include "../portaudio_engine/scopedPAContext.h"
class TestA3MW : public QWidget
{
Q_OBJECT
public:
TestA3MW(QWidget* parent =... | [
"virusrushtheater@gmail.com"
] | virusrushtheater@gmail.com |
49d4bd99db77f439e574db1410936f51c49fa15d | 86b55c5bfd3cbce99db30907ecc63c0038b0f1e2 | /gpu/command_buffer/service/shared_image_backing_gl_image.cc | f2593def3206ceb802a780d7e3b984485e145797 | [
"BSD-3-Clause"
] | permissive | Claw-Lang/chromium | 3ed8160ea3f2b5d51fdc2a7d764aadd5b443eb3f | 651cebac57fcd0ce2c7c974494602cc098fe7348 | refs/heads/master | 2022-11-19T07:46:03.573023 | 2020-07-28T06:45:27 | 2020-07-28T06:45:27 | 283,134,740 | 1 | 0 | BSD-3-Clause | 2020-07-28T07:26:49 | 2020-07-28T07:26:48 | null | UTF-8 | C++ | false | false | 23,569 | cc | // Copyright 2020 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 "gpu/command_buffer/service/shared_image_backing_gl_image.h"
#include "base/trace_event/memory_dump_manager.h"
#include "build/build_config.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e7fdd063828673c96a68b0ad7275989c13c8ecd8 | b94bc1eccf537f95f994c71bf80932aa23c8042e | /src/GripPipeline.h | b007de2fb9a47b0891d84d87808bdc1ebcd70f00 | [] | no_license | Team3655/Phyllis-7.0 | 06e2d7df3b6e10cf53037bfbaf942139eebae411 | 3ef9cd20eb1590f5513c5aba92fecd50046f2527 | refs/heads/master | 2021-01-12T02:09:32.268658 | 2017-04-30T03:43:57 | 2017-04-30T03:43:57 | 78,480,278 | 2 | 7 | null | 2017-04-06T03:59:38 | 2017-01-09T23:54:38 | C++ | UTF-8 | C++ | false | false | 2,004 | h | #ifndef GRIP_PIPELINE_H
#define GRIP_PIPELINE_H
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/features2d.hpp>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include... | [
"agnewsilas@gmail.com"
] | agnewsilas@gmail.com |
a72f6d44d9ffaf33c9ef8d75df5685f54abbaa02 | cf28facb7ad9cc7eeeed780a9173ca8f98289ef5 | /empery_center/src/captain_item_attribute_ids.hpp | 4da26bdf18f5c9db55f51a872cac9759a7d3d315 | [] | no_license | kspine/referance_solution | aafa5204f3ef840d281e814aa0eeb210ffcf7633 | d667f7402cf951ce4784a19aa5619de80245e5f3 | refs/heads/master | 2021-01-22T05:16:26.760739 | 2017-02-10T06:41:54 | 2017-02-10T06:41:54 | 81,633,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | hpp | #ifndef EMPERY_CENTER_CAPTAIN_ITEM_ATTRIBUTE_IDS_HPP_
#define EMPERY_CENTER_CAPTAIN_ITEM_ATTRIBUTE_IDS_HPP_
#include "id_types.hpp"
namespace EmperyCenter {
namespace CaptainItemAttributeIds {
constexpr CaptainItemAttributeId
ID_BEGIN(0),
ID_CUSTOM_PUBLIC_END(100),
ID_CUSTOM_END(200),
ID_PUBLIC_END(... | [
"root@debian"
] | root@debian |
c6b6ab51a48d26097a89f539d3987d079a17d986 | 7140b7ba22072062fbf77569b753691fe65e2a9b | /CPP/AlgoNotes/chap08/277.cpp | 677d4b8d7082bb8d6d8c82f88b7e5665e18453bf | [] | no_license | mosqlwj/workspace_2019 | 0c2fccd68f7cef5d6782296398827de8ead3758f | 5685213b5a66327f3e42443538af4fef35368979 | refs/heads/master | 2022-01-23T09:02:53.385864 | 2019-06-12T13:11:09 | 2019-06-12T13:11:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | cpp | //
// Created by lenovo on 2019/5/14.
//
//bfs
/*
#include <iostream>
#include <queue>
using namespace std;
const int maxn = 100;
struct node {
int x;
int y;
} Node;
int n = 6, m = 7;
int matrix[maxn][maxn] = {{0, 1, 1, 1, 0, 0, 1},
{0, 0, 1, 0, 0, 0, 0},
... | [
"liwenjie_0121@163.com"
] | liwenjie_0121@163.com |
932480814df34e1393cc7874e2055bc97a2d79b3 | 64e2fed5173f3d073e5fbd224d0bd5fd4f20815b | /3-CS-DQ-Greedy/problems/codeforces/max-distance/maxdist.cpp | 47e7aff02ce5c03e6b2ac3165b3fee3d5cd38256 | [] | no_license | aldonavarretefp/slides-code | 8db375eec294ce571770a91b6d9e93ae35319b50 | 860e25f04e5a801ab818b76a071df3ea1df87479 | refs/heads/main | 2023-09-03T20:29:42.723685 | 2021-10-23T16:48:12 | 2021-10-23T16:48:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,572 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
#define endl '\n'
#define... | [
"nestor.martinez.98@hotmail.com"
] | nestor.martinez.98@hotmail.com |
9d3ec72e9f934b675e19118edd71e044b577d185 | 9b1a0e9ac2c5ffc35f368ca5108cd8953eb2716d | /4/01 General Programming/12 My/Dialogs/DlgEditSphere.cpp | 30347f36b34d037884baa8f6ecef242b8834ddc9 | [] | no_license | TomasRejhons/gpg-source-backup | c6993579e96bf5a6d8cba85212f94ec20134df11 | bbc8266c6cd7df8a7e2f5ad638cdcd7f6298052e | refs/heads/main | 2023-06-05T05:14:00.374344 | 2021-06-16T15:08:41 | 2021-06-16T15:08:41 | 377,536,509 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | // DlgEditSphere.cpp : implementation file
//
#include "stdafx.h"
#include "..\RTTIProps.h"
#include "DlgEditSphere.h"
#include "EngineMaterial.h"
#include "DlgChooseMaterial.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// static members
float... | [
"t.rejhons@gmail.com"
] | t.rejhons@gmail.com |
b3b15466af79cadf0065aef16a4176a50026fd20 | 4df599a51b13e26d7936b8caa3b28ef43d6a539d | /UniEngine/include/CameraControlSystem.h | dcdb18cbff6661cdd36e9c9b9bbc5c13978a5401 | [
"MIT"
] | permissive | bmjoy/UniEngine | b2e47faed2b3503433fcc9ab75063439c1280c96 | 55e0a1865e0004100f26e4bba3b16a36e9142012 | refs/heads/master | 2023-02-12T22:55:57.282932 | 2020-12-21T01:17:45 | 2020-12-21T01:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | #pragma once
#include "Core.h"
#include "UniEngineAPI.h"
#include "CameraComponent.h"
#include "TransformManager.h"
namespace UniEngine {
class UNIENGINE_API CameraControlSystem :
public SystemBase
{
float _Velocity = 20.0f;
float _Sensitivity = 0.1f;
float _LastX = 0, _LastY = 0, _LastScrollY = 0... | [
"li2343@purdue.edu"
] | li2343@purdue.edu |
e1eb9a48ecce7b1bfc2da1b89b0004b4859605b6 | 9b841803a2160ce5720d54b7ca6bceaf361bfa0f | /data/audio.cpp | ba22e95516585143bc2a5fffdb824a6780eeb4b6 | [
"Apache-2.0"
] | permissive | npmplus/npmplus | 560fdee1a7fb2a483ebee1b190cb633254726ec2 | 97beee9e980f2074a9a9a3d8bd062db2333e9cce | refs/heads/master | 2021-04-27T17:45:13.232241 | 2018-02-23T08:03:25 | 2018-02-23T08:03:25 | 122,327,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <fstream>
#include <iostream>
using namespace;
int main();
{
int audio;
void audio.mp3.npm();
const << 'sound.mp3' << 'npm';
const << 'Options/audio.json' << 'npm';
void audio.loop.npm('npm audio loop');
const << 'looping' << 'npm';
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
a3918702e5d282fc75ddd3269e27eaea89634b83 | 0354f4b70ad8731d78801919a275eaa83ee26f3a | /NodeModel/HashNode.cpp | 728ac52f06f0a545b326bf5e0fd74464bc86a499 | [] | no_license | Wellrabbit/Nodes | d3b2cd5fd200dae534725f8d27c4514d29735a49 | 66daecedd54ff670e5dcb5b37d0bf2ad11f8928c | refs/heads/master | 2021-01-18T20:12:54.843798 | 2016-05-25T17:22:55 | 2016-05-25T17:22:55 | 54,221,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | //
// HashNode.cpp
// Nodes
//
// Created by Orton, Emily on 5/9/16.
// Copyright © 2016 CTEC. All rights reserved.
//
#include "HashNode.hpp"
template<class Type>
HashNode<Type> :: HashNode()
{
}
template<class Type>
HashNode<Type> :: HashNode(int key, const Type& value)
{
this->key = key;
this->va... | [
"eort3611@740s-pl-177.local"
] | eort3611@740s-pl-177.local |
651a05b3bf8dfa49ba1f4a8a43886c885faff0ca | d6b34f44b77e690644430b08c111623f1014d3e6 | /arduino/friend_main/friend_main.ino | 7870631828cad7c3ab00725950fa46b3c6cfe549 | [] | no_license | das747/GhostHunters | 48ac670067eccb820d103d013243664111f38d9f | d3b05e42f9c7944f0efdaa0fd8ac44edb54c9273 | refs/heads/master | 2020-08-24T05:21:47.780059 | 2019-11-09T09:47:57 | 2019-11-09T09:47:57 | 216,767,570 | 0 | 0 | null | 2019-11-09T09:44:36 | 2019-10-22T08:54:12 | Python | UTF-8 | C++ | false | false | 1,071 | ino | #include <Servo.h>
const byte US = 7, LEFT_H = 9, RIGHT_H = 10;
Servo left_h, right_h;
void setup() {
Serial.begin(9600);
pinMode(US, OUTPUT);
left_h.attach(LEFT_H);
right_h.attach(RIGHT_H);
}
void loop() {
if(get_us(US, US + 1) < 20){
left_h.write(45);
right_h.write(45);
delay(1000);
Seri... | [
"40293014+das747@users.noreply.github.com"
] | 40293014+das747@users.noreply.github.com |
9c5c18dcaae1dcbe81d7a4f7fa6edb817b7a020d | 136ee4eec7e1591af2ba60ba6ae342d05b187cee | /Insert Interval.cpp | 88626fc5a9cf1adabfc1f4708105bde1ef310e00 | [] | no_license | hujunyu1222/leetcode | 7cd79c6d5287a6cf1db8ce0e7abb225bd53e525b | b20d4a607bdcbc1fc92670b11142433214d7e32b | refs/heads/master | 2021-01-11T06:06:55.377430 | 2017-04-11T02:54:30 | 2017-04-11T02:54:30 | 71,687,068 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,428 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct Interval {
int start;
int end;
Interval() : start(0), end(0) {}
Interval(int s, int e) : start(s), end(e) {}
};
//O(n)
vector<Interval> insert(vector<Interval>& intervals, Interval newInterval) {
vector<Interval> res... | [
"hujunyu1222@gmail.com"
] | hujunyu1222@gmail.com |
4abe2484d7f86377f7836e1eae72ac39e970a41c | f9dfd01e0f88e5c8cadd7fc0bfa47306b12d8ed5 | /Alcohol_Advisory/ASProjectOne/ASProjectOne.cpp | 942369ab6447db9d3a7f84cb4f4da9a314bffc1e | [] | no_license | aswinshaji/alcoholadvisory | 7c58c725fff6a41f897a1f4584f637e8629bf9b5 | fc7ffb4802a373f55372e222290f72edfab67985 | refs/heads/main | 2022-12-26T13:13:47.078470 | 2020-10-07T01:52:44 | 2020-10-07T01:52:44 | 301,899,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | cpp | // ASProjectOne.cpp : This file contains the 'main' function. Program execution begins and ends there.
// Aswin Shaji COSC 1436-73426
#include "pch.h"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double N; // Number of standard drinks
double W; // Weight of a person
int gend... | [
"noreply@github.com"
] | noreply@github.com |
c56788d17f1aedecc7d7c3a41a9846da034020b1 | c6e1d19fe37bef584761046987181476eaf9adac | /公用方法/00common/public.11617/common/mysqlwapper/main.cpp | eb74f856459cde5e174e1571e2141c792e3a0ba2 | [] | no_license | xiexiaolong1988/mwRepos | d09fb01f442682d9f64334ef5e7b8175821e089e | bdc38c1afdcec480c7fe730f6ff68b878658a938 | refs/heads/master | 2020-04-05T06:35:54.574601 | 2018-11-08T03:24:54 | 2018-11-08T03:24:54 | 156,643,054 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | cpp | #include "stdio.h"
#include "stdlib.h"
#include "SQLConnection.h"
#include "SQLException.h"
#include "SQLResult.h"
using namespace std;
//#include <unistd.h>
int main()
{
CSQLConnection sqlconn;
sqlconn.Open("192.169.1.130", "smsaccount", "root", "521521", 3306);
while (1)
{
try
{
... | [
"327363747@qq.com"
] | 327363747@qq.com |
0db57ebd7bd782263798ac816607219962ff2d5b | 604c316b700467f9de35fedc12520a5800663943 | /SharedLibrary/include/caching/psdes.h | 5b40554e9e659b911e3b70eb42296f7fd0184c29 | [] | no_license | Zahraanahle/Projectcode | e19bf614288176b0a930934c1d329dacf6dcb7c5 | 9db7e2c7549fe53b7dbf1f26884c7c5d97c3fcd8 | refs/heads/master | 2023-07-27T04:58:06.473947 | 2021-09-09T08:57:10 | 2021-09-09T08:57:10 | 404,650,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | h | namespace caching{
void psdes(unsigned long *lword, unsigned long *irword);
}//end namespace caching | [
"zahraanahle98@gmail.com"
] | zahraanahle98@gmail.com |
fc88ba1ed6f576999c21f3506a3c013811df8e9b | 5840e8abf34d91ec8a0647c9d68a405cc0d80f5a | /13307130444/assignment2/Pj3.cpp | 4f5f029d07b0168d7beb45b825cbe889b7abbb6a | [] | no_license | ohlionel/codebase | 5d3b086830a0c5dc975bde952a084c3e067d73d2 | b816744b290f68f829c9b0d9df37615e13ece264 | refs/heads/master | 2020-06-19T16:10:21.234359 | 2014-12-19T12:00:38 | 2014-12-19T12:00:38 | 43,301,093 | 1 | 0 | null | 2015-09-28T13:00:50 | 2015-09-28T13:00:50 | null | UTF-8 | C++ | false | false | 1,272 | cpp | #ifndef EARN_MUCH_SCHOLARSHIP_
#define EARN_MUCH_SCHOLARSHIP_
#include<iostream>
using namespace std;
class Student{
int (*stu)[5];
int num;
public:
void sort();
void display();
Student(int number);
~Student(){delete []stu;};
void swap(int*s1,int*s2);
};
#endif
Student::Student(int number){
int i=0;
num=num... | [
"isachriswang@163.com"
] | isachriswang@163.com |
4682c8205b5a67f7a18104e50248a0122d8893cb | 2c77cd0b0347b9aad46e71d3cb7bd5c01777c088 | /sample_sketches/blinking_lights/blinking_lights.ino | 5e0a5c600436bf3a807038bf187e8cd07e82b134 | [] | no_license | Bschuster3434/Arduino_Projects | 75c72c537afdb77c1d17cdcd41f6f0ddae05bbfb | 14ec7ae8022a81b0e41a7acc6f0834cf68de141f | refs/heads/master | 2016-09-05T20:05:18.632997 | 2014-12-03T14:46:00 | 2014-12-03T14:46:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | ino | /*
Blinking LED
Created by Brian Schuster
11/10/14
*/
void setup()
{
pinMode(13, OUTPUT); //Setting pin 13 to 'output' mode
}
void loop()
{
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
| [
"brian.daniel.schuster@gmail.com"
] | brian.daniel.schuster@gmail.com |
02eceb91407a61c917075776a67b3565276b7ea1 | fdd175462b2624fe551901e6fcb34d728ef08fec | /content/samples/simplest_directshow_example/simplest_directshow_player_custom/simplest_directshow_player_custom.cpp | 6d373b850b86b7c820978183a7dfe9b3b9e973a2 | [] | no_license | aicanhelp/ai-video | 6e54534760d28d6aff0e34bd2c671fcec3939e71 | 54f9586f3513684e7336ca8c37c1b068fef1d54f | refs/heads/master | 2023-02-11T04:50:25.013920 | 2022-11-09T15:29:43 | 2022-11-09T15:29:43 | 224,360,479 | 0 | 1 | null | 2023-01-20T22:56:19 | 2019-11-27T06:28:39 | C | GB18030 | C++ | false | false | 5,812 | cpp | /**
* 最简单的基于DirectShow的视频播放器(Custom)
* Simplest DirectShow Player (Custom)
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
* 本程序是一个简单的基于DirectShow的视频播放器。该播放器通过逐个添加
* 滤镜并连接这些滤镜实现了视频的播放。适合初学者学习Direc... | [
"modongsongml@163.com"
] | modongsongml@163.com |
b5524a667d5de3c12fb68c083de7ca5eadabd454 | 51d87b94b8561e41a505b9fbf4cfd9b42c390564 | /code/dowidget.cpp | ba5f040f2372ff269970dabeb839abb6272e75a9 | [] | no_license | IamHereWaitingForYou/WangyiyunMusicPlayer | 52e753c2030519826d860d4487f3988f4201b32e | eac9024909ab32451e25cc4e63a75b933d5e621b | refs/heads/master | 2022-12-05T11:27:57.338551 | 2020-08-31T06:06:34 | 2020-08-31T06:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp | #include "dowidget.h"
dowidget::dowidget(QWidget *parent) : QWidget(parent)
{
doButton=new QPushButton(this);
undoButton=new QPushButton(this);
doButton->setGeometry(0,0,35,25);
undoButton->setGeometry(35,0,35,25);
doButton->setCursor(Qt::PointingHandCursor);
undoButton->setCursor(Qt::PointingH... | [
"1627829134@qq.com"
] | 1627829134@qq.com |
cbb6b577b828c38ee5f7098d61186698fb14c070 | d4c324ee70b678b9f5e12120bbf67d338739d30e | /include/util.cpp | 7abdcc8127b12199c88264d4dc53a5799395e039 | [] | no_license | ezegom/privacy | 5e75be05236c53d437f459144b9db282ff38d124 | 5dc0dfd5eef9b8c5fd17d3a31bea8ee4c9215656 | refs/heads/master | 2021-01-01T20:04:20.719523 | 2018-08-31T22:04:13 | 2018-08-31T22:04:13 | 98,761,466 | 3 | 2 | null | 2017-08-28T17:49:37 | 2017-07-29T22:18:32 | C++ | UTF-8 | C++ | false | false | 1,108 | cpp | #include "util.h"
#include <algorithm>
#include <stdexcept>
std::vector<unsigned char> convertIntToVectorLE(const uint64_t val_int) {
std::vector<unsigned char> bytes;
for(size_t i = 0; i < 8; i++) {
bytes.push_back(val_int >> (i * 8));
}
return bytes;
}
// Convert bytes into boolean vector.... | [
"eunsoo.sheen@gmail.com"
] | eunsoo.sheen@gmail.com |
0b30d3060e7ff0926e8b262b398da5e9472b31eb | c59c628176193afaa221ff083d3b4972aaeb6476 | /src/thread/thread_pool.hpp | 6c8439c2d88f89bd31eea6b94566a8a5a44cfbe2 | [
"Unlicense"
] | permissive | AlexandruIca/GameOfLife | a809e2fd2533171707f278c3aae5ee4502acb93f | fcde17c2ec1741a20d4ccca91643465df0d1dbe5 | refs/heads/master | 2022-12-09T21:43:44.556409 | 2020-09-09T18:44:16 | 2020-09-09T18:44:16 | 293,868,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | hpp | #ifndef GOL_THREAD_THREADPOOL_HPP
#define GOL_THREAD_THREADPOOL_HPP
#pragma once
#include <condition_variable>
#include <functional>
#include <future>
#include <mutex>
#include <queue>
#include <stdexcept>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>
namespace gol {
class threadpool
... | [
"alexandruica703@gmail.com"
] | alexandruica703@gmail.com |
3605dfa77470e8fd8d7d48b3269e5d5ac23faa0a | 869693d979ca9bcfdd0a974d06b037c9e775eddf | /EmoCVPR/utils.h | 47997ed1555355011fa4f24d2d6d8f0eb9f89daf | [] | no_license | apprisi/facial_expression_recognition | 83a154cca002f7dcec2fdb88a7b55c66d4e8a341 | fbd3337ffd8b3f366fdb5c026c2cd7cf7855db8b | refs/heads/master | 2021-01-19T07:22:31.864181 | 2017-06-06T11:42:15 | 2017-06-06T11:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | #ifndef _UTILS_H__
#define _UTILS_H__
#include <opencv2/opencv.hpp>
#include "face_detection.h"
#include <fstream>
#include <io.h>
void faceDetect(cv::Mat img);
void warpFace(cv::Mat& face, cv::Mat& warp_face,const FacePts& pts, FacePts& rotation_pts);
void setUpGausssian(int kernel_width, int kernel_height, std::v... | [
"lapcace@gmail.com"
] | lapcace@gmail.com |
08cc4d16b6039b54ff217df2681986549d397f1f | 852b1bb60ae31bfe9248c482a07a9b9270f13083 | /FPGAs/C++/sine_generator/sine_generator.ino | d7ad647d2f9c3261786465e7b197d0367b1731df | [] | no_license | aladinkapic/burch | 87064230ee72e53bce0102b0e1e56b297fa351b1 | 70df0221c991f022329e60a1e13c12c8b7c197e4 | refs/heads/master | 2020-05-22T19:45:05.346399 | 2019-05-27T20:18:22 | 2019-05-27T20:18:22 | 186,496,042 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | ino | //Interrupts variables
#define FASTLED_ALLOW_INTERRUPTS 0
#define ANALOG_PIN_0 35
volatile int interruptCounter, timer_active = 0;
int totalInterruptCounter = 0, analog_value = 0;
/** Functions prototypes .. **/
void stopTimer();
void startTimer();
//Timer interrupt routine
hw_timer_t * timer = NULL;
portMUX_TYPE ti... | [
"aladin.kapic@stu.ibu.edu.ba"
] | aladin.kapic@stu.ibu.edu.ba |
59bc51ab4e5f2f8b4e9d885f5c599e9fe3c2a0e9 | 8888f9030c1f7536d48fe94e5e3f17185d36f495 | /Fundamentals of Programming/dia-lab-2b.cpp | 33f7f343505c27088404e04e3ae0b8461bee6e93 | [] | no_license | aid8/CS01 | f8526ba0af34d26075b18de762f3247d6f3b87da | 468b64c56b7c617512f57d8fda27e0f0fb3221df | refs/heads/master | 2022-11-06T20:08:32.792796 | 2020-06-30T14:54:56 | 2020-06-30T14:54:56 | 206,121,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | cpp | //******************************************************************
// Filename : dia-lab-2b.cpp
// Date : 26 July 2019
// Subject : CSDC101 - Fundamentals of Programming
// First Semester, SY 2019 - 2020
// Activity : Laboratory Exercise 2
// Problem Title : Drawing Characters
// Input :
// Output :
//
// Honor Code ... | [
"noreply@github.com"
] | noreply@github.com |
4ab38b4c7df40df8fbe9cf9ef796078a063175b6 | 0f669fb6ab33ba3157d0089a1db923443add8eb1 | /srcs/split.cpp | 82c556429c0b34bce361dc3ff15bc907916a76d1 | [] | no_license | pde-bakk/async_webserv | d17aebdc781303e704f09eab028c7850fa2ad2de | 76e886e31dc059654ef43268086021ec5b6d404e | refs/heads/master | 2023-02-23T07:41:44.078307 | 2021-01-20T17:17:19 | 2021-01-20T17:17:19 | 330,279,479 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | /* ************************************************************************** */
/* */
/* :::::::: */
/* split.cpp :+: :+: ... | [
"pde-bakk@student.codam.nl"
] | pde-bakk@student.codam.nl |
3921c963b7e430ad03e5e8971f73a827d4c932a0 | 67487d255d6d26bb93d486b14d8bf33a85ef61a2 | /cpsc585/cpsc585/WorldMesh.h | 43b0cc7b248d7fe146a432bd9cffc37d88ca5e18 | [] | no_license | ryosaku8/CPSC-585-Game-Project | aec2c5a1e70688ce8e4dc1f7ca5eee27ae1be2ad | 2711d94c4e51a9d7dff3229b3da27d53bb7d720a | refs/heads/master | 2021-05-26T20:10:20.182220 | 2012-04-16T18:50:22 | 2012-04-16T18:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | h | #pragma once
#include "Mesh.h"
class WorldMesh :
public Mesh
{
public:
static WorldMesh* getInstance(IDirect3DDevice9* device);
~WorldMesh(void);
void render(IDirect3DDevice9* device);
protected:
WorldMesh(IDirect3DDevice9* device);
private:
void initialize(IDirect3DDevice9* device);
public:
... | [
"cdebavel@ucalgary.ca"
] | cdebavel@ucalgary.ca |
de1034b6ca9fcf6b638e6e537f3c6fea2a174224 | cb9a3cd4aab883ab083fcde21ea43443f7e4b5c5 | /code/lab4/Translation.cpp | 53d21dbcf4403add48e1b3ab4b7cbf18e1d4d672 | [
"MIT"
] | permissive | Exlie-Flyyi/Chinese-License-Plate-Recognition | 187699b24086a2ee1a58d22bbd78a1d5e2aabae9 | 74ccb90df9a2ee410d74fb82569ef88c9e24b64a | refs/heads/main | 2023-07-23T01:51:47.584269 | 2021-09-06T13:02:46 | 2021-09-06T13:02:46 | 402,664,864 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,496 | cpp | #include "stdafx.h"
#include "lab4Dlg.h"
#include "Translation.h"
//全局变量声明
//Mat SrcImg;
//颜色值变量
int h_lower[2] = { 100 ,15};
int s_lower = 52;
int v_lower = 46;
int h_upper[2] = { 120 ,40};
int s_upper = 255;
int v_upper = 255;
vector<cv::RotatedRect>ColorRect;
vector<int>CarLabel; //用标签来定义矩形
Mat Translation(Mat& in... | [
"habsburg-shan@outlook.com"
] | habsburg-shan@outlook.com |
c66f8bdf5d1cb99e661f99e0547da52a14209da7 | f4dd0a6de36666c8669bc677a3b5c83077a635dc | /src/libs/CLI11/tests/HelpersTest.cpp | 7a497aa1cb05c0af6b77e5668063f57f9525c9bf | [
"MIT",
"BSD-3-Clause"
] | permissive | 0vercl0k/wtf | f1c42189bee27c6030c2cfa098a2eda050255295 | 9823579ef764b0b3c0af2f71b61d5aa47fb3de51 | refs/heads/main | 2023-07-19T17:59:45.759383 | 2023-07-09T04:21:04 | 2023-07-09T04:21:04 | 384,769,357 | 1,244 | 117 | MIT | 2023-07-09T04:21:06 | 2021-07-10T18:53:57 | C++ | UTF-8 | C++ | false | false | 47,040 | cpp | // Copyright (c) 2017-2021, University of Cincinnati, developed by Henry Schreiner
// under NSF AWARD 1414736 and by the respective contributors.
// All rights reserved.
//
// SPDX-License-Identifier: BSD-3-Clause
#include "app_helper.hpp"
#include <array>
#include <atomic>
#include <complex>
#include <cstdint>
#incl... | [
"noreply@github.com"
] | noreply@github.com |
4cfefb641796b501cff0639ea7899c3bffd15dea | a4f6711f32e68011bafd01ec901bc5e77c1a6f93 | /Library/codes/math/gauss.cpp | b4bb886323677d34e8aaf9eeee41dbfdd5c04f30 | [] | no_license | studiovc/olympiad | da5ffc51fc77c24c6cc31586a96dc23bdb5b7483 | a63c2abfae5a77498c0473775f900506a6f9f04a | refs/heads/master | 2023-07-15T14:24:27.833432 | 2021-09-03T02:59:41 | 2021-09-03T02:59:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | // TODO: rewrite and refactor to lint
int n, inv;
vector<int> basis[505];
lint gyesu = 1;
void insert(vector<int> v){
for(int i=0; i<n; i++){
if(basis[i].size()) inv ^= 1; // inversion num increases
if(v[i] && basis[i].empty()){
basis[i] = v;
return;
}
if(v[i]){
lint minv = ipow(basis[i][i], mod - 2... | [
"koosaga@MacBook-Pro.local"
] | koosaga@MacBook-Pro.local |
8b5a0f81860f785e2954c1e826284cdc3aa5dcdb | 9ed6a9e2331999ee4cda5afca9965562dc813b1b | /libsrcs/angelscript/angelSVN/sdk/tests/test_feature/source/test_addon_serializer.cpp | 1b40fa7a9ee863308974616e193c0c6f57b98220 | [] | no_license | kalhartt/racesow | 20152e59c4dab85252b26b15960ffb75c2cc810a | 7616bb7d98d2ef0933231c811f0ca81b5a130e8a | refs/heads/master | 2021-01-16T22:28:27.663990 | 2013-12-20T13:23:30 | 2013-12-20T13:23:30 | 16,124,051 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | cpp | #include "utils.h"
#include "../../../add_on/scriptarray/scriptarray.h"
#include "../../../add_on/serializer/serializer.h"
namespace Test_Addon_Serializer
{
struct CStringType : public CUserType
{
void Store(CSerializedValue *val, void *ptr)
{
val->SetUserData(new std::string(*(std::string*)ptr));
}
... | [
"karl.glatzer@gmx.de"
] | karl.glatzer@gmx.de |
4c3ca5a4bda9f04dce9f8f94ea9c65984cf7b437 | 808e216ca9c89d639170adf5b0446d9e42a973f3 | /src/core/transformations/noise_median.cpp | 9b4c91ccba01bb2384dde50578ffbe9e0f09b56f | [] | no_license | RedDevil7/pto2013_reddevils | ac455953f20938ae52a949abf2cd4809d8d3efab | 2256c332313246cb9166689b344d7b932d497cca | refs/heads/master | 2021-01-20T22:31:23.422828 | 2014-01-16T22:36:14 | 2014-01-16T22:36:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | #include "noise_median.h"
NoiseMedian::NoiseMedian(PNM* img) :
Convolution(img)
{
}
NoiseMedian::NoiseMedian(PNM* img, ImageViewer* iv) :
Convolution(img, iv)
{
}
PNM* NoiseMedian::transform()
{
int width = image->width();
int height = image->height();
PNM* newImage = new PNM(width, height, ima... | [
"afeldfeber@gmail.com"
] | afeldfeber@gmail.com |
6bf2e2e39d30eed21a72ef6409e5094a236097f2 | d1b2881612efaa2f03dbce9953b1b290926258e8 | /src/Controller.h | 55a1d6a96ee97b0424c82b58be35d31b56c1757e | [] | no_license | francopettinari/ATG | a780f42a44861c859e8a8fec6a9d6e2b9c6b378b | b14ba0cb28ec181d2691bceee3c8871600db40dd | refs/heads/master | 2021-06-25T06:16:31.903969 | 2020-02-28T07:37:54 | 2020-02-28T07:37:54 | 200,795,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,408 | h | /*
* PidState.h
*
* Created on: 06 nov 2018
* Author: franc
*/
#ifndef CONTROLLER_H_
#define CONTROLLER_H_
#include <WString.h>
enum EncoderMovement {EncMoveNone=-1,EncMoveCW=0,EncMoveCCW=1};
enum EncoderPushButtonState {EncoderPushButtonNone=0, EncoderPushButtonPressed=1};
#include "Menu.... | [
"fape@logobject.ch"
] | fape@logobject.ch |
936cef31676bf36c5f85faaf4db446b34974dabf | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5751500831719424_0/C++/steppenwolf/main.cpp | 02ea2473bf07ce538fcc5290f0a01e11d9b2bbc9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | #include <iostream>
#include <set>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
int T;
cin >> T;
for (int test = 1; test <= T; ++test)
{
int n;
cin >> n;
vector<string> s(n);
vector<int> pos(n, 0);
for (int i = 0; i < n; ++i)
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
4c8044330b5a60b8d2727f9182b143a504355edb | ce55d412dcbee60af7278083fd8bda2c33eec819 | /20190310腾讯提前批/5.cpp | 91f42173728bcdeba60a68079dbdac672c5ccaf3 | [
"MIT"
] | permissive | Diamondsn/algorithm-programming | 9b60f621a6203bfaebf46570057ed25d0d9a7e77 | 6c52e22f0dfd887e7b77ec49fc1c353d9452e04c | refs/heads/master | 2020-03-27T23:41:23.953833 | 2019-09-29T09:51:36 | 2019-09-29T09:51:36 | 147,338,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include<string>
#include<vector>
#include<iostream>
#include<algorithm>
#include<stack>
#include<math.h>
#include<map>
#include<set>
using namespace std;
int main() {
int n;
cin >> n;
vector<int>vec;
for (int i = 0; i < n; ++i){
int temp;
cin >> temp;
vec.push_back(temp);
}
for (int i = 1; i < n; ++... | [
"Diamondsn@users.noreply.github.com"
] | Diamondsn@users.noreply.github.com |
b90113b6040be78aa0cda2fd17ba4b20e6edbff2 | 30de44d89a8810cef7305f35dc3dc8954542fde4 | /1stSDLWindow/src/Map.cpp | 4d703b4f8c78bc994e130e2f472922e5e1c68d4b | [] | no_license | mohitaqpkr/C-_Lean | daac263e9d52fd264da529caeb03fb28894e8e1b | b441e70d23cfa222d4b522a02761ee1c124ad89c | refs/heads/master | 2020-04-22T15:30:17.990774 | 2019-02-13T09:35:10 | 2019-02-13T09:35:10 | 170,479,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,435 | cpp | #include "Map.h"
#include "TextureManager.h"
int lvl1[20][25] = {
{0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... | [
"mohit@aquacrmsoftware.com"
] | mohit@aquacrmsoftware.com |
d0dd96876f6844d4a08e3acefd415f081807c7d4 | 0611b1cc08b15d329057595365359947c20fcd59 | /sf/kaoshi/1.cpp | 900b544c558f4c5b59c021919367bf1b30db0974 | [] | no_license | Lan-ce-lot/overflow | c9a7167edaeeaa1f9f1e92624726b1d964289798 | ae76120e328a5a2991eb6ef7f1ae5e279374e15c | refs/heads/master | 2023-04-08T04:24:49.614146 | 2021-04-25T05:33:06 | 2021-04-25T05:33:06 | 279,082,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include <bits/stdc++.h>
using namespace std;
const int M = 8009999, N = M;
vector<int> g[N];
int n, m, I[N], O[N], S, f[N], i, a, u;
queue<int> q;
int main() {
cin >> n >> m;
for (; i < m; i++) cin >> a >> u, g[a].push_back(u), I[u]++, O[a]++;
for (i = 1; i <= n; i++)
if (!I[i]) f[i] = 1, q.push(i)... | [
"1984737645@qq.com"
] | 1984737645@qq.com |
8fc47c5956b1212a7d24a85af68dae9b78590e1f | 180ef8df3983b9e5ac941e6c491cc5c8747bd512 | /leetcode/algorithms/c++/Paint Fence/Paint Fence.cpp | a3f5dbd8cdb9c897be0945324027261cc2728164 | [] | no_license | withelm/Algorytmika | 71f098cb31c9265065d2d660c24b90dd07a3d078 | 4c37c9b2e75661236046c2af19bb81381ce0a522 | refs/heads/master | 2021-12-09T12:58:45.671880 | 2021-08-22T08:03:04 | 2021-08-22T08:03:04 | 10,869,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | class Solution
{
public:
int numWays(int n, int k)
{
if (n == 0)
return 0;
if (n == 1)
return k;
vector<int> dp(n, 1);
dp[1] = k;
for (int col = 2; col < n; col++)
{
dp[col] = dp[col - 1] * (k - 1) + dp[col - 2] * (k - 1);
... | [
"withelm@gmail.com"
] | withelm@gmail.com |
bef2659e60a0f8ea91b2bc76c66cb7361ef007f7 | d9c62de55641ed224dd340b0010885e8163cbdbd | /Laborator7/Laborator7.cpp | 658ab87ef7c71423fd87b6b78f02608b595ee21d | [] | no_license | albertchirila/EGC | f866d1f65b4202b5608fe8f24dffb60fcefcd202 | 3458201ec116fc07acd492acb5e2cf1c6c8da112 | refs/heads/main | 2023-02-16T04:18:55.682467 | 2021-01-14T14:32:28 | 2021-01-14T14:32:28 | 329,639,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,959 | cpp | #include "Laborator7.h"
#include <vector>
#include <string>
#include <iostream>
#include <Core/Engine.h>
using namespace std;
Laborator7::Laborator7()
{
}
Laborator7::~Laborator7()
{
}
void Laborator7::Init()
{
{
Mesh* mesh = new Mesh("box");
mesh->LoadMesh(RESOURCE_PATH::MODELS + "Primitives", "box.obj");
... | [
"albertchirila99@yahoo.com"
] | albertchirila99@yahoo.com |
87416d94faa1290c16b77924a3601015fe4828ff | 9f0479d3158dc1fc92ab746a94c72d571fc3dfca | /PreProcessing/band.hpp | 8a1c4738a11ca67161f7094d531b7a4dd8c5c6b6 | [
"BSD-3-Clause",
"libtiff",
"MIT",
"ImageMagick"
] | permissive | pr5syl3ed/Multispectral-Image-Pre-Processing | 2848daeb9dacd37f026ca611ed7b0c41389b8a0f | e5851e03ce46c57b0427ebbe2fc7e44aa18b5f8f | refs/heads/master | 2021-01-18T11:41:27.203403 | 2017-08-23T09:08:08 | 2017-08-23T09:08:08 | 100,361,058 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 11,662 | hpp | //----------------------------------------
// Project: Multispectral Image PreProcessing Tool
// Partially developed by: pr5syl3ed
// Date: 2017-08-18
//----------------------------------------
// OpenCV License
//
//By downloading, copying, installing or using the software you agree to this license.
//If you... | [
"noreply@github.com"
] | noreply@github.com |
3411bfd48e9042bb30e0cd7d3b0d70559797f41d | 4f4cd0d52017ac1d59291bbf4f18536b943529fe | /ProjectFolder/ProjectTutorialKinect/Projects/KinectEvolution-XAML/KinectEvolution.Xaml/KinectEvolution.Xaml.Controls/SkeletonPanel.h | f5452e3d10c60aac27cbba3e0b7d4aa34476fa0c | [] | no_license | jacquemard/tutoriel_kinect | 812178fcc27dd23c1fef03140127bdf242db9c03 | 877b0a7efacc5e671f09ab6244d1e4f109f21351 | refs/heads/master | 2023-05-05T05:35:43.345310 | 2018-10-18T16:40:40 | 2018-10-18T16:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,733 | h | //------------------------------------------------------------------------------
// <copyright file="SkeletonPanel.h" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
#pragma onc... | [
"remi.jacquemard@heig-vd.ch"
] | remi.jacquemard@heig-vd.ch |
34d9a8fd0a562d7d14ea6366efdea33147481d6c | d2a01795ec83a253367a8e268a895b9c3621dcc5 | /lab10/prelab10/heap.cpp | 0c7d4edda664559edd87d04f3c8531bff57ba8fb | [] | no_license | johnzheng300/Program-and-Data-Representation | 032192fec9867296bb2b1f75d0bc446e69c9142e | b8b187dd11cc15bbbac4758aa2803fc5b395b5fd | refs/heads/master | 2020-07-28T12:07:59.538146 | 2019-09-18T21:07:28 | 2019-09-18T21:07:28 | 209,404,081 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,170 | cpp | // Code written by Aaron Bloomfield, 2014
// Released under a CC BY-SA license
// This code is part of the https://github.com/aaronbloomfield/pdr repository
#include <iostream>
#include "heap.h"
using namespace std;
// default constructor
binary_heap::binary_heap() : heap_size(0) {
heap.push_back(0);
}
// builds... | [
"johnzheng@Johns-MBP-5.local"
] | johnzheng@Johns-MBP-5.local |
0c5b36e835fd87d2bff1d7cca7965eb513d17829 | df6a7072020c0cce62a2362761f01c08f1375be7 | /doc/quickbook/oglplus/quickref/enums/color_buffer_class.hpp | 3e7ce752bae811cc2c9bb98044467396fecbdb00 | [
"BSL-1.0"
] | permissive | matus-chochlik/oglplus | aa03676bfd74c9877d16256dc2dcabcc034bffb0 | 76dd964e590967ff13ddff8945e9dcf355e0c952 | refs/heads/develop | 2023-03-07T07:08:31.615190 | 2021-10-26T06:11:43 | 2021-10-26T06:11:43 | 8,885,160 | 368 | 58 | BSL-1.0 | 2018-09-21T16:57:52 | 2013-03-19T17:52:30 | C++ | UTF-8 | C++ | false | false | 1,296 | hpp | // File doc/quickbook/oglplus/quickref/enums/color_buffer_class.hpp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/color_buffer.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2019 Matus Chochlik.
// Distributed under the Boost ... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
06ab94a193768ca39a0a831592cc973ad84e8323 | 1aba29a1df97dcb7990d7b93a7042307f9afad42 | /DataStructure/ex5.cpp | 2020e140ca07fece69ccf8d3c3438e32bfd8b39c | [] | no_license | kkw-11/DataStructure | e9643f3831aa4de3e4ab0951efcdb3452a05feba | 05de012b60712ae706ed154aaf2ca01291aed699 | refs/heads/master | 2023-07-20T23:39:27.245094 | 2021-08-19T12:53:05 | 2021-08-19T12:53:05 | 326,662,580 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 13,300 | cpp | #include <stdio.h>
#include <stdlib.h>
typedef struct q_ {
int* queue;
int front, rear;
int capacity;
}Queue;
//서버(Queue)
void Push(Queue* q, int data) {
if ((q->rear + 1) % q->capacity == q->front)
return;
//rear가 0,1,2,3,4 가 되는 코드
/*rear = rear + 1;
if (rear == 5)
rear = 0;*/
q->rear = (q->rear + 1) % ... | [
"kkw-11@naver.com"
] | kkw-11@naver.com |
6ac8c2a14b52527ad94d173450cf57ae34ccdd1b | 2913fc25185d387b5e114c384e4bca9f4b766f30 | /qvista.h | f193ba79860cf2d1fa6575eac30845466fb790a8 | [] | no_license | DavidGuerrero95/Pruebas-with-C- | 9fb0db3c81c466d724b3e1a102be6f9fdf3f6be6 | c3c6cef1d066481ef3def3ec2dfd1f3469cf02ef | refs/heads/master | 2023-07-31T22:38:10.010653 | 2021-09-17T04:22:02 | 2021-09-17T04:22:02 | 407,402,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef QVISTA_H
#define QVISTA_H
#include <QGraphicsView>
#include <QMouseEvent>
#include <QWheelEvent>
#include <QDebug>
class QVista : public QGraphicsView
{
Q_OBJECT
public:
explicit QVista(QWidget *parent = Q_NULLPTR);
explicit QVista(QGraphicsScene *scene, QWidget *parent = Q_NULLPTR);
~QVista();... | [
"davids.guerrero@udea.edu.co"
] | davids.guerrero@udea.edu.co |
946edd0eea34a51109f86d1a5ebc39d9c4b8ae90 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1595491_0/C++/zhyu/Dancing_With_the_Googlers.cxx | cc27d9a1069dbe0561a950b2a840a02f666cbcb9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cxx | #include <cstdio>
#include <algorithm>
using namespace std;
int a[110];
bool cmp(int x,int y)
{
return x>y;
}
int main(void)
{
int t,n,s,p;
scanf("%d",&t);
for(int cas=1;cas<=t;cas++)
{
scanf("%d%d%d",&n,&s,&p);
int res=0;
for(int i=0;i<n;i++) scanf("%d",a+i);
sort(a,a+n,cmp);
for(int i=0;i<n;i++)
{
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
651a0db3a7e028fa0cedbbbbefcf828095931e0f | 72ce01e4273601ac1676b155be7792ccacff2b5a | /LGE/LMath/include/lshape2d.h | 111a501b90ba61bb06b2739571dc34ed733953d3 | [] | no_license | lilianjun/LGE | d84d56f50665bc4ba4816991742510f7dd00ace5 | 73531b295aa900a17842c97fe5515fc00b135de9 | refs/heads/master | 2021-08-29T18:13:07.712204 | 2017-12-14T15:05:04 | 2017-12-14T15:05:04 | 114,252,294 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,405 | h | #pragma once
#include "lvector2.h"
template <typename tv>
class lline2d;
template <typename tv>
class lrect;
template <typename tv>
class ltri2d;
enum EDetect
{
// 在外 在内 交叉
eOutSide, eInSide, eCross
};
// 一个点是否在两个点之间
template <typename tv>
bool inside(const tv& vdet, const tv& vmin, const tv& vmax)
{
return l... | [
"jungellj@qq.com"
] | jungellj@qq.com |
abd3ebd82f04598a8d664fded3b34d0d61117059 | 3523c991915f71c23e02026b18cbbcc0d5dd8079 | /Classes/HackMan.cpp | 73d8e6c504f02b7f0250c93f8bed842c7176bb6c | [] | no_license | YasuhiroKawamoto/HackMan | 8ab36f98cb6217bb264787240b423ebf6e24f228 | 7a221b3669d8842011a601c2b0e8090bb81fc67a | refs/heads/master | 2020-12-24T09:44:39.047450 | 2016-11-15T09:12:50 | 2016-11-15T09:12:50 | 73,271,090 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,874 | cpp | /****************************************/
/*内 容 ゲームクラスのソースファイル */
/*制作者 加藤駿 */
/*制作日 2016/11/10 */
/****************************************/
#include "cocos2d.h"
#include "GameMain.h"
#include"Player.h"
#include"HackMan.h"
USING_NS_CC;
//+ーーーーーーーーーーーー
//|機 能:ゲームのコンストラクタ
//|引 数:なし(void)
//+ーーーーーーーーーーーー
Hac... | [
"hanashun9@gmail.com"
] | hanashun9@gmail.com |
a8869bfbf48991646fc394b5be871ffe1084ac5a | 04ac4f25086abb864d61772e29c6aab67bd0b0b6 | /term2/talks/image_processing/code/04image_algo/image.hpp | c157b3533e72b0f9db4876c52e9ce7afc6534eb7 | [] | no_license | v-biryukov/cs_mipt_faki | 9adb3e1ca470ab647e2555af6fa095cad0db12ca | 075fe8bc104921ab36350e71636fd59aaf669fe9 | refs/heads/master | 2023-06-22T04:18:50.220177 | 2023-06-15T09:58:48 | 2023-06-15T09:58:48 | 42,241,044 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,972 | hpp | /*
Создадим класс изображения
*/
#pragma once
#include <iostream>
#include <vector>
#include <array>
#include <fstream>
#include <algorithm>
class Image
{
private:
int mWidth {0};
int mHeight {0};
std::vector<unsigned char> mData {};
public:
struct Color
{
unsigned char r, g, b;
... | [
"biryukov.vova@gmail.com"
] | biryukov.vova@gmail.com |
c452d8473da0e72391eeb7afac14f0a2ded2cfcf | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /services/network/test/test_url_loader_factory.h | df1d7195bfa36d0b54b8a8efa816134e1c5cc7c3 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 7,988 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_NETWORK_TEST_TEST_URL_LOADER_FACTORY_H_
#define SERVICES_NETWORK_TEST_TEST_URL_LOADER_FACTORY_H_
#include <map>
#include <string>
#inclu... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
7e55db3804f589685e05db10da147da95f027ea5 | d89ff67264f51534e900d5c865815530942b3337 | /Rcpp/WaterbalanceFunction.cpp | 0a8d45a67626b4bdfe493c222b007157bc32c25f | [
"MIT"
] | permissive | WillemVervoort/Ecohydr2D | 445dd45a42cc07a1c1659dfa2fe04804064fb6f8 | b709148c9c89101527f37ef6be843508a2ad2a21 | refs/heads/master | 2020-07-04T10:01:35.600396 | 2018-02-09T02:25:30 | 2018-02-09T02:25:30 | 66,457,282 | 0 | 0 | null | 2016-09-04T23:31:42 | 2016-08-24T11:09:22 | R | UTF-8 | C++ | false | false | 6,361 | cpp | // [[Rcpp::depends(RcppEigen)]]
// [[Rcpp::depends(RcppNumerical)]]
#include <Rcpp.h>
#include <RcppNumerical.h>
#include "VegFun.hpp"
#include "Fluxfunctions.hpp"
using namespace Numer;
using namespace Rcpp;
// static stress function
// [[Rcpp::export]]
double zeta(double s,double s_star, double s_w,double q) {
dou... | [
"willem.vervoort@sydney.edu.au"
] | willem.vervoort@sydney.edu.au |
f34e670f00987098771cc691a80382a09954439d | e3b66fd2c25f7f07f763054e22adab22087b26c1 | /explicit_instantiation/big_example/optimized/use_131.cpp | 01381bc58674de3543365ce620c86f428d6fd8eb | [] | no_license | Cubix651/blog-examples | 903619d98a64ea32aac48c68b61c1dc777c88e61 | 0aa025215a0a28a7322786a939a0d9a2fc039b48 | refs/heads/master | 2020-12-01T21:46:56.361380 | 2020-09-12T20:37:00 | 2020-09-12T20:37:00 | 230,780,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,582 | cpp |
#include "use_131.h"
#include "library.h"
int use_131()
{
int x = 131;
x += library_function_0(x);
x += library_function_1(x);
x += library_function_2(x);
x += library_function_3(x);
x += library_function_4(x);
x += library_function_5(x);
x += library_function_6(x);
x += library_fu... | [
"cubix651@gmail.com"
] | cubix651@gmail.com |
88549abf63c0f6edaadae9409d58aa77c2e56b93 | d1661c0a25eac70489761f65cdd5a22b38dee715 | /_Qt/project/tests/test_display_html_convertor.cpp | c5e914f884e8e51461a5ec0f6366e1dba1561230 | [] | no_license | Teslatec/LPM_Editor | 18d69c85f77e798278b274fc874b2cf369566523 | 647fc8473ee16592df58e1c5b2b63a70b7fa75f8 | refs/heads/master | 2023-02-02T10:56:36.134912 | 2020-04-14T15:38:06 | 2020-04-14T15:38:06 | 321,923,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,162 | cpp | #include "test_display_html_convertor.h"
#include <QDebug>
const QString htmlLineFeed = "<br>";
const QString htmlCursorBegin = "<u>";
const QString htmlCursorEnd = "</u>";
//const QString htmlHighlightingBegin = "<font color=\"#8852C5\"><b>";
//const QString htmlHighlightingEnd = "</b></font... | [
"andrew@teslatec.ru"
] | andrew@teslatec.ru |
2ce615beed39dc33827d5298364a97085e859d2e | 3b52c7dfd69c842d0d28ac3b4012dd00ebd0e0b1 | /src/xhttpdServer.h | 302e8f8cf6a1ced6073bff2483d5add25326b4a6 | [] | no_license | petib/xhttpd | 3c1f371ec1bad44a4618376433ce6254a8cf4799 | b68f4c1b96afd86ec296d5ba2f5d07d7f877947b | refs/heads/master | 2021-01-16T21:23:04.453983 | 2015-08-20T02:59:18 | 2015-08-20T02:59:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #ifndef __XHTTPDSERVER_H__
#define __XHTTPDSERVER_H__
#include <memory>
#include "Socket.h"
#include "xhttpdWorker.h"
class xhttpdServer : public std::enable_shared_from_this<xhttpdServer>
{
public:
xhttpdServer(uint16_t port, size_t threads);
virtual ~xhttpdServer();
void start();
private:
Socket listen... | [
"xiaoyifeibupt@outlook.com"
] | xiaoyifeibupt@outlook.com |
a38556dc7a417ece9412f0fbb6c7bac2a9efe5f5 | a5e00504919bb338910de4cc5c3c3c4afb71e8c6 | /CodeForces/contest/1355/d.cpp | dd8b5aafd8bb700da8516de627a8e4d62b98e958 | [] | no_license | samuel21119/Cpp | f55333a6e012e020dd45b54d8fff59a339d0f808 | 056a6570bd28dd795f66f31c82537c79eb57cc72 | refs/heads/master | 2023-01-05T15:14:55.357393 | 2020-10-20T23:32:20 | 2020-10-20T23:32:20 | 168,485,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | /*************************************************************************
> File Name: d.cpp
> Author: Samuel
> Mail: enminghuang21119@gmail.com
> Created Time: Mon May 25 18:06:17 2020
*************************************************************************/
#include <bits/stdc++.h>
using namespace std;
in... | [
"enminghuang21119@gmail.com"
] | enminghuang21119@gmail.com |
497967f2eeb62a370c0f580ad125d46c0cb8b862 | eab939486d515a0242817de07404c6f4f0cf05d2 | /dx_20180906_stg/item.cpp | 052384fc8825873000634a41baaf82f78dd6b9c5 | [] | no_license | moyasikko/skillcheck | f584399b5307a9d32f3544f7ed407eb872bb50a2 | bbc26631891d7d9de1b52780e686524a2dd48706 | refs/heads/master | 2022-02-19T16:21:23.715203 | 2019-10-01T07:27:18 | 2019-10-01T07:27:18 | 212,037,082 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,716 | cpp | /*******************************************************************************
* インクルードファイル
*******************************************************************************/
#include <d3dx9.h>
#include "item.h"
#include "common.h"
#include "texture.h"
#include "sprite.h"
#include "player.h"
/************************... | [
"56017003+moyasikko@users.noreply.github.com"
] | 56017003+moyasikko@users.noreply.github.com |
fff7701e5763c3698468debfcf6b5748ee95b7e7 | c80947c934956f935725ceb8bd1ee194c43a8e19 | /stuff from college/CS381 Image Processing/Project 8 sobel edge detector/Main.cpp | 3cd922652480eaa9fb65714dec1350261714f55c | [] | no_license | QimanWang/Code-Warehouse | 964a152af282f53c0752fb0c1cbba31031999e5f | dffe9e7ebf41456d309435d9abc6b7c0aa1f5c8a | refs/heads/master | 2021-03-19T06:44:02.285861 | 2019-03-17T02:34:27 | 2019-03-17T02:34:27 | 99,118,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,939 | cpp | #include <iostream>
#include<fstream>
#include <cmath>
using namespace std;
static int nRow, nCol;
class Image {
public:
int iRow, jCol, label;
int numRow, numCol, minVal, maxVal;
int** zeroFramedAry;
int** createZeroFramedAry(int** arr, int numRow, int numCol, int frameSize) {
arr = new int*[numRow + frameSiz... | [
"wangqiman0111@gmail.com"
] | wangqiman0111@gmail.com |
9c653f92135f83eb3be3cc855cb73e82606026b1 | db12881b7f37b3524704e5af9a2da9156f29fcf4 | /src/qt/paymentrequestplus.cpp | 48b2823c47111dbfed31f9ebb42c0caca054be48 | [
"MIT"
] | permissive | melihcanmavis/BlacerCoin | 415bf9a06a73a11fcee2bbc6bbcf442a4a2ffdbc | 9fd2cef476d2f0446a9f2ccc515fd53dca9ea6c9 | refs/heads/master | 2020-06-15T09:19:49.416239 | 2019-06-24T09:02:41 | 2019-06-24T09:02:41 | 195,259,024 | 1 | 0 | null | 2019-07-04T14:43:39 | 2019-07-04T14:43:38 | null | UTF-8 | C++ | false | false | 7,732 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The BlacerCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Wraps dumb protocol buffer pa... | [
"root@ubuntu16.local"
] | root@ubuntu16.local |
313bb38c5369b1a788521c4a17dbb77dd7e5a73b | cca7c1347e2033ee0682741684713624adf68b54 | /FluxEngine/Physics/PhysX/PhysxAllocator.h | 7b978e6facbd8a932807632efdcb89349e64a71b | [
"MIT"
] | permissive | Junho2009/FluxEngine | df9d88c1913e75dbb4bd5af1bafaaaeb131a2226 | 9c276016f38869ddb5e8879f1414e508930d3633 | refs/heads/master | 2023-03-18T06:16:13.694999 | 2019-01-05T14:35:16 | 2019-01-05T14:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | h | #pragma once
class PhysxAllocator : public physx::PxAllocatorCallback
{
public:
virtual void* allocate(size_t size, const char* typeName, const char* filename, int line) override
{
#ifdef PHYSX_DEBUG_ALLOCATIONS
FLUX_LOG(Log, "[PhysxAllocator::allocate()] Allocated %d bytes for %s at %s (%d)", size, typename, fil... | [
"sim2.coenen@gmail.com"
] | sim2.coenen@gmail.com |
64253be5f6e7e3742bfa1bd6baffb8ee42876764 | 2732c0ecbc3f598b29362f020e79188678d2edd2 | /5-Final/Q1.cpp | b1fec09134b1c76a3163983b55fab2d56984da6b | [] | no_license | yfyucesoy/Problems-in-Algorithms-and-Data-Structures | b023263472d51798ece42030204aaa9e4f4d3e6f | c31b9d19ccaed52f3429d4e9f3dc7abe454569a8 | refs/heads/master | 2022-11-06T20:59:18.763599 | 2020-06-30T22:54:39 | 2020-06-30T22:54:39 | 263,942,377 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,635 | cpp | /*
@author: Yusuf Furkan Yucesoy
*/
#include <stdio.h>
#include <iostream>
#include <vector>
#include <map>
#include <list>
#include "Q1.h"
using namespace std;
map<int, std::list<int>::iterator> m;
list<int> l;
map<int, std::list<int>::iterator>::iterator medianPtr;
// Returns "true" if the DS is e... | [
"noreply@github.com"
] | noreply@github.com |
f3d002a9908851fd10be50f065042a36a603d24f | 70927ebfa40ae0b6ce5d19cb5256cfb880de4f07 | /Pods/geos/Sources/geos/src/algorithm/PointLocation.cpp | ca38f95ea85081be17aa72b58af071aacd103d40 | [
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | baato/BaatoSwift | 44af06fe3a1af26fe8540376cdc82a93e498fdbc | 87cb476affbdf24f4b902bb498970051d0382a9c | refs/heads/master | 2023-03-28T07:50:10.326223 | 2020-12-09T09:58:48 | 2020-12-09T09:58:48 | 294,601,067 | 0 | 0 | MIT | 2020-12-08T08:09:04 | 2020-09-11T05:17:37 | Swift | UTF-8 | C++ | false | false | 2,457 | cpp | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2018 Paul Ramsey <pramsey@cleverlephant.ca>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public... | [
"bhawak.pokhrel@gmail.com"
] | bhawak.pokhrel@gmail.com |
82112572f9c620d329252158daec8f66d86be7d5 | 0cdc5d77e28c119c83d5d8d39c185d2dac600311 | /move.hpp | 7206f52c749be313ecf1eae0f485d478f17c3a4c | [] | no_license | glewtimo/chess_ai | fcfe7140ee89f044967f9d5d1f632fae7ce909cf | 98e1b0631a6d0667eca17ccf1752414e6be46088 | refs/heads/master | 2020-11-26T12:20:17.099218 | 2020-03-13T21:12:09 | 2020-03-13T21:12:09 | 229,069,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | hpp | /**********************************************************************************
* Program name: move.hpp
* Author: Tim Glew
* Date: 12/19/2019
* Desription: This is the declaration of the class Move which represents one
* game move made by a player.
* See below for memb... | [
"noreply@github.com"
] | noreply@github.com |
00a3a9881d14466d4e7089dddb456857aea2cdbb | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Developer/CrashDebugHelper/Private/CrashDebugHelperModule.cpp | 4106691f399cccd38003f4b05b6c7f67b0fc47c8 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "CrashDebugHelperPrivatePCH.h"
#include "ModuleInterface.h"
#include "ModuleManager.h"
#include "CrashDebugHelperModule.h"
IMPLEMENT_MODULE(FCrashDebugHelperModule, CrashDebugHelper);
DEFINE_LOG_CATEGORY(LogCrashDebugHelper);
void FCrashDebugHelpe... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
ffbf3e3e556617bab46855dad9e4afc2ecae9a81 | 14d26d26ac6fc5c7c88fc278f586d5f22cb3759e | /glfw/assimp/camera.h | e86d8846ac41d139901fe6fe9438ecae5c61eb2e | [] | no_license | jsheedy/cube | 4e5a1806b191803d87812882b955cc39dc78086e | 938c20c299fb9254c1041e33c80798da5acebdb6 | refs/heads/master | 2021-08-16T12:29:49.667253 | 2017-11-17T18:15:51 | 2017-11-17T18:15:51 | 111,331,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,533 | h | #ifndef CAMERA_H
#define CAMERA_H
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vector>
// Defines several possible options for camera movement. Used as abstraction to stay away from window-system specific input methods
enum Camera_Movement {
FORWARD,
BACKWAR... | [
"joseph.sheedy@gmail.com"
] | joseph.sheedy@gmail.com |
4f5ab3efd49ff3e9484d1cf762d79314c13ade6b | 79901affb4f74eb2b00a04b60e2eb48118fff381 | /src/ofxBranch.cpp | 10572a2cc79c21a96364ea21648d3ec4436b52ea | [] | no_license | ofxyz/ofxBranchesPrimitive | af6a851bfb004bc78fd84425e1a4ef9479b81f30 | 55dedfbddfca8b0706b58840ecf646d2efaf84b9 | refs/heads/master | 2021-10-03T10:11:10.006227 | 2018-12-02T14:07:35 | 2018-12-02T14:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,790 | cpp | #include "ofxBranch.h"
ofxBranch::ofxBranch(glm::vec4 _startPos, glm::vec4 _endPos, glm::quat _orientation, glm::vec3 _startDir){
startPos = _startPos;
startDirection = _startDir;
endPos = _endPos;
startOrientation = _orientation;
endDirection = calculateEndDirection(_startPos, _endPos);
endO... | [
"lastexxit@gmail.com"
] | lastexxit@gmail.com |
5f8977a721d6b62970f870950750f8b86f43ca18 | 7d23b7237a8c435c3c4324f1b59ef61e8b2bde63 | /include/log/log_stream.cpp | 4d050f9aef976aae0614f690bf3187e6c68bf00b | [] | no_license | chenyu2202863/smart_cpp_lib | af1ec275090bf59af3c29df72b702b94e1e87792 | 31de423f61998f3b82a14fba1d25653d45e4e719 | refs/heads/master | 2021-01-13T01:50:49.456118 | 2016-02-01T07:11:01 | 2016-02-01T07:11:01 | 7,198,248 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include "log_stream.hpp"
#include <Windows.h>
namespace logging {
const char* log_level_name[static_cast<const std::uint32_t>(level::NUM_LOG_LEVELS)] =
{
"TRACE ",
"DEBUG ",
"INFO ",
"WARN ",
"ERROR ",
"FATAL ",
""
};
} | [
"chenyu2202863@gmail.com"
] | chenyu2202863@gmail.com |
02390300657d6d60f4d408090eb489e7184729ba | 30a795c612eb8d5851e0ad59749907e964b34672 | /include/caffe/layers/cyclesub_layer.hpp | 4ec49b3cb27bf75ffa5070477444ac2db8e3f879 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | imoisture/caffe | e46de72520ae5a9a144e0d8a1f8b7b9191862c70 | 4d6892afeff234c57ce470056939101e0ae71369 | refs/heads/master | 2021-01-02T15:53:19.477997 | 2020-05-15T12:00:52 | 2020-05-15T12:00:52 | 235,069,978 | 0 | 0 | NOASSERTION | 2020-01-20T09:59:04 | 2020-01-20T09:59:03 | null | UTF-8 | C++ | false | false | 3,031 | hpp | /*
All modification made by Cambricon Corporation: © 2018 Cambricon Corporation
All rights reserved.
All other contributions:
Copyright (c) 2014--2018, the respective contributors
All rights reserved.
For the list of contributors go to https://github.com/BVLC/caffe/blob/master/CONTRIBUTORS.md
Redistribution and use in ... | [
"lichao@cambricon.com"
] | lichao@cambricon.com |
d3c5895b5cd648da225d81a56a07f8edef6ae5b7 | 65f6b26271fc16e70c0cbe73666b770557262576 | /cartoon.cpp | fd7ac76df74ed9705d32ab24b1142973bd489522 | [] | no_license | jiku100/Cartoon | 78ee49d027b0425ff26b9d06d8c7c13f46c42aca | aa076df2910fa4a7fee23b983b617f9d2e5b56a2 | refs/heads/master | 2023-02-15T07:11:18.891183 | 2021-01-08T17:02:05 | 2021-01-08T17:02:05 | 327,924,971 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,731 | cpp | #include "opencv2/opencv.hpp"
using namespace cv;
using namespace std;
#define DEBUG 0
void cartoonifyImage(InputArray src, OutputArray dst, bool isAlien = false) {
Mat srcColor = src.getMat();
// 에지 검출
Mat gray;
cvtColor(srcColor, gray, COLOR_BGR2GRAY);
#if DEBUG == 1
imshow("gray", gray);
#endif
const int MEDI... | [
"tlstjrrud007@naver.com"
] | tlstjrrud007@naver.com |
11a1feaeb22f35dfb3a6cc659fc53f0dfa1f4bdd | eab07fff7bf5e6d768160b6e2eccd43b5abc7c8b | /contests/atcoder/arc/122/B.cpp | 68d5f1dac3686eaebaf7a6d3ce373e72fbef1e25 | [] | no_license | btk15049/com-pro | ce04a6f4a6e1903550e982a5bf0e9faf020b9bb8 | a1585aea56017221eb893c4eb736ed573c5c2e2b | refs/heads/master | 2023-08-16T05:43:25.881208 | 2021-09-26T15:31:07 | 2021-09-26T15:31:07 | 355,559,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,254 | cpp | // https://atcoder.jp/contests/arc122/tasks/arc122_b
#define STATIC_MOD 1e9 + 7
#ifdef BTK
/*<head>*/
# include "Template.hpp"
/*</head>*/
#else
/*<body>*/
/* #region auto includes */
/* #region stl */
/*<stl>*/
# include <bits/stdc++.h>
# include <sys/types.h>
# include <unistd.h>
using namespace std;
/*<... | [
"btk15049@live.jp"
] | btk15049@live.jp |
e81deb1f33c5ba58cc1409eed883e8756e1040a8 | 214951a4b94cd13aa2bf181ed00eb1be308e36d2 | /sources/library/solvers/072.cpp | 115ba62220f0598f90b19f002e739d0b6de6690b | [] | no_license | gcross/CodeQuest | a467d3443e09d1d239cea0719529cb91f8c1f7d5 | adbe674dcdf0415070835c47f9820604757e647c | refs/heads/master | 2021-01-22T07:10:44.022991 | 2012-02-01T00:12:49 | 2012-02-01T00:12:49 | 210,991 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <boost/function.hpp>
#include "codequest.hpp"
namespace CodeQuest {
using boost::function;
typedef function<code (const dynamic_operator_vector&,bool)> solver;
solver solver_072 = solveForFixedSize<dynamic_operator_vector,72>;
}
| [
"gcross@phys.washington.edu"
] | gcross@phys.washington.edu |
604aa74064fce44029b9e1a9d2982c8392aaadd4 | bff9ee7f0b96ac71e609a50c4b81375768541aab | /src/platform/user_pagefault/user_pagefault.hpp | 4c51a8ce4c15a24de5d71694f891a38c2f4561c9 | [
"BSD-3-Clause"
] | permissive | rohitativy/turicreate | d7850f848b7ccac80e57e8042dafefc8b949b12b | 1c31ee2d008a1e9eba029bafef6036151510f1ec | refs/heads/master | 2020-03-10T02:38:23.052555 | 2018-04-11T02:20:16 | 2018-04-11T02:20:16 | 129,141,488 | 1 | 0 | BSD-3-Clause | 2018-04-11T19:06:32 | 2018-04-11T19:06:31 | null | UTF-8 | C++ | false | false | 10,261 | hpp | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef TURI_USER_PAGEFAULT_H_
#define TURI_USER_PAGEFAULT_H_
#include <cstdint>
#include <cstddef>
... | [
"znation@apple.com"
] | znation@apple.com |
db4823d968e5e21ee35db1a1b9d186baf259467a | ae66db103d69be5330a5a564543c427eecde50f8 | /ShaderTutors/37_CelShading/main.cpp | 68c4a6b2bc9c14e7f5410e9147a86f0654cf69af | [
"BSD-3-Clause"
] | permissive | asylum2010/Asylum_Tutorials | 7ccdc9818f9b6efeb2cfbcd9268973630fd1f5f1 | 5bd0509be2280a575ddd234acd8dfe53a7033c1b | refs/heads/master | 2022-11-14T01:37:25.698706 | 2022-11-12T18:22:36 | 2022-11-12T18:22:36 | 8,253,900 | 231 | 53 | null | null | null | null | UTF-8 | C++ | false | false | 11,213 | cpp |
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "winmm.lib")
#pragma comment(lib, "gdiplus.lib")
#include "..\Common\application.h"
#include "..\Common\dx9ext.h"
#include "..\Common\3Dmath.h"
// helper macros
#define TITLE "Shader sample 37: Cel shading"
#define MYERROR(x) ... | [
"darthasylum@gmail.com"
] | darthasylum@gmail.com |
bbf1ebcc6fa794095e1701031050f0f5b75be9aa | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/ppbox_1.2.0/src/p2p/server_mod/supernode/UdpServer/RequestParser.cpp | 7e3ae766e30cac0bb05b4c953f3d698b338fa325 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,237 | cpp | //------------------------------------------------------------------------------------------
// Copyright (c)2005-2010 PPLive Corporation. All rights reserved.
//------------------------------------------------------------------------------------------
#include "Common.h"
#include "protocol/Protocol.h"
#include "... | [
"penneryu@outlook.com"
] | penneryu@outlook.com |
2097f58821801ed3b2b0edc0e1943df121b72410 | d1f4bc93fcf1e21517f112ebacb9fb2f20fa4c0f | /src/data_structure.cpp | e265ceaf63e3e2a65f42560e5aeb4551539ee0b7 | [] | no_license | MatthewNielsen27/english-lang | 364ee6a5499d72e4eefe6a395588e7d87353a855 | 486278c4a19812e04507743b4a4c54a6c9b13992 | refs/heads/master | 2020-03-09T08:23:06.086937 | 2018-05-01T17:54:11 | 2018-05-01T17:54:11 | 128,687,762 | 1 | 1 | null | 2018-05-01T17:54:12 | 2018-04-08T22:40:57 | C++ | UTF-8 | C++ | false | false | 3,364 | cpp | #include "../include/data_structure.hpp"
#include <regex>
std::string __to_type(std::string incoming){
if(incoming == "string"){
return "std::string";
}else if(incoming == "integer-list"){
return "int * ";
}else if(incoming == "integer"){
return "int";
}else if(incoming == "decimal"){
return "f... | [
"md2999ni@edu.uwaterloo.ca"
] | md2999ni@edu.uwaterloo.ca |
ec2bc67896a6fc3f3e85f4e6f7d7e62da4edd5e4 | 3e08a024eef1aede1310fd8c2f6c0815c88206c5 | /src/xtp-quotes/xtp_quote_handler.cpp | 2b79f6548e8b7bc43fedc19675c8727cec696aa1 | [
"MIT"
] | permissive | zhanghaoda/babel-trader | 99b0d14b730e22ed1e9922236f26d4dcf72bbc58 | eda17dda5582f5a728fb6b1dbf90cfc404969c59 | refs/heads/master | 2020-04-05T20:16:13.492365 | 2018-11-12T06:55:21 | 2018-11-12T06:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,409 | cpp | #include "xtp_quote_handler.h"
#include "glog/logging.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
#include "common/converter.h"
#include "common/utils_func.h"
const char *exchange_SSE = "SSE";
const char *exchange_SZSE = "SZSE";
const char *exchange_UNKNOWN = "UNKNOWN";
XTPQuoteHandler::XTP... | [
"mugglewei@gmail.com"
] | mugglewei@gmail.com |
af5eedae01bc8dc568fd276378351c681a5ffa3d | 72f0137abf26c87b6cb1fb542e62b235a0930914 | /2_Package/Driver_Motor_Contorl/motor_top.h | 8d430b39e4f09c06d3392cf44054b44a61fbebbe | [] | no_license | SiChiTong/Embedded | 0b71ffb7f093e6b563751c02fa82ff97ace095a6 | 82a197ba7cf988f786718fb57811298abd235775 | refs/heads/v1.96 | 2020-12-25T22:20:14.572088 | 2016-04-07T13:38:45 | 2016-04-07T13:38:45 | 55,878,403 | 3 | 1 | null | 2016-04-10T03:13:06 | 2016-04-10T03:13:05 | null | UTF-8 | C++ | false | false | 1,733 | h | #ifndef __motor_top_H__
#define __motor_top_H__
#include "motor_config.h"
#include "motor_contorl.h"
/*******************MOTOR1************************/
#define RCC_MOTOREN1 RCC_AHB1Periph_GPIOE
#define GPIO_MOTOREN1 GPIOE
#define GPIO_MOTOREN1_Pin GPIO_Pin_8
#define MOTOREN1_OFF() ... | [
"315261982@qq.com"
] | 315261982@qq.com |
0b317d52f9d9211b0b90cfd6206337734c68f1b0 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/rotamer_recovery/RRProtocolMinPack.cc | 4a93e4ed3fede8154888d22200181ac6af2f30ed | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,522 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
16df1f98c3ffa35034fa1cd7e8826ea9c160b12b | 6f73630836d18973cbcbc1beac26fed9ce626321 | /New_Text_Document.cpp | 4eaf1ecb1c7cd85d5f590ddc46bd638d5587a4b2 | [] | no_license | EternalEdward/QAQ | ae62a370d438e2ad4f0b6c5c21793867b158e1c7 | 17a9024b00ffe0991540f8fc4aa81e9d09c16c0a | refs/heads/master | 2023-06-02T02:59:13.787071 | 2021-06-18T14:40:20 | 2021-06-18T14:40:20 | 376,982,562 | 0 | 0 | null | 2021-06-21T16:42:54 | 2021-06-14T23:38:13 | C++ | UTF-8 | C++ | false | false | 120 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
char x[20];
cin>>x;
cout<<x<<endl;
return 0;
}
| [
"2822134995@qq.com"
] | 2822134995@qq.com |
7ff2125f524e7ec8a7cc2db17eee3c2047818512 | 31c50d614b04a8136fe42da9e8f41909c10feb75 | /Source/agc030/agc030_b.cpp | ad04d240abb8e1266156bd3f92640cff2b68852c | [
"MIT"
] | permissive | Ryohei222/Competitive-Programming | f7fc50af51732b971f95c72b14f04f2346d4e890 | f14d215972cbe2b7e4cd835fc2aaa7670357bb93 | refs/heads/master | 2020-04-01T05:03:13.948399 | 2019-05-01T15:58:22 | 2019-05-01T15:58:22 | 152,888,435 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | cpp | #include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <vector>
#include <set>
#include <queue>
#include <stack>
#include <numeric>
#include <bitset>
#include <map>
#include <set>
#include <list>
#include <unordered_set>
#include <unordered_map>
#include <stdlib.h>
using namespace st... | [
"kobaryo222@gmail.com"
] | kobaryo222@gmail.com |
057b204eed334a786afe1610777b59081eef1c48 | 30ab1090ba15c433f08bbff0a795bcca5817c023 | /jni/miniblocxx/COWIntrusiveReference.hpp | 04a7ff25c0428f827ad11e9da02e0e539c724838 | [] | no_license | dnuffer/redneckracer | 0c8e2efea148057bfbb81c689f0c81f5f430526b | f298e0fcda169829ffc7002165d38613eafc6ee8 | refs/heads/master | 2021-01-01T06:11:42.520020 | 2012-07-06T04:42:21 | 2012-07-06T04:42:21 | 4,918,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,644 | hpp | /*******************************************************************************
* Copyright (C) 2005, Quest Software, Inc. All rights reserved.
* Copyright (C) 2006, Novell, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | [
"danielnuffer@gmail.com"
] | danielnuffer@gmail.com |
e84b5c1bc17a13479e907fac495332e30cb9bbf6 | 6c253330b7b9345cefe03715dcfbf4962eddb2f0 | /Core/Core/Storage/Mongo/Mongo.h | a21418e8ce12ef0c78275c476eaa2ce0ff621df8 | [
"MIT"
] | permissive | usingsystem/vortex | 14c3effa50e17b0de052182fd928b8f38092d72f | a97031227d4e867986918d39eeb2d184147cf118 | refs/heads/master | 2023-02-09T06:22:06.340071 | 2020-12-31T22:54:27 | 2020-12-31T22:54:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | h | #pragma once
#include <string>
#include <vector>
#ifdef VORTEX_HAS_FEATURE_MONGO
#include <mongocxx/client.hpp>
#endif
#include <Maze/Maze.hpp>
#include <Core/Storage/Mongo/Db.h>
#include <Core/Storage/Mongo/Collection.h>
namespace Vortex::Core::Storage::Mongo {
class Mongo {
public:
VORTEX_CORE_API Mongo();
V... | [
"ziga@bobnar.net"
] | ziga@bobnar.net |
0567678ffe6a2a511d70eeff5bb5330618493b87 | 2738d272ae9bc90dc9a35877755d632e64ac8974 | /adresuRadimas/nuskaitymas.cpp | fb2fc36706335d9b5172f98cd6273a64f25fd31b | [] | no_license | sandra0828/zodziuSkaiciavimas | 2757c14fb08ae942c3a8f978bf352038f7a3077d | 85dea3edd7e99554dbcd387193d1cdf03368da3d | refs/heads/master | 2023-02-09T11:38:37.227325 | 2020-12-27T11:35:14 | 2020-12-27T11:35:14 | 324,555,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include "nuskaitymas.h"
void nuskaityti(string failoVardas, vector <string>& adresai)
{
ifstream fd(failoVardas);
try
{
if (fd.fail())
throw std::runtime_error("Failas nerastas \n");
}
catch (const std::runtime_error& e)
{
std::cout << e.what();
return;
... | [
"macsa@LAPTOP-2GDA5VDB"
] | macsa@LAPTOP-2GDA5VDB |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.