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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5fd7a6b7c0c7621ae9bb5627850dc9ab41d5021 | 19f93e66f97eb6f3387a38505119f8a7c87e2361 | /Trabalho/Processo.cpp | b85f0ad6f81b12a7e368c039b9727de655962faf | [] | no_license | juliamellolopes/Problema11 | 22d04a10fc044dc9af50d1f7b072a1a14e792bde | 8af08e509e69159c8776c4c55fef9a1ecd920f9d | refs/heads/main | 2023-06-18T02:55:36.793813 | 2021-07-11T16:03:18 | 2021-07-11T16:03:18 | 377,811,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include "Processo.hpp"
Processo::Processo(){
setId(0);
setPage(0);
setValor(-1);
}
void Processo::setId(int id){
this->id = id;
}
void Processo::setPage(int page){
this->page = page;
}
void Processo::setValor(int valor){
this->valor = valor;
}
int Processo::getId(){
return this->id;
}
int Processo::ge... | [
"juliamellolopesgoncalves@gmail.com"
] | juliamellolopesgoncalves@gmail.com |
6674d6b5047ce1a2e4d387c912adb5daa8841a8f | 5a216ce02d3618fe6d527856b61b09bd135bf193 | /Voxel-Trace/Source/Voxtrace.h | af67a5adc39d6173c2177d6e81a1dd1c46d97984 | [
"MIT"
] | permissive | JuanDiegoMontoya/Voxel-Trace | e99aeaa224b6e7dee021bb6d91a1080c151a2dae | ea4c80c8a33698269b84b6332ab78694b8d262be | refs/heads/master | 2023-06-22T03:30:31.284549 | 2023-06-14T11:21:50 | 2023-06-14T11:21:50 | 247,860,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #pragma once
namespace Voxels
{
void Init();
void InitGLStuff();
void InitBlocks();
void Render();
void CameraRaySnapshot();
int& ShadowRays();
struct Block
{
Block() = default;
Block(glm::vec3 d, float a, float in)
: diffuse(d), alpha(a), n(in) {}
glm::vec3 diffuse = { 1, 1, 1 };... | [
"jake.ryan@digipen.edu"
] | jake.ryan@digipen.edu |
51e1d0fb76d0faefb821bfbbff5276a91252230c | 4f379408fc94e7bea37c8ed47b991ed1d627b9e2 | /kml.hpp | 2fe1cb3c6d02928445c0a9f82dae454126452108 | [] | no_license | joongsim/Image-Mapper | 69fe1de385001089e0f46ecac98eabe0f22b38ca | eec09a1b02457fa9e2ea2a1a3578839709ea2f1a | refs/heads/master | 2020-12-02T19:28:18.932171 | 2017-09-21T16:41:25 | 2017-09-21T16:41:25 | 96,346,592 | 0 | 0 | null | 2017-09-21T01:02:20 | 2017-07-05T17:54:30 | C++ | UTF-8 | C++ | false | false | 264 | hpp | //
// kml.hpp
// proj
//
// Created by Andrey Losev on 7/25/17.
// Copyright © 2017 Andrey Losev. All rights reserved.
//
#ifndef kml_h
#define kml_h
#include <string>
#include "linklt.hpp"
void writekml(const std::string&, listnode*);
#endif /* kml_h */
| [
"andreylosev@gmail.com"
] | andreylosev@gmail.com |
275f0766b9d2a1801b3320b6ddac68f4db3dfdd2 | 4cfffadf68a2b9b7bddba042c7afee49a2bb0ebd | /src/qt/optionsmodel.cpp | ab388856f22a328221e404553814f51b9fe1ed09 | [
"MIT"
] | permissive | plusevcoin/plusevcoin | 9885bf1a6a77c07ce0b69a96e7351ace15fb5b9d | 857d92913b34d36359af3f601e3ff56b2532cc02 | refs/heads/master | 2020-05-19T19:52:03.686282 | 2014-04-15T18:58:29 | 2014-04-17T22:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,521 | cpp | #include "optionsmodel.h"
#include "bitcoinunits.h"
#include <QSettings>
#include "init.h"
#include "walletdb.h"
#include "guiutil.h"
OptionsModel::OptionsModel(QObject *parent) :
QAbstractListModel(parent)
{
Init();
}
bool static ApplyProxySettings()
{
QSettings settings;
CService addrProxy(settings... | [
"plusevcoindev@gmail.com"
] | plusevcoindev@gmail.com |
49c7e145557779933374047d5bad6898791d85e3 | aa3c9133e336aabfc9d94f6d3cba45f166a2b702 | /src/emulation/Operations/NOP.cpp | fc9ba8e1cea466045af410f2244d32f1d5c7d501 | [
"Unlicense"
] | permissive | ZachClayburn/Zemu2 | 525aca9e09b9c0d5cd1d5e84f383191932c0bfa6 | 1548366e8ff92fb698344c93f3f7664d22a2a95e | refs/heads/master | 2023-01-20T10:29:44.274791 | 2020-11-28T23:31:07 | 2020-11-28T23:31:07 | 260,224,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include "NOP.h"
NOP::NOP() : Operation(LENGTH) {}
interimValue_t NOP::operator()(interimValue_t value) { return value; }
| [
"zachclayburn@gmail.com"
] | zachclayburn@gmail.com |
3f4d1d68fcf82d3242ff503a7f8c6969b1f43e77 | 73fada0864303e0872d9bac93d8c63de0914b085 | /testes_merge.cpp | 9a9f4466e4a039b8f80d7b54512c2604272a5a3d | [] | no_license | 1ELE705-UEL-2018/Lab8_Testes | e6bc81f4ce8c00dbc9e310d473a95e542e09a294 | e8623cf02937aab3763a6d038820625865f22176 | refs/heads/master | 2020-04-07T17:30:17.788028 | 2018-11-21T15:51:07 | 2018-11-21T15:51:07 | 158,572,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,114 | cpp | #include "gtest/gtest.h"
#include "aux_test_functions.h"
extern "C"
{
#include "lab8.h"
}
TEST(merge, A_B_Vazios)
{
merge(NULL, NULL, 0, NULL, 0);
}
TEST(merge, A_UmElemento_B_Vazio)
{
int A[1] = { 0 };
int C_depois[1] = { 0 };
int C[sizeof(C_depois)/sizeof(int)];
merge(C, A, sizeof(A)/sizeof(int), NULL, 0);
... | [
"decio@decpp.net"
] | decio@decpp.net |
5d5bf98c04174b02976e0438e7258c5a47f568fd | 35ea42225d973e7d79a28b3a3147611d61dbeffd | /Assignment2/Assignment2/main.cpp | 61c5d2960af11337abc69ca8d4261a0fb06ff430 | [] | no_license | Nathan-Dunne/Console-Based-Shooter | 83b87c8bb8c0c89e24db4f7846c14a0c559b8005 | 18222e0ecb5c7a3d3ed41d973f57ca5e574327f4 | refs/heads/master | 2020-05-29T10:13:09.939156 | 2019-05-28T19:23:19 | 2019-05-28T19:23:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "Game.h"
#include "SDL.h"
#include "SoundManager.h"
#include <Windows.h>
using namespace std;
const int FPS = 10;
const int DELAY_TIME = 1000.0f / FPS;
int main(int argc, char **argv)
{
srand(time(NULL)); // Seed random.
SDL_Init(SDL_INIT_EVERYTHING); // Initialise all of ... | [
"1nathandunne1@gmail.com"
] | 1nathandunne1@gmail.com |
e2f8407e25f61dc5f5e62a6dfc7c2aafa1743a1a | 836a1641cd140a114687c8fb3517c18d001e6894 | /src/server/game/Entities/Creature/GossipDef.cpp | 0233eb746462a621854ba8998429bd84b677a440 | [] | no_license | Abyssking/AtomicCore-3.3.5a | 01dac623e253c32a9c07e252c30a1fb33e5d125a | 12e48b4dd68c672356d00e993605f8a84298a13a | refs/heads/master | 2021-01-15T23:21:04.432359 | 2013-05-16T01:03:45 | 2013-05-16T01:03:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,607 | cpp | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | [
"ano.fk@gmx.de"
] | ano.fk@gmx.de |
02c2be5e53f07a8f55eedb918d78e5097055ef49 | ba37f5ccb316cbacfe24aa68d3e680947370ffbd | /src/fileInput/readerHelper.cpp | 3eaff5fc0dd7daf423ba84b5e1e0d8daa8904323 | [
"BSD-3-Clause"
] | permissive | nightlark/GridDyn | e6fe9ab0251b10d86f269b8951ab1e1dd8b56508 | bfcef303c85c5b66bc26e5d16e4df0a07977e594 | refs/heads/helics_updates | 2021-01-24T06:12:32.115450 | 2019-07-19T18:12:34 | 2019-07-19T18:12:34 | 202,812,824 | 0 | 0 | NOASSERTION | 2019-08-17T00:22:00 | 2019-08-16T23:43:07 | C++ | UTF-8 | C++ | false | false | 1,100 | cpp | /*
* LLNS Copyright Start
* Copyright (c) 2014-2018, Lawrence Livermore National Security
* This work was performed under the auspices of the U.S. Department
* of Energy by Lawrence Livermore National Laboratory in part under
* Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
* Produced at the... | [
"top1@llnl.gov"
] | top1@llnl.gov |
244264d49ae7f6111df5ef27d86ac46b91de234c | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/4.4/grad(rho) | bb613f4e3b5fb3ab6c6afb1eda93d8fcd0877028 | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,192 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
891c1ec5b8554fa59b043ad6ad2271e300cca0eb | 6bdc21906afc40a9b9e2359dd7833df6e5eb1b2a | /pegasus_x64/emulator.cpp | 9be28ff2ce99663f7d151fc9cce8553d3567aa11 | [] | no_license | idkwim/pegasus | 69c283f6e2b53409160f2a6076f37728987304ff | 8269104660a6ae4f26bbc2b430bdb89cd6670364 | refs/heads/master | 2021-01-01T17:53:20.588941 | 2017-07-22T05:01:55 | 2017-07-22T05:01:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,135 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <unicorn/unicorn.h>
#include <distorm/include/distorm.h>
#include <distorm/include/mnemonics.h>
#include <list>
#include <memory>
#include <winternl.h>
#include <Psapi.h>
#include "interface.h"
#pragma comment(lib, "unicorn_static_x64.lib")
Wow64EmulationDebugger::Wow64Emu... | [
"0a777h@gmail.com"
] | 0a777h@gmail.com |
d52df934276a489a84fe300d0480e517a990b9fc | d2650b73a3d64ec4c0614b08a4b0ba7370b7327a | /cpp/coding-test/beads.cpp | f63e27c9a8056f5ad2b082d2beb387793b8ee0d9 | [] | no_license | jodnddus/nojam | 1fdf90805be8ea8bdfad5030f5ac39bc5b08d89f | a2e646ab06bc81f89bd451faea1da6231547de05 | refs/heads/master | 2020-05-18T07:57:21.808166 | 2019-08-15T10:05:53 | 2019-08-15T10:05:53 | 184,280,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
vector<int> beads;
vector<int> flag;
int a(int index, int step, int start)
{
if (index == beads[index]) return 0;
else if (beads[index] == start) return step;
else return a(beads[index], ++step, start);
}
int solution(vector<int> &A)
{
beads = A;
int N ... | [
"lockhost23@gmail.com"
] | lockhost23@gmail.com |
d1266a023aee645ad1e575a8cbca037de513f345 | 4ec56d3dfec333815d4cccb194d94b0911c66f65 | /HttpLib/SocketClient.h | 28f2588a02535a01ae2cde3545a7c39dda49b529 | [] | no_license | imcooder/SimpleHttpServer | 86991661af22a05be4175f7fab2484a6d26aac63 | 8d7a6d983cdf8e49bd775b3dbce0ae46c2a19604 | refs/heads/master | 2022-04-22T09:49:32.516802 | 2020-04-25T08:34:51 | 2020-04-25T08:34:51 | 258,722,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | h | #include <iostream>
#include <istream>
#include <ostream>
#include <string>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/enable_shared_from_this.hpp>
using boost::asio::ip::tcp;
class SocketClient : public boost::enable_shared_from_this<SocketClient>
{
public:
SocketClient(boost::asio::io_servi... | [
"imcooder@gmail.com"
] | imcooder@gmail.com |
858ca1d3f03cb9abb940e8eb8a962e39efa2e974 | 29b276cbb2c038c4a701839219b35635103c48a8 | /include/UWUEngine/GamePlay/PlayerController.h | 29b14bb440b370a882060692cf8d2e7666745965 | [] | no_license | digipen-team-uwu/uwu-engine | af0f9c40809d18750db916b4f1b08a16a606ff44 | 1610fdd23d52e16839d5d432223c39fd709b4eee | refs/heads/master | 2020-12-05T18:03:48.416178 | 2020-02-07T02:08:19 | 2020-02-07T02:08:19 | 232,198,651 | 3 | 0 | null | 2020-02-12T01:21:05 | 2020-01-06T22:44:02 | C++ | UTF-8 | C++ | false | false | 3,005 | h | /******************************************************************************/
/*!
\par Project Umbra
\file PlayerController.h
\author Yi Qian
\date 2019/12/05
\brief Player Behavior,I hate file header comments
Copyright 2019 DigiPen, All rights reserved.
*/
/*****************************... | [
"tony.qian@digipen.edu"
] | tony.qian@digipen.edu |
14f47d8b3ef53016eced8791467a92eee5949c3b | 56dc83b864de250b0b0fde6892d934dae0900fb2 | /OneSolution/RollerBlind/Adafruit_NeoPixel.h | 4f88b95039388fc7af7e2d0f2aa3b4e1ff157843 | [] | no_license | timdows/AMD | 192b2aa4b4e481229d563487a4c41717d5f8c954 | 11577e2a7b0d93bd6745d99af430483e97ad3a50 | refs/heads/master | 2020-04-07T04:49:26.500401 | 2018-12-21T15:54:18 | 2018-12-21T15:54:18 | 41,149,960 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,924 | h | /*--------------------------------------------------------------------
This file is part of the Adafruit NeoPixel library.
NeoPixel is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the L... | [
"tim@inexpro.nl"
] | tim@inexpro.nl |
40ee09493fb78dbd81e2c9ae500b11afc5e4034f | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/wld_shp_rocks_cluster_02_parameters.h | ffa6dcd007a513f858aca35c586df82ae96ca37b | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
// Name: SoT, Version: 2.1.1
#include "../SDK.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
14836b9543722c6578c09fb598a72a79c0cc9e96 | 9559a97171cf993e7bf665c6f3532b5ecc71e666 | /图论/欧拉回路/pku2513并查集+字典树+欧拉回路.cpp | af9eb572b9bec401d49200641bb0ea4056534ad5 | [] | no_license | cslilong/Algorithm | 8090be3bcc9d7dd28dd6048f34093c30a721cdbc | 5131388c4dd054420860024ef7a1745204dba4d4 | refs/heads/master | 2016-09-15T21:24:22.656535 | 2013-10-07T09:18:32 | 2013-10-07T09:18:32 | 12,647,284 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | cpp | /*
http://poj.org/problem?id=2513
*/
#include<iostream>
using namespace std;
const int maxn=500100;
struct node
{
int key;
node *nxt[26];
}*root;
int nodenum;
int f[maxn],a[maxn];
void new_node(node* &x)
{
x = new node;
memset(x,0,sizeof(node));
x->key = -1;
}
int getnum(char *x)
{
node *ptr=root;
for(int i... | [
"cslilong@gmail.com"
] | cslilong@gmail.com |
f9721a37ebe4b1c98b5a2d838d63ca5a42dad4ba | bf7f6fc3bde32862d3f4dffa1dae57f299a66d2a | /game_school/server/pwconnsrv/pw_connsrv_listener.h | ea271f5e3c43d8e510c1a2860845798d03b3cb73 | [] | no_license | luoxz-ai/H5Game | 0c795c4f075d7073f29c1e8c012d592500a0fcd0 | f292af19874dc0d7396fc8084c8ef1ab391201a3 | refs/heads/master | 2023-06-20T03:58:24.199939 | 2019-07-02T07:22:33 | 2019-07-02T07:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | h |
#ifndef _pw_connsrv_listener_
#define _pw_connsrv_listener_
#include "pw_def.h"
#include "pwdist_port_generic.h"
#include "gdb/pw_gdb_socket_listener.h"
#include "gdb/pw_gdb_socket_reactor_win32.h"
#include "gdb/pw_gdb_socket_reactor_linux.h"
#include "pw_web_socket_listener.h"
namespace pwconnsrv
{
class SImplLis... | [
"821153923@qq.com"
] | 821153923@qq.com |
067515b4ff86c377ee313e8fc644fae9a21bfca5 | a7338d8b9074ed062b62fcbd980a306be7f89ac7 | /ToDoC++FactoryMethod/src/Application.h | 809d8570347737f6756f76b3ca7e81f99164b297 | [] | no_license | takepu/dpp | 5152b1225d83fe34b58dc695e0ca861bc73dc316 | df24332235e4b60c598690723156805227c76e83 | refs/heads/master | 2016-09-02T04:04:45.626415 | 2012-12-24T05:09:14 | 2012-12-24T05:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | h | /*
* application.h
*
* Created on: 2012/12/02
* Author: takepu
*/
#ifndef APPLICATION_H_
#define APPLICATION_H_
#include "StringList.h"
namespace std{
//---------------------------------------------------------------------------
// アプリケーション実行本体
// @note 下記順番でコールすること
// Initial()
// ... | [
"takepuxp@gmail.com"
] | takepuxp@gmail.com |
8823b050e35f6de3a67a1bcf1cfa250dc386c8fb | a269d13042a659e0e54f5692833254f129a6c41f | /Shop/Shop/Gamer.h | fc702481f855ca7a02fabc0b78aab128527a96cf | [] | no_license | ren232010/Test | e2ac56cf69f3b8d64a14952edab8508a13718f27 | 72848c684f9025ff90d62606afe6d7259dd47fae | refs/heads/master | 2020-03-30T23:19:35.493785 | 2018-10-18T10:05:05 | 2018-10-18T10:05:05 | 151,697,451 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 467 | h | #pragma once
#include <iostream>
class Gamer
{
public:
Gamer();
~Gamer();
void InstallGamer();
bool AddItem(class Item*);
/*bool AddItemTool(class Item*);//装备物品*/
Item* ChangeItem(class Item*);//换装备
void UpdatedAttribute(class Item*);//更新属性
public:
std::string Name;
int ATK;
int Def;
int Hp;
int Mp;
int ... | [
"648315326@qq.com"
] | 648315326@qq.com |
9c1ecd51ffa28380761eeb7c5c1de86cd7113b63 | 2561d4be89aaa8612eae00c0464e48f3e62e3ad8 | /workspace/ABC154/D.cpp | 013f92988dc63b6d9edf86a424e8a2de64e4dd28 | [] | no_license | oirom/atcoder | c9e6791236a75b0efc83868f3356dd4d6768a726 | acba483a55451a8bd9808dbe4188ee12fdd1e374 | refs/heads/master | 2022-03-05T07:30:58.897174 | 2022-02-20T11:42:13 | 2022-02-20T11:42:13 | 249,957,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <bits/stdc++.h>
#define REP(i,n) for (int i=0; i<(n); ++i)
#define REPR(i,n,m) for (int i=(n); i>=(m); --i)
using namespace std;
using LL = long long;
using LD = long double;
using PLL = pair<long long, long long>;
using PLD = pair<long double, long double>;
using VLL = vector<long long>;
using VLD = vector<lo... | [
"yamauchi.morio853@mail.kyutech.jp"
] | yamauchi.morio853@mail.kyutech.jp |
7498bd897c9881331761ac7d97c00edbaf91d536 | 322d037d769811162b77a3367d16e6924e47c81b | /tcp_connection.cpp | 9233f37c8c22a9e3bf0c7ffe9dd86123c64c5302 | [] | no_license | rrrbatman2020/lruc | 7949fd9410140967c23dfa83d885f1ba1364aae7 | 4f5d44360e2a195611fed1b097784787dbfada37 | refs/heads/master | 2020-09-25T15:40:28.437671 | 2019-12-05T07:52:40 | 2019-12-05T07:52:40 | 226,036,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,203 | cpp | #include "tcp_connection.h"
#include "error.h"
#include <arpa/inet.h>
#include <cstring>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
TTcpConnection::TTcpConnection(const std::string& host, const std::string& port) {
Establish(host, p... | [
"ponomarev.ca@gmail.com"
] | ponomarev.ca@gmail.com |
e4e37ca78ed657df5024c07dd53a739d9048c744 | dce708c0a4caf2ed2bb4985f8eae1e069dd69408 | /BoardDisplayWindow.h | 311adee21914799e052f09b6cf8c6eb9baf26794 | [] | no_license | Tuyixiang/2018.8-Practice-2 | aaa96578b99bef54197c11fa3f14c68589415a28 | 658c003ec4c1e711f6de09dbd3d6ec3fd90d70fc | refs/heads/master | 2020-03-28T19:49:57.464452 | 2018-09-16T16:31:39 | 2018-09-16T16:31:39 | 149,013,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,837 | h | //
// Created by Yixiang Tu on 04/09/2018.
//
#ifndef CHINESE_CHESS_BOARDDISPLAY_H
#define CHINESE_CHESS_BOARDDISPLAY_H
#include <Qt3DWindow>
#include <QOpenGLFunctions>
#include "declarations.h"
#include "PieceEntity.h"
class Tile;
struct Piece;
class BoardDisplayWindow : public Qt3DExtras::Qt3DWindow {
Q_OBJEC... | [
"tu.yixiang@icloud.com"
] | tu.yixiang@icloud.com |
21ade5437d3cdf73104fde9fcc07b82c257595a3 | cc7ea7d3af5afdfab52c4ade486f2b733147415b | /folly/executors/task_queue/PriorityLifoSemMPMCQueue.h | cf17cf04d7e50a0b96ad91054b700c9cfd7c1386 | [
"MIT",
"Apache-2.0"
] | permissive | couchbasedeps/folly | f2d70e1b2c629761e40e15248ea17335e651fc40 | 99a218de8a87c48f8164afb614401717c58cce8a | refs/heads/master | 2022-09-09T08:32:46.196956 | 2021-02-26T21:43:46 | 2021-02-26T21:45:23 | 152,815,030 | 1 | 3 | Apache-2.0 | 2022-08-22T12:19:33 | 2018-10-12T22:48:10 | C++ | UTF-8 | C++ | false | false | 3,558 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
718aed8440eec30a798b202baafef83659554ef5 | 04e06ad381075fa9321fb5c5451bea6b681468b6 | /source/game/world/biome.cpp | c107cf98bfc07793c178c75aae83ac329b832924 | [] | no_license | filux/Mandate | 645b0bd6327c7c93a7950c1d98770a404914d792 | a0e22ecf01588ab4d85611fee22055ab80dea79d | refs/heads/master | 2020-12-11T05:38:26.865784 | 2014-06-12T22:19:00 | 2014-06-12T22:19:00 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 2,243 | cpp | // ==============================================================
// This file is part of Glest (www.glest.org)
//
// Copyright (C) 2001-2008 Martiņo Figueroa,
// 2008 Jaagup Repän <jrepan@gmail.com>,
// 2008 Daniel Santos <daniel.santos@pobox.com>
// 2009-2010 James McCulloch <silnarm@gmail.co... | [
"taomastercu@yahoo.com"
] | taomastercu@yahoo.com |
d4dc1ff47376ae9a98e72b4b8c4381f08ea6ae0f | 077b52d6bf4438d2e0172531ba6acb27b1aaf8dd | /A composition in classes/8/time.cpp | 525800b9f3258beca82f75aca0ef0c624bda0422 | [] | no_license | bmvskii/OOP | a41ccf5a9862f6f112e8a82a25462bac4c605a64 | 810ad97eb418024cfac7beb66a8fff76cae73b90 | refs/heads/master | 2020-03-25T02:03:42.824530 | 2019-08-01T13:31:00 | 2019-08-01T13:31:00 | 143,271,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | cpp | // (C) 2013-2016, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
/*****************************************************************************/
#define _CRT_SECURE_NO_WARNINGS
#include "time.hpp"
#include "messages.hpp"
#include <ctime>
#include <cassert>
#include <cstdio>
#include <stdexcept>
/*************************... | [
"evg.rogovoy@gmail.com"
] | evg.rogovoy@gmail.com |
18b087d0459294c6e18e9e4fd66a8e1f570d410a | 0cac0f3314ea1534b70b792e9f7fd7837217459c | /SingleNumber2.cpp | 028e42a95772a78a119eb3d59e73703377a9a420 | [] | no_license | wengbinbin/leetcood | 610b68e677b85dea6f18f9061429fb98251e7e00 | a5d22d56310d920ec2ec25d6083eb157f80fcd9c | refs/heads/master | 2021-05-27T10:23:21.973715 | 2014-05-13T07:04:47 | 2014-05-13T07:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | #include<iostream>
#include<string>
using namespace std;
class Solution {
public:
int singleNumber(int A[], int n) {
int w=sizeof(int)*8;
int count[w];
int result=0;
memset(count,0,sizeof(int)*w);//initial wrong
for(int i=0;i<w;i++){
cout<<count[i]<<" ";
count[i]=0;
}
for(int i=0;i<n;i++){
fo... | [
"2008shdjc@163.com"
] | 2008shdjc@163.com |
3048914032b8410a8af4a77265991ce78258fe30 | ace7469476607a58aa83cef8bac8934543eb9458 | /cpp/boost/bimap/student/main.cpp | e16c64655ded7919295c37e94a2e02b694704fac | [
"MIT"
] | permissive | 307509256/learning-c-cpp | 0fde4f5bc7a8e862f5b23ad76043eb39fcaa76ca | 998370e4fdd59c867f3b1e2b8840f38500c5c634 | refs/heads/master | 2022-12-25T00:42:30.314218 | 2018-05-11T05:58:25 | 2018-05-11T05:58:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | #include <string>
#include <iostream>
#include <boost/bimap.hpp>
int main() {
boost::bimap<boost::bimaps::tagged<int, struct id>, boost::bimaps::tagged<std::string, struct name>> students;
int student_id = 1;
students.by<id>().insert(std::make_pair(student_id++, "Jeff"));
students.by<id>().insert(std::make_p... | [
"akagi201@gmail.com"
] | akagi201@gmail.com |
46252326752d6053cb69b91cfd1667d8c3f48155 | 00aeccd23bcba53f5dbdc4c71fafda194edb8058 | /tutorial/BaseApplication.cpp | e930d06b15e79d6976a33587f960179b561d0472 | [] | no_license | hef/ogre3dTutorials | 601ec06e3421ea21c68eda80ab94369df18e6ebf | c72140b8c1b163292dd384ef67f0f36ed7327723 | refs/heads/master | 2021-01-19T03:17:56.971765 | 2010-07-07T05:17:29 | 2010-07-07T05:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,514 | cpp | /*
-----------------------------------------------------------------------------
Filename: BaseApplication.cpp
-----------------------------------------------------------------------------
This source file is part of the
___ __ __ _ _ _
/___\__ _ _ __ ___ / / /\ \ (_) | _(_)
// // _` ... | [
"hef@pbrfrat.com"
] | hef@pbrfrat.com |
d1fff79d3c2c14de9c05d4aef0e3a0ba91f7c60f | 6839540003c9a7e6fd122dc361215859fc95643f | /cpp/MCMC/cppa/include/cppa/detail/projection.hpp | 2e4233e155663b8ce8406598cb82c169acbc39af | [] | no_license | vkramanuj/willow | 2ba355fd9d4539f51470491ff9ce1d2276f333c0 | a36246b3e986d2cef89c61a43d005bb91e105ce9 | refs/heads/master | 2021-09-13T03:56:00.220700 | 2018-04-24T18:05:11 | 2018-04-24T18:05:11 | 110,746,080 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,150 | hpp | /******************************************************************************\
* ___ __ *
* /\_ \ __/\ \ *
* \//\ \ /\_\ \ \____ ___ _____ _____ __ *... | [
"bsheeran@cs.brown.edu"
] | bsheeran@cs.brown.edu |
494b3ab03d6901a4602cac45a5ca784b25824f4b | efc0082ab67ab6ddab06c869fd0c2e661de0df74 | /src/borderwall.cpp | f277b5b16bc11d28693fd7620248620b03430668 | [] | no_license | josephjamiell/SnakeGame | e8e80655a1054c09d5c2a24321212f59389c0c8b | 2ce9a1a484763d2b9d376b320095d346119cacdf | refs/heads/master | 2023-01-01T07:24:20.607143 | 2020-10-25T03:33:32 | 2020-10-25T03:33:32 | 306,982,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | #include <vector>
#include "borderwall.h"
#include <iostream>
BorderWall::BorderWall()
{
_objectType = GameObjectType::wallObject;
}
void BorderWall::CreateWall()
{
// top wall points
for(int i = 0; i < _gSize; ++i){
SDL_Point pnt {i * _bSize, 0};
_topBorder.emplace_back(pnt);
}
/... | [
"jamielljoseph@Jamiells-MBP.fios-router.home"
] | jamielljoseph@Jamiells-MBP.fios-router.home |
54fd86d5c586bcf44d07ed97e8835a35233476d9 | b7a1dc7128f09cbe4a3f3136c8b57ee996cac536 | /notes/7.1.15.cpp | e7762904f401cc78916f133e74ed073a07a2a40c | [] | no_license | jerryweb/OS | ff2f46b56887c7ada6840410127801011ed560f9 | 848389f0243f718ee6a0fad5e2de08105210cf0d | refs/heads/master | 2021-01-10T09:03:52.211994 | 2015-07-26T06:58:20 | 2015-07-26T06:58:20 | 36,947,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,777 | cpp | Project 3 -3 parts
parts 1 & 2 - Demand Page virtual memory //dont preload anything (no bitmap finds in the constructor; also we
//can no longer do a new page table each time)
part 3 - networking - client server //should work even if parts 1 & 2 are not
distributed locks/CVs
An Approach to Parts 1... | [
"jerryweb@usc.edu"
] | jerryweb@usc.edu |
f299332c1671fc7aefef65e0ea836ef5c5c42cb8 | 0cd8bbc974b822c46b64712d3be53e9808a5c246 | /686.cpp | 36def0166e4146f77acc9f7d377030c698769c02 | [] | no_license | limon2009/ACM-UVA-Online-Judge-solution | b78e8f709c88e5db6fdac83a7bd5ec71f7ab00b0 | 0f86718d3c609e654a3c16a29e0f91620ac40cd1 | refs/heads/master | 2021-08-11T04:58:42.829356 | 2017-11-13T06:14:09 | 2017-11-13T06:14:09 | 110,505,263 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | #include<stdio.h>
#include<math.h>
int p[32772];
void compute_prime_table()
{
long i,j;
p[0] = p[1] = 0;
for (i=2; i<=32768; i++) p[i]=1;
for (i=2; i<=181;)
{
for (j=i+i; j<=32768; j+=i) p[j]=0;
for (i++; !p[i]; i++);
}
}
main()
{
long n,i,j,count;
compute_prime_table();
while(... | [
"md.moniruzzaman@bjitgroup.com"
] | md.moniruzzaman@bjitgroup.com |
47974885849556f6d10cae1865230776beb69069 | 29512b1284ec9539164b93023a30f515fed96975 | /Platformer/Background.hpp | 4e26f597c283b1329935471cb032fd6772ff67d9 | [] | no_license | PrzemyslawBanasiak/SFML-Platformer | cb694f4f172a8836bb7aab063307538c9ca37bb8 | 0f31bfddd8b4fd902ad299351982f056ffa09622 | refs/heads/master | 2021-09-03T19:29:35.274848 | 2018-01-11T12:24:02 | 2018-01-11T12:24:02 | 116,832,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | hpp | #pragma once
#include <SFML\Graphics.hpp>
struct Managers;
class GameMap;
class Background {
public:
Background(Managers& managers);
void Draw();
private:
Managers& _managers;
sf::Sprite _background;
sf::Vector2f _offset;
};
| [
"200299@student.pwr.edu.pl"
] | 200299@student.pwr.edu.pl |
03cf91bc6525c7a68f33acabbade460d10cd61b4 | 7a20a5c9bd2b9f87b02f545f9e756ea35a8188dd | /Audio Manager/autil_stringlist_private.hpp | e89be0303b2cf7484e5dc8818d736df1c3d0189b | [] | no_license | lukehabermehl/blockdsp | 885ccaefea319f811c21418e5f59471b29ae433e | e0a24632415a5821dfbb3a285128824ec95c4cbc | refs/heads/master | 2020-04-12T05:43:29.324992 | 2017-02-18T22:59:00 | 2017-02-18T22:59:00 | 64,621,055 | 1 | 0 | null | 2016-12-06T03:05:14 | 2016-07-31T23:31:45 | C++ | UTF-8 | C++ | false | false | 410 | hpp | //
// autil_stringlist_private.hpp
// libblockdsp
//
// Created by Luke on 9/8/16.
// Copyright © 2016 Luke Habermehl. All rights reserved.
//
#ifndef autil_stringlist_private_h
#define autil_stringlist_private_h
#include "autil_stringlist.hpp"
#include <vector>
#include <string>
class APUStringList::Pimpl
{
pub... | [
"luke.habermehl@gmail.com"
] | luke.habermehl@gmail.com |
2ddadf40b22183348beeddc2765feaf93d2681b8 | 3448a43cf0635866b25e5d513dd60fb003f47e29 | /src/xrGame/Script_SchemeSRNoWeapon.h | f617ace4a1194cc418d045e796d85ff8bda0e9e5 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | xrLil-Batya/cordisproject | 49632acc5e68bea9847d001d82fb049703d223c2 | 24275a382fec62a4e58d11579bf497b894f220ba | refs/heads/master | 2023-03-19T01:17:25.170059 | 2020-11-17T14:22:06 | 2020-11-17T14:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | h | #pragma once
namespace Cordis
{
namespace Scripts
{
class Script_SchemeSRNoWeapon : public Script_ISchemeEntity
{
using inherited_scheme = Script_ISchemeEntity;
public:
Script_SchemeSRNoWeapon(void) = delete;
Script_SchemeSRNoWeapon(CScriptGameObject* const p_client_object, DataBase::Script_ComponentSchem... | [
"phantom1020@yandex.ru"
] | phantom1020@yandex.ru |
aea09ecea242a285886bd8a8852bd60ce0dbd8d0 | 8b7639352a922a39874cfd006c8213381b1dca13 | /searchMatrix.cpp | 640a6ffd23a3a8b01e8fcf892934e885d25217ac | [] | no_license | Boomshakalak/leetCodePractice | 3cabdec4341e3525a9bcbf20851e45c46de83e6f | bd616240015a094e3303afa7865a1a54e1720128 | refs/heads/master | 2020-07-02T14:13:45.190585 | 2017-08-17T02:20:38 | 2017-08-17T02:20:38 | 74,304,042 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
int m = matrix.size();
if (m == 0) return false;
int n = matrix[0].size();
if (n==0) return false;
int l = 0 ;
int r = m ;
while (l < r){
int med = (r+l)>>1;
... | [
"soarer@vip.qq.com"
] | soarer@vip.qq.com |
13cc55085d783927351a36782d6f3d3005927d27 | 9f973dea9a0c316db78fd4aa910ab9399c308af4 | /Tutorials-master/KinectSDK/4_SkeletalTracking/main.cpp | 2295ffe399bc1593644b4cdd8cfe17901609c4ef | [] | no_license | VCunhaJ/softkinetic_interactive_Gesture_Camera | 82a15ea7ca65554e4fe21c24b8c924cd9ad5eced | 84b8dd13370171d3f77f84733ef5c46003f33771 | refs/heads/master | 2021-03-12T22:21:00.515486 | 2014-10-24T04:45:11 | 2014-10-24T04:45:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,616 | cpp | #include "main.h"
#include "glut.h"
#include <cmath>
#include <cstdio>
#include <Windows.h>
#include <Ole2.h>
#include <NuiApi.h>
#include <NuiImageCamera.h>
#include <NuiSensor.h>
// OpenGL Variables
long depthToRgbMap[width*height*2];
// We'll be using buffer objects to store the kinect point cloud
GLuint vboId;
... | [
"Junior@vcunha.wifi.wpi.edu"
] | Junior@vcunha.wifi.wpi.edu |
ce684a91b8d96f0ae090d4faebefcbe87a8aa164 | d2532fef27934284f9f0d932931999825128da5a | /4-Algorithms on strings/Programming-Assignment-1/trie_matching/trie_matching.cpp | c621cf925f27ce6f8829cbda7c1dae52da0f3294 | [] | no_license | mohamedabdelhakem1/UCSD-data-structures-and-algorithms-specialization | f57f3418f82906894641d53f9e2234932d9f554e | 2e31939f561a60ed829e5e5f663dcd06c645c644 | refs/heads/master | 2020-07-03T21:18:18.895700 | 2019-08-13T02:00:21 | 2019-08-13T02:00:21 | 202,052,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | cpp | #include <bits/stdc++.h>
using namespace std;
struct edge {
int from;
int to;
char label;
};
struct vertex {
int index;
unordered_map <char, edge> out_edges;
};
class trie {
public:
vertex *root = new vertex();
unordered_map <int, vertex*> vertices;
trie() {
root->index = 0;
... | [
"mohamedabdelhakem99@yahoo.com"
] | mohamedabdelhakem99@yahoo.com |
92bc8e8bc53d89498e8bda68f597a86a93d6feea | fe06abf8fd1ef60e28d2d41a0120b31f91844099 | /5.1D/Vector.h | af408d4b9b1e32cd440e4849379f5b2a5e87de28 | [] | no_license | Korovytskyi/5.1.4 | 0873bdfc68236e5d89e0d5dc46463c721a9ff8b2 | 62cda6153f01e3d90c9675ba0bb287aa415bdc0f | refs/heads/master | 2023-04-08T02:25:58.784804 | 2021-04-25T12:38:05 | 2021-04-25T12:38:05 | 361,424,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | h | #pragma once
#include <iostream>
#include "Exception.h"
using namespace std;
class Vector
{
private:
double x, y, z;
public:
Vector();
Vector(double x, double y, double z) ;
Vector(const Vector&);
void setX(double value) { x = value; }
void setY(double value) { y = value; }
void setZ(double value) { z = value;... | [
"taras.korovytskyi.itis.2020@lpnu.ua"
] | taras.korovytskyi.itis.2020@lpnu.ua |
81607040f08a087ba3b8091f1b2ccd1937f5d36a | 9987a33adf46172cf5352b57e2e1319955dd75ab | /SongInfoEditor/VarietyButton.cpp | 9a7ce4ab3ebffec0c8b38df3a0f82421eb717ef4 | [] | no_license | lilinayuy/SongInfo | ce4cb73c7d4b394abf1f063939d758cbef79743c | d02929c16f5144a542093b88be02118e9d54f20b | refs/heads/master | 2016-09-10T18:24:53.640838 | 2015-03-24T01:53:41 | 2015-03-24T01:53:41 | 32,769,729 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,743 | cpp | // VarietyButton.cpp : implementation file
//
#include "stdafx.h"
#include "VarietyButton.h"
//#include "DCPlus.h"
// CVarietyButton
IMPLEMENT_DYNAMIC(CVarietyButton, CBitmapButton)
CVarietyButton::CVarietyButton()
{
m_bTracking = FALSE;
m_bSelected = FALSE;
m_cColorTransparent = 0;
m_bDoubleClick = FALSE;
m_b... | [
"heeroyuy1982@163.com"
] | heeroyuy1982@163.com |
b3520ad42a107882dee9aebd02fd367bf943020d | 4d408971c07fcc1bec5e3120109713bf4da11581 | /EntryData/EntryData.h | 612da3e0f2ee32ec5e609408edd8a255aae76d25 | [] | no_license | chulchultrain/FactoryHead | c108f3dcda4ed44a7b74b32ffcf4ba1fdbab1353 | 01362c1cc41a73156e9e896df848eb70ad295675 | refs/heads/master | 2020-05-21T23:51:44.620899 | 2018-01-04T05:47:14 | 2018-01-04T05:47:14 | 63,737,643 | 2 | 0 | null | 2017-05-25T18:27:32 | 2016-07-20T00:44:32 | C++ | UTF-8 | C++ | false | false | 446 | h | #ifndef __ENTRYDATA_H_INCLUDED__
#define __ENTRYDATA_H_INCLUDED__
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
struct EntryData {
string ID;
string DexID;
vector<string> moveID;
string item;
string nature;
vector<int> EV;
EntryData(string x1, string x2, vector<string> &x3, stri... | [
"yangchulmin0@gmail.com"
] | yangchulmin0@gmail.com |
84c3f4726d62b045e733ff4c5a5f633a753ec8eb | fa2250779a2eb0b3155f8a9912b9b08caeba0cbe | /OpenGL/instances_tests/3.plain_quads/main.cpp | f81198859a8fbe5aff37a40613fe8b811e01a9af | [
"MIT"
] | permissive | on62/daft-lib | 33b3d00fe3520b9ce78ddcbd7a814ed78c1bf254 | 7890fdba0aab800022ab9afb958946bd06779f33 | refs/heads/master | 2022-11-14T23:08:13.978445 | 2020-07-08T13:33:09 | 2020-07-08T13:33:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,288 | cpp | //----------------------------------------------------------------------------
//
// file: main.cpp
//
// Общий буфер атрибутов + индексный буфер
//
//----------------------------------------------------------------------------
#include "tools.hpp"
#include "texture.hpp"
// VBO массив из 6 точек для создания прямоугол... | [
"balezin@yandex.ru"
] | balezin@yandex.ru |
da155cdcada82eceac1fa041a4ffff3f976cdf98 | 4c8ac4263cb05df2c7ba2abd2eacfd4640ad7ba1 | /CocosProject/Classes/TutorialScene.h | b348bc13826fe002a515ba8d5c7e94ae1ea25a22 | [] | no_license | rbkloss/GraxaSoftware | 44ad82641a9a2623b4e1e7ffa83da34eb6ce140d | c82cd421dff37435be4bd842af62d3c746b2defb | refs/heads/master | 2016-09-06T18:38:23.824006 | 2015-06-23T02:43:08 | 2015-06-23T02:43:08 | 34,749,703 | 3 | 1 | null | 2015-06-16T20:54:02 | 2015-04-28T18:55:49 | C++ | UTF-8 | C++ | false | false | 643 | h | #ifndef _TUTORIAl_SCENE_H_
#define _TUTORIAl_SCENE_H_
#include <memory>
#include "cocos2d.h"
#include "ui/CocosGUI.h"
class Hero;
class TutorialScene : public cocos2d::Layer {
int state_;
std::vector<std::string> texts_;
cocos2d::ui::Button* button_;
cocos2d::ui::Text* textLabel_;
public:
// Creates An ... | [
"klossricardo@gmail.com"
] | klossricardo@gmail.com |
cf6cfc783068c63d03dbe5d3c3bd262543631632 | c1d39d3b0bcafbb48ba2514afbbbd6d94cb7ffe1 | /source/Pictus/dlg_cache.h | 9f03e84d3c976aa57a1fe614762fdc9f66e18012 | [
"MIT",
"libtiff",
"BSL-1.0",
"IJG",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"Libpng"
] | permissive | P4ll/Pictus | c6bb6fbc8014c7de5116380f48f8c1c4016a2c43 | 0e58285b89292d0b221ab4d09911ef439711cc59 | refs/heads/master | 2023-03-16T06:42:12.293939 | 2018-09-13T18:19:30 | 2018-09-13T18:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | #ifndef DLG_CACHE_H
#define DLG_CACHE_H
#include "settings_page.h"
#include <wx/checkbox.h>
#include <wx/textctrl.h>
namespace App
{
class SetPageCache : public App::SettingsPage
{
public:
bool IsRootPage() const override;
std::string Caption() override;
SetPageCache(wxWindow* parent);
private:
void Per... | [
"pontus@mardnas.se"
] | pontus@mardnas.se |
f4b20f9dfacfa0588d0b7783f8b9308249885b85 | b3c5f5fb77cae11339140d9e267816607a95151b | /src/util/random.cpp | 0ffba764654c539fcddfb36cf67999739c9f3ed2 | [] | no_license | imasuke/Geno | 39253034b913ab049baa511c10f078034446e13b | f7f017f09f4c7188889fb7b70ee67ffda1178905 | refs/heads/master | 2023-07-12T16:30:52.925138 | 2021-08-15T14:37:51 | 2021-08-15T14:37:51 | 391,097,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | cpp | // random.cpp
#include "Geno/util/random.h"
namespace Geno{
Randomizer::Randomizer(){
init();
}
Randomizer::~Randomizer(){
delete mt;
}
void Randomizer::init(){
std::random_device rd;
mt = new std::mt19937(rd());
}
int Randomizer::randomInt(int min, int max){
std::uniform_int_distribution<int> gen(... | [
"imasuke.cg.i312y@gmail.com"
] | imasuke.cg.i312y@gmail.com |
5a1de63104e30f455d49a4d7c98fdbdbbe6cc5b6 | d7f99d6073d4e3d6a9c08dda59448dc041d5663f | /138-copy list with random pointer.cpp | d13cbb7155315440d4e02eda42f018ac7af74e01 | [] | no_license | tangsancai/algorithm | 55ea70117dcf11e51771d662c17b46b8fa69bae3 | e09ddc4106b007aad0da23ee5bd263d2f8e34367 | refs/heads/master | 2021-04-29T04:19:40.747430 | 2017-01-04T14:27:46 | 2017-01-04T14:27:46 | 77,998,418 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include<iostream>
#include<map>
using namespace std;
struct RandomListNode
{
int label;
RandomListNode *next, *random;
RandomListNode(int x) : label(x), next(NULL), random(NULL) {}
};
RandomListNode *copyRandomList(RandomListNode *head)
{
if(head==NULL)
return NULL;
map<RandomListNode* ,RandomList... | [
"jiabinluo@yeah.net"
] | jiabinluo@yeah.net |
d46eb13181a676b7e01bdf368c9c797db40c206e | 635877894a1cf9a08fbd18c9c6979edbd84b5f66 | /ESP-sc-gway/_loraFiles.ino | d0854aee3240c0fe2ec0a5abdcc5dfbc3cc243ee | [
"MIT",
"LicenseRef-scancode-philippe-de-muyter"
] | permissive | markoceri/ESP-1ch-Gateway-v6.0 | 8b362fae26c8ee157d31be65c36f77aa485f5667 | e59a219ed7ca5a0496d577c5e81e5ac7a599ec31 | refs/heads/master | 2020-12-21T05:36:40.704827 | 2020-01-22T12:36:22 | 2020-01-22T12:36:22 | 236,325,596 | 0 | 0 | null | 2020-01-26T14:44:39 | 2020-01-26T14:44:38 | null | UTF-8 | C++ | false | false | 21,259 | ino | // 1-channel LoRa Gateway for ESP8266
// Copyright (c) 2016-2020 Maarten Westenberg version for ESP8266
//
// based on work done by Thomas Telkamp for Raspberry PI 1ch gateway
// and many others.
//
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the MIT Lic... | [
"mw12554@hotmail.com"
] | mw12554@hotmail.com |
55c82c0a4a0bb06b98058c2e7a4e1593b14c24cb | 0fdb72063e4fe31fec88d2f9917620c3aa31cf56 | /src/file.cc | 45dbfa3a1ef55a0b5a36ad580f1f0415d69321d2 | [] | no_license | bndbsh/stormpp | 4b33bebd41fc9efba1cd38570069c0ec74f579ab | 3db297ee2471019d4941e971d0ebf312c83a551d | refs/heads/master | 2021-05-27T06:53:42.095854 | 2010-06-28T17:46:19 | 2010-06-28T17:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,844 | cc | #include "file.hh"
#include "archive.hh"
#include <iostream>
#include <StormLib.h>
namespace storm {
File::File() : mode(Invalid), ioMode(Closed), open(false) {
}
File::File(const File& file) {
mode = file.mode;
ioMode = file.ioMode;
archive = file.archive;
filename = file.filename;
fileHandle = file.fileHand... | [
"amro256@gmail.com"
] | amro256@gmail.com |
a6d664d2e1e5e34111dda3833dfc500afc9a2f84 | cde13cbd8341c3820c5ac46ef763036a31d028d6 | /11.27/guangliangda02.cpp | 6aadb6830db80757953bfd920adeb67c14b4063c | [] | no_license | Gongyihang/cpp | 11d6b4d2cd2a2592e2ea09ff0c062651bd188ad5 | e3d8314f2de064d03f8536ce7f85e098ed1e0ffc | refs/heads/master | 2023-01-31T19:31:12.028787 | 2020-12-17T01:59:11 | 2020-12-17T01:59:11 | 256,767,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
vector<ll> v(4, 0);
bool func(ll x)
{
ll p = 0, q = 0;
for (auto num : v) {
if (num - x >= 0) {
p += num ... | [
"474356284@qq.com"
] | 474356284@qq.com |
e8c96592428a4e0529954457800ed19fc240fc86 | 3fee62a27cffa0853e019a3352ac4fc0e0496a3d | /zCleanupCamSpace/ZenGin/Gothic_II_Addon/API/zGameInfo.h | 140885c49cb641f873101d65bdc2851238bb9076 | [] | no_license | Gratt-5r2/zCleanupCamSpace | f4efcafe95e8a19744347ac40b5b721ddbd73227 | 77daffabac84c8e8bc45e0d7bcd7289520766068 | refs/heads/master | 2023-08-20T15:22:49.382145 | 2021-10-30T12:27:17 | 2021-10-30T12:27:17 | 422,874,598 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,043 | h | // Supported with union (c) 2018-2021 Union team
#ifndef __ZGAME_INFO_H__VER3__
#define __ZGAME_INFO_H__VER3__
#include "zBuffer.h"
#include "zVob.h"
#include "zNet_Win32.h"
namespace Gothic_II_Addon {
const int zMAX_PLAYER = 20;
const int zPCK_GAMEINFO_INFO = 1;
const int zPCK_GAMEINFO_PLAYER = 2;
... | [
"amax96@yandex.ru"
] | amax96@yandex.ru |
2e97d7116a5b59348c3a996ddcb30028e1aa23f2 | fc3cb4f2d5afe9b7093a3c6f9f1cd95211ccf7b8 | /L03S05.AddFunction2Header/addfunction2.cpp | 4cbcab86f0f5de3749271679af00adc5bad604c9 | [] | no_license | CPSC-2377-UALR/CPSC.2377.Code.Examples | a8967a9aac7feac1a73b0f625f590959f3323c25 | 80318fe1e395c8e4eb8cfe032b4607260c2988f7 | refs/heads/master | 2022-02-19T04:25:46.417542 | 2019-09-11T17:50:10 | 2019-09-11T17:50:10 | 127,178,682 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | /*
* File: addfunction2.cpp
* Author: Keith Bush (2013)
*/
#include<iostream>
#include "functions.h"
using namespace std;
int main(){
int sum=0, n1=0, n2=0;
while( !(sum==7 || sum==11) ){
cout << "Enter two numbers on the range [0,6]: ";
cin >> n1 >> n2;
sum = addTwoNumbers(n1%7,n2%7);
}
cout <... | [
"smorme@ualr.edu"
] | smorme@ualr.edu |
74a690fffc808c3429a97feede6dbb11e3deda0c | 0f054d3440d94f27bc61c2b69c46d250fd1400a8 | /cppp/CPlusPlusAdvanced/06_Evald/CodeFromOthers/registry_tal_yiftach/conf.h | fcc068544153f1479599ba73ae75610235a80e8e | [] | no_license | Tomerder/Cpp | db73f34e58ff36e145af619f03c2f4d19d44dc5d | 18bfef5a571a74ea44e480bd085b4b789839f90d | refs/heads/master | 2020-04-13T21:37:06.400580 | 2018-12-29T02:35:50 | 2018-12-29T02:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | h | /*************************************************
Author: Yiftach Ariel
Creation date : 9.12.13
Last modified date: 10.12.13
Description : conf h-file.
CONF_VAL is a macro to load a value from configuration file.
1'st parameter is the type of the variable.
2'nd parameter is the name of the va... | [
"tomerder@gmail.com"
] | tomerder@gmail.com |
da2542d8ca92358502af90256debbd8f67eb2634 | 19a8bdb4fac11ea31b8b4f642d209e0a9f075d1b | /coder/visual studio 2017/oop/bt li thuyet/sinh vien/sinh vien/QuanLi.cpp | a7f56ccef70ca9e1ae0bff0ce59fba7d23ac19b3 | [] | no_license | HuyKhoi-code/C- | 049727c5ba792a9e24f945522f8e2aaed7360650 | 57ea096681fc8db7470445f46c317c325900e9cb | refs/heads/master | 2023-06-02T03:11:03.793539 | 2021-06-17T07:50:22 | 2021-06-17T07:50:22 | 377,746,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | #include"QuanLi.h"
#include"CaoDang.h"
#include"DaiHoc.h"
#include"SinhVien.h"
QuanLiSV::QuanLiSV() {
a = new SinhVien*[SoLuong];
}
QuanLiSV::~QuanLiSV(){}
void QuanLiSV::nhap() {
int t;
cout << "nhap so luong sinh vien: ";
cin >> SoLuong;
cout << "1-Sinh vien dai hoc/ 2-Sinh vien cao dang";
for (int i = 0; i < S... | [
"18520949@gm.uit.edu.vn.com"
] | 18520949@gm.uit.edu.vn.com |
74788a5fe8f8d8581b8a69e37ead3da83fde97a8 | 4ba0b403637e7aa3e18c9bafae32034e3c394fe4 | /cplusplus/sage/compile/builtins.cc | ec1f0ab44ee9f0632cc16881fa7f734afa0018f0 | [] | no_license | ASMlover/study | 3767868ddae63ac996e91b73700d40595dd1450f | 1331c8861fcefbef2813a2bdd1ee09c1f1ee46d6 | refs/heads/master | 2023-09-06T06:45:45.596981 | 2023-09-01T08:19:49 | 2023-09-01T08:19:49 | 7,519,677 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cc | // Copyright (c) 2019 ASMlover. 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 ofconditions and... | [
"asmlover@126.com"
] | asmlover@126.com |
6b6a75b90dfda3c5348d1a100d5290c578a2b10d | bf007dec921b84d205bffd2527e376bb60424f4c | /Codeforces_Submissions/664A.cpp | c7cce94030e56893280bc2f1724c6b7618753aaf | [] | no_license | Suvrojyoti/APS-2020 | 257e4a94f52f5fe8adcac1ba4038cc66e81d9d26 | d4de0ef098e7ce9bb40036ef55616fa1f159f7a5 | refs/heads/master | 2020-12-21T19:27:59.955338 | 2020-04-22T13:27:49 | 2020-04-22T13:27:49 | 236,534,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
#ifndef ONLINE_JUDGE
// for getting input from input.txt
freopen("input1.txt", "r", stdin);
// for writing output to output.txt
freopen("output1.txt", "w", stdout);
#endif
string a,b;
cin>>a>>b;
if(a==b)
... | [
"suvrojyoti.mandal@theatom.app"
] | suvrojyoti.mandal@theatom.app |
1068cf2b37284c4f6ee63aba24564bc6027adc8c | 5c4d0acf680da3a0c2f9a58923d3d9a91f2ea84c | /JustATempProject/JustATempProject/Player.cpp | 248e58268d90dbe258c0fe4c0fe9f3c072d440bd | [] | no_license | ARAMODODRAGON/JustATempProject | 8a620dc7ad674c59166229285cf9541a8936a9d7 | 4cbf57a7b70bdc8b3c564c2b35cff26194301e3c | refs/heads/master | 2020-08-29T22:34:16.693694 | 2019-10-29T03:54:45 | 2019-10-29T03:54:45 | 218,191,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include "Player.h"
#include <stdio.h>
#include "Parts.h"
#include "Transform.h"
Player::Player(std::string name) : GameObject(name), box(nullptr), rb(nullptr), timer(0.0f) {}
int Player::Init() {
rb = CreatePart<RigidBody>();
box = CreatePart<Box>();
rb->acceleration.Y = -9.8f;
return GameObject::Init();
}
int... | [
"domara2000@gmail.com"
] | domara2000@gmail.com |
cbfc2483b153d6027e01dd87f806be834c79aa00 | b97c163e22163b9b27c9276ea2ba43d91a8982b3 | /src/qt/peertablemodel.cpp | 8e979ae5223f7a7715e0763b349cb71a77490677 | [
"MIT"
] | permissive | Olliecad1/CLEO-Global | 956c259fc6318049a444cfdd36923a682f924c46 | 2629afb1a3dfacec499b7a3e6b326c5d923cfea9 | refs/heads/master | 2020-05-04T13:14:55.691925 | 2019-07-10T18:23:53 | 2019-07-10T18:23:53 | 179,152,891 | 2 | 2 | MIT | 2019-06-07T18:05:33 | 2019-04-02T20:23:17 | C | UTF-8 | C++ | false | false | 6,367 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Copyright (c) 2018 The Denarius Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "peertablemodel.h"
#include "clientmodel.h"
#include "guiconstants.h"... | [
"officialgamermorris@gmail.com"
] | officialgamermorris@gmail.com |
24c97e9ffd81b0f4fad1628c405077223d28bf00 | 3642077326d9776d53b7a4e9e0cbebbea9c230e2 | /Advanced Game Programming/Advanced Game Programming/Source/ContactListener.cpp | 99326539476fec5bcd88895e55037e588ee12788 | [] | no_license | Nokondi/GameProgrammingSample | 40e8105edf0710f7e99395e7b04d81f1f4a319dc | 4b271df67ed8012d9cd18fa53dc7199588202d64 | refs/heads/master | 2021-05-15T02:52:49.155011 | 2020-03-26T20:52:06 | 2020-03-26T20:52:06 | 250,368,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | #include "ContactListener.h"
#include "Object.h"
#include "Components.h"
#include "Library.h"
#include "BodyComponent.h"
void ContactListener::PreSolve(b2Contact* contact, const b2Manifold* oldManifold)
{
//Grab the two Physics Bodies involved in the Contact
b2Body* bodyA = contact->GetFixtureA()->GetBody();
b2Body... | [
"msbarnes@ualr.edu"
] | msbarnes@ualr.edu |
d1c784f087dd4e93e38632f8dd9ae4f1459ff19e | c73c7edb59359556375602acdb2b27d886c8125b | /Theon's Answer.cpp | c954ddf1707054353e3ed9680398f5bdb87f10bf | [] | no_license | galloska/URI | 14e43bb4e7083ae2d517afe0e62b46e17b7cac91 | 86648676d417a6a452019e731c58ba25d5742fe3 | refs/heads/master | 2021-01-10T11:14:09.819072 | 2016-01-26T21:58:53 | 2016-01-26T21:58:53 | 50,080,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <bits/stdc++.h>
#define lli long long int
#define pii pair<int,int>
using namespace std;
const int INF = 1e8;
const int MAXN = 100005;
int main(){
int n;
scanf("%d",&n);
int id=-1,a;
int mini = INF;
for(int i=0;i<n;i++){
scanf("%d",&a);
if(a<mini){
mini = a;
id = i;
}
}
printf("%d\n",i... | [
"skap19952008@hotmail.com"
] | skap19952008@hotmail.com |
f708d35687bdd9581bdbb5248af338926bb1f75a | 5f46975fc7a0b309bbc40f8d16ea12043025c057 | /Programmers/두 정수 사이의 합.cpp | 40b8ac53a00959d5e2c1f9d7d4ea342ae9db749a | [] | no_license | HyeranShin/algorithm | b7814a57bd7e94e8b07fbc870295e5024b4182d5 | dbe6dc747030be03c3bb913358a9b238dcecfcc4 | refs/heads/master | 2021-08-18T04:10:10.039487 | 2020-05-01T07:23:46 | 2020-05-01T07:23:46 | 174,467,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | /*
https://www.welcomekakao.com/learn/courses/30/lessons/1291
<문제 설명>
두 정수 a, b가 주어졌을 때 a와 b 사이에 속한 모든 정수의 합을 리턴하는 함수, solution을 완성하세요.
예를 들어 a = 3, b = 5인 경우, 3 + 4 + 5 = 12이므로 12를 리턴합니다.
<제한 조건>
- a와 b가 같은 경우는 둘 중 아무 수나 리턴하세요.
- a와 b는 -10,000,000 이상 10,000,000 이하인 정수입니다.
- a와 b의 대소관계는 정해져있지 않습니다.
*/
#include <str... | [
"hyeran9712@naver.com"
] | hyeran9712@naver.com |
2dca74bb98b576f7ae5bfa138e04157b1585984a | a0ca4b308a3f3882dc5052a402c9e740187e8286 | /include/Controls.h | 120da5e5845d4521677f3dfa6cdf01de639449df | [] | no_license | shtein/arduinolib | 2052c81ac03ba832f5a6dafa595d1a2bc136a348 | fc8b4538b29786857dd3ab2b5071ba19093799e6 | refs/heads/master | 2023-05-12T23:24:51.385972 | 2023-05-02T02:45:24 | 2023-05-02T02:45:24 | 122,542,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,255 | h | #ifndef __CONTROLS_H
#define __CONTROLS_H
#include "ControlCtx.h"
#include "AnalogInput.h"
#include "utils.h"
#include "CmdParser.h"
//Change commands
#define EEMC_NONE 0x00 //Nothing changed
#define EEMC_ERROR 0xFF //Input error
///////////////////////////////////
// Control flags
#define CTF_NONE ... | [
"shtein@gmail.com"
] | shtein@gmail.com |
28f339371705c7ce22be7c6c17069038ff8c97d0 | bfe6956c470da766ed7e8fbb6d72848a95372def | /Labs/lab7/lab7/Source.cpp | aaab47d55a691c97311487766b3b2343868b6a95 | [] | no_license | matthew-bahloul/2019-Spring-CS211 | 685160145d7761a3086a24cb50e2a614d8533c67 | c3c47f4218bcf7d8eb8034029be18248a69339e3 | refs/heads/master | 2020-04-19T07:06:21.824802 | 2019-04-21T21:13:12 | 2019-04-21T21:13:12 | 168,037,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | #include "BinarySearchTree.h"
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
BinarySearchTree<int> tree{};
tree.addElement(100);
tree.addElement(75);
tree.addElement(125);
cout << "Is AVL: " << tree.isAvl() << " (expected true)" << endl;
cout << "Common ancestor of 75 and 125: " <<... | [
"matthew.bahloul@gmail.com"
] | matthew.bahloul@gmail.com |
533e03ef517178bd9beafeebd944d5302d895d55 | 1acbf36d67ab3cad2e1234029e7fff62816c5d72 | /src/dalsa_win_buffer_processing.h | e04ab2d902a0fb8c3d54f785d177869721e89777 | [] | no_license | maximMalofeev/media_provider | 419337c631b02bcbc61a6c5335c19c65afca50d2 | 4d46c4714e30954bb10811b39673d2417ac43f36 | refs/heads/master | 2020-07-28T05:29:22.137235 | 2020-02-07T15:02:46 | 2020-02-07T15:02:46 | 209,323,686 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 514 | h | #ifndef SAPBUFFERPROCESSING_H
#define SAPBUFFERPROCESSING_H
#include <SapClassBasic.h>
#include <QImage>
#include <QObject>
namespace MediaProvider {
class DalsaBufferProcessing : public QObject, public SapProcessing {
Q_OBJECT
public:
DalsaBufferProcessing(SapBuffer* sapBuffer, QObject* parent = nullptr);
s... | [
"maximMalofeev@bk.ru"
] | maximMalofeev@bk.ru |
16e1a375c81c4b4631030725e1f01ae27ff7090c | 3eef636ad6039f8218473ee783b2d6957ea2bc8d | /MonitorInfoServer/MonitorInfoServer/MessageHandler.h | acdd9e7c8c9957433907031ae9de6b613fbcae95 | [] | no_license | nicktsai1988/windows | 7f5b737c94f0fef941fac7abdbd1a412207d5a93 | d99b6b6e09a72fbd0c51e8f2886dd46326c4d40a | refs/heads/master | 2020-04-06T05:36:00.302227 | 2014-06-20T11:19:27 | 2014-06-20T11:19:36 | 20,987,594 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 468 | h | #pragma once
#include "MessageTypeUtils.h"
class CMessageHandler
{
public:
CMessageHandler(void);
void Init(SOCKET fd,const void* pData);
int DealMessage();
~CMessageHandler(void);
private:
int RecvRequest(RequestMessageType* message,const timeval* tmval);
int CreateResponse(const RequestMessageType* request,Resp... | [
"nicktsai@163.com"
] | nicktsai@163.com |
79c83a8e88a24f30cf8bb4f3fac42bbc85340af1 | d6723b2e1547d1eddd5a120c8fa4edbf4cddbacb | /silkopter/fc/src/MPL_Helper.h | c33333af6f816494a57b862bb60d63a6f58d96c0 | [
"BSD-3-Clause"
] | permissive | gonzodepedro/silkopter | 2d16e10bd46affe4ca319e3db3f7dbc54283ca23 | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | refs/heads/master | 2022-01-04T20:46:51.893287 | 2019-01-07T22:43:40 | 2019-01-07T22:43:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | h | #pragma once
namespace silk
{
namespace detail
{
template<int...> struct index_tuple{};
template<int I, typename IndexTuple, typename... Types>
struct make_indexes_impl;
template<int I, int... Indexes, typename T, typename ... Types>
struct make_indexes_impl<I, index_tuple<Indexes...>, T, Types...>
{
typedef ty... | [
"catalin.vasile@gmail.com"
] | catalin.vasile@gmail.com |
5d9d54ab3abecffba1786c6886cc41e3e7cc959f | eff3b95b4f27aead25dba7e093c46a79aabe58ec | /turma.h | a7c5e83373f3d4efe303a727cd35f7e75f319cca | [] | no_license | walcker/Alunos-da-Turma | 322be9bd2020e2587090e7341299e6cd7c675b63 | eef87f591ede66c06f51fc7a7f751a41b18de8cc | refs/heads/master | 2022-12-14T11:31:03.418323 | 2020-03-12T22:13:54 | 2020-03-12T22:13:54 | 293,941,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | #ifndef TURMA_H
#define TURMA_H
#include <iostream>
#include "aluno.h"
using namespace std;
class Turma
{
private:
string codigo;
string descricao;
short capacidade;
Aluno* participantes;
int lotacao;
public:
// get & set
void setCodigo(string cd);
string getCodigo();
void setDescricao(string ds);
string g... | [
"walckergomes@gmail.com"
] | walckergomes@gmail.com |
f0f028318b7adaf86f7e14f55ceee1d24a1dde4c | ba02c94e1d558c1f0cb3f6dc9e66e36d40fcea91 | /Singly linked list/CreateNewAddheadAddtail.cpp | 6e24ea4a44cceff5af680b6c156f9cf2be03b9e4 | [] | no_license | Hieu1011/DSA | 2138131efdac57b33cbe5515a3816089b6abfc68 | 6f9031cbd3e12da42035ba85ba3e6d0e98838b10 | refs/heads/main | 2023-06-14T07:40:28.635752 | 2021-07-05T17:11:23 | 2021-07-05T17:11:23 | 383,007,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | #include <iostream>
using namespace std;
struct NODE
{
int info;
NODE* pNext;
};
struct LIST
{
NODE* pHead, * pTail;
};
void CreateEmptyList(LIST& L)
{
L.pHead = L.pTail = NULL;
}
void Addhead(LIST& L, int x)
{
NODE* p = new NODE;
p->info = x;
p->pNext = NULL;
if (L.pHead == NULL)
{
L.pHead = p;
L.pTail = ... | [
"20520994@gm.uit.edu.vn"
] | 20520994@gm.uit.edu.vn |
97d067cc235c9a4938fe42b4c0943fe76b28f5a5 | ce4a3f0f6fad075b6bd2fe7d84fd9b76b9622394 | /include/EMaterialFlags.h | f016c81e4a21d9c71179a8a1659f357bb92ca475 | [] | no_license | codetiger/IrrNacl | c630187dfca857c15ebfa3b73fd271ef6bad310f | dd0bda2fb1c2ff46813fac5e11190dc87f83add7 | refs/heads/master | 2021-01-13T02:10:24.919588 | 2012-07-22T06:27:29 | 2012-07-22T06:27:29 | 4,461,459 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,752 | h | // Copyright (C) 2002-2011 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __E_MATERIAL_FLAGS_H_INCLUDED__
#define __E_MATERIAL_FLAGS_H_INCLUDED__
namespace irr
{
namespace video
{
//! Material flags
enum E_MATER... | [
"smackallgames@smackall-2bbd93.(none)"
] | smackallgames@smackall-2bbd93.(none) |
a2e324bc0b1f0906e665665953ddc34ae8a86d0c | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /base/win/embedded_i18n/language_selector.cc | fde6a282b0f29580d4e2bd46efd7e9da09208a4c | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 14,014 | cc | // Copyright 2018 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.
//
// This file defines a helper class for selecting a supported language from a
// set of candidates. It is used to get localized strings that are directl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2c9ee9af44b0a9e1e3763f2d607b353edf86cfee | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /base/containers/linked_list_unittest.cc | f4ecc71066fe777bcd1879b47037ca18422be3f9 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 6,677 | cc | // Copyright (c) 2009 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 "base/containers/linked_list.h"
#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
class ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
1c4adf3e6f548b98ba57f93e18c565ed554c2d80 | 18b8d3d283dca9072c802206cadcf779db192bf9 | /PWMODEL/src/CpSNR.cpp | 5ac6be7f8343302456c02cf7950f9b9a08bd2fe9 | [
"Apache-2.0"
] | permissive | wanming2008/Rositaplusplus | 76f4457f0972f6ede818772921522d2f72342e0a | d4ec705b200dfbb26e54d379fd45373e34a20f47 | refs/heads/master | 2023-07-28T06:05:08.221484 | 2021-09-13T15:04:44 | 2021-09-13T15:04:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp | // Copyright 2021 University of Adelaide
//
// 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 agr... | [
"madura.shelton@adelaide.edu.au"
] | madura.shelton@adelaide.edu.au |
87e5615c298be034b2fa8e730aeead1b33de34c5 | 727c574f0b5d84ae485b852ccf318063cc51772e | /ZOJ/ACM answer/ZJU Online Judge/1985/ZJU_1985.CPP | d25865fe33524f48623528f4f8e699084269a4dc | [] | no_license | cowtony/ACM | 36cf2202e3878a3dac1f15265ba8f902f9f67ac8 | 307707b2b2a37c58bc2632ef872dfccdee3264ce | refs/heads/master | 2023-09-01T01:21:28.777542 | 2023-08-04T03:10:23 | 2023-08-04T03:10:23 | 245,681,952 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | #include <stdio.h>
#include <string.h>
#define maxn 100010
int n;
double list[maxn];
int prev[maxn] , next[maxn];
void init()
{
int i , key;
for(i=1; i<=n; i++)
{
scanf("%d" , &key);
list[i] = key;
}
}
void predoing()
{
int i , k;
list[0] = list[n+1] = -1;
prev[1] = 1;
for(i=2; i<=n; i++)
{
if(list[... | [
"cowtony@163.com"
] | cowtony@163.com |
ffcd932373c2fc3c734c7796224b9b77c77e0c5a | 8a5a67fdf382f43477f3849daf2f0372be134e5b | /Algorithms/Graph/Bellman Ford Algorithm.cpp | 10821b86716e594d4edb664966153bfc8ff47560 | [] | no_license | akhilsaini678/All-Codes | bd57171bbf08e721c32f8fd30c26e05a02b6fd9f | 6c7c7fc345d9fbe68e78723d1703f618941aefb3 | refs/heads/master | 2023-07-12T08:50:44.918801 | 2021-08-22T05:31:30 | 2021-08-22T05:31:30 | 398,625,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | #include<bits/stdc++.h>
using namespace std;
struct node {
int u;
int v;
int wt;
node(int first,int second,int third)
{
u=first;
v=second;
wt=third;
}
};
void solve()
{
int vertices,edge,u,v,count=0,weight;
cin>>vertices>>edge;
vector<node> graph;
vector<int> distance(vertices+1,1e9);
for(int i=0;i<e... | [
"akhilsaini678@gmail.com"
] | akhilsaini678@gmail.com |
1a24d6578ea280528171bf1f310073d07e114c9e | 6ef34eb0f4df4ac17bf4a38ff50640087e1137e6 | /src/shaka_scheme/runtime/stdproc/pairs_and_lists.cpp | 431778d42823834e131c1d765b96b96c82e3770b | [] | no_license | 1010jms/shaka-scheme | c1dcb37600d5ba2a9bf58c4bd5d4aed1a504d043 | da8525fa28819eaec3ed88cc2215d4c8d3b162a8 | refs/heads/master | 2021-04-30T16:34:24.519330 | 2018-04-28T02:03:32 | 2018-04-28T02:03:32 | 80,072,898 | 0 | 0 | null | 2017-01-26T00:40:37 | 2017-01-26T00:40:37 | null | UTF-8 | C++ | false | false | 14,328 | cpp | //
// Created by Kayla Kwock on 3/26/2018.
//
#include "shaka_scheme/runtime/stdproc/pairs_and_lists.hpp"
namespace shaka {
namespace stdproc {
namespace impl {
//(pair? ...)
Args is_pair(Args args) {
if (args.size() != 1) {
throw InvalidInputException(1,
"pair?:... | [
"VermillionAzure@users.noreply.github.com"
] | VermillionAzure@users.noreply.github.com |
5667bdea104bf27231f33b2e86a8c8ff1b27202c | 3ad985b16910bab038a57291782d16f290e4a004 | /Week_05/leetcode/052.n-queens.cc | 290b99105eb64d72d0310b4988851408a16ba1a3 | [] | no_license | osvimer/AlgorithmCHUNZHAO | 754c23855dd03c6d2ea260b55eed27c9b2fba1b6 | 650b3a833df99d400a59d55a33174e9639d5d16c | refs/heads/main | 2023-03-29T17:03:21.362666 | 2021-03-21T15:22:46 | 2021-03-21T15:22:46 | 330,702,738 | 0 | 0 | null | 2021-01-18T15:07:24 | 2021-01-18T15:07:23 | null | UTF-8 | C++ | false | false | 1,202 | cc | // n 皇后问题 研究的是如何将 n 个皇后放置在 n×n 的棋盘上,并且使皇后彼此之间不能相互攻击。
// 给你一个整数 n ,返回 n 皇后问题 不同的解决方案的数量。
// https://leetcode-cn.com/problems/n-queens-ii
// 思路:DFS + 位运算
// 三个整数 col_bits, pie_bits, naa_bits 记录列、撇、捺方向上皇后出现的情况。
class Solution {
public:
int totalNQueens(int n) {
dfs(n, 0);
return result;
}
void... | [
"acmhjj@gmail.com"
] | acmhjj@gmail.com |
dbd6d85d4ec85fb2b7ffe405540bbd267794e6ea | 7ef7382554531e48bfcebe8f91d4f7bfee06de10 | /pikoc/samples/reyesPipe/sceneParser/sceneParser.cpp | ed1792692a30f9ad02416285944e54f22a7fe49d | [] | no_license | cwz920716/piko-public | 87ee4eba277294f9b388dcdbbbc564b24e5be37e | 02369208632d6a1183bdbfe7b2e96cbf0ba1e156 | refs/heads/master | 2021-05-15T12:39:56.156006 | 2018-02-18T04:27:20 | 2018-02-18T04:27:20 | 108,474,933 | 0 | 0 | null | 2017-10-26T23:07:32 | 2017-10-26T23:07:32 | null | UTF-8 | C++ | false | false | 12,811 | cpp | #ifdef WIN32
typedef unsigned int uint;
#endif
#include "sceneParser.h"
template<typename to, typename from>
inline to lexical_cast(from const &x) {
std::stringstream os;
to ret;
os << x;
os >> ret;
return ret;
}
inline void chompString(std::string& str){
std::string::size_type pos = str.fin... | [
"anonymous"
] | anonymous |
cb7057e6c9bc33546b0f0ea45d94b70419d4a80b | c1f89beed3118eed786415e2a6d378c28ecbf6bb | /src/inc/holderinst.h | 952a91d8070acd5213cfc97b61f6b1e483c493b9 | [
"MIT"
] | permissive | mono/coreclr | 0d85c616ffc8db17f9a588e0448f6b8547324015 | 90f7060935732bb624e1f325d23f63072433725f | refs/heads/mono | 2023-08-23T10:17:23.811021 | 2019-03-05T18:50:49 | 2019-03-05T18:50:49 | 45,067,402 | 10 | 4 | NOASSERTION | 2019-03-05T18:50:51 | 2015-10-27T20:15:09 | C# | UTF-8 | C++ | false | false | 902 | h | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#ifndef __HOLDERINST_H_
#define __HOLDERINST_H_
// This file contains holder instantiations which we can't put in holder.h because
// the instantiations require... | [
"dotnet-bot@microsoft.com"
] | dotnet-bot@microsoft.com |
2535ecdc265061456a06882825aca3c8e0c96d2e | ad33f4f862f94cdeb9ac7223f19046c3e956dceb | /Lista5/exe1.cpp | 32d996e0a4dfa2ef55315cdd971d7a7ca31edc8d | [
"MIT"
] | permissive | nathalyoliveira/LG1-IFSP | 3cbe0b30a35f298cec7e088ca6ecd06db879b474 | b072c916f71a8b5924a766d8b6fa4e0a481faa64 | refs/heads/main | 2023-02-28T21:52:15.214172 | 2021-02-03T18:15:02 | 2021-02-03T18:15:02 | 335,711,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include<stdio.h>
#include<conio.h>
int main()
{
int a[12],i, j,x;
for (i=0;i<12;++i)
{puts("DIGITE OS VALORES DO VETOR A:");
scanf("%d", &a[i]);}
for(i=0;i<12;++i)
for(j=i+1;j<12;++j)
if(a[i]<a[j])
{x=a[i];
a[i]=a[j];
a[j]=x;}
for(i=0;i<12;++i)
{ printf("MATRIZ DECR... | [
"73591609+nathalyoliveira@users.noreply.github.com"
] | 73591609+nathalyoliveira@users.noreply.github.com |
203705e60e19ddd68c3d8a201dc6a093147992ff | 70f46db7f53566a63063356386bcc1f7ff88309c | /include/JavaScriptCore/LLIntPrototypeLoadAdaptiveStructureWatchpoint.h | 220fff3e3bf54341e961c82df8c4e8c9000734be | [
"Apache-2.0"
] | permissive | openkraken/jsc | 79510114c028f98912e0021c27081ae98c660f27 | 05f661f9b44ad655486c9a1d61f50eb958eb2c89 | refs/heads/master | 2023-05-27T20:24:59.730326 | 2021-06-01T12:55:44 | 2021-06-01T12:55:44 | 356,278,322 | 4 | 1 | Apache-2.0 | 2021-04-30T07:54:54 | 2021-04-09T13:20:25 | C++ | UTF-8 | C++ | false | false | 2,205 | h | /*
* Copyright (C) 2016 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"chenghuai.dtc@alibaba-inc.com"
] | chenghuai.dtc@alibaba-inc.com |
7bae0901499902d7c191d5b02a0fd980c0f7947b | 12a9a9112f2edd055a74efe915c6a50e856f3b55 | /9-Palindrome-Number/solution.cpp | 28b4404cfb37bdff467c5d90f7e2fbdc89eea5ef | [] | no_license | kid7st/Leetcode | e97e2df3f7fe3adb689a5151fc0f61030bcd7616 | a35cd5749992394b14e498445743921712367543 | refs/heads/master | 2021-06-01T04:36:40.691835 | 2016-07-25T17:12:12 | 2016-07-25T17:12:12 | 54,577,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | class Solution {
public:
bool isPalindrome(int x) {
if(x < 0) return false;
int size = log10(x);
int max = pow(10, size);
int offset = 1;
for(int i = 0; i < (size + 1)/2; i++){
if((x % (10*offset) / offset) != (x / (max / offset) % 10)) return false;
o... | [
"kid7st@gmail.com"
] | kid7st@gmail.com |
e8eee3936a7df3057b0f4a26f860fb301cb2c5ce | f495530040281b02a9e7caed48b89123c45a2edb | /SDK/progressivePhotonMap/PpmObjLoader.cpp | ba8b7a29c1f97e46a590b44e17bbca04a0b16963 | [] | no_license | zengxinlu/chip | 680655d0759852839ed25e324093ffd09218bee7 | 0c86ff6a3e7be49c9787f122b58c6f08b9cc54a2 | refs/heads/master | 2021-01-18T03:53:42.633847 | 2017-04-24T11:45:40 | 2017-04-24T11:45:40 | 85,775,844 | 0 | 1 | null | 2017-04-24T11:45:41 | 2017-03-22T02:25:50 | C | GB18030 | C++ | false | false | 18,951 | cpp |
/*
* Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property and proprietary
* rights in and to this software, related documentation and any modifications thereto.
* Any use, reproduction, disclosure or distribution of this software ... | [
"lovevvcy@163.com"
] | lovevvcy@163.com |
41b6e0b352cfdc63409d01c3a70270125c66d58f | 5db5a5a053ef2c572c115f4ac36bfefa00e28379 | /POJ/POJ1422.cpp | 55f234ddf85cf18ef18808c9a27e4e6ff4514ef2 | [] | no_license | CaptainSlowWZY/OI-Code | 4491dfa40aae4af148db2dd529556a229a1e76af | be470914186b27d8b24177fb9b5d01d4ac55cd51 | refs/heads/master | 2020-03-22T08:36:19.753282 | 2019-12-19T08:22:51 | 2019-12-19T08:22:51 | 139,777,376 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | // POJ 1422
#include <cstdio>
#include <cstring>
#ifdef DEBUG_MD
#define debug(format, ...) fprintf(stderr, format, __VA_ARGS__)
#else
#define debug(format, ...) 0
#endif
const int MAXN = 125;
const int MAXE = 60 * 119 + 10;
struct Edge {
int to, next;
} E[MAXE];
int N, M, tote, last[MAXN], match[MAXN], vis[MAXN... | [
"CaptainSlowWZY@163.com"
] | CaptainSlowWZY@163.com |
336a16ee5c93899eba9dd47be826c27db34df1f2 | d8c56ab76e74824ecff46e2508db490e35ad6076 | /ZETLAB/ZETTools/Interface2012/ZetLab/Panel.h | 517ad2c5618767532b9f84e03fb2a2476a34b83b | [] | no_license | KqSMea8/UtilsDir | b717116d9112ec9f6ee41f4882ad3f52ebb2e84b | 14720766a2a60368495681d09676f860ea501df2 | refs/heads/master | 2020-04-25T17:21:39.538945 | 2019-02-27T14:36:32 | 2019-02-27T14:36:32 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,875 | h | //------------------------------------------------------------------------------
// Panel.h : файл заголовка
//------------------------------------------------------------------------------
// Класс элемента Panel
//------------------------------------------------------------------------------
#pragma once
#include "C:... | [
"s-kacnep@ya.ru"
] | s-kacnep@ya.ru |
268367d633d3960c13c9a51951bc16b6f50c937a | 9a4487b0b8bab57246e839bb9349333673f7f05a | /Octo-Spork/Octo-Spork/Utils.cpp | ed91e45276a06724dfb35432b3d36629bc39a06d | [] | no_license | JoshLmao/5CS025-OctoSpork | 68e5dd7b7d353e812b54bbb9e1aded5058e9dc19 | 840b8fc78268cad737195111d4538890df100f0b | refs/heads/master | 2022-03-19T23:02:42.609958 | 2019-11-29T16:18:10 | 2019-11-29T16:18:10 | 212,071,655 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | #include "Utils.h"
#include <string>
#include <locale>
#include <map>
std::string Utils::ToLower(std::string s)
{
std::string lower = "";
std::locale loc;
for (int i = 0; i < s.length(); i++)
lower += std::tolower(s[i], loc);
return lower;
}
bool Utils::ToLowerCompare(std::string a, std::string b)
{
return T... | [
"josh_lmao@live.co.uk"
] | josh_lmao@live.co.uk |
a68b8cfa5076aaea13031575e63dfbdc4fec510b | 6a7dce57186c961826fd9af1732a181dd4f5d2d0 | /src/shendk/files/model/mt7/mt7_node.cpp | f7fc6e7a08736b93db841c10dbb15ad64890a0d7 | [
"MIT"
] | permissive | Shenmue-Mods/ShenmueDK | 3d404166a49bbca811d4e5c384f7aaca5910fcdb | 1dae443814b3755281d207a13f25571c0e51a5d1 | refs/heads/master | 2023-04-10T00:17:35.110739 | 2023-03-31T00:46:11 | 2023-03-31T00:46:11 | 164,145,748 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,488 | cpp | #include "shendk/files/model/mt7/mt7_node.h"
#define readBytes(x,y,z) x.read(reinterpret_cast<char*>(&y), z)
namespace shendk {
namespace mt7 {
class NodeMDEntry {
public:
unsigned int Offset1;
unsigned int Offset2;
NodeMDEntry(std::istream& stream)
{... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
8ab327b85d7a32bff57fca72409222c8ef0535b7 | c3b6ddcc57d79fc79ed241a63b72f870793fd969 | /src/scenario.cpp | 71bac91c2265478881caa562576ba4b1a2eb6ec4 | [] | no_license | mboeh/AUNRIES | b4a8f2a044cd290f5fe9044d975596fd5fd82217 | 85c00cbda6238cb8493cd3e3b045367a9eb048d6 | refs/heads/main | 2023-04-29T02:17:34.560934 | 2021-05-24T01:15:28 | 2021-05-24T01:15:28 | 370,193,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | //
// Created by Matthew Boeh on 5/17/21.
//
#include "scenario.hpp" | [
"m@mboeh.com"
] | m@mboeh.com |
5aff3d0255416f88bc6631c6ba55624570a3c96b | b365e2934404c2f30274808e135e575514351f8e | /src/dm/impls/moab/examples/tests/ex2.cxx | 05e0a58d49d408131b5df0ea37b7160b365755e0 | [
"BSD-2-Clause"
] | permissive | mchandra/petsc | 757bffe87e40cb982060ac2aab8d35faef821c6d | b19ca9c001e69f13e725bb828a15ecf9835165a6 | refs/heads/master | 2021-01-17T11:24:29.081151 | 2015-09-28T16:20:58 | 2015-09-28T16:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,812 | cxx | static char help[] = "Create a box mesh with DMMoab and test defining a tag on the mesh\n\n";
#include <petscdmmoab.h>
typedef struct {
DM dm; /* DM implementation using the MOAB interface */
PetscBool debug; /* The debugging level */
PetscLogEvent createMeshEvent;
/*... | [
"vijay.m@gmail.com"
] | vijay.m@gmail.com |
9d9a6f80150965585b88ce69e7c648fa76a9a30a | 7e4724913dde962d642a85eaf5e3b2e7365021aa | /icu4c/source/i18n/unicode/msgfmtnano_pluralprovider.h | 18492744e789d6f0429dfe561555fd4a9acbc576 | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"ICU",
"BSD-3-Clause",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bhamiltoncx/icu | 7269d17a23e01eabf32e1c4d52d918ea27260e97 | 4f074e602717a115fe56378c1c175eb72bd4c102 | refs/heads/master | 2022-11-14T09:09:42.830009 | 2020-06-30T20:12:46 | 2020-06-30T20:12:46 | 272,472,461 | 0 | 0 | null | 2020-06-15T15:15:34 | 2020-06-15T15:15:33 | null | UTF-8 | C++ | false | false | 1,086 | h | // © 2019 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#ifndef __SOURCE_I18N_UNICODE_MSGFMTNANO_PLURALPROVIDER_H__
#define __SOURCE_I18N_UNICODE_MSGFMTNANO_PLURALPROVIDER_H__
#include "unicode/utypes.h"
#if U_SHOW_CPLUSPLUS_API
#if !UCONFIG_NO_FORMATTING
#in... | [
"benhamilton@google.com"
] | benhamilton@google.com |
f796670445e9a6a7336efa546b668f6eebd900df | e01d541554b2541e280a2581c31f3c8904a5b923 | /nt4/public/sdk/inc/crt/stdiostr.h | 8f6c53af6c975b71d699e3ed4f06f597e6333192 | [] | no_license | tmplazy/NT_4.0_SourceCode | b9a6a65fa3ca3e008b0277c7f5884aa7b3c57b9f | e293359a21b004f6840ec66c0a7ad1077a80f22b | refs/heads/master | 2021-07-22T13:57:15.412794 | 2017-10-31T10:48:43 | 2017-10-31T10:50:50 | 105,346,067 | 1 | 0 | null | 2017-09-30T06:03:46 | 2017-09-30T06:03:45 | null | UTF-8 | C++ | false | false | 2,051 | h | /***
*stdiostr.h - definitions/declarations for stdiobuf, stdiostream
*
* Copyright (c) 1991-1995, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file defines the classes, values, macros, and functions
* used by the stdiostream and stdiobuf classes.
* [AT&T C++]
*
* [Public]
*
****/
... | [
"gasgas4@gmail.com"
] | gasgas4@gmail.com |
4e25422bb11143906a563b624cd651aec65180be | 02e55afe8921e5e580ba56233966ffed5c5832f7 | /intern/GHOST_DisplayManagerSDL.h | 2a815b1dc28fb1dd1cf2a4924e495eaa90b5d02e | [] | no_license | theoriticthierry/Ghost2 | f764de860a2aa788dad55003afab11ad56fe5ccb | 4f2fb169f85bd2d1cf028e2fbbf54a0d485e8c27 | refs/heads/master | 2021-01-23T02:53:35.431754 | 2013-03-18T20:28:55 | 2013-03-18T20:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,023 | h | /*
* $Id$
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This prog... | [
"asilepolitique@gmail.com"
] | asilepolitique@gmail.com |
cefaa2e095bda4e13b317437257e98fcfc82aca0 | 6fbcb29d1607d637adff16028f0b1cf08c0481f5 | /src/button.h | 6a23d7771dc6b15928401a6c3911ae613705a820 | [] | no_license | kentdev/Trichromic | 893c8108b682d67947c883043e6c0b84a81475b6 | 9e71addbc51c3f4986e87d690cb82cfd68281d8c | refs/heads/master | 2021-05-02T02:00:25.306155 | 2020-01-16T04:12:22 | 2020-01-16T04:12:22 | 28,209,064 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #ifndef _button_h
#define _button_h
class _button
{
bool click, rclick;
bool sound;
int type;
int textw;
float texta;
string text;
public:
bool clickable;
short x;
short y;
short w;
short h;
int color;
string get_text();
ol::Bitmap *picture;
void draw_disabled();
void draw();
vo... | [
"kent@kentdev.net"
] | kent@kentdev.net |
b492d185e05094891d9527fac163c371817a5d2c | f8f3b88f9728cc25530d38b4d413ca4bd5e28419 | /hub/hub.ino | a258e4be799ca6b171be1e39a04b2cf23eef8c75 | [
"MIT"
] | permissive | UAlberta-DORN/espnow_firmware | aba737dd8455b4eee28db7079585e893e4d07e96 | 0752fe8ef19e5d3150806427baf18b6ba3ef3d45 | refs/heads/main | 2023-04-08T03:28:57.206925 | 2021-04-16T05:32:29 | 2021-04-16T05:32:29 | 308,136,866 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,279 | ino | #include "hub_settings.h" // we can include a setting file specially made for this script, else compliler will use the default settings
#include <custom_capstone_lib.h>
int resend_counter=10;
DynamicJsonDocument data_json(DEFAULT_DOC_SIZE);
void setup() {
Serial.begin(115200);
printlnd("Hub:");
//Set device in ... | [
"ray@rayliu.ca"
] | ray@rayliu.ca |
a362ba8a81741930780a2ada3577acd385add0b5 | c7aac55da99b0c2fbaa67d86b6a7be604c69dc4e | /hw2-starterCode/.history/hw2_core_code/hw2_20200329224606.cpp | 3134df11d5f14b5708ec29b22436854b8a14174e | [] | no_license | RealZiangLiu/usc_csci420_sp20 | 76733daa3ec84d9c3283330b65ca37fda416a350 | c3a7e38d32cf1f14100512a6da23aa34673f682d | refs/heads/master | 2023-02-19T09:33:39.379731 | 2020-04-23T01:29:34 | 2020-04-23T01:29:34 | 242,432,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,999 | cpp | /*
CSCI 420 Computer Graphics, USC
Assignment 2: Roller Coaster
C++ starter code
Student username: ziangliu
ID: 9114346039
*/
#include "basicPipelineProgram.h"
#include "openGLMatrix.h"
#include "imageIO.h"
#include "openGLHeader.h"
#include "glutHeader.h"
#include <stdio.h>
#include <stdlib.h>
#include <... | [
"ziangliu@usc.edu"
] | ziangliu@usc.edu |
ace1f99fb7b438eb472636b15e378466ca275e4c | dac1cc13f6b3cb0f561107f379ca7bc1205f9f72 | /generateParentheses.cpp | b8dc3fdcd75deb938934eabf33def44d4a681558 | [] | no_license | adityavijay88/avijay | 8cfd76d76ba789acaf6b17598846254f8f158da1 | 759e136164fea60216fb8d68c1019be0ce40cc59 | refs/heads/master | 2016-09-06T17:01:55.035108 | 2014-12-01T10:41:53 | 2014-12-01T10:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
void gp(string str, int l, int h,int &n, vector<string>&res){
if(l>n) return;
if(l==n && h==n){
res.push_back(str);
}else{
gp(str+"(",l+1,h,n,res);
if(l>h){
gp(str+")",l,h+1,n,res);
}
... | [
"avijay@usc.edu"
] | avijay@usc.edu |
a50a1500c7cea25b44342a3b9632406056758c1b | 4f8e66ebd1bc845ba011907c9fc7c6400dd7a6be | /SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/ReadDID_responseMarshaller.cpp | bfadc37b7544fbdbf75386e688b93869cb616a93 | [] | no_license | zhanzhengxiang/smartdevicelink | 0145c304f28fdcebb67d36138a3a34249723ae28 | fbf304e5c3b0b269cf37d3ab22ee14166e7a110b | refs/heads/master | 2020-05-18T11:54:10.005784 | 2014-05-18T09:46:33 | 2014-05-18T09:46:33 | 20,008,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,717 | cpp | //
// Copyright (c) 2013, Ford Motor Company
// 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 condit... | [
"kburdet1@ford.com"
] | kburdet1@ford.com |
028f28b367bf8aa37568029940e0d483d2055024 | 96aed31564b495b225ad39ed9491424b67ba0d56 | /source/update_check.cpp | 94b7835c9fe1606c32b4410aafd89eb0ddad4ff7 | [
"BSD-3-Clause"
] | permissive | masterwishx/reshade | 3d30c7a17169c8ab3261fe4fd4512979b7c641cb | 7977654d52463670cac0065fbcefb9443448c406 | refs/heads/master | 2020-04-19T22:48:33.464592 | 2019-01-30T21:24:00 | 2019-01-30T21:24:00 | 168,479,638 | 2 | 0 | BSD-3-Clause | 2019-01-31T07:08:03 | 2019-01-31T07:08:03 | null | UTF-8 | C++ | false | false | 2,115 | cpp | #include "version.h"
#include "runtime.hpp"
#include <Windows.h>
#include <WinInet.h>
struct scoped_handle
{
scoped_handle(HINTERNET handle) : handle(handle) {}
~scoped_handle() { InternetCloseHandle(handle); }
inline operator HINTERNET() const { return handle; }
private:
HINTERNET handle;
};
bool reshade::runt... | [
"crosiredev@gmail.com"
] | crosiredev@gmail.com |
575d236b6250052206dc13eeee87e32f7e7f47f5 | d4b4513c6314871a268ab97d0aece052a632d57d | /soft/common/protocpp/gtool.eproto.pb.cc | b63ff3876ca20ed5d941dd8a8564bd0434416c26 | [] | no_license | atom-chen/tssj | f99b87bcaa809a99e8af0e2ba388dbaac7156a31 | f4345ad6b39f7f058fac987c2fed678d719a4482 | refs/heads/master | 2022-03-14T22:23:50.952836 | 2019-10-31T11:47:28 | 2019-10-31T11:47:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 13,079 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: gtool.eproto
#include "gtool.eproto.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#inclu... | [
"rocketxyfb@163.com"
] | rocketxyfb@163.com |
d09f223a403a5a0b7e8ec9ebcba8037cc356e190 | 46dffb041c76cfccbf58e325129867ed05a3a391 | /boat-ws/devel/include/vesc_msgs/VescState.h | 6c9408540a685ed83998ef99ea542e26e0446fc2 | [] | no_license | loloduca/AV_Invisible_Boat | 8537f9edba79482037d61811b292972826bea05a | c0631c3b91cabdbc0ae3b4c579cd95bbb4f7a02c | refs/heads/master | 2021-04-30T13:02:22.820990 | 2018-03-14T18:15:00 | 2018-03-14T18:15:00 | 121,286,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,357 | h | // Generated by gencpp from file vesc_msgs/VescState.msg
// DO NOT EDIT!
#ifndef VESC_MSGS_MESSAGE_VESCSTATE_H
#define VESC_MSGS_MESSAGE_VESCSTATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message... | [
"brettg0396@gmail.com"
] | brettg0396@gmail.com |
ffef3fc8160cd68b4971dddd8037f6af11692ae2 | 448ae129ff28b0e4688fbf105d40681f9aa896d5 | /2DWalking/src/objects/boxs/colliderbox.cpp | 95b55befd5bbbcb8573220779c69e4c6d5736a32 | [] | no_license | ISahoneI/2DWalking | 00ef06711946f837de3a897bfa9187f5723a9884 | bbdd5a3d11becfd26d806a056b6950e25db310c0 | refs/heads/master | 2021-06-24T06:23:53.274731 | 2020-10-25T23:46:49 | 2020-10-25T23:46:49 | 138,442,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | cpp | #include "colliderbox.h"
Colliderbox::Colliderbox(float x, float y, float width, float height) : Sprite(x, y, width, height, glm::vec4(128, 0, 255, 128))
{
setIsRender(false);
setIsVisible(false);
setIsCollidable(true);
setLevel(SpriteLevel::LEVEL4);
}
Colliderbox::~Colliderbox()
{
}
bool Colliderbox::isOverlap... | [
"Sahone.come@hotmail.fr"
] | Sahone.come@hotmail.fr |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.