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
7b7038e42a10f202a009cbc6be2b1bb8a0e001a0
0cfc9a3873036a769128001f94fbf29b4e2befc3
/example/Light/sketch_light.ino
e73d98c220f662d12ddf67e1bae578c4d8ca1c87
[]
no_license
vertigo2004/RoboCar
6e799dcaa64df5016067aadabee8db930941c1fd
cd473818fc9ac7ea04df4762eff954cc05b68168
refs/heads/master
2020-03-31T05:13:17.338431
2020-02-15T19:16:34
2020-02-15T19:16:34
151,937,739
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,373
ino
sketch_light.ino
#include <RoboCar.h> RoboCar myCar; // Створити об'єкт RoboCar для керування авто-роботом void setup() { myCar.init(); // Ініціалізація задіяних вивводів Arduino Nano та задання кута } // центрального положення передніх коліс за замовчуванням void loop() { myCar.lightR(HIGH); // Увімкнути ...
fdd58c9c50ef5d806d363b9b45a16df225a191bf
3fec59e6d1ddeda6c307346d9325ffaf9fa3e6ef
/src/hdb/DWriteableDatrix.cpp
f9e3f9770a5eb767e8274750627be76b5d8354a8
[]
no_license
hdas/hdb
544bb028f7b700fd1996279043e6d4129453aaa4
f5f2cd757acf492fc8d7a226f0fe5c5a8148b3d0
refs/heads/main
2023-07-12T08:57:47.644766
2021-08-21T18:47:24
2021-08-21T18:47:24
391,749,801
0
0
null
2021-08-21T18:47:25
2021-08-01T22:08:40
C++
UTF-8
C++
false
false
434
cpp
DWriteableDatrix.cpp
// DWriteableDatrix.cpp: implementation of the DWriteableDatrix class. // ////////////////////////////////////////////////////////////////////// #include "DWriteableDatrix.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////...
d42df597fd4821ba83b8eb77cefc7b23b1864a0a
a843bb11e76e5e565424d65b8d2d744d38f1d20c
/DistroLauncher/Helpers.cpp
cb387e4095c7b6efffacf87c0ca3dd0a2d0228b2
[ "MIT" ]
permissive
DarkSeraphim/WSL-ArchLinux
d87339ee58c859076058020f1f30d74f855c94ef
cdf111ad5ee77d5ff99e91e8bdedbe0d712e8381
refs/heads/master
2020-05-23T19:14:34.025590
2019-05-01T16:20:39
2019-05-01T16:20:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,871
cpp
Helpers.cpp
// // Copyright (C) Microsoft. All rights reserved. // Licensed under the terms described in the LICENSE file in the root of this project. // #include "stdafx.h" namespace { HRESULT FormatMessageHelperVa(DWORD messageId, va_list vaList, std::wstring* message); HRESULT PrintMessageVa(DWORD messageId, va...
dc94b01f4f5feef6776e9ee7b3251315b193c0fb
713a4f64115dfc34b824ce9e5554cd19d3d1d83c
/ParallelDistributedServer/Code/WSock.h
67be9e10f56ee0de044e51e17d5023312fc5d97e
[]
no_license
kkokkojeong/comgraphics
cc646dd907ded89102b5f71f226ea9dada95681d
fdbfae4b00c9ab991b8e03066137543886082d66
refs/heads/master
2021-07-07T12:36:37.064096
2019-02-21T14:57:06
2019-02-21T14:57:06
146,085,960
1
1
null
null
null
null
UTF-8
C++
false
false
2,351
h
WSock.h
/*! \file WMPI.h \brief a class for TCP/IP socket */ #ifndef WSOCK_H #define WSOCK_H #ifdef _WIN32 ///< Windows #include <winsock2.h> #else ///< Linux #include <unistd.h> #include <arpa/inet.h> #include <sys/socket.h> #endif #include <assert.h> #include <iostream> #include <stdio.h> #include <stri...
bcd06e20df28db12daaee81ad2e463b368ab15e5
78dddbb0f748bf75e58d12f8222e3b637d6adc27
/src/gl_driver.cpp
0e5816ce5e2ddbeac45d75a5bc7f391a1c4dc851
[ "MIT" ]
permissive
STEMLab/TICA
bd9ae072bbbe01888fddc4918f5bb983ba94bd07
e25bce69bd41172db5ff29d08c001229ddafa26c
refs/heads/master
2023-01-09T00:10:37.714522
2022-12-25T13:23:07
2022-12-25T13:23:07
168,680,253
6
0
MIT
2020-11-09T04:31:20
2019-02-01T10:19:58
Game Maker Language
UTF-8
C++
false
false
3,424
cpp
gl_driver.cpp
#define IMGUI_IMPL_OPENGL_LOADER_GLEW #define GLM_ENABLE_EXPERIMENTAL #include <imgui.h> #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <stdio.h> #include <GL/glew.h> #include <GLFW/glfw3.h> void init(void); void make_ui(void); void process_frame(int w, int h); void postdraw(void);...
f53edfe6e4c213260fa3e345563571ef6158a3e1
1da13017336f9461a34208f57686849f69c28384
/Builder/src/shenzhou_airshipDirector.cpp
2f4cadae8d47d26bab08121b33cada05b5505915
[ "Apache-2.0" ]
permissive
NEWPLAN/design_pattern
65b1614aa61166611d999113e6df9d0ad042860b
07e332cc80008e9f1c263b53a94359b2c5884651
refs/heads/master
2020-03-31T02:36:47.963813
2018-12-13T07:26:05
2018-12-13T07:26:05
151,832,536
1
0
null
null
null
null
UTF-8
C++
false
false
465
cpp
shenzhou_airshipDirector.cpp
#include <shenzhou_airshipDirector.h> ShenzhouAirshipDirector::ShenzhouAirshipDirector(AirshipBuilder *builder) { this->builder_ = builder; } AirShip *ShenzhouAirshipDirector::create_airship() { Engine *eg = builder_->build_engine(); OrbitModule *ob = builder_->build_orbitModule(); EscapeTower *et = builder_->buil...
eca088b3fded1bbc98d15a03845e9fbb48052d3e
4c23257c501506f421c5a211808175e6024eb0e8
/classes-main.c++
0230e5c24d9138eb3c88528dd0a8fa9415614fcb
[]
no_license
WMiller256/SOAnswers
8655fc74c7eec505beeb44d5aa414d52db1945d6
95b99cbc3c8aadea59eb69389541e0ece2f4b55f
refs/heads/master
2021-04-22T04:30:40.337655
2020-12-03T19:02:11
2020-12-03T19:02:11
249,850,902
0
0
null
null
null
null
UTF-8
C++
false
false
70
classes-main.c++
#include "classes.h" int main() { B b; b.makeA("Hello world"); }
9186a6df8f3d84b1844c3ae7587cd23eba7c8c13
2be90c77223019a11d83248c116cc8e13b9d04b9
/Algorithm/Recursion/pascalTree.cpp
bd3624c473ae16e4d8422e21357ace835f75a7de
[]
no_license
SChen1024/COJ
33f20c69c6250849d833c14a8f97a46051db0ad1
278835a7a6f7e911b180185b7d3169419bfa5135
refs/heads/master
2020-04-17T02:43:25.761086
2020-04-16T07:41:29
2020-04-16T07:41:29
166,149,905
2
0
null
null
null
null
UTF-8
C++
false
false
2,770
cpp
pascalTree.cpp
/*****************************************************************/ // 包含必须的头文件 #include <iostream> #include <vector> #include <queue> #include <limits.h> #include <bits/stdc++.h> using namespace std; // 定义本地 #define LOCAL_ 1 typedef vector<int> Vint; typedef vector<string> Vstr; typedef vector<...
cbca9b56a3df20da2c9e13c5d4b569f7cce58fca
94a0a1abe121a674be8754ddece91a1285144deb
/WasteWaterPumpControl.ino
555624b90773190ee3a1f1cb8cacd8d359236f20
[]
no_license
kolevbm/WasteWaterPumpControl
d848d0642acd8face1cadfd4ba15dac2f73d6577
43bd302803ad2fe5452b119a8d430449889ec391
refs/heads/master
2021-01-23T15:43:09.775079
2017-06-03T21:07:51
2017-06-03T21:07:51
93,270,769
0
0
null
null
null
null
UTF-8
C++
false
false
2,827
ino
WasteWaterPumpControl.ino
#include <EEPROM.h> int buttonPin = 2; int val ; int val2 ; unsigned long previousMillis = 0; long interval_1 = 1000; long interval_2 = 5000; int btnpress =0 ; int timer_1 = 0; String read = ""; void setup() { Serial.begin(9600); pinMode(buttonPin, INPUT); pinMode(13, OUTPUT); pinMode(12, OUTP...
0424d597ac442171954a181d0cd7ecb8ef4c78fd
384497dfcc4cbd789cd35fa3c4b75ececefcf765
/shared/utility/support/evil/pure_evil.h
a437344915c81a2f880b06ef861ae619b6b006eb
[ "MIT" ]
permissive
Fastcode/NUClearExample
061947f59f7b8beadbe7a6ab3965ec72927ba03d
1ce424a935a035df20bbc6d8018bd2bcd4194dd9
refs/heads/master
2020-12-08T09:32:46.561577
2018-12-16T00:24:48
2018-12-16T00:24:48
67,031,019
0
1
null
null
null
null
UTF-8
C++
false
false
2,101
h
pure_evil.h
/* * Copyright (C) 2013-2016 Trent Houliston <trent@houliston.me> * * 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 restriction, including without limitation the * rights to use, c...
1f97213df39a310efd5ae247f130c13e3852b55c
7283ed93ab16726879969eaa629f80456c00bc64
/src/anal_WriteID.cpp
1590570c4bc44ad7a4ec7fb7c1b418db5b9d64aa
[]
no_license
takayuki0528/LammpsAnalysis-cpp
8b8e4233e00e0b81ad62b56f1654e8fc74c5a53f
e19fd6c69ca339525903e5495440b52ff5e09e15
refs/heads/master
2021-01-23T08:09:33.679747
2017-04-09T06:16:44
2017-04-09T06:16:44
80,526,294
0
2
null
null
null
null
UTF-8
C++
false
false
1,840
cpp
anal_WriteID.cpp
#include <sys/stat.h> #include "utility.h" #include "anal_WriteID.h" using namespace Bistro_NS; Anal_WriteID::Anal_WriteID(Bistro *bstr, const std::vector<std::string> &order) : AnalysisBase(bstr) { // 設定の読み込み for (std::string line : order) { std::vector<std::string> strs = split(line,' '); if (strs[0] =...
986aeb32f1e46fd2e725df732429050f0466751a
cad04bb71f3afd50c4df3b2f321cd378d3ad8cb9
/OJ practices/PAT甲级真题练习/1110. Complete Binary Tree.cpp
fe038c2b8cf42998abd124ca4067c6163d6d7050
[]
no_license
SourDumplings/CodeSolutions
9033de38005b1d90488e64ccbb99f91c7e7b71ec
5f9eca3fe5701a8fca234343fde31cfcba94cf27
refs/heads/master
2023-08-16T17:23:34.977471
2023-08-07T13:14:47
2023-08-07T13:14:47
110,331,879
10
8
null
2023-06-14T22:25:16
2017-11-11T08:59:11
C
UTF-8
C++
false
false
1,688
cpp
1110. Complete Binary Tree.cpp
/* @Date : 2018-02-27 08:57:56 @Author : 酸饺子 (changzheng300@foxmail.com) @Link : https://github.com/SourDumplings @Version : $Id$ */ /* https://www.patest.cn/contests/pat-a-practise/1110 */ #include <iostream> #include <cstdio> #include <queue> #include <string> #define EMPTY -1 using namespace std; st...
43cfe443ff6d01ebc46406723c5d35a43b5eebd6
b892d09ef6e41d3ffdb0e2486d5c8fda82e03595
/rhic/jail/rhic-harness/src/main/cpp/edu/osu/rhic/harness/cli/CommandLineArguments.cpp
8cd3e7bbd18590040dba8ab3278f8b92269374d1
[ "MIT" ]
permissive
K-JW/cpu-vh
d2674f6ebd62e2985ba03784a2d6b051a37a5e51
2d91c4726639135b2c25c155bc16d9b3c97e5e16
refs/heads/master
2022-04-17T10:46:55.058552
2020-04-13T18:07:42
2020-04-13T18:07:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,465
cpp
CommandLineArguments.cpp
/* * CommandLineArguments.c * * Created on: Oct 23, 2015 * Author: bazow */ #include "edu/osu/rhic/harness/cli/CommandLineArguments.h" const char *argp_program_version; const char *argp_program_bug_address; /* OPTIONS. Field 1 in ARGP. Order of fields: {NAME, KEY, ARG, FLAGS, DOC}. */ static struct...
c4a60ae060770eb491e96e57f9a85c4ed7e7b3f1
c4f08a2f7f4c6c6813c7972fdd5a602ef84f0b72
/SGX/Cliente/Enclave/Enclave.cpp
e039c000341f0d5ef31f7250f1f8b4ff5d117a2d
[ "MIT" ]
permissive
raulocana/TFG-Chat_SGX
37700c8f963b26aebf609f25c381f2f26cfc3781
098a0d909c673409e99384d0df9db9e3353bc549
refs/heads/master
2022-03-02T19:46:08.084898
2018-11-26T10:41:37
2018-11-26T10:41:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,137
cpp
Enclave.cpp
//Librerias necesarias para la compilacion de SGX #include <stdlib.h> #include <string.h> #include "sgx_tcrypto.h" #include "sgx_trts.h" #include <stdarg.h> #include <stdio.h> #include "Enclave.h" #include "Enclave_t.h" #define MAX_BUF_LEN 1024 //Tamano maximo de las tramas //- INICIALIZACIÓN VB...
25eb4f57932d0d197f06d412d40de78a7ee22762
b8d9875b2c627460f9506a97690af479a32bfda9
/T10/Z4/main.cpp
80bad357889866892b98b08647afdced1ae47c4d
[]
no_license
BakirK/TP
4a61b5ca3a02189bbb7ef311450805270f927934
a2d58c774c21b2f1fa03dba86be63cd48cc6b1df
refs/heads/master
2022-12-23T14:51:54.768045
2020-09-24T14:57:49
2020-09-24T14:57:49
298,311,548
0
0
null
null
null
null
UTF-8
C++
false
false
3,075
cpp
main.cpp
#include <iostream> #include <cmath> #include <iomanip> class Ugao { double vrijednostUgla; public: Ugao(double radijani = 0) { Postavi(radijani); } Ugao(int stepeni, int minute, int sekunde) { Postavi(stepeni, minute, sekunde); } void Postavi(double radijani) { while (radijani < 0) { radijani += 2. ...
46eace41cbcf591f8a604689126df8b4ab479191
d4ba636068fc2ffbb45f313012103afb9080c4e3
/NuGenOctree/src/OcTree/hxa7241_graphics.hpp
4b4439e3d6b7169ffb832dcc0336ef1241f85205
[]
no_license
SHAREVIEW/GenXSource
785ae187531e757860748a2e49d9b6a175c97402
5e5fe1d5816560ac41a117210fd40a314536f7a4
refs/heads/master
2020-07-20T22:05:24.794801
2019-09-06T05:00:39
2019-09-06T05:00:39
206,716,265
0
0
null
2019-09-06T05:00:12
2019-09-06T05:00:12
null
UTF-8
C++
false
false
2,204
hpp
hxa7241_graphics.hpp
/*-------------------------------------------------------------------- Octree Component, version 2.0 Copyright (c) 2004-2005, Harrison Ainsworth / HXA7241. http://www.hxa7241.org/ --------------------------------------------------------------------*/ /*-----------------------------------------------------...
c05675edd48828bfae551402a1f18cd2028c3d08
b2c66c8de198d9915dfc63b8c60cb82e57643a6b
/WordsCheater/trunk/IDict.cpp
54a13daf37de40f6af6935d6fd418be1658dd7ef
[]
no_license
feleio/words-with-friends-exhaustive-cheater
88d6d401c28ef7bb82099c0cd9d77459828b89ca
bc198ee2677be02fc935fb8bb8e74b580f0540df
refs/heads/master
2021-01-02T08:54:47.975272
2011-05-10T14:51:06
2011-05-10T14:51:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
46
cpp
IDict.cpp
#include "IDict.h" IDict::~IDict( ) { }
ed83fc14a9281d741ca36b51b62e0d2ec8938f76
e29309c97510aaf2885a9672e79bb51f5e5f70d7
/ospray/AlphaSpheres.cpp
e77689c408c565fdd0bd00d993b6607f085775e8
[]
no_license
p13i/ospray-module-pkd
546060450af63b900f768941670187f7f9ba4618
b83f512051c93373da6db8a799d2aa8c5242ae28
refs/heads/master
2022-02-19T03:39:17.094079
2019-08-27T19:25:47
2019-08-27T19:25:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,393
cpp
AlphaSpheres.cpp
// ======================================================================== // // Copyright 2009-2014 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
1651e3c21d85c65c4ccaddbf127d9b8168aff90b
5ff30d64df43c7438bbbcfda528b09bb8fec9e6b
/kcore/sys/Logger.h
29128ac99303e8af4dbe3f396933926589f57c31
[]
no_license
lvtx/gamekernel
c80cdb4655f6d4930a7d035a5448b469ac9ae924
a84d9c268590a294a298a4c825d2dfe35e6eca21
refs/heads/master
2016-09-06T18:11:42.702216
2011-09-27T07:22:08
2011-09-27T07:22:08
38,255,025
3
1
null
null
null
null
UHC
C++
false
false
2,129
h
Logger.h
#pragma once #include <kcore/sys/Thread.h> #include <kcore/sys/Queue.h> #include <kcore/sys/LogFile.h> #include <kcore/sys/Tick.h> #include <bitset> namespace gk { enum FEATURE { FT_DEBUG = 1 , FT_DEBUG_FLOW , FT_INFO , FT_WARN , FT_ERROR , FT_SERVICE , FEATURE_...
15ffce24c2c2573e723bf7a8301a2f80b0752ecf
ba1e90ae6ea9f8f74d9b542e159825341c717712
/2017/lcMaxSum3NonOverlapping.cpp
821a2c92924156f7e46e9647c06921c869c6634f
[]
no_license
sailesh2/CompetitiveCode
b384687a7caa8980ab9b9c9deef2488b0bfe9cd9
5671dac08216f4ce75d5992e6af8208fa2324d12
refs/heads/master
2021-06-24T22:39:11.396049
2020-11-27T05:22:17
2020-11-27T05:22:17
161,877,355
0
0
null
null
null
null
UTF-8
C++
false
false
2,538
cpp
lcMaxSum3NonOverlapping.cpp
#include<bits/stdc++.h> using namespace std; class Solution { private: int hasMax[30000]={0}; int hasMax2[30000]={0}; int saveMax[30000]={0}; int saveMax2[30000]={0}; public: vector<int> maxSumOfThreeSubarrays(vector<int>& nums, int k) { long long int sm=0,maxi=-1,maxiSum2=-1,s...
cc4483979af10d0431e1d3bf16ae1e9cdfc729d7
549f66608f0cb4e50cee2e51c53206e798ab82cd
/lib/Expr/Expr.cpp
7feba8ab4a4372e0e9cc7c7b7c5f5ec19d066473
[ "NCSA" ]
permissive
klee/klee
c8da2f9668ee199af47cd2c784cea979017d7704
7082eafd05b4f268132ab94772c0243dbebf5087
refs/heads/master
2023-08-04T08:10:38.619540
2023-06-23T21:34:12
2023-07-21T09:00:02
11,568,417
2,339
679
NOASSERTION
2023-09-11T10:23:26
2013-07-21T22:03:03
C++
UTF-8
C++
false
false
39,569
cpp
Expr.cpp
//===-- Expr.cpp ----------------------------------------------------------===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
1d085ee79c4ed239464d62847919264b4bc01c83
370a48d63ae2fadfed0f8f39f1da31afc942d12f
/src/trainSet/memoryInputSet.cpp
e793c17f5856af6abeeb2de61f2e071f9227d41d
[]
no_license
elcabesa/neuralNet
43c3ee1fae610581b286dff811c7355998f513dc
dea4438bcea2d46d28940e33172c6959853d7bd1
refs/heads/master
2023-01-29T18:16:05.603718
2020-09-12T08:04:09
2020-09-12T08:04:09
294,898,184
0
0
null
null
null
null
UTF-8
C++
false
false
3,323
cpp
memoryInputSet.cpp
#include <iostream> #include <random> #include "memoryInputSet.h" #include "labeledExample.h" #include "dense.h" MemoryInputSet::MemoryInputSet(){} MemoryInputSet::~MemoryInputSet(){} void MemoryInputSet::generate() { std::cout<<"create input "<<std::flush; const int SIZE = 10; const int BATCH_SIZE = 100...
49d77bfd00cb61c0219124e06038da3d5a79d8b1
fd1d1abfa3584cc499e95b8440b3cde614d8f595
/Week7/Sort-names.cpp
966156da76f2ad85162a3145ae968c090d8ef1f6
[]
no_license
J-Xiao/CPP
8c14da734515e1c9bcac8b130263151cd270a036
cbe7c5f4ae2c3292929828816db04dd44fe8aed7
refs/heads/master
2020-12-24T19:04:16.776512
2016-05-17T15:09:03
2016-05-17T15:09:03
59,032,823
0
0
null
null
null
null
UTF-8
C++
false
false
1,216
cpp
Sort-names.cpp
#include<iostream> #include<string> #include<string.h> #include<cstdlib> using namespace std; int main(int arg, char *args[]){ string temp; int p=0, q=0, i=0, j=0, k=0, min, min1, l1, l2, l3, l4; p=atoi(args[1]); string firstname[p+1], lastname[p+1]; for(int r = 0; r < p;...
a39267aea1038dda9f71b677ccd6b7d7a65bc257
761e15d5dad0eef8a330ca36d4a09a049bb1d2d0
/zhou_yb/application/test_frame/linker/TestLinkerHelper.h
eb2bfb4ae1e4f3a6bd386dcc6ca5491eeb0ebf14
[]
no_license
radtek/libzhouyb
8abff4942faf2aca898929dce2c0571097ec3377
05bab65246d760d94db3028267ef488a74ea26a1
refs/heads/master
2020-06-01T11:07:08.930921
2016-05-21T01:51:00
2016-05-21T01:51:00
null
0
0
null
null
null
null
GB18030
C++
false
false
3,683
h
TestLinkerHelper.h
//========================================================= /**@file TestLinkerHelper.h * @brief 测试连接器辅助操作(对特定的接口赋值) * * @date 2016-04-30 14:05:58 * @author Zhyioo * @version 1.0 */ //--------------------------------------------------------- #ifndef _LIBZHOUYB_TESTLINKERHELPER_H_ #define _LIBZHOUYB_TESTLIN...
e6724d379562cf3d4e2dd21b351a26e48601fdb3
f116d6fb60c60f12cfb33ead136abe7f352ee6ec
/problems/KMP/BOJ 1701/김용주.cpp
6f47e055d07c7720b5aaf82a6e806473be61a133
[]
no_license
HandongProblemSolvers/Problem-Solving
acc1182c74540b40b4f6ff1801ddb92b53c888e9
abfc87da962f39a9d1d1f905f21ae5346163aa98
refs/heads/master
2020-04-25T07:55:36.221281
2019-09-08T00:35:21
2019-09-08T00:35:21
172,628,925
3
18
null
2019-03-19T14:21:28
2019-02-26T03:13:11
C++
UTF-8
C++
false
false
507
cpp
김용주.cpp
//BOJ1701 Cubeditor #include <iostream> #include <cstring> #include <algorithm> using namespace std; #define MAX_S 5001 char S[MAX_S]; int fail[MAX_S], s_len, ans; int main() { cin >> S; s_len = strlen(S); for (int k = 0; k < s_len; k++) { memset(fail, 0, sizeof(fail)); fail[k] = k; for (int i = 1 + k, j = ...
87a11ef75c9e213469cc2905578db7711b082a81
5afcb75da0bc3781c238db39846ec2bb3f1bc82b
/leetCode/May30_DayChallenge/Week3/MaxSumCircularArray.cpp
246289d85be146150ca33867a042cbd714642d08
[]
no_license
tejasMadrewar/CPP_practice
948c5c124aabfc4767cc92d8f7eb31ea9824ee88
ace7db0feb8d33f290ff9076e2fcf0d8987e73eb
refs/heads/master
2022-11-08T07:34:46.204254
2020-06-27T14:24:54
2020-06-27T14:24:54
261,197,844
0
0
null
null
null
null
UTF-8
C++
false
false
1,367
cpp
MaxSumCircularArray.cpp
#include<bits/stdc++.h> using namespace std; #define PRINT cout << "PASS\n"; else cout << "FAIL\n"; class Solution { public: int maxSubarraySumCircular(vector<int> &A) { int sum = 0; int curMaxPrefix = 0, maxSum = INT_MIN; int curMinPrefix = 0, minSum = INT_MAX; for (auto &num...
822d3127baa9a13ba8d63825ea2ccce95733a405
80f52f1c99f513fb3d3132f33914a114b9744c2f
/src/core/activity_traits.cpp
0be3b286e0a93d9e4ece2cd7811ae0c59c6aa644
[ "MIT" ]
permissive
Reaping2/Reaping2
d9de6f0d40435eea3f5556bcd4eb59372a6af320
0d4c988c99413e50cc474f6206cf64176eeec95d
refs/heads/master
2021-04-24T15:39:47.869327
2017-11-23T02:40:33
2017-11-23T02:40:33
13,726,229
3
14
null
2017-11-23T02:40:34
2013-10-20T20:23:39
C++
UTF-8
C++
false
false
1,603
cpp
activity_traits.cpp
#include "platform/i_platform.h" #include "activity_traits.h" #include "player_controller_component.h" #include "i_collision_component.h" #include "i_activity_component.h" #include "platform/settings.h" namespace core { ActivityTraits::ActorScaleFunc ActivityTraits::mScaleFunc; ActivityTraits::ActiveSizeFunc Activity...
2f8f105d2792e1ce9a6d585bdc4691b7c3aab0af
81fd0db25f9bf2adebfe61135d2635417bcaaa24
/include/aimove/SearchResult.h
353b75fd1d29f29598849044f74cea97e011670b
[]
no_license
daggarwa/TicTacToe
9bd330f745e15cb17da21124443f3c949ab63715
f73410a8548298326ecda4e7bf72f6147c165b94
refs/heads/master
2020-05-01T04:26:14.500300
2019-03-23T18:37:30
2019-03-23T18:37:30
177,273,036
0
0
null
null
null
null
UTF-8
C++
false
false
861
h
SearchResult.h
#pragma once #include "core/Move.h" /** * Container class for returning move along with score * after evaluating all possible moves for AI player * through minimax * * @author d */ class SearchResult { /** current move*/ Move move; /** score on move */ int score; public: /** * Gets the score. ...
ce9b505bd7a107afdd02c10df191794e9cd5adf8
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc077/C/1395534.cpp
7051f3f8d55810e335f60a3d2d61b0cc8fdf55a9
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
C++
false
false
1,853
cpp
1395534.cpp
#include <iostream> #include <vector> int main() { unsigned n, m; std::cin >> n >> m; unsigned long long num = 0; unsigned long long cost = 0; unsigned long long ans = 0; std::vector<std::pair<unsigned, unsigned>> a(n); std::vector<std::pair<unsigned, unsigned>> x(n); std::vector<std::pair<u...
39ab459c2bc6677048295619de848c3fb37d7f84
a6807a743b8822273c9e020dcff06ae032837356
/Core/Src/main.cpp
97338874b1813ff7d37d01957a4f3c490dddd683
[]
no_license
meldundas/new769
9ea80e6712a22e4f2ca2a6e3ba02f8414ac42248
fae3670d7dc5370b535dddad7d00b23bdb8b1b6e
refs/heads/master
2020-08-28T03:35:37.103223
2019-10-25T16:49:50
2019-10-25T16:49:50
217,576,336
1
0
null
null
null
null
UTF-8
C++
false
false
40,622
cpp
main.cpp
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
21ac36a5440f696034375e3b9718761d4bde5a69
9b553bbfc8b0807d7f860964d6044d6ccf6d1342
/libs/MSL_C.PPCEABI.bare.H/Math/Double_precision/e_pow.cpp
31528583cf153273d5f3760334cf047b9a6cc71e
[]
no_license
DedoGamingONE/tp
5e2e668f7120b154cf6ef6b002c2b4b51ae07ee5
5020395dfd34d4dc846e3ea228f6271bfca1c72a
refs/heads/master
2023-09-03T06:55:25.773029
2021-10-24T21:35:00
2021-10-24T21:35:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,096
cpp
e_pow.cpp
// // Generated By: dol2asm // Translation Unit: Math/Double_precision/e_pow // #include "MSL_C.PPCEABI.bare.H/Math/Double_precision/e_pow.h" #include "dol2asm.h" #include "dolphin/types.h" // // Forward References: // extern "C" void __ieee754_pow(); // // External References: // extern "C" void ldexp(); extern "...
456910e8f7ca3362c5e2ad11349cc646e0134ac3
588a27f33a1de1a57fea4fa60936a92f9d225689
/modernCpp/functionalCPP/testMemoization.cpp
29c1f8c9e4e9e3ec810d1cc2641a9484f737f51e
[]
no_license
workOnCarrier/ProgrammingLab
64cd14f3eae31ecbd04fed0ad45ac42367946b17
96702a7dfe3d5f537e5f3e0621f7f59e8cc3a54c
refs/heads/master
2021-04-15T05:41:56.179677
2019-08-12T16:10:37
2019-08-12T16:10:37
7,391,946
0
0
null
null
null
null
UTF-8
C++
false
false
380
cpp
testMemoization.cpp
#include "Memoization.h" #include <iostream> using namespace std; auto main() -> int { cout << "testing memoization" << endl; int a = 50; int b = 10; int c = 1; Memoization<int,decltype(cout)> multiply_impure([&](){ return a*b*c; },cout); for ( int i = 0; i < 5; i++ ) { c++; cout << "output ...
ad2157f64c76eb3854e164f93f57c152b96bd2b0
470c94ac889ae0f3148a20631908c06924f4d98b
/hoge.cpp
7c18f3fa720bb19e5aa94ed17c5ec879abeea5bd
[]
no_license
negi3939/manipulatcalc
8d1e8049359c769fa761afd7d34320ce5699b460
55d88f04ac1faee3222793ee95b931a9ffa5e418
refs/heads/master
2023-01-27T23:18:59.272044
2020-10-26T11:48:44
2020-10-26T11:48:44
303,118,458
0
0
null
null
null
null
UTF-8
C++
false
false
2,102
cpp
hoge.cpp
#include <iostream> #include <iomanip> #include <sstream> #include <fstream> #include <unistd.h> #include <getopt.h> #include <stdlib.h> #include <stdio.h> #include <string> #include <stdint.h> #include <vector> #include <math.h> #include <unistd.h> #include <sys/types.h> #include <sys/times.h> #include <sys/time.h> #i...
a3cb06e5d5c39000faa82cc2b6e01250dcd54598
ff33f75409644d520673e301f0574bd77b3eeb83
/Graphics For Games/14) Shadow Mapping - Copy/Renderer.h
fe68df35e7dd2d29db930e0bdb1a50ac48bc356c
[]
no_license
Crinnion0/OpenGL-Graphics
22ac9bf2102b6deb9000c26666cf20b9cce3b763
e43964e492b0f59ec4b6386e9f7b5cd593406bdd
refs/heads/master
2020-03-10T01:50:02.970548
2018-04-11T16:12:19
2018-04-11T16:12:19
129,120,636
0
0
null
null
null
null
UTF-8
C++
false
false
1,112
h
Renderer.h
#pragma once #include "../../nclgl/OGLRenderer.h" #include "../../nclgl/Camera.h" #include "../../nclgl/MD5Mesh.h" #include "../../nclgl/MD5Node.h" #include "../../nclgl/HeightMap.h" #include ".././nclgl/ParticleEmitter.h" #define SHADOWSIZE 2048 // New ! class Renderer : public OGLRenderer { public: R...
98858f0d09ecb0e7fb21e77f78c7c379ab5f7a74
bd84d2257e27da37c393b676a02ac6bba64833ec
/frc2018/src/RobotModel.cpp
29f59a5e333ce9388cc99a772a76ab37dc971894
[]
no_license
team1868/frc2018
4bf6d14529484cc820ab9aab7b36469c56f1f7c3
2be9ee198c3342d5e36b242344e58529fedbe912
refs/heads/master
2022-05-09T03:08:21.146176
2019-01-05T08:17:30
2019-01-05T08:17:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,710
cpp
RobotModel.cpp
#include <WPILib.h> #include <RobotModel.h> const double WHEEL_DIAMETER = 6.0 / 12.0; // TODO CHANGE const double ENCODER_COUNT_PER_ROTATION = 256.0; const int EDGES_PER_ENCODER_COUNT = 4; const double ELEVATOR_DISTANCE_PER_PULSE = (43.25 / 12) / 1165; // VALUE FROM PRACTICE BOT in feet #define COLLISION_T...
a9c8e44246ed2c8debbbf3b4ec9ccef041e35eb6
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/arangod/StorageEngine/HotBackup.h
9a54faa34ddbbc6ddefc276c66fb3c7ab898a2ce
[ "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "BSL-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
2,688
h
HotBackup.h
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2023 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
d420347f4014388ad1927da584fc8c585da4d5f4
02d6cdb9fa5aed9391a89c7af66df521b9179530
/Airline Shortest Path/containers.h
5d229db303d78f5dcf336072027856a73fe94ef4
[]
no_license
atakhmaz/Projects
460807b79c8a63c3a3fc6a7726163997908e25a8
7895bf05682174a667f18fc40f20ce82e139e203
refs/heads/master
2021-01-21T10:59:43.854695
2018-01-17T07:22:30
2018-01-17T07:22:30
83,509,133
0
0
null
null
null
null
UTF-8
C++
false
false
4,163
h
containers.h
#ifndef CONTAINERS #define CONTAINERS #include <iostream> #include <fstream> #include <string> #include <vector> #include <ctime> #include <map> #include <cmath> #include <algorithm> #include <set> #include <ctype.h> using std::clock_t; using std::clock; using std::ostream; using std::ofstream; using std::ifstream; u...
87d63ea9896573f8a317ac539161a9f4d61a867b
99dd662b227cd6e8bf84849a5c4045193685c700
/proj_4_functional/test/test.cpp
566e97ade067deb43742621670a9b999bd78c767
[]
no_license
geranium12/made-cpp-2020-hw
15c954697014652267f9eff945827e73564c356b
0a5404e24bc6f50415aea90cdf020d5b8f21de33
refs/heads/master
2023-01-20T20:41:42.419649
2020-12-04T07:14:37
2020-12-04T07:14:37
297,090,762
0
0
null
null
null
null
UTF-8
C++
false
false
6,192
cpp
test.cpp
#include <iostream> #include <functional> #include "src/function.h" #include "src/compose.h" void FailWithMsg(const std::string& msg, int line) { std::cerr << "Test failed!\n"; std::cerr << "[Line " << line << "] " << msg << std::endl; std::exit(EXIT_FAILURE); } #define ASSERT_TRUE(cond) \ if (!(con...
f88c7de28ee0cb8cfc52d152996712b6d8e9575a
a74167048d369f9307df54ce02e0dc9e0320428a
/code/source/crypto/PocoRSACryptoWrapper.cpp
1e9781f2078b0f5f182ee5a6569477b5be891a86
[ "MIT" ]
permissive
user-ZJ/cpplib
27cf4576c5c485d260ebd9716731e5e6c0a2370a
c21c04076b2a6bc9b258449da4a090e5c112e034
refs/heads/master
2023-09-03T19:21:51.161318
2023-08-31T11:50:03
2023-08-31T11:50:03
202,638,976
3
0
null
null
null
null
UTF-8
C++
false
false
2,698
cpp
PocoRSACryptoWrapper.cpp
#include "RSACryptoWrapper.h" #include "Poco/Crypto/Cipher.h" #include "Poco/Crypto/CipherKey.h" #include "Poco/Crypto/CipherFactory.h" #include "Poco/Crypto/RSADigestEngine.h" #include "Poco/Crypto/X509Certificate.h" #include "utils/logging.h" #include <sstream> #include "utils/hex-util.h" using namespace Poco::Crypt...
93f9f15465f46116d38eb9764be1f65fdbd36617
42e0b518ac3d6585eeaf0a010b6affbffe2c9e3e
/CrudeEngine/src/OpenGL/Renderer.cpp
20ff008139f4886a0dee492762f01aa24d4b09d0
[]
no_license
sidu7/CrudeEngine
da7cfcd0a002b6b8bfa2e8ca7a1a2bd5cbb120e3
828e0c45b8c4cf4bae8cece237e736667ee06212
refs/heads/master
2020-04-05T22:31:19.877260
2020-03-02T01:17:41
2020-03-02T01:17:41
157,259,262
1
0
null
null
null
null
UTF-8
C++
false
false
1,955
cpp
Renderer.cpp
/* Start Header ------------------------------------------------------- Copyright (C) 2018 DigiPen Institute of Technology. Reproduction or disclosure of this file or its contents without the prior written consent of DigiPen Institute of Technology is prohibited. File Name: Renderer.cpp Purpose: Rendering GameObject...
e932831453d41c5c41abab6468a2e1f04805d62c
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/blink/renderer/core/inspector/devtools_agent.h
69476db955f801e0aed2a04ece1853d3e7819ec9
[ "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", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
7,153
h
devtools_agent.h
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_DEVTOOLS_AGENT_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_INSPECTOR_DEVTOOLS_AGENT_H_ #include <memory> #include "base/task/...
4fe6f9731866f7db3e9e4792f278bdf325368c70
b5922627a89aa327a65162bc1a9f6dcceabaeeb0
/untrusted/interrupt.h
52899cbe6aaad53992af3f626e8ccad8ecd9fbe1
[ "MIT" ]
permissive
bl4ck5un/paralysis-proofs-wallet
80883f2bb24aab69536c7be238d53197bdcc7229
130d2749064a5acb77c9f987b79363a8b45639d4
refs/heads/master
2022-09-19T15:03:27.825991
2019-03-28T03:57:43
2019-03-28T03:57:43
167,431,138
0
0
null
null
null
null
UTF-8
C++
false
false
350
h
interrupt.h
#ifndef PARALYSIS_PROOF_INTERRUPT_H #define PARALYSIS_PROOF_INTERRUPT_H #include <atomic> // this file deals with signals, esp. Ctrl-C namespace exch { namespace interrupt { extern std::atomic<bool> quit; void set_quite_flag(int n); void init_signal_handler(); } // namespace interrupt } // namespace exch #endif /...
b43557807fd83347764adfe319b012b128e88bd9
4a1b388fc7254e7f8fa2b72df9d61999bf7df341
/ThirdParty/ros/include/rcpputils/split.hpp
4b81375c11bbb537814240b85c1f46ec57039d68
[ "Apache-2.0" ]
permissive
rapyuta-robotics/rclUE
a2055cf772d7ca4d7c36e991ee9c8920e0475fd2
7613773cd4c1226957603d705d68a2d2b4a69166
refs/heads/devel
2023-08-19T04:06:31.306109
2023-07-24T15:23:29
2023-07-24T15:23:29
334,819,367
75
17
Apache-2.0
2023-09-06T02:34:56
2021-02-01T03:29:17
C++
UTF-8
C++
false
false
3,615
hpp
split.hpp
// Copyright (c) 2019, Open Source Robotics Foundation, Inc. // All rights reserved. // // Software License Agreement (BSD License 2.0) // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
d2662303d87f942d6e38ca984d3d63856f2cc538
c1e1ddfd94a82734e6ffb4e589a7b6509dce390e
/PRIME 6.cpp
5f3bb364129ac455d70c63bd6d898c50b107ab57
[]
no_license
nhatminh199989/laptrinhc
3f70846ce677f16ad1a3b92beb0d229aa89d7195
dfee36cba33618fb14f1d831adc5f09f2c5352bc
refs/heads/main
2023-06-06T20:39:28.787763
2021-07-13T01:06:37
2021-07-13T01:06:37
385,428,242
0
0
null
null
null
null
UTF-8
C++
false
false
409
cpp
PRIME 6.cpp
#include<bits/stdc++.h> using namespace std; void SNT(int a[],int n){ for(int i=2;i<=n;++i){ a[i]=1; } for(int i=2;i<=n;++i){ if(a[i]==1){ for(int j=i*2;j<=n;j+=i){ a[j]=0; } } } for(int i=2;i<=n;++i){ if(a[i]==1&&a[n-i]==1){ cout<<i<<" "<<n-i<<endl; break; } } } int main(){ short t; ...
98ebcfc17326e1f93cd44d5da859979e6be8ded1
5aacf9a5fb22d4d3400e5ea30c39dfc3132b6eba
/Solution/RockCommon/RockFamily.cpp
68092079d3d412ee7a26b30f9f250d8c132379ac
[]
no_license
tcagame/Attraction2017
dcbb8de9653e315def50c0c4f427c28c8d3834b1
cd8e91252f781cb5119e9cd7c1ee223ec1a7de9d
refs/heads/master
2021-01-01T15:42:13.478058
2017-10-04T06:26:10
2017-10-04T06:26:10
68,782,209
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
4,403
cpp
RockFamily.cpp
#include "RockFamily.h" #include "Application.h" #include "RockPlayer.h" #include "RockClientInfo.h" #include "RockAncestors.h" #include "RockBubble.h" #include "RockArmoury.h" #include "RockMilitary.h" #include "RockEnemy.h" #include "Sound.h" #include <assert.h> RockFamilyPtr RockFamily::getTask( ) { return std::dy...
d9c4fe6e4cf16aa193d7e04d8a6accb4fed83f46
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/mindspore/lite/src/litert/cxx_api/train/model.cc
40525d9d756aef2de0b0735c5543528a8b1df16d
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
C++
false
false
3,903
cc
model.cc
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
67918ec74a27e492bbf00c0526c21bd147823108
2e1f81b4074c2394837b6a3285518d15cb508e43
/Winsh/Libraries/LuaJHcomlib.h
2cab5d4e0b344123bc3e212421d8cff0fa7d4026
[ "MIT" ]
permissive
radioflash/Winsh.lua
43e72e3e0af3b1bf04040bf0f360e7d5ab6bc5cf
4b2b53e36f71514049351d0b34b13e0a154e323c
refs/heads/master
2020-12-03T06:37:19.176083
2014-02-22T23:32:38
2014-02-22T23:32:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,908
h
LuaJHcomlib.h
#pragma once //#include "windows.h" // //extern "C" { //#include ".\..\lua\lua.h" //#include ".\..\lua\lauxlib.h" //#include ".\..\lua\lualib.h" //} #include "CommBaseC.h" // The Library Name (for Lua 'require') should be defined below:============================ #define LUACMLIB_NAME "com" #define LUACMLIB_NGEN(p) p...
92531c6a5c83b255565156dbfbeab58734c5a99b
965516659262f317c4e5260ff1cd478a93009938
/atcoder/ABC/109/C.cpp
bd3a965dbdc2da56f8ad3a02b16243a0bf4a58bf
[]
no_license
tjmtmmnk/Algorithm
242de9e9eeb812a95a4d16ee398fe2c195a0209e
290e20f7362c6ba8cb0e50adc94a9b6bc5e10e67
refs/heads/master
2020-03-31T17:38:04.227180
2019-12-07T14:10:58
2019-12-07T14:10:58
152,428,834
0
0
null
null
null
null
UTF-8
C++
false
false
952
cpp
C.cpp
#include <iostream> #include <vector> using namespace std; typedef vector<pair<int, bool>> P; int main(void) { int n, X, D; cin >> n >> X; vector<int> x(n); P pairs(n); for (int i = 0; i < n; ++i) { int inp; cin >> inp; x.push_back(inp); } for (D = 1; D < X - *mi...
8e5bd8fd7f599da88ced6d37b1a87eb15ec45edc
5993dd9ed14d993e64a5179757f7aa8e74a974b4
/RFVSG_Arduino/ADRF5250.cpp
c00fc5e344d32770dd65f9c21d24374f88a890c4
[]
no_license
RF-VSG/RFVSG-Firmware
755ba1028d7c23773aeea925a787d5e01a5c250d
931e337d22aa6aea41cfa347574963ccbe816424
refs/heads/master
2020-04-05T09:52:30.168698
2018-11-08T22:51:41
2018-11-08T22:51:41
156,778,954
0
0
null
null
null
null
UTF-8
C++
false
false
1,452
cpp
ADRF5250.cpp
/* Name: ADRF5250.cpp Created: 11/8/2018 4:09:34 PM Author: harri Editor: */ #include "Arduino.h" #include "ADRF5250.h" ADRF5250::ADRF5250(uint8_t VControl1, uint8_t VControl2, uint8_t VControl3) { V1_Pin = VControl1; V2_Pin = VControl2; V3_Pin = VControl3; digitalWrite(V1_Pin, LOW); digitalWrite(V2_Pin, ...
46ac7f52894477a32839989798f41d2f0b874d64
6e27a83e99aefe840bca1a6e943cebb2f9a749a4
/plugin/BaseTimer.h
7326ab8066473f2b10948a9d39efd603a9ffa32f
[]
no_license
Nicolous/cssmatch-plugin
f244523e5ebc27e7afb07c90b79e66a5804619d3
ff6b715f2fbe438aff87d2b5cc2981ab77a4f6f1
refs/heads/master
2016-09-08T00:27:53.939432
2013-11-18T23:08:18
2013-11-18T23:08:18
34,910,629
1
0
null
null
null
null
UTF-8
C++
false
false
2,976
h
BaseTimer.h
/* * Copyright 2008-2013 Nicolas Maingot * * This file is part of CSSMatch. * * CSSMatch 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, or * (at your option) a...
90547096902b437da172e6d4d2afaebf6c68036e
37309335ad786258b493798ce52439d63bd54ab8
/Cubes and Balls/src/physics/PhysicsEngine.cpp
b9212c21b697520963ad89536d94da7d60193f8f
[]
no_license
Rubisk/Cubes-and-Balls
216e646811eb8c527b375295732b257c03a15933
5f3b4f5e2b9b7e514dcaa15353a3066be19235b0
refs/heads/master
2021-01-20T20:29:17.229402
2017-06-12T21:29:53
2017-06-12T21:29:53
61,915,495
0
0
null
null
null
null
UTF-8
C++
false
false
1,689
cpp
PhysicsEngine.cpp
#include "PhysicsEngine.h" #include <ctime> #include <thread> #include <iostream> #include "glm/glm.hpp" using namespace std; using namespace glm; using namespace chrono; PhysicsEngine::PhysicsEngine() { forceApplier = make_shared<ForceApplier>(); entityUpdater_ = make_shared<EntityUpdater>(forceApplier); } void...
b48466f23aa96384ef81a9a4a134d5637fbe5baf
681e8687bd61e5158e0432304f86a30a56980483
/Desktop/progs/CFiles/CTest.cpp
a81f16f4262cc08658b1ebd1f02c33fe5aeeb3cf
[]
no_license
jskimmons/LearnGit
2621b7679ee394ee0454211bdf8cf2d3c0f55976
78cdc625c20662b699c81d5147f5a0169ed202b1
refs/heads/master
2021-01-12T03:37:31.344166
2017-05-25T19:42:42
2017-05-25T19:42:42
78,241,344
0
0
null
null
null
null
UTF-8
C++
false
false
341
cpp
CTest.cpp
#include <iostream> using namespace std; namespace first { int x=6; int y=5; } namespace second { int x=10; int y=20; } namespace third { int x = 30; } template <class T> T sum (T a, T b) { T result = a + b; return result; } int main(int argc, char const *argv[]) { int x; x = sum<int>(5,6); cout<<x; cou...
1634426e7ec115b9da7b1612b07a75a0830f3e1e
fba2a523abfa3904c212080c1d59cb05c81d262d
/calice_sim/digitization/digisim/src/SimCalorimeterHitsProcessor.cpp
c0bebabde264e5fd29a872644beee5d6f4b602a5
[]
no_license
linghuiliu/CosmiTestLCIO
5f3ff6ae72514e56c8d5ae942ca394e3564d6405
0b8b076bd1fce8f74f1882ed6477b52894d4341a
refs/heads/master
2021-09-06T19:16:55.615298
2017-12-08T10:50:43
2017-12-08T10:50:43
110,945,118
0
1
null
null
null
null
UTF-8
C++
false
false
5,763
cpp
SimCalorimeterHitsProcessor.cpp
#include "SimCalorimeterHitsProcessor.hpp" #include "EVENT/LCIO.h" #include "EVENT/RawCalorimeterHit.h" #include "IMPL/LCCollectionVec.h" #include "IMPL/LCFlagImpl.h" #include "IMPL/CalorimeterHitImpl.h" #include "marlin/StringParameters.h" #include <iostream> #include <cassert> using namespace IMPL; using namespace m...
018fe1e745d98bacc4dd793953ee844618a937bc
d0339694ab583645d0a84912ed6a78a9c820d87a
/src/FlightTicket.h
a51b7335f451ebc28525518256362c156304b4ac
[]
no_license
Zempire/OOPAssignment2
ecfb23d2addd3d821322d0235cf67a93e450b951
b3d122c1903f739526512bc31cec62dc2e712c59
refs/heads/master
2020-03-31T02:07:09.688431
2018-10-22T08:33:45
2018-10-22T08:33:45
151,808,968
0
0
null
null
null
null
UTF-8
C++
false
false
480
h
FlightTicket.h
/* * FlightTicket.h * * Created on: 27 Sep. 2018 * Author: Zempire */ #ifndef FLIGHTTICKET_H #define FLIGHTTICKET_H #include <iostream> #include <string> #include "Ticket.h" using namespace std; class FlightTicket: public Ticket { public: FlightTicket(double price, double discount, int date) : Ticket(pri...
f995a1571b43ebfa86ef65c355e110d285825f66
5cf0af5d305d4caf8cc04182c0a88d9bf08ecf7b
/POHandout2/Motor2D/j1App.h
0ea52eb1aabdfaf176606b6a6f6aa6a91b7a6934
[]
no_license
rcpauor32/OrderingSprites_CameraCulling
b98db7d84e4d81a0140660185dffeb8a8be43aa2
0492e052375b07e249a8379bd3cbd5497d5ea986
refs/heads/master
2021-03-22T05:09:01.019093
2017-02-27T12:09:30
2017-02-27T12:09:30
83,290,962
0
0
null
null
null
null
UTF-8
C++
false
false
1,805
h
j1App.h
#ifndef __j1APP_H__ #define __j1APP_H__ #include "j1Module.h" #include "j1PerfTimer.h" #include "j1Timer.h" #include "PugiXml\src\pugixml.hpp" #include <list> #include <string.h> // Modules class j1Window; class j1Input; class j1Render; class j1Textures; class j1FileSystem; class j1Scene; class j1Map; class j1Gui; c...
3cb7ade72103790ce29295b000cd6bd4a631e59e
6bdaeda6a193c75d556014f1e9897af4f23ee8e4
/src/HeartbeatPublisher.cpp
dd04f7f42d5275269b738406e7dec85fedd418b6
[ "BSD-3-Clause" ]
permissive
AllenInstitute/ZeroMQ-XOP
5e96c65d158b7761d840002007430682f2e492b9
ab2d2b752d1c8856993b7e82bf6bc37d5c558363
refs/heads/main
2023-08-29T11:59:45.540711
2023-05-26T13:52:15
2023-05-26T13:52:15
97,764,684
11
8
BSD-3-Clause
2023-05-26T13:52:16
2017-07-19T21:57:47
C
UTF-8
C++
false
false
2,203
cpp
HeartbeatPublisher.cpp
#include "ZeroMQ.h" #include "HeartbeatPublisher.h" #include "RequestInterface.h" #include <chrono> #include <thread> // This file is part of the `ZeroMQ-XOP` project and licensed under // BSD-3-Clause. namespace { using namespace std::chrono_literals; std::recursive_mutex threadMutex; bool threadShouldFinish; std:...
b4eb74d5d5aa01aa73215e2b5e1d529a727d5426
f1e072d361b7f42c746f5a3c30c506b30d4b8b85
/Source/GameState.cpp
9f7a1ef5640bc3ee2f45222ec16c28b22b3ac20a
[]
no_license
brucelevis/Council-of-Torment
8371ff38323f55e91b6d8a47868f478d6592d287
478ecca8de56af50ed7744d30a8e196da95a7e9d
refs/heads/master
2020-04-06T03:33:55.084111
2014-07-29T20:21:02
2014-07-29T20:21:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,122
cpp
GameState.cpp
#include "GameState.h" #include "Game.h" /* ---------------------------------------------------------------------- * Author: Julian * Date: 19 January 2014 * Description: Constructor of the game state * ---------------------------------------------------------------------- */ GameState::GameState(StateStack& stac...
a5ee4b67c36590c19d009c69281ed6e2233ff7f9
31554f7717b782d8df22d75eed51461ada22a9e6
/Attributes.cpp
864bb3f2aec7d42c38c3feddf987df8a5eeb4d67
[]
no_license
poofplonker/753
331acaf0b4a30b50de9c4ea1af34e97be0464726
508c76b130b355a38c628d52f887967b9031ddd8
refs/heads/master
2020-06-03T00:11:00.120004
2014-11-06T15:01:35
2014-11-06T15:01:35
25,766,611
1
0
null
null
null
null
UTF-8
C++
false
false
2,398
cpp
Attributes.cpp
// // Attributes.cpp // PossibilisticArmstrong // // Created by Cinnamon Scudworth on 12/10/14. // Copyright (c) 2014 Cinnamon Scudworth. All rights reserved. // #include "Attributes.h" Attributes::Attributes(){ } set<string>::iterator Attributes::begin() const{ return attrib.begin(); } set<string>::it...
d2ebb6799e5bb8872aa14abea96c7b4f417f08c0
950b0247ff19401d5ad8fad64fa44b0420f82496
/Filya and Homework/main.cpp
b46252991f47c6dde3a12b8d8732d305004b317c
[]
no_license
Nada-Nasser/Problem-Solving
24a96ffaf03deb75c387386e9cf5d57b394079c1
fc7b86a9349eadb0c06a168ed88ce58e0732e42a
refs/heads/master
2022-11-23T23:53:20.561601
2020-07-02T21:09:38
2020-07-02T21:09:38
276,746,067
0
0
null
null
null
null
UTF-8
C++
false
false
930
cpp
main.cpp
#include <iostream> #include <algorithm> #include <vector> #define FastIO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); #define ll long long using namespace std; int main() { FastIO; ll n , num; vector<ll> Numbers; bool isValid = true; cin >> n; for(ll i = 0 ; i < n ; i++){ ...
d470f927d2b74e4b60c2e0eee44c8de99ef933ca
b16569381e4e9434e2d0089d4f8b896ca55944ac
/src/plugins/mission_raw/mission_import_test.cpp
442bda6e5c52ff1907455af303f9e8cb81867d3b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Auterion/MAVSDK
e78dc2846111181fd23266ffc6890929b046344e
6966fe20168301bc688f676228ce2996fbc50b02
refs/heads/main
2023-08-18T03:31:30.501422
2023-04-17T11:13:44
2023-04-17T11:13:44
131,304,987
3
0
BSD-3-Clause
2020-08-27T14:00:36
2018-04-27T14:11:00
C++
UTF-8
C++
false
false
9,766
cpp
mission_import_test.cpp
#include <atomic> #include <cmath> #include <fstream> // for `std::ifstream` #include <sstream> // for `std::stringstream` #include <string> #include <gtest/gtest.h> #include "global_include.h" #include "log.h" #include "mavlink_include.h" #include "plugins/mission_raw/mission_raw.h" #include "mission_import.h" using...
72a223dfedd079958759224924226c486c9ba2f8
59491cf33d65dee6501cd209f00ee73a2bb279b7
/src/objects/RisenGroup.cpp
39b8a6ad3326caa8f3a1e9c8901131e4a2a6c63f
[ "MIT" ]
permissive
Chaostreff-Potsdam/laser_control
17c389f1964c1fdb851e0f3273f864bb09c81adc
8f4f2adea7fe36fec85c64811a81e37057519a06
refs/heads/master
2023-01-07T12:45:50.248910
2022-05-30T12:59:11
2022-05-30T12:59:11
196,639,633
0
2
MIT
2019-08-24T19:32:11
2019-07-12T20:10:57
C++
UTF-8
C++
false
false
838
cpp
RisenGroup.cpp
#include "RisenGroup.h" #include "../laser_calibration/PointLifter.h" namespace laser { RisenGroup::RisenGroup() : CompositeObject(), m_z(0) { ;; } void RisenGroup::setZ(const double newZ) { m_z = newZ; nowDirty(); } EtherdreamPoints RisenGroup::points() const { EtherdreamPoints childPoints = CompositeObject:...
bb606afc8032243f3adc0abae57e7df58dc559ab
63ffcd2798915ea9b9199cfd1d6ee6de319cff84
/LeedCodeChallenge/2020/November2020/Week1/ConvertBinaryNumberinaLinkedListtoInteger.cpp
b77c6fe3a935db01a4395bf11976acd75d7060d9
[]
no_license
numenoreon/LeetCode
b8069990d30bda73809e21d304703eec0c979ed6
912fcc4c5f6a2eb8e95db48096d3d8f5e3eb8cf0
refs/heads/master
2021-09-01T16:26:26.190661
2021-08-24T19:49:29
2021-08-24T19:49:29
231,564,913
0
0
null
null
null
null
UTF-8
C++
false
false
228
cpp
ConvertBinaryNumberinaLinkedListtoInteger.cpp
class Solution { public: int getDecimalValue(ListNode* head) { int result=0; while(head){ result=result*2+head->val; head=head->next; } return result; } };
80617baf99c0d05da2b83cdd14779eb85abe6286
be9e0b30df2479073753b14f41c90583d08646c2
/jlp_wxplot/jlp_wxplot_gdev/jlp_gdev_wxwid_canvas.cpp
ffe92d37cb4563b5a96d4a9e30f0b2a7ea84089a
[ "MIT" ]
permissive
p1b234/jlplib
be058701ee17452d59a79b3cfafa27e60e06c406
6073d7a7eb76d916662b1f8a4eb54f345cf7c772
refs/heads/master
2022-09-03T02:27:21.843803
2020-06-01T16:18:17
2020-06-01T16:18:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
27,086
cpp
jlp_gdev_wxwid_canvas.cpp
/****************************************************************************** * Name: jlp_gdev_wxwid_canvas.cpp (JLP_GDev_wxWID class) * * Purpose: Handling menu and events * that are defined in "jlp_gdev_wxwid_menu.cpp" * * Author: JLP * Version: 12/02/2017 **************************...
6fdb3413257ab8c11ec2ea3a2c24b8a68ea69b28
a5e00504919bb338910de4cc5c3c3c4afb71e8c6
/UVa/Code/10037 - Bridge.cpp
0b2a22f4952c758ff838363c946ddd16c2052819
[]
no_license
samuel21119/Cpp
f55333a6e012e020dd45b54d8fff59a339d0f808
056a6570bd28dd795f66f31c82537c79eb57cc72
refs/heads/master
2023-01-05T15:14:55.357393
2020-10-20T23:32:20
2020-10-20T23:32:20
168,485,083
0
0
null
null
null
null
UTF-8
C++
false
false
2,023
cpp
10037 - Bridge.cpp
/************************************************************************* > File Name: 10037 - Bridge.cpp > Author: Samuel > Mail: enminghuang21119@gmail.com > Created Time: Sat Dec 30 18:44:12 2017 *************************************************************************/ #include <iostream> #include <cstrin...
006cb15dae8cbafec49c09af535e1e0e0f24c865
37e78edd82757e6b10a6b976b86e928f9404a1ef
/source/Castlevania/TiledTile.cpp
7fdf4e2e18fe438fb897fa4eae11080091e33804
[]
no_license
hoaithu7604/NMPTGame
5478bb7e300338aa84f97e1479725edfc443e059
9a66ed269927e7f4c231dcec8ad2563aa9a8dfbb
refs/heads/master
2020-07-18T18:31:26.821694
2019-11-26T15:00:19
2019-11-26T15:00:19
206,292,302
0
0
null
null
null
null
UTF-8
C++
false
false
445
cpp
TiledTile.cpp
#include "TiledTile.h" #include "Textures.h" #include "Game.h" CTiledTile::CTiledTile(int left, int top, int right, int bottom, int texture_id) { this->left = left; this->top = top; this->right = right; this->bottom = bottom; this->texture = CTextures::GetInstance()->Get(texture_id); } void CTiledTile::Draw(float ...
a4e139f6f5006ccfb1b95a71aa59cf24e1335e3f
050d0942d3e08124509179411f41b293d18daa1d
/src/radar_ukf.cpp
a1fa24d1b389c4ea66e949975c8a5839f75a0874
[ "MIT" ]
permissive
kernyan/CarND-Extended-Kalman-Filter-P1
f507b67c247f7e5f7be9309e8f7be35e3be2f14e
38502f3a901644715b513338632dc3a0af66fe35
refs/heads/master
2021-06-23T00:34:16.316073
2017-09-10T22:45:38
2017-09-10T22:45:38
102,993,142
4
0
null
null
null
null
UTF-8
C++
false
false
3,331
cpp
radar_ukf.cpp
#include "radar_ukf.h" #include <iostream> void RadarUKF::Step(MeasurementPackage &meas_in){ if (Sensor_ != meas_in.sensor_type_) return; double dt = meas_in.timestamp_ - previous_time_; previous_time_ = meas_in.timestamp_; dt *= 0.000001; // scale to seconds MatrixXd AugSigPts = GenerateAugSigPts(Mu_,...
3557feb77e3f76d718011728544649493c73ab21
f97916eb7330f760c06b7a6c7ffa1d8e89ecb8b7
/src/MentalABSwitches.cpp
4d6b1bd87bc738ca7267a07379506d5f75e64ca2
[ "BSD-3-Clause" ]
permissive
nrmshaw100/Strums_Mental_VCV_Modules
6dc1589599394ba96d34bd23e8c4b09d139c2c25
1660a55bfc1c2df098bcf028713e1f7ffbe110ab
refs/heads/master
2022-04-10T19:34:34.229950
2020-04-07T04:01:48
2020-04-07T04:01:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,855
cpp
MentalABSwitches.cpp
/////////////////////////////////////////////////// // // Mental Plugin // A/B Switches // // Strum 2017-19 // strum@softhome.net // /////////////////////////////////////////////////// #include "mental.hpp" ///////////////////////////////////////////////// struct MentalABSwitches : Module { enum ParamIds {...
cec808c6170ca90e64f9a9ea3f3ca54f0ebac6ce
d9a7603fcce655688ce25b8937c484226cabf2da
/Lab21/r5.cpp
6814fbb26d624f648ef2515fecae9d1bac6bc772
[ "MIT" ]
permissive
fernnlcs/CppExercises
91da9bad12494c3348419d32dd3c08c607b9d348
67c7a98a2c5695c41fb85f3216979ee67e5340cf
refs/heads/master
2022-12-06T23:04:52.014327
2020-08-27T05:13:41
2020-08-27T05:13:41
290,676,262
0
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
r5.cpp
#include <iostream> using namespace std; int main() { int m = 0, n = 0; // OU while (n % 7 != 4 || n % 5 != 3 || n % 3 != 2) n++; cout << "n: " << n << endl; // E while (!(m % 7 == 4 && m % 5 == 3 && m % 3 == 2)) m++; cout << "m: " << m << endl; return 0; }
c4c3865d3740da6d33fa5a79e11d073e13f84293
ff2602161e865b46764716d2a04cf8a6eb091738
/Std::list::sort.cpp
76c3056abf3c11179e1f014f364a4d506bcdfddc
[]
no_license
MehmetCeylanV/cracking-the-coding-interview
1d8eea3657adf59711e00a03909f1d8a448fbac5
a966c0e35034f3b8bda12c2af6461a4a4f1f4fc1
refs/heads/master
2021-05-19T07:14:32.975197
2020-04-01T12:08:14
2020-04-01T12:08:14
251,580,981
0
0
null
null
null
null
UTF-8
C++
false
false
1,064
cpp
Std::list::sort.cpp
#include <iostream> #include <list> class Student { public: std::string name; double grade; Student(double grade, std::string name) : name(name),grade(grade){} }; class Functor{ public: bool operator() (Student& student1, Student& student2){ if (student1.grade == student2.grade){ ...
0c477cc0b1282118e76ba697085b8ed9f54c73d5
1ed460d5b6b1cd34cf4c11daba39280a8edc5428
/tools/gadgets/seed.h
5dcefcec6c269529d03e6593029b74f7de8fd615
[ "Apache-2.0" ]
permissive
StanfordPL/stoke
dc54a4c20759e5b05944e193783f799413207528
98d8a0f028f2daf2052bfe607dbc32ec8d55ba9e
refs/heads/develop
2023-08-17T07:34:37.569468
2020-12-04T22:14:14
2020-12-04T22:14:14
16,772,554
717
74
Apache-2.0
2023-07-25T08:00:07
2014-02-12T15:57:22
C++
UTF-8
C++
false
false
1,185
h
seed.h
// Copyright 2013-2016 Stanford University // // 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 ...
024889a643409140fcad49c4d7323c157874e9d0
7939409cc41c7e355bf7a7ecff2b1ee80d89f40b
/Chap7-2/main.cpp
2bf80ab4c54ab85c6dd7584307580cba3e1121cb
[]
no_license
onecan2009/hellogit
aca6d4fa919cac370365eb80ef13e6ed434c2808
e8d18a4b7b7b98de7640110c3f25717896fbd199
refs/heads/master
2021-01-12T02:05:11.154709
2018-03-30T15:36:58
2018-03-30T15:36:58
78,465,417
0
0
null
null
null
null
UTF-8
C++
false
false
1,351
cpp
main.cpp
#include <QCoreApplication> #include <iostream> using namespace std; class Base { public: int m1; protected: int m2; private: int m3; }; class PrivateClass: private Base { public: void test() { m1 = 1; m2 = 2; //m3 = 3; } }; class DeivedFromPri:public PrivateClass { pu...
1384a12359f5e17894bdad4ed98010fdf0c663b0
8ba9ebb959b82e31aefe62912d4c150e63d82fc7
/CS24/bst.h
b2bbab287101674d5d4eb2aa810e44a4966d4df8
[]
no_license
GoodGuySteve/SchoolProjects
dace41322958632430c8cecbd3db0c31cd5f9945
0b92c4d91cbc905c8dab1f312842c02a0c4b7b4b
refs/heads/master
2016-08-04T01:13:32.475901
2015-09-25T09:38:04
2015-09-25T09:38:04
23,409,703
1
1
null
null
null
null
UTF-8
C++
false
false
7,837
h
bst.h
#ifndef BST_H #define BST_H #include "data_structures.h" template <class T> class BST { private: BinaryNode<T> *root; public: /* Return a pointer to the BinaryNode containing the largest value. The `static` prefix to the function indicates that it is a `class method` rather than an `instance method`....
8942bb6befd9b961c66082bc252fa7034f81eb56
72e95df33ab3fb6bba03a81867b77b755f46bb66
/irohad/ordering/impl/round_switch.hpp
88c53c83352ffa9b2d3f8c4342a6b54fea07bd27
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
hyperledger/iroha
f07a81389fe1d3c488968919ab9196c548048f3a
f2d96e3050a504a982b983d8061588d8c650c5ad
refs/heads/main
2023-09-06T00:40:53.092106
2023-09-01T17:37:08
2023-09-01T17:37:08
67,340,575
1,125
419
Apache-2.0
2019-04-16T17:26:30
2016-09-04T11:17:53
C++
UTF-8
C++
false
false
675
hpp
round_switch.hpp
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_ROUND_SWITCH_HPP #define IROHA_ROUND_SWITCH_HPP #include <memory> #include "consensus/round.hpp" namespace iroha { struct LedgerState; } namespace iroha::ordering { struct RoundSwitch { consen...
497fa40b08b044a0da465004b1039f49b491ebd8
0b0af99ea11f0796c1c3168ad68381f830500618
/pwm_example/main.cpp
54df5802ba5c3f18bb5ab5aa5797fe340a9e452f
[ "MIT" ]
permissive
baserkandehir/mbed
73369c845c9a7f3b4dd877e6f804b78b2815c8c1
68f576ecd03c157215ff5a12c2750f5b6c039d15
refs/heads/master
2021-01-10T20:39:36.724323
2015-09-23T00:25:11
2015-09-23T00:25:11
41,880,112
1
0
null
null
null
null
UTF-8
C++
false
false
3,464
cpp
main.cpp
/* PWM motor driving example on LPC1768 * * @author: Baser Kandehir * @date: July 9, 2015 * @license: MIT license * * Copyright (c) 2015, Baser Kandehir, baser.kandehir@ieee.metu.edu.tr * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software a...
88cf0de9418913d6dfa299e93d0409bd20bc1b6d
38db750608e3f84ffef4df3d38c5a873a7a568c2
/src/handler.cpp
432330a12ee27fccd146dd994c6eb2a93cff41b0
[]
no_license
cheind/cpp-restify
6d563573a7a001292e7d8a5ca92bd126eacca2b2
3c9d47ea98fbccfeb33bed13c30b1fa53356feb7
refs/heads/master
2021-01-15T15:26:36.763139
2016-09-01T09:01:31
2016-09-01T09:01:31
62,060,652
3
1
null
null
null
null
UTF-8
C++
false
false
866
cpp
handler.cpp
/** This file is part of cpp-restify. Copyright(C) 2016 Christoph Heindl All rights reserved. This software may be modified and distributed under the terms of MIT license. See the LICENSE file for details. */ #include <restify/response.h> #include <restify/request.h> #include <restify/helpers.h> ...
fea1233475fbf4c8a884474d14fcbe74ef4faadb
b7f6f454f89373c54862921b0f81fd9e4d0c47d5
/P4.1/Source.cpp
3d9082b5ae4c72c9531a9199fdfa560d9e8e5c7d
[]
no_license
rmshea/Horstmann---BigCPP
42a9e34188a8d57af8abebd912227753a43d1a18
5d5601ed8c9adcf239e8214ae9a15b198e73fda5
refs/heads/master
2020-08-04T20:17:04.546312
2018-09-10T17:56:01
2018-09-10T17:56:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
652
cpp
Source.cpp
#include <iostream> using namespace std; /* The function sort2() takes integers as parameters and swaps the numbers if the first number is greater than second number The fn sort2() cannot compute its result of when a value == b value @param a and b are integer numbers to be swapped no returns */ void...
e1e98f247245e631faa8fe6cdb6dfade1805707b
f73ea76017b0a8bca4503ec8aef9b486b726b95c
/src/RocotoScore.cpp
1b1d0817502efbcffa0bfb6496802035485818cc
[]
no_license
GadCoder/FISI-Station-5
cda994571f0249726bddc4309dc76b8517be7843
b2e6db3dc8b43a69075827f1f6c226be203045e0
refs/heads/main
2023-07-17T16:00:44.521216
2021-09-03T15:03:31
2021-09-03T15:03:31
402,591,496
0
1
null
2021-09-03T05:25:24
2021-09-02T23:44:04
null
UTF-8
C++
false
false
787
cpp
RocotoScore.cpp
#include "RocotoScore.h" void RocotoScore::scoreInfo() { fontScore.loadFromFile("./content/Fonts/rocoto_Font.ttf"); scoreRocoto.setFont(fontScore); stageCount.setFont(fontScore); gameOverR.setFont(fontScore); scoreRocoto.setCharacterSize(15); stageCount.setCharacterSize(15); gameOverR.setCharacterSize(50); g...
66bf21e9b9a6f4826d475c89fd01007bdfa12cee
d54950bb630dfbe0f93684f9bd15b9b1ea59cbef
/Assignments/Assignment3.cpp
b10ceb7a4006d527b2ff2b2f4075c06278c1b088
[]
no_license
waewing/CS246
ff4055d9c0eac90c3e8a0b026cd9bd85efa0d8d4
7c05cb1aa559b444cd95b6952ce488d3fefbfbf4
refs/heads/master
2022-03-25T17:24:14.570342
2019-12-21T01:07:51
2019-12-21T01:07:51
204,785,900
0
0
null
null
null
null
UTF-8
C++
false
false
3,854
cpp
Assignment3.cpp
#include <iostream> #include <string> #include <fstream> #include <sstream> #include <cctype> #include <cstdlib> #include <ctime> #include "stack.h" using namespace std; using namespace ds; bool IsOperator(char op) { if(op == '+' || op == '-' || op == '*' || op == '/') { return true; } return false; } bo...
8fa4c1d2aaf67518414297a0dce33cf914a7cb18
63eb4d04d539ed41dbf05842eba3f713649802dc
/background.h
353328bbadfab0055caa24ddd177c525e36e0a60
[]
no_license
SveinGunnar/Fagoppgave2013
0be5c4e86e0dc644e8970dcfe8bc3bd1f9eac13e
1381e28a82c3cbaec874932075c40bf7f1685f6f
refs/heads/master
2021-01-25T10:06:52.261402
2013-05-05T17:49:42
2013-05-05T17:49:42
9,318,400
0
0
null
null
null
null
UTF-8
C++
false
false
459
h
background.h
/** * * World manager * Alf-Andre Walla, s181087 * * Background definition * * Creates a x-repeatable background w/parallax * **/ #ifndef __BACKGROUND_H #define __BACKGROUND_H #include "vector.h" namespace platformer { class Background { float parallax; float alpha; publi...
0e8d909b854f66452c5309d962e4296982eab19f
64fb71161a51d0c760386de2cf615baf436b08a6
/ASPSS/ExpeOffMeshWriter.cpp
c3101140959c67b931ed10270a730d5b390473ae
[]
no_license
xavier-tricoche/sparse
8121bc5f396dd080c45ccc6a6006c60947fa469b
21cb2bd362d6217c771a7ed68a9659afabceb335
refs/heads/master
2020-04-02T23:58:42.697816
2018-10-26T19:51:08
2018-10-26T19:51:08
154,884,890
0
0
null
null
null
null
UTF-8
C++
false
false
2,440
cpp
ExpeOffMeshWriter.cpp
/* ---------------------------------------------------------------------- This source file is part of Expé (EXperimental Point Engine) Copyright (c) 2004-2007 by - Computer Graphics Laboratory, ETH Zurich - IRIT, University of Toulouse - Gael Guennebaud. -----------------------------------------------------------...
9d528a6e82944e99cdf41e62690097249330593f
0734ba417d7064a046ff27e7e6d1796d2253259a
/graph/graph/test.cpp
f8da97a71f2df58fff05f3f6718d4ae20ba91dcb
[ "MIT" ]
permissive
fedom/Algorithms
95243f63ec9628ea82065a841e4eb281a704c492
94f9c80c7425d4739be8fb67292deb6b8bb78cc2
refs/heads/main
2023-02-01T00:19:22.723491
2020-12-18T14:48:40
2020-12-18T14:48:40
320,148,922
0
0
null
null
null
null
UTF-8
C++
false
false
2,078
cpp
test.cpp
#include "graph.h" #include "paths.h" #include "cc.h" #include "cycle.h" #include "two_color.h" #include "common/utils.h" #include <iostream> using namespace graph; static void PrintPath(Paths &path, int v) { if (!path.HasPathTo(v)) { std::cout << "0->" << v << ":" << "no path" << std::endl; } else { ...
141d4670c390d305685181025adf0aaefe03ccef
ba3592275361558f199bacf46c99bc0e4b3303c0
/SNNsim/SNNsim/Parser.hpp
08028bcc90e826256e6828a90cd126ac2a5ee618
[]
no_license
RyanNavillus/SNNsim
8eefa084718960f7682b4d12174ad0d9389207a5
fd19bbc1c381c4609b8944726ee9a84cac22eed7
refs/heads/master
2020-04-24T11:28:58.794600
2019-05-23T13:34:11
2019-05-23T13:34:11
171,926,716
2
0
null
null
null
null
UTF-8
C++
false
false
416
hpp
Parser.hpp
// // Parser.hpp // SNNsim // // Created by Ryan Sullivan on 2/21/19. // Copyright © 2019 Ryan Sullivan. All rights reserved. // #ifndef Parser_hpp #define Parser_hpp #include <stdio.h> #include "Mesh.hpp" #include "NetworkFile.hpp" class Parser { public: static Mesh parse(NetworkFile file); private: sta...
d45a2908bc754e1099a9857c4f5f1082181132a5
d2fe987156fbe19832e1e6c24d8fcf4aa9472907
/TurbulentMapleBlankBlade/0.8/vorticity
717633d94b283f6a372b85a919aa07715fec10b3
[]
no_license
harinik05/BASEF-2021
d18ae164bc116d51b9b68c351b8159c2809ca63f
a83dee5d369caccbb513dad8df5023926689a71a
refs/heads/main
2023-07-24T14:12:16.730306
2021-02-03T00:33:51
2021-02-03T00:33:51
323,745,817
0
0
null
null
null
null
UTF-8
C++
false
false
5,514,894
vorticity
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1906 | ...
630806f73298ad1bb7badf99c06d4f52a00782df
7a8fac59a694cef2eb0dece0a89c2ad6d7870c56
/Calculator.cpp
cc8fc0b4a003984e69a71914858a7c602ab02e41
[]
no_license
pavel1808/calc_c-
ae79c2c0cbb8d3014e03189a7d4f8e758a1bbed4
7886c255c18b2c8e41e6a72e5086261ccca81a61
refs/heads/master
2022-03-01T09:12:57.220079
2019-09-17T08:16:03
2019-09-17T08:16:03
208,971,222
1
0
null
null
null
null
UTF-8
C++
false
false
1,990
cpp
Calculator.cpp
#include "include.hpp" int Sumbvols=0; int numbOfnumb[100]; string sumb[14][4]= { {"###","# #","# #","###"}, {" # "," # "," # "," # "}, {"## "," #"," # ","###"}, {"###"," /"," \\","###"}, {"# #","#_#"," #"," #"}, {"###"," \\ "," #","## "}, {"###","#_ ","# #","###"}, ...
487a831c914e6a2afe21a118af9f3cab9c7dfbb6
fa331e21ffea3aeadf0ac621a3a1fe3fb5b4fd02
/hebing.cpp
e3b88175c125e09910c36e04ecd64eea338bbde1
[]
no_license
noahsai/mlsplayer
3ae94ba881964b31d1e21bbf4c68755dd99523c1
fe2e37942f98b3350dbd7bb62ff8bb0021aaf37a
refs/heads/master
2021-01-17T19:52:36.620962
2016-06-07T13:50:13
2016-06-07T13:50:13
60,608,578
0
0
null
null
null
null
UTF-8
C++
false
false
2,017
cpp
hebing.cpp
#include "hebing.h" #include "ui_hebing.h" hebing::hebing(QWidget *parent) : QDialog(parent), ui(new Ui::hebing) { ui->setupUi(this); ing=false; now=0; all=0; tty = new QProcess; connect(tty,SIGNAL(finished(int)),this,SLOT(next())); connect(tty,SIGNAL(error(QProcess::ProcessError)),...
854f530f04c79076fbf2206fbfb40a7308e3e776
0c23312f1a3a983cfc0febcc1cd4f74099ec9811
/Yaw_Roll_Pitch_testCode_exp4/Yaw_Roll_Pitch_testCode_exp4.ino
1c41e449dd9e203363094f01ee5446ca187bdc50
[]
no_license
bradleydanielson/Quadcopter---Dimensional-Testing-Code
152eba0ff5d58834afbfce902a9e9e6efe86e166
d2cea4b187b62fd99f0c58ef3b01c32194bfd6f9
refs/heads/master
2021-01-01T05:24:42.625251
2016-04-29T13:32:11
2016-04-29T13:32:11
56,881,308
0
0
null
null
null
null
UTF-8
C++
false
false
12,923
ino
Yaw_Roll_Pitch_testCode_exp4.ino
/* PID for Yaw, Roll, and Pitch Axis QC Project EWU 2016 Written by Brad Danielson and Rudy Hulse Allows for bluetooth/serial control of testing PID parameters of motors on a physical testing rig Revision 0: created Revision 1: Added custom "Motors" class Revision 2: Made PID parameters variables to be...
ddca189533ce5366f2735c4d69a08ca93a036815
33a52c90e59d8d2ffffd3e174bb0d01426e48b4e
/uva/10500-/10551.cc
ffe6491426ea8d248325ff4083d921a4c7057c94
[]
no_license
Hachimori/onlinejudge
eae388bc39bc852c8d9b791b198fc4e1f540da6e
5446bd648d057051d5fdcd1ed9e17e7f217c2a41
refs/heads/master
2021-01-10T17:42:37.213612
2016-05-09T13:00:21
2016-05-09T13:00:21
52,657,557
0
0
null
null
null
null
UTF-8
C++
false
false
558
cc
10551.cc
#include<iostream> #include<string> using namespace std; int base; string s, mod; bool read(){ cin >> base >> s >> mod; return base!=0; } void work(){ for(int i=0;i<s.size();i++) s[i] -= '0'; long long modInt = strtol(mod.c_str(),NULL,base), divided = 0; for(int i=0;i<s.size();i++){ divided = divide...
9101d12693f103c6c6b0b5817dc5902fdccf6b62
62d7e94e83617466837cdd22754509c439f2f3a0
/libraries/include/blockchain/Config.hpp
af6433c1def41d29ee3fa4473a396840acbc5669
[ "MIT" ]
permissive
jinguangguo/Achain
86df13d9a1dfe82b45a5cb8595589fcb95132338
a7029b39b14b5aea1ab816e497b9184c448ce808
refs/heads/master
2021-01-23T19:14:08.973962
2017-09-08T03:07:12
2017-09-08T03:07:12
102,812,204
1
0
null
2017-09-08T03:16:55
2017-09-08T03:16:55
null
UTF-8
C++
false
false
5,796
hpp
Config.hpp
#pragma once #include <stdint.h> /* XXX: Comment out this line for a non-test network */ #define ACT_TEST_NETWORK_VERSION 83 // autogenerated #define ACT_BLOCKCHAIN_DATABASE_VERSION uint64_t( 201 ) /** * The address prepended to string representation of * addresse...
301dc6d9c2cff78a1015a8f6578f9d3caeebe499
0c6a441a432a55f5c05c80dd034a054b83a90cce
/TicTacToe/MainWindow.h
19376c3680fee186ccba0986c1c9c8e0fc06ad33
[]
no_license
ryanhe4/Qt_Programs
f9c77e42be512bda840f3eafddfd0267ec41d2c6
446b08363923c71741062fae98c2fbf8515034c9
refs/heads/master
2023-02-12T03:55:38.356582
2021-01-10T05:41:10
2021-01-10T05:41:10
321,864,402
0
0
null
null
null
null
UTF-8
C++
false
false
682
h
MainWindow.h
// // Created by yangheechan on 2020-12-20. // #ifndef TICTACTOE_MAINWINDOW_H #define TICTACTOE_MAINWINDOW_H #include <QMainWindow> #include <memory> #include <QTableWidgetItem> #include "TicTacToe.h" #include "vector" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: exp...
a40c35e91f204da0b4a939da65585166e3995c68
f281d0d6431c1b45c6e5ebfff5856c374af4b130
/DAY100~199/DAY136-BOJ5566 주사위게임/yunalee.cpp
5df769fd771c1d6905734089de05fceaa3040f19
[]
no_license
tachyon83/code-rhino
ec802dc91dce20980fac401b26165a487494adb4
b1af000f5798cd12ecdab36aeb9c7a36f91c1101
refs/heads/master
2022-08-13T09:10:16.369287
2022-07-30T11:27:34
2022-07-30T11:27:34
292,142,812
5
6
null
null
null
null
UTF-8
C++
false
false
628
cpp
yunalee.cpp
#include <iostream> #include <vector> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N, M; cin >> N >> M; vector<int> order(N, 0); vector<int> number(M, 0); //보드게임 칸의 명령어 입력 for (int i = 0; i < N; i++){ cin >> order[i]; } //주사위 명령어 입력 for (int i = 0; i < M; i++){...
bb5a28a3f94fa9637ff5f362b5f5e72cd6173f7c
d71fad53d1149313e44c99e0be9d0c4f6a62a6f6
/ChaosEngine/Source/ChaosCore/src/Components/CameraComponent.cpp
cb770bd3f044a4eba1c9bab76999253e35d083e4
[]
no_license
W1lliam/ChaosEngine
217e3d5f77447b5c3b1323be52f0cfc2e52fc9ae
2ed45d79c4546894b1276d8f09823d51540383ad
refs/heads/master
2020-06-04T19:00:52.880249
2019-06-16T06:30:08
2019-06-16T06:30:08
192,155,302
2
0
null
null
null
null
UTF-8
C++
false
false
2,630
cpp
CameraComponent.cpp
#include "ChaosCore/Components/CameraComponent.h" #include "ChaosCore/ECS/Managers/ComponentManager.h" #include "ChaosCore/Scripting/ScriptsHandler.h" namespace Chaos { CHAOS_DEFINE_COMPONENT_TYPEID(CameraComponent); CameraComponent::CameraComponent(COMPONENT_INIT_PARAMS) : COMPONENT_INIT(CameraComponent) ...
f89f671d987376537ea5e72aecb3f42bbe892a17
692e36818bdefc892c15b2f313ade0bf4452cf35
/samael/src/Shader.h
006f98a5d72a899dc10273615c8cd6b3d70459d9
[]
no_license
NPTricky/img-classification-ss13
814480a69489ad328b8ebd2d1632dc36ee40f5de
cd234ecde9f670c6cf7705d7aa54eed24c1dd991
refs/heads/master
2016-09-06T12:26:08.769213
2013-07-10T13:41:02
2013-07-10T13:41:02
9,509,127
0
1
null
2013-06-25T15:48:56
2013-04-17T22:44:03
C++
UTF-8
C++
false
false
1,866
h
Shader.h
#ifndef SHADER_H_ #define SHADER_H_ #include <iostream> #include <string> #include <fstream> #include <stdarg.h> #include <assert.h> #include <vector> class Shader { public: enum ShaderSlots { POSITION, TEXTURE0, TEXTURE1, TEXTURE2, TEXTURE3, NORMAL, BINORMAL, TANGENT, WEIGHTS, BONEINDICES, ...
85fbda544a4be04a11db7a6464fc7e70be798b95
9beb3222a6c84a3d61f187de1d10b351119e30a9
/Binary Trees/zig_zag_string.cpp
44b723c0faf8f35ee9b379cba874432fc29138ae
[]
no_license
Heet-Mistry/Competitive-Coding
ae61e79d5fa26b1fe8371dab60e69325e012fb83
8ff5b0682cbb792e7e7437d7d17c0566a6239843
refs/heads/master
2023-07-22T13:50:28.523083
2021-09-10T17:26:45
2021-09-10T17:26:45
402,439,318
3
0
null
null
null
null
UTF-8
C++
false
false
1,957
cpp
zig_zag_string.cpp
#include<bits/stdc++.h> #define ll long long #define vi vector<int> #define pb push_back #define fast ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr) #define fi first #define se second #define INF 1000000007 #define mod 1000000007 #define fr(i,a,n) for(int i=a;i<n;i++) using namespace std; #inclu...
43e9c04bf404e3f51213a09b40a7bc482ab734ba
7a5c6de432c974b863ad17c6506a8b67d79fe750
/RulleGardinCode/RulleGardinCode.ino
d960a1ba40a4770a3f95e82212117231952475c0
[]
no_license
gert-lauritsen/Esp12_Blind
20775a509db02ac57e46a39aa9a4f4cc26fd6693
7a65d1a50119e514008996187718072c1f8da216
refs/heads/master
2023-01-12T19:49:16.762272
2020-11-19T09:23:17
2020-11-19T09:23:17
258,441,359
0
0
null
null
null
null
UTF-8
C++
false
false
3,847
ino
RulleGardinCode.ino
#include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <PubSubClient.h> #include <Stepper_28BYJ_48.h> #include <String.h> //For at kunne kører med OTA skal den sætte til 4M/1M, ellers er der ikke plads til koden //HW_ver1 er forbunder D0, D2, D12, D13 //HW_ver2 er forbu...
4f71a327cbcce1ad55906b33aa595af9484904ce
fc3bfd624012f070789bc6d033690151e6e17b01
/include/athena/ALTTPStructs.hpp
400dfe294b4d5e6e55d5e223bdd9bfb8bbc1b671
[ "MIT" ]
permissive
libAthena/athena
dd9d063400b09fb0167e2f4e5470b0245763ad89
fa346ace4774e4ac66644be6d11908a80f0151b6
refs/heads/master
2023-06-08T22:07:23.387917
2022-08-03T22:16:30
2022-08-03T22:16:30
7,843,182
1
4
MIT
2021-04-19T01:26:12
2013-01-26T20:22:44
C++
UTF-8
C++
false
false
3,542
hpp
ALTTPStructs.hpp
#pragma once #include <string> #include "athena/Types.hpp" namespace athena { struct ALTTPRoomFlags { bool Chest1 : 1; bool Chest2 : 1; bool Chest3 : 1; bool Chest4 : 1; bool Quadrant1 : 1; bool Quadrant2 : 1; bool Quadrant3 : 1; bool Quadrant4 : 1; bool Door1 : 1; bool Door2 : 1...
0ba2ac2185afa6febb0197b54ad047e5281bb59e
05302628ec6bb3ba9df20d5bad676746348fafd3
/src/models/Game.cpp
8bf03b940f2af4ec6a1625b27759632a03190c40
[]
no_license
GaaH/VegetableCrushSaga
dc88bac67a208ec667c37c4eb8bc66fec8fdcf25
de0a0aaefbd12115d2bbf929bda7be1671568130
refs/heads/master
2016-08-06T23:07:52.564920
2014-03-21T14:34:15
2014-03-21T14:34:15
15,969,708
1
0
null
null
null
null
UTF-8
C++
false
false
5,146
cpp
Game.cpp
#include <SFML/Graphics/RenderTarget.hpp> #include <SFML/System/Clock.hpp> #include "Globals.hpp" #include "models/Game.hpp" #include "models/Board.hpp" #include "models/items/Item.hpp" #include "models/conditions/CounterCondition.hpp" Game::Game(unsigned int x, unsigned int y, unsigned int width, unsigned int hei...
6491daf1448d051c5ceb240c024a23f779dbed63
ca2b4ab1c217a840d5e4e9bfe427237a424f120e
/Trie/word-break.cpp
b6ab1aa49a0980d68298f6bb42c1c10c2d9c45b2
[ "MIT" ]
permissive
akshitagit/CPP
f3b9f2689bf0d563e562cdcea1e7da7b3319c859
b2d449c4f6e704d797e00170c9336df52d0fdb64
refs/heads/master
2023-08-17T10:28:58.004147
2023-06-01T03:41:29
2023-06-01T03:41:29
295,419,598
549
589
MIT
2023-09-06T01:38:20
2020-09-14T13:09:20
C++
UTF-8
C++
false
false
1,963
cpp
word-break.cpp
// Problem Link: https://leetcode.com/problems/ // Solution: Trie+DP(memoization)Time Complexity: O(n*l + N^2) // where, n = length of word dict // l = length of longest word in the dict.N=length of string (s) // Prerequisite: You should know basic concept of Trie class Solution { public: class Trie{ publi...
638027f544ed6a87cdaa78af05bb845e0f56238e
b203f37b9b0bd7b255ae18edb75a0c75c9c9f6f1
/gnu-cpp/core/src/vxml/vdom/VDOMImplementation.cpp
3d7af7c180d3d3181d71453f312d9fcb44b7b2aa
[]
no_license
opendesignflow/wsb-core
a4ac55d7a2d657f22142f42045beba1e51e377c9
291706271171646154e160e3fe96b7d065903492
refs/heads/master
2022-01-22T15:34:43.209995
2017-05-24T11:41:04
2017-05-24T11:41:04
18,993,874
0
0
null
null
null
null
UTF-8
C++
false
false
853
cpp
VDOMImplementation.cpp
/** * VDOMImplementation.cpp * * This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send * a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, Californi...
ede072c2f8f2721d67e38b72af38a2d24f117887
8481b904e1ed3b25f5daa982a3d0cafff5a8d201
/C++/BZOJ/BZOJ 2433.cpp
0d7dab4cd683e193f6d2a70d0f97bb5735d2a15a
[]
no_license
lwher/Algorithm-exercise
e4ac914b90b6e4098ab5236cc936a58f437c2e06
2d545af90f7051bf20db0a7a51b8cd0588902bfa
refs/heads/master
2021-01-17T17:39:33.019131
2017-09-12T09:58:54
2017-09-12T09:58:54
70,559,619
1
2
null
null
null
null
UTF-8
C++
false
false
3,768
cpp
BZOJ 2433.cpp
#include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> #define eps 1e-10 using namespace std; struct point { double x,y; int id; }p[8010]; struct xian { point p1,p2; double x; int id; bool isST; }line[8010]; int n,s,t,psz,lsz; int sz,to[700001...
0dce07ccbf97bdcc2e323b2ccfeb64bf450dc3f6
646bb609e3f153b98fe96e2825087a437c90b762
/GDI和GDI Plus/MemDC.h
c8296d33a8973678fb0361b27503e50afc0f6a37
[]
no_license
cmdblock/GDI-GDI-plus
fcf7a79f743562094fc7020de01f1b4d1113c27d
a52c2f8fdbc2a7e7809c4336106881dcee93e72b
refs/heads/master
2022-12-17T14:31:28.816625
2020-09-15T08:56:46
2020-09-15T08:56:46
295,671,482
0
0
null
null
null
null
UTF-8
C++
false
false
218
h
MemDC.h
#pragma once class CMemDC { public: CMemDC(HDC hdc, const RECT& rect); virtual ~CMemDC(); operator HDC() { return m_hMemDc; } private: HDC m_hdc, m_hMemDc; RECT m_rect; HBITMAP m_hBitmap, m_hOldBitmap; };