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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e4bec3ac6c41c7ee263c85179eb96275c87d30b4 | 7774f5fa84edbe372df5bbb536e8b07b51306681 | /Temp/StagingArea/Data/il2cppOutput/Il2CppMethodPointerTable.cpp | b77179e1b6503559c02fe8a36ed3b87b2fd9b3f1 | [] | no_license | 1jeffcohen/Mr-Turtle-Breaks-Free | 677f4792b30ac3041e1454e6027a64478ec18a05 | 360506196b46e3b8234cf732230b266e655975e1 | refs/heads/master | 2016-09-01T16:24:29.294516 | 2015-10-08T21:46:23 | 2015-10-08T21:46:23 | 43,917,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332,758 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern "C" void m0 ();
extern "C" void m1 ();
extern "C" void m2 ();
extern "C" void m3 ();
extern "C" void m4 ();
extern "C" void m5 ();
extern "C" v... | [
"1jeffcohen@gmail.com"
] | 1jeffcohen@gmail.com |
09bd8d58de8093724d50665c4d0911d896b3f20b | 11836fe43d9fe469b0b8d3c2c7b037604469cc32 | /void-pointer.cpp | 95438f55513ed1db3ac83f7e611c231513d70f80 | [] | no_license | Ghassen-kh/Cpp_Training | 9f188f0a98d0e6feb84e0b7a3a1b3e1da773def9 | db99ce77d6c98c67c452a6a0ca908667c7cd23a5 | refs/heads/main | 2023-04-12T05:57:09.067943 | 2021-05-11T17:58:13 | 2021-05-11T17:58:13 | 346,858,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include <iostream>
void * func (void *);
int main(int argc, char ** argv){
printf("this is void pointer.c\n");
const char * cp="1235";
int * vp=(int *) func((void *)cp);
printf("%08x\n",* vp);
return 0;
}
void * func (void * vp){
return vp;
} | [
"ghassen.khalouaoui15@gmail.com"
] | ghassen.khalouaoui15@gmail.com |
6d86917b8e119f719624164176375ec9a2c299cb | 57d30906de95e20fb45216925791cb809a11b7f1 | /ase/misc/t19.cpp | 0ad4aa01a3e098a99d4cab9a507e57efcb2b0c90 | [
"MIT"
] | permissive | ahiguti/ase | ad782902ca3a8713b155769413fc5d9fd537c347 | f6bc5f337fe7df6eabf676660d9189d3c474150d | refs/heads/main | 2021-06-13T17:39:25.280776 | 2012-06-15T21:01:17 | 2012-06-15T21:01:17 | 4,680,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp |
#include <ase/asecpnfobj.hpp>
namespace {
struct fobj {
ase_variant operator ()(ASE_Component::Library& lib,
const ase_variant *args, ase_size_type nargs) {
typedef ase_variant Var;
Var Test = lib.GetGlobals().get("Native").get("Util").get("Test");
ase_int mid_sum = Test.GetMethodId("Sum");
... | [
"ahiguti100@gmail.com"
] | ahiguti100@gmail.com |
0ea8bd89b0db2fe42a19fae9caeab7d7e8db3480 | d4b18945429b19dcfe750b1100e8486d8429f185 | /src/net/Socket.cpp | 4db1ace240ace2231de0ecd8e7f08b2300ebd56a | [
"MIT"
] | permissive | Maltliquor/HttpServer | 2f019cceb15304d5cffab615538615f4076e3786 | b05825752d96e5a7331be30db7587478db9b3124 | refs/heads/master | 2022-12-12T06:29:20.139591 | 2020-09-02T02:18:26 | 2020-09-02T02:18:26 | 250,186,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include <netinet/in.h>
#include <netinet/tcp.h>
#include <stdio.h> // snprintf
#include "src/net/InetAddress.h"
#include "src/net/Socket.h"
#include "src/net/SocketOp.h"
using namespace serverlib;
Socket::~Socket()
{
sockets::close(_sock_fd);
}
bool Socket::getTcpInfo(struct tcp_info* tcpi) c... | [
"1078918078@qq.com"
] | 1078918078@qq.com |
571b28381d6bf7710800963b694c0e83ac415d71 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ec2/include/aws/ec2/model/AssociateClientVpnTargetNetworkResponse.h | 27570f63df09982306493a74cf96c43d2c06c3a9 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 3,971 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ec2/model/AssociationStatus.h>
#include <aws/ec2/model/ResponseMetadata.h>
#include <utilit... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
34a54e829cec48ae982319e0f82a7fa684e0306c | affd7dc26a0f4580454a9af1dfc4be601141892a | /src/qt/bitcoinunits.cpp | a66e2b91fa6bbcc77c5330fa347d2ab1d883bca2 | [
"MIT"
] | permissive | hendo420/Grdtcoin | 6d9410a5c3d2e2a8d38489542e4b5e67ac281f60 | 59262e398eb9dbef8bcf85713eae03fe6e7e953d | refs/heads/master | 2021-01-25T09:00:26.330968 | 2013-12-28T23:57:17 | 2013-12-28T23:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,341 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"root@d1stkfactory"
] | root@d1stkfactory |
e7d6a347ad55f66135908648af23c6da9bafdec4 | 79f0db22eabee887ca366fae743a7df7e0eea24a | /user/MIT_Controller/Controllers/NeuralMPC/NeuralRobotState.h | 226e03705dcfe4ae5989e1ca907e81fdcc4af112 | [
"MIT"
] | permissive | gmargo11/Cheetah-Software | 61130acd948a7650558e7828a1739d41d6e2b2e7 | 02aa003393f1d831e973e596d43f1f0bf0d8f754 | refs/heads/master | 2023-01-31T09:36:53.093599 | 2020-05-27T22:42:38 | 2020-05-27T22:42:38 | 260,376,293 | 1 | 0 | MIT | 2020-05-01T04:06:16 | 2020-05-01T04:06:15 | null | UTF-8 | C++ | false | false | 570 | h | #ifndef Neural_RobotState
#define Neural_RobotState
#include <eigen3/Eigen/Dense>
#include "../convexMPC/common_types.h"
using Eigen::Matrix;
using Eigen::Quaternionf;
class NeuralRobotState
{
public:
void set(flt* p, flt* v, flt* q, flt* w, flt* r, flt yaw);
//void compute_rotations();
v... | [
"gmargo@mit.edu"
] | gmargo@mit.edu |
f8ebdcd583e02826bf8792a43ac0fed8546cb21b | 6a79102592f6f1d4eb843b2f5c673899aba28a6d | /Classwork/Lecture06/Node.h | cf5d9687b63e02536452d5e72521a102723b4d5e | [] | no_license | saidou578/CS246-1 | 886b351e445eecc5e0185e7b490f7582a2f066b7 | b9b47aa91557ad3c8a2ff9a6218c68adbda8d46f | refs/heads/master | 2021-01-09T16:13:42.279033 | 2020-05-25T14:28:57 | 2020-05-25T14:28:57 | 242,368,027 | 0 | 0 | null | 2020-02-22T15:51:39 | 2020-02-22T15:51:39 | null | UTF-8 | C++ | false | false | 1,449 | h | #ifndef NODE_H
#define NODE_H
#include <iostream>
#include <string>
#include <sstream>
namespace ds
{
template <class T>
class Node
{
private:
T data;
Node<T>* link;
Node(const Node<T>& obj);
Node& operator=(const Node<T>& rhs);
public:
Node() : Node(T(),NULL) {}
Node(const T& data) : Node(data,NUL... | [
"jermainereid@mec.science"
] | jermainereid@mec.science |
e6dc452b53c0bcc5a626aaf59dd300f95a99a067 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13777/function13777_schedule_51/function13777_schedule_51_wrapper.cpp | d0d360df18b09d394210fb990acdebc7394f21b0 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | #include "Halide.h"
#include "function13777_schedule_51_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(128, 128);
Halide::Buffer<int32_t> buf0(64, 1... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
c688324b2fca80a20724968ceb91c1f4fca2ac8f | a0fba5c81df7d408362807c55c0eec609819cb69 | /share/qt_property_browser/src/qtpropertymanager.cpp | 4ec3e987042fa9b3e188f543e0ee1cdf118e1131 | [] | no_license | cuixiongyi/hiveground-ros-pkg | 23edf94b9f0cb85184fce8a3116226f9733756d1 | 134377e42af9fcc852a3709257a9499edd941242 | refs/heads/master | 2021-01-10T12:41:00.140152 | 2013-07-10T08:11:36 | 2013-07-10T08:11:36 | 53,974,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212,012 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Solutions component.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BS... | [
"Mahisorn@localhost"
] | Mahisorn@localhost |
89e9c89a9894fa888acb74294066017ed09bdeb0 | 27234219edb7095de9453ae9d9130aaf7f94f35c | /lab5/VectorsOperation.cpp | 6061f6629995074ed4c3712b2f472e0801306378 | [] | no_license | andruga225/lab5 | 226bf0ec6cc573bee8855879c283f767af4de8fd | c523057a7adb20fe0db8291c080f1224a23c07a2 | refs/heads/master | 2023-09-02T22:13:59.622116 | 2021-11-25T10:19:26 | 2021-11-25T10:19:26 | 427,715,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | #include "VectorsOperation.h"
#include <algorithm>
std::vector<double> SubtractionVector(std::vector<double> a, std::vector<double> b)
{
std::vector<double> res;
for (int i = 0; i < a.size(); ++i)
res.push_back(a[i] - b[i]);
return res;
}
double FirstVectorNorm(std::vector<double> a)
{
return abs(*std::max_el... | [
"ryanworld225@yandex.ru"
] | ryanworld225@yandex.ru |
d2f05fc84fd214b91c0891962f8839a8a21ec26d | 3d97b8349f2bf779befde639a9e91112955a1d6e | /src/type_info.cc | 50cfef5d4d1f985851693db2248634a51dedffe2 | [] | no_license | bmax/v9 | 5090ba530403f4fb810da73fbd3aa18529c0dad8 | 74e0cc8802dc35c8e378be9812209f42e138feb0 | refs/heads/master | 2021-01-15T15:23:34.772969 | 2015-04-16T23:52:58 | 2015-04-16T23:52:58 | 34,086,713 | 6 | 3 | null | 2015-04-16T23:51:42 | 2015-04-16T23:51:42 | null | UTF-8 | C++ | false | false | 410 | cc | #include "type_info.h"
namespace Type {
std::string AsString(int type) {
switch (type) {
case VOID: return "void";
case NUMBER: return "number";
case BOOL: return "bool";
case STRING: return "string";
case OBJECT: return "object";
case ARRAY: return "array";
case REFEREN... | [
"curljosh@msu.edu"
] | curljosh@msu.edu |
68b059c22310377785b812181ffdab1d7fd09109 | af757d873c431a899438f66220027ae4f10c59e6 | /node_modules/marionette-client/node_modules/sockit-to-me/externals/v8/src/code-stubs.cc | 5bec7e05f913be19ef8526f76e86580b99041115 | [
"Apache-2.0",
"bzip2-1.0.6",
"BSD-3-Clause"
] | permissive | a-os/gaia-node-modules | fb57372d1b2b0dc1ae6e0cb650b0c3ef9f69d74b | 43c434626a862bc092f825175bc88d11988c4d6a | refs/heads/master | 2021-01-22T00:51:10.683335 | 2015-07-03T23:02:03 | 2015-07-03T23:02:37 | 38,414,532 | 0 | 0 | null | 2015-07-02T06:06:26 | 2015-07-02T06:06:26 | null | UTF-8 | C++ | false | false | 25,596 | cc | // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"gaye@mozilla.com"
] | gaye@mozilla.com |
fb89dff8f2d268d7185d1bf060199cf7bfc3168f | 4ffdc4341ce50d462dc9ed0198691b9aa5f2d0ba | /week-02/day-5/palindromes2.cpp | 949a785192acbef213932ce57adbe5552b6e990c | [] | no_license | greenfox-zerda-sparta/Akatakata | b1289cc176a88f5e51133e4e723e97ad9a71e402 | a4a7f464c66582568c238eea7b98ecc949f87c05 | refs/heads/master | 2021-01-12T18:14:53.086793 | 2017-02-14T14:32:17 | 2017-02-14T14:32:17 | 71,350,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include <iostream>
#include <string>
using namespace std;
// Create a function that searches for all the palindromes
// in a string that are at least than 3 characters, and
// returns a list with the found palindromes.
void find_words(string &text, int count, int start, int mod, string &word, string &to){
// Finds... | [
"almasy.kata@gmail.com"
] | almasy.kata@gmail.com |
5df6301abaee87d400da1f766a2df6445e7c3995 | 497c5bc5df53028a9cbb38522350aac3b581f8c3 | /message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT942BaseListener.h | 1dd0ecc389443bc4d858e242bc76f43770de637b | [
"MIT"
] | permissive | Yanick-Salzmann/message-converter-c | 188f6474160badecfd245a4fefa20a7c8ad9ca0c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | refs/heads/master | 2020-06-25T11:54:12.874635 | 2019-08-19T19:32:41 | 2019-08-19T19:32:41 | 199,298,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,441 | h |
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "SwiftMtParser_MT942Lexer.h"
// Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT942.g4 ... | [
"yanick.salzmann@gmail.com"
] | yanick.salzmann@gmail.com |
71fe164049950f62f851c36ea195916623b004e9 | 7bc7490eb6396368abcf642d4397b2ad225e4e35 | /ser/conser.h | f38e5ae9dba90e92492c230295c3e3945cc8c9aa | [] | no_license | eveonline96/cloudpan | ce2a39d8d4d2360351e984e7d931201e99f0c851 | 0ad9dbca8e31a907bccd9176f8209923eda99ac0 | refs/heads/master | 2021-01-01T19:35:52.780045 | 2017-08-08T15:59:16 | 2017-08-08T15:59:16 | 98,617,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | h | #ifndef CONSER_H
#define CONSER_H
#include "../public.h"
#include "mydb.h"
#include "sqlConnPool.h"
class conSer
{
public
conSer(int port,const char *addr);
~conSer();
void Bind();
void Listen();
int accept_timeout(unsigned int wait_seconds);//select
void epoll_work(); ... | [
"870402433@qq.com"
] | 870402433@qq.com |
ba5b788c6f1978af7e5b7649b5c0abf144a5be07 | 90e64a6679a16401e762b447a0a1c6d7d5815815 | /TSUI/CGalacticMapSystemDetails.cpp | 839e5b275a004cbfa657d72a9246b30a926343f0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | kronosaur/Mammoth | a339f3860e01612c47fdbfc3aa1d657b5fd25a4b | a73df3f356201ecffd6590303d5cd52edd040a92 | refs/heads/master | 2021-04-19T00:26:33.936970 | 2019-01-08T01:11:51 | 2019-01-08T01:11:51 | 28,847,176 | 5 | 14 | NOASSERTION | 2018-12-26T08:09:11 | 2015-01-06T04:47:28 | C++ | UTF-8 | C++ | false | false | 15,422 | cpp | // CGalacticMapSystemDetails.h
//
// CGalacticMapSystemDetails class
// Copyright (c) 2016 by Kronosaur Productions, LLC. All Rights Reserved.
#include "stdafx.h"
#define ID_STATION_LIST CONSTLIT("idStationList")
#define PROP_COLOR CONSTLIT("color")
#define PROP_ENABLED CONSTLIT(... | [
"public@neurohack.com"
] | public@neurohack.com |
27d26de63bc6c1f8133cf82b835e98e3df8e490d | c3147a539c3bad6d24105df990146e9bffcae1a5 | /leetcode/32.longest-valid-parentheses.cpp | d92d4b1f9744b24d06438e41ad744c1fd782c6a2 | [] | no_license | eataix/algorithms | 6158a93d02d53be4940d7d2db09393915081b267 | 6c61a6ae52707ac6f8a01bfc9344ca48be9736f8 | refs/heads/master | 2021-03-22T00:21:23.926258 | 2018-10-20T05:07:55 | 2018-10-20T05:57:53 | 19,340,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | cpp | #include <stack>
#include <string>
using namespace std;
/*
* [32] Longest Valid Parentheses
*
* https://leetcode.com/problems/longest-valid-parentheses/description/
*
* algorithms
* Hard (23.45%)
* Total Accepted: 133.1K
* Total Submissions: 567.6K
* Testcase Example: '"(()"'
*
* Given a string containin... | [
"_@freeaddr.info"
] | _@freeaddr.info |
985f1664317326bbad7a32e037deef7d07634065 | 2c3245916133aad0b707abde5e3236caf58404d8 | /libbulletc/src/btOverlappingPairCache_wrap.cpp | 245501354121d8f00f7f7742ec122175d2e0a7ef | [
"Zlib"
] | permissive | ValtoLibraries/BulletSharp | 3ac2dc389b4c0f6ba1d31a7ac8ca87fe27395e94 | 079846c1663f9d6323df1e97083f091070ad6f52 | refs/heads/master | 2021-09-11T20:31:40.886634 | 2018-04-12T00:46:49 | 2018-04-12T00:46:49 | 81,493,381 | 2 | 0 | null | 2018-04-12T00:46:50 | 2017-02-09T20:47:00 | C# | UTF-8 | C++ | false | false | 4,350 | cpp | #include <BulletCollision/BroadphaseCollision/btDispatcher.h>
#include <BulletCollision/BroadphaseCollision/btOverlappingPairCache.h>
#include "btOverlappingPairCache_wrap.h"
bool btOverlapCallback_processOverlap(btOverlapCallback* obj, btBroadphasePair* pair)
{
return obj->processOverlap(*pair);
}
void b... | [
"andres.traks@gmail.com"
] | andres.traks@gmail.com |
f918a2dddea6e96b05f16143cd0afeaa96a1c0e3 | e94faed4698eba0859637076840147f417ee5953 | /Master/Fail/KeyBoardTest.ino | 14b3447bc73ef19e2254a0bbec7ebeb5e547d5e6 | [] | no_license | maisonsmd/MatrixKeysToLEDs_VS_Solutions | 8f4827082c3c958babf336287307d0a5eed07b5a | 5ebd1981a0d016bf6e5673c35487423651ca2198 | refs/heads/master | 2021-09-03T04:11:15.518826 | 2018-01-05T13:35:30 | 2018-01-05T13:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | ino | //#include "Libs/MatrixKeyToLEDs.h"
//#include "Libs/MS_Communication.h"
//#include <Wire.h>
void setup()
{
Serial.begin(9600);
pinMode(13, OUTPUT);
for (int i = 0; i < 1000; i++)
Serial.println("HELLO");
delay(100);
//MatrixKeyToLEDs.init();
//MatrixKeyToLEDs.SetLEDsIntensity(1); //Intensity (brightness... | [
"maisonsmd@gmail.com"
] | maisonsmd@gmail.com |
fd3abd0dc2a34bbafc9e0f8dc5749fb4c5165a7a | 7b763f3ab5f3cfb424d825f60ddff97b163d62e3 | /FirstTriangle/rendering/Render.hxx | 46f781b69f684fb0fe4ac90d94891bf7179a955d | [] | no_license | iAmSomeone2/VulkanPractice | 65bc40efdc686aeed12b969238045f0a14ccb4b9 | 7a0b5517b4bfaa36a1bea8ced5e5c48f245d2b39 | refs/heads/master | 2020-08-23T16:27:23.276853 | 2019-10-25T23:59:12 | 2019-10-25T23:59:12 | 216,662,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | hxx | #ifndef RENDER_HXX
#define RENDER_HXX
#include <vulkan/vulkan.hpp>
class Render {
public:
Render(vk::Device *logicalDevice, vk::Format swapChainImageFormat);
~Render();
vk::RenderPass *renderPass();
private:
vk::Device *m_logicalDevice;
vk::RenderPass m_renderPass;
};
#endif // RENDER_HXX | [
"brendend13@gmail.com"
] | brendend13@gmail.com |
0ac5df940130fb28a315b955c7f031946a1e77c4 | 69e577a4c7e051c3e0399853e0f3233d5f52882a | /pcre.cc | 72f258eb6a0f605db3e79ed3bccef870808128c7 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | atrn/ici | 07ce3849e96e4acaa35f30b4144ae48a7a584925 | c3807f5cc7ffd2d272818978060c0a04c19ed55d | refs/heads/master | 2023-07-08T19:36:58.035538 | 2023-06-27T20:59:29 | 2023-06-27T20:59:29 | 118,180,499 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 165,229 | cc | /*************************************************
* Perl-Compatible Regular Expressions *
*************************************************/
/*
This is a library of functions to support regular expressions whose syntax
and semantics are as close as possible to those of the Perl 5 language. See
the file T... | [
"an@atrn.org"
] | an@atrn.org |
226c75a44c5a49dc14340cbf70e94d422482701d | c5e26167d000f9d52db0a1491c7995d0714f8714 | /洛谷/P1516 青蛙的约会.cpp | 336bbd09ace01140e115372875e03a73d2a7fed7 | [] | no_license | memset0/OI-Code | 48d0970685a62912409d75e1183080ec0c243e21 | 237e66d21520651a87764c385345e250f73b245c | refs/heads/master | 2020-03-24T21:23:04.692539 | 2019-01-05T12:38:28 | 2019-01-05T12:38:28 | 143,029,281 | 18 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | #include <bits/stdc++.h>
#define il inline
#define rg register
#define ll long long
#define getc getchar
#define putc putchar
#define rep(i, l, r) for (int i = l; i <= r; ++i)
namespace ringo {
template < class T > il void read(T &x) {
x = 0; rg char c = getc(); rg bool f = 0;
while (!isdigit(c)) f ^= c == '-', c = ... | [
"memset0@outlook.com"
] | memset0@outlook.com |
bc9509c7fe7dd9a1d5b736cabd79f4771d8baf73 | 9b4e0a5a649d2482a5e266d9fc2ef01f17bda671 | /src/Eigen.d/Elu.c++ | 1d73d61ecffd8364b6abdf7740c43aa311b39709 | [
"MIT"
] | permissive | naruto2/CodeFEM | 7209d241c150003e3369fa47e09b05937b6bc2a5 | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | refs/heads/master | 2020-12-12T03:17:42.445395 | 2018-06-20T16:31:42 | 2018-06-20T16:31:42 | 48,607,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | #include <stdio.h>
#include "est/sparse.hpp"
#include "est/psc98.hpp"
#include "est/op.hpp"
#include "est/TDMA.hpp"
#include "solvers.h"
vector<double> jacobi(sparse::matrix<double>&A,
vector<double>&x,vector<double>&b);
int enough(sparse::matrix<double>&A, vector<double>&x, const vector<double>&b);
vector<d... | [
"tsukuda.yoshio@gmail.com"
] | tsukuda.yoshio@gmail.com | |
1b42d781a56a771043f1bb8ed7f652cdcb57d385 | 16dc54384a53f8bcd6dfdecfbabd385d51acb7de | /2016_a_practice/week9/C - Conductors/main.cpp | 862b1acb6a2f3e669013b1387c60a158fa318609 | [] | no_license | kkkkBlueSky/HUAS_ACM | 629771b4b583a0725ee0955ddbf35cdfaddec652 | 3b9aad20476ec09bb5f12f951340829e68152094 | refs/heads/master | 2021-12-17T21:47:13.245217 | 2017-09-22T12:54:51 | 2017-09-22T12:54:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main()
{
double p, q, pmin1,qmax1;
int pmin, qmax, flag;
while(~scanf("%lf %lf", &p, &q)){
int ans=1;
p/=100.0;
q/=100.0;
while(1){
pmin1=ans*p;
qmax1=ans*q;
pmin=int(pmin1);
... | [
"woodcoding@gmail.com"
] | woodcoding@gmail.com |
680becbb9d4efb018d1fe6d0938756fe81444eb1 | 71b380f43de7f76789bef938b70872bd59687a06 | /src/Game.h | 927c00d9b5d7214fe3d293d41e04d85aad70b8ca | [] | no_license | serzap/VeryCrazyTanks | e1c140074e5bffa9f89167c6f3cf45b7b65d4a58 | 6483fe622a2532c8bace624cca6e42b7da63ba10 | refs/heads/master | 2021-04-12T10:08:37.482712 | 2018-03-27T18:41:01 | 2018-03-27T18:41:01 | 126,162,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | h | #ifndef VERYCRAZYTANKS_GAME_H
#define VERYCRAZYTANKS_GAME_H
#include <iomanip>
#include "BattleField.h"
class Game
{
public:
Game();
~Game();
void run();
private:
BattleField bf;
};
#endif
| [
"serhii.zaporozhchenko@gmail.com"
] | serhii.zaporozhchenko@gmail.com |
9be832673bf969e46355e6315d256bee4de69591 | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0x75DBEC174AEEAD10.cpp | 147fe08ae6bd5f347dcd14b6f0197013f44d9922 | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | // ambient_diving.ysc @ L2165
void func_59()
{
func_61();
if (func_50(iLocal_64))
{
if (VEHICLE::IS_THIS_MODEL_A_BOAT(ENTITY::GET_ENTITY_MODEL(iLocal_64)))
{
VEHICLE::SET_BOAT_ANCHOR(iLocal_64, false);
}
ENTITY::SET_ENTITY_RECORDS_COLLISIONS(iLocal_64, 0);
if (ENTITY::IS_ENTITY_A_MISSION... | [
"tvangroenigen@outlook.com"
] | tvangroenigen@outlook.com |
77c3bb393bbec47d5f64108fcbd07b60f3b90271 | b3c47795e8b6d95ae5521dcbbb920ab71851a92f | /LintCode/cpp/Expression Evaluation.cc | 7e530571ad7cec6a999d9c0f99109a69f5d5cb6f | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Wizmann/ACM-ICPC | 6afecd0fd09918c53a2a84c4d22c244de0065710 | 7c30454c49485a794dcc4d1c09daf2f755f9ecc1 | refs/heads/master | 2023-07-15T02:46:21.372860 | 2023-07-09T15:30:27 | 2023-07-09T15:30:27 | 3,009,276 | 51 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | cc | class Solution {
public:
/**
* @param expression: a vector of strings;
* @return: an integer
*/
int evaluateExpression(vector<string> &expression) {
expression.push_back("#");
stack<int> nums;
stack<char> symbols;
for (auto& item: expression) {
... | [
"mail.kuuy@gmail.com"
] | mail.kuuy@gmail.com |
fec8c07d761312821cb1f6e92009df9c8fdb1558 | abbc8f2c4bb2a97657e30f481468d5bb562837b5 | /include/Stream.hpp | 55fa405f6400ef3bab04f65b9086420871e21603 | [
"MIT"
] | permissive | henu/libagl | ca37bb06afe35c7f4763d3f7026614a08c6e2fb4 | 0bf8ef6482111b5a134771249fccc7282b8eada1 | refs/heads/master | 2016-09-05T15:11:28.352046 | 2014-09-17T22:12:02 | 2014-09-17T22:12:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,265 | hpp | #ifndef AGL_STREAM_HPP
#define AGL_STREAM_HPP
#include "Bytes.hpp"
#include "Rbuf.hpp"
#include <string>
#include <stdexcept>
#include <cstring>
#include <stdint.h>
namespace Agl
{
class Stream
{
public:
class StreamInputClosed : public std::runtime_error
{
public:
inline StreamInputClosed() : std::runtime_e... | [
"henrik.heino@gmail.com"
] | henrik.heino@gmail.com |
f9771dc1402f0bfa931e34cb9ba73b6ddae44d7a | e60fda09fec201fc811aaab77caab7dfcf14ed4c | /realsense/realsense_test/camera_viewer.cpp | d1c52a54b1dcf20badc193e0f13eac66134cc93e | [] | no_license | biotrump/realsense | 23419ac864f59d04101d7b7d1718f7753173c4f5 | c500b52efa81d195bc6b7cbd4981010378036ca3 | refs/heads/master | 2021-01-17T12:51:57.591500 | 2016-06-13T09:26:43 | 2016-06-13T09:26:43 | 57,204,737 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,885 | cpp | /*******************************************************************************
INTEL CORPORATION PROPRIETARY INFORMATION
This software is supplied under the terms of a license agreement or nondisclosure
agreement with Intel Corporation and may not be copied or disclosed except in
accordance with the terms of that ag... | [
"thomas@life100.cc"
] | thomas@life100.cc |
cf2c500ea4a8e668870223656a8b3062137c555e | 8c5054be017ac21e1aedfa433ab6c910206fe6aa | /Vault/DSA_NMS_18/HomePractice3/F.cpp | c61afd227363441e3f999b5d26edb9d4d16deb72 | [] | no_license | liv1n9/AkikazeCP | a3348a37d4151c0579f23ea21a1f0f84bb4f8862 | 9db7ee0398eaebfeb0efc4a2bfddffed9f43b8f9 | refs/heads/master | 2020-08-12T16:05:15.884390 | 2019-10-13T08:52:12 | 2019-10-13T08:52:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | cpp | /**
Template by Akikaze (秋風) - formerly proptit_4t41.
Code written by a random fan of momocashew and Chiho.
H△G x Mili - November 27th, 2013
Mag Mell (Mili) - Sep 17th, 2014
H△G x Mili Vol.2 - May 9th, 2015
Miracle Milk (Mili) - Oct 12th, 2016
青色フィルム (H△G) - February 14th, 2018
Millennium Mother (Mili) - Apri... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
32b0e1c772f5d135a18746a3b0ad4789ae7e2720 | 38c10c01007624cd2056884f25e0d6ab85442194 | /v8/src/ic/handler-compiler.cc | 077a3a9a6d7e2d0043291a7ee7d890e7d2079263 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 22,919 | cc | // Copyright 2014 the V8 project 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 "src/ic/handler-compiler.h"
#include "src/ic/call-optimization.h"
#include "src/ic/ic.h"
#include "src/ic/ic-inl.h"
#include "src/isolate-inl.... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
2b38e7b823a2397d12e88bef63d9eb930184693c | cced65a21d5d99399a8fe216a36f3f5a613fa976 | /rockbot/character/classplayer.h | 40a5df52b79625fbea8f9ab68ce7f8529cc8089f | [] | no_license | JackD83/gh_retrogame_emulator | b347a047bf3e36e08fced2af58e14b14aafc8b5d | a8f11b7658cb897d345350868b93cba0bbfdcf2a | refs/heads/master | 2021-04-29T00:46:50.746947 | 2018-02-15T05:49:57 | 2018-02-15T05:49:57 | 121,837,122 | 1 | 2 | null | 2018-02-17T07:47:34 | 2018-02-17T07:47:34 | null | UTF-8 | C++ | false | false | 6,667 | h | #ifndef CLASSPLAYER_H
#define CLASSPLAYER_H
#include "character/character.h"
#include "character/classnpc.h"
class classnpc; // advance declaration
/**
* @brief child of character, this class is used to store data for a player (human controlled character)
*/
class classPlayer : public character
{
public:
/**
... | [
"steward.fu@gmail.com"
] | steward.fu@gmail.com |
e95ff600daffaf5f58e139614e4912d28af74895 | 4b194a8690583d0d4ef6ffb7a54d96936b0172ce | /src/Die.cc | de40f169705ea58d0d34d1aaa80aca5f9d7186f5 | [] | no_license | kevinna97/Student-Colonization | a09d1b6074b4ce87e38f8dc3dd9dc16e11c7e0c7 | c71b01d4bc64cb0a40276b183ec6cb3863c8c319 | refs/heads/master | 2020-03-07T19:58:49.787769 | 2017-03-11T22:24:18 | 2017-03-11T22:24:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cc | #include "Subject.h"
#include "Observer.h"
#include "Die.h"
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
Die::Die(){}
void Die::rollRandom(){
srand(time(NULL));
int num1 = rand() % 6 + 1;
int num2 = rand() % 6 + 1;
int val = num1 + num2;
notifyObservers(val);
... | [
"apt@Arpits-MacBook-Air.local"
] | apt@Arpits-MacBook-Air.local |
49a82bcd6ff12500e3923077d96db934903d2a1d | 12efddb38fd5bd1c2b2b3bb1b672714b694d5602 | /websocket/httpheader.h | 768965b0f3dcbec5d13c10d4982632ad972595b8 | [] | no_license | chenxp-github/SmallToolsV2 | 884d61200f556379551477030aa06c64593ce9d4 | 1a8aa863d0bc3744d376284ace85c7503b871f45 | refs/heads/master | 2022-06-01T05:19:25.417439 | 2022-04-30T05:31:53 | 2022-04-30T05:31:53 | 210,530,450 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | h | #ifndef __HTTPHEADER_H
#define __HTTPHEADER_H
#include "cruntime.h"
#include "commonarray.h"
#include "httppair.h"
class CHttpHeader{
public:
CCommonArray<CHttpPair> *mParis;
CMem *mMethod;
CMem *mRequestUrl;
CMem *mHttpVersion;
int mRetCode;
public:
status_t GetContentRange(fsi... | [
"xiangpeng_chen@126.com"
] | xiangpeng_chen@126.com |
3054b4911a63fb3ad6ae9c95ddffb96ae23c1d1a | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/src/apps/mediaplayer/media_node_framework/NodeManager.cpp | e92311fc1c1d2957e9c2e77a26938aed733784b4 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,605 | cpp | /*
* Copyright (c) 2000-2008, Ingo Weinhold <ingo_weinhold@gmx.de>,
* Copyright (c) 2000-2008, Stephan Aßmus <superstippi@gmx.de>,
* All Rights Reserved. Distributed under the terms of the MIT license.
*/
#include "NodeManager.h"
#include <stdio.h>
#include <string.h>
#include <MediaRoster.h>
#include <scheduler... | [
"michael@Inferno.(none)"
] | michael@Inferno.(none) |
73a374a8b4a49219d2de194a9a077a5ff6e608c2 | 955129b4b7bcb4264be57cedc0c8898aeccae1ca | /python/mof/cpp/RoleTpltCfg.h | 91a994a4f78309a73c3883d9c032a426f88512b7 | [] | no_license | PenpenLi/Demos | cf270b92c7cbd1e5db204f5915a4365a08d65c44 | ec90ebea62861850c087f32944786657bd4bf3c2 | refs/heads/master | 2022-03-27T07:33:10.945741 | 2019-12-12T08:19:15 | 2019-12-12T08:19:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef MOF_ROLETPLTCFG_H
#define MOF_ROLETPLTCFG_H
class RoleTpltCfg{
public:
void ~RoleTpltCfg();
void stringToObjJob(std::string);
void getMaxAnger(void);
void setMaxAnger(int);
void load(std::string);
void stringToObjSex(std::string);
}
#endif | [
"xiaobin0860@gmail.com"
] | xiaobin0860@gmail.com |
41eab95f7b2ae3d866c1cd4c230f6edff79fdb67 | 0ee909cdc644a9950a97ed4aac8607682736d4f5 | /泡泡龙/refactor/CoinShopView.h | 431a923cbf79ab4f26235780370b303d26583909 | [] | no_license | wtuetnsrmh/pyppl | 24671f87b01d8cd503610558cd073fe4d57db84e | 982876fa1896db71aa374ba8e76d777a999311c8 | refs/heads/master | 2021-01-23T10:00:43.201035 | 2015-03-18T10:24:00 | 2015-03-18T10:24:00 | 32,452,018 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | h | #ifndef __CoinShopView_H__
#define __CoinShopView_H__
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
using namespace cocos2d::extension;
using namespace cocos2d;
#define POWER_ITEM_TAG 1111
class CoinShopView :
public Layer,public TableViewDataSource,public TableViewDelegate
{
public:
CoinShopV... | [
"123@qq.com"
] | 123@qq.com |
7a0b8c7de24990a9445cd1ae22fcaa01652be7e8 | b8376621d63394958a7e9535fc7741ac8b5c3bdc | /lib/lib_mech/src/tool/tool_SrcBackup/jSrcBackup.cpp | dde8f64de97b1f17d879ff018d39579a361fd2e9 | [] | no_license | 15831944/job_mobile | 4f1b9dad21cb7866a35a86d2d86e79b080fb8102 | ebdf33d006025a682e9f2dbb670b23d5e3acb285 | refs/heads/master | 2021-12-02T10:58:20.932641 | 2013-01-09T05:20:33 | 2013-01-09T05:20:33 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,465 | cpp | // jSrcBackup.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
//
#include "stdafx.h"
#include "jSrcBackup.h"
#include "jSrcBackupDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CjSrcBackupApp
BEGIN_MESSAGE_MAP(CjSrcBackupApp, CWinApp)
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
// CjSrcBackupApp 생성
CjSrcBacku... | [
"whdnrfo@gmail.com"
] | whdnrfo@gmail.com |
0720790ec8c0b0ca7282a29806c269958adac8ff | 5edf0c66e07ad46fa79a4400b2689c9a67547c03 | /src/test/algorithm/BSIFT/DescriptorMedianBSIFT_TEST.cpp | 41a63db99990b8309ba2ed24ac63a20d16458036 | [] | no_license | piorkowskiprzemyslaw/FEITIR | c0b9edb0972ca84bc60beb4b6ef7af7701bc33e3 | beebd1b561e6dc51e8aa113a1d904f71ad5b5cb6 | refs/heads/master | 2020-07-04T10:58:15.494688 | 2016-11-30T23:10:15 | 2016-11-30T23:10:15 | 74,071,540 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,111 | cpp | //
// Created by Przemek Piórkowski on 20.03.2016.
//
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE FEITR_DescriptorMedianBSIFTExtractor_test
#include <iostream>
#include "test_global.h"
#include <boost/test/unit_test.hpp>
#include "src/main/algorithm/BSIFT/descriptor_median/DescriptorMedianBSIFTExtractor.h"
... | [
"piorkowskiprzemyslaw@gmail.com"
] | piorkowskiprzemyslaw@gmail.com |
5512122985e5a18823b008dd595a5e8ad4b01006 | 8667e20de8a682e807fb2a04ea0ec86aaad71313 | /cgo.h | b62586f5dd74619259071ceff51e2382ea12c21f | [
"MIT"
] | permissive | cfh88888/xmly-downloader-qt5 | 30cc06c941a460a7a89f9f5acf4e7df5c2083af5 | 84f0dc50c1ff2196cd51284593f3220e3b31d7dc | refs/heads/master | 2022-11-09T01:49:42.610770 | 2020-06-23T01:22:17 | 2020-06-23T01:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | h | #ifndef CGO_H
#define CGO_H
#include <QMetaType>
struct AlbumInfo {
const char* title;
int audioCount;
int pageCount;
const char* error;
~AlbumInfo() {
delete[] title;
delete[] error;
}
};
struct CgoAudioItem {
int id;
const char* title;
const char* url;
~CgoAudioItem() {
delete tit... | [
"3033784236@qq.com"
] | 3033784236@qq.com |
ced9a550e804764427e90acd8d425e771ff10f1a | 5a52ebe89a4cc08154ac6c37ad8eaa980ca205be | /MyTuple.cpp | 37d431959ae55f74dff5c382ddf061c34b2b9605 | [] | no_license | seeman1978/c__20 | 1bdd358481712bc979ba5f8799eff542146f2c59 | 14023f0d7029733c440f53cfa044ef680677bc23 | refs/heads/master | 2022-10-30T21:20:52.444068 | 2022-10-13T11:52:06 | 2022-10-13T11:52:06 | 242,280,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | //
// Created by 王强 on 2020/2/24.
//
// tuple.cpp
// compile with: /EHsc
#include <vector>
#include <iomanip>
#include <iostream>
#include <tuple>
#include <string>
using namespace std;
typedef tuple <int, double, string> ids;
void print_ids(const ids& i)
{
cout << "( "
<< get<0>(i) << ", "
<... | [
"seeman1978@163.com"
] | seeman1978@163.com |
8edaf70f4e9a416f8748d21a379581d56c6a1023 | c570aff1f3e2238ee4361dcbba6e47869f4cde99 | /ecuacion_onda.cpp | 6142c4298d8a011359f5db0ed2f0ec12cf1847d3 | [] | no_license | dg2000/DanielMelo_Ejercicio23 | 0bfec0518465933454739ba2c3dab76715eab39c | c4f0fa40c8ae819e4c1caf18e9289af1db585722 | refs/heads/master | 2020-03-13T13:52:42.268479 | 2018-04-26T13:25:55 | 2018-04-26T13:25:55 | 131,147,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
#include <math.h>
using namespace std;
int main()
{
double c = 1.0;
double T = 5.0;
double dt = 0.0001;
double dx = 0.0001;//pow(D*dt, 0.5);
double L = 1.0 ;
int nx = (L/dx) +1 ;
double numerador = dt*dt*c*c/(dx*dx);
int n1 = nx/4.0;
... | [
"dg.melo@uniandes.edu.co"
] | dg.melo@uniandes.edu.co |
3dfffc749aabbe621b35a60cf7cecefac6bf973f | 43c4187cce8cb51988b3e36067f22c226271c384 | /genCpp/Data_Array_ST_Iterator/Data_Array_ST_Iterator.h | 49dff89aa64bc7194ed2d0ef56e3c072613b3faa | [] | no_license | iomeone/ss | db068a5b56000df322c86d30cdf53e39cb4e3313 | fded51bc7bdd1337ec6596bf47c1f3ae6ca4f369 | refs/heads/master | 2020-05-20T23:00:53.518351 | 2020-01-01T03:06:08 | 2020-01-01T03:06:08 | 185,790,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | // Generated by pscpp compiler
#ifndef Data_Array_ST_Iterator_H
#define Data_Array_ST_Iterator_H
#include "purescript.h"
namespace Data_Array_ST_Iterator {
using namespace purescript;
auto Iterator() -> const boxed&;
auto _peek_() -> const boxed&;
auto next() -> const boxed&;
auto pushWhile() -> const boxed&;
auto... | [
"iomeonee@gmail.com"
] | iomeonee@gmail.com |
dc0feaf5fef66f0d153fa97ba23c9d1b5ab66f22 | 475bc45697b8ab6ee5864da1a88fd221ae59b64a | /number_theory/中国剩余定理.cpp | fa4d967bad2c77b3149b45c041526dadec62d715 | [] | no_license | foreignbill/ACM-ICPC_Template | 321089fba72c179b48555ce7c9ba8d23b0dab1de | 305b3a1d68261c984efb488872ee8a7d4dd4bf30 | refs/heads/master | 2020-03-20T04:36:33.410451 | 2018-09-30T09:48:09 | 2018-09-30T09:48:09 | 137,188,832 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | /*
$n$个同余方程,第$i$个为$x\equiv a[i] (\mod m[i])$,且$a[i]$两两互质,那么可以通过中国剩余定理合并。
*/
#include <cstdio>
typedef long long ll;
const int maxn = 5;
ll a[maxn],m[maxn];
ll exgcd(ll a,ll b,ll&x,ll&y){
if(!b)return x=1,y=0,a;
ll d=exgcd(b,a%b,x,y),t=x;
return x=y,y=t-a/b*y,d;
}
ll CRT(ll *a,ll *m,ll n) {
ll ans = 0;
... | [
"foreignbill@guohengkangdeMacBook-Pro.local"
] | foreignbill@guohengkangdeMacBook-Pro.local |
b2e27730521a78b07cc00c4b5db039a9f8f35fec | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-wafv2/include/aws/wafv2/model/AllQueryArguments.h | dfbeef6d80de1d50ff74c3bf0eb8a8694ae2df86 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,069 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/wafv2/WAFV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace WAFV2
{
na... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c45dfb42ef7ff1bb7dab578cd2e46c50d370b242 | b7a451237b0bd17285cb62a1027c5833d4113049 | /Protocolo/Comandos/EnviarPosiciones.h | 38f1651cacd422a80d21dabacb9b14ceb5a0c8e5 | [] | no_license | diegobalestieri/MicroMachines | 422ae10239810a8b579e0ee2f3698d1e6cefea03 | 5dfce6270da1625f6699091eb5bc0539ab6bd281 | refs/heads/master | 2023-04-22T19:35:21.407078 | 2020-08-07T01:48:23 | 2020-08-07T01:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | //
// Created by manfer on 2/11/19.
//
#ifndef PROTOCOLO_ENVIARPOSICIONES_H
#define PROTOCOLO_ENVIARPOSICIONES_H
#include "Comando.h"
#include "../Protocolo.h"
class EnviarPosiciones: public Comando {
Protocolo& protocolo;
std::vector<std::string>& extras; //ESTO LUEGO SERA ALGUN CONTENEDOR DE LOS OBJETOS
... | [
"manuelsturla@gmail.com"
] | manuelsturla@gmail.com |
d94a2c84556d19e8e846e7bfa901b19c8b334787 | d900eaef32972ada6e49a7ff3e58c98f2d55c9fb | /Project/RRMProjectR/RRMProject/UIManager.cpp | 58c3a5b7812da8824b527da8352a043557633791 | [] | no_license | hanakita114514/RRMProject | 97a1973aa2f1cb305cf602e3bf93952a24e72acd | bcc366c6479752417858fd6be5fe02aa920bd15d | refs/heads/master | 2021-01-21T19:13:16.861695 | 2017-10-06T04:28:14 | 2017-10-06T04:28:14 | 92,117,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include "UIManager.h"
UIManager::UIManager()
{
}
UIManager::~UIManager()
{
}
void
UIManager::Create()
{
_uiFactory.Create();
}
void
UIManager::Draw()
{
for (auto& ui : _uiList)
{
ui->Draw();
}
} | [
"ryota889@yahoo.co.jp"
] | ryota889@yahoo.co.jp |
25b7d0eb5269fd165c94859cbc6a3107a9de0900 | 08509d1d559f3f7eab7495cd4e072f229488166a | /PhysX/Include/particles/PxParticleCreationData.h | b7f8e5c6befd27d233326e6c7711bd08e30a5c70 | [] | no_license | LastVision/DistortionGamesFPS | 8a9da37990c68bb6ba193a289633f91ffa47bd6b | e26bd778b3ce16e01e6c9d67ad8e0ce7d1f0f6e0 | refs/heads/master | 2021-06-01T08:32:46.430309 | 2016-04-28T10:34:38 | 2016-04-28T10:34:38 | 51,527,472 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,875 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related document... | [
"anderssonniklas@outlook.com"
] | anderssonniklas@outlook.com |
928725bf8a95a8bbfa437422aa0e83b38468a3f8 | 7a2425190626dd2e75dd6cbca9fe47727afbad42 | /cxxrt-source/testsuite/cxxrt.conformance/io-27-6-2-2.exp | 7bbcbee246dce97678d22a258e25385414a89212 | [] | no_license | dietmarkuehl/kuhllib | fadd4073c9b09992479e92112ef34c367cb90fad | 482ddc2b910870398a9a2bcaa0a77a145e081f78 | refs/heads/main | 2023-08-31T22:13:02.079530 | 2023-08-21T22:14:14 | 2023-08-21T22:14:14 | 3,148,966 | 71 | 7 | null | 2023-08-21T22:14:15 | 2012-01-10T21:49:09 | C++ | UTF-8 | C++ | false | false | 2,200 | exp | #!/usr/local/bin/expect
# -*-C++-*- io-27-6-2-2.exp -- C++ is actually a lie but it helps
# --------------------------------------------------------------------------
# Copyright (c) 2002 Dietmar Kuehl
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated doc... | [
"dietmar.kuehl@me.com"
] | dietmar.kuehl@me.com |
024bfbdbb4b480ce808a089071ed968600c566a3 | 35d6d1029feff7dd6b757b93baa89ca75aa7c5d9 | /Light OJ/1066 - Gathering Food.cpp | 58ef49bc2101a8009984b2f2597768568f2daaec | [] | no_license | SbrTa/Online-Judge | 3709f496ebfb23155270c4ba37ada202dae0aef4 | b190d27d19140faef58218a611bf38ab7e2398d3 | refs/heads/master | 2021-04-28T08:12:48.785378 | 2019-01-15T14:27:24 | 2019-01-15T14:27:24 | 122,243,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,423 | cpp | #include<cstdio>
#include<iostream>
#include<vector>
#include<map>
#include<algorithm>
#include<string>
#include<cstring>
#include<cmath>
#include<cstdlib>
#include<queue>
#define inInt(n) scanf("%d",&n)
#define inLong(n) scanf("%ld",&n)
#define inLong2(n,m) scanf("%ld%ld",&n,&m)
#define inLL(n) scanf("%lld",&n)
#defi... | [
"subrataxon@gmail.com"
] | subrataxon@gmail.com |
01bcb40f064a8863a060acfdfea1816d6c3a6474 | 553e05ae32b4a2ad15c2b4dcca419773bc86e069 | /Math05_CanMeasureWater/CanMeasureWater.cpp | 9b3bf6172876e31d41d8d642693330c4133444d6 | [] | no_license | MaggieLee01/Coding | 52d825647aa3190bac28d7e9528a74e169ea25f6 | 6369b38fc01c0f7f8920c0d3f6188f5a91211caa | refs/heads/master | 2020-11-28T02:55:15.248215 | 2020-08-29T00:47:24 | 2020-08-29T00:47:24 | 229,686,797 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,932 | cpp | /* 有两个容量分别为 x升 和 y升 的水壶以及无限多的水。请判断能否通过使用这两个水壶,从而可以得到恰好 z升 的水?
如果可以,最后请用以上水壶中的一或两个来盛放取得的 z升 水。
你允许:
装满任意一个水壶
清空任意一个水壶
从一个水壶向另外一个水壶倒水,直到装满或者倒空
输入: x = 3, y = 5, z = 4;输出: True
输入: x = 2, y = 6, z = 5;输出: False
*/
//该题目,没思路,看题解
//#include<bits/stdc++.h>
#include<utility>
#include<unordered_set>
#include<stack>
#i... | [
"1136053360@qq.com"
] | 1136053360@qq.com |
51742a8f0da0601cac77ddc3a6f28f489001dadf | f1472061b35c37ed684128baf62b5ba5d95f0aa4 | /THP+Ui/LinkedList.h | 2cba4a64856f65d41f4d8874a50e5f2dcdf079bb | [] | no_license | Geymerson/CodingDirectory | e00a7ed791e6ec1dbf0c7183082a34c379499c54 | e715ee1c6078a2c00aa6de94732f717abda45184 | refs/heads/master | 2020-12-24T17:18:00.921333 | 2014-12-14T11:42:58 | 2014-12-14T11:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,885 | h | #ifndef LINKEDLIST_H
#define LINKEDLIST_H
#include "ListADT.h"
#include "Node.h"
template<class E>
class LinkedList : public List<E>
{
private:
Node<E> *m_cursor;
Node<E> *m_head;
Node<E> *m_tail;
int m_position;
int m_listSize;
public:
LinkedList() {
m_cursor = 0;
m_head = 0;
... | [
"geymerson.r@gmail.com"
] | geymerson.r@gmail.com |
2cd295f88cd636d07e4187c0e0dd8052eb92d0b6 | a744e0478a002f4d4a6ff98db797d59c4ef3cbd6 | /Source/IslandBattle/Private/IBShipAIController.cpp | 491724b21b160e28603b6e1d7ed0c5a5b36577db | [] | no_license | HWH222/IslandBattle | b6fe954273f04294485fd36f8eedb117480bd657 | ba0d70cd9c1469308f0897a0d05d26ad3a2b00e0 | refs/heads/master | 2020-05-15T10:43:10.807830 | 2019-05-12T10:13:31 | 2019-05-12T10:13:31 | 182,199,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "IBShipAIController.h"
#include "NavigationSystem.h"
TArray<FVector> AIBShipAIController::SearchPath(const FVector & location)
{
TArray<FVector> Result;
FPathFindingQuery Query;
FAIMoveRequest MoveRequest(location);
MoveReque... | [
"767373506@qq.com"
] | 767373506@qq.com |
da560c23bfb0c8273aedf6c101fc55e1d7a3ba51 | 84c91987dbeb1c689daec83645b07341dec096b1 | /AE/collision.cpp | a629a8a6f473295804c74e3904d0699193cfeebd | [] | no_license | MetropoliaPeliohj/Peliohjelmointi_Juha | 12c00e4f2a81904d56ea89f53e45814392712e9b | aa15875455a124747d1a77f4d7cb6b077078ee88 | refs/heads/master | 2020-05-27T14:18:22.322500 | 2015-05-18T15:15:07 | 2015-05-18T15:15:07 | 35,672,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include "ae.h"
#include "bullet.h"
#include "deletion_list.h"
#include "duck.h"
#include "log.h"
#include "render_list.h"
#include "collision.h"
Contact_Listener* Contact_Listener::m_instance = 0;
boolean Contact_Listener::contactState;
/*
Collision (begin).
*/
void Contact_Listener::BeginContact(b2Contact *contact... | [
"landoflos@gmail.com"
] | landoflos@gmail.com |
49299200bd45174ce1b7c1aec7d8dbc388d136df | 759838e85a8c98b5c35f3086a30a353d549a3016 | /cme/pacmensl/src/StateSet/StateSetBase.cpp | 71cba956a31a395b83c95b0205a8e2c6bd1c6fdb | [] | no_license | voduchuy/StMcmcCme | 82fa2fc6aaa282a1a7d146245e8dde787c2380a7 | 4950cbb8aecff33d6ba5c7fb41785f9e43ae44f7 | refs/heads/master | 2023-06-24T14:55:15.518677 | 2021-07-28T17:07:18 | 2021-07-28T17:07:18 | 271,329,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,382 | cpp | //
// Created by Huy Vo on 12/4/18.
//
#include "StateSetBase.h"
namespace pacmensl {
StateSetBase::StateSetBase(MPI_Comm new_comm) : partitioner_(new_comm) {
int ierr;
comm_ = new_comm;
ierr = MPI_Comm_size(comm_, &comm_size_);
PACMENSLCHKERRTHROW(ierr);
ierr = MPI_Comm_rank(comm_, &my_rank_);
PACMENSLCHK... | [
"vdhuy91@gmail.com"
] | vdhuy91@gmail.com |
87862e261f89ff32c7c5dc3f94ddf93ea876f244 | 38c10c01007624cd2056884f25e0d6ab85442194 | /mojo/services/network/network_service_impl.h | b349cda1656077d1475179514306f5344ae03048 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 1,849 | h | // 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.
#ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
#define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
#include "base/compiler_specific.h"
#include ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
a3684f57cd70da9e97c0f861ff3d3d322e4fc547 | 6565182c28637e21087007f09d480a70b387382e | /code/503.下一个更大元素-ii.cpp | 1e91277a8760a98039ab3623e76655603714b89a | [] | no_license | liu-jianhao/leetcode | 08c070f0f140b2dd56cffbbaf25868364addfe53 | 7cbbe0585778517c88aa6ac1d2f2f8478cc931e5 | refs/heads/master | 2021-07-17T05:54:58.228956 | 2020-08-17T07:03:52 | 2020-08-17T07:03:52 | 188,854,718 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | /*
* @lc app=leetcode.cn id=503 lang=cpp
*
* [503] 下一个更大元素 II
*/
class Solution {
public:
vector<int> nextGreaterElements(vector<int>& nums) {
vector<int> res(nums.size(), -1);
stack<int> st;
for(int i = 0; i < 2*nums.size(); ++i)
{
int n = nums[i%nums.size()];
... | [
"jianhaoliu17@gmail.com"
] | jianhaoliu17@gmail.com |
72675371604fd65c7f73eb891453f2ed8c758502 | df95fbf220cc908cd50c3b7afb3845e1878a56f4 | /Excel Sheet Column Title.cpp | 0ab1d8ce22d0b7310dab61f0265621acd81a31ff | [] | no_license | shifou/leetcode | 83f5d5ddb14a61e8bf32ef9cfafce523acf0df94 | 6d1e024fe79881944fedcc8ebc7ffd432e45e6a9 | refs/heads/master | 2021-01-15T13:11:24.479238 | 2015-06-12T19:25:45 | 2015-06-12T19:25:45 | 31,827,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | class Solution {
public:
// AAC
string convertToTitle(int n) {
string ans="";
int hold=26;
while(n)
{
int r=(n-1)%hold;
ans+=('A'+r);
n=(n-1)/26;
}
reverse(ans.begin(),ans.end());
return ans;
}
}... | [
"maolixun@gmail.com"
] | maolixun@gmail.com |
8bb974e79fff2c99f4d01d36e5fc5c5a6d4b0926 | 48c2686017a882ce4ece2226ea4eda76ee21c06f | /shortWordsView.cpp | ac6eef71a2470c43b77a7d11c711c54bb57216a9 | [] | no_license | jack-dinsmore/Vokdh | 3a3b1e7ee32103f49c6646619d26cb289cbb96f2 | 7127c6e5c7be7e1e7394b58401a0419b53f71131 | refs/heads/master | 2023-05-13T10:54:55.900603 | 2021-06-09T01:35:34 | 2021-06-09T01:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | cpp | #include "shortWordsView.h"
void ShortWordsView::extraDraw(ID2D1HwndRenderTarget* renderTarget) const {
renderTarget->FillRectangle({ SUB_MENU_LR_BUFFER, SUB_MENU_TB_BUFFER, screenWidth - SUB_MENU_LR_BUFFER, screenHeight - SUB_MENU_TB_BUFFER }, backBrush);
FLOAT ypos = SUB_MENU_TB_BUFFER + TEXT_BUF... | [
"jtdinsmo@mit.edu"
] | jtdinsmo@mit.edu |
7661885ad0f6a774c1032092aedeeb145207bcf2 | 0e5bd9ec1a8006d117f969042287ea2b45ae1ff4 | /lib/Ndt/ndt_map/src/lazy_grid.cpp | 70f7c0caee8824ef3ce6491a646d17404df78223 | [] | no_license | sven-glory/backup | 22b9dc20d13f9ca2d30ba4eb0a5c4c1a516c1c73 | f079f76872cda72c2d2bc6a01958bf044efe4930 | refs/heads/master | 2023-02-25T13:08:08.891726 | 2020-06-17T01:44:01 | 2020-06-17T01:44:01 | 334,567,040 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,198 | cpp | #include <cstring>
#include <cstdio>
#include <ndt_map/lazy_grid.h>
namespace perception_oru
{
// 构建立方体栅格
LazyGrid::LazyGrid(double cellSize) : protoType(NULL)
{
initialized = false;
centerIsSet = false;
sizeIsSet = false;
cellSizeX = cellSizeY = cellSizeZ = cellSize;
m_rect.Clear();
}
// 构建长方体栅格
Lazy... | [
"lvxiangren@siasun.com"
] | lvxiangren@siasun.com |
69d33619c31337633a02c88662ebe8b8ae4a9bb9 | a4fa50c7af93f09b2ddf463ddacd82ed404615f9 | /src/ast/IndexExpression.cpp | e96507df84b78814288a8ce7ed84699db6c2ba95 | [] | no_license | hadley-siqueira/hdc | 4cd0ab8b98afbc6ee207fc963443e5b89aa0a458 | 4df9e3f8d4070139de292fd98de93d8afbd659b2 | refs/heads/master | 2021-07-08T12:04:59.211561 | 2020-12-28T02:20:46 | 2020-12-28T02:20:46 | 136,125,618 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include "ast/IndexExpression.h"
using namespace hdc;
/* Constructors */
IndexExpression::IndexExpression() {
setKind(AST_INDEX);
}
IndexExpression::IndexExpression(Expression* left, Expression* right) : BinaryOperator(left, right) {
setKind(AST_INDEX);
}
IndexExpression::IndexExpression(Token& oper, Expres... | [
"hadley.siqueira@gmail.com"
] | hadley.siqueira@gmail.com |
cf8c7d7f44bf91156f737358305c2986e98bbbdd | 0c15a952cfe1ae2c5ad2af09203ca4e559e6564c | /decrQualDeaminatedDoubleStranded.cpp | abca5a8a26a81474c5d6f4fcbf0156cdb55f8e66 | [] | no_license | grenaud/libbam | b37fe3d0c2907fc0b351c6579b65b35da658426b | c210c1ce1d4f0e1fe07fcbb4a438f9a7a2e3cf9b | refs/heads/master | 2022-07-07T11:58:15.193167 | 2022-06-24T09:00:06 | 2022-06-24T09:00:06 | 6,300,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,127 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include "api/BamMultiReader.h"
#include "api/BamReader.h"
#include "api/BamWriter.h"
#include "api/BamAux.h"
#include "libgab.h"
#include "PutProgramInHeader.h"
using namespace std;
using namespace BamTools;
const int baseQualForDeam=2;
const int offset=33;... | [
"gabriel.reno@gmail.com"
] | gabriel.reno@gmail.com |
bcb54b327bbec1247bcb4eab71a9edf61143b3bd | 2f60a2285c5f58e9cfe56cfc4a203860a6d9331e | /Groupe.h | 08aed182f7530a139a1757a9063842e88e52e0ba | [] | no_license | Hjok/MeetingUT | dd4611a8c9b0dcc2badc16c3bd7b93ce00b15e67 | b893aa90c0cbae1a805e063b9c4affc2e29d40c7 | refs/heads/master | 2021-01-21T04:33:24.998556 | 2016-06-22T15:40:51 | 2016-06-22T15:40:51 | 55,008,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef GROUPE
#define GROUPE
#include <QString>
/*!
* \brief La classe Groupe stocke les données d'un groupe
*/
class Groupe {
// Attributes
private:
/*! Le nom du groupe */
QString nom;
/*! Et son id */
int id;
// Operations
public:
QString obtenirNom () const {return nom;};
int obtenirId() cons... | [
"jean.courbe@gmx.com"
] | jean.courbe@gmx.com |
346dd0af4907b30ed9c72c8b3134f459e7085767 | 5b8008908f6c752b50e04f05a92cd4b45d254f3e | /Problem 5.cpp | f49e2a805b476914f0083fbbdaf909d412442b61 | [] | no_license | yunusemreozturk/Project-Euler | 534ff07c842a74d2fa056a195f95e175d20fbfdf | e83c6656a0b0b5a3031b74ee89187c5876bde40a | refs/heads/master | 2022-04-25T18:46:07.522452 | 2020-05-02T11:40:55 | 2020-05-02T11:40:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
long long lcm(int n)
{
long long ans = 1;
for (long long i = 1; i <= n; i++)
{
ans = (ans * i)/(__gcd(ans, i));
}
return ans;
}
int main()
{
int n = 20;
cout << lcm(n);
}
| [
"oz2rkk@hotmail.com"
] | oz2rkk@hotmail.com |
245b699dc2aaa5cf85b779ef156055d0c9e610dd | fd15aaab4922ebd09dff21abea8daf86c7a91d9c | /4/char4-9.cpp | d36c7d2cecaa32a276d2827968276ed57782d687 | [] | no_license | zhweiwei/apue | ca2970d80c2cf36b60d3ed773a70a6060b236331 | b719bbf766feb87b3275d7ca1f4784c2626c9997 | refs/heads/master | 2020-03-30T16:23:21.781994 | 2018-10-03T20:05:56 | 2018-10-03T20:05:56 | 151,406,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "apue.h"
#define RWRWRW (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
int main(){
umask(0);
if(creat("f00",RWRWRW)< 0){
std::cout << "create f00 file error"<< std::endl;
return -1;
}else{
umask(S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
}
if(creat("f11",RWRWRW) <0){
std::cout << "create f... | [
"1239218305@qq.com"
] | 1239218305@qq.com |
5f708f4d2c2b92f772694c21b94b709fbbcb7502 | f0ee987789f5a6fe8f104890e95ee56e53f5b9b2 | /pythia-0.8/packages/acis/acismodule/meshing.cc | de887fbd9875a8a572e39ac2bf814da056277868 | [] | no_license | echoi/Coupling_SNAC_CHILD | 457c01adc439e6beb257ac8a33915d5db9a5591b | b888c668084a3172ffccdcc5c4b8e7fff7c503f2 | refs/heads/master | 2021-01-01T18:34:00.403660 | 2015-10-26T13:48:18 | 2015-10-26T13:48:18 | 19,891,618 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,294 | cc | // -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Michael A.G. Aivazis
// California Institute of Technology
// (C) 1998-2005 All Rights Reserved
//
// <LicenseText>
//
// ~~~~~~~~... | [
"echoi2@memphis.edu"
] | echoi2@memphis.edu |
5db92478b1b38aaab19f91c306f64f13068a1bd8 | eb49b8eb7994ff7c7eda8b568072b96cd8bc0c2c | /src/harlequin/DialogManager.hpp | 8985e0a3e5d2e672bc67696862c9ccf0b450c49a | [] | no_license | ProjectAras/TrefusisEngine | a04ade3858955e273f7423296933653cd518887a | 400f6ce5fab8e7ef450d24f0c7631bd1e92dd59b | refs/heads/master | 2022-11-27T23:08:45.021282 | 2020-07-12T00:14:32 | 2020-07-12T00:14:32 | 255,276,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | hpp | #ifndef TREFUSISENGINE_DIALOGMANAGER_HPP
#define TREFUSISENGINE_DIALOGMANAGER_HPP
#include <queue>
#include <string>
struct Dialog {
std::string owner;
std::string text;
};
class DialogManager
{
private:
static std::queue<Dialog> dialogs;
static DialogManager* instance;
static bool isInitialised... | [
"egeemirozkan24@gmail.com"
] | egeemirozkan24@gmail.com |
f95a65d9423dd25de5f1255ce0125d955822f1f4 | f005dc8b8f9bec19bec73c070331a533e9cd3851 | /mk_dir.h | 94e575da42d696b8b1bbc438c26fe937250f11e9 | [] | no_license | upadhyay-p/OS_Assignment_1 | 3e4e16858d6b1507f283660c0420c0a4c55c8899 | 3d90bc9d36cb0bfaa8d3784fae60d314873d751a | refs/heads/master | 2020-03-27T07:54:04.250390 | 2018-09-03T17:38:22 | 2018-09-03T17:38:22 | 146,202,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | h | //Priya Upadhyay
//2018202012
#include <sys/stat.h>
#include <stdio.h>
#include <iostream>
#include <cstring>
using namespace std;
void create_dir(string dest, string dir, string home, string currdir){
string newdir;
//cout<<dest<<" "<<dir;
/* cout<<(dest.substr(0,2));*/
if((dest.substr(0,1)).compare("~")==0 || (de... | [
"priya.upadhyay@students.iiit.ac.in"
] | priya.upadhyay@students.iiit.ac.in |
62d01780bc6057e9082fa17dcf36e12a32341298 | 6e6c87775dc84f74a4c25e9b403259bba75e6013 | /Bomberman/include/GameRules.hpp | b7e47b8e1af81116bb953c45e07fa360baf3febc | [] | no_license | Sybilai/SybLib | 9a545b67f42fd608e6a2931a69efac19504a2e48 | eb62726de04f9b1d1be648a8fb19deb7293f033d | refs/heads/master | 2020-12-25T19:15:22.194033 | 2014-07-29T07:25:18 | 2014-07-29T07:25:18 | 20,766,263 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | hpp | #ifndef BOOM_RULES_HPP
#define BOOM_RULES_HPP
namespace boom
{
/// Avoid hard-coded rules on the client side. The authority may pick and choose and set all sorts of crazy settings.
/// And that's okay.
class GameRules
{
friend class BombermanGame;
public:
const unsigned int& MapWidth() const;
const unsign... | [
"cogloch@outlook.com"
] | cogloch@outlook.com |
cb6deca0d612af3ae7a63fee8e1fff55d26f9f49 | be48e2c5e5a6a0e25869cf466a87e2da9238a3ae | /Testing/vtkVisualize2DLevelSetImageBaseTest.cxx | 6b5bfd713844b1f7107dc07d55d1ce598cb6f0e5 | [] | no_license | ITKv4-LevelSets/LevelSetVisualization | 22586e741f9c68f0d12c89690372831bdc5bd4b8 | b2cd102fe102f80822ee091979be68cd7f5b6e77 | refs/heads/master | 2021-01-10T19:01:44.015221 | 2011-09-15T19:45:09 | 2011-09-15T19:45:09 | 1,672,140 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"arnaud_gelas@hms.harvard.edu"
] | arnaud_gelas@hms.harvard.edu |
92c5165b997008fd3731e6162955105e3fe2a1f2 | 1ca1418e6f431c2f544f4bcc9a3c921395d56c95 | /src/UnitTests/c11_test.cc | ddf336f599f0ecc8299a7ca53787048f79a624b5 | [] | no_license | TIHan/TEngine | 079daba4e70f468c65bcd8b5c69f30dce3cd8a77 | ba64debd54cd0478bb34d2ea5c07c1958b0a6a56 | refs/heads/master | 2020-05-30T05:26:13.920405 | 2013-02-13T10:41:50 | 2013-02-13T10:41:50 | 5,486,955 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cc | #include <engine_lib.h>
#include <gtest/gtest.h>
class C11Test : public ::testing::Test {
};
TEST_F(C11Test, MoveSemantics) {
std::vector<uint8_t> v;
auto i = std::move(1);
v.push_back(i); // lvalue
v.push_back(std::move(i)); // rvalue
v.push_back(1); // rvalue
v.push_back(std::mo... | [
"lol.tihan@gmail.com"
] | lol.tihan@gmail.com |
b1dd05887cdfe7aaeb7adcc6ae444f2f8cdc772b | bc8c075b1eb7628f88dedd2c1acf221ed2ed12f8 | /backup/OrderedArray.cpp | 3a288147593b9a74cb4dcef73ab2cae2db3b0679 | [] | no_license | HyperGamingSandbox/Seed | 4b896f649adf41f4e965b1b0ad6a0850df55bac6 | 0dcecabb33bcbff5435311724a51904d41c7de03 | refs/heads/master | 2021-09-13T21:24:31.089275 | 2018-05-04T10:47:41 | 2018-05-04T10:47:41 | 111,595,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,756 | cpp | #include "OrderedArray.h"
#include "DD\DrawMachine.h"
#include "RenderObject.h"
OrderedArray::OrderedArray() : LuaBaseClass() {
_count = _exists = _dcount = 0;
_size = 8;
_data = new PLuaBaseClass[_size];
_deleted = new PIndex[_size];
_sortType = 0;
setmt();
}
OrderedArray::~OrderedArray() {
auto p = _data;
... | [
"dessoya@gmail.com"
] | dessoya@gmail.com |
d97013b0f6eb862ae1e3bccdecd27c966cff7aa5 | d106ecb5f5526d265fd435ed4e1fb02c48a4bed7 | /1. 算法部分/第9章 动态规划/第三节 动态规划经典题/2.演讲大厅安排/hall2.cpp | b05bf6cd19e5522529db66030ed9b10c8ae9e5d4 | [] | no_license | Lucifer-ww/NOIP_ReC | acd53ccd6fc8a845f8fdba87ed12ec6811154d6c | ed20057f68bd7151c9d9e7067290b7cb0e637a9a | refs/heads/main | 2023-01-07T14:52:51.502799 | 2020-11-04T06:32:27 | 2020-11-04T06:32:27 | 309,902,344 | 43 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include<cstdio>
#define MAXN 100000
int next[MAXN],bgn[MAXN],first[MAXN],f[MAXN];
int ans,maxn,tot;
int max(int a,int b)
{
return a>b?a:b;
}
void add_edge(int a,int b)
{
tot++;
next[tot]=first[a];
first[a]=tot;
bgn[tot]=b;
}
int main(void)
{
int n;
scanf("%d",&n);
for (int i=0;i<n;i++)
{
... | [
"thomaswang1h@gmail.com"
] | thomaswang1h@gmail.com |
4e6e49ed6f70d65106ee0bf3c3159f1c17b18dda | 0bcde4a29be0a18d9961a0335056c15a7662157b | /src/mesh/poisson/Geometry.h | 5d03508b493d5b5b4ecef1db4cae1bd92779be86 | [] | no_license | tiagodc/3DTK | b8d66299b7b51b1ff63c0edbf8c008859948fd69 | 4fe2d3465fd50bbd253e5fff4c4744ed675dce29 | refs/heads/master | 2020-03-24T00:03:31.322841 | 2018-07-20T13:41:28 | 2018-07-20T13:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,893 | h | /*
Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
con... | [
"hsia.sun@gmail.com"
] | hsia.sun@gmail.com |
85e408518dd3e6c7a1a734c3d5c8cb68022b3b2d | 4f235fe33bfc43580187b27fe488eccf4162fc33 | /tests/ok/libiconv.cpp | c8b6cd06ddb4154869a0141ba084c642660a628b | [] | no_license | cppan/tests | 405a9239460a441e6405a0a812a98fb889e24796 | 18735da4271f22ee0760d8c473bfbe0e7cf8fce8 | refs/heads/master | 2020-04-18T01:17:36.874469 | 2017-03-23T12:56:31 | 2017-03-23T12:56:31 | 67,119,306 | 1 | 2 | null | 2017-07-04T17:44:24 | 2016-09-01T09:50:26 | C++ | UTF-8 | C++ | false | false | 118 | cpp | /*
dependencies:
- pvt.cppan.demo.gnu.iconv.libiconv
*/
#include <iconv.h>
int main(int argc, char* argv[])
{
}
| [
"egor.pugin@gmail.com"
] | egor.pugin@gmail.com |
2c6ee10891d9716d623cfe1d67c700841db58db4 | 02099155d15b3d65330abc7276b13c8deff68e94 | /A/A. Panoramix's Prediction/main.cpp | cf0f3ea353ad564775151b61f23bd354238b9f7d | [] | no_license | xUser5000/competitive-programming | d7c760fa6db58956e472dd80e24def0358bbb5a8 | 90337c982dd3663a69f2d19021e692f1edb1b3a5 | refs/heads/master | 2023-06-26T21:56:02.452867 | 2021-07-23T22:39:49 | 2021-07-23T22:39:49 | 288,557,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
int n, m; cin >> n >> m;
vector<int> vc;
for (int i = 2; i <= 50; i++) {
bool f = false;
for (int j = 0; j < vc.size(); j++) {
if (i % vc[j] == 0) f = true;
}
if (!f) vc.push_back(i);... | [
"abdallahar1974@gmail.com"
] | abdallahar1974@gmail.com |
06df508ef9f454b27af7e221123348140d61e628 | e0fd392395cfb9c4651ce2eb46f25f62193b46d4 | /test/cxx/Core/UnionStationTest.cpp | 55a10778be32138c62007db5e014f15a0fdee141 | [
"MIT"
] | permissive | nelyj/passenger | fcc51d668c72003db7f719efc779855b2ba15aec | ce8138442e74acc83c4fa996c52692ea57d61bc6 | refs/heads/master | 2021-05-31T18:02:36.532786 | 2016-06-17T17:47:09 | 2016-06-17T18:07:09 | 61,965,975 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,852 | cpp | #include <TestSupport.h>
#include <Core/UnionStation/Context.h>
#include <Core/UnionStation/Transaction.h>
#include <MessageClient.h>
#include <UstRouter/Controller.h>
#include <Utils/MessageIO.h>
#include <Utils/ScopeGuard.h>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <oxt/thread.hpp>
#include... | [
"hongli@phusion.nl"
] | hongli@phusion.nl |
bb479f5ce512679c4cc23951c03097c865248d4d | 0e42587e8fac434a0565a13851cb338ca1103120 | /Noise.hpp | eeafa91abb5f4a6d04280fbc99fe15c2812dd87c | [] | no_license | returnEdo/Minecrap | b4adb5b298369a76a79424775b3e3da2fa72c26d | cc5a0153d5a0ba0ffefa3bbf867c361c3bf99d89 | refs/heads/main | 2023-09-04T12:40:48.022129 | 2021-10-13T13:37:29 | 2021-10-13T13:37:29 | 416,757,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | hpp | #pragma once
#include <cstdint>
#include <vector>
#include <array>
#include "INoise.hpp"
namespace Noise
{
struct NoiseSetup
{
uint32_t m_octaveCount { 4 };
float m_damping { 0.5f };
int32_t m_seed { 123456 };
float m_periodCountx { 10 };
float m_periodCounty { 10 };
};
class CubicNoise: public... | [
"fraccaroedo@gmail.com"
] | fraccaroedo@gmail.com |
bcbdb5660fce3c647f01ac145e0484184565d92a | 58d7c7d0552bcb34e320283c2c0ddcae3444c38f | /project/Tom And Jerry/Position.h | 989ecb34f4a14aa3730136b972f80c70fedff490 | [] | no_license | DarkoDanchev/Data_Structures | 120d5170d66b46fb3bde72840fe48c693fed90a7 | 48d106e8c3cb80f3a78b77690471adb0c1e0233f | refs/heads/master | 2021-01-18T22:13:19.725561 | 2017-02-10T19:01:48 | 2017-02-10T19:01:48 | 72,298,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include "Furniture.h"
using namespace std;
class Position
{
private:
int x,y;
Furniture furniture;
bool paintable;
public:
Position();
Position(int x,int y);
Position(int x,int y,Furniture);
Position(int x,int y,Furniture,bool);
void setPaintable(bool);
void setFurni... | [
"dancevdarko@gmail.com"
] | dancevdarko@gmail.com |
7cd48de8ad2b36ca190e7dc1fcb2ef1a9d2e9539 | a5b13fc4bb25b1418296b540ca1f5d272fba8926 | /while_and_for/8.cpp | 1901affa0dc0da79b075b38829b5cf12690465cc | [] | no_license | M2nzy/C | da1e0517820ed34171112e02d1cd7372e478e23e | c8b8d8d44c47c9c2ac98d373f7e5f38013e17c38 | refs/heads/master | 2021-04-06T21:29:35.711180 | 2018-03-29T12:40:04 | 2018-03-29T12:40:04 | 125,405,308 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 323 | cpp | #include <stdio.h>
void main()
{
int n,i,j;
while (1) {
printf("1 ~ 26 정수 입력 : ");
scanf_s("%d", &n);
if (1 <= n && n <= 26) {
for (i = 1; i <= n; i++)
{
for (j = 0; j < i; j++)
printf("%c ", 'A' + j);
printf("\n");
}
break;
}
else
printf("다시 입력하세요.\n");
}
} | [
"yequrz@naver.com"
] | yequrz@naver.com |
b86b0ef51cdbbe0fc3db9f94f26c33d7871ba150 | 3677628dab6aad030dd94d48215298478e2aaebf | /srt_editor/src/main.h | 93bd793bae7547b1146e25e07b4cf562fe843a81 | [
"MIT"
] | permissive | R-CO/srt_editor | 436cd0d921d2d28719b7a29b2c33453051b35230 | 17abf133b0d69b28b8bd2f92bf44cc2fbf102684 | refs/heads/master | 2021-01-10T16:11:11.978761 | 2016-01-31T16:46:17 | 2016-01-31T16:46:17 | 50,594,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | h | //The MIT License(MIT)
//
//Copyright(c) 2016 R-CO
//
//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, merg... | [
"daniel1820kobe@gmail.com"
] | daniel1820kobe@gmail.com |
6251938ccd82712b05451054c35e25ad60e67821 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_ENUM_CarbonTypeFace_functions.cpp | 57acbefbdc70e67629db3fef222c879e837296fc | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | // DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_ENUM_CarbonTypeFace_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
#ifdef ... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
bd066d2ee11ced282900765f5a9b6befea717213 | 6ce049ad0073d7d5e14efde081c94d9432a15d35 | /Gi/codeforces/557C.cpp | d9f814ff4d9817a01c7747a82e89bc9897cf937d | [] | no_license | yancouto/maratona-sua-mae | 0f1377c2902375dc3157e6895624e198f52151e0 | 75f5788f981b3baeb6488bbf3483062fa355c394 | refs/heads/master | 2020-05-31T03:26:21.233601 | 2016-08-19T03:28:22 | 2016-08-19T03:28:37 | 38,175,020 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | //#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define fst first
#define snd second
typedef pair<int, int> pii;
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define pb push_back
#define for_tests(t, tt) int t; scanf("%d", &t); f... | [
"giovana.delfino@gmail.com"
] | giovana.delfino@gmail.com |
7cbbe8873f1aacbcdc2e9c77d38933be136f1de6 | dd3d11771fd5affedf06f9fcf174bc83a3f2b139 | /BotCore/DofusProtocol/CharacterFirstSelectionMessage.h | 87b701c0528cf921da261159f85aa2f442ccfd03 | [] | no_license | Arkwell9112/arkwBot | d3f77ad3874e831594bd5712705983618e94f258 | 859f78dd5c777077b3005870800cb62eec1a9587 | refs/heads/master | 2023-03-17T12:45:07.560436 | 2021-03-16T11:22:35 | 2021-03-16T11:22:35 | 338,042,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #ifndef CHARACTERFIRSTSELECTIONMESSAGE
#define CHARACTERFIRSTSELECTIONMESSAGE
#include "../IO/ICustomDataInput.h"
#include "CharacterSelectionMessage.h"
class CharacterFirstSelectionMessage : public CharacterSelectionMessage {
public:
bool doTutorial = false;
unsigned int protocolId = 3197;
void deserial... | [
"arkwell9112@nowhere.com"
] | arkwell9112@nowhere.com |
d049e548d61d3d27ae36bc513807c7c71a61f4f3 | 7c3cf1e21c2430778a119c6f8125a4ad7ba57cbe | /Engine/Engine/MenuStuff/TableEntry/EntryTextBox.hpp | e125f272d59ff1ede5ccafedc2c0c015c653429e | [
"MIT"
] | permissive | yougren/Engine | f7d2c9144463268e5b10421bdace91923bce30dd | 154b8fd5bb419a751031eaad4235cd8f18063161 | refs/heads/master | 2021-06-06T18:24:04.755690 | 2016-04-21T21:24:26 | 2016-04-21T21:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include "..\..\Utility\Utilities.hpp"
#include <iostream>
#include "..\SingleTextBox.hpp"
#include "..\MenuSprite.hpp"
class EntryTextBox : public MenuElement
{
public:
EntryTextBox();
EntryTextBox( sf::Font * const ffont, const unsigned int& ffontsize, const sf::Color &fco... | [
"riley.d.waugh@gmail.com"
] | riley.d.waugh@gmail.com |
91be64827639f8bbba0d9d43cb2a446f1484fef8 | 786de89be635eb21295070a6a3452f3a7fe6712c | /pypdsdata/tags/V00-00-19/pyext/types/cspad/ConfigV2.cpp | 3a9bbf0349c0f754922b3601cfdf55f45f4bea37 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,189 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class ConfigV2...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
#include "SITConfig/SITConfig.h"
//----... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
220302a611a38e62d538d088dfc5629cf8f6377d | 9f2a8ff62a83fe1919fe2754ce84114e48202929 | /Sources/Wireless_Follower_Counter.ino | c31a2d57829fdd8e7681fe8dbc707a57817cd43b | [
"MIT"
] | permissive | Eltech008/FollowersCounter | 7a947b7916358041c3cde8eab001153d9d0cec66 | 0bfafb3602a44907b1dfcc28b9e1242aa9223583 | refs/heads/master | 2020-03-25T02:41:06.631528 | 2018-07-18T11:03:19 | 2018-07-18T11:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,614 | ino | #include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <ESP8266WebServer.h>
#include <EEPROM.h>
#include <ESP8266HTTPClient.h>
#include <ArduinoJson.h>
#include <YoutubeApi.h>
#include <FacebookApi.h>
#include <Adafruit_NeoPixel.h>
#include "Config.h"
#define mediaCount... | [
"fardenco@live.fr"
] | fardenco@live.fr |
2ab912189a1cad0dcbad8c43213c65ce9a6fc1f3 | 0f2f893893431fb16ab42b19b704200f2aad3176 | /Functions/Pass by Address/main.cpp | 2d7ca25ff49bd48e2dc3e4942537c5411ff74126 | [] | no_license | Snehanko/Basic-Cpp-Programs | 081e30ba8fc9779ec9d2451fff38c78dbe4f259f | e4b949bdd3bc9e6489baac0bdf43391abf615581 | refs/heads/main | 2023-06-26T07:38:24.894215 | 2021-07-28T15:03:56 | 2021-07-28T15:03:56 | 390,393,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include <iostream>
using namespace std;
void swap(int *a,int *b){
int temp;
temp=*a;
*a=*b;
*b=temp;
cout<<*a<<" "<<*b<<endl;
cout<<a<<" "<<b<<endl;
}
int main()
{
int x=10,y=20;
swap(&x,&y);
cout<<x<<" "<<y;
return 0;
}
| [
"snehankobose31@gmail.com"
] | snehankobose31@gmail.com |
8aa9addea3242d668c283b884abc86be947bfaa2 | 2c05eb4a1ae4a1a1af2658aa2f4a7ee7c9a16b37 | /p126_1_whileLoop.cpp | f44a444ec619cdc74d96e5afd5b85ae8034db1c4 | [] | no_license | philippds-learn/Programming-Principles-and-Practice-Using-Cpp_Bjarne-Stroustrup_Chapter-02-11 | e668ec437d0e2c55998f332a2c1cf14899964c90 | ae64cce29b8ab56e02c7b7d0d7ad2192d8746cf5 | refs/heads/master | 2021-10-26T04:54:13.149956 | 2019-04-10T18:02:51 | 2019-04-10T18:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | // Philipp Siedler
// Bjarne Stroustrup's PP
// Chapter 4 Drill 1
#include "std_lib_facilities.h"
int main()
{
cout << "type in two integers or a '|' to terminate the program:\n";
int x1;
int x2;
while (cin >> x1 >> x2)
{
if (x1 == '|')
{
return 0;
}
else
cout << x1 << ", " << x2 << "\n";
}
k... | [
"p.d.siedler@gmail.com"
] | p.d.siedler@gmail.com |
06a492cd10591fac2c8fb272dc0dd5f9bb3344cf | c788fdb6af5a078c80a360c1e675872ed8747787 | /Example7_Texture/main.cpp | 28e8e6310e4b1e73d932baee2230c3c800c7143d | [] | no_license | ysern/directXPres | 7c674f51cb06bf30ba3ef3fb3ca978bc1c6e8275 | d863bb08e5731605cc004b130859b52db5c2b8f7 | refs/heads/master | 2020-03-18T20:23:35.854545 | 2018-05-28T22:04:09 | 2018-05-28T22:04:09 | 135,212,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,557 | cpp | //Include necessary Headers//
#include <windows.h>
#include <d3d9.h>
#include "d3dx9.h"
//Include the Direct3D library
#pragma comment (lib, "d3d9.lib")
//Define variables/constants//
LPCTSTR WndClassName = "firstwindow"; //Define our window class name
HWND hwnd = NULL; //Sets our windows handle to NULL
const ... | [
"sernivka@gmail.com"
] | sernivka@gmail.com |
4a7bfea2e4d21c41297a797fc0e982437b8208a6 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /Atelier Courrier/JFCControls/JFCTitle.cpp | 1a84d08d4b8c44907c88ce92c11f313c7bca3203 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,902 | cpp | // on inclut les défintions nécessaires
#include "stdafx.h"
#include "JFCTitle.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// le constructeur
//////////////////////////////////////////... | [
"alain.chambard@kantarmedia.com"
] | alain.chambard@kantarmedia.com |
ca591de42c16f0cc1c4374d17f7eb7647b17870a | 6abb92d99ff4218866eafab64390653addbf0d64 | /AtCoder/abc/abc062/b.cpp | 2e6436773c75887f1f90589494e32efe09ce4e53 | [] | no_license | Johannyjm/c-pro | 38a7b81aff872b2246e5c63d6e49ef3dfb0789ae | 770f2ac419b31bb0d47c4ee93c717c0c98c1d97d | refs/heads/main | 2023-08-18T01:02:23.761499 | 2023-08-07T15:13:58 | 2023-08-07T15:13:58 | 217,938,272 | 0 | 0 | null | 2023-06-25T15:11:37 | 2019-10-28T00:51:09 | C++ | UTF-8 | C++ | false | false | 504 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int h, w;
cin >> h >> w;
char a[h][w];
rep(i, h){
rep(j, w){
cin >> a[i][j];
}
}
... | [
"meetpastarts@gmail.com"
] | meetpastarts@gmail.com |
6a3ed24f68ed745edf992dacfdfcd63487f3d6f3 | 2095af306a0eb2e10c78aa6047f85a7dcdc7c47d | /include/Control/UIText.h | 6cc1cbdb76bd6eb3b8b8798556ddf4d0e93085ee | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-scintilla"
] | permissive | grimtraveller/LongUI | ff4e5f565a44c266a8aede6925b75de711e5ea41 | d4fed468217312cb77e99b7f1ead45bdab9223b6 | refs/heads/master | 2020-12-11T03:25:13.373234 | 2016-03-12T12:13:36 | 2016-03-12T12:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | h | #pragma once
/**
* Copyright (c) 2014-2016 dustpg mailto:dustpg@gmail.com
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights t... | [
"dustpg@gmail.com"
] | dustpg@gmail.com |
1bf2ee159ce0a3a1f89fa30d96caed4f52a18a09 | 75d3d3a64350f42de3685f4a32c330ccd643da76 | /Post/Post/Post.cpp | bf053bdd37f1272547aa571c4978fc640afe1ab8 | [] | no_license | Phaysik/School-CPP-Projects | 560830706a00cb2b2ce6f783e557950dec9c1aa8 | fee320dfe7787124db599124e6bc738c9f71a3f6 | refs/heads/master | 2020-04-27T01:14:03.912405 | 2019-03-11T18:33:18 | 2019-03-11T18:33:18 | 173,959,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | /*Programmer: Matthew Moore
Description: Post-Test Loop
Date: 1-9-19
*/
#include <iostream>
#include <string>
#include <regex>
using namespace std;
void RegNum(string num) //Validate Num
{
while (true)
{
if (!regex_match(num, regex("[-+]?[0-9]*\\.?[0-9]+")))
{
cout << "Please re-enter in your number: ";
ci... | [
"710866@sths.ssd.k12.mo.us"
] | 710866@sths.ssd.k12.mo.us |
a16f3252db2aecfb78fce710617bc71479a2ec53 | e4d619f21b867337d34e32922240e47f87125954 | /2assign/pinatrace.cpp | 56e0604dda5f8c4d2e7395b5bb64d9629104ec54 | [] | no_license | sidmutha/csdlab | c88f596e848904f3376a7bf831218ed9c28dea58 | be11a0b7d976f2cf411708f61742f6c5c7097159 | refs/heads/master | 2021-01-15T10:47:18.017301 | 2014-10-02T11:40:05 | 2014-10-02T11:40:05 | 23,510,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,999 | cpp | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2014 Intel Corporation. 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 co... | [
"sidmutha@gmail.com"
] | sidmutha@gmail.com |
e724e80de45bda01b160d545f806320bed46ea27 | 3d3bc4fac7cf86641a7a005c3f1cd3d74d28b080 | /WxGenGraph/WxGenGraph/unittree.h | f6ce6a8a35e04f0a77d6da17d6b309b8736173af | [] | no_license | altimosk/testgeom | 025884f9a15c52c50aba50f882c6dd68bf8cab89 | 5c6d9ea41b0f54c02d5b5748a64c0b4f620c2691 | refs/heads/master | 2021-01-10T14:28:15.705703 | 2016-02-11T19:40:53 | 2016-02-11T19:40:53 | 45,563,927 | 0 | 0 | null | 2015-11-09T09:45:07 | 2015-11-04T19:59:19 | C++ | UTF-8 | C++ | false | false | 667 | h | #ifndef UNITTREE_H
#define UNITTREE_H
#include "gentree.h"
#include <iostream>
class UnitTreeNode : public TreeNode
{
public:
unsigned long id;
UnitTreeNode(char* nm) : TreeNode(nm), id(0) {
}
UnitTreeNode* AddChild(char* nm)
{
UnitTreeNode* c = new UnitTreeNode(nm);
c->parent = this;
children.push_back(... | [
"altimosk@gmail.com"
] | altimosk@gmail.com |
de5bad9647e1346b074c05aca5a1e3e10c7e16be | 02747fefd5dc1d821afa7b2d8606c55c976b9730 | /MISPELL.cpp | 4fd60c22d5de3dd0c0a506c9f0b13071352ded3f | [] | no_license | fdoom/algospot-study | 03a014eafca4d8da3b4caae6051a883ce1ab60fb | 0de66db908258cb73bf293132c5ee2b8f753267b | refs/heads/main | 2023-08-01T22:41:22.955228 | 2021-09-14T04:25:36 | 2021-09-14T04:25:36 | 311,276,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(void)
{
int t;
cin >> t;
for(int j = 0; j < t; j++)
{
int n;
string arr;
cin >> n >> arr;
cout << j + 1 << " ";
for (int i = 0; i < arr.length(); i++)
{
if (n == i + 1) continue;
cout << arr[i];
}
cout << endl;
}
} | [
"11jjklol@naver.com"
] | 11jjklol@naver.com |
60cf1a43908e886edcb30a275c81c3a06b30bf95 | 6d91631491a7bfa6ee3a3958dab2d5868364fe0c | /Project/CubeBox.cpp | 967cf82da91a6366775c19884aafa963b5970c10 | [
"MIT"
] | permissive | recter/D3DXTest | 0ebf45eeb18a5e427865103ae8ac111a7fec7ff7 | 396b1ad1cb64072f320190cc35419b2d882a9ea2 | refs/heads/master | 2020-06-05T15:44:11.368011 | 2015-04-19T16:12:54 | 2015-04-19T16:12:54 | 34,198,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,559 | cpp | #include "CubeBox.h"
const DWORD VertexBox::FVF = (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1);
CCubeBox::CCubeBox(void)
{
m_Tex = 0;
m_VB = 0;
m_IB = 0;
}
//-------------------------------------------------------------------------
CCubeBox::~CCubeBox(void)
{
}
//---------------------------------------... | [
"rectvv@gmail.com"
] | rectvv@gmail.com |
113d5b4583348453afa1499baa68ab7ee1395832 | 601aeee679de7a54c1ee66a24f1b0c194625b810 | /Arduino/StepperEnvironment/ArdoErr.ino | 629137cb7629efae70513a303e8f2eade19166e8 | [] | no_license | 15831944/cnc-2 | 6ea422f2d68702fae66782397ca8a7bc3880137d | 52e1f1ae59c60898293891d0fcc3fef0b61bc0d1 | refs/heads/master | 2022-11-13T12:29:13.812735 | 2020-07-10T18:42:24 | 2020-07-10T18:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | ino | #include <SoftwareSerial.h>
#include "ArdoErr.h"
#include "MainLoop.h"
///////////////////////////////////////////////////////
// static initialization:
const char* LastErrorCodes::messageText = "";
unsigned char LastErrorCodes::register1Byte_A = '\0';
int32_t LastErrorCodes::register4Byte_A = ... | [
"stefan.hoelzer@fplusp.de"
] | stefan.hoelzer@fplusp.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.