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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69a53a73e029b4cbfa1509800e8ded970ae1197c | 21dfcc44840cb94058bcd014946f2a38fbf30c54 | /src/glsl/src/glsl/ast_function.cpp | c5167fcf03a9e9f6c984e044152dc21e2c0781b0 | [
"SGI-B-2.0",
"MIT",
"Libpng",
"BSD-3-Clause",
"LicenseRef-scancode-glut",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"Unlicense"
] | permissive | nigels-com/regal | 819a74deeeac00860bcb6f21c3e59ccad1b78448 | 3f1a06d5c098339d30221c9e999640e4c5437a0b | refs/heads/master | 2020-12-14T16:19:29.701418 | 2015-10-18T08:57:48 | 2015-10-18T08:58:56 | 9,986,650 | 2 | 3 | null | 2014-07-12T07:28:49 | 2013-05-10T17:35:20 | C++ | UTF-8 | C++ | false | false | 52,555 | cpp | /*
* Copyright © 2010 Intel Corporation
*
* 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, pub... | [
"dsn@xyzw.us"
] | dsn@xyzw.us |
c0910a06d770a02a4ce9afa9ef4ea2e7e9df34ce | 76eaf2a59022e9b20d8202214c4f05a5b0161655 | /graphStore/src/model/vertex.cpp | 3f819be89569c14672216c00247647cc611c1fed | [
"MIT"
] | permissive | star-wars/the-force | 14bb6370d290b7a7ae1da71a480b441e26a9c76b | c3875973de48d6cd7e38ea16adbd2939c03970a1 | refs/heads/master | 2021-01-23T14:56:04.363589 | 2014-04-09T05:16:10 | 2014-04-09T05:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | /*
* vertex.cpp
*
* Created on: 29.04.2013
* Author: cosh
* Purpose:
*
* Copyright (c) 2013 Henning Rauch
*
* 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 res... | [
"home@dreiundzwanzig.biz"
] | home@dreiundzwanzig.biz |
fb9fc75debc32e9ca4e7429df499178cb4bdc0b5 | 8c490feae97daf7613ed0efb3c547b89f4bc7945 | /final_code.ino | 9b96358eeeb3da24259d890a343c5b953a846138 | [] | no_license | pzagade28/waste-monitoring | 2b36f9b64c7e5e9ae385d0687bc914843c19ddb1 | a710c42aa4fb14cb56f68acef658048189a4172c | refs/heads/master | 2022-11-06T08:52:52.998118 | 2020-06-22T20:01:54 | 2020-06-22T20:01:54 | 274,221,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,409 | ino | #define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ThingSpeak.h>
#include <BlynkSimpleEsp8266.h>
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "SONY--TV";
char pass[] = "096357@t... | [
"noreply@github.com"
] | pzagade28.noreply@github.com |
555b9770e44071ee9eaa87af730f09809af0ea93 | 18a5a57ee0682fce5ddc07b259ee313806f14b25 | /src/masternodeman.h | f70874ac2c4e74ffa257935b5ec7c764b457a33a | [
"MIT"
] | permissive | 375187588/brixcoin6.0 | f83f6b378b1e2acf04d048bbd74f8369d52d5a6e | fea63b5edaa67e4a71338973ba7dd341993ea078 | refs/heads/master | 2023-03-18T04:47:56.122821 | 2018-12-11T06:08:28 | 2018-12-11T06:08:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,846 | h | // Copyright (c) 2014-2017 The Brixcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODEMAN_H
#define MASTERNODEMAN_H
#include "masternode.h"
#include "sync.h"
class CMasternodeMan;
class ... | [
"admin@africawebsolutions.org"
] | admin@africawebsolutions.org |
34b9a2ca0f3e6150bba2eb7d8a29dc0a219cc02b | 48b8d721b8eb59c50dfd65f699efb983066908eb | /2018/day12/main.cpp | 86f5ad4eb2ce4ea6d1bcb85d08e85de2048dace3 | [
"MIT"
] | permissive | batduck27/Advent_of_code | e004822700456943012ee1ad2ae7b13707c95f4d | 602e1c13159e514736f080e3718d9b015fc44284 | refs/heads/master | 2022-12-09T18:26:09.901324 | 2022-12-06T17:12:09 | 2022-12-06T17:12:09 | 161,940,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | cpp | #include <iostream>
#include <fstream>
#include <map>
const std::string INIT = "initial state: ";
const std::string SEP = " => ";
const int WSIZE = 5;
const int PART1 = 20;
const long long PART2 = 50000000000;
std::map <std::string, char> M;
std::map <std::string, int> seen;
int potSum(std::string str, int first... | [
"mocanu.geo98@gmail.com"
] | mocanu.geo98@gmail.com |
c44f47421e7c5178eb4887be8444469eddad49ae | 41ab4c0fb1cd903c9736728caba8fa51f72378db | /Programa 1/main.cpp | 15d83f0e93c093a6f6ec9aab48103e6d0bcb290f | [] | no_license | Macario007/PrograII | 6abcff5efbcfb3fa786e5ca3f75803e0f20d7975 | 92bb79b2931897b71bf80b2e569d86a115df0b3c | refs/heads/master | 2021-01-13T01:40:54.347250 | 2013-12-03T22:29:56 | 2013-12-03T22:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <iostream>
using namespace std;
int main()
{ int n1,n2,suma;
cout<<"ingresar el num 1--->";
cin>> n1;
cout<<"ingresar el num 2--->";
cin>> n2;
suma=n1+n2;
cout<<"La suma de los numeros es--->"<<suma<<"\n";
return 0;
}
| [
"turcios007@unitec.edu"
] | turcios007@unitec.edu |
59a6de9ea86547c1b7fd660bb033f8acef0b6838 | 0cc5a3bdf5a4f1d5ffb9b7c38b6ee9ff4c1f49fd | /信息学奥赛一本通习题/动态规划-背包问题/分组背包/源.cpp | 9d5ab2584a88771c82ee640b3ce31a7cd4a5423f | [] | no_license | YiuWingTan/Algorithm | 96631d25d7edb272d010bd31fc78c9953127dfc7 | 7c1711b8cd8284a2d1064df0c642cc81fe1a3a89 | refs/heads/master | 2022-04-08T11:29:36.935556 | 2020-03-16T13:18:48 | 2020-03-16T13:18:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 855 | cpp |
#include<iostream>
#include<vector>
using namespace std;
struct Item
{
int w;
int v;
int g;
};
vector<Item> items[100];
int dp[500][500];
int max(int a,int b)
{
return a > b ? a : b;
}
int min(int a,int b)
{
return a > b ? b : a;
}
int main()
{
int V, N, T;
cin >> V >> N >> T;
int w, c, p;
for (int i = ... | [
"33747232+yaorongtan@users.noreply.github.com"
] | 33747232+yaorongtan@users.noreply.github.com |
659050853f01715d378169e72a6599690fbac99a | c216f078edf58eb556b77d369c609e84e4ed2c6f | /include/librtsp/rtspclienthandler.h | 0f55693e894410e54032e156f0a022f6acc34c69 | [
"Apache-2.0"
] | permissive | eagle518/CoreLooper | eeaa758cb685b4c9f2744b2df07059b2c45b8e62 | b3a903d5af6fbe23f60d4f4a7a01625b91469542 | refs/heads/master | 2020-04-14T10:51:41.816318 | 2019-01-02T04:10:03 | 2019-01-02T04:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,240 | h | #pragma once
#include "rtsphandler.h"
#include "sdpparser.h"
#include "rtsptextparser.h"
namespace Bear {
namespace Core {
namespace Net {
namespace Rtsp {
//must sync with CameraStreamStatus
enum eRtspStreamStatus
{
eRtspStreamStatus_None,
eRtspStreamStatus_PasswordInvalid,//密码无效
eRtspStreamStatus_UnSupported,... | [
"xwpcom@163.com"
] | xwpcom@163.com |
30294eb82345ea7b82ac1bc2fcf26c5663777465 | c20b459468fa359a6f4c545db72a211d38298909 | /all_problems/Done/266_Palindrome_Permutation.cpp | e57e01cb9355b009d8c7dbf92618ece717cee52f | [] | no_license | mycppfeed/Leetmap | e0340c6ecb85901c9555900a871e159a16940028 | f1f31085de60adce9dabe5eb2e5c4d66a5ba1572 | refs/heads/master | 2021-11-04T00:13:19.882064 | 2019-04-26T21:18:30 | 2019-04-26T21:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | /*
Given a string, determine if a permutation of the string could form a palindrome.
For example, "code" -> False, "aab" -> True, "carerac" -> True.
Hint:
Consider the palindromes of odd vs even length. What difference do you notice? Count the frequency of each character. If each character occurs even number of time... | [
"sdasgup3@illinois.edu"
] | sdasgup3@illinois.edu |
17ca9bd35aad1fdb5b0da649258be41ec29308a2 | 0233477eeb6d785b816ee017cf670e2830bdd209 | /SDK/SoT_BP_MerchantCrate_ChickenCrateProxy_classes.hpp | 87b0c2d18eeb40d95f3fcf49f4ed1170b63ee070 | [] | no_license | compy-art/SoT-SDK | a568d346de3771734d72463fc9ad159c1e1ad41f | 6eb86840a2147c657dcd7cff9af58b382e72c82a | refs/heads/master | 2020-04-17T02:33:02.207435 | 2019-01-13T20:55:42 | 2019-01-13T20:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_MerchantCrate_ChickenCrateProxy_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
9f79820aa4e4ec96dd0dc2ea931abe2fc938d59b | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/unordered/unordered_map_fwd.hpp | 7852e48e30a01b43707e38f5915aaeed18421acd | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | hpp |
// Copyright (C) 2008-2011 Daniel James.
// 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_UNORDERED_MAP_FWD_HPP_INCLUDED
#define BOOST_UNORDERED_MAP_FWD_HPP_INCLUDED
#if defined(_MSC_VER) && (_MSC_VE... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
4ac63eeed8adaf51f06510cbe2ebc9bf2e756515 | 9bd9ef038a28486a1ef26b6cd3b60b02b39edb41 | /include/optimizer/Adadelta.h | b0ee0199e2e2c08a1c0d4ea3174c1a68bba37a68 | [] | no_license | zakheav/automatic-differentiation-framework | 73fea0e1689366e848061f709203edfb89ea322e | 28141556ee9e9bfa503bc04cf2709d1bc64705ff | refs/heads/master | 2022-04-10T23:35:36.090455 | 2020-03-01T12:05:59 | 2020-03-01T12:05:59 | 114,228,859 | 105 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 403 | h | #ifndef ADADELTA_H_
#define ADADELTA_H_
#include "../Optimizer.h"
#include "../Tensor.h"
#include <unordered_map>
class Adadelta: public Optimizer {
private:
std::unordered_map<std::string, Tensor*> m_tensor_store;
float m_epsl;
float m_lambda;
public:
Adadelta (float a);
... | [
"18810543471@163.com"
] | 18810543471@163.com |
17a3dd705c9ff23d0ae6c03333e9b39265b8e235 | aa827fbbb66d0f065c46a94e1c62e57fda9d617f | /src/lib/penum/ShowdownEnumerator.h | f308f9dc4c6b14acdcf28abce88955c0c0e7c9f2 | [] | no_license | markfoster314/Pkrcrnchr | b588e12a5644cf17c477b058567301895135888c | 98ddd652ca471cba333de5cf7c6d1b6d221d59da | refs/heads/master | 2022-04-22T16:11:10.424353 | 2020-04-30T22:01:41 | 2020-04-30T22:01:41 | 260,327,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | h | #ifndef PENUM_SHOWDOWNENUMERATOR_H_
#define PENUM_SHOWDOWNENUMERATOR_H_
#include "CardDistribution.h"
#include <boost/shared_ptr.hpp>
#include "../peval/PokerHandEvaluator.h"
#include <vector>
namespace pkrcrnchr
{
class ShowdownEnumerator
{
public:
ShowdownEnumerator();
/**
* enumerate a poker scenario... | [
"markfoster314@yahoo.com"
] | markfoster314@yahoo.com |
54ed026a49761de45996c5b8efd7754655ca79f9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5634947029139456_1/C++/nims11/A.cpp | 57bbe1f58a771f1dbc1818ab27a25a054728cb40 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,162 | cpp | /*
Nimesh Ghelani (nims11)
*/
#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<map>
#include<string>
#include<vector>
#include<queue>
#include<cstring>
#include<cstdlib>
#include<cassert>
#include<cmath>
#include<stack>
#include<set>
#include<utility>
#define in_T int t;for(scanf... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
655b1c4efa68d4c42edc5d519b99f2c593a8e6bc | b45b032edc15b358ec65d70a0bf90a01bd588cb2 | /Garage-Demo/libs/blynk/BlynkApiParticle.h | 70938c18160aa8429cb67becf2d5af4463c41eb0 | [] | no_license | jakkrits/Particle-Electron-Photon | a50860b094bb373c7e4cf3efbf8cda65cd06ceea | 218510983613b6eae52e00cffd9ebad663bbe227 | refs/heads/master | 2021-01-22T16:05:12.172109 | 2017-09-04T18:03:51 | 2017-09-04T18:03:51 | 102,388,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,402 | h | /**
* @file BlynkApiParticle.h
* @author Volodymyr Shymanskyy
* @license This project is released under the MIT License (MIT)
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
* @date Mar 2015
* @brief
*
*/
#ifndef BlynkApiParticle_h
#define BlynkApiParticle_h
#include "Bly... | [
"jakks@Jakks-iMac.local"
] | jakks@Jakks-iMac.local |
46c5437e77a2f6eab1bd21c934562a2da503babd | 74d1dd1b2fb76ee4a65ec86cda22ddd2cdc64883 | /libs/STLPort-4.0/stlport/stl/_vector.h | 7164b0c640ad7bd8f06107b1be36047e9269d8c4 | [
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | haekb/nolf2-modernizer | f9d966d7b9660610b47ea7618c4d53507b17adc4 | 75b2e715f804e10f1380e1c7bdb43664db61a01b | refs/heads/master | 2023-05-11T00:06:00.516030 | 2020-12-24T03:59:45 | 2020-12-24T03:59:45 | 207,464,324 | 30 | 4 | null | 2023-04-29T04:36:51 | 2019-09-10T04:20:07 | C++ | UTF-8 | C++ | false | false | 18,126 | h | /*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or... | [
"haekbreen@gmail.com"
] | haekbreen@gmail.com |
e63470f4c8c917c6cc5dcfe43147857e3df22216 | 462b6cb95f5d37fa26bb7d68207fbcf7cb236c32 | /src/Enemy.cpp | 21e8b23692b81665b02d955623715c21cc7562dd | [] | no_license | Elytum/ft_retro_deposit | 8114c788cf93d5e1b7a40389f3ab7c972e48e299 | b8da780ac9d14ca55e006eb6c7e3c15008d3f3df | refs/heads/master | 2016-08-04T23:03:15.538203 | 2015-07-18T10:45:05 | 2015-07-18T10:45:05 | 39,295,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp | #include <Enemy.hpp>
#define NAME "Enemy"
#define WIDTH 3
#define HEIGHT 3
#define SPRITE \
" **"\
"<()"\
" **"
#define COLORS \
" RR"\
"GWB"\
" RR"
#define CURRENT_HP 25
#define ARMOR 5
#define ARMORREGEN 1
#define REDUCTION 2
#define SPEED 200
#define RELOADTIME 3.f
static Sprite spr... | [
"achazal@e2r1p12.42.fr"
] | achazal@e2r1p12.42.fr |
31f5b7d526b73d741dfef53c5b0a17e5ccb9dd8b | 1fb14697fc0b8a0d3fcaf29c8295aca0440049e9 | /include/sbml/packages/multi/extension/MultiExtension.h | 53c2bf674aa52e5e64c24c0adab0aa55401a4b5f | [] | no_license | rwinlib/libsbml | 7144aca4dbd0989e4f42609ee18756d7c8f10d5f | 0538ddb0c671e4f56d30271f39fa72a9ff986542 | refs/heads/master | 2023-04-20T05:31:18.057667 | 2021-05-15T11:36:04 | 2021-05-15T11:36:04 | 367,614,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,972 | h | /**
* @file: MultiExtension.h
* @brief: Implementation of the MultiExtension class
* @author: SBMLTeam
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version... | [
"jeroenooms@gmail.com"
] | jeroenooms@gmail.com |
26b8fcd307ed5efb236c0122ecda569032889d71 | 0986898dc8590bbb6dd722a69265ca500a29b15b | /libraries/wasm-jit/Source/WASM/WASMSerialization.cpp | 8ae66c3994ac21ec75fc6d783d40537ae681bc51 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | permissive | DFChainLab/DFC | e0e62eda65bd24c5b30a7b64af1ac32890228144 | cc85da9f3efb0dd56e9bb5ce5f08e1c7a217e0a6 | refs/heads/master | 2023-02-12T09:58:52.527009 | 2021-01-07T06:48:09 | 2021-01-07T06:48:09 | 327,278,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,060 | cpp | #include "../../../chain/include/dfcio/chain/wasm_dfcio_constraints.hpp"
#include "Inline/BasicTypes.h"
#include "Inline/Serialization.h"
#include "Inline/UTF8.h"
#include "WASM.h"
#include "IR/Module.h"
#include "IR/Operators.h"
#include "IR/Types.h"
#include "IR/Validate.h"
using namespace Serialization;
static voi... | [
"deve.coding@gmail.com"
] | deve.coding@gmail.com |
1bbe2e2e0c2208b057a485b59149eb42b44d4a5d | 6657186600feaec8228f8f92a9c3dec33d089d2b | /onnxruntime/contrib_ops/cpu/quantization/attention_quant.cc | ebec77f365eacdf15af1c9c29ef57073a2531ec8 | [
"MIT"
] | permissive | microsoft/onnxruntime-openenclave | 4da64801290ff0f89497a6cfbfccd79e1584f81b | a6ad144bfbe4d91277c33180e65768e843a9f053 | refs/heads/openenclave-public | 2023-07-06T02:33:46.183271 | 2022-08-17T02:56:57 | 2022-08-17T02:56:57 | 290,272,833 | 34 | 21 | MIT | 2022-12-12T16:28:23 | 2020-08-25T16:58:14 | C++ | UTF-8 | C++ | false | false | 10,362 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/framework/op_kernel.h"
#include "contrib_ops/cpu/bert/attention_cpu_base.h"
#include "core/providers/common.h"
#include "core/util/math.h"
#include "core/util/qmath.h"
#include "core/util/math_cpuonly.h"
#inc... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
20a37219487a166e3041d2e68d703a6addaae3bc | 722d3f0d999599a708b198e38814c9063452b1b6 | /BOJ/1021_회전하는_큐.cpp | 7565927a9ab055b6dd8a4f36a41933c8ec4d5a72 | [] | no_license | wuppu/Algorithms | bfa013baa1a55b98ccf1c70bf96c41e66da04963 | 19d36265e30cdf6551121b2b79f1b840c7288171 | refs/heads/master | 2021-07-18T07:05:35.206237 | 2020-09-03T00:50:23 | 2020-09-03T00:50:23 | 208,571,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp | /* 백준 1021번 회전하는 큐 - Wuppu */
#include <iostream>
using namespace std;
int n, m, cur, ret;
int matrix[51];
int main()
{
cin.tie(NULL);
ios::sync_with_stdio(false);
cin >> n >> m;
for (int i = 0; i < m; i++)
{
int temp, cnt = 0;
cin >> temp;
temp -= 1;
while (cur ... | [
"wndud1640@gmail.com"
] | wndud1640@gmail.com |
6bcff65423e131b7a1c55b400e39e5d6324d4b24 | 607ab66224bbf4546be1397ca2d8aba53c69dd7e | /src/scene/Transform.h | 24c79910a550ee1bafa1ba598090724e8bb43b0e | [] | no_license | Division/cppeng | 46cb9b923dc48006e77cfa30d4856907d49570c1 | c4c8ed6b58be3c230179f866a882149383907afe | refs/heads/master | 2021-10-10T15:42:56.847310 | 2019-01-13T13:13:48 | 2019-01-13T13:13:48 | 117,956,654 | 6 | 1 | null | 2018-05-01T07:52:25 | 2018-01-18T08:46:45 | C++ | UTF-8 | C++ | false | false | 3,302 | h | //
// Created by Sidorenko Nikita on 3/28/18.
//
#ifndef CPPWRAPPER_TRANSFORM_H
#define CPPWRAPPER_TRANSFORM_H
#include "EngMath.h"
#include <vector>
#include <functional>
#include <memory>
class GameObject;
class Transform;
class ITransformManager {
public:
virtual void transformChangeParent(std::shared_ptr<Tran... | [
"pmujik@gmail.com"
] | pmujik@gmail.com |
56e5bc0bd199469cfa6b3b2e1429fac7d0f502ff | 3d263634324b1638544ee85dda0fbaaf4a0af2bf | /add_custom_layer/YoloV5Focus.cpp | 4c0c5bd145bf4dd1d37cfffd82064585aaa9048e | [] | no_license | watersounds/ncnn_custom_layer | d3c7dd45bba11ec4d512646be1ada8615b3d289f | 07154868165249579ceb7afbdf49a64a8ccb2c04 | refs/heads/master | 2023-05-06T02:00:17.968931 | 2021-06-04T02:13:23 | 2021-06-04T02:13:23 | 372,744,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include "YoloV5Focus.h"
namespace ncnn
{
YoloV5Focus::YoloV5Focus()
{
one_blob_only = true;
}
int YoloV5Focus::forward(const ncnn::Mat& bottom_blob, ncnn::Mat& top_blob, const ncnn::Option& opt) const
{
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
int outw = w / 2;
i... | [
"daryfantasy@qq.com"
] | daryfantasy@qq.com |
0d73427acc0ec16f0f5aa808eb29a2ef352e13bd | 5e4dc2622d59a9b6f151a4abb964c2db49a02c43 | /Servers/WindowServer/WSScreen.cpp | c3e2f9f8d4850d8365d31f971b29336f18826241 | [
"BSD-2-Clause"
] | permissive | HasanulRafi/serenity | 575077ce1440064c968bde49b84566dae4b761c4 | 78a63930cca64e78a6ba7ed30d46ec8570dd3bde | refs/heads/master | 2020-12-05T21:52:07.636762 | 2020-01-06T20:04:57 | 2020-01-06T20:04:57 | 232,256,992 | 1 | 0 | BSD-2-Clause | 2020-01-07T06:21:06 | 2020-01-07T06:21:05 | null | UTF-8 | C++ | false | false | 3,636 | cpp | #include "WSScreen.h"
#include "WSCompositor.h"
#include "WSEvent.h"
#include "WSEventLoop.h"
#include "WSWindowManager.h"
#include <Kernel/FB.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <unistd.h>
static WSScreen* s_the;
WSScreen& WSScreen::the()
{
ASSERT(s_the);
return *s_the;
}
WSScreen::WSScreen... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
d1a1a7cb474238553ee0887215d61a1cc235b7e4 | 87117ee5b9410737995285d1485c2dffa2ea6dd0 | /cheetahwutiOSController/log4cxx.framework/Headers/helpers/simpledateformat.h | 8715f5b7251cd96f46849d2977d6d941527945e6 | [] | no_license | mxndev/cheetahwutiOSController | 8b060ee5783f93815853ce22804d086a69dd7a93 | 78688a0add4df67de1015aad2960288d04577551 | refs/heads/master | 2021-01-18T22:43:31.522856 | 2016-07-03T18:56:48 | 2016-07-03T18:56:48 | 62,509,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,118 | 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 ... | [
"mixxenxd@wp.pl"
] | mixxenxd@wp.pl |
16bc8ffa5cf7acf574ffd7a24959346e8e8e23f5 | 5f895834712a4a0749a5ee57ae06401ff87acf2d | /interface software/Spectrum.h | c1f2f6feb70d4be336dbe57a1989d8ed872c59a6 | [] | no_license | erikwulff/disentangleMS | 38f61cc7a06f97ac21ede06155518384a862f154 | 2d1ae60ee59e59eea95e65ea8d331194dbfa6ca1 | refs/heads/master | 2020-06-29T13:19:22.562273 | 2019-08-04T22:38:32 | 2019-08-04T22:38:32 | 200,545,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,385 | h | #pragma once
#include <string>
#include <vector>
#include "PeakSet.h"
#include "Peak.h"
#include "Variants.h"
#include "IsotopeVariants.h"
#include "ChargeVariants.h"
using namespace std;
class Spectrum : public PeakSet {
vector<Variants*> bretheren;
vector<IsotopeVariants*> isotopologues;
vector<ChargeVariants*>... | [
"53711651+erikwulff@users.noreply.github.com"
] | 53711651+erikwulff@users.noreply.github.com |
76c45469673164ff8a834b3ce1b90d539a436876 | c8c2e81ac6d614e58f36fe62c616e8ed440b21be | /cc/paint/paint_flags.h | 612066e0e58f87f0ded17b33419680da880f0968 | [
"BSD-3-Clause"
] | permissive | alimon/chromium | 0bb167542e623bc9f8f75bfa9d9fe93b238cf5a1 | 1d1411ee3401ef9df9d78c80b31fb466e50223ac | refs/heads/master | 2023-03-18T12:40:13.554747 | 2020-05-21T19:13:50 | 2020-05-21T19:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,116 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_PAINT_PAINT_FLAGS_H_
#define CC_PAINT_PAINT_FLAGS_H_
#include "base/compiler_specific.h"
#include "cc/paint/paint_export.h"
#include "cc/paint... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
425d3433e461b976a904722e6aa4948d7d469771 | d2500f50dff1b4322a88b3eda0d2a505757c4542 | /src/simulation/include/ActivityContent.h | 4b4780602a42e9527670f284506f225f1019a641 | [
"MIT"
] | permissive | kaat0/OpenLinTim | f021866438edec9f86c815d77685e2d0d1ce2f46 | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | refs/heads/master | 2023-08-26T04:54:26.002700 | 2021-10-28T13:28:42 | 2021-10-28T13:28:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,545 | h | /**
* \file ActivityContent.h
* The content of an activity.
* Is needed for the repast framework. Don't see exactly what to do here... This is basically the repast::EdgeContent
* class copied from repast.
*/
#ifndef INCLUDE_ACTIVITYCONTENT_H_
#define INCLUDE_ACTIVITYCONTENT_H_
#include "Edge.h"
#include "Activit... | [
"a.schiewe@math.uni-goettingen.de"
] | a.schiewe@math.uni-goettingen.de |
3d45abb414e7a9cc2f27d04a5f31817ec989781f | 850f29a18fe86b5a16ce9407f9cd90757356b6ad | /LeetcodeSolution/111_minimumDepthOfBinaryTree.cpp | 54c375078fe880a1ada5b76d3ddf179234a916ca | [] | no_license | traviszeng/AlgorithmDatastructureByCPLUSPLUS | e960fb0971bf7ffcb9c3a32ab71c8b7b2eed040d | 8a5001127c2bdab809ad4db20547bd36e68f0731 | refs/heads/master | 2020-03-31T20:00:19.440845 | 2019-08-14T08:42:17 | 2019-08-14T08:42:17 | 152,520,975 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,240 | cpp | /**
* Definition for a binary tree node.*/
#include<iostream>
#include<queue>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
int minDepth(TreeNode* root) {
if (root == NULL)
return 0;
if (root->left ==... | [
"traviszeng7@gmail.com"
] | traviszeng7@gmail.com |
6ea6d34cfbcd2af228aff61f83a6ca28aaad18ef | 25b78abe70f4af457a9d41d0afb6bb0d7f5fb891 | /src/data_loaders/batch_loader.cpp | d21e7edc398d948707231af49694048fd661f20f | [] | no_license | devymex/cpptorch | 97fde6d5405a6887ec93ee618345078666998b27 | 0e50ba0741a675110caa153eef78917310af6168 | refs/heads/master | 2023-03-03T09:23:10.780019 | 2021-02-04T08:02:34 | 2021-02-04T08:02:34 | 313,895,199 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,275 | cpp | #include <algorithm>
#include <fstream>
#include <sstream>
#include <thread>
#include <glog/logging.h>
#include <opencv2/opencv.hpp>
#include "../argman.hpp"
#include "../utils.hpp"
#include "batch_loader.hpp"
BatchLoader::~BatchLoader() {
if (m_Worker.joinable()) {
m_Worker.join();
}
}
void BatchLoader::Initial... | [
"wangyumeng02@megvii.com"
] | wangyumeng02@megvii.com |
4fec6b066cd0769cf4739aa536335441ab2d42aa | 83e79662120dcd66a05b197888c521dbfbb907c5 | /toyC/include/JVM/instruction/ALOAD_1.h | f32dbb7f433ac834074fc205a468a348029a080a | [] | no_license | jeremyprice97/EGRE591 | 70ca336e77de375aa8ae552a9eb78f646d2a40fb | 50662746f49c5b8625adf53b07b02aa4b2cbe886 | refs/heads/master | 2020-07-27T03:15:10.214673 | 2019-12-05T15:58:19 | 2019-12-05T15:58:19 | 208,848,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #ifndef ALOAD_1_H
#define ALOAD_1_H
#include <iostream>
#include "JVMinstruction.h"
#include "JVMlineOfCode.h"
namespace toycalc {
class ALOAD_1 : public JVMinstruction, public JVMlineOfCode {
public:
ALOAD_1();
std::string toString();
};
}
#endif
| [
"jeremy.price97@gmail.com"
] | jeremy.price97@gmail.com |
7cc06ede0b31df0f90c44c6bcd6f286d6a3fd711 | 13726de7883e87a67757740bb9417e8fbdf1c1a3 | /xcore/device_manager.cpp | 6b92f5d28a0ec39564eda5520425daa924b1ef55 | [
"Apache-2.0"
] | permissive | intel/libxcam | 1a816ec797871f1a3254b86995763753b4321aa4 | 97c90b05775d0b7cb78a35e966c51ec92fdd7525 | refs/heads/master | 2023-09-04T10:25:29.965048 | 2023-08-07T06:44:29 | 2023-08-07T09:04:55 | 29,286,224 | 493 | 186 | NOASSERTION | 2023-08-07T09:04:56 | 2015-01-15T07:37:41 | C++ | UTF-8 | C++ | false | false | 10,176 | cpp | /*
* device_manager.h - device manager
*
* Copyright (c) 2014-2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | [
"feng.yuan@intel.com"
] | feng.yuan@intel.com |
a44d4e655621273f8c609d0f718471a50dc65201 | eac4d70aca9196028d290e21693dab970e868710 | /ExternalComponents/scintillawrappers/ChildFrm.h | e0f51e8feecedcc7894dc2298acd44a68a2d205e | [
"MIT"
] | permissive | 15831944/TrackMonitor | e53792e3812b9914364fc4b36c608b99dc4239ad | 935049fee6ad5d646ea5015cd4ba9bba793bfd38 | refs/heads/master | 2023-03-15T16:46:27.381146 | 2014-07-18T11:32:11 | 2014-07-18T11:32:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | #pragma once
class CChildFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CChildFrame)
public:
CChildFrame();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
public:
virtual ~CChildFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
afx_msg voi... | [
"badiss.djafar@gmail.com"
] | badiss.djafar@gmail.com |
fb5e9ffc6d86b286400f92426f1f52a84be4646e | 296132e4d4e85e1f8bd48fbe35643d3fc9a29b0f | /CFolderWatcher.h | 4df3d9da48eb50ca1b5802826d58768de5acfcc6 | [] | no_license | YarikDen/utility | d8120ee12d786f66a65f5b684260c2b40b67fb0b | 2149479465c404be08cf42c4148bf7c16b30221b | refs/heads/master | 2020-12-01T14:37:45.924048 | 2019-12-28T22:11:57 | 2019-12-28T22:11:57 | 230,662,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | h | #ifndef CFolderWatcherH
#define CFolderWatcherH
#include <System.Classes.hpp>
#include <Windows.h>
#include <ctime>
typedef struct LogArgs{//thread function arguments
String wstr_Folder;//Name of folder
String wstr_LogFile;//Name of Logfile
DWORD dw_Filter;//Notify filter
BOOL B_Subfolder;//Look for sub... | [
"den.yaroslav1498@gmail.com"
] | den.yaroslav1498@gmail.com |
616f5c2fbc4865c8997e3dd3cd6dfa1db0346d00 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /media/cast/net/rtp/cast_message_builder_unittest.cc | e8a9aefa4a44004e7527ee15251b4c64b9c10d22 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,526 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include "base/memory/scoped_ptr.h"
#include "base/test/simple_test_tick_clock.h"
#include "media/cast/net/rtcp/rtcp.h"
#include "med... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
804380c5d12bac51470c606ab854b2a72388421f | 8ccccd9df2f79eb2b9dbde06d06b596511964d29 | /day01/ex06/HumanA.hpp | 4bd2b556a065fb1a5bb170c91ff3ae38fd401fb8 | [] | no_license | ahavrius/piscine-cpp | 409e8b691f89a7109f3922c735dcee54b74b73fd | c0b51d849028bc8322620d725412b63171e253c1 | refs/heads/master | 2020-05-03T22:44:16.697052 | 2019-04-29T10:13:27 | 2019-04-29T10:13:27 | 178,848,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// HumanA.hpp :+: :+: :+: ... | [
"gastad601@gmail.com"
] | gastad601@gmail.com |
0a098a14f8c75972f58a496b2e7b741f748dec34 | e9ecc689c92227b69c84069382c0782993d6d290 | /src/main.cpp | 239ef2dae3306ca5ae0a15108dafbbef8cd64c40 | [] | no_license | m4rchetto/traccia_1_MeMOC | 1d0e88f9d8d7f014a772eb72dc1704079ecdbfde | 1a4655df9e4322805be21264f0fbb84113e2c691 | refs/heads/master | 2022-02-22T03:27:51.321281 | 2015-01-06T14:01:59 | 2015-01-06T14:01:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,296 | cpp |
#include <iostream>
#include <ilcplex/cplex.h>
#include <data.h>
#include <message_error.h>
#include "cpxmacro.h"
#include "modello_tsp.h"
#include <time.h>
#include <generatore.h>
#include <type_generatore_casuale.h>
#include <QFile>
#include <fstream>
using namespace std;
// error status and messagge buffer
int st... | [
"baesso91@gmail.com"
] | baesso91@gmail.com |
3996692309cc3aef44058f926dc1ad2c1d28416c | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /devel/freebsd-gcc12/files/patch-gcc_cp_g++spec.cc | ba527535ca0c7287e44f14b5f20a71f98a59eb9d | [
"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 | 456 | cc | --- gcc/cp/g++spec.cc.orig 2023-05-08 12:14:39 UTC
+++ gcc/cp/g++spec.cc
@@ -95,7 +95,7 @@ lang_specific_driver (struct cl_decoded_option **in_de
int library = 0;
/* Which c++ runtime library to link. */
- stdcxxlib_kind which_library = USE_LIBSTDCXX;
+ stdcxxlib_kind which_library = USE_LIBCXX;
/* The ... | [
"jhb@FreeBSD.org"
] | jhb@FreeBSD.org |
69eb17f464da4bac0008e8e028bf32aaa358f69e | 4dbaea97b6b6ba4f94f8996b60734888b163f69a | /模板/插头dp_郑厂长系列故事——排兵布阵.cpp | 471ef964ddd592fdcfabf08793ce677e89946657 | [] | no_license | Ph0en1xGSeek/ACM | 099954dedfccd6e87767acb5d39780d04932fc63 | b6730843ab0455ac72b857c0dff1094df0ae40f5 | refs/heads/master | 2022-10-25T09:15:41.614817 | 2022-10-04T12:17:11 | 2022-10-04T12:17:11 | 63,936,497 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
int n, m;
bool arr[101][11];
int dp[2][1088];
/*
把图分割成了两个不互相干扰的部分分开处理
dp[p]: 更新上一个位置时各个状态的达到的最大值
dp[q]: 更新当前位置时各个状态达到的最大值
更新第一行第一个位置的时候,除了0以外都是不可达状态。更新第二个位置的时候,只有前面更新过的位置的状态才是可达状态。
从第二行开始,位置j,每个更新的状... | [
"54panguosheng@gmail.com"
] | 54panguosheng@gmail.com |
4a14dbfd6decac61f09c3b2edc686bcb592f2efc | 128cd707da1f032ce6ebad0abb554b962d8cfdf6 | /src/c++/DifferentialEquation.hpp | 4c93836fe9d787e3b61b4e7e28cf73f8fc7cc8a0 | [] | no_license | chingswy/BallanceBall | 760a55f3e5cec374467628802a64a765b54e8a31 | 66f0a6b79e570bd49f90c3f18450fe40d5bf91b5 | refs/heads/master | 2021-05-14T00:52:18.704534 | 2016-10-03T21:23:15 | 2016-10-03T21:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | hpp |
#ifndef DIFFERENTIAL_EQUATION_H
#define DIFFERENTIAL_EQUATION
#include "DynamicSystem.hpp"
#include <vector>
#include <armadillo>
using namespace std;
using namespace arma;
//not work to gain, a0 != 1 and to length(num) >= den
class DifferentialEquation : public DynamicSystem{
public:
DifferentialEquation(vector<d... | [
"laerciosantana021@hotmail.com"
] | laerciosantana021@hotmail.com |
3aa8e32f4ab7fef9d13ab7c28f8384790f674d22 | 4d3b1403feb4c7124323b08dad340a017eff5b0a | /Client/cocos2dx-2.1beta3-x-2.1.1/HSBalloon_S3/Classes/NetMessage/LanRoomList.pb.h | 5ca43a34ddc9be8d8f0430a483620617880a2f8b | [
"MIT"
] | permissive | wanggan768q/GameWork | 9f69a3d64369f04a6693d24501cf90fdcb42ce7f | a249835eef66f64c862a5d80287475aa2b9b64e9 | refs/heads/master | 2021-06-25T18:33:15.314160 | 2017-05-14T11:47:58 | 2017-05-14T11:47:58 | 18,544,524 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | true | 13,038 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LanRoomList.proto
#ifndef PROTOBUF_LanRoomList_2eproto__INCLUDED
#define PROTOBUF_LanRoomList_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a... | [
"ambitiongxb@foxmail.com"
] | ambitiongxb@foxmail.com |
3f15f4e69c0668276718736c8424cbdc4d2e804a | 037b3e6bb59ab23a13178c4466628a14b9dd3f01 | /felicia/core/channel/channel_factory.cc | 9be2e5a5943a1a79f323ecb78499a1fff225c3bd | [
"BSD-3-Clause"
] | permissive | hyunjunekim/felicia | ce8ec8c8802f5008f85acc0caf7ccc19cd86c3ad | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | refs/heads/master | 2022-04-01T03:22:18.649612 | 2019-12-10T16:24:54 | 2019-12-10T16:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cc | // Copyright (c) 2019 The Felicia 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 "felicia/core/channel/channel_factory.h"
#include "third_party/chromium/base/memory/ptr_util.h"
namespace felicia {
// static
std::unique_p... | [
"chokobole33@gmail.com"
] | chokobole33@gmail.com |
703f608ddc3e80c7b9ea462e778ab2f3f893109f | 9537834963a763390daa93705f1efc4d7f64e8a8 | /Qt_Fast_Guide/build-6-1-Desktop_Qt_5_5_1_clang_64bit-Debug/moc_widget.cpp | f8684e1defd39f15e6f94740c083093fc6b8e96d | [] | no_license | Rookiee/Qt_Codes | bbbb018b7ec3d9956c20efc9a6effd98b19f484e | 4061631d0be7ab89e35b61e1b3ba711000c8988d | refs/heads/master | 2021-01-10T15:31:49.483045 | 2016-03-30T01:56:02 | 2016-03-30T01:56:02 | 55,024,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,540 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"haoyang.xie@gmail.com"
] | haoyang.xie@gmail.com |
f2e07bfcca24f93169a27b6740c0e7165aaedca7 | 19af6b1d7bd4a2e9a6453b0c94e626fc2dd71fbf | /C_plus_plus/process.h | 60adcc4ae6c68ba1c6b56923239b7da67f087eee | [] | no_license | ZezhongWang/-C-python-node.js- | d029b20cb6233cc061c0412e906a997dfdabac20 | b4478086e691a5dcf6f8b2e07cdd888973e016fa | refs/heads/master | 2021-01-20T03:09:38.727780 | 2017-08-17T07:04:23 | 2017-08-17T07:04:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,144 | h | #pragma once
#include<math.h>
#include<time.h>
#include<iostream>
#include<stdio.h>
#include<fstream>
#include "page_table.h"
#include "TLB.h"
using namespace std;
typedef int MB;
typedef long long ll;
#define mb (ll)pow(2,20)
inline ll move_bits(ll ori,int bits) {
while (ori > 0&&bits>0) {
ori /= 2;
bits--;
}
r... | [
"huaixiaocong@qq.com"
] | huaixiaocong@qq.com |
f214427cc1c849475d7835de274e0763e87a56b9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5756407898963968_0/C++/maddoctor1/E.cpp | 78546c8c370ea3b93a6b0eed9bf2a2e7f41aee1f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#define LL long long
#define MAXN 222
#define MAXM 55555
#define INF 11111111
using namespace std;
int a[22];
int num1[6][6];
int num2[6][6];
int main()
{
int T, x, y;
int cas = 0;
freopen("C:/A-small-attempt0.in",... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
beae48e50c894daa0da9c0fdb5d18febb98fa05e | 677de9d6219c779c1c14ef65370722b8a4543212 | /src/noui.cpp | d6fc840f11d89346b8ccd7d77a914c4a9cb31df2 | [
"MIT"
] | permissive | LordSoylent/Vapex | 1bef9674f9580260212227e65e60d474305ea4e2 | 3ed2b7ef75b9557a06db7994053bb75a3f86deb6 | refs/heads/master | 2020-05-26T04:31:36.707397 | 2018-09-20T11:28:55 | 2018-09-20T11:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Vapexcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or... | [
"41511792+VapeCoinDev@users.noreply.github.com"
] | 41511792+VapeCoinDev@users.noreply.github.com |
ca9a500c867ed6f593e317335f114e8d7b601ce0 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/1693.cpp | fe5148458066f69866810ccc591284098d76f6fb | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | GB18030 | C++ | false | false | 626 | cpp | /*
* 行与列的二分图匹配,某行与某列连边当且仅当交叉处有一个点
*/
#include <vector>
#include <cstdio>
#include <cstring>
using namespace std;
int n, m, ans;
int match[501];
int p[501][501];
bool find(int x)
{
for(int i = 1; i <= n; ++i)
if(!match[i] || find(match[i]))
{
match[i] = x;
return 1;
}
return 0;
}
int main()
{
sca... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
858976915a1983ca9ef8fce574492a852807e776 | 77da06161391c56143739871992f99c73a470094 | /2014_CodeChallenge/MSP_Code_Challenge_Problem11/Coin.cpp | 678acd1661ac77615e4e40557f448221d2a131c7 | [] | no_license | KimBoWoon/MSP_Code_Challenge | 99f30790f045b457fa41b7dd99a11d49af6ac7de | 702b2b3d56ea53a7429e55ee3c450dc27d6e7d59 | refs/heads/master | 2016-08-12T19:12:27.157389 | 2016-01-28T07:37:40 | 2016-01-28T07:37:40 | 49,620,984 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 844 | cpp | #include "Coin.h"
Coin::Coin()
{
cout << "거스름돈 입력" << endl;
cin >> coin;
}
void Coin::compute()
{
int coin500 = 0, coin100 = 0, coin50 = 0, coin10 = 0, temp = 0;
if (coin < 0)
{
cout << "양수인 " << abs(coin) << "원으로 계산을 진행합니다." << endl;
coin = abs(coin);
}
cout << "거스름돈<동전 수>" << endl;
while (true)
{
if ... | [
"haioer@naver.com"
] | haioer@naver.com |
529ad3001f28ac7d8bf75a122e813025bc7fe69b | be0204c1b95839adee1ad204be022be38e32e2d6 | /BOJ/15651.cpp | efab17568a48cfb4bd702f3e79424e2633cac60b | [] | no_license | tlsdorye/Problem-Solving | 507bc8d3cf1865c10067ef2e8eb7cb2ee42e16dd | 5c112d2238bfb1fc092612a76f10c7785ba86c78 | refs/heads/master | 2021-06-12T19:19:19.337092 | 2021-04-23T06:39:43 | 2021-04-23T06:39:43 | 179,432,390 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <iostream>
using namespace std;
int N, M;
int ret[8];
void Solve(int r)
{
if (r >= M)
{
for (int i = 0; i < M; i++)
printf("%d ", ret[i]);
printf("\n");
return;
}
for (int i = 1; i <= N; i++)
{
ret[r] = i;
Solve(r + 1);
}
}
int main()
{
//freopen("input.txt", "r", stdin);
cin >> N >> M;... | [
"tlsdorye@gmail.com"
] | tlsdorye@gmail.com |
7dd9027c2d9243a845575dc186daf98e10c24206 | 9f075f47ecb22f95985add4224ae84357ce8e03c | /lib_data/include/data/texture.h | a197773280133e731482f144219c399b0a66eea5 | [
"Zlib"
] | permissive | ApiO/pgtech | 5b2a2688a43f3fe839cf5ce732766a51108b9563 | e7c03ea1a269a96fca27b60a417cf4a5759d40ba | refs/heads/master | 2020-05-24T18:21:53.067826 | 2019-05-18T22:37:25 | 2019-05-18T22:37:25 | 187,404,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | h | #pragma once
#include <runtime/types.h>
namespace pge
{
enum TextureType
{
TEXTURE_TYPE_FULL = 0,
TEXTURE_TYPE_TILESET,
TEXTURE_TYPE_ATLAS,
};
struct TextureResource
{
struct Region {
u32 name;
u16 page;
u16 rotated;
i32 x, y;
i32 width, hei... | [
"Drio@localhost"
] | Drio@localhost |
40e39e1c5bf939535d4b411c7dfbb5d03fc39856 | 4aca6e0da325098e72791349bea4dad0d79d3674 | /Engine/Source/BaseGame/LivingEntity.cpp | c06f816170d6ba3a3f4e194d8c9a4754cdd0b731 | [] | no_license | stenzek/YGameEngine | 9e1d42cc01cba1ea40030776df401ec4ed2bc4cb | 833e0dceee8f7d87c311624776344dde4ffa1c83 | refs/heads/master | 2021-08-23T10:10:20.598809 | 2015-11-05T15:19:37 | 2015-11-05T15:19:37 | 110,406,401 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | #include "BaseGame/PrecompiledHeader.h"
#include "BaseGame/LivingEntity.h"
DEFINE_ENTITY_TYPEINFO(LivingEntity, 0);
BEGIN_ENTITY_PROPERTIES(LivingEntity)
PROPERTY_TABLE_MEMBER_UINT("Health", 0, offsetof(LivingEntity, m_health), __PS_OnHealthChanged, nullptr)
PROPERTY_TABLE_MEMBER_UINT("MaxHealth", 0, offsetof(... | [
"me"
] | me |
3cba24952e600f800ba5473c74207326ff87dfb0 | 0877a40b6072eb02cfa536c2c311366a44178af8 | /_MODEL_FOLDERS_/treeBarkPath/treeBarkPath_1/treeBarkPath_1_vboRender.cpp | d2b35c3c25ddc93673d9d6e8a9e59f6e882b46a9 | [] | no_license | marcclintdion/PARTICLE_GPU_MAY_09 | f0b2598b0cc0fe0fafe56738b3b0cd11c6446f11 | aa32f348312abfddad9eb548b68a21708e51b6c5 | refs/heads/master | 2016-09-05T14:59:48.856465 | 2015-05-03T11:10:09 | 2015-05-03T11:10:09 | 39,881,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | [
"marcdion1974@gmail.com"
] | marcdion1974@gmail.com | |
f0f2b21d8c18779674e23a0a40418efeaaf38e8e | 8523b4a38a4fc381cc3916460caa3eebabb32f3b | /Tutorial 6/OpenGL_Framework/SatMath.cpp | 85cd2c7fba8c194c536a9eabef9eac5b3d08f4a3 | [] | no_license | JDSankarlal/InterCGA2 | 54ae9e31d538e62ddddb79c21160abeb663d1c7f | bb321e6947261c1cca6cd9ec4be565b1a97bea8a | refs/heads/master | 2020-04-29T01:30:12.764037 | 2019-03-20T23:41:29 | 2019-03-20T23:41:29 | 175,732,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | #include "SatMath.h"
#include <random>
std::default_random_engine generator;
float random(float min, float max)
{
std::uniform_real_distribution<float> randomfloats(min, max);
return randomfloats(generator);
}
vec2 random2(float min, float max)
{
std::uniform_real_distribution<float> randomfloats(min, max);
vec2... | [
"100656592@oncampus.local"
] | 100656592@oncampus.local |
980a5f178a4d385fb94d957a1baf6a180339b873 | 78dc9f153549b281be709227bc9897931b06260d | /generation/WinSDK/Partitions/WinRT.Pdf/main.cpp | e6597c1ef661e7635fa679cfd5ca329cf387d8c3 | [
"MIT"
] | permissive | microsoft/win32metadata | dff35b4fe904d556162cee5133294c4498f1a79a | 5bf233f04d45f7a697e112e9639722551103eb07 | refs/heads/main | 2023-09-01T19:51:22.972899 | 2023-08-30T21:39:44 | 2023-08-30T21:39:44 | 270,838,404 | 1,240 | 107 | NOASSERTION | 2023-09-14T18:49:44 | 2020-06-08T21:52:10 | C++ | UTF-8 | C++ | false | false | 211 | cpp | #define SECURITY_WIN32 // For sspi.h
#define QCC_OS_GROUP_WINDOWS
#include "intrinfix.h"
#include "windows.fixed.h"
#include <sdkddkver.h>
//#define RO_NO_TEMPLATE_NAME
#include <windows.data.pdf.interop.h>
| [
"noreply@github.com"
] | microsoft.noreply@github.com |
ae062a3e6634a6f920ef4de7350ddc536d93f646 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/10/01/2.cpp | 796995d13ca71ff65060f2529183dc2b042b353a | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | #include <algorithm>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
#define rep(i,b) for(int i=(0);i<(b);++i)
#define fo(i,a,b) f... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
cae9a5e5e07e0e8113c325542a0dd4619ada91f6 | 9cece97605ecaae2d23961dc3230c150fd6edbf7 | /src/point_cloud_processing_experimental/src/point_cloud_processing_experimental_node.cpp | 3e15db4118f5ab39d49bd97f9737f88b2a8a9648 | [] | no_license | AVRS-MQP/AVRS | 49834ae28d08ac6bda34e9d7e5b53b29d0a239b1 | 3442fb3fcadfbfabd65a678c58ef8124e14758de | refs/heads/master | 2020-03-30T04:43:03.343952 | 2019-04-04T17:13:12 | 2019-04-04T17:13:12 | 150,758,528 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,092 | cpp | /*Point Cloud Processing
*Nikolas Xarles Gamarra
*/
//ROS
#include <ros/ros.h>
#include <ros/master.h>
//C
#include <stdio.h>
#include <iostream>
//custom msgs
//PCL specific includes
#include <pcl/common/common.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_... | [
"nxgamarra@gmail.com"
] | nxgamarra@gmail.com |
7ff97d81bd6f688cc135b705e0203ac95eb610d4 | 91515a94e980ef956c37e70b001400d1b2d692b1 | /Zork/Zork/Dad.h | c961de60f9648313a27837cc68dafc5bd00dc0df | [] | no_license | jordisimon/Zork_JSU | 88e62f3221ce6c7c8bc41b3679a32e69e266fed6 | bbfaf528eb4ddcd3032e4662cc592e845b25221f | refs/heads/master | 2021-01-10T09:21:40.903786 | 2015-11-19T07:45:28 | 2015-11-19T07:45:28 | 45,908,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | #pragma once
#include <random>
#include "Character.h"
class Dad : public Character
{
private:
std::random_device rd; // only used once to initialise (seed) engine
public:
Dad(const std::string& name, const std::string& description) :
Character(name, description)
{}
virtual ~Dad() {}
virtual Item* Talk(s... | [
"jordisu@gmail.com"
] | jordisu@gmail.com |
1059b9f962521d626dc07b54eb2ecc3d63eb3035 | f501d690498272785564db8e4bf2420eeff23a0b | /thirdparty/rocksdb/utilities/persistent_cache/hash_table_test.cc | 1a6df4e61443d77ac08090a736cb938717743839 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Zlib",
"MIT-0",
"LicenseRef-scancode-openssl",
"ISC",
"LicenseRef-scancode-ssleay-windows",
"OpenSSL",
"JSON",
"BSL-1.0",
"curl",
"LicenseRef-scancode-public-domain",
"MIT",
"BSD-2-Clause",
"BSD-1-Clause",
"LicenseRef-... | permissive | phrocker/nifi-minifi-cpp | 04bad621c1f82c0ab3ef3fffb5085d64939ef290 | 97a05c1bdb6bfd40f5f33da01cf0893060350ef4 | refs/heads/master | 2020-12-30T23:23:01.041185 | 2019-08-27T07:50:15 | 2019-08-28T17:25:00 | 80,614,745 | 3 | 1 | Apache-2.0 | 2019-06-14T11:46:17 | 2017-02-01T11:41:22 | C++ | UTF-8 | C++ | false | false | 3,854 | cc | // Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
#include <stdlib.h>
#include <iostream>
#include <set>
#include... | [
"phrocker@apache.org"
] | phrocker@apache.org |
c7e8c9f0eb53622a501f834c44c50c120c5d9d74 | 6830484fc09ea8dae0c6358d9a8486d16dd10490 | /Factory/src/Net.cpp | 09ff02e0105a2a4406c20598ce744c9e2689a746 | [] | no_license | misiox/Git | b2b1e19b8f43216a584dd33561d82d6d2b4545c5 | 522f0ba154a10ac41cb40b56e31aebc625e914d0 | refs/heads/master | 2021-09-02T16:03:59.518172 | 2018-01-03T14:27:23 | 2018-01-03T14:27:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | /*
* Net.cpp
*
* Created on: 2 sty 2018
* Author: malot
*/
#include "Net.h"
// Ramp Net::get_ramps() {// [] }
void Net::addRamp(Ramp ramp) {
_ramps.push_back(ramp);
}
void Net::removeRamp(int id) {
bool f=true;
int i=0;
while (f) {
if (_ramps[i].get_id()==id) f=false;
else i++;
}
... | [
"malota.andrzej@gmail.com"
] | malota.andrzej@gmail.com |
4cababf42b8126c55efbb6c7b05a4041e9bdee2e | 1fba4d7e5a6d9a09753fb4df439184871a8085dd | /include/MeshObject.h | 3e4b44b8e19de55fe13b154c25b531280ecd253f | [] | no_license | rcedermalm/OpenGL-template | b9e550737869811fefc4b4d12620950590cb588c | 828ac43e53f6ab824a9214bcf31b901808a657b6 | refs/heads/master | 2020-04-03T22:52:04.865951 | 2018-10-31T20:18:37 | 2018-10-31T20:18:37 | 155,611,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | //
// Created by rebec on 2018-10-31.
//
#ifndef OPENGL_TEMPLATE_MESHOBJECT_H
#define OPENGL_TEMPLATE_MESHOBJECT_H
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h> // To use OpenGL datatypes
#include <cstdio> // For C-style file input in readOBJ()
#include <cmath> // For sin() and cos() in soup... | [
"rebce973@student.liu.se"
] | rebce973@student.liu.se |
b8c882b68612fccf84c9568f1e946b039c2f4c5f | 061348a6be0e0e602d4a5b3e0af28e9eee2d257f | /Source/Contrib/UserInterface/src/UIDrawingSurface/NodeCore/OSGUIRectangleBase.inl | f2480f5063b9db6a501dd467ee63761288de22e8 | [] | no_license | passthefist/OpenSGToolbox | 4a76b8e6b87245685619bdc3a0fa737e61a57291 | d836853d6e0647628a7dd7bb7a729726750c6d28 | refs/heads/master | 2023-06-09T22:44:20.711657 | 2010-07-26T00:43:13 | 2010-07-26T00:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,855 | inl | /*---------------------------------------------------------------------------*\
* OpenSG *
* *
* *
* ... | [
"djkabala@gmail.com"
] | djkabala@gmail.com |
4cc3e9dc7da95bf3cecb855651685ead767d2fc6 | c70b02a2087e2f5882826344602253aab36aabe1 | /src/questionBlock.cpp | 1a484b188cbbb619162feedf5b29704a2f8f31be | [] | no_license | daid/Mario | dd3ae7cb09fb434e788045d4fff6dc4306c98a8a | dc4138c716247f9baba53332b03bce5da13e6577 | refs/heads/master | 2022-05-17T19:31:08.848706 | 2022-05-06T19:40:38 | 2022-05-06T19:40:38 | 136,514,644 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,022 | cpp | #include "questionBlock.h"
#include "playerPawn.h"
#include "savegame.h"
#include "vine.h"
#include "pickup/smb/upgrade.h"
#include "pickup/smb/life.h"
#include "pickup/smb/star.h"
#include <sp2/collision/2d/box.h>
#include <sp2/audio/sound.h>
#include <sp2/graphics/spriteAnimation.h>
class CoinEffect : public sp::... | [
"daid303@gmail.com"
] | daid303@gmail.com |
e8c2b5cc1c3fb057ffc8f777fe28b059fec3640d | c389099930e650355c88f97745ff33599dcf425f | /codechef contests/Oct15/kspheres.cpp | f88363da9b4c45dcb8576510f8318eaa521fdfd7 | [] | no_license | mudit1993/Practice-Programs | 51b5e4baeaf7507c5cfb246dd37a8adf2c2b24d7 | 3bbd6eb6d6fcd26e18cf58ea4aa22f6c02dd2f49 | refs/heads/master | 2021-07-16T07:24:05.739834 | 2020-06-27T15:25:01 | 2020-06-27T15:25:01 | 179,814,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | cpp | #include<iostream>
#define MOD 1000000007
using namespace std;
unsigned long long int n[1001],m[1001],c[1001][1001],n1,m1,c1;
int main()
{
unsigned long long int i,n2,m2,j,tot,sum;
for(i=0;i<=1000;i++)
{
n[i]=m[i]=0;
}
cin>>n1>>m1>>c1;
for(i=0;i<n1;i++)
{
cin>>n2;
n[n2]+... | [
"mudit.madhogaria@sap.com"
] | mudit.madhogaria@sap.com |
ac63ec099063431ebb58c3c10432b53d85c3c840 | 117de8c33101ae1c260028c2b4e33cc690cf7863 | /src/libcanplusplus/CANSharedMemory/XenoHeaders.hpp | 10774da48569a1163eaa5d671fd72e5588dcdaba | [] | no_license | middleware-collection/libcanplusplus | 05ecdeafc17eecef495a9d71eccfacc47829dfbe | 998457858ad0822d81063f62ea67dd4823bed18f | refs/heads/master | 2020-07-05T14:10:40.489454 | 2015-04-10T08:15:43 | 2015-04-10T08:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | hpp | /*!
* @file XenoHeaders.hpp
* @brief Xenomai headers
* @author Christian Gehring
* @date Jan, 2012
* @version 1.0
* @ingroup robotCAN
*
*/
#include <native/task.h>
#include <native/heap.h>
#include <native/sem.h>
#include <native/timer.h>
#include "rtdk.h"
| [
"gehrinch@74285857-5506-4b64-9b96-4ac924450a72"
] | gehrinch@74285857-5506-4b64-9b96-4ac924450a72 |
76a637d67bbe56fbf13acf4fd967977c4574d89d | b8499de1a793500b47f36e85828f997e3954e570 | /v2_3/build/Android/Debug/app/src/main/include/Fuse.IObject.h | 7758f6fa2a34d29f1ee38a8873c422b2b5ee1c6f | [] | no_license | shrivaibhav/boysinbits | 37ccb707340a14f31bd57ea92b7b7ddc4859e989 | 04bb707691587b253abaac064317715adb9a9fe5 | refs/heads/master | 2020-03-24T05:22:21.998732 | 2018-07-26T20:06:00 | 2018-07-26T20:06:00 | 142,485,250 | 0 | 0 | null | 2018-07-26T20:03:22 | 2018-07-26T19:30:12 | C++ | UTF-8 | C++ | false | false | 1,013 | h | // This file was generated based on C:/Users/Vaibhav/AppData/Local/Fusetools/Packages/Fuse.Common/1.9.0/IObject.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Fuse{
// public abstract interface IObject :39
// {
uInterfaceType* IObjec... | [
"shubhamanandoist@gmail.com"
] | shubhamanandoist@gmail.com |
63d456015449418548919ba3d1fa16d3211cd863 | 86b58aa4d895342cf615875dfb68ad9a2a6f2d61 | /083. Remove Duplicates from Sorted List AC.cpp | c2fa4861d6957531bda02086a20c67ee6bc147ce | [
"MIT"
] | permissive | Lywx/CppLeetcodeAlgorithm | 774c8257700cbb4b916a864c1c37de196fa2fdd3 | ad80eb8305f2317ca7d3712976c82cffdf2046fc | refs/heads/master | 2021-01-23T04:13:34.326018 | 2017-04-01T08:23:06 | 2017-04-01T08:23:06 | 86,173,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | #include <cstddef>
/**
Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
*/
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
#include <set>
using namespace std;
clas... | [
"linwx_xin@hotmail.com"
] | linwx_xin@hotmail.com |
679c95bb286e89a5494f61463787fb0d37ddb47e | 48ff158e84bec79e32eb314641e7c6fa1f95bed1 | /삼성기출/BOJ/dfs_16637.cpp | c51646875d180a6f15d38a78e6db9bcf4bf6c8bc | [] | no_license | meenheepark/Summer_PS | 47acc86b064e22ea8e8239153abab5cf2b0e6146 | 4e6765c5728b8739b66965400d2d15dc4718cfa9 | refs/heads/master | 2023-01-01T17:03:41.403585 | 2020-10-24T13:30:02 | 2020-10-24T13:30:02 | 278,367,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include <iostream>
#include <algorithm>
#include <string.h>
#include<climits>
using namespace std;
int N;
string s;
int result = 0;
int cal(int a, int b, char op) {
int ans = a;
switch (op)
{
case '*': ans *= b; break;
case '+': ans += b; break;
case '-': ans -= b; break;
}
return ans;
... | [
"noreply@github.com"
] | meenheepark.noreply@github.com |
0ba0794b94e13a81f5795b380b9751351ff5f8e4 | ed425ea01ed75baa76906ad88c7b98c54a3555dd | /farm/dw_farm_init.cpp | 8acf83657d1c15502220dc04d7f1fa01dfb9a5d5 | [
"BSD-3-Clause"
] | permissive | TACC/tcp-display-wall | 79edaddfc2763d022bb51ece87b1b5e6a9fb581d | 45a695dd2aa30e2ebe5e15b5dc3e0cd8bed9c73f | refs/heads/master | 2020-03-07T02:46:01.978968 | 2018-04-13T16:21:36 | 2018-04-13T16:21:36 | 127,216,773 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | /* =======================================================================================
This file is released as part of TCP Display Wall module for TCP Bridged
Display Wall module for OSPray
https://github.com/TACC/tcp-display-wall
Copyright 2017-2018 Texas Advanced Computing Center, The University of... | [
"barbosa.garcia@gmail.com"
] | barbosa.garcia@gmail.com |
0f040d45f9ad57d4f9f41978316f58b237121042 | cd726912664cea9c458ac8b609dd98bf33e3b9a0 | /snippets/cpp/VS_Snippets_Data/Classic WebData XmlSchemaObject Example/CPP/source.cpp | 320ba3c48fcab9a8efb22151538f9904283f2ce6 | [
"MIT",
"CC-BY-4.0"
] | permissive | dotnet/dotnet-api-docs | b41fc7fa07aa4d54205df81284bae4f491286ec2 | 70e7abc4bcd692cb4fb6b4cbcb34bb517261dbaf | refs/heads/main | 2023-09-04T07:16:44.908599 | 2023-09-01T21:46:11 | 2023-09-01T21:46:11 | 111,510,915 | 630 | 1,856 | NOASSERTION | 2023-09-14T21:45:33 | 2017-11-21T06:52:13 | C# | UTF-8 | C++ | false | false | 2,397 | cpp | //<snippet1>
#using <System.Xml.dll>
using namespace System;
using namespace System::IO;
using namespace System::Reflection;
using namespace System::Xml;
using namespace System::Xml::Schema;
ref class ValidXSD
{
private:
static void DisplayObjects(Object^ o)
{
DisplayObjects(o, "");
}
static voi... | [
"noreply@github.com"
] | dotnet.noreply@github.com |
070cb8a0c1a4239c50d1e4ebfc17c04f012c7d2c | 2752216aba67b92f7d9a73fd956d26a1de61f257 | /main.cpp | 25ff9e58a545db2290cb056bc4b310dfc3350544 | [
"Apache-2.0"
] | permissive | ErnieAllen/qmf-explorer | 3e75c285c2f04940371e82cabce19a501733692b | 8a03d085e7605a3f77ad3c9250d2a978429f6734 | refs/heads/master | 2021-01-18T03:49:10.133013 | 2011-06-15T23:57:45 | 2011-06-15T23:57:45 | 1,691,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,147 | cpp | /*
* 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 ... | [
"eallen@redhat.(none)"
] | eallen@redhat.(none) |
10ae29a6e6ddd0a8ec1deeaa890e35cb727cf269 | 999d94bf07b484fb68a6130e7d2d2e07ae4a107d | /Src/PlyFile.cpp | 857b56daf67ecaef17ee7fee2aaa660696ae400d | [] | no_license | houfei0801/ipsr | a1b052535fd2d3b290a1fcd48df813d8f705ed6f | 9dde10f9f75d66916092dbf76961b854d3e7c94e | refs/heads/master | 2022-11-21T14:56:53.356541 | 2022-09-11T14:26:53 | 2022-09-11T14:26:53 | 510,967,438 | 62 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 69,619 | cpp | /*
The interface routines for reading and writing PLY polygon files.
Greg Turk, February 1994
---------------------------------------------------------------
A PLY file contains a single polygonal _object_.
An object is composed of lists of _elements_. Typical elements are
vertices, faces, edges and materials.
E... | [
"houfei@ios.ac.cn"
] | houfei@ios.ac.cn |
b9d9b945343a6f576233b1aa0cbbf866a7d44705 | e42bc80c5ba2ada07d28afb6acbe5b541f387a43 | /include/fastrtps/transport/test_TCPv4TransportDescriptor.h | d2a1af7cc8bdc987578124896c65d16920702e37 | [
"Apache-2.0"
] | permissive | jml1795/Fast-RTPS | 16473eaf773df7d15bda02043a2060e7a7780861 | a8691a40be6b8460b01edde36ad8563170a3a35a | refs/heads/master | 2020-05-14T11:49:58.823446 | 2019-04-16T06:49:32 | 2019-04-16T06:49:32 | 181,783,211 | 0 | 0 | Apache-2.0 | 2019-04-16T23:39:35 | 2019-04-16T23:39:35 | null | UTF-8 | C++ | false | false | 1,872 | h | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | [
"correoricky@gmail.com"
] | correoricky@gmail.com |
414e859e0f3ae4caab823cdad45232ea9a72c4cf | 82e1be1abc4e015c766d1faa1a8cbf9f764e3884 | /0050.POJ2447.cpp | 6ed2cbc541e2a53654e92f63ac130733b44a5cef | [] | no_license | mlsoft4002/acmproblem | c74db0065005519600694bd27969f103149b2cf3 | 91780d42330c6db5fdcb62ff1c60aae315b9907b | refs/heads/master | 2021-04-03T10:30:21.932567 | 2018-04-05T15:16:05 | 2018-04-05T15:16:05 | 125,233,310 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,295 | cpp | #include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#define inf ((long long)1<<61)
#define C 201
long long c, e, n;
long long jl[501],mini = inf;
//jl里面存的是大数的所有质因子,mini为最小的质因数
int ct;
long long gcd(long long a,long long b)///最大公约数
{
return b == 0 ? a : gcd(b,a%b);
}
long l... | [
"noreply@github.com"
] | mlsoft4002.noreply@github.com |
f98e829f5909c4ea0db8fb24fc7ca0935eff8e5a | e48a6e63fd60f1c0d1277c19d93e7e61b3909466 | /Src/ZoneServerDlg.cpp | 67f3cd9e9e86465497fda19c00337a400a4d3979 | [] | no_license | mooninsky1/SnkRobot | 92120af7eb51e88a52704484c4659e90b9436eb4 | ce05ca11a1f03cb9f7641962b68863842654634a | refs/heads/master | 2021-01-20T12:16:50.160053 | 2017-08-29T02:54:37 | 2017-08-29T02:54:37 | 101,709,010 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,045 | cpp | // ZoneServerDlg.cpp : 实现文件
//
#include "stdafx.h"
#include <Winsock2.h>
#include "ZoneServer.h"
#include "ZoneServerDlg.h"
#include "ZoneServerControl.h"
#include "RobotServiceProvider.h"
#include "ExternalFacade.h"
#include "DebugNew.h"
// #ifdef _DEBUG
// #define new DEBUG_NEW
// #endif
CZoneServerDlg * g_pZoneS... | [
"moon_in_sky@sina.cn"
] | moon_in_sky@sina.cn |
bf349e4b79a81ba118fb1e7b9ca65c11f192d1b1 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /cdn/include/huaweicloud/cdn/v1/CdnRegion.h | f3651beb0069e5792d9843d00b4112ec9efb013b | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,047 | h | #ifndef HUAWEICLOUD_SDK_CDN_V1_CdnRegion_H_
#define HUAWEICLOUD_SDK_CDN_V1_CdnRegion_H_
#include <huaweicloud/core/auth/Region.h>
#include <huaweicloud/core/exception/SdkException.h>
#include <huaweicloud/cdn/v1/CdnExport.h>
#include <map>
#include <string>
namespace HuaweiCloud {
namespace Sdk {
namespace Cdn {
name... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
d507fc728be38ad215f2b96bbd16e7c5ac41a2b0 | 936a2c770f5939354344af6c331b002d3f1b8d03 | /src/qbot/src/command_module.cpp | 2b5289387904eed14ef3c35dc9ab5cdf961a4fc4 | [
"MIT"
] | permissive | dantarakan/qbot | bf1696f201c296d30282d2ab4c87f215b402a8a6 | 4cc62324b002edfad088fc17d140576e8306b0ca | refs/heads/master | 2021-01-10T12:45:57.302998 | 2015-12-19T18:10:21 | 2015-12-19T18:10:21 | 46,989,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,067 | cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
#include <qbot/NavCmd.h>
#include <qbot/SpcCmd.h>
#include <qbot/NavRes.h>
#include <qbot/SpcRes.h>
#include <qbot/NLPRes.h>
#include <qbot/GuiRes.h>
#include <qbot/CncStatus.h>
#include <iostream> //declaring variables
#include <string>
#include <fstream>
#include <s... | [
"dt811@ic.ac.uk"
] | dt811@ic.ac.uk |
527563971121eb0c7d1f19702f747be798e0a763 | c07aee62c34285830920db5d6d681532a2de767b | /hash.h | e2157a5b025f26197b697da75c2c744914d9b648 | [] | no_license | Agerdiu/C-Minus-Compiler-with-C-Plus | 52e418788c0527ac36a3b9841567af73ea71f886 | 81df9ddda4f6be056c27253b683e64454c9ff11d | refs/heads/master | 2020-03-19T04:01:56.330895 | 2018-06-10T12:47:01 | 2018-06-10T12:47:01 | 135,788,699 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | h | #pragma once
#include <iostream>
#include<string>
#include<vector>
#include "block.h"
unsigned int JSHash(string str)
{
unsigned int hash = 1315423911;
unsigned int i = 0;
for (i = 0; i < str.length(); i++)
{
hash ^= ((hash << 5) + str[i] + (hash >> 2));
}
cout << hash << endl;
return hash;
}
cl... | [
"noreply@github.com"
] | Agerdiu.noreply@github.com |
c1b984682fcbcf2e347c87f783f7b48be4af5e9b | f73c7c7f6c6718e13cab7aec1cc7d4aec8bacabb | /Cpp/test/unit/iterators/BoundaryStepperTest.cpp | 86a3d4301421532ecfc4ba5133e6ee6e409d6452 | [] | no_license | fxpl/marielund | 401849aa01a795c52d2d5f87348374ba322bae90 | 0050c7e09bf0569a24d449be1d0b87dab057913a | refs/heads/master | 2021-06-19T23:23:07.829414 | 2021-04-27T09:27:30 | 2021-04-27T09:27:30 | 207,989,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,081 | cpp | #include "src/iterators/BoundaryStepper.hpp"
#include "test/HaparandaTest.hpp"
#define ORDER 3
namespace Haparanda {
namespace Iterators {
/**
* Unit test for the stepping strategy BoundaryStepper.
*
* @author Malin Kallen
* @copyright Malin Kallen 2013-2014, 2016
*/
class BoundaryStepperTest : public Ha... | [
"github.ed5b79@m.insidarum.se"
] | github.ed5b79@m.insidarum.se |
20199f62ec581c7959e5c016bfa58884aa2c2ed9 | 41df863f3175c7a42fb3fafbd06d67027d1c933e | /Sources/Simulation.cpp | b70a79c39ffb40585931137dd52710a78a468859 | [] | no_license | ralph-elhaddad/ENG-209 | 8813bfd1b68b35efa52be388de25e1812a822eeb | 0f5c5710f88d8c855aef0adf6bd91722b5ad571b | refs/heads/master | 2022-03-11T05:36:02.711888 | 2019-11-11T11:17:19 | 2019-11-11T11:17:19 | 214,458,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | /*
* Simulation.cpp
*
* Created on: Nov 4, 2019
* Author: pcoo6
*/
#include "Simulation.h"
#include "Processus.h"
#include <vector>
using namespace std;
Simulation& Simulation::simulation() {
static Simulation sim;
return sim;
}
Simulation::Simulation():tick(0) {
}
void Simulation::initialise(vector<Pr... | [
"noreply@github.com"
] | ralph-elhaddad.noreply@github.com |
d7bd491193ff1fa021a66b20cc1f9eb600a5cc76 | 30c443e1a447c4732c5b9de536e194498ede4e6b | /Bluetooth HC05/bluetooth_distSensor/bluetooth_distSensor.ino | 893d5e4507f2b23863ddecc502904638e17026be | [] | no_license | kwkong/Arduino-Sketches | d57072afd3d9146fe06f31b364954b750aec60ca | 11288639d4d33e004356860ccfb308fa5c94b4bc | refs/heads/master | 2021-09-06T22:13:32.589409 | 2021-08-23T21:32:12 | 2021-08-23T21:32:12 | 140,598,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | ino |
const int triggerPin = 23;
const int echoPin = 25;
long dist;
void setup()
{
Serial3.begin(38400);
Serial.begin(9600);
pinMode(triggerPin, OUTPUT);
}
void loop()
{
digitalWrite(triggerPin, LOW);
delay(10);
digitalWrite(triggerPin, HIGH);
delay(10);
digitalWrite(triggerPin, LOW);
dist = pulseIn(echoPin... | [
"kristonkong@gmail.com"
] | kristonkong@gmail.com |
4578c9892de677c78dafb48e30d3c75cbb24fd67 | 0b63fa8325233e25478b76d0b4a9a6ee3070056d | /src/appleseed/renderer/modeling/input/scalarsource.h | 5ecd0a3090afbd51f1084ee4de106a29e074b6aa | [
"MIT"
] | permissive | hipopotamo-hipotalamo/appleseed | e8c61ccec64baf01b6aeb3cde4dd3031d37ece17 | eaf07e3e602218a35711e7495ac633ce210c6078 | refs/heads/master | 2020-12-07T02:39:27.454003 | 2013-10-29T13:10:59 | 2013-10-29T13:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,806 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any person obtaining ... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
15035b7bd7bd89cd708986bb06607b50c42c8bbb | f5d95863edac44f8100e78a6b471ee9e1c0d570a | /Character.hpp | e8898f53f126d5c7242c7dcc347a31793cd83dc2 | [] | no_license | jennifer-k-ludwig/FantasyCombatGame | c47e12c728bb5450ba237118cd10e12f1d181c6d | 393ea97debf25635629266abe92182f1c514876e | refs/heads/master | 2020-07-17T23:00:34.628955 | 2019-09-04T20:45:21 | 2019-09-04T20:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | hpp | /***************************************************************
* Name: Jennifer Ludwig
* Date: 02/03/2019
* Description: Header file for Character class.
***************************************************************/
#include <string>
#ifndef CHARACTER_HPP
#define CHARACTER_HPP
class Character
{
protected:
... | [
"jkluds@gmail.com"
] | jkluds@gmail.com |
b35fe7b74a1ad7285685cebe7ff1a257d3998432 | 08cfc4e5e16574a529f3d18223c717e81843eefe | /ConsoleApplication1.cpp | dd9570c46380bb07d369933a88154c942bc522e0 | [
"MIT"
] | permissive | highvoiceman/nullptrexception1 | 59ee8d4ddd7b02676b16718233ecefaf910b67ec | 24fbaa8b241ce26629121fc604cbbc07e4aefa12 | refs/heads/master | 2022-10-30T06:20:23.022949 | 2020-06-11T12:19:28 | 2020-06-11T12:22:34 | 271,539,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | // ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <string>
int main()
{
std::string name;
std::cout << "Hello World! ... press enter to exception\n";
int x = 0;
int y = 100;
std::getline(std::cin, name);
int z = ... | [
"andrewkeith80@gmail.com"
] | andrewkeith80@gmail.com |
c7a17e245cc5e102a0ea38cba16d1666861a3427 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-fis/source/model/ListTargetResourceTypesRequest.cpp | d4c442adfca0fe1a32ff4441787ebb15f6cb0a6a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,109 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fis/model/ListTargetResourceTypesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#includ... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
8f5de7d157283bae7b00ba5fb7c399756c83c815 | 164c1b37032160850da7faadd52ffa4c2f2ed4b3 | /Sum_of_Digits.cpp | a9bd6646268d75aaaf7cf1cb5eb251e1a9a23d6f | [] | no_license | shivamkcodes/dailyCodes | 1927baab062bf3240126f71316f81100bbf2d572 | 2e7ab74bbb0fe467f152d5d695b3e3959d325c6c | refs/heads/master | 2023-01-20T11:48:31.399940 | 2020-12-01T09:09:09 | 2020-12-01T09:09:09 | 295,106,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <map>
#include <set>
#include <chrono>
#define in long long
#include <cstring>
using namespace std;
int main()
{
auto start = chrono::steady_clock::now();
in t;
cin >> t;
while (t--)
{
in n;
cin >>... | [
"shivamguglani306@gmail.com"
] | shivamguglani306@gmail.com |
ad951cb5dc9fe8f11846719897ebb81fe284d9fb | a6b9b713fcd77ee24879c5be3207e60361b02005 | /wmsclient/wmsclient/MysqlOperation.cpp | 854628a23959a62520a165b24c186e77d254472d | [] | no_license | radtek/datasync | 3fb73dfe29f46e1213f7c83c9d0e1ecc518c0656 | 25a95ca6737e7ac9c91c0cb853a7701871a6065e | refs/heads/master | 2020-06-09T17:08:38.035092 | 2017-02-22T08:14:56 | 2017-02-22T08:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,552 | cpp | #include "StdAfx.h"
#include <afx.h>
#include <stdio.h>
#include <stdlib.h>
#include "MysqlOperation.h"
#include "defines.h"
#include <LogData.h>
CMysqlOperation* CMysqlOperation::m_pInstance = NULL;
CMysqlOperation::CMysqlOperation(void){
m_threadId = 0;
m_bConfig = initDbConfig();
if(m_bConfig == TRUE)
m_bConn... | [
"wanghongchao@huimin100.cn"
] | wanghongchao@huimin100.cn |
1f25d9402f8c681719027791d3e77fc24e8d64fb | 0040cbae8d7a5585e89153da24c70333bd6b2910 | /058/581/main.cpp | e8b991845a06359ff5bbf1422b9b59cb1f5f71c4 | [] | no_license | paulnewman1979/edocteel | 758f0247ce04fed24419fa15f16be54eef00f402 | 2796b6478fda76cc834c9d8f5e2a3ed96da735a7 | refs/heads/master | 2022-09-08T23:06:00.822780 | 2022-07-27T23:34:56 | 2022-07-27T23:34:56 | 41,645,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include "../../template/common/Input.hh"
#include "../../template/common/Output.hh"
using namespace std;
class Solution {
public:
int findUnsortedSubarray(vector<int>& nums) {
int i, j, k, min, max;
i = 0;
while... | [
"taoliu@verizonmedia.com"
] | taoliu@verizonmedia.com |
063d45a2ca7afadcb4979de3b6cd352b6ea24487 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-email/include/aws/email/model/BehaviorOnMXFailure.h | 5b92a6f351e53c707510ad81fd89115cd89c02b0 | [
"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 | 1,128 | h | /*
* 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... | [
"henso@amazon.com"
] | henso@amazon.com |
333ec53b3753fe8174841b75d0ce8d77cc4b3733 | 4b8776cbbd7289e19d1eb841a9469456a0cb826e | /src/version.cpp | 8bfab87c583ccea17f9df3b9025a11639de10c05 | [
"MIT"
] | permissive | kryptobytes/Xcoin | 0923aca4e40d8ee9abbafb066c2eba8cbc8e6315 | ac9556084d569a260ce8afe9616c81606c8a545f | refs/heads/master | 2021-01-25T10:44:09.766700 | 2014-04-01T21:32:36 | 2014-04-01T21:32:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | cpp | // Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' messa... | [
"peter@illustrate-archaeology.com"
] | peter@illustrate-archaeology.com |
4770cab1f0a0135aaef5b7bc1dcc1cf985c573f1 | 0f80c089749acf4fcb5fc77440b1973d9e2b1749 | /Development/Core/ydbase/base/win/file_version.h | 39f712a38e0e95a3beb6e7547a087beee371f8e3 | [
"Apache-2.0"
] | permissive | Whimsyduke/YDWE | 12582e5865fed973c5b3edd0aa7608ac46aec725 | f74d79a8de5fa683012944b13b5f444bcbbc7b77 | refs/heads/master | 2020-03-22T11:33:53.460497 | 2018-07-12T14:07:04 | 2018-07-12T14:07:04 | 139,979,771 | 0 | 0 | Apache-2.0 | 2018-07-06T12:06:09 | 2018-07-06T12:06:09 | null | UTF-8 | C++ | false | false | 1,369 | h | #pragma once
#include <base/config.h>
#include <Windows.h>
#include <cstdint>
#pragma warning(push)
#pragma warning(disable:4996)
#include <memory>
#pragma warning(pop)
namespace base {
namespace win {
class _BASE_API file_version
{
const static WORD ansi_code_page = 1252;
public:
file_version();
file_versio... | [
"actboy168@gmail.com"
] | actboy168@gmail.com |
5ad9438bfc2b8534ed63be3936ecc61c617aa116 | 7e1e3d6b1c8ba1d3e6724fff609f814df7d4af5c | /training-olinfo/sommelier/main.cpp | 8771456179494bb2f9e2a8a20ce676d43fb0262b | [
"MIT"
] | permissive | GabrieleRolleri/competitive_programming | 93c5d47f7c787530f43f035d0a10bbd59d6b9ff8 | 8459e5045a16e01aa28248614ef9b88c7bae2ac0 | refs/heads/master | 2023-01-29T05:20:11.304821 | 2020-12-06T15:15:19 | 2020-12-06T15:15:19 | 171,103,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ifstream in;
in.open("input.txt");
ofstream out;
out.open("output.txt");
int N;
in>>N;
vector<int> grad(N);
vector<int> dp(N, 0);
for(int i=0; i<N; i++)
{
in>>grad.at(i);
}
dp.at(N-1)=1;
int maxL... | [
"gabriele@irolleri.it"
] | gabriele@irolleri.it |
0dc5019a7959ba20833d1dfbccd286f6b418e0c7 | 6b2963ce7fa26c4a58d469cfd4e55f7e9f1ccd89 | /src/fractals/util/view.hpp | d75f3c9fd979c020567889528c6957f9ade0e559 | [] | no_license | kjohns19/fractals | 51a385b3a63c6f2e2958c08589f7704cfc00570c | dd72be2d8c207e3f5db728638e3e0f3384a1a1ff | refs/heads/master | 2021-05-24T04:32:08.417288 | 2020-08-08T14:06:02 | 2020-08-08T14:06:02 | 28,745,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | hpp | #ifndef INCLUDED_FRAC_VIEW_HPP
#define INCLUDED_FRAC_VIEW_HPP
#include <SFML/Graphics/Rect.hpp>
#include <ostream>
#include <vector>
namespace sf {
template<typename T>
class Vector2;
} // close namespace sf
namespace frac {
struct View
{
View();
template<typename U>
View(const sf::Rect<U>& rect)
... | [
"krjohnson111@gmail.com"
] | krjohnson111@gmail.com |
853a97f27833dd3930e6680e69a95b225333c7c0 | d05f7e6ecf895dc553cdf596f00609d68b957d3f | /Source/lfo.h | d6187670e06ef98848f327b4a322b2d8d8246c35 | [] | no_license | kartikaygolcha/Clove-Synthesizer | e4e7509b8541826c332c9564426cf32198affd1c | ebb10e9b0b88ecacbbed2c53979e3c1ae19b5930 | refs/heads/master | 2022-05-25T01:01:09.637780 | 2020-05-04T01:13:37 | 2020-05-04T01:13:37 | 261,052,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | h | #pragma once
/*
==============================================================================
waveTableSynth.h
Created: 21 Apr 2020 5:41:52pm
Author: Kartikay
==============================================================================
*/
#include "../JuceLibraryCode/JuceHeader.h"
#include "Plug... | [
"noreply@github.com"
] | kartikaygolcha.noreply@github.com |
4787d40da6a809620a9fdb5850fc50a3abea4ef1 | c672da562dcd55b71598ad21dae335bae50e7bd7 | /R-Type(Corentin)/R-Type Server/LinDllLoader.cpp | 293e849d8bc14ed2af81853435338b41493805cc | [] | no_license | smootise/R-Type | 39b935eb0fe0da584f9fac89cc5176092cc9c8bd | c7c5f8d9b0da995407cfd734298c72d4c636bf29 | refs/heads/master | 2016-09-05T22:31:14.289195 | 2014-12-28T20:37:51 | 2014-12-28T20:37:51 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,668 | cpp | #include "LinDllLoader.h"
LinDllLoader::LinDllLoader()
{
}
LinDllLoader::~LinDllLoader()
{
//on free les librairies
for (it_type it = _availlable_libs.begin(); it != _availlable_libs.end(); it++)
{
dlclose(it->second);
std::cout << "Librairie closed : " << it->first << std::endl;
}
}
void LinDllLoader::... | [
"corentin.bajdek@gmail.com"
] | corentin.bajdek@gmail.com |
809f55fdc66e0c02ebdb4db6b87b1d4f4d780e9d | 242a8574db3fd8945e259c24d83fa46b1fe69bec | /Library/Il2cppBuildCache/WebGL/il2cppOutput/UnityEngine.IMGUIModule.cpp | 9f190a01f6929b8baf48a1acf1580ab4ca48bfa7 | [] | no_license | ErikBolumburu/Mini-Magic | a82264f2797b886cd430089fcc268d3f8d33fccf | 9a2d33ec71a84855bd8595db00558a6d6870d692 | refs/heads/master | 2023-07-10T09:42:27.166780 | 2021-08-15T11:47:12 | 2021-08-15T11:47:12 | 395,718,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766,663 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"15ebbolumburu@uckfield.college"
] | 15ebbolumburu@uckfield.college |
a0e86a65b3f6787516cfc99b0936bd3b50d41641 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/providers/snmpprovider/provider/instclas/include/propquery.h | c3e1fc734835831fc2949ed88c49f5457c238d17 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,579 | h | //***************************************************************************
//
// File:
//
// Module: MS SNMP Provider
//
// Purpose:
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
//***************************************************************************... | [
"112426112@qq.com"
] | 112426112@qq.com |
098f4010f2c7323731d640b8ae763e8a4dbd4183 | eb14f43ab32063f383bf81938dc8d88c2f2da1be | /SFML By Example/Snake/Game.h | e8afc787851744fed2c42866eaad74d0460eb2dd | [] | no_license | eugeniomiro/SFML-Exercises | da9586b353269ce0c5ca28009d3ab9ae7f7dfdd2 | bfa77ba826df5973fc0012b57450bec63dd179b5 | refs/heads/master | 2023-05-05T11:27:36.389463 | 2021-05-23T18:29:31 | 2021-05-23T18:29:31 | 309,660,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #include "Window.h"
#include "World.h"
#include "Snake.h"
#include "Textbox.h"
class Game
{
public:
Game();
~Game();
void HandleInput();
void Update();
void Render();
Window* GetWindow();
void RestartClock();
World _world;
Snake _snake;
private:
Window _window;
sf::Vector... | [
"eugenio.miro@gmail.com"
] | eugenio.miro@gmail.com |
3164e8fa6c263228881e380e285ca0d9f83ef51e | c01fb9dc11c08d2bc99ac93d5c1a2ac2964b6594 | /OpenGL 1.2/Engine/Tarrasque_engine/TE_List_istance.cpp | 68e7d022f15afdde5b049506d244fdf9a5cbf8ef | [] | no_license | NyxWallace/Tarrasque-engine | 09a425dbec27c09c8831d0ce4141417a62fb7709 | 9598b2c772df995caf990784732fbc52efd6aaad | refs/heads/master | 2020-03-24T01:37:59.689274 | 2018-07-25T21:01:55 | 2018-07-25T21:01:55 | 142,344,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | #include "TE_List_istance.h"
/**
* Constructor for a list istance object.
*/
TE_List_istance::TE_List_istance(TE_Node* node, TE_MAT4 world_matrix){
m_node = node;
m_world_matrix = world_matrix;
}
| [
"noreply@github.com"
] | NyxWallace.noreply@github.com |
c28c3bd2e6aa9e966f542cddd32a9c5841a80450 | 17f37b79643b9c6acd181c55c43a3ab4c889433e | /cavity/28.5/phi | eb4202e86a42fd2b589eda43102fb2357e0731a4 | [] | no_license | aashay201297/OpenFOAM-simulations | 5208b766ab1e715178e42c73d028cc43d17ec4c9 | 273f60ef66e6f5b0c99a53ac52de406be0e876a2 | refs/heads/master | 2021-01-23T06:34:17.044650 | 2017-06-04T19:02:27 | 2017-06-04T19:02:27 | 86,373,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,789 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aashay225@gmail.com"
] | aashay225@gmail.com | |
f368f09e6259681c8c2cc677d4199c3e662d2123 | 952685810657b346710a1fecab915ebe69ad6c63 | /Src/distributed_server/StormDB_Md5_Hash.h | 677b2f8e58a7a3719d99a3eb78a0c26675dd82ca | [] | no_license | liuhangyang/StormDB | 68631cba14f1d04673b0b0a33dae8f31d9d2af73 | aa2b200571aa8627f39a41f4967d8437ad538571 | refs/heads/master | 2021-01-12T07:50:46.063383 | 2017-02-01T09:09:39 | 2017-02-01T09:09:39 | 77,040,451 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | /*************************************************************************
> File Name: StormDB_Md5_Hash.h
> Author:yanglongfei
> Mail:yanglongfei@xiyoulinux.org
> Created Time: 2016年12月24日 星期六 19时12分16秒
************************************************************************/
#ifndef _STORMDB_MD5_HASH_H
#defin... | [
"yanglongfei22@gmail.com"
] | yanglongfei22@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.