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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18f7257bd82f5385e532a1d33219fdca8129e513 | e7533029e6b737623c11517f77b2f143b2c508a6 | /Android/PFCVersion2/proj.winrt/MainPage.xaml.h | e816a125e04c48ef6995906a7262774ad41a0a41 | [] | no_license | juaniiton1/PFC | e1593dce6b0d6cb3bec8e18d2c99ee42798c3ebb | 1f1cb61d5c806244e48da07a0a0fa99a4b35d5be | refs/heads/master | 2021-01-19T03:13:01.328958 | 2014-03-17T18:07:24 | 2014-03-17T18:07:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,080 | h | /****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) Microsoft Open Technologies, Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files... | [
"montagut.joan@gmail.com"
] | montagut.joan@gmail.com |
408cb323264835f02a0e54ce98e15a7079d6eba8 | 98932def41d8b42c022be87905733a419c54a169 | /details/callbacks.h | 0b8d91a0465551714e7373e0e34367f5e477cfd8 | [
"LicenseRef-scancode-boost-original"
] | permissive | hwgyy/cpptcl | 10e8342cfae3672cbe5538d942483f231bbc4845 | c5917b75de5f6fdace6dc2adee24e929961a8570 | refs/heads/master | 2021-09-13T06:53:51.257193 | 2018-04-26T07:09:51 | 2018-04-26T07:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | h | // Copyright (c) 2011-2012, Wei Song
// Copyright (C) 2004-2006, Maciej Sobczak
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as t... | [
"wsong83@gmail.com"
] | wsong83@gmail.com |
d2bb78410d8b1596d986d4a01b142ecb820a2df3 | 5b49e47ace71e6715a6d59e8f7470b30134eca65 | /programs/android/project_template/jni/main.cpp | db6febb9618933435c7751ce5cbf09ec123a9c4f | [] | no_license | menezesd/qb64 | 1515971192955f15f37dd3887bbf82eb130092cc | d7aad9cc49d0f6df3872e01fc72d29e5f682a4f8 | refs/heads/master | 2020-05-19T22:15:23.413835 | 2015-07-16T16:39:29 | 2015-07-16T16:39:29 | 39,279,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include <jni.h>
#include <android/log.h>
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "FreeGLUT", __VA_ARGS__))
#include <EGL/egl.h>
#include <GLES/gl.h>
#include <GLES/glext.h>
#include "c/libqb.cpp"
| [
"galleondragon@gmail.com"
] | galleondragon@gmail.com |
8c9c7e89967e3d7c6ac855333856a62ac8e77650 | b06e32854c1e028a99be9ca70b614a5a8a733067 | /archive/kxkm_esp32_sac_v2_002_h_s/do_effet_2.ino | ff9f65a5afe077d9217af2fe15a7da56b0c8c949 | [] | no_license | ririfonfon/KXKM_ESP32_SAC_V2 | 8cd4361337ce20878ace4a7738a8f02a081ea611 | 503f51c815ab5b5f0e0c992bb5fac924d56bb9d5 | refs/heads/master | 2021-06-13T06:51:04.525298 | 2021-03-09T10:04:24 | 2021-03-09T10:04:24 | 155,556,347 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,399 | ino | void do_effet_2() {
if (pix_mod >= 0 && pix_mod <= 10) {
for (int i = 0 ; i < NUM_LEDS_PER_STRIP ; i++) {
strands[0]->pixels[i] = pixelFromRGBW(sr, sg, sb, sw);
}//for i
}//pix_mod 0
if (pix_mod >= 11 && pix_mod <= 20) {
for (int i = 0 ; i < NUM_LEDS_PER_STRIP ; i++) {
if (i >= (pix_pos) ... | [
"ririfonfon10@gmail.com"
] | ririfonfon10@gmail.com |
22cb22ece094066c65b78444008252bc0373487a | d0fb746f1be49b7c0de6b9b6c15d034329cd23dc | /Game Engine Esqueleto/PhysicsDynamicsMng.cpp | 25061e1258207dc1ec1f71e0d77994913b36131b | [] | no_license | EdgarSAE/Game-Engine-Esqueleto | 23b471eacef9fd217af743c8acf1038c7dcb3e1f | 501a8c1de748159b6630c5d13f57ac8b4c6a8be0 | refs/heads/master | 2021-01-11T03:35:28.088813 | 2016-09-23T06:24:28 | 2016-09-23T06:24:28 | 68,940,999 | 0 | 0 | null | 2016-09-23T06:24:29 | 2016-09-22T16:33:35 | C++ | UTF-8 | C++ | false | false | 578 | cpp | #include "PhysicsDynamicsMng.h"
PhysicsDynamicsMng& PhysicsDynamicsMng::instance()
{
static PhysicsDynamicsMng *instance = new PhysicsDynamicsMng();
return *instance;
}
PhysicsDynamicsMng::PhysicsDynamicsMng()
{}
void PhysicsDynamicsMng::Start()
{
std::cout << "Start Physics Dynamics Manager\n";
}
void PhysicsDy... | [
"edgar.alonso@saei.mx"
] | edgar.alonso@saei.mx |
0df33e9dfc0e67867a735470c56e57e6e242e168 | 6e23eb6f1ced65abe6178d5379f78af7ffc53f1f | /gorodlangtokens.cpp | c2b5e8dee4930e484246d733e05d163f2b0cd821 | [] | no_license | Childcity/SimpleLanguageParser | 0cba111d7bc1fa3e2254a5e391885b456f2f14a4 | 5ced5e40163baaec4c1d13b44a412c19688b89b0 | refs/heads/master | 2020-04-21T12:28:27.261508 | 2019-09-26T21:45:10 | 2019-09-26T21:45:10 | 169,563,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cpp | #include "gorodlangtokens.h"
| [
"skulazkiy@gmail.com"
] | skulazkiy@gmail.com |
39ddc96c4f6de5c03def288a20843b6e9723f8d0 | 1ffd95f3829428bbd0b79292c93c08c3d7ff7498 | /expression.h | db002730255b90afa22d2066c915b3e634275619 | [] | no_license | adamwojs/tautology | dde040423d1386684ac6db1b7b3626bd83ba8039 | d3ea0fbac05a8a08dbaaeacdcf4afb72b0563b6f | refs/heads/master | 2021-01-15T19:44:57.070512 | 2014-09-03T12:14:49 | 2014-09-03T12:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | h | #ifndef EXPRESSION_H
#define EXPRESSION_H
#include <map>
#include <istream>
#include <vector>
#include "scanner.h"
class Expression
{
public:
// Symbols table
std::map<char, bool> symbols;
Expression(std::istream& input);
// Return expression value
bool calculate();
// Print expression conv... | [
"adam@wojs.pl"
] | adam@wojs.pl |
4bcb7760952937c4da4dd23751ed8faf125bd003 | 96ca579d05d4ba34c43f60a9fbd8e54f50729902 | /Gyver_Ambilight/Gyver_Ambilight.ino | aa3c7252e2a703ce0adfe19828fdd28aad2b84d7 | [] | no_license | AlexGyver/Arduino_Ambilight | 19b1a0a222d8755e9e0590a5742031d904aefaf3 | 68f135c45c15a11777786dd6da18ab0aafd584d2 | refs/heads/master | 2023-08-31T11:14:24.383330 | 2022-03-26T05:30:22 | 2022-03-26T05:30:22 | 101,448,788 | 150 | 86 | null | 2023-08-27T15:30:24 | 2017-08-25T23:11:55 | C++ | UTF-8 | C++ | false | false | 3,860 | ino | /*
Управление лентой на WS2812 с компьютера + динамическая яркость
Создано не знаю кем, допилил и перевёл AlexGyver http://alexgyver.ru/
2017
*/
//----------------------НАСТРОЙКИ-----------------------
#define NUM_LEDS 98 // число светодиодов в ленте
#define DI_PIN 13 // пин, к которому под... | [
"beragumbo@ya.ru"
] | beragumbo@ya.ru |
2935632a9aed550c0324f48eaa9e471b4ac3d2c8 | 77f0a8e61cc3e6d9ad0039505fb09337e6d1a670 | /NetworkSession/NetworkSessionRecvDataThread.cpp | 98151f6eb536bc599b6db525c963c42f37f9a0ca | [] | no_license | SilentLee/Classes | b0c012db38940516c512d8c5185d38093e24529c | 6470fe45e73f672c932aec8bd4b2ea27d0cce16b | refs/heads/master | 2021-09-04T13:25:06.614107 | 2018-01-19T05:48:18 | 2018-01-19T05:48:18 | 110,434,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,499 | cpp | #include "NetworkSession.h"
#include "OutputProc.h"
VOID CNetworkSession::RecvData()
{
DWORD protocol = 0;
BYTE packet[MAX_BUFFER_LENGTH] = {0, };
DWORD packetLength = 0;
while (true) {
memset(packet, 0, sizeof(packet));
int result = Recv((char*)mPacketBuffer, sizeof(mPacketBuffer), 0);
... | [
"1378180704@qq.com"
] | 1378180704@qq.com |
9a680cbb01c0e40ff39d326c43ec995a3f219e90 | d9c1c4ae9e03d9e2782d8a898e518a3b8bf6ff58 | /NewGDTS/GDTS_MICROVIDEO/Microvideo/Microvideo/comm/src/VNMP_datawork_app.cpp | 1b2b6bb09d5ef0ebb3dceb3904526c94916fdae2 | [] | no_license | zhaohongqiang/Codes | 753166b168a081d679e474ad0b0062d463a06096 | f28c860a65afc81ba19d1f49e1edbda719f44f03 | refs/heads/master | 2021-03-04T16:11:47.299084 | 2019-11-02T06:12:39 | 2019-11-02T06:12:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 28,278 | cpp | #include "stdafx.h"
#include "C2Htype.h"
#if 1
#include "../../include/dev_init.h"
#include "../include/commapp.h"
//#include "../include/command.h"
//#include "../include/frame.h"
#include "../include/VNMP_datawork_app.h"
//#include "../include/data_srv.h"
//#include "../include/queuesappl.h"
#include "../include/thr... | [
"jc1402080216@163.com"
] | jc1402080216@163.com |
793391dfd36b8bdc69224e8346cc002fb7b4b541 | 0269cefece8a89f11b313161556cc2cac55e797c | /1/src/ScissorPanelUI.cpp | fa310a86bf48fa250b97cb50084eb332b9351643 | [] | no_license | itsachen/CS-4670 | aa206bc9597a1460672b6cac50491dca201d6a6e | 9c35fae183b3ece0e2a3ad3d52cf9928b1a78f26 | refs/heads/master | 2020-06-08T08:49:30.301376 | 2013-04-12T01:48:37 | 2013-04-12T01:48:37 | 9,384,269 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,597 | cpp | // generated by Fast Light User Interface Designer (fluid) version 1.0011
#include "ScissorPanelUI.h"
inline void ScissorPanelUI::cb_Image_i(Fl_Round_Button*, void*) {
imgView->OrigImage();
}
void ScissorPanelUI::cb_Image(Fl_Round_Button* o, void* v) {
((ScissorPanelUI*)(o->parent()->parent()->user_data()))->cb_I... | [
"pandaman0529@gmail.com"
] | pandaman0529@gmail.com |
3359bd7e89e4e86a97a6da284d25169e047ecc7c | d9162d21f86a94af89533636b228d45efb6fe87d | /benchmark/benchmark.cc | 35b80a9b18c08a5f6a5351ba2e252954d4d46a3f | [
"MIT"
] | permissive | jonasohland/shgen | 092af99903792509c9f268d00c5d5decb354f18f | d8ccbc966ef634fec7d0935606f6716e32c82956 | refs/heads/master | 2022-10-01T21:42:07.721045 | 2020-06-06T14:35:41 | 2020-06-06T14:35:41 | 268,918,432 | 0 | 0 | null | 2020-06-04T14:44:16 | 2020-06-02T22:06:27 | C++ | UTF-8 | C++ | false | false | 467 | cc | #include <benchmark/benchmark.h>
#include <iostream>
int main()
{
float iemdata[32];
float shgendata[32];
float xmm[8] = {1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f};
float ymm[8] = {1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f};
float zmm[8] = {1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f, 1.f};
// shgen... | [
"jonas.ohland@gmail.com"
] | jonas.ohland@gmail.com |
d94a101cfe6690d14ba4075f742e3aa500cadd19 | cdc372d374aa3017356ecf414806e89d3cad4961 | /Development/nmos/system_api.cpp | aed7fdcd408a33a10ff21f028ebc218ba6558973 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | wsneijers/nmos-cpp | 0837b36b17af7ffbcb819ddefbacf445895ecb8e | 3221155f4da6b8600f8a5e79626638a515dd5ec6 | refs/heads/master | 2020-12-26T07:45:31.809298 | 2020-01-30T22:04:11 | 2020-01-30T22:04:11 | 237,437,301 | 0 | 0 | Apache-2.0 | 2020-01-31T13:37:36 | 2020-01-31T13:37:35 | null | UTF-8 | C++ | false | false | 8,233 | cpp | #include "nmos/system_api.h"
#include "cpprest/json_validator.h"
#include "nmos/api_utils.h"
#include "nmos/json_schema.h"
#include "nmos/log_manip.h"
#include "nmos/model.h"
namespace nmos
{
inline web::http::experimental::listener::api_router make_unmounted_system_api(nmos::registry_model& model, slog::base_gat... | [
"gareth.sylvester-bradley@sony.com"
] | gareth.sylvester-bradley@sony.com |
7ee12c8bca85035c272348809f93416ac3a2f938 | bd9f9d3937f7ea8a825e1d9b61fb5493f88b4653 | /src-plugins/vanilla-sdl2/test/TestInput.cpp | 58ada1238785099eb3219193f4cee703c1bb6bec | [] | no_license | tea2code/fantasy-rts | ba3b0b73975d4c6d4c986a36f11002073b40995f | c38b43edb7ec54f18768564c42859195bc2477e4 | refs/heads/master | 2021-01-20T02:48:03.999913 | 2015-02-07T10:12:10 | 2015-02-07T10:12:10 | 15,477,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | #include <catch.hpp>
#include <input/KeyToSdl2Key.h>
#include <input/MouseButtonToSdl2MouseButton.h>
#include <input/StringToSdl2Key.h>
#include <input/StringToSdl2MouseButton.h>
#include <input/impl/SelectionDataImpl.h>
#include <shared/impl/IdImpl.h>
TEST_CASE("KeyToSdl2Key.", "[input]")
{
REQUIRE(frts::keyTo... | [
"stefan4875@gmail.com"
] | stefan4875@gmail.com |
97f1dba50e1128a36ff787f5f5e97f5d112be011 | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume106/10603 Fill/program1.cpp | 4d726d6364254c4cb9dcf502c714401c4c790b59 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 3,101 | cpp | // Fill
// UVa ID: 10603
// Verdict: Accepted
// Submission Date: 2018-02-09
// UVa Run Time: 0.000s
//
// 版权所有(C)2018,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
struct edge
{
int a, b, c, d;
edge (int a = 0, int b = 0, int c = 0, int d = 0): a(a), b(b), c(c), d(d) {}
};
int ... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
21f51a8076b79e7fd7fee5d67c3dfe6ebee763c5 | 81c66c9c0b78f8e9c698dcbb8507ec2922efc8b7 | /src/domains/bdf/kernel/BDFStar.cc | fed382d5c91f5576dac44ec9c67bb47b1e3a6dc1 | [
"MIT-Modern-Variant"
] | permissive | Argonnite/ptolemy | 3394f95d3f58e0170995f926bd69052e6e8909f2 | 581de3a48a9b4229ee8c1948afbf66640568e1e6 | refs/heads/master | 2021-01-13T00:53:43.646959 | 2015-10-21T20:49:36 | 2015-10-21T20:49:36 | 44,703,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,563 | cc | static const char file_id[] = "BDFStar.cc";
/******************************************************************
Version identification:
@(#)BDFStar.cc 2.14 3/2/95
Copyright (c) 1990-1995 The Regents of the University of California.
All rights reserved.
Permission is hereby granted, without written agreement and witho... | [
"dermalin3k@hotmail.com"
] | dermalin3k@hotmail.com |
41f186a341645381ac37da84623b74f0326c6af0 | b9d14b7c06dec68b93ca8914dec92861745b98eb | /大质数/大质数Dlg.h | e77b196340d8260daf7095fd42a2be4db4f4b4f8 | [] | no_license | huangk4/prime_num | 544c95d327e4f9d8224dc7db7c844367b74dfd37 | 463e9acfd92f0fb16b334c72cd95a2e98583b6f4 | refs/heads/master | 2020-04-24T18:34:27.740072 | 2019-02-23T07:18:49 | 2019-02-23T07:18:49 | 172,183,996 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 668 | h |
// 大质数Dlg.h : 头文件
//
#pragma once
// C大质数Dlg 对话框
class C大质数Dlg : public CDialogEx
{
// 构造
public:
C大质数Dlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_MY_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual... | [
"847209149@qq.com"
] | 847209149@qq.com |
368d665e1d57d9d95552ff7b3fcfe5511b8b90dd | c398c1e29b2ef21408f6c5a26cd8b150a0a3d054 | /SFMLGit/SFML_Test2/SFML_Test2/obstacle.h | e5e02057d4db90e83931fecc8edc9d6f882c5f21 | [] | no_license | IAmArcanine/CptS122_Final_Project | 4d5ff898a8ddee6f5d5e3fb9f016378b58b04068 | 8e18dc0761f1e7b644b5b0e226058ceccbcaa59c | refs/heads/master | 2020-04-10T02:56:03.872718 | 2018-12-07T01:56:39 | 2018-12-07T01:56:39 | 160,756,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef OBSTACLE_H
#define OBSTACLE_H
#include "character.h"
class obstacle
{
friend class character;
public:
// default constructor
obstacle ();
// normal constructor
obstacle (int theOriginX, int theOriginY, int theDimX, int theDimY);
// copy constructor
obstacle (obstacle ©Object);
/... | [
"mferran@eecs.wsu.edu"
] | mferran@eecs.wsu.edu |
218462506bdfb0e5b99bcd84622249de2ed8ddef | 71f6510d68a33d828c9a7ee669e646211d34d2aa | /simplepongSIGIL/src/main.cpp | 3c6ab50a4b6e6d69c75f50fc3bab567de762bd0a | [] | no_license | frankvega2010/simple-pong-SIGIL | ea742503ce7c5fedb30c1fdb4b32c3fc3137fffa | 0dc81f346c2c19313050194bc3d81b30692a1626 | refs/heads/master | 2020-04-01T02:01:36.024457 | 2018-10-18T22:09:01 | 2018-10-18T22:09:01 | 152,762,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | cpp | #include "Setup/Game.h"
using namespace Juego;
int main()
{
Execute();
return 0;
} | [
"franco_vega@msn.com"
] | franco_vega@msn.com |
ebd606ed5ef35c33748a267f323c07d0cffaf7dc | f6e49907d7331f1472ebc8149fc1338cb2bda8a7 | /Chapter06/2/MyFriendClass.cpp | 18195daaa6beab3b1f22ea5380263eff6a3b4b88 | [] | no_license | Junhyung-Choi/CPP_TRAINING | 8f77c6df49b7d62c0af1cb4eb75e69498fc16298 | e7db36ede66a30fb7a2f79b240311647d51c2b26 | refs/heads/master | 2023-07-20T07:40:11.563364 | 2021-08-31T12:36:55 | 2021-08-31T12:36:55 | 364,784,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class Girl;
class Boy
{
private:
int height;
friend class Girl;
public:
Boy(int len) : height(len)
{
//empty
}
void ShowYourFriendInfo(Girl &frn);
};
class Girl
{
private:
char phNum[20];
public:
Girl(const char * num... | [
"junhyung9571@naver.com"
] | junhyung9571@naver.com |
311140903b448acfbac3e5a3b26458c1e44ea817 | 2ab6eb4baffcf01b4e1e872679aaa90f935bd221 | /cpp/practise/array_partition_min_diff.cpp | aed9907caac25db5a538d39b017bc954f6e594ea | [] | no_license | 3l-d1abl0/DS-Algo | 771395ac1caff0d51e7d0e4ddc0ce69a0d568863 | 09d1abf747590b4b7b64906c19d23874e880b8c4 | refs/heads/master | 2022-06-26T05:01:25.435541 | 2022-06-17T04:50:14 | 2022-06-17T04:50:14 | 237,816,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include<bits/stdc++.h>
using namespace std;
bool partition(int arr[], int sz, int currentSum, int sum){
if(sz==0)
return abs( (sum-currentSum)- currentSum);
return min( partition(arr, sz-1, currentSum, sum), partition(arr, sz-1, currentSum+arr[sz-1], sum));
}
bool findMin(int arr[], in... | [
"sameer.barha12@gmail.com"
] | sameer.barha12@gmail.com |
915c495a6966743a29a77be58b5cc958287c8c21 | 777713d22368076710db7a008b791625b79bddae | /CCPC&ICPC/2018icpc-qingdao-M.cpp | bf07c4a70451f421e5380dab4f2600a87e717e48 | [] | no_license | jelech/To_Be_ACMer | bcf468a5245b67f0d3d3604d2e867388fb21a5ee | 626d289ff76b013f2cb84bc2d5290c8d76182214 | refs/heads/master | 2021-04-06T00:28:24.653734 | 2019-10-14T12:00:52 | 2019-10-14T12:00:52 | 124,747,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cpp | #include <bits/stdc++.h>
using namespace std;
int solve(int x,int k)
{
// printf("std %d %d\n",x,k);
if(k==0)return x;
if(x<10){
if(k==1){
if(x==8)return 2;
if(x==0||x==4||x==6||x==9)return 1;
return 0;
}
if(k&1){
if(x==8)return 1;
... | [
"Milking2k@qq.com"
] | Milking2k@qq.com |
c1950480d356b3800395d8ba342a3ba2e796f60a | d2b8fe1806ed60301f32f7f4ce3d444d068ff93b | /ssf_core/SMManager.h | 022f3871b59f4e5db911e699def2db58a4d35760 | [] | no_license | acnazarejr/ssf | 142abf74003affe0ff97cc349b4a687a048aa1a8 | 27d18e4ea44e61739cec02ee4e00ced1c2d18c58 | refs/heads/master | 2022-11-20T00:54:04.425397 | 2020-07-29T01:13:10 | 2020-07-29T01:13:10 | 283,364,245 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | h | #ifndef _SM_MANAGER_H_
#define _SM_MANAGER_H_
class SMManager : public SSFStructure {
friend class SMDataStream;
friend class SharedMemory;
SSFMutex mutex;
size_t nAllocatedBytes; // number of currenty allocated bytes in RAM
vector<SSFData *> dataEntries; // actual data storage (if NULL, the data is in the disk... | [
"acnazarejr@gmail.com"
] | acnazarejr@gmail.com |
662749c0abc5e4f246112cb5c1a2c189b2570afe | f22013843b426169488476296211d0f0183ee60e | /chapter3-2/subsequence/kanpe/answer.cc | 5ecb7c7fb341d265afd00659710859c3f851180b | [] | no_license | ie-ProCon/ant_book | 2c275914290c60c545cebd84c062ae2faab38f01 | 3821a5504df08a70f150efe2b25c7e7fde804546 | refs/heads/master | 2021-01-15T13:48:34.489883 | 2014-02-18T03:09:41 | 2014-02-18T03:09:41 | 13,138,340 | 1 | 0 | null | 2014-02-18T03:09:41 | 2013-09-27T01:12:00 | C++ | UTF-8 | C++ | false | false | 1,359 | cc | #include <iostream>
#include <algorithm>
#include <vector>
void input(void);
int get_ans1(void);
int get_ans2(void);
int N, S;
std::vector<int> array;
int main(void) {
int case_num;
std::cin >> case_num;
for (int i = 0; i < case_num; i++) {
input();
//int ans = get_ans1();
int ans... | [
"kanpe777@gmail.com"
] | kanpe777@gmail.com |
29f540e4d4b1a3556f8700d5ad7c36d2106dd637 | 92db9439189aaa1266c3d2ec99562f813a76dc00 | /1102.path-with-maximum-minimum-value.cpp | 3cf660ea43c739bd1d880f18cd86709335f0de52 | [] | no_license | Raees678/leetcode-solutions | 0d39b0ac19568df1746c83141f119c9080859f57 | 0f7b41f3bde6e926f57c5b994c02cd8d83d470c3 | refs/heads/master | 2022-11-26T22:13:14.397227 | 2020-07-28T14:30:55 | 2020-07-28T14:30:55 | 283,237,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,925 | cpp | // Given a matrix of integers A with R rows and C columns, find the maximum
// score of a path starting at [0,0] and ending at [R-1,C-1].
//
// The score of a path is the minimum value in that path. For example, the
// value of the path 8 → 4 → 5 → 9 is 4.
//
// A path moves some number of time... | [
"raeesrajwani95@gmail.com"
] | raeesrajwani95@gmail.com |
ed62bd197f0eb77887cede2ecb2dcc6c1067a514 | 67c6408ea53378a43e10f01434fc76254c8f2b73 | /library/getopt/small/modchooser.h | c2d658c14627fc89227c39ecf25e96b141e2160f | [
"Apache-2.0"
] | permissive | yandex/CMICOT | bd18268d5f61edafc8a2e4a1c08119c213399699 | 480ed30e36fe89535f52c08d70f80f83e098f01b | refs/heads/master | 2023-01-24T08:12:00.446425 | 2023-01-11T17:06:04 | 2023-01-11T17:06:04 | 76,370,586 | 39 | 15 | NOASSERTION | 2022-11-08T19:24:36 | 2016-12-13T15:19:15 | C++ | UTF-8 | C++ | false | false | 4,306 | h | #pragma once
#include <util/generic/map.h>
#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <functional>
//! Mode function with vector of cli arguments.
typedef std::function<int(const yvector<TString>&)> TMainFunctionPtrV;
typedef int (*TMainFunctionRawPtrV)(const yvector<TString> &argv);
... | [
"sisoid@yandex-team.ru"
] | sisoid@yandex-team.ru |
cbf2bed40083f55b101d48c21d3ec73615e459a0 | dd16b0a35400676b7734439608df84e4854f9ed3 | /Lab4/PrintToFile.cpp | 25a536bad2eda65891a1937b962d333b925653c4 | [] | no_license | kukichek/NumericalAnalysis | 3ed0aa4d8724bc720d5b55dc5749f0d13033a823 | 15075fcce1e1efc9c0f8421f22735c4512a90d2f | refs/heads/master | 2020-08-02T18:48:52.665932 | 2020-03-11T20:30:03 | 2020-03-11T20:30:03 | 211,470,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include "LES.h"
#include "PrintToFile.h"
void PrintToFile::operator()(LES& les, int iteration) {
int pr, w;
std::string nameOfFile;
nameOfFile = les.state + ".txt";
std::ofstream out(nameOfFile);
if (les.state.find("JakobianMethod") != std::string::npos
|| les.state.find("RelaxationMethod") != std::s... | [
"tavi4ham@gmail.com"
] | tavi4ham@gmail.com |
c87d60f694ecab9de4364977af302ec903c6d414 | b8723a2862a0bc34e02a44628a2f9434693ea7d1 | /kattis/variablearithmetic.cpp | 77a9aaa2fec1c63955032267c99ae26e3a14b785 | [] | no_license | mario7lorenzo/cp | ea6d20bbde7ec7217b7bab45f635dda40d2e078b | 253c16599a06cb676a3c94b4892279905486cf5d | refs/heads/master | 2022-05-03T22:27:07.710681 | 2022-04-10T08:37:53 | 2022-04-10T08:37:53 | 158,787,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
string p;
unordered_map<string, int> definition;
while (getline(cin, p), p != "0") {
int counter = 0;
vector<string> saver;
string defi;
string temp = "";
bool definisi = false;
for (int i = 0; i < p.length(); i++) {
if (p[i] == ' ') {
if... | [
"mariolorenzo213@gmail.com"
] | mariolorenzo213@gmail.com |
9b546eda8b1e5becde8bbbdd6dd7c95530aab108 | 93db044eb00abbd18b75eeb0617dd1e054f2b199 | /Engine/Source/ThirdParty/PhysX/APEX-1.3/framework/public/NxUserRenderResource.h | fbc86616108725a3f85d0037d916639c3331c6ee | [] | no_license | cadviz/AHRUnrealEngine | 9c003bf9988d58ece42be4af030ec6ec092cd12e | e0c1a65098f4a86b4d0538535b5a85dd1544fd30 | refs/heads/release | 2021-01-01T15:59:31.497876 | 2015-04-13T22:03:55 | 2015-04-13T22:03:55 | 34,035,641 | 9 | 19 | null | 2015-04-16T05:12:05 | 2015-04-16T05:12:05 | null | UTF-8 | C++ | false | false | 3,628 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"unrealbot@users.noreply.github.com"
] | unrealbot@users.noreply.github.com |
152244423c93e7f7aef9dfc8c1fb64a8376b1f7d | 85e098156370fdb3d513f20edfa8a514fe55175f | /higan/sfc/coprocessor/icd2/icd2.hpp | d80e5bbbb470f38f1361e8b54da395ba4b5919d2 | [] | no_license | jeapostrophe/higan | 65efcbf70bd43ccb48cd3f8dddb7264bbef1b132 | c6fc15f8d26080b9d08e7bc029532c2f59a902ba | refs/heads/master | 2021-01-09T20:42:11.304359 | 2016-09-14T11:55:53 | 2016-09-14T11:55:53 | 62,882,832 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,245 | hpp | #if defined(SFC_SUPERGAMEBOY)
struct ICD2 : Emulator::Interface::Bind, GameBoy::Interface::Hook, Thread {
shared_pointer<Emulator::Stream> stream;
static auto Enter() -> void;
auto main() -> void;
auto init() -> void;
auto load() -> bool;
auto unload() -> void;
auto power() -> void;
auto reset(bool s... | [
"screwtape@froup.com"
] | screwtape@froup.com |
3188c1945f3098789862fbfd3066a14e609dc7c3 | ea4e3ac0966fe7b69f42eaa5a32980caa2248957 | /download/unzip/WebKit2/WebKit2-7600.1.4.9/UIProcess/efl/WebContextEfl.cpp | 003f10ecdc54f00b7367dbbc62b6d85ac7d06dfa | [] | no_license | hyl946/opensource_apple | 36b49deda8b2f241437ed45113d624ad45aa6d5f | e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a | refs/heads/master | 2023-02-26T16:27:25.343636 | 2020-03-29T08:50:45 | 2020-03-29T08:50:45 | 249,169,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,200 | cpp | /*
* Copyright (C) 2011 Samsung Electronics
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... | [
"hyl946@163.com"
] | hyl946@163.com |
fe3eb1f49c89aa878cca6e52f68b71443b56bb45 | f5f053975aadd70cadbf3831cb27d2873e51c808 | /ceGame/stdafx.cpp | e78adafde8736ff597a94db3afd8f5dc9c210914 | [] | no_license | YoelShoshan/Dooake | fd5ded20b21075276c27899215392f6078d8713e | 254b74bc8fa30d38511d5bda992a59253cc8c37d | refs/heads/master | 2021-01-20T11:11:23.048481 | 2016-09-15T20:03:32 | 2016-09-15T20:03:32 | 68,323,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ceGame.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"yoelshoshan@gmail.com"
] | yoelshoshan@gmail.com |
7f7fec9e141fb71a1d88b3694a2cba4dcaabc4ee | b72890d0e6503b4528bef2b09743f6df72cb01d2 | /Captions/Implementation/include/Captions/CaptionTimingAdapterInterface.h | 0b6e1a3d7983bed2c907e2503b1a2a2176d31f13 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-pml-2020",
"LicenseRef-.amazon.com.-AmznSL-1.0"
] | permissive | shivasiddharth/avs-device-sdk | b1375db55f204f1baaa9a4825e31f944a6e6d13c | c7ca5a12f65ce95f99d56fc7a1ab79cc96147ed8 | refs/heads/master | 2021-12-01T17:21:42.067397 | 2021-11-28T09:34:42 | 2021-11-28T09:34:42 | 152,394,898 | 0 | 2 | Apache-2.0 | 2021-11-26T09:17:25 | 2018-10-10T09:09:11 | C++ | UTF-8 | C++ | false | false | 2,707 | h | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | [
"ushivasiddharth@gmail.com"
] | ushivasiddharth@gmail.com |
116859c465511b625ee69e08d672560283d57207 | 5781992b8eb5f8e8f6ce7ccf8069b60138b6f4d7 | /old_src/GetDataDlg.cpp | 8863f1716e40a52d5611f733dc0c30de6db56c7f | [] | no_license | liyonghelpme/dota-replay-manager | fd7c041cc48bac9fd726af4771a03fe8ec1a4ae6 | 21b965a8a63e077df275379d1f5055d77d98e580 | refs/heads/master | 2021-01-10T08:11:31.169556 | 2014-12-24T21:35:29 | 2014-12-24T21:35:29 | 36,912,875 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,016 | cpp | // GetDataDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DotAReplay.h"
#include "GetDataDlg.h"
#include "utils.h"
#include "dota.h"
#include ".\getdatadlg.h"
// CGetDataDlg dialog
IMPLEMENT_DYNAMIC(CGetDataDlg, CDialog)
CGetDataDlg::CGetDataDlg(bool fixed, int version, char const* path, ... | [
"d07.RiV@gmail.com"
] | d07.RiV@gmail.com |
ecb6f4a6c5111c07eb32abc5e7961c926d5f9fc5 | b428282a4c5923b3090a5c6306dc275bbe5cdb56 | /Interface.h | eb11e347ed6b60f71a88441ac6799bb8891ac94c | [] | no_license | Mohamed-Omran/Chaos-Visualizer | bb5e91f97e153311b3c8966830545774b67d98ae | 12b2fbc58f0f4b7fa4c504e2d9d128aa7dc4c101 | refs/heads/master | 2022-05-29T08:47:44.931664 | 2020-04-24T00:17:55 | 2020-04-24T00:17:55 | 255,491,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | h | #pragma once
#include<iostream>
#include <cmath>
#include"SFML\Graphics.hpp"
#include"SFML\Window.hpp"
#include"SFML\System.hpp"
using namespace std;
class Interface {
private:
sf::RenderWindow window;
public:
// setting up the program window
Interface();
// Clears the frame (first step in rendering a new fr... | [
"kamelomran3@gmail.com"
] | kamelomran3@gmail.com |
af2448d60acf315caeacc5e7a26b055b728d952c | ec5e5ad6c7ee721a8c623cb5101be4272c26a375 | /compare_test.cpp | 9489d513c86fcb57dd6df573bb842c65124cc6be | [] | no_license | 1768012206/batch_verify | bf052bf8c60537fdc71cd71c9819607f74f1b74b | 888fbba261a9c124c78752e01c99b733ef5c3fec | refs/heads/master | 2020-04-11T07:14:59.210846 | 2017-12-12T11:11:36 | 2017-12-12T11:11:36 | 161,605,221 | 1 | 0 | null | 2018-12-13T08:08:50 | 2018-12-13T08:08:50 | null | UTF-8 | C++ | false | false | 1,807 | cpp | #include <iostream>
#include <ctime>
#define MR_PAIRING_SSP
#define AES_SECURITY 80
//#define AES_SECURITY 128
//*************
//compare calculate time
//(g1^r1)*...*(g100^r100)
//(g1^w1)*...*(g100^w100)
//*************
#define NUM 40
#define W 4
#include "pairing_1.h"
using namespace std;
char* gen_exp(char* str)
{
... | [
"zyfwol@hotmail.com"
] | zyfwol@hotmail.com |
7c68a08d914041cab171811f29a506fe7dc9b7e8 | 10111ad3c88c66260bbaa82ba60d776f8a070152 | /T100/T100.ino | 541cf2057e5c3d27afd3415773f2f05c298deb71 | [] | no_license | techi602/arduino | 1ed5c53f368c1c440274b53bb5c60cc94c63656e | bb0330ca669d1e0b01912cc5d0e55fcd4114d143 | refs/heads/master | 2021-01-11T20:41:30.519765 | 2019-05-08T16:04:19 | 2019-05-08T16:04:19 | 79,167,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,043 | ino | /*
* T100 robot control
*
* Wemos D1 R2 + DOIT.AM shield https://github.com/SmartArduino/SZDOITWiKi/wiki/Arduino---2-way%26amp%3B16-way-motor%26amp%3Bservo-shield
* SSD1306 oled siplay https://github.com/acrobotic/Ai_Ardulib_SSD1306
*
* joystick coordinates math http://home.kendra.com/mauser/Joystick.html
*
... | [
"michal.vrchota@gmail.com"
] | michal.vrchota@gmail.com |
73d483a7d12242d7dce43c3da5e539b635e1e2eb | 86b55c5bfd3cbce99db30907ecc63c0038b0f1e2 | /chrome/browser/chromeos/login/screens/update_required_screen.cc | 2c7ac3bdbb9995f4f9da4c9df69d4469ee3c8d95 | [
"BSD-3-Clause"
] | permissive | Claw-Lang/chromium | 3ed8160ea3f2b5d51fdc2a7d764aadd5b443eb3f | 651cebac57fcd0ce2c7c974494602cc098fe7348 | refs/heads/master | 2022-11-19T07:46:03.573023 | 2020-07-28T06:45:27 | 2020-07-28T06:45:27 | 283,134,740 | 1 | 0 | BSD-3-Clause | 2020-07-28T07:26:49 | 2020-07-28T07:26:48 | null | UTF-8 | C++ | false | false | 15,325 | cc | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/screens/update_required_screen.h"
#include <algorithm>
#include <utility>
#include "ash/public/cpp/login_scr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0271d29b0d2a1706e464afd33e2f649114a116b5 | d14620edb869dd735f481b7d4c0502f4afa5de89 | /ERAnalysis/ERAnaLowEnergyExcess.h | d2dc528f437c1229c979b75af74d39e784fce5f5 | [] | no_license | soleti/LowEnergyExcess | 7cfa7c6bfe337125e951c3ee07c1ceb4f6d7e64d | fc7052fe2a0f9633c3ebe75a78e6e2b74dead9ef | refs/heads/master | 2021-01-18T17:32:46.634898 | 2016-02-08T20:21:26 | 2016-02-08T20:21:26 | 51,940,077 | 0 | 0 | null | 2016-02-17T17:10:42 | 2016-02-17T17:10:42 | null | UTF-8 | C++ | false | false | 5,659 | h | /**
* \file ERAnaLowEnergyExcess.h
*
* \ingroup LowEPlots
*
* \brief Class def header for a class ERAnaLowEnergyExcess
*
* @author jzennamo
*/
/** \addtogroup LowEPlots
@{*/
#ifndef ERTOOL_ERAnaLowEnergyExcess_H
#define ERTOOL_ERAnaLowEnergyExcess_H
#include "ERTool/Base/AnaBase.h"
#include "TTree.h"
#i... | [
"kaleko@nevis.columbia.edu"
] | kaleko@nevis.columbia.edu |
b2b10818f170c7cf148561b19bc6ea998949cb29 | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CodeForces/Contests/CF Raif Round 1/E.cpp | cf6e1f534a271171a454fc2d2b117640665e9f4c | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 228 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
ll n, k, a[100007];
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> n >> k;
for(ll i = 0; i < n; ++i) cin >> a[i];
} | [
"switchpiggy@users.noreply.github.com"
] | switchpiggy@users.noreply.github.com |
a531c6469ac83b521ea4292ffd9a07a2f6db70a7 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_char_realloc_67a.cpp | f2f5563d0d85d90e2338403a7962c7c668541af7 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,034 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_char_realloc_67a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-67a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Ro... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
f3ceb9f2b47b342f8d43847abac7e20c0647278a | 2d1f82fe5c4818ef1da82d911d0ed81a0b41ec85 | /codeforces/gym/2018-2019 XIX Open Cup, Grand Prix of Korea/CF102059K.cpp | dc69bb2c3134f4a14f46d00095a69bbb50bb6148 | [] | no_license | OrigenesZhang/-1s | d12bad12dee37d4bb168647d7b888e2e198e8e56 | 08a88e4bb84b67a44eead1b034a42f5338aad592 | refs/heads/master | 2020-12-31T00:43:17.972520 | 2020-12-23T14:56:38 | 2020-12-23T14:56:38 | 80,637,191 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn = 312345;
long long fen[maxn];
int c[maxn], d[maxn];
int n;
vector<int> G[maxn];
inline int lowbit(int x) {
return x & -x;
}
void upd(int x, long long val) {
while (x > 0) {
fen[x] = max(fen[x], val);
x -= lowbit(x);
}
}
long... | [
"zhangbin199807@gmail.com"
] | zhangbin199807@gmail.com |
00d2c641daed2358b91070f40a04a0e8b04ac94e | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/security/cryptoapi/secstor/prov/provui.cpp | 850366d88f3aa29a48da731798f9cc203c57e6f7 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,501 | cpp | /*
File: ProvUI.cpp
Title: Base provider user interface
Author: Matt Thomlinson
Date: 12/13/96
ProvUI houses all user interface for the provider. During
startup, InitUI() fetches all user strings from the resource
string table. During shutdown, ReleaseUI() frees them.
... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
d2fa7c2e0c59a756608c773c26403013f10400aa | 184bea6977339a78cff9f9d01dd634a6793058b0 | /include/H3DUbitrack/Vec2Sender.h | bcf3a806c31b9febbe7e70a43114665a4e7de0c2 | [] | no_license | Ubitrack/integration_h3dapi | f16298ec2a19ddc45cc57c0aa04db933d7da743a | 63c9d1bb1e5a4995ba77648f239f1e8201b9cdc8 | refs/heads/master | 2020-12-24T06:45:50.734670 | 2017-04-19T13:03:00 | 2017-04-19T13:03:00 | 73,459,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | /*
* UbitrackContext.h
*
* Created on: 03/08/2010
* Author: mvl
*/
#ifndef VEC2SENDER_H_
#define VEC2SENDER_H_
#include <H3D/X3DNode.h>
#include <H3D/SFString.h>
#include <H3D/SFVec2d.h>
#include <H3DUbitrack/H3DUbitrack.h>
#include <H3DUbitrack/MeasurementSender.h>
#include <vector>
using namespace U... | [
"someone@naist.jp"
] | someone@naist.jp |
41092691b6469d4a163d497d80d2fa4732bdf13c | 211dc21c56188036f3c0b5c1a9191a92f53c77e9 | /include/Grass.h | c34b01c31af98a2f162d9212a40371165a8c1bee | [] | no_license | FrapoDeveloper/ciudadOpenGL | d3d1188a464a95a9004cff38f8aa0c84d24cca96 | 576fdfa6fb72956ab24b6beb82a6416bb1b24111 | refs/heads/master | 2020-09-30T21:28:27.767558 | 2019-12-11T13:56:47 | 2019-12-11T13:56:47 | 227,377,866 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,101 | h | #ifndef GRASS_H
#define GRASS_H
#include <gl/glut.h>
class Grass
{
public:
Grass();
public: void graficarGrass();
};
void Grass::graficarGrass()
{
for(int i=0;i<185;i++){
for(int j=0;j<150;j++){
glPushMatrix();
glTranslatef(-i*0.16,0,-j*0.16);
... | [
"fran_espino189@outlook.com"
] | fran_espino189@outlook.com |
e4b95839673c2d1cd22afdc99fd2181310631e58 | 9fa363c042e4f7ba31d75f9535acb6dca69e79cb | /LCBCAdminSystem/stdafx.cpp | 40f3ad8290e787df0c5f0003ef0d1f7d4c1e159b | [] | no_license | andreboyce/lcbcadminsystem | f30914132fdd100fa1e879b6f2648879a4f02b9f | 425af46bc3324289d23135f28f6ef6d8c702ba04 | refs/heads/main | 2023-03-14T15:34:08.496230 | 2021-03-11T11:10:49 | 2021-03-11T11:10:49 | 346,674,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | // stdafx.cpp : source file that includes just the standard includes
// LCBCAdminSystem.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"mobile@andreboyce.com"
] | mobile@andreboyce.com |
82a84439f0826a88e3d302d2c3e98d6b227e7667 | bdcedb3e8cbb8cd1a748423050f56b0d71dff125 | /Server/WebGameManager/PlayerSession.cpp | b735949ebfd3d77e0051396c8d7c5db5274021d6 | [
"MIT"
] | permissive | lxlyh/FxLib | f3858c21f8da76a5f7eab301de3a2539d483e82c | 49e3fb12b4fe324c0b5b1503b37492dc742100de | refs/heads/master | 2020-09-12T12:19:48.723598 | 2019-09-20T07:36:52 | 2019-09-20T07:36:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | cpp | #include "PlayerSession.h"
#include "netstream.h"
#include "gamedefine.h"
#include "GameServer.h"
#ifdef WIN32
#include <Windows.h>
#include <ShellAPI.h>
#else
#include<unistd.h>
#endif // WIN32
const static unsigned int g_dwPlayerSessionBuffLen = 64 * 1024;
static char g_pPlayerSessionBuf[g_dwPlayerSessionBuffLen];
... | [
"724789975@qq.com"
] | 724789975@qq.com |
c538ac8d4d2cb310bddaed938b66eb811bd4b2e9 | 4f52a4da323feb3bfaa3c67d141999f46cfd3d9e | /BOJ_5397/BOJ_5397/BOJ_5397.cpp | bbbeab5682c9a5bd377b7f013cacdcb6a8229a04 | [] | no_license | LHI0915/StudyBackjoon | 407b4c7c3fbbec60e6cc719714303570ddf34a1f | e649de567abea81e49ea8d95249ad735a2bc0a37 | refs/heads/master | 2021-07-22T22:12:26.399750 | 2021-07-13T17:35:53 | 2021-07-13T17:35:53 | 141,692,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include <stdio.h>
#include <stack>
#include <iostream>
#include <string>
using namespace std;
int main(void){
int testcase,st1size,st2size;
string s;
stack<char> st1,st2;
scanf("%d",&testcase);
for(int i=0;i<testcase;i++){
cin >> s;
for(int j=0;j<s.size();j++){
if(s[j]=='<'){
if(!st1.empty()){
s... | [
"gowns1998@gmail.com"
] | gowns1998@gmail.com |
227e3c636c917e72bd597dc040e014286ac2f7fd | d47c341d59ed8ba577463ccf100a51efb669599c | /boost/intrusive/hashtable.hpp | af73f70629fe70372ab04b5a740d621565ac83eb | [
"BSL-1.0"
] | permissive | cms-externals/boost | 5980d39d50b7441536eb3b10822f56495fdf3635 | 9615b17aa7196c42a741e99b4003a0c26f092f4c | refs/heads/master | 2023-08-29T09:15:33.137896 | 2020-08-04T16:50:18 | 2020-08-04T16:50:18 | 30,637,301 | 0 | 4 | BSL-1.0 | 2023-08-09T23:00:37 | 2015-02-11T08:07:04 | C++ | UTF-8 | C++ | false | false | 137,318 | hpp | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2013
//
// 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)
//
// See http://www.boost... | [
"giulio.eulisse@cern.ch"
] | giulio.eulisse@cern.ch |
01cd70e44b6741df2e1855a0b8b148ad980c068c | 2ad8e7ca390ac0851f49c04331e634ee1527c314 | /JiuDu/minStack.cpp | dd0bcb345e45b7aac9e7041c303a63ea409d210f | [] | no_license | xuqing-ict/BackupCode | 1659e6e367a7c5f2c5509f66a6c7d79f2d70e738 | 73d29e572c01b2ff8e3e42d8b9ea9be7bd57e1cc | refs/heads/master | 2021-03-12T22:41:06.629381 | 2015-03-09T11:41:42 | 2015-03-09T11:41:42 | 24,397,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include <bits/stdc++.h>
using namespace std;
template<class T>
class minStack
{
public:
minStack(){}
void push(const T &);
void pop();
T min_e() const;
T top() const;
private:
stack<T> s;
stack<T> min_s;
};
template<class T>6
void minStack<T>::push(const T & val)
{
s... | [
"xuqinguestc@gmail.com"
] | xuqinguestc@gmail.com |
d9933c30d7af70667b3008bb6a3c4f2602f09d0b | cdc283b08383b8c4dc5239ad58c756c25d9c3947 | /third_party/seasocks/src/main/c/util/PathHandler.cpp | 4f9b60fa4ccd3c2b5a3536212319a1764f9158ab | [
"MIT",
"BSD-2-Clause"
] | permissive | amartin11/robot-code-public | 4058386817fd8bcdd8b6ab9d176b4b2b96fb943a | 9671deebff32336fea9865daf0f54d7925c36dd8 | refs/heads/master | 2020-03-19T02:49:19.175606 | 2018-05-27T16:02:41 | 2018-05-27T16:02:41 | 135,664,264 | 0 | 1 | MIT | 2019-10-03T20:44:48 | 2018-06-01T03:42:31 | C++ | UTF-8 | C++ | false | false | 2,129 | cpp | // Copyright (c) 2013, Matt Godbolt
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of conditions and ... | [
"tahoekeo@gmail.com"
] | tahoekeo@gmail.com |
d55ebb4ce9ef726834c06ca35343bf1c7242047c | 22c4f75689be2dc8c83bbd5feba57e716420d8c0 | /src/Triangulation.cpp | 6190381dc0798da70294cd0554cfb3b305ca3460 | [
"Zlib"
] | permissive | Spessi/Thor | 9fded122a6a0fc168e7ebd6c66fb1ef0e1c6d5c0 | d204afb40b9d4de45239be74a0c3c1f463be0862 | refs/heads/master | 2021-07-19T13:53:25.140717 | 2021-06-23T10:09:34 | 2021-06-23T10:09:34 | 223,505,972 | 0 | 0 | NOASSERTION | 2019-11-23T00:01:54 | 2019-11-23T00:01:53 | null | UTF-8 | C++ | false | false | 39,000 | cpp | /////////////////////////////////////////////////////////////////////////////////
//
// Thor C++ Library
// Copyright (c) 2011-2021 Jan Haller
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this ... | [
"bromeon@gmail.com"
] | bromeon@gmail.com |
2f4410e1d807a9a3652287f17b2da8490627e656 | 1c680f13c7c33bb44a1bbb9082b410bb6d7fa3a4 | /LeetCode/0029/0029_1.cpp | 0e891c50926eb2020d199a7ff2ec38aa9e14ce27 | [
"MIT"
] | permissive | samsonwang/ToyCpp | a59b89529445333c0cf4e31e1d23f59e5323087d | 399d45feda210028d798a4b3b25b1af707b23a73 | refs/heads/master | 2023-04-04T02:53:57.990277 | 2023-03-30T01:08:44 | 2023-03-30T01:08:44 | 133,638,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cpp |
#include <cstdio>
#include <cmath>
#include <cstdint>
#include <cinttypes>
int divide(int dividend, int divisor) {
printf("dividend = %d(0x%x) divisor = %d(0x%x)\n",
dividend, dividend, divisor, divisor);
std::int64_t d1 = dividend;
std::int64_t d2 = divisor;
// 符号转换
bool neg = fals... | [
"wangzhilv@gmail.com"
] | wangzhilv@gmail.com |
c3eb4883314072aae1230943c53a36fe575eb7a5 | 3418dcc860d6b58b66e7fd2d1893daf63aeea046 | /数论/大整数/Untitled-1.cpp | 82118eda4a3e4e242802e733952a3b1d4baf9148 | [] | no_license | HexQwQ/BanZi | 2a175aa88ddb67b8fe1b6553d0319338da4805b8 | 9ebe322303cdcaaf2ba912e1af1317c643e6ed3e | refs/heads/master | 2020-08-09T19:07:03.565869 | 2019-10-10T10:11:10 | 2019-10-10T10:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,746 | cpp | #include <iostream>
#include <string>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
#define range(i, a, b) for (int i = a; i <= b; ++i)
#define rerange(i, a, b) for (int i = a; i >= b; --i)
#define LL long long
#define fill(arr, tmp) memset(arr, tmp, sizeof(arr))
using namespace std;
const ... | [
"hexi0921"
] | hexi0921 |
231d66861b79ec634915477dddf5c51db663cc02 | 33961eca45e9ae43d3f11cd43760076d7f3c0337 | /src/utils/vutils.cpp | 7a190be48bc279d731c9d51eb940d9b605b88f86 | [
"BSD-3-Clause",
"ISC",
"Apache-2.0",
"GPL-3.0-only",
"MIT"
] | permissive | luo-chuan/vnote | 1fc04319c371083391b8a67bab4c6bd59ff24723 | a72e2a316947dfb9e2ac27225f7b9ed702f8567d | refs/heads/master | 2020-04-02T07:01:16.712716 | 2018-10-23T13:42:41 | 2018-10-23T13:42:41 | 154,178,003 | 0 | 0 | MIT | 2018-10-23T13:42:42 | 2018-10-22T16:32:26 | C++ | UTF-8 | C++ | false | false | 55,612 | cpp | #include "vutils.h"
#include <QFile>
#include <QDir>
#include <QDebug>
#include <QRegExp>
#include <QClipboard>
#include <QApplication>
#include <QMimeData>
#include <QJsonObject>
#include <QJsonDocument>
#include <QDateTime>
#include <QFileInfo>
#include <QImageReader>
#include <QKeyEvent>
#include <QScreen>
#include ... | [
"tamlokveer@gmail.com"
] | tamlokveer@gmail.com |
5238b176d173af0bcc857dafa1fcfa407a96431a | f0244768e887b137edf30451e77d48d7f1a4d781 | /프로그래머스/Level_2/30.cpp | 331afbedd6769a993decb39ab023feed6f2dbe7a | [] | no_license | firstep710/coding-test | 269f090fc53cbaa52cc24109d7bfc87eb8757ecb | e8d5a7aadc559e7b06796d42829c7c449a292cdf | refs/heads/main | 2023-06-28T10:59:44.897231 | 2021-08-03T20:45:22 | 2021-08-03T20:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include <string>
#include <vector>
using namespace std;
int solution(int n) {
int answer = 0;
int countOfN = 0;
int temp = n;
while(temp > 0)
{
if (temp % 2 == 1)
countOfN++;
temp /= 2;
}
while(true)
{
int count = 0;
temp ... | [
"lobreamer@daum.net"
] | lobreamer@daum.net |
d7d2471db1cd457999fab80f686a5d826184a603 | f2e48c4bdec58b01693bae46635e9ce0065bb060 | /Camera.cpp | 5088a52ee720ebc40125ae8204e460f687aa9707 | [] | no_license | alxklk/Bulleven | b048a754ac352b8c0b05d0d347f8dfff18a1b7c5 | 56745182e7db91e7ba247b6d249169917002cff7 | refs/heads/master | 2022-12-25T17:48:31.690517 | 2020-09-30T20:00:30 | 2020-09-30T20:00:30 | 298,680,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp | #include <cmath>
#include "Camera.h"
CCamera::CCamera(void)
: m_FOV(1)
, m_Pos(-0.01f, 0, 0.015f)
, m_LookAt(0, 0, 0)
, m_Near(.1)
, m_Far(2000)
, m_NeedUpdate(1)
, crop0(-1, -1)
, crop1(1, 1)
, mode(CM_PROJ)
, W(1024.0f)
, H(768.0f)
{
}
CCamera::~CCamera(void)
{
}
void CCamera::Update()
{
if (!m_NeedUp... | [
"klkspa@ukr.net"
] | klkspa@ukr.net |
372c4320a5d6203065006c6b7ac26664b731dbce | 6d66954fdc6777c0460e0e0269238215304cd6dd | /diger/Digger/src/Creature.cpp | edc5d27d8581235c31ceabc81613463500d5f9af | [] | no_license | eitanshalev/Digger | 3ebbbcdd68a4c183596f80f4e0ac0d6640af3659 | e3a9305c4d404aa1b4b18bfcb9f121271e82506d | refs/heads/main | 2022-12-27T19:31:08.931472 | 2020-10-13T21:07:32 | 2020-10-13T21:07:32 | 301,988,974 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include "Creature.h"
Creature::Creature(sf::Vector2f& location, sf::Texture* texture, int width, int height)
: Entity(location, texture, width, height)
{
m_sprite = getSprite();
animation(DOWN, m_sprite);
m_sprite.scale(2.9, 2.9);
setSprite(m_sprite);
}
void Creature::setLastLocation(sf::Vector2f lastLocation)... | [
"eitans1111@gmail.com"
] | eitans1111@gmail.com |
f20c37a63487aeed057bc01d271ceab5f330fc7d | bd838116db143a926b5512a68b23237711076718 | /chapter1/lesson1_13/1_13.cpp | a400fa95e62d4c7a49bec66aca0ce18c7b5377d3 | [] | no_license | MUCb/The-C-Programming-Language | 0343f975a43395069492298435ed6361d5988168 | 16fd18191365acb36d1a511934001802b173c72d | refs/heads/master | 2021-01-11T03:20:18.769940 | 2016-10-16T11:54:01 | 2016-10-16T11:54:01 | 71,046,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include<stdio.h>
#define IN 1
#define OUT 0
void main(){
int i, c, count, flag;
flag=IN;
count=0;
while((c=getchar()) != EOF){
if(c == '\n' || c == '\t' || c == ' '){
flag = OUT;
for (int i = 0; i < count; ++i) printf("#");
printf("\n");
count=0;
}
else if(flag == OUT){
flag... | [
"vitalik560@yandex.ru"
] | vitalik560@yandex.ru |
c1ef08056e9265285e5c827b9a97d239942106f7 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/test/protocols/jd3/StandardJobQueen.cxxtest.hh | 73fe17062a981ad8108332ec723f8621deb61aa7 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 38,781 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
58dadc442ee9e1c14b2588a4718b46359845c396 | e62f9576a618def368c0c5003676a3a6b1665683 | /src/algorithms/kamenevs/WrapYakobi.cpp | 7f0075cb5d0959b21366a3eceea10c8eaf3c1ee8 | [
"MIT"
] | permissive | av-elier/fast-exponentiation-algs | 934f77fc4a10148edacd6414b1f1e882bc48502a | 1d6393021583686372564a7ca52b09dc7013fb38 | refs/heads/master | 2021-01-20T06:32:46.847635 | 2018-06-23T07:47:02 | 2018-06-23T07:47:02 | 13,882,073 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | /*
* WrapYakobi.cpp
*
* Created on: 26 дек. 2013 г.
* Author: Adelier
*/
#include "algorithms/kamenevs/WrapYakobi.h"
#include "algorithms/kamenevs/Yakobi.h"
WrapYakobi::WrapYakobi(Yakobi *yakobi){
this->yakobi = *yakobi;
}
WrapYakobi::~WrapYakobi() {
// TODO Auto-generated destructor stub
}
void WrapYa... | [
"adelier@hotmail.com"
] | adelier@hotmail.com |
c9fe52a7594b968b93bf009a717db58886d11e7e | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/python/return_by_value.hpp | 22d18f7ebeaa6fc0d520a8acd5d96de2f1edfaa2 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | hpp | #include "thirdparty/boost_1_55_0/boost/python/return_by_value.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
1c9caba0e285360e7169badacc83b4cbd235fb15 | 3943f4014015ae49a2c6c3c7018afd1d2119a7ed | /final_output/output_recur_large/hermite_formula_-10.000000_10.000000/13-14.cpp | 854fb40cc6131880c92ee3e917b7766f5cc12e03 | [] | no_license | Cathy272272272/practicum | 9fa7bfcccc23d4e40af9b647d9d98f5ada37aecf | e13ab8aa5cf5c037245b677453e14b586b10736d | refs/heads/master | 2020-05-23T10:10:15.111847 | 2019-06-08T00:23:57 | 2019-06-08T00:23:57 | 186,689,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cpp | #include <iostream>
#include <stdio.h>
#include <assert.h>
#include <math.h>
extern "C" {
#include "quadmath.h"
}
#ifndef IFT
#define IFT float
#endif
#ifndef OFT
#define OFT __float128
#endif
template <class _Real>
_Real __libcpp_hermite_recurrence(unsigned __n, _Real __x) {
if (__n == 0u)
return _Real(1... | [
"cathyxu@Cathys-MacBook-Pro.local"
] | cathyxu@Cathys-MacBook-Pro.local |
7dc5e1ff5f4df7e80dec4d0cf78fa9c1042f1e6a | 6fa0bee6a16bfea715d28e53b1017a2f8233d08c | /C++/humanPlayer.h | 171af3897db8003fa6bee6bf1a9011f39154b074 | [] | no_license | Megdatronica/JJChess | df04f8aed73d846510d4be2ece88260ea71f4b6a | 79ae39bc16cc81035f5f371e843a5611c20417c3 | refs/heads/master | 2016-08-12T17:07:29.219447 | 2015-11-08T16:44:56 | 2015-11-08T16:44:56 | 36,559,317 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | #include "gameState.h"
#include "player.h"
#include "constants.h"
// Represents a human player. Functions make calls to GameInputOutput in order
// to get the choices of the user.
class HumanPlayer : public Player {
public:
// Purely a call to the superclass constructor - sets the player colour
// equal to t... | [
"johnrwoolley0@gmail.com"
] | johnrwoolley0@gmail.com |
0cdb5b31d4f47a9230e6e932c7b66df790dde64a | bb09e3467d6b4da0210670f8a092199641543869 | /Codes/336 - A Node Too Far.cpp | f61f6a2d5b1387fefdc35c043e716178ed2df87b | [] | no_license | olee12/uva_onlinejudge_solutions | 55fdb26964bc0b47327feda77f087c558b78095a | 028b9fe132b1cfebce69d0cb681eccf0eb0b58fb | refs/heads/master | 2021-01-19T11:45:35.341641 | 2017-02-17T06:01:43 | 2017-02-17T06:01:43 | 82,262,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cpp | /*#include<iostream>
#include<vector>
#include<set>
#include<queue>
#include<stack>
#include<iterator>
#include<map>
#include<algorithm>
#include<cstdio>
using namespace std;
int bfsQ(int src,map<int ,vector<int> > graph,int x);
int main()
{
map<int,vector<int> > graph;
int node,a,b;
int TTI;
int ca=1;
... | [
"th160887@gmail.com"
] | th160887@gmail.com |
0d3745b5071a8f83834de82847c009574a27d176 | 4834c65c708b8284925ff7f67026f787ca0c032c | /src/netbase.h | 3f8b66e86533a39b259f55e371c873426a2547de | [
"MIT"
] | permissive | sha-doh/domino | 4a86e4adafd25dc9f8b45199bdcfcca155fcdc8c | 68a97e6a47dd508970a3194ada7857c49c09f3d3 | refs/heads/master | 2020-03-20T10:51:42.958080 | 2018-05-06T07:36:57 | 2018-05-06T07:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,648 | h | // Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NETBASE_H
#define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/domino-config.h"
#endif
#inc... | [
"dmocoin@usa.com"
] | dmocoin@usa.com |
c7d3558d9703dd15ce76c3d11028efe9ba812422 | c793cce4cff0c8cbdbbb46df3ffe1746e2ef7436 | /Handmade Game Engine/Handmade/TextBox.h | bca089031baff1a25841eaf8b83b17d53b9e9ab5 | [] | no_license | Silvertooth98/Space-Shooter | fdd8f19fe69106e55a783cc36bc94e251d3102f9 | 80ece7abe0f8510f8715c9b9bc5c1c81e6acafd7 | refs/heads/master | 2020-04-07T17:39:41.200960 | 2018-11-21T16:44:35 | 2018-11-21T16:44:35 | 158,578,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #ifndef TEXTBOX_H
#define TEXTBOX_H
#include "GameObject.h"
#include "Text.h"
class TextBox : public GameObject
{
public:
TextBox(float x, float y, float z, float size, const std::string& ID);
virtual ~TextBox() {};
void SetText(const std::string text);
virtual bool Create() { return true; }
virtual void Updat... | [
"silvertooth1998@gmail.com"
] | silvertooth1998@gmail.com |
34a3d9e21c103f239a89ff26d7aed859420a201e | f2024e9881862ff64f9b1ae33334fa90c9447dbc | /BST/problem3.cpp | c193b5e4ece2298e7316732142f4b5a4ddc46f9a | [] | no_license | xiayan/data_structures | aa0a3b193c7b4aa230f7a7af2446dfb497f2ab13 | a092fbd38561a25aef59962c4c629a3e1956ea67 | refs/heads/master | 2021-01-15T18:09:06.439756 | 2013-06-22T04:38:37 | 2013-06-22T04:38:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include <fstream>
#include <stdlib.h>
#include <time.h>
#include "BinarySearchTree.h"
#include "AsciiTree.h"
void randomBST(BinarySearchTree &, int, int);
int main(int argc, const char *argv[]) {
//Build tree using insert
BinarySearchTree tree;
AsciiTree ascii;
tree.insert(7);
tree.insert(2);
... | [
"drseanxy@mac.com"
] | drseanxy@mac.com |
13c692eadb52ede1f53fc98c4e0c08a4af763fcb | 7877b4bb5dfa3e27b1caa501990d6d1f0d427ef6 | /Calc2/vars.h | 939043628c7b3714d36d66f19005e9eff856d83e | [] | no_license | ts3334/OOP | c736714afe2d5710c2557b8d28e309740e777494 | 0c057536f2a2dd2cea22dbfc0d9e6d9700ed600e | refs/heads/master | 2020-03-22T05:59:07.086781 | 2018-08-12T23:36:27 | 2018-08-12T23:36:27 | 139,603,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | class Variable {
public:
string name;
double value;
};
double get_value(string s);
void set_value(string s, double d);
void print_vars(); | [
"ts3334@nyu.edu"
] | ts3334@nyu.edu |
f2cb890a4e9c413f6065d8ec639c6ef1d8f0e9d9 | b75746d852236a867a72f717efcacb9a3e141250 | /protocols/ace/INet/ClientRequestHandler.inl | 8308c52ba23145b2319c486a312abd98b8e46177 | [] | no_license | longfem/ACE-toolkit | e8c94cc1d75a2930ceba78dac13d1b84c0efecc8 | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | refs/heads/master | 2021-06-01T06:54:56.916537 | 2016-08-17T14:36:01 | 2016-08-17T14:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | inl | // -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
namespace INet
{
ACE_INLINE
const ACE_CString& ClientINetRequestHandler::INetConnectionKey::host () const
{
return this->host_;
}
ACE_INLINE
u_short ClientINetRequestHandler::INetConnectionKey::po... | [
"yehonal.azeroth@gmail.com"
] | yehonal.azeroth@gmail.com |
e8da2b3471bc6355d4ba90eb616cd9e448e16c21 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_3789.cpp | e55e8c7b15bb1fcff6dd8d2a24f47a95c87f5cf2 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | +commit 4659538844daa2849b1a9e7d6fadb96fcd26fc83
+Author: Thomas Rast <trast@student.ethz.ch>
+Date: Thu Feb 28 10:48:43 2013 +0100
+
+ change back to complete line
+
+diff --git a/a.c b/a.c
+--- a/a.c
+@@ -18,5 +18,7 @@
+ int main ()
+ {
+ printf("%ld\n", f(15));
+ return 0;
+-}
+\ No newline at end of file
+
+... | [
"993273596@qq.com"
] | 993273596@qq.com |
c6cd27b97a6e78bbb3d2f222b5d8fdd1253e38f1 | 58f070c58fcc3da40cf57101c5e9e80eface0afb | /DynamicProgramming/Hard/123.BestTimeBuySellStock3_BU.cpp | 63ab6950f8846bb172cc61c7fc4ca598b48da60b | [] | no_license | Imran4424/LeetCode-Solutions | ab32c829c8c916f0422f4899bc347accdfc50e0d | 1f0f7a86e2ed74741a001e3ba2a6ea6c68c9b484 | refs/heads/master | 2023-04-08T13:01:46.322323 | 2023-03-25T19:17:14 | 2023-03-25T19:17:14 | 231,453,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | class Solution {
int maxValue(int x, int y) {
if (x > y) {
return x;
}
return y;
}
public:
int maxProfit(vector<int>& prices) {
int firstTransactionCost = prices[0];
int firstTransactionProf... | [
"akashganga.programming.534363@gmail.com"
] | akashganga.programming.534363@gmail.com |
adf54275666a93d3d317d1373efa82fd46ba7e67 | f5233ee52bbf2563a06b2159f96118061b9ae81a | /sgs2/src/packet_processor/packet_handler/lobby/handle_CS_MY_INFO.cpp | cae20ab8e6ce6f45dec1a78ba2811d0355c0f40d | [] | no_license | ddslot-pp2/sgs2-x | e785c6bdcdf9c0ab536d3952a58fd8e150f0aae8 | 2525b2b1c841271debf2c0d93bc965aa4f84bd4d | refs/heads/master | 2020-12-02T19:50:37.650499 | 2017-09-17T10:20:31 | 2017-09-17T10:20:31 | 96,397,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cpp | #include "../../packet_processor.h"
#include <memory>
#include "../../../server_session/server_session.h"
#include "../../opcode.h"
#include "../../send_helper.h"
#include "../core/src/locale/string_helper.h"
#include "../../../account/account_manager.h"
#include <random>
#include "../../../../../core/src/timer/timer_h... | [
"ddslot.pp2@gmail.com"
] | ddslot.pp2@gmail.com |
10be4a826f1a27d0040a528a7a9b02fa79c5834b | 6a33cb94d4af1d8a7329ddc6c9d42f870c35bb2f | /cpp/Euler020.cpp | 875edcf62f4684f2650f3be86c5a43ae5dba3e45 | [] | no_license | vochong/project-euler | 836321cc8e7d2e7cdf22b3b136d44dcba74a8701 | 6a0c7103861ff825bf84800b6e2e62819a41e36d | refs/heads/master | 2020-04-29T10:41:48.487159 | 2018-09-19T00:13:34 | 2018-09-19T00:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | #include <chrono>
#include <cstdint>
#include <iostream>
#include <vector>
uint64_t e020(){
uint64_t sum = 0;
std::vector<uint8_t> digits;
digits.push_back(1);
for(uint32_t mult = 2; mult <= 100; ++mult){
std::vector<uint8_t> tmp;
for(uint32_t i = 0; i < digits.size(); ++i){
... | [
"kueltz.anton@gmail.com"
] | kueltz.anton@gmail.com |
fb60ddeb448ed3e7997c37bda3836dca757f92a7 | 4170f21781956810b6d1db4fb99b91dd331ab9d8 | /include/vertex.hpp | 825e92cab01641046ce463f3bfb10a2cc92c6395 | [
"MIT"
] | permissive | shakram02/opengl_shapes | 5b50ec31e075437193713f4a05c4c161d60e3228 | 367619333ff4d009b6972c42410576bb0ccc6962 | refs/heads/master | 2021-07-09T19:10:45.657485 | 2017-10-06T09:31:18 | 2017-10-06T09:31:18 | 105,747,856 | 0 | 0 | null | 2017-10-06T09:31:19 | 2017-10-04T08:46:36 | C++ | UTF-8 | C++ | false | false | 198 | hpp | #ifndef VERTEX_H
#define VERTEX_H
#include <glm/glm.hpp>
using namespace glm;
class Vertex {
public:
Vertex(const vec3 &pos) { this->pos = pos; }
protected:
private:
vec3 pos;
};
#endif | [
"ahmedhamdyau@gmail.com"
] | ahmedhamdyau@gmail.com |
7aecfa454135c6d5ac43203a2fb56c506baa818e | 7eeff44dd78aa95e44c7522b19185e1a37bb24c1 | /PhysicalObject.h | 3039150b5d87645222b18b8f67c1a88824e6e3c5 | [] | no_license | scottrick/dgame | cd8363bd09dfd73337938ffd982ebf8ac6391366 | 7ccb622c93f2c59fd73f2188e3427787e03fc99b | refs/heads/master | 2016-09-06T17:29:12.573716 | 2011-07-16T17:09:21 | 2011-07-16T17:09:21 | 2,045,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,036 | h | #ifndef _PHYSICAL_OBJECT_
#define _PHYSICAL_OBJECT_
#include "def.h"
#include "Object.h"
#include "Weapon.h"
#include <cassert>
using namespace std;
class Controller;
class FiringPlugin;
class FiringTask;
class MovementPlugin;
class MovementTask;
class Shield;
class Shockwave;
//amount of decay per second if the shi... | [
"scottrick49@gmail.com"
] | scottrick49@gmail.com |
4f76d234b64f7f749f72dfad5350c942ae848c2a | c27fe4ee7378f9a645912a024ae0c56230eaa4d0 | /informatique/sketches/test/test.ino | 37f81c09846f6beb1c789afa64b9756ab6879f24 | [
"Unlicense"
] | permissive | ideometre/BigMax | 17608e959c9e77a75c3c4ab74cc66768a693b991 | 6d1d582927e07fca05ca06b12217a34cea3f07c3 | refs/heads/master | 2022-02-12T00:26:29.554104 | 2022-02-02T21:56:28 | 2022-02-02T21:56:28 | 128,891,009 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,006 | ino | #include <QTRSensors.h>
// This example is designed for use with eight QTR-1RC sensors or the eight sensors of a
// QTR-8RC module. These reflectance sensors should be connected to digital inputs 3 to 10.
// The QTR-8RC's emitter control pin (LEDON) can optionally be connected to digital pin 2,
// or you can leave it... | [
"maxime.hanicotte@visian.fr"
] | maxime.hanicotte@visian.fr |
c540338ca826a0be3fbd30ec41479ae8d844694e | d9e9aefeda75c9050c47b29ac3e6c4768255c5ee | /lab3/demo/src/main.cpp | 6ca8b3fcfd58c19db82357bbcd4f2c4e82aaf985 | [] | no_license | maPalacios/llpp | 97c151238b8d9a6cd9b714138cc6a1657dd5370c | 91f997c78b08ee26441816e45d1c715d73e9b7bb | refs/heads/master | 2021-01-13T02:06:01.425843 | 2015-03-13T11:54:48 | 2015-03-13T11:54:48 | 30,023,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,035 | cpp | //#include "ped_agent.h"
#include "ped_model.h"
#include "MainWindow.h"
#include "ParseScenario.h"
#include "Parser/ParseNumOfAgents.h"
#include "Parser/tinyxml.h"
#include <string>
#include <atomic>
#include <QGraphicsView>
#include <QGraphicsScene>
#include <QApplication>
#include <QTimer>
#include <thr... | [
"sharyari@gmail.com"
] | sharyari@gmail.com |
5e3c138665f82ff1eeb579a4c0e7573543993f38 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /aoj/vol13/1306.cpp | 5b4d69750a746678347caf0280ef8e865720bdb8 | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,014 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i))
#define each(itr,c) for(__typeof(c.begin()) itr=c.begin(); itr!=c.end(); ++itr)
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define fi first
#define se second
const int INF=123456789;
... | [
"k0223.teru@gmail.com"
] | k0223.teru@gmail.com |
bcb47c4479818500ee055c0649740bcd9591d64e | 9735397c4f86a14694dece008024fceb81186d07 | /ff/include/para/paracontainer.h | adb17c57c5664a9fa1ef915434f9b416cb773660 | [
"MIT"
] | permissive | SkySlayer/functionflow | f36cfb33e63c327310ca33b1d943932ae20cd9a1 | f15f78b30fa5dd2462ce76ce68cc63854eb165f4 | refs/heads/master | 2021-01-23T06:49:26.757259 | 2015-01-30T07:00:31 | 2015-01-30T07:00:31 | 30,061,023 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,117 | h | /***********************************************
The MIT License (MIT)
Copyright (c) 2012 Athrun Arthur <athrunarthur@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without res... | [
"athrunarthur@gmail.com"
] | athrunarthur@gmail.com |
3b34c189fd62b55d73e5bdf27dce3c8324e9aa3a | 8903cb76cedac12995249e2e613af65365be7cf2 | /hiro/qt/menu-bar.hpp | e1fed335f462c33487a21003d51aee0a10e2f3a2 | [
"ISC"
] | permissive | kirwinia/ares-emu-v121 | 0c1e21e073f291741406cd1ed01acca43acd56d7 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | refs/heads/main | 2023-06-09T15:28:23.665934 | 2021-06-28T06:10:46 | 2021-06-28T06:10:46 | 380,923,321 | 0 | 0 | ISC | 2021-06-28T06:05:04 | 2021-06-28T06:05:04 | null | UTF-8 | C++ | false | false | 402 | hpp | #if defined(Hiro_MenuBar)
namespace hiro {
struct pMenuBar : pObject {
Declare(MenuBar, Object)
auto append(sMenu menu) -> void;
auto remove(sMenu menu) -> void;
auto setEnabled(bool enabled) -> void override;
auto setFont(const Font& font) -> void override;
auto setVisible(bool visible) -> void override... | [
"ecallaghan@protonmail.com"
] | ecallaghan@protonmail.com |
357a9df8644cc7724affca7a9e27ed35e560ea5b | df21da8b317adf19fa96d0a15fddc5945a3ef28b | /include/IECore/MatrixInterpolator.inl | 84886a9ae22d343747757afd179278d9d7e120c8 | [] | no_license | turbosun/cortex | 838d30ece6ce4946392703ba8add72c776faba7d | 4bdc01a692652cd562f3bfa85f3dae99d07c0b15 | refs/heads/master | 2020-12-24T09:01:36.484303 | 2013-10-15T06:23:45 | 2013-10-15T06:23:45 | 11,165,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,636 | inl | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Re... | [
"lucio@image-engine.com"
] | lucio@image-engine.com |
ecf6a10c3a201f05a80f4b3e5abfce663b778b87 | 674de04236af01eec7f2fa5f5b5b34461d140278 | /Auburn school projects [archive]/X. Fa2012/2710 Sftwr Construction [C++, UML]/Project/_002/FO3/package/tool.h | 259994b43961787602f08270ca62110a74b466f6 | [] | no_license | aewallace/School-Archive | 4e8cee69f9c096d6770ffec3676094610850871d | 3c218342c319c833a72332f610fbeb0bf501cef4 | refs/heads/master | 2021-01-02T08:57:15.363033 | 2015-10-08T19:21:35 | 2015-10-08T19:21:35 | 27,462,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | #ifndef TOOL_H
#define TOOL_H
#include <iostream>
#include <map>
#include <fstream>
#include <string>
#include <sstream>
#include <stdlib.h>
#include <cstring>
#include "commandline.h"
#include "configuration.h"
#include "reportT.h"
#ifndef ENUM_TYPES
#define ENUM_TYPES
enum OPER_TYPE_t {null_opr, help, run_t, set, ... | [
"aew0024@tigermail.auburn.edu"
] | aew0024@tigermail.auburn.edu |
bbf32a414916b8a83b2b1e7ee007b3b09ba10f01 | 2cc63e61904c0b821b88687cbc7c20f4ffeb28cb | /2540 - Impeachment do Líder.cpp | aa96c6c116999f8deb71d9bf99c63b412f53402f | [] | no_license | lawrencesilva/URI | 47557fbb007ccbfb00150d2cd503e8ab9bd0973a | 1db51a14e7072099351e205abb691b191fb7d681 | refs/heads/master | 2020-03-24T02:08:58.630761 | 2018-07-26T11:12:00 | 2018-07-26T11:12:00 | 142,364,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
double doistercos, membrosd;
int membros;
int votaram = 0, voto;
while(cin >> membros) {
membrosd = membros;
doistercos = (membrosd / 3) * 2;
while(membros > 0) {
cin >> voto;
if(voto == 1)
votaram++;
... | [
"lawrencedowow@hotmail.com"
] | lawrencedowow@hotmail.com |
546fbcad68bfb1f1b71af6e6755b315014149514 | efa9be53cf1094300ed66fe09d19d3886de7e663 | /tests/unit/plugins/dist_matrixops/dist_argmin_2_loc.cpp | 7278a4b0473a3ac16e3c098a8189d79dfd935b79 | [
"BSL-1.0"
] | permissive | STEllAR-GROUP/phylanx | 25a6d1ecf8493fd77583d9b54ea4f6b7f2fcac63 | 443ba956e47c2c5ae1e3b6d0f51bb31930fa83e9 | refs/heads/master | 2022-04-30T13:57:26.767667 | 2022-04-06T13:57:01 | 2022-04-06T13:57:01 | 101,409,977 | 87 | 55 | BSL-1.0 | 2022-04-06T13:57:02 | 2017-08-25T14:07:21 | C++ | UTF-8 | C++ | false | false | 10,186 | cpp | // Copyright (c) 2020 Bita Hasheminezhad
// Copyright (c) 2020 Hartmut Kaiser
//
// 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)
#include <phylanx/phylanx.hpp>
#include <hpx/hpx_init.hpp>
#include <hpx/iostream.h... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
2654ba8306d37f166c6fc49167e356c7874626c6 | 15f92601d47d390ac454a717074d9661dae6a3ac | /example/im/src/entity/conversation.h | a0a0b3f4834434614b2a320270b8619d2d0d0a95 | [
"MIT"
] | permissive | Zplutor/zaf | 14ddf27bfb61a43fe9cfb5a38b519b25964ce1d7 | 312278af4f2f9cc99748ee8cc357532caafe62a0 | refs/heads/master | 2023-08-05T11:15:30.437396 | 2023-08-02T16:32:42 | 2023-08-02T16:32:42 | 45,374,274 | 15 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include <cstdint>
#include <ctime>
#include <string>
#include <vector>
#include "entity/id.h"
#include "entity/user.h"
class Conversation {
public:
Id id = InvalidId;
std::wstring title;
std::time_t last_updated_time = 0;
std::vector<Id> members;
bool is_sticked = false;
bool is_... | [
"zplutor@qq.com"
] | zplutor@qq.com |
b99461a8d962c80d6f222ddcc59b7eaa0eaef942 | a0d4416ed1cec0576086338201aae10f70ffbe47 | /Kiselov_HW_Unicode/Convert.h | c4e665a30377ad8c6e254af28e4bc770c076b84a | [] | no_license | oKiselov/2016_08_27_WINAPI_Unicode | 6924f77fa6727152609ebba5b0b5aa1cd4a02ce2 | c4739dae50f18441de08aa9ddb116031a51a33b8 | refs/heads/master | 2020-12-08T17:52:20.106318 | 2016-09-04T15:14:00 | 2016-09-04T15:14:00 | 67,351,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | #pragma once
#include <iostream>
#include <string>
#include <Windows.h>
class Convert
{
std::string mbString;
std::wstring wcString;
public:
// Non-trivial member-functions and constructors
Convert();
Convert(const std::string &, const std::wstring&);
Convert(const Convert&);
virtual ~Convert();
Convert&o... | [
"dp.prk.kiselov@gmail.com"
] | dp.prk.kiselov@gmail.com |
79d580b033d14575230a02b4386b0795efdd812d | 0ee8dd745ef81204d09603700cdcc63acc96b814 | /Cryptex/util.hpp | 6632f2557aa0b43f38871375a31a607adec9120e | [] | no_license | sim642/Cryptex | 1f3619eae21222c5e1c7dbd0b0d40bca216b2155 | ac6d3ac671c969c1f86451c1f442bdca5ffb09c5 | refs/heads/master | 2020-04-13T21:07:20.894691 | 2016-12-04T20:38:31 | 2016-12-04T20:38:31 | 42,388,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | hpp | #ifndef UTIL_H
#define UTIL_H
#include <type_traits>
/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4380.html
template<typename T>
inline typename std::add_const<T>::type& as_const(T &t) noexcept
{
return t;
}
#endif // UTIL_H
| [
"simmo.saan@gmail.com"
] | simmo.saan@gmail.com |
0963a78c6ee5947c5ab04044f126eb89879f9d3a | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAnimationIterationCount.cpp | c86d6318a98d0404ec2e480fd4cb5eaaa4c86ffb | [
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 776 | cpp | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/properties/CSSPropertyAPIAnimationIterationCount.h"
#include "core/CSSValueKeywords.h"
#include "core/css/parser/CSSPropertyParserHelp... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
20ff076fe3078d28c98b53de8f63beeedabefb26 | fad609ac22c6440bf392d3594314aaed627bff91 | /meshes/shapes/Box.cpp | 5168ecf1ac1b02a43f58f6e74abe4a3137ff2184 | [] | no_license | WS002/GameEngine | 9b1451cf2d52e2796ee2477927e9daba499adad4 | 2a6bdceaa7fdf0fb57853f083e4dde5c01bb5ee0 | refs/heads/master | 2021-01-13T01:36:09.256665 | 2015-05-19T18:54:11 | 2015-05-19T18:54:11 | 35,896,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,039 | cpp | #include "Box.hpp"
Box::Box(glm::vec3 centerCoordinates, GLfloat width, GLfloat height, GLfloat depth): Mesh::Mesh(){
this->centerCoordinates = centerCoordinates;
this->width = width;
this->height = height;
this->depth = depth;
this->createBox();
}
void Box::createBox() {
//fill mesh para... | [
"ivanovnikolay25@yahoo.de"
] | ivanovnikolay25@yahoo.de |
4557ee99828911b9063aa318d6418d551fe4d144 | 4b250da9813bd51979b7211778f720c0757eb82e | /tools/tests/gen_tree.cpp | 697662cf23089b449589365337fb5f0389cd8421 | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | // generating a tree in a simple way
#include <bits/stdc++.h>
using namespace std;
int rand(int a, int b) {
return a + rand() % (b - a + 1);
}
int main(int argc, char* argv[]) {
srand(atoi(argv[1]));
int n = rand(2, 20);
printf("%d\n", n);
for(int i = 2; i <= n; ++i) {
printf("%d %d\n", ra... | [
"mathemage@gmail.com"
] | mathemage@gmail.com |
be3820e8f4cd287c7a5680ba7c1067e121b956bc | 7bf5c360d9e2ba3a3730c04266fcd88721824725 | /game/g_world.cpp | da58adee6b8558cf6c4d47d1de2355fc7f23a579 | [] | no_license | Qartar/quark | b773afd6a6882a6b25db5da4aa947fa9addf533a | 8c516816367f11f72c9c1b4d45fd8cd75cd4e5cf | refs/heads/master | 2022-06-14T10:56:39.564651 | 2020-07-31T17:21:10 | 2021-05-13T01:00:30 | 169,369,417 | 1 | 1 | null | 2019-10-18T06:16:27 | 2019-02-06T07:27:37 | C++ | UTF-8 | C++ | false | false | 10,029 | cpp | // g_world.cpp
//
#include "precompiled.h"
#pragma hdrstop
#include "g_aicontroller.h"
#include "g_projectile.h"
#include "g_ship.h"
#include "g_player.h"
#include "p_collide.h"
#include "p_trace.h"
#include <algorithm>
#include <set>
////////////////////////////////////////////////////////////////////////////////
... | [
"qartar@live.com"
] | qartar@live.com |
20c3351e4c53b81e813599d2e42f87aaa3822612 | bf7173813f7f475e915df5fe16206de050f03050 | /Engine/Engine.cpp | 0d606998de449674bfba82d656d4d28a55311ca4 | [
"MIT"
] | permissive | Archlisk/FrozenCore | 0d67ef7b6899b594b7e352f659c9f4f281ed3f9e | 2fad5e0ffbb74644cb63afaa29a93738342ab534 | refs/heads/master | 2022-12-02T07:10:39.186894 | 2020-08-20T05:34:00 | 2020-08-20T05:34:00 | 288,910,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,184 | cpp | #include <Engine.h>
#include <Core/Config.h>
#include <Core/RenderWindow.h>
#include <Core/InputHandler.h>
#include <Core/ResourceManager.h>
#include <Core/Module.h>
#include <Core/GameObject.h>
#include <Core/GLM.h>
#include <Render/RenderEngine.h>
#include <Debug/FrameCounter.h>
#include <Debug/Profiler.h>
#inclu... | [
"4rchlisk@gmail.com"
] | 4rchlisk@gmail.com |
f2e388901f7173fde8825518391166f10b8444b1 | 33b3f6d1094532a63c26d8151ba01af99761c3e7 | /frameparam.h | f5f6da895a1f5a50d632aa15ba7b7c14e46ffc23 | [] | no_license | Liberisi/foxconn | f6633292c4b823c232acb62fb309616378cda30e | ce9ac3e5a09383b641e9307172544a725d96aca9 | refs/heads/master | 2021-02-14T06:33:45.286351 | 2020-06-19T10:30:30 | 2020-06-19T10:30:30 | 244,780,720 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | h | #ifndef FRAMEPARAM_H
#define FRAMEPARAM_H
#include <string>
using namespace std;
class FrameParam
{
public:
FrameParam();
void read_param(const string& path);
void write_param(const string& path);
void set_x(int x);
void set_y(int y);
void set_w(int w);
void set_h(int h);
void set_... | [
"wen-1431@qq.com"
] | wen-1431@qq.com |
d6a6626ce6338df5ae951c56af1f5fdbd498f79c | 3c36455a00bfc4484f41e251d66edead6cbb23f5 | /src/demo_9/usestok0.cpp | 8e12be74f0ceeb1afd6df8b27d98ef4ee333e3a6 | [] | no_license | jerryxiee/linux-demo | f8b3034d75cae3125ba821a220c375dedd277a49 | c1338e03f8ff82ae34ee49fd11a9f4690aed54be | refs/heads/master | 2022-01-21T20:46:43.158451 | 2019-02-02T13:16:37 | 2019-02-02T13:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | // usestok0.cpp -- the client program
// compile with stock.cpp
#include <iostream>
#include "demo_9/stock00.h"
int use_stock00_test()
{
Stock fluffy_the_cat;
fluffy_the_cat.acquire("NanoSmart", 20, 12.50);
fluffy_the_cat.show();
fluffy_the_cat.buy(15, 18.125);
fluffy_the_c... | [
"wellok@139.com"
] | wellok@139.com |
1d4acf9f3f2ea883f9f82c12c0073845b2f1dd02 | 24b33483a2c2a71885b21424ad42e653b14fa617 | /src/qt/qrcodedialog.cpp | 10d4b78a319fcd07c767cfce21ab961399b2d30b | [
"MIT"
] | permissive | Checoinbank/Checoin | 23dceed267ea0eee64edab052237dbfa589f6063 | 436db740a68c1e6218cbaef9433bf7ea4cb433ee | refs/heads/main | 2023-05-04T15:13:03.382402 | 2021-05-17T13:05:02 | 2021-05-17T13:05:02 | 368,186,636 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,311 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | [
"kachhdiyajaydip@gmail.com"
] | kachhdiyajaydip@gmail.com |
bf2ac61bf30fcbe7a77e75fdef114313bdd504c8 | 8ff6b90b1ce5312ebc1a2ed3579eed5cc102bec0 | /target/platformio/test/test_oz_game/test_oz_game.cpp | 969b7b17bff107ca5ea8ccebb11395453301884f | [] | no_license | dcowden/battlepoint | a208aef872c5eccff260254c599c6b67fdd0383a | ed13314fb6bb5a1c96301aa9dc4b7997df31a9c3 | refs/heads/master | 2022-01-20T01:36:01.150910 | 2021-12-24T22:54:49 | 2021-12-24T22:54:49 | 135,941,061 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,423 | cpp | #include <Arduino.h>
#include <unity.h>
#include <game.h>
#include <ArduinoLog.h>
#define DEFAULT_UPDATE_TIME 10000
GameState state;
GameSettings settings;
long current_time_ms = 0;
void preTest(){
settings.gameType = GameType::GAME_TYPE_KOTH_FIRST_TO_OWN_TIME;
settings.timed.max_duration_seconds=20;
sett... | [
"dave.cowden@gmail.com"
] | dave.cowden@gmail.com |
9a318da974bcb68335341a09fc8b17f9a7c4c20a | 11cd65ab418283f31ded8a81304fa9abb70c9c74 | /SDK/LibImath/src/src/ImathTest/testBitPatterns.cpp | d3418104543a0ff6cbf39229758d435917cc5eaf | [
"BSD-3-Clause"
] | permissive | sim9108/SDKS | 16affd227b21ff40454e7fffd0fcde3ac7ad6844 | 358ff46d925de151c422ee008e1ddaea6be3d067 | refs/heads/main | 2023-03-15T22:47:10.973000 | 2022-05-16T12:50:00 | 2022-05-16T12:50:00 | 27,232,062 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,678 | cpp | //
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.
//
#ifdef NDEBUG
# undef NDEBUG
#endif
#include <half.h>
#include <assert.h>
#include <float.h>
#include <iostream>
#include <string.h>
#include "testBitPatterns.h"
using namespace std;
namespace
{
bool
equalBitPattern... | [
"sim910@naver.com"
] | sim910@naver.com |
4e475a391fce2f4660d95a793c53d83a75e38569 | 2eb5c16df3bb1ba736a845f6bbc32bd7db29043a | /CodingInterviews/solution/04/replaceSpace.cc | eef13533f683b616ff4c4962048539464b02f445 | [] | no_license | wowforestwow/TrainingCode | 153ef46c437a8e1e0370b7153fb986a6af4a49f6 | 02912d6c331e7850ad7962c96075f7cc5ec66f84 | refs/heads/master | 2020-12-30T16:15:08.871765 | 2017-09-24T03:19:23 | 2017-09-24T03:19:23 | 90,969,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cc | #include<bits/stdc++.h>
using namespace std;
class Solution {
public:
void replaceSpace(char *str,int length) {
int i = 4;
cout << endl;
}
};
int main(){
Solution s;
char str[] = "hel";
s.replaceSpace(str, 4);
}
/*int main(){*/
//Solution s;
/*}*/
| [
"httloveforest@163.com"
] | httloveforest@163.com |
9c2692c739dd815188ffc75c1af1748bc86b3cf4 | 3391892861a1e1e71af6e414bcdb9fc0df66c62e | /src/client/places/action/action_view.cpp | d00e2584a8bedddddc15043aa103d777c61d2aea | [
"Apache-2.0"
] | permissive | jdmclark/gorc | a21208b1d03a85fc5a99fdd51fdad27446cc4767 | a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8 | refs/heads/develop | 2021-01-21T05:01:26.609783 | 2020-12-21T00:26:22 | 2020-12-21T02:34:31 | 10,290,074 | 103 | 10 | Apache-2.0 | 2020-12-21T02:34:33 | 2013-05-25T21:27:37 | C++ | UTF-8 | C++ | false | false | 372 | cpp | #include "action_view.hpp"
#include "action_presenter.hpp"
#include <iostream>
gorc::client::action::action_view::action_view() {
return;
}
gorc::maybe<gorc::input::input_adapter*> gorc::client::action::action_view::get_input_adapter() {
return maybe_if(presenter, nothing, [](action_presenter *p) {
re... | [
"jon@nullptr.ca"
] | jon@nullptr.ca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.