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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9708e166ba26ae7e7592c5cd9ce0fb1388652b4 | b54ee3b532dd933054c5f3bb874aefab79d75c81 | /misc/spiral_array/spiral_array.cc | 7ec9eeddc0ca2763eb70559081693f126e29058f | [] | no_license | samuelzq/NOIP | e6ccb6c22e015eb9e56a67be3a549027e9a1d35c | 5688be6d56481185d1f73e59e8f25f785838575d | refs/heads/master | 2021-02-06T11:51:05.614653 | 2020-03-06T05:54:33 | 2020-03-06T05:54:33 | 243,912,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cc | #include <iostream>
using namespace std;
#define MIN(x, y) \
((x) < (y) ? (x) : (y))
int main()
{
int n, q, i, j, ans, cnt;
cin >> n >> i >> j;
if (n < i || n < j)
return -1;
q = MIN(MIN(i, j), MIN(n - i + 1, n - j + 1));
cnt = (q - 1) * (n - (q - 1)) * 4;
if (i <= j)
... | [
"sameulzhang77@yahoo.com"
] | sameulzhang77@yahoo.com |
f8896873a3eb66d6cad07f4432c8aaf3e4dcd35a | e0aa312540139343638952dab42d3dd178234ffa | /player.h | 53a79a634747011497e317ff883c072b312a4315 | [] | no_license | chongyi0717/doodle_jump | 320cd1fcefeea4b12faf91633640855dfdf5da2f | c784d98323c76f620b2f3dd5e4d7a551ebdb9fcf | refs/heads/master | 2022-11-10T10:53:24.797969 | 2020-06-19T19:42:24 | 2020-06-19T19:42:24 | 273,457,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | h | #ifndef PLAYER_H
#define PLAYER_H
#include<QGraphicsPixmapItem>
#include<QObject>
#include <QKeyEvent>
#include <QMouseEvent>
#include "mainwindow.h"
#include <QTimer>
class player:public QObject,public QGraphicsPixmapItem
{
Q_OBJECT
public:
player(int,int);
static int score;
void mousePressEvent(QMou... | [
"chongyi.chong72@gmail.com"
] | chongyi.chong72@gmail.com |
ce0c8e0b0f1e7a3236c9b1d131c1f2daae7afa71 | 2a8213ebf9d9709ace6a08d21c0ea55b7f492357 | /Camera.h | 687b1284e3ae1e7f404594815560c56f3e62a935 | [] | no_license | OneSilverBullet/RayTraceRender | 1a6c4b8cdc7170c23b57d197690217c96a338417 | d311aa19e59baa8da2eed5f622a679022cce458a | refs/heads/master | 2022-03-11T05:07:17.494832 | 2022-02-10T15:49:27 | 2022-02-10T15:49:27 | 178,818,885 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 608 | h | #ifndef CAMERA
#define CAMERA
#include "Ray.h"
class Camera
{
public:
Camera()
{
m_lowerLeftCorner = Vector3(-2.0, -1.0, -1.0);
m_horizontal = Vector3(4.0, 0.0, 0.0);
m_vertical = Vector3(0.0, 2.0, 0.0);
m_origin = Vector3(0.0, 0.0, 0.0);
}
//依据渲染图的uv来获取每一个像素点的射线
Ray getRay(float u,float v) {
return ... | [
"1795959147@qq.com"
] | 1795959147@qq.com |
cd897f542832fd3c9182440f2dd954f1a3ec0425 | 21a804c3ed0fb5a4edd756089c6388dcc30948ab | /src/plugins/Render3D/D3D11/D3D11BufferObject.cpp | 44a0ef0d6dc5295a03db27e3227ad0fe937701ca | [] | no_license | yuanLink/Skuld | 388427f0a7c0de9e541806687fcdc73540963d60 | d663609340a43cfe7bfe6036ea8a6dddad6f59f3 | refs/heads/master | 2020-12-03T00:27:00.733070 | 2017-07-02T14:27:52 | 2017-07-02T14:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,090 | cpp | #include "D3D11BufferObject.h"
#include "D3D11Utility.h"
#include "D3D11Context.h"
#include <Skuld/Exception.h>
namespace Skuld
{
namespace Render3D
{
D3D11BufferObject * D3D11BufferObject::Create(D3D11Context* mContext,
const void* mBufferData, size_t mBufferSize, AccessFlag mAccess, BufferBindFlag mBind)
{
... | [
"zzzzRuby@hotmail.com"
] | zzzzRuby@hotmail.com |
540dc4418971c5beff6b7ab6269b16829dad8850 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xr_3da/xrGame/ui/UIAutobuyIndication.cpp | 62e4580b18fc7c8471eafbe2813494f3dd1aac92 | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | cpp | // File: UIAutobuyIndication.cpp
// Description: Indication for 3 presets of autobuy command. for UIBuyWeaponWnd
// Created: 21.03.2005
// Author: Serge Vynnychenko
// Mail: narrator@gsc-game.kiev.ua
// Copyright 2005 GSC Game World
#include "StdAfx.h"
#include "UIAutobuyIndication.h"
#include "UIInventoryUtili... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
b506e4919ac69432842f0d465c51216b382c8adf | 8aea5f667d14ee0b5bc0f445b22847afdf283f16 | /homeworks/AvgValBoundary/mysolution/comp_gal_mat.h | 255b066ed2175c8c1f32d1e5fb5fa7d81dba9079 | [] | no_license | matthaeusheer/npdecodes | 6a1bf79f092ae6fd4095de4955d4550f97186f3b | 51e3ee9347b1bcf2c22ffd3c508ee3785c0849e5 | refs/heads/master | 2020-07-03T03:46:09.375292 | 2019-08-12T20:32:55 | 2019-08-12T20:32:55 | 201,773,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,632 | h | /**
* @ file comp_gal_mat.h
* @ brief NPDE homework AvgValBoundary code
* @ author Simon Meierhans
* @ date 11.03.2019
* @ copyright Developed at ETH Zurich
*/
#include <lf/assemble/assemble.h>
#include <lf/base/base.h>
#include <lf/io/io.h>
#include <lf/mesh/test_utils/test_meshes.h>
#include <lf/mesh/utils/uti... | [
"maheer@student.ethz.ch"
] | maheer@student.ethz.ch |
6f7293185b326cc40014ea07642740650a4479ce | b7e2c62cff4fadf8b7eadda14bf80b367273042e | /build/gcc-obj/sparc64-sun-xomb/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp | a08581adb94e2cd160fd59d302e71c64f0fd69cf | [] | no_license | att14/ultraxomb | 7fc1b650c876f5dde0fc9c5a3da667321843256e | d75188655b4201133001cdda740cb49170abae1d | refs/heads/master | 2021-01-18T14:25:01.749582 | 2011-12-13T23:02:45 | 2011-12-13T23:02:45 | 2,603,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | hpp | /home/att14/ultraxomb/build/gcc-4.5.3/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/debug_store_hash_fn_imps.hpp | [
"att14@pitt.edu"
] | att14@pitt.edu |
648a79db6bdff131f8f9f7de8ff71489033a04e8 | 40df6cfac6a3b4f9ef4a8e1cd0791c515cc1ab35 | /Text.h | 3d6d45106398dcf65700c404e94ffcae6745abf5 | [] | no_license | apnster102/Flappy-Bird | 5028f2da89e2327819c84e8763f46977fb178c25 | 12b25d9b4e98c5b9e02e8a6e30f119a0f5159ff1 | refs/heads/master | 2023-06-21T07:48:49.357909 | 2021-08-09T08:35:36 | 2021-08-09T08:35:36 | 342,608,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | h | #ifndef TEXT__H_
#define TEXT__H_
#include "Object.h"
class Text
{
public:
Text(void);
~Text(void);
bool loadFromRenderedText(TTF_Font* gFont, SDL_Renderer* ren);
void Free();
void setColor(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha);
void RenderText(SDL_Renderer* ren, int x, int y, SDL_Rect* clip... | [
"ndminhphuong2002@gmail.com"
] | ndminhphuong2002@gmail.com |
ec23360ac8d789de556406110709397262eafef8 | 700f82e7dc4a7565fd2a3edc309c39b82904237f | /Week11/CMP105App/Pause.cpp | b35ed97b744cf02ba53176413c8fc640509a9b3d | [] | no_license | Frazzle17/CMP105_W11 | d595c296db7a907ff36a8e63c1d6069f1aa3e90e | 6b416a1938acbc8443cdc7c9dd0fa881eb5422c6 | refs/heads/master | 2022-04-08T16:08:58.704814 | 2020-03-28T02:44:39 | 2020-03-28T02:44:39 | 250,291,482 | 0 | 0 | null | 2020-03-26T15:08:10 | 2020-03-26T15:08:09 | null | UTF-8 | C++ | false | false | 996 | cpp | #include "Pause.h"
Pause::Pause(sf::RenderWindow* hwnd, Input* in, GameState* gs, AudioManager* aud)
{
window = hwnd;
input = in;
gameState = gs;
audio = aud;
// initialise game objects
audio->addMusic("sfx/cantina.ogg", "cantina");
bg.setSize(sf::Vector2f(window->getSize()));
bg.setFillColor(sf::Color(0,0,0... | [
"59959787+Frazzle17@users.noreply.github.com"
] | 59959787+Frazzle17@users.noreply.github.com |
b08357ea0bcb3dd43a7d44ef37e645e981346a5e | 1ebc6909a717690b0f5245598069b8ea001a62a1 | /source/Game/Objects/Gen/AIZ/FallingLog.h | 5c429fe2f12a1e37d1efa6f0f0ec3afaabd01041 | [] | no_license | aknetk/Sonic-3-Mixed | 8342b290bc83abcf3c29a69b4f518addeb3454c3 | 8e5803281669677878d449a0234515654ed958fd | refs/heads/master | 2020-07-18T11:14:42.533813 | 2019-09-04T05:09:03 | 2019-09-04T05:09:03 | 206,234,998 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #ifndef FALLINGLOG_H
#define FALLINGLOG_H
class FallingLog;
#include <Utils/Standard.h>
#include <Engine/IApp.h>
#include <Engine/ISprite.h>
#include <Game/Object.h>
#include <Game/LevelScene.h>
#include <Game/Objects/Gen/ObjectListing.h>
class FallingLog: public Object {
public:
int Length;
int L... | [
"aurumdude@gmail.com"
] | aurumdude@gmail.com |
8de9604f1f4742d4db07a72d4eae3f43562bb8ae | a9f6090a8e11cbc4b9ce2f655438367a381922db | /src/Pion/Effraye/Gazelle.h | feed0a16c8cbbb92b7957b7ffabf19ad2d891e8e | [] | no_license | gitter-badger/CPP-AK-ME-DDZ | 6219207ea4aa20f30323b5f05b0056f20eb049fd | 4c147705b1fe91a7a684d63504e9e8833ffa39f2 | refs/heads/master | 2021-01-23T21:43:42.650629 | 2015-01-30T20:51:56 | 2015-01-30T20:51:56 | 30,090,357 | 0 | 0 | null | 2015-01-30T20:55:51 | 2015-01-30T20:55:51 | null | UTF-8 | C++ | false | false | 211 | h | /*
* Gazelle.h
*
* Created on: 27 janv. 2015
* Author: Amin
*/
#ifndef SRC_GAZELLE_H_
#define SRC_GAZELLE_H_
class Gazelle {
public:
Gazelle();
virtual ~Gazelle();
};
#endif /* SRC_GAZELLE_H_ */
| [
"amin_messaoudi@yahoo.com"
] | amin_messaoudi@yahoo.com |
7622f83d46251f283d3c459b9f523a42abdf8196 | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume006/684 Integral Determinant/program.cpp | 9c2a0bde4c4f2bcc7f7f0c4f22e2f594577adc10 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | // Integral Determinant
// UVa ID: 684
// Verdict: Accepted
// Submission Date: 2021-12-01
// UVa Run Time: 0.010s
//
// 版权所有(C)2021,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
int n;
long long g[32][32];
long long determinant()
{
long long r = 1;
for (int i = 0; i < n - 1; i+... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
130f4e602f345b7a3ebcc6c38316cb48c48ed7e1 | bbb14d93f5ee4654414bde8b59647d61c03854b2 | /test_PATH_REGULATION/CodeCraft-2019/lib/config.h | 5f22cdc60d33fd89c7b22ae61aec6e53cb409398 | [] | no_license | LbyG/HUAWEI2019-rematch-contest | c4e6081ff413c5be4cee5560bff52fcf52b10d65 | 774759f73f607806d9aae579a4ef59cb6277aaa4 | refs/heads/master | 2020-05-03T15:23:54.110405 | 2019-04-13T07:40:32 | 2019-04-13T07:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | #ifndef CONFIG_H
#define CONFIG_H
#include <vector>
using namespace std;
class config {
public:
int priority_N = 2;
int max_T = 100000;
int max_channel = 100;
vector<double> channel_weight;
double count_capacity(int channel, int length, int speed);
config();
};
#endif | [
"604431363@qq.com"
] | 604431363@qq.com |
9c32b7658b1d76c0db3f920fc484552c12d69362 | 2692753348401f47e67b80247a33a69093916bd7 | /sequoia-engine/test/unittest/sequoia-engine/Render/GL/TestGLBuffer.cpp | 735d0d52cc0810cc1c5d9b7f17f464137cb3c886 | [
"MIT"
] | permissive | thfabian/sequoia | d3bb38498566fb840ddf7ba31457b94f09108c14 | ed7a17452ac946e8208ff60a30fc10298d3939db | refs/heads/master | 2021-01-12T08:48:31.231796 | 2018-02-09T23:06:28 | 2018-02-09T23:06:28 | 76,693,370 | 2 | 0 | MIT | 2017-12-25T13:47:14 | 2016-12-16T23:48:50 | C++ | UTF-8 | C++ | false | false | 3,462 | cpp | //===--------------------------------------------------------------------------------*- C++ -*-===//
// _____ _
// / ____| (_)
// | (___ ___ __ _ _ _ ___ _ __ _
// \___ \ / _ \... | [
"fabian_thuering@hotmail.com"
] | fabian_thuering@hotmail.com |
4fdfb6dbcda4258dc62842a422ce4a9c2a346119 | b4485140a153a60af5edd38aed87e29e5922c8e6 | /include/hyper/system/components/frontends/inertial/forward.hpp | fe3bcf616c38aed82ed0982f3855522393f70d1b | [
"BSD-3-Clause"
] | permissive | VIS4ROB-lab/HyperSLAM | db8a210c872fdaf00a81372f8d92173ec2386fc4 | 42b17ba24a84a87a9d902b71dca690da1339d1f6 | refs/heads/main | 2023-05-23T16:33:14.849187 | 2022-10-24T07:17:34 | 2022-10-24T07:17:34 | 498,300,418 | 195 | 14 | BSD-3-Clause | 2023-03-24T21:22:45 | 2022-05-31T11:07:48 | C++ | UTF-8 | C++ | false | false | 384 | hpp | /// This file is subject to the terms and conditions defined in
/// the 'LICENSE' file, which is part of this repository.
#pragma once
#include "hyper/system/components/frontends/forward.hpp"
namespace hyper {
enum class InertialFrontendType {
DIRECT,
INTEGRATING,
DEFAULT = DIRECT
};
template <typename, Iner... | [
"david.hug@mavt.ethz.ch"
] | david.hug@mavt.ethz.ch |
0936335cf55b1b3b5c0225032a275d3269f5a609 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/core/layout/LayoutFieldset.h | ceff1d4b7420f793429220cb0eb5a94f00da7f26 | [
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 3,031 | h | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the te... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
eb77ad95e4261e3f1d866f677d3acfd027d2ac43 | 462da8da8725dd9b1c79fd4bdf3afe5d7e77bc82 | /source/kernel_argument/argument_manager.h | ee92312b987620b26e84180c62cd14cf40d39c68 | [
"MIT"
] | permissive | rtrembecky/KTT | 66c8742dfe2a4ac55e934dbd16d78d9690a3ca0b | 645f3ae4c7ae6d90192855060bdeae71b1599234 | refs/heads/master | 2021-05-09T19:03:51.076022 | 2018-04-28T20:26:26 | 2018-04-28T20:29:35 | 119,183,211 | 0 | 0 | null | 2018-01-27T16:54:01 | 2018-01-27T16:54:01 | null | UTF-8 | C++ | false | false | 1,320 | h | #pragma once
#include <memory>
#include <vector>
#include "kernel_argument.h"
namespace ktt
{
class ArgumentManager
{
public:
// Constructor
ArgumentManager();
// Core methods
ArgumentId addArgument(void* data, const size_t numberOfElements, const size_t elementSizeInBytes, const ArgumentDataType da... | [
"mail.filip.petrovic@gmail.com"
] | mail.filip.petrovic@gmail.com |
d50f41910215b3c97b9d99a415e35a7b7da272d7 | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/0.9/phi | e0b972222d8d636e895afd8b6600f0e932a18ecc | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,459 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"henry.rossiter@utexas.edu"
] | henry.rossiter@utexas.edu | |
6f20750e26920f7c25b3c85d95c49d467e9d7e72 | f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e | /sc-virt/src/include/llvm/DebugInfo/CodeView/EnumTables.h | 021288e57618066231186dcaadb32da72b97d77b | [
"MIT",
"NCSA"
] | permissive | archercreat/dta-vs-osc | 2f495f74e0a67d3672c1fc11ecb812d3bc116210 | b39f4d4eb6ffea501025fc3e07622251c2118fe0 | refs/heads/main | 2023-08-01T01:54:05.925289 | 2021-09-05T21:00:35 | 2021-09-05T21:00:35 | 438,047,267 | 1 | 1 | MIT | 2021-12-13T22:45:20 | 2021-12-13T22:45:19 | null | UTF-8 | C++ | false | false | 1,642 | h | //===- EnumTables.h Enum to string conversion tables ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sebi@quantstamp.com"
] | sebi@quantstamp.com |
f5b32a68a1ae162fc36dc913b7eb4d59b24d5c71 | a713be99f246d715e05239cba75b59ff07ca7d69 | /UVA-11417-GCD/UVA-11417-GCD.cpp | fe474c0a6b827fc01d673d9a37f233c33f821b46 | [] | no_license | kazisrabon/MyUVA | 9dc94b205a33b3c06fcc4002df6e17257e20c490 | 30c835a8bcf03682f6c2dc49a0625621141f9849 | refs/heads/master | 2021-05-11T07:35:15.675644 | 2018-01-18T18:48:39 | 2018-01-18T18:48:39 | 118,023,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include<iostream>
using namespace std;
int GCD( int a, int b )
{
int c;
while ( a != 0 )
{
c = a;
a = b%a;
b = c;
}
return b;
}
int main()
{
int N, G=0;
while(1)
{
cin >> N;
G=0;
if(N==0) break;
for(int i=1; i<N; i++)
... | [
"bit0424@iit.du.ac.bd"
] | bit0424@iit.du.ac.bd |
a1e5a6836b50312b78dfc5fce7b888a93ee62794 | c977918fadd2593e3852dd5505b2e1181b1afe5f | /SoulsLike/Intermediate/Build/Win64/UE4Editor/Inc/SoulsLike/SoulsLike.init.gen.cpp | 4859f09846ff1511b0286bcc62c36dac9ec7e22f | [] | no_license | AbbyRMeng/SoulsLike | ade09d2928f718c7ba3dd83305e3105ef7bcc0e7 | a9fc6e7aad5cec6e3f1fcbea79fd6856e2354fe5 | refs/heads/master | 2022-02-28T21:32:15.754786 | 2019-10-24T04:05:57 | 2019-10-24T04:05:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"ellazhang37@gmail.com"
] | ellazhang37@gmail.com |
91c83f0892ddf391c26c494768acb668616e1ac4 | 139b42b81c09bc6cad9e1b30d8b3427425580490 | /Cosmin-Ioan Capatina Solution/engine/src/src/platform/opengl/gl_texture.cpp | 0e6c521cb8c350f8d04a01d8f8ee18a2fdf015ec | [
"MIT"
] | permissive | cosmincapatina/CPP-CW-Part1-VideoGame | 7a2458248b4e71e56101b312368ee8d0cafa13ad | d5a7fc5d0dea94d332ae3931c7dd70ed4a80194d | refs/heads/main | 2023-01-19T01:33:53.536202 | 2020-11-25T14:28:32 | 2020-11-25T14:28:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | #include "pch.h"
#include "gl_texture.h"
#include "stb_image.h"
#include "glad/glad.h"
engine::gl_texture_2d::gl_texture_2d(const std::string& path, const bool& clamp)
: m_path(path)
{
int width, height, channels;
stbi_set_flip_vertically_on_load(true);
stbi_uc* data = stbi_load(path.c_str(), &width, ... | [
"kap.cosmin@yahoo.com"
] | kap.cosmin@yahoo.com |
1debcbb8649bbfc17e97206e4d6491672011ca87 | 8bb6488244fdb1b32c6d64d6f4c1429d34dda05d | /Projects/Editor/Source/GUI/Utils/CToggleGroup.h | 51eb7bb9c7b154fb7c0348d12efda56f3bcd1fcc | [
"MIT"
] | permissive | amyvmiwei/skylicht-engine | be6e6c3205996b68bcb5fd3fe4cbafde9e65d397 | 54f9d1d02bdc9aa1f785569f62abbdb8ae106361 | refs/heads/master | 2023-06-30T07:07:23.124407 | 2021-08-05T02:53:10 | 2021-08-05T02:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | h | /*
!@
MIT License
Copyright (c) 2021 Skylicht Technology CO., LTD
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 use, copy, modify... | [
"hongduc.pr@gmail.com"
] | hongduc.pr@gmail.com |
6c675be585597b02d7b2908f04d3bc8da38e6149 | 92cd4793044dff73aa708b414f7cf9462935aff1 | /GameEngine/gameobjects/EventTransport.h | 6a9f0b083793d6b8c02bc823abd356d3424c39c5 | [] | no_license | lucaxteofilo/devwarzth | 07e9277bbb4a50ae1470e1fa1ba02d95d75b6c4b | c73b0c83d6730a2bf46a16ae6dacb4315984f5a1 | refs/heads/master | 2021-05-27T06:00:34.820319 | 2014-11-14T22:37:06 | 2014-11-14T22:37:06 | 112,665,629 | 1 | 0 | null | 2017-11-30T22:07:54 | 2017-11-30T22:07:54 | null | UTF-8 | C++ | false | false | 1,261 | h | #pragma once
#include "r3dNetwork.h"
#include "GameObj.h" // for DefaultPacket crap
#pragma pack(push)
#pragma pack(1)
// p2p network IDs will be 2bytes long. so, we have to take extreme care that engine network IDs will be in 0-0xffff range
typedef WORD gp2pnetid_t;
static const gp2pnetid_t invalidP2pNetID = 0xFFFF... | [
"muvucasbars@outlook.com"
] | muvucasbars@outlook.com |
daf0cb3397fca213a406ec4adafe787b39321f0e | e5b98edd817712e1dbcabd927cc1fee62c664fd7 | /Classes/message/Decoding/chat/FindFriendListMsg.h | 728f5bfc1013394dd348c250def2e6faed287103 | [] | no_license | yuangu/project | 1a49092221e502bd5f070d7de634e4415c6a2314 | cc0b354aaa994c0ee2d20d1e3d74da492063945f | refs/heads/master | 2020-05-02T20:09:06.234554 | 2018-12-18T01:56:36 | 2018-12-18T01:56:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | //
// FindFriendListMsg.hpp
// FightPass
//
// Created by 超 顾 on 15/12/22.
//
//
#ifndef FindFriendListMsg_h
#define FindFriendListMsg_h
#include "../MessageSendI.h"
class FindFriendListMsg:public MessageSendI
{
public:
FindFriendListMsg(string name);
~FindFriendListMsg();
ByteStream *encodingData();
p... | [
"chenyanbin@ixianlai.com"
] | chenyanbin@ixianlai.com |
2f4064942e6007d10e9b5f6540a2c93083f84f9c | eb331f156bb446f14d63798f6161d2c0a95e4df8 | /Examples/ex25.cpp | 76c465924b27734d411ec8eda9c07d29fb0c5848 | [] | no_license | piotrbullet/collegelabs | 73444afedf31a071648eda2baff242f589fcdd85 | 9041a920bc6187518f872d6fa189c6f3fefdfb3e | refs/heads/main | 2023-03-27T20:52:44.400692 | 2021-03-28T10:47:56 | 2021-03-28T10:47:56 | 352,312,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include <iostream>
using namespace std;
char * tworzobiekt (void); /* tworzymy tu funkcje wywolywana bez
argumentow, ktora zwracac bedzie wskaznik typu char */
main() {
char *wsk1, *wsk2, *wsk3;
cout << "Teraz nastapi akt stworzenia!\n";
wsk1 = tworzobiekt();
wsk2 = tworzobiekt();
wsk3 = tworzobiekt();
*wsk1 = 'a';
*w... | [
"kula@student.agh.edu.pl"
] | kula@student.agh.edu.pl |
6c54311d92c158bda08b49bccfafb40f755c6793 | 6e2e9128778a84557ec67396e3a6bc59b3eebcbb | /6.096/Assignment2/3(Fix-the-func)/3.6.cc | 2963e8b42d5fdc06d248e6bce12fcca1483638b3 | [] | no_license | dylanpjx/mit-ocw | cee1e35947e3dc1a007b651f6bc484b89ca61810 | b82aa77a8d3dca897bcf8da87b4d2ec13cce79fc | refs/heads/master | 2023-03-10T09:37:47.466234 | 2021-02-13T01:50:00 | 2021-02-13T01:50:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | cc | #include <iostream>
const int ARRAY_LEN = 10;
int main() {
int arr[ARRAY_LEN] = {10}; // Note implicit initialization of other elements
int *xPtr = arr, yPtr = arr + ARRAY_LEN - 1;
std::cout << *xPtr << ' ' << *yPtr; // Should output 10 0
return 0;
}
// *yPtr...
| [
"dylanpjx@gmail.com"
] | dylanpjx@gmail.com |
9b4c55c03930bba18c4c80ade1f2e92419de04ce | 42f5889c2805cbec0e0bf6c4c437ef5c4991c66c | /blog/spiders/mymain.cpp | 0088b10d4997ac4c5e69372c092435e4bd84db3c | [] | no_license | KolaHSH/SinaBlogSpider | b059e4a5b7b116f9040b4f6a3c2b18b5ed6c0235 | 3086781031d64e48f5bfe263d7f1e02bb3d67719 | refs/heads/master | 2020-09-22T16:09:44.341653 | 2018-11-13T01:44:34 | 2018-11-13T01:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,921 | cpp | /*
* Computer Graphics Course - Shenzhen University
* Week 9 - Phong Reflectance Model (per-fragment shading)
* ============================================================
*
* - 本代码仅仅是参考代码,具体要求请参考作业说明,按照顺序逐步完成。
* - 关于配置OpenGL开发环境、编译运行,请参考第一周实验课程相关文档。
*/
#include "include/Angel.h"
#include "include/TriMesh.h... | [
"a770123341@qq.com"
] | a770123341@qq.com |
1a66c9dbacb9a52d011e164108294d5aa21a6fb9 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/date_time/posix_time/posix_time_system.hpp | effef06714e208b342999053241f7faf343442d9 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | hpp | #ifndef POSIX_TIME_SYSTEM_HPP___
#define POSIX_TIME_SYSTEM_HPP___
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Ga... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
a7c98f6c47e342d217ea4b2600a9747638ace36c | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /cc/trees/layer_tree_host_unittest_damage.cc | 34950c6e58f6d843472f172c63d3d614450fecdf | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 17,150 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/trees/layer_tree_host.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/location.h"
#include "base/time/time.h"
#include "... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
8f25bc49d946bb402339c03e7c5fe454f024cf81 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /leetcode/2001-3000/2397-maximum-rows-covered-by-columns.cpp | 2d12819b097f774d274c59086ef1a77684bcc266 | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 724 | cpp | class Solution {
public:
int maximumRows(vector<vector<int>>& mat, int cols) {
int n = mat.size(), m = mat[0].size();
vector<int> f(1 << m), g(1 << m);
for(int i = 0; i < n; ++i) {
int msk = 0;
for(int j = 0; j < m; ++j)
msk = msk << 1 | mat[i][m - 1 -... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
43f227050e5e62c0f6f0ac52f1604764bc40e1f8 | cd2e531e6258c5b7c4fc39af16d42f8edeeb132b | /src/libplatform/worker-thread.h | 1569d3d37b8ea69174ed8ab3fb6eca246893b662 | [
"bzip2-1.0.6",
"BSD-3-Clause"
] | permissive | UIKit0/v8 | f2ab81088e5a386061732295ed58a7f320321539 | 74cb882e8956e971773fc08796ab62564d1bbf17 | refs/heads/master | 2021-01-21T02:00:17.299983 | 2014-04-28T15:01:41 | 2014-04-28T15:01:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | h | // Copyright 2013 the V8 project authors. 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 ... | [
"jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00"
] | jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00 |
ab9f6465921ce062a048ae1c0ab112da2a48d046 | 642104a63345b2160b2ef06c08ad9daec7488e52 | /Wonsz9000/fog.cpp | 69a45150749e91ddf60aef0af2a20e17d87d0d5a | [
"BSD-2-Clause"
] | permissive | krotton/Wonsz9000 | 76694ad1cc02dd5897ca23eef060194dbdb31981 | 31e60fb10eee521da16e02b612da354953f12e8a | refs/heads/master | 2016-09-06T01:12:57.648253 | 2015-02-01T12:39:56 | 2015-02-01T12:39:56 | 29,098,574 | 0 | 1 | null | 2015-01-11T22:56:04 | 2015-01-11T16:54:35 | null | UTF-8 | C++ | false | false | 121 | cpp | // Fog effect.
#include "essentials.hpp"
#include "fog.hpp"
using namespace wonsz9000;
void Fog::apply() const
{
}
| [
"krotton@gmail.com"
] | krotton@gmail.com |
a5fd72babf0f20529fdd3dd387018e542e934229 | 046f161cf8966b81bec442315f7e26e25d99c1ac | /RUNNOTE.CPP | 5a4aabe80bf9f872f4f9f365e94566e66a0f6691 | [] | no_license | Balaji4/LetUsCPlusPlus | 759a9e7a73462b90539d7305cabe3d95d77cd7e9 | 4da78b2f20f0575c13e21d7a1d1257da46e75cb8 | refs/heads/main | 2023-01-21T03:06:04.713810 | 2020-11-26T21:15:43 | 2020-11-26T21:15:43 | 316,336,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | #include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
system("cls");
system("cd ../..");
system("notepad.exe");
return 0;
} | [
"balajidubey214@gmail.com"
] | balajidubey214@gmail.com |
a50c6b3a7ac80641812d3bfe9db87efa6431bfd1 | 1e63c7674239c8c828313f6057822791464da99a | /src/chainparamsbase.cpp | f78d9bc2cb3d4f02079b068adccb5eb65b584c31 | [
"MIT"
] | permissive | MTAPcoin/MTAP | a6c48ec78fedc297136119ca9c58f2c79423e11d | dea36a14b969f0fa43ed64f8ac6abf64efb49ac4 | refs/heads/master | 2020-04-25T17:20:01.857022 | 2019-04-13T12:08:35 | 2019-04-13T12:08:35 | 172,944,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,779 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparamsbase.h"
#include "util.h"
#include <assert.h>
#include <boost/assig... | [
"callumrcampbell@gmail.com"
] | callumrcampbell@gmail.com |
4e506775f0343702d6e3253ff1b6a1c17db33969 | 4166ff445477753b6a4b6c0e6d9c6a4de58b8de8 | /MutableFunctions/srcs/SimpleDouble.h | fcf432405e47f78fb160e541c6a44fb6ea39aadf | [] | no_license | dannyreilman/EvolutionaryAlg | 25373eb2d4ae0021f472922349313b71e8021f8c | ed209c3f074b74d17c9b4521aa4e6e87441b1246 | refs/heads/master | 2021-07-24T22:42:23.300955 | 2017-11-06T01:58:07 | 2017-11-06T01:58:07 | 68,973,099 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | #ifndef SIMPLEDOUBLE_H
#define SIMPLEDOUBLE_H
/*
* Interface
* An EvaluateToDouble that simply acts as a double
* By Danny Reilman <reilman@umich.edu>
*/
#include "EvaluateToDouble.h"
#include <memory>
namespace MutableFuncs
{
class SimpleDouble : public EvaluateToDouble
{
public:
SimpleDoubl... | [
"reilman@umich.edu"
] | reilman@umich.edu |
520b742a336884adcc0c0bc5a0c6c81418f789d3 | 04e7fe14d35a3cdde607867da50ea0781b763b4a | /plugins/samplesource/v4l-rtl/v4linput.h | 680d65c53212d77bf7593f21c390302ed75deee8 | [] | no_license | ED6E0F17/sdrangelove | f7fb78171053bc5be72902c26b4f5d0be0bfc852 | a14847651a2cdbdfdcaaa313b0c0519db927fd2a | refs/heads/master | 2020-04-06T04:19:30.505846 | 2018-02-01T18:28:31 | 2018-02-02T15:51:12 | 48,296,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,267 | h | ///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2012 maintech GmbH, Otto-Hahn-Str. 15, 97204 Hoechberg, Germany //
// written by Christian Daniel //
// ... | [
"hexameron@spam.no"
] | hexameron@spam.no |
87faa9a5e2243f661f669bd754232e24d152f493 | a608fd348d03014869ad3a1b22700e4798b5037c | /Programming_Class/1420이승호_fs8.cpp | c7644ef628ea2fd04b1b1e2e68a096d67cc01929 | [] | no_license | Yaseungho/myCodes | 420d5f9f845327faedc2da110cd6174f430e5cec | 9a63b696ec598d90d564fe1024dec7a8084c7d74 | refs/heads/master | 2021-06-22T17:17:44.072240 | 2021-05-11T06:27:24 | 2021-05-11T06:27:24 | 214,841,009 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 329 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
string temp;
int num = 0;
fstream os{ "input.txt", ios::in | ios::out};
if (!os) {
cerr << "파일 오픈에 실패하였습니다.\n";
exit(1);
}
for (; os; os >> temp, num++) {}
cout << "단어의 수: " << num;
return 0;
} | [
"molkanglee@gmail.com"
] | molkanglee@gmail.com |
5db7e0f3e702e32adb30a6823ebb83008869861e | a5ca477aad5d3dc65a60673e8843859c89a6f4e6 | /HDU/[HDU6397]Character Encoding.cpp | 15ca16fbc5538d96014659fcbd06815869bb8b3f | [] | no_license | IcePrincess-1968/Programmes | 7533b41be902baec3638c80af2038ca00503af12 | 1eac3dbae244fcc2feda67f42b6dae47f9184ac1 | refs/heads/master | 2020-03-24T20:33:46.993594 | 2019-08-10T14:16:14 | 2019-08-10T14:16:14 | 115,524,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,500 | cpp | #include <bits/stdc++.h>
using namespace std;
#define LL long long
#define LB long double
#define ull unsigned long long
#define x first
#define y second
#define pb push_back
#define pf push_front
#define mp make_pair
#define Pair pair<int,int>
#define pLL pair<LL,LL>
#define pii pair<double,double>
const int INF=2e9... | [
"nadal295704@126.com"
] | nadal295704@126.com |
dd5f3ffdbb501c8c4f8ec99db48fe8693fd2f58f | 2f0f8fe56ffefa04af6d9be5c29e99e5bfff3ede | /src/ThermostatTimerEvent.cpp | 5ab894ffdd313e4d550dfbd4dff8c717bafef26f | [] | no_license | ccahiggins/RPiHomeHub | 59dc2a2958bd00cb2dc4948f2c3d3c0bc0f1dd41 | 920f1131d0a215a6a5e69df89bceade8d4f33782 | refs/heads/master | 2022-03-12T12:15:25.910068 | 2022-03-06T01:23:35 | 2022-03-06T01:23:35 | 36,039,754 | 0 | 0 | null | 2022-03-06T01:23:36 | 2015-05-21T22:09:08 | C++ | UTF-8 | C++ | false | false | 1,217 | cpp | #include "ThermostatTimerEvent.hpp"
#include <iostream>
ThermostatTimerEvent::ThermostatTimerEvent(int hour_, int minute_, bool one_time_, bool on_off_, int room_, float temp_, Thermostat& thermostat_) :
TimerEvent(hour_, minute_, one_time_), on_off(on_off_), room(room_), temp(temp_), thermostat(thermostat_) {
}... | [
"phishulus@hotmail.com"
] | phishulus@hotmail.com |
c97e3bcf17e7c8d912623d18fc94819217623e04 | 75562077b209c94e4be8ec192f99458485582ed8 | /Old/matrix_gsm/matrix_gsm.ino | 4b573f7e288887b2b0328132acd8d129185a825c | [] | no_license | atiklab/Rold | 8ae53b74d9477ff23e48a229ae0cf80ed1da547e | 6d2db522cf2a3f24d609e5d30cd818888163b6ee | refs/heads/master | 2021-05-10T22:02:57.588554 | 2018-01-20T15:25:17 | 2018-01-20T15:25:17 | 118,246,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | ino | #include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 9); // RX, TX
/*this keypad tutorial number one by omar tarek 29-06-2014 */
byte h=0,v=0; //variables used in for loops
const unsigned long period=50; //little period used to prevent error
unsigned long kdelay=0; // variable used in non-blocking delay ... | [
"khalishkhali16@gmail.com"
] | khalishkhali16@gmail.com |
3bb2d6ac5e5fe47fc876c9c74a5b71e6bc0c7dc4 | 297a8d253fe427354e1c5885d26e513e95c63730 | /stdafx.cpp | 0d1a472444b6f8e7ed956e0782ac99280ff5fafe | [
"MIT"
] | permissive | asemchenko/Red-Black-Tree | ef9f3de8d991cad81e6e6ab50f7937bba862b6df | 13b90add20767f1575d7ec40caca55638aac0441 | refs/heads/master | 2021-01-25T04:14:07.661156 | 2017-11-16T22:06:13 | 2017-11-16T22:06:13 | 93,408,753 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 576 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// RedBlackTree.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STD... | [
"andriysemchenko@gmail.com"
] | andriysemchenko@gmail.com |
85b8cfdd67ca7197213f1bf4fe36d29e124b4ab0 | baef04bb93d88c9525b55f2c1745e2438ecf37a8 | /motionapp.cpp | 301873ed0dcd72f607e202a01666a21706e64d9b | [] | no_license | andriybobyr/surveillance | 9a006bba5cd19a5ee36663ea8a65652f866856d6 | 25d85a1db70e94e058e0b6fac500ea5b48c7d428 | refs/heads/master | 2021-01-19T10:59:24.283352 | 2014-02-20T14:01:07 | 2014-02-20T14:01:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "appobject.h"
#include "motionapp.h"
#include "motiondetector.h"
#include "capture.h"
#include "action.h"
#include "fileaction.h"
#include "settings.h"
using namespace std;
MotionApp::MotionApp():
AppObject("MotionApp")
{
camera = new Capture(Settings::instance().getCamID());
motionDetector = new MotionD... | [
"tgrimault@tamaggo.com"
] | tgrimault@tamaggo.com |
cc6a15525d9f98bcbd6e1605f3303308cadd76f9 | 9d13d7fc23e96cb35ddc0f5bba309d0478b4a253 | /codeforces/contests/1106/1106C.cpp | 0b1aa710c34238b7665b254acd42857bbcd9a2c0 | [] | no_license | mayankDhiman/cp | 68941309908f1add47855bde188d43fe861b9669 | c04cd4aaff9cedb6328dff097675307498210374 | refs/heads/master | 2021-07-22T04:05:46.968566 | 2021-02-05T16:17:58 | 2021-02-05T16:17:58 | 241,451,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | using namespace std;
#include <bits/stdc++.h>
#define ll long long
int main()
{
// ios_base::sync_with_stdio(0); cin.tie(0);
int n; cin >> n;
int a[n]; for (int i = 0; i < n; i++) cin >> a[i];
ll res = 0;
sort(a, a + n);
for (int i = 0; i < n/2; i++)
res += 1LL*(a[i] + a[n - 1 - i])*(a[i] + a[n - 1 - i]);
cout... | [
"mdhiman536@gmail.com"
] | mdhiman536@gmail.com |
3b95a66a59b85bfa4925303d1d1267c4626ce746 | 3816d91130ca1ce6b0ba5aabc8d4e5c6f85de8ef | /codeforces/43/A.cpp | 8eef53adbbe2037df5228e6ce16b14518b5dc4cb | [] | no_license | SurajK7/codeforces-submissions | 1db2212f4990e516fe4d71545519137be2de4d38 | 5e703de669ef48aadbad68c8aebb772bc87b1d31 | refs/heads/master | 2023-02-16T13:37:04.245554 | 2021-01-13T02:40:00 | 2021-01-18T19:32:41 | 324,448,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using db = long double; // or double, if TL is tight
using str = string; // yay python!
using pi = pair<int,int>;
using pl = pair<ll,ll>;
using pd = pair<db,db>;
using vi = vector<int>;
using vb = vector<bool>;
using vl = vector<ll>;
using vd = vec... | [
"surajk732000@gmail.com"
] | surajk732000@gmail.com |
58a58f2a9aaea0faf861642640acdfe038154d0f | 676b7ef8618283624917213644475dac7314da9d | /src/RenderPassListUi.cpp | d8d7c92dcce51de1e0c264b4b648895189323e69 | [] | no_license | whztt07/ShaderEditor | 38a119731c4349988e694dda2ce42032d9c4ce25 | e0f654a81b140f99f068cddae1ce9557ab621fbc | refs/heads/master | 2020-04-19T16:34:16.178613 | 2015-08-27T16:44:20 | 2015-08-27T16:44:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | cpp | #include "RenderPassListUi.hh"
#include "ui_RenderPassListUi.h"
#include "ui_RenderPassUi.h"
#include "RenderPassManager.hh"
RenderPassListUi::RenderPassListUi(RenderPassUi *renderPassUi, QWidget *parent) :
QWidget(parent),
ui(new Ui::RenderPassListUi)
{
ui->setupUi(this);
_renderPassUi = renderPassUi... | [
"paulbaron7993@gmail.com"
] | paulbaron7993@gmail.com |
3fedc25bdc57f8aa4c1022fceea67027860002c3 | 9c67fa780c8c2c19ebd008b763fa4423fa5d7ac5 | /by_sequence/419_ever_slow/419.cpp | 000fd58a8cea2c6d3ba2140517fe448d080f4579 | [] | no_license | Tianji95/leetcode-solutions-cpp-and-python | f4ffeff4ea6990fdc7618f9578a0a54f99901b33 | 36c93212eca1c4271dfbca1967f8e51a5b93a46e | refs/heads/master | 2023-06-07T23:08:50.667754 | 2023-06-07T02:09:15 | 2023-06-07T02:09:15 | 139,390,633 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | class Solution {
public:
int countBattleships(vector<vector<char>>& board) {
int height = board.size();
if(height == 0){
return 0;
}
int width = board[0].size();
if(width == 0){
return 0;
}
int out = 0;
for(int h = 0; h... | [
"441867138@qq.com"
] | 441867138@qq.com |
b916035ec2ce654d914eddf9d67285eea15d956b | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.22.03.00/mptrack/View_smp.cpp | 7795e4d6b0fbd455e84f7c169c97475d2bcaae59 | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 80,438 | cpp | /*
* view_smp.cpp
* ------------
* Purpose: Sample tab, lower panel.
* Notes : (currently none)
* Authors: Olivier Lapicque
* OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "mptrack.h"
#include "mainfrm.h"
#inc... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
4ecc56bb94f6e2d6cf6b3fa9f2db7e6fb276501f | 9c29eba24897d25caa5ecd53ab5d2cef18fa1a65 | /114-Flatten-Binary-Tree-to-Linked-List/solution_2.cpp | cae6fc2e2cf7401192e27d2012da8c2ce6b10100 | [] | no_license | fatdeer/leetcode | 4b07d2a29a068443ab3ca5661e519feb9d26af74 | 0c800c13b49a123ddb1c866bb8cddb0f460992b1 | refs/heads/master | 2020-04-06T07:01:07.170094 | 2016-09-13T13:27:48 | 2016-09-13T13:27:48 | 54,695,218 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | 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 flatten(TreeNode* root) {
// like preorder
if (root == NULL)
... | [
"fatdeer@foxmail.com"
] | fatdeer@foxmail.com |
479bcebe648a16f52f729ceb546d6d1d5b61e122 | ae33344a3ef74613c440bc5df0c585102d403b3b | /SDK/SOT_Proposal_CatchAll_Chapters_Rank07Reward_003_classes.hpp | 9dcba11a981e6598368d9e3789e125acf2cad7b8 | [] | no_license | ThePotato97/SoT-SDK | bd2d253e811359a429bd8cf0f5dfff73b25cecd9 | d1ff6182a2d09ca20e9e02476e5cb618e57726d3 | refs/heads/master | 2020-03-08T00:48:37.178980 | 2018-03-30T12:23:36 | 2018-03-30T12:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | hpp | #pragma once
// SOT: Sea of Thieves (1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x4)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Proposal_Catc... | [
"antoniohermano@gmail.com"
] | antoniohermano@gmail.com |
a257f3c9941a5ec6462c5e02b6ebf7f70bc47a9e | e77ebf68db96ef8b1bbbb42b4aba42444e43176f | /demo/Classes/Native/UnityICallRegistration.cpp | dd53e53a197f04fe8eca3a17a323a4b252041373 | [] | no_license | dgolman/cardboard-networking | a2a1180e8a0e1f41faf7bb40a796475506010a48 | ae7f42017704b4b9a69cff5463262f5e66f168d4 | refs/heads/master | 2021-01-10T12:03:23.561009 | 2016-01-06T14:18:45 | 2016-01-06T14:18:45 | 49,088,543 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145,700 | cpp | //Generated on : 1/6/2016 8:32:31 AM
void RegisterAllStrippedInternalCalls()
{
//Start Registrations for type : UnityEngine.Animation
//System.Int32 UnityEngine.Animation::GetStateCount()
void Register_UnityEngine_Animation_GetStateCount();
Register_UnityEngine_Animation_GetStateCount();
//System.Void UnityE... | [
"dgolman@vt.edu"
] | dgolman@vt.edu |
d03c71443a10fe70a8dd9e9eb6093338e0d27813 | 8a42a0c5ef6d5d32f310b532c2086a7567e7df27 | /lec-11/stl.cpp | d1dd88e366f7fe99083915cf6112e567931a3b9f | [] | no_license | mpbonham/cs24-m19-lectures | 7332b18c8eda11685d34cffb1fdb7315faca25c9 | b5f9cc9724e896a43fa4ca3f54e1bda5f3b7d3cd | refs/heads/master | 2020-07-24T08:42:10.602849 | 2019-09-05T15:33:30 | 2019-09-05T15:33:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | #include <iostream>
#include <array>
#include <vector>
#include <list>
#include <set>
#include <stack>
using namespace std;
int main(){
array<string, 6> arr = {"India", "US", "Burma", "Finland", "Greenland", "China"};
vector<string> vv;
list<string> ll;
set<string> bst;
cout<<" Elements in the array" <<endl;
for... | [
"dimirza@cs.ucsb.edu"
] | dimirza@cs.ucsb.edu |
8d387999e58d8d15293b5e83cf25089848bc33e5 | 34cf1e0d2ecbe8a7a839716cce9139bbd5f0dbf2 | /libraries/Shell/Shell.cpp | d922edf90e81fa5ebf567b03deacf23ed37ed1e0 | [] | no_license | ygramul/Ardu-UAV-Libs | 1985c993b92e71f99280271929c74ec795323f9b | 6748f63478cf464760542d67cc3245629327fbf3 | refs/heads/master | 2021-01-10T22:05:29.856676 | 2011-11-25T20:17:35 | 2011-11-25T20:17:35 | 2,539,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,397 | cpp | /*
* Simple "shell" to show and set properties with a terminal
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
... | [
"ygramul@quantentunnel.de"
] | ygramul@quantentunnel.de |
d6e8c38d840147bdeb8a19b8d33eebc0c5e02485 | ff1290d94ea6e21807eea4cb3dd6e4c4f84ec8de | /switcher/FileParser.cpp | b47c0f81c90160e1897fb5ebb19ef1adba5403fe | [] | no_license | infobeisel/MBServerSwapper | ae243d7f8be4c26366eadfea763e2f0656a4f0de | e8c5a953114c906efbd829e4e5cdfac19e0adf13 | refs/heads/master | 2021-01-21T07:54:10.471066 | 2015-12-26T16:15:15 | 2015-12-26T16:15:15 | 37,650,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | #include "FileParser.h"
#include "Defines.h"
#include <iostream>
FileParser* FileParser::instance = 0;
FileParser* FileParser::get()
{
if (instance == 0)
instance = new FileParser();
return instance;
}
FileParser::~FileParser()
{
//dtor
}
bool FileParser::openFile(LPCWSTR filename)
{
/** copypaste from http:/... | [
"infobeisel@gmail.com"
] | infobeisel@gmail.com |
ca7065138d23a1b66318a70b3d5f72f296048146 | ea47f676b998cc00da94ad59782f37dddec52995 | /cheats/visuals/player_esp.h | 236e5ba79229d90f2adc5ce459b72fa6f37a5015 | [] | no_license | ChoZenTime/moneysense | 6765576be41765a8ac40b88b972753e67cd181ee | 94bde9661fd5202c378ab69af41edaa2b46ddfcb | refs/heads/master | 2020-06-06T03:14:28.747695 | 2019-04-17T09:08:43 | 2019-04-17T09:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | h | #pragma once
#include "../../hack/includes.hpp"
#include "..\..\sdk\structs.hpp"
class Box;
class playeresp : public singleton< playeresp > {
public:
float esp_alpha_fade[64];
void paint_traverse();
void draw_box(player_t* m_entity, Box box);
void beams(vec3_t src, Color color);
void draw_hitboxes(IClientEntit... | [
"deikun.andre@yandex.ru"
] | deikun.andre@yandex.ru |
54f32d16454ebe92cc5ea4f5c483f9440f98b839 | 97fde28997b618180cfa5dd979b142fd54dd2105 | /core/dep/acelite/ace/FILE_Addr.cpp | b3b162cbd4e4f6e941e8dca3051939f962429a16 | [] | no_license | Refuge89/sunwell-2 | 5897f4e78c693e791e368761904e79d2b7af20da | f01a89300394065f33eaec799c8779c2cac5c320 | refs/heads/master | 2020-12-31T05:55:43.496145 | 2016-02-16T20:46:50 | 2016-02-16T20:46:50 | 80,622,543 | 1 | 0 | null | 2017-02-01T13:30:06 | 2017-02-01T13:30:06 | null | UTF-8 | C++ | false | false | 3,217 | cpp | #include "ace/FILE_Addr.h"
#include "ace/Lib_Find.h"
#include "ace/Log_Category.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_string.h"
#include "ace/os_include/sys/os_socket.h"
#if !defined (__ACE_INLINE__)
#include "ace/FILE_Addr.inl"
#endif /* __ACE_INLINE__ */
ACE_BEGIN_VERSIONED_NAMESPACE_D... | [
"root@wow.playstar.se"
] | root@wow.playstar.se |
85d4ba4d3b4b70b7794751200dc5e721a89e0752 | 768d3d68d78f82538ddb690335e4923f06887d3d | /code/src/my_voe_ap.cpp | 220a533413c45cd509a96d5636c9d333270474d6 | [] | no_license | hfeeki/py-webrtc | 281485bc97cf439bb581f06344a7f686af9f5d15 | 9ddaa550a749933b8e283e812275957e56b4fef0 | refs/heads/master | 2023-08-11T02:24:41.042794 | 2014-12-02T23:20:39 | 2014-12-02T23:20:39 | 32,134,991 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,567 | cpp | /*
* Copyright (c) 2011, Kundan Singh. All Rights Reserved.
* Copyright (c) 2014, Intencity Cloud Technologies <theintencity@gmail.com>.
*/
#include <Python.h>
#include "common_types.h"
#include "my_macro.h"
#include "my_error.h"
#include "my_common_types.h"
#include "my_channel.h"
#include "my_voe_ap.h"
using n... | [
"theintencity@gmail.com@0472d8dd-b136-acaa-11a3-c15b4991e810"
] | theintencity@gmail.com@0472d8dd-b136-acaa-11a3-c15b4991e810 |
d4ff1a582e169722d81cfe4fe77899991ae21fb5 | d5b1f8713a56f5cec864edd324d0be64b5b25d2f | /lib/seqan-2.4.0/share/doc/seqan/html/demos/dox/find/finder_index.cpp | 0ae0fc4ff9dcccae027253f88fa35ce3481b7d09 | [
"MIT",
"BSD-3-Clause"
] | permissive | guillaume-gricourt/HmnTrimmer | 5664cf42fb0f0eb4b454b59e456db6b5afec3d2c | 1c09e11eda12bb1ca1fd1d7ea8f08077be1bfe14 | refs/heads/main | 2023-04-17T20:25:46.737004 | 2023-04-17T07:44:02 | 2023-04-17T07:44:02 | 270,999,070 | 1 | 1 | MIT | 2023-09-11T01:38:48 | 2020-06-09T12:40:24 | HTML | UTF-8 | C++ | false | false | 524 | cpp | #include <seqan/find.h>
#include <seqan/index.h>
using namespace seqan;
int main()
{
CharString hstck = "I spy with my little eye something that is yellow";
Index<CharString, FMIndex<> > index(hstck);
Finder<Index<CharString, FMIndex<> > > finder(hstck);
while (find(finder, "y"))
std::cout <<... | [
"guipagui@gmail.com"
] | guipagui@gmail.com |
570749bbcd47ce472ad0292db4d719137fdf7db8 | 1f64a164a62d104c394aeb225aa0fb8f12ffdc40 | /lib3dWorld/include/ray2d.h | ab507d3ce6f101da93876289880c44d7170402ca | [] | no_license | smeyel/Tracking | b35eeec0a86cc8d1297c733d6e3214c4f90b5182 | 7285785c4b4bbed30106c6db251cf6651886f05c | refs/heads/master | 2016-09-06T01:03:17.734731 | 2014-03-11T09:22:12 | 2014-03-11T09:22:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #ifndef __RAY2D_H_
#define __RAY2D_H_
#define NOMINMAX
#include <opencv2/core/core.hpp>
using namespace cv;
/** Represents a 2D ray in an image */
class Ray2D
{
public:
/** ID of the camera this ray is represented for. */
int cameraID;
/** Starting point */
Point2f A;
/** Next point (direction vector is given ... | [
"kristof@aut.bme.hu"
] | kristof@aut.bme.hu |
3021c60820e97568ca61d8b2f08e8785bb4e7463 | 8222f706991eb7816b0422183740e768397b3437 | /src/server/model/usermodel.cpp | 81208ab122f9fc24e501bb250345a47ca9f5e641 | [] | no_license | ninja-sword/chatserver | ab8bea345b0d5c13513886fe61739c26dace3970 | f211aa4f04ae9a4e5d474dee711114f6b58618d0 | refs/heads/main | 2023-06-29T23:11:29.786107 | 2021-08-04T09:20:34 | 2021-08-04T09:20:34 | 392,621,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | cpp | #include "usermodel.hpp"
#include "db.h"
#include <iostream>
using namespace std;
bool UserModel::insert(User& user) {
char sql[1024] = {0};
sprintf(sql, "insert into user(name, password, state) value('%s', '%s', '%s')",
user.getName().c_str(), user.getPwd().c_str(), user.getState().c_str());
MySQL... | [
"273842781@qq.com"
] | 273842781@qq.com |
1b446261fc40eb3e1b08385f1b168326f0bf10f1 | e637d734d7970005f5ed18f4f624445ae0210ac6 | /GradiusCopy/Bullet.cpp | 7c1ea5c76764e07f3cb1b9c6d77c5f41b558b57c | [] | no_license | kcj08021/GradiusCopy | 30e7ccc37e741935dd8c081841c74deb399e34ee | 144df0e4952aa08e18b3de5c6f0f32cb1df8899a | refs/heads/master | 2022-09-08T05:05:14.988075 | 2020-05-25T00:10:31 | 2020-05-25T00:10:31 | 266,646,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | #include "pch.h"
#include "Bullet.h"
CBullet::CBullet(){}
CBullet::~CBullet(){
Release();
}
void CBullet::Release(){}
void CBullet::Initialize() {
m_tInfo.fCX = BULLET_CX;
m_tInfo.fCY = BULLET_CY;
m_fSpeed = BULLET_SPPED;
CGameObject::UpdateRect();
CTextureManager::GetInstance()->AddTextur... | [
"kcj08021@naver.com"
] | kcj08021@naver.com |
86f1b5e914c1e5f71edcf10958ed7ca6a1d2c2ce | 339d51c0e216e837c8ad625d5d6f073c28dd1390 | /third_party/externals/icu/source/common/dictbe.cpp | f686c9112bf8454abea496624c712ca47ab59a0a | [
"BSD-3-Clause",
"ICU",
"MIT",
"LicenseRef-scancode-unicode"
] | permissive | killvxk/skia358 | 86612581dde3041221e144c6f6a0508c7793d62d | 8c181ec0aebf7d1f34943234c82b7b07c1218e69 | refs/heads/master | 2020-03-30T07:31:46.517783 | 2018-01-02T05:26:09 | 2018-01-02T05:26:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,306 | cpp | /**
*******************************************************************************
* Copyright (C) 2006-2008, International Business Machines Corporation and others. *
* All Rights Reserved. *
*******************************************************************... | [
"78400679@qq.com"
] | 78400679@qq.com |
5901c9d82f7416c25bdb95e05bbef90453ac39d2 | 667909b2c5d7e02e394b85f66695b66387b1353e | /src/MPI_helpers.h | 4f8fa094d45bd9a6592e9d8beb5a265d996c6e33 | [] | no_license | Nikhil-Kulkarni/RayTrace-miniapp | 8494cf1e323f22c26676f5d4184c33fb7c9277d4 | 1dd8699744de723aaa7c64218d05cda4e48fb4ab | refs/heads/master | 2021-07-21T01:25:46.245753 | 2017-11-01T02:22:52 | 2017-11-01T02:22:52 | 104,119,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | // Helper file to define some helper functions using MPI
#include <vector>
#ifdef USE_MPI
#include <mpi.h>
// MPI wrappers
inline void startup( int argc, char *argv[] ) {
MPI_Init( &argc, &argv );
}
inline void shutdown( ) {
MPI_Barrier( MPI_COMM_WORLD );
MPI_Finalize();
}
inline void barrier() {
MPI... | [
"berrillma@ornl.gov"
] | berrillma@ornl.gov |
0227ad4ca6cd59a84828d9485a70bedc5a85a82c | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BP_PlayerInputBufferComponent_parameters.h | bfaaf7ecd8789bc8e6e1ab9b5cbd064f5e665dc1 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | h | #pragma once
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function BP_... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
b043b19078fda8d22e26e4f44a4cd69e0ca3711e | 595a75729c537223cb3b2e4eb2e4238a9f29b0e4 | /mapping/src/Map.cpp | 457afe4aabceb74f46bbc997481491a46efb6b7a | [] | no_license | naiveHobo/RRTPlanner | 68aec08c34bc7f52418df1d4738669304aeb9372 | b1937bb3dccbb46b508bf62a769269d2a16f9f8a | refs/heads/master | 2022-05-01T01:47:33.553253 | 2022-04-10T22:29:48 | 2022-04-10T22:29:48 | 220,866,963 | 27 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 6,877 | cpp | //
// Created by naivehobo on 11/9/19.
//
#include "mapping/Map.h"
Map::Map() : private_nh_("~") {
private_nh_.param<std::string>("map_topic", map_topic_, "map");
private_nh_.param<std::string>("pose_topic", pose_topic_, "pose");
private_nh_.param<std::string>("goal_topic", goal_topic_, "goal");
private_nh_.... | [
"sarthakmittal2608@gmail.com"
] | sarthakmittal2608@gmail.com |
c835fc2772a70a7d6765e2e03b13789679eefe8e | a7421085c7447c476f486bfa5600a4d1aad61cd4 | /cluster.cpp | 363441662a91d50447813c29900aebd8be3e02df | [] | no_license | Oks748/kurs4Project | 0fe96dd56fd3ddfd9cdac4d7a24f0ad2697c084e | afbf21039327dbb31c6a2437facb93014559a2c0 | refs/heads/master | 2020-03-10T12:29:36.210962 | 2018-04-23T15:25:02 | 2018-04-23T15:25:02 | 129,380,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,953 | cpp | #include "cluster.h"
#include <math.h>
cluster::cluster(){}
//--------------------------------------------------------------------------
Bitmap^ cluster::toGrayScale(Bitmap^ bitPict)
{
Bitmap^ picture = bitPict;
for (int y = 0; y < picture->Height; y++)
for (int x = 0; x < picture->Width; x++)
{
Color p = pi... | [
"kotsuroks@gmail.com"
] | kotsuroks@gmail.com |
9e7767b3c6104fcd3b3a37abdf417c98c655192c | 0db8b08b053afbc4dbc21217b91287bee2fe5321 | /Two Sum III - Data structure design/Method.cpp | 125b5834368df81647b2ddae61d7fed4b5c5517d | [] | no_license | hanrick2000/LeetCode-7 | ffae0abae6cacc2b2d5064157fe95b538b820375 | ed3cd37028d3c346a9be9ba54eff2b615f658000 | refs/heads/master | 2020-12-22T21:24:33.734588 | 2018-08-22T05:50:45 | 2018-08-22T05:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,448 | cpp | //Design and implement a TwoSum class. It should support the following operations: add and find.
//
//add - Add the number to an internal data structure.
//find - Find if there exists any pair of numbers which sum is equal to the value.
//
//For example,
//add(1); add(3); add(5);
//find(4) -> true
//find(7) -> false
... | [
"qiuyangy@usc.edu"
] | qiuyangy@usc.edu |
74816a5d57a934ffe83f8d9f4ffed08b95f6ae2d | fac404ae1c08207e85ac32c8400bce01b9397048 | /Bits Manupulation/uniqueNumber1.cpp | 660e8e59abca05b533c487885ef7004c8251b8ca | [] | no_license | sainirajat/AdvanceAlgorithm | 2d630a17d711a44c393f74bedef11b51655753df | e5e2299598a7bc2b0d648f72b66a632424461955 | refs/heads/master | 2020-03-19T17:13:15.109911 | 2018-07-03T13:43:43 | 2018-07-03T13:43:43 | 136,749,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include<iostream>
using namespace std;
int main() {
int n,i;
cin>>n;
int arr[n];
cin>>arr[0];
int ans=arr[0];
for(i=1;i<n;i++){
cin>>arr[i];
ans = (ans^arr[i]);
}
cout<<ans;
return 0;
}
| [
"30296843+sainirajat@users.noreply.github.com"
] | 30296843+sainirajat@users.noreply.github.com |
6828c89d88dab7df4de82bea904d8020b055d8a2 | ba7bb0570824e83e019aea565ab8d7989e863d63 | /2주차/ChatServer/ServerNetLib/TcpNetwork.cpp | e39614baf6c1b0395563105224cb832d4752400c | [] | no_license | seokmin/2016-GameServer | e68492c84fe2ee60c9f3c7563d78bcc74c56e1f0 | c2e5088b44de3694664501d410b669441e774970 | refs/heads/master | 2021-01-20T19:57:34.240050 | 2016-08-17T01:13:50 | 2016-08-17T01:14:18 | 61,642,790 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,784 | cpp | #include <stdio.h>
#include <vector>
#include <deque>
#include "ILog.h"
#include "TcpNetwork.h"
namespace NServerNetLib
{
TcpNetwork::TcpNetwork() {}
TcpNetwork::~TcpNetwork()
{
for (auto& client : m_ClientSessionPool)
{
if (client.pRecvBuffer) {
delete[] client.pRecvBuffer;
}
if (client.... | [
"seokmin@nhnnext.org"
] | seokmin@nhnnext.org |
b8651312d0bdf6c221f9210f4e75f7960361c388 | b40af6d4da0f02d0828afbe914b2e812bf4c6ff6 | /patya_and_strings_cf.cpp | a5b610e450d5dec219e52fcf47e07f3789332e76 | [] | no_license | sunnyshaikh/competitive-coding | b21c23f868162bc5d7d278b66380508cc173a660 | 7414b178e78d13abffb4688bf63d84e2dece4556 | refs/heads/main | 2023-04-10T19:41:48.926846 | 2021-04-17T15:33:26 | 2021-04-17T15:33:26 | 358,904,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include <iostream>
#include <string.h>
#include <string>
using namespace std;
int main()
{
char str1[100];
char str2[100];
cin >> str1 >> str2;
int size = strcasecmp(str1, str2);
cout << size << endl;
return 0;
} | [
"gitforaltaf@gmail.com"
] | gitforaltaf@gmail.com |
80cfd3985685f9bdf78e7a26efbb0f0fb8060e55 | 1dd6a5b0ae38d3ec0a76b52393ea8941bf7e2696 | /src/Core/FileSystem/FileSystem.cpp | 960a7b272cf04e40026aee416c79a6628cceb126 | [] | no_license | Allowed/Protheus | 80857e7651529bc83c576d0bd8075c679705e1f3 | baeda6b353bd5d7b0591ed71dea83c5e9702a023 | refs/heads/master | 2021-01-18T01:08:30.359775 | 2014-12-20T07:14:21 | 2014-12-20T07:14:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include "FileSystem.h"
using namespace Pro;
using namespace Util;
FileSystem::FileSystem()
{
rootDir = "";
}
FileSystem::~FileSystem()
{
}
IO::CFile* FileSystem::openFile(const std::string& file){
return new IO::CFile(rootDir + file);
}
void FileSystem::setRootDir(const std::string& dir){
rootDir = dir;
}
std::... | [
"Joshhua123@gmail.com"
] | Joshhua123@gmail.com |
5102d006aef551ebc4366612ef5382e71081ea45 | f9c5341ffcde2bd3ea3ac85f5fb119f93e92935b | /BOJ/C++/4276_0이 몇 개.cpp | d50e3fac7b8d64f8fedf136bbe2bc90931a734c4 | [] | no_license | leejaeseung/Algorithm | d9ab4f65b59c091cb65185c0d1f5f4772593eff9 | 644c69836cd0c578961d3b00741af4f4ff7c8339 | refs/heads/master | 2023-07-09T12:21:35.248238 | 2021-07-30T08:35:36 | 2021-07-30T08:35:36 | 247,437,095 | 1 | 1 | null | null | null | null | UHC | C++ | false | false | 1,410 | cpp | /*
문제
n부터 m까지 숫자를 하나씩 종이에 작성할 때, 숫자 0을 몇 번 쓰는지 구하는 프로그램을 작성하시오.
입력
입력은 여러개의 테스트 케이스로 이루어져 있다. 각 테스트 케이스는 두 정수 n과 m이 공백으로 되어있으며, 한 줄로 이루어져 있다. 입력의 마지막 줄은 n값이 음수이고, 이 경우는 계산할 필요 없이 프로그램을 종료하면 된다.
출력
각 테스트 케이스에 대해서, 0을 몇 번 쓰는지 출력한다.
풀이:
1019_책 페이지 문제에서 0의 개수만 출력하는 문제였습니다.
*/
#include<iostream>
#include<algorithm>
#incl... | [
"wasd222@naver.com"
] | wasd222@naver.com |
bfff222ce61a357e9f226cb7d7bd7c62dbcc3cd0 | af1223d95655dc6e23ffa51402755a9b9c47271f | /388_LongestAbsoluteFilePath.cpp | 7a590cc449f8bd91ed4f40be7c06becdd3993a6a | [] | no_license | royyjzhang/leetcode_cpp | 85352fbd2374a03298f0e8bace354d1408354f96 | 183c82dabb05f1090cc6855b7f6e18bcd9d4f2b9 | refs/heads/master | 2021-01-21T22:44:14.147933 | 2017-09-04T05:05:26 | 2017-09-04T05:05:26 | 102,170,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | #include<iostream>
#include<vector>
#include<queue>
#include<stdlib.h>
#include<string>
#include<algorithm>
#include<map>
#include<math.h>
#include<stdint.h>
#include<stack>
#include<sstream>
#include<unordered_map>
using namespace std;
class Solution {
public:
int lengthLongestPath(string input) {
... | [
"royyjzhang@outlook.com"
] | royyjzhang@outlook.com |
b574e4dc39bb06740484deea34a8eb3cf0d07d53 | 084310550b362e101cdad3bd69384b367543b673 | /D3D9_Renderer/D3D9_Renderer/source/renderer/Model.cpp | 38bb7709ec724346997dbab1f71d5239314a0987 | [
"MIT"
] | permissive | codenameone-akshat/D3D9_Renderer | 43795d79e03685076a9ff469899cd816ab768aa7 | 9925a827e45f987639f144aebd53974b27ddfb18 | refs/heads/master | 2021-06-29T16:27:05.869349 | 2020-10-26T19:06:03 | 2020-10-26T19:06:03 | 176,209,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,852 | cpp | #include <assimp/postprocess.h>
#include <assimp/mesh.h>
#include <cassert>
#include <algorithm>
#include "Model.h"
#include "../utils/ComHelpers.h"
namespace renderer
{
Model::Model()
:m_importer(),
m_scene(nullptr),
m_numMeshes(0),
m_totalVertices(0),
m_totalNormals(0),
... | [
"code.akshat.thukral@gmail.com"
] | code.akshat.thukral@gmail.com |
3233d7ccb73cb35ea3c54f9b29f1f7aa722a5ae2 | 47c3fe1ffc4970f27b4c211d922ea944db246fd5 | /RelationSDN.cpp | 38f08ffd87883c4e1862d79524059cf65b310ccd | [] | no_license | luizbag/evaluate | 55d1c3ee0c73ca47942fa23a954d77676aba5cca | ca72df9c15d86e4ec143786f294e926987eb7413 | refs/heads/master | 2020-05-18T16:24:47.213040 | 2014-09-26T17:52:32 | 2014-09-26T17:52:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | /*
* RelationSDN.cpp
*
* Created on: Jul 28, 2011
* Author: Marcus Vinicius
*/
#include "RelationSDN.h"
RelationSDN::RelationSDN(Similarity *pASimilarity, DataSet *pADataSet, int iANumNn) :
pSimilarity(pASimilarity),
pDataSet(pADataSet)
{
pSimilarityMatrix = new SimilarityMatrix(this);
pNnList = new Nn... | [
"luizbag@gmail.com"
] | luizbag@gmail.com |
bb14ff8c17d24818a901e961eb1e5781d6a4b2f3 | a993b98793857e93de978a6ef55103a37b414bbf | /gpu/ipc/common/struct_traits_unittest.cc | 07931e81a5a427203a9812e1cacbe1ab504442fd | [
"BSD-3-Clause"
] | permissive | goby/chromium | 339e6894f9fb38cc324baacec8d6f38fe016ec80 | 07aaa7750898bf9bdbff8163959d96a0bc1fe038 | refs/heads/master | 2023-01-10T18:22:31.622284 | 2017-01-09T11:22:55 | 2017-01-09T11:22:55 | 47,946,272 | 1 | 0 | null | 2017-01-09T11:22:56 | 2015-12-14T01:57:57 | null | UTF-8 | C++ | false | false | 16,683 | cc | // 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.
#include <string>
#include "base/message_loop/message_loop.h"
#include "gpu/ipc/common/traits_test_service.mojom.h"
#include "mojo/public/cpp/bindings/bi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
59d6b31c472496c57ecdb74ebc1a46064aa2f651 | b0b894bcfcf4b64bbb8281d2b9d684f90e106419 | /src/main/cpp/Subsystems/Drive/AveragingDriveEncoderPIDSource.cpp | 3c378435ce32433332b1b4a38501e717f975bf13 | [] | 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 | 3,755 | cpp | #include <iostream>
#include "Subsystems/Drive/AveragingDriveEncoderPIDSource.h"
#include "Robot.h"
AveragingDriveEncoderPIDSource::AveragingDriveEncoderPIDSource(DriveInfo<std::shared_ptr<WPI_TalonSRX>> _motor)
: motor(_motor){
frc::PIDSource::SetPIDSourceType(PIDSourceType::kDisplacement);
}
AveragingDriveEncoder... | [
"devjason@gmail.com"
] | devjason@gmail.com |
de890fcf28a0b0a0343e656df040faf04f24c449 | 9a64b11447c05c773498b58fcaeeb0c0b9b2cba4 | /online/onlinewebsocket.cpp | d3829c377c3a0b6f1c3b28da237e8e48a48da560 | [] | no_license | vicr123/libentertaining | e86a90fd94d8ac35224a833e1b0ff9275b74fdf0 | 195c84f3bccdb32151361db3259feb89050c1db7 | refs/heads/master | 2021-09-10T03:28:22.792729 | 2021-08-29T18:57:21 | 2021-08-29T18:57:21 | 215,784,101 | 1 | 1 | null | 2020-06-30T03:11:43 | 2019-10-17T12:13:59 | C++ | UTF-8 | C++ | false | false | 6,951 | cpp | /****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2019 Victor Tran
*
* 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 Foundati... | [
"vicr12345@gmail.com"
] | vicr12345@gmail.com |
ce8847168753319dee87c199d867089e41e3aa95 | c58fa75cc5c78f999fc4ac02e1f6fb9150aa103a | /ofertoriogflores-violin.inc | d9644cdd0065ca753da682319e6d39afe453857d | [] | no_license | cjsjb/ofertoriogflores | 55af99107057bc9d5a9550c3c7d3bf5b3a21d2a5 | f7b3de51d7158d9d0a9d88c003c808fa8472dd3c | refs/heads/master | 2022-11-07T08:18:07.861059 | 2022-10-14T02:10:34 | 2022-10-14T02:10:34 | 145,890,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | inc | \context Staff = "violin" \with { \consists Ambitus_engraver } <<
\set Staff.instrumentName = "Violín"
\set Staff.shortInstrumentName = "Vn."
\set Score.skipBars = ##t
\set Staff.printKeyCancellation = ##f
\new Voice \global
\new Voice \globalTempo
\context Voice = "violin" {
\override Voice.TextScript #'padd... | [
"yosoy@danieldiaz.org"
] | yosoy@danieldiaz.org |
3feb9942a193c9ba7b387d93c447cc78aa6fc52b | 8de180039b4794dd3767e7f8248e61f1d74c187e | /Kezia/source/Network/Packet.h | 0bc51b06df8689797c19c9332dbacf55b85758fd | [] | no_license | kWickert/Kezia | 5fda88d484b5233b8bd928d97d083eecfcda42bd | 2931a63e3fe86d8e9c5e10feed418b5f5af506e2 | refs/heads/master | 2016-09-07T19:02:28.023000 | 2014-01-20T17:27:49 | 2014-01-20T17:27:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,162 | h | #pragma once
#include "NetworkAddress.h"
#include "Core/Assert.h"
#include "Core/HashedRegistry.h"
#include "Core/Logger.h"
#include "Core/Types.h"
namespace Kezia
{
class PacketTemplate
{
public:
~PacketTemplate();
const std::string & GetTemplateName() const;
const U32 GetPacketSize() const;
const typ... | [
"kwickert@smu.edu"
] | kwickert@smu.edu |
9489238ce7da162064686547a141957f6ea78780 | e7d0c4f29cccfed9ac5b67ce1eb50df029b54412 | /meuporg-server/source/Kantan-2/Event/Event.hpp | e1f1983e4653420bda950f42f35256df0b5cea9e | [] | no_license | Qu3tzal/meuporg | 48bd8b6a3a60c6f1e673c28d1103395fdc22786f | d7cc7d5e7318ea1eb0ae180d94d8d237cf25675c | refs/heads/royale | 2020-04-12T06:21:50.566221 | 2019-08-29T12:17:58 | 2019-08-29T12:17:58 | 58,751,847 | 10 | 2 | null | 2019-06-04T13:31:02 | 2016-05-13T15:29:43 | C | UTF-8 | C++ | false | false | 1,254 | hpp | #ifndef KANTAN_EVENT
#define KANTAN_EVENT
#include <queue>
namespace kantan
{
/**
EventData class.
**/
class EventData
{
public:
EventData();
virtual ~EventData();
};
/**
Event class.
**/
class Event
{
public:
// ... | [
"maxime.alvarez@etu.univ-tours.fr"
] | maxime.alvarez@etu.univ-tours.fr |
8876446194de0f252ffbe1b051b143ff1a04c8ac | bcb9501eb2523aa8e6a46c27793d05b7a16a2e49 | /src/analysis/AnalysisDEA.cpp | 1836c7402affc60d6bc7abd5c5954999bc5b90c9 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | SynBioTek/st_viewer | 8e819d3df7cb8161d3600220d905f5a06cffe62f | 9ee65b5ea836bcfb2fe4b4ba67ae76f55f872416 | refs/heads/master | 2021-09-05T19:14:36.423438 | 2018-01-30T13:12:32 | 2018-01-30T13:12:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,780 | cpp | #include "AnalysisDEA.h"
#include <QPushButton>
#include <QFileDialog>
#include <QMessageBox>
#include <QStandardItemModel>
#include <QChartView>
#include <QScatterSeries>
#include <QFuture>
#include <QtConcurrent>
#include <QMenu>
#include <QClipboard>
#include "math/RInterface.h"
#include "ui_analysisDEA.h"
Anal... | [
"jc.fernandez.navarro@gmail.com"
] | jc.fernandez.navarro@gmail.com |
3bce686a552860f2b9ae0eee1028b5753bcef3e2 | eab98d8b02774cb9e15b51a6edc51d754180f9e8 | /SpellCorrect/Levenshtein/Levenshtein_spell.cpp | 00675f2795d8f7e924bb86c0679854488c98cde6 | [] | no_license | trungkstn/project | 97cf2cc970e4726ca878a07a1420b3792e2f4aec | 54c97705694a0886f13a3cb3fab760473408bbce | refs/heads/master | 2021-01-23T11:59:57.947377 | 2014-08-13T06:35:00 | 2014-08-13T06:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,427 | cpp | /*************************************************************************
> File Name: Levenshtein.cpp
> Author: Soul
> Mail:souldong1591@gmail.com
> Created Time: 2014年08月11日 星期一 09时36分27秒
************************************************************************/
#include <iostream>
#include <string>
#include <... | [
"souldong1591@163.com"
] | souldong1591@163.com |
d9116d917df09db2a60409992f53ced20db91abd | 72e7926d59a0aac90898071e597fc1b6be39e589 | /src/Constraint13.h | d6b7bd794806cd9940a64a6932b458b612862f90 | [] | no_license | disbeat/roadef2010 | 43c1a46b294f5f36ed72aaeb6c50859785c3a08e | a541813ecf9d96962508c7f1d2656277b8239068 | refs/heads/master | 2021-01-22T12:08:40.963813 | 2011-03-23T21:51:00 | 2011-03-23T21:51:00 | 1,520,489 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #pragma once
#include "Constraint.h"
#include <stdio.h>
class Constraint13 :
public Constraint
{
int powerplant, campaign, TO, TA;
public:
Constraint13(FILE* inputFile);
~Constraint13(void);
int getPowerplant();
int getCampaign();
int getTO();
int getTA();
};
| [
"disbeat@gmail.com"
] | disbeat@gmail.com |
0d0790603ed15b271cd87135bb42d77b85d248d3 | a93a4d591e55057f2d92287779a04fd38c4ac0fa | /src/Managers/CollisionManager.cpp | 1ef3e7b8ba2f62d4819761bd9a3ef5a9a6c556d6 | [] | no_license | CURVATJB/Shooter2D_SFML | 409c9d0801e900d7decbb0e0cbc7809fa288bec8 | b81607ca3a30796b7b153be5cbbc300613b263ea | refs/heads/master | 2023-04-29T04:33:53.884165 | 2021-05-24T12:26:56 | 2021-05-24T12:26:56 | 370,343,038 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,058 | cpp | #include "Managers/CollisionManager.h"
#include "Components/CollisionHandler.h"
#include "GameObjects/GameObject.h"
#include "Managers/CollisionDispatcher.h"
#include "Tools/SMath.h"
void CollisionManager::UpdateCollision(std::list<GameObject*> abscisseTab)
{
_SortByAbscisse(abscisseTab);
const auto endIterator(abs... | [
"jb.curvat@gmail.com"
] | jb.curvat@gmail.com |
a6db750d0efc8ec304391adba1afa3969ccbc0dc | 912cd9c4baebaf6df91b9d0b364b22e3e59f72de | /src/apps/cterm/main.cpp | bdbf69f397a75715d6026ffc7ce759bb0009cdb0 | [] | no_license | D-os/cosmoe | 994ad2ead11a7fd4a4a18f2e48589e664d767ea3 | ff9803afcfa6ef588548dfb850f55a098d84ee13 | refs/heads/master | 2020-03-07T21:59:47.239870 | 2014-11-10T15:46:12 | 2014-11-10T15:46:12 | 127,742,119 | 1 | 1 | null | 2018-04-02T10:34:39 | 2018-04-02T10:34:39 | null | UTF-8 | C++ | false | false | 12,414 | cpp | /*
* cterm - x-term like terminal emulator for Cosmoe
* Copyright (C) 1999 Kurt Skauen
* Copyright (C) 2002-2003 Bill Hayden
*
* 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; eith... | [
"ithamar@upgrade-android.com"
] | ithamar@upgrade-android.com |
ecb614ca1246c24017e1f1fbc360ecf4b744bb90 | 8cc902f48cbf0f10b98bb55f502a306641ef38b4 | /tools/progen/RpcDef.cpp | db8551b205e8ec533a8206d64425ef07a608bbe8 | [] | no_license | wangping0214/catman | 567dcfa2064564ec5187d3bbc140a72b2a9d40d0 | 7e50735c511ba7c313478cfcb5c623afaca1447f | refs/heads/master | 2021-01-10T01:37:48.942209 | 2013-03-30T14:21:16 | 2013-03-30T14:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,427 | cpp | #include "RpcDef.h"
#include "TabString.h"
#include <algorithm>
#include <iterator>
RpcDef::RpcDef(const tinyxml2::XMLElement *rpcElem) : m_name(rpcElem->Attribute("name")), m_type(atoi(rpcElem->Attribute("type"))),
m_argument(rpcElem->Attribute("argument")), m_result(rpcElem->Attribute("result"))
{
}
RpcDef::~RpcD... | [
"wangping0214@126.com"
] | wangping0214@126.com |
d1e6ad6d6a7324ff13f5e4f5ccd9ab7080cc3507 | 721c1c989aa20615a41da072752d0a115fa3ee50 | /Engine/EngineDLL/Tilemap.cpp | 9d514e96ead146347bf2a71eb560dea7e6642605 | [] | no_license | MatiasRT/PG4-Engine | fd04e823a9e2617353a72b53954e8ea1ebd5e880 | 4e8a35c4ee55cc8b939854297be47ae558598f72 | refs/heads/master | 2020-07-04T21:52:29.116184 | 2019-11-27T20:31:51 | 2019-11-27T20:31:51 | 202,430,662 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 9,852 | cpp | #include "Tilemap.h"
Tilemap::Tilemap(const char* filepath, int winWidth, int winHeight, Material * mat, Renderer * rend) { // Cargamos el archivo
render = rend; // Inicializamos variables
material = mat;
scrollX = 0;
scrollY = 0;
levelHeight = 1;
levelWidth = 1;
lastPosX = 0;
l... | [
"ruiztorresmatias@gmail.com"
] | ruiztorresmatias@gmail.com |
315a27b3704d74b48d1bace518cbaae291534795 | 44ea78720cf1fbbbb57a204d462f08ef8ccb7c42 | /ABC/ABC012/a.cpp | 748862b5f3f126f8c34b5173aace123297fc836d | [] | no_license | kironbot/AtCoder | 854a85d55e2d3c0c8ef76589ad905af20d9c567d | 4c05bf806413f5c601baa7432b9d85b102ba34b7 | refs/heads/master | 2021-06-29T16:14:47.667960 | 2020-09-27T06:17:02 | 2020-09-27T06:17:02 | 138,470,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
#include <stack>
#include <deque>
#include <cmath>
#include <map>
using ll = long long;
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << b << " " << a << endl;
}
| [
"sgr.araki@gmail.com"
] | sgr.araki@gmail.com |
6a61ed01f6d61e7af5f7584bdd8ef6d68745a34b | 69ccfc8cb3deac441c0f3c8791415d1ea40169d4 | /MediaMuxer/media_muxer.h | b306697709ef0a0d862935a47eca44e094a42080 | [] | no_license | jacobtang/AVBase | fd3ed3885f51ff3b4c89aa2a0cb3d046e9b7bd8e | 64bd7a7f3bd1a2df3b5c86e9a93d3b552f800691 | refs/heads/master | 2020-03-27T07:18:19.041890 | 2018-08-26T12:48:01 | 2018-08-26T12:48:01 | 146,179,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h |
/**
*/
#ifndef _MEDIA_MUXER_H
#define _MEDIA_MUXER_H
#include "base.h"
#include "user_arguments.h"
#define USE_H264BSF 1
#define USE_AACBSF 1
class MediaMuxer{
public:
int startMuxer(const char * video, const char *audio , const char *out_file);
void setup_video_state(int video_state);
void setup_audio_sta... | [
"923815749@qq.com"
] | 923815749@qq.com |
09c69842312a98c25647969ddff58d28173d3b0b | eaf5c173ec669b26c95f7babad40306f2c7ea459 | /arc080/arc080_c.cpp | 8138bbd5cbfc6948a2733d3c7bf9c262a1b7e6a2 | [] | no_license | rikuTanide/atcoder_endeavor | 657cc3ba7fbf361355376a014e3e49317fe96def | 6b5dc43474d5183d8eecb8cb13bf45087c7ed195 | refs/heads/master | 2023-02-02T11:49:06.679743 | 2020-12-21T04:51:10 | 2020-12-21T04:51:10 | 318,676,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,121 | cpp | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
//namespace mp = boost::multiprecision;
using namespace std;
const double PI = 3.14159265358979323846;
typedef long long ll;
const double EPS = 1e-9;
#define rep(i, n) for (int i = 0; i < (n); ++i)
//#define rep(i, n) for (ll i = 0; i < (n); ++i)
... | [
"riku@tanide.net"
] | riku@tanide.net |
92a7552d5452838aa29333d33b059ff9c0b3cc25 | c74d3a6586e8eb44fbb7ff8455662554137844a0 | /열혈 C/Notation/Notation/Source.cpp | a4f2d2415a16e5b74dd2e67328e4af81d5698eca | [] | no_license | HyungMinKang/C-BASIC-PracticeCode | 0a4594828997a2aaa15c84d6469937117efc75c7 | 55f27343f384621c69cbcc3a4cc038cfc8eb5081 | refs/heads/master | 2022-04-26T17:37:35.123163 | 2020-04-29T02:15:02 | 2020-04-29T02:15:02 | 259,791,780 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 418 | cpp | #include <stdio.h>
int main(void)
{
int num1 = 0xA7, num2 = 0x43;
int num3 = 032, num4 = 024;
printf("0x47의 10진수 정수 값: %d \n", num1);
printf("0x43의 10진수 정수 값: %d \n", num2);
printf("032의 10진수 정수값: %d \n", num3);
printf("024의 10진수 정수 값: %d \n", num4);
printf("%d-%d=%d \n", num1, num2, num1 - num2);
printf("%d... | [
"ramkid91@gmail.com"
] | ramkid91@gmail.com |
270521ec3fae6b8a09554fe2f139d7e922d6aee3 | 4310d17027c1fa3557b169140c8b4c11c9a8c4d0 | /lib-dmx/include/dmxsend.h.txt | 68c160fd3dc86c3c260705dd5b1aee37820cf23e | [] | no_license | xenobot-amber-dev/rpidmx512 | d0490c31fa666b4178cf30a8d64fa67389f85015 | 2de3ff0451df7910f0257a51631cabfa211e6e6e | refs/heads/master | 2021-07-15T07:21:07.214507 | 2017-10-22T14:38:01 | 2017-10-22T14:38:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | txt | /**
* @file dmxsend.h
*
*/
/* Copyright (C) 2016 by Arjan van Vught mailto:info@raspberrypi-dmx.nl
*
* 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 with... | [
"Arjan.van.Vught@gmail.com"
] | Arjan.van.Vught@gmail.com |
78db34c990db10f399477d57bffec0a0021505f0 | 0bada19fd7fbfc96c48e006976dac40d69f3898e | /firmware/Prototype_v4/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp | 7f8c37a99a550759ed1a84ecd99e99ce093596a4 | [
"MIT"
] | permissive | oxycon/ProjectApollo | 21e797762c0f21192daeef42f1ce7e7d47675e09 | e9dce060e55b708489106f58cf334be1f9ba677a | refs/heads/master | 2022-08-07T16:29:09.658452 | 2022-08-03T11:25:42 | 2022-08-03T11:25:42 | 248,296,869 | 45 | 26 | MIT | 2021-09-27T10:52:28 | 2020-03-18T17:21:38 | C | UTF-8 | C++ | false | false | 9,753 | cpp | #include <Adafruit_BusIO_Register.h>
/*!
* @brief Create a register we access over an I2C Device (which defines the
* bus and address)
* @param i2cdevice The I2CDevice to use for underlying I2C access
* @param reg_addr The address pointer value for the I2C/SMBus register, can
* be 8 or 16 bits
* @... | [
"secret"
] | secret |
af6cb28160965e3f307faf9bb80e27bd5783acad | 903767e9e1bd7ae4c273621f2787e8e93ed38553 | /Codeforces/Div2/422/D.cpp | 36ba31dc6dcd807d1abf70707abedacfb51e01e2 | [] | no_license | itohdak/Competitive_Programming | 609e6a9e17a4fa21b8f3f7fc9bbc13204d7f7ac4 | e14ab7a92813755d97a85be4ead68620753a6d4b | refs/heads/master | 2023-08-04T08:57:55.546063 | 2023-08-01T21:09:28 | 2023-08-01T21:09:28 | 304,704,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | cpp | #include <bits/stdc++.h>
#include <print.hpp>
using namespace std;
// #include <atcoder/all>
// using namespace atcoder;
#define ll long long
#define ld long double
#define REP(i,m,n) for(int i=(int)(m); i<(int)(n); i++)
#define rep(i,n) REP(i,0,n)
#define RREP(i,m,n) for(int i=(int)(m); i>=(int)(n); i--)
#define rrep(... | [
"itohdak@gmail.com"
] | itohdak@gmail.com |
c7299117f645f0ae647389a1d3b49d72b50d165d | 4264a7e4c35b937545aeea456fe0e44a31b7a4ea | /1935/1935/1935.cpp | 3999429fde21b80abb2431382943190a6c928d23 | [] | no_license | sympathize123/baekjoon_solution | 5cb91059cda8873f2b9de3ead49b6a0bcd90c7d7 | 374a30aa755b5c7a4afc20a6847983d658f14025 | refs/heads/master | 2023-05-12T13:45:22.976312 | 2023-05-02T15:18:15 | 2023-05-02T15:18:15 | 360,571,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | #include <iostream>
#include <stack>
#include <string>
using namespace std;
int main()
{
int times;
stack<double> pf_stack;
double integer[26] = { 0 };
string input;
cin >> times; cin.ignore();
getline(cin, input);
for (int i = 0; i < times; i++)
{
double get_integer; cin >> get_integer;
integer[i] = get_i... | [
"tim0726@naver.com"
] | tim0726@naver.com |
924530bf04a9b075d169848ef768b616a025ed5f | 048c72f1c29faf5c592748517c8cb75f8d23a8cb | /rediscontrol.cpp | 18705c119f826d38ffb717a30a920422a085b663 | [] | no_license | CaffeMrDe/redis-test | e32fe47f08960c74d009099cf04dfddca971d819 | 9805351a73fb6c85ffada91dc2648de9dfe9a06b | refs/heads/master | 2022-12-03T00:45:28.013312 | 2020-07-07T06:26:48 | 2020-07-07T06:26:48 | 277,313,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | cpp | #include "rediscontrol.h"
using namespace rapidjson;
redisControl::redisControl()
{
keys = vector<string>{"Fx", "Fy", "Fz", "Tx", "Ty","Tz","time"};
}
redisControl::redisControl(const std::vector<string> &keys)
{
copy(keys.begin(), keys.end(), this->keys.begin());
}
redisControl::~redisControl()
{
redis... | [
"13674059697@163.com"
] | 13674059697@163.com |
337158caacdfae6dcc331223a11f36dee04f8e03 | c588186250b1af54a276dbba2efc8bb78ca14125 | /contest/2017 Multi-University Training Contest/4_11.cpp | a2e42a1daa99a453043da1e87562c1ac349e3b9b | [] | no_license | Meng-Lan/Lan | 380fdedd8ed7b0c1e5ffdabdc0c2ce48344927df | fc12199919028335d6ddb12c8a0aa0537a07b851 | refs/heads/master | 2021-06-28T11:59:50.201500 | 2020-07-11T09:05:53 | 2020-07-11T09:05:53 | 93,761,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,429 | cpp | #include<iostream>
#include<cstdio>
#include<string>
#include<cstring>
#include<cstdlib>
#include<sstream>
#include<fstream>
#include<vector>
#include<list>
#include<deque>
#include<stack>
#include<queue>
#include<map>
#include<set>
#include<cmath>
#include<utility>
#include<numeric>
#include<iterator>
#include<algorit... | [
"779379402@qq.com"
] | 779379402@qq.com |
126922639e318896e5d36afb6706d1aaeeb48988 | cfb705f3727ff2f53288269ae37bd2cb6687951d | /CAFCore/QFramework/Root/TQAlgorithm.cxx | ea7cc2ecc314f99163b15259a1f0d513f502366a | [] | no_license | alessio94/di-Higgs-analysis | 395934df01190998057f7c81775209c5d32f906e | 79c793cc819df7c8511c45f3efe6bdd10fd966bf | refs/heads/master | 2023-02-17T05:44:59.997960 | 2023-02-13T18:02:42 | 2023-02-13T18:02:42 | 224,252,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,241 | cxx | #include "QFramework/TQAlgorithm.h"
#include "QFramework/TQSample.h"
#include "QFramework/TQSampleFolder.h"
#include "QFramework/TQObservable.h"
#include "TTree.h"
#include "QFramework/TQLibrary.h"
////////////////////////////////////////////////////////////////////////////////////////////////
//
// TQAlgorithm
//
//... | [
"alessiopizzini@gmail.com"
] | alessiopizzini@gmail.com |
5885a58686498cbaeed3b03da89155bcc93cd432 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/0.7/U.particles | e6fcdcadd5e5b05cc898cb3c9f47bcf7ab01e839 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148,675 | particles | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.