blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
123d90bf2a526ce9ebe633b80602b60074d7e250 | 2ae822aad632e46ecdd7939b878827344cf5ccf6 | /lib/VM/GCBase.cpp | 2b0a2df0429a64ef17bd674aa6e05e48135f6aef | [
"MIT"
] | permissive | sassembla/hermes | d39c0cb70a7981c2905945ee28daca944f922fc4 | 643096b07b6249f056b1645c2d7f346436f65f6c | refs/heads/master | 2023-02-19T05:30:16.431391 | 2021-01-23T11:04:10 | 2021-01-23T11:06:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,715 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#define DEBUG_TYPE "gc"
#include "hermes/VM/GC.h"
#include "hermes/Platform/Logging.h"
#include "hermes/Support/ErrorHandling.h"
#... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
e639e2748a2a1398ce2aa59cf27ddb763dfe5cdd | 1e7349202ff77ca285db35103dc40653e11235ba | /resample.cpp | 8c38921c3d29e9f97bc65b6e27556d132c868652 | [] | no_license | busygin/morlet | 1247f799421dbfd42d6924e0985e71d41e6ceec0 | 564c1ed0047dad81c2af1b9e42ae2845eeed21cc | refs/heads/master | 2021-01-17T14:30:43.856421 | 2016-02-12T17:20:25 | 2016-02-12T17:20:25 | 49,468,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | //
// Created by busygin on 1/12/16.
//
#include "resample.h"
void Resampler::run(double* signal, double* downsampled_signal) {
memcpy(signal_, signal, signal_len_*sizeof(double));
fftw_execute(plan_for_signal);
for(size_t i=resample_len_/2+1; i<resample_len_; ++i) {
fft[i][0] = fft[resample_len_-i][0]... | [
"busygin@gmail.com"
] | busygin@gmail.com |
1323446a56f4a2ccf0bcf2f61c71a8fdcc59be15 | 069d4d60ed3bded70ad32e8b19371c453efb6655 | /src/ppl/nn/engines/cuda/pmx/utils.h | 92caf513b756f74c750adb8455eb57343672ca1d | [
"Apache-2.0"
] | permissive | openppl-public/ppl.nn | 5f3e4f0c1a10bd2ba267fdc27ff533fb9074f1ed | 99a2fdf6e4879862da5cac0167af5ea968eaf039 | refs/heads/master | 2023-08-17T07:31:50.494617 | 2023-08-16T11:24:54 | 2023-08-16T15:05:11 | 381,712,622 | 1,143 | 224 | Apache-2.0 | 2023-09-08T16:33:08 | 2021-06-30T13:32:17 | C++ | UTF-8 | C++ | false | false | 8,352 | h | // 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 the Apache License, Version 2.0 (the
// "License"); you may... | [
"856454+ouonline@users.noreply.github.com"
] | 856454+ouonline@users.noreply.github.com |
a30b61ac1ae2cb531e29bcb1d7ec17949f2d3cab | b9d45717223d242544e3a5c83ba0a9377682743f | /Multiplexer.cpp | 4ddb7700fb2d1a151d641bf13001c5a81d51fa94 | [] | no_license | chenbk85/simpleton | 68e7bd160c5b78d522552158bf6e042cbc88597d | f8b87a89dcaa75cbdd69d13db04e7d9d606ff108 | refs/heads/master | 2020-12-26T12:04:29.299938 | 2016-01-05T06:17:49 | 2016-01-05T06:17:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | cpp | //
// Created by lyc-fedora on 15-4-27.
//
#include "Multiplexer.h"
#include "Exceptions.h"
using namespace simpleton;
Multiplexer::Multiplexer()
:_epollfd(-1),_eventList(8) //初始构造时产生8个空event结构体
{
if ((_epollfd = ::epoll_create(5)) == -1)
{
int saveError = errno;
throw exceptions::ApiExecErro... | [
"lycmail58@163.com"
] | lycmail58@163.com |
570b2707c9d5f6d0d7861851235733bb88b7cc63 | b1e4a4c5841b8ae47ab4e23ebe2558fc0bb6f20e | /implementation/game/Player.cpp | 041000295c5e3eef3d9ec28960505367412b5fc1 | [] | no_license | flaithbheartaigh/symbian-4x-space-game | 9c487ffd0efdedbe2fee56459c63db45806fc4c1 | ba9f360309c4b5c2c2194c98fc9bd9e0b183dd41 | refs/heads/master | 2021-01-10T11:29:48.970470 | 2012-10-31T02:01:45 | 2012-10-31T02:01:45 | 50,126,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,714 | cpp | // Symbian 4X Space Game
//
// Copyright (C) 2011 Patrick Pelletier
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation, either version 3 of the License, or any later
// version.
//... | [
"mitthrawn@hotmail.com"
] | mitthrawn@hotmail.com |
c8f5fca5300968314f2ce8a4fb17f89c73eb20c7 | 219c8e3fb09447f1a63e6bce695f3e61632df580 | /src/command/moveunitcommand.cpp | 595f215bebe426a01b176e7983430412822bf2a9 | [] | no_license | AlexandreSanscartier/tripping-happiness | f2d7d1aadc0b81cb44ea7d70bf16d3e369881a36 | 9cc201fd0ecd74bbb381be9207569d948b1cb56d | refs/heads/master | 2021-01-04T02:35:44.441048 | 2014-08-28T20:23:00 | 2014-08-28T20:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | #include "moveunitcommand.h"
| [
"alex.sanscartier@gmail.com"
] | alex.sanscartier@gmail.com |
2111efd13c7ffb6639b12dd3fb390f8ef51199c3 | fee815564249d783307fa9a4c126a7df3a44ea5a | /E4_DspBuilder/docs/ReferenceDesignsReference_Design/Turbo/ctc_harris/cml/source/systemc/sysc/packages/boost/detail/call_traits.hpp | 289fac4155e15a3fa22305fdbe81a2904978de89 | [] | no_license | Benjamin142857/FPGA_Experiment_3A | 6b4438d3cf01fafa9252a22c685afc5bdccf4682 | 4d546b29640e0a61ea46f16f2f61e4e91cf525ad | refs/heads/master | 2020-09-13T00:04:24.561146 | 2019-11-26T12:50:26 | 2019-11-26T12:50:26 | 222,598,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,974 | hpp | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as... | [
"benjamin142857@outlook.com"
] | benjamin142857@outlook.com |
cdc474d6622568ec7332ae536c34b0b365da6ce8 | 9ea01d4df33eab409aec2d6533137fe0a43ee37f | /quadcopter_controllers/full_controllers/3d/pid_cascaded/src/cascaded_controller.cpp | 65e6f516d274759a80bca0fffba2a4de21729bea | [] | no_license | sarath-menon/controller_lib | 512c10f50c45113f74ebf1a5209c425d073be4a4 | 6a1046351902c92b44c9f291986a95a996bfdca7 | refs/heads/master | 2023-09-01T05:38:54.448763 | 2021-11-01T18:32:40 | 2021-11-01T18:32:40 | 410,218,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | #include "pid_cascaded.h"
namespace controllers_3d {
cpp_msg::ThrustTorqueCommand &
BasicPidCascaded::cascaded_controller(const cpp_msg::Pose &pose,
const cpp_msg::Pose &pose_setpoint) {
// Outer loop
thrust_torque_cmd.thrust =
z_position_controller(pose_setpoint.posit... | [
"smenon@ethz.ch"
] | smenon@ethz.ch |
15685f430008635cf3599c9cac3ca5b341a92b0d | cfe8ea74ce5651e9954b3e9c6e4e495e031e0ad7 | /utils/vgui/include/VGUI_Dar.h | 6f8eb513bb900e19a959523795bc462cfdc23424 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"curl"
] | permissive | YaLTeR/OpenAG | dd699ec10d25672bf640812cd118f09ca92523b3 | 78fac3a9d0d8c033166f13d099d50ca1410e89e4 | refs/heads/master | 2023-05-10T17:15:01.445266 | 2023-05-02T04:20:02 | 2023-05-02T04:20:02 | 61,480,530 | 139 | 63 | NOASSERTION | 2022-12-31T00:07:53 | 2016-06-19T13:03:05 | C++ | WINDOWS-1252 | C++ | false | false | 3,697 | h | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef VGUI_DAR_H
#define VGUI_DAR_H
#include<stdlib.h>
#include<string.h>
#include<VGUI.h>
namespace vgui
{
//Simpl... | [
"alfred@alfredmacpro.valvesoftware.com"
] | alfred@alfredmacpro.valvesoftware.com |
6c47f3800e629f7424609d07f1f0fe5b9a3d9a93 | 3f60c2e6358df73846d3e82794ff811cbaedc195 | /c++/W01-01-Two fighters, one winner.cpp | 9baa209001e8a23a8c700146682ba6f741599a71 | [] | no_license | andreldelrosario/code-kata | 57b3a538aa888e1ddcff2c05a2b0562de1a60b78 | 76a2314358742ac75e2ebcf01f8e66eeb9058525 | refs/heads/master | 2021-01-11T23:54:05.288114 | 2017-03-06T14:48:12 | 2017-03-06T14:48:12 | 78,643,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | //Two fighters, one winner.
bool isDead(Fighter* fighter)
{
return fighter->getHealth() <= 0;
}
void hitDefender(Fighter* defender, int attackDamage)
{
int newHealth = defender->getHealth() - attackDamage;
defender->setHealth(newHealth);
}
std::string declareWinner(Fighter* fighter1, Fighter* fighter2, st... | [
"andreldelrosario@gmail.com"
] | andreldelrosario@gmail.com |
f9c7dd84754ea294886eb95f0e5925498411f69b | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/anim/AnimEvent_Effect.hpp | 44cee55081248475f990b7d939f2be5c7e4921cd | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/Types/generated/anim/AnimEvent.hpp>
namespace RED4ext
{
namespace anim {
struct AnimEvent_Effect : anim::AnimEvent
{
... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
ae01839c713c1c0c19cce3042d52fcfef748388a | de56831c6f77f0e7a3c1717a5785dac9291dc0f9 | /main.cpp | fb016f49c2faa485a07fe07cf9bf611a90c527b1 | [] | no_license | davidzhangxm/Physics-Simulation | 276d9c7d2081a402a81ce53f9b5ab8266e19c72d | ead82255bfa4ecc17da0694634c348634f26e50f | refs/heads/master | 2020-05-09T14:33:03.208781 | 2019-06-12T03:48:46 | 2019-06-12T03:48:46 | 181,197,510 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,578 | cpp | #include <iostream>
#include <limits>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/normal.hpp>
#include "camera.h"
#include "shader.h"
#include "physys.h"
#include "mesh... | [
"514405608@qq.com"
] | 514405608@qq.com |
ebca37773283bcc6b992bc59b7fec46f94cf3055 | a27eeee986c716458515a2191d3b822c5332bd7f | /DFS/maxAreaOfIsland.cpp | 8dd631d62f091d6fa5510a5624b6315a50260624 | [] | no_license | wyukai/coding | e68a92d910332689c298a17c68859d98e9ee92b2 | 59cf6cec0d1461fcfc1496198f8b8b8c5c5f22d7 | refs/heads/master | 2021-08-16T13:15:20.780028 | 2021-08-10T08:27:58 | 2021-08-10T08:27:58 | 201,733,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,151 | cpp | //
// Created by wk on 2021/7/9.
//
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
vector<int> directions = {-1,0,1,0,-1};
/*
* 在辅函数里,一个一定要注意的点是辅函数内递归搜索时,边界条件的判定。边界判定一般
有两种写法,一种是先判定是否越界,只有在合法的情况下才进行下一步搜索(即判断放在调用
递归函数前);另一种是不管三七二十一先进行下一步搜索,待下一步搜索开始时再判断是否合
法(即判断放在辅函数第一行)
*/
//递归写法
int dfs... | [
"18502408205@163.com"
] | 18502408205@163.com |
e06bc68570a84c9363074d0ce0a6d26f2ee4dc77 | 133d0f38b3da2c51bf52bcdfa11d62978b94d031 | /testAutocad/vendor/ifc-sdk/src/ifc2x3/IfcApprovalActorRelationship.cpp | 5aeb226ca656183bdd8ec415348ac4ee385e540a | [] | no_license | Aligon42/ImportIFC | 850404f1e1addf848e976b0351d9e217a72f868a | 594001fc0942d356eb0d0472c959195151510493 | refs/heads/master | 2023-08-15T08:00:14.056542 | 2021-07-05T13:49:28 | 2021-07-05T13:49:28 | 361,410,709 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,006 | cpp | // IFC SDK : IFC2X3 C++ Early Classes
// Copyright (C) 2009 CSTB
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later ... | [
"antoine.cacheux@procal.fr"
] | antoine.cacheux@procal.fr |
47354a10ead4ec784e7e7af3c0a8d548c198e775 | b1f396a687c8c83bc9e3123b056e60b1423db570 | /src/seqStruct.hpp | 51ea63360de01f262ee291c27bfabf6e6d2e2be2 | [] | no_license | morikie/polar | 8033daa7a7e1775a8e48241067edb56043c55d3d | 46728b9ca4a1f7b0fd8a7ddddb26f37306feb2eb | refs/heads/master | 2021-01-19T01:17:44.624383 | 2017-07-19T13:17:53 | 2017-07-19T13:17:53 | 37,848,036 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | hpp | #ifndef __TRANSCRIPTMUTATION_HPP__
#define __TRANSCRIPTMUTATION_HPP__
#include <string>
#include <boost/optional.hpp>
#include "hgvsParser.hpp"
/**
* This class is used as a wrapper for the arguments "needed" by Utr3Finder
*/
struct SeqStruct {
const std::string seq;
boost::optional<const size_t> utr3Start;
... | [
"moritz.k@fu-berlin.de"
] | moritz.k@fu-berlin.de |
ff96defcdf2cde624fd45108b03cffa7215201d2 | f5cf8fff59bd1e5a490762c0087faf59e5ac6868 | /Comm1.h | 85c9777a75d030f4123904ed39e5a35b3cf34ca2 | [] | no_license | cuihao0532/CSerial-class | 0078455f417444f4cc195d71d444b921315dbb9a | 26b139103d5582519b7f6c38d45de51fb3afd308 | refs/heads/master | 2016-09-14T04:12:06.493215 | 2016-05-10T10:06:46 | 2016-05-10T10:06:46 | 57,055,620 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,633 | h | #pragma once
#include "resource.h"
#include "EventHandler.h"
#include "Serial.h"
using cuish::CSerial;
#include <iostream>
using std::cout;
using std::endl;
class CCom : public ISerialEventHandler
{
public:
CCom();
virtual ~CCom();
bool Init(LPCTSTR lpSerialName, CSerial::_eOpenMode eMode);
bool Se... | [
"cuihao0532@163.com"
] | cuihao0532@163.com |
a811565402e9446ad7df51729a3a1070b9d91418 | 39d108f8b29a58cf8b756733c5fcaef013a87df5 | /catkin_ws/devel/include/slugs_ros/SlugsInitExecutionStringRequest.h | 299efbd274ff853abd331493355db4e0c2268a33 | [] | no_license | kc834/swarm | 0a5297eb44024e17de355f757228a0691d549551 | c812b94cb5102c6dd211327a27edd0629ed9a63d | refs/heads/master | 2021-08-31T04:48:52.359381 | 2017-12-20T12:10:55 | 2017-12-20T12:10:55 | 114,404,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,957 | h | // Generated by gencpp from file slugs_ros/SlugsInitExecutionStringRequest.msg
// DO NOT EDIT!
#ifndef SLUGS_ROS_MESSAGE_SLUGSINITEXECUTIONSTRINGREQUEST_H
#define SLUGS_ROS_MESSAGE_SLUGSINITEXECUTIONSTRINGREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializatio... | [
"kc834@cornell.edu"
] | kc834@cornell.edu |
d588b9be7daa3134a7ce67c3f3c322bc0c82cc3e | 0cfac3bf3ad8e349b1ec49427aba4f8b7acff545 | /Chess.DataObjects/ChessRullEngine.h | ebecbceeff8d50744eb010e65dddf77af0a4cd15 | [] | no_license | eli78435/Chess | ba74492ce4a7b1fc80e32f93d2132084bdca1a89 | 6e9752b979a7f27bbfcbca77538385307c95f0e0 | refs/heads/master | 2021-01-12T10:22:50.935420 | 2016-12-17T21:18:31 | 2016-12-17T21:18:31 | 76,437,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #pragma once
#include <memory>
#include "GameBoard.h"
namespace Chess::DataObjects
{
class ChessRullEngine
{
std::weak_ptr<GameBoard> _gameBoard;
void Move(GamePosition& start, GamePosition& end);
public:
ChessRullEngine(std::weak_ptr<GameBoard> gameBoard);
~ChessRullEngine();
bool TryMakeMove(GamePos... | [
"elid@codevalue.net"
] | elid@codevalue.net |
1e169a6217073870b5e48054827dc63f4eeeb09a | ad926d4fdd771cacef1a914fd7deca5e440933a2 | /src/qt/qtipcserver.cpp | 2d49b9cc0f0b09a99d74e85987d1bdd0851d8738 | [
"MIT"
] | permissive | mars2ll/knolix | 2cbeb10f400cf53be5f53a953ab35f3cc44a3def | d72804a6a6b589703c7367322a2ab81b8b12cf1d | refs/heads/master | 2023-02-26T17:23:40.032713 | 2021-02-03T21:39:00 | 2021-02-03T21:39:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,923 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"root@vultr.guest"
] | root@vultr.guest |
ffda3bcce262a7a05644b6b68cd67f4389861c91 | bc655b33bc631f108dccd62f870d5b4de51c74d9 | /Client/Client.hpp | 47bf399d221ebe1dc700aeb99e293a7c9ef3c187 | [] | no_license | nandee95/ZombieGame | c21dfe5c923ed969d35fed300ab3c277220eb305 | a01d22150d1625f6fe4571cabbda09054b8d0478 | refs/heads/master | 2020-05-29T21:07:49.943818 | 2019-05-30T08:25:33 | 2019-05-30T08:25:33 | 189,371,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | hpp | #pragma once
#include "../System/State.hpp"
#include "../System/CfgFile.hpp"
#include "../Client/Chat.hpp"
#include "../Client/Wind.hpp"
#include "../Server/Protocol.hpp"
#include "../System/ResourceManager.hpp"
#include "../Client/Level.hpp"
#include "../System/Window.hpp"
#include "../Physics/Physics.hpp"
... | [
"noreply@github.com"
] | noreply@github.com |
43348c46fdf46d111b2d040bac18150b4c362beb | a2835f69393d56c3eef1454e0e8ef6d542701088 | /ch03ex/A1031.cpp | 0219c8a33bdfb67c689c82b81af6b5e3d2846476 | [] | no_license | PiFtch/PAT | 1656614922c2f1128c591e348f2eb5d41951afb2 | 683eab8dc96f9615544ec00ce214628896b5b248 | refs/heads/master | 2020-04-07T22:17:18.098697 | 2018-11-23T01:06:49 | 2018-11-23T01:06:49 | 158,763,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include <cstdio>
#include <cstring>
int main() {
char str[85];
scanf("%s", str);
int len = strlen(str);
int n1 = (len + 2) / 3, n2 = len - 2 * n1 + 2;
for (int i = 0; i < n1-1; i++) {
printf("%c", str[i]);
for (int j = 0; j < n2 - 2; j++)
printf(" ");
... | [
"piftch@126.com"
] | piftch@126.com |
cde3d31a1a11bfa77e55462eb4f9e11199cd68b4 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-kms/source/model/ConnectionStateType.cpp | 14768e334e84737eb61d3aaa1967e7e65cf9393e | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 3,370 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a8475365f100808b3250d6485028b7c4eb01877f | 45bf672454afe49b3a370e2a10f6f263837f61fd | /7segments0to9/7segments0to9.ino | 21e804714e8b8e0dc4908e7d7af74d910a5243e6 | [] | no_license | BCRCO/arduino-projects-collection-a | 14665c98cb932f85f221e46f67a66dcc0627ad17 | 1cb197a6b5045a0e379ef1fced308da5e4d99611 | refs/heads/main | 2023-04-19T11:55:40.011335 | 2021-05-07T21:47:20 | 2021-05-07T21:47:20 | 365,358,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | ino | #include "SevSeg.h" //BCR
SevSeg sevseg;
void setup(){
byte ND = 1;
byte DP[] = {};
byte segmentPins[] = {13, 12, 11, 10, 9, 8, 7, 6};
bool R = true;
byte HC = COMMON_ANODE;
sevseg.begin(HC, ND, DP, segmentPins, R);
sevseg.setBrightness(90); //Max
}
void loop(){
... | [
"noreply@github.com"
] | noreply@github.com |
95aad1953086598661e102debc9fab08ac36a483 | fda4841612e5734e4c72ab6e7fd92ff2420f8a59 | /CC/octlong20/test.cpp | dc49e825a857fafae6962fde0a16a6298b603877 | [] | no_license | Cybertron3/competitive | ef980be2a0c584f2cd785b202713a593ae26da44 | 9e6ef05865485c42b319182eaab325ca5150d5a1 | refs/heads/master | 2021-08-02T07:07:00.942252 | 2021-07-30T23:50:33 | 2021-07-30T23:50:33 | 181,389,615 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,454 | cpp | #include<bits/stdc++.h>
using namespace std;
using ll = long long ;
using pii = pair<int , int>;
using pll = pair<ll,ll>;
//pairs
#define ss second
#define ff first
// vectors
#define sz(x) (int)(x).size()
#define all(x) begin(x), end(x)
#define rall(x) (x).rbegin(), (x).rend()
#define sor(x) sort(all(x))
#... | [
"18ucs110@lnmiit.ac.in"
] | 18ucs110@lnmiit.ac.in |
eb79a4756ec8b9d8e57953c0922fdb56813ad92f | 23d0eef2d251d7b615e727be5f7c364724be9b46 | /Equa.h | 7f176f2d7426434abebb990e8a057a677e7543ea | [] | no_license | 1ovNemo/Equa | 6a795dc7f35cd7af0ff2b747ec84f4f9337d53d3 | 8d8479253ebdcb0a3a9cfc48d0f418f1a647a098 | refs/heads/master | 2020-06-11T03:55:03.910572 | 2016-12-13T12:02:39 | 2016-12-13T12:02:39 | 76,010,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | #ifndef EQUA_H
#define EQUA_H
#include <cmath>
#include <ostream>
class Equa
{
public:
Equa();
Equa(double, double, double);
void solve();
double getResult();
void setData(double, double, double);
friend void informationAlerts(Equa);
friend std::ostream& ope... | [
"vitali.kysilov.9@gmail.com"
] | vitali.kysilov.9@gmail.com |
abcbaa2fbd80d2f72fa0ad46c2fc31b5708c5044 | ac41d2ccb549dc09ed34e5c0f4da403509abb5c3 | /test/expressions/MatrixVectorTerms.hpp | 6e8eef10c492314e3079fcd36d9742d0cb4d1caa | [
"MIT"
] | permissive | spraetor/amdis2 | c65b530dabd087d922d616bfaf9d53f4c8d5e3c4 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | refs/heads/master | 2020-12-24T15:51:03.069002 | 2016-03-06T14:42:53 | 2016-03-06T14:42:53 | 39,136,073 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,642 | hpp | #pragma once
// AMDiS includes
#include "expressions/FunctorTerm.hpp"
#include "expressions/TermConcepts.hpp"
#include "matrix_vector/MatrixVectorOperations.hpp"
/// Macro that generates a unary (vector) functor.
/**
* \p NAME Name of the class.
* \p DEGREE Expression in 'd0' that gives the polynomial degree... | [
"simon.praetorius@tu-dresden.de"
] | simon.praetorius@tu-dresden.de |
ecb152fee4f35c17e3c2bb8a473b7beab9bd4527 | 23a405404b3238e9d7bb24f852f69d3f558183d9 | /吉田学園情報ビジネス専門学校 竹内亘/06_ハッカソン春/開発環境/写真泥棒/camera.cpp | aae06493f45f4ba18649b62e6b200c485a556c0d | [] | no_license | takeuchiwataru/TakeuchiWataru_QMAX | fa25283aa90bcedb75dd650613d8d828a3f8f81a | cd5d6f75ca258f58df934d40a8ea238976e7c69d | refs/heads/master | 2022-02-07T16:33:12.052935 | 2019-06-12T04:32:08 | 2019-06-12T04:32:08 | 191,302,573 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 14,729 | cpp | //=============================================================================
//
// カメラ処理 [camera.cpp]
// Author : Hodaka Niwa
//
//=============================================================================
#include "camera.h"
#include "player.h"
#include "input.h"
//**********************************************... | [
"jb2017024@stu.yoshida-g.ac.jp"
] | jb2017024@stu.yoshida-g.ac.jp |
db09f2c52593cf24b2678469c92c73bdd0baaca4 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Large_parameters.hpp | b0fd2bfdf934c1efe7e06b09ac48c5a2b2946cc4 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 806 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_CropPlot_Large_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
3e50eb204670a82a43ffed6cc7d91643028f48f4 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8382/kobenko/lab1-7/DarkArmy.h | fd02c148561c03200056ce5093dfc0b326444910 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 990 | h | //
// Created by vlad on 01.06.2020.
//
#ifndef UNTITLED_DARKARMY_H
#define UNTITLED_DARKARMY_H
#include <iostream>
#include "Infantry.h"
#include "Cavalry.h"
#include "Archers.h"
class DarkArcher:public Archers {
public:
int x;
int y;
char type;
int health;
public:
DarkArcher();
int MoveUni... | [
"vladkobenko348@gmail.com"
] | vladkobenko348@gmail.com |
e5dc4e9b647feee94085f0e78082723b00ab72ae | d5d649d358b72cc2c634b88945521fb1aefd4dd8 | /Rocklights/src/InterpGen.h | 0c6ed7d3a414517e2a5d30f42fb008be3904b2bd | [] | no_license | damonseeley/electroland_repos | 70dd6cad4361616d7d2bf8a10139ba949bed0a57 | 63b06daf1a5bc2d66e3fc80bf44a867796e7028b | refs/heads/master | 2021-01-10T12:43:13.110448 | 2014-10-13T18:59:40 | 2014-10-13T18:59:40 | 50,899,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #ifndef __INTERPGEN_H__
#define __INTERPGEN_H__
class InterpGen {
float deltaPerUSec;
float perc;
public:
bool isRunning;
bool wasStarted;
InterpGen();
void start(int timeUSecs);
void reset(); // sets was started to false
float update(int deltaT);
}
;
#endif
| [
"emendelowitz@38cd337d-7a19-44a1-8cca-49443be78b0d"
] | emendelowitz@38cd337d-7a19-44a1-8cca-49443be78b0d |
656bf2cc45395a6e71c099eb9d45f517221cc99c | 69ce284757e3c57798a6cee551c441d30ccc97b7 | /practice_c++/18.4.Addition_Of_RationalNumber.cpp | aad2009f30b3e235c9b47bf572dbbbd7cf83a64e | [] | no_license | HarshitVerma1/Competetive-programming-with-C-plus-plus | 76a6dc0ea6bb3897558fdd8ba34ae0ddec476ef5 | 8de3d6e2d71fd6ad7c968f88a9b0cdb856d24cb5 | refs/heads/master | 2023-03-28T01:24:15.418693 | 2021-03-27T07:19:59 | 2021-03-27T07:19:59 | 278,889,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | #include <iostream>
using namespace std;
class RationalNumber
{
private:
int p, q;
public:
RationalNumber(int p = 0, int q = 0)
{
this->p = p;
this->q = q;
}
RationalNumber Add(RationalNumber R2)
{
RationalNumber temp;
temp.p = p * (R2.q) + q * (R2.p);
te... | [
"terminator@pop-os.localdomain"
] | terminator@pop-os.localdomain |
9c13e9ca313f13cbcce39328533c209ff7471910 | b152993f856e9598e67d046e6243350dcd622abe | /services/network/shared_dictionary/shared_dictionary_storage_in_memory.cc | bcf44fa322762d83429536e2654baae25e9ae093 | [
"BSD-3-Clause"
] | permissive | monad-one/chromium | 10e4a585fbd2b66b55d5afcba72c50a872708238 | 691b5c9cfa2a4fc38643509932e62438dc3a0d54 | refs/heads/main | 2023-05-14T07:36:48.032727 | 2023-05-10T13:47:48 | 2023-05-10T13:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,122 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/shared_dictionary/shared_dictionary_storage_in_memory.h"
#include "base/logging.h"
#include "base/strings/pattern.h"
#include "base/strings/string_u... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
1cdab4be8e5a2fbd4d9cf66e321d3e9084e5755d | eb7f316efd1567d00dcd3de8e59e58b42c4a8932 | /opencv-3.3.0/build/modules/videoio/opencv_test_videoio_pch_dephelp.cxx | 57f9b0a8dfe8efc38cf4e3566e53369949e47d0b | [
"BSD-3-Clause"
] | permissive | cstarkjp/CV3_RPiZero_Stretch | 914ba7fa9a2fe5fdc5c24955b0fbc267e4044bd7 | bbd4424e94cba78541b5aa44f69ce1c2aa888773 | refs/heads/master | 2021-07-24T22:40:20.988930 | 2017-11-06T06:18:27 | 2017-11-06T06:18:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cxx | #include "/home/pi/Packages/opencv-3.3.0/modules/videoio/test/test_precomp.hpp"
int testfunction();
int testfunction()
{
return 0;
}
| [
"cstarkjp@gmail.com"
] | cstarkjp@gmail.com |
635d4e9246e0cc4027f59d2fe43b0cbcd0f9f307 | 52bd63e7c5f1730485e80008181dde512ad1a313 | /pstade/egg/pipable.hpp | d9cd0c9daa5b61a9e76b29c113721ff55a07f9d4 | [
"BSL-1.0"
] | permissive | fpelliccioni/pstade | 09df122a8cada6bd809512507b1eff9543d22cb1 | ffb52f2bf187c8f001588e6c5c007a4a3aa9a5e8 | refs/heads/master | 2016-09-11T02:06:23.972758 | 2013-09-26T15:13:05 | 2013-09-26T15:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,391 | hpp | #ifndef PSTADE_EGG_PIPABLE_HPP
#define PSTADE_EGG_PIPABLE_HPP
#include "./detail/prefix.hpp"
// PStade.Egg
//
// Copyright Shunsuke Sogame 2007.
// 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)
#i... | [
"fpelliccioni@gmail.com"
] | fpelliccioni@gmail.com |
bafd2285ea886f8776dd026113f57ef08bab15fb | e223d16fd7230428f0b1470e6bd896e22515270c | /Trabajo Practico 3/include/Animal.h | a98435a85a0acf51e4dc0465a07cf522278c6e40 | [] | no_license | virtualoutsider/POO | f5852b08e6a303772b9f390f5ed51784daaa29ac | 7fd78e28fb974ec2a6edf2676687b2c53b46a238 | refs/heads/master | 2023-08-29T18:16:07.881042 | 2021-10-27T17:33:48 | 2021-10-27T17:33:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | h | #ifndef ANIMAL_H
#define ANIMAL_H
#include <string>
using namespace std;
class Animal
{
public:
Animal(int _numero,string _nombre,int _edad);
virtual ~Animal();
virtual void mostrar()=0;
virtual float getPeso();
virtual int getHuevos();
virtual float get... | [
"pauligrp@gmail.com"
] | pauligrp@gmail.com |
bb175ee730d0bb9fafeaa4f791364440dd0b4923 | b7d183e63d640e42d201557ca81d11dcc36b199d | /Client/acm_gui (BackUp)/loginwindow.cpp | 884c654b437ae0cf7399be1dc21507c6442080e2 | [] | no_license | ksmail13/SimpleAlgorithmJudge | 529823a6510e6a2f09a92de85093d62db4de25bb | 53b83435af7019bcfe6886d208d36a48e1b4912d | refs/heads/master | 2020-05-17T00:10:36.321504 | 2015-06-08T03:50:21 | 2015-06-08T03:50:21 | 30,504,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | #include "loginwindow.h"
//#include "ui_loginwindow.h"
#include <QMessageBox>
#include <stdio.h>
#include <string>
using namespace std;
LoginWindow::LoginWindow(QWidget *parent) : QMainWindow(parent)//, ui(new Ui::MainWindow)
{
// ui->setupUi(this);
//LoginWidget mywidget;
setFixedSize(600, 400);
setWi... | [
"wlstjd7375@gmail.com"
] | wlstjd7375@gmail.com |
d23c9aaa6c7d4ac8e7d807c75c6ab361e783ed47 | d5e43c17289866b9dc6c3ecca2527bdae172edf4 | /Baekjoon/2986_Pascal.cpp | 8071fdf6643e9582cb7ee427685b70d7625099bd | [] | no_license | skqoaudgh/Algorithm_studying | 81dfc4a60c88b434863707bb841a18deb69adcab | 61e49dc159ea4b591bd01b80f8a6a0fc96dd96c6 | refs/heads/master | 2021-07-11T23:36:58.333780 | 2020-06-15T06:38:58 | 2020-06-15T06:38:58 | 158,647,211 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include <cstdio>
int main()
{
int N,k=1,sum=0;
scanf("%d",&N);
for(int i=2; i*i<=N; i++)
{
if(N % i == 0)
{
k = N/i;
break;
}
}
printf("%d",N-k);
return 0;
}
| [
"skqoaudgh2@hanmail.net"
] | skqoaudgh2@hanmail.net |
cd6367388785cd20bd52c957f0f6688103c92163 | 2e1446d16fcec683cf2eb35600c6f9e2028b22af | /pdp8i/pynq_z2/sim/sim_main.cpp | 82bf59f9b41f927c770191d96e0e4df95b4344a3 | [] | no_license | drovak/verilogpdp | 05204a294d0193185b2dae0c9daab6a13e6b1806 | ae6e478d4ad7b854d98ed8677e8eb431f646dbb4 | refs/heads/main | 2023-09-01T10:23:09.766477 | 2023-08-28T04:30:13 | 2023-08-28T04:30:13 | 341,054,166 | 7 | 1 | null | 2023-08-28T04:30:14 | 2021-02-22T02:13:08 | Verilog | UTF-8 | C++ | false | false | 2,532 | cpp | #include <memory>
#include <verilated.h>
#include "verilated_vcd_c.h"
#include "Vtop.h"
vluint64_t main_time = 0;
double sc_time_stamp() {
return main_time; // Note does conversion to real, to match SystemC
}
int main(int argc, char** argv, char** env) {
if (false && argc && argv && env) {}
// Set debu... | [
"kylevowen@gmail.com"
] | kylevowen@gmail.com |
a6814e7c1869dfc79812b46751656a05bab3ca47 | 7c0536baf5ca26447e91fb771a38baff0a2ef82b | /node.cpp | b43d518da0dc6241c13e5795d3612c7d0570f11c | [] | no_license | mlin9/SFML-Perceptron | efc2921ee7c9f1f490226b940d6245941bfaf48f | 4b4101e6f32d7a494c6f2c584922f2c8f12036b6 | refs/heads/master | 2021-09-14T03:29:23.845616 | 2018-05-07T17:26:57 | 2018-05-07T17:26:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include "node.h"
// Node-Based Feed-Forward Perceptron Demonstration
// Information flow is unidirectional, no multithreading required.
Node::Node()
{
learn_weight = 2.0;
output = 0.0;
entry = 0.0;
init();
}
void Node::learn(double error)
{
weight += learn_weight * error * entry;
}
void Node::input(double inp... | [
"michaellindocs@gmail.com"
] | michaellindocs@gmail.com |
d6bd0eaa404ad43d34e7f89460229f6865b1e3e2 | de24ce80cd112eee86845a99997afba4b5c7e8af | /11.9/Package头文件/Package头文件.cpp | 7d277b1456102b56e80efd5109dde2d0f2d6c44a | [] | no_license | JDFjdf/ji_dongfang | 2e25ea65f650dc15e59452f38311bb6d3e635500 | 6f5e9251c55b1c117e33c50018011523099b4d86 | refs/heads/master | 2020-04-02T14:36:29.943037 | 2019-04-21T15:08:41 | 2019-04-21T15:08:41 | 154,531,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | #ifndef PACKAGE_H
#define PACKAGE_H
#include <string>
using namespace std;
class Package
{
public:
Package( const string &, const string &, const string &,
const string &, int, const string &, const string &, const string &,
const string &, int, double, double );
void setSenderName( const string & ... | [
"1041943228@qq.com"
] | 1041943228@qq.com |
17d1953a6d277a596ff5d168db568b66b07b3fb5 | 9b7a92f4288d2b5e6885fe2ea5188b74edd651e1 | /Pac-Man Recreation/Phaze/PhazeEngine/3rdPartyLibs/Box2D/src/b2CollideEdge.cpp | c51bdd95768da3c4da3ecb501430fb201a79a427 | [] | no_license | surefireace/Pac-Man-Recreation | bced7ec750905ca63442b01ffaaf72c6f4ab09e3 | 5cad3cf260836f6deaeca8d09e69cad6ebc3f8f8 | refs/heads/master | 2020-08-05T11:25:54.614101 | 2019-10-20T22:54:53 | 2019-10-20T22:54:53 | 212,482,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,533 | cpp | /*
* Copyright (c) 2007-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 purpos... | [
"surefireace@hotmail.com"
] | surefireace@hotmail.com |
79f8a660491088952709ed23d3b4e22496fbe97a | 5adb78e2c8ffb17c95f5187db8aceaee59955709 | /src/rpcblockchain.cpp | 4bca61d8a9f95eafb48818b0d0dc7f8ea9b80b26 | [
"MIT"
] | permissive | wmchain/wmc1 | 6b3da524e65eda17467cc6cf89275ab92cd8b6b6 | b993266ddb5c027e5e301a39669556b02581f854 | refs/heads/master | 2020-03-30T14:42:18.252648 | 2018-10-02T22:27:12 | 2018-10-02T22:27:12 | 151,331,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,501 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Wmc Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "chain... | [
"37483096+RRCdev@users.noreply.github.com"
] | 37483096+RRCdev@users.noreply.github.com |
0c7100c5c68c7fddd3a593fe1e99bd3deeca0da8 | 6db9478ab57690420b2aa98b450d346f7a9f3b7d | /z_unclassified/5597.cpp | 0f3642eefccb0e9a9b730e45facc5da26908faaa | [] | no_license | siosio34/AlgorithmStudy | d23266e0d4576a3aab123aee7b571021ec619009 | b5626a0e4eb14f9553fe48aacacb1696a927c740 | refs/heads/master | 2020-03-19T09:15:13.167353 | 2019-05-22T13:50:41 | 2019-05-22T13:50:41 | 136,272,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include <iostream>
using namespace std;
bool check[31];
int main() {
int tmp;
for(int i = 1 ; i <= 28 ; i++) {
cin >> tmp;
check[tmp] = true;
}
for(int i = 1 ; i <= 30 ; i++) {
if(!check[i]) {
cout << i << endl;
}
}
} | [
"siosio34@nate.com"
] | siosio34@nate.com |
a137f99220ddeef255268e1a4ab7069d0543c13d | 415f05343a56dbab4c0963c7e4060e5c561dec75 | /lib/SSD1306/SSD1306.hpp | c02738ca7ded05eb510c015cf93d3498921e141c | [] | no_license | fzilic/gd32v-basics | 8bb5e650d29de2a3238f0ca640230a1d06a70983 | ee0b5fc16bc469c6e4ade6c48ad76209974bfc94 | refs/heads/master | 2023-01-27T18:59:25.268212 | 2020-11-29T13:42:17 | 2020-11-29T13:42:17 | 315,856,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | hpp | #ifndef __SSD1306_H
#define __SSD1306_H
#define WIRE_MAX 32 // if needed at all
#include "I2C.hpp"
#include "GPIO.hpp"
namespace SSD1306
{
enum SSD1306Command : uint8_t
{
MEMORY_MODE = 0x20,
DEACTIVATE_SCROLL = 0x2E,
SET_START_LINE = 0x40,
SETCONTRAST = 0x81,
CHARGE_P... | [
"franjo.zilic@omnifit.hr"
] | franjo.zilic@omnifit.hr |
897413e543bce758c63cb73a1cd5ccb1a3806dc4 | 90741b131af6b09386d187901797f779e59ef893 | /FreeFormPairsTest/RoughPay.cpp | 8303f23ff51e4726bf355a5d8287e6d5edfd7624 | [] | no_license | TGKStudios/Game-Directory-Personal-Project | ab2580b0646ef02d411d43fd09099a954c12d871 | 279b35bd4cac4f28a4a97fce7c22051b72537a57 | refs/heads/master | 2022-12-08T02:37:09.576872 | 2020-08-28T17:01:34 | 2020-08-28T17:01:34 | 280,720,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | // FreeFormPairsTest.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
class payCalc
{
public:
float weeklyAdd(float pay, int hoursWorked)
{
return (pay * hoursWorked) ;
}
floa... | [
"62812478+TGKStudios@users.noreply.github.com"
] | 62812478+TGKStudios@users.noreply.github.com |
97580cae2373eae49768de4ae3bd055e986797eb | 88c664489bb9480b5fb446c45cfd988ef044be7b | /corelib/include/rtabmap/core/OptimizerG2O.h | e85909605e7778b22f601798af25873a26028031 | [] | no_license | ygling2008/rtabmap | 51157cc1822edc2a5bd45b442de1c4d53518f3cc | 0802f9158c6fb94e6012d66439078bf2bd62f9c6 | refs/heads/master | 2020-07-01T22:13:13.329791 | 2016-11-18T21:59:14 | 2016-11-18T21:59:14 | 74,334,422 | 0 | 1 | null | 2016-11-21T06:45:54 | 2016-11-21T06:45:54 | null | UTF-8 | C++ | false | false | 3,286 | h | /*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... | [
"matlabbe@gmail.com"
] | matlabbe@gmail.com |
71de800b1452547d0e54bf1e0ab91d8703629872 | 515eae03aa8892ce48e91b593f1d7057b4bf2cc2 | /CPPINTERMEDIATE/207_AUTO_DECLTYPE/auto1.cpp | 795960beff10f3b9422674b3c506c3819959da7b | [] | no_license | et16kr/codenuri-clone | b7b759d85337009c40ee4b2d3e42e7c38a025c6d | d1178eec9db369d2cb94ceb44fd3a4982228f2eb | refs/heads/master | 2023-04-20T12:44:58.696043 | 2021-05-01T04:13:33 | 2021-05-01T04:13:33 | 363,316,531 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 338 | cpp | /*
* HOME : ecourse.co.kr
* EMAIL : smkang @ codenuri.co.kr
* COURSENAME : C++ Intermediate
* Copyright (C) 2018 CODENURI Inc. All rights reserved.
*/
#include <iostream>
using namespace std;
int main()
{
int n = 10;
int& r = n;
auto a = r; // a ? int ? int&
a = 30;
cout << n << e... | [
"et16kr@gmail.com"
] | et16kr@gmail.com |
6202c73899f38141d6d04ffe2dc44474b761d56d | d8fe65c431e73e96b4b273dbaa2b6a28f50ee650 | /Common/util/src/path.cpp | 09320d0635f37a444786d14563b49f5ff190ca19 | [
"MIT"
] | permissive | deeptexas-ai/MasterAI-1.0-1vs1-Limit | eebba13819977e5f7387687e42b85f19f9ac8ad0 | f06b798d18f2d53c9206df41406d02647004ce84 | refs/heads/main | 2023-08-16T15:32:37.505341 | 2021-10-19T04:10:45 | 2021-10-19T04:10:45 | 415,269,205 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,743 | cpp | /**
* \file path.cpp
* \brief 路径类函数的实现
*/
#include "pch.h"
#include "path.h"
#ifdef WIN32
# include <shlwapi.h>
# pragma comment(lib, "shlwapi")
#else
# include <dirent.h>
#endif
namespace dtutil
{
/**
* \brief 是否目录
* \param path 路径
* \return 是返回true,否则返回false
*/
bool Path::IsDirectory... | [
"Awzs+20211008"
] | Awzs+20211008 |
cb26fa95ca4055b521d639b23d5a3923cfd62702 | ffb47dd609b05c2c1e280c817b496149df0dbf57 | /37-delegates/shapedelegate.h | be4e3efc89deec5958e3cab4669a11a55796a9e8 | [] | no_license | Katysul/cppqt-course-examples | 481df22ca60c694e68a464bc1f1d5fde21f350cf | 6a1435e86353012e31f3e3a6316477857353c7c2 | refs/heads/master | 2023-04-18T17:38:00.421009 | 2021-04-28T11:19:16 | 2021-04-28T11:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | h | #ifndef SHAPEDELEGATE_H
#define SHAPEDELEGATE_H
#include <QObject>
#include <QStyledItemDelegate>
class ShapeDelegate : public QStyledItemDelegate
{
public:
ShapeDelegate(QObject *parent = NULL);
// QAbstractItemDelegate interface
public:
virtual void paint(QPainter *painter, const QStyleOptionViewItem &... | [
"ynonperek@gmail.com"
] | ynonperek@gmail.com |
cade9fd412d38316138c571f0ae5acab1004d4f2 | 2a7fab71876c922bce73081a69e728eeb9a83359 | /m3/src/ui/build-debug-ui-unknown-release/debug-ui_autogen/include/ui_debug_ui_mainwindow.h | 91f38dcba87c9df2f0039c166097b4b342209a86 | [] | no_license | SiChiTong/scrubbber_slam_CMES | 3a127453bc2e868dee978f1e4d448c5cce0f86e1 | cfc07222cb53c83c09602b5f4da4022c37c97574 | refs/heads/master | 2023-06-22T10:29:37.018491 | 2021-07-26T15:09:12 | 2021-07-26T15:09:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,142 | h | /********************************************************************************
** Form generated from reading UI file 'debug_ui_mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.9.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*******************************... | [
"wangqi@wangqideAir.lan"
] | wangqi@wangqideAir.lan |
dab63d2057d9850df030467f661d1dce12587d93 | 38bd665e7a80f9aa8f3acac7317c7924ed3e745a | /src/server/gui/app/guis/GuiScreensaverOptions.cpp | 6537694e5fed2bc28d5680c82f09528dc8102d0c | [
"BSD-3-Clause"
] | permissive | MayaPosch/NymphCast | 855cb5e05a1b979a600a8b7baf62619f4cc431dd | 7ac8d5a86e1a1b4987092a3398d1fa1987f18eb6 | refs/heads/master | 2023-08-30T06:06:25.443885 | 2023-08-07T17:58:57 | 2023-08-07T17:58:57 | 169,604,606 | 2,405 | 89 | BSD-3-Clause | 2023-04-14T08:54:58 | 2019-02-07T16:38:44 | C++ | UTF-8 | C++ | false | false | 2,733 | cpp | #include "guis/GuiScreensaverOptions.h"
#include "guis/GuiTextEditPopup.h"
#include "views/ViewController.h"
#include "Settings.h"
#include "SystemData.h"
#include "Window.h"
GuiScreensaverOptions::GuiScreensaverOptions(Window* window, const char* title) : GuiComponent(window), mMenu(window, title)
{
addChild(&mMenu... | [
"maya@nyanko.ws"
] | maya@nyanko.ws |
5cb4a165b831e946c7ca04703acddf806a376895 | 353c425bb93fa21fead24c5c6766a017289ccbea | /Project_moban01/Project_moban01/函数模板案例.cpp | ecb6278e1b6824d4c294e167521e3c4f5d397678 | [] | no_license | kass31415926/Play | 7b51ddd9b0657e6f53833f0569ceff117cca2029 | 9f7a92d79127513e72bd799220593e99fd0c3be5 | refs/heads/master | 2023-06-24T03:50:42.819532 | 2021-07-22T10:30:27 | 2021-07-22T10:30:27 | 347,595,022 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,062 | cpp | //#include <iostream>
//using namespace std;
//
////对数组进行排序
////从大到小
////选择排序
////测试char数组与int数组
//
//template<class T>
//void mySwap(T& a, T& b)
//{
// T temp = a;
// a = b;
// b = temp;
//}
//
//template<class T>
//void mySort(T arr[],int len)
//{
// for (int i = 0; i < len; i++)
// {
// int max = i;
// for (int j ... | [
"562964277@qq.com"
] | 562964277@qq.com |
bde7d0b19812e26265971bca3ddb94b13abda03e | d5cdab5845e11441824bf4843062b8b902d0e682 | /mediaLibrary/Item.h | dba66b303a7bcf3b57d391ed3ed61bc1fce6e088 | [] | no_license | lewisNotestine/cPlusP | 7edb2b3bba0da67fc2f5b205cc8120b97f1cf46f | 945d9f280924ee9c5aa06468f10bc917a837ea03 | refs/heads/master | 2020-04-05T22:55:27.075284 | 2014-01-08T23:53:07 | 2014-01-08T23:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,392 | h | #pragma once
#include <iostream>
#include <ostream>
#include <set>
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <stdarg.h>
using namespace std;
class Item
{
private:
static string classMediaType; // set by base classes.
static const int PRINT_SPACES = 11;
... | [
"lewis.notestine@gmail.com"
] | lewis.notestine@gmail.com |
9662619b2d6903489af7d86b1c113157e608c71d | 6858cbebface7beec57e60b19621120da5020a48 | /sym/lookup.hpp | c173441efd04ea08c9d9aadea95fc6801b440074 | [] | no_license | ponyatov/PLAI | a68b712d9ef85a283e35f9688068b392d3d51cb2 | 6bb25422c68c4c7717b6f0d3ceb026a520e7a0a2 | refs/heads/master | 2020-09-17T01:52:52.066085 | 2017-03-28T07:07:30 | 2017-03-28T07:07:30 | 66,084,244 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | hpp | map<string,Sym*> lookup; // lookup table
| [
"dponyatov@gmail.com"
] | dponyatov@gmail.com |
3aac90112c5e7000bbe12eccb7f0775dcedf0c16 | e6581e760f20a75a0c2135e10f9bf2d0b1dabd37 | /Code Framework/Actions/AddSwitch.h | f2fda02c43f15f929d369d1468eec72a1d1f5a7b | [] | no_license | tokaalokda/LogicSimulator | 74f4d86c3381e600e00a19e9d05b0edcb26ea3d9 | 6093d6d242801c0f8764b5c16889e0b9c12a153e | refs/heads/main | 2023-04-06T09:37:37.428674 | 2023-03-21T09:19:43 | 2023-03-21T09:19:43 | 321,353,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | h | #ifndef _ADD_SWITCH
#define _ADD_SWITCH
#include "action.h"
#include "..\Components\SWITCH.h"
class AddSWITCH : public Action
{
private:
//Parameters for rectangular area to be occupied by the gate
int Cx, Cy; //Center point of the gate
//int x1, y1, x2, y2; //Two corners of the rectangluar area
public... | [
"noreply@github.com"
] | noreply@github.com |
a763c6a385e10553751a349d6cd3c065f9f16cad | fe8269f5d71f85641e49fdea9015ae320dde227c | /bdtaunu_postgres/McCandidateInserterPQ.h | b093f5fc4eb0a9ead7030ba835d788b18df2406a | [] | no_license | dchao34/bdtaunu_postgres | 2582ba87aabf1c5d101e67e775382297c6bc9aee | fb41ef576d0246a5c10885fe3fccb3f110ce042e | refs/heads/master | 2021-01-23T07:21:21.197635 | 2015-06-12T23:16:26 | 2015-06-12T23:16:26 | 28,880,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | #ifndef _MCCANDIDATEINSERTERPQ_H_
#define _MCCANDIDATEINSERTERPQ_H_
#include <string>
#include <libpq-fe.h>
#include <bdtaunu_tuple_analyzer/BDtaunuDef.h>
#include "CandidateInserterPQ.h"
class McCandidateInserterPQ : public CandidateInserterPQ {
public:
McCandidateInserterPQ() = default;
McCandidateInse... | [
"dchao@caltech.edu"
] | dchao@caltech.edu |
b18faf8e8dcb87a6749050206ed7f2c10af39321 | 353f96ac56f02b47c71f734b42f4af9da2b7d897 | /api/helpers/gizmoHelper.hpp | 8fed108531c1098db4228035c947fe40c3ef27c8 | [
"MIT"
] | permissive | phisko/kengine_editor | 6f5ae4497a1fd3cbcdbefab30fb235f12d14b9ae | cd11f067b1339c418acf8e568e73eb00c9340722 | refs/heads/master | 2023-04-16T01:36:15.787050 | 2021-04-29T06:54:28 | 2021-04-29T06:54:28 | 271,231,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | hpp | #pragma once
#include <functional>
#include "kengine.hpp"
#include "data/TransformComponent.hpp"
#include "imgui.h"
namespace gizmoHelper {
enum class GizmoType {
Translate,
Scale,
Rotate
};
void newFrame(const ImVec2 & windowSize, const ImVec2 & windowPos) noexcept;
void drawGizmo(kengine::TransformCompon... | [
"nicolas@phister.fr"
] | nicolas@phister.fr |
3767b29aaf58530af987bed7a9fc833940c7c79e | f568e3c3f3594f112764623ef65d64afcb7a117d | /contract/src/utility/eosio_misc.hpp | 35270239ac437a7d183fee0e9416cc84c22c4928 | [
"MIT"
] | permissive | kryptonQuest/eosio.gre.game | 9d965427316d3e3f7088a1566b3ebd60b44763ce | d8a84bb8c34ce64c3d10fff0f0ed0849e9095aa3 | refs/heads/master | 2022-01-19T07:01:09.796374 | 2018-12-27T04:29:19 | 2018-12-27T04:29:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | hpp | #pragma once
#define EOSIO_DISPATCH_RHOOK( TYPE, MEMBERS ) \
extern "C" { \
void apply( uint64_t receiver, uint64_t code, uint64_t action ) { \
bool to_continue = recipient_hook( receiver, code, action ); \
if (!to_continue) { return; } \
if( code == receiver ) { \
switch( action ) { \
... | [
"root@danx-ubuntu-16.04.5"
] | root@danx-ubuntu-16.04.5 |
f0c51d5dc405ded3a189b7efe23da505706bf79a | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/A/C/D/A/A/AACDAA.cpp | 4570c344aabdf05eb208487dc2b5d923b9bf26ae | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | #include "AACDAA.h"
namespace AACDAA {
std::string run() {
std::string out("AACDAA");
return out;
}
} | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
c2cc8c48b2c25edeb4ebfb14e129886774fa405c | d3d1d449f06726c23b6494854676694b39153b49 | /ABC209/C/main.cpp | 776804115e9724760d10f0117ae3bc03f2ec7f02 | [] | no_license | KEI0124/atcoder | 6bf22b0aec1e2353deb1fdc1a2f5c7ce350c034a | 68412b7f89ba0ccd00cf3e7ce6a28ffe88b17768 | refs/heads/master | 2023-07-29T03:11:23.936440 | 2021-09-15T08:22:16 | 2021-09-15T08:22:16 | 381,680,428 | 0 | 0 | null | 2021-07-03T10:13:40 | 2021-06-30T11:35:15 | C++ | UTF-8 | C++ | false | false | 377 | cpp | #include <bits/stdc++.h>
#include<iostream>
#include<array>
#include<algorithm>
using namespace std;
int main()
{
int N,M;
cin >> N >> M;
vector<int> C(N);
for (int i = 0; i < N; i++)
{
cin >> C[i];
}
sort(C.begin(),C.end());
long long answer = 1;
for(int i = 0; i < N; i++)
{
answer = answer * max(... | [
"milktea3314@gmail.com"
] | milktea3314@gmail.com |
02c3bef6cab34d8fd8297e916054ddcab320255d | 9308104daab409c0796e53c35e2c8bf2c9a8115b | /src/physics/ChNodeBase.h | 3a7e7d90d2600b0547bd0f26e94fa8a5f42b37e6 | [
"BSD-3-Clause"
] | permissive | ruisebastiao/chrono | 77481a819484af827d1ee35c1dad6ec4b7e20a48 | f7f3adf94c8adf32b686830af36af287c7a37a30 | refs/heads/develop | 2020-12-28T21:28:39.505808 | 2015-06-02T15:45:13 | 2015-06-02T15:45:13 | 36,147,489 | 0 | 0 | null | 2015-05-23T23:42:46 | 2015-05-23T23:42:45 | null | UTF-8 | C++ | false | false | 5,195 | h | //
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2010 Alessandro Tasora
// Copyright (c) 2013 Project Chrono
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://project... | [
"tasora@ied.unipr.it"
] | tasora@ied.unipr.it |
2678bf8a72f3a35b73b983061513343ee3bf915a | 6b4807b776cb05e7726964e6dd8a978194c41418 | /Multiple Classes/Author.hpp | de0b0debd3c60c30cbd19d3dbb1d63685b90021d | [] | no_license | mullerpoint/CS225-Assignment-3 | 87166b08de09b6aa83e8e24985f53b909c5a2e87 | 1761a272af409215388347c381b265ed1e84acbf | refs/heads/master | 2021-01-20T06:57:29.958448 | 2015-02-22T23:12:50 | 2015-02-22T23:12:50 | 30,730,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | hpp | //
//Author Class declaration
//
class Author
{
private:
int birthYear;
int deathYear;
std::string name;
bool hasData;
static int active;
public:
Author();
~Author();
std::string getName();
void setBirth(int);
void setDeath(int);
void setName(std::string);
void modified(bool);
bool isEmpty();
int in_m... | [
"gary@mullerpoint.com"
] | gary@mullerpoint.com |
8e74c9c532a83970fb18d93779e4407652c02c63 | 215e9bc25fd847fae79874f1a229989a5f40d034 | /box.hpp | 118d5aae2a24d1c8497424cde7e203ce117af65e | [] | no_license | abochenkov/box | efa0900d3781f7d460787a8aafb3e95063460d95 | 238986a0d765821fd68d7839351db3b3e6069b00 | refs/heads/main | 2023-02-14T01:34:28.741995 | 2021-01-11T09:13:07 | 2021-01-11T09:13:07 | 328,603,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | hpp | #pragma once
#include <cstdlib>
class Box
{
public:
Box();
void draw(void);
void gameover(void);
void crash(void);
int detect_x_cord(void);
private:
int y_cord{0};
int x_cord{0};
}; | [
"bochenkov.artyomatgmail.com"
] | bochenkov.artyomatgmail.com |
f1c60aa4de38f9ce8d2539ae43bcddb8525ae3b2 | b5616089db52107b91bbf7b5f245bbf0ba386cb2 | /workspace/AXI_DDR_ZC706/AXI_DDR_ZC706.srcs/sources_1/bd/design_v3/ip/design_v3_xbar_0/sim/design_v3_xbar_0_sc.cpp | 48b7491ff197d53da1f8c13b095e7dc0c46cec3f | [] | no_license | CharlesTousignant/gallay_DDR_ZC706 | 19013fbbd0f4bd908802ceb4b6cd6ebbf347cf06 | 8c074b4f060ff2a757905b4da4b53d6886a2896d | refs/heads/main | 2023-07-01T18:38:10.873888 | 2021-08-03T23:03:39 | 2021-08-03T23:03:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,122 | cpp | // (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | [
"andy.gallay@gmail.com"
] | andy.gallay@gmail.com |
0ca5bb7138b336b648f27beff8d27dc12d2fe1d2 | d09187219b9fff373b1d76d16af8042309909f0a | /Forthress/main/Fortress.h | a87c2f75e8875d6803384be7d42b68ed22386ff8 | [] | no_license | 0xporky/OOP | 203b123ba44765132fcd4718dbf23016ee85d73e | c504985c8dd3878c2b832457867c43f9bb2b6e6c | refs/heads/master | 2016-09-06T19:37:59.804431 | 2015-07-04T00:25:30 | 2015-07-04T00:25:30 | 37,733,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h |
#pragma once
#include "ArcherTower.h"
#include "Catapult.h"
class Fortress : public ArcherTower, public Catapult {
public:
Fortress(const int arrows_number, const int stone_number);
virtual void shoot();
}; | [
"0xporky@gmail.com"
] | 0xporky@gmail.com |
28a3e868dd9ff9b7d08e20611df94bbbfa8afcb1 | fdf6b5417ca8701824dd7562853e419633738391 | /ABC/ABC167.cpp | 3be952f513002183ea3d56c323cf92ea7db9c952 | [] | no_license | canon4444/AtCoder | b2cdb61217c2cf9ba8c66cf703f8a6ad57e97a0e | 17c43cc10e25d2c7465b55e5cf7cf469bac7fd2b | refs/heads/master | 2021-05-22T08:54:40.428286 | 2020-11-08T17:39:11 | 2020-11-08T17:39:11 | 27,902,393 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,311 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
struct structC {
int C;
vector<int> A;
bool operator<( const structC& right ) const {
return C == right.C ? C < right.C : C < right.C;
}
};
void A()
{
// 入力
string S, T;
cin >> S >> T;
// 出力
// Tの先頭からSの長さの部分文字列... | [
"noreply@github.com"
] | noreply@github.com |
ca60f6d22669b5f7c5daab89cc399b6cfdedeee9 | d7cfcea7a1f5b50971d4dc8eac10c30021b0ae2f | /BStyleLineDemo/BStyleLineDemo.cpp | 1d1c07a8d490c8e483a7c1ee35e1c2c87aa044fc | [] | no_license | eglrp/BezierAndBStyleLine | 3f15bb2ad5b382f9a97f930d41ab91ecccbfd933 | be6799d62ad066ebf0e428114bcca7b63fdb7905 | refs/heads/master | 2020-04-07T23:11:26.607318 | 2016-10-18T02:56:06 | 2016-10-18T02:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,199 | cpp | // BStyleLineDemo.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "BStyleLineDemo.h"
#include "MainFrm.h"
#include "BStyleLineDemoDoc.h"
#include "BStyleLineDemoView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////... | [
"834171100@qq.com"
] | 834171100@qq.com |
79156470579ec4cef86997a9a0e27bc48840274a | 82b22a4f716b816c4a006cb02031d2c97ebb3051 | /ExternalDependencies/Engine/Renderable.cpp | d055cf7442088774a6e01c7e44434012abe6f84f | [] | no_license | zaery/ShellSimulator | 5923091c3b3cd648cba50ecf8a862d23a0691a9f | 2fcb12540268b7022a6ad9c60cc6064e27ab41ab | refs/heads/master | 2016-09-05T14:38:23.202234 | 2014-11-07T21:26:14 | 2014-11-07T21:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,450 | cpp | #include "Renderable.h"
#include <Qt\qdebug.h>
#include "Geometry.h"
#include "Vertex.h"
void Renderable::setGeometry(const Geometry* g){
geo = const_cast<Geometry*>(g);
}
void Renderable::setWhere(const glm::mat4& where){
this->where = where;
}
void Renderable::setShader(uint id){
how = id;
}
void Renderable::u... | [
"zaryzen@gmail.com"
] | zaryzen@gmail.com |
bdbc99b5fb4b851ba5ad331300594e145c06ad46 | 3b82c429e5cb18be36eadc69615a6aee81d5818d | /Queues/Reverse_Queue.cpp | 6ce0c915e75466ebead6444a542ec1ea24320ea0 | [] | no_license | mehra-deepak/CN-DS-ALGO | f165090d4804ca09e71ebb4ce58b782e91796b3d | 322052ab2938e1d410f86e41f9fe4386ac04da75 | refs/heads/master | 2023-01-07T20:53:36.067823 | 2020-11-06T08:11:00 | 2020-11-06T08:11:00 | 284,454,031 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <queue>
void reverseQueue(queue<int> &q)
{
if(q.empty())
return;
int data=q.front();
q.pop();
reverseQueue(q);
q.push(data);
} | [
"mehradeepak0608@gmail.com"
] | mehradeepak0608@gmail.com |
86f254ba972e232661c529d802274fb210e36734 | 502769e9b0c881ae1404ef078690e56c7cdf7413 | /UVa_11520_DFS.cpp | da4129a51b4f6cf03451e4581d8bcfbbf873af83 | [] | no_license | climberpi/problem-solving | 8bfbb80c84be4b91736b05249fa40a71f53bd968 | 6c17198d453e46230912bddb5c44878657a4565c | refs/heads/master | 2021-05-16T03:14:02.287645 | 2016-09-29T16:43:14 | 2016-09-29T16:43:14 | 8,769,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | cpp | #include<cstdio>
#include<cstring>
const int MAXn = 10 + 5;
int G[MAXn][MAXn], n;
bool dfs(int i, int j) {
if(i == n+1) return 1;
if(j == n+1) return dfs(i+1, 1);
if(G[i][j] != -1) return dfs(i, j+1);
for(int k = 0; k < 26; k++)
if(G[i-1][j] != k && G[i+1][j] != k && G[i][j-1] != k && G... | [
"liuyupan@gmail.com"
] | liuyupan@gmail.com |
7e9e3536b4553404fec98ccac14c08bc083893fb | 93488a83bf37ddb73b65907a4006957f30618be6 | /Spoj/ADDREV.cpp | 8f705307efd9192686c65536da2bba852a70cad7 | [] | no_license | techsand/Competitive-Programming | 760de6cc71facf8b9434373995c85fcb871b83aa | a05940fcf31be6f82559fe6e2ee8e2ad4ed51026 | refs/heads/master | 2021-01-19T11:33:05.786681 | 2014-03-05T10:11:35 | 2014-03-05T10:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | #include<stdio.h>
int reverse(int n){
int rev=0;
while(n)
{
rev=10*rev+n%10;
n/=10;
}
return rev;
}
int main(){
int a,b,cases;
scanf("%d",&cases);
while(cases--){
scanf("%d%d",&a,&b);
printf("%d\n",reverse(reverse(a)+reverse(... | [
"nainybits@gmail.com"
] | nainybits@gmail.com |
33976b75218026d901e4b94918aa5dd67ba97a8b | aaf7b95178b1342ef0f7cb41cda19e8d62dd82e4 | /tests/UnitTests/ArrayRefTests.cpp | 62c4fa3ca7f8556d59dd8ff3bd0e3ddd322ec26e | [
"MIT",
"BSD-3-Clause"
] | permissive | mounirrquiba/novocoin-project | 45c70b306eaa23350e2f398ae3057595dede6698 | cb99bf47014343eabc0d1131d93fa050a07e430d | refs/heads/master | 2020-03-10T03:07:01.908338 | 2018-04-09T22:29:13 | 2018-04-09T22:29:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,063 | cpp | // Copyright (c) 2018 The Novocoin developers, Parts of this file are originally copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <Common/ArrayRef.h>
#include <gtest/... | [
"37153171+techqc@users.noreply.github.com"
] | 37153171+techqc@users.noreply.github.com |
ac3beab43e483d2a22bc7ccbef6bdeb69aacc658 | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/VTK/Wrapping/Python/vtkCompositeInterpolatedVelocityFieldPython.cxx | 0485c38190a18beb9479ffe72d18ad6266ba6b9c | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,450 | cxx | // python wrapper for vtkCompositeInterpolatedVelocityField
//
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include "vtkPythonArgs.h"
#include "vtkPythonOverload.h"
#include "vtkConfigure.h"
#include <vtksys/ios/sstream>
#include "vtkIndent.h"
#include "vtkCompositeInterpolatedVelocityField.h"
#if defined(VT... | [
"mpasVM@localhost.org"
] | mpasVM@localhost.org |
16e8168d0a78ab5f21464391c31279436a12de56 | 24bc32fec5dd08770408f5ed64e12376dd8ef4fa | /src/rpcblockchain.cpp | 9f4d0a5ca2c04b1da7ff50d1749b40a015bd4a5a | [
"MIT"
] | permissive | AdnCoin/AdnCoin | 3336fee3b6326a6cb9019e7e38cc65626d16f8d8 | 0c835e35dcf2ef56b5728f4edf1ec7bc31ed68aa | refs/heads/master | 2021-01-01T20:02:55.462318 | 2017-07-30T09:42:07 | 2017-07-30T09:42:07 | 98,750,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,500 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Adn Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "chain... | [
"onecoin@sfr.fr"
] | onecoin@sfr.fr |
a1d7faf85302069c3d622522161e53a872483489 | a7ee1785f3897a7e6598c646d850456dbaabf965 | /cppBackend.cpp | c03dc8f137172eae97b579d061daf2e649711dfc | [
"Apache-2.0"
] | permissive | kennychou0529/lpc | d3c2ca3294d66c59c7c49cbdd9d0d5a2e537dd00 | de4d7e389ae16736f3dbbf2c4a339145e2cc6e1d | refs/heads/master | 2022-04-19T23:20:57.923944 | 2020-03-08T04:44:33 | 2020-03-08T04:44:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,593 | cpp |
// Copyright 2018 LPC Authors
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"lemo1234@gmail.com"
] | lemo1234@gmail.com |
7658a0db7cfefd9254feca8859f8edd943f03a8f | f553f5e7755f92de755e7f57c2eacf584d4c5cbe | /Classs-sort/insertion.h | 9cee88fd4a649f08d0eb5e2eda4dcabc059c8cd4 | [] | no_license | Eduardojav/LP2 | 83b1651663d075e8039d5441ee7767002d7fe709 | 150b093a6d30bd363c240d0a91c520ac00c0300e | refs/heads/master | 2020-05-01T14:58:55.950015 | 2019-06-20T19:02:01 | 2019-06-20T19:02:01 | 177,534,518 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | #ifndef INSERTION_H_INCLUDED
#define INSERTION_H_INCLUDED
#include "sort.h"
template<class T>
class Insertion:public Sort<T>{
private:
public:
Insertion(){}
~Insertion(){}
void sortq(T *&A,int a){
int ext;
int j=1;
int aux;
while(j<a){
ext=A[j];
for(i... | [
"noreply@github.com"
] | noreply@github.com |
b6bd1bc7cd62287fb2f4253412241355a4f42b1d | 407d7aa4fec490602fd68d28867fe7d6fbe7612a | /Arduino Projects/Tweedekeer/Labo07_Nicholas/Labo07_Oefening4_Nicholas/Labo07_Oefening4_Nicholas.ino | fd222d2d79d549a5cf227d417a1a2dd96dceb1f8 | [] | no_license | Nicholas-Osei/Arduino- | 7c7b034bc0b44c287089d2b4d044a39b391d0b2f | 926ac4a123144c9f465b4b2048d5f6127415ee79 | refs/heads/master | 2022-12-16T17:19:46.707031 | 2020-09-22T10:35:27 | 2020-09-22T10:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | ino | #include <Stepper.h>
#include <Servo.h>
const int trigPin = 3, echoPin = 2;
float distance, duration;
Servo myservo;
void setup() {
// put your setup code here, to run once:
myservo.attach(4);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code h... | [
"noreply@github.com"
] | noreply@github.com |
88d3896b2a7aa3915ec6323df9226e6279c8805c | f66e343bd16f5dd4c2652c2f8753efd90fb4e813 | /ext/NativePacket.h | 41e48139596409812f5ec26616e1238ffbcc0796 | [] | no_license | footprint4me/rcapdissector | 7046307f9053fe515a9a0b5c6212a5f4d0e5c1c1 | 399a2da4229f8f371a8c3f4c88fa99ce1985a0eb | refs/heads/master | 2021-01-14T10:28:15.490402 | 2010-11-07T17:47:42 | 2010-11-07T17:47:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,205 | h | #pragma once
#include <map>
#include <string>
#include <set>
#include "RubyAndShit.h"
#include "rcapdissector.h"
#include "ProtocolTreeNode.h"
#ifdef USE_LOOKASIDE_LIST
#include "RubyAllocator.h"
#include "ProtocolTreeNodeLookasideList.h"
#endif
#include "YamlGenerator.h"
#include "Blob.h"
/** ... | [
"anelson@apocryph.org"
] | anelson@apocryph.org |
9147fcc9a8f9afeccfcc8f16d1dea3091f12d440 | 4157cbf83aa33b5cc611165b4839b92d9e37b3d4 | /srcs/request_parsing/cdtl_headers.cpp | 73bd4a67c0b5fbd88132fbbb422d27becee0e825 | [] | no_license | trixky/webserver | 032e7eb317bc7ab1e98e5bfe07031ae664e7aebe | debeed38c71637f98a3c7b89802b01ec95ee7009 | refs/heads/master | 2022-06-13T14:23:47.077388 | 2020-05-06T11:50:38 | 2020-05-06T11:50:38 | 261,736,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,674 | cpp | #include "../webserver.hpp"
bool modified_since(const std::string &header, const std::string &file)
{
std::string date;
date = get_file_date(file);
if (compare_date(file, header))
return (true);
return (false);
}
bool if_match(const std::string &line, const std::string &file_name)
{
if (!file_name.co... | [
"mathisbois.dev@gmail.com"
] | mathisbois.dev@gmail.com |
c0f323e81a91af2524dd62b0124131d78704cfda | a1c88dd6bd8ec97b2f8824ec6f68fe5b4e1784d7 | /src/configuration/expr/write_expression.cpp | 7cc023b9c7512b25749cccf7775fd5faac94c455 | [] | no_license | Milerius/LibLapin | 8b3d08acec2e25a143daed2f57ddb1283a060fc4 | 192020979c0d8ef58b7c6015de3571102ed9175a | refs/heads/master | 2021-01-24T03:13:04.415050 | 2019-04-06T17:23:45 | 2019-04-06T17:23:45 | 122,881,637 | 0 | 2 | null | 2019-04-06T16:58:08 | 2018-02-25T22:02:11 | C++ | UTF-8 | C++ | false | false | 2,608 | cpp | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2016
//
// Lapin library
#include <string.h>
#include "lapin_private.h"
void restore_expression(std::ostream &ss,
Expression &expr,
bool complete)
{
size_t i, j;
if ((expr.is_const && complete == false) || expr.optor_family == -1)... | [
"jbrillante@anevia.com"
] | jbrillante@anevia.com |
79ebe6d0d394f9eaa05610bd225447e760d36d09 | d17c617779c8fbdca28e7a823f528483ff0caf12 | /Android/AndroidVirtualControllerNative/jni/GLUtils.cpp | fbd4e4e909a4f6fb720acfcfd6888ab72525cd09 | [] | no_license | MasashiWada/ouya-sdk-examples | 1d2665749bc58396ff7d017d1f8fb7ce41237e1d | 854422922fa2c8700d13c9c4b6ecfed756b56355 | refs/heads/master | 2020-06-08T22:00:56.703540 | 2016-09-19T20:57:12 | 2016-09-19T20:57:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | #include <android/log.h>
#include <jni.h>
#include "GLUtils.h"
#define LOG_TAG "android_opengl_GLUtils"
namespace android_opengl_GLUtils
{
JNIEnv* GLUtils::_env = 0;
jclass GLUtils::_jcGlUtils = 0;
jmethodID GLUtils::_mTexImage2D = 0;
int GLUtils::InitJNI(JNIEnv* env)
{
{
const char* strGlUtilsClass = "an... | [
"tgraupmann@gmail.com"
] | tgraupmann@gmail.com |
3b4490a2837367bdf2294194e70adfe9f1f464ee | cf0b3a67f92b8a2063b100e35e955d7270fd7975 | /ICG_SourceCodes/SplashState.h | 03f195d72d35ec2ec0a08b90157ed882cb818818 | [] | no_license | andrewnvu/Indie-Card-Game | e662698f91f019cf2fcb83e79fd2bbed2b838a3f | 219179a04e189c81c9fa72206ec386110ae0d269 | refs/heads/master | 2020-03-14T15:09:19.429985 | 2018-05-01T03:15:41 | 2018-05-01T03:15:41 | 131,669,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | h | #pragma once
#include <SFML\Graphics.hpp>
#include "State.h"
#include "Game.h"
namespace ASGames
{
class SplashState :public State
{
public:
SplashState(GameDataRef data);
void Init();
void HandleInput();
void Update(float dt);
void Draw(float dt);
private:
GameDataRef _data;
sf... | [
"noreply@github.com"
] | noreply@github.com |
8593ff24f4b1a33509b58f3eab336623f4f9a223 | e49cfa86c472356574ed5ef109a199feb031d2bd | /programs/basics/test01/commentTest02.cc | e05e800c1e0cfcc6042ca9b61e1caa18b523d68d | [] | no_license | zfreiberg/zfreibergLearningCPP | a851e9f8aa1f719c2ffb03fabe43410e69f9400e | 2b56b5f79a61f29fe1efe274867f830670e61537 | refs/heads/master | 2021-06-04T14:48:18.970218 | 2016-07-19T23:56:39 | 2016-07-19T23:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cc | #include <iostream>
/*
* Testing Comments
*/
int main () {
std::cout << "/*";
std::cout << std::endl;
std::cout << "*/";
std::cout << std::endl;
//std::cout << /* "*/" */;
//std::cout << std::endl;
std::cout << /* "*/" /* "/*" */;
std::cout << std::endl;
} | [
"zachary.freiberg@gmail.com"
] | zachary.freiberg@gmail.com |
33e17958cb3e3584e74fc83be7d4462ec566bdd6 | 753839345d394de155ce5d78877049f6bf16ce6f | /9.回文数.cpp | 41729d2a0301a26d2755e860d967414b52b85e3d | [] | no_license | WonderfulUnknown/LeetCode | 2df5a68b855f84787cee8fa5e553e70e9f62512d | c392622e567bf5551a92d7fc47d4477000b4d7ee | refs/heads/master | 2021-01-02T05:50:59.457795 | 2020-03-18T09:47:15 | 2020-03-18T09:47:15 | 239,516,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | /*
* @lc app=leetcode.cn id=9 lang=cpp
*
* [9] 回文数
*/
// @lc code=start
class Solution {
public:
bool isPalindrome(int x) {
if (x == 0)
return true;
if (x < 0)
return false;
vector<int> v;
while (x > 0)
{
v.push_back... | [
"389038968@qq.com"
] | 389038968@qq.com |
f578959d9c624fd34c35124ecafad44000bf5880 | 3ab9e81f2d216d46871170c2fb1052444a759dba | /drawing.h | 4c0077ef41fcdc371cd58f280925357c54844443 | [] | no_license | alexaverill/CompileADrawing | 7ba855dceec1c91185d987d79e451cb340993094 | 16b513563da862477e50907d978510eb379c0352 | refs/heads/master | 2021-05-04T13:24:20.079564 | 2018-02-05T14:19:45 | 2018-02-05T14:19:45 | 120,314,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | #ifndef DRAWING_H
#define DRAWING_H
#include <QObject>
#include<QVariant>
#include<vector>
#include<tuple>
#include "rgbvalue.h"
class Drawing : public QObject
{
Q_OBJECT
Q_PROPERTY(QVariantList imageData READ imageData WRITE setImageData NOTIFY imageDataChanged)
public:
explicit Drawing(QObject *parent =... | [
"alex.averill2013@gmail.com"
] | alex.averill2013@gmail.com |
143527ea73f4dd77f7becda351f653416139072a | b3f0037b6483e6be647cd8b64d06befc3f6ce8c4 | /codeforces/1497/E1.cpp | 9e6b3be2208711f9f8764e626519e680fc92a63e | [] | no_license | arnab000/Problem-Solving | 7b658ac19b7e8ec926e6f689f989637926b8089b | b407c0d7382961c50edd59fed9ca746b057a90fd | refs/heads/master | 2023-04-05T14:40:50.634735 | 2021-04-21T01:45:00 | 2021-04-23T01:05:39 | 328,335,023 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,957 | cpp | /*#pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
*/
#include<bits/stdc++.h>
using namespace std;
void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print... | [
"arnab.saintjoseph@gmail.com"
] | arnab.saintjoseph@gmail.com |
967df92a0d330379e564860020c3f9c789e51c3d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_1153_collectd-4.10.2.cpp | 7955b07b7a7adceb847815375a719db3ae96cbf5 | [] | 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 | 350 | cpp | static int set_timeout (oconfig_item_t *ci, int *timeout)
{
if ((0 != ci->children_num) || (1 != ci->values_num)
|| (OCONFIG_TYPE_NUMBER != ci->values[0].type)) {
log_err ("%s expects a single number argument.", ci->key);
return 1;
}
*timeout = (int)ci->values[0].value.number;
if (0 > *timeout)
*timeout =... | [
"993273596@qq.com"
] | 993273596@qq.com |
d85496e04b8d4fcd7e24f901eb2dd65cc1851ce1 | 0e44257aa418a506b1bb2f76c715e403cb893f13 | /NWNXLib/API/Mac/API/SASL.cpp | 070d84e2e87d655f13388f21abb5ce47b2258477 | [
"MIT"
] | permissive | Silvard/nwnxee | 58bdfa023348edcc88f9d3cfd9ff77fdd6194058 | 0989acb86e4d2b2bdcf25f6eabc16df7a72fb315 | refs/heads/master | 2020-04-15T22:04:43.925619 | 2019-10-10T14:18:53 | 2019-10-10T14:18:53 | 165,058,523 | 0 | 0 | MIT | 2019-10-10T14:18:57 | 2019-01-10T12:44:36 | C++ | UTF-8 | C++ | false | false | 148 | cpp | #include "SASL.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
#include "SASLproto.hpp"
namespace NWNXLib {
namespace API {
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
97ad424dabb3b2e317cfc2bae38a6ed6ed07ec29 | 0543967d1fcd1ce4d682dbed0866a25b4fef73fd | /Midterm/solutions/midterm2017_154/J/001006-midterm2017_154-J.cpp | 6dd16b8ae5ef357d1909781b0ecfd1e2163a814d | [] | no_license | Beisenbek/PP12017 | 5e21fab031db8a945eb3fa12aac0db45c7cbb915 | 85a314d47cd067f4ecbbc24df1aa7a1acd37970a | refs/heads/master | 2021-01-19T18:42:22.866838 | 2017-11-25T12:13:24 | 2017-11-25T12:13:24 | 101,155,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <iostream>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
int arr[n][m], sum[n];
int mx1 = -1, mx2 = -1;
for(int i = 0; i < n; i++)
{
sum[i] = 0;
for(int j = 0; j < m; j++)
{
cin >> arr[i][j];
sum[i] += arr[i][j];... | [
"beysenbek@gmail.com"
] | beysenbek@gmail.com |
77794f83e30b56d3a0513803650f8dd8571e5f5e | cc2bdea20b5f558ad098c9cee6adc73635929877 | /measurement_test.cc | cad79656b395e9cbbce209bc6d52956d9bf75b3f | [] | no_license | unrstuart/power_cycling | d0890de5b278d3d4728111266b9f2227df4f425a | ba181e3e99c9eff61bbad216dc7c4a8ff33b27f7 | refs/heads/master | 2021-01-22T03:18:12.942344 | 2017-02-19T10:01:21 | 2017-02-19T10:01:21 | 81,112,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cc | #include "measurement.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "si_unit.h"
using TimePoint = cycling::TimeSample::TimePoint;
namespace cycling {
namespace {
TEST(MeasurementTest, Test) {
Measurement m0(Measurement::NO_TYPE, 1);
Measurement m1(Measurement::NO_TYPE, 2);
Measurement m2(Meas... | [
"cpunerd@gmail.com"
] | cpunerd@gmail.com |
a4a819a31dad47c8c1f34791693640ceb8d81505 | 81fd1df1f51e75a9d6fe11b009df8c0d422d3871 | /src/qt/rpcconsole.cpp | 7167c2c263b47e7951d9b17afd0446eaac3b3365 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | BardonMe/Aevo | 8e938b8afa4b908a0e36205c39935b9dc7648d3f | b831188abd5367ff00307fe5b12cc6683bb542c5 | refs/heads/master | 2020-03-08T05:04:56.219151 | 2018-04-03T16:48:43 | 2018-04-03T16:48:43 | 127,938,891 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 28,854 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "bantablemodel.h"
#include "clientmodel.h"
#include "guiutil.h"
#include "peertablemodel.h"
#include "main.h"
#include "chainparams.h"
#include "util.h"
#include "rpcserver.h"
#include "rpcclient.h"
#include <QClipboard>
#include <QTime>
#include <QThread>... | [
"38047495+BardonMe@users.noreply.github.com"
] | 38047495+BardonMe@users.noreply.github.com |
cbec0bb9ee6c9ca4a71260035dbb30675c192251 | b4d50bae9a154211ded1ca3b97de4fa86939e72d | /examples/atlasSimbicon/Humanoid.hpp | 4933ede5b80e51b444df7de715e1670b046c4ae9 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | fredowski/dart | 8e5d0e54800b1bca87775aa4d0f5cb25dbea2c99 | 89214fb29faa9227d39aa24821212cc30ead906b | refs/heads/master | 2021-01-13T08:39:11.383009 | 2017-08-30T09:23:09 | 2017-08-30T09:23:09 | 71,817,674 | 0 | 0 | null | 2016-10-24T18:14:35 | 2016-10-24T18:14:34 | null | UTF-8 | C++ | false | false | 3,712 | hpp | /*
* Copyright (c) 2014-2016, Graphics Lab, Georgia Tech Research Corporation
* Copyright (c) 2014-2016, Humanoid Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Personal Robotics Lab, Carnegie Mellon University
* All rights reserved.
*
* This file is provided under the following "BSD-style" License:... | [
"jslee02@gmail.com"
] | jslee02@gmail.com |
7e918384fd39733eb62df2a62c4c4602dffb3441 | 275ec6905a664e6d50f6f7593d62066740b241a0 | /13_58.cpp | 9919d3381bc13c11f1ea943c5820dd0733b55cd2 | [] | no_license | huangjiahua/cppLearningFiles | 0f135624d5d7d2256e8fd55146a408170737b603 | 7000ac6111b33c880a66c2c3cc2e4f41390aff9e | refs/heads/master | 2021-09-10T15:11:48.991007 | 2018-03-28T08:57:41 | 2018-03-28T08:57:41 | 122,352,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
using namespace std;
class Foo {
private:
vector<int> vi;
public:
Foo(): vi() { };
Foo(const Foo &f): vi(f.vi) { }
Foo sorted() &&
{
sort(vi.begin(), vi.end());
return *this;
}
Foo sorted() const ... | [
"hjh4477@outlook.com"
] | hjh4477@outlook.com |
b8e3af96527148a1221be9e1bb9aa6e24c25379b | 6741a0288cab73cde3b963658027dd80ce4f3526 | /AbstractPoseDetector.h | 5a8af08bd444399536e7fe952adc1c463b51af3f | [] | no_license | ardy30/KinectServer | 0a6d6a3b524b3ab905892d91ccb9571574d1bd05 | 1d4407a0a2748d905488c78ffa85532ad8bd7999 | refs/heads/master | 2020-06-16T19:21:21.739966 | 2012-03-12T08:23:55 | 2012-03-12T08:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | h | #ifndef WebSocketServer_AbstractPoseDetector_h
#define WebSocketServer_AbstractPoseDetector_h
#include <XnCppWrapper.h>
#include "WebSocket/Server.h"
#include "AbstractUserDetector.h"
#include "Vector3D.hpp"
class AbstractPoseDetector:
public AbstractUserDetector
{
protected:
int posingTime; //Poseの持続時間
... | [
"xxmogi@gmail.com"
] | xxmogi@gmail.com |
f2ddf3e0a379517a78dd06ee5726a89fbbd64721 | 78b28019e10962bb62a09fa1305264bbc9a113e3 | /common/vector/rmq/ppt.h | f4a5ddddeca699ae425fbd24b2512fe2463fc0e1 | [
"MIT"
] | permissive | Loks-/competitions | 49d253c398bc926bfecc78f7d468410702f984a0 | 26a1b15f30bb664a308edc4868dfd315eeca0e0b | refs/heads/master | 2023-06-08T06:26:36.756563 | 2023-05-31T03:16:41 | 2023-05-31T03:16:41 | 135,969,969 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | h | #pragma once
#include "common/base.h"
#include "common/numeric/bits/ulog2.h"
#include "common/vector/rmq/position_value.h"
#include <vector>
namespace nvector {
namespace rmq {
// Precompute all intervals whose length is a power of two.
// O(N log N) memory, O(N log N) preprocessing time, O(1) request time
template ... | [
"alexeypoyarkov@gmail.com"
] | alexeypoyarkov@gmail.com |
d907e7f9d1bca6015a076f6d2cc7df69c15664e2 | 888ff1ff4f76c61e0a2cff281f3fae2c9a4dcb7b | /C/C200/C230/C236/2.cpp | f50b68edeebfc4108b566785626f0aa1fd60f34e | [] | no_license | sanjusss/leetcode-cpp | 59e243fa41cd5a1e59fc1f0c6ec13161fae9a85b | 8bdf45a26f343b221caaf5be9d052c9819f29258 | refs/heads/master | 2023-08-18T01:02:47.798498 | 2023-08-15T00:30:51 | 2023-08-15T00:30:51 | 179,413,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | /*
* @Author: sanjusss
* @Date: 2021-04-11 10:33:44
* @LastEditors: sanjusss
* @LastEditTime: 2021-04-11 10:38:31
* @FilePath: \C\C200\C230\C236\2.cpp
*/
#include "leetcode.h"
class Solution {
public:
int findTheWinner(int n, int k) {
queue<int> q;
for (int i = 1; i <= n; ++i) {
q... | [
"sanjusss@qq.com"
] | sanjusss@qq.com |
47ab4675b1423e9f90e6d25c8ab637b523aeacd6 | 9579b8861ff1c0455e885fcea144ffe8da5c86ed | /Phys350/GravSimVer2/GravSim/GravSim.cpp | d36d04923e8c6b793e0fbdf3ca0d4a269c1f8d00 | [] | no_license | SidBala/NBodySimulator | dcf90191166bfdaf1c578a68f3444c2608402fbe | b126c2116858d7612d8538e4e25c90f3a925ec28 | refs/heads/master | 2016-08-05T03:06:17.311237 | 2015-03-15T17:08:48 | 2015-03-15T17:08:48 | 32,271,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,799 | cpp | // GravSim.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "GravSim.h"
#include "GravSimDlg.h"
#include <fcntl.h>
#include <io.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CGravSimApp
BEGIN_MESSAGE_MAP(CGravSimApp, CWinApp)
ON_COMMAND(ID_HELP, &CWinApp::... | [
"sidbala@users.noreply.github.com"
] | sidbala@users.noreply.github.com |
a097941cbc75eb376e71c02e1f7a831826426619 | 7b566c3c7324d87db9b5af6e935ba2d89bb4a826 | /TriArray.h | ef5688c3c18f5776e2c22e5c0d2c6fb4f3d94589 | [] | no_license | BlackEyedGhost/Travelling-Salesman | aec674d848581ed51f9a1097575b366ecaf12008 | 4c94f86f00a5f79a9e197d3a43be3c941379e5bc | refs/heads/master | 2023-02-03T16:45:05.695620 | 2020-12-24T07:59:36 | 2020-12-24T07:59:36 | 324,052,827 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | template <typename T>
class TriArray {
public:
int length=0;
int dim=0;
T *items;
TriArray(int i){
dim = i;
length = i*(i-1)/2;
items = new T[length];
}
~TriArray(){
delete items;
}
size_t index(size_t i, size_t j){
if(i>j){
size_t temp = i;
i = j;
j = temp;
}
return i*dim+j-(i+1)*(i+2)... | [
"BlackEyedGhost@yahoo.com"
] | BlackEyedGhost@yahoo.com |
70dd8025c013a601c5c6188e7c7d475c8311e422 | 576284f169ac0c803e76d3ef4b556cdeb91fa41b | /LeetCode/TwoSum.cpp | 2c0e53cc331b8e3d6a8e05ab82752cfe9c8e2904 | [] | no_license | ljw7630/LeetCode | 1d97feb264a2ef1aa30d40204f0c1bb8ce544d3c | 53e1de17f9642a120a884ded92a4c9dc59fdb392 | refs/heads/master | 2021-01-10T08:15:59.692779 | 2013-03-01T16:57:17 | 2013-03-01T16:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include <string>
#include <map>
#include <stack>
#include "AlgorithmImpl.h"
using namespace std;
using namespace AlgorithmImpl;
class Solution {
public:
vector<int> twoSum(vector<int> &numbers, int target) {
vector<int> result;
for(int i... | [
"ljw7630@hotmail.com"
] | ljw7630@hotmail.com |
6aaf8dc18ecb64bfc7ec0ace80419b98834eb11c | 4fabc700eb31fe147ee0c1ca138411de3f71288c | /src/Stringifiable.cpp | 131348e3821a7f670cde1605bd449223abdff12a | [
"Apache-2.0"
] | permissive | CachedNerds/Conversion | 2ebbf5804f69dfd5749af4c4e4d92ab6aceace30 | be4369348e87cbb27c6f19bd5bde9b1df76b17b3 | refs/heads/master | 2021-05-01T22:11:28.678566 | 2018-02-10T07:12:39 | 2018-02-10T07:12:39 | 120,988,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include "Stringifiable.h"
namespace toolbox::conversion
{
Stringifiable::operator std::string (void) const
{
return toString();
}
} // namespace toolbox::conversion
| [
"danieljpeck93@gmail.com"
] | danieljpeck93@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.