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
fb0c822bd4723386ad46a1d03f4d974cacbae84b
10,884
cpp
C++
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_openfl_display_GraphicsDataType #include <openfl/display/GraphicsDataType.h> #endif #ifndef INCLUDED_openfl_display_GraphicsStroke #include <openfl/display/Graph...
42.186047
255
0.745774
seanbashaw
fb1232dae595059d8531347e9f6289b8481a1010
4,166
cpp
C++
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "AppearanceHandler.h" #include <lxml/DoubleHandler...
44.795699
96
0.665146
dkun7944
fb166ed48090ebcf1b71d7b9cc98bb6a4615758e
1,765
cpp
C++
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
41
2021-10-01T13:53:01.000Z
2022-03-22T22:30:58.000Z
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
28
2021-10-15T03:56:27.000Z
2022-03-28T08:04:35.000Z
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
9
2021-12-04T17:35:16.000Z
2022-03-19T17:14:42.000Z
#include "pch.h" void Proxy::Init() { wchar_t realDllPath[MAX_PATH]; GetSystemDirectory(realDllPath, MAX_PATH); wcscat_s(realDllPath, L"\\xinput1_3.dll"); HMODULE hDll = LoadLibrary(realDllPath); if (hDll == nullptr) { MessageBox(nullptr, L"Cannot load original xinput1_3.dll library", L...
51.911765
143
0.649858
xenei
fb16a001dc9906e5e013f5bca2efd32df7f3ba3d
9,245
cpp
C++
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
/* CDF 9/10/98 A bold new initiaitive! */ #include "3dc.h" #include "inline.h" #include "module.h" #include "io.h" #include "strategy_def.h" #include "gamedef.h" #include "bh_types.h" #include "dynblock.h" #include "dynamics.h" #include "weapons.h" #include "compiled_shapes.h" #include "inventory.h" #include "tri...
29.349206
102
0.743429
Melanikus
fb17e58356bb333e7cedf7bbe6d02f3b46ff139b
2,517
cpp
C++
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
1
2019-05-01T04:51:14.000Z
2019-05-01T04:51:14.000Z
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
// // main.cpp // TwoColor // // Created by mingyue on 2022/3/6. // Copyright © 2022 Gmingyue. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Graph { public: vector<vector<int> *> * adj; Graph() { } Graph(int V) { this->V = V; thi...
21.512821
73
0.424712
mingyuefly
fb183a4b905d4aae0fb85a0f3a6d0268f39b6326
597
cpp
C++
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "androidadjusthelper.h" #include <QAndroidJniObject> #include <QString> void AndroidAdjustHelper::track...
39.8
71
0.743719
swatson555
fb1a14fc904379b1fedd08288d1128d830a1dc14
2,469
cpp
C++
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
3
2020-05-19T20:24:28.000Z
2020-09-27T11:28:42.000Z
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
31
2020-05-27T11:01:27.000Z
2020-08-08T15:53:23.000Z
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************************************************************** * Copyright 2020 Gabriel Gheorghe. All rights reserved. * This code is licensed under the BSD 3-Clause "New" or "Revised" License * License url: https://github.com/GabyForceQ/PolluxEngine/bl...
37.984615
127
0.63143
GabyForceQ
fb296164604e03b8de299a508c7ae07883a02eb2
5,743
cpp
C++
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
2
2020-11-18T17:48:40.000Z
2021-01-12T14:15:17.000Z
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
null
null
null
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
1
2022-03-22T16:09:51.000Z
2022-03-22T16:09:51.000Z
#include <ros/ros.h> #include <omp.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/Image.h> #include <opencv2/core.hpp> #include <opencv2/highgui/highgui.hpp> ros::Publisher pub; ros::Subscriber sub; double radar_upgrade_time = 1632182400; void load_radar(cv::Mat raw_data, std::vector<int64_t> &timestamps, ...
37.535948
108
0.608045
norlab-ulaval
fb2f7b6e5e5b37fa23bdc5935bd721bfb325d3e9
239
hpp
C++
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog/Basic/Export.hpp" namespace Pomdog { class POMDOG_EXPORT Shader { public: virtual ~Shader() = default; }; } // namespace Pomdog
15.933333
71
0.719665
ValtoForks
fb2fe2d8dc1a20e134b62b4b28f2096cef0e7054
2,212
cpp
C++
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
1
2019-11-15T21:05:18.000Z
2019-11-15T21:05:18.000Z
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
47
2019-11-15T20:58:44.000Z
2022-03-30T13:19:24.000Z
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
null
null
null
#define RPC_HPP_CLIENT_IMPL #include "client.hpp" #include <iostream> #include <stdexcept> #include <string> int main(int argc, char* argv[]) { if (argc < 3) { std::cerr << "USAGE: rpc_client <server_ipv4> <port_num>\n"; return EXIT_FAILURE; } RpcClient client{ argv[1], argv[2] }; ...
28
97
0.5
jharmer95
fb364774eda945e18763b58742a6b965aa847895
1,196
cpp
C++
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> using namespace std; int main(){ // declaring max pqueue priority_queue<int> maxpq; // declaring min pqueue // any container which supports the following opreations can be used to implement priority_queue // empty(), push_back(), size(), pop_back(), front() ...
26
100
0.668896
Praneeth-rdy
fb3a6a685fb315858b43119fbf797eac5c326813
2,575
cpp
C++
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
1
2021-12-19T02:06:12.000Z
2021-12-19T02:06:12.000Z
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "WorldIO.h" #include "World.h" namespace { std::string ToString(const Vishv::Math::Shapes::Capsule& cap) { std::string txt; txt += "Position: " + cap.mTransform.Position().ToString() + "\n"; txt += "Rotation: " + cap.mTransform.Rotation().ToString() + "\n"; txt += "Radius: "...
26.010101
78
0.609709
InFaNsO
fb3dea7527198b4818d176f7146d3dc90932d1be
3,279
cpp
C++
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
#include "muduo/base/common/logfile.h" #include "muduo/base/common/logging.h" #include "muduo/base/common/file_util.h" #include "muduo/base/common/process_info.h" #include "define/define_new.h" #include <assert.h> #include <cstdio> #include <cstring> #include <ctime> #include <libgen.h> using namespace muduo; std::s...
21.715232
83
0.652028
sbfhy
fb41daf612b10ada62a4d52accc687895a383c62
8,237
cpp
C++
anet/test/sockettf.cpp
imyouxia/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
115
2016-08-02T02:07:12.000Z
2022-03-04T01:44:13.000Z
anet/test/sockettf.cpp
EmpTan/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
null
null
null
anet/test/sockettf.cpp
EmpTan/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
46
2016-08-09T09:54:27.000Z
2021-03-05T10:47:55.000Z
#include <iostream> #include <string> #include "sockettf.h" #include <anet/anet.h> #include <unistd.h> #include <anet/serversocket.h> #include <anet/log.h> #include <signal.h> using namespace std; namespace anet { CPPUNIT_TEST_SUITE_REGISTRATION(SocketTF); class PlainConnectRunnable : public Runnable { public: voi...
34.902542
74
0.697098
imyouxia
fb440012eb7e1eb2fac399bc134e1987affba322
2,670
cpp
C++
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
// Copyright 2020 Your Name <your_email> #include <gmock/gmock.h> #include <page_container.hpp> #include "stat_sender_test.hpp" #include <used_memory.hpp> TEST(MemoryUsage, MemUsingTest) { std::vector<std::string> old_raw_data{ "first" }, new_raw_data { "first", "second", "third", "fourth" }; used_me...
23.628319
68
0.693633
summersoul17
fb494cbd3333c238418b7175dbef8c17b8d67c33
179
cpp
C++
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
1
2021-02-22T03:40:59.000Z
2021-02-22T03:40:59.000Z
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
/* * guess number */ #include <iostream> using namespace std; int main() { int input; cin >> input; input *= 1001; input /= 7 * 11 * 13; cout << input; return 0; }
11.933333
23
0.564246
xiaji
fb4a7a7be35a7eabb6eea80cd086885cc11ea557
2,633
hpp
C++
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Geometry2d/Point.hpp> #include "planning/MotionConstraints.hpp" namespace Planning { /** * @brief A spatial path with no time or angle information. */ class BezierPath { public: /** * @brief Construct a bezier path for a curve with a given velocity, going * through the specifi...
35.581081
80
0.642993
kasohrab
fb4dcc170a16c5da307f59ff76b5678ecc8f51b6
5,209
cpp
C++
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
2
2015-03-20T21:11:16.000Z
2020-01-20T08:05:41.000Z
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
/******************************************************************************\ * * * ____ _ _ _ * * | __ ) ___ ___ ___| |_ / \ ___| |_ ___ _ __ *...
32.761006
80
0.499136
syoummer
fb523d08972668a1932853bee5cc8631a527f9ae
3,905
cpp
C++
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
1
2016-10-06T20:09:32.000Z
2016-10-06T20:09:32.000Z
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
null
null
null
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2003,2004 The Apache Software Foundation. * * 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...
23.383234
75
0.644814
MacroGu
fb5636875fada244e2d08b484c0ab9880a342d4f
516
cpp
C++
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
#include "Camera.h" Camera::Camera(float width, float height) : up(0.f, -1.f, 0.f) , target(0.f, 0.f, 0.f) , width(width) , height(height) { } void Camera::Update() { D3DXMatrixLookAtLH(&view, &GetTransform()->GetPosition(), &target, &up); D3DXMatrixOrthoLH(&proj, width, height, 0.01f, 1000.0f); //D3DXMatrixPe...
21.5
78
0.684109
Bigbell01
fb5fe129bec2cb3a0dae0336ca0f4cebcca7a46b
136
cpp
C++
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
//////////////////////////////////////////////////////////////// // precompiled header for render elements // #include "renElemPch.h"
34
65
0.382353
HonzaMD
fb60cb73416b98fa31239668e0c09f2b4179a8fb
1,453
cpp
C++
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
#include <blik.hpp> #include "blik_vector.hpp" namespace BLIK { Vector::Vector() { x = 0; y = 0; vx = 0; vy = 0; } Vector::Vector(const Vector& rhs) { operator=(rhs); } Vector::Vector(float x, float y, float vx, float vy) { this->x = x;...
17.719512
74
0.461115
BonexGu
fb6a9103018e519ff465f69fa6024c10161bce5e
4,099
cpp
C++
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2013-2018 Benjamin Buch // // https://github.com/bebuch/BitmapViewer // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.tx...
24.254438
79
0.647719
bebuch
fb6ce7d99eb2d5d25919416dbe37b55aa1bdef92
431
hpp
C++
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#pragma once #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <GL/glew.h> #include "Math.hpp" #include <iostream> class Window { public: static void create(unsigned int _width, unsigned int _height, const char* _title, bool _resizable = false, bool _decorated = true); static void clear(); static void up...
18.73913
132
0.737819
fqhd
fb81584a0290e80a06d56da0f6fd5d9c007ca880
1,980
cpp
C++
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cstring> // std::memcpy #include "core/sample.hpp" // trigno::sample::ID namespace trigno { Sample::Sample(sensor::ID id, size_t n_channels, const char* raw_data) : _id(id), _data(n_channels) { /* ... */ if (raw_data !...
16.923077
91
0.589394
BiRDLab-UMinho
fb81d82969cfe6877be8c84fb2a33d590bef3de3
4,050
cpp
C++
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License * * Copyright (c) 2020, Simon de Hartog <simon@dehartog.name> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the ...
27.739726
92
0.675062
hartogjr
fb8329526b43d2615bd1cedcaf9f5ab374b45723
3,592
hpp
C++
src/verbatim_vertex_buffer.hpp
trilkk/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
2
2015-05-25T02:22:41.000Z
2015-10-06T17:39:55.000Z
src/verbatim_vertex_buffer.hpp
faemiyah/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
null
null
null
src/verbatim_vertex_buffer.hpp
faemiyah/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
null
null
null
#ifndef VERBATIM_VERTEX_BUFFER #define VERBATIM_VERTEX_BUFFER #include "verbatim_array.hpp" #include "verbatim_vertex.hpp" // Forward declaration. class Program; /** Vertex buffer. */ class VertexBuffer { private: /** Current vertex buffer. */ static const VertexBuffer* g_bound_vertex_buffer; /** Cur...
20.067039
102
0.587695
trilkk
fb86376e6ae741650d8de5fa5d2b561ba273006b
821
cpp
C++
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
//write include statements #include"variables.h" //write namespace using statement for cout using std::cin; using std::cout; /* Call multiply_numbers with 10 and 10 parameter values and display function result */ int main() { double meal_amount; double tip_rate; double tip_amount; double tax_amount; double tot...
22.189189
81
0.713764
acc-cosc-1337-spring-2021
fb8dfdff0a5ce1a0d6951b35bf37fef581793740
3,865
cpp
C++
src/graphics/graphicstool.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/graphics/graphicstool.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/graphics/graphicstool.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
31.422764
79
0.647348
quizzmaster
65201e989d10d77f9dfcfecc527d957232c2fa49
25,386
cpp
C++
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
#include "../../../../include/odfaeg/Graphics/GUI/filedialog.hpp" #include "../../../../include/odfaeg/Math/maths.h" #include <filesystem> namespace odfaeg { namespace graphic { namespace gui { FileDialog::FileDialog(math::Vec3f position, math::Vec3f size, const Font* font) : rw(sf::...
59.174825
183
0.430986
Mechap
65268449db5d310967a2853f69e9940460ebe922
1,271
cpp
C++
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
1
2017-06-26T20:44:44.000Z
2017-06-26T20:44:44.000Z
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
null
null
null
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
null
null
null
#include "StdH.h" #include "Paths.h" MRAGPP_NAMESPACE_BEGIN; CPaths::CPaths() { ps_iIterator = 0; } CPaths::~CPaths() { ps_aPaths.Clear(); } CPath& CPaths::Create(const Vector2f &vPos1, const Vector2f &vPos2, int iTotalFrameCount, mragPathsOnUpdateFunction onUpdate, mragPathsOnFinishFunction onFinish) { CPa...
22.298246
89
0.721479
codecat
65292232ffd58a136fbded3f7dca65106452dc4d
5,051
cpp
C++
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
#include "nao_auto_bridge.h" #include <boost/algorithm/string/join.hpp> #include <iostream> #include <vector> #include <ros/ros.h> #include <actionlib/server/simple_action_server.h> #include <naoqi_bridge_msgs/SpeechWithFeedbackAction.h> #include <naoqi_bridge_msgs/SetSpeechVocabularyAction.h> #include <naoqi_bridge_...
35.076389
165
0.703623
sheosi
652d3e39002c919df906a77e8bbecd68705eaaa1
141,050
cpp
C++
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
#include <Entity.hpp> #include <Graphics.hpp> #include <KeyPoll.hpp> #include <Map.hpp> #include <Music.hpp> #include <Script.hpp> #include <editor.hpp> //#include "UtilityClass.h" #include <Enums.hpp> #include <FileSystemUtils.hpp> #include <ctime> #include <string> #include <tinyxml/tinyxml.hpp> edlevelclass::edleve...
23.717841
171
0.540716
TijmenUU
652ea7d3b537e73f69adb502881ab69f22a61727
490
cpp
C++
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-10-03T16:01:28.000Z
2020-10-03T16:01:28.000Z
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
#include "FactoryTypeInputs.h" #include "ParserHelpers.h" mappers::FactoryTypeInputs::FactoryTypeInputs(std::istream& theStream) { registerRegex("[a-z_]+", [this](const std::string& inputGood, std::istream& theStream) { const commonItems::singleDouble inputValue(theStream); productionInputValues.insert(std::m...
30.625
87
0.746939
GregB76
6531c48161494a299204e96901484ac2c847b15e
192
cpp
C++
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
// Statistics.cpp // (C) Copyright 2017 by Martin Brunn see License.txt for details // #include "Statistics.h" Statistics::Statistics() { } Statistics::~Statistics() { }
12
67
0.630208
1-gcc
6531eff7da7e2206e904fd0577e38bbb47b142e1
836
hpp
C++
include/architect/clang.hpp
KoltesDigital/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
2
2018-07-02T01:47:31.000Z
2019-12-14T23:53:02.000Z
include/architect/clang.hpp
Bloutiouf/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
null
null
null
include/architect/clang.hpp
Bloutiouf/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
null
null
null
#pragma once #ifdef ARCHITECT_CLANG_SUPPORT #include <functional> #include <string> typedef struct CXTranslationUnitImpl *CXTranslationUnit; namespace architect { class Registry; namespace clang { typedef std::function<bool(const std::string &)> Filter; struct Parameters { Filter filter; // returns whe...
19.44186
113
0.727273
KoltesDigital
6532f9844d9f1887eeda5e8bdb0ee88a38a732fb
2,609
cpp
C++
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
2
2020-12-10T20:22:17.000Z
2020-12-10T20:23:35.000Z
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
#include "Popup.hpp" #include "Colors.hpp" namespace sfs { Popup::Popup(Scene &scene, const sf::Font &font, const sf::Vector2f &position) noexcept : UI(scene, "Popup", position) , _box(addComponent<Rectangle>()) , _text(addComponent<Text>(font, "", sf::Color::Black)) , _queue() , _elapsed(0.f) { } void Popup::up...
19.765152
87
0.661173
LeandreBl
6539554ea836c0fd3caecb6811692e2324946b42
10,355
cpp
C++
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/Console
205a6802c6d12d322fa66c91fa7baa3e38e8d6c1
[ "MIT" ]
5
2021-04-11T17:32:45.000Z
2021-09-16T18:27:58.000Z
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/MinConsole
4adc9e5574c77985488d22528ee318a1f62649b0
[ "MIT" ]
4
2021-05-01T10:22:14.000Z
2021-05-05T11:20:34.000Z
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/Console
205a6802c6d12d322fa66c91fa7baa3e38e8d6c1
[ "MIT" ]
null
null
null
#include "CellRenderer.hpp" #include "String.hpp" #include "TextLayout.hpp" #include "VTConverter.hpp" #include <string> using namespace std; namespace MinConsoleNative { CellRenderer::CellRenderer(int consoleWidth, int consoleHeight, CellRendererMode mode) { this->consoleWidth = consoleWidth; ...
38.210332
307
0.538098
OpenGreatDream
653b53055a56822d2126e130ad93f87441fe3d70
817
cpp
C++
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
3
2018-08-25T00:03:42.000Z
2020-01-06T12:37:04.000Z
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
null
null
null
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> BOOL APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { int argc; wchar_t **argv = CommandLineToArgvW(GetCommandLineW(), &argc); if (argc < 4) return ERROR_INVALID_PARAMETER; DWORD nErr=ERROR_SUCCESS, nParentID = (DWORD)_wtol(argv[1]); HANDLE hList[2] = { OpenProcess(SY...
22.694444
84
0.667075
koutheir
653ba5cc16c9453cb55af179bff0c153d989a2c8
24,644
cxx
C++
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2022 Advanced Micro Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.02924
158
0.646689
bryanloz-xilinx
653fa5e0e418f3ee481bfbcf8b1ccdb258d914ec
2,144
cpp
C++
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include "systemc.h" #include <sc...
20.815534
79
0.392257
hachetman
6548f6c55271d48e71e07382db71dd153efca912
559
cc
C++
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
1
2019-10-31T12:41:42.000Z
2019-10-31T12:41:42.000Z
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
null
null
null
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
null
null
null
#include "beastquest/auth.hh" #include <boost/beast.hpp> #include <string> namespace detail = boost::beast::detail; namespace quest { BasicAuth::BasicAuth(std::string username, std::string password) : username_{std::move(username)}, password_{std::move(password)}, auth_string_("Basic " + ...
29.421053
78
0.692308
watersalesman
65490c281c0ad50b3926840de0dd526a144466c3
27,492
hpp
C++
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
#ifndef _OPENCV_DMP_HPP_ #define _OPENCV_DMP_HPP_ #include <vector> #include <opencv2/core/core.hpp> #include <boost/filesystem.hpp> #include <limits> #include <map> #include <set> #include <list> #include <vector> #include <stdexcept> #include <opencv2/imgproc/imgproc.hpp> //for DEBUG //#include <opencv2/highgui/h...
36.317041
148
0.658337
klaricmn
654bc48e35c6d43864f860a1bb44b802a040c7d1
2,291
cpp
C++
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
/* * \file CPointerToImplementation.cpp * \author https://github.com/infojg9 * \brief An example of the PIMPL Design / Pointer to Implementation. * \copyright MIT/BSD Redistributable License */ #include "CPointerToImplementation.h" #include <iostream> #ifdef _WIN32 #include <windows.h> #else #includ...
23.618557
84
0.730249
infojg9
654fcf199103e19bfe2d2396fd21c110466e72ce
3,694
hpp
C++
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
#ifndef __HTTP_SESSION_H__ #define __HTTP_SESSION_H__ #include <memory> #include <iostream> #include <boost/beast/core.hpp> #include <boost/beast/http.hpp> #include <boost/beast/version.hpp> #include <boost/asio/bind_executor.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/strand.hpp> #include <boost/prope...
25.30137
84
0.641581
helderthh
65574902b30d43ae2e1fd8b7957f113e08eb03f7
1,512
cpp
C++
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
#include "PihaDeviceProvider.h" #include <assert.h> #include <algorithm> #include "PihaDevice.h" namespace Piha { DeviceProvider::DeviceProvider() { } DeviceProvider::~DeviceProvider() { deleteDevices(); } void DeviceProvider::addDevice( Device* device ) { mDevices.push_back( device ); for ( Listeners::iterator...
22.235294
105
0.71627
jbitoniau
6557c36df0718bdbe577a9f48111d44fc834df2c
914
cpp
C++
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/gfx/mesh_draw_mode.hpp" #include "hou/cor/core_functions.hpp" #define MESH_DRAW_MODE_CASE(mdm, os) \ case mesh_draw_mode::mdm: \ return (os) << #mdm namespace hou { std::ostream& operator<<(std::ostre...
24.052632
62
0.730853
DavideCorradiDev
6559fb3179769f5671f90cd3402cfd258384eda6
2,487
cpp
C++
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
null
null
null
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
1
2018-10-19T19:44:50.000Z
2018-11-26T04:46:17.000Z
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
null
null
null
/** MIT License Copyright (c) 2018 Sarthak Mahajan 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...
36.043478
79
0.735022
smahajan07
655d1fdd8d3026f21c1059d361f944aa9d1b3a63
1,327
cpp
C++
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lowbit(x) ((x)&(-x)) const int maxN=101000; const int inf=2147483647; int n,Seq[maxN]; int numcnt,Num[maxN]; int BIT[maxN],F[maxN]...
18.957143
77
0.57272
SYCstudio
655e6fa04c5577c4ff5ecec8e498b656508f6fb3
2,338
hpp
C++
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
#pragma once #include "CellState.hpp" #include "Coord.hpp" #include "Direction.hpp" #include <concepts> #include <cstdint> namespace model { enum class VisitStatus : std::uint8_t { STOP_VISITING, KEEP_VISITING }; using enum VisitStatus; // Non-directional visitors don't have a direction. They are used with // visit...
29.974359
80
0.729256
cuzdav
65692f61ce76acbf17fda313272d5a1f7d65a77b
19,279
cpp
C++
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#include <lug/Graphics/GltfLoader.hpp> #if defined(LUG_SYSTEM_ANDROID) #include <android/asset_manager.h> #include <lug/Window/Android/WindowImplAndroid.hpp> #include <lug/Window/Window.hpp> #endif #include <gltf2/Exceptions.hpp> #include <lug/System/Logger/Logger.hpp> #include <lug/Graphics/Builder/Sce...
38.868952
168
0.635147
Lugdunum3D
656e2da18bebbd4f035afda333be8b0dbf5ec7a9
550
cpp
C++
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
#include "flat_file.hpp" #include "hibp.hpp" #include <cstdlib> int main(int /* argc */, char* argv[]) { std::ios_base::sync_with_stdio(false); std::cerr << argv[0] << ": reading `have i been pawned` text database from stdin,\n" "converting to binary format and writing to stdout." ...
28.947368
88
0.630909
oschonrock
656f71c8f3474b223f685bbdb0ce01589dce8a63
4,126
cpp
C++
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
61
2017-03-22T11:25:15.000Z
2021-11-19T23:12:48.000Z
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
2
2019-07-05T23:41:36.000Z
2019-07-14T23:32:18.000Z
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
2
2018-06-27T16:11:24.000Z
2018-07-05T07:31:44.000Z
#include "heap.h" #include <algorithm> #include <cassert> #include "stack.h" using namespace vaiven; using std::min; using std::max; // set by interpreter Heap* vaiven::globalHeap = NULL; GcableType vaiven::Gcable::getType() { return (GcableType) (((GcableType) this->type) & ~GcableMarkBit); } bool vaiven::Gcab...
22.302703
124
0.60349
MichaelRFairhurst
65721c4f649cc6e333e45345687d2f6f913f4849
590
cpp
C++
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2020-11-14T08:21:13.000Z
2020-11-14T08:21:13.000Z
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2021-07-28T04:47:56.000Z
2021-07-28T04:47:56.000Z
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
2
2020-12-18T11:25:53.000Z
2022-02-19T12:59:59.000Z
#include "graph_map/ndt_dl/ndtdl_map_param.h" #include <boost/serialization/export.hpp> BOOST_CLASS_EXPORT(perception_oru::libgraphMap::NDTDLMapParam) using namespace std; namespace perception_oru{ namespace libgraphMap{ void NDTDLMapParam::GetParametersFromRos(){ MapParam::GetParametersFromRos(); ros::NodeHandle...
26.818182
114
0.786441
lllray
6573ece9acf8698ec8d945159bec5a18d4713324
1,830
hpp
C++
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/include/owlcpp/detail/vector_set.hpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2013 *******************************************************************************/ #ifndef VECTOR_SET_HPP_ #define VECTO...
34.528302
85
0.604372
GreyMerlin
6576840e8ff3dd280cb0c3738aa2fc72123e5ae2
2,455
hpp
C++
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_FUNCTIONAL_INVOKE_PARTIAL_RECURSIVE_PARAM_HPP #define FALCON_FUNCTIONAL_INVOKE_PARTIAL_RECURSIVE_PARAM_HPP #include <falcon/math/min.hpp> #include <falcon/c++1x/syntax.hpp> #include <falcon/functional/invoke.hpp> #include <falcon/parameter/manip.hpp> #include <falcon/preprocessor/not_ide_parser.hpp> #i...
26.684783
109
0.648473
jonathanpoelen
65773eb4d3d4009263fbd5df2240e268355ac09a
309
cpp
C++
Decorator Pattern/Decorator Pattern/HouseBlend.cpp
mrlegowatch/HeadFirstDesignPatternsCpp
436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482
[ "MIT" ]
43
2018-07-17T21:53:21.000Z
2022-03-23T13:15:06.000Z
Decorator Pattern/Decorator Pattern/HouseBlend.cpp
mrlegowatch/HeadFirstDesignPatternsCpp
436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482
[ "MIT" ]
null
null
null
Decorator Pattern/Decorator Pattern/HouseBlend.cpp
mrlegowatch/HeadFirstDesignPatternsCpp
436ee8f0344b6a2ccfef6dcfa216a16a6ca7b482
[ "MIT" ]
14
2019-04-10T13:01:07.000Z
2022-03-08T13:19:14.000Z
// // HouseBlend.cpp // Decorator Pattern // // Created by Kevin Lee on 2/13/18. // Copyright © 2018 Brian Arnold. All rights reserved. // #include "HouseBlend.hpp" std::string HouseBlend::getDescription() const { return "House Blend Coffee"; } double HouseBlend::cost() const { return 0.89; }
17.166667
55
0.673139
mrlegowatch
657b6e05c0b450096ec97900a9be50fd856371f9
10,078
cpp
C++
eX0/src/PolyBoolean/pbpolys.cpp
shurcooL/eX0
425cdd4bace184bef3b63efa0867add4e469e291
[ "MIT" ]
54
2015-03-09T08:38:12.000Z
2021-06-20T15:54:57.000Z
eX0/src/PolyBoolean/pbpolys.cpp
shurcooL/eX0
425cdd4bace184bef3b63efa0867add4e469e291
[ "MIT" ]
7
2015-03-02T21:03:54.000Z
2017-12-21T06:06:00.000Z
eX0/src/PolyBoolean/pbpolys.cpp
shurcooL/eX0
425cdd4bace184bef3b63efa0867add4e469e291
[ "MIT" ]
10
2015-03-11T06:38:38.000Z
2021-05-10T04:35:33.000Z
// pbpolys.cpp - basic operations with vertices and polygons // // This file is a part of PolyBoolean software library // (C) 1998-1999 Michael Leonov // Consult your license regarding permissions and restrictions // // fix: 2006 Oct 2 Alexey Nikitin // PLINE2::Prepare / left middle point from 3 points on the s...
21.261603
78
0.513991
shurcooL
6583b3d93fb5f4885db405c9f64563c26ccf25f8
5,709
hpp
C++
sources/SceneGraph/Animation/spAnimationJoint.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/SceneGraph/Animation/spAnimationJoint.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/SceneGraph/Animation/spAnimationJoint.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Animation bone header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_ANIMATION_BONE_H__ #define __SP_ANIMATION_BONE_H__ #include "Base/spStandard.hpp" #include "Base/spInputOutputString.hpp" #inclu...
29.890052
156
0.602207
rontrek
658aabb1147a7a406e2f86a21215a02bc2ec3809
2,304
cpp
C++
ctable.cpp
Rescator7/Hearts
e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7
[ "MIT" ]
13
2018-11-19T00:11:52.000Z
2022-03-31T20:01:49.000Z
ctable.cpp
Rescator7/Hearts
e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7
[ "MIT" ]
3
2019-10-22T18:46:03.000Z
2022-03-31T18:16:48.000Z
ctable.cpp
Rescator7/Hearts
e72e46c5a1f90a0a553bf5527ee9a5aabf5154d7
[ "MIT" ]
2
2020-10-12T11:34:11.000Z
2021-01-21T07:12:56.000Z
#ifdef ONLINE_PLAY #include "ctable.h" #include "define.h" #include "ui_ctable.h" CTable::CTable(QWidget *parent) : QWidget(parent), ui(new Ui::CTable) { ui->setupUi(this); ui->tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers); setWindowTitle(tr("Tables list")); setAttribute( Qt::WA_Qu...
20.756757
100
0.608073
Rescator7
6590d71a0949a66233120069104b8f4dc05e9e49
991
cpp
C++
UVa/11241.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
UVa/11241.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
UVa/11241.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; double T=-999999,D=-999999,H=-999999; double dohum(double tt,double dd){ double ee=6.11*exp(5417.7530*((1/273.16)-(1/(dd+273.16)))); double hh=(0.5555)*(ee-10.0); return tt+hh; } double dotemp(){ double ee=6.11*exp(5417.7530*((1/273.16)-(1/(D+273.16)))); double hh=(0.5...
19.057692
60
0.565086
tico88612
6594a2eb329a534b7fef1a53777d488e87f37a03
76,327
cpp
C++
source/ff.graphics/source/draw_device.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
source/ff.graphics/source/draw_device.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
source/ff.graphics/source/draw_device.cpp
spadapet/ff_game_library
f1bf00f90adde66c2c2aa35b109fe61b8d2c6352
[ "MIT" ]
null
null
null
#include "pch.h" #include "depth.h" #include "draw_device.h" #include "graphics.h" #include "matrix.h" #include "matrix_stack.h" #include "palette_data.h" #include "shader.h" #include "sprite_data.h" #include "sprite_type.h" #include "target_base.h" #include "texture.h" #include "texture_view_base.h" #include "transfor...
40.024646
212
0.595844
spadapet