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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f7c02eefe804c8068ec91ee7e3d528c68c892f2 | 6703e05cf76a7b78c031447fa124f3f0c030f2da | /src/qt/winshutdownmonitor.cpp | 56686f9d7d0d0b829f222ba92790302075efb205 | [
"MIT"
] | permissive | cenut/donu-core | d26e46f76107fe00ef5fd2d27fbfac6afff83149 | abd6580ca4df833fe5d08face22a1694a83a9d6b | refs/heads/master | 2020-06-23T04:35:49.513160 | 2019-07-23T23:09:55 | 2019-07-23T23:09:55 | 198,514,932 | 0 | 0 | NOASSERTION | 2019-07-23T22:04:18 | 2019-07-23T22:04:18 | null | UTF-8 | C++ | false | false | 2,438 | cpp | // Copyright (c) 2014-2018 The Bitcoin Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/winshutdownmonitor.h>
#if defined(Q_OS_WIN)
#include <shutdown.h>
#include <util.h>
#include <windows.h>
#inc... | [
"kris@blockchaindatasystems.com"
] | kris@blockchaindatasystems.com |
f6f349c263f8b138d9d74fcb46fb424d33aded9e | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/fusion/algorithm/query/count_if.hpp | b82eef011fab34e29ec7440a102d38ec48a2b93e | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2007 Dan Marsden
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)
=====... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
e2fb4d8f1c3c7920d592962e6574ddadb2d4ca62 | edab80463c1286ac55d411af8af908ae878876e6 | /N-queen/NQueen.cpp | 8d0c5cd0a79fa57d75376eed0c6b2c787f3f2f70 | [] | no_license | seunghwa5/algorithm | 444c893c7298c03f1aeab32a5c8a34dbea907ffd | d7fe07ca07225dc03f4570314cd49ea47b53b1e0 | refs/heads/master | 2021-01-10T04:16:17.835751 | 2016-01-20T16:22:42 | 2016-01-20T16:22:42 | 49,312,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int *col;
int N;
int count;
void N_Queens(int);
bool possible(int);
void print_board();
int main()
{
count = 0;
cin>>N;
col = new int[N+1];
N_Queens(0);
cout<<count<<endl;
}
void N_Queens(int i)
{
if(possible(i))
{
if(i==N)
{
//print_board();
... | [
"seunghwa.dev@gmail.com"
] | seunghwa.dev@gmail.com |
4d1125c013c7cedd6ad8a085f1169e8201a7887b | a9141309c9d61caf149f54ba6f4713a1c3c4e5fd | /Proj Euler Codes/3prime/pe3.cpp | 9fca90a02cee2168e9535defad8e9b784c4c15bd | [] | no_license | TrigonaMinima/Minima-C | 4ddef8a98ed33f00f173bfab17479fd6878da6cf | 589ad53d682ebe7eea838ddd8f673d90bfd453cd | refs/heads/master | 2021-01-23T20:46:50.630174 | 2015-09-22T13:21:13 | 2015-09-22T13:21:13 | 14,394,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | # include <iostream>
using namespace std;
int main()
{
long int j,i=600851475143;
for(j=2;j<i/2;j++)
{
if(i%j==0)
cout<<j<<endl;
}
return 0;
}
| [
"shivamrana95@yahoo.in"
] | shivamrana95@yahoo.in |
2ee3bee0e00e103e0b08ac0031583fe63155c2fd | 105ac3f78122b133b632c29ed0cf8648f315bf94 | /tests/syslog.cpp | 6b4bbcfad32967ed79b0052310bcd1a4e2d87434 | [
"MIT"
] | permissive | mistralol/liblogger | cb85c53bcb4753280b6f265e77ef6d9c2caf726c | b9b81bd707a9c83e6ec9a7f802a6fff138bed2ec | refs/heads/master | 2020-12-18T13:49:10.833190 | 2020-02-04T15:41:02 | 2020-02-04T15:41:02 | 11,122,237 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp |
#include <liblogger.h>
using namespace liblogger;
#include "examples.h"
int main(int argc, char ** argv)
{
LogManager::Add(new LogSyslog());
examples();
LogManager::RemoveAll();
return 0;
}
| [
"james@stev.org"
] | james@stev.org |
5455ced4e2eb51052c7df5b1edc7e2c3f52d29b4 | ede14884b614d3b569c633313058c75974b43ecb | /Classes/IGameScene.h | 35990270e0233115016f7e56b9347afcdb897c36 | [] | no_license | codeoneclick/iGaia-Tanks | 7245b5a23d4c77158c6bcfb6b4ec76dcdf79dd79 | 766e68ef5aeef8c50c3c0825596631231435124c | HEAD | 2018-12-28T04:47:33.014104 | 2012-09-28T15:48:26 | 2012-09-28T15:48:26 | 5,230,304 | 1 | 0 | null | 2012-08-20T10:23:45 | 2012-07-30T09:11:23 | C++ | UTF-8 | C++ | false | false | 1,201 | h | //
// IGameScene.h
// iGaia
//
// Created by sergey sergeev on 7/4/12.
//
//
#ifndef __iGaia__IGameScene__
#define __iGaia__IGameScene__
#include "CGameCharaterControllerMgr.h"
#include "CGameAIMgr.h"
#include "IGameLevel.h"
#include "CSceneMgr.h"
#include "CCharacterControllerPlayer.h"
#include "CGameShooterMgr.h... | [
"sergey.sergeev.oneclick@gmail.com"
] | sergey.sergeev.oneclick@gmail.com |
73a162a7c31958a03fa0b4b7ef8fb7ad177e64fe | 40545061306f562b7651a46c8102d3db8f06a639 | /core/projects/redmax/python_interface.cpp | 2ea01aa30763651ccfd5a2516faa48ae5f9589bb | [
"MIT"
] | permissive | TrendingTechnology/DiffHand | 4d79e1322a97b47c259cf6678f95426bc06e6394 | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | refs/heads/master | 2023-06-19T10:46:49.776006 | 2021-07-14T17:26:36 | 2021-07-14T17:26:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,008 | cpp | #include <pybind11/pybind11.h>
#include <pybind11/eigen.h>
#include <pybind11/stl.h>
#include "Simulation.h"
#include "SimEnvGenerator.h"
using namespace redmax;
namespace py = pybind11;
Simulation* make_sim(std::string env_name, std::string integrator = "BDF2") {
Simulation* sim = nullptr;
if (env_name == "... | [
"xujie7979@gmail.com"
] | xujie7979@gmail.com |
29d4e27c823c5f72e77673604d3ead95b86fdfd8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5751500831719424_0/C++/diko/a.cpp | cbe78c3ef1e7b1daa30affc3cc9d50dcb4ea8e29 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <string>
#include <cmath>
using namespace std;
vector<string> vs;
int vi[103][103];
char vc[103][103];
int vk[103];
int n;
string st;
int clc(int x, int tar){
int tot=0;
for(int i=0;i<n;i++){
tot+= abs(vi[i][x]-tar);
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
9d280121d2fec59c2e64735d97537227e16e6b2c | ba5b1590cf55c5f163d124f5e65b556eeae279ca | /tests/hash-map.h | 2929ce36a0bc0d1e0234df9fbe04703a7c00546f | [
"MIT"
] | permissive | orbitrc/primer | 0c264a87349da9a0e8fc9d3c8506795ee96fff4d | e92806dece0d7cd50cbbae0b6cf7a133f154651d | refs/heads/main | 2023-08-17T13:02:21.225796 | 2023-08-17T12:27:35 | 2023-08-17T12:27:35 | 177,574,239 | 0 | 0 | MIT | 2023-09-11T07:26:31 | 2019-03-25T11:35:47 | C++ | UTF-8 | C++ | false | false | 200 | h | #ifndef _TESTS_HASH_MAP_H
#define _TESTS_HASH_MAP_H
namespace tests {
void hash_map_length();
void hash_map_insert();
void hash_map_get();
void hash_map_remove();
}
#endif // _TESTS_HASH_MAP_H
| [
"hardboiled65@gmail.com"
] | hardboiled65@gmail.com |
b5231498a4d882a88654cbcfb58b66bf6e0fe771 | 93d26a235f8223aa055b26ec604ddcd217ca4e3b | /ClipboardWatcher/ClipboardWatcher.cpp | 5325760529c3a5b57e45e8f68acedce0f54ec86e | [
"BSD-3-Clause"
] | permissive | stadub/WinClipboardApi | e4b4d81c5776326f339f689999693d0cd6287602 | fff8521a29b8a2dcea8953b77590cc3b5431f528 | refs/heads/master | 2021-01-19T18:30:21.878128 | 2015-06-22T19:35:05 | 2015-06-22T19:35:05 | 27,974,126 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | // ClipboardWatcher.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
Messages msg;
if (argc != 2)
{
std::wstring appName(argv[0]);
std::string asciiAppName(appName.begin(), appName.end());
std::stringstream errText;
errText << "Incorr... | [
"dima_@live.at"
] | dima_@live.at |
e227a53cc58276045b2c06c25a4afc88b0569c09 | 5abd8052981c783f6afff99000148867128d7c40 | /SharedUtility/DataReader/LibsvmReaderSparse.h | 052233686ec5d7d0468dc7b4bac43383d693521d | [
"Apache-2.0"
] | permissive | YawenChen0823/gpu-svm | d6c60541a441ea3ee3fa7f41f1e4ed4d532aff1a | d0bfdbc70c8bca5112e1bbe305b140c1ad3aae76 | refs/heads/master | 2021-06-23T22:07:07.622827 | 2017-08-31T06:46:42 | 2017-08-31T06:46:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,499 | h | /**
* trainingDataIO.h
* Created on: May 21, 2012
* Author: Zeyi Wen
**/
#ifndef TRAININGDATAIO_H_
#define TRAININGDATAIO_H_
#include <assert.h>
#include <sstream>
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <vector>
#include <limits>
#include "BaseLibsvmReader.h"
#include "../DataType.h"... | [
"wenzeyi@gmail.com"
] | wenzeyi@gmail.com |
0de2be3784769a5726b284546b261552ae4d3668 | e21dc658f810aec497b879bf05974fdd993e76d5 | /SimpleShooter/SimpleShooter09/SimpleShooter/Enemy.cpp | b7bd1d093e1d80579f2bb9838bf1c96c7ebd0a1b | [] | no_license | levidsmith/AllegroExamples | ca8612d2398e0f4915ba05ab5fef075808cfaa84 | 8fe7d97eea7fee15ffc0528f548a8c798109375e | refs/heads/master | 2023-02-09T13:10:37.073497 | 2020-12-31T15:57:56 | 2020-12-31T15:57:56 | 325,827,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | //2020 Levi D. Smith
#include "Enemy.h"
Enemy::Enemy(float init_x, float init_y) : GameObject(init_x, init_y, 64, 64) {
x = init_x;
y = init_y;
fSpeed = 2 * GameManager::UNIT_SIZE;
vel_x = fSpeed;
fLifetime = 0;
isAlive = true;
}
void Enemy::Update() {
x += vel_x * GameManager::DELTA_TIME... | [
"me@levidsmith.com"
] | me@levidsmith.com |
8a8313e8542ea1a0167f8437f3935ff7afe2f888 | 2aa153c6f3ec4484a70769ad9ef753f212b3cc57 | /Header_Files/Pocket.h | 5742e81a7e229e5666f2e058b1c1f66c6e73efff | [] | no_license | marstodd/genetic-algorithm | 4346d6c98f7b89f63d44bd50c8af0b2989500bfe | 00f38f30285f8dfd8c2c2a7c8b2cff4f0fb4f300 | refs/heads/master | 2021-01-10T20:14:04.094056 | 2011-11-29T20:38:42 | 2011-11-29T20:38:42 | 2,877,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | h | #pragma once
#include<vector>
#include "Random.h"
#include<math.h>
#include<iostream>
using std::cout;
using std::endl;
using std::vector;
#define NUMBER_OF_COINS 6
enum Coins
{
PENNY = 1,
NICKEL = 5,
DIME = 10,
QUARTER = 25,
HALF_DOLLAR = 50,
DOLLAR = 100
};
class Pocket
{
private:
bool coinsAllowed[NUMBER_OF... | [
"nanook889@gmail.com"
] | nanook889@gmail.com |
6f946ca9936f027a41c7e71e49462bb2366653b1 | e3e8b7056b8c5a604cc1a576da0d6d5134870f93 | /src/lc149/lc149.cpp | 2af5e4414269a35d2cd0a5210a3e89c4c4588fd0 | [] | no_license | zou-song/leetcode | a2acc8d01538f8bc84dbb83f11c24fe876cd071b | 5172da312cba7e185d155386bc5527432c40c2f8 | refs/heads/master | 2020-04-25T14:57:22.251872 | 2019-05-20T11:59:18 | 2019-05-20T11:59:18 | 172,860,827 | 0 | 0 | null | 2019-05-20T11:59:19 | 2019-02-27T06:55:26 | C++ | UTF-8 | C++ | false | false | 2,167 | cpp | #include "lc.h"
class Solution {
struct Coeff
{//ax + by + c = 0;
long long a;
long long b;
long long c;
};
struct Hasher
{
size_t operator()(const Coeff& c) const
{
if (c.b == 0)
{
if (c.a == 0)
{
... | [
"zousong0322@qq.com"
] | zousong0322@qq.com |
ad4ae470859fcb794230671389520c3a5f6399ec | 967482ce7998d8814a13d8509db947b0df31f8e0 | /src/lib/eng/tst/t_reserved.cpp | 8bcd01b20adb51c568fa0117b032c0d48e727633 | [] | no_license | loongarch64/afnix | 38dc9c9808f18ff5517f7c43f641057a9583aeda | 88cc629cc09086cda707e5ad6d8a1bd412491bbe | refs/heads/main | 2023-05-31T17:16:56.743466 | 2021-06-22T05:18:32 | 2021-06-22T05:18:32 | 379,150,535 | 0 | 0 | null | 2021-06-25T03:05:27 | 2021-06-22T05:20:29 | C++ | UTF-8 | C++ | false | false | 1,599 | cpp | // ---------------------------------------------------------------------------
// - t_reserved.cpp -
// - afnix engine - reserved tester module -
// ---------------------------------------------------------------------------
// -... | [
"wuxiaotian@loongson.cn"
] | wuxiaotian@loongson.cn |
3a95f681201e06a20a803d8d19ea53f8cf4d9137 | c81c61f13bcc3a15ccac935969d074d2eb7fce12 | /C++/SGI STL/stl_stack.h | 9dc3194d5d36a71294e65615275e193c8140ba2e | [] | no_license | cheris-c/c-plus-plus | 6331dad0f46a8bd25a33d337d8fcd74b21639c57 | cdd413c548249dbdc22e060e16ca4f6513060ae6 | refs/heads/master | 2023-05-02T22:31:16.353875 | 2021-05-19T08:25:23 | 2021-05-19T08:25:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,593 | h | /*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this... | [
"393673587@qq.com"
] | 393673587@qq.com |
243108f074a7e3d0e2388194e5b48709dd28e4d3 | b27d100efea585c45ec2ebcef3e140b95a12869f | /ultimas/12_12_13/ARDUINO 2/recepcion_prueba/recepcion_prueba.ino | d172c1df3d74d3093469ad374609563c5a6a2e8a | [] | no_license | arturocontreras/Codes_4_Arduino | 012b6f6dd8ba35d77f24baa36739d656fe790bcd | 5b5a5ba95937564cfbe8bb70110302f78cc7c8e6 | refs/heads/master | 2020-07-03T16:41:18.103490 | 2016-12-28T03:00:57 | 2016-12-28T03:00:57 | 74,245,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | ino | // receptor nrf24l01 con Mirf
#include <SPI.h>
#include <Mirf.h>
#include <nRF24L01.h>
#include <MirfHardwareSpiDriver.h>
int rate[9];
int rate2[9];
void setup(){
Serial.begin(9600);
Mirf.cePin = 48; //ce pin on Mega 2560, REMOVE THIS LINE IF YOU ARE USING AN UNO
Mirf.csnPin = 49; ... | [
"arturocontrerasmartinez@gmail.com"
] | arturocontrerasmartinez@gmail.com |
2019b79044ef18780ad830e1a0a96e085df2e8d4 | fa55d8ed32564195f2687d1e18b99f80c5683073 | /lbc_usaco/3.1-agrinet.cc | 259dd58c6fcdd2710fdd8ce1e418c2f38b393111 | [] | no_license | TenFifteen/SummerCamp | 1841bf1bd212938cee818540658185cd3e429f0c | 383b9321eee9e0721772f93a897c890f737f2eff | refs/heads/master | 2020-04-05T23:48:01.393256 | 2018-03-11T12:37:38 | 2018-03-11T12:37:38 | 38,595,086 | 9 | 4 | null | 2016-07-18T14:21:15 | 2015-07-06T03:15:55 | C++ | UTF-8 | C++ | false | false | 1,327 | cc | /*
ID: libench1
PROG: agrinet
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <climits>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <queue>
#include <stack>
#include <algorithm>
#include <cmath>
using namespace std;
int ma... | [
"libenchao@gmail.com"
] | libenchao@gmail.com |
a0a012ad106a1b70e796bd54e396123b5bf180d4 | 53871321c2e8295c91f3f041fce59ec2bef8df0f | /Assignment5/Mark_Sort_Database/main.cpp | 89f96ad133a4bb918f9444065ba42c570c8da510 | [] | no_license | DrewAllensworth/da2225087 | 19efcc32cbcbc10549054e1c87425d2cc1a2bd13 | 3a32275122b2627d84be680ac4c03d83e273ee0c | refs/heads/master | 2021-01-22T11:54:55.138924 | 2014-02-12T18:49:54 | 2014-02-12T18:49:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | cpp | /*
* File: main.cpp
* Author: Drew Allensworth
* Created on February 3, 2014, 8:13 AM
* Purpose: Mark Sort Database converted to pointer notation and
* dynamic allocation
*/
//System Libraries
#include <cstdlib>
#include <iostream>
#include <ctime>
using namespace std;
//Global Constants
//Function Pr... | [
"allensworthdrew@aol.com"
] | allensworthdrew@aol.com |
ba35be35b2fa7e8e4e424210295d452ee5a926ad | 415980fd8919e316194677d7192eb73b6c74f172 | /ecs/include/alibabacloud/ecs/model/InstallCloudAssistantRequest.h | 10ee82fe7fbbb8138221b261ebd0b578a3122f1f | [
"Apache-2.0"
] | permissive | cctvbtx/aliyun-openapi-cpp-sdk | c3174d008a81afa1c3874825a6c5524e9ffc0f81 | 6d801b67b6d9b3034a29678e6b820eb88908c45b | refs/heads/master | 2020-06-20T01:19:45.307426 | 2019-07-14T15:46:19 | 2019-07-14T15:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,529 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
dec6d3fb712f19ab930f9ed42637b88a362250c1 | 4163fac20a5a88691322de9f7cea84e25ab19ff0 | /KTL/test/functional/test_functional.cpp | 2e0e4b365d44f4af0bfa24b84853cd0dd147b6ec | [] | no_license | jk983294/algorithms | c522cce35aff21fcd764922aaa58098a270a028c | d46a0b41a2f4c47879eacfffa0e3151ac3edba76 | refs/heads/master | 2022-12-07T06:40:19.532262 | 2022-11-24T07:42:06 | 2022-11-24T07:42:06 | 87,617,484 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include "catch.hpp"
#include "functional/functional.h"
using namespace ktl;
TEST_CASE("math", "[functional]") {
plus<int> plusObj;
minus<int> minusObj;
multiply<int> multiplyObj;
divide<int> divideObj;
module<int> moduleObj;
negate<int> negateObj;
REQUIRE(plusObj(1, 2) == 3);
REQUIRE... | [
"jk983294@gmail.com"
] | jk983294@gmail.com |
798d69f8d4a6227e16e215b5fa1e6c7d66d45ac6 | 7fc05b96bcd7ed355a0c358962c15a97e7342661 | /CodeForces/CF599/C.cpp | 1c0ebf03ff273248246f4c2761d2cab7a475925f | [] | no_license | Basasuya/ACM | 84234b72662d32a5c6a3d1165344ab45868f9b8a | 5ebcc3a82acb812daba8af053832ea666126d639 | refs/heads/master | 2022-10-09T02:53:24.201286 | 2022-10-03T02:52:29 | 2022-10-03T02:52:29 | 116,901,477 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,937 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <set>
#include <map>
#include <bitset>
#include <algorithm>
#include <iomanip>
#include <cmath>
#include <ctime>
#include <functional>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <deque>
#include <stack>
#include <complex>... | [
"961256668@qq.com"
] | 961256668@qq.com |
b436446efa452b5d0eca39dc49ec3fffff8f8e14 | 96f7b825c92bca0a7aa59cd564056d8afbd6b9ba | /usecases/gtplat/GTPlatScenarioCreator.h | 780b2764257b8c8bca90df9777609559ffdba7c5 | [] | no_license | AnderPijoan/GTPlat | 4d0a9452fcf56b0d018d987cecdbd22ffe355210 | 4981a430bf18eab26177e9cb2f1dfbeb1aff109e | refs/heads/master | 2020-12-30T14:45:32.494225 | 2017-05-12T11:56:24 | 2017-05-12T11:56:24 | 91,085,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | h | #ifndef GTPLATSCENARIOCREATOR_H
#define GTPLATSCENARIOCREATOR_H
#include <QObject>
#include <QDate>
#include <QTime>
#include <QThread>
#include "usecases/gtplat/GTPlatAgent.h"
#include "usecases/gtplat/GTPlatIncentive.h"
#include "usecases/gtplat/GTPlatJourney.h"
#include "usecases/gtplat/GTPlatProfile.h"
#include ... | [
"system@laboratorius.com"
] | system@laboratorius.com |
88f218b6831c14a3990e59be029cbcf47064368f | 0fcbef4b0cde82093e4d9409b7ff4194cd93237d | /source/Hyundo/week23/1991.cpp | 2f14e1abddad59c7f6b07e75f5d4c5df5aa09cfa | [] | no_license | BreakAlgorithm/algorithm-study | 53bc141ae12933b1bee794b987ac6d0dedf8c29f | 3fa739b68c8bd1ce22888ae8d773a09300f87589 | refs/heads/master | 2023-03-07T18:06:12.873979 | 2021-02-24T01:52:21 | 2021-02-24T01:52:21 | 284,370,387 | 0 | 6 | null | 2021-02-21T06:08:58 | 2020-08-02T01:44:19 | C++ | UTF-8 | C++ | false | false | 797 | cpp | #include<iostream>
using namespace std;
char tree[26][2] = { '.', };
void preorder(char root) {
if (root == '.') return;
else {
cout << root;
preorder(tree[root - 'A'][0]);
preorder(tree[root - 'A'][1]);
}
}
void inorder(char root) {
if (root == '.') return;
else {
inorder(tree[root - 'A'][0]);
cout ... | [
"kk090303@naver.com"
] | kk090303@naver.com |
e165bf7e35646a7ef7dd1289725c97f14b72ff65 | d900f398e217bb7cb604f3386262fc12c54760ce | /exttb/exttb_impl.h | c9fbc6e4c8e23a5b88b3f2c6ef96bacf6a00004f | [] | no_license | wlix/exttb | 3ff1706a72ab265db0b3bc068cc01cc4cd3215df | 49139b33d214c9fc921879dcc47c05cfb1ac5ca0 | refs/heads/master | 2022-12-20T05:35:19.613743 | 2020-10-13T15:18:11 | 2020-10-13T15:18:11 | 301,228,132 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,748 | h | #pragma once
#include <array>
#include "framework.h"
#include <shlwapi.h>
#pragma comment(lib, "shlwapi.lib") // PathRenameExtension, PathRemoveFileSpec
#include "include/File.hpp"
extern HINSTANCE g_hInst;
// コマンドID
enum CMD : INT32 {
CMD_EXIT,
CMD_SETTINGS,
CMD_SHOW_VER_INFO,
CMD_RELOAD,
CMD_OPEN_FOLD... | [
"tsubasa.ie.wlix@gmail.com"
] | tsubasa.ie.wlix@gmail.com |
69cb24f2f95c9154377b0cf04bdb3ffb4085a3ea | 4e9aa6d8635d6bfcbaeecbb9420ebdc4c4489fba | /ARXTest/cadtest/DefGEPlugin/DoubleTunnelDraw_ConfigDlg.cpp | 650c54e8dac50b08a1c5b3715b5e9c17032bc474 | [] | no_license | softwarekid/myexercise | 4daf73591917c8ba96f81e620fd2c353323a1ae5 | 7bea007029c4c656c49490a69062648797084117 | refs/heads/master | 2021-01-22T11:47:01.421922 | 2014-03-15T09:47:41 | 2014-03-15T09:47:41 | 18,024,710 | 0 | 3 | null | null | null | null | GB18030 | C++ | false | false | 1,625 | cpp | #include "stdafx.h"
#include "DoubleTunnelDraw_ConfigDlg.h"
IMPLEMENT_DYNAMIC( DoubleTunnelDraw_ConfigDlg, CAcUiDialog )
DoubleTunnelDraw_ConfigDlg::DoubleTunnelDraw_ConfigDlg( CWnd* pParent /*=NULL*/ )
: CAcUiDialog( DoubleTunnelDraw_ConfigDlg::IDD, pParent )
{
m_jdt = 0;
}
DoubleTunnelDraw_ConfigDlg::~Doub... | [
"anheihb03dlj@163.com"
] | anheihb03dlj@163.com |
1328a2e4ba62a6890ecbdf6a46210fc9abb98195 | 2aad21460b2aa836721bc211ef9b1e7727dcf824 | /libImgEdit/include/ImgLayerGroup.h | 771ccbde16c96f08b142ac7d7085d5d3a30b7292 | [
"BSD-3-Clause"
] | permissive | chazix/frayer | 4b38c9d378ce8b3b50d66d1e90426792b2196e5b | ec0a671bc6df3c5f0fe3a94d07b6748a14a8ba91 | refs/heads/master | 2020-03-16T20:28:34.440698 | 2018-01-09T15:13:03 | 2018-01-09T15:13:03 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,087 | h | #ifndef _IMGLAYERGROUP_H_
#define _IMGLAYERGROUP_H_
#include "IImgLayer.h"
typedef std::vector<IImgLayer_Ptr> IImgLayer_Vec;
_EXPORTCPP ImgLayerGroup_Ptr CreateIEImgLayerGroup(ImgFile_Ptr parent_file);
//_EXPORT void ReleaseIEImgLayerGroup(ImgLayerGroup_Ptr* ppLayerGroup);
//
class _EXPORTCPP ImgLayerGroup :
publi... | [
"key0note@gmail.com"
] | key0note@gmail.com |
b56ad65a2fa2fe298e7d66916d2a9b797241e36c | 9c62af23e0a1faea5aaa8dd328ba1d82688823a5 | /rl/tags/techdemo2/engine/multimedia/include/SoundResource.h | 194375cea8e6c9c7a98da54506458452022f14d1 | [
"ClArtistic",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jacmoe/dsa-hl-svn | 55b05b6f28b0b8b216eac7b0f9eedf650d116f85 | 97798e1f54df9d5785fb206c7165cd011c611560 | refs/heads/master | 2021-04-22T12:07:43.389214 | 2009-11-27T22:01:03 | 2009-11-27T22:01:03 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 2,553 | h | /* This source file is part of Rastullahs Lockenpracht.
* Copyright (C) 2003-2005 Team Pantheon. http://www.team-pantheon.de
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Clarified Artistic License.
*
* This program is distributed in the hope that it will... | [
"tanis@4c79e8ff-cfd4-0310-af45-a38c79f83013"
] | tanis@4c79e8ff-cfd4-0310-af45-a38c79f83013 |
dfc108f8df1d00c6509ba501344fa5aa82156357 | 09d9b50726c2e5cdc768c57930a84edc984d2a6e | /UVA ONLINE JUDGE/102 - Ecological Bin Packing .cpp | 02e51b79ebef9e402f7b62ee6f1c8d28720f3fd3 | [] | no_license | omar-sharif03/Competitive-Programming | 86b4e99f16a6711131d503eb8e99889daa92b53d | c8bc015af372eeb328c572d16038d0d0aac6bb6a | refs/heads/master | 2022-11-15T08:22:08.474648 | 2020-07-15T12:30:53 | 2020-07-15T12:30:53 | 279,789,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long brown[3],green[3],clear[3];
while(cin>>brown[0]>>green[0]>>clear[0]>>brown[1]>>green[1]>>clear[1]>>brown[2]>>green[2]>>clear[2])
{
long summation[7];
string s[7],s1;
summation[1]=green[0]+clear[0]+brown[1]+clear[1]+brow... | [
"omar.sharif1303@gmail.com"
] | omar.sharif1303@gmail.com |
6f2107769f4293029ee2c0e8e1b6d17f3e3c5bf9 | 67a67272162d1224d01e7cf299afea28a50d1b16 | /calc.h | 60e7e271d73dc2c9ce1b42368f0496fd08aba6e6 | [] | no_license | BReakMyMinD/calculator | fef60120f0103f2e79f0e31d490a2b10f71c7263 | e59c61239f35129374146c3f6ee1de244993d38c | refs/heads/master | 2020-05-20T12:46:34.473748 | 2019-05-08T10:06:29 | 2019-05-08T10:06:29 | 185,580,582 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 446 | h | #pragma once
#include "node.h"
class calculator {
public:
std::string getRPN(std::string &str);//возвращает строку в обратной польской нотации
token count(std::string &str);//возвращает математический результат выражения
private:
void getAllTokens(std::string &str);
int sort();
customStack bufferStack;
customQue... | [
"aisaev00@gmail.com"
] | aisaev00@gmail.com |
4f5b0c6077eb276d0e44a2d773e7e36f14e16082 | 0106a54ff8393e97495d414560d7d5b06fec895a | /Problems[LV3]/[LV3]N으로 표현.cpp | fdf0e01f991f582d4370ea32774038a2b12e626a | [] | no_license | ssoo2024/Programmers | 28cab1a7a3fb2cafd28e8d80bcaf8ec2388f7494 | 8aa9c50df029dd622e23c80477f7fc96c267e1d2 | refs/heads/main | 2022-12-28T21:36:50.424355 | 2020-10-16T05:36:10 | 2020-10-16T05:36:10 | 303,936,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | // 문제가 개편되었습니다. 이로 인해 함수 구성이나 테스트케이스가 변경되어, 과거의 코드는 동작하지 않을 수 있습니다.
// 새로운 함수 구성을 적용하려면 [코드 초기화] 버튼을 누르세요. 단, [코드 초기화] 버튼을 누르면 작성 중인 코드는 사라집니다.
#include <string>
#include <vector>
#include <iostream>
#include <unordered_set>
using namespace std;
int solution(int N, int number) {
vector<unordered_set<int>> dp(9);
... | [
"sskim@gimseongsuui-MacBookPro.local"
] | sskim@gimseongsuui-MacBookPro.local |
c4f9d8178516cdbb0e96b9d6a3c2797ad7726aae | 8f7b1883fdff59cae01a594aa1e10e21a607353c | /src/ngraph/op/experimental/dyn_pad.hpp | bc4ae382efc936ab4b7348218f47c56710e171ed | [
"Apache-2.0"
] | permissive | evelynfay/ngraph | 6f2f046b5c1a95aa35c218d6ae87c4cd46ba4bb2 | 07179ba24a6d681e4c783eda5fdb9e76b6aa31ca | refs/heads/master | 2020-06-12T03:06:12.336381 | 2019-06-21T22:11:16 | 2019-06-21T22:11:16 | 187,723,447 | 0 | 0 | Apache-2.0 | 2019-05-20T22:47:07 | 2019-05-20T22:47:06 | null | UTF-8 | C++ | false | false | 2,103 | hpp | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | [
"robert.kimball@intel.com"
] | robert.kimball@intel.com |
d16fa8c87c7f60585e24c9275b42b95fa1c0ee26 | ae9d81201f73840fe7eec0a1000360daf34ed4fc | /C++_Curso/12_Punteros/Ejercicio_2.cpp | 902b770eddc3fff0c35bc30a665a278f528b2128 | [] | no_license | Pimed23/UNSA | 924e5f7320dc79a1d78f155ac60fac915b973d21 | 8618a5708ac7002b622543e9c4c670ab30ce4392 | refs/heads/master | 2020-05-03T16:44:55.696608 | 2019-04-17T06:47:02 | 2019-04-17T06:47:02 | 178,730,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include <iostream>
using namespace std;
int main() {
int divisores = 0, num, *numPtr;
cout << "Ingrese un numero: " << endl;
cin >> num;
numPtr = #
for( int i = 1; i <= *numPtr; i++ ) {
if( *numPtr % i == 0 ) {
divisores++;
}
if( divisores == 3 ) {
... | [
"b.pimed@gmail.com"
] | b.pimed@gmail.com |
e9fc6c1a92263646dd441de6c9ad1629072ede56 | 9967ef82668908b22bb6bb66274d421012b84fbd | /primitives/transaction.h | 107dbec76f8e61ca22a40918f7bb7730dd07b564 | [] | no_license | ccyanxyz/bim | a31288fcdf6aa9ac61c3640d0a99ef3c5c1ce9f5 | 736e483f614bc76bca663ba8ed6042eddc168427 | refs/heads/master | 2020-04-29T04:34:26.858102 | 2019-04-03T15:45:40 | 2019-04-03T15:45:40 | 175,851,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,619 | h | #ifndef PRIMITIVES_TRANSACTION_H
#define PRIMITIVES_TRANSACTION_H
#include <vector>
#include "uint256.h"
#include "script/script.h"
class COutPoint {
public:
// transaction hash
uint256 hash;
// vout index
uint32_t index;
// -1 overflow
COutPoint(): n((uint32_t) -1) { }
COutPoint(const uint256 &hash_in, uint... | [
"790266922@qq.com"
] | 790266922@qq.com |
fad2c7381e8d84db3e0520d5611b2196bec162a9 | aecc869e094f4cc27307cd40a7f0939286792bf3 | /2. String Problems/10. Palindrome Break.cpp | a9c5eec72656820c6ee75c89db87bcc80aee2f14 | [] | no_license | ravi2319/coding-minutes-data-structures-levelup-solutions | 7ed290ac45c4971434b611e44ec99699ad412143 | ce270d86ab8bc1afc3e21b42cc342465bcb48995 | refs/heads/master | 2023-07-13T01:29:01.297957 | 2021-08-11T20:32:11 | 2021-08-11T20:32:11 | 394,411,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<bits/stdc++.h>
#include<string>
using namespace std;
string breakPalindrome(string s)
{
if(s.length() == 1)
return "";
//string s = palindrome.copy();
for(int i=0; i<s.length()/2; i++)
{
if(s[i]!='a')
{
s[i] = 'a';
return s;
... | [
"ravirana2319@gmail.com"
] | ravirana2319@gmail.com |
43536775bd10b2d2ca66fcce3f46cd3ef3453698 | 936f55058b46b334b39d97f385e0a95ab361b012 | /source/Helper.cpp | fba7105b542fcd3b33150f5ecedd71981748f427 | [] | no_license | utia-econometrics/sddp | 9ec87e85c873e2a6d154c9158910678ba517a486 | ee4405aa1c9be7ec539d0bf48ce4fe5e6f84e891 | refs/heads/master | 2021-01-19T11:10:28.010179 | 2019-08-21T17:55:08 | 2019-08-21T17:55:08 | 63,052,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include "Helper.h"
Helper::Helper(void)
{
}
Helper::~Helper(void)
{
}
| [
"vaclav@kozmik.cz"
] | vaclav@kozmik.cz |
8c0d8c8a0e6690c72881c046f0de31a7600289f8 | f3eff540dd706098a59e9fa81f5b21a5773b2164 | /Project 1/utilities.cpp | 02ab687463c7b3c4b9a7569f646ff3888f43cc4d | [] | no_license | Jingjing1025/UCLA-CS32 | de3f63e25e68f4ef4660b172b7d90b3d526c055d | 6825d5f9bd1ca906101e18d4647266116d5a88b9 | refs/heads/master | 2020-04-04T22:20:48.294043 | 2018-11-06T03:31:39 | 2018-11-06T03:31:39 | 156,320,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | //
// utilities.cpp
// Project 1
//
// Created by Jingjing on 11/01/2018.
// Copyright © 2018 Jingjing. All rights reserved.
//
#include <iostream>
#include <random>
using namespace std;
///////////////////////////////////////////////////////////////////////////
// clearScreen implementation
////////////////////... | [
"niejingjing@g.ucla.edu"
] | niejingjing@g.ucla.edu |
20c1b42037d439b0e9f5b71361a74a3687473388 | dc0246248061c858e69a6b18af8fd6a49411d91c | /src/zggh/accumulators.h | 743034c5332e947d3ff445f85ae0da18c8c5e410 | [
"MIT"
] | permissive | GGCash-Official/GGCash-Core | f930c47ed75ad1e9c4dd4a949a6adddb8a2b8b16 | 3525ab9fa53857dacbdb8558ce58fb844068e4a5 | refs/heads/main | 2023-04-10T16:30:38.314872 | 2021-04-14T23:43:50 | 2021-04-14T23:43:50 | 316,496,612 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,430 | h | // Copyright (c) 2017-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GGCash_ACCUMULATORS_H
#define GGCash_ACCUMULATORS_H
#include "libzerocoin/Accumulator.h"
#include "libzerocoin/Coin.h"
#incl... | [
"fanaticosfaucet@gmail.com"
] | fanaticosfaucet@gmail.com |
d2c984112371a2f10dcbffea3a4bea61fa227bf8 | d2e95afd235eadedfa7dd3b5bc8415c5f5e53dd0 | /nidsform.h | 8921245f5ba83110f03dc703b00c146bba1633d6 | [] | no_license | BJLIYANLIANG/NidsOnQT | 4e5dc7e3b1d3e31e8123d34d8066aa3fab68a6d6 | 38430f944371937ba7a8c994529277cbf0cf4436 | refs/heads/master | 2021-12-02T08:08:29.053990 | 2012-11-24T12:18:23 | 2012-11-24T12:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #ifndef NIDSFORM_H
#define NIDSFORM_H
#include <QWidget>
#include <QComboBox>
namespace Ui {
class NidsForm;
}
class NidsForm : public QWidget
{
Q_OBJECT
public:
explicit NidsForm(QWidget *parent = 0);
~NidsForm();
private slots:
void on_comboBoxProto_currentIndexChanged(int index);
vo... | [
"SudyDuan@gmail.com"
] | SudyDuan@gmail.com |
dde6574562b3686781c9327e15bb2aa8f488dd85 | b09b0a8cdf87dbf680f018124af143b1018337b8 | /src/acquire/include/hdfsconnector.h | 5763f706eb04d2c152c2ebc72f6327206aed2df1 | [] | no_license | yip-jek/RevenueAudit | dc8639bceae73739cefeee4d93803ff42442d51c | 681440c633424256249c6285ec6919273f1cef3d | refs/heads/master | 2020-12-09T05:01:45.912886 | 2019-05-03T12:18:31 | 2019-05-03T12:18:31 | 55,571,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #pragma once
#include "autodisconnect.h"
#include "hdfs.h"
namespace base
{
class Log;
}
class HdfsConnector : public base::BaseConnector
{
public:
HdfsConnector(const std::string& host, int port);
virtual ~HdfsConnector();
public:
virtual void ToConnect();
virtual void ToDisconnect();
public:
hdfsFS GetHdf... | [
"yiyijie@foxmail.com"
] | yiyijie@foxmail.com |
485ac5b65e0f2b6b2443fd429a13dc9fe7b84699 | 55afd019408adc46a917cbbf87a87e403ad39439 | /sort/exchange_sort/exchange_sort.cpp | 7db5b3c8b8b51a934944e4a60287e319b6eea416 | [] | no_license | JieTrancender/DataStructures-Algorithms-Applications | b2877d1535212c4ce3d0494ade38fe6a9aed8792 | 4db576d56b91b77b9a9693db8ccfcce7eba68edc | refs/heads/master | 2021-01-10T16:36:33.036178 | 2016-10-24T16:09:18 | 2016-10-24T16:09:18 | 44,176,453 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include <iostream>
#include <algorithm>
#include <iterator>
using namespace std;
//交换法排序
template <typename anytype>
void ExchangeSort(anytype *element, int n);
//打印数组元素
template <typename anytype>
inline void Print(anytype element[], int n);
int main()
{
int num[] = {2, 5, 3, 45, 9, 123, 34, 6, 2};
Print(... | [
"trancender@vip.qq.com"
] | trancender@vip.qq.com |
f04c0ba0280a6bd863b012221a664dcea02857eb | 5f63d4329cfc69d584a51be37358f830691ed0ea | /20161020/Student_heap.cc | 4ba85c226fe8de5fc55dd5b7d5fa8e390f382ab1 | [] | no_license | SaberLele/learngit | 022091484ed36457c12699f3e7108010e9715649 | 2533d33d3feb374c74c91abfa426e31b2edd871a | refs/heads/master | 2021-01-11T02:21:28.297780 | 2016-12-15T07:53:37 | 2016-12-15T07:53:37 | 70,976,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cc | ///
/// @file Student.cc
/// @author SaberLele(le13424274771@gmail.com)
/// @date 2016-10-20 04:11:35
///
#include <stdlib.h>
#include <string.h>
#include <iostream>
using std::cout;
using std::endl;
class Student
{
public:
Student(int id,const char* name)
:_id(id)
,_name(new char[strlen(name)+1])
... | [
"le13424274771@gmail.com"
] | le13424274771@gmail.com |
b34bbde69824b3e61d7a65fbef5ea8911d3fa67a | 29fb827671e7c8a0af1e34a1c2bf8070dc12d0c2 | /Program3/hash_cache.h | dcb2618e529cc284795ca6d510bcd7f8b1755295 | [] | no_license | NingSSS/cse411 | f4beb77f8bb97a5c1e9f6f3fe01beb6ec7f31abf | 5c9840a74ec6fa1ee91d36248a9dba761d43b78f | refs/heads/master | 2020-04-27T03:46:29.066434 | 2019-03-05T23:11:10 | 2019-03-05T23:11:10 | 174,034,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | h | #ifndef HASH_CACHE_H
#define HASH_CACHE_H
#include <vector>
#include <unordered_map>
#include <fstream>
#include <string>
//#include "node.h"
#define PAGE_SIZE 2000
#define CACHE_SIZE 200
#define DISK_SIZE 2000
#define FAILED -1
using namespace std;
class HashCache {
private:
class Page;
class Node;
Page* ... | [
"1354048433@qq.com"
] | 1354048433@qq.com |
c4feca8870de6d0f963a714187e6b92640130a56 | de460e930ea8dd606b30bb35a6407e824ea4fdb8 | /image.h | 6c872dff979a3ea519d6e21431d51935d2518864 | [] | no_license | tytheg/ImageProcessor | f20170f3b8be961e710f31779c0ceb360779f7bc | f5e5e0b4104efc3d2562756b2172e1635ea99303 | refs/heads/master | 2021-04-27T19:43:16.428280 | 2018-02-21T16:34:55 | 2018-02-21T16:34:55 | 122,362,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | h | #ifndef IMAGE_H
#define IMAGE_H
//#include "Source.h"
class Source;
struct Pixel
{
unsigned char r, g, b;
};
class Image
{
// Data members go here
private:
Pixel* pixel;
int height, width, maxval;
protected:
Source* src;
public:
Image();
Image(int wid, int hit, int max);
Image(Imag... | [
"tyler22green@gmail.com"
] | tyler22green@gmail.com |
25b95896c25544097de369c3b3a43703ee05446b | 546d00dd96099d7ad669373f5771b9b200938f6e | /Sources/Autoupdate/GameOption.h | b0c1b72cfc0e30ca41767f6697cbc028efb96ab3 | [] | no_license | lubing521/mmo-resourse | 74f6bcbd78aba61de0e8a681c4c6850f564e08d8 | 94fc594acba9bba9a9c3d0a5ecbca7a6363b42a5 | refs/heads/master | 2021-01-22T01:43:29.825927 | 2015-03-17T02:24:16 | 2015-03-17T02:24:16 | 36,480,084 | 2 | 1 | null | 2015-05-29T03:16:18 | 2015-05-29T03:16:18 | null | UTF-8 | C++ | false | false | 1,223 | h | #if !defined(AFX_GAMEOPTION_H__6B4C9CDB_7C82_4B78_9BD9_ACC6F9CF8141__INCLUDED_)
#define AFX_GAMEOPTION_H__6B4C9CDB_7C82_4B78_9BD9_ACC6F9CF8141__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GameOption.h : header file
//
///////////////////////////////////////////////////////////////... | [
"ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c"
] | ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c |
2450cff6ac8ae3f664dd7161ff27b921c3310d48 | 0c5461dec012986b620f46596b543cd0769f2b32 | /atcoder/abc130c_rectanglecutting.cpp | 05e45672c7d29417e7ec7bd1ccc429f3901900e0 | [
"MIT"
] | permissive | aoibird/pc | ec6e0d634cf7bd03f102416c7847decf80a5e493 | 01b7c006df899365eaa73ff179a220f6a7d799c6 | refs/heads/master | 2022-11-28T04:48:15.458782 | 2022-11-21T01:30:39 | 2022-11-21T01:30:39 | 205,393,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include <iostream>
using namespace std;
int main()
{
int W, H, x, y;
scanf("%d%d%d%d", &W, &H, &x, &y);
if (x * 2 == W && y * 2 == H) {
printf("%.6f 1\n", (W*H)/2.0);
}
else {
printf("%.6f 0\n", (W*H)/2.0);
}
}
| [
"aoi@aoibird.com"
] | aoi@aoibird.com |
fed0fe330422d66f297727b0d6406adf498dca91 | c4bf03dff950e421eae66311bad4b9a6dd59973a | /core/modules/qana/ScanTablePlugin.h | 6172146438bbfe156d30e57fc414f264a0d0abe8 | [] | no_license | tsengj10/qserv | eee6a1b8de7db2a8eaf99e1bd17d4f008c9617bc | 97a6c2d206c5d8394d0355461674ae6ce5d449ab | refs/heads/master | 2021-06-18T06:00:34.424789 | 2018-08-22T00:16:59 | 2018-08-22T00:16:59 | 96,400,110 | 0 | 0 | null | 2017-07-06T07:13:54 | 2017-07-06T07:13:54 | null | UTF-8 | C++ | false | false | 2,138 | h | // -*- LSST-C++ -*-
/*
* LSST Data Management System
* Copyright 2016 LSST Corporation.
*
* This product includes software developed by the
* LSST Project (http://www.lsst.org/).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | [
"jgates@slac.stanford.edu"
] | jgates@slac.stanford.edu |
c0b24c0528ee863513e8014be7fd7af7f0e46ba2 | 438f0ddc02ba37fe45496eae3f7c0294432a15e2 | /src/qt/transactionrecord.cpp | f749fc6458033b39f3c289ce4ab116c1eb864428 | [
"MIT"
] | permissive | Xcgtech/Wallet | 73922b6363b7ac01d22d652985c2883eb03ed624 | abf1b93486e30a4c4877400f2af574f85005a6f8 | refs/heads/master | 2020-03-13T17:10:44.125329 | 2019-02-05T14:05:15 | 2019-02-05T14:05:15 | 131,212,480 | 19 | 6 | MIT | 2019-01-03T14:51:44 | 2018-04-26T21:27:04 | C++ | UTF-8 | C++ | false | false | 11,312 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Xchange Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionrecord.h"
#include "base58.h"
#include "consensu... | [
"36750226+cryptforall@users.noreply.github.com"
] | 36750226+cryptforall@users.noreply.github.com |
ff880ec18ca41dbe1620ae507f0f1f1bc5feb7db | 7f2255fd0fce35a14556dda32ff06113c83b2e88 | /洛谷/P2719.cpp | 7e9b5d619283e1145076cc70042b270801bf774e | [] | no_license | cordercorder/ProgrammingCompetionCareer | c54e2c35c64a1a5fd45fc1e86ddfe5b72ab0cb01 | acc27440d3a9643d06bfbfc130958b1a38970f0a | refs/heads/master | 2023-08-16T18:21:27.520885 | 2023-08-13T15:13:44 | 2023-08-13T15:13:44 | 225,124,408 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include<bits/stdc++.h>
using namespace std;
#define FC ios::sync_with_stdio(false),cin.tie(0),cout.tie(0)
#define deb(args...) std::cerr<<"DEBUG------"<<'\n';std::cerr<<#args<<"------>";err(args)
void err(){
std::cerr<<'\n'<<"END OF DEBUG"<<'\n'<<'\n';
}
template<typename T,typename... Args>
void err(T a,Arg... | [
"2205722269@qq.com"
] | 2205722269@qq.com |
6c0066ce263aba33344d67d777d718b3f48acb36 | ea72bd9110a0f20dfec1767b4fe8079976935352 | /qdraughts/train.h | 7c166d051859249348ca0aaefe91da840c690ef6 | [] | no_license | onezeronine/qdraughts | 882ab9e2b1b11b882b3db74dcee6564800a6ab71 | 6897272a3c65d4c60705f8dc0e3f17967fecf564 | refs/heads/master | 2021-05-08T21:44:56.951589 | 2019-04-10T06:59:00 | 2019-04-10T06:59:00 | 119,647,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #ifndef __TDTRAIN
#define __TDTRAIN
#include <iostream>
#include <fstream>
#include "dirnet.h"
#include "board.h"
//const float LOSEVALUE =-1.0;
//const float DRAWVALUE =0.0;
//const float WINVALUE =1.0;
#define WINVALUE 1.0
#define LOSEVALUE -1.0
#define DRAWVALUE 0
#define DRAWVALUE1 +0.3 //if above... | [
"kenneth.g.bastian@descouvre.com"
] | kenneth.g.bastian@descouvre.com |
dd407d5b630ab5bf7a3417a18b50eeebb5380733 | 3d2cf05c31bda142702c43907d3d1db7bc422446 | /header/SettingWindow.h | 2d96b227b7ed0f45703618997adead058b2ef80b | [
"MIT"
] | permissive | Kami-code/Snaker | ffd3c26152b601a59627633675aa18b4b7e55fe6 | 4fa67e393e099a1d7d3ee99f774a5db5265978d7 | refs/heads/master | 2023-02-09T19:59:08.298703 | 2020-12-29T06:43:23 | 2020-12-29T06:43:23 | 316,961,098 | 0 | 0 | null | 2020-12-24T01:12:40 | 2020-11-29T13:48:34 | C++ | UTF-8 | C++ | false | false | 803 | h | #pragma once
#ifndef SETTINGWINDOW_H
#define SETTINGWINDOW_H
#include <QtWidgets/QWidget>
#include <QtWidgets/QPushButton>
#include <QSlider>
class SettingWindow : public QWidget
{
Q_OBJECT
public:
explicit SettingWindow(QWidget *parent = 0);
~SettingWindow();
void ChangeToDesktop();
void Chang... | [
"im.B.C@live.com"
] | im.B.C@live.com |
861f6380b5e5f47eedb20b0947adfa0ab1e11c46 | 6273683fde5b193cff43a4a65571c113d3577d64 | /EyerVideoWand/EyerWand/UIView/WandTimeLineDrawEvent_Line.cpp | d6089c1f4cf376d9b2d3880b79e54a5607681c4f | [] | no_license | redknotmiaoyuqiao/EyerVideoWand | 4bb84a1e35564becac2954df77fee209f55d8783 | fe6ad8f9f66128e99689b6fa4f8efe38fdfad18b | refs/heads/master | 2020-11-30T00:55:11.896681 | 2020-08-18T09:00:44 | 2020-08-18T09:00:44 | 230,255,265 | 4 | 1 | null | 2020-08-18T09:00:45 | 2019-12-26T11:48:37 | C++ | UTF-8 | C++ | false | false | 1,809 | cpp | #include "WandUIView.hpp"
namespace Eyer {
WandTimeLineDrawEvent_Line::WandTimeLineDrawEvent_Line()
{
}
WandTimeLineDrawEvent_Line::~WandTimeLineDrawEvent_Line()
{
}
WandTimeLineDrawEventType WandTimeLineDrawEvent_Line::GetType()
{
return WandTimeLineDrawEventType::L... | [
"redknotmiaoyuqiao@gmail.com"
] | redknotmiaoyuqiao@gmail.com |
7bd2967c248bc6f47cdf7fe989b4d198e0db084d | 8d447ea004b36ca0da473dc110cb1be61c5273d8 | /Code/Joe/JoeSceneV2.h | 2446defa4e90b7f36886f627f3f6485c3a663b29 | [] | no_license | MORTAL2000/LIT-Yr4-GamePhysics | bcfc166ea3fa2f0dcba468937b1b4513027b3813 | 1f1df54087d632010d2ec2896a9171948047725c | refs/heads/master | 2022-04-05T18:10:56.906414 | 2020-01-09T04:17:00 | 2020-01-09T04:17:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | h | #include "../BulletOpenGLApplication.h"
#include "btBulletDynamicsCommon.h"
#include <iostream>
#define SDL_MAIN_HANDLED // JOR Handling SDL main definition ourselves
#define BLOCKS_IN_ROW 11 // Number of blocks in a row in castle walls
#define EXPLOSION_STRENGTH 50.0f // Streng... | [
"k00203642@student.lit.ie"
] | k00203642@student.lit.ie |
3442f3860c6213eab380deecba5afb3de6bf0cd2 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h | f7fd962bb856b750f347af6a01d6385dca6fc03f | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 4,272 | 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 CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
#define CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
01ab3060210372ed4f23f3da3812cdd6fce86957 | fecea3684862892ee1abd1d88201b693948e622d | /code/source/playfab/OneDSEventsApi.cpp | bb1d5ae837ede76a2134b3f1365fbb467e6e74bb | [
"Apache-2.0"
] | permissive | v-yuehxu/XPlatCppSdk | 299a8e849be7e6f657486472c51771f4b731f881 | f86ea3223a50ff0ed6eead42cda4a9115e9a5064 | refs/heads/master | 2020-04-14T22:32:57.016378 | 2018-12-21T18:39:32 | 2018-12-21T18:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,485 | cpp | #include <stdafx.h>
#ifndef DISABLE_ONEDS_API
#include <playfab/OneDSHttpPlugin.h>
#include <playfab/OneDSEventsApi.h>
#include <playfab/PlayFabPluginManager.h>
#include <playfab/PlayFabSettings.h>
#include <playfab/PlayFabError.h>
#include "../external/aria/lib/include/public/Enums.hpp"
#include "../external/aria/l... | [
"jenkins-bot@playfab.com"
] | jenkins-bot@playfab.com |
55f91793fc49f8de8027eca9b2f3a572112a7585 | 9be239f5cfab351545dc6468a4ce791948e84ecb | /Mragpp/Window.cpp | 8b63017c90708f45fe6bced992c9ee9d1ab51570 | [
"MIT"
] | permissive | jabearis/MragPP | 4a6baeb8ffbaab18e5c3e25748826985c1931881 | 96c1c5474ea552f364e6c04da7cc72923fdade0a | refs/heads/master | 2020-03-28T00:38:36.945395 | 2015-09-03T11:01:29 | 2015-09-03T11:01:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #include "StdH.h"
#include "Window.h"
#include <SDL.h>
#include <GL/glew.h>
MRAGPP_NAMESPACE_BEGIN;
CWindow::CWindow()
{
win_pWindow = 0;
}
CWindow::CWindow(SDL_Window* pWindow)
{
win_pWindow = pWindow;
}
CWindow::~CWindow()
{
Destroy();
}
void CWindow::Create(Scratch::String strTitle, int width, int height... | [
"spansjh@gmail.com"
] | spansjh@gmail.com |
c41e2a6ed16377386467c1d0cc52fcdbdc5ae36d | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /12223.cpp | f6848744914bcf48aa0eb6fadadffe7cae1d5c2e | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,565 | cpp | #include <bits/stdc++.h>
using namespace std;
#define esp 1e-6
#define pi acos(-1.0)
#define inf 0x0f0f0f0f
#define pb push_back
#define lson l, m, rt << 1
#define rson m + 1, r, rt << 1 | 1
#define lowbit(x) (x & (-x))
#define mp(a, b) make_pair((a), (b))
#define bit(k) (1 << (k))
#define in freopen("solve_in.txt", ... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
2033201a270c40157b354665de5f8ca9af01dea1 | a7b4206055a590f7eeabd3a09032ea17ea0a3b01 | /src/Visualisation/ImageWindow.cpp | b8b1864ffa6302c054888e34b7cc1c1871687a46 | [] | no_license | duncanfrost/PSLAM | d28e4ac0198f7393d248626b51f70396bf676195 | 1727e52534a2e147d14ad4fa04a9ad882105da8e | refs/heads/master | 2020-12-24T14:36:18.717974 | 2015-02-05T16:19:00 | 2015-02-05T16:19:00 | 30,294,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | //Copyright 2008 Isis Innovation Limited
#include "ImageWindow.h"
static int nb_Image_windows=0;
namespace ImageWindowNs
{
TextureSet tempTextureImageWindow;
}
using namespace ImageWindowNs;
ImageWindow::ImageWindow(std::string _title,amoVideoSource *_vid_source)
{
title=_title;
vid_source=_vid_source;
widt... | [
"frosd01@gmail.com"
] | frosd01@gmail.com |
bbbe75c6d8fd13b149cf73aff8502f23cab13bca | 5b86fc7a21376a3878db0d195c8fa1f5740018cb | /src/render_dump.cc | fa50e60021dbfc20f119b6b56be89d1e74ec4953 | [] | no_license | nbirkbeck/ennes | 0ffa63537d317c07dc6d5025130ace3d8b1031ec | 0fbcbad8ee820ee182b51c202fabea84de2f9564 | refs/heads/master | 2020-12-15T05:14:41.663464 | 2020-01-20T23:50:54 | 2020-01-20T23:50:54 | 235,004,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,226 | cc | // This is a plugin for the nes emulator that allows us to extract some state
// For example:
// ./a.out --smb1_hack=1 --render_hook ~/Desktop/ennes/nes/render_dump.so smb1.nes
#include "plugins/render_hook.h"
#include "proto/render_state.pb.h"
#include <iostream>
#include <nimage/image.h>
bool ConvertState(const Re... | [
"neil.birkbeck@gmail.com"
] | neil.birkbeck@gmail.com |
2bab384b80ce60e09c687ec5753dfe20e8722a7a | 9089d5a653d6af99b0590f8a21125f9210ce1204 | /test-codes/check.cpp | f739e36347afffcaf64d05c766d3057cf9ac2870 | [] | no_license | ratnesh1729/algo_codes | 9d54e3c68876f62f80b2683795c62ee4e1cf9a3b | 3dc67b00d4bed14843b91c9a3545d6e327a9e240 | refs/heads/master | 2021-01-10T05:00:35.169069 | 2017-01-01T23:25:52 | 2017-01-01T23:25:52 | 55,922,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | cpp | #include <iostream>
#include <type_traits>
template <bool Cond, typename T= void>
using enable_if_t= typename std::enable_if<Cond, T>::type;
template <typename T>
using rref_only= enable_if_t<std::is_reference<T>::value>;
template <typename T, typename= rref_only<T>>
void check_enableif(T&& x)
{
std::cout << "C... | [
"ratnesh1729@gmail.com"
] | ratnesh1729@gmail.com |
7a2aa5596a7bbb5387d53cff4b27526156cd9e33 | 8fcb1c271da597ecc4aeb75855ff4b372b4bb05e | /UVA/TeXQuotes.cpp | 6d50e049fd096f508fc330393b7942ef2c33d723 | [
"Apache-2.0"
] | permissive | MartinAparicioPons/Competitive-Programming | 9c67c6e15a2ea0e2aa8d0ef79de6b4d1f16d3223 | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | refs/heads/master | 2020-12-15T21:33:39.504595 | 2016-10-08T20:40:10 | 2016-10-08T20:40:10 | 20,273,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include <cstdio>
#include <vector>
#include <set>
#include <queue>
#include <stack>
#include <iostream>
#include <algorithm>
#include <string>
#include <cstring>
#include <cstdlib>
#define scd(x) scanf("%d", &x)
#define scc(x) scanf("%c", &x)
#define scd2(y,x) scanf("%d %d", &y, &x)
#define prd(x) printf("%d\n", x)
us... | [
"martin.aparicio.pons@gmail.com"
] | martin.aparicio.pons@gmail.com |
648f3506df6fc88e655d1a3865d168c33152d430 | 1a61e8d323e98836efe55fa34704031244feb5ac | /openML/OS/WIN32DLL/QueryTester/QueryTestDlg.h | 8c7061ebfe41a3bca7b7dfc14025955496d8e2c9 | [] | no_license | skwoo/openLamp | 0d37c59d239af6c851cfff48d5db5e32511ceae3 | 68bffd42f91a9978b4c8bf1df1b39f821acbe093 | refs/heads/master | 2022-01-10T04:40:30.881034 | 2019-07-05T04:04:48 | 2019-07-05T04:04:48 | 106,556,078 | 0 | 1 | null | 2019-07-05T04:04:49 | 2017-10-11T13:12:58 | C | UHC | C++ | false | false | 2,556 | h | /*
This file is part of openML, mobile and embedded DBMS.
Copyright (C) 2012 Inervit Co., Ltd.
support@inervit.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3... | [
"skwoo67@gmail.com"
] | skwoo67@gmail.com |
85e8ba51fe5b37c0802bd3816d01f95657ab2a9e | ad63d31880514f2cd8b3f49b9a6deaf890a20735 | /Fibonacci.cpp | def70a87333343a2c7c5821f7f6d827f381aac37 | [] | no_license | geekz93/essemtial_cpp_unit4_to_6 | f406fec3025570a31f26fd446d46a94783e169dc | feb6cae26ae0ddd754c634f2ab1492423d0378a7 | refs/heads/master | 2021-01-17T17:28:56.506055 | 2016-07-27T08:18:13 | 2016-07-27T08:18:13 | 64,292,545 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 493 | cpp | #include "Fibonacci.h"
#include "num_seq_base.h"
vector<int> Fibonacci::_elems;
//是什么使用了const还可以对_elems进行添加数据
void Fibonacci::
gen_elems(int pos) const
{
if (_elems.empty())
{
_elems.push_back(1);
_elems.push_back(1);
}
if (_elems.size() < pos)
{
int ix = _elems.size();
int n_2 = _elems[ix - 2];
int ... | [
"imzooo@163.com"
] | imzooo@163.com |
c823da62a4156d15ab6611ea1f7fded3533a2c61 | 8442f074cfeecb4ca552ff0d6e752f939d6326f0 | /1294C Product of Three Numbers.cpp | 9900d8c2de2cb452d9c10963c2a78160089ebe68 | [] | no_license | abufarhad/Codeforces-Problems-Solution | 197d3f351fc01231bfefd1c4057be80643472502 | b980371e887f62040bee340a8cf4af61a29eac26 | refs/heads/master | 2021-06-15T16:35:07.327687 | 2021-03-23T17:29:49 | 2021-03-23T17:29:49 | 170,741,904 | 43 | 32 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | cpp | #include<bits/stdc++.h>
#include<stdio.h>
using namespace std;
#define ll long long
#define scl(n) cin>>n;
#define scc(c) cin>>c;
#define fr(i,n) for (ll i=0;i<n;i++)
#define fr1(i,n) for(ll i=1;i<=n;i++)
#define pfl(x) printf("%lld\n",x)
#d... | [
"abufarhad15@gmail.com"
] | abufarhad15@gmail.com |
733d493e3a5321d5c4d41078d0fdedc857dbe62f | 9a184dde23113f9cec922719942ff54a0c4a671c | /difficultcharacters.cpp | 73abe2f98321d423c2416e7d111eb5cb0bbee371 | [] | no_license | shivam2207/HackerRank-Solutions | 8f51ee93a42900097f669111a976b6e40a093a68 | 53da486405c5f97f86d34c9e6188dd28e0dc17b0 | refs/heads/master | 2020-03-08T00:43:40.898005 | 2018-04-02T21:09:05 | 2018-04-02T21:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
typedef struct data
{
int count;
char ch;
int index;
}data;
bool compare(data a,data b)
{
return a.count<=b.count;
}
int main()
{
int t;
cin >> t;
while(t--)
{
string s;
cin >> s;
int n=s.size(),i,temp;
data array[26];
for... | [
"shivamkhare2207@gmail.com"
] | shivamkhare2207@gmail.com |
21b5e3d4eca8e7259ea84e146ca47e4dd04d9ecf | 57c96d0f4fbb3cc844ffe45c06aecea599d5de7a | /include/sdd_protocol/connect/QSerialPortConnection.h | 5f6bdbf4c0fabe7ccc51ff9874995c9978d5cf33 | [] | no_license | ageev-aleksey/sppu | fd493b857bc64ad1f9865e4723a2d7ecc6a3d295 | 8a741b6b46752711793b30cf19e174724f86efc2 | refs/heads/master | 2023-04-26T04:19:54.710052 | 2021-06-09T09:06:10 | 2021-06-09T09:06:10 | 313,399,113 | 0 | 0 | null | 2021-06-13T17:24:21 | 2020-11-16T18:58:39 | Jupyter Notebook | UTF-8 | C++ | false | false | 1,811 | h | //
// Created by nrx on 14.01.2021.
//
#ifndef TESTSIMULINKMODEL_QCOMPORT_H
#define TESTSIMULINKMODEL_QCOMPORT_H
#include "sdd_protocol/connect/QIConnection.h"
#include "sdd_protocol/connect/PackageBuffer.h"
#include "sdd_protocol/Package.h"
#include <QtCore>
#include <QtSerialPort>
#include <memory>
#in... | [
"ageevav97@gmail.com"
] | ageevav97@gmail.com |
9d999ec24bbeee5059da159d7c6bb8238aa5fbfa | 715023da006513f0dd09e5c4267d371b8ba4e4f6 | /xray-svn-trunk/xr_3da/xrGame/ui/UICarBodyWnd.h | ecdefa2b9288b2eaeee49767b1dd9271a76bba56 | [] | no_license | tsnest/lost-alpha-dc-sources-master | 5727d58878b1d4036e8f68df9780f3d078e89f21 | fbb61af25da7e722d21492cbaebd6670d84e211c | refs/heads/main | 2023-02-11T16:37:16.570856 | 2021-01-09T17:09:49 | 2021-01-09T17:09:49 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,801 | h | #pragma once
#include "UIDialogWnd.h"
#include "UIEditBox.h"
#include "../inventory_space.h"
class CUIDragDropListEx;
class CUIItemInfo;
class CUITextWnd;
class CUICharacterInfo;
class CUIPropertiesBox;
class CUI3tButton;
class CUICellItem;
class CInventoryBox;
class CInventoryOwner;
class CCar;
class CUICarBodyWnd:... | [
"58656613+NikitaNikson@users.noreply.github.com"
] | 58656613+NikitaNikson@users.noreply.github.com |
5d3cbee45d31b131084b9cecbb993f9118b1dca0 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/regex/test/regress/test_regex_replace.hpp | 416e1148e312961589666eec33598e080257ffae | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,475 | hpp | /*
*
* Copyright (c) 2004
* John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent version.
*... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
2f6f231b0b3343a4f989fcb80d0635e83f3597be | b53748f529df52910b07672c45eda6a7958ff883 | /program.cpp | ac15c008469a490756f778009f512ad710be3597 | [] | no_license | laguniak16/Tablet | b8c756c719b9ecae6ce4f965b0e8448c39097ea3 | 734f788e907f86c7c2677c1403405ded28a51476 | refs/heads/master | 2020-08-04T08:14:17.179197 | 2020-06-29T10:27:19 | 2020-06-29T10:27:19 | 212,069,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,980 | cpp | /*#include <iostream>
#include <string>
#include "tablet.h"
#include "przenosne.h"
#include "stacjonarne.h"
#include "urzadzenie_elektroniczne.h"
#include <ctype.h>
using namespace std;
int opcja;
int obiekt = 1;
string nazwa;
int main()
{
vector<Urzadzenie_elektroniczne*> urzadzenie;
bool pusty = true;
cout << "D... | [
"mateusz_laguna@o2.pl"
] | mateusz_laguna@o2.pl |
2b58d1ff034fcb079535f17eb834c6c0b47c0ed1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_function_3759.cpp | 293d591ea5e00a207d8d729e04ddaac565197361 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,431 | cpp | void ourWriteOut(CURL *curl, const char *writeinfo)
{
FILE *stream = stdout;
const char *ptr=writeinfo;
char *stringp;
long longinfo;
double doubleinfo;
while(*ptr) {
if('%' == *ptr) {
if('%' == ptr[1]) {
/* an escaped %-letter */
fputc('%', stream);
ptr+=2;
}
... | [
"993273596@qq.com"
] | 993273596@qq.com |
14cd6f53b1f194d483606c69f238a49adf4f7433 | da44dc7263733742408ae87a98c98dc7cc41f163 | /Lab_6.3-r/Source.cpp | 36b4c3f18d9736e6007ca56f1ed6e0bdf6fce4ca | [] | no_license | YuliiaOsadchukkk/Lab_6.3-r | 5f0f45f984d6c667062139973cd9fe40cfd5451b | 4d777731cc5ca6b30ad2eecc194929bc87f145de | refs/heads/master | 2023-01-20T00:17:46.205950 | 2020-11-29T20:01:21 | 2020-11-29T20:01:21 | 317,028,119 | 0 | 0 | null | 2020-11-29T20:01:23 | 2020-11-29T19:35:28 | C++ | WINDOWS-1251 | C++ | false | false | 2,735 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
void draw_line(const int& size, const char& c = '-') {
cout << c;
if (size > 1) {
draw_line(size - 1, c);
return;
}
cout << endl;
}
// 1
int myrand(const int& min, const int& max) {
return min > 0 ?
rand() % (max - min + 1) + min :
rand() % (ab... | [
"72582368+YuliiaOsadchukkk@users.noreply.github.com"
] | 72582368+YuliiaOsadchukkk@users.noreply.github.com |
435a07e6fab2d089aa55ee5dcb59e69bc2159bb1 | 7dc2589f403c4a42310191f7449bc0603fe9d30d | /project-game/GameProject/Sun.h | 68f31a88a8fe76f841b5c580bbd3ff75326e64e9 | [] | no_license | SuganumaYutaka/city-project | c469eabc429af1e6495be83a081a984c6efce9ee | 38269866f3d678fdfb56c6402d3e23281ce1298a | refs/heads/master | 2022-12-01T21:40:16.152744 | 2022-11-25T08:55:44 | 2022-11-25T08:55:44 | 109,118,688 | 3 | 0 | null | 2018-02-14T06:11:33 | 2017-11-01T10:36:48 | C++ | UTF-8 | C++ | false | false | 1,240 | h | /*==============================================================================
Sun.h - 太陽
Author : Yutaka Suganuma
Date : 2017/8/16
==============================================================================*/
#ifndef _SUN_H_
#define _SUN_H_
/*-------------------------------------... | [
"yumetaigachibi@gmail.com"
] | yumetaigachibi@gmail.com |
ff8ab998e988148c788ced5e52bf52d17b69a7ce | ec5168f927a2e6e577b1434ff6afb3a6920e919d | /BFS - Shortest Path.cpp | 19b279d0ef6b4eda6c43db7c8566d451a887667e | [] | no_license | prabhsimar100/Backup-for-Codes-Competitive-Programming- | 3e556e61b429f0b5ef7c0410deae9e3d486617ae | 897c02aba520b8b8983bdcd2632103278373292d | refs/heads/master | 2022-12-08T14:56:59.396630 | 2020-09-06T11:35:41 | 2020-09-06T11:35:41 | 293,262,987 | 0 | 0 | null | 2020-09-06T11:35:42 | 2020-09-06T11:32:13 | C++ | UTF-8 | C++ | false | false | 2,064 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define P pair<int,int>
#define pb push_back
vector<int> graph[1005];
void bfs(int distance[],int root, int n)
{
for (int i = 1; i <=n; ++i)
{
distance[i]=0;
}
queue<int> Q;
Q.push(root);
// for (int i = 0; i < graph[root].size(); ++i)
... | [
"prabhsimar100@gmail.com"
] | prabhsimar100@gmail.com |
af43b57763de41e93ac89b357789dd1d2abf8870 | 03ee754445d2dc6abbb3c1f2a57a35519f8acc96 | /oporator_overload.cpp | e4d00b227ff25b4865da0f7495d9c78d0b8d14c2 | [] | no_license | mizan-cs/Practise-Code | d34a67d1f3ea7a9a81e8096020227b705ca5ec13 | 74b21d810c242af249a17ec8fef683fdb3c0d1b0 | refs/heads/master | 2021-01-19T21:19:25.831029 | 2017-09-09T03:23:47 | 2017-09-09T03:23:47 | 101,249,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include<iostream>
using namespace std;
class Box{
int hight;
int wight;
public:
Box(){
hight=wight=0;
}
Box(int h, int w){
hight=h;
wight=w;
}
void Show();
Box operator+(int m);
Box operator++();
};... | [
"mysalfe02@gmail.com"
] | mysalfe02@gmail.com |
f9424d18dba2a118bd97f258c99f1618bb4b6b6e | ea8aa77c861afdbf2c9b3268ba1ae3f9bfd152fe | /meituan17D/meituan17D/ACMTemplete.cpp | 47bd95da4f5a5988b4da704a16c61bb346019e23 | [] | no_license | lonelam/SolveSet | 987a01e72d92f975703f715e6a7588d097f7f2e5 | 66a9a984d7270ff03b9c2dfa229d99b922907d57 | refs/heads/master | 2021-04-03T02:02:03.108669 | 2018-07-21T14:25:53 | 2018-07-21T14:25:53 | 62,948,874 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,827 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstdio>
#include <cmath>
#include <map>
#include <set>
#include <utility>
#include <stack>
#include <cstring>
#include <bitset>
#include <deque>
#include <string>
#include <list>
#include <cstdlib>
usin... | [
"laizenan@gmail.com"
] | laizenan@gmail.com |
b1f63a27c898b0b709f65257c512083dd28af4c2 | 10c5b0f5fb0d21bc162755e6b01903d33bf4a0ca | /CARS/CARS/Source.cpp | 8b17e093bd188731f61189b0f5da63361aaf2582 | [] | no_license | KillPeopleFast/Daily-Fish | e7a779927e1d5ee60e7e755ca560ba288a83b205 | a88273132eacf202e12cd4cf7999f7cd3607135b | refs/heads/master | 2021-09-09T21:28:58.778184 | 2018-03-19T20:07:05 | 2018-03-19T20:07:05 | 125,913,968 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | #include <allegro5/allegro.h>
#include <allegro5/allegro_primitives.h>
#include <allegro5/allegro_image.h>
int main() {
ALLEGRO_BITMAP *face = NULL;
ALLEGRO_DISPLAY *display = NULL;
al_init();
al_init_image_addon();
display = al_create_display(500, 400);
al_init_primitives_addon();
face = al_load_bitmap("prim... | [
"sorshadavid1@hotmail.com"
] | sorshadavid1@hotmail.com |
a37ed0e5d8a331644df4dc83c4d268c1f80add61 | 57aad0fc76b28c2bcb4f07dfc3dc96383f33e051 | /lightfield-irrlicht/PlaneSimulator.h | fbab453cfc82f2f1f0c50660c5b9c04c335a2665 | [] | no_license | lvgeng/lightfield-irrlichtWithShadow | dbf34cf90d1de057d07932c5cb34dcb85af33f20 | fd6eb96b667931dd97e996c0d1023c2e45da79ae | refs/heads/master | 2021-03-22T04:06:49.388212 | 2017-06-10T16:35:44 | 2017-06-10T16:35:44 | 93,906,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | h | #pragma once
#include <vector>
#include <irrlicht.h>
using namespace std;
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
class PlaneSimulator
{
private:
std::vector< std::vector<vector2df> > coordinatesInSubimagesList;
std::vector< s... | [
"lvgengbuaa@gmail.com"
] | lvgengbuaa@gmail.com |
7856957dd99a795d44d606a8da2d57b6715eec42 | d8fa4162a3c925209d39116d3fd3f7832950ffb6 | /WaveWindow.cpp | b9d074841c8a5c887a3f7eb2e8e92af144e158ad | [
"MIT"
] | permissive | mpb-cal/TheAudioLooper | f5ed1287a797f75ebfeb7d3f779eaf2fd1ae6703 | ec8a8f13ff8d6a08f8cbdd79954f1d4193dabead | refs/heads/master | 2020-12-03T19:44:18.236806 | 2020-01-02T21:24:52 | 2020-01-02T21:24:52 | 231,460,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,242 | cpp |
#include "WaveWindow.h"
#include "InOutSlider.h"
#include "main.h"
const WORD INOUT_SLIDER = 2;
HWND m_hwndInOutSlider = 0;
LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
if (message == WM_CREATE)
{
m_hwndInOutSlider = CreateWindow( INOUTSLIDERCLASS,
"InOut"... | [
"steelstring@protonmail.com"
] | steelstring@protonmail.com |
d63a684db913d1ff92ef4b9623256d49e7020bb5 | 18f66cb9a08030afab48494b96536e6a80277435 | /acm.timus.ru_33735/1098.cpp | b4cec2f7b44ec969a1e97840c9ddc38b4c975e22 | [] | no_license | Rassska/acm | aa741075a825080637bebab128d763b64c7f73ae | 18aaa37e96b6676334c24476e47cd17d22ca9541 | refs/heads/master | 2023-03-15T16:57:59.274305 | 2015-02-24T21:36:34 | 2015-02-24T21:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include <cstdio>
#include <cstring>
using namespace std;
char S[30010];
int g(int x,int n)
{
return (x%n==0)?n:x%n;
}
void main()
{
for(int i =0;scanf("%c",&S[i])>0;)
{
if(S[i] != '\n')
i++;
else
S[i] = '\0';
}
int n=strlen(S),k=1999,prev,next;
next = (k%2 == 0)?1:2;
if(n==1)
next = 1;
for(int i ... | [
"vadimkantorov@gmail.com"
] | vadimkantorov@gmail.com |
bbe54247f976922ff01895d54e1eb0055737ff5b | 81fdded2f4a5482e9c00ebb2230a7f8975fc38fd | /ComIOP/Wrapper/ProxyServer/OpcUaComProxyServer.cpp | 894c4fd92d29a30e129d80570ec77514cb90b1f9 | [
"LicenseRef-scancode-generic-cla"
] | no_license | thephez/UA-.NETStandardLibrary | c38477a95d69387fa37f9eb3cd2056e460b5ae40 | 759ea05f8d8f990a9aa2354c58dbb846e2ffd88b | refs/heads/master | 2021-01-21T07:25:31.968237 | 2017-01-03T21:01:07 | 2017-01-03T21:01:07 | 64,311,762 | 1 | 1 | null | 2016-07-27T13:42:48 | 2016-07-27T13:42:48 | null | UTF-8 | C++ | false | false | 3,620 | cpp | /* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... | [
"mregen@microsoft.com"
] | mregen@microsoft.com |
fe095c6c941658f78f02c1bf0ffa60c4f117687b | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_PPoly_HArray1OfTriangle.hxx | 84bbc8c656ce1693e38869fe1441597500a8d075 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_PPoly_HArray1OfTriangle_Header... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
22ab21260f3e221c61d247cf745a6d3be1ecf449 | 3ae8fb577d6f34bc94c725b3b7140abacc51047d | /gambit/armlib/src/gambit.cpp | 0aefce35c56ef326f9f4d43f50ff6d2da382abbf | [] | no_license | mjyc/gambit-lego-pkg | b25b7831e864bba0f126f64a3d40f412a19664c1 | d2ae2fa4eb09d5e149c0816eabf9213f75b7283f | refs/heads/master | 2022-12-30T17:11:30.768639 | 2013-09-03T22:02:21 | 2013-09-03T22:02:21 | 306,082,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,855 | cpp | #include <armlib/gambit.h>
#include "ik_gambit.cpp"
namespace armlib {
Gambit::Gambit() :
_spinner(1, &_cb_queue)
{
_latency_usec = 250000;
_n_dofs = 7;
_n_arm_dofs = 6;
_n_manip_dofs = 1;
_data_valid = false;
_encoder_position.resize(_n_dofs);
_joint_weights.push_back(1.5);
_joint_weights.push_back(1.... | [
"mjyc@cs.washington.edu"
] | mjyc@cs.washington.edu |
6db78db0707c229277eec3b8c04aa6ac42214554 | e38231ec168a4daaec38b3b6ac90c3080acd5204 | /src/FaBoMotor_DRV8830.cpp | ec4e0a38831446b2d853cd0cd1b92a605b532736 | [
"Artistic-2.0"
] | permissive | gcohen10/FaBoMotor-DRV8830-Library | 1f9bc1aeb4db24f49d0e9bc8e70bd5bfeb615877 | 25817b3c37543b47a03b662d98a7ee97d508f0d6 | refs/heads/master | 2022-01-07T05:49:09.016233 | 2019-01-03T16:21:35 | 2019-01-03T16:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | cpp | /**
@file FaBoMotor_DRV8830.cpp
@brief This is a library for the FaBo Temperature I2C Brick.
Released under APACHE LICENSE, VERSION 2.0
http://www.apache.org/licenses/
@author FaBo<info@fabo.io>
*/
#include "FaBoMotor_DRV8830.h"
/**
@brief Constructor
*/
FaBoMotor::FaBoMotor(uint8_t addr) {
_i2caddr = ad... | [
"gclue.akira@gmail.com"
] | gclue.akira@gmail.com |
d47b0f911b4f7a4446b6bd5b374700cbe71eacba | 04fdfc9d6d1cd2ff13ef7d9e29da988bf2710204 | /think_in_c++/chapters02/_17PointerToFunction.cpp | 865435f36fb8d4293809a731d71fb30f35f51728 | [] | no_license | DongHuaLu/C-plus-plus | 29bd872e13e70aef80965c48446d5a5b51134b78 | 6a3405fd50ed7b23e40a0927267388c4c5f0c45a | refs/heads/master | 2020-03-30T05:28:17.467026 | 2017-02-09T06:05:08 | 2017-02-09T06:05:08 | 39,047,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
using namespace std;
int func(int i){
cout << "i = " << i << endl;
return i;
}
int main(){
int (*fp1)(int);
fp1 = func;
(*fp1)(2);
int (*fp2)(int) = func;
(*fp2)(55);
}
| [
"ctl70000@163.com"
] | ctl70000@163.com |
e66c02796f8619bff91d493e7ef2518aa1e078de | 781f351347692832c17ebd43bb90accd1036572d | /Sources/Core/Src/KSubWorld.h | 5e39d90776a7dee5d86e6a965af39cddab9f4a8e | [] | no_license | fcccode/Jx | 71f9a549c7c6bbd1d00df5ad3e074a7c1c665bd1 | 4b436851508d76dd626779522a080b35cf8edc14 | refs/heads/master | 2020-04-14T07:59:12.814607 | 2017-05-23T07:57:15 | 2017-05-23T07:57:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,191 | h | #ifndef KWorldH
#define KWorldH
#ifdef _SERVER
#define MAX_SUBWORLD 80
#else
#define MAX_SUBWORLD 1
#endif
#define VOID_REGION -2
//-------------------------------------------------------------
#include "KEngine.h"
#include "KRegion.h"
#include "KWeatherMgr.h"
#ifdef _SERVER
#include "KMission.h"
#include "KMissionA... | [
"tuan.n0s0und@gmail.com"
] | tuan.n0s0und@gmail.com |
9dfcc768bcf8e289a771291983ab122165808834 | 9dc0e27554c5139534087ec2064d2a07ec3b943f | /semestr_1/dynamiczne_zarzadzanie_pamiecia_algorytmy_i_struktury_danych/Kodowanie Huffmana/kodowanie_huffmana.cpp | 35b3606b9392256ed8146c93cc85e52834b8c2e8 | [] | no_license | rikonek/zut | 82d2bc4084d0d17ab8385181386f391446ec35ac | d236b275ffc19524c64369dd21fa711f735605c7 | refs/heads/master | 2020-12-24T20:00:13.639419 | 2018-01-25T09:53:29 | 2018-01-25T09:53:29 | 86,224,826 | 1 | 3 | null | 2018-01-09T11:40:52 | 2017-03-26T10:36:59 | HTML | UTF-8 | C++ | false | false | 374 | cpp | #include <iostream>
#include <fstream>
#include "huffman.class.h"
int main(int argc,char **argv)
{
std::ifstream plik(argv[1]);
if(!plik.is_open())
{
std::cout << "Nie mozna otworzyc pliku zrodlowego" << std::endl;
return 1;
}
huffman h;
h.debug(true);
std::cout << h.encode(... | [
"radek@madenet.pl"
] | radek@madenet.pl |
509a0bb6dd889547c470d03729e808191c894668 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor5/0.54/Force | 2cdaa9d96d5a6ff1f1921b4cb0b78a0ba171f205 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
5cff9c1adda869142180d8859f2dbc854306699b | b7e10af07325fbe34a8f6acb8ad3de090383b845 | /edgeRuntime/StandardPlayer.h | eaeacf0bb5b805ee026eb944a8c8fb92b83f3e1e | [
"Apache-2.0"
] | permissive | Joshua0128/mpcToolkit | dabc59d8c1844072fbd92e66eebcd236361e3c3d | 67d647488907e6f00575026e5c0b2c26b0b92b25 | refs/heads/master | 2021-12-29T23:44:16.268521 | 2016-03-21T15:58:55 | 2016-03-21T15:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,628 | h | //
// StandardPlayer.h
// edgeRuntime
//
// Created by Abdelrahaman Aly on 06/11/13.
// Copyright (c) 2013 Abdelrahaman Aly. All rights reserved.
//
#ifndef edgeRuntime_StandardPlayer_h
#define edgeRuntime_StandardPlayer_h
//Generic Headers
#include <string.h>
namespace Players
{
/**
* @class StandardPla... | [
"abdelrahaman.aly@gmail.com"
] | abdelrahaman.aly@gmail.com |
eaf89ae9f32bac205334c7381ad28ccb6f9d402d | 50c74a5dd38180e26f0608cb0002585489445555 | /Codeforces Solutions/201A.cpp | cfdc91499bfd6ce3a728949417d01b155ff997fe | [] | no_license | ShobhitBehl/Competitive-Programming | 1518fe25001cc57095c1643cc8c904523b2ac2ef | 7a05897ca0ef5565655350803327f7f23bcf82fe | refs/heads/master | 2020-04-17T05:20:52.302129 | 2019-03-18T10:17:47 | 2019-03-18T10:17:47 | 166,265,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define pi 3.141592653589793238
typedef pair<lli,lli> pll;
typedef map<lli,lli> mll;
typedef set<lli> sl;
//typedef pair<int,int> pii;
typedef map<int,int> mii;
typedef set<int> si;
#define x first
#define y second
#define mp make_pair
#define pb ... | [
"shobhitbehl1@gmail.com"
] | shobhitbehl1@gmail.com |
390b3e557568277807833847dd196073931a5739 | 09a353319e8e3f7abe82cdf959254fb8338321dc | /src/runtime/vm/translator/hopt/linearscan.h | 4dea13eb48d4162c0e67aff03be0ef2cc2b5f7af | [
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01",
"Zend-2.0"
] | permissive | huzhiguang/hiphop-php_20121224_original | 37b26487d96707ecb11b1810ff21c69b8f61acd8 | 029125e8af031cb79fe8e0c2eea9b8f2ad5769a2 | refs/heads/master | 2020-05-04T17:07:19.378484 | 2013-08-19T10:06:52 | 2013-08-19T10:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"huzhiguang@jd.com"
] | huzhiguang@jd.com |
8733b71ded70c4ef071f1255b4285d6fd6d247a1 | 7e79e0be56f612288e9783582c7b65a1a6a53397 | /problem-solutions/codeforces/408/D.cpp | 7876c3a3644482f6dffb8ca40766a688c55f5fbb | [] | no_license | gcamargo96/Competitive-Programming | a643f492b429989c2d13d7d750c6124e99373771 | 0325097de60e693009094990d408ee8f3e8bb18a | refs/heads/master | 2020-07-14T10:27:26.572439 | 2019-08-24T15:11:20 | 2019-08-24T15:11:20 | 66,391,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,028 | cpp | #include <bits/stdc++.h>
using namespace std;
#define INF 0x3f3f3f3f
#define For(i,a,b) for(int (i)=(a);(i) < (b); ++(i))
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define endl "\n"
#define PI acos(-1)
typedef long long ll;
typedef vector<int> vi;
typedef vector<bool> vb;
typedef pair... | [
"gacamargo1.000@gmail.com"
] | gacamargo1.000@gmail.com |
6133ca93acfccd10156c5b107ddf16c4bd5891f5 | b2810745e7d746140b87367f9fa55374cc82b2f2 | /Source/BansheeEditor/Source/Win32/BsVSCodeEditor.cpp | ac98bd4c6ee446ec6e04398f8151d7b5fe2352e5 | [] | no_license | nemerle/BansheeEngine | 7aabb7d2c1af073b1069f313a2192e0152b56e99 | 10436324afc9327865251169918177a6eabc8506 | refs/heads/preview | 2020-04-05T18:29:09.657686 | 2016-05-11T08:19:09 | 2016-05-11T08:19:09 | 58,526,181 | 2 | 0 | null | 2016-05-11T08:10:44 | 2016-05-11T08:10:44 | null | UTF-8 | C++ | false | false | 22,469 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "Win32/BsVSCodeEditor.h"
#include <windows.h>
#include <a... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
31a4cdecf1c61a27f8d1246d81cc2872e57ae982 | ad20ec70814c8e3992e14c8e78ef1830d7c73597 | /TripleX/main.cpp | c45e529e76be9924d25f61e139a55aa784b234c0 | [] | no_license | koerriva/UnrealEngine4Course | eab6ea63d00777a53476f750528257563891cea0 | c575fe211e034e405e34f524ebe0f1ac498be0d7 | refs/heads/master | 2022-10-13T15:16:09.067684 | 2020-06-02T14:26:52 | 2020-06-02T14:26:52 | 265,832,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | #include <iostream>
#include <ctime>
void PrintIntroduction(int Difficulty)
{
std::cout << "\033[1;33mYou are a secret agent breaking into a level ";
std::cout << "\033[1;32m" << Difficulty << "\033[0m";
std::cout << "\033[1;33m"
<< " secure server room...\033[0m\n";
std::cout << "\033[1;... | [
"504097978@qq.com"
] | 504097978@qq.com |
f9d054b276bb474ba401ed6614b848a43fce7142 | 03b20afd312ba32e375d8a2619a070971f3e31f5 | /Coursera/Data Structures and Algorithms Specialization/Algorithmic Toolbox/Week2/last_digit_of_a_large_fibonacci_number.cpp | 87330ec8ee5bce10f11044d63577426135a55425 | [] | no_license | AndrewShkrob/Courses | 9c368e107786ba7c19a1744072d6f50bc332efbb | c5d95e468ac8ee0d38a6af7119c1d9c1962c4941 | refs/heads/master | 2022-10-05T02:48:38.388577 | 2020-06-06T14:25:27 | 2020-06-06T14:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <bits/stdc++.h>
using namespace std;
uint64_t FibonacciLastDigit(uint64_t n) {
if (n <= 1)
return n;
uint64_t a = 0;
uint64_t b = 1;
uint64_t ans = 0;
for (size_t i = 2; i <= n; i++) {
ans = (a + b) % 10;
a = b;
b = ans;
}
return ans;
}
int main() ... | [
"andrei5709978@gmail.com"
] | andrei5709978@gmail.com |
6955ad08326f1cf2d1c0aaf749566ed6ba6ce3f0 | 5012f1a7f9d746c117f04ff56f7ebe6d5fc9128f | /1.Server/2.Midware/KFPlugin/KFRobot/KFQueryFriendRankState.cpp | 3f23e0ad284c1c1cae7bddbb58bde3f1bb49e3c8 | [
"Apache-2.0"
] | permissive | hw233/KFrame | c9badd576ab7c75f4e5aea2cfb3b20f6f102177f | a7e300c301225d0ba3241abcf81e871d8932f326 | refs/heads/master | 2023-05-11T07:50:30.349114 | 2019-01-25T08:20:11 | 2019-01-25T08:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "KFQueryFriendRankState.h"
#include "KFRobot.h"
namespace KFrame
{
void KFQueryFriendRankState::EnterState( KFRobot* kfrobot )
{
// 启动定时器, 10秒认证一次
kfrobot->StartTimer( _kf_robot_config->_state_rep_time );
}
void KFQueryFriendRankState::LeaveState( KFRobot* kfrobot )
{
... | [
"lori227@qq.com"
] | lori227@qq.com |
addc5b1c12b7b43b61875450b13d0454d7d12f71 | e73ca94a87c263b0e7622a850a576d526fc22d82 | /D3DX_Doyun_Engine/ConsoleLogger.h | d3d286b16c8a1110bdbab2c9cf8e3671418a6877 | [] | no_license | Sicarim/D3DX_Project | de3805bb1bf08b66396ab815c1abc6ffad68ba64 | 5679aa80a7aac9e8cd05f77567eb4bc279657257 | refs/heads/main | 2023-03-26T22:25:52.857187 | 2021-03-15T15:05:04 | 2021-03-15T15:05:04 | 348,013,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,611 | h | // ConsoleLogger.h: interface for the CConsoleLogger class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONSOLELOGGER_H__294FDF9B_F91E_4F6A_A953_700181DD1996__INCLUDED_)
#define AFX_CONSOLELOGGER_H__294FDF9B_F91E_4F6A_A953_700181DD1996__INCLUDED_
#if _MSC_VER > 1000
#pra... | [
"djawleh@naver.com"
] | djawleh@naver.com |
eb1d76fa137b7b7e67ed56e4748d7ec0059b3eb1 | 2665b0d8ab0ba8584721b6dcd50f404952921900 | /src/interpreter.hh | 576835201010c4237152a77cefa7d19026ae1874 | [
"MIT"
] | permissive | hxdaze/Epilog | 2f9d938828e5f3e5e356d2695867fca78221650f | 48cd45be6003f7968e5ed9ad69d2907fed9f435e | refs/heads/master | 2021-12-14T09:34:22.457568 | 2017-04-22T11:38:05 | 2017-04-22T11:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | hh | #include "runtime.hh"
namespace Epilog {
namespace Interpreter {
struct FunctorClause {
// A structure entailing a block of instructions containing the definition for each clause with a certain functor.
std::vector<Instruction::instructionReference> startAddresses;
Instruction::instructionReference endAddr... | [
"github@varkor.com"
] | github@varkor.com |
76a61ab4d8a8fbf46b6ae5b33f89a7d5f83c9fe3 | 80ed2d804f11a90013b95d51f838513f1e42ef1c | /src/SimpleVariantCallTool.cpp | e2a6a5c5288f517339c61edd211d7fedfbd0e1bc | [] | no_license | ZengFLab/PyroTools | dc80b4cd44b830fd9efe0d16632a8c51650b6e48 | 81ece81d1947100edbecb807755a01a472d348ad | refs/heads/master | 2021-12-05T01:35:57.751050 | 2015-05-26T03:39:35 | 2015-05-26T03:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,328 | cpp | #include "SimpleVariantCallTool.h"
#include "GenericRegionTools.h"
#include "GenericVariant.h"
#include "GenericBamAlignmentTools.h"
#include "GenericSequenceGlobal.h"
using namespace GenericSequenceTools;
#include <getopt.h>
#include <time.h>
#include <tuple>
#include <utility>
#include <iomanip>
#include <iostream>
... | [
"zeng.bupt@gmail.com"
] | zeng.bupt@gmail.com |
2f30b0feb79c37a7639798b04b76f63b8bdb5d4b | 812125f1d67ab7cb468a06171fb6ef86c8ef1483 | /buff/b.cpp | 310642ffc8ccd0bd78875e732dbdcdf68523ef1f | [] | no_license | sxw106106/cpp-learning | 861e8d67ed29ce0ceac78acb900e4756667adad6 | 7cd2817699e816acd6725137e6f7254b9fcbe1a0 | refs/heads/master | 2021-01-21T06:46:47.779675 | 2014-03-24T16:20:28 | 2014-03-24T16:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char buff2[4 * 16000 * 16 /8];
printf("################## sizeof(buff2)= %d#################\n",sizeof(buff2));
char buff[3][4 * 16000 * 16 /8];
memset(buff,0,sizeof(buff));
printf("################## sizeof(buff)= %d##########... | [
"no7david@gmail.com"
] | no7david@gmail.com |
b2d480d42ad7290ca3f5c828db7722bfd4e55e46 | 341c6ea936988af9e24379f5cf08a62be1d9d811 | /ccursor.cpp | 9ade2e2634292e71272a114441865681674a7f6f | [] | no_license | mextier/Patience | 3fad4544ccc123782756f4de411527a43a047bc6 | bad1f104f82d3c895e4565499137acaf27da3f20 | refs/heads/master | 2021-10-24T05:04:45.991183 | 2019-03-22T05:17:40 | 2019-03-22T05:17:40 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,369 | cpp | //====================================================================================================
//подключаемые библиотеки
//====================================================================================================
#include "ccursor.h"
//===========================================================... | [
"da-nie@yandex.ru"
] | da-nie@yandex.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.