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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3a90e0b57f26aa7759f9156e09fd0d8a7de70a1 | 282f567373766261ef56e3b8824b58e107584f94 | /OJ/OpenJudge/1.9 编程基础之顺序查找/1.9-03.cpp | 19fa6a1257b0a6caf1a3a71057de4ab2ce84efbd | [] | no_license | yhzhm/Practice | 27aff56652122d64d7879f15aa41e2550240bb06 | 9114447ed3346614a7c633f51917069da6aa17f7 | refs/heads/master | 2022-10-19T01:15:10.517149 | 2022-09-29T09:04:38 | 2022-09-29T09:04:38 | 121,328,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int max = 0, n1, n2, d = 0;
for (int i = 1; i <= 7; ++i) {
cin >> n1 >> n2;
if (n1 + n2 > 8 && max < n1 + n2) {
max = n1 + n2;
d = i;
}
}
cout << d << endl;
return 0;
} | [
"yhzhm@qq.com"
] | yhzhm@qq.com |
2baed85eca21934ec8b91d5f8b4c7866e5809ae9 | 16044e3f6f48f33a270867eef13d41b6a0617186 | /boost/library/boost/thread/detail/lock.hpp | d2974ea0de2d139a6d3fc0dd93db8b1264688bea | [] | no_license | esoobservatory/fitsliberator | 47350be9b99ff7ba3c16bae9766621d1f324d2ef | 02e11d9bd718dfb68b3d729cafc49915c8962b8e | refs/heads/master | 2021-01-18T16:30:10.922487 | 2015-08-19T15:14:58 | 2015-08-19T15:14:58 | 41,041,169 | 38 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 4,621 | hpp | // Copyright (C) 2001-2003
// William E. Kempf
//
// Distributed under 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)
#ifndef BOOST_XLOCK_WEK070601_HPP
#define BOOST_XLOCK_WEK070601_HPP
#include <boost/thread/detail/config.hpp>
#... | [
"kaspar@localhost"
] | kaspar@localhost |
73fe1961d66789e1c2691cd2a400574424ccd116 | af886cff5033e866c2208f2d179b88ff74d33794 | /PCSamples/Graphics/VideoTexturePC12/DeviceResources.h | 21b2cc7e8f72d53b4a1eca235b98d4a9eb947700 | [] | permissive | tunip3/Xbox-ATG-Samples | c1d1d6c0b9f93c453733a1dada074b357bd6577a | 27e30925a46ae5777703361409b8395fed0394d3 | refs/heads/master | 2020-04-14T08:37:00.614182 | 2018-12-14T02:38:01 | 2018-12-14T02:38:01 | 163,739,353 | 3 | 0 | MIT | 2019-01-01T13:38:37 | 2019-01-01T13:38:37 | null | UTF-8 | C++ | false | false | 6,572 | h | //
// DeviceResources.h - A wrapper for the Direct3D 12 device and swapchain
//
#pragma once
namespace DX
{
// Provides an interface for an application that owns DeviceResources to be notified of the device being lost or created.
interface IDeviceNotify
{
virtual void OnDeviceLost() = 0;
... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
4d8a7d81f657c9d3e964834e42b018354bb4fd3e | 9b8591c5f2a54cc74c73a30472f97909e35f2ecf | /codegen/QtCharts/QVPieModelMapperSlots.h | 80cdd51380059a564216b25016c1cb346d4f1f83 | [
"MIT"
] | permissive | tnsr1/Qt5xHb | d3a9396a6ad5047010acd5d8459688e6e07e49c2 | 04b6bd5d8fb08903621003fa5e9b61b831c36fb3 | refs/heads/master | 2021-05-17T11:15:52.567808 | 2020-03-26T06:52:17 | 2020-03-26T06:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | %%
%% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
%%
%% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
%%
$project=Qt5xHb
$module=QtCharts
$header
$includes=5,7,0
using namespace QtCharts;
$beginSlotsClass
$signal=5,7,0|firstRowChanged()
$signal=5,7,0|labelsCol... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
259880e592a6f7194dc69f7b054227460ebc06c3 | 1c83aef38de4e27f54d4664886a431b4fd2caea3 | /Engine/Rendering/VertexArray.h | 38946e75f40796b05d442f3f7b9e32d28a95b6ee | [] | no_license | quinsmpang/StormBrewerEngine | 7a84494debe415c9216586ccfb7d1faf5e0e016f | 73f0f3874874909fdf97977737133f5996668410 | refs/heads/master | 2021-06-21T05:42:34.051588 | 2017-08-09T08:51:42 | 2017-08-09T08:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #pragma once
#include "Engine/EngineCommon.h"
#include "Engine/Rendering/VertexDefinition.h"
#include "Engine/Rendering/ShaderProgram.h"
#include "Engine/Rendering/VertexBuffer.h"
#ifndef _WEB
class ENGINE_EXPORT VertexArray
{
public:
VertexArray();
VertexArray(const VertexArray & rhs) = delete;
VertexArray(V... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
b7799b124336aa3cee9e3ab585b6afcc2e705c63 | aa238e9d4f0b7ff0e86469b88bd877fde3f2c37f | /be/src/http/http_status.h | 44779a2d65acfc2120c10bfc80ae484c93f1835a | [
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"bzip2-1.0.6",
"BSL-1.0",
"PSF-2.0"
] | permissive | tengxunshigou/palo | 42474a5bcb3933443830c0ea6a1c56dd8f608c45 | fb64a1a8e8ed612cd95d1ea0c67bf70804a1d2da | refs/heads/master | 2021-01-16T21:13:50.190451 | 2017-08-11T14:09:07 | 2017-08-11T14:09:07 | 100,223,889 | 1 | 0 | null | 2017-08-14T03:18:55 | 2017-08-14T03:18:55 | null | UTF-8 | C++ | false | false | 2,201 | h | // Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under... | [
"lichaoyong121@qq.com"
] | lichaoyong121@qq.com |
2465ef4b26b60aa47797c16e5d5c9ee85b13433f | 2442e2798dd379a5adeebfa392728720e6d14015 | /Promise.h | 67e5dcc1248b893f5d793fb22eb154563c688879 | [] | no_license | Amoniy/cpp-second-year-hometasks | 38e9c5c54ff0c02106c99c84cedb63d266fcc2d6 | 03a3615edcdd8221d0fc944eacdffb61c0623740 | refs/heads/master | 2021-09-28T08:12:03.654931 | 2018-11-15T20:54:49 | 2018-11-15T20:54:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,161 | h | #pragma once
#include <functional>
#include "Future.h"
template<typename T>
class Promise {
void ensureInitialized() const {
if (!state) {
throw std::runtime_error("Promise does not have state");
}
}
public:
void setPool(ThreadPool *threadPool) {
state->threadPool = th... | [
"anton17.04.1998@gmail.com"
] | anton17.04.1998@gmail.com |
56cac07d3f808598c1e1a2d7354bd594586e84fb | 10ee620f5e4473e11fb821d5944a6b06bf4ca493 | /UPPayAppDemo1/inc/BrCtlSampleAppContainer.h | 43f3da2633cd1714296830d0ceaeb30ad898f630 | [] | no_license | zhonghualee/TestSymbian | a4bc7401964da9a47ea4f80c68386e834613eb24 | 014ef7ef759a3dca419daf787eca2e5b8b8e4d6b | refs/heads/master | 2016-09-05T11:28:51.442611 | 2012-08-06T07:31:02 | 2012-08-06T07:31:02 | 5,311,232 | 0 | 1 | null | null | null | null | MacCentralEurope | C++ | false | false | 8,795 | h | /*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Symbian Foundation License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.symbia... | [
"zhonghua.lee@gmail.com"
] | zhonghua.lee@gmail.com |
817395801d2ef98d2a8fc9abaedd094fc60a9632 | 8c46efa71edb8413bb46deb36b347627834a0c77 | /Common/math/triangle.cpp | 2bb95e19975d28924fbaaa8701266a76408f0f92 | [
"MIT"
] | permissive | azhugg/Common | 4f5b08d3f8dc66936b7eb243a5db2b3379fba06a | 239caba7912454a239e2162cad479fb1dd4ced7e | refs/heads/master | 2021-08-18T18:58:12.723498 | 2017-11-23T15:41:11 | 2017-11-23T15:41:11 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,992 | cpp |
#include "stdafx.h"
#include "triangle.h"
using namespace common;
Triangle::Triangle()
{
}
Triangle::Triangle( const Vector3& v1, const Vector3& v2, const Vector3 &v3 ):
a(v1), b(v2), c( v3 )
{
}
// Init
void Triangle::Create( const Vector3& v1, const Vector3& v2, const Vector3& v3 )
{
a = v1;
b = v2;
c = v3... | [
"jjuiddong@gmail.com"
] | jjuiddong@gmail.com |
5a5bafc37a73a009d6777f95038161f03ede3feb | c32829b434b3527a9545fa5db37af62fba818508 | /WinSTDyn/GUI/CIWidget.cpp | 5df78e24c9f2412bda933da224f5b1fe8a6a4668 | [
"MIT"
] | permissive | chen0040/ogre-war-game-simulator | 63dabfbf9e4bbfe4d1489cf7e67e2f93215af1c9 | 58eee268eae0612d206e7eb0b8e495708db1ef27 | refs/heads/master | 2021-01-20T06:14:31.772192 | 2017-09-06T00:27:39 | 2017-09-06T00:27:39 | 101,493,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include "stdafx.h"
#include "CIWidget.h"
#include "GUIManager.h"
#include <Ogre.h>
#include <sstream>
CIWidget::CIWidget(CIWidget* parentWidget, CEGUI::Window* parentWindow)
{
mParentWidget=parentWidget;
mParentWindow=parentWindow;
if(mParentWindow == NULL)
{
mParentWindow=CEGUI::System::getSingletonPtr()->get... | [
"xs0040@gmail.com"
] | xs0040@gmail.com |
704b4b36a6a3a06861ee4e77c40d0513f0b4c338 | f34d62dbcc664385823c0f273c3e6aef66037f58 | /SimpleManager/RoleManagerItem.h | dbd259cd8b82c0b6c7178d2789d922433b6bec65 | [] | no_license | MetalPizzaCat/SimpleManager | 4a1455555aaf6cb8b83fe08ddb007b1fb88d848a | fb42350ce9061e2c7c5e97cc0f7e3424f6af7748 | refs/heads/master | 2023-03-12T23:10:34.635008 | 2021-02-26T12:14:04 | 2021-02-26T12:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #pragma once
#include <QWidget>
#include "ui_RoleManagerItem.h"
#include "Info.h"
#include <QSqlDatabase>
class RoleManagerItem : public QWidget
{
Q_OBJECT
public:
RoleManagerItem(ManagerInfo::SUserInfo currentUserInfo, QSqlDatabase dataBase, QWidget *parent = Q_NULLPTR);
~RoleManagerItem();
private:
void Gene... | [
"catguy228@gmail.com"
] | catguy228@gmail.com |
5cd51f2eefe35c079bf0a6b95fd417d0fa910f53 | e672c441b7cb2fbfc5af72b18a6c7cd1621efc7d | /general/base/ChatParsing.cpp | 4ab2925295aa715b532ad5c8997bbe65bc99cf15 | [] | no_license | tgjklmda/CatchChallenger | f7b16da8ebcd3ef61e08c6e51015d49c4e8cbefb | beea053f581ecf9732aa887c6b6e5e4ff8769e9e | refs/heads/master | 2020-12-25T12:28:10.163407 | 2013-02-14T13:23:46 | 2013-02-14T13:23:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,411 | cpp | #include "ChatParsing.h"
using namespace CatchChallenger;
QString ChatParsing::new_chat_message(QString pseudo,Player_type player_type,Chat_type chat_type,QString text)
{
QString returned_html;
returned_html+="<div style=\"";
switch(chat_type)
{
case Chat_type_local://local
break;
... | [
"alpha_one_x86@first-world.info"
] | alpha_one_x86@first-world.info |
c99cf373b34b49b8374c2f78850e8c97fc665ff0 | ee61f27df1463ebe0e77c2184cced2b587d6f61c | /app/src/main/cpp/include/seeta/QualityOfPoseEx.h | 1e9e4d0430be08b0f307a591aade044dac272a28 | [] | no_license | crisgol/SeetafaceJni | 1e42179326aa163bcead0acc61c030a90a1386e9 | 1efbf765f765e7c5d78480fb1fd1f627f1d3e591 | refs/heads/master | 2023-06-26T15:12:40.175594 | 2021-07-21T14:45:49 | 2021-07-21T14:45:49 | 388,300,550 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | h | //
// Created by kier on 2019-07-24.
//
#ifndef SEETA_QUALITYEVALUATOR_QUALITYOFPOSEEX_H
#define SEETA_QUALITYEVALUATOR_QUALITYOFPOSEEX_H
#include "QualityStructure.h"
namespace seeta {
namespace v3 {
class QualityOfPoseEx : public QualityRule {
public:
enum PROPERTY
{
... | [
"1299204885@qq.com"
] | 1299204885@qq.com |
bc0006ece8659384ba0105766b9be8c649a19fb9 | 80526767a31791306fb8ebd3969a53c59c5c55c3 | /Torretta.cpp | 6a24df39141886381c807f63e0e43b75fb3de1ce | [] | no_license | SeppiaBrilla/Non-Gravitar | 6de3338d998f9bf5c1dd5faf613724a5ccbe8156 | 0c542084d6e7d2b71383f3198f4d10d357df814a | refs/heads/master | 2020-09-25T08:26:49.572065 | 2019-12-04T21:42:01 | 2019-12-04T21:42:01 | 225,962,078 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,069 | cpp | #include "Torretta.hpp"
Torretta::Torretta() {}
Torretta::~Torretta() {}
Torretta::Torretta(float x, float y, float Angle) :objGame(x, y, 2)
{
angle = Angle;
TimeToShoot = 200;
pro = false;
Color = 3;
}
void Torretta::Update(float fElapsedTime, float Px, float Py) {
//Viene modificato l'angolo di puntamento t... | [
"noreply@github.com"
] | SeppiaBrilla.noreply@github.com |
8b32a8635834168d57c311d5b8419347f8e3f639 | cd004ef6ad32218c7153bd8c06cc83818975154a | /FDK/LrpCommon/Server_Server.hpp | f086164d79722a0e9a51d1a3fc33f5d05429982d | [
"MIT"
] | permissive | marmysh/FDK | 11b7890c26f7aa024af8ea82fcb7c141326d2e6f | cc6696a8eded9355e4789b0193872332f46cb792 | refs/heads/master | 2020-12-14T18:56:28.229987 | 2016-07-13T13:50:42 | 2016-07-13T13:50:42 | 63,467,798 | 1 | 0 | null | 2016-07-16T05:51:14 | 2016-07-16T05:51:14 | null | UTF-8 | C++ | false | false | 10,000 | hpp | // This is always generated file. Do not change anything.
// handlers of Server component
namespace
{
const unsigned short LrpComponent_Server_Id = 0;
const unsigned short LrpMethod_Server_OnHeartBeatRequest_Id = 0;
const unsigned short LrpMethod_Server_OnHeartBeatResponse_Id = 1;
const unsigned short LrpMethod_S... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
5729fab1fbc3c2302e7ea7999c80fafe556a29d5 | 03d625a9296d7820d5ae64bdbf934c8a822af568 | /Node.cpp | 0a61d2d49f13b5761c81a85907b106907839181c | [] | no_license | kutycoi123/BpTree | 0906b049d6fc70e0bea4cdb2e3b3a2b6569ac23b | dbfb56d629766afa3ad21a677442a628c279184f | refs/heads/main | 2023-04-19T04:58:53.042650 | 2021-04-21T21:09:41 | 2021-04-21T21:09:41 | 360,306,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,250 | cpp | #include "Node.h"
/*======== NODE class implementation ========*/
Node::Node(int limit) : keysLimit(limit), parent(nullptr){
}
bool Node::hasKey(int k) const noexcept{
auto it = std::find(keys.begin(), keys.end(), k);
return it != keys.end();
}
int Node::getIndexOfKey(int k) const noexcept{
auto it = std::find... | [
"kutycoi123@gmail.com"
] | kutycoi123@gmail.com |
b37c4be4aacb765dae92d77c993add50d6bd0dd0 | e38c42dbf7de211b770898449b70313255085518 | /template/template/class.cpp | e70cfb03ccc3599ab7a46559f2cefc5d8d7b4d61 | [] | no_license | CycMei/cccccc | b59fc5ecdaab0e22b49f8419699b16a49bf8fa88 | 3b50ab3fe197acf0c37e46854d76c232eda252e8 | refs/heads/master | 2021-05-04T03:49:13.541088 | 2016-10-13T09:04:19 | 2016-10-13T09:04:19 | 70,788,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | cpp | #include<iostream>
#include<vector>
#include<memory>
#include<string>
#include<initializer_list>
#include<boost\bimap.hpp>
template<typename T>class Blob {
public:
typedef T value_type;
typedef typename std::vector<T>::size_type size_type;
Blob();
Blob(std::initializer_list<T> il);
size_type size() const {
retur... | [
"chayalikemei@outlook.com"
] | chayalikemei@outlook.com |
f4aa4dc33b66831298a5643799449bb5772a8cf9 | ca57d57bec37faeb57899a80df5b4d267a536ac5 | /src/sun_ray/main.cpp | 173954ba0111b04b0d7d4e54c8529f44ac64a053 | [
"BSD-3-Clause"
] | permissive | fuersten/sun_ray | ed875b2a5a2c0f9fd8bfb7321921b1b70c205a3a | b882d67cd9747f61b50def4c1414e7552ba917c0 | refs/heads/main | 2023-04-17T04:08:18.860499 | 2021-04-27T10:15:50 | 2021-04-27T10:15:50 | 335,270,596 | 2 | 0 | BSD-3-Clause | 2021-04-27T10:03:57 | 2021-02-02T11:46:17 | C++ | UTF-8 | C++ | false | false | 450 | cpp | //
// main.cpp
// sun_ray
//
// Created by Lars-Christian Fürstenberg on 21.12.19.
// Copyright © 2019 Lars-Christian Fürstenberg. All rights reserved.
//
#include <sun_ray/init.h>
#include <iostream>
#include "application.h"
int main(int argc, const char* argv[])
{
std::vector<std::string> args;
for (int ... | [
"lcf@miztli.de"
] | lcf@miztli.de |
06368b96e5b0f45657b098ec3288f6fe7c864113 | 8b50e46c29b21a8c9c52091ddeb1856d17b9c570 | /Chapter12/09/thread9/textdialog.h | 88573c72ff4f8938fc7e57532fde2e5e3ae0554d | [] | no_license | anthonychl/Foundations-of-Qt-Development | ef6e7234263c51ca15c3cf4332dc0122367f45d7 | 34f5a84c65ca1da074f83345dd0d2431c911f36b | refs/heads/master | 2020-07-03T05:53:04.035264 | 2019-08-11T19:56:18 | 2019-08-11T19:56:18 | 201,809,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef TEXTDIALOG_H
#define TEXTDIALOG_H
#include <QDialog>
#include "textandnumber.h"
#include <QAbstractButton>
#include <QMutex>
namespace Ui {
class TextDialog;
}
class TextDialog : public QDialog
{
Q_OBJECT
public:
/* explicit TextDialog(QWidget *parent = 0);
~TextDialog();*/
TextDialog();
... | [
"anthonychl.dev@gmail.com"
] | anthonychl.dev@gmail.com |
a1309ce9c0a05b1e19eee994d8b6fe25515474f2 | fdaa5c780752bcd7b68b59e34b03f40ffe30613d | /image.cpp | 16127f003e4f7a74766ae6ed3bd78f51e0d7d956 | [] | no_license | JD-DA/BarjoKart | 07d65f1609b519aabbd8dc6ab921c5d186c4024e | 6a6469ac7026a032fc0c01dc14da4c5d1bc58f26 | refs/heads/master | 2023-08-10T22:51:26.677829 | 2021-03-31T05:03:04 | 2021-03-31T05:03:04 | 404,103,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,044 | cpp | #include <iostream>
#include <cstdlib>
#include <stdio.h>
#include <png.h>
#include <png++/png.hpp>
#include <toml++/toml.h>
#include "image.hpp"
Image::Image(){
}
Image::~Image(){
for (int i = 0; i < this->height; i++)
{
delete(matrice[i]);
}
delete(matrice);
/*for (std::list<std::pair<int,int>>::iterator i... | [
"jean-daniel.de-ambrogi@etu.univ-orleans.fr"
] | jean-daniel.de-ambrogi@etu.univ-orleans.fr |
431fbd28ad5e4a08b800cd51c12b59ce88c90ecf | a179a141970ac96057643f09b97871709097c2a4 | /GFG/BT_BST/delete_tree.cpp | cde75a8599906a3bcde578c6854728a67e941b8f | [] | no_license | rahulranjan96/Programming | 7ce784b31300d0703149f2e60d8a2923247f6399 | dbd4a0bef7dc667f6505d59b9ed5177927bb63c5 | refs/heads/master | 2021-03-24T10:18:41.811818 | 2016-10-25T04:45:49 | 2016-10-25T04:45:49 | 71,860,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <stack>
using namespace std;
typedef struct Node{
int key;
struct Node *left;
struct Node *right;
}node;
node* insert(node *root,int key)
{
if(root==NULL)
{
root=(node*)malloc(sizeof(node));
root->key=key;
root->left=NULL;
... | [
"rahulranjanyadav96@gmail.com"
] | rahulranjanyadav96@gmail.com |
9c0a5f3c976d06cb5556be723819f89656f62200 | 0cd648478fbca2085d4be739caf9cbf0a57ab70c | /9-sequential_container/9.21-add_elements.cpp | 51f2617cc740853ba9d9c0b5dc04a5f7aa6387a1 | [] | no_license | icrelae/cpp_primer | f3fb497b96736f944701aecc25dd182f1e8cd73d | 1ed1fef52356626440ca354fada0b673fce67465 | refs/heads/master | 2021-01-12T07:29:15.036680 | 2017-11-17T22:47:39 | 2017-11-17T22:47:39 | 76,966,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | /* 2016.11.19 16:12
* P_309
* !!!
* ???
* for deque, insert at head and tail costing constant time, at other site will be very time-consuming !!!
* insert/eplace enlements into vector/string/deque will cause invalidation of iterators/references/pointers point to it !!!
*
* allocate new memory for every insert ??... | [
"anadia@163.com"
] | anadia@163.com |
e5c12b0574c3bf450189731b5f0757062d16aaa4 | ba96d7f21540bd7504e61954f01a6d77f88dea6f | /build/Android/Debug/app/src/main/include/Uno.IO.CppXliStreamHandle.h | fc0a34d65b6761d1b238b90dcd284f38aa16ddf6 | [] | no_license | GetSomefi/haslaamispaivakirja | 096ff35fe55e3155293e0030c91b4bbeafd512c7 | 9ba6766987da4af3b662e33835231b5b88a452b3 | refs/heads/master | 2020-03-21T19:54:24.148074 | 2018-11-09T06:44:18 | 2018-11-09T06:44:18 | 138,976,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.6.1/Source/Uno/IO/CppXliStream.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <uBase/Stream.h>
#include <Uno.Object.h>
namespace uBase { class Stream; }
namespace g{
namespace Uno{
namespace IO{
... | [
"peyte.com@gmail.com"
] | peyte.com@gmail.com |
f018c0b1e27af2148c95b021fb7548d198b3e06c | ddad5e9ee062d18c33b9192e3db95b58a4a67f77 | /strings/strtoint.h | 02f06465777432aa653bb97474872f3b478ddfe0 | [
"BSD-2-Clause"
] | permissive | romange/gaia | c7115acf55e4b4939f8111f08e5331dff964fd02 | 8ef14627a4bf42eba83bb6df4d180beca305b307 | refs/heads/master | 2022-01-11T13:35:22.352252 | 2021-12-28T16:11:13 | 2021-12-28T16:11:13 | 114,404,005 | 84 | 17 | BSD-2-Clause | 2021-12-28T16:11:14 | 2017-12-15T19:20:34 | C++ | UTF-8 | C++ | false | false | 3,287 | h | // Copyright 2008 Google Inc. All Rights Reserved.
//
// Architecture-neutral plug compatible replacements for strtol() friends.
//
// Long's have different lengths on ILP-32 and LP-64 platforms, and so overflow
// behavior across the two varies when strtol() and similar are used to parse
// 32-bit integers. Similar p... | [
"romange@gmail.com"
] | romange@gmail.com |
93a605c1c4541fd59e4678178629e63009e17137 | 4fd87b5a8b7008822bdecf8346e4895257da4e38 | /my_plugin/stringsearch_handle.cpp | f4b6920e4c7ad4b7c4c151c5968101f18b0265ac | [
"BSD-2-Clause"
] | permissive | zachturing/decaf-plugin | 5dfcb5e9a7884a5bb4d8db9232abebe3f3f05c59 | 630b9e8781121ec211944f9f1470cf17c88b2a04 | refs/heads/master | 2020-03-19T08:06:05.837517 | 2018-06-05T09:50:30 | 2018-06-05T09:50:30 | 136,175,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,291 | cpp | #ifdef __cplusplus
extern "C"
{
#endif
#include <sys/time.h>
#include "DECAF_main.h"
#include "DECAF_callback.h"
#include "DECAF_callback_common.h"
#include "vmi_callback.h"
#include "utils/Output.h"
#include "DECAF_target.h"
#include "hookapi.h"
#include "shared/vmi_callback.h"
#include "vmi_c_wrapper.h"... | [
"zach_turing@outlook.com"
] | zach_turing@outlook.com |
5e9eac77df529dbd5d2830f38390917723d95040 | bc3a6cf1e9fb34f2fc597c4320cfddff01c2c474 | /include/IntegerSetArray.h | fc60972d0a26f824d56b41d45c74c3ce4dca5769 | [] | no_license | eschild2/test | c4df3c3c31d3bc8b80e0725b06abdf96c0078aa0 | 80cfc06671d9ba2b22c11366f2d28ae78299b12f | refs/heads/master | 2020-04-09T05:35:15.445686 | 2018-12-02T18:08:35 | 2018-12-02T18:08:35 | 160,070,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h |
namespace ece309{
class IntegerSet {
protected:
int size;
public:
IntegerSet(int htsize):size(htsize) {}
virtual bool insert(int) = 0;
virtual bool search(int) const = 0;
virtual void remove(int) = 0;
};
class IntegerSetArray: public IntegerSet {
public:
... | [
"noreply@github.com"
] | eschild2.noreply@github.com |
90d8c12d1519358247f873732dac9855de848e35 | a88124690a500e728229ae1c3646721b8f5a4c82 | /two_sets_ii.cpp | c687936ad29daadd709a1a4377baf7c2ef815d39 | [
"MIT"
] | permissive | ShinAKS/cses_solutions | 237eedaaa2940d57b1b666a808ad93c9a9169a3c | e4ebcf80c010785f1b73df7aa8052da07ad549e0 | refs/heads/master | 2022-12-22T21:12:30.568416 | 2020-10-01T13:54:31 | 2020-10-01T13:54:31 | 300,294,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <bits/stdc++.h>
#define ll long long
#define int long long
#define pb push_back
#define pii pair<int,int>
#define vi vector<int>
#define vii vector<pii>
#define mi map<int,int>
#define mii map<pii,int>
#define all(a) (a).begin(),(a).end()
#defi... | [
"ayushsinha0@gmail.com"
] | ayushsinha0@gmail.com |
6e92bed032c003268d3ae9e0f42e5d6655b865d4 | e1ad82f32e73b0a9750eb1a3eaf23b46a531cf12 | /lines/src/main.cpp | 21e32ad758351f8c1f100b3b9387b909d234b6f7 | [] | no_license | markbirss/PicoQVGA | fb7f6deef67a1bed88b568fdf71528e073463c9e | 7d29c62ea1cda46bbec03f63b4d5fb8c8173700e | refs/heads/main | 2023-08-08T01:56:43.813250 | 2021-09-16T20:30:53 | 2021-09-16T20:30:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | cpp |
// ****************************************************************************
//
// Main code
//
// ****************************************************************************
#include "include.h"
#define LINENUM 50 // number of lines
#define SPEEDMIN 2.0f // minimal speed
#define ... | [
"Panda38@seznam.cz"
] | Panda38@seznam.cz |
3361eab1ae980ca6bb16921c589f76ffe41fdb88 | c30a94fda11a05853c959cde74c302400298e46a | /Astronomy Solar System/LightManager.h | 922ec4f16d44c8a269bce3d9aad3f3b093f9cb34 | [] | no_license | cmilatinov/solar-system-sim | eb98f1eff213132683f8b49ea9f5837c9617e4d9 | 00502f19feb739a6b09ca2d589437dde0edcb466 | refs/heads/master | 2023-01-24T15:25:15.668799 | 2019-03-16T19:37:20 | 2019-03-16T19:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #include <vector>
#include "Light.h"
#pragma once
class LightManager
{
public:
LightManager(Light * sun);
~LightManager();
const static int maxLights = 1;
void addLight(Light * l);
std::vector<Light*> getAllLights();
};
| [
"milatinovcristian@gmail.com"
] | milatinovcristian@gmail.com |
89b44afeba4883ff4343e20e32d6d6ffb9b19fbd | c09c94210c61918d7fe8a5782761c10ddfc3f002 | /案例7_类的继承与派生/6-5 多重继承派生类构造函数.cpp | 607bba413d4961a8ee908b7ce7ce3401f4f10f52 | [] | no_license | SWQXDBA/Pintia_C- | b0c05476193e39669c45c7f949e528a21579d7d0 | 014b48ae12142117922f490a6b25f4f6227829c2 | refs/heads/master | 2023-05-02T08:19:51.145454 | 2021-05-26T05:18:12 | 2021-05-26T05:18:12 | 365,187,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | #include <iostream>
#include <cstdio>
#include <string>
using namespace std;
//class Teacher
//{public:
// Teacher(string nam,int a,string t)
// {name=nam;
// age=a;
// title=t;}
// void display()
// {cout<<"name:"<<name<<endl;
// cout<<"age"<<age<<endl;
// cout<<"title:"<<title... | [
"SWQXDBA2"
] | SWQXDBA2 |
0997b54258cc050cdcb22687bdad63bf5bcd9d20 | 39ad116dab0ba316a6e7f737a031a0f853685d41 | /edu116/b.cpp | 528adffd7126bd2a19109653b8afb43426661101 | [] | no_license | Abunyawa/contests | e0f9d157ce93d3fc5fbff0e3e576f15286272c98 | 9923df8f167e8091e23f890b01368a3a8f61e452 | refs/heads/master | 2023-05-31T14:20:31.983437 | 2023-05-11T14:19:58 | 2023-05-11T14:19:58 | 251,015,695 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define debug(... | [
"abusaid.manap@gmail.com"
] | abusaid.manap@gmail.com |
aaf8eaba78ad385bcbd3754e23dcf79ae97f701c | cdb83d7f079d211a2b5493145ef9bdfef6b6e434 | /include/logger.h | 8845b7f669822ed9f043967fc2132034a0e50c77 | [] | no_license | theDrsh/uComsImpl | a03a7077c98a898ad74af50c60a32f04cfcf8664 | 2f3ac7f8d1a9cc605e95c2c6ca9b0a59aaba945e | refs/heads/master | 2023-02-04T05:38:48.738603 | 2020-12-09T00:43:08 | 2020-12-09T00:43:08 | 318,061,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | // Author: Daniel Rush
#pragma once
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "stm32f3xx_hal.h"
enum LoggerLevel {
kLogDebug = 0,
kLogInfo = 1,
kLogError = 2,
kLogFatal = 3,
kLogLevels,
};
const int32_t MSG_SIZE = 256;
class Logger {
public:
void Printf(LoggerLevel Level, ... | [
"rush.daniel95@gmail.com"
] | rush.daniel95@gmail.com |
6a96ac4a63a5dccdafa1bc8e1d73b11c8e829806 | c831d5b1de47a062e1e25f3eb3087404b7680588 | /webkit/Source/WebKit/Storage/StorageNamespaceImpl.h | ae161e1b58fb0623eebd4805769fad3e40639f27 | [
"BSD-2-Clause"
] | permissive | naver/sling | 705b09c6bba6a5322e6478c8dc58bfdb0bfb560e | 5671cd445a2caae0b4dd0332299e4cfede05062c | refs/heads/master | 2023-08-24T15:50:41.690027 | 2016-12-20T17:19:13 | 2016-12-20T17:27:47 | 75,152,972 | 126 | 6 | null | 2022-10-31T00:25:34 | 2016-11-30T04:59:07 | C++ | UTF-8 | C++ | false | false | 3,138 | h | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"daewoong.jang@navercorp.com"
] | daewoong.jang@navercorp.com |
bca319cfd190afd4473cbff347a81eb1571ed5cf | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h | 6455ae783a95ca7b43526b694ad124c520ac0fef | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 689 | h | --- src/phonenumbers/base/synchronization/lock.h.orig 2020-06-18 13:06:40 UTC
+++ src/phonenumbers/base/synchronization/lock.h
@@ -22,7 +22,7 @@
#elif (__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX)
// C++11 Lock implementation based on std::mutex.
#include "phonenumbers/base/synchronization/lock... | [
"tcberner@FreeBSD.org"
] | tcberner@FreeBSD.org |
bbf0bf528cdfbb06688515f9abbd6183a406f69c | 76290c3f22ac436c52f29e9be5119d96cda551e7 | /AESGUI/AlertDialog.h | f2da3e04189df3104f2a82a4a6cd319ce930aeb7 | [] | no_license | CH-Chang/1091-AESGUI | 8fbc912c06e7a3f6bd27b173f503be800764df18 | 57a839caec719310d45d4640b9213637fb230a78 | refs/heads/main | 2023-01-10T22:59:13.277015 | 2020-11-19T13:25:05 | 2020-11-19T13:25:05 | 309,672,086 | 1 | 0 | null | null | null | null | BIG5 | C++ | false | false | 713 | h | #pragma once
#include <QDialog>
#include <QCursor>
#include <QMouseEvent>
#include "ui_AlertDialog.h"
class AlertDialog : public QDialog
{
Q_OBJECT
public:
AlertDialog(QWidget *parent = Q_NULLPTR);
~AlertDialog();
void setTitle(QString);
void setMessage(QString);
private:
// 變數
int moveFlag = false;
Ui:... | [
"hew12233@gmail.com"
] | hew12233@gmail.com |
6864b6600ba10911356faf694a673bf25956a21e | 94a91b89f420e50a8ac827e3323b5e6ec588820e | /Engine/Core/Components/LightSource (Old).h | 4bd70024184258fa40c52ebc4904373747e69aad | [] | no_license | cn1504/OrcRugby | 6e5e2dffa795ea2873e60f2b383725068a80a656 | af56a70c7aaffe26403a8085f9ea15166127646b | refs/heads/master | 2020-03-29T12:55:52.937391 | 2015-06-29T21:19:30 | 2015-06-29T21:19:30 | 26,777,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | #pragma once
#include "Core.h"
#include "Component.h"
#include <Bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
#include <Renderers/RenderBuffer.h>
#include <Renderers/Shader.h>
namespace Core
{
namespace Components
{
class LightSource
: public Component
{
protected:
//Scene* scene;
bool sh... | [
"cnielsenxt@gmail.com"
] | cnielsenxt@gmail.com |
674d4888a0eb6ed551ccc634751f11f568a9ca61 | d08d64d9cf83022a511aaa9f8e6d3cf162eef2af | /dev_ws/src/aimibot/src/message_callback.cpp | d47031859058f814fba1c0760efdac4d120c2644 | [] | no_license | UnmannedVehicle/Vehcle | 39900b28ccdfce8493d36621268ea71eae24d86b | dc9a6ab0a5365973b97b678d15ad6465ca447f30 | refs/heads/main | 2023-07-27T00:35:09.345638 | 2021-09-10T02:52:57 | 2021-09-10T02:52:57 | 404,932,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | cpp | #include "iostream"
#include "../include/aimibot/message_callback.hpp"
#include "legacy/mavlink_interface.h" //51
#include "../include/aimibot/aimibot.hpp"
#include "limits.h"
using namespace std;
void aimibot::subscribeGpsCommand(const geometry_msgs::msg::PoseStamped::SharedPtr msg)
{
geometry_msgs::msg... | [
"noreply@github.com"
] | UnmannedVehicle.noreply@github.com |
960197a19934902c703f04874e13552a84a919bd | 74dfb16f483ef51e87d3a3a4b23e29bdd5296c7c | /BigNumber.hpp | 622e478ee285893e5b84c71342d3caa8d52e457f | [
"MIT"
] | permissive | Vicshann/Common | 090a692010e0d6c6af14dd9a2c4ab2b531d8b16e | dbd6f57e94d4179edcbee1a29de39a4a59bce9e3 | refs/heads/master | 2023-09-01T12:08:23.348673 | 2023-08-28T09:56:46 | 2023-08-28T09:56:46 | 123,412,494 | 13 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 7,275 | hpp |
#pragma once
/*
Copyright (c) 2018 Victor Sheinmann, Vicshann@gmail.com
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... | [
"Vicshann@gmail.com"
] | Vicshann@gmail.com |
0b5dc127de05952f220089ff6f2cfbc61aa6e773 | 2e459946616dc440360e9ad6a09fde8ce3b3ca40 | /gauss_driver/src/rpi/rpi_diagnostics.cpp | f2bed533717280840666209071b65e9913704fa5 | [] | no_license | junjian-zhang/gauss | a09641b831b967ecea69bdf5f60affc21e95461a | 849183725d402663d898a93c00a5ba9e4b7ed569 | refs/heads/master | 2020-04-27T04:22:42.036477 | 2019-01-31T08:08:47 | 2019-01-31T08:08:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include "gauss_driver/rpi/rpi_diagnostics.h"
RpiDiagnostics::RpiDiagnostics()
{
cpu_temperature = 0;
startReadingData();
}
int RpiDiagnostics::getRpiCpuTemperature()
{
return cpu_temperature;
}
void RpiDiagnostics::readCpuTemperature()
{
#ifdef __arm__
std::fstream cpu_temp_file("/sys/class/thermal... | [
"bjq1016@163.com"
] | bjq1016@163.com |
aa98b3f1e225fb7a3ccba6013a7f501bcc9a59a3 | 755f9e1bbc82a8beb0471c0cb932181a6f83dce3 | /surfaceflinger/sdk/IServiceConnection.h | aba66ed641f6f4f7821c7ac22f7cad779e57d4c5 | [] | no_license | wjfsanhe/AndroidM_SF | f52d3bba070ce7c9c59c3f18749cecdcb43c5dd9 | 426e4bfa15e44fe8d96f416eb0e404ba84172d30 | refs/heads/master | 2020-06-23T12:33:10.479615 | 2017-02-17T03:18:12 | 2017-02-17T03:18:12 | 74,648,648 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | h | /*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 by app... | [
"wangjianfeng@baofeng.com"
] | wangjianfeng@baofeng.com |
a902c98ce80d4527d2edea0d53c67b7c81060c5f | 4a761d25954a9dd9aafbcac677a62e83e6785ba3 | /src/test/test_concrete.h | 4252d50025d682c34c4ef12fa38448f1e34a3773 | [
"MIT"
] | permissive | CONCRETE-Project/CONCRETE | 4dce6c776857d0fccef094f29aae1228796bd03c | f446b5335bff7f7a6a1ffeba97777339539263b0 | refs/heads/master | 2022-12-02T16:07:03.999082 | 2020-08-24T21:25:18 | 2020-08-24T21:25:18 | 256,929,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,823 | h | // Copyright (c) 2015-2019 The PIVX Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CONCRETE_TEST_TEST_CONCRETE_H
#define CONCRETE_TEST_TEST_CONCRETE_H
#include "txdb.h"
#include <boost/filesystem.hpp>
... | [
"ziofabry@hotmail.com"
] | ziofabry@hotmail.com |
7328dc7759fe1361159d8572c9b78bc8b844cd11 | 1fd507f588b94402a8c1ffe080e470f65a2b7ee6 | /Hall Management Project with C/search.cpp | a87fd00d41723bb3c6eafb969af29c78ca8b5794 | [] | no_license | MuhiminOsim/Academic-Projects | 769ab00013f915fc651d15e4517b6d1d10c439d4 | 00252b7efbbedbfff5d5a13aa9af0ec04ec7df6f | refs/heads/master | 2023-01-12T10:26:26.864981 | 2019-12-12T04:35:54 | 2019-12-12T04:35:54 | 194,081,586 | 2 | 0 | null | 2023-01-04T01:13:41 | 2019-06-27T11:18:38 | HTML | UTF-8 | C++ | false | false | 2,172 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "hall.h"
void searching(int b, int c){
system("cls");
printf("\n\n\t\t\t\t\t~~~~STUDENT DATA SEARCHING~~~~\n");
printf("\t\t\t\t\t______________________________\n");
int x,y;
printf("\n\n\t\t\t\t\tSearch Roll Numbers: ");
scanf... | [
"muhiminul@gmail.com"
] | muhiminul@gmail.com |
8a34bf34ab5df85aa8985f35dd11d9ae19cc328b | 683a90831bb591526c6786e5f8c4a2b34852cf99 | /HackerRank/Implementation/4_jumping_on_the_clouds-Revisited.cpp | a5fdea82c7be605851116e86376550425065be43 | [] | no_license | dbetm/cp-history | 32a3ee0b19236a759ce0a6b9ba1b72ceb56b194d | 0ceeba631525c4776c21d547e5ab101f10c4fe70 | refs/heads/main | 2023-04-29T19:36:31.180763 | 2023-04-15T18:03:19 | 2023-04-15T18:03:19 | 164,786,056 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]){
int n, k, i, e = 100;
cin >> n >> k;
int C[n];
for (int i = 0; i < n; i++){
cin >> C[i];
}
i = 0;
while (true) {
e--;
i = (i + k) % n;
if(C[i] == 1) e -= 2;
if(i == 0) b... | [
"davbetm@gmail.com"
] | davbetm@gmail.com |
0e3be275a98160495487495b4ae4c15d9d32b992 | 81533e098a8fd6d8458ef78bec9b7cd468733328 | /linux/javacef/cefclient/client_app.cpp | 285ffad93031ed5c45b287813a3c5bcc5ed8ceba | [] | no_license | inaauto/javacef | 0ec07da810d3ff48d39b83dd51b690e33e0ee75f | a3a11cfef1aca54d34e1bbc9aaff0aa3fb7d01d7 | refs/heads/master | 2021-01-23T23:52:37.255643 | 2017-05-31T12:44:02 | 2017-05-31T12:44:02 | 59,431,494 | 2 | 0 | null | 2017-01-05T13:51:36 | 2016-05-22T19:57:08 | C++ | UTF-8 | C++ | false | false | 15,186 | cpp | // Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
// This file is shared by cefclient and cef_unittests so don't include using
// a qualified path.
#include "client_app.h" // NOLIN... | [
"wjywbss@gmail.com"
] | wjywbss@gmail.com |
a35c491da031ede7af44ed8b04214cf2b0ca00ff | 52b624b6937c5cdf358a3734efe6a395305bd93e | /src/SFmpqapi/linux/windows.cpp | e9329e28bb01f1952ed05da13c181e80fc02a416 | [
"MIT",
"BSD-2-Clause"
] | permissive | actboy168/wc3mapmax | c23e5101f9eda7168b3f8f12e44357be5fbeddbb | 46eebca381ca1816d8edb02332f19eb6c7f98f60 | refs/heads/master | 2021-01-15T15:47:28.771064 | 2016-11-04T12:50:30 | 2016-11-04T12:50:30 | 32,116,740 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,811 | cpp | /* License information for this code is in license.txt */
#include "windows.h"
DWORD dwAppLastError=0;
void WINAPI SetLastError(DWORD dwLastError)
{
dwAppLastError=dwLastError;
}
DWORD WINAPI GetLastError()
{
return dwAppLastError;
}
DWORD WINAPI GetCurrentDirectory(DWORD dwBufferLength, LPSTR lpBuffer)
{
if (l... | [
"actboy168@gmail.com"
] | actboy168@gmail.com |
37491f644938f03ba30071ecd0f5c507b6cb577c | df74a129d6bc52f4df60c72607a7c0dff747d312 | /Ping_Pong/Ping_Pong/FrameRate.cpp | 1397aaac3a89241d26641fae99a848ceff344eb7 | [] | no_license | Spiritfaer/PingPong | db9cd63cca3f90b3e0f00d9db1fb9209497a43f6 | 34543061887d93717d3c31af1a4552537a6b0583 | refs/heads/master | 2021-03-10T03:46:35.499672 | 2020-03-11T16:20:55 | 2020-03-11T16:20:55 | 246,414,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include <iostream>
#include "FrameRate.h"
FrameRate::FrameRate()
{
old_time = SDL_GetTicks();
ticks = cur_time = 0;
}
FrameRate::~FrameRate() {}
bool FrameRate::tick(bool db)
{
cur_time = SDL_GetTicks();
++ticks;
uint32_t tmp = cur_time - old_time;
if (tmp > 1000) {
old_time = cur_time;
if (db)
showFPS... | [
"30905488+Spiritfaer@users.noreply.github.com"
] | 30905488+Spiritfaer@users.noreply.github.com |
404dda11e200ca795741ede6eb063e21958a4809 | 9b10842bf603269fd8986a5eb4d103108fc679ad | /src/led.cpp | d539219a2c9804708102b82f418fca218b88aca8 | [
"Apache-2.0"
] | permissive | CasusCura/ArduinoPendant | c962051a0175fb8a0655ff1970cd76b85be64bca | a2158ee731d204daba66971b919a1c9fcce23c28 | refs/heads/master | 2021-09-10T17:02:06.855660 | 2018-03-29T18:17:17 | 2018-03-29T18:17:17 | 120,350,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | /*
* Module: LED
*
* An abstract LED object.
*
* Author: Alex Dale @superoxigen
*
* Copyright (c) 2018 Alex Dale
* See LICENSE for information.
*/
#include <Arduino.h>
#include "dlog.h"
#include "led.hpp"
static inline bool_t flash_state(void)
{
return ((millis() / LED_FLASH_RATE_MS) % 2) == 1;
}
... | [
"alex@snowycloud.com"
] | alex@snowycloud.com |
4c0d66aa037e18c4513a8f68cceb4e5ca1d9b841 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/3028.cpp | f9481b72d414c1a100e561f651ceb946304bf71f | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include"bits/stdc++.h"
#define F(i,j,n) for(register int i=j;i<=n;i++)
using namespace std;
char t[1000010];int z[1000010],n,l;
int main(){
#ifndef ONLINE_JUDGE
freopen("article.in","r",stdin);
freopen("article.out","w",stdout);
#endif
gets(t+1);n=strlen(t+1);
F(i,2,n){
z[i]=min(z[i-l+1]... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
74b43ed2e30e91fe40e7a5b42dd678db5f99e73b | 897f04199dff9d69351d8c1ad8290d26f2ec7e67 | /include/radical/polynomial_vignetting_model.h | c5be14da0cf56c260a1d1db5847269b0ee2eb613 | [
"MIT"
] | permissive | wangchuantong/radical | 14f18ac9bda36618595d5de11c2ec2089eff5528 | cce899af3b78a339204eab8201e67d8a6cb98b1a | refs/heads/master | 2021-09-20T06:21:14.021768 | 2018-08-05T18:08:44 | 2018-08-05T18:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | h | /******************************************************************************
* Copyright (c) 2016 Sergey Alexandrov
*
* 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 restricti... | [
"alexandrov88@gmail.com"
] | alexandrov88@gmail.com |
69640eedec5c97a8a6f39c0a97d9052ce42bfd43 | 17198f70b67390e2b6fa30dfda47909e7d26a59b | /src/validationinterface.h | 470a2b5fa3edb0d52a7d711266af37d4be6d00d6 | [
"MIT"
] | permissive | HighStakesCoin/HighStakes | 9d3fd09ce623167d79e100568adea70106efc239 | e842f55f7ce6f8df09aea157012a68958b366a90 | refs/heads/master | 2020-05-04T15:47:57.812490 | 2019-07-26T07:18:42 | 2019-07-26T07:18:42 | 179,256,859 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,958 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019 The HighStakes developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... | [
"48958686+HighStakesCoin@users.noreply.github.com"
] | 48958686+HighStakesCoin@users.noreply.github.com |
bb9d943afee3949a448e53d7457f88dc7f327144 | ea4a1b9e369c879ff1cc254f0adb5f33649b284f | /Design_Pattern_Project/Interpreter/Boolean_Example_GOF/Parser.h | c0ef4e5051be30b3d09c7efcb3364accc3965482 | [] | no_license | jfacoustic/CSCI375_S2017_CMU | a6a1e010a8f9756cf7ec51d5a3579fcaf96815a0 | 0ca75f32c5f4f100b48b01891413168a36ceacbc | refs/heads/master | 2021-01-11T15:52:59.621790 | 2017-05-09T02:30:04 | 2017-05-09T02:30:04 | 79,947,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | /*
* Parser.h
*
* Created on: Apr 18, 2017
* Author: joshua
*/
#ifndef PARSER_H_
#define PARSER_H_
#include <map>
#include "BooleanExp.h"
class Parser {
public:
Parser(std::string _expression);
virtual ~Parser();
private:
std::string expression;
std::map<std::string, BooleanExp> parserMap;
std::strin... | [
"joshfeltonm@gmail.com"
] | joshfeltonm@gmail.com |
a8f6535d105a1df09f4e3aa2f63715bb702bd0e5 | 70572481e57934f8f3e345e7ca31b126bf69046e | /Celeste/Include/Registries/ScriptableObjectRegistry.h | 705b70e8bf1b3b34f001354ed99b93fd840b5884 | [] | no_license | AlanWills/Celeste | 9ff00468d753fd320f44022b64eb8efa0a20eb27 | b78bf2d3ebc2a68db9b0f2cc41da730d3a23b2f9 | refs/heads/master | 2021-05-24T04:03:18.927078 | 2020-07-21T21:30:28 | 2020-07-21T21:30:28 | 59,947,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | #pragma once
#include "CelesteDllExport.h"
#include "FileSystem/Path.h"
#include "tinyxml2.h"
#include "Objects/ScriptableObject.h"
#include "Reflection/Type.h"
#include <functional>
#include <unordered_map>
namespace Celeste
{
class CelesteDllExport ScriptableObjectRegistry
{
public:
using CreateFact... | [
"alawills@googlemail.com"
] | alawills@googlemail.com |
7d905f338b2f042b3b85869e1af33334a5c21327 | 9cbb3af861bbfb738f7adcdbb34339634d29e0f0 | /hindex.cpp | e8e968de74e1067a6a138e54d6c98bfffc5d241a | [] | no_license | ZebraFarm/OpenKattis | d3fcffd34e0fe87fb5e53ecd75236baea7a3fed5 | b9748fde5547d4c5d596da61867a92eb3d4defc3 | refs/heads/master | 2021-06-21T11:32:18.454409 | 2021-06-16T06:10:35 | 2021-06-16T06:10:35 | 192,035,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include <iostream>
#include <array>
#include <algorithm>
using namespace std;
int main(){
int i,n,H=0;
cin >> n;
int s[n] = {0};
for(i=0;i<n;i++) cin >> s[i];
sort(s,s+n);
if(s[0]>n)H=n;
else{
for(i=0;i<n;i++){
if(H != s[i]) {
if(min(s[i],n-i)>H) H= min(s[i],n-i);
else break;
}
}
}
cout... | [
"cole.sibbald@protonmail.com"
] | cole.sibbald@protonmail.com |
c28381c1f2c5f4c2224d1d1d80d4e31205cf11f1 | a7acea5217a9b84212d14614acc5d11f79de360d | /Shunyaev/cw/Source/AVLTree.cpp | 0b9f308e548bf14241be1968aa82d4a517e7b674 | [] | no_license | makometr/ADS-9304 | f45309de83d11fa3ac8ee4edda54ffcd24906cd4 | 8bd69ab3726f15b1db3439876cc46985470d1a12 | refs/heads/master | 2023-02-15T21:05:50.387147 | 2021-01-06T13:46:42 | 2021-01-06T13:46:42 | 296,394,391 | 3 | 27 | null | 2021-01-07T21:16:59 | 2020-09-17T17:19:21 | C++ | UTF-8 | C++ | false | false | 2,372 | cpp | #include "AVLTree.h"
#include "Node.h"
AVLTree* AVLTree::ptr_tree_ = nullptr;
AVLTree::AVLTree()
{
std::string str;
bool is_correct = true;
do {
std::cout << "Enter set of digits: ";
std::getline(std::cin, str);
int counter = 0;
for (int i = 0; i < str.size(); i++) {
if ((str[i] >= 'A' && str[i] <= '... | [
"a.v.shunaev@gmail.com"
] | a.v.shunaev@gmail.com |
4c14c1221980d74c3ae04cdb8243031fa610bf93 | 470f22152362130ed7efe7bbd17e56dc6e0233ef | /OSMCtrlTimerEventHandler.h | fa53ed26c8a75b6e86f72c546089e1cbea197431 | [] | no_license | luke18/EleVehOsm | 1e109527f0a3858b39fe29ab8212d5ed6e0b4c3c | 3d204fe57d6cf2a9e2d393b4c09d4cd4ece1aaf1 | refs/heads/master | 2021-01-17T06:26:54.962098 | 2014-05-23T03:30:28 | 2014-05-23T03:30:28 | 14,163,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,059 | h | /*
Module : OSMCtrlTimerEventHandler.H
Purpose: Defines the interface for COSMCtrlTimerEventHandler class
Created: PJN / 10-04-2011
Copyright (c) 2011 by PJ Naughter (Web: www.naughter.com, Email: pjna@naughter.com)
All rights reserved.
Copyright / Usage Details:
You are allowed to include the source code in any pr... | [
"s_tao16@sina.com"
] | s_tao16@sina.com |
e802ddeb4453510ed16b3fd02897339ea78c680b | 3326db8648ecd23fabebbdece3a0db662b409664 | /Code Jam/2018/Round 2/temp.cpp | 4181c379bd4eabaf3e851698f16a7c1969709634 | [] | no_license | fazlerahmanejazi/Competitive-Programming | 96b9e934a72a978a9cae69ae50dd02ee84b6ca87 | 796021cdc7196d84976ee7c9e565c9e7feefce09 | refs/heads/master | 2021-11-10T08:23:31.128762 | 2019-12-24T22:11:12 | 2019-12-24T22:11:12 | 117,171,389 | 3 | 1 | null | 2021-10-30T20:31:10 | 2018-01-12T00:39:16 | C++ | UTF-8 | C++ | false | false | 1,606 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define inf 0x3f3f3f3f
#define INF 1000111000111000111LL
#define mod 1000000007
#define pi acos(-1.0)
#define eps 1e-8
#define endl '\n'
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define fi first
#define se second
#define all(cc) (cc).begin(),(cc).en... | [
"ahmed.belal98@gmail.com"
] | ahmed.belal98@gmail.com |
e338cf24ccd6ea51289ff7ce24a899bb76420300 | 20dfc88e522e758bb4d85900e2d1ac494b68bc3c | /src/Array.cpp | 1638e51b356aafd0ae1711a3f9f557f509a15410 | [] | no_license | weilunandro/CPPReview | c2fee41cad8fe582d4e3817ab4c692cf44a026d4 | b4e9ec83673f2d35ae334719df7e794a8139d1ec | refs/heads/master | 2020-03-08T09:12:03.553431 | 2018-04-04T09:37:59 | 2018-04-04T09:37:59 | 128,041,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | //
// Created by Andro Wei on 04/04/2018.
//
#include "Array.h"
template<typename T>
Array::Array(int capacity) {
assert(capacity > 0);
mCapacity = capacity;
mData = new T[mCapacity];
}
Array::~Array() {
if (mData != nullptr) {
delete[] mData;
mData = nullptr;
}
} | [
"andro.wei@blackboard.com"
] | andro.wei@blackboard.com |
584dba44f99ce0550e7c1234af4b2250ae5aaf2b | 693f6694c179ea26c34f4cfd366bcf875edd5511 | /trains/train18/G.cpp | 6ab358289234c5df0ecac50ba27c2e52002587bd | [] | no_license | romanasa/olymp_codes | db4a2a6af72c5cc1f2e6340f485e5d96d8f0b218 | 52dc950496ab28c4003bf8c96cbcdb0350f0646a | refs/heads/master | 2020-05-07T18:54:47.966848 | 2019-05-22T19:41:38 | 2019-05-22T19:41:38 | 180,765,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | #include <bits/stdc++.h>
#define err(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
#define x first
#define y second
#define mp make_pair
#define pub push_back
#define all(v) (v).begin(), (v).end()
//236695ZVSVG
using namespace std;
typedef long long ll;
typedef double db;
int main() {
#ifdef WIN
freopen("0... | [
"romanfml31@gmail.com"
] | romanfml31@gmail.com |
46dfbcd0f42e0a7bd4b7bee501cfc0b06a885b82 | 1cc631c61d85076c192a6946acb35d804f0620e4 | /Source/third_party/boost_1_58_0/libs/math/test/test_ibeta.cpp | 9f66c38ebe4c40d689e9cf78e6e86d7c72b10b47 | [
"BSL-1.0"
] | permissive | reven86/dreamfarmgdk | f9746e1c0e701f243c7dd2f14394970cc47346d9 | 4d5c26701bf05e89eef56ddd4553814aa6b0e770 | refs/heads/master | 2021-01-19T00:58:04.259208 | 2016-10-04T21:29:28 | 2016-10-04T21:33:10 | 906,953 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 13,170 | cpp | // (C) Copyright John Maddock 2006.
// Use, modification and distribution are 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)
#include <pch_light.hpp>
#include "test_ibeta.hpp"
#if !defined(TEST_FLOAT) && !de... | [
"reven86@gmail.com"
] | reven86@gmail.com |
a1ecec761d21fe795b614af24c8f3a1d932250fa | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_hunk_16.cpp | 6be129eff69c6d1d6d024ca13dba42fd52741709 | [] | 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 | 512 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"Invalid expression \"%s\" in file %s",
expr, r->filename);
*was_error = 1;
return retval;
}
}
if (current ==... | [
"993273596@qq.com"
] | 993273596@qq.com |
01b2f2b98c39f8ac771f3c75656090ebf2c9dba9 | 079a2e1d756d11a355d9e915013d2660a1f28968 | /Hazel/src/Hazel/Scene/Components.h | 7bab075e76c41ab4887aa0c4a8354b8b2999e9f2 | [
"Apache-2.0"
] | permissive | marshal-it/Hazel | fd84f1a37b939ba462a8659cf098c1f2b3d56e95 | f28eb557593ef782a9ea1e61fa8c5f53a4b25e4a | refs/heads/master | 2022-11-22T18:35:44.781007 | 2020-07-25T07:55:44 | 2020-07-25T07:55:44 | 279,866,369 | 0 | 0 | Apache-2.0 | 2020-07-25T07:55:46 | 2020-07-15T12:46:46 | null | UTF-8 | C++ | false | false | 849 | h | #pragma once
#include <glm/glm.hpp>
namespace Hazel {
struct TagComponent
{
std::string Tag;
TagComponent() = default;
TagComponent(const TagComponent&) = default;
TagComponent(const std::string& tag)
: Tag(tag) {}
};
struct TransformComponent
{
glm::mat4 Transform{ 1.0f };
TransformComponent(... | [
"y@nchernikov.com"
] | y@nchernikov.com |
d569bd9379e3fe0012777ab80f0225c165ff1dda | f966f69ba37033e4a320c5534a8175a9a831ef4b | /hybridge/core/HGESurrogate.cpp | 6713800b02338f9b2c83b189aeaa15eb581f97d4 | [
"MIT"
] | permissive | jcmoore/ggframework | 8281091b189a37dcc8b6d17a91a71cd901f7530d | 574933e107dedec887adae4dad84ac734f4a5116 | refs/heads/master | 2016-09-08T02:39:12.194561 | 2012-12-13T11:47:48 | 2012-12-13T11:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | //
// HGESurrogate.cpp
// hybridge
//
// Created by The Narrator on 8/14/12.
// Copyright (c) 2012 Starduu. All rights reserved.
//
#include "core/HGESurrogate.h"
NS_HGE_BEGIN
HGESurrogate::HGESurrogate()
: HGEPreserve()
{
}
HGESurrogate::~HGESurrogate() {
}
bool HGESurrogate::destroyJSON(JSONValue& json, ... | [
"starduu@Justin-C-Moores-MacBook-Pro.local"
] | starduu@Justin-C-Moores-MacBook-Pro.local |
e384db75a5286c4576fdca59980d1d5e2e7e242e | 13fceab2387662dcbf1c2f2536b5345aa4752c56 | /Optimization/mba/MBA.cpp | b155ba22f1ba8b3b7c637b526f87392692124531 | [] | no_license | Playfloor/CS544 | b015c66e19aafcabff6c1a2e61ba85582a81de89 | b7f6ee0e1e494137faa5285f3239d385453b6a7f | refs/heads/master | 2021-12-23T02:50:15.199743 | 2017-10-27T05:33:35 | 2017-10-27T05:33:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,147 | cpp | #define DEBUG_TYPE "cs544mba"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
STATISTIC(MBACount, "The # of modified instructions");
#include "llvm/Pass.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/I... | [
"baris.aktemur@ozyegin.edu.tr"
] | baris.aktemur@ozyegin.edu.tr |
0f965898876a9f6efb98541143c19e20e20f573c | 472d7820a5f5d9d5ab2ec150eab0c9bdeb2008c7 | /Sodi/odisim/incV60/int_bus.H | e9cf1465b3978fbb46493d31d6fcab01459c3d62 | [] | no_license | slacker247/GPDA | 1ad5ebe0bea4528d9a3472d3c34580648ffb670e | fa9006d0877a691f1ddffe88799c844a3e8a669a | refs/heads/master | 2022-10-08T07:39:09.786313 | 2020-06-10T22:22:58 | 2020-06-10T22:22:58 | 105,063,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | h | // int_bus.H header file
#ifndef intbus_object
#define intbus_object
#include <math.h>
#include "base_space.H"
#include "spline6.H"
#define NSPIBUS 3
/************************************************************************
* int_bus object *
******************************************************************... | [
"jeffmac710@gmail.com"
] | jeffmac710@gmail.com |
2306d35701f8b6ceec396110d6a9d829ffc038b7 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-inspector2/include/aws/inspector2/model/AggregationType.h | 7df7b5ef21aedaecb51304ce84085745f64696a1 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 788 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/inspector2/Inspector2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Inspector2
{
namespace Model
{
enum class AggregationType
{
... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8cd9b03fd2a03ef25072903311e8e85632bce350 | 6e26cc31306e0885a8d174805b9ccd380e1879ac | /tests/src/PassingCarTests.cpp | 4195cbd105d84fb4df3a185c0b791aa987417568 | [] | no_license | FreekDS/ProjectGP | e6e1379c51fa57d61604a1e6d389991d290158ce | 4050764d70902011a0167d850742dd7484a755bd | refs/heads/master | 2021-10-11T00:50:48.637902 | 2019-01-20T11:03:00 | 2019-01-20T11:03:00 | 157,843,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | #include <PassingCarTests.h>
#include <TestClasses.h>
#include <GLL/Transformation.h>
using namespace RoadFighter;
/**
* Tests the constructor of the PassingCar.
*/
TEST_F(PassingCarTests, Constructor)
{
shared_ptr<Player> player = make_shared<PlayerTest>();
shared_ptr<World> world = make_shared<WorldTest>(... | [
"freek.de.sagher21@gmail.com"
] | freek.de.sagher21@gmail.com |
430b1fafb0e031d0ab34b7c66eb201d19753a66e | 9474152ba242f656bd472808d00d420ee3d9048f | /concatenation_distance_matrix.cpp | 5e8482dc23843e3df3c623523cbea35edfe1ef35 | [] | no_license | mohammadroghani/bio | 93fb9e9be74424ade078e3c03e2e604343105a9f | 6f6966e7dd97f7d6410c6c89029c0775aef84fc4 | refs/heads/master | 2021-05-11T00:48:42.909765 | 2018-01-27T20:45:16 | 2018-01-27T20:45:16 | 118,311,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | #include<iostream>
#include<fstream>
#include<sstream>
#include<vector>
#include<map>
using namespace std;
int dp[20000][20000];
int mat[7][5][5];
const int inf=1e9;
string con[5];
map<pair<string,string>, pair<int,int> > m;
/**
finding edit distance of s and t
match = 0
mismatch = 1
gap = 1
return min... | [
"mohammadroghani43@gmail.com"
] | mohammadroghani43@gmail.com |
bc810f99c5bfa87b2e41e8fe5bfc4e4f3128674b | ddb0a69a05394070d295840410274a7647164a3c | /src/owners.hpp | 9b7d23ae8897ae6c97ada50557a41ff29d9af17e | [
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | waffle-iron/omega_h2 | 093757624965286b18ffd6815383e465a718078a | 3f078ffe5ef1e11dea85c2a4fcaef79b735d2683 | refs/heads/master | 2020-12-30T23:08:38.285470 | 2016-08-24T12:51:23 | 2016-08-24T12:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | hpp | #ifndef OWNERS_HPP
#define OWNERS_HPP
#include "internal.hpp"
namespace Omega_h {
/* compute owners for copies of a new partitioning,
based on a mapping (Dist) from new copies to
old owners (their owners in the old partitioning).
each of the old owners is made responsible for all
its new copies and sele... | [
"dan.a.ibanez@gmail.com"
] | dan.a.ibanez@gmail.com |
97ffea240d74c5e6c47bd94492b51aa80e297dd6 | 09b3e549e9793824d6d4b7b6c29a30442747d533 | /screens/Screen.h | 58d1b95e08032eadbffddeffe9f6855cfcf04e5e | [
"MIT"
] | permissive | insano10/arduino-tetris | 80c5a4f3b2e646a1410ec2f19cc838c7006165bf | 3827c5ac7e02f4d499ba2bd76fa71c6d5a575851 | refs/heads/master | 2021-01-01T06:34:00.208946 | 2015-07-05T15:34:03 | 2015-07-05T15:34:03 | 38,570,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | /*
* Screen.h
*
* Created on: 1 May 2012
* Author: insano10
*/
#ifndef SCREEN_H_
#define SCREEN_H_
#include "../controls/InputShield.h"
#include "../data/HiScores.h"
class Screen {
public:
Screen(InputShield* input_shield, HiScores* hiScore);
virtual ~Screen();
virtual void act... | [
"jdommett@gmail.com"
] | jdommett@gmail.com |
7b50a97d025cb090808b09da91f7dc77c579013e | 6bda09c40dfee96f6d11c09ca7f37587858337d9 | /app/src/main/cpp/dalvik/dalvik_method_replace.cpp | 67d6242a654788a682be224d00747687b7c97d34 | [] | no_license | chenzhentao/AndFixDemo | 4b3df6aed4cd037500fff798ec57fa1dded165da | c36be0b11722e592e46fe48bd507e53e31939b01 | refs/heads/master | 2020-06-03T13:52:48.812780 | 2019-06-12T15:08:12 | 2019-06-12T15:08:12 | 191,593,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,844 | cpp | /*
*
* Copyright (c) 2015, alipay.com
*
* 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 by applicable law or ag... | [
"thomas.chenzh@gmail.com"
] | thomas.chenzh@gmail.com |
1febd37175c925405cc8bd2f3f789a6497002ac8 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/cert/multi_log_ct_verifier_unittest.cc | fa4a894e653e1ba762aa93a847cbbc79da44c149 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 10,624 | 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 "net/cert/multi_log_ct_verifier.h"
#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#inc... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
d35ecd3221d58d111d0ac573388f9a6b1fb65acb | 06f822b1f2061f7ce03a9659a7017dfcebd3e209 | /ATcoder/Contest/Educaional_DP_Contest_/I_Coins.cpp | f70919a70f64abd6165b724c9c73a89d63c0f72e | [] | no_license | SuuTTT/acm | f5ba1e6365fb0191490cba3dbac35031ec4e23b0 | 61fe500a89b2d41a17a010a1f65169ef21206fb5 | refs/heads/master | 2020-12-27T17:32:38.844016 | 2020-05-13T04:27:53 | 2020-05-13T04:27:53 | 237,983,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,j,k) for(int i = (int)j;i <= (int)k;i ++)
#define debug(x) cerr<<#x<<":"<<x<<endl
const int maxn=(int)1e6+5;
double p[maxn],dp[3004][3004],ans;
int main(){
ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int n;
cin>>n;
rep(i,1,n)cin>>p[i];
... | [
"1015011749@qq.com"
] | 1015011749@qq.com |
7af8f9573736e2b6034ba6d33525f5398ca7740d | 82437e831c8e89c092d4125cca71ace24d364f5e | /wasabi/devices/unicone/firmware/genesis/hardware.inc | 6d6c597ec73aea6123bc3ad370334033f83d2c75 | [] | no_license | qixiaobo/navi-misc | 93ac98f3d07eed0a1e6e620fd5f53880c5aac2a4 | 1f9099d40cc638d681eebbc85c0b8455dab21607 | refs/heads/master | 2021-06-06T11:53:00.644309 | 2016-10-27T06:01:26 | 2016-10-27T06:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | inc | ;
; Sega Genesis Net-controller Interface
;
; Wasabi Net-controllers Project
; Micah Dowty <micah@navi.cx>
;
; This device emulates two 3-button Sega Genesis
; controllers. It accepts low-speed USB requests
; with the desired state of each controller.
;
; The controller interface is described well at:
; http://www-2.cs... | [
"micah@scanlime.org"
] | micah@scanlime.org |
68f3b19dffe4001c00d28fa60c1a3ca457985f0c | feea0886aaf6218a3f605bbc4d871a8116e232b0 | /LSDFlowInfo.cpp | 9c3d1cc83df47d4019144da4f7bb119265651f30 | [] | no_license | MNiMORPH/LSDTopoTools_FloodplainTerraceExtraction | 4c35aa434f601dce6ef9a21477f67d760ad6fa2d | 0d13667f56999cc6d5c7f8d0787a44c4b16337d9 | refs/heads/master | 2022-05-20T01:55:15.298527 | 2018-01-05T11:33:40 | 2018-01-05T11:33:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268,797 | cpp | //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// LSDFlowInfo
// Land Surface Dynamics FlowInfo
//
// An object within the University
// of Edinburgh Land Surface Dynamics group topographic toolbox
// for organizing flow routing under the Fastscape algorithm
// (see Braun and Will... | [
"f.clubb@ed.ac.uk"
] | f.clubb@ed.ac.uk |
5f51bef74fab6a12e19d140069cd2b0c4ba626a4 | 88ae8695987ada722184307301e221e1ba3cc2fa | /sandbox/win/src/service_resolver_64.cc | b96816037a221347ed58def272979fd334ad024c | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 8,712 | cc | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sandbox/win/src/service_resolver.h"
#include <ntstatus.h>
#include <stddef.h>
#include <memory>
#include "sandbox/win/src/sandbox_nt_util.h"
#include "sandbox/win/... | [
"jengelh@inai.de"
] | jengelh@inai.de |
c19ca24ed0298c053af0672731a051182c101e22 | f441609b808e945299e0c425621cfa032f6eec77 | /LIstaRange/q8.cpp | a84b0375eea1b0ea21abbdeff44c35b89bb2af9a | [] | no_license | gbrsouza/Lists | b0de7df1f16ca027960f1a784951b10563bd8a47 | 096bf896d9052629cc28d3ed88e8ebc683c4ce98 | refs/heads/master | 2021-06-13T14:16:23.646716 | 2017-04-03T17:40:13 | 2017-04-03T17:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include <iostream>
#include <iterator>
#include <utility>
int * unique ( int *first , int *last );
int main ()
{
int A [] = { 1 , 2 , 1 , 2 , 3 , 3 , 1 , 2 , 4 , 5 , 3 , 4 , 5 };
// aplicar unique sobre A
auto last = unique( std::begin(A), std::end(A));
// O comando abaixo deveria imprimir A com o conteudo... | [
"gabriel_feg@hotmail.com"
] | gabriel_feg@hotmail.com |
6a7ffd24188e61e3b97f984803b9771823b35c8c | de731acd890706423eced969f3195a2b5f084ae1 | /lib/childrens-price.cpp | 1862e75f24549f21f2e2e9d0f988276ae8ed31a2 | [] | no_license | guydunton/Refactoring-example-cpp | e3c7e054f813f05336b12101a6da9242fb62c6c3 | 46b90c46f039829378a41dd464572d419adbc4ae | refs/heads/master | 2020-04-26T11:10:09.953891 | 2019-03-02T23:22:30 | 2019-03-02T23:22:30 | 173,507,686 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "childrens-price.hpp"
#include "movie.hpp"
int ChildrensPrice::getPriceCode() const
{
return Movie::CHILDREN;
}
std::unique_ptr<Price> ChildrensPrice::clonePrice()
{
return std::make_unique<ChildrensPrice>(*this);
}
double ChildrensPrice::getCharge(int daysRented) const
{
const double baseCharge = 1.5;
... | [
"guy.dunton@gmail.com"
] | guy.dunton@gmail.com |
360cfd406f686374fb1c6b3b21b6a354c1264a19 | 265620eb6a8de39b6eaf28c909b34e3bd25117ba | /OutExcelFileThread.h | d8246adaa69b3df7ec1e1e1173ca83f8a77e0fac | [] | no_license | isliulin/uesoft-AutoIPED | 7e6f4d961ddc899b5f3c990f67beaca947ba4ff0 | c11e3ea3a7d08faa462bc731e142844d4d4c3ed9 | refs/heads/master | 2022-01-13T15:32:45.190482 | 2013-09-30T08:33:08 | 2013-09-30T08:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | h | #if !defined(AFX_OUTEXCELFILETHREAD_H__70F153EE_80C8_426D_81CF_1D2C4A65AF78__INCLUDED_)
#define AFX_OUTEXCELFILETHREAD_H__70F153EE_80C8_426D_81CF_1D2C4A65AF78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OutExcelFileThread.h : header file
//
#include "Autoipedview.h"
/////////////////////... | [
"uesoft@163.com"
] | uesoft@163.com |
f15955bcc109a30873408038a7e88c4c7b3a9e75 | 136247b5cb638464a05592618633aa5ffb88d007 | /ui/widget/logwidget.cpp | 20c507c04b4227a84c153c45d7f3a2760e038711 | [] | no_license | dongdong-2009/spinnery-system | e198fb6fb314b7459bf4e6f0f66d8e55f675e927 | 14566665407c72cbe9fcef901d55eea48c106797 | refs/heads/master | 2021-05-28T16:21:47.725660 | 2014-10-29T12:07:39 | 2014-10-29T12:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include "logwidget.h"
#include "ui_logwidget.h"
#include <QDebug>
LogWidget::LogWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::LogWidget)
{
ui->setupUi(this);
}
LogWidget::~LogWidget()
{
delete ui;
}
void LogWidget::on_listWidget_itemSelectionChanged()
{
int selectIndex=ui->listWidget->... | [
"kyyblabla@163.com"
] | kyyblabla@163.com |
ad0f3883f54c1b3fb6dca942b487d272060b8525 | 2c19ace35b57b17411575984f1656ec0c237436c | /Map.cpp | b9e9d9c0398b449832b35aab1a920d240eb2f9c1 | [] | no_license | rane1700/ex4 | 51ca9154b373f56762695437286cd2288318b452 | 2024de009dde405e49ee713be9ed1ef9bd87696d | refs/heads/master | 2021-04-29T01:09:16.946390 | 2017-01-02T19:20:15 | 2017-01-02T19:20:15 | 77,784,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | //
// Created by shani on 11/28/16.
//
#include "Map.h"
#include "Node.h"
#include "PointHistory.h"
/**
* constractor
*/
Map::Map(){}
/**
* destructor
*/
Map::~Map(){}
/**
* prints map
*/
/**
* prints map
*/
void Map::print(){}
/**
* gets the path from a start point to a goal point
* @param speed - the... | [
"ranee1700@gmail.com"
] | ranee1700@gmail.com |
bc2076be3336f9b46da44dbf37c07e9a3e1db7e5 | 728688c8496619a15cdc7130e8f3236b2600238a | /실습3/RangeArray.cpp | 547dd3872dab23119aec3f2299e6e31b8baae7bc | [] | no_license | jennifer06065/comsil_3_github | a0f9f186b4fb0c5da117c9f8112a070aa17795a4 | caf333ea482a2b72e84108e09f71ebc02bd692c3 | refs/heads/master | 2022-12-29T10:40:41.402334 | 2020-10-06T07:46:29 | 2020-10-06T07:46:29 | 301,641,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include <iostream>
using namespace std;
#include "RangeArray.h"
RangeArray::RangeArray(int a, int b) : Array(b-a+1) {
low = a;
high = b;
}
RangeArray::~RangeArray() {}
int RangeArray::baseValue() {
return low;
}
int RangeArray::endValue() {
return high;
}
int& RangeArray::operator[](int i) {
i=i-low;
retu... | [
"jennifer0606@naver.com"
] | jennifer0606@naver.com |
c2dbc74835e4e9a8977bdb00ca1c18ca7f85f1c8 | c8a8b1b2739ff50c3565cdc1497e6abf4492b3dd | /src/csapex_core_test/src/processing_test.cpp | f97b4955a74760e139dc1f9e13a516b793905132 | [] | permissive | betwo/csapex | 645eadced88e65d6e78aae4049a2cda5f0d54b4b | dd8e24f14cdeef59bedb8f974ebdc0b0c656ab4c | refs/heads/master | 2022-06-13T06:15:10.306698 | 2022-06-01T08:50:51 | 2022-06-01T09:03:05 | 73,413,991 | 0 | 0 | BSD-3-Clause | 2020-01-02T14:01:01 | 2016-11-10T19:26:29 | C++ | UTF-8 | C++ | false | false | 4,032 | cpp | #include <csapex/model/graph_facade_impl.h>
#include <csapex/model/graph/graph_impl.h>
#include <csapex/model/graph.h>
#include <csapex/model/node_facade_impl.h>
#include <csapex/model/node.h>
#include <csapex/model/node_handle.h>
#include <csapex/model/node_modifier.h>
#include <csapex/model/node_worker.h>
#include <c... | [
"sebastian.buck@uni-tuebingen.de"
] | sebastian.buck@uni-tuebingen.de |
b96d60f553227b510c31d16cfb745e590cc8f16b | 874124925d861bc8d003f09490d823f44d1b0ca0 | /src/include/Terrain/TerrainOperationEditPoint.hpp | c4250390f92896cb95021d260386c929d1a2c766 | [
"MIT"
] | permissive | foxostro/PinkTopaz | 2e5555b0495e493d3ca8bafbd98dd1b00e099bdd | cd8275a93ea34a56f640f915d4b6c769e82e9dc2 | refs/heads/master | 2021-01-22T22:24:07.097116 | 2018-06-17T04:14:59 | 2018-06-17T04:15:01 | 85,535,947 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | hpp | //
// TerrainOperationEditPoint.hpp
// PinkTopaz
//
// Created by Andrew Fox on 5/8/18.
//
//
#ifndef TerrainOperationEditPoint_hpp
#define TerrainOperationEditPoint_hpp
#include "TerrainOperation.hpp"
#include "CerealGLM.hpp"
class VoxelData;
// An operation which edits a single voxel block.
// This is useful f... | [
"foxostro@gmail.com"
] | foxostro@gmail.com |
6ccf9c05890a08f3fcf7110cf8d36c7cab9374ab | 0cf1e9215a3c5b7ad113b6707eae4dddb23568c0 | /String/KMP-next.cpp | b28789f67e13a57ef6f1a31b8f4ea262317a1388 | [] | no_license | CrazyPigAndCat/DataStructure | 5e1979078a775c014b568823896ae323a6446d1a | 004b82087bd356238783158d8ce0b92f4f0bca0b | refs/heads/master | 2023-01-10T10:55:53.897841 | 2020-11-06T13:42:57 | 2020-11-06T13:42:57 | 295,995,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | //
// Created by puppet on 2020/10/2.
//
#include <stdio.h>
#define MAXLEN 255
typedef struct{
char ch[MAXLEN];
int length;
}SString;
int Index_KMP(SString S,SString T,int nextval[]){
int i=1,j=1;
while (i<=S.length&&j<T.length){
if(j==0||S.ch[i]==T.ch[j]){
++i;
++j;
... | [
"909395091@qq.com"
] | 909395091@qq.com |
208d0eb4210fd31427bfca2576203321b9163e6b | d54d424ecd73e0444bc04d7f024db8d7c864a85a | /speedwriter/src/wordchecker.h | 3983a1b9703c9ba0431fd5f1df8f4c70b94189ab | [
"Apache-2.0"
] | permissive | jsoref/Cascades-Samples | 51adc41e4d3b33e8507c629e10c0413c515a6906 | ef941b803756d09cff12db1977687dfc2ea5ff46 | refs/heads/master | 2021-04-15T09:45:37.648754 | 2012-11-28T00:15:13 | 2012-11-29T20:35:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,806 | h | /* Copyright (c) 2012 Research In Motion Limited.
*
* 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 by applicable law ... | [
"jlarsby@rim.com"
] | jlarsby@rim.com |
954acad462398cc3b0af0a93b56e67d43d900323 | 4164e13053dab51d02affb94c46c529b37a08347 | /tkir_game/tkir_game/PathFinder.h | a759565f8b6e74d5ca72a8e6344e279341aac98e | [] | no_license | tkir/goldenbyte2016 | 656629f500a4afc0892a7df456ba583cb4791ced | 8f2ebeeff24e9b0d96b6cb4a897be1bc5fe0bb67 | refs/heads/master | 2021-01-10T02:39:04.951688 | 2016-01-25T19:15:25 | 2016-01-25T19:15:25 | 49,377,365 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | h | #pragma once
#include "include.h"
struct object
{
Vector2f point[4];
Vector2f centerPoint;
float furthestPoint;
bool isWall;
object(){}
object create(Vector2f position, float tileSize);
};
class MiniMap
{
public:
object obj;
object** miniMap;
Vector2u mapSize,
countMiniMapTyles;
float miniMapTyleSize;
... | [
"kirill.titenko@gmail.com"
] | kirill.titenko@gmail.com |
2228540270eb8d2f9bd3baa9eef2d33b3dc2244b | 5f79f9c1feade5b8aa505ce999f78acff1864e7e | /ns-3.20/src/applications/model/trickles-appcont.h | da3f4ba48221cd0a7c6c96cc11b9188b4197ac61 | [] | no_license | dchaly/stateless | 52a26938c0c45e553569eb5e64f7a90fdf0d16e5 | 230344eafa24cc426b3c44b68d84a40125d17fe8 | refs/heads/master | 2021-01-22T07:32:32.845106 | 2015-10-30T09:25:49 | 2015-10-30T09:25:49 | 29,728,783 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | h | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014 P.G. Demidov Yaroslavl State University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;... | [
"dmitry.chaly@gmail.com"
] | dmitry.chaly@gmail.com |
227decd6dc576104cecfa2ffe65fe438cfa0bfd8 | e2029872bcf1feead431d3eb155ddc91036d9317 | /Compiler/AST/ASTLiterals_CG.cpp | 835fe84a332c46d8f12a051d76ed4bd1c6977ef2 | [
"Artistic-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | FingerLeakers/emojicode | 604d14a11ca7716b0488bc0d3d5ce3f573bfe2a3 | 1e5b1a6f287998639cd43152f37482125ab3d96a | refs/heads/master | 2020-03-12T06:16:48.757828 | 2018-04-09T13:02:51 | 2018-04-09T13:02:51 | 130,481,785 | 2 | 0 | null | 2018-04-21T14:34:08 | 2018-04-21T14:34:08 | null | UTF-8 | C++ | false | false | 3,287 | cpp | //
// ASTLiterals_CG.cpp
// Emojicode
//
// Created by Theo Weidmann on 03/09/2017.
// Copyright © 2017 Theo Weidmann. All rights reserved.
//
#include "ASTLiterals.hpp"
#include "ASTInitialization.hpp"
#include "Compiler.hpp"
#include "Generation/CallCodeGenerator.hpp"
#include "Generation/FunctionCodeGenerator.h... | [
"hi@idmean.xyz"
] | hi@idmean.xyz |
cc38085f77287d06fa5622aa5d375c4e40b8f94a | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/layout/ClipRect.cpp | 48f1e01c3d3c950196fe6622eb232113b190256a | [
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 1,639 | cpp | /*
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | [
"22249030@qq.com"
] | 22249030@qq.com |
898f9b20295f684592c6a130ba665d71bfb56e14 | b49621154ebcd28a10df8e8e5ef90d76d963f8b6 | /Grayscale/OpenCVInterface/OpenCVInterface/Bin2Val.cpp | 2cee15efc6c1493389aa549448a469f1db2b9b59 | [] | no_license | alduleacristi/proiect-procesare-imagini | b8fdfc7720cdb1b2c67871114dfd6ae9affd0bb4 | 980c784c5bd48c5e6d13776048fd37f1bdd34ea3 | refs/heads/master | 2016-08-12T06:47:37.981466 | 2013-12-09T11:02:03 | 2013-12-09T11:02:03 | 44,041,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | // Bin2Val.cpp : implementation file
//
#include "stdafx.h"
#include "OpenCVInterface.h"
#include "Bin2Val.h"
#include "afxdialogex.h"
// Bin2Val dialog
IMPLEMENT_DYNAMIC(Bin2Val, CDialogEx)
Bin2Val::Bin2Val(CWnd* pParent /*=NULL*/)
: CDialogEx(Bin2Val::IDD, pParent)
{
}
Bin2Val::~Bin2Val()
... | [
"vereseniko11@gmail.com"
] | vereseniko11@gmail.com |
4fbd36fef826e06b5fe8d1984f744780ec92fec0 | 211bb4bf4a7a1683befd887e421876a95b3eae7e | /studyalg/helper.h | b247f3579988cc87c29b722c8bbbb2dc40c65e78 | [
"BSD-3-Clause"
] | permissive | heyihan/scodes | ee7f90fad4af1fe1f4ef0794de67b3e517e389a5 | 342518b548a723916c9273d8ebc1b345a0467e76 | refs/heads/master | 2021-10-09T20:59:05.279783 | 2021-08-24T07:17:21 | 2021-08-24T07:17:21 | 59,666,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | h | #ifndef _STUDY_ALG_H_HELPER_
#define _STUDY_ALG_H_HELPER_
#include <iostream>
#include <ctime>
class ProcessTime
{
public:
ProcessTime()
{
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &lastTime_);
}
int64_t elapsedNs(bool renew = false)
{
timespec now;... | [
"heyihan1988@163.com"
] | heyihan1988@163.com |
f6b0043c57266cb73d5bfed86c83895be9fe396b | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/geometry/multi/algorithms/remove_spikes.hpp | 96bfa1b9c53e63ec90436116074af98f2960410b | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 88 | hpp | ../../../../../../../../../GeoFeatures/boost/geometry/multi/algorithms/remove_spikes.hpp | [
"hatter24@gmail.com"
] | hatter24@gmail.com |
a9fb9d2b18afd8678aa0903cfdd8cb631b883b89 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /MarketDataAdapters/iseprovider/isestdpriceprovider.h | 84623f8762a5e59a0f2ccf83e635314dc14e3feb | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | h | // ISEStdPriceProvider.h : Declaration of the CISEStdPriceProvider
#ifndef __ISESTDPRICEPROVIDER_H_
#define __ISESTDPRICEPROVIDER_H_
#include "resource.h" // main symbols
#include "ISEEvents.h"
#include "ObjectID.h"
/////////////////////////////////////////////////////////////////////////////
// CISE... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
24603918be3ecd006da4f36446c27c97b0996f2d | f6ab96101246c8764dc16073cbea72a188a0dc1a | /OnlineJudge/ZEROJUDGE/b208 A. 蜜蜂的約會.cpp | b498b8767d319c71bf104b94352c690fff21ab49 | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 709 | cpp | #include <stdio.h>
#include <string.h>
int mapped[262144], LIS[100005];
int main() {
int n, i, x;
while(scanf("%d", &n) == 1) {
memset(mapped, 0, sizeof(mapped));
for(i = 0; i < n; i++)
scanf("%d", &x), mapped[x+100000] = i;
int L = -1, l, r, m;
for(i = 0; i < n; i++)... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
3135aeba2588f0ef4e186b67192bc7ccfc48d935 | 9fb456a0f1cc77d148a9c5334c084c2a65630592 | /Procession/include/ConcurrentQueue.h | f8e940786adb56f610ce5ee32925562edddb6dba | [
"Apache-2.0"
] | permissive | eighteight/CinderEight | 4deba73910eb3e02d2f881da303205159a77f052 | d9dfc6a0ad9a9e6c5b82624971127f0335d91639 | refs/heads/master | 2021-06-19T14:46:18.448625 | 2021-01-16T20:55:22 | 2021-01-16T20:55:22 | 16,152,693 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,757 | h | /*
Copyright (C) 2010-2012 Paul Houx
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, modify, merge, publish, distri... | [
"bo-ba@mail.ru"
] | bo-ba@mail.ru |
b1f8bb22cf5ab0a14c8106abe344437fdac0fda9 | ede874b59555fd65ab2aa44f17a71a5a748eafa6 | /include/etl/std.hpp | 060e1bbe66213f7f0fb2eb3e053e66329d8d9278 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bechirzf/etl-2 | aad392dc07f42dd772914931ed192829d2d64a74 | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | refs/heads/master | 2020-06-11T10:52:16.362349 | 2018-05-07T08:41:17 | 2018-05-07T08:41:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | hpp | //=======================================================================
// Copyright (c) 2014-2018 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
908b05f0bad557b440e1ea1dc5f0506825cb1ae4 | 2daa40b22b1a5374e7932863fc57f8a3821c2081 | /pwm.ino | ad0c0d7e23c6c479f794561dacb0fe4dbe39637b | [] | no_license | leenabushqair/arduinoBasics | ceea517c1cf621f1e6a81a891781902617a8e406 | bb41a774a8eeba60af653b5cadec38f79963ebaa | refs/heads/master | 2022-07-05T05:23:09.993236 | 2020-05-12T20:42:44 | 2020-05-12T20:42:44 | 263,447,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | ino | void setup() {
pinMode( 6, OUTPUT);
}
void loop() {
for(int i=0; i<=255; i++){
analogWrite(6, i);
delay(5);
}
for(int i=255; i>=0; i--){
analogWrite(6, i);
delay(5);
}
}
| [
"noreply@github.com"
] | leenabushqair.noreply@github.com |
16d6aa24e766c9f6fe27b57b2a892ef5b582344a | 9ee3e1553fe2ad320d73ca7e0c7fb77abfe6aa74 | /MyCppGame/Classes/src/Vibrator.cpp | 151682014feb038c5e82505662ea2b47703b46f7 | [
"MIT"
] | permissive | Crasader/FinalYearProject | be70553a1adfc844d813fe72c328d1c525c30a9b | 359c0cb74f3f246ae0ecb6a2627e02aa3df68aee | refs/heads/master | 2021-05-31T20:02:09.308199 | 2016-04-20T20:38:16 | 2016-04-20T20:38:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | #include "Vibrator.h"
void Vibrator::Vibrate(int time)
{
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
JniMethodInfo t;
if (JniHelper::getStaticMethodInfo(t, CLASS_NAME, "vibrate", "(I)V"))
{
t.env->CallStaticVoidMethod(t.classID, t.methodID, time);
t.env->DeleteLocalRef(t.classID);
}
#endif
}
void Vibrator... | [
"shane.dooley94@gmail.com"
] | shane.dooley94@gmail.com |
b1ecbf1c286bbbb24b4cece306d9fd8f4314518e | ddd1627528684416cba58a9432ec3036435056a8 | /GFX/GFX/GFXExMan.h | 1429be4c9098416eb10c2ee6da4dc8ccf1a005a5 | [] | no_license | sunhanpt/GFEffect | 70b027b023c455bdafd58a02eb7af4aa6fccc4ce | 79f2194a9899aeb84ce742ab9aff860cefa664db | refs/heads/master | 2021-05-06T02:08:48.533451 | 2017-12-17T03:43:59 | 2017-12-17T03:43:59 | 114,505,475 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 230 | h | #pragma once
/*
** Name: GFXExMan.h
** By: pengtong.pt
** Desc: GFXExµÄ¹ÜÀíÀà
*/
#include <vector>
class GFXEx;
class GFXExMan
{
public:
GFXExMan() {}
virtual ~GFXExMan() {}
public:
std::vector<GFXEx*> m_GFXExArr;
}; | [
"763737898@qq.com"
] | 763737898@qq.com |
08100b362395043420f286bc6895f0425652cd2f | f5ffab38ba16c51b3e4d01598d01f4ee17ae93ae | /NinjaGaiden/SwordManAttackRight.cpp | 25d49be6c295fe227559a331c84f6fbe48c8e160 | [] | no_license | thanhgit/NinjaGaiden | b497c8477907193ada397630c5cbe6a08ab91547 | d475c671cddbb80c6c544f2a9c487dedd2d4567a | refs/heads/master | 2021-06-19T11:59:01.074268 | 2021-01-24T01:27:53 | 2021-01-24T01:45:49 | 176,050,004 | 0 | 0 | null | 2021-01-29T20:31:04 | 2019-03-17T03:03:56 | C++ | UTF-8 | C++ | false | false | 304 | cpp | #include"SwordManAttackRight.h"
SwordManAttackRight::SwordManAttackRight(SwordManGraphics* _graphics)
{
this->graphics = _graphics;
}
SwordManAttackRight::~SwordManAttackRight()
{
}
void SwordManAttackRight::update(Box* swordMan) {
this->graphics->actackRight(swordMan->GetX(), swordMan->GetY());
} | [
"thanh29695@gmail.com"
] | thanh29695@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.