blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b01d77adcf883f4958cf07ec34e9e65ae8815ff | 32b934cb3ef99474b7295da510420ca4a03d6017 | /GamosScoring/Management/include/GmVPrimitiveScorerVector.hh | 0b7f1f4fe023e15afe7a1d82cd074587052c1558 | [] | no_license | ethanlarochelle/GamosCore | 450fc0eeb4a5a6666da7fdb75bcf5ee23a026238 | 70612e9a2e45b3b1381713503eb0f405530d44f0 | refs/heads/master | 2022-03-24T16:03:39.569576 | 2018-01-20T12:43:43 | 2018-01-20T12:43:43 | 116,504,426 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,167 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The GAMOS software is copyright of the Copyright Holders of *
// * the GAMOS Collaboration.... | [
"ethanlarochelle@gmail.com"
] | ethanlarochelle@gmail.com |
9f6e90420ea7dc9c2f7fe786b9227dd631a3b516 | 0212e535be3d51ca5ec8f75f6d00bd022b4b4d7b | /Lumos/src/Physics/LumosPhysicsEngine/Integration.h | 9ef6908033d3a9bd46bc289714f308dcd6583ea8 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | heitaoflower/Lumos | e4be9d63677fae8b85edf63006ff3693ff994c6c | 9b7f75c656ab89e45489de357fb029591df3dfd9 | refs/heads/master | 2022-04-24T14:17:14.530531 | 2020-04-26T14:31:32 | 2020-04-26T14:31:32 | 256,513,707 | 0 | 0 | MIT | 2020-04-27T07:51:17 | 2020-04-17T13:40:48 | null | UTF-8 | C++ | false | false | 541 | h | #pragma once
#include "lmpch.h"
#include "Maths/Maths.h"
namespace Lumos
{
class LUMOS_EXPORT Integration
{
public:
struct State
{
Maths::Vector3 position;
Maths::Vector3 velocity;
Maths::Vector3 acceleration;
};
struct Derivative
{
Maths::Vector3 acceleration;
Maths::Vector3 velocity;
... | [
"jmorton06@live.co.uk"
] | jmorton06@live.co.uk |
29571dad16a77a3a6f970beff9ed1e41939cee02 | bb985a854257d4ca783e0d71e9670feb655bfe34 | /include/memory/manager.h | 4cf600ed1ded32f366b213056c134109963161ec | [
"MIT"
] | permissive | utashih/kanransha | 0e653143291662308cf7eccd888a3c1f44990dea | 844ebf8a59177f2a074543168cdffd40f86acb8a | refs/heads/master | 2020-11-24T22:42:05.546318 | 2019-12-18T07:48:50 | 2019-12-18T07:48:50 | 228,369,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | h | #ifndef KANRANSHA_MEMORY_MANAGER
#define KANRANSHA_MEMORY_MANAGER
#include <cstddef>
namespace kanransha {
template <typename derived_t>
class memory_manager_base {
public:
void *allocate(size_t size, size_t alignment) {
return get_derived()->allocate_impl(size, alignment);
}
template <typename T>
T *al... | [
"utashih@gmail.com"
] | utashih@gmail.com |
d9d44e440d6a92af6c7b84c6fd613e39fbdfa80a | 9eef1659064ad2f415e7aba90b298cc1e621a75c | /Lagrange_Point.cpp | 49d3a383988ab737bbbd870a50a4b83d7e3a2302 | [] | no_license | Linpinliang/ibm_2019_11_1 | c91bc9924a0fad9dd9801f0afe0d88b595d54ed0 | 6372d5bf18ceefd5779c8e3f6a269127de5aa1c8 | refs/heads/master | 2020-09-30T11:21:52.800168 | 2019-12-11T05:02:19 | 2019-12-11T05:02:19 | 227,278,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include "Lagrange_Point.h"
/*
Lagrange_Point::Lagrange_Point()
{
}
*/
Lagrange_Point::Lagrange_Point(double x, double y)
{
Set_Position(x, y);
Set_ub_vb_noF(0, 0);
Set_Ub_Vb(0, 0);
Set_F(0, 0);
}
void Lagrange_Point::Set_Position(double x, double y)
{
_x = x;
_y = y;
}
void Lagrange_Point::Set_ub_vb_noF(doub... | [
"928248595@qq.com"
] | 928248595@qq.com |
70b3be67e4d9b087ba6b7bde357e2559f01dd92c | e87dd14dcc240623b85527b36839d7b1967a03df | /code/DB_interface/src/Sdfdb.cpp | 13ccdf10c12b4e3652f31ae648695b690bf2a485 | [] | no_license | QuanjieDeng/DTMF-CHECK | 4e0c8c87265762261d622f031fa8ec67d19cbece | f3a827778923f95e545423fa26fbe24b2b443aed | refs/heads/master | 2021-01-16T21:47:47.797248 | 2016-08-02T09:13:25 | 2016-08-02T09:13:25 | 64,742,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,863 | cpp | /// ----------------------------------------------------------------------------
//
// FILENAME:
// Sdfdb.cpp
//
// DESCRIPTION:
// This file contains the achieve of the functions
// database sqlite handle
//
// DATE NAME REFERENCE REASON
// ---- ---- -------- ------
// 2014/10/13
//
// Cop... | [
"polylink"
] | polylink |
487bcf32bc599cd01bdd5db91bb80d969c31a968 | b4aff90b636412db70a2e2e2ab819a24d65cba2b | /voipengine/voipsdk/webrtc/src/chromium/src/content/common/gpu/media/dxva_video_decode_accelerator.h | c544cf67e4e4dabda5f4b9de532369f5262ed67c | [] | no_license | brainpoint/voip_ios | 9a9aebba88b3c5bb17108d7ed87c702f23dc6f12 | 5205f896b9e60881f52c0b12b1c5188c9608d83e | refs/heads/master | 2020-12-26T04:37:38.258937 | 2015-04-14T16:16:31 | 2015-04-14T16:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,748 | h | // Copyright (c) 2012 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 CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
#define CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
#include <d3d9.h>... | [
"houxuehua49@gmail.com"
] | houxuehua49@gmail.com |
b1b3b472be0a32d664f2bc97bda99b90c4ef1bee | e86c8116ab0542a6b7f6a551344a86139e39f9de | /Framework/Graphics/Source/Private/Utility/RefObject.cpp | b5115db7c7e25d3e8f380c74745791137ae8721b | [] | no_license | jazzboysc/RTGI | fb1b9eed9272ce48828e9a294529d70be3f61532 | 80290d4e1892948d81427569fb862267407e3c5a | refs/heads/master | 2020-04-14T05:23:38.219651 | 2015-07-17T07:12:48 | 2015-07-17T07:12:48 | 20,085,664 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | //----------------------------------------------------------------------------
// Graphics framework for real-time GI study.
// Che Sun at Worcester Polytechnic Institute, Fall 2013.
//----------------------------------------------------------------------------
#include "RefObject.h"
using namespace RTGI;
//--------... | [
"S515380c"
] | S515380c |
5fe74fe4d22404669f0d5a414ff09731cd84272b | af63a50e2987080ac4b3315e8621a8a0dfc14d3b | /Units/Kilogram.h | 122f6ab836dd2c9ac882231efadb7955debbf185 | [] | no_license | JasperKent/Units | ee6f0a4d8bf702084932edec8113b0c254836cfe | 9562fe87ea7c81668e7a9a25d566f0cb522e7d74 | refs/heads/master | 2020-12-28T09:48:25.486797 | 2020-02-04T18:37:05 | 2020-02-04T18:37:05 | 238,275,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #pragma once
#include "MassBase.h"
class Kilogram final : public MassBase
{
public:
Kilogram(double kg) :MassBase(kg) {}
Kilogram(const MassBase& mass) :MassBase(mass) {}
};
Kilogram operator"" _kg(long double val)
{
return Kilogram(val);
}
Kilogram operator"" _kg(unsigned long long val)
{
return Kilogram(val);
... | [
"jasper_kent@hotmail.com"
] | jasper_kent@hotmail.com |
f4582a57e8c69bae4356d78f0ad5687dbdff8299 | 81075f5e051bc52e4d6129cf2a5550caa6dc8cbf | /oxygard_read4-20_mg_lQT.ino | d7a39fa4eb53c59e7e3dc52070b0591c990b6735 | [] | no_license | dreizys/oxyguardTruck | 95434daa75ce87e7e1a918284dd0655664541b0e | 1ef38fe057a3653af21e00341979baa5ab5f56eb | refs/heads/master | 2021-01-10T12:18:58.934545 | 2016-04-21T13:33:30 | 2016-04-21T13:33:30 | 55,892,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | ino | /*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public ... | [
"dreizys@mail.ru"
] | dreizys@mail.ru |
62ce93cbc08b07c76d3194a84cd8f738b7945dce | 6f5f789413a2a4f41f900ba44e7e696e275f578b | /NFC-PRO1/PN532/PN532Interface.h | 5da0980afe82005c820d592e70a782a2ffce832f | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | SU1JUN4KANG1/SJ_K | dc46952295bbb76069c70c9dc2633d1c1e4db7a7 | a029879bb33d3e85b16ca86cea3b8a052a20a82a | refs/heads/master | 2020-05-25T12:10:05.631026 | 2019-08-22T12:01:29 | 2019-08-22T12:01:29 | 187,792,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | h |
#ifndef __PN532_INTERFACE_H__
#define __PN532_INTERFACE_H__
#include <stdint.h>
#define PN532_PREAMBLE (0x00)
#define PN532_STARTCODE1 (0x00)
#define PN532_STARTCODE2 (0xFF)
#define PN532_POSTAMBLE (0x00)
#define PN532_HOSTTOPN532 (0xD4)
#define PN... | [
"137526100@qq.com"
] | 137526100@qq.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 |
b097ed63d3971c689d9b52a9f0c6dbf978057f9f | 3f4f5f67669413f1ff8e4c65f22a17ad77c9cf04 | /libaln/src/alntestvalid.cpp | 36d4ceb8156ff53be921f47f536b5ceecdb355a8 | [] | no_license | rpeters/Deep-Learning-ALN | ab4925e6d6a27fe13cd23b8a5093a4127a19344f | 42c71c386be918190efe837bc212dab5e32d91b7 | refs/heads/master | 2021-10-25T14:51:42.643978 | 2019-04-04T21:46:27 | 2019-04-04T21:46:27 | 106,046,411 | 1 | 0 | null | 2019-04-04T21:46:28 | 2017-10-06T20:14:27 | C++ | UTF-8 | C++ | false | false | 1,379 | cpp | // ALN Library
// Copyright (C) 2018 William W. Armstrong.
//
// 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 3 of the License, or (at your option) any later version... | [
"wwarmstrong@gmail.com"
] | wwarmstrong@gmail.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 |
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 |
6da3ef320d437cd2819a957ee60e213ee983cfbb | 3611a4f9b55f8c379cddfeff4e627faafecc222e | /src/plugins/aggregator/interfaces/aggregator/item.h | 231ca723d1710b7bafd6ed0c912a626c3fdaca36 | [
"BSL-1.0"
] | permissive | llpj/leechcraft | f194dbbadfe088f09a92cfb03351dcc901c926bd | b71c8ef4f6384d8f50a92be23470c83dcefaec72 | refs/heads/master | 2021-01-15T09:33:52.096466 | 2016-09-06T02:34:03 | 2016-09-06T02:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,574 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
80a02c29fcfcdeaec65912ccab6768cd5b1793fb | 48496347ebfa83292dd98079a20a9757e5749f7a | /practiceDir/2019.11.13최종/first/input.hpp | 0a7ae153c2500bc86a1607d3f13ef210e1059306 | [] | no_license | KW-DS-Project/Project | ee10a94cd309ebe2bfb68323fb418e30cc56c77d | 4bb1bba94059156eefca995c35aa41dfabf4e0a4 | refs/heads/master | 2020-07-31T19:03:34.877439 | 2019-12-11T08:20:43 | 2019-12-11T08:20:43 | 210,721,296 | 0 | 0 | null | 2019-12-10T15:05:01 | 2019-09-25T00:25:49 | C++ | UTF-8 | C++ | false | false | 1,239 | hpp | #pragma once
#include <iostream>
#include <string>
#define MENU_LEN 6
using namespace std;
class input {
private:
string name[MENU_LEN]; //= {"SangHai spicy burger set",
// "Double bulgogi burger set", "Wapper set", "Thai burger set",
// "Mozzalela cheese burger set", "Zinger burger set"};
int... | [
"noreply@github.com"
] | KW-DS-Project.noreply@github.com |
74cac7970237ebca062fc43299497f775e775001 | 4749b64b52965942f785b4e592392d3ab4fa3cda | /chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h | 1ef2b14ac39757589ed5c8e962d1a4de51724758 | [
"BSD-3-Clause"
] | permissive | crosswalk-project/chromium-crosswalk-efl | 763f6062679727802adeef009f2fe72905ad5622 | ff1451d8c66df23cdce579e4c6f0065c6cae2729 | refs/heads/efl/crosswalk-10/39.0.2171.19 | 2023-03-23T12:34:43.905665 | 2014-12-23T13:44:34 | 2014-12-23T13:44:34 | 27,142,234 | 2 | 8 | null | 2014-12-23T06:02:24 | 2014-11-25T19:27:37 | C++ | UTF-8 | C++ | false | false | 902 | 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_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
#define CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHE... | [
"pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
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 |
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 |
4888a432c550390859bb50d6c002b34b8c27d7b0 | 231447b5b9d0bcb316579a55bc4cbf79c3eed803 | /C++Practice/C++/Polluter/NaturalGas.h | 9b23e17216ddb52673327ad5e6e8abf3d9bf75e7 | [] | no_license | JonasMoros/C-Class-2018-Fall | cc028351a40ff68f3ea2382f7098ebbc5167e9f9 | 83b9f117593fac989a7f96c7d84f8bce5292a2b7 | refs/heads/master | 2020-04-13T16:41:39.210354 | 2018-12-27T19:29:29 | 2018-12-27T19:29:29 | 163,327,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | //Jonas Moros 47318379
#ifndef NATURALGAS_H
#define NATURALGAS_H
#include "Polluter.h"
#include <iostream>
using namespace std;
class NaturalGas: public Polluter{
//private class members
private:
float averageAmtofNG;
float pricePerKW;
float NGEfactor;
float MIYear;
floa... | [
"noreply@github.com"
] | JonasMoros.noreply@github.com |
bb8fbf9d6abffbfa7224bfffa61c02bbfc6f3e1a | cc7643ff887a76a5cacd344993f5812281db8b2d | /src/WebCoreDerived/JSHTMLLinkElement.cpp | d1e3d2c6659c0fb8afe6599aa24eb9e8c71be240 | [
"BSD-3-Clause"
] | permissive | ahixon/webkit.js | e1497345aee2ec81c9895bebf8d705e112c42005 | 7ed1480d73de11cb25f02e89f11ecf71dfa6e0c2 | refs/heads/master | 2020-06-18T13:13:54.933869 | 2016-12-01T10:06:08 | 2016-12-01T10:06:08 | 75,136,170 | 2 | 0 | null | 2016-11-30T00:51:10 | 2016-11-30T00:51:09 | null | UTF-8 | C++ | false | false | 18,494 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"trevor.linton@gmail.com"
] | trevor.linton@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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
e3df3918d0b5201db0a66d511982a86a5c00236a | 1f52709308dc9fc181241a7ff1dbf687c3326413 | /0001 - 0300/0200. Number of Islands/wy.cpp | c8742ff9e3d1f53b7a4ed8299c14288cc5017d26 | [] | no_license | FongZiSing/leetcode | 1723c73c24b70156f813afdd5a00b01ad056fc9c | 98fcfd7e13769a99c10f6c669ab4591d029fbc7e | refs/heads/master | 2022-12-01T03:50:17.498268 | 2020-08-22T04:06:59 | 2020-08-22T04:06:59 | 230,029,136 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | cpp | #include <__msvc_all_public_headers.hpp>
using namespace std;
class Solution {
public:
int numIslands(vector<vector<char>>& grid) {
int num_of_islands = 0;
vector<vector<bool>> visited(grid.size());
for (int i = 0; i < grid.size(); i++)
{
for (int j = 0; j < grid[i].siz... | [
"noreply@github.com"
] | FongZiSing.noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
9010d1347fc0cce48f9799f413e0b700855d49a1 | 64affe064ff1be33005c004339b0dbb4b3d6d7ab | /level1/p02_isPrime/Is_prime.cpp | 206dc38b5c0bdea640141cae7f8e05dd535ecfe4 | [
"MIT"
] | permissive | Hcy-Horst/c2019 | d2687a8eb2ac56aac48dfec7af104b72e7a3f751 | fcb50d63d08913618c450a80c56a948e5da750c2 | refs/heads/master | 2020-04-26T04:38:41.390782 | 2019-06-12T11:57:17 | 2019-06-12T11:57:17 | 173,308,765 | 0 | 0 | MIT | 2019-04-17T11:25:19 | 2019-03-01T13:44:11 | C++ | UTF-8 | C++ | false | false | 329 | cpp | #include<cstdio>
using namespace std;
// by huang chong yi 2018081306006
bool Is_prime(int x){
for(int i=2;i*i<=x;i++)
if(x%i==0) return false;
return true;
}
int main(){
int n;
scanf("%d",&n);
if ( Is_prime(n) ) printf("%d is a prime !\n",n);
else printf("%d is not a prime !\n",n);
return... | [
"noreply@github.com"
] | Hcy-Horst.noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
8e4df41155040d926db98a96ef06f2a8d2a46d6e | ffacd38bbd5e427b7a2d757f57d39916931cd9f7 | /lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/pool2d.cc | f85206dfe16e530e70f9cf81297680bf14f78dd9 | [
"Apache-2.0"
] | permissive | fuaq/Paddle-Lite | 59ff12dbc8c7d41b8da42404d8a5a3ea95fe343e | 56e1239410d976842fc6f7792de13c9d007d253f | refs/heads/develop | 2023-07-11T01:47:01.107411 | 2021-08-23T06:44:51 | 2021-08-23T06:44:51 | 374,947,749 | 1 | 0 | Apache-2.0 | 2021-06-08T09:02:21 | 2021-06-08T09:02:20 | null | UTF-8 | C++ | false | false | 4,828 | cc | // Copyright (c) 2019 PaddlePaddle Authors. 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... | [
"noreply@github.com"
] | fuaq.noreply@github.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 |
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 |
bd65995738d38edc465032856b5481021f541571 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/scheduler/mocks/mock_cloud_scheduler_connection.h | 9aa74e412cd853017d24a241226c708ce88f8d90 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 1,703 | h | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
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 |
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 |
11668ce5e26d0656861d6861ecc8381d1509f81d | c275d7e762e3a440b2df8fb78382a31b1d392d3f | /solutions/W1_sortings-1/C_merge_sort.cpp | 271532fac9996268c2ac15eadd820030545225ae | [] | no_license | munraito/made-algo | dd333a12f665254612435314198bcbe62da804c3 | 15e7d11644f376d9715647c9bfb986b78dddb98c | refs/heads/main | 2023-02-14T00:57:57.642341 | 2021-01-10T16:22:25 | 2021-01-10T16:22:25 | 322,673,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> merge(const vector<int>& left, const vector<int>& right) {
int l_size = left.size(), r_size = right.size(), i = 0, j = 0;
vector<int> res;
while ((i + j) < (l_size + r_size)) { // iterating till the end of arrays
if ((j == r_si... | [
"noreply@github.com"
] | munraito.noreply@github.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 |
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 |
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 |
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 |
bc6c15913b49e5478454b7e13ffd0e5197e4a4f5 | 0b87e4af694e649d35351d7abe27df3da7f9fbe8 | /RoboticsProject11.ino | 2879b60ac4ed0b9d94e60f04f6b4db19faa7bbf9 | [] | no_license | A01258386/RoboticsProjects | 5d41b3769991c988a87849f40a662673d9e1f4b2 | b7a2823c788b3ff8cbe1caf97f6baac4e707bec7 | refs/heads/master | 2022-04-16T01:52:37.023555 | 2020-03-29T19:15:23 | 2020-03-29T19:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | ino | //RAIN SENSOR
int sensorPin = A0;
int threshold = 100;
int buzzerPin = 8;
int data;
void setup() {
pinMode(buzzerPin, OUTPUT);
}
void loop() {
data = analogRead(sensorPin);
if(data > threshold){
digitalWri... | [
"noreply@github.com"
] | A01258386.noreply@github.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 |
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 |
4a053c13cd69f5bd85e9f9d373092133d31e8991 | edba178a8a74551ec58e46c21c879da8fc2c11d7 | /basic/SCC.cpp | f14b2b46f799db8c8ee8ea72505e9e78feeddd09 | [] | no_license | hyunjongmoon/Algorithm-learning | 876158f7a2a06fe0c0c29ba68585caeb9c17ef2a | 68281a77024b0c03dd8e908cf05b2808a6777770 | refs/heads/master | 2022-12-11T14:48:25.866253 | 2020-09-07T13:17:35 | 2020-09-07T13:17:35 | 283,425,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <algorithm>
#define MAX 10001
using namespace std;
int id, d[MAX];
bool finished[MAX];
vector<int> a[MAX];
vector<vector<int> > SCC;
stack<int> s;
// DFS 는 총 정점의 갯수만큼 실행됨
int dfs(int x) {
d[x] = ++id; // 노드마다 고유한 번호를 할당
s.push(x); // ... | [
"noreply@github.com"
] | hyunjongmoon.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
9ea9c66c9fb913d3c36def38f8a31def8b9511d4 | 31faee8896b3a8599a283912cb359f6a3ecf5794 | /Assignment7/movieTreeDriver.cpp | b38195429d840665d03b4080b7c8e8708f372521 | [] | no_license | csHonig/DataStructuresAssignments | 5c0b7e981e2e5008cbfc4707f95c6f2c908651ca | 9c32452490c35859cad0662af122cbcf2589d5ce | refs/heads/master | 2022-04-04T17:49:33.110398 | 2019-12-24T01:56:42 | 2019-12-24T01:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include "MovieTree.hpp"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
void displayMenu() {
cout << "======Main Menu======" << endl;
cout << "1. Print the inventory" << endl;
cout << "2. Delete a movie" << endl;
cout << "3. Quit" << endl;
}
void split(string line,strin... | [
"noreply@github.com"
] | csHonig.noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.