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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7af46985a68866040992b8abd774d0937317454 | 14e18690460ab3fbfdaa24190838c4643dce0089 | /src/usFilter/us_vector_region_filter5.cpp | ca355326ecde3fc9099babe7dd1bc17340aed805 | [] | no_license | MrBigDog/MyProject | e864265b3e299bf6b3b05e3af33cbfcfd7d043ea | a0326b0d5f4c56cd8d269b3efbb61b402d61430c | refs/heads/master | 2021-09-10T21:56:22.886786 | 2018-04-03T01:10:57 | 2018-04-03T01:10:57 | 113,719,751 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,421 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// This source file is part of Uniscope Globe
// Copyright (c) 2008-2009 by The Uniscope Team . All Rights Reserved
//
///////////////////////////////////////////////////////////////////////////
//
// Filename: us_vector_region_filter5.cp... | [
"635669462@qq.com"
] | 635669462@qq.com |
abbc9443961b8687b1acbf3429e392e2f2ad4da0 | bcb637b6ce55902142170247703fb770999511a9 | /Driver.cpp | 8b9a6d22bc0a5dd729cce09ee9306bd48ebaff86 | [] | no_license | llendelreyes/compe260-linkedlists | 8bf59cac0930205ecccb936efe019060a8929526 | 151810d2af91c60961a4fb4be216fc4288abab14 | refs/heads/master | 2021-01-01T19:48:30.034549 | 2017-07-28T23:54:02 | 2017-07-28T23:54:02 | 98,692,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | //
// Driver.cpp
// Program #3 Linked Lists
//
// Created by Llendel Reyes.
// Copyright © 2017 Llendel Reyes. All rights reserved.
//
#include "LinkedList.h"
#include <iostream>
using namespace std;
void print(List st)
{ st.display(cout); }
int main() {
List l;
int indexnum, listnum;
... | [
"noreply@github.com"
] | noreply@github.com |
f795d38a6c9e0f8eee034a89d9cf3dba1f241d07 | 1106985164494c361c6ef017189cd6f53f6009d4 | /02 LinkedLists/Source Files/TripletwhoseSumequalsGivenNoin3LLs.cpp | 151a357387322894683f3a1970a66ea81b70e64c | [] | no_license | SlickHackz/famous-problems-cpp-solutions | b7f0066a03404a20c1a4b483acffda021595c530 | f954b4a8ca856cc749e232bd9d8894a672637ae2 | refs/heads/master | 2022-08-25T23:14:11.975270 | 2022-07-17T22:07:03 | 2022-07-17T22:07:03 | 71,126,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,846 | cpp | /*
Take 3 LLs, sort LL2 in ascending and LL3 in descending.
Pick one element from LL1 and one element from LL2 and LL3.
If sum mathces, return;
Else if sum is lesser, look for a bigger number, so increment LL2
Else if sum is greater, look for a smaller number, so increment LL3
*/
#include<iostream>
using namespace s... | [
"prasath17101990@gmail.com"
] | prasath17101990@gmail.com |
87b636e62ec4d2fa6e54ad9c3aaf2f368bd85efc | 2966b8fad330098f8114509a27f9512fa851ef2d | /framework/include/media/MediaUtils.h | 6cc04cd0119348252435471fba58b2de7a89cacc | [
"Apache-2.0"
] | permissive | CypressHJ/TizenRT | ac4e8e86ec6b7b371a0bfd21dfb692502d9a7247 | baac34a860b01a68f5280c2d41d414cb67557562 | refs/heads/master | 2020-03-11T17:47:53.035292 | 2018-04-18T10:01:34 | 2018-04-18T10:01:34 | 125,018,689 | 0 | 0 | Apache-2.0 | 2018-03-13T08:38:56 | 2018-03-13T08:38:56 | null | UTF-8 | C++ | false | false | 2,009 | h | /* ****************************************************************
*
* Copyright 2018 Samsung Electronics 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
*
* ... | [
"jaesick.shin@samsung.com"
] | jaesick.shin@samsung.com |
c1161d30a7b9bb648c8362cf29edb81fe11588ba | 46f53e9a564192eed2f40dc927af6448f8608d13 | /components/content_settings/core/browser/content_settings_policy_provider.cc | 9711640657a6a9fec82c80f3cfd77c833a22483a | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 20,437 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/content_settings/core/browser/content_settings_policy_provider.h"
#include <string>
#include <vector>
#include "base/bind.h"
#i... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
5553318b333ec594ca4f568dfcb949c1657c8dec | add3ceac089f89cccf992b27a84498a4cd4e1642 | /Tarea3_201602935/include/nodo.h | 73f3bcd7ca3a623737f88a60dbfdf9a0d6d505c0 | [] | no_license | loumisha96/EDD | 873068156f8b2fba1736d74d380674462df04ebe | 01937f07652385e3a64124b15abdebff82ae598a | refs/heads/master | 2020-06-23T04:34:47.121439 | 2019-08-21T05:23:56 | 2019-08-21T05:23:56 | 198,364,334 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | #ifndef NODO_H
#define NODO_H
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
struct Dia{
string dia;
// nodo(dia);
Dia *sig;
};
struct Dias{
Dia *primero;
Dia *ultimo;
int tam ;
Dias();
void insertar(string dia);
void print();
};
#endif // NODO_H
| [
"lourdeslorenochoa@gmail.com"
] | lourdeslorenochoa@gmail.com |
a2c1203e55df44665a2ca676186f37f43dd95da7 | 5f07e7f91c713d42a38a1439072dae3e207df516 | /P3Examen1_PaulinaEuceda.cpp | 9d6e7ce5ff2e3e6fbfdc019199a88d00f40fbe16 | [
"MIT"
] | permissive | PaulinaEEF/P3Examen1_PaulinaEuceda | f999a5dd1155473708248a1bcf424396f1cb193d | 87c86b9877b4bb15a57e6240292d2120f28fbfbc | refs/heads/master | 2022-08-26T12:09:25.558777 | 2020-05-30T00:26:59 | 2020-05-30T00:26:59 | 267,935,045 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,502 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
#include "Empleado.cpp"
#include "Tarea.cpp"
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
int main(in... | [
"noheliaeucedaf@gmail.com"
] | noheliaeucedaf@gmail.com |
36d6ae099a62c886d13f76a425e93d4ccb3b9d73 | 339aca423e73308b8e87ebd5553081eed46d10fb | /include/algorithm/max_element.cc | e00802a22e31399e1e4e3d8d4c145716f123dfd9 | [] | no_license | wuhongyi/TechnicalReserves | 26aa44b067a6cc898eba8088c6f36300f5b6bb4f | 2f3148942633a2b9731e88735f3b652056f811f4 | refs/heads/master | 2021-06-26T08:56:39.492125 | 2019-05-18T09:53:32 | 2019-05-18T09:53:32 | 135,350,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cc | // max_element.cc ---
//
// Description:
// Author: Hongyi Wu(吴鸿毅)
// Email: wuhongyi@qq.com
// Created: 日 5月 24 17:02:42 2015 (+0800)
// Last-Updated: 日 5月 24 17:03:05 2015 (+0800)
// By: Hongyi Wu(吴鸿毅)
// Update #: 1
// URL: http://wuhongyi.cn
// min_element/max_element example
#include <iostream>... | [
"81845742@qq.com"
] | 81845742@qq.com |
b435326b828636ad14e63855870bd961fc29a8e7 | be6034591b8cb67e47d74c052098f97df607a06e | /src/ngraph/runtime/plaidml/plaidml_logger.cpp | b76bf5a98c97038da2c6a73923809c9ca0065afd | [
"Apache-2.0"
] | permissive | huningxin/ngraph | ebf17fc722a92a221187fb193dfe7c0657a31a7a | 28622bdea4b4ad84405b8484b31673ae7d31cf76 | refs/heads/master | 2020-04-12T09:24:07.502933 | 2018-12-18T17:14:20 | 2018-12-18T17:14:20 | 162,401,238 | 0 | 0 | Apache-2.0 | 2018-12-19T07:46:01 | 2018-12-19T07:46:00 | null | UTF-8 | C++ | false | false | 1,875 | cpp | //*****************************************************************************
// Copyright 2017-2018 Intel Corporation
//
// 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://w... | [
"robert.kimball@intel.com"
] | robert.kimball@intel.com |
11cc05c46045cd862b909caa667f2c0611b03c6e | 72bba1e25ac60432d40a6ce4aaf404dd53fe1fc4 | /src/Homie/Datatypes/Interface.hpp | 1c95b23f8669b33a1fa2a0dd5b0fe1076dd927e2 | [
"MIT"
] | permissive | eprzenic/homie-esp8266 | e9186ab12084faf35ed33d67f671fb66e84ee611 | 06e32c058bee12cb67b925913820d520d6af1989 | refs/heads/master | 2021-01-15T09:03:31.793746 | 2016-03-29T14:41:07 | 2016-03-29T14:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | hpp | #pragma once
#include "../Limits.hpp"
#include "./Callbacks.hpp"
#include "../../HomieNode.h"
#include "../../HomieEvent.h"
namespace HomieInternals {
struct Interface {
/***** User configurable data *****/
char brand[MAX_BRAND_LENGTH];
struct Firmware {
char name[MAX_FIRMWARE_NAME_LENGTH];
... | [
"nivramdu94@gmail.com"
] | nivramdu94@gmail.com |
5f34495379e5f75fd21481d086126db742206471 | 8cf4166877ef1929ab680add3744da32bfa94a3a | /sources/LongForgottenEarth/Gradient.h | ecc990306f35f4bed4357fe9dc4ab0e1ff965fcc | [
"MIT"
] | permissive | Sphinkie/LongForgottenEarth | de14f9401b50c1ecb8f87141e2b51993457523d3 | 9008e4381091579e38feee03c56c5e3435419474 | refs/heads/master | 2022-12-16T01:35:57.807501 | 2020-09-16T20:07:00 | 2020-09-16T20:07:00 | 293,591,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | /* ------------------------------------------------------------------------- */
// File : Gradient.h
// Project : Long Forgotten Earth
// Author : David de Lorenzo
/* ------------------------------------------------------------------------- */
#ifndef _GRADIENT_H_
#define _GRADIENT_H_
#if _MSC_VER > 1000... | [
"de.lorenzo.david@gmail.com"
] | de.lorenzo.david@gmail.com |
3e771e27adec017bcb38470ca847b739d2a367c6 | fb653a222497d03db916b84824bebaf98cf302bb | /src/wallet.cpp | 7e9a32ae09d51234c03187302ed10a13d009165c | [
"MIT"
] | permissive | bumbacoin/CommunityCoin1.5.1 | e3581f7ca06e06d6c86118ab54164d1836002720 | 59edc82ed438d5f0036fab66b879cadca768cbb1 | refs/heads/master | 2021-01-13T14:20:11.965494 | 2015-07-22T09:30:03 | 2015-07-22T09:30:03 | 37,983,671 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 79,274 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "wallet.h"
#include "walletdb.h"
#include "crypter.h"
#... | [
"bumbacoin@gmail.com"
] | bumbacoin@gmail.com |
f5a8301557c399631f7691e6886adefd9613e846 | 070d4f78a6ed254f784d1023519957cb30e4af2e | /labb1/labb1-polymul-runner/polymul.cpp | 5e633ba39fe596857e90194e3ddcf4f054f0a9d1 | [
"MIT"
] | permissive | ZetaTwo/dd2458-library | 90a95f80e570448eb67556fbf4cb0d3fa795dd65 | b4b8c9ba5fd5f5839674c48c5d5bd8eec31fbbd0 | refs/heads/master | 2016-09-06T03:32:54.081775 | 2015-04-17T00:02:20 | 2015-04-17T00:02:20 | 23,675,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | #include <cstdio>
#include <vector>
#include <iterator>
using namespace std;
#include "polymul.hpp"
#ifdef _WIN32
#define scanf scanf_s
#endif
int main() {
//Number of test cases
int T;
scanf("%d", &T);
//Perform each test case
for (int i = 0; i < T; i++)
{
//Polynomial degrees
int degree1, degr... | [
"calle.svensson@zeta-two.com"
] | calle.svensson@zeta-two.com |
e787c061d881c1c9c71ffa1f103cca36f38465ca | 6e1524f57097936598cd535e260ab29c85020588 | /sheet_b/cf16-d2-b/main.cc | cb8e6db664b0ad024ac89827321b9c4e92979a70 | [] | no_license | kashparty/cp_junior_sheet | 930a36d04635f5cdf1b8ba8f926897fa63594fa1 | 810b398cf5c5703da4a9c91e574b55aed117086a | refs/heads/master | 2023-08-21T09:24:26.597175 | 2021-09-24T17:45:08 | 2021-09-24T17:45:08 | 403,414,844 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cc | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
vector<pair<int, int>> data(m);
for (int i = 0; i < m; i++) cin >> data[i].first >> data[i].second;
sort(data.begin(), data.end(), [](const auto& a, const auto& b) {
return a.second > b.second;
});
... | [
"sharma.pratyaksh@gmail.com"
] | sharma.pratyaksh@gmail.com |
48f54f9d032f02be6c1fcb3c8e170cf09c05ca42 | 02ecce5be0f268da2595be87f45d54732ebdabaa | /第7阶段-C++实战项目机房预约资料/代码/机房预约系统 2/机房预约系统/student.cpp | e91c45a94c358ae8ef3bab12d3fe8069bd65e609 | [] | no_license | yaozhi1234/C-learning-materials | fc2e5db078219fa1340ae5775d25f68607f344de | 4f419ca99434fd163c10f6dd88dd967f4b857480 | refs/heads/master | 2023-06-11T14:21:09.981155 | 2021-06-24T15:42:15 | 2021-06-24T15:42:15 | 379,933,467 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,872 | cpp | #include "student.h"
//默认构造
Student::Student()
{
}
//有参构造 参数:学号、姓名、密码
Student::Student(int id, string name, string pwd)
{
//初始化属性
this->m_Id = id;
this->m_Name = name;
this->m_Pwd = pwd;
//初始化机房信息
ifstream ifs;
ifs.open(COMPUTER_FILE, ios::in);
ComputerRoom com;
while ( ifs >> com.m_Com... | [
"yaozhi1234@126.com"
] | yaozhi1234@126.com |
32c7e63422befafda99a77e3376e7f6539357d10 | 095e8145dcd6687839c778129138bbde19467117 | /Sail/src/Sail/patterns/Subject.h | 294ffc39f7abd3464d80d6efa5532c5e43af98d5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | BTH-StoraSpel-DXR/SPLASH | 684c2b4d64e2a225226940bcb69328a01b7de80a | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | refs/heads/master | 2020-07-12T08:24:10.465242 | 2020-06-26T14:14:39 | 2020-06-26T14:14:39 | 204,763,643 | 14 | 2 | MIT | 2020-06-26T14:14:41 | 2019-08-27T18:18:36 | C++ | UTF-8 | C++ | false | false | 379 | h | #pragma once
#include "Observer.h"
#include <vector>
class Subject {
public:
void addObserver(Observer* observer) {
m_observers.push_back(observer);
}
// TODO: Remove observer method
protected:
void notify(void* data, Event event) {
for (Observer* observer : m_observers) {
observer->onNotify(data, event)... | [
"alexander.wester@gmail.com"
] | alexander.wester@gmail.com |
da2bab55f8eb5e37b3aa2467be8eb57726417d26 | e98e505de1a1a3542189125ef4bdde147f9c77cd | /printing/backend/cups_jobs.h | 12c2d513f43f2fe1c3593fbd96f985f2c184d335 | [
"BSD-3-Clause"
] | permissive | jesonlay/chromium | b98fca219ab71d230df9a758252058a18e075a06 | 292532fedbb55d68a83b46c106fd04849a47571d | refs/heads/master | 2022-12-16T15:25:13.723395 | 2017-03-20T14:36:34 | 2017-03-20T15:37:49 | 158,929,892 | 0 | 0 | NOASSERTION | 2018-11-24T11:32:20 | 2018-11-24T11:32:19 | null | UTF-8 | C++ | false | false | 4,188 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Implementations of IPP requests for printer queue information.
#ifndef PRINTING_BACKEND_CUPS_JOBS_H_
#define PRINTING_BACKEND_CUPS_JOBS_H_
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8a30053c72e9d31645ece183446f4a7c74e30e58 | 3695fa31c48e451e2e6dc618f49bf622ea45200f | /HandMadeIterator.cpp | 1963f71f565042323b6d907edbcfd215fc1ae377 | [] | no_license | AlexeyGorbunov72/lab7 | 7026669428fe684708387571eed8da4390826afc | b75abec7f76dc9fde0319297a862d786ff59ffd6 | refs/heads/master | 2022-07-04T12:22:40.707099 | 2020-05-07T06:55:20 | 2020-05-07T06:55:20 | 261,792,482 | 0 | 0 | null | 2020-05-10T17:52:55 | 2020-05-06T14:57:15 | C++ | UTF-8 | C++ | false | false | 1,713 | cpp | //
// Created by Alexey on 30.04.2020.
//
#include "HandMadeIterator.h"
template <class T>
HandMadeIterator<T>::HandMadeIterator() {}
template <class T>
void HandMadeIterator<T>::operator++(int){
this->counter++;
this->tail = &this->sequence[this->counter % this->size];
if (this->tail == this->head){
... | [
"korri.13@inbox.ru"
] | korri.13@inbox.ru |
015b6b2883bcd1bf7e91d758b67ed0ae626ee08a | 1da4946da8911fbce1290ddbf7b1a6141716057c | /CodeModel/ModuleHeader/RenderD3D11/Camera.h | c6a0d219b52f8dea190a5591120a2af06fbf8d18 | [] | no_license | liqunzheng/Dx11Study | 7ec206348788fb599b86a84ca76801f95f6eaa14 | ca126c8cf6ec9047aa43e293881aa437e8662cb8 | refs/heads/master | 2021-01-20T07:03:10.532414 | 2014-12-22T13:16:17 | 2014-12-22T13:16:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 937 | h | #pragma once
#include "RenderExport.h"
class RENDERD3D11_API CCamera
{
public:
//支持两种摄像机模型 AIRCRAFT 允许在空间自由运动,具有6个自由度
// LANDOBJECT 沿某些特定轴进行移动
enum CameraType { LANDOBJECT, AIRCRAFT };
CCamera();
~CCamera();
void strafe(float units); // 左右
void fly(float units); // 上下
void walk(float units); // 前后
void... | [
"lqzv@163.com"
] | lqzv@163.com |
24a37ca0ceb5692fbad6b814e90536de054dfca8 | a181e4c65ccef369d4ab7e182e2818aa622debc1 | /yact/dosbox_emu/stdafx.cpp | 13fe2722fd70a6d0c071b04026eb25696af97943 | [] | no_license | c1p31065/Win86emu | 259c32eb5bac1ed9c4f5ceebe2ca0aa07fdf4843 | 71c723fcab44d5aae3b6b3c86c87154ad3c4abb5 | refs/heads/master | 2021-12-02T18:24:51.564748 | 2014-02-06T14:12:11 | 2014-02-06T14:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | // stdafx.cpp : source file that includes just the standard includes
// dosbox_emu.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"saberconer@gmail.com"
] | saberconer@gmail.com |
37dff1e1177da571829c528a061afc45544cab60 | 89d7facf3b5f4a982ce5c1ef050baf9958e17e85 | /吉田学園情報ビジネス専門学校_管原司/ハッカソン/ソースコード/HGS_2021_Spring(自身が制作した部分)/particle.cpp | 6dc923aa71d83560f27b7997b3d62ac462beaadf | [] | no_license | sugawaratukasa/Jobi_SugawaraTsukasa | 09827fa67d88a4c364dfba3b598eac4a76b60e4e | f3ea7866e78564308e709aeec1eb3cd61af4db9f | refs/heads/master | 2023-08-25T21:39:35.140466 | 2021-10-25T04:48:50 | 2021-10-25T04:48:50 | 389,308,380 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 15,441 | cpp | //******************************************************************************
// particle.cpp
// Author : 管原 司
//******************************************************************************
//******************************************************************************
// インクルードファイル
//***************************... | [
"stjbi99956@gmail.com"
] | stjbi99956@gmail.com |
a890902848d538a135c80901fabcf5b1a00debf5 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/26_numerics/random/ranlux48_base.cc | 745e76c51c1f6e316109e67d02b977e0d8f3c289 | [
"Zlib",
"LicenseRef-scancode-public-domain",
"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"
] | 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,178 | cc | // { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
//
// 2008-11-18 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008-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... | [
"rink@rink.nu"
] | rink@rink.nu |
9f15e0c3edc87c90c6714e7cd876addc8371caaf | 71b6f2ae57ccca18a53d2e75cc543cdf44e3a02f | /剑指offer/58-2.cpp | 9ff08c2282318a898acbc39bf7ed436846a446b5 | [] | no_license | tangjiahua/all-my-code | bbaf00cd2f9341e75cba7c32e02be39f1251779c | 62b8606372aeeae456087418a3213e7516ffa4c9 | refs/heads/master | 2023-06-01T14:52:02.333317 | 2021-06-14T19:01:17 | 2021-06-14T19:01:17 | 353,415,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | char* reverseLeftWords(char* s, int n){
int len = strlen(s);
char *p = (char*)malloc(sizeof(char)*len+1);
strcpy(p, s+n);
strncpy(p+len-n, s, n);
p[len] = '\0';
return p;
}
| [
"tangjiahuabit@qq.com"
] | tangjiahuabit@qq.com |
101b64df614b7cb9ab5aa9f3d67518869dd2b064 | 7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0 | /0901-1000/0978-Longest Turbulent Subarray/0978-Longest Turbulent Subarray.cpp | 4b55819f1010586a8a6a8e2ef02c14e1416d67fd | [
"MIT"
] | permissive | jiadaizhao/LeetCode | be31bd0db50cc6835d9c9eff8e0175747098afc6 | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | refs/heads/master | 2021-11-05T04:38:47.252590 | 2021-10-31T09:54:53 | 2021-10-31T09:54:53 | 99,655,604 | 52 | 28 | MIT | 2020-10-02T12:47:47 | 2017-08-08T05:57:26 | C++ | UTF-8 | C++ | false | false | 563 | cpp | class Solution {
public:
int maxTurbulenceSize(vector<int>& A) {
int maxLen = 1, inc = 1, dec = 1;
for (int i = 1; i < A.size(); ++i) {
if (A[i] > A[i - 1]) {
inc = dec + 1;
maxLen = max(maxLen, inc);
dec = 1;
}
else... | [
"jiadaizhao@gmail.com"
] | jiadaizhao@gmail.com |
5dd8f3b48e33d1048e41ee8d4b907404b18dc09c | b3439873c106d69b6ae8110c36bcd77264e8c5a7 | /server/Common/Packets/GWMail.h | 5252faf7820c5d1548cb8e2369da682aa4746c1b | [] | no_license | cnsuhao/web-pap | b41356411dc8dad0e42a11e62a27a1b4336d91e2 | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | refs/heads/master | 2021-05-28T01:01:18.122567 | 2013-11-19T06:49:41 | 2013-11-19T06:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | h |
#ifndef __GWMAIL_H__
#define __GWMAIL_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class GWMail : public Packet
{
public:
GWMail( ){} ;
virtual ~GWMail( ){} ;
//公用继承接口
virtual BOOL Read( SocketInputStream& iStream )... | [
"viticm@126.com"
] | viticm@126.com |
d01361cec6df272b0a5bb5792c78b14a582f2c50 | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /LayoutEditor/xmladapter.h | a75fdb01825bb0f2e782a0825b7945c6fe373caf | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,423 | h | #ifndef XMLADAPTER_H
#define XMLADAPTER_H
#include <QObject>
#include <QtXml>
#include "exceptions.h"
#include "configxmlmanager.h"
#include "liblayouteditor_global.h"
#include "dialogerrorhandler.h"
/**
* Interface assumed during configuration operations.
*
* @author Bob Jacobsen Copyright (c) 2002
* @version $... | [
"allenck@windstream.net"
] | allenck@windstream.net |
57397b1f6e8d3bac1414e69102b71da83b5489c2 | 910c6b561221b5ff03f20486ba88e43978d6e3db | /AntsLib/include/AntsLib/Core/Board/Board.hpp | 7fb91402dbc78f55ff66d05c43aeb94d95ac3300 | [] | no_license | MarekOchocki/AntsProject | 1d5f00e702574c253de3dc2fcc971fa971db23b1 | 25c76ba482d8848512617cd7c7ccd2f55c8045c0 | refs/heads/main | 2023-01-21T17:17:01.365466 | 2020-12-04T13:58:16 | 2020-12-04T13:58:16 | 318,532,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include <Utils/Types.hpp>
#include <AntsLib/Core/Board/BoardState/BoardEntity.hpp>
#include <AntsLib/Core/Board/BoardState/Tile.hpp>
class BoardEntity;
enum BoardEntityType;
class Board {
private:
Vector2i size;
std::vector<Tile> tiles;
std::map<int, std::shared_ptr<Boar... | [
"marcopolo97@vp.pl"
] | marcopolo97@vp.pl |
4110a5690a712ec03e9d4747b688ccafcf02ace9 | 32acee5e0e04e52ae6cb37ba4b5a9ef76ff5e7e4 | /Engine/Engine_Utility/Codes/ResourcesMgr.h | ecf86d720886826f6cf72d50f82eea5212506311 | [] | no_license | Repell/DragOn | 4fc777ddf09ef2ff4fc66e067f9d056e29c3b133 | 6e49e6ab27d7e193acc2d02b444721d3245d3ed5 | refs/heads/master | 2020-06-19T22:46:32.733968 | 2019-08-07T12:49:13 | 2019-08-07T12:49:13 | 196,902,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | #ifndef ResourcesMgr_h__
#define ResourcesMgr_h__
#include "Engine_Define.h"
#include "Base.h"
#include "Texture.h"
#include "TriCol.h"
#include "TriTex.h"
#include "RcCol.h"
#include "RcTex.h"
#include "CubeTex.h"
#include "SkyBox.h"
#include "TerrainTex.h"
#include "StaticMesh.h"
#include "DynamicMesh.h"
#include "... | [
"EASTNOTE@EASTNOTE"
] | EASTNOTE@EASTNOTE |
4c00309ec042e7813c4f2180aca8224fe1dd4fa3 | 4bc71c372535554f9a9c9b612796213770204a0a | /Embarcadero/XE5/CPP/BoostAlgorithms/MainForm.h | 02833004b72887ca94ef01f01af38f5f9a884078 | [] | no_license | jimmyat2023/Firemonkey | e843cea2a4475138ec281ae712455d9240a062c4 | fe8a78893c6df92fe6a6aa472d8698d3fe1f52e0 | refs/heads/master | 2023-03-22T10:44:55.203200 | 2020-02-19T14:09:36 | 2020-02-19T14:09:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | h | //---------------------------------------------------------------------------
#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Edit.hpp>
#include <FMX.Layout... | [
"eli@peacekeeper.com"
] | eli@peacekeeper.com |
44ddc8fdab2f2551cba1ae68b2ba94d6cb6d3373 | 0ab5b3e86ea65a9fb216e7178b3f8ae5fe6b3a1c | /mobile/taf/src/node/CommandDestroy.h | 5146b694ea977a322f1bd5955a87cc8e62fba7de | [] | no_license | lineCode/mobile-1 | 197675bcde3d8db021c84858e276fc961b960643 | 66971911b57105b8ef5ad126b089b3fd1cc0f9b0 | refs/heads/master | 2020-03-29T11:02:22.037467 | 2017-02-13T09:40:59 | 2017-02-13T09:40:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,340 | h | #ifndef __DESTROY_COMMAND_H_
#define __DESTROY_COMMAND_H_
#include "ServerCommand.h"
/**
* 销毁服务
*
*/
class CommandDestroy : public ServerCommand
{
public:
CommandDestroy(const ServerObjectPtr &pServerObjectPtr,bool bByNode = false);
ExeStatus canExecute(string &sResult);
int execute(string &sResult);
... | [
"zys0633@175game.com"
] | zys0633@175game.com |
6d2abaf76cfa631508c45333be9fc4f7152a1a69 | 54cd0abad1a3c5a9ca2f6ad8f7f6b6d7a1a9eec9 | /leetcode-daily/part3/q6/main.cpp | c2166f5e4d67a172c6e7c0a98efc28696b74a552 | [] | no_license | AceCoooool/Own-Note | f0e2e3038018c2eb23b0f1d3351b35a68a8d552d | 0e4faff298b7b8813ed8d8384b8c74ad482c3cc5 | refs/heads/master | 2020-03-27T20:19:20.063690 | 2019-03-20T14:32:00 | 2019-03-20T14:32:00 | 147,058,946 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include <iostream>
#include <vector>
using namespace std;
int removeDuplicates(vector<int> &nums) {
int cur = 0;
for (int j = 1; j < nums.size(); ++j) {
if (nums[j] != nums[cur])
nums[++cur] = nums[j];
}
return nums.size() == 0 ? cur : cur + 1;
}
int main() {
vector<int> nums... | [
"tinyshine@yeah.net"
] | tinyshine@yeah.net |
837d9c8c5749c2f0c96b2fc3fbfa0ee49ac5ca04 | e7f9a827fcc675371aa726c49ce657a1e83ede97 | /w3/w3cpp/Car/Car.cpp | abd7564ec412458869b2048511aa2a8bce3032d3 | [] | no_license | Altahoma/boot-camp | 3d2ea722e07dab4a89c90ef7f8cc61e143593106 | 848b645fa11ea307e75f5dcd967d0d68b1de22b3 | refs/heads/master | 2020-05-19T19:54:53.366155 | 2019-05-06T12:33:51 | 2019-05-06T12:33:51 | 185,191,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | #include <iostream>
#include "Car.h"
#include "Point.h"
Car::Car(double capacity, double consumption, const Point& location, const std::string& model) {
this->fuelAmount = 0;
this->fuelCapacity = capacity;
this->fuelConsumption = consumption;
this->location = location;
this->model = model;
}
Car::... | [
"none"
] | none |
f483609971927f2e8ba163e0e23a724101929a5b | 88ba6c1ba297367b29aed53cacafbf66adc3dfb4 | /pdf/draw_utils/coordinates.cc | d3ed045df5ec2f2902952be6480ba3bd9969d937 | [
"BSD-3-Clause"
] | permissive | Toufique-Sk/chromium | 13f7d1dd7e89ef9bffdaca278b2d24f96db2b64b | 5d5c53d4e092e121dacf7f3a965231eca2d2cb44 | refs/heads/master | 2023-03-17T17:52:10.591739 | 2019-07-16T17:08:58 | 2019-07-16T17:08:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "pdf/draw_utils/coordinates.h"
#include <math.h>
#include "base/logging.h"
#include "ppapi/cpp/point.h"
namespace chrome_pdf {
namespace draw_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
871db832bf1e5a24a509aa1c7ee05cff96f4a346 | b5f0a4540d122b98e7c11196544e44c597decbe7 | /Ejercicio Resueltos por mi/Punteros7.cpp | dc59efd901c974a235c46662631075587712a7fa | [] | no_license | joaquinheliop/CPP-Practicas- | 964f604c7429842235cacf8a5a8e0013a3167d53 | ab1276126b17632e54f7dc95cbb41916b5c9a41c | refs/heads/main | 2023-08-14T05:50:55.573323 | 2021-10-07T18:55:11 | 2021-10-07T18:55:11 | 410,961,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | #include <iostream>
#include <conio.h>
#include <stdlib.h>
using namespace std;
int nElementos, *elemento;
void pedirDatos()
{
cout << "Digite el numero de elementos del arreglo: ";
cin >> nElementos;
elemento = new int[nElementos]; //Reservo el espacio de memoria para nElementos x int y le digo a mi pun... | [
"joaquin.helio.p@hotmail.com"
] | joaquin.helio.p@hotmail.com |
c2301c71a920c22b0672bfa7f681ac7bb7053101 | cc615f928d5149fb87679fdeaebf49f565a3445e | /Tutorial/gray-scott/plot/render_isosurface.cpp | 99fe64caf5a324b01064f3e15e135b6fd8817a48 | [] | no_license | eisenhauer/adiosvm | 3fb89e31b57a30a2c0ec9ad07490fd6bc15b6368 | 3bfaddb82884651635ca5045d83976ee3bd30ae6 | refs/heads/master | 2020-06-01T17:25:48.303588 | 2019-06-06T07:23:09 | 2019-06-06T07:23:09 | 190,864,196 | 0 | 0 | null | 2019-06-08T08:30:30 | 2019-06-08T08:30:29 | null | UTF-8 | C++ | false | false | 5,687 | cpp | /*
* Visualization code for the Gray-Scott simulation.
* Reads and renders iso-surface mesh data.
*
* Keichi Takahashi <takahashi.keichi@ais.cmc.osaka-u.ac.jp>
*
*/
#include <chrono>
#include <iostream>
#include <adios2.h>
#include <vtkActor.h>
#include <vtkCallbackCommand.h>
#include <vtkCellArray.h>
#include... | [
"keichi.t@me.com"
] | keichi.t@me.com |
ef5f3647ebc8d8fddc10a2a990b3a6b5c36ac054 | a75d0418b2143d6f59635a8833bff49bc903df5e | /DofusMessages/IdolPartyLostMessage.h | 0c608b934e166e5fcd59c80cacc49e35707d15d1 | [] | no_license | Arkwell9112/dofus_bot | 30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8 | fc1b805b70c0ed43cbc585322806ece89d057585 | refs/heads/master | 2023-01-16T01:08:06.710649 | 2020-11-23T20:53:00 | 2020-11-23T20:53:00 | 314,084,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #ifndef IDOLPARTYLOSTMESSAGE_H
#define IDOLPARTYLOSTMESSAGE_H
#include "../BotCoreAPI/BotCoreAPI.h"
#include "../DofusTypes/Idol.h"
#include <string>
#include <vector>
class IdolPartyLostMessage : public DeserializeInterface {
public:
unsigned int idolId = 0;
void deserialize(CustomDataInput *input);
priva... | [
"arkwell9112@github.com"
] | arkwell9112@github.com |
b3a0d69548ad2ccde79449e872d701b997fd258d | 5de9c0c802762cc667a928b67785aeab932ab3fe | /src/data/linearscale.cpp | 0ce12a489ca48fed15ea310a3693dc5e69988400 | [
"MIT"
] | permissive | betrixed/AGW | 1d73ebab943e699befd45762213a30fd63847b66 | 22147e41a882a0e5d859869fd72716738bde6f6a | refs/heads/master | 2022-05-07T19:53:09.217375 | 2020-06-08T11:07:39 | 2020-06-08T11:07:39 | 53,102,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,233 | cpp | #include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstopcd
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "plotxy.h"
#include "helper.h"
#define kTestTickSize 9
double sRealTick[kTestTickSize] = {0.1,0.2,0.5,1,2,5,10,20,50};
int sRealLabels[kTestTickSize] = {5,5,4,5,5,4,5,5,4};
using namespace agw;... | [
"michael.rynn.500@gmail.com"
] | michael.rynn.500@gmail.com |
9f1e1d2f4b95e3373d4e8bc7ca4b73f3926420b7 | 300b29a4c225efed3eecc1cff4948a7506315bc0 | /simple_server/header.h | f30eb19316aab2b024b4118c3668d95dfa4291cc | [] | no_license | BogdanAriton/Simple-Web-Server | 55a3c34d6520fe4ff1388171732cef79fb42e35e | e55f51bb530da87f8e7d6f79460d82c767a106ce | refs/heads/main | 2023-02-28T01:42:24.574555 | 2021-01-30T18:24:40 | 2021-01-30T18:24:40 | 334,479,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | #ifndef HTTP_HEADER
#define HTTP_HEADER
#include <string>
namespace http {
namespace server {
struct header
{
std::string name;
std::string value;
};
} // namespace server
} // namespace http
#endif // HTTP_HEADER | [
"bogdan.mihail.ariton@gmail.com"
] | bogdan.mihail.ariton@gmail.com |
affb4ff84dad8d08658896fd149e25591997dc95 | 751352f85359b69f901285ce7ee02d052a3fc7ab | /thirdparty/libigl/include/igl/grad.h | df375ba61446a3a4b44ba88bece532fc6cf036a8 | [
"MIT",
"GPL-3.0-only",
"MPL-2.0",
"LicenseRef-scancode-unknown"
] | permissive | ZhengZerong/simpleuv | fa7c27be080d84f803ab92843768c43b1b4f3e2c | a3f5bbbac93352b57973c657c38867832749d74d | refs/heads/master | 2020-09-25T14:23:43.535660 | 2019-12-11T07:46:24 | 2019-12-11T07:46:24 | 226,023,168 | 1 | 2 | MIT | 2019-12-05T05:28:31 | 2019-12-05T05:28:31 | null | UTF-8 | C++ | false | false | 1,681 | h | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at h... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
d45c664edf55e284b8246b290e7a917026632e63 | 4b9b64c10db245a835ebee846473bceb7cb12158 | /LinkedList4.cpp | 37a7d9228c27acf0c93fd8eacc9c4635085d7807 | [] | no_license | soumik12345/Linked-List | 4a704cbeba49a3be13a0e6497ba3b90b34aca229 | 164c30ac16de0ee45a1268b4c0864b183585eca2 | refs/heads/master | 2021-01-21T19:36:39.155260 | 2017-05-26T22:01:08 | 2017-05-26T22:01:08 | 92,144,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,792 | cpp | //Program to reverse a linked list iteratively
#include<bits/stdc++.h>
using namespace std;
struct Node
{
int data;
Node* next;
};
Node* head;
void Insert_beg(int x)//method to insert at the beginning of the list
{
Node* temp=(Node*)(malloc(sizeof(Node)));//we create a new node temp
temp->data=x;//we set the da... | [
"noreply@github.com"
] | noreply@github.com |
4f4a2ddabacecfb9e84667f1b9d832ae41417ab0 | 43002261a9692167930ca388bf4aebd095daf40d | /src/qt/paymentserver.cpp | 1f7350ab0536e6dfea4724a30294e4439a0dabe8 | [
"MIT"
] | permissive | bencebereczki/bakercoin | 6f237c1b9c482454e47ff0947cacce4c4f0c1724 | df880ce1fe056ef1acd78ad5b1b5e1dd82065e68 | refs/heads/master | 2023-07-20T06:49:55.225759 | 2018-09-22T10:43:35 | 2018-09-22T10:43:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,018 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The BAKER developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... | [
"32452342+reloopbenny@users.noreply.github.com"
] | 32452342+reloopbenny@users.noreply.github.com |
f12957bbc63290ebba7c193bdf6f95916107e94e | b38f20bf87238849d481c2b2647320461556a27d | /Code/PrevTestLab_Win32/PrevTestLab_Win32/CAudioComponent.cpp | 2b7366768f08767b7fd70c24be426039a92bb4f4 | [] | no_license | batherit/BatheritEngine | f132f32865ba17a26762870c839900d237b027d1 | 6a1595b673570cf069f3ad9ca39a486c2973adf7 | refs/heads/master | 2021-09-22T21:32:09.160482 | 2018-09-16T09:29:07 | 2018-09-16T09:29:07 | 132,496,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | cpp | #include "CAudioComponent.h"
#include "CIniFileLoaderBase.h"
#include "CFMOD.h"
CAudioComponent::CAudioComponent()
{
}
CAudioComponent::~CAudioComponent()
{
}
| [
"batherit0703@naver.com"
] | batherit0703@naver.com |
16868744b96d007ecb31490c97ef6e9f1d9c2ffc | 9f30967e6c53dddd01a0e6e60947a266209199c2 | /zty-Contest/zty-Exercise/luogu/P1084/P1084.cpp | 8b9d99cb070f3b80763db76a9017726ddd518535 | [] | no_license | zty111/OI | 80ce2cfcace751673a56f7808259c0622d5689a4 | 5f49047ef3f8d17eb1677ad38f1829fd44e85abc | refs/heads/master | 2020-07-29T23:48:59.956933 | 2019-10-31T15:18:02 | 2019-10-31T15:18:02 | 165,688,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,629 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 200010;
int n,cnt=1,e[N],to[N],h[N],nxt[N],m,num[N],ans,l,r;
inline char nc(){
static char buf[100000],*p1=buf,*p2=buf;
return p1==p2&&(p2=(p1=buf)+fread(buf,1,100000,stdin),p1==p2)?EOF:*p1++;
}
inline int read(){
char ch=nc();int sum=0;
while(c... | [
"1225013181@qq.com"
] | 1225013181@qq.com |
0be62ef07036046fff9215800ace826daf1764a2 | 4ccc93c43061a18de9064569020eb50509e75541 | /base/message_loop/message_loop.cc | 0eb24cf7d2f89641950bf36ba7768ca7d2dc7ccc | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SaschaMester/delicium | f2bdab35d51434ac6626db6d0e60ee01911797d7 | b7bc83c3b107b30453998daadaeee618e417db5a | refs/heads/master | 2021-01-13T02:06:38.740273 | 2015-07-06T00:22:53 | 2015-07-06T00:22:53 | 38,457,128 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,154 | cc | // Copyright 2013 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 "base/message_loop/message_loop.h"
#include <algorithm>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/lazy_instance... | [
"g4jc@github.com"
] | g4jc@github.com |
9520b955b33ce7b659694644c642f80fe5f27a22 | 466ac193a31b2c0e0ec49b711ee1ee8164a3957e | /model/src/Move.cpp | c96a4b3aefea3b5364ab6c85686650977309bf2c | [] | no_license | jeffnuss/chess | 33bb6089368cc4b5c7d3f21f7168b8ee4da223b7 | 5862634173d41ddaf9e0beee03494c7f30a282d4 | refs/heads/master | 2021-01-10T09:01:53.175925 | 2012-04-11T02:04:58 | 2012-04-11T02:04:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | cpp | /*
* Move.cpp
*
* Created on: Apr 9, 2012
* Author: jnuss
*/
#include "../inc/Move.h"
Move::Move()
{
}
Move::Move(const Move & other)
: pieceType(other.pieceType),
pieceColor(other.pieceColor),
moveFrom(other.moveFrom),
moveTo(other.moveTo),
capturedPieceType(other.capturedPieceType),
capu... | [
"jeffnuss@hotmail.com"
] | jeffnuss@hotmail.com |
0573b74877cd10711450117852d6e797ac837f14 | bce9e3f4da414e13981fdb32992bac5cce14832c | /yuan_pattern.h | e80631e9e00bcb91167d73680eddaabb0fdd1c9b | [] | no_license | zhouhaoyuan/structured-light | 61410a79f7a4b0d511ee0988da4ff78aa5c44296 | f9bdb453f8aef2e1f545fc8d5aa2101db289379e | refs/heads/master | 2020-07-29T05:13:22.481695 | 2019-09-20T01:45:44 | 2019-09-20T01:45:44 | 209,681,635 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,212 | h | #ifndef YUAN_PATTERN_H
#define YUAN_PATTERN_H
#include <common/returncode.hpp>
#include <common/debug.hpp>
#include <common/parameters.hpp>
#include <common/capture/capture.hpp>
#include <common/pattern/pattern.hpp>
#include <common/disparity_map.hpp>
#include <structured_light/structured_light.hpp>
#inclu... | [
"noreply@github.com"
] | noreply@github.com |
da9e46232b00567f58e9112d9c09850024449071 | e49cc64ce9256d7b7d9700ca2ba779a4da2d2e1b | /src/kinect2_raw_node.cpp | 36c2395cc970139e09b7187d4c1d53d5843a5da6 | [] | no_license | doge-of-the-day/kinect2 | 01c16de9c3171636763befd8d383d707332ede93 | 5e28bb33b432b60227d7a0ab578e1c95adc5cf9b | refs/heads/master | 2021-01-22T20:13:08.858361 | 2017-10-17T14:46:43 | 2017-10-17T14:46:43 | 85,297,529 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,327 | cpp | /// HEADER
#include <kinect2/kinect2_raw_node.h>
/// SYSTEM
#include <sensor_msgs/distortion_models.h>
#include <sensor_msgs/image_encodings.h>
#include <pcl_ros/point_cloud.h>
#include <sensor_msgs/PointCloud2.h>
#include <functional>
using namespace kinect2;
Kinect2RawNode::Kinect2RawNode() :
nh_private_("~")
... | [
"richard.hanten@uni-tuebingen.de"
] | richard.hanten@uni-tuebingen.de |
61708cfe86f0e4402bd219c2d7f99c0e18d3dc79 | 01b23678724d9784a2c1fd19dbe5361073384734 | /Linked List/Insert In the middle function.cpp | e3b6fa53a538c946e56ec5fd1709ed0a412ac9fa | [] | no_license | AzizulTareq/data-structures-and-algorithms | 42241b3ec0544c5741adc8a3999a37d2f818cae3 | 19c34575ff051e9fcb14861c31f5e2387333619c | refs/heads/master | 2023-06-18T04:12:00.529070 | 2021-07-17T06:22:16 | 2021-07-17T06:22:16 | 262,660,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include <iostream>
using namespace std;
class node {
public:
int data;
node* next;
node(int data){
this -> data = data;
next = NULL;
}
};
void insertAtHead (node * &head, int data){
if(head == NULL){
head = new node(data);
return;
}
//otherwise
node * ... | [
"azizul.tareq@northsouth.edu"
] | azizul.tareq@northsouth.edu |
e43006e73834faad25677710c30d9d167e151efa | f0cfa1f5e30845a6061fefbf87547e63b2c22b41 | /devel/include/rss_msgs/BumpMsg.h | 72b5815639638b564a4337b4ab5208319b0e3c20 | [
"MIT"
] | permissive | WeirdCoder/rss-2014-team-3 | d9ba488dff5b7f17bd278a3eef135a39bdcf8e19 | f7565e14de018b3fac5e2cfeb6633d32047eb70a | refs/heads/master | 2021-01-01T06:55:14.626711 | 2014-05-06T23:25:24 | 2014-05-06T23:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,570 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain... | [
"rss-student@Turtle.mit.edu"
] | rss-student@Turtle.mit.edu |
e1a32b54920ab9bd7073bfc874108b8b22f072c6 | cf0ddb76f36df263c22fcd13ace6bb16b5f6857f | /CODE/Particle.h | 848563980d499da40886cfb2020f75c4197921ba | [] | no_license | 0NDR/Sword | 573493d1da11155adb9797dc5fe454a41ae61eab | 1e5107aab0d27a2e396ca764eeb54e79b7415a23 | refs/heads/master | 2021-01-13T01:04:24.372397 | 2015-09-29T00:31:41 | 2015-09-29T00:31:41 | 43,334,599 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | h | #ifndef Particle_H_INCLUDED
#define Particle_H_INCLUDED
#include "Physics3D.h"
#include "Model.h"
#include "glTexture.h"
#include "Shader.h"
class Particle: public Physics3D ///Extended class for rendering 3D meshs
{
protected:
private:
Model *renderMesh;
glTexture *renderTexture = NULL;
... | [
"nickdeanroberts@gmail.com"
] | nickdeanroberts@gmail.com |
945a3b1a7515c1f10d9b7077c2e2ba53641cb74e | 21fc7b7acfefe74414a577f32c9bbe3df2382cf4 | /Teensymouse2015/Maze.h | be670d83ea7524844a03b0e971e24b02fa933b8c | [] | no_license | UCSBRoboticsClub/Teensy-Mouse-2015 | 786d559241d9e0e82eee84a0a512cad9b8aa1820 | a91ac6de44bc5a82f2835af06b18a71b9e73a037 | refs/heads/master | 2016-09-05T12:40:51.709481 | 2015-05-17T08:17:34 | 2015-05-17T08:17:34 | 33,518,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,764 | h | #ifndef MAZE_HPP
#define MAZE_HPP
#undef min
#undef max
#include <array>
#include <cstdlib>
#include "BitArray2D.h"
/* The get/setCellsWalls functions take and return arrays of booleans
* representing the state of each wall around a cell.
* cw[0] is the wall in the +i direction
* cw[1] is the wall in the ... | [
"nickolas.clinton1@gmail.com"
] | nickolas.clinton1@gmail.com |
4144d6719e1fa2a4811f1142acd0c3ccde8a8b9d | 946127a03209fd9f85402dc7f7a617c9fdb3fbee | /tests/src/main.cpp | 8ab283715ef086e92e06c960252e7fe2db28b7db | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | masterbulla/imgbrd-grabber | 431abfa53c370963e0e27a7f8245e46605e516a6 | 63251cb5170ac0dc7add391f233e7a0edb2f9094 | refs/heads/master | 2020-03-23T08:59:09.912834 | 2018-06-21T06:52:27 | 2018-06-22T18:23:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include <QTest>
#include <iostream>
#include "custom-network-access-manager.h"
#include "functions.h"
#include "test-suite.h"
int main(int argc, char *argv[])
{
#ifdef HEADLESS
QCoreApplication a(argc, argv);
#else
QGuiApplication a(argc, argv);
#endif
QStringList testSuites;
testSuites.reserve(argc - 1);
... | [
"bio.nus@hotmail.fr"
] | bio.nus@hotmail.fr |
097a49ee6eec46f3771e97358f7acca90e74535b | 93176e72508a8b04769ee55bece71095d814ec38 | /CMake/otbTestCompileBoost.cxx | 2cdb84ce5a0762c8b8844c93d22a49f04253cb14 | [] | no_license | inglada/OTB | a0171a19be1428c0f3654c48fe5c35442934cf13 | 8b6d8a7df9d54c2b13189e00ba8fcb070e78e916 | refs/heads/master | 2021-01-19T09:23:47.919676 | 2011-06-29T17:29:21 | 2011-06-29T17:29:21 | 1,982,100 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cxx | #include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
int
main(int argc, char *argv[])
{
return 1;
}
| [
"thomas.feuvrier@c-s.fr"
] | thomas.feuvrier@c-s.fr |
4ba525b10916a2313ff5c588aa746e6f9570c045 | 8d0d44a4f97dc417e6dd0ec335a4bd644725cd91 | /acm2014/uva11137.cpp | bcbbccf11f8aebbda47441ef137f70cd786d651f | [] | no_license | ddlin0719/pratice | 8cc70d184ae43f2298e8dd0c999274846ee2bde7 | 5ed445995ee95875939af2abdc48afb6fdcdef41 | refs/heads/master | 2023-08-12T02:04:40.974632 | 2021-10-11T10:20:33 | 2021-10-11T10:20:33 | 22,866,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include <stdio.h>
#include <string.h>
long long max(long long a,long long b){
if (a<b) a=b;
return a;
}
int main(){
int coin[33],ncoin=21;
int i,j,n;
long long f[10010]={1};
for (i=1;i<=ncoin;i++) coin[i]=i*i*i;
for (j=1;j<=ncoin;j++)
for (i=coin[j];i<=10000;i++)
//f[i]=max(f[i],f[i-coin[j]]+1);
f[i]+=f... | [
"654548718@qq.com"
] | 654548718@qq.com |
fe5d2f023366b37136c85fe3b86bd0ca041da892 | c9b9d9e93505e1e42adb61597c885b58c153894f | /source/graphics/brdisplayopengl.cpp | 5faea381b37ebd69fa292c6785b08d25b35eecee | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | Olde-Skuul/burgerlib | a3b860bf00bdbc699086a32a1d4756848866d3dc | 4d9dfa0cd5586d23688978e7ec0fd5881bf75912 | refs/heads/master | 2023-08-30T17:13:52.487215 | 2023-08-18T21:56:27 | 2023-08-18T21:56:27 | 18,419,163 | 163 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 48,919 | cpp | /***************************************
OpenGL manager class
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just gi... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
5c2a62de15860f9f73ca54f73291e92718055a71 | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/libopenmpt-0.2.7299-beta20.2/mptrack/CleanupSong.cpp | faf4c6c4b96179b9c208a022f8c2ad7347458901 | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 30,857 | cpp | /*
* CleanupSong.cpp
* ---------------
* Purpose: Dialog for cleaning up modules (rearranging, removing unused items).
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx... | [
"manx@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | manx@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
a52341862c7fbc60489e1553126cb999149945f4 | a5701db4a94973e9f63f95d8db6043c30b4ee9b5 | /test/helper.hpp | faaa9aa93ca47c456d92335b0fe843f09f70d2fa | [] | no_license | mlu1109/data_structures | 5b77f19c7874d89890eb52c417aec95729441029 | 938be73fb63a8bc9291409de55e85cdfea424414 | refs/heads/master | 2021-01-10T22:30:00.065090 | 2016-10-21T02:19:52 | 2016-10-21T02:19:52 | 69,478,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | hpp | #ifndef DATA_STRUCTURES_HELPER_HPP
#define DATA_STRUCTURES_HELPER_HPP
#include "avl.hpp"
std::unique_ptr<AVL::Node<int>> createNode(int key);
std::unique_ptr<AVL::Node<int>> generateTree();
std::string getTreeString(std::unique_ptr<AVL::Node<int>> &node, int depth);
template<typename T>
int getCalculatedHeight(std::... | [
"matlu703@student.liu.se"
] | matlu703@student.liu.se |
bc604673b5777d4eb2895dff95c0a06d36591160 | dc81c76a02995eb140d10a62588e3791a8c7de0d | /PortfolioTrading/FastTradeStation/ClientManager.cpp | b26af969e7f065aca50b887127cd0b6665b57ad9 | [] | no_license | xbotuk/cpp-proto-net | ab971a94899da7749b35d6586202bb4c52991461 | d685bee57c8bf0e4ec2db0bfa21d028fa90240fd | refs/heads/master | 2023-08-17T00:52:03.883886 | 2016-08-20T03:40:36 | 2016-08-20T03:40:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,333 | cpp | #include "ClientManager.h"
#include "globalmembers.h"
#include "entity/message.pb.h"
#include "charsetconvert.h"
#include <boost/format.hpp>
#include <boost/bind.hpp>
CClientManager::CClientManager(void)
{
InitializeReqTranslators();
}
CClientManager::~CClientManager(void)
{
}
bool CClientManage... | [
"zxiaoyong@163.com"
] | zxiaoyong@163.com |
4e5872b1f383e5e4313d350780a0cf6c5edfc53b | cc687366dfa1c3bb57263f15c2a0dd2e3a68a2d8 | /ChartCtrl_source/ChartGanttSerie.cpp | d54d498aeee8d2f30689425abf5446f1c0dbbf10 | [] | no_license | hb-lee/MFCVideo | 60a2e133c3a27f8ca06d038fc5c542de30ca4936 | d1e82e805c4c83d82bd4657c5337ba9c69e67a93 | refs/heads/master | 2020-05-03T08:55:34.750085 | 2019-05-04T08:34:52 | 2019-05-04T08:34:52 | 178,540,060 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 5,699 | cpp | /*
*
* ChartGanttSerie.cpp
*
* Written by CÚdric Moonen (cedric_moonen@hotmail.com)
*
*
*
* This code may be used for any non-commercial and commercial purposes in a compiled form.
* The code may be redistributed as long as it remains unmodified and providing that the
* author name and this disclaimer remain... | [
"lihb2113@outlook.com"
] | lihb2113@outlook.com |
48aa35f254812ac5303699a666498aa389b4effb | f530f0335149d0d69a5728b498d88f9d5e4c3894 | /frameworks/base/component/SpriteRenderer.cpp | 2b12fa989cd7cb93b30098710dfe8f61a42ab38b | [
"MIT"
] | permissive | kevinnewkevin/BWEngine | 900a69e06827890ffa7fb3d1c5b41bb846c9d237 | 80a5d7afb6caa9c96328fa3e86d5056281e0a6aa | refs/heads/master | 2021-01-18T22:18:43.597906 | 2015-11-22T07:32:01 | 2015-11-22T07:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,660 | cpp | #include "base/component/SpriteRenderer.h"
#include "base/GameObject.h"
#include "renderer/GLProgramCache.h"
#include "renderer/Texture.h"
#include "renderer/Renderer.h"
#include "base/ResourceManager.h"
#include "utils/FileUtils.h"
SpriteRenderer::SpriteRenderer(GameObject* _gameObject/* = nullptr*/)
: Base... | [
"miyubai@gmail.com"
] | miyubai@gmail.com |
4cac83cd1dbe582b36fc05b7fa36ef0865bc68de | dc83a45a0eddf594934d0cea748123d39a958510 | /src/mmu.h | 71ddddf0d7298d180066c0ecb7efa5693b94ae4a | [] | no_license | samjijina/macsim | 957758848a666c8409130aa27e127a54aadcaf6c | 1e2f12c6aef8809d4a0eeefb6dda3d2ab77dcdc1 | refs/heads/master | 2022-08-24T23:36:43.169284 | 2020-05-21T01:40:20 | 2020-05-21T01:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,455 | h | /*
Copyright (c) <2012>, <Georgia Institute of Technology> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions... | [
"hyojong.kim@gatech.edu"
] | hyojong.kim@gatech.edu |
81acad9a3657acabcce4a6946926e34ef2a749a5 | cdf878b3ee164117b8d7024ba9c2b972e7c4e907 | /ServerStart/GameEngineBase/KDTREE.h | a7f7d659e5dcdbdece2b4436c1d8de68121bde22 | [] | no_license | woojun8/JWJ_Project | 667c4852efe7ccec33bcfaaa819cfe77c661949f | 3260c920f88baa1c1f25d4316d64c51fa9a01af3 | refs/heads/main | 2023-08-14T02:12:55.644268 | 2021-09-18T06:11:57 | 2021-09-18T06:11:57 | 407,757,752 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,711 | h | #pragma once
#include "GEMath.h"
#include <vector>
#include <algorithm>
#include <numeric> // 정수 특정한 알고리짐을 사용할수 있게 하는 확장 알고리즘
#include <exception> // 곧 알게 될겁니다.
// using KDTreeKey = float4;
template<typename KDTreeKey>
class KDTree
{
public:
// std::vector<KDNode> PoolNode = std::vector<KDNode>(10000);
private... | [
"woojun2010@naver.com"
] | woojun2010@naver.com |
a037d8b67c6837081a9d360e742a8dcc1b22a9fb | 19dcd7fbcdb01d99c9c921a8a8401bfc8d2baf97 | /App/build-Juntos-Desktop_Qt_5_3_MinGW_32bit-Debug/ui_uitestunitaire.h | ab0b8e462a53c5d451bf622b434872e7b04d4e47 | [] | no_license | workspacerg/Juntos | 696dce5f188c1cdcad028d480a8dcb741e88e857 | 58328bad8da58d21b4090efae4e76b71c04efc92 | refs/heads/master | 2021-01-18T14:06:12.239724 | 2014-07-15T23:25:21 | 2014-07-15T23:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,455 | h | /********************************************************************************
** Form generated from reading UI file 'uitestunitaire.ui'
**
** Created by: Qt User Interface Compiler version 5.3.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"rayane.rahmani@hotmail.fr"
] | rayane.rahmani@hotmail.fr |
4022ea164d425c233400e0cba7cb2a7a419556a7 | 12459d4936cb4af2618e5ef91f2ec62118c158ba | /jni/recv-jni.cpp | 705a87c08d40aaaf658b2d06bf6abd394e01655b | [
"BSD-3-Clause"
] | permissive | mwojciechowski1990/ABL | b354e48803126a44cf3c630d87560123ac5a8a29 | dc99d60cf60bae974fb30252459c74bdb2c28993 | refs/heads/master | 2020-05-17T03:10:17.274063 | 2014-06-01T11:43:59 | 2014-06-01T11:43:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | #include <string.h>
#include <jni.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
extern "C" {
JNIEXPORT jstring JNICALL
Java_com_ul_upnpbl_LightActivity_recvFromJNI
(JNIEnv *env, jobject obj, ... | [
"mwojciechowski1990@gmail.com"
] | mwojciechowski1990@gmail.com |
6a23262314777124af8988f9b34928ff9491d335 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/parameter/name.hpp | 4408d8b5a5662c9b134c4689b4259da3ebfd04d2 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | hpp | #include "thirdparty/boost_1_55_0/boost/parameter/name.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
90c69ffe39a6666f8975b22aaf7a33f132741e49 | 8380720af359c4f06c55cbe28434ea60870040aa | /main.cpp | 23891413113e9e75ab9b096092404a6d20a918d1 | [
"MIT"
] | permissive | jurplel/DataStruct | 9ba0f41d635f3a1b9e613adb10ee10e0c87abdb0 | d15eecb440f78718d27a0648b812678848d9d421 | refs/heads/master | 2023-01-23T05:16:52.807677 | 2020-12-09T18:07:15 | 2020-12-09T18:07:15 | 299,991,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include "project.h"
#include "teamoptimizer.h"
#include "datamodel.h"
#include "treemodel.h"
#include "searchtree.h"
#include <iostream>
void display_main_menu()
{
std::string message = "Select a project:\n \
[1] Team Optimizer (game dev team)\n \
[2] Data Model (usb devices)\n \
[3] Tree... | [
"jeep70cp@gmail.com"
] | jeep70cp@gmail.com |
a1bb143f3dc54aeec828dd2e43b1cee39e27aab9 | a50c2554a9c6ef68857cc8cbcb72aa694e9a9e00 | /CodeSupp/TabCtrlEx.cpp | 2fd5517cb853774daa670828fdcfd67f751d802f | [] | no_license | stratician/codewars | 7fad1907d58bebd8bb4bf799f2a59d4c125d558e | e270a3081c85c883194af3e9026023b5360e5575 | refs/heads/main | 2023-07-17T01:29:02.012632 | 2021-08-22T21:19:31 | 2021-08-22T21:19:31 | 394,363,349 | 0 | 0 | null | 2021-08-14T00:14:45 | 2021-08-09T16:25:51 | C++ | UTF-8 | C++ | false | false | 9,661 | cpp | // TabCtrlEx.cpp : implementation file
//
#include "Build.h"
#include "stdafx.h"
#include "GameApp.h"
#include "GameAppView.h"
#include "TabCtrlEx.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////////////////... | [
"brandon.phillips@gmail.com"
] | brandon.phillips@gmail.com |
2ffc06e8ff7cfac244ea440f6cfb62aeb2709da0 | 694f1063b4aefe932127e341e325395762e9cb7f | /Binary Search Tree Homework/BinarySearchTree.cpp | 4a13d47927b8aff308b3e397df6762519639aac9 | [] | no_license | canberkkeles/data_structures | 764dfefbd78a824781beb3aa3a44a630bed3e5f4 | 36a196bab65dba767365564d9f8a752cf522c44a | refs/heads/master | 2022-09-05T03:40:46.819765 | 2020-05-30T12:06:33 | 2020-05-30T12:06:33 | 268,071,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,763 | cpp | #include "BinarySearchTree.h"
#include <iostream>
/*
CONSTRUCT THE TREE
*/
template<class Object>
BinaryWordTree<Object>::BinaryWordTree(const Object & notFound):ITEM_NOT_FOUND(notFound),root(nullptr){}
/*
INTERNAL METHOD
RETURN TRANSLATION IF FOUND,
ELSE RETURN NOT_FOUND ITEM
*/
template<class Object>
const Object & ... | [
"cscanberkkeles@gmail.com"
] | cscanberkkeles@gmail.com |
0a227e0d33c8f2f5b12ae2a6498b9dcfc614f7c5 | 2f58f7f7834d6f16b0f22d77fc55042f5ede0b0f | /kglt/generic/any/utility.h | baeffa2d644fa401cdb5a6ef788e78dce3c75855 | [
"BSD-2-Clause"
] | permissive | Nuos/KGLT | 1da0c1e0a4ad49b3e2c5855bf0de8419366eb159 | b172ca304577a0a2df194757ad2ef328ddf3078d | refs/heads/master | 2021-01-12T13:28:04.918040 | 2016-09-27T20:21:52 | 2016-09-27T20:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,979 | h | #ifndef CORE_UTILITY_HPP
#define CORE_UTILITY_HPP
#include <functional>
#include <cstddef>
#include "type_traits.h"
namespace kglt {
inline namespace v1 {
namespace impl {
template <class T, T... I> struct integer_sequence {
static_assert(
::std::is_integral<T>::value,
"integer_sequence must use an integ... | [
"kazade@gmail.com"
] | kazade@gmail.com |
b29ea61ce1f3ac3ebb81ff7a88aa00962c7f4af2 | f445059e4cb75456f69b1a5a0f25ee71c8d5e70f | /src/hmi/uimount.h | 7d1f50cf99658c3e7d0feab0fc024141b42c2679 | [] | no_license | reddomon/Bilye-Goto-Telescope-Mount | c715316683f9af2a349e5d2f44a3b15764637033 | 25d54b7e0bb8731ca1ef594196c8c06046d387d2 | refs/heads/master | 2023-06-08T00:15:25.322057 | 2023-06-01T09:54:21 | 2023-06-01T09:54:21 | 146,276,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,768 | h | // Uimount class.h
#pragma once
#include "arduino.h"
#include "config.h"
#include "Wire.h"
#include "../nextion/Nextion.h"
//#include "TimeLib.h"
class UImount
{
protected:
public:
void init();
void printerHalted();
void UIstart();
void Finished();
void Started();
//datareceive secreen setters
voi... | [
"reddomon@gmail.com"
] | reddomon@gmail.com |
ea37475f7472dc1962ea16baf99f7c58159860d1 | 573a66e4f4753cc0f145de8d60340b4dd6206607 | /JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/362764/shogun-2.1.0/shogun-2.1.0/examples/undocumented/libshogun/classifier_conjugateindex.cpp | bfb51eef62fe4bb2080229e59bbeb0783fd7a5b2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | mkaouer/Code-Smells-Detection-in-JavaScript | 3919ec0d445637a7f7c5f570c724082d42248e1b | 7130351703e19347884f95ce6d6ab1fb4f5cfbff | refs/heads/master | 2023-03-09T18:04:26.971934 | 2022-03-23T22:04:28 | 2022-03-23T22:04:28 | 73,915,037 | 8 | 3 | null | 2023-02-28T23:00:07 | 2016-11-16T11:47:44 | null | UTF-8 | C++ | false | false | 995 | cpp | #include <shogun/labels/MulticlassLabels.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/multiclass/ConjugateIndex.h>
#include <shogun/base/init.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
using namespace shogun;
int main(int argc, char** argv)
{
init_shogun_with_defaults();
// cre... | [
"mmkaouer@umich.edu"
] | mmkaouer@umich.edu |
0cfe5b2318060cdbd76c6fefd35299d8eac8454a | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/Handle_WNT_ClassDefinitionError.hxx | 660f0a1739cf91a2f97a1a5eb68de39c482200c8 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | 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 _Handle_WNT_ClassDefinitionError_HeaderFile... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
c06e8606d828981b7ed07479f3bdee55089f2725 | 9a264fc1e8ea9a183107d5e5eebee79c6e1fb6c1 | /depth_localisation/src/localmap.cpp | de42d1e933a714de7ea91a4f89acdb0eef3e44f9 | [] | no_license | mfkiwl/DepthLocalisation | a6ddc7ab58674687f85a19a248a570e4b871a5e8 | 425d15e2c394103166d7002bc646a364d8744ce0 | refs/heads/master | 2023-03-19T02:39:20.701364 | 2020-05-13T10:12:39 | 2020-05-13T10:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | cpp | #include <iostream>
#include "ros/ros.h"
#include "sensor_msgs/PointCloud2.h"
#include <pcl/io/pcd_io.h>
#include <pcl_conversions/pcl_conversions.h>
#include <bits/stdc++.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
#include <pcl/console/parse.h>
#include <pcl/common/transforms.h>
#include <pcl/PC... | [
"shreyanshdarshan1@gmail.com"
] | shreyanshdarshan1@gmail.com |
c080b2e6906835a231c09fa412e12b2ff48451a0 | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/Radx/src/RadxCov2Mom/Args.cc | 71dd9d3259aeba5aa47f8da16f93aec7169cba4d | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 6,312 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
55b8fc7e6f624a73810913a3c1efecdd8d99a7f2 | 76f56e2dbb4afcc673cb5d79d90d27d1c062a81f | /OOP3200-F2020-Lesson3c/GameObject.cpp | ad6888df7c7759e5934d8b9f61677b4bf3a0cb58 | [] | no_license | MuzhdaEhsan/OOP3200-F2020-ICE6 | f83474f5cea93cf17736b81fc9f93c4be8dcbb5a | 545261a152d30449fb03336cacee9e002ac96cee | refs/heads/master | 2023-01-01T06:18:13.202908 | 2020-10-21T20:00:34 | 2020-10-21T20:00:34 | 306,064,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | /*
Name: Muzhda Ehsan
Program Name: ICE6
Date: 21-Oct-2020
*/
#include "GameObject.h"
#include <utility>
GameObject::GameObject(): m_id(0), m_name("not set"), m_position(Vector2D<float>())
{
}
GameObject::GameObject(const int id, const float x, const float y)
{
SetID(id);
SetName("not set");
SetPosition(x, y);
... | [
"muzhda.ehsan@outlook.com"
] | muzhda.ehsan@outlook.com |
518a1e8c2a88bc36795c99b4839ff347c17317dc | bcf10cabb18f3530d0f460418afb16534ea04472 | /Model.hpp | 52e9016551005368773c6906c00a745a52cc61ba | [
"MIT"
] | permissive | raven91/self_replicating_colloidal_clusters_movie | 7c0438e454dae2d649f04cf9d1f3b3334c96242b | 15bcf178cda945eec5786e7002e21a122489117f | refs/heads/master | 2023-03-19T21:44:17.128945 | 2021-03-22T16:48:49 | 2021-03-22T16:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,609 | hpp | //
// Created by Nikita Kruk on 01.03.20.
//
#ifndef SELFREPLICATINGCOLLOIDALCLUSTERSMOVIE_MODEL_HPP
#define SELFREPLICATINGCOLLOIDALCLUSTERSMOVIE_MODEL_HPP
#include "Definitions.hpp"
#include <vector>
#include <fstream>
#include <unordered_map>
#include <string>
#include <map>
const int kNumberOfPeriodicColloidSub... | [
"kruk.nikita@gmail.com"
] | kruk.nikita@gmail.com |
f0f4cca3745424de495e55a36f07a964624acaab | 03429cdeba6002028e60d12e49620678364a0599 | /Src/Library/NetConnection.h | cf1572d0a507297b928abb93c6fb2d76b9c98040 | [] | no_license | zhangf911/mir_server | d5b29a38406b9049179ccbc6e5fda629b3cd2498 | 35167d0dee453f1b31c20f66dd41ef08b7e28f4f | refs/heads/master | 2021-01-10T01:44:45.771574 | 2015-08-12T11:33:00 | 2015-08-12T11:33:00 | 36,706,465 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,590 | h | #ifndef LIBRARY_NETCONNECTION_H
#define LIBRARY_NETCONNECTION_H
#include "Type.h"
#include "NetPacket.h"
class NetServer;
//#include <memory>
//using std::shared_ptr;
#include <boost/shared_ptr.hpp>
using boost::shared_ptr;
#include <boost/asio.hpp>
#include <boost/aligned_storage.hpp>
#include <boost/system/error_... | [
"zhangf911@gmail.com"
] | zhangf911@gmail.com |
4e7e84c1d58695517f5afd8cd528a47fd59cd8ed | 5622e71e5bfb3f448bdd579cdc5779c6f112a01f | /MarioOzawa/MenuSence.cpp | bc2e4694222339bf3d1eea0fa5942eb2e6fa75a5 | [] | no_license | nionguyen/Mario-Ozawa-Game | d029c9d4f8572af508b0e3b83e3a107e52d4d82f | a121d6c63f6b26d47394b732a56716ac389e65b6 | refs/heads/master | 2021-01-06T20:45:23.883630 | 2015-01-23T10:46:38 | 2015-01-23T10:46:38 | 28,554,629 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | #include "MenuSence.h"
#include "PlaySence.h"
#include "OptionSence.h"
#include "SoundManager.h"
#include "ZoomSence.h"
#include "SelectWorldSence.h"
int MenuSence::_curSelect = 0;
MenuSence::MenuSence(Game* game, int timeAni)
:GameSence(game, timeAni)
{
//_curSelect = 0;
}
MenuSence::~MenuSence(void)
{
}
void Me... | [
"huynguyen.uit@gmail.com"
] | huynguyen.uit@gmail.com |
96ce0e90b1ad593120c5cbe6c9b61ae7b1fe525e | 4d6bf26f4d9a43082f87e177c1a2ac6c9662c288 | /Chapter 20/Programming Challenge/6/main.cpp | 056f4754a203f13971b4cf844cd70948d7ac4109 | [] | no_license | Miao4382/Starting-Out-with-Cplusplus | 08d13d75fdb741be59a398b76275c5ee394840ca | dd3a1eadcf403ae57a68183987fc24fbfac0517f | refs/heads/master | 2020-05-24T23:22:49.978761 | 2019-05-20T18:40:01 | 2019-05-20T18:40:01 | 187,513,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include <iostream>
#include "binary_search_tree_template.h"
int main()
{
BinarySearchTree<int> tre;
tre.Add(12);
tre.Add(7);
tre.Add(9);
tre.Add(10);
tre.Add(22);
tre.Add(24);
tre.Add(30);
tre.Add(18);
tre.Add(3);
tre.Add(14);
tre.Add(20);
BinarySearchTree<int> tre2;
tre2 = tre;
... | [
"33183267+Miao4382@users.noreply.github.com"
] | 33183267+Miao4382@users.noreply.github.com |
1a4e68ece77487157d26ec537c6c7789f38d68e3 | 0a70aab526d092a1825885aaeae0071703ba878f | /facebapp/src/main.cpp | 1653fa750254d07dde547c0476171781a41639db | [] | no_license | o-micron/facebapp | 6b6174c95428003a5cdf2956af7a5ca3372a94a9 | 04e3d7b927c4078dc744ddc1bb453b44af0d5345 | refs/heads/master | 2023-04-30T10:03:17.899876 | 2021-05-13T01:39:46 | 2021-05-13T01:39:46 | 366,897,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,318 | cpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level
// directory of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2018-2019 Intel Corporation
#include <opencv2/opencv_modules.hpp>
#if defined(HAVE_OPENCV_GAPI)
#include... | [
"omarsheriffathy@hotmail.com"
] | omarsheriffathy@hotmail.com |
ad84c7719064daf99cf088cb43985d5ae93797e4 | 8567438779e6af0754620a25d379c348e4cd5a5d | /printing/pdf_render_settings.h | 545def02da780bf21da2cbe61cea0dccc45ad0c0 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 1,396 | h | // Copyright (c) 2011 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 PRINTING_PDF_RENDER_SETTINGS_H_
#define PRINTING_PDF_RENDER_SETTINGS_H_
#include <stdint.h>
#include "ipc/ipc_message_macros.h"
#include "ip... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
71cae033a829aac34a26d3d17dc85e0b87c6dfd2 | f6536d397dd72bf390dae3fdf3816b95fd9eb5af | /Sandbox/src/SandboxApp.cpp | 866ad6b62d2816ec34dbab7a8d5b907677dfc746 | [
"Apache-2.0"
] | permissive | 13269351120/Enginesth | 34ac61a1fad6edef2551ceae06f2daa477e2c6f3 | 2c22b15ce4e033cd66b767fad94327e57708327d | refs/heads/master | 2020-04-03T09:22:36.046656 | 2018-11-17T04:07:44 | 2018-11-17T04:07:44 | 155,162,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include <Enginesth.h>
class Sandbox : public Enginesth::Application
{
public :
Sandbox()
{
}
~Sandbox()
{
}
};
Enginesth::Application* Enginesth::CreateApplication()
{
return new Sandbox();
} | [
"422619603@qq.com"
] | 422619603@qq.com |
08bca19c1de724d2c963cefa09770ea7856c672c | 5870bb19b53c61508c2e57499ab6f10252200dee | /designpatterns/solid/main0.cpp | ef8ca4c8498bc14b0197b4da77cea3649df55c47 | [] | no_license | blockspacer/test-cpp | 40371c04864fd632e78e9e4da2dea6c80b307d2f | d70e8f77d1d8129266afd7e9a2c4c4c051068af1 | refs/heads/master | 2020-07-05T20:02:09.661427 | 2019-08-02T07:50:39 | 2019-08-02T07:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <fstream>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace boost;
struct Journal {
string title;
vector<string> entries;
Journal(string const& title) : title(title) {}
void add_entry(string const... | [
"vdkhristenko1991@gmail.com"
] | vdkhristenko1991@gmail.com |
57d7e90c174c511822d0236a646126d5155d4151 | b3c6a4233bc9c1260b54272e4b39ec10b3d3f12e | /test/sort/quicksort/quicksort_suite.cpp | aa872b14d916358d392f98f6c0f4f7b224ec5f02 | [
"MIT"
] | permissive | SergeyIvanov87/AlgorithmExersizes | a8a42925287bf4202033520f6ba5871372c1fd20 | 25929d518c5cd603ba0bb27afed7f6656ec5925d | refs/heads/main | 2023-07-27T00:22:58.851394 | 2021-06-20T20:08:57 | 2021-06-20T20:08:57 | 352,424,493 | 0 | 0 | MIT | 2021-06-20T20:08:57 | 2021-03-28T19:52:23 | C++ | UTF-8 | C++ | false | false | 2,761 | cpp | #include <iostream>
#include <gtest/gtest.h>
#include "utils/tracer.hpp"
#include "sort/quicksort/quicksort.hpp"
namespace sort
{
using array_t = std::vector<int>;
using p_index_t = size_t;
using r_index_t = size_t;
using q_index = size_t;
using expected_tuple_t = std::tuple<q_index, array_t>;
using PartitionTest... | [
"noreply@github.com"
] | noreply@github.com |
196901de321ed58e93f491aac56eeae193ec127c | 77c953c68485c075f706b45c52bbd80c759b00b1 | /C++/Algorithms/final_001851144/q5/main.cpp | 9874aef3ec2f59d35c7820c13d608e7b41d40964 | [] | no_license | jerbriven/Coding-Projects | 736fe307fd2bee31d4dfc23bc8c9a6280ca8a06a | 1a82f6946c1fcc1d6606aeb00d827944d3712b45 | refs/heads/master | 2021-08-16T01:44:47.382016 | 2020-10-07T20:29:01 | 2020-10-07T20:29:01 | 227,228,014 | 0 | 0 | null | 2019-12-10T22:37:03 | 2019-12-10T22:30:33 | null | UTF-8 | C++ | false | false | 773 | cpp | #include<iostream>
#include "AdjacencyMatrix.h"
using namespace std;
int main() {
AdjacencyMatrix<int> simpleGraph;
// Create graph
simpleGraph.add(0, 1, 2);
simpleGraph.add(0, 2, 4);
simpleGraph.add(0, 3, 6);
simpleGraph.add(1, 2, 5);
simpleGraph.add(1, 4, 3);
simpleGraph.add(2, 3, 2... | [
"jeremyvenne@yahoo.com"
] | jeremyvenne@yahoo.com |
783a406406a6a9b9c631369daf62b52a59aae27d | 8ac1b220c3d534b8a1b5f10449c535cfefac9160 | /src/cpotrf.cpp | 41325b683ad227074a5a68fc568ed09bafbec3df | [] | no_license | soulsheng/magma | aa83eea749c5108c607f4710f2905a8a1deb235e | 465fd5817498319db4cbce52cded86fd49b65274 | refs/heads/master | 2020-12-01T13:05:11.511847 | 2013-09-04T00:18:03 | 2013-09-04T00:18:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,418 | cpp | /*
-- MAGMA (version 1.4.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
August 2013
@author Stan Tomov
@generated c Tue Aug 13 16:44:07 2013
*/
#include "common_magma.h"
// === Define what BLAS to use ==========================... | [
"maxhutch@gmail.com"
] | maxhutch@gmail.com |
8da6ca1d74f070204d2ba6c51bb0a1910f115ac6 | a421a6bbe1c46e63635186f45b8f0432f9e2f15e | /acmicpc/16235.cpp | 1a540a2aa0ccf5566a86109c7f1d796e8e735875 | [] | no_license | KimSeonBin/algo_practice | 4f5e7b7948b9385c6a9fa8123ba0302ec9aeb7f1 | 8279e0654ce1db50f047d8a3e51e4505491ed580 | refs/heads/master | 2021-07-19T15:25:55.190087 | 2018-11-19T13:44:36 | 2018-11-19T13:44:36 | 95,439,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | cpp | #include <cstdio>
#include <deque>
#include <vector>
#include <algorithm>
using namespace std;
typedef struct tree{
int x, y, age;
bool operator<(tree a){
if(age == a.age){
if(y == a.y)
return x < a.x;
return y < a.y;
}
return age > a.age;
}
};
int ground[11][11] = {0};
int bonu... | [
"zzz898989@ajou.ac.kr"
] | zzz898989@ajou.ac.kr |
d9af073707de25788dd93ebbfc2ad4a9dc364601 | 6cda82951a8bda992fa7d5fc5140b2cd426d91e5 | /cg1_ex1/context.cpp | be6815f6d88ae0dc989bce850d116a7402fb3106 | [] | no_license | ptrv/tu_cg1 | 73448f07812e0e2f0a3dbf26ab39cafced675df0 | bbd0df80f51257dc2ba58d5c584d37bed0d20a31 | refs/heads/master | 2021-01-22T19:22:26.579150 | 2012-11-07T23:22:34 | 2012-11-07T23:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,484 | cpp | /* ----------------------------------------------------------------
name: context.cpp
purpose: GL context declarations and prototypes of GLUT callbacks
version: SKELETON CODE
TODO: menu, keyPressed, idle(optional)
author: katrin lang
computer graphics
... | [
"mail@petervasil.net"
] | mail@petervasil.net |
f6d24b295076ce7b0c1705d5cadb926d72878b55 | f3f0ee4c2cb3d9cfd23c48a40f0fc96e51f8ed5c | /Public/ComManager/Entity/IEntityID.h | 649b5602b7dbc8e1cc1e98e374fc8b1f5eda0a0c | [] | no_license | cr19891215/VR-SV | 88b959ce55f68b90321ca264d4a36dd236fd2331 | b34cdf4fac6695ce98d06ef74dfcdff2468bd12c | refs/heads/master | 2021-12-29T09:49:40.612250 | 2017-04-06T10:01:49 | 2017-04-06T10:01:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 847 | h | /************************************************************************/
/* 作者: LJ */
/* 用途: 实体ID接口 */
/* 时间: 2015-12-01 */
/* 修改时间: ... | [
"1405590994@qq.com"
] | 1405590994@qq.com |
aad2a76eec32e4b3418102e99369d43dc6ad1fe8 | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/xtp/Samples/Utilities/CommandBarsDesigner/CommandBarsDesigner.h | f247abdbe3fb567c2c4cfec515a502904c2fb018 | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,626 | h | // CommandBarsDesigner.h : main header file for the COMMANDBARSDESIGNER application
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY M... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
9968d6c244b95e8519dfa900085ca88135afdc92 | e7d7377b40fc431ef2cf8dfa259a611f6acc2c67 | /SampleDump/Cpp/SDK/BP_MaleEyebrow01_classes.h | 8c27d12a383c3d16863e68c80241b2d52de31b3f | [] | no_license | liner0211/uSDK_Generator | ac90211e005c5f744e4f718cd5c8118aab3f8a18 | 9ef122944349d2bad7c0abe5b183534f5b189bd7 | refs/heads/main | 2023-09-02T16:37:22.932365 | 2021-10-31T17:38:03 | 2021-10-31T17:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | #pragma once
// Name: Mordhau, Version: Patch23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------... | [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
40f881404a1058df4c4aa3b990488b81a21380a2 | 8fbbbb515fefb94a0b4507ad7254146d7e9ce5d6 | /src/app/FileSearchDialogItemWidgetQt.cpp | 01a3eddbdcc87860904f6d77bf933b05c25f3cd7 | [] | no_license | fapablazacl/XenoideQt5 | e2903909bd06c6423bb28fbce504204382c69875 | 9c136ba1a892c553ed1cf2b49cf9df2071f98173 | refs/heads/master | 2023-07-17T15:44:24.532918 | 2021-08-28T21:10:21 | 2021-08-28T21:10:21 | 400,897,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp |
#include <Xenoide/Gui/Qt5/FileSearchDialogItemWidgetQt.hpp>
#include <QLabel>
#include <QHBoxLayout>
namespace Xenoide {
FileSearchDialogItemWidgetQt::FileSearchDialogItemWidgetQt(QWidget *parent, const QString &fileTitle, const QString &fileFolder, const QString &filePath) : QWidget(parent) {
auto fileT... | [
"ing.apablaza@gmail.com"
] | ing.apablaza@gmail.com |
6961ff47642a72761ab0686a963b43fd9cb4eb3c | bd0492bbe69985b39cd55c625c5646142bc99577 | /vector_digit.cpp | 6c80f78ffde6fb6db543131b8de9eedf43da15b6 | [] | no_license | wafemand/big_integer_optimized | d33966e0f70434fc0d3932f0c1349732cd90851a | d57e664e539e6834cb5b7f2fbb023554f3f840f5 | refs/heads/master | 2021-06-11T22:41:15.300554 | 2019-09-09T18:26:59 | 2019-09-09T18:26:59 | 135,904,911 | 0 | 1 | null | 2018-06-16T22:06:45 | 2018-06-03T13:07:23 | C++ | UTF-8 | C++ | false | false | 2,885 | cpp | //
// Created by andrey on 25.05.18.
//
#include <algorithm>
#include <cassert>
#include <iostream>
#include "vector_digit.h"
typedef uint64_t digit;
size_t next_pow_2(size_t x) {
while ((x & (x - 1)) != 0) {
x &= (x - 1);
}
return x * 2;
}
void vector_digit::move_memory(size_t new_capacity) {... | [
"andrey150399@mail.ru"
] | andrey150399@mail.ru |
acb15afa783705e1197bb6e21c580d4d2aed8c9a | 2eb3b66b421a1f4a18bcb72b69023a3166273ca1 | /HackerRank/infinitum-jul14/ajob-subsequence/main.cc | 56b1cae581534b477e47a7bafdbc3ebcea3bf35c | [] | no_license | johnathan79717/competitive-programming | e1d62016e8b25d8bcb3d003bba6b1d4dc858a62f | 3c8471b7ebb516147705bbbc4316a511f0fe4dc0 | refs/heads/master | 2022-05-07T20:34:21.959511 | 2022-03-31T15:20:28 | 2022-03-31T15:20:28 | 55,674,796 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,257 | cc | #include <string>
#include <vector>
#include <climits>
#include <cstring>
#include <map>
#include <queue>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <stack>
#include <deque>
#include <list>
#include <unordered_map>
#include <unordered_set>
#include <cassert>
using namespace std... | [
"johnathan79717@gmail.com"
] | johnathan79717@gmail.com |
c3817a50df182942831d15cfa17671531ac24c44 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /spoj/heapulm.cpp | 95ca3e92ea1362fe3c7d5e3d250e9503ac419492 | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,144 | cpp | #include<bits/stdc++.h>
#define FOR(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define RFOR(i,a,b) for(long long i = (long long)(a); i >= (long long)(b); i--)
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN2(a,b) (a)<(b)?(a):(b)
using n... | [
"srv.twry@gmail.com"
] | srv.twry@gmail.com |
741300fc4c598c4997b48863dd8a9bf72229bae1 | af9b24ad17b616094c449f30e608d8e3b37d17f1 | /program/includes/reqestAndResponseUtils.hpp | 9721d6512f4d8a8d9113ab79b092e5800353f9d1 | [] | no_license | LidiaGr/Webserver | 10ff94d2bc28e788f00ef518804681b97c81aab3 | dbea3439ac93fd154b3e7e4218e673c8606013c4 | refs/heads/main | 2023-05-06T16:50:50.169789 | 2021-05-30T11:10:10 | 2021-05-30T11:10:10 | 347,743,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | hpp | //
// reqestAndResponseUtils.hpp
// webserv
//
// Created by Temple Tarsha on 3/29/21.
// Copyright © 2021 Temple Tarsha. All rights reserved.
//
#ifndef reqestAndResponseUtils_hpp
#define reqestAndResponseUtils_hpp
#include "main.hpp"
std::string createBasicResponseHeaders();
std::string createAllowMethodsStr... | [
"lidia.ls16@gmail.com"
] | lidia.ls16@gmail.com |
9066bf061dfbca652863a6f282f5e4731d488b00 | cb05df7f89e957de7c7e48f53499c5aa7c225b9a | /Simulation/src/input/EventInput.cpp | 1bb99fd1be3e2397721961792cd06c04c770f511 | [
"Apache-2.0"
] | permissive | fg-netzwerksicherheit/EvolutionaryNetworkOptimizer | fce16f8e66e977c67377d388d139e702695ccc02 | fdca004ba33a0d891f7d82f32999ec7d07a041f9 | refs/heads/master | 2021-01-01T18:20:45.005595 | 2017-07-26T09:34:44 | 2017-07-26T09:34:44 | 98,313,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | /*
* EventInput.cpp
*
* Created on: Apr 6, 2017
* Author: Quang Pham, Kiet Vo
*/
#include "EventInput.h"
#include "../components/Node.h"
#include "../simulation/events/TcpAppEvent.h"
#include "../simulation/events/UdpAppEvent.h"
#include "../simulation/events/UdpTestEvent.h"
#include "../simulation/Simulati... | [
"mueller-bady@fb2.fra-uas.de"
] | mueller-bady@fb2.fra-uas.de |
35401c6095262235ca8f526e26272427595ea73a | f0ea407fe6d477f4dff501a986715fac93b212d2 | /mobileDeviceConfig/src/main.cpp | 703a9b8416f3bf71be54e15fdc997310a8f3d9a5 | [] | no_license | Breno0809/Application | 8909ea08e4f86e591766598b95cdb8795cc52eeb | cc7c267e24fbf6a31aa35bd0c18447ac6f02ffa1 | refs/heads/main | 2023-08-21T05:38:54.822542 | 2021-10-14T16:46:44 | 2021-10-14T16:46:44 | 383,177,709 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include <Arduino.h>
#include <Wire.h>
// #include "MAX30100_PulseOximeter.h"
#define LED_BUILTIN 2
#define reportingPeriodMs 1000
// PulseOximeter pox;
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
// digitalWrite(LED_BUILTIN, LOW);
}
void loop()
{
digitalWrite(LED_BUILTIN, HIGH);
delay(2000);
digitalWrite... | [
"bbreno08@gmail.com"
] | bbreno08@gmail.com |
0ae94abd3a1b6e836f7b23abd8991b504ab5a0ee | 489eee20c8e036d4ae2b09c29d3d0f56537f2785 | /BackJoon's Problem/상범빌딩.cpp | 32d7f2ca929e134ce635883b7efa84025aa6c958 | [] | no_license | JoHoYoung/Algorithm | d7220089d2153f82d6c90716f278c8c2af5142af | 315d0c0a8d1b14c8fe49a8e8e7807e6f4a30620f | refs/heads/master | 2021-06-04T15:19:23.347558 | 2020-05-01T09:44:11 | 2020-05-01T09:44:11 | 134,406,811 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 1,945 | cpp | #include<iostream>
#include<cstring>
#include<vector>
#include<set>
#include<algorithm>
#include<cmath>
#include<queue>
#define MAXN 5000001
using namespace std;
//using P = pair<int, int>;
typedef struct P {
int k, i, j, depth;
};
P S, E;
int L, R, C;
char board[31][31][31];
bool visited[31][31][31];
// 북 동 남 서 ... | [
"whghdud17@naver.com"
] | whghdud17@naver.com |
651c2e82c7b99ef0a23c7d5e14ae5d6d306097aa | 1d4293fb707c97e7f9f9bb5ca033da7db276f9de | /LE1/SDK_HEADERS/SFXOnlineFoundation_f_structs.h | b61c76a12874fb736f493cf481e7314d1de8e001 | [] | no_license | d00telemental/LExSDK | 37f0d502617e475fbf64c248626364a59d171950 | ee2294127d79631f0c1581e1fad3244c3ac20537 | refs/heads/main | 2023-08-18T15:41:45.495754 | 2021-09-12T19:30:54 | 2021-09-12T19:30:54 | 384,050,207 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 318,118 | h | /*
#############################################################################################
# Mass Effect 1 (Legendary Edition) (2.0.0.48602) SDK
# Generated with TheFeckless UE3 SDK Generator v1.4_Beta-Rev.53-MELE
# ========================================================================================= #
# File... | [
"4rterius@gmail.com"
] | 4rterius@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.