blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30ef68d4be7387083d1dc1f141379145db42a532 | 6ccaee717224338ba1889619a4c73454785588b5 | /GFG Random Problems/Foldable Binary Tree.cpp | b92f4be8e596f04e9c8c411752634037d62b3b44 | [] | no_license | nikhil-seth/cp-log | 7dc69b15d79603637976018f8269d8ed11adb08a | faf123aa41096b19303ecaff00fbc2974491c32f | refs/heads/master | 2021-06-22T02:57:05.031734 | 2021-01-04T14:26:11 | 2021-01-04T14:26:11 | 143,634,576 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | // https://practice.geeksforgeeks.org/problems/foldable-binary-tree/1
// Foldable Binary Tree
bool fn(node *r1,node *r2){
if(!r1 && !r2)
return 1;
if(!r1 || !r2)
return 0;
if(r1->left && !r2->right)
return 0;
if(r1->right && !r2->left)
return 0;
return fn(r1->left,r2... | [
"rootedguy24@gmail.com"
] | rootedguy24@gmail.com |
e1492299cbaed00e13325d3c3b2ac4fddcc33c5d | 0d37a489416e75ff013ebec2fbc2fdad80a521ac | /lib-rdm/src/rdmdevicecontroller.cpp | 8c2cb9b47dfab58b147b0b81bf42a3a33d451b5c | [] | no_license | JohnSHoover/rpidmx512 | fc26f7ee9ead5c1a9cb4dbbac5b4963744d3353d | ed1416b693d28030ba9ae45a25adf0f280bfc70b | refs/heads/master | 2022-04-10T17:31:36.334680 | 2020-04-10T16:48:45 | 2020-04-10T16:48:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,978 | cpp | /**
* @file rdmdevicecontroller.cpp
*
*/
/* Copyright (C) 2017-2019 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction... | [
"Arjan.van.Vught@gmail.com"
] | Arjan.van.Vught@gmail.com |
9c5a3c5de2737603ad4f1535e4d201a8046e2c9e | 0b77403b8605b49fe26d3888c60b70f509b91bb7 | /cad/elar_operator.cpp | 9dab29a664fcd7b1d8da8a1c3f7d0cc61d1ea161 | [] | no_license | wb-finalking/sweeping_based_on_Brep | 747376cbeb6a931b705f3968d2ecf9648aa012d4 | c12e85b277ba05f643ef7f780a5f91d3ebd9779e | refs/heads/master | 2021-08-24T10:58:04.139730 | 2017-12-09T11:12:19 | 2017-12-09T11:12:19 | 110,979,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,156 | cpp | #include "elar_operator.h"
#include <cstdio>
Solid *ElarOperator::mvfs(double point[3], Vertex *&vertex)
{
Solid *solid = new Solid();
Face *face = new Face();
Loop *out_lp = new Loop();
vertex = new Vertex(point[0], point[1], point[2]);
vertex->id = solid->vnum;
out_lp->id = solid->lnum;
face->id = solid->fnu... | [
"wbyx7071009@163.com"
] | wbyx7071009@163.com |
6f73a85619583c8550dfe7251e4d14d0a55be431 | 786de89be635eb21295070a6a3452f3a7fe6712c | /psddl_psana/tags/V00-03-00/src/princeton.ddl.cpp | e319a983a16e8a0f276e58caaf9c08c154e700fd | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp |
// *** Do not edit this file, it is auto-generated ***
#include <cstddef>
#include "psddl_psana/princeton.ddl.h"
namespace Psana {
namespace Princeton {
ConfigV1::~ConfigV1() {}
ConfigV2::~ConfigV2() {}
FrameV1::~FrameV1() {}
} // namespace Princeton
} // namespace Psana
| [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
98e543e31f0d4e2529876231c8d724aa9908425d | 70b3436f940e9a28e8119f16ba121ac8a6352145 | /codeforces/archive/003/a.cpp | 14825b62b260be224fdff75d094571a76110866d | [] | no_license | Erumaru/ACM | 59f85d4861e3055da3a612065a4051beafed8798 | 8a61e387a595bb50d34c7ffb78f597e6a413aefe | refs/heads/master | 2021-04-26T16:20:13.555674 | 2016-11-22T18:12:05 | 2016-11-22T18:12:05 | 70,470,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp | #pragma comment(linker, "/STACK:64000000")
#include <iostream>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include <ctime>
#include <sstream>
#include <algorithm>
#include <functional>
#include <numeric>
#include <string>
#include <vector>
#include <queue>
#include <stac... | [
"toremuratuly.abzal@gmail.com"
] | toremuratuly.abzal@gmail.com |
6f23cfe4c5f012dfd215e8027eaa536b1727d920 | 969628b6cfc2f726fcbee28f19f47bcddb5cabfd | /走迷宫/tool.cpp | cfad40af869613eb6a563bc8a9e4b613a132a2b2 | [] | no_license | MallocGad/little-game | 94c04427ed7b179e0583c2c430d759052f05c8d7 | 4bb3a9be19a9f4f8b3095f10adb96ab94b4ad917 | refs/heads/master | 2021-01-15T12:59:21.642390 | 2017-08-09T12:55:04 | 2017-08-09T12:55:04 | 99,663,089 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,946 | cpp | /*******************************************
所需函数的实现
********************************************/
#include"tool.h"
Person::Person()
{
_edirection = UP;
_rPos = p_rPos = { 7,2 };
}
void Person::direction(char a[][11])
{
switch (_edirection)
{
case UP:
if (a[_rPos.x][_rPos.y + 1] == '1')
{
if (a[_rPos.x - 1]... | [
"1165318097@qq.com"
] | 1165318097@qq.com |
5bfbbf7e528dc68db230ac4df9b570b1f27d9a2d | b8194fee4ddf498b2c1bd302ec4ba9466746250d | /build/Android/Debug/app/src/main/include/Fuse.SystemFont.Weight.h | ab880743dd7b10d6cc58bcdb21b432d2cb5ed2dc | [] | no_license | color0e/Fabric_Fuse_Project | e49e7371c9579d80c9ec96c1f2d3a90de7b52149 | 9b20a0347e5249315cf7af587e04234ec611c6be | refs/heads/master | 2020-03-30T16:49:34.363764 | 2018-10-03T16:26:28 | 2018-10-03T16:26:28 | 151,428,896 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | // This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Common/1.9.0/SystemFont.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
// public enum SystemFont.Weight :38
uEnumType* SystemFont__Weight_typeof();
... | [
"limjangsoon@naver.com"
] | limjangsoon@naver.com |
3c7cdeb936f4fd2c44ff3ff0b2eba29529681160 | 24316e8888a959dec8a4af3e98e86e96a454f025 | /include/threadedcanvas.h | b3d46c17be727a28c686d14149f99050c2c57c30 | [
"Apache-2.0"
] | permissive | aerccu/LedDisplay | a1b33c271e3a89ae61f2e68ca9641b92d8786dd8 | 2152e8d56b51123cff1cfc657a887d51a05c3a70 | refs/heads/master | 2020-06-06T19:45:26.260394 | 2020-04-26T14:37:41 | 2020-04-26T14:37:41 | 192,838,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | h | /*
* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: 4; -*-
* Author : aerccu
* Created : 16.08.19
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | [
"aerccu@gmail.com"
] | aerccu@gmail.com |
895e8f900ab69053fc48faaff37e9e79041f973d | 0160c375f0f49778fa2d58cf14595d581dbfc308 | /test/test.utils.cpp | ae8d8b9802dee1eb8fb0e180dfe4a03c218e49e6 | [
"MIT"
] | permissive | chensoft/libfs | 4d81c845b9264244ac5c12043ccc0c666de5a130 | 3288a865ffa71cfc197ea0fb54c042fa2c9546a6 | refs/heads/master | 2020-03-25T04:46:08.588642 | 2018-12-27T11:15:54 | 2018-12-27T11:15:54 | 143,412,033 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | /**
* Created by Jian Chen
* @since 2018.09.03
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#include "fs/fs.hpp"
#include "catch.hpp"
TEST_CASE("fs.utils")
{
CHECK(std::string(u8"\u9648\u5251") == "\xE9\x99\x88\xE5\x89\x91");
CHECK(fs::widen(u8"\u9648\u5251") == L"\u9648\u525... | [
"admin@chensoft.com"
] | admin@chensoft.com |
3e9172cb8b65853efe9dd6032616749442a61044 | 09c5c4baed3d26701e866be100e4e52d9a34b856 | /StudyAlone/StudyAlone/SupervisorCCTV.h | 40b0907e07a0d00705931f64f298a4f8aee493a8 | [] | no_license | sangdo913/Algorithms | 556ac5fc789e35df2f65601e4439caca967edd7b | ee11265895d8ce3314f009df38166defc4b946c7 | refs/heads/master | 2022-09-11T12:00:58.615980 | 2022-07-31T11:11:04 | 2022-07-31T11:11:04 | 116,484,870 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,789 | h | #pragma once
#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
struct CCTVInfo
{
typedef struct Cod { int r, c; } cod;
typedef enum {UP = 0b1, RIGHT = 0b0010, DOWN = 0b0100, LEFT = 0b1000} DIR;
typedef enum {floor = 0, wall = 6, sensing = 7, final = -1} OBSTACLE;
typedef enum {U = 0, R, D... | [
"sangdo913@naver.com"
] | sangdo913@naver.com |
ca56c2a64be6538942e31ba2db189f2405cec3ca | e38fe12f1573c98ada37520292b64d2c454cd17c | /SlowakCodeTests/AIWonder.cpp | 990b2ec4e80fff576e17ff67fb2aeb0c1bcfd941 | [] | no_license | marzix/7Wonders | 08d85ab7687f74e528138a6fea092584336e1f26 | 6a8665f1d327b9c34c8e1dc156f50066bce9b219 | refs/heads/master | 2020-04-06T07:06:37.443853 | 2018-06-29T14:55:56 | 2018-06-29T14:55:56 | 65,573,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,038 | cpp | #include "AIWonder.h"
#include <ios>
#include <iostream>
#include <fstream>
#include <iomanip>
using std::cout;
using std::cerr;
using std::endl;
using std::setw;
using std::left;
using std::right;
using std::showpos;
using std::noshowpos;
#define netFileName "AIWonder.net"
#define trainingDataFile "AIWonder.data"
#pr... | [
"rafal.potoczek@gmail.com"
] | rafal.potoczek@gmail.com |
601463a3f4a936ca6f5ed9a1a33f787917361316 | 3543b7f88aea464dc4b26148196e53c46b70d38e | /cgg06_Normal_Mapping_and_OBJ/Renderer3DRaycasting.h | a9ae288fd492e46bd234a34f2ebb770a2ff73672 | [] | no_license | vanish87/CGG | 77e76450062edd8743beda2bb80590bd5a172738 | b1f6f6d924c7bf08af078572f78a98fcad782f20 | refs/heads/master | 2020-09-04T21:31:46.534548 | 2015-09-13T23:50:12 | 2015-09-13T23:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef RENDERER3DRAYCASTING_H_
#define RENDERER3DRAYCASTING_H_
#include "Renderer3D.h"
class Color;
class Ray;
class Renderer3DRaycasting : public Renderer3D
{
private:
Color raycasting(Ray& ray, double* dist);
Renderer3DRaycasting(const Renderer3DRaycasting& src);
public:
Renderer3DRaycasting();
Renderer3DRay... | [
"rumpf@student.tugraz.at"
] | rumpf@student.tugraz.at |
06590f44c0accf67cb35df7410e6c29f278da85a | d6b48d0260beee183aa97d051b80373475a7e7c0 | /build-SLStudio-Desktop-Debug/moc_PoseFilter.cpp | bfcc265293bfa80994a0273254b72d25a87f0117 | [] | no_license | hehongyu1995/slstudio | c624f5fcae94f200560ec59137857391369a4904 | 2d85bec24382e609504030463001d16bd4aa1f5d | refs/heads/master | 2020-12-02T22:47:14.502981 | 2017-07-14T05:23:34 | 2017-07-14T05:23:34 | 96,179,511 | 0 | 0 | null | 2017-07-04T05:43:28 | 2017-07-04T05:43:28 | null | UTF-8 | C++ | false | false | 4,467 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'PoseFilter.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"hehongyu1995@github.com"
] | hehongyu1995@github.com |
073e10196e543065c089b2527c2c23cf2370900e | 6cc10a9754ef04f5fa30bee1681ebe044312a881 | /includes/InputSource.hpp | b16feb9db8f44e36ba1fb21fd355c3358935a31d | [] | no_license | Adubedat/AbstractVM | 3955a5bad63b960266ba81b37709291958dbf07e | 7f04a7c422d62e12bfe7bf2d40b744f84bd8cbc7 | refs/heads/master | 2021-01-25T14:33:47.314535 | 2018-04-23T17:59:00 | 2018-04-23T17:59:00 | 123,711,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* InputSource.hpp :+: :+: :+: ... | [
"arthur.dubedat@gmail.com"
] | arthur.dubedat@gmail.com |
6818879aa7b2e099e80b0370a1ba9aa7219e512b | 1da3359f98a505276df2592ff995687ad7d29064 | /104/solution.cpp | 1e4bf24d8e59509ef07e2f9f26de5b70ebe96bad | [] | no_license | rfliu6/leetcode | cbc485c5a5e9222285774c929f018995bc7b9fae | b1a689e05653911ddfd9cc47a4aaaf543c13cabb | refs/heads/master | 2021-01-20T14:48:28.358582 | 2017-03-10T09:34:42 | 2017-03-10T09:34:42 | 82,775,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | class Solution {
public:
int maxDepth(TreeNode* root) {
if(root == NULL)
return 0;
else
return max(maxDepth(root->left), maxDepth(root->right))+1;
}
};
| [
"noreply@github.com"
] | rfliu6.noreply@github.com |
f45010a6e5b008d3fe2513dd36a06195dc0147f2 | b5b4d7b9afe4405d7c20c65b22a17a4201aa3765 | /src/Magnum/SceneGraph/MatrixTransformation3D.hpp | 916b72733eefcc66f2d781884bfaa718e0b137f4 | [
"MIT"
] | permissive | guangbinl/magnum | bfb8fbd949261092d0f9b3645ed2478a92544e98 | a5d58aaab74f6ecb5d6678055b280b831e045e59 | refs/heads/master | 2023-02-18T02:10:51.396888 | 2021-01-10T11:24:25 | 2021-01-10T11:24:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | hpp | #ifndef Magnum_SceneGraph_MatrixTransformation3D_hpp
#define Magnum_SceneGraph_MatrixTransformation3D_hpp
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of c... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
aef8427d73ac89fbd587419700f2dcee76c41630 | f6737c532718980a62d5d19753be9b1e94f908c1 | /boost/asynchronous/scheduler/stealing_multiqueue_threadpool_scheduler.hpp | b285f73e86866ce42ae09cf2f13504f0641444d8 | [] | no_license | Shevchenko-Alexander/asynchronous | 8096228eda9b1e6455edcda746c91722f16973e9 | 1f0acf7bcd628d3ad0db50d8b921d5494f43f8a1 | refs/heads/master | 2020-04-03T11:41:37.695317 | 2018-10-29T15:06:26 | 2018-10-29T15:06:26 | 155,228,999 | 0 | 0 | null | 2018-10-29T14:47:59 | 2018-10-29T14:47:57 | null | UTF-8 | C++ | false | false | 16,250 | hpp | // Boost.Asynchronous library
// Copyright (C) Christophe Henry 2013
//
// Use, modification and distribution is subject to the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org
#i... | [
"christophe.j.henry@googlemail.com"
] | christophe.j.henry@googlemail.com |
a078be2d0024efc7b378e3a6a1508818642413b4 | 020aa89d2205271caa1023aeba139539f9a621a3 | /list/seqList.h | 2b73a2fd0200e8d230c1811dc752b99ddac2de14 | [] | no_license | pengzi2017/Data-Structure | 39344f7d0bca9d73be438e6a9aae906f3a661a13 | 1c135b416ddb4e43219cbee39babdc46c232e00e | refs/heads/master | 2021-01-22T21:21:51.644461 | 2017-09-13T09:09:38 | 2017-09-13T09:09:38 | 85,414,711 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,583 | h | //顺序表
#ifndef SEQLIST_H
#define SEQLIST_H
#include"list.h"
#include<iostream>
using namespace std;
const int defaultSize = 100;
template<class T>
class SeqList:public List<T>
{
public:
SeqList(int sz=defaultSize);
SeqList(SeqList<T>&L);
~SeqList() { delete[] data; };
int Size()const {return size;};//表的最大体积
void re... | [
"15804052717@163.com"
] | 15804052717@163.com |
527bd8c247ab6e21fae107748a47e302d78f7cec | a594b8ad0d1efc7edd752a95b67b87d1aadae2cd | /src/conventions/x86MsFastcall.cpp | dbdc08d3c1ce079cb8489e50ce14b16948e62464 | [] | no_license | CookStar/DynamicHooks | 2d4cf86826923f0800e0311cc926b712d6e5eb2e | b7cb7ce02e0eb3d2db9d52c08a6b8b093c684347 | refs/heads/master | 2023-03-02T13:53:03.622213 | 2020-10-17T16:37:23 | 2020-10-17T16:37:23 | 276,172,822 | 0 | 0 | null | 2020-06-30T18:00:35 | 2020-06-30T18:00:35 | null | UTF-8 | C++ | false | false | 4,096 | cpp | /**
* =============================================================================
* DynamicHooks
* Copyright (C) 2015 Robin Gohmert. All rights reserved.
* =============================================================================
*
* This software is provided 'as-is', without any express or implied warranty.
* In... | [
"noreply@github.com"
] | CookStar.noreply@github.com |
63ebed55dcb891723fe16d631f8d263b443b5835 | 1e5d25a8e0e31b78c4e979af55ee2ad64687c258 | /92 Reverse Linked List II/reverseLinkedListII.cpp | f34ee72a31caa0ceb3380a3f5bdb8ddae0e35387 | [] | no_license | charlenellll/LeetCodeSolution | ed02ee9b4059d6c1c6972af8cc56ea7bc85d401f | 3b846bf4cc1817aaae9e4e392547ad9ccde04e76 | refs/heads/master | 2021-01-01T16:18:58.440351 | 2019-11-19T15:48:04 | 2019-11-19T15:48:04 | 97,808,314 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,117 | cpp | //2nd round
class Solution {
public:
ListNode* reverseBetween(ListNode* head, int m, int n) {
ListNode* pre = NULL, *cur = head;
for(int i = 1; i < m; i++ ){
pre = cur;
cur = cur->next;
}
if( !cur->next ) return head;
ListNode* before = pre, *tail = cu... | [
"charleneliaojl@gmail.com"
] | charleneliaojl@gmail.com |
05ee3fbd5b2648a390d996fbb8b4e6a96521f66a | 31c6face9f3a545a0b4df81a2f6c36362b9c5f81 | /mechanics/Widgets/actionentitywidget.h | d1671118e45e240cf81d010ec860d2b540129344 | [] | no_license | drblallo/Mapper | e92e5540e2b654b1d4408ffd77ed3f081d5c1968 | 8770fa4ec8a7faae4059f9652656fe699979134a | refs/heads/master | 2021-01-01T19:57:46.839135 | 2017-11-26T09:51:51 | 2017-11-26T09:51:51 | 98,729,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | #ifndef ACTIONENTITYWIDGET_H
#define ACTIONENTITYWIDGET_H
#include <QWidget>
namespace mechanics
{
class EntityAction;
}
using namespace mechanics;
namespace Ui {
class ActionEntityWidget;
}
class ActionEntityWidget : public QWidget
{
Q_OBJECT
public:
explicit ActionEntityWidget(QWidget *parent = 0, E... | [
"blalloscompany@gmail.com"
] | blalloscompany@gmail.com |
9694e535e1cb20131840c1281b5a9f2b7b9aeaa1 | c1b7e15de90d3b7ce33d51f002c99b1d9b6ca715 | /ChineseChess/CommonLib/CommandDecoder.h | f4b8c68f4f26ce2226cc47ff5bfbfe873f15bac5 | [] | no_license | mainina/ChineseChess | a4c60be7ce31228b98f850e6514bb59114d7e6cc | 40a3191bd9ecc8e2297079446d95752e73d73611 | refs/heads/master | 2021-01-02T08:13:29.982351 | 2017-08-25T07:34:18 | 2017-08-25T07:34:18 | 96,449,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #pragma once
#include <string>
#include "Decoder.h"
#include "CmdData.h"
#include <vector>
class CommandDecoder: public Decoder
{
public:
CommandDecoder(char bufRecv[]);
~CommandDecoder();
virtual bool decode();
CmdData* getData() { return mCmdData; }
int getCommand() { return cmd; }
const char getChBegin() { ... | [
"mainina200@sohu.com"
] | mainina200@sohu.com |
ce46a56086a3e463dd5b2a593504331fcab6d8b5 | 90c720b09228236ac0a0419b83bb4c870b1c7714 | /src/qt/addressbookpage.cpp | f660c870bc433e97170ee9f85d86e02bc6160471 | [
"MIT"
] | permissive | FilokOfficial/filok | 80b6fb2d4a47a20da21d8b41aeede290a80cfcb7 | 20dbb5f6e6f5f73b0676f4bf302233644d4d7ce1 | refs/heads/master | 2020-04-18T18:43:48.645184 | 2019-02-05T21:28:24 | 2019-02-05T21:28:24 | 167,693,244 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,169 | 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 Filok developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"root"
] | root |
018621d8b2cd6dd8510fa9c0f020671775000083 | 1ac3f7213b2c4cda9872275d5c735dee27333825 | /codes/data_structures/stack/cpp/templated_stack.cpp | 4f72da0bff8462f87633cad5ae592efdd7f18371 | [
"MIT"
] | permissive | basu0001/first-pr-Hacktoberfest--2019 | b13a805590bd80f955a158a841dc657c6439dfd9 | 479553e67728fa8409dbceed7cb3d7554127c946 | refs/heads/master | 2021-06-28T10:24:15.910424 | 2021-02-02T07:38:31 | 2021-02-02T07:38:31 | 212,898,561 | 8 | 55 | MIT | 2021-02-01T18:11:35 | 2019-10-04T20:37:04 | Java | UTF-8 | C++ | false | false | 571 | cpp | #include <exception>
#include <iostream>
#include "Stack.hpp"
/*
* Main is only used to test different
* methods on my stack
*
*/
int main(void) {
Stack<int> s;
std::cout << "Initializing stack" << std::endl;
for (int i = 0; i < 10; ++i)
s.push(i);
std::cout << "Done!" << std::endl;
while ( !s.empty()... | [
"rajarshee1234@gmail.com"
] | rajarshee1234@gmail.com |
38c5dc7e95318507648e92b0226103c93feeaa62 | e49b23d9112411dd763311aed589ea47ab3a5029 | /src/stacker_attribute_buffer.cpp | 15f811dafa741fd421fd050d592e44150e16e517 | [
"MIT"
] | permissive | scullion/stacker | 754992aa9d583c5250a765f41ec22fad8c1bb380 | 541890f5c56971653138b991e70d0a64bbf9e852 | refs/heads/master | 2020-06-03T17:09:46.040380 | 2014-06-11T15:54:53 | 2014-06-11T15:54:53 | 20,300,216 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,340 | cpp | #include "stacker_attribute.h"
#include <cstddef>
#include <cstring>
#include <cfloat>
#include <algorithm>
#include "stacker_shared.h"
#include "stacker_util.h"
#include "stacker_attribute_buffer.h"
namespace stkr {
#pragma pack(push, 1)
/* Helper used to read attribute data located after the header in memory. *... | [
"thomasjamesmoran@gmail.com"
] | thomasjamesmoran@gmail.com |
5823f5f0c88476ed68ec683e504041eef7742720 | 14a2979c0baeb2ef14b3f34bb4017d541c8b0d8f | /apps/DataCollections/chainblock.h | a39b8a6a29db0a6392469762861d24c074bfcac3 | [
"MIT"
] | permissive | MangoCats/aosuite | 1fb6d3c929ad0634b07beb3a2fc7548dbcb6f0e9 | bddabf44eb965f55a6f8628040c73fea4902db2f | refs/heads/master | 2021-12-07T18:59:35.991784 | 2021-09-16T21:55:53 | 2021-09-16T21:55:53 | 144,416,778 | 0 | 0 | MIT | 2018-08-11T20:39:07 | 2018-08-11T20:39:06 | null | UTF-8 | C++ | false | false | 2,437 | h | /* MIT License
*
* Copyright (c) 2018 Assign Onward
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... | [
"assign.onward@gmail.com"
] | assign.onward@gmail.com |
fa4b183133a5c27c90ebe74ae3677c1c0fa42d1a | 2bae07914bcd383fefe415194ffb63e2b007aff2 | /engine/modules/tool/tool_generic_data/include/tiki/tool_generic_data/generic_data_tag.hpp | 74455d3db07ed51ba7575a2491cd8e08c723b03a | [] | no_license | TikiTek/mechanica | ec4972b541bfb7dc685b0b7918785c5ca99622d2 | d151a818a279f1969b977ff7a935148b18ab9546 | refs/heads/master | 2021-10-09T07:27:23.308704 | 2021-10-08T07:42:04 | 2021-10-08T07:42:04 | 71,704,579 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | hpp | #pragma once
#include "tiki/base/dynamic_string.hpp"
#include "tiki/base/types.hpp"
namespace tiki
{
class GenericDataTag
{
TIKI_NONCOPYABLE_CLASS( GenericDataTag );
public:
explicit GenericDataTag();
explicit GenericDataTag( const GenericDataTag* pCopyFrom );
~GenericDataTag();
const Dyna... | [
"mail@timboden.de"
] | mail@timboden.de |
2f46e7d443385f15002c2da7e449317e4657d52b | 12e2e6e9b050f8916bf372ee725c9d1112d6c7ce | /Car/Core.cpp | 5b4fd1fc0d34c3d3c41f8a2932ec27870d39cf6b | [] | no_license | Sozary-zz/Car | 49f6796471f082231e33a87daf15405cd3d5635d | 520bea5519c8bf3b72e2ab13a372b164208c429a | refs/heads/master | 2022-04-30T22:06:36.717325 | 2017-09-27T11:45:20 | 2017-09-27T11:45:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | cpp | #include "core.hpp"
#define GAME_FPS 60.f
#include <iostream>
using namespace std;
using namespace sf;
Core::Core(int w, int h, const string& title) :
m_window(VideoMode(w, h), title, Style::Close, ContextSettings{ 0,0,8 }), TimePerFrame(seconds(1.f / (float)GAME_FPS))
{
m_sim = new Simulation();
}
Core::~Core()... | [
"mehdiayache@hotmail.fr"
] | mehdiayache@hotmail.fr |
36c1395b78dabd497d5fdbd98587c5feb080f233 | 2927dcbbb0723e8e76710040407c5561fb6b0121 | /04096/windows/architectures/source/tool/GLView.h | cd51ff3227d26f939d10f18f4dbef14653f17bd3 | [] | no_license | cafferta10/hardcode | 9583599825010c16d46e199aaff9b15834730c65 | 2033e906d3a7850f88dda431f15a70f0981729b9 | refs/heads/master | 2021-05-22T01:06:19.072005 | 2019-10-26T03:28:44 | 2019-10-26T03:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | h | #ifndef GLView_h
#define GLView_h
#include <stdint.h>
#include <QtGui>
#include <QGLWidget>
#include "project.h"
namespace aurora {
// opengl view
class GLWidget : public QGLWidget
{
Q_OBJECT
public:
GLWidget(const QGLWidget* shareWidget = 0);
~GLWidget();
project::Project *project;
... | [
"youngthug@youngthug.com"
] | youngthug@youngthug.com |
b1cec771674ec0612b9e53bcffded6463ca2f901 | b74c55900714564461dee9be5c5f26607b1143b8 | /Circle & square.cpp | 9bee699a2f06f951b11cecc7c1fa0db84047d2d8 | [] | no_license | sayeed-rana/DevSkill-Problem-Solution- | c0be776383e1003568fbb055dea3f67519b2515b | 2ba63a2252ae5e5e2b9f1b57b89ab0dc98ebce88 | refs/heads/master | 2021-01-20T03:39:24.924325 | 2017-06-09T06:26:15 | 2017-06-09T06:26:15 | 89,566,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include<iostream>
#include<math.h>
using namespace std;
int main()
{
int t=1;
int n;
cin>>n;
double d[n],corno[n];
double s[n],r[n];
while(t<=n)
{
cin>>r[t];
cin>>s[t];
d[t]=floor(2*r[t]);
corno[t]=floor(s[t]*sqrt(2));
t++;
}
for(int i=1;i<=n;i=... | [
"noreply@github.com"
] | sayeed-rana.noreply@github.com |
48dedb912397a01916cd58169e0dd5ada1ede497 | 98157b3124db71ca0ffe4e77060f25503aa7617f | /codeforces/470/c.cpp | f46ccf3e2eb53cd918b4f8761615e823ceb4c394 | [] | no_license | wiwitrifai/competitive-programming | c4130004cd32ae857a7a1e8d670484e236073741 | f4b0044182f1d9280841c01e7eca4ad882875bca | refs/heads/master | 2022-10-24T05:31:46.176752 | 2022-09-02T07:08:05 | 2022-09-02T07:08:35 | 59,357,984 | 37 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 3e5 + 5;
struct trie {
int l, r, cnt;
trie() : l(0), r(0), cnt(0) {}
} node[N * 55];
int p[N], a[N], cntr;
void add(int x) {
int now = 1;
++node[now].cnt;
for (int i = 29; i >= 0; --i) {
if (x & (1 << i)) {
if (node[now].r == 0) node[now... | [
"wiwitrifai@gmail.com"
] | wiwitrifai@gmail.com |
d7e454abbaa3ab965ed867ac3cf97a42f17e3eb2 | 37ff29a9a83eafbf0f54e2ce0bf2c0255b1663a1 | /devel/.private/map_msgs/include/map_msgs/GetMapROIResponse.h | 77b136b55ea4b20e5d092b076594262f1cc1801c | [] | no_license | wy7727/husky | f8d9c2a05487f66efbfb58e8fc1c141efc10e177 | 7925bc34ae316639aef88fc3e6a8d36aba12620b | refs/heads/master | 2020-04-09T12:09:41.420418 | 2019-12-01T09:24:24 | 2019-12-01T09:24:24 | 160,337,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,838 | h | // Generated by gencpp from file map_msgs/GetMapROIResponse.msg
// DO NOT EDIT!
#ifndef MAP_MSGS_MESSAGE_GETMAPROIRESPONSE_H
#define MAP_MSGS_MESSAGE_GETMAPROIRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
... | [
"wuying277727@gmail.com"
] | wuying277727@gmail.com |
95ac183ce96fcefdc06183e8167fc7302bc299fa | f0bd63eddce3d90c1d56ce6782b99557a6daf04b | /homework/assignment26.cpp | 23c88294ee26ad014374b8b07ec857d8d4306627 | [] | no_license | rsguru/cs124 | 205092b65b43c916d2abe456cf33dad93b160edd | 0579cc77c7e38c79781a72cc425668ae8bce58eb | refs/heads/master | 2021-01-11T20:42:38.138083 | 2016-12-22T04:43:02 | 2016-12-22T04:43:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | cpp | /***********************************************************************
* Program:
* Assignment ##, ???? (e.g. Assignment 10, Hello World)
* Brother {Cook, Comeau, Falin, Lilya, Honeycutt, Unsicker, Peterson, Phair, Ellsworth}, CS124
* Author:
* your name
* Summary:
* Enter a brief description of... | [
"drew@lundgren.us"
] | drew@lundgren.us |
77b4ff4fcda9d342922628dc69fa158589930e33 | 464c01e2298eea56e4c78f1c30f65492090b02f3 | /MP3/NachOS-4.0_MP3/code/threads/scheduler.cc | aa68cab86316ca6191fcc129e005afaa11077456 | [
"MIT-Modern-Variant"
] | permissive | lijunhaoabroad/Operating-System-Project-NachOS | bff820b68005550aa55796f2ae4946f7176506bc | 7ccbb19354de953c6f504408ffbe1489c2f5319c | refs/heads/master | 2023-02-22T06:11:12.339265 | 2021-01-23T07:51:56 | 2021-01-23T07:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,379 | cc | // scheduler.cc
// Routines to choose the next thread to run, and to dispatch to
// that thread.
//
// These routines assume that interrupts are already disabled.
// If interrupts are disabled, we can assume mutual exclusion
// (since we are on a uniprocessor).
//
// NOTE: We can't use Locks to provide mutual exclus... | [
"jennyyeh56789@gmail.com"
] | jennyyeh56789@gmail.com |
b17cad2cd536c4dcef182031a32efe6fdd0618a0 | 094cd67dd4904fbb7d7befd32f1684275e994d5b | /src/utilstrencodings.cpp | bca98360b0695d9d73b3cf2a4b0417d01875476c | [
"MIT"
] | permissive | Arinerron/jobecoin | a9219ee50b927fefe657e1844987c69e422fb81f | d6c966cf94c44061c157da77def3e15ecb866a2b | refs/heads/master | 2021-08-20T02:55:06.170471 | 2017-11-28T02:05:06 | 2017-11-28T02:05:06 | 112,209,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,962 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Jobecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <utilstrencodings.h>
#include <tinyformat.h>
#include <cstdlib>
#incl... | [
"arinesau@gmail.com"
] | arinesau@gmail.com |
70fa4b3fe5aa99d79dfcdca4b04c33c071d38848 | 040eab433f00786ec34142f242c0735e8c19fd9c | /samples/threat_level/src/GameOverState.hpp | bc9d7f62528ec2774a79ee22dcebb55783e72e48 | [
"Zlib"
] | permissive | MORTAL2000/crogine | d7c73f174dfd7b1cf89ee693f98c7ecd41bb11f4 | 488b46dc3f706def8fdae30346c248f01c95b49c | refs/heads/master | 2020-12-20T20:52:56.810085 | 2020-01-24T15:41:32 | 2020-01-24T15:41:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | hpp | /*-----------------------------------------------------------------------
Matt Marchant 2017
http://trederia.blogspot.com
crogine test application - Zlib license.
This software is provided 'as-is', without any express or
implied warranty.In no event will the authors be held
liable for any damages arising from the us... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
6e44e6b0822fdf556c9fd9c994639569be259640 | dc37e235701de22d0609d47fab3687ef6dfa2eca | /minionsOOP/Game.cpp | 1b1092c1b7bf3eaa83b1252b4f6b7bd0baff2308 | [] | no_license | zhivkopetrov/CacheFriendlyCode | ae3295e9806d9271fa16bf6cb1e54cb7370902e6 | 45d6593274979846b74d9a1c8827e3b1860404d2 | refs/heads/master | 2021-04-06T11:27:28.635505 | 2019-09-30T19:12:44 | 2019-09-30T19:12:44 | 124,690,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,788 | cpp | /*
* Game.cpp
*
* Created on: 7 Feb 2018
* Author: Zhivko Petrov
*/
//Corresponding header
#include "Game.h"
//C system headers
#include <unistd.h>
//C++ system headers
#include <cstdlib>
#include <cstdio>
//Other libraries headers
#include <SDL2/SDL_events.h>
//Own components headers
#include "common/C... | [
"noreply@github.com"
] | zhivkopetrov.noreply@github.com |
b9774cbe9b1df1babfbc302fb90ad3be3c93b30e | 73dd6869ad9e72ca20efc9c3881c626a08290f58 | /src/client/GameProc/CallGM.h | 44465e66de94d6f88c9bbe2f0f5a98f764a14771 | [] | no_license | rcirca/irose | 76cd50fa223375c67e6db412aea2ab941d4c1934 | 39afb7d253f66c0f5f6661d0cb0c179c64a6e64e | refs/heads/master | 2020-03-19T16:21:58.555061 | 2018-05-23T13:03:18 | 2018-05-23T13:03:18 | 136,712,714 | 4 | 4 | null | 2018-06-09T10:17:04 | 2018-06-09T10:17:04 | null | UHC | C++ | false | false | 317 | h | #ifndef _CALLGM_
#define _CALLGM_
#include <string>
///
/// 유져의 GM 호출 요청을 웹으로 전송( 각 국가별 게시판 )
///
class CCallGM
{
public:
CCallGM(void);
~CCallGM(void);
void CallGM( std::string& strServerName, std::string& strChannelName, std::string& strMsg );
};
#endif //_CALLGM_
| [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
e9c34021c87578f9fdeea0d685bc38848cfdf490 | eabe03e538e41b5223a605525bde6976503c1f81 | /gurobi/qt_gurobi/test.cpp | 93af2b7eac17a578cb5eaaa22a317c7f720d8488 | [] | no_license | zhengziqiang/learngit | 99a29ffa82fb6d93fdbaaa10e1c62f6624cb31cb | 66d0cb6b3a8b76d6836504514021fa7f08bbc6ee | refs/heads/master | 2020-04-04T04:08:57.674855 | 2017-07-19T09:51:13 | 2017-07-19T09:51:13 | 55,275,928 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | cpp | #include<iostream>
#include<vector>
#include "gurobi_c++.h"
#include <stdlib.h>
#include <time.h>
#include <sstream>
using namespace std;
bool sub_train(vector <vector <int> > &m_data,vector <vector <int> >&m0_data,vector <vector <int> > aim_data,int n_8_1,int n_6_1,vector<double> &ans){
GRBEnv env=GRBEnv();
G... | [
"1174986943@qq.com"
] | 1174986943@qq.com |
d0f0b90d9b4006661d3a985b1a3e28ac6a7eb8f3 | 21ab9b42039e4559a738954680561925d531d9a6 | /pybind11/operators.h | 293d5abd29a9f99f8a2bb041bd9204ed8f4e3dc5 | [
"Apache-2.0"
] | permissive | renesugar/pph-cpp | 9f9db4ac2424873c8b79e911adb5c0dd5399e0c4 | 8df79ebf6b7c7b92af69eec3b7032eb53bbc25af | refs/heads/master | 2023-04-15T00:28:04.526648 | 2020-06-09T21:53:04 | 2020-06-09T21:53:04 | 104,619,261 | 3 | 0 | Apache-2.0 | 2021-04-20T20:08:24 | 2017-09-24T04:41:59 | C++ | UTF-8 | C++ | false | false | 9,049 | h | /*
pybind11/operator.h: Metatemplates for operator overloading
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#pragma once
#include "pybind11.h"
#if defined(__clang__) &... | [
"rene.sugar@gmail.com"
] | rene.sugar@gmail.com |
da4dae4a51995cf8fb66e91d448187565e9d4a42 | 425963de819e446a75441ff901adbfe5f1c5dea6 | /ui/android/view_android.cc | 7af741ca8b13b0729b0208c9374dedda9c5f1278 | [
"BSD-3-Clause"
] | permissive | Igalia/chromium | 06590680bcc074cf191979c496d84888dbb54df6 | 261db3a6f6a490742786cf841afa92e02a53b33f | refs/heads/ozone-wayland-dev | 2022-12-06T16:31:09.335901 | 2019-12-06T21:11:21 | 2019-12-06T21:11:21 | 85,595,633 | 123 | 25 | NOASSERTION | 2019-02-05T08:04:47 | 2017-03-20T15:45:36 | null | UTF-8 | C++ | false | false | 21,281 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/android/view_android.h"
#include <algorithm>
#include <cmath>
#include <utility>
#include "base/android/jni_android.h"
#include "base/andro... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9d219a15e70b6dd7e9bc9afbc6e83775b8241bdc | ba9322f7db02d797f6984298d892f74768193dcf | /r-kvstore/src/model/ModifyGuardDomainModeRequest.cc | 94827dd2bb9f4cef6a66bb45a3e77f159d937cff | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 3,396 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
a2fc52808dc987e41536017958d230f54a3473cc | dbc0e3582d65bcf9d8fba29d872d6407454f9e28 | /HackerRank/game-of-stones.cpp | 4ff3386379bb41c664a0141f9ae92274bd2c0166 | [] | no_license | sirAdarsh/CP-files | 0b7430e2146620535451e0ab8959f70047bd7ea2 | 8d411224293fec547a3caa2708eed351c977ebed | refs/heads/master | 2023-04-05T09:07:21.554361 | 2021-04-08T19:57:33 | 2021-04-08T19:57:33 | 297,582,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #include<iostream>
using namespace std;
string solve(int n){
if(n%7<=6 && n%7>=2){
return "First";
}
return "Second";
}
int main(){
int t;
cin >> t;
while(t--){
int n;
cin >> n;
cout<<solve(n)<<endl;
}
}
| [
"aksinha.dhn@gmail.com"
] | aksinha.dhn@gmail.com |
7ad365bca6c8c1126c01f65671446ffb5ad4c53d | 2d03011927b44f5f307a51d52464a29d32169d4b | /include/cantera/thermo/NasaPoly1.h | cb11698cfc75f7795bf08834c58284fe06900b4b | [] | no_license | eburke90/Cantera-Transport-Equation | b9ef4acc0cc501bb63dc0ff2291830bad2787bb6 | b75004e8a53110e7edf2b919d6c729ae9ae2bbec | refs/heads/master | 2021-01-10T12:25:52.968356 | 2016-03-15T19:05:30 | 2016-03-15T19:05:30 | 53,939,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,096 | h |
/**
* @file NasaPoly1.h
* Header for a single-species standard state object derived
* from \link Cantera::SpeciesThermoInterpType SpeciesThermoInterpType\endlink based
* on the NASA temperature polynomial form applied to one temperature region
* (see \ref spthermo and class \link Cantera::NasaPoly1 NasaPoly... | [
"eoin.burke90@gmail.com"
] | eoin.burke90@gmail.com |
3ec7e486d8fcd13ac1d276be4a17995d74167b74 | 275e738cee33e6a903fcab4767003174088ce86b | /63.cpp | d41302177375f697a10951abd471fb757cbd0bd6 | [] | no_license | th0usandTW/LeetcodePractice | de5a45ab7a285690a33651f56eb90959af45da02 | 4f8d849ae06512af7e05dcde91507dbf7e75058c | refs/heads/main | 2023-05-12T09:35:31.244365 | 2021-05-30T05:46:08 | 2021-05-30T05:46:08 | 320,308,087 | 0 | 1 | null | 2020-12-12T07:57:48 | 2020-12-10T15:10:13 | C++ | UTF-8 | C++ | false | false | 1,606 | cpp | class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) {
int m = obstacleGrid.size(); // row
int n = obstacleGrid[0].size(); // column
vector<vector<int>> path(m, vector<int>(n));
int i, j;
// If start or end is blocked
if... | [
"noreply@github.com"
] | th0usandTW.noreply@github.com |
8be7ad0d8620306c14527041fb329cd8aa5aea65 | 0d0cfbeda1636a3f110d8acc7212f45fe6423ba7 | /InjectDllyReflective/InjectDllyReflective/InjectDllyReflective.cpp | 5eb2f55e5e6fa19d27ab7e8b6acb750568b277e6 | [] | no_license | awrheaven/Inject | c4187d8658f17245ddb71449c38e78f987c84046 | 1f8451741c1dd4273ee3c09013bbc19ef5451bc2 | refs/heads/master | 2021-07-10T09:11:19.185835 | 2017-10-09T14:25:36 | 2017-10-09T14:25:36 | 106,294,199 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,010 | cpp | // InjectDllyReflective.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <Windows.h>
#include <iostream>
using namespace std;
#define DLL_QUERY_HMODULE 6
typedef ULONG_PTR(WINAPI * REFLECTIVELOADER)(VOID);
typedef BOOL(WINAPI * DLLMAIN)(HINSTANCE, DWORD, LPVOID);
HANDLE LoadRemoteLibraryR(HANDLE TargetProcessH... | [
"17802926324@163.com"
] | 17802926324@163.com |
eca4b20f340aafbb826416794d06f3d54a625f48 | 8253f58038023ce75c65773ede6577019e10165a | /serialServer.cpp | 59f71a7157bfc7224734818caf603ecca7684764 | [
"MIT"
] | permissive | hsm-feup/full | 66b8eec6633059765fd39902746392c2cf5011a9 | 9dbf02a75daa985179eee551aabeb0b4a3d1e4c2 | refs/heads/master | 2021-01-10T19:57:17.822175 | 2020-04-17T16:41:08 | 2020-04-17T16:41:08 | 29,199,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | #include "Arduino.h"
#include "serialServer.h"
SerialServer::SerialServer(int baudrate) {
Serial.begin(baudrate);
// sendMsg(VERSION_STR);
}
#define CMD_SIZE 10
char *SerialServer::getCmd(void) {
int c;
int static index;
char static cmd[CMD_SIZE+1];
if ((c = Serial.read()) != -1) {
if (index && ((char) c == ... | [
"hsmptg@gmail.com"
] | hsmptg@gmail.com |
a4101e9ddd6e6c57339a72de808c10e8f121fcfe | 38926bfe477f933a307f51376dd3c356e7893ffc | /Source/SDKs/STLPORT/stlport/stl/_tempbuf.h | 0f3cda35b5fd4cfbed5044797cf6036a4e7ff8a0 | [
"LicenseRef-scancode-stlport-4.5"
] | permissive | richmondx/dead6 | b0e9dd94a0ebb297c0c6e9c4f24c6482ef4d5161 | 955f76f35d94ed5f991871407f3d3ad83f06a530 | refs/heads/master | 2021-12-05T14:32:01.782047 | 2008-01-01T13:13:39 | 2008-01-01T13:13:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,832 | h | /*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty e... | [
"dante.renevo@gmail.com"
] | dante.renevo@gmail.com |
5b9767761cd213187ceee6246ecafa08e53b88a8 | cdbce8b09cf43bf2e66e5e3437ae591262a55270 | /D2Ex2-master/ExListBox.h | 5cf2b600eac90b426fb0b73c350afbc5ded9db15 | [] | no_license | tokenok/Visual-Studio-Projects | b82a53f141eff01eef69f119f55dabd8b52e803e | c3947dda48fdccdba01a21b0e5052b12a18fe2a6 | refs/heads/master | 2022-05-02T11:06:46.201991 | 2018-10-28T22:07:24 | 2018-10-28T22:07:24 | 89,531,738 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #ifndef __EXLISTBOX_H__
#define __EXLISTBOX_H__
#include "ExControl.h"
#include "ExTextBox.h"
#include "ExScrollBar.h"
#include <vector>
class ExListBox : public ExControl
{
public:
ExListBox(int X, int Y, int Width, int Height, int Color, int Font);
void AddToList(wstring Member);
void RemoveFromList(wstring Memb... | [
"mrjack.is.minty@gmail.com"
] | mrjack.is.minty@gmail.com |
d12659fd9d44bb2327e08ebe94738e9a2fc1ce9d | 98054c0fc0415cd7d7733ed63c69d1d25547b338 | /src/Platform/Windows/System/TcpConnection.cpp | 11f30c7ade7ac287f900585d82f99418f49ec891 | [
"MIT"
] | permissive | freelacoin/freelabit | 18dc3f23f0671cb73d1df8a22baca43305549eae | f5a2fa5b9258e5e5688d3281e45503f14e0cb914 | refs/heads/freelabit | 2021-12-11T08:33:30.992223 | 2021-08-31T16:42:48 | 2021-08-31T16:42:48 | 102,800,887 | 3 | 6 | MIT | 2018-05-12T04:02:35 | 2017-09-08T01:01:08 | C++ | UTF-8 | C++ | false | false | 7,003 | cpp | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2014-2017 XDN developers
// Copyright (c) 2016-2017 BXC developers
// Copyright (c) 2017 Royalties developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"ericvesprini@yahoo.com"
] | ericvesprini@yahoo.com |
154834e44163a88ef84289d2b6ced4b3bede1f51 | d7f3d311f9b50740d422678134df3cf171fd95de | /Player.h | 5fc5e3e970637e7b373ee8ccc76b972fdede70cd | [] | no_license | jagdinsky/labirinth_game | 0b0a774232464596143c68106de6d3b7859f1251 | 612dd4993ae7246158b23bf1e84b89c969a0a57a | refs/heads/master | 2023-04-10T02:14:59.799590 | 2021-04-09T19:35:06 | 2021-04-09T19:35:06 | 356,369,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | #ifndef MAIN_PLAYER_H
#define MAIN_PLAYER_H
#include "Image.h"
struct Point {
int x;
int y;
};
enum class MovementDir {
UP,
DOWN,
LEFT,
RIGHT
};
struct Player {
explicit Player(Point pos = {.x = 400, .y = 400}) : coords(pos),
old_coords(coord... | [
"jagdinsky@gmail.com"
] | jagdinsky@gmail.com |
28def526fdce604ae718c5e34289043df8af31c6 | 01ff6f92885e96629de612f29453a991395f68f5 | /crc32/crc32/syn/systemc/make_hash_4.cpp | 45b61e0fe07c66ffec40e55983cdfb72fa7b7d1c | [] | no_license | drus519/SAPR_SNK | 47f361f788a38389bbdfdb2da959315242630981 | 9e0811f488c7648094465ec376ff23be6ef296f9 | refs/heads/master | 2022-11-05T15:21:29.502875 | 2020-06-20T01:11:37 | 2020-06-20T01:11:37 | 273,615,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145,315 | cpp | #include "make_hash.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void make_hash::thread_add_ln32_fu_12174_p2() {
add_ln32_fu_12174_p2 = (!ap_const_lv32_10.is_01() || !i_0_0_reg_147.read().is_01())? sc_lv<32>(): (sc_biguint<32>(ap_const_lv32_10) + sc_biguint<32>(i_0_0_reg_147.read()));
}
void... | [
"rex-519@mail.ru"
] | rex-519@mail.ru |
8427a5f2d010fa09c9331b5927dc50a3ae04bd20 | f5a4b3e5803fc258aa5f9676293d811a9f07263d | /emetteurRFLINK_distance.ino | dfeba345e752b9befa75f54ac46672dad72323bd | [] | no_license | prunier/arduino | 80a45fd1ab883cd64c26e124d826a56a7e97dcae | f703eb889c3432732d4c735838da6fe0fb620bb4 | refs/heads/master | 2022-12-10T07:06:40.371777 | 2022-01-04T09:38:34 | 2022-01-04T09:38:34 | 104,798,942 | 0 | 0 | null | 2022-12-05T22:25:56 | 2017-09-25T20:30:11 | C++ | UTF-8 | C++ | false | false | 14,229 | ino | //**********************************************************
// Capteur de distance à ultrasons HC-SR04 avec Arduino nano
// avec émetteur RFLINK type Oregon
//
// Capteur de distance Trig -> pin 3 (pas 13)
// Capteur de distance Echo -> pin 2 (pas 12)
// Capteur de distance Haut-Parleur -> pin 9
// Emetteu... | [
"noreply@github.com"
] | prunier.noreply@github.com |
d1125603f97352ea79a82c531b35dee0bb844598 | 30a34b3503decf1b4516039df3106cd152631819 | /4AL17IS024_MAYURESH_KUNDER/PradeepSir_Coding_Challenge/Coding_Challenge_3/SumSeries.cpp | 107e6aa1348b1515e209676fbb16056d68561335 | [] | no_license | alvas-education-foundation/ISE_3rd_Year_Coding_challenge | 8ddb6c325bf6ab63e2f73d16573fa0b6e2484136 | b4074cab4a47aad07ed0fa426eacccbfafdef7f8 | refs/heads/master | 2022-11-23T20:52:19.204693 | 2020-07-23T11:28:15 | 2020-07-23T11:28:15 | 265,195,514 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | //sum
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
long i,n,x,sum=1;
cout<<“1+x+x^2+……+x^n”;
cout<<“nnEnter the value of x and n:”;
cin>>x>>n;
for(i=1;i<=n;++i)
sum+=pow(x,i);
cout<<“nSum=”<<sum;
} | [
"kundermayuresh249@gmail.com"
] | kundermayuresh249@gmail.com |
705e58942473e24b539a19bb4328bf0c0327ed30 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /components/usb_service/usb_service_impl.cc | 88aa98f676d5cfe7b5b05b6a5c33228e941132fe | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,800 | cc | // Copyright 2014 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/usb_service/usb_service.h"
#include <map>
#include <set>
#include "base/lazy_instance.h"
#include "base/message_loop/message_loop.h... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
13d6112e4064d1ae87c5f97ad7dac5b82c976a19 | 881f7c1b2ffc0e292c50385e2c202fde10fbb301 | /include/thectci/factory.hpp | 0aa01a783110b5fae6238bbfc340dc6c3d9e4006 | [
"MIT"
] | permissive | PeterHajdu/thectci | 322b64236564d77856d04c903a9a6ab50dbdf8df | 7ffe4c7d8ccbf55490e155f93ef8637d6f9c4119 | refs/heads/master | 2021-01-23T17:32:11.156279 | 2015-04-29T10:20:40 | 2015-04-29T10:20:40 | 21,159,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | hpp | #pragma once
#include <thectci/id.hpp>
#include <memory>
#include <cassert>
#include <functional>
#include <unordered_map>
namespace the
{
namespace ctci
{
template < typename Base >
class Creator
{
public:
typedef std::unique_ptr< Base > base_pointer;
virtual ~Creator() {}
virtual base_pointer create()... | [
"peter.ferenc.hajdu@gmail.com"
] | peter.ferenc.hajdu@gmail.com |
3eecc5ca244828c49d2552eed3fe5eefd704510b | 4eb607f789578a9457ee8d686b7ba78d49f0c9b7 | /p3-largest-prime-factor.cpp | f33fefcf480738b06f06e0180820e8e98ca841ec | [] | no_license | murali026/mmurepo026 | f7e745a54239b093276023d5530efc5b4920f2b2 | bf5feeaeac215774dfbff6b4b8203aaf792de0b2 | refs/heads/master | 2022-04-17T03:49:03.362802 | 2020-04-09T23:13:14 | 2020-04-09T23:13:14 | 110,778,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include<iostream>
#include<set>
using namespace std;
bool is_prime(long num) {
long i = 2;
long cur = num;
while(i < cur) {
if(num%i == 0) {
return false;
}
i++;
}
cout << num << " is a prime" << endl;
return true;
}
bool factors(long num, set<long>& fSet)... | [
"murali026@gmail.com"
] | murali026@gmail.com |
69c7b8b94d520b43d81fabfb241ec6b89918df2a | cab45323cadc79bf4d697925cb537219715c42e4 | /robot-simulator/robot_simulator.cpp | d3615fd695e7acbba9c7c6fdb11da173029366cb | [] | no_license | thefullarcticfox/cpp_exercisms | 94df1ac995ddbe764dadd65b59b2259d54341ea9 | 0e6cd10dd3c86ee393bf72ac759f4e2b6872e62b | refs/heads/master | 2023-04-21T00:57:14.911163 | 2021-05-12T17:04:36 | 2021-05-12T17:04:36 | 352,470,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | #include "robot_simulator.h"
#include <stdexcept>
#include <cctype>
namespace robot_simulator {
Robot::Robot(pair<int, int> pos, Bearing dir) : pos(pos), dir(dir),
fmap({ { 'L', &Robot::turn_left },
{ 'R', &Robot::turn_right },
{ 'A', &Robot::advance }}) {}
pair<int, int> Robot::get_position() const {
... | [
"thefullarcticfox@users.noreply.github.com"
] | thefullarcticfox@users.noreply.github.com |
3854b53ebcd58d1e5d9cb39826bd125199f64e01 | 3a3b09e11c0954865616c556a4a26580b58dd0de | /src/test/test_controller_adapter.cpp | 21bd636304159bca26bcca1d0b6ec929cc35c667 | [] | no_license | Stefan4472/TestC-Game | ed7e4d69a008b51c29bcd811c3f0dc43bb363bdd | f09f194517c0929706acdb9374658251690ab620 | refs/heads/master | 2021-07-14T21:02:49.139070 | 2021-06-28T14:22:58 | 2021-06-28T14:22:58 | 115,226,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | cpp | // tests controller adapter via keyboard input
#include <SDL2/SDL.h>
#include <stdio.h>
#include "controller_adapter.h"
bool init();
void close();
SDL_Window* gWindow = NULL;
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
// test listener class
class TestControlReceiver : public ControllerListener
{
... | [
"stefan.kussmaul@gmail.com"
] | stefan.kussmaul@gmail.com |
a3000896effbf2b77776e9bdf01e7b8ed6340311 | 7e0c28dd83ae6fdf23caf0ab7e34e67bf0b22620 | /Source/ProgressTimer/Public/ProgressTimer.h | 993c8a0a563935fb4ef6e3da4482d564806af182 | [] | no_license | 1097195326/SmallWorld | fd32b1c1ec1feb6d577ed5e38747c458114f666f | 4bde46145d8091b0b375a573860a9ca728c9ccb7 | refs/heads/master | 2023-05-25T16:18:03.710953 | 2020-06-17T04:04:37 | 2020-06-17T04:04:37 | 170,458,832 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 306 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
class PROGRESSTIMER_API FProgressTimer : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
};
| [
"1097195326@qq.com"
] | 1097195326@qq.com |
50f6017d69ac8685aaff353365a59ae48e90250e | 2821320191f71f01182de5c78e5494b4ff71225e | /Graph/src/Edge.cpp | e7d4dfccc5cebb79a84a7a04a4a7cf1804357654 | [] | no_license | baoxd/data-structure | 9627f0de1bb8b802588cf686a5c2f9781b0df9a6 | 0244e1c55b8d5682c80dcae13d057b1d1314cce8 | refs/heads/master | 2021-01-22T19:35:59.933681 | 2017-11-28T08:13:57 | 2017-11-28T08:13:57 | 102,420,863 | 4 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 279 | cpp | /*
* Edge.cpp
*
* Created on: 2017Äê9ÔÂ19ÈÕ
* Author: baoxd
*/
#include "Edge.h"
Edge::Edge(int nodeIndexA , int nodeIndexB, int weightValue)
{
m_iNodeIndexA = nodeIndexA;
m_iNodeIndexB = nodeIndexB;
m_iWeightValue = weightValue;
m_bSelected = false;
}
| [
"1459815090@qq.com"
] | 1459815090@qq.com |
8c413c507efbaed6d41a6631172df85cf72147c0 | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/net/http/http_auth_handler_factory.h | 455edb12b0edf2cf4e67d82aaac56a1e9c52a309 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,783 | 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 NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
#include <map>
#include <memory>
#include <strin... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
605822b74f8d31161d218b1c5dcd3ab94e19bbf6 | 270ab1f1040cd4f24751a81e4816d3bbcbd472c0 | /algorithms/240.Search_a_2D_Matrix_II/Search_a_2D_Matrix_II.cpp | 5a5327bf24271560f75a4d0cbcf9b42390743749 | [] | no_license | svcgv/leetcode | dd61add37eac451559d92e5a5f3bb7ab7f93a09e | 5c2910e1f73b1ab8a63980f60ce8287a7fe86c96 | refs/heads/master | 2021-05-16T09:01:34.870483 | 2017-03-04T12:59:37 | 2017-03-04T12:59:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | <<<<<<< HEAD
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int i = 0;
int j = matrix[0].size() - 1;
while(i < matrix.size() && j >= 0) {
if(matrix[i][j] == target)
return true;
if(matrix[i][j] < target)
... | [
"1012351692@qq.com"
] | 1012351692@qq.com |
1ccf31e1ec98238f21a235694d7ca811e53b6d8a | 55927a91b157766732ffaf9d53911fff5aeb7da8 | /Easy/225_MyStack/225_MyStack/main.cpp | 1b3af8318cd6ade63308565c56d129abaa5b0ed1 | [
"MIT"
] | permissive | yangbingjie/Leetcode | 3721cc4dd4b16a8dacc4b1d710c75fa5cffcf350 | 2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916 | refs/heads/master | 2021-06-26T13:51:51.837136 | 2021-03-30T10:45:18 | 2021-03-30T10:45:18 | 224,658,947 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,787 | cpp | //
// main.cpp
// 225_MyStack
//
// Created by Bella Yang on 2019/11/18.
// Copyright © 2019 Bella Yang. All rights reserved.
//
#include <iostream>
#include <queue>
using namespace std;
class MyStack {
private:
queue<int> q1;
queue<int> q2;
bool is_q1;
public:
/** Initialize your data structure he... | [
"yangbingjie1997@gmail.com"
] | yangbingjie1997@gmail.com |
0276648deaf5f6221adfbd9959c5bac2d154b21c | 3c335c0c01c9bc9c6c18d8f0b0152368f6980907 | /SelectionSort.cpp | fd60d7f499bc6c366f6efd9ed0e730f55732f9e0 | [] | no_license | laisdutra/SortingAlgorithms | 839ee078ab46f19909f0e43381b3b04f6105771b | 3c4b2cfb5e7598a5a22a31bf17b1a4313aab7ad1 | refs/heads/master | 2020-12-24T01:24:19.733431 | 2020-02-01T19:56:47 | 2020-02-01T19:56:47 | 183,835,425 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 765 | cpp | /*
- A cada passo, procura o menor valor do vetor e o coloca na primeira posição;
- Descarta-se a primeira posição do vetor e repete-se o processo para a segunda posição;
- Feito para todos os n elementos;
- Melhor caso: O(n^2)
- Caso médio: O(n^2)
- Pior caso: O(n^2)
- Um dos algoritmos mais rápidos para vetores pe... | [
"laisgdtr@gmail.com"
] | laisgdtr@gmail.com |
6a1cfb171049107eca0a609e0df0a8ea1769fc58 | 71599d9781f65a725e450208944c069a5b062358 | /poj/poj-1155.cpp | 998d6d956e106c91f0c8dfc406a8d0ddee80ab3a | [] | no_license | shuangde/ACM-ICPC-Record | 74babe24f5fe13ea5b9d33b29de5af138eef54cc | 1f450d543e7c434af84c0dcaf9de752956aef94f | refs/heads/master | 2021-01-17T12:07:19.159554 | 2014-08-16T08:04:02 | 2014-08-16T08:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | cpp | /**==========================================
* This is a solution for ACM/ICPC problem
*
* @source:poj-1155 TELE
* @author: shuangde
* @blog: blog.csdn.net/shuangde800
* @email: zengshuangde@gmail.com
* Copyright (C) 2013/08/18 19:29 All rights reserved.
*==========================================... | [
"zengshuangde@gmail.com"
] | zengshuangde@gmail.com |
1aa5f0afd69197ca03dfda116a2c6301498251ec | cda2dfc07cd9ea925484aca1b2defb9047ff327c | /AudioGraph/CDXAudioWriteCallback.h | 6c2a39500abef3aa12f0ffad4fe3da03cee14078 | [] | no_license | AustinBorger/AudioGraph | fdf45a46e63913006914f91b7ec3854eb3981080 | aab49b5c8f4951bccc5f149d4736b093a45a468e | refs/heads/master | 2016-09-01T09:21:59.667788 | 2015-12-21T03:14:26 | 2015-12-21T03:14:26 | 47,859,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,244 | h | /*
** Copyright (C) 2015 Austin Borger <aaborger@gmail.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 3 of the License, or
** (at your option) any later version.
**
**... | [
"aaborger@gmail.com"
] | aaborger@gmail.com |
04ba697e82ec44a45c961d58ef003d279be1bf04 | 142ddd4c42dc7ff65fd9b531cfd0adbfe2a1dd34 | /export/core/path_remap.cpp | 77044173db9e80980b332f499ffc9906bfff20bb | [
"LicenseRef-scancode-free-unknown",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC0-1.0",
"OFL-1.1",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"FTL",
"BSD-3-Clause",
"Bitstream-Vera",
"MPL-2.0",
"Zlib",
"CC-BY-4.0"
] | permissive | GhostWalker562/godot-admob-iOS-precompiled | 3fa99080f224d1b4c2dacac31e3786cebc034e2d | 18668d2fd7ea4bc5a7e84ddba36481fb20ee4095 | refs/heads/master | 2023-04-03T23:31:36.023618 | 2021-07-29T04:46:45 | 2021-07-29T04:46:45 | 195,341,087 | 24 | 2 | MIT | 2023-03-06T07:20:25 | 2019-07-05T04:55:50 | C++ | UTF-8 | C++ | false | false | 2,229 | cpp | /*************************************************************************/
/* path_remap.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"pvu2002@outlook.com"
] | pvu2002@outlook.com |
2c8dcada5d55783ec138837550e754e513d06ac1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_6949_last_repos.cpp | 71e9c868cf8c5c66c3ac3a9b4ffb71b2eb3e8319 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | void unblock() { popBlocked.store(false); } | [
"993273596@qq.com"
] | 993273596@qq.com |
834c25f6d6f4c11e1f3c7296dfd6e0b318479ed1 | 505b9695ca80c7a609a4d645ad86fd493bdfa4cf | /HW1.cpp | 25f1804d7acbb8f3ce6efd7a52cea2d813be1c0b | [] | no_license | oOIFOo/2019_spring_AI | 8d48dec2ecdaeff718b9fe957891e0674b83e7c3 | 607cedf70b19e526783389afe2e54933218c5471 | refs/heads/master | 2020-05-09T18:33:15.324352 | 2019-06-18T14:25:43 | 2019-06-18T14:25:43 | 181,345,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,391 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
class puzzle_info {
public:
int start_x;
int start_y;
int length;
int direction;
};
class node {
public:
int puzzle_index;
string word;
};
class binary_constraint {
public:
int puzzle1;
int puzzle2;
int index1... | [
"noreply@github.com"
] | oOIFOo.noreply@github.com |
2bdf1a6ede23fa1ad86219cb8a7178e7a9740282 | 560d39a4bd34e65f51294902a2be536adba8a5e7 | /timus/2002 Test Task.cpp | 3cc010ce55cf6c564efcef9401ebb21e0c18d8b4 | [] | no_license | Quinny/Online-Judge | ee4366cd3c4483054c2324a360266c48f2711bd9 | aa6ea160e7b888de7e320933d7689e1cccb62b95 | refs/heads/master | 2016-09-05T10:57:59.381735 | 2015-08-20T19:59:10 | 2015-08-20T19:59:10 | 20,700,034 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | /*
Basically a psuedo login system with error messages
*/
#include <iostream>
#include <map>
using namespace std;
int main(void){
map< string, pair<string,int> > users;
int n;
string command,p1,p2;
cin>>n;
for(int i=0;i<n;i++){
cin>>command;
if(command=="register"){
cin>>p1>>... | [
"thequinnftw@gmail.com"
] | thequinnftw@gmail.com |
84ad5e40b9fa1cb150722fe08ccf1c5b81da3ca1 | c5d95f48e175565c3917ab1b303d2c5689921b7c | /Google Demo iOS/Classes/Native/Il2CppCompilerCalculateTypeValues_20Table.cpp | 864d964a218f1cefd4cc89255d8a0ff2eb9c8331 | [] | no_license | jleiken/Unity-Labyrinth | 5d8fb5a43e428af5b8beaa8edb7e283b76a78941 | 9f1982edf16f572ca809463ce09913b0a25cc7e5 | refs/heads/master | 2021-04-06T06:50:43.306042 | 2018-03-12T01:54:07 | 2018-03-12T01:54:07 | 122,430,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213,806 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"jacobleiken@gmail.com"
] | jacobleiken@gmail.com |
b9e17f4c7395536ba68e8400e7fbf3557838f545 | 1291fbfd7a8d40b0cda2e9bc9d5c21efa23d7cff | /LCA/F.cpp | 79c57a75629f46bec4912d480b8f8e1b3a4445c2 | [] | no_license | HelenYO/algorithms | ebf90a469233b5b77a4144491898135716ee5ab3 | c4d4f9edaf8ee92755b1b5f00285f75a87210d2d | refs/heads/master | 2021-06-18T18:37:13.421150 | 2019-07-03T20:34:10 | 2019-07-03T20:34:10 | 135,949,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
vector<vector<int>> children(0);
vector<int> dep;
vector<int> nextDino;
vector<bool> isDelete;
vector<vector<int>> parentsBin(0);
int lg;
void dfs(int v, int height) {
dep[v] = height;
for (int i = 0; i < children[v].size(); i++) {
... | [
"noreply@github.com"
] | HelenYO.noreply@github.com |
763e4e131d6b16a51b4e742f95f0078b83960a1c | 3bf914538f23ddae0b37a43d489f40be846c711f | /gunMayhem/headers/Bullet.h | 0b1aa6ec8fd7f9c9cf98419475e83c88ffe0a65a | [] | no_license | 26eldrpau/gunMayhem | 61f0c9b1375eaa71dbdba36672b4cc3e9ed8a4e0 | 3b6eb5d0385365f3131c2511e29ffb5d3edcc652 | refs/heads/master | 2023-02-15T04:39:02.415073 | 2021-01-10T14:43:28 | 2021-01-10T14:43:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | h | #ifndef GUNMAYHEM_BULLET_H
#define GUNMAYHEM_BULLET_H
#include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Network.hpp>
#include <SFML/Audio.hpp>
using namespace sf;
class Bullet {
private:
float bulletVel;
RectangleShape bulle... | [
"noreply@github.com"
] | 26eldrpau.noreply@github.com |
9be5bf043133b8259e4af6bd0678fbb2e2688e2d | 7dc1ee882e3f2ba72089ee25b26a7c6ac9917526 | /Homework2/Task2/Wizzard.h | 05332b1a1c79f5bef6bc1fb9688dc93fba246cdf | [] | no_license | xMonny/Object-oriented-programming | 0cc92b81e754a264af7759e9e9cd43b8be4872f4 | f2451bc6fbbf98d674763259843028e2c9a4f960 | refs/heads/master | 2021-02-07T16:00:30.400040 | 2020-02-29T23:04:02 | 2020-02-29T23:04:02 | 244,047,970 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | h | #include "GameCharacter.h"
#pragma once
class Wizzard:public GameCharacter
{
public:
Wizzard();
};
| [
"sim0na1999@abv.bg"
] | sim0na1999@abv.bg |
c93309858f100cd752166877abbdd86fdb13c43f | 478f3cc6976b977cbc92c9d29f12d52211a35b3f | /3Dpoint/VoxelGrid重心改进降采样.cpp | b7ccacc0866fac4e02b8178bfab949764ce366d4 | [] | no_license | neophack/3DPoint | 2959b7a71fcaa7f7fc46831cfe7948fb7f398ead | 27b4e610ef8511a657805fc6ba29479158f1628a | refs/heads/master | 2023-05-08T16:09:56.509101 | 2021-05-29T02:22:44 | 2021-05-29T02:22:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,926 | cpp | //#include <iostream>
//#include <pcl/io/pcd_io.h>
//#include <pcl/point_types.h>
//#include <pcl/filters/voxel_grid.h>
//#include <pcl/visualization/pcl_visualizer.h>
//#include <time.h>
//#include<pcl/kdtree/kdtree_flann.h>
//pcl::visualization::PCLVisualizer::Ptr simpleVis(pcl::PointCloud<pcl::PointXYZ>::ConstPtr cl... | [
"45490618+JohnBing@users.noreply.github.com"
] | 45490618+JohnBing@users.noreply.github.com |
a104d7da9fbcbbc44f99d3f6a6e8140c1b5a1654 | 581d6eeb48dbd442dca27c1fa83689c58ffea2c9 | /Sources/Elastos/LibCore/src/org/apache/http/impl/conn/IdleConnectionHandler.cpp | 491e830d8bcc5e7a2bdf4b34b7ccf52d674a8b81 | [
"Apache-2.0"
] | permissive | TheTypoMaster/ElastosRDK5_0 | bda12b56271f38dfb0726a4b62cdacf1aa0729a7 | e59ba505e0732c903fb57a9f5755d900a33a80ab | refs/heads/master | 2021-01-20T21:00:59.528682 | 2015-09-19T21:29:08 | 2015-09-19T21:29:08 | 42,790,116 | 0 | 0 | null | 2015-09-19T21:23:27 | 2015-09-19T21:23:26 | null | UTF-8 | C++ | false | false | 5,434 | cpp |
#include "IdleConnectionHandler.h"
#include <elastos/Logger.h>
using Elastos::Core::ISystem;
using Elastos::Core::CSystem;
using Elastos::Core::Math;
using Elastos::Utility::IHashMap;
using Elastos::Utility::CHashMap;
using Elastos::Utility::ISet;
using Elastos::Utility::IIterator;
using Elastos::Utility::Logging::Lo... | [
"shao.jin@kortide.com"
] | shao.jin@kortide.com |
a0c8d76b9b0918c55e6a5f58cfe4df790fb483d6 | 97743ecaea773b4ea60856ad656989ef51f139af | /OpenGL/GraphicsEngine/project3D/Shader.cpp | 36d78975e2d061972c9d38bebe1d32f4383fc166 | [
"MIT"
] | permissive | immrsv/AIE_OpenGL | a7a7bc3de6fa8dd9fcbda32e0c5ed21374a57484 | 3a2411d49d26e97890a3355e44bf0b04470a5e8c | refs/heads/master | 2021-06-13T10:09:00.715156 | 2017-02-22T06:17:37 | 2017-02-22T06:17:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,319 | cpp | #include <gl_core_4_4.h>
#include <iostream>
#include <fstream>
#include <string>
#include "Shader.h"
#include <map>
std::map<std::string, unsigned int> Shader::collection = std::map<std::string, unsigned int>();
bool Shader::LoadShaderFromFile(const char* filePath, std::string& code)
{
code = "";
// Read the Vert... | [
"s171866@ad.aie.edu"
] | s171866@ad.aie.edu |
d2cd39840552e2f7345987f86c07ed96d6ad18ba | d91571e3325bba9192fcb3e2108f55ce4c29c431 | /Codeforces/Death Note.cpp | 72af8e085eae39e3ceef950460f1a2e1690cf1ff | [] | no_license | rajbir21-droid/Code | 0dad69d9e8e75f1a1f8098bed9405524c894b5eb | d61b57dbd2588138b266a5f9e09e7ba721063e36 | refs/heads/main | 2023-08-13T12:18:08.546356 | 2021-09-16T18:25:55 | 2021-09-16T18:25:55 | 380,495,482 | 1 | 0 | null | 2021-07-04T17:38:26 | 2021-06-26T12:22:28 | C++ | UTF-8 | C++ | false | false | 467 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define vi vector<int>
#define pii pair<int,int>
#define vii vector<pii>
#define rep(i,a,b) for(int i=a;i<b;i++)
#define ff first
#define ss second
#define setBits(x) builtin_popcount(x)
int main(){
int n,m;
cin>>n>>m;
vi v(n);
rep(i,0,n){
ci... | [
"banerjeerajbir2888@gmail.com"
] | banerjeerajbir2888@gmail.com |
269ee0ebdcd9a8beed98ff1d02f371efcbd128ac | a0559b31d618ebdf229a680c835db8e4e5d4b3b3 | /heap.cpp | 93f523d740ed087d4815d013d8369e258ee98aba | [] | no_license | skancher18/310_project3 | da2dea40e6f92f86aebc4a9d694dc50fc506ffa0 | 5e774fe9db781d9b9859316fa8548fbdca8bf038 | refs/heads/main | 2023-04-13T23:00:18.892755 | 2021-04-23T01:08:44 | 2021-04-23T01:08:44 | 360,724,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,553 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include "heap.h"
int count = 0;
HEAP *heapInit(int capacity){
HEAP *heap;
heap = (HEAP *) calloc(1, sizeof(HEAP));
heap->capacity = capacity;
heap->size = 0;
heap->elements = (ElementT *) calloc(capacity+1, sizeof(ElementT));
... | [
"noreply@github.com"
] | skancher18.noreply@github.com |
22ad8926cf62c253dc30d0d35e3218a33d239e6b | 00525ff9680f30a8dfb3288997f14e8ab5baf6b3 | /examples/LedStrip/LedStrip.ino | 2bbc045c1cb480cf0ed64d28d1881b52568db2e8 | [
"MIT"
] | permissive | Squirco/homie-esp8266 | 77a0aac46ae74891de8247daa48e8784e2f0fc7e | f5da4e4825271046f711d19a1aaf97caed792845 | refs/heads/master | 2021-01-21T07:35:21.047693 | 2016-10-14T05:33:38 | 2016-10-14T05:33:38 | 66,595,507 | 0 | 1 | null | 2016-08-29T15:24:10 | 2016-08-25T21:45:30 | C++ | UTF-8 | C++ | false | false | 1,146 | ino | #include <Homie.h>
const unsigned char NUMBER_OF_LED = 4;
const unsigned char LED_PINS[NUMBER_OF_LED] = { 16, 5, 4, 0 };
HomieNode stripNode("strip", "strip");
bool stripLedHandler(HomieRange range, String value) {
if (!range.isRange) return false; // if it's not a range
if (range.index < 1 || range.... | [
"nivramdu94@gmail.com"
] | nivramdu94@gmail.com |
33c8a6c126f7a90a25a649e36d80ee60a2a5582c | de7e771699065ec21a340ada1060a3cf0bec3091 | /analysis/common/src/java/org/apache/lucene/analysis/core/FlattenGraphFilter.h | c5ca5c859fd90417795354006eafee02c5beeee3 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,176 | h | #pragma once
#include "../../../../../../../../../core/src/java/org/apache/lucene/analysis/TokenFilter.h"
#include "../../../../../../../../../core/src/java/org/apache/lucene/util/RollingBuffer.h"
#include "stringhelper.h"
#include <memory>
#include <deque>
// C++ NOTE: Forward class declarations:
#include "core/src/... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
29524b7a80a852e46dbbf73ebef2dc0edc64c2d6 | 45c6756793bb5765f152e670a9607cbbc74448cc | /source/controller/InteractiveController/Classes/StartHandler.h | 34ab094c1861beeb86a6c37029f9ccfbf33089f6 | [] | no_license | marekfoltyn/InteractiveGame | 7a89a30770306ba528e113c3ba291b5a46470df3 | 84384ee352a1b5446e64a62a5431e35d855cce38 | refs/heads/master | 2021-01-24T21:26:30.398058 | 2016-05-17T14:51:44 | 2016-05-17T14:51:44 | 46,618,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | h | //
// StartHandler.h
// InteractiveController
//
// Created by Marek Foltýn on 29.02.16.
//
//
#ifndef StartHandler_h
#define StartHandler_h
#include "Controller.h"
#include "AbstractHandlers.h"
/**
* First handler responsible for the application initialization,
* network start and first scene setup
*/
class S... | [
"marek@foltynovi.cz"
] | marek@foltynovi.cz |
3ab01e48f2aa4ff8acc164569fd7f9a9be013bf5 | 39462c3882b97d4f87f952c2f217fb90033626a6 | /tablemodel.h | 0df4e3533585e79575267301c40bc80786031025 | [] | no_license | lazin87/AddressBook | f94e7acd14b2a7337e492244f3dcc33f9fa32ceb | 393b8655fd3b9e98cc1c1e88311b68672e942d3d | refs/heads/master | 2016-09-02T03:12:24.991633 | 2015-03-05T15:31:37 | 2015-03-05T15:31:37 | 31,674,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | h | #ifndef TABLEMODEL_H
#define TABLEMODEL_H
#include <QAbstractTableModel>
class TableModel : public QAbstractTableModel
{
Q_OBJECT
public:
typedef QPair<QString, QString> DataType;
typedef QList< DataType > ListDataType;
// using DataType = QPair<QString, QString>;
// using ListDataType = QList< Da... | [
"rafal.lazinski@gmail.com"
] | rafal.lazinski@gmail.com |
44519355dbdaca30ccc9f2337c1669c36bb3ece5 | f5055330eb2a66958e9c6a88e1c981cf5373bc87 | /src/channel/hdr/bch_codec_itpp.hpp | b41b6434d7b8aaa3e8dc68d642948118f7749ad6 | [] | no_license | snikulov/vidstream | 4c671c476c2b2478c78bd088a54e899cd665f6ab | 76689e96d0201056092f937221ef66b1c997aa9f | refs/heads/master | 2022-08-02T15:30:07.984508 | 2020-05-29T10:06:26 | 2020-05-29T10:06:26 | 262,551,939 | 0 | 0 | null | 2020-05-29T06:54:46 | 2020-05-09T11:03:43 | BitBake | UTF-8 | C++ | false | false | 933 | hpp | #ifndef BCH_CODEC_ITPP_HPP__
#define BCH_CODEC_ITPP_HPP__
#include <channel/ecc_codec.hpp>
#include <itpp/itcomm.h>
#include <boost/scoped_ptr.hpp>
class bch_codec_itpp : public abstract_ecc_codec
{
public:
explicit bch_codec_itpp(int n, int t)
{
codec_.reset(new itpp::BCH(n, t));
... | [
"sergey.nikulov@gmail.com"
] | sergey.nikulov@gmail.com |
9db78e604957041c2a0119d6aba8310c82037c85 | 3b74df8a933fbcb3ee3f7a2202aacdc240b939b7 | /libraries/chain/database.cpp | 9995c96465646f4506a9c515eff7b5f219b29dc9 | [
"MIT"
] | permissive | techsharesteam/techshares | 746111254c29d18376ddaddedcb6b3b66aa085ec | 47c58630a578204147057b7504e571e19546444f | refs/heads/master | 2021-01-21T14:43:23.261812 | 2017-04-23T13:03:31 | 2017-04-23T13:03:31 | 58,311,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | cpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitat... | [
"thsgroupteamcontact@gmail.com"
] | thsgroupteamcontact@gmail.com |
1d69c98ff582b6046e7072de474c1ec497ef1c12 | 51928337483095b12f046eda9ea17ba0b1a81fc0 | /3rdparty/cppwinrt/10.0.15063.0/winrt/internal/Windows.Data.Xml.Dom.0.h | ef0f981ea70fa3d84a3670c76a8f513b76f1b4b5 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | kingofthebongo2008/geometry_images | 8592aa99e53a16821725a2564313eeafb0462362 | 53109f9bc9ea19d0f119f0fe71762248d5038213 | refs/heads/master | 2021-01-19T03:02:56.996122 | 2017-07-06T13:25:47 | 2017-07-06T13:25:47 | 87,302,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,676 | h | // C++ for the Windows Runtime v1.0.170331.7
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
WINRT_EXPORT namespace winrt {
namespace ABI::Windows::Data::Xml::Dom {
struct IDtdEntity;
struct IDtdNotation;
struct IXmlAttribute;
struct IXmlCDataSection;
struct IXmlCharacterData;
struct... | [
"stefan.dyulgerov@gmail.com"
] | stefan.dyulgerov@gmail.com |
dd0062072f671ebf347898ac45c75b4070ea4c23 | 70ecac44b229e4e35050fd93ccc8b8778dc94720 | /min.cpp | ba702e668de768463fd166534cf31fbac92175d8 | [
"MIT"
] | permissive | t-mochizuki/cpp-study | 5602661ee1ad118b93ee8993e006f84b85a10a8b | 1f6eb99db765fd970f2a44f941610d9a79200953 | refs/heads/main | 2023-07-21T13:55:11.664199 | 2023-07-10T09:35:11 | 2023-07-10T09:35:11 | 92,583,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <stdio.h>
#include <iostream>
#include <cstdarg>
using namespace std;
#define REP(a, i, n) for (int i = a; i < n; ++i)
int func(const int N, const int argv...) {
va_list xs; va_start(xs, argv); int x = argv;
REP(1, i, N) {
int y = va_arg(xs, int);
if (x > y) {
x = y;
... | [
"t-mochizuki@users.noreply.github.com"
] | t-mochizuki@users.noreply.github.com |
0f42ddf01b7e461b10920b3f052bbd8e12f61856 | b6ab3efa1ae42100b6865bad18be7699c0dddf9b | /CALProject2/extra.cpp | 0f434222c094c01aa7a696483386e8f7a808ce37 | [] | no_license | Ncf16/CAL_PROJ2 | 0453b146787da3af834853bfcd8edfe7e6536da0 | a2ac465502c5510ee5f91fd0134b50bc7cab9c1a | refs/heads/master | 2021-01-15T10:30:51.472239 | 2016-03-03T13:15:25 | 2016-03-03T13:15:25 | 36,028,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include "extra.h"
int GetMilliCount()
{
timeb tb;
ftime(&tb);
int nCount = tb.millitm + (tb.time & 0xfffff) * 1000;
return nCount;
}
//---------------------------------------------------------------------------
int GetMilliSpan(int nTimeStart)
{
int nSpan = GetMilliCount() - nTimeStart;
if (nSpan < 0)
nSpan ... | [
"joaofilipe26@gmail.com"
] | joaofilipe26@gmail.com |
79ee7d0e6b84b6ddb71b1ae57cea49052f3fde1a | 272251b2685e16bf073eb70d7b3baebe628a5211 | /AcceptorConnector/Socket.h | c96aa92799e2ca966b954b8fe78b27de7db3e346 | [] | no_license | huiliu/Learn | f33bef135fb7109e08a7144bada42231e4de952f | 47456c3b2a2bc97ad30d202bc5c8c7d86586bdfc | refs/heads/master | 2021-01-17T09:36:04.526501 | 2020-10-12T16:34:54 | 2020-10-12T16:34:54 | 41,966,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | #pragma once
class InetAddress;
class Socket
{
public:
static int createSocket();
public:
explicit Socket(int fd) : m_fd(fd) {}
~Socket();
Socket(const Socket&) = delete;
Socket& operator=(const Socket&) = delete;
Socket(Socket&& other);
public:
int fd() const { return m_fd; }
public:... | [
"hui.liu.e@gmail.com"
] | hui.liu.e@gmail.com |
bbbd55a8b6636440c2f4e61b922edf185e576f76 | 88ff05814ce15fbc3e4a7ac5ac23736ea6eb9431 | /redplane-store/apps/state_store/store_tester.h | 7f32043c890f61674335436f1c2041c4810f7d20 | [
"Apache-2.0"
] | permissive | gabriel-jcx/redplane-public-test | 12deb9e2ebee335629603aa00d6e932269c89a44 | da1f80ee50f977c6e7f01bbaa9c4c6b2fb82122b | refs/heads/master | 2023-05-29T08:39:18.658921 | 2021-05-26T16:52:38 | 2021-05-26T16:52:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | h | #include <string>
#include <iostream>
#include <sys/mman.h>
#include <gflags/gflags.h>
#include <signal.h>
#include <thread>
#include <chrono>
#include <ctime>
#include <numa.h>
#include <unordered_map>
#include "raw_transport/raw_transport.h"
#include "redplane_header.h"
DEFINE_uint32(threads, 1, "Number of workers")... | [
"dkimcs@gmail.com"
] | dkimcs@gmail.com |
e234edc3ba17f2be0bd5fb2d73517f7259ec026a | a4fc431d3ba45eba078335328814ddd3970f9c01 | /src/plugins/servicebackends/windows/windowsservicebackend.h | f3a0b1ee5926e99d208a61576e9ea183021233cd | [
"BSD-3-Clause"
] | permissive | Light-Wizzard/QtService | 87dc3cae31c8e9d9f0e47d2154e8b7b18d06fb63 | d3d3d72a4d4146cc3be829bc10d7ea086c57dec6 | refs/heads/master | 2022-11-10T13:30:50.294632 | 2020-06-30T07:04:04 | 2020-06-30T07:04:04 | 266,441,076 | 0 | 0 | BSD-3-Clause | 2020-05-24T00:12:09 | 2020-05-24T00:12:09 | null | UTF-8 | C++ | false | false | 1,684 | h | #ifndef WINDOWSSERVICEBACKEND_H
#define WINDOWSSERVICEBACKEND_H
#include <QtCore/QMutex>
#include <QtCore/QWaitCondition>
#include <QtCore/QThread>
#include <QtCore/QPointer>
#include <QtCore/QAbstractNativeEventFilter>
#include <QtCore/QTimer>
#include <QtCore/QLoggingCategory>
#include <QtService/ServiceBackend>
#... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
e76e103002671c5c477501eed0ab1dab657c83d2 | 7aaba0d10df1545c8e3396b4209ffebf10dd62e0 | /sfml_rigidBody/controller.hpp | 6ee498cbda1c895fae02919a95392949e44c9a62 | [] | no_license | LEE-JAE-HYUN179/pinball_opengl | 8eada0b6974a4a9683110421ee4d814d0c9114c3 | 73d7177d208ab1664c0d27d94dcbedff0f7e794e | refs/heads/master | 2022-12-22T12:37:31.393153 | 2020-10-05T08:09:09 | 2020-10-05T08:09:09 | 301,335,855 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 598 | hpp | //
// controller.hpp
// sfml_rigidBody
//
// Created by 이재현 on 2020/10/04.
//
#ifndef controller_hpp
#define controller_hpp
#include "game.hpp"
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
class Controller{
public:
sf::RenderWindow* m_windo... | [
"leejaehyun1223@gmail.com"
] | leejaehyun1223@gmail.com |
fc9941554b8893429b43f19c70d2edf9f0600d42 | 375c093f555bddd1ce10e80530dba9119cc24306 | /BOJ/6975.cpp | ea5f4d836fce49ca146deb9bb8472c4c26fbdb72 | [] | no_license | Seojeonguk/Algorithm_practice | e8c2add155a1341087e4c528f5346c8711525f96 | b29a1a7421edf2a9968229822dcbdc5a7926e2f5 | refs/heads/master | 2023-08-25T11:40:40.076347 | 2023-08-25T09:07:45 | 2023-08-25T09:07:45 | 154,248,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #ifdef _DEBUG
#include "bits_stdc++.h"
#else
#include "bits/stdc++.h"
#endif
#pragma warning(disable:4996)
using namespace std;
int t,x;
int main() {
#ifdef _CONSOLE
freopen("sample.txt", "r", stdin);
#endif
scanf("%d", &t);
while (t--) {
scanf("%d", &x);
int sum = 0;
for (int i = 1; i < x; i++)
if (x ... | [
"uk7880@naver.com"
] | uk7880@naver.com |
11f59af8066cce82c3efc711c712684b6f2ff28a | d634429fd2c349aa159d6ff2aef924b8ac4ec39b | /Minimum Spanning Tree - GFG/minimum-spanning-tree.cpp | 7ebc627b6cc5c8bfd9e7eb486dc6fbe201ea59d7 | [] | no_license | rana11shubham/CPP | 40fd70348da723f04af6af3954fb698bacc75c99 | 015b22484710da13716c9f5d840f0ed6e7dcc9c9 | refs/heads/master | 2022-07-17T08:57:45.303297 | 2022-07-15T19:29:11 | 2022-07-15T19:29:11 | 163,268,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | cpp | // { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to find sum of weights of edges of the Minimum Spanning Tree.
int spanningTree(int V, vector<vector<int>> adj[])
{
vector<int>dist(V,INT_MAX);
dist[0]=0;
v... | [
"36005170+rana11shubham@users.noreply.github.com"
] | 36005170+rana11shubham@users.noreply.github.com |
a5950b5dc2da721d01130180b0a665d3d3e19ffc | 79715e048f2e9f03ca00ca1be2ba80ebc726a184 | /2colorable.cpp | 4a861e634fabb3b4d48877d38322a6242b4cd2b2 | [] | no_license | anuprasb6541/CS340 | 5c4c3a1350491b60d6f98a43a8c9566121f178d7 | bad2e80b6abe39a4a48999ccb430bf9f5349231c | refs/heads/master | 2022-11-30T18:47:11.376051 | 2020-08-17T21:13:45 | 2020-08-17T21:13:45 | 286,343,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"noreply@github.com"
] | anuprasb6541.noreply@github.com |
40848a4e391a16c25560b00b64e38813a0dbc161 | 164933e94f91f41cc595a8d400bca2d6229ac77e | /main.cpp | 68f7a46799afa9f1122f02dac51b475254b2cae7 | [] | no_license | YanaShpot/Client | ef5a06146e4f57dfb6bf962428de648b03fe2ea4 | 08fd6b7b409f6e00e22b25bca077f14bca5274ed | refs/heads/master | 2021-01-25T06:56:37.422730 | 2017-06-07T13:10:29 | 2017-06-07T13:10:29 | 93,631,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <fstream>
#include <iostream>
#define SIZE 3
using namespace std;
void error(const char *msg)
{
perror(msg);
... | [
"n.y.shpot@ucu.edu.ua"
] | n.y.shpot@ucu.edu.ua |
a72a2fe73717610af1159700dada3227b3a2c31f | 21fc17e66794f9f7081c431a16b56d3fb8d09283 | /gameplay.cpp | 9bfbaf76460a13fd4536f9749271b9f4beb91437 | [] | no_license | gfreenan755/C-courses | 1fd2b06be86e8473d4382c2dae03abdefe132491 | 698dea043ce6b7801dd965c55a705830ebccc346 | refs/heads/master | 2020-05-09T13:48:51.085846 | 2019-04-13T12:38:28 | 2019-04-13T12:38:28 | 181,168,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | #include "gameplay.h"
Gameplay::Gameplay()
{
}
| [
"noreply@github.com"
] | gfreenan755.noreply@github.com |
45c4e678d0d12550350d99d2c049896ef3ad8530 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.7.0_timing/control/magma_winthread.cpp | 17d569b56bbe24608e8e83d639f8550b0691b4c1 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,972 | cpp | /**
*
* magma_winthread.cpp
*
* This file handles the mapping from pthreads calls to windows threads.
* MAGMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.3.1
* @author Piotr Luszczek
* @date September 2015
*
* This file ... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
101f2c947d5a8cd2de99cf8dc87dce1be8d428cc | d4a41b8625a48e2870150b0494be830d5b5d8091 | /variadic_template.cpp | 613e4ed64dcfdfde79cca4ff300f03b20bd6ed64 | [] | no_license | coconutEgg/AdvancedCPP | 0eb25add6afd52078218b61ef193ee33b56120a6 | 85581b37967045beecea9b9c5f857808fa5af832 | refs/heads/master | 2020-12-29T11:07:57.524290 | 2020-02-12T03:10:51 | 2020-02-12T03:10:51 | 238,586,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include <iostream>
void print()
{
}
//where to put ... is just the question of grammer
template<typename T, typename ... Types> // frist place of ...
void print(const T& firstArg, const Types&... args) //second place of ...
{
std::cout<<firstArg<<endl;
print(args...); //recursive calls itself; third place o... | [
"he.zhu@utexas.edu"
] | he.zhu@utexas.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.