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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bdff174d6932bfe8d17a3678c9bdbae015316d31 | b4cf51e23c8bfb31f8a2c2e3de94f25e1b7a3109 | /include/afina/Executor.h | dba7c5388e945d311c48a46de005858739c0e5bc | [] | no_license | OlegKafanov/afina | 4d77fccaacb2b6b34e379e67a770c198b3584fd1 | 999549aadbe7d01dc8dd44133e2fc90f4bda2113 | refs/heads/master | 2021-09-05T10:37:46.443781 | 2018-01-26T13:38:45 | 2018-01-26T13:38:45 | 104,130,309 | 1 | 0 | null | 2017-09-19T21:24:26 | 2017-09-19T21:24:26 | null | UTF-8 | C++ | false | false | 2,775 | h | #ifndef AFINA_THREADPOOL_H
#define AFINA_THREADPOOL_H
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
namespace Afina {
/**
* # Thread pool
*/
class Executor {
enum class State {
// Threadpool is fully operation... | [
"ph.andronov@corp.mail.ru"
] | ph.andronov@corp.mail.ru |
aec2dc05e56c69e0980256a383fe9fed2b0134d5 | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/PrimalItemConsumable_Kibble_BoaEgg_parameters.h | 3a727f17af9ca4be647c885e83ee850a99a66337 | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #pragma once
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function P... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
9ea73474ab4f505e4e5929aa6869c1f97eceed3a | ee491a9c89b82b0c2732a357e13cbffa6954bdf2 | /src/config.h | 6495c812f55ec939f429d4e9e849b89c11ab3bf4 | [
"MIT"
] | permissive | maxhodak/neat | 9a1da908ab55ffa30f096345e1dc097fe7f4cec9 | 3f844173828eb22009cc8d36c28e75a22adfbae8 | refs/heads/master | 2021-01-02T08:51:37.479731 | 2010-02-14T03:23:44 | 2010-02-14T03:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | h | #ifndef __CONFIG_H
#define __CONFIG_H
/******BEGIN LICENSE BLOCK*******
* The MIT License
*
* Copyright (c) 2009 Max Hodak
*
* 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 re... | [
"maxhodak@gmail.com"
] | maxhodak@gmail.com |
430818d690cd563f4429ee7b3dfa63776df05920 | 0e5ea03c2455b34a2f416c6c94c1669d7fe26e37 | /_2018_03_20 BattleShip 1/WhiteMtrl.h | 5a31740c520b0f99867c4cc7e9cd95328c4ecfcb | [] | no_license | Arroria/__old_project | 8682652fac9a95898b41eff5b4fdfab023cda699 | efb655b2356bd95744ba19093f25ab266a625722 | refs/heads/master | 2020-09-05T08:02:44.806509 | 2019-11-06T18:01:23 | 2019-11-06T18:01:23 | 220,033,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | #pragma once
#include "Singleton.h"
class WhiteMtrl :
public Singleton<WhiteMtrl>
{
private:
D3DMATERIAL9 m_mtrl;
public:
D3DMATERIAL9 GetMtrl();
public:
WhiteMtrl();
~WhiteMtrl();
};
#define WHITEMTRL (SingletonInstance(WhiteMtrl)->GetMtrl())
| [
"mermerkwon@naver.com"
] | mermerkwon@naver.com |
7fca6015b98a46de8c88ad9670f2c30b424d1ce2 | 41ce1bb8f39f17d3500e3d3eece7723948e4ad87 | /First term/changingPartsOfArray/stdafx.cpp | ddc6d60c2c7048ff13245c96c3c30a97c37f6c5e | [] | no_license | KanaevaEkaterina/Projects.2012-1 | 6e5c6edc6c6eaca7dcc115fe418985d69163d6cc | 69c32b4021a8b3b7f0c8edbe4fbf54514d1c6f14 | refs/heads/master | 2021-01-10T18:38:12.555013 | 2013-05-29T08:16:27 | 2013-05-29T08:16:27 | 3,605,254 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 575 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// homework1.5.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDA... | [
"kanaeva.katerina6@gmail.com"
] | kanaeva.katerina6@gmail.com |
fb422b294af9b2d6f1cd6a45ba80e502efa6f39f | 980f03e45ac8bfb9f0e2bb78673337f8e7db20e6 | /src/InputManager.h | 0a50dd499b6236669d2385cd65ff5e0de9f514d1 | [] | no_license | synystro/lux2Dengine | 699fe1d0ec4ed3fdd012c736203465028e560559 | 8c5810209cea1539867af58c9f9a96ae6e09b24e | refs/heads/master | 2023-04-04T11:26:11.943089 | 2021-03-30T17:23:51 | 2021-03-30T17:23:51 | 353,074,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #pragma once
#include <vector>
#include <algorithm>
#include "./Controls.h"
class InputManager {
private:
std::vector<int> keysPressed;
public:
bool CheckKeyPressed(int key) {
if(std::find(keysPressed.begin(), keysPressed.end(), key) != keysPressed.end()) {
return t... | [
"pedro_araujo@live.com"
] | pedro_araujo@live.com |
7ea2d204374e67e137dc9b0d02e0873fd66a21d1 | d5550f431e946e009a88020287966b6813c72053 | /数据结构课程设计/迷宫优化/迷宫优化.cpp | 335b3105d2dca39d7b69bdefffbaf998fcc39e14 | [] | no_license | ZZLZHAO/Data-Structure-Course-Design | e4e486dc4025a1e13db564c7327cd3b0b08462d7 | 205d2f333b3ccb9c7494715b0ef42813deb0149b | refs/heads/main | 2023-05-26T13:32:09.019377 | 2021-06-04T14:13:47 | 2021-06-04T14:13:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,930 | cpp | #include<iostream>
#include<algorithm>
#include<string>
#include<vector>
#include<cmath>
#include<queue>
#include <Windows.h>
#include <time.h>
#include <iomanip>
#define N 40 // 棋盘/迷宫 的阶数
#define M 20 // 棋盘/迷宫 的阶数
using namespace std;
class Node
{
public:
int x, y; // 节点所在位置
int F, G, H; // G:从起点开始,沿着产的路径,移动到网格上... | [
"1072117118@qq.com"
] | 1072117118@qq.com |
2d028c03717ec52a818ab78a4a19ff8cea66829d | 09e3925e225e2d3ea40245d48e8588dcf7ae3c07 | /NeighbouringEnemy.cpp | 0b2b3d5313e69064ef747fdf2a5d6f3d8d660165 | [] | no_license | frankenstein32/Dynamic-Programming | f5e12e176184ff4c5efcdeb534ae6285bc3216c7 | b81a2cdd65d19bd27ce9815d8b0bef8a688b9357 | refs/heads/master | 2021-10-10T12:03:00.238303 | 2021-10-01T09:08:19 | 2021-10-01T09:08:19 | 211,931,412 | 0 | 2 | null | 2020-10-06T13:34:35 | 2019-09-30T18:47:56 | Java | UTF-8 | C++ | false | false | 3,611 | cpp | #include "algorithm"
#include "iostream"
#include "numeric"
#include "iomanip"
#include "cstring"
#include "math.h"
#include "bitset"
#include "string"
#include "vector"
#include "ctime"
#include "queue"
#include "stack"
#in... | [
"noreply@github.com"
] | frankenstein32.noreply@github.com |
88e78929c23e138486ca606abc87344660912868 | dc37fe84633264f6c829d69d3f41b64760584a64 | /OpenGLConfig/indexbuffer.cpp | e1d41267973ac43a7da8d1aa3a8b8da48c0657c5 | [] | no_license | Hyperionlucky/SuperGis | fa958be38ed369ab659d9ad778c5e04f4b9f29c6 | 99fb4ca20a68328745d4c2d6440cdf424154720d | refs/heads/master | 2020-12-27T14:30:12.030399 | 2020-02-03T10:29:50 | 2020-02-03T10:29:50 | 237,936,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | #include "indexbuffer.h"
#include "glcall.h"
IndexBuffer::IndexBuffer(const unsigned int* data, unsigned int count, unsigned int modeIn) :
count(count), mode(modeIn)
{
ASSERT(sizeof(unsigned int) == sizeof(GLuint));
GLCall(glGenBuffers(1, &rendererID));
GLCall(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ... | [
"1943414735@qq.com"
] | 1943414735@qq.com |
e3fed17e4f134d3a4586de28c294c9e74c534a9c | 4d42762ddb5034b84585170ca320f9903024fa7f | /build/iOS/Debug/include/Fuse.Controls.Panel.h | a25e469abcbeea3d347648186595632321b46bf9 | [] | no_license | nikitph/omkareshwar-ios | 536def600f378946b95362e2e2f98f8f52b588e0 | 852a1d802b76dbc61c2c45164f180004b7d667e6 | refs/heads/master | 2021-01-01T18:58:16.397969 | 2017-08-01T18:53:20 | 2017-08-01T18:53:20 | 98,473,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,656 | h | // This file was generated based on '/Users/Omkareshwar/Library/Application Support/Fusetools/Packages/Fuse.Controls.Panels/1.1.1/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Controls.LayoutControl.h... | [
"nikitph@gmail.com"
] | nikitph@gmail.com |
b6c07b2b3d14df4bf3e34a36d9e0800e65fbd560 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/StepElement_ElementAspect.hxx | 92c10c2938acecb17b7ca6b21960d351454af9ff | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,151 | 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 _StepElement_ElementAspect_HeaderFile
... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
2cf5faa0ac801941a562ffef5740446db93e309a | d022883d70d769802dc9f22a5a34759558e06193 | /src/network/Server.h | af1cada8ebd3809e63abaf11cd66232ed6eec22d | [] | no_license | sokyu-project/sokyu-node | 1599e9859a4b08ec29bba8b1f14230807bed8d3a | c3c3b2968d237e8067ac11bafd142d734c6006da | refs/heads/main | 2023-03-02T01:48:24.014655 | 2021-01-28T05:24:58 | 2021-01-28T05:24:58 | 333,637,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #ifndef SERVER_H
#define SERVER_H
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <thread>
#include <atomic>
#include <mutex>
#include "NetworkHandler.h"
// Simple TCP server we will use to communicate with other nodes and respond to requests
typedef unsigned c... | [
"nnemo288@gmail.com"
] | nnemo288@gmail.com |
6a24f7c5cc162449b7a66a56e4492725553bb643 | 404fb17c7661b6fd0085234decd66618722a93b6 | /Scripts/BDT/neutral_bdt_train.cxx | 962935aa83173805778d1b089413742b4213756f | [] | no_license | ionic-corinthian/Analysis | 3485c0be13dfbe531b8cc3029905f0920bfaa991 | 439d238e313a0441cc0665ec4fb47d7dabdbcae9 | refs/heads/master | 2020-03-17T17:25:58.236033 | 2018-05-17T10:11:55 | 2018-05-17T10:11:55 | 133,788,080 | 0 | 0 | null | 2018-05-17T09:26:14 | 2018-05-17T09:08:29 | C++ | UTF-8 | C++ | false | false | 6,128 | cxx | #include <cstdlib>
#include <iostream>
#include <map>
#include <string>
#include "TChain.h"
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TObjString.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TMVA/Factory.h"
// #include "TMVA/DataLoader.h"
#include "TMVA/Tools.h"
#include "TMVA/... | [
"colmmurphy@pplxint8.physics.ox.ac.uk"
] | colmmurphy@pplxint8.physics.ox.ac.uk |
845243c8f6b344556cccc35b4fa50e25132b9b5b | 4f81df57bea3c8689e0ddc2b2315d2a0d1528d0d | /CK3toEU4/Source/Mappers/CultureMapper/CultureMapper.cpp | f2c3225567dc56923c5edd0870890766c90d964a | [
"MIT"
] | permissive | AquosPoke206/CK3toEU4 | 25e04b50eced45ba769287764ada6f82897749e5 | 27f1c28281a0f560ffaf2136b1f4c8332257943c | refs/heads/master | 2023-01-03T09:32:53.256805 | 2020-10-22T09:24:14 | 2020-10-22T09:24:14 | 300,824,830 | 0 | 0 | MIT | 2020-10-22T09:24:15 | 2020-10-03T07:41:51 | null | UTF-8 | C++ | false | false | 2,842 | cpp | #include "CultureMapper.h"
#include "Log.h"
#include "ParserHelpers.h"
mappers::CultureMapper::CultureMapper(std::istream& theStream)
{
registerKeys();
parseStream(theStream);
clearRegisteredKeywords();
}
mappers::CultureMapper::CultureMapper()
{
LOG(LogLevel::Info) << "-> Parsing culture mappings.";
registerKey... | [
"noreply@github.com"
] | AquosPoke206.noreply@github.com |
6b51fa81ff2a0ee1a387dbfc4d14a0869712166b | 8bef7aa0c6c24b6897c407450052aecb357399c0 | /spoj/PT07Y.cpp | 46a500bb73ad2ef5f96902af0250527169b3c134 | [] | no_license | faishol01/cp-solution | 05792f507298b1317fe093a5614c2d976b00d75d | 8a3c5984630019c48180d6d46ffcfae7a1bf228e | refs/heads/master | 2018-10-08T10:26:41.518706 | 2018-06-24T23:40:03 | 2018-06-24T23:40:03 | 77,578,760 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
/*
5 4
1 2
2 3
3 1
4 5
*/
ll n,m;
bool stt=true;
vector < vector<int> > adjList;
vector <bool> visit;
void DFS(int node){
visit[node]=1;
for(int i=0;i<adjList[node].size();i++){
int x = adjL... | [
"noreply@github.com"
] | faishol01.noreply@github.com |
7acdde4794f58997746ce847d49b42d872517820 | d8ae6672046671d5fbdb33c81d557e6384d85731 | /src/wallet.cpp | 985d588a2bf87931eb4d6533a28d5880eebb8345 | [
"GPL-3.0-only",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | Phikzel2/haroldcoin-main-23-may | 74862be1e864e8397c7c0fa6e4b9216ed7d9cdbe | f617bb8aa7dbcce1310312f0062a1caf6ebf268c | refs/heads/main | 2023-05-05T08:27:37.573453 | 2021-05-26T19:32:49 | 2021-05-26T19:32:49 | 371,049,557 | 0 | 0 | MIT | 2021-05-26T13:46:30 | 2021-05-26T13:46:29 | null | UTF-8 | C++ | false | false | 132,273 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The haroldcoin developers
// Distributed under the MIT software license, see the accompanying
// file COP... | [
"76849967+Harold-Coin@users.noreply.github.com"
] | 76849967+Harold-Coin@users.noreply.github.com |
a3f94b9ce35b5cecaea905cf604056a5b4504af0 | f6d9ab3fc22d6e7bd95f330ec35bd1bfca81332e | /rotation.cpp | aba791bbd3eb4ff5ffb971adac0f8d4b55f692fc | [] | no_license | P-dot/C-_Fundamentals | a920fd992a0daff3ab9751675130c596517a5d6d | 90463c058ef4c774c2289f44a373b46a4cbaa8b7 | refs/heads/master | 2020-07-23T13:46:05.731295 | 2019-09-10T14:14:21 | 2019-09-10T14:14:21 | 207,578,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | //This function performs left and right rotations
unsigned char rol(unsigned char val) {
int hightbit;
if(val & 0x80) // 0x80 is the high bit only
highbit = 1;
else
highbit = 0;
// Left shift (bottom bit becomes 0):
val <<= 1
// Rotate the high bit onto the bottom:
// val |= high... | [
"usuario@kali"
] | usuario@kali |
0dfdf6692287a2c1b6e1c11e873984180d2b9a73 | f50da5dfb1d27cf737825705ce5e286bde578820 | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Security_Cryptography_ToBase64Tran1303874555.h | 011abe010d6265397ddf81fd268be9da64bab834 | [] | no_license | magonicolas/OXpecker | 03f0ea81d0dedd030d892bfa2afa4e787e855f70 | f08475118dc8f29fc9c89aafea5628ab20c173f7 | refs/heads/master | 2020-07-05T11:07:21.694986 | 2016-09-12T16:20:33 | 2016-09-12T16:20:33 | 67,150,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object837106420.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-... | [
"magonicolas@gmail.com"
] | magonicolas@gmail.com |
de2e689593c81e0de74f074407886ba0dc1da58b | 07110f30a6a30a1a6cce260509c60fb16f0dbf92 | /src/include/concore/as_sender.hpp | 80553983ded23ce830886b02a4aa0648165bfc21 | [
"MIT"
] | permissive | Watch-Later/concore | 8d65fe2409684a247f869d8df3952053f32b8149 | 579d2f84039bbf2d9ebe245096b63867702613c9 | refs/heads/master | 2023-06-20T02:03:28.396841 | 2021-06-01T15:23:20 | 2021-06-01T15:23:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | hpp | /**
* @file as_sender.hpp
* @brief Definition of @ref concore::v1::as_sender "as_sender"
*
* @see @ref concore::v1::as_sender "as_sender"
*/
#pragma once
#include <concore/as_operation.hpp>
#include <utility>
namespace concore {
inline namespace v1 {
/**
* @brief Wrapper that transforms a receiver ... | [
"lucteo@lucteo.ro"
] | lucteo@lucteo.ro |
10bb48703bf3fe5c5c52641938f81b08f8905809 | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /RtTpsRenderLibrary/operation/tps_rl_updatesetupcrosshairoperation.cpp | c15ce66f67d5231cd93f285b515bf44896daa172 | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | ////////////////////////////////////////////////////////////////
/// Copyright (c) Shanghai United Imaging Healthcare Inc., 2013
/// All rights reserved.
///
/// \author Miao Chenfeng chenfeng.miao@united-imaging.com
///
/// \file tps_rl_updatesetupcrosshairoperation.cpp
///
/// \brief class TpsUpdateSetUpCro... | [
"genius52@qq.com"
] | genius52@qq.com |
3a50b59a5f8d9255b10e625074da9695fb631217 | 21e2d8b4300bf4eca4a2aa47731ee947af6c5ddf | /Iterativos/Abadias/Source.cpp | 2a342e394c45a834012a25b49407a6f2fa153880 | [] | no_license | AdriPanG/EDA | 0ecbb97ad895ab5f99382ed2f9804f2ff6182910 | 2e6d6c5a269114674e5f05fddc3d5b22779b3f62 | refs/heads/master | 2020-07-10T12:44:22.822964 | 2017-09-09T12:09:01 | 2017-09-09T12:09:01 | 74,014,498 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <iostream>
using namespace std;
//Precondicion: 0<=n<=long(v) and Paratodo i : 0<=i<n : v[i] >= 0
//Postcondicion: #k : 0<=k<n : Paratodo j : k < j < n : a[k] > numero(v,j)
//numero(v,k) = max(Paratodo l : k<l<n : v[l])
int calculaAbadias(int v[], int n, int &abadias) {
abadias = 0;
int numero... | [
"adripana@ucm.es"
] | adripana@ucm.es |
89471ed679263c6b644a3babef3631839cd58f8e | c03ca89bc6256e8948eeb2ae171a2e746188fb1b | /GeneralKnowledgeBook.h | e589a71fac9b30b0dbf4ff34a232cf654f13da7f | [] | no_license | ChangeXuan/BookLib-Cpp | 45463907e50b48ab9c220b42ffcac60f0128f71b | 58549ebe8272f4c92ec68bbb967605fe1403302a | refs/heads/master | 2021-01-20T03:34:27.319050 | 2017-04-27T04:54:42 | 2017-04-27T04:54:42 | 89,556,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | h | //
// Created by Day on 2017/4/25.
//
#ifndef BOOKLIB_GENERALKNOWLEDGEBOOK_H
#define BOOKLIB_GENERALKNOWLEDGEBOOK_H
#include <iostream>
#include <cstring>
#include "Book.h"
using namespace std;
class GeneralKnowledgeBooks: public Book {
private:
string typeName;
public:
GeneralKnowledgeBooks();
~General... | [
"YourEmailAddress"
] | YourEmailAddress |
39013a60b41c5ed40342738692c2520bf62421fd | c28515164119e13a9fb4ac10e955d4d0838e7572 | /adapters/omnetpp/seed/applications/seed_onoff_client_message_m.h | ba0a8d36f881eecb881c898edaea7496e4278d79 | [
"BSD-2-Clause"
] | permissive | kit-tm/seed | ba23bf10f941d462842c2efb6aae307fabefee88 | c6d4eaffbe25615b396aeabeae7305b724260d92 | refs/heads/master | 2021-08-31T18:11:43.488896 | 2017-12-21T12:48:54 | 2017-12-21T12:48:54 | 115,101,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | h | //
// Generated file, do not edit! Created by nedtool 4.6 from seed_onoff_client_message.msg.
//
#ifndef _SEED_ONOFF_CLIENT_MESSAGE_M_H_
#define _SEED_ONOFF_CLIENT_MESSAGE_M_H_
#include <omnetpp.h>
// nedtool version check
#define MSGC_VERSION 0x0406
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! P... | [
"addis.dittebrandt@gmail.com"
] | addis.dittebrandt@gmail.com |
5e841693158c2fbef4bc7dd0009fa0f337b1769a | 9ef7ae27f57d24b7fa194ed9fc22d95a2ea2f4fa | /Algorithms/prefixSortUsingRandom.cpp | 59a4fe6cccca64d6a7a997df89e8b7df7cc5027a | [] | no_license | Rahul365/Coding_Practice | e093b745da5e0d589b57d31ff8d4d5bdae46c583 | 4430401991defdd79522da229f040c5e48718487 | refs/heads/master | 2022-07-30T19:59:21.839107 | 2022-07-02T08:10:50 | 2022-07-02T08:10:50 | 241,954,353 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include<bits/stdc++.h>
#define seed srand(time(NULL))
using namespace std;
int pow(int x,int y){
int r =1;
while(y){
if(y&1) r*=x;
x = x*x;
y>>=1;
}
return r;
}
bool sorted(int arr[],int n){
for(int i=1 ;i<n;i++) if(arr[i-1] > arr[i]) return false;
return true;
}
... | [
"rahul.dhiman365@gmail.com"
] | rahul.dhiman365@gmail.com |
f13090370ca4d4379e2ad49eebd5360fe2357af9 | 66949a25a8764ff303887253f5dc3725b026336e | /HelloWorld/datasheet.h | 79654e66aaa2797b2e059636c9ea69e7f8ebb0d2 | [] | no_license | juniorprincewang/MRL | 7526ef76a1c564b7e8b4314e55e46e68faa944bb | b76fa14749e6241ea493d49dbd7b462dbdb5c66e | refs/heads/master | 2021-01-18T22:29:30.866122 | 2017-05-16T01:02:10 | 2017-05-16T01:02:10 | 72,534,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | h | #pragma execution_character_set("utf-8")
#ifndef DATASHEET_H
#define DATASHEET_H
#include <QLabel>
#include <QTableWidget>
#include <QLineEdit>
#include <QTableWidgetItem>
#include <QAction>
#include <QItemDelegate>
#include <QTableWidgetItem>
#include <QString>
//#include <QtWidgets>
#include <QObject>
#include "pub... | [
"15201615161@163.com"
] | 15201615161@163.com |
8c19b48befe5dfb1f1fb01abd44266be61a0078b | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_BP_LegendaryTavern_functions.cpp | e8d85971f204ded3e5d4ab3f3d6bb60e453c67eb | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | // Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_LegendaryTavern_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Fu... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e2013904b1a32822b7b4040eeb04826211e6c0c1 | 5b6268310d80a288f1c5248b2b99f0bc697fcbe4 | /linux/ftpServer/FTPServer.cpp | 9cc36fb861278055429cf1903a579c935256ef15 | [] | no_license | shanlihou/cppDemo | 9b9a6a2a90b66d043067b7adf7c8abb9068c811d | 2058b6c06cada10c82a25500b33afb8594f35203 | refs/heads/master | 2021-08-27T22:00:42.649146 | 2017-12-10T12:47:14 | 2017-12-10T12:47:14 | 113,749,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #include "myEpoll.h"
int main()
{
MyEpoll::getInstance()->run();
}
| [
"shanlihou@gmail.com"
] | shanlihou@gmail.com |
66aae1da02de6d2e81a45a2d4ce97e839abf6ad6 | 39924b397975b36d8bb0c685d1fdcf604f14caf5 | /IProjectProblem2/Problem2_test/Graph.h | 3abe0cbde6035a1d0801115771829d64aa1e7393 | [] | no_license | mengcz13/oop2016 | 519a1d8048212ddeef0f2f15428dd71f3a26296b | 2e3d557927d2f5eaa1e361e370255629bf733c78 | refs/heads/master | 2021-01-21T13:41:35.544044 | 2016-05-18T04:02:38 | 2016-05-18T04:02:38 | 52,948,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | #ifndef GRAPH_H
#define GRAPH_H
#include <vector>
#include <queue>
#include <cmath>
struct Point {
double x;
double y;
Point():x(0), y(0) {}
Point(double x1, double y1):x(x1), y(y1) {}
};
struct Edge {
int start;
int end;
double length;
Edge():start(0), end(0), length(0) {}
Edge(int s, int e, double l):start... | [
"mengcz13@163.com"
] | mengcz13@163.com |
c9cc7f1ea25916502778ec8c171ae4600ddfbd8a | 3054ded5d75ec90aac29ca5d601e726cf835f76c | /Contests/Others/RPC/2016/10th Contest/E.cpp | baed34b78fa2a59f8bbbc0f0145ca5e4ae00d7f6 | [] | no_license | Yefri97/Competitive-Programming | ef8c5806881bee797deeb2ef12416eee83c03add | 2b267ded55d94c819e720281805fb75696bed311 | refs/heads/master | 2022-11-09T20:19:00.983516 | 2022-04-29T21:29:45 | 2022-04-29T21:29:45 | 60,136,956 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | /*
* RPC 10-th Contest 2016
* Problem E: Laser Mirrors
* Status: Accepted
*/
#include <bits/stdc++.h>
using namespace std;
int eulerPhi(int n) {
int ans = n;
for (int p = 2; p * p <= n; p++) {
if (n % p == 0) ans -= ans / p;
while (n % p == 0) n /= p;
}
if (n != 1) ans -= ans / n;
return ans... | [
"yefri.gaitan97@gmail.com"
] | yefri.gaitan97@gmail.com |
6c2c6e53a56e0496fb51c9253d272373e37865dc | 3fc56bb274d5040a87f63372796412413c7690d6 | /source stephan/sensor_geometry.cc | 03503c353c9d5ed7024bed3a49c39b6ea407bc51 | [] | no_license | dangerousHans/SEPT | b2f7b6badc32c887549dce61d83a9b9b9c4d037c | 4feca9c51b59018dfd8ab95ac36d75e848a2a419 | refs/heads/master | 2021-01-10T12:42:42.121856 | 2015-11-24T18:00:24 | 2015-11-24T18:00:24 | 46,416,501 | 1 | 2 | null | 2015-11-24T10:52:25 | 2015-11-18T12:12:48 | C++ | UTF-8 | C++ | false | false | 16,087 | cc | /*
half sensor geometry adapted from ExN02 for Stereo Impact SEPT
$Id: sensor_geometry.cc,v 1.18 2008/02/08 11:52:04 bottcher Exp $
Copyright (c) 2002 Stephan Boettcher <boettcher@physik.uni-kiel.de>
*/
#include "sensor_geometry.hh"
#include "detector_geometry.hh"
#include "magnet_geometry.hh"
#include "appertu... | [
"08Merlin@web.de"
] | 08Merlin@web.de |
e4c69a49bb4706081376982f89aff57b1a8a5347 | 4f58cc74e6270729a7d5dbc171455624d98807b4 | /inc/rtspvideocapturer.h | a4e3c941bc56a53fb35bec922cce4053fdfd05b8 | [
"Unlicense"
] | permissive | InsZVA/webrtc-streamer | 5175776a8591472e5491c13f4dc5ba1aa3f867a8 | 10ab5dca8e8efc301c86b976ebf1472706eed89b | refs/heads/master | 2021-01-12T17:37:10.775369 | 2016-10-09T10:54:03 | 2016-10-09T10:54:03 | 71,618,828 | 1 | 0 | null | 2016-10-22T05:28:05 | 2016-10-22T05:28:04 | null | UTF-8 | C++ | false | false | 10,734 | h | /* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspvideocapturer.h
**
** ----------------------------------... | [
"michel.promonet@free.fr"
] | michel.promonet@free.fr |
a052284e3d310e4510f3a1e13d2c297858e01c51 | 5c56bb3fd918c7d267a5f8dc24470379ea1a3271 | /PandaChatServer/mysqlapi/DatabaseMysql.cpp | 5c419e6491903210e7bb6257532728b00e256abf | [] | no_license | eric8068/PandaChatProject | 8009f267733f5290bedf051f3f6aa0a9216956f0 | e374c4ee8446a0c779e426f8542485278b229e89 | refs/heads/master | 2023-03-18T17:12:22.296316 | 2020-08-31T05:11:58 | 2020-08-31T05:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,010 | cpp | #include "DatabaseMysql.h"
#include <fstream>
#include <stdarg.h>
#include <string.h>
//#include "../base/AsyncLog.h"
CDatabaseMysql::CDatabaseMysql(void)
{
//m_Mysql = new MYSQL;
m_Mysql = NULL;
m_bInit = false;
}
CDatabaseMysql::~CDatabaseMysql(void)
{
if (m_Mysql != NULL)
{
if (m_bInit... | [
"405126907@qq.com"
] | 405126907@qq.com |
db183aadd494908d01dfa0ea5e0f5fae234ee239 | a76a2581d5d3c1ec2f9529ab4d1db9f9828341d8 | /Common/src/Common/String.h | d0adeb2adebc3c722db8a8ba6246b87ff7cfdd4e | [] | no_license | YanChernikov/IntroToAI | b16f9f08b448db97cf940b299b2a2769b61c9408 | 9b242862616588c4baf048f07d898083cb5f7caf | refs/heads/master | 2021-01-18T21:18:47.738424 | 2016-05-20T05:08:54 | 2016-05-20T05:08:54 | 54,003,690 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | #pragma once
#include <string>
#include <vector>
// A series of string manipulation functions that proved useful for parsing
// the input text file
typedef std::string String;
typedef std::vector<String> StringList;
String ReadStringFromFile(const String& path);
StringList ReadLinesFromFile(const String... | [
"yan@tracnode.com"
] | yan@tracnode.com |
72805e7b770675576f4f275adbe9da7d0f925757 | 514128d3338709b7d38e1dab8535392f71409435 | /reconstruction/src/timer/Timer.cpp | 154a818f4cdfca16457bdcc03e9c8ace5d3605a5 | [] | no_license | fukamikentaro/HeteroEdge | 2ba0a1bca7d0b696de60501afa6a133aece73845 | 39511607c5451076cae6b9fa4979496775b46ec6 | refs/heads/master | 2022-10-27T09:18:19.751146 | 2019-07-14T01:11:10 | 2019-07-14T01:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | /*
* timer.cpp
*
* Created on: Jan 3, 2018
* Author: wuyang
*/
#include "Timer.h"
Timer::Timer() {
timeUse = 0.f;
}
Timer::~Timer() {
// TODO Auto-generated destructor stub
}
void Timer::start() {
gettimeofday(&tpstart, NULL);
}
void Timer::end() {
gettimeofday(&tpend, NULL);
countElapseTime()... | [
"you@example.com"
] | you@example.com |
a0019ab5724902395ba484bf15ce3aa4c7b32816 | 402e5a36be25d49f913da94a71647dc28a0ef359 | /1.ARDUINO PROJECT/28.lcd 16x2/LCD_12c/counter/counter.ino | af4cb10e64b1a0c04fa4678a0f53eeac0c71a77a | [] | no_license | indrabhekti/Arduino-Project-Code | 7b74324dab4361ce6de2d8cc669ac93e72e8d741 | 17f3266ba4f48bdc968ad81a67a813be1eb10aed | refs/heads/main | 2023-05-29T01:53:04.504412 | 2021-06-04T07:27:42 | 2021-06-04T07:27:42 | 373,754,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | ino | #include <Wire.h> // Library untuk komunikasi I2C (harus install library)
#include <LiquidCrystal_I2C.h> // Library LCD(harus intall library)
// SDA pin di A4 and SCL pin di A5.
// Connect LCD via I2C, default address 0x27 (default addres harus di cari dulu)(A0-A2 tidak di jumper)
LiquidCrystal_I2C lcd = LiquidCrystal... | [
"indrabhektiutomo@gmail.com"
] | indrabhektiutomo@gmail.com |
dc03bf262efcda0b2a12a8583efa75a41cab189e | 6f714dbab92f0507f13aa582fa992277e42c1777 | /Plugin/syslog/SysLogMgr.h | f872d871aa9a2f530b9d72310c134748e29784d1 | [] | no_license | sinzuo/bluedon-soc | 90d72b966ace8d49b470dab791bd65f0d56d520e | 809b59888de2f94b345b36ae33afacdbe103a1dd | refs/heads/master | 2020-09-20T17:54:20.882559 | 2019-11-28T02:27:16 | 2019-11-28T02:27:16 | 224,552,658 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,189 | h | /** ************************************************
* COPYRIGHT NOTICE
* Copyright (c) 2017, BLUEDON
* All rights reserved.
*
* @file SysLogMgr.h
* @brief
*
*
* @version 1.0
* @author xxx
* @date 2017年08月03日
*
* 修订说明:最初版本
**************************************************/
#i... | [
"1586706912@qq.com"
] | 1586706912@qq.com |
e0a16bd4317247939e2026b017b5bf9962a9e026 | e3b588ac490d4ac67a691a618102ef6126096d19 | /solution2.cpp | 445b4dd9f96ac01851e1dadbd22e363e3759ea9d | [] | no_license | oooooome/LeetCode-cmake | c82d28da56ff12fb40b6b0eeaafc0d5d809b3072 | 38299c8f4aefd36c235a5bb20ea660c114a4c2e7 | refs/heads/master | 2023-08-31T04:52:21.098309 | 2021-10-26T14:06:04 | 2021-10-26T14:06:04 | 403,633,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp |
#include <iostream>
//Definition for singly-linked list.
struct ListNode {
int val;
ListNode* next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode* next) : val(x), next(next) {}
};
class Solution2 {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNod... | [
"liruijie@ebupt.com"
] | liruijie@ebupt.com |
db09a88804601d12b545a70315ebab227ff0e4bd | 68ed77e9af79655e78f8a61594cc1b12bd278f59 | /src/gps/UtcTime.cpp | 0ed86c1efcf7d0bcab88d0b230120c02f2a1938a | [
"MIT"
] | permissive | havardhellvik/sensors-and-senders | 4ef79205124471d1add5f4ddae14ed004360a2bf | 9323457a91e0fcdddfbfe3ffea5fba5a7ed7591d | refs/heads/master | 2023-08-16T01:03:28.533747 | 2021-10-04T10:00:45 | 2021-10-04T10:02:58 | 418,494,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include "UtcTime.hpp"
#include <cmath>
UtcTime::UtcTime()
: _start(std::chrono::system_clock::now()) {
}
double UtcTime::time() const {
const auto now = std::chrono::system_clock::now();
std::chrono::duration<double> time_since_start = now - _start;
const auto seconds_since_start = time_si... | [
"thomas.evang@km.kongsberg.com"
] | thomas.evang@km.kongsberg.com |
ce3ad0b0714892a4dc1c23c65849ea6482fedec0 | bb0efbc98574362ec2a769ba5d3c746a761a9d6a | /branches/avilanova/plugins/stable/GpuGlyphs/GPUGlyphs/vtkGlyphMapper.h | edf52951c6b12151c8fb3a7abb7b7c3d101a497d | [] | no_license | BackupTheBerlios/viste-tool-svn | 4a19d5c5b9e2148b272d02c82fda8e6a9d041298 | 9692cff93e5a1b6dcbd47cad189618b556ec65bb | refs/heads/master | 2021-01-23T11:07:25.738114 | 2014-02-06T18:38:54 | 2014-02-06T18:38:54 | 40,748,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,500 | h | /**
* vtkGlyphMapper.h
* by Tim Peeters
*
* 2008-02-27 Tim Peeters
* - First version
*/
#ifndef bmia_vtkGlyphMapper_h
#define bmia_vtkGlyphMapper_h
#include <vtkVolumeMapper.h>
class vtkPointSet;
namespace bmia {
class vtkMyShaderProgram;
class vtkUniformFloat;
class vtkUniformIvec3;
class vtkUniformVec3;... | [
"viste-tue@ae44682b-4238-4e27-a57b-dd11a28b3479"
] | viste-tue@ae44682b-4238-4e27-a57b-dd11a28b3479 |
f0ec0194df9b99c11bbc6fdc134d75f78aec32d9 | 51e993226766d8a38a8cbdcb16ef2eb34695349c | /sim/rcp.h | d2c71a6ff2ee5078d83b09b55c33e768531d98fe | [] | no_license | sandyhouse/htsimMPTCP | 927d0ef54bf95af3567d103816c78a4cb5d875bf | 3f89d904530d28d40891edb172fb972ea7926973 | refs/heads/master | 2020-03-09T22:25:27.753968 | 2014-01-30T19:54:45 | 2014-01-30T19:54:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,279 | h | #ifndef RCP_H
#define RCP_H
/*
* An RCP source and sink
*/
#include <list>
#include "config.h"
#include "network.h"
#include "rcppacket.h"
#include "eventlist.h"
class RcpSink;
class RcpSrc : public PacketSink, public EventSource {
friend class RcpSink;
public:
RcpSrc(RcpLogger* logger, ... | [
"sdyy1990@gmail.com"
] | sdyy1990@gmail.com |
dfc2457ca777ca78eca77efe41d509e79378cb51 | a904c42a45b99c6de6c95cf52ba88001740765e4 | /Sources/Maths/Visual/DriverSinwave.cpp | 22bd4315cb8b37cbd430c5a84d3bad3b2b2f4ce3 | [
"MIT"
] | permissive | lineCode/Acid | 0cc31acf1060f0d55631b3cbe31e540e89a44a31 | 573ca8ea9191f62eaab8ef89c34bf15e70e0c1e4 | refs/heads/master | 2020-03-28T14:29:58.922933 | 2018-09-12T06:35:25 | 2018-09-12T06:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include "DriverSinwave.hpp"
namespace acid
{
DriverSinwave::DriverSinwave(const float &min, const float &max, const float &length) :
IDriver(length),
m_min(min),
m_amplitude(max - min)
{
}
float DriverSinwave::Calculate(const float &time)
{
float value = 0.5f + std::sin(2.0f * PI * time) * 0.5f;
retur... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
3f6952e87996315fdd0a52a5ac5945977fcf7e85 | 1bbabc787f6353aff92a8386252055f24bebb7da | /Lecture.cpp | 2707194e96c9066413f63a6cf0aa97f0f05160fb | [] | no_license | Sukarnapaul1893/Codeforces---Problems-Solved | 5fde83464994f98a6aab6b07037f8a431105f004 | b30cfa3f62cd616668a69a41f23ec402557e3646 | refs/heads/master | 2022-02-06T08:25:06.386688 | 2017-12-13T16:04:06 | 2017-12-13T16:04:06 | 114,139,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int main(){
int a,b,i,j,k;
cin>>a;
cin>>b;
string s1[b];
string s2[b];
string s3[a];
for(i=0;i<b;i++){
cin>>s1[i];
cin>>s2[i];
}
for(j=0;j<a;j++){
cin>>s3[j];
}
for(j=0;j<a;j++){
for(k=0;k<b;k++){
if(s3[j]==s1[k... | [
"noreply@github.com"
] | Sukarnapaul1893.noreply@github.com |
dd545f02defc260c0984699e2ea0ed24a7d7b9a7 | 12d3908fc4a374e056041df306e383d95d8ff047 | /Programs/prog18.cpp | 4358fff151f3f9f7bfa8d3e05c54ddf03421d705 | [
"MIT"
] | permissive | rux616/c201 | aca5898c506aeb1792aa8b1f9dcf3d797a1cd888 | d8509e8d49e52e7326486249ad8d567560bf4ad4 | refs/heads/master | 2021-01-01T16:14:44.747670 | 2017-07-20T05:14:24 | 2017-07-20T05:14:24 | 97,792,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | /* Prog18.cpp
This is a variation of prog17 that demonstrates some struct
pointer syntax.
----------------------------------------------------------------------*/
#include <iostream>
#include <string>
using namespace std;
void main (void)
{
struct StudentRecord
{
char Name[32... | [
"dan.cassidy.1983@gmail.com"
] | dan.cassidy.1983@gmail.com |
76b6f91e9e202c51a2401e040291496d6ae60a08 | 24acf54ec9b57c0450732a0051ea1e4ae91a7190 | /Library/Platinum/ThirdParty/Neptune/Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0012.cpp | 56aa239b888ec40894ef73f2ee78baa7b4922a51 | [
"LicenseRef-scancode-generic-cla"
] | no_license | shawnji2060/KEFWireless-DLNA | c12ac384bba4a80a43234c909cd6c791069ee3b8 | 98b6886f9ae54571cca66e32ecf1197533a5488b | refs/heads/master | 2021-01-18T16:37:50.320261 | 2017-08-16T08:14:14 | 2017-08-16T08:14:14 | 100,464,539 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,056 | cpp | /*****************************************************************
|
| Neptune - Trust Anchors
|
| This file is automatically generated by a script, do not edit!
|
| Copyright (c) 2002-2010, Axiomatic Systems, LLC.
| All rights reserved.
|
| Redistribution and use in source and binary forms, with or without
| modif... | [
"shawnji2060@gmail.com"
] | shawnji2060@gmail.com |
21bc86e731c4fd214730de842586689cbb419144 | 4e8fb3672f0c561bf85bd8230c5492e4457f33d1 | /dev/include/core/PostEffect_GaussianBlur.h | a5769a04b678da8956ee6d478ebfc6ce5676d0c1 | [] | no_license | lythm/ld3d | 877abefefcea9b39734857714fe1974a8320fe6c | 91de1cca7cca77c1f8eae8e8a9423abc34f9b38f | refs/heads/master | 2020-12-24T15:23:29.766231 | 2014-07-11T04:42:49 | 2014-07-11T04:42:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #pragma once
#include "core/PostEffect.h"
namespace ld3d
{
class _DLL_CLASS PostEffect_GaussianBlur : public PostEffect
{
public:
PostEffect_GaussianBlur(void);
virtual ~PostEffect_GaussianBlur(void);
bool Initialize(RenderManagerPtr pRenderManager);
void Render(RenderManagerPtr pRenderer... | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
fdee6265ba93e9aec0bb2a1e5dec08f513608f2e | 69304e6e01ae66df5cec81ece86c44a9c7c53aba | /widget.h | 16f294a799dc6a9f924e068236232a4e958070ae | [] | no_license | Lwxiang/MyTrip | 55acd5cda63c4b61b3ecab2eaabbe68f7a4109fa | a11dcfa1f020ed9889258234f050c01f53569923 | refs/heads/master | 2021-01-10T16:58:10.671888 | 2016-02-29T05:50:35 | 2016-02-29T05:50:35 | 52,767,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef WIDGET_H
#define WIDGET_H
#include "titlebar.h"
#include "toolbar.h"
#include "statubar.h"
#include "contentwidget.h"
#include <QWidget>
#include <QRect>
#include <QBitmap>
#include <QPainter>
#include <QFrame>
#include <QLabel>
#include <QPoint>
#include <QMouseEvent>
#include <QPushButton>
#include <QToolBu... | [
"XUN Lwxiang"
] | XUN Lwxiang |
64ee64c7c84f209d271be303584ac184cd24faea | ba9322f7db02d797f6984298d892f74768193dcf | /ccc/src/model/GetJobStatusByCallIdRequest.cc | d4d551444671d8680d407ca30da4de44aa90a7d2 | [
"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 | 1,418 | 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... | [
"yixiong.jxy@alibaba-inc.com"
] | yixiong.jxy@alibaba-inc.com |
a0e13fc1f3440a1af96eba344ae7d4744b1b5418 | af009200519ba7d572acf07b9a4fc90e03aceb1f | /src/lassen/Input.hh | e18b0caeac758175723ea6c37a9f1970438aa8df | [
"LicenseRef-scancode-public-domain"
] | permissive | OpenSpeedShop/openspeedshop-test-suite | 1d2c050c66f839d25e350a9edddeff4ada47d722 | 02df4abf2c164722170de9961b8764b8d2b2611f | refs/heads/master | 2021-05-01T20:34:12.215991 | 2020-08-24T18:20:37 | 2020-08-24T18:20:37 | 57,010,138 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | hh | #ifndef INPUT_H
#define INPUT_H
#include "Lassen.hh"
namespace Lassen {
class MeshConstructor {
public:
static void MakeRegularMesh( Mesh * mesh,
int ndim,
int *numGlobal, // total number of zones in each dimension
... | [
"jeg@krellinst.org"
] | jeg@krellinst.org |
fdc5500c87d13f8d60be9b26ca89150695bd8845 | fba0dfdd038e38d0539910ca869052b6559d2496 | /DX11RenderApp/DX11RenderApp/Vertex.cpp | b432c5ee40c1bdee9f077259ed79f94818ec25d9 | [] | no_license | shankkkyyy/GFXPROJECT | 9c1d82702a9bc3a84a1efbf2e1b21054880696b8 | 4f537bb7c8d8bde99abcb6088e4a07ed5641b778 | refs/heads/master | 2021-07-01T16:30:10.020322 | 2017-09-22T02:01:44 | 2017-09-22T02:01:44 | 99,033,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | cpp | #include "Vertex.h"
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::IDPosSize[2] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 },
{ "SIZE", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }
};
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::IDPos[1] =
{
... | [
"dushiweic2@hotmail.com"
] | dushiweic2@hotmail.com |
dbb853a7b1d52cb9bc73dbffd74ec3a21b941d5a | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/io_intro_wall_blacksmith_01_bp_classes.h | 797e2a16a504acc64ba736001d5b36af0580526a | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | #pragma once
// Name: Torchlight3, Version: 1.0.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
de2bd2cbf33c6efe91c3f714de15a82e63a7c231 | b3be27b4bf494270c5c953cf711088a10f79de81 | /src/catalog/plx/unicode/utf16_from_utf8.h | 65dd0c243257578e7faf7d3d53be2bde10422e74 | [] | no_license | cpizano/Plex | 2973b606933eb14198e337eeb45e725201799e7a | b5ab6224ddb1a1ca0aa59b6f585ec601c913cb15 | refs/heads/master | 2016-09-05T18:42:34.431460 | 2016-01-03T21:56:09 | 2016-01-03T21:56:09 | 6,571,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | //#~def plx::UTF16FromUTF8
///////////////////////////////////////////////////////////////////////////////
// plx::UTF16FromUTF8
namespace plx {
std::wstring UTF16FromUTF8(const plx::Range<const uint8_t>& utf8, bool strict) {
if (utf8.empty())
return std::wstring();
// Get length and validate string.
const... | [
"cpu@chromium.org"
] | cpu@chromium.org |
9b37404d4e67f28f37600f501272933fd8b24bce | a71b70de1877959b73f7e78ee62e9138ec5a2585 | /PKU/2400-2499/P2480.cpp | f0fa36690eb374f3e49966f76b425baac6e71551 | [] | no_license | HJWAJ/acm_codes | 38d32c6d12837b07584198c40ce916546085f636 | 5fa3ee82cb5114eb3cfe4e6fa2baba0f476f6434 | refs/heads/master | 2022-01-24T03:00:51.737372 | 2022-01-14T10:04:05 | 2022-01-14T10:04:05 | 151,313,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | cpp | #include <cstdlib>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <bi... | [
"jiawei.hua@dianping.com"
] | jiawei.hua@dianping.com |
ff7180be40da434378ae43575c243b24b9546ffc | 03c42ab1f77bf7371869c7ee34d3551b6f13a0ef | /tlm_vppnoc_lib/vpp_noc_core_v1.0/protocol_data_unit/vppnoc_pdu.h | 8e4ba26a5c528195ccc5da9517fc0b94787d5d24 | [] | no_license | Hosseinabady/norc | 4c654c40012a60d74777d349d20dfb79445e7fb3 | c0aa6d77c60b1b88c4ba3526e3e4246c7da6fb00 | refs/heads/master | 2021-01-13T13:39:13.715637 | 2016-12-14T01:41:29 | 2016-12-14T01:41:29 | 76,404,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | h | #ifndef NOC_GENERIC_PAYLOAD_
#define NOC_GENERIC_PAYLOAD_
#include <systemc>
#include "protocol_data_unit/vppnoc_pdu_base.h"
namespace vppnoc {
template <typename HEADER, typename BODY = bool, int size = 10>
class vppnoc_pdu : public vppnoc_pdu_base
{
public:
vppnoc_pdu(): vppnoc_pdu_base(), stream_tail(0),
stre... | [
"mohamamd@hosseinabady.com"
] | mohamamd@hosseinabady.com |
b4c5fffc627e73f3115b63c4b310e5799138cf08 | a3fb0091facc6f33be957eba61d7281737aa258e | /ATMView/ATMView/Business/CameraReader.cpp | feae74b7ce8f8a93f6522a569b0e9b1e8a3b10a8 | [] | no_license | barry-ran/AEyeAboutPro | b5c7b46c8145423d7456e1ef6d40d82c54ba2faf | 830de73c48af1cd1a2d72ff6485e31f7b7d52d45 | refs/heads/master | 2022-01-18T03:01:44.502618 | 2019-09-02T03:52:27 | 2019-09-02T03:52:27 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,801 | cpp | /***********************************************************************************
* CameraReader.cpp
*
* Copyright(C): 智慧眼科技股份有限公司
*
* Author: YCL
*
* Date: 2019-06
*
* Description: 用于摄像头初始化、打开、设置、采集
***********************************************************************************/
#include "CameraReader.... | [
"ycldream815@gmail.com"
] | ycldream815@gmail.com |
961d2a9d6be822239d0e465931331522e4598690 | cc47ba1d94ea53c8afb944d280bdf1e6197f8e3d | /C++/CodeForces/CR694A.cpp | f9444cd8fef37d24cf804a285014e3456aa5eae0 | [] | no_license | Pranshu-Tripathi/Programming | 60180f9b0c5f879b2a8bf85c3db14afe1fdb45ba | ae7234b293b307a0f38af6f5a7894747f22c5d45 | refs/heads/master | 2023-06-26T08:17:07.184679 | 2021-07-28T02:52:43 | 2021-07-28T02:52:43 | 226,936,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
void _run()
{
ll n,x;
cin >> n >> x;
ll arr[n];
ll s1 = 0, s2 = 0;
for(int i =0 ; i < n ; i++)
{
cin >> arr[i];
s1 += arr[i] / x;
if(arr[i] % x)
{
s1 ++;
}
s2 += arr[... | [
"mtpranshu2001@gmail.com"
] | mtpranshu2001@gmail.com |
02a951e53ee244aff6ebf0b4797f409435be68c6 | 6375d90b2a0211053b93e7c65b3b4e67037e74c5 | /bookmanager/bookmanager-tests/01_dbConnectTest.cpp | b3dbcb60c69c82068efad9c248dc322d5c215e90 | [] | no_license | df-wilson/book-manager-cpp | 86fc0c1d45ccf01ae6bd768828da3e58cff80d42 | f255b56bdd6cdec7caee7c02d3f8ce1933362a2e | refs/heads/master | 2021-01-19T10:36:45.023083 | 2020-02-08T20:38:35 | 2020-02-08T20:38:35 | 87,882,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #include "catch.hpp"
#include "dbConnect.h"
#include <SQLiteCpp/SQLiteCpp.h>
#include <iostream>
#include <string>
using namespace dw;
using namespace std;
TEST_CASE("dbConnect - Test getting initial connection.")
{
SQLite::Database* connection = db_getConnection();
REQUIRE(connection->getFilename() == "/home... | [
"deanwilsonbc@gmail.com"
] | deanwilsonbc@gmail.com |
485d3f688c1f241e5b724d4749d9be4789902d41 | f712d2e44d1de06496d23b69e3a9bd53d46f794a | /net-p2p/dnotes/files/patch-src__net.cpp | 9d3d551f526551595cca8fd70a2b11267d5c642d | [
"BSD-2-Clause"
] | permissive | tuaris/FreeBSD-Coin-Ports | 931da8f274b3f229efb6a79b4f34ffb2036d4786 | 330d9f5a10cf7dc1cddc3566b897bd4e6e265d9f | refs/heads/master | 2021-06-18T20:21:05.001837 | 2021-01-20T21:26:44 | 2021-01-20T21:26:44 | 21,374,280 | 4 | 6 | BSD-2-Clause | 2018-01-26T09:22:30 | 2014-07-01T03:40:30 | Makefile | UTF-8 | C++ | false | false | 379 | cpp | --- src/net.cpp.orig 2014-08-31 15:33:55 UTC
+++ src/net.cpp
@@ -58,7 +58,7 @@ static bool vfReachable[NET_MAX] = {};
static bool vfLimited[NET_MAX] = {};
static CNode* pnodeLocalHost = NULL;
uint64 nLocalHostNonce = 0;
-array<int, THREAD_MAX> vnThreadsRunning;
+boost::array<int, THREAD_MAX> vnThreadsRunning;
stati... | [
"daniel@morante.net"
] | daniel@morante.net |
f74d082cf319a429b6adbcc470737b197634733c | 4b590410d4042c156cfd3d4e874f3a329390a72b | /src/uscxml/messages/MMIMessages.cpp | 35e8b66a66fbd995383e58498ac34996a1ad0751 | [
"BSD-2-Clause"
] | permissive | su6838354/uscxml | 37b93aef528996d2dd66d348f9e1f31b6734ab57 | 81aa1c79dd158aa7bc76876552e4b1d05ecea656 | refs/heads/master | 2020-04-06T05:29:54.201412 | 2015-04-02T11:44:48 | 2015-04-02T11:44:48 | 38,090,859 | 1 | 0 | null | 2015-06-26T04:37:32 | 2015-06-26T04:37:32 | null | UTF-8 | C++ | false | false | 18,827 | cpp | /**
* @file
* @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
* @copyright Simplified BSD
*
* @cond
* This program is free software: you can redistribute it and/or modify
* it under the terms of the FreeBSD license as published by the FreeBSD
* project.
*
* This program is ... | [
"radomski@tk.informatik.tu-darmstadt.de"
] | radomski@tk.informatik.tu-darmstadt.de |
2b660c8e1bc3675f02e1dd3508f1d7f1999aaf09 | 2e83b09998113da74795e196f2cf8719212c9928 | /GeeksforGeeks/Arrays/longestEvenOddSubArray_efficient.cpp | 34a0aed641a6977a9a978bbd56938500e5ee2fe1 | [] | no_license | KarmveerK/Data-Structures-And-Algorithms | a27163944f7d505fc5c5fdf97fb9cda3f8ae2fa4 | 43c4717729f6bfa33bd82b25c6a98a851d405816 | refs/heads/main | 2023-05-31T15:30:25.555822 | 2021-06-13T14:35:10 | 2021-06-13T14:35:10 | 374,896,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include<iostream>
using namespace std;
//BASED ON KADANES ALGORITHM
int evenOddSubarray(int a[], int size){
int count = 1;
int maxCount = 1;
for(int i=1; i<size; i++){
if((a[i] - a[i-1])%2 != 0){
count++;
maxCount = max(maxCount, count);
}
else... | [
"noreply@github.com"
] | KarmveerK.noreply@github.com |
6d1ab11b46cc3924f1cba4403d729f1936a81d35 | 6b3e36e68ae34f85d5d27166687e3479e5333bb4 | /Sources/Elastos/Packages/Apps/Dialer/inc/elastos/droid/incallui/CCallButtonFragment.h | 4854b7999e46983e4921576b3b6493bf0cb23813 | [
"Apache-2.0"
] | permissive | jiawangyu/Elastos5 | 66bec21d7d364ecb223c75b3ad48258aa05b1540 | 1aa6fe7e60eaf055a9948154242124b04eae3a02 | refs/heads/master | 2020-12-11T07:22:13.469074 | 2016-08-23T09:42:42 | 2016-08-23T09:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,897 | h |
#ifndef __ELASTOS_DROID_INCALLUI_CCALLBUTTONFRAGMENT_H__
#define __ELASTOS_DROID_INCALLUI_CCALLBUTTONFRAGMENT_H__
#include "Elastos.Droid.Content.h"
#include "Elastos.Droid.Os.h"
#include "Elastos.Droid.View.h"
#include "Elastos.Droid.Widget.h"
#include "_Elastos_Droid_InCallUI_CCallButtonFragment.h"
#include "elasto... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
dd1621aa7af8c321977c985708ed216de5ba6610 | 19f039b593be9401d479b15f97ecb191ef478f46 | /RSA-SW/PSME/agent/storage/src/iscsi/config/tgt_config.cpp | e20293c1ae1a22dca3b16b48510705681006cbea | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | isabella232/IntelRackScaleArchitecture | 9a28e34a7f7cdc21402791f24dad842ac74d07b6 | 1206d2316e1bd1889b10a1c4f4a39f71bdfa88d3 | refs/heads/master | 2021-06-04T08:33:27.191735 | 2016-09-29T09:18:10 | 2016-09-29T09:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | cpp | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org... | [
"chester.kuo@gmail.com"
] | chester.kuo@gmail.com |
6cb5c10f324394fef04691711c46dd16709d5123 | c7e65a70caf87041afd27441fe45eac85e8cd1e4 | /apps/coreir_examples/conv_bw_valid/pipeline.cpp | d686745a8ab708ae8328047c43e4358c65053328 | [
"MIT"
] | permissive | jeffsetter/Halide_CoreIR | adb8d9c4bc91b11d55e07a67e86643a0515e0ee6 | f2f5307f423a6040beb25a1f63a8f7ae8a93d108 | refs/heads/master | 2020-05-23T18:06:27.007413 | 2018-10-02T22:09:02 | 2018-10-02T22:09:02 | 84,777,366 | 7 | 1 | NOASSERTION | 2018-11-05T15:05:11 | 2017-03-13T02:50:55 | C++ | UTF-8 | C++ | false | false | 4,233 | cpp | #include "Halide.h"
#include <string.h>
using namespace Halide;
using std::string;
Var x("x"), y("y");
Var xo("xo"), xi("xi"), yi("yi"), yo("yo");
class MyPipeline {
public:
ImageParam input;
Param<uint16_t> bias;
Func kernel;
Func clamped;
Func conv1;
Func output;
Func hw_output;
std::vector<Argumen... | [
"setter@stanford.edu"
] | setter@stanford.edu |
fb7f8a2e574eb401570d5b2ae62bd318d8dbd84a | 4f460d4984c9e934978bbc89eb10654fa3b618a8 | /WifiWebServer/WifiWebServer.ino | 5834dbd2c8baa0ac329b814e0f3292e7afe81bc3 | [] | no_license | davidaronson13/PowerBiker | eaea512bc690801d4fbe050bd731eaab8445349d | 3757549a823981b980a7817008cee68d5b86b03d | refs/heads/master | 2020-03-31T00:57:05.928520 | 2014-05-27T14:56:22 | 2014-05-27T14:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,119 | ino | /*
WiFi Web Server
A simple web server that shows the value of the analog input pins.
using a WiFi shield.
This example is written for a network using WPA encryption. For
WEP or WPA, change the Wifi.begin() call accordingly.
Circuit:
* WiFi shield attached
* Analog inputs attached to pins A0 through A5 ... | [
"davidaronson13@gmail.com"
] | davidaronson13@gmail.com |
231994a748f60ae6cd2eca98aa9ce320dca8dc26 | 7fae79369bffd6fe98a8d517ce15d93935ac104c | /main.cpp | 1dc659e33f33c9c0a168eaa3dfe140f323de221d | [] | no_license | ArielAleksandrus/compilador | a5109d09f6a90c9f0b7964e6b495223ad50d75cf | 1a4c5fe2349b8de1b0b5b0a58ac5253e29d9ea80 | refs/heads/master | 2020-05-21T10:14:56.407885 | 2016-07-29T17:31:16 | 2016-07-29T17:31:16 | 54,926,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: aleksandrus
*
* Created on March 18, 2016, 11:06 AM
*/
#include <iostream>
#include <cstdlib>
... | [
"arielaleksandrus@hotmail.com"
] | arielaleksandrus@hotmail.com |
5f3f225665cff48a5ebe83a2e45e807507cf52fe | 9b8708ad7ffb5d344eba46451cabc3da8c0b645b | /Moteur/SceneGraph/meshmanager.h | 8dac8630f554c425dde04c6aa8c74babb287882d | [] | no_license | VisualPi/GameEngine | 8830037305ff2268866f0e2c254e6f74901dd18d | 03c60c571ab3a95b8eaf2c560aa3e4c9486a77c3 | refs/heads/master | 2021-07-08T18:13:28.459930 | 2017-10-08T12:05:05 | 2017-10-08T12:05:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #pragma once
#include <vector>
#include "../Transfer/bufferfactory.h"
#include "ModelImporter/mesh.h"
#include "../Vulkan/buffer.h"
#include "drawcommand.h"
class MeshManager {
public:
MeshManager(BufferFactory &bufferFactory);
DrawCmd addMesh(const std::vector<Mesh> &meshes);
private:
BufferFactory &mBufferFact... | [
"antoine.morrier@outlook.fr"
] | antoine.morrier@outlook.fr |
1de9ef5dcb8c8c43a4263bb59f4ff89c9f384fa0 | ba34acc11d45cf644d7ce462c5694ce9662c34c2 | /Classes/geometry/recognizer/GeometricRecognizerNode.h | 3028df38c0157db3078645fbfef72c495c46046e | [] | no_license | mspenn/Sketch2D | acce625c4631313ba2ef47a5c8f8eadcd332719b | ae7d9f00814ac68fbd8e3fcb39dfac34edfc9883 | refs/heads/master | 2021-01-12T13:26:35.864853 | 2019-01-09T12:45:11 | 2019-01-09T12:45:11 | 69,162,221 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,980 | h | #ifndef __GEOMETRIC_RECOGNIZER_NODE_H__
#define __GEOMETRIC_RECOGNIZER_NODE_H__
#include "cocos2d.h"
#include "gesture\GeometricRecognizer.h"
// event
#define EVENT_LOADING_TEMPLATE "onLoadingTemplate"
#define EVENT_LOADED_TEMPLATE "onLoadedTemplate"
/**
* Load Template Data for Update Feedback Event
*/
struct... | [
"microsmadio@hotmail.com"
] | microsmadio@hotmail.com |
c8f9f07944e3f28b7cc24f46ddd2fb4374d2b62c | fbb664ae602ecf0c1679dbb998f1cfb296a63b17 | /tests/catch_malloc.h | 3e49d293466a8b0026ae2896fdf18a41287e5bfd | [] | no_license | ADVRHumanoids/RealtimeSvd | 82368c56609b1999d972140d64203e58b7111bee | 71987b17fb0f71d6b0b906849a5ea0021b00a013 | refs/heads/master | 2021-07-06T13:08:39.747407 | 2018-10-22T18:41:56 | 2018-10-22T18:41:56 | 153,766,252 | 1 | 1 | null | 2020-07-31T08:47:03 | 2018-10-19T10:29:06 | CMake | UTF-8 | C++ | false | false | 4,556 | h | #ifndef __CATCH_MALLOC_H__
#define __CATCH_MALLOC_H__
#include <malloc.h>
#include <exception>
#include <iostream>
#include <functional>
namespace XBot { namespace Utils {
class MallocFinder
{
public:
static void SetThrowOnMalloc(bool throw_on_malloc)
{
_... | [
"arturo.laurenzi@iit.it"
] | arturo.laurenzi@iit.it |
f002df229d9b91f81d10fa6b6f78a41843ef53d4 | e157690a1cbf4ba86a61f873ea8cadcb8dd39f10 | /src/matrix.cxx | 2b1fc463bf29e7ae3365cb7638bd7fe2c73e4cff | [] | no_license | mollios/clustering | 8792920705f958a014143d92e33920bf20a1169e | 5af88d45a8465858980f44e6fa7c50913242ae87 | refs/heads/master | 2021-07-12T15:46:34.810127 | 2021-04-15T10:39:05 | 2021-04-15T10:39:05 | 243,174,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,088 | cxx | #include<iostream>
#include<cstdlib>
#include<cmath>
#include"vector.h"
#include"matrix.h"
Matrix::Matrix(int rows, int cols) try :
Rows(rows), Element(new Vector[Rows]){
for(int i=0;i<Rows;i++){
Element[i]=Vector(cols);
}
}
catch(std::bad_alloc){
std::cerr << "Out of Memory" << std::endl;
throw;
}
... | [
"ma20096@shibaura-it.ac.jp"
] | ma20096@shibaura-it.ac.jp |
7aea823a59b8765db5fc58b47d9e74c6fa74ccef | d6c08c1fad41043734f592a5f3e3cca77ff37de3 | /src/Token.cpp | 82e16243c75b78057240877d7d765731bcf02004 | [] | no_license | hstowasser/CompilerProjectV2 | c2b547056f3b96dbe70cfa84361619aa78d13225 | efe1bbd8c656312a8ff3a1439ff083e1632fee1a | refs/heads/main | 2023-03-25T14:10:37.753968 | 2021-03-28T17:09:02 | 2021-03-28T17:09:02 | 340,529,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,055 | cpp | #include "Token.hpp"
#include <stdio.h>
const char * token_type_to_string(token_type_e token_type)
{
switch (token_type){
case T_IDENTIFIER:
return "T_IDENTIFIER";
case T_EOF:
return "T_EOF";
case T_SYM_LPAREN:
return "T_SYM_LPAREN";
... | [
"stowasserheiko@gmail.com"
] | stowasserheiko@gmail.com |
e7a5585209c4f2428ca85fc55d59feb8a1c0482b | b844c8d51fac1148363967993fb3299dcb47164d | /Individual.h | 5a62f53dfb18aee3e2d92b348acae672317871fa | [] | no_license | patyhaizer/brkga | 1470fcbc39187ce0b52a1ed2692c7bcb3a840601 | 3642fc64dbe72e920461d2929b143ea7df54e05c | refs/heads/master | 2021-01-15T17:41:26.636794 | 2015-08-31T23:39:38 | 2015-08-31T23:39:38 | 37,101,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #ifndef INDIVIDUAL_H
#define INDIVIDUAL_H
class Individual {
private:
Individual();
Individual(const Individual& other);
Individual operator=(const Individual& other);
public:
explicit Individual(unsigned chromossomeSize);
~Individual();
double * m_chromossome;
double m_fitness;
uns... | [
"paty.haizer@gmail.com"
] | paty.haizer@gmail.com |
eeec16e423dba54c128128d875387601b6b39188 | 6c78ebd8f7a91957f84e260bf4640e76b8d665e7 | /src/threading/WindowsThread.cpp | 45dde2fb69e46ff5d3a9573a11d524049d861332 | [
"MIT"
] | permissive | TheCoderRaman/nCine | b74728783e34151b4276e2fb303d605602ca78ba | a35f9898cc754a9c1f3c82d8e505160571cb4cf6 | refs/heads/master | 2023-08-28T14:57:43.613194 | 2019-05-30T19:16:32 | 2019-06-14T16:31:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,843 | cpp | #include "common_macros.h"
#include "Thread.h"
namespace ncine {
///////////////////////////////////////////////////////////
// PUBLIC FUNCTIONS
///////////////////////////////////////////////////////////
void ThreadAffinityMask::zero()
{
affinityMask_ = 0LL;
}
void ThreadAffinityMask::set(int cpuNum)
{
affinityM... | [
"encelo@gmail.com"
] | encelo@gmail.com |
803302ab96bf04ea0b55a8ff90a18dbb73c20a72 | 8b552e2a83aefe6546a8d492b101cea675c05a63 | /assignment9(glut)/parser.h | 14724c75ce7bd9a915f78faab22c7dacce22237e | [] | no_license | Dream4Leo/6.837-MIT04Fall-Assignments | 4d1c416f452286282b8922b2ee3afdc7176ae72a | 68f945b2f0be83d367b053f4c128c7c74d5ffed8 | refs/heads/master | 2020-06-16T22:07:28.352960 | 2019-10-05T02:40:49 | 2019-10-05T02:40:49 | 195,717,287 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,279 | h | #ifndef _PARSER_H_
#define _PARSER_H_
#include <assert.h>
#include "vectors.h"
#include "system.h"
#include "generator.h"
#include "integrator.h"
#include "forcefield.h"
// ====================================================================
// ====================================================================
#d... | [
"3180102688@zju.edu.cn"
] | 3180102688@zju.edu.cn |
1598acb4f2925e3f8f70581afd8be1be06b2a311 | cb53a0cff7733bc8f5c70597009580287543bb72 | /AutoSave/2010/inc/acuiComboBox.h | b73077f95c7fa1dd09d6d02a53c6872ec10c9048 | [
"MIT"
] | permissive | 15831944/AllDemo | d23b900f15fe4b786577f60d03a7b72b8dc8bf09 | fe4f56ce91afc09e034ddc80769adf9cc5daef81 | refs/heads/master | 2023-03-15T20:49:15.385750 | 2014-08-27T07:42:24 | 2014-08-27T07:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,606 | h | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright 1994-2009 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the abo... | [
"lixiaolei2005-12@163.com"
] | lixiaolei2005-12@163.com |
96e02b98864cd843b05390a05f3981034c584682 | 3ee0d3519f444e8ac3dd8c4731c9bbe751dd7595 | /FrameData/Shader.h | aa051b160fdd17249ad87ae79c6469ba788ef4bf | [
"MIT"
] | permissive | ousttrue/FunnelPipe | 77f4941fde22353eea2c1e51a1b891e69cc4572f | 380b52a7d41b4128b287ec02280bb703ed6b5d66 | refs/heads/master | 2023-08-23T08:40:56.895419 | 2021-09-08T12:57:41 | 2021-09-08T12:57:41 | 250,489,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,914 | h | #pragma once
#include <wrl/client.h>
#include <d3dcompiler.h>
#include <string>
#include <vector>
#include <memory>
#include <span>
#include "ShaderConstantVariable.h"
namespace framedata
{
class Shader
{
protected:
template <typename T> using ComPtr = Microsoft::WRL::ComPtr<T>;
Shader(const... | [
"ousttrue@gmail.com"
] | ousttrue@gmail.com |
193a0b07ff81166f34390d3d2b2da8da69aba6e0 | 313e686e0f0aa3b2535bc94c68644ca2ea7b8e61 | /src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/instance_the_underbog.cpp | a56c9db1291598f7bf13e38cc2a5fa4a3fdac638 | [] | no_license | mysql1/TournamentCore | cf03d44094257a5348bd6c509357d512fb03a338 | 571238d0ec49078fb13f1965ce7b91c24f2ea262 | refs/heads/master | 2020-12-03T00:29:21.203000 | 2015-05-12T07:30:42 | 2015-05-12T07:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp | /*
* Copyright (C) 2014-2015 TournamentCore
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
*
* 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 2 of the Li... | [
"TournamentCore@gmail.com"
] | TournamentCore@gmail.com |
d4de29e4aee6f69182086c6dbedaa871b2f5fae2 | 37fd355d5d0b9a60e6c5799b029ef95eac749afe | /src/scheduler/grouper/GreedyGrouper.hpp | e76fc49886d8dd16152ff025f17cddc8cf8382d6 | [] | no_license | freiheitsnetz/openwns-library | 7a903aff2ad9d120d53195076d900bd020367980 | eb98600df8b0baca1d90907b5dd2c80c64ab9ffa | refs/heads/master | 2021-01-18T05:07:32.803956 | 2014-03-26T16:16:19 | 2014-03-26T16:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | hpp | /*******************************************************************************
* This file is part of openWNS (open Wireless Network Simulator)
* _____________________________________________________________________________
*
* Copyright (C) 2004-2009
* Chair of Communication Networks (ComNets)
* Kopernikusstr.... | [
"aku@comnets.rwth-aachen.de"
] | aku@comnets.rwth-aachen.de |
77dc64e38297f4a999095ebb5929fc38fbf7b897 | 7e288ad3bcaca2e00e04113ebd251331b5ea300c | /starviewer/src/core/screen.cpp | ed500cb92125679f69914ef74a8e86dada3d0e72 | [] | no_license | idvr/starviewer | b7fb2eb38e8cce6f6cd9b4b10371a071565ae4fc | 94bf98803e4face8f81ff68447cf52a686571ad7 | refs/heads/master | 2020-12-02T17:46:13.018426 | 2014-12-02T11:29:38 | 2014-12-02T11:31:28 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 6,161 | cpp | #include "screen.h"
#include <QString>
namespace udg {
const int Screen::NullScreenID = -1;
const int Screen::MaximumDistanceInBetween = 5;
Screen::Screen()
{
initializeValues();
}
Screen::Screen(const QRect &geometry, const QRect &availableGeometry)
{
initializeValues();
setGeometry(geometry);
set... | [
"jspinola@gmail.com"
] | jspinola@gmail.com |
652cede466fa4be421ae6aab8fde796d3599f151 | 19742122229f417a418158630f279f81c1c503a6 | /repo/daemon/identifier_collector.cc | 477305ef779a520d6ebdc61ed68e032f14a4713e | [
"BSD-3-Clause"
] | permissive | rosstex/replex | 20bbb0829aef4f868fafb34c2a16172d6455ec6f | 2a4499ebc81622985c59647839e7f517869f8c14 | refs/heads/master | 2020-03-17T16:26:10.767096 | 2018-05-17T02:41:23 | 2018-05-17T02:41:23 | 133,748,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,176 | cc | // Copyright (c) 2013-2014, Cornell University
// 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 ... | [
"rapt@cs.princeton.edu"
] | rapt@cs.princeton.edu |
fb77f5d0df4b2b3046c15b939e0295fcb42487f0 | 7f1ef34214ee4a25429fce694f66826316672b1b | /Lab 5/Linked.h | b82718f85ff0e3682de5729675ca2402b9843d73 | [] | no_license | Neel1997/CPlusPlus_Labs_Projects | ca39b201d77c0491ae953f8fb1b3a8c20186c506 | d631c5c9df217e1e2fd8d9528d596f86d6ccec53 | refs/heads/main | 2023-06-30T00:25:36.101943 | 2021-07-28T20:38:31 | 2021-07-28T20:38:31 | 390,493,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | #ifndef LINKED_H
#define LINKED_H
#include <cstdlib>
class Linked {
private:
struct node {
int data;
node *next;
};
node *top;
int size;
public:
Linked();
~Linked();
void display();
int getSize();
void push(int);
void pop();
};
#endif | [
"noreply@github.com"
] | Neel1997.noreply@github.com |
3fc78a06a548c887ef3d79d551062efae5e49c88 | bad319e286793086efef5f1998f9494ff45a3ad8 | /Source/SimpleShooter/ShooterPlayerController.h | 1569ee56f9f4bd888d1fcb68c3fc28095ec08e8f | [] | no_license | SharkyZg/SimpleShooter | e8b982bc032c94cd07aa7e2c61b15e0d81b57e88 | 0ae518d2a5b03992ecdc7dd3e94f2dbf66037e64 | refs/heads/master | 2023-01-20T22:59:14.402966 | 2020-11-26T16:46:07 | 2020-11-26T16:46:07 | 312,320,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "ShooterPlayerController.generated.h"
/**
*
*/
UCLASS()
class SIMPLESHOOTER_API AShooterPlayerController : public APlayerController
{
GENERATED... | [
"marko.sarkanj@gmail.com"
] | marko.sarkanj@gmail.com |
dc9e13f445eced52b3c0f582db2a4eb419c8f257 | 19a6f3b91067868ce488f6cc296c616dac1efef7 | /linthurst_IO.cpp | 9dbd4a3d51d605fac778c7ff7393f1ae2b9dbe9c | [] | no_license | deerchomp/datastructures | 4472414e2de61fb2514bff783792baa1a91af108 | d07997f197e1de93e6200eeb5cced9929fc6c847 | refs/heads/master | 2021-06-10T14:57:30.941732 | 2017-02-05T12:39:23 | 2017-02-05T12:39:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | /*
IO
Brendon Linthurst 659223
CS41
*/
#include <iostream>
#include <string>
using namespace std;
int main()
{
float a;
char s[] = "Hello world there are 3.5 items";
char *parse;
parse = strtok(s," ");
while(parse != NULL)
{
if(atof(parse) != 0)
{
a = atof(parse);
cout << a * 2 << e... | [
"noreply@github.com"
] | deerchomp.noreply@github.com |
14abfaf9a69be7d5d038eb24a03fb4c3e253b9c4 | f52dfc8918cb8ab0028980dd06ebdaeda31d1aed | /Arduino/SerialLighthouse_constant_broadcast/SerialLighthouse_constant_broadcast.ino | e568dbf4b9cefa423514c757fe0aafec7d07611d | [] | no_license | l-henri/lightning-lighthouse | 47dfe58e52069da944d7ab90bcec8311fdb591b7 | f15ca907794ab36f67ab216427b474a6173f5121 | refs/heads/master | 2020-05-15T05:01:30.656389 | 2019-05-20T07:43:01 | 2019-05-20T07:43:01 | 182,098,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,804 | ino | /*
This is an example of how simple driving a Neopixel can be
This code is optimized for understandability and changability rather than raw speed
More info at http://wp.josh.com/2014/05/11/ws2812-neopixels-made-easy/
*/
#include <SoftwareSerial.h>
#include <avr/pgmspace.h>
#define PIXELS 16 // Number of pixels in t... | [
"Henri.lieutaud@gmail.com"
] | Henri.lieutaud@gmail.com |
ee447d1259521fe5626a8ca0c351c47080340796 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/ui/views/apps/chrome_shell_window_delegate_views_win.cc | 9ef69f376d2f18bba1c3fe4ba610e119990b680a | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 602 | 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 "chrome/browser/ui/apps/chrome_shell_window_delegate.h"
#include "chrome/browser/ui/views/apps/native_app_window_views_win.h"
// static
apps::N... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
e8cc0241f395c14e3cefdc0ba2d999382d65ce49 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_2/processor0/45/U | 75746fc545ff35b0f35f409eaa3169b303e43943 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,606 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseh13@login4.stampede2.tacc.utexas.edu"
] | chaseh13@login4.stampede2.tacc.utexas.edu | |
f94fea4e83ee4e11b69da28aa3b4b010f9cf6840 | 92c4eb7b4e66e82fda6684d7c98a6a66203d930a | /src/FW/actors/Terminal.cc | 4499fbb1537bd104cef108d4a6dd991bc3ff99bd | [] | no_license | grouptheory/SEAN | 5ea2ab3606898d842b36d5c4941a5685cda529d9 | 6aa7d7a81a6f71a5f2a4f52f15d8e50b863f05b4 | refs/heads/master | 2020-03-16T23:15:51.392537 | 2018-05-11T17:49:18 | 2018-05-11T17:49:18 | 133,071,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,945 | cc | // -*- C++ -*-
// +++++++++++++++
// S E A N --- Signalling Entity for ATM Networks ---
// +++++++++++++++
// Version: 1.0.1
//
// Copyright (c) 1998
// Naval Research Laboratory (NRL/CCS)
// and the
// Defense Advanced Research Projects Agency (DARPA)
//
// All Rights Reserved.
/... | [
"grouptheory@gmail.com"
] | grouptheory@gmail.com |
5215a1051ccadd7a8229f481cb7134cf17d68564 | 525b6ab973b23d8333fad39dcd530c217e14741f | /stop_variables/mt2w.cc | 47e35f0e46147889803b3f0efec15535d6ff1933 | [] | no_license | mialiu149/AnalysisLoopers2015 | 2aa4ec86d6bd75a1510231813b7dc5e11acd1bd6 | 718c8b33243042f330cbc872af1f805106d4143e | refs/heads/master | 2020-12-15T04:08:49.690916 | 2019-01-17T20:45:50 | 2019-01-17T20:45:50 | 44,395,757 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,677 | cc | #include "mt2w.h"
//
//--------------------------------------------------------------------
// original 8 TeV function
double calculateMT2w(vector<LorentzVector>& jets, vector<bool>& btag, LorentzVector& lep, float met, float metphi){
// I am asumming that jets is sorted by Pt
assert ( jets.size() == btag.si... | [
"miaoyuan.liu0@gmail.com"
] | miaoyuan.liu0@gmail.com |
14bf65a3e4a854cda2e6f5212fbf4ccc8554ca50 | 64443c653af8246bf56f7630da7645136363bfcd | /graph.h | 10bfe05fa6c3c6fb7e9edf5f445ac0a2bfcbfecb | [] | no_license | tallisson/fluxo_carga | 4bb9e438973ee2dab2722f4710adb22897a9a33b | b0adb0508bc3003a68dc3e7ac4c529d30b9a8283 | refs/heads/master | 2020-07-21T01:58:32.210617 | 2016-11-14T19:28:46 | 2016-11-14T19:28:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | h | #ifndef GRAPH_H_
#define GRAPH_H_
#include "branch.h"
#include "bus.h"
#include "ns3/ptr.h"
#include "ns3/object.h"
#include "ns3/type-id.h"
#include <string>
#include <map>
namespace ns3 {
class Graph : public Object
{
private:
uint32_t m_numBus;
uint32_t m_numBranch;
uint32_t m_numPQ;
uint32_t m_numPV;
uin... | [
"allissonribeiro02@gmail.com"
] | allissonribeiro02@gmail.com |
8f4b13baa0b3d61774802cc93660f787f697799e | 87a522ab62ce1dc073579bf8acf400e87fe4eb71 | /ros_ws/devel/include/stdr_msgs/DeleteRobotFeedback.h | 1c20d854b955ebbdc862c66cf717c6c2665bdd7f | [] | no_license | ElchananHaas/mdas-backup | 410ed0798c2a0f3b069bb4141e706aab03cd0de7 | e37e0a9cdbc3f22b8762640cc91a4a3f3e8a4f54 | refs/heads/master | 2021-09-17T23:32:17.228338 | 2018-07-06T19:28:35 | 2018-07-06T19:28:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,178 | h | // Generated by gencpp from file stdr_msgs/DeleteRobotFeedback.msg
// DO NOT EDIT!
#ifndef STDR_MSGS_MESSAGE_DELETEROBOTFEEDBACK_H
#define STDR_MSGS_MESSAGE_DELETEROBOTFEEDBACK_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_t... | [
"cxy231@case.edu"
] | cxy231@case.edu |
ee44fb7c2ad56cab13e4bdeddf3d0b93bf1b2ce9 | eda9f799bfb03649423aab3438f4fab339c6287c | /products/cardframes/framecardoptions.cpp | 0711323c9057750994bb1ac97c6c6cf12ab80d66 | [] | no_license | MaratHmit/shopadmin_qt | 0dc56e90c74927b139183135cd8e9e6158509227 | d9345c5f20d7d2e6bac42d28901207f85fef29a8 | refs/heads/master | 2020-12-22T04:14:04.213302 | 2020-01-28T05:50:17 | 2020-01-28T05:50:17 | 236,667,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,046 | cpp | #include "framecardoptions.h"
#include "ui_framecardoptions.h"
#include "formoptionsparams.h"
#include "formproducts.h"
FrameCardOptions::FrameCardOptions(QWidget *parent, DataProduct *item, const int &typeDialog) :
QDialog(parent),
ui(new Ui::FrameCardOptions)
{
ui->setupUi(this);
product = item;
... | [
"hmm19792@gmail.com"
] | hmm19792@gmail.com |
61cdc9adbcaec9e25f91357127d62b47bab6af6a | dd92b8cc9a2bca3a1b3d5ebf36fc00493a39dc2f | /src/tool/hpcrun/sample-sources/blame-shift/blame-map.c | 5d8b5767e754302f617a64685f485075f8d4c1cb | [] | no_license | tjovanovic996/hpctoolkit-tracing | effb19b34430eea9df02f19e906b846782b52fa4 | f93e17149985cc93a3c6c4654e2a6e472f681189 | refs/heads/master | 2020-07-09T19:58:55.783806 | 2019-08-23T21:09:23 | 2019-08-23T21:09:23 | 204,068,692 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,394 | c | // -*-Mode: C++;-*- // technically C99
// * BeginRiceCopyright *****************************************************
//
// $HeadURL: $
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research ... | [
"ax4@gpu.cs.rice.edu"
] | ax4@gpu.cs.rice.edu |
2a13231b8e63dc0fca1b03ac00bd3d7017a32ccc | 4b5ea843b81b17626fff180dac3b3bec82e8110e | /Plugins/BIPlugin/Source/BIPlugin/Private/PathPredictionEntry.cpp | c738e6cd3cb88bddc0cd82922ef78d8bbc500a10 | [] | no_license | TeraNaidja/UE4BlueprintPlugin | 75452e0302fcba5e3ff99b5838ea3b8f46ecb1c2 | 16784cf63b688c2fb451f728ee5f40a8e5d4e9d9 | refs/heads/master | 2016-09-03T03:49:17.131454 | 2015-09-22T11:29:19 | 2015-09-22T11:29:19 | 33,359,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "BIPluginPrivatePCH.h"
#include "PathPredictionEntry.h"
PathPredictionEntry::PathPredictionEntry()
: m_NumUses(0)
{
}
PathPredictionEntry::~PathPredictionEntry()
{
}
bool PathPredictionEntry::CompareExcludingUses(const PathPredictionEntry& a_Other) const
{
return m_AnchorVertex == a_Other.m_AnchorVertex &... | [
"phildegroot5@gmail.com"
] | phildegroot5@gmail.com |
6615bbd13750a2da07b1f2389c80b3a1f2e3b0f4 | 4d603466d7abe1d9dced9bd4530cd6dffd6b9e17 | /external/Box2d/Testbed/Tests/Breakable.h | bcb2927c438ec196c21f7e358ef47254c0b4696f | [
"MIT",
"Zlib"
] | permissive | tearsofphoenix/TauEngine | 92debd43f046ddc4b3e46952eb7046695d5513dc | 61407d83b3167362631634bb75d975a77ee00acb | refs/heads/master | 2021-01-09T05:36:28.708356 | 2012-10-31T02:07:07 | 2012-10-31T02:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | h | /*
* Copyright (c) 2008-2009 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"tearsofphoenix@yahoo.cn"
] | tearsofphoenix@yahoo.cn |
5ebbfce2147b6f43a4a78934618f28350b3a597f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5639104758808576_0/C++/Biigbang/p1.cpp | 172bdebce242acbff444a988777c7cc8929189b9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <stdio.h>
const int maxs = 1001;
char shy[maxs];
int T, S;
int main() {
int c, a;
scanf("%d", &T);
for(int t = 1; t <= T; ++t) {
scanf("%d%s", &S, shy);
c = a = 0;
for(int i = 0; i <= S; ++i) {
if (shy[i] > '0') {
if (c >= i) {
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
c391aa1b2e300dec6ab17d9e4ab3adbd081bfbde | 20252f132d754859b668d1fcbad36adc2b46a364 | /classNonInherit.cpp | b48fd6d09b84c44d22b4331b651284b71ff64086 | [] | no_license | weiwang1996/code-store | da341904000055bb14d78da2bb1c3dcfd8d80144 | 0bf7ad6858d3109be49a051820858ea8c0981a5f | refs/heads/master | 2021-01-01T18:35:46.109755 | 2017-08-27T16:14:20 | 2017-08-27T16:14:20 | 98,372,348 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,077 | cpp | #include<iostream>
using namespace std;
//第一种方法,封装构造函数,给出static接口,在继承的时候,
//派生类构造函数的初始化列表上调基类的构造函数,调不到
//从而防止继承,但是这种方法只能在堆上产生对象,不能再栈上产生对象,有弊端
//class NonInherit
//{
//public:
// static NonInherit* GetObj(int a)
// {
// return new NonInherit(a);
// }
//private:
// NonInherit(int a)
// :_a(a)
// {}
// ~... | [
"noreply@github.com"
] | weiwang1996.noreply@github.com |
2097518b46463e03be06944097ad41cc42d2a386 | a5b7a83c1aa0d6b98542f3862f5f39f697396233 | /GameEnd.h | 561ee3e32f58e10a7ac5e014dfe43e2e1c38e99c | [] | no_license | kang-hyungoo/PixeelGameEngine_Portfolio | 51f3dd8fd4ad4ae03950151b348e937a0cc1a0f1 | 4f9d19aa26e4eb2a9afa4b76033f332e6f7b3909 | refs/heads/main | 2023-04-03T13:07:27.807824 | 2021-04-07T13:14:01 | 2021-04-07T13:14:01 | 345,810,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | #pragma once
#include <iostream>
using namespace std;
class cCircleShootor;
class cGameEnd {
private:
string mGameScore;
string mStart;
bool mDisyplay = true;
float mBlinkTime = 0.0f;
public:
void CreateTitle(cCircleShootor* tpCircle, int tScore);
void UpdateTitle(float fElapsedTime, cCirc... | [
"noreply@github.com"
] | kang-hyungoo.noreply@github.com |
5a15cc8fdeb4ecd5ed92e6ff251da804e3db1cc4 | d9432b3c1895a1c9a264c1d96dbf5e0dc12a9641 | /UVa/volume-129/12938.cpp | 54b486afd4d259c447d41152987e2eb3e84d01b9 | [] | no_license | TheMartian0x48/CP | 4ad21f41c71681a76c388690bacd876ab1d1848a | fd8492d59fc5410c6894ffa74b9c30b1b7ac2118 | refs/heads/master | 2023-06-28T08:04:22.659100 | 2021-07-22T07:49:15 | 2021-07-22T07:49:15 | 293,585,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | /*
* TheMartian0x48
* UVa 12938
*/
#include <bits/stdc++.h>
using namespace std;
// clang-format off
#define rep(i, a, b) for (int i = a; i < (b); ++i)
#define per(i, a, b) for (int i = a; i >= (b); --i)
#define trav(a, x) for (auto &a : x)
#define all(x) x.begin(), x.end()
#define rll(x) x.rbegin(), x.rend()
#defi... | [
"cr7.aditya.cs@gmail.com"
] | cr7.aditya.cs@gmail.com |
e90761666534f3d1a02260f75faf0273fd6a6f6b | 64cba1f3f335b6c7a53a3cc7011ad314cc261d56 | /insertionSort.cpp | af322380b1671f9aaefa99e4510b0f3bdd2b5772 | [] | no_license | AniruddhSringeri/1BM18CS015-ADA | 0b68d8ba16609e5b575c4f06346cd63db241989a | 9d7c1e33dd71ea7599f26ca1c70c6e32fe76f0b7 | refs/heads/master | 2020-12-29T13:50:52.706397 | 2020-05-09T04:47:56 | 2020-05-09T04:47:56 | 238,627,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | #include<iostream>
#include<ctime>
#include<algorithm>
int main()
{
clock_t t;
int *a, n, temp;
std::cout << "Enter the number of elements\n";
std::cin >> n;
a = new int[n];
for(int i = 0; i < n; i++)
{
a[i] = rand() / 10;
}
t = clock();
for(int i = 1; i < n; i++... | [
"noreply@github.com"
] | AniruddhSringeri.noreply@github.com |
f813dcb17b351f08c8ad0f141d8f1e7497c36864 | 522c65b867a502894dfb73b3525bde3d58d087a5 | /C++/Leetcode/354.cpp | 44e5fa59410ee25791ffb051ce871ce613a3fb7f | [] | no_license | QiuBiuBiu/LeetCode | 57f34a4a2850151edaa7b84fb66ea485a3a5fc7e | dc14ef27dfee8379e8b5ec7f1518ba4a24c9c01e | refs/heads/master | 2023-04-09T04:10:53.709832 | 2023-03-30T11:50:33 | 2023-03-30T11:50:33 | 148,468,830 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,941 | cpp | /*
354. 俄罗斯套娃信封问题
给你一个二维整数数组 envelopes ,其中 envelopes[i] = [wi, hi] ,表示第 i 个信封的宽度和高度。
当另一个信封的宽度和高度都比这个信封大的时候,这个信封就可以放进另一个信封里,如同俄罗斯套娃一样。
请计算 最多能有多少个 信封能组成一组“俄罗斯套娃”信封(即可以把一个信封放到另一个信封里面)。
*/
/*
PS:此题是300题的二维扩展,由于此题数据量较大,所以动态规划方法TLE
1)动态规划,T=O(n^2),S=O(n)
记f[i]为以i封信为最外层信封的最多信封序列。因为信封一开始是无序的,所以我们需要对其... | [
"yongjie.qiu@qq.com"
] | yongjie.qiu@qq.com |
0ccd18e9b840f733d23cbdf894ee218a84289bbe | 7c5343b302eda9b52e1c34723fc9578c893d8fcf | /Userland/DevTools/HackStudio/LanguageServers/Cpp/CppComprehensionEngine.cpp | acfab18d8e447e8458106b5f5159ef52612a02d5 | [
"BSD-2-Clause"
] | permissive | 1player/serenity | 7ac6e70cf6616f27b7d2c658f4494d8113210852 | b639bf64f283d4ffc8d6d8ccc44c599acd08683e | refs/heads/master | 2023-05-13T06:35:09.138089 | 2021-06-09T22:28:59 | 2021-06-09T22:46:37 | 375,615,810 | 1 | 0 | BSD-2-Clause | 2021-06-10T07:52:11 | 2021-06-10T07:52:11 | null | UTF-8 | C++ | false | false | 26,563 | cpp | /*
* Copyright (c) 2021, Itamar S. <itamar8910@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "CppComprehensionEngine.h"
#include <AK/Assertions.h>
#include <AK/HashTable.h>
#include <AK/OwnPtr.h>
#include <LibCore/DirIterator.h>
#include <LibCore/File.h>
#include <LibCpp/AST.h>
#include <LibCpp/... | [
"kling@serenityos.org"
] | kling@serenityos.org |
5c1dd35e3bfda706384f93b103612e726a81b8c0 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /redis/src/v20180412/model/DescribeSSLStatusRequest.cpp | d924b045df8cca49880bc6a7eca3304c3feb2ec9 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 2,004 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.