blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3950a47e073ddca765ab7aefdf5984b46fc7118 | 5e84aef28ae3bda8d7d5081af681079340adcdf5 | /src/backend/Page.cpp | 49a2d9f601da8c577d8044a4e9a478353d7aced8 | [
"WTFPL"
] | permissive | fbocharov/mydb | b5e204d9528f756ccc5dc840f33fb1a499fed55d | fe448e5ef8cdf292987c2b67db78f331e19b4433 | refs/heads/master | 2021-01-10T12:12:16.685603 | 2015-12-10T20:08:31 | 2015-12-10T20:08:31 | 43,782,641 | 3 | 1 | null | 2015-12-12T22:40:01 | 2015-10-06T22:32:56 | C++ | UTF-8 | C++ | false | false | 1,052 | cpp | #include <cstring>
#include <utils/Utils.h>
#include "Page.h"
Page::Page(PageID id, char const * data)
: m_data{}
, m_id(id)
, m_isDirty(false)
, m_isPinned(false)
{
if (data)
::memcpy(m_data, data, PAGE_SIZE);
}
char const * Page::GetData() const {
return m_data + sizeof(PageID);
}
char * Page::GetData() ... | [
"bocharovfedor@gmail.com"
] | bocharovfedor@gmail.com |
fef00c4b6788d831eb5bc65ab9a8e0e25163094c | cfa625b06d4924a6b69d5b9add2c19da0ba4f92c | /PhysX_3.4/Samples/SampleFramework/renderer/src/null/NULLRendererIndexBuffer.h | d0db5e8276b6aefed5a3b3e0b6ee8a3f84a06597 | [] | no_license | ldotn/simple-physx | a731775fe27281b55b03d646f72dd275eaa4befa | a065a9c734c134074c63c80a9109a398b22d040c | refs/heads/master | 2022-03-22T20:49:42.997588 | 2019-12-01T15:45:01 | 2019-12-01T15:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"pachesantiago@gmail.com"
] | pachesantiago@gmail.com |
9a18cec1ef96a9075e9753dd400d76a39845a9f7 | ee99bbb99b840910e8ec24b51e64a276ae722cb3 | /boost_1_57_0/libs/asio/example/cpp11/spawn/echo_server.cpp | d84a9940a98941fda90b32d2b4dc94264d03083a | [
"BSL-1.0"
] | permissive | synth-soul/HyperNEAT | 68670f1d32d4ec366485f37742baa39bfa96ea42 | b3f0fb8cf98daf0998a6e5c2442f9531f58fc4c0 | refs/heads/master | 2020-04-06T06:28:19.404230 | 2015-06-15T14:52:05 | 2015-06-15T14:52:05 | 37,469,287 | 1 | 0 | null | 2015-06-15T14:13:06 | 2015-06-15T14:13:06 | null | UTF-8 | C++ | false | false | 2,767 | cpp | //
// echo_server.cpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/asio/io_ser... | [
"jgauci@apple.com"
] | jgauci@apple.com |
9c5b98563320fcb4bcc874be18e2e25c6abffb6c | 295f133d523c3b02583812fdd5b15988dc7b8543 | /test/unittests/generic_material.cpp | 415e723e2a482cd974019cbddd829d8a746f0688 | [
"MIT"
] | permissive | FeodorFitsner/visionaray | 00ce7e141222fc33b637fa6966b1ca06fabca0bd | 3a1225f4b096c48ed629c40eb8409ea5666803ed | refs/heads/master | 2021-01-20T02:21:59.312365 | 2017-04-25T19:09:14 | 2017-04-25T19:09:14 | 89,396,364 | 0 | 0 | null | 2017-04-25T19:00:33 | 2017-04-25T19:00:33 | null | UTF-8 | C++ | false | false | 2,880 | cpp | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <array>
#include <vector>
#include <visionaray/generic_material.h>
#include <gtest/gtest.h>
using namespace visionaray;
//-----------------------------------------------------------------------------------------------... | [
"info@szellmann.de"
] | info@szellmann.de |
cdb887f8a1728d15cb81b16ebed7dbc4403dac91 | e24de44993ee3e832aaba8ac44278a59d0488eae | /Day 14_15/06 Virtual Destructor/Source01.cpp | 6c3e2c97190f21c19772ec04e2d499c464724a19 | [] | no_license | mke01/BasicC- | e752f94eaf02ed9a3471253fef19ccc698e6fc64 | e7de1520ab3dd54ecfc04c6369124e9df146e701 | refs/heads/master | 2020-04-19T02:41:31.446872 | 2020-01-09T12:50:33 | 2020-01-09T12:50:33 | 167,911,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | #include <crtdbg.h>
#include<iostream>
using namespace std;
class Base
{
public:
Base()
{
cout<<"Base Constructor"<<endl;
}
~Base()
{
cout<<"Base Destructor"<<endl;
}
};
class Derived:public Base
{
char *p;
public:
Derived()
{
p = new char;
p[0] = 'a';
cout<<"Derived Constructor"<<endl;
}
~Deri... | [
"MKE1@dsone.3ds.com"
] | MKE1@dsone.3ds.com |
f9ae553a284be1ba5aa71e0b86d305b350806d88 | b70c43d17abe9337847575bc36023afcbd0e6cad | /test/network/gateway/MockGateway/ComparableGatewayMqttSnMessageData.h | 7b8551bd3f1c559ded95aac5dec467caa20cf919 | [] | no_license | S3ler/CMqttSnForwarder | ca4600b7d6c85b940f7a06e42155e19c90bb56c7 | 072ddf0fe40be35cf780cb501a79550bc7b32a25 | refs/heads/master | 2020-04-25T12:03:30.930538 | 2020-01-14T12:29:19 | 2020-01-14T12:29:19 | 172,766,029 | 1 | 1 | null | 2020-01-15T16:33:57 | 2019-02-26T18:24:31 | C | UTF-8 | C++ | false | false | 4,938 | h | //
// Created by SomeDude on 20.03.2019.
//
#ifndef CMQTTSNFORWARDER_COMPAREABLEGATEWAYMQTTSNMESSAGEDATA_H
#define CMQTTSNFORWARDER_COMPAREABLEGATEWAYMQTTSNMESSAGEDATA_H
#include <global_defines.h>
#include <vector>
#include <string.h>
#include <ostream>
#include <MqttSnFixedSizeRingBuffer.h>
class Comp... | [
"GabrielNikol@web.de"
] | GabrielNikol@web.de |
f94dbff3fe794fc867930ed75123cdbf2321a9ff | 1234fa0a0314a1ef06f9b13bda1a1716d4d9e764 | /buddy&gf.cpp | 69dc14229d552ef92a762337b270f002f3549d9b | [] | no_license | prady7330/c-comp-prograamming- | 897785abd8a75796c94d2d959a58f00804151069 | 43164dfa6db6625cb3e6dfdb36d57bca94d6d662 | refs/heads/master | 2020-03-11T06:58:48.226435 | 2018-04-17T04:29:06 | 2018-04-17T04:29:06 | 129,845,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#define MAX 1000000000000000000
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n,m;
cin>>n>>m;
long long int arr[101][101];
vector<long long int> v;
for(int i=0;i<n;++i){
long long int localmin=MAX;
for(int j=0;j<... | [
"noreply@github.com"
] | prady7330.noreply@github.com |
6b94326dd6851ab4a865bbf8735f0188a100f999 | 3134c38a2f5d083430fb34f4fbbfef3b5830338a | /Slave/include/Transaction/MoveTaskManage/TakePhotoCommand.h | 035e5f7111bbd7117814acdd28a62b51322a42e7 | [] | no_license | muhuhui/kit_code_t35e | 979c6d98e015cd2281c191c562fbbf27c534c694 | d8fb1991791e9869a59920ba7faf1b277b29cfe7 | refs/heads/main | 2023-05-29T02:17:38.771550 | 2021-06-11T08:32:48 | 2021-06-11T08:44:46 | 375,956,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | //
//
// Generated by StarUML(tm) C++ Add-In
//
// @ Project : T3C_SLAVE
// @ File Name : TakePhotoCommand.h
// @ Date : 2019-07-02
// @ Author : ShunWang
//
//
#if !defined(_TAKEPHOTOCOMMAND_H)
#define _TAKEPHOTOCOMMAND_H
#include"Command.h"
enum TAKEPHO_STATUS
{
TAKEPHO_ST_BEGAIN = 0, //转到预置点
TAKEPHO_ST_... | [
"muhuhui@163.com"
] | muhuhui@163.com |
8b5f84460c04c61cb8c18c3664ddb42a408a1da9 | 4d12369aff139e70a96d679de6c20a3f9000450f | /lib/fitsdk/fit_monitoring_mesg.hpp | cd6948277502454e9dcc6bb4be8d0fe3bc01d5e7 | [] | no_license | whz20024117/Cycling_Fit_Analyzer | dca655669992b1b4f79add649d9690a342172cae | 7bc597574ef9c0f85be01312da09bafbd03c5f67 | refs/heads/master | 2023-01-05T12:41:24.996491 | 2020-10-29T19:23:19 | 2020-10-29T19:23:19 | 306,160,096 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,001 | hpp | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Garmin Canada Inc.
// The software is being provided on an "as-is" basis and as an accommodation,
// and ... | [
"whz20024117@gmail.com"
] | whz20024117@gmail.com |
c5667a82867ddc2eada0a78a72d7b19f39e95a59 | 01bcbb4cb28feae1adf53885f3a15a981343bab6 | /shared.h | 0b49aa64859c809b1004e18a429d3f2faf0aa814 | [] | no_license | chrysr/OSEx3 | cdda705f1a51ee07e7c0313bb913ca9855fe2ba2 | 027c719a6f8f408f27d24bee550060d78eaebd8d | refs/heads/master | 2020-05-03T05:52:52.859208 | 2019-03-29T18:53:38 | 2019-03-29T18:53:38 | 178,460,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | h | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <semaphore.h>
#include "port.h"
#include "vessel.h"
#include "ledger.h"
using namespace std;
#ifndef SHARED_H... | [
"noreply@github.com"
] | chrysr.noreply@github.com |
12fa0943732cb9d0c49377244383004b81bdb7d5 | 928c97e692d63cfec3d598312a74d41c77a8a822 | /Auto3D/Source/IO/FileSystem.cpp | 34d162b5e90db31dae89ca3239dad7295151745e | [] | no_license | LINKHA/Auto3D | d2801617c15eb86ed614c856706cf06893da1898 | 44d1aa6b661e1605a3abed7c2093a547e9508d5b | refs/heads/master | 2022-11-26T18:07:05.866999 | 2022-11-04T13:30:49 | 2022-11-04T13:30:49 | 125,205,973 | 46 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 14,302 | cpp | #include "Container/AutoPtr.h"
#include "Container/String.h"
#include "Container/Vector.h"
#include "Container/WString.h"
#include "File.h"
#include "FileSystem.h"
#ifdef __ANDROID__
# include <SDL_rwops.h>
#endif
#include <SDL_filesystem.h>
#include <cstdio>
#include <cstring>
#include <sys/stat.h>
#ifdef _WIN32
# i... | [
"421698843@qq.com"
] | 421698843@qq.com |
a567d29db371490ac59eeb74fa1f9a4a8ee2309d | d61aa7d638e3fe949e940f01f293b004017753a3 | /poj/Archives/1011/7302342_TLE.cpp | 97f1165305af6ed0849578913e510fcf09cdfb58 | [] | no_license | dementrock/acm | e50468504f20aa0831eb8609e1b65160c5fddb3d | a539707ca3c0b78e4160fdf2acad1b0125fa8211 | refs/heads/master | 2016-09-06T01:18:36.769494 | 2012-11-06T01:21:41 | 2012-11-06T01:21:41 | 2,811,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | #include<stdio.h>
#include<string.h>
struct Stick{
int s, n;
} stick[100];
int tstick[100],n,tot;
int dfs(int deep, int left, int now, int maxdeep){
if(!left){
if(deep>=maxdeep) return 1;
return dfs(deep+1,now,now,maxdeep);
}
for(int i=tot;i>=1;--i) if(stick[i].n&&stick[i].s<=left){
--stick[i].n;
... | [
"dementrock@gmail.com"
] | dementrock@gmail.com |
f4ba0b7e67092abaf9800664c1a2210e8b7aeec4 | 7b33da6e15ce783db4c4ec251dfaca79d9731d0d | /cppBank-testBankAccount.cpp | 5d5a3df62d91ec88384cede9caa9c9d11057fd0c | [] | no_license | NilgunDkaya/projects | 852c2277b3b89f5fe4a91f3b84ec4f2db710d536 | 9f1a33e28a9d35ed155bef592cf7866814d5ab82 | refs/heads/master | 2021-03-16T11:46:48.254569 | 2020-03-14T14:37:49 | 2020-03-14T14:37:49 | 246,903,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | //testBankAccount.cpp
#include "Bank.h"
using std::cin;
using std::cout;
using std::endl;
//#include "account.h" // we ignore them because Bank has account.h and Client.h
//#include "Client.h" // if we define them again we will get error
void setClient(Client *c){ // method for taking client Info
std::string tc,n... | [
"noreply@github.com"
] | NilgunDkaya.noreply@github.com |
8d1ea83b47c7a2a45fe153b51e70e14e4e279188 | 99304ab5640f4bb7622c46856e38f0b5efce8244 | /Asteroids + Arduino/Asteroides_v3_0/src/Entity.cpp | 0f425324a09351ecdceebe775dd26e2c3a2fefe1 | [] | no_license | lorddavy/Asteroids-openFrameworks-Arduino- | 066d2e700606b70044c01a9f154eb02f3ace4769 | f87f7a114c503031af2d0e535ba00c08a6bf73f3 | refs/heads/master | 2020-12-24T19:04:33.612233 | 2016-05-25T12:05:44 | 2016-05-25T12:05:44 | 59,600,161 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cpp | #include "Entity.h"
Entity::Entity()
{
position.x = 0;
position.y = 0;
direction = ofPoint(0, 0);
rotation = 0;
}
Entity::~Entity()
{
}
bool Entity::getCollision(Entity *obj)
{
// Calculate distance between objects
float distanceBetweenObjects = ofDist(position.x, position.y, obj->getPosition().x, obj->ge... | [
"david.perez12@estudiant.upf.edu"
] | david.perez12@estudiant.upf.edu |
32bd836b62513c040efbe5080e35fad91b6864cd | cfe1b23ae39cdbf89cafaf97f771fd0348ab0b5e | /pam_util/login.cpp | c9abdb96bb14c50c64d687f4af60c1e94e0a6122 | [] | no_license | Sloan-YXT/ssl_file_server | 28fbb17d5aed0039596e1197e6e643269195a5d3 | 1f6e3c82874c3addbf128b49771b22be62adbe9b | refs/heads/main | 2023-02-10T10:33:20.843576 | 2020-12-30T09:50:41 | 2020-12-30T09:50:41 | 319,186,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,576 | cpp | #include <iostream>
using namespace std;
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <pwd.h>
#include <errno.h>
#include <security/pam_appl.h>
#include <errno.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <termio.h>
#include "PamClass.h"
PamAct pa... | [
"649535675@qq.com"
] | 649535675@qq.com |
0efca256bb7d6c87ed3cdac86241faa6b5b9791e | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemStructure_TekRoof_functions.cpp | 908b94e68268f20d4691ced1eb83b998329b8318 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_TekRoof_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
b79cd0fbb4b50cf029a717b7491a09760bfff07a | 9fb2edf81a2d3f98d95161fd03c3dc39389aeff9 | /lib/pecurka/pecurka.hpp | 5cdd59c35a471e18b684ce4b4bdb43c1c3a0a663 | [] | no_license | MATF-RG19/RG107-mole | 436f9e46528e2d3196df1a093e4839d8654f5bba | f331e73a140af58bb2659cb74e5547ba9b9f344e | refs/heads/master | 2022-04-30T02:17:06.201866 | 2022-04-24T11:31:27 | 2022-04-24T11:31:27 | 219,831,030 | 0 | 0 | null | 2022-04-24T11:31:28 | 2019-11-05T19:12:43 | C++ | UTF-8 | C++ | false | false | 776 | hpp | #ifndef __PECURKA__
#define __PECURKA__
#include "mole.hpp"
#include <time.h>
#include <utility>
class pecurka {
private:
// Koordinate pecurke
float poz_x, poz_y, poz_z;
// Broj preostalih koraka potrebnih da se pecurka uvuce
int m_preostalo_koraka;
public:
mole *m_krtica = new mole(0, 0);
explicit pecur... | [
"stefan_marjanovic_@hotmail.com"
] | stefan_marjanovic_@hotmail.com |
c7c858bfb189f75ce0cfd4d7213b6099cceb36d1 | cfdf7f49e7f8d733337612b6e7e521a1bc8f7120 | /imagePreProcessParameters.cpp | cca96d11f69553e5fb3552680a3d9746ed4af3c7 | [] | no_license | zhanglin2018/ShipDetection | 5394d236ea6220d953fec9a4d4bcadc0b01f5841 | 7b0a670c0f9cf15f5c658a597d6e35448ba2c4ae | refs/heads/master | 2020-03-08T10:53:30.458261 | 2018-04-04T16:03:08 | 2018-04-04T16:03:08 | 128,084,229 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include "imagePreProcessParameters.h"
#include "ui_imagePreProcessParameters.h"
ImagePreProcessParameters::ImagePreProcessParameters(QWidget *parent) :
QWidget(parent),
ui(new Ui::ImagePreProcessParameters)
{
ui->setupUi(this);
}
ImagePreProcessParameters::~ImagePreProcessParameters()
{
delete ui;
}... | [
"893330264@qq.com"
] | 893330264@qq.com |
5e7404a5f273e43215d5b6dc44a88daf2199e25d | d572eaec356b02d2f8eee85d3b8e75e1a8994159 | /Base/QTGUI/Plugins/qSlicerModulePanelPlugin.cxx | 05817756087bac824b447dafbb728c80468ff5c2 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-3dslicer-1.0",
"BSD-3-Clause"
] | permissive | KongCang/Slicer4 | 8dea8180ff78c98c6a9c3b433c5850a2adf3614e | 1fff370f943560811ba82450e547714e98a360a1 | refs/heads/master | 2021-01-11T09:00:54.632479 | 2010-12-03T22:00:48 | 2010-12-03T22:00:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | cxx | /*==============================================================================
Program: 3D Slicer
Copyright (c) 2010 Kitware Inc.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distribute... | [
"jcfr@3bd1e089-480b-0410-8dfb-8563597acbee"
] | jcfr@3bd1e089-480b-0410-8dfb-8563597acbee |
80577d489ccab9bf32a9e7ed4bbd410af6de02dd | 2ab05fc523d0e5defb90a9e443c33118aa50dd8f | /algo/equal/equalrange1.cpp | b0c73fdb8db13b4a737cf939386b8d3093f0444b | [] | no_license | NetworkRanger/cpp-stdlib | 4d16464b0ae8a4681ca7a10bb08d07db8c6f375c | 3c19b96ce59add163bf7c57ea893e03883957ec8 | refs/heads/master | 2020-03-07T08:27:00.182650 | 2018-06-20T14:40:24 | 2018-06-20T14:40:24 | 127,378,662 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include "algostuff.hpp"
using namespace std;
int main(){
list<int> coll;
INSERT_ELEMENTS(coll, 1, 9);
INSERT_ELEMENTS(coll, 1, 9);
coll.sort();
PRINT_ELEMNTS(coll);
//print first and last position 5 could get inserted
pair<list<int>::const_iterator, list<int>::const_iterator> range;
range = equal_range(coll... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
588e02d2d0ca808051bffb925e6c1f6902d5fc8b | d2add169afaff80fd1f2fcd79179d3cd63ad597b | /public_html/asset/submission_files/42f5d6600ad9455fd2c89bcbac1994ff.cpp | c265999bc67623f94e1f3769af35822b15e014bc | [
"MIT"
] | permissive | zyxave/baba | 60e3063cdb2fcf37943ad4e20c718f460ef965d5 | 7287a1b421a3503657986e0a13c9c4a02615dea5 | refs/heads/master | 2020-03-20T05:52:01.062398 | 2018-06-13T14:47:15 | 2018-06-13T14:47:15 | 136,165,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | #include <stdio.h>
int main()
{
int p,m,a,r,T,sisa_uang,harga_sementara;
scanf("%d",&T);
sisa_uang=0;
for(int a=0;a<T;a++) {
scanf("%d",&p);
scanf("%d",&a);
scanf("%d",&m);
scanf("%d",&r);
sisa_uang=r-p;
int jumlah =1;
int selesai =0;
whil... | [
"puncomakr@gmail.com"
] | puncomakr@gmail.com |
c1e86a8a7d34b4ebeabc027e7f53b288a447e840 | 6db55ebcc5b6c8743e5526aca085e968fc39f4e5 | /ESP1.ino | 73a6aad033921852dfaf67fe920e57985f7290e8 | [] | no_license | HuynhLeVu5598/ArduinoDATN | ba9bec2394270f268b3285b2c86ccc687211b389 | b28e036276abf25ed97a274fbe52756bbf8f6618 | refs/heads/master | 2023-06-30T11:07:23.523481 | 2021-07-27T01:09:55 | 2021-07-27T01:09:55 | 316,909,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | ino | #include <ESP8266WiFi.h>
#include <SoftwareSerial.h>
SoftwareSerial s(D6, D5);
WiFiClient client;
WiFiServer server(80);
const String tenwifi = "CCC";
const String mkwifi = "98765431";
String data="";
int dulieu;
void setup() {
Serial.begin(115200);
s.begin(9600);
pinMode(16,OUTPUT);
pinMode(2,... | [
"noreply@github.com"
] | HuynhLeVu5598.noreply@github.com |
26df78c0304d69101075250c11a7ef4ac2542ff5 | b8f34923a430b05207d409c0784c577e55daaf33 | /CppFlappy _CBP/CppFlappy/src/Pipe.h | a833dbf91d658a8bcf3db857ca7bd95b1102813f | [] | no_license | duydd25031999/Flappy-Bird | 787a01cd2cedbb60ca6170fe8fd6e28ecfa00dba | 3cd29482190c06328a06c5f8ea9f6711a5ef315c | refs/heads/master | 2020-04-08T03:48:20.144457 | 2018-11-25T02:39:26 | 2018-11-25T02:39:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | h | #ifndef PIPE_H
#define PIPE_H
#include <SDL_rect.h>
class SDL_Texture;
class SDL_Window;
class SDL_Renderer;
class Pipe
{
public:
Pipe(SDL_Window* window, SDL_Renderer* renderer, int type);
virtual ~Pipe();
void MoveLeft();
void ... | [
"45323184+DoDucDuyVietnam@users.noreply.github.com"
] | 45323184+DoDucDuyVietnam@users.noreply.github.com |
3bd7b00ce7aa8f8064cbf810163c3e5b212a1eb6 | 007d63d4cb49676fd678840a3e1244ad63bdb121 | /released_plugins_more/visiocyte_plugins/consensus_skeleton/consensus_skeleton_plugin.h | e0e222eae34b73b92de3e756406aa7c001adca22 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | satya-arjunan/visiocyte | 1a09cc886b92ca10c80b21d43220b33c6009e079 | 891404d83d844ae94ee8f1cea1bb14deba588c4f | refs/heads/master | 2020-04-23T02:07:33.357029 | 2019-04-08T06:40:03 | 2019-04-08T06:40:03 | 170,835,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | /* consensus_skeleton_plugin.h
* a plugin to merge multiple neurons by generating a consensus skeleton
* 2012-05-02 : by Yinan Wan
*/
#ifndef __CONSENSUS_SKELETON_PLUGIN_H__
#define __CONSENSUS_SKELETON_PLUGIN_H__
#include <QtGui>
#include <visiocyte_interface.h>
class ConsSkelPlugin : public QObject, public VIS... | [
"satya.arjunan@gmail.com"
] | satya.arjunan@gmail.com |
62770716b2bbea2ccd91040838aa7e271496d1e3 | 10ce930cdb5de3ae4e51538d1e9f6e73f4ad1da0 | /5120152534-卓软1501-李国印-全民飞机大战/National aircraft war/Myplane.h | f4be43eb4ab63866543e1d05da5b88dbafc566f6 | [] | no_license | li-guoyin/Plane-war | 962a067990b3346f372c17494921e7f63eb8daca | 799f3bcd123bafeca7759054a0bd93737b745f69 | refs/heads/master | 2020-04-09T18:13:10.079820 | 2018-03-07T13:21:07 | 2018-03-07T13:21:07 | 124,238,498 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,161 | h | /*@auther lgy
* time:1/5
*此类是我方飞机
*/
#pragma once
#include "Plane.h"
#include <opencv2/opencv.hpp>
class CManager;
class CMyplane : public CPlane
{
public:
CMyplane();
~CMyplane();
void SetNowImg(IplImage *planepu[], IplImage *planegl[], IplImage *planepl[], IplImage *bullet[]);
void InitData();
void PlaneChoose(i... | [
"1203251505@qq.com"
] | 1203251505@qq.com |
3ea11ded0ee4f8f91947f1385dfa7063c3672df1 | 58ac7ce414dcbe875e26bb6fae692e3c74f39c4e | /net/test/gtest_util.h | 8f21141367b96ff2bb9c47f1ca172f67ed953d48 | [] | no_license | markthomas93/tempwork | f4ba7b4620c1cb806aef40a66692115140b42c90 | 93c852f3d14c95b2d73077b00e7284ea6f416d84 | refs/heads/master | 2021-12-10T10:35:39.230466 | 2016-08-11T12:00:33 | 2016-08-11T12:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,015 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Testing utilities that extend gtest.
#ifndef NET_TEST_GTEST_UTIL_H_
#define NET_TEST_GTEST_UTIL_H_
#include "base/test/mock_log.h"
#inclu... | [
"gaoxiaojun@gmail.com"
] | gaoxiaojun@gmail.com |
4652321aad3427d6701b1f6968c65ad3b5445e31 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/fl_cellseg/src/FL_downSample3D.h | e363194987066ab637e915401fb40183b56ec43e | [
"MIT"
] | 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 | 7,655 | h | // downsample a 3D volume by a factor along each dimension
// F. Long
// 20080507
// 20080830 update
#ifndef __DOWN_SAMPLE3D__
#define __DOWN_SAMPLE3D__
#include "volimg_proc.h"
#include "img_definition.h"
#include "stackutil.h"
#include "FL_defType.h"
// tag indicate whether pixels in the downsampled image should ... | [
"hanchuan.peng@gmail.com"
] | hanchuan.peng@gmail.com |
4717ac933d0fa3177265eec0471c3824d85ec72d | 9e1e09ea61632e80465f371a083625d03b1e5ab2 | /tests/NodeRpcProxyTests/NodeRpcProxyTests.cpp | fc950548e3fe0db4b04ca336256c92e92423cec7 | [
"MIT"
] | permissive | bitcoin-note/bitcoin-note | 0f93c5a04dda2df6ff838187d894a0c4af633649 | 7be1e60f327b7ce1f995fee97f80131dcb934e70 | refs/heads/master | 2021-05-11T19:50:51.485229 | 2018-01-18T00:05:24 | 2018-01-18T00:05:24 | 117,895,059 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,254 | cpp | // Copyright (c) 2018, The Bitcoin Note Developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chrono>
#include <thread>
#include <Logging/LoggerRef.h>
#include <Logging/ConsoleLogger.h>
#include "NodeRpcProxy/N... | [
"bitnotecurrency@gmail.com"
] | bitnotecurrency@gmail.com |
a82160edd843b4baa4a5e383a2918dd1cbeea4e5 | 45fc21685b7bb1c33f28bcc413f4bdc37aa03c9f | /src/rpcdump.cpp | 2005bba010e6f4aa2282edcdfba5671b33ffba46 | [
"MIT"
] | permissive | FoundationAwesome/coinawesome-qt | 2c67f784de1f6eb40721ab8e42967e76f763637b | bc5be3d609515fd1cc07bd9a0ee7dd114069abe4 | refs/heads/master | 2016-08-04T22:00:50.277369 | 2015-03-23T03:21:07 | 2015-03-23T03:21:07 | 32,708,792 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,877 | cpp | // Copyright (c) 2009-2012 Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <fstream>
#include "init.h" // for pwalletMain
#include "rpcserver.h"
#include "ui_interface.h"
#inc... | [
"foundationawesome@gmailcom"
] | foundationawesome@gmailcom |
29b20a9d4c60d9630a3c4423ecd49bfcdec316c9 | 2319be0383dda714198e262966f5e9e849130ae9 | /Amethyst_Physics_Library/iPhysDebugRenderer.hpp | 986946b52e7b0994790d31a5dd07bacfe2aeb116 | [] | no_license | KirkbyD/edu-GameJam | 25a77b2d86a72137ab62859ab0050dba3a1dbe38 | 348a0eed8a7b315a81ff5e187f6214bccc4371ea | refs/heads/main | 2023-04-06T03:12:50.743208 | 2021-04-15T03:27:06 | 2021-04-15T03:27:06 | 358,115,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | hpp | #pragma once
namespace phys {
class iPhysDebugRenderer {
public:
virtual void PhysDrawSphere(glm::mat4 transform, float radius) = 0;
virtual void PhysDrawPlane(glm::vec3 normal, float constant) = 0;
};
} | [
"kirkby.dylan@gmail.com"
] | kirkby.dylan@gmail.com |
501be4d9ed97f51fa565760bef5446ffcf033704 | d66ea0183cd410783c511d662307bc50075a89bb | /tests/PathCoverageTest.cpp | cc0db7cb278b63d60c5b6c8b5248b1c0d9264c90 | [
"BSD-3-Clause"
] | permissive | trevorlinton/skia | e9c2b14c37108788b90493829c907c054aa1c3a1 | 07b88e1afc44ff0d2c451924e1e2ea5aeb2c7996 | refs/heads/master | 2016-09-06T09:21:38.960183 | 2014-01-20T00:23:05 | 2014-01-20T00:23:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,276 | cpp | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkMath.h"
#include "SkPoint.h"
#include "SkScalar.h"
/*
Duplicates lots of code from gpu/src/GrPathUtils.cpp
It'd be nice not to do so, but ... | [
"trevor.linton@gmail.com"
] | trevor.linton@gmail.com |
9d7d33eceaf7cb6bb17245330be774aa0ea73dde | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/audio_processing/include/aec_dump.cc | 1026f7d55d6103d90622a78d5aca2bf7a9140bf7 | [
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"MIT",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 2,053 | cc | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
078db0950d16d8871518db949693a7ebd0a81a7d | 1363119bb187e7a24844894d7915c8dfce1bbebd | /eva1/bead2/source/Bomberman/game_calc/entities/direction.cpp | 47d118e0558d0ce37edebcbe70128d516a8f3f9b | [] | no_license | atadi96/felev4 | ab2e0bf981dacbbc7b8256c780c39a7f0738db66 | 0e84b5c3c195bf47576b142b365168885d465513 | refs/heads/master | 2021-03-01T10:47:33.947595 | 2017-06-12T14:52:01 | 2017-06-12T14:52:01 | 82,108,696 | 1 | 0 | null | 2017-06-12T14:52:02 | 2017-02-15T21:28:29 | Ada | UTF-8 | C++ | false | false | 764 | cpp | #include "direction.h"
#include "time.h"
const QPoint Direction::None = QPoint(0, 0);
const QPoint Direction::Up = QPoint(0, -1);
const QPoint Direction::Down = QPoint(0, 1);
const QPoint Direction::Left = QPoint(-1, 0);
const QPoint Direction::Right = QPoint(1, 0);
std::mt19937 Direction::randEngine(time(nullptr));
... | [
"atadi96@gmail.com"
] | atadi96@gmail.com |
7fa214ef53a230b80800e331587e74e7a0c0232e | 180676445c42b12c354da5e12af8bbbc6bfa5f60 | /6th-Sem/UnixSystemProgramming_Lab/10_AlarmSignal/10_AlarmSignal.cpp | 087d153f6e14078d7de2996c62d2d4d83786495d | [] | no_license | raman-chhabra342/CS-VTU-Lab-Manual | 02f6f674dbc754a39a82a091464de2ddb63d0d28 | 15c14fb47481e9ae535d277d84978a50690bfaae | refs/heads/master | 2023-03-26T19:15:03.606659 | 2017-11-30T16:16:30 | 2017-11-30T16:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#define INTERVAL 5
void callme(int sig_no) {
printf("Alarm has been fired!\n");
}
int main() {
struct sigaction action;
action.sa_handler = callme;
sigaction(SIGALRM, &action, 0);
alarm(INTERVAL);
for (int i = 1; i <= INTERV... | [
"im.amruth@gmail.com"
] | im.amruth@gmail.com |
74976397e170b2965a4fac7fdbe56cd99557a92a | ff5d9230c1a6079b8bad1a9769315f66e5fe705c | /Mzzgj/main.cpp | d710edf463ec7e67edf9fddb7c71d296b3020edb | [] | no_license | jnrdrgz/MZZGameEngine | 789a93a099c2a0baf773f0d0793e15c422dc1aa8 | d63f02596848cb3860e96dd892ef08b7a7ac9aaf | refs/heads/master | 2023-01-01T10:56:02.444037 | 2020-10-30T03:24:32 | 2020-10-30T03:24:32 | 289,111,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <SDL.h>
#include <SDL_ttf.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
#include "demo/demo1.h"
int main(int argc, char* args[])
{
(void)argc;
(void)args;
SDL::Context sdl_context("game", 640, 480);
Assets::Sheet sheet;
bool running = true;
Uint32 startFTime = SDL_GetTicks();
float fps = (1.0f / ... | [
"jnigrodriguez@gmail.com"
] | jnigrodriguez@gmail.com |
b0018b6b3ced5c8d1933b34e51e1484b9d0d3d4b | 98e4c4b97b70f46f6f81c799b5d455581106fb93 | /NJUOJ/NJUOJ/压缩小蓝鲸第二弹.cpp | 37596b4cb913a031674de4f93e6604edb24b820c | [] | no_license | August0830/my_NJU_OJ_DataStructure | a65f48d5e21c512ba6b6d8a30ffe6e3d60c288f8 | 8a909528503a2d62b5627674656b5eccad454750 | refs/heads/main | 2023-01-21T11:08:42.619711 | 2020-12-01T14:58:19 | 2020-12-01T14:58:19 | 303,429,530 | 1 | 0 | null | null | null | null | IBM852 | C++ | false | false | 3,597 | cpp | #include <iostream>
#include <string>
using namespace std;
int alph[26] = {};
int sum = 0;
struct Node
{
int freq;
char ch;
Node* left;
Node* right;
};//better using the space?
//template<class E>
class MinHeap
{
public:
MinHeap(int sz) { heap = new Node*[sz]; maxSize = sz; };
~MinHeap() { delete[] heap; };
bool... | [
"mzl0830@sina.com"
] | mzl0830@sina.com |
edf81a12de630a4a283749245fdf6ab930fec1b0 | c33cfe46877ca40cf79232c9b5c5b1073f5acf7d | /include/pCTgeo.h | 3ca0af57fdc1add4675a54765c8d96027d72eeb2 | [] | no_license | particleCT/Preprocessing-master | d7dfd5c2e86aeec8702f16ce1bd44bcdd8369621 | f0491efe556c3df59f00b1658f7609508961623c | refs/heads/main | 2023-05-03T09:23:18.624217 | 2021-05-20T11:36:34 | 2021-05-20T11:36:34 | 369,184,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,407 | h | #ifndef pCTgeo_h
#define pCTgeo_h
// Class to contain all of the pCT scanner geometry information, plus other
// constants, needed for preprocessing
// R.P. Johnson 5/22/2016
using namespace std;
#include <vector>
#include <iostream>
#include <fstream>
#include "pCTconfig.h"
class pCTgeo {
pCTconfig* theConfig;
... | [
"doebler@stud.uni-heidelberg.de"
] | doebler@stud.uni-heidelberg.de |
ca1a3007ab69e06efa19227130888b2301cc2789 | d53f888b7720dc6fcb31016ba151931afb42a925 | /shilibaohu_1.0/ESP8266.cpp | 3c4986ad4ee3602802ffeff1cfee37950bede300 | [] | no_license | 000562/- | 9e019f2578cfd52c6aaabaeb7b92b7716b6365ac | d648a3a896b3e177eda3532574768e24b5e041d7 | refs/heads/master | 2020-04-12T15:48:26.993375 | 2018-12-20T15:37:55 | 2018-12-20T15:37:55 | 162,593,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,456 | cpp | /**
* @file ESP8266.cpp
* @brief The implementation of class ESP8266.
* @author Wu Pengfei<pengfei.wu@itead.cc>
* @date 2015.02
*
* @par Copyright:
* Copyright (c) 2015 ITEAD Intelligent Systems Co., Ltd. \n\n
* This program is free software; you can redistribute it and/or
* modify it under the terms of the... | [
"970943222@qq.com"
] | 970943222@qq.com |
75d00e6379ef3ee1c932066c6f18d0219afad850 | 65f701245abf47c39aa46a56fde46443606a601e | /DxLib/exBin/DxLib/DxInputString.cpp | 60b39b798b1ff737e745fff75b46fe3b1cbb1651 | [] | no_license | regomne/chinesize | 401aaccd744cef245b114f74a8c06f9f8c467519 | 0c7be6eed8e1a0c5ab7b25024fc5e21125967c7f | refs/heads/master | 2023-06-26T06:52:37.530610 | 2023-06-17T14:49:55 | 2023-06-17T14:49:55 | 14,193,455 | 239 | 110 | null | 2023-04-10T09:36:23 | 2013-11-07T03:43:50 | C++ | UTF-8 | C++ | false | false | 146,942 | cpp | // -------------------------------------------------------------------------------
//
// DXライブラリ 文字列入力プログラム
//
// Ver 3.20c
//
// -------------------------------------------------------------------------------
// DXライブラリ作成時用定義
#define __DX_MAKE
#include "DxInputString.h"
#ifndef DX_NON_INPUTST... | [
"fallingsunz@gmail.com"
] | fallingsunz@gmail.com |
04aa29d6361698313459f65209696021e700444c | 4b96b918d528624666b8982a0fc2c5271e8ee6ad | /src/qt/utilitydialog.cpp | 501320d27c19e8c9210e897eecd9f417cda5f569 | [
"MIT"
] | permissive | Shin10Shin/TRANNYCHAIN | e825f52fbba984c9c8765e199e30cffa889538e9 | ca1d708c8a489aa94fdcb9cf075ed06daf911e38 | refs/heads/main | 2023-04-24T10:05:56.709567 | 2021-05-14T12:56:41 | 2021-05-14T12:56:41 | 366,787,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,202 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "utilitydialog.h"
#include "ui_helpmessagedia... | [
"bigrael@live.com"
] | bigrael@live.com |
a92472dcbc5b85049032e937dc7ead11ae84b12e | cbcd3b83bc5dde390346ed19bc58bcfdf280fb66 | /Roman/main.cpp | 23ab542e2b7772efcfb42942b83a4bf98808dbc6 | [] | no_license | pwilkins05/CS246-Assignment | e1165412911453e3cfb3382ea81139648b4ac2e7 | f1442e10567fad9369c6bfd055e008403b909a67 | refs/heads/master | 2016-09-01T18:29:46.166928 | 2014-02-25T02:47:19 | 2014-02-25T02:47:19 | 16,552,646 | 0 | 0 | null | 2014-02-10T21:40:41 | 2014-02-05T17:46:45 | C++ | UTF-8 | C++ | false | false | 1,335 | cpp | #include <iostream>
#include "numeral.h"
using namespace std;
/**
* Filename: main.cpp
* Author: James Narayana Emery
* Date: 4/20/2013
* Purpose: Converting Decimals to Roman Numerals.
*Coral Breding
* Edit 2/10/14
* class was missing in the includes numeral class - fixed
* While loop was missing a bracke... | [
"bodmingaol@gmail.com"
] | bodmingaol@gmail.com |
5fa3e513052f2237f8113362fff495d9bacf330e | f975dbc25c84ca0deda0bea6698f06dd80b12df4 | /system/setFieldsDict | 32f624d21f49627ff11e7fef30e998981e2458d7 | [] | no_license | xixihaha1995/drop100 | 5ea0d8e5b820ea994411d1d7199616a84eac83b4 | 4da3459f8b16af2ff6b031c8e11411517de2801c | refs/heads/master | 2021-03-06T04:58:20.846477 | 2020-03-10T13:08:57 | 2020-03-10T13:08:57 | 246,180,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"Hydro@hydrolab.com"
] | Hydro@hydrolab.com | |
0673bdb37064a0cf23b8a94452e7c928fbf814b8 | bf5024f69acca285ca6857e2ca01e6e33af9a885 | /Leetcode1749.cpp | f410cc904c4e825cb72c6a4c32f11eebacccd16b | [
"Apache-2.0"
] | permissive | dezhonger/LeetCode | 08c37177916e4a71bc07cbb27b1573221d96ee92 | 892ae5c14b92788611b86be6a05d1d02e137822f | refs/heads/master | 2023-08-14T00:34:42.570110 | 2023-07-28T06:54:27 | 2023-07-28T06:54:27 | 48,811,775 | 3 | 0 | null | 2021-02-05T06:22:58 | 2015-12-30T17:26:37 | Java | UTF-8 | C++ | false | false | 453 | cpp |
class Solution {
public:
int maxAbsoluteSum(vector<int>& nums) {
int n = nums.size(), ans = abs(nums[0]);
vector<int> f1(n), f2(n);
f1[0] = f2[0] = nums[0];
for (int i = 1; i < n; i++) {
f1[i] = max(nums[i], f1[i - 1] + nums[i]);
f2[i] = min(nums[i], f2[i - 1... | [
"noreply@github.com"
] | dezhonger.noreply@github.com |
aa1ff3b1ba4e2fd75f927d37d314bf13d81cea93 | 08d9fc2096cbaf8588f4b2cc59580219e4e875cf | /E10_Diferencia_de_dos_horas.cpp | fec5d37df0519c114a0fa015e6d11c1b3dc338c8 | [] | no_license | GiulianaSanchez/Practico_1_Fund_Progra | e7bbe345518704b5dc0f264215c73f0b7a4395a5 | 12f15a70a625a3a5d3e58c7972866e5f18d41f90 | refs/heads/master | 2022-12-06T22:05:38.002933 | 2020-08-30T02:36:48 | 2020-08-30T02:36:48 | 289,310,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | /******************************************************************************
10. Construir un algoritmo que lea dos horas del mismo día y halle la diferencia
entre ellas. El ingreso de las horas debe ser en formato de 24 horas: HH, MM, SS,
como así también la diferencia.
Ejemplo:
Hora Inicial: ... | [
"noreply@github.com"
] | GiulianaSanchez.noreply@github.com |
5dcd104efd86d95bcb90bb9f22ab58171c386b51 | 4df5fc8a4116c3a9273d68de182e8d2ff414ec2f | /KDIS/DataTypes/Enums/EnumSupply.h | 3b64f860dc520e42d3a6daee5e0d2cbddbcd07cf | [
"BSD-2-Clause"
] | permissive | pelicanmapping/bda-kdis | 71c696e73a65ed9895dc104496dbffb2134b2530 | ae0d1da99e62a4424b6cd14cd963b5a87a80fb7b | refs/heads/master | 2021-07-05T22:42:09.292023 | 2017-09-29T13:56:07 | 2017-09-29T13:56:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,089 | h | /*********************************************************************
Copyright 2013 KDIS
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyri... | [
"gwaldron@gmail.com"
] | gwaldron@gmail.com |
0b575a8ca1326954f9a0644239dd9a8cf6d3d825 | 7e0ad0e87c1c148cbba3b745f63403f9b86d7fc5 | /CivilWar/CivilWar/BaseWindow.h | 0c33570b7e26ae95307536f2f2a99b9da64535a6 | [] | no_license | larvailor/CivilWar | fcd3601f9646ac13d5d49ef22b275ea9972d18f3 | 1379c7c3d0b8649572c86c571fec97cee99ac4e7 | refs/heads/master | 2020-08-31T03:32:41.124797 | 2019-11-28T07:20:22 | 2019-11-28T07:20:43 | 218,574,874 | 0 | 0 | null | 2019-11-27T21:51:20 | 2019-10-30T16:38:41 | C++ | UTF-8 | C++ | false | false | 1,764 | h | #pragma once
#ifndef UNICODE
#define UNICODE
#endif
#include <Windows.h>
template <class DERIVED_TYPE>
class BaseWindow
{
public:
BaseWindow(HINSTANCE hInstance, int nCmdShow) :
m_hwnd(NULL),
m_hInstance(hInstance),
m_nCmdShow(nCmdShow)
{
};
static LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WP... | [
"dima.konovko@mail.ru"
] | dima.konovko@mail.ru |
c748c17e69b3fb59268a7566f3ce5edf72961415 | 3fedacdc9a43f35609cafa4715c0b098c609c325 | /UVA/How do you add-10943/Untitled1.cpp | eceeea906dbee4ff230b17640b26e27486db3fd9 | [] | no_license | codecameo/ProblemSolved | 7f7fc5ce9829cde4bcb239da6c0893852e370d2c | 77fe538c76276319bc40ad98f77b59072d6368a0 | refs/heads/master | 2020-03-14T22:03:30.851199 | 2018-07-13T14:16:19 | 2018-07-13T14:16:19 | 131,319,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | #include <stdio.h>
int pow(int b,int p){
if(!p) return 1;
return b*pow(b,p-1);
}
int main()
{
int n,k,x,i,j,l,flag,y;
long long int count,num,num2;
// for(x=0;;x++)
//{
scanf("%d %d",&n,&k);
num=pow(k,n-1);
for(i=1,num2=0;i<=n;i++)
num2+=(k-1)*(pow(k,n-i));//printf("%lld %... | [
"code.cameo92@gmail.com"
] | code.cameo92@gmail.com |
ce6c48cac48da837a6537289a1d2dceccb066c76 | 5e737e16e8fe89dfeb66da540400365690e54e8d | /ibrdtn/daemon/src/storage/DataStorage.cpp | f8aa7151af6d4f825676303a99875617bc8aa0db | [
"Apache-2.0"
] | permissive | lianglz2008/ibrdtn | 9b8970b04ef8d998f26dbfe69fa3f95f619150a2 | f10e8b1b65cceec722b174c9215a74e84977b406 | refs/heads/master | 2021-01-15T19:49:11.555623 | 2013-09-30T12:22:28 | 2013-09-30T12:22:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,188 | cpp | /*
* DataStorage.cpp
*
* Copyright (C) 2011 IBR, TU Braunschweig
*
* Written-by: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
*
* 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
*
... | [
"morgenroth@ibr.cs.tu-bs.de"
] | morgenroth@ibr.cs.tu-bs.de |
5267ed7f1386ff7d1d84ae275c44f3d3d52d8217 | b0d09c289547c49376771ed8c68d0f8e085c3454 | /Sections/Builder/Person.h | 26bb5415afef6ff7cf40026dd372243fa940848d | [] | no_license | blockspacer/DesignPatternsModernCpp | 275de7b8c484b05fe1e4d416cca07ce86e3ac246 | a09e2f4c3d1a2169ef196ee3757eddbc1e1f4fa4 | refs/heads/master | 2020-07-10T13:02:37.787651 | 2018-10-19T22:46:42 | 2018-10-19T22:46:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | #pragma once
#include <string>
#include <ostream>
// MULTIPLE BUILDERS / BUILDER FACADE.
class PersonBuilder;
class Person {
friend class PersonBuilder;
friend class PersonJobBuilder;
friend class PersonAddressBuilder;
friend std::ostream &operator<<(std::ostream &os, const Person &person);
std... | [
"m.a.shah@live.co.uk"
] | m.a.shah@live.co.uk |
3f96c033c7ad881190aaddb909f74c684b6d09ab | 3adaede5ef5c52f354325343a3d92dda5689f8f9 | /acoperire_convexa.cpp | 157ac8aa9795ea3ac788952c7c70ad27466f4b24 | [] | no_license | Arevy/Geometria_Computationala | 0b6ea367bd8fafa39654bf5a2fdcf82e40ecfe81 | 444d47cbfd13353fa31ef684433c72c1310cb9e5 | refs/heads/master | 2020-07-23T09:41:02.190135 | 2019-09-10T09:21:26 | 2019-09-10T09:21:26 | 207,516,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,792 | cpp | #include <iostream>
#include <vector>
using namespace std;
struct Punct
{
int x, y;
};
int puncte_identice (Punct A, Punct B)
{
if (A.x == B.x && A.y == B.y)
return 1;
return 0;
}
float arie_triunghi (Punct A, Punct B, Punct C)
{
float arie;
arie = ( (A.x - C.x) * (B.y - A.y) - (A.x - B.... | [
"aurasslam@gmail.com"
] | aurasslam@gmail.com |
c8785b62c71439f2f7d64052c435793b1a209939 | 990850bd726ebfa0320e46e587d38426bdb18bc1 | /Hellow world.cpp | 2ebfef3b6c74211fe4a25651787fe3b10ef54cd3 | [] | no_license | kevinjok/basic-homework-1 | 7445816e049182a8b70ec5744292016b3bbf8cae | 11868c2a3511d6cf6bf64cf986813a140273a979 | refs/heads/master | 2020-04-29T01:50:52.141711 | 2019-03-15T03:58:12 | 2019-03-15T03:58:12 | 175,743,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | cpp | #include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Hello C!\n");
printf("Hello World\n");
system("pause");
return 0;
}
| [
"noreply@github.com"
] | kevinjok.noreply@github.com |
2d7f2e58435b2b5c9db8b5a1f5a9a9b0639b48e4 | 095fbe6770e0c1430d2feacca26c6f6ee88aae35 | /codeforces/A/blackSquare.cpp | 5cfb36a7a373ade70b7ec46809d0770f7de0f8ad | [] | no_license | redaaa99/HackerRankSolutions | 7ac06e973b8ece345ab53c3a4dc03c416c487a73 | 1a3fc76f0e91dc1d0f0285e4fc2a25dc126e0ccb | refs/heads/master | 2022-03-25T20:39:01.650954 | 2022-02-02T16:36:08 | 2022-02-02T16:36:08 | 114,291,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
array<int, 4> calories;
string s;
cin >> calories[0] >> calories[1] >> calories[2] >> calories[3];
cin >> s;
long sumCalories = 0;
for(auto strip: s)
{
sumCalories += calories[(int)(strip - '0') - 1];
}... | [
"redaaa99@hotmail.fr"
] | redaaa99@hotmail.fr |
d3faa9ef62184c05087b8b3e5330cf5d1efbd03f | 6e43f558321a62d9f391a8e25901daa493a85fc5 | /SubLogic_Positional/AppLogic_Position.cpp | c7f5f1087594c1f7716ddb46ada8c82b87261537 | [] | no_license | Moonlight63/GrblCom | 25826f98b53462e5f0c5e1007f31654a963b8123 | 36799319fecc861bc5381a86e8318a421271393c | refs/heads/master | 2021-08-16T07:07:00.740912 | 2017-11-19T07:58:07 | 2017-11-19T07:58:07 | 110,405,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | #include "AppLogic_Position.h"
#include "MasterAppLogic.h"
AppLogic_Position::AppLogic_Position(MasterAppLogic *parent)
{
this->parent = parent;
this->parent->eventBroker->events_position->Position_XUP.connect(
[&](float amount) {
//qDebug() << "Got Signal: XDOWN -> " << amount;
th... | [
"dalen@cascadeap.com"
] | dalen@cascadeap.com |
c9191d6765404386ec583e2050a725a6d5aebfbb | 154dfd2a2130a3a7731a9a9b431e8295fbf82cd2 | /TOJ/TOJ10.cpp | f991c7cf4d8e9992ecae3140535001970fb88e1f | [] | no_license | ltf0501/Competitive-Programming | 1f898318eaecae14b6e040ffc7e36a9497ee288c | 9660b28d979721f2befcb590182975f10c9b6ac8 | refs/heads/master | 2022-11-20T21:08:45.651706 | 2020-07-23T11:55:05 | 2020-07-23T11:55:05 | 245,600,907 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 3,086 | cpp | #include<bits/stdc++.h>
using namespace std;
#define maxn 100010
int fa[maxn],sz[maxn],dep[maxn],top[maxn],maxson[maxn];
int in[maxn];
int num;
int val[maxn];
struct node
{
int u,v,dis;
}e[maxn<<2];
vector<int> g[maxn];
void dfs1(int u,int f,int d)
{
sz[u]=1;
maxson[u]=0;
fa[u]=f;
d... | [
"0110420@stu.nknush.kh.edu.tw"
] | 0110420@stu.nknush.kh.edu.tw |
8b73dfb35c0de7433ba17cbcb1617655c8b3d0cb | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_old_hunk_345.cpp | 2a69935ef8245773d20532ba480621803f308df6 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | load_balance = 1;
break;
case 'f':
fprintf(stderr,
"WARNING. The -f flag is DEPRECATED and always active.\n");
break;
#if NTLM_FAIL_OPEN
case 'l':
last_ditch_enabled = 1;
break;
#endif
case 'd':
... | [
"993273596@qq.com"
] | 993273596@qq.com |
79623cc88971c21a0b07e20e5b902314d826717c | bc1dc85d5db5c923541edaa7518f847ecc523b67 | /Badge/Firmware/Gui/stmpe811.h | 13845a39df82069a483f32c88ad364a8e5a691fa | [] | no_license | Kreyl/BmstuBadge | d81e6d312445e89de254365a7ddf73fdb95c0965 | 0e69ba1d511fb059df57a1fe553bcafcca09b7f5 | refs/heads/master | 2021-01-13T09:38:03.788923 | 2018-05-25T16:32:28 | 2018-05-25T16:32:28 | 69,383,440 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | h | /*
* stmpe811.h
*
* Created on: 14 ??? 2016 ?.
* Author: Kreyl
*/
#pragma once
#include "kl_lib.h"
#include "board.h"
#include "kl_i2c.h"
#define STMPE811_I2C_ADDR 0x41
class STMPE811_t {
private:
i2c_t *I2C_TOUCH;
uint8_t Write(uint8_t Addr, uint8_t Data);
uint8_t Read(uint8_t Addr, uint8_t *... | [
"nikita_s@gmx.com"
] | nikita_s@gmx.com |
4cf591347dcb24425a8dbf08c78ac237841169c4 | 92c2fac4757fc31f26ecd2816d35df1af435e972 | /src/Object.cpp | 6777ba79fedfa8a034a1047bc4987d463c78f2ea | [] | no_license | alfiejscully/Parallel-Raytracer | 7bf550c2ca56a125fd88054115ef58dc14799992 | 9e3f9c4fd98d0208e83c43bf5dd7effa58a70fc9 | refs/heads/master | 2020-04-09T10:55:15.079969 | 2018-12-14T11:42:51 | 2018-12-14T11:42:51 | 160,287,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,238 | cpp | #include "Object.h"
#include "Ray.h"
#include "Randomizer.h"
#include "Material.h"
Object::Object(glm::vec3 _centre, float _radius, Material* _material)
{
// Values being stored
m_centre = _centre;
m_radius = _radius;
m_material = _material;
}
bool Object::Hit(const std::shared_ptr<Ray> _ray, float _min, float _... | [
"alfiejscully@blueyonder.co.uk"
] | alfiejscully@blueyonder.co.uk |
3f664fae75742988b0de20b50525dd9b6a061f01 | 8a1ab43a7179929fc55fcb2d5d15adb3c5e2eaed | /include/pigpiodpca9685.hpp | 60ee7a0b3ffb81b2db17f5b2664582efe4bd82d2 | [] | no_license | freesurfer-rge/sbexperimental | 61a7546f00d144a97729bf76d2efbf47efaf5b77 | 1c80f145b07965ac803f1ad3f9cc67128d22dcd6 | refs/heads/master | 2020-04-07T06:06:40.439568 | 2019-06-16T20:17:07 | 2019-06-16T20:17:07 | 158,122,656 | 0 | 0 | null | 2019-06-16T00:26:58 | 2018-11-18T20:11:48 | C++ | UTF-8 | C++ | false | false | 1,346 | hpp | #pragma once
#include <memory>
#include "pwmchannelprovider.hpp"
#include "i2cdevice.hpp"
#include "pca9685pwmchannel.hpp"
namespace Signalbox {
class PiGPIOdPCA9685 : public I2CDevice, public PWMChannelProvider {
public:
PiGPIOdPCA9685( const std::string deviceName,
const unsigned int bus,
const... | [
"noreply@github.com"
] | freesurfer-rge.noreply@github.com |
9aaa8f4c24cb7d86d9d651f5a1b1c2961bad8d21 | 4c45a7b3142a0ccf8db1e4243eeb4060aba8b7d2 | /driver/include/host_conv.hpp | ab932bb2c61bd8db508224d36ca9951239c75c11 | [] | no_license | asleepzzz/group_gemm | 8eb58d7d00efa2f9108a513809ccfe094a425e13 | e627d5c3ff503fbafdcf56371372c6389f467e03 | refs/heads/master | 2021-04-23T15:13:56.412679 | 2020-03-25T09:39:56 | 2020-03-25T09:39:56 | 249,935,001 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,036 | hpp | #pragma once
#include "tensor.hpp"
template <class TIn,
class TWei,
class TOut,
class ConvStrides,
class ConvDilations,
class LowerPads,
class UpperPads>
void host_direct_convolution(const Tensor<TIn>& in_nchw,
const Tensor<TWei>&... | [
"lc.roy86@gmail.com"
] | lc.roy86@gmail.com |
45af329a47a2c3a35561cddfd152529e1a0c196f | 600370a14f612e00e4c7c159efe25b673bae61d1 | /COJ/Geometry/COJ_1791 - Concentric Circles/main.cpp | 56c76da37c42fa39cb7b9c9c3141ee29ad9961c7 | [] | no_license | melalonso/CompetitiveProgramming | 535ec116a966569e266c463a5a12705d57153cf2 | 44b931dfafd8bb9d2e79c676c2f3063d398a64da | refs/heads/master | 2021-01-10T07:33:33.283426 | 2018-03-29T21:50:33 | 2018-03-29T21:50:33 | 50,736,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include <bits/stdc++.h>
# define PI 3.14159265358979323846
// ACC
using namespace std;
int main() {
ios::sync_with_stdio(0);
//cin.tie(0);
int n, start;
double res = 0;
cin >> n;
int c[n];
for (int i=0;i<n; i++) cin >> c[i];
sort(c, c+n);
if (n%2){
res += c[0]*c[0]*PI; st... | [
"melvin.aep@gmail.com"
] | melvin.aep@gmail.com |
2095156c66b7577ce18e1661e8516373671ecdf3 | 84257c31661e43bc54de8ea33128cd4967ecf08f | /ppc_85xx/usr/include/c++/4.2.2/java/security/SecureClassLoader.h | e8f256de4727fcf1a9b99dd7b0de11c43c1572a4 | [] | no_license | nateurope/eldk | 9c334a64d1231364980cbd7bd021d269d7058240 | 8895f914d192b83ab204ca9e62b61c3ce30bb212 | refs/heads/master | 2022-11-15T01:29:01.991476 | 2020-07-10T14:31:34 | 2020-07-10T14:31:34 | 278,655,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_security_SecureClassLoader__
#define __java_security_SecureClassLoader__
#pragma interface
#include <java/lang/ClassLoader.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace security
{
class SecureClass... | [
"Andre.Mueller@nateurope.com"
] | Andre.Mueller@nateurope.com |
f1950549296bb4524bb4752e96aecfae9815e382 | 8ea29aa6ab47627ab8514cd746dfde4fb37a2c06 | /other/geant4ToShield_example/src/convertGeant4ToShield.cpp | 58ec8328d746e52e1ff9181d0f71f67b1ec6b47e | [] | no_license | kazymai/aftercmakeold | b8e60bd8b54e9a28a6336d5a3355fe71061b736f | d3c603647389f1cef3bcacc811eb82375c44e993 | refs/heads/master | 2016-09-06T14:14:12.089682 | 2015-05-05T11:11:26 | 2015-05-05T11:11:26 | 35,094,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,024 | cpp | #include "convertGeant4ToShield.h"
namespace geant4toshield {
zoneElement notElement(zoneElement el) {
return std::pair<int, SGeoBody>(el.first * -1, el.second);
}
zoneList notZone(zoneList list) {
int cur, count = 1;
for (unsigned int i = 0; i < list.size(); ++i) {
count *= list.at(i).size();
}... | [
"kazymai@jinr.ru"
] | kazymai@jinr.ru |
9a928340c9338ec5da7c603cf11d49bfeeef3d41 | b5105b01b21f884a995389d3862f6cd17e6e8f31 | /src/uboone/datatypes/triggerData.h | 7c6d16e01cc92cc49f297a66dd0babc57a3fe71f | [] | no_license | jec429/captTrans | 7db1348ac44b73cfafbb6ed847fd72192ef9470e | 5bc5504da5969aa4e9dd46391491d50ff39c806a | refs/heads/master | 2021-06-21T18:24:02.828349 | 2017-07-12T00:26:39 | 2017-07-12T00:26:39 | 100,270,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,384 | h | #ifndef _UBOONETYPES_TRIGGERDATA_H
#define _UBOONETYPES_TRIGGERDATA_H
#include <sys/types.h>
#include <inttypes.h>
#include "evttypes.h"
#include "share/boonetypes.h"
#include <boost/serialization/list.hpp>
#include <boost/serialization/string.hpp>
#include <boost/serialization/version.hpp>
#include "boost/date_time/g... | [
"clark.mcgrew@stonybrook.edu"
] | clark.mcgrew@stonybrook.edu |
8fe5e4688c8cccf1ea5238d1dd5b7420c433a6b2 | 6eb3718461697cc2fecc55f29c41fb751f40d86e | /project 5/C6HW6.cpp | 6e6691b1a6b8bc045fb92fbac7318647e4166955 | [] | no_license | jxzhuge12/visual_cpp | d295a15269415a46710c1e2b277a83ee319e13ba | 1a62d743a5e2281c4a192e9d21f07372a875ba9b | refs/heads/master | 2021-03-12T23:09:05.967050 | 2013-12-30T14:02:34 | 2013-12-30T14:02:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,979 | cpp | #include<windows.h>
#include<tchar.h>
BOOLEAN InitWindowClass(HINSTANCE hInstance, int nCmdShow);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){
MSG msg;
if (!InitWindowClass(hInstance, nCmdShow)){
MessageBox(... | [
"jxzhuge12@gmail.com"
] | jxzhuge12@gmail.com |
930648850e3dec83af9dcae17fc0d80d84db1fb5 | 1dee25e8a8e9de6ccc2c78e60141a68ba028e7c5 | /src/script/script.cpp | 066fdee6595a868e5ffa9f578219a258ba2e3015 | [
"MIT"
] | permissive | j00v/STUDS | 327f83f57575d75da8f2a0edf4aab427216a7624 | 04edce15153c47f81b00d00dad44493043161205 | refs/heads/master | 2023-05-10T19:57:21.871184 | 2021-06-01T10:15:54 | 2021-06-01T10:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,572 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019-2020 The MasterWin developers
// Copyright (c) 2021-2021 The Studscoin developers
// Distributed under the MIT software license, see the accompanying
// file... | [
"studs@studentscoin.net"
] | studs@studentscoin.net |
728b8297c759e616ef9f8ff021c634bbaacbca93 | 3e44c87bb77d39a91a865d8d8db18181f1b1effa | /test/algo/eee/0-1-Knapsack.cpp | cfedb030532de5e9ed5c4e3af32471ffdedb649c | [] | no_license | kainzhang/kz-algo-cpp | e6386ec3d29104f21a15401ace96db869662afc8 | 12947152289802915a65c793687e6008b5f2cd76 | refs/heads/master | 2023-01-23T23:56:10.541532 | 2020-11-23T02:40:03 | 2020-11-23T02:40:03 | 247,682,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | //
// Created by LOKKA on 2020/6/3.
//
#include <bits/stdc++.h>
using namespace std;
int main() {
int M, N;
cin >> M >> N;
vector<int> v(N + 1), p(N + 1), dp(M + 1); // v价格 p评分
for (int i = 1; i <= N; i++)
cin >> v[i];
for (int i = 1; i <= N; i++)
cin >> p[i];
int ans = 0;
... | [
"luvwind@qq.com"
] | luvwind@qq.com |
723464b622b308a1ed367e4a0b13fb3161f7fd50 | 21c9bc0a277dd9a082a9c16400fd5ded5b6196a7 | /Projet/Projet/NaryExpression.h | baeefc2348e409b76979d45e3b361b2973cf9139 | [] | no_license | chamsaz/ProjetFramework | a7981644882fee0b78021eda54d0d75e3a768242 | 224a9515d4e00d2d098cf51f815d0b6f36cf76b6 | refs/heads/master | 2020-04-28T21:07:34.121483 | 2019-03-04T22:17:34 | 2019-03-04T22:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | #ifndef NARYEXPRESSION_H
#define NARYEXPRESSION_H
#include "pch.h"
#include "Expression.h"
template <class T>
class NaryExpression {
public:
virtual T& evaluate(Expression&) const = 0;
};
#endif | [
"rigo_lozano@hotmail.com"
] | rigo_lozano@hotmail.com |
83a9ac3bf6528c6fc9567ae26744e64e86e75a3c | bd36f00afe101e1256e9df35e584f0bc98edf478 | /fonduri_insuficiente.h | 92f4effe7c9043a8031b28b280dc82eca058f6a5 | [
"Unlicense"
] | permissive | mcmarius/turism-1511-2021 | b326a1d7713d116ad73b152ca1d3d1dc5275574f | 1cf571dada270b91a267d77a166dd097f1a77c25 | refs/heads/main | 2023-04-25T02:58:41.721403 | 2021-05-06T11:02:44 | 2021-05-06T11:02:44 | 344,438,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h | //
// Created by marius on 2021-04-01.
//
#ifndef TURISM_1511_2021_FONDURI_INSUFICIENTE_H
#define TURISM_1511_2021_FONDURI_INSUFICIENTE_H
#include <stdexcept>
class fonduri_insuficiente : public std::runtime_error {
public:
fonduri_insuficiente(int actual, int necesar) noexcept;
};
#endif //TURISM_1511_2021_FON... | [
"m.c.marius@outlook.com"
] | m.c.marius@outlook.com |
c42d6963674a1a753645fe4115baa8be7e3d4864 | 9d1c0d41dd8e89d14c4111a29613021708af0d0e | /simul_lrn/datalib/queue.cc | 852019a1323f0d2378c0862e1eba85c59ac89247 | [] | no_license | ModelDBRepository/119159 | e66efb70997c8c6954fdee43a9f585fedce8930e | 9d675fe793a1213d51e64db69604fcda0197f15b | refs/heads/master | 2020-05-29T18:29:05.935473 | 2019-05-31T05:01:09 | 2019-05-31T05:01:09 | 189,300,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,421 | cc | /***********************************************************************/
/* file queue.cc */
/* contains the implementation of class members of class */
/* queue. */
/***********************... | [
"tom.morse@yale.edu"
] | tom.morse@yale.edu |
7b4bc0920714f5a6a9aa39f44c595f3103dd6075 | 406b6f3e8355bcab9add96f3cff044823186fe37 | /src/Simulation/characteristics_simulation/surface.h | 2bfc823f6f213bee229f960cfd3f5cef7b32935b | [] | no_license | Micalson/puppet | 96fd02893f871c6bbe0abff235bf2b09f14fe5d9 | d51ed9ec2f2e4bf65dc5081a9d89d271cece28b5 | refs/heads/master | 2022-03-28T22:43:13.863185 | 2019-12-26T13:52:00 | 2019-12-26T13:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,895 | h | #pragma once
#include "Mesh.h"
#include <map>
#include <list>
#include <osg\Matrixf>
#include "ShortestPath.h"
using namespace LauncaGeometry;
class ControlPoint
{
public:
ControlPoint();
~ControlPoint();
unsigned GetHandle();
float x;
float y;
float z;
unsigned m_vertex_index;
private:
unsigned m_handle;
... | [
"anoob@sina.cn"
] | anoob@sina.cn |
20b2af7ea908a10cc9419bf9470640b59eb17d3b | 493e51195e0701dd1b52a57097407f6dbf3c28a9 | /Engine/include/Time.hpp | 7e584c9dfa3f1e5cbe6898f5515a8bf83831e6fc | [
"Unlicense"
] | permissive | synctax/Untitled-Game | 2f302f98cfbd2fe7d52cced1fbc60817d556174e | 586946f838e9e5b43e48394f916f001e77674adb | refs/heads/master | 2020-09-01T09:30:24.779177 | 2019-12-01T03:08:44 | 2019-12-01T03:08:44 | 218,930,584 | 0 | 0 | Unlicense | 2019-11-08T04:08:39 | 2019-11-01T06:57:32 | C++ | UTF-8 | C++ | false | false | 432 | hpp | #pragma once
#include <chrono>
namespace Engine {
class Time {
public:
//start the time class
static void start();
static void update();
inline static float getDeltaUpdate() {return deltaUpdate;}
private:
static std::chrono::time_point<std::chrono::high_resolution_clock> startPoint;
stati... | [
"gogleboywerser@gmail.com"
] | gogleboywerser@gmail.com |
770e676224ff5095dcfe2e76cd28f528282335ba | 12e001266fa7787e3331ad304f163054f9586faf | /문자열 처리/1157 - 단어 공부.cpp | 3f6a2b032c40279854652c131ad9556a5074a978 | [] | no_license | shuri030/Algorithm-BOJ | db1d904ffa49a67ecc2c4ee5eef1355d4d2e56fa | 48aee1c88e2dac24c19e61614e342e5ff81a98f9 | refs/heads/master | 2021-06-05T17:33:43.802383 | 2021-05-17T13:13:40 | 2021-05-17T13:13:40 | 143,022,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | #include <stdio.h>
#include <iostream>
#include <string.h>
#include <vector>
#define MAX_L 1000005
using namespace std;
int num[30];
int main()
{
char st[MAX_L];
scanf("%s", st);
for(int i = 0; i < strlen(st); i++) {
if((st[i] >= 65) && (st[i] <= 90)) { //대문자면
num[st[i] - 64]++;
}
else if((st[i] >... | [
"kpo01286@gmail.com"
] | kpo01286@gmail.com |
791904b7f1e6811f929d4a5c06643c3dc4eb4885 | c6e4b38b9a414802cd215e4653c02a9afdac604a | /Relatorio/Entregar/main.cpp | 614ab58db862703b5dc8cc35bde495f00bbf335b | [] | no_license | polvalente/TrabalhoCE2 | 0428d3a620179a37bdcbae8957300d940538ca5e | 2d18c8ba2b73ccd64b34d8484938c8b61d955132 | refs/heads/master | 2020-07-03T06:27:22.381125 | 2017-01-01T10:42:43 | 2017-01-01T10:42:43 | 74,191,950 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | cpp | /* Trabalho de Circuitos Eletricos II
* Alice Fontes - alicefontes@poli.ufrj.br
* Camyla Tsukuda Romao - camyla.romao@poli.ufrj.br
* Paulo Oliveira Lenzi Valente - paulovalente@poli.ufrj.br
*
* Baseado no programa mna1 (por Antonio Carlos M. de Queiroz - acmq@coe.ufrj.br)
*
* O simulador aceita os seguintes tip... | [
"polvalente@gmail.com"
] | polvalente@gmail.com |
5438321a11c7bc32065c29f2d5ee3c4a6699e2f5 | b4713b014fee9fafb2df58c5f769eb5b939f5b4c | /cpp_examples/run_snode.cpp | 992f6ae1d79f25e33936cdff63a3e1de09f4144e | [
"Apache-2.0"
] | permissive | hugodu/taichi | 255c5fef2f0679add7f39f5f004a25dbdc3cedef | 3d9539636ab24b2cb84f3ed5329637680cd0c998 | refs/heads/master | 2022-06-24T06:51:40.291223 | 2022-06-06T10:08:06 | 2022-06-06T10:08:06 | 232,693,075 | 0 | 0 | MIT | 2020-01-09T01:14:30 | 2020-01-09T01:14:29 | null | UTF-8 | C++ | false | false | 3,979 | cpp | #include "taichi/ir/ir_builder.h"
#include "taichi/ir/statements.h"
#include "taichi/program/program.h"
void run_snode() {
/*
import taichi as ti, numpy as np
ti.init()
#ti.init(print_ir = True)
n = 10
place = ti.field(dtype = ti.i32)
ti.root.pointer(ti.i, n).place(place)
@ti.kernel
def init():
... | [
"noreply@github.com"
] | hugodu.noreply@github.com |
edf030670891bba58a9f79d68aad8f48333c93eb | 05f1ef9cd9dc964c8689607b17c726572247ff2c | /skee/PapyrusCharGen.cpp | 05f104a5794de0c82cd790569d37280ffe1bdc5c | [] | no_license | ulfbearth/SKSE64Plugins | b33a9b601f41d95a6cd50bb0ea416179c6abbc7e | 259ff7e67cfa943d7ab1936642b4e3209c562e47 | refs/heads/master | 2020-04-01T16:36:47.967470 | 2018-10-14T20:11:52 | 2018-10-14T20:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,335 | cpp | #include "PapyrusCharGen.h"
#include "MorphHandler.h"
#include "NifUtils.h"
#include "common/IFileStream.h"
#include "skse64/PluginAPI.h"
#include "skse64/GameFormComponents.h"
#include "skse64/GameData.h"
#include "skse64/GameRTTI.h"
#include "skse64/GameForms.h"
#include "skse64/GameObjects.h"
#include "skse64/Gam... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
27eecb2e2f630efd25a32f6893d36927dea5a1c1 | 5ac113c326bef59d8e127b60d5122045bb564241 | /src/miner.h | 5aa19f7bed34d87b4400c605321bdff9352be802 | [
"MIT"
] | permissive | warrenween/ticoin | ce09cc4ee85475c82cb8329db143ba71207ffa72 | e767f0d80fc8b1788dd259168545bf1d942e472b | refs/heads/master | 2021-01-18T15:31:52.622297 | 2017-06-12T03:55:33 | 2017-06-12T03:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | h | //ticoin Copyright (c) 2009-2010 Satoshi Nakamoto
//ticoin Copyright (c) 2009-2013 The ticoin developers
//ticoin Distributed under the MIT/X11 software license, see the accompanying
//ticoin file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ticoin_MINER_H
#define ticoin_MINER_H
#include <st... | [
"evvalue@gmail.com"
] | evvalue@gmail.com |
28fc07cdfb32a798e952d590d469128de7b663f5 | 970806663afa1c9cb756e8819e7fd770da4caa43 | /setup.ino | 6aadc1ec32f7980f467b1f4b1b0fe2f02754f268 | [] | no_license | UnforseenGamer/MicromouseV1 | eae55e59baf4f835a1fc86faa8a622378de1516c | 3af15929dc6e1f5fa65daf13a0c87f4dfab6ba65 | refs/heads/master | 2020-05-29T19:04:28.997314 | 2013-05-15T03:49:11 | 2013-05-15T03:49:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | ino | /* Function that sets defaults for the mouse */
void setup_mouse()
{
//Assign all motors as output
pinMode(MOTOR_LEFT_A, OUTPUT);
pinMode(MOTOR_LEFT_B, OUTPUT);
pinMode(MOTOR_RIGHT_A, OUTPUT);
pinMode(MOTOR_RIGHT_B, OUTPUT);
//Assign Motor speed control pins
pinMode(MOTOR_CONTROL_LEFT, OUTPUT);
pinMo... | [
"jmredsoxfan1010@gmail.com"
] | jmredsoxfan1010@gmail.com |
93592c9b74be6ad502fdf895f63fc19660e79224 | efc3acac48c5a44fe347290c2b72b7fc552c572e | /include/dcps/C++/isocpp/dds/pub/qos/DataWriterQos.hpp | 70583e257b8da025af1fea9d6373af66d0c1bd66 | [] | no_license | NaiveSolution/PubSub | 3635316fcaadd62b67dbdb8861cc21042e822204 | 1fa6c0a3cd27a0b1a2bbf1b7f878fdd96ef5daf7 | refs/heads/main | 2023-01-23T12:43:00.865389 | 2020-12-03T05:19:00 | 2020-12-03T05:19:00 | 318,079,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | hpp | /*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | [
"tariq@localhost.localdomain"
] | tariq@localhost.localdomain |
ac7a1f182e164ab64b85a20f74df844ec4a27389 | 7e23d9464639a2188e92cde1e7dc13e2e38d811e | /Examples/Chap10/10.1_vtkTest.cpp | bb3bc60b2cdee2fb4840ba78c2df1a48de66d9e6 | [] | no_license | zzudianzi/VTK | 60911e617c498cdfea20fa693b08e24ff513d6b0 | 2730d2e8c144b3e09f64c4c9603dbe18b1535619 | refs/heads/master | 2021-01-01T17:44:54.172765 | 2017-07-24T10:20:16 | 2017-07-24T10:20:16 | 98,145,686 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,864 | cpp | /**********************************************************************
文件名: 10.1_vtkTest.cpp
Copyright (c) 张晓东, 罗火灵. All rights reserved.
更多信息请访问:
http://www.vtkchina.org (VTK中国)
http://blog.csdn.net/www_doling_net (东灵工作室)
**********************************************************************/
... | [
"409914684@qq.com"
] | 409914684@qq.com |
4fc532cd22ef04bd7ab73971c08b7ec1a7f51305 | 8f449fe36b67ba8268e8787e3b2af645c9dbe7c3 | /src/backend_leveldb/backend.cpp | 72e9aa62ff5823c2685f693342fdeb2123fcd11b | [] | no_license | maciekgajewski/falcondb | f70fe73c65b8792f2d86c0a58a3b776aadc917dd | 404867fc0833fecd32604fb72b92183631ed994f | refs/heads/master | 2020-12-30T10:50:08.121601 | 2012-08-07T22:04:29 | 2012-08-07T22:04:29 | 4,841,193 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | /*
FalconDB, a database
Copyright (C) 2012 Maciej Gajewski <maciej.gajewski0 at gmail dot com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any... | [
"maciej.gajewski0@gmail.com"
] | maciej.gajewski0@gmail.com |
36ac2124d54438a77828e9164519d8a094a6737f | 6b790374e0cedd7481de311b9ab68ef8129b0f6d | /src/algos/twap/twap.cc | db9f2cff286b2289f8d921ac07f9ef4f079cca82 | [
"Apache-2.0"
] | permissive | disunbow/opentrade | 7492fe8ad4d5590cb781d37483fe8f8cfa0ed0cd | 345be2f84e6845b4b0dfc53b96def61d3658a332 | refs/heads/master | 2020-06-24T17:57:29.141590 | 2019-07-26T02:06:33 | 2019-07-26T02:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,983 | cc | #include "twap.h"
#include <opentrade/logger.h>
namespace opentrade {
Instrument* TWAP::Subscribe() {
return Algo::Subscribe(*st_.sec, st_.src, false);
}
std::string TWAP::OnStart(const ParamMap& params) noexcept {
st_ = GetParam(params, "Security", st_);
auto sec = st_.sec;
assert(sec); // SecurityTuple a... | [
"info@opentradesolutions.com"
] | info@opentradesolutions.com |
391e126a4ef597e350404ae0be8c23af666a8554 | 588486d3442bef44fdab9c55770454c2b9ebf608 | /src/AxWheel/stdafx.h | 482c5271dbb18d0adb8d0111cac764b9fc3e154d | [] | no_license | dg1an3/theWheel | 03246c207b08d10bc0a42d0c1f47a5909762dc64 | 4efb2860d4770e6da24bcd8744d569f72e51a6d9 | refs/heads/main | 2023-07-13T16:59:09.134551 | 2021-09-01T01:48:52 | 2021-09-01T01:48:52 | 326,756,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef STRICT
#define STRICT
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer t... | [
"Derek.Lane@elekta.com"
] | Derek.Lane@elekta.com |
d2ef76cb1137091ca4b5759759e21ebdfc232b2b | 2c4fec686fbe909fc27e168ecd115280f3fefc5d | /cpp-test/招行信用卡/11.cpp | d8291570afcfe7453f30c5316c4194e6c1b0c752 | [] | no_license | mianhk/learn_cpp | 346196ec15df2a5d7db31d57b29a56297f7995b6 | 09686fba74195e85b1112b590d375aaf44a5166c | refs/heads/master | 2021-10-08T12:51:03.198670 | 2018-12-12T12:41:29 | 2018-12-12T12:41:29 | 91,341,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string str;
while (getline(cin, str))
{
int pos = 0;
str += ' ';
vector<int> ivec;
for (int i = 0; i < str.size();)
{
pos = str.find(' ', i);
if (pos < str.size())
{
... | [
"gcyu25@gmail.com"
] | gcyu25@gmail.com |
2cd37a95d7c5cead81ba851ec6165ee768ea802d | 43441cde04695a2bf62a7a5f7db4072aa0a6d366 | /vc60/G30/StdAfx.cpp | 5c95a403d3fe5449ee606c301a153a54d09ed433 | [] | no_license | crespo2014/cpp-lib | a8aaf4b963d3bf41f91db3832dd51bcf601d54ee | de6b653bf4c689fc5ceb3e9fe0f4fe47d79acf95 | refs/heads/master | 2020-12-24T15:23:32.396924 | 2016-03-21T11:53:37 | 2016-03-21T11:53:37 | 26,559,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// G30.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"lester.crespo.es@gmail.com"
] | lester.crespo.es@gmail.com |
5e0d4fef8329d52da685a63d360cbbe93c9411b4 | a2b0ccdfd1a3f385bc364d7330049a0273415fd7 | /Engine/Engine/src/graphics/render/Renderer.cpp | 1339dd3110ca56964de246d709f9ce1dacb8d4b2 | [] | no_license | TheGreenBridge/bridgeengine | c38d4115fec818aed842a29af48f1860cbfa9502 | fd13d261a9f537a04b8b5a11fb76033ef7ec4708 | refs/heads/master | 2021-01-24T00:15:29.504844 | 2018-02-24T18:18:27 | 2018-02-24T18:18:27 | 122,758,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,857 | cpp | //#include <gl\glew.h>
#include "RenderAPI.h"
#include "Renderer.h"
#include "../../collision/AABB.h"
#include "../../entity/Camera.h"
#include "../Texture.h"
using namespace engine::graphics;
using namespace engine;
namespace engine { namespace graphics {
Renderer::Renderer(Camera *camera) {
setCame... | [
"blitzgneisser21@tugraz.at"
] | blitzgneisser21@tugraz.at |
641368742697214ea60dee9676f545c77f7784eb | 462357657c625e6cc483fa31eb7f2ce8e3668a1f | /Basics/Practice/main_practice_projection.cpp | 85d903b7225848ed3daadd38277b2e33efe51b9b | [] | no_license | Bonefest/OpenGLExamples | fbdba3388cd6c127ebd849b238121a3003c3157e | 7839ab635c9e992de70644f782ab5bf1e8dd5ba8 | refs/heads/master | 2022-12-10T10:49:18.664583 | 2020-09-06T08:35:01 | 2020-09-06T08:35:01 | 254,579,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,334 | cpp | #include <iostream>
#include <cmath>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "../Program.h"
#define STB_IMAGE_IMPLEMENTATION
#include "../stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
using namespace std;
void framebuffer_size_callback(GL... | [
"tereshenko1@ukr.net"
] | tereshenko1@ukr.net |
190863c45fa1736ac442571d47e23378eda13585 | ac140a854c180f0c6c0ff0f35518c18e32a43758 | /ModernCpp/SubParagraph_1_3_1.cpp | ebd3637b9dea908386085ac253b80a807056bc95 | [] | no_license | klasing/MnistExample | 53bd4e6316b513889acd77a5549082863c643435 | 720479f6768c15fa6e63fafd415b5a2bcff3dfa9 | refs/heads/master | 2020-04-22T00:29:18.102857 | 2019-06-30T18:41:17 | 2019-06-30T18:41:17 | 169,981,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | cpp | #include "pch.h"
#include "AirlineTicket.hpp"
inline void subParagraph_1_3_1() {
cout << "Declaring a Class" << endl;
cout << "-----------------" << endl;
// Stack-based AirlineTicket
AirlineTicket myTicket;
myTicket.setPassengerName("Sherman T. Socketwrench");
myTicket.setNumberOfMiles(700);
int cost = myTic... | [
"klasing1959@gmail.com"
] | klasing1959@gmail.com |
1d58fab26c3f003c4f1eb8d79678a686c69aff5e | 3c07b8b66101077dfd70980f8a3c83a0fae26d64 | /Cube.cpp | f43c1878426c27c802fdff6190b402ad7e0ec6ad | [] | no_license | lewyg/Locomotive | cfa31cab3273c32229e78cf7719d8c8d17ce60b3 | 5bdf76ea65c0fe60b02698fbf2e794c1c358fded | refs/heads/master | 2021-01-20T03:29:09.233937 | 2017-04-23T15:55:32 | 2017-04-23T15:55:32 | 77,236,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | #ifndef GLEW_STATIC
#include <GL/glew.h>
#include <vector>
#include <glm/gtc/type_ptr.hpp>
#endif
#include "PrimitiveObject.h"
#include "Box.h"
#include "Cube.h"
using namespace std;
Cube::Cube(GLfloat size,
GLuint textureDiffuse, GLuint textureSpecular,
glm::vec3 position, glm::vec4 rotation)
: Box(... | [
"lewczuk.grzeg@gmail.com"
] | lewczuk.grzeg@gmail.com |
edd42cbd9921a1be6f30a18e81c8f296575abd37 | cf956ee15ae667619616b0ac155c6a391c318b85 | /NtlBaseLib/LandMarkTable.cpp | 4b69fca9bfc70a70052bf5138243370e4a955a8b | [] | no_license | Kadaz/dragon-ball-online-tw-server | 9db683e50489bbe33bc1c66859dd914aeace1740 | 5556db3ac881a97b1fd19a3e41e5bad192c32c1e | refs/heads/master | 2022-12-20T21:49:28.517617 | 2022-12-10T18:17:09 | 2022-12-10T18:17:09 | 209,164,172 | 2 | 1 | null | 2019-09-17T22:00:05 | 2019-09-17T22:00:05 | null | UHC | C++ | false | false | 5,507 | cpp | #include "StdAfx.h"
#include "LandMarkTable.h"
#include "Serializer.h"
WCHAR* LandMarkTable::m_pwszSheetList[] =
{
L"Table_Data_KOR",
NULL
};
LandMarkTable::LandMarkTable(void)
{
Init();
}
LandMarkTable::~LandMarkTable(void)
{
Destroy();
}
bool LandMarkTable::Create(DWORD dwCodePage)
{
return Table::Create(dw... | [
"ivan_lamega_13@hotmail.com"
] | ivan_lamega_13@hotmail.com |
e41b96d4662853af9cfc1d7ec8d89608b8e41952 | 259bacc81f4b663daac01574061b38f2cd93b867 | /ladder/1400-1500/259A.cpp | 695aed4ccccd9aae4e7a85130b87c22dc3b9b556 | [] | no_license | yashrsharma44/Competitive-Programming | 6bf310d707efcb650fa6c732132a641c3c453112 | 77317baa4681c263c5926b62864a61b826f487ea | refs/heads/master | 2023-03-03T13:59:53.713477 | 2022-11-16T09:10:25 | 2022-11-16T09:10:25 | 196,458,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | #include <bits/stdc++.h>
#define int long long
using namespace std;
#define MAX 1000005
void shift(vector<string> &grid, int i){
string s = grid[i];
char last = s.back();
s = last + s.substr(0, 7);
grid[i] = s;
}
bool check(vector<string> &grid){
for(int i=1;i<8;i++){
if(grid[i][0] == grid[i-1][0] || grid[i].... | [
"yashrsharma44@gmail.com"
] | yashrsharma44@gmail.com |
31f82731efa41baa0e75bcfc2d9a36582e020dac | 0e39030ca555833e31ecfbadd314caa4547bc25e | /AlgoExpert/Easy/branch-sums.cpp | aa300e1b1fb7a3292149446f2b7a54d934f7b73a | [
"MIT"
] | permissive | Yayady1999/Complete-coding-notes | 4272489fd4150f6cb0eccbec06cfa841634c1bcf | 3236d315248e0d130b8b9c6d591d3c45577282c6 | refs/heads/main | 2023-06-06T16:52:43.192545 | 2021-07-06T07:34:08 | 2021-07-06T07:34:08 | 383,377,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,691 | cpp | /******************************************
* AUTHOR : Abhishek Naidu *
* NICK : abhisheknaiidu *
******************************************/
#pragma GCC optimize("Ofast")
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <cstdlib>
#include <exception>
#include <fstream>
#include <fun... | [
"noreply@github.com"
] | Yayady1999.noreply@github.com |
5cf8028c3468362de1c0d1f8c3aa70e256bed5e4 | 41457a07f7cb8e59a363ed2047dd08c6394e26e1 | /Atelier/StateSequence/Source/StateSequence/Private/StateSequenceComponent.cpp | 6d240ec7382b6aa5285f036ccc4ca5dec2cd1340 | [] | no_license | DingSongYun/FinalWork | 8702a47d179a8cc180b32915ff22eaced570ef9c | d5e7ad1179cdde95d6016c8a070f78b9c93c55c9 | refs/heads/master | 2020-09-10T22:21:51.703748 | 2019-11-15T05:34:39 | 2019-11-15T05:34:39 | 221,851,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,410 | cpp | // Copyright 2019 X.D., Inc. All Rights Reserved.
// Author: SongYun.Ding
// Date: 2019-05-30
#include "StateSequenceComponent.h"
#include "StateSequence.h"
#include "StateSequencePlayer.h"
#include "Sections/MovieSceneStateSection.h"
UStateSequenceComponent::UStateSequenceComponent(const FObjectInitializer& Init)
{
... | [
"dingsongyun@xindong.com"
] | dingsongyun@xindong.com |
4c75cddc8e57aae56d78eb767a6b06abaae33a9a | 810711ddf9e6770c23c97b0dc93e5d6aa19d1c3b | /src/multisig/multisig.cpp | e0426cf2d852ae3f2c3f96b1883500d7dcf9f27a | [] | no_license | sonygod/LibertyChain | 5f33baddbac8f28dceb465054fbe37ca261e1178 | 346086a535d52eb12b6efc78238c74de1278831e | refs/heads/master | 2023-07-03T10:48:01.829901 | 2021-08-06T09:43:45 | 2021-08-06T09:43:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,806 | cpp | // Copyright (c) 2017-2020, The Liberty Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list ... | [
"420338901@qq.com"
] | 420338901@qq.com |
00a98a0b034aee4f6aea7fd0a6eda5dfb09b0384 | edef546b63847e3308dd7d7886bc1e4e5a6a58af | /program6.c | 0ae4b01486dc5581998ecc117ac81c372ff27c68 | [] | no_license | S-4100/CRT-Program | d0bc7b7632ad5a0e350bd48fbe43f18beda5b034 | a58d63b6dec902130cc1e06de6481468f26abec2 | refs/heads/master | 2020-09-22T18:36:05.954334 | 2019-12-09T06:26:15 | 2019-12-09T06:26:15 | 225,299,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | c | #include<stdio.h>
int main()
{
int a=7,b=3;
printf("\n a&b=%d",a&b);
printf("\n a|b=%d",a|b);
printf("\n a^b=%d",a^b);
return 0;
}
| [
"noreply@github.com"
] | S-4100.noreply@github.com |
72ad553ae3f5e5f99f1c26dda120a5ccd7447932 | d0380e6164d8541b8e1fa0004e5512a2126621c9 | /MyShop/IsaveDlg.h | 9099c63d77c3a28765f0cb83ede6e199b62a4a6f | [] | no_license | OHHYNESOEP/Manage_money_system | 8e15dae65f01ce48bf0779902fab88249aa383fa | 2b67087bb6c35517b42c6188311e9ee5c67fa74d | refs/heads/master | 2020-08-16T08:42:16.009799 | 2016-03-03T13:01:05 | 2016-03-03T13:01:05 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 523 | h | #pragma once
// IsaveDlg 대화 상자입니다.
class IsaveDlg : public CDialogEx
{
DECLARE_DYNAMIC(IsaveDlg)
public:
IsaveDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~IsaveDlg();
// 대화 상자 데이터입니다.
enum { IDD = IDD_ISAVE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
DECLARE_M... | [
"dho113@naver.com"
] | dho113@naver.com |
f47818a47b9d658c8d18f56c1b0be4478aa3b7a3 | e5292428482181499e59886ad2ee50c83a504f6e | /codeforces/taxi.cpp | ef4b06f4ad06827fd84cb980145dba644d2310a4 | [] | no_license | pedrohenriqueos/maratona | fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d | 5c9bffa2ec6a321a35c854d4800b4fe7931c1baf | refs/heads/master | 2020-03-22T06:35:23.879463 | 2020-02-27T20:15:53 | 2020-02-27T20:15:53 | 139,644,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<bits/stdc++.h>
using namespace std;
int N,vet[10];
int main(){
int a,saida=0;
cin >> N;
while(N--){
cin >> a;
vet[a]++;
}
saida+=vet[4];
vet[4]=0;
if(vet[2]%2==0){
saida+=(vet[2]/2);
vet[2]=0;
}else{
saida+=(vet[2]-1)/2;
vet[2]=1;
}
if(vet[2]==1){
if(vet[1]>=2)
vet[1]-=2;
else if... | [
"pedro986@gmail.com"
] | pedro986@gmail.com |
297977ba71cb3ba8d4645d9dbb22ed652821eab7 | b5c91e66273ba9152f74b3d5e87204e4f30960ad | /dxGameViewer/dxGameTool/source/shader/Shader.cpp | 50c668bd78f52e48e7eb6055c5c888833bbb23bb | [] | no_license | olim-ethan/DirectX11 | 9db0d11063df4d32faed0036ec48f1f5e85ff0f7 | 116fa9b1afa0edd0c89862219321e39d1753c39d | refs/heads/master | 2022-01-07T17:31:24.313031 | 2018-07-14T05:49:53 | 2018-07-14T05:49:53 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 8,747 | cpp | #include "stdafx.h"
#include "Shader.h"
//정적변수 초기화
vector<LAYOUT_INFO> Shader::_layoutList = {};
Shader::Shader()
{
}
Shader::~Shader()
{
}
//정점을 이용해 그린다.
void Shader::VertexRender(ID3D11DeviceContext *deviceContext, int vertexCount, int startVertex)
{
RenderShader(deviceContext);
deviceContext->Draw(vertexCoun... | [
"hns17@naver.com"
] | hns17@naver.com |
eaf766a51b998e5cc36bd471f6a5218ca8f53835 | f7efc2e6cbcfaf2c3b1bbd0397ebd99f51eddf7b | /itstep/HW/30.03.2018/Account.h | 958c13f2d97f20c0c3fed03af6160a9ef9c5d358 | [] | no_license | Sysreqx/Cpp | 5b4d26ebfc9aefd732a9d8ffb82ca453b76077d7 | 2aad24c03004e28d0bb1f1e8dd9d010a59542125 | refs/heads/master | 2023-05-11T02:33:22.656539 | 2023-05-07T13:53:20 | 2023-05-07T13:53:20 | 120,492,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | h | #pragma once
#include <iostream>
#include <string>
class Account
{
private:
std::string id;
std::string name;
int balance = 0;
public:
Account();
Account(std::string _id, std::string _name);
Account(std::string _id, std::string _name, int _balance);
~Account();
std::string getID();
std::string getName();
i... | [
"sysreqx@gmail.com"
] | sysreqx@gmail.com |
e969664f9c123e3775e3e407bd5b91a3a73c3e17 | 4d71299b95931ed345372c977422464c6e576486 | /Qt/ext4fstools/ext4-image-utility/ext2explore.cpp | 549e8a409e4518b261540ce625e28131842d5cdb | [] | no_license | int10/CodeLab | 4bda449d4a0bc5b020c2668bcc39d919bb657304 | c0051c3b2369ba911b1ee8e67aeaa30de0d803ae | refs/heads/master | 2020-06-12T13:03:42.661158 | 2017-11-14T10:42:13 | 2017-11-14T10:42:13 | 75,717,163 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,256 | cpp | /**
* Ext2read
* File: ext2explore.cpp
**/
/**
* Copyright (C) 2005, 2010 by Manish Regmi (regmi dot manish at gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ei... | [
"int10@163.com"
] | int10@163.com |
4a6bec0fd3a89d3ccbbe6c486e7e678c96c1e948 | 74551d29cbf089bff63d1d6212c1c55eb306da78 | /trunk/tests/libreadline++.cc | b2e6a8e983799574ed031580eb8be68cac9c8ccf | [] | no_license | BackupTheBerlios/libreadlinepp-svn | 0b7e47aa6302d6d190aea79a212f6aafe3a95b81 | d9be66eef6a9af7a1fc9be33917ab4a1521261ae | refs/heads/master | 2016-09-05T19:28:19.401208 | 2006-01-07T00:28:18 | 2006-01-07T00:28:18 | 40,801,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | cc | /*
* libreadline++ -- examples/main.cc
* $Id$
* Copyright (c) 2005 Aaron Walker <ka0ttic@gentoo.org>
*
* This file is part of libreadline++.
*
* libreadline++ 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 Found... | [
"ka0ttic@0890cc63-6509-0410-8bac-f4fd568f24b5"
] | ka0ttic@0890cc63-6509-0410-8bac-f4fd568f24b5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.