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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db0f6f1e29862ea7500867a2286f332cb985aad9 | 6a4bb1498d9cb21d9ef4b3cb0b325c7013cf3a13 | /include/geometry/line3.h | 54ef9acd074a95a37e861ae794c391a9f3dbb8aa | [] | no_license | argontus/3S3K3D | 663fea3b79a152d2ca26cd05242d931cbe9c402f | 6d5fb09546e7f70d038e8cf89ff102088c03258a | refs/heads/master | 2021-01-01T16:56:10.674766 | 2011-04-21T14:37:38 | 2011-04-21T14:37:38 | 1,295,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | h | line3.h | /**
* @file geometry/line3.h
* @author Mika Haarahiltunen
*/
#ifndef GEOMETRY_LINE3_H_INCLUDED
#define GEOMETRY_LINE3_H_INCLUDED
#include <geometry/vector3.h>
/**
* Represents an unbounded 3D line.
*/
class Line3
{
public:
// compiler-generated destructor, copy constructor and assignment operator
// are... |
14d9cb6e62272dbaef742c63bfb53fc2c23ce6ed | 92c43f9c66816e3b5424b93aa27f15b081905549 | /Part7/CommonDataClasses/CDCs/CDCStatusInfo/StatusInfo.h | b349331b1f70d4f4ef668199e9d323dab172d7f5 | [] | no_license | adirkuhn/lib-iec61850 | fd30b032b35d3184c3f01be4f0a11a3560c7954f | 7a35d901a299c94e49fd4dcb468a9d0e993b0709 | refs/heads/master | 2020-05-21T12:11:30.042930 | 2014-10-27T17:51:18 | 2014-10-27T17:51:18 | 32,832,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | h | StatusInfo.h | ///////////////////////////////////////////////////////////
// StatusInfo.h
// Implementation of the Class StatusInfo
// Created on: 15-Apr-2014 2:52:47 PM
// Original author: adirkuhn
///////////////////////////////////////////////////////////
#if !defined(EA_4A27DFE3_7CAA_401a_97AB_BCA717C69897__INCL... |
9a4c5a0d73db26ef80fb8959671d003031301b37 | 9367ff3cc1ad4128e8c7e3559185b5ad86ab562e | /util/affinity.h | 324c8ccb04409a308505b6ceb70a21aafbd7b382 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | mitdbg/treeline | b829b2e4dd5b114c03e59235391fd048a5244047 | 6a7c35fb38f5de93026d451a0ed2d3199de8ad7a | refs/heads/master | 2023-07-23T17:12:13.313496 | 2023-07-18T15:08:05 | 2023-07-18T15:08:05 | 373,646,092 | 94 | 8 | MIT | 2023-07-18T15:08:07 | 2021-06-03T21:30:18 | C++ | UTF-8 | C++ | false | false | 1,045 | h | affinity.h | #pragma once
#include <pthread.h>
#include <cstdint>
#include <stdexcept>
#include <string>
namespace tl {
namespace affinity {
// Pins the current thread to core `core_id`, returning true if the pin
// succeeded.
static bool PinToCore(uint32_t core_id) {
cpu_set_t cpuset;
CPU_ZERO(&cpuset);
CPU_SET(core_id, ... |
d0a04a2cd25e1ae0975ccf556d966c83ab277e49 | e7a1a974fe647574483af63e40cd33c092e4d011 | /Tools/BugReporterV2/macx_collectors/lib/src/ShellSystemProfile.cpp | c838c19e08800e564d6453633fab41eab232b842 | [] | no_license | blockspacer/Unity2018ShaderCompiler | cddc3d1fdab0c18bfd563a30888bbc18f914a809 | 4a3517261506550a7d8325f0335792e634ce0ba4 | refs/heads/main | 2023-04-16T13:53:13.812665 | 2021-03-19T12:27:39 | 2021-03-19T12:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | ShellSystemProfile.cpp | #include "ShellSystemProfile.h"
#include "shims/logical/IsEmpty.h"
#include "system_interplay/Shell.h"
#include <sstream>
#include <algorithm>
namespace ureport
{
namespace macosx
{
ShellSystemProfile::ShellSystemProfile(std::shared_ptr<Shell> shell)
: m_Shell(shell)
{
}
std::string ShellSyst... |
6ff5446996dfac8548f0889d18d6b5eab554bafb | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/wwise/source/SoundEngine/SoundEngineProxy/Common/SoundProxyLocal.h | 07f9f23d44a81ac553d435853618d17032c44bc2 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | h | SoundProxyLocal.h | /***********************************************************************
The content of this file includes source code for the sound engine
portion of the AUDIOKINETIC Wwise Technology and constitutes "Level
Two Source Code" as defined in the Source Code Addendum attached
with this file. Any use of the Lev... |
7dc468644b83aae41dc16b959fb2949e2a52c57d | c8cc1f23e0326aec71ebd0c90783a1831343da5b | /src/lexer.cc | 308be3ac0c2cc7e7d4cf823347a9a1eb6becc07c | [] | no_license | jabraham17/StackMachine | ec43a1dd73f9ea3bd9f0880962a3cd362b9d953e | ae851109a5e6d52ab9fdde85f12458ad406f574f | refs/heads/master | 2022-12-31T05:17:44.066199 | 2020-10-15T23:38:18 | 2020-10-15T23:38:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,967 | cc | lexer.cc | //
// Created by Jacob Abraham on 8/28/20.
//
#include "lexer.h"
const std::string Token::types[] = {
"END_OF_FILE",
#define TOKEN(t) #t,
LEXER_TOKENS(TOKEN)
#undef TOKEN
"ERROR"
};
Token Lexer::getToken() {
//if we have tokens, get them,
if(!tokens.empty()) {
Token t = tokens.back();
tokens... |
6932784cd194eb5b431ca6c528d7ec17c4cda441 | c1ea86f1c551ac343e2d3a1e5d7e96c5d92d1dd5 | /v0.05/TcpConnection.cc | 2da4071f3cd5ca7608babe05fbbb774b6a3cf880 | [] | no_license | itherunder/tiny-muduo | 93e0f490c8b73d7306fac4037716e3b5f32d0e5f | fd08bfe068c9a5fe612e1009160e61d1ead70453 | refs/heads/main | 2023-07-10T10:29:47.265407 | 2021-08-25T07:18:49 | 2021-08-25T07:18:49 | 395,884,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cc | TcpConnection.cc | #include "TcpConnection.h"
TcpConnection::TcpConnection(EventLoop* loop, int sockFd)
: sockFd_(sockFd)
, channel_(nullptr) {
channel_ = new Channel(loop, sockFd);
channel_->SetCallBack(this);
channel_->EnableReading();
cout << "[CONS] TcpConnection ..." << endl;
}
TcpConnection::~TcpConnection... |
4d9c701a46e3b3c2495f9a868dfd6305dd38168f | ccf5db110a77c37cf7880caf8bc0f98b97e6da9d | /Practicals/Practical 07/Practical 7/Part 4/Main.cpp | 1c2da06c64d3ed7c02c383559b9512a0ed382ce7 | [] | no_license | deweiliu/c-plus-plus-practicals | fef27f717487c18bf82be31feb83eb149b877a0f | d2b5a4c2b4395441f02e8fe360170edd4eef9644 | refs/heads/master | 2021-02-06T00:53:32.319653 | 2020-02-28T23:08:29 | 2020-02-28T23:08:29 | 243,855,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | Main.cpp | #include<iostream>
#include"LinkedList.h"
using namespace std;
void main() {
// an empty char list
LinkedList<char> clist;
// add 10 chars one after another
for (int i = 0; i < 10; i++)
clist + ('a' + i);
// get chars at variable positions
char *f = clist / 3;
if (f)
cout << "char at " << 3 << ... |
d17e34a088ccc312902aad8fb0c9f6873b106d8a | 8646d753247f7dddea6d73d81422b1ec742c9f5a | /WSGeometry/src/bary_sinkhorn_armadillo.cpp | 521bd3f2b76f0b4b8af3d2e575e7df8f7f985cac | [] | no_license | akhikolla/updatedatatype-list4 | 24f5271c9d2807aca7dc8620b56eb96e740cd3c4 | 0a2a0a46e9fb6e066f30899c4cb3c016ba3a1504 | refs/heads/master | 2023-04-01T20:11:05.484102 | 2021-04-02T01:19:34 | 2021-04-02T01:19:34 | 352,124,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | bary_sinkhorn_armadillo.cpp | #include <RcppArmadillo.h>
#include <ctime>
#ifdef _OPENMP
# include <omp.h>
#endif
using namespace Rcpp;
using namespace std;
//[[Rcpp::plugins(openmp)]]
// [[Rcpp::depends("RcppArmadillo")]]
//[[Rcpp::export]]
Rcpp::List bary_sinkhorn_arma(arma::mat weights,arma::mat frechet,int maxIter, double lambda,arma::mat C,d... |
873aec5ee54fb3db7c688cfde5fb358e2088898e | 70261d2c3111d9b44478a6b007b25e01bfaee138 | /Desktop/C.P/Sublime Text 3/programs/mew3.cpp | cb18e06740299f8b9c7961774861bc8641a4c542 | [] | no_license | AmarShukla1/Competitive-Programming | 05a16ddb1cbc5b3c6223ca589608388957a754c0 | 782f0c9f1382581185bc497614ec09a5af846085 | refs/heads/master | 2023-06-05T09:19:45.428801 | 2021-06-26T08:49:20 | 2021-06-26T08:49:20 | 296,541,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | mew3.cpp | //Tonight's the night and it is going to happen again and again.
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mp make_pair
#define pb push_back
#define T ll t; cin>>t; while(t--)
#define mod 1000000007
#define f(n) for(ll i = 0;i<n;i++)
ll gcd(ll a,ll b){if(b==0){return a;}return gcd(b,a%b... |
45c1cce1d4b3d5e9dbca5a5d41bf8ee7dba5cbda | d7906e84bda2bd386e074eab9f05479205e7d2a9 | /Development/Source/Renderers/Common/GLGPUSharing.cpp | ace818c9695de5a9070ef58f9bc964b199c7822c | [
"BSD-3-Clause"
] | permissive | jwwalker/Quesa | 6fedd297a5a4dd1c21686e71bba3c68228f61724 | 1816b0772409c2faacdb70b40d5c02a55d643793 | refs/heads/master | 2023-07-27T16:36:55.757833 | 2023-07-06T23:55:10 | 2023-07-06T23:55:10 | 204,233,833 | 33 | 7 | BSD-3-Clause | 2023-09-09T23:17:36 | 2019-08-25T01:59:21 | C++ | UTF-8 | C++ | false | false | 12,507 | cpp | GLGPUSharing.cpp | /* NAME:
GLGPUSharing.cpp
DESCRIPTION:
Source for GPU shared data cache manager.
COPYRIGHT:
Copyright (c) 2007-2019, Quesa Developers. All rights reserved.
For the current release of Quesa, please see:
<https://github.com/jwwalker/Quesa>
Redistri... |
fa22eb967e07d0e622e5f3d57fcea59992c1155a | f5c5afb6e8c4afc8bad23333de836fb7d607d971 | /client/src/user_interface/login_mode.cpp | 81178ed33a7bbf3247bb3f8e1d2783928809df4e | [
"MIT"
] | permissive | dima1997/PORTAL_2D_copy | 471fa199c2886a9e1e3b53f7796b8f4cd922099d | 7618d970feded3fc05fda0c422a5d76a1d3056c7 | refs/heads/master | 2020-09-05T14:36:04.176004 | 2019-06-26T01:03:51 | 2019-06-26T01:03:51 | 220,131,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | cpp | login_mode.cpp | #include "../../includes/user_interface/login_mode.h"
#include "ui_LoginMode.h"
#include "../../includes/user_interface/login_new.h"
#include "../../includes/user_interface/login_join.h"
#include "../../includes/user_interface/login.h"
#include <connector/connector.h>
#include <connector/socket_exception.h>
#includ... |
9096aa4be5aa73624ec06c7d878515ac9a3d979c | 642c101b5c2b4345f0b3aa59ede3feb531528647 | /soap/cmxDeviceServicecdsObject.h | a63349981bc37add7cb549577fe9e884c300a66b | [] | no_license | yanggihoon/new_ds_compact | cd24df6641c9290205750c856d8dc6e66af6d5fe | e5bbe2b167e7d7ee021912074cb0cbdc5e011e54 | refs/heads/master | 2020-05-18T14:08:05.932963 | 2010-10-05T02:02:20 | 2010-10-05T02:02:20 | 848,550 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | cmxDeviceServicecdsObject.h | /* cmxDeviceServicecdsObject.h
Generated by gSOAP 2.7.6e from ds_intf.h
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifnde... |
53e50fe0f1e7c5738c0080128b5e7375d8aefed1 | 7bbcb00315b7c87032cfc0fb800e5a27f0f2882e | /benchmarks/allStru3Benchmarks.cpp | f688ad6ea8e6e999fe019b3da9dcc8bfa03984ce | [] | no_license | drjod/heatOption | 2e6b2463bd29894e13deac2344ce8b764a419283 | d11b24739e19c772150554eada2401030e3247cd | refs/heads/master | 2020-04-01T22:18:04.980143 | 2018-11-18T22:52:21 | 2018-11-18T22:52:21 | 153,699,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | allStru3Benchmarks.cpp | #include "dbench.h"
#include "benchmarking_stru3.cpp"
int main()
{
//benchmarking::collection.add_function(benchmarking::matrixAdditionSubtractionChain, "matrixAdditionSubtractionChain", 1);
benchmarking::collection.add_function(benchmarking::matrixDoubleMultiplication, "matrixDoubleMultiplication", 3);
benchmarki... |
7d4e3bd398799d3297868f61ece1f7aca788149d | f63706944c5a45b011453b792bc25908fa355af5 | /server/qcatalogserverworker.h | d22548f68f8bd4712b2ffe0f30f2db5c540f264a | [] | no_license | 172270/QElectricPartsCatalog | 7332451f3c2b6f2769f5c3e398a6526c9dafeb3e | 5e64ed85b4407cef3956dcaa8e00ce54b172e2ce | refs/heads/master | 2020-12-26T20:30:38.073889 | 2014-11-05T16:54:55 | 2014-11-05T16:54:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | qcatalogserverworker.h | #ifndef QCATALOGSERVERWORKER_H
#define QCATALOGSERVERWORKER_H
#include <QObject>
#include <QDebug>
#include <QDateTime>
#include "workercache.h"
#include "messagehandlerinterface.h"
class QCatalogServerWorker : public QObject
{
Q_OBJECT
public:
explicit QCatalogServerWorker(QSqlDatabase db, QObject *parent ... |
484a0c8712e2c536ded387f26abc5893a104cfa1 | aa35ac84695af6132dc8f1e8de46bb6868f58ceb | /ZPH3D/H3DEngine/include/FunctionalTest/TestCase/ReloadTest/ReloadBPT测试用例/ReloadBptTest_Mat.cpp | 740d9e57945313a3012370fa739f04d5f539be78 | [] | no_license | spawn66336/H3DEngine_Demo | 0e93432b95d7de91492cac9b73bc5bd6e27151e7 | fb1fc076e646e35fcad84c3cde5b1e33c2d19935 | refs/heads/master | 2021-03-19T13:29:46.254202 | 2013-09-17T06:02:27 | 2013-09-17T06:02:27 | 12,609,723 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,672 | cpp | ReloadBptTest_Mat.cpp | #include "../../FunctionalTest/TestCase/ReloadTest/ReloadTestBase.h"
//#define RELOAD_BPT_TEST_MAT_TWO _TWO_MAT
//bpt测试基类 针对bpt索引的mat
class ReloadBPTTest_Mat :public ReloadTestBase
{
public:
ReloadBPTTest_Mat(const char* casename):ReloadTestBase(casename){}
H3DI::IActor* m_pActor;
#ifdef RELOAD_BPT_TEST_MAT_TWO
... |
6e86174b6b31e90d83547126dfacfcdda695d6be | 439c92b465279d70c068548b197f0ea4a5f565fb | /sphere.cc | 46a3d72852baea815759c2e6682a6d10eda0eb63 | [] | no_license | Li0nMo0se/ray_tracer | 0cf1d0a96ca5c026d4d9987229e331efc3919f42 | c4e5c23e1526a25bf1102451122d3561820db15d | refs/heads/main | 2023-04-15T20:27:10.109468 | 2021-04-16T15:11:51 | 2021-04-16T15:11:51 | 342,230,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | cc | sphere.cc | #include "sphere.hh"
#include <cmath>
namespace scene
{
Sphere::Sphere(const space::Point3& origin,
const float radius,
const std::shared_ptr<TextureMaterial>& texture)
: Object(texture)
, origin_(origin)
, radius_(radius)
{
}
static std::optional<float>
solve_quadratic(const... |
422d42ff6c56adcccdd5b79282ac5af1b8d7f317 | d278740afe97cf0b96e2083c237c0eadb8a24ee6 | /Surface.cpp | b55105036f47203a28dd0c701d309ae3d4e204b3 | [] | no_license | jacobingalls1/SimplePlatformer | 9ffe10c64e5299959e76d00ea3010405cfeef0b0 | cbcdea5528d9f24199f5aa94c787e75ae6a58615 | refs/heads/master | 2020-12-24T03:20:30.430605 | 2020-01-31T05:00:51 | 2020-01-31T05:00:51 | 237,363,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | cpp | Surface.cpp | //
// Created by Ophiuchus on 6/28/2018.
//
#include "Surface.h"
#include <iostream>
using namespace std;
bool fComp(float a, float b) {
return abs(a - b) < .1;
}
bool ccw(Vector2f a, Vector2f b, Vector2f c) {
return (c.y-a.y)*(b.x-a.x) > (b.y-a.y)*(c.x-a.x);
}
bool betwixt(Vector2f a, Vector2f b, Vector2f ... |
ee4f6c70634c46376f8475e08bb13bf4abc8f64b | 1b9a32ea5f2492fd3512965f92e0f057b0528d33 | /longest_arithematic_sequence.cpp | afd0b9544917928b0b248106eede6e853c67b6cb | [] | no_license | shivangigoel1302/leetcode_solutions | a459a4279ffcfa889cf1fe0e8eb681e4e79186b6 | 3373f9710bd797bcda5cbd86958e8914ba9e2a15 | refs/heads/master | 2023-08-23T04:18:26.678630 | 2021-11-01T14:57:21 | 2021-11-01T14:57:21 | 274,206,300 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | longest_arithematic_sequence.cpp | class Solution {
public:
int longestArithSeqLength(vector<int>& A) {
int n = A.size();
vector<vector<int>>dp(n,vector<int>(2000,0));
int ans = INT_MIN;
for(int i = 0 ; i < n ; i++){
for(int j = 0 ; j < i ; j++){
int diff = A[j] - A[i] + 1000;
... |
d3a8a329563bfda368e276becca87a9dc4d9e65f | d86c053fed8395e313083f8b1f9a52ddabe29a1f | /class.cpp | 377d39d68de0db3fb177e17fb191dcbb859e3867 | [] | no_license | foxxy777/manipulate-private-data-of-father-class | b85c17faeee6fa6632bcb358bdea23a8a2b23ee8 | 67f9f7d626d2016e4dad2297a685b896fddc6beb | refs/heads/master | 2023-01-02T07:14:56.410615 | 2020-10-28T02:08:54 | 2020-10-28T02:08:54 | 307,882,229 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 793 | cpp | class.cpp | #include "class.h"
Cat::Cat(int weight_value, int length_value)//默认参数写在h的声明里,而不是写在这
{
weight = weight_value;
length = length_value;
cout << "constructor of cat weight" << weight << endl;
cout << "constructor of cat length" << length << endl;
}
void Cat::setweight(int weight_value)//所以说父类的private参数实际... |
9ad07217c87e31829d08a1995018adc9084abee3 | bd2958b7c96cac4c330d4b703e8ea78c7868e8a3 | /thread.cpp | ea84cc970c95df65e45a14f3b6f3c08ed84d498e | [] | no_license | krajeshshau/CPP | bf0d3a001e466f1d50ffc3a8ca045783a522a1c0 | 99cdcfb7922d2f16ef57791b8b91a7b015d74f80 | refs/heads/master | 2022-12-16T03:43:01.768723 | 2020-09-19T14:44:39 | 2020-09-19T14:44:39 | 287,069,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,575 | cpp | thread.cpp | #include <iostream>
#include <thread>
#include <algorithm>
#include<vector>
#include<mutex>
#include <condition_variable>
#include<future>
using namespace std;
class WorkerThread {
int data;
static std::mutex mut;
static condition_variable cv;
static int count;
static int flag;
public:
Worker... |
5dc0b39c1904f64317c4c8da4e35b21af8adce28 | 50486ebe8b4e6bd44eb70487d2725f5424504b71 | /XCodeDemos/SingleThreadServer/SingleThreadServer/main.cpp | 0813ee1af4fac1348e1e5fc3c8475b9b53a60428 | [] | no_license | Iann1978/Explore-to-Server | 2c3d520ac13515d31201185766d1d1482a586eb8 | c7cf30dcdd3d572e9b6a98caae90339461d28ed8 | refs/heads/master | 2020-05-17T22:39:34.881040 | 2019-04-30T02:08:57 | 2019-04-30T02:08:57 | 184,008,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | main.cpp | //
// main.cpp
// SingleThreadServer
//
// Created by iann on 2019/4/29.
// Copyright © 2019 iann. All rights reserved.
//
#include "Server.hpp"
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
int error = 0;
Server &server = Server::ins;
... |
e49f2234cd2761fa6c4c0dc8e5b48fd3ca5e1ca4 | 71b91eb68d95fbeb48e32fa90db9fd0697f05bbb | /purepad/evalview.cpp | f8dfe1724d6505c0b5cac68512f2ede4835d2da0 | [] | no_license | agraef/pure-lang | 2aaa3e08440b386d92f63b4da3e85450b7c5e81c | 01603c49f8aab295989e2e239568373c3b016298 | refs/heads/master | 2022-10-01T05:05:21.484845 | 2022-08-07T22:24:27 | 2022-08-07T22:24:27 | 86,244,642 | 292 | 23 | null | 2022-09-20T03:35:21 | 2017-03-26T15:49:16 | C++ | UTF-8 | C++ | false | false | 15,172 | cpp | evalview.cpp | // EvalView.cpp : implementation of the CEvalView class
//
#include "stdafx.h"
#include "qpad.h"
#include "gotodlg.h"
#include "tabstopdlg.h"
#include "MainFrm.h"
#include "qpadDoc.h"
#include "EvalView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif... |
d5bd43ffec922467bd0f2e5938f56f3ecd8dae3f | c98d4eb235da3eebea22f1acc5a3e46edb10bdbc | /sourcecode/20191227study(structure,stringfunctions).cpp | f89daf8cdc8abc47a2964f8fd3441e7542006079 | [
"MIT"
] | permissive | tnstjd1212/TIL-Cpp | ed4a4147d2f87c9356b98aed8be54c84f84361f7 | da659f6fb884c68835958959f5a1e6b0da949361 | refs/heads/master | 2020-11-29T05:42:50.514361 | 2020-01-19T11:54:01 | 2020-01-19T11:54:01 | 230,035,592 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,993 | cpp | 20191227study(structure,stringfunctions).cpp |
#include <iostream>
using namespace std;
#define NAME_SIZE 32
/*
구조체 : 관련있는 변수들을 모아서 하나의 새로운 타입을 만들어주는 기능이다.
사용자정의 변수 타입이다.
struct 구조체명 {};
배열과 구조체의 공통점
1. 데이터 집합이다.
2. 연속된 메모리 블럭에 할당된다.
(구조체 멤버들은 연속된 메모리 블럭으로 잡히게 된다.)
*/
struct _tagStudent {
char strName[NAME_SIZE];
int iNum;
int iKorScore;
int iMathSco... |
2814414173305461e3a95a6cd2156677cc1c857b | 2b9e3c3a7cf48650157e9e860148f16597078ff3 | /SelectCoordinary.cpp | 9ecfd89ac2ae3224eea8b7a00e192e05c6fa8f32 | [] | no_license | zhaojidabao/MGCode | 2a7fa089aaed9c2f99a2fd55cd4743fd1ae3d59e | c742915c8170869d5b2fbf791f339a1c28350334 | refs/heads/master | 2020-03-31T20:35:23.596990 | 2018-10-11T07:05:00 | 2018-10-11T07:05:00 | 152,546,612 | 0 | 6 | null | null | null | null | GB18030 | C++ | false | false | 4,760 | cpp | SelectCoordinary.cpp | // SelectCoordinary.cpp : implementation file
//
#include "stdafx.h"
#include "hl.h"
#include "SelectCoordinary.h"
#include "HLDoc.h"
#include "HLView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////////////... |
ee25c5f7cb1b1da84e306dae82b2fe044f38f279 | a4f955e84880c1a110e65484187d221c54b7c799 | /ch02/const.cpp | d814b1c2b8d211e383ee71cee8a72c006d73dc44 | [] | no_license | kk4728/CppPrimer5th | 5fe6a1997002ed8e8ef3c0c0a508666b403956af | 7fa2d6d7957fe0a8b53a2cbfe71e63babb16cdee | refs/heads/master | 2020-04-24T18:12:12.155711 | 2019-04-23T08:25:04 | 2019-04-23T08:25:04 | 172,173,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | const.cpp | #include <iostream>
void f2_4_1()
{
int i = 42;
int &r1 = i;
const int &r2 = i;
r1 = 0;
//r2 = 0;
}
void f2_4_2()
{
const int i = 42;
//int* ptr = &i;
const int* ptr = &i;
const int* const ptr2 = &i;
//*ptr = 5;
}
void f_constexpr()
{
const int max_files = 20;
const int limit = max_files + 1;
int staf... |
4bde30152eaf141d9222b21c84814b8402e72bea | 2d0ca8ba54a59a12452898209d05c96302447f60 | /VisibilityBufferTessellation/Buffer.cpp | 1ed61aef96efd4a7b5581206e6965a4d46e98eb1 | [] | no_license | merpheus-dev/VisBufferTessellation | 48916d09c8250a2212124143349c6a35db20398f | 78ed62e05457a4145c98d357aef34f5062ffcbf6 | refs/heads/master | 2022-02-06T22:34:18.304998 | 2019-07-10T11:15:43 | 2019-07-10T11:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | Buffer.cpp | #include "Buffer.h"
#include <stdexcept>
namespace vbt
{
void Buffer::Create(VkDeviceSize size, VkBufferUsageFlags usage, VmaMemoryUsage allocUsage, VkMemoryPropertyFlags properties, VmaAllocator& allocator)
{
// Store info
bufferSize = size;
usageFlags = usage;
allocationUsage = allocUsage;
propertyFlags ... |
e171c5b77f26b02ff31bf9578be8f20bbdd1663f | 2bef21ebe475bae8754a8d24eea1920e0b462644 | /Src/Neill3d_Archive/tool_blendPhase/blendPhase_tool.cxx | ff34eabf7ef224b77ebf7a7cfb0ef17699c858a8 | [
"BSD-3-Clause"
] | permissive | Neill3d/OpenMoBu | fd70392ba964fb0b65dc81adb04cc1dccc245af8 | bce4dd9a0b46ea6d911f66e9115a58f99e0fda8a | refs/heads/master | 2023-05-12T12:09:16.401574 | 2023-05-06T13:19:15 | 2023-05-06T13:19:15 | 24,093,493 | 77 | 14 | NOASSERTION | 2022-09-09T19:43:14 | 2014-09-16T09:31:25 | C++ | UTF-8 | C++ | false | false | 7,293 | cxx | blendPhase_tool.cxx | /***************************************************************************************
Autodesk(R) Open Reality(R) Samples
(C) 2006 Autodesk, Inc. and/or its licensors
All rights reserved.
AUTODESK SOFTWARE LICENSE AGREEMENT
Autodesk, Inc. licenses this Software to you only upon the condition that
you acce... |
8aef705c34f4220984e3f89163dbc577e87e1081 | 4c05eb220a3ae5b1cd0197f2f4d33759f26d9451 | /SaMod_V3/Shared/sdk/net/bitstream.h | e3d575c30621502ef2cd1d3bb9cfd4651eb214a6 | [] | no_license | grasmanek94/PAWN-4-SinglePlayer-GTA-SA | 6276633ca3ad95d98d2d0302b160c3e68537c067 | 279569a3a5a257a36bcdc6ccb88a41ba76f62ae9 | refs/heads/master | 2020-12-24T20:52:25.112355 | 2016-04-25T23:48:14 | 2016-04-25T23:48:14 | 57,083,608 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,091 | h | bitstream.h | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: Shared/sdk/net/bitstream.h
* PURPOSE: Network bitstream interface
*
* Multi Theft Auto is available from http://www.multithe... |
aba51b5244b1293f4e2a0c221cf09a3e2fd5eda3 | 0712c7f5a75b9273ca01319007712fabc61af4b7 | /Saideepthi180102062Assign5/assignment5/ques3/q3.cpp | da58afdf222398fbb40512b41e697d86878db2cd | [] | no_license | Deepthi2001/DSA-EE390 | 9598736235673d5f18ef4fa1f5fcbb086391247b | 494213b05d6b09fe670b918049a7e64b1865d096 | refs/heads/main | 2023-04-22T17:54:34.395282 | 2021-05-12T06:58:43 | 2021-05-12T06:58:43 | 366,619,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,873 | cpp | q3.cpp | #include "global.h"
//depth first search
void DFS(int R, int V, vector<vector<int>> &Resistance, vector<vector<int>> &Voltage,int n) {
bool *visited = new bool[n];
for(int i=0;i<n;i++)
visited[i] = false;
stack<int>S;
int start = R;
S.push(start);
while(!S.empty()) {
start = S.t... |
553beae8dbbcd8c4c89fa6fecacfa997a1ee5c8f | 96bc3dd8cfdb833a0e681b014cc4659df217ded0 | /codechef/Outputs/abhishek_0097/codechef/CHEFSTLT/CHEFSTLT-9189327.cpp | a8083b76c970a2d8f114bfff7ab5d92bab5bb056 | [] | no_license | theabhishekmandal/Code | 4d2f3b269fd150fa1ff443aebdee7522b089ece3 | b28c85b1196faabbfc491a44be20b5b2c6022bbb | refs/heads/master | 2022-04-13T11:43:15.274844 | 2020-04-10T08:54:58 | 2020-04-10T08:54:58 | 115,778,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | CHEFSTLT-9189327.cpp | #include <iostream>
#include<cstdio>
using namespace std;
int main()
{
int t,i;
cin>>t;
while(t--)
{
char a[101],b[101]; int max=0,min=0;
scanf("%s%s",&a,&b);
for(i=0;a[i];i++)
{
if((a[i]=='?'&&b[i]!='?')||(b[i]=='?'&&a[i]!='?'))
{
max++;
}
else
if(a[i]=='?'&&b[i]=='?')
{
max++;
}
else
if(a[i]!='?'&&b[i]!='?')
{
if(a... |
333f620492b6dbbcb975f6d7c8b3224b386434ce | e567681bca202d737995a9dde7ca646035d9d1d4 | /Examples/gpucoder/gpucoder/api/cnnMain.hpp | c47b5cc33c5c1645c44c45caa26e31baa6e2af02 | [] | no_license | shackopu/ManavMantra | 0b0bfad7ec9eacadae6d40dcc3e49ce3d7c0a6cf | 72f0da766eddd93171d88359868c8ed9ad3b32a6 | refs/heads/master | 2020-04-15T20:07:21.655572 | 2018-04-29T08:35:42 | 2018-04-29T08:35:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | hpp | cnnMain.hpp | /* Copyright 2016 The MathWorks, Inc. */
// Main file functions
extern "C" {
void cnnMain_mex_setup();
void cnnMain_mex_run();
void cnnMain_mex_cleanup();
}
|
3b247537cd69e2f69b97e6eaec50fa764bd7ac1a | 3ad20c303cfad42436888216fa3b2d19f4533ca0 | /main/lib/math/fraction.cpp | 1862dfe6aa074d9d20be4ba1583f075ca17df6dd | [] | no_license | JasonBaby87/Eschatology-Prototype | b4dd8d15d276f8753d467aa8c521bbcf2f1214fc | 45109fdd766fff8ec721e2700b83cef8b1bc341f | refs/heads/master | 2021-06-20T01:37:34.661351 | 2017-06-26T15:57:03 | 2017-06-26T15:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,354 | cpp | fraction.cpp | #ifndef FRACTION_CPP_INCLUDED
#define FRACTION_CPP_INCLUDED
#include <iostream>
#include <sstream>
#include "fraction.h"
#include "algorithm.h"
// ImproperFraction
template <typename N>
ImproperFraction<N>& ImproperFraction<N>::reduce()
{
N divisor = gcd(numerator, denominator);
numerator /= divisor;
denominator /... |
b0aa155ac9541df23e21c8aa5f96369c143b4a24 | e5422975481b1283b4a8a5207c2ff9a5e0d73ff1 | /cl_dll/hud_icons/hud_turretI_icon.cpp | 9ea66dbc4c4d564f76b97f8dc2a0259966aab7eb | [] | no_license | mittorn/hlwe_src | ae6ebd30c3dc2965f501b7e5ee460a7c7de58892 | 7abbe2ab834d636af4224a0bd0c192c958242b49 | refs/heads/master | 2021-01-13T16:30:25.223519 | 2015-12-01T19:07:15 | 2015-12-01T19:07:15 | 47,205,047 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | hud_turretI_icon.cpp | #include "hud.h"
#include "cl_util.h"
#include "parsemsg.h"
#include <string.h>
#include <stdio.h>
int CHudTurretIon::Init(void)
{
gHUD.AddHudElem(this);
return 1;
};
int CHudTurretIon::VidInit(void)
{
m_TURRET_I = gHUD.GetSpriteIndex( "item_turret_ion" );
return 1;
};
int CHudTurretIon:... |
d588b1a3d4da2d6917d1226cfe22cf3cea1d13ca | d53812fbdc773fc07d52c0b5c417bc399a753cf8 | /虚析构.cpp | e33fddf45fe04553c0011320c022656050d9dbd3 | [] | no_license | 599801489/c- | ca57d69d308c7418faaba4120ce9bf825131f16f | 2b4d06ac9b86cde9a256a89fe22e274fafda2df2 | refs/heads/master | 2021-05-17T13:15:58.638298 | 2020-03-28T12:55:02 | 2020-03-28T12:55:02 | 250,793,673 | 0 | 0 | null | null | null | null | TIS-620 | C++ | false | false | 440 | cpp | 虚析构.cpp | //#include<iostream>
//using namespace std;
//class father
//{
//public:
// virtual ~father() //ะ้ฮ๖นน
// {
// cout << "father";
// }
// };
//
//class son:public father
//{
//public:
// ~son()
// {
// cout << "son";
// }
//};
//
//class xiaom
//{
//public:
// ~xiaom()
// {
// cout << "xiaom"... |
f84bcad5aa2099cb8199658676d0ef6cfb323549 | c77b7116439d6768a8d2e4b730af4ab784c89e94 | /source/frontend/graphmlparser.cpp | bf598caabbc512e3175d7e2c63e5065643766c72 | [
"BSD-2-Clause"
] | permissive | forsyde/f2cc | ae77eca7a1c0ed8a13a905cdbc9f19c7a1076ed3 | 52a00c1c4f6d4f2786bf449f1a9a1269be97802d | refs/heads/master | 2020-04-14T20:56:28.746729 | 2015-08-19T07:37:46 | 2015-08-19T07:37:46 | 40,982,034 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43,422 | cpp | graphmlparser.cpp | /*
* Copyright (c) 2011-2013
* Gabriel Hjort Blindell <ghb@kth.se>
* George Ungureanu <ugeorge@kth.se>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of s... |
583707d7a15edd5ba049b1747399dd243df38464 | 42385b77d4fbbb4db6f8cd5b15a5f2cc02ba0e3c | /signals/discritsignals_filetransfer.h | 5abd70d6f2432da246297527b14ba41b041c640f | [] | no_license | jom-everest/poisk_technical-test | e2f98b9b0e2a4ca5dfd3a5ad2627f4480bfc3b6b | b7a9624e7e623c28d5951b9a47a0b86934f3e150 | refs/heads/master | 2021-08-24T07:49:16.792118 | 2017-12-08T18:21:09 | 2017-12-08T18:21:09 | 112,857,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | h | discritsignals_filetransfer.h | #ifndef discreTSIGNALS_FILETRANSFER_H
#define discreTSIGNALS_FILETRANSFER_H
#include <string>
#include "consts.h"
#include "struct_signals.h"
class DiscretSignals_FileTransfer
{
std::string fileName = DISCRET_DATA_TRANSFER_FILENAME;
public:
bool readFromFile(DiscretSignalsSet& set) {
char byte;
... |
bd11fa96675aa48e5dfda059c2001667b4949340 | ee7f198fffb71570ddaeb3225e04de48d8653633 | /Cache_optimization/src/exec/main2.cpp | 98826c15769284449249e2412e0058c51826167e | [] | no_license | joeburg/side-projects | 0cbece5a0c878e40734008f8f4252ddb65b2f3de | 0400a511994ab51f3a2c6110f050c829c0528cdf | refs/heads/master | 2021-01-25T11:03:25.999174 | 2017-06-22T08:16:30 | 2017-06-22T08:16:30 | 93,974,175 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | main2.cpp | #include <iomanip>
#include <iostream>
#include <memory>
#include "timer.h"
#include "utilities.hpp"
int main(void)
{
// initialize matrix size, padding and blocksize
int size = 4096;
int ldim = 4096+16;
int blocksize = 256;
double *a = new double[ldim*size];
initmatrix(a,size,ldim);
... |
4bd04cdc1365ef53da07fd557502a3a14163d869 | 89d113159b17f92e7ee245c0caa2ccccb2aed7c2 | /include/i_subscriber.hpp | 6cf2c622ddb564f9a340e4d7bbb17ca615565d4a | [] | no_license | vell999/github-upload | be579d2fadf9ed5a6f56f4c06ce33489abb5cc6c | 988eea89a860e231f7e29763333dcfbe2244c664 | refs/heads/master | 2023-05-12T03:47:29.255213 | 2021-06-02T12:14:38 | 2021-06-02T12:14:38 | 373,141,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | hpp | i_subscriber.hpp | #ifndef I_SUBSCRIBER_H
#define I_SUBSCRIBER_H
#include "i_event.hpp"
#include "shared_pointer.hpp"
using namespace advcpp;
namespace smarthome
{
class ISubscriber
{
public:
virtual ~ISubscriber() noexcept = 0;
virtual void Notify(SharedPointer<IEvent> a_event) = 0;
protected:
ISubscriber() = default;
... |
d98c505dc73e5aedbf0f09353384b1217b2e0f88 | 73709039ac2b42e410c4d1d7b862e4e352a74599 | /ipms_server_api/IPMS_config_so/ConfigTest.cpp | 590877ef15d1b5be775599f561e395387d352e3d | [] | no_license | GarfieldLinux/IPMS | a0743629325032b3319d0bb713ed624d0f5c19b7 | 21fab7a2513c402c0c3b3314c974ad7ab0e21a9c | refs/heads/master | 2020-05-29T21:04:21.731270 | 2014-09-24T14:02:23 | 2014-09-24T14:02:23 | 19,529,124 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | ConfigTest.cpp | /*
* =====================================================================================
*
* Filename: ConfigTest.cpp
*
* Description:
*
* Version: 1.0
* Created: 2011年06月18日 23时11分07秒
* Revision: none
* Compiler: gcc
*
* Author: GarfieldLinux... |
09c6fe755f9ccc88a7427f5cf7fa1e552473f5d1 | d093e5dbdf4fb08eacbe2ec3cfc070e4c58c0f3e | /Source/Modules/MMOEngine/SubSystem/RCMLogic.cpp | defc2c90739d65fb34382175221363c27bc03967 | [
"MIT"
] | permissive | RamilGauss/MMO-Framework | 3bd57e800f20b6447b494009eb3d7a49dfeb1402 | fa4ec6427a3a891954f97311af626f8753023ec2 | refs/heads/master | 2023-09-02T17:50:25.742920 | 2023-09-01T09:17:26 | 2023-09-01T09:17:26 | 15,496,543 | 32 | 20 | MIT | 2023-05-11T07:10:07 | 2013-12-28T17:54:28 | C++ | UTF-8 | C++ | false | false | 928 | cpp | RCMLogic.cpp | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#include "RCMLogic.h"
using namespace nsMMOEngine;
TRCMLogic::TRCMLogic(TBase* p) : TBaseMasterLogic(p)
{
}
//-----------------------------------------... |
3b1e1eead59a6861d46878e18af685b8e287bcf6 | e0a0d45181c1d0b0f0aa3d4dd977fc7bec4d21bb | /vision/run_map.cc | 2b6621ae5f8a1ecd8709e1b99a483fcd61dcb424 | [
"MIT"
] | permissive | jpanikulam/experiments | 71004ff701f4552c932eb6958a0bcd3de76ee383 | be36319a89f8baee54d7fa7618b885edb7025478 | refs/heads/master | 2021-01-12T01:35:15.817397 | 2020-01-24T00:59:12 | 2020-01-24T00:59:17 | 78,386,199 | 1 | 1 | MIT | 2018-12-29T00:54:28 | 2017-01-09T02:24:16 | C++ | UTF-8 | C++ | false | false | 3,795 | cc | run_map.cc | #include "block_transform.hh"
#include "features.hh"
#include "histogram_equalize.hh"
#include "images.hh"
#include "io.hh"
#include "pyramid.hh"
#include "util/clamp.hh"
#include "eigen.hh"
#include <iostream>
#include <opencv2/opencv.hpp>
using Vec2 = Eigen::Vector2f;
struct MappingContext {
cv::Mat r... |
7c7a2583d0a8097c103b8c98a44c71f070d7122c | 74f8a44af74bd12951c5abc0fe4af82f5601aba1 | /others/1931/main.cpp | 6a6dac07d5feff5c36f3e2da76c07d58ec718cb4 | [] | no_license | skeleton625/BOJ | 104060269a4a6996536558e65921c5302d58daee | 936dbb405846de1b358aecfda1d0c0bb19b12d7b | refs/heads/master | 2023-01-09T16:46:12.112568 | 2023-01-08T12:05:00 | 2023-01-08T12:05:00 | 176,702,443 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | main.cpp | #include <cstdio>
#include <algorithm>
typedef std::pair<int, int> meet;
meet *m;
int n;
int main() {
scanf_s("%d", &n);
m = new meet[n];
for (int i = 0; i < n; i++)
scanf_s("%d %d", &m[i].second, &m[i].first);
sort(m, m + n);
int p = 0, c = 1;
for (int i = 1; i < n; i++) {
if (m[i].second >= m[p].first)... |
6ef02e77926d3646efcbb064f9a29ebc95912397 | b37d708f880ccd1b97eec929d603e860d0a202e2 | /autogenerated/adverseevent-pskel.cxx | 9c31493cbca30799e8ec277b5838b82990ffcf1b | [] | no_license | lucatoldo/arduino-fhir | a19b03e0a194fd54b31036da504c21dd06929fd0 | d591300758fb7e294265ccf974036fff706d9fcb | refs/heads/master | 2021-05-17T12:19:47.518299 | 2020-03-28T11:05:15 | 2020-03-28T11:05:15 | 250,772,241 | 0 | 0 | null | 2020-03-28T11:03:27 | 2020-03-28T11:03:27 | null | UTF-8 | C++ | false | false | 53,786 | cxx | adverseevent-pskel.cxx | // Copyright (c) 2005-2020 Code Synthesis Tools CC.
//
// This program was generated by CodeSynthesis XSD/e, an XML Schema
// to C++ data binding compiler for embedded systems.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as... |
bd7fb9a6e47391b1c46288ec17148dfb6bc808a2 | 04899c4620f640922cfddc6f12c3393043c4ff60 | /AnKi/Scene/Components/GpuParticleEmitterComponent.cpp | 359fbbea818302bf20b4ec4593daf759c8db3ce2 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | galek/anki-3d-engine-1 | 51c3d56b8aeaf6773216749d95e0326aa75978de | 48f9806364d35a12a53508b248e26c597188b542 | refs/heads/master | 2021-11-25T06:47:32.120582 | 2021-10-24T19:33:05 | 2021-10-24T19:33:21 | 59,970,766 | 0 | 0 | null | 2016-05-30T00:57:00 | 2016-05-30T00:57:00 | null | UTF-8 | C++ | false | false | 10,212 | cpp | GpuParticleEmitterComponent.cpp | // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
// All rights reserved.
// Code licensed under the BSD License.
// http://www.anki3d.org/LICENSE
#include <AnKi/Scene/Components/GpuParticleEmitterComponent.h>
#include <AnKi/Scene/SceneNode.h>
#include <AnKi/Scene/SceneGraph.h>
#include <... |
51aa99520a6ac4e9c265e1fdd1757162e24bfd2b | bd4db4919da1655f62388246c0b88011bae5ecb5 | /icebridge_svn/trunk/gateway_server/sdk/PlayersManager.cpp | e1b057f00d0ce45892886e5b67588733a446f427 | [] | no_license | qxiong133/cpp_framework | 0e567d914ea8e340ed6491b1837c9947a94b9308 | 076ecfed1ac71aa92d3c35394aab2fa064168cfe | refs/heads/master | 2020-04-24T19:42:13.873427 | 2015-03-26T08:32:18 | 2015-03-26T08:32:18 | 31,106,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,145 | cpp | PlayersManager.cpp | /*
* PlayersManager.cpp
*
* Created on: Aug 11, 2013
* Author: root
*/
#include "PlayersManager.h"
#include "sdk/tcp_session_handler.h"
#include "sdk/tcp_io_thread_manager.h"
#include <iostream>
using namespace eddy;
using namespace std;
using namespace boost;
extern TCPIOThreadManager manager;
PlayersMa... |
81dfb57e80fe9f530cea8ba3ec46ecb346fe08c3 | 7deb45a2b13b9b69d705e0750c9cf6c07ef08779 | /sstable.h | f96bd473268c26679b28970430658f90e8d5f0ea | [] | no_license | tao011110/LSM-Tree | 0870c29221245b82989215e84e96ad9e7bb8937d | b7c6e348690ab4816cd99785d67756200f49ee04 | refs/heads/master | 2023-06-01T07:04:25.116770 | 2021-06-04T11:56:06 | 2021-06-04T11:56:06 | 368,061,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | sstable.h | #ifndef SSTABLE_H
#define SSTABLE_H
#include <string>
#include <vector>
#include <fstream>
#include "memtable.h"
#include "bloomfilter.h"
class sstable
{
private:
std::pair<uint64_t, uint32_t> *index;
std::string *data;
struct Header{
uint64_t time;
uint64_t num;
uint64_t min;
... |
3eae434b4ecba8cce0994199dc1cd56b34c0dfbe | b09d9ac8d001123bb0aa9e862d898c102700080e | /arrays/threeNumberSort.cpp | 8ba6aefe53d78392996f50b15aa68ee4de697f56 | [] | no_license | shobhanc/dcp | f1629bf3a23041e802a0f63f43b0d6dfd5d1b909 | 26c08f0a671562767d6d0378751fdad738c317a9 | refs/heads/main | 2023-03-10T12:45:36.215327 | 2021-02-28T08:15:26 | 2021-02-28T08:15:26 | 313,209,766 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | cpp | threeNumberSort.cpp | /*
* Three Number Sort
* Given an array [1,0,0,-1,-1,0,1,1]
* order of three distinct integers [0,1,-1]
*
* output in the same order as the order array:[0,0,0,1,1,1,-1,-1]
*
* Do in place sort without using auxillary data structure.
*/
//Bruteforce with auxillary array.
//O(k) space and O(Nk) time
vector<int>... |
255e0142d45954e046a3c75f09436ecd4858f2c6 | be696f42628c9b2466fb46a710c866c0e336017a | /StudentProgram_C++/Compare.h | 3b06c5fb84c4f643f7ef81514a64f8808e5820d8 | [
"MIT"
] | permissive | wjk0629/StudentManager | 7c340ad372e7392cfde304a7b93f935b09c48b2e | 1db0f62f0ffc0bedad189c56e047b928a5b85489 | refs/heads/main | 2023-05-04T10:27:59.859199 | 2021-05-24T11:12:22 | 2021-05-24T11:12:22 | 370,317,099 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | Compare.h | #pragma once
#include "CStudent.h"
class CompareByName
{
string name;
public:
CompareByName(string name)
:name(name)
{}
};
|
fc9341ffb4426536e6ad4999dc9c6a265539578f | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/modules/permissions/PermissionQueryCallback.h | c5631582b2830013d8a202ab6087091da244a758 | [
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 1,368 | h | PermissionQueryCallback.h | // Copyright 2015 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.
#ifndef PermissionQueryCallback_h
#define PermissionQueryCallback_h
#include "platform/heap/Handle.h"
#include "public/platform/WebCallbacks.h"
#include ... |
972054dccd967a0b327f5bd50c7ce6d9958d4a49 | 14967a93424babfb3d8e80c6c0aa5fc54f857b9a | /FluxSol-Solver/FiniteVolume/Mesh/FvGrid.cpp | f878b4b5f3ab0be0ecc213dca6b789483adc2b9e | [] | no_license | luchete80/fluxsol | aec0cdf118e0726d559916aba3f8d6e32d3cc609 | a29af77858597d3fe77d3715d7c0fb65dba07736 | refs/heads/master | 2020-03-22T09:26:40.640514 | 2018-07-18T16:25:00 | 2018-07-18T16:25:00 | 42,241,640 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,721 | cpp | FvGrid.cpp | /************************************************************************
Copyright 2012-2013 Luciano Buglioni
Contact: luciano.buglioni@gmail.com
This file is a part of FluxSol
FluxSol is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... |
921c6b6111ea704af5c676c8ff7fd6670208d6b9 | 405098e2ebbe05337d290aa30ad038c5b882da1b | /Banco/include/bank.h | 1b1a20029e6fde933eeb4d9d4d902b107b40f6e7 | [] | no_license | rodrigobardales/BankHW | 90d5d8521565dddf57282ed228826d3562d321a8 | 8eb5003eb47ba55f1c983baa44964e446726e353 | refs/heads/master | 2022-01-22T03:15:59.538236 | 2019-07-20T21:10:24 | 2019-07-20T21:10:24 | 197,981,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | bank.h |
#ifndef BANK_H
#define BANK_H
#include "structs.h"
#include <iostream>
#include <fstream>
using namespace std;
class bank
{
private:
bool find_account(int);
float check_balance(int);
bool change_balance(int, float);
void write_history(int, char, float);
public:
bank();
void create_account(i... |
e33dfe9ab34d0befdd62d78400cf9d355062eb12 | 6158a30d3850867583f68d0073892424d4b3c996 | /efw-engine/Source/System/SplashScreen.cpp | d51cf0fe60decc824550eecaac7dc1e8be90c3fe | [] | no_license | zhaoterryy/efw-engine | b3d665ba607309f1223cbf42bf7a066b570db76a | bab8b4e7cfa13fdef6aee6d65edf36b41b808663 | refs/heads/master | 2021-09-13T03:01:16.504602 | 2018-03-04T01:11:37 | 2018-03-04T01:11:37 | 106,895,517 | 1 | 0 | null | 2018-03-01T08:01:30 | 2017-10-14T03:39:26 | C++ | UTF-8 | C++ | false | false | 642 | cpp | SplashScreen.cpp | #include "SplashScreen.h"
#include "Application.h"
void SplashScreen::Show(sf::RenderWindow& RenderWindow)
{
sf::Texture image;
sol::table splashTable = GEngine::GLua()["splash_screen"];
std::string imagePath = splashTable.get<std::string>("img_path");
if (image.loadFromFile(imagePath) != true)
retu... |
9ca6590f110e0189f5081ecc57ff378ae9a74a57 | 4b192ec98a8105478800e78d17878b4a087f0c00 | /INTEGRA/INTEGRA.CPP | 4776dd50d680ca57768c67008b352a3c0e05fb85 | [] | no_license | Jhongesell/IntegraDOS | f4594909e9f67a2328b328e03a7cd40e6a436d10 | d8a9128908d956398f6c153e245763f787859984 | refs/heads/master | 2020-04-25T02:23:26.586444 | 2017-04-13T07:26:56 | 2017-04-13T07:26:56 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 52,977 | cpp | INTEGRA.CPP | //////////////////////////////////////////////////////////////
// //
// I N T E G R A V E R. 1.0 //
// (Analisador de sistemas dinámicos interativos) //
// //
... |
ad708b45362513e0da4f57c75e7cd2f84b3b349c | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /cfw/include/huaweicloud/cfw/v1/model/VPCProtectsVo.h | 2e2c5b2d190b946287bbbef239dabbbbe68e7fc5 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 2,855 | h | VPCProtectsVo.h |
#ifndef HUAWEICLOUD_SDK_CFW_V1_MODEL_VPCProtectsVo_H_
#define HUAWEICLOUD_SDK_CFW_V1_MODEL_VPCProtectsVo_H_
#include <huaweicloud/cfw/v1/CfwExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/cfw/v1/model/VpcAttachmentDetail.h>
#include <vect... |
b1c90edb18e235f335e1035ee1c7c599ff00de49 | 0c4a1194c0d4e567251382070323e0d805ec439b | /PS_BOJ/BOJ1991.cpp | ab91a73dfefcfce45a1de2cfa2e453ca3c769b15 | [] | no_license | webserver3315/Desktop_PS_BOJ | e49f3642cfb42a73f227248398b2d3bf6651ec3d | b778168e69997882de37eafa71b4fffbaeb9c6ee | refs/heads/master | 2021-01-08T20:36:39.049238 | 2020-08-01T07:17:39 | 2020-08-01T07:17:39 | 242,135,976 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,674 | cpp | BOJ1991.cpp | #include <iostream>
#include <vector>
#include <deque>
#include <utility>
#define pii pair<int,int>
#define ff first
#define ss second
#define mp(a,b) make_pair(a,b)
using namespace std;
char itoC(int i) {
return i + 'A';
}
int Ctoi(char c) {
return c - 'A';
}
class Tree {
public:
int nodeKazu;
vector<int> paren... |
870c8cf4379742ce41271d1b4b094fdce3275fce | 4b0689713ceb26bda536077a73177a19a47726a9 | /controller/controller_setpoint/src/controller_setpoint/controller_setpoint.cpp | 76e5a06f08d053ec5a28cb3c4e8b0290e07a56ed | [] | no_license | danielduberg/safe_flight | 3f1227cfb295563b9f2c525709d182a53cd7b3b9 | 5c3be53454e4f8feeb6d6c06b43223894d52c073 | refs/heads/master | 2021-01-01T06:19:52.661467 | 2017-09-15T10:13:45 | 2017-09-15T10:13:45 | 97,410,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,567 | cpp | controller_setpoint.cpp | #include <controller_setpoint/controller_setpoint.h>
#include <controller_msgs/Controller.h>
#include <tf2/utils.h>
namespace controller_setpoint
{
ControllerSetpoint::ControllerSetpoint(ros::NodeHandle nh, ros::NodeHandle nh_priv, ros::NodeHandle nh_controller)
: nh_(nh)
, nh_priv_(nh_priv_)
... |
cdccbd956632338a43f009d3d532a164ee4ba91e | 4daf92779d11b71bc22b2cf61661b205ac7cc4e9 | /kernel/irq.hpp | ef78e7bd5b1ebfda36c9e3edaa3cec08b18d06f7 | [] | no_license | Avidanborisov/Bug | 22f9e392e7a2016c90970fa5e5c676429bcce6f9 | 25285184288c67117802efda113a39ea75c85e20 | refs/heads/master | 2020-05-29T18:49:17.018097 | 2016-10-15T21:53:09 | 2016-10-15T21:53:09 | 45,314,015 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | hpp | irq.hpp | #ifndef IRQ_HPP
#define IRQ_HPP
#include <stdint.h>
#include "context.hpp"
class IRQ {
public:
static void init();
using Handler = void(Context::Registers&);
static void handle(uint8_t num, Handler* handler);
static constexpr auto NUM_HANDLERS = 16;
private:
static void commonHandler(Context::R... |
fa86dad4ef5ebd15bb1d0a42ab239d5b7a1cc0b2 | 42bdead94c0de0af015dfafefcf0391086c64ab1 | /source/error.cpp | 017bf8450bf630e93cf1c10dbc99721f0d5bbb79 | [] | no_license | csgardn2/eve_industry | d69c0eda5ee69c2ea7e053b9a605faf1e5182d0c | 95028aa9cfb1549b3dc8ea67e7adc4220d02a754 | refs/heads/master | 2021-05-10T22:35:06.598736 | 2018-01-20T17:44:40 | 2018-01-20T17:44:40 | 118,259,985 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | error.cpp | /// @brief Implementation of @ref error_message_t class
///
/// * Contact conor.gardner@arm.com if you have questions about this code.
/// * Date Created = Saturday November 4 2017
/// * Documentation is generated by doxygen, see documentation/html_out/index.html
#include <string_view>
#include <vector>
#include "er... |
99226e05ba473afa319955cef73adc7ab28c96f3 | 720be6dce7bea45534313066104ca89c41a54c6f | /src/binarywriter.cpp | be852e0d9f8ead6a526a65ed1074c7e6d47073cc | [] | no_license | vostreltsov/lisp-compiler | e2b4bba02531a93fdbe325942826b3c7b6297f48 | badedb51b109dfedd1334c8428b931369e560fc7 | refs/heads/master | 2020-05-17T12:12:27.998929 | 2013-03-10T23:25:32 | 2013-03-10T23:25:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | binarywriter.cpp | #include "binarywriter.h"
BinaryWriter::BinaryWriter()
{
}
BinaryWriter::BinaryWriter(QString fileName)
{
QFile * file = new QFile(fileName);
if (file->open(QIODevice::WriteOnly)) {
stream.setDevice(file);
}
}
BinaryWriter::~BinaryWriter()
{
QIODevice * file = stream.device();
if (file !=... |
ac61a986fc2dec07f6b603c6b0e0374d0891a6c1 | 31928ab1235c4e25d3ea6d119c4231e501c72a59 | /217_Contains_Duplicate/solution.cpp | e5fde3910c7b71da87b922d9f10900ed3149f903 | [] | no_license | yangzan0532/leetcode | 7a4d3bc83640cec4eb8458805ab370ea73788b81 | ec788d413e5687ef6eedfde65f030caa2d310d9e | refs/heads/master | 2022-10-30T21:09:32.572141 | 2016-04-24T16:47:32 | 2016-04-24T16:47:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | solution.cpp | class Solution {
public:
bool containsDuplicate(vector<int>& nums) {
map<int,int>my_map;
for(vector<int>::iterator curr=nums.begin();
curr != nums.end();
++curr){
if((my_map.insert(make_pair(*curr, 1))).second== false){
return true;
}
}... |
dba3eb5e3cfca28191062806cce17a30b3f4fd2e | 4f06b67cdd92724020d7a7bfd9428f631ceb986d | /app/components/scenegraph/Moveable.cpp | 370e753cd760ce47530b15880302b7842b96ec12 | [
"MIT"
] | permissive | filipwasil/rearwing-glviewer | 857e19dbd0abf7a6947628b236ad86ad201c6fa8 | 3d0289398367b6dc330eae18042497b8da2e77da | refs/heads/master | 2020-08-30T12:36:59.968087 | 2020-01-24T10:06:01 | 2020-01-24T10:06:01 | 218,382,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,316 | cpp | Moveable.cpp | #include <Moveable.hpp>
namespace rwc
{
Moveable::Moveable(const glm::vec3& translation, const glm::quat& rotation, const glm::vec3& scale)
: mTranslation{translation}
, mRotation{rotation}
, mScale{scale}
, mParentRotation{glm::quat(1.0, 0.0, 0.0, 0.0)}
, mMMC{1.0}
, mParentMMC{1.0}
, mRe... |
9fc281b34b28e84b4551b405685a567efcccafcc | d7d6678b2c73f46ffe657f37169f8e17e2899984 | /controllers/ros/include/services/differential_wheels_set_speed.h | 35577c837eceb0c704d738e810617bbaaede6fd1 | [] | no_license | rggasoto/AdvRobotNav | ad8245618e1cc65aaf9a0d659c4bb1588f035f18 | d562ba4fba896dc23ea917bc2ca2d3c9e839b037 | refs/heads/master | 2021-05-31T12:00:12.452249 | 2016-04-15T14:02:05 | 2016-04-15T14:02:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | h | differential_wheels_set_speed.h | #ifndef WEBOTS_ROS_MESSAGE_DIFFERENTIAL_WHEELS_SET_SPEED_H
#define WEBOTS_ROS_MESSAGE_DIFFERENTIAL_WHEELS_SET_SPEED_H
#include "ros/service_traits.h"
#include "differential_wheels_set_speedRequest.h"
#include "differential_wheels_set_speedResponse.h"
namespace webots_ros
{
struct differential_wheels_set_speed
{
... |
6e286db6d29c1b78b5daf3fee7e75450f91828d4 | 13933902f561dd3fa9bb0041838d38232170a95f | /Estructura/struct/Codigo vario/Codigo vario/Connect4/main.cpp | d49133ab722a23dc5519867166da7da4c72c8410 | [
"MIT"
] | permissive | dkmaster17/DKM | 11eda0949275f05a105825e368865f065dd3515e | ef22411e57cb37f18b9ddd2305001050855cd137 | refs/heads/master | 2021-01-17T04:32:28.100338 | 2017-03-22T04:30:06 | 2017-03-22T04:30:06 | 82,981,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,720 | cpp | main.cpp | #include <iostream>
#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <gl\gl.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
class Jugador {
private:
char *nombre;
int juego;
public :
Jugador() {
nombre=NULL;
ju... |
29757e11503c8ef52ddb3e95fe843da6c37d8810 | 170c3bc0c94419269e8b461a2ac64230a73acea2 | /MainMenuWindow.cpp | 6c67ffa1087986536c1518f5cc54b3741d3cb135 | [] | no_license | meorules/StarWarsCardGame | cc0196b114a5e3db508a1e1a2210b5f682b9445a | 7e109f04c9deee8ed4d9a7817d0c9ccd4cc2caa9 | refs/heads/master | 2023-04-13T18:13:54.938822 | 2021-04-17T16:03:48 | 2021-04-17T16:03:48 | 358,632,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,367 | cpp | MainMenuWindow.cpp |
#include "MainMenuWindow.h"
MainMenuWindow::MainMenuWindow(HINSTANCE hInsantce, int width, int height) : Window(hInsantce, width, height)
{
createWindow(hInstance, width, height);
currentState = browsing;
}
void MainMenuWindow::onDraw() {
drawBitmap(backgroundFile, 0, 0, 600, 400);
setTextColour(CYAN);
... |
f348381a6a28e08f020600a41d6abe2bb06084b5 | 2e873074f8331537cf68f80d844cbe1d8f24f490 | /Recipe.h | fd293e32dec42d4041b79f57d19923aae4b55400 | [] | no_license | SevenDeadlyCins/Recipe-Classes | be7737438b5c6087d702ef9f41176e3bbcd590ff | 50e9e1cc9b3764c687df6921f92cc115aa3062ac | refs/heads/master | 2020-08-17T12:21:39.759564 | 2019-11-15T17:24:17 | 2019-11-15T17:24:17 | 215,665,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | Recipe.h | /*
Abdulaziz Alamro
CS441 - Software Engineering
Group Project - Recipe Class
*/
#include <iostream>
#include <vector>
#include <fstream>
#include "Ingredient.h"
using namespace std;
class Recipe
{
public:
Recipe();
void readDrinkName();
void readRecipe();
void displayRecipe();
void readMaterials();
void dis... |
4e748951f8ffc0d3f3bd88eb829f1549c1d62f0a | f2e00ac569530a06f0f0b70dc342ad4681e480c2 | /nxlib/nxsession.h | db1682a92cc25e4b30ad380250797218a3e2301a | [] | no_license | BackupTheBerlios/freenx | b70e6ddba9e97723527bfdb2b328913e666adb29 | 67c8f84670651e561f3ebe77027c99bb61b82ce6 | refs/heads/master | 2020-05-27T07:37:47.954653 | 2006-07-26T11:40:08 | 2006-07-26T11:40:08 | 40,248,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | h | nxsession.h | /***************************************************************************
nxsession.h
-------------------
begin : Sat 22nd July 2006
copyright : (C) 2006 by George Wright
email : gwright@kde.org
******... |
c13ccb52f5dacd1133b2231fce82a43a75919de8 | 03b39218d1990c99e9bf464f0e6f727373bef14f | /p31.cpp | 83517d95dcef3cc8519f540ec5c2cb37d51a626d | [] | no_license | RishiRajKhanna2001/Cpp-Code | 1e052cd62066129a60a668e962600d2321d4a2f0 | d5d7c41bfe51be0794f6255ac10fd1455473575f | refs/heads/master | 2023-08-15T04:17:20.969616 | 2021-09-29T12:54:29 | 2021-09-29T12:54:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | p31.cpp | #include<iostream>
using namespace std;
//base class
class employee{
public:
int id;
float salary;
employee(int inpId){
id=inpId;
salary=34;
}
employee(){}
};
//derived class syntax
// class {{derived-class-name}} : {{ visibility-mode}} {{ base-class-name}}
// {... |
42016954d5aced5a60b6f394355d6a4d5abf2c18 | b41f5fc3c72b75f42419a16cffb145c59dedecab | /server/include/board.hpp | 9723f24f49d7e89dbff3b777a8d6e1ad50f7fad2 | [] | no_license | MaxProfit/Snake-Server | cec5bcbe132880cfe7d7545ed764f4aa9b56222c | be32fc8186bd54e4db139a8c0c20feca4ada7a97 | refs/heads/master | 2020-04-11T20:45:06.985569 | 2018-12-17T06:44:42 | 2018-12-17T06:44:42 | 162,081,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | hpp | board.hpp | //
// Created by Matthew Williams on 2018-12-10.
//
#ifndef TEST_PROJECT_BOARD_HPP
#define TEST_PROJECT_BOARD_HPP
#include <array>
#include <vector>
#include <utility>
#include <unordered_map>
#include <random>
#include "../../lib/json.hpp"
#include "snake.hpp"
namespace snakegame {
class Snake;
}
namespace sna... |
9c090538cfca438384bbd83dcf48fa6d0d9d94d9 | 88dcce19274d00eb1ad4970fb14242a98d214b8f | /Packages/java/nio/LongBuffer.hxx | 1c548319d30426473eb29a1b00da8f26975b1d08 | [
"MIT"
] | permissive | Brandon-T/Aries | 0802db9dac0fe6204c3c520bbfac9fbdbcd8a689 | 4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca | refs/heads/master | 2021-09-07T16:02:21.520864 | 2018-02-25T18:25:24 | 2018-02-25T18:25:24 | 104,820,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | hxx | LongBuffer.hxx | //
// LongBuffer.hxx
// Aries
//
// Created by Brandon on 2018-02-24.
// Copyright © 2018 Brandon. All rights reserved.
//
#ifndef LongBuffer_hxx
#define LongBuffer_hxx
#include "Array.hxx"
#include "Buffer.hxx"
namespace java::nio
{
using java::lang::Object;
using java::lang::String;
using java::ni... |
6474ee0eef9f05680555c0d1d34a2788858b0255 | 301ed54244fd41502fd6f23a2e016c6e0cfba2dd | /01 LIBRARY/009 MST.cpp | b91ece49fa02a1659766a1db2eab9a543545eeff | [] | no_license | iCodeIN/Competitive-Programming-4 | 660607a74c4a846340b6fb08316668057f75a7ba | 05b55d2736f6b22758cd57f3ed5093cf8a2f4e2f | refs/heads/master | 2023-02-22T12:53:39.878593 | 2021-01-28T10:57:50 | 2021-01-28T10:57:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | cpp | 009 MST.cpp | #include <bits/stdc++.h>
using namespace std;
struct Edge {
int u, v, weight;
bool operator<(Edge const& other) {
return weight < other.weight;
}
};
class WeightedUF {
private:
vector<int> arr;
vector<int> size;
int __root(int a) {
while (arr[a] != a) {
... |
bf45d417c935b075770581a0d458504aabb96f4b | 4311f39735b2a3f61497a68dda212ad43b110ab2 | /dmx_control/rgb_functions.ino | 4a0ea807f90aac2e7810adc6eaaf5a8bb1926e19 | [] | no_license | cse-revue/arduino | e430c1376e7390a7ec101355fdbb0c28a9a3f292 | c28b0c4132d283238be146f1f50c565bd983061e | refs/heads/master | 2021-01-01T16:19:32.295375 | 2015-09-03T12:35:00 | 2015-09-03T12:35:00 | 24,551,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | ino | rgb_functions.ino | #include "defs.h"
void init_outputs(int pin_start, int r_offset, int g_offset, int b_offset) {
pinMode(pin_start + r_offset, OUTPUT);
pinMode(pin_start + g_offset, OUTPUT);
pinMode(pin_start + b_offset, OUTPUT);
}
void output_rgb_(int rgb[], int pin_start, int r_offset, int g_offset, int b_offset) {
for (byte... |
63e826813b70eb9530f861414b140111642537a2 | 0cd661abf98ce9000445ed3409fd4beebc0b50f0 | /6/Carriage.h | d0dfaa4a8721c31bc65ffc0f3040408856c6f9fd | [] | no_license | JeremyButt/3891Assignments | 5069483623a258c79ab8bc1b3db1002c0e300f5e | 45f5ce6d5a1c6beeaea0129b257560a080f96a97 | refs/heads/master | 2021-05-01T21:27:22.318354 | 2017-01-07T21:09:39 | 2017-01-07T21:09:39 | 69,761,756 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | h | Carriage.h | /*!
* @file Carriage.h
* @brief Declaration of the Carriage class.
*
* @author Jonathan Anderson <jonathan.anderson@mun.ca>
* @copyright (c) 2016 Jonathan Anderson. All rights reserved.
* @license Apache License, Version 2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you m... |
e4fe3ad141d73fab52e55f3509f0524cdef147f2 | 44e42f2f589fd18d68b8475a4265182f8d10264f | /smoothTxt/C3dPreview.cpp | 2db85b4fe3814f7d600b5d3a0fea7e758c3c3b3f | [] | no_license | clebail/m3d | d43fd0ed2fdcc20b7e27b881584a63bdd9d6d2c6 | 8e935b60cfa4213f6682c86c6d9dd4ce15856302 | refs/heads/master | 2020-02-26T16:22:41.445227 | 2019-04-01T15:31:56 | 2019-04-01T15:31:56 | 71,133,054 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,382 | cpp | C3dPreview.cpp | //-----------------------------------------------------------------------------------------------
#include "C3dPreview.h"
//-----------------------------------------------------------------------------------------------
#define COEF (10.0f)
#define UNIT (1/COEF)
#define UNITY (UNIT*1.23f)
#define UNIT2 ... |
ad628eb5982ef3a0fb8cc94cf2d9ba51f2158a27 | 750d46deec14147723a1b1e3f7ff3764c3415645 | /IPA/src/PathImpl.cpp | b15f18fff599ffd0c390836707f205cb9e7b84ca | [] | no_license | posjkh22/Code-Helper | 37093cad16f0c2bc72236020dac6ed77ee517cf1 | fd1ca8cf92e95506f737e085b6089541b4ac75db | refs/heads/master | 2022-04-28T15:51:49.235273 | 2020-04-13T12:09:42 | 2020-04-13T12:09:42 | 155,648,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,062 | cpp | PathImpl.cpp |
#include "PathImpl.hpp"
bool setNameGPL(std::list<Path *> *inPathList){
static int number = 0;
std::list<Path *>::iterator iter;
for(iter = inPathList->begin();
iter != inPathList->end(); iter++){
Path *currentPath = (*iter);
currentPath->setName(std::string("[") + std::to_string(number++) + std::strin... |
7dabd7e6a19bae13d39906456ab7e89c1d4c4909 | cdf3b96d498b2dc2b72c9423968a57b5250c72f8 | /gameoflife/backupcokoncesinoclass.cpp | c30cb7bf6b94a890d19d27584a98a3baf8eed1d9 | [] | no_license | ugurkanates/ProgrammingChallenges | 7c80d28765ef4c375beab061a018d3575ad1f5eb | d297c3ccb8206c8239410b5aa7e58f2653241971 | refs/heads/master | 2021-01-02T22:53:45.567344 | 2019-03-04T21:16:00 | 2019-03-04T21:16:00 | 99,413,234 | 1 | 0 | null | 2017-08-05T09:47:54 | 2017-08-05T09:33:28 | null | UTF-8 | C++ | false | false | 3,633 | cpp | backupcokoncesinoclass.cpp | #include <iostream>
#include <unistd.h>
#include "grid.h"
#define ROW 20
#define COLUMN 20 //those are for creating 20x20 arena serve as game table
#define WELCOME 39
using namespace std;
void printGame(bool table[][COLUMN]){
for(int i=0;i<ROW;i++) {
for (int j = 0; j < COLUMN; j++) {
if... |
c6c1c37adcb3b97ad5961a1a4926f415423a2198 | 2ef3a35a6f45ca6fb278027f6df1438b31a26b81 | /Linked List/reversellist.cpp | 9fd113c3d9784120951b676b2d73bd01f1e68102 | [] | no_license | imlishant/Data-Structures | 7036485f5d473d295e4ed292870f0be227f79e33 | 2c7722a04f93ef1e1723a66021aea8876cea6683 | refs/heads/master | 2022-09-25T06:40:13.648698 | 2022-09-17T19:10:52 | 2022-09-17T19:10:52 | 167,225,421 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | reversellist.cpp | SinglyLinkedListNode* reverse(SinglyLinkedListNode* head) {
SinglyLinkedListNode *ptr = head;
vector<int> ll;
while(ptr != NULL){
ll.push_back(ptr->data);
ptr = ptr->next;
}
ptr = head;
int n = ll.size();
while(ptr != NULL){
ptr->data = ll[n-1];
n--;
p... |
5ae63e652f440854033aad7a5a5bd8b016f4afa5 | 8717952bea2b5a7344a9db769a01f9d5ca0a40e5 | /PiTempControl/lib/app/inc/core/TextColoring.h | 2d2f482f9643af0a4a306f106440fe5ea41e0e42 | [] | no_license | Ethax/PiTempControl | 3233ca36f83bf9a737d25df36b083e2048eed55c | 31c5b8b2bdc809c7c80c269a5a00880c2c8424b9 | refs/heads/master | 2021-01-10T17:11:23.960378 | 2015-11-07T15:27:09 | 2015-11-07T15:27:09 | 45,565,894 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 1,618 | h | TextColoring.h | #ifndef INC_TEXTCOLORING_H_
#define INC_TEXTCOLORING_H_
#include <ostream>
/**
* @namespace color
* @brief Az konzolon megjelenő szöveg színezéséhez szükséges
* elemeket magába foglaló névtér.
*/
namespace color {
/**
* Az adatfolyam módosítónak megadható színkódok felsorolása.
*/
enum ColorType {
FG_BLAC... |
94047c12d8d817933f08704c211bfd0fdbcb0cfd | 866acbb0eed58ec6bbefa42b0e51c51de6c55d28 | /Rocmop/External/mesquite_0_9_5/includeLinks/MeshImplData.hpp | 563b9ae725baeaf29fdd7ca4b753802c3a0e54c8 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | metorm/Rocstar | 0a96499fda3e14d073b365d9fa90d000839eabd3 | 5075e33131faa50919c15e08d2808bbeb576350e | refs/heads/master | 2020-04-11T09:44:37.728497 | 2019-04-02T16:30:58 | 2019-04-02T16:30:58 | 59,928,027 | 0 | 0 | NOASSERTION | 2019-05-08T02:55:57 | 2016-05-29T05:32:35 | FORTRAN | UTF-8 | C++ | false | false | 28 | hpp | MeshImplData.hpp | ../src/Mesh/MeshImplData.hpp |
6674e5d81e5fe19ba613b513d49d5be4f032647b | db6997aae88b4afb3e694587156040a18e4a6a93 | /1-38-1 Arduino GPS Coordinate Distance Calculator in Node-RED/gps-mqtt-b/gps-mqtt-b.ino | 4d7bc3e1a7b71ae25f650beb9820be9af12f978c | [] | no_license | kdi6033/arduino | b9c8644425d4e3e78728b418bf94634e594a5f72 | f86bb6ba8a1d3f762ca7df3946fcef2d60614af2 | refs/heads/master | 2023-03-15T17:43:28.325904 | 2023-03-02T06:07:45 | 2023-03-02T06:07:45 | 129,093,550 | 21 | 38 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | ino | gps-mqtt-b.ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <arduino-timer.h>
auto timer = timer_create_default(); // create a timer with default settings
// 아래의 6개설정은 사용자 환경에 맞게 수정하세요.
const char* mqtt_server = "broker.mqtt-dashboard.com"; //브로커 주소
con... |
9e5a5a4c46ed5b0fadd69028d5eaf5c10de208d6 | a10ae36164588675db630158fe882203449c8eac | /MonyFrame.h | e087a5afa2546e57ac3cb368e91e4a11e49a10ba | [] | no_license | J1016/MonyBuilder | 4ce83b124ca56bf2253b2d3294d49fa36667afa0 | 6c15fa0dfe7389b718b161397ff51b647f43e50c | refs/heads/master | 2020-04-14T16:29:56.459943 | 2019-01-03T13:46:59 | 2019-01-03T13:46:59 | 163,953,456 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 714 | h | MonyFrame.h | #ifndef MONYFRAME_H
#define MONYFRAME_H
#include "MonyTab.h"
#include <QLabel>
#include <QMainWindow>
class CMonyFrame : public QMainWindow
{
Q_OBJECT
private:
static CMonyFrame * sm_pMainFrame; //当前框架窗口
QWidget * m_pMainPanel; //基本面板
QTabWidget * ... |
e7930ca827fbf4d97389c9ab9a4e442561b6df4c | 0e367a56a1153aabbf3018274dfe2767d84df466 | /missions/career/mun/surface/glonass/transfer.cpp | 5b534ab16377a078194b77e0ad47c12509522b5a | [] | no_license | mavaneerden/rocket-control-systems | 4ca8b25fc611ca1121cf80e5898d3d4ea8a627bc | dbf5c26b76cdfbed89d59e21191f7ae3b9dc7379 | refs/heads/master | 2023-07-04T18:19:01.466721 | 2021-08-08T10:30:43 | 2021-08-08T10:30:43 | 390,065,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | transfer.cpp | #include "../../../../../lib/ksp.hpp"
int main(int argc, char const *argv[])
{
/* Automatically connects to the server with the given IP address. */
auto connection = KSP::Connection();
auto vessel = connection.space_center.active_vessel();
auto body = vessel.orbit().body();
auto mun = connection.g... |
24e1b1c55ab45e5f4b759dadec55ec39a1fc6aaa | a232b0adaf7a46d0c7cf032dd8f69abbff87c6cb | /AdvThreadPool/advthreadpool.cpp | b35029e5c077069a5f57113b143762c74f865df4 | [] | no_license | 519984307/AdvThreadPool | f1acc75f3174806edd3494e0fa014a421bb30db0 | 1732dff2fbe95913361ef7d66822ba967804ebab | refs/heads/master | 2023-03-15T16:29:36.873092 | 2014-06-14T18:34:25 | 2014-06-14T18:34:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,548 | cpp | advthreadpool.cpp | //
/*
This file is part of project AdvThreadPool.
AdvThreadPool is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
AdvThreadPool is distributed in the hope that it ... |
16ac4105b5f87862b1c26d6ba14f1c80cc2fca28 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/pdfium/xfa/fwl/lightwidget/cfwl_pushbutton.cpp | b1031692ddd058b3c6ec01e38e6696a314b63ccb | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,031 | cpp | cfwl_pushbutton.cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fwl/lightwidget/cfwl_pushbutton.h"
#include <memory>
IFWL_Push... |
4bc5c157297d538b5e32aae218a892186649e172 | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/ui/aura/mus/gesture_synchronizer_unittest.cc | 81b75132a55781c8094f7da03a87d407e99cefbe | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 3,515 | cc | gesture_synchronizer_unittest.cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/aura/mus/gesture_synchronizer.h"
#include <memory>
#include "ui/aura/env.h"
#include "ui/aura/mus/window_mus.h"
#include "ui/aura/mus/windo... |
43fc51bc836a049929cb10ad870320382e764ca7 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/sync/internal_api/shared_model_type_processor_unittest.cc | b8da285f1545a56caba0042157ef6b5d3e29fe64 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,547 | cc | shared_model_type_processor_unittest.cc | // 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.
#include "sync/internal_api/public/shared_model_type_processor.h"
#include <stddef.h>
#include <stdint.h>
#include <map>
#include <vector>
#include "ba... |
1de0b23d522b1942531499179ed51289ff142db6 | 6a9c422f963e1fd79f6ceda23a6e147565b43624 | /LEETCODE-238.ProductOfArrayExceptSelf.cpp | 81a8ffaedcb112e03e078af26da16448095b6a47 | [] | no_license | sidhantchadha/LEETCODE | 6605d07b30c06d47d81b0d6d84673c31ea0cc9e1 | d67e210d396a015b2dd6980ffd2a82b9e0cf2d73 | refs/heads/master | 2020-03-07T01:37:28.592703 | 2018-06-22T20:32:11 | 2018-06-22T20:32:11 | 127,188,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | LEETCODE-238.ProductOfArrayExceptSelf.cpp | //============================================================================
// Name : ProductOfArrayExceptSelf.cpp
// Author : Sidhant Chadha
// Version :
// Copyright :
// Description : Product Of Array Except Self in C++, Ansi-style
//=============================================================... |
9fe93cab0bc9537e2087ed35a7c9b5a7a9bcadf1 | 9130dabd3ec3c9115c1d8f32f54e5817ce6a8401 | /dynamic memory allocation-3types.cpp | fffb662e6c4c27142cf6fb4e8492ff266cb7cb5f | [] | no_license | RaghavBansal31/cplusplus-programs | 8713728dac1fc42d7a65850b499a36eff57b9410 | 1ceb73a38434adc084a38cd2679ba48f53d6fa8d | refs/heads/main | 2023-04-18T00:59:21.854606 | 2021-04-28T07:02:40 | 2021-04-28T07:02:40 | 361,433,746 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | dynamic memory allocation-3types.cpp | #include<iostream>
using namespace std;
class product{
int price, qty;
public:
void input(int x, int y)
{
price = x;
qty = y;
}
void result()
{
cout<<"The total is: "<<price*qty<<endl;
}
};
int main()
{
//memory allocation to class object
product *a = new product();
(*a).input(5,6);
... |
ba3ea7b0d5e081825176e85aa9ad4944f8fa98b0 | 127fbc4b1325b6aeb622d9afe46976aaf2af4eef | /templatesone/templatesone/templatesone.cpp | 733a5d677e5fcd30e981b270d6ef24c3c115fe80 | [] | no_license | Blackhatarcher/Templates | ac4c1340a5ffb123405f6181c96acb310126f5e5 | ccc8f4c4033ab697215768ddfd4800680a109cea | refs/heads/master | 2021-01-12T16:06:59.702600 | 2016-11-03T21:20:48 | 2016-11-03T21:20:48 | 71,940,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | templatesone.cpp | // templatesone.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <cctype>
#include <iomanip>
using namespace std;
template <typename T>
void Swap(T & v1, T & v2) {
T temp = v1;
v1 = v2;
v2 = temp;
}
template <typename ... |
b901c63d6f8f295e9cb6457cc3ef74f1b17c7b59 | e0f08f13c8c716f3c2bbb314f7038a111d997615 | /src/ChangeSeats.cpp | 647b08ab345268910ce24af20ef6736aeed5b71e | [] | no_license | byunghoonpark/OOAD | 58ddd05cf0850b675055ac77c60892328e569a70 | 8792a95e5929fb26b9aea066b4d1c8c06ea5a16d | refs/heads/master | 2020-05-27T05:56:59.022791 | 2019-06-25T17:44:37 | 2019-06-25T17:44:37 | 188,510,986 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,030 | cpp | ChangeSeats.cpp | #include <iostream>
#include <string>
#include "ChangeSeats.h"
using namespace std;
// Seats seat[101];
ChangeSeats::ChangeSeats() {}
ChangeSeats::~ChangeSeats() {}
void ChangeSeats::changeCurPos(User &U) {
int wantSeats;
int curSeats = U.getSeatNumber();
cout << endl;
cout << U.getID() << "님의 좌석번호는 " << U.getSea... |
8dac55e031ae7ccdae5ddecd3de13dc2c25c0e97 | e36906be9399685b0d03daffec9c33735eda8ba1 | /src/mk/arch/lsf-d.cpp | 60a0e12d2fd78986dc624094b24740204e989436 | [] | no_license | ybouret/yocto4 | 20deaa21c1ed4f52d5d6a7991450d90103a7fe8e | c02aa079d21cf9828f188153e5d65c1f0d62021c | refs/heads/master | 2020-04-06T03:34:11.834637 | 2016-09-09T14:41:55 | 2016-09-09T14:41:55 | 33,724,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | lsf-d.cpp | #define YOCTO_ZTYPE 'd'
#include "lsf.cxx"
|
42327a64f2d00a4108ffc132c52b18094e4e2ce7 | d223f4964f5a9a588453ce5fd75f894976132a37 | /PluginFactory.h | f28dc09025cf6c2d31b23e239f5e77374bd58960 | [] | no_license | hexiangquan/tensorSSD | 5d8ded7eb7cf93128559f4e057927ffade36542f | cf2e9cd2314e9cf4d7d42cd5141ca5d89cb9bdb3 | refs/heads/master | 2020-03-11T08:11:37.570763 | 2018-04-17T09:09:27 | 2018-04-17T09:09:27 | 129,877,290 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 28,937 | h | PluginFactory.h | #ifndef __PLUGIN_FACTORY_H__
#define __PLUGIN_FACTORY_H__
#include <algorithm>
#include <cassert>
#include <iostream>
#include <cstring>
#include <sys/stat.h>
#include <map>
#include "NvCaffeParser.h"
#include "NvInferPlugin.h"
#include <cudnn.h>
#include <cuda_runtime.h>
#include <cublas_v2.h>
usi... |
e8025ba069c7ec056e23782fea81c17cf0207dba | 1af7e974cd0aa50fe622af20a5fe0932a8500139 | /ltr/predictions_aggregators/predictions_aggregator.h | f38755bac46dbfa87ef3f6ba70a809106cdf1e7a | [] | no_license | fanfannothing/ltr | 5db6b65720cdd1db3684a65454fc561778a279f5 | 793a49fa35669705205106770a3e539175e24c37 | refs/heads/master | 2021-01-20T16:17:53.626149 | 2013-10-10T12:05:08 | 2013-10-10T12:05:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | predictions_aggregator.h | // Copyright 2012 Yandex
#ifndef LTR_PREDICTIONS_AGGREGATORS_PREDICTIONS_AGGREGATOR_H_
#define LTR_PREDICTIONS_AGGREGATORS_PREDICTIONS_AGGREGATOR_H_
#include <vector>
#include "ltr/utility/boost/shared_ptr.h"
#include "ltr/interfaces/serializable.h"
#include "ltr/interfaces/parameterized.h"
using std::vector;
usin... |
9258a8b005074e7ddd797f5d42da9537a5ea8490 | 624d7a0212847ec44579ac69d5902c82869829b8 | /Source/Utility/UI/UIElement.h | 71d81c7117d167669778e19183a925ddcbf86f5f | [] | no_license | chillhammer/FedoraFrisbee | c0363205bccec5ba89158e83e33bd08f2e06de2d | 8e7f9d920729fa82a45137dc080780499c8f0cdc | refs/heads/master | 2020-04-14T01:14:16.883587 | 2019-10-15T01:48:46 | 2019-10-15T01:48:46 | 163,555,510 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | UIElement.h | #pragma once
#include <Transform/Transform.h>
#include <Utility/Graphics/Sprite/Sprite.h>
namespace Fed
{
class UIElement {
public:
UIElement(std::string textureName);
UIElement(Vector4 color);
Transform UITransform;
void Draw(const ShaderPtr& shader);
void Draw();
private:
UIElement() {};
UIElement... |
dc0e2a8de8da9fb471fb954de1df805607e338d2 | d6b4daf02ac3ed87efb47c6ba63e7f0489f289da | /ClusterDecoders/deprecated/ca_sim.hpp | 61e4b1deb84394a15597ccc855713b816b020dff | [] | no_license | Jonsm/ClusterDecoders | 2188c52f2301bcd15ecf51fa5366b719934b4e30 | ee44707f1711561b976b887ef3dfb30db956e862 | refs/heads/main | 2023-04-18T09:33:29.709623 | 2023-01-01T23:34:56 | 2023-01-01T23:34:56 | 399,565,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | hpp | ca_sim.hpp | //
// ca_sim.hpp
// ClusterDecoders
//
// Created by Jon San Miguel on 8/27/21.
//
#ifndef ca_sim_hpp
#define ca_sim_hpp
#include <vector>
#include <random>
#include "boost/multi_array.hpp"
#include "cluster_decoder.hpp"
#include "paulis.hpp"
class ca_sim {
public:
boost::multi_array<int, 2> syndromes_A;
... |
5332de258f28b4480921361188ee09d8420ddf7e | 786b47eb6dbbd8a0562eefeb157a01f0e24c33d6 | /BallsCollisionCatchTest.cpp | 738ec229d7be440608ed7c4a9c5a06519ff06f5b | [] | no_license | Ollegio/Course_work | d757e3dc9c3dc8a6e2bc5ae96ac9af5927a858f8 | 33fd61dc226bddec34fa8a5f93eddb2e90db88f2 | refs/heads/master | 2020-03-08T00:41:33.444276 | 2018-04-22T15:34:03 | 2018-04-22T15:34:03 | 127,811,573 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 13,422 | cpp | BallsCollisionCatchTest.cpp | #define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "BallsCollision.h"
#include "Particle.h"
#include "Event.h"
TEST_CASE("Reverse test") {
SECTION("Moving particles") {
test(5);
initVariables();
catchTest();
for (int i = 0; i < PARTICLES_COUNT; i++) {
REQUIRE(fabs(particles[i].getPos().x() - parti... |
e84941b4fc01f5a32cf905d7b79683443ebc3fa5 | 1f78692f10efe1b9d172869b34f16aaf3c14e1f0 | /1114PrintInOrder.cpp | 6e4ed8e265e0f7c52c47a18946592c63f968daa8 | [] | no_license | isVoid/Leet_codebase | 5b2a77f87639f24dd81d9c2e23f24fffc2c1c179 | e28685d84248f26462eede0513aa2853528b37c2 | refs/heads/master | 2022-01-22T17:06:56.399192 | 2019-07-20T03:19:01 | 2019-07-20T03:19:01 | 197,872,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | 1114PrintInOrder.cpp | #include <iostream>
#include <vector>
#include <tuple>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <unordered_map>
#include <algorithm>
#include <cmath>
#include "dbg.hpp"
using namespace std;
struct ListNode;
struct TreeNode;
class Foo {
public:
void acquire(bool &mutex) {
whi... |
fcf82b365a7c9cecbe0fef1ce2181fcba127e4ef | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /Codeforces/103D.cpp | 4bff76a37cb78e1d842076d8f12f33fcb03aa461 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | 103D.cpp | #include <bits/stdc++.h>
#define MAXN 300005
using namespace std;
struct D
{
int a,b,c;
bool operator < (const D &a)const{
return b<a.b;
}
};
D b[MAXN];
int n,m,T,a[MAXN];
long long c[MAXN],ans[MAXN];
inline void calc(int x)
{
for (int i=n;i;i--)
{
c[i]=a[i];
if (i+x<=n) c[i]+=c[i+x];
}
return ;
}
inli... |
cad89e0b5c57089290fa91260640c16a419f0aad | ae9f6d6e4c7b569f4c216987cbcebb99be33bc91 | /src/questionmark.cpp | 5068f01ee06882c41468c38b120135dc08ace3d1 | [] | no_license | Azerrroth/CodeRio-Qt5 | a2effcd94c97fd065229d05f4d66ef6142826890 | 7a9bce0a6721b463791010fb9bc6ed727648f07e | refs/heads/master | 2022-06-23T21:18:30.658124 | 2019-05-14T14:10:39 | 2019-05-14T14:10:39 | 141,132,433 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | questionmark.cpp | #include "questionmark.h"
#include <QGraphicsObject>
#include <QPixmap>
#include <QPainter>
questionMark::questionMark()
{
m_pix_one.load("src/queblock.png");
isHitted = false;
}
QRectF questionMark::boundingRect() const {
double penwidth = 1;
return QRect(0 - penwidth / 2, 0 - penwidth / 2,
49 + penwidth, 4... |
44077ebb2d0a8665cbe9077a526143e92773002f | db3033246bb9edc514d19e0c604e5cc7c41ff6e3 | /week3/袁娇/8-1 生化危机.cpp | 34f1e27839839cb0fe03375d301e4ae54aa6c7cb | [] | no_license | 1525125249/NEUQ-ACM-Solution | 2945a96659ccc5b5294a358564291c758feffce9 | f651574880b6974b12e5dbc28f78d9bf4c1694b3 | refs/heads/main | 2023-08-27T17:56:56.052183 | 2021-11-07T05:14:30 | 2021-11-07T05:14:30 | 425,413,832 | 0 | 0 | null | 2021-11-07T04:40:57 | 2021-11-07T04:40:57 | null | GB18030 | C++ | false | false | 870 | cpp | 8-1 生化危机.cpp | #include <iostream>
using namespace std;
#define MAXN 111
typedef struct
{
int arcs[MAXN][MAXN];
int vex,arc;
}Graph;
int main()
{
int n;//n个安全城市
Graph G;
cin>>G.vex>>n>>G.arc;
int safecity[MAXN];
for(int i=0;i<n;i++)
{
cin>>safecity[i];
}
G.arcs[MAXN][MAXN] =0;
while(G.arc--)
{
int x,y;
scanf("%d ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.