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
e400f46a0b365b3cd0cb8f442b357b3f72f368f0
4f1dce3d800ac7562e9f6c21d5ed923d9ac48e72
/Engine/ResourceManagement/Metafile/MetafileManager.h
03e79299f1b1ef1c12cdba6b213face54326edea
[ "MIT" ]
permissive
mariofv/LittleOrionEngine
16ebf6c9664b5d9b1445b1715866bd6d69d59e13
38ecfdf6041a24f304c679ee3b6b589ba2040e48
refs/heads/master
2021-07-04T04:56:01.737916
2021-01-06T14:03:09
2021-01-06T14:03:09
216,619,680
67
10
MIT
2020-12-03T13:38:41
2019-10-21T16:54:35
C++
UTF-8
C++
false
false
1,477
h
MetafileManager.h
#ifndef _METAFILEMANAGER_H_ #define _METAFILEMANAGER_H_ #include <string> #include <unordered_map> class Metafile; class Path; enum class ResourceType; class MetafileManager { public: MetafileManager() = default; ~MetafileManager(); Metafile* CreateMetafile(const std::string& asset_file_path_string, ResourceType...
3617c6c01d536817e41f6b7e78ad9014568d7fe7
29ee4fda57c5c451ced2ff03d3f90eb11edb2451
/src/utils_io.hpp
b5b2357a5e39f7d5f24a945594555ac971bf87c8
[]
no_license
s-vde/cpp-utils
ad98f059d34f6952866f33b25a08c7c60c03c1be
56f98cf0e644f8187e94e8c4f55ae23e8da2a026
refs/heads/master
2021-01-01T05:07:02.346400
2017-10-14T15:13:58
2017-10-14T15:13:58
57,329,938
0
0
null
null
null
null
UTF-8
C++
false
false
1,365
hpp
utils_io.hpp
#ifndef UTILS_IO_HPP_INCLUDED #define UTILS_IO_HPP_INCLUDED #include <fstream> #include <sstream> /*---------------------------------------------------------------------------75*/ /** @file utils_io.hpp @brief Declarations and definitions of simple input/output utilities. @author Susanne van den Elsen @date 2015...
ef2c1da04b48c520a35a61b977b5c93be6834e86
8f55c9e83b5b812b1f8ecc5383e7f7741394ad2e
/Module.h
e9692734a83afd46424b721641025a504b3a87a0
[]
no_license
abhi1010/Price-Feed-Handler
0bc18d04a6ab2b0df6efbe6eb176164bc7be824b
a22dbb310c6f59986a247612386a487d064e4492
refs/heads/master
2021-01-18T15:16:25.826019
2014-05-29T04:54:40
2014-05-29T04:54:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
933
h
Module.h
#ifndef ModuleH__ #define ModuleH__ #include <stdexcept> #include <typeinfo> class InitModule; template <typename T> class Module; class ModuleBase { public: virtual ~ModuleBase() {} template <typename T> T* get () const { if (typeid(T) != mTypeInfo) { throw std::bad_ca...
36a22b03ca5651a3afdafbbbdd4cc0895779f391
197f77ec364ff2cc6e96d8d3f362cd14eda75799
/src/frontend/webcam-demo.cc
ab08a9afc835249195339b0462f7ceeeb25af2ec
[]
no_license
stanford-stagecast/audio
d19a4fdfc174d113485782dcf21591ad6cb02331
d6659b99564d1cea2a9d9145591b769d019251b0
refs/heads/main
2023-03-14T00:04:31.461048
2021-03-05T20:10:04
2021-03-05T20:10:04
301,059,435
5
2
null
2021-02-28T03:15:51
2020-10-04T06:47:47
C++
UTF-8
C++
false
false
1,151
cc
webcam-demo.cc
#include "camera.hh" #include "eventloop.hh" #include "h264_encoder.hh" #include "mp4writer.hh" #include "scale.hh" #include <cstdlib> #include <unistd.h> using namespace std; int main() { Camera camera { 3840, 2160, "/dev/video0" }; Scaler scaler; scaler.setup( 0, 0, 3840, 2160 ); H264Encoder encoder { 1280...
1c48a86e82910dec04ace70144dd2e2d65763302
e26a1ff35adaa6cd22d577570c365bdae17645c5
/stack-list.cpp
36fca312fc739c246b4b72489f4012621a63bd63
[]
no_license
adivii/list-stack
9618729153f6ab4d80d0813ee8939ce130215d0d
ef222d3d807ab9e90bbbb9983ef6136ae54f3a82
refs/heads/main
2023-05-14T13:22:08.462164
2021-06-11T11:51:28
2021-06-11T11:51:28
374,343,673
0
0
null
2021-06-11T11:51:28
2021-06-06T11:33:10
C++
UTF-8
C++
false
false
1,472
cpp
stack-list.cpp
/*Tugas Kelompok Stack List Nama-anggota: 1. 2. 3. Link Github: ..... */ #include <bits/stdc++.h> #define MAX_STACK_SIZE 100 using namespace std; class Lingkaran{ public: double radius; Lingkaran *next; Lingkaran(){ this->radius=1; } Lingkaran(double radius){ ...
819d81bb47c27736c2785ad45bf6074d7aaf3ab2
8b481519bd46f07055baf33dc290086f37b47fe6
/leetcode/0084_v2.cpp
053af9ba499528ccfa5c70bb78635f1d9d8b4e61
[]
no_license
Hansimov/cs-notes
1e0717abce9788a25636a3649664de4ba4537f90
baab60752bafa7964cf63e3051e595c7f28bd415
refs/heads/master
2023-04-11T14:06:28.184490
2021-03-26T16:28:29
2021-03-26T16:28:29
167,122,370
2
0
null
null
null
null
UTF-8
C++
false
false
1,885
cpp
0084_v2.cpp
// Leetcode 084 柱状图中最大的矩形 // https://www.codetd.com/article/3073438 #include <iostream> #include <fstream> #include <sstream> #include <stdio.h> #include <string> #include <cstring> #include <stack> #include <vector> #include <algorithm> using namespace std; static const auto _ = []() { std::ios::sync_with_std...
48bb936a79bef55305f179244add334452a86e6d
584dd17425bba4f8ac816f171f947a2660d75204
/HW4/Prob3/itemSet.inl
cefdce6fe9ad5215d340d1e58c4976cef97b08d4
[]
no_license
Unwrittend/CS60
8052f9a385508bd4cb22361dc330249082304fb8
c790802c3d40704038cc1283317b817702612d54
refs/heads/master
2020-04-29T01:04:50.141635
2019-03-15T00:10:06
2019-03-15T00:10:06
175,718,406
0
0
null
null
null
null
UTF-8
C++
false
false
606
inl
itemSet.inl
//#include "itemSet.h" #include <new> using namespace std; //default //initializes it with one spot template <class anyType> ItemSet<anyType>::ItemSet() : itemArrSize(0) { item = new anyType [itemArrSize]; } //constructs dynamic array of size arrSize template <class anyType> ItemSet<anyType>::ItemSet(int arrSize) ...
fc51765553d2df2641d3ea34058881207813a315
916b2132bcd49372fca98c3002d49b70daf741d3
/time_travel.cpp
5fcda6f5705688f2707d20943701aad9d092d45a
[]
no_license
JaeHun0304/cpp_study
863e07b07506d6c0b920f476aa38e3006a458261
afb10ff210a91ea13e476a6f71a1db42f625e92d
refs/heads/main
2023-01-13T09:45:16.689204
2020-11-09T03:30:20
2020-11-09T03:30:20
310,962,593
0
0
null
null
null
null
UTF-8
C++
false
false
332
cpp
time_travel.cpp
#include <vector> #include <iostream> #include <limits> using namespace std; int main(){ int W = 4, G = 4; int MAX_V = 100; vector<pair<int, int>> adj[MAX_V]; adj[1] = { make_pair(0, 4), make_pair(4, -4) }; adj[2] = { make_pair(0, 4), make_pair(3, 5) }; adj[3] = { make_pair(2, -7) }; adj[4] = { make_pair(4, ...
fc203b8582a6e66304b767830cba27d834999117
8aea83b30123c5dd57c895742bc796b208508ac4
/cs_microbench/ithrash.cc
d147e46ff23f63bc479a4e6d0f36aba0825ec5db
[ "BSD-3-Clause" ]
permissive
problame/ba-osv-apps
73a0ae5ff421d080b2b847aeb4be9bbc16fcbed2
8cb55dcfa9877e44e60c5dc4718b9f9d4549c576
refs/heads/master
2021-04-18T18:41:59.495917
2018-03-22T10:41:14
2018-03-22T10:41:14
126,310,073
0
0
null
null
null
null
UTF-8
C++
false
false
3,347
cc
ithrash.cc
/** About this benchmark * * Experiment with icache thrashing and show the usefulness of stages. * * Allocate WS_COUNT working sets of icache_work of WS_SIZE. * Cycle between them for ITERATIONS and do one unit of work each. * * Can use perf or likwid to view icache misses or use the HIST_(START|END) * argument...
2c0e91f415e0c79705682157be7b8ac47f551cbc
407707d8e5065e162627164593e4b7f753adc6f7
/MatAsReturn/MatAsReturn.cpp
112fb08de3cf6040fb3a136b2151cb9242299d1e
[]
no_license
Andromeda2333/ImageProcessing
5cf7ce1c9160bac4d15dfc0c83be0961af0e7962
8000384233dfe066dbe0b127ae7de43151e4c025
refs/heads/master
2020-05-04T19:28:13.522050
2015-10-22T17:03:49
2015-10-22T17:03:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
850
cpp
MatAsReturn.cpp
// MatAsReturn.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> cv::Mat ROI(cv::Mat& image,int i,int j); uchar Average(cv::Mat& localImage); int _tmain(int...
3f88e690c7a13a884dca03bcb20cf588cd0bd662
7ac293b25a6bbc1cd8b26b51cf376a34f37ae79a
/数据结构/哈希表/小结/四数相加②.cpp
be777c0c6371a771c03a45c8e9ce1b3af32a37b3
[]
no_license
SwordHarry/LeetCode
38382820d0ec2d3b3ba101a1219a4b8cec56fc06
1b8b328a1213ed0b6c8546511dcad73bdb4f57d3
refs/heads/master
2020-04-17T14:32:45.783929
2019-07-25T17:04:35
2019-07-25T17:04:35
166,660,880
3
0
null
null
null
null
UTF-8
C++
false
false
1,998
cpp
四数相加②.cpp
/** * Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make problem a bit easier, all A, B, C, D have same length of N where 0 ≤ N ≤ 500. All integers are in the range of -228 to 228 - 1 and the result is guaranteed to be at ...
34da944e6e96f0c56f27b0770314aa4933c22979
5a3be2e6fcf376527b277ad3fc6a8a8320aff0c5
/GroupC/Freecell/ConfigScene.cpp
c9c9c8fe0bf178e3fe94dc2a54ece7df69376401
[]
no_license
nitsc-proclub/Bunaiprocon2020
0088af16bbf43611fbef0edfb25e692b4cd4e2ab
484a33743d7a9d13d691a3c64dfb9810c97b3a79
refs/heads/master
2021-05-25T07:24:32.508785
2020-04-07T07:17:32
2020-04-07T07:17:32
253,712,130
0
0
null
null
null
null
UTF-8
C++
false
false
344
cpp
ConfigScene.cpp
#include"ConfigScene.h" #include"BoxFloatEffect.h" ConfigScene::ConfigScene() { Controller::CanShowSoftKey = true; interval = Stopwatch(true); } void ConfigScene::Loop() { if (interval.sF() >= 1) { Event::New(std::shared_ptr<IEvent>(new BoxFloatEffect(6, Size(30, 30))), 0, 300, Background); inte...
1097ae48378fa1a60d62bf64d47fad7fb7dc76d7
15cc4233e943c5ae75a4dcd45b8902977e4646ff
/BattleTank/Source/BattleTank/TankPlayerController.cpp
93a6bebd42ff8f81a24b843d234a6135881858b8
[]
no_license
hunter-morabito/BattleTank
e74ab1d3fcd9d3cf66c4870b99c6c802463d2fb1
6ba411e71d262e68b30dce33d11ee4939c860878
refs/heads/master
2021-05-04T14:53:38.903875
2018-05-08T01:01:09
2018-05-08T01:01:09
120,212,905
0
0
null
null
null
null
UTF-8
C++
false
false
2,885
cpp
TankPlayerController.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "TankPlayerController.h" #include "Tank.h" void ATankPlayerController::BeginPlay() { Super::BeginPlay(); auto ControlledTank = GetControlledTank(); if (ControlledTank) { UE_LOG(LogTemp, Warning, TEXT("Player Possessed Ta...
ad4377a584b106e7536534ca873eefeadd699447
69e2e5fb5220d3311b9d1e4c2bb2f6c1722a156a
/altona_wz4/altona/examples/dxt/codec_ms.cpp
3a1f70b81f2111b2b51901fe08b10464c5b120fd
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
kebby/fr_public
c2acb4787472c5e039805a084894a7858dd6d19a
2bb82d30bf9d10cf2a94b445710942ac9f065391
refs/heads/master
2021-01-16T00:36:57.267206
2012-08-16T03:36:05
2012-08-16T03:36:05
4,026,092
6
1
null
null
null
null
UTF-8
C++
false
false
4,015
cpp
codec_ms.cpp
/****************************************************************************/ /*** ***/ /*** (C) 2005 Dierk Ohlerich, all rights reserved ***/ /*** ***/ /**...
32dacec565502f5de36c505dd03e41b3c998c355
ec6a71b57ebe88538269197fd16bede6bc2062ae
/lib/wx/api_gen/wx_extra/added_func.h
bf18a16c6c10ebfdc00478c8be0628d862e268c6
[ "Apache-2.0" ]
permissive
erlang/otp
7c6e88ca955bd6a3ede1530154c80e8ce449a370
334589af62a8db25a81afba2ecc50f33ff69ddb8
refs/heads/master
2023-08-30T23:37:28.061328
2023-08-30T04:20:48
2023-08-30T04:20:48
374,927
9,920
3,018
Apache-2.0
2023-09-14T10:37:26
2009-11-16T17:17:57
Erlang
UTF-8
C++
false
false
2,798
h
added_func.h
// Macro needed in erlang class WXDLLIMPEXP_XRC wxXmlResource : public wxObject { public: /** Looks up a control. Get a control with @a Name in a window created with XML resources. You can use it to set/get values from controls. The object is type casted to <b>Type</b>. Example: <br /> ...
62701c56e9760549caa4637bccb6a5ab7b69375c
33035c05aad9bca0b0cefd67529bdd70399a9e04
/src/boost_mpl_list_aux__begin_end.hpp
c2b2304816e12ae445d4024b25cef1b52312783e
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
elvisbugs/BoostForArduino
7e2427ded5fd030231918524f6a91554085a8e64
b8c912bf671868e2182aa703ed34076c59acf474
refs/heads/master
2023-03-25T13:11:58.527671
2021-03-27T02:37:29
2021-03-27T02:37:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
45
hpp
boost_mpl_list_aux__begin_end.hpp
#include <boost/mpl/list/aux_/begin_end.hpp>
de82f8461a77de5de8dd28aa7d06e68d80104c7c
04ace79ef7785a3bb7bcfc597791eb51bb14dcc7
/week-06/day-2/8/main.cpp
004f1be8cc824b977a0cc9d73c3e8c58fc847809
[]
no_license
green-fox-academy/NaArmin
089cc301f3865c0af2d0b8f0163e03ecf97f2748
15e94f542cffc88634f59cf303a21cad0bc69a3f
refs/heads/master
2021-09-07T12:02:18.442501
2018-02-22T15:03:49
2018-02-22T15:03:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
210
cpp
main.cpp
#include <iostream> #include "Student.h" using namespace std; int main() { Student st; st.add_grade(3); st.add_grade(4); st.add_grade(1); cout << st.get_average() << endl; return 0; }
1f6635b6900eb3921b86d3d69fe59d69f14ea293
3e1c801efa0ccec9e018e35ed2720d9ff0b4f81f
/src/menu_extras/multiOptionMenu.cpp
51c3b80e37d384367167281bf1003bc3339f1d17
[ "MIT" ]
permissive
kayateia/feetoffury
4f3304b8371ab4aefdde28b5a6fb926b1c0342c6
b3613c11dfdc8b287bd55f3b10dea70306de6261
refs/heads/master
2020-03-31T04:26:02.393040
2018-10-07T04:07:26
2018-10-07T04:07:26
151,904,873
9
1
null
null
null
null
UTF-8
C++
false
false
2,253
cpp
multiOptionMenu.cpp
/* Feet of Fury menu_extras/multiOptionMenu.cc Copyright (C)2003 Cryptic Allusion, LLC */ #include "global.h" #include "menu_extras.h" #include "multiOptionMenu.h" #include "option.h" #include "selbar.h" MultiOptionMenu::MultiOptionMenu(MenuExtras * parent) : ExtrasMenu(parent) { m_title = new Label(m_...
aab00524f5b858e2b86688d6fd59950c82f59c4d
65987a3251e26302d23396be2a14c8730caf9f6c
/ZROI/369.cpp
02ae3301b642716b6c228c4ce9768cc71db10d7d
[]
no_license
wuyuhang422/My-OI-Code
9608bca023fa2e4506b2d3dc1ede9a2c7487a376
f61181cc64fafc46711ef0e85522e77829b04b37
refs/heads/master
2021-06-16T08:15:52.203672
2021-02-01T05:16:41
2021-02-01T05:16:41
135,901,492
5
0
null
null
null
null
UTF-8
C++
false
false
2,079
cpp
369.cpp
#include <algorithm> #include <iostream> #include <cstring> #include <climits> #include <cstdlib> #include <cstdio> #include <vector> #include <cmath> #include <ctime> #include <queue> #include <stack> #include <map> #include <set> #define fi first #define se second #define U unsigned #define P std::pair #define Re re...
0aeb2e851faec24713db7d5b28faa41592750ab3
536ab47e5ce1a3bd2bf8e6afabf7549457637b46
/printRPM.cpp
3af6f2e621ff5363654164f63a437bfd3ce9e714
[ "Apache-2.0" ]
permissive
EvelynAnyebe/neato-xv11-lidar
b5ec438f0bbc82520f4517169b484aad18ca9420
884c3de405720a9f05b1776adcc14e1845ab99b5
refs/heads/master
2023-06-09T15:02:28.685900
2021-06-29T08:58:05
2021-06-29T08:58:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
317
cpp
printRPM.cpp
#include "xv11.h" int main(int, char **) { Xv11 xv11; xv11.start(); fprintf(stderr,"PWM range = %d\n",xv11.getPWMrange()); for(int i = 0; i<200; i++) { printf("%f\n",xv11.getRPM()); fprintf(stderr,">"); std::this_thread::sleep_for(std::chrono::milliseconds(100)); } xv11.stop(); fprintf(stderr,"\n"); }
3a49592506fa47f3c1be8bf8d109ed85a6991bb5
a12a775abc346582f26d82e4b3f09dce0534de8e
/ucore/ucore/package/config/qconf.cc
dfd1f5c21cfd5e96b80b849ecb2c399f0954651b
[]
no_license
XinYao1994/Jos-mips
f595bcfc143fe1cf9bfb8e2112ccb9b4821ee0f2
839ce33cfaa32d0798f16f96e05e1b1397ba410a
refs/heads/master
2021-01-10T14:35:59.152517
2016-03-23T04:00:33
2016-03-23T04:00:33
53,818,495
0
0
null
null
null
null
UTF-8
C++
false
false
130
cc
qconf.cc
version https://git-lfs.github.com/spec/v1 oid sha256:931d990f00e8c9b58b24d7c992c4ed6358759a6baad0d6f950a85b46076668ae size 42831
4f988a7a2c78b0a46ed0fa0c0b6ff74f47826a4b
f06630352a79b74d250b1f34b3ea8720571ad58e
/src/petra/dev/src/OneFile/graphs/BenchmarkSPS.hpp
4c2d79c3bd183e18b0a9077f4bc01b24520d5f08
[ "MIT" ]
permissive
CLPeterson/DurableCorrectness
b57f3d28ce4cdb932506964b40b06bdb39ba843a
5e3ae0c09f6ac9415850ae389672c50cb743262d
refs/heads/master
2023-01-28T10:55:23.083481
2020-09-22T13:30:34
2020-09-22T13:30:34
285,900,349
2
0
null
null
null
null
UTF-8
C++
false
false
10,883
hpp
BenchmarkSPS.hpp
/* * Copyright 2017-2018 * Andreia Correia <andreia.veiga@unine.ch> * Pedro Ramalhete <pramalhe@gmail.com> * Pascal Felber <pascal.felber@unine.ch> * Nachshon Cohen <nachshonc@gmail.com> * * This work is published under the MIT license. See LICENSE.txt */ #ifndef _BENCHMARK_SPS_H_ #define _BEN...
57fc884fdd4b7174cd8bfb2fa0a1d88867b139be
48f71cc36854c8e3f3ea57aba2a38646a8d63004
/shirabeengine/shirabe_resource_compiler/code/include/textures/definition.h
a29af63aff749d7e078a36a3ce7e9e4669268528
[ "MIT" ]
permissive
Fraaanzi/ShirabeEngine
10b6a5bb736432e3fd22b8d32324fd2b6b0396b2
39b3aa2c5173084d59b96b7f60c15207bff0ad04
refs/heads/master
2020-12-07T23:45:58.001712
2019-12-30T21:32:24
2019-12-30T21:32:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
373
h
definition.h
#ifndef _SHIRABE_RESOURCECOMP_TEXTURE_DEFINITION_H_ #define _SHIRABE_RESOURCECOMP_TEXTURE_DEFINITION_H_ #include <string> #include <vector> #include <base/declaration.h> #include <base/string.h> #include <log/log.h> #include "common/definition.h" namespace texture { SHIRABE_DECLARE_LOG_TAG(TextureProcessor)...
a124fe922160bb27b2e00887b4e4e318c1da6d5f
1fb0b6559816075a8386aa62492869bbcf4617f1
/src/utils/inc/socket_server_tcp.h
f66759b0ea515896e9d72e61b63a4003fb3b4127
[ "MIT" ]
permissive
lesongvi/brainflow
28eeabb1d49521333a1432441b19920e45e5f33b
e10dc1e0d8016285967825170f8af1ebd768efb0
refs/heads/master
2021-06-23T05:09:40.820493
2021-04-23T12:58:53
2021-04-23T12:58:53
216,339,790
2
0
MIT
2021-04-23T12:58:54
2019-10-20T09:51:56
null
UTF-8
C++
false
false
1,216
h
socket_server_tcp.h
#pragma once #ifdef _WIN32 #include <ws2tcpip.h> #else #include <arpa/inet.h> #include <sys/socket.h> #include <unistd.h> #endif #include <queue> #include <stdlib.h> #include <string.h> #include <thread> enum class SocketServerTCPReturnCodes : int { STATUS_OK = 0, WSA_STARTUP_ERROR = 1, CREATE_SOCKET_ERR...
53d426f3cad236c7ad4d53dbcec0c1bc2aceed36
8fd97c8310d59bf1ce9487e42dbf5395d4412345
/source/game_utils/misc/tests/sdlkeytostring_test.cpp
6f334b0c831065f0b9708559fd88cab9c4b044a9
[ "Zlib" ]
permissive
gummikana/poro
37c5dba0c11412e8ccdde5b4f5e949864c1e6e74
70162aca06ca5a1d4f92b8d01728e1764e4c6873
refs/heads/master
2023-06-22T17:48:43.103700
2019-09-17T15:32:31
2019-09-17T15:32:31
1,170,509
9
5
null
null
null
null
UTF-8
C++
false
false
1,800
cpp
sdlkeytostring_test.cpp
/*************************************************************************** * * Copyright (c) 2003 - 2011 Petri Purho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permissi...
5552734ec2dc094e796f7701b49e5f07347e4126
cec0d28fdf99c4a4d006e4c215eeb509516ac122
/Portfolio/CSC2402- Assignment 3/partA.cpp
3c5350bd7fe46c6732f75aad5060dd0ebd6de217
[]
no_license
camduncan-kemp/University-Portfolio
5fd1b5d6bb78de36ffd17146c180ee132ce0f936
ed5a021a415ac20ce588ebd320cda11fb51b7274
refs/heads/master
2020-08-03T05:58:39.175721
2019-09-29T10:46:11
2019-09-29T10:46:11
211,645,798
0
0
null
null
null
null
UTF-8
C++
false
false
1,094
cpp
partA.cpp
#include <iostream> #include<iomanip> #include <string> #include <fstream> using namespace std; void recurseFunction(int input, int count, int largest, int original) //Recursive function, maintain original input for result output { if(input > largest) // Test for largest number reached { ...
c53c1c478b1c9c645d41d652515c594cc64d34db
9d0b75314137125d6a7d6eddbe9436db99e1de8a
/src/frontend/GPProducerUtils.cpp
bfb88cfae2e25423aee3d93d2a5f719d95fdf056
[ "Apache-2.0" ]
permissive
jxt1234/Renascence
0c4cdcda5a94d450fa96017e723ce53e564296bc
c0a801e337a31de05f49047fd11920a3c2e32ed6
refs/heads/master
2021-01-17T09:49:49.444649
2016-12-29T08:04:36
2016-12-29T08:04:36
13,532,616
3
6
null
2015-12-07T06:54:35
2013-10-13T02:34:30
C++
UTF-8
C++
false
false
5,812
cpp
GPProducerUtils.cpp
/****************************************************************** Copyright 2015, Jiang Xiao-tang 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...
5238e1fce104352fea5048858af8f34fa9d512bc
ac22fa551737e31cb3f83ca1d25b480361767c30
/main/Algorithms.h
70c81fd1efa2ce51a934bdc2ca424f28da016ad7
[]
no_license
Ccuevas3410/Sorting-Algorithms
a61040602b8310e8b07dcc2b4ff361c379c3e8ec
8970b14b3a2cdfffd529ce0363d2f9525aa5bf67
refs/heads/master
2020-05-09T15:55:58.793751
2019-04-15T23:08:35
2019-04-15T23:08:35
181,250,397
0
0
null
null
null
null
UTF-8
C++
false
false
572
h
Algorithms.h
#pragma once // GLOBAL VARIABLES TO PASS TO RECURSIVE FUNCTIONS extern int SWAPS; extern int COMPARISONS; class Algorithms { public: Algorithms(); ~Algorithms(); void swap(int &, int &); void selectionSort(int*, int); void insertionSort(int*, int); void mergeSort(int *, int, int, int&, int&); void mer...
2646efddb23aff4d120e29e0114adf15b086c945
88e18f396df6dc9bc3e45c106f560d0073438ef3
/C++/General Projects/MorrisQp5/Book.cpp
d914bec7344f03b85c54a3e6e657d8d6e3144b91
[]
no_license
qmorrissmu/SMU-projects
3f6f65065fc57ed93d3711c9e179aa819d459481
e3db5e573d8b62798c17da2ba50966601a39b742
refs/heads/master
2022-11-30T08:09:38.945346
2020-07-31T22:42:02
2020-07-31T22:42:02
269,765,659
0
0
null
null
null
null
UTF-8
C++
false
false
2,744
cpp
Book.cpp
#include "Book.h" #include <string> #include <iostream> using namespace std; Book::Book() { length = 0; width = 0; numberPages = 0; area = 0; } //constructor for a book object //whether rented or not, it has all these properties(width, height, author, ect) Book::Book(int l,int w,int p,string la...
2744a5ab7c13a3b3d3a9e148d655e4bb5ffa8632
3ffa9722d08313479d9199684ea8f16b312d4f64
/support/view3d.cpp
28152498bd6a755762ddc9ad55204d3822604d53
[]
no_license
lygood2007/Test
af2d1059b83326ec4190c5fd55859e97110f39e9
d8694f54f2db2203452218d0e7f83f5263c8b062
refs/heads/master
2021-01-20T21:53:09.405440
2014-09-15T05:58:55
2014-09-15T05:58:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
34,886
cpp
view3d.cpp
#include "view3d.h" #include <QApplication> #include <QKeyEvent> #include <QGLFramebufferObject> #include <QGLShaderProgram> #include <QMouseEvent> #include "scene.h" #include "CS123XmlSceneParser.h" #include "camtrans_camera.h" #include "assert.h" #include "shape_draw.h" #include "utils.h" #include "resource_loader.h"...
05e0e86a8fda49b573fc13599f818660376d29ca
bba067eefdac16bf983636733217f3fe36a16847
/Engine/Persistence/json.hpp
27864545d371da74d1d2a1106c0198b5d0cc325a
[]
no_license
tankiJong/morph-engine
aa77c50bd867ff64742260a0611d3d84f2b6bbe8
64f37418cadc5945d246bdc488002df62aa0f0bc
refs/heads/master
2021-03-27T13:57:39.963493
2018-12-07T23:19:22
2018-12-07T23:19:22
103,325,220
20
3
null
null
null
null
UTF-8
C++
false
false
231
hpp
json.hpp
#pragma once #include "Engine/Core/common.hpp" #define JSON_HAS_CPP_17 #pragma warning( push ) #pragma warning( disable : 4348 ) #include "ThirdParty/nlohmann-json/json.hpp" #pragma warning( pop ) using json = nlohmann::json;
2d0f0a4068003b7c136b179434299283da2f6f46
d10c69dd01b2aaa5359403dd6d65565a7fd2c926
/IFAM - TADS - ATP - Vetor - Exercício2.cpp
042ccb55b3a42e317773234609582ed687b46839
[]
no_license
maisonsouza/IFAM-ATP-2018
0f6e068cccbe4838f03f8964cb25e22c5ab7689c
a6d85b0c19b516410f48e062690b57a803f911c9
refs/heads/master
2020-03-16T19:42:30.139035
2018-05-24T15:21:00
2018-05-24T15:21:00
132,928,445
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,615
cpp
IFAM - TADS - ATP - Vetor - Exercício2.cpp
#include <stdio.h> #include <locale.h> #include <stdlib.h> #include <time.h> #include <conio.h> main(){ setlocale(LC_ALL,""); srand(time(NULL)); int numero, numeros[10],indice,passos=0; bool achou=false; printf("\n----------------------------------------------------------------------------------------------------...
89b4bc886bb28cda9dd5e47ef06e4c2207448cba
d708a0b61e31a724bcabfe20ac12e0ab352e4ea6
/Treffsicherheit/structs.h
8148a50de9293d03defc234b01128e0285815a4a
[]
no_license
LazyYuki/Bwinf-40
61767c0701b47db8611f9d604f27cfa12960c048
dda7c1d4d9e982cfeed15c196cc0d0864bcbf99d
refs/heads/master
2023-09-05T15:27:57.509635
2021-11-23T16:24:28
2021-11-23T16:24:28
404,769,284
3
0
null
null
null
null
ISO-8859-1
C++
false
false
656
h
structs.h
#include "include.h" struct Member { int beliebtestes{2}; std::vector<int> Tage{}; void BeliebtesterTag() { for (int Tag : Tage) { if (Tag < beliebtestes) beliebtestes = Tag; if (beliebtestes == 0) break; //beliebtestes ist max } } int VeränderteTage(int index) //Wie viele Tage verändert werden müs...
cc414d5d41e321773ef9a5b1319c19ba4767bc1d
291c6db9c4aca46a8bb41f19e9df452ca2eb3043
/Core/AudioManager.cpp
fa98b57b06f7c43e3327361344f238ab8264a7b6
[]
no_license
KFlaga/FlagRTS
39a41647a535340adde9baf9d43b97c6f366bcca
b12e799d307b5afac4c9643b4d35b9d3750057c5
refs/heads/master
2021-01-20T20:28:19.255040
2016-07-03T11:57:54
2016-07-03T11:57:54
62,491,690
1
0
null
null
null
null
UTF-8
C++
false
false
18,106
cpp
AudioManager.cpp
#include "AudioManager.h" #include "SoundFactory.h" #include "SoundListener.h" #include "Sound.h" #include "SoundSource.h" #include "Exception.h" #include "ConfigurationManager.h" #include "ErrorManager.h" #include "LogManager.h" #include <OgreSceneNode.h> #include "SoundChannel.h" #include "StringUtils.h" #include "Sy...
c946827b91803ff33aeb5c4935ce82f4693a6e53
c739b3f04b5de3c840e855c6f5c956156ace64ad
/Botnets/ganja 3.1-iRooT BoT/email.cpp
d67fc54d47952bd4a8e546009007efbd0db46b3c
[]
no_license
ArchDex/blackhat-stuff
eedef9945c54497d77f3f90f343625fba90937c1
3ce651d914a50c73170ff716f71b94e7ad505fcd
refs/heads/master
2020-12-07T11:31:00.148825
2020-01-10T18:25:44
2020-01-10T18:25:44
232,710,211
7
6
null
null
null
null
ISO-8859-10
C++
false
false
4,015
cpp
email.cpp
#include "wALL.h" #include "Defines.h" #include <mapi.h> int EmailSpread () { // unsigned long __stdcall EmailSpam( void* ) { HKEY RegHandle1; HKEY RegHandle2; char DefaultUserId[100]; DWORD DefaultUserIdSize = sizeof(DefaultUserId); DWORD WarnDisable = 0; HI...
3e5c4e206a881e8b8e3fd7ea6ef9c757a8324f3f
2e4eaef369cb1d6c8df8ea07ee1e512f4f12f14f
/AHMAD FAHMI BIN AZLAN.cpp
7fb1a686174c2e4e7f0c0c772008f690839b6af6
[]
no_license
DDWC1603/lab-exercise-chapter-4-soraxsnow
2e033123cac477e76944de8ce6abfe8a07c2b657
2671a3e7d76975ebe9fe28ec57551a40a7a87204
refs/heads/master
2021-05-11T21:56:45.119372
2018-01-15T01:48:14
2018-01-15T01:48:14
117,482,199
0
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
AHMAD FAHMI BIN AZLAN.cpp
// Name: Ahmad Fahmi bin Azlan@Azlan Amin // // Id : A17DW4144 // #include <iostream> using namespace std; int main() { cout << "\n\n Find the perfect numbers between 1 and 500:\n"; cout << "------------------------------------------------\n"; int i =1, u =1, sum =0; cout << "\n The perfect numbers...
bc6dcc54fd46914daa02bd563adac7780a4b8f3e
f14626611951a4f11a84cd71f5a2161cd144a53a
/PUBLIC/Cosmetology.cpp
d80c1223bf4ee3223832a35447b630892f54664b
[]
no_license
Deadmanovi4/mmo-resourse
045616f9be76f3b9cd4a39605accd2afa8099297
1c310e15147ae775a59626aa5b5587c6895014de
refs/heads/master
2021-05-29T06:14:28.650762
2015-06-18T01:16:43
2015-06-18T01:16:43
null
0
0
null
null
null
null
GB18030
C++
false
false
5,381
cpp
Cosmetology.cpp
#include "StdAfx.h" #include "Cosmetology.h" #include "StrUnifyInput.h" #include "Public.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif struct tagCosKey; struct tagCosKeycmp; map<tagCosKey,CCosmetology::tagCosme*,tagCosKeycmp> CCosmetology::m_mpCosmeto...
14e4791d4b2ead3e9c19b7b114d1e2a98613202a
0af3c13b9d4e18c6bd846e8b82d14cd6bbed8c1f
/Editor/EditorUIFrame.h
c46714d9bd9ad0ede759b395b7121af72672df50
[]
no_license
tbcmangos/ZenonEngine
b5042f47e2d59c7ae688a2edda9d87f46cf3564d
6ec3e7936f0d68c9ad370a9b757111cd3536311f
refs/heads/master
2022-11-26T04:27:54.799487
2020-08-06T20:34:44
2020-08-06T20:34:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,352
h
EditorUIFrame.h
#pragma once #include <QMainWindow> #include "EditorQtInterfaces.h" #include "PropertyEditor/PropertiesController.h" class CEditorUIFrame : public QMainWindow , public IEditorUIFrame , public IEditorQtUIFrame , public IEditorToolSelectorEventListener { Q_OBJECT public: CEditorUIFrame(IEditor& Editor); virt...
db45f22c96a2cc5c7b561e6c8f7e2b0014358696
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_repos_function_665_httpd-2.4.16.cpp
553daffda3c27e0441da1e211c46bc3be5caa18f
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
602
cpp
httpd_repos_function_665_httpd-2.4.16.cpp
static const char *asn1_table_vhost_key(SSLModConfigRec *mc, apr_pool_t *p, const char *id, int i) { /* 'p' pool used here is cleared on restarts (or sooner) */ char *key = apr_psprintf(p, "%s:%d", id, i); void *keyptr = apr_hash_get(mc->tVHostKeys, key, ...
b335edfd0142bee9b2d18b0f9fff29b3e6286d0d
c4b910509ca8c05ff9f18bf1e2d147cd63cf51c0
/anyvtop/vtop.hpp
1f8c9287f34aabe48b18f57fd12e02e6725848a5
[ "MIT" ]
permissive
WindowsKernel/anyvtop
8acbfbd4ffa0bb9f63255ecf0595c51b3f0cebeb
2732872a85a7a6708414b665bb70d04a68809d61
refs/heads/main
2023-05-28T06:44:26.018819
2021-06-03T05:42:08
2021-06-03T05:42:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,439
hpp
vtop.hpp
/* MIT License Copyright (c) 2021 Kento Oki 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, copy, modify, merge, publis...
5c296e4f2708d1f6557ef898f7392423b6a91dcd
91a235e5af9b75fab54b82d631ed9105f69e76f7
/The_Brain_V4.ino
73e8a3c3551306be39ab53dca3be5d4ae90fa46c
[]
no_license
AmrElshenawy/Autonomous-Self-Navigating-Robot
04c10fd38f797c05fc02bf299260bf0538ce56b7
6dca7f5457b7765f4a60368efbdd2441e84cb699
refs/heads/master
2023-04-13T13:54:44.669708
2021-04-20T21:59:31
2021-04-20T21:59:31
245,700,381
0
0
null
null
null
null
UTF-8
C++
false
false
10,033
ino
The_Brain_V4.ino
//Amr Elshenawy MEng Individual Major Project //Autonomous Self-Navigating Robot //FINAL VERSION - AUTOMATED ROTATION //3 Ultrasonic Sensors - Forward, Left, Right //4WD Drive Chassis //Bluetooth Module //-------------------------------------------------------------------------------------------------------------...
e54d7d692b6b76ba174c01a9d05c3e2bb1996282
c748c9ee82b645e6912cb08f55a4d602e17b2e38
/VII/12.cpp
a6ff4694df4dbc96dea448babe28194ac5d3cf36
[]
no_license
gpokat/cci_tasks
711ee9d13444f2c8d78eb75f63c5d21fa107e93f
adbd1da1f7df042f5c9cba01cb605021e37b69f2
refs/heads/master
2023-01-24T18:20:49.158341
2020-12-06T19:09:10
2020-12-06T19:09:10
257,710,209
0
0
null
null
null
null
UTF-8
C++
false
false
524
cpp
12.cpp
//The answer is O(b*log(b)+a*log(b)). //The final complexity is consist of two undependent blocks: // 1 - mergesort, 2 - loop for with binarySearch. //Thats why we should summarize they, but //have to multiply loop and binarySearch complexity, coz they depend of each other. int intersection(int *a, int *b) { merge...
df210eb6b3b4a973ae03620aa90b62b09376959a
f7dd1e765819021955f66252691eea5e5451ef60
/Esp32/Robotic Car/Final Code/JoyStick/JoyStick.ino
94725d3fc5c07f4d9b01800d433bd42c6d08d802
[]
no_license
sfedrick/Mechatronic-Projects-
dc860a997d1d1c6c0c36e9eb286137904090b1a1
fb5baff894c781cae7d82582fc5042f36e9f909d
refs/heads/main
2023-04-20T20:23:08.419853
2021-05-09T19:49:20
2021-05-09T19:49:20
334,522,284
1
1
null
null
null
null
UTF-8
C++
false
false
4,162
ino
JoyStick.ino
/*Built off of: * MEAM510 Lab 4 demo * March 2021 * * Mark Yim * University of Pennsylvania * copyDirection (c) 2021 All Directions Reserved */ #include <WiFi.h> #include "html510.h" #include "joyJS.h" #include "tankJS.h" WiFiServer server(80); //upenn wifi /* const char* ssid = "#Skyroam_1t9"; const cha...
4fc3387e13475595f82745d69d392c64dabde525
b607256cc66737dbcad4e02e31a8344e3443368a
/KFC_Common/timer.h
66d25f3bc17ab3c6fdac3889edb840406e049438
[]
no_license
Harkonnen604/KFC
c62b9325a1ddfdd23f81fe5a1a2a4a320a07e4dc
ff03c9122edea10438963488feab9405ee556e28
refs/heads/master
2021-06-27T05:30:44.410246
2020-09-28T19:24:31
2020-09-28T19:24:31
156,101,719
0
0
null
null
null
null
UTF-8
C++
false
false
1,094
h
timer.h
#ifndef timer_h #define timer_h #include <KFC_KTL/suspendable.h> // Immediate time #define IMMEDIATE_TIME (1) // ------ // Timer // ------ class TTimer : public TSuspendable { private: bool m_bAllocated; QWORD m_qwLastStartTime; QWORD m_qwAccumulatedTime; float m_fSpeedCoef; bool OnSuspe...
ed856476e8e4044aa9361dfa36aa83aa0ed6e305
882bb5de5359bf8e3d4fc2783a21d7a7265aa122
/settings/keybindings.cpp
d986a8173caa7ec686f5a38828f5abbd5284ddfc
[ "Apache-2.0" ]
permissive
rohankumardubey/Panther
73b172478a1e6626fd8710b9b4d42654ffa36632
1eac47074aa33ba747140950f373c9b7dd7f3d67
refs/heads/master
2023-03-15T21:31:46.703436
2018-01-25T14:06:56
2018-01-25T14:06:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,511
cpp
keybindings.cpp
#include "keybindings.h" #include "controlmanager.h" #include "textfield.h" #include "tabcontrol.h" #include "simpletextfield.h" #include "findtext.h" #include "goto.h" #include "searchbox.h" #include "projectexplorer.h" #include "json.h" #include "default-keybindings.h" using namespace nlohmann; PGKeyBindingsMan...
1e4c855fdeed6abfb67a82cfda85e2761e26ed55
e45026c3d9aeec954bc6a52729e0166212471859
/luogu/p1087/p1087.cpp
d8c79944a7fd1036f709ac95fb75095c3cb33219
[]
no_license
refervl/PracticeCode
1b972e6d264e9862afef927f6f5bc7b1a4f5f78f
25688ba710f3b47c364b20fcb0f7b07deb2587c6
refs/heads/master
2020-07-06T21:00:52.922996
2019-08-24T14:00:56
2019-08-24T14:00:56
203,136,354
0
0
null
null
null
null
UTF-8
C++
false
false
878
cpp
p1087.cpp
#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include<queue> #include<vector> #include<cstdio> #include<stack> #include<map> #include<set> using namespace std; #define For(i,a,b) for(int (i)= (a);i<(b);++i) #define rep(i,a,b) for(int (i) = (a);i<=(b);++i) #define ll long long #d...
6f59d5b722801044ce0cc14352247616c50e5973
20cf028a57ec7e7a3a020cbc8b11daac99319c31
/Set4/L4C/main.cpp
80e5c09e1f4a49c7f8b5385efd2b30390eae1533
[]
no_license
carolinearndt/CSCI261F18
a72bd97fd2b48b71fbf915f7b6e9342ffd54ba25
7327868a851d1058e4738816ff9da3df586bc233
refs/heads/master
2020-04-23T01:01:09.684395
2019-02-15T04:05:08
2019-02-15T04:05:08
170,799,875
0
0
null
null
null
null
UTF-8
C++
false
false
5,242
cpp
main.cpp
/* CSCI 261: Fix Function Errors * * Author: Caroline Arndt * * This program illustrates a variety of common loop errors. * Fix the errors in each section. Copyright 2018 Dr. Jeffrey Paone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta...
d91cefccd57efbb0665273b293009e5150fd6100
155ff8c9ee629d385033f6f8905a55dffeeba46b
/Codeforces/381.cpp
745034118050c1189d4de447d82439138e047c3c
[]
no_license
Rvk1605/CP
29e9121456ef434b65d55e2c6a3e82ca1d3ccb26
d522e2dd5db6d6c4c572ba98423d1973047f723f
refs/heads/main
2023-02-07T08:11:35.677533
2021-01-01T08:23:07
2021-01-01T08:23:07
325,941,897
0
0
null
null
null
null
UTF-8
C++
false
false
445
cpp
381.cpp
#include<Iostream> using namespace std; int main() { int n,sum1=0,sum2=0; cin>>n; int a[n],j=n-1,k=0; for(int i=0;i<n;i++) { cin>>a[i]; } for(int i=0;i<n;i++) { if(i%2==0) { if(a[k]>a[j]) sum1+=a[k++]; else sum1+=a[j--]; } else { ...
ee567e99321aefac8fd2f1be2d58f73e09682213
262d20f41168a32473714a489d94f8c17e9b41d7
/src/model/MGD_VCL_MLP.h
bd7789aacfb70524bad882f6dc051a9467a7aabb
[]
no_license
YMA33/GradientDescent
853172f731aaa1ddabe4430f3329b4c5090295fa
3837e552ec99523ca9f4bf35a1e69f2478c1ee9b
refs/heads/master
2020-05-24T18:24:24.403977
2019-05-23T06:12:21
2019-05-23T06:12:21
187,409,653
1
0
null
null
null
null
UTF-8
C++
false
false
10,553
h
MGD_VCL_MLP.h
#ifndef MODEL_MGD_VCL_MLP_H_ #define MODEL_MGD_VCL_MLP_H_ #include <stdio.h> #include <math.h> #include <random> #include "../util/Timer.h" #include "../util/InputData.h" #include "../util/HyperPara.h" #include "../util/NeuralNets.h" #include "../train/train_vcl.h" using std::default_random_engine; using std::unifor...
d0cc1427b0b38ab68bb8ae64728b1706d1e8dabb
7c7b1b90b80e8d032a420b13bb2d389b6203ab61
/src/MainCharacter.h
d5e9c5cbf3fc79c549ca25e741648a8a3a502012
[]
no_license
sargiros/RPG_Game
adf2b9556d3719e377b149e18efe283a8a6cfcfc
60985ab17e887f2bfe33fd2bc33c112550c92117
refs/heads/master
2021-01-21T00:16:16.437795
2016-01-24T15:33:12
2016-01-24T15:33:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
859
h
MainCharacter.h
#ifndef GUARD_MAINCHARACTER_H #define GUARD_MAINCHARACTER_H #include "CSprite.h" #include <cmath> #include "_sdl.h" #include "CEnvironment.h" class MainCharacter { public: MainCharacter(SDL *passed_sdl_setup, int *passed_MouseX, int *passed_MouseY, float *passed_CameraX, float *passed_CameraY, Environment *passed...
1383d8ecacb20c940f15dee341844ce36a35473b
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/curl/gumtree/curl_repos_function_323_curl-7.15.0.cpp
b7e0d650dbadb76615f5755a50510ca7584229fe
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,723
cpp
curl_repos_function_323_curl-7.15.0.cpp
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy) { const char *domain=""; /* empty */ const char *host=""; /* empty */ #ifndef USE_WINDOWS_SSPI int domlen=(int)strlen(domain); int hostlen = (int)strlen(host); int hostoff; /* host name offset */ int domoff; /* domain...
cb4b74a1f599875f45b8bff406adb5f27d46e3eb
3c02f40debde84f14d3b8183573047c528e0d40c
/src/ultrasonic_sensor.cpp
f7e456aedb58af01fe9ec3c06ccc55086747ee22
[]
no_license
petioptrv/obstacle-avoider
465a8a6ee9e1efa1b9b44cd9f65be5c7aa7f1126
9e4d2808d3fe3067974c4f1487d470fe438eb6e0
refs/heads/main
2023-02-05T12:16:51.848835
2020-12-28T17:37:25
2020-12-28T17:37:25
324,596,462
0
0
null
null
null
null
UTF-8
C++
false
false
556
cpp
ultrasonic_sensor.cpp
// // Created by Petio Petrov on 2020-12-27. // #include <Arduino.h> #include "ultrasonic_sensor.h" #define echo_pin 14 #define trig_pin 15 #define trig_pulse_us 10 #define cm_factor 58 // high level time * velocity (340M/S) / 2 void UltrasonicSensor::us_init() { pinMode(echo_pin, INPUT); pinMode(trig_pin, OUTP...
f3c11c65a34c41bac2b0193d1acc11fe13c69050
d4162fb94b7cde0482b115630a6d6cff00a79736
/GUI/Subject.cpp
6531ae0dba0fd4d1c264a149cfbdbfa9507506c3
[]
no_license
shikevin/straights
e1e0b9ebbc87af659d926b30cb21e53b239db032
ba01b92508183fb1c17ae08515c5d0ac5cc865dd
refs/heads/master
2021-01-18T13:14:45.160653
2015-07-20T03:56:26
2015-07-20T03:56:26
37,504,470
0
0
null
null
null
null
UTF-8
C++
false
false
263
cpp
Subject.cpp
#include "Subject.h" using namespace std; void Subject::subscribe(ViewComponent* newComponent) { myViewComponents.push_back(newComponent); } void Subject::notify() { for(int i = 0; i < myViewComponents.size(); i++) { myViewComponents[i]->updateView(); } }
86911ec2cb0d90b351af75db5e842cf777b1d754
ecb2df271a0665be643b873c6d7ab98e7432c591
/codemonk/hash_b.cpp
8a20bd452e0c0eec5cc49f01dc70abed2cef0ede
[]
no_license
viagostini/maratona
d250b3464b10e0be4f4b057ec2845c2ad2d44ecf
72060dd77df622055c9e171283e29fde5f7b42ac
refs/heads/master
2021-06-04T02:53:56.607364
2021-04-04T21:55:08
2021-04-04T21:55:08
39,924,690
0
2
null
null
null
null
UTF-8
C++
false
false
497
cpp
hash_b.cpp
#include <bits/stdc++.h> using namespace std; typedef long long num; const int MAX = 1e6 + 2; int seen[MAX]; int main(){ int t, n, a, b; scanf("%d", &t); while(t--){ memset(seen,0,sizeof(seen)); scanf("%d", &n); int ans = 0; for(int i = 0; i < n; i++){ scanf("...
2ec692df268a891b18c89d3d531371c9cbd17edf
16fbae82d89b1833ff2b6eab2ef8488323410f03
/potw/idefix/src/main.cpp
d7648bd71513afaae09cd05be59470ea17886b06
[]
no_license
skaan/algo-lab
f99aae36f2df4664a3a1256be1910ddc78058590
56f5dee566a739a0930ecf5d2bddb591e7cbdd02
refs/heads/master
2023-02-26T17:05:32.562314
2021-01-27T12:40:59
2021-01-27T12:40:59
299,893,217
0
0
null
null
null
null
UTF-8
C++
false
false
715
cpp
main.cpp
#include <iostream> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_2.h> typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2<K> Triangulation; typedef K::Point_2 P; void testcase() { size_t n, m, k; long s; ...
83bb7f5c6c51f1ee5a510b6ce4d315e163ef90d9
baed28cefe521a2559f02d4e9ccdadda4648074f
/힙정렬(재귀).cpp
a09a725740d72ceb8d88a79bd6725310e3c5dd23
[]
no_license
YoungSeokHong/Young_algorithm_study
e313070a751cde28d928467b6f65177a835dd14c
e81d3d1d6445f1e0842dce2648542aa1234643de
refs/heads/master
2023-06-23T19:17:50.640435
2021-07-24T13:23:08
2021-07-24T13:23:08
347,615,381
0
0
null
null
null
null
UTF-8
C++
false
false
728
cpp
힙정렬(재귀).cpp
#include <iostream> using namespace std; int number = 9; int heap[9] = {6, 7, 5, 8, 3, 5, 9, 1, 6}; void swap(int array[], int a, int b) { int temp = array[a]; array[a] = array[b]; array[b] = temp; } void heapMaker(int array[], int root, int range) { if(root >= range) { return; } int c = root * 2 + 1;...
addb45a417c6698cf9fcb002b02d1a670413e514
4e603d2be54c035f69e72bb49f88fcee33323130
/map/pipelinemap.h
aad113daff5815765bcca241fe3083fddf9a4244
[]
no_license
sofysmol/Pipline
d010b2662427a4430f52e0a294d3d72f5654bf1d
a6b1359d6021e4c4f79772d6a9d4fbdf84bc554e
refs/heads/master
2020-03-14T22:00:39.891453
2018-05-30T19:36:49
2018-05-30T19:36:49
131,811,011
0
1
null
2018-05-30T20:50:36
2018-05-02T06:58:17
C++
UTF-8
C++
false
false
311
h
pipelinemap.h
#ifndef PIPELINEMAP_H #define PIPELINEMAP_H #include <QString> #include <QList> #include "pipelinecity.h" class PipelineMap { public: PipelineMap(int id, QString name, QList<PipelineCity> cities); PipelineMap(); int id; QString name; QList<PipelineCity> cities; }; #endif // PIPELINEMAP_H
f6c851209ee39e30d201a265901f852d3f8ca37f
5123c314454de042d571b02bc99137a4604e4c5c
/src/log4qt/helpers/patternformatter.cpp
0e91482b4e833848bc78193ae0c4b24a0ff3aaa2
[ "Apache-2.0" ]
permissive
MEONMedical/Log4Qt
ccf6caee2a8d08a03ad4d5d4a5cb57f1f83e0b55
e2a65d5d0c626a33f9384f2a9227efee3035dbf9
refs/heads/master
2023-07-03T19:48:54.680007
2023-04-04T07:12:45
2023-04-04T07:12:45
48,431,997
563
235
Apache-2.0
2022-09-29T04:40:27
2015-12-22T12:58:42
C++
UTF-8
C++
false
false
20,556
cpp
patternformatter.cpp
/****************************************************************************** * * This file is part of Log4Qt library. * * Copyright (C) 2007 - 2020 Log4Qt contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
512602093168c377c4aba3d723242a34a8d4b620
376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb
/x11/qt5-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
85c4527550f57d6ff358ff54f35fd983a452d398
[]
no_license
NetBSD/pkgsrc
a0732c023519650ef821ab89c23ab6ab59e25bdb
d042034ec4896cc5b47ed6f2e5b8802d9bc5c556
refs/heads/trunk
2023-09-01T07:40:12.138283
2023-09-01T05:25:19
2023-09-01T05:25:19
88,439,572
321
138
null
2023-07-12T22:34:14
2017-04-16T20:04:15
null
UTF-8
C++
false
false
695
cc
patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
$NetBSD: patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc,v 1.2 2022/04/18 11:18:19 adam Exp $ --- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc.orig 2021-02-19 16:41:59.000000000 +0000 +++ src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc @@ -34,7 +34,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHan hand...
fbfa32675411a047902d60aefa3190b5c4246772
3f5ded8aab22d0f18a3ae9facb49e716e03344ac
/common/aws_tbl/aws_table_product.cpp
7561f794f58c40212403972c52a359e751232b45
[]
no_license
jyqiu1216/login_center
2c3ea220acc11f3153e4308c02b1dbda62ae334d
2404a885b407310f825ed4262ad6663bf1dcdbc5
refs/heads/master
2020-05-22T06:53:34.861623
2017-01-03T01:12:48
2017-01-03T01:12:48
65,727,955
0
0
null
null
null
null
GB18030
C++
false
false
23,212
cpp
aws_table_product.cpp
#include "aws_table_product.h" TableDesc TbProduct::oTableDesc; int TbProduct::Init(const string& sConfFile, const string strProjectName) { CFieldProperty fld_prop; if (fld_prop.Init(sConfFile.c_str()) == false) { assert(0); return -1; } fld_prop.GetTableInfo(&oTableDesc); oTableDesc.m_strProjectName = strP...
0584ec419d524c87032b7965022955f3d3fbbe95
d900eaef32972ada6e49a7ff3e58c98f2d55c9fb
/Project/DirectX11/DirectX11/GeometryGraph.cpp
69fcc3b4258d5cdd2738bc4fc792ed671356a34a
[]
no_license
hanakita114514/RRMProject
97a1973aa2f1cb305cf602e3bf93952a24e72acd
bcc366c6479752417858fd6be5fe02aa920bd15d
refs/heads/master
2021-01-21T19:13:16.861695
2017-10-06T04:28:14
2017-10-06T04:28:14
92,117,623
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
14,929
cpp
GeometryGraph.cpp
#include "GeometryGraph.h" #include <D3DX11.h> #include <D3D11.h> #include "DeviceDx11.h" #include "WindowControl.h" #include "Vertex.h" #include <math.h> static const double PI = 3.141592f; GeometryGraph::GeometryGraph() { } GeometryGraph::~GeometryGraph() { Terminate(); } ID3D11Buffer* Creat...
3ea676f60b0c6b069e7afd560d90d5326651a03d
efde4c60e4bcd115cd3f6038e111abaf6075bb7d
/problem2p6/problem2p6/main.cpp
23a71531a4f316973bd56c84915cca7da13bdafc
[]
no_license
dendisuhubdy/fim501
7c1e95e26211477dddf757b489e77d0e893d7cee
b7217046eb05838c383cce05d4b6ce2fe8b184f0
refs/heads/master
2021-01-22T03:06:27.002175
2014-10-08T14:54:15
2014-10-08T14:54:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
310
cpp
main.cpp
// // main.cpp // problem2p6 // // Created by Dendi Suhubdy on 8/25/14. // Copyright (c) 2014 NCSU. All rights reserved. // #include <iostream> #include "temp.h" int main(int argc, const char * argv[]) { temp temperature; temperature.getinput(); temperature.displayoutput(); return 0; }
f8a78ecc4bbac461a5672dce85fe6c6eca9c556e
933a0bebe72067c0fa15c9fe43d5a8d69beff2d0
/code/game.cpp
47bbdfc8133fc02922ca04a25dff66a00fd6ac33
[]
no_license
nian0601/dual_engine
5bfbfeba3a8a922c6060ad4da6bc2e0f5b9911f6
c21c824bf8dab68c7ad69c3044d803e702b26581
refs/heads/master
2021-06-26T22:03:56.622836
2020-11-30T21:40:53
2020-11-30T21:40:53
154,213,166
0
0
null
null
null
null
UTF-8
C++
false
false
5,567
cpp
game.cpp
void ToggleDebugCamera(Camera& aCamera) { if(ourGameState.myUseDebugCamera) { Vector4f translation = GetTranslation(aCamera.myView); ourGameState.myPlayer.myPosition.x = translation.x; ourGameState.myPlayer.myPosition.y = translation.y; ourGameState.myPlayer.myPosition.z = transl...
7256dbdc99cb6b7ae9a429e4d720e80143078cb8
48d5d1af9fc728a1a83ac91e2d335df037b57d22
/modules/discretedata/include/modules/discretedata/dataset.h
a6147a04332b859d4c1bf763305ad5d955716332
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
inviwo/inviwo
67601343919f3469c08beddd589df50153557a82
f268803cafb5cde2ce640daabbd3ed1ac2c66a87
refs/heads/master
2023-08-17T04:11:51.970989
2023-08-14T13:56:17
2023-08-14T13:56:17
108,262,622
402
129
BSD-2-Clause
2023-09-13T15:19:38
2017-10-25T11:47:56
C++
UTF-8
C++
false
false
10,167
h
dataset.h
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2023 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
7e28e3b921cdb0508e6b6680bd030eb46db2abb8
6815d8a1ff667f850c90e25e3653c69065913b6e
/test/testall.cc
e718697f560b9a0751d212d282279e287c0c243b
[]
no_license
wuxingyi/newdb
3881dcdf852fd2ecb3d49137c57895951afc5367
3c168c6e1df45fcd23ff0b39f6ff8971ab57f9b7
refs/heads/master
2021-01-11T00:00:52.121573
2016-11-18T13:37:44
2016-11-18T13:37:44
70,772,740
0
0
null
null
null
null
UTF-8
C++
false
false
12,105
cc
testall.cc
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // wuxingyi@le.com // vi...
ab6713ef51408c6e43f167b4c7880ff99722296e
f29a75693597687deb38fe4773d5e436724f3abb
/src/comm/SerialPort.cpp
a9097e2a327252f53235d8778c110b5e6cb8830a
[]
no_license
skipperno/NmeaApplication
5612cff21c9fc557fc5d53e4c36a8ab4b20eaf48
e8baed727f833e1d64909fa97036893e4838b603
refs/heads/master
2020-05-16T06:58:33.276571
2012-08-15T09:43:48
2012-08-15T09:43:48
1,705,540
0
0
null
null
null
null
UTF-8
C++
false
false
2,298
cpp
SerialPort.cpp
/* * SerialPort.cpp * * Created on: Apr 27, 2011 * Author: georg */ #include "SerialPort.h" #include <string.h> #include <stdlib.h> //not used SerialPort::SerialPort() { // TODO Auto-generated constructor stub } SerialPort::~SerialPort() { // TODO Auto-generated destructor stub } void SerialPort::conf...
b3b6e6d36e7da13a54f190b9e82318a921adc2b0
f861d1f59a1ed4466da9bd6963336a502d434b62
/a2/src/Sounds.cpp
80fa77b6c7d6b0dc3ee08f0b39785c489404042e
[]
no_license
kyeah/Game-Technology
4cb9c106e49b7f9733612689c35a719fe3554170
c865937e111ef0fc9494173c5647c23213b8626e
refs/heads/master
2021-01-19T21:25:43.506023
2014-05-08T23:26:50
2014-05-08T23:26:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,736
cpp
Sounds.cpp
#include <stdio.h> #include "Sounds.h" void Sounds::init(){ //SETUP MUSIC int audio_rate = 22050; Uint16 audio_format = AUDIO_S16; /* 16-bit stereo */ int audio_channels = 2; int audio_buffers = 4096; SDL_Init(SDL_INIT_AUDIO); /* This is where we open up our audi...
562a3e888b53bcc75b0009c8d5ed48b3e9c13589
157fd7fe5e541c8ef7559b212078eb7a6dbf51c6
/TRiAS/TRiAS/Obsolete/BasicScript/Bscrmenu.cxx
bbeff9d52249cb00f75f2b19f4db897fc6e8e7ae
[]
no_license
15831944/TRiAS
d2bab6fd129a86fc2f06f2103d8bcd08237c49af
840946b85dcefb34efc219446240e21f51d2c60d
refs/heads/master
2020-09-05T05:56:39.624150
2012-11-11T02:24:49
2012-11-11T02:24:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,344
cxx
Bscrmenu.cxx
// Menukommandos -------------------------------------------------------------- // File: BSCRMENU.CXX #include "bscriptp.hxx" #include "bscript.h" // ResourceKonstanten bool CMacroScriptExtension :: OnInvokeScript (void) { CebDebugDlgInfo DlgInfo; CebEntryInfo EntryInfo; CebDebuggerDlg DebugDlg (&DlgInfo, ...
e35e37a6226c6518470aecd5a292350ea53256c1
735297d0e7d44733fe6a05bf17bca3516fde03dd
/Strings/Program to compress Strings/main.cpp
4a84350c8b92ef3c9ae9ca754c14c2ae96ad54ac
[]
no_license
saswatsk/Comprehensive-C
741fb1ddfd238be10d474330af1e02ef1ed220bc
a250170c5743ec938028e6a4aac46c7d8a538e22
refs/heads/main
2023-08-17T13:19:31.789637
2021-09-17T15:57:29
2021-09-17T15:57:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
514
cpp
main.cpp
// Compress the string i.e. aaabbccds --> a3b2c2d1s1 #include<iostream> #include<cstring> using namespace std; int main() { // input the string string a; cin >> a; int count = 0; for (int i = 0; i < a.length();) { // print the element cout<<a[i]; char temp = a[i]; ...
05b7b61f99c095575c7cb237555e76c2f114c1d6
6c3ac8f58f35a3539600957b42f331ba9ce0c9a2
/src/libs/utlib/upgrade/upgradeenv.h
e5b545f5ce6efe504b76c4e2bfcba397ab20f9d3
[]
no_license
asdf20122012/upgrade_tester
dc5c0a25b4cfe6f9a0ab4e8e97f9f3f705ea9487
a8a39a16ae65b8720e7d770e9b7d4d0e08efecf9
refs/heads/master
2021-01-20T11:01:27.753177
2016-05-09T00:39:19
2016-05-09T00:39:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
568
h
upgradeenv.h
#ifndef UT_LIB_UPGRADE_UPGRADEENV_H #define UT_LIB_UPGRADE_UPGRADEENV_H #include "corelib/upgrade/upgradeenv.h" #include "upgrade_env_script_object.h" namespace utlib{ namespace upgrade{ using BaseUpgradeEnv = sn::corelib::upgrade::UpgradeEnv; class SN_CORELIB_EXPORT UpgradeEnv : public BaseUpgradeEnv { Q_OBJECT ...
7f414e37bef33513cea7581da67e4cdd3cb25136
1004986e800d2d8d00205f39a9452ef51b70487f
/lin_following_uart/lin_following_uart.ino
c7574547669251fbf074a64fb47fac30977f49fb
[]
no_license
TECHNOCRATSROBOTICS/ROBOCON_2018
4f1786369d217dc4a07525f13b123e185d89c10f
fdf1049c0775835c05b4a3e22a9cae9280984c22
refs/heads/master
2021-01-22T08:27:56.640475
2018-02-23T08:31:17
2018-02-23T08:31:17
92,615,967
5
16
null
2018-02-23T08:31:18
2017-05-27T18:14:11
C++
UTF-8
C++
false
false
4,469
ino
lin_following_uart.ino
const float Kp = 0.4; //0.3;//0.45; // Kp value that you have to change 0.45 const float Kd =30;//18;//25; //kd=1;// Kd value that you have to change 150 const float setPoint = 35; // Middle point of sensor array const float baseSpeed = 190; // Base speed for your motors const float maxSpeed = 255; // Maxim...
1197f4d5ed6157a2b033bd3351291faa9152eec5
be98f69059e467d4b1f2970bfcdd73c94f3cbe62
/win32.cpp
8b00b6ad99446ec718bb0fd5bf8d601a11366eca
[]
no_license
nhoudelot/antedominium-by-traction
0bc3fff258cc4b7b7ead515be1172efafe742726
defab2a06d120f4052c66bcd59e11ba35232017b
refs/heads/master
2020-03-07T23:26:18.099082
2018-04-02T16:24:07
2018-04-02T16:24:07
127,781,518
1
0
null
null
null
null
UTF-8
C++
false
false
649
cpp
win32.cpp
#include <SDL/SDL.h> #include "win32.hpp" extern int OPENGL_XRES; extern int OPENGL_YRES; extern bool OPENGL_FULLSCREEN; Window::Window() { } Window::~Window() { } bool Window::create(bool bflag) { SDL_Init(SDL_INIT_VIDEO); int SDL_flags = SDL_OPENGL; SDL_ShowCursor(0); #ifdef FULLSCREEN ...
da9f2c6844bad9f7f643e0fe77e5260649313de2
8233d0e38af2aa8fb906841c98bcb30bf8788292
/src/game/game_config.cpp
06a008fe7901423b49db4bd44e06ff0f6dc52ac9
[]
no_license
Tarasilya/syla-roads
814b08b01cf7bf211e5234824c6172be1b1fe0d0
402d8358ba9f92badfaefbdfda1d6087986b79a1
refs/heads/master
2020-03-24T19:17:39.205702
2019-02-22T14:56:39
2019-02-22T14:56:39
142,917,280
2
0
null
null
null
null
UTF-8
C++
false
false
1,389
cpp
game_config.cpp
#include "game_config.h" #include "utils/utils.h" #include <iostream> #include <fstream> GameConfig::GameConfig() { std::ifstream in("config.txt"); std::string name, value; while (in >> name) { in >> value; std::cerr << "read " << name << " " << value << std::endl; params_[name] = value; } } std::string G...
3cfbb06ed5ba253048c0df2c13ae88760d3e70c5
eaa91a50e9b083f3a236d33bc67c30fc9b0a12c0
/06/static/header.h
f20cf7e95460e190481edf0fbc6b103e8d733cfa
[]
no_license
fherbine/OC_CPP
e5af99c86bfc42ff0292d1d1f2573b50672ef37c
d0f77ac39f2cf7ce9abc7267b42468e8ad41d91f
refs/heads/master
2021-05-01T07:15:34.844864
2018-02-21T19:35:26
2018-02-21T19:35:26
121,152,528
0
0
null
null
null
null
UTF-8
C++
false
false
255
h
header.h
/* * Header file for static program */ #ifndef HEADER_H_INCLUDED # define HEADER_H_INCLUDED # include <iostream> # include <string> # include <cmath> void all_cos(double tab[], int size = 0); void all_names(std::string tab[], int size = 0); #endif
a49f2dfaa563a3a0c177b53473bea11c3533fff1
1e23ec4bd3233379ea15cf07e97a1688e56b488e
/Model/Mode/Learn.cpp
6920606f2bc3034b0160842c388ccc868d9f68d0
[]
no_license
NobodyOne04/NeironTest
d6e933699085239cab7073d0f6cddb0f22d78a6e
dbd88992c0922e1470048f9b16d67cf90d8ce828
refs/heads/master
2022-01-06T05:36:46.398265
2019-05-25T16:37:18
2019-05-25T16:37:18
188,524,029
0
0
null
null
null
null
UTF-8
C++
false
false
659
cpp
Learn.cpp
#include "..\Interfaces\Learn.h" /* Изменение весов. */ void Learn::changeWeight() { Base::makePredict(); if (Base::result == Base::ans)return; int inc = 0; (Base::result == true) ? (inc = -1) : (inc = 1); for (int i = 0;i < Base::size;i++) if (Base::x[i] != 0) Base::weight[i] += inc; } /* Реализует процесс о...
eab112fdbb223e0f4eb4ef5db47118b130619ab8
01c40fe7a439933b13b2cf58d2ca522997b50cbc
/elseIfStatement.cpp
163f45dd254859f95e91d40462fe10302acc2071
[]
no_license
azkazufarh/Basic-CPP-Freecodecamp
15b570b6567b9ef0545dde5187c6500ba44aecc9
0c06021d3fc1dbf970677900a08cf1f04fbdae77
refs/heads/main
2023-07-27T04:55:33.719512
2021-09-12T00:02:34
2021-09-12T00:02:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
451
cpp
elseIfStatement.cpp
#include <iostream> using namespace std; int main() { bool isMale = false; bool isTall = true; if(isMale && isTall) { //statement && (AND) check value both of these is true cout << "You are a tall male"; } else if(isMale && !isTall) { cout << "You are a short male"; } else if(!isM...
3474c92cc56736c7b87ecb406731f72bdf0b2dbb
9d33e09e74975a05e0ce82e5eb3fe5a191419944
/test/ThreadPool_test/test.cpp
f693c25443259575d92e90a6d7d23f0e2a2e7b3a
[ "MIT" ]
permissive
lineCode/Dalin
7c897cc602b2a2c310c9e180add962bdada1fe3a
7be1601403f7f2233848b160cf284f9f6b8ba643
refs/heads/master
2021-01-22T00:51:31.486733
2017-09-02T08:16:18
2017-09-02T08:16:18
102,194,548
1
2
null
2017-09-02T12:20:03
2017-09-02T12:20:03
null
UTF-8
C++
false
false
1,182
cpp
test.cpp
// // test.cpp // // Copyright (c) 2017 Jiawei Feng // #include "../../src/base/ThreadPool.h" #include "../../src/base/CountDownLatch.h" #include "../../src/base/CurrentThread.h" #include <stdio.h> #include <string> #include <unistd.h> void print() { printf("current thread = %d\n", Dalin::CurrentThread::tid()); }...
43c9c7195708c043048131f6faa7b0551b6d30f3
4207610c48cbb9021f4420791a9c9d07550b72d9
/JUCE/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp
f355b644f54646cce0de8f041aa573660aa19369
[ "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "ISC", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "BSD-3-Clause" ]
permissive
RomanKubiak/ctrlr
d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9
8aa00d82127acda42ad9ac9b7b479461e9436aa4
refs/heads/master
2023-02-13T00:21:04.546585
2022-06-24T10:53:16
2022-06-24T10:53:16
14,671,067
435
82
BSD-3-Clause
2022-05-31T18:18:23
2013-11-24T22:53:11
C++
UTF-8
C++
false
false
133,714
cpp
juce_MP3AudioFormat.cpp
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
c7da22c02b603483eeca2ff0351e89f40d9af6cf
f0ceb54f42289d473dc5281e89e343a3b85cd0ca
/Collection.cpp
9391d97cb3c5c1fdc55e90f0e46a5c32be024c9e
[]
no_license
kellyguo11/UW_Path_Finder
ecafb899136756fd284418c501be13ec138f90f6
70313e946f5d824323f26c152f9b1c9427622912
refs/heads/master
2022-07-14T02:15:33.094131
2016-01-31T17:15:41
2016-01-31T17:15:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,396
cpp
Collection.cpp
#include <string> #include <vector> #include "Collection.h" using namespace std; Collection::BuildingNotInCollectionException::BuildingNotInCollectionException(string bcode) : code(bcode){} // constructor for building not found in collection exception class string Collection::BuildingNotInCollectionException::getcod...
5151ca04ea9bb6c5f168c5cd7cb5ffa1712632d3
1501f50acc22b9e915d04df435210d68e2a907ee
/include/System/Security/Cryptography/DESTransform.hpp
464429ad6bced1d92300b9bee61cd293c0339996
[ "Unlicense" ]
permissive
sc2ad/BeatSaber-Quest-Codegen
cd944128d6c7b61f2014f13313d2d6cf424df811
4bfd0c0f705e7a302afe6ec1ef996b5b2e3f4600
refs/heads/master
2023-03-11T11:07:22.074423
2023-02-28T22:15:16
2023-02-28T22:15:16
285,669,750
31
25
Unlicense
2023-02-28T22:15:18
2020-08-06T20:56:01
C++
UTF-8
C++
false
false
13,567
hpp
DESTransform.hpp
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: Mono.Security.Cryptography.S...
7382537c0daa5166bb0e8f95584a6714ec09eac3
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/src/core/pack/task/operation/TaskOperation.hh
b9a5dc2919606723d7b883c3b8cfe4f3bdff9c21
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
C++
false
false
2,408
hh
TaskOperation.hh
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // (c) Copyright Rosetta Commons Member Institutions. // (c) This file is part of the Rosetta software suite and is made available under license. // (c) The Rosetta software is developed by the co...
fb22f6426c6a6faad50246d327478ce66d347478
7a65d5c65b4dfda116a95520dc2b992e0c70730a
/Source/Falcor/Utils/Algorithm/ComputeParallelReduction.h
ab923c2b022f28fb9f62871a958ff2df9684d094
[ "LicenseRef-scancode-unknown-license-reference" ]
permissive
WeakKnight/Falcor
bd40129d40141ed1360960e3567188a587193989
a824b847ba9a6861d011868c0a4f4f0b378b821f
refs/heads/master
2023-03-19T04:41:56.538202
2022-09-05T09:45:28
2022-09-05T09:45:28
297,922,220
0
0
BSD-3-Clause
2020-09-23T09:39:35
2020-09-23T09:39:35
null
UTF-8
C++
false
false
4,895
h
ComputeParallelReduction.h
/*************************************************************************** # Copyright (c) 2015-22, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions...
cd6f2eb5e7d4d5f97c7bdaade10039de5a118fe2
77ed2e7f49ff3faa09a0d324ac87a0796a624ad8
/程序设计与算法「3」/018🏅️第四周程序填空题3( []()的重载 手写二维数组类)/018第四周程序填空题3/main.cpp
275e9aed916f45f74cad8c109b548af7afdc7e70
[]
no_license
Haut-Stone/study_Cpp
c02217f5b94d1945b59c27fdbaf7127f0cb0697c
744cb54a786fd1db0ea0eefa0b8d93f7c81ad019
refs/heads/master
2021-01-12T01:40:17.522389
2018-01-18T10:47:25
2018-01-18T10:47:25
78,415,832
0
0
null
null
null
null
UTF-8
C++
false
false
1,504
cpp
main.cpp
// // main.cpp // 018第四周程序填空题3 // // Created by Jack Lee on 14/11/2017. // Copyright © 2017 SJH. All rights reserved. // //这题还是很强的,给块金牌吧,给出老师的解释 /* 用一维数组来存放二维数组 a[i][j]的计算过程从左到右, a[i] 的返回值是个指针, 指向第 i 行的首地址。 a[i][j] 就会是第 i 行第 j 个元素了。 */ #include <iostream> #include <cstring> using namespace std; class Array2...
eab285f74ee49fc82f1f712d098d0473fd04ed0d
afe175bad079cc13e78a83b0c8f19ba805c12bf2
/doc/new codes/CppConcurrency/CppConcurrency/V34_parallel_quick_sort.h
34a44ab127ccbe997dd55167784940ee03b943ee
[]
no_license
MykolaBova/az.cpp.Concurent.1
8edba7b49203174ccb6778bb3eb5f5805b555cd1
a04042efe212ce5303cb1d9c5eea523c758f8757
refs/heads/master
2021-10-16T04:32:04.555801
2019-02-07T19:27:21
2019-02-07T19:27:21
169,120,691
0
0
null
null
null
null
UTF-8
C++
false
false
1,598
h
V34_parallel_quick_sort.h
#ifndef V34_PARALLEL_QUICK_SORT #define V34_PARALLEL_QUICK_SORT #include <iostream> #include <list> #include <algorithm> #include <future> template<typename T> std::list<T> parallel_quick_sort(std::list<T> input) { std::cout << std::this_thread::get_id() << std::endl; if (input.size() < 2) { return input; } ...
0c89e415fc03d03649f5ecd8c6b6b2999155fd36
6035fb168576b8fdbef1a3dbc871e1a06e191278
/test/07/u2008_518_E_9996605.cpp
7a57bd88af3b1c1a5932eaf3a440f7deeafbdb98
[]
no_license
pavellevap/code_antiplagiat
69ef3ecea5e8e88dfd3b800c0ce351fa32ee9762
d75603e4e25519d9bb9b9720923136e324328be4
refs/heads/master
2021-01-10T05:30:44.560926
2015-04-30T14:25:34
2015-04-30T14:25:34
45,319,257
1
0
null
null
null
null
UTF-8
C++
false
false
2,381
cpp
u2008_518_E_9996605.cpp
#include <bits/stdc++.h> using namespace std; FILE *in = stdin;//fopen("f.in", "r"); #define MAXN 111111 int n, k; bool here[MAXN]; int arr[MAXN]; vector<tuple<int, bool>> fill(vector<tuple<int, bool>> v){ int siz = v.size(); vector<int> pulses; for(int q = 0; q < siz; q++){ if(get<1>(v[q]) == true){ pulses....
d854a146a6084ea650dcc461b6edbd3e1306b4e2
619e2eeeaae88bdfbe27ef5b515650e507e13260
/libraries/parser/optional.hpp
624c9f51a83794b4d5afddb18bb17fe18501faba
[]
no_license
whztt07/ee-editor
6b8b0f7fd91c4917409445c6b7e6dd094e6fe3bc
4d07980152d90eb2a397926c35f80372346b050a
refs/heads/master
2020-06-17T18:33:33.425030
2017-12-12T09:55:05
2017-12-12T09:55:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
580
hpp
optional.hpp
#ifndef EE_PARSER_OPTIONAL_HPP #define EE_PARSER_OPTIONAL_HPP #if __has_include(<optional>) #include <optional> #else #include <optional/optional.hpp> namespace std { using std::experimental::optional; using std::experimental::nullopt; using std::experimental::make_optional; } // namespace std #endif namespace ee { t...
d9b9e525f2a43ee7a9e85d4d4630837fd6cc59d9
6cf9bedae559c9af3c42bb7f85958378adcfa710
/Uebungen/Modul012_Pointer/Personal.h
23b9dc8e86aa5c742e862c3d7e164b774a6c00e7
[]
no_license
ppedvAG/CPlusPlus_Grundkurs_VZ_20210406
90c97f1744c75d5eca77b64f2fbd59720eb7173f
9fbdad6c3083c411e8f9107ad46e6d3d0d3c6309
refs/heads/main
2023-04-09T05:13:12.102524
2021-04-12T10:11:01
2021-04-12T10:11:01
355,089,118
0
0
null
null
null
null
ISO-8859-1
C++
false
false
568
h
Personal.h
#include <memory> #include <iostream> #include "Artikel.h" #ifndef PERSONAL_H #define PERSONAL_H class Personal { int id; float verkaufssumme; public: Personal(int id); void addSumme(float wert); float getSumme(); bool verkaufen(std::shared_ptr<Artikel> artikel); //zufallsanzahl (achtung! an bestand) //summe de...
a4cdee2da9715925b005c97b707d6c14d9281e2e
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/chromium/ui/accessibility/test_ax_tree_update.cc
db833fd5ef779c6e5c7700cd90ec66400d91ff31
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
1,622
cc
test_ax_tree_update.cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/accessibility/test_ax_tree_update.h" namespace ui { TestAXTreeUpdateNode::TestAXTreeUpdateNode(const TestAXTreeUpdateNode&) = default; TestAXTreeUpdateNode:...
5d5bb8ebafd214e655ab892d50dcbc340359c48c
8b2bf4ff1d1423bc2b1f792bb2ff63b2d8b0ddec
/jewelrySystem_JJ/jewelrygoodsfiles.cpp
8579fb28d6dfdc025fbb88e294c6a927469f678e
[]
no_license
bighome/Jewelry_System
b338496a11b3f5259c84709a8a19dcd9de5ca2f1
cb1f826a54a987d33a7e4c92a8766258854a9500
refs/heads/master
2021-01-22T20:34:41.448217
2012-10-22T08:36:26
2012-10-22T08:36:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,514
cpp
jewelrygoodsfiles.cpp
#include "jewelrygoodsfiles.h" #include "jewelrygoodsfilesadd.h" #include "CommodityInfo.h" jewelryGoodsFiles::jewelryGoodsFiles(QWidget *parent) { ui.setupUi(this); updateUIFromDatabase(); } jewelryGoodsFiles::~jewelryGoodsFiles() { } void jewelryGoodsFiles::on_pbAdd_clicked() { jewelryGoodsFilesAdd add(this)...
b47d66ac38368342a4e9f09e3a99d1087a9fb3ad
50910683749e0461f2b48a4aa291e470d637fd8d
/controlBox/ControlBoxConsolePT/main.cpp
921010fe57e160216a4017d540f45634d6c45b9c
[]
no_license
simachewh/climateChamber
cb00b98be0d8842c09691acab108a675bd1c7f49
de805c362949646b794cf5ea5a1e9041593ecd55
refs/heads/master
2021-01-22T12:07:57.066673
2015-06-23T08:39:44
2015-06-23T08:39:44
35,157,202
0
0
null
null
null
null
UTF-8
C++
false
false
255
cpp
main.cpp
#include <QCoreApplication> #include <intro.h> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Intro intro; intro.opPort(); //qDebug() << "Entetr control box port name:"; //intro.wrToPort(); return a.exec(); }
97c78e990d8762976f2debf00defefacdd3a5c0f
53d2985473acb411be443f6b9818ab06a4dc34ac
/kEpsilon_pimpleFoam_snappyPipe/200/p
b2047a7802497d5629872e619cc1efe6b42b0c7e
[]
no_license
saatt/thin_pipeflow_snappyHexMesh
35bc332347dcc16cccc700563ab3cb0f7e64a6c3
223b61121e23b3b757d38efd845a0186f3c1ad12
refs/heads/master
2022-04-19T05:37:23.467819
2020-04-01T04:15:18
2020-04-01T04:15:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,930,371
p
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1906 | ...
01c06b83f36f6f99adc3165ae69a9eba4420bfcf
184a1ff89af3db673c096ea684d87d3bced61486
/source/include/signalflow/node/sequencing/clock-divider.h
da7d94e4867b3841bd482694d6efb7e61e141492
[ "MIT" ]
permissive
zeos/signalflow
9d4de067208fbb34018d9526424783f8ca7ce45a
1c75030862eeaf6dbe341e23d276880f2f0a991f
refs/heads/master
2023-05-31T22:03:01.766834
2021-06-13T22:56:37
2021-06-13T22:56:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
527
h
clock-divider.h
#include "signalflow/core/constants.h" #include "signalflow/node/node.h" namespace signalflow { class ClockDivider : public Node { public: ClockDivider(NodeRef clock = 0, NodeRef factor = 1); virtual void alloc() override; virtual void process(Buffer &out, int num_frames) override; virtual void trig...
80f1667ee7be2b950c25a12f38d82705971e6a1c
4a0182f33147034ee4ff2b6ed6b1b2563aa046ad
/r/r/pc/cpp/ser/src/main.cpp
ec86369d562d6fd8810842b250f87e8bd7fcebb9
[]
no_license
thibugio/obor
0b9227124b317df3068c6ea473ebf9ce93fdece1
078c4f477d2cb9cd5a52caae86abb60d85bf6a13
refs/heads/master
2020-12-31T00:17:46.228156
2015-11-01T20:29:22
2015-11-01T20:29:22
45,356,114
0
0
null
null
null
null
UTF-8
C++
false
false
1,854
cpp
main.cpp
/* file: srccpp/main.cpp */ #include <cstring> #include <cstdio> #include <stdio.h> #include "common_utils.h" #include "pc_utils.h" #include "test_utils.h" #include "SerialSender.h" #ifdef WINDOWS #include <direct.h> #define get_cwd _getcwd #else #include <unistd.h> #define get_cwd getcwd #endif in...
22e4c97e3afc34a1ef52689cb035010e33cdc7ab
f953e478ae95cabd6e5d813d309dd498f6158898
/187/a.cpp
182b17acbed5e944342098542de17b81390920b0
[]
no_license
geckods/CodeForces
da5b368dd62ba03bd96aadd30f124a388817fd43
6a75697a05d460c9593b3549b7ee001e116e3905
refs/heads/master
2021-04-19T14:21:22.102504
2020-08-14T07:05:48
2020-08-14T07:05:48
249,611,848
0
0
null
null
null
null
UTF-8
C++
false
false
2,706
cpp
a.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; // THINGS TO REMEMBER // ENDL is slow, '\n' is fast // Clear everything (including graphs) between test cases // use anti-anti-hash: https://codeforces.com/blog/entry/62393 // pb-ds: https://codeforces.com/blog/entry/11080 // check when to use LLONG_M...
3d0bea70e9b5ae5700aec46f62888dc31bc20c5a
5321a22ec4690d3a127f96b9c77fa348dc487b15
/src/Info/ViewRangeInfo.cpp
c95d2de01bb6b3a51d4151249d62010ec1e237ee
[]
no_license
YuPrinter/visualizer
f3ceebf639c3593ae6dd62dc0efab5b3f33c9391
6c415f1aca628f9deee8164e08f9bda8fb8a7ba1
refs/heads/master
2021-05-28T06:23:50.567233
2014-12-27T08:35:20
2014-12-27T08:35:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,298
cpp
ViewRangeInfo.cpp
#include "Info/ViewRangeInfo.h" namespace ViewRangeInfo { ViewRange::ViewRange(const ViewAxisRange & xRange, const ViewAxisRange & yRange, const ViewAxisRange & zRange, QOpenGLShaderProgram * program, const ShaderIn...
03c613dde95a3bf3f83979926cf9210e47465ec3
1b39eeb2d1f67235babe241c2d7c064432d93ad3
/LeerPrecioLuz_ESIOS_API.ino
720d0262384b20f6766d2e3442ec9dccb140f898
[]
no_license
rgrastur/ArduinoEsios
ffb2dd69c6da8421c46cd87eb3d636efef1d469b
7a70136eaa76e514b9dfaa65784e38ca15d5ea4c
refs/heads/master
2020-06-03T15:46:08.334330
2019-07-03T21:49:04
2019-07-03T21:49:04
191,635,647
2
1
null
null
null
null
UTF-8
C++
false
false
7,112
ino
LeerPrecioLuz_ESIOS_API.ino
#include <Wire.h> #include <LiquidCrystal_I2C.h> #include <RTClib.h> // Placa WeMos D1 // Tiny RTC DS1307 I2C // LCD Crystal PCF8574A // Consulta GET ejemplo: indicators/1013?start_date=09-06-2019T00%3A00&end_date=09-06-2019T23%3A00 #include <ArduinoJson.h> #include <ESP8266WiFi.h> #include <ESP8...
edce8b9f8e375d4e6fdb634bd87dbccdf6427e56
a2a0142267513151581c1f3b867bb7be009e8d0d
/library/commands/FileInfo.cpp
e08a99426dad0a986a8fb1edcdf95fc49aec2529
[]
no_license
chasehaddleton/vm
a00f868349bb33b9a028127bf30e87cf15ed27a5
092f1ef8f07d838c6e9dedd1807e402fe35cfb6e
refs/heads/master
2021-03-27T09:17:24.517180
2017-12-05T02:48:02
2017-12-05T02:48:02
110,714,675
0
0
null
null
null
null
UTF-8
C++
false
false
730
cpp
FileInfo.cpp
// // Created by Chase Haddleton on 2017-12-03. // #include "FileInfo.h" #include "../input/VMKeyMap.h" void FileInfo::doExecute(const std::string &command, VMModel &model, int count) const { auto &sB = state.getStatusBar(); auto &cur = model.getCursor(); std::string msg = "\"" + state.getOpenFileName() + "\" "; ...
823ed2a8cab85abcfeeff1cab86cc371663f73ea
663f36cfff3bfaf9ad64bba430e648b0dadc0f99
/platform/gucefCORE/include/CTObservingNotifierExpansion.h
b2f0982ff90b3f3a0c3db26535a28153b056a4cb
[ "Apache-2.0" ]
permissive
LiberatorUSA/GUCEF
b579a530ac40478e8d92d8c1688dce71634ec004
2f24399949bc2b2eb20b3f445100dd3e141fe6d5
refs/heads/master
2023-09-03T18:05:25.190918
2023-09-02T17:23:59
2023-09-02T17:23:59
24,012,676
9
15
Apache-2.0
2021-07-04T04:53:42
2014-09-14T03:30:46
C++
UTF-8
C++
false
false
13,625
h
CTObservingNotifierExpansion.h
/* * gucefCORE: GUCEF module providing O/S abstraction and generic solutions * Copyright (C) 2002 - 2007. Dinand Vanvelzen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundati...
12d2c380a985f1c32155e2054ad0d41c69d91c2d
4d25f97358a9d394c50d2969ac2b3525023ed12a
/mutex/mutex.cpp
7e5b0792c4fef8475affd21fd458d5b801f53f17
[]
no_license
robryk/www10
11b092b45ed5f77686ec2812cd31b533d8dc96f6
af9d4ac9566e15a6b5c6f48496d4ef1eea5b9d3b
refs/heads/master
2016-09-06T00:26:52.219202
2014-08-21T07:57:53
2014-08-21T07:57:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
662
cpp
mutex.cpp
#include <thread> #include <mutex> #include <iostream> #include "bench.h" #include <cassert> using namespace std; void init() { } void lock() { } void unlock() { } std::atomic<int> tester; void bench_thread(B* b) { while (!b->should_stop()) { lock(); assert(tester.exchange(1) == 0); tester.store(0); unlo...
ad5ef3a7ecb07a7da2c021583a94c648f9af554c
a672db4c69d951812281269d944cffd2c81c4662
/Templatetree/TemplateTree.h
d455ba1d5d8306451e757441239ade2fd81f4af1
[]
no_license
screenleon/C-plus
c0a6d7233b816109efe7fdf53d15754422bce2de
d502a66bb5d30fbf51fa424dfbd93eb7a77dc3dc
refs/heads/master
2021-01-12T06:17:18.888750
2020-01-16T05:46:22
2020-01-16T05:46:22
77,331,513
0
0
null
null
null
null
BIG5
C++
false
false
1,853
h
TemplateTree.h
#ifndef TEMPLATETREE.H #define TEMPLATETREE.H #include <iostream> #include <cstring> using namespace std; struct book{ char * bookName; //書名當成 key 來比較大小 char * authors; int price; }; int compareFun(book, book); inline void printFun(book); int compareFun(int a, int b); //比較int資料大小 int compareFun(float a, float...