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
4b82bc1f9a506b6fb2895d2a762f48e65b96667b
3782e25b6db35d82d63bb81e398deab85ef2236e
/Svc/CmdSequencer/test/ut/Interceptors.cpp
ea6c46f17ddfa26dca20623860df481bfddfa509
[ "Apache-2.0" ]
permissive
nasa/fprime
e0c8d45dfc0ff08b5ef6c42a31f47430ba92c956
a56426adbb888ce4f5a8c6a2be3071a25b11da16
refs/heads/devel
2023-09-03T15:10:33.578646
2023-08-29T15:39:59
2023-08-29T15:39:59
95,114,723
10,071
1,426
Apache-2.0
2023-09-08T14:31:00
2017-06-22T12:45:27
C++
UTF-8
C++
false
false
2,991
cpp
Interceptors.cpp
// ====================================================================== // \title Interceptors.cpp // \author Canham/Bocchino // \brief Implementation for Tester::Interceptors // // \copyright // Copyright (C) 2009-2018 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorshi...
781996740e684a1ccb9e39ae58ac031e7ec8b6d8
4471ba52c1eca0459c425fb07f7695cbc74c5cfa
/MiniBlog/MiniBlog/TaskMgr.h
976ea400c36c26793e12d4e15a7ec51507976530
[]
no_license
shzhqiu/weibo
84ecff15f31d71dda44eb41b18b627a74355122f
809938338f2496d182d16295db5ae2f4fbd5e2e8
refs/heads/master
2016-08-04T00:45:11.332321
2011-11-11T15:19:47
2011-11-11T15:19:47
2,589,026
1
0
null
null
null
null
UTF-8
C++
false
false
1,347
h
TaskMgr.h
#pragma once #include "AutoLock.h" typedef struct tag_TASK_PARAM { DWORD dwTaskType; TCHAR szClientID[33]; union { struct{ TCHAR szUID[20]; TCHAR szToUID[15]; TCHAR szBlogID[33]; TCHAR szContent[MAX_PATH*5]; }post; struct { TCHAR szUID[20]; TCHAR szUserName[50]; TCHAR szUserPwd[50]; ...
bb706c9b578ff010d04b12a7fdd60f5e0dfd576a
9c29fa81917e3bb4233d5f519ec9f9773ce9ca84
/NodeTest/Pins/InputPin.h
b90e004f1960d955efd77ef26966d12456c750d9
[]
no_license
n1kt0/editor
6ed1069d81b91458dbe13ab3d604c50c2d38f1e8
aee4f88b3139b91dc98181e69813c9a86c0cacdb
refs/heads/master
2021-01-19T14:10:06.041424
2012-01-16T15:36:43
2012-01-16T15:36:43
3,069,061
5
2
null
null
null
null
UTF-8
C++
false
false
332
h
InputPin.h
#pragma once #ifndef INPUT_PIN_H #define INPUT_PIN_H #include "BasePin.h" template<class T> class InputPin : public BasePin { public: T* data; InputPin(void); ~InputPin(void); T* GetValue() { return data; } /*T* operator=(Numeric const& rhs) { return this.data; }*/ }; #include "InputPin.cpp" #endif...
10841a1fc6ee95e21667f5e8730ad87df50d07ed
2613d176c63bf02bcf3ba72566e341cf804f7773
/OpenGL_ver/include/Scene/GraphNode.h
f16fd722c0190e2a5c16fc8f9820a56dda7ae5cf
[]
no_license
VaRoXXas/Mutatons
1a57dcdfbda101e97f8424ac755f8800e87b13d5
4ccaa0a24f6e98b829c9a3a25a997ab01f591045
refs/heads/main
2023-06-12T03:19:21.743676
2021-06-23T21:15:12
2021-06-23T21:15:12
346,753,667
0
0
null
null
null
null
UTF-8
C++
false
false
793
h
GraphNode.h
#pragma once class PseudoMesh; class Model; class GameObject; class GraphNode { public: GraphNode(PseudoMesh* pseudoMesh, const glm::mat4& localTransform); GraphNode(GameObject* gameObject, const glm::mat4& localTransform); GraphNode(Model* model, const glm::mat4& localTransform); GraphNode(const glm::mat4& lo...
ca70067491f0dedde4a324be01f034d073b11f42
38d571f0806b4e75db51685c5279414154ed51b3
/cpp/frameReceiver/src/FrameReceiverController.cpp
f61f637c9926069f226e49f3e16a0808d63c063d
[ "Apache-2.0" ]
permissive
odin-detector/odin-data
007168d09fa3680004f7f94822bb03fbebcecfc8
75b06f33b8a9434d73e0fa5989d85805c4954136
refs/heads/master
2023-08-30T13:03:57.677587
2023-08-07T08:47:41
2023-08-07T08:47:41
76,046,833
7
8
Apache-2.0
2023-08-07T09:14:33
2016-12-09T15:28:08
C++
UTF-8
C++
false
false
43,843
cpp
FrameReceiverController.cpp
/* * FrameReceiverController.cpp - controller class for the FrameReceiver application * * Created on: Oct 10, 2017 * Author: Tim Nicholls, STFC Application Engineering Group */ #include "FrameReceiverController.h" #include "version.h" using namespace FrameReceiver; #ifdef __APPLE__ #define SHARED_LIBRARY_...
380a3dec67a607051aa2ccb4b74cbe21927849f4
4bf42ab420c16dbf0160f929be99b2e4be1c7911
/IGRA_LAB/Player.cpp
e840fcd86ed2a018505dfaaf734a7d8647c50a37
[]
no_license
Nightey3s/OpenGL-SpaceShooter
4b494a454f458a607a380b8b154b6be36ab3ba61
c38a706870066e1bfec7960903589fe04cd6b173
refs/heads/master
2021-01-02T19:33:58.655559
2020-02-11T13:34:58
2020-02-11T13:34:58
239,766,805
0
0
null
null
null
null
UTF-8
C++
false
false
4,043
cpp
Player.cpp
#pragma region include #include "stdafx.h" #include "Player.h" #pragma endregion Player::Player() {} Player::~Player(){} void Player::DrawPlayer(float time) { // Use this to Draw the player //DrawPyramid(10.2, 0, 13.5); // (x, y, z)position #pragma region Rotation speed = 5; yRotation = time * speed *rotationalVe...
8d0f1f147c387619110829b60575458cee3ade25
d4a3fa83dc342059b653bf9aea39e15df9806dea
/artoolkit_object.cpp
037492998624e6248d2ba404d81661833189c8c3
[]
no_license
chili-epfl/qml-ARToolkit
7b27478eb74bcfdbb974f9b7e6e6df972f2c83f0
72ce1f076890223af812d778daf55611e362e55b
refs/heads/master
2021-01-09T20:14:58.644231
2018-02-26T14:40:24
2018-02-26T14:40:24
64,397,620
10
2
null
null
null
null
UTF-8
C++
false
false
798
cpp
artoolkit_object.cpp
#include "artoolkit_object.h" ARToolKitObject::ARToolKitObject(QQuickItem *parent): QQuickItem(parent), m_rotation(), m_translation() { m_visible=false; m_objectId=QString(); m_TLCorner=QVector2D(-1,-1); m_TRCorner=QVector2D(-1,-1); m_BRCorner=QVector2D(-1,-1); m_BLCorner=QVector2D(...
198f5307b41a7257d76a6cae8f4fab0da6d26439
26c70fa9b70eadfc147a30602285d546d90798ad
/2842.cpp
813ddd2402cdca55b3b527f5421c73c8b193d508
[]
no_license
lovinix/BOJ_cpp
998e593e070565c8de6a03b56b57ba16765affca
529590b973f6a471a921d144cb34b460554258a4
refs/heads/master
2022-08-28T13:30:40.312015
2020-05-07T08:28:40
2020-05-07T08:28:40
266,696,701
0
0
null
null
null
null
UTF-8
C++
false
false
1,411
cpp
2842.cpp
#pragma GCC optimize("O3") #pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; int N, h[51][51], vst[51][51], dn[] = { -1,-1,-1,0,1,1,1,0 }, dm[] = { -1,0,1,1,1,0,-1,-1}, tot; int sr, sc, mx; string arr[51]; set<int> s; queue<pii> q; int main() { ios_base::sync_wit...
401a7fa52bec583118919498cc42b2f3ef5b04f5
cb1226ed560016616c4432b69ed135e9850de519
/chapter13/TableTennisPlayer.h
504485460fb64a0531c42c604f836e27f484907e
[]
no_license
shuoshuren/C-Primer
1a6b5073823802fa3aa2dd14a0c7cf25e9136f55
3df9f8e61bff665f476b07e722191832ef767fbb
refs/heads/master
2021-01-19T20:31:10.052310
2017-03-03T04:30:48
2017-03-03T04:30:48
83,757,284
1
0
null
null
null
null
UTF-8
C++
false
false
456
h
TableTennisPlayer.h
// // Created by xiao on 2017/1/13. // #ifndef CHAPTER13_TABLETENNISPLAYER_H #define CHAPTER13_TABLETENNISPLAYER_H #include <string> using std::string; class TableTennisPlayer { private: string name; bool hasTable; public: TableTennisPlayer(const string &name,bool hasTable = false); void Name()const;...
e4191d78accdc5dfd37f7c8cb1e601ba2fc8e153
56417c13e957420372c556d7d9b445c3552593a7
/Snake/Timer.cpp
809052917e73c0c80b56da3a11f8e74f0d3efd25
[]
no_license
Trevor266/Snake-Clone
3ea07dd1702980d51afdd710ecd667b8d10e517c
44b057b8a4d9a34a994f3e6ff6841c9170d91207
refs/heads/master
2016-09-14T01:33:11.437562
2016-05-18T03:59:38
2016-05-18T03:59:38
59,079,897
0
0
null
null
null
null
UTF-8
C++
false
false
1,024
cpp
Timer.cpp
#include "Timer.h" //Pass the frames per second you desire, and the number of //frame updates you want displayed within that frame rate. Timer::Timer(int fps, int updatesPerSecond) { FPS = fps; refreshRate = 1000 / FPS * updatesPerSecond; currentTime = SDL_GetTicks(); } //Checks to see if it is time to update the ...
6703016f8fad562b62607189dad0cfaf45da5ff0
64ccd38817d3223554f9842ef8a55cc30154313c
/include/infra/crs.h
dd8ac90c56d46cfe9002eb5e7b96f4b7177483b4
[ "MIT" ]
permissive
VITObelgium/cpp-infra
7cc73d5af3aa410e8260ab499c2ef7596b4967fa
7a6c88f49b7f1743284d9d9072acfc819d6e77c1
refs/heads/master
2023-07-04T20:52:56.092989
2023-06-30T09:31:48
2023-06-30T09:31:48
241,909,345
3
0
null
null
null
null
UTF-8
C++
false
false
2,302
h
crs.h
#pragma once #include "infra/coordinate.h" #include "infra/geoconstants.h" #include "infra/math.h" #include "infra/point.h" #include <cinttypes> #include <cmath> #include <fmt/core.h> #include <limits> namespace inf::crs { namespace epsg { // Epsg integer values //! Web mercator (typically used as warp target, when...
a0bd8a5605cd89a7385ca11d6a05a62a2886717c
3517610983d4eb2359aa1be50d8a80f702f35ef5
/ui_dialoguser.h
698b8cfc82176eb1a15771949b8d9a8bd1a8db6b
[]
no_license
mychuang/IP_CAM
294d8e313b5337af896c372b45fb0b9ca1433b29
807841339d2102add7dc62294b8693dbd9c9c822
refs/heads/main
2023-06-28T20:02:54.202873
2021-07-29T08:57:14
2021-07-29T08:57:14
385,217,517
0
0
null
null
null
null
UTF-8
C++
false
false
4,789
h
ui_dialoguser.h
/******************************************************************************** ** Form generated from reading UI file 'dialoguser.ui' ** ** Created by: Qt User Interface Compiler version 5.13.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***************************************...
17e2ee535c3ce65c8810703be8a2a126cb8e4fc9
286c7126518a531affc0fda945c34d4553774495
/heaps/solutions/heaps_subtask3.cpp
5fbecedda55db2fea6a52df931cca7028abe8073
[ "MIT" ]
permissive
indjev99/Competitive-Programming-Problems
fb5fe81089e80d737d3c24e6799d1aac583d22e1
f5b3203fc2191ba946249af3505259f636f267ef
refs/heads/master
2023-09-04T07:26:51.528481
2023-08-19T00:39:33
2023-08-19T00:39:33
171,058,102
4
1
null
null
null
null
UTF-8
C++
false
false
1,214
cpp
heaps_subtask3.cpp
#include <iostream> #include <vector> struct NimHeap { int big; int small; NimHeap(int big, int small): big(big), small(small) {} }; int n, k; std::vector<NimHeap> heaps; bool ans; bool operator!=(const NimHeap& left, const NimHeap& right) { return left.big != right.big || left.smal...
a809760e4e7978517755af0f9958fffdfc914d2c
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/media/cast/test/receiver/framer.h
7dcb3611c185aa0fcadfb23422fd832c74ece763
[ "BSD-3-Clause" ]
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
3,251
h
framer.h
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_CAST_TEST_RECEIVER_FRAMER_H_ #define MEDIA_CAST_TEST_RECEIVER_FRAMER_H_ #include <stddef.h> #include <stdint.h> #include <map> #include <memory> #include "base...
5350a9334f3a4ac5f96ce1d799c108ea759b09f1
10222df75ccaf404e5388592f68ca304fda9ff2b
/LR/LR/LR.cpp
95320d4bb4e5745d71b84a2a1a796df026f20f96
[]
no_license
Kyle-Derrick/exercises
c36315a1cb6bee99165651bbc7c16fdad35304b9
598d648febd60d665d24adcbebcfed1aefddf18e
refs/heads/master
2023-01-23T17:00:32.560448
2020-11-27T12:59:56
2020-11-27T12:59:56
299,470,277
0
0
null
null
null
null
UTF-8
C++
false
false
835
cpp
LR.cpp
#include <iostream> #include <vector> #include "include/AppContext.h" #include "include/LRAnalyze.h" using namespace std; int main(int argc, char *argv[]) { cout << "LR Grammatical analysis by Kyle Derrick ^_^" << endl; cout << "-------------------------------------------" << endl; //获取配置文件路径 string fpath; if ...
aa2370cf03212f112d71081de236e93208bee42c
74ae46171c54999498b2e5a7ad7a961907b2ae7c
/DCLLNode.hpp
07c622712f09c3ea246018d51d22320477e5768b
[]
no_license
jasjeetIM/DPRAA
c40643001393ada52799783b2c0a92c57996fb8e
a23e9331de7c09923deea02f48b69fec1a7aee97
refs/heads/master
2021-01-10T10:37:46.351992
2016-02-10T02:02:55
2016-02-10T02:02:55
46,028,992
0
1
null
null
null
null
UTF-8
C++
false
false
726
hpp
DCLLNode.hpp
// project/DCLLNODE.hpp // Doubly Circular Linked List Node // ---------------------------------------------- // Authors: Jasjeet Dhaliwal, Sui Fung Alex Wong // Date: 11/23/2015 #ifndef DCLLNODE_HPP #define DCLLNODE_HPP // include libraries #include <cstdlib> #include <iostream> #include "Process.hpp" class ...
8f6d98b7e2ccd3fb655d2ef96c8fac99618fd41e
7dcc00aeab6ce52256eb37e7a6da6c986e7015c3
/yl_algorithm_code/C,C++/2020 暑假 蓝桥杯训练/16年省赛真题笔记/T9 交换瓶子.cpp
e3e5c0f69dcfd70eccb5aa463a6144edb02ae478
[]
no_license
ztony123/codeHouse
ea2e6efb4460d1296e24dbf670e0a783ec99655a
f767149cbc558fae14f8cfde5778f57a122984e2
refs/heads/master
2023-01-22T14:12:52.483079
2020-12-01T11:09:37
2020-12-01T11:09:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
T9 交换瓶子.cpp
#include<iostream> using namespace std; int n,a[10005],ans; int pos(int x) { for(int i=1; i<=n; i++) { if(a[i] == x) return i; } } void swap(int i,int j) { int t = a[i]; a[i] = a[j]; a[j] = t; } int main() { cin >> n; for(int i=1; i<=n; i++) { cin >> a[i]; } for(int i=1; i<=n; i++) { if(a[i] == i) c...
7bb3fe60298836e2be136033ba220b0c44cd884c
42e2c5a05d544dc46c8dd1c77cd3de5139082930
/databases/mysql/2_basic_operation.cpp
423e8bc3626760085f398f976c041227385986aa
[]
no_license
Jeff-Jie/c-cpp
260cf4787679f0980d2e51c9a14e54b646377ae3
650eb881f33594434376fe70993dde4775a6acd4
refs/heads/master
2022-02-24T05:07:07.035187
2019-09-27T04:02:11
2019-09-27T04:02:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,716
cpp
2_basic_operation.cpp
#include <iostream> #include "pub/MysqlConnector.h" using namespace std; static int user_id = 0; static long telNum = 18301418250; MYSQL_RES* insert(MysqlConnector& mc, const string& table) { string username = "wenhan_" + to_string(user_id++); string tel = to_string(telNum++); string cmd = "insert...
c5337fef09a3777ef165a20dc8b2657568392062
3f7827c4a93c4a33991098e2e03853aa718000c4
/WebPA/Clients/GenericAdapter/Profiles/Device/DeviceControl.cpp
b583c8372939a4bcd27f0404a7aac04a8c0348d6
[ "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-other-permissive", "X11" ]
permissive
rdkcentral/ThunderNanoServices
3708431d6499447cda72a501c4d202ca213fe83d
9ee1a59213cf635e56de268237307f0fcd10eea9
refs/heads/master
2023-09-01T02:39:56.645243
2023-08-30T15:24:58
2023-08-30T15:24:58
244,332,056
15
56
Apache-2.0
2023-08-30T14:48:46
2020-03-02T09:34:50
C++
UTF-8
C++
false
false
5,298
cpp
DeviceControl.cpp
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 Metrological * * 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 ...
5bf11c7c0ebd6b22dddbac43ea540d055a4a2fc8
92048531a1795e6c001b0021eaac24994a9fd024
/src/DirectedGraph.cpp
117880a2169f0035c61c5653462e67a220aa2f77
[]
no_license
Mapha235/Graph
4351a3f52088e242960fe67718c7d7305824ab86
cc04b29b07b16581674b41a944a2aba15e2fd393
refs/heads/master
2022-11-27T00:20:53.947832
2020-07-28T15:35:14
2020-07-28T15:35:14
283,254,246
0
0
null
null
null
null
UTF-8
C++
false
false
149
cpp
DirectedGraph.cpp
#include "DirectedGraph.hpp" DirectedGraph::DirectedGraph(std::vector<std::vector<int>> adj) : Graph(adj) { } DirectedGraph::~DirectedGraph() { }
5f3516a5c3afc6d3762d35c8c58b5c5dc2343443
5885fd1418db54cc4b699c809cd44e625f7e23fc
/ucf-01jun2019/equilateral.cpp
edbdfe5d5eaec7d074f7668c18d9f27df4ff2677
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
2,796
cpp
equilateral.cpp
#include <bits/stdc++.h> using namespace std; #define _USE_MATH_DEFINES #define For(i,n) for (int i=0; i<n; i++) #define FOR(i,a,b) for (int i=a; i<=b; i++) #define Down(i,n) for (int i=n-1; i>=0; i--) #define DOWN(i,a,b) for (int i=b; i>=a; i--) typedef long long ll; typedef long double ld; typedef pair<int,int> pii...
ce934e3c54419bddec916e00a64300ac5303e790
8a70d60c9d279cc5895e63b638873ffff385c553
/Analyze/backup/diffana_606-617.cxx
5fa5b9a04f8595dcfb176302b5a2d28fa63847dc
[]
no_license
belmonrj/Run8dAu
46394dfe84695bc489036ef2bc985105926099b9
60c0ed10841169db1c2a734a0dae9a15a1f93363
refs/heads/master
2021-01-19T15:11:59.517645
2017-02-16T21:31:16
2017-02-16T21:31:16
88,204,098
0
0
null
null
null
null
UTF-8
C++
false
false
69,066
cxx
diffana_606-617.cxx
136a137,185 > // ----------------- // > // --- new stuff --- // > // ----------------- // > > > TH2F *spech_pc3sdz_cpos_zposA = new TH2F("pc3sdz_cpos_zposA","pc3sdz vs pT", 100, 0, 10, 100, -5.0, 5.0); > TH2F *spech_pc3sdz_cneg_zposA = new TH2F("pc3sdz_cneg_zposA","pc3sdz vs pT", 100, 0, 10, 100, -5.0, 5.0)...
40157bd7a9e19140a19fec0d9572bebd3a3bfa1f
324b0b27b881a58c823b18521f05199f31849088
/sources/MeshRenderer.cpp
e72469167af5445700a4a0899cf4115cdb166a16
[]
no_license
Seiphyre/VDEngine
dfeaaff0fbf492a9b5da17b20c0c1a961f682379
7d4cb551c812a92e85c2f37fabe4de0f33ab27d3
refs/heads/master
2022-12-11T09:30:04.751349
2020-06-15T02:41:18
2020-06-15T02:41:18
267,748,743
0
0
null
null
null
null
UTF-8
C++
false
false
15,429
cpp
MeshRenderer.cpp
#include "VDEngine/Renderer/MeshRenderer.h" using namespace VDEngine; MeshRender::MeshRender(Mesh * mesh) { m_mesh = mesh; SetMaterial(MaterialManager::getInstance()->GetMaterial()); } MeshRender::MeshRender(Mesh * mesh, Material * material) { m_mesh = mesh; SetMaterial(material); } // MeshRender:...
7cdebc7d7f41fe7c61c2cbd67d7e0a21fd2352a7
a3443c3581ed272c05804250c14f81cbebcb0df4
/FrameRateFixer.cpp
c2885be781abb343db0285930a116172f66bec44
[]
no_license
SimonKeisala/SanGuoSha
0cb3dabc5dc47fd7798be2994273c511e6315353
34d18537ab9804705c371379a799ca5836706034
refs/heads/master
2022-05-20T17:05:38.464188
2016-02-22T20:35:09
2016-02-22T20:35:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
795
cpp
FrameRateFixer.cpp
#include "FrameRateFixer.h" #include "SDL/SDL.h" #include <iostream> FrameRateFixer::FrameRateFixer(unsigned fps) : FPS(fps) {} void FrameRateFixer::start() { startTicks = SDL_GetTicks(); lastTick = get_ticks(); frameDelay = 1000/FPS; } void FrameRateFixer::regulateFPS() { if(get_ticks() < frameDelay) ...
1eb5bb8da609736b7e8070eeec75bfea25888fcb
e5b461fe3d7c0bb750785ec812499c6b8a83de61
/ConstructorOverloadingUsingEmployeeClass.cpp
465e7c343606ed67d540ecc93e74d3006b8760c3
[]
no_license
mithrakoganti/C-C-Projects
db8e78b1de7ab137ae5330d9e61ac7ade41a17d4
01c40a0d0e0c54880189623abef917960eef689c
refs/heads/master
2021-05-09T02:43:09.882373
2018-01-28T02:11:17
2018-01-28T02:11:17
119,219,445
0
0
null
null
null
null
UTF-8
C++
false
false
1,284
cpp
ConstructorOverloadingUsingEmployeeClass.cpp
#include<iostream> #include<cstring> using namespace std; class Employee { char ename[30]; float ebonus; int eage; public: Employee(); Employee(char[]); Employee(char[], int); Employee(char[], int, float); ~Employee(); void print_eDetails(); }; Employee::Employee() { ...
9f8b4257bf6b222189ad97ba2cbc39eb6c0ba370
9ea53045edab514a735860fd9090f03ab2320dc5
/DarkSpace/NounPod.h
f050523bf3c3929ca917afdc56dc239970e8dac3
[ "MIT" ]
permissive
palestar/darkspace
47b74f0859980c7710624a014d62fd8b6d84017c
3d88d7318bb20c92cb69464fa5521da93a871b17
refs/heads/develop
2023-05-27T06:53:06.020217
2023-05-05T12:53:24
2023-05-05T12:53:24
59,434,431
41
27
MIT
2023-05-01T13:16:38
2016-05-22T21:07:16
C++
UTF-8
C++
false
false
2,323
h
NounPod.h
/* NounPod.h This noun is used to transport cargo from one noun to another (c)2000 Palestar Inc, Richard Lyle */ #ifndef NOUNPOD_H #define NOUNPOD_H #include "Factory/WidgetWrap.h" #include "Trail.h" #include "NounGame.h" #include "NounShip.h" #include "GameDll.h" //----------------------------------------------...
fc7a699bcfd1b6b74330b393d7a917406cf448a7
d6b347843bd653cb3ae975782be523ad58bd6d7d
/MathForGames/MathForGames/Matrix3.h
c05653cb8486c26f83754c331b04e0daa8f4e0d3
[]
no_license
JMicahMan/MathForGame
439c9fb368397a693dfd7275bed6a2ebfd4a173f
80fe5d5e666b4a52b343cf18c8289658797493aa
refs/heads/master
2020-04-10T19:19:16.472393
2019-02-06T23:53:13
2019-02-06T23:53:13
161,231,552
0
0
null
null
null
null
UTF-8
C++
false
false
503
h
Matrix3.h
#pragma once #include <cmath> #include "Vector2.h" #include "Vector3.h" #include "Vector4.h" class Matrix3 { private: float MatDat[3][3]; float TempDat[3][3]; public: Matrix3(); Matrix3(Vector3, Vector3, Vector3); Matrix3( float, float, float, float, float, float, float, float, float ); Matrix3 ...
d2f8e1453b20c8b8347fd0c8c2a3e46d00bae446
b0bc8da0876e658a4ca3f7856ca00f013cd45ca5
/Projet_cpp/Classes/Player.cpp
c49e90e66437b3a652419998261778fba72b049d
[]
no_license
huynhthang/Project_cpp
2f1d067ee4b2aeb82532f7c93b56f9f6832bf1cd
ca627b0402695282ea0f2ac49ab85fef53672ac5
refs/heads/master
2021-01-10T01:00:57.823850
2013-07-09T15:45:14
2013-07-09T15:45:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,346
cpp
Player.cpp
#include "Player.h" Player::Player(void) { vie = 3; score = 0; inAction = false; sprite = CCSprite::create("yes6.png"); size = CCDirector::sharedDirector()->getWinSize(); currentAnimation = CCAnimation::create(); sprite->setPosition(ccp(size.width/7 - 10, size.height/4 + 10)); } Player::~Player(void) { } vo...
a63736e162efe29254ed365f1c9c5c7e0402dfb3
991def1975c9485af8a0b7169c3a975f00e0c5a0
/src/backend/common/graphics_common.hpp
ec59033fcb98eaa8cec7493a18139835018cb75c
[ "BSD-3-Clause", "MIT", "Zlib", "BSL-1.0", "Apache-2.0" ]
permissive
arrayfire/arrayfire
4dff912bb57e36f512c80ef2a7c1ff6e5e7be6e5
b59a1ae535da369db86451e5b28a7bc0eaf3e84a
refs/heads/master
2023-09-01T13:35:27.105084
2023-08-28T23:49:55
2023-08-29T00:09:03
25,889,802
3,694
607
BSD-3-Clause
2023-08-30T18:54:09
2014-10-28T20:58:33
C++
UTF-8
C++
false
false
14,687
hpp
graphics_common.hpp
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
2c1dbe5be4fbe9c6fb6f96a3a627293cedbd51e8
6ebe5466b6c907383645b41e4dbd8b6ec77a7ece
/MULDND1_NodeMCU_Temp/NodeMCU_Temp.ino
bb5f4560c17c1076602ceffcf46cd328930de427
[]
no_license
nickdm26/Robotics
f2c7cca3ef9dab2d226aedebcd8a6ca336e00ab6
7bb5f604572a434f884261c5343244c21ed8e741
refs/heads/master
2020-07-01T09:30:36.562148
2016-11-18T02:36:51
2016-11-18T02:36:51
74,087,898
0
0
null
null
null
null
UTF-8
C++
false
false
1,242
ino
NodeMCU_Temp.ino
#include <DHT.h> #include <ESP8266WiFi.h> #define DHTPIN 5 #define DHTTYPE DHT22 #define AP_SSID "OP-Guest" #define AP_PASSWORD "opwireless" DHT dht(DHTPIN, DHTTYPE, 30); WiFiClient client; float hum; float temp; void setup() { dht.begin(); WiFi.begin(AP_SSID, AP_PASSWORD); Serial.begin(9600); } void loop() ...
80358119b961129c36873277e6d0bef6410a7a17
f690e2b5e841b622d48a6c4584b48c8a6abbd413
/OTPL/src/doublesTrajectory/velocityprofile_s.h
9cad1dc265b8d1c725c1e7a6530d6783b8630305
[ "BSD-3-Clause" ]
permissive
JiangLisong/OTPL
7925eb99db51c68812fbfb1492c0e0e2eb1385a8
5d8c243d54788345a27147b7a6c45552e939ae0f
refs/heads/master
2020-06-05T20:18:37.467579
2019-06-28T01:44:40
2019-06-28T01:44:40
192,536,816
0
0
null
2019-06-18T12:35:51
2019-06-18T12:35:51
null
UTF-8
C++
false
false
1,276
h
velocityprofile_s.h
#ifndef _VELOCITYPROFILE_S_H #define _VELOCITYPROFILE_S_H // #ifdef __cplusplus // extern "C" // { // #endif//__cplusplus #include <iostream> /* * A double s VelocityProfile implementation. */ class VelocityProfile_S { // For "running" a motion profile : double Ta, Tv, Td, Tj1, Tj2, Tj, T; // duration t of...
0d4524219c26fa3b9993fbc08de9b4b00e2a2099
d07317b5b2762349da4bc086c75ed4f4813feb10
/Research/MineralAlgorithms/source/Micro.cpp
60ca9b250f8498b95a1008a466796639fc290429
[ "MIT" ]
permissive
MartinRooijackers/LetaBotSC2
cfb3f83a7250eff2088ac78dfb10004f667a5a7b
e7d2ada1050dee667d88f4e5188b7577ae522a70
refs/heads/master
2021-01-22T15:59:16.090286
2017-12-05T04:46:48
2017-12-05T04:46:48
102,384,411
11
1
null
null
null
null
UTF-8
C++
false
false
2,983
cpp
Micro.cpp
#include "Micro.h" #include "Util.h" #include "CCBot.h" const float dotRadius = 0.1f; void Micro::SmartStop(const sc2::Unit * attacker, CCBot & bot) { BOT_ASSERT(attacker != nullptr, "Attacker is null"); bot.Actions()->UnitCommand(attacker, sc2::ABILITY_ID::STOP); } void Micro::SmartAttackUnit(const sc2::Uni...
877ae65418e05b72405764847593889f0e8df23c
e8d3a188c25370e61eec32cb50d48e7571a4b87b
/SDLgame/EnemyWalkerCollection.h
66740b52c49cbc34e0e4aad267d11a80490b12d9
[]
no_license
nugyflex/SDLgame
4d0365b0a45d5105544a37a6a1b6c2ed9d58aca3
51f7f82f15f9c94936670f37b90ccb3b47f7f509
refs/heads/master
2020-05-22T08:03:45.134165
2016-12-09T03:44:15
2016-12-09T03:44:15
64,000,256
0
0
null
null
null
null
UTF-8
C++
false
false
1,070
h
EnemyWalkerCollection.h
#pragma once #pragma once #include <vector> #include "GameEngine/CollisionDetection.h" #include "GameEngine/Camera2D.h" #include "EnemyWalker.h" #include "WorldItemCollection.h" class EnemyWalkerCollection { public: EnemyWalkerCollection(); ~EnemyWalkerCollection(); void init(GameEngine::SpriteBatch* _sb, WorldI...
d400531743bddcd3981cc1ce08d3731c17d8d119
c304fdd01358c682acff2603733e0a5377bf8940
/solutions/1871-palindrome-partitioning-iv/palindrome-partitioning-iv.cpp
abe8b81bf29747987a093ab6b0eef997bf957e8e
[]
no_license
gaelwjl/Leetcode-Solution
8432e5610adacc69455a705b83ad433f01c9eaad
933bdb462400f490506285774d277394753ef79b
refs/heads/master
2023-03-06T00:25:53.486131
2021-02-10T11:46:40
2021-02-10T11:46:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,293
cpp
palindrome-partitioning-iv.cpp
// Given a string s, return true if it is possible to split the string s into three non-empty palindromic substrings. Otherwise, return false.​​​​​ // // A string is said to be palindrome if it the same string when reversed. // //   // Example 1: // // // Input: s = "abcbdd" // Output: true // Explanation: "abcbdd" = "...
bad110272a30405ef57585d874d4288b87fb81f8
637d2b471ab26a683cf67b259c58d2f9318a1bf2
/McUtils/Extensions/FFI/libs/plzffi/FFIModule.hpp
1d3c02308f2bd0c35b901bfe30353f34259d88ac
[ "MIT" ]
permissive
McCoyGroup/McUtils
9c1c3befcef88d6094961e23a894efb4d97c84b1
c7c3910e7cb5105c65b01ecb17a6668d126b2063
refs/heads/master
2023-08-18T16:24:17.718849
2023-08-11T23:10:21
2023-08-11T23:10:21
188,920,933
0
2
MIT
2022-12-15T19:17:02
2019-05-27T23:29:24
Python
UTF-8
C++
false
false
43,358
hpp
FFIModule.hpp
#ifndef RYNLIB_FFIMODULE_HPP #define RYNLIB_FFIMODULE_HPP #include "PyAllUp.hpp" #include "FFIParameters.hpp" #include <string> #include <vector> #include <stdexcept> #ifdef _OPENMP #include <omp.h> // comes with -fopenmp #endif #ifdef _TBB // Generally one _won't_ have TBB available #include "tbb/parallel_for.h" #...
e62b2fae6bc416940842c41d07e23aa9cbb6f402
d325ae621bf0e8b61afa620f5437ba0fbe338de4
/elenasrc2/engine/parsertable.h
f4b408828c3ae9268e0fd17d49e35afed88385c3
[ "MIT" ]
permissive
ELENA-LANG/elena-lang
4a39aae6e3f91c36c794633cd17fad50a3ac4f17
5826a561f5e3356bc4f411a9a89e6c172f7e2707
refs/heads/master
2023-08-31T04:12:01.212527
2023-08-19T19:00:39
2023-08-19T19:00:39
13,586,508
245
36
MIT
2023-08-19T19:00:40
2013-10-15T10:02:54
C++
UTF-8
C++
false
false
1,075
h
parsertable.h
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA Compiler // // This header contains ELENA Parser table class declaration. // // (C)2005-2015, by Alexei Rakov //-------------------------------...
e32875480d7833ba7de81af3415b2939744d5daf
afe541b0d47c16d855224da1935a1bc3d7bbb171
/sgu/sgu_288.cpp
8ab2a7a27e0099ba825fb84c0888a320c2161d5b
[]
no_license
TRYang/acm
e007b53d5f84f9043b2c9ab36f28ef92279c3a46
ff21e284ed1231b61bb8c3c72998005ba301f9a0
refs/heads/master
2021-01-18T13:47:04.419769
2013-07-18T00:16:03
2013-07-18T00:16:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
700
cpp
sgu_288.cpp
#include <stdio.h> #include <string.h> #define maxn 2010 int b[maxn],bn,p; int a[maxn][maxn]; int n; void VS(int r,int x,int y){ a[x][y]=a[y][x]=r; } int main(){ int i,j,k; scanf("%d",&n); if (n==1){ printf("0\n0\n"); return 0; } if (n%2==0) printf("%d\n",n-1);else printf("%d\n",n); for (i=0;i<n-1;i++) b[i]=...
977348095f67b50dc297e2a0e7f8092107a2bdbd
8310d24b475970d67a38137bb0c3c854cd898a5c
/CVTool2/MyDefines.cpp
5b8991c6c1158c48def3299de77c816106f114aa
[ "Apache-2.0" ]
permissive
baolingfeng/VideoScrapingTool
c1996b308be4c7c1b8a844af7549e7713805f0dd
5060b35bfc4a79ef467dc619cfef778f038f5f35
refs/heads/master
2020-06-03T18:56:42.176454
2014-11-24T12:50:52
2014-11-24T12:50:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
731
cpp
MyDefines.cpp
#include "MyDefines.h" int GobalParam::FAST_CORNER_THRESH = 10; bool GobalParam::FAST_CORNER_THRESH_SUPRESS = false; int GobalParam::HESSIAN_THRESHOLD = 400; int GobalParam::OCTAVES = 4; int GobalParam::OCTAVELAYERS = 4; bool GobalParam::EXTENDED = false; bool GobalParam::UPRIGHT = false; int GobalParam::KERNELSI...
f07586f8e750d847018c296381579639cf62ad42
f0aa93cd922a74ba95f2fb814668e333a5dc1148
/src/Engine/Graphics/GraphicsObject/GraphicsObjectFactory.h
e6aeb4fee773aa5abf13eea17bb10cab24dc6889
[]
no_license
iluhinsky/space-lua
0db312b8fdeb8ff29246499fddc4b6e1bdf5f490
78ac715c1cded7d578194cb078e5c8b5ef88b4f1
refs/heads/master
2023-02-15T10:20:25.428819
2021-01-05T18:18:28
2021-01-05T18:18:28
72,942,802
0
0
null
null
null
null
UTF-8
C++
false
false
537
h
GraphicsObjectFactory.h
#pragma once #include "GraphicsObject.h" struct GraphicsObjectInfo { std::string modelName_; std::string textureName_; ShaderNames shaderNames_; bool isInfinite_ = false; }; bool operator< (const GraphicsObjectInfo& left, const GraphicsObjectInfo& right); class GraphicsObjectFactory { public: GraphicsObjectF...
f4e9b93cd76358e7cd0fa08c68e13e08a052c714
4ed7dd878a2b34bace1fd91a49106eebe570a360
/Codeforces/round_434_div1/B.cpp
3ff8f467947036615790d6758869bf760b3e8b00
[]
no_license
mayukuner/AC
fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9
c21b2970b7288d7b36cbed468101446c615e79ff
refs/heads/master
2020-12-15T02:38:51.758676
2017-10-11T13:01:11
2017-10-11T13:01:11
46,971,415
3
1
null
null
null
null
UTF-8
C++
false
false
1,604
cpp
B.cpp
#include <bits/stdc++.h> using namespace std; #define FOR(i, n) for(int i = 1; i <= n; i++) #define REP(i, n) for(int i = 0; i < n; i++) #define MP make_pair #define FI first #define SE second #define VI vector<int> #define CLR(x) memset(x, 0, sizeof(x)) #define SZ(x) (x.size()) #ifdef QWERTIER #define err(x) cerr<<x<<...
412aea48c9bc69f843203c5dd55778573bbc6a22
1f0804b9cab6dc049d1a57a6e0b3c46c6c671b85
/SummaryDialog.h
57974cd298f12d361572fc1d0e08a9a254c80451
[]
no_license
dsheck/Student-Logger
361eda6ef0f624fabefb1e0c8e1147f34e325cbf
22c2d8dfd64014ccc7010bf1722b0a140ed76c43
refs/heads/master
2021-08-16T00:42:25.131950
2017-11-18T17:38:51
2017-11-18T17:38:51
111,225,578
0
0
null
null
null
null
UTF-8
C++
false
false
1,242
h
SummaryDialog.h
#if !defined(AFX_SUMMARYDIALOG_H__4BA9D65A_81A1_4745_A6EA_DF473D977CFF__INCLUDED_) #define AFX_SUMMARYDIALOG_H__4BA9D65A_81A1_4745_A6EA_DF473D977CFF__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SummaryDialog.h : header file // ///////////////////////////////////////////////////////////////...
918494c42b841cba18de8f6b008bfbe2d4fb8ca0
64eef6eac297ff7c47b93980b8f3fa1eef77a2ab
/ACM暑期培训/Day_2/day2_E.cpp
bf9d4becd9ad1f24901767dc7c1ca1ef28f6a819
[]
no_license
BBBBchan/C_CPP_ACM
51bf78825285a0a9700a929c97e2a0cb3ba506a8
d23b6688067dd8f1ad7504072bffd439a985c6b0
refs/heads/master
2021-06-02T19:26:04.765720
2020-08-04T06:55:04
2020-08-04T06:55:04
112,023,061
2
0
null
null
null
null
UTF-8
C++
false
false
178
cpp
day2_E.cpp
#include <stdio.h> int main(int argc, char const *argv[]) { int n; while(scanf("%d", &n) != EOF){ if(n%3==0) printf("Cici\n"); else printf("Kiki\n"); } return 0; }
29e37688b1017c678da466afae2b1821e7d25bdb
3ffc6782cd90c8260e3ed963264ab62f98c1546b
/src/utlmisc.cpp
794fa4daff61f62c2baaed106cb3d579a66e396b
[ "Apache-2.0" ]
permissive
multitudinous/mapgen
e1485c9792fd92c493b09e87faf126472b18fd29
1073b48973811b167fd1e765f0c2a4704312ed0e
refs/heads/master
2021-09-11T16:47:38.356494
2018-04-09T22:33:44
2018-04-09T22:33:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
191
cpp
utlmisc.cpp
#include "utlmisc.h" #include <math.h> bool UtlMisc::equality(double d1, double d2, double dEpsilon) { if (fabs(d1-d2) <= dEpsilon) return true; else return false; }
b5be53295a74a2043033119662a7f048d9bce7f6
59e32ce927898a212fda136708f4475393817cf3
/lopez/lopez-src/warped/NoTime/compNet/RouteState.hh
dd22c416fb47cd9e2ee218674cd8c2f9923f3e35
[]
no_license
romancardenas/CDPP_AdvancedRules-codename-Lopez
0f6524df51e2fdf8e430c40e773729a2d71c1bea
d777e50d4e63484de6aa07e5c8482a3a9d49eeb8
refs/heads/master
2022-03-25T02:57:12.406494
2019-11-21T21:17:36
2019-11-21T21:17:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
517
hh
RouteState.hh
#ifndef ROUTESTATE_HH #define ROUTESTATE_HH #include "BasicState.hh" #include "Types.hh" #ifdef __GNUG__ #include <MLCG.h> #else #include "../rnd/MLCG.h" #endif class RouteState : public BasicState { public: RouteState(); ~RouteState(); void enQueue(MessEvent *); Link *deQueue(); RouteState& operator=(Rout...
1caece80a1f057ef49323d838f6e574d830f4939
a300db1bdd1a3d81da5c919aa0fa1af516930fe9
/Contador_okok.ino
c3003b1785aebe0e74790a1aea63f21e6008645b
[]
no_license
jconill/Final-project
66290872579b8a73b816e4d4e73d0075f3366b30
dcbe3b74892ebf5c5c61782e70ac9517d44bf3af
refs/heads/master
2020-09-23T07:31:13.697166
2019-12-12T13:16:51
2019-12-12T13:16:51
225,440,713
0
0
null
null
null
null
UTF-8
C++
false
false
3,605
ino
Contador_okok.ino
/* Joan Conill 201 Maria Casas 201 Joan Gomez Usos Academics en Amglés */ // We define each variable in order to have them well annoteded and defined forward on. unsigned long t; unsigned long longPressure; boolean countOn = false; // we give each variable an exact value int baseTime = 3000; // It ...
5c0167483824e5f721605310a0f2097d773cfd13
6a4ef6fe3a4ce3400a120242a6775b3428426011
/CPP03/ex04/main.cpp
bf64e20d581ce5d88c2c3b35b567020a5f398749
[]
no_license
ejawe/cpp
20a282a9092b74a51f73addbe7637062df062c27
a4ccbc3f6f0ac6a6cdd72ed4ee87047614ed91f1
refs/heads/master
2023-07-13T15:22:59.264529
2021-08-21T16:28:35
2021-08-21T16:28:35
342,659,149
1
0
null
null
null
null
UTF-8
C++
false
false
1,598
cpp
main.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
5846233e18eb1d1e1cd459f41a99e86d7ffffedd
7be9be59b7495c8c5a9ca441b1fbb1931b7d70d4
/parser.h
d605a601b7db9df33850add6a5c823b6b4807bd5
[]
no_license
rbbrnc/dfxmlview
b292aa90cd7fcbcace073a3e0e634d396dd7e259
b85e13cb15cc9b8755ac8ae919b033f3c6d26858
refs/heads/master
2020-07-25T18:13:33.921675
2013-11-11T10:32:58
2013-11-11T10:32:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
551
h
parser.h
#ifndef DFXML_PARSER_H #define DFXML_PARSER_H #include <QList> #include <QXmlStreamReader> #include <QDebug> #include "byterun.h" #include "fileobject.h" #include "source.h" class DfxmlParser { public: DfxmlParser(const QString &xmlFile); bool parse(); QList<DfxmlFileObject> fileObjects() const; DfxmlFil...
f6afcf5c0f04e675606762b4ed51639cf4096e50
24f3b4653e796bc5502dddf759980793471ba642
/Experis/C++/CardGameProject/BareketCards/UnitTests/TestBareketCards_v1.cpp
b866a70e421fa08567a73f5df7fc50e853ad8a01
[]
no_license
madmandidj/github_work
286ccc1df71f8306f54e285ff9cc9c0cff9f5968
f2f5779d8398fa60466ab2ae25fc02b157699074
refs/heads/master
2018-12-16T20:15:16.867844
2018-10-03T19:58:25
2018-10-03T19:58:25
116,257,701
0
0
null
null
null
null
UTF-8
C++
false
false
481
cpp
TestBareketCards_v1.cpp
#include "BareketCards.h" #include <iostream> int main() { size_t numOfPlayers = 4; BareketCards::SetDefaultNumOfPlayers(numOfPlayers); BareketCards brktCards; brktCards.Shuffle(); brktCards.Deal(); std::cout << std::endl << std::endl << "Welcome to Bareket Cards!" << std::endl << std::endl; brktCar...
7be50b32550b28d7fb066bac43134e14307ebdf7
f953e478ae95cabd6e5d813d309dd498f6158898
/543/f.cpp
44ac382fc692040b9e7d0dab84f134c1c7ddbd36
[]
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
3,417
cpp
f.cpp
#include <bits/stdc++.h> using namespace std; // Fills lps[] for given patttern pat[0..M-1] void computeLPSArray(char* pat, int M, int* lps) { // length of the previous longest prefix suffix int len = 0; lps[0] = 0; // lps[0] is always 0 // the loop calculates lps[i] for i = 1 to M-1 in...
52d65d502620da792b58560fef075798be2f810b
7487c08a56546157df3f3681b03a7ec5d3bb9c44
/pgntest/tst_pgntesttest.cpp
cf1415bdd239fff5378c8f1eab30d6ec54bc85a4
[]
no_license
ifanatic/chessgameviewer2
431dbdf41474e7d1a2876ba85b431f8827602091
90966a7f36f9358666a4a5300f59989389e19d9e
refs/heads/master
2021-01-22T20:25:49.698309
2012-09-13T02:54:30
2012-09-13T02:54:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,059
cpp
tst_pgntesttest.cpp
#include <QtCore/QString> #include <QtTest/QtTest> #include <string> #include <vector> #include <sstream> #include <iostream> #include <algorithm> #include "../pgn/chessboard.h" #include "../pgn/basicmovechecker.h" #include "../pgn/bishopmovechecker.h" #include "../pgn/rookmovechecker.h" #include "../pgn...
2666e0ff4d02d7dea6a341969138afb507d1a774
54d17024aa9e78951b5a6a223fe7f859671a7c90
/a1/q2/testdir/uCatchResume.cc
2694091ad30a0a791d7ec0d0ad12ebbb585e5af6
[]
no_license
ycpliang/concurrency-and-parallel-prog-course
c12d65533916f9c6e6f9e7ebc73c07bb0e2d54a8
37e2e0c0e393ea3a4959d5116e0a7ec28e0a4192
refs/heads/master
2021-01-12T12:52:20.567981
2016-09-27T18:40:14
2016-09-27T18:40:14
69,387,543
0
0
null
null
null
null
UTF-8
C++
false
false
443
cc
uCatchResume.cc
#include <iostream> using namespace std; //_Event E{}; _Event E2 { public: int i; E2 (int i) : i(i){} }; _Event E1 { public: int i; E1(int i) : i( i) {} }; void f(int i){ _Resume E1 (3); cout << "Finish" << i << endl; _Resume E2 (5); cout << "E2 Finish" << i << endl; } void uMain::main(){ try { f(4); }_Ca...
9f499856bfe2bd994bb6cabb794c70a357686171
c583327cdf3ac718ce57db70715af6fe9fcff3ee
/DP/树形背包dp.cpp
72393c99c6d1edc165f1144d8ef211ae9e0b2367
[]
no_license
BruceQFWang/ACM_Template
74995bf7722b8086550629c4d7808d37272d82e2
d7e911adedafdf400c3cc76a555787b6380ff46d
refs/heads/master
2021-04-06T20:09:48.225624
2018-03-18T09:03:26
2018-03-18T09:03:26
125,328,573
2
1
null
null
null
null
GB18030
C++
false
false
2,032
cpp
树形背包dp.cpp
题意:有n个商品,每个商品都有价格ci,优惠券di,除了第一个商品,其他的商品用优惠券必须买之前的某个商品,求用b元买到最大的商品数 思路:很明显是树上DP,可以根据优惠券的约束关系构造成一颗树,考虑树形DP 定义:dp[子树根] [选的物品数] [用不用优惠券] 的最小代价 转移方程: dp[u][j][1]=min(dp[u][j-k][1],min(dp[v][k][1],dp[v][k][0])) dp[u][j][0]=min(dp[u][j-k][0],dp[v][k][0])) 显然,直接DP需要O(n3) 考虑优化,维护size[u]=当前u为根的子树已经发现的节点个数 首先对任意u,size...
fac1a5b532f1f979baf70f7865dd842df9d496ea
0767851881d0bf4eee61fecbf0ddd9b359824d4d
/170/NeedsOrganized/Sorting/sort_BubbleSort_Simple_Code.cpp
a069b3d15c75b569c705d595619c0204851f6b43
[]
no_license
mshafer1/SteilHU
40e41ac6cb738b2ef063f8a21a08a8750bafdc93
b3897023dab9a372122c4cf732b5f783e19e0a62
refs/heads/master
2021-01-15T21:49:07.785393
2019-09-04T02:53:20
2019-09-04T02:53:20
6,246,636
0
0
null
2019-09-04T02:53:21
2012-10-16T15:28:32
C++
WINDOWS-1252
C++
false
false
1,428
cpp
sort_BubbleSort_Simple_Code.cpp
//this program is a simple implementation of the bubble sort algorithm #include <iostream> using std::cout; using std::cin; // Bubble Sort Algorithm Description // // 1. Repeat steps 2-6 as index Passes goes from 0 to Items – 1 // times or until you find that the array is sorted. // // 2. Assume the ...
230d294d4b744330c103f044c01a0ec2ea241b6b
0fc93dfed4247ce95fa5a316d2b6ad6c90926d65
/p300-longest-increasing-subsequence.cpp
741a5eab81eee5b5a372200644e6111761a074b4
[]
no_license
fgwu/leetcode-cpp
eeeb3fbbaece4ac7d435adeb148786fb4ff2aab3
9c5673d694d5e32426a30a0c9439e3c997053241
refs/heads/master
2021-01-21T16:53:05.664119
2017-12-14T06:10:10
2017-12-14T06:10:10
91,912,450
0
0
null
null
null
null
UTF-8
C++
false
false
2,214
cpp
p300-longest-increasing-subsequence.cpp
class Solution { public: /* opt concise */ int lengthOfLIS(vector<int>& nums) { int n = nums.size(); if (!n) return 0; vector<int> ml; // ml[i] stores the smallest elem that has the max length for(int i = 0; i < n; i++){ auto it = lower_bound(ml.begin(), ml.end(), nums[i]); if (it == ml.end()) ml.pu...
eb1a9482f45483b0d861e5112f9dd4f1ce3f3920
4d1620f3fa5783e6068a6b101519d5dc8364ccba
/VFH_Features/src/create_features.cpp
a7f97500935600f98ac091b776ef5e6c635e852e
[]
no_license
Katsileros/PANDORA_HOME
5a58c4475925df939c7a6e9ea404bb8b14a8162f
55e0a8db3485ba5fd73f4d94bbd1669fca0419aa
refs/heads/master
2021-01-10T20:19:34.118396
2015-11-30T11:28:08
2015-11-30T11:28:08
26,542,210
1
0
null
null
null
null
UTF-8
C++
false
false
4,805
cpp
create_features.cpp
#include "create_features.h" /*! * \brief This class creates VFH features * \author Katsileros Petros * \date 21/3/2015 * \bug Must define the input-output read & write folders and files * \copyright GNU Public License. */ /** @brief Constructor @param inputFolder: Contains the pcd train...
2935d717dbfa416c1b25832280a545d81e561cd5
7582aded57933861a1e9feba2681c7f306a955b3
/11332/11332.cpp
a53f33f9ef249b624d6a11a7154a7f7fee3e1049
[]
no_license
ludimus/onlinejudge
c43e9501e8a7eed42f4b0fb3de1408b14ee30c14
60f3a534b94cb64e863b4490e1ddf1914b3ff9f1
refs/heads/main
2023-02-26T01:45:14.604904
2021-01-30T13:08:31
2021-01-30T13:08:31
334,414,053
0
0
null
null
null
null
UTF-8
C++
false
false
421
cpp
11332.cpp
#include <iostream> using namespace std; int f(int n) { int ret; if(n<10) return n; else{ ret=n%10; while(n>=10){ n/=10; ret+=n%10; } return f(ret); } } int main() { int n; unsigned long lon...
ecb0fea8fee4befddee1c46a85bbf258873f263d
78679f373221f3d644c809a0caa89f3aed3ad824
/InkaTerminal/Shuffler.h
fad01c979c1c1dbfd192d558a0c615101a6a3182
[ "MIT" ]
permissive
fivitti/inka
ffcd57dea577c5306f1c7e18155fdcff5535f00f
3fb053d7d8dd9d908463266cabe826476706151f
refs/heads/master
2020-03-07T01:35:34.623708
2018-03-28T19:54:39
2018-03-28T19:54:39
127,187,403
0
0
null
null
null
null
UTF-8
C++
false
false
3,060
h
Shuffler.h
#ifndef Shuffler_h #define Shuffler_h #include "Config.h" #include <CSVFile.h> #include "FileTools.h" #include "LFSR.h" #include "LcdTools.h" #include "ConfigurationFile.h" #include "SDCardTools.h" #include "YesNoAcceptFrame.h" #define MAXIMUM_LINE_TO_SHUFFLE 255 #define MINIMUM(a,b) (a<b?a:b) namespace Shuffler { ...
2e54e37e11255b9db5b5c823ccfeb7ca93ac5720
2772b184938b36b3b3b69265134f6eaa4077dfe3
/RaftRPC/Server.cpp
e4800d4ed6f0bcfb212cae5ad714d1541cd81b2f
[]
no_license
david-sanchez-escamochero/RaftRPC
8ebbc649fa75e0263ca0ecf3cee96c4028bd2888
098ab2460faeeb0b3fdd70502a988c57a177b3d7
refs/heads/master
2023-06-04T06:48:29.527691
2021-06-22T23:03:59
2021-06-22T23:03:59
357,695,016
0
0
null
null
null
null
UTF-8
C++
false
false
12,995
cpp
Server.cpp
#include "Server.h" #include <string> #include "Tracer.h" #include <string> #include "RaftUtils.h" #define SEMAPHORE_SERVER_DISPATCH 1 #define SEMAPHORE_SERVER_NEW_STATE 2 Server::Server(int server_id) { // Persisten state on all servers. current_term_ = 0; // Latest term server has seen (initialize...
f50b0fb709b2008cd24f4dd216794f6709fcdf6d
dbbc40a6df7eb973e5bc8bf74e4679ec33d9025d
/Lab_5/lab5_adc/BusDevice.cpp
3e1703a12ebf45011afb77502abe21d7b20da341
[]
no_license
jahillebrand/Embedded_Systems
26530d6aab2c62d89c2b4f5534531fb5a71cf82e
638af39b74719178e8a79033ab9bf13d291b5634
refs/heads/master
2022-03-29T17:39:37.230025
2020-01-07T20:50:03
2020-01-07T20:50:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
209
cpp
BusDevice.cpp
#include "BusDevice.h" namespace exploringRPi { BusDevice::BusDevice(unsigned int bus, unsigned int device) { this->bus = bus; this->device = device; this->file = -1; } BusDevice::~BusDevice() {} }
1d8bd17f386ee7c44fe62c886edd3d864b334565
7b08cc58dec37058051d7c24caac43a9e2d94c01
/Units/Defectoscope/Solid/MainWindow/PointsViewer.cpp
3b8ad39cb48fc71efeb2ba426d4affbf8413fde3
[]
no_license
Andrew90/langepas
9e2077b8db0685aabb8dbd0a4101a1dec2dc6d0c
3b678eb17df65e2da4a01d82b6b36f7725396ceb
refs/heads/master
2021-07-10T23:28:31.820047
2017-09-15T05:02:53
2017-09-15T05:02:53
104,297,824
0
0
null
null
null
null
UTF-8
C++
false
false
5,046
cpp
PointsViewer.cpp
#include "stdafx.h" #include "PointsViewer.h" #include <stdio.h> #include "window_tool/EmptyWindow.h" #include "App/AppBase.h" #include "Dates/SolidData.h" #include "tools_debug/DebugMess.h" #include "SolidGroupAlgoritm\ComputeSolidGroup.h" #include "Graphics/Chart.h" #include "FrameWindow\FrameWindow.h" //#include "Ma...
59a1194f164920241e1b1e2b88f2cf263badf034
45736376bc0f77f7869feafece328b70fc5c030f
/Boat/Structures/PacketId.h
e16843ed0ddea720009de2559408ba0658d2c1b2
[]
no_license
Jazz23/Boat
5d5139b7541e1f8dfeb5a901a423f74812ad62ef
febc32e9fffc6108a0b07af89b8b1b86a3c00113
refs/heads/master
2022-12-12T23:39:57.869733
2020-04-16T16:54:49
2020-04-16T16:54:49
121,046,503
0
1
null
null
null
null
UTF-8
C++
false
false
3,395
h
PacketId.h
#pragma once #include <stdint.h> namespace PacketId { inline int8_t FAILURE = 0, CREATESUCCESS = 0, CREATE = 0, PLAYERSHOOT = 0, MOVE = 0, PLAYERTEXT = 0, TEXT = 0, SERVERPLAYERSHOOT = 0, DAMAGE = 0, UPDATE = 0, UPDATEACK = 0, NOTIFICATION = 0, NEWTICK = 0, INVSWAP = 0, USEITEM = 0, SHOWEFFECT = 0, HELLO = 0, GOTO...
e3557843d83920ca41d931df25f30fc522f83d37
9d6863ebe73cc1b62fd57a87c97c50ffc0e18c25
/src/softphys/viewer/gl_texture_cube_map.h
64965f1ab7ff079269a5ef41bf19a5c7bc9e3b56
[ "MIT" ]
permissive
jsonpark/softphys
a942bc5541b0a1758ac9508a8b576c254a1b6f49
ebd78d4688c0c0ac3aacef2c48c3918c3e58d0ad
refs/heads/master
2020-05-29T12:49:00.089568
2019-06-26T13:19:33
2019-06-26T13:19:33
189,139,611
2
1
null
null
null
null
UTF-8
C++
false
false
2,688
h
gl_texture_cube_map.h
#ifndef SOFTPHYS_VIEWER_GL_TEXTURE_CUBE_MAP_H_ #define SOFTPHYS_VIEWER_GL_TEXTURE_CUBE_MAP_H_ #include "softphys/viewer/gl_texture.h" namespace softphys { class GlTextureCubeMap { public: GlTextureCubeMap() : is_generated_(false), id_(0) { } template<TextureFormat format> explicit GlTextureCubeMap(cons...
353f558342e5f1a442ab83a27a5c2ea4674a9ecc
1c3673d1a20f59ef4aac5fdadfcde7e070eaf2d9
/Chess/src/Knight.h
af728c466fcaa09ac0c551004d5f8e8d471fbb4f
[]
no_license
rachelscherer/projects
238766b14924e69e2b00bc396409fb4324a7fc94
7e4e97244351bbc6b4513c74a87bd4fe18d85385
refs/heads/master
2020-04-12T12:49:11.396434
2019-09-25T05:09:59
2019-09-25T05:09:59
162,503,094
0
0
null
null
null
null
UTF-8
C++
false
false
513
h
Knight.h
/* * File: Knight.h * Author: rachel * * Created on October 1, 2018, 7:58 PM */ #include "Piece.h" #ifndef KNIGHT_H #define KNIGHT_H class Knight:public Piece{ private: const string name = "Knight"; public: //Constructor Knight(int repVal):Piece(repVal){} //Destructor ...
2ed095c980da74b34ed7b6123b583976c3dc59e6
1afc8cdbd3a6d627415b346293416ede54bf31e2
/codeforces/1395/A.cpp
f7d05da2ba3485774f065aeec7c431c485eb951a
[]
no_license
umangja/CompetitiveProgrammingSolution
bf6944b81373061124179db5ba2ce2612032e1fe
d622398e40dadadde191c0d9b34a9fcd4735c69c
refs/heads/master
2023-03-25T23:05:09.596577
2021-02-23T09:07:00
2021-03-14T15:22:40
341,297,361
0
0
null
null
null
null
UTF-8
C++
false
false
736
cpp
A.cpp
/*input */ #include<bits/stdc++.h> using namespace std; int main() { int T;cin>>T; while(T--) { vector<long int> a(4); long int tot=0; long int o=0,e=0; for(int i=0;i<4;i++) { cin>>a[i]; tot+=a[i]; if(a[i]&1) o++; else if(a[i]!=0) e++; } if(o<=1) { cout<<"Ye...
ef32988659a74e072db838eff526f9a88a756a1e
cced6b750d5209fa824a2c0f785c7248b33c2ade
/benchmark/file/file_perf_binlog.cpp
337ec33eb678e38ca5c0883fa6d5c7003d9396a5
[]
no_license
chenbk85/mySoft
41fbd689cccac5d72f412a8a00c22d89a8d6693d
91d8ca159d22f2a6e95b545e061b88d80b5acc4a
refs/heads/master
2020-12-28T22:53:32.871009
2013-11-20T08:27:38
2013-11-20T08:27:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,616
cpp
file_perf_binlog.cpp
#include <pthread.h> #include <sys/times.h> #include <sys/stat.h> #include <sys/time.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <algorithm> #define MAX_THREAD_NUM 1024 static int thread_nr = 10; static bool random_mode = true; stat...
4e5ad43e824edaa150e081e40d54fa59ab9aa46c
a6d03f7f0c2e6c21467e711c802f4f83b4d1765c
/advanced-level/1041.cpp
1121eda1dd62d20ad10c2115d1f732a238595e95
[]
no_license
weiisland/PAT-solutions
9603b18b3cec73e44de480986b8a761584d42321
d3754b561c06432b8bced33b80959dc6a5cd22f9
refs/heads/master
2021-01-23T01:18:04.919580
2018-02-24T05:47:34
2018-02-24T05:47:34
85,896,291
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
1041.cpp
#include <cstdio> #include <cstring> int main() { int n; int guess[10010]; memset(guess, 0, sizeof(guess)); scanf("%d", &n); int i, m[n]; for(i = 0; i < n; i++) { scanf("%d", &m[i]); guess[m[i]]++; } bool flag = false; for(i = 0; i < n; i++) { if(guess[m[i]] == 1) { printf("%d", m[i]); flag ...
cbe00df749b2a95958d8491d8291b800fe456ba1
a9ced65ac27d9e55b0c5a68803c77bc2eef0c261
/Original-Apr-15-2019-0717.Matrix_Fight.cpp
2fdb1caf34956950cb6e73a428abf5c707e9ff1d
[]
no_license
MenardBostjan/backup
838c35d10f8c96b65d0bb9fdac783e0d4c155cd1
acf2577412699052e4dccf1f5e8f7d8a4b92e4ac
refs/heads/master
2022-12-22T19:44:25.834696
2020-09-30T16:50:27
2020-09-30T16:50:27
299,540,374
0
0
null
null
null
null
UTF-8
C++
false
false
2,541
cpp
Original-Apr-15-2019-0717.Matrix_Fight.cpp
// Programm ausführen: STRG+F5 oder "Debuggen" > Menü "Ohne Debuggen starten" // Programm debuggen: F5 oder "Debuggen" > Menü "Debuggen starten" // Tipps für den Einstieg: // 1. Verwenden Sie das Projektmappen-Explorer-Fenster zum Hinzufügen/Verwalten von Dateien. // 2. Verwenden Sie das Team Explorer-Fenste...
30fd5135a59b3a97d661f87132963fbcb164a0f2
23fd4aaee7cfb2ff3692bd355866cba8e416896a
/ConsoleApplication1/ConsoleApplication1/No85insertNode.cpp
61dc3a3f104128d3992b7b06423a4ef3409887c1
[]
no_license
dreamcanfly/lintcode
f940b8a32ff7125fe0b7281928d462d2b9448c5d
aaf915fdd65a665704596a4a8500af5e84dfda60
refs/heads/master
2021-01-02T22:56:20.384457
2017-11-15T04:25:20
2017-11-15T04:25:20
99,425,220
0
0
null
null
null
null
UTF-8
C++
false
false
918
cpp
No85insertNode.cpp
#include "stdafx.h" using namespace std; //Definition of TreeNode: class TreeNode { public: int val; TreeNode *left, *right; TreeNode(int val) { this->val = val; this->left = this->right = NULL; } }; class Solution { public: /* * @param root: The root of the binary search tree. * ...
476c9cd763e79fd456821ac9b7a77976c606e2fe
86cdc25946b176257f70663f001751b1c69ec2cf
/src/Service/interface/src/mobile/SDMobileRegisterRequest.cpp
d485971a391a3d84c4c719f3a81a47f1e8750456
[]
no_license
github188/o2ovender
062f8817dc621a996ceaef164cb0a9dd0c153893
bb4e7afbf302b711c46ff71b9562b2cb81cab627
refs/heads/master
2021-05-06T06:33:44.241096
2015-01-12T03:30:39
2015-01-12T03:30:39
113,867,681
0
1
null
2017-12-11T14:18:51
2017-12-11T14:18:50
null
UTF-8
C++
false
false
4,577
cpp
SDMobileRegisterRequest.cpp
#include "SDMobileRegisterRequest.h" #include <common/SDCharacterSetConversion.h> #include <main/SDAccountInfo.h> #include <main/SDCommodityInfo.h> #include <main/SDSMSClient.h> #include <main/SDRedisClient.h> #include <main/SDWorkHandler.h> using namespace std; IMPL_LOGGER(SDMobileRegisterRequest, logger); SDMobil...
cc465c8fe156a136980f2637f6daaca165f06343
85e120657ceecfdeab8d0087b9c1cd1fb6bb50f1
/lib/fles_libfabric/dfs/StatisticsCalculator.hpp
ded8329a6bcbd7bc5b668bdf69f88ebd3ff4b07c
[]
no_license
fsalem/flesnet
2db20e11d67372f1818b34bfff43fd6c120a84c0
8f5b8d7a9ed54dc5255302415db7de54c86e57cb
refs/heads/master
2023-05-04T05:55:19.780785
2021-04-19T09:20:47
2021-04-19T09:20:47
271,298,374
0
0
null
2021-04-19T09:21:42
2020-06-10T14:25:39
C++
UTF-8
C++
false
false
522
hpp
StatisticsCalculator.hpp
// Copyright 2020 Farouk Salem <salem@zib.de> #include <algorithm> #include <cassert> #include <cstdint> #include <vector> namespace tl_libfabric { class StatisticsCalculator { private: StatisticsCalculator() {} public: struct ListStatistics { uint64_t min_val, max_val, median_val, sum_val; uint32_t min...
a09fb63d4f76de4ab5db94f710838b7cde41248a
81c11cbadba67334ea810ab9761808444a7778b9
/src/stage/Stage.cpp
1314f9590c5def19d01b2c48f51fac9bce888caa
[]
no_license
lufinkey/FightLib
146b5fc60d990b71fc810236137580dbd253dc89
c3c550a9bb627b871d3ec7e179380f62e2852262
refs/heads/master
2021-03-26T10:27:52.799536
2018-08-08T01:01:55
2018-08-08T01:01:55
71,825,085
0
0
null
null
null
null
UTF-8
C++
false
false
7,126
cpp
Stage.cpp
#include <fightlib/stage/Stage.hpp> namespace fl { Stage::Stage() : fight(nullptr), parentStage(nullptr) { // } Stage::~Stage() { for(auto section : sections) { unloadSection(section); delete section; } for(auto controller : controllers) { delete controller; } for(auto drawable : drawMa...
1a788506a9ff801b56e26493aa6c47227ffa8957
35f855d08e0964a1d85f480cf83239ffd4c48714
/include/assembler.h
b36f76c34cb0cc59a56be45c976d1471296abc17
[]
no_license
zhenshub/charly-vm
3544d8b33f361272d152d77811d5609064323d80
88513252abce05901b54e7885ff3f57da542c4e6
refs/heads/main
2023-03-12T20:06:40.501014
2020-12-16T14:54:41
2020-12-16T14:54:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,296
h
assembler.h
/* * This file is part of the Charly Virtual Machine (https://github.com/KCreate/charly-vm) * * MIT License * * Copyright (c) 2017 - 2020 Leonard Schütz * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to dea...
652b3bb49dbfe40a4740c20eb487c3ef061e84d8
7353eeed52178b4191ed8b078c6cdd5ff80ac847
/System/Scene/EmitterNode.h
3374c1582f61cbe39da9ec68ccf79f8421c2af44
[]
no_license
Nakio195/OSSAM-20
b8d24ac669dcad06ba6c5c2a87302a1a15b8b8a6
0fa9cdc637431807dea78a46dc16da36a99f60ed
refs/heads/master
2023-02-09T09:17:45.599262
2021-01-03T19:16:07
2021-01-03T19:16:07
258,970,587
0
0
null
null
null
null
UTF-8
C++
false
false
558
h
EmitterNode.h
#ifndef EMITTERNODE_H #define EMITTERNODE_H #include "System/Scene/Particle.h" #include "System/Scene/SceneNode.h" class ParticleNode; class EmitterNode : public SceneNode { public: EmitterNode(Particle::Type type); virtual void updateCurrent(sf::Time dt, CommandQueue &Commands) override; ...
26a9f8f45b4a228d9ad87666df18d4c2b53bb46f
057e4027849e3b384ddb85e1174878b71284f6ba
/algorithm/1주차 C복습/Problem8.cpp
4a22d29189e54a55e1f263410f43b2eb568f03b3
[]
no_license
psw7205/Programming-Practices
d4e05e91681942ca2212692c617f42055b80d6b7
fca2b0dc5ad48afaf057c70df6c04e2f71fcd8ff
refs/heads/master
2023-01-09T00:46:03.343315
2019-08-23T05:49:12
2019-08-23T05:49:12
163,744,873
0
0
null
2023-01-07T08:20:46
2019-01-01T15:01:28
Jupyter Notebook
UTF-8
C++
false
false
938
cpp
Problem8.cpp
#include <stdio.h> #include <malloc.h> #pragma warning(disable:4996) #define MAX_NAME 8 #define MAX_SUBJECT 3 typedef struct student { char name[MAX_NAME]; int grade[MAX_SUBJECT]; double avg; }student; #define GREAT_SCORE 90 #define BAD_SCORE 70 int main() { int n , i, j; student *starr; scanf("%d", &n); s...
bb976d26cc2026b9d417117ee9e5e86bf8fcc0f5
d27a676805fd6763d835c3dcf84026dd56e77d78
/SafeDiskManager/UrlDialog.cpp
c1be7b9dd6f2e7a853f543b4aa14d94d000d4d9d
[]
no_license
leoqingliu/StateGrid
f106affd49745c0d169e99233fdb834421a4257f
0ddb9751ca2f642e34b5466e2cf07c061abf59c9
refs/heads/master
2021-01-19T12:52:49.512389
2017-03-11T07:25:13
2017-03-11T07:25:13
82,368,869
2
6
null
null
null
null
GB18030
C++
false
false
5,244
cpp
UrlDialog.cpp
// UrlDialog.cpp : implementation file // #include "stdafx.h" #include <resource.h> #include "UrlDialog.h" // CUrlDialog dialog IMPLEMENT_DYNAMIC(CUrlDialog, CDialog) CUrlDialog::CUrlDialog(CWnd* pParent /*=NULL*/) : CDialog(CUrlDialog::IDD, pParent) , m_strUrl(_T("")) , m_bCheckAutoAddHttp(FALSE) { } CUrlDia...
dd67d097506c970d42a33cc83e124f44bfb985f0
cebab80045bcafe592ac7e12ebbc4b4db1d11252
/CLOCK.ino
b490336aa2994122631c61bf9648b98baa7c5ec1
[ "MIT" ]
permissive
JamesJian-tech/Super_clock
07a9caadb3bcde80611cc8627d723575346310be
0f2553bd96d6a4e92d9e48286d458146973f93a5
refs/heads/main
2023-04-19T12:49:12.152452
2021-05-02T13:29:42
2021-05-02T13:29:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,717
ino
CLOCK.ino
#include <ArduinoJson.h> #include <TimeLib.h> #include <ESP8266WiFi.h> #include <WiFiUdp.h> #include <ESP8266HTTPClient.h> const char ssid[] = "HUAWEI-LDXTN6_HiLink"; //WIFI名称 修改这2个就可以了 const char pass[] = "Huaweiapp5566"; //WIFI密码 #include "font/ZdyLwFont_20.h" #include "font/FxLED_32.h" #include "img/pangzi/i0...
9af6f719cfdd556ed28d2cf19e72661d81136115
85d11a1c83a782b20449182747ef80aa9db2f58e
/v2/src/map/tile.hpp
73612e9dfbcc0583af05a015dc79ff6969c3d4cd
[ "MIT" ]
permissive
ehasting/DungonsOfMorginar
39bfe78429219d847254abf53d6163d1665faefa
5e4841ad24be7dca80e379c63761f363a043364e
refs/heads/master
2022-12-08T10:26:45.157286
2022-11-24T07:10:08
2022-11-24T07:10:08
83,771,216
0
0
null
null
null
null
UTF-8
C++
false
false
1,325
hpp
tile.hpp
// // Created by eh on 06.01.2022. // #ifndef DUNGONSOFMORGINAR_TILE_HPP #define DUNGONSOFMORGINAR_TILE_HPP namespace DofM { class Tile { public: enum TileTypes { BLOCKED, GRASS_OUTSIDE_GROUND, GRAVEL_OUTSIDE_GROUND, WATER_OUTSIDE_GROUND, ...
e9b536e61eb8d7e878744b7c34fcccc726969099
6238cb585938b96e413199d2e9cabb99dc0615b8
/Sem VI Computer Graphics And Visualization Lab/Q10/Q10.cpp
db318808c5bbdaa62c1df4682584c4223cd5cde3
[ "MIT" ]
permissive
vintageplayer/VTU_CSE_LABS
1f1d82b7243c30a3e5f76164dea7afad090706c6
907cdc804c145ce511c81bad1e99a9d5f099033e
refs/heads/master
2021-01-17T10:23:54.103416
2017-11-28T19:57:22
2017-11-28T19:57:22
58,856,752
1
0
MIT
2022-01-21T19:04:46
2016-05-15T10:49:55
C
UTF-8
C++
false
false
790
cpp
Q10.cpp
#include<iostream> #include<GLUT/glut.h> #define maxx 10 #define maxy 10 #define dx 20 #define dy 20 void display() { int i,j,x=10,y; glClear(GL_COLOR_BUFFER_BIT); for(i=0;i<maxx;i++) { y = 10; for(j=0;j<maxy;j++) { glBegin(GL_LINE_LOOP); glVertex2f(x,y); glVertex2f(x+dx,y); glVertex2f(x+dx...
5cc5b4ba923d9fb4d00cee56756b038d37cf3b8a
681e5578721dabbc517262463cdb48f3630b7c29
/src/libraries/AMPTOOLS_AMPS/TwoPiAngles_primakoff.cc
7bd9f331e4f243b12664a81ed87e0442eee86207
[]
no_license
JeffersonLab/sim-recon
d7a76e03887cfee255e1309ade73edb5a4f3bd87
de076695f16956fe649366b53959c7582285001f
refs/heads/master
2020-04-12T09:00:00.639534
2018-07-30T20:26:51
2018-07-30T20:26:51
39,176,669
15
20
null
2018-07-30T20:26:52
2015-07-16T04:35:19
C++
UTF-8
C++
false
false
4,290
cc
TwoPiAngles_primakoff.cc
#include <cassert> #include <iostream> #include <string> #include <sstream> #include <cstdlib> #include <complex.h> #include "TLorentzVector.h" #include "TLorentzRotation.h" #include "IUAmpTools/Kinematics.h" #include "AMPTOOLS_AMPS/TwoPiAngles_primakoff.h" #include "AMPTOOLS_AMPS/clebschGordan.h" #include "AMPTOOLS...
b6b85af721ef1e6b7f27f640d928117ccbebe6c7
b69a21b62bcdab75ab24264b3354a1947acf5e6f
/velasquez/editorscene.h
44f047a24b11b97f76e3c805dcc698c30327fe49
[ "CC-BY-4.0", "MIT" ]
permissive
aernesto/moodbox_aka_risovaska
97ee1127e1ed7a2ddcc85079cab15c70b575d05f
5943452e4c7fc9e3c828f62f565cd2da9a040e92
refs/heads/master
2021-01-01T17:17:39.638815
2012-02-28T15:31:55
2012-02-28T15:31:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,666
h
editorscene.h
#ifndef EDITORSCENE_H #define EDITORSCENE_H #include <QGraphicsScene> #include "metainfoprovider.h" #include <QImage> #include <QFlags> #include <QHash> namespace Velasquez { class ToolBox; class SceneCursorLayer; class DrawingElement; class BackgroundElement; // Z-order signle step #define ...
1da310c81a5b7caf14c4354c2c2e544eb35aff7d
04e6efbdcbb6f0917ceb1331f1963aecf63f8d02
/src/main.cpp
3e38343db01bedf9e6adb47f973f7cb0547fcf6e
[ "Apache-2.0" ]
permissive
nzmichaelh/u2fzx
cef923a8829e6472ee6715ad3cfedb26b80fb65d
4c90a08139b8d74b38e0b4fa24a012b4ff8732d3
refs/heads/master
2020-03-12T10:36:14.028051
2018-04-22T15:36:23
2018-04-22T15:36:23
130,576,883
1
0
null
null
null
null
UTF-8
C++
false
false
1,184
cpp
main.cpp
/* * Copyright 2018 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
a463343dee9780f507749da00f01b5a52408dab1
f20e965e19b749e84281cb35baea6787f815f777
/LHCb/Det/MuonDet/MuonDet/MuonFrontEndID.h
554168a20a615ea2f097e3888e29ff11808d8d84
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,915
h
MuonFrontEndID.h
#ifndef MUONDET_MUONFRONTENDID_H #define MUONDET_MUONFRONTENDID_H 1 // Include files #include "MuonDet/MuonFrontEndIDPack.h" //using namespace MuonFrontEndIDPack ; class MuonFrontEndID{ public: MuonFrontEndID():m_channelID(0){}; MuonFrontEndID(unsigned int ID ):m_channelID(ID){}; ~MuonFrontEndID(){}; void setRea...
7e08d535a7ec423a0314620ad9ac293a22c7eacd
ece3aab795ce33ce3e2b4c281c99d54cc465b5c1
/XeniaAndRingroad.cpp
26e15cb6324e1e7c56776c9cdc3ba3fc0dbb8d0c
[]
no_license
Rakib-Ahasan/Codeforces-Solutions
d6180f4f15cfb7ebd463d5f0b50a63d4c859ca4f
c3532b552c268117b0f8ec995343106a33130d15
refs/heads/master
2023-04-26T04:52:52.537194
2021-05-24T13:54:31
2021-05-24T13:54:31
370,369,378
0
0
null
null
null
null
UTF-8
C++
false
false
638
cpp
XeniaAndRingroad.cpp
#include<iostream> using namespace std; int main() { /*int n,m; cin>>n>>m; int arr[m]; for(int i=0;i<m;i++) { cin>>arr[i]; } long long int count=arr[0]-1; for(int i=0;i<m-1;i++) { if(arr[i]>arr[i+1]) count+=n-(arr[i]-arr[i+1]); else if(arr[i]<arr[i...
ea57cbd1cf858099aef60a83da7eb3af312301d8
fc3375d34220530b6d126354e364d23f65decc81
/ex01/WrongAnimal.cpp
4a6844c5256f51ba9e4f44cb74033882d581fe0e
[]
no_license
kLyArSo/D4CPP
eb34fef5e18405f7ab5c87bd3b1aac5d1f1416f8
057aba2d7228d35d7d0dbdc8cf7ffa3113447105
refs/heads/main
2023-08-27T07:46:20.984768
2021-10-30T16:19:17
2021-10-30T16:19:17
422,930,999
0
0
null
null
null
null
UTF-8
C++
false
false
623
cpp
WrongAnimal.cpp
#include "WrongAnimal.hpp" WrongAnimal::WrongAnimal() { this->type = "WrongAnimal"; std::cout << "| WrongAnimal |"; std::cout << "is here.\n"; } WrongAnimal::WrongAnimal(const WrongAnimal& othr) { (*this) = othr; } void WrongAnimal::operator=(const WrongAnimal& othr) { this->type = othr.type; }...
d3fcead60089f1d90bb48f86aa92e8ff739360fe
d52263577b03022e135b3e39e5e081bf8812f546
/smoke/grid/vertex.h
931c4a38dc9bf302ebd7063f3f64c14a87bbe1e2
[]
no_license
bvanloon/Scientific-Visualization
1d64b7a5f5ae568c5619982e120406de8dc4c164
b613cd0db02fa6b3a735ac9786504c600005def7
refs/heads/master
2021-09-07T22:48:55.295080
2018-03-02T11:30:17
2018-03-02T11:30:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,449
h
vertex.h
#ifndef VERTEX_H #define VERTEX_H #include <QVector3D> #include <QVector2D> #include <QDebug> #include "settings/simulationsettings.h" class SimulationGrid; class Cell; class StructuredGridVertex; class VisualizationVertex; class SimulationVertex; class StateVertex; class Vertex { public: Vertex(const QVe...
1b1f5fe6ea92461d53676dc4373fc2f4d27121d2
1b8ae277ef7f39af15b6e0bff057c433dc44a109
/src/mame/includes/thunderj.h
fe974a69926ea4f012b323d1e1c56a6389445fed
[]
no_license
ilitirit-za/ShmupMame-unofficial
2ea58e7674df935c98e73d34ca888152b82c570d
2ddd533fbaceac256cf0fbc2f918de1966280a22
refs/heads/master
2021-01-11T02:07:06.094952
2016-10-24T11:17:30
2016-10-24T11:17:30
70,804,668
3
0
null
2016-10-21T13:17:50
2016-10-13T12:35:08
C
UTF-8
C++
false
false
1,011
h
thunderj.h
/************************************************************************* Atari ThunderJaws hardware *************************************************************************/ #include "machine/atarigen.h" class thunderj_state : public atarigen_state { public: thunderj_state(const machine_config &mconfig, dev...
75a37e59e1c4682bcf0a908bfacc4885dc7a53dd
ec3ab4474201bdcd9bdacd8ea3877f6a46feb6b7
/lib/csvfix/alib/src/a_dir.cpp
d8f290725d994483a509feacdf405c8c6338029a
[ "MIT" ]
permissive
purinda/csvfix
68e26ce734a25e8f5b5bf829350bf9352acbd788
bef09c85d78b1447965f76b1a38f1922cad2bd6e
refs/heads/master
2016-09-06T07:10:13.679335
2014-04-08T12:27:45
2014-04-08T12:27:45
18,459,389
2
1
null
2014-04-06T06:04:42
2014-04-05T03:45:49
D
UTF-8
C++
false
false
7,063
cpp
a_dir.cpp
//---------------------------------------------------------------------------- // a_dir.cpp // // portable directory listing // // Copyright (C) 2009 Neil Butterworth //---------------------------------------------------------------------------- #include "a_dir.h" #include "a_collect.h" #include "a_str.h" #...
c694a40d32eec812bfc610ccaec9f6dc0937cc3b
ea401c3e792a50364fe11f7cea0f35f99e8f4bde
/hackathon/hanchuan/sscope/FlyCapture2/gtk/include/pangomm-1.4/pangomm/tabarray.h
6c496daa0bffcf128b00e1ab4eb22d196c00164f
[ "MIT" ]
permissive
Vaa3D/vaa3d_tools
edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9
e6974d5223ae70474efaa85e1253f5df1814fae8
refs/heads/master
2023-08-03T06:12:01.013752
2023-08-02T07:26:01
2023-08-02T07:26:01
50,527,925
107
86
MIT
2023-05-22T23:43:48
2016-01-27T18:19:17
C++
UTF-8
C++
false
false
5,008
h
tabarray.h
// -*- c++ -*- // Generated by gtkmmproc -- DO NOT MODIFY! #ifndef _PANGOMM_TABARRAY_H #define _PANGOMM_TABARRAY_H #include <glibmm.h> /* $Id: tabarray.hg,v 1.2 2003/01/22 12:10:11 murrayc Exp $ */ /* tabarray.h * * Copyright (C) 1998-1999 The gtkmm Development Team * * This library is free software; you can re...
0338a272dff0a8c7596dd416b2c5bd50b69d90d1
f2a957073184098b7026ab60aed4816b1054794c
/FastPBR/launcher.hh
a072b77e7d3c77a129d0adae0f161cbb03c89187
[]
no_license
TurtleTracks/FastPBR
4984ad764a6e70b82f0a1a21f695d7282ab6bc24
b62fab0d6979c7611f02e623f9a8bb206f2ec70f
refs/heads/master
2020-05-17T03:43:24.326601
2019-04-26T12:47:27
2019-04-26T12:47:27
183,488,427
0
0
null
null
null
null
UTF-8
C++
false
false
4,277
hh
launcher.hh
#pragma once #include "geometry.hh" #define STB_IMAGE_IMPLEMENTATION #include <stb\stb_image.h> #include <vulkan/vulkan.hpp> #include <GLFW/glfw3.h> #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE class Launcher { public: //Launcher(); Launcher(int width, int height); //~Launcher(); void launch(); v...
98fd6610a57b547bb4f97bfff71d37f4eba220e9
334558bf31b6a8fd3caaf09c24898ff331c7e2da
/GenieWindow/plugins/GeniePlugin_RouterConfiguration/src/QPiObject.h
dc4b1f6a7fe49b50661c4e04d52018bfd8f886d6
[]
no_license
roygaogit/Bigit_Genie
e38bac558e81d9966ec6efbdeef0a7e2592156a7
936a56154a5f933b1e9c049ee044d76ff1d6d4db
refs/heads/master
2020-03-31T04:20:04.177461
2013-12-09T03:38:15
2013-12-09T03:38:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
603
h
QPiObject.h
#ifndef QPIOBJECT_H #define QPIOBJECT_H #include <QtGui> class QPiObject : public QObject { Q_OBJECT public: explicit QPiObject(QWidget *parent,const QString &child_objname=QString()); void startAnimation(); void stopAnimation(); virtual void timerEvent(QTimerEvent * event); QWidget *mW; prote...
41083852a1f82fd33a0ba66c8822be2bc9f723bd
5d0fd76adc6e6ef8b0ae1481b25d53e43382cf15
/Palindrome Number.cpp
3418f6eecdd821ade2bbbf9ed9bd6e4287c9c8c2
[]
no_license
chingchen/Algorithm
249f9f67ef5b9e158d88a10e6c69c638d17aff83
a8b9aee67aca3d7c5f517ef49208236dc0c510e4
refs/heads/master
2021-01-20T05:04:39.045184
2014-01-15T01:52:59
2014-01-15T01:52:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
598
cpp
Palindrome Number.cpp
/* Determine whether an integer is a palindrome. Do this without extra space. */ class Solution { public: bool isPalindrome(int i) { // Start typing your C/C++ solution below // DO NOT write int main() function long long int x = i; if (x < 0) return false; int digits = -1; int tmp = x; while (tmp) ...
bcfda252769b4069c9800d2841cabf6789bcb3a4
59d26f54e985df3a0df505827b25da0c5ff586e8
/External/algorithm-master/data_structure/order_maintenance.cc
455519996fa35417604a60f79f7267a9fb4f5a49
[]
no_license
minhaz1217/My-C-Journey
820f7b284e221eff2595611b2e86dc9e32f90278
3c8d998ede172e9855dc6bd02cb468d744a9cad6
refs/heads/master
2022-12-06T06:12:30.823678
2022-11-27T12:09:03
2022-11-27T12:09:03
160,788,252
2
1
null
null
null
null
UTF-8
C++
false
false
2,898
cc
order_maintenance.cc
// // Order Maintenance // // - create_node(): return new node x // - insert(x, y): insert node y after node x // - erase(x): erase node x from the list // - order(x, y): return true if x is before y // // Running Time: // worst case O(1) for create_node, erase, and order. // amortized O(log n) for insert; very sma...
79bc3d685c598125ae967af968d2df500409c4f5
3fc4ed5dbc86ea4ac02337fa3d84739b42bc3e91
/atom.h
f88252d4186d15e5ab8c73b269773620f461193f
[]
no_license
AaronSantosCSCI41/CSCI41-Group-Project
4432887c1612ace8f43c15f04ce4caddb600c59e
d255d2c370836046f94ddce444a0be94242dafb6
refs/heads/master
2020-03-10T02:46:31.926424
2018-04-11T18:08:24
2018-04-11T18:08:24
129,145,494
1
0
null
2018-04-11T19:45:08
2018-04-11T19:45:08
null
UTF-8
C++
false
false
634
h
atom.h
#include <vector> #include <iostream> using namespace std; class molecule{ string name; pair <string,string> madeof; double energy; string message; public: double get_energy() const{ return energy; } string get_name() const{ return name; } string get_message(){ cout << message << endl; } pair<string...
50dcb725680960e38285ad372221d74a0b1d769c
f3aafaf343e2082e32abb05afdd22a838cbe3d21
/soundManager.h
4b05cfc0cca531e3199d7c383b76809bdf86cb94
[]
no_license
sulbing/Adventure
8f6150d072125e53ca658bc1a0133bf97edb5b9b
2d6729abfe07374cf0f36b53a2f605babe339779
refs/heads/master
2021-01-01T05:54:38.209930
2017-07-24T21:16:20
2017-07-24T21:16:20
97,300,993
1
2
null
null
null
null
UHC
C++
false
false
1,290
h
soundManager.h
#pragma once #include "singletonBase.h" #include <map> #include <string> //fmod.hpp 추가 #include "inc/fmod.hpp" //lib 링크 #pragma comment (lib, "lib/fmodex_vc.lib") //여유분의 채널 갯수 설정(버퍼) #define EXTRA_SOUND_CHANNEL 5 #define SOUNDBUFFER 10 //총 사운드 갯수 #define TOTAL_SOUND_CHANNEL SOUNDBUFFER + EXTRA_SOUND_CHANNEL using...
34549b975e0a046af7a8ee8b40ccccf95ebeccc9
c360dcd43049ca859c7ba535a0afedbb72231b08
/circular_path.h
141130c3497cfd81ba4d28f2aa85a16f894702ac
[]
no_license
Varadd9406/CudaRayTracingProject
a35cc57358ab48ba15decf86fd488ad711893ecb
647c65e8961faae6aeedf43ebca559ff02d473fd
refs/heads/master
2023-06-03T06:59:36.876846
2021-06-28T10:47:33
2021-06-28T10:47:33
330,289,912
7
0
null
null
null
null
UTF-8
C++
false
false
1,400
h
circular_path.h
#pragma once class circular_path : public path { public: __device__ circular_path() {} __device__ circular_path(point3 p_cen,point3 p_u,point3 p_v,double p_radius,double p_rev_per_sec,int target_fps, double start_angle = 0) { cen = new stationary_path(p_cen); u = unit_vector(p_u - p_cen); v = unit_vector(...
c99f48cc34e53755d8ae754cb6f7cfa10936ba2e
61eb8a4e45f46737463e006d67ab2fd834af7865
/Лабор.5 Задание 3 №28.cpp
49661f238503209fb577bf73b509fe438698182e
[]
no_license
AlekseyXglu/SEMESTR_1_LAB
9fb76b80f34e6f03cad7f6a25bd8044ac2804f51
8dcfab6319f215e4b0cd9857c645451e013c0e04
refs/heads/main
2023-07-20T15:42:33.876721
2021-08-30T14:00:23
2021-08-30T14:00:23
401,356,855
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,135
cpp
Лабор.5 Задание 3 №28.cpp
#include <stdio.h> #include <locale.h> using namespace std; int main() { setlocale(0,""); double x,y; printf("Введите x: "); scanf("%lf",&x); printf("Введите y: "); scanf("%lf",&y); if ( x>=-4 && x<=0 && y>=0 && y<= x*7.0/4 + 7 && y>=6*x+6 && (x+2)*(x+2)+(y-1)*(y-1)>=1 ) printf("Прин...
e1e9ddb9a0bd08836c102fb44d16bcf17058b9ab
721d89aa01f9da3693f4e814c2529919fa6d9464
/DeadCode/ShTreekpabe.cpp
7647dc63e2ce4fd11dcc41a2dd255d6625769fec
[]
no_license
LaplaceKorea/Implementation-Attribute-Based-Encryption-Scheme
1b49637eadd88314557d9558382242bcd8943aae
dc92c476a695b1664e917a5f4f17aba735b2abca
refs/heads/master
2021-12-03T16:03:09.937753
2014-09-19T11:26:04
2014-09-19T11:26:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,273
cpp
ShTreekpabe.cpp
/* Testbed for empirical evaluation of KP-ABE schemes. Alexandre Miranda Pinto This file is an implementation of the KPABE_{LSSS} scheme of Crampton, Pinto 2014. It should be compiled as a library, and is meant to be used by the testbed. For compilation details, see the main file. Here, I will list only the...
e4d9e77438aee54f4c38af21aee0fa5d52551aac
04251e142abab46720229970dab4f7060456d361
/lib/rosetta/source/src/protocols/moves/util.cc
ae6b85795b0728fdb9a5d75435fbb954ee3fe946
[]
no_license
sailfish009/binding_affinity_calculator
216257449a627d196709f9743ca58d8764043f12
7af9ce221519e373aa823dadc2005de7a377670d
refs/heads/master
2022-12-29T11:15:45.164881
2020-10-22T09:35:32
2020-10-22T09:35:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,764
cc
util.cc
// -*- 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...
e931053a6e7f0eaa2d4a5bddf8b83b87bf8b1cb5
3513436a0e21c338a8592408bdb01e688465107f
/Lex/Lex/Lex.h
dda46ff7798937bff6e85f27b7bcb93956f34117
[]
no_license
Feiyuyu0503/SeuCompiler
7abc20317117c93526635b344fae6a80e9ac9d5e
9f24bab31af035f58f34273d6deecb83d0a57514
refs/heads/master
2023-02-24T08:38:37.350641
2021-01-30T09:59:23
2021-01-30T09:59:23
325,683,616
0
0
null
null
null
null
GB18030
C++
false
false
2,448
h
Lex.h
#pragma once #include <fstream> #include <vector> #include <deque> #include <string> #include <map> #include <array> using std::ifstream; using std::ofstream; using std::vector; using std::deque; using std::array; using std::map; using std::string; int ParseLexFile(ifstream& ifs, ofstream& ofs); // 不确定的有穷自动机: // 状态集合...
34cb4ec7bfdf7ef82a6c602a0d160004e82183d4
cc5e9c5bfe1341894f0669468d6d52c9f15bef22
/两个栈实现一个队列/MyQueue/MyQueue/MyQueue.cpp
6a3046c5855b194835ac88a1e3a2658a8adda437
[]
no_license
lixungogogo/Data-Structure
88511bdcd8a35e28ef74cd9c20a96eed9f536685
43b80000c2ea9aee1acc58dba4ae416afd1cbb0e
refs/heads/master
2020-04-06T05:48:00.284355
2016-07-31T13:34:01
2016-07-31T13:34:01
58,869,564
0
0
null
null
null
null
GB18030
C++
false
false
1,182
cpp
MyQueue.cpp
#define _CRT_SECURE_NO_WARNINGS 1 #include <iostream> #include <assert.h> #include <stack> using namespace std; /********************************** 题目描述:两个栈实现一个队列 思路描述:设置一个栈为缓冲栈,在两栈之间进行数据 的交换。 ***************************************/ template <class T> class MyQueue { public: void Push(T data) { if ((s1.empty() ...