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
d033b77e1dc36c004d1bd54e31c3be1cfb7c7a0a
8eee7fabf422d066aba6ab31faf442648c3b5c77
/libelemate/particles/particlegroup.cpp
2886ce5df19671efe0529ccac915db021ef76944
[]
no_license
lanice/elemate
dfa43a8b75873e98d524a3df83cb2c1211a5a549
8782b84f22fe3684da4e0ab8da6ed7c2e4f2b304
refs/heads/master
2016-09-05T21:52:31.809402
2014-03-24T23:13:04
2014-03-24T23:17:43
13,799,815
2
0
null
2014-03-23T18:53:33
2013-10-23T10:21:25
C++
UTF-8
C++
false
false
16,483
cpp
particlegroup.cpp
#include "particlegroup.h" #include <cassert> #include <functional> #include <type_traits> #include <fstream> #include <glow/logging.h> #include <PxPhysics.h> #include <PxScene.h> #include <PxSceneLock.h> #include "rendering/particledrawable.h" #include "io/soundmanager.h" #include "world.h" using namespace physx;...
94413290d249363c417336accc44546b0abcec63
3c364f1e3d0af0b650b96b1ac80aedd74940d3fb
/branches/playground/jabber_filetransfer/jabber/jabberhomeinfo.cpp
261e773a9df54f543e53d94596d7dfcf5d318e11
[]
no_license
dhyannataraj/sim-im
aa8e938766f6304d9f71be883f0ef4e10a7c8c65
6b0d058cd5ab06ba72a34f09d44b3f0598960572
refs/heads/master
2021-04-03T04:26:23.903185
2011-10-10T15:58:45
2011-10-10T15:58:45
124,702,761
1
0
null
null
null
null
UTF-8
C++
false
false
3,415
cpp
jabberhomeinfo.cpp
/*************************************************************************** jabberhomeinfo.cpp - description ------------------- begin : Sun Mar 17 2002 copyright : (C) 2002 by Vladimir Shutoff email : vovan@s...
14a44c6a643ab99322125aa8ade64b7408f82aba
fa7474550cac23f55205666e13a99e59c749db97
/cryptohome/mock_platform.cc
0ad9674c0e2fd5e6b45b25d760c67863addf05c0
[ "BSD-3-Clause" ]
permissive
kalyankondapally/chromiumos-platform2
4fe8bac63a95a07ac8afa45088152c2b623b963d
5e5337009a65b1c9aa9e0ea565f567438217e91f
refs/heads/master
2023-01-05T15:25:41.667733
2020-11-08T06:12:01
2020-11-08T07:16:44
295,388,294
0
1
null
null
null
null
UTF-8
C++
false
false
6,749
cc
mock_platform.cc
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cryptohome/mock_platform.h" #include "cryptohome/fake_platform.h" using testing::_; using testing::Invoke; using testing::NiceMock; usi...
7f59664138d48d67787751885e73c1e21d16ea01
b73fb13c3d618200a73860adfc5f06b3e6f4ab4a
/SS_fullsrc/MethodContainer.cpp
73aa15ab914b49426c281ea2dc605fe455c243db
[]
no_license
Maximilian762/simplescript
b052b952e2103634ff2bf48d33f6ca3c41537dc0
e0022fa5275134d8e9d81eb2a90fda7acdf5cef0
refs/heads/master
2021-07-18T02:06:58.077046
2017-10-26T17:08:45
2017-10-26T17:08:45
107,706,536
1
0
null
null
null
null
UTF-8
C++
false
false
930
cpp
MethodContainer.cpp
#include "stdafx.h" #include "MethodContainer.h" MethodContainer::MethodContainer() { } MethodContainer::~MethodContainer() { } bool MethodContainer::HasMethod(std::string name) { return methods.find(name) != methods.end(); } void MethodContainer::AddMethod(std::string name, SharedFunction meth...
51dc6e62696d846567d64e28f78289afbbc238b0
14fd1e0fef43aca042eb02940812a371025b4b99
/作业/stack/stack.h
c1103e754ef7e89c790e66fafee55eeab2be6f6e
[]
no_license
chenjiabing666/data-structure
b8da83c9e7f32370f6d7f8e92c6594eca7659b80
d65b4566b7ff159f614beda9a4c0331c35a300e1
refs/heads/master
2020-07-03T05:13:25.628395
2016-11-21T03:00:48
2016-11-21T03:00:48
74,195,245
0
0
null
null
null
null
UTF-8
C++
false
false
183
h
stack.h
class stack { private: int maxsize; int top; double *listArray; public: stack(int size); void Convert(double node); void push(double node); double pop(); };
7369609e7dea754ec21ade6d81fce32afc9c61d5
f86a8fc715b8354e50314122a2a1a1b33cf351a1
/src/Core/LargeVolume/LargeVolumeSchema.cc
aa90693149a02127dc120a0ba89f296bd8b62f91
[ "MIT" ]
permissive
SCIInstitute/Seg3D
579e2a61ee8189a8c8f8249e9a680d3231c0ff3a
84ba5fd7672ca7d08f9f60a95ef4b68f0c81a090
refs/heads/master
2023-04-21T05:21:08.795420
2023-04-07T17:32:36
2023-04-07T17:32:36
32,550,368
103
51
null
2023-04-07T17:32:38
2015-03-19T22:49:29
C++
UTF-8
C++
false
false
53,209
cc
LargeVolumeSchema.cc
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2016 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
0bacb40692102f48ac738926108c157e66d73bde
fc88d98ca6a38308b0f899e49e290249ae4ccea7
/Armorial-Suassuna/entity/player/behaviour/basics/behaviour_attacker.cpp
cf8d1af15b8271ecb3de0d304c255e9532eea83e
[]
no_license
mateuseap/SoccerT1
5c420337bbe58d13e96b3382949415880435dcaa
9749353c0b42e244a9e56384383e22d31ac59c57
refs/heads/master
2021-05-17T17:35:14.992175
2020-03-31T10:40:01
2020-03-31T10:40:01
250,898,928
3
0
null
null
null
null
UTF-8
C++
false
false
6,785
cpp
behaviour_attacker.cpp
#include "behaviour_attacker.h" #include <utils/freeangles/freeangles.h> #define KICK_POWER 8.0f #define RECEIVER_INVALID_ID 200 #define MAX_DIST_KICK 2.5f QString Behaviour_Attacker::name() { return "Behaviour_Attacker"; } Behaviour_Attacker::Behaviour_Attacker() { } void Behaviour_Attacker::configure() { ...
852751d6f967645566f363394bd4b13bf413c2e1
5f9ef0fe617dd5b4580cd217574b46f6226f0f50
/content/app/zppm/source/platform/XMC4800-F144+DAVE/main.cpp
493bca499d94610b65fdb1426ea80177b251976f
[]
no_license
andrjus/zpp
72ba620f9affd0f2683213173b1e499901977fbe
ec7c3af1218e6b42c62e174797095bb9e842e1d4
refs/heads/master
2023-06-07T07:30:07.539231
2021-07-09T00:27:56
2021-07-09T00:27:56
384,234,800
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
175
cpp
main.cpp
#include "zppm.hpp" int main(void) { //инициализируем автоматы mexo zppm::begin(); //наслаждаемся for(;;) { zppm::frontend_loop(); } }
b8c5f98e810e839243d83666f55f08853a9129e2
00019d89bab4f2d723aeb9e861a86965c5849023
/AI_Tribal/GameStateManager/SeekBehaviour.cpp
0e62c674359fb0ea47ec36155de07880de130eae
[]
no_license
Madcrafty/AI_Resource_Sim
d6a2c77aef014dead98ce4d3fce2785a57d6ae19
3f1f6ac831cf813fb28a749376be4a4280b18e2a
refs/heads/master
2022-12-10T02:12:25.837362
2020-09-04T07:11:05
2020-09-04T07:11:05
285,705,934
0
0
null
null
null
null
UTF-8
C++
false
false
2,075
cpp
SeekBehaviour.cpp
#include "SeekBehaviour.h" #include "WanderBehaviour.h" #include "TestState.h" #include "PlayState.h" #include "Agent.h" SeekBehaviour::SeekBehaviour(GameObject* target) : m_Target(target) { }; Vector2 SeekBehaviour::Update(Agent* agent, float deltaTime) { // TODO: // ================================== // Move ...
b75a7a784efa532170bd04047d2d8012fadb4d0c
b0d2ead0d502324a75e29afd67e446cb5a30b9ed
/splitwise_advancealgo.cpp
b9e27d28ca9bb51a45182df612fd037ee04d5cb3
[]
no_license
AnuragJain23/other-problems
bf578dc051f20abe7797097c6c1ff598e9f93809
0a8d0109d064ef967c7c1c409a40fefd70087c39
refs/heads/master
2022-11-18T05:55:17.018986
2020-07-17T05:04:00
2020-07-17T05:04:00
280,330,157
0
0
null
null
null
null
UTF-8
C++
false
false
1,402
cpp
splitwise_advancealgo.cpp
#include<bits/stdc++.h> using namespace std; class person_compare{ public: bool operator()(pair<string,int> p1,pair<string,int> p2){ return p1.second<p2.second; } }; int main() { int no_of_transcations,friends; cin>>no_of_transcations>>friends; int amount; string x,y; map<string,int> n...
3d6b89ef94a6b51f665232c46691bf16bd305b43
860e0c5064c51fa1e54e2c8c969a5ad4450519cf
/leetcode/medium_kth_smallest_element_in_a_bst.cpp
d2413b7d9b49a3d718f66122450c854cc24c8273
[]
no_license
wonghoifung/tips
827eaa04c55f2b4e7debf5ea0cd4feb00d53e822
102784596dc410505c1036d876633b0e063345e7
refs/heads/master
2021-01-23T21:11:57.196397
2018-06-17T03:16:08
2018-06-17T03:16:08
46,920,349
4
0
null
null
null
null
UTF-8
C++
false
false
1,778
cpp
medium_kth_smallest_element_in_a_bst.cpp
#include <string> #include <vector> #include <iostream> #include <map> #include <unordered_map> #include <unordered_set> #include <set> #include <queue> #include <deque> #include <stack> #include <memory> #include <sstream> #include <algorithm> #include <bitset> #include <numeric> #include <initializer_list> #include <...
42b3f49b475398477f9339d40f12f23daeb8e4a2
c66d91cbd970097d637382598c44e50b240fcc3a
/計算MVP數值.cpp
25599c79ea30c834f86bf7f45b2980708e502b52
[]
no_license
k0k8k0k7/OOP
cb102e461021ea30af218ac7d7f0a32150644f69
86a80a184fcb0575e04c22693f9cc1b0f3ccb7bd
refs/heads/master
2020-06-08T15:36:36.201715
2019-06-23T03:49:59
2019-06-23T03:49:59
193,254,386
0
0
null
null
null
null
UTF-8
C++
false
false
333
cpp
計算MVP數值.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,t; cin>>a>>b>>c>>d>>e; t=(a*1+b*2+c*2+d*2)-(e*2); if(t>=45) cout<<"A\n"; else if(45>t&&t>=35) cout<<"B\n"; else if(35>t&&t>=25) cout<<"C\n"; else if(25>t) cout<<"D\n"; r...
624948629cbeaab647620ffcad2e859f116b576d
287e50335fcd8ea6ef72b339f0ce9328fce5c1fa
/1-5-zhanggaolei.cpp
29b9523c0993d11bd9aee63424693f0c6c305ae8
[]
no_license
zhanggaolei001/CppExercises
56a2fb84ccd02874d0d55077b446517eb85ed8be
c8fb64d4380ce44f17ff721925fadf703dedae20
refs/heads/master
2020-09-26T13:33:27.052746
2019-12-12T12:16:15
2019-12-12T12:16:17
226,265,243
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
517
cpp
1-5-zhanggaolei.cpp
#include "1-5-zhanggaolei.h" int months[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 }; int months_leap[12] = { 31,29,31,30,31,30,31,31,30,31,30,31 }; bool is_leap_year(int year) { if (year % 4 == 0) { return true; }return false; } int get_day_of_year(int year, int month, int day) { int* ms; if (is_leap_year(y...
26c1f05245b7331ed54403909a6d138c84d086eb
e2119ddc29757a786c983499629c4f92510658ef
/src/KernelAlignment/Multiple/QuickPosteriorStage.h
f4efe648d663b868ad0fef1adc26f17d40b2ba78
[]
no_license
refresh-bio/QuickProbs
623ee08c4143d1d2d5d1260375b401f6ec750378
3ec12212ed7268c9b1f54cb0f2fa087e1f54dba1
refs/heads/master
2022-06-07T23:05:13.967075
2022-05-19T19:17:11
2022-05-19T19:17:11
48,433,949
1
1
null
null
null
null
UTF-8
C++
false
false
898
h
QuickPosteriorStage.h
#pragma once #include "Hardware/OpenCl.h" #include "Hardware/Kernel.h" #include "Alignment/Multiple/PosteriorStage.h" #include "PosteriorTasksWave.h" #include "KernelSet.h" #include <atomic> namespace quickprobs { class QuickPosteriorStage : public PosteriorStage { public: QuickPosteriorStage(std::shared_ptr<clex::...
aef080f5f30edf3e0d692960cd732d52e3a52445
b2e5e4affd23ec679b77ada3871b7862df74e5c2
/tasks/Movement.cpp
54db474b7085f83bb0aba4465ab4d57e003d5ce1
[]
no_license
auv-avalon/orogen-rawControlCommandConverter
af52bde5ed21053e7f8501fdd4189b95a1351733
fa8f1d373926d4488dff0c63cd56a4058c2dc5b7
refs/heads/master
2021-01-15T17:29:24.553010
2015-06-02T14:27:11
2015-06-02T14:27:11
26,800,338
0
0
null
null
null
null
UTF-8
C++
false
false
4,266
cpp
Movement.cpp
/* Generated from orogen/lib/orogen/templates/tasks/Movement.cpp */ #include "Movement.hpp" #include <base/commands/AUVMotion.hpp> using namespace raw_control_command_converter; Movement::Movement(std::string const& name, TaskCore::TaskState initial_state) : MovementBase(name, initial_state) { initialized=false...
0cd3b9f0b84370b525bc9ba8b86e5f3ceeb451e7
fed141f08932a193d2b916e1424a001701b5dd24
/console.cpp
4238be83cbdf37efca84f1dbcc41eaa8abd06ffd
[]
no_license
allkim303/Line-Editor-Program
8bb392260ecf3a92e7b8f041a5daa3358c448441
18688ba4a871c31520af042560d456e1e0b5be43
refs/heads/master
2021-01-09T20:20:52.529666
2017-02-08T16:08:45
2017-02-08T16:08:45
81,268,783
0
0
null
null
null
null
UTF-8
C++
false
false
11,384
cpp
console.cpp
// Console Input Output Library - Unified Implementation // console.cpp // // Fardad Soleimanloo, Chris Szalwinski // August 25 2011 // Version 1.0 // /* table of platforms */ #define CIO_LINUX 1 #define CIO_MICROSOFT 2 #define CIO_BORLAND 3 #define CIO_UNIX 4 /* auto-select your platform here */ #...
6c84b84741fa76c1e67a14a523b8d8bdcb892de9
38707685ed95b96e255c9b8a9807c95feeaa07ea
/OpenGL/src/Mesh.cpp
57ed804c89459124f7ee8756c2df909c220aaf03
[]
no_license
IchiSumeragi/OpenGL-tests
3eedc7fe4291d0c598e4ffb0e0e3014e1e568aa6
97d7ad42d7a126ed3338d00d824295a4bb67493f
refs/heads/master
2020-05-16T00:21:44.946620
2019-04-25T23:57:50
2019-04-25T23:57:50
182,572,226
0
0
null
null
null
null
UTF-8
C++
false
false
1,267
cpp
Mesh.cpp
#include "Mesh.h" #include "VertexBufferLayout.h" Mesh::Mesh(std::vector<Vertex> vertices, std::vector<unsigned int> indices, std::vector<Texture> textures) : vertices(std::move(vertices)), indices(std::move(indices)), textures(std::move(textures)), vao(), vbo(Mesh::vertices.data(), Mesh::vertices.size() * sizeof(Ve...
99f68f35a05bf2d4fdf30aae8a9acb2af489797e
353463671652175cf1322cf739bd77b14f67e800
/Section2_Backtracking/NQueens.cpp
f0f8b1676dc58bd87b68480c543cc6a5a9b901ca
[]
no_license
shanerodricks/UDemy_DataStructuresCourse
b32ced5b33c20fe86b3655fd4650b0ada6262a13
e87e853db483fd115bef9762390c8840923aa459
refs/heads/main
2023-07-11T07:16:14.787744
2021-08-29T00:11:09
2021-08-29T00:11:09
397,339,570
0
0
null
null
null
null
UTF-8
C++
false
false
2,911
cpp
NQueens.cpp
#inclue <iostream> using std::cout; QueensProblem::QueensProblem(int _numOfQueens) : numOfQueens(_numOfQueens) { chessTable.resize(numOfQueens); for (auto &chessRow : chessTable) chessRow.resize(numOfQueens); } void QueensProblem::solve() { //solve the problem starting with the first...
c9b9f9666921fa96cefb4aa040872fe11833e113
2755e785efcac6110cc7245053ba0f3896445baa
/SplashingWaterClient/SendStrategy.h
e2e1a6594a38d3ce91cb5c8219ec772370fc3ed6
[]
no_license
liuspirit/SplashingWaterClient
84acd91d9cd510b16c2b3b1c4f5d893d06983146
7702d538fb9b86516b7612744ed6aa7b92eca9b1
refs/heads/master
2022-11-25T08:17:46.622772
2020-07-25T08:25:33
2020-07-25T08:25:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
322
h
SendStrategy.h
#pragma once #include "IStrategy.h" class SendStrategy : public IStrategy { public: SendStrategy(string &strFriendAccount, string &strMessage); virtual ~SendStrategy(); public: virtual void buildPackage(); private: SendStrategy(); private: string m_strFriendAccount; string m_strMessage; }; ...
8608e1deb970bb4b8a433aa7766358f2e309934b
d27a676805fd6763d835c3dcf84026dd56e77d78
/SafeDiskManager/DialogProperties.h
b273094486efe72defd86b287d9af41b1803c7b4
[]
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
UTF-8
C++
false
false
751
h
DialogProperties.h
#pragma once #include "afxdtctl.h" #include "afxcmn.h" // CDialogProperties dialog class CDialogProperties : public CDialog { DECLARE_DYNAMIC(CDialogProperties) public: CDialogProperties(CWnd* pParent = NULL); // standard constructor virtual ~CDialogProperties(); // Dialog Data enum { IDD = IDD_DIALOG_PROPERT...
e011275347d6419c98f300b4c88782d22b9ec449
5204d0d4bbdb2c94d455126b6864b102d891aff6
/player/src/main/jni/player/AudioDecoder.cpp
00f7d50e47b8466089e64cab1e2f023c8da2ee17
[]
no_license
luozhanming/MingPlayer
16da95f4770d3c3c6dbbac2099ce9d2b64656c45
b659be346f51b96491f2844277467554f4130ee3
refs/heads/master
2023-06-07T22:26:27.679345
2021-06-28T15:10:12
2021-06-28T15:10:12
380,224,770
0
0
null
null
null
null
UTF-8
C++
false
false
68
cpp
AudioDecoder.cpp
// // Created by 45955 on 2021-06-26. // #include "AudioDecoder.h"
0a04b9d5958d74a3c2ab8594afbe1715b5301562
36ed85609e97bc73c8c7f2dc257ba69507e6abd2
/sample.cpp
8f4b4392c0c7f879fcc3f954a945a4b777592b17
[]
no_license
rk946/cpp
464f57cab02001fd0a79f1354cce682a32d368bd
256d175b0bc49e3e51eb828dbd637eaac43b603b
refs/heads/master
2023-07-14T05:49:13.764214
2021-08-16T12:32:12
2021-08-16T12:32:12
275,735,567
0
0
null
2021-08-16T09:29:23
2020-06-29T05:06:07
C++
UTF-8
C++
false
false
716
cpp
sample.cpp
#include<iostream> <<<<<<< HEAD ======= #include<vector> #include<algorithm> #include<stack> >>>>>>> c0efdc7a2927456c7c248ee165b6971d1135d8f8 using namespace std; <<<<<<< HEAD void print(int *x){ cout << *x; } int main(void) { const int* a; int b = 15; a=&b; int*temp = const_cast<int*>(a); print(temp...
e8ae710393bc8d359a704c0ac2e51be603646030
3c82b93243c23108d4a5fc3d5fb3766c2fd20576
/GPMBench/transactional/gpDB/example/test.cpp
09c167be786af9031c682972d95323e5e3f428bb
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
csl-iisc/GPM-ASPLOS22
6af1e102c276472e20fd861e626ca7a7993c87ad
b58cb5fa44079036f98c857988c0ea49038eb4ff
refs/heads/master
2023-04-18T17:44:09.043763
2022-04-10T03:11:28
2022-04-10T03:11:28
433,300,625
31
9
null
null
null
null
UTF-8
C++
false
false
1,741
cpp
test.cpp
/** * This is a simple example of a program that uses the Virginian database. This * is intended to help begin experimenting with the code, there is significant * functionality that is not utilized. For more information on the functions * used below, see the documentation or source files. A make file is included t...
65da0258f36e200153e8b2dec79d36cb343427f6
99ada53c0f7ec38f52b961fc38aa868b230360fe
/PlcWatcher/PlcWatcher/PLC.h
4e3a14db1d7dabe8898a0135bd4d789c50c1290c
[]
no_license
519984307/WheelMonitor
8284e90602566682fcdad28ad8296910230eadd2
06f0fab67b42280481d51bc296f31176e22bf819
refs/heads/master
2023-03-20T02:54:39.730882
2019-03-19T12:07:30
2019-03-19T12:07:30
null
0
0
null
null
null
null
GB18030
C++
false
false
1,425
h
PLC.h
#pragma once #include <QObject> class QSerialPort; class PLC : public QObject { Q_OBJECT public: PLC(QObject *parent = Q_NULLPTR); ~PLC(); void start(); void stop(); void connect(); private: QSerialPort* plcSerialPort; bool bUsrCtrl = false; bool bConnected = false; /* 注意:单次读写的耗时大概在~300ms */ static const ...
5b5b497651ba43c6fca9ef0350047b0289a306ed
612d4d1158728789751eaba36cabc62a07e80038
/bankmanager/atm.h
807b38e3070373b3e9006245a6e6a29b5f34f55c
[]
no_license
Dhannibal/proj_practice_1
d779417359474ba12be3013e649d4beedcd63e0e
f7060ad3c26d49dd9be13ce164743f39471f3f55
refs/heads/master
2021-07-13T13:45:32.844235
2020-06-15T03:09:10
2020-06-15T03:09:10
164,793,398
1
0
null
null
null
null
UTF-8
C++
false
false
791
h
atm.h
#ifndef ATM_H #define ATM_H #include <QDialog> #include <QSqlTableModel> #include <QSqlRecord> #include "transmoney.h" #include "save.h" #include "drawmoney.h" namespace Ui { class ATM; } class ATM : public QDialog { Q_OBJECT public: explicit ATM(QString cardnum, QWidget *parent = 0); ~ATM(); private slo...
f03fd3550afe851c19a355e19abfc495f86396ac
8dcb41acc5ac072e30d487c5d5d1b97ddfb99b10
/main.cpp
6ba2cd9fe04145d9dc114e52d1829698f9900952
[]
no_license
MdAzeen/2D-Football-Field-by-OpenGL
31215cf44012e17dc6fcaa0595b86493b2f9d5cd
9d6e40d35e1408c00e0d2aac7ca5d32a76fdffa2
refs/heads/master
2021-12-12T23:14:34.219256
2017-03-07T13:39:34
2017-03-07T13:39:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,966
cpp
main.cpp
#include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <stdlib.h> #include <stdio.h> #include<cmath> int windowWidth = 600, windowHeight = 600; static int tx=-57,ty=0; void line(double x1,double y1,double x2,double y2,double r,double g, double b) { glColor3f(r,g,b); glBegin(GL_LINES); glVert...
4f079306bd6922cf49af4a85ecf8f128bfab2466
06612d1391a80ab69726ff491e49b7a0b9439b10
/lib/Transforms/IPO/MergeFunctions.cpp
17bc2d41a4cffcfb2b32bf28f639ca03146aabe4
[ "NCSA" ]
permissive
bratsche/llvm
1bc649a078dfb8c61c579dc3b373eab5dcd94024
7c3ddf82afd4c74e76dfa9c938d290b3e2574f3f
refs/heads/master
2021-01-22T12:02:26.956654
2009-04-16T05:52:18
2009-04-16T05:52:18
179,517
2
0
null
null
null
null
UTF-8
C++
false
false
11,730
cpp
MergeFunctions.cpp
//===- MergeFunctions.cpp - Merge identical functions ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
65d57fb4cf5dc22a034e40913f63e6ef5b5004ad
a472d287b5abafb55d2baa5f2afc4126a7839ffa
/Game/Source/Vehicle/AI/OpponentAIController.h
0843d7b9962a0bf9c1eb9bf0660bfdd1ddd454dc
[]
no_license
Svietq/SelfDrivingCar
af49c35363045bd16a8fc1173f7264edd24d6db1
812a6d046adc4418b9680f92e6d4cac8aae2f096
refs/heads/master
2020-07-22T10:26:28.286770
2019-09-08T20:36:49
2019-09-08T20:42:23
207,167,443
0
0
null
null
null
null
UTF-8
C++
false
false
550
h
OpponentAIController.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "AIController.h" #include "OpponentAIController.generated.h" /** * */ UCLASS() class VEHICLE_API AOpponentAIController : public AAIController { GENERATED_BODY() public: UPROPERTY(Bluepr...
3e0d2bac0db48a9111f9406b3e17fac7ee00cd6b
f006267d8208a3adb4c3e2edc89ea67ef1b13353
/tas_car_control/src/servo_proxy.cpp
ce7ac81872e6963b90dd2ca91ad24bcb6744face
[]
no_license
maetulj/ros_gazebo_ackermann
18f669c3f7b851acc68fbb6f7b400550924317da
b0a057c418d73ecb96aea377b4c33025274c8ff8
refs/heads/master
2020-05-23T08:01:03.059227
2017-01-31T03:06:39
2017-01-31T03:06:39
80,486,500
0
1
null
null
null
null
UTF-8
C++
false
false
1,975
cpp
servo_proxy.cpp
/************************ * servo_proxy.cpp * * author: Gasper Simonic <gasper.simonic@tume.de> * * This file includes the implementation of the ServoProxy class * for transforming servo commands to Gazebo commands. * It also includes the main function of this node. */ #include "tas_car_control/servo_proxy.h" ...
58db6a9a6fa1043a147300fff7b270de73169261
2181883c8faac55bfc969a97d22d9b24a3e81ab3
/Pythonwin/win32virt.cpp
2f46c84359aafcd13ae2d8403f77d1c82d1855ad
[ "PSF-2.0" ]
permissive
mhammond/pywin32
574bf121cfeac8c7a9d28f94ee0f2069a425e8ab
2a7137f21965013020ef9e4f27565db6dea59003
refs/heads/main
2023-09-02T13:16:52.307262
2023-08-17T19:42:26
2023-08-17T19:42:26
108,187,130
4,757
907
null
2023-08-23T01:45:49
2017-10-24T21:44:27
C++
UTF-8
C++
false
false
16,783
cpp
win32virt.cpp
/* win32 virtuals manager/helper Created August 1994, Mark Hammond (MHammond@skippinet.com.au) */ #define PY_SSIZE_T_CLEAN #include "stdafx.h" #include "win32win.h" #include "win32dc.h" #include "win32prinfo.h" #include "win32doc.h" ////////////////////////////////////////////////////////////////////// // //...
6bb53458119b7dd470588b29ae12ce8340837647
f400fceb686a38ea72df3e4347419ad9e16ffd2d
/no_undo_interface.cpp
647071c42d0da755eb8b1677dc0495601d303b76
[]
no_license
GuanyaShi/C-based-Connect6-AI-Program
801bcb315325d6496a291d387ef6adef5ffdb108
307401ddcdbc3497b92f32ef7f0e8769761c8fa1
refs/heads/master
2021-01-20T01:22:34.493593
2017-04-24T17:16:45
2017-04-24T17:16:45
89,265,341
0
0
null
null
null
null
GB18030
C++
false
false
866
cpp
no_undo_interface.cpp
#include <stdio.h> #include <graphics.h> #include <conio.h> void no_undo() { setcolor(0); setfillcolor(BLUE); setbkcolor(BLUE); settextcolor(WHITE); int points[] = { 200, 280, 200, 520, 600, 520, 600, 280 }; fillpoly(4, points); settextstyle(28, 0, _T("微软雅黑")); RECT r1 = { 200, 320, 600, 340 }; ...
ff44c8c2f9829050532216e199f70858f3c2546c
6d3e22833251fa01cd50e9e98d05d7642715a082
/C++/open_file/open.cpp
0db3edfa23fefee7dd16c48ceab5ddcbe2fa3940
[]
no_license
nmarriotti/Tutorials
c85ed21dd7b00bab7c84ff576e9472598d0f1ece
1bbcef19f3da5fd4b21a34907ff12b74d3eac8ad
refs/heads/master
2021-01-21T14:19:14.791095
2018-01-28T04:45:27
2018-01-28T04:45:27
95,265,185
0
0
null
null
null
null
UTF-8
C++
false
false
498
cpp
open.cpp
#include <iostream> #include <fstream> #include <string> #include <stdio.h> using namespace std; int main() { ifstream FILE; string line; char filename[256]; printf("File to open: "); cin.getline(filename, 256); FILE.open(filename); if(FILE.is_open()) { printf("File opened succes...
a76c1607b2e3dd28145d0458b0c38053e317829b
c0dffa026eb98d46c9c48d54dc8fd33062667bb3
/f9_os/src/mark3/libs/graphics/fonts/arial_10.cpp
e1a1e25bf0360d0db61f9fd6a09d37711ce0623e
[ "Apache-2.0" ]
permissive
weimingtom/arm-cortex-v7-unix
322b7f339a62a016393d5dba44b290116ff5d23b
cd499fa94d6ee6cd78a31387f3512d997335df52
refs/heads/master
2022-06-02T21:37:11.113487
2017-07-21T13:14:42
2017-07-21T13:14:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
70,367
cpp
arial_10.cpp
/* Funkenstein Software Consulting Font Renderer (c) 2012-2016, Funkenstein Software Consulting, all rights reserved. */ #include "../public/font.h" const FONT_STORAGE_TYPE Arial_10_False_False_False_[] FONT_ATTRIBUTE_TYPE = { //-- Glyph for ASCII Character code: 0 0, /* u8Width */ 0, /* u8Height */ 0,...
18dcee401a2130b5ffe7945236261ecfc6015e32
cfb660c74c320759e84d96d78991abc397ff2f0f
/geant4-cuda/benchmarks/Boyadzhiev/spheres.hpp
7fbde8875f026a99d7b173911be19a1770a9da13
[]
no_license
zoulianmp/geant4-cuda
e81acf7a49b67eeee572d08cea3ec15dfaf75581
ed5746d6b8aea8f37d04156ada6d2578ee90e949
refs/heads/master
2021-01-18T08:47:12.654736
2013-06-29T13:35:15
2013-06-29T13:35:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,166
hpp
spheres.hpp
/** Geometry based on a voxelization benchmark by Ivaylo Boyadzhiev */ #ifndef BOYADZHIEV_GEOMETRY_SPHERES_HPP #define BOYADZHIEV_GEOMETRY_SPHERES_HPP #include "../../geometry_common.hpp" #include <map> class BoyadzhievSpheres : public BasicGeometry { public: typedef enum { SPHERES, CONS, MIXED } OBJECT_T...
8ad2ca1c15fbfb62148ff70ed6c65f9963b23cda
830b9ead01e22772fb7148b05d61efd862a78db7
/src/core/activations/weighted-quadratic-barrier.cpp
30f9d137198e898e46b4ba1c63a5559507610844
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zeta1999/crocoddyl
c2eb6cade0df0b49a9aa8ed6d58ee0f23ab6f749
f7bb90f1007119fb498cc7f03b87410ab31e5695
refs/heads/master
2021-03-06T08:32:47.146165
2020-02-13T14:33:16
2020-02-13T14:33:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,434
cpp
weighted-quadratic-barrier.cpp
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2020, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. ////////////////////////////////////////////////////////////////////...
05510ff2ba0981427c0c258e2d09ae01090a7374
b5fdb9e660183bf4d0f7c14419111fe681769061
/ATMSimulationV3/LoginDlg.h
e190c815399c330b0143301684497cdd98b8bb07
[]
no_license
18020031110/ATM-3-
70432c82b9634cf150d253abec1ef6031205d86a
99a3ae613252949885b11f8c0210cb03e8890f43
refs/heads/main
2023-02-02T14:57:11.450344
2020-12-13T12:16:39
2020-12-13T12:16:39
311,255,178
0
0
null
null
null
null
UTF-8
C++
false
false
492
h
LoginDlg.h
#ifndef LOGINDLG_H #define LOGINDLG_H #include <QDialog> #include "AccountData.h" namespace Ui { class LoginDlg; } class LoginDlg : public QDialog { Q_OBJECT public: explicit LoginDlg(QWidget *parent = 0); ~LoginDlg(); QString m_UserN; // 登陆成功的用户名 private slots: void on_LoginPB_clicked(); p...
c82b91d50783d157e7a9d21e19efa57489594f93
3d444cdaa4437b155c4f239ff3f9ccd477880b37
/TcpServer.cpp
62135296565d246cbf20ad7d8eeee11d81e49695
[]
no_license
yenkn/fight-landlord-server
78b764fe96394b69b57e493c397b52373163585a
334680a552651c96d5254ae02f8a9e5a4b942e98
refs/heads/master
2020-03-19T02:11:49.654739
2018-06-01T03:19:52
2018-06-01T03:19:52
135,608,148
0
0
null
null
null
null
UTF-8
C++
false
false
2,068
cpp
TcpServer.cpp
// // Created by 欧阳亚坤 on 2018/5/22. // #include "TcpServer.h" #include <sys/socket.h> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include "MessageClient.h" template <typename T> TcpServer<T>::TcpServer() { sock_fd = socket(AF_INET, SOCK_STREAM, 0); if(sock_fd < 0) { ...
dd55f66d4d719f90403b987d8b3ea18d25b189c5
bbe57f5a53a8a8bb7f905782ae0f8d51088210c7
/BiTree-pro/main.cpp
1a3438522b986bf7c11bffc9aa440a00b7a3ce43
[]
no_license
Nought8298/DataStructure
83c543acded1e5cd467155ac6f9a2d83757d1403
0f7fd34cbbdab3a8df95aa3a7b689cd737a261da
refs/heads/main
2023-02-10T16:36:03.180284
2021-01-05T13:24:12
2021-01-05T13:24:12
326,189,925
0
0
null
null
null
null
GB18030
C++
false
false
7,217
cpp
main.cpp
#include <stdio.h> #include <stdlib.h> //定义函数结果状态 #define FALSE 0 #define TRUE 1 #define ERROR 0 #define OK 1 #define OVERFLOW -1 typedef int Status; #define STACK_SIZE 20 #define EXTRASIZE 5 #define MAX_TREE_SIZE 100 typedef struct BiTNode { char data; struct BiTNode *lchild,*rchild; }BiTNo...
e47866affb1a1d0b572916df58e37fe38220e6f2
0b50cc42b6065a1a0442e09a9836a443b97ec249
/thirdparty/sfs2x/Core/ThreadManager.h
d43731df9207ddcae7df6bc4187b078519aee84a
[ "MIT" ]
permissive
godot-addons/godot-sfs2x
06dc177d8289898d487d12e01ac1023cc7a63395
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
refs/heads/master
2021-07-12T02:01:23.368889
2020-05-31T19:25:12
2020-05-31T19:25:12
140,114,287
3
3
MIT
2018-07-07T20:44:16
2018-07-07T20:14:46
null
UTF-8
C++
false
false
4,053
h
ThreadManager.h
// =================================================================== // // Description // Contains the definition of thread manager // // Revision history // Date Description // 30-Nov-2012 First version // // =================================================================== #ifndef __ThreadManager__ #defin...
49ebc377581367ad823a609875fdf93261fb29bb
09aa1eb41c319fc1e2aa7206f0386594de198c0b
/内積の課題_00/GameTemplate/game/GameCamera.cpp
144503cc6185b02bc4fe573d02e0f2510bb16544
[]
no_license
nezumimusume/DirectX_2
7d22e155b9790ab07ac97481e68b3ae7a4f0d6b2
ba4b76250b86ca09bb2a1be294e5f1b19030a09f
refs/heads/master
2023-07-22T18:42:17.647383
2018-04-16T13:04:08
2018-04-16T13:04:08
null
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,307
cpp
GameCamera.cpp
#include "stdafx.h" #include "GameCamera.h" #include "Player.h" #include "lib/Input.h" GameCamera::GameCamera() : toEyePos(0.0f, 0.0f, 0.0f, 1.0f), targetOffset(0.0f, 0.0f, 0.0f, 1.0f), cameraDir(0.0f, 0.0f, 0.0f) { } GameCamera::~GameCamera() { } void GameCamera::Start(Player* player) { toEyePos.z = -4.0f; toEye...
0c6253f82c25ca75b0cd97715fa2dbdfdd197946
51669e12eeee3e856b82707602d8d4650ba2d8bf
/Assignment 1/Problem 1/Source.cpp
6decb77f3b6d242a50e7474c38697c7225f4c365
[]
no_license
manleyb2/CPSC-200
760ce7c3fb2929b3b4102c1be32a66f779b780c0
e6f3bd8ebcfd36c02db444f8a8c98fbf3b8a5696
refs/heads/master
2021-03-30T17:12:50.973151
2018-02-26T03:07:12
2018-02-26T03:07:12
116,762,535
0
0
null
null
null
null
UTF-8
C++
false
false
784
cpp
Source.cpp
// // Brian Manley CPSC 200 // manleyb2@ferris.edu Spring 2018 // Assignment 1 Problem 1 // FILE: Source.cpp 1/24/2018 // //Oath of Originality: I, Brian Manley, pledge that the //contents of this file are my own independent work and conform to //all University policies on academic integrity. // Cal...
b834f2aa39ce4553c47b40b7ddde881429608481
ab65c24418b4ddf76df9a5a92678f6672a1d1c45
/C++/clientTest.cpp
e9b591db42a0c32f631418f935536a5003b46192
[]
no_license
calvidler/Demo
7ed75c303ceec69752e68f6472b9e9b335f342d4
0697501ba82eecfd5b228ab7f4996243caa76a31
refs/heads/main
2022-12-25T11:39:18.177145
2020-10-07T12:08:43
2020-10-07T12:08:43
302,022,775
0
0
null
null
null
null
UTF-8
C++
false
false
6,092
cpp
clientTest.cpp
#include <initializer_list> #include <iostream> #include <string> #include <vector> #include "assignments/dg/graph.h" // Note: At the moment, there is no client.sampleout. Please do your own testing int main() { gdwg::Graph<std::string, int> g; { std::string s("hello"); g.InsertNode(s); } std::cout <<...
b135067722c06c1947284aadd937ff3347c61730
70d57701799ad620876261fac0032a1617e6f549
/CCF/2014-03/WindowClick.cpp
5e33249f69fd54246fb07d8907c8947a4b536bef
[]
no_license
hughian/OJ
8c82b7ba1c9988008783dcaedd8f4a54c28ed11f
160de27c1222ff31e0b4f22d78c278a3906d29c0
refs/heads/master
2021-08-11T00:45:24.206110
2020-04-04T08:26:56
2020-04-04T08:26:56
145,109,689
0
0
null
null
null
null
UTF-8
C++
false
false
4,022
cpp
WindowClick.cpp
/*问题描述   在某图形操作系统中,有 N 个窗口,每个窗口都是一个两边与坐标轴分别平行的矩形区域。窗口的边界上的点也属于该窗口。窗口之间有层次的区别,在多于一个窗口重叠的区域里,只会显示位于顶层的窗口里的内容。   当你点击屏幕上一个点的时候,你就选择了处于被点击位置的最顶层窗口,并且这个窗口就会被移到所有窗口的最顶层,而剩余的窗口的层次顺序不变。如果你点击的位置不属于任何窗口,则系统会忽略你这次点击。   现在我们希望你写一个程序模拟点击窗口的过程。 输入格式   输入的第一行有两个正整数,即 N 和 M。(1 ≤ N ≤ 10,1 ≤ M ≤ 10)   接下来 N 行按照从最下层到最顶层的顺序给出 N 个窗口的位置。 每行...
2f150fbfa4b546f4426be1e48f7c22e0b15b741f
6ebfe81ecf73508ae8f520ce448387a9065dee5a
/DIVA/UnitTests/TestInputs/ElfDwarfReader/lto_cross_cu1.cpp
ca138bbb22234fd17321bebeb0f30e92cc10abb2
[ "MIT" ]
permissive
clayne/DIVA
48ba96bd9c643d736fa8e9d3090da88a805e7b6f
fdc066d84f5599427ecc6eb71fd7648ea8833b37
refs/heads/master
2023-03-17T04:12:19.760279
2018-01-24T14:52:14
2018-01-24T14:52:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
120
cpp
lto_cross_cu1.cpp
#include "lto_cross_cu.h" A::G foo() { return A::G(); } A::G bar(); int main() { foo(); bar(); return 0; }
4b603bca3b7c95cec2bf998a0731926249f8072e
5986eeacf0925af9ae790d6d0d8961df62fb9bf9
/src/systemClib/globalLockOR.h
4d7000e73b59032034738f3e00159942ddb1edd1
[ "MIT" ]
permissive
ithauta/ttadf
36f68bed267b4469aa1119ce57a5953f65cb4167
f54859ab780df93a40035cec4bf58c33c3357731
refs/heads/master
2020-03-13T13:21:35.874080
2018-05-08T13:09:38
2018-05-08T13:09:38
131,136,633
2
0
null
null
null
null
UTF-8
C++
false
false
644
h
globalLockOR.h
#include <systemc.h> #include <iostream> template<int glockinputs = 1> SC_MODULE(globalLockOR) { sc_in<bool> glocks[glockinputs]; sc_out<bool> glock; void glockOR() { bool glockval = false; int i; for(i=0; i<glockinputs; i++){ if(glocks[i] == true){ ...
086ea781c9912436011b9a21129f923b5cda9a1b
0b99e2645de9d1c486474bb5ed47b603fa6c0638
/unLimited/engine_drawing.cpp
d1f5d25fd29c1fbdd47022a36b18eebb96b30d66
[]
no_license
wthueb/unLimited
3e343d893b633afb7d301cc6b717573467ce39c0
3c26d251049f61ae79d40b3d5165e334af587676
refs/heads/master
2021-07-06T15:39:36.547601
2018-11-20T01:56:45
2018-11-20T01:56:45
138,980,047
0
0
null
null
null
null
UTF-8
C++
false
false
4,268
cpp
engine_drawing.cpp
#include "engine_drawing.hpp" #include <vector> #include "utils.hpp" static const auto pi = acos(-1); void draw::circle(const Vector2D& pos, float points, float radius, const Color& col) { auto step = float(pi * 2.f / points); for (auto a = 0.f; a < pi * 2.f; a += step) { Vector2D start{ radius * cosf(a) + p...
102df7ecb1fb1edbeaef5776c6dd019f7b9440d9
973a8f87e58454249420b89db0b25f7e40dabe1e
/src/lisp/src/old_sources/scheme++/Environment.h
20807556b4f5cf942907147197549fda9dd84b2b
[]
no_license
ryos36/libsign
fe06d6059b8714ba88e8d9add12a73e14573d64e
58e0963c8fa8fa3c9bb517afdd5347043b17e33a
refs/heads/master
2016-09-05T22:46:44.702370
2013-02-09T02:10:14
2013-02-09T02:10:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
739
h
Environment.h
#ifndef __SIGN_SCHEME_ENVIRONMENT_H__ #define __SIGN_SCHEME_ENVIRONMENT_H__ #include "sign/scheme++/Symbol.h" #include "sign/scheme++/Union.h" #include "sign/scheme++/ExAtom.h" namespace sign { namespace scheme { namespace environment { ExAtom *alloc(ExAtom *env); ExAtom *getSystemRootEnvironment(); void extend(E...
3ebbd191388d91ffc9365e58ee77155572b977b5
04fee3ff94cde55400ee67352d16234bb5e62712
/11.15-contest/source/Stu-25-Woshiluo/gem/gem.cpp
b841bdb16365016357fecafa58c66b3396a084ff
[]
no_license
zsq001/oi-code
0bc09c839c9a27c7329c38e490c14bff0177b96e
56f4bfed78fb96ac5d4da50ccc2775489166e47a
refs/heads/master
2023-08-31T06:14:49.709105
2021-09-14T02:28:28
2021-09-14T02:28:28
218,049,685
1
0
null
null
null
null
UTF-8
C++
false
false
983
cpp
gem.cpp
#include <cstdio> #include <cstring> inline int Max( int a, int b ) { return a > b? a: b; } int n, m, ans; int a[1100], f[1100][2]; // 0 buy int main() { freopen( "gem.in", "r", stdin ); freopen( "gem.out", "w", stdout ); scanf( "%d%d", &n, &m ); for( int i = 1; i <= n; i ++ ) { scanf( "%d", &...
862a31e83ae83d85e744fd2ab7587a1b1d68b4e9
1d346f5cf9176a1a6b69925ec5eac969f2a8cc7c
/Src/View/UI/CLI/Parser.cpp
afd0205c5f08eb422726281fe92588207ddaafa3
[]
no_license
ginsberger/dna-analyzer-design
ef6cde49405d72da9d4037a23e16aced4af9bda9
6c235c7d66ed660095edff0a19d001b82ecf83bb
refs/heads/master
2023-01-24T07:37:41.391805
2020-12-02T10:00:19
2020-12-02T10:00:19
305,764,925
1
0
null
null
null
null
UTF-8
C++
false
false
652
cpp
Parser.cpp
#include "Parser.h" #include <sstream> void Parser::parseCommandLine(const std::string &commandLine) { std::stringstream ss(commandLine); std::string arg; if(!m_parse.empty()) { m_parse.clear(); } while(std::getline(ss, arg, ' ')) { if (arg.empty()) continue; ...
7343f60712472891aba8d39393353907198d99c9
6e56540d3e1bfacd4ab20439bd6f67764617b077
/Algorithms/copybug.cpp
6035c1dbb934d342b0962a523c2aaed7fb253041
[]
no_license
luciandinu93/STL
7d89314afe520d5fd6a7e97c4069022682182299
5f1e38fd2d9b69763ffa39c1d08e587183aeeb66
refs/heads/master
2020-04-30T13:50:04.168183
2019-04-29T07:49:45
2019-04-29T07:49:45
176,870,729
0
0
null
null
null
null
UTF-8
C++
false
false
380
cpp
copybug.cpp
#include <iostream> #include <list> #include <vector> #include <algorithm> #include <deque> int main() { std::list<int> coll1 = {1, 2, 3, 4, 5, 6, 7, 8, 9}; std::vector<int> coll2; coll2.resize(coll1.size()); std::copy(coll1.begin(), coll1.end(), coll2.begin()); std::deque<int> coll3(coll1.size()); ...
53c09e0bb6da87e2e660dd0cfbaa562d0383b15a
3e23837f9d8cf183ab07973ee61e09e94e035150
/Types/UnionTypes.cpp
9876e9fd786f5a3c260eb4a89beac83b4f417ba9
[]
no_license
LeeSheng1015/Types
8bf83214b9c803070c23a982fb93f0b6272ee1fa
f9a646ebf685a5622cb370b159dffd113d2824bb
refs/heads/master
2022-11-28T04:31:07.641226
2020-07-24T06:55:45
2020-07-24T06:55:45
282,131,649
0
0
null
null
null
null
UTF-8
C++
false
false
427
cpp
UnionTypes.cpp
// // UnionTypes.cpp // Types // // Created by Lee Sheng on 2020/7/23. // Copyright © 2020 Lee Sheng. All rights reserved. // union types /* #include <stdio.h> #include <cstdio> union Movie { char name[12]; int year; char author[10]; bool show; }; int main(){ Movie Harry_Poter; Harry_Poter....
4388826120510676213437e82fa0fb0c66a0eca2
800ef26f340515f7b5e8989fe3030352e71e3b72
/Hanoi/workingSFML/game.h
74ed1486e7e3ceec387e85ba609c09d408705a1c
[]
no_license
stanleychen86/Hanoi
87b58c8d621266461a8ba19dcc653ae58231e374
feda0d96b6baebec8c654df00d6753b611f96702
refs/heads/master
2020-08-29T07:16:24.264418
2019-10-28T04:31:48
2019-10-28T04:31:48
217,964,116
0
0
null
null
null
null
UTF-8
C++
false
false
1,532
h
game.h
#ifndef GAME_H #define GAME_H #include <utility> #include <string> #include <string.h> #include <chrono> #include <vector> #include <SFML/Graphics.hpp> #include <random> #include <fstream> #include "gameengine.h" class Game { private: bool gameFinished; std::vector<std::pair<std::string, int> > highscores; std::...
3b9522b0b1f0c508e8d4b5c38f710e03ee2687de
eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86
/Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day1程序包/GD-Senior/answers/GD-0251/money/money.cpp
59794052e742c2f2844c5b980408cba76637c8ec
[]
no_license
Orion545/OI-Record
0071ecde8f766c6db1f67b9c2adf07d98fd4634f
fa7d3a36c4a184fde889123d0a66d896232ef14c
refs/heads/master
2022-01-13T19:39:22.590840
2019-05-26T07:50:17
2019-05-26T07:50:17
188,645,194
4
2
null
null
null
null
UTF-8
C++
false
false
805
cpp
money.cpp
#include <iostream> #include <algorithm> #include <cstdio> #define N 103 #define M 25003 using namespace std; int a[N]; bool f[N][M]; int main(void) //money.cpp { int t, n; int i, j, k; freopen("money.in" , "r", stdin ); freopen("money.out", "w", stdout); scanf("%d", &t); while(t --) { ...
b15a03002df9ab6f7e8507a57c74ebc3ac6627a7
04cd1d14ada673c4cc2f9c9f156fd5671c5b36fa
/src/core/Models/modelsrepo.h
ea353ef52f42132ac288392ca476590d726ee918
[ "MIT" ]
permissive
jbuckmccready/staticpendulum_gui
ccf2a407ac53f345b7175bed7c907cac89e845e4
8c14019e5903c531cca5cfefeeb22a1beca8b000
refs/heads/master
2020-06-16T11:01:44.204000
2017-02-04T01:46:05
2017-02-04T01:46:05
75,110,915
0
0
null
null
null
null
UTF-8
C++
false
false
1,259
h
modelsrepo.h
#ifndef MODELSREPO_H #define MODELSREPO_H #include "integratormodel.h" #include "pendulummapmodel.h" #include "pendulumsystemmodel.h" #include <QObject> class QQmlEngine; class QJSEngine; class QString; namespace staticpendulum { class ModelsRepo : public QObject { Q_OBJECT Q_DISABLE_COPY(ModelsRepo) Q_PROPER...
69e802d67d1fdace00ae9890d326442eb2297b72
afb7006e47e70c1deb2ddb205f06eaf67de3df72
/third_party/libwebrtc/modules/video_coding/deprecated/frame_buffer.cc
e71db303f8141b0b267eae68982995351a384238
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
marco-c/gecko-dev-wordified
a66383f85db33911b6312dd094c36f88c55d2e2c
3509ec45ecc9e536d04a3f6a43a82ec09c08dff6
refs/heads/master
2023-08-10T16:37:56.660204
2023-08-01T00:39:54
2023-08-01T00:39:54
211,297,590
1
0
null
null
null
null
UTF-8
C++
false
false
8,478
cc
frame_buffer.cc
/ * * Copyright ( c ) 2012 The WebRTC project authors . All Rights Reserved . * * Use of this source code is governed by a BSD - style license * that can be found in the LICENSE file in the root of the source * tree . An additional intellectual property rights grant can be found * in the file PATENTS . All contributing...
27b82b9372ce3a8fcc78fccfcc350783b5ade85b
f74fd64254c149ae18ab5f471de04173eebc4d7b
/sheet1/frequency.cpp
841d6dd55ca20e1eed54621ba021aa3d5cdf273e
[]
no_license
prithvisbisht/CEC
05c66dc0d62a2f710a8429ec85cf8d7135312eaa
27f207571852732263f3975907559282e2df3ae8
refs/heads/master
2018-07-23T02:36:58.037678
2018-06-02T11:24:08
2018-06-02T11:24:08
118,794,708
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
frequency.cpp
#include<iostream> using namespace std; void checkFrequency(int arr[],string s){ char a='0'; for (int i = 0; i < s.length(); ++i){ arr[s[i]-a]++; } } void printArray(int arr[]){ for (int i = 0; i < 10; ++i){ if(arr[i]!=0){ cout<<"frequency of number "<<i<<" is "<<arr[i]<<endl; } } } int main(){ strin...
c9241f70fa548bef90cc95364aecc297cce8c2d9
ac0b9c85542e6d1ef59c5e9df4618ddf22223ae0
/kratos/applications/henry_application/tests/unitaryTestHenryECU.h
f337340bf8a3b69273ae7a3c8fd127cd6a2dd7a8
[]
no_license
UPC-EnricBonet/trunk
30cb6fbd717c1e78d95ec66bc0f6df1a041b2b72
1cecfe201c8c9a1b87b2d87faf8e505b7b1f772d
refs/heads/master
2021-06-04T05:10:06.060945
2016-07-15T15:29:00
2016-07-15T15:29:00
33,677,051
3
0
null
null
null
null
UTF-8
C++
false
false
3,307
h
unitaryTestHenryECU.h
/* ********************************************************* * * Last Modified by: $Author: VictorBez $ * Date: $Date: 2015 $ * Revision: $Revision: 1.0 $ * * ***********************************************************/ #if !defined(KRATOS_UNITARY_TEST_UTILITIES) #d...
06fde869af773bb809da19773e220fef06d46d85
dd4785ff43abb433b9e0dc55c28a64ce44aa00ad
/Tank/Tank/CPlayer.h
2eec231e44b40fc2024282779c32da4523ef5a9f
[]
no_license
zhaitianbao/tank
1764c003e5ba5e73494635197bbf539af3246b62
43a2f8735b4ae47e5c1fefb83b9b12be679ba99e
refs/heads/main
2023-03-01T11:25:57.177499
2021-02-19T08:48:33
2021-02-19T08:48:33
339,889,872
1
0
null
null
null
null
GB18030
C++
false
false
372
h
CPlayer.h
#pragma once #include "CTankEntry.h" class CPlayer : public CTankEntry { public: CPlayer(); CPlayer(float x, float y, PCTSTR szImgName); virtual ~CPlayer(); // 左右转 : 两次转动之间有时间限制。不能转得太快 virtual void RotateRight(); virtual void RotateLeft(); private: // 检查两次动作之间的时间 CGameTimeval m_timer{ 100 }; };
124de361247a6036b9a208437b43d5b655a0a8bd
4424dfe8a7ea33e2dcaaa0fe20fccff1b592a31c
/src/Misc/OptionsDialog.cpp
62144e01bbd81954cffd3a0813c143777097f657
[]
no_license
standardgalactic/grall2
47ad74632c6174c135a4e8729e59b2a268830ee0
68171f4cdad871ca11d749b68d3ef4230a37b8d4
refs/heads/master
2023-07-25T02:28:33.194387
2013-07-28T16:59:35
2013-07-28T16:59:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,859
cpp
OptionsDialog.cpp
/* ========================================= OptionsDialog.cpp ========================================= */ #include "Misc/OptionsDialog.h" //------------------------------------------------------------------------------- OptionsDialog::OptionsDialog() : mCurrKey(""), mListeningForKey(false) { MyGUI::La...
964e9270a89fc8d3611da3752062ce9245e941bc
62408a02b44f2fd20c6d54e1f5def0184e69194c
/CodeChef/AMR16H/15598564_AC_140ms_15974kB.cpp
818b2281bdab8381f802b574cab0ae5371b03580
[]
no_license
benedicka/Competitive-Programming
24eb90b8150aead5c13287b62d9dc860c4b9232e
a94ccfc2d726e239981d598e98d1aa538691fa47
refs/heads/main
2023-03-22T10:14:34.889913
2021-03-16T05:33:43
2021-03-16T05:33:43
348,212,250
0
0
null
null
null
null
UTF-8
C++
false
false
337
cpp
15598564_AC_140ms_15974kB.cpp
#include<bits/stdc++.h> using namespace std; long long t, a[100010],ans; int n,cnt; int main() { scanf("%lld",&t); while(t--) { ans = 0; cin>>n; for(int i=0;i<n;i++) { cin>>a[i]; } sort(a,a+n); ans = a[n-1]; cnt = n; for(int i=n-2;i>=0;i--) { ans+=(cnt*a[i]); cnt--; } cout<<ans<<endl...
446ec17ab106a830bf28115d9498e8fb0e7bda57
8f9ebbb2c287e2d4b4ceebc9a5e15dca176c7bdb
/standard_core_library/lighting_controller_service/inc/LeaderElectionObject.h
0193efd28957044c50204fa67c4772b078aa6527
[ "Apache-2.0" ]
permissive
alljoyn/lighting-service_framework
515aa2a989506e36fb31845971ec819e238474e4
6d3624b92294e44f598d22fe4a08e6437516426a
refs/heads/master
2021-09-11T16:35:23.772349
2018-04-09T17:54:52
2018-04-09T17:54:52
112,537,412
0
0
null
null
null
null
UTF-8
C++
false
false
7,406
h
LeaderElectionObject.h
#ifndef LEADER_ELECTION_OBJECT_H #define LEADER_ELECTION_OBJECT_H /** * \ingroup ControllerService */ /** * @file * This file provides definitions for leader election object */ /****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), Al...
677d76c90372cd5601c46b0fe456eaa2d3b6ebc7
51adbb4dadd4279f6a0172432c40314b0e5aa0fe
/mnn/efficientnet.cc
3cd0df7df93bf1c5b9222f5fee98a3dca776d30f
[]
no_license
upupchai/deep-deploy
3b07293016ed4461b2f640adf992b326455abc54
f5e6561d5d57c31b7c808a9fe20c16a35c397a89
refs/heads/main
2023-07-08T09:00:34.315375
2021-08-15T05:22:45
2021-08-15T05:22:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,809
cc
efficientnet.cc
#include <MNN/Interpreter.hpp> #include <algorithm> #include <iostream> #include <opencv2/opencv.hpp> #include <utility> #include <vector> using namespace MNN; int main(int argc, char const *argv[]) { std::shared_ptr<Interpreter> net(Interpreter::createFromFile(argv[1])); ScheduleConfig config; config.type = MN...
531ebf2a74149cfa759936844af6559b810eb7d9
71f92df47b45c14291c325c333b86ed0be7d6c33
/NodoCola.h
9c6e4673820a4f0ccafb2fba9cdb5286f00b4aca
[]
no_license
JBastian29/EDD_SmartClass_201905711
4bfcafe0a8ee1ab2873cc8496b66b31686d52b51
37952cf3fa9f8873557b7c09a720b856a22a83a5
refs/heads/main
2023-07-18T18:35:43.146964
2021-08-24T09:42:17
2021-08-24T09:42:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
507
h
NodoCola.h
#include <iostream> #include <string> using namespace std; class NodoCola{ private: int idError; string tipo; string descripcion; NodoCola *siguiente; public: NodoCola(int _idError, string _tipo, string _descripcion); int getIdError(); string getTipo(); string getDescripcion(); No...
9cd1a9083bb0f6ffe3595d09347e5c82ac6d4dd7
0b9d327024f8c1dcb3ce729275d89a4e1a959ef9
/source/core/resource/ResList.cpp
d3fff56aa58a6898b744456e2178c820c903fcb3
[ "MIT" ]
permissive
Johnny-Martin/Gear
38cd7b52418253ff4ccae2978d05253d12b9cf4c
2c5cf5c10c700e3ee7f89011c9a2ec4851d4d9e3
refs/heads/master
2021-01-01T17:19:41.353515
2018-04-03T13:12:19
2018-04-03T13:12:19
98,049,785
0
0
null
null
null
null
GB18030
C++
false
false
5,076
cpp
ResList.cpp
#include "stdafx.h" #include "ResList.h" #include "ResManager.h" using namespace Gear::Res; ResList::ResList() :m_hCount(1) ,m_vCount(1) ,m_subPicWidth(0) ,m_subPicHeight(0) ,m_subPicType(RES_IMAGE) { InitAttrMap(); InitAttrValuePatternMap(); InitAttrValueParserMap(); } void ResList::InitAttrMap() { ADD_ATTR...
355e95918b1bfd6ef642bd5b218bc4f769e1f0a2
b4e1bdfa39b1261798cfc5e12a900da4e7bbb2c3
/Source Code/Platform/Video/RenderBackend/OpenGL/Buffers/glBufferImpl.cpp
4ca432edf2282cc2a02bdb7d8984ba3788a3bd07
[ "MIT" ]
permissive
wangscript007/Divide-Framework
720b8ccff4b417c1d5f905675b3526745f0085c7
c8c8faa2e78ac0e13131e382dff926475a3032df
refs/heads/master
2022-12-11T15:58:00.538735
2020-09-03T18:43:00
2020-09-03T18:43:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,023
cpp
glBufferImpl.cpp
#include "stdafx.h" #include "Headers/glBufferImpl.h" #include "Headers/glBufferLockManager.h" #include "Headers/glMemoryManager.h" #include "Platform/Video/Headers/GFXDevice.h" #include "Platform/Video/RenderBackend/OpenGL/Headers/GLWrapper.h" namespace Divide { namespace { constexpr bool g_issueMemBarrierForCo...
b213cceec10a0e8e4da0580542d1cc83b55a63f7
258732816a048733cc1baca3b5f79241ef0a02c1
/hash/sha256.h
c166e8f8ab5016687a094765fcb1bf7c4488c4ed
[]
no_license
romangol/cryptoBoost
160fd41ddd9249c0a5a53156d5af3d597e89238c
506aa16de46f22bb61abd0409ebf0929e77da173
refs/heads/master
2020-05-29T08:53:17.701025
2017-05-08T14:07:59
2017-05-08T14:07:59
70,032,768
14
5
null
null
null
null
UTF-8
C++
false
false
1,202
h
sha256.h
#ifndef _CRYPTO_BOOST_SHA256_H_ #define _CRYPTO_BOOST_SHA256_H_ #include <cstdint> const static size_t SHA256_DIGEST_LENGTH = 32; const static size_t SHA256_BLOCK_SIZE = 64; const static size_t SHA256_HMAC_SIZE = 32; #ifdef __cplusplus extern "C" { #endif struct SHA256_ctx { uint8_t data[64]; size_t datalen; ...
28ad4108a9940d18a84602a27bec9b6c150dbd31
40651ce673d2366194f7fc1fdfbe20296cb2b32c
/include/LuxeTestGenerator.hh
99c09a553a7b37e4a9267ffff6744d91f87233de
[]
no_license
shedprog/Luxe_LuCaS
847b55d64c6ac68182fd8ae940765a7b1e1dda0c
d9537fb4dd0f93ed512b0d7b427a40a47e6e1fcc
refs/heads/master
2022-11-19T08:35:23.199005
2019-07-25T16:49:40
2019-07-25T16:49:40
198,591,583
0
0
null
null
null
null
UTF-8
C++
false
false
1,934
hh
LuxeTestGenerator.hh
#ifndef __LUXETESTGENERATOR_H #define __LUXETESTGENERATOR_H #include <fstream> #include <string> #include <vector> class FileData; // Described heareafter class LuxeTestGenerator { public: /// Constructor // LuxeTestGenerator (Laser &laser_, BaseEBeam &ebeam, int rndseed_); LuxeTestGenerator (); /...
240d1e8d23afa264c7d1797bd3bb767537ec50d6
a71785c71eef6acb0afb76b2b0990f9e89f00585
/Codes/Sort/QuickSort/main.cpp
1edc3e6e21258952a0746488b9d2cbf2eb93c74a
[]
no_license
chichuyun/Algorithm
c0e980e2eb6d53f9830c62044ebea94431ea22e0
8ae69df3af5214b3019156b3ca6e3ee09d1cea86
refs/heads/master
2023-04-08T11:01:17.841373
2023-04-05T15:19:03
2023-04-05T15:19:03
154,915,602
2
1
null
null
null
null
UTF-8
C++
false
false
1,071
cpp
main.cpp
#include<iostream> #include<vector> #include<utility> using namespace std; typedef vector<int> vecInt; void quicksort(vecInt &, int, int); int partition(vecInt &, int, int); int main() { vecInt lst; int in, num; cout<<"num: "<<endl; cin>>num; cout<<"Input nums: "<<num<<endl; for(int i=0;i<...
49d06033efadc22ea854df26e3674db6bcfbb6ff
58fd0915273596dcf9156cc7d61b6c3f7614e26c
/tools/IGL/DiskCutter.cpp
646cf6e0b3b98043ca5d46b4f9385c374cf9ebdd
[]
no_license
AwesomeGeometricAlgorithm/PyMesh
6d7a04e49aa8d0771114c4c05cd70e6f83d66fd7
d5b06cfc1ad86973c3ba77049da52a37187a5680
refs/heads/master
2022-01-05T12:12:53.778848
2019-04-19T21:25:57
2019-04-19T21:25:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
874
cpp
DiskCutter.cpp
/* This file is part of PyMesh. Copyright (c) 2019 by Qingnan Zhou */ #ifdef WITH_IGL #include "DiskCutter.h" #include <igl/cut_to_disk.h> #include <vector> #include <Math/MatrixUtils.h> #include <MeshFactory.h> #include <MeshUtils/MeshCutter.h> using namespace PyMesh; void DiskCutter::run() { std::vector<std::...
c0bb521ceb4ea2b834998c1c38b47496a1175f1d
1636e263470286f72a659bc25f39027c6923b8b1
/tags/1.21/windows/ClientsPage.cpp
314c331921fe9956ad55ac0dca118727624a9988
[]
no_license
BackupTheBerlios/rsxplusplus-svn
62e87121306dbbf055248ac7b97995d83cca09f9
d50d613b085bd2ab958b0cdc884bcb6a8aacbf39
refs/heads/master
2020-04-20T18:05:23.244919
2012-02-08T23:13:04
2012-02-08T23:13:04
40,820,934
0
0
null
null
null
null
UTF-8
C++
false
false
9,951
cpp
ClientsPage.cpp
#include "stdafx.h" #include "../client/DCPlusPlus.h" #include "../client/SettingsManager.h" #include "Resource.h" #include "ClientsPage.h" #include "DetectionEntryDlg.h" #include "ChangeRawCheatDlg.h" PropPage::TextItem ClientsPage::texts[] = { { IDC_MOVE_CLIENT_UP, ResourceManager::MOVE_UP }, { IDC_M...
91f83366b2290c55a2a5bbb5ab17eb84911f7c91
a8e6343aefded638b9830e7596b8413822f89a61
/Depot Rearrangement/main.cpp
d78404f9151457aec61887244e3cf5e783094d5e
[]
no_license
nikolapesic2802/Programming-Practice
ed7c6f9fb79d92b55092f0b36daaade375e9f9bb
bc2a47fadb4af5d50f089c61a0971ec1a831d2d6
refs/heads/master
2021-11-29T00:26:37.586714
2021-11-16T16:14:50
2021-11-16T16:14:50
156,237,050
5
4
null
null
null
null
UTF-8
C++
false
false
2,844
cpp
main.cpp
/* -https://github.com/mostafa-saad/MyCompetitiveProgramming/tree/master/Olympiad/CEOI/official/2005 */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/rope> #define ll long long #define pb push_back #define sz(x) (int)(x).size() #define mp make_...
db760e364b4c0dc9545eecea95b8af282afb404a
106b7acf2da5225670b54bdad47c6b87730efb6c
/examples/test.cpp
e4aa28e612f31e957621292228fb8a57955906da
[ "BSD-3-Clause" ]
permissive
mfkiwl/libf
7259bbfb8080bec997dd4c0ea6d434c4e0ea6f10
1e549c9dc2085968e0bbf99480c0105e53275ee4
refs/heads/master
2021-10-10T20:53:55.478884
2019-01-17T06:28:19
2019-01-17T06:28:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
21,207
cpp
test.cpp
/* * Copyright (c) 2017 The National University of Singapore. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * no...
f175955cd347a2f7710969b8c136f9544d4b1a2e
7c2420e0a7c8b28a425a7ed5466b527cb4f27d9b
/sources/kern/include/J4Output.hh
d45515bab8b1e4f40b61ced28600d265564a062d
[]
no_license
nobuchiba1006/DOUMEKI
d1705054b95b79f9089ec5cff427513bd9fd5745
7c17ba485b616df5e15764d148d4fec358d7b480
refs/heads/main_woroot
2023-07-30T15:16:59.589294
2021-09-30T02:52:06
2021-09-30T02:52:06
411,891,541
0
0
null
2021-09-30T02:52:06
2021-09-30T02:07:10
C++
UTF-8
C++
false
false
754
hh
J4Output.hh
// $Id: J4Output.hh,v 1.1.1.1 2004/08/26 07:04:26 hoshina Exp $ #ifndef __J4OUTPUT__ #define __J4OUTPUT__ //************************************************************************* //* -------------------- //* J4Output //* -------------------- //* (Description) //* Output Hit data //* //* (Update Record) //* 200...
b319b72d739b478d7518d46de2c03f163284241b
97f44f5b96b97609128df991f5eb8738d5eb8b9e
/src/Battle/SkillGenerator.cpp
096b36d73e19d65a13bb0eb57ac8986248486ef6
[ "MIT", "BSD-3-Clause", "Zlib" ]
permissive
Panzareon/RoguePG
c12b89f61de69ad01a29b863ae95d2aefe1b1f51
7c276c1c961c8b7a24cd88dc4b2de2ef99cd832c
refs/heads/master
2021-01-17T05:24:05.828546
2020-01-31T19:47:19
2020-01-31T19:47:19
63,473,433
0
0
null
null
null
null
UTF-8
C++
false
false
6,668
cpp
SkillGenerator.cpp
#include "Battle/SkillGenerator.h" #include "Battle/EffectFactoryList.h" #include <iostream> #include "Battle/PassiveSkill.h" SkillGenerator::SkillGenerator() { //ctor } SkillGenerator::~SkillGenerator() { //dtor } void SkillGenerator::AddSkillTarget(BattleEnums::Target target, float chance) { m_skillTar...
2b700f625f79911a675c29406610b6c22ad5afe8
7e13d53f8e36fe17e1c7e2aa39945c616b02b709
/ESP8266 Http Comunication V2/src/main.cpp
94abeec9bb54a0d75408b1b95fd3cc94078bf2cc
[ "MIT" ]
permissive
lokneey/IoTCommunication
ed7a1dfba2520b59f2fcdeb34e10e4a7eb3a0ef8
fd955da0546ed8f6a8ab6dffc6a53f9c4e0453a8
refs/heads/master
2020-05-19T12:40:32.263199
2019-05-10T14:55:58
2019-05-10T14:55:58
185,018,823
0
0
null
null
null
null
UTF-8
C++
false
false
8,643
cpp
main.cpp
/* During creation of this file there were used following websites as source of knowledge: https://randomnerdtutorials.com/decoding-and-encoding-json-with-arduino-or-esp8266/ https://arduinojson.org/v5/assistant/ ArduinoJson version: 5.13.2 */ #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266...
98435821d1f402264454ca3bbe6c80fa03d86a1a
fefa1b28e82f1f6f8d00d8414de6a449e0d5ca64
/patterns/behavioral/template_method/templateMetod.h
61ff55ee467dd35bbb68b8e7a165837f69c91793
[]
no_license
Kpada/ramen_design_patterns
7912321972f44548b535120388c593b8c4cac1a8
28bdff8da5f3ccb1d440f10754503963760d2ee9
refs/heads/master
2023-08-17T15:06:55.294385
2023-07-23T06:28:34
2023-07-23T06:28:34
393,359,271
0
0
null
null
null
null
UTF-8
C++
false
false
2,899
h
templateMetod.h
#ifndef __TEMPLATE_METHOD_H__ #define __TEMPLATE_METHOD_H__ #include <iostream> #include <memory> #include <string> #include "../../iPattern.h" /* GoF design pattern: Template Method */ namespace TemplateMethod { /* Dinner base class * There are Base operations, Required operations, and Hooks here */ class Dinner...
fdfee6ab5905051a0fcc3a228252803f5e8380c0
5076c851f47aed6c8eb7298566fe0bb6eea3fd5d
/src/Vendas.cpp
c12f8ac592db5151e84510fe55616485dbef7742
[]
no_license
pieromorais/trabalho-te353
5a474804632b8eae827d7a6c216946cac4720efc
01b5ea0ac0b4331b4506d294f3ef8261bc584b7b
refs/heads/main
2023-02-28T20:36:44.316881
2021-02-01T21:21:32
2021-02-01T21:21:32
320,371,156
1
1
null
2021-02-01T21:21:33
2020-12-10T19:33:56
C++
UTF-8
C++
false
false
3,578
cpp
Vendas.cpp
#include "Vendas.h" #include "Utilities.h" void vendas(void){ // Mesma lógica do main bool menu = false; while(!menu){ menu = menu_vendas(); } } bool menu_vendas(void){ // Menu para lidar com a parte de vendas da // loja de informática size_t opcao = 0; std::cout << "1 - Softwa...
a62f53d7ce7eafad14b4588c3d72a1321ad2ed63
2107fc12d68ac435e7137ad979994bafd3f8e7d9
/TP2/Somador/Somador - Automatizado.cpp
7551362dccf82a7007094f7ac87950e43d3ef630
[]
no_license
JulianoLMarinho/SistemasDistribuidos
5119ff62660c9603905e0c073d274091c35a4cbb
c8289265d706f428bd4f3b481f25a80659495cd6
refs/heads/master
2020-03-07T10:22:41.075804
2018-06-14T21:30:04
2018-06-14T21:30:04
127,430,213
0
0
null
null
null
null
UTF-8
C++
false
false
2,427
cpp
Somador - Automatizado.cpp
#include <iostream> #include <atomic> #include <random> #include <thread> #include <chrono> #include <fstream> using namespace std; class Spinlock{ atomic_flag lock = ATOMIC_FLAG_INIT; public: void acquire(){ while(lock.test_and_set()){} } void release(){ lock.clear(); } }; vo...
661630ef43d5b43f0e50cf631783de1a121dad9c
0b526add40b66bbeac6d9a16a3825ee54441179d
/MsClass/INCLUDE/ObjectString.hpp
898c1d865119c6e8ff87ab93d3c816f29d8b8082
[]
no_license
tchv71/ScadViewer
2ca06c4b91ac65eb2e2da539786c30dc5331834a
541d7ca309001de54a4876fbc7a3be471f40dfd6
refs/heads/master
2021-05-24T06:52:37.582026
2021-02-14T20:42:16
2021-02-14T20:42:16
56,400,736
1
1
null
null
null
null
UTF-8
C++
false
false
369
hpp
ObjectString.hpp
#ifndef OBJECT_STRING_FLAG_H #define OBJECT_STRING_FLAG_H #include <BaseClass.hpp> class OBJECT_STRING : public BASE_CLASS { public: OBJECT_STRING() { Init(0); } ~OBJECT_STRING(void) { Destroy(); } int EXPORT Add(LPSTR Text, int LenText, BYTE &Control ); int EXPORT Add(LPSTR Text ) { ...
92ab48a1cda89fd077747a161dae1b5df749953b
6af2cd241211e000aaec4a42d1627a765b5d8666
/examples/chapter2/example2_7.cpp
d33a30a1f116dd66ac06c11a2a18ae8c7d1110cd
[]
no_license
FOSSBOSS/Learning-OpenCV-3_examples
6dd036bba7f65f608a665e0555355e000c228c28
416c0cdbfac2f27764815feec5fb14d2a0ee2d5a
refs/heads/master
2021-01-12T03:36:51.674927
2017-01-21T01:44:31
2017-01-21T01:44:31
78,237,776
0
0
null
2017-01-06T20:49:59
2017-01-06T20:49:59
null
UTF-8
C++
false
false
524
cpp
example2_7.cpp
#include <opencv2/opencv.hpp> using namespace cv; int main(int argc, char ** argv){ Mat img_rgb, img_gray, img_cny; img_rgb=imread(argv[1]); //get an image namedWindow("Source", WINDOW_AUTOSIZE); // I'd call it src. namedWindow("Gray", WINDOW_AUTOSIZE); namedWindow("Canny", WINDOW_AUTOSIZE); cvtColor(img_r...
65eb9796d8de239cd29754f1e1c319b9ec49f03f
5ddb12c56d837a0ac345a3402a0fe9c8a12bb1b9
/CPainter.h
a65c6cd72c28fd5ce5143aa42fe0e069e186d95c
[]
no_license
Geometrie/LZRobe
b301cb651ef525d56cb5b11454748b2e772dc8c4
1a1b554c99174af01aeeb52bc312b629a8ec3aa9
refs/heads/master
2020-04-30T20:27:15.634664
2019-05-29T12:38:15
2019-05-29T12:38:15
177,067,005
8
1
null
null
null
null
UTF-8
C++
false
false
2,876
h
CPainter.h
#ifndef CPAINTER_H #define CPAINTER_H #include <fstream> #include <math.h> #include <wx/font.h> #include <wx/scrolwin.h> #include <wx/dcclient.h> #include <wx/dcbuffer.h> #include <wx/msgdlg.h> #include "CLZInquirer.h" #ifndef min #define min(a, b) (((a) < (b))?(a):(b)) #endif #define X_GAMEBOARD 8 #defin...
4e7e48e18894a5688c589b52c64bc29ed4cef4e8
e4e2a9dc58fcc0bc41e268b354d943846202928b
/c++/mat01.cpp
d2fa569f63e651a8f1c614c3806df23af6c1c403
[]
no_license
Carlos-Rodolfo-Rodriguez/Carlos-Rodolfo-Rodriguez.github.io
713316922d3901fd304bb7e97f67d6fa0dc6875f
6b14da1df87eb7a6350625f5773b9413acf7ae6b
refs/heads/master
2022-04-22T18:14:51.313165
2020-04-16T20:01:27
2020-04-16T20:01:27
256,269,877
0
0
null
null
null
null
ISO-8859-1
C++
false
false
713
cpp
mat01.cpp
// Archivo de traducción de seudocódigo a C++ #include <program1.h> /** * Enunciado: Dada una matriz cuadrada de hasta 17 filas por columnas cuyo tamaño real lo elige el usuario y es siempre impar. Calcular el desvio estandar de: 12345 12345 12x45 1xxx5 xxxxx */ principal ...
0af243fae4e85888dc99aaa44b78760ffaacf54e
229892bd1f01f4b0bb728d3a246ac74a901d0ede
/Ctrl 2K Engine 0.0.1/Source/System/Widget/Text.cpp
9e5ec48ea351bb7fe035d73e0978aec69145a3c2
[]
no_license
ArianHeight/Ctrl2k
50efe64f07b1967d2ab33bacebb014fc81393000
6ad4b492dfcefb0dc39063198c031fff05d13119
refs/heads/master
2023-03-19T12:13:18.300987
2021-03-22T05:16:13
2021-03-22T05:16:13
201,695,837
0
0
null
null
null
null
UTF-8
C++
false
false
4,728
cpp
Text.cpp
#include <Ctrl 2kPCH.h> /* Text object */ //functions needed void drawStringInBox(int fontIndex, std::string& string, glm::dvec2 cursor, double width, float size, glm::vec4 colour); void drawString(int fontIndex, std::string &string, glm::dvec2 cursor, float size, glm::vec4 colour); Text::Text(std::string name, Fo...
40d941c5144f6919e979b73d20f95230fb803cfc
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_new_hunk_1711.cpp
0d42027dcccabd0bd943f83a2372b69cbf5d87c1
[]
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
919
cpp
Kitware_CMake_new_hunk_1711.cpp
} std::string end_time = ::CurrentTime(); log << "\t<LOCTested>" << total_tested << "</LOCTested>\n" << "\t<LOCUntested>" << total_untested << "</LOCUntested>\n" << "\t<LOC>" << total_lines << "</LOC>\n" << "\t<PercentCoverage>"; log.setf(std::ios::fixed, std::ios::floatfield); log.preci...
097b589d3db2aaa23ce020485f5a78221ea319d1
9963111a6f2e61a555eb1b84cdb9c4542446f749
/src/Utils.cpp
bb87d4c82f27b61844821f13c8a01b9f88d612ea
[]
no_license
minsin56/Raytracer
eeaa524378caba8ea5dae33db7173915d21fb101
9027cda661170a795a72a1f9ee0c4af4553b5313
refs/heads/main
2023-01-10T03:48:58.273754
2020-11-07T18:56:03
2020-11-07T18:56:03
310,184,464
0
0
null
null
null
null
UTF-8
C++
false
false
1,162
cpp
Utils.cpp
#include "Utils.h" void Utils::SetPixel(SDL_Surface *Surface, int x, int y, Uint32 PixelR,Uint32 PixelG,Uint32 PixelB) { uchar* Pixels = (uchar*)Surface->pixels; for (int c = 0; c < 4; c++) { int Color; if (c == 0) { Color = PixelB; } else if (c == 1) ...
b6f6706a8c1675f63f2e8e2456b6e214f471c82b
95e1c65e98a1df9a1ad3852b5908a3038457d4b8
/code/train.cpp
41c7e6f43e8ebff8d9d02142b5196808c2e8bc82
[]
no_license
kkkd1211/GeneNN
a44cba21c6b204bef43777c8575ad6c6b54ea56a
ea83e6828455c26d0be064a3457c7cf4676f9108
refs/heads/master
2021-09-11T15:33:07.191981
2018-04-09T08:48:59
2018-04-09T08:48:59
126,015,828
0
0
null
null
null
null
UTF-8
C++
false
false
3,692
cpp
train.cpp
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include <string.h> #include <sys/stat.h> #include "gene_class.h" using namespace std; void SynBox::train(const char type[2],int step) { printf("trainning %s...\n",type); h=5.0; ln_rate=0.5; d_rate=0.4/step; double x[7],xl[...
4f8c858e496ba86277f332db99d73aae5d181843
ebd337be89c4c0decb95b55bbf00e380c7a048c1
/CPP/543. Diameter of Binary Tree.cpp
cba37a1fce57c52f7d49eebd5114f7a981314529
[]
no_license
congfeng22/Leetcode
10f8c4baa8e3db07b1e2689628036a43c8dde767
1794586f5c4e866f85a56649a65135597e2e6b9f
refs/heads/master
2022-10-08T20:07:22.125380
2022-10-05T01:03:15
2022-10-05T01:03:15
230,495,878
0
0
null
null
null
null
UTF-8
C++
false
false
1,337
cpp
543. Diameter of Binary Tree.cpp
using namespace std; #include <iostream> #include <vector> // Definition for a binary tree node. struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullptr) {} TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} TreeNode(int x, TreeNode ...
b1059b720a81774e8a2fe9d2dee13eb38f7d2d7c
9eb6b554fe5d7c7e68bee47e63e9315904653abe
/ogre/src/server-main.cpp
4564e341cbc6b56674d3150890cb992c33d13366
[ "FSFUL", "MIT" ]
permissive
puyo/moonbase
d189690f477054006739c512285b6d67d8b0e885
8793ea84a1a6461efd837a2adced9484fbe6ccef
refs/heads/master
2021-01-25T12:01:58.931372
2013-03-21T22:57:43
2013-03-21T22:57:43
510,795
1
0
null
null
null
null
UTF-8
C++
false
false
448
cpp
server-main.cpp
#include <iostream> #include "Game.hpp" using namespace Moonbase; #ifdef __cplusplus extern "C" { #endif int main(int argc, char *argv[]) { Game game; Player::Ptr p1(new AIPlayer); game.add_player(p1); Player::Ptr p2(new AIPlayer); game.add_player(p2); game.load_map("longcat"); game.st...
59775018e77368e7545c3add8085a4b9710b8f7f
f16dbbb70e39ca14abdbcf804379985d908d0f14
/combination-sum-ii/combination-sum-ii.cpp
fef5087496bfc7d63a01832fcf2df0dce45e3ce8
[]
no_license
oraclesoul/MyLeetCode_Submissions
e3f13e314f2c963466cdc90b1de0c8c32da7db18
d151f7ffcf653f3ea0d9ccfad6e61019fcd9ef48
refs/heads/main
2023-08-16T04:33:58.661200
2021-10-13T17:16:44
2021-10-13T17:16:44
372,715,455
0
1
null
null
null
null
UTF-8
C++
false
false
734
cpp
combination-sum-ii.cpp
class Solution { public: set<vector<int>>s; vector<int>v; void findAllComb(vector<int>&candi,int i,int target) { if(target==0) { s.insert(v); return; } if(i<0 || target<0) return; findAllComb(candi,i-1,target); v.push_...
bc80bdb1f40d4409f61d8d75df1d924494bcd47c
7774f5fa84edbe372df5bbb536e8b07b51306681
/Temp/StagingArea/Data/il2cppOutput/Bulk_System_1.cpp
84ebb713b976f845be11e96014f88db94f6085b8
[]
no_license
1jeffcohen/Mr-Turtle-Breaks-Free
677f4792b30ac3041e1454e6027a64478ec18a05
360506196b46e3b8234cf732230b266e655975e1
refs/heads/master
2016-09-01T16:24:29.294516
2015-10-08T21:46:23
2015-10-08T21:46:23
43,917,971
0
0
null
null
null
null
UTF-8
C++
false
false
463,622
cpp
Bulk_System_1.cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> struct t900; struct t905; struct t907; struct t834; struct t796; struct t552; struct t15; struct t797; s...
341ba312bc63ddc7f4f7407c9e2bdb80dea030d2
6b7b2b4c1a00a4f16950dab4daf1c9b7d1b3ec79
/cli.cpp
ba294b01684d08bee24f0ae740b8f87e66f8ccda
[]
no_license
jangmarker/tt1_contextgraph
659c40138cd220e2d3c60905f6a8c5e93a17db85
77429b660e69860a202bad7545f63bef61194fcd
refs/heads/master
2021-05-09T02:18:43.579308
2018-01-29T14:39:18
2018-01-29T14:39:18
119,204,284
0
0
null
null
null
null
UTF-8
C++
false
false
2,721
cpp
cli.cpp
#include "cli.h" #include "database.h" #include "file_access.h" #include "search.h" #include "gml_generation.h" #include "3rdparty/CLI11.hpp" #include <experimental/filesystem> #include <string> #include <string_view> using namespace std::literals::string_literals; namespace fs = std::experimental::filesystem; name...
a124896a5689f6901b2a8db4f3ce6313eff50f01
7c1128e7b295b81a80d4ab35b34ef96becc9b923
/src/framework/error.h
a7649fba055d1f7935443036a45041c654d363db
[ "BSD-2-Clause" ]
permissive
yang123vc/vr
3a621ddb184c6b96808be107fe9cd515154e306a
e2f9802ecbd9ee4a4b6047ef7d17662e4898fd1c
refs/heads/master
2020-04-06T06:48:00.567864
2016-08-24T03:19:33
2016-08-24T03:21:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
329
h
error.h
#pragma once #include "framework/fmt.h" namespace framework { template <typename ... Args, typename E = std::runtime_error> __declspec(noreturn) void die(const char * format, const Args & ... args) /* throw(E) */ { string message = fmt::format(format, args...); throw E(fmt::format(format, args...))...
be8f5bfa605d32ec8b76146e0824de86f7fc9c18
6c78ebd8f7a91957f84e260bf4640e76b8d665e7
/include/ncine/IAudioDevice.h
a34eea9c5c6fbc9d8362bf43a6d320210ee4bf70
[ "MIT" ]
permissive
TheCoderRaman/nCine
b74728783e34151b4276e2fb303d605602ca78ba
a35f9898cc754a9c1f3c82d8e505160571cb4cf6
refs/heads/master
2023-08-28T14:57:43.613194
2019-05-30T19:16:32
2019-06-14T16:31:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,963
h
IAudioDevice.h
#ifndef CLASS_NCINE_IAUDIODEVICE #define CLASS_NCINE_IAUDIODEVICE #include "common_defines.h" namespace ncine { class IAudioPlayer; /// Audio device interface class class DLL_PUBLIC IAudioDevice { public: enum class PlayerType { BUFFER, AUDIOSTREAM }; virtual ~IAudioDevice() = 0; /// Returns the listene...
04f41097a71a6f839673ceffe4b2267f3d4ec983
7c73ae25ddd9c84acdc907b09db6faf8799e01a1
/Assignments/Lab Assignment Day-25/doblelinkedlist.cpp
4bc556252cb49d02494d2e72b1d730c4fbd55b68
[]
no_license
amitbanerjee1999/Lab-Assignment-3rd-Sem
9c98d7e618a1d6712cfcb0c12c9594d8ba0ea332
8bec1ba28dfc374ae5d102278996c66e09767112
refs/heads/main
2023-05-15T06:36:44.654035
2021-05-30T19:10:53
2021-05-30T19:10:53
358,642,948
0
0
null
null
null
null
UTF-8
C++
false
false
3,894
cpp
doblelinkedlist.cpp
#include<iostream> #include <bits/stdc++.h> using namespace std; class Node { public: int data; Node *next; Node *prev; }; class DoubleyLinkedList:public Node{ Node *head,*tail; public: DoubleyLinkedList(){ head=NULL; tail=NULL; } Node* getnode(); void insertBeg(); void inse...
d8fb59d628fba035d0234946e0f4b35a347f2ee9
d38d42d5ac27be333b0a7514b9f1eb60724e7e6e
/Pong/Math.cpp
ac6451b0f5fbd92740a11e3b7483fe35b3c9ff3c
[]
no_license
hilvi/SimpleEngine
220569cbc7665c2d6f2270fcc640ec5bf2df40f6
6bac87854c6c8f976e8d0f6e4dc08f339d592ace
refs/heads/master
2021-01-23T11:55:15.148077
2014-03-14T08:00:38
2014-03-14T08:00:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
622
cpp
Math.cpp
#include "Math.h" namespace Math { float dotProduct(const sf::Vector2f &lhs, const sf::Vector2f &rhs) { return lhs.x * rhs.x + lhs.y * rhs.y; } sf::Vector2f reflection(const sf::Vector2f &vector, const sf::Vector2f &normal) { return vector - 2 * dotProduct(vector, normal) * normal; } sf::Vector2f normalize(c...
402ed41bccb3b8a34651b8ad87187533028f2cf2
44dc0b2c24a056affaf94502d6ff09fe920129ee
/AirBreakers/LoadInTitle.cpp
2d5eafe600a3332006364a75e33ae954d9672925
[]
no_license
kazenoarika/AirBreakers
07c39335b0a51fde738448372d65c6c505668f26
eb97b2aebc0474a980a1e55736cbc33902548213
refs/heads/master
2020-04-06T04:12:08.047244
2016-07-11T01:01:14
2016-07-11T01:04:48
56,426,892
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,578
cpp
LoadInTitle.cpp
#include "Game.h" #include "LoadInTitle.h" #include "Input.h" CLoadInTitle::CLoadInTitle(const std::shared_ptr<ITitleChanger> changer):BaseTitle(changer){ } CLoadInTitle::~CLoadInTitle(void) { } void CLoadInTitle::Initialize(){ GhBackground = LoadGraph("dat/image/title/load00.jpg"); /* std::ifstream ifs(""); cha...
4c15994499fa3334a99cfd723015b6f85dffc4fd
914a83057719d6b9276b1a0ec4f9c66fea064276
/test/performance-regression/full-apps/qmcpack/src/Optimize/VariableSet.cpp
79c6a7d94b5c16efe97563e5c61ded7a2904aa09
[ "NCSA", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "BSD-2-Clause" ]
permissive
jjwilke/hclib
e8970675bf49f89c1e5e2120b06387d0b14b6645
5c57408ac009386702e9b96ec2401da0e8369dbe
refs/heads/master
2020-03-31T19:38:28.239603
2018-12-21T20:29:44
2018-12-21T20:29:44
152,505,070
0
0
Apache-2.0
2018-10-11T00:02:52
2018-10-11T00:02:51
null
UTF-8
C++
false
false
4,783
cpp
VariableSet.cpp
////////////////////////////////////////////////////////////////// // (c) Copyright 2008- by Jeongnim Kim ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // Jeongnim Kim // National Center for Supercomputing Applications & // M...
01f755d9448ed976fbd08ecd1cbfa307481c1d3c
9de0cec678bc4a3bec2b4adabef9f39ff5b4afac
/PWGLF/SPECTRA/AntiprotonToProton/AliProtonAnalysisBase.h
5a88df4fed163a0e19fde5848766421ef976dfaa
[]
permissive
alisw/AliPhysics
91bf1bd01ab2af656a25ff10b25e618a63667d3e
5df28b2b415e78e81273b0d9bf5c1b99feda3348
refs/heads/master
2023-08-31T20:41:44.927176
2023-08-31T14:51:12
2023-08-31T14:51:12
61,661,378
129
1,150
BSD-3-Clause
2023-09-14T18:48:45
2016-06-21T19:31:29
C++
UTF-8
C++
false
false
16,459
h
AliProtonAnalysisBase.h
#ifndef ALIPROTONANALYSISBASE_H #define ALIPROTONANALYSISBASE_H /* See cxx source for full Copyright notice */ /* $Id: AliProtonAnalysisBase.h 31056 2009-02-16 14:31:41Z pchrist $ */ //------------------------------------------------------------------------- // Class AliProtonAnalysisBase // ...
26b47f260becbf79b5749f8e83e4ff188b8ba92a
b0acd23046e2d4fb2facdb4b37d7b464547108dc
/Data Structures/Doubly Linked List/Doubly Linked List.cpp
33e1d514fe95d29d7b67db7b3f09eba06a2b9d9c
[ "MIT" ]
permissive
AliOsm/ADT
6e352c97440e0ab7be26cea30f7589d1ab361ef4
1d9ff3a18e7009a48254173392b31ae9b3c17397
refs/heads/master
2021-06-03T06:03:48.049449
2020-02-14T01:18:19
2020-02-14T01:18:19
110,666,418
4
4
MIT
2018-04-07T11:54:21
2017-11-14T09:05:36
C++
UTF-8
C++
false
false
2,050
cpp
Doubly Linked List.cpp
#include <iostream> using namespace std; typedef int T; struct node{ T info; node *next; node *back; node(T data = 0,node *n = NULL,node * b =NULL){ info = data; next = n; back = b; } }; class DoublyLinkedList{ private: node *first,*last; int length; public: DoublyLinkedList(){ first = last = NULL; ...
c03e435ace5798318b432497f120ad5ea9dfc3ad
d690a7f7fe2329f08274e50d6b9f6c1e048c5e57
/src/platform/stm32/drivers/UsbMidi.h
ee925f5b1389e32c5896bce3b6d49bd881637d21
[ "freertos-exception-2.0", "MIT", "GPL-2.0-or-later" ]
permissive
westlicht/performer
5fde2bbb74db2eb9b855cc08c11fb99f3cb8746a
dac9d12621b4683fc0e98303a422b34ac6f3d23a
refs/heads/master
2022-10-03T00:02:48.422071
2022-06-07T12:16:45
2022-06-07T20:46:39
98,348,867
219
69
MIT
2022-09-21T13:31:29
2017-07-25T20:51:01
C
UTF-8
C++
false
false
2,468
h
UsbMidi.h
#pragma once #include "core/utils/RingBuffer.h" #include "core/midi/MidiMessage.h" #include <functional> #include <cstdint> class UsbMidi { public: typedef std::function<void(uint16_t vendorId, uint16_t productId)> ConnectHandler; typedef std::function<void()> DisconnectHandler; typedef std::function<bo...