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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
99d0752b2f81d636d6be4dad2c15dc96c2081549 | 92b8afe998694eed49ba40d5edaec34f7ae5113b | /actorbase.cpp | c63acc40f9eeb2fe69f5fbf62532bc7dbd66f772 | [] | no_license | ZeosBios/web-server | 7ce7949deef182394e2c710b92ba6eeecd2c4412 | ef65161323e8167018015e4b39f73d4f36045bcb | refs/heads/master | 2020-04-20T15:12:12.003799 | 2019-02-07T02:54:38 | 2019-02-07T02:54:38 | 168,921,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include "actorbase.h"
#include <string.h>
actorbase::actorbase(int sockdf)
: halt_flag(false)
, m_message_queue()
, m_sockdf(sockdf)
{}
actorbase::~actorbase() = default;
void actorbase::entry(char * msg)
{
std::lock_guard<std::mutex> lock(m_mtx);
if (halt_flag) return;
m_message_queue.push(... | [
"zinowjewsergey@yandex.ru"
] | zinowjewsergey@yandex.ru |
a87201d73c631e3675cc77975ca384afc7abbc0f | cc5a8057bf2e274ed1de92c2b74dfc27d543962a | /rotary2/pid.ino | 6c482cd5de99c8d49138417bba1699d15b31e67e | [] | no_license | eatoin5hrdlu/PACE | 015b8b6a949f22591c230a285b9e21c16b0279f6 | e5283f6b10d1d5d467f9c7c5d2c41977dd512f25 | refs/heads/master | 2020-06-12T17:37:36.202719 | 2017-06-26T14:49:36 | 2017-06-26T14:49:36 | 9,016,161 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,915 | ino | /**********************************************************************************************
* Arduino PID Library - Version 1.0.1
* by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com
*
* This Library is licensed under a GPLv3 License
*********************************************************************... | [
"peter.reintjes@ncmls.org"
] | peter.reintjes@ncmls.org |
580deed951268e50fc94aeb5ebf4e8425a8c925d | 09af9ed10b43d86bbda1869782523dec6bc6e8f7 | /fraction/main.cpp | 15bc8301f4667b76f28c29048a1dbfb24ac96ab4 | [] | no_license | VALIKKKKK/cpp | ef49b462f44e9a1dcaf8903c638e7295f5f5e200 | a7a1f4d75abcb5ce7c1b9adeca78d48609dcecc6 | refs/heads/master | 2020-04-26T11:00:36.714403 | 2019-04-07T19:31:07 | 2019-04-07T19:31:07 | 173,502,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <iostream>
#include "fraction.h"
#include "algorithm"
using namespace std;
int main()
{
Fraction a(3,8);
Fraction b(4,8);
Fraction c;
c = a+b;
std::cout << c.m_num << "/" << c.m_denum << std::endl;
return 0;
}
| [
"kashko2001v@mail.ru"
] | kashko2001v@mail.ru |
6e10433f15d216f8ab0891d249505ba5a6252d9e | 2e46ef9411a8e84074d35338240a69f65b7a6a5d | /include/tdp/inertial/imu_factory.h | 931cc140a8777d88d7beb2073346ea1531e205b4 | [
"MIT-feh"
] | permissive | zebrajack/tdp | c0deff77120e20f0daf32add31cbcebe480fb37d | dcab53662be5b88db1538cf831707b07ab96e387 | refs/heads/master | 2021-07-08T12:10:09.626146 | 2017-09-11T19:25:42 | 2017-09-11T19:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | h | /* Copyright (c) 2016, Julian Straub <jstraub@csail.mit.edu> Licensed
* under the MIT license. See the license file LICENSE.
*/
#pragma once
#include <string>
#include <iostream>
#include <pangolin/utils/uri.h>
#include <pangolin/utils/file_utils.h>
#include <tdp/inertial/imu_interface.h>
#ifdef ASIO_FOUND
# inclu... | [
"jstraub@csail.mit.edu"
] | jstraub@csail.mit.edu |
5e3e10eee73db6d026591b908b5eec53cbb6c43d | 35abdfb049c2c2c763713e05f4ad242d02fabd32 | /libs/libPW/SURE/CustomSureProcess.h | 0c326b8b3809149103b7a470a6b28ee43cb04d8c | [] | no_license | zhanshenman/GRAPHOS | a4d4e80bf1434ac268e6874a467e90e9b52c1982 | 44663fd2d02da679333566ef36b40a283a96fac4 | refs/heads/master | 2021-01-25T14:04:51.585435 | 2018-02-12T10:23:25 | 2018-02-12T10:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | h | /**
*-------------------------------------------------
* Copyright 2016 by Tidop Research Group <daguilera@usal.se>
*
* This file is part of GRAPHOS - inteGRAted PHOtogrammetric Suite.
*
* GRAPHOS - inteGRAted PHOtogrammetric Suite is free software: you can redistribute
* it and/or modify it under the terms of ... | [
"dguerrero@usal.es"
] | dguerrero@usal.es |
b490a2e7932aa7625eb0739cdf7ffd74747ed0d4 | 3114d7af0f96faf81218f6c38068967c26ea1884 | /semesterIII/OOP/Exp8.cpp | becb892627e6bfefe9a7355fa2c36ae8f2483bd0 | [
"MIT"
] | permissive | ShreerajRaul/ghriet | 9c7769f765993af4214b2eadcfa1a9285a5754a1 | 4ff8372ced0c871f019a61b735c60725b6d373d4 | refs/heads/main | 2023-03-27T10:45:52.437348 | 2021-03-26T19:45:05 | 2021-03-26T19:45:05 | 351,061,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | #include<iostream>
#include<string>
#include<cstring>
using namespace std;
class person
{
private:
char name[40],dob[15],bdg[15];
int h,w;
public:
static int count;
friend class personal;
person()
{
char * name=new char[40];
char *dob=new char[80];
char *bdg=new char[15];
h=w=0;
}
static void recordcount(... | [
"79018054+ShreerajRaul@users.noreply.github.com"
] | 79018054+ShreerajRaul@users.noreply.github.com |
b119ecf65139a9a4356a37e81981a3044f88f222 | 304ea2162378f3d7bbdb5a95898bf6a4fdbbb9e3 | /athena/core/x86/Common/include/route/LocalGeographicCS.hpp | 7d724bd55ea555f7b25779b6357ef487c5ec39fb | [] | no_license | Tubbxl/Athena_Src | 5ad65686fd9fe5baed0dbda19f31c536f33e253d | 53d2c0a4829b6eff0443546da37a6461166cb6c7 | refs/heads/master | 2022-01-29T23:58:42.551053 | 2018-12-04T09:56:01 | 2018-12-04T09:56:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,940 | hpp | // File: LocalGeographicCS.hpp
// Creation Date: Tuesday, March 6 2012
// Author: Julius Ziegler <ziegler@mrt.uka.de>
#if !defined(LOCALGEOGRAPHICCS_HPP)
#define LOCALGEOGRAPHICCS_HPP
#include "convert_coordinates.hpp"
#include <utility>
struct LocalGeographicCS
{
LocalGeographicCS();
LocalG... | [
"297285508@qq.com"
] | 297285508@qq.com |
a5fec85d4fae40558cae086776ed2b200bffa1af | 5988ea61f0a5b61fef8550601b983b46beba9c5d | /3rd/ACE-5.7.0/ACE_wrappers/examples/APG/Logging/Use_Stderr.cpp | bb9008321bbcc2230f7981576665bacf4c35f319 | [
"MIT"
] | permissive | binghuo365/BaseLab | e2fd1278ee149d8819b29feaa97240dec7c8b293 | 2b7720f6173672efd9178e45c3c5a9283257732a | refs/heads/master | 2016-09-15T07:50:48.426709 | 2016-05-04T09:46:51 | 2016-05-04T09:46:51 | 38,291,364 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | // $Id: Use_Stderr.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "ace/Log_Msg.h"
void foo (void);
// Listing 1 code/ch03
int ACE_TMAIN (int, ACE_TCHAR *argv[])
{
// open() requires the name of the application
// (e.g. -- argv[0]) because the underlying
// implementation may use it in the log output.
ACE_LO... | [
"binghuo365@hotmail.com"
] | binghuo365@hotmail.com |
ed22cc45d867b58537b8c837bde4a984c96b7c7e | bb6616a61e10117893e55c491bc9fbc907f91631 | /TowerOfHanoi/TowerOfHanoi/Drawer.cpp | c7605010d5b339085feecc6d61f4a1963fce2832 | [] | no_license | sep-inc/campus_202009_nakamoto | 395b34ccae2a60f3a3694d61135cda6ebf74e5b8 | 1b5f60b8f2343649660a5e5f37066b172d14723b | refs/heads/master | 2023-01-08T03:50:02.783079 | 2020-11-07T16:02:00 | 2020-11-07T16:02:00 | 292,439,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include "Drawer.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/*=============================================*/
/* 引数resouce_をバッファに書き込む関数 */
/* */
/* 文字列が格納され出力されるので改行コードも */
/* 含め渡す必要がある */
/*===============================... | [
"obrsk23@yahoo.co.jp"
] | obrsk23@yahoo.co.jp |
df451dbf5725e966a23832381dd712256300bc9f | 4356974fa77543eff99048729643050528bbc655 | /GLProject_Particles/GLProject_Particles/Tail.cpp | bd62c1e6f51598f614025d0f082797c8875b0e79 | [] | no_license | jihongwei003/OpenGL | ef48ad10d68236884802ba58df47a979385b3a69 | 2a431ba5ec23338f4aaa1be9a15d84d4a8770382 | refs/heads/master | 2021-01-19T15:04:09.551113 | 2015-04-05T01:52:19 | 2015-04-05T01:52:19 | 32,259,571 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 685 | cpp | #include "Tail.h"
Tail::Tail()
{
m_tailLength = 8;
}
void Tail::Render()
{
if (m_queTail.size() > 0)
{
float shellSize = m_queTail[0].GetSize();
float r = 0.0f, g = 0.0f, b = 0.0f;
float x = 0.0f, y = 0.0f, z = 0.0f;
for (int i = 0; i<m_queTail.size(); i++)
{
shellSize -= 0.1;
if (i > m_tailLength... | [
"837295194@qq.com"
] | 837295194@qq.com |
e816f166e91fa954a360ac95a7167da528eae182 | 63b1306f99b4d3b0f12d7bac3d7be85ffaabdf77 | /Top Down Shooter/GothicVaniaBattlePriestStates.cpp | b0511e0ea479f0bfb0aef5c2325b046c5fb00ab3 | [] | no_license | Niruz/Top-Down-Shooter | 4cc33a18746181e908e6a58a39a7ee42cc57bc0e | 3bbd96223cd3e1c8dd212457755d0e160bf13b51 | refs/heads/master | 2021-10-19T03:57:18.155039 | 2019-02-17T16:59:13 | 2019-02-17T16:59:13 | 127,650,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,770 | cpp | #include "SimpleTimer.h"
#include "GothicVaniaBattlePriestStates.h"
#include "BattlePriestEntity.h"
#include "BattlePriestSprite.h"
#include "MessageDispatcher.h"
#include "Messages.h"
#include "ShakeInfo.h"
#include <ctime>
#include "EngineUtilities.h"
#include "CollisionManager.h"
#include "NecromancerEntity.h"
#incl... | [
"niruz91@gmail.com"
] | niruz91@gmail.com |
da2c9d8fae3932ba48d73ba64b32dcb95294d280 | b07490ed3d82b40353f5d97a04a958542dffe727 | /src/log_manifest.cc | b2c633c85781e7d8da79baa94c36c548379898d7 | [
"Apache-2.0",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | levy5307/Jungle | 0d5d530733c5321a41fd698e9d4b04cabc3b47fc | fd98c82ab0ef02807a27c5915362b31aad72871d | refs/heads/master | 2020-12-13T22:45:59.248279 | 2020-01-16T23:45:34 | 2020-01-16T23:45:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,851 | cc | /************************************************************************
Copyright 2017-2019 eBay Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2... | [
"jungsang.ahn@gmail.com"
] | jungsang.ahn@gmail.com |
97b806859095ed71286789fe590a8d4138fb381c | f19633a377081d06755050b68ae6146732ae3a54 | /Math/Math/math/Vector4D.cpp | a90d459a04f791e3563589007e13f8b9cc43599b | [
"Apache-2.0"
] | permissive | sunshineheader/Math | b214ad9407ee2dcdab37873aa855347026fdeae3 | 58578625465abfb91fc97ce7110328b41762c23f | refs/heads/master | 2021-01-10T03:06:11.019427 | 2015-11-23T06:15:22 | 2015-11-23T06:15:22 | 46,614,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | cpp | #include "Vector4D.h"
namespace Math{
void Vector4D::normalize()
{
float normalize = x * x + y * y + z*z + w*w;
// Already normalized.
if (normalize == 1.0f)
return;
normalize = sqrt(normalize);
// Too close to zero.
if (normalize < 0.000001f)
return;
normalize = 1.0f / normalize;
x *= normali... | [
"sunshineheader@gmail.com"
] | sunshineheader@gmail.com |
7fdbedbf58ac5344adae1565b68560f5eed70ac0 | 438de183318c7f842b6c395ecbf1b6f9ea1ef9cf | /extensions/chronosync.cpp | af99d7a32528c8c0a7f5a9a1891e03c3223f0a3d | [] | no_license | johnsonfan/scenario-ChronoSync | a87f7a3e27382f008d35597293102a6cc28435c3 | ce12fcc53359fa085db86a0f58db66bc21e58444 | refs/heads/master | 2020-03-30T19:04:27.978501 | 2018-09-27T16:42:43 | 2018-09-27T16:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,251 | cpp | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2015 Regents of the University of California.
*
* This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and
* contributors.
*
* ndnSIM is free software: you can redistribute it and/or modify it under the ... | [
"spiros.mastorakis@gmail.com"
] | spiros.mastorakis@gmail.com |
50fbcaea26787cb21d4a09e565745ed85bccaf77 | 46a0f4d7b835e9dd8ca1679af9b4e9aade1d213c | /CST8237-Work/GameEngine.h | d792338f5f37be80a465b78321b86d3ea58caa8f | [] | no_license | RobbAP/TANKS | d1cccb05427dd6814dd0c1c704a16a0a45cc3cd6 | 0a5fe36940083686538a849aae961f34b8cc9938 | refs/heads/master | 2021-01-01T19:46:34.660841 | 2015-02-10T21:33:15 | 2015-02-10T21:33:15 | 30,615,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | h | #pragma once // Preprocessor directive to ensure that this header will only be included once. -- Generally used on Windows
// Preprocessor directive to ensure that this header will only be included once. -- Generally used for all environments.
/*#ifndef _GAME_ENGINE_H_
#define _GAME_ENGINE_H_
#endif // _GAME_ENGINE_H... | [
"robmcgaw@hotmail.com"
] | robmcgaw@hotmail.com |
0d7698f64139a03eb810d692113b06643cf0af76 | 5b0449150ae2a959c4a26adc8ba8737f86ccba0c | /queen_threads/main.cpp | 590977b9d80ae570a170d0b2d3fcf39af5a273f3 | [] | no_license | LF0614/cpp_hodgepodges | 74aa5ed1b9825abe749d8ae06467dcf64457403f | 97e0d0bf4d23737f0f8f196f9407317315c6662b | refs/heads/master | 2021-05-11T13:29:14.240338 | 2017-11-18T14:35:37 | 2017-11-18T14:35:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,446 | cpp | #include <iostream>
#include <chrono>
#include <ratio>
#include <condition_variable>
#include "ThreadPool.h"
#include "Queen.h"
using namespace std;
using namespace std::chrono;
int main(void)
{
int len = 15;
cout<<"solve queen length: "<<len<<endl;
#if 0
/*
单线程递归N皇后,15个皇后大约28秒
*/
//获得初始... | [
"object_he@yeah.net"
] | object_he@yeah.net |
8224b5d566d33b7e8a6d4bf99492e81923bfe8fd | 6508b4ca3fd6e18b7668cd8b3157dc30c2edd4e8 | /영상처리/openCV예제/source/ch11/ImageTool/ImageToolDoc.cpp | 300aeebb8def7d2fd394bf718ef14b4982c0044e | [] | no_license | hjh4638/test | da8b4bbd515cc2d2ce0d812cd77aef88a82c8ebb | 60e190d4aa788e4932e4293b3537020dc92101cd | refs/heads/master | 2016-09-10T18:46:53.875299 | 2015-01-28T08:07:37 | 2015-01-28T08:07:37 | 29,848,337 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 13,744 | cpp | // ImageToolDoc.cpp : CImageToolDoc 클래스의 구현
//
#include "stdafx.h"
#include "ImageTool.h"
#include "ImageToolDoc.h"
#include "Dib.h"
#include "DibEnhancement.h"
#include "DibFilter.h"
#include "DibGeometry.h"
#include "DibFourier.h"
#include "FileNewDlg.h"
#include "BrightnessDlg.h"
#include "ContrastDlg.h"
#includ... | [
"hjh4638@naver.com"
] | hjh4638@naver.com |
166adaf0aa3bdeec395bfe86cb80ca65ddb20cae | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/10_12711_50.cpp | 393a3bd927971178df6460b7cbf8408576ce53e8 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | cpp | #include <vector>
#include <map>
#include <set>
#include <queue>
#include <list>
#include <stack>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <stri... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
d9ac5414ab04ede248642de0992bc51c909183ed | 57d545e4d1b6304225b7748333df80225f6c4694 | /chapter8/exercise_8_7.cpp | a53b5826b956c8702002a228c57fd8110a248d85 | [] | no_license | Silent77/learn_cpp | 1d1edd66ef88ea2c7fb91593996e3c18bb469461 | 3d7c60bb284b7ce7f7338f8dd2689ddd09a9a451 | refs/heads/master | 2016-09-05T14:03:25.396508 | 2015-04-21T13:57:26 | 2015-04-21T13:57:26 | 33,605,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | /*
* File: exercise_8_7.cpp
* Author: tarnavskiyya
*
* Created on 15 квітня 2015, 10:25
*/
#include <cstdlib>
#include <iostream>
template <typename T> int ShowArray (T arr[], int n);
template <typename T> double ShowArray (T* arr[], int n);
struct debts
{
char name[50];
double ammoun... | [
"tarnavskiyya@in-tarnavskiyya.CORP.ICS.COM.UA"
] | tarnavskiyya@in-tarnavskiyya.CORP.ICS.COM.UA |
4021a6a94c95da7325061a27ce1a98052623bb63 | d94b6845aeeb412aac6850b70e22628bc84d1d6d | /scann/scann/oss_wrappers/scann_threadpool.h | d0a4f8d80fe4cb86ee1960f0248e0fcad1acbb09 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | ishine/google-research | 541aea114a68ced68736340e037fc0f8257d1ea2 | c1ae273841592fce4c993bf35cdd0a6424e73da4 | refs/heads/master | 2023-06-08T23:02:25.502203 | 2023-05-31T01:00:56 | 2023-05-31T01:06:45 | 242,478,569 | 0 | 0 | Apache-2.0 | 2020-06-23T01:55:11 | 2020-02-23T07:59:42 | Jupyter Notebook | UTF-8 | C++ | false | false | 830 | h | // Copyright 2023 The Google Research Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
59edc621ce5d196dab67750ef98c800cabc3cd49 | 8ee0be0b14ec99858712a5c37df4116a52cb9801 | /LIB_Util/CProcess.h | e8fc506b4c58ea3df22761270e9e1281057f4756 | [] | no_license | eRose-DatabaseCleaning/Sources-non-evo | 47968c0a4fd773d6ff8c9eb509ad19caf3f48d59 | 2b152f5dba3bce3c135d98504ebb7be5a6c0660e | refs/heads/master | 2021-01-13T14:31:36.871082 | 2019-05-24T14:46:41 | 2019-05-24T14:46:41 | 72,851,710 | 6 | 3 | null | 2016-11-14T23:30:24 | 2016-11-04T13:47:51 | C++ | UTF-8 | C++ | false | false | 778 | h | #ifndef __CPROCESS_H
#define __CPROCESS_H
#include <psapi.h>
#include <Tlhelp32.h>
//-------------------------------------------------------------------------------------------------
typedef bool (__stdcall *CALLBACK_FINDPROCESS) ( DWORD dwPID, char *szFileName );
class CProcess {
public :
static DWORD Fin... | [
"hugo.delannoy@hotmail.com"
] | hugo.delannoy@hotmail.com |
206b36d9bddf1913fb0bdf173fcf993ea7246804 | 3cd4cf4e97946611f6ccbb7354bc4b3a13208c3a | /tests/generic_receiver.cpp | 7a3f9718f05d5a0afb682cbfa9d37f80abe6699e | [] | no_license | UIKit0/eitoolkit | e9f4ba2e23a4404548cb33119d940f6c49e3a50c | 1722087b16ce7ff10c340b9e690e263ff132dfed | refs/heads/master | 2021-01-20T23:31:56.200246 | 2012-11-25T15:07:10 | 2012-11-25T15:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include <EIToolkit.h>
#include <iostream>
#include <algorithm>
class ExampleListener : public EI::DataListener
{
public:
void onMessage(EI::DataMessage p) {
std::cout << "Data: " << p.getSender() << " " << p.getMsgType() << std::endl;
auto c = p.getContent();
std::for_each(c.begin(), c.en... | [
"hanikesn@studi.informatik.uni-stuttgart.de"
] | hanikesn@studi.informatik.uni-stuttgart.de |
4d9f823e0a1b38d809279d9ed8a46615217b42e3 | a72d5ef2954f8957e5e86d8160772ecfa2751e6e | /ProjectEuler/Problem1/Problem1.cpp | 871b69f4203212521330b21b7b99cafe88672c76 | [] | no_license | ygorshkov/ProjectEuler | 64e80e014f99151a18a6967717db7fdcf9264b18 | 7c29fa5eea9df134ef12e6bcc115dca08356ca9b | refs/heads/master | 2016-09-08T02:07:56.401367 | 2014-02-03T19:11:54 | 2014-02-03T19:11:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | //
// Problem1.cpp
// ProjectEuler
//
// Created by yury on 03/02/14.
// Copyright (c) 2014 yury. All rights reserved.
//
#include "Problem1.h"
| [
"yuriy.gorshkov@gmail.com"
] | yuriy.gorshkov@gmail.com |
7c02ea4488054745a716452e647ea50d62322251 | b2e49d93b0fdc4ffb6398aed4d85038f3235c125 | /Engine/Render/R9TexturePool.h | 1e5084cd989fb67238669d6380b74acb52d8f6c0 | [] | no_license | leprosarium/prolozzy | 43111a391f3a5d89915a7a458ee906a2df443e24 | 0049a5b7f7c47fad451c11ff21eb0868da4c7404 | refs/heads/master | 2021-01-17T10:06:08.835533 | 2016-10-08T11:21:39 | 2016-10-08T11:21:39 | 7,211,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | ///////////////////////////////////////////////////////////////////////////////////////////////////
// R9TexturePool.h
// Texture pool manager
///////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef __R9TEXTUREPOOL_H__
#define __R9TEXTUREPOOL_H__
#include "R9Render.h... | [
"leprosarium@gmail.com"
] | leprosarium@gmail.com |
30a8b84387e6c9cf1f50d367380d3eab4c4f5031 | 6c5cb0ab6d6ce84364307f8974299edfb3b58b62 | /src/io/FilereaderEms.h | 5718295a1cad550e55bb172a5efc18a4af2790eb | [
"MIT"
] | permissive | zhihaoy/HiGHS | ed298e5d258f382e51ad895148c87a6287b88c57 | e29514656e96cce59569853e0919dea6bf4598a2 | refs/heads/master | 2020-04-21T11:54:53.476622 | 2019-02-06T09:25:02 | 2019-02-06T09:25:02 | 169,544,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | h | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
/* Written an... | [
"galabovaa@gmail.com"
] | galabovaa@gmail.com |
128589580b8227b6761c82452ea0bb8a1ae8ebfb | a5897029e989b538d2919cf81a3699153ca00993 | /myRepo/FloodEm/mainwindow.cpp | 27dc364fad44ffa42ed0590c230cb5f52973e17d | [] | no_license | BlackCupid/leiboldm | f3382ff567210b9949630c0c686ffb39d8e5170a | 62d938680a5b6458bfef75da2734fd86ab059819 | refs/heads/master | 2021-01-13T01:27:44.379740 | 2014-02-02T00:38:43 | 2014-02-02T00:38:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include "mainwindow.h"
MainWindow::MainWindow()
: mainmenu(MainMenu(this))
{
mainmenu.show();
}
| [
"leiboldm@umich.edu"
] | leiboldm@umich.edu |
65a13da8687b43c52a285771db9303a6f1f88785 | cbfc126095d958ce2e5e37adcb1e0f0be839c007 | /C++程式設計/ch16/CH16_04.cpp | a80142bec11f6dcc31623b6ddeca7d37c64584a9 | [] | no_license | LaZoark/NIU_programming | 1dc23e0395db53e839b1a902b53ee2faa92cc01c | 8ac36310ba4af8e306e07b90e339b98ec469b8c7 | refs/heads/master | 2020-05-16T04:17:03.011449 | 2019-08-25T16:07:48 | 2019-08-25T16:07:48 | 182,770,420 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 595 | cpp | #include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
int num; // 俱计跑计num
cout<<"块num";
cin>>num; // 块跑计num
try
{
// 安跑计num10τ20碞メ俱计ㄒ
if ((num > 10) && (num < 20))
{
throw 1;
}
// 安跑计num10碞メじㄒ
if (num < 10)
{
throw '... | [
"emersonchen086@icloud.com"
] | emersonchen086@icloud.com |
2dc550f5d098a9258392ccd3a53c0a6883b4e219 | 8036f2558dd6e459faab422fa3d230374596974f | /test/beast/websocket/ping.cpp | bb7fe3c2a84cacda1720f442c22cc7a7b6ce18ab | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | inetknght/Beast | d5a4146bea8253fd08d69397142d2fc7242a8d05 | 1f29a74d3e6cdd22f7505349f1d7d82c1e13dd81 | refs/heads/develop | 2020-12-02T17:56:34.001826 | 2017-08-24T23:56:56 | 2017-08-24T23:56:56 | 96,451,165 | 0 | 0 | null | 2017-07-06T16:36:56 | 2017-07-06T16:36:56 | null | UTF-8 | C++ | false | false | 5,797 | cpp | //
// Copyright (w) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header ... | [
"vinnie.falco@gmail.com"
] | vinnie.falco@gmail.com |
263c7f988a143cb85d5c75b69bd009607b2f78cc | c851236c2a3f08f99a1760043080b0a664cf3d92 | /FindinarrAi+Aj=Al+Ar.cpp | e53dfdf519832e11e1c81037d9b6766b0596ac40 | [] | no_license | Anubhav12345678/competitive-programming | 121ba61645f1edc329edb41515e951b9e510958f | 702cd59a159eafacabc705b218989349572421f9 | refs/heads/master | 2023-01-20T08:12:54.008789 | 2020-11-18T10:23:42 | 2020-11-18T10:23:42 | 313,863,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,548 | cpp | vector<int> Solution::equal(vector<int> &A) {
int N = A.size();
// With every sum, we store the lexicographically first occuring pair of integers.
map<int, pair<int, int> > Hash;
vector<int> Ans;
for(int i = 0; i < N; ++i) {
for(int j = i + 1; j < N; ++j) {
... | [
"anubhavgupta408@gmail.com"
] | anubhavgupta408@gmail.com |
a486c395243b73d7d8d47684651364d93a1efd91 | 3e89c93e49bc10087384a58b468e8a36ead2a045 | /prefs.h | 06c7516c383ecb5bacad3f85ae4038647b6aada5 | [] | no_license | psi-4ward/ESP32-CAM-Servo | e97b0f82d8ed5c59a9d709ed3bc45b330b383fe4 | 54ce87ee01fb25f92aa7c5b3a03ed4ec17cb6565 | refs/heads/master | 2020-12-03T17:52:55.870005 | 2020-01-02T16:06:24 | 2020-01-02T16:06:24 | 231,417,568 | 0 | 0 | null | 2020-01-02T16:19:24 | 2020-01-02T16:19:23 | null | UTF-8 | C++ | false | false | 3,402 | h | /*
* prefs.h
*
* Created on: 1 Jan 2020
* Author: pechj
*/
#ifndef PREFS_H_
#define PREFS_H_
const char * PREFS_KEY_SERVOPOS = "servopos";
const char * PREFS_KEY_USEFLASHLIGHT = "useflashlight";
const char * nvs_errors[] = { "OTHER", "NOT_INITIALIZED", "NOT_FOUND", "TYPE_MISMATCH", "READ_ONLY", "NOT_... | [
"jp112sdl@icloud.com"
] | jp112sdl@icloud.com |
d4b4f6f73112ac94ec8dcca914e7d800307de905 | 32a9356bc4e0af62eb960c89ab3adc373812675f | /contrib/CCF/CCF/CCF/IDL2/Traversal/Exception.hpp | 71d9fbbf756495cba88c0c9b5a1d5fb88316caba | [] | no_license | DOCGroup/XSC | 0c2ce163a307f9d20366d707f772ff1f04c72261 | b85458b18b95bf81dc9c807d8d06768111b22172 | refs/heads/master | 2023-08-25T18:53:51.641598 | 2022-05-10T14:18:58 | 2022-05-10T14:18:58 | 27,931,533 | 4 | 3 | null | 2023-09-11T06:12:54 | 2014-12-12T17:54:46 | C++ | UTF-8 | C++ | false | false | 667 | hpp | // file : CCF/IDL2/Traversal/Exception.hpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
#ifndef CCF_IDL2_TRAVERSAL_EXCEPTION_HPP
#define CCF_IDL2_TRAVERSAL_EXCEPTION_HPP
#include "CCF/IDL2/Traversal/Elements.hpp"
#include "CCF/IDL2/SemanticGraph/Exception.hpp"
namespace CCF
{
namespace IDL2
{
... | [
"hillj@cs.iupui.edu"
] | hillj@cs.iupui.edu |
8835f9952cbee222c68d0461606bb0519227241f | 82978ce8b813c8f44da9752f465a191b54d19371 | /src/sqlitemm/connection.cc | 0c8106c89060f16ae8c8510c03d867f8089ed8ca | [
"ISC"
] | permissive | nagisa/gsqlite | 240a41369d81e079b9e1b311ce5871d3c786347a | b1738d639ae9b7de4ebf24cef7e0002b1c8895d2 | refs/heads/master | 2020-06-08T15:51:09.801596 | 2015-01-11T19:00:39 | 2015-01-11T19:00:39 | 29,102,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | cc | #include "error.hh"
#include "connection.hh"
#include "statement.hh"
Connection::Connection(const char *filename)
: Glib::ObjectBase(typeid(Connection))
, handle(nullptr)
{
int ret = SQLITE_OK;
if((ret = sqlite3_open(filename, &this->handle)) != SQLITE_OK)
throw SQLiteError(ret);
this->thre... | [
"git@kazlauskas.me"
] | git@kazlauskas.me |
d7797efc8a8df539955f3e73185f71818914555b | 55ad360a2f0111b9dc9fc8d351cda82cdc244401 | /C++ STL/Container Adapter/Priority Queue/Priority_Queue_Examples.cpp | afa07ad139fa0b54194c594522c279f89cd2988e | [] | no_license | SeungoneKim/algorithms | 6afc8823d6a96f91059b97d7f1081571f66d5d90 | 3fdc0a808eb22dc8c92630acb87ef34fe306d9ca | refs/heads/master | 2023-03-15T06:20:58.274880 | 2021-03-20T06:48:25 | 2021-03-20T06:48:25 | 323,091,647 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | /*
Priority queue is generally backed by a heap.
Meanwhile, Set/MultiSet is generally backed by a binary tree.
Binary Trees sort sideways, while heaps sort upwards.
So, while we can know the relationship of L,P,R in a binary tree.
But, we could not know the realtionship of L,R in a heap.
The m... | [
"louisdebroglie@yonsei.ac.kr"
] | louisdebroglie@yonsei.ac.kr |
ff45e0f1c67dbce716692a4a99a8bb84a9c47f09 | 9bb5882c632034423a85038098800385fe5be49f | /03_Camera.cpp | c1bcee2a28941b1435ff7961f340bfde72147eac | [] | no_license | darkodraskovic/glexamples | 08a1674f1c420bcbd52268db2539174f39496e2f | 253d36704c3a311bf91840f51dea8d0259423202 | refs/heads/master | 2020-05-24T04:33:56.508013 | 2020-04-09T14:59:18 | 2020-04-09T14:59:18 | 187,094,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "Application.h"
#include "Shader.h"
#include "Cube.h"
#include "zzz.h"
int main()
{
// Application init
// ---------------------------------------------------------------------------
Application app;
if (app.Init() < 0)
{
std::cou... | [
"darko.draskovic@gmail.com"
] | darko.draskovic@gmail.com |
cd61f09ac101b19bb3531f2fe4f62805f9c655f4 | 7b4958868c9bd6213ce2520e38efb11d1b183503 | /QDxfParser/DxfConst.h | c5f2887ecfd209ee29ab23463006b80d98ceda84 | [] | no_license | winnersun/QDxfParser | 99a0599d51c5991ab2ed1e391dd3255a61c4f486 | b20352dbaf08e1a8143df6b17bbfc228db673029 | refs/heads/master | 2016-08-07T22:54:48.376428 | 2015-07-20T06:22:21 | 2015-07-20T06:22:21 | 39,050,574 | 6 | 1 | null | 2015-07-20T06:22:21 | 2015-07-14T03:07:34 | C++ | UTF-8 | C++ | false | false | 786 | h | #ifndef DXFCONST_H
#define DXFCONST_H
#include <string>
static const std::string c_sSection = "SECTION";
static const std::string c_sHeader = "HEADER";
static const std::string c_sEndsec = "ENDSEC";
static const std::string c_sTables = "TABLES";
static const std::string c_sTable ... | [
"sunxb@pm.glodon.com"
] | sunxb@pm.glodon.com |
0ca5405d0369dbac63a4fbe00113052a7938a1fd | 9690f3a5615dc096927e9a971a0e641841372373 | /VehicleSim/src/input/MotorInput.cpp | 1562b6283d6adae5002f610916130c4e05627c37 | [
"BSD-2-Clause"
] | permissive | Catchouli-old/Box2DSandbox | 992251a4e4224f358daec35881e958a187d5ad6c | ed90e246cc3a442d349b4ce64ff57e7ed6be124b | refs/heads/master | 2020-05-20T02:17:12.009768 | 2014-04-01T03:53:17 | 2014-04-01T03:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | #include "input/MotorInput.h"
namespace vlr
{
MotorInput::MotorInput()
: _enabled(false), _maxForce(0), _speed(0),
_forwardButton(GLFW_KEY_UNKNOWN), _reverseButton(GLFW_KEY_UNKNOWN)
{
}
void MotorInput::update(GLFWwindow* window, b2Joint* joint)
{
if (!_enabled)
return;
bool forwardK... | [
"cat@wilks.so"
] | cat@wilks.so |
804224176a929d43a178c1f0855441d706b038fa | d7869995141b8809ebb300c4aff54ced0c17e057 | /bzoj3894/bzoj3894.cpp | aa77df64c09aabceeb7576f9d871a2e98716dafe | [] | no_license | Kirinosama/code | 8d9e76f3fe70a2166dbe81e12b250dadcbc91bf7 | 584cea66c22201546259e3490c42afe5eb8c6e09 | refs/heads/master | 2021-06-11T18:46:05.096966 | 2019-09-25T12:56:05 | 2019-09-25T12:56:05 | 115,096,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | cpp | #include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
#define INF 1000000000
vector<int> g[30050];
struct lwn{
int u,v,flow,cap;
} a[900050];
int cur[30050],num[30050],d[30050],p[30050],tot,n,m,i,j;
inline void link(int x,int y,int z)
{
a[tot].u=x;a[tot].v=y;a[tot... | [
"506445435@qq.com"
] | 506445435@qq.com |
1c71cb2275c7e0e2a9a26885b2297cf04615029d | 90bd9ea54fc6e489a275523fcaba0eecb5d675ba | /app/src/main/cpp/jni/jni_invoke_method.cpp | 7b0371cd0dbe99276468a8b8106fb70055e16f2b | [] | no_license | shanallen/NDKStudy | f7e896ec0743cacb93ec6c78c3f9d28eb850dfea | 3207753b718c0609ee7f8071e257ede92847f807 | refs/heads/master | 2022-06-07T21:15:56.744876 | 2020-05-02T10:04:33 | 2020-05-02T10:04:33 | 260,648,793 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | cpp | //
// Created by 单继强 on 2020-05-01.
//
#include <base.h>
#include <sys/types.h>
#include <pthread.h>
#include <base/jvm.h>
void *threadCallback(void *);
static jclass threadClazz;
static jmethodID threadMethod;
static jobject threadObject;
extern "C"
JNIEXPORT void JNICALL
Java_com_sjq_learnndk_jni_JNIInvokeMethod_na... | [
""
] | |
19e17e13e6bbe1809fc1d71e25af98c3edb110e2 | ba131bd1cdd7a12d2a9ae85103d2c2f1ddad5ceb | /seniorProject/Classes/Native/Bulk_UnityEngine.CoreModule_1.cpp | 1d298c20609260ba2cc3b70b1cc8e6403fd1e3d5 | [] | no_license | yingwenhuang/block_blaster | 24dda9fbcbff82e98f0ace2dcdeba26699310529 | bcb595791bb4769f20c64136fb7b9997c4d3130b | refs/heads/master | 2022-12-10T17:18:00.948565 | 2020-08-08T22:57:16 | 2020-08-08T22:57:16 | 272,250,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,150,664 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"yingwenhuang@ufl.edu"
] | yingwenhuang@ufl.edu |
83350f9ad5182359d07b7beb7d8c63f4d98284e3 | 56b8b3eb6011e54c16b7211224b79f8daa33139a | /Algorithms/Tasks.2001.2500/2178.MaxSplitOfPositiveEvenIntegers/solution.cpp | fe85426af5f5fbd67beca25ad5051deb50208282 | [
"MIT"
] | permissive | stdstring/leetcode | 98aee82bc080705935d4ce01ff1d4c2f530a766c | 60000e9144b04a2341996419bee51ba53ad879e6 | refs/heads/master | 2023-08-16T16:19:09.269345 | 2023-08-16T05:31:46 | 2023-08-16T05:31:46 | 127,088,029 | 0 | 0 | MIT | 2023-02-25T08:46:17 | 2018-03-28T05:24:34 | C++ | UTF-8 | C++ | false | false | 986 | cpp | #include <vector>
#include "gtest/gtest.h"
namespace
{
class Solution
{
public:
[[nodiscard]] std::vector<long long> maximumEvenSplit(long long finalSum) const
{
if (finalSum % 2 == 1)
return {};
std::vector<long long> evenIntegers;
for (long long current = 2;; current += ... | [
"std_string@mail.ru"
] | std_string@mail.ru |
bd5c4a11c76b0df3bac1777d032e29b8bd8516f1 | 0fae2f4d092d3f4ccd3f72dd37ce0f2781df8760 | /Spoj/PT07Z.cpp | a0b311ffc11bf39aeed035c5d67ad11b8d40d01e | [] | no_license | gopaljaiswal/Competition-Problems-Solution-CPP-Python | 918a0189e35f488080b4f90b74d2f1f92cc54bc8 | bed246e33892de7ba21114bf2b92babfdfb03087 | refs/heads/master | 2020-04-18T03:02:53.342586 | 2019-01-28T11:00:10 | 2019-01-28T11:00:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | #include <iostream>
#include <queue>
#include <vector>
#define MAX 10000
using namespace std;
vector<int> vc[MAX];
int getLastEle(int N, int s, bool isLastEle)
{
bool visited[N];
int cost[N];
for (int i = 0; i < N; i++)
{
cost[i] = 0;
visited[i] = false;
}
queue<int> q;
q.... | [
"gopal.jaiswal@datami.com"
] | gopal.jaiswal@datami.com |
90c042d8452a60fc83279f13432e5d77bf39de4b | 0dde4e977c748fe1dfa5458d9bf790e38ae5b3be | /extras/C++/puneets_class/session4/jasons_test/jasons_analysis.cxx | b6043a0eae19c5e119c830aed8d23c3c5ba4b309 | [] | no_license | jasonbono/CLAS | e27a48f96b753e11a97803bbe4c782319c4f8534 | c899062b8740cdb6ef04916d74f22cebc5d2c5f8 | refs/heads/master | 2020-05-24T03:56:12.542417 | 2019-05-16T17:50:31 | 2019-05-16T17:50:31 | 187,074,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,714 | cxx | // jason bono feb 21 2012: took puneets code from session4 and adapted it to work with my code
// i would like to make this work so that i can do a basic filter to reduce data sizes.
// program: analysis - version 1.0
//
// usage: analysis1 -h -i [input file] -o [output file] -M [max events]
//
// input:
// -h ... | [
"jason.s.bono@gmail.com"
] | jason.s.bono@gmail.com |
ba840406bebccb138a63075e70a895f8029668b6 | 14210bfb44f80d32ccae7043504212f75c11edfb | /ch12/ch12/ex03.cpp | a114ecb119d05ad78bf16378504f9a8a2de6568e | [] | no_license | wikibook/doodle-ccpp | 4763543bfec50a1218acf72514ce8fdd76d3a695 | 37ca86a9963eaa1f013fd958680b5b322f371327 | refs/heads/main | 2023-05-03T09:27:56.068695 | 2021-05-24T02:01:52 | 2021-05-24T02:01:52 | 362,653,233 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include <iostream>
using namespace std;
class Ice {
public:
Ice() { cout << "Ice()" << endl; }
~Ice() { cout << "~Ice()" << endl; }
};
class Pat {
public:
Pat() { cout << "Pat()" << endl; }
~Pat() { cout << "~Pat()" << endl; }
};
class Bingsoo {
public:
Bingsoo() { cout << "Bingsoo()" << endl; }... | [
"dylee@wikibook.co.kr"
] | dylee@wikibook.co.kr |
f844fd1b1ef9b2e993e7998b92373ce883a8e1f2 | eef0ef53ee0e1f2f487aaff564fe8316d0418e42 | /src/opencv_stuff/opencv_stuff/opencv_stuff/KDTree.h | f9219738b11bf3a99a0dbb5cd10bf492d2707c27 | [] | no_license | tehwentzel/EVL_feature_extraction | 806dca5d3d670cd9793d90b70e7b26794843cd85 | 143a1609e247144914401017f099fa6a15daf770 | refs/heads/master | 2020-06-01T02:27:21.718116 | 2019-08-28T22:05:53 | 2019-08-28T22:05:53 | 190,596,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,842 | h | #pragma once
/*
* file: KDTree.hpp
* author: J. Frederico Carvalho
*
* This is an adaptation of the KD-tree implementation in rosetta code
* https://rosettacode.org/wiki/K-d_tree
* It is a reimplementation of the C code using C++.
* It also includes a few more queries than the original
*
*/
#include <algori... | [
"awentze2@uic.edu"
] | awentze2@uic.edu |
c7d3fd45aa5351c2caf39e6ad9b0016d97686c19 | 4497c10f3b01b7ff259f3eb45d0c094c81337db6 | /Retargeting/Shifmap/Version01/FillHoleShiftMap.h | e51d173ad1ecc4d77c5dc61f607d6e36924382f2 | [] | no_license | liuguoyou/retarget-toolkit | ebda70ad13ab03a003b52bddce0313f0feb4b0d6 | d2d94653b66ea3d4fa4861e1bd8313b93cf4877a | refs/heads/master | 2020-12-28T21:39:38.350998 | 2010-12-23T16:16:59 | 2010-12-23T16:16:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | h | #pragma once
#include "ImageRetargeter.h"
#include "FillHoleEnergyFunction.h"
#include "GCoptimization.h"
#include "MaskShift.h"
#include <vector>
using namespace std;
class FillHoleShiftMap : public ImageRetargeter
{
public:
FillHoleShiftMap(void);
~FillHoleShiftMap(void);
virtual IplImage* GetRetarge... | [
"kidphys@aeedd7dc-6096-11de-8dc1-e798e446b60a"
] | kidphys@aeedd7dc-6096-11de-8dc1-e798e446b60a |
100422ae99e8a135641de70d6201d7ae9ca862b8 | 36c31b485a5906ab514c964491b8f001a70a67f5 | /Codeforces/CF 1300 - 1399/CF1352/CF1352E.cpp | 891f62671774f402eaa807acb9557c1b42d87889 | [] | no_license | SMiles02/CompetitiveProgramming | 77926918d5512824900384639955b31b0d0a5841 | 035040538c7e2102a88a2e3587e1ca984a2d9568 | refs/heads/master | 2023-08-18T22:14:09.997704 | 2023-08-13T20:30:42 | 2023-08-13T20:30:42 | 277,504,801 | 25 | 5 | null | 2022-11-01T01:34:30 | 2020-07-06T09:54:44 | C++ | UTF-8 | C++ | false | false | 543 | cpp | #include <bits/stdc++.h>
#define ll long long
#define sz(x) (int)(x).size()
using namespace std;
void solve()
{
int n,x;
cin>>n;
int dp[n+1];
dp[0]=0;
multiset<int> s;
for (int i=0;i<n;++i)
{
cin>>x;
dp[i+1]=dp[i]+x;
s.insert(x);
}
for (int i=1;i<n;++i)
... | [
"mahajan.suneet2002@gmail.com"
] | mahajan.suneet2002@gmail.com |
526b7800cb12c24a691f122f45545c80bd12278a | 786e39df00e252ab241bd024862a43a3ad4968ac | /Hackerrank/Weekly12/Priyanka and Toys.cpp | cd51ea68f55f59976d5445254011cdb264691804 | [] | no_license | mishka1980/competitive-programming | 51e9366c012eaa25cb48c588fdbcd089e6e5f1e0 | c13b805a7dd9ab1228a91a3d088331ce3f0f99bf | refs/heads/master | 2020-03-21T02:05:16.260788 | 2015-01-13T17:21:21 | 2015-01-13T17:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
#define REP(i, n) for(int i = 0; i < (n); i++)
#define all(c) (c).begin(), (c).end()
int main() {
int N;
cin >> N;
vector<int> weight(N);
REP(i, N) cin >> weight[i];
sort(all(weight)... | [
"shah.anish07@gmail.com"
] | shah.anish07@gmail.com |
876f3d3131906287f588b460ffb9d4ed95b160d9 | 8b2028d77adbb1ba4d5f7bf43234b56fb4809e1c | /Win32TestSolution/ControlPanelItems/ControlPanelItems7.cpp | e1ac8a7ef55dbb411810726d94acec97c9ceb919 | [] | no_license | yedaoq/YedaoqTestSpace | add8cf62968d749adb688450c6d9140c43709d15 | 391725687477492be40f7b8ef9509b8a93bd44c8 | refs/heads/master | 2021-01-18T21:39:35.025010 | 2017-07-19T07:03:46 | 2017-07-19T07:03:46 | 4,998,083 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,631 | cpp | // ControlPanelItems.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <shobjidl.h>
#include <shlobj.h>
#include <locale.h>
ATL::CComPtr<IShellFolder> folder_desktop;
ATL::CComPtr<IShellFolder> folder_cpl;
void PrintCplItemInfo(IShellItem* shell_item);
int _tmain(int argc, _TCHAR* argv[])
{
setlocale(LC_ALL, "C... | [
"yedaoq@gmail.com"
] | yedaoq@gmail.com |
bf7a2230dbfaf8e037c44ec77c2c1b6660d1141c | a7c42ac5ec2199cbb259253944272a8f78051b71 | /cracking_the_coding_interview/面试题01.04.回文排列.cpp | 4e46e5b8e9a46d23368ea606216aeb3262cdbe21 | [] | no_license | ImportMengjie/Leetcode | 9a894e5a0971860275bfea8ffa1cc69d33298ce8 | 584d3cda27fafcc7d4dd0a101472ebaccfd6a9dd | refs/heads/master | 2023-05-25T13:43:16.397448 | 2023-05-22T08:34:12 | 2023-05-22T08:34:12 | 200,491,766 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | /*
给定一个字符串,编写一个函数判定其是否为某个回文串的排列之一。
回文串是指正反两个方向都一样的单词或短语。排列是指字母的重新排列。
回文串不一定是字典当中的单词。
示例1:
输入:"tactcoa"
输出:true(排列有"tacocat"、"atcocta",等等)
来源:力扣(LeetCode)
链接:https://leetcode.cn/problems/palindrome-permutation-lcci
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
#include <string>
#include <map>
#include <assert.h>
using ... | [
"limengjie@hotmail.com"
] | limengjie@hotmail.com |
f018087f970d1b6637a3cbc5eefcf4b29dab06bd | fa7f1f695900a8148f3db48d6ea3cb17768b610b | /src/memhack.cpp | a57818b556cf58d88a04dc4231474afd828e1833 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | mipek/detourdecon | 6cc703668b1cd29cc3a13c39c5dc19f2256b3c9a | 4c945ffe31fdaa2376a5bfbfc261d16f44d31c92 | refs/heads/master | 2020-12-31T02:01:35.810735 | 2015-02-28T16:46:42 | 2015-02-28T16:46:42 | 24,411,381 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include "memhack.h"
bool CMemHack::IsPatched(const void *addr, size_t len)
{
return false;
}
void CMemHack::Patch(const void *addr, const void *bytes, size_t len)
{
}
int CMemHack::AddPattern(const char *pattern, size_t len, OnPatternMatch_t cb)
{
return 0;
}
void CMemHack::Scan(const void *module, size_t len)
{... | [
"donrevan@dscorp.de"
] | donrevan@dscorp.de |
06b5ed391047fb2d77b872b06c456a737f5ad347 | cf901f3fd5c6f3bbb8f27aef2a22843b06ac8c79 | /parafoam/tags/r0.2/foam/diffusion/TNuclearSolverTask.cpp | 85f21db9e2fd7015563736767c0584dac91bf489 | [] | no_license | wiinnie-the-pooh/paranoia-solution | d5a1b560f4f5df0819371cfd5bef351046afd6d9 | 8e59bc87012bc475f4860c8718b02cd869fd91ed | refs/heads/master | 2021-01-18T14:00:13.113108 | 2010-07-14T20:31:40 | 2010-07-14T20:31:40 | 32,144,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,728 | cpp | // Copyright (C) 2009 Pebble Bed Modular Reactor (Pty) Limited (PBMR)
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library ... | [
"alexey.petrov.nnov@cdfb17f8-2921-11df-9f4f-a5c41f8f774a"
] | alexey.petrov.nnov@cdfb17f8-2921-11df-9f4f-a5c41f8f774a |
65cfc29376c56a1595404bbeccfa71ab08373bee | 59770e5df2d9b4145e1576e1730e38e1fd74aa75 | /Blockchain light client/libraries/web3-arduino-master/src/Util.cpp | 2cfa6b838750261f78544a76dd691f230cdf808e | [
"MIT"
] | permissive | ajvarela/trustedcollaborativeprocesses | 68962aa4f8d93a9dad90284b509a08e8c1de8fea | 6df3126983fc9d955512b1aad17684add08391f9 | refs/heads/main | 2023-04-13T21:59:12.653124 | 2022-12-16T15:51:44 | 2022-12-16T15:51:44 | 572,505,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,923 | cpp | //
// Created by Okada, Takahiro on 2018/02/11.
//
#include "Util.h"
#include "Arduino.h"
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <stdio.h>
#include <string.h>
#include "Log.h"
Log u_debug;
#define LOG(x) u_debug.println(x)
// returns output (header) length
uint32_t Util::RlpEncodeWholeHeader... | [
"davigldom@gmail.com"
] | davigldom@gmail.com |
79acb7231e01136113b7137d5f50b955c7d3930b | cac3ea49ae82960cf5aa0f7c23848f81f8b20aa6 | /src/datamodel/processordata.h | 5735be677247302a357a35f1f6d37e67160bc6b0 | [] | no_license | thiagolacerda/patterns | 81f9b3f341e822db853c730205dd5f6bd91d4235 | 4bd79836fef6ac28a07da1d9bec6c6c77464e9fe | refs/heads/master | 2020-04-06T06:48:24.001251 | 2016-06-08T05:39:55 | 2016-06-09T07:49:25 | 22,708,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | h | #pragma once
class ProcessorData {
public:
virtual ~ProcessorData() {}
};
| [
"tbl2@cin.ufpe.br"
] | tbl2@cin.ufpe.br |
4dcf9f5b6ec3229338294a31a0c7561325b772c8 | ad2feba89e0768f9808053a81d36b4d9cdbfc66d | /Programacion Competitiva/uva11624.cpp | 9c659713827945f0eb5abd817877a127d18671ae | [
"MIT"
] | permissive | matgar03/CompetitiveProg | 9ea13bacd88b8d8dc74ce443cd93db1be6b5e2fb | be596f251b31bffc40b5b60cb6b7e09d268d1dcf | refs/heads/master | 2020-09-04T18:53:28.943407 | 2019-12-12T20:43:08 | 2019-12-12T20:43:08 | 219,857,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,528 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <queue>
using namespace std;
int n,c,f;
int df[]={1,0,-1,0};
int dc[]= {0,1,0,-1};
bool ok(int i,int j,const vector<vector<char>> &m){
return (i>=0 && j>=0 && i < f && j< c);
}
void solucion(vector<vector<char>> &m,vector<pair<int,int>>&conjfire,v... | [
"matgar03@ucm.es"
] | matgar03@ucm.es |
4b8960a67ab1fac7cf83ba432c42de68fa501190 | 2310540cefe7e89342f62374978b5ac6fc5fc865 | /National Parks Game/COSC 412 National Parks Game/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen1432132212.h | 880e396e5c58418fbc30fad45a32338f8b871409 | [] | no_license | rosechh/COSC412_Group4 | df6b1892889cca03d5967a2b969ce5999be85902 | 621dc6c8b8c37c923b1e65b2a7f3e0831d27b161 | refs/heads/master | 2021-04-26T22:51:09.723888 | 2018-05-22T23:14:26 | 2018-05-22T23:14:26 | 124,155,974 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,473 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-of... | [
"andrewsknick@gmail.com"
] | andrewsknick@gmail.com |
a68bc0a25101d1786a6c02581513bcd98969c670 | cfca8657c32717898eec59a18e5714bf2e3d37c6 | /qt/computrainer/computrainer.h | f08d45dbcf57172262f719f37b263d08dfe98b8a | [
"MIT"
] | permissive | SRAM/RacerMateDLL | b9cad1d988378e95e3ec55a2982eef1c3f9e1816 | a980e43919ae6c749561071cc135d5af221eb6c2 | refs/heads/master | 2022-12-27T18:51:30.090324 | 2020-10-02T21:35:31 | 2020-10-02T21:35:31 | 295,835,850 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,931 | h | #ifndef COMPUTRAINER_H
#define COMPUTRAINER_H
#include <vector>
#include <QObject>
#define DOUDP
//#ifdef DOUDP
#include <QUdpSocket>
//#else
//#include <QTcpSocket>
//#endif
#include <QAbstractSocket>
#include <QTimer>
#include <comdefs.h>
#include <tmr.h>
#include <rider2.h>
#include <coursefile.h> /... | [
"anon_n@example.com"
] | anon_n@example.com |
ec9b666f588cb5957aca4d7753eaf476bdba4cc3 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/boost/simd/sdk/config/details/support.hpp | bbeea54b60a526de654f6da7eb2acd8bde92cd24 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 245 | hpp | #ifndef BOOST_SIMD_SDK_CONFIG_DETAILS_SUPPORT_HPP_INCLUDED
#define BOOST_SIMD_SDK_CONFIG_DETAILS_SUPPORT_HPP_INCLUDED
#include <boost/simd/sdk/config/details/powerpc/support.hpp>
#include <boost/simd/sdk/config/details/x86/support.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
5e91955e666f2806fdd68f39eee9fe2dbd3d9dbd | 3b7c11cab2b3199104f6fef7f431c9b810bdb238 | /63-cpp-unique-paths-ii/solution.cpp | fed1e4f61e5b25cee376077ec36818eee62736bb | [] | no_license | tcz717/leetcode | 950a70642a7e4a792c44d79c8d436836b91ce0f0 | 63becafb7804ad6ccf2d2eae657a3c0f273b78ac | refs/heads/master | 2020-03-27T00:48:35.151112 | 2018-09-22T19:54:49 | 2018-09-22T19:54:49 | 145,658,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | #include <vector>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <cassert>
using namespace std;
// BEGIN UPLOAD ZONE
class Solution
{
public:
int uniquePathsWithObstacles(vector<vector<int>> &obstacleGrid)
{
if (obstacleGrid.empty() || obstacleGrid.front().empty())
r... | [
"tcz717@hotmail.com"
] | tcz717@hotmail.com |
d409e8ed39e5644f926faa5a81b17615558ec8d8 | ef25946eba902b142a72522898d892a35c64b5c8 | /app_all/accountBook/ABSqlQuery.cpp | c9a1844b852a98df32b2074a58f39dd074dcb41e | [] | no_license | liyiji/account-book | 86c8700c3be54832f5eacab535b904d969e21c70 | 3d5d10f6d72f8b032dead8ed896985509f8a2adb | refs/heads/master | 2021-01-25T07:35:10.125582 | 2012-04-16T12:01:26 | 2012-04-16T12:01:26 | 32,137,788 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 46,591 | cpp |
#include <cassert>
#include <QDebug>
#include <QMap>
#include <QVariant>
#include <QSqlQuery>
#include <QSqlError>
#include <QMessageBox>
#include "ABSqlQuery.h"
#include "ABDefines.h"
#include "ABFunction.h"
bool createConnection(QString strDbName, QString strPwd)
{
QSqlDatabase db = QSqlDatabase::addDatabase(... | [
"liyijipersonal@cb5c7fab-9a5d-ead0-01e1-64e3a19da7e9"
] | liyijipersonal@cb5c7fab-9a5d-ead0-01e1-64e3a19da7e9 |
848bc232fefbfa7b12ad80992f4065922a32834b | d17d3be48d1a72ff619458a81637bc0a8235fb87 | /OpenPlanet/eWalletLib/GeneratedFiles/ui_changenumwidget.h | 2b707ee1380e8498b6d3660925ad78e6d0bb35cd | [
"Apache-2.0"
] | permissive | xOpenPlanet/Windows | 2350e013c9815d7c21bb2ec1f86a08065e52d084 | 9609f4ef6fb66e2f852fedb44c8e2f36668a890b | refs/heads/master | 2020-03-15T05:56:32.603021 | 2018-06-01T07:47:31 | 2018-06-01T07:47:31 | 131,997,337 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,442 | h | /********************************************************************************
** Form generated from reading UI file 'changenumwidget.ui'
**
** Created by: Qt User Interface Compiler version 5.5.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... | [
"fanwenxing@pansoft.com"
] | fanwenxing@pansoft.com |
b1490899cb7496f8102379c69eebfa2a5a98cdf7 | 521685507e5b26ec9be38b39a249bdc1ee638138 | /Servers/Filters/vtkImageSliceMapper.h | c33ac6c30c843bce5fc8c433042ee42facbdd8c1 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | matthb2/ParaView-beforekitwareswtichedtogit | 6ad4662a1ad8c3d35d2c41df209fc4d78b7ba298 | 392519e17af37f66f6465722930b3705c1c5ca6c | refs/heads/master | 2020-04-05T05:11:15.181579 | 2009-05-26T20:50:10 | 2009-05-26T20:50:10 | 211,087 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,668 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | [
"utkarsh.ayachit@kitware.com"
] | utkarsh.ayachit@kitware.com |
8a14beb7725075472710893c9f84bffdda65458a | fc056b2e63f559087240fed1a77461eb72b2bf8e | /src/server/gameserver/skill/FlashSliding.cpp | 36dd06d7a5ff0daf20d34b24977855baca45355d | [] | no_license | opendarkeden/server | 0bd3c59b837b1bd6e8c52c32ed6199ceb9fbee38 | 3c2054f5d9e16196fc32db70b237141d4a9738d1 | refs/heads/master | 2023-02-18T20:21:30.398896 | 2023-02-15T16:42:07 | 2023-02-15T16:42:07 | 42,562,951 | 48 | 37 | null | 2023-02-15T16:42:10 | 2015-09-16T03:42:35 | C++ | UHC | C++ | false | false | 5,603 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : FlashSliding.cpp
// Written by :
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "FlashSliding.h"
#include "GCSkillToObjectOK1.h"
#include "GCSkillToObjectOK2.h"
#... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
f739315853e30a71dda5c5ef94db84fa9379b3ed | 6e6913f9dd231de7a7ff5319c15e931be937c720 | /ardrone_arduino/ros_lib/ardrone_autonomy/Navdata.h | bb8d379ee99c1348802fe070869eb31e7ca9bc2d | [] | no_license | PaulWells/autonomous-quadcopter | 4fe854b4b85c9914c8f98c49569d8d24af0c1db0 | dee8880516dba8f0e1f5834f6f53274c847fb32c | refs/heads/master | 2020-12-24T14:01:31.971475 | 2015-02-12T14:44:41 | 2015-02-12T14:44:41 | 25,703,604 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,900 | h | #ifndef _ROS_ardrone_autonomy_Navdata_h
#define _ROS_ardrone_autonomy_Navdata_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
namespace ardrone_autonomy
{
class Navdata : public ros::Msg
{
public:
std_msgs::Header header;
float batte... | [
"haroldtreen@gmail.com"
] | haroldtreen@gmail.com |
410b157b0bf459735aeb494a21a2822255850437 | 3cb889e26a8e94782c637aa1126ad897ccc0d7a9 | /C++/Primes/compileTimePrimes.cpp | fe61662b242d3c490853f06b70ddb757d5377510 | [] | no_license | GHScan/DailyProjects | 1d35fd5d69e574758d68980ac25b979ef2dc2b4d | 52e0ca903ee4e89c825a14042ca502bb1b1d2e31 | refs/heads/master | 2021-04-22T06:43:42.374366 | 2020-06-15T17:04:59 | 2020-06-15T17:04:59 | 8,292,627 | 29 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | cpp | #include "pch.h"
//------------------------------
template<bool b, typename T1, typename T2>
struct If {
typedef T1 Type;
};
template<typename T1, typename T2>
struct If<false, T1, T2> {
typedef T2 Type;
};
template<int n>
struct Identity {
static const int value = n;
};
template<typename SourceT, int i>... | [
"ppscan@qq.com"
] | ppscan@qq.com |
fdb416ee75b57232f0cd10ed17e16f17ae8e9545 | ac6f998b971b0a2d4ff51d0a91663363915d4331 | /Gierka86/Axe.cpp | 197645c08a0cc4af5909ca6713b70e331533467b | [] | no_license | Milosz08C/ShortRPG | 13f6932235bd2b839033183b292cbe3c8555f3d5 | 1f0c0decbdd71e7a297b5c05eceba5ffd75aeb4b | refs/heads/master | 2023-04-12T07:12:03.624901 | 2021-05-18T12:04:56 | 2021-05-18T12:04:56 | 368,513,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | #include "Axe.h"
Axe::Axe() : Weapon(45, 15, 60, 50, 25) {}
Axe::Axe(int mana, int wisdom, int hp, int strength, int luck) : Weapon(mana, wisdom, hp, strength, luck) {}
| [
"253321@student.pwr.edu.pl"
] | 253321@student.pwr.edu.pl |
3c92d143fa5ea54886246767de81790ad2f6c94c | dc933e6c4af6db8e5938612935bb51ead04da9b3 | /android-x86/external/opencore/oscl/oscl/osclio/src/oscl_socket_connect.cpp | e7f09ca0886c0f1de5d5e7bd553375b577d11f13 | [] | no_license | leotfrancisco/patch-hosting-for-android-x86-support | 213f0b28a7171570a77a3cec48a747087f700928 | e932645af3ff9515bd152b124bb55479758c2344 | refs/heads/master | 2021-01-10T08:40:36.731838 | 2009-05-28T04:29:43 | 2009-05-28T04:29:43 | 51,474,005 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,478 | cpp | /* ------------------------------------------------------------------
* Copyright (C) 2008 PacketVideo
*
* 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/li... | [
"beyounn@8848914e-2522-11de-9896-099eabac0e35"
] | beyounn@8848914e-2522-11de-9896-099eabac0e35 |
a291e529013c8fd3fabb62e611e922663753361b | 44c47263b69ac52336d1271e7e3694b0cdfcdd59 | /references/main.cpp | 7b446a08f32e108bd4ffa08063823d3d0901d2b6 | [] | no_license | RyenCook/cpp-projects | 6a7aff83986242879a85a01bce3e08ecdd95dc72 | cc7ec244b363c2af5044698bd69473229f8109ea | refs/heads/master | 2021-01-20T05:20:58.150188 | 2018-01-25T00:13:39 | 2018-01-25T00:13:39 | 96,714,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include <iostream>
#include <string>
void printIt(std::string& t_string)
{
std::cout << t_string << "\n";
}
int main()
{
int i;
int&r = i; // Reference to I
std::string s;
std::string& d = s;
std::cout << "Input a value: ";
std::cin >> i;
std::cin >> s;
std::cout << "The value of i: " << i << "\n";
std:... | [
"ryencook@gmail.com"
] | ryencook@gmail.com |
c5ccfcd2b0f64388c432ef58c5bab76fe4d97f82 | d8ca1f4edc4a5b348d871d0fbf6757e9acb226e9 | /Actividad9-CompresionyDescompresionHoffman/Pila.h | 51b44c55d3bcc9c12e434aed8faa0e3a3246c727 | [] | no_license | mickambar19/data-structures | e08a70647e937bde7fe2c6094332f9c9974c7b00 | 84db83228b44b140e5c8c3039770d8c2a7409ef0 | refs/heads/master | 2021-07-10T10:51:12.880462 | 2015-07-17T22:06:20 | 2015-07-17T22:06:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #ifndef PILA_H
#define PILA_H
#include "ListaLigada.h"
template <class T>
class Pila: public ListaSimple<T>{
public:
Pila();
void push(NodoArbol<T>* e);
NodoArbol<T> *pop();
T top();
};
template<class T>
Pila<T>::Pila()
{
}
template<class T>
void Pila<T>::push(NodoArbol<T> *e){
this->insertOneBefore(... | [
"mickambar19@gmail.com"
] | mickambar19@gmail.com |
b9bf3e7776da71bab4c8ff543f14d1364c9603a3 | e5d5e4d0ef2db5ebeab4a6464f672568ad961961 | /src/common/Network/Packet/VLANHeader.inl | 51e4123ab8ebc3663b96117465225342a5934e22 | [
"Apache-2.0",
"GPL-1.0-or-later",
"GPL-2.0-or-later",
"GPL-2.0-only"
] | permissive | elados93/trex-core | d7eebc5efbbb6ca0e971d0d1eca79793eb389a3b | 3a6d63af1ff468f94887a091e3a408a8449cf832 | refs/heads/master | 2020-07-03T13:11:03.017040 | 2019-11-25T09:20:04 | 2019-11-25T09:20:04 | 182,962,731 | 1 | 0 | Apache-2.0 | 2019-05-06T09:05:56 | 2019-04-23T07:49:11 | C | UTF-8 | C++ | false | false | 2,926 | inl | /*
Copyright (c) 2015-2015 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | [
"hhaim@cisco.com"
] | hhaim@cisco.com |
3edbf90fddaf52f5f475661b3a90fc9b92bd4f85 | 467b70302e5f7aeeef7cadae550e28cae2460a2f | /LIST/LIST/Source.cpp | 038b9316aba479a6e7b80cc23e00e0b17a149041 | [] | no_license | KilRol/ProjectOBJ | cf5924ffa49bcbb6c214a193f3fc310e4aa9d9d2 | ce80a33e7e99a525b1c66854c93d6b4bf3be3f8b | refs/heads/master | 2021-02-27T08:39:26.031167 | 2020-06-22T17:45:18 | 2020-06-22T17:45:18 | 245,594,974 | 1 | 1 | null | 2020-04-09T10:48:59 | 2020-03-07T08:26:16 | C++ | UTF-8 | C++ | false | false | 1,026 | cpp | #include <iostream>
#include <fstream>
#include "List.h"
#include "Price.h"
using namespace std;
int main()
{
List<Price> A;
if (A.isEmpty())
cout << "List is Empty" << endl << endl;
else
cout << "List is not Empty" << endl << endl;
fstream in("input.txt");
in >> A;
cout << "File Reading..." << endl <<... | [
"sniper.lech@gmail.com"
] | sniper.lech@gmail.com |
09c5e468b9518b3f39680ff74fba3c63f9b11abf | d80f429f15f9b8c7db30fe6027628ec11d8e49f4 | /sketch_oct12a.ino | 964142424651e6975b42211cce4886ea553b8900 | [] | no_license | amandugar/5X5-Matrix-of-Motors-PCF8575 | 17ff605540474b85ae2ead9e01114da21c966d47 | c5212ab638964ac1ff8cc1326fe3287464055df7 | refs/heads/master | 2023-06-24T07:15:10.104439 | 2021-07-28T07:59:21 | 2021-07-28T07:59:21 | 390,262,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | ino | #include "Arduino.h"
#include "PCF8575.h"
#include "Wire.h"
bool keyPressed = false;
void keyPressedOnPCF8575() {
// Interrupt called (No Serial no read no wire in this function, and DEBUG disabled on PCF library)
keyPressed = true;
}
// Set i2c address
PCF8575 pcf85751(0x20, 2, keyPressedOnPCF8575);
PCF8575 pc... | [
"55328714+amandugar@users.noreply.github.com"
] | 55328714+amandugar@users.noreply.github.com |
5f27c8e384f6d49efe7978a626584b2bf71201f3 | 087d0c38c71599abe12235b91732b28c5b8a9fb5 | /KotonVitrin/include/OgreViewportOverlay.h | 5546e914ee57a8edf9de8fd2af11b93738a6d869 | [] | no_license | umutgultepe/KotonWindow | 0051b90aadd55e84ef3a6df1d0e307acfb9bc4c5 | 288b5cc6d77a576d4fc954a721cda13206a7971f | refs/heads/master | 2021-01-10T20:43:59.312920 | 2012-10-08T12:18:17 | 2012-10-08T12:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | h | /*
This file is part of Hikari, a library that allows developers
to use Flash in their Ogre3D applications.
Copyright (C) 2008 Adam J. Simmons
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | [
"umut@umutgultepe.com"
] | umut@umutgultepe.com |
9f59f1e0d2fb5770148d6f232910eb473c237554 | c658b7eed69edfb1a7610694fe7b8e60a5005b7c | /src/noui.cpp | 60235a87ba419cd3de43bab32fb7b117df08c6a9 | [
"MIT"
] | permissive | wolfoxonly/coc | 0864a6dce2c36d703d93e9b2fb201f599d6db4bd | ff8584518c6979db412aec82e6528a4e37077da2 | refs/heads/master | 2021-01-24T16:52:14.665824 | 2018-04-28T10:00:42 | 2018-04-28T10:00:42 | 123,215,964 | 0 | 0 | MIT | 2018-02-28T02:15:20 | 2018-02-28T02:15:20 | null | UTF-8 | C++ | false | false | 1,486 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Crowncoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "ui_interface.h"
#include "init.h"
#include <string>
static bool noui_Thre... | [
"415313577@qq.com"
] | 415313577@qq.com |
824f7b8d9bab7052fa18803c6e4135a513b02cd4 | 89ce5fa0b85f3272c80f265ca2e48463be2eae08 | /GUI/TigerZone/GamePlayScreen.cpp | cee33a9e6acc9c7b07b7da8d5b94d25484a1b9de | [] | no_license | Doug0855/TigerZone | a90ee4c49bde96702231abfcadab202b3c979ad0 | 1354a081545c766c135a0507bb16a760cb7afd15 | refs/heads/master | 2021-01-11T07:35:21.966130 | 2016-12-05T19:42:45 | 2016-12-05T19:42:45 | 72,787,994 | 2 | 3 | null | 2016-12-02T21:46:03 | 2016-11-03T21:21:10 | C++ | UTF-8 | C++ | false | false | 6,139 | cpp | #include "GameplayScreen.h"
#include <SDL\SDL.h>
#include <Bengine\IMainGame.h>
#include <Bengine/Timing.h>
#include <Bengine/ResourceManager.h>
#include "ScreenIndices.h"
GameplayScreen::GameplayScreen(Bengine::Window* window) : m_window(window)
{
m_screenIndex = SCREEN_INDEX_GAMEPLAY;
}
GameplayScreen::~Gameplay... | [
"coltonmoler@gmail.com"
] | coltonmoler@gmail.com |
3904e5edb69a10d26273b2e4f59101e60a78913f | 8440f091d3e8bf77ff8248e0b8fe9e7b07de5c45 | /bathroom/light.cpp | c8814d6336f631fe3b4e7efa747ade9162b6d298 | [
"Apache-2.0"
] | permissive | carloamaglio/bathroom | e8b2049c3f8e0eb1ea485904153247d779a3bb94 | 46471e14de35b79911914bcb4f14dff0e37cddf3 | refs/heads/master | 2021-01-11T15:21:42.156501 | 2020-06-23T08:36:03 | 2020-06-23T08:36:03 | 80,341,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,670 | cpp | /*
* light.cpp - control main lights in the bathroom.
* There're two indipendent main lights. There is a ON/OFF switch near the door and a button near the mirror.
*
* Carlo Amaglio, Via Emigli 10 - 25081 Bedizzole (Italy)
*
* Released into the public domain
*/
#include <arduino.h>
#include "utils.h"
#include... | [
"carlo.amaglio@bmb.locale"
] | carlo.amaglio@bmb.locale |
050870f2427dc885c4a2a64c77c739070902d3ec | d6b4bdf418ae6ab89b721a79f198de812311c783 | /cam/include/tencentcloud/cam/v20190116/model/ListSAMLProvidersRequest.h | 01d239d5ad5df12a9c8c7e91ff1d79855ff5db3a | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"v_vyushang@tencent.com"
] | v_vyushang@tencent.com |
214f82d0a8b9cefc64f3baef7228e7dfc25df902 | 7d4442002438735cdfb46b676f9a20dd58a8c993 | /AppWizard/src/vs_wizard/vs60_old/wiz_file.h | bf2b643301d6617c1e121435f083481c2570f3de | [] | no_license | ywx/VisualFC | 4ac2216c3ff3331d7d6a2913588566f5fc459f3f | edd48db9a3bef6b5169fe92b31e3579cc6bd2ebb | refs/heads/master | 2021-01-01T19:15:40.408527 | 2013-04-23T14:54:45 | 2013-04-23T14:54:45 | 9,625,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | h | // wiz_file.h: interface for the wiz_file class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WIZ_FILE_H__C6F726F3_FD96_4A52_8115_8E991F5F97FE__INCLUDED_)
#define AFX_WIZ_FILE_H__C6F726F3_FD96_4A52_8115_8E991F5F97FE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#en... | [
"visualfc@a5e9189f-f13e-0410-9239-ddc9d5dcfb73"
] | visualfc@a5e9189f-f13e-0410-9239-ddc9d5dcfb73 |
8b89c7ac3fe01498706ef6a9bd758fb4518352dc | e8171b693447e50f0377fc73c633e56f6b3161d6 | /LC/Apple/Easy/implement_strStr.cpp | 0d9f49dfdc85b18bf36023613a97e340e2bb68d3 | [] | no_license | srikumar947/effective-barnacle | 693b85e7c932d089aed8d289b2202f749cc9fe0c | 26557f3090d4355c414c7b9e19b4fd1c7ee93b6c | refs/heads/master | 2020-03-19T02:14:56.929455 | 2018-06-15T23:47:48 | 2018-06-15T23:47:48 | 135,612,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | /*
Implement strStr().
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Example 1:
Input: haystack = "hello", needle = "ll"
Output: 2
Example 2:
Input: haystack = "aaaaa", needle = "bba"
Output: -1
Clarification:
What should we return when needle is an empty ... | [
"srikumar947@gmail.com"
] | srikumar947@gmail.com |
e2d2ad03370f2bc285991dc714b0dc235a237d0a | 6566b009ef0bc3a7620ac4e390836334bfbafe20 | /GpsData.cpp | f0f74aa4a180d9dbdc5143866027f7806e231e32 | [] | no_license | boromi/image_correction | 9b35972b5cf7e7c934bde0f9d5ba822cdfd403fa | 204052b144875d419a7a2037696d7330ec643178 | refs/heads/master | 2023-04-27T16:28:32.317528 | 2023-04-21T19:11:29 | 2023-04-21T19:11:29 | 12,298,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,570 | cpp | #include "StdAfx.h"
#include "GpsData.h"
GpsData::GpsData()
{
this->timestamp.wDay;
this->timestamp.wDayOfWeek;
this->timestamp.wHour;
this->timestamp.wMilliseconds;
this->timestamp.wMinute;
this->timestamp.wMonth;
this->timestamp.wSecond;
this->timestamp.wYear;
this->alt = 0.0;
this->epe = 0.0;
this->eph =... | [
"ductor600@gmail.com"
] | ductor600@gmail.com |
26cd8fd872c5c2c2c5814db59c735325a3f1b4e7 | 6eea2c010b4f19e44128e06e99c809830b84d94b | /test/FaceDetect/rzt_server_control.h | 5d67fe0179461f3053bd78b939438520cdcf7183 | [] | no_license | 15831944/test3 | e976c552d5553541c40167cddf0538d09e396805 | 90280b99fc8f3588fc6c4126c043d926f7300685 | refs/heads/master | 2022-04-02T07:32:03.662733 | 2020-02-08T07:12:16 | 2020-02-08T07:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef __RZT_SERVER_CONTROL_H__
#define __RZT_SERVER_CONTROL_H__
#include "camera_video_thread.h"
class CRztServerControl
{
public:
CRztServerControl();
virtual ~CRztServerControl();
public:
bool InitServer();
void UnInitServer();
bool EnumCamera();
bool OpenCamera(int iCameraId);
bool ... | [
"lysgwl@163.com"
] | lysgwl@163.com |
826734d1005016aac3e74f42b1fc4d120f9b283b | 98819d62d5b7e901975bb01b34b38dbc3cb2f422 | /src/7_Reverse_Integer.cpp | 6841acd7747bcbcd29c65e02508c5a2111d32981 | [] | no_license | Liuyi-Wang/LeetCode | 78666c34dd6de9fbed611fb7a53fb522fe823b7c | c4f86881cab16b09eafcad0745b59b334dae2ae5 | refs/heads/master | 2022-02-04T03:29:29.606869 | 2022-02-01T00:52:43 | 2022-02-01T00:52:43 | 196,485,970 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | class Solution {
public:
int reverse(int x) {
int sign = x>0?1:-1;
long long X = abs(static_cast<long long>(x));
long long result = 0;
while (0 != X) {
result = result*10 + X%10;
X /= 10;
}
if (result > INT_MAX) {
return 0;
... | [
"wangliuy@umich.edu"
] | wangliuy@umich.edu |
6e30248e8ec99d7867f1f6fba9f4a66b77d04700 | a8e4c73e926b9742af3798d1a424ea7184fa1c0e | /signin.cpp | 9730f4328960b69f10b794a38ede4b9d9ca15084 | [] | no_license | hecc1949/archery | 2492bbca705b544195cf186b482eca428868137a | 5d38d062adc619353fd9bfd70e64687b3e7a890e | refs/heads/master | 2021-07-13T17:19:07.776132 | 2020-07-25T01:23:08 | 2020-07-25T01:23:08 | 188,240,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,569 | cpp | /**
*
* 游戏选手基本信息录入,手动开局时用, 游戏中间也要增加/修改
*
* 通过SigninSheet结构体来管理(交换)配置游戏局数据,其实这就是编辑SigninSheet的一个UI界面
*
*/
#include "signin.h"
#include "ui_signin.h"
#include <QMouseEvent>
#include <QDebug>
SignIn::SignIn(QWidget *parent) :
QDialog(parent),
ui(new Ui::SignIn)
{
ui->setupUi(this);
set... | [
"hcc21cn@163.com"
] | hcc21cn@163.com |
46ed55c6d02ce10548750528c22bd86c31997acb | fa3591362499ec26ae674614320f6c7f251ce4a5 | /C++/ControleDeDespesas/Conexao.cpp | 4ef28b4b365ef704a363cc3dfc6516abd896b4e8 | [] | no_license | LuanTavares/Controle-De-Despesas | 0db995fb1bd2e678e8b5954dffe529534552510a | df57ed3ff533b173c6bc7700edb8686ebea498ae | refs/heads/master | 2020-05-17T19:27:58.404232 | 2015-03-02T19:31:30 | 2015-03-02T19:31:30 | 20,292,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include "Conexao.h"
#include <QSqlDriver>
Conexao::Conexao() {
db = QSqlDatabase::addDatabase("QMYSQL");
db.setDatabaseName("controlededespesa");
db.setHostName("localhost");
db.setPort(3306);
db.setUserName("root");
db.setPassword("luantavares");
}
QSqlDatabase Conexao::getDataBase(){
re... | [
"luantavares2902@gmail.com"
] | luantavares2902@gmail.com |
8e44fb07cfa685fb1843d422b2bc2bc413049d75 | 5d2d04c255a45c615b223c84640a0256aa4ba91f | /Project/WheelOfFortune_v5/Letter.h | c497d02a9022f46da78433330201092777339923 | [] | no_license | javierborja95/JB_CSC17a | dee213063855177fb4f855f8032b707af055a9b9 | a86a56a300d2f98ebef0c7b5742d82d7f2be5532 | refs/heads/master | 2021-07-11T10:45:38.415640 | 2016-12-10T07:14:35 | 2016-12-10T07:14:35 | 66,890,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | h | /* File: Letter.h
* Author: Javier B
* Created on December 5, 2016, 6:08 PM
* Purpose: Class Specification File for Letter class
*/
#ifndef LETTER_H
#define LETTER_H
//System Libraries
using namespace std; //Namespace of the System Libraries
//User Libraries
class Letter{
protected:
char letter;
... | [
"javierborja95@gmail.com"
] | javierborja95@gmail.com |
e561cbf50984d5649dee5148e92b439abab908e8 | 05df3699579aba2879d2dd6c4de421e7d4e75c61 | /src/autoupdaterwidgets/installwizard.cpp | f67527c683166e9a8494f230ba6efb26565036ad | [
"BSD-3-Clause"
] | permissive | Skycoder42/QtAutoUpdater | 2474f1df5b8cbbdb63319110941adec99082a4c3 | 762710464659176d1e41e0dc475e6f23c1b278ad | refs/heads/master | 2023-03-17T01:10:59.086734 | 2023-03-04T10:55:51 | 2023-03-04T10:55:51 | 48,326,244 | 731 | 183 | BSD-3-Clause | 2022-03-28T05:56:51 | 2015-12-20T15:26:26 | C++ | UTF-8 | C++ | false | false | 9,864 | cpp | #include "installwizard_p.h"
#include "ui_componentspage.h"
#include "ui_installpage.h"
#include "ui_successpage.h"
#include "ui_errorpage.h"
#include <QtGui/QPainter>
#include <QtGui/QCloseEvent>
#include <QtWidgets/QStyle>
#include <dialogmaster.h>
using namespace QtAutoUpdater;
InstallWizard::InstallWizard(UpdateIn... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
261e26b095258513f236395a9cc9a368d298f3e9 | 0631797bb83160acc609d3aaff7c4c057e657646 | /dfs/cplusplus/src/dir/CRPCNIOSocketServer.cpp | 9bc4da6c8abee8e1add12bb6c4afb7841d0c8290 | [] | no_license | zpzhao/hatch | a11213c941dacbdb1176bcbcf4676131f9cebd6a | 0bc80834c4c63c9c15b09ce4625b7c2223f8e285 | refs/heads/master | 2022-12-12T04:21:54.771809 | 2021-03-18T05:56:54 | 2021-03-18T05:56:54 | 67,197,298 | 0 | 0 | null | 2022-12-08T02:36:06 | 2016-09-02T06:42:15 | C | UTF-8 | C++ | false | false | 5,294 | cpp | /*
* CRPCNIOSocketServer.cpp
*
* Created on: 2018年9月25日
* Author: zpzhao
*/
#include "CRPCNIOSocketServer.h"
#include "CServerRequest.h"
#include "CRPCServerResponse.h"
#include <sys/socket.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/epoll.h>
#include <cstring>
#defi... | [
"zhaozp@uxsino.com"
] | zhaozp@uxsino.com |
0cdb1efddca92206307ceba6e471aa29e41578e3 | 679f9daa6d41875e9eb1c981df6e2295419787aa | /Observer/MessageHandler.hpp | f50d36f56c377d0df418ab5b9b6cdefe538486f7 | [] | no_license | Tigole/rpg_engine | 4296546bdcaaa34e076f49e1e143cbd7cbd6f33f | 0667aa917fe452605fc3f5df174bd616b31cbf26 | refs/heads/master | 2021-01-19T03:27:41.351170 | 2018-11-18T19:02:29 | 2018-11-18T19:02:29 | 60,992,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | hpp | #ifndef _MESSAGE_HANDLER_HPP
#define _MESSAGE_HANDLER_HPP 1
#include <unordered_map>
#include "Communicator.hpp"
template<typename MessageTypeId, typename MessageType>
class MessageHandler
{
public:
MessageHandler(){}
void mt_Add_Observer(const MessageTypeId& msg_id, Observer<MessageType>* observer)
{
m_subscr... | [
"sylvain.janniere@laposte.net"
] | sylvain.janniere@laposte.net |
313f2401794443e4af74bc839c6ef27a9391190c | b54190e67d9cada7d61a667211266dc2f32c2a35 | /lab7_1.cpp | 787b7d024d711fd039ae6df53683a9a223e5972d | [] | no_license | gosiawis/AOOP | 2ea38a7da83992b51d7e6c8d0d924e0e5ddb4b83 | 987a1b56fe6333208a39ea3c5f2abff0ed65dd1d | refs/heads/master | 2020-04-23T20:48:53.440358 | 2019-03-13T09:18:16 | 2019-03-13T09:18:16 | 171,452,136 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,170 | cpp | #include "stdafx.h"
#include <iostream>
#include <algorithm>
#include <numeric>
#include <vector>
#include <random>
#include <functional>
#include <iterator>
using namespace std;
class generatorLiczb {
static default_random_engine rng;
normal_distribution<double> dist;
public:
generatorLiczb(double mi = 0.0, doub... | [
"malgosia.wisniewska@hotmail.com"
] | malgosia.wisniewska@hotmail.com |
222f9034a92d251861fa70171faa23c0c968eebc | eba9f1b0795a728c91bf0285193259a98407b7dc | /Phoenix/PX2Engine/Graphics/PX2Node.hpp | 162b77d25818b456d58310a0bc07905f350f6785 | [] | no_license | swordlegend/Phoenix | 908ea480a9f0e9ea41ae4571a4b01caa917f06bd | d14b478f4c759b66a36f3d39defae42bb654555b | refs/heads/master | 2021-01-19T20:22:08.862065 | 2017-04-17T03:56:08 | 2017-04-17T03:56:08 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,765 | hpp | // PX2Node.hpp
#ifndef PX2NODE_HPP
#define PX2NODE_HPP
#include "PX2GraphicsPre.hpp"
#include "PX2Movable.hpp"
#include "PX2Culler.hpp"
#include "PX2Function.hpp"
namespace PX2
{
typedef void(*TravelExecuteFun) (Movable *mov, Any *data, bool &goOn);
/// 场景节点类
/**
* 该类实现“父亲-孩子”机制,用来组织场景的构建。从该类可以派生不同的类如:
* BspN... | [
"realmany@qq.com"
] | realmany@qq.com |
0f20ccb75170767e532e43be8f4f7de97c2514fd | 76abac2a3d4601b906fedf567e41ca4a7b8f90cb | /2DGraph.cpp | 8da87ca163a3ea3c621eefd1630035ed62ab1172 | [] | no_license | sergeigrebenyuk/nfields | ec84e46e3486cd73173e842e5a9407835122dbad | 582d49bb06bcca4f16b4d775a0b2f98b9bdc8bc2 | refs/heads/master | 2016-08-06T04:43:24.895605 | 2015-02-01T16:17:26 | 2015-02-01T16:17:26 | 30,123,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,352 | cpp | // 2DGraph.cpp: implementation of the C2DGraph class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "2DGraph.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////////////////////////////////////////... | [
"sergeigrebenyuk@gmail.com"
] | sergeigrebenyuk@gmail.com |
17d1fdf9148cbf7b4158fad5286b96381eaba038 | d3f28e804167124ea95a208dabd82d32c7599b0c | /test_iterator/B.cpp | a85161db7421e9c9e67ee9de4f279f994a44a6d2 | [] | no_license | Vlad-ole/Parser_signal_finder | 2912219e0fd361641f1771c3501536befa4f16d4 | c378e514ddd4f2a0081ad5755090bd9fb2a3ca80 | refs/heads/master | 2020-05-29T08:46:04.440580 | 2017-06-30T08:01:29 | 2017-06-30T08:01:29 | 69,550,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include "B.h"
B::B(int i)
{
xv.push_back(100);
xv.push_back(i);
xv.push_back(30);
}
B::~B()
{
}
vector<double>& B::GetXv()
{
return xv;
}
| [
"Vlad-ole@mail.ru"
] | Vlad-ole@mail.ru |
9346385c22647a61158267aa82b63a12b88b232f | ea49dd7d31d2e0b65ce6aadf1274f3bb70abfaf9 | /problems/0784_Letter_Case_Permutation/石成玉.cpp | 15fd340f7c03bde7c6c8cd24daea9509b4b7363a | [] | no_license | yychuyu/LeetCode | 907a3d7d67ada9714e86103ac96422381e75d683 | 48384483a55e120caf5d8d353e9aa287fce3cf4a | refs/heads/master | 2020-03-30T15:02:12.492378 | 2019-06-19T01:52:45 | 2019-06-19T01:52:45 | 151,345,944 | 134 | 331 | null | 2019-08-01T02:56:10 | 2018-10-03T01:26:28 | C++ | UTF-8 | C++ | false | false | 879 | cpp | class Solution {
public:
vector<string> letterCasePermutation(string S) {
vector<string> ans;
string sub_ans;
traverse(ans, sub_ans, S, 0);
return ans;
}
void traverse(vector<string> &ans, string &sub_ans, string &S, int i) {
if(i < S.size()) {
... | [
"493525977@qq.com"
] | 493525977@qq.com |
a7482d0fa2d4cafecadfd27f7a1d69cdd7cd4da9 | fad17ca96190dc2fd2aa1a53f7307adc64053faa | /src/gfx/core/Color.h | 87789ba38d5ed17d47957909eeb46710081155df | [] | no_license | dbp038/Software-Render | d6c65da3561e6f70745671f27e5383c0dd9b2120 | 6b6493441e70303016e41cc531c33659875f97cd | refs/heads/master | 2023-01-01T00:44:00.848101 | 2020-10-17T17:48:05 | 2020-10-17T17:48:05 | 257,016,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,051 | h | /******************************************************************************************
* Chili DirectX Framework Version 16.10.01 *
* Colors.h *
* Copyright 2016 PlanetChili <http://www.planetchili.net> *
* *
* This file is part of The Chili DirectX F... | [
"dbp038bn@gmail.com"
] | dbp038bn@gmail.com |
aec752fb2322a59c495d9e0517853904f858380a | 8fb0a9052edc8a01f2e022340cdf6ea5db5f027b | /src/Collision/CollisionHandler.cpp | e4bab86b74cff40cb1472fc71ba208282eaf9612 | [] | no_license | ungame/sdl-game-engine | 7f44835886c750b48ba217e3962439c088fb7291 | 26ea47b6e35a43198d70e3cec7e169d2406beac2 | refs/heads/master | 2023-06-22T22:05:30.470552 | 2021-07-27T03:36:36 | 2021-07-27T03:36:36 | 380,649,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | #include "CollisionHandler.h"
#include "Engine.h"
#include <SDL2/SDL.h>
CollisionHandler* CollisionHandler::s_Instance = nullptr;
CollisionHandler::CollisionHandler()
{
m_CollisionLayer = (TileLayer*) Engine::GetInstance()->GetMap()->GetMapLayers().back();
m_CollisionTilemap = m_CollisionLayer->GetTilemap();... | [
"ungmea@gmail.com"
] | ungmea@gmail.com |
f495956e990e0b4d8c626b2fdf2498a3244fb301 | a13f4719417737970abc57e14879d08a190ab13b | /Primitive_Drawing - OpenGl 3.3+ std/Primitive_Drawing/CollisionManager.h | 506d6b6612e20f7b3476bd66c0890d7c489ac114 | [] | no_license | madadoux/OpenGL | 40dd586d5a33c173f207a8667e59619a63ed3e07 | 53cc5f9c4767608c76fbe03ec2abf2d50697c102 | refs/heads/master | 2021-01-21T13:41:57.367053 | 2016-05-21T13:44:01 | 2016-05-21T13:44:01 | 55,612,473 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | #ifndef CollisionManager_h__
#define CollisionManager_h__
#include <vector>
#include "CollidableModel.h"
class CollisionManager
{
std::vector<CollidableModel*> collidableModels;
public:
CollisionManager(void);
~CollisionManager(void);
void UpdateCollisions();
void SetCollidableModels(std::vector<CollidableModel*... | [
"mohedsh@gmail.com"
] | mohedsh@gmail.com |
9bac9f24d6f6fe134419c2dbc75174ae97dcb1d3 | 42c3d061692757a7029a3ebf3c52840eb53a89f4 | /SockLibX/rslvprot.cpp | 599def6a2ec3e7f0ee546971cbf098b6bfd30b47 | [
"BSL-1.0"
] | permissive | neilgroves/MlbDev | 510b4877e85fc18e86941006debd5b65fdbac5dc | aee71572e444aa82b8ce05328e716807e1600521 | refs/heads/master | 2021-01-16T22:20:18.065564 | 2014-02-21T12:35:32 | 2014-02-21T12:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | /* *********************************************************************** */
/* *********************************************************************** */
/* Network Programming Support Library (NPSL) Source Module */
/* *********************************************************************** */
/*
File Name ... | [
"michael.brock@gmail.com"
] | michael.brock@gmail.com |
3c6f5081c788ac3ad24c232c29f5d90512a57f8c | 2b971fba3e6458017878629267ff3aaa56f52a4a | /plugins/opengl/include/sge/opengl/egl/display_unique_ptr.hpp | fa322db10580067c0543014aa35733c6df05d71c | [] | no_license | BlenderCN-Org/spacegameengine | 31c592ae411989a14593bd432b519a0bf185f12f | 8df13fe9b9d734b19591dbed8fd753342e87ef5c | refs/heads/master | 2020-05-23T23:59:49.731228 | 2019-04-28T09:23:04 | 2019-04-28T09:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | hpp | /*
spacegameengine is a portable easy to use game engine written in C++.
Copyright (C) 2006-2016 Carl Philipp Reh (carlphilippreh <at> gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
39479d9730813d411fee582603dea4968af78088 | 5e4eb8ed028cbbf27c0df9dbd7ad1f91a3892436 | /xPhoton/dev/treeMgr.cc | c0b412b0069323f409fc0321fa251d1c3145c37d | [] | no_license | Hsin-Yeh/xPhoton | 66f9bcf5fc194b13d97efef26f01b2fc11ef7481 | 41246f95aded2bd1e10e2431e68e405017a18475 | refs/heads/main | 2023-05-25T14:44:42.345736 | 2021-06-03T05:09:54 | 2021-06-03T05:09:54 | 373,386,544 | 0 | 0 | null | 2021-06-03T05:03:01 | 2021-06-03T05:03:01 | null | UTF-8 | C++ | false | false | 6,416 | cc | //#include "xPhoton/xPhoton/interface/treeMgr.h"
#include "xPhoton/xPhoton/dev/treeMgr.h"
void treeMgr::FillEvt()
{ t->Fill(); }
void treeMgr::Clean()
{ TTree* t_ = t; memset((treeMgr*)this, 0x0, sizeof(treeMgr)); t = t_; }
void treeMgr::WriteTo(TDirectory* dir)
{
if ( dir ) dir->cd();
LOG_INFO( "write tree ... | [
"johnson20050@gmail.com"
] | johnson20050@gmail.com |
6e29589bfe3db5d7f871bf64b166f5c99e24c50d | 037f6e083c698bf32ba6acbb2dd2089e3df07676 | /leetcode154.cpp | c24939ff8a539700fcea35eed29b7cf5a5c8254d | [] | no_license | joshuawong/leetcode | e4f4a6727b1aaa90dbad16fa20f939af73ab5a14 | 421a74c5a3c6138967f17691fdca498fbeb8d2e4 | refs/heads/master | 2021-01-21T04:47:17.223310 | 2016-06-20T08:14:55 | 2016-06-20T08:14:55 | 45,549,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | class Solution {
public:
int findMin(vector<int>& nums) {
int begin = 0;
int end = nums.size() - 1;
while(begin < end)
{
int mid = begin + (end - begin) / 2;
if(nums[mid] > nums[end])
begin = mid+1;
else if(nums[mid] < nums[end])
end = m... | [
"joshuawong556@gmail.com"
] | joshuawong556@gmail.com |
8856c0bf8d822e6b6a67837b35efa3c29e5ddec7 | 105cea794f718d34d0c903f1b4b111fe44018d0e | /ash/test/pixel/ash_pixel_differ.h | 5773e6b70d2bbf61d383787b548ecc2ce3ba0c00 | [
"BSD-3-Clause"
] | permissive | blueboxd/chromium-legacy | 27230c802e6568827236366afe5e55c48bb3f248 | e6d16139aaafff3cd82808a4660415e762eedf12 | refs/heads/master.lion | 2023-08-12T17:55:48.463306 | 2023-07-21T22:25:12 | 2023-07-21T22:25:12 | 242,839,312 | 164 | 12 | BSD-3-Clause | 2022-03-31T17:44:06 | 2020-02-24T20:44:13 | null | UTF-8 | C++ | false | false | 7,383 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_TEST_PIXEL_ASH_PIXEL_DIFFER_H_
#define ASH_TEST_PIXEL_ASH_PIXEL_DIFFER_H_
#include <iterator>
#include "ash/shell.h"
#include "ash/test/pixel/ash_pixel_diff_util.... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.