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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffda868c8414073cd81810d2b4a14a429f238ea2 | a07e85e8d12b69ee8cb928f1b50b0fe65072b485 | /Source/MasterringAcorn/Public/TESTWeaponPickUp.h | ae2efc26e742c04d7d32ebeb3279a21335bb8ab1 | [] | no_license | bigcat0815/MasteringACORN | 54e5ecaacf71059514754c771c848d84095b3fff | f8492aff8731e8d8ca2df8a544d9c8e3e6ccdc78 | refs/heads/master | 2022-11-30T07:35:01.712986 | 2020-08-19T03:28:06 | 2020-08-19T03:28:06 | 286,441,217 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,148 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "MasterringAcorn.h"
#include "GameFramework/Actor.h"
#include "TESTWeaponPickUp.generated.h"
UCLASS()
class MASTERRINGACORN_API ATESTWeaponPickUp : public AActor
{
GENERATED_BODY()
public:
// Sets default values... | [
"bigcat0815@gamil.com"
] | bigcat0815@gamil.com |
504e526dfb26f76bcd9b7848c834d62d8f840824 | 4427f459aa7337b81188c374d7f2a0ebc760e70a | /addons/artycomputer_models/config.cpp | 93d933722eb3d8aa250837e4faf36fb5305936e6 | [] | no_license | tuntematonjr/Tun-Firesupport | fa426c207ee7236882d6a0d3ee1dd2f1a12090a4 | 47bd5dc8bc59ccf0049ecf9dda7b736dedd68492 | refs/heads/master | 2023-04-18T11:08:17.360317 | 2023-03-19T09:10:36 | 2023-03-19T09:10:36 | 220,298,728 | 1 | 0 | null | 2021-02-22T20:09:03 | 2019-11-07T18:02:33 | C++ | UTF-8 | C++ | false | false | 853 | cpp | #include "script_component.hpp"
class CfgPatches
{
class tun_artycomputer_models
{
requiredVersion = 1.94;
requiredAddons[] = {"A3_Weapons_F","cba_main","cba_xeh","cba_settings"};
units[]={};
weapons[]={"tun_tablet"};
author = "Immonen & Nurmi";
authorUrl = "https://armafinland.fi/";
};
};
class ... | [
"mika.lieto@hotmail.com"
] | mika.lieto@hotmail.com |
a03fc88278c0d3985d5469828bdd9630541b148b | 879648a75cdbcffe840ed09e00687e110d7e8f88 | /Beginner/DWNLD.cpp | 9d79842bccf47df90d623dc10248b3b24af10624 | [] | no_license | shubhgkr/Codechef | c910126463796ce551a7a725dd623a60ad394c09 | 63a4ce2765ec77361ca5cb1dd61f495ddb43bedb | refs/heads/master | 2021-07-19T03:02:33.655256 | 2020-08-02T20:16:22 | 2020-08-02T20:16:22 | 200,067,130 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | /*
* @author Shubham Kumar Gupta (shubhgkr)
* github: http://www.github.com/shubhgkr
* Created on 19/12/19.
* Problem link: https://www.codechef.com/problems/DWNLD
*/
#include <iostream>
int main() {
std::ios_base::sync_with_stdio(false);
std::cin.tie(nullptr);
int tc;
std::cin >> tc;
while (tc--) {
int n... | [
"shubhgkr@gmail.com"
] | shubhgkr@gmail.com |
17e3676c3ccf5a07b384efb80b3d6e4406029469 | b0b894bcfcf4b64bbb8281d2b9d684f90e106419 | /src/main/cpp/Commands/ZeroTurretPosition.cpp | ada36393d99a8b065fb56bcfbc471dd7b326df2d | [] | no_license | FRCTeam16/TMW2020Prototype | f73dc93cfe121afd5cff44b3d8e67640d1ccb905 | 6caf3159d3b760a58f3e66bcc8202b71427690cc | refs/heads/master | 2023-02-25T18:22:40.373699 | 2020-03-07T23:34:09 | 2020-03-07T23:34:09 | 234,454,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include <iostream>
#include <ctre/Phoenix.h>
#include "Commands/ZeroTurretPosition.h"
#include "Robot.h"
ZeroTurretPosition::ZeroTurretPosition() : Command()
{
SetRunWhenDisabled(true);
}
// Called just before this Command runs the first time
void ZeroTurretPosition::Initialize()
{
std::cout << "****** ZERO ... | [
"devjason@gmail.com"
] | devjason@gmail.com |
4192fad7663cbf3606e9301e770e4b6dae41c809 | e173fc6d152b4313036df82d6b61cad2646a536b | /OsmmdCore/Row.h | cec945d64d0d91b68403aac6d16a6b53837bc3b5 | [] | no_license | sinzens/Osmmd | 0b829927f929817aeef6e100f70c6f2f374f672b | c7f51bec40f1e4a1a02ff73d016fc9253acd89fc | refs/heads/master | 2023-07-15T00:03:19.945782 | 2021-09-09T15:57:12 | 2021-09-09T15:57:12 | 400,107,044 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | h | /*
* Created by Zeng Yinuo, 2021.09.01
* Edited by Zeng Yinuo, 2021.09.04
* Edited by Zeng Yinuo, 2021.09.06
* Edited by Zeng Yinuo, 2021.09.08
*/
#pragma once
#include "Column.h"
namespace Osmmd
{
struct OSMMD_CORE_API Row : public ISerializable
{
std::deque<Column> Columns;
void AddColumn(... | [
"1187261181@qq.com"
] | 1187261181@qq.com |
165ec7e29a217d8c306f4f4ec2885364061ce75e | b89bfdeb7e026d71dfc0a51d8559451346c0973c | /src/test/main_tests.cpp | 01378e01760f7e3436d6b1ae2b376eea11e10a01 | [
"MIT"
] | permissive | quantumnode-group/qnodecoin | 992095103dd4de3ee25a7c1419c23643e567732d | defdf04d1754ddaa6b57ee4b7e8b655c38bb6662 | refs/heads/master | 2021-01-14T05:51:33.325311 | 2020-06-29T12:37:49 | 2020-06-29T12:37:49 | 275,385,524 | 0 | 1 | MIT | 2020-07-24T03:13:05 | 2020-06-27T14:09:45 | C++ | UTF-8 | C++ | false | false | 833 | cpp | // Copyright (c) 2014-2015 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 "net.h"
#include "test/test_qnodecoin.h"
#include <boost/signals2/signal.hpp>
#include <boost/test/unit_test.hpp>
... | [
"brytemorio@qngnode.cc"
] | brytemorio@qngnode.cc |
669fc14567af77725738f09f10a848e693a0a909 | 8752485a7c71f2a78bc340155950bf54988b2c8c | /caveman.hpp | bc07978514f3ee9bb19811302c25825d51cb1c07 | [] | no_license | mfry1/Caveman-Adventure-Game | 9335483a4560b312c5f4a5f67475bff08848cd29 | 2b6583476d91425fe7850974ccd049e86b4e6a9e | refs/heads/master | 2021-06-12T14:37:04.390748 | 2017-03-27T19:39:15 | 2017-03-27T19:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | hpp | /***************************************************************************************
Author: Matt Fry
Date: 12/2/16
Description:
***************************************************************************************/
#ifndef CAVEMAN_HPP
#define CAVEMAN_HPP
#include "Creature.hpp"
class Caveman : public Cre... | [
"fryma@oregonstate.edu"
] | fryma@oregonstate.edu |
fb13cb3ae337927e68e9deb43747ddf76bf4084a | 866fda88bfbd0fe608c64a96ef759c5a65eb0a08 | /GLEngine/Components/Renderer.h | 66e96da16828d10bade6d734905d2bfff8c5b3e2 | [] | no_license | erikdakool/sengine | 45d3d6a3c9c137f19386124203027dd7399221af | cb8e3111451489ee1db1efca434f84512400ff43 | refs/heads/master | 2022-11-25T08:34:25.717156 | 2019-11-13T20:19:50 | 2019-11-13T20:19:50 | 164,163,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | h | //
// Created by erik on 22.10.2019.
//
#ifndef GLENGINE_RENDERER_H
#define GLENGINE_RENDERER_H
#include <vector>
#include <glm/glm.hpp>
#include <GL/glew.h>
#include "../Managers/VboIndex.h"
#include "../Managers.h"
#include "Component.h"
enum Primitive{
Null = 0,
Plain = 1,
//Cube,
Sphere = 3,
... | [
"erikaa17@uia.no"
] | erikaa17@uia.no |
418a30cb9e5ef8662450c26061b5476d3fdf572f | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/netds/messagequeuing/mqf_draw/drawarea.h | 8cfea18d827318f06ba53fc3ca46541a7ad588e5 | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 1,802 | h | // --------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABI... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
108e18576206d01e5a7625b91eae759ab2d2f951 | 431f1e3c3faa58cb84ec4973823597e1d92f9d92 | /playbvh/vcg/space/index/grid_static_ptr.h | 4443c0d1ea5820546f2475562056f093ab63c24a | [] | no_license | DengzhiLiu/CG | d83d89ae9fc357e8292eba3057ad960bd3420a9c | deccfd7cda546ab2fefa4a2199ff4968a7f6d255 | refs/heads/master | 2021-01-16T19:20:46.775694 | 2015-04-11T09:02:22 | 2015-04-11T09:02:22 | 33,616,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,925 | h | /****************************************************************************
* VCGLib o o *
* Visual and Computer Graphics Library o o *
* _ O _ *
* Copyri... | [
"dengzhiliu@aliyun.com"
] | dengzhiliu@aliyun.com |
98650d90cf79de449f95004a160d0377daf91379 | 458e61f29a20446b2fe7e5ae4fa8d34cae6e42e3 | /cpp_programs/constants.cpp | 589eca1fcc819b8c1e6bd53492ee8ecd54f73d39 | [] | no_license | dhrvdwvd/practice | f7976f552b294a85c3d313ae2fc4293707e0b7e4 | 228de8b6d20ca094efa100648909e85161e02953 | refs/heads/master | 2023-09-04T20:13:44.530911 | 2021-10-19T07:55:51 | 2021-10-19T07:55:51 | 408,071,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include<iostream>
#include<iomanip> // contains setw manipulator to set field width
using namespace std;
int main(){
const float pi = 3.141593;
int i=1, j=13, k=435;
cout<< "Constant data type cannot be changed, here pi is a constant equal to "<<pi<<endl;
cout<< "endl is a manipulator."<<endl;
cout<< "i = "<... | [
"dhrvdwvd@protonmail.com"
] | dhrvdwvd@protonmail.com |
7806c2d0358c4b572ce703bd7a96a43bb2069b2f | 78268deed66ed2e6d785f01eb1e7880b9be4b714 | /src/qt/forms/ui_multisigdialog.h | 0aa08cfb49350951dacf6011053ef93952eb880a | [
"MIT"
] | permissive | DRC333/QMC | 78f17eb31f2b5308cc2f5ea7ac949a09d9229738 | 41ce091c33f5ce62c043b7ae98c8163e770971d4 | refs/heads/master | 2020-06-09T07:39:54.422092 | 2018-12-16T23:47:16 | 2018-12-16T23:47:16 | 193,402,947 | 0 | 0 | MIT | 2019-06-23T22:53:18 | 2019-06-23T22:53:17 | null | UTF-8 | C++ | false | false | 36,343 | h | /********************************************************************************
** Form generated from reading UI file 'multisigdialog.ui'
**
** Created by: Qt User Interface Compiler version 5.9.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"qmcoin@gmail.com"
] | qmcoin@gmail.com |
babb15079f8a30a6a4652bca0b5a75959e8438a4 | 1337a747db741d24a11cf10d3c4b0c9d173f8a6d | /Libraries/gtkmm/include/gtkmm/gdkmm/private/rectangle_p.h | fa9e9288079193e3b3722fd487e150522c5b4ef7 | [
"MIT"
] | permissive | iCodeIN/Wings | 0a1c17979439fc17e9bd55c43a7cc993973a3032 | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | refs/heads/master | 2021-06-12T22:29:07.009637 | 2017-03-19T07:10:42 | 2017-03-19T07:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | h | // -*- c++ -*-
// Generated by gmmproc 2.44.0 -- DO NOT MODIFY!
#ifndef _GDKMM_RECTANGLE_P_H
#define _GDKMM_RECTANGLE_P_H
#endif /* _GDKMM_RECTANGLE_P_H */
| [
"utilforever@gmail.com"
] | utilforever@gmail.com |
b4a28f132036cd7e19da6e00e17d3e1c4d82561e | d0a39caca85e49b1878da3a1fc60284ffda98b63 | /N6B/++++stl_vector.h | 7c3c49a5ad3a5f3e203503e34ef729e88cb1b57a | [] | no_license | sguzwf/datastruct | 489ec47937ffbae38c683ff4f44018e8d39beccc | d613f9a815706d06b89dc2e306f1b7f6979dbc50 | refs/heads/master | 2021-01-18T14:36:06.961414 | 2015-11-29T14:08:25 | 2015-11-29T14:08:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 33,903 | h | // Vector implementation -*- C++ -*-
// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
090171f19ecb03e480a89e4575374f1b1a13d466 | 367e570a378469a9cccf1d49874e92963b3e01eb | /ClientFile.h | d999e5598355b05e66b2540437700bde5ad3393b | [] | no_license | aditikocherlakota/File_Copy | 6616f8e7c8a03c735b6f1a71a3766c96efd0b44b | 4264217bb965e6f069cdd8478de7b77a9ec519d9 | refs/heads/master | 2020-04-28T19:35:52.964551 | 2019-03-13T23:55:42 | 2019-03-13T23:55:42 | 175,516,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | h | #ifndef CLIENTFILE_H
#define CLIENTFILE_H
#include "sharedfiledefs.h"
#define WINDOW_SIZE 5
#define RETRIES_BEFORE_FAILURE 5
enum State{INITIAL, SENDING_E2E_CHECK, SENDING_E2E_CONF, SENDING_E2E_FAILED, DONE};
class ClientFile {
private:
State state;
int fileNastiness;
int numTimeouts;
... | [
"noreply@github.com"
] | aditikocherlakota.noreply@github.com |
7ce29ef295216d4273907eab9cac205637887d75 | 72774739eadc535e1aeed276e039e244d16cb86d | /MQTT.ino | 8c315b9594668b8197862c93c92a4e5bafe85889 | [] | no_license | xlogerais/esp8266-mqtt-sensor-sht30 | 3fabdf152843857b6c7377819ad1b9deb16765d3 | 41296db02448fb8ca244af9039be3b2fb4d55794 | refs/heads/master | 2021-01-21T14:33:42.808967 | 2017-06-24T15:48:05 | 2017-06-24T15:48:05 | 95,304,079 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | ino | void mqtt_connect(const char* server, const char* port, const char* name) {
Serial.println();
Serial.print("Connecting to MQTT server : "); Serial.print(server); Serial.print(":"); Serial.println(port);
mqtt.begin(server,atoi(port),wifi);
while (!mqtt.connect(name)) {
Serial.print(".");
delay(500);
... | [
"xavier@logerais.com"
] | xavier@logerais.com |
104d9309934035415f682e8a0b4b992254d6d3da | d47c341d59ed8ba577463ccf100a51efb669599c | /boost/variant/polymorphic_get.hpp | c693c510999a3ec7e77377979dde168b92ddd3ed | [
"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 | 5,006 | hpp | //-----------------------------------------------------------------------------
// boost variant/polymorphic_get.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2013 Antony P... | [
"giulio.eulisse@cern.ch"
] | giulio.eulisse@cern.ch |
6389e2fcd7c6742d269472abb53e431ed12b16e0 | c9b02ab1612c8b436c1de94069b139137657899b | /server/app/data/DataBase.h | c0fa78d2d98b2ed9a66d73070d1a8350b6a305a2 | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,769 | h |
#ifndef DATABASE_H_
#define DATABASE_H_
#include "Kernel.h"
enum {
COINTS_TYPE = 1,
WOOD_TYPE = 2,
FOOD_TYPE = 3,
IRON_TYPE = 4,
RESOURCE_TYPE = 5,
};
enum {
INTEGRA_TIME_CNT_INIT = 5,//整点/后勤奖励次数
PK_FIELD_CNT_INIT = 5, //竞技场次数
};
struct DataBase{
uint32_t uid;
uint8_t register_platform;//注册平台
uint32... | [
"178370407@qq.com"
] | 178370407@qq.com |
c6ba8d5667f063dcb4f0ae4b03756dae7bb0925c | 86a8184a35cc8a23f44c21827f21d99540d02f5b | /cocos2d-x-2.2.3/projects/touchball/Classes/scene/map/touchMap.cpp | c25366a9d073cd28061176b85383b7ea0dabe5da | [
"MIT"
] | permissive | jfjl/chengxu | 947b6f2c1347637dd10c672d8537d52672dd6054 | e05023c31173bb31bf341ec68605f29280cecb39 | refs/heads/master | 2021-01-22T11:58:30.695890 | 2014-07-08T11:50:23 | 2014-07-08T11:50:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,330 | cpp |
// touchMap.cpp
// ppball
//
// Created by carlor on 13-3-13.
//
//
#include "touchMap.h"
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
#include "ClientData.h"
#elif CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
#include "../../datas/ClientData.h"
#endif
touchMap::touchMap(void)
: m_PathFinder(NULL),
m_actionBalls(N... | [
"fangjing1034@sina.com"
] | fangjing1034@sina.com |
c19be88ca6252650e3e53f7d771a892aef126ba0 | deb996979262cd31a1086a415ad6f8971aae9a2a | /example1.cpp | c39a1f48189dba249634b8ebab9d9ae60d445704 | [] | no_license | harperchen/PinTaint | a881b3e2405497fb75b1cefa31b8c70b1775ab66 | 03cf3e009d3f7e4f7bee09ea474caa884604fb1e | refs/heads/master | 2022-12-02T10:26:40.658934 | 2020-08-20T16:25:21 | 2020-08-20T16:25:21 | 289,011,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,021 | cpp | #include <fstream>
#include <asm/unistd.h>
#include <list>
#include <iostream>
#include "pin.H"
using namespace std;
// http://shell-storm.org/blog/Taint-analysis-and-pattern-matching-with-Pin/
/* area of bytes tainted */
struct range
{
UINT64 start;
UINT64 end;
};
std::list<struct range> bytesTainted;
INT32 Us... | [
"harperchen1110@gmail.com"
] | harperchen1110@gmail.com |
98d477fbd02721cc612a3c126e7b204086027e5b | f082493a8cbf47dc9f44b390f3a96df850123e25 | /maxQOriginalCode/release/h-fuel-maxq.c | a2fa291fa77531a214430cc1cb37a8a729f716cd | [] | no_license | nakulgopalan/amdpTestRepo | 37d18372112378d85387537228137020e0518a3c | a4cc0d93943c8979b59439ef18027d5906dc7ba0 | refs/heads/master | 2020-02-26T15:27:36.730210 | 2016-07-21T16:18:58 | 2016-07-21T16:18:58 | 63,868,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,521 | c | // -*- C++ -*-
//
// Hierarchical Q learning maxq hierarchy for taxi task.
//
//
#include "predicate.h"
#include "taxi.h"
#include "fueltaxi.h"
#include "hq.h"
#include "parameter.h"
#include "hq-features.h"
#include "global.h"
#include <minmax.h>
#include <stdlib.h>
// --------------------------------------------... | [
"nakulgopalan@gmail.com"
] | nakulgopalan@gmail.com |
6c32692f04669eff50caeac51acd909c4d224cf0 | 2f511f3ebec034d49339e638253eeadb88072fab | /Facebook/Nov. 20th/BinaryTreePaths.cpp | 36ff9602fe355ba1101f914be6c9a23257ff117a | [] | no_license | Gaojie-Li/leetcode-cpp | 04b92ba22aecc98f7644101c5cd41003b7b1573b | a641048d47f3ef5303af624dd00bbc6d593d66a7 | refs/heads/master | 2021-01-19T04:52:12.881874 | 2016-12-04T20:50:17 | 2016-12-04T20:50:17 | 63,753,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
void binaryTreePath(TreeNode* root, string res, vector<string>& result) {
if (!root -> ... | [
"i.am.hya.li@gmail.com"
] | i.am.hya.li@gmail.com |
3c07acf389a95a850c03bfb4b9ed1aeca7522361 | 1bd97afce7323e1a3de011b7ff4a4c944a174c5a | /Tareas/T06-Transformaciones/T06-App-Transformaciones/src/main.cpp | caded7d4cc66cf8df1eaab63f08dd44a6fc50ef5 | [] | no_license | katriel18/CG-2020-I-BarrozoFigueroaOsti | 01aca4904c13dc62852406b17db17cf3d921f30f | 26e3f1ff4538d586ca8fad08079d6f8a7a5e1cb9 | refs/heads/master | 2022-11-16T21:45:29.172496 | 2020-07-21T14:22:12 | 2020-07-21T14:22:12 | 268,586,135 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 11,086 | cpp | //============================================================================
// Name : YING YANG
// Editado : Barrozo Figueroa Osti Katriel
//============================================================================
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
... | [
"katriel181920@gmail.com"
] | katriel181920@gmail.com |
412fb931ea43da506951eb48001804d18f24b688 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/preprocessor/detail/is_binary.hpp | f2180e54ee6d0da0f94bd1b473a701df8c5841e7 | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 1,271 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
af0c983c56eecc8ac9f2edd8717937590e622b42 | 98e86df1ec2841721f75c5c8474c2636de193fa8 | /Algorithm_in_topics/dp/game_based_dp/coins_in_a_line_II.cpp | 6bc73c4cb82368e19946213140c3c97e688819c2 | [] | no_license | cyscgzx33/Leetcode-Practice | 59bb7cf3a92e7fcaca2b0a0ad3ba2471a5effc8f | ce025a8e555344974611ab35ef4874e788bbd808 | refs/heads/master | 2021-06-26T22:02:14.437882 | 2020-10-23T21:10:58 | 2020-10-23T21:10:58 | 146,931,961 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | class Solution {
public:
/**
* @param values: a vector of integers
* @return: a boolean which equals to true if the first player will win
*/
bool firstWillWin(vector<int> &values) {
// write your code here
int n = values.size();
// f[i] indicates the max value dif... | [
"chenyus@umich.edu"
] | chenyus@umich.edu |
9ec4d397c47283ac34d530d35677de1974f3b56c | 99d37c9a6507b2cc2c65ec0b7366f0aa6d9b06f4 | /third_party/cc/absl/absl/random/distributions_test.cc | 53f5455edb1938c00cea69cbdbfb762d4e9992f9 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ahmedtd/ballistae | aa834f9109ea5f1226c8d3edd7b0456f4f0bc2e3 | 918e3007087c9b4dd118763c106eb5080d649705 | refs/heads/master | 2023-03-17T22:47:53.207953 | 2020-06-01T09:13:36 | 2020-06-01T09:14:13 | 345,562,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,820 | cc | // Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | [
"taahm@google.com"
] | taahm@google.com |
b659a79c04312aa3c10cf9c08fbb201839d82c6e | d0f614fcd9ec4e9ed7bf4bbae43c4e57339cf0f7 | /src/Resources.h | 67091e18b2684b6ebab75643e839c77038ef880c | [] | no_license | henne90gen/RacingToHell | 6f0cda167b6432016ae8629f37047762b5456df5 | 4b928478ecc7ef1f3d9714721ab02e0c22947733 | refs/heads/master | 2023-03-15T13:57:49.191425 | 2023-03-10T11:27:57 | 2023-03-10T11:28:02 | 51,105,446 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #pragma once
#include <optional>
#include <string>
#include <string_view>
#include "Platform.h"
struct Resource {
std::string resource_name;
int64_t last_modified = 0;
File file = {};
explicit Resource(std::string _resource_name);
std::string_view get_content(Platform &platform);
[[nodiscar... | [
"henne90gen@gmail.com"
] | henne90gen@gmail.com |
19fc9b37b62b6cfc456371ffbc9d8d71457f220a | ceb7431363e36a4698a93540cdeafcd9d9b315ad | /lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp | 0a20011c7dbf1b451d994a036687078823c5fa12 | [
"MIT"
] | permissive | primitivorm/latino-llvm | 8b5d8759271eb6c328cb4c81a2523bbecce10222 | 33c820aeef006b7190e347e0839cf4f268b70639 | refs/heads/master | 2023-08-02T06:15:42.365363 | 2023-05-05T13:28:32 | 2023-05-05T13:28:32 | 133,191,211 | 4 | 2 | MIT | 2022-03-31T01:39:29 | 2018-05-12T23:39:50 | C++ | UTF-8 | C++ | false | false | 30,008 | cpp | //===- IvarInvalidationChecker.cpp ------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"cibercafe_montero@hotmail.com"
] | cibercafe_montero@hotmail.com |
1932cbb600210678c38e43f96b0bc2565ce64344 | 1e70eb1fc33e88a0b2a08690d961cbd06ca5f0c2 | /Numerical methods/Krylov's_method/Метод Крылова/Нахождение собственных чисел.cpp | d9a4fe32f52a35493495c49ad16295771d5b6e4e | [] | no_license | LenaAlymova/LenaAlymova.github.io | c04d57cd62fc9dceeb0c4bc3655de02f15be3aad | 8033f6a480036322d57e366d72f4c1fb4ac919b9 | refs/heads/master | 2022-10-30T02:12:53.863782 | 2020-06-15T18:15:50 | 2020-06-15T18:15:50 | 258,787,717 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 780 | cpp | #include "Решение кубических уравнений.cpp"
using namespace std;
void FindingEigenValues(double *arrRootNumber,int n,int n2, double **initialMatrix,double **vectorC1)
{
double *x = new double[n];
double trA = 0.0;//Сумма главной диагонали
for(int i = 0; i < n2; i++)
{
trA += initialMatrix[i][i];//Изначальная ... | [
"anella05@gmail.com"
] | anella05@gmail.com |
90a7b5f453dc3c2a3588be7dd503b55a0d47fb27 | 1c8642d1903778d12c6c3a88a8e1254b1d6a25f7 | /pallindrome.cpp | f7d39638a220456bd83713d283b3795905afe484 | [] | no_license | Pushpankkatare/My-Project-Euler-Codes | 8ef26fb325e2636867fddc4ec963489fb3ef94e2 | 621af7247a019a97615a189266a63b169b966bb2 | refs/heads/main | 2022-12-28T08:51:26.751988 | 2020-10-08T11:41:04 | 2020-10-08T11:41:04 | 302,320,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int pallindrome(int k)
{
int rev=0,p=k;
//CHECKING FOR PALLINDROME
while(k!=0)
{
rev=(rev*10)+(k%10);
k=k/10;
}
if(p==rev)
{return 1;}
else
return 0;
}
int main()
{
long long n;
cin>>n;
... | [
"noreply@github.com"
] | Pushpankkatare.noreply@github.com |
98b88f6c5043721e8dbe406c8eb23d8bc3fbd162 | 2ba42799db544fc3233d9648e392620d4d96fc9a | /old/wrapper/mr3_host.cxx | ea751133a722ea5eab42a707b2e8f98503add943 | [] | no_license | mlochbaum/exafmm | f446d282fa14beb683e87c2460a7230cab7efafe | dabc3238aadf24df0f1ff8c27aa2e15e22cb744b | refs/heads/master | 2021-01-17T15:44:52.407030 | 2016-03-18T07:47:39 | 2016-03-18T07:47:39 | 54,066,859 | 1 | 0 | null | 2016-03-16T21:14:15 | 2016-03-16T21:14:15 | null | UTF-8 | C++ | false | false | 8,550 | cxx | #include <cstdlib>
#include <cstdio>
#include <cmath>
#include "mr3.h"
void MR3calccoulomb_ij_host(int ni, double xi[], double qi[], double force[],
int nj, double xj[], double qj[],
double rscale,
int tblno, double xmax, int periodicflag)
{
/* p... | [
"rioyokota@me.com"
] | rioyokota@me.com |
b581b74f997808ca4c2d8474cc67e8a7be89342d | 4f54fb00cfb3bed4e8132ce2e783c6d93fc9c7ca | /libc/src/stdio/printf_core/converter_atlas.h | 71354cc0b96ce6f772286b9f12e8ab3ec18c4be9 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | koparasy/HPAC | 357101325a32ba5e27bf211400d9501e9fc37e7b | 207b5b570375b9835d79c949b6efe33e7146fec2 | refs/heads/develop | 2023-04-14T04:36:50.098763 | 2022-08-24T17:48:58 | 2022-08-24T17:48:58 | 356,543,963 | 1 | 0 | null | 2022-08-26T02:09:59 | 2021-04-10T10:13:27 | C++ | UTF-8 | C++ | false | false | 1,513 | h | //===-- Map of converter headers in printf ----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"michaelrj@google.com"
] | michaelrj@google.com |
fb470da426d393d5f90a7ed9628fbd70311280c6 | 2f258bbe75cda9fe965f47f802e27b80a9c744f8 | /maximum_subarray.cpp | 0fe906de29ec86141b4904ebabfd4befbca4cae2 | [] | no_license | vancexu/LeetCode | 4641ca7924a1d7c18eff27fccdb9b6ded8ff78bc | 192dbde2eee188945029f375e8525f39ef4ab208 | refs/heads/master | 2021-01-10T21:28:23.677630 | 2014-11-18T20:26:58 | 2014-11-18T20:26:58 | 17,379,798 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | /* Find the contiguous subarray within an array (containing at least one number) which has the largest sum. */
#include <iostream>
using namespace std;
class Solution {
public:
int maxSubArray(int A[], int n) {
int res = A[0];
int curMax = A[0];
for (int i=1; i < n; ++i) {
cur... | [
"xuboweinju@gmail.com"
] | xuboweinju@gmail.com |
f49037ccb4892adba5fdad9f6dccf2874829b2de | 35160cf953bdfa5767f26c924e58d5b736dee361 | /prov1865/prov1865/소스.cpp | a61025fa54978beaadffdb407d204fbe1f13727d | [] | no_license | S4nop/Baekjoon | 518cd27d1adbf19098295f93952e97b9e204c895 | 770db7da3f79b4c9962ce67973a9504dc1d64c97 | refs/heads/master | 2023-02-13T09:47:30.664987 | 2021-01-22T05:56:48 | 2021-01-22T05:56:48 | 315,946,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | #include <cstdio>
#include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
#include <queue>
#define INF 10000000
using namespace std;
typedef pair<int, int> p;
queue<int> q;
vector<p> adj[505];
bool cango;
int dist... | [
"rshtiger@naver.com"
] | rshtiger@naver.com |
ceb8ba035af545a9dcbcc1db357b7e12abb09d87 | 3267258116d79f880371c1885a23d8781d0ae9ad | /game_of_life/icontroller.h | 0dd7a595c85e986c182ad8cd424c234321f366fc | [
"MIT"
] | permissive | XoDeR/game_of_life | d033249b148323076293497c56827e67ab8d6393 | ff6a75e09a60a13b2c17949af55fe2d5e8f1074d | refs/heads/master | 2021-01-16T18:10:12.656431 | 2016-03-29T23:50:30 | 2016-03-29T23:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #ifndef ICONTROLLER_H
#define ICONTROLLER_H
#include <memory>
class IController : public std::enable_shared_from_this<IController> {
public:
~IController() {}
virtual void ShowView() = 0;
virtual size_t CountLiveNeighbours(size_t x, size_t y) = 0;
virtual void ComputeNextIteration() = 0;
};
#endif//ICONTROLLE... | [
"todormihai@gmail.com"
] | todormihai@gmail.com |
321a4e1c0641d85794ada37fd465bedb27263b2d | a7843c857fc8ddbb9a2408cc04c799f2d695019f | /holiday.cpp | 41afab6118d1b6fdf1340f87a93387369136697b | [] | no_license | heilfitz/homework2 | e444317e558ec47c896ec3d7491fabbbccc94dc6 | bdb4e24a213b3b6451b17104c9819cb94435ce97 | refs/heads/main | 2023-08-23T09:14:58.732735 | 2021-10-11T07:01:47 | 2021-10-11T07:01:47 | 415,634,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,063 | cpp | /*
题目背景与描述
终于到了国庆了,小V开心的在思源湖上开船,他上午开150公里,下午开100公里,晚上和周末都休息(实行双休日),假设从周x(1<=x<=7)开始算起,请问这样过了n天以后,小V一共累计划了多少公里呢?
输入格式
输入两个整数x,n(表示从周x算起,经过n天,n在long int范围内)。
输出格式
输出一个整数,表示总共划了多少公里。
输入输出样例
Sample Input
3 10
Sample Output
2000
*/
//解析:关键在于判定休息的日期
#include <iostream>
using namespace std;
int main()
... | [
"noreply@github.com"
] | heilfitz.noreply@github.com |
487ab413eb2f486223bbad0b526e43151ad9f77f | a22196e847f4f5eaaed1d1a83b5fdb0e2cd3f352 | /include/engine/datafacade_provider.hpp | 99e5fad58f6d170617001fa63c7f700d910169c6 | [
"BSD-2-Clause"
] | permissive | schollz/osrm-backend | 671c3998e42eb65187416df94cb921376f728fc7 | 5b79640b44d15694a38cb9522ee97a9d675e438e | refs/heads/master | 2023-08-31T23:07:31.173592 | 2017-11-08T05:11:08 | 2017-11-08T16:26:47 | 110,091,441 | 1 | 0 | null | 2017-11-09T09:02:05 | 2017-11-09T09:02:05 | null | UTF-8 | C++ | false | false | 2,426 | hpp | #ifndef OSRM_ENGINE_DATAFACADE_PROVIDER_HPP
#define OSRM_ENGINE_DATAFACADE_PROVIDER_HPP
#include "engine/data_watchdog.hpp"
#include "engine/datafacade.hpp"
#include "engine/datafacade/contiguous_internalmem_datafacade.hpp"
#include "engine/datafacade/process_memory_allocator.hpp"
#include "engine/datafacade_factory.h... | [
"patrick@mapbox.com"
] | patrick@mapbox.com |
cc09407407637d6bf53a30836f7feee823521341 | a3254b9ee437a6fb55dde9037e29fe083b15fedd | /PYTHIA6/AliPythia6/AliPythia6.h | c5703224017ab208ff761fae24a39b72ecbc0c7a | [] | permissive | ALICEHLT/AliRoot | d768c99669c9794cf1b73f23076caa336dadb15b | 2c786600dd440722389cbb32f6397038fab71bbd | refs/heads/dev | 2021-01-23T02:10:15.531036 | 2018-05-14T15:16:37 | 2018-05-14T15:16:37 | 85,963,435 | 1 | 5 | BSD-3-Clause | 2018-04-17T19:04:17 | 2017-03-23T15:05:30 | C++ | UTF-8 | C++ | false | false | 5,215 | h | #ifndef ALIPYTHIA6_H
#define ALIPYTHIA6_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id: AliPythia.h,v 1.22 2007/10/09 08:43:24 morsch Exp $ */
#include <TPythia6.h>
#include "AliPythiaBase.h"
class Ali... | [
"ali.bot@cern.ch"
] | ali.bot@cern.ch |
91f1d213f0d33be0229e2498aa86a947e682268e | 675ff6d908bf86354e3c030e495df40fbee650ac | /discovery-examples/SEQ_mm/original.cc | 4b776885572ff82d4c22cd8d40ed7627462fbd57 | [] | no_license | chrisbrown1982/restoration | 099dc3f53bf18174cdcb8c5423528a41b8b0835f | 72daf0e6b559bdcef6ed3d037e3e9ea3cdd1fd7f | refs/heads/master | 2023-01-05T22:53:35.548379 | 2020-11-05T15:29:54 | 2020-11-05T15:29:54 | 254,417,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cc | /***
we detect a GEMM,
**/
#include <stdio.h>
#include <stdlib.h>
float matrix1[1000][1000];
float matrix2[1000][1000];
float matrix3[1000][1000];
int main() {
for(int i = 0; i < 1000; i++) {
for(int j = 0; j < 1000; j++) {
float c = 0.0f;
for(int k = 0; k < 1000; k++) {
c+=matrix... | [
"chrisb@Mac-mini.lan"
] | chrisb@Mac-mini.lan |
70ceda283683246909bc12a6b562825e3ef932d5 | a967c00721b9fe3e221bf60f8d1e3ec6f44eb130 | /src/dynamic_index/singlethread/art_tree_generic_index.h | 136ddc1db49bbc8ffa98f8ed12a57b7378ff35f6 | [
"Apache-2.0"
] | permissive | JolyZhang/IndexZoo | 128552f6a07cc967a94791ad88b767f57e5abe37 | 37d5be5273638e713a1e2ea47c6c474774a7cd3d | refs/heads/master | 2020-03-28T12:38:01.485102 | 2018-09-10T00:42:23 | 2018-09-10T00:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | h | #pragma once
#include "art_tree/art.h"
#include "base_dynamic_generic_index.h"
namespace dynamic_index {
namespace singlethread {
class ArtTreeGenericIndex : public BaseDynamicGenericIndex {
public:
ArtTreeGenericIndex(GenericDataTable *table_ptr) : BaseDynamicGenericIndex(table_ptr) {
art_tree_init(&contain... | [
"wu.yj0616@gmail.com"
] | wu.yj0616@gmail.com |
ce08a78113010a1604cde516603e6893c33211cc | b09920b9708b7436e7df144b35aa0f2fece05b9e | /Ad-Hoc/1546 - Feedback.cpp | 0928028f7ed89a6223b734034994768a05c7e6d7 | [
"MIT"
] | permissive | ahmedengu/URI-solutions | a964249ae80ce79a85423f848bb8b3a203021c73 | c4f1a0f9635d13407983a2c89e3307e68c38651c | refs/heads/master | 2021-01-17T14:26:31.341491 | 2020-08-11T18:29:58 | 2020-08-11T18:29:58 | 50,340,109 | 44 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include <iostream>
#include<cstdio>
#include<cmath>
#include<iomanip>
#include <cstdlib>
#include<cstring>
using namespace std;
int main() {
int n,x,k;
scanf("%d",&n);
while(n>0){
n--;
scanf("%d",&k);
while(k>0){
k--;
scanf("%d",&x);
switch(x){
case 1:
printf("Rolien\n");
break;
case ... | [
"noreply@github.com"
] | ahmedengu.noreply@github.com |
8e0611e08882661c2e84424fc3c42fec222ea1df | 90108215838410ae143212878d43375ef5245bf0 | /AtCoder/C++/AtCoder/abc138/d.cpp | 4a20e76301585aef140aacc930290fde2a3fbb9c | [] | no_license | officer/CompetitivePrograming | 1caa669d322984e490a8fdf7e225426b60cb2b33 | 522c155683027758ea72b7fadb7e3d072b2b1371 | refs/heads/master | 2020-06-28T15:55:23.039410 | 2020-01-09T07:12:06 | 2020-01-09T07:12:06 | 200,274,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include <iostream>
#include <algorithm>
#include <map>
#include <vector>
#include <set>
#include <bitset>
#include <unordered_map>
#include <queue>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
struct Node {
vector<int> to;
int score;
};
void dfs(int vertex, vector<Node> &nodes, ... | [
"kasaiso@amazon.com"
] | kasaiso@amazon.com |
27d07916f25636bcff134028f6c3775fb429bb36 | 4178989e42b66a44ea90a9aa19b0ade57a9e2d80 | /commands.cpp | e18f37f04e1f9ffd9365ea81492f4cdd036a35e2 | [] | no_license | pullasunil/CodeForces | 4505df4303f4199fc15b8cdc72b2aef8b2d92bf4 | bb8cdbc7f0193f9372556983e4afe5e38351fc42 | refs/heads/master | 2021-01-15T13:12:07.957045 | 2013-01-04T14:49:43 | 2013-01-04T14:49:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | #include <iostream>
#include <string>
#include <cstdlib>
#include <vector>
using namespace std;
vector<string> tokenize(string str){
int init = 0,i,length = str.length();
string curr;
vector<string> retval;
for(i=0;i<length;i++){
if(str[i] == '/'){
curr = str.substr(init,i - init);
if(curr != "") retval.... | [
"pathankhan.salman@gmail.com"
] | pathankhan.salman@gmail.com |
bf1ab84de032419b7200762e79cfb00f7461445c | 425063d3980a46dbe60a075436c3262fff92f655 | /src/wavelength_assignment_sub_problem.h | 740f302992ea611e03e1acb8ec6d1264e60113e5 | [] | no_license | eduardogama/rwba-problem | 4e21f5d8c07e40c219ab4cef9ceb0d5c8713c8db | 59d8dea5c770f4c44d6bab62239304a238407c64 | refs/heads/master | 2021-01-01T18:50:05.548984 | 2017-08-08T17:03:31 | 2017-08-08T17:03:31 | 98,442,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | h | #ifndef WAVELENGTHASSIGNMENTSUBPROBLEM_H
#define WAVELENGTHASSIGNMENTSUBPROBLEM_H
#include "path.h"
#include <iostream>
#include <climits>
#include <omp.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "lambda_control.h"
#include "hole.h"
class WavelengthAssignmentSubProblem {
public:
Wavel... | [
"eduardogama72@gmail.com"
] | eduardogama72@gmail.com |
c5976a86f85adae68f5ce4b017e96288dd03c0a2 | 9240ceb15f7b5abb1e4e4644f59d209b83d70066 | /sp/src/public/engine/SndInfo.h | 3a60b3e5195f615e62c8fd1f449d0209643131db | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Margen67/blamod | 13e5cd9f7f94d1612eb3f44a2803bf2f02a3dcbe | d59b5f968264121d013a81ae1ba1f51432030170 | refs/heads/master | 2023-04-16T12:05:12.130933 | 2019-02-20T10:23:04 | 2019-02-20T10:23:04 | 264,556,156 | 2 | 0 | NOASSERTION | 2020-05-17T00:47:56 | 2020-05-17T00:47:55 | null | UTF-8 | C++ | false | false | 1,667 | h | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef SNDINFO_H
#define SNDINFO_H
#ifdef _WIN32
#pragma once
#endif
class Vector;
#include "utlsymbol.h"
//-----------------... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
69df624188b15da8da31b98af0041c61ac68d65d | 388625bcd64f7b5493ebc7990f59455501a5e7a8 | /Arduino/I2C_Scaner/I2C_Scaner.ino | 26db5f83c3b9852e55e5b0dbe602d7a6fd5a96ba | [] | no_license | FatalErrror/Arduino-Motion-Caption | 070669c3374fd0adbd924e3c8740593e5d3057bf | 59a6f2bd132dc7915e5c067bf2574ee9475f7920 | refs/heads/main | 2023-02-19T22:39:06.348939 | 2021-01-25T14:03:25 | 2021-01-25T14:03:25 | 320,860,051 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | ino | #include <Wire.h> // подключим стандартную библиотеку I2C
#define addr 0x0D // I2C адрес цифрового компаса HMC5883L
void setup() {
Serial.begin(115200); // инициализация последовательного порта
Wire.begin(); // инициализация I2C
}
void loop() {
Wire.beginTransmission(addr); // начинаем связь с устройство... | [
"grunin200412@gmail.com"
] | grunin200412@gmail.com |
ab23f158023c04bf9f54857415b3758684fc378a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_log_2120.cpp | e84f7eed5a8b03ace0d1a86033ac5026cd3cdad1 | [] | 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 | 535 | cpp | fputs(
" proxy HTTP Basic authentication.\n"
"\n"
" --proxy-digest\n"
" Tells curl to use HTTP Digest authentication when communicating\n"
" with the given proxy. Use --digest for enabling HTTP Digest with\n"
" a remote host.\n"
"\n"
" If this op... | [
"993273596@qq.com"
] | 993273596@qq.com |
607a8019514915023dfa70ae9f68ef427202c71d | 0fef9cfbcb202abb1a40cbca01ba4e2755beed28 | /LeGO-LOAM/src/imageProjection.cpp | 996fe3c563e08a961dfc45378080ad41dacf051d | [
"BSD-3-Clause"
] | permissive | lliuguangwei/LeGO-LOAM | 9eebbec4558c27c5859be1862435f861570fde3f | ce39b29b0aa883e43b387c13df05a40725f991bf | refs/heads/master | 2020-04-01T13:14:26.958307 | 2019-02-24T13:09:33 | 2019-02-24T13:09:33 | 153,243,348 | 0 | 0 | BSD-3-Clause | 2018-10-16T07:41:28 | 2018-10-16T07:41:28 | null | UTF-8 | C++ | false | false | 17,562 | cpp | // Copyright 2013, Ji Zhang, Carnegie Mellon University
// Further contributions copyright (c) 2016, Southwest Research Institute
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redis... | [
"noreply@github.com"
] | lliuguangwei.noreply@github.com |
be68d24176b7cf52a1ff95afc0128b240b5cdc8a | 9d74109009f15b47d4dacf4a1afc67c218f22b88 | /src/Darksend.h | 6f82664bb4b6cc2aa152c7ae7c921d1fabb3d926 | [
"MIT"
] | permissive | cryptoghass/timeismoneycrypto | 45b9bf195df7d6a31b86407765099dc8c96fb7c8 | b6ba5d76dcc8bda13cd91331d2794ba5ca2349c4 | refs/heads/master | 2020-03-31T08:52:09.640298 | 2018-09-17T21:18:36 | 2018-09-17T21:18:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,842 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2017 The ALQO developers
// Copyright (c) 2017-2018 The TimeIsMoney developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/license... | [
"42586521+rmcpartner@users.noreply.github.com"
] | 42586521+rmcpartner@users.noreply.github.com |
2a09745048bb69469d1789f412a2757041bb824a | 14c2d3193d39e973e00df21351ed5d0186526dd2 | /ch10/ConsoleOutput.cpp | 440990e867fd78ff344372f52e89fda305e642c3 | [] | no_license | younnggsuk/cpp | f914b8deb6436b527615bf30ee0b040526648ca8 | 2b99d9e447ad7c91f49bbd38b4b18b74c0a98dac | refs/heads/master | 2020-05-19T08:43:58.955580 | 2019-05-04T17:58:53 | 2019-05-04T17:58:53 | 184,927,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <iostream>
namespace mystd
{
class ostream
{
public:
void operator<<(const char *str)
{
printf("%s", str);
}
void operator<<(char str)
{
printf("%c", str);
}
void operator<<(int num)
{
printf("%d", num);
}
void operator<<(double e)
{
printf("%g", e);
}
void operator<<... | [
"younnggsuk@naver.com"
] | younnggsuk@naver.com |
e35ae1c377a91032c9a486678f38967359d666f4 | 31b33fd6d6500964b2f4aa29186451c3db30ea1b | /Userland/Libraries/LibGfx/QOIWriter.cpp | 07d389fb58cd72464e746d9c10fe267350ab20dc | [
"BSD-2-Clause"
] | permissive | jcs/serenity | 4ca6f6eebdf952154d50d74516cf5c17dbccd418 | 0f1f92553213c6c2c7268078c9d39b813c24bb49 | refs/heads/master | 2022-11-27T13:12:11.214253 | 2022-11-21T17:01:22 | 2022-11-22T20:13:35 | 229,094,839 | 10 | 2 | BSD-2-Clause | 2019-12-19T16:25:40 | 2019-12-19T16:25:39 | null | UTF-8 | C++ | false | false | 6,598 | cpp | /*
* Copyright (c) 2022, Olivier De Cannière <olivier.decanniere96@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "QOIWriter.h"
#include <AK/String.h>
namespace Gfx {
ByteBuffer QOIWriter::encode(Bitmap const& bitmap)
{
QOIWriter writer;
writer.add_header(bitmap.width(), bitmap.height()... | [
"mail@linusgroh.de"
] | mail@linusgroh.de |
5639d5ecf882fe33dbc0affb37b674d139e87dba | c637ab9662be02f44bbcf16f4d26c9019cd70ceb | /moc/moc_QUpdateWin.cpp | b4d07ef11a74f1acb8290218c9e20002aaff60ff | [] | no_license | junagit/rns510_dtv | 54de294b96ffdbbd4243518791dad6d1b1c9f07b | 733646485d67fcbbba5773462dc8fed87bb6a448 | refs/heads/master | 2020-05-30T23:24:03.221330 | 2016-08-03T07:15:50 | 2016-08-03T07:15:50 | 64,822,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,785 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'QUpdateWin.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"michalj@juna.pl"
] | michalj@juna.pl |
f7fb56ddc606b49d4b71bd02c7df4accd61475d5 | 64149532267289ea48aa65ad13fc9b040c7640f6 | /Employee_Store.cpp | 91f7c574eb1dc99a3c4705ff8b0cc3f4e3e921ca | [] | no_license | cianmcateer/CPP_CA2 | 891cfb835d01778e6d2b7f7bad434fa67586d520 | 54b98f274d121615852c07b2e983b29bd1d8aa8f | refs/heads/master | 2021-08-29T11:12:37.746385 | 2017-12-13T20:50:21 | 2017-12-13T20:50:21 | 111,662,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,493 | cpp | #include "Employee_Store.h"
Employee_Store::Employee_Store(std::string path)
: employeeStore(read(path)) {}
/**
* Testing and backup data in case
* read file fails
* @author Cian McAteer
* @return backup
*/
std::vector<Employee*> Employee_Store::load() {
Office* o1 = new Office("Cian McAteer", 22, 40,"cian@email... | [
"cianmcateer@gmail.com"
] | cianmcateer@gmail.com |
ef780200ac313e1499983ebec9abb6db23014c9e | e32b348ad5c87eab6600be4ffb659e66032b9008 | /0004. Median of Two Sorted Arrays.cpp | b8ba84745bceefc53ecda892f0a05d417eca590c | [] | no_license | joyjwlee/LeetCode | 889abe907cf5a6a360f1a4f2b0538b8f5dff9758 | c944fe374998a98e221244245173da64213a681f | refs/heads/master | 2021-08-18T07:43:10.155761 | 2021-07-05T04:32:44 | 2021-07-05T04:32:44 | 241,488,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | class Solution {
public:
double findMedianSortedArrays(vector<int> &nums1, vector<int> &nums2) {
// combine the vectors and sort
nums1.insert(nums1.end(), nums2.begin(), nums2.end());
sort(nums1.begin(), nums1.end());
// if odd size
if (nums1.size() % 2 != 0)
r... | [
"joyjwlee@gmail.com"
] | joyjwlee@gmail.com |
a8d5ec29cde273cb953ba0f098b1736c7929e86e | d9142bdff80cad8a1bf5a138f55c442a04e2674d | /1939.cpp | 80d3fc33749ebc24fe316ff286bbf17f1bc6b417 | [] | no_license | epicurean21/Algorithm | 280a84d5f73db7787eb2589a3a37901983496691 | d5fa2f0318d45bdd17c5ccda9e72468b4711100c | refs/heads/master | 2023-07-22T05:30:47.982546 | 2023-07-09T06:22:09 | 2023-07-09T06:22:09 | 199,615,976 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | #include <iostream>
#include <vector>
#include <cstring>
using namespace std;
#define MAX 100001
#define INF 1000000000
int N, M, a, b, w, start_point, end_point, ans;
bool visited[MAX];
vector<vector<pair<int, int>>> map(MAX);
bool dfs(int cur, int w) {
visited[cur] = true;
if(cur == end_point)
retur... | [
"jm_company@naver.com"
] | jm_company@naver.com |
c24d5fc0eb16c16a6a35d9cf2c3c83ddd57da9e9 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/core/css/cssom/css_scale.h | 76bcf7736e6497dca3e3807950c06a2d3f4e2b41 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 2,727 | h | // Copyright 2016 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 THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_SCALE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSSOM_CSS_SCALE_H_
#include "base/macros.h"
#i... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d54c10d55cea79289b0a8c60a333500071679808 | a78ad1040cd9757437c591bb5dad4fb8347bc8fc | /nik/sources/kernel/lib/logic/LogicCooling.cpp | c540553cbde45ba85a0cc33e73caf4045a50c25d | [] | no_license | imptz/Uso | 4e1488f94997c71cbc1a006ddc974e356767be8a | 55caaf5af59c6e1872e91c8d3b16d999ffbe25c9 | refs/heads/master | 2020-03-26T15:30:23.469236 | 2014-08-13T05:16:41 | 2014-08-13T05:16:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,137 | cpp | #include "LogicCooling.h"
#include "../DEBUG/serialDebug.h"
#include "../extension/subsystems/monitoring/monitoringSubsystem.h"
const char* LogicCooling::CONFIRMATION_TEXT = LOCAL_CONFIRMATION_USO_LOGIC_COOLING_TEXT;
const char* LogicCooling::CANCEL_LOG_TEXT = LOCAL_LOGIC_COOLING_CANCEL_LOG_TEXT;
const char* LogicCool... | [
"ilja@fr.fr"
] | ilja@fr.fr |
807b6c3c2489679e35df18d0d42d06f3eacf5027 | a1344869f50d5c9515fb532bd0a2a90f2f7c9f72 | /Joystick/Joystick.cpp | 9a58e029370511de07117c3c40fd8c7b8b4efd0c | [] | no_license | ipewzner/Joystick | 925df65da30a30efdeb8d4c8c301f4894c62a434 | cb9589efc79d41910a2d93b7064f97a518d165ed | refs/heads/master | 2023-08-04T22:13:43.716336 | 2021-09-29T11:46:17 | 2021-09-29T11:46:17 | 411,644,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | cpp | #include "Joystick.h"
Joystick::Joystick()
{
for (size_t i = 0; i < 3; i++)
{
max[i] = -1500;
min[i] = 1500;
}
}
void Joystick::sendJoyReport()
{
Serial.write((uint8_t*)&report, sizeof(joyReport_t));
}
void Joystick::setButton(uint8_t button)
{
uint8_t index = button / 8;
uint8_t bit = button - 8 * index... | [
"48483845+ipewzner@users.noreply.github.com"
] | 48483845+ipewzner@users.noreply.github.com |
f337c604611b2bdda26cc9cac5f16e62c4b1d1b2 | b401c03dba939316419dcd52006ba669bb35c432 | /4thSemesterActivities/Project/beagleKombat.cpp | c738b57645fc9341d30669e896815b026bcd5079 | [] | no_license | memo-saldana/C-small-projects | 46deab93db191a59a33617b6464b36411ff3982c | aa03f0539f7c089a28b0def920d8dccb4b3e1e25 | refs/heads/master | 2021-06-08T11:43:39.142435 | 2019-12-19T02:00:48 | 2019-12-19T02:00:48 | 110,714,520 | 3 | 2 | null | 2019-02-20T16:50:36 | 2017-11-14T16:18:23 | C++ | UTF-8 | C++ | false | false | 846 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <string>
using namespace std;
int main() {
vector<int> values;
int l, k, data, result=0;
string keys;
char prev;
cin>> l >> k;
for(int i = 0; i < l; i++)
{
cin>>data;
values.push_back(data);
}
cin>>keys;
prev = keys[0];
pr... | [
"memo.sal98@gmail.com"
] | memo.sal98@gmail.com |
e0bdb7c7a0d85bb922e0f546153e3006c440225c | 43a8e7435ce1cb38a7bb07b3cd7400c69da05345 | /src/XY_LIB/charuco.hpp | 6e37916b38f42434f506f15dba994e5be0b32020 | [] | no_license | zhanglei8411/DemoFlight | 01d116b01cc123a480296c465021fc31fae22555 | 4a9f5d0dd66c286275857fe1b6366730517055a0 | refs/heads/master | 2021-01-10T01:44:11.775239 | 2016-03-29T06:41:56 | 2016-03-29T06:41:56 | 48,409,681 | 1 | 2 | null | 2016-03-05T15:03:09 | 2015-12-22T04:08:55 | C++ | UTF-8 | C++ | false | false | 14,982 | hpp | /*
By downloading, copying, installing or using the software you agree to this
license. If you do not agree to this license, do not download, install,
copy or use the software.
License Agreement
For Open Source Computer Vision Library
(3-clause BSD Licens... | [
"zhanglei8411"
] | zhanglei8411 |
77ff25705c5ca27ebd6302d2b0074e60d81e9826 | d7a3eb1e4b9eb56480afdc5a4b4988ad46a5ac62 | /Vivado/SDR_Full/test_board/vivado/test_board.srcs/sources_1/bd/zsys/ip/zsys_xlconstant_3_0/sim/zsys_xlconstant_3_0.h | 6dc4346c839c95c6db94307231fcf1acf91555b7 | [] | no_license | mfkiwl/Microwave-SDR | 7d08870fc9cec46de844fca37fa03783b1e881ca | 1e79ae79361bdff754cc055453d85acd0b7f4dbb | refs/heads/main | 2023-08-23T14:05:34.294368 | 2021-10-23T20:31:27 | 2021-10-23T20:31:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,658 | h | // (c) Copyright 1995-2014 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | [
"dan.m0wut@gmail.com"
] | dan.m0wut@gmail.com |
cd69282c56f3842dee799dc297972b146661fe40 | 1a84606d22123496db6e83b563d5ae445ffd3195 | /src/SwaggerComponent.hpp | 496923cf49b97cd94364229ebe15d66e4768fdc0 | [
"Apache-2.0"
] | permissive | oatpp/example-mongodb | eeb01f28281cddc676cb4dc11fd8e88b901dc5c4 | 52bc412115dfdceb35e6e2f971ab32b00c1b21a8 | refs/heads/master | 2023-09-06T08:39:50.707930 | 2021-10-25T22:03:18 | 2021-10-25T22:03:18 | 267,971,084 | 10 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | hpp |
#ifndef example_oatpp_mongo_SwaggerComponent_hpp
#define example_oatpp_mongo_SwaggerComponent_hpp
#include "oatpp-swagger/Model.hpp"
#include "oatpp-swagger/Resources.hpp"
#include "oatpp/core/macro/component.hpp"
/**
* Swagger ui is served at
* http://host:port/swagger/ui
*/
class SwaggerComponent {
public:
... | [
"lganzzzo@gmail.com"
] | lganzzzo@gmail.com |
555792167d168e3e3269f2da34521d085bf16fec | c34f46ea941aa42a3c7c976d70cc987684d988b5 | /HW7/ResultSet.cpp | e45ed9157793a69493b8fdf7e50383c168a4e5a5 | [] | no_license | emperorbyl/PeerReview | c613dda92b5c8beb5c4412068adc7b1200f823d4 | 78d182aaa586af30b731534dd9abb1d6896cd909 | refs/heads/master | 2021-01-20T03:29:14.129404 | 2017-04-27T02:26:37 | 2017-04-27T02:26:37 | 89,545,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | //
// Created by Justin Fairbourn on 4/23/2017.
//
#include "ResultSet.h"
const void ResultSet::print(std::ostream &out){
for(int i = 0; i < results->getSize(); i++){
KeyValue<std::string, std::vector<std::string>> *thisPair;
thisPair = results->getByIndex(i);
out << thisPair->getKey() << ... | [
"justin.fairbourn@gmail.com"
] | justin.fairbourn@gmail.com |
5fdc595de272340148db0335aab8a431ad138ca2 | 08c64f2a7d75101c2bc78bcfdce98dafe5f49523 | /ShoppingList.h | 0ceb7aad6e8429177924f47f2db70ac0144b1cff | [] | no_license | TommasoCapanni/ProgettoListaSpesa | 868267d6a1ed7810b2911e304e0099b161e28f7c | ae2c707de878f553d59329273590a61d1ae4a55f | refs/heads/master | 2023-06-24T00:48:43.319512 | 2021-07-23T15:54:10 | 2021-07-23T15:54:10 | 385,278,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | h | //
// Created by Tommaso Capanni on 12/07/2021.
//
#ifndef PROGETTOLISTASPESA_SHOPPINGLIST_H
#define PROGETTOLISTASPESA_SHOPPINGLIST_H
#include <memory>
#include "Subject.h"
#include "Articolo.h"
#include "NegativeNumberException.h"
class ShoppingList : public Subject {
public:
explicit ShoppingList(std::string ... | [
"tommaso.capanni@alice.it"
] | tommaso.capanni@alice.it |
81bd239c5b1821b3c8289e11d25c22dc2d613b63 | 9fd12a8116a34ad534c66280d7047aac4e149bfb | /jsb-default/frameworks/cocos2d-x/tools/simulator/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp | 4eb5c3d66865012e9b1de102fb9eafac94f5d318 | [
"MIT"
] | permissive | noneGMJ/Cosos_try | b1c90320e0e138de46e646c16a81851110b16e31 | 500102549c74c194dde77331e97807045c9821ca | refs/heads/master | 2020-04-13T03:47:16.230320 | 2018-12-24T02:52:59 | 2018-12-24T03:00:17 | 162,942,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,333 | cpp | //
// RuntimeJsImpl.cpp
// Simulator
//
//
#include "RuntimeJsImpl.h"
#include "cocos/base/CCDirector.h" // 2dx engine
#if (COCOS2D_DEBUG > 0) && (CC_CODE_IDE_DEBUG_SUPPORT > 0)
#include "runtime/ConfigParser.h" // config
#include "runtime/Runtime.h"
#include "runtime/FileServer.h"
// js
#include "scrip... | [
"none736423010@icloud.com"
] | none736423010@icloud.com |
c63140dabb60ee70c89441728e152e3d1c785111 | 0fd6c95a57373850d5fc79d3bd019619af87bb84 | /main.cpp | e8ceb00d2db648f7df02a8fa7b67905951aaaacd | [] | no_license | lYC92/Evil_Hangman | 0f6ae71a0271529b518bc3cc095d7bdbbe8823d9 | 0b3b6e5f5984f35a9a9d549174910b543a9fb7ce | refs/heads/master | 2020-11-28T07:55:53.461226 | 2016-11-15T03:28:54 | 2016-11-15T03:28:54 | 73,506,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,121 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include <iterator>
#include <algorithm>
#include <map>
using namespace std;
const string fileName = "dictionary.txt";
class notSameLength
{
size_t length;
public:
notSameLength (size_t length) : length(length) {}
bool operator(... | [
"liyangchuan654@gmail.com"
] | liyangchuan654@gmail.com |
925833f89f21fd55b466c1a99f614d5c8d36b57b | bea698595acf98c96089a202c3606090c5bfeab2 | /Server/Core/Debug/DLSources/AMMO/AMMO-1/Ammo1.h | a5b36d30b63541c923d6ca4d51ba499fe3c3048f | [] | no_license | ekersale/RType | 1b904a1094820c150134d1152308c5874ec40d1a | 1ce77e9eb69efeeeebf83a3d049cc96ab5ce804f | refs/heads/master | 2020-12-25T10:34:32.068425 | 2016-08-01T13:05:57 | 2016-08-01T13:05:57 | 62,563,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | h | #ifndef AMMO1_H_
#define AMMO1_H_
#include "IAmmo.h"
class Ammo1 : public IAmmo
{
public:
Ammo1();
~Ammo1();
DRect calcPos(DRect);
e_type getType() const;
int getPower() const;
void setMovement(int);
private:
int _movement;
};
#endif | [
"ekersale@gmail.com"
] | ekersale@gmail.com |
2cff411c32abba97a646e48baee527caca084c7e | 118aef490b85fedd0e85fbcd63b1ed1590b4e932 | /src/vkkp2p/vkkp2p/src/libpeer/UACChannel.cpp | 503461b5ec5117a1e588f7944b1695d55d1d031b | [] | no_license | wsljmlin/p2p | 12ce3cb77ef9c1453d81d0c964c1ea94b69dbd23 | bb526637865a727d8ea400162c6ff4431736cd04 | refs/heads/master | 2020-05-25T15:36:21.604600 | 2017-03-14T12:22:58 | 2017-03-14T12:22:58 | 84,943,893 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,238 | cpp | #include "UACChannel.h"
#include "Util.h"
UACChannel::UACChannel(void)
{
m_last_active_tick = GetTickCount();
}
UACChannel::~UACChannel(void)
{
}
int UACChannel::attach(SOCKET s,sockaddr_in& addr)
{
UAC_sockaddr uac_addr;
uac_addr.ip = ntohl(addr.sin_addr.s_addr);
uac_addr.port = ntohs(addr.sin_por... | [
"wangshuanglongwsl@126.com"
] | wangshuanglongwsl@126.com |
4798309f8877dcff2a8cf7dc672f713717a6a071 | e7c0c64db63eb51b79a02f78fa9c2dcb61b9664d | /imx/display/display/Composer.h | 2b69ed7b8b56e16c8861914225d2155c87a8411e | [
"Apache-2.0"
] | permissive | ivan-kits/android_nxp_opensource | 3839ebbba74542781cd3d6064caed80b61d8f617 | 17fe0cb699007eca790085be141e2687ab065211 | refs/heads/master | 2023-07-27T11:41:31.606785 | 2019-03-13T08:10:12 | 2019-03-13T08:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,329 | h | /*
* Copyright 2017 NXP.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | [
"asayyah@boundarydevices.com"
] | asayyah@boundarydevices.com |
28d1243f706761b2e1702c5ba0706f59c5f07d68 | 1026bf6ee3f34c85f017e5cee2105f81ec043e35 | /code/svec/src/rop-orig/include/BottleWrapper.h | 2c3bd2be51d4209cc9373e40d20a3e84d973dbbd | [] | no_license | martinkellner/master-thesis | 4557a6876f6da49b70516212307ca789781e099f | 71d39c706fb216ccc3224f20270eaaf42fd33532 | refs/heads/master | 2022-01-06T22:41:51.574314 | 2019-06-04T20:04:27 | 2019-06-04T20:04:27 | 122,238,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | h |
#pragma once
#ifndef BOTTLE_WRAPPER_H
#define BOTTLE_WRAPPER_H
#include <yarp/os/Bottle.h>
using namespace yarp::os;
class BottleWrapper {
//Bottle getBottle(char* s);
public:
static Bottle prepareBottle(char *szTypes, ...);
//creation
static Bottle box(double sx, double sy, double sz, ... | [
"martinkellner@github.com"
] | martinkellner@github.com |
5aa577b8875d254acbfb765f2b695aa471c9ef81 | 6240d8c171d182e969ec24b9e5f88a8137cfebce | /UVa/12250 - Language Detection.cpp | 20f1eb26ba469ee018c98a9b4976ab1c3ba5439f | [] | no_license | BillySilver/Online-Judge | 04e93d05e054df33c054cdfdd1cb89145815ae8b | 2d2ba064b01007f9a1a99f427595ae6f807a3d5e | refs/heads/master | 2021-07-12T22:21:10.389235 | 2017-10-14T21:48:38 | 2017-10-14T21:53:47 | 106,046,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <iostream>
#include <cstdio>
#include <string>
std::string maps[6][2] = {
{ "HELLO", "ENGLISH" },
{ "HOLA", "SPANISH" },
{ "HALLO", "GERMAN" },
{ "BONJOUR", "FRENCH" },
{ "CIAO", "ITALIAN" },
{ "ZDRAVSTVUJTE", "RUSSIAN" }
};
int main() {
int cases = 0;
std::string s, lang;
... | [
"BillySilver@users.noreply.github.com"
] | BillySilver@users.noreply.github.com |
20ce9f7bd71b8256d6762327761d0a4deb0887e7 | 46e1d567fcee62b4a726a505e53aeed8271cf84a | /Algorithm_Study/baekjun/baek_16235(tree_investment).cpp | 1186acf108584c2cdd7c79abf5961c68d451d728 | [] | no_license | ahnus123/algorithm-cpp | c88e1bc55cce477cec79631374a9401920d248bb | 0eab3407b352f6b8d0be022b7095cc3ea374c77b | refs/heads/master | 2022-12-02T22:24:20.309413 | 2020-07-28T13:59:55 | 2020-07-28T13:59:55 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,280 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct Tree {
int x;
int y;
int z;
};
void p(vector< vector<int> > vec) {
for (int i = 0; i < vec.size(); i++) {
for (int j = 0; j < vec[i].size(); j++) {
cout << vec[i][j] << " ";
}
cout << "\n";
}
cout << "\n";
}
bool c... | [
"ahnus123@gmail.com"
] | ahnus123@gmail.com |
29a9180412b87529ffcffd9796f416e413746951 | 64763bf14f8666380a219210a4de75187bd31d58 | /P02.02/TreeNode.h | fea14165a0986b81c8f378d3c570ea6aa57cd788 | [] | no_license | denis-adobe/ADS2017 | cb893c1fa6b15a91c53edfb0347a2530b1519462 | ec68e2972c4534f2aca125a43db70dade8890e0b | refs/heads/master | 2021-01-19T20:47:50.509359 | 2017-08-13T13:39:01 | 2017-08-13T13:39:01 | 88,554,319 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 407 | h | #pragma once
#include<string>
class TreeNode
{
int NodePosID;
int NodeID;
std::string Name;
int Alter;
double Einkommen;
int PLZ;
TreeNode *links;
TreeNode *rechts;
public:
TreeNode();
~TreeNode();
std::string getName();
int getAlter();
double getEinkommen();
int getPLZ();
void setName(std::string);
voi... | [
"denis-bd@outlook.de"
] | denis-bd@outlook.de |
dc8bc173b55e93945d7030938e776375a7aca79d | bc1d68d7a7c837b8a99e516050364a7254030727 | /src/POJ/POJ1157 LITTLE SHOP OF FLOWERS.cpp | 020c7c5a780b1d656d9d2e1cf9384435e9fdfd52 | [] | no_license | kester-lin/acm_backup | 1e86b0b4699f8fa50a526ce091f242ee75282f59 | a4850379c6c67a42da6b5aea499306e67edfc9fd | refs/heads/master | 2021-05-28T20:01:31.044690 | 2013-05-16T03:27:21 | 2013-05-16T03:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | /*******************************************************************************
# Author : Neo Fung
# Email : neosfung@gmail.com
# Last modified: 2012-03-16 20:11
# Filename: POJ1157 LITTLE SHOP OF FLOWERS.cpp
# Description :
******************************************************************************/
#ifdef... | [
"neosfung@gmail.com"
] | neosfung@gmail.com |
81d4c14b6324ebf4e57ddb8d3e0ff1dbe95b7370 | 47928449f08c336c9e21b5387f7522d531a48fb8 | /init.cpp | 6699a63bbd1b0bfd0077f00f3ae04a497941b4da | [
"Apache-2.0"
] | permissive | lanceleefeng/TomatoDownUI | f001f14029c65e439064e0e4f939f8b65ebdf21b | a71ba0905aa365cee0d1f48a6b6659bb36394b5b | refs/heads/master | 2022-11-29T09:35:58.450658 | 2022-11-20T17:29:48 | 2022-11-20T17:29:48 | 99,590,513 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | #include <QtSql>
#include "db.h"
#include "init.h"
Init::Init()
: m_success(false)
{
QString connectionName = "tomato_";
static DB& db = DB::instance(connectionName);
QString sqlCreateCountDownTable = "create table if not exists t_count_down("
")";
QString sqlCreateMusicTable = "cre... | [
"lanceleefeng@sina.com"
] | lanceleefeng@sina.com |
cc98e9b4278bece4040b885da8b3b37e6aaebc67 | 1218f0e55768af3c39e4f643ce4e0799c10f19da | /flipcoin.cpp | 154b55a3d6de2827c58c606fd099ec90a6fa2683 | [] | no_license | ravinderdevesh/codechef | a5c35ea185663506f5e263c05e8262e5106802d8 | f3bec3e9691afb552bf3d70e9582947958b20243 | refs/heads/master | 2021-01-19T19:01:49.612685 | 2015-02-21T16:37:44 | 2015-02-21T16:37:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | #include <iostream>
#include <stdio.h>
using namespace std ;
void flip(int node , int a , int b , int i , int j , int * m) {
if(b < i || a > j) {
return ;
}
if(a <= i && b >= j) {
if(m[node] == 0) {
m[node] = 1 ;
}
else if(m[node] == 1) {
m[node] = 0 ;
}
else {
flip(2 * node , a , b , i , (i + ... | [
"amangoeliitb@gmail.com"
] | amangoeliitb@gmail.com |
4649cb7e9ebdf80f19a2a5fcb306f73de591c545 | 553a22eb54b2bc5df030d0c72d4a74ac4003aa4e | /tahook.h | 3dddc5ce398b30ca8a0bd9f8ceae537cd53c77f9 | [] | no_license | jchristi/taddraw | d2cffaae01c660351e0f56235671e9d2fad6e0a1 | b52868b1f5ffede884c9c0ea46fb11b105d24f2b | refs/heads/master | 2016-09-06T14:36:20.774557 | 2015-05-30T16:11:35 | 2015-05-30T16:11:35 | 35,358,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,896 | h | #ifndef tahookH
#define tahookH
#include "tamem.h"
#define ShareMacro 1
#define DTLine 2
#define ScrolledDTLine 3
#define DTRing 4
#define SCROLL 10000
struct QueMSG
{
UINT Message;
WPARAM wParam;
LPARAM lParam;
};
class InlineSingleHook;
typedef struct tagInlineX86StackBuffer Inline... | [
"xpoy@d74ebf05-6d01-4e7b-8b90-17afc8ece2ee"
] | xpoy@d74ebf05-6d01-4e7b-8b90-17afc8ece2ee |
0b2a31bc9f72d572c71604ab4807ae797dcb671a | ae2b5043e288f6129a895373515f5db81d3a36a7 | /xulrunner-sdk/include/nsIDOMXPathResult.h | d5307d3e234d2b4f5968952647c0172c897fb277 | [] | no_license | gh4ck3r/FirefoxOSInsight | c1307c82c2a4075648499ff429363f600c47276c | a7f3d9b6e557e229ddd70116ed2d27c4a553b314 | refs/heads/master | 2021-01-01T06:33:16.046113 | 2013-11-20T11:28:07 | 2013-11-20T11:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,662 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr_lx_bld-0000000000/build/dom/interfaces/xpath/nsIDOMXPathResult.idl
*/
#ifndef __gen_nsIDOMXPathResult_h__
#define __gen_nsIDOMXPathResult_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to includ... | [
"gh4ck3r@gmail.com"
] | gh4ck3r@gmail.com |
f58ffee99aa4ef99e9dc7af5cb04747a3bdd23e2 | 44243644a043acf539498840d5e5ae8df20a1fe9 | /Section 17/parallel/parallel.cpp | 5eba8a8f1031d907ada665d600cb16d69d670998 | [
"MIT"
] | permissive | tiagogomesti/beg_mod_cpp | 37365b88c54eccd86b1befb1f705c56dc7cff367 | f5fbeda349cf3f1894b7e2bef495ec0a4a2fa1b5 | refs/heads/main | 2023-06-07T03:18:49.106866 | 2021-06-12T08:39:06 | 2021-06-12T08:39:06 | 381,865,204 | 0 | 0 | MIT | 2021-07-01T00:24:17 | 2021-07-01T00:24:16 | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include <chrono>
#include <iostream>
#include <random>
#include <string_view>
#include <vector>
#include <execution>
class Timer {
std::chrono::steady_clock::time_point m_start ;
public:
Timer():m_start{std::chrono::steady_clock::now()} {
}
void ShowResult(std::string_view message = "") {
auto en... | [
"noreply@github.com"
] | tiagogomesti.noreply@github.com |
554eb4f5dfeff541e7837c53da7a91cea354a9b4 | 9daef1f90f0d8d9a7d6a02860d7f44912d9c6190 | /Leetcode/Medium/36_valid_sudoku.cpp | 4e50d9d4d316bc1b0cb7154feb8537be6a8f6f16 | [] | no_license | gogokigen/Cpp17-DataStructure-and-Algorithm | b3a149fe3cb2a2a96f8a013f1fe32407a80f3cb8 | 5261178e17dce6c67edf436bfa3c0add0c5eb371 | refs/heads/master | 2023-08-06T10:27:58.347674 | 2021-02-04T13:27:37 | 2021-02-04T13:27:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | cpp | /*******************************************************************
* https://leetcode.com/problems/valid-sudoku/
* Medium
*
* Conception:
* 1.
*
* Determine if a 9x9 Sudoku board is valid.
*
*
* Example:
*
* Key:
* 1.
*
* Reference:
* 1. https://leetcode.com/articles/valid-sudoku/#
*
**************************... | [
"ziv.wang.tw@gmail.com"
] | ziv.wang.tw@gmail.com |
14a1601ea10629f7206566423dcfc0165fbb4d0f | d3ff0b1019c4a7bc8d7235bb6807ee75287d1405 | /src/imgui.cpp | e8aea0929b3331c920433f0a8e4daadd52a140c7 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | traverseda/mahi-python | 6d86b4b9d2eac08d99ff076074153f668becfdbc | cc02da6b25599001859695c34a0f9ea672f1842f | refs/heads/master | 2022-11-26T14:57:38.170379 | 2020-07-28T13:47:34 | 2020-07-28T13:47:34 | 280,937,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,303 | cpp | /*
Copyright (c) 2017-2018 Stanislav Pidhorskyi
Copyright (c) 2019-2020 Joel Linn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to us... | [
"jl@conductive.de"
] | jl@conductive.de |
8f70909888b41cb5cb81dea5af9fdd33328cd6cd | 37b30edf9f643225fdf697b11fd70f3531842d5f | /components/shared_highlighting/core/common/shared_highlighting_features.cc | e14e462010e647823093a2765bd6197337c09cbc | [
"BSD-3-Clause"
] | permissive | pauladams8/chromium | 448a531f6db6015cd1f48e7d8bfcc4ec5243b775 | bc6d983842a7798f4508ae5fb17627d1ecd5f684 | refs/heads/main | 2023-08-05T11:01:20.812453 | 2021-09-17T16:13:54 | 2021-09-17T16:13:54 | 407,628,666 | 1 | 0 | BSD-3-Clause | 2021-09-17T17:35:31 | 2021-09-17T17:35:30 | null | UTF-8 | C++ | false | false | 1,262 | cc | // Copyright 2021 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 "components/shared_highlighting/core/common/shared_highlighting_features.h"
#include "base/feature_list.h"
namespace shared_highlighting {
con... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
57713a36dba9626926b355517ce999bbd98abbdc | 1928074ebb26f792c65f7fea9d3487ed67d23872 | /Codeforces/CF660E.cpp | c21913788278a5320ead9dfa5894f3586775d863 | [] | no_license | hahaschool/playground | b9867fc8aaafa879609192668e2dbbc4e0a0a2cf | e2dec3435339f0ac225494f45452df605a1f5f99 | refs/heads/master | 2020-04-06T06:36:10.467586 | 2017-06-12T16:42:52 | 2017-06-12T16:42:52 | 51,774,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | cpp | //
// CF660E.cpp
// playground
//
// Created by 張正昊 on 5/9/2016.
// Copyright © 2016 Adam Chang. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include <algorithm>
#include <queue>
#include <vector>
#include <cstdlib>
#include <string>
#include <cstring>
#include <ctime>
#include <iomanip>
#includ... | [
"hahaschool.wing@gmail.com"
] | hahaschool.wing@gmail.com |
7ffa838da731b180633893de29798ee9657bdb4b | 14c93742dafd5d7a1f594e9d49826d1f1a66d581 | /include/sb/application.h | 43976d7cdaad648ebae08c9c6596f9c214014e8b | [
"MIT"
] | permissive | teemid/learning-opengl | 17d48f1a672fdd0f9f9d9ae102c80db20d1eda38 | ebcd7e00e394b565c93e8e4e5af980e558651213 | refs/heads/master | 2020-03-15T01:59:08.096215 | 2018-05-02T21:21:01 | 2018-05-02T21:21:01 | 131,907,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | h | #ifndef OPENGL_APPLICATION_H
#define OPENGL_APPLICATION_H
class Application
{
public:
virtual void startup() { };
virtual void render(double currentTime) = 0;
virtual void shutdown() { };
};
#endif | [
"emilgrunt@gmail.com"
] | emilgrunt@gmail.com |
26a36a5817f031ad3f6a2fcff4cd087979aee5b8 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Pate_02_functions.cpp | 9b4871dd10df08d608a0b7ac165b7efdb3ef624f | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,719 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.FoodItem.OnR... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
bfd8a1dba97064d75def8e13c0a0061802c412e7 | 966c376e708193a26687211b36b6bd5886b9f92f | /Kumar Ayush/2016_Ass2/Booking Agent/booking_agent.h | af46c5d70198b2f34ecacad1249ac97548ab0cef | [] | no_license | palmerteam123/Networks_Lab_2016_Repo | 7fc0f9a509cf617972d950dc411954b740366d46 | 75bcc1bdbe40db0e13fa748c63617cd64ff1e657 | refs/heads/master | 2021-01-10T06:04:03.703396 | 2016-03-12T17:11:13 | 2016-03-12T17:11:13 | 51,336,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,976 | h | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <iostream>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/wait.h>
#include <fstream>
#include <stdio.h>
#include <termios.h>
#include <ctype.h>
#includ... | [
"rawalvarun74@gmail.com"
] | rawalvarun74@gmail.com |
bd544fe3bacd9ca5cb2d77c02d2c79337239e84b | 3ebb34045c7a71509e47b761850f8a6c9709f6d9 | /02-procesos/MemoriaCompartida.h | b03529fd9cda8b9ec8ae39ba0d67408353cb3e58 | [] | no_license | nhuallpa/7559-concurrencia | cde0bc1a986b35cc0c85d38dda84261827d6ef4e | e29a44f9fe6b14e24483d506fbdb8bbba6d0a89f | refs/heads/master | 2020-03-07T16:36:23.021395 | 2019-12-17T11:32:06 | 2019-12-17T11:32:06 | 127,587,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | h | #ifndef MEMORIACOMPARTIDA_H_
#define MEMORIACOMPARTIDA_H_
#define SHM_OK 0
#define ERROR_FTOK -1
#define ERROR_SHMGET -2
#define ERROR_SHMAT -3
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <string>
template <class T> class MemoriaCompartida {
private:
int shmId;
T* ptrDatos;
i... | [
"huallpa.nestor@gmail.com"
] | huallpa.nestor@gmail.com |
b8889099ceb58099c0b48f0b7b8312b3d3b46484 | 162038e68323bcd222b3b9bccfc41e0bdc6ea3f1 | /Retro-Game/character.h | 7b0f2b2d63b8b01a7723e97416a7918d3daf5d03 | [] | no_license | Kanchevd/OldSchoolGame | 818342b91e4a456f5a201d0e2a987c4ebdbccefa | 4d768d4b5720a4c991aaa1d662ede370a6fdda87 | refs/heads/master | 2022-08-16T17:01:04.699534 | 2022-07-06T10:15:29 | 2022-07-06T10:15:29 | 168,710,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | h | // File Made by Daniel Kanchev
#ifndef CHARACTER_H
#define CHARACTER_H
#include <string>
#include <iostream>
#include <stdlib.h>
using namespace std;
class Character
{
public:
//Constructor
Character();
//Destructor
virtual ~Character();
//Object Methods
void initialize(string name);
void... | [
"kanchevd@coventry.ac.uk"
] | kanchevd@coventry.ac.uk |
10f23ac6154ba7a7fe39de0e71967c63825d81ff | 962211a59766a896b7a8809256fe901e8990c623 | /sounds/ex1.cpp | 10f92f0b0ac71a6cc2cf23aef2e65898bc1ba8a4 | [] | no_license | anastasiyakorsik/4_sem | 18386c129006c0320e590f0202345d403d07fae2 | d6f5c9a431210821d23345dec135f9ae0db17145 | refs/heads/main | 2023-04-15T12:53:05.867868 | 2021-04-16T16:39:18 | 2021-04-16T16:39:18 | 338,243,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include <SFML\Audio.hpp>
#include <SFML\Graphics.hpp>
#include <vector>
#include <iostream>
const int N = 3;
class MusicPlayer {
public:
MusicPlayer() {
for (int i = 0; i < N; i++)
music.push_back(new sf::Music);
}
~MusicPlayer() {
for (int i = 0; i < N; i++)
delete music[i];
}
s... | [
"noreply@github.com"
] | anastasiyakorsik.noreply@github.com |
49dd0b235ce0457cc9170a53879476532c9b1086 | cf82c683957818fbdf54ad75bf7dea124de5ef70 | /Egal/egal.cpp | aad9b88484fb5bd29a2691cb289c544f3edf730c | [
"MIT"
] | permissive | ciupmeister/cplusplus | c10effd2e75a80a79a7e7d2c7e11c3647160cd90 | 0e95cd01d20b22404aa4166c71d5a9e834a5a21b | refs/heads/master | 2021-05-10T12:08:31.064850 | 2017-07-19T21:43:14 | 2017-07-19T21:43:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,225 | cpp | #include <fstream>
#include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
const int maxn = 100005;
int n, m, heavy[maxn], leaf[maxn], ansnr[maxn], ansfr[maxn], key[maxn];
vector <int> g[maxn];
unordered_map<int, int> fr[maxn];
inline void dfs(int node, int father) {
int heaviest... | [
"cr.rusucosmin@gmail.com"
] | cr.rusucosmin@gmail.com |
98588d99ec5d3bd38da34b57089da431ba4402de | a9235b4ffcd0a2def4f0dc9ede6a4cd3e29303e7 | /C++/Helloworld.cpp | f7bb5618d725bd7835e2bc7ece29c607b950a5cd | [] | no_license | Tejas-Dalvi-99/HacktoberFest2021_ | ed32c08092f5c9ac3736d5eb2551d66ad37a4568 | 305fddac66f93ca57559c0908b5086fae095599d | refs/heads/main | 2023-09-03T08:23:14.680231 | 2021-10-29T16:18:24 | 2021-10-29T16:18:24 | 422,639,694 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | cpp | #include<iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return 0;
}
| [
"jhaakshita27@gmail.com"
] | jhaakshita27@gmail.com |
a3b1380856b53c22c36ffaf9657010212fc41372 | 02a51e20e1f17d18ab98834a1ae0bd8ef8c28615 | /Matrix/matrix.h | 3a54b3fde2842ffde2f1a73a487527aa31a2bbf3 | [] | no_license | gusario/C-Projects | e06458ace7ffa3aa3a534fe34b76266c298acab7 | a5665f81c2dfc6afb547fff305091d940e88f6ab | refs/heads/master | 2020-04-02T03:18:36.606671 | 2018-10-20T23:32:18 | 2018-10-20T23:32:18 | 153,957,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | h | //
// matrix.h
// Matrix
//
// Created by David Nurdinov on 04/04/2018.
// Copyright © 2018 David Nurdinov. All rights reserved.
//
#ifndef matrix_h
#define matrix_h
#include <iostream>
using namespace std;
class cMatrix
{
friend ostream &operator<<(ostream & out, const cMatrix & matrix);
private:
int ... | [
"david.nurdinov@icloud.com"
] | david.nurdinov@icloud.com |
977b4faa794ae8f719b2ffe92e4bf89dea317221 | ff159114378c138a15a96aa44f64ff57e75ecba2 | /ABC089/D.cpp | 4e964e35d01504e46fac9c89a3049e06ecaec2d9 | [] | no_license | dwmkFD/AtCoderSubmit | 5876e25b3107f79e8831ac35faed7ef249648c29 | 0dcba96aa29f83ae41ee7f29042050e9ce6e916c | refs/heads/master | 2023-07-12T22:06:45.541303 | 2023-06-26T03:57:42 | 2023-06-26T03:57:42 | 177,874,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,356 | cpp | #include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>
#include <string>
#include <bitset>
#include <tuple>
#include <cmath>
#include <map>
template<typename T> bool chmax( T &a, const T &b ) { if ( a <= b ) { a = b; return ( true ); } else { return ( false ); } }
template<typename T>... | [
"EX80450@ELREIWA01.ad.melco.co.jp"
] | EX80450@ELREIWA01.ad.melco.co.jp |
f1821560d4d1c882b745386a02c4ed690be7f420 | 25e99a0af5751865bce1702ee85cc5c080b0715c | /c++/code/mybooksources/Chapter06/code/WebSocketServer/net/TcpServer.h | 19daa52f2e03e131da83424dc45720be70f1acdb | [] | no_license | jasonblog/note | 215837f6a08d07abe3e3d2be2e1f183e14aa4a30 | 4471f95736c60969a718d854cab929f06726280a | refs/heads/master | 2023-05-31T13:02:27.451743 | 2022-04-04T11:28:06 | 2022-04-04T11:28:06 | 35,311,001 | 130 | 67 | null | 2023-02-10T21:26:36 | 2015-05-09T02:04:40 | C | GB18030 | C++ | false | false | 3,526 | h | #pragma once
#include <atomic>
//#include <cstdatomic> // 老gcc头文件
#include <map>
#include <memory>
//#include "EventLoop.h"
#include "TcpConnection.h"
namespace net
{
class Acceptor;
class EventLoop;
class EventLoopThreadPool;
///
/// TCP server, supports single-threaded and thread-pool models.
///
/// This ... | [
"yaoshihyu@gmail.com"
] | yaoshihyu@gmail.com |
15601c3920c5eca7239796923ffa4e951b1fd634 | a349dbf18493cd9bbb2bc9288671f2c981aa8233 | /Tree/Construct Tree from Inorder & Postorder.cpp | 92a39ebee26a72bac6b8fb9d885223df0edb5adc | [] | no_license | Ashish-kumar7/geeks-for-geeks-solutions | dd67fb596162d866a8043460f07e2052dc38446d | 045dc4041323b4f912fcb50ae087eb5865fbacb3 | refs/heads/master | 2022-10-27T14:43:09.588551 | 2022-10-02T10:41:56 | 2022-10-02T10:41:56 | 228,147,267 | 38 | 50 | null | 2022-10-19T05:32:24 | 2019-12-15T07:40:36 | C++ | UTF-8 | C++ | false | false | 929 | cpp | Node * treehelper(int in[],int pos[], int inS, int inE , int posS, int posE)
{
if(inS >inE)
{
return NULL;
}
int rootdata=pos[posE];
int rootindex;
for(int i=inS;i<=inE;i++)
{
if(in[i]==rootdata)
{
rootindex=i;
break;
}
}
i... | [
"ashishkumar357ak@gmail.com"
] | ashishkumar357ak@gmail.com |
6b7e3f5ea18eea4a6b99b18dcc70f12438a67dec | 71215bbfe377511deb4aa6d7d059dcd42474271a | /src/tests.cpp | a8bc6c8549088893597716d1957d3fec8687977a | [] | no_license | FuSoftware/QImpact | e5ca8a54ca5a73355e175c083ab3a10e47e03da5 | 70e8946ec6fa56d9c8a6666507cc510c99ddb81d | refs/heads/master | 2021-05-12T08:33:31.576438 | 2018-01-12T20:20:41 | 2018-01-12T20:20:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,564 | cpp | #include "tests.h"
#include <QDebug>
#include <QSqlRecord>
#include <QSqlError>
#include "models/sql/sqltablelist.h"
#include "models/sql/sqltable.h"
#include "controllers/sqlcontroller.h"
#include "view/database/qproducttablewidget.h"
QString Tests::DB_PATH = "/tmp/qimpact/db_test.db";
void Tests::testSql(QString... | [
"florent.uguet@gmail.com"
] | florent.uguet@gmail.com |
20081ea3455a23a8a4d99fefb5ade1491b33f480 | 27d8e9a313aff26f24effb372dc78f9ad3a4f70c | /tests/pkgs.at.cxx | 2083a0448118fd826c8d1726efff4829a185e14e | [] | no_license | imgcre/rt_charger | 2fb8d6e16dbc128d86d3a6b8cf39245c58f3d10a | 89dd15caec5eb38107f4498f01d6e7a3756ba554 | refs/heads/master | 2023-05-13T21:06:25.085636 | 2021-06-12T19:36:33 | 2021-06-12T19:36:33 | 366,671,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cxx | #include <rtthread.h>
#include <rtdevice.h>
#include <at.h>
#include <board.h>
constexpr auto kPwrPin = GET_PIN(B, 2);
static int init_at() {
rt_pin_mode(kPwrPin, PIN_MODE_OUTPUT);
rt_pin_write(kPwrPin, PIN_HIGH);
struct serial_configure conf = RT_SERIAL_CONFIG_DEFAULT;
rt_base_t bufsz = 512;
conf... | [
"imgcre@outlook.com"
] | imgcre@outlook.com |
be083004e5c444219114e6e4d49a2174d7400460 | 8cd0983fb401b527c185917395590787d3e9286c | /src/cookie.cpp | e05e1fd9d23005c85d907111e56373fcd2dca51d | [
"curl",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kartiksura/curl-asio | b52bbdd506f2310eac2b40147fe317b64f2ad6ed | 8410a3535ce30b0abccd08d7d33563d5599f5274 | refs/heads/master | 2020-12-25T06:03:34.946568 | 2014-05-22T23:13:53 | 2014-05-22T23:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | #include <curl-asio/cookie.h>
namespace curl {
const std::string &cookie::name() const { return name_; }
const std::string &cookie::value() const { return value_; }
const cookie::time_point &cookie::expiry() const { return expiry_; }
const std::string &cookie::path() const { return path_; }
const std::string &cookie:... | [
"quentin.fiard@polytechnique.org"
] | quentin.fiard@polytechnique.org |
ef56aa1511ab1dfc875bdc123e6be6f0dcdda353 | 8ade3d20f78abfa461af79cd346882beaca07edc | /universal/smartpay/src/admin.h | c1731529745918491120c31eac1fcfc583329339 | [] | no_license | eboladev/smarterp | 337867fa215eb6042cdfdb894b8cbd2e766b98c3 | 94e7af29485885fb3f1e9a900dea54903a817b0a | refs/heads/master | 2020-12-29T00:55:51.144001 | 2014-05-30T05:07:22 | 2014-05-30T05:07:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | #ifndef ADMIN_H
#define ADMIN_H
#include <QtGui>
#include <QtSql>
#include <QMainWindow>
namespace Ui {
class Admin;
}
class Admin : public QMainWindow
{
Q_OBJECT
public:
explicit Admin(QWidget *parent = 0, QSqlDatabase database = QSqlDatabase());
~Admin();
private slots:
void on_SaveAndNew_clicked();
void o... | [
"joejoshw@gmail.com"
] | joejoshw@gmail.com |
cdfd06d407fea457b083225735b8d558a184f9c8 | 88407be67288c3efe796e099b1ac8e0bfd40443f | /Dependencies/include/Ogre/OgreMain/OgrePlatform.h | 8b16e2db732a4e2604707cde27904502c1753b7a | [] | no_license | hubi037/GameDev | 29b0fa1a2e4ebe1c1eba61ee5afd3c153a368dbb | 7ceb736dbaddbc52a544f2f1ca3af4c53958fe79 | refs/heads/master | 2020-05-18T09:02:05.707152 | 2013-06-23T12:19:03 | 2013-06-23T12:19:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,533 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any... | [
"litzlbauer@gmail.com"
] | litzlbauer@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.