blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4cb551d13e083e3c7b213da3b6f34ed2fa2ad83 | 966c29605efd37164db92d56432bb05cf0343e71 | /lab06/Function.h | 155d8f3aac8436d8d4b7e2c4d2af2adc83506776 | [] | no_license | dariuszlesiecki/OOP-1 | 81011fc5437b5dc343ff4584b9b878b610b9c9de | f93beb6400b7db882d4bf5bb9d586c84d6af81be | refs/heads/master | 2022-09-05T22:59:38.356298 | 2020-05-23T14:17:43 | 2020-05-23T14:17:43 | 266,348,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | h | Function.h | #pragma once
#include <iostream>
#include <cmath>
class Function{
public:
virtual ~Function();
virtual Function* Copy()=0;
virtual double calc(double) const;
private:
}; |
e7aa22bccfc36204419cc00931caeb6571150fe1 | d2f493f794151b2f0b927617b10f0f9338572ff0 | /Contest_28072017/I.cpp | f7ffbde0e5806ae68ed06edb8bee4a3ad4523fce | [] | no_license | hungnt61h/PTIT-Algorithms | 320aa078216fc17203ec7f14d70fbfa8a577e2a1 | d53786a87a0b0a8fe2efbbaaf886f835a0d27f34 | refs/heads/master | 2020-03-07T22:46:24.188916 | 2018-04-07T06:39:43 | 2018-04-07T06:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | I.cpp | #include <iostream>
#include <string>
using namespace std;
const char B = '#';
const char W = '.';
const int MAX = 110;
int a[2][MAX];
int n;
bool down, up, left;
void print() {
for (int i = 0; i < 2; i++) {
for (int j = 0; j < n; j++)
cout<<a[i][j]<<" ";
cout<<endl;
}
}
void init() {... |
6cb9c23bb46fa7bd363ff22cd312c91e1a0b9d83 | 57d30906de95e20fb45216925791cb809a11b7f1 | /ase/ase/aseio_getaddrinfo.hpp | 6af1c5292b4b663db95e825450baa1a21326f90a | [
"MIT"
] | permissive | ahiguti/ase | ad782902ca3a8713b155769413fc5d9fd537c347 | f6bc5f337fe7df6eabf676660d9189d3c474150d | refs/heads/main | 2021-06-13T17:39:25.280776 | 2012-06-15T21:01:17 | 2012-06-15T21:01:17 | 4,680,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399 | hpp | aseio_getaddrinfo.hpp |
/*
* This file is part of ASE, the abstract script engines.
* Copyright (C) 2006 A.Higuchi. All rights reserved.
* See COPYRIGHT.txt for details.
*/
#ifndef GENTYPE_ASEIO_GETADDRINFO_HPP
#define GENTYPE_ASEIO_GETADDRINFO_HPP
#include <sys/types.h>
#include <sys/socket.h>
#include <cstring>
#include <netdb.h>
... |
754847bbaa50adc382106f80d522bcdafefe5c4e | f3c4528fea61665729f24e92c31e05e2c5e176fe | /src/cpp/detail/data_aggregation.hpp | 14c63362aeed5d9afcc7a711fabf8ee63d1d3eb9 | [
"Apache-2.0"
] | permissive | lakeylee2087/Fast-DDS-statistics-backend | 204de18cfc38b9808a15cdf702235b6b4f69532d | 1426da39a2294e6364d304d95b9cefc33535c9e8 | refs/heads/main | 2023-09-01T14:01:34.079214 | 2021-10-18T13:41:51 | 2021-10-18T13:41:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,830 | hpp | data_aggregation.hpp | // Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... |
881a0798fa758106cec6eabeeccafabc4a49dd9d | 1885ce333f6980ab6aad764b3f8caf42094d9f7d | /test/e2e/test_master/wxWidgets/include/wx/motif/button.h | fff6ac1ba848817d06c00472d15a5d63c6ad3442 | [
"MIT"
] | permissive | satya-das/cppparser | 1dbccdeed4287c36c61edc30190c82de447e415b | f9a4cfac1a3af7286332056d7c661d86b6c35eb3 | refs/heads/master | 2023-07-06T00:55:23.382303 | 2022-10-03T19:40:05 | 2022-10-03T19:40:05 | 16,642,636 | 194 | 26 | MIT | 2023-06-26T13:44:32 | 2014-02-08T12:20:01 | C++ | UTF-8 | C++ | false | false | 1,530 | h | button.h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/motif/button.h
// Purpose: wxButton class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
////////////////////////////////////////... |
5b9739cdd971c178c938503a8a94da61df12d412 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_fusion_adapted_array_begin_impl.hpp | c1ac7de75ad5b5928f77f32520af05eb3c10f244 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | hpp | boost_fusion_adapted_array_begin_impl.hpp | #include <boost/fusion/adapted/array/begin_impl.hpp>
|
5e7936aa1bfd51776f51fc5b71203bd40f9b1dbe | 4c5b9f058495bc280d6a027fd9ee6177b259264c | /kubway_real/Kubway/pay_or_order.cpp | 28582bd5de568cf96470f5c3c6deb9e892afc3f1 | [] | no_license | leejewon97/Kubway | 2ec62ecf4ee8d0dc9f95bb04b8187d89bd93f772 | 3ee72a83b88835068b5c4d36ea9974f95915dbe6 | refs/heads/master | 2020-08-29T16:29:45.737354 | 2019-12-10T13:58:14 | 2019-12-10T13:58:14 | 218,091,184 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | pay_or_order.cpp | #include "pay_or_order.h"
#include "ui_pay_or_order.h"
#include <QDebug>
pay_or_order::pay_or_order(QWidget *parent) :
QWidget(parent),
ui(new Ui::pay_or_order)
{
ui->setupUi(this);
connect(coc, SIGNAL(buttonPressed()), this, SLOT(closeAll()));
}
pay_or_order::~pay_or_order()
{
delete ui;
}
void... |
5bf64d60dfc82955edb7941cce0546f1b5efa7ce | 8d32836a6c2e7e458a2a6d6f4d89f2e5c659673e | /dependencies/SRC/mmaplib/MMapManager.h | 509aaabcde55bae24067260e5e33cf7c3df4edcd | [] | no_license | Sandshroud/Ronin | e92e53c81fdab4cefc0de964d2fb8cebc34ee41e | 94986c95e88abe6cedd240e0ce95f6f213b05d90 | refs/heads/master | 2023-05-10T21:58:29.115832 | 2023-04-29T04:26:34 | 2023-04-29T04:26:34 | 74,101,915 | 12 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,443 | h | MMapManager.h | /*
* Copyright (C) 2014-2017 Sandshroud <https://github.com/Sandshroud>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later v... |
501e6393a3f2ab4f4a59c1569b791cfc5b5e4e80 | d2190cbb5ea5463410eb84ec8b4c6a660e4b3d0e | /hydra2-4.9w/mdc/hmdccalibrater1.h | f6597f9855234cff47567af6809a015d95fc4bf6 | [] | no_license | wesmail/hydra | 6c681572ff6db2c60c9e36ec864a3c0e83e6aa6a | ab934d4c7eff335cc2d25f212034121f050aadf1 | refs/heads/master | 2021-07-05T17:04:53.402387 | 2020-08-12T08:54:11 | 2020-08-12T08:54:11 | 149,625,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,454 | h | hmdccalibrater1.h | #ifndef HMDCCALIBRATER1_H
#define HMDCCALIBRATER1_H
#include "hreconstructor.h"
#include "hlocation.h"
#include "TRandom.h"
#include "hstartdef.h"
class HCategory;
class HIterator;
class HMdcCalParRaw;
class HMdcLookupGeom;
class HMdcTimeCut;
class HMdcCutStat;
class HMdcWireStat;
class HMdcRaw;
class HMdcCal1;
class... |
be3d08790004e42d5b2f73e4a72709aaa3b652e8 | dde923ce9836c908f2f1c385f267de63fe0ad8c2 | /src/ui/texturewidget.cpp | cbf75945a5bf8f0c05ddd7b3e910306a939c6dcf | [
"MIT"
] | permissive | giordi91/parallel_image | 6b3bb6144533444199423ca378c513b6d247e3b5 | 3957aaf00d83738045fa35c2c5662e465b5010a6 | refs/heads/master | 2020-06-08T20:50:08.590229 | 2015-04-28T22:09:48 | 2015-04-28T22:09:48 | 32,603,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,131 | cpp | texturewidget.cpp | #include <iostream>
#include <QtGui/QSurfaceFormat>
#include <ui/texturewidget.h>
#include <QtWidgets/QFileDialog>
//static const texture map declaration
GLfloat const TextureWidget::texcoord[8] = {
0.0f,0.0f,
0.0f,1.0f,
1.0f,1.0f,
1.0f,0.0f,
};
//static index data declaration
GLubyte const TextureW... |
de53a3f5736f891ace0107121b197a2cdcf30e5e | 91c7ea82d661d457402a8d11fa1c75355cf4d82b | /lec12/filesystementry.cpp | 52498bb3af55ea229d502d5ff48a4606b5b93c38 | [] | no_license | zaychenko-sergei/oop-samples | 61fa7c354944b9bfb939324aa70715160d27d2d4 | ec3b3e7aecb01d377ba53bb3e2325e03630b4ada | refs/heads/master | 2020-12-09T14:01:57.482498 | 2016-08-27T22:19:01 | 2016-08-27T22:19:01 | 42,003,142 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | cpp | filesystementry.cpp | // (C) 2013-2015, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
#include "filesystementry.hpp"
/*****************************************************************************/
FilesystemEntry::FilesystemEntry ( const std::string & _name )
: m_name( _name )
{
ensureValidName( m_name );
}
/****************************... |
a3e9182573b6682a78d5116970c2d9e895348ba3 | 8620d98b00cf0a9f60415408bf82184efd20431a | /Codewars/Validate Credit Card Number.cpp | bf11e7b7fe14eea3acc98c418a081350615ccb07 | [] | no_license | SA-Inc/Contest-Tasks | 628aa4028bb5e3e5efc519c1369f5c95f4b46eff | dfffaec7d93fe217f19d532a3c5c799103f2a06d | refs/heads/main | 2023-02-26T21:56:54.067172 | 2021-02-09T07:23:26 | 2021-02-09T07:23:26 | 323,820,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | Validate Credit Card Number.cpp | // https://www.codewars.com/kata/5418a1dd6d8216e18a0012b2
#include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
using namespace std;
int sumVector(vector<int> v) {
int sum = 0;
for (size_t i = 0; i < v.size(); i++) {
sum += v[i];
}
return sum;
}
vector<int> splitNumbe... |
cc4e01f7b1ef0f9b4e003c70237d2170124c7086 | 5a66d961d5d0542be0fcb3f83961d2f07bab2401 | /PadmeReco/Target/src/TargetGeometry.cc | 2023c56d28d16543955116e99d7d13e551c11fd0 | [] | no_license | PADME-Experiment/padme-fw | 1f2b56899e311b958945d0b1c4f934dfeeba761a | bec2a83e3a32b8db38977c404d78f4f36a384f30 | refs/heads/develop | 2023-08-06T11:27:10.402467 | 2023-07-18T10:15:50 | 2023-07-18T10:15:50 | 44,676,186 | 11 | 6 | null | 2023-07-18T10:15:52 | 2015-10-21T12:57:21 | C++ | UTF-8 | C++ | false | false | 1,231 | cc | TargetGeometry.cc | // --------------------------------------------------------------
// History:
//
// Created by Stefania Spagnolo (stefania.spagnolo@le.infn.it) 2019-03-14
//
// --------------------------------------------------------------
#include "Riostream.h"
#include "RecoVChannelID.hh"
#include "TTargetRecoBeam.hh"
#include "TRec... |
7c970d011e6fe29c253875351df2e062145528aa | 346e521e15bf7dcf92096253eecbea03e933d458 | /main.cpp | 4ddc662f63907accdce39b6981fcf8c6f7ab4618 | [] | no_license | cryboykevin/SimpleGameEngine | 8e224b1a707733ec8ad1dbd12df5ef7c69ae04e6 | ea7a7d49c804ca53d424d101a485e1439a7c62ed | refs/heads/master | 2016-09-06T09:23:43.117774 | 2011-09-05T11:36:26 | 2011-09-05T11:36:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | main.cpp | #include <SDL.h>
#include <QApplication>
#include "controlwidget.h"
int main( int argc, char* argv[] )
{
QApplication app( argc, argv );
ControlWidget* ptrWgt = new ControlWidget();
ptrWgt->show();
return app.exec();
}
|
74dbe46cdffc25354a913e0f98c3953f2dac8723 | caf93a6534419c1ecbb00897d58f21d46eaec81e | /Sources code/DLL_miniscope_v2c/ScopedLock.h | 2542d0462522689a16d15166f6327d29d2be590e | [] | no_license | opus506/2_dolar_oscilloscope | 4916279f9d5be349ed5b096886a918ebed8563b6 | ff6f2fc56f72beb2d0c6728fabc4f471a26e7d34 | refs/heads/master | 2020-03-27T17:14:58.734999 | 2018-08-30T16:52:16 | 2018-08-30T16:52:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | h | ScopedLock.h | #ifndef ScopedLockH
#define ScopedLockH
// Usage: ScopedLock<Mutex> lock(mutex);
template <class M> class ScopedLock
{
public:
ScopedLock(M& mutex): m_mutex(mutex) {
//OutputDebugString("lock");
m_mutex.lock();
}
~ScopedLock() {
//OutputDebugString("unlock");
m_mutex.unlock();
}
private:
M& m_mutex;
Scop... |
1acdf63670f5de8a841ad4e01c98c1415055a826 | 26bb27b6439ba1c846eb9e1c22bc58c034888752 | /XmlDataTable/Source/XmlDataTable/Private/DataTableImporterXml.h | a51e2d8aa2f83f34840267bba8ffaf203d93fadd | [] | no_license | sergeibulavintsev/ue4_plugins | 0c974b407c7ab64795b4089b05fb354850effb32 | 44d30df3fedc3cad44a6645e815a2942201066d2 | refs/heads/master | 2021-04-28T20:52:20.416724 | 2018-04-10T16:26:59 | 2018-04-10T16:26:59 | 121,937,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | DataTableImporterXml.h | #pragma once
#include "CoreMinimal.h"
class UDataTable;
class FDataTableImporterXml
{
public:
bool ReadTable(UDataTable& InDataTable, FString InFileName, TArray<FString>& OutProblems);
};
|
91803953be9b940b0e1c80fb466a47f208c27930 | f05227cffcfeb9e245394f7c5c54e9e6c9c5827c | /HammingCode/Hamming.h | 9e4cb4964d0a36ff24965077da97ff9fb8a68833 | [] | no_license | FALCH2000/Tarea1 | ff9eb22731553145bf48a5ec5ab8623a592a1ccc | abff5a941f1d94e2a4476cf0fa2cb5c8b37b6990 | refs/heads/master | 2023-07-23T17:20:30.732456 | 2021-09-08T15:20:22 | 2021-09-08T15:20:22 | 401,923,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,658 | h | Hamming.h |
#ifndef TAREA_1_HAMMING_H
#define TAREA_1_HAMMING_H
#include <iostream>
#include <vector>
#include <valarray>
class Hamming {
public:
Hamming();
/**
* @brief Agrega los bits de paridad al vector de paridad
* @return
*/
std::vector<bool> agregarBitsDeParidad(std::vector<bool> vectorMsj);
... |
286f0bf88ce94dd9ef7b8261de699ee6d4336a9e | 93c3cd8301d70211718e73f02beb7718223313dd | /qt/DsaMediaControlKit/custom_media_player.cpp | f48fb76bb68d1fd29e28d57c66b185ce2b6a0a2a | [] | no_license | b00dle/DsaMediaControlKit | 286af1bce088bc36a17d831f707a808e91425886 | 6be42a30625dd9d867b79de3f8e6636d61f74e5e | refs/heads/master | 2021-07-17T12:24:26.364226 | 2017-03-08T13:18:22 | 2017-03-08T13:18:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,390 | cpp | custom_media_player.cpp | #include "custom_media_player.h"
#include <random>
CustomMediaPlayer::CustomMediaPlayer(QObject* parent)
: QMediaPlayer(parent)
, activated_(false)
, current_content_index_(0)
, delay_flag_(false)
, delay_(0)
, delay_timer_(0)
{
delay_timer_ = new QTimer(this);
connect(delay_timer_, SIG... |
898d57881b23e75cef513c8a461d5ad8e1b06937 | 2eb3b66b421a1f4a18bcb72b69023a3166273ca1 | /Codeforces/613/A/A.cc | fae7506eba89b07643407815163a1be401d6ec6a | [] | no_license | johnathan79717/competitive-programming | e1d62016e8b25d8bcb3d003bba6b1d4dc858a62f | 3c8471b7ebb516147705bbbc4316a511f0fe4dc0 | refs/heads/master | 2022-05-07T20:34:21.959511 | 2022-03-31T15:20:28 | 2022-03-31T15:20:28 | 55,674,796 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,103 | cc | A.cc | // Create your own template by modifying this file!
#include <string>
#include <vector>
#include <climits>
#include <cstring>
#include <map>
#include <queue>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <set>
#include <unordered_set>
#include <unordered_map>
#include <cassert>
#i... |
83f2fec4c263c6de42174ac557596bc43d64f155 | 576530c6a3091b65882a5ff66d97e381bc0ea7e2 | /remote/impl/src/sof/framework/remote/corba/RemoteSOFLauncher.h | 81407b4a4a87b02548e3f1a2b9ad496751c9035b | [] | no_license | jun1017/sof | 8a37f7575e226db1e8780c890ae6ecbfc08734d6 | 3338ee14150aededc141a243ce6c5e6149c573d3 | refs/heads/master | 2021-05-18T17:06:51.762674 | 2020-03-30T14:34:08 | 2020-03-30T14:34:08 | 251,330,896 | 0 | 0 | null | 2020-04-16T13:44:09 | 2020-03-30T14:30:52 | C++ | UTF-8 | C++ | false | false | 5,638 | h | RemoteSOFLauncher.h | #ifndef REMOTE_SOF_LAUNCHER_H
#define REMOTE_SOF_LAUNCHER_H
#include "sof/framework/Launcher.h"
#include "sof/framework/BundleInfoBase.h"
#include "./registry/IRegistryFacadeImpl.h"
#include "./registry/IRemoteRegistryImpl.h"
#include "../../../services/admin/remote/RemoteAdministrationActivator.h"
#include "IRemoteB... |
1cabbc82b9c6e1e5fbf4ef8d3a1c1dffbbacc208 | 8e105064236f5dee17638c17c6797e9cac52b084 | /2842.cpp | e1ec84d7ec0386720817674cc1e7383de2377a3d | [] | no_license | ParkDaeYi/Algorithm_Study | d7d325a05fc25f8668bdabdce1d856b7ad47d9f0 | 522fa801486485e35a8e775c83136293e0728f8a | refs/heads/master | 2021-01-03T18:12:00.169409 | 2020-11-18T08:59:02 | 2020-11-18T08:59:02 | 240,185,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,752 | cpp | 2842.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
typedef pair<int, int> pii;
int n, h[50][50], kcnt; // h: 고도, kcnt: 집의 수
int dy[8] = { 1,-1,0,0,1,1,-1,-1 }; // 수평 수직 대각
int dx[8] = { 0,0,1,-1,1,-1,1,-1 };
char p[50][50]; // 위치
bool visit[50][50]; // 방문 여부
pii src;
vecto... |
8df1657945ed73065d2f8faf48807e034b113646 | 1b6da6feaeeaa3801279781ab8421e7294c5b393 | /c_plus_plus/lljz_disk/src/account_server/account_server.hpp | 01e187c831c22d2ad419844b2a503b1037057bdf | [] | no_license | doorhinges0/my_projects | 703bbc92425e6c0604088d546b84be6dca37c0cd | f981ca0bfd79c3a119cd52155028f3f338378690 | refs/heads/master | 2021-01-13T12:00:06.992906 | 2015-12-28T12:00:42 | 2015-12-28T12:00:42 | 48,828,883 | 0 | 1 | null | 2015-12-31T02:24:37 | 2015-12-31T02:24:37 | null | UTF-8 | C++ | false | false | 1,651 | hpp | account_server.hpp | #ifndef LLJZ_DISK_ACCESS_SERVER_H_
#define LLJZ_DISK_ACCESS_SERVER_H_
#include "tbsys.h"
#include "tbnet.h"
#include "packet_factory.hpp"
#include "connection_manager_to_server.hpp"
#include "connection_manager_from_client.hpp"
#include "ibusiness_packet_handler.h"
namespace lljz {
namespace disk {
class AccountServ... |
ee39caba055529e02fdb931b6c097963fdf9d6b3 | c4f8991e188ce32e2c4574395f504881ae437c51 | /src/GLE.h | 467968c91d62bf945bde694fa34813b3845fd7cf | [] | no_license | baubie/GLEcpp | 47755b8ac7f60d2df412e739470fd439b59511fb | 3eab6cfec1a04475d36bc3acda126f7f8af07646 | refs/heads/master | 2018-12-29T05:50:06.615693 | 2010-08-27T14:40:08 | 2010-08-27T14:40:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,587 | h | GLE.h | /** GLE++
* GLE interface for C++
* Written by Brandon Aubie
*/
#ifndef GLE_H
#define GLE_H
#include <vector>
#include <map>
#include <cstdio>
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <iomanip>
#include <algorithm>
#include <sys/stat.h>
#include <s... |
b76a9a7634f83293328b779911ea084adcc32c9b | cfe4bc9b0839a688a4d4ab2aeedf98c4492517ca | /吉田学園情報ビジネス専門学校 児玉優斗/04_2DSTG[有翼機動戦機 トライファルコン]/有翼機動戦機 トライファルコン/titleLogo.h | 36c493a6b5fd7cf6f22958a8c8e78d966cc98d5c | [] | no_license | kodamayuto/KODAMA_YUTO | bdb80c16c4c21171f9785ea615b8669e32e636a8 | f126507e0bb23846d0025ba729217f3328d1baf5 | refs/heads/master | 2020-08-29T23:45:10.973554 | 2019-12-02T05:45:26 | 2019-12-02T05:45:26 | 218,202,881 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,113 | h | titleLogo.h | //=============================================================================
//
// 爆発クラス処理 [titleLogo.h]
// Author : Kodama Yuto
//
//=============================================================================
#ifndef _TITLELOGO_H_
#define _TITLELOGO_H_
#include "scene.h"
#include "scene2D.h"
//=================... |
0052d86cf92acc6f1d90d88dc6e2ffc262db9b1b | 005ead270fdff9ad85513d0b2e345dea11e2fbb4 | /Q046_Permutations.cpp | 66e8df16b4e1f084e80a42c70899e586736567f3 | [] | no_license | wangqinghe95/Code-Leetcode | 222d5d50e5f81b25549d61810618a50849fc3269 | 3cdcdf2047e0c41485817e04c8e23853e9332c63 | refs/heads/master | 2023-04-29T20:44:22.764343 | 2021-05-16T05:40:27 | 2021-05-16T05:40:27 | 274,806,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | Q046_Permutations.cpp | /*
回溯法-抄的
*/
class Solution {
public:
void dfs(vector<vector<int>> &res, vector<int>& output, int first, int len){
if (first == len){
res.emplace_back(output);
return;
}
for (int i = first; i < len; ++i){
swap(output[i], output[first]);
dfs(r... |
62a462efab8ac57f843cb40fb169e469045ca699 | 6eb58f3cbbd2833624ec946344f60bd844d146cf | /src/echoserver.hpp | d311aac49a055a7a3ec1add9dac6e9e925268466 | [] | no_license | zppratt/rfsis | 68918b1fceef9a4ba836a2cb2d21cb6180493452 | ab46613b73efffae5d3a35966ab25fb413922c08 | refs/heads/master | 2021-01-11T03:31:29.112099 | 2017-04-22T12:31:07 | 2017-04-22T12:31:07 | 68,948,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,486 | hpp | echoserver.hpp | #ifndef _6193_ECHO_SERVER_H_
#define _6193_ECHO_SERVER_H_
/**
* Description: This file contains the bulk of the code for the tcp echo application. The file also contains the prep code
* to run the application in the picoTCP IP-Stack.
*
* TODO: Clean this file up to be more OOP.
*
* Authors: Brice Aldrich, Devin ... |
bd96ea5284ea9348fb976844cf3cc5f6ab3169a3 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx | 50b888373cf2d61924c6f8ccb5c0c7a840b958f5 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,771 | cxx | RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx |
#include <RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.ixx>
#include <StepGeom_QuasiUniformSurface.hxx>
#include <StepGeom_RationalBSplineSurface.hxx>
#include <StepGeom_HArray2OfCartesianPoint.hxx>
#include <StepGeom_CartesianPoint.hxx>
#include <StepGeom_BSplineSurfaceForm.hxx>
#include <StepData... |
c5a71ec6204d208a1baf13a3ca617f3ef2f5b51a | 0f6169bb87df0dd0e6785c3014a68a1ef0b83f7e | /src/hello_world_main/main.cc | f010e0d1d9625f05bc66e4a6abc9ab4965d8bcf4 | [] | no_license | kforo615/ncurses_bazel | 93c629477306e8f7494e772658d7f61176c0edd9 | 4d9fd5e709748271e3610b75ab8bf53f71788fd0 | refs/heads/master | 2023-04-02T05:04:57.061955 | 2021-03-29T16:37:09 | 2021-03-29T16:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cc | main.cc | #include "src/lib/ncurses_wrapper.h"
#include <iostream>
#include <ncurses.h>
int main() {
NCursesWrapper ncurses_wrapper;
const char *hello_world = ncurses_wrapper.GetHelloWorld().c_str();
initscr(); // Start curses mode
printw(hello_world); // Print Hello World
refresh(); // Print it on... |
80cb0b3ec9638c438f8a3d41cd3f768edb00e5b9 | 30ec2372ac36d40f4557c5f39cb606452e6e6bf5 | /StRoot/StVecBosAna/utils/ValErrPair.cxx | 459652d61efa8b27a46d7b05a16c8f238e87d400 | [] | no_license | yfisyak/star-sw | fe77d1f6f246bfa200a0781a0335ede7e3f0ce77 | 449bba9cba3305baacbd7f18f7b3a51c61b81e61 | refs/heads/main | 2023-07-12T01:15:45.728968 | 2021-08-04T22:59:16 | 2021-08-04T22:59:16 | 382,115,093 | 2 | 0 | null | 2021-07-01T17:54:02 | 2021-07-01T17:54:01 | null | UTF-8 | C++ | false | false | 1,541 | cxx | ValErrPair.cxx |
#include "ValErrPair.h"
ClassImp(ValErrPair)
using namespace std;
ValErrPair::ValErrPair() : TObject(), ve(0, -1), v(ve.first), e(ve.second), first(ve.first), second(ve.second)
{
//v = ve.first;
//e = ve.second;
}
ValErrPair::ValErrPair(Double_t vv, Double_t ee) : TObject(), ve(vv, ee), v(ve.first), e(ve.s... |
8a8e5550e4583d6920ee139ee61b0af757f4c52f | 3412699711ec0db5ad6a4f4b9638d921ebb86799 | /C-CPP-API/06.list_2D/src/include/ext3.h | fa747a23020bb29e130139f22dc3763a24932002 | [] | no_license | sha314/glue-c-cpp-with-python | fa5ff792a04b7b8500d90cbbe0142efe6fb738ea | ee882045fd1c276abaedfe780fe0451b8dbc34da | refs/heads/master | 2020-04-01T23:42:23.138108 | 2019-02-24T14:57:33 | 2019-02-24T14:57:33 | 153,769,182 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | ext3.h | #ifndef __HEADER_EXT3_H__
#define __HEADER_EXT3_H__
#include <Python.h>
#include <iostream>
// /****
// Numpy array as input
// *****/
// PyObject * view_numpy_array(PyObject *self, PyArrayObject *np_array);
static PyObject * error_out(PyObject *m);
static PyObject* view(PyObject *self, PyObject *list);
static P... |
cbcb467ad41fd9b951dc93b5894c34279b5e72c1 | d5f93049a4ef39d6e90b762f8e7e58b72b27a4f5 | /2. Intro to C++/vector_board.cpp | 3c661a276168131ee82724e18a51574adabad105 | [] | no_license | Pytrader1x/Cpp_Udacity | 3872cccaf727234eb31d47d2b266fdc3d049fa92 | 8e0546e1d46c0a1b96f5aebb94b9509fbf74f7cc | refs/heads/main | 2023-02-18T17:05:02.283219 | 2021-01-13T00:16:12 | 2021-01-13T00:16:12 | 325,054,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | vector_board.cpp | #include <iostream>
#include <vector>
using std::cout;
using std::vector;
// TODO: Add PrintBoard function here.
void PrintBoard(const vector<vector<int>> board){
for(int i = 0; i < board.size(); i++){
for(int j = 0; j < board[i].size();j++){
cout << board[i][j];
}
cout << "\n";
}
}
int main()... |
c2737e6630ab92c8c0cffc0fd18c344e54493650 | 176986455dfeeca37515ff3c7041fc152af8bb1b | /modules/commands/os_stats.cpp | 94c8365d8f4918092f89405ee9dd443cb7d06a0c | [] | no_license | anope/anope | bda831995dccd78acc2fc1d3071dd69df53c6af5 | 0a3ddef3151ef4258e529f5850be08810fa146d3 | refs/heads/2.0 | 2023-09-03T07:25:54.572371 | 2023-08-31T06:17:56 | 2023-08-31T06:19:00 | 909,217 | 284 | 176 | null | 2023-08-31T06:19:54 | 2010-09-14T06:25:30 | C++ | UTF-8 | C++ | false | false | 9,510 | cpp | os_stats.cpp | /* OperServ core functions
*
* (C) 2003-2023 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*/
#include "module.h"
#include "modules/os_session.h"
struc... |
24fe0afbd6fc19bfe7e21895d695b19075e29215 | c686b4fda652e43002a0539f17afecd68e9e443c | /main.cpp | f9a76fc27e04cadaf478361ea0c1dcac0717b77c | [
"MIT"
] | permissive | tort-dla-psa/UnnamedRoguelike | 705f6e445d5709912ce3e89e67f64ed71fe03216 | e2fc4d3b187e3fb704df58bdda26f1f12c6b0a4b | refs/heads/master | 2021-09-10T06:53:38.849708 | 2018-03-19T09:12:29 | 2018-03-19T09:12:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | cpp | main.cpp | #include<iostream>
#include"engine.h"
int main(){
engine eng;
eng.MainLoop();
return 0;
}
|
c2e789c4bb9d95d2a288a31821b019d688db4f05 | e84ff4045bad22d9fc7cd90d3cb1ffdd41a34729 | /Space Invader/ship.h | f52ec5b126fc671ce80af37953ebef223da58ad0 | [] | no_license | AccentsAMillion/Sprite-Space-Invaders- | da4c4c8e1302dd598208eb841c66b66f28a61267 | a3adb2d121aa31cb2da8a341395b3d5cc1327616 | refs/heads/master | 2022-11-18T07:26:11.397815 | 2020-07-21T10:38:51 | 2020-07-21T10:38:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | h | ship.h | #pragma once
#include "stdafx.h"
#include "entity.h"
class Ship : public Entity
{
public:
Ship(float x, float y);
void Updating();
void Hit(Entity* entity);
private:
}; |
699fdb4bfa290a0ff7a2a9e70eefaa001ccc10ab | 3e3b78943889822aebc88958aa909f3b1f381d9f | /VisaCtrlV1/viophead.h | e783be3be8c5bdf631299a0d459c887221059716 | [] | no_license | jayhood970131/visacontrol | 9e83f843ba7cbc000a5b60c56613e82e0c9575a2 | eb6b6c0b2437a193413d04cd0cbefd16f5101fea | refs/heads/master | 2023-06-09T19:00:44.401554 | 2021-06-22T09:51:51 | 2021-06-22T09:51:51 | 371,906,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | viophead.h | #ifndef VIOPHEAD_H
#define VIOPHEAD_H
#include <QObject>
#include <include/visa.h>
class VIOPHead : public QObject
{
Q_OBJECT
public:
explicit VIOPHead(QObject *parent = nullptr);
ViSession *defaultRM;
ViSession *vi;
ViStatus *viStatus;
signals:
public slots:
};
#endif // VIOPHEAD_H
|
b2c94770cca28bebf045aab731c2e117feb6ed6c | 2c3b2a8c1c0087172e074803df13c90868946f95 | /string.cpp | 8f6e7b3c9b83d012e0e2d4c4e34e4eee7feaecd5 | [] | no_license | elialaralara/programacion | be74b33f904bab5156f88cf37773de7985bb706e | 18bf54ca9b7150fdae78754054a04c223012fc8d | refs/heads/master | 2020-05-25T10:30:07.361959 | 2019-06-16T04:55:52 | 2019-06-16T04:55:52 | 187,760,743 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 698 | cpp | string.cpp | //UNIVERSIDAD POLITECNICA DE TULANCINGO
//PROF: ARTURO NEGRETE MEDELLIN
//ALUMNA:ELIA AMOR LARA CABAŅAS
//MATRICULA:1830995
//3ER CUATRIMESTRE
//PRIMER PARCIAL
#include <string>
#include<iostream>
using namespace std;
int main()
{
string cadena, token;
cout<<"captura una cadena: ";
getline(cin, cade... |
08e89fc53c21e55d4cd097fd5329c5c2567bd66c | 4891106ba038321c468e8f437d0ebde248fadd55 | /test/experimental/js_compat/user_code/JsCompatMain.cpp | 9fe9b822533199937af77b966ec9b116863baa04 | [
"BSD-3-Clause"
] | permissive | node-dot-cpp/node.cpp | 0237db6a8c5de1333327bd84b136036a4e10bcf2 | 3f3defbec60743c0d9b0cc5c9c942a1911e34e87 | refs/heads/master | 2023-04-07T03:52:48.947977 | 2023-04-05T16:18:43 | 2023-04-05T16:18:43 | 136,624,360 | 36 | 4 | BSD-3-Clause | 2020-03-13T20:59:16 | 2018-06-08T13:44:16 | C++ | UTF-8 | C++ | false | false | 2,005 | cpp | JsCompatMain.cpp | // NetSocket.cpp : sample of user-defined code
#include <nodecpp/common.h>
#include <nodecpp/js_compat.h>
#include "./styles.h"
#include "./setMap.h"
#include "../js-compat-tests/misc_tests.h"
nodecpp::stdvector<nodecpp::stdstring> argv;
int main( int argc, char *argv_[] )
{
for ( int i=0; i<argc; ++i )
argv.... |
4a6647cacdaedc4ab401b28fc52b3c6a72d172c0 | d6e940986053b873004e37674559e7d65fe30a4e | /core/modbussensor.h | 097797bcc477eeeacba4031ad9b38aa7cfb5d792 | [] | no_license | alex13sh/GraphicModbus | 0712da17c3f83d47a6b0c7286d04144ea6d3e47c | 5c61ce886c3ce99dcc9cf220561ca1da8a7f8e62 | refs/heads/master | 2023-01-10T23:15:26.003089 | 2020-09-15T10:04:04 | 2020-09-15T14:23:29 | 312,381,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | h | modbussensor.h | #ifndef MODBUSSENSOR_H
#define MODBUSSENSOR_H
#include <QObject>
#include <QtQml>
#include "defines.h"
enum SensorType{
OtherSensor=0,
Temper,
Davl
};
class ModbusDevice;
class ModbusSensor : public QObject
{
Q_OBJECT
QML_ELEMENT
Q_PROPERTY(QString name READ name CONSTANT)
Q_PROPERTY(floa... |
f6ca0f80ab01ab1d68fdadfe68cbea563a60b1fa | 828d7c0420090dfb8fec2f636932bd9fd7b3ac06 | /build/mpl/segmenter/segmenter_logic.cc | 1c443f6595f2f6f0fda56d4f7b1fb8e66e8fb3da | [] | no_license | tmtbb/segmenter | 2441e1a7470893544c290d178b84e0271181c67e | 8f4638d48b9d865b1c2cbfb6c125a0d15d0f1221 | refs/heads/master | 2021-03-25T03:12:33.761705 | 2016-06-13T09:36:31 | 2016-06-13T09:36:31 | 58,257,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,554 | cc | segmenter_logic.cc | // Copyright (c) 2015-2015 The KID Authors. All rights reserved.
// Created on: 2015年9月14日 Author: kerry
#include "segmenter_logic.h"
#include "relrank_dict.h"
#include "send_comm.h"
#include "basic/basictypes.h"
#include <string>
#include <list>
#include "core/common.h"
#define DEFAULT_CONFIG_PATH "./plugins... |
373f0ef49cdbbfd0df655184a74bbda47bb1f2fe | b418e15db462002cc190c89f38be547615781848 | /DirectXProj/1600196_FraserBarker/source/DirectXProj/ShadowShader.cpp | 872830d89442a63545681532320a46f9a792396c | [] | no_license | Shorte240/DirectX-Project | 911b410818d760395e5886fd2218e6c7d63c7b3a | 9ead5b6943c3540748838c3de9e5704af66270f7 | refs/heads/master | 2020-04-06T09:41:52.809444 | 2018-12-11T18:46:23 | 2018-12-11T18:46:23 | 157,353,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,499 | cpp | ShadowShader.cpp | // Shadow Shader.cpp
#include "shadowshader.h"
ShadowShader::ShadowShader(ID3D11Device* device, HWND hwnd) : BaseShader(device, hwnd)
{
initShader(L"shadow_vs.cso", L"shadow_ps.cso");
}
ShadowShader::~ShadowShader()
{
// Release the sampler state.
if (sampleState)
{
sampleState->Release();
sampleState = 0;
}... |
93778ec101cf01c0c57d055c6d661598853ad4dc | 2cf41d26e24c2ee8630ff0c5e4a312243cc2d062 | /interpreter/expr/Variable.cpp | 19eec64eba7adf967fc5057e902170a3c0a367f2 | [] | no_license | RafaelDiasCampos/MiniPHP | fd93409dd613aee8c258723026af0d93f3fdcf1f | b8b6a92e996146f4035a216245dfbe6e1f665236 | refs/heads/master | 2023-03-14T23:41:37.680259 | 2021-03-28T04:24:24 | 2021-03-28T04:24:24 | 299,467,124 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | Variable.cpp | #include "Variable.h"
#include "../value/ArrayValue.h"
Variable::Variable(std::string name) : SetExpr(-1, Expr::Variable), m_name(name) {
}
Variable::~Variable() {
}
Type* Variable::expr() {
return Memory::read(m_name);
}
Variable* Variable::instance(std::string name) {
return new Variable(name);
}
std::s... |
d608dd4681929b16d2c06149aa60f9eb27bc12d6 | d4045d9a41bd22efc2cb08638154ea87cb68d84d | /QStaticAnalysis/Edge.cpp | 43abb7b98a2936939e388f8ee76f171ab99564d3 | [] | no_license | ayass3r/StaticTimingAnalysisQuest | 7dc94262e1695dc50f9322b264de751d3e500ff9 | 9d95c403331b1f9fd777bf2d58db407ef06bb9a5 | refs/heads/master | 2021-01-24T06:30:53.696078 | 2015-05-27T22:01:29 | 2015-05-27T22:01:29 | 35,093,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | Edge.cpp | //
// Edge.cpp
// VParser
//
// Created by Mahmoud Khodary on 5/15/15.
// Copyright (c) 2015 Mahmoud Khodary. All rights reserved.
//
#include "Edge.h"
Edge::Edge(gate* source, gate* destination, std::string name, std::string p)
{
if(source == NULL || destination==NULL)
std::cout << "Null pointer: " <... |
c7941c747e4a038a4a5cd25f41796e6e2c5fc40e | 93a8a02681001999d05b960d0dd8c58fbb522fee | /tests/SOBasis_test.cpp | 30567d63ca39b59f28525e6c3253c22fbb414580 | [] | no_license | tmhuysen/libwint | 2dd9e8ff4caa5c6cf2441410bcc0636e14183676 | eef54653ea9ad8059d69d908578599bd458a7c9e | refs/heads/master | 2021-04-15T09:29:39.649226 | 2018-03-22T18:32:19 | 2018-03-22T18:32:19 | 126,815,700 | 0 | 0 | null | 2018-03-26T11:01:01 | 2018-03-26T11:01:01 | null | UTF-8 | C++ | false | false | 3,895 | cpp | SOBasis_test.cpp | #define BOOST_TEST_MODULE "SOBasis"
#include "SOBasis.hpp"
#include "transformations.hpp"
#include <cpputil.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/test/included/unit_test.hpp> // include this to get main(), otherwise clang++ will complain
BOOST_AUTO_TEST_CASE ( transform_jacobi ) {
// Cr... |
57f5de785c5d241d0cff995b3cd5d9ae680943f9 | f6fd5f8bcda62e2b9c3c2b0267c8245100316a10 | /codeforces/a.cpp | a26725e8c83d8cedb24a266f400a49c5c53d648a | [] | no_license | hymsly/CompetitiveProgramming | 9f292673dd6b1809deb354b9d9b0e85c820201f1 | daf91095fab74e5a4f6441e34263ea3db1290d4a | refs/heads/master | 2021-07-24T09:42:33.589976 | 2020-05-19T14:26:58 | 2020-05-19T14:26:58 | 172,566,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,044 | cpp | a.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
map<int,int> M;
map<int,int> N;
map<int,int> ansM;
map<int,int> ansN;
int func[10000004];
void criba(){
for(ll i=2;i*i<=(10000000);i++){
if(!func[i]){
for(ll j=i*i;j<=(10000000);j+=i) func[j]=i;
}
}
for(int i=2;i<=10000000;i++) if(!func[i]... |
5e2228a1614f6c6d4151ec7550f4499b3f9fcf4b | 7a839b740a64ce82c7993768c95041f2a2cc06da | /src/pipedcp/process.cpp | 661db3029e157a2c8786e6e05c7701e0f6d245c2 | [] | no_license | eiji03aero/pipedcp | e3aef344dc81d7ae0b196f2479ad891ec64ea721 | 51efe3da1f7058c286142f2b2b4c748c0c61af6c | refs/heads/master | 2022-12-13T10:32:33.111483 | 2020-09-19T02:49:47 | 2020-09-19T02:49:47 | 296,606,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | process.cpp | #include "pipedcp/process.h"
namespace pipedcp {
void Process::kill() {
::kill(child_pid, SIGKILL);
}
void Process::close() {
::close(outpipefd[0]);
::close(outpipefd[1]);
::close(inpipefd[0]);
::close(inpipefd[1]);
}
} /* namespace pipedcp */
|
6b4219d3e65d28577051d2d3e893df6a0b2375fa | 6b550d3d0b182bcddda1f0a175d6b6cd07b60fb3 | /logdevice/server/GetEpochRecoveryMetadataStorageTask.h | 648b435e1ee1075c3eafc88d313f2baecc0557b4 | [
"BSD-3-Clause"
] | permissive | Rachelmorrell/LogDevice | 5bd04f7ab0bdf9cc6e5b2da4a4b51210cdc9a4c8 | 3a8d800033fada47d878b64533afdf41dc79e057 | refs/heads/master | 2021-06-24T09:10:20.240011 | 2020-04-21T14:10:52 | 2020-04-21T14:13:09 | 157,563,026 | 1 | 0 | NOASSERTION | 2020-04-21T19:20:55 | 2018-11-14T14:43:33 | C++ | UTF-8 | C++ | false | false | 2,130 | h | GetEpochRecoveryMetadataStorageTask.h | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "logdevice/common/Address.h"
#include "logdevice/common/protocol... |
0d824e8f15adb47527ecc8bfc09a1b853d345b78 | ec390da9ff15cb2114e16742b6cad780732913b5 | /iter1/❌49.cpp | d2fa76782dd7f681adbd1ca04962798814577620 | [] | no_license | xiaomi388/LeetCode | 6107487537eeb1ac6128955cd30868985d1509ea | 877d0fbccc684e4fd7fee2aca63d2656f71a0241 | refs/heads/master | 2021-09-26T19:52:34.207507 | 2021-09-17T20:32:53 | 2021-09-17T20:32:53 | 241,884,416 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | ❌49.cpp | //
// Created by chenyufan on 2020/5/27.
//
#include <vector>
#include <unordered_map>
#include <string>
using namespace std;
class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
}
};
int main() {
}
|
adfa79df83d6e0117abeeb9cfcbf1042d6a9a04a | 001cfc06d55c891558db5d1f6ab52d1214f59669 | /erythrocyte/kinoshita_2007/new-BAND3/TAGFluxProcess.cpp | e4c397bd5318ac6fffe5e476c8b38e1eabf24595 | [] | no_license | naito/ecell3_models | 4818171d7f09bd91a368dcd70e0ff4924f70fad1 | 0fe92aa7146a10f5d43ddf03e9b4ab2f57c80d8a | refs/heads/master | 2021-01-18T22:39:56.189148 | 2016-04-19T05:04:51 | 2016-04-19T05:04:51 | 2,242,023 | 1 | 1 | null | 2013-09-11T04:55:28 | 2011-08-21T03:13:14 | C++ | UTF-8 | C++ | false | false | 1,447 | cpp | TAGFluxProcess.cpp | #include "libecs.hpp"
#include "Util.hpp"
#include "PropertyInterface.hpp"
#include "ContinuousProcess.hpp"
#include "System.hpp"
#include "Process.hpp"
//include "iostream.h"
#include "Stepper.hpp"
USE_LIBECS;
LIBECS_DM_CLASS( TAGFluxProcess, ContinuousProcess )
{
public:
LIBECS_DM_OBJECT... |
d19e9cb4cc2906b03b53a4ae12870ac449a001a7 | f546450b50098fe0b32ecaca265546d7914e8355 | /main.cpp | 8dd2bc72ebecce41e83ff3d731267365e8224ca7 | [] | no_license | DingYuan0118/Beijing | a41381705390d7cc85377b612f347c6c80648362 | eb7c6249f325c32c6f66f3535259538a979d77cb | refs/heads/master | 2020-09-20T18:42:07.512287 | 2019-11-28T03:48:18 | 2019-11-28T03:48:18 | 224,561,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,193 | cpp | main.cpp | #include <opencv2/opencv.hpp>
#include <iostream>
#include <stdio.h>
#include <string>
#include "cv.h"
#include <math.h>
using namespace cv;
using namespace std;
int main()
{
IplImage* pFrame = NULL;//视频中截取的一帧
IplImage* pFrImg = NULL;//当前帧的灰度图
IplImage* pBkImg = NULL;//当前背景的灰度图
IplImage* pFrameTemp = NULL;
CvM... |
f7ea5623dbc534fe696a7d5f4f1c0e4a4620a800 | a0dc9204e8eea4e0c429038921cd7f7e69b9e3a9 | /SlaveReciever/SlaveReciever.ino | 54b1b7116eb94d188885746e28d60161f0172c8c | [] | no_license | LZbuilder/Sdcardthing | 8b4d44f6f4441a1442aed62c752507ad2c1d2a89 | 00f0f119c0015338e9b250767abcd48474c848d2 | refs/heads/master | 2023-08-29T02:52:40.127569 | 2021-10-27T03:31:25 | 2021-10-27T03:31:25 | 302,112,866 | 1 | 0 | null | 2020-12-08T18:50:49 | 2020-10-07T17:36:02 | C++ | UTF-8 | C++ | false | false | 3,803 | ino | SlaveReciever.ino | #include <Wire.h>
int lukaval = 1;
boolean doingcode = false;
double xval = 0;
double yval = 0;
String x = "";
String y = "";
/*Alexanders Values */
#include <Stepper.h>
#include <Servo.h>
Servo servoy;
int Bedheight = 60; //the height of the centerpoint of the rotating on the Y servo from the print bed
double xVal... |
66d0a74dbcf42ff2d60724fce2c022379079535d | dc2a81c665f7a79a10760b4bbde6d98d48c0bcbe | /3rdparty/imgui/include/imgui/imgui_style_editor.cpp | d857c2b5eeb6e7d570454fc07d96505646e0c02e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | clman94/Wolf-Gang-Engine | 14b219b9518f6a14317ebcff4e7516de29504b9b | 52fa71d6be1fb940a0998f29b4e0ce631e624b25 | refs/heads/master | 2021-07-23T20:57:44.552521 | 2021-02-11T20:15:50 | 2021-02-11T20:15:50 | 68,487,653 | 5 | 2 | null | 2017-05-21T00:33:37 | 2016-09-18T01:29:31 | C++ | UTF-8 | C++ | false | false | 2,097 | cpp | imgui_style_editor.cpp | #include "imgui.h"
#include <cmath>
// Play it nice with Windows users. Notepad in 2017 still doesn't display text data with Unix-style \n.
#ifdef _WIN32
#define IM_NEWLINE "\r\n"
#else
#define IM_NEWLINE "\n"
#endif
// Helper to display a little (?) mark which shows a tooltip when hovered.
static void ShowHelpMarker... |
fccde1309f2e77102633fb7f034ad3e383521853 | bd5d9fd33a613f9fe3e82fee83e91fc3fc957457 | /Codeforces/CF-A/CF282A/main.cpp | d1ab019919a146a5d537e7a0a96d5b7a4c1f3a6b | [] | no_license | hazemessamm/Competitive-Programming | 6d206d16d1543382433f4376186b1a6c71aa7a70 | 4c11b94fa9bf24e80c7b59e15b0316553d94e49d | refs/heads/master | 2023-06-23T20:19:58.466893 | 2021-07-22T18:23:43 | 2021-07-22T18:23:43 | 118,745,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | main.cpp | #include <iostream>
using namespace std;
int main()
{
int n=0;
cin>>n;
int x=0;
string operation;
for(int i = 0; i < n; i++)
{
cin>>operation;
if(operation == "++X")
{
++x;
}
else if(operation == "X++")
{
x++;
}
... |
d0234f6702982fc1e442cc834aead041923fb307 | 83d3a568acf7f7fcbf58b57826e2ca1f4bac48fa | /AI/Checkers/checkers.cpp | 2bf44e1e94026f88212af16d9e09455f3c0daf4d | [] | no_license | FrederickPullen/USC_Projects | 1582bf762bc9492b89021a0276c8c8c0967a42a3 | 54efd97d0ff8c1abc85e0cc5b90619f44fbc8828 | refs/heads/master | 2018-04-22T01:35:09.825180 | 2017-05-12T16:14:04 | 2017-05-12T16:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,837 | cpp | checkers.cpp | #include <string>
#include <fstream>
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int max_val(vector<vector<char> >,int,int,int);
//Global Declarations
int cno=0,m_depth=0,posval=0;
char max_depth;
bool king = false;
bool is_mandatory= false,prune=false;
int count=0;
struct states... |
594d724024aeab973c86df4831c13620f03e4194 | 83b4e73c391a81feeea027f7ce4b80fb92a16d36 | /lite/src/main/cpp/native-lib.cpp | 3ec700b236649599c3128661dd1ee741edfff0e2 | [] | no_license | BrainBear/ProtoBuf-Cpp-Android | d46a8eebc3f930e9317ac033181245c289883412 | 8e0d5da84b4263d18625fb98df02346a0714fd20 | refs/heads/master | 2020-05-18T01:35:13.716186 | 2019-04-29T15:19:14 | 2019-04-29T15:19:14 | 184,094,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | native-lib.cpp | //
// Created by canxiong lian on 2019-04-28.
//
#include <jni.h>
#include <string>
#include "log.h"
#include "test.pb.h"
extern "C" JNIEXPORT jstring JNICALL
Java_me_brainbear_lite_Lite_stringFromJNI(
JNIEnv *env,
jobject /* this */) {
std::string hello = "Hello from C++";
Test test;
... |
1a1fe3cf83f23fe84d416e3ceaa20c9506162a48 | 85e7caac6bc4a962b85286dae2318a42d5741d31 | /blackjack.h | 48345b1390856faa24f10715da55e0ff121b0aa3 | [] | no_license | zedek/CS_blackjack | 9a57b93ddcb191da366b0680b9b95ff0152d7d3b | 09e281ff24b51e549b5b1c24d882e0ab40d94123 | refs/heads/master | 2021-01-18T11:17:13.882322 | 2015-04-03T21:31:56 | 2015-04-03T21:31:56 | 33,032,015 | 0 | 0 | null | 2015-03-28T12:09:21 | 2015-03-28T12:09:21 | null | UTF-8 | C++ | false | false | 1,887 | h | blackjack.h | #ifndef BLACKJACK_H
#define BLACKJACK_H
#include <iostream>
#include <Windows.h>
#include <vector>
#include <stdio.h>
#include <ctime>
#include <string>
#include "card.h"
#include "blackjack.h"
using namespace std;
class Deck {
public:
Deck();
Deck(int x);
void shuffle();
Card draw_card();
bool empty();
int _... |
3dcf275b8000f4caedbd312361b91024c21c9792 | 12c1611032f58263b34260045a5e3b1fc4c7272f | /src/calfilter.cpp | 7789ef00f9107227e8f86dfd5bffecd3a8140e91 | [] | no_license | KDE/kcalendarcore | 8a60e29f09ca1dc6383619a58a68adbf1d7c96dd | 29055998c8ea3538113cbacf2f0d4e6d101e1225 | refs/heads/master | 2023-08-31T11:58:44.201834 | 2023-08-29T21:27:51 | 2023-08-29T21:27:51 | 209,340,459 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,349 | cpp | calfilter.cpp | /*
This file is part of the kcalcore library.
SPDX-FileCopyrightText: 2001 Cornelius Schumacher <schumacher@kde.org>
SPDX-FileCopyrightText: 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
SPDX-FileCopyrightText: 2004 Bram Schoenmakers <bramschoenmakers@kde.nl>
SPDX-License-Identifier: LGPL-2.0-or-lat... |
342b0fb4311c9cbee2a53f7f4dfb7ca8e780eddc | 26f7d65fab41986228344ed9be221b870d8b1efa | /DataServices/include/sqliteOperationFactory.h | b2309bfdafd588d69ca68ac3a1a116122cd7872f | [
"MIT"
] | permissive | jeremydumais/TeacherHelper | a01d1c8bd5f864fd0bc95238fd013fc1223e0503 | f90db9c18a74ca3020c26d79eb2160a0c4e53efb | refs/heads/master | 2023-03-27T07:43:30.418046 | 2021-03-28T17:04:24 | 2021-03-28T17:04:24 | 260,787,000 | 0 | 0 | MIT | 2021-03-28T15:14:47 | 2020-05-02T22:33:02 | C++ | UTF-8 | C++ | false | false | 1,536 | h | sqliteOperationFactory.h | #pragma once
#include "IStorageOperationFactory.h"
class SQLiteOperationFactory : public IStorageOperationFactory
{
public:
std::unique_ptr<IStorageSelectOperation> createSelectOperation(const IDatabaseConnection &connection,
const std::string &query,
... |
5c7bc9af4feb34f0c2f27b1bacf066b4c8b47e07 | 94394b06b5f180e471a6f78ffc6e995564ce80b9 | /pa1/my_tests/test.cpp | be1d01b47a4096d82fb9641d92120ea40043471e | [] | no_license | MatthewMong/CPSC-221 | c7044cff09f04b3cdac594ce912ec8fedaec4c52 | 2c73b04c7016d21347c00941af6d8413202165d7 | refs/heads/master | 2022-01-07T14:24:00.290393 | 2019-05-08T05:31:33 | 2019-05-08T05:31:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | test.cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "chain.h"
#include "block.h"
#include <iostream>
#include "../cs221util/PNG.h"
#include "catch.hpp"
using namespace cs221util;
using namespace std;
TEST_CASE("test insert_back",""){
Block b1(1);
Block b2(2);... |
eb735a2c0b8f9ba82cb9fb80950d9a2eced0e2d7 | 970079e4bd221f1e2c8dc43b556ec9e793f5d7aa | /1201. Ugly number III.cpp | 701d36644e28fd8267c99316e699cc4d87ad6922 | [] | no_license | amreenabbas/Leet-Code-Solutions | ae814eaafe25c89f45e5fa74934be75502c97420 | da3154950ce337dda26eb72966435079b3a3e574 | refs/heads/master | 2023-07-04T19:04:53.061305 | 2021-08-15T13:25:18 | 2021-08-15T13:25:18 | 257,496,352 | 0 | 3 | null | 2021-08-09T12:42:40 | 2020-04-21T06:06:59 | C++ | UTF-8 | C++ | false | false | 1,174 | cpp | 1201. Ugly number III.cpp | Question Link : https://leetcode.com/problems/ugly-number-iii/
//Solution by Amreen
class Solution {
public:
#define ll long long
ll l1,l2,l3,l4;
ll gcd(ll a, ll b)
{
if(b==0)
return a;
return gcd(b,a%b);
}
void lcm(ll a, ll b, ll c)
{
l1 = (a*b)/gcd(b,a);
... |
11122a01f0d0c780afac614f140e0e2392ffa8ce | f6320e18668aab494fdb769eff80cbdce379b863 | /modules/stereo_camera/src/json_struct/json_gyro_angle.cpp | de379b3c71eacbb7a7e8923cd204ad410456532e | [
"MIT"
] | permissive | dzyswy/stereo-client | 6b1a6fcfe3a20cbf1b480e2f92e967f526a087cb | 2855500187047e535a6834dcad31cf3c6f2b86a3 | refs/heads/master | 2021-06-25T03:45:39.785061 | 2021-03-14T16:05:21 | 2021-03-14T16:05:21 | 201,775,718 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | cpp | json_gyro_angle.cpp | #include "json_gyro_angle.h"
#include "json/json.h"
using namespace std;
json_gyro_angle::json_gyro_angle()
{
}
json_gyro_angle::json_gyro_angle(struct stereo_gyro_angle &value)
{
data_ = value;
}
struct stereo_gyro_angle json_gyro_angle::to_struct()
{
return data_;
}
int json_gyro_angle::from_string(std::st... |
924156b167c350e0fb902cbe2bc48d42fb91d596 | 56a2235810d493bf17c5b684334685deddacd946 | /driver/src/sick_scan_common_nw.cpp | be91b734d8f17248082962d63b1fd2ca06f41b65 | [
"Apache-2.0"
] | permissive | SICKAG/sick_scan | ddfd7bb1d7981dc4ae3de35bbe77c8d886612469 | b44cd27a3d385e04bc098725d441fb6c42067eb9 | refs/heads/master | 2023-01-25T01:36:36.670218 | 2022-09-05T10:25:24 | 2022-09-05T10:25:24 | 113,834,423 | 137 | 122 | Apache-2.0 | 2023-01-17T09:43:08 | 2017-12-11T08:46:30 | C++ | UTF-8 | C++ | false | false | 17,435 | cpp | sick_scan_common_nw.cpp | /**
* \file
* \brief Laser Scanner network communication
*
* Copyright (C) 2018,2017, Ing.-Buero Dr. Michael Lehning, Hildesheim
* Copyright (C) 2018,2017, SICK AG, Waldkirch
*
* All rights reserved.
* \class SickScanCommonNw
*
* \brief Interface for TCP/IP
*
* This class provides an interface for TCP/IP communicatio... |
57bfdfd45a272abd3fcc7305b8d37e232bcdd884 | e353e543ce291f474b4811e182f0061cfbe70cc4 | /sst-elements-library-7.1.0/src/sst/elements/ariel/libariel.cc | 85301ac6b8c9e3abfaf7ae3ab9f4864069133965 | [] | no_license | skaramati/sst_network_optimization | e5a4dd91dfd93137d21c675db959326645395896 | 5e051ee92cbfe8d22828d9688f6d7043e72d288c | refs/heads/master | 2021-01-02T09:41:46.107056 | 2017-08-04T21:11:06 | 2017-08-04T21:11:06 | 99,277,946 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,170 | cc | libariel.cc | // Copyright 2009-2017 Sandia Corporation. Under the terms
// of Contract DE-NA0003525 with Sandia Corporation, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2017, Sandia Corporation
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONT... |
311b39a02b2b212b6c453afaf9d584ccd77e4552 | a280aa9ac69d3834dc00219e9a4ba07996dfb4dd | /regularexpress/home/weilaidb/software/zeromq-4.1.5/src/stream_engine.cpp | b18db10061142bf1c3c0648abed7db68c2cd0cad | [] | no_license | weilaidb/PythonExample | b2cc6c514816a0e1bfb7c0cbd5045cf87bd28466 | 798bf1bdfdf7594f528788c4df02f79f0f7827ce | refs/heads/master | 2021-01-12T13:56:19.346041 | 2017-07-22T16:30:33 | 2017-07-22T16:30:33 | 68,925,741 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | cpp | stream_engine.cpp | #if defined ZMQ_HAVE_WINDOWS
#if defined ZMQ_HAVE_OPENBSD
#define ucred sockpeercred
zmq::stream_engine_t::stream_engine_t (fd_t fd_, const options_t &options_,
const std::string &endpoint_) :
s (fd_),
inpos (NULL),
insize (0),
decoder (NULL),
outpos (NULL),
outsize (0),
encoder (NULL),
metadata (NULL),
handshaking (tr... |
22bfa2d1eefc8484430dcef6d8b11a0d9d02b701 | 4a56edb91cbbab416174e86e3db9ee8bf61f283f | /Test/NodeContainerTests.cpp | 47f8ad69d651c6068bd96f5b042c3ea228b26de2 | [
"MIT"
] | permissive | chrisoldwood/XML | d64de2dd399e217b202997dacf40bcecdae874a6 | 5fdd74f6725fd4b492f7646d8fa337ebc4e215cd | refs/heads/master | 2023-04-13T19:25:47.093788 | 2023-03-20T22:17:28 | 2023-03-20T22:17:28 | 13,755,862 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,541 | cpp | NodeContainerTests.cpp | ////////////////////////////////////////////////////////////////////////////////
//! \file NodeContainerTests.cpp
//! \brief The unit tests for the NodeContainer class.
//! \author Chris Oldwood
#include "Common.hpp"
#include <Core/UnitTest.hpp>
#include <XML/ElementNode.hpp>
#include <XML/CommentNode.hpp>
TEST_SE... |
6e7c00335535fa69e2ce67e0f1da394e136ba5e3 | 99fd128e25c1aef4813198b9594d1366b6e23943 | /Techs/software-craft/know-design/design-pattern/structural-patterns/adapter/simple_adapter/src/duck.hpp | 966e3535d3c97eccd70ec77ba2d636676f4d2894 | [] | no_license | tcfh2016/knowledge-map | 68a06e33f8b9da62f9260035123b9f86850316f0 | 23aff8bf83c07330f1d6422fc6d634d3ecf88da4 | refs/heads/master | 2023-08-24T19:14:58.838786 | 2023-08-13T12:04:37 | 2023-08-13T12:04:45 | 83,497,980 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 305 | hpp | duck.hpp | #pragma once
#include <iostream>
class Duck {
public:
virtual void quack() = 0;
virtual void fly() = 0;
};
class MallardDuck : public Duck {
public:
void quack() {
std::cout <<"Mallard quck quack" <<std::endl;
}
void fly() {
std::cout <<"Mallark duck is flying..." <<std::endl;
}
};
|
85bfd0981a31a825c9146839bf3ba3ce98c9fb4c | 9c5948eb0f583e8d523528d3ec57296094a11933 | /main.cpp | 499745f0864b3cf56e7c65afcd1f3f4194fd1c17 | [] | no_license | williamjiamin/8.CPP_Intro_If | d28183b29b549bb57fad92a5a5a653ac1a0bb8ab | be8a27fa89035dfa2fd0652538461a746e796052 | refs/heads/master | 2022-11-08T19:42:32.606753 | 2020-06-26T14:32:51 | 2020-06-26T14:32:51 | 275,176,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | main.cpp | //乐学偶得版权所有,主讲人:William 公众号:乐学Fintech 网站:lexueoude.com
// Created by william from lexueoude.com
//
#include <iostream>
using namespace std;
int main() {
string saved_passwd = "lexueoude.com/William";
cout << "Please enter your password :" << flush;
string input;
cin >> input;
// cout << "The pass... |
e13f4b71b9cbfdb76a91b71c2c4e53c47f6bd3fc | 646182cc74ac8b8bdc9750c5b0afbc86ff7f7601 | /source/option/option.h | 931825597fda94d73622bc59715b6623c0c4ec00 | [
"LicenseRef-scancode-mulanpsl-2.0-en",
"MulanPSL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | qqsskk/tinyToolkit | 04d42cfbedd1f8b8f4343de1c016ce6a5ecdb547 | 6387b8865d85cfbccac6b2acd758e497bd111a85 | refs/heads/master | 2022-12-20T12:05:40.856443 | 2020-10-21T03:18:13 | 2020-10-21T03:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,189 | h | option.h | #ifndef __OPTION__OPTION__H__
#define __OPTION__OPTION__H__
/**
*
* 作者: hm
*
* 说明: 解析器
*
*/
#include "description.h"
#include <unordered_map>
namespace tinyToolkit
{
namespace option
{
class API_TYPE Option
{
public:
/**
*
* 单例对象
*
* @return 单例对象
*
*/
static Option &... |
715ea3c24bc2a5fb8dffbafb3b8c60f2ea571d5a | 5f9f7897a1714a78d6ce51bfb7244a52c1a94606 | /Actividad4/AlumnoNodo.h | d4c0a5f1927c14b28a0e557362c6d1a51e5ee81a | [] | no_license | DavidUlloa99/EjerciciosdeProgramacion3 | 11ed868ae54e7d4c8db27caf096a48318f323355 | 6dc4d922608f1a57ea955bc3bf72c370c13fc9b1 | refs/heads/master | 2023-06-05T10:54:18.153930 | 2021-06-23T17:50:13 | 2021-06-23T17:50:13 | 361,351,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | AlumnoNodo.h | #pragma once
#ifndef ALUMNONODO_H
#define ALUMNONODO_H
class AlumnoNodo
{
private:
char* nombre;
float nota;
AlumnoNodo* siguiente;
public:
AlumnoNodo(void);
AlumnoNodo(char*, float, AlumnoNodo*);
void setNombre(char*);
char* getNombre();
void setNota(float);
float getNota();
void setSiguiente(AlumnoNo... |
b9f221d12e1fd9c68b17b734e284d354455fa6da | f6807f1ccf192c03b9eacffbdf7aabff6e691f78 | /ProductReaders/MACCSMetadata/include/SEN2CORMetadataReader.hpp | 11c384433374dfbeac388ff18aab1250e81b7fb3 | [] | no_license | mpotanin/sen2agri-processors | aacb07a95c3f867041957205c2380320230dc846 | 9006414396b61404d71bd0021f3b7ddd5b9bff23 | refs/heads/master | 2020-08-05T01:58:21.908066 | 2020-06-01T06:34:15 | 2020-06-01T06:34:15 | 212,355,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | hpp | SEN2CORMetadataReader.hpp | #pragma once
#include <memory>
#include "itkObjectFactory.h"
#include "otb_tinyxml.h"
#include "MACCSMetadata.hpp"
namespace itk
{
class SEN2CORMetadataReader : public itk::LightObject
{
public:
typedef SEN2CORMetadataReader Self;
typedef itk::LightObject Superclass;
typedef itk::SmartPointer<Self> Poin... |
0e46e57702bbedf821f31bc59c4174fc11731ef1 | 9355672a584710dc6869e5e846f54452f989435d | /gearbox.h | 456a5d26462d913d52e099ec60ba6a2c4a538aec | [] | no_license | S0urcemaster/dbsDriver | f46876888d09d855dc85636c918d1eae9496cca9 | 3e94b323ac5033de208e35258727f77402b2f7ea | refs/heads/main | 2023-05-27T06:50:45.274734 | 2021-05-22T11:03:37 | 2021-05-22T11:03:37 | 369,783,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | h | gearbox.h | #ifndef GEARBOX_H
#define GEARBOX_H
#include <array>
#include <gear.h>
#include <QDebug>
using namespace std;
/**
* @brief The Gearbox class
* Gearbox struct and logic
*/
class Gearbox
{
array<Gear*, 7> gears {
new Gear("R", 8.47, 180, 60), new Gear("N", 0, 250, 150), new Gear("1", 8.47, 180, 60),
... |
d33bdd7b444e3b591ecdc9094b8ef3f009ec78ad | edf4f46f7b473ce341ba292f84e3d1760218ebd1 | /src/test-apps/MockNPServer.h | 1a3502a0816b411e303f49fb7cd297d5fe0ee597 | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | openweave/openweave-core | 7e7e6f6c089e2e8015a8281f74fbdcaf4aca5d2a | e3c8ca3d416a2e1687d6f5b7cec0b7d0bf1e590e | refs/heads/master | 2022-11-01T17:21:59.964473 | 2022-08-10T16:36:19 | 2022-08-10T16:36:19 | 101,915,019 | 263 | 125 | Apache-2.0 | 2022-10-17T18:48:30 | 2017-08-30T18:22:10 | C++ | UTF-8 | C++ | false | false | 4,621 | h | MockNPServer.h | /*
*
* Copyright (c) 2013-2017 Nest Labs, Inc.
* 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... |
3d072bf32419eef11255e3978b16579f18c53da1 | 684dae01b042726405044d6c74e1a3f544be5db2 | /Tracker/Platform.cpp | e64a7796b954094001187a895b98e4a29794ef3a | [] | no_license | AiYong/Tracer | 08eca878fd62b98543c5a1f4840a330f1b1a722e | c06ebac0425cfc85668ec6aed9b6610a920572e6 | refs/heads/master | 2021-01-13T14:29:09.318773 | 2016-05-12T07:48:21 | 2016-05-12T07:48:21 | 54,728,502 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | Platform.cpp | #include "Platform.h"
AccountInfo::AccountInfo(double dAvailableMargin, const QList<Instrument *> &lInstrument, const QMap<QString, PositionCost *> &hPositionCost)
:m_dAvailableMargin(dAvailableMargin),m_lInstrument(lInstrument),m_hPositionCost(hPositionCost)
{
}
AccountInfo::~AccountInfo()
{
}
double AccountI... |
76539ff9192e8d4cd9194bdb909a55dcf4d96788 | 2d3cbf5933567ce3c3dcb8f004f1571067742f87 | /libgraph/include/katana/analytics/matrix_completion/matrix_completion.h | 4af6cb8036c865794fc1bb848774b8254cef358b | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | KatanaGraph/katana | 9de617944264873198ec7db5ed022d356b1a529a | 350b6606da9c52bc82ff80f64ffdde8c4bfdacce | refs/heads/master | 2022-06-24T02:50:16.426847 | 2022-03-29T12:23:22 | 2022-03-29T12:23:22 | 310,108,707 | 85 | 83 | NOASSERTION | 2023-08-09T00:07:55 | 2020-11-04T20:19:01 | C++ | UTF-8 | C++ | false | false | 4,910 | h | matrix_completion.h | #ifndef KATANA_LIBGRAPH_KATANA_ANALYTICS_MATRIXCOMPLETION_MATRIXCOMPLETION_H_
#define KATANA_LIBGRAPH_KATANA_ANALYTICS_MATRIXCOMPLETION_MATRIXCOMPLETION_H_
#include <fstream>
#include <iostream>
#include "katana/Properties.h"
#include "katana/PropertyGraph.h"
#include "katana/analytics/Plan.h"
namespace katana::anal... |
30c2b5f1111f8911bfd872634ff1802b16cfcc2c | 049e35db51719064ef5e6a2f386145ed9ca1e6d1 | /example/Ex_GPIO.ino | 59e0f4cafe6ae8aef2ca1bce41796ec394460125 | [] | no_license | gravitech-engineer/KB_Chain_Keypad | 138e11f93651fb7034c78b4c19204e096a2eb396 | 3850e9c481dc31b03cc0ebe0d864abafff4a246b | refs/heads/master | 2020-04-19T08:35:49.550097 | 2019-03-20T01:26:33 | 2019-03-20T01:26:33 | 168,082,713 | 0 | 0 | null | 2019-03-20T01:26:35 | 2019-01-29T03:29:48 | C++ | UTF-8 | C++ | false | false | 389 | ino | Ex_GPIO.ino |
#include "KB_Keypad.h"
KB_Chain_4x4_Keypad key;
void setup() {
key.begin(0x20); // Setting address default 0x20 OR 0x21
Serial.begin(9600);
Serial.println("I/O Start");
}
void loop() {
key.digitalWrite(1, HIGH); // PIN 1 is HIGH
delay(250);
key.dig... |
dbc3d5ecbe1b149f431e734ef5baa00f6939aef0 | f2767f0ff4333d5bc5035f1d5abb7aa5388569f0 | /MyForm.cpp | 62c4a8989d81f1c5ca81395a8bd16917fc798361 | [] | no_license | I-vac/Transportation-Hub | a77144a41200755e264b7baab8f2b5e56fd58728 | 387e23671875422ad5f979dd59ced898efbea7f0 | refs/heads/master | 2023-04-22T16:20:00.180215 | 2021-05-19T19:54:37 | 2021-05-19T19:54:37 | 368,664,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | MyForm.cpp | #include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
int main() {
TransporthubFINAL::MyForm Form;
Form.ShowDialog();
return 0;
} |
1d74ab740102bc67d6ddfb8fbdcd4db3ef279fa8 | 88ae8695987ada722184307301e221e1ba3cc2fa | /buildtools/third_party/libc++/trunk/benchmarks/stringstream.bench.cpp | 828ef4b405f47aca94622566abc0ea9e232895ab | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 946 | cpp | stringstream.bench.cpp | #include "benchmark/benchmark.h"
#include "test_macros.h"
#include <sstream>
TEST_NOINLINE double istream_numbers();
double istream_numbers() {
const char *a[] = {
"-6 69 -71 2.4882e-02 -100 101 -2.00005 5000000 -50000000",
"-25 71 7 -9.3262e+01 -100 101 -2.00005 5000000 -50000000",
"-14 53 46 -6.... |
95381d32f8697c0fd31f8d9af75b7de8562a5c12 | 9160d5980d55c64c2bbc7933337e5e1f4987abb0 | /solver/src/sgpp/solver/sle/fista/RegularizationFunction.hpp | 2bdc20851e37620e94d334c84f4de956309a45c1 | [
"LicenseRef-scancode-generic-exception",
"BSD-3-Clause"
] | permissive | SGpp/SGpp | 55e82ecd95ac98efb8760d6c168b76bc130a4309 | 52f2718e3bbca0208e5e08b3c82ec7c708b5ec06 | refs/heads/master | 2022-08-07T12:43:44.475068 | 2021-10-20T08:50:38 | 2021-10-20T08:50:38 | 123,916,844 | 68 | 44 | NOASSERTION | 2022-06-23T08:28:45 | 2018-03-05T12:33:52 | C++ | UTF-8 | C++ | false | false | 1,149 | hpp | RegularizationFunction.hpp | // Copyright (C) 2008-today The SG++ project
// This file is part of the SG++ project. For conditions of distribution and
// use, please see the copyright notice provided with SG++ or at
// sgpp.sparsegrids.org
#ifndef NONSMOOTHFUNCTION_HPP
#define NONSMOOTHFUNCTION_HPP
#include <sgpp/base/datatypes/DataVector.hpp>
#... |
bfae1de1f0f48f17a277cccd7d8334a4ef6e1818 | 41434498606d4061c90663ada78de55085c32931 | /Comparison/include/feature_matching.hpp | 00406c3890abd229af13072f0a7c87079c12f6a4 | [
"MIT"
] | permissive | vvoZokk/object-detecting | 5e749e3c279830bc9946d7e9514cd6ec013b9b29 | 809ee719f32a12731fa12870acac5223e5ba99bb | refs/heads/master | 2020-05-20T12:26:31.823346 | 2017-02-01T09:03:51 | 2017-06-08T19:08:20 | 80,468,407 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 668 | hpp | feature_matching.hpp | //
// Comparison of object detection methods
// FeatureMatching class header file
#ifndef INCLUDE_FEATURE_MATCHING_HPP
#define INCLUDE_FEATURE_MATCHING_HPP
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/nonfree/nonfree.hpp>
... |
01e10813a43ef0771040d469ee8cc023b04449f1 | e04f52ed50f42ad255c66d7b6f87ba642f41e125 | /appseed/aura/aura/os/metrowin/metrowin_user.cpp | 0426047fa0c1433d4769d9cde9da74a1f63f7213 | [] | no_license | ca2/app2018 | 6b5f3cfecaa56b0e8c8ec92ed26e8ce44f9b44c0 | 89e713c36cdfb31329e753ba9d7b9ff5b80fe867 | refs/heads/main | 2023-03-19T08:41:48.729250 | 2018-11-15T16:27:31 | 2018-11-15T16:27:31 | 98,031,531 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | cpp | metrowin_user.cpp | #include "framework.h"
//#include "metrowin.h"
CLASS_DECL_AURA WINBOOL GetCursorPos(LPPOINT lppoint);
CLASS_DECL_AURA int_bool ui_get_cursor_pos(POINT * ppt)
{
if (ppt == NULL)
return FALSE;
int_bool iRet = FALSE;
point ptCursor;
::wait(Windows::ApplicationModel::Core::CoreApplication::MainVie... |
179f97bd866d7b1256bef9dd57b67666d8dc069d | abf573a66e8d30b3b24a7de232d877769f3ccd67 | /OpenCLRaytracerModule/OpenCLRaytracerModuleStub.cpp | eaeeba4960a9275dababbe60b7055b64e229de69 | [] | no_license | cyrillefavreau/OpenCLRaytracer | e538506905b6f5bd1f1fb73e12c359c4a675fd0a | 3818a134e4b999b3314a1964697ce6cba99e7851 | refs/heads/master | 2021-01-10T19:22:28.100442 | 2015-08-16T08:58:13 | 2015-08-16T08:58:13 | 40,805,475 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,734 | cpp | OpenCLRaytracerModuleStub.cpp | /*
* OpenCL Raytracer
* Copyright (C) 2011-2012 Cyrille Favreau <cyrille_favreau@hotmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the L... |
8c64dc55d2953904302cc7a35471bff9e4cb3271 | 629b8cab0e6c45ff3f46e0180039610c323944e7 | /particle.cc | ccfe4734c194af1b129cac34dab2f4bade6f2ebb | [
"MIT",
"Zlib"
] | permissive | Acedio/ludumdare45 | de73385505bdd4d8f2cd76d8940f6511bc8c3620 | 56bade6d977c21f25411fd6d1e1142539233dd8b | refs/heads/master | 2020-08-07T04:43:02.572259 | 2019-10-18T05:01:48 | 2019-10-18T05:01:48 | 213,300,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cc | particle.cc | #include "particle.h"
void ParticleManager::Add(const Particle& particle) {
particles.push_back(particle);
}
void ParticleManager::Update(double t) {
for (auto p = particles.begin(); p != particles.end(); ++p) {
p->vel.y += 50.0*t;
p->rect.x += p->vel.x*t;
p->rect.y += p->vel.y*t;
p->angle += p->r... |
5a93e8e0ad666cca5b7763053ba99b58967d8408 | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/game/InventoryListenerData_ItemAdded.hpp | b275a1aad28342b02024dfdb4aced42d28cbe55b | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 714 | hpp | InventoryListenerData_ItemAdded.hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/game/InventoryListenerData_Base.hpp>
namespace RED4ext
{
namespace game
{
struct InventoryListenerData_ItemAdded : game::Inventory... |
71896298c3889c112a7f65871dc5211e35052b98 | d087c4afcb7fc124ef5b720f2445a8b886574a3c | /horizslider.h | e2c7a92ea76f1c1194110d0d794be3b763fdcdad | [] | no_license | FS-NulL/New-Quake-3-Particle-Studio | b489ad17a2a6961aa07302ba41fb1abe1a78b575 | 9d93f0896f8317fa216df341ace3fdeb61050b16 | refs/heads/master | 2016-09-11T07:06:36.901546 | 2012-11-17T17:59:09 | 2012-11-17T17:59:09 | 1,564,594 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | h | horizslider.h | #ifndef _HORIZ_SLIDER
#define _HORIZ_SLIDER
#include <windows.h>
#include <functional>
#include "basicstructs.h"
#include "baseEnt.h"
#include "label.h"
enum {
TYPE_FLOAT,
TYPE_INT
};
class horizSlider : public baseEnt
{
int sliderWidth;
int sliderPosition;
int leftValue;
int rightValue;
int intermediateV... |
7c7651a157c1cfc69c0c047190a10ebf95727385 | 4b250da9813bd51979b7211778f720c0757eb82e | /gcodejam/2021/quals/B/B.cpp | b747090e7ff69f743a62e25fca8c48900fba7a2c | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,690 | cpp | B.cpp | /* ========================================
* File Name : B.cpp
* Creation Date : 26-03-2021
* Last Modified : Sat 27 Mar 2021 08:29:31 PM CET
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://codingcompetitions.withgoogle.com/codejam/round/000000000043580a/00000000006d1145
* Points/Time :... |
cb32065c0481be0965b0bfcba96f1c0a86b04d40 | e80018a14a349136e4d29b9e8ebb1a2b0eadd952 | /3.BOJ/DP/10844 쉬운계단수.cpp | efaadb49b12888e8c7ea51281f11aed45c88de05 | [] | no_license | HenryNoh/Coding-Test | 9a857df974dcce54488083d531365ecde93b14ec | a65e09fa611f2b1db18cb5950e5e2ce84f998bdc | refs/heads/master | 2023-04-26T09:40:00.599140 | 2021-05-13T05:07:41 | 2021-05-13T05:07:41 | 347,883,090 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 964 | cpp | 10844 쉬운계단수.cpp | #include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#define _CRT_SECURE_NO_WARNINGS
long DP[101][11]; //100까지 받을수 있고 0~9 까지 10개 이므로 100*10 2차원배열 설정
int compare(int a, int b) {
return (a <= b) ? a : b;
}
int main(void) {
int num, i;
long sum;
scanf("%d", &num);
for (i = 1; i <= 9; i++) { //입력 받은 수가 1자리 일... |
54c957dbd68c2b09640c6859b4a98b3c776a8111 | 54f62e14405fb25bae9c88e4767944a1d75dec2e | /files/asobiba/Banana/RGISSmallKoudo.h | 3366b5631aa7f2d52bd210f97d522bfa111ac379 | [] | no_license | Susuo/rtilabs | 408975914dde59f44c1670ce3db663ed785d00b2 | 822a39d1605de7ea2639bdffdc016d8cc46b0875 | refs/heads/master | 2020-12-11T01:48:08.562065 | 2012-04-10T14:22:37 | 2012-04-10T14:22:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,311 | h | RGISSmallKoudo.h | // RGISSmallKoudo.h: RGISSmallKoudo クラスのインターフェイス
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RGISSMALLKOUDO_H__64951FB0_C1D4_4A71_8A91_CDEC65DDF919__INCLUDED_)
#define AFX_RGISSMALLKOUDO_H__64951FB0_C1D4_4A71_8A91_CDEC65DDF919__INCLUDED_
#if _MSC_VER > 1000
#pragma once
... |
e88529c105a17af5b5dbf38506249f2475f4fbea | 566832512dfbde99226261612bbb74b9a8c7cc38 | /Extra Credit/extraHashing/has.cpp | 3bceb5cc381d84c40cdf6a5417b7330ac463552e | [] | no_license | vyas0189/COSC-2430 | ee15c20eab38ea63acc9256c2aada423e88d5274 | b896ce8979fdb8ffe2b4eceaaf21b4d0b0c128d2 | refs/heads/master | 2021-09-19T19:58:10.633433 | 2018-07-31T13:26:13 | 2018-07-31T13:26:13 | 132,435,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | has.cpp | #include <iostream>
#include <List>
#include <ctime>
#include<chrono>
#include "List.h"
using namespace std;
class Hash
{
int BUCKET; // No. of buckets
// Pointer to an array containing buckets
List *table;
public:
Hash(int V); // Constructor
// inserts a key into hash table
void insertIt... |
6897846a31c130b5b00561de01793445b31f351a | 193d4e8887201414cc9d46b7c68493bf6c6f072e | /cbmc_bounds_check_unbounded_loop_using_assumptions/main.cc | 77e8025a7543cb0854cb0846d86594bc344575fd | [] | no_license | mateuskl/cpp | 8fd2ec9cd257f380f0ba26e42d58e1abd84cbdcf | e581ddab2e36ed224f9749b14a08f884035fbe29 | refs/heads/master | 2021-01-01T15:30:10.583424 | 2015-05-08T21:05:01 | 2015-05-08T21:05:01 | 4,272,151 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cc | main.cc | #ifndef CBMC
#include <cassert>
#include <iostream>
using namespace std;
#endif
int main(int argc, char **argv)
{
#ifndef CBMC
cout << argv[1] << "," << argv[2] << endl;
#endif
int dec[10];
int m = (int) argv[1];
__CPROVER_assume(m < 10);
for(int i = 0; i < m; i++)
{
dec[i] = i;
... |
2dc65778a465dbf3e04ae0cf9ea9597416583f68 | 07edc5c9cb2c598a581ea476d816761596ec2040 | /addons/tm_rhs_extra_content/CfgWeapons.hpp | da2b496954761075fe4952450cdfe26aca45b63e | [] | no_license | Sniperhid/1tac_misc | c0e8e67ba67eba522d2983a8c6c3032082eaa23d | b463578bc335edcfa07f199c9b4ea37e598e37b6 | refs/heads/master | 2023-04-28T18:42:48.522316 | 2023-04-21T17:17:44 | 2023-04-21T17:17:44 | 66,861,199 | 12 | 36 | null | 2023-04-26T18:14:35 | 2016-08-29T16:37:09 | C++ | UTF-8 | C++ | false | false | 231 | hpp | CfgWeapons.hpp | class CfgWeapons {
class ItemCore;
#include "CfgWeapons_ak74m.hpp"
#include "CfgWeapons_hgu56p.hpp"
#include "CfgWeapons_mich.hpp"
#include "CfgWeapons_plateframe.hpp"
#include "CfgWeapons_usm.hpp"
}; |
2d2e0a10caf342ff6494ebc7f6b59db21982f03d | d54259e11b684c4124723376c1485b99e387a5e0 | /pointerExamle/PointerArithmatic.cpp | 273f98f131811fb2441dfa5a6fb4462e299f4f08 | [] | no_license | Saurabh-12/learn_cpp | 754e5f1efdfe021beaf7425f9b1592cae58fd19e | 805c0b2131481ac14bd1510868a638040ae1e605 | refs/heads/master | 2022-03-06T12:39:44.456471 | 2022-02-28T17:16:58 | 2022-02-28T17:16:58 | 116,156,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | PointerArithmatic.cpp | #include<iostream>
int main()
{
int value = 7;
int *ptr = &value;
std::cout << ptr << '\n';
std::cout << ptr+1 << '\n';
std::cout << ptr+2 << '\n';
std::cout << ptr+3 << '\n';
int array [5] = { 9, 7, 5, 3, 1 };
std::cout << &array[1] << '\n'; // print memory address of array ... |
39a028a00117a85c69f97794b695e37704501fd8 | 3582dd2dad0ce85ee694536018c48806e215d529 | /Zombies/Event.cpp | 7b4608e07e2b785e71e06d195f717f6ae00a50c9 | [] | no_license | Benner727/ZombieSquares | 1ab9001a32502ff780a5128adb487f2626033728 | 88597d9721de7940cf1eeb0c12e15c78553b6e2e | refs/heads/master | 2022-01-12T07:43:09.268621 | 2019-05-19T15:25:01 | 2019-05-19T15:25:01 | 187,494,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | Event.cpp | #include "Event.h"
Event::Event(Map* map, Vector2 pos, float rotation)
: Actor(map)
{
mTimer = Timer::Instance();
mAudio = AudioManager::Instance();
mLifeTimer = 10.0f;
mSprite = nullptr;
}
Event::~Event()
{
delete mSprite;
}
void Event::Hit(PhysEntity* other)
{
}
bool Event::CleanUp()
{
return !(Active()... |
0080c1d0575fb32aab24cd63ba4ff73c6b45a821 | 6a86efd2e8e261bbc63fab00764ce75065bbff7b | /tool-function.h | b18c601c67ad491134536bf8ac9f1ee3f6af2482 | [] | no_license | kcyeu/nodejs-wrapper | 88a18ee5d7a3f3f714af41d3d31fe47fa95a41fe | f8daca02f9541e4cc87045c16e0422f2c2cb0d8c | refs/heads/master | 2020-06-22T02:28:08.722303 | 2016-02-26T06:15:23 | 2016-02-26T06:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | tool-function.h | #ifndef _TOOL_FUNCTION_H_
#define _TOOL_FUNCTION_H_
#include <iostream>
#include <string>
#include <fstream>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::fstream;
using std::ios;
template <class valueType>
void OutputCallbackMessage(valueType data) {
cout << data << endl;
}
templa... |
0672ddcef951cd6a3a347ccea90af76e11776e56 | 32df40e8a8b78a3e2a75c8d1b7ec57781647669f | /Subset Sums/subset.cpp | 731fd582c531bf634c6948a0a30b4687716d7790 | [] | no_license | AShiTheCoder/USACO | ac1a7be98d865279420e029903855e225187450e | ae768998bc11812572364c9ca2c082ae085cbe65 | refs/heads/master | 2020-04-17T23:08:00.035791 | 2017-01-12T06:07:42 | 2017-01-12T06:07:42 | 67,574,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | subset.cpp | /*
ID: ashilol1
PROG: subset
LANG: C++11
*/
#include <iostream>
#include <fstream>
using namespace std;
long ways[391][40];
unsigned long numWays(long sum, long k){
if (sum < 0 || k < 0) return 0;
if (ways[sum][k] != -1) return ways[sum][k];
else{
ways[sum][k] = numWays(sum, k - 1) + numWays(su... |
3e77fba2f97b5f6e4bba8859466f2644d8a2acf4 | 941be079d7d6b215e2a06defd53d2651392f7004 | /StaticArray.TestDriver/StaticArray.h | ca248e67a9349f934767315c97048282dc8c96a2 | [] | no_license | Nyokoyama297/COMSC260_Assignment_2_Part1 | 3776a8799e63b8640cebe2e26de6b5a7f4f960e8 | a1303bbbf4034bf5e999544f3baeea7dd64be68d | refs/heads/master | 2020-03-28T19:12:20.320988 | 2018-09-16T23:36:19 | 2018-09-16T23:36:19 | 148,954,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | h | StaticArray.h | // Student's name: Naoyuki Yokoyama
// Student's ID; 1635297
#ifndef Array_h
#define Array_h
#include <algorithm>
using namespace std;
template<typename T, int CAP>
class StaticArray
{
T value[CAP];
T dummy;
public:
StaticArray()
{
if (typeid(T) == typeid(char)) {
fill(value,value + CAP, '0');
}
els... |
a30015ce815cd350bea22b6cb59f776040a58b80 | ff427f244fbe9193395fa177f7c371682ad0d858 | /ch5/BasicInvaders/Invaders/Game.h | 017fab367784a7c97f155b9b768ed9de9e9b5ae2 | [] | no_license | borfus/GameProgramming | c207119f16f48f370a26e74c910fe8c6ec8fdda4 | a569d39395f9ac86b3915fea4aafae30022fbfba | refs/heads/master | 2022-10-16T05:12:28.509356 | 2020-06-13T02:19:57 | 2020-06-13T02:19:57 | 268,660,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | Game.h | // Main Game loop control
#pragma once
#include <vector>
#include "MyFiles.h"
#include "surface.h"
#include "Objects.h"
#include "Input.h"
#define SCRWIDTH 320
#define SCRHEIGHT 240
using namespace std;
class Game
{
public:
Game();
~Game();
void Update(float DTime, MyFiles* ... |
b6dba21e50d6ede3300ac06c6b178d619b66197b | d84a8687c99b435e75fa49061aaebb48190a98df | /action_manager/src/action_manager_node.cpp | 5d7b168896820d3408698a45461c6549cb7b4028 | [] | no_license | SiChiTong/ariac-2018-controls | 185413771723ebac1d9371dadc8f11be7c5e28f8 | 2e3173a4ca1895a658392d8985e70b2e7c12ade4 | refs/heads/master | 2020-06-05T14:52:22.292145 | 2018-10-07T18:44:56 | 2018-10-07T18:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | action_manager_node.cpp | #include <ros/ros.h>
#include <action_manager/ActionManager.hpp>
int main( int argc, char* argv[] ){
ros::init( argc, argv, "action_manager_node" );
control::ActionManager am{};
ros::waitForShutdown();
return 0;
}
|
5c5831e51bebe46b21fddc39aa2d442af59796e2 | 180a3795a115c0da71078f81efbde45ab2025ca0 | /C++_code/2019_interview/tengxun0817/03qujianfugai.cpp | 73149403fc27e2c7d9805bb9e655fb83f3e58c09 | [] | no_license | lizhe960118/Machine-Learning | a7593e6788433408bcf072e5e25672debd931ee4 | 2d6fe2373839964645d632895ed2a7dcb9de48b0 | refs/heads/master | 2020-03-31T15:53:57.408037 | 2019-08-18T12:29:11 | 2019-08-18T12:29:11 | 152,355,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | 03qujianfugai.cpp | //poj1089
#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<vector>
using namespace std;
// #define max_num 0x7fffffff;
typedef long long LL;
int N = 1e5+10;
int L = 1e9+10;
struct node{
int start;
int end;
} a[100000 + 10];
int cmp(struct node a, struct node b){
return a.start < b.star... |
1e14c78de9bf324a29129bf2bcd4dbcd20360720 | f0a1b225a7d2ceca2cba3d5cd9cb3ea145ec66f4 | /trunk/lib/slave/examples/imagefilter_opencl/main.cpp | 9ad85f4baf4cfa5b3cfa6eb3f90bf738fedee9ba | [] | no_license | lopec/LoPEC | 7d5503e2fbd709849c403c501b6ca444db462f15 | 29a3989c48a60e5990615dea17bad9d24d770f7b | refs/heads/master | 2016-09-06T19:19:06.440261 | 2010-01-14T19:56:44 | 2010-01-14T19:56:44 | 502,996 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | cpp | main.cpp | /*
main.c
Author:Christofer Ferm
An Image/Audio filter application for
LoPEC Low Power Erlang-based Cluster
*/
#include "sharpen.h"
using namespace std;
/*prints out the results */
void printResults(const cl_float *res, cl_int *col, cl_uint count);
#define DATA_SIZE (1)
#define OUTPUT_SIZE (1024*1024)
int c... |
920b87d147021785078e0e92f9bbc5c2530aaeb7 | 20a103fa1938cd916ab36d502ab80fa57f5ef6db | /esp32-api-server.ino | 0ba82b4e894cb3be239fb753db100edf1615edeb | [] | no_license | jcbrunhera/esp32-pin-api-server | a6bc10aeba67e83a43b9ebf17e459dc712ec6826 | f2c97ddc3b5417e0bc9ad3b459f24d7eceb17dd8 | refs/heads/main | 2023-05-15T15:04:29.645226 | 2021-06-02T22:14:53 | 2021-06-02T22:14:53 | 373,315,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | ino | esp32-api-server.ino | #include <Arduino.h>
#include <WiFi.h>
#include <WebServer.h>
const char *SSID = "your_ssid";
const char *PWD = "your_pswd";
WebServer server(80);
void connectToWiFi() {
// -- fixed IP
IPAddress local_IP(192, 168, 15, 36);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 0, 0);
IPAddr... |
cdae45c3595f10f2e4093c4a41dfca57f0c416aa | cb7ac15343e3b38303334f060cf658e87946c951 | /source/runtime/CoreObject/Public/Serialization/BulkDataCommon.h | 3b1e2da01b8273f3b07d4fe410b0a400153cc012 | [] | no_license | 523793658/Air2.0 | ac07e33273454442936ce2174010ecd287888757 | 9e04d3729a9ce1ee214b58c2296188ec8bf69057 | refs/heads/master | 2021-11-10T16:08:51.077092 | 2021-11-04T13:11:59 | 2021-11-04T13:11:59 | 178,317,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,012 | h | BulkDataCommon.h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
// NOTE: This file only needs to exist as long as we need to maintain the editor and runtime versions of Bulkdata.
// Code common to both can be placed here.
/**
* Flags serialized with the bulk data.
*/
enum EBulkDataFlags : uint32
{
/** Empty flag ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.