hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
7cd69f6f66570ee16e0dfc4a00208ac3e4fce49a
1,924
cpp
C++
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
// The Bomberman Game - Solution #include <iostream> #include <vector> std::vector<std::string> bomberMan(const int r, const int c, const int n, const std::vector<std::string> &grid) { std::vector<std::string> finalGrid1 = grid, finalGrid2, finalGrid3; for (int i{}; i < r; i++) for (int j{}; j < c; j...
28.716418
113
0.37526
ugurcan-sonmez-95
7cd798d6286c3458b708f1391f6a55e9c9d78390
27,815
hpp
C++
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
/* @brief a simple command line parser @author guobao.v@gmail.com */ #ifndef _COMMON_CMDLINE_HPP_ #define _COMMON_CMDLINE_HPP_ #include <common/precomm.hpp> #include <algorithm> #ifdef __GNUC__ #include <cxxabi.h> #endif /** @addtogroup common @{ @defgroup cmdline cmdline - command line parser @{ ...
34.595771
125
0.39112
Mainvooid
7cdad3ebcc2bf57b9787e69f1a92a256c4646439
990
cpp
C++
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
null
null
null
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
null
null
null
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
2
2021-12-16T13:04:18.000Z
2022-01-07T14:06:06.000Z
#include "pch.h" #include "layers_stack.h" engine::layers_stack::~layers_stack() { for(auto* layer : m_layers) { layer->on_detach(); delete layer; } } void engine::layers_stack::push_layer(layer* layer) { m_layers.emplace(m_layers.begin() + m_layers_insert_index, layer); m_layers_...
21.521739
70
0.638384
DmitryK579
7ce095b7f6667f84a76d62e0e9023d433e372d20
7,051
cpp
C++
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
58
2018-03-21T09:55:08.000Z
2022-03-25T07:21:42.000Z
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
2
2019-01-29T05:56:48.000Z
2019-05-23T04:44:28.000Z
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
17
2018-03-21T12:10:47.000Z
2022-03-20T03:24:37.000Z
#define _WINSOCKAPI_ #include <windows.h> #include <stdio.h> #include <list> #include "libfuncs.h" #include "logging.h" using namespace std; using namespace RSLibImpl; #define NUM_REPLICAS 5 #define MAX_CMD_LEN 256 char procTitles[NUM_REPLICAS][256]; volatile bool endTest; volatile bool endTestCompleted; bool Start...
30.392241
102
0.584598
nkindberg
7ceae8a4f83a95e9ee841983fd42e6251bcedc57
8,606
hpp
C++
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2021-09-22T08:37:01.000Z
2021-09-22T08:37:01.000Z
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2020-11-16T04:05:47.000Z
2020-11-16T04:05:47.000Z
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
2
2020-12-21T09:28:26.000Z
2021-09-17T03:08:19.000Z
// MIT License // // MEL - Mechatronics Engine & Library // Copyright (c) 2019 Mechatronics and Haptic Interfaces Lab - Rice University // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software w...
35.415638
80
0.617128
chip5441
7cf0c63a6872c694335811d2bd24174c58e5614b
415
hpp
C++
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
null
null
null
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
1
2021-04-09T07:35:37.000Z
2021-04-09T07:35:37.000Z
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
1
2020-12-15T01:38:09.000Z
2020-12-15T01:38:09.000Z
#pragma once namespace TestJoinBeforeAndAfterThreadHasFinished{ void Run(); }//~namespace //==================== //Test many threads //==================== namespace TestManyThreads{ void Run(); }//~namespace //========================== //Test immediate thread exit //========================== namespace TestImmed...
15.961538
50
0.575904
cppfw
7cf265d3489293daa331751f47b69f65516d8386
698
cpp
C++
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2017-06-29T14:04:14.000Z
2020-03-21T12:48:21.000Z
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
null
null
null
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2020-03-31T15:45:19.000Z
2021-09-15T15:51:06.000Z
#include <bits/stdc++.h> #define LL long long int using namespace std; string division(string a, LL b); int main(void) { int T; cin >> T; for(int i = 1; i <= T; i++){ string a; LL b; cin >> a >> b; cout << division(a, b) << endl; } return 0; } string division(st...
15.173913
40
0.395415
MrinmoiHossain
7cfb7c135873789f76c032b27d40dd046117f774
1,163
hpp
C++
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
6
2019-04-02T07:47:37.000Z
2021-05-31T08:01:04.000Z
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
null
null
null
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
4
2019-04-15T08:52:17.000Z
2022-03-25T10:29:57.000Z
// // Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/deepgrace/giant // #include <memory>...
22.365385
90
0.505589
deepgrace
cfb74c5f61e72e167965cd3b6a4877121efebe2c
2,131
cpp
C++
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
null
null
null
#include "KEEntityNamePool.h" #include "KEditorGlobal.h" KEEntityNamePool::KEEntityNamePool() { } KEEntityNamePool::~KEEntityNamePool() { ASSERT_RESULT(m_Pool.empty()); } bool KEEntityNamePool::Init() { UnInit(); return true; } bool KEEntityNamePool::UnInit() { m_Pool.clear(); return true; } std::string KEEnt...
21.525253
82
0.712342
King19931229
cfb7c3be207d4d876b2478472d249000d3e74726
9,931
cpp
C++
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
10
2016-06-01T12:54:45.000Z
2021-09-07T17:34:37.000Z
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
null
null
null
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
4
2017-05-03T14:03:03.000Z
2021-01-04T04:31:15.000Z
//============================================================== // Copyright (C) 2004 Danny Chapman // danny@rowlhouse.freeserve.co.uk //-------------------------------------------------------------- // /// @file SDLApplicationbase.cpp // //==========================...
28.133144
87
0.518578
Ludophonic
cfb7f0230a3dad9f838546d1c0b8a0a0989955ba
17,656
cpp
C++
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/System
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
3
2020-04-24T20:23:24.000Z
2022-01-06T22:27:01.000Z
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
null
null
null
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
1
2021-06-25T17:35:08.000Z
2021-06-25T17:35:08.000Z
#ifdef WINDOWS #include <System/System.h> using namespace System; using namespace System::Runtime; using namespace System::Objects; using namespace System::Devices; using namespace System::IO; using namespace System::Interface; using namespace System::Graphics; #undef using #define _INITIALIZER_LIST_ #include <Wind...
33.06367
269
0.617864
jbatonnet
cfbaa3403fe6083a83b359001d88539239ef0d88
769
cpp
C++
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
#include "line.h" Line::Line() { setAdjustFlag(false); } void Line::startDraw(QGraphicsSceneMouseEvent * event) { QPen pen = this->pen(); pen.setWidth(this->width); pen.setColor(this->color); setPen(pen); startPos=event->scenePos(); } void Line::drawing(QGraphicsSceneMouseEvent ...
18.756098
55
0.6671
YangPeihao1203
cfbc414efa03b4d00846bddacc360efa3e6b71df
16,075
cpp
C++
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
34.869848
112
0.612877
priyasundaresan
cfbc9166cf99ff55eb9d15aacb24a713551f7d21
2,707
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <queue> #include <msw/buffer.hpp> namespace dawn { struct queue_blocks { typedef msw::range<msw::byte> block ; typedef msw::range<msw::byte const> const_block ; queue_blocks () ; ...
27.07
67
0.461396
yklishevich
cfbe411ee255d884970fca91398de8142dd8ec8c
7,250
hpp
C++
math/rotation.hpp
melowntech/libmath
7a473801a93ba5e244d96e773b412a3abed4a400
[ "BSD-2-Clause" ]
1
2021-09-02T08:42:59.000Z
2021-09-02T08:42:59.000Z
externals/browser/externals/browser/externals/libmath/math/rotation.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
2
2020-06-09T12:06:16.000Z
2021-10-06T08:15:04.000Z
externals/browser/externals/browser/externals/libmath/math/rotation.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
1
2019-09-25T05:20:17.000Z
2019-09-25T05:20:17.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
27.358491
79
0.549379
melowntech
cfc100bde1c5aae9d74ba6d1e7071f3bd1096362
3,215
cpp
C++
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
1
2021-11-02T14:31:12.000Z
2021-11-02T14:31:12.000Z
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
null
null
null
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
1
2021-09-30T08:23:58.000Z
2021-09-30T08:23:58.000Z
// Use of this source code is governed by a BSD 3-Clause License // that can be found in the LICENSE file. // Author: caozhiyi (caozhiyi5@gmail.com) #include "timer_1ms.h" namespace quicx { static const TIMER_CAPACITY __timer_accuracy = TC_1MS; // 1 millisecond static const TIMER_CAPACITY __timer_capacity = TC_50M...
22.640845
81
0.576361
caozhiyi
cfc56aecda2a23487b740604cb490928ac2a12b8
1,893
cpp
C++
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
139
2016-09-20T00:28:04.000Z
2020-09-27T15:05:11.000Z
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
85
2020-09-29T16:33:00.000Z
2022-03-30T01:23:23.000Z
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
63
2016-12-06T11:42:29.000Z
2020-09-24T06:15:49.000Z
#include "etcd/v3/action_constants.hpp" char const * etcdv3::CREATE_ACTION = "create"; char const * etcdv3::COMPARESWAP_ACTION = "compareAndSwap"; char const * etcdv3::UPDATE_ACTION = "update"; char const * etcdv3::SET_ACTION = "set"; char const * etcdv3::GET_ACTION = "get"; char const * etcdv3::PUT_ACTION = "put"; ch...
41.152174
89
0.733228
siyuan0322
cfc5afce8a871cbdf7809d3bd8833c1e30182e5b
4,823
cc
C++
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
1
2020-08-20T22:34:36.000Z
2020-08-20T22:34:36.000Z
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
1
2020-08-27T00:01:42.000Z
2020-11-27T17:18:58.000Z
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
null
null
null
#include "Where.hh" #include "printutils.hh" namespace ft = ftools; namespace fs = std::filesystem; namespace pu = printUtils; Table::Table(std::string name) { this->name = name; loadPaths(name); checkTableExists(); load_metadata(); this->reg_count = ft::getRegCount(name); this->indexes = new std::vecto...
23.758621
80
0.667427
mgonnav
cfd0a388d365849c55299571788a64f78b67ee78
631
cpp
C++
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
#include "../../include/kit2d/scene/Stage.hpp" #include "../../include/kit2d/scene/Scene.hpp" namespace kit2d { Stage::Stage(Window& window) : window(window) { window.onUpdate([this](float deltaTime) { this->scene->update(deltaTime); }); window.onRender([this](Renderer& renderer) { this->sc...
20.354839
54
0.613312
deianvn
cfd67f07a35b31f5fa7582523cad4390e276715f
1,015
cpp
C++
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; char *getTime() { chrono::time_point<chrono::system_clock> now = chrono::system_clock::now(); time_t t = chrono::system_clock::to_time_t(now); return ctime(&t); } double accountBalance = 100; mutex accountLock; void getMoney(int id, double amou...
23.068182
88
0.553695
chiragbhatia94
cfd6ec574659e3d92a6abb352f6e84dd8242fc97
4,026
cpp
C++
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
#include "window.h" Window::Window (QWidget *parent) : QMainWindow (parent),ui (new Ui::Window) { ui->setupUi(this); p=0; laser=0; } Window::~Window(){ delete ui; } void Window::on_fixed_frame_clicked() { QString odometryFilename = QFileDialog::getOpenFileName(this,tr("Open ODOMETRY log file"),"...
30.969231
121
0.616244
mauriliodc
cfd7726a7169408dc4d932fb2ff1afdf7efd955f
917
cpp
C++
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
1
2020-04-14T05:44:50.000Z
2020-04-14T05:44:50.000Z
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
null
null
null
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
2
2020-09-02T08:56:31.000Z
2021-06-22T11:20:58.000Z
#include <iostream> #include <algorithm> #define MAXN 101 #define MAXV 1001 using namespace std; // if you want the full pack,initialize res[0] = 0,res[1:] = -inf // or you want the maximum value, initialize res[:] = 0; //you could also use cost-effective sort to solve void orgin() { int vol[MAXN]; int val[MAXN]; ...
24.131579
65
0.514722
FrancsXiang
cfdd07948334c7fc84c2caf3fa62b4a2bfad4efa
1,252
cpp
C++
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
1
2020-05-12T19:48:20.000Z
2020-05-12T19:48:20.000Z
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
#include <doctest.h> #include <cpp/Version.hpp> TEST_CASE("Version.Attribute") { #if __has_cpp_attribute(carries_dependencies) #endif #if __has_cpp_attribute(deprecated) #endif #if __has_cpp_attribute(fallthrough) #endif #if __has_cpp_attribute(likely) #endif #if __has_cpp_attribute(unlikely) #endif #if __has_cpp_att...
29.116279
62
0.746006
AMS21
cfe8e78c2ad096dcfd8c34d5cbddaf14f96b6892
674
cpp
C++
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
/* * source code: tryandcatch.cpp * author: Lukas Eder * date: 01.01.2018 * * Descr.: * Uebung zu try and catch Fehlerbehandlung inkl. inteligentem Array */ #include <iostream> #include <array> using namespace std; int main() { //Variablen array<double, 3> preise; preise.at(0) = 1.45; ...
21.741935
69
0.55638
EderLukas
cfeb15a71d3d8c8a5b4ee0d3a96fd66458c16cc0
1,209
hpp
C++
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-05T10:41:14.000Z
2015-02-05T10:41:14.000Z
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-04T20:47:52.000Z
2015-02-05T07:43:05.000Z
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
null
null
null
#ifndef INSANITY_INTERFACE_SUB_THREAD #define INSANITY_INTERFACE_SUB_THREAD #include "Constants.hpp" #include "IThread.hpp" namespace Insanity { //"Sub," in opposition to the "main" thread, represented by IApplication. class INSANITY_API ISubThread : public virtual IThread { public: //==========================...
31.815789
74
0.539289
lordio
cff5243f89c24da48b4e1a8e5bee40914b35363e
16,909
cpp
C++
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
2
2020-05-31T19:54:19.000Z
2021-09-14T12:00:12.000Z
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
#include "load_dds.hpp" #define VK_NO_PROTOTYPES #include <vulkan/vulkan.h> //#define MEAN_AND_LEAN //#define NO_MINMAX //#include <windows.h> #include <iostream> /* Can load easier and more indepth with https://github.com/Hydroque/DDSLoader Because a lot of crappy, weird DDS file loader files were fou...
29.305026
98
0.603288
WubiCookie
cfff7dbf1afee58f5dd3a04d6f58c871730fa696
712
cpp
C++
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> #include <list> #include <vector> #include <iterator> using namespace std; int iArray[5] = {1,2,3,4,5}; void Display(list<int> &a , const char* s){ cout << s << endl; copy(a.begin(),a.end(), ostream_iterator<int>(cout, " ")); cout << endl; } int main(){ list...
22.25
62
0.629213
Trickness
3205b13f2b67c5c04db23a69f1ebf07a9e31ed5d
3,456
cpp
C++
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
23.510204
106
0.530093
onexmaster
3208de8949a1662d0acd4a62337215eb51f7ad50
1,728
hpp
C++
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/EventCameraCalibration
debd774ac989674b500caf27641b7ad4e94681e9
[ "Apache-2.0" ]
22
2021-08-06T03:21:03.000Z
2022-02-25T03:40:54.000Z
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
1
2022-02-25T02:55:13.000Z
2022-02-25T15:18:45.000Z
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
7
2021-08-11T12:29:35.000Z
2022-02-25T03:41:01.000Z
// // Created by huangkun on 2019/12/30. // #ifndef OPENGV2_FEATUREBASE_HPP #define OPENGV2_FEATUREBASE_HPP #include <memory> #include <Eigen/Eigen> #include <opengv2/landmark/LandmarkBase.hpp> namespace opengv2 { class FeatureBase { // TODO: inherit ObservationBase public: EIGEN_MAKE_ALIGNED_OPERA...
25.043478
111
0.600116
MobilePerceptionLab
320ad7582601aa0c407b9fc613bf6d96159f5191
518
hpp
C++
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
#ifndef _INCLUDE_WRAPPER #define _INCLUDE_WRAPPER #include <ISmmPlugin.h> #include "iplayerinfo.h" #if SOURCE_ENGINE <= SE_DARKMESSIAH /** * Wrap the CCommand class so our code looks the same on all engines. */ class CCommand { public: const char *ArgS() { return g_Engine->Cmd_Args(); } int ArgC() { return...
15.69697
69
0.727799
Dreae
320ba053f76ac48a47fd3cf23ed89c7d478b06f7
3,891
cpp
C++
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2017-12-12T19:23:44.000Z
2017-12-12T19:23:44.000Z
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2016-04-20T18:47:05.000Z
2016-05-04T08:05:45.000Z
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2019-07-14T15:39:27.000Z
2019-07-14T15:39:27.000Z
#include "SplitFit.h" SplitFit::SplitFit() { int levelH[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; int levels = 1; int levelW[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; int levelHmin = 0; int levelRH[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
24.018519
122
0.555641
IWantedToBeATranslator
320bf69707aaae190ebccb03cd7d07ac9c80ace7
677
cpp
C++
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
5
2021-03-27T21:26:07.000Z
2021-12-23T22:15:37.000Z
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
null
null
null
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; struct dna { int pos; int key; string str; }; bool cmp(const dna &a, const dna &b) { if (a.key != b.key) { return a.key < b.key; } else { return a.pos < b.pos; } } int main() { int n, m, count; dna inv[110]; string str; cin >> n >> m...
11.877193
36
0.478582
Zaryob
320e6f684dea75528b653b8b6172938f63e9d919
436
cpp
C++
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
1
2020-06-14T06:14:50.000Z
2020-06-14T06:14:50.000Z
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
#include <Red/Data/JSON/Number.h> Red::Data::JSON::Number :: Number ( double Value ): RefCounted ( 0 ), Value ( Value ) { } Red::Data::JSON::Number :: ~Number () { } Red::Data::JSON::IType :: DataType Red::Data::JSON::Number :: GetType () const { return kDataType_Number; } double Red::Data::JSON::Number :: ...
13.212121
78
0.605505
OutOfTheVoid
32112ab813d3aa682de5b9cba42ab4654fb1fb80
10,516
cpp
C++
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
#include "ofxXTweener.h" #pragma region Easing functions /***** LINEAR ****/ float Linear::easeNone(float t, float b, float c, float d) { return c*t / d + b; } float Linear::easeIn(float t, float b, float c, float d) { return c*t / d + b; } float Linear::easeOut(float t, float b, float c, float d) { return c*t /...
27.103093
176
0.603461
jjongun
32121d63e621256eef322efc6b1f72fcfcc9a340
761
hpp
C++
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
#pragma once #include <wayland-server.h> #include <unordered_map> #include <vector> #include <string> namespace Awning::Protocols::WL::Data_Device { extern const struct wl_data_device_interface interface; namespace Interface { void Start_Drag(struct wl_client* client, struct wl_resource* resource, struct wl_res...
34.590909
173
0.792378
Link1J
321459382e58a205aac83dd508d19189b1440df1
7,119
cpp
C++
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
7
2020-10-16T11:34:27.000Z
2022-03-12T17:53:15.000Z
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
Kiper220/SREngine
f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec
[ "MIT" ]
1
2022-03-07T14:42:22.000Z
2022-03-07T14:42:22.000Z
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
6
2021-05-06T15:09:52.000Z
2022-03-12T17:57:14.000Z
// https://github.com/vinniefalco/LuaBridge // // Copyright 2019, Dmitry Tarakanov // SPDX-License-Identifier: MIT #include "TestBase.h" struct NamespaceTests : TestBase { template <class T> T variable (const std::string& name) { runLua ("result = " + name); return result <T> (); } }; TEST_F (Namesp...
22.817308
105
0.617643
GlebShikovec
3216a0912083e09e1e4d9a060d8eb8d6739fa22f
5,810
cc
C++
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
2
2020-02-25T05:52:57.000Z
2021-03-18T08:28:38.000Z
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
null
null
null
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 The Cartographer Authors * * 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...
40.068966
80
0.724269
linghusmile
3217a82afab606ad838675c40d023585b0b4a668
10,699
hpp
C++
cpp/src/test/test_position_manipulation.hpp
arthur-bit-monnot/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
13
2018-11-19T15:51:23.000Z
2022-01-16T11:24:21.000Z
cpp/src/test/test_position_manipulation.hpp
fire-rs-laas/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
14
2017-10-12T16:19:19.000Z
2018-03-12T12:07:56.000Z
cpp/src/test/test_position_manipulation.hpp
fire-rs-laas/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
4
2018-03-12T12:28:55.000Z
2021-07-07T18:32:17.000Z
/* Copyright (c) 2017, CNRS-LAAS All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following di...
38.210714
105
0.549397
arthur-bit-monnot
321c3ffcbfc764ede04835b683800520a8bdff0b
404
cpp
C++
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
20
2015-01-19T02:12:50.000Z
2020-12-09T17:02:42.000Z
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
1
2015-12-15T11:28:19.000Z
2015-12-15T11:28:19.000Z
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
9
2015-08-20T15:35:17.000Z
2020-07-17T02:26:35.000Z
#include "state_mach.h" using namespace Raft; State::State() { } State::~State() { } bool State::is_follower() { return d_state == RAFT_STATE_FOLLOWER; } bool State::is_leader() { return d_state == RAFT_STATE_LEADER; } bool State::is_candidate() { return d_state == RAFT_STATE_CANDIDATE; } void State::set(R...
14.962963
54
0.693069
davitkalantaryan
321e52d806270a22769c244eecdbf204b18e506a
1,539
cpp
C++
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
16
2016-03-16T22:16:18.000Z
2021-04-05T04:46:38.000Z
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
11
2016-03-16T22:02:26.000Z
2021-04-04T02:20:51.000Z
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
5
2016-03-22T14:03:34.000Z
2021-01-06T18:08:46.000Z
#include <iostream> #include <native/native.hpp> using namespace native; using namespace http; int main() { std::shared_ptr<Loop> loop = Loop::Create(); std::shared_ptr<Server> server = Server::Create(loop); server->get("/", [](std::shared_ptr<ServerConnection> connection) -> Future<void> { // some initial ...
34.2
87
0.606888
nodenative
32234a55fff0457a3399490a0db7f51162085257
437
cc
C++
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
// Copyright 2015 Piotr Tworek. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ozone_qt/platform/client_native_pixmap_factory_qt.h" #include "ui/ozone/common/stub_client_native_pixmap_factory.h" namespace ui { ClientNativePixmap...
27.3125
73
0.796339
tworaz
322399a6ddafb4e2f67c58e3d8b574741c2d0f87
847
cpp
C++
pvxmatching/utils/rbitmap.cpp
igarashi/matchingwithvcmap
b1bc5441d7b45622edf58f0597f478c07ee6db75
[ "MIT" ]
null
null
null
pvxmatching/utils/rbitmap.cpp
igarashi/matchingwithvcmap
b1bc5441d7b45622edf58f0597f478c07ee6db75
[ "MIT" ]
null
null
null
pvxmatching/utils/rbitmap.cpp
igarashi/matchingwithvcmap
b1bc5441d7b45622edf58f0597f478c07ee6db75
[ "MIT" ]
null
null
null
// // Created by Yuki Igarashi on 2017/05/23. // #include "rbitmap.hpp" namespace utils { RBitmap::RBitmap(int size) : size_(size) { if (size > MAX_BIT_SIZE) throw "Exception: size exceed MAX_BIT_SIZE while creating bitmap. (Use longer int as Bitmap instead.)"; } void RBitmap::set_value(int symbol, size_t case...
22.891892
107
0.702479
igarashi
7a92578132cd9170dd4baece915ccdaab616239c
730
cpp
C++
TCP_ServerClient/AsyncTCPServer_Factory.cpp
aliyavuzkahveci/tcp_serverclient
c37111e21069670972f0fcd08584710af42f591a
[ "MIT" ]
null
null
null
TCP_ServerClient/AsyncTCPServer_Factory.cpp
aliyavuzkahveci/tcp_serverclient
c37111e21069670972f0fcd08584710af42f591a
[ "MIT" ]
null
null
null
TCP_ServerClient/AsyncTCPServer_Factory.cpp
aliyavuzkahveci/tcp_serverclient
c37111e21069670972f0fcd08584710af42f591a
[ "MIT" ]
null
null
null
#include "AsyncTCPServer_Factory.h" #include "AsyncTCPServer_Impl.h" namespace AsyncTCP { AsyncTCPServer_Factory_Ptr AsyncTCPServer_Factory::m_instance = nullptr; AsyncTCPServer_Factory_Ptr& AsyncTCPServer_Factory::getInstance() { if (m_instance == nullptr) m_instance = std::unique_ptr<AsyncTCPServe...
24.333333
87
0.773973
aliyavuzkahveci
7a9a54ee622437b984766c046bb2611a0d0565df
16,941
cpp
C++
src/helpers/ExtraHelpers.cpp
mdhooge/qt-handlebars
e950052e0e758413ee09a9c91499481a3ea51b11
[ "MIT" ]
1
2022-01-11T19:57:39.000Z
2022-01-11T19:57:39.000Z
src/helpers/ExtraHelpers.cpp
mdhooge/qt-handlebars
e950052e0e758413ee09a9c91499481a3ea51b11
[ "MIT" ]
null
null
null
src/helpers/ExtraHelpers.cpp
mdhooge/qt-handlebars
e950052e0e758413ee09a9c91499481a3ea51b11
[ "MIT" ]
2
2016-11-17T12:35:03.000Z
2022-01-11T19:57:19.000Z
#include "ExtraHelpers.h" #include <QChar> #include <QDateTime> #include <QDir> #include <QFile> #include <QObject> #include <QTextStream> #include "HandlebarsParser.h" namespace Handlebars { const escape_fn fn_noEscape, fn_htmlEscape { [] (const QString& str ) { return str.toHtmlEscaped(); } }; void register...
25.90367
106
0.581725
mdhooge
7a9c02bc21da5bd673f3a972a10d7862f117a9b4
1,524
hpp
C++
libs/ledger/include/ledger/tx_status_http_interface.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/ledger/include/ledger/tx_status_http_interface.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/ledger/include/ledger/tx_status_http_interface.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
33.130435
80
0.654199
devjsc
7a9ea246aeb7df0f5298e76b12ecffced085fafa
3,983
cpp
C++
src/main/cpp/ofxOboeAndroidSoundPlayer.cpp
danoli3/ofxOboe
61b628c48c18c44a4f21a695549fa95286d86779
[ "MIT" ]
1
2021-11-05T08:33:34.000Z
2021-11-05T08:33:34.000Z
src/main/cpp/ofxOboeAndroidSoundPlayer.cpp
danoli3/ofxOboe
61b628c48c18c44a4f21a695549fa95286d86779
[ "MIT" ]
null
null
null
src/main/cpp/ofxOboeAndroidSoundPlayer.cpp
danoli3/ofxOboe
61b628c48c18c44a4f21a695549fa95286d86779
[ "MIT" ]
null
null
null
// // Created by Dan Rosser on 10/9/21. // #include "ofxOboeAndroidSoundPlayer.h" bool ofxOboeAndroidSoundPlayer::load(const std::filesystem::path& fileName, bool stream) { AudioProperties targetProperties { .channelCount = ofxOboe::getChannelCount(), .sampleRate = ofxOboe::getSampleRate()...
23.850299
143
0.656038
danoli3
7aa12e259b0d9d4631b6095a6b4f9710001c8f20
1,028
cpp
C++
project2D/Spring.cpp
Master-Mas/2D-Physics-Exmaple
a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a
[ "MIT" ]
null
null
null
project2D/Spring.cpp
Master-Mas/2D-Physics-Exmaple
a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a
[ "MIT" ]
null
null
null
project2D/Spring.cpp
Master-Mas/2D-Physics-Exmaple
a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a
[ "MIT" ]
null
null
null
#include "Spring.h" Spring::Spring(RigidBody2D * join1, RigidBody2D * join2, float springConstant, float damping) { this->join1 = join1; this->join2 = join2; this->springConstant = springConstant; this->damping = damping; this->restDistance = glm::length(join1->getTransform().getPosition() - join2->getTransform(...
33.16129
207
0.719844
Master-Mas
7aa381be8780833746f2bb730b4590fb0337ca7b
975
cpp
C++
app/src/main/cpp/recording/streams/RecordingStreamConstants.cpp
atikur-rabbi/fast-mixer
7b471e102aacb9cdf75af5c7775d18d10e584ff1
[ "CC0-1.0" ]
47
2020-07-16T21:21:37.000Z
2022-03-02T00:18:00.000Z
app/src/main/cpp/recording/streams/RecordingStreamConstants.cpp
iftenet/fast-mixer
9e834d6ebed0b1dd63fe8688f8bf614e19a8467f
[ "CC0-1.0" ]
1
2020-09-29T06:48:22.000Z
2020-10-10T17:40:50.000Z
app/src/main/cpp/recording/streams/RecordingStreamConstants.cpp
iftenet/fast-mixer
9e834d6ebed0b1dd63fe8688f8bf614e19a8467f
[ "CC0-1.0" ]
10
2020-07-19T10:07:21.000Z
2022-02-11T07:03:20.000Z
// // Created by asalehin on 7/30/20. // #include "RecordingStreamConstants.h" int32_t RecordingStreamConstants::mSampleRate = oboe::DefaultStreamValues::SampleRate; int32_t RecordingStreamConstants::mPlaybackSampleRate = RecordingStreamConstants::mSampleRate; int32_t RecordingStreamConstants::mInputChannelCount = ob...
54.166667
99
0.842051
atikur-rabbi
7aa8b4970179dde3e1691202772a982ccd205706
396
cpp
C++
Editor/gui/EngineViewWidget/widget/impl/EngineViewWidgetImpl.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/EngineViewWidget/widget/impl/EngineViewWidgetImpl.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/EngineViewWidget/widget/impl/EngineViewWidgetImpl.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "EngineViewWidgetImpl.h" #include <QHBoxLayout> #include <QVBoxLayout> namespace editor::impl { EngineViewWidgetImpl::EngineViewWidgetImpl(QWidget* parent) : EngineViewWidget(parent) , m_EngineFrame(nullptr) { QVBoxLayout* layout = new QVBoxLayout(this); m_EngineFrame = new QFrame(...
18
61
0.70202
obivan43
7aae9e76f79854e77c9493597c3f1005c85189a6
2,918
cpp
C++
RectangleProgressBar.cpp
arvindrajayadav/Good-Robot
c9a0a5f50793acbe7af312fccac48ee035498d1e
[ "MIT" ]
53
2020-08-04T08:38:14.000Z
2021-12-08T18:06:40.000Z
RectangleProgressBar.cpp
arvindrajayadav/Good-Robot
c9a0a5f50793acbe7af312fccac48ee035498d1e
[ "MIT" ]
2
2020-08-15T13:03:26.000Z
2020-08-15T19:54:22.000Z
RectangleProgressBar.cpp
arvindrajayadav/Good-Robot
c9a0a5f50793acbe7af312fccac48ee035498d1e
[ "MIT" ]
5
2020-08-04T09:33:40.000Z
2021-09-13T04:22:49.000Z
#include "master.h" #include "RectangleProgressBar.h" using namespace pyrodactyl; void RectangleProgressBar::Load(rapidxml::xml_node<char> *node) { Element::Load(node); timer.Load(node, "delta_time"); if (NodeValid("bg", node)) bg.Load(node->first_node("bg"), this); if (NodeValid("caption", node)) caption.L...
23.918033
108
0.67512
arvindrajayadav
7aafbc38e6b0cfa5feefb5d5f7caec980b83af6d
875
cpp
C++
Source/Insanity/MessageBox.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
2
2022-02-11T11:59:44.000Z
2022-02-16T20:33:25.000Z
Source/Insanity/MessageBox.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
Source/Insanity/MessageBox.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
#include "pch.h" //---------------------------- #pragma comment (lib,"user32.lib") //---------------------------- MSGBOX_RETURN OsMessageBox(void *hwnd, const char *txt, const char *title, MSGBOX_STYLE wmb){ int wtype; switch(wmb){ case MBOX_OK: wtype = MB_OK; break; case MBOX_YESNO: wtype = MB_YESNO; ...
26.515152
93
0.635429
mice777
7ab070e798d995ec86e79df525877847fa03cea5
802
cpp
C++
modules/core/base/unit/utility/size.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/base/unit/utility/size.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/unit/utility/size.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
36.454545
80
0.506234
psiha
7ab1951862a75a5a3df0fff27114f4cde919a359
15,012
cpp
C++
data/474.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/474.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/474.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int ds//mX ,t3 , MGA ,s , Kai /*R4k*/,al,C8L , Zt,kW5a ,zNAk , M1l, a5Q7 , K // ,Zj/*ZbNw*/// , xz ,U8 , CQ,pb, msWtM ,PRZEy , wrI , XIc1o , uh,K2s , HR6 ,rvUy3 , Sw/*1*/, t , S8,ha , RH, Na0, q /*9ku*///P1G ,m, v3Wcf , XZ4 ,WxYJ ,OQou , py2, gpl ,h0RF, GyQZ , lVwY4b,sN2 ,c3uy ,dmv,a0,fQ , //...
11.078967
72
0.454103
TianyiChen
7abd8d8902d6549c9a9cbd099797a65257771aff
2,124
cpp
C++
src/shape.cpp
SergeyG22/TetrisRepository
527f671f7732cc07109ff30ea9cb1fca673e889e
[ "MIT" ]
null
null
null
src/shape.cpp
SergeyG22/TetrisRepository
527f671f7732cc07109ff30ea9cb1fca673e889e
[ "MIT" ]
null
null
null
src/shape.cpp
SergeyG22/TetrisRepository
527f671f7732cc07109ff30ea9cb1fca673e889e
[ "MIT" ]
null
null
null
#include "shape.h" Shape::~Shape(){ } bool Shape::moveShape(){ for(int i = 0; i < figure.size(); ++i){ //если конец остановить if(figure.value(i).y() == window->height() - shape_configuration.size.width()){ return true; } } if(shape_configuration.activity){ for(QR...
27.584416
137
0.51177
SergeyG22
7abe681a701691dc9eb3bb3e36784c972d871c53
2,606
cpp
C++
mcrouter/routes/test/ShadowRouteTest.cpp
hrjaco/mcrouter
5a7b852a1ea2f3c645e0b8366c0549bc992870af
[ "BSD-3-Clause" ]
null
null
null
mcrouter/routes/test/ShadowRouteTest.cpp
hrjaco/mcrouter
5a7b852a1ea2f3c645e0b8366c0549bc992870af
[ "BSD-3-Clause" ]
null
null
null
mcrouter/routes/test/ShadowRouteTest.cpp
hrjaco/mcrouter
5a7b852a1ea2f3c645e0b8366c0549bc992870af
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include <memo...
29.613636
79
0.683039
hrjaco
7abfa3fe7c72801b08250e37ece2346a6888d62d
3,176
hpp
C++
von_mises.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
von_mises.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
von_mises.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
#ifndef VON_MISES_HPP #define VON_MISES_HPP #include <cassert> #include <iostream> #include <utility> #include "2d.hpp" namespace Elasticity { namespace TwoD { template <class Element> struct VonMisesComputer { template <class Vector> VonMisesComputer(const Element &el, const Vector &v, double lambda, doub...
31.76
101
0.548174
slmcbane
7ac146b3ba0b13ea9afdd1e0860b352a7ac8e7b2
49,475
cpp
C++
Sandbox/HazelDash/HazelDashLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
2
2020-12-06T23:16:46.000Z
2020-12-27T13:33:26.000Z
Sandbox/HazelDash/HazelDashLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
null
null
null
Sandbox/HazelDash/HazelDashLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
null
null
null
#include "HazelDashLayer.h" #include "Components/Amoeba.h" #include "Components/Animation.h" #include "Components/Camera.h" #include "Components/EnemyMovement.h" #include "Components/Explosion.h" #include "Components/Mass.h" #include "Components/PlayerState.h" #include "Components/Roll.h" #include "Random.h" #includ...
39.018139
283
0.475331
rocketman123456
7ac42a0cc2d9f6663081876e32d27ff07885aa65
10,437
cpp
C++
main.cpp
shantigilbert/TvTextViewer
87ca192a81bce423af6723c7514b367db6bf6580
[ "MIT" ]
null
null
null
main.cpp
shantigilbert/TvTextViewer
87ca192a81bce423af6723c7514b367db6bf6580
[ "MIT" ]
null
null
null
main.cpp
shantigilbert/TvTextViewer
87ca192a81bce423af6723c7514b367db6bf6580
[ "MIT" ]
null
null
null
/** Copyright (c) 2021 Nikolai Wuttke * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
27.393701
111
0.641947
shantigilbert
7ac515e2ac5aa9af9f6bc14e4777dcb36b32ae92
1,575
cpp
C++
krender/gles3/gles3_static_index_buffer.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
krender/gles3/gles3_static_index_buffer.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
krender/gles3/gles3_static_index_buffer.cpp
lulimin/KongFrame-0.1.0
2721a433fe089539621f53c71e26b21a8a293b63
[ "MIT" ]
null
null
null
// gles3_static_index_buffer.cpp // Created by lulimin on 2020/10/20. #include "gles3_static_index_buffer.h" #include "../render_service.h" #include "../../inc/frame_mem.h" // GLES3StaticIndexBuffer GLES3StaticIndexBuffer* GLES3StaticIndexBuffer::CreateInstance( RenderService* pRS) { GLES3StaticIndexBu...
19.936709
79
0.709841
lulimin
7ac709aa596aaae6aee4dc5fda5343c712678580
20,408
cc
C++
src/sge_vk_compute_target.cc
sungiant/sge
89692d4376cb4374e0936b5373878e59dc9a68bb
[ "MIT" ]
6
2020-09-04T10:19:29.000Z
2021-05-07T05:21:37.000Z
src/sge_vk_compute_target.cc
sungiant/sge
89692d4376cb4374e0936b5373878e59dc9a68bb
[ "MIT" ]
null
null
null
src/sge_vk_compute_target.cc
sungiant/sge
89692d4376cb4374e0936b5373878e59dc9a68bb
[ "MIT" ]
null
null
null
#include "sge_vk_compute_target.hh" #include "sge_vk_presentation.hh" #include "sge_utils.hh" namespace sge::vk { compute_target::compute_target (const struct vk::context& z_context, const struct vk::queue_identifier& z_qid, const struct sge::app::content& z_content, const size_fn& z_size_fn) : context (z_conte...
40.015686
183
0.726039
sungiant
7ac8d6535acf4f8ad0ae4a6ab71ef41f8e4e28e8
5,019
cpp
C++
Source/TurretSystem/Turret.cpp
kacmazemin/TurretSystem
dcb90e8eac84d6cbe8108cee3880e4c77e0ac4d4
[ "MIT" ]
1
2021-05-07T09:01:55.000Z
2021-05-07T09:01:55.000Z
Source/TurretSystem/Turret.cpp
kacmazemin/TurretSystem
dcb90e8eac84d6cbe8108cee3880e4c77e0ac4d4
[ "MIT" ]
null
null
null
Source/TurretSystem/Turret.cpp
kacmazemin/TurretSystem
dcb90e8eac84d6cbe8108cee3880e4c77e0ac4d4
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Turret.h" #include "DrawDebugHelpers.h" #include "TurretProjectile.h" #include "TurretSystemFunctionLibrary.h" #include "Components/ArrowComponent.h" #include "Components/AudioComponent.h" #include "Components/SphereComponent.h"...
24.970149
141
0.737796
kacmazemin
7ac9c0f5206c6a11a1415df465c201f7b288850d
2,644
cpp
C++
Source/Engine/Engine/Transform.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Engine/Engine/Transform.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
Source/Engine/Engine/Transform.cpp
Syoukei66/Animal-Space-Battle
edb17e2f75fd5b43697889597e1eaac2e9e9cd76
[ "MIT" ]
null
null
null
#include "Transform.h" #include "GameObject.h" // ================================================================= // Constructor / Destructor // ================================================================= Transform::Transform(GameObject* entity) : entity_(entity) , translate_matrix_(INativeMatrix::Create()...
24.481481
74
0.639183
Syoukei66
7aca79722a06efa9c4f2ce78404ee6cc1ada06e4
3,710
cpp
C++
Source/10.0.18362.0/ucrt/lowio/dup2.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/lowio/dup2.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/lowio/dup2.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // dup2.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // Defines _dup2() and _dup2_nolock, which duplicate lowio file handles // #include <corecrt_internal_lowio.h> static int __cdecl dup2_nolock(int const source_fh, int const target_fh) throw() { if ((_osfile(source_fh) & FOPEN)...
32.54386
107
0.674663
825126369
7acae6357a9ec2c4c4d66c30e9f3c8b3cc415a58
973
cpp
C++
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_during.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_during.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_during.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
Generated 1 VCC(s), 1 remaining after simplification (5 assignments) Encoding remaining VCC(s) using bit-vector/floating-point arithmetic Thread 0 ASSIGNMENT (HIDDEN) func_case_study::$tmp::return_value$_nondet$1?1!0&0#1 == i?1!0&0#0 Thread 0 file MyContract_case_study.sol line 1 function func_case_study ASSIGNMENT ()...
33.551724
71
0.775951
kunjsong01
7ad02eb4d96400072f661c3868362f36475687ac
87,697
cpp
C++
sources/src/antlr4parser/ELDOLexer.cpp
sydelity-net/EDACurry
20cbf9835827e42efeb0b3686bf6b3e9d72417e9
[ "MIT" ]
null
null
null
sources/src/antlr4parser/ELDOLexer.cpp
sydelity-net/EDACurry
20cbf9835827e42efeb0b3686bf6b3e9d72417e9
[ "MIT" ]
null
null
null
sources/src/antlr4parser/ELDOLexer.cpp
sydelity-net/EDACurry
20cbf9835827e42efeb0b3686bf6b3e9d72417e9
[ "MIT" ]
null
null
null
// Generated from g4files/ELDOLexer.g4 by ANTLR 4.7.1 #include "ELDOLexer.h" using namespace antlr4; using namespace edacurry; ELDOLexer::ELDOLexer(CharStream *input) : Lexer(input) { _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache); } ELDOLexer::~ELDOLexer() { dele...
69.711447
120
0.604912
sydelity-net
7ad4120cf35887c1299d20c4bd55bfff365a9bf5
989
cpp
C++
Source/EngineStd/GameAssetManager/Factory/Components/Refrigeration/GameAssetRefrigerationUnit.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/GameAssetManager/Factory/Components/Refrigeration/GameAssetRefrigerationUnit.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/GameAssetManager/Factory/Components/Refrigeration/GameAssetRefrigerationUnit.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
// include engine headers #include "EngineStd.h" // header for specific component #include "GameAssetRefrigerationUnit.h" const GameAssetType GameAssetRefrigerationUnit::g_Type = GAType_RefrigerationUnit; GameAssetRefrigerationUnit::GameAssetRefrigerationUnit(Context* context) : BaseComponent(context) { } // Game ...
23.547619
97
0.790698
vivienneanthony
7ad46012f30985b3883346136ac0fde6f90bd87a
1,930
cpp
C++
src/frameworks/wilhelm/src/itf/I3DCommit.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
src/frameworks/wilhelm/src/itf/I3DCommit.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/itf/I3DCommit.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
27.183099
77
0.712953
dAck2cC2
7ad48e2d8cdf0736321f0782af88979d3b513bb0
1,596
cpp
C++
libs/systems/impl/src/systems/impl/log_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/systems/impl/src/systems/impl/log_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/systems/impl/src/systems/impl/log_context.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/log/default_level.hpp> #include <sge/log/default_level_streams.hpp> #include <sge/sys...
37.116279
97
0.687343
cpreh
7ad684895c182e13c88f71645d1010a43c383515
6,260
cc
C++
sdl1/tennix/archive.cc
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/tennix/archive.cc
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/tennix/archive.cc
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
/** * * Tennix Archive File Format * Copyright (C) 2009-2010 Thomas Perl <thp@thpinfo.com> * * This program 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 2 * of the License, or (at y...
28.715596
98
0.625879
pdpdds
7ad74b65a2b09feee3a5ac1a965420ac2c9bd381
3,286
cpp
C++
osgDB/Registry.cpp
gideonmay/PyOSG
fe44853d52a92596aeb3983f1f6d73191872affe
[ "BSD-2-Clause-FreeBSD" ]
5
2019-05-09T14:09:05.000Z
2022-03-21T01:31:41.000Z
osgDB/Registry.cpp
gideonmay/PyOSG
fe44853d52a92596aeb3983f1f6d73191872affe
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
osgDB/Registry.cpp
gideonmay/PyOSG
fe44853d52a92596aeb3983f1f6d73191872affe
[ "BSD-2-Clause-FreeBSD" ]
4
2018-05-10T07:54:23.000Z
2020-01-08T07:37:05.000Z
// Copyright (C) 2016 Gideon May (gideon@borges.xyz) // // Permission to copy, use, sell and distribute this software is granted // provided this copyright notice appears in all copies. // Permission to modify the code and to distribute modified code is granted // provided this copyright notice appears in all copies, a...
45.013699
197
0.664638
gideonmay
7ad85bca62cdc124c66b287180f153907aa2cb0e
310
cpp
C++
lib/EMP/emp-tool/gc/backend.cpp
zpleefly/libscapi
27d7d964d645ed111c2cc9870087971cf13e24f4
[ "MIT" ]
null
null
null
lib/EMP/emp-tool/gc/backend.cpp
zpleefly/libscapi
27d7d964d645ed111c2cc9870087971cf13e24f4
[ "MIT" ]
2
2021-03-20T05:38:48.000Z
2021-03-31T20:14:11.000Z
lib/EMP/emp-tool/gc/backend.cpp
zpleefly/libscapi
27d7d964d645ed111c2cc9870087971cf13e24f4
[ "MIT" ]
null
null
null
#include "backend.h" #ifdef THREADING __thread Backend* local_backend = nullptr; __thread GarbleCircuit* local_gc = nullptr; #else Backend* local_backend = nullptr; GarbleCircuit* local_gc = nullptr; #endif int greatestPowerOfTwoLessThan(int n) { int k = 1; while (k < n) k = k << 1; return k >> 1; }
16.315789
43
0.709677
zpleefly
7ad8cb9cbb1e8954aa8f4ab4ff01f9b3107b6137
2,398
hpp
C++
src/Error.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
1
2017-04-20T06:27:36.000Z
2017-04-20T06:27:36.000Z
src/Error.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
src/Error.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
#ifndef Error_hpp #define Error_hpp #include "io.hpp" #include "SDL.hpp" #include "Strings.hpp" #include <system_error> #include <exception> namespace SDL { /// Overload of SDL::LogError that takes std::string inline bool LogError(std::string const &prefix) { return LogError(prefix.c_str()); } /// Overload of...
25.784946
85
0.706422
JesseMaurais
7addb7a8683610c2d49fefd995a33ca5c51645cf
1,302
hpp
C++
traffic.hpp
iszczesniak/ddpp
bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e
[ "BSL-1.0" ]
null
null
null
traffic.hpp
iszczesniak/ddpp
bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e
[ "BSL-1.0" ]
null
null
null
traffic.hpp
iszczesniak/ddpp
bc27ad2b7f699d8ef2e11dcb3b56d538d92e4b4e
[ "BSL-1.0" ]
null
null
null
#ifndef TRAFFIC_HPP #define TRAFFIC_HPP #include "client.hpp" #include "graph.hpp" #include "module.hpp" #include "sim.hpp" #include <queue> #include <random> #include <set> class traffic: public module<sim> { // The set of active clients. std::set<client *> cs; // The queue of clients to delete later. std:...
19.432836
68
0.686636
iszczesniak
7adff761af2c06c28166a3736f93b726e6228626
1,418
cpp
C++
src/Command.cpp
eXpl0it3r/SecondaryMap
0c5dbe98f0f08a33771045bf80fa4197e7bc09f8
[ "Zlib" ]
null
null
null
src/Command.cpp
eXpl0it3r/SecondaryMap
0c5dbe98f0f08a33771045bf80fa4197e7bc09f8
[ "Zlib" ]
null
null
null
src/Command.cpp
eXpl0it3r/SecondaryMap
0c5dbe98f0f08a33771045bf80fa4197e7bc09f8
[ "Zlib" ]
null
null
null
#include "Command.hpp" #include "utility.hpp" #include "Application.hpp" #include <SFML/System/Err.hpp> #include <iostream> Command::Command(const std::string& tokens, const std::string& data) : m_failed{false} { init_tokens(tokens); init_data(data); if(m_failed) { m_tokens.clear(); m_da...
18.657895
107
0.615656
eXpl0it3r
7ae5bf12ce5bfce9821c206a5a97798a21725b19
132
cpp
C++
Engine/src/Engine/Renderer/RendererAPI.cpp
PalliativeX/GameEngine
704cf5f3ebc81fdf5e3e514908c3ac47305ccd33
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Renderer/RendererAPI.cpp
PalliativeX/GameEngine
704cf5f3ebc81fdf5e3e514908c3ac47305ccd33
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Renderer/RendererAPI.cpp
PalliativeX/GameEngine
704cf5f3ebc81fdf5e3e514908c3ac47305ccd33
[ "Apache-2.0" ]
null
null
null
#include "enginepch.h" #include "RendererAPI.h" namespace Engine { RendererAPI::API RendererAPI::api = RendererAPI::API::OpenGL; }
18.857143
62
0.75
PalliativeX
7ae639511551668ded269856b7d603838e0f1496
597
cpp
C++
cpp/671-680/Valid Parenthesis String.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/671-680/Valid Parenthesis String.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/671-680/Valid Parenthesis String.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: bool checkValidString(string s) { int minLeft = 0, maxLeft = 0; for (char ch : s) { if (ch == '(') { minLeft++; maxLeft++; } else if (ch == ')') { minLeft--; maxLeft--; ...
21.321429
38
0.311558
KaiyuWei
7aed715ef9ebe3d0c540d0b86c92e8f17661c4c3
105
hh
C++
build/x86/mem/protocol/Message.hh
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/mem/protocol/Message.hh
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/mem/protocol/Message.hh
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "/mnt/hgfs/ShareShen/gem5-origin-stable-2015-9-3/build/x86/mem/ruby/slicc_interface/Message.hh"
52.5
104
0.8
billionshang
7aee2b1245a3c594ce397943a8c0548854afb060
159
cpp
C++
Chapter1/Excercise15.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2019-08-13T17:51:24.000Z
2019-08-13T17:51:24.000Z
Chapter1/Excercise15.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
null
null
null
Chapter1/Excercise15.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2020-06-05T13:37:56.000Z
2020-06-05T13:37:56.000Z
#include <iostream> #include <string> using namespace std; int main() { string s1 = "5"; string s2 = "3"; string s3 = s1 + s2; cout << s3 << endl; }
13.25
22
0.578616
yapbenzet
7aeee5aad78a4ab307997ac05137ee63e7b9b340
30,880
cpp
C++
test/qupzilla-master/src/plugins/TabManager/tabmanagerwidget.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/qupzilla-master/src/plugins/TabManager/tabmanagerwidget.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/qupzilla-master/src/plugins/TabManager/tabmanagerwidget.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
/* ============================================================ * TabManager plugin for QupZilla * Copyright (C) 2013-2017 S. Razi Alavizadeh <s.r.alavizadeh@gmail.com> * Copyright (C) 2018 David Rosca <nowrep@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms ...
31.671795
165
0.60761
JamesMBallard
7af253211c133ff1d64a36449099be624c5d6939
314
cpp
C++
Sandbox/src/main.cpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
4
2018-11-12T18:43:02.000Z
2020-02-02T10:18:56.000Z
Sandbox/src/main.cpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
2
2018-12-22T13:18:05.000Z
2019-07-24T20:15:45.000Z
Sandbox/src/main.cpp
WhoseTheNerd/Fusion
35ab536388392b3ba2e14f288eecbc292abd7dea
[ "Apache-2.0" ]
null
null
null
#define F_MAIN_APP #include <Fusion.h> #include "SandboxLayer.h" class SandboxApp : public Fusion::Application { public: SandboxApp() { PushLayer(Fusion::CreateRef<Sandbox::SandboxLayer>()); } }; Fusion::Scope<Fusion::Application> Fusion::CreateApplication() { return Fusion::CreateScope<SandboxApp>(); }
16.526316
62
0.735669
WhoseTheNerd
7af62dc3a32990df3f3b89549c6273f24df6473e
2,614
cpp
C++
examples/fxflow/MainWindow.cpp
moiggi/nodeeditor
8b2ffcfaa934bc69ff9f52e27b4a24859431541d
[ "BSD-3-Clause" ]
null
null
null
examples/fxflow/MainWindow.cpp
moiggi/nodeeditor
8b2ffcfaa934bc69ff9f52e27b4a24859431541d
[ "BSD-3-Clause" ]
null
null
null
examples/fxflow/MainWindow.cpp
moiggi/nodeeditor
8b2ffcfaa934bc69ff9f52e27b4a24859431541d
[ "BSD-3-Clause" ]
null
null
null
#include "MainWindow.h" #include "ui_mainwindow.h" #include <nodes/Node> #include <nodes/NodeData> #include <nodes/FlowScene> #include <nodes/FlowView> #include <nodes/FlowViewStyle> #include <nodes/NodeStyle> #include <nodes/ConnectionStyle> #include <nodes/DataModelRegistry> #include <QApplication> #include <QScree...
27.515789
89
0.700459
moiggi
7afd0beb6eb7291d3d2590691599def05b06cecb
474
hpp
C++
src/window_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/window_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/window_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <string> #include "colour.hpp" #include "winding_order.hpp" namespace cl { struct WindowCreateInfo { size_t width = 1280; size_t height = 720; std::string title; bool center = true; bool enable_backface_cull = true; WindingOrder front_face = WindingOrder::kClockw...
18.96
62
0.727848
zfccxt
bb01ef490444042e217f29370106795b930b3207
868
cpp
C++
02_Estructuras y Archivos/Ejercicios/E13_Archivos05.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
02_Estructuras y Archivos/Ejercicios/E13_Archivos05.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
02_Estructuras y Archivos/Ejercicios/E13_Archivos05.cpp
vazeri/Programacion-Orientada-a-Objetos
57d1dc413956e50d31f34c0bb339b32a176f9616
[ "MIT" ]
null
null
null
//Hacer un programa que cuente el numero de palabras que contiene un archivo de texto #include <fstream> #include <ctype.h> #include <string> #include <iostream> #include<exception> using namespace std; int main() { ifstream X1; ifstream X2; char b,c,ban; X1.open("A.txt"); X2.open("B.txt"); if...
20.186047
86
0.496544
vazeri
bb022f2a12dfa936473249ae2f6855d5e0b6816d
10,582
cpp
C++
tests/unittests/MemberTests.cpp
toddstrader/slang
77a31619e27dc25f6b29a53a5003e1781c6b3034
[ "MIT" ]
null
null
null
tests/unittests/MemberTests.cpp
toddstrader/slang
77a31619e27dc25f6b29a53a5003e1781c6b3034
[ "MIT" ]
null
null
null
tests/unittests/MemberTests.cpp
toddstrader/slang
77a31619e27dc25f6b29a53a5003e1781c6b3034
[ "MIT" ]
null
null
null
#include "Test.h" #include <nlohmann/json.hpp> TEST_CASE("Nets") { auto tree = SyntaxTree::fromText(R"( module Top; wire logic f = 1; endmodule )"); Compilation compilation; compilation.addSyntaxTree(tree); NO_COMPILATION_ERRORS; } TEST_CASE("Bad signed specifier") { auto tree = SyntaxTree::f...
23.359823
90
0.639104
toddstrader
bb0505d68e9fac69826312d8cb3365825004ca7e
655
cpp
C++
leetcode.com/0672 Bulb Switcher II/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0672 Bulb Switcher II/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0672 Bulb Switcher II/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> #include "leetcode.hpp" using namespace std; // ref: Java O(1) // https://leetcode.com/problems/bulb-switcher-ii/discuss/107269/Java-O(1) class Solution { public: // n and m both fit in range [0, 1000]. int flipLights(int n, int m) { if (m == 0 || n == 0) return 1; ...
19.848485
74
0.549618
sky-bro
bb0d637f18c3a336bf1cf54c0fef06642aa8c44f
883
hpp
C++
include/async/logger_wostream.hpp
MadNiko/async
5f384380e8f4ec40ea78c277455ca5180559bd07
[ "BSD-3-Clause" ]
null
null
null
include/async/logger_wostream.hpp
MadNiko/async
5f384380e8f4ec40ea78c277455ca5180559bd07
[ "BSD-3-Clause" ]
null
null
null
include/async/logger_wostream.hpp
MadNiko/async
5f384380e8f4ec40ea78c277455ca5180559bd07
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <iostream> #include <async\logger.hpp> namespace async { class ASYNC_LIB_API logger_wostream : public logger { public: logger_wostream(std::wostream& stream) noexcept; public: virtual void message(std::wstring_view text) noexcept override; virtual...
19.195652
109
0.704417
MadNiko
bb0ec29179010ef2a7823eff6879e657180a9c07
2,453
cc
C++
src/kudu/ranger/mini_ranger-test.cc
bbhavsar/kudu
d23ee5d38ddc4317f431dd65df0c825c00cc968a
[ "Apache-2.0" ]
6
2020-05-12T02:18:48.000Z
2021-04-15T20:39:21.000Z
src/kudu/ranger/mini_ranger-test.cc
bbhavsar/kudu
d23ee5d38ddc4317f431dd65df0c825c00cc968a
[ "Apache-2.0" ]
16
2020-01-19T07:17:00.000Z
2020-06-10T09:43:55.000Z
src/kudu/ranger/mini_ranger-test.cc
bbhavsar/kudu
d23ee5d38ddc4317f431dd65df0c825c00cc968a
[ "Apache-2.0" ]
1
2020-03-13T09:59:08.000Z
2020-03-13T09:59:08.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
27.875
98
0.732165
bbhavsar
bb1125c59766e0bb14088b0523e9a1eb251e83ea
4,993
cc
C++
cpp/demo/smtp_main_stub.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
null
null
null
cpp/demo/smtp_main_stub.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
2
2021-05-11T16:29:38.000Z
2022-01-22T12:28:49.000Z
cpp/demo/smtp_main_stub.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
33.736486
78
0.631484
propaganda-gold
bb14e332faaecd5704fc153ba478726ab8fe1a1d
1,197
cpp
C++
Lab/Salazar_Uriel_Lab6/Employee.cpp
salazaru/Cpp_Programming_Objects
8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7
[ "MIT" ]
1
2016-03-10T02:47:46.000Z
2016-03-10T02:47:46.000Z
Lab/Salazar_Uriel_Lab6/Employee.cpp
salazaru/Salazar_Uriel_CSC17A_32232
8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7
[ "MIT" ]
null
null
null
Lab/Salazar_Uriel_Lab6/Employee.cpp
salazaru/Salazar_Uriel_CSC17A_32232
8cc1e7d4b96b31a1ff57f2296d025d14b032d1c7
[ "MIT" ]
null
null
null
#include <iostream> #include "Employee.h" #include "Date.h" using namespace std; Employee::Employee( const string &first, const string &last, const string &ssn, int month, int day, int year) : firstName(first), lastName(last), socialSecurityNumber(ssn), birthDate(month, day, year) { } ...
19.95
70
0.651629
salazaru
bb189286b4a2582c860b5816aa9afaabd55ae43d
12,806
cpp
C++
src/age_emulator_gb/age_gb_memory.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
2
2022-02-12T12:51:14.000Z
2022-02-13T19:14:36.000Z
src/age_emulator_gb/age_gb_memory.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
4
2021-05-19T18:11:22.000Z
2021-09-27T18:17:26.000Z
src/age_emulator_gb/age_gb_memory.cpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
null
null
null
// // Copyright 2020 Christoph Sprenger // // 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 agr...
24.914397
116
0.586366
c-sp
bb1b23b8f30083780e16d50e4733816ad1054831
2,375
cpp
C++
avrdude/libftd2xx0.4.16_x86_64/libusb-0.1.12/tests/descriptor_test.cpp
makagucci/cARM
fc4311125cd60f875c9e56735f0df6ff4407c7c9
[ "Beerware" ]
10
2017-01-20T05:16:03.000Z
2017-01-20T05:16:18.000Z
avrdude/libftd2xx0.4.16_x86_64/libusb-0.1.12/tests/descriptor_test.cpp
makagucci/cARM
fc4311125cd60f875c9e56735f0df6ff4407c7c9
[ "Beerware" ]
null
null
null
avrdude/libftd2xx0.4.16_x86_64/libusb-0.1.12/tests/descriptor_test.cpp
makagucci/cARM
fc4311125cd60f875c9e56735f0df6ff4407c7c9
[ "Beerware" ]
null
null
null
// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- /* * descriptor_test.cpp * * Test suite program for C++ bindings */ #include <iostream> #include <iomanip> #include "usbpp.h" using namespace std; int main(void) { USB::Busses buslist; cout << "bus/device idVendor/idProduct" << endl; /...
28.614458
68
0.604211
makagucci
bb1c1c7b2f5a9987397bfbf8bf87c2f1b99d4c2f
3,120
cpp
C++
dep/include/yse/JuceLibraryCode/examples/Demo/Source/Demos/CodeEditorDemo.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2015-10-27T21:36:59.000Z
2017-03-17T21:52:19.000Z
dep/include/yse/JuceLibraryCode/examples/Demo/Source/Demos/CodeEditorDemo.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
dep/include/yse/JuceLibraryCode/examples/Demo/Source/Demos/CodeEditorDemo.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 Details of these ...
31.836735
91
0.552885
ChrSacher
bb1e983ca949afa38e38b5e676b6c020cc774aec
6,504
cpp
C++
Sail/src/Sail/graphics/shader/basic/SimpleTextureShader.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
Sail/src/Sail/graphics/shader/basic/SimpleTextureShader.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
Sail/src/Sail/graphics/shader/basic/SimpleTextureShader.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
null
null
null
#include "SimpleTextureShader.h" using namespace DirectX::SimpleMath; D3D11_INPUT_ELEMENT_DESC SimpleTextureShader::IED[2] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }, }; SimpleTextureSh...
36.539326
166
0.747386
h3nx
bb1f0f656cfcbb9839e610c3c0eb24ab2b902c2f
1,332
cpp
C++
CppProject/product.cpp
maximlo91/Store-Management-System
1da6136baf964834834925f0d4ac1adac2cb306f
[ "MIT" ]
null
null
null
CppProject/product.cpp
maximlo91/Store-Management-System
1da6136baf964834834925f0d4ac1adac2cb306f
[ "MIT" ]
null
null
null
CppProject/product.cpp
maximlo91/Store-Management-System
1da6136baf964834834925f0d4ac1adac2cb306f
[ "MIT" ]
null
null
null
#pragma warning(disable: 4996) #include <iostream> #include <string> #include "product.h" #include "general.h" using namespace std; const char* Product::categories[] = {"Children","Office","Electricity","Clothes"}; int Product::s_counter = 0; //constructor . Product::Product(Item e_category, const string& itemName...
21.483871
121
0.704955
maximlo91
bb244c4e99cee843542cc93c74b2a689745c651f
2,707
hpp
C++
breath/counting/signed_count.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/counting/signed_count.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/counting/signed_count.hpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
// =========================================================================== // Copyright 2007 Gennaro Prota // // Licensed under the 3-Clause BSD License. // (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or // <https://opensource.org/licenses/BSD-3-C...
33.012195
78
0.559291
erez-o
bb24f5903b0733ec5b5f9a9bf18deb5493a48743
7,524
cpp
C++
Axis.CommonLibrary/domain/elements/ElementGeometry.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/domain/elements/ElementGeometry.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/domain/elements/ElementGeometry.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "ElementGeometry.hpp" #include "foundation/ArgumentException.hpp" #include "foundation/OutOfBoundsException.hpp" #include "System.hpp" #include "foundation/memory/pointer.hpp" namespace ade = axis::domain::elements; namespace adi = axis::domain::integration; namespace afb = axis::foundation::blas; namespace a...
26.216028
94
0.708931
renato-yuzup
bb2819488732cdb10144f8467b2b9371ae358f8f
239
cpp
C++
docs/mfc/reference/codesnippet/CPP/cricheditctrl-class_33.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/reference/codesnippet/CPP/cricheditctrl-class_33.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/reference/codesnippet/CPP/cricheditctrl-class_33.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
CHARFORMAT cf; // Modify the word format so that the selected word is // displayed in bold and not striked out. cf.cbSize = sizeof(cf); cf.dwMask = CFM_STRIKEOUT | CFM_BOLD; cf.dwEffects = CFE_BOLD; m_myRichEditCtrl.SetWordCharFormat(cf);
29.875
54
0.769874
bobbrow
bb2ea0b7844a55c68b9f7edf1048828b7691db8c
3,309
cpp
C++
test/functional/gfalt_test_copy_file_mkdir.cpp
adevress/gfal2
ce8945d1c153e26c5d10ad43d1940b8dcace0579
[ "Apache-2.0" ]
null
null
null
test/functional/gfalt_test_copy_file_mkdir.cpp
adevress/gfal2
ce8945d1c153e26c5d10ad43d1940b8dcace0579
[ "Apache-2.0" ]
null
null
null
test/functional/gfalt_test_copy_file_mkdir.cpp
adevress/gfal2
ce8945d1c153e26c5d10ad43d1940b8dcace0579
[ "Apache-2.0" ]
1
2020-04-28T09:36:46.000Z
2020-04-28T09:36:46.000Z
/** * Compile command : gcc -o gfalt_copyfile gfalt_copyfile.c `pkg-config --libs --cflags gfal_transfer` */ #include <gtest/gtest.h> #include <gfal_api.h> #include <stdio.h> #include <stdlib.h> #include <utils/exceptions/gerror_to_cpp.h> #include <transfer/gfal_transfer.h> #include <common/gfal_lib_test.h> #includ...
27.347107
102
0.68903
adevress
bb329733361f1d7ce48a9156918d00aed2690e55
4,402
cpp
C++
Source/FPSProject/FPSHud.cpp
ellji/FPSProject
d1ae8b45acd52426aa4391caaae01ccd13c09a80
[ "MIT" ]
null
null
null
Source/FPSProject/FPSHud.cpp
ellji/FPSProject
d1ae8b45acd52426aa4391caaae01ccd13c09a80
[ "MIT" ]
null
null
null
Source/FPSProject/FPSHud.cpp
ellji/FPSProject
d1ae8b45acd52426aa4391caaae01ccd13c09a80
[ "MIT" ]
null
null
null
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. #include "FPSProject.h" //#include "CardInvUIWidget.h" #include "FPSHud.h" AFPSHud::AFPSHud(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { // set the crosshair texture static ConstructorHelpers::FObjectFinder<UTexture2D> Crosshair...
30.569444
137
0.74239
ellji
bb338cd9ab1314e902f43b4f53526e7e9ec22fa7
4,352
cpp
C++
Engine/Source/Graphics/Vulkan/VulkanCmdList.cpp
IcanCUthere/Gravity-Engine
3d61e7b78543572850efd9de3870a684ab476c7a
[ "MIT" ]
null
null
null
Engine/Source/Graphics/Vulkan/VulkanCmdList.cpp
IcanCUthere/Gravity-Engine
3d61e7b78543572850efd9de3870a684ab476c7a
[ "MIT" ]
null
null
null
Engine/Source/Graphics/Vulkan/VulkanCmdList.cpp
IcanCUthere/Gravity-Engine
3d61e7b78543572850efd9de3870a684ab476c7a
[ "MIT" ]
null
null
null
module; #include <vulkan/vulkan.h> #include "Core/DebugUtils.h" module Graphics:Vulkan.CmdList; import :Vulkan.Context; import :Vulkan.Viewport; import :Vulkan.Queue; namespace GFX { AVulkanCmdList::AVulkanCmdList(const VkCommandBuffer handle, const VkCommandBufferLevel level, const VkPipelineStageFlags waitStages) ...
32.969697
134
0.777803
IcanCUthere