blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51859fecf58d9577e81ffac69277eaa581645451 | b1df6b7fd6ec08a011ffcd6d07a7d42915c61e15 | /project/source/game/GameComponent.h | f61c16e9b2b8f7a8b44961d9213ae545aa2d1fdd | [
"MIT"
] | permissive | Shdorsh/carpg | dbca0277d3182ce4852e21826e05f423a5d7dd6f | 376130a1ed410116fc8a607601b327eae7dca383 | refs/heads/devel | 2022-06-17T04:01:27.682849 | 2018-12-01T21:23:58 | 2018-12-01T21:23:58 | 159,889,860 | 0 | 0 | MIT | 2022-06-02T07:12:48 | 2018-11-30T23:32:57 | C++ | UTF-8 | C++ | false | false | 326 | h | #pragma once
//-----------------------------------------------------------------------------
class GameComponent
{
public:
virtual ~GameComponent() {}
virtual void Prepare() {}
virtual void InitOnce() {}
virtual void LoadLanguage() {}
virtual void LoadData() {}
virtual void PostInit() {}
virtual void Cleanup() ... | [
"noreply@github.com"
] | noreply@github.com |
5fe76e1826e03fc2a1a643aa48adc537d721003c | 9f8245ba25bf794d176967a69dc18ccb92e814d5 | /Leetcode1365.cpp | 45b171d49f487a09663f0a2b80bc7a501ab53e1e | [
"MIT"
] | permissive | Biswajee/Codestore | 80b86b9815cfd1d493105deec8512bc209f545d6 | 2428522b2af668d3797b98b57fc37419828c20b2 | refs/heads/master | 2023-07-04T04:18:22.242520 | 2021-08-07T15:51:05 | 2021-08-07T15:51:05 | 163,070,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | class Solution {
public:
vector<int> smallerNumbersThanCurrent(vector<int>& nums) {
vector<int> v = nums;
vector<int> res;
map<int, int> mp;
sort(v.begin(),v.end());
for(int i=0; i<v.size(); i++) {
if(!mp[v[i]]) mp[v[i]] = i+1;
}
for(int i=0; i<num... | [
"roy.biswajeet161@gmail.com"
] | roy.biswajeet161@gmail.com |
fb28b57084fe6b7a76808a38489824f209672f04 | 1ab8e3c77ac32980b397fe3cd9b4f3b2b2a14a8c | /TcpCommands/system/getAllTcpCommands.cpp | c260cf2c156cd413f843a5c855175cad3adf01b1 | [] | no_license | dbgtmaster/sepbackupmonitor-server | 7250daebd8eb89aebf7f7723de857af3d7b6c6f4 | da71b0de68cf0c14d4c2dc3fb48d9a24ae51c10c | refs/heads/master | 2021-01-09T20:26:40.093660 | 2017-01-12T09:06:27 | 2017-01-12T09:06:27 | 61,314,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include "TcpCommands/system/getAllTcpCommands.h"
#include "Database/Database.h"
#include "Database/DatabaseQuery.h"
#include "Logger/Logger.h"
TcpCommand_system_getAllTcpCommands::TcpCommand_system_getAllTcpCommands() : TcpAbstractCommand()
{
}
/**
* Führt den eigentlichen Tcp- Befehl aus...
* Lesen: _dataStre... | [
"root@siedl.net"
] | root@siedl.net |
54e52396f2e7a0eabf770fba49882a46f76fc621 | d73eb9e6b9450f5456d92c710c457fb36bbe8d59 | /cdcAnim/AnimNodes/AnimEmptyFragmentNode.h | b6d6513c3fca392f7bbeb39a9744cf4b8fdf11d7 | [] | no_license | rrika/cdcEngineDXHR | 110cb9314f242e0cfe07c51d439da1045aec78a0 | ff312d19663ca1f68881b46089c4a856c2ced0f5 | refs/heads/main | 2023-08-31T05:09:34.118694 | 2023-08-30T23:49:39 | 2023-08-30T23:49:39 | 474,729,623 | 192 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include "../AnimPipelineNode.h"
namespace cdc {
class AnimEmptyFragmentNode : public AnimPipelineNode {
// TODO
};
}
| [
"adam.jensen@si.det.usa"
] | adam.jensen@si.det.usa |
9dde9f49d33689d2b910ed52f9c662d30a69fc16 | 52b2f36c87847abad26e6a25f72b227e37e00717 | /Effects11/Binary/SOParser.h | 928dc362f4baeca3cb3e1635aecce5caedeb0217 | [
"MIT"
] | permissive | nickdarnell/Hierarchical-Z-Buffer | 874d56079e7bb0b8381f07ea9e818d9bd8c02d5e | dcd28ea7afbb0bcdd674041e25522c5501704e97 | refs/heads/master | 2021-01-10T06:22:39.356711 | 2016-01-01T02:17:52 | 2016-01-01T02:17:52 | 48,867,401 | 15 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,758 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2009 Microsoft Corporation. All Rights Reserved.
//
// File: SOParser.h
// Content: D3DX11 Effects Stream Out Decl Parser
//
////////////////////////////////////////////////////////////////////////////... | [
"NickDarnell@gmail.com"
] | NickDarnell@gmail.com |
fb0ae779469f2c61ed103bd26f01d3c6512de369 | 9c67c720f62493adade9c90946951cea020ebc62 | /core/RtTypes.cpp | df414f35bd062f1b20f76e3490a9c302f248e8b7 | [] | no_license | gapost/rtlab-old | f222505550f201b1fc589effb0cbaf4518e273e5 | d9da7711694b4d803f4ed1b0772cb20c2a03fdc5 | refs/heads/master | 2016-09-05T16:54:34.699367 | 2014-12-31T07:47:34 | 2014-12-31T07:47:34 | 27,383,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include "RtTypes.h"
#include <QScriptEngine>
template <class Container>
QScriptValue toScriptValue(QScriptEngine *eng, const Container &cont)
{
QScriptValue a = eng->newArray();
typename Container::const_iterator begin = cont.begin();
typename Container::const_iterator end = cont.end();
typename Cont... | [
"gapost@ipta.demokritos.gr"
] | gapost@ipta.demokritos.gr |
5985938816d6f98f756805c3e5f713a73e127dad | c0214137a486809784230f7a2f54aba41c565fa7 | /include/utils/colorspaces.hpp | c13ae7402a8cb5554d0198b8343ffda22ecfa102 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nsk/polybar | 4d9d6288d1beed3ec76e0652538a10fe36101043 | 61f3e1d138cc43ceccf86557f60349b468f2d3f0 | refs/heads/master | 2023-02-06T01:35:06.513704 | 2020-12-22T02:41:46 | 2020-12-22T02:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | hpp | #pragma once
#include <string>
#include "common.hpp"
#include "errors.hpp"
POLYBAR_NS
DEFINE_ERROR(color_error);
struct rgba;
struct double3 {
double a, b, c;
explicit double3(double a, double b, double c) : a(a), b(b), c(c) {}
explicit double3(const string& str);
explicit double3(const rgba& src);
dou... | [
"quandangv@gmail.com"
] | quandangv@gmail.com |
f4baaf3443cf928f61ef93153d0f2e6870d4447d | 5ac13fa1746046451f1989b5b8734f40d6445322 | /minimangalore/Nebula2/code/nebula2/src/kernel/nobject_cmds.cc | 7c59348de99ecce84f054a954e5ff23c4d768e0e | [] | no_license | moltenguy1/minimangalore | 9f2edf7901e7392490cc22486a7cf13c1790008d | 4d849672a6f25d8e441245d374b6bde4b59cbd48 | refs/heads/master | 2020-04-23T08:57:16.492734 | 2009-08-01T09:13:33 | 2009-08-01T09:13:33 | 35,933,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,793 | cc | //------------------------------------------------------------------------------
// (c) 2004 Vadim Macagon
// Refactored out of nRoot.
//------------------------------------------------------------------------------
#include "kernel/nkernelserver.h"
#include "kernel/ncmdproto.h"
#include "kernel/nobject.h"
#in... | [
"BawooiT@d1c0eb94-fc07-11dd-a7be-4b3ef3b0700c"
] | BawooiT@d1c0eb94-fc07-11dd-a7be-4b3ef3b0700c |
d05dbd702a4da087465ab42e98ef143b4670ff3f | 7a4640a884d513dc60e66617802e95be9fe9b3f5 | /Unity/Temp/il2cppOutput/il2cppOutput/Bulk_System_1.cpp | 906954338444783d72424ec7f40cf6ece91d28d7 | [] | no_license | eray-z/Game-Engine-Benchmarks | 40e455c9eb04463fef1c9d11fdea80ecad4a6404 | 2b427d02a801a2c2c4fb496601a458634e646c8d | refs/heads/master | 2020-12-25T14:13:36.908703 | 2016-06-03T16:05:24 | 2016-06-03T16:05:24 | 60,355,376 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620,532 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// System.Text.RegularExpressions.LinkStack
struct LinkStack_t4092128393;
// System.Text.RegularExpressi... | [
"erayzesen@gmail.com"
] | erayzesen@gmail.com |
52b83ba36d50283ec99cf195347566a27c3e378e | b8789855e216b1361de2194442e67a6d1bedf5da | /src/DeDelinquent/GameExplanation.cpp | 2112f7636de1c601b03c59b3be990ec26a898759 | [] | no_license | koenieee/TheDelinquent | 2bd0ced4f78d59842dbfe6627e85d02da0b86382 | ba609a626fabaaf6c169ed73bacb7d911670554b | refs/heads/master | 2021-06-01T08:02:45.066739 | 2016-04-18T15:10:58 | 2016-04-18T15:10:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,992 | cpp | #include "GameExplanation.hpp"
#include "GlobalValues.hpp"
#include "DiskController.hpp"
#include "StateController.hpp"
#include <iostream>
GameExplanation::GameExplanation(){
rapidjson::Document * thed = DiskController::readFileIntoJson(MainMenuFilename);
std::map<std::string, std::string *> * buttons = DiskControl... | [
"koenvdkruk@gmail.com"
] | koenvdkruk@gmail.com |
3ad9f3e34d9319f85120642b340a62744feff331 | fb83b677ab01bead365e06f5fdbfee5f2f4c5b4c | /sqlite_orm.h | 7ab97738e492b2e19720ac94882f0b3b8cfb9855 | [] | no_license | sergiosvieira/sqlite_console | a5ea5c20e56dc0da60740c5906c97aa1a70f5dba | 52b280a44954d230cc198206f944c697baa87a3d | refs/heads/master | 2020-04-12T12:09:53.803955 | 2018-12-19T19:44:36 | 2018-12-19T19:44:36 | 162,483,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324,081 | h | #pragma once
#if defined(_MSC_VER)
# if defined(min)
__pragma(push_macro("min"))
# undef min
# define __RESTORE_MIN__
# endif
# if defined(max)
__pragma(push_macro("max"))
# undef max
# define __RESTORE_MAX__
# endif
#endif // defined(_MSC_VER)
#pragma once
#include <system_error> // std::error_code, std::system_er... | [
"sergiosvieira@gmail.com"
] | sergiosvieira@gmail.com |
c74de3c706687e9c2a2e86191e83c1037265e6b4 | 0006f89c8d952bcf14a6150e9c26c94e47fab040 | /src/trace/D3DDriver/AD3D9/FFGenerator/FFShaderGenerator.h | f4cc832bc76a73e706a19e3838647278406ba353 | [
"BSD-3-Clause"
] | permissive | cooperyuan/attila | eceb5d34b8c64c53ffcc52cd96b684d4f88b706f | 29a0ceab793b566c09cf81af26263e4855842c7a | refs/heads/master | 2016-09-05T18:55:56.472248 | 2013-06-29T14:42:02 | 2013-06-29T14:42:02 | 10,222,034 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 32,913 | h | /**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... | [
"cooperyuan@gmail.com"
] | cooperyuan@gmail.com |
289054069486fa27337569a38fe16913a5e7e4f5 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /sgw/include/alibabacloud/sgw/SgwClient.h | 3a77876f93e6cb7a9a1290baa749d278f99159a4 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 122,205 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
54c0b251b58200c36cc91d6bbf9f64debe8a8105 | 2a146fb66483406f209af37f99b0d82d83f571ad | /src/VDJgermline.hpp | 96dd2426353736a07908fc53c33a94694397a240 | [] | no_license | waffle-iron/linearham | 55e681ca67cf1617aa2c462115750b8c4e551e52 | 4e74f796a0efe5f31e71ede41a6dca749f9399cf | refs/heads/master | 2020-12-24T10:55:26.268525 | 2016-10-24T18:54:13 | 2016-10-24T18:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | hpp | #ifndef LINEARHAM_VDJGERMLINE_
#define LINEARHAM_VDJGERMLINE_
#include "NPadding.hpp"
#include "NTInsertion.hpp"
#include "germline.hpp"
/// @file VDJgermline.hpp
/// @brief Headers for the V, D, and J germline classes.
namespace linearham {
/// @brief An abstraction used to represent a V germline gene.
class VGer... | [
"matsen@fredhutch.org"
] | matsen@fredhutch.org |
5d66986475f4d2d52d0cb1f791cab6f889f63065 | 8e459a3d4a667ed4c93ca33cf170371be57e4e5b | /ManuscriptTests/BinarizeTest/KabirBinarization/BinarizerKabir.h | 1d10fb38f5fc7295bac0f8860ab3108ba5139066 | [] | no_license | amitzohar/greyscale_extractor | b22fca3d249bbf96cde71b88d01c7818826e42c6 | af0edef7fa0f6ea941aab29c9eacaf4b46e64567 | refs/heads/master | 2021-01-12T06:38:06.082377 | 2017-03-01T15:13:04 | 2017-03-01T15:13:04 | 77,399,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | h | /*
* File: BinarizerKabir.h
* Author: user
*
* Created on June 17, 2015, 10:43 AM
*/
#ifndef _BINARIZER_KABIR_H
#define _BINARIZER_KABIR_H
#include <ImageBinarizer.h>
#include <DImage.h>
class BinarizerKabir : public ImageBinarizer{
protected:
int _strokeWidth;
int _k;
Mat _stru... | [
"amit.zhr@gmail.com"
] | amit.zhr@gmail.com |
20cc2f26507f17ed5433eaed4863d7e9d1c42bcd | 4570ba080cbc8372ba756ed29c48a729ab613c35 | /src/common/iter.h | 600b32656ad14171fededcd39a067004acfb4720 | [
"MIT"
] | permissive | neivv/teippi | d34d671e096b5a25756e2d7d7a7b057bdbf88bbb | 05c006c2f74ad11285c39d37135aed03d1fb8806 | refs/heads/master | 2021-01-17T03:16:00.322406 | 2018-01-30T10:12:55 | 2018-01-30T10:26:45 | 40,534,128 | 12 | 5 | null | 2015-09-20T09:48:46 | 2015-08-11T09:44:20 | C++ | UTF-8 | C++ | false | false | 1,075 | h | #ifndef ITER_H
#define ITER_H
#include <algorithm>
#include "optional.h"
namespace Common
{
template <class Self, class Item>
class Iterator
{
public:
class internal_iterator
{
public:
internal_iterator(Self *p) : parent(p), value(parent->next()) {}
inte... | [
"ittevien@gmail.com"
] | ittevien@gmail.com |
66c21b149fdd12a82a857ff5e4b44910daf713fe | 07c3e4c4f82056e76285c81f14ea0fbb263ed906 | /Re-Abyss/app/components/Cycle/DevPortal/Master.hpp | 5e02fb0c2a78b386776d4ab7afa59188f5b19543 | [] | no_license | tyanmahou/Re-Abyss | f030841ca395c6b7ca6f9debe4d0de8a8c0036b5 | bd36687ddabad0627941dbe9b299b3c715114240 | refs/heads/master | 2023-08-02T22:23:43.867123 | 2023-08-02T14:20:26 | 2023-08-02T14:20:26 | 199,132,051 | 9 | 1 | null | 2021-11-22T20:46:39 | 2019-07-27T07:28:34 | C++ | UTF-8 | C++ | false | false | 1,221 | hpp | #pragma once
#if ABYSS_DEVELOP
#include <abyss/modules/GameObject/IComponent.hpp>
#include <abyss/modules/Cycle/base/IListener.hpp>
#include <Siv3D/Fwd.hpp>
namespace abyss::Cycle::DevPortal
{
/// <summary>
/// マスター観測者
/// </summary>
class IMasterObserver
{
public:
virtual ~IMasterObser... | [
"tyanmahou@gmail.com"
] | tyanmahou@gmail.com |
9653e0b6cc6df21e3b078b229b306e9cff84108f | 96f8fb7fb764026ede7e927d8b4768b8b6f44abb | /01_Code/12_MFC/Day17/codes/MFCClient/MFCClientDlg.h | ab4bd9f023f0aac982af75926b55853848066695 | [] | no_license | isongbo/MyCode | a513beaa8f43bc751aab5217314615c728ba771e | eb2330b1dbae9032ba5ad8ccd65b68375219e451 | refs/heads/master | 2021-01-10T09:48:53.587674 | 2016-01-15T10:21:04 | 2016-01-15T10:21:04 | 49,700,737 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | h | // MFCClientDlg.h : header file
//
#if !defined(AFX_MFCCLIENTDLG_H__CB403295_E855_4FAF_A64A_4F03776C0E8A__INCLUDED_)
#define AFX_MFCCLIENTDLG_H__CB403295_E855_4FAF_A64A_4F03776C0E8A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////... | [
"syt-aini@126.com"
] | syt-aini@126.com |
8272c7c551e3d7411422cad7c4ff29ca30378e35 | 3e5782ed696b256b2977fcbfb8c9369933a5151f | /100_149/103_Binary_Tree_Zigzag_Level_Order_Traversal/main.cpp | 572208f10719017044009f5326adcf32f420b706 | [] | no_license | fengjiachen/leetcode | b1f7b01e0ee312e7643d8a46bc0f8db33cf71b00 | e226c67f7e6d8faef0b42da9139c99f3694071fc | refs/heads/master | 2022-11-28T14:16:08.144354 | 2020-08-01T11:37:44 | 2020-08-01T11:37:44 | 190,188,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | cpp | // Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
// For example:
// Given binary tree [3,9,20,null,null,15,7],
// 3
// / \
// 9 20
// / \
// 15 7
// return its zigzag level or... | [
"503386220@qq.com"
] | 503386220@qq.com |
06aeb80b92d69da5af0f9742f1f780456b1c0ceb | 8ebe232a679e01311f8cfafd38ecf81d867d49c1 | /RandomService.cpp | b3d306c2ab96dd007001a1c1e981a714e4df3026 | [] | no_license | agapow/multilocus | c6181f871d5b1c07fc4372dc4babdd03bad6887e | 944d098b3790a41f2a09c68ab1c3077e7ceb821d | refs/heads/master | 2021-06-03T11:49:00.524189 | 2015-09-03T14:50:27 | 2015-09-03T14:50:27 | 40,901,532 | 0 | 1 | null | 2021-05-15T15:37:09 | 2015-08-17T14:30:07 | C++ | WINDOWS-1252 | C++ | false | false | 10,739 | cpp | /**************************************************************************
RandomService.cpp - encapsulated pseudo-random number generator
Credits:
- From SIBIL, the Silwood Biocomputing Library.
- By Paul-Michael Agapow, 2003, Dept. Biology, University College London,
London WC1E 6BT, UNITED KINGDOM.
- <mail://mes... | [
"paul@agapow.net"
] | paul@agapow.net |
95f42fad0255851065d8394a7df7fc02586ee35d | 3716a56c3dbce569f0ce67d97868ba712019a56d | /Lab 8/Threads/Input.h | 5eb1eb08fddd5fa92d1c2633337abd93d9e170f2 | [] | no_license | AoifePowders/GamesEngineering2 | 4f1d5b8010f2172b8ffe2f343f3c6a987317729b | a2786f2f92447cfeacae43fd970edb83eb4f2014 | refs/heads/master | 2020-07-30T18:53:53.892734 | 2020-01-31T11:05:17 | 2020-01-31T11:05:17 | 210,320,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #pragma once
class Input
{
public:
void update(sf::Vector2f& position);
};
void Input::update(sf::Vector2f& position)
{
std::cout << "Input Thread" << std::endl;
position.x += 1;
position.y += 1;
}
| [
"c00218374@itcarlow.ie"
] | c00218374@itcarlow.ie |
0dccb9b85dc4e256912abbf6a814372dbc8c0d01 | 6787e14ece2d76f52bde6022aaefdafc9df19727 | /MyRobot.h | 7c3e42415fd2c6f9264c902d74dbb62a43d034ec | [] | no_license | TakanoriOnuma/BattingGame | 01cf51fecb5dccdebbc956cee3d9e579387076b5 | 5d63b6c7a52b2c8a54e62f7199f79ff9aecb9953 | refs/heads/master | 2021-01-22T09:32:31.142024 | 2013-07-16T15:05:52 | 2013-07-16T15:05:52 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,374 | h | #ifndef ___Class_MyRobot
#define ___Class_MyRobot
#include "DrawableObject.h"
#include "IAnimation.h"
class MyBox;
class ArmLeg;
class MyRobot : public DrawableObject, public IAnimation{
/* ロボットの状態 */
enum class Condition;
Condition condition; // 自分の状態
static const int WALKING_FRAME = 50; // 歩く動作に必要なフレーム数
s... | [
"ohnhistory@yahoo.co.jp"
] | ohnhistory@yahoo.co.jp |
a79d7575aa9370931c6cfc068ee76b3c03389f52 | 9503111534c8439a4f12c21ac3a31c661a5c378d | /OS/LJF.cpp | f651071545b2bab8105bdef2e4424da792fbe7e8 | [] | no_license | Sai-deepak/OS-Simulator | 3af1a710422be2fa593d7cbfbea57d7e54a7644a | 7f2b5e89b2bc9328f6bdce80c4cc0745df30b009 | refs/heads/main | 2023-04-06T11:59:28.325234 | 2021-04-23T06:50:49 | 2021-04-23T06:50:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,580 | cpp | // LONGEST JOB FIRST (LJF)
#include <bits/stdc++.h>
using namespace std;
class process
{
// making a class of name process
public:
// each process has attributes: process id, arrival time (AT), burst time (BT),
// completion time (CT), turn around time (TAT), Waiting Time (WT)
int id, AT, BT;
int ... | [
"noreply@github.com"
] | noreply@github.com |
f13f81554b1dbbf9715d802045bd913d3111391f | 3c8e0c8f1296ccc506b2a5f5ac3b709af71f22b6 | /online-judges/menshikov/12A.cpp | 2c37a3c5807756de1e2f553f36405877d4b9223a | [] | no_license | jnikhilreddy/acm-conventions | f32c93317917ce9e8dfa944994b80771ecd5409b | 5e510637873a48a47581afa3398bbc892cc5e31c | refs/heads/master | 2021-05-30T12:28:23.012629 | 2015-12-10T14:33:17 | 2015-12-10T14:33:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,113 | cpp | #define VERBOSE
#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <fstream>
#include <bitset>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#inc... | [
"zakharov.k.l@yandex.ru"
] | zakharov.k.l@yandex.ru |
99634164bbf8c21e80850681b061dde6ed180f6e | 659d99d090479506b63b374831a049dba5d70fcf | /xray-svn-trunk/xrCore/_plane.h | 1f0260889614f7e5cac0792a1f7715f6e3aac154 | [] | no_license | ssijonson/Rengen_Luch | a9312fed06dd08c7de19f36e5fd5e476881beb85 | 9bd0ff54408a890d4bdac1c493d67ce26b964555 | refs/heads/main | 2023-05-03T13:09:58.983176 | 2021-05-19T10:04:47 | 2021-05-19T10:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | h | #ifndef _PLANE
#define _PLANE
template <class T>
class _plane {
public:
typedef T TYPE;
typedef _plane<T> Self;
typedef Self& SelfRef;
typedef const Self& SelfCRef;
public:
_vector3<T> n;
T d;
public:
Self()
{
null();
}
Self(_vector3<T> t, T D)
{
n = t;
d = D;
};
Self(T nx, T ny = (T)0, T nz ... | [
"16670637+KRodinn@users.noreply.github.com"
] | 16670637+KRodinn@users.noreply.github.com |
7d34d9631fd2ba63f1c4f0a67d911c4e7c5575cf | 5685e8aa5ff66d8f8d8c2de264001a0d69d0dc6e | /Graph.hpp | 355fdc917d1404d65a24a7521757ef32befaa663 | [] | no_license | Vaphen/AutomatedGraphAlign | d7d810133c21aaf034dd567793f4860755ba55f8 | 8133ba6fb2493772a253ce77eb56cd99fd53aaa8 | refs/heads/master | 2021-01-22T12:53:47.322723 | 2017-09-09T11:49:02 | 2017-09-09T11:49:02 | 102,358,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,591 | hpp | #ifndef __GRAPH_H_
#define __GRAPH_H_
#include <vector>
#include <initializer_list>
#include <algorithm>
#include <memory>
#include "Node.hpp"
#include "Edge.hpp"
template<typename NODEVAL, typename EDGEVAL, bool isDirected = false,
template<typename> typename NODETYPE = Node,
template<typenam... | [
"info@disputamus.de"
] | info@disputamus.de |
9c51d49855545753b70addbd0ef27d6ece14578f | 624c0d08538c773d54ca980cacef0e8781b0f1bf | /process/fdstream.hpp | d90bf47adf5b52c1b3e47b8a19cf389a03f71fab | [] | no_license | kiron1/process | 6772114db43e6941b8f57e75d343534278ae4b3f | ca80ca308b829e5e90cb4035d70c9b5ab0748adb | refs/heads/main | 2023-05-10T15:33:50.031874 | 2021-05-16T12:21:57 | 2021-06-09T09:34:31 | 367,857,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | hpp | #pragma once
#include "process/fdbuf.hpp"
#include <ostream>
namespace process {
/// Output stream of a POSIX file descriptor.
class fdostream : public std::ostream {
public:
explicit fdostream(int fd) : std::ostream(0), buf(fd) { rdbuf(&buf); }
void close() { buf.close(); }
private:
fdbuf buf;
};
/// Input ... | [
"kiron1@gmail.com"
] | kiron1@gmail.com |
7208fe7944f9542d36853ecca6688f6c58d10cbd | 4dc1762bce44964ad2ef265b6d06af120c36f663 | /include/NeuroMetrics/metrics.hxx | 582c2bffa341137cd9a553652de03e249b608a2e | [] | no_license | constantinpape/NeuroMetrics | b0956a215f6d186ff7f212f0b050265ff9a843e2 | 064bda5f839ff7cdecc845f1d59a7b22e2c4c4ba | refs/heads/master | 2020-12-24T06:44:47.615384 | 2019-06-03T19:48:05 | 2019-06-03T19:48:05 | 58,743,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,809 | hxx | #pragma once
#include <vector>
#include <iterator>
#include <cmath>
#include <stdexcept>
#include <andres/marray.hxx>
#include "NeuroMetrics/tools/for_each_coordinate.hxx"
#include "NeuroMetrics/tools/parallel_max_element.hxx"
namespace neurometrics {
// bundle all metrics that can be computed from the contingency... | [
"constantin.pape@iwr.uni-heidelberg.de"
] | constantin.pape@iwr.uni-heidelberg.de |
4f66934b6efecad877ea90e5b344b769134597bf | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-mq/source/model/Configuration.cpp | 6fa465025260322e8bf9f86450c8976c8a35ba3f | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 3,312 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
c6ed21621cce9af8845db92fd475f3fb50bc1279 | db5ec47646ab57b54afff1bd29e3245544517f99 | /asst4_lenssim/src/camera.cpp | 79799af94591e68f5e7d46b796c6295a8d7a93b9 | [] | no_license | rmilman/GraphicsProjects | 2d610bd54dbe213136213406f1d806d0a16b999d | 73206c178c142068746cfb77938b83a5e07efc0a | refs/heads/master | 2021-01-19T01:59:08.033495 | 2017-03-20T19:52:55 | 2017-03-20T19:52:55 | 84,398,999 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,383 | cpp | #include "camera.h"
#include <iostream>
#include <sstream>
#include <fstream>
#include "CGL/misc.h"
#include "CGL/vector3D.h"
using namespace std;
namespace CGL {
using Collada::CameraInfo;
void Camera::configure(const CameraInfo& info, size_t screenW, size_t screenH) {
this->screenW = screenW;
this->screenH ... | [
"becca.milman@berkeley.edu"
] | becca.milman@berkeley.edu |
a3b26a5b43b2f8e22fa09bd9268dce2789d88f88 | d3b64795e67df62340c6a7f08c9e1400574afca5 | /src/epicell.hh | 58810cffc0be49995f2af52f4e241f9d1064997f | [] | no_license | cndesantana/epicell | 2531ba6e4f9b8250bb5353dc3ba5d56517e42f1a | 11d6acbdad657f70549997b7f11d7acf1e95a6ee | refs/heads/master | 2020-12-23T20:59:58.593868 | 2016-07-05T12:40:53 | 2016-07-05T12:40:53 | 62,635,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | hh | #include <core/headers.hh>
#include <dataAnalysis/headers.hh>
#include <libraryInterfaces/headers.hh>
#include <signaling/headers.hh>
#include <cellTypes/headers.hh>
#include <environment/headers.hh>
// #include <mathematics/headers.hh>
// #include <io/headers.hh>
// #include <dataAnalysis/headers.hh>
| [
"charles.desantana@eawag.ch"
] | charles.desantana@eawag.ch |
e8969f3c3a5cb17109c503fcb87aaa51dbaa28dc | a5f5283abf4dec1584e0fa4465f212db8b72a82b | /GPU_SupportVectorMachine_Unmanaged/GPU_SupportVectorMachine_Unmanaged/IParser.h | 8bcdecf24ffc2ec7bd3ee9309c4f91063ae2a615 | [] | no_license | nagyistoce/thesis-gpgpu-svm-computeshader | d4e636f32c0f5064c97cea08cc92d7f8ba8b47a3 | 4c1e115a57d55d118e1616f2d55f4860d8d39f97 | refs/heads/master | 2020-06-05T04:05:08.136384 | 2012-04-02T09:12:08 | 2012-04-02T09:12:08 | 32,892,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | #pragma once
#include "DataDocument.h"
namespace SVM_Framework{
class IParser{
public:
virtual DataDocumentPtr parse(boost::filesystem::path path) = 0;
protected:
void beginParsing(boost::filesystem::path path);
void endParsing();
unsigned int m_size;
char* m_buffer;
};
}
typedef boost:... | [
"Karl.Jansson.84@gmail.com@9bcb4955-51cf-ebff-d268-37ef13eebb7c"
] | Karl.Jansson.84@gmail.com@9bcb4955-51cf-ebff-d268-37ef13eebb7c |
19ab47a3c95b8567c65b7000a2c66b18ff4c5dcf | 2e430b1beef62388c6119014739dac047f533673 | /Root/TupleMaker.cxx | 8b9ce7eb1beb414aa71609168c53025aa0e3e5fe | [] | no_license | gerbaudo/susynt-ss3l | 4b0c610df599e57a9000ffe243dcba6aea73fa8d | 6667354f583cdfc36b2e82d41772ee493f4c5400 | refs/heads/master | 2020-04-10T01:41:39.106464 | 2015-12-07T16:09:10 | 2015-12-07T16:09:10 | 41,103,496 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,360 | cxx | #include "susynt-ss3l/TupleMaker.h"
#include "SusyNtuple/SusyNt.h"
#include "TDirectory.h"
#include "TFile.h"
#include "TTree.h"
#include <algorithm> // transform
#include <functional> // unary_function
#include <iostream>
#include <iterator> // back_inserter
#include <sstream>
using ss3l::TupleMaker;
using ss3l::F... | [
"davide.gerbaudo@gmail.com"
] | davide.gerbaudo@gmail.com |
eadbeee9843e050045617507a0e77ee5e453d3fe | 4b0c57dddf8bd98c021e0967b5d94563d15372e1 | /OptimizeEPD/interface/PhysicsProcessForOpt.hh | 97b91f37f9749b8f07f91c1acc4599d8e5930cb6 | [] | no_license | aperloff/TAMUWW | fea6ed0066f3f2cef4d44c525ee843c6234460ba | c18e4b7822076bf74ee919509a6bd1f3cf780e11 | refs/heads/master | 2021-01-21T14:12:34.813887 | 2018-07-23T04:59:40 | 2018-07-23T04:59:40 | 10,922,954 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 990 | hh | #ifndef PHYSICSPROCESSFOROPT_HH
#define PHYSICSPROCESSFOROPT_HH
#include "TAMUWW/SpecialTools/interface/PhysicsProcessMemory.hh"
#include "TAMUWW/SpecialTools/interface/Defs.hh"
#include "TAMUWW/MEPATNtuple/interface/ProbsForEPD.hh"
#include "TAMUWW/MEPATNtuple/interface/MicroNtuple.hh"
#include "TH1.h"
class Phys... | [
""
] | |
3bd45652417e6345ef6d0d0083f190d68a85df99 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE563_Unused_Variable/CWE563_Unused_Variable__unused_uninit_variable_int64_t_82_bad.cpp | 45dc4c28e3e1be3ab00fdd10d6b674bc5c9c6603 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE563_Unused_Variable__unused_uninit_variable_int64_t_82_bad.cpp
Label Definition File: CWE563_Unused_Variable__unused_uninit_variable.label.xml
Template File: source-sinks-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 563 Unused Variable
* BadSource: Initialize data
* ... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
b020e1f4b7aa51c43a4953d9688683483e6bdf3b | c2e49db1315323daeb8bd96335058afc10fa2d0d | /Ващук Олександр/Chapter 2/2.4.23.2 Bitwise palindromes/main.cpp | f506ca6ebd5d48d7f5df40b78d20ed292f773d18 | [] | no_license | CyberSecurity-hackk/103-CyberSec | df1939d8dca024f2f9c559d04f9d175dab781960 | 3643365084d274e9ac2ea38560b7e0e3a055fa6b | refs/heads/main | 2023-02-04T03:54:37.039106 | 2020-12-26T07:16:11 | 2020-12-26T07:16:11 | 308,091,391 | 0 | 0 | null | 2020-10-28T17:52:27 | 2020-10-28T17:25:45 | null | UTF-8 | C++ | false | false | 417 | cpp | #include <iostream>
using namespace std;
int main(void) {
unsigned short int val;
bool ispalindrome = true;
cout << "value = ";
cin >> val;
for(int i=0;i<16&&ispalindrome;i++)
{
ispalindrome=(((val>>i)&1) == ((val>>15-i)&1));
}
if(ispalindrome)
cout << val << " is a bitwise palind... | [
"noreply@github.com"
] | noreply@github.com |
fd230e1c3aa86bdf869372fbb2535eaac5ace0e9 | 520b75c144414d2af5a655e592fa65787ee89aaa | /AtCoder/ABC/020/B.cpp | a30e83d54d233f71be57d1615cc51b060c318727 | [] | no_license | arrows-1011/CPro | 4ac069683c672ba685534444412aa2e28026879d | 2e1a9242b2433851f495468e455ee854a8c4dac7 | refs/heads/master | 2020-04-12T09:36:40.846130 | 2017-06-10T08:02:10 | 2017-06-10T08:02:10 | 46,426,455 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string a,b;
cin >> a >> b;
a += b;
stringstream ss(a);
int c; ss >> c;
cout << c*2 << endl;
return 0;
}
| [
"s1210207@gmail.com"
] | s1210207@gmail.com |
c37b0e5c6bb724562c3f1cdf7f659c26192b51d8 | 84b4587657963c1b034aacc0141ba3918703eae2 | /apps/MCF/mcf_rxmesh.h | 37c2354772963e0594004781a683cca1dca7672f | [
"BSD-2-Clause"
] | permissive | Grobiel/RXMesh | 7e70fad47f8d664087d8469b6ba3e249e16bd2c7 | 4b74907cf59abe74eb77225e8c1d1e350f3c4e7c | refs/heads/main | 2023-09-03T01:12:41.376007 | 2021-10-06T12:31:47 | 2021-10-06T12:31:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,108 | h | #pragma once
#include <cuda_profiler_api.h>
#include "mcf_rxmesh_kernel.cuh"
#include "rxmesh/rxmesh_attribute.h"
#include "rxmesh/rxmesh_static.h"
#include "rxmesh/util/report.h"
#include "rxmesh/util/timer.h"
#include "rxmesh/util/vector.h"
template <typename T, uint32_t patchSize>
void mcf_rxmesh(RXMESH::RXMeshSt... | [
"eng.a.hassen@gmail.com"
] | eng.a.hassen@gmail.com |
21e085a6121d001f5a0afcbe45cc1858b1c42def | 2e43ae68653678a1f03de784de972a40bd2c8d7e | /src/cartographer_ros/cartographer_ros/cartographer_ros/kitti_trajectory_from_pbstream.cc | 2b965f42cbc12fd53023abf6a6995bedd3e739de | [
"Apache-2.0"
] | permissive | Arslan-Z/dlio | c9a9c051f9c1dab82692504f27837816f3a5c9a1 | 5e6b0180c82bd1bed8ff5aaeb8ef2f686d2f65d9 | refs/heads/master | 2023-07-14T08:29:06.731314 | 2021-09-06T02:47:16 | 2021-09-06T02:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,276 | cc | /*
* Copyright 2017 The Cartographer Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | [
"13162551729@163.com"
] | 13162551729@163.com |
18400b0d09326221461ea44aefbd02343e70cc0d | b3bdfe660b706f8ab6c1d11c9923e49ef9d0ac92 | /CryptoSample/ShamirSecretSharing/ntl/NTL/GF2.h | 48a98effc146d51e75fdaf8d6a8bd9b8f17443ea | [] | no_license | 95krasovsky/SecretSharingSchemes | ee88451e945f019def1cb7c6a38e09040693f4d7 | 48da1f43742db9e39cd05cc0e0459b4e4b1d466d | refs/heads/master | 2020-12-24T18:51:00.567236 | 2016-05-16T11:01:03 | 2016-05-16T11:01:03 | 58,579,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,853 | h |
#ifndef NTL_GF2__H
#define NTL_GF2__H
#include <ZZ.h>
#include <vector.h>
NTL_OPEN_NNS
// Context, Bak, and Push types, just for consistency.
// They don't do anything
class GF2Context {
public:
GF2Context() {}
explicit GF2Context(long p) { if (p != 2) LogicError("GF2Context with p != 2"); }
void save() {}
voi... | [
"95krasovsky@gmail.com"
] | 95krasovsky@gmail.com |
255d1a9541b0f3b58b9206c9eba680ddd1d5f4bd | 52be191f9f16bc279793123f8518ee89a8af877e | /ch.10/10.13/ex.cc | 5ed785ccaff12620dc77821bf12fde4238a1d5a2 | [] | no_license | liwenkui/exercise_cpp | eb53dde797645093389c2608f9b45f42cbfa2c8c | d6d3149300e9abd59dc4a86137b7e6d55ee57fa0 | refs/heads/master | 2021-01-11T03:04:19.996140 | 2017-02-01T08:16:58 | 2017-02-01T08:16:58 | 70,882,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cc | #include <algorithm>
#include <string>
#include <iostream>
#include <list>
using namespace std;
bool larger(string const &str)
{
return str.size() - 5;
}
int main()
{
list<string> str{"hello", "hello1", "hello22"};
auto end_true = partition(str.begin(), str.end(), larger);
str.erase(end_true, str.end())... | [
"liwenkui0229@icloud.com"
] | liwenkui0229@icloud.com |
3c7840b292224663e9051a3b40435b2943e8797c | 88c0e520e2389e676fea559f944109e1ee7e157b | /include/Windows.Networking.XboxLive.2_4bc8ceb3.h | acfb536c34fa130b9a3a77c8be972ded0ffa97b3 | [] | no_license | jchoi2022/NtFuzz-HeaderData | fb4ecbd5399f4fac6a4982a0fb516dd7f9368118 | 6adc3d339e6cac072cde6cfef07eccafbc6b204c | refs/heads/main | 2023-08-03T02:26:10.666986 | 2021-09-17T13:35:26 | 2021-09-17T13:35:26 | 407,547,359 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,021 | h |
#include "winrt/impl/Windows.Networking.1.h"
#include "winrt/impl/Windows.Storage.Streams.1.h"
#include "winrt/impl/Windows.Networking.XboxLive.1.h"
WINRT_EXPORT namespace winrt::Windows::Networking::XboxLive {
}
namespace winrt::impl {
}
WINRT_EXPORT namespace winrt::Windows::Networking::XboxLive {
struct WINR... | [
"jschoi.2022@gmail.com"
] | jschoi.2022@gmail.com |
a01991419340486c60229b89f8247e3e8a6cf56a | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Solids/Fracture/PAINTED_GRAIN_BOUNDARIES.h | 0ba79de4ff09ce1c1a3323ec92c886703b450462 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 8,379 | h | //#####################################################################
// Copyright 2007, Frank Losasso.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// Cla... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
69d86da10a5f425f275e7f23c524c055915d37a5 | 0017c2513b58f1c4912443a15bfa35dbf4f697ca | /third_party/amo/amo/tribool.hpp | 3c86a1cd1d7754bb801955e11aa07e85ead1a2a6 | [
"BSD-2-Clause"
] | permissive | yang123vc/NCUI | d1977396421a98f9be83d614cfffe1497db8d1b0 | a3b315ebf97d9903766efdafa42c24d4212d5ad6 | refs/heads/master | 2020-04-28T09:30:22.627744 | 2018-11-20T15:23:36 | 2018-11-20T15:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | hpp | #ifndef AMO_TRIBOOL_HPP__
#define AMO_TRIBOOL_HPP__
#include <amo/config.hpp>
namespace amo
{
using boost::tribool;
using boost::indeterminate;
}
#endif // AMO_TRIBOOL_HPP__
| [
"amoylel@hotmail.com"
] | amoylel@hotmail.com |
a3fa653e74294bf44a45010cec0d5256f0f66a5e | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-devicefarm/include/aws/devicefarm/DeviceFarmEndpoint.h | 90bda0d2c559c85c1a14159dea11e92cad3069eb | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 965 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
d2a728baa2c0f72338760633ce2c97a51a982f17 | 04fb8dc950e6ad70d127a6292d2807cab1e1dada | /os.cpp | 7552cea29158ec09427e3a47ef6fab05f73cd320 | [] | no_license | krishnakkb/OS-PRO-DEMAND-PAGED-MEMORY | 2f0fb9570d6758401983c090003a776916ddbaea | 77c496644510bf97383396f19849df54afe863b0 | refs/heads/master | 2020-05-03T14:24:50.776546 | 2019-04-11T16:10:51 | 2019-04-11T16:10:51 | 178,676,908 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include<iostream>
#include<math.h>
#include<conio.h>
using namespace std;
int main()
{
float pagefault_empty=8*pow(10,-3);
float pagefault_modified=20*pow(10,-3);
float MAT=100*pow(10,-9);
float modified_time=0.70;
float MApagefault=200*pow(10,-9);
float pagefault_rate;
// EAT<=(1-p)Memory_access_ti... | [
"noreply@github.com"
] | noreply@github.com |
a0acb070dd122fffb5de7713644ad823f66acf15 | c926a145a28d7fcfb1727d2d68e61e1e3c4ffb45 | /browser/gui.cpp | 9dbb16dace8335507d2eb94f188bcc039be46885 | [
"BSD-2-Clause"
] | permissive | ArthurSonzogni/hastur | 7fa2a013e5ea8515bf669cbfdbf30f09b6337e92 | 87feb16e447f83f2c211020a7b83e66cf0794b3c | refs/heads/master | 2023-05-05T09:04:50.266484 | 2021-05-16T07:52:02 | 2021-05-18T15:56:55 | 367,632,141 | 0 | 1 | BSD-2-Clause | 2021-05-15T12:57:48 | 2021-05-15T12:57:47 | null | UTF-8 | C++ | false | false | 2,519 | cpp | #include "http/get.h"
#include "html/parse.h"
#include <fmt/format.h>
#include <imgui.h>
#include <imgui-SFML.h>
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/System/Clock.hpp>
#include <SFML/Window/Event.hpp>
#include <spdlog/spdlog.h>
int main() {
sf::RenderWindow window{sf::VideoMode(640, 480), "gui... | [
"dev@robinlinden.eu"
] | dev@robinlinden.eu |
cc5ad59182257b14a27f68bd4f162ded4a2327b8 | 9e10cb8430058a76321543914a421a5bd5a28b3c | /Contoller/HTTPServer/Assessment5_Controller/HTTPServer/Handler/FsHandler.cpp | 4f2b4a08658956e1d7bf46405b1946211fe5443c | [] | no_license | akashpayne/java-assessments-and-learning | 446134ad571b6d2022fad1e4513e67afc0d9bddd | bc89dd8aca1a3adaa44de88d6ec991b77b4e708d | refs/heads/master | 2021-01-01T20:31:41.888904 | 2017-08-04T11:38:45 | 2017-08-04T11:38:45 | 98,881,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,463 | cpp | /* FsHandler.cpp */
#include "mbed.h"
#include "FsHandler.h"
#define DEBUG
#include "hl_debug.h"
static int matchstrings(const char* one, const char* two)
{
int m = 0;
for (m = 0; m < min(strlen(one), strlen(two)) ; m++) {
if (one[m] != two[m])
return m;
}
return m;
}
std::m... | [
"akashpayne@gmail.com"
] | akashpayne@gmail.com |
dab937508fbfac6bf702d93972ec537bf975cb1c | f83e2e28e9b8a19a4b261c83ac3bc38f0aab9b45 | /6th sem/fs/pgm6.cpp | 7c8475df7d8042aff826c9ee5c9ce86393c40458 | [
"MIT"
] | permissive | rohanwe/VTU-IS-LAB-MANUAL | 373cc1560d334363929f7aecfdde4aeadca29d3a | 4aeafca034d0b32c413c1aabf8a6ce051eeacc1f | refs/heads/master | 2020-05-18T19:40:36.519331 | 2019-03-14T08:54:14 | 2019-03-14T08:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,828 | cpp | #include<stdio.h>
#include<conio.h>
#include<string.h>
#include<iostream.h>
#include<process.h>
#include<values.h>
#include<fstream.h>
#include<stdlib.h>
class record
{
public: char name[20], usn[20], branch[20], ind[5];
} rec[20];
char st_no[5];
int no=0,no1;
record re[20]={NULL};
record re1[20]={NULL};
void pr... | [
"noreply@github.com"
] | noreply@github.com |
b796670ce3af6bd34cdcc2491b15770520195bc5 | 50c03f22963fa6b98a96d6e4c5a412b5429327ce | /Lines/PaintObject.h | 645bec26f538d5ca96436e6ccb35db0219863684 | [] | no_license | Diodex/Lines | 05bfd03e1e28df249aef735696bf35823d29d72e | 002d643022681d3b9f4192d9c75db6066d0e8dd9 | refs/heads/master | 2021-01-22T09:58:05.089039 | 2013-12-09T04:03:34 | 2013-12-09T04:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | #ifndef PAINTOBJECT_H
#define PAINTOBJECT_H
#include <QtOpenGL>
#include <iostream>
class PaintObject abstract{
public:
virtual void paint() abstract;
virtual ~PaintObject();
};
class Desk : public PaintObject{
public:
void paint();
};
class GamePoint : public PaintObject{
private:
int id;
public:
static i... | [
"Petrigr@gmail.com"
] | Petrigr@gmail.com |
d7b749962df8a407ae3fff0e48f9f950a623c491 | d33fb052605cc62a7c0261679415aca909a84b83 | /thrift/lib/cpp2/server/Cpp2Worker.cpp | 282feafb3141e26387c2a0c5638237d8522e4d94 | [
"Apache-2.0"
] | permissive | UIKit0/fbthrift | 148bd256b4b1dc54713b36dc113b12e97fe61e56 | 89a574dc5948419b1f8d0f3c509aa8a5356d46d7 | refs/heads/master | 2020-12-26T01:28:48.384313 | 2014-03-15T00:56:22 | 2014-03-18T17:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,329 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | [
"davejwatson@fb.com"
] | davejwatson@fb.com |
4e3787ec91acec46976701a45415ef46b693f289 | b6fcf4c5c9277c055c42227ef0e1eb358462eb08 | /IMU_sample_code.ino | d1e8ca9889f7c851fedf38bd6a6a653657adba98 | [] | no_license | alex-dinh/Quadcopter | 24b8357f5b787dc4f79a776e5b9ab0bfad67adc1 | b2cf609a6b9b8e6f57c153c6ebc21207ce3400ae | refs/heads/master | 2021-06-16T11:12:55.063263 | 2017-05-09T23:20:39 | 2017-05-09T23:20:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,790 | ino | /* This code is a simplified example that prints out all readings from the IMU.
* Three types of sensors - accelerometers, gyroscopes, and a magnetometer -
* provide 3-axis acceleration data, 3-axis rotational velocity data,
* and compass heading data.
*/
/* Include libraries required for IMU sensor */
#i... | [
"noreply@github.com"
] | noreply@github.com |
13c11540d98a1b80027b03291c1dd35fbb8fc4ca | fb2a6fe5ec47d91b728f1e1c2efb82c979eae8c2 | /src/tdme/engine/subsystems/postprocessing/PostProcessingShaderBlurImplementation.cpp | b9e067899c15f5b7175b421e9c3b906263c3b63c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | whztt07/tdme2 | 1b324e40c4613a3ab84238d94d1225cdb317ed3f | 3f3dbad4c6db565f934c4f8d73096e975bca9a92 | refs/heads/master | 2020-06-25T23:54:25.977088 | 2019-07-22T21:16:51 | 2019-07-22T21:16:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,598 | cpp | #include <string>
#include <tdme/engine/Engine.h>
#include <tdme/engine/subsystems/postprocessing/PostProcessingShaderBaseImplementation.h>
#include <tdme/engine/subsystems/postprocessing/PostProcessingShaderBlurImplementation.h>
#include <tdme/engine/subsystems/renderer/Renderer.h>
using std::string;
using tdme::en... | [
"andreas@drewke.net"
] | andreas@drewke.net |
f1ec2715c3607881b8e0d97c0805acc937362c03 | 902e56e5eb4dcf96da2b8c926c63e9a0cc30bf96 | /Sources/Modules/Network/NetworkException.h | 6c68bbda3f2166bf2afa3cb07b08bd03e1d5363b | [
"BSD-3-Clause"
] | permissive | benkaraban/anima-games-engine | d4e26c80f1025dcef05418a071c0c9cbd18a5670 | 8aa7a5368933f1b82c90f24814f1447119346c3b | refs/heads/master | 2016-08-04T18:31:46.790039 | 2015-03-22T08:13:55 | 2015-03-22T08:13:55 | 32,633,432 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | h | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | [
"contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c"
] | contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c |
e5a2de39e442de35c312db7e586fa0e1993e6f9b | 4c25a53fa056be45c7c55bb95c20e5ce24d18df6 | /src/core.cpp | 5879bde0f5b7b9ac4888a9e7c4a799879c81698c | [
"BSL-1.0"
] | permissive | ohmin839/cxxpznn1 | 22808492e74b05a3ef8dd675771e80428870455c | 220344e90339aba6e72c30ac8837ad0d2464290c | refs/heads/main | 2023-06-05T08:17:50.610342 | 2021-06-24T14:45:21 | 2021-06-24T14:45:21 | 372,162,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,854 | cpp | #include "cxxpznn1/core.hpp"
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
namespace cxxpznn1
{
// Grid
Grid::Grid(unsigned int size, int** grid)
{
this->size = size;
this->grid = grid;
}
Grid::Grid(const Grid& other)
{
this->size = oth... | [
"ohmin@example.com"
] | ohmin@example.com |
a6ec567f427c910c2776d7e7680d8ddcb6efaaa9 | b5881a2a068172e356c308ca469b8670e44c3ea6 | /ortools/math_opt/validators/enum_sets.cc | 89cc967b73eefecd7b7c6f56964f2875e6e3ea5b | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bhoeferlin/or-tools | b675fecece9a788cae58ab87f2ba774b9b307728 | dfdcfb58d7228fa0ae6d0182ba9b314c7122519f | refs/heads/master | 2022-02-21T16:38:31.999088 | 2022-02-08T14:27:44 | 2022-02-08T14:27:44 | 141,839,304 | 0 | 0 | Apache-2.0 | 2020-11-06T17:03:34 | 2018-07-21T19:08:59 | C++ | UTF-8 | C++ | false | false | 2,603 | cc | // Copyright 2010-2021 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"corentinl@google.com"
] | corentinl@google.com |
f746b8c63a122e31f7ecc1dbb3d900907cb6b3e2 | c85883e9ec631dd2bc68ee85d83e9527d280857f | /Source/SkookumScriptRuntime/Private/Bindings/SkUERemote.cpp | 8008ed24168a3faf0a846f42eee78dd326ad1e2b | [] | no_license | FaithStudio/SkookumScript-UnrealEngine | a98760171c5b3151e9d43686adb7d7e50fd9e56d | 3da067adfb061e2a7dec2e0d4be29e9991629dc4 | refs/heads/master | 2021-01-13T04:20:11.898975 | 2016-12-22T22:52:45 | 2016-12-22T22:52:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,483 | cpp | //=======================================================================================
// SkookumScript Plugin for Unreal Engine 4
// Copyright (c) 2015 Agog Labs Inc. All rights reserved.
//
// SkookumScript Remote Client
//
// Author: Conan Reis
//==================================================================... | [
"markus@agoglabs.com"
] | markus@agoglabs.com |
83ce7ace370c16de0f1f011f3af015aa4d3238c8 | 836cf25c75ffcced8c1131b5af02fc7289ccdba6 | /capturevideothread.h | 6ab2c999d6440ea0b642c8b65f984d06f3da9b3f | [] | no_license | Astar-Li/RTMP-push-stream-based-on-Qt-and-FFMPEG | 5e28c59cd92199fd874a23175f0103eb82a69814 | d94a217911201df449d885560021591456982db3 | refs/heads/main | 2023-04-26T01:44:01.510161 | 2021-05-16T13:26:25 | 2021-05-16T13:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | h | #ifndef CAPTUREVIDEOTHREAD_H
#define CAPTUREVIDEOTHREAD_H
#include <QThread>
#include <QImage>
#include <QMutex>
#include "ffmpegheader.h"
class CaptureVideoThread : public QThread
{
Q_OBJECT
public:
CaptureVideoThread();
~CaptureVideoThread();
ErrorCode init(QString videoDevName);
... | [
"noreply@github.com"
] | noreply@github.com |
ecfcef95d33bc9b6b7200ea990f3140b5d2f6f62 | b27505827568a99ef06c978d0a40a20d6e683da2 | /create link list.c | 6fe7b76dcb939a2dbd9b252ee8b6c612cdb59ff7 | [] | no_license | akshitak/DSA-practicals | 35856727d352ba21befc38e65dfb739410e1a62b | 7d6cae131f7b13c1fcad8369180717e26e84b0b9 | refs/heads/master | 2020-04-08T04:54:23.250789 | 2018-11-25T15:26:09 | 2018-11-25T15:26:09 | 159,036,950 | 0 | 1 | null | null | null | null | ISO-8859-7 | C++ | false | false | 1,204 | c | #include <stdio.h>
#include <conio.h>
#include <ctype.h>
#define MAX 100
float st[MAX];
int top=1;
void push(float st[], float val);
float pop(float st[]);
float evaluatePostfixExp(char exp[]);
int main()
{
float val;
char exp[100];
printf("\n Enter any postfix expression : ");
gets(exp);
val = evaluatePostfixExp... | [
"2812akshitak@gmail.com"
] | 2812akshitak@gmail.com |
58c3a61f156be3d37b2575e5d52022e6efc997a2 | 182845e81e4d7b675e876f01beef704e08cd6ac0 | /hpp/iOSDevice64/Debug/uTPLb_RSA_Primitives.hpp | 093288f0bb82155082ca60e16cf13e95b43d10c0 | [] | no_license | jiehanlin/LockBox3 | 2d82ec172d7132a48d3c1a390a7e844804910613 | d760a891ab3ecff373ae5b34b7bb993a69229d5b | refs/heads/master | 2021-01-19T02:23:35.941577 | 2016-09-26T00:38:48 | 2016-09-26T00:38:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,003 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uTPLb_RSA_Primitives.pas' rev: 31.00 (iOS)
#ifndef Utplb_rsa_primitivesHPP
#define Utplb_rsa_primitivesHPP
#pragma delphiheader begin
#pragma option push
... | [
"roman.kassebaum@kdv-dt.de"
] | roman.kassebaum@kdv-dt.de |
d38d88c4aa6f503686a271f748d0fc7dff19c34b | 2453a74bbbb03ff964ebf8b9e6b246819b292875 | /S3/Algo/TP8_Algo.cpp | 9e14571f0453b9bcaaa70285bfeb22e02f6f9674 | [] | no_license | BrinonBat/Licence-Informatique-Angers | 8703fdfe43fb3b580ca2e2b0175d8dd124dffffd | 1df1f8a3d9f905372315253891c8bb9d8fee4f58 | refs/heads/master | 2021-07-25T12:33:33.928178 | 2020-04-17T16:01:03 | 2020-04-17T16:01:03 | 150,735,799 | 1 | 5 | null | 2020-02-25T13:48:44 | 2018-09-28T12:15:37 | C++ | UTF-8 | C++ | false | false | 2,174 | cpp | #include <iostream>
#include <cstdlib>
#include <time.h>
#include <array>
//DEFINITION DES STRUCTURES
struct noeud;
struct noeud{
noeud * abG;
noeud * abD;
int val;
};
using ABR = noeud*;
// initialisation de l'arbre en lui attribuant les valeurs prisent en paramètre
void init_abr(ABR &abr, ABR abG, ABR abD, int... | [
"noreply@github.com"
] | noreply@github.com |
586eb4d12cdf564b4b07b4e016f7d18195199b82 | ee80ddf7d1de919847f1072f83c9ee3e3deeae02 | /gwell/source/vi-kernel/vinodedescr.hh | def29c380617184f1696c330780937fbb06795e2 | [] | no_license | pjakwert/gwell3d | 8bef1d3616810e6a79aff12869f164cdff0ac8b5 | 798b928d91864ba7f2ed5b9ccd46b3d6a693908c | refs/heads/master | 2020-03-26T00:42:58.091397 | 2018-08-10T21:48:12 | 2018-08-10T21:48:12 | 144,333,776 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 6,174 | hh | #ifndef VINODEDESCR_HH
#define VINODEDESCR_HH
#ifdef __GNUG__
#pragma interface
#endif
#include <iostream>
#include <string>
#include "extstring.hh"
/*!
* \file vinodedescr.hh
* Plik zawiera definicję klasy ViNodeDescr. Obiekty tej klasy wykorzystywane
* są w funkcjach i metodach odczytu z plików opisów brył.
... | [
"pjakwert@gmail.com"
] | pjakwert@gmail.com |
132d9a5505395ca33cc4c3025ff643dc1818cbfb | bd92e3045d69e23e814e789570c11de3809bd4ae | /Chapter-1/Exercise-F/CPP/Temperature.cpp | 0c16259d69a39383a31718d5af0349259e18b9fb | [] | no_license | jbasu2013/Let-Us-C | f25127c506cc80aefae88a873759e316df0f39c0 | 64cc1f7e2e9086321dbd181bfd3cecc905892890 | refs/heads/master | 2023-06-15T05:41:53.124345 | 2021-07-13T18:39:43 | 2021-07-13T18:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | /* Author : Chaitaly Kundu
Date: 18-04-21 */
/* Temperature of a city in fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into centigrade degrees */
#include<bits/stdc++.h>
using namespace std;
/* main function */
int main()
{
float c, f;
cout << "\nEnter the tem... | [
"chaitaly.slg01@gmail.com"
] | chaitaly.slg01@gmail.com |
772f200a37b4f8848d75cb85d8f0301e883b918c | 9d6947462a91a1bd5e73af40db3b75d8eb4b53db | /hw2/Graph-1414.hpp | 9c556403d15c2995308a3455934253697f9b201c | [] | no_license | lalyman/peercode | 5081c6edb4a50d3d80105674ad03a08706839a89 | 46753e2f561a62a11bc9f1ef0ec8823533218144 | refs/heads/master | 2020-03-11T01:06:24.081274 | 2018-03-10T23:05:50 | 2018-03-10T23:05:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,064 | hpp | #ifndef CME212_GRAPH_HPP
#define CME212_GRAPH_HPP
/** @file Graph.hpp
* @brief An undirected graph type
*/
#include <algorithm>
#include <vector>
#include <cassert>
#include "CME212/Util.hpp"
#include "CME212/Point.hpp"
/** @class Graph
* @brief A template for 3D undirected graphs.
*
* Users can add and retri... | [
"clazarus@rice12.stanford.edu"
] | clazarus@rice12.stanford.edu |
90484c6866034ecaed145fb0b64e04526193e692 | 37c98c1185ca84509699a2e98254a1b319d59826 | /test/testConnectDisconnect.cpp | d0cc5cb5fbb87233e2ec733a055588187dfabfc5 | [] | no_license | AleksKots/Manitou | 8a097e38772943e379dd2a7d08401aa7ba2e1ec3 | 8611a75be924b4ec71a95b9f0cdf904373b39e82 | refs/heads/master | 2020-12-25T13:23:16.372221 | 2011-12-14T15:05:05 | 2011-12-14T15:05:05 | 3,127,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | #include <QString>
#include "testConnectDisconnect.h"
#include "RegistryTest.h"
#include "db.h"
std::string TestNames::connect(){ return "Connect"; }
std::string TestNames::disconnect(){ return "Disconnect"; }
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(testConnect, TestNames::connect());
CPPUNIT_TEST_SUITE_NAMED_REGISTRAT... | [
"i.zemlyansky@vniins.ru"
] | i.zemlyansky@vniins.ru |
8e29e2b36a17d3a0e294c02113bcf55fa4f4ba22 | ef34de2efecd0c98854c1a34d21b54277bb30e9d | /hw8/ppm2pgm/ppm2pgm/ppm2pgm.cpp | d0be0c69a950b0c9b5df7d2fa7549e73cea580bf | [] | no_license | nowirak/cs201 | 9ce92bae90af15e4ae32d80048d098d9b2fbe17f | 2a3f6833b583760a7e9574f3d64abed5be1eabb3 | refs/heads/master | 2023-04-11T05:09:01.165269 | 2021-04-30T07:37:19 | 2021-04-30T07:37:19 | 332,578,018 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | /**
filename: ppm2pgm.cpp
author: Nick Wirak (adapted from Dr. Genetti work)
date: 4/26/2021
summary: This program creates a greyscale ppm image file from a RGB ppm image and
outputs the representation to a text file named 'pgmImage.txt'. The input
image file should be titled 'parrot.ppm'... | [
"Nick@DESKTOP-AR2LNGC"
] | Nick@DESKTOP-AR2LNGC |
a11fff56f8733dfd0565ba64c1309b650da8c361 | d9a452cee35f3341fbcf3224a9e6fd60e15a6fd6 | /src/camera.cc | 96d873784fb956fa852002780f654009caf83e1e | [
"MIT"
] | permissive | yc-feej/Ray-Tracer-COMS-W4160 | 83799258db15b92c23f5b833eba7a678012185f4 | dafc4ba392af7ab754ef47bc1c0b0d7961f86772 | refs/heads/master | 2022-01-04T20:29:59.179639 | 2019-05-28T18:25:30 | 2019-05-28T18:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,923 | cc | #include <vector>
#include <cmath>
#include "basicmath.h"
#include "camera.h"
#include "ray.h"
#include "sphere.h"
#include "triangle.h"
#include "light.h"
void Camera::init(mypoint position,
myvector direction,
double focallength,
double imagew,
double imageh,
in... | [
"noreply@github.com"
] | noreply@github.com |
26be2ae56bc940c8663ccb775c98c3b62f469154 | 42180085e2f9ed8f6edbeb09ae1a2c497c2882d1 | /src/base58.h | d54845ade05573cf6cc3e9f3d9c23cc444e6fec8 | [
"MIT"
] | permissive | GalacticFederation/blemflark | 351be868467fbd814de8a285e6d4c611b154bc4e | c349e5afc560fff581d431c0a343fff1a02c6e05 | refs/heads/master | 2021-05-15T07:04:00.041219 | 2018-02-18T17:22:05 | 2018-02-18T17:22:05 | 112,434,619 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,796 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Why base-58 instead of standard base-64 encoding?
* - Don't want 0OIl cha... | [
"galacticfederationheadquarters@gmail.com"
] | galacticfederationheadquarters@gmail.com |
aba1b002aa2ea5eb15c8a0687efc28066f0518ca | 395833de59e625da5a0c8c9c4f6ea3320cefabfb | /MikuMikuGameEngine/engine/core/graphics/TextureAtlas.h | 6bbc9241c9eaccc4c1a705fb40c246cd7e542a56 | [] | no_license | dugong001/MikuMikuGameEngine | e7214c62bf86aee72d3b14f63268cfab1bab08e1 | 3621580da9ee3dc2c244fc182de53d31dfbd7e80 | refs/heads/master | 2020-03-27T18:26:27.296118 | 2013-02-23T12:05:18 | 2013-02-23T12:05:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | #pragma once
#include "Texture.h"
#include "../util/CharSet.h"
struct sChipInfo
{
int x;
int y;
int width;
int height;
int cx;
int cy;
};
class TextureAtlas : public IResource
{
private:
TexturePtr m_texture;
std::map<tstring_symbol,sChipInfo*> m_chipList;
public:
TextureAtlas();
vi... | [
"miyabi@circle-chips.com"
] | miyabi@circle-chips.com |
0d964bdd4dceb35059bcb091473a8eb00fb2dd78 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen1637735142.h | 1ab4175a7a8771da922116f9b3eb17375b5d20d9 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3640485471.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ign... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
32f8ea1c67cb1e163d1cf283560f82224c6f66fb | 2f5f6356312b1325da149d39e9f553e0cfeb3525 | /hwcpplib/spice_simulation.hpp | 0751ccfaa7e92bda1bab81d6baa9a2ce9190dd46 | [] | no_license | teqdruid/hwlib | f6d9f15318b7d7f6294998a1249de0628f34fdfe | 4946384c661579a4ad3d2ca5bf5ee977619dfc12 | refs/heads/master | 2021-05-27T15:22:53.250023 | 2014-11-12T23:17:29 | 2014-11-12T23:17:29 | 10,254,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | hpp | #ifndef __SPICE_SIMULATION_HPP__
#define __SPICE_SIMULATION_HPP__
#include <string>
#include <vector>
#include <map>
#include <set>
#include <limits>
#include <cmath>
#include <cassert>
#include <boost/shared_ptr.hpp>
namespace hwlib {
#define MAX_MONITOR_NODES 8
class Monitor {
public:
virtual std::vector<std::... | [
"jdd@cs.columbia.edu"
] | jdd@cs.columbia.edu |
7943b2805a16f29b4b91025557f559bdfe66c35c | 64caeb557da46aa4e7647268b9ed32b3078782a6 | /z80tzxGUI/z80tzxGUIDlg.cpp | 6b0f2cf0da6b044d89fbbf9bad9364d33d750821 | [] | no_license | rcmolina/z802tzx3 | 8f690046bfcb2effa976c4ec30a4c9a32a1b71bf | 8329ce2a9a106db20558003d13faab835cdfad24 | refs/heads/master | 2023-08-31T11:31:05.797676 | 2023-08-30T20:04:07 | 2023-08-30T20:04:07 | 124,954,218 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,297 | cpp | // z80tzxGUIDlg.cpp : implementation file
//
#include "stdafx.h"
#include "z80tzxGUI.h"
#include "z80tzxGUIDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define MAXs 11
int speed[MAXs];
CString StrFile;
//////////////////////////////////... | [
"noreply@github.com"
] | noreply@github.com |
a1812e6102c922728e475d0c1a398456064aa042 | 89191f594c4997d8b0917f153a827009724156f7 | /Projeto 2/Shift.cpp | f7d45d8df45a00aec351edc5e80f36cc0a7974d9 | [] | no_license | Cesar-Medeiros/Bus_Schedule | 4ceaf5c5e655fbb4ddc89f97d2ce3280a35a61d9 | 9e0ef2c57e9759c201b9be146c5b84b333501168 | refs/heads/master | 2022-01-30T22:51:17.133757 | 2017-05-18T23:32:16 | 2017-05-18T23:32:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include "Shift.h"
Shift::Shift( unsigned int line, unsigned int driver, unsigned int bus, unsigned int start, unsigned int end){
busLineId = line;
driverId = driver;
busOrderNumber = bus;
startTime = start;
endTime = end;
}
// metodos get
unsigned int Shift::getBusLineId() const{
return busLineId;
}
uns... | [
"cesar.mnm@gmail.com"
] | cesar.mnm@gmail.com |
781d68d287786332845a6a420db3b9195468d651 | 502fa3078c3cef2702797de78bec6ee9b87195c3 | /Tic_Tac_Toe/main.cpp | 1ac6ca705ad0abb78e5ac8005b5c1f65a8a41690 | [] | no_license | Satyajit-Malakar/C.G_Project_Tic_Tac_Toe | 88472df2b08a232254c7adf5ca93765e326bf2f7 | 9bc9d86d3c6e0724089f2255dfe8e23644f947f4 | refs/heads/main | 2023-04-16T03:43:29.793580 | 2021-04-27T03:08:28 | 2021-04-27T03:08:28 | 361,963,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,191 | cpp | /// Tic Tac Toe
/// Computer Graphics
/// Sec: A
/// MAZUMDER, URMILA 18-36549-1
/// MALAKAR, SATYAJIT 18-36797-1
/// SHOME, PRAJNA SHIRSHO 18-36805-1
/// AHAMED, FAHIM 18-36835-1
#include<windows.h>
#include <GL/glut.h>
#include<iostream>
using namespace std;
int First_player=0,Second_pl... | [
"noreply@github.com"
] | noreply@github.com |
fd945d0f420a85cc8c4c53fa4b9060dad1286a9f | b047dd83f5d6b431f41854a0c859f3a01f9bac2d | /mapper/libstreetmap/src/common.h | 56f24f8557fe7a43264fba1961f912816775a397 | [] | no_license | abhi-p/MAP4U | 21f77a00fc5af0769f0864a9ccfe730c8774d5d0 | 3207dad8e10564261bb7aba5ea23ab302fe634db | refs/heads/master | 2021-06-18T05:46:29.382541 | 2017-06-11T22:37:44 | 2017-06-11T22:37:44 | 94,035,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,735 | h | /*
* File: common.h
* Author: sampanth
*
* Created on January 25, 2017, 11:46 AM
*/
#ifndef COMMON_H
#define COMMON_H
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/index/rtree.hpp>
#define numberOfIterationbeforeOverFlow 40
//Calling the boost library for ... | [
"noreply@github.com"
] | noreply@github.com |
d5133f74b5799cff3fd08576301fb644c2e28c1d | 3abe45130d4f614f68c6551b59014a20d3470b58 | /src/yaadi-cli.cpp | efc1c49b0caa3ef1f874a4e1239af810209fea87 | [
"MIT"
] | permissive | dre060/YAADI | faab94150263848ef16fe6a865cff7d2a7893e00 | cdb07c723f559ce883e33d64bce55b6ee5539142 | refs/heads/main | 2023-05-17T15:01:43.672809 | 2021-06-06T04:23:41 | 2021-06-06T04:23:41 | 374,243,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,628 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2009-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018 The yaadi developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING o... | [
"ipedrero84@gmail.com"
] | ipedrero84@gmail.com |
a85404de365c784bdb8a09da56784b5ed9a800db | 0303fd0899737f98e74f77c5dfcb900cb20d5f97 | /DefTPSTemplate_/Source/DefTPSTemplate_/AI_Chase/FollowAI.cpp | 582d328057ca321856e9756b5a293f3c7993123e | [] | no_license | akatokikwok/CommonPluginsDemo | b39e0de141363c9ffd18733e9ac3bf5e64dda9be | 00585831d8ebc1938584a451b9fcd793f530d66f | refs/heads/master | 2023-08-21T07:33:12.124611 | 2021-10-26T07:55:08 | 2021-10-26T07:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FollowAI.h"
#include "..\Runtime\AIModule\Classes\BehaviorTree\BehaviorTreeComponent.h"
#include "..\Runtime\AIModule\Classes\BehaviorTree\BlackboardComponent.h"
#include "..\Runtime\AIModule\Classes\BehaviorTree\BehaviorTree.h"
... | [
"guorenbin30@gmail.com"
] | guorenbin30@gmail.com |
b8173ad928558120546333f3be02fc3c84d218e2 | ffe4c172649da78b431f35ed542925f9de0ee2a4 | /src/LcdInterface.cpp | 380753f2cad7c3b91156542a755d39df751ccf28 | [] | no_license | hkust-smartcar/Magnetic15-T2 | 559a88c7efc031bc7266e969eb4a841f5b92f3f4 | 6b800da4672599f64acafdc0728aab52439863de | refs/heads/master | 2021-01-22T01:05:51.408257 | 2015-03-14T05:01:44 | 2015-03-14T05:01:44 | 31,605,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | /*
* LcdInterface.cpp
*
* Created on: 18 Feb, 2015
* Author: Travis
*/
#include "LcdInterface.h"
using namespace libsc::k60;
St7735r::Config getLcdConfig(){
libsc::k60::St7735r::Config config;
return config;
}
LcdTypewriter::Config getLcdWriterConfig(libsc::k60::St7735r *lcd){
LcdTypewriter::Config conf... | [
"yiutingtang@gmail.com"
] | yiutingtang@gmail.com |
921b1425f9de0ba83b26d861ed543e15cdb04377 | d0bfd49ff4e7abc04c2431cf76ce833a03568c96 | /src/vast/concept/parseable/vast/uuid.h | 980a72fb58992ecc6e0322a6b8cc6ad961cc8ddf | [
"BSD-3-Clause"
] | permissive | pmos69/vast | 3896a2a5cae33fb866053532c4171b8d59c8f989 | b95576ed4b41fed8ed29e50c8b8590fb51c511ae | refs/heads/master | 2021-01-21T15:17:57.929700 | 2015-11-17T16:28:11 | 2015-11-17T16:28:11 | 43,690,048 | 0 | 0 | null | 2015-10-05T14:39:54 | 2015-10-05T14:39:54 | null | UTF-8 | C++ | false | false | 1,932 | h | #ifndef VAST_CONCEPT_PARSEABLE_VAST_UUID_H
#define VAST_CONCEPT_PARSEABLE_VAST_UUID_H
#include <algorithm>
#include "vast/uuid.h"
#include "vast/concept/parseable/core/parser.h"
namespace vast {
struct uuid_parser : parser<uuid_parser> {
using attribute = uuid;
// TODO: parser for unused type.
template <typ... | [
"vallentin@icir.org"
] | vallentin@icir.org |
6c8fa329967ae1395c4453c35a58bb18d0a4600a | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS/GeometrieVerarbeitung/Maschenbildung/LINVER.CPP | 5a4fc974d85c7c97bc6d3566bd444d53448ca960 | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,078 | cpp | /*
File: LINVER.CPP (Version für MFC 4.2)
Allgemeine Schnittstelle zu TRiAS.
Erarbeitet: J. Benkenstein Stand vom 12.09.1996
*/
#include "pheader.h" // vorübersetzte Header
#include "resource.h" // RessourceKonstanten
#include <xtsnaux.hxx> // ExtOleRegisterClass () u.a.
#include <registrx.hxx... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
92900fd5cfa579da093d9f5c4cd4aac18949f381 | 70e9690ba284a972ebb26c0b49b60331139a8891 | /Solutions/N queens Problem.cpp | ef3cc4c743d8fc733118ff63dde9ab5deb550442 | [] | no_license | SandeepMaithani/Problem_Solving_Placement_series | b04b81b790905f4815d7f1ee97648639d31b4b17 | 6443e70e5b13f7dc37b78c8971e81f8b262c7dbf | refs/heads/master | 2023-01-13T07:51:34.852582 | 2020-11-20T18:04:31 | 2020-11-20T18:04:31 | 276,155,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,002 | cpp | /*
Using Backtracking Verdict : Accepted
Hackerearth solution
*/
#include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
typedef long long ll;
bool solution = false;
bool noattack(vector<vector<int>>&board, int i, int j, int n) {
for (int row = 0; row < i; row++) {
if (board[row][j]) {
... | [
"sandeep1137@gmail.com"
] | sandeep1137@gmail.com |
28148c6c0aa8997d204b2575c781bafbdae78df2 | 88a49a4e9db1559230557ea21fd491528a355f36 | /GTree.h | d0fde6a99be82ffd048f50438dfbe84de5f71215 | [] | no_license | hliluuqiuqiu/data-structure | d30bd13f1c7d84e3e1cbf620b7924948755654ca | 960885973098fd6956a819d4e58851787b09f64c | refs/heads/master | 2020-03-17T00:18:20.655127 | 2018-11-16T08:49:41 | 2018-11-16T08:49:41 | 133,111,364 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,118 | h | #ifndef GTREE_H
#define GTREE_H
#include <iostream>
#include "LinkQueue.h"
#include "Exception.h"
#include "GTreeNode.h"
#include "Tree.h"
namespace SQHLib{
template <typename T>
class GTree : public Tree<T>{
private:
//GTreeNode<T>* node;
protected:
LinkQueue<GTreeNode<T>*> queue;
void free(GTreeNode<T> ... | [
"sh282404472@aliyun.com"
] | sh282404472@aliyun.com |
2a430f54dbec72b1e4af8a14873ae5153bcbbeb5 | 34f1d5efff40e88b1ea7ad2d1ae336cdad1d2d93 | /cpp/cpp-exercises-A/question-4.cpp | 01a353cf02f7cf33333bd57ec8e9dfb0eb89143a | [] | no_license | jacques-twizeyimana/codes | 228e8e3dd5cf135a294cf72553fabb9f69d8de55 | d47a4294d2e0d711b02bd631dae0c7e0ee34c6f3 | refs/heads/main | 2023-06-09T21:31:08.818584 | 2021-06-30T18:00:28 | 2021-06-30T18:00:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include<iostream>
using namespace std;
double num1,num2;
void swapNumbers(){
double temp = num1;
num1 = num2;
num2 = temp;
}
int main(int argc, char const *argv[])
{
cout << "Enter first number:\t";
cin>>num1;
cout<<"Enter second number:\t";
cin >> num2;
swapNumbers();
cout << "Aft... | [
"="
] | = |
ecaa2fce168847bd786b471d6802c5f48ceac19e | 4873e1497dc43da9faeb611c6e6fa4b85a5954af | /sources/include/mpxx/mpxx/file.hpp | cfd113c2ff4bf6988b78e1e52ee1f701fc65d36f | [
"MIT"
] | permissive | ddway2/mpxx | d080867057483f43725eb4ee3f26c146b37db898 | 121ff9347a01f39d74a4fd2bd20d134ea5005da6 | refs/heads/master | 2022-07-18T02:15:24.828900 | 2020-05-19T07:39:40 | 2020-05-19T07:39:40 | 256,783,925 | 0 | 0 | MIT | 2020-04-18T15:12:52 | 2020-04-18T15:12:51 | null | UTF-8 | C++ | false | false | 2,661 | hpp | #ifndef __MPXX_FILE_H__
#define __MPXX_FILE_H__
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <ios>
#include <string>
#include <fstream>
#include <stdexcept>
#include <mpxx/msgpack.hpp>
namespace mpxx {
template <typename T>
class file
{
public:
bool load(T& v, co... | [
"remy.chibois@expandium.com"
] | remy.chibois@expandium.com |
0251d63d4ddede45b0193b08ed16440eed1dca85 | 3d457daa38eba26fb202386da23cfa90519b35a8 | /gen.cpp | 9ac9538817529a32d43472cdef87d63f83e62ae1 | [] | no_license | V0rt-x/load_destribution | f00f7c28bdbb90355159e89f206137bba19e1610 | b13114ef0160650cc6a16555c1dfe91ccd4fd25d | refs/heads/master | 2020-05-16T14:32:32.821374 | 2019-04-23T22:57:21 | 2019-04-23T22:57:21 | 183,106,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,363 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <vector>
#include <ctime>
using namespace std;
void input_data(int &, int[3], int[4], int &, int[4]);
void read_from_file(int &, int[3], int[4], int &, int[4]);
void read_from_cin(int &, int[3], int[4], int &, int[4]);
int generator(int, int[... | [
"noreply@github.com"
] | noreply@github.com |
c2b8568ea476f957d327d2e041ef533275e81bdf | af3d30c34f39ebaab465c2a8e56e1d2e873c37ec | /Figure.cpp | a0fe87f46b3a5f4004648da20114bdf78ac6ef26 | [] | no_license | C-Coretex/Allegro-Game | bf62f82c2b6a6dd69907d89c3548e7e527a71b30 | d699dd0a35276a6fb773de1ba5a7ec349cb129b3 | refs/heads/master | 2022-11-09T18:59:18.809544 | 2020-06-13T09:23:49 | 2020-06-13T09:23:49 | 271,385,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include "Figure.h"
#include <stdlib.h>
#include <cmath>
Figure::Figure(int SCREEN_W_, int SCREEN_H_):
SCREEN_W(SCREEN_W_),
SCREEN_H(SCREEN_H_)
{
Reset();
}
Figure::~Figure(){};
void Figure::Reset()
{
x_ = rand() % SCREEN_W;
y_ = rand() % SCREEN_H;
dx_ = 10.0 - rand() % 21;
dy_ = 10.0 - r... | [
"valerash2@gmail.com"
] | valerash2@gmail.com |
b8ad496634a7f9a29d23cd66d7d2abba9e913363 | 5832f65747e6142d1b8de9d46aa507092782aafc | /Codeforces/275028/a/a.cpp | af5ba7af271c140e1610dd8d6ec6820f4d079537 | [] | no_license | subhashreddykallam/Competitive-Programming | 64cc42c5b23c03536187a1bb54e2b2ed82ee7844 | 973b66b4eb81352b98409ca52fa3aa75c28d8b6f | refs/heads/master | 2022-05-28T21:07:43.012922 | 2020-05-05T20:34:20 | 2020-05-05T20:34:20 | 226,814,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cpp | # include<bits/stdc++.h>
# include<unordered_map>
# include<unordered_set>
using namespace std;
# define ll long long
// # define ll int
# define vll vector<ll>
# define vvll vector<vector<ll> >
# define vchar vector<char>
# define vstr vector<string>
# define vpll vector<pair<ll, ll> >
# define mll map<ll, ll>
# defin... | [
"42376739+Storm1seven@users.noreply.github.com"
] | 42376739+Storm1seven@users.noreply.github.com |
f8b7c889f5b294a7bdcb861c23a55c9548ed4dfd | cc82523c038530a07c4544663c0b9a5e423ead9c | /Source/Hodunk/HodunkGameMode.cpp | c44f356598aa73bdad786c4ec71c53447faf981c | [] | no_license | aaulbrich/Hodunk | 61244769fc4be56e88b095c07e0c80bb58ccc848 | 4ef26565dbec0367929d41532de898113760e981 | refs/heads/master | 2020-04-01T07:51:49.582464 | 2018-10-14T19:13:15 | 2018-10-14T19:13:15 | 153,007,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "HodunkGameMode.h"
#include "HodunkHUD.h"
#include "HodunkCharacter.h"
#include "UObject/ConstructorHelpers.h"
AHodunkGameMode::AHodunkGameMode()
: Super()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClas... | [
"andrew@ulbrichtech.com"
] | andrew@ulbrichtech.com |
f27235c2685f75ca45394b72b22d3cb0ef38cfa3 | 3dac5bf6cd3e61cf1da16ead31de0f88cad08118 | /Teste_trabalho_CG_grauB/Target.h | d0e3a19d1498d7b3313fc1d32ec208bb6ddb8bb2 | [] | no_license | zDontTouch/Trabalho_CG_3D | 66997b2a8636daf6c4413aea4dfd9164bf2b74ff | b6732b286f8b6009d0a3a592b4dd3859ea434ef2 | refs/heads/master | 2021-01-20T08:53:14.501679 | 2017-06-11T05:53:26 | 2017-06-11T05:53:26 | 90,192,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | h | #pragma once
#include "Model_object.h"
#include "Globals.h"
using namespace std;
class Target :
public Model_object
{
public:
int LOCAL_TARGET_PITCH_INACTIVE = 89;
int LOCAL_TARGET_PITCH_ACTIVE = 0;
bool is_active;
bool is_dead;
Target()
{
if (this->pitch == LOCAL_TARGET_PITCH_ACTIVE) {
is_active = tru... | [
"leonardofelini9857@gmail.com"
] | leonardofelini9857@gmail.com |
929cdce7db2b7744a6a154c9832369d5909ffa91 | 82a02c98a78c2a165a0823674c9e6643ca0ccdc9 | /master/main.cpp | 82d41e622146cf94ec8ba9369bec9c8b888ecafb | [] | no_license | ghozifr/GudangGaram | a457fe45bbb5f46d6f133bd23112544f852bd434 | 3b7c97b77be557eb8cacbedb953c0334c065fb1e | refs/heads/master | 2023-06-01T15:51:11.183170 | 2021-06-20T13:18:46 | 2021-06-20T13:18:46 | 378,637,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,795 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <limits>
using namespace std;
struct Passengers{
int num;
string age;
string name;
string country;
string phone;
};
int getOption();
void checkDatabase(fstream &inFile);
void writeData(fstream &inFile, int location, Passengers &inputPassenger... | [
"ghozifr@gmail.com"
] | ghozifr@gmail.com |
a4bb7c1a140f79b4ef41689ac215053e0c7a8264 | b5c2fb15351ed443c058cb83b80ed6767eb13ab2 | /src/wallet.h | 572ecce88975f181ed66a01233e711b9ddbbb9a5 | [
"MIT"
] | permissive | ctgiant/XNA | e183ab6d138f484e91e01741577473dad6d1399e | b6e1afb14ef83617cb2be62bfae9fc470b980b4f | refs/heads/master | 2020-12-02T16:39:57.130683 | 2015-05-06T23:25:24 | 2015-05-06T23:25:24 | 35,175,963 | 0 | 0 | null | 2015-05-06T18:30:21 | 2015-05-06T18:30:21 | null | UTF-8 | C++ | false | false | 25,670 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef XNA_WALLET_H
#define XNA_WALLET_H
#include <string>
#include <vector>
#in... | [
"niitassin@gmail.com"
] | niitassin@gmail.com |
13eb1f07d00ee61dbe736c94bcf3a6d18c3c9020 | 834475cec2d606cc18e3f31dcdb160d33e032328 | /06/DX12Tutorial2_06/Src/Action.cpp | 00e211d39af7db64492c5ef2899b2b51c8703521 | [
"MIT"
] | permissive | tn-mai/DX12Tutorial2 | 803449f55084036928b7ef9827b3ee85b41bb043 | 340b74901680bb7f77b083401e2fc12638462289 | refs/heads/master | 2021-01-20T01:13:45.874361 | 2017-07-27T01:07:49 | 2017-07-27T01:07:49 | 89,241,111 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 27,852 | cpp | /**
* @file Action.cpp
*
* スプライトの動作を制御するスクリプト.
* スプライトの移動、回転、消滅、他のスプライトの生成などの各要素について、
* 目標値、動作時間、間隔といったパラメータで制御する.
*
*/
#include "Action.h"
#include "Json.h"
#include "Sprite.h"
#include "DXMathHelper.h"
#include <algorithm>
using namespace DirectX;
namespace Action {
namespace B {
#ifndef ACTII... | [
"rabitfiver@gmail.com"
] | rabitfiver@gmail.com |
da19654a31e27188e8da2de57d1aea3f3f21e21c | 2b68af9646b435a38b0d3af0513596ee8f011856 | /LSGDEngine/Engine/HWindowFrameWindows.cpp | 01e74a0d5677a65d3c1286dd3b924cc7f0776898 | [] | no_license | hhg128/LSGDEngine | 8a5e19c0b73de72fd9349235f6da07fe62ae6590 | 92943c0847dc0880ae7c353ff69a2133c82c0dae | refs/heads/master | 2020-05-07T16:42:10.886402 | 2019-04-05T04:53:48 | 2019-04-05T04:53:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | cpp | #include "HEnginePCH.h"
#include "HWindowFrameWindows.h"
#include "HImGuiDeviceWindows.h"
HWindowFrameWindows::HWindowFrameWindows()
{
}
HWindowFrameWindows::~HWindowFrameWindows()
{
}
// @todo - temporary setting msg process here (need to move)
LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP... | [
"tkdgur4427@outlook.com"
] | tkdgur4427@outlook.com |
8523e7d8510fbb63cf1e511f1855638cac862bd5 | 79f63381c75431371ffaff4b519b9f7bd4d31293 | /doctor.ino | 54535aada29006ff1f4f62c26f27b862f2613de3 | [] | no_license | kendrawong/hw8 | fb839c71187cfbd8242fdff3dc59c87211b3b0d6 | 45ea32aa7cd5b01bf6c4e0300f59732962506969 | refs/heads/master | 2021-04-06T04:05:41.177178 | 2018-03-12T02:54:19 | 2018-03-12T02:54:19 | 124,818,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | ino | // the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(9, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(9, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000... | [
"noreply@github.com"
] | noreply@github.com |
3f0288167a41c7f6a04a27c3c9a946991e7476e1 | 3b80f6e60a361bd2abfb88ae1ce8fda7c5172911 | /src/walletdb.cpp | eba7be5d87384d1c8b9c1305eb52ddf26160ec2b | [
"MIT"
] | permissive | covertress/viral-qt | 32282b1bc4f0e50b97d113473f49322652f0bcfc | ec4c7d264d3d5366f13bad9a1f33f06556437bb0 | refs/heads/master | 2021-01-21T13:48:15.924018 | 2015-07-05T19:59:57 | 2015-07-05T19:59:57 | 38,579,728 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,354 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"info@covertress.com"
] | info@covertress.com |
8fe7cfe2f71793b328a514d0d9c3af4cce95647d | 77d1bd5ae4f8423bfea3119c3260b3b34de1f652 | /tchart/volumeseries.cpp | 34890fde638f93a5a47fdc9b068d1e36e2050bd5 | [] | no_license | dlsyaim/sm-eye-app | c6b20303e10c8f42c12f64a767d77a2cbac9f8f3 | 3058da8998683c4453f1470a1f5e4c047ba837a1 | refs/heads/master | 2016-09-06T05:28:48.892101 | 2013-04-17T20:53:33 | 2013-04-17T20:53:33 | 37,705,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "volumeseries.h"
// Dispatch interfaces referenc... | [
"inbum.lee@gmail.com"
] | inbum.lee@gmail.com |
6b296def2de34a58aa2ef7ffab35876518eee8dd | 4fc9c3821b32b37c1c802c76b584255ae790a89b | /BOJ/1000/2000s/2525.cpp | 237cfd0f8e627e707a378087adee934c272b7c72 | [] | no_license | bww9641/Algorithm_Project | abfb4396f11affa4146d904ef7f15baef4c1a4b1 | 114b90b4caac7f802934e22b90afbeacf26c45ae | refs/heads/master | 2022-12-22T15:33:40.607774 | 2020-09-17T01:30:20 | 2020-09-17T01:30:20 | 198,115,175 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | #include<iostream>
#define fastio ios_base::sync_with_stdio(false); cin.tie(nullptr)
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
b+=c;
if(b>=60) a+=b/60,b-=(b/60)*60;
if(a>=24) a-=(a/24)*24;
cout << a << " " << b;
return 0;
} | [
"bww9641@naver.com"
] | bww9641@naver.com |
12d69f7c49d25ce68079bbd04fbf6cf0cc68bb40 | e234b59b8addbad9d75b41d3dfa2511d290f70dd | /SDE Problems/Day15/Generate Parentheses.cpp | d5c360f89fbc756f002480e14ece23c0ad4159c1 | [] | no_license | sahib-pratap-singh/Placement-Series | 236545693d36c08d8cfb87f8f7c497823fb48bb8 | f420f4de71c9ccd5a8ac931375659a3804876699 | refs/heads/master | 2023-05-28T17:02:01.445135 | 2021-06-15T16:05:18 | 2021-06-15T16:05:18 | 368,187,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | class Solution {
public:
void paranthesis(int open, int close, string s, vector<string> &v){
if(open==0 and close==0){
v.push_back(s);
return;
}
if(open!=0){
string op1=s;
op1+="(";
paranthesis(open-1,close,op1,v);
}
... | [
"sahibpratapsingh@gmail.com"
] | sahibpratapsingh@gmail.com |
a04f2a07816ec14202bee10839e837193c7fff0f | 9dd6859cb0d0f97034344793440c986f46e3a658 | /engine/MapMatching4GMNS.cpp | ed07dc292e1d18b2acc9dd7b45fc604cf7c62202 | [
"Apache-2.0"
] | permissive | xiaomo123zk/MapMatching4GMNS-0.2 | 6b3a11aa73e03f2c0a91abe099415c14f060af7f | d1b3ba29d9023c6e59fbaf712022f89f3e31e2b6 | refs/heads/main | 2023-07-20T00:07:26.727838 | 2021-08-24T02:43:04 | 2021-08-24T02:43:04 | 370,181,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113,587 | cpp | // trace2route.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
//Your code uses a function, class member, variable, or typedef that's marked deprecated. Symbols are deprecated by using a __declspec(deprecated) modifier, or the C++14 [[deprecated]] attribute. The actual C4996 w... | [
"noreply@github.com"
] | noreply@github.com |
84d6b7778af5241f1480026178d436ca3eb39cb1 | e5e5e43423485340a25361420ed3bc8d2cfaa5d0 | /question_5/couple.cpp | 34fe3ff6ddc8a463bb818f02fd00f44f6946edeb | [] | no_license | PPL-IIITA/ppl-assignment-pt97 | 39d216e8a10eaf709b384d78d0360a44624f5a22 | 7015713e751aad193e8c7354b162b7e1cd2b2000 | refs/heads/master | 2021-01-21T06:21:27.247313 | 2017-04-09T20:46:51 | 2017-04-09T20:46:51 | 83,219,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,036 | cpp | #include "couple.h"
#include <iostream>
#include <string>
#include "miser.h"
#include "normal.h"
using namespace std;
void make1()
{
Miser boy_attr[50];
string name;
int i,j,attr,intel,bud,min,pre,maint;
fstream myfile;
myfile.open ("boy.txt");
for(i=1;i<=50;i++)
{
myfile>>name>>at... | [
"iit2015094@iiita.ac.in"
] | iit2015094@iiita.ac.in |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.