blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a31bc16de486f21e9554b3cb29440cd94340f6e3 | 1b60b011949b294f1e3f954caa1eaeed5d151e3b | /fixed report/src/a39outside/parser/asin.cc | 4a4de5cc7d02c2e18cbc5011579714104b4aae47 | [] | no_license | franksnightmare/c-3week6 | 728bcf9c12133fc416a06b71bbca0811c04fdb30 | 24c4c16c9e25e445cafd236281e92ddd7c54a08a | refs/heads/master | 2021-01-21T07:07:38.270867 | 2017-03-08T20:52:55 | 2017-03-08T20:52:55 | 83,318,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cc | asin.cc | #include "parser.ih"
RuleValue &Parser::asin(RuleValue &value)
{
double transform = angleTransform();
if (valueOf(value) <= 1 || valueOf(value) >= -1)
return RuleValue(asin(valueOf(value)) / transform);
else
error("Value (radians) out of interval -1 < value < 1");
}
|
5e50384b23d707641d278b3c7e11ae5f1b3aae4b | a4ecfe8fdaba7639087707de2e911455662d8b1b | /Lib/Lib/Hw_event.cpp | 4876121da9fee7a794fdad15234cb598cf25f59b | [] | no_license | M1p0/workspace | d8b30e06b6afdac056b32978245b2829ecb739c4 | 19132ee9921e4c0a55dcec57c3756db46985a3a4 | refs/heads/master | 2021-01-19T00:31:01.617151 | 2019-04-29T07:05:20 | 2019-04-29T07:05:20 | 87,179,613 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | cpp | Hw_event.cpp | #include "Hw_event.h"
#include "Public.h"
using namespace std;
void SetMouse(POINT pos)
{
SetCursorPos(pos.x, pos.y);
}
void SetMouse(long x, long y)
{
SetCursorPos(x, y);
}
void LeftDown()
{
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
}
void LeftUp()
{
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0,... |
2081b441b6ce1a8560e923a58f52aa19aad0c152 | 4a9213bf83760ceb50a1dc2cfd973f28339e1127 | /Code/RendererGL/program_gl.cpp | 550fc3aea06ea730ba3490f84146fa9a3949e1f1 | [
"MIT"
] | permissive | wkigen/WingEngine | dd094cda9f08edc2d3bfd14195b2ae2de0657d7f | 5f0da3b26e11977d0205ecbd6e093c5846f26210 | refs/heads/master | 2020-04-17T20:34:55.556595 | 2017-10-18T02:50:51 | 2017-10-18T02:50:51 | 66,062,913 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | cpp | program_gl.cpp | #include "program_gl.h"
#include "log\log.h"
#include "allocator\allocator.h"
namespace WingRendererGL
{
void printShaderInfoLog(GLuint obj)
{
int infologLength = 0;
int charsWritten = 0;
char *infoLog;
glGetShaderiv(obj, GL_INFO_LOG_LENGTH, &infologLength);
if (infologLength > 1)
{
infoLog = (char... |
fcf2768bfcdec024db9638682da2e499b03093aa | f1aaed1e27416025659317d1f679f7b3b14d654e | /MenuMate/MenuMate/Source/MagicMemoriesSfBinding.cpp | 68c74e8d6ccd02493a943923fc94571fa1c5c45b | [] | no_license | radtek/Pos | cee37166f89a7fcac61de9febb3760d12b823ce5 | f117845e83b41d65f18a4635a98659144d66f435 | refs/heads/master | 2020-11-25T19:49:37.755286 | 2016-09-16T14:55:17 | 2016-09-16T14:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108,565 | cpp | MagicMemoriesSfBinding.cpp | // ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : E:\MagicMemoriesWAPI.wsdl
// >Import : E:\MagicMemoriesWAPI.wsdl>0
// >Import : E:\MagicMemoriesWAPI.wsdl>1
// >Import :... |
723572400f85099dd7fd3662b3dd90484ba226e9 | 086e7608666e08a6fb817031f29d7bbde8f1c815 | /src/game_engine.cpp | c0466613821c6ba1855008f2d488208a31b5be53 | [] | no_license | mcuan/a-star | b3c239bef6010c2f680c4bab393ed2ed39e02e2e | 2da1d37307fe2ae15b0ceb88a90c2bee0c3cb2c6 | refs/heads/master | 2023-02-18T19:37:58.527240 | 2021-01-23T11:57:24 | 2021-01-23T11:57:24 | 275,750,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,542 | cpp | game_engine.cpp |
#include "game_engine.hpp"
GameEngine::GameEngine(int rows, int cols)
: m_rows(rows)
, m_cols(cols)
, m_NodeGrid(rows, cols)
, m_totalFrames(0)
, m_frameCount(0)
, m_nodePtr(nullptr)
{
// Game Engine Consttructor
sAppName = "A* algorithm demo";
}
GameEngine::~GameEngine() {
// Gam... |
32ec665ffca564cb8cc82937bc25cab82444f724 | f072254ddbcf9d7d5b8c91f31019bcd47e3db1ad | /codeforces/pytriplet.cpp | bb511dc896465566bbaeaed17b4e76103df0d384 | [] | no_license | nitishkumar07/Competitive-Programming | 87389fac93a525a84dcca882a982ff573599f222 | 020c70b6e4e6a747524eefd841968cda2c9a7af8 | refs/heads/master | 2023-01-23T06:03:00.480202 | 2020-12-02T10:39:32 | 2020-12-02T10:39:32 | 292,838,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | pytriplet.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long int a,b,c,product=1;
int i,j;
for(a=0;a<12/3;a++)
{
for(b=1;b<12/2;b++)
{
c=12-a-b;
if((a*a)+(b*b)==(c*c))
{
product=a*b*c;
cout<<product;
... |
cf7ae1a51a72d566212a3098e06ff9125ce7118f | 6de1f519ec586f608ff7cd1a180897626db63bc0 | /src/Base.hpp | 61db9c03ceae11115fdcc8dc8f7e0a98fbf45778 | [] | no_license | octonox/MarsColony | 21621c7edf5e7deabeb0e5b6301603535bf40b79 | e5527160962b505282ea19d51c4822244a6df0cb | refs/heads/master | 2020-03-22T13:19:49.750356 | 2018-11-10T17:15:14 | 2018-11-10T17:15:14 | 140,099,730 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 643 | hpp | Base.hpp | /**
-Création: 28/08/2018
-Classe représentant la base du joueur
**/
#ifndef BASE_HPP
#define BASE_HPP
#include <vector>
#include <memory>
#include "buildings/building.hpp"
#include "achievement.hpp"
namespace gmpl{
class Achievement;
class Base
{
public:
//Methods
explicit Base();
void addAchievement(Ac... |
d769134bd4c29c6efedb530b27b3bf5e782b859c | acf24092cb159b6557f8f5becabd99914220a399 | /reactor.hpp | 8113da9b2117e26565d5887acb0ecef6c10c7198 | [] | no_license | Lchika/syateki_gun_main | a37272b934b0906b7813c052f041f2d6464331ea | 4a5446851ab5fb72fe1724a9ed75d01291e5f35f | refs/heads/master | 2020-07-17T18:35:09.088009 | 2020-04-05T12:54:15 | 2020-04-05T12:54:15 | 206,073,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,602 | hpp | reactor.hpp | /**
* @file reactor.hpp
* @brief イベントに対する反応動作を管理するクラス
*/
#ifndef REACTOR_HPP
#define REACTOR_HPP
#include "display.hpp"
#include "speaker.hpp"
#include "vibrationMotor.hpp"
#include "score.hpp"
/**
* @class Reactor
* @brief
*/
class Reactor {
private:
static unsigned char constexpr VOL = 0x10;
static const... |
0007a97b5ad4a72b9ee620101ce7851f04e0de59 | 0a3628c4e4fa7aace2a5897b8f3fc0d839b43429 | /planetGame/camera.h | 6f42c69647317c4c45279a27eb98acd90b95d80e | [] | no_license | JesseLeeuwen/planetGame | 3893a34148c698f0f28047cff33f8db23081d5ca | da7653a958f172293880fe304d0dcf29b9769c0b | refs/heads/master | 2021-01-20T08:46:05.613438 | 2015-03-23T09:23:18 | 2015-03-23T09:23:18 | 32,722,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | camera.h | #ifndef _CAMERA_H_
#define _CAMERA_H_
#include "ship.h"
class Camera
{
public:
Camera(Ship* ship)
{
_offsetX = 0;
_offsetY = 0;
_player = ship;
}
~Camera();
sf::View update(sf::View view);
private:
Ship* _player;
float _offsetX;
float _offsetY;
};
#endif |
2515894753ca6d992e0a97b5283dea42e0fb2d8e | 5e605a4728e34aa2484d5516817f1c91e17cfb18 | /EOJ508.cpp | ce20521f881a4789f30eff6a3147c53225488323 | [] | no_license | earringyyr/OI-Codes | d21181cec6958e79e6342c830817b9dc96e2b1b8 | 568c3d9be4c6c21158f6cef84eafa3ea2b271e58 | refs/heads/master | 2023-02-24T06:53:45.658937 | 2021-02-04T14:20:28 | 2021-02-04T14:20:28 | 280,356,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | EOJ508.cpp | #include <cstdio>
#include <cstring>
using namespace std;
int len;
char a[26], s[1000005];
int main()
{
for (int i = 0; i < 26; ++i)
scanf(" %c", &a[i]);
getchar();
scanf("%[^\n]", s);
len = strlen(s);
for (int i = 0; i < len; ++i)
{
if (s[i] == ' ')
{
... |
5db37966d825beefac083e6a99ffa6c975e57fe9 | 605afd9230b512d529da73d02ffc5590cf3be74b | /linked list/add numbers.cpp | 0596061d8da620a3b7381e6a78249afb9e4b6e08 | [] | no_license | karthikhatti/MyAlgorithms | 59cbee1860edbb72ee125f1a1b3155920a45d148 | dbe145c30fb13c16bbbca2379fa836e709ecdc3d | refs/heads/master | 2020-06-20T12:32:02.203134 | 2017-08-27T17:12:25 | 2017-08-27T17:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cpp | add numbers.cpp | #include <bits/stdc++.h>
using namespace std;
void addnumbers(int *a,int *b,int n1,int n2)
{
int l=max(n1,n2);
int res[l+1];
int k;
int s=0;
if(n1>=n2)
{
int m=n1-1,n=n2-1;
for(int i=n1-1;i>=n1-n2;i--)
{
s=s+a[m--]+b[n--];
res[i+1]=s%10;
s=s/10;
... |
3823b669f575be089203dd08c644fe0b0951a7e2 | 830ed304a7d320e731bacb0dc78475339df46954 | /QuickChips/IVDCore/ProcessManager/qcprocessmanager.cpp | 43b12d02b6f0b2c7afd2fbdd4d57293bafaa57a4 | [] | no_license | anacecisb/Agri-Reader | 95899df0d058feaa7574b1319968dc8571bdff53 | d58cd1c43f724492dfbbeb1f6d6d928a3a4e17ac | refs/heads/main | 2023-04-25T20:37:47.331848 | 2021-05-17T00:00:43 | 2021-05-17T00:00:43 | 368,003,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,759 | cpp | qcprocessmanager.cpp | #include "qcprocessmanager.h"
#include <qthread.h>
#include <qdebug.h>
#include <qfile.h>
class QCProcessManagerThread : public QThread
{
public:
bool isAlive = true;
QCProcessManagerThread( QCProcessManager* parent = NULL ) : QThread(parent)
{
pm = (QCProcessManager*)parent;
}
void ru... |
20781620524366d5d57b8734e7edcd210cc073e4 | fd6db8ff0ce1666c2c9f5a2bc3a46bb7c7966a73 | /NEW_MODULE/flyaudiomodule/bc8_bt/pages/BtDevicePages.h | 886687bbb0b3fdf0c41ab8e4833c0c271444ef66 | [] | no_license | zdongp/SHA256-Sign-Verify | 1215ee5d2da8f88ae9afd6be205c70708a39d7af | cc168974adef03d807192391b80d68004b9c369f | refs/heads/master | 2020-03-28T17:06:28.702009 | 2018-09-14T08:30:11 | 2018-09-14T08:30:11 | 148,758,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,594 | h | BtDevicePages.h | #pragma once
#include "BtParam.h"
class CBtApp;
class CBtModule;
class CBtHal;
class CBtParam;
class CBtDevicePages :
public CFlyApp
{
public:
CBtDevicePages(void);
virtual ~CBtDevicePages(void);
public:
//init
virtual void init(void);
virtual void initObject(CFlyApp* pFlyApp, CFlyHal* pFlyHa... |
aae8b307a281ba641f405e9db8b625b58e814c64 | 203d2250cd861872b29ad05bf3e8308775eef824 | /src/opc/impl/frl_opc_impl_item_io.cpp | 16c93faf802b9b617c01bdac19e3e3e16d4ce2ce | [] | no_license | reunanen/frl | 2f3fd55befe0f97dc3c9ee97d52a7d46c1af83e7 | 53b42c8f97775890de5b92d1618238007114b329 | refs/heads/master | 2021-01-12T00:48:04.318480 | 2017-07-23T16:13:04 | 2017-07-23T16:16:43 | 78,297,759 | 0 | 0 | null | 2017-01-07T19:01:05 | 2017-01-07T19:01:05 | null | UTF-8 | C++ | false | false | 13,494 | cpp | frl_opc_impl_item_io.cpp | #include "opc/impl/frl_opc_impl_item_io.h"
#if( FRL_PLATFORM == FRL_PLATFORM_WIN32 )
#include <boost/thread/mutex.hpp>
#include "../dependency/vendors/opc_foundation/opcerror.h"
#include "os/win32/com/frl_os_win32_com_allocator.h"
#include "opc/address_space/frl_opc_address_space.h"
namespace frl { namespace op... |
b7b08dc3b934c416dd36952e1ae3d060e4b4621d | 8d3a2a431f7e73e0b8bb9a2674fedac671f03f12 | /CF864E.cpp | a9b81ece0c995ff23a6ae7037c572e54acf04728 | [] | no_license | HelloaZelda/Program-Store | 74aa3898c23bc2acb427699e3f2f5277099adcee | 91d984722122fa51cefed21686346cd76cfea86e | refs/heads/main | 2023-03-15T20:22:18.187534 | 2020-10-25T22:58:22 | 2020-10-25T22:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | CF864E.cpp | #include<bits/stdc++.h>
using namespace std;
template < typename Tp >
void read(Tp &x) {
x = 0; int fh = 1; char ch = 1;
while(ch != '-' && (ch < '0' || ch > '9')) ch = getchar();
if(ch == '-') fh = -1, ch = getchar();
while(ch >= '0' && ch <= '9') x = x * 10 + ch - '0', ch = getchar();
x *= fh;
}
te... |
dd32fc5a61aee852c6ffda00b5ef921d4c398107 | ac123edbb30f27126dc9b18943ea71177154d133 | /ui_attribute.h | ac8973f5af19bca68fc88e9ad8f84edf8f9caaa5 | [] | no_license | weivwang/Learning_plan | e2a5f9bbc9ed22a43edc2365c39a25278c891cd3 | cb9abb49ee46392fc422985706b7af0c5a5071ce | refs/heads/master | 2023-01-22T21:06:07.440527 | 2020-11-14T04:15:25 | 2020-11-14T04:15:25 | 304,060,837 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,873 | h | ui_attribute.h | /********************************************************************************
** Form generated from reading UI file 'attribute.ui'
**
** Created by: Qt User Interface Compiler version 5.9.9
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... |
fbf59f8eb8e05f4c006f47f235da2fce6cb83fdf | 334558bf31b6a8fd3caaf09c24898ff331c7e2da | /GenieWindow/plugins/GeniePlugin_ParentalControl/LPCManager/root/code/oputil.h | 0eca4ab704eb0ddd67786f275698d14ba8c4009f | [] | no_license | roygaogit/Bigit_Genie | e38bac558e81d9966ec6efbdeef0a7e2592156a7 | 936a56154a5f933b1e9c049ee044d76ff1d6d4db | refs/heads/master | 2020-03-31T04:20:04.177461 | 2013-12-09T03:38:15 | 2013-12-09T03:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | h | oputil.h | #ifndef __oputil_h__
#define __oputil_h__
#include "AsyncOp.h"
#include <QByteArray>
#include <QList>
#include <QMap>
#include <QStringList>
#include <QVariant>
class QByteArray;
class QNetworkAccessManager;
class QNetworkReply;
class QStringList;
class SimpleOp
: public AsyncOp
{
Q_OBJECT
public:
virtual ~Simpl... |
c72590ce6a28d6f021d7c93af455d57a15200f1f | 4a00a94923d938cd6c5a1bd4a9077f8f4a3c992b | /meshB_3/106/p | d1f1abc4ca4e3a06a0ee665d0ab732a286783e43 | [] | no_license | mars2020/my_openfoam_2 | c79813522ab0bb74fca9f3c6f4f4169a56d883b4 | fda619bae0230cfb459aac15056ebea7e2d79b0e | refs/heads/master | 2020-05-04T04:35:20.905005 | 2019-04-05T04:33:47 | 2019-04-05T04:33:47 | 178,968,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125,945 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | |
1f96d7567d87ffa162715904b82d503c5221be00 | d00e83748e4c0705eb02cfc84ca594383569adfe | /software/QWave/GUI/ConnectDevice.cpp | c3d5aadfa640f0ae92b2f9e6017aca795803388b | [
"BSD-2-Clause"
] | permissive | trigrass2/qwave-project | f3d3fe4dac69943a622ee3c3ad3b05fcdc87f336 | 6f57b8bb9c14688bdc5b8599a5f0f6effb7adc87 | refs/heads/master | 2020-12-11T05:38:59.077511 | 2013-06-26T21:39:04 | 2013-06-26T21:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,902 | cpp | ConnectDevice.cpp | //
// ConnectDevice.cpp
// QWave
// Copyright (c) 2012-2013, Bruno Kremel
// 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 ... |
d8d25c1b0c687f5a1df64416b43aca4ab1278f4a | 5a1bd9facf80308c5344edea151e071f44daed49 | /App/include/WtUserService.h | afef580d0df916bb5b3bc83d66a60b1fdb7ad9f7 | [] | no_license | rkjohny/BizBooster | 21efcea3ba9db935f5775412a409612acd0ba147 | 49787de5356ec7d0af9679a00758861e562c6310 | refs/heads/master | 2020-07-01T17:15:50.948383 | 2017-10-28T09:24:32 | 2017-10-28T09:24:32 | 74,269,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | h | WtUserService.h | /**
* Author: Rezaul Karim
* Email: rkjohny@gmail.com
*
* Copyright (C) 2017 Rezaul Karim (rkjohny@gmail.com) all rights reserved.
*
* The information contained here-in is the property of Rezaul Karim and is not to be
* disclosed or used without prior written permission of Rezaul Karim. This copyright
* extends... |
baaad9413572357d522a8a2a0d04ae5e1d6fe302 | 42ba73134eeca961230044e4cef29a5fc35e3529 | /TktkDirectX12GameLib/TktkDX12WrappingLib/inc/TktkDX12Wrapper/Resource/Buffer/Upload/UploadBufferData.h | 2a1500646288c001d8dd75861f6f8db9ccd79b2b | [] | no_license | tktk2104/TktkDirectX12GameLib | 5b9ef672ce0a99bbce8a156751b423ef840729b3 | 4d037ec603d9f30d8c4ed3fb4474cfaea49c8ac9 | refs/heads/master | 2023-02-22T14:38:10.101382 | 2020-12-03T04:55:05 | 2020-12-03T04:55:05 | 287,092,170 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,751 | h | UploadBufferData.h | #ifndef COPY_BUFFER_DATA_H_
#define COPY_BUFFER_DATA_H_
/* ID3D12Device, ID3D12GraphicsCommandList, ID3D12Resource */
#include <d3d12.h>
#undef min
#undef max
#include "../BufferType.h"
#include "UploadBufferInitParam.h"
#include "../CopySourceDataCarrier.h"
namespace tktk
{
// アップロードバッファを管理するクラス
class UploadBuffe... |
b814801791fff81b419918310ce76a4f88c76e8a | 271dba50ba7bec0d5ab90b34e1d257ac41c0315c | /MSJ_DirectX_2D/MyClient/TextureLoadingScene.cpp | b13fe89baacecb35ac17de6be1cd54be3725dfdb | [] | no_license | KkyuCone/DirectX2D_MSJ_PO | 1db315c678a7c719ce6785cfb3bf1323c4403894 | e2cbab3c19a72ac554d51f864ede598dc7ad043a | refs/heads/master | 2020-08-16T06:53:42.034043 | 2019-10-16T06:25:25 | 2019-10-16T06:25:25 | 215,470,526 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 28,322 | cpp | TextureLoadingScene.cpp | #include "TextureLoadingScene.h"
#include <GameObject.h>
#include <DXHeader.h>
#include <Camera.h>
#include <Animation2D.h>
#include <SpriteRenderer2D.h>
// 내꺼
#include <PlayerMove.h>
#include <PlayerAnimation.h>
#include <SkillManager.h>
#include <UIMove.h>
//
#include <Texture.h>
#include <Sprite.h>
#include <Rect... |
22ed817c694764f29a9c807efcaba090f679dbed | 3e4817e92c5d61a94851cdf2a7fc84ef502f52b7 | /utility/utility.h | 0110ece4fa1aac94127236b0de6270a8bca18e52 | [] | no_license | haobaojiang/win-programming-exercises | 109a42ede5b55d29f6dc4d24e633c627553f21d3 | 55fa2e191b5350006f55cf283fe2e4252831e67b | refs/heads/master | 2020-07-21T19:06:48.529033 | 2019-10-18T06:19:13 | 2019-10-18T06:19:13 | 206,951,324 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,431 | h | utility.h | #pragma once
#pragma warning( push )
#pragma warning( disable: 5040 )
#include "../../wil/include/wil/resource.h"
#pragma warning( pop )
namespace Utility::String {
template<ULONG Tag>
class KString {
public:
KString(const UNICODE_STRING* Str) {
if (Str == nullptr) {
return;
}
auto status = Utilit... |
bfc83edf572472f3193744b905b2324d9d71416b | 35065c7a60a40ae88ee0a7a866c1fd4d449b94bb | /include/camerarev34.h | fb0bb57f65ce70345865aa222fbedcbc75fb6a06 | [] | no_license | PaxtelR/EED | 10fa95b3d6eba688b02032b5c3202c2407509bc4 | 4647d1c57014d4f4decc06a28d398389e1a5feef | refs/heads/master | 2023-03-21T03:14:54.702991 | 2017-04-05T05:15:49 | 2017-04-05T05:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | h | camerarev34.h |
//======================================================================================================-----
//== NaturalPoint 2012
//======================================================================================================-----
//== This is the >>> OptiTrack eSync 2 <<<
#ifndef __CAMERALIBRARY__CAMERA... |
17aa5f5dcccbe670e81beaa829a3bd1d42ee7209 | b75842b25932071ab1a098913bb2b09b0f9c7231 | /C++/Trie/PhoneDirectory.cpp | 4a84d770199280b742ec6dce5ec6a41d25ff5e2d | [] | no_license | Ketan-Suthar/DataStructure | 489c9a9cccb93dcce30a795bcdfeb4b8c7eed604 | 278ad5b70feefde5d5eb8cba7b82ed2c333f575a | refs/heads/master | 2022-11-04T20:16:47.164023 | 2022-10-17T06:52:44 | 2022-10-17T06:52:44 | 199,179,496 | 8 | 8 | null | 2022-10-17T06:52:45 | 2019-07-27T15:05:34 | C++ | UTF-8 | C++ | false | false | 2,395 | cpp | PhoneDirectory.cpp | #include <bits/stdc++.h>
using namespace std;
#define ALPHABET_SIZE 26
struct TrieNode
{
struct TrieNode *children[ALPHABET_SIZE];
// isEndOfWord is true if the node
// represents end of a word
bool isEndOfWord;
};
// Returns new trie node (initialized to NULLs)
struct TrieNode *getNode(void)
{... |
de5cbdff3b5b9520ac2ed7f15db863b60520eabc | f07d6464e4abae8507b7e491b8a01efbf3eefbbd | /week1/dominoes/src/algorithm.cpp | 46e928c6399c3e1a7d50ebdd16df2e28f61e80bf | [] | no_license | vilmarzti/algolab | 955a99f99398285318aabd216604b75af2b90b81 | 6779376daf58ba9af71c54b82702248cab488b1c | refs/heads/master | 2020-07-31T13:51:48.682811 | 2020-01-16T11:04:55 | 2020-01-16T11:04:55 | 209,827,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | algorithm.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <limits>
#include <stdexcept>
using namespace std;
void testcase(){
std::vector<int> vec;
int n;
std::cin >> n;
for(int x=0; x<n;x++){
int m;
std::cin >> m;
vec.push_back(m);
}
unsig... |
f526a8ed05360ec8165590d0100de77c186f1fe5 | 8f69ac5a753f3780f63ce290d09d813493a6add6 | /src/core/NVSMIParser.cpp | 8399f9794a7440a982a54b765a9c567aeddd38a3 | [
"MIT"
] | permissive | MMEXC18/nvidia-system-monitor-qt | 171cb71e0d8fafb3cb6db66fd399ba0b90a11104 | 0eac639ef8276505fcdcbdef602d3a4af90dedef | refs/heads/master | 2023-07-20T01:02:41.381754 | 2021-08-24T17:44:45 | 2021-08-24T17:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,891 | cpp | NVSMIParser.cpp | #include "NVSMIParser.h"
#include "Utils.h"
#include "SettingsManager.h"
using namespace std;
using namespace Utils;
#define constant(name, data) constexpr char name[] = data
constant(GPUCountCommand, "nvidia-smi --query-gpu=count --format=csv,noheader");
constant(GPUUtilizationCommand, "nvidia-smi --query-gpu=utili... |
33f4ea0056b22555d9f3342ef1f4b55fdc09254e | faae50b0aae10df5eed0e82a54addae981cc0379 | /Engine/Source/Shading/DeferredRenderingManager.cpp | 7d5a0b780483724980b92db427218d4e845ff448 | [] | no_license | Bayonetta5/BombastEngine | 111593a328b9ca42abbbf60ce8719ad3781cbdcc | feaf7515b5bfff6d84f9b5178eebf415ff7fe47e | refs/heads/master | 2021-04-08T11:18:47.716580 | 2017-11-18T05:25:46 | 2017-11-18T05:25:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,580 | cpp | DeferredRenderingManager.cpp | #include "DeferredRenderingManager.h"
#include "../Graphics2D/PostProcessRenderWindow.h"
#include "DeferredLightShader.h"
DeferredRenderingManager::DeferredRenderingManager()
: m_pDepthStencilBuffer(nullptr),
m_pDepthStencilView(nullptr),
m_pDeferredLightShader(nullptr),
m_pPostProcessRenderWindow(nullptr),
m_pDe... |
7e0387c82e44d728699a64beb18da22e0bb1389b | 9eba870dfd6da9051efdf8a59f3dc22fdb6a637c | /container/BSTree/BSTree/AVLTree.hpp | 9bafc535152221821da54a810d901e7ed7f6e05e | [] | no_license | lianlian51/Hellow-World | 89bbd271c12127dc562467ec4b295eb73f39a1ed | 8e7fc45443617813d62e593a402527473fca34c4 | refs/heads/master | 2021-06-11T12:35:32.226280 | 2021-06-03T13:41:20 | 2021-06-03T13:41:20 | 191,291,825 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,996 | hpp | AVLTree.hpp | #pragma once
#include <iostream>
using namespace std;
template<class T>
struct AVLTreeNode
{
AVLTreeNode<T>* m_pLeft;
AVLTreeNode<T>* m_pRight;
AVLTreeNode<T>* m_pParent;
T val;
int _bf;
AVLTreeNode(const T& data = T())
: m_pLeft(nullptr)
, m_pRight(nullptr)
, m_pParent(nullptr)
, val(data)
, _bf(0)
... |
2e7d3b34e740dc04149143daf5a91c1f61632fb2 | 243b50ae765ae9cf9f2e0b9feb36fca781c667db | /source/core/zemetaeffectframe.cpp | ba43c693d87454aca146808c66678df7d7a90906 | [] | no_license | tectronics/fray-undeathmatch | 1791283d46ac8858d0373045868ed4e3e0214793 | 381f8cdcceb7509776bcf38ed5d4ade1ea1c5c9f | refs/heads/master | 2018-01-11T15:00:57.849101 | 2009-05-02T18:26:52 | 2009-05-02T18:26:52 | 47,600,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | cpp | zemetaeffectframe.cpp | #include "CorePrecompiled.h"
#include "zemetaeffectinstance.h"
#include "zestringtool.h"
namespace Fray
{
void zeMetaEffectFrame::call(unsigned int id, float frame)
{
switch (state)
{
case FrameLoaded:
if (frame >= start)
{
state = FrameStarted;
if (act... |
a759860f3bc34cf448d258a2b096e40508d4feec | 616658e14c0d80de88bfde21764de56b7c2ca07e | /GAuth/src/qmlutils.h | 787415c53610148d95861dda196ade9f39f5b627 | [
"MIT"
] | permissive | AndriiZ/NokiaBelleApps | b3f063c2748effceb3354740e3f73003485758fb | d29a8e0263302e01344c9d1ce7f7e96e989d05d3 | refs/heads/master | 2021-01-25T10:29:49.317297 | 2014-08-07T19:44:22 | 2014-08-07T19:44:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | qmlutils.h | /*
Copyright (C) 2012 Dickson Leong
This file is part of Tweetian.
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 lat... |
e79ab5769bfba9d70e038da3293a1b4654c960c4 | 41397f750658a43834ad1ec7b642c75ec3a3778d | /include/expression.hpp | 71aa2f4f5ea6763546fd264358253e496bf43f61 | [] | no_license | mlabardy/AlgebraTutor | 835b69f3b8e9400c8fe6f0cd2ccf9fd6d568ef38 | 6cf14d7b588fb49755767af5cc64f5ac80999e73 | refs/heads/master | 2021-01-10T06:07:23.395584 | 2016-04-14T21:53:38 | 2016-04-14T21:53:38 | 52,201,563 | 0 | 0 | null | 2016-04-09T22:58:52 | 2016-02-21T10:33:35 | C++ | UTF-8 | C++ | false | false | 1,911 | hpp | expression.hpp | #ifndef EXPRESSION
#define EXPRESSION
/*!
* \file expression.hpp
* \brief Gestion d'expressions
* \version 1.0
*/
#include <iostream>
/*!
* \class Expression
* \brief Classe représentant une expression
*
* Gère tous les types d'expressions algébriques
*/
class Expression
{
public:
/*!
* \brief Constr... |
9bf6d6fb779db5334a568722f7067e9d522de63d | c6c2c72684df0529d09605fa9f72f90ed518bc49 | /pawno/include/SMRPG.inc | 2e0b026dfcf1bfc74eab182c98932130b2fa936e | [] | no_license | Revelts/SAMP_OPENSOURCE | fe8e8cd6bbf4f3d5dd07bbedb94f62beff25fb21 | 77cc7f16ec1e6cf2b15910015a71f052b033624c | refs/heads/master | 2023-03-20T14:03:07.941688 | 2018-05-20T12:41:01 | 2018-05-20T12:41:01 | 505,788,778 | 0 | 1 | null | 2022-06-21T10:08:17 | 2022-06-21T10:08:17 | null | WINDOWS-1252 | C++ | false | false | 428 | inc | SMRPG.inc | /*==========================================================================*/
#include <a_samp>
#include <Dini>
#include <gameinfo>
#include <utils>
#include <morphinc>
#include <veh>
//===========================================================================
#define C_WHITE "{FFFFFF}"
#define C_RED "{CC0033}"
#def... |
38185146302b4156fcc57b251c09a1fe7361e2b7 | 7d016399123acf1f6064d9386bb4ed0c3a66990d | /QStandardItemModelDemo/QStandardItemModelDemo.cpp | b13396838bc3aab059b57ed9cec34bd414db6d9e | [] | no_license | MarkChen16/QtDemo | ba6049529497ecb9bccf511824f056472fd17798 | 39fa89884789e02cf9d734c7062f1f8d9891605e | refs/heads/master | 2020-04-18T02:02:36.230779 | 2019-03-01T09:05:43 | 2019-03-01T09:05:43 | 167,144,271 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,310 | cpp | QStandardItemModelDemo.cpp | #include "QStandardItemModelDemo.h"
#pragma execution_character_set("UTF-8")
#include <qfiledialog.h>
#include <qtextstream.h>
/*
Model、View、Delegate、Index的用法
Model:数据源、操作数据
View:显示数据
Delegate:编辑数据
Index:数据索引
*/
QStandardItemModelDemo::QStandardItemModelDemo(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(th... |
b6f992732da27d5d20909ad190337d99df0d6573 | 00f5296ee968d4b06a9f4cf382513bec7d016988 | /emulador/includes/gamepak.h | d775ef27f9ad170f100a613839665d332a8c7714 | [
"MIT"
] | permissive | frankrx41/nek | 9eef6ac8e3288e366d0de9e26ae108cdca90143d | 04260400ed4ee52e70106b32c0569c3416df6acb | refs/heads/master | 2023-05-29T06:16:39.884868 | 2019-11-14T06:54:01 | 2019-11-14T06:54:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | gamepak.h | #ifndef GAMEPAK_H
#define GAMEPAK_H
#include <nestypes.h>
#include <vector>
namespace GamePak
{
extern std::vector<u8> ROM, VRAM;
extern unsigned mappernum;
extern const unsigned VROM_Granularity;
extern const unsigned VROM_Pages;
extern u8* Vbanks[];
extern u8* Nta[4];
void Init();
u8 Acce... |
3a7cfedd36aaed048b7370928ea37508413a58e5 | 9e5979f0336e6b8432b0f4c23f7b9145d863a2d5 | /Bit Magic/Maximum AND Value.cpp | 118dd8708964dd3b1ea482aaae46bc047d5c8821 | [] | no_license | akarshjoice/Competitive-Coding | fc179ae37c02090c8e3d258d4b306679947e1da6 | d705d366df7c0fae40562987ad75820a46b71e09 | refs/heads/main | 2023-06-10T04:39:07.834888 | 2021-06-16T02:51:11 | 2021-06-16T02:51:11 | 330,808,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | cpp | Maximum AND Value.cpp | // Question:
/*
Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair of element from the array.
Note: AND is bitwise '&' operator.
Example 1:
Input:
N = 4
arr[] = {4, 8, 12, 16}
Output: 8
Explanation:
Pair (8,12) has the Maximum AND Value 8.
Exam... |
fbfacefbb486f8f90c41d793c09c3744b62df1ee | 7a3eecac5c2cfaf193e5843ffe15fe5a524aeac8 | /Flying and Bombing Mode/Project_01/Project_01/cATATSphere.cpp | cf13221c2901ff4317e0f4738fe59187442ba5f6 | [] | no_license | SalingoSix/Physics-Midterm-1 | 57b7a9038ba67c9f7ed9f0e17809362a430cad4d | 0d6c9cc77ff08bc7697c87be1cea7a85ae6be007 | refs/heads/master | 2020-03-14T13:47:37.754295 | 2018-04-30T19:56:14 | 2018-04-30T19:56:14 | 131,640,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | cATATSphere.cpp | #include "cATATSphere.h"
#include "cGameObject.h"
cATATSphere::cATATSphere()
{
this->Alerter = cCollisionAlert::getInstance();
return;
}
cATATSphere::~cATATSphere()
{
return;
}
void cATATSphere::physicsStep(double deltaTime)
{
return;
}
int cATATSphere::shapeType()
{
return 3;
}
void cATATSphere::setPosition... |
5decd620b76719e845219f2a0152b278bd0393f2 | db74feac5b7bd088bea2d052b4ff48f1899434ca | /samples/RapaMediaFoundationViewer/RMFQImageWidget.cpp | e060dcd1e33b1000cb008dd1723b65ea193c5ee2 | [
"MIT"
] | permissive | jbitoniau/RapaMediaFoundation | 6fc5b40c9c8f060ae740a2b36f7b01d2a417f4f8 | 77b73750b02d47549979f987bde458b046573463 | refs/heads/master | 2021-01-19T05:05:56.280883 | 2015-04-08T12:05:33 | 2015-04-08T12:05:33 | 33,604,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,295 | cpp | RMFQImageWidget.cpp | /*
The MIT License (MIT) (http://opensource.org/licenses/MIT)
Copyright (c) 2015 Jacques Menuet
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... |
33c61170eeab870adc892a2a0f1950637fe1441a | 092b6509ba7fdeb80a1d49944cfbfcafe8345f2c | /GamePrograming 4 6/tagQuestion.cpp | d4590f0327abf6244db1c80235b6bb1e2333b945 | [] | no_license | notdevblue/GamePrograming | 74e043bcabe27eb44e35d8de61e027aa26280ea4 | 75a040245e44c13073c2dd98fd43e2aec7ca81f6 | refs/heads/master | 2023-06-11T08:56:40.856357 | 2021-06-29T07:23:47 | 2021-06-29T07:23:47 | 345,892,765 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 784 | cpp | tagQuestion.cpp | #include <iostream>
#include <conio.h>
#include <string.h>
struct tag_question
{
std::string question;
std::string answer;
int limitcount;
};
tag_question question[] = { "********", "alphabet", 8 };
int main()
{
std::cout << "---------------------------" << std::endl;
std::cout << "| alphabet 맞추기 게임 |" << s... |
d9599741d87550a0fd049b4c8c2b9df38b0e24e8 | eb79791c93c22f3c4023f795de4a8dd61567380f | /C++_for_Java_Programmers_Mark_A_Weiss/IntCell.cpp | 0419d5ec27a66a25ff1af16aa343f3417b0341d1 | [] | no_license | caojiying002/Source_Code_of_Books | 3d1fd4452a65944d4254a544f02faeb9f8524a24 | e0d6eb88fcc44337626ee5d50d72b5fe92d36503 | refs/heads/master | 2022-11-10T23:35:31.051010 | 2022-11-06T09:03:27 | 2022-11-06T09:03:27 | 242,673,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | IntCell.cpp | #include "IntCell.h"
IntCell::IntCell( int initialValue )
: storedValue( initialValue )
{
}
int IntCell::getValue( ) const
{
return storedValue;
}
void IntCell::setValue( int val )
{
storedValue = val;
} |
56a93f9308aef447c4259ee290d9c2dd3f19a3cc | 4d1bfa537c0e460785b1b5d874712443bbbbbf33 | /arrays/inbuilt_sort.cpp | 1e02d9421df85260a93bc9363d57ad3f91b05260 | [
"MIT"
] | permissive | vivekrajx/Data-Structures-and-Algorithms | 1dd02ee434e89253ad8e046474d9c098921d0a6a | 23351634652aaabfa40f8679ccff9f6fa9f844e9 | refs/heads/master | 2023-05-10T04:15:20.036764 | 2021-06-13T12:50:41 | 2021-06-13T12:50:41 | 263,098,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | inbuilt_sort.cpp | #include<iostream>
#include<algorithm>
using namespace std;
bool compare(int a, int b){
return a>b;
}
int main()
{
int a[100], n, key;
cout<<"Enter the no. of elments in the array: ";
cin>>n;
cout<<"Enter the array elements :"<<endl;
for(int i=0; i<n; i++){
cin>>a[i];
}
sort(a, a+n);
cout<<"After So... |
53a624c2227afc09e83f9404b7d1a366b233c0ef | 236b2ed6708d82ede6eb72f6320f74a402e068d9 | /Cycle_In_Directed_Graph.cpp | 5672558810286b6abe16ea75a07b66e1acff77be | [] | no_license | SehajVerma/FAANG-INTERVIEW-CODES | 5f1ecbf597c41f164a4e16648ff934a6c2da2541 | f304d875e9e07f6dc2c9080e6e10c9254c16e0c4 | refs/heads/master | 2023-06-15T04:51:15.160579 | 2021-07-10T11:00:44 | 2021-07-10T11:00:44 | 268,044,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | Cycle_In_Directed_Graph.cpp | #include <bits/stdc++.h>
using namespace std;
class graph
{
map<int,list<int>>adj;
public:
void addedge(int u,int v)
{
adj[u].push_back(v);
}
bool CycleInDirectedGraph(int n)
{
bool visited[n];
bool stack[n];
for(int i=0;i<n;i++)
visited[i]=stack[i]=false;
f... |
3fce7ebae226c3b6e312717590b6ea4816e54c25 | c1a3ef23a7fdd3ca37b06dba787833e758a2b1e1 | /src/tcp_echo/client.cpp | 840d758162dc0b79a7e6078982c7c764dcf60c59 | [] | no_license | supiccc/sockets_toys | 43920250c0ca3bb8319836d21fbda87b58b04ab2 | 36e66b1eaa631361384b4fb141d3ae069ed8ca08 | refs/heads/master | 2020-03-15T07:32:47.024580 | 2018-05-28T16:12:43 | 2018-05-28T16:12:43 | 132,030,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | client.cpp | //
// Created by 陈树沛 on 16/05/2018.
//
#include <iostream>
#include <cstdio>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <unistd.h>
#define SERV_PORT 9877
#define MAXLINE 4089
#define sockaddr struct sockaddr
void str_cli(FILE * fp, int sockfd) {
fd_set... |
ce945f2376fb63df91fe3fe38ec8064f70d6e473 | f10e5875631b30f750a51f71a870f17aea3da0a3 | /test/block_entry.cpp | 7f8ce65bfdc9af85829371f209a33eabdf8fbf4b | [] | no_license | yjsyyyjszf/blockchain | da33fa4c4b93c010bb8c4d16feac261b33b0cc73 | e85775572724c59bc0b01456ee83c52e7b741423 | refs/heads/master | 2021-04-16T01:30:54.344634 | 2020-02-10T20:28:33 | 2020-02-10T20:28:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | block_entry.cpp | // Copyright (c) 2016-2020 Knuth Project developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/test/unit_test.hpp>
#include <memory>
#include <kth/blockchain.hpp>
using namespace bc;
using namespace bc::b... |
fd4813814b88e7ffc9373a55ac7738c0d2b77c24 | bc0e6b77ee649ef611ade21bc1b24fc321653e4d | /PFCalEE/src/RunAction.cc | b7955182d3e2f460ca7017096153b8ddd6b30a9d | [] | no_license | pfs/PFCal | 08dcfb7db908a688c1a0f390965752537022df5f | 2922434ce888d40acdc832d13313c1e6a8835278 | refs/heads/master | 2023-03-13T17:39:57.706091 | 2023-03-01T12:47:14 | 2023-03-01T12:47:14 | 11,907,151 | 0 | 17 | null | 2021-03-15T16:42:25 | 2013-08-05T19:44:57 | C++ | UTF-8 | C++ | false | false | 5,108 | cc | RunAction.cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... |
453af105d98c2af8ed1924e74e904d40cb45540f | e3c131b9ccb59cfe6fe33636a8dc07d4b69d5acc | /Rpg.cpp | e260c0355a6b845e89d8f50f8c212047f9acf819 | [
"MIT"
] | permissive | BernardIgiri/archive-StormyWeatherRPGGame | 678a0ff6ad331cbbe34094e20c8f7048e8d44b88 | b393edebdea2619f596961707c995106709f1d15 | refs/heads/master | 2021-01-11T04:25:30.774617 | 2016-10-17T16:42:40 | 2016-10-17T16:42:40 | 71,162,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,675 | cpp | Rpg.cpp | // nothing yet but anyway
// H E A D E R S
#include <stdio.h>
#include <malloc.h>
#include <bios.h>
#include <graphics.h>
#include <dos.h>
#include <conio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <string.h>
#include <signal.h> // might not use
#include <palette.h> // may use
#include <dir.h>... |
0451d91ec7f747e615bea2413fa6f667caa2784d | d55efb53fa2b318b1edd9f7c0cc97d34c5c09d2c | /Lightoj/1033 - Generating Palindromes.cpp | b890e1047fbc1a0943a2056ba654403aef52290d | [] | no_license | obaydullahmhs/Programming-Contest | deea362d6140b817c905a2653b98ba05a41636e1 | e52975c6b1373606655a174e7fff4a4316327aad | refs/heads/master | 2022-09-14T17:20:22.698937 | 2022-09-03T18:02:06 | 2022-09-03T18:02:06 | 238,995,288 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | 1033 - Generating Palindromes.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
string a, b, p;
const int N = 105;
int lena, lenb, dp[N][N];
int LCS(){
for(int i = 1;i<=lena;i++){
for(int j=1;j<=lenb;j++){
if(a[i-1]==b[j-1]){
dp[i][j] = 1 + dp[i-1][j-1];
}else{
i... |
ba058afddf6ba9f82a7c14c25f5b7cb5c546b55a | 43bdbe73e82d4df86a4097bea4d24132ff9049eb | /Library/include/Library.hxx | c4e625c2b9d4f1b48937ae20c27278191669481b | [] | no_license | Maciej-Poleski/UED | 4f15993d7073399b890cc5cb4c886fa21197e55f | 4d2d6c7a5a9e7f11b96071ea851c5867a2fcc9b4 | refs/heads/master | 2023-06-29T11:43:08.738749 | 2010-09-01T12:28:59 | 2010-09-01T12:28:59 | 392,453,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | hxx | Library.hxx | /*
* Library.hxx
*
* Created on: 02-08-2010
* Author: evil
*/
#ifndef LIBRARY_HXX_
#define LIBRARY_HXX_
#include <QtCore/QObject>
#include <PluginInterface.hxx>
class Library : public QObject, public Core::PluginInterface
{
Q_OBJECT
Q_DISABLE_COPY(Library)
Q_INTERFACES(Core::PluginInterface)
public:
Li... |
2bd2cb50c5908d10ece4bef07d97b22fa9ba8238 | baf5c6a8e48e784fe1691ba9b486ad17bf0a4260 | /ProyectoEstructuraGrafosSorts/bubblesort.cpp | 10a0c1265973f30bc14d59aa62dccaae8b7c04b5 | [] | no_license | AndresRubi/ProyectoGrafosSortsEstructuras | 465fd91d63aa9a8db35d8eaef87bb0394b316f79 | d3de400c98e1eeb76cfd41329d02824f7c304522 | refs/heads/master | 2020-05-30T10:19:54.570596 | 2015-06-30T17:14:12 | 2015-06-30T17:14:12 | 37,829,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | bubblesort.cpp | #include "bubblesort.h"
BubbleSort::BubbleSort()
{
timer.start();
}
void BubbleSort::FunctionBubbleSort(int *arr, int tamano)
{
int i, j, flag = 1; // set flag to 1 to start first pass
int temp; // holding variable
int numLength =tamano;
for(i = 1; (i <= numLengt... |
a6b7034346f74304acfc782893ee063fca6fad0f | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_spirit_home_classic_tree_parse_tree.hpp | 9214c3ce45879e097924198f10cc52b76bdbcac5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57 | hpp | boost_spirit_home_classic_tree_parse_tree.hpp | #include <boost/spirit/home/classic/tree/parse_tree.hpp>
|
a00ba916f883346173e76ae700d213b7e98c7044 | ae897af5b9fbb1c1f199f7628e1368eb8061c728 | /Week2/Test1-실습.cpp | 4250acefbcbd8129ebb9288f9b53e128625e04d7 | [] | no_license | rlawnsdnjs/Work | 55f66dd75d5bb2f33f13f11032dfa85e26f26d8c | 590eb638a11a1b0764d5ef97eb234effb9147ded | refs/heads/main | 2023-03-19T14:14:49.863919 | 2021-03-12T08:23:05 | 2021-03-12T08:23:05 | 343,698,861 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 288 | cpp | Test1-실습.cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
/*
int main()
{
int a;
char str1[30];
fgets(str1, sizeof(str1), stdin);
printf("문자열 입니다 : %s\n", str1);
a = atoi(str1);
printf("당신이 입력한 수 : %d \n", a);
return 0;
}
*/
|
fe4a3abcc67beb6e26d93a0cc30a90daf1665c8c | b48d7930baf480840004bfc257d5474fe78ab594 | /Source/6sandbox/Header Files/shader.h | c311ed16aa81eb079d53bb8380ee60295ad82819 | [
"MIT"
] | permissive | ingmar12345/OPENGL_FOR_OUTLAWS | 3676c5e69cd5ff556ccdb4ce6ded843f21a172a8 | 186e6188f248de47bd327d3beaf66adeb47b71c1 | refs/heads/master | 2020-05-22T09:59:44.084348 | 2019-05-15T11:01:18 | 2019-05-15T11:01:18 | 186,300,864 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | shader.h | #pragma once
#include <sb7.h>
#include <fstream>
#include <string>
// shader klasse
class Shader
{
public:
Shader(const char * vertex, const char * fragment);
Shader(const char * vertex, const char * fragment, const char * geometry);
~Shader();
GLuint getProgram();
private:
// koppel functie voor shader prog... |
0734f7c04b50e257a2fc023eadf8196001b966e2 | 35ee82abafa3cd14ecc4d0d77f456e4048486761 | /test/test.h | 9d8c72f04ff6f3c4b45934fc7d9e8c1b4d6899a1 | [
"BSL-1.0",
"MIT"
] | permissive | csoma/CppDB | d66f59e84b836a00f9af83e9aab6265604e5a3dd | c58803caeba0afd2d8f4c5e2dc9dd3ea09016ce0 | refs/heads/master | 2021-07-20T22:44:59.317467 | 2020-07-07T15:23:42 | 2020-07-07T15:23:42 | 9,840,542 | 4 | 7 | NOASSERTION | 2020-07-07T15:24:41 | 2013-05-03T17:01:10 | C++ | UTF-8 | C++ | false | false | 1,781 | h | test.h | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2010-2011 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
//
... |
bc4a21d8d51021b0f94b4447a59e0a894b2282c8 | 3bcb1c3785c4c990d21bfb5b4617f654402cd8e8 | /pwMinGyun.cpp | 792d78aa9e0620b557a1d6ec864ed1412becfcbf | [] | no_license | yujjinn/algorithm_BJ | 35c03d4bbef319ef98173f2758b979c5392412a1 | 2419134734ccddc97bb591305f5ff155878ba57e | refs/heads/master | 2020-05-05T13:58:54.218274 | 2019-07-10T04:24:47 | 2019-07-10T04:24:47 | 180,102,271 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 668 | cpp | pwMinGyun.cpp | //9933
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
using namespace std;
int N;
vector<string>v;
int solution(){
string rev;
if (v.size() <=1) return 0 ; // 비교 대상이 없을 시에 탈락
for (int i = 0; i < v.size()-1; i++) {
rev = v[i];
reverse(rev.begin(), rev.end());
for (... |
fc70197218ff652650d91ca3d6bac9a0da352572 | 566a1118aa97826b6eaae1824e15addd8aac9285 | /ServerProxy.cpp | 94860a1eb61eb70e33431e7fe4631e2fc299698e | [] | no_license | aakrit/TradingSimulationGameCPlusPlus | 50d780069e83e7501170477198dc0dbc58e9b831 | fe739bde5193faa08e50e0bde4c465d2561940b0 | refs/heads/master | 2021-01-19T00:43:15.662338 | 2013-09-27T23:28:17 | 2013-09-27T23:28:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | cpp | ServerProxy.cpp | //
// ServerProxy.cpp
// OODesignFinalProject
//
// Created by Aakrit Prasad on 6/4/13.
// Copyright (c) 2013 Aakrit Prasad. All rights reserved.
//
#include "ServerProxy.h"
#include "Server.h"
#include "Broker.h"
#include "CallObject.h"
#include "Stock.h"
using namespace std;
//The server proxy takes a callobjec... |
501a5c5fe71d6a220ed3173a3acae3a628bade9f | 40d7d25ba612b7ba51de877b1a810a97154fc58e | /CPU__SUPERPIXEL/main.cpp | efc89b62276f311b9fb0767d60ee39c105dd35b9 | [] | no_license | uhrindam/Szakdoga_GUI | a49756537967e5b7459d8cd194ce578aa0487c26 | 4067bf65205ea48b78a9a3aadb6fe16c9bdc7d00 | refs/heads/master | 2021-04-29T17:53:02.415933 | 2018-05-08T22:49:05 | 2018-05-08T22:49:05 | 121,681,818 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 500 | cpp | main.cpp | #include "slicCPU.h"
int main(int ArgsC, char* Args[])
{
//Tesztelés céljából beállítok egy default képnevet
string readPath = "completed.jpg";
string writePath = "xmen.jpg";
//ha van kapott argumentum akkor azokat használom
if (ArgsC > 1)
{
readPath = Args[1];
writePath = Args[2];
}
Mat image = imread(r... |
32f5ad77c0a5b9679155f07a8b2092cd36ff209c | 21b7d8820a0fbf8350d2d195f711c35ce9865a21 | /Balls of Buma.cpp | 317dc23f74d735831e3ff079f4e80689aace427c | [] | no_license | HarshitCd/Codeforces-Solutions | 16e20619971c08e036bb19186473e3c77b9c4634 | d8966129b391875ecf93bc3c03fc7b0832a2a542 | refs/heads/master | 2022-12-25T22:00:17.077890 | 2020-10-12T16:18:20 | 2020-10-12T16:18:20 | 286,409,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | Balls of Buma.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin>>s;
vector<int> v;
int c=1;
}
|
bbfd40ead322b25ddb2305662eb3fb1621994600 | 08a7136b5166f30d4244f8a0ed00044b068ed5e7 | /Arduino/Pendulum_v6.0/Pendulum_v6.0.ino | 750878d6dd3445d9c8b061f8b5cee7a4926859a2 | [] | no_license | RemoteLabSydneyUni/PendulumRig | 8d2e0179c6eb217eec8172167e5fbd1888921162 | 604656a74d4062c5a518dbc1d57dc0047e70a5b3 | refs/heads/master | 2021-09-11T19:10:13.291305 | 2018-04-11T06:57:06 | 2018-04-11T06:57:06 | 112,995,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,562 | ino | Pendulum_v6.0.ino | // ************************************************************************************
// Pendulum Controller
// ----------------------------------------------------------------------------------
// Version : 6.0
// Date : 22 Mar 2017
// Created by : YR DENG
// Modify Date: 28 Mar 2018
// ... |
893c3b5a895df99e0edfcbcc26bdfb2a34fb2fe5 | 934abbdac400a5f24ed913208087af83f029d7e8 | /src/Buildings/AirDefense/AirDefense.cpp | 092be574e034b34a8e76569283ccd49648dc1462 | [] | no_license | michaelschuff/clash_of_carrots | 6ee6f77f38a3419201857c7ad0c0a14b05ed4498 | e154638d2941df245f6594e12938949223299cd7 | refs/heads/master | 2023-07-18T19:27:08.135130 | 2021-09-20T19:19:28 | 2021-09-20T19:19:28 | 404,450,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | AirDefense.cpp | //
// AirDefense.cpp
// clash_of_carrots
//
// Created by Michael Schuff on 9/12/21.
//
#include "Buildings/AirDefense/AirDefense.h"
coc::BUILDING::AirDefense::AirDefense(const glm::vec2& _position,
coc::BUILDING::AIR_DEFENSE::LEVEL _level) :
coc::BUILDING::Building(coc::BUILDING::AIR_DEFENSE_ID,
... |
0dd2aed9e7732aaa994bbc246d8d1e8a3de108bc | 8cd446de260de0ece5c45c2211ff492ed3d60998 | /src/OcrIdcardOrBlurDetect/OcrIdcardOrBlurDetect.h | 84829a30716543ee9900b4b1e5d1b221a50a7b64 | [] | no_license | zhangyongzhuo/paizong | a1ff5a477bcdf343893235de92ec4ac38d117fd7 | 109612f36389a5147267d4ee7ba21835af1a269c | refs/heads/master | 2020-03-13T10:41:56.462844 | 2018-04-26T03:09:34 | 2018-04-27T01:26:47 | 131,088,585 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | h | OcrIdcardOrBlurDetect.h | #ifndef OCRIDCARD_H
#define OCRIDCARD_H
#include "src/OcrIdcardOrBlurDetect/OcrInterface/OcrInterface.h"
#include "src/OcrIdcardOrBlurDetect/BlurDetect/BlurDetect.h"
#include <QThread>
#include <QDebug>
#include <QFile>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
#include <QMetaType>
//识别的身份... |
c4484209b690215fbde802e7942f337373f03faf | e12ad22fb8bc02bf69ff309d778ab8d884a2cf50 | /type.hpp | 4e7bdaafa1a850e8338729571ffcdf0c01c0f885 | [] | no_license | Shuwe1Yang/Implementing-Neural-Network-in-C- | d96a4762b03c50f51d26e57214c9c27411ddf2b6 | e38cf8028de50569ce5a9ca824522008e3f5bd17 | refs/heads/master | 2021-01-24T19:37:41.911382 | 2018-02-28T07:41:53 | 2018-02-28T07:41:53 | 123,242,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | hpp | type.hpp | #ifndef type_hpp
#define type_hpp
using namespace std;
struct Connection{
double weight;
double deltaweight;
};
class Neuron;
typedef vector<Neuron> Layer;
#endif
|
c53a495adde02e47e2e21d901eb3179f98205a95 | b71e3a0f774f6b2be483d52f870519aaad73c407 | /code/apu.cpp | 5c24893bd356b68e9bd8ddb4908aa1ce863d7119 | [] | no_license | domlawlor/tuNES | b3dc714ca677b317406aee3d6618110fc4bd22b7 | c3a65e1072d369add2778231b56453d96b801d1c | refs/heads/main | 2023-01-05T23:32:33.801159 | 2023-01-01T06:21:34 | 2023-01-01T06:21:34 | 69,621,229 | 0 | 0 | null | 2022-12-09T13:30:19 | 2016-09-30T01:10:54 | Assembly | UTF-8 | C++ | false | false | 18,171 | cpp | apu.cpp | #include "nes.h"
#include "apu.h"
constexpr u32 AudioSampleRate = 44100;
constexpr u8 AudioSampleSize = 16;
constexpr u8 AudioChannelCount = 1;
constexpr u32 SamplesNeededPerAudioFrame = 480;
// Audio input processing callback
void AudioInputCallback(void *bufferToFill, u32 samplesNeeded)
{
Nes::GetApu()->FillAudio... |
b04c45643153faf9e646f0e080083809a81523b7 | 0a4105d58acb935f1f59fb12246d63adb6269f19 | /mesh/modelCommon.h | 08d3f011084d76c810a15eb2e9e356b6df194dd9 | [] | no_license | Carboxide68/glGame | 15811f6ca6c2d4b33f6909ebaf81b205b90fd4d4 | 7ffc493c2ae0e919801739a6f10aafc997e93916 | refs/heads/master | 2022-11-15T17:53:30.175848 | 2020-07-10T07:54:33 | 2020-07-10T07:54:33 | 231,087,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | h | modelCommon.h | #pragma once
#include "../common/common.h"
struct Triangle {
glm::vec3 pos1;
glm::vec2 TexCoord1;
glm::vec3 normal1;
glm::vec3 pos2;
glm::vec2 TexCoord2;
glm::vec3 normal2;
glm::vec3 pos3;
glm::vec2 TexCoord3;
glm::vec3 normal3;
};
const size_t TRIANGLE_SIZE = sizeof(Triangle);
u... |
27eff697832891dd81731c2c82a6d0e3f29164eb | 71b65de9c2c2b7429a58c68bea40362389f1f77b | /CSE167Project2/Geode.hpp | 8327a485b13bf32516475beea4f8acc89c71948c | [] | no_license | ruw042/ServerSideWebApplication | c2ea18e45ad9552197fc6fe17c58d5294884e1da | d463b555078e916847d647aed12dc4ae226d77d6 | refs/heads/master | 2021-01-09T20:42:41.463089 | 2016-06-07T15:43:01 | 2016-06-07T15:43:01 | 65,788,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | hpp | Geode.hpp | //
// Geode.hpp
// CSE167Project2
//
// Created by Runping Wang on 5/4/16.
// Copyright © 2016 Runping Wang. All rights reserved.
//
#ifndef Geode_hpp
#define Geode_hpp
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "Node.hpp"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#inc... |
3d226186793700f725de5e7da4188cd9eaacd5ce | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Common/Operators.cpp | 414887a96630b04f73c32cd8898e0a3bf680faa5 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 5,847 | cpp | Operators.cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
a845f35e7c6f63d2db05481447eda4438f5290f6 | be3a6e97e11dd84f254303fe95d48387552af42b | /686. Repeated String Match.cpp | 4d8769f9adb03bb59cb58da1a6d31b7271bd19b0 | [] | no_license | GH2005/myLeetcodeSolutions | fc2b57b2d18505a20d38bf4aca7158008b648263 | c68780f2064f7eb6ffdc20ee9d6f1bf60bb05e8a | refs/heads/master | 2021-01-24T10:54:28.940801 | 2020-06-08T03:18:50 | 2020-06-08T03:18:50 | 70,296,774 | 3 | 0 | null | 2016-10-09T00:03:51 | 2016-10-08T02:14:44 | C++ | UTF-8 | C++ | false | false | 543 | cpp | 686. Repeated String Match.cpp | class Solution {
public:
int repeatedStringMatch(string A, string B) {
int lenA = A.size(), lenB = B.size();
for (int start = 0; start < lenA; start++)
{
int cRepeating = start == 0 ? 0 : 1;
for (int posA = start, posB = 0; posB < lenB; posA++, posA %= lenA, posB++)
... |
c4d7ab81c2f11f27cbfe2740dd83a8cf3c394faf | ea19358310c3b4c363f3da608c4f29604aad7ae5 | /libraries/SoftwareRS485/SoftwareRS485.cpp | 0f28115c574aacb62e83b1125610c417b33b0e5a | [] | no_license | warnj/Arduino-Files | 783fd836060628822c4898fe50eb22f8dd3cbd1d | 3d35fe574694b2aafa64e92a5b582801e3eef5bc | refs/heads/master | 2023-04-05T10:30:00.934189 | 2023-03-31T17:00:46 | 2023-03-31T17:00:46 | 49,338,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | cpp | SoftwareRS485.cpp | /**********************
* SoftwareRS485.cpp
*
* Triumph Actuation Systems - Yakima, LLC
* Copyright (C) 2016
*
* Written by: Nathan Durnan
* Date: 2016-APR-19
*
* Purpose:
* RS485 communication library using SoftwareSerial and CSerialPacketManager.
* This includes data packet error checking as well as managing
* the h... |
cd7e313e4d27fe6005d1f119f76d4d63347e0241 | 3828c82f5a8595d3dd9a10195457b04be2acf0cb | /dao/mongo_dao.cpp | 2539e0a178f00a08ecf070050f048c6389677a71 | [] | no_license | bubdm/db-memory-model | 014999bee3b3afc39357bb1298ca2f1cb86af724 | 91dd073995f966c423186634e02c452434e30dc6 | refs/heads/master | 2022-04-18T01:59:57.977555 | 2016-02-24T05:36:10 | 2016-02-24T05:36:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,514 | cpp | mongo_dao.cpp | #if 0
#include <vector>
#include <string>
#include <map>
#include <bsl/deque.h>
#include <fstream>
#include <iostream>
#include "mongo_dao.h"
#include "batchnormal.h"
#include "dao_data_path.h"
namespace lbs
{
namespace dao
{
int MongoDao::write_mongo_to_file(std::string mongo_host, int ... |
fc5719a0b901dfe1f2b99e49452ef619d5b00130 | 45b73ed376b2d6e84cdaeeec8145e3808ea2954a | /visualize/sort/SortingBaseClass.cpp | 8644d90d46b5c4b3806333d77920de22a65c76ba | [] | no_license | sssaq03/sortAlgorithm | 074422f9dd06ad544b4240af44e81fad9ae04534 | d6f505be8f6068dde2a4fd787ea93bdea4bb1510 | refs/heads/master | 2021-02-08T03:59:08.477180 | 2020-04-12T07:22:24 | 2020-04-12T07:22:24 | 255,029,344 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,680 | cpp | SortingBaseClass.cpp | #include "stdafx.h"
#include "SortingBaseClass.h"
SortingBaseClass::SortingBaseClass() {}
SortingBaseClass::~SortingBaseClass() {
if(m_node != nullptr) {
delete[] m_node;
m_node = nullptr;
}
DeleteDC(m_hdc);
ReleaseDC(m_hWnd, m_hdc);
}
void SortingBaseClass::Render(int node) {
i... |
38625ee74c3bd15956dd25af19c8d19065811fa6 | e47a5b8b36761f288c5c7738bb5a1e820985230c | /Jay Parikh/array/totaleven-oddno.cpp | e2dac533a18c776c4d3c4e905d403fbc03dfd992 | [] | no_license | codedazzlers/DSA-Bootcamps | 3a03e64c2514a3c4183b1c57b301a0827e96301a | f5a47dca998449e075f37b8bb4d075f6660bb083 | refs/heads/main | 2023-08-28T09:52:09.732810 | 2021-11-06T11:52:47 | 2021-11-06T11:52:47 | 408,450,942 | 13 | 66 | null | 2021-11-06T11:52:48 | 2021-09-20T13:18:44 | C++ | UTF-8 | C++ | false | false | 596 | cpp | totaleven-oddno.cpp | /*Q3.Write a C program to count total number
of even and odd elements in an array.Q6*/
#include<iostream>
using namespace std;
int main(){
int n,a[n],counteven,countodd;
counteven=0;
countodd=0;
cout<<"Enter the size of array\n";
cin>>n;
cout<<"Enter the number\n";
for(int i=0;i<n;i++){
... |
323c8e19226397d8df9c1e2ee8033080a3554658 | c658d24413de7921626136a7fea7624f116e0c5a | /class/About.cpp | 913e757d15be9e2512a2bc68414ff9e0fdd2e30a | [] | no_license | MeixDev/SharkSurfer | 2435fe6d431d23549f8f1f6424e4f92e032714c0 | 34a5f223ee63fc75774af82e6aaceab3082b38c8 | refs/heads/master | 2021-01-11T18:41:29.985810 | 2017-01-22T14:23:37 | 2017-01-22T14:23:37 | 79,600,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | cpp | About.cpp | //
// CPP File - About
//
// The page talking of the team !
//
// More infos may come here..
//
//
#include "About.hpp"
#include "TitleScreen.hpp"
About::About(void)
{
if (!_font.loadFromFile("rsrcs/dpcomic.ttf"))
{
std::cerr << "Something shady happened.. Where did my file go ?!" << std::endl;
exit... |
10355e17046b5e5287efa325c5e5503fb60b0019 | 41f4079b9584f91b431ffaabbefe172b121f6b4f | /include/JumpSystem.h | 80a71d8b35b6ae910e0dc46cbebb4508e501560f | [
"MIT"
] | permissive | recursivefaults/mustached-wight | f3dc9de242b7a8dbb8a11122f7164564c0c3f208 | 4d2e397aeb393e9776d27e03b7786b96663bdd90 | refs/heads/master | 2021-01-17T15:17:37.887865 | 2014-09-04T00:34:17 | 2014-09-04T00:34:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | JumpSystem.h | #ifndef JUMPSYSTEM_H
#define JUMPSYSTEM_H
#include "System.h"
class JumpSystem : public System
{
public:
JumpSystem(int priority) : System(priority) {};
void update(int elapsedTimeMS, World &world);
};
#endif
|
0820fad568eb3afbf47cdbde68d6b8ddedc0e05b | c6fa53212eb03017f9e72fad36dbf705b27cc797 | /DQMOffline/JetMET/interface/PFMETAnalyzer.h | 79d3fcf9c8aea5266fe6191d88db479b6cf7d9c9 | [] | no_license | gem-sw/cmssw | a31fc4ef2233b2157e1e7cbe9a0d9e6c2795b608 | 5893ef29c12b2718b3c1385e821170f91afb5446 | refs/heads/CMSSW_6_2_X_SLHC | 2022-04-29T04:43:51.786496 | 2015-12-16T16:09:31 | 2015-12-16T16:09:31 | 12,892,177 | 2 | 4 | null | 2018-11-22T13:40:31 | 2013-09-17T10:10:26 | C++ | UTF-8 | C++ | false | false | 7,297 | h | PFMETAnalyzer.h | #ifndef PFMETAnalyzer_H
#define PFMETAnalyzer_H
/** \class PFMETAnalyzer
*
* DQM monitoring source for PFMET
*
* $Date: 2012/05/20 17:57:01 $
* $Revision: 1.30 $
* \author K. Hatakeyama - Rockefeller University
* A.Apresyan - Caltech
*/
#include <memory>
#include <fstream>
#include "TMath.h"
#... |
d9e972e24eebbd0d3348d5cb75141bfe1d852687 | 38bd1cf9e52ea23b43223d53d8139aad52bb1c70 | /cpp/iedriver/CommandHandlers/ScreenshotElementCommandHandler.cpp | b915e59cb0416b09a0374e5ce30098a085bdd052 | [
"Apache-2.0"
] | permissive | SeleniumHQ/selenium | 46d9553e3a45412a7540dd3f7d1f34be6ef42b1b | cc41a883b5138962c6b4408a0fdf4e932bd08071 | refs/heads/trunk | 2023-09-03T22:56:56.403484 | 2023-09-02T19:20:45 | 2023-09-02T19:20:45 | 7,613,257 | 30,383 | 9,671 | Apache-2.0 | 2023-09-14T18:47:42 | 2013-01-14T21:40:56 | Java | UTF-8 | C++ | false | false | 3,633 | cpp | ScreenshotElementCommandHandler.cpp | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the "License");
// you ma... |
46ebd01c638fdc5ea7c1421fdae0362978a5dfd8 | 68ff0ff7fadd59c89a01de313db7c41aa91fd32f | /GameBoyAdvance/ShotManager.h | 2f1470c031318a5502e023d8ec59b1327c6a9909 | [
"MIT"
] | permissive | subatomicglue/ankh | cfce334d1c8c15ec06b43ad59bb72ae694b3b3cc | 12ad73af4168dbb87a05773b73fba029f1d105b7 | refs/heads/main | 2023-01-25T01:27:45.845601 | 2020-12-02T16:06:48 | 2020-12-02T16:06:48 | 300,471,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,136 | h | ShotManager.h |
#ifndef SHOTMANAGER
#define SHOTMANAGER
#include "FixedSizeArray.h"
#include "AnkhActor.h"
#include "data.h"
#include "commongame.h"
class ShotManager
{
public:
enum { NUM_BULLETS = 12 };
ShotManager() { reset(); }
void reset()
{
for (s32 x = 0; x < NUM_BULLETS; ++x)
{
... |
550d483dae0fad8465e170102e16321bc4b9d789 | a2074192df4d682549527e580da6aeb53f27c9fa | /source/Point.cpp | b48591b7fd48c989e37cf4f2f3861de15e7c77a0 | [] | no_license | Adonis320/GL-TP-Capteurs | 696200283d171782872cf4d0de2f63696f541695 | 396c9cc89ddf25faae1ee6876ba45520e28cf477 | refs/heads/master | 2022-01-07T15:22:59.314717 | 2019-06-03T00:11:42 | 2019-06-03T00:11:42 | 185,332,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cpp | Point.cpp | /*************************************************************************
Xxx - description
-------------------
début : $DATE$
copyright : (C) $YEAR$ par $AUTHOR$
e-mail : $EMAIL$
*****************************... |
e0deca650b0c5a9ea127caffbd5824bd1df22064 | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /HLT/CALO/AliHLTPHOSGeometry.cxx | 3ddbec6cc0ed73edb28fbebeccfadcdadc397d41 | [
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 3,839 | cxx | AliHLTPHOSGeometry.cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
* ... |
d569708df58b41d4cf053e0a947f6038f4c07d3e | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_siqi_stalker_v3d/lib/ITK_include/itkBinaryReconstructionByDilationImageFilter.hxx | c3c52b7cf157af5a6557c8d33fb3f8e364977a53 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 5,955 | hxx | itkBinaryReconstructionByDilationImageFilter.hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
897f71dc04c8c245c7c46517b2211e2318fc1849 | f0cd16686484d13621ebb395d3db9064523d866d | /implementations/Direct3D12/shader_signature.cpp | fd62960db743429610a98c42154dbe60ba42dcf0 | [
"MIT"
] | permissive | ronsaldo/abstract-gpu | 3ba684cad9dc59724526268a592c33711f0b411d | d19251bc1df48408ec016fde74f0e0ac544f2f35 | refs/heads/master | 2023-03-15T01:37:39.943182 | 2022-08-30T00:17:29 | 2022-08-30T00:17:29 | 530,415,789 | 0 | 1 | MIT | 2022-08-29T22:34:33 | 2022-08-29T22:34:32 | null | UTF-8 | C++ | false | false | 7,112 | cpp | shader_signature.cpp | #include "shader_signature.hpp"
#include "shader_resource_binding.hpp"
#include <assert.h>
#include <algorithm>
namespace AgpuD3D12
{
DescriptorTableMemoryAllocator::DescriptorTableMemoryAllocator()
: descriptorCount(0), nextFreeItem(-1)
{
}
DescriptorTableMemoryAllocator::~DescriptorTableMemoryAllocator()
{
}
voi... |
5b27d3c1f1e3f02513d4c3bf032a01e7bde56f8d | 78bd9648f355eeb3493c5325debc3715bac723b9 | /src/test.h | c31fab076a23c9d3b2f006dbeab6a5d1350c6b3b | [] | no_license | SethKasmann/clever-girl | ba3864ba28ae1d080b142c8ef0c9e81525ea16a0 | cc97ef887f8638347e7318ce5bb9c7ce64571de3 | refs/heads/master | 2021-01-21T18:06:17.042525 | 2018-01-25T17:18:58 | 2018-01-25T17:18:58 | 92,012,703 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | test.h | #ifndef TEST_H
#define TEST_H
#include <string>
#include "state.h"
#include "search.h"
#include "time.h"
#include "types.h"
#include "move.h"
void ccrTest();
#endif |
0f6ba453ade1cac96d3fa440de20a33870fbf43c | 10038fe80f0c5a219a232488d3db12e296f97b6a | /Cse225Lab05_Assignment02/timeStamp.cpp | fdb353879ac7ddab691ef61e14792718b600a3ee | [] | no_license | Tasnimmumu/C-Work | 19dc4c6cb80013c90e7da888cd53a26c43893060 | 4a776a63388a6ac151b1534e55ce1396c65ff167 | refs/heads/main | 2023-05-13T18:46:40.397005 | 2021-06-01T13:45:01 | 2021-06-01T13:45:01 | 372,845,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | timeStamp.cpp | #include "timeStamp.h"
#include<iostream>
using namespace std;
Time::Time()
{
hour = 0;
minute = 0;
second = 0;
}
Time::Time(int hour, int minute, int second)
{
this->hour = hour;
this->minute = minute;
this->second = second;
}
void Time::setHour(int hour)
{
this->hour = hour;
}
void Tim... |
84fba88d044d75b77236cd126a080df7b5c3e44b | 868e8628acaa0bf276134f9cc3ced379679eab10 | /firstCrude2D/we123/h10/0.301/phiAlpha | ea86982f79edbeeca47a6d15620eb00b20cba37f | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 1,492,895 | phiAlpha | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
32ff998b78158c752b472038f1107c36a0783892 | aca88d17175ee52d95cfd89ac65f2915c479aad1 | /ProfilingApiSample02/Urasandesu/NAnonym/MetaData/BaseTypeMetaData.h | b0924838692cd16742dfeee75588871a78f145d3 | [] | no_license | urasandesu/CppTroll | 2075caae5c98da9144417dac2d845f852b1d1d69 | 050b84c810b7b3649ccf304e3c1c99dd9ec731d2 | refs/heads/master | 2021-01-22T11:37:25.537094 | 2012-02-26T03:16:01 | 2012-02-26T03:16:01 | 1,664,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,331 | h | BaseTypeMetaData.h | #pragma once
#ifndef URASANDESU_NANONYM_METADATA_BASETYPEMETADATA_H
#define URASANDESU_NANONYM_METADATA_BASETYPEMETADATA_H
#ifndef URASANDESU_NANONYM_TRAITS_REPLACE_H
#include <Urasandesu/NAnonym/Traits/Replace.h>
#endif
namespace Urasandesu { namespace NAnonym { namespace MetaData {
#ifdef UNT
#error Th... |
9f538ae08b9087c0f0603daea4d4d5d31de3ec9e | 3925620ce88807d5fefcc5053a05979e366e5899 | /skeletonjoint_b.cpp | ce707933bbfcda171536f814b5509068a38da5aa | [] | no_license | mirandablue/nite2-python-bindings | 2c4ab0e60c74866c84fb5fbbfe39149c15b55653 | 8a64b8a8052d99461c34b4f94ce3cc0820c189d5 | refs/heads/master | 2023-03-08T04:04:51.423205 | 2014-07-02T11:48:47 | 2014-07-02T11:48:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | skeletonjoint_b.cpp | // Alexandre Coninx
// Imperial College London, 21/05/2014
#include "skeletonjoint_b.hpp"
SkeletonJoint_b::SkeletonJoint_b()
{
joint = new nite::SkeletonJoint;
}
SkeletonJoint_b::SkeletonJoint_b(const nite::SkeletonJoint & sj)
{
joint = new nite::SkeletonJoint(sj); //Inefficient but better than trying to second ... |
197d30c5d1d8dd874bd0cc3115116590b135dfbc | 70abdf4e8e2e18318b1c451f1ecb8808c3af1153 | /KGCA_Game/KG_GameProjects/KG37_Game/CBY_BossAttack.h | b38580cce6bdbfb22b487efff2c73209d093a572 | [] | no_license | Byeng-Yong-Choi/Byeng_Yong-Game | 0815e0944cd8c7d8d0093fc1d58662f5bd75845f | 0ac592e66f6d895b277ceb2c829338b13b94f14f | refs/heads/master | 2023-03-11T07:12:34.809028 | 2021-02-22T19:10:29 | 2021-02-22T19:10:29 | 276,743,710 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 417 | h | CBY_BossAttack.h | #pragma once
#include "CBY_BossAi.h"
namespace CBY
{
class CBY_BossAttack : public CBY_BossProcess
{
public:
void Process()override;
float m_fAttackTime;
bool m_bHit; //캐릭터 공격 성공 유무
bool m_bAttck; //보스가 공격 모션 중인지
DWORD m_dwState;
public:
CBY_BossAttack(CBY_BossAi* host);
virtual ~CBY_BossAttack();
... |
aa5db734924cc7758aab29089170e7a9c63dd280 | 440fe90fa0beea25c5185dadbdfee2b2e5b4a8b7 | /include/Player.h | 421f6ea2583d671c905471bf4765fbba4d8fb1ed | [
"MIT"
] | permissive | filipecaixeta/NeonEdgeGame | a5721f61a309172287b3c811143fec8b54177326 | 7dbc825507d731d60a96b4a82975a70e6aa68d7e | refs/heads/master | 2021-01-20T04:49:45.971343 | 2018-01-06T19:54:08 | 2018-01-06T19:54:08 | 89,737,067 | 6 | 5 | MIT | 2018-01-06T19:54:09 | 2017-04-28T19:10:49 | C++ | UTF-8 | C++ | false | false | 1,264 | h | Player.h | // Copyright (c) 2017 Neon Edge Game.
#ifndef INCLUDE_PLAYER_H_
#define INCLUDE_PLAYER_H_
#define MAX_HITPOINTS 10
#include "Character.h"
#include "Timer.h"
#include "TileMap.h"
#include "InputComponent.h"
#include "ItemsManager.h"
#include "SoundComponent.h"
class InputComponent;
class ItemsManager;
class Player ... |
43882ca2cae18db6ae2e4984d87143e8dc06e0a3 | 6f47ab6f3ee7e9b517a6c19319ddb97e3e407eff | /Project2/src/test_votingapp_displayInvalidBallotFileName.cc | a24a012900ff715a0d48ee39697e663b830d8cc8 | [] | no_license | yf-z/CSCI-5801 | d30aa5f3f61b4b991fdaf3f91919d1a64836a2aa | 67fcfde6f1791c9f0f2b141a7bcf0bc347c661f5 | refs/heads/master | 2022-09-15T20:29:09.574091 | 2020-05-28T16:35:58 | 2020-05-28T16:35:58 | 267,641,046 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,796 | cc | test_votingapp_displayInvalidBallotFileName.cc | /* test_votingapp_displayInvalidBallotFileName.cc
* Unit test for displayInvalidBallotFileName in the VotingApp class
* Author: Yiwen Xu (xu000515) **/
#include "election.h"
#include "plurality_election.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <regex>
// uncomment to disable assert()
// #d... |
87fe8e0d26942acd69847b6b2bf4c24b96a79517 | d84c107e6da7e03b41382409987ae5d46b59bca2 | /source/game/effects/Flares.h | da3c06ca54e45d5257e75ba2c046576ca8e18d5c | [
"MIT"
] | permissive | JasonHutton/QWTA | b3854cd4873a46a8a9089ee3481a47074b62236b | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | refs/heads/main | 2023-04-13T02:15:14.639793 | 2021-05-01T21:29:18 | 2021-05-01T21:29:18 | 363,500,974 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | h | Flares.h | // Copyright (C) 2007 Id Software, Inc.
//
#ifndef __FLARES_H__
#define __FLARES_H__
#include "HardcodedParticleSystem.h"
struct sdFlareParameters {
float depth;
float end_height;
float end_width;
float height;
float width;
int slices;
int surfid;
};
class sdHardcodedParticleFlare : pub... |
ae534ee046a90604a18a57932cb50bd7f54ecbcf | 8e2be90db2b74b4856dd1a964be0ce35eeee4f49 | /LCDandLCM/LCDandLCM_Mega/LCDandLCM_Mega.ino | 7027c22b08597af3a1b9c8abc2992754ac568bea | [] | no_license | Phonepaserth/Arduino-LCD-and-LCM | 9bc8c3dd08cc92a89f2c17511f3b98b6a97fc0b1 | 8b86b0eca57e5ccc814d832868f46c797b11183e | refs/heads/main | 2023-05-12T10:44:49.885160 | 2021-06-10T07:40:56 | 2021-06-10T07:40:56 | 375,612,641 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | ino | LCDandLCM_Mega.ino | #include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address 0x27, 16 column and 2 rows
byte customChar0[8] = {
0b00000,
0b01010,
0b11111,
0b11111,
0b01110,
0b00100,
0b00000,
0b00000
};
void setup()
{
lcd.init(); // initialize the lcd
lcd.backlight();
l... |
4f2549c6b87eafa8e9dfb497760fc400b5a04ff3 | 4f235b20054e81456e386d8a9eec5c689c9b36f3 | /Core/src/core/utils/Utilities.cpp | 5698ca199b8acb860b003663439c326ab6d6bce8 | [] | no_license | Fly-d-e-v/Roguelike | ff02871756e59507f6dfcac826eeb938ac1f2297 | fc840c8052f1670c41a239adbe466f5289a38504 | refs/heads/master | 2022-03-31T21:50:36.880826 | 2019-12-04T19:28:51 | 2019-12-04T19:28:51 | 218,368,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | Utilities.cpp | #include "Utilities.h"
long long Utilities::ComputeStringHash(std::string const& s) {
const int p = 31;
const int m = static_cast<int>(1e9 + 9);
long long hash_value = 0;
long long p_pow = 1;
for (char c : s) {
hash_value = (hash_value + (c - 'a' + 1) * p_pow) % m;
p_pow = (p_pow * ... |
486f8917395de508dec1c1e2c81f5d56f63a3e65 | 197a518cadd466ff9f1de75262398288d5123f2e | /DigDug/PumpCommand.h | 5ff01e63dbc299c26cc5ce9110d934c022b9132b | [
"MIT"
] | permissive | keangdavidTouch/Minigin | 5ddf797f67923f3e4464a9030cc7da90eb7e6a09 | e276e7cc7c840ca41b005c0cf844cd8d5580200a | refs/heads/master | 2022-11-12T15:57:14.825769 | 2020-07-15T21:59:17 | 2020-07-15T21:59:17 | 279,352,485 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | PumpCommand.h | #include "BaseCommand.h"
#include "GameObject.h"
#include "TaizoBehaviour.h"
namespace kd
{
class PumpCommand final : public BaseCommand
{
public:
PumpCommand(GameObject* player) : m_Player(player)
{
m_Behaviour = player->GetComponent<TaizoBehaviour>();
}
void Execute() override {
m_Behaviour->SetPu... |
7fde4e95adba8085cbc91f03956c28b85dba88bb | e8a3c0b3722cacdb99e15693bff0a4333b7ccf16 | /Other Contests/NCPC Preli/A.cpp | e21cbbe92c6d7e563f1d346b3f63a6b66a222f3d | [] | no_license | piyush1146115/Competitive-Programming | 690f57acd374892791b16a08e14a686a225f73fa | 66c975e0433f30539d826a4c2aa92970570b87bf | refs/heads/master | 2023-08-18T03:04:24.680817 | 2023-08-12T19:15:51 | 2023-08-12T19:15:51 | 211,923,913 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
printf("%d\n", (365*366)/2);
}
|
50bc00dd436196e3aba3a4b80e0966d1d774e54d | 739f25247af34c60d65759c8b6857377f07356e7 | /src/command_min.h | f929d3516e75931abaef49a80af90d8ce717bf93 | [] | no_license | sinamoeini/MAPP | 690c55317dca5e23fc48dc5322501cd9f8c29ff6 | 263efdc19647e2cd6b780140b3af871379693f58 | refs/heads/master | 2021-01-17T01:14:02.879243 | 2017-02-09T16:33:08 | 2017-02-09T16:33:08 | 29,437,885 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | command_min.h | #ifdef Command_Style
CommandStyle(Command_min,min)
#else
#ifndef __MAPP__command_min__
#define __MAPP__command_min__
namespace MAPP_NS
{
class Command_min
{
private:
protected:
public:
Command_min(int,char**);
~Command_min();
};
}
#endif
#endif
|
2271542aa3c6662c13ae58403cd15cd76fca5ed9 | e311fc4014d745c9b4944f3144d8720dbcca64bb | /nodejs/NJSWinlose.cpp | 95cdb3f6e9b2779935c405f7e4ee408be26c8d8d | [] | no_license | KhalilBellakrid/winlose | 93e6707ba8eb07d0e2b4323fa95b73cf98289847 | ba8f9b61bfe2a55ca988eee45a604d0c1af84b79 | refs/heads/master | 2021-07-21T06:36:44.774427 | 2018-10-16T12:42:38 | 2018-10-16T12:42:38 | 136,219,390 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | NJSWinlose.cpp | #include "NJSWinlose.h"
#include <iostream>
using namespace std;
using namespace v8;
using namespace node;
NAN_METHOD(NJSWinlose::getVersion) {
cout<<" >>>> Start getVersion"<<endl;
std::string version = Winlose::getVersion();
cout<<" >>>> Got version: "<<version<<endl;
auto njsVersion ... |
2880f6c31609117926ceffbf84e630fbf6d6e279 | f7bc0db3d5cd5ae828ca64c360d699d9da9973af | /juego/codigo/main.cpp | cb4f92d3edd041393504c173c613e88395a5a5c9 | [] | no_license | GironCuetoElahi/disor | 5b8d67be9844bac24978afb9b732e06fb663cd92 | 5fa0a16a106ddef918063a4528b39605ca21d513 | refs/heads/master | 2020-04-11T13:57:19.225460 | 2018-12-16T04:44:48 | 2018-12-16T04:44:48 | 161,836,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | main.cpp | //
// main.cpp
// Juegodelavida
//
// Created by ITO on 12/14/18.
// Copyright © 2018 Elahi Giron Cueto. All rights reserved.
//
#include <iostream>
#include <SDL2/SDL.h>
#include "Graficos.h"
using namespace std;
const int ANIMATION_RATE = 220; /* ACTUALIZAR animacion cada 220 millisegundos */
int mai... |
6d56a2beeef6302b7dbd5f800f3361fa0ca643d1 | 2fde2865cbbcbdd87947ceb1d8e9e05e2a387d37 | /FileIO/Main.cpp | 9aa8dcb44111d20a3b778394a426a456e989e36a | [] | no_license | CaileyBianchini/C-Project | 302bf923a5ad9681f17179b1ddf6190be36a57a8 | 4f843ff0955ff8f12f313d9bfae92f9b6f0c1b7f | refs/heads/master | 2023-02-11T02:33:55.228064 | 2021-01-06T20:35:26 | 2021-01-06T20:35:26 | 319,418,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | Main.cpp | #include <iostream>
#include <fstream>
#include "Character.h";
int main()
{
Character player = Character();
player.health = 100;
player.damage = 10;
//example text files
std::fstream file;
file.open("save.txt", std::ios::out);
if (!file.is_open())
{
return 1;
}
//this writes the stats onto the save fi... |
58354ab8e2ce623ca09486ecf5d51f5ce7019f1c | 742953986f0c1924b61fb895c04bd86db84495df | /OJ/leet198/leet198.cpp | 374acce10a02f4f0370984c29a9c01a6123dfd47 | [] | no_license | slayerwalt/LeetCode | 7f95cb4a6b6fd8ab3626568bcc62b5c53c1040cd | d284648c44e5bcefb9cfc1768bef8917d6c5d02a | refs/heads/master | 2023-04-22T04:39:56.745522 | 2021-05-16T07:36:12 | 2021-05-16T07:36:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | leet198.cpp | /*
leet198
*/
#include <iostream>
#include <vector>
#include <queue>
#include <stack>
#include <string>
#include <unordered_set>
#include <unordered_map>
#include <algorithm>
#include <tuple>
#include <cassert>
#include <utility>
using namespace std;
class Solution {
public:
int rob(const... |
68abc5d02deae08136f7df58dbc4fa968099deb8 | 6b8478b87b80982f9532c4a615833037e1fc05e4 | /Lecture32/Lecture32/ex32_3.cpp | 92d8d6c73c54730af26335b8ed460860e90f1d48 | [] | no_license | hj921/LectureC | 5779aca4e1f56a2c0bbe48ea201d3f7725091ffe | 68c5e29c284acf08729e6efed6bcd55149b14583 | refs/heads/master | 2020-04-01T17:56:34.542130 | 2018-11-15T14:52:43 | 2018-11-15T14:52:43 | 153,460,910 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 590 | cpp | ex32_3.cpp | #include <stdio.h>
int itemCnt = 0;
int money = 100;
int result; // 구매 성공시 : 0, 실패 : -1
void buyItem(int cost, int cnt) {
if (money >= cost) {
itemCnt += cnt;
money -= cost;
printf("아이템을 구매했습니다.\n");
printf(" 아이템 개수: %d\n", itemCnt);
printf(" 잔액: %d\n", money);
result = 0;
return;
}... |
b3fc75311cfee3e5d5a6e836e8983f3e94e91ee6 | c8d7d9d0ef357ab611731ccd6e90b69463a76d38 | /CPP11/chapter-01/1-21.cpp | c2c5997f51eca44401a3f832bd37a15a2c65e387 | [] | no_license | Milittle/CPP11 | 202f9fd25ec409dd56a2b9bd25baa2afa6a256f4 | 5e2e3225d70520dce4332e3438011979fd25e865 | refs/heads/master | 2020-03-25T11:44:19.111179 | 2018-12-19T03:17:45 | 2018-12-19T03:17:45 | 143,746,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | 1-21.cpp | #include"Test01.h"
#include"Sales_item.h"
void Test01::test_1_21()
{
Sales_item item1, item2;
std::cin >> item1;
std::cin >> item2;
std::cout << item1 + item2 << std::endl;
}
|
827ddd79bf1ed9742572016f6fdb5be857674b67 | 412e6d2cfe27ad7197c226f3d6b167e1aaea599c | /src/util/Logger.cpp | 28a3c9a9233d698d8f29f6423295fbda48ffcdc9 | [] | no_license | ououmania/symdb | 9b2f59fa0fc7e8c4488541bbb5943a3cd05c6b1d | d6a8a4766f2e5f498471327be127fc9d1a6c3080 | refs/heads/master | 2023-04-08T13:54:55.436835 | 2023-03-28T01:53:34 | 2023-03-28T01:53:34 | 185,917,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,496 | cpp | Logger.cpp | #include "Logger.h"
#include <boost/filesystem.hpp>
#include <boost/log/attributes.hpp>
#include <boost/log/common.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sinks/sync_frontend.hpp>
#include <boost/log/sinks/text_ostream_backend.hpp>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.