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
7aa1483a6f4228e54a2db806feacf37a71dd0087
f4766a28fa0025e68baf8b15d8a26cadfce249d5
/leetcode/每日一题/7月/7.16/7.16.cpp
016611ddf799c8f17c0bb6b9a3706b6455d10b78
[]
no_license
EricMartellHu/c-c--
9917e243c024439f076dc7c0de37d8b9aae87dfa
6309745e51d9dc6ecd6c6334a9af4a4625cf499b
refs/heads/master
2023-07-13T20:37:45.321578
2021-07-24T11:53:27
2021-07-24T11:53:27
380,469,078
0
0
null
null
null
null
UTF-8
C++
false
false
288
cpp
7.16.cpp
#include<iostream> #include<vector> using namespace std; class Solution { public: int search(vector<int>& nums, int target) { int count = 0; for(int i = 0 ; i < nums.size(); i++){ if( nums[i] == target) count++; } return count; } };
fd0ab39a048121bd42973ea3e8e42b4b354c1bdf
74ef11065048fcf08ee5b9ef1c11c0ce10079301
/src/scripting/operators/export_sequence.h
7ceb3fc89ee9c85b4d21fed01518156ec68e6081
[ "MIT" ]
permissive
kliment-olechnovic/voronota
fa2548c9ccc3dd6f5a10a054300aca8b6d31ecf4
52c2b0d55f2979d0eef478ed0be20376cb3d561a
refs/heads/master
2023-09-04T05:09:11.275304
2023-08-30T07:59:07
2023-08-30T07:59:07
203,789,299
19
6
MIT
2023-07-04T06:25:54
2019-08-22T12:20:48
C++
UTF-8
C++
false
false
2,894
h
export_sequence.h
#ifndef SCRIPTING_OPERATORS_EXPORT_SEQUENCE_H_ #define SCRIPTING_OPERATORS_EXPORT_SEQUENCE_H_ #include "../operators_common.h" namespace voronota { namespace scripting { namespace operators { class ExportSequence : public OperatorBase<ExportSequence> { public: struct Result : public OperatorResultBase<Result> { ...
8ec6936a3668739172f42312eb156778b92ee0a2
4a90ff31f17e8d48f9a8f3dcae6c646e22f90bb4
/GuiaLab05/dma.cpp
f968e12b322751f61ecfb0c576ce2e436ca337bc
[]
no_license
Nicole2828/Stefanie-Diaz
b983b94300353afac39693e260bbeab141d470bb
5b96767e951005df80dfc7d1285f1c79b6cce1fb
refs/heads/master
2021-05-16T18:27:28.030879
2020-07-14T03:13:29
2020-07-14T03:13:29
250,419,127
0
0
null
null
null
null
UTF-8
C++
false
false
686
cpp
dma.cpp
#include <iostream> using namespace std; bool bisiesto(int a){ return((a % 4) == 0 && (a % 100) != 0) || ((a % 400) == 0); } int dias_mes(int mes, int a){ int dias = 31; if (mes == 4 || mes == 6 || mes == 9 || mes == 11){ dias = 30; } else if (mes == 2){ if (bisiesto (a)){ ...
058ddeb79465bfaf4ef82926337d2c29869e697e
ef1aadbd0ea8b1cfcb72394b01c21b5160d8845a
/Algorithms/944.Delete-Columns-to-Make-Sorted/solution.cpp
ffa6096a663f35a09a2d71e16124c68f8d6073bb
[ "MIT" ]
permissive
PartTimeHuman/LeetCode-NOTES
0dc8bff79ef897ba3f0ebbe14ef3eac153d794b3
49a7e33b83d8d9ce449c758717f74a69e72f808e
refs/heads/master
2023-09-05T01:59:47.515409
2021-11-14T00:52:48
2021-11-14T00:52:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
537
cpp
solution.cpp
class Solution { public: int minDeletionSize(vector<string>& A) { string last = A[0]; int len = A[0].size(); int del = 0; for(int i=1;i<A.size();i++){ for(int j=0;j<len;j++){ if(last[j] != '#'){ if(A[i][j] >= last[j]) ...
2e49f573ca89208cb56d1adfdf449a6b5c07e885
621ddbb47601d27fecac064edd3df5b4824e0332
/2BIT/winter/ITU/my_window.cpp
64eadbd037ad84f49eb505f4d6f058e23cc99353
[ "MIT" ]
permissive
MisoKov/vutbr-fit-bit
26f22e9a463040ccc504ec7646c2dba894ccf760
5bee4c50ea231f2f6f9f1ce9260e2a913e1cfc6b
refs/heads/main
2023-03-05T17:16:40.995440
2021-02-17T08:17:46
2021-02-17T08:17:46
339,384,896
1
0
null
null
null
null
UTF-8
C++
false
false
9,621
cpp
my_window.cpp
#include "my_window.h" #include "ui_my_window.h" #include <QFrame> #include <QAbstractTableModel> #include <QFile> #include <QGroupBox> #include <QMouseEvent> #include <QDebug> #include <QJsonDocument> #include <QJsonObject> #include <QJsonArray> #include <QStringList> #define MODE_2 0 #define MODE_5 1 #define MODE_2_...
3308b272910b442aa49ffb42f326076efa5ef9fe
97f09fcfe05c14bffc357e03f1951841217e1db1
/src/cst/evx/core/pollers/poll_poller.hpp
a056b7132c2397fde8b5dcab7051db5de495e4b1
[ "MIT" ]
permissive
cppstack/evx
c9eaacf18e93080faa2d370ce5abd9b6ccaa6b59
36ad941528b16f9093f8340d8f5080593f548979
refs/heads/master
2021-09-10T16:29:18.366125
2018-03-29T09:23:14
2018-03-29T09:23:14
120,171,789
0
0
null
null
null
null
UTF-8
C++
false
false
455
hpp
poll_poller.hpp
#ifndef _CST_EVX_POLL_POLLER_HPP #define _CST_EVX_POLL_POLLER_HPP #include "core/poller.hpp" #include <cst/lnx/os/poll.h> #include <vector> #include <map> namespace cst { namespace evx { class poll_poller : public poller { public: using poller::poller; void modify(int fd, int oev, int nev) override; vo...
8fda6511d7c5a231c030bdbfbd786a8117796600
ae330e655bbfa3152f8edfd98b55eeb3bcd51479
/src/Graphics_TextureManager.h
13f462deb5283d535607ca9f539a4387844ac75d
[ "MIT" ]
permissive
seriema/TurboLoader
3eeddebfe6b474842f773e66f03e967e387f1577
e8387cf23ee96501b99d7a47d2bda816ffe5ecea
refs/heads/master
2020-12-11T07:46:35.728401
2016-07-28T12:43:18
2016-07-28T12:43:18
55,291,406
0
0
null
2016-07-28T12:43:18
2016-04-02T11:35:25
HTML
UTF-8
C++
false
false
494
h
Graphics_TextureManager.h
#ifndef A_RETRO_UI_GRAPHICS_TEXTUREMANAGER_H #define A_RETRO_UI_GRAPHICS_TEXTUREMANAGER_H #include "Resource_Handle.h" namespace RetroGraphics { class ITextureManager { public: virtual ~ITextureManager() {} virtual void load( RetroResource::Handle * handles, const u32 size = 1 ) = 0; virtual void unload( Ret...
77800f290f354bd5fee916c47b156249c3093c4d
401f268de94e642daceae5f52bb8e5679d905dd2
/Level3/1.2XN타일링/1.2XN 타일링.cpp
a7f5194580bfe6ae6136e805c7ff53fdd99c28b8
[]
no_license
getState/Programmers-Algorithm
4c539ac25d72ca90d670be345164816635f7c1f2
f70cbef8d3325949935a9a22b0ff8639bbf241bc
refs/heads/master
2022-11-26T01:46:58.326560
2020-07-24T05:49:17
2020-07-24T05:49:17
275,632,488
0
0
null
null
null
null
UTF-8
C++
false
false
282
cpp
1.2XN 타일링.cpp
#include <string> #include <vector> using namespace std; int solution(int n) { int answer = 0; int arr[n+1]; arr[1] = 1; arr[2] = 2; for(int i = 3 ; i<=n ; i++){ arr[i] = (arr[i-2] + arr[i-1])%1000000007; } answer = arr[n]; return answer; }
d53a9ca826d55b4bcbd619bec9ccc6792902b6b8
d41fda0d5d6f87cbdf3f4af8bec2bf96bf4321d5
/Codeforces/B. Anton and Digits.cpp
726702df4694441239ae5312ec22f94c2bbe8f35
[]
no_license
Nur-Alam39/online-judges-problem-solutions
e2a0c2235b9e8909e137b4fc3f0907458abb2f71
961547f5369688d36cd7684f026642fb85c7b8aa
refs/heads/master
2023-08-05T12:56:05.235874
2021-09-13T03:45:25
2021-09-13T03:45:25
166,867,269
0
0
null
null
null
null
UTF-8
C++
false
false
284
cpp
B. Anton and Digits.cpp
#include<bits/stdc++.h> #define lli long long int using namespace std; int main() { lli d2,d3,d5,d6,f,s,ans=0; scanf("%I64d%I64d%I64d%I64d",&d2,&d3,&d5,&d6); f=min(d2,min(d5,d6)),ans+=256*f,d2-=f,s=min(d2,d3),ans+=s*32; printf("%I64d",ans); return 0; }
46331fa972fda7f4d6e3c98cab2303e72805fe1c
1d02e41631e28d262f43820b64c28bb54a60af3a
/HW3/slist.cpp
e3d6ce7c7bc01b1f9a8af546612c8c9e70c0a4ab
[]
no_license
evergreen123/CS311
53e5aa58d3e0b46ca1903a4490ed383c21bee4e2
b38443b800976013f4ba18d526185bcf91c17e8f
refs/heads/master
2020-04-05T23:40:30.019521
2015-04-07T04:25:35
2015-04-07T04:25:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,210
cpp
slist.cpp
// ==================================================== // HW3p2 slist.cpp // Your name: Jupiter Whitworth // Complier: G++ // File type: Search Link List Functions //===================================================== #include "slist.h" using namespace std; Slist::Slist() :Llist() { //Constructor, Calls LList c...
7c176903ba37010207b9c28a2c016de6c61d78d4
1273b335778755ea7e02efe415d335c22c44c43c
/source/reference-manual/qemu/arm64-substitutions.inc
5123358e2a9b281f708ed84868ff70a72308065d
[]
no_license
ricardosalveti/docs
df4c10b56a9565ec73ef7cecdd26187eb0626c62
e03d2a45eacb9c475319de778c37526975a90021
refs/heads/master
2023-04-07T02:37:37.906840
2022-02-07T21:32:42
2022-02-08T14:10:16
174,584,481
0
0
null
2019-03-08T17:58:57
2019-03-08T17:58:57
null
UTF-8
C++
false
false
538
inc
arm64-substitutions.inc
.. |ARCH| replace:: arm64 .. |MACHINE| replace:: qemuarm64-secureboot .. |FIRMWARE_BLOB| replace:: flash.bin .. |QEMU_GUI_FLAGS| replace:: -display gtk,gl=on -device virtio-gpu-pci .. |ARTIFACT_COMMANDS| replace:: # Download and extract the Factory image fioctl targets artifacts <target_number> |MACHI...
e992b401f01ccfb31fee59bcfbd7ede6a75584ad
6611712f4c655fb0b154c725229312f59e9f3f1d
/Sid_Project_Manger/Sid_Project_Manger/Src/action/inc/connectDbseverInterface.h
7b9c045866a2664b95d94f87dafa9378bc691dbc
[]
no_license
fengqing-maker/manager
4488803c64b0a96a3c4cdeff7a69076cd483bb59
e785c551a385659627c81c95adfffa9745c52c39
refs/heads/master
2022-12-10T12:57:41.807213
2020-09-11T08:08:13
2020-09-11T08:08:13
294,633,886
0
0
null
null
null
null
UTF-8
C++
false
false
424
h
connectDbseverInterface.h
#ifndef CONNECT_DBSERVER_INTERFACE_H #define CONNECT_DBSERVER_INTERFACE_H #include "../../DataBase/inc/DaoSupportInterface.h" class CConnectDbServerInc { public: CConnectDbServerInc( CDaoSupportInterface *pDao ){ m_pDaoBase = pDao;} virtual ~CConnectDbServerInc(){} virtual BOOL IsConect() = 0; virtual BOOL Con...
d8ec1861b613e2aa74bbe1705c2dd593e8706142
d71fac1a3dab9abf51e0528e65d1981f855c52e4
/src/lib/assistant.cpp
451d90687292dc385b42a70efbed3162e7eb9895
[ "CC0-1.0" ]
permissive
KDE/cantor
d9fa87ab3017bb3cc9ca5cfd568d3c5cfd1b6428
82bc4916e3c2a08205aaa6b3f7b60f4216d9fe18
refs/heads/master
2023-08-31T09:26:43.793469
2023-08-29T01:40:35
2023-08-29T01:40:35
42,720,167
51
12
NOASSERTION
2020-03-21T21:57:13
2015-09-18T12:18:18
Jupyter Notebook
UTF-8
C++
false
false
1,086
cpp
assistant.cpp
/* SPDX-License-Identifier: GPL-2.0-or-later SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com> */ #include "assistant.h" using namespace Cantor; class Cantor::AssistantPrivate { public: QString name; QString icon; QStringList requiredExtensions; Backend* backend; }; ...
cdc48ce36e11c9443980a69b4032fc4fb696e122
d24e2dbb539fd1f0641f582506f5ae5b1cf91d44
/final/Bathroom.cpp
4d81e193e13a351108a3dd6a22c4e5898676304e
[]
no_license
gpard77/cs162
74d648eaec1d7070fce37035ccb32d601beb2100
c3fb01ec67b8c93bbff0e25f8787a02b18423ccc
refs/heads/master
2020-12-24T07:48:14.121369
2016-08-25T23:25:22
2016-08-25T23:25:22
58,900,868
0
0
null
null
null
null
UTF-8
C++
false
false
2,941
cpp
Bathroom.cpp
/***************************************************** * * Geoffrey Pard * CS 162 - 400 * Date: 6/4/15 * * Description: Final Project -- RPG * This is the implementation of the Bathroom class. *****************************************************/ #include <iostream> #include <cmath> #include <string> #includ...
c00c01696b59f6a4648c6656cddf47a3e4c00bed
7029a18f2e72cac9e8c0af3f43a0f37dcbd429f8
/gunir/compiler/table_entry.cc
a4cfaf4e325c8e8fd4ef7334a73bee99d2ba215d
[]
no_license
GregHWayne/gunir
f542975e1eaf9a6a72ea533d03a6ea488d7979ac
66a57a961cc9169dbf1d0a8cc0e0d6e99e106a01
refs/heads/master
2021-01-17T21:52:05.581720
2015-07-29T03:51:25
2015-07-29T03:51:25
39,935,844
1
0
null
2015-07-30T06:53:44
2015-07-30T06:53:44
null
UTF-8
C++
false
false
3,255
cc
table_entry.cc
// Copyright (C) 2015. The Gunir Authors. All rights reserved. // Author: An Qin (anqin.qin@gmail.com) // #include "gunir/compiler/table_entry.h" namespace gunir { namespace compiler { bool TableEntry::InitTableEntry(TableManager* table_mgr, const RawTable& raw_table, ...
43519fb8cacc6b4048b9873d60cfa420d42efbbb
ae7a415f5c291960d08c73aca391e48c2f02359c
/tools/src/shader_baker.cpp
9bbbf39d6a6047ba549bbe1776ec353bd19114e8
[]
no_license
BlenderCN-Org/commonlib
7baca6483bcba06dfc33e5e0725a3f5a70a363e5
ed75131a230052483a5a0c0503aebca219a6379c
refs/heads/master
2020-05-22T18:50:02.423070
2018-06-11T17:56:46
2018-06-11T17:56:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
744
cpp
shader_baker.cpp
#include "platform_gl.h" #include <iostream> #include <SDL.h> #include "tool.h" #include "shader_baker.h" #include "platform.h" using namespace std; using namespace Tool; ShaderBaker::ShaderBaker() {} ShaderBaker::~ShaderBaker() {} void ShaderBaker::init() { //this is purely so we can compile shaders and get o...
a256c51ce72ce6f7cb0ab18c07e1e06a338ed7db
1de3eb9551762d3da407ee6f23b1999cc924e379
/g4amstest.cc
64a5ff084a71f3d5a7960130311ee7bc79facc3b
[]
no_license
arekfu/g4-ams-test
0840b34857ccb1c2ee09af63537c3c3896b6d201
2e78ad5a05e4219a5dc1dfe056c67d1bc7aba57b
refs/heads/master
2020-12-02T06:21:43.900519
2017-07-12T05:30:49
2017-07-12T05:30:49
96,820,846
0
0
null
null
null
null
UTF-8
C++
false
false
4,963
cc
g4amstest.cc
#ifdef G4MULTITHREADED #include "G4MTRunManager.hh" #else #include "G4RunManager.hh" #endif #include "G4UImanager.hh" #include "Randomize.hh" #include "AMSTestDetectorConstruction.hh" #include "AMSTestActionInitialization.hh" #include "G4PhysListFactory.hh" #include "G4VisExecutive.hh" #include "G4UIExecutive.hh" ...
9d219747edeac189b6540512471575f118489d9d
d053e0e8687f122d120bcd0fa1f9076deb35afa5
/Olymp/Sbory_11_2014/4/E.cpp
88c1e7c50f7b7f3ef1168053df380b22f95f5e76
[]
no_license
shaihitdin/CP
e8911bc543932866d6fc83eb1d48d9cf79918c61
dc90082f3ebedaccbfb0818cc68539c887f86553
refs/heads/master
2021-01-11T17:10:20.356635
2017-10-05T08:53:56
2017-10-05T08:53:56
79,729,913
1
0
null
null
null
null
UTF-8
C++
false
false
700
cpp
E.cpp
#include <iostream> #include <algorithm> #include <stdio.h> #include <vector> using namespace std; int t; int a[1000001]; int main () { freopen ("citystar.in", "r", stdin); freopen ("citystar.out", "w", stdout); scanf ("%d", &t); for (int test = 1; test <= t; ++test) { printf ("Scenario #%d:\n",test); int n; ...
413b8a57d7c8003d5a5199d0a4917b2e88ddce96
f3a5be84d8a5a555ceb5188776cb8faa637c540e
/cube/math/MathUtil.cpp
affd148526de969fbfdb15e768328a76b3462ba3
[]
no_license
colazhu/cubetest
e7a98abb4afb26aea683b1c0824dde6b5e970c72
fc8f2f7ebbe858d784b4e360b7783c4830fe94b8
refs/heads/master
2023-06-18T21:54:06.496082
2021-07-13T16:15:18
2021-07-13T16:15:18
338,224,972
0
0
null
null
null
null
UTF-8
C++
false
false
1,892
cpp
MathUtil.cpp
#include "MathUtil.h" #include "Vector3.h" #include "Vector2.h" void MathUtil::smooth(float* x, float target, float elapsedTime, float responseTime) { ASSERT(x); if (elapsedTime > 0) { *x += (target - *x) * elapsedTime / (elapsedTime + responseTime); } } void MathUtil::smooth(float* x, float ...
e07b7902a019bdc8d9cae45ad6b7199bd0c82622
3d5641b137a9040c6a341de9e0614d70cfdec53d
/1stOrderInTimeEOMs/cform/tRT01t.cpp
4d9b95b6020b39f8c5341743ae40ab1fee7cb3c7
[]
no_license
aaron-hd/QG-sphSymm-ancillary
b8810228a25f8c3b8cf9b3af736bb0b643e97fbc
cdf61bfd30ebfac0eeab5e5aec2f69f672c06d00
refs/heads/main
2023-04-29T00:12:58.707420
2021-05-18T13:31:29
2021-05-18T13:31:29
355,577,741
1
1
null
null
null
null
UTF-8
C++
false
false
10,243,301
cpp
tRT01t.cpp
(g01*m02*RS)/12. - (g01*m22*RS)/12. - g01rr*gInv00*gInv11*RT00 + Power(g01r,2)*gInv00*gInv01*gInv11*RT00 - (g22*gInv01*gInv22*RT00)/2. + (g01*gInv00*RS*RT00)/6. + (g01*Power(gInv00,2)*Power(RT00,2))/2. - (g01rr*gInv01*gInv11*RT01)/2. - Power(g01r,2)*gInv00*Power(gInv11,2)*RT01 - (g22*gInv11*gInv22*RT01)/2. - m22*RT01 +...
5ba2eb96f341d4ad1edd262df0063d481949a7d5
0153dfaeca97b0a32507814547098dc8edbccf9a
/Source/MF/MF.hpp
0cca6ef01711f4b0330b9c73f04d3af91f919085
[]
no_license
Jayzaur/Kodo.Graphics
443651bbf3dc701795d876d20d1563d60da46f87
3eb1ba8a23a5a10c9a99ce58f6858bed1df29d0a
refs/heads/master
2021-01-04T13:37:13.929324
2020-02-14T18:47:13
2020-02-14T18:47:13
240,576,973
0
0
null
null
null
null
UTF-8
C++
false
false
9,080
hpp
MF.hpp
#pragma once #include "../Graphics.hpp" #include "../D3D/D3D.hpp" #ifdef SUPPORT_MF namespace Kodo { namespace Graphics { using namespace System::Security; using namespace System::Runtime::InteropServices; using namespace System::Threading::Tasks; public enum class MFMediaEngineError { NoError = MF_...
ab91bb50a52c67cc0fd153b0af4c825a25aee47d
c29bd226a02baedf52405bbb9693c8862583c021
/EXP/Sample_GL3_2D.cpp
c01ea4c8498f1ac422f1fe35cd0e9efad7de7989
[]
no_license
AyushRai09/OpenGL2DLaserGame
b8fc5822d57c2ed1250cad7551dc0104320e7cf2
f1be2967d6703188cae203ccea8cc3bc94662c68
refs/heads/master
2021-01-22T03:50:15.794390
2017-02-09T16:21:23
2017-02-09T16:21:23
81,468,058
0
0
null
null
null
null
UTF-8
C++
false
false
66,055
cpp
Sample_GL3_2D.cpp
#include <iostream> #include<stdlib.h> #include <cmath> #include <fstream> #include <vector> #include<map> #include <ao/ao.h> #include <mpg123.h> #include <glad/glad.h> #include <GLFW/glfw3.h> #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtc/matrix_transform.hpp> #de...
6693feefa19169773be1f095efacd1ac94c05087
b011d42a4f8ed10cf84906b2a948c77be1c044ec
/src/graph/scc.h
ed26d8e91ff2213fcfbdf1b1334ca05d69d4af47
[]
no_license
ILyoan/algorithms
f69871c805d89416f1933371be30b47df6332184
af0ad1452b06d0b35b11c53f777d6a26cdfc5d53
refs/heads/master
2016-09-06T19:27:02.620500
2016-01-24T14:36:30
2016-01-24T14:36:30
7,480,633
0
0
null
null
null
null
UTF-8
C++
false
false
480
h
scc.h
#ifndef ILYOAN_ALGORITHMS_GRAPH_SCC_H #define ILYOAN_ALGORITHMS_GRAPH_SCC_H #include "graph_fundamentals.h" #include <vector> #include <stack> using namespace std; namespace graph { // Strongly Connected Component Solver. class SCC { public: vector<int> Solve(const AdjGraph& g); private: int Solve(const Adj...
23e7a4dcdaecfc6d9bae40375096301461d23eb6
c1c4fd5ec7ff66bdac98297977674340e12ea79f
/peking/worldcraf.cpp
6ab7984e52c217a8ecee7ee75e8578f3b7b0e092
[]
no_license
multicgu/cpp
99822e78dd0fd0e0166b7aa704fb536b1854113e
1331fbc975f27814acdfab6a6bb0266fc0a9da7e
refs/heads/master
2021-01-10T06:54:34.863617
2016-04-11T07:01:06
2016-04-11T07:01:06
46,668,727
0
0
null
null
null
null
UTF-8
C++
false
false
3,203
cpp
worldcraf.cpp
#include<iostream> #include<stdio.h> #include<string.h> using namespace std; class sm { public: int iceman,lion,wolf,ninja,dragon; void getval(){ cin>>dragon>>ninja>>iceman>>lion>>wolf; } int putval(char *name) { switch (name[0]) { case 'i': return iceman;break; case 'l': return lion; break;...
e919d94e52824ea89b870a0f055f81fc368283b5
111faa44ce609ef6b5a6c3357dfd67b6295b3dc1
/include/account.hpp
1dbce27785d432e8aada078d41418f950408a0cb
[ "MIT" ]
permissive
edusrmt/edb1-hash
e879969a73d0457e06b8fa1b0823e0b0e2b60a7b
c5a47564e4face6b445aad6964472f4a1abfe3e3
refs/heads/master
2020-06-02T16:09:17.766797
2019-06-14T02:44:09
2019-06-14T02:44:09
191,221,986
0
0
null
null
null
null
UTF-8
C++
false
false
900
hpp
account.hpp
/** * @brief Bank account struct * @author Eduardo Sarmento & Victor Vieira * * A simple structs that represents a bank account. */ struct Account { using AcctKey = int; //<! Alias const char *name; //<! The name information of the account. int id; //<! The id of the account. int ba...
326452f7233d4aa3f38c57db8b52954dc37a85df
a5e9927fa4414bf7131637f21032c0a100d239ff
/Calculatrice/test.cpp
6f2ec8feff97946cf8e2c3026b713ea0e2e06fc2
[]
no_license
Aurion195/Algo-C-
647fe28ed4a85f38a78f0e6b9674d5381c2821bf
8259387eea4aa16b8067f6c2e24867854e50910f
refs/heads/master
2021-01-18T15:57:18.416836
2018-05-04T15:16:21
2018-05-04T15:16:21
86,698,760
0
0
null
null
null
null
UTF-8
C++
false
false
1,412
cpp
test.cpp
void Maillon::supprime_1er(int X) //Question 3 { Maillon* tmp = debut ; Maillon* tmp2 = NULL ; while(tmp!=NULL && tmp->info <= X) { if(tmp2 == NULL && tmp->info == X) { debut = tmp->suiv ; delete tmp ; tmp = debut ; return ; } else { tmp2 = tmp ; tmp = tmp->suiv ; if(tmp->in...
94fe522d28518a1c99f33f49758c6cc646262169
a727193c9aa9cec9082fc87eb3acf18fcd83fa62
/Cube.h
8b019607138467fbc274c50cacecf95380ff24ed
[]
no_license
jiangcaiyang/shadow-map-using-Qt-Quick-2
1e83bcadad7c1002d9d184ff4575aec8d41ef36d
34b645fbb6912fd01645999e08043725ee0b12e3
refs/heads/master
2020-05-17T22:29:18.407615
2015-05-12T15:23:02
2015-05-12T15:23:02
35,493,243
1
0
null
null
null
null
UTF-8
C++
false
false
1,386
h
Cube.h
#ifndef MYCUBE_H #define MYCUBE_H #include <QUrl> #include <QVector3D> #include <QObject> class View; class CubeRenderer; class Cube: public QObject { Q_OBJECT Q_PROPERTY( qreal length READ length WRITE setLength NOTIFY lengthChanged ) Q_PROPERTY( QUrl source READ source WRITE setSource NOTIFY sourceChang...
772a0e15a7a3d8d421b8400d55e26b6e6287a3b7
789351deafcc8ecb053d097fff250cbae3cf054f
/Src/DataBase/Entity/User.h
869392ce7aa3e7e8b77b982ed2e16fae1741bbc8
[]
no_license
masterofeye/RemoteDataConnectLibrary
a08ef75a9d3c31bda7be780caab83604c416b568
2a01a727587a7a52cd2be2c3404f25f00ea1fa25
refs/heads/master
2021-01-20T12:35:17.437364
2018-01-30T12:53:11
2018-01-30T12:53:11
90,384,091
0
0
null
null
null
null
UTF-8
C++
false
false
2,655
h
User.h
#pragma once #include "Entity.h" namespace RW{ enum class UserRole; namespace SQL{ class UserSettings; class UserPrivate; class REMOTE_DATA_CONNECT_API User : public Entity { Q_OBJECT Q_PROPERTY(QString UserName READ UserName WRITE SetUserName NOTIFY UserNameChanged) Q_PROPERTY(QString In...
f915504de7d98cfc66afd3cd20fc2f270c9215f0
8b0cc25aa021b03da8f191ea63ba2cbee663a6e5
/equations/main.cpp
b27e83511d9d38ff11127d09c149e3ad6df58fda
[]
no_license
MarturArtynov/study
2447a54218d1868f56140e65c06e8a338d29f1ed
75dde6e4bf43cc55efc357c86e8913ebed7b579b
refs/heads/master
2020-03-29T11:55:26.412655
2018-10-11T13:48:43
2018-10-11T13:48:43
149,876,952
2
0
null
null
null
null
UTF-8
C++
false
false
1,164
cpp
main.cpp
#include <iostream> #include <math.h> #include <iomanip> #include <cmath> using namespace std; int main() { double a, b, c, d, e, f, x, y, delt, deltx, delty,k,n; cin >> a >> b >> c >> d >> e >> f ; delt = a*d - b*c; deltx = e*d - f*b; delty = a*f - e*c; if (delt != 0) { cout << 2 << " "...
923aa9196fcec91e5e42959d000d8568fe93fee7
a65f2a6cbc6aa2769d9bed07970fa6e8eac25118
/src/sg/examples/rl_acrobot_model.h
0d6d78c169fc0ab1349a31d2d157b7e43b8c41dd
[ "BSD-3-Clause" ]
permissive
avalenzu/drake-torch
9cd8d860b16c46016b1d504bd7696e5b9569a505
e977526f0cbd1e04e544fc287468e9397928d6c6
refs/heads/master
2020-04-22T23:24:04.526991
2019-02-11T07:20:41
2019-02-11T07:20:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,477
h
rl_acrobot_model.h
#include <torch/torch.h> #include "rl_controller.h" namespace drake { namespace examples { namespace multibody { namespace acrobot { namespace { struct Net : systems::controllers::PytorchModel { public: Net() { // Construct and register two Linear submodules. fc1 = register_module("fc1", torch::nn...
0f104371851b5157a93262d453ccecd1958453fc
84a3adb95d4c3340c266fd9ec0d19000f362e11f
/oni 2013/baraj/cntgcd/cntgcd-ciur.cpp
c8b4492f7ece2f1db51d4ac366283403ab99374a
[]
no_license
lavandalia/work
50b4b3eb4a63a5a0d0ab8ab4670d14ecb3d71293
a591adfd2fd2ff0fa8c65dc5829a15bc8cc60245
refs/heads/master
2020-05-01T02:25:31.229379
2017-12-17T08:39:32
2017-12-17T08:39:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
848
cpp
cntgcd-ciur.cpp
#include <cstdio> #include <cmath> #define ll long long const int PRE = 7000 * 1001; int n, d; ll phi[PRE + 5]; ll sumphi[PRE + 5]; using namespace std; void getPre() { int i, j; for(i = 1; i <= PRE; ++i) phi[i] = i; for(i = 2; i <= PRE; ++i) if(phi[i] == i) for(j = i;...
c918f24ec8edebf6eed0deb9fc6382b7068b20db
b81e786d614f6593b948d5e39eea64d1a82f3f97
/solutions/729.my-calendar-i.254107150.ac.cpp
2d5b922bd699638d8abf206102207bccd7b5f96b
[ "MIT" ]
permissive
Jiltseb/Leetcode-Solutions
67350b2b12c4e49ac7f6d46a14a3170b66acac20
2edff60d76c2898d912197044f6284efeeb34119
refs/heads/main
2022-12-30T22:14:11.666308
2020-10-23T15:25:35
2020-10-23T15:25:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
614
cpp
729.my-calendar-i.254107150.ac.cpp
class MyCalendar { map<int, int> mp; public: MyCalendar() {} bool book(int start, int end) { auto it1 = mp.lower_bound(start); if (it1 != mp.end() && it1->first == start) return false; if (it1 != mp.end() && it1->first < end) return false; if (mp.size() && it1 != mp.begin()) { ...
af46056813bb3258de0992c7b6fdf1ba21e479d8
b92a3359aeb9f275c370d904b5f8fd2e9a62092a
/lib/sink_impl.h
2bcd48643d964b2401b5fc879f2cd20696216c44
[]
no_license
dg1vs/gr-hiqsdrtrx
25643f3c0af35215e48d04548bf3a25c6d95fae0
ed824e97dc853c662b6aed0448d77ad9f49d881c
refs/heads/main
2023-06-18T22:25:30.016635
2021-07-19T20:10:53
2021-07-19T20:10:53
385,374,452
2
0
null
null
null
null
UTF-8
C++
false
false
2,100
h
sink_impl.h
/* -*- c++ -*- */ /* * Copyright 2013 Stefan Goerg stefan@dl2stg.de * Copyright 2021 Karsten Schmidt dg1vs@darc.de * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your o...
41eb4dffcd18edefc6a4fe7636ea45f78eeb0d45
077db67fbc9bd89f36e76cb6761d0a15b8709239
/shared/geom/BladeMesh.h
849d2f179a281bb7d5631bdefd76c774f0e302e4
[]
no_license
xiaospica/aphid
fdca394d15376858d7ac0e12e65737fb12f9b3f6
b581033388e0763c42f5070b7f78fc685c56c543
refs/heads/master
2023-03-17T00:38:02.409019
2018-02-15T02:16:33
2018-02-15T02:16:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
756
h
BladeMesh.h
/* * BladeMesh.h * * m-by-n grid with merged tip * m # v segments n # columns must be even * nv <- (m+1) * n + n / 2 * n profiles m + 2 vertices each from root to tip * opposite profiles share last vertex on the top * * Created by jian zhang on 8/20/17. * Copyright 2017 __MyCompanyName__. All right...
2ced65324e980c8d0abe5e319f5c75c840462e52
aa5965c8060c21e28a7e8065e202cfbcd949f64a
/LOCAL_LIB/Header/ShadowArray.h
cbcea32430e2e3efead74a5830dfe6a7ba19ad32
[]
no_license
intelzombi/BerryPie
d8f1254c5dd3375193bdd18fb7f67c5b2c4e55b8
89023509a4862269aab14090407001d5b2fa8772
refs/heads/master
2023-03-07T17:40:33.148891
2021-02-25T03:03:23
2021-02-25T03:03:23
98,001,293
0
0
null
null
null
null
UTF-8
C++
false
false
5,297
h
ShadowArray.h
/* ********************************************************************************************* *\ Copyright (c) Intel Corporation (2009). INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THIS CODE. THIS CODE IS LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, INSTALLATION, TRAINING OR ...
5993fbd08cab8a497d4fbe2034b005cdae091b24
b8a7b3442cd661e85358079f8609bcdd164acd57
/main.cpp
a81c13b39dca2d6c6406a65d76cfd19f59d94625
[]
no_license
PigeonNerd/List_Hash
69cc5feb81ab4f70c1b7e770bbdd9cc522d75b4f
b90f485a8f8d0d8331eb8cf1abc1b0b3491f7383
refs/heads/master
2021-01-17T11:39:45.933636
2013-04-21T20:41:50
2013-04-21T20:41:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
606
cpp
main.cpp
#include "cache_element.h" #include "list_map.h" #include <stdio.h> #include <stdlib.h> #include <string> #include <iostream> #include <sstream> #include <unistd.h> using namespace std; int main() { stringstream ss; time_t now; time(&now); listMap<string, cache_element> myMap; for(int i = 0 ; i < 20; i ++) { ...
aea349c2cd7d31a1062050ed7c845fed0c778f0d
92caf68636fb5531aae6ce5e07f0fbaa51fd4ff5
/singly_linked_list_functions.cpp
5949d7cf76ae22fa9db0234500e594666af79d58
[]
no_license
gutaussehend-Harshal/dataStructure_and_algorithm
ad817ac4b45bf124580f5d797a02216f1c849425
ba4df22d4ed9f1b750c6af39a8c7c86c25cc102e
refs/heads/master
2023-05-05T18:21:33.894662
2021-05-25T10:28:50
2021-05-25T10:28:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,356
cpp
singly_linked_list_functions.cpp
#include<iostream> using namespace std; class Node{ public: int key; int data; Node* next; Next() { key=0; data=0; next=NULL; } Node(int k,int d) { key = k; data = d; } }; class SinglyLinkedList{ public: Node* h...
4410d5a228b2c6b45f1ee37865f29b2e17dd311e
a59439672ac4581daa6aae640be7089ccb933279
/src/Firmware/euclidean.cpp
13dad0ef948a4e40eebc2962fa46853288d7c3f8
[ "MIT" ]
permissive
marangisto/Beats
798104d9a58a10555a0265c939e30ca386127c71
faa50b6ec2d12c901f2a6624985a4e885b347510
refs/heads/master
2021-07-10T08:32:37.474448
2020-08-16T10:53:19
2020-08-16T10:53:19
186,839,539
3
0
null
null
null
null
UTF-8
C++
false
false
1,702
cpp
euclidean.cpp
#include "euclidean.h" #if defined(TEST) #include <stdio.h> #include <utility> using std::pair; using std::make_pair; #endif template<typename T> list<T> replicate(int n, T x) { return list<int>(n, x); } template<typename T, typename F> list<T> concatMap(F f, const list<T>& xs) { list<T> ys; for (auto x ...
07952e1202b626f5bcd4f4d71e3fccd860141317
24f8c1bc84049310ade1ecdea8d041f5aff94bd8
/C++98/examples/pass-by-value_for_primitive_datatypes.cpp
61ac260eef39f8904524d8f73f74fb46246cb6ac
[]
no_license
BartVandewoestyne/Cpp
f10d709aed4bbe03b3cca1778ef8f5b7ec554c54
055d3fc61922a29657f48241defcaba744f43d0f
refs/heads/master
2023-08-22T19:42:32.516681
2023-08-03T21:58:02
2023-08-03T21:58:02
4,518,426
126
17
null
null
null
null
UTF-8
C++
false
false
646
cpp
pass-by-value_for_primitive_datatypes.cpp
/* * References: * * [Nav2010] Is it better to pass by value or by reference for basic datatypes? [duplicate] * https://stackoverflow.com/questions/4112914/is-it-better-to-pass-by-value-or-by-reference-for-basic-datatypes * * [user997112] Is it counter-productive to pass primitive types by referen...
41249a6772d8f309974f799b5d264d63d05708cb
73f719fb6488afe2d81bf7105a9a34ae19fd35c8
/src/CamlidarDaq.cpp
43be14f159794cabc1c216fc82b4f1b3e84fbb39
[]
no_license
youngsikshin/camlidar_calibration
ddd696aac24160dc02197a7b8d77d163d31e4da0
36c9a341e5e63aeb0f72e4c9ee88f6d8beb0577a
refs/heads/master
2021-09-09T17:26:13.484735
2018-03-18T13:47:06
2018-03-18T13:47:06
111,682,824
0
0
null
null
null
null
UTF-8
C++
false
false
112
cpp
CamlidarDaq.cpp
#include<camlidar_calibration/CamlidarDaq.h> CamlidarDaq::CamlidarDaq() { } CamlidarDaq::~CamlidarDaq() { }
d876cb7e8131780702aa7e2fc1dc6d62ac39043c
3048b3532013b559c8218b681170c0cf1b80a14d
/Arduino/main/functions.ino
785271fa462b5d01b0f306e76e1eed5a83a2b3b0
[]
no_license
kb079/CDIO9-Project
a95ac97c40489195b009002d9ccba8be8def4398
cf9b31ba0b8008195fb7122f888d275b8acd99e6
refs/heads/main
2023-03-04T06:15:19.667694
2021-02-12T00:30:22
2021-02-12T00:30:22
309,621,989
0
0
null
null
null
null
UTF-8
C++
false
false
3,217
ino
functions.ino
// ------------------INFORMACIÓN--------------------------------------- // // Fichero: WifiManager.ino // Autor: LeafTech // Fecha: 16/01/2021 // ------------------BIBLIOTECAS---------------------------------------- #include "SalinitySensor.h" #include "HumiditySensor.h" #include "TemperatureSensor.h" #include "Luminit...
cc43b0185eb47da76fd1de45559d29f77629bb1a
e2d47de1494cdc8686288fd11b89cb704d704289
/28_map应用2/map.cpp
3d94be1b4e1f5803b3e48317270dbc39079ff750
[]
no_license
ljc25/demo
2a178571128c423a8a944b7717849b63649edff2
7fa88ca1181206391ae857f42fc989fbcf33a77e
refs/heads/master
2021-06-30T22:13:34.791491
2021-05-18T14:40:02
2021-05-18T14:40:02
232,569,612
0
0
null
null
null
null
UTF-8
C++
false
false
1,442
cpp
map.cpp
#include<bits/stdc++.h> using namespace std; map<char,char>m0,m1; //m0记录密文对明文,m1记录明文对密文 char miwen[10000],mingwen[10000],target[10000]; int main() { gets(miwen);//输入密文 gets(mingwen);//输入明文 gets(target);//输入要翻译的信息 //第一个for循环用来记录明文和密文的对应关系 for(int i=0;i<strlen(miwen);i++) { //判断密文多对一,或...
936f0570152dbaf4bdb063d53f7e02453db62795
503425b9953855bd7a9a915a1c70a59232995cb9
/rux.framework/lib/xan_rsapublickey.h
89f3968d24177cc622d5089104cb7a0dd4280f4c
[]
no_license
olecsys/rux
7968157d68953b95eb5fb0867506662e60870e1a
57673d40f6f09b8dc3c36d6ec072176881cfeb13
refs/heads/master
2022-03-02T16:45:03.066197
2022-01-18T19:25:40
2022-01-18T19:25:40
60,461,113
0
1
null
2021-03-05T22:03:32
2016-06-05T13:23:50
C++
UTF-8
C++
false
false
1,146
h
xan_rsapublickey.h
#ifndef XAN_RSAPUBLICKEY_H #define XAN_RSAPUBLICKEY_H #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <xan_rawdata.h> namespace rux { namespace cryptography { class XRSA; begin_declare_rux_class( RsaPublicKey ); friend class XRSA; begin_declare_rux_class_members( RsaPublicKey ); rux::XRawData...
53111e80b05a571bc5f38e7436b39c857063674f
e7e46f89a3fe52d1f87b11cd72614fc6b41a4646
/Sets-STL.cpp
1825cdb215c05d9eb0f4f2d8d594532ad5eebc49
[]
no_license
1InfinityDoesExist/HackerRank
febeec9b84c0cb4a53a12e80d4f13a91201195ad
d559b9331e605dcf40bff8c80aa57c17c3645394
refs/heads/master
2021-01-24T02:11:14.539707
2018-07-29T12:38:04
2018-07-29T12:38:04
122,839,420
0
0
null
null
null
null
UTF-8
C++
false
false
1,064
cpp
Sets-STL.cpp
#include<bits/stdc++.h> using namespace std; class Solution{ private: public: Solution(); void solve(); }; Solution::Solution(){} void Solution::solve(){ set<int> s; int n; cin >> n; for(int iter = 0; iter < n; iter++) { int q; cin >> q; ...
39b791b45978e22517aa8d0d80009b384aaf463e
d33b2508bfcfccbd573aa9bd9201e62c215612da
/CF/520A.cpp
6180cc63c1aca28066352e8895354e34f6182332
[]
no_license
jdk1997/CP
9f2fefe33e9853a03800191cee4a03d65eff8661
03c85be4d4f5f16ced8413ae0cc2b6950478682c
refs/heads/master
2020-03-16T17:41:31.132513
2019-03-21T11:22:46
2019-03-21T11:22:46
132,842,933
0
0
null
null
null
null
UTF-8
C++
false
false
589
cpp
520A.cpp
#include<iostream> using namespace std; int main() { ios::sync_with_stdio(false); int n = 0, flag = 1, index = 0; cin>>n; string s = ""; cin>>s; int present[26] = {0}; for(int i = 0; i < s.length(); i++) { if(s[i] >= 'a' && s[i] <= 'z') { index = s[i] - 'a'; } else if(s[i] >= 'A' && s[i...
97cf6ced245a2cb5e7c0f84a986c00aab6eab167
b80c6fbda87caf17e3b029466a14afdb137f408b
/src/TransportSocket.h
b8a646ad321bee8e3c7b5b27df8e77fdd64d436c
[]
no_license
tangm421/rutil
671ddba77cd1153bbf20f2616f0f719b62f9f74c
aa2adddccc351e089a6de883376a054ef6dadf8d
refs/heads/master
2023-02-02T18:06:05.797795
2020-11-27T08:38:30
2020-11-27T08:38:30
316,446,537
0
0
null
null
null
null
UTF-8
C++
false
false
702
h
TransportSocket.h
#include "Tuple.h" #include "rutil/Data.hxx" #include "rutil/Socket.hxx" #include "rutil/TransportType.hxx" class TransportSocket { public: TransportSocket(const resip::Data& printableAddr, int port, resip::TransportType type, resip::IpVersion ipVer); ~TransportSocket(); operator bool() { return mValid; } ...
2b4129ea8a2f637e6543e02365ef57d766222c9a
24c05a2b587f1b4e6d89b8cc544275fee679ee1a
/src/Psydb3State.h
6c05adf4e65526d9739e715290cf0fcb0d9d0035
[]
no_license
DantheCodingGui/Turrets
fc79cf90cf3e3c5a8d2756d376ff89ff24f1deb5
c8584fde8d148bd97e8fb5f7bd27175341bd2c85
refs/heads/master
2021-01-20T05:22:11.815294
2017-05-11T11:01:20
2017-05-11T11:01:20
101,434,448
0
0
null
null
null
null
UTF-8
C++
false
false
456
h
Psydb3State.h
#pragma once #include "Psydb3Engine.h" #define START_STATE 0 #define PLAY_STATE 1 #define PAUSE_STATE 2 #define END_STATE 3 class Psydb3State { public: Psydb3State(Psydb3Engine* pEngine); ~Psydb3State(); virtual void DrawBackground() = 0; virtual void Update() = 0; virtual void HandleKeys(int iKeyCode) = 0; vir...
0aeeabbeaa2cb69ca6c05cd3b1145d21db5b9a2a
657a0535890a9f8e14320b1a59a683aa8eb1a5bc
/C Programming exercises/table.cpp
cfb177cf48a12dccadca8db56f197ef4dd7ed8d4
[]
no_license
Pythoner-Waqas/Backup
89736ade92ffbbfbf34ac47773f1439cf62b4a44
475abca4c557231aaf4cbc67710cc82e2fab8d5b
refs/heads/master
2021-06-12T16:17:02.322654
2020-04-11T11:22:36
2020-04-11T11:22:36
254,357,794
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
table.cpp
//This program takes an integer input from user and displays its table //The table is displayed up to the multiplier entered by the user #include <iostream> using namespace std; main() { //declare int i,num,max; //prompt cout << "enter the number for which you want a table: "; cin >> num; cout << "enter th...
7293535343f33727d272245ca5fe8185f80f4ef4
59f1ce6f33d179cde37dfa20f3668622a35612ab
/spaceinvaders/SpaceInvaders/stopwatch.cpp
f7d05c44f58ae4a4ccb1e4f284cdb84c671c7cdb
[]
no_license
Sibert-Aerts/spaceinvaders
330c5d4de438e4935c64afd12f1272ec107f91e7
82f1c6b1d4212d7910ceb43bad138439e6b86252
refs/heads/master
2016-08-12T12:46:23.393530
2016-03-24T13:47:44
2016-03-24T13:47:44
48,183,546
0
0
null
null
null
null
UTF-8
C++
false
false
2,013
cpp
stopwatch.cpp
#include "StdAfx.h" #include "stopwatch.h" namespace SI { namespace Time { // Helper Functions double nanoToSeconds(std::chrono::nanoseconds nano) { return (double)(nano.count()) / 1e9f; } // Stopwatch Stopwatch::Stopwatch() : lastTick(std::chrono::seconds(0)) {} // GlobalStopwatch : public Stopwatch...
7443272a4448661f02ccbec92b8408d3e932b05f
c4064e8e1023a074a7cd0052742705c862d960ba
/exercise_7.cpp
9029e6931750105631780dfd5784bfa3756e9814
[]
no_license
BriansIDP/C-_exercises
a01b970e82d70b76e5d01e8eae4f65d3532688e4
254d9f1172c6bfcee5abc94a35b31a37f390bce9
refs/heads/master
2020-05-27T07:05:39.024614
2017-02-20T22:04:17
2017-02-20T22:04:17
82,532,024
0
0
null
null
null
null
UTF-8
C++
false
false
1,822
cpp
exercise_7.cpp
#include <iostream> #include <cmath> using namespace std; class Body { public: double x, y; // position double dx, dy; // velocity double mass; // mass double ax, ay; // computed acceleration for Euler }; void calculate_accel(Body b[], int n) { for (int i=0;i<n;i++) { b[i].ax = 0.0; b[i]...
0a120f1c95569b05def3afd3eeb0c25bfeffd8ae
03341c7ff8115384a5edea4b6e66895b33ab73c1
/Codes/utility/random_double.cpp
c31a586ade4336cb9ef53c002a6a05d0fe4e0a00
[]
no_license
abhi3700/My_Learning-Cpp
fa5e5f919c02e3dad7279c9b56c0d2cd6ddad0b6
73cc3a085a66f30a3fe480dff8d0c3a3e9689945
refs/heads/master
2022-07-11T15:43:56.066960
2022-06-14T07:21:59
2022-06-14T07:21:59
252,186,491
7
0
null
null
null
null
UTF-8
C++
false
false
709
cpp
random_double.cpp
/** * @brief A random number generator with numbers with decimal places. * @description it can be used for rolling dice, OTP generation purposes. */ #include <random> #include <iostream> int main() { std::random_device rd; //Will be used to obtain a seed for the random number engine std::mt19937 gen(rd())...
3e1cd5436b01512fdde0d87561f2576dca9c8017
7d5c85e02ef7a0d482cd424ad32f593594ea5b86
/nccl_communicator.h
01817fc70a2f75f7a7dfefd33a3b7e6d8bb954f4
[]
no_license
NTHU-LSALAB/eLF
c7a8c08ffde78e50a37c073a1d745bab5189e3b3
637f3f6334735115e4817331613022ae0f04fe0f
refs/heads/master
2022-11-29T11:50:02.807791
2020-08-12T07:42:37
2020-08-12T07:42:37
284,929,013
3
0
null
null
null
null
UTF-8
C++
false
false
224
h
nccl_communicator.h
#pragma once #include <memory> #include "communicator.h" #include "kvs.h" namespace elf { std::unique_ptr<Communicator> create_nccl_communicator(KeyValueStore *kvs, const std::string &identifier, int rank, int size); }
a55464bb29d6902d4fc4c4cdf701b7c8b4522387
4abd8793f2f2cb52fe02837c67e39dfef74b5715
/mgroovyank/Day 29/Generate all Parentheses.cpp
866ee7ab7bf1492d0062bfc2125238d374bc2747
[]
no_license
Devang-25/100DaysOfCode
bdab847655490b4421454b4693cfcd6ddc3d4ff5
4e3d632be1ecd3b235c03ac593a4ea8ec9562e56
refs/heads/master
2021-05-25T12:50:19.956945
2020-04-06T17:49:02
2020-04-06T17:49:02
253,761,487
1
1
null
2020-12-18T18:33:29
2020-04-07T10:31:32
null
UTF-8
C++
false
false
812
cpp
Generate all Parentheses.cpp
// https://www.interviewbit.com/problems/generate-all-parentheses/ int Solution::isValid(string A) { stack<char> s; int n = A.length(); for(int i=0;i<n;i++){ if(A[i] == '{' || A[i] == '[' || A[i] == '('){ s.push(A[i]); continue; } if(s.empty()){ return 0; } ...
9d12add955d2e61bd56865801cb7aac4a427a548
e55d287a656d1a94ab78f4f7a8b41d7fde7e773d
/src/qt/meritaddressvalidator.cpp
5a7fc2c2192969b9e7c89c447cf93dc2bca9ec14
[ "MIT" ]
permissive
meritlabs/merit
bade542d5f23d2e7deacf98595589a10e52c69ea
49dc96043f882b982175fb66934e2bf1e6b1920c
refs/heads/master
2021-07-19T15:35:08.624173
2021-04-30T18:51:09
2021-04-30T18:51:09
100,290,270
229
26
MIT
2021-04-30T18:51:10
2017-08-14T16:59:10
C++
UTF-8
C++
false
false
2,648
cpp
meritaddressvalidator.cpp
// Copyright (c) 2017-2021 The Merit Foundation // Copyright (c) 2011-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "meritaddressvalidator.h" #include "qt/walletmodel.h" #include "bas...
42ac98eb27dde8387a21db4be3ab06081f07f7c0
fbe68d84e97262d6d26dd65c704a7b50af2b3943
/third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_misc.cpp
e9752629e007dfa9f66480dfbb01aa79cc50d79f
[ "GPL-2.0-only", "LicenseRef-scancode-unknown-license-reference", "CDDL-1.0", "LicenseRef-scancode-warranty-disclaimer", "GPL-1.0-or-later", "LGPL-2.1-or-later", "GPL-2.0-or-later", "MPL-1.0", "LicenseRef-scancode-generic-exception", "Apache-2.0", "OpenSSL", "MIT" ]
permissive
thalium/icebox
c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb
6f78952d58da52ea4f0e55b2ab297f28e80c1160
refs/heads/master
2022-08-14T00:19:36.984579
2022-02-22T13:10:31
2022-02-22T13:10:31
190,019,914
585
109
MIT
2022-01-13T20:58:15
2019-06-03T14:18:12
C++
UTF-8
C++
false
false
4,740
cpp
unpack_misc.cpp
/* * All rights reserved * * See the file LICENSE.txt for information on redistributing this software. */ #include "unpacker.h" void crUnpackExtendChromiumParametervCR(PCrUnpackerState pState) { CHECK_BUFFER_SIZE_STATIC_LAST(pState, 16, GLsizei); GLenum target = READ_DATA(pState, 8, GLenum ); GLenum ...
c29e03a837eec42030f49fb098d85dea0afd5881
4a25372ebed03096119b66f2dfe6dbc14ec442ed
/labs/1142/Ivanenko.Sergei/2/ps.cpp
0c3076796571d5ed885ce9df4adf665135b6697d
[]
no_license
gumeniukcom/aptu-os
218af3df72960db4ecd211ddccb51a03064e9625
4f4013f3495fb5781cda4696dde2809703bb78d9
refs/heads/master
2021-05-30T16:35:47.182087
2014-12-19T07:07:56
2014-12-19T07:07:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
985
cpp
ps.cpp
#include "ps.h" extern "C" { int Ps(string *finalyPs) { DIR *UseDirection = opendir("/proc"); struct dirent *start; string Name_File; string NameProcess; string intermRes; int time = 0; if (UseDirection) while((start = readdir(UseDirection)) != NULL) { if (time == 0) { *resultPs = "P...
24de0945be689b825aa3743fe05100a046b93fdc
aef3a89813a6d34bebd7b433ac3ab56b3e6876f5
/data_base_project/tests/Unit/serialization_test.cpp
d1955d69ab445b7506834ab0ba261f6e9eded7d5
[]
no_license
CheezBoiger/CatDBMS
0b028e8270c3e4d7cf9646d99f762849b09f2e0d
c2c52bcc5e720ad75eb5b18fb016ea93087f1fc4
refs/heads/master
2021-01-10T18:23:38.342405
2016-04-19T06:26:55
2016-04-19T06:26:55
47,379,674
0
0
null
null
null
null
UTF-8
C++
false
false
2,258
cpp
serialization_test.cpp
#include <lib/element.h> #include <lib/table.h> #include <iostream> #include <string> void testPacking(void) { char* test = "I am a cat"; catdb::serialization::serial input; catdb::serialization::serial start; catdb::serialization::serial s; input = (catdb::serialization::serial)malloc(13); start = input; ...
dc221c4f90f6392a8625fc74257c496edc7560de
e5f77ab381f5a6b2e655eaaefe05a3cf6d0a96e8
/dp/md2823.cpp
64fa310fad556a823191a463068fac5d40999f97
[]
no_license
pspencil/NWERC-Prep
ae699dca70c74fcca73d9b1482b885745c390190
5a9f141397018241da7dd33e04f1ef0129f77250
refs/heads/master
2021-06-11T13:02:43.133207
2016-11-18T10:47:23
2016-11-18T10:47:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
228
cpp
md2823.cpp
#include "stdio.h" #include "stdlib.h" #include "time.h" int main() { int n,k; srand(time(NULL)); n = 1000000; k = 400000; printf("%d %d\n",n,k); for (int i=0;i<n;i++) { printf("%d ",i); } printf("\n"); return 0; }
a55a2424034350493a23d28da5d44483732a0859
23ba742dbd55d9d2cef68e624f2d23e4fd76e8a3
/src/saiga/vision/recursive/External/Mixed/MixedSolverSchurDense.h
5b19f0043f360c537a4e0822fc89bb18ce881541
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
darglein/saiga
a4026b86e7397266e5036294a6435d85657f39ee
7617871a8ccdde58847e4f6871bd527f32652a79
refs/heads/master
2023-08-17T03:33:44.387706
2023-08-15T14:54:47
2023-08-15T14:54:47
97,219,629
135
26
MIT
2023-02-13T16:24:21
2017-07-14T09:55:50
C++
UTF-8
C++
false
false
6,082
h
MixedSolverSchurDense.h
/** * This file is part of the Eigen Recursive Matrix Extension (ERME). * * Copyright (c) 2019 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #pragma once #include "../Cholesky.h" #include "../Core.h" #include "MixedSolver.h" namespace Eigen::Recursive { /** * A ...
85e72985f3cc3ceb3a396d12a0bb30542bc85e80
50f0e94d7da31e103631bee01c815be94612f2b1
/implementation/cpl_guiapplication/cpl_guiengine/cpl_applicationmainwindowimp.h
e886c498730e0ad5d35c0474aec5385da8acf1ba
[ "MIT" ]
permissive
cayprogram/cpl_main
c3a474aaffeb3480424c30a09b07773491c23203
9cc8f4c8cf33465506bdb18ddc84340992b16494
refs/heads/master
2021-04-28T04:03:04.813832
2018-02-20T04:08:27
2018-02-20T04:08:27
122,153,748
0
0
null
null
null
null
UTF-8
C++
false
false
2,055
h
cpl_applicationmainwindowimp.h
#ifndef CPL_APPLICATIONMAINWINDOWIMP_H #define CPL_APPLICATIONMAINWINDOWIMP_H class cpl_wxMainFrame; class cpl_ApplicationMainWindowImp: public cpl_MainWindowImp { public: /** Initialize window, create window*/ virtual void EnterWindowInitialization(); /** Do clean up, encapsulate window*/ virtual vo...
0e4db2eb3ddaba718da460aebeba20886194e2f6
8fd1028c89a326bd0f1a3f97acee38e2e3b2a602
/src/sysex/getmixermetervalue.cpp
6142e83dbe2c812430c0eae31ffd19f71c638d6a
[ "MIT" ]
permissive
dehnhardt/iconnconfig
db135765b519ba7c6507cf8e71ecc3f8827e12d4
6d1ac1d85379eaf168d2c2fce81b09f020500605
refs/heads/master
2023-02-08T18:50:11.443530
2021-01-04T17:55:45
2021-01-04T17:55:45
84,682,164
16
10
MIT
2020-04-24T08:57:35
2017-03-11T21:51:45
C++
UTF-8
C++
false
false
931
cpp
getmixermetervalue.cpp
#include "getmixermetervalue.h" #include "retmixermetervalue.h" GetMixerMeterValue::GetMixerMeterValue(Device *device) : PortSysExMessage(GET_MIXER_METER_VALUE, SysExMessage::QUERY, device) {} GetMixerMeterValue::~GetMixerMeterValue() {} void GetMixerMeterValue::createAnswer(Command m_Command, std::vecto...
29d3a5f4de3922e8cda23a24625ba1030a7938f4
9f2c9d11beddf6fecda39c2349064c1de0d825ea
/rpi/src/ClockListener.cpp
038dde80edca06358247e4b15ecf310f87c47891
[]
no_license
wryan67/UltimatePiClock
de8e6594e8dfa5ae117067b6290dad3e2b26b6c8
5bf4f5d73cf09c00b1bda074b160e7c9d25e9ada
refs/heads/master
2022-06-02T04:45:43.948345
2022-05-17T17:36:15
2022-05-17T17:36:15
247,401,410
0
0
null
null
null
null
UTF-8
C++
false
false
637
cpp
ClockListener.cpp
#include <stdio.h> #include <iostream> #include <fstream> #include <jsoncpp/json/json.h> #include "StringUtil.h" #include "ClockListener.h" #include "ClockClient.h" using namespace std; using namespace common::utility; #define maxFieldLength 1024 namespace piclock { ClockListener::ClockListener():tcplistene...
d18cac4057f765d4569e3c410bc37c6d3fdee344
3f5a7a661338775895f79998081419c353224689
/include/paracel_types.hpp
7589a3985471cfc32089a4336d744a3f9cfe8676
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
mindis/paracel
746e6f05042598f8884cde84c3984db364eeb3af
37aabc5a52e7687b8d6b3ab2205c6c2e7ffb8762
refs/heads/master
2020-12-25T16:47:25.710440
2014-08-11T06:51:46
2014-08-11T06:51:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,271
hpp
paracel_types.hpp
/** * Copyright (c) 2014, Douban Inc. * All rights reserved. * * Distributed under the BSD License. Check out the LICENSE file for full text. * * Paracel - A distributed optimization framework with parameter server. * * Downloading * git clone http://code.dapps.douban.com/paracel.git * * Authors: Hong...
f2c86084c9dbaf4260313dfefb055853381f4040
c3622eee95f8130d7e58ca078e12debfce7a0ff6
/class work 1/Source.cpp
d3511ad14d82d3eab27a6e0a5cebeb75c7ad995d
[]
no_license
SASburns6113/class-work-1
a1e637be0744c70c123bb57c962eb5b183bbda09
836087b93a48605be41a85cb0885b1a5f8bd073d
refs/heads/master
2020-05-05T01:13:33.539562
2019-04-05T00:25:09
2019-04-05T00:25:09
179,596,613
0
0
null
null
null
null
UTF-8
C++
false
false
1,625
cpp
Source.cpp
#include <iostream> #include <string> using namespace std; void showMyAge(int myAge, int age); int main() { cout << "\n\n\tWelcome\n" << endl; // wok with just plain int int age = 21; showMyAge(age, age); //cout << "The age of Luke Skywalker is " << age << ".\n"; //// Wee are reference free, and pointer free...
e6dbd27578880100c09c438335da146ffcf10c4d
cbd8de1602c82a78a201425e88f9df819c42faad
/test_objectpool.cpp
e632fd18367a78ef581a4c30881aebb3c587087b
[]
no_license
emailsters/cache
9e6bb3a0b07ae98aab4c6d540f1d6c53a643a62e
48699030cbbb69a752c59209c9cdab4f0f0b8a76
refs/heads/master
2021-07-07T07:11:39.242613
2017-10-05T04:10:10
2017-10-05T04:10:10
105,847,953
0
1
null
null
null
null
UTF-8
C++
false
false
1,478
cpp
test_objectpool.cpp
#include "object_pool.h" #include <iostream> struct MyStruct { int a; int b; }; void Mytravel(const MyStruct* st) { std::cout<<"helloworld"<<std::endl; } int main() { ObjectPool<MyStruct> pool(3); pool.ApplyResource(); int index = pool.Alloc(); MyStruct* st = pool.GetObject(index); ...
daa9d5c50b44cefc6cd6b66b280238869a12d697
9e45d86813fdd9369442db1d435a6cef14f856cf
/Recursion/palindrome.cpp
0f2e89be725738a47f183c8f1481f4b6397a6a28
[]
no_license
shubendu/Data-Structures-Algorithms_STL
4a7810c1fb52eea42f5b8c0479de6900a2394e09
02c11f403ce6fbef81ce96292a9abcef9a99d9a0
refs/heads/master
2022-12-12T00:14:18.248874
2020-09-14T19:53:21
2020-09-14T19:53:21
290,782,630
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
palindrome.cpp
#include <iostream> using namespace std; int isPal(string str, int s , int e ){ if(s==e) {return 1;} //for odd if(s>e) {return 1;} // for even if(str[s] != str[e]) { return 0; } return isPal(str,s+1,e-1); } int main(){ string str = "aabbaak"; int s = 0; int e = (str.length() - 1); isPal(str,s...
f2bbdb94abb7484cd2944c45f6dfafbddb6b3fdc
c80eb8972f237cc3f02f53329adb987d967e3121
/src/source/Camera.cpp
e7825ee80b842b76c507f2efe70570acbceb716e
[]
no_license
jl-randazzo/Jigsaw_Engine_Public
7f0cddb4f6c5fa57fff7fa0cb6f5e4a4f6aeb9f7
d1a22a680fff2d9537c11051052f03b0387ed420
refs/heads/main
2023-02-13T11:24:22.274510
2021-01-04T03:02:39
2021-01-04T03:02:39
326,551,342
0
0
null
null
null
null
UTF-8
C++
false
false
1,079
cpp
Camera.cpp
#define _USE_MATH_DEFINES #include "Camera.h" Mat4x4 Camera::GetRotationMatrix() const { Vector3 up(0, 0, 1); Vector3 tangent = viewing_dir.Cross(up).Normalized(); Vector3 bi_tangent = tangent.Cross(viewing_dir).Normalized(); return Mat4x4(Vector4::AsVector(-1 * tangent), Vector4::AsVector(-1 * bi_tangent), (-1) ...
cf20bfd17197de637bf85699bb99c8c50cd94907
20804bdc4b820314003d1d473bad4ea579b8e670
/BufferedBTree/BufferedBTree.h
00972a48710ed4e70e1b0260bc43aedb5e3df440
[]
no_license
Roedekro/speciale
d31adc08cd2c182a453344f365ef947930e939f6
4210c3e558ade77ae2be4aba38b30e626fedc516
refs/heads/master
2021-09-10T13:48:19.808247
2018-03-27T07:57:38
2018-03-27T07:57:38
106,407,285
0
0
null
null
null
null
UTF-8
C++
false
false
3,754
h
BufferedBTree.h
// // Created by martin on 10/30/17. // #ifndef SPECIALE_BUFFEREDBTREE_H #define SPECIALE_BUFFEREDBTREE_H #include "BufferedInternalNode.h" #include "keyValueTime.h" class BufferedBTree { public: int B; int M; int size; int maxBufferSize; BufferedInternalNode* root; int numberOfNodes; // Cre...
45527574a68efe61a91a9fd87d7c3318a15de4b4
5429596f891b6554a4ec1d895f7fe489ba898089
/sensors_ws/src/geobot_navigation/include/geobot_navigation/local_planner_rev2.h
891de6b2918bba98bf35b90e419b3923a4b428ec
[]
no_license
je5349/TestRepo
74b81c0f4b32e6b63d5bb1d3cff6a12d2372b6e0
0501dbf017a7c202ca5f576abb846d310c0d8e69
refs/heads/master
2021-02-11T20:24:12.654630
2020-03-03T02:45:25
2020-03-03T02:45:25
244,525,258
0
0
null
2020-03-03T02:43:03
2020-03-03T02:43:03
null
UTF-8
C++
false
false
1,524
h
local_planner_rev2.h
#include <ros/ros.h> #include <iomanip> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <geometry_msgs/PoseStamped.h> #include <nav_msgs/Path.h> #include <geobot_navigation/SetGoal.h> #include <tf/transform_...
9b9ee656a517c4f134b4fb16b3c47a09398eebd3
94e2938f207b3245ee8a7c8cac611783d77d7f36
/yellow_belt/week4/DequeQueueAndSearchAlgorithms/FindNearestElement.cpp
6cdbc5a8e912a37a0cdb329f14b4eb5029501f25
[]
no_license
Toringol/Coursera_C_plus_plus
93a5c3dd3b5f5f4d11ef23b9050c9eb45aa996ff
f9049db248f270b3e8fb3a7e45947cc6afc31224
refs/heads/master
2020-05-30T23:10:18.337719
2019-08-28T15:31:59
2019-08-28T15:31:59
190,010,654
0
0
null
null
null
null
UTF-8
C++
false
false
1,278
cpp
FindNearestElement.cpp
/* * Напишите функцию FindNearestElement, для множества целых чисел numbers и данного числа border * возвращающую итератор на элемент множества, ближайший к border. Если ближайших элементов несколько, * верните итератор на наименьший из них. */ #include <iostream> #include <set> #include <algorithm> std::set<int>::...
6435e4bb107c12ee56bf759940cc2d3ea6b03c14
ecde220db8626b1e8391532041f46e24b92cf8e9
/Plutonium2014/CommandBase.cpp
a50afb3668ff102686652f30b59dd83c8b50ffaf
[]
no_license
MuffinMillitia/2014AerialAssist
b22cf32e80e513b04e768b696797aa3adc9858b0
7eb235fb5b2fd80e43e82dccf8a9893820ec2bbe
refs/heads/master
2021-01-17T21:32:22.733247
2014-05-01T01:55:07
2014-05-01T01:55:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,723
cpp
CommandBase.cpp
#include "CommandBase.h" #include "Subsystems/Collector.h" #include "Subsystems/DriveBase.h" #include "Subsystems/Pterodactyl.h" #include "Subsystems/Shooter.h" #include "Subsystems/Pneumatics.h" #include "Subsystems/BeagleBone.h" #include "Commands/Scheduler.h" #include "Utils/Network/Server1180.h" CommandBase::Comma...
c5498b1252398c2b7d7c0e332a3245cc48b42b3b
44eb76f1963fef83f64af37a2dcc1cd9100c7e84
/0904 괄호.cpp
bc107bb6fb80cbaeba89a0e2a2bc2d3314c90f8a
[]
no_license
AlgorithmOnline/eunbin
8c8f6bb817b1228e93103f6f7113fd0d3fc7a413
e1dcd83ce4c8b66675ed27f25a5cea886311fa4e
refs/heads/master
2022-12-25T14:59:22.119229
2020-09-25T14:13:00
2020-09-25T14:13:00
288,734,198
0
0
null
null
null
null
UTF-8
C++
false
false
449
cpp
0904 괄호.cpp
#include <bits/stdc++.h> using namespace std; int T; string st; string check(string s) { stack<char> stk; for (int i = 0; i < s.size(); i++) { if (s[i] == '(') stk.push(s[i]); else if (stk.empty()) return "NO"; else stk.pop(); } if (stk.empty()) return "YES"; else return "N...
346ea1b8893747e1550ef6374d63fb4fc430ba07
4bc71c372535554f9a9c9b612796213770204a0a
/Embarcadero/XE5/CPP/GUI3d/Unit1.cpp
292bdd3160a012e725bc81904d712493ca2281ce
[]
no_license
jimmyat2023/Firemonkey
e843cea2a4475138ec281ae712455d9240a062c4
fe8a78893c6df92fe6a6aa472d8698d3fe1f52e0
refs/heads/master
2023-03-22T10:44:55.203200
2020-02-19T14:09:36
2020-02-19T14:09:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
798
cpp
Unit1.cpp
//--------------------------------------------------------------------------- #include <fmx.h> #pragma hdrstop #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.fmx" TForm3D1 *Form3D1; //------------------------------------...
aa61605788972d22fa7a886af3a875fb6dc324c5
23ae51050d4b296a4607f7afc7bcf90acb20b3c0
/TestingOpenGLImplementation/TestingOpenGLImplementation/src/Game/GameState.h
caf6740faefe5f5980714764d1f9112fca793dfa
[]
no_license
Kraetyz/Skyroads
eeb55c2c5feb8350253aebd8804ff38de2bab70f
bda050cac30070e40b649b9503427cf5596f3306
refs/heads/master
2021-01-10T16:52:11.959900
2015-09-29T13:51:33
2015-09-29T13:51:33
43,290,503
0
0
null
null
null
null
UTF-8
C++
false
false
236
h
GameState.h
#ifndef GAMESTATE_H #define GAMESTATE_H #include "UserInput.h" class GameState { private: char stateType; public: GameState(); virtual ~GameState(); virtual int update(UserInput* input) = 0; virtual char getType() = 0; }; #endif
3f37342b94d1c3ab0614fe01faf8a37694900f15
d9fec912da4c6f41feb32c6398d7b8908abc4f69
/src/game.cpp
b56ef3b4e4864cdbe353580ab0432681b560bdc3
[]
no_license
Andres-lh/Pong
ef3d16e40aa979148a67ae24375c8912eb94014d
cbe746144252a0b7d3c0e114890123cba4df48af
refs/heads/main
2023-03-06T15:59:40.346056
2021-02-20T22:45:21
2021-02-20T22:45:21
333,626,011
1
0
null
null
null
null
UTF-8
C++
false
false
4,293
cpp
game.cpp
#include "game.h"; Player player1(2.5f, 12.0f); Player player2(2.5f, 12.0f); Ball ball(1, 1); bool Ai = true; enum class GameMode{ Menu, Gameplay }; GameMode currentGameMode; int button; void simulateGame(RenderState& renderState, Input& input, float deltaTime) { float acceleration1 = 0; float acceleration2 = 0;...
68bba12e1b4242200cfd3e1643ff07f694ae43ef
5f373b25e626887f9e4dc745c8d63f5890b3c7ff
/Symtable/Information.cpp
fc931b6d9d80d5945f66444096f0ec8d21884be4
[]
no_license
willer2009/CompilerWS12
2eba15f97f4b3730b4474daf4befa69e4805645f
860ae9bcf17389582c32ca4538bec72a6bdd0a25
refs/heads/master
2020-05-16T23:24:04.497445
2011-11-19T13:49:35
2011-11-19T13:49:35
2,808,825
0
0
null
null
null
null
UTF-8
C++
false
false
623
cpp
Information.cpp
/* * Information.cpp * * Created on: 22.10.2011 * Author: sylvain */ #include "Information.h" Information::Information(char* lexem, TType::TType type) { // TODO Auto-generated constructor stub this->lexem = lexem; this->type = type; } Information::Information(){ } char *Information::getLexem() const ...
f941b4a07a89f1facd066f3d564e014ff2bd56bf
fef58dcd0c1434724a0a0a82e4c84ae906200289
/usages/0x9B12F9A24FABEDB0.cpp
47cc50dcab4c0cff548d334a6b43658ed65580cd
[]
no_license
DottieDot/gta5-additional-nativedb-data
a8945d29a60c04dc202f180e947cbdb3e0842ace
aea92b8b66833f063f391cb86cbcf4d58e1d7da3
refs/heads/main
2023-06-14T08:09:24.230253
2021-07-11T20:43:48
2021-07-11T20:43:48
380,364,689
1
0
null
null
null
null
UTF-8
C++
false
false
795
cpp
0x9B12F9A24FABEDB0.cpp
// finale_heist2a.ysc @ L35145 void func_225(bool bParam0) { if (bParam0) { func_226(40, 1); func_226(45, 1); func_226(41, 1); func_226(43, 1); func_226(42, 1); func_226(44, 1); OBJECT::_DOOR_CONTROL(joaat("v_ilev_mm_doorm_l"), -816.72f, 179.1f, 72.03f, true, 0f, 0f, 1f); OBJECT::_DO...
fd4bf3c9247aff52b61004c8c2473c17a0f79bcb
3588eb4d452e60c042e6d9a6accc5ad90fadc33e
/linux-apps/lucene-r2p2/inc/lucene++/FieldDoc.h
0438894f33a22c1e4c9e238ed0c89e1821dd84b6
[ "MIT" ]
permissive
gsol10/r2p2
1ffe658fe36b0b2fd078c076feaf7195fb82e102
de00e7a76564af0e77a49217874cc06e6935f31d
refs/heads/master
2021-01-08T23:04:56.313309
2019-08-24T17:21:48
2019-08-24T17:21:48
242,169,354
0
0
MIT
2020-02-21T15:22:35
2020-02-21T15:22:35
null
UTF-8
C++
false
false
1,718
h
FieldDoc.h
///////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009-2014 Alan Wright. All rights reserved. // Distributable under the terms of either the Apache License (Version 2.0) // or the GNU Lesser General Public License. ////////////////////////////////////////////////////////////...
156c8d18eef1b72981a1865559a3776e12a015db
b14ad48d14d9d4bc065c71f56fb35eade7ea47c7
/Code/Crymium.UnitTests/JavaScript/Mocks/MockJavaScriptExecutor.h
26335a0f61547c0615ede9efc989f82f0abf3479
[ "MIT" ]
permissive
JonnyOrman/CRYMIUM
6ea3c31dae4eb9904bb0706ba0e300f3f94e250d
760b7836b444d369b90bbd05aa78e8f042d21e6e
refs/heads/main
2023-02-27T12:36:36.612117
2021-02-06T19:03:34
2021-02-06T19:03:34
304,599,196
12
4
null
null
null
null
UTF-8
C++
false
false
346
h
MockJavaScriptExecutor.h
#pragma once #include "gmock/gmock.h" #include "Crymium/JavaScript/Core/IJavaScriptExecutor.h" namespace Crymium::UnitTests::JavaScript::Mocks { class MockJavaScriptExecutor : public IJavaScriptExecutor { public: MOCK_METHOD(void, Execute, (const char* javaScript), (override)); }; } using namespace Crymium::Uni...
be9b917b309cc0fad202fa8d5c557d3bdea4528f
2c15176780d0200b29ae9e057193e999cb913fa5
/FileSystem/fstree.h
6e90ef2dc90bda3e1b83a48fa10a48e242ef61e5
[]
no_license
georgidimov/FileSystem
84a0980eb021baf99b6cdf6ca231a81ebba57669
db4df32f6c44b78497990ac5ec8f22c2c699b7a2
refs/heads/master
2021-05-15T02:18:22.872088
2017-07-24T10:08:06
2017-07-24T10:08:06
30,420,359
1
0
null
null
null
null
UTF-8
C++
false
false
1,201
h
fstree.h
#pragma once #include <stdexcept> #include <directory.h> class FSTree{ Directory * root; public: Directory * getDirectory(Value path, Directory * currentDir) const; Directory * getDirectory(Value path) const; public: FSTree(); ~FSTree(); Value getSerializedTree() const; void deserialize(Va...
adca2eaf84a9e06ab1ad2d4f52f51e4f04cf1496
7a1ddc6368d2c52c6deeeb3b2d76caac40b1ff71
/LL(1)/Compilers_LL(1)/Compilers_LL(1)/Source.h
35bd363dd43c7b2ff1e6990646be073dddb4fe6a
[]
no_license
chitalshangy/Compilers-Principles
c61eb30d3f3d49c24d0819626fc270a943ec051c
f037bbe3e7a510025e874914f9e8c885b4d82a68
refs/heads/master
2023-02-03T11:48:24.753243
2020-12-20T07:25:37
2020-12-20T07:25:37
307,694,278
0
0
null
null
null
null
GB18030
C++
false
false
1,218
h
Source.h
#pragma once #include"Grammer.h" #include"Set.h" #include<iostream> #include<vector> #include<string> #include<stack> #include<map> using namespace std; class Source { public: //定义原始文法的产生式集合 Grammer Gra_Set[200]; //定义first,follow集合的语法结构 Set First[100], Follow[100]; //定义预测分析表 string A_Table[100][100]; //非终结符 ...
9d79a54b1d3b45b7b53e2c4270d21aa2c997e298
5ff54a58081c6cde0c433067c95e62e5d72c9bf8
/src/check_aggregator_impl.h
4ef98b2a85fb4e1a4dd9bf065e33b63fc53d2a1c
[ "Apache-2.0" ]
permissive
cloudendpoints/service-control-client-cxx
8a2ef1092ef1f137923238d5ddc62978e01d1b6a
e06266c09eb33add05f01459b78f7d12b14f2c78
refs/heads/master
2022-10-26T10:42:31.222850
2022-10-21T18:15:18
2022-10-21T18:15:18
60,217,698
10
34
Apache-2.0
2022-10-21T18:15:20
2016-06-01T23:32:26
C++
UTF-8
C++
false
false
10,000
h
check_aggregator_impl.h
/* Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
ca1b2075bebd99590e6983e0f950fcbf49503e25
cabff90cc58aaa2254dae7b408020a84b6badc58
/cpp/practice/Containers/Stack/stack.h
0db386aa5ff93fcdae966d7976fce5bd00c7204c
[]
no_license
sentinel88/Interview
a6ab97b4937e7dae34fe5d4e8a49e5eb6d28ee87
72dbd198e3bd82352d2c309a754ca043d4d77d16
refs/heads/master
2020-05-21T22:38:12.551955
2018-07-13T18:50:27
2018-07-13T18:50:27
65,315,946
0
0
null
null
null
null
UTF-8
C++
false
false
1,992
h
stack.h
#ifndef _STACK_H #define _STACK_H #include <iostream> #include <vector> template <typename T> class Stack; template <typename T> std::ostream& operator<<(std::ostream &output, const Stack<T> &inS); template <typename T> class Stack { public: Stack(); Stack(int inSize); Stack(const Stack<T> &inS); virtual ...
37828ade5519b001560b01e7a498bf82bd4b1f4a
bf3970ae653d573cc51dc5344291486c3598b662
/include/MainMenuScene.h
194074a7182b84361f7a3eafff4f4423c0caec10
[]
no_license
sniperbat/Chaos
77c779e4aff50389179b17a740a8b0a62e0b0060
a7a85686fb5b278b8224da91ee69954c57cdd75a
refs/heads/master
2016-09-05T09:21:24.142881
2013-09-16T15:59:00
2013-09-16T15:59:00
3,558,914
0
0
null
null
null
null
UTF-8
C++
false
false
726
h
MainMenuScene.h
#ifndef _MAINMENUSCENE_H #define _MAINMENUSCENE_H //-------------------------------------------------------------------------------------------------- #include "chaos/framework/ChsScene.h" #include "chaos/core/ChsDynamicClass.h" //----------------------------------------------------------------------------------------...
5eaa6c6e37769b47c853b7df4b7dbfabe3bc858c
750964894699cf1a179d338fb3a6a4c2fa284279
/TETRIS/LogikaGry.cpp
27c579748cd0ef4e1333469fd073259e5f0f014b
[]
no_license
hanngos/Tetris
1448345b44a9fa768a2643e89a789d8e743d8b18
d69d3075bbd81c24fc8c2f937ebb06355ee9279e
refs/heads/master
2023-04-02T15:05:10.859873
2021-04-13T14:06:50
2021-04-13T14:06:50
356,018,055
0
0
null
null
null
null
UTF-8
C++
false
false
4,782
cpp
LogikaGry.cpp
#include "LogikaGry.h" LogikaGry::LogikaGry() { studnia = new Studnia(5, 5, 300, 600, 20, 10); nastepny = new Studnia(355, 80, 100, 50, 2, 4); bloczki[0] = new I(); bloczki[1] = new J(); bloczki[2] = new L(); bloczki[3] = new O(); bloczki[4] = new S(); bloczki[5] = new T(); bloczki[6] ...
f281f896808d26e0cbbbe63b457b0dcbf66301b0
808444e3b16550229823ab6df93cf40415e66822
/atividade_04/include/Estabelecimento.hpp
26c22a3f09b9c035fe21f8ba5928ed9f3b4c88d1
[]
no_license
Gaobaofogo/faculdade_lp1
cca450097a92502f2a00ba990d107eb897ab3d2c
506410a776a79f5b5aa64ff09cc41b18e8950ac1
refs/heads/master
2022-11-22T19:33:29.668028
2020-07-23T01:27:28
2020-07-23T01:27:28
272,557,936
0
0
null
null
null
null
UTF-8
C++
false
false
487
hpp
Estabelecimento.hpp
#ifndef ESTABELECIMENTO_HPP #define ESTABELECIMENTO_HPP #include "Produto.hpp" #include <vector> #include <string> class Estabelecimento { public: std::string codigo; std::vector<Produto> produtos; std::string unidadeMedida; float preco; Estabelecimento(); Estabelecimento(const std::strin...
4fc7e619a152df533473cd296f4765dc83414887
f98ef330eea6ae5d8ce9c7fcce8c400a2b59386f
/src/Engine/InputManager.h
6f4b88ac92a15ee2afb996d83d4ce745acdb638e
[]
no_license
bmacedo/bender
6c161c6847a7151f7b355777b4090de8482d2a48
ee52ef32911534a9a36cb6f1b7c4a16452d18819
refs/heads/master
2021-05-30T00:47:11.004742
2015-04-28T15:12:55
2015-04-28T15:12:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,209
h
InputManager.h
/* * InputManager.h * * Created on: 15/04/2015 * Author: Pedro */ #ifndef ENGINE_INPUTMANAGER_H_ #define ENGINE_INPUTMANAGER_H_ #include <unordered_map> #include <iostream> #include "ControllerHandler.h" #ifdef __linux__ #include <SDL2/SDL.h> #elif _WIN32 #include "SDL.h" #else #error Platform no...
8d1137967a25039b1af151cd8740cccefa13b01f
a451452d64f9b050cc2528bd3cd514203f625a6c
/CPP_HMM/CPP_HMM_CUDA/Utilities.cpp
513c67f52ab7762178feb677d3b94ef340c11f87
[]
no_license
drb8w/HiddenMarkovModelGPU
5bb699310889d7785b393375537c1a3cf727e145
c906528abe96bf4c793a57ac6ccea30cc7b828f0
refs/heads/master
2021-01-17T13:08:42.359814
2016-06-30T16:05:18
2016-06-30T16:05:18
58,665,945
0
1
null
null
null
null
UTF-8
C++
false
false
118
cpp
Utilities.cpp
#include "Utilities.h" unsigned int glob_blocksize = 512; // value usually chosen by tuning and hardware constraints
620e2dfc771cced25c018a8cfc6da688d64fd4c1
bc072898d9e4ad94700cc39ed67594c6ff7a58bf
/01-Intro_to_C++/Program_2-28.cpp
0a804b4c4463f4372b64c8253935696b302db182
[ "MIT" ]
permissive
ringosimonchen0820/How-to-CPlusPlus
4ab9384ae3584d2a29ef6522da2046fa9b490f79
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
refs/heads/master
2023-03-14T18:09:11.539561
2021-03-22T19:53:46
2021-03-22T19:53:46
293,198,202
0
2
null
null
null
null
UTF-8
C++
false
false
619
cpp
Program_2-28.cpp
// This program calculates the circumference of a circle using named constants and other variables. //! named constant is like a variable, but its content is read-only and cannot be changed while the program is running. #include <iostream> using namespace std; int main() { // Constants. const double PI = 3.1...
bba2e559e109bbcb1986be861881748d302c43e7
00f0ba67a56e3e2fbcf3cb2b69f7e5212245dd06
/Pixel Ape Engine/Pixel Ape Engine/Application.cpp
465c639d1bda51ac6082e5d256c403616419d51d
[ "MIT" ]
permissive
tonifj/Pixel-Ape-Engine
574e29f04764e868f14d4ba4a0f14d196e621533
d5e332786b45ec0dc9c158c4886957039d6144d8
refs/heads/main
2023-02-08T04:03:16.554303
2020-12-20T15:35:00
2020-12-20T15:35:00
317,528,673
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
cpp
Application.cpp
//Modules #include "ModuleWindow.h" #include "ModuleResources.h" #include "ModuleInput.h" #include "ModuleRenderer.h" #include "Application.h" Application::Application() { modules.reserve(4); modules.push_back(window = new ModuleWindow()); modules.push_back(renderer = new ModuleRenderer()); modules.push_back(res...
86fe60b61c1736f3665184476583c68a947d10c4
d4a0808b7da4ac7bed26c727ba46de64867531df
/Games/20189004_潮汕麻将/GameCode/Server/majiang/ExtensionObject/ExtensionID.h
5230ec2213490ad9a082af39789d1410d50d54cd
[]
no_license
MadMuck/fk
1580047650d693f67feb88c0234c545960e7b651
3a44827b613bb797e3894f6f51db811b6fa05fdf
refs/heads/master
2020-12-13T08:51:50.199723
2020-01-16T23:25:22
2020-01-16T23:25:22
234,367,121
0
0
null
null
null
null
UTF-8
C++
false
false
271
h
ExtensionID.h
#ifndef EXTENSION_ID_H #define EXTENSION_ID_H #include <map> #include <typeinfo> typedef void* ExtObjIdType; template<typename T> class ExtObjID { public: ExtObjIdType ID; ExtObjID() { ID = (ExtObjIdType)(typeid(*this).name()); } }; #endif
cc04d6f19f96118df7298f0e4c50610f22b546e6
586c0b8dca352bdf175aca3ada126f617f325f5a
/rar.hpp
6df57012c56f09b37fd0e4c9940b11643425c972
[]
no_license
Czalmi/WinRAR
b1ee4de07c1e0c1822a66687be98c9e269f4e737
e87aaf1d45594e0105a91098d4f34b9c60a79ce1
refs/heads/master
2020-08-27T05:38:26.796001
2014-08-26T19:49:16
2014-08-26T19:49:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
91
hpp
rar.hpp
#pragma once #include <cstdio> #include <cstdlib> void* readFile(char* gname,size_t& size);
da80d4805913c8d37a40ee581583ac1703dbf7ed
125ae0adb562478b184bbb35d40f2c43b335415c
/MercuryUI/Widgets/tMercuryControlIndicator.cpp
56aa254796eb45ca55ce65c75adcd5c60b75d583
[]
no_license
dulton/53_hero
ff49ce6096c379931d7649b654c5fa76de4630de
48057fe05e75f57b500a395e6ff8ff9c06da6895
refs/heads/master
2020-02-25T04:19:18.632727
2016-05-20T03:44:44
2016-05-20T03:44:44
62,197,327
3
2
null
2016-06-29T05:11:41
2016-06-29T05:11:38
null
UTF-8
C++
false
false
11,978
cpp
tMercuryControlIndicator.cpp
/*****************************************************/ // Copyright (c) 2007-2015 Navico // Confidential and proprietary. All rights reserved. /*****************************************************/ #include <StdAfx.h> #include "tMercuryControlIndicator.h" #include "../tMercuryStyle.h" #include "../tMercuryStyleF...
4264c9a103a9731808891642874ebd747a6d5d50
0aab891499fc89359196d8ef0f31123fbbd25705
/Common/Models/ActiveShapeModel/Profile.h
5e6c7be2d8db074e3d69810a5eb0362b07d53802
[]
no_license
igrechuhin/ComputerVision
b6aa63f811a5ccdb4432a70d3580dcfd3ad248b4
7d4b5db2432e1b977e749a74ca48c660a4a41980
refs/heads/master
2016-09-06T10:27:15.111527
2014-04-22T12:42:25
2014-04-22T12:42:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
877
h
Profile.h
#ifndef COMMON_MODELS_PROFILE_H #define COMMON_MODELS_PROFILE_H #include "../../Math/Matrix.h" #include <QVector> namespace common { namespace models { struct Profile { enum TypeOption { Profile1D, Profile2D, ProfilesCount }; struct Point...
10e47459193041756a1ec91689f55b545e9685a4
88b92bfc1eec9cfac432a14dc2546e3ef946c5f6
/cc/main.cc
dd7bce89abe285e5c6e7e0e453dfa3033691230b
[ "Apache-2.0" ]
permissive
codyjhsieh/minigo
a8db376f23a4859ef83569154d2803b6ce84aa44
f879eadbbd9e3d50fe266d0f0f91d53664681cad
refs/heads/master
2020-03-24T05:47:21.520927
2018-07-25T02:46:11
2018-07-25T02:46:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,477
cc
main.cc
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
60c4770a2c8b778e0a40292f339468376bd56bb0
5bccf2d2118008c0af6a51a92a042e967e4f2abe
/Support/Modules/Model3D/Model3D/Nurbs/CandidateNurbsBodyBuilder.hpp
211127195b00bd7fea948636c6b2ab0269937ce6
[ "Apache-2.0" ]
permissive
graphisoft-python/DGLib
fa42fadebedcd8daaddde1e6173bd8c33545041d
66d8717eb4422b968444614ff1c0c6c1bf50d080
refs/heads/master
2020-06-13T21:38:18.089834
2020-06-12T07:27:54
2020-06-12T07:27:54
194,795,808
3
0
Apache-2.0
2020-06-12T07:27:55
2019-07-02T05:45:00
C++
UTF-8
C++
false
false
1,541
hpp
CandidateNurbsBodyBuilder.hpp
#ifndef CANDIDATENURBSBODYBUILDER_HPP #define CANDIDATENURBSBODYBUILDER_HPP #include "CandidateNurbsBody.hpp" namespace BrepOperations { class NurbsBrepWithLibData; } namespace Modeler { class MODEL3D_DLL_EXPORT CandidateNurbsBodyBuilder { private: NurbsVertexDataContainerT vertexData; NurbsEdgeDataContaine...
81d29785d1ffd97d937b504d3b1065c0682be25f
104cfbee3673a2e95b9a5540a9f638312d13312d
/GutSoftAnalyzers/GutSoftTimingNormalizationAnalyzer/src/GutSoftTimingNormalizationAnalyzer.cc
7f7b0cac453ad29bf750a2b6472efaef3a946d41
[]
no_license
gutsche/usercode
f2ac1a0e09cacaacae3a3bcbbb979fe2a6d002c8
709be819f5018d70e15b1f68df2e6e5f61243446
refs/heads/master
2016-09-05T21:52:01.244466
2013-03-15T23:14:49
2013-03-15T23:14:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,285
cc
GutSoftTimingNormalizationAnalyzer.cc
// // Package: GutSoftAnalyzers/GutSoftTimingNormalizationAnalyzer // Class: GutSoftTimingNormalizationAnalyzer // // Description: EDAnalyzer with counter for normalization of timing studies // // Original Author: Oliver Gutsche, gutsche@fnal.gov // Created: Sun Dec 3 15:33:58 UTC 2006 /...
a575f89b46843c478168b02930bfa138ace64071
2c7b8a9010eb03ad4ad032fd3df08a3e063bd29c
/3 course 1 semester/Computer Graphics/mainwindow.h
9aac208d2797112634b29e31e6c9edab0cb5910c
[]
no_license
ilya2010ujl/UniversityLab
d9adde6d4d1f679138517e625cfe71631b051be0
fee8de5d1fda377dcf495e875db2678421b9edb4
refs/heads/master
2023-07-31T18:09:04.293105
2021-09-12T16:04:07
2021-09-12T16:04:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,015
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "Viewport/viewport.h" #include "ObjectsToDraw/ObjectToDraw/objecttodraw.h" QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = n...
8c8919c1eb30e6e94a029d4137995fec28d1a357
6d858c34547d9365e5f4d7ab71475177e88b2a66
/src/copper/plat.cpp
0c4ff5b14a0a224706c8f27113221a0cdf77d1fe
[ "MIT" ]
permissive
sgorsten/copper
fdc513e685493874d999934568008cfac0d095e4
befc967805f14c624d42b0ee9e436e545d83fe72
refs/heads/master
2021-01-10T19:34:18.755908
2013-11-08T07:11:15
2013-11-08T07:11:15
13,848,716
1
0
null
null
null
null
UTF-8
C++
false
false
2,139
cpp
plat.cpp
#include "common.h" #include "cu/plat.h" #include <ostream> using namespace cu; Window::Window(const char * title, int2 dimensions) : Window() { if (SDL_Init(SDL_INIT_VIDEO) == -1) throw std::runtime_error("SDL_Init() failed"); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); SDL_GL_SetAttribute(SDL_...
fbf43be896a47f91dece1fa8347b29ee2285f182
0841c948188711d194835bb19cf0b4dae04a5695
/p2pserver_v2/pushserver/src/akg.cc
30adbed951725c4fffb521f5453edaa2ac256fba
[]
no_license
gjhbus/sh_project
0cfd311b7c0e167e098bc4ec010822f1af2d0289
1d4d7df4e92cff93aba9d28226d3dbce71639ed6
refs/heads/master
2020-06-15T16:11:33.335499
2016-06-15T03:41:22
2016-06-15T03:41:22
null
0
0
null
null
null
null
GB18030
C++
false
false
1,547
cc
akg.cc
/* * akg.c * * Created on: 2011-11-3 * Author: fengjianhua * Mail: jianhuafeng@sohu-inc.com 56683216@qq.com * * 修改记录: * 20111121: * 不做login判断(线上统计,约每30分钟30万数据中,只有100多个uid或ver无效的数据) */ #include "akg.h" #include "updater.h" #include "stats.h" //#include "../../libjeep/jeep.h" ...