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
8ca7f655e2b54179029520f0127dbd39d7543ea5
f1a2325795dcd90f940e45a3535ac3a0cb765616
/development/TelecomServices/SNMP/src/SNMP_RmonEtherCollector.cpp
ba238a5f7821185c0bbcf654fe2a0d777da4d8ea
[]
no_license
MoonStart/Frame
45c15d1e6febd7eb390b74b891bc5c40646db5de
e3a3574e5c243d9282778382509858514585ae03
refs/heads/master
2021-01-01T19:09:58.670794
2015-12-02T07:52:55
2015-12-02T07:52:55
31,520,344
0
0
null
null
null
null
UTF-8
C++
false
false
1,602
cpp
SNMP_RmonEtherCollector.cpp
/*-------------------------------------------------------------------------- Copyright(c) Tellabs Transport Group. All rights reserved SUBSYSTEM: TARGET : AUTHOR : DESCRIPTION: --------------------------------------------------------------------------*/ #include <ExecutionSupport/FC_OneShotP...
f022e13287144ab685978aa50d9dcabbe11da949
75c22794271fe509915f2a22af13121be10489ea
/ioc/hello2/ahellow2.hpp
c178d3e80e8d113cd158741e283248cc0965021a
[ "BSD-3-Clause" ]
permissive
OS2World/DEV-SAMPLES-VisualAgeCPP4_Samples
58c8edbfd1432add2e812abd1e60fbbb56ca7322
21975b49b0cb63cf4f6318b01c2d2daefc419cb4
refs/heads/master
2021-01-10T21:19:57.198852
2019-05-23T01:16:06
2019-05-23T01:16:06
18,744,150
0
0
null
null
null
null
UTF-8
C++
false
false
3,521
hpp
ahellow2.hpp
/****************************************************************************** * .FILE: ahellow2.hpp * * * * .DESCRIPTION: Hello World Sample Program Version 2: Class Header * ...
a79cc78950d1e32d4571c92d5ebb0f48cdd0fa6c
a15200778946f6f181e23373525b02b65c44ce6e
/Algoritmi/2020-09-18/all-CMS-submissions-2020-09-18/20200918T121619.VR451060_id716xls.altopiano.cpp
13f3443a49255dbb198baf55b0fafe697f881285
[]
no_license
alberto-uni/portafoglioVoti_public
db518f4d4e750d25dcb61e41aa3f9ea69aaaf275
40c00ab74f641f83b23e06806bfa29c833badef9
refs/heads/master
2023-08-29T03:33:06.477640
2021-10-08T17:12:31
2021-10-08T17:12:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,454
cpp
20200918T121619.VR451060_id716xls.altopiano.cpp
/** * user: VR451060_id716xls * fname: NICHOLAS * lname: CARON * task: altopiano * score: 25.0 * date: 2020-09-18 12:16:19.036829 */ #include <iostream> #include <vector> #include <queue> #include <algorithm> #include <limits> using namespace std; const int MINIMUM = numeric_limits<int>::min(); int msb(int N) { ...
a394ec6a7acf17a24e238865f4f9ea44b7114142
261e034af496830034a163aad4deafbd7e654fe2
/Assets/Entity.cpp
3f947c8b2b55462f6ce9acc31deb93ecb490e186
[]
no_license
albinopapa/Shooter
ae7f4c1acc3a755aa4f98bf4b7c4052a55ca63f1
3579dcea07474f2657654f1ecfa0925dd7899cb2
refs/heads/master
2016-08-12T06:47:24.808731
2016-03-11T17:41:34
2016-03-11T17:41:34
53,685,185
0
0
null
null
null
null
UTF-8
C++
false
false
1,256
cpp
Entity.cpp
#include "Entity.h" #include "TimerServer.h" #include "StateCore.h" Entity::Entity(StateCore &core) : core(core) { scrnSize.x = core.gfx.GetWidth(); scrnSize.y = core.gfx.GetHeight(); scaleFactor = CalcScreenScale( scrnSize ); } void Entity::Do() { } float Entity::GetDamage( ) { return damage; } unsigned int...
fd790ac21b318a1770900c70a22c745fc4a4c48a
235a407059b8348a6c1ad56039fae69611221f1a
/projetMedical/main.cpp
441f1b853456dc43c485c2d904795ef0e65b5fef
[]
no_license
AmazingPipot/ProjetMedical
9a1e910ecad02a916389465051f302e86f9130b4
af093c8eff83909eeec1b618411767ae5eb9ae73
refs/heads/master
2020-04-13T23:49:01.776432
2019-01-07T19:51:48
2019-01-07T19:51:48
163,516,242
0
0
null
null
null
null
UTF-8
C++
false
false
4,587
cpp
main.cpp
#include "mainwindow.h" #include <QApplication> #include <iostream> #include "parseranalyze75.h" #include <QApplication> #include <QtGui> #include <QLabel> #include <QGridLayout> #include <QMouseEvent> int main(int argc, char *argv[]) { QApplication a(argc, argv); ParserAnalyze75 parser; //if(!parser.loa...
26851096ad094595dbaf8859b625182f1b8981c6
abf6272ff8fbf789b1248fadd67bbc3a9627d485
/include/MayaNGL/Camera/Camera.h
a5b203bf1ef0dc6069008a99c186a48706f9664a
[]
no_license
NCCA/MayaNGL
07dbfe25c551d7decbe803a3e22a5ba630274d4f
14d0b13c4fad6117e950e3f4af2b8ebc092a89a0
refs/heads/master
2020-06-02T02:25:31.561141
2020-03-12T10:35:55
2020-03-12T10:35:55
191,005,417
1
0
null
null
null
null
UTF-8
C++
false
false
1,327
h
Camera.h
#pragma once #include "MayaNGL/Mouse/Mouse.h" #include "Inverse_Def.hpp" #include "Focus_Def.hpp" class Camera { private: friend Focus<Camera>; public: typedef std::array<mc::Direction,2> LocalHVAxis; private: const Mouse &mouse; private: mc::LookAt m_lookAt; ...
16dea1fe30c401de7ba83f956508517863f9d7b8
63ffb050122862f597df3f30322f05c5a1ecde96
/core/raytracer.h
a67d4113d478416156f60a13a352eeb3f6934b16
[]
no_license
cedricp/pixie
298e95140ee36251633e72b93bef7dc7d812c637
b0f2e608e8bb9db2ef0960386f12d91cb83c102a
refs/heads/master
2021-01-18T22:28:14.967399
2017-04-03T09:01:10
2017-04-03T09:01:10
87,055,532
0
0
null
null
null
null
UTF-8
C++
false
false
3,790
h
raytracer.h
////////////////////////////////////////////////////////////////////// // // Pixie // // Copyright � 1999 - 2003, Okan Arikan // // Contact: okan@cs.utexas.edu // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public //...
541e923bef4da5c1fab55c7df539489c4665f355
9207df03e646d0dba844a88ccc82f44ded92e068
/A - Myacm Triangles/test.cpp
b62eb01d9f246b8504d0583a34e208cb48c9f114
[]
no_license
XiaoYuhao/ACM-ICPC-practice
ed02f448dfc262eb17fb1f68721f3e8effc624c6
43d0c560e148efc16cbe8ba8d7a588e4ba748d41
refs/heads/master
2020-03-25T21:34:46.114102
2019-03-11T06:50:11
2019-03-11T06:50:11
144,181,079
0
0
null
null
null
null
UTF-8
C++
false
false
1,540
cpp
test.cpp
#define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<algorithm> #include<stdio.h> #include<math.h> using namespace std; const int MAX = 20; const double eps = 1e-6; struct Point { int x, y; }p[MAX]; int main() { int n; while (1) { scanf("%d", &n); if (n == 0)break; char ss[10]; for (int i = 0; i <...
c1a83bb2e55c588432bd7febb183680629b1b234
879718eff33a6c82c90c7bea210da6d7746b338a
/sampling/samplingBase.h
3756ee44a8a9d9b2182ba27fb3512cba8f73d78b
[]
no_license
rohan-shah/sampling
f6e9d297d2861f0fff6e2eec4a646ee55cd7d2b7
435d70d33fb41069d656c18663fdef6e5616c45b
refs/heads/master
2021-08-07T18:38:40.311918
2020-06-04T06:58:21
2020-06-04T06:58:21
59,632,597
1
0
null
null
null
null
UTF-8
C++
false
false
620
h
samplingBase.h
#ifndef SAMPLING_BASE_HEADER_GUARD #define SAMPLING_BASE_HEADER_GUARD #include <vector> #include <algorithm> #include "includeMPFRSampling.h" namespace sampling { void sampfordBase(int n, std::vector<int>& indices, std::vector<mpfr_class>& weights, std::vector<mpfr_class>& rescaledWeights, std::vector<bool>& zeroWeigh...
1455fd75d8f8216ebbaa6655dd6d55caa80a3537
59f22160c25102edbae50773c5df601a98a74a04
/CODECHEF/Contests/RECNDROT.cpp
ebed80bf5062a60293b184c6d1bd042f619b8175
[]
no_license
Brehm1983/Coding-Tree
1826f5701548223683735566122c7aa192f2eefa
c3a5c6ec98e9f06786fdc440563b333d662d2e94
refs/heads/master
2023-07-06T14:37:42.174220
2020-10-22T17:12:37
2020-10-22T17:12:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,900
cpp
RECNDROT.cpp
#include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace __gnu_pbds; using namespace std; #define f(i,a,b) for(i=a;i<b;i++) #define rep(i,n) f(i,0,n) #define ff first #define ss second #define int long long #define pb push_back. #def...
00d21c3bb60603b9a8624019296edf9cf41dd2a0
36cee4e7a808a2503ba175a4375381d6c6961710
/main.cpp
351ad2f9692893c886c83e6d9fb02c169d8b0911
[]
no_license
Kritten/cg_harlan_komlossy
f06fb31a87853514557a8dbc0687034b7b446053
32f5fd7f8e2bac5b7b56ee0466d6742d53206b9c
refs/heads/master
2016-08-02T20:51:40.112566
2015-01-12T22:02:48
2015-01-12T22:02:48
26,365,759
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
75,798
cpp
main.cpp
////////////////////////////////////////////////////////////////////////// //Sources: http://openglbook.com/ ////////// http://www.dhpoware.com/demos/glObjViewer.html ////////// http://www.arcsynthesis.org/gltut/ ///////////////////////////////////////////////////////////////////////// #define GLEW_STATIC #define...
c2dbd61a9f0d3bfa59f1828c94bf30a59de607c4
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/66/199.c
d0451aaa2c18708319fcd0191dab3060f89b13e4
[]
no_license
GabeOchieng/ggnn.tensorflow
f5d7d0bca52258336fc12c9de6ae38223f28f786
7c62c0e8427bea6c8bec2cebf157b6f1ea70a213
refs/heads/master
2022-05-30T11:17:42.278048
2020-05-02T11:33:31
2020-05-02T11:33:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,336
c
199.c
int main() { int x,y,z,a,c,d,e,m; scanf("%d %d %d",&x,&y,&z); a=(x-1)/4+(x-1)/400-(x-1)/100; c=x+a-1; if((x%4==0&&x%100!=0)||(x%400==0)) { switch(y) { case 1: d=z; break; case 2: d=z+3; break; case 3: d=z+4; break; case 4: d=z; break; case 5: d=z+2...
9c89f9381b6a9b51c18220356fed67d6577476b3
c7c2bebee82778b220a6465c71c41054e4fc5427
/runshc/main.cpp
a36595b41c8ae2d2243a82b79b053150468c4a65
[ "BSD-2-Clause" ]
permissive
hasherezade/pe_to_shellcode
969f92746efaf9b78a77f3a5e346cb1d255cda4d
a2458c96619b721677af0f9b906cd6a229364b4c
refs/heads/master
2023-08-16T18:26:23.731329
2023-08-15T14:42:12
2023-08-15T14:42:12
145,343,356
2,009
388
BSD-2-Clause
2022-04-22T13:56:56
2018-08-19T22:57:07
Assembly
UTF-8
C++
false
false
3,788
cpp
main.cpp
#include <windows.h> #include <iostream> #include <peconv.h> #define VERSION "1.2" #include "..\loader_v2\peloader.h" typedef struct { BYTE* my_exe; size_t exe_size; bool is_run; } t_module_params; bool load_and_run(t_module_params& args) { BYTE* test_buf = peconv::alloc_aligned(args.exe_size, PAGE_EXECUTE_READ...
015f0fdcc1f0aa587820fbbc7375d2eab7ce080a
c95937d631510bf5a18ad1c88ac59f2b68767e02
/src/gpu/sycl/sycl_gpu_engine.hpp
2543d42ad2191605336a68f8b7e2f8fb5a7d4c7f
[ "BSD-3-Clause", "MIT", "Intel", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
oneapi-src/oneDNN
5cdaa8d5b82fc23058ffbf650eb2f050b16a9d08
aef984b66360661b3116d9d1c1c9ca0cad66bf7f
refs/heads/master
2023-09-05T22:08:47.214983
2023-08-09T07:55:23
2023-09-05T13:13:34
58,414,589
1,544
480
Apache-2.0
2023-09-14T07:09:12
2016-05-09T23:26:42
C++
UTF-8
C++
false
false
2,745
hpp
sycl_gpu_engine.hpp
/******************************************************************************* * Copyright 2019-2022 Intel Corporation * * 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.apa...
b605168c2cbb2935e18a72a90e05748513a91530
0105094dc5ed9ca5bf344e887ae94b9bf25d353f
/firmware/master/common/assetloader.h
4a94d5cf7dcbdcf455e2aca4694ab6ba6af5b10c
[]
no_license
Green92/thundercracker
eed1f59a4c3bfcea9c3cd9e49b23b38720e4dd27
75e85aa1bddb1fa07851a12718fa8150ab8428b1
refs/heads/master
2021-01-12T10:59:25.892200
2016-11-03T21:24:13
2016-11-03T21:24:13
72,781,762
0
1
null
2016-11-03T19:58:37
2016-11-03T19:58:37
null
UTF-8
C++
false
false
7,660
h
assetloader.h
/* -*- mode: C; c-basic-offset: 4; intent-tabs-mode: nil -*- * * Thundercracker firmware * * Copyright <c> 2012 Sifteo, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without ...
42bfad593026d6cf5a6b69f70ab28ec88f1f2cb5
d112993968aa5f26d94e94b1d949f8d54ca2b435
/expand.cpp
407ed55332fafa210babd1059665792f2211936b
[]
no_license
igel-kun/sudoku
6d4783af629c8675479db8bd9a5dbc0492fd5093
47e19f660e748b85ba6e877817733f67bb2b119f
refs/heads/master
2021-01-25T07:08:23.910757
2014-11-06T12:52:06
2014-11-06T12:52:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,733
cpp
expand.cpp
/******************************************** * expand the eppstein-ruleset * by M.Weller ********************************************/ #include "sudoku.h" #include "gen_rules.h" #include <iostream> #include <algorithm> bool extend(const uint x, const uint y, gen_sudoku* s){ bool applicable = false; uint num_d...
252988bb511e0835ed846ef26db346432b2ff497
e5f9e0a4d690899864bd14a74d418e78c3584de1
/demos/https/main.cpp
c58993f921ddeb306606fbbc0823442fef94f7a0
[ "MIT", "CC-BY-SA-3.0", "CC0-1.0", "Apache-2.0" ]
permissive
geysonsantana/mbed-simulator
4b135980d66e1511dddfa763bce8e63729735ad4
db47db30c52aa1356981a900ef4f60db374d2a3c
refs/heads/master
2023-05-01T05:53:54.380058
2021-05-09T23:18:23
2021-05-09T23:18:23
365,847,053
0
0
Apache-2.0
2021-05-09T21:21:48
2021-05-09T20:59:40
null
UTF-8
C++
false
false
3,944
cpp
main.cpp
/** * This demo shows how to do an HTTPS request with mbed-http * Note that it does not re-use sockets, so very wasteful. * To do it the right way, see: https://os.mbed.com/teams/sandbox/code/http-example */ #include "mbed.h" #include "mbed_trace.h" #include "NetworkInterface.h" #include "TCPSocket.h" #include "ht...
551face250d626318bf608d6efe7df25456a785c
66862c422fda8b0de8c4a6f9d24eced028805283
/cmake-3.17.5/Tests/QtAutogen/SameName/ccc/item.hpp
20d9dd978beb85eae93ec3fe23246f7e884e7b22
[ "BSD-3-Clause", "MIT" ]
permissive
zhh2005757/slambook2_in_Docker
57ed4af958b730e6f767cd202717e28144107cdb
f0e71327d196cdad3b3c10d96eacdf95240d528b
refs/heads/main
2023-09-01T03:26:37.542232
2021-10-27T11:45:47
2021-10-27T11:45:47
416,666,234
17
6
MIT
2021-10-13T09:51:00
2021-10-13T09:12:15
null
UTF-8
C++
false
false
223
hpp
item.hpp
#ifndef CCC_ITEM_HPP #define CCC_ITEM_HPP #include <QObject> // Include ui_view.h in source and header #include <ccc/ui_view.h> namespace ccc { class Item : public QObject { Q_OBJECT Q_SLOT void go(); }; } #endif
92960bd4949418ca83fb2ad207d48d3c91d539ea
d10e3163b018d182bf15a45b94a49fea7fce1778
/AAFusion/AADataGenerator.h
90e8d23a75a3a383212ed35473aeda4d8159a32c
[ "MIT" ]
permissive
DongZhaoYu/AARFS
732c9ee59ced9a661f773c23ee6c8c2f443be569
abb67f411e42eff3dd0015f89d9d3c29dee9cdc4
refs/heads/master
2020-05-30T04:15:58.266114
2017-09-16T03:49:54
2017-09-16T03:49:54
27,772,680
0
1
null
null
null
null
UTF-8
C++
false
false
10,788
h
AADataGenerator.h
/* * @file: AADataGenerator.h * @brief: the data generator for ais and arpa radar, the RWP model is used * @author: dongzhaoyu * @date: 2008-5-5 * * Copyright (C) CTEC Xi'an JiaoTong University */ #if _MSC_VER > 1200 #pragma once #define _AADATAGENERATOR_H #endif #include <windows.h> #include <math.h>...
dada7f73f3475bad61794a06e2878667814cffcf
30ee1522dcfb05ac7b7d9c55f8eb02dd062c3228
/src/frovedis/dataframe/dfcolumn.hpp
90a0bd6880ab00375807ae78b1dffd4be8a1fa06
[ "BSD-2-Clause" ]
permissive
qsourav/frovedis
8f55968330804b3f6cfd3c28fd1ab6985aa12201
b85912921a00aa11ff1020c4adc9fb8989a7c1ec
refs/heads/master
2023-03-15T22:21:47.630880
2021-03-05T03:01:06
2021-03-05T03:01:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
75,279
hpp
dfcolumn.hpp
#ifndef DFCOLUMN_HPP #define DFCOLUMN_HPP #include <string> #include <memory> #include <tuple> #include "../core/dvector.hpp" #include "../core/dunordered_map.hpp" #include "../core/vector_operations.hpp" #include "hashtable.hpp" #include "join.hpp" #include "../text/dict.hpp" #include "../text/parsedatetime.hpp" #inc...
63989c65b67c2945821f5a894badc66238d6cbab
f91b2a8e494131319b696ef403554afe31bc2e61
/bridge.cpp
18a91697e5b0c2d925e0ade27398dc96538db328
[]
no_license
IpankajI/design_patterns
c575a15b5fc6cec36fd4cb7cc9ae934fd4422c58
cdc3bf33fd088ba615fcc30fad2b543ca21462bc
refs/heads/master
2023-03-31T21:28:04.420663
2023-03-25T15:22:53
2023-03-25T15:22:53
235,364,598
0
0
null
null
null
null
UTF-8
C++
false
false
1,039
cpp
bridge.cpp
#include<iostream> using namespace std; class CImplemention{ public: virtual ~CImplemention()=0; virtual void switchOff()=0; }; CImplemention::~CImplemention(){} class CRemote{ public: CImplemention* implementation; virtual ~CRemote()=0; virtual void switchOff()=0; }; CRemote::~CRemote(){} cla...
9b47e019e7bc90df2858a2b90549d7116f4155ce
6bc93752fd8184c2d0eadacb5182e021cfcd7fdb
/src/domofon.ino
8368cee63acea2a90f71904436bcc9a50f6b5ceb
[]
no_license
pauligbrest/smart-domofon
655ea964b5016b2e0dcf87143a830c31d8cb017c
fd6b07409b16778c5ee24d7c4e469e34327d2bde
refs/heads/master
2020-05-23T04:25:19.198244
2019-05-14T13:42:53
2019-05-14T13:42:53
186,630,776
0
0
null
2019-05-14T13:41:50
2019-05-14T13:41:50
null
UTF-8
C++
false
false
2,868
ino
domofon.ino
#include "inc/include.h" EState state = IDLE; EAction action = NO_ACTION; Bounce debouncerBtnGreen = Bounce(); Bounce debouncerBtnRed = Bounce(); unsigned long lastCallDetectedTime = 0; void callAnswer() { DEBUG_LN("[HW] Call answer..."); digitalWrite(PIN_RELAY_DOOR_OPEN, RELAY_OFF); digitalWrite(PIN_RELAY_AN...
66b277551195aaec3777ef3fd4c35b52473d4846
163829e90c4ef643882e4b6ddec100e464964537
/Source_Code/Dynamic Programming/Medium/11027 Permutation Palindrome.cpp
a64286b3288f33e6b2f616f1b6473ea69dee739a
[]
no_license
Rijul1204/Algorithm_ACM
31b0d88750fc90f13f0c7188a78ac58a059de599
0477861d5476504faa02d3dfddda0ea8acaf5c2e
refs/heads/master
2021-07-03T07:34:08.169513
2021-05-30T19:55:03
2021-05-30T19:55:03
10,447,817
5
7
null
null
null
null
UTF-8
C++
false
false
2,066
cpp
11027 Permutation Palindrome.cpp
#include<stdio.h> #include<string.h> #include<math.h> #include<algorithm> using namespace std; #define maxm (50) #define ii long long int char s[maxm]; int c1[30],len,req; ii dp[30][maxm],dp1[50][50]; int print(int fst,ii num,int lst); ii cal(int n,int k); ii ncr(int n,int r); int main(){ int i,j,k,l,test,t=1;...
93708c2048a6b4d264ec1c93b4b81c0699fce9d0
346c17a1b3feba55e3c8a0513ae97a4282399c05
/applis/uti_image/relevt.cpp
7f3c9f576d0bbe5b134ed9f708fb49e51ece52ca
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
micmacIGN/micmac
af4ab545c3e1d9c04b4c83ac7e926a3ff7707df6
6e5721ddc65cb9b480e53b5914e2e2391d5ae722
refs/heads/master
2023-09-01T15:06:30.805394
2023-07-25T09:18:43
2023-08-30T11:35:30
74,707,998
603
156
NOASSERTION
2023-06-19T12:53:13
2016-11-24T22:09:54
C++
UTF-8
C++
false
false
5,687
cpp
relevt.cpp
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
09957d684ac8e6a47e985e80a3b0d50d122b22a8
df28604f0692b69904f850f13a8cf84e8517cdfd
/src/GoCrypto/ConvertableCryptoInfoAdapter.h
b7a2f0fa2f1e9f1cf333aea0c025568ea330fef2
[ "MIT" ]
permissive
VincentPT/jellyfish
78630e8e63dc121c35f31958483d88ae07ae4215
4cfe13ecef6df2ffcde67a3f8a0f42b2ac6c7865
refs/heads/master
2021-05-11T01:55:00.738463
2018-05-02T15:10:23
2018-05-02T15:10:23
118,342,947
0
0
null
null
null
null
UTF-8
C++
false
false
1,769
h
ConvertableCryptoInfoAdapter.h
#pragma once #include "UI/WxCryptoBoardInfo.h" #include "Engine/PlatformEngine.h" #include <map> #include <list> class ConvertableCryptoInfoAdapter : public CryptoBoardInfoDefaultAdapter { std::string _currentCurrency; PlatformEngine* _engine; std::vector<CryptoBoardElmInfo*> _convertedItems; std::map<std::string,...
d94d4c5580c9362b057ba66c18e35dab14c4e69f
f35e18c1d928aebd53eac68b8883d46710d4cca1
/fluid2d_solver/CODE/include/solver_profiling_data.h
6feabd23ab54f9494df8d9365c4839917a136302
[]
no_license
raymonraymon/num4lcp
29569883f460ec0c959f5fae84301b68bd3f2b18
7c1928dec9597af39615b835fb9c8ca434cf57af
refs/heads/master
2022-12-05T11:41:18.572762
2022-12-02T06:51:59
2022-12-02T06:51:59
379,517,044
0
0
null
2021-06-23T07:28:36
2021-06-23T07:28:35
null
UTF-8
C++
false
false
1,335
h
solver_profiling_data.h
#ifndef SOLVER_PROFILING_DATA_H #define SOLVER_PROFILING_DATA_H #include <vector> #include <cusp/array1d.h> template<typename T> inline std::vector<T> make_std_vector(cusp::array1d<T,cusp::host_memory> const & x) { std::vector<T> y; y.resize(x.size() ); thrust::copy( x.begin(), x.end(), y.begin() ); return...
6a755b2a799840048199870e6085f4dbc5dd4869
21db1743ab16216b462fe128b1c48af2d7b1e37f
/3 sem/lab5/lab5/pupil.h
b73460719e82567f2054482379ed71bc63de68f2
[]
no_license
artkuv/3_sem_labs
fb6bf8e754b8ea28371b8d84af586340f6aadc07
4926c3b07bac3c0064bcc2fd4f3d478dbc15a2a1
refs/heads/master
2021-10-23T20:19:11.034359
2019-03-19T16:42:42
2019-03-19T16:42:42
145,195,254
0
0
null
null
null
null
UTF-8
C++
false
false
536
h
pupil.h
#include "learner.h" class Pupil : public Learner { protected: int studing_class; double sr_mark; public: Pupil(char *n = "Name", char* sn = "Surname", int y = 0,int cl = 0, double sr = 0) : Learner(n,sn,y) { this->studing_class = cl; this->sr_mark = sr; } ~Pupil() { } void Set...
289fe39b20acf66541f862edd5902526f2dafd41
afd5ca0f56c432b137a440701adfa2cf4bf389d4
/dlls/tf_item_goal.cpp
890a944caf15344a70958f1ad3355cca149b308e
[]
no_license
HLSources/Wizard-Wars-clone
ae254312ec7dd61e650c9bcdd2e8ae3a4e61036e
5798e1201695d31d06a7b4cfff34188f439d6975
refs/heads/master
2023-01-28T19:20:55.990407
2020-12-07T15:32:50
2020-12-07T15:32:50
319,330,180
1
0
null
null
null
null
UTF-8
C++
false
false
20,903
cpp
tf_item_goal.cpp
#include "extdll.h" #include "util.h" #include "cbase.h" #include "effects.h" #include "saverestore.h" #include "weapons.h" #include "nodes.h" #include "doors.h" #include "game.h" #include "gamerules.h" #include "items.h" #include "player.h" #include "tf_globals.h" #include "tf_globalinfo.h" #include "tf_teamcheck.h" ...
0848dbdde7bcad74382697027158f3119e759503
dd9b5bdca831aa90b6572a59d15a314230cd4e45
/hackerrank/Pattern_Problems/pat3.cpp
1cfb656e89991f31c0f3076558b41e7a1765df58
[]
no_license
kishankr7979/CP
62fdea662b391a132cdb2b55dc2a845e44790d53
150e304eea519a964d34e4e9ffd49cac5dad5198
refs/heads/main
2023-06-18T06:47:52.908559
2021-07-17T14:26:25
2021-07-17T14:26:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
pat3.cpp
#include<iostream> using namespace std; int main() { int n; cin>>n; for(int i=n;i>=0;i--) { for(int j=0;j<(n-i);j++) { cout<<" "; } for(int k=0;k<=(2*i);k++) { if(k==0||k==(2*i)||i==n||i==0) cout<<"* "; else cout<<" "; } cout<<endl; } }
4eef35310797297b2b7c7d6e5a39ee8eef2f5de4
80804a8ddd939998976121229edb5380b5472b3d
/include/mysql_orm/Delete.hpp
217bb9c655dd66c84c88cead3520a57097da6734
[ "MIT" ]
permissive
Ethiraric/mysql_orm
1d18f3d152be6f1641ca764d586bfa9afeb5e6d4
ef5542272d917f7f3f6b3130fd2b5819d5487346
refs/heads/master
2022-12-25T00:07:25.678313
2022-12-13T09:32:39
2022-12-13T09:32:39
138,312,427
5
1
null
null
null
null
UTF-8
C++
false
false
2,229
hpp
Delete.hpp
#ifndef MYSQL_ORM_DELETE_HPP_ #define MYSQL_ORM_DELETE_HPP_ #include <functional> #include <sstream> #include <mysql/mysql.h> #include <mysql_orm/Limit.hpp> #include <mysql_orm/QueryType.hpp> #include <mysql_orm/Where.hpp> namespace mysql_orm { template <typename Table> class Delete { public: using model_type = t...
d36e59dc19786d8b2fe635665739b5138d4ceac8
922d59671d8006f78a43c4b2e92aba807afdf8fc
/Exam_II/Exam_II/main.cpp
c9ca371ca4c903d82ec3d2ef51a69e350ddbe30b
[]
no_license
franceschi/CECS2222
cc609f61ae96a1acd8658476bba94dc75c18adcf
0756ff989780586fb9cdc17609cea1d2c7b4bd7b
refs/heads/master
2020-04-06T06:54:20.768223
2016-05-26T09:46:47
2016-05-26T09:46:47
55,872,043
0
1
null
null
null
null
UTF-8
C++
false
false
310
cpp
main.cpp
#include "StudentDate.h" #include "StudentPhone.h" #include "Student.h" #include "TestScore.h" #include "StudentList.h" int main() { StudentDate date; StudentPhone phone; Student stud; StudentTestScores test; StudentList list; cin >> list; cin >> test; cout << list; cout << test; return 0; }
7827a58f949d967a92bb0df2865c3e0206dca053
47399959940129f40eca8c4a7d22c86203b40338
/BOJ/10809.cpp
077980e3d7dedb0b98a572353d37fe0cd848a56e
[]
no_license
minsuu/Competitive-Programming
9451c9dba175bf065768a6c5281cf3018f23a72e
852deb7b54c149636cb3e9ed1bc3749f4d12f794
refs/heads/master
2020-04-06T07:03:03.478793
2016-10-31T12:04:21
2016-10-31T12:04:21
37,377,814
0
2
null
null
null
null
UTF-8
C++
false
false
293
cpp
10809.cpp
#include <bits/stdc++.h> using namespace std; int c[26]; string S; int main(){ memset(c, -1, sizeof c); cin>>S; for(int i=0; i<S.size(); i++){ int j=S[i]-'a'; if(c[j]==-1) c[j]=i; } for(int i=0;i<26;i++) cout<<c[i]<<' '; return 0; }
1a07009aebd873c00e621ab172758040e27514d5
e1a032f518eb0d970125f6904d577f12fe0e1bfd
/main.cpp
536c06d0fff5e27991130512febc90f12648c915
[]
no_license
avdolgushev/prao
40f715eabb0877560eb2fd48068c7bb3e8c06aac
159e76acfca3ed29dcbbb86042dec0bd5b0cdf05
refs/heads/master
2022-12-15T13:26:05.183350
2020-08-09T00:36:41
2020-08-09T00:36:41
185,025,359
0
0
null
2022-12-08T05:28:24
2019-05-05T11:59:01
C++
UTF-8
C++
false
false
1,294
cpp
main.cpp
// // Created by sorrow on 30.01.19. // #include "Processing/Compresser.h" #include "Config/Config.h" using namespace std; int main(int argc, char **argv) { const char * path_config; string default_config_path = "config.json"; std::vector<std::string> args; if (argc == 2 && string(argv[1]) == "-h") ...
376ce14022634b6c43ad41c78ca3eae38e046e18
e1ba67e6eeb50522316f346fe0aca49c00a72089
/traverse_tree/cxx/MorrisTraversal.cxx
96bf0012f2cce7b53e57753761071d9ba5bb20e7
[]
no_license
davidxk/Algorithm-Implementations
620982ca19ef8368febe72219a49f7f45dd77861
cbd658ac052d4407e2567c9abc2a457dfe242bf8
refs/heads/master
2023-04-16T06:37:25.426960
2023-04-13T12:56:37
2023-04-13T12:56:37
104,098,062
37
3
null
null
null
null
UTF-8
C++
false
false
2,422
cxx
MorrisTraversal.cxx
#include <vector> #include "TraversalMethods.h" #include "TreeNode.h" class MorrisTraversal: public TraversalMethods { public: std::vector<int> preorderTraversal(TreeNode* root); std::vector<int> inorderTraversal(TreeNode* root); std::vector<int> postorderTraversal(TreeNode* root); private: void traceBack(TreeNode...
48ec91f582a47a578c8351bc13a4da9f7c5b6da8
f879d1512a5124271a624fe7d13f8848d82528ec
/Source/Bee/Core/Serialization/JSONSerializer.cpp
2dda31f5c4dd229a3c365f07ff56abf016d91054
[]
no_license
jacobmilligan/Bee
c07d88e54ed0e369dde58af568d58fd1f4d6255b
f7af4b1b43fe511f1df94aaa3e4abb9db60e4709
refs/heads/master
2023-04-15T04:42:15.534580
2021-04-26T16:52:48
2021-04-26T16:52:48
206,082,746
0
0
null
null
null
null
UTF-8
C++
false
false
13,570
cpp
JSONSerializer.cpp
/* * JSONSerializer.cpp * Bee * * Copyright (c) 2019 Jacob Milligan. All rights reserved. */ #include "Bee/Core/Math/Math.hpp" #include "Bee/Core/IO.hpp" #include "Bee/Core/Base64.hpp" #define BEE_RAPIDJSON_ERROR_H #include "Bee/Core/Serialization/JSONSerializer.hpp" namespace bee { BEE_TRANSLATION_TABLE_...
bd18a50f1c29e4a2824b059be2e397e65b209d90
45bebb1cf4e951d673755e5700a9e30b27b1c3ae
/vtkMAF/vtkMAFContourVolumeMapperAdv.cxx
5ab4f4ae6c26b48046ca365e0aa6c0a4810f94fd
[]
no_license
besoft/MAF2
1a26bfbb4bedb036741941a43b135162448bbf33
b576955f4f6b954467021f12baedfebcaf79a382
refs/heads/master
2020-04-13T13:58:44.609511
2019-07-31T13:56:54
2019-07-31T13:56:54
31,658,947
1
3
null
2015-03-04T13:41:48
2015-03-04T13:41:48
null
UTF-8
C++
false
false
26,729
cxx
vtkMAFContourVolumeMapperAdv.cxx
/*========================================================================= Program: MAF2 Module: vtkMAFContourVolumeMapperAdv Authors: Alexander Savenko, Nigel McFarlane Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distribute...
163d91e2ea61d01f466c9079bff21809072ed0e9
ed60c86a38c8e7b0269db80703ae401459616601
/class_process.h
0f11ba739f9b712a3171aea02ea60f7848d302eb
[]
no_license
yanguango/spam_filter
79781a9805674a6ba93fa087ccdb4f8c5eb449b2
16e31bbf4f2c4305beee754c510ddea47336f222
refs/heads/master
2021-01-02T09:14:08.134365
2014-12-05T05:52:45
2014-12-05T05:52:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,736
h
class_process.h
#include <string> #include <fstream> #include <iostream> #include <dirent.h> #include <map> #include <vector> #include <util.h> #include <sstream> #include "single_process.h" using namespace std; const string SingleProcess::FEATURE_CHARS = ";([!$#"; class ClassProcess { private: string ham_path; string spa...
a70e1a7d1e946405335e6819edc9227c73ebfefd
3d15e7a2a925bf2c736164cde79a700b513cc6a5
/RNA.cpp
652566d114cbf6e9531e71b61d74563a24e40a93
[]
no_license
3olaa/DNA-RNA-Protein
f578298436c82d9a03426e612519bcf81c13df91
632c2ac8652f1538c28815e69288fab1dabd65f2
refs/heads/master
2020-04-11T09:27:56.968312
2018-12-13T18:24:26
2018-12-13T18:24:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,654
cpp
RNA.cpp
#include "RNA.h" #include "Sequence.h" RNA::RNA() { type = mRNA; } RNA::RNA(char * Seq, RNA_Type atype,int length):Sequence(length) { for (int i = 0 ; i<length ; i++) { seq[i]= Seq[i]; } type = atype; } RNA::RNA(RNA& rhs) { seq_length = rhs.seq_length; seq = new ...
3c04231dc8af55a229f2c124c75c0afe4bd00c77
9331ef4baa70500771f7e54fa4edbb24fe4ce099
/ast/Print.cpp
64d2e72f7e54df35c66dda257b0b94ff436cc2e7
[]
no_license
alexbprr/CsmallCompiler
9ee8c34056fc4ffcd7fef60762cd357c46a8a0de
c41026cf0c161c664e09268fb67cef6a999fd863
refs/heads/master
2022-03-14T04:28:56.923746
2019-11-08T00:31:16
2019-11-08T00:31:16
179,382,230
0
0
null
null
null
null
UTF-8
C++
false
false
814
cpp
Print.cpp
using namespace std; #include "Print.h" Print::Print(){} Print::Print(string name) { this->name = name; } float Print::evaluate() { cout << this->children[0]->evaluate() << endl; } void Print::generateCode() { if (this->children.at(0) != NULL) this->children.at(0)->generateRValueCode(); } void ...
928ee66cf1effeee4ae744c493e5aee939a430d6
d2e1f13493ce7ebf29d4d7c1f2d89c43e44c68cf
/src/usbdevice/usbdevice.h
75a32cb55c69354d1a221ad1883a2a4705e3b541
[ "MIT" ]
permissive
ablacknerd/particl-core
80eceaf4c716be79a16935a8e8ab0aeaed300cc1
8652163c6606c4784971c85042f2e0a80d5b23ec
refs/heads/master
2021-05-02T06:08:11.564057
2018-02-08T14:52:31
2018-02-08T16:18:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,070
h
usbdevice.h
// Copyright (c) 2018 The Particl Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PARTICL_USBDEVICE_H #define PARTICL_USBDEVICE_H #include <string.h> #include <assert.h> #include <vector> #include <s...
a755a6b98ede93e2ae3cd3bfa1c6da3ad69f0174
ad5efb65c4f1e76818edfe634d1139e2776f2496
/TurbulentArena/GetPathToEnemy.cpp
49a9d8d9c9fc501c8d50c3f9def0ac5b2ba776d6
[ "MIT" ]
permissive
hornta/Turbulent-Arena
8f5eefa705634f15e4e14616979761bd002aeadf
9030f291693e670f7751e23538e649cc24dc929f
refs/heads/master
2021-05-28T16:48:38.848731
2015-03-29T21:46:06
2015-03-29T21:46:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
617
cpp
GetPathToEnemy.cpp
#include "stdafx.h" #include "GetPathToEnemy.hpp" #include "Agent.hpp" #include "ClanMember.hpp" namespace bjoernligan { namespace ai { GetPathToEnemy::GetPathToEnemy() { } EBNodeStatus GetPathToEnemy::Process() { if (!m_xAgent) return EBNodeStatus::Invalid; std::vector<SenseAgentData*> visibl...
46d81e70ec486cfb700932ed27845776baa55cb9
229f1f4383af3024a8627d957256985d3e3841e3
/src/gl/program.hpp
49176771b51ee263c5018c3c0b4d1fd794010ccf
[ "MIT" ]
permissive
joshuarrrrr/gl-playground
aa12264738ff88b61e9e0e39fbfca623fb93eb85
4237793f9c501d89634423354f9975396c9d3fa7
refs/heads/main
2023-02-28T02:45:18.452756
2020-12-03T11:31:03
2020-12-03T11:31:03
318,125,469
0
1
MIT
2021-01-28T20:53:18
2020-12-03T08:29:52
C++
UTF-8
C++
false
false
3,368
hpp
program.hpp
#pragma once #include <set> #include <vector> #include <glad/glad.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <spdlog/spdlog.h> namespace gl { GLuint create_program(const std::set<GLuint>& shaders); template <typename T> void set_program_uniform(GLuint program, GLint location, const T& value...
45cd77af7c3724645a18b59669abf499fb209e58
724fbaf88af41d484f43a1aab7ba5dd0a8b808d1
/SLDR/rec_surface.h
515ebba2b7bcf84087ca9cecc4a752a4a1fb8d74
[]
no_license
15831944/CurveReconstruction
9b8efccd8c80bf5241d62e50321f4a5876c284f7
6ff5a5e0da619fa20cf0f4d3034ff5e25597abfe
refs/heads/master
2023-03-17T00:58:46.511943
2017-03-17T08:09:47
2017-03-17T08:09:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
331
h
rec_surface.h
#pragma once #include <vector> class CP_Face; class CP_Body; class CP_GeneralPolygon2D; namespace rec_surface { void ReconstructNurbsSurf(CP_Face *pFace); void ReconstructCoonsSurf(CP_Face *pFace); void CreateMesh(CP_Face *pFace); void InitGeneralPoly(CP_GeneralPolygon2D &poly, CP_Face *pFace, std::vector<double>...
529ffe98355f5cfb66d6c975fdd1b66bd0a79a42
344e16f09b54902e65f8631aff8e61ad0e95378a
/GoogleKickStart/Round G 2019/book_reading.cpp
ba88f3032902c6309d4451295e54180a4be7a7d4
[]
no_license
Edwinl777/contest-questions
90a4b5d82528bf2ae14de0a298a9e05283b8213b
fff6f370f987684ea6e65668d1b44232afbdc6e1
refs/heads/master
2023-02-28T11:23:54.297693
2021-02-10T00:41:28
2021-02-10T00:41:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,547
cpp
book_reading.cpp
#include <iostream> #include <iomanip> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <cstdlib> #include <unordered_map> #include <unordered_set> #include <queue> #include <stack> #include <vector> #include <algorithm> using namespace std; #define pb push_back #define fast_cin() ios...
b3e3e23d1ceed3fe580f7bc73656fa29c29286f0
7d5ab12afa98390e714faa9cfd8c6bfe0ab505f8
/include/CppUtil/RTX/OpTexture.h
f14b4a1dfb077e84f88ec809af9f99d5027753b4
[ "MIT" ]
permissive
huangx916/RenderLab
6199b0a4bc44cbae5b28291f999484eedec7de87
a0059705d5694146bbe51442e0cabdcbcd750fe7
refs/heads/master
2020-07-21T21:46:31.215327
2019-09-07T09:47:02
2019-09-07T09:47:02
206,981,200
1
0
MIT
2019-09-07T14:40:54
2019-09-07T14:40:54
null
UTF-8
C++
false
false
854
h
OpTexture.h
#ifndef _RTX_RT_TEXTURE_OP_TEXTURE_H_ #define _RTX_RT_TEXTURE_OP_TEXTURE_H_ #include <CppUtil/RTX/Texture.h> #include <functional> namespace RTX { class OpTexture : public Texture { TEXTURE_SETUP(OpTexture) public: OpTexture(const std::function<glm::vec3(float u, float v, const glm::vec3 & p)> & op); virtua...
73a301831b9de3caec171c5abea92751782b7bcc
31c31345946b3526ffe3f1eafbc9dd7cdb48e03a
/Contests/2019 ICPC Malaysia National/E.cpp
5e04e2e517aefc1cd28b097db0b7b6fda95d9be0
[]
no_license
felipefoschiera/Competitive-Programming
84967cb7c6b82df5990cccea5d5b6862b9e63f65
fe664046d0161fd6a15d4b8d8f983e77c6dc3dcb
refs/heads/master
2022-02-23T16:07:04.326089
2019-10-04T19:22:22
2019-10-04T19:22:22
198,893,046
0
0
null
2019-07-25T19:53:36
2019-07-25T19:53:36
null
UTF-8
C++
false
false
1,152
cpp
E.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; int v[60]; int t, n; int pd[60][500]; typedef long long ll; int melhor, diff; ll bitmaskres; int solve(int idx, int time, ll bitmask){ if(melhor != -1 && bitmaskres == -1 && time == diff){ bitmaskres = bitmask; } if(idx == n) ...
565d4bc9b3df82f16fbd3392dd63ad92a4a8d78c
48e9625fcc35e6bf790aa5d881151906280a3554
/Sources/Elastos/LibCore/src/org/apache/harmony/security/x509/CCertificatePolicies.cpp
8e08bd728c8e484647b284828d3313822f428609
[ "Apache-2.0" ]
permissive
suchto/ElastosRT
f3d7e163d61fe25517846add777690891aa5da2f
8a542a1d70aebee3dbc31341b7e36d8526258849
refs/heads/master
2021-01-22T20:07:56.627811
2017-03-17T02:37:51
2017-03-17T02:37:51
85,281,630
4
2
null
2017-03-17T07:08:49
2017-03-17T07:08:49
null
UTF-8
C++
false
false
5,727
cpp
CCertificatePolicies.cpp
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
406a1a4155faaffdf269b3e333602cb2bdb4e749
147b137610a44128488cf924c91f30a6f68e89be
/cpp/src/hub/solver/py_mcts.cc
228aa59c2a9f46b1e3ab7dd2d5d0ee82615ebffa
[ "MIT" ]
permissive
LinHuanli/bug-free-invention
da89c49f3067aa7f9d7cc6583310b4800622be96
37bcea112da39d1390ff2b30951b36ee5dbc0e6d
refs/heads/master
2023-03-18T20:42:29.551536
2021-02-14T06:37:22
2021-02-14T06:37:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
47,416
cc
py_mcts.cc
/* Copyright (c) AIRBUS and its affiliates. * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <pybind11/pybind11.h> #include <pybind11/functional.h> #include <pybind11/iostream.h> #include "mcts.hh" #include "core.hh" #include "u...
ae6ab4b7355a0db3814f1561de2a37074dc142ec
15a35df4de841aa5c504dc4f8778581c00397c87
/Server1/Engine/Ext/netbase/win/LNetService.cpp
a42163e47dc9ebff2072641f1768959717a3b1b9
[]
no_license
binbin88115/server
b6197fef8f35276ff7bdf471a025091d65f96fa9
e3c178db3b6c6552c60b007cac8ffaa6d3c43c10
refs/heads/master
2021-01-15T13:49:38.647852
2014-05-05T12:47:20
2014-05-05T12:47:20
null
0
0
null
null
null
null
GB18030
C++
false
false
1,370
cpp
LNetService.cpp
/** * \brief 实现网络服务器 * * */ #include "LNetService.h" #include "LIocp.h" #include <iostream> LNetService *LNetService::instance = NULL; /** * \brief 初始化服务器程序 * * 实现<code>LService::init</code>的虚函数 * * \param port 端口 * \return 是否成功 */ bool LNetService::init(WORD port) { if (!LService::init()) return false; //初始化服...
1810f543d646ba7d1cd521ebf9ee22312fb507dd
69144a1c80e05e2a1c705bc3df0b7685659edade
/src/callPath.cpp
a16b6f91e4253cd1c9f9b85443b5b62f7d261137
[ "MIT" ]
permissive
MomoDeve/MSL
68e6a4405f5f7284e1d184941a1e43d793a95c0e
c7e6da7736a29056639b7d194366d37bda520bed
refs/heads/master
2021-08-06T18:47:07.482536
2020-07-05T09:30:57
2020-07-05T09:30:57
185,782,314
0
0
MIT
2019-06-24T21:38:34
2019-05-09T11:01:13
C++
UTF-8
C++
false
false
814
cpp
callPath.cpp
#include "callPath.h" namespace MSL { namespace VM { const std::string* CallPath::GetNamespace() const { return path[0]; } const std::string* CallPath::GetClass() const { return path[1]; } const std::string* CallPath::GetMethod() const { return path[2]; } void Cal...
8f84dfe33ff615d20eef9b9f4c7a7f845c037647
f678aa3605eb8349d6bebb7653e897881d2f481d
/Worksheets/Worksheet1/SolutionPrograms/RBM_WS_Q2.cpp
34f987dcc8ec10bc8a9244470ebf5dec9fbc8a64
[]
no_license
mrityunjayshukla411/RM-CodingTaskPhase
c934a51e889ebfd35761783654311fe990c7f6d5
9e5b066abe23fbc0eb39fd6335db2b9dac51f096
refs/heads/main
2023-05-09T02:55:13.891336
2021-05-31T03:40:23
2021-05-31T03:40:23
318,527,952
0
0
null
null
null
null
UTF-8
C++
false
false
2,009
cpp
RBM_WS_Q2.cpp
//20201204 // Updated 20201208 #include<bits/stdc++.h> using namespace std; // I tried writing a function for inputting the Matrix but int A[][] is not a valid paramater - Problem Faced 1 // void inputMatrix(int Arr[][],int row,int col){ // int i,j = 0; // for ( i = 0; i < row; i++) // { // ...
dd104e2629f78d370901a9a56bfeeeb33ec4d4e1
7e8fd73c7a8fab84e42246b68a531dab8596fe91
/Threaded Binary Tree.cpp
9b9bb25635e5b1f6485a5b336320ce1ea5f8a9ff
[]
no_license
roshan194/CPP
522de04eb37004f2547ac278e7d345d826f9f4ba
b8ae37dcaf58bd60b46ad8572a024186152e6d3b
refs/heads/master
2023-05-09T01:42:07.498110
2021-06-03T05:18:06
2021-06-03T05:18:06
298,996,629
0
0
null
null
null
null
UTF-8
C++
false
false
3,336
cpp
Threaded Binary Tree.cpp
#include<bits/stdc++.h> #include<iostream> using namespace std; class Node { public: int data; Node* left; Node* right; int leftthread; int rightThread; Node(int val) { this->data = val; } }; class DoubleThreadedBinaryTree { private: Node* root; public: ...
3526e79c4796b2ee128a2574db7df1b04dab24be
c08c76c06d3e48f2ce2493e22fca4f1f82839cbd
/9.2.4_7_topologsort_no_recursion.cpp
a6e02a9f6e502328b42fb6a6d310b030b408511e
[]
no_license
fredeom/shen_book_solutions
1d5ba1ce1d731849afaf7a08b679dfe76c6a0804
a8396b1ffaaaf2696fd980504e7ec18f4d096646
refs/heads/master
2022-11-09T19:11:49.794742
2020-07-03T16:36:55
2020-07-03T16:36:55
275,020,209
0
0
null
null
null
null
UTF-8
C++
false
false
830
cpp
9.2.4_7_topologsort_no_recursion.cpp
#include <iostream> #include <stack> #include <vector> int main() { int n, m; std::stack<int> zeroes; std::vector<int> ans; freopen("9.2.4.in", "r", stdin); std::cin >> n >> m; std::vector<std::vector<int> > e(n, std::vector<int>()); std::vector<int> cnt(n, 0); for (int i = 0; i < m; ++i) { int v1,...
11bbe9c860ff2dab3a77377874f5587487516505
67920a5c0b361ed94a25d814b65ddd2ad9767c2d
/Tic-Tac-Toe/Tic-Tac-Toe/Source.cpp
5a041f12f0d0781f58938e0065640d3ce22e62e8
[]
no_license
orhaimwerthaim/Tic-Tac-Toe
8e1d8bc231e1042ec4912e135c8ab11452cb1c63
ed854c32b244d4c4a8e94a8de865a7c2b34d3478
refs/heads/master
2022-02-25T07:25:57.065419
2019-05-31T14:23:00
2019-05-31T14:23:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,346
cpp
Source.cpp
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/opencv.hpp" #include<stdint.h> #include<iostream> using namespace cv; using namespace std; // find the ratio of black and white pixels in cells float cellRatio(Mat src){ float count_black = 0; float count_white = 0; fo...
ae0e3908cbaa28936bba538fb9ac6b7540616af0
d6eb6c4f340d343ea368507b1c7e7671d45a5767
/src/mocha/roaster/ast/translator/processors/export_processor.cc
b4d40d68673485fa0f23de06f7d19267882d8ff8
[]
no_license
brn/mocha
8242888c18081cb844a2c2bd0c222162cd46e4cf
9ff68d6e2c753acf6ce57cdb3188f162549d2045
refs/heads/master
2021-06-06T06:43:06.230281
2021-05-07T16:04:12
2021-05-07T16:04:12
2,707,603
19
0
null
null
null
null
UTF-8
C++
false
false
4,853
cc
export_processor.cc
#include <mocha/roaster/ast/ast.h> #include <mocha/roaster/ast/translator/processors/export_processor.h> #include <mocha/roaster/ast/translator/processors/processor_info.h> #include <mocha/roaster/ast/builder/ast_builder.h> #include <mocha/roaster/ast/translator/translator_data/translator_data.h> #include <mocha/roaste...
2eba24f4e55370b0606e14de9272de6bd7f61b37
57b34492602f0bdb2594590954b4321053fb23e7
/src/mge/materials/LitMaterial.hpp
ebb8fb11e7ecf396b70ad0f2d2fba5e12032069d
[]
no_license
Flippo13/Basic_3D_Engine
501f2611082c2e129a7ec6a602ce6bcc728e4524
d32bab0b89d135206e7b9c24ab1db15437f52f0e
refs/heads/master
2020-04-07T21:22:09.262029
2018-11-22T16:21:13
2018-11-22T16:21:13
158,724,091
2
0
null
null
null
null
UTF-8
C++
false
false
905
hpp
LitMaterial.hpp
#include "mge/materials/AbstractMaterial.hpp" #include "glm.hpp" #include "GL/glew.h" class ShaderProgram; #pragma once class LitMaterial : public AbstractMaterial { public: LitMaterial(glm::vec3 pColor, glm::vec3 pAmbient); ~LitMaterial(); virtual void render(World* pWorld, Mesh* pMesh, const glm:...
898d629ca6e52d4c323e650d0f9b827f6a85bf40
767dca636bb70cdf72cb5f3cfb5baa6911d725bc
/examples/containers/vector.cpp
d19cd6ba0187af14c6286c7ac1196acf5990dca1
[]
no_license
strandfield/cpp-examples
5544a22c01bacc81c9b7c496f5751950c4a36e57
f36763dd51bb6a6f31e4366ee7bfa4d217692b63
refs/heads/master
2022-02-18T09:59:05.654844
2019-09-18T18:06:48
2019-09-18T21:15:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,304
cpp
vector.cpp
#include <vector> #include <iostream> void print(const std::vector<int>& vec) { for (int n : vec) { std::cout << n << " "; } std::cout << "\n"; } int main() { std::vector<int> digits{ 0, 1, 3, 4, 5, 6, 7, 8 }; print(digits); // Get the vector's size() std::cout << "size: " << digits.size() <...
8ef75ec85177ca8d8f151e6bfcdca50fa73ef746
af11f45f57f71e649832fb386259696254efaad6
/MiniProj/Scene.h
b4c22f7ec1bbe71815684e634a15b9983c058787
[]
no_license
charvakcpatel007/Bomberman
75a10478c418000e6350d1b1e0bd57473fc943a8
2a7fd41085ad06cb7e7f9871d839ee5bff01e552
refs/heads/master
2021-01-10T13:36:00.356162
2016-05-07T04:21:36
2016-05-07T04:21:36
55,512,685
1
0
null
null
null
null
UTF-8
C++
false
false
714
h
Scene.h
#pragma once #include <SDL.h> #include <SDL_image.h> #include <utility> #include "TextSprite.h" class Scene { public: Scene(); virtual void init(SDL_Window* w, SDL_Surface* s, SDL_Renderer* r, int tileSizeDest, std::pair<int,int> dm, TTF_Font* gF ); virtual void update() = 0; virtual void render() = 0; virtual vo...
8b6f4a0b507dc1548642fb48b49e7482498a294f
512840635ba7c60c21e18121fa944fca1ecbfc0d
/util/Util.hh
01f55c51cafef9180ba49d2b3a8b9b7ecd4d9199
[]
no_license
lilinj2000/flash
a32f817e618323bdcbcf168e7e750d8b1776b690
7dd048820fdc6f1679f54cd6059a9ffefb6eab45
refs/heads/master
2020-04-18T14:21:56.817282
2015-11-10T07:09:07
2015-11-10T07:09:07
41,136,637
0
0
null
null
null
null
UTF-8
C++
false
false
294
hh
Util.hh
#ifndef FLASH_UTIL_HH #define FLASH_UTIL_HH #include "air/MDataFile.hh" #include "foal/FoalDef.hh" namespace flash { class Util { public: air::SpeedMData* toSpeedMData(const foal::DepthMarketData* data); air::CffexMData* toCffexMData(const foal::DepthMarketData* data); }; }; #endif
53ed0d24587f312357c6159005706e5fa53dccbe
292d1dbc7ba1c1f79683804aa1f6f73f856a3126
/Arrays/Largest Number.cpp
5dc29cd5c245b34286b5fe5a444ed4c1593bdcf4
[]
no_license
Ashray11/InterviewBit
6c4487e5b4273522c6d30fd475870a845c082816
6ef0ace76dba901d2f59c562a820c6275f9b0e0f
refs/heads/master
2022-01-09T23:54:44.511940
2019-06-30T21:19:10
2019-06-30T21:19:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
473
cpp
Largest Number.cpp
bool cmp(int a,int b){ string p = to_string(a); string q = to_string(b); return (stoll(p+q) > stoll(q+p)); } string Solution::largestNumber(const vector<int> &A) { vector<int> res(A.size()); for(int i=0;i<A.size();i++){ res[i] = A[i]; } sort(res.begin(),res.end(),cmp); string tem...
a3e3caee3e72df7da50a73f337d0c897a62f6c5a
876a382b3cab25c0fe001c1bd53b2c3818c60493
/Source/BYGRichTextEditor/Private/BYGRichTextEditorModule.cpp
b8c321cdaadad6d3a20516876037d47810bda76b
[ "BSD-3-Clause" ]
permissive
ArtheonVR/UE4-BYGRichText
f431f248ff7f7e40554e7eb8e53416e42600797d
cd8a6e734769c886e22dac2067298042420106d4
refs/heads/main
2023-04-24T07:51:12.361531
2021-05-14T23:10:54
2021-05-14T23:10:54
389,387,240
1
0
BSD-3-Clause
2021-07-25T16:03:32
2021-07-25T16:03:31
null
UTF-8
C++
false
false
4,544
cpp
BYGRichTextEditorModule.cpp
// Copyright Brace Yourself Games. All Rights Reserved. #include "BYGRichTextEditorModule.h" #include "PropertyEditorModule.h" #include "ISettingsModule.h" #include "Framework/Docking/TabManager.h" #include "Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructure.h" #include "Editor/WorkspaceMenuStructure/Public/...
51146106d0581fc736faf2e59a02c2c146e973bc
13afaa3e0b5a214f9e8e0fc5bb79a55ff7edec49
/OrderParser.h
be85b4d79fa6e0006cd3f8720eea11859a380652
[]
no_license
shaurya0/Orderbook
165d5bbcfccdd46464ff4133266ca5f7496d7437
769adfb38f04c3d8dbda2a7c50c639af9aecc9f6
refs/heads/master
2021-01-17T19:55:52.447850
2016-09-18T08:31:45
2016-09-18T08:31:45
68,408,997
0
0
null
null
null
null
UTF-8
C++
false
false
2,935
h
OrderParser.h
#pragma once #include <map> #include <stdint.h> #include <boost/lexical_cast.hpp> #include <boost/tokenizer.hpp> #include <boost/variant.hpp> #include <string> #include "PricerCommon.h" namespace Pricer { enum class ADD_ORDER_TYPE{ BID, ASK }; enum class ORDER_TYPE{ ADD, REDUCE }; struct AddOrder { ADD_ORDER_TY...
1c1abc18d996d29b883a637737168bae11aa3c53
c920079b644668fcea120937ec7bec392d2029bd
/B4---C++-Programming/cpp_plazza/includes/Graphic.hh
c2edd3dc1f1304ac3d42048902eb7bdf12c006e7
[]
no_license
Ankirama/Epitech
d23fc8912d19ef657b925496ce0ffcc58dc51d3b
3690ab3ec0c8325edee1802b6b0ce6952e3ae182
refs/heads/master
2021-01-19T08:11:27.374033
2018-01-03T10:06:20
2018-01-03T10:06:20
105,794,978
0
5
null
null
null
null
UTF-8
C++
false
false
2,617
hh
Graphic.hh
// // Graphic.hh for in /home/teyssa_r/rendu/cpp_plazza/includes // // Made by Raphael Teyssandier // Login <teyssa_r@epitech.net> // // Started on Wed Apr 15 00:16:59 2015 Raphael Teyssandier // Last update Sun Apr 26 18:07:38 2015 Raphael Teyssandier // #ifndef GRAPHIC_HH_ # define GRAPHIC_HH_ # define NB_STA...
e5f7cb7760f4fc00f114fbc994a758350fe5b14d
601a4d73420f629d338cf7568d188e5fb7714bb3
/nblapp/ops.hpp
4b59b9ba3ee11ebecc7f02862f018673f8b718ac
[]
no_license
stevevista/nbla-go-zero
281921cb1e10a29dd10895b833c78d98ea0d675f
b5111cd81e4509ad48a2e40a1a405cad0a1cbdaf
refs/heads/master
2021-05-03T06:21:12.578440
2018-03-10T03:52:10
2018-03-10T03:52:10
120,592,960
0
1
null
null
null
null
UTF-8
C++
false
false
3,650
hpp
ops.hpp
#pragma once #include "variable.hpp" namespace nblapp { using std::string; enum PAD_TYPE { PAD_SAME, PAD_VALID }; namespace nn { NPP_API Variable sink(const vector<Variable>& vars, bool one_input_grad); NPP_API Variable identity(const Variable& x); NPP_API Variable add(const Variable& x...
53eb1d5ba8bd24c8af5028bb3498fb841dec339f
a7f6bcb06c1f65820ad0c98a1fb6f3d5ca73d0c8
/src/Core/Controller/Controller.h
3d94e36f5f6c34564b4395289b6a8b8f60bdca85
[ "Apache-2.0" ]
permissive
luoxz-ai/cashew
b4a73a0b84040dc44f1ec83f7c174f8bc3595ab6
001e1d165051fd960425cfdf1d2b0895d9f040a8
refs/heads/master
2021-12-13T21:58:34.830472
2016-03-06T14:52:24
2016-03-06T14:52:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,313
h
Controller.h
/* Shipeng Xu billhsu.x@gmail.com */ #pragma once #include <iostream> #include <vector> #include "Core/Math/Vectors.h" #include "Core/Basic/Plane.h" #include "Core/Basic/Ray.h" #include "Core/Basic/LineSegment.h" #include "Core/Math/Matrices.h" class State; class Camera; class UI; class lua_State; class Texture; clas...
dc105bacd491be1ebcd1ff54208077dda7053b2b
e827593d2e724652bf8e62fb18b7ffaea747087a
/MMBlocks/xaeBlockScene.h
396d7a809c8b8f7237c09a2d57a02bf9355e3be1
[]
no_license
cnsuhao/xaengine
68c95d10a00bee8e9178f0ea2c28e4a9c559bb96
85723ecdaabaffad5451c74c9848dc913b0f3b91
refs/heads/master
2021-05-27T01:02:49.663844
2013-10-16T07:45:58
2013-10-16T07:45:58
null
0
0
null
null
null
null
GB18030
C++
false
false
3,101
h
xaeBlockScene.h
#ifndef XAEBLOCKSCENE_H #define XAEBLOCKSCENE_H #pragma once #include <hgesprite.h> #include <xaeSceneObject.h> #include "xaeBlockTreasure.h" #include <hge/hgefont.h> struct coor { float x, y; coor() { x = y = 0.0f; } coor(float _x, float _y) { x = _x, y = _y; } }; enum XAE_BLOCK_PLAY_STA...
ccb06b61098869ce4d100a8aed3c4fc552aa0af1
47035370d10409d30ce225fe4eb7598b85572b5d
/AS/AS/BJ_14502_연구소.cpp
1050c902200e4ea11c0761d0193d2e0fde4efd73
[]
no_license
GOEON/Algorithm
7ed75a5f963236332ac72957bcfb77d280c1b747
1ca7f40cbae62a317db96ea9f77a4d65b99f72e1
refs/heads/master
2020-04-23T19:10:30.783144
2019-04-15T12:55:54
2019-04-15T12:55:54
171,393,570
0
0
null
null
null
null
UHC
C++
false
false
1,536
cpp
BJ_14502_연구소.cpp
// 190404 // https://www.acmicpc.net/problem/14502 #include <iostream> #include <cstring> #include <algorithm> #include <vector> #include <queue> using namespace std; int n, m; int a[9][9]; int b[9][9]; int dr[] = { -1,1,0,0 }; int dc[] = { 0,0,-1,1 }; int total; int ans; vector < pair<int, int>> v; queue<pair<int...
20dd85279b41076e739c9be1862666ffd9abe5c1
1e1b7e37f60ca122f50a2783b50cec74ff54e0f4
/src/synth/soundGenerators/SinOsc.cpp
723cdb7d1cff77f7a2eec3baf762cd9e998e04fe
[]
no_license
triss/earSight-iOS
0c5a11629963b3c19f6cd41515ac0b1296b3ba5c
e7bc8910d0d138a7e6f73364cdab65c0c79ca879
refs/heads/master
2021-01-01T06:39:05.098348
2014-03-11T20:22:44
2014-03-11T20:22:44
17,574,408
1
1
null
null
null
null
UTF-8
C++
false
false
713
cpp
SinOsc.cpp
#include "SinOsc.h" SinOsc::SinOsc(float freq, float volume) { phase = 0.0f; setFreq(freq); setVolume(volume); } void SinOsc::setFreq(float f) { phaseAdder = (f / (float) SAMPLE_RATE) * TWO_PI; } void SinOsc::addAudioOut(float * output, int bufferSize, int nChannels) { // sin (n) seems to have trouble when ...
25536f9cc54748991cb6289d776c64a667daab49
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/cpp/9981d57e58e2128ade22df81c30624db10bc0b39DataModel.cpp
9981d57e58e2128ade22df81c30624db10bc0b39
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
C++
false
false
699
cpp
9981d57e58e2128ade22df81c30624db10bc0b39DataModel.cpp
#include "DataModel.h" DataModel* DataModel::m_pInstance = nullptr; int DataModel::maxUnlock; bool DataModel::isMusic = true; bool DataModel::isSound = true; bool DataModel::isShowTeaching = true; bool DataModel::isFirstGame = true; bool DataModel::isActivatingGame = false; Vector<WayPoint*> DataModel::m_wayPoints;...
42cb8a5124762adeb14b979e7cbc7d037d1b2123
2bcd0a94bf08bc01537559b76d78f43b5faa12b0
/autotests/signunsignedfieldtest.cpp
3931c8055961816208ff7610c9188ab84e4f4418
[]
no_license
KDE/okular
ed140372e6482711adf43aa194ce396b611ed7d2
22f500fb6f9707a9e1a966b28bc284f831646dd1
refs/heads/master
2023-08-25T05:01:29.025425
2023-08-21T01:44:09
2023-08-21T01:44:09
42,731,366
671
164
null
2023-08-20T21:06:11
2015-09-18T15:43:52
C++
UTF-8
C++
false
false
3,704
cpp
signunsignedfieldtest.cpp
/* SPDX-FileCopyrightText: 2022 Albert Astals Cid <aacid@kde.org> SPDX-License-Identifier: GPL-2.0-or-later */ #include <QDialogButtonBox> #include <QLineEdit> #include <QMimeDatabase> #include <QPushButton> #include <QTemporaryFile> #include <QTest> #include <QTimer> #include "../core/document.h" #include "...
5963e15e858effacfac7e42ba3a018864799c378
c41ea8faad0e136bd5f1a33b5f4d97d733a50a01
/Engine/src/Ridge/Math/Vector2.h
9b2ac1f6dd916dd5a27dd694239e19db75246b49
[]
no_license
Dragon9815/Ridge
f8064452d8f8c9f2a18f73fb0f52135d06483fdb
d87e34f66105348409de628644fbc3291683d590
refs/heads/master
2020-05-04T18:02:42.935564
2019-04-03T17:19:08
2019-04-03T17:19:08
179,336,955
0
0
null
null
null
null
UTF-8
C++
false
false
5,130
h
Vector2.h
#pragma once #include <ostream> #include <cmath> #include <stdexcept> namespace Ridge { // Forward declarations ---------------------------- template<typename T> class Vector3; template<typename T> class Vector4; // ------------------------------------------------- template<typename T = float> class Vector2 {...
ab722b042b756c3806d51bc453dfe14188aea09a
a8ba578a4e60f2cd9005fa38213c0c71eaf7937c
/libraries/Motor/Motor.cpp
e53381612804972e64c6c45073b20af498715b29
[]
no_license
twiddler/Loop-ingLouie
6da7ba45e07ce569b0099fc91b448ed500e485b4
f2eb663e5cd416e71df8af5bb731fdceb0f50ea8
refs/heads/master
2021-01-24T11:20:04.022430
2016-10-07T15:18:55
2016-10-07T15:18:55
70,245,895
0
0
null
null
null
null
UTF-8
C++
false
false
1,443
cpp
Motor.cpp
/* Kontrolliert einen Motor */ #include "Arduino.h" #include "Motor.h" // Gibt das Vorzeichen einer Variable (int, float, double, ...) zurück // http://stackoverflow.com/a/4609795 template <typename T> int sgn(T val) { return (T(0) < val) - (val < T(0)); } // Zwingt den Wert n ins geschlossene Intervall [lower, ...
294bb2ae872dedd229a8cb7cb8055ae9ba000b4a
f7f69af928ff8842b9d89ef1f0d36383fe8009b6
/Greedy/calculate-money-in-leetcode-bank.cpp
c3d33e93ba4c60977e23f0b36c4a077e9f3cfced
[ "MIT" ]
permissive
PrakharPipersania/LeetCode-Solutions
f24820d2b4b911c61021e84d6b4caedc26433d4f
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
refs/heads/master
2023-04-22T04:59:46.609642
2021-05-10T08:27:57
2021-05-10T08:27:57
277,162,852
4
0
null
null
null
null
UTF-8
C++
false
false
240
cpp
calculate-money-in-leetcode-bank.cpp
class Solution { public: int totalMoney(int n) { int c=0; for(int i=1;n;i++) { for(int j=i;n&&j<i+7;j++,n--) { c+=j; } } return c; } };
72f50fe037c29c60bb2c508c08d71ce345683f55
dfed105fe0e5519b231a87480965548edfd398f3
/Client/src/hera/qtpieaction.cpp
c2656c8bc3b769e5d29e95559e25c5216293a775
[]
no_license
maaooo/liangshi
36e38339652bb95fd95fae253efb55f73c2f1e5b
09711db820d2e0747e98f6542f521bd03d80fdb2
refs/heads/master
2020-03-25T19:31:58.612218
2017-08-19T11:27:10
2017-08-19T11:27:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
801
cpp
qtpieaction.cpp
#include "qtpiemenu.h" #include "qtpieaction.h" #if defined(_MSC_VER) && (_MSC_VER >= 1600) #pragma execution_character_set("utf-8") #endif QtPieAction::QtPieAction(const QString &text, QVariant& data, QObject *receiver, const char *member): QtPieItem(text), _extraData(data) { SetType(Action); connect(this, SIGNAL...
70187244f84cc97c829801badb115d3d57f95c37
f9bded2d9a311315e01c2bb1c64723c51b6d5e3e
/AIMEngine/ShaderManager.cpp
e33edb004523a68856e807425029f9be260e151b
[]
no_license
Nekokino/D3DHybrid
b977c378cc3483ce757b773ab22df1a2e11976e7
925310114837dbb63baa5ade118304f0cca372d9
refs/heads/master
2020-04-14T13:20:37.752433
2019-05-31T00:55:49
2019-05-31T00:55:49
163,865,913
0
0
null
null
null
null
UHC
C++
false
false
14,389
cpp
ShaderManager.cpp
#include "ShaderManager.h" #include "AIMShader.h" #include "AIMDevice.h" std::unordered_map<std::string, Ezptr<AIMShader>> ShaderManager::ShaderMap; std::unordered_map<std::string, ID3D11InputLayout*> ShaderManager::InputLayoutMap; std::unordered_map<std::string, Ezptr<ConstBuffer>> ShaderManager::ConstBufferMap; std...
4daa1250e645ec7a2aa5c7110d7db9bdc6fa666e
9497c1c9cfbdfd4f79328cf5e4757d79dd9fdd21
/tests/archive/example.hpp
73bd1ab3306b3dbd5102818e807b468e67ff2758
[ "MIT" ]
permissive
NateChambers/duct-cpp
017233dce8deb7ffeef3b38ca64bb3a917a7aebe
0411a392956a8749ecb0908fda60d81a46bcdedb
refs/heads/master
2021-01-16T22:55:54.288681
2011-11-01T20:42:01
2011-11-01T20:42:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,210
hpp
example.hpp
#include <list> #include <unicode/unistr.h> #include <duct/archive.hpp> #include <duct/filestream.hpp> class MyEntry; class MyArchive; typedef std::list<MyEntry*> MyEntryList; class MyArchive : public duct::Archive { public: MyArchive(const icu::UnicodeString& path); ~MyArchive(); const char* getIdentifier() c...
27b05dfcb8a23ec268a0bb7166a6fa2c30cb6641
7dba71d0ad5d3f00140d428e61aef445aa4112b7
/contact-sensors-over-mqtt/contact-sensors-over-mqtt.ino
40c76bbfe65327b43cb8b717a28508ad0b28a372
[]
no_license
maskedpirate/contact-sensors-over-mqtt
0ff66e1ebb4c52d1d4ca6062ff7f6b76b884b553
d6c77e4d4234844e7fd4a3558cefb2bcd56dce5e
refs/heads/master
2020-04-20T17:33:38.292351
2019-02-03T19:08:55
2019-02-03T19:08:55
168,992,025
0
0
null
null
null
null
UTF-8
C++
false
false
5,935
ino
contact-sensors-over-mqtt.ino
/* * contact-sensors-over-mqtt * Monitors configured GPIO sensors for high/low and sends a message * to an MQTT topic. */ #include <ESP8266WiFi.h> #include <PubSubClient.h> #include "config.h" // Mapping NodeMCU Ports to Arduino GPIO Pins // Allows use of NodeMCU Port nomenclature in config.h #define D0 16 #defin...
b4c7a680d08c25290cdb0f2ec77f658ce2e47064
9a56c38d47e462bf06ed334455f4fd49f63b9864
/getResults.cpp
5a29c2e3ed0b7a06e7b1bb95f7aa367b12fc7cd7
[]
no_license
garroud/COMP3323-Assignment-
a93b160e71a5a4528c42dddb1caa0926af8cdd3a
d10252bc8aa7cb3b37227a8b9717e2d7b1fe87e7
refs/heads/master
2021-05-16T11:15:51.019615
2016-10-06T07:02:08
2016-10-06T07:02:08
69,375,720
0
0
null
null
null
null
UTF-8
C++
false
false
6,309
cpp
getResults.cpp
#include <iostream> #include <fstream> #include <string> #include <vector> #include <math.h> #include <stdlib.h> #include <time.h> using namespace std; // base(int n): check the size of bin, 11 if the last bin, 10 otherwise; double base(int n){ if (n == 7) return 11.0; return 10.0; } double estimate_eq...
f68625cfb6240907915285c62a8ce78ccceef09d
a802488c68d5c8607e8d4696b8244eaacc9c3ac2
/DK/DKFramework/Private/Vulkan/Image.h
767aa48efab8d743968d5dc459a59af535d53ece
[ "LGPL-2.0-or-later", "BSD-3-Clause" ]
permissive
Hongtae/DKGL
e311c6e528349c8b9e7e8392f1d01ac976e76be1
eb33d843622504cd6134accf08c8ec2c98794b55
refs/heads/develop
2023-04-28T22:02:44.866063
2023-01-14T02:11:30
2023-01-14T02:11:30
30,572,734
11
3
BSD-3-Clause
2023-01-18T03:02:10
2015-02-10T03:23:18
C
UTF-8
C++
false
false
2,724
h
Image.h
// // File: Image.h // Author: Hongtae Kim (tiff2766@gmail.com) // // Copyright (c) 2015-2019 Hongtae Kim. All rights reserved. // #pragma once #include "../GraphicsAPI.h" #if DKGL_ENABLE_VULKAN #include <vulkan/vulkan.h> #include "../../DKGraphicsDevice.h" #include "../../DKTexture.h" #include "Types.h" #include "...
5c94447fdca93f238277397b5c88e5ec99ee162d
aac2f7b52c9104f683b98f88bfa40ec9e89ad360
/课程c++代码/大二上程序设计代码/week8/maze3.cpp
cb9ff5217da3024ffa69e74b2d14c4c648dc0389
[]
no_license
sjyjytu/My-All-Code
988a21429782b9901a0ee3c4cd19e73e9521f685
0456bcc8b6fe7aabb58b747facfb92b578371912
refs/heads/master
2020-05-04T00:33:07.525129
2019-04-02T02:47:08
2019-04-02T02:47:08
178,886,944
1
0
null
null
null
null
GB18030
C++
false
false
7,413
cpp
maze3.cpp
#include <time.h> #include <iostream> #include <string> #include <random> #include <stack> #include <windows.h> #include <iomanip> #include <queue> #include <map> #define DENSITY 40 // #define RED 4 // #define GREEN 2 // #define YELLOW 6 // #define WHITE 7 // #define PURPLE 13 #define RED 204 #define GR...
d3f9f9d921c62bc2ac058de4a2625cc2ed297836
c4c7d6b36de28565e3fcf51827df64de3f71ee57
/src/command_rotate.cpp
50d6954f7e575c20c491c4abfcd95e23f0a64168
[]
no_license
sinamoeini/xtal
8cb8c0e9d6fe47da0a9af002cb74aabd673bd231
7e03b54bc7b665706e33d6385d0228d1004923e9
refs/heads/master
2020-05-15T10:09:10.851750
2017-07-27T14:53:30
2017-07-27T14:53:30
30,819,632
0
0
null
null
null
null
UTF-8
C++
false
false
4,977
cpp
command_rotate.cpp
#include <math.h> #include "command_rotate.h" #include "memory.h" #include "error.h" #include "box_collection.h" #include "region_collection.h" /*-------------------------------------------- constructor --------------------------------------------*/ Command_rotate::Command_rotate(Xtal* xtal, int narg,char** arg):Init...
ec5c1e95fa8c006d355c4236de3204f87e6ecae0
b9ac3f216183e3fc7f52845598c8b8e4eee2497d
/xls/passes/literal_uncommoning_pass.cc
23fd35bcd3db303f31759c23ba7306518170a69b
[ "Apache-2.0" ]
permissive
google/xls
ba225b411161836889a41c6d0e3a2fc09edc25ef
c2f3c725a9b54802119173a82412dc7a0bdf5a2e
refs/heads/main
2023-09-02T06:56:27.410732
2023-09-01T22:27:04
2023-09-01T22:28:01
262,163,993
1,003
152
Apache-2.0
2023-08-31T14:47:44
2020-05-07T21:38:30
C++
UTF-8
C++
false
false
2,325
cc
literal_uncommoning_pass.cc
// Copyright 2020 The XLS Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
334c4a47a1980ff1f8b7dde774d7aeaac37addbb
a6ef9674622f6e7c46ac31f4cfffbd568ff4f97e
/SteadyState_Rectangular_0_dt,25t3000/processor3/2000/p
0cab40d9549daddec7f082719e93691a341112ef
[]
no_license
jhargun/FluidIP
4c3f6d9a87ed8ce24ed692a9bf939a9ca04222f6
d6e0f20c1f5e1f86c160497be9d632e6d17abbf7
refs/heads/master
2022-08-26T02:34:26.327956
2020-05-26T22:33:29
2020-05-26T22:33:29
266,886,503
0
0
null
null
null
null
UTF-8
C++
false
false
576,261
p
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
7badff1df9c08c97831055ad10fbcf7966e22bd2
5289b5a61a5c17a4371204214724cf3b8c49b2cf
/common/classes/InGameEvent.cpp
7877683cafc4c9d63f3e280de73943afd097a869
[]
no_license
ishigo974/rtype
7e4daf50ca16f46d67c79c293dbd35d3a7641810
f45397e4240365e83f64479ccd1efcb98898303a
refs/heads/master
2021-01-10T10:23:51.626559
2015-12-27T22:23:33
2015-12-27T22:23:33
51,431,731
0
0
null
null
null
null
UTF-8
C++
false
false
6,014
cpp
InGameEvent.cpp
#include "IncompleteRequest.hpp" #include "NotImplemented.hpp" #include "InGameEvent.hpp" namespace RType { /* ** Static variables */ const size_t InGameEvent::headerSize = sizeof(uint32_t) + sizeof(uint16_t) + ...
c1bbe5e48c3e2bb3b70edfbe8e45b48e5a8a26e0
75db3640b0031a491f1cf3c2daafe9333b07e9ae
/10/ACT03.Notas/ACT03.Notas/archivo1.cpp
b4dafd4243a70e97f6060be3654568031daee910
[]
no_license
Ce28/cmasmastra
625d1aa5ad3d98c380e93e4fe4c6698db516f86a
10ad3d253703e2e6c0662b0a628a232beaad377e
refs/heads/master
2021-03-30T22:38:06.724869
2018-03-13T00:30:22
2018-03-13T00:30:22
124,463,265
0
0
null
null
null
null
UTF-8
C++
false
false
483
cpp
archivo1.cpp
#include<iostream> using namespace std; void main() { int nota = 0; int aprobados = 0; int reprobados = 0; for (int f = 1; f <= 10; f++) { cout << "Ingrese la nota del alumno: "; cin >> nota; if (nota >= 7) { aprobados++; } else { reprobados++; } } cout << "La...
4da4b35e94c55e42c8e5c3e4ff46c2752ba648bc
3002278fe2dece6a384249de87c9bf36947a080b
/Deadman_Wonderland_tone/Deadman_Wonderland_tone.ino
544412e03ac6c007de8913db87e7eaf84e9ac87f
[]
no_license
jimmytsoares/Arduino-tones
2476c0d58e494586719c8838d6d369b8185726fa
6f58ed36ec08b58dc6d7a2e473478f8d26172036
refs/heads/master
2021-05-14T22:35:45.742536
2017-10-10T04:11:19
2017-10-10T04:11:19
106,366,999
0
0
null
null
null
null
UTF-8
C++
false
false
738
ino
Deadman_Wonderland_tone.ino
int melody[] = { 659, 659, 587, 659, 698, 659, 587, 0, 440, 659, 587, 659, 698, 784, 523, 587, 523, 494, 0, 659, 659, 587, 659, 698, 659, 587, 0, 440, 659, 587, 659, 698, 784, 784, 784, 698, 659 }; int noteDurations[] = { 5,5,5,4,4,1,1,5, 5,5,5,4,4,2,5,3,5,3,5, 5,5,5,4,4,1,1,5, 5,5,5,4,4,2,5,3,5,3 }...
0a86e5ee5d9ca35a2089068287a214aeffaede5a
d7d66364f6e9867ba76bf2cbd7718def2644c4c2
/Multi_Thread/ThreadPool.cpp
6d99894d6128eac4e9bf5a05f65bc4cd053d9aeb
[]
no_license
lwzswufe/CppCode
ca61b2f410cca758c8968359234ae28c559e9683
dc9ee87b573acba4f59d26ef1f52b2b92b0982c1
refs/heads/master
2023-07-06T22:36:10.692762
2023-06-22T15:09:02
2023-06-22T15:09:02
105,245,499
0
0
null
null
null
null
UTF-8
C++
false
false
3,780
cpp
ThreadPool.cpp
#include <atomic> #include <thread> #include <pthread.h> #include <vector> #include <functional> #include <queue> #include <mutex> #include <time.h> #include <unistd.h> #include <sys/time.h> /* g++ -std=c++11 ThreadPool.cpp -o ThreadPool.out -lpthread */ // 线程安全队列 template <typename T> class safe_queue { public: ...
3c536a1b4113a880313654396f24b8f531bb3957
0bcd128368e2de959ca648960ffd7944067fcf27
/gm/filterbug.cpp
b4de6e2a48020bb56da9055008f4abde1f0d1056
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google/skia
ac6e39179cd33cf0c8a46d29c1a70bf78b4d74ee
bf6b239838d3eb56562fffd0856f4047867ae771
refs/heads/main
2023-08-31T21:03:04.620734
2023-08-31T18:24:15
2023-08-31T20:20:26
15,773,229
8,064
1,487
BSD-3-Clause
2023-09-11T13:42:07
2014-01-09T17:09:57
C++
UTF-8
C++
false
false
3,257
cpp
filterbug.cpp
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm/gm.h" #include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkColorPriv.h" #include "incl...
3e82ba22e875e21283005236af2ae38f6dfffa7a
7dcc325c38b27dfabd84d2c4816fbb94e1f15819
/BlackJack/deck.h
3bdc36048c2c7aaf9c9728224b21ba691149034d
[]
no_license
cunundrummer/BlackJack
67cf38f9ccacb6d9c49e5537c683190c0d325ab2
c8f73c90c7483db98794ce91e11e36a01800bd5d
refs/heads/master
2021-01-18T21:12:57.117892
2016-05-17T18:52:31
2016-05-17T18:52:44
40,152,104
0
0
null
null
null
null
UTF-8
C++
false
false
575
h
deck.h
// // deck.h // BlackJack // // Created by Leeran Pinckovich on 2015-05-07. // Copyright (c) 2015 Compulsive Gamblers inc. All rights reserved. // #ifndef __BlackJack__deck__ #define __BlackJack__deck__ #include <iostream> #include <algorithm> #include "cardpile.h" class Deck : public CardPile { private: con...
a7e8d49a87454c90d332ef262bd4f989883dfd5a
e79923c9512ea2db4ff58a846da3f4101e9b25b1
/ftdidevice/ftdidevice.h
34f46accedc85532a43df08137f139f5efad462e
[]
no_license
dostapazov/qtshared
a77a3b901b15ee803a25051e43aef73d01461a2f
d3d0f5eb1cbeeffe821b8c01cb07711079fac3c3
refs/heads/master
2022-07-29T20:35:13.442609
2022-07-12T20:07:50
2022-07-12T20:07:50
206,958,406
1
0
null
null
null
null
UTF-8
C++
false
false
2,898
h
ftdidevice.h
#ifndef FTDIDEVICE_H #define FTDIDEVICE_H #include <QIODevice> #include <QTimer> #include "ftdilib.h" class QFtdiNotifier; class QFtdiDevice : public QIODevice { Q_OBJECT public: explicit QFtdiDevice(QObject *parent = Q_NULLPTR); void set_params(QString ftdi_name, quint32 baudRate = FT_BA...
cfdf3091c113ab8da85d446ebe0abd0b74761ea6
845ee309254fe4521270ee0779ce41a0322c7fc0
/include/Runge-Kutta.hpp
1703f26f8fed0b700e96946ddc1b0cd779ddcb65
[ "MIT" ]
permissive
pycckuu/reaction_network
90205312876323704acf764399fb524fad3f460d
7941b11e0bb228fa47107a9d48947b18ed5c75e6
refs/heads/master
2021-01-17T08:22:10.504656
2016-03-17T21:20:27
2016-03-17T21:20:27
18,650,082
0
1
null
2016-03-17T21:20:27
2014-04-10T20:06:43
C++
UTF-8
C++
false
false
186
hpp
Runge-Kutta.hpp
#ifndef RUNGEKUTTA_HPP #define RUNGEKUTTA_HPP #include "OdeSolver.hpp" class RungeKutta : public OdeSolver { public: double SolveEquation(); }; #endif // RUNGEKUTTA_HPP
89c6ebdeb8d3b748582fe8cea0bb8d4f86f36fc2
cce0b23bf7e271a4d72bb7165bd2bbd7a1304eee
/homographysearch.cpp
605a3c3555eaedf46c53771fc74efa0310ba3bd8
[]
no_license
Dannyyyy/ComputerVision
1b56a068e1da27e9fe0e596bdc4cc546d9a3f598
db4367b8d4e2d7b3b5e5bde771ed1124ba3a0f4c
refs/heads/master
2021-01-19T13:31:06.489699
2017-04-27T09:37:35
2017-04-27T09:37:35
82,393,971
0
0
null
null
null
null
UTF-8
C++
false
false
4,545
cpp
homographysearch.cpp
#include <homographysearch.h> #include <random> using namespace std; void calculateMatrixA(gsl_matrix *A, const vector<NearestDescriptors> &overlaps, const vector<int> &indexes) { const int sizeMatrixA = A->size1; const int halfSize = sizeMatrixA/2; for(int i=0; i<halfSize; i++) { const int i...
7cb2cca740d9a3a8f9ffc86363c3f5b6e6fecddb
0f3c96b41f45c90803cf9db1af6c59b639c0a880
/pimsync/src/syncml/syncclient.cpp
fb1d1bfcea789f54d7b9835458a3df1022d35b7f
[]
no_license
saschpe/qtopia-pimsync
978f2d56cf7ea8a4706bc9a46e79e5b3a007c65c
5ce6e1c6472de92cbe561d3e285bbbd2c44dd69a
refs/heads/master
2020-12-24T15:14:10.148506
2009-07-23T13:20:19
2009-07-23T13:20:19
699,927
0
0
null
null
null
null
UTF-8
C++
false
false
9,598
cpp
syncclient.cpp
/**************************************************************************** ** ** Copyright (C) 2000-2008 TROLLTECH ASA. All rights reserved. ** ** This file is part of the Phone Edition of the Qtopia Toolkit. ** ** Licensees holding a valid license agreement from Trolltech or any of its ** authorized distributors ma...
00c610431569437a77cc5a64087b1e3d8ef0dd5e
4fac684af53fce28aecec08a88026d3ff76689b2
/Lava/src/Camera.h
40fcb160fa64e6e26c8c7827e8e29dc5412c82e4
[]
no_license
ivan-gil-dev/lavaEngine
ff2731e35401b849eb394b49e71220bf6773104d
e7defac9ead077aa929ae1b13b2bbbbe23c62911
refs/heads/master
2023-06-04T14:18:23.676592
2020-09-12T12:17:57
2020-09-12T12:17:57
294,929,976
0
0
null
null
null
null
UTF-8
C++
false
false
2,833
h
Camera.h
#pragma once #include "../vendor/glm/glm.hpp" #include "../vendor/glm/gtc/matrix_transform.hpp" #include "DataTypes.h" #include <GLFW/glfw3.h> namespace Lava{ class Camera { glm::vec3 cameraPos; glm::vec3 cameraUp; glm::mat4 projectionMatrix; double yaw, pitch; glm::vec3 cameraFront; public: bool firstMou...
12fae066a60a8f4e46090102b75d934b61ef2748
54b9e493500440edbcd8a3fac8876260f25c4d92
/friends_of_a_class/main.cpp
d98007bdfffc1505e9055fea6c4b152650e297df
[]
no_license
element2112/cpp_udemy_course
3f35b117b7f007385d560ceeb2002eff3c0d47c8
23f1fdf78e15f7725716fc5e39925f8010f9fc90
refs/heads/master
2022-08-19T14:34:17.634055
2020-05-25T23:55:23
2020-05-25T23:55:23
252,863,739
0
0
null
null
null
null
UTF-8
C++
false
false
1,302
cpp
main.cpp
#include <iostream> /* FRIENDS OF A CLASS * * Friendship must be granted NOT taken * Declared explicityly in the class that is granting friendship * Declared in the function prototype with the keyword friend * * Friendship is not symmetric * Must be explicity granted * if A is a friend of B * ...
931ab467ed5955cb5c7e68010b65789f8a7c34ee
ac4e161fb67df73eaf52852d6dadf4b53520a6f7
/game_server/game/cards/locations/LocationCard.cpp
f94119d1bb11be0fe9f7686889dd25255e321d20
[]
no_license
Neomer/pathfinder
b1e9428cf257030c00acdbb0bf2fcd8187ddc84f
fb6d097a05ad9e2b3a041cbd128d8eb230637d25
refs/heads/master
2023-01-07T16:17:09.305521
2019-07-01T04:38:22
2019-07-01T04:38:22
193,769,019
0
0
null
2023-01-07T07:01:46
2019-06-25T19:15:44
C++
UTF-8
C++
false
false
1,424
cpp
LocationCard.cpp
// // Created by vinokurov on 29.06.2019. // #include "LocationCard.h" #include "../../CardMetadataProvider.h" using namespace std::string_literals; CardMetadata::CardType LocationCardMetadata::getCardType() const { return CardType::Location; } void LocationCardMetadata::load() { } void LocationCardMetadata::...
cd2aec9c82b996178022bdfbe8ae6577a30b7559
4eaab46d2ae7395ca8c273e80bdae779368d68c3
/Contest 6/U_so_luong_hon_dao.cpp
e9d167155f6f71c14ce40c5cdf7bb2df1a375199
[]
no_license
ngoquanghuy99/Data-structures-Algorithms-problems-and-solutions
b96f15f2245d66f8914ebb1552e7540cd610c400
95bb1dba201f94b23ff6a45344ada2b9f64597aa
refs/heads/master
2022-12-25T04:49:39.605637
2020-10-06T15:48:45
2020-10-06T15:48:45
272,522,675
4
0
null
null
null
null
UTF-8
C++
false
false
1,233
cpp
U_so_luong_hon_dao.cpp
#include <iostream> #include <string> #include <cstring> int t, n, m; using namespace std; int a[1001][1001]; int iss(int a[][1001], int r, int c, bool visited[][1001]){ // return if row, col are in range and the value is 1 && not visited return ((r >= 1 && r <= n) && (c >= 1 && c <= m) && a[r][c] && !visited[r][c]);...
e94cb15ddcdde0ed63cf6def5d97ad866637618a
49c69709e7f856ba0f1f1875210837359dfcd125
/lz/290_blinking_leds/Private/RecognizeState.cpp
d00e60733dfa364030ab5615426c4a3e97ecab1a
[]
no_license
NadzwyczajnaGrupaRobocza/papuc_exercises
1198139567928e72c399d34bfebf9d5b0c77ee61
099ab051d1bcce32090e2078e7e64d2c52e23aa8
refs/heads/master
2020-05-21T16:41:25.999334
2018-02-02T18:06:32
2018-02-02T18:06:32
61,226,420
1
7
null
2018-02-02T17:45:28
2016-06-15T17:19:13
C++
UTF-8
C++
false
false
494
cpp
RecognizeState.cpp
#include "RecognizeState.hpp" #include "LedToken.hpp" #include <iostream> namespace lz { RecognizeState::RecognizeState() : commands{{"ld", LedTokenState::LedLdCommand}, {"out", LedTokenState::LedOutCommand}} { } LedTokenState RecognizeState::parse(const LedToken& token) { try { ret...
e56f1c9369ba0e206d47c061fb6c7933fb27da7b
08a6c08ef8377b92d31ed32360a7e57e98781e96
/Platform.h
3d20dd8f1e1c44dfc4993e832b3a2c07377bf53e
[]
no_license
Muhammadtayyab596/Taxi-Game-Managment-C-
e2740a873d63bc2b0c81eff22d366a4508b54c8b
bdd5648969984d7dffdf8aea0f8de3ec046cdea9
refs/heads/master
2022-12-13T01:37:07.623130
2020-09-13T14:26:15
2020-09-13T14:26:15
295,167,208
0
0
null
null
null
null
UTF-8
C++
false
false
375
h
Platform.h
#ifndef Included_Platform_H #define Included_Platform_H #include<iostream> #include<string> using namespace std; class Platform { private: string name; string id; string ip_address; static int numb; public: Platform(); Platform(string, string, string); void display(); voi...
d462fcd881d81778191197943d08929401fe03e7
7fb3d724b38f956ea549fd9c250eb2fd5b2b8a23
/src/tiled/objectsdock.cpp
b179033ae0f5096ae562ef24daccac99306155e2
[]
no_license
chenzujiang/tiled-map-editor
b355bdde79d836f1af669891612a9b5275ecb3bd
28dc164c625bbfdb0e39f6e6b4bdc5aac70ae3dc
refs/heads/master
2021-04-14T07:46:58.014886
2020-03-22T15:50:12
2020-03-22T15:50:12
249,216,650
1
0
null
null
null
null
GB18030
C++
false
false
17,529
cpp
objectsdock.cpp
/* * objectsdock.cpp * Copyright 2012, Tim Baker <treectrl@hotmail.com> * * This file is part of Tiled. * * 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,...