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
3ffb4189fcdf57cc615cceec4bec0ae1e2981eed
5,994
cpp
C++
src/cgame/etj_timerun.cpp
marcel95k/etjump
019a09f62c0dc551886ccba9a6eb419e5910d722
[ "MIT" ]
null
null
null
src/cgame/etj_timerun.cpp
marcel95k/etjump
019a09f62c0dc551886ccba9a6eb419e5910d722
[ "MIT" ]
null
null
null
src/cgame/etj_timerun.cpp
marcel95k/etjump
019a09f62c0dc551886ccba9a6eb419e5910d722
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2022 ETJump team <zero@etjump.com> * * 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 * ...
29.97
126
0.712212
marcel95k
3ffc1aef30744d8cad04762638bff81b3339f082
11,617
cpp
C++
common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp
goktugyildirim/autoware.universe
b2f90a0952bf37969517f72ccd5a1ea86f253ce5
[ "Apache-2.0" ]
1
2021-11-30T02:26:07.000Z
2021-11-30T02:26:07.000Z
common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp
goktugyildirim/autoware.universe
b2f90a0952bf37969517f72ccd5a1ea86f253ce5
[ "Apache-2.0" ]
11
2022-01-24T10:26:37.000Z
2022-03-22T08:19:01.000Z
common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp
KeisukeShima/autoware.universe
21d5453dfa2bf75716b8737fb7b58f3b45483e29
[ "Apache-2.0" ]
null
null
null
// // Copyright 2022 TIER IV, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
32.540616
97
0.710597
goktugyildirim
b21c5733999bbb9d470b67e0ea151cf586d855c7
4,819
cpp
C++
src/background_sea.cpp
esohns/splot
1577df5c06270c7239d9e721d339256269d96d5b
[ "ClArtistic" ]
null
null
null
src/background_sea.cpp
esohns/splot
1577df5c06270c7239d9e721d339256269d96d5b
[ "ClArtistic" ]
null
null
null
src/background_sea.cpp
esohns/splot
1577df5c06270c7239d9e721d339256269d96d5b
[ "ClArtistic" ]
null
null
null
#include "stdafx.h" #include "background_sea.h" #include <cmath> #include <string> #include "ace/OS.h" #include "ace/OS_Memory.h" #include "defines.h" #include "common.h" #include "state.h" #include "configuration.h" #include "background_sea_segment.h" #include "image.h" // init statics GLuint Splot_BackgroundSea...
26.333333
91
0.640382
esohns
b21d378bfc96691a60410728a5e211efc77b4bc0
10,666
cpp
C++
luaopen_uv.cpp
grrrwaaa/luauv
fc74482dcf3323d03825a5c867264bf44c734ffb
[ "MIT", "Unlicense" ]
6
2015-04-03T03:00:43.000Z
2021-03-12T06:31:17.000Z
luaopen_uv.cpp
grrrwaaa/luauv
fc74482dcf3323d03825a5c867264bf44c734ffb
[ "MIT", "Unlicense" ]
null
null
null
luaopen_uv.cpp
grrrwaaa/luauv
fc74482dcf3323d03825a5c867264bf44c734ffb
[ "MIT", "Unlicense" ]
2
2017-04-18T01:54:05.000Z
2020-11-06T08:34:05.000Z
/* LuaUV Copyright 2012 Graham Wakefield. All rights reserved. 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, m...
27.348718
460
0.716295
grrrwaaa
b21f729764a90d86074ff4e78691e3f2c2533a35
5,042
hpp
C++
ROSE/SgUntypedNodes.hpp
OpenFortranProject/ofp-sdf
202591cf4ac4981b21ddc38c7077f9c4d1c16f54
[ "BSD-3-Clause" ]
27
2015-03-05T14:41:39.000Z
2021-04-22T23:51:25.000Z
ROSE/SgUntypedNodes.hpp
OpenFortranProject/ofp-sdf
202591cf4ac4981b21ddc38c7077f9c4d1c16f54
[ "BSD-3-Clause" ]
33
2015-11-05T09:50:04.000Z
2018-05-10T21:32:48.000Z
ROSE/SgUntypedNodes.hpp
OpenFortranProject/ofp-sdf
202591cf4ac4981b21ddc38c7077f9c4d1c16f54
[ "BSD-3-Clause" ]
10
2015-06-24T01:22:58.000Z
2019-06-16T06:47:15.000Z
#ifndef SG_UNTYPED_NODES_HPP #define SG_UNTYPED_NODES_HPP #include <string> #include <list> namespace sage { class SgNode; class SgLocatedNode; class SgLocatedNodeSupport; class SgUntypedNode; class SgUntypedExpression; class SgUntypedStatement; class SgUntypedDeclaration; class SgUntypedType; class SgUntypedAttrib...
25.989691
163
0.800873
OpenFortranProject
b22c9d4469cbbaf3fd46ab3853e62b8003d81c16
2,925
cpp
C++
filters/pclviewer.cpp
megadl/DiveIntoPointCloud
e1206fc245d62cab487f2501f223996455f8db95
[ "BSD-3-Clause" ]
null
null
null
filters/pclviewer.cpp
megadl/DiveIntoPointCloud
e1206fc245d62cab487f2501f223996455f8db95
[ "BSD-3-Clause" ]
null
null
null
filters/pclviewer.cpp
megadl/DiveIntoPointCloud
e1206fc245d62cab487f2501f223996455f8db95
[ "BSD-3-Clause" ]
null
null
null
#include "pclviewer.h" #include <chrono> #include <thread> using namespace std::chrono_literals; pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>); void main(int argc, char* argv[]) { FilterType filtertype = FilterType::PassThrough; pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new...
33.62069
110
0.578803
megadl
b22e0af99a8ffd0b4619ccef9322a1b5dc73a098
728
cpp
C++
chapter03/ex10_operatus.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
124
2018-06-23T10:16:56.000Z
2022-03-19T15:16:12.000Z
chapter03/ex10_operatus.cpp
therootfolder/stroustrup-ppp
b1e936c9a67b9205fdc9712c42496b45200514e2
[ "MIT" ]
23
2018-02-08T20:57:46.000Z
2021-10-08T13:58:29.000Z
chapter03/ex10_operatus.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
65
2019-05-27T03:05:56.000Z
2022-03-26T03:43:05.000Z
#include "../text_lib/std_lib_facilities.h" // LOOKING BACK: Not sure why I didn't use char's for the operators.. int main() { // Program cout << "Provide an operation and two values you'd like operated on:\n"; string operatus; double val1; double val2; cin >> operatus >> val1 >> val2; do...
28
76
0.561813
ClassAteam
b22f89f7e7354563840f2d7dbf3ce5c5ce2c96d4
4,384
cpp
C++
thread_supervisor.cpp
espkk/dlt-parser
5a458b72535e816cb4c76b86b3580bbbb436f3eb
[ "MIT" ]
null
null
null
thread_supervisor.cpp
espkk/dlt-parser
5a458b72535e816cb4c76b86b3580bbbb436f3eb
[ "MIT" ]
null
null
null
thread_supervisor.cpp
espkk/dlt-parser
5a458b72535e816cb4c76b86b3580bbbb436f3eb
[ "MIT" ]
null
null
null
#include <thread> #include <type_traits> #include <cassert> #include "thread_supervisor.h" #include "exceptions.h" namespace dlt { task::task(std::unique_ptr<fs::reader> reader) : reader_(std::move(reader)) { } const fs::reader& task::get_reader() const { return *reader_; } void task::execute() { ...
34.519685
121
0.630703
espkk
b234aba9602d043d298a314d7304485a9922246c
437
hpp
C++
ruin (old)/variant.hpp
AmaneTsukishiro/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
3
2015-01-15T14:09:53.000Z
2016-11-17T16:21:05.000Z
ruin (old)/variant.hpp
yuishiyumeiji/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
null
null
null
ruin (old)/variant.hpp
yuishiyumeiji/Ruin
f8cc84799a4c9d5b314d231a5ae86890c84bb4fb
[ "BSL-1.0" ]
null
null
null
 #ifndef RUIN_VARIANT_HPP_INCLUDED #define RUIN_VARIANT_HPP_INCLUDED #include "ruin/variant/apply_visitor.hpp" #include "ruin/variant/static_visitor.hpp" #include "ruin/variant/variant.hpp" #include "ruin/variant/visitor_ptr.hpp" namespace ruin { using ruin::variants::variant; using ruin::variants::static_visitor...
19.863636
42
0.79405
AmaneTsukishiro
b2386fa9f25335af25c472aac935d54c2dd25e9e
740
cpp
C++
Treasure Hunt/Treasure Hunt/Treasure Hunt.cpp
IosifGabriel/TreasureHunt
fd98a931f3a3b5c017e50606b54a8f360ada79ae
[ "MIT" ]
null
null
null
Treasure Hunt/Treasure Hunt/Treasure Hunt.cpp
IosifGabriel/TreasureHunt
fd98a931f3a3b5c017e50606b54a8f360ada79ae
[ "MIT" ]
null
null
null
Treasure Hunt/Treasure Hunt/Treasure Hunt.cpp
IosifGabriel/TreasureHunt
fd98a931f3a3b5c017e50606b54a8f360ada79ae
[ "MIT" ]
null
null
null
#include "pch.h" #include <iostream> #include "GameMode.h" #include <windows.h> using namespace std; int main() { GameMode Game; int i = 0; do { system("CLS"); i++; Game.TreasureHuntMap.PrintMap(); Game.MoveAgents(); Sleep(1500); if (Game.ReturnNumbOfTreasure() == 3) { cou...
16.086957
55
0.554054
IosifGabriel
b2388a2035674e1c521c6ec84ffda36293cf8c29
391
cpp
C++
unittests/src/test_TwoSidedPlane.cpp
dgough/lazy-gltf2
9ada92d73234c55a15acebfd0b80ec045ef75f52
[ "Apache-2.0" ]
12
2017-07-24T02:17:38.000Z
2022-03-10T11:27:36.000Z
unittests/src/test_TwoSidedPlane.cpp
dgough/lazy-gltf2
9ada92d73234c55a15acebfd0b80ec045ef75f52
[ "Apache-2.0" ]
null
null
null
unittests/src/test_TwoSidedPlane.cpp
dgough/lazy-gltf2
9ada92d73234c55a15acebfd0b80ec045ef75f52
[ "Apache-2.0" ]
null
null
null
#include <lazy_gltf2.hpp> #include <gtest/gtest.h> #include <array> #include "common.hpp" using namespace gltf2; static const char* PATH = LAZY_GLTF2_BASE_SAMPLE_DIR "/2.0/TwoSidedPlane/glTF/TwoSidedPlane.gltf"; TEST(gltf, twosided) { Gltf gltf(PATH); EXPECT_TRUE(gltf); auto material = gltf.material(0)...
21.722222
98
0.723785
dgough
b23b628e1df47ade956d3cc5040767d578632d33
3,224
cpp
C++
deploy/files/GLRawFile.cpp
cginternals/glraw
4c9930833e42404e74364b9b6eaf5afd98ac3096
[ "MIT" ]
48
2015-07-30T11:20:49.000Z
2022-01-10T20:07:51.000Z
deploy/files/GLRawFile.cpp
hpicgs/glraw
4c9930833e42404e74364b9b6eaf5afd98ac3096
[ "MIT" ]
3
2015-08-08T08:51:36.000Z
2017-01-17T17:26:54.000Z
deploy/files/GLRawFile.cpp
cginternals/glraw
4c9930833e42404e74364b9b6eaf5afd98ac3096
[ "MIT" ]
9
2015-07-06T15:51:22.000Z
2019-04-24T06:23:12.000Z
#include <algorithm> #include <fstream> #include <sstream> #include <iostream> #include <stdio.h> #include "GLRawFile.h" namespace { template<typename T> T read(std::ifstream & stream) { T value; stream.read(reinterpret_cast<char*>(&value), sizeof(value)); return value; } std::string readString(std::if...
17.812155
76
0.608561
cginternals
b243629a6d93d947d597d8f4016884ec6a631b1e
3,964
cc
C++
slib_graphics/source/opengl/gl_stock_shaders.cc
KarlJansson/ecs_game_engine
c76b7379d8ff913cd7773d0a9f55535996abdf35
[ "MIT" ]
1
2018-05-18T10:42:35.000Z
2018-05-18T10:42:35.000Z
slib_graphics/source/opengl/gl_stock_shaders.cc
KarlJansson/ecs_game_engine
c76b7379d8ff913cd7773d0a9f55535996abdf35
[ "MIT" ]
null
null
null
slib_graphics/source/opengl/gl_stock_shaders.cc
KarlJansson/ecs_game_engine
c76b7379d8ff913cd7773d0a9f55535996abdf35
[ "MIT" ]
null
null
null
#include "gl_stock_shaders.h" #include "material_system.h" #include "renderer.h" namespace lib_graphics { GlStockShaders::GlStockShaders() = default; void GlStockShaders::ForwardShaders() { shader_source_[MaterialSystem::kText] = { cu::ReadFile("./content/shaders/opengl/text_vs.glsl"), cu::ReadFile("./c...
38.862745
80
0.698789
KarlJansson
b245f9cfe81be789d1ba07c0313f9199016e4f5f
118
cpp
C++
Collector.cpp
gaobowen/websocket
feca320de23630787d38e404a7931f8c88ebdee3
[ "MIT" ]
1
2021-12-15T03:10:55.000Z
2021-12-15T03:10:55.000Z
Collector.cpp
gaobowen/websocket
feca320de23630787d38e404a7931f8c88ebdee3
[ "MIT" ]
null
null
null
Collector.cpp
gaobowen/websocket
feca320de23630787d38e404a7931f8c88ebdee3
[ "MIT" ]
null
null
null
#include "Collector.h" namespace GWS { tbb::concurrent_hash_map<void*, std::shared_ptr<SockHandle>> collector; }
19.666667
75
0.737288
gaobowen
b2492ed2a07c85c6c3d0c764c9ed332256890e51
2,810
cxx
C++
matrix/bin/cpi/3dc/spelldialog.cxx
D5n9sMatrix/able
5f135e7f6f0ba7432df6d8a756613161c7f628e2
[ "MIT" ]
1
2022-02-20T04:39:10.000Z
2022-02-20T04:39:10.000Z
matrix/bin/cpi/3dc/spelldialog.cxx
D5n9sMatrix/able
5f135e7f6f0ba7432df6d8a756613161c7f628e2
[ "MIT" ]
null
null
null
matrix/bin/cpi/3dc/spelldialog.cxx
D5n9sMatrix/able
5f135e7f6f0ba7432df6d8a756613161c7f628e2
[ "MIT" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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://mozil...
33.855422
79
0.7121
D5n9sMatrix
b2502d3bfee9c3f5f2728529eeaeb179ab5a694e
1,034
cpp
C++
example/map_like/map_like.cpp
cmachaca/struct_mapping
12e37346afa3cefe880f9efd0dd1475a67ad67f8
[ "MIT" ]
57
2020-06-12T23:32:57.000Z
2022-03-19T03:19:07.000Z
example/map_like/map_like.cpp
cmachaca/struct_mapping
12e37346afa3cefe880f9efd0dd1475a67ad67f8
[ "MIT" ]
10
2020-07-24T18:06:56.000Z
2022-03-31T14:36:06.000Z
example/map_like/map_like.cpp
cmachaca/struct_mapping
12e37346afa3cefe880f9efd0dd1475a67ad67f8
[ "MIT" ]
13
2020-07-15T16:24:19.000Z
2022-02-16T08:11:56.000Z
#include "struct_mapping/struct_mapping.h" #include <iostream> #include <map> #include <sstream> #include <string> #include <unordered_map> struct Library { std::unordered_map< std::string, std::multimap<std::string, int>> counters; std::multimap< std::string, std::unordered_multimap<std::string, std::stri...
16.412698
66
0.601547
cmachaca
b25133329365c9e9946157e7f23fbc2a84df7349
3,629
cc
C++
src/math/matrix_factories_test.cc
paulmiller/glFun
39df2c7f92b41c09d618b81e2016f1c530fb2108
[ "Unlicense" ]
null
null
null
src/math/matrix_factories_test.cc
paulmiller/glFun
39df2c7f92b41c09d618b81e2016f1c530fb2108
[ "Unlicense" ]
null
null
null
src/math/matrix_factories_test.cc
paulmiller/glFun
39df2c7f92b41c09d618b81e2016f1c530fb2108
[ "Unlicense" ]
null
null
null
#include "matrix_factories.h" #include "approx_object.h" #include "util.h" #include "vector.h" #include "catch.h" TEST_CASE("MatrixFromColumnVectors") { auto actual3x3 = MatrixFromColumnVectors( Vector3<int>{1, 2, 3}, Vector3<int>{4, 5, 6}, Vector3<int>{7, 8, 9} ); Matrix<int,3,3> expected3x3 {{ ...
26.107914
62
0.583356
paulmiller
b25b2cb5b455e7f233f6b8709f6594d6e122506d
8,437
cpp
C++
src/TriplePropertyMapWidget.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/TriplePropertyMapWidget.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
src/TriplePropertyMapWidget.cpp
sempr-tk/sempr-gui
ba96dca6945122a157f61fec9e41f4aa6060e3b2
[ "BSD-3-Clause" ]
null
null
null
#include "TriplePropertyMapWidget.hpp" #include "../ui/ui_triplepropertymap.h" #include "CustomDataRoles.hpp" namespace sempr { namespace gui { TriplePropertyMapWidget::TriplePropertyMapWidget(QWidget* parent) : SingleComponentWidget(parent), form_(new Ui::TriplePropertyMapWidget) { form_->setupUi(this); ...
33.216535
103
0.573308
sempr-tk
b25c83d4e70ecf2c5da0f4a466ed6abbaf8e436d
898
hpp
C++
3DRadSpace/3DRadSpaceDll/ResourceCreationException.hpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
9
2017-01-10T11:47:06.000Z
2021-11-27T14:32:55.000Z
3DRadSpace/3DRadSpaceDll/ResourceCreationException.hpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
null
null
null
3DRadSpace/3DRadSpaceDll/ResourceCreationException.hpp
NicusorN5/3D_Rad_Space
029c52817deb08db17f46bef6246413a115d9e1d
[ "CC0-1.0" ]
6
2017-07-08T23:03:43.000Z
2022-03-08T07:47:13.000Z
#pragma once #include "Globals.hpp" #pragma warning(push) #pragma warning(disable: 4275) #pragma warning(disable: 4251) namespace Engine3DRadSpace { /// <summary> /// Represents a detailed exception thrown when resource creation and allocations fail. An alternative to std::bad_alloc. /// </summary> class DLLEXPOR...
28.0625
122
0.716036
NicusorN5
b25d9dc344486713803f810de18f90925ad13aa4
1,223
cpp
C++
LicenseManagerAuthenticator/Authenticator.cpp
johanlantz/headsetpresenter
39c5e9740f58d66947e689670500fd0e8b7562c3
[ "MIT" ]
1
2022-02-24T06:04:03.000Z
2022-02-24T06:04:03.000Z
LicenseManagerAuthenticator/Authenticator.cpp
johanlantz/headsetpresenter
39c5e9740f58d66947e689670500fd0e8b7562c3
[ "MIT" ]
null
null
null
LicenseManagerAuthenticator/Authenticator.cpp
johanlantz/headsetpresenter
39c5e9740f58d66947e689670500fd0e8b7562c3
[ "MIT" ]
null
null
null
#include ".\authenticator.h" #include "time.h" Authenticator::Authenticator(ILicenseHandler* imyLicenseHandler) { myLicenseHandler = imyLicenseHandler; myLicenseHandler->Activate(150); //licman must be activated with a secret key CK=13291; AuthenticateComponent(); } Authenticator::~Authenticator(void)...
31.358974
197
0.743254
johanlantz
b25eefb363c1e45ce16162a22aed99766ea686b9
18,314
cpp
C++
mediapipe/Osc/UdpSocket.cpp
tommymitch/mediapipe2osc
8cf5d2c0d84bc4faddeff63f907f4085825ea14d
[ "Apache-2.0" ]
6
2021-06-29T18:22:48.000Z
2022-02-09T14:25:22.000Z
mediapipe/Osc/UdpSocket.cpp
tommymitch/mediapipe2osc
8cf5d2c0d84bc4faddeff63f907f4085825ea14d
[ "Apache-2.0" ]
null
null
null
mediapipe/Osc/UdpSocket.cpp
tommymitch/mediapipe2osc
8cf5d2c0d84bc4faddeff63f907f4085825ea14d
[ "Apache-2.0" ]
1
2021-12-29T17:15:36.000Z
2021-12-29T17:15:36.000Z
// // UdpSocket.cpp // OscppTest // // Created by Tom Mitchell on 16/04/2021. // Copyright © 2021 Tom Mitchell. All rights reserved. // #include "UdpSocket.h" #include <atomic> //Apple #include <sys/socket.h> #include <netdb.h> #include <netinet/tcp.h> #include <arpa/inet.h> #include <fcntl.h> #include <poll.h>...
30.83165
123
0.535656
tommymitch
b25ff5cd74f5ee15d3cb90431682eaf5b1863d50
2,106
cpp
C++
dialogeditpatient.cpp
kushagra10025/Hospital-Registration-Portal
a68cfcba95ddaecac2f1d959cc0c82df0415fc9d
[ "Apache-2.0" ]
null
null
null
dialogeditpatient.cpp
kushagra10025/Hospital-Registration-Portal
a68cfcba95ddaecac2f1d959cc0c82df0415fc9d
[ "Apache-2.0" ]
null
null
null
dialogeditpatient.cpp
kushagra10025/Hospital-Registration-Portal
a68cfcba95ddaecac2f1d959cc0c82df0415fc9d
[ "Apache-2.0" ]
null
null
null
#include "dialogeditpatient.h" #include "ui_dialogeditpatient.h" DialogEditPatient::DialogEditPatient(QSqlRecord *rowEdit, QWidget *parent) : QDialog(parent), ui(new Ui::DialogEditPatient) { ui->setupUi(this); rowToEdit = rowEdit; ui->txt_fullname->setText(rowToEdit->value("p_fullname").toString...
29.661972
166
0.644349
kushagra10025
b260658d6fd8cecd25042f15bb30f63917bcd7f6
5,024
cpp
C++
DynacoeSrc/srcs/Dynacoe/Component.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
1
2015-11-06T18:10:11.000Z
2015-11-06T18:10:11.000Z
DynacoeSrc/srcs/Dynacoe/Component.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
8
2018-01-25T03:54:32.000Z
2018-09-17T01:55:35.000Z
DynacoeSrc/srcs/Dynacoe/Component.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Johnathan Corkery. (jcorkery@umich.edu) All rights reserved. This file is part of the Dynacoe project (https://github.com/jcorks/Dynacoe) Dynacoe was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
27.453552
144
0.651274
jcorks
b260fa95c35385b9ce7c59135a7dfee0f719a385
1,598
cpp
C++
Lab1/lab1.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
Lab1/lab1.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
Lab1/lab1.cpp
toniminh161200/Computational-Mathematics
f7e1a7475d001fb654e14ea23393fe8838fcfb40
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ double rel_error_x, rel_error_y, abs_er_x = 0.5, abs_er_y = 0.1, x = 9, y = 7.5; cout << "x = " << x << " y = " << y<<"\n"; rel_error_x = abs_er_x / x; rel_error_y = abs_er_y / y; cout << "x absError = " << abs_er_x << "\n"; cout << "y absErr...
38.97561
87
0.426158
toniminh161200
b2682343bb267a9ded8bb4bd1d28561a0e3ec0bd
2,259
cpp
C++
src/engine/object/pointgizmo.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/object/pointgizmo.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/object/pointgizmo.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file pointgizmo.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2005-04-15 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/precompiled.h" #include "o3d/engine/object/pointgizmo.h" #include "o3d/engine/sce...
31.375
122
0.486056
dream-overflow
05dd4f136b6f2a03a064d9f4807ddd1e0a30c738
1,154
hpp
C++
sprout/functional/hash/hash_fwd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/functional/hash/hash_fwd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/functional/hash/hash_fwd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_FUNCTIONAL_HASH_HASH_FWD_HPP #define SPROUT_FUNCTIONAL_HASH_HASH_FWD_HPP #include <cstddef> #include <sprout/config.hpp> namespace sprout { // // hash // template<typename T> struct hash; // // to_hash // template<typename T> SPROUT_CONSTEXPR std::size_t to_hash(T const& v);...
24.041667
91
0.725303
osyo-manga
05e0ea795856e3acaa445c1fae7a13eca102cdc0
696
cpp
C++
NikolaevaElya/6sem/BTree/BubbleSort.cpp
soomrack/MR2020
2de7289665dcdac4a436eb512f283780aa78cb76
[ "MIT" ]
4
2020-09-22T12:04:07.000Z
2020-10-03T22:28:00.000Z
NikolaevaElya/6sem/BTree/BubbleSort.cpp
soomrack/MR2020
2de7289665dcdac4a436eb512f283780aa78cb76
[ "MIT" ]
null
null
null
NikolaevaElya/6sem/BTree/BubbleSort.cpp
soomrack/MR2020
2de7289665dcdac4a436eb512f283780aa78cb76
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int swap(int *first, int *second){ int temp = *first; *first = *second; *second = temp; return 0; } int bubbleSort(int arr[], int size) { for(int step = 0; step < size; step++) { for (int i = 0; i < size - 1; i++) { if(arr...
18.315789
45
0.436782
soomrack
05e40718ecd5a940d241abb98072c4db399a5ed4
778
cpp
C++
Algorithms and Data Structures/Homework 2/testWindGauge.cpp
Tewodros00/CS-Jacobs
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
4
2021-04-09T08:14:58.000Z
2021-05-17T10:42:11.000Z
Algorithms and Data Structures/Homework 2/testWindGauge.cpp
Tewodros00/Jacobs-Coursework
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
null
null
null
Algorithms and Data Structures/Homework 2/testWindGauge.cpp
Tewodros00/Jacobs-Coursework
5876decf6aa6f612dc5569e50e6e5a9eb768d78b
[ "MIT" ]
null
null
null
/* CH-231-A hw2_p3.cpp Tewodros Adane tadane@jacobs-university.de */ #include <iostream> #include "WindGauge.h" int main(void) { WindGauge windGauge; windGauge.currentWindSpeed(15); windGauge.currentWindSpeed(16); windGauge.currentWindSpeed(12); windGauge.currentWindSpeed(15); windGauge.curre...
21.611111
35
0.717224
Tewodros00
05ee5baff090193d40457f3b0c6e68113fa56a81
3,056
cpp
C++
samples/cps3_test/src/main.cpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
1
2015-09-22T10:32:36.000Z
2015-09-22T10:32:36.000Z
samples/cps3_test/src/main.cpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
null
null
null
samples/cps3_test/src/main.cpp
clusterpoint/cpp-client-api
605825f0d46678c1ebdabb006bc0c138e4b0b7f3
[ "MIT" ]
null
null
null
#include "cps/CPS_API.hpp" #include "TestSuite.hpp" #include "Utils.hpp" #include <boost/program_options.hpp> #include <iostream> #include <cstdlib> #include <memory> #include <vector> int main(int argc, char* argv[]) { int result = EXIT_FAILURE; try { namespace po = boost::program_options; po::option...
28.296296
95
0.595223
clusterpoint
05f2c5582d1dd4cd06d7339dfb96706035fe4b0e
3,659
cpp
C++
src/chip/alu/alu.cpp
txf0990/LogicSimulator
9e384b9859ab01b8b0634a75d6698dab2f75d8be
[ "MIT" ]
null
null
null
src/chip/alu/alu.cpp
txf0990/LogicSimulator
9e384b9859ab01b8b0634a75d6698dab2f75d8be
[ "MIT" ]
null
null
null
src/chip/alu/alu.cpp
txf0990/LogicSimulator
9e384b9859ab01b8b0634a75d6698dab2f75d8be
[ "MIT" ]
null
null
null
#include "chip/alu/alu.h" #include "chip/adder.h" #include "chip/left_shifter.h" #include "chip/logic_cal.h" #include "chip/mux.h" #include "pin_board/pin_board.h" #include "chip/right_shifter.h" #include <cassert> #include <iostream> namespace chip { using pin_board::PinBoard; using pin_board::PinIndex; using std...
30.491667
96
0.708937
txf0990
05fe637957b51e85a5e8921486dab2036fe8d65c
276
hpp
C++
include/HashSearcher.hpp
Lasar1k/LAB_07_multi
733740aa679a8a3e626b348bbb734daa567daf57
[ "MIT" ]
null
null
null
include/HashSearcher.hpp
Lasar1k/LAB_07_multi
733740aa679a8a3e626b348bbb734daa567daf57
[ "MIT" ]
null
null
null
include/HashSearcher.hpp
Lasar1k/LAB_07_multi
733740aa679a8a3e626b348bbb734daa567daf57
[ "MIT" ]
null
null
null
// Copyright 2021 Lasar1k <alf.ivan2002@gmail.com> #ifndef INCLUDE_HASHSEARCHER_HPP_ #define INCLUDE_HASHSEARCHER_HPP_ #include <picosha2.h> #include <boost/log/trivial.hpp> class HashSearcher { public: static void SearchHash(); }; #endif // INCLUDE_HASHSEARCHER_HPP_
18.4
50
0.778986
Lasar1k
af00e7df727b54fd6c66b795353a82f5a03bf36f
6,210
hpp
C++
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
29
2016-11-14T15:58:23.000Z
2022-01-07T13:05:39.000Z
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
null
null
null
test/TypeParser.hpp
scrossuk/llvm-abi
bad12c7cb1cdd271cd8804d1ace1b5d1799a2908
[ "MIT" ]
4
2017-12-03T15:51:24.000Z
2020-07-31T23:32:27.000Z
#ifndef TYPEPARSER_HPP #define TYPEPARSER_HPP #include <string> #include <llvm/ADT/SmallVector.h> #include <llvm-abi/FunctionType.hpp> #include <llvm-abi/Type.hpp> #include <llvm-abi/TypeBuilder.hpp> #include "TestFunctionType.hpp" #include "TokenStream.hpp" namespace llvm_abi { class TypeParser { public: Ty...
21.413793
74
0.555233
scrossuk
af0d0e1c092f5078afc63a76baac4e6604ed61b1
925
cpp
C++
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
data-plane/http1/source/ESHttpServerCommandSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
#ifndef ES_HTTP_SERVER_COMMAND_SOCKET_H #include <ESHttpServerCommandSocket.h> #endif namespace ES { HttpServerCommandSocket::HttpServerCommandSocket(const char *namePrefix, HttpMultiplexerExtended &stack) : HttpCommandSocket(namePrefix), _multiplexer(stack) {} HttpServerCommandSocket::~HttpServerCommandSocket()...
31.896552
107
0.758919
duderino
af133fe8f324e21dd72b65c0f900f95fddc897e9
2,310
cpp
C++
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Installer/CQCInst/CQCInst_SecurityPanel.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCInst_SecurityPanel.cpp // // AUTHOR: Dean Roddey // // CREATED: 10/30/2004 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
28.170732
78
0.461039
MarkStega
af138497c991683194db1a8fd80305d58989137e
8,869
cpp
C++
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
3
2019-04-13T02:08:01.000Z
2020-11-17T12:45:37.000Z
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
null
null
null
src/Output/Output_BasePowerSpectrum.cpp
zhulianhua/Daino
db88f5738aba76fa8a28d7672450e0c5c832b3de
[ "MIT" ]
2
2019-11-12T02:00:20.000Z
2019-12-09T14:52:31.000Z
#include "DAINO.h" #ifdef GRAVITY #ifndef DENS #error : ERROR : variable "DENS" is NOT defined in the function Output_BasePowerSpectrum !! #endif //output the dimensionless power spectrum //#define DIMENSIONLESS_FORM extern void GetBasePowerSpectrum( real *RhoK, const int j_start, const int dj, const int RhoK_Si...
32.018051
123
0.590709
zhulianhua
af16904532e64e5b1232c277a83137357adf44b3
893
cpp
C++
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
src/mgard-x/RuntimeX/DeviceAdapters/DeviceAdapterSerial.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2022, Oak Ridge National Laboratory. * MGARD-X: MultiGrid Adaptive Reduction of Data Portable across GPUs and CPUs * Author: Jieyang Chen (chenj3@ornl.gov) * Date: March 17, 2022 */ #include "mgard-x/RuntimeX/RuntimeX.h" namespace mgard_x { int DeviceRuntime<SERIAL>::curr_dev_id = 0; DeviceQueues...
31.892857
78
0.780515
JieyangChen7
af19a8563704a530c787b974aa3af7a00b323695
679
cpp
C++
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-18T17:17:43.000Z
2022-01-18T17:17:43.000Z
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
null
null
null
src/dna/DNAVisGroup.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-31T22:07:19.000Z
2022-01-31T22:07:19.000Z
#include "DNAVisGroup.h" DNAVisGroup::DNAVisGroup(const std::string& name): DNAGroup(name) { m_vis_group = this; } DNAVisGroup::~DNAVisGroup() { } void DNAVisGroup::add_visible(const std::string& visible) { m_visibles.push_back(visible); } bool DNAVisGroup::remove_visible(const std::string& visible) { s...
19.4
101
0.698085
DarthNihilus1
af22d38bbe499652ba028c4c970b57aaa9f489f6
1,026
cpp
C++
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
vuzway/PAT
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
5
2020-02-10T08:26:19.000Z
2020-07-09T00:11:16.000Z
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
PAT (Advanced Level) Practice/1163 Dijkstra Sequence (30).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; const int inf = 0x2fffffff; int e[1010][1010], dis[1010]; bool vis[1010]; int main() { fill(e[0], e[0] + 1010 * 1010, inf); int nv, ne, k, a, b, w; cin >> nv >> ne; for (int i = 0; i < ne; i++) { scanf("%d%d%d", &a, &b, &w); e[a][b] = e[b][a] = w; } c...
22.304348
63
0.455166
vuzway
af29a00f44380a153c2053df41d971e4dd4cee16
1,206
hpp
C++
third_party/libosmium/include/protozero/pbf_message.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
1
2016-11-29T15:02:40.000Z
2016-11-29T15:02:40.000Z
third_party/libosmium/include/protozero/pbf_message.hpp
aaronbenz/osrm-backend
758d4023050d1f49971f919cea872a2276dafe14
[ "BSD-2-Clause" ]
1
2019-02-04T18:10:57.000Z
2019-02-04T18:10:57.000Z
third_party/libosmium/include/protozero/pbf_message.hpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
null
null
null
#ifndef PROTOZERO_PBF_MESSAGE_HPP #define PROTOZERO_PBF_MESSAGE_HPP /***************************************************************************** protozero - Minimalistic protocol buffer decoder and encoder in C++. This file is from https://github.com/mapbox/protozero where you can find more documentation. *******...
23.647059
156
0.606965
Mapotempo
af2d5deddf654ec2be11387164491a0cd8b23470
707
hpp
C++
library/ATF/_POSTDATA_DB_BASE.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_POSTDATA_DB_BASE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_POSTDATA_DB_BASE.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_DELPOST_DB_BASE.hpp> #include <_POSTSTORAGE_DB_BASE.hpp> #include <_RETURNPOST_DB_BASE.hpp> START_ATF_NAMESPACE #pragma pack(push, 1) struct _POSTDAT...
27.192308
108
0.708628
lemkova
af2fafcb0bde4bbf8f971cbe1e70ef9724c4d18e
237
cc
C++
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
2,661
2021-06-14T16:27:52.000Z
2022-03-31T14:19:39.000Z
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
18
2021-06-14T17:39:02.000Z
2022-01-15T10:25:47.000Z
transpiler/examples/structs/return_struct.cc
birdmanhub/fully-homomorphic-encryption
6f8e3a216ebe6911f8fa46bd0b1ce3636df8eff5
[ "Apache-2.0" ]
181
2021-06-14T17:05:57.000Z
2022-03-26T19:08:35.000Z
#include "return_struct.h" #pragma hls_top ReturnStruct ConstructReturnStruct(unsigned char a, Embedded b, unsigned char c) { ReturnStruct ret; ret.a = a; ret.b = b; ret.c = c; return ret; }
19.75
63
0.594937
birdmanhub
af3072766a8c332e97c02684d9b6f6f3bec19032
2,365
cpp
C++
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
40
2020-01-12T05:56:53.000Z
2020-09-25T22:27:10.000Z
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
17
2018-03-20T05:42:36.000Z
2020-09-19T01:42:31.000Z
Source/Client/Core/UnitTests/gen/Main.cpp
cppsoup/soup
0d6e6cb730d062373724cb1c4ab092eda8d53dc2
[ "MIT" ]
1
2020-05-26T17:29:46.000Z
2020-05-26T17:29:46.000Z
#include <any> #include <chrono> #include <fstream> #include <iostream> #include <map> #include <memory> #include <optional> #include <queue> #include <sstream> #include <string> #include <unordered_map> #include <vector> import Opal; import Soup.Core; import json11; import Monitor.Host; import Soup.Test.Assert; usin...
26.277778
63
0.765328
cppsoup
af34aaf545720ea15ba9d8d54ad84522957abfc4
966
cpp
C++
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/remove_duplicates_from_sorted_list.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using std::cout; using std::endl; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode *deleteDuplicates(ListNode *head) { if (!head) return NULL; ListNode *ret = head; ListNode...
18.576923
53
0.489648
buptlxb
af37ec68be37026a635d4e22c2f0afc0a4be409a
664
cpp
C++
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Mint/services/language/syntax/evaluation/NullValue.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "NullValue.hpp" namespace aslse = axis::services::language::syntax::evaluation; aslse::NullValue::NullValue( void ) { /* nothing to do here */ } aslse::NullValue::~NullValue( void ) { /* nothing to do here */ } bool aslse::NullValue::IsAssignment( void ) const { return false; } bool aslse::NullValue::I...
15.090909
63
0.691265
renato-yuzup
af3e8df6814a6331414dc46f1412ff9dae719ccc
1,123
cpp
C++
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0349 - Intersection of Two Arrays/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 两个数组的交集 // // Created by ynfMac on 2018/10/9. // Copyright © 2018年 ynfMac. All rights reserved. // 使用set #include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: vector<int> intersect(vector<int>& nums1, vector<int>& nums2) { set<i...
21.596154
79
0.534283
xiaoswu
af44dee4658df211a3a3408885978663787ef0a2
794
cpp
C++
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1161-maximum-level-sum-of-a-binary-tree/1161-maximum-level-sum-of-a-binary-tree.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
20.894737
93
0.542821
SouvikChan
af461c0ca5a379b8f957f52f6f607382d3e1dc6f
757
cpp
C++
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
14
2016-02-11T09:26:13.000Z
2022-03-27T01:14:29.000Z
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
null
null
null
Hackerrank/Day of the Programmer.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
7
2016-10-25T19:29:35.000Z
2021-12-05T18:31:39.000Z
#include <bits/stdc++.h> using namespace std; string tostr(int x) { ostringstream ss; ss<<x; return ss.str(); } int main() { // your code goes here int iy,d,m,v,c=0,cm=0; string sd,sm; bool l=false; int lm []={31,28,31,30,31,30,31,31,30,31,30,31}; for(int i=0;i<12;i++){cm+=lm[i];} ...
19.921053
52
0.442536
SurgicalSteel
af473e19bd41d67214893891cb110a031b4e558b
394
cpp
C++
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
272.cpp
ediston/UVA
183bbfb352561f808ab6f82c70760c89a9b5c749
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; int main(){ char c; bool first=true; while(cin >> noskipws >> c){ if(c=='"'){ if(first){ cout << "``"; }else{ cout << "''"; } first = !first; ...
18.761905
33
0.309645
ediston
af47ffa1ddcae41ccdb44babdebb53b333f5a674
2,246
cpp
C++
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
37
2020-08-17T10:39:06.000Z
2022-02-17T16:18:47.000Z
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
11
2020-10-20T14:48:07.000Z
2022-02-04T07:05:05.000Z
lib/TickerScheduler/TickerScheduler.cpp
ecrandz/IoTManager
5d0eb71cfccccf9020b28be8c9fa5837988fb6ba
[ "MIT" ]
43
2020-06-19T22:40:14.000Z
2022-03-05T05:29:07.000Z
#include "TickerScheduler.h" TickerScheduler::TickerScheduler(uint8_t size) { this->items = new TickerSchedulerItem[size]; this->size = size; } TickerScheduler::~TickerScheduler() { for (uint8_t i = 0; i < this->size; i++) { this->remove(i); yield(); } delete[] this->items; ...
19.196581
103
0.588157
ecrandz
af4a427d2302b8c705331d8a611ffc056b2f2aeb
7,319
cpp
C++
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
PFL_runner.cpp
KAdamek/sdp_pfl_runner
ba8121191233f018623165dec31aa60af52f5a26
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdarg.h> #include <memory> #include <iostream> #include <algorithm> // Simple function should be trivially callable int pflSimpleFunctionA(int A, int B, int *status) { printf("SimpleFunctionA\n"); return(A + B); } // Simple function acting on the array without temporary memory sh...
25.680702
134
0.576445
KAdamek
af4c308e4ffe5eccd1235695e8ea27b1502df627
356
hpp
C++
tests/test-registry.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
tests/test-registry.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
tests/test-registry.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
#ifndef TEST_REGISTRY_HPP #define TEST_REGISTRY_HPP #include <string> void register_test(const std::string & name, int (*test)(const std::string &)); int run_test(const std::string & name); #define TEST_REGISTER(name, test) \ static void __attribute__((constructor)) register_test(void) \ { \ registe...
18.736842
74
0.696629
umbreensabirmain
af4dee6b86cd1e4d7ac63d0ee31a480d21da2069
10,431
hpp
C++
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
null
null
null
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
null
null
null
grasp_planner/test/load_perception.hpp
tanjpg/easy_manipulation_deployment
83073fcebb25306619c4958fc98a74b1bf216141
[ "Apache-2.0" ]
1
2021-04-01T07:11:35.000Z
2021-04-01T07:11:35.000Z
// Copyright 2020 Advanced Remanufacturing and Technology Centre // Copyright 2020 ROS-Industrial Consortium Asia Pacific Team // // 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 // // ht...
39.067416
87
0.560445
tanjpg
af4fad6c6c17c867cb8ab0dbfddd63f330f2e5b5
181
hpp
C++
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/game/process_priority.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #pragma once namespace ts { namespace game { void elevate_process_priority(); } }
12.066667
36
0.685083
mnewhouse
af54568ce52e2309c4f879a45d67728b75407162
770
cpp
C++
RubeusCore/Source/GraphicComponents/buffer_object.cpp
Rodrirokr/Rubeus
12623b04db959b428b9eb791d3943b11d74c0532
[ "MIT" ]
179
2018-12-22T14:02:02.000Z
2022-01-29T18:26:57.000Z
RubeusCore/Source/GraphicComponents/buffer_object.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
56
2019-01-07T11:55:16.000Z
2020-12-10T21:32:18.000Z
RubeusCore/Source/GraphicComponents/buffer_object.cpp
rahil627/Rubeus
dd057d23c94a0406126c32d62889ac83cba47570
[ "MIT" ]
20
2018-12-23T11:19:49.000Z
2022-03-11T06:18:10.000Z
/** * @file Source/buffer.cpp. * * @brief Implements the buffer class */ #include <buffer_object.h> namespace Rubeus { namespace GraphicComponents { RBuffer::RBuffer(GLfloat * data, GLsizei count, GLuint elementCount) { m_ElementCount = elementCount; GLCall(glGenBuffers(1, &m_BufferID)); GLCall(g...
19.74359
88
0.705195
Rodrirokr
af575ec56ff4ab7e930f40be41a2b8772811ab4f
2,890
cpp
C++
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
audio/AudioIOCallback.cpp
kovdan01/libtgvoip
6fec40ea1acd40fddba927b049f78962507d4922
[ "Unlicense" ]
null
null
null
// // libtgvoip is free and unencumbered public domain software. // For more information, see http://unlicense.org or the UNLICENSE file // you should have received with this source code distribution. // #include "../logging.h" #include "../VoIPController.h" #include "AudioIOCallback.h" #include <cstring> using name...
20.20979
102
0.66436
kovdan01
af58bc67b7646da96a91093a51c7db6188964f08
106
cpp
C++
RTEngine/PCG/test-high/check-pcg64_k32_fast.cpp
RootinTootinCoodin/RTEngine
916354d8868f6eca5675390071e3ec93df497ed3
[ "MIT" ]
613
2015-01-27T09:47:36.000Z
2022-03-17T20:26:02.000Z
third_party/pcg/test-high/check-pcg64_k32_fast.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
59
2015-03-12T23:11:48.000Z
2022-03-31T08:24:52.000Z
third_party/pcg/test-high/check-pcg64_k32_fast.cpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
104
2015-02-24T16:25:17.000Z
2022-03-22T09:55:51.000Z
#define RNG pcg64_k32_fast #define TWO_ARG_INIT 0 #define AWKWARD_128BIT_CODE 1 #include "pcg-test.cpp"
15.142857
29
0.801887
RootinTootinCoodin
af5c47582b4941edcad0e06c6497b38b937323ca
746
cpp
C++
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
src/main.cpp
unfoundbug/ESp32ControlTranciever
35c9e527771c0d8d6edbeffaaf3fc76a16b7486e
[ "Apache-2.0" ]
null
null
null
#include <Arduino.h> #include "globals.hpp" #include "Core0.hpp" #include "Core1.hpp" #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" void setup() { WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable brownout detector // let things power up delay(500); WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 1); //...
20.162162
75
0.703753
unfoundbug
af5d54d1582922cfafefb6dd225c698c9bd72793
7,652
cpp
C++
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
2
2018-09-10T03:29:25.000Z
2020-05-28T19:23:43.000Z
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
2
2016-03-28T16:19:35.000Z
2016-05-30T15:09:48.000Z
arm_components_name_manager/src/ArmJointStateSubscriber.cpp
JenniferBuehler/tools-pkgs
8faeac8a3ecae6a35faa39463cb571ba720d6c77
[ "BSD-3-Clause" ]
14
2016-04-19T07:34:03.000Z
2021-04-19T08:47:01.000Z
#ifdef DOXYGEN_SHOULD_SKIP_THIS /** Maintains up-to-date state of the arm. Copyright (C) 2015 Jennifer Buehler 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 3 of the ...
33.858407
132
0.630685
JenniferBuehler
af614c3913e80c9e76c3c381039cec26b54e4df9
905
cpp
C++
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/arc106/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; vector<vector<int>> solve(int N, int M) { if (M < 0) return {}; vector<vector<int>> ans; if (M == 0) { int L = 1; for (int i = 0; i < N; ++i) { ans.push_back({ L++, L++ }); } return ans; } int L = 1; wh...
19.673913
58
0.403315
xirc
af630713fdc7d28f5c471fc958c7f449a1ef4271
283
cpp
C++
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/16.intro function/callFunc.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void thisFungsi() { cout << "This is function!\n"; } int main() { thisFungsi(); thisFungsi(); thisFungsi(); return 0; } // In below is output from iniFungsi // This is function! // This is function! // This is function!
14.894737
37
0.632509
GustiArsyad123
af713365142726494a022dcfaf9252e109951ea2
1,276
cpp
C++
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
1
2019-09-02T09:13:13.000Z
2019-09-02T09:13:13.000Z
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
1
2020-02-13T07:39:51.000Z
2020-04-16T06:44:22.000Z
src/get_parent_id.cpp
biv-tomsksoft/cis1-core-native
6cc2fafcd382be3e21eaeeda08cc660edf000975
[ "MIT" ]
null
null
null
/* * TomskSoft CIS1 Core * * (c) 2019 TomskSoft LLC * (c) Mokin Innokentiy [mia@tomsksoft.com] * */ #include "get_parent_id.h" #ifdef _WIN32 #include <windows.h> #include <tlhelp32.h> #include <stdio.h> size_t get_parent_id() { HANDLE snapshot_handle; PROCESSENTRY32 pe32; DWORD pid ...
17.971831
70
0.564263
biv-tomsksoft
af797a43c50f467add919f1c2328506e4cfac732
570
cpp
C++
Sources/baba-is-auto/Agents/RandomAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
108
2019-09-11T06:31:35.000Z
2022-03-28T13:02:56.000Z
Sources/baba-is-auto/Agents/RandomAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
29
2019-09-12T00:28:04.000Z
2022-02-20T14:56:27.000Z
Sources/baba-is-auto/Agents/RandomAgent.cpp
utilForever/BabaIsAuto
fb444668914eb70c0a35197399d650d293b4b95f
[ "MIT" ]
14
2020-02-24T05:41:43.000Z
2022-03-28T12:43:34.000Z
// Copyright (c) 2020 Chris Ohk // I am making my contributions/submissions to this project solely in our // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <baba-is-auto/Agents/RandomAgent.hpp> #include <effolkronium/random.hpp> namespace baba_is_aut...
28.5
73
0.749123
siva-msft
af7b3de0706c489d915c94c0969b37ef1b328d98
49,081
hpp
C++
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
1
2018-04-17T14:03:36.000Z
2018-04-17T14:03:36.000Z
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
VSUtility/VSOctaveH5Writer.hpp
sfegan/ChiLA
916bdd95348c2df2ecc736511d5f5b2bfb4a831e
[ "BSD-3-Clause" ]
null
null
null
//-*-mode:c++; mode:font-lock;-*- /*! \file VSOctaveH5Writer.hpp Classes to write to structured GNU/Octave HDF5 file. Data can be read directly into octave. \author Stephen Fegan \n UCLA \n sfegan@astro.ucla.edu \n \version 1.0 ...
30.675625
79
0.642204
sfegan
af7c794c3b4c5b35f209616e9398a62ed21b22e3
3,214
cpp
C++
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
42
2021-01-03T17:54:59.000Z
2022-03-26T15:57:01.000Z
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
26
2021-04-05T07:54:21.000Z
2021-12-10T07:35:39.000Z
Phase 1 Placement Specific/08. Arrays/8.2 Searching Algorithm/Motarack's Birthday.cpp
Tanushree-coder/CPP-DSA
94158ed9b251789dff26862e70f46015a02b2a47
[ "Apache-2.0" ]
56
2020-12-24T17:06:33.000Z
2022-02-06T18:21:33.000Z
/* Dark is going to attend Motarack's birthday. Dark decided that the gift he is going to give to Motarack is an array a of n non-negative integers. Dark created that array 1000 years ago, so some elements in that array disappeared. Dark knows that Motarack hates to see an array that has two adjacent elements with a h...
30.609524
335
0.679527
Tanushree-coder
af7dd489968727b1cbb22051808480f056fd3ba2
3,636
cpp
C++
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/08_greedy/03_huffman_coding.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
/* link: https://practice.geeksforgeeks.org/problems/huffman-encoding3345/1 video (just to understand): https://youtu.be/co4_ahEDCho */ // ----------------------------------------------------------------------------------------------------------------------- // /* Time complexity: O(nlogn) where n is the number o...
22.867925
227
0.642464
harshanu11
5030e363458db75da5913da2d97a97546a6228e3
6,204
cc
C++
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
proxy/http2/Http2ConnectionState.cc
sc0ttbeardsley/trafficserver
5b77907f5d9b8ac82b983dab2f5417bb7579eef9
[ "Apache-2.0" ]
null
null
null
/** @file Http2ConnectionState. @section license License 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 ...
34.466667
110
0.72695
sc0ttbeardsley
5034a3a3871614fdfe8b64fbc70a457f939a06ca
2,823
cpp
C++
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
juicer-1.1.0/src/md5class.cpp
DerDudemeister046/Juicer_Reborn
3a84c3fd1c1ebd0b7f497c1d6277363d5f061f45
[ "BSD-2-Clause" ]
null
null
null
// md5class.cpp: implementation of the CMD5 class. //See internet RFC 1321, "The MD5 Message-Digest Algorithm" // //Use this code as you see fit. It is provided "as is" //without express or implied warranty of any kind. ////////////////////////////////////////////////////////////////////// #include "md5class.h" #incl...
28.806122
125
0.623096
DerDudemeister046
503a9e84c26c2c204fb56de08729d28e57e279d1
8,108
cpp
C++
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
null
null
null
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
29
2018-03-23T12:58:24.000Z
2018-04-20T16:05:25.000Z
TUIO SETUP/npTuioClient-old/src/plugin.cpp
alfanhui/graph_visualiser_honours_project
0496c22af39cda12ce791f15766795bac24386c9
[ "MIT" ]
null
null
null
// // Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. // // 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 3 of the License, or // (at your option) ...
23.034091
78
0.665392
alfanhui
5041dc368c1a141cdc2cb0b612bfdbdbb380829f
1,620
hpp
C++
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
lib/inc/tetra/behavior/BehaviorList.hpp
projectTetra/tetra-creative
011c0ba1b288b9e2534cf9446949f55078ea265b
[ "MIT" ]
null
null
null
#pragma once #ifndef BEHAVIOR_LIST_HPP #define BEHAVIOR_LIST_HPP #include <memory> #include <list> namespace tetra { class Behavior; using OwnedBehavior = std::unique_ptr<Behavior>; /** * The BehaviorList is a collection of behaviors which are executed each time * run() is invoked. */ class BehaviorList { public...
25.714286
86
0.682099
projectTetra
5043a9dc2cf7d9afd50e4a8a0c6ae566a98411fa
407
cpp
C++
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
190
2021-02-10T17:01:01.000Z
2022-03-20T00:21:43.000Z
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
null
null
null
04. Arrays/13 Maximum Difference/13b Maximum Difference.cpp
VivekYadav105/Data-Structures-and-Algorithms
7287912da8068c9124e0bb89c93c4d52aa48c51f
[ "MIT" ]
27
2021-03-26T11:35:15.000Z
2022-03-06T07:34:54.000Z
#include<bits/stdc++.h> using namespace std; int maxDiff(int *a,int n)//time comp. O(n) { int res=a[1]-a[0]; int minVal=a[0]; for(int i=1;i<n;i++) { res=max(res,a[i]-minVal); minVal=min(minVal,a[i]); } return res; } int main() { int n; cin>>n; int a[n]; for(i...
13.129032
42
0.471744
VivekYadav105
504853a094b84ec84c4214bbce7686777d0957a8
678
cpp
C++
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
null
null
null
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
3
2017-02-28T10:22:23.000Z
2017-02-28T15:10:50.000Z
source/cli/Main.cpp
sienkiewiczkm/shabui
1304d55d7bcefb8b199e4d4a89b0839d6ff02872
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <iostream> #include <string> #include <sstream> #include "shabui/GLSLLoader.hpp" int main(int argc, char **argv) { if (argc == 1) { std::cout << "usage: " << argv[0] << " shaderfile"; return EXIT_FAILURE; } sb::GLSLLoaderFileDependencyResol...
24.214286
59
0.632743
sienkiewiczkm
50548af311095bbf2bc68baf9d1587005d8c3a42
5,777
cpp
C++
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
lib/Transforms/Passes/BlockSeparatorPass.cpp
compor/Atrox
d6e893f0c91764c58e198ccf316096b0ec9f7d90
[ "MIT" ]
null
null
null
// // // #include "Atrox/Config.hpp" #include "Atrox/Util.hpp" #include "Atrox/Debug.hpp" #include "Atrox/Transforms/Passes/BlockSeparatorPass.hpp" #include "Atrox/Transforms/BlockSeparator.hpp" #include "private/PDGUtils.hpp" #include "private/ITRUtils.hpp" #include "private/PassCommandLineOptions.hpp" #inclu...
26.869767
80
0.712134
compor
50579e9ad0faa463500c7f6d04f72809095805a5
7,018
hxx
C++
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
Modules/Components/Elastix/include/selxMonolithicElastixComponent.hxx
FBerendsen/SuperElastix-1
69d97589e34f6f2109621e917792ce18e32442fe
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
36.743455
197
0.742092
FBerendsen
5070721eb6409dfa69ec0c51f81932cef0b1fab8
4,415
cpp
C++
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
6
2019-04-16T11:38:45.000Z
2020-12-12T16:55:03.000Z
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
1
2020-12-15T10:45:53.000Z
2021-02-22T11:59:19.000Z
src/init.cpp
andreili/STM32F4
9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc
[ "MIT" ]
2
2019-05-23T03:08:25.000Z
2020-10-10T12:43:06.000Z
#include "stm32_inc.h" #include "init.h" #ifdef STM32_FATFS_USE #include "sddriver.h" #endif int main(); /* #define VECT_TAB_SRAM */ #define VECT_TAB_OFFSET 0x00 /*!< Vector Table base offset field. This value must be a multiple of 0x200. */ extern volatile uint32_t _FLASH_START; ...
26.920732
137
0.66795
andreili
507122dc3d2252d61a97ba041be9dcaeedf0730e
600
cpp
C++
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
src/pe_structures/clr/Signature.cpp
secnary/pepper
802ad055c15a6fba350f9aac08fb3f9e9770c78f
[ "Unlicense" ]
null
null
null
#include <pe_structures/DataDirectoryEntry.h> #include <pe_structures/clr/Signature.h> using namespace Pepper; ClrSignature::ClrSignature(const PeFile& pe, const FileBytes& fbytes, const DataDirectoryEntry& dde) : IDirectory(pe, fbytes, dde) , m_length(dde.size()) {} const char* ClrSignature::getFieldName(const int ...
23.076923
100
0.7
secnary
5072c34b3cf77328e1d006a8bb0e4eac2caee41d
7,075
cpp
C++
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
3
2020-09-12T03:00:46.000Z
2021-08-11T11:12:57.000Z
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
2
2020-09-11T17:04:40.000Z
2020-09-12T05:51:22.000Z
src/pcl/src/testing.cpp
Malikmal/Learning-Pointcloud
956ccc79e006f41ceac3af4f3ad7c41051125f19
[ "MIT" ]
2
2021-01-31T22:16:27.000Z
2021-08-11T11:13:00.000Z
#include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/common/common.h> #include <pcl/common/transforms.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/console/parse.h> #include <pcl/console/print.h> #include <pcl/io/pcd_io.h> #include <iostream> #include <flann/flann.h> #include <flann/...
33.530806
115
0.618375
Malikmal
50731772a4dcae6a7bb451488250081156fc27e9
31,440
cpp
C++
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2019-10-23T06:32:40.000Z
2019-10-23T06:32:40.000Z
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
null
null
null
vision-normal-fusion/libs/D3D/src/d3d_stereo/cudaPlaneSweep.cpp
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2021-09-23T03:35:30.000Z
2021-09-23T03:35:30.000Z
#include "cudaPlaneSweep.h" #include <iostream> #include <vector> #include <string> #include <sstream> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <d3d_base/exception.h> #include <d3d_cudaBase/cudaCommon.h> #include <d3d_cudaBase/deviceImage.h> using std::cerr; using s...
31.629779
201
0.611101
kunal71091
50733456d054c748b2ad3d318361539a2a3c5e39
1,098
cc
C++
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
plus-one.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <random> #include <map> #include <algorithm> using namespace std; class Solution { public: vector<int> plusOne(vector<int>& digits) { reverse(digits.begin(), digits.end()); auto sz = digits.size(); vector<...
19.607143
60
0.445355
sonald
5073f03840c6e6f2830a3d618d87a21fa85a1282
2,501
cpp
C++
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
1
2021-07-13T00:56:09.000Z
2021-07-13T00:56:09.000Z
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
viewify/src/main/Model/ButtonModel.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
// Copyright ii887522 #include "ButtonModel.h" #include <nitro/nitro.h> #include <functional> #include <stdexcept> #include "../Struct/Rect.h" #include "../Any/constants.h" using std::function; using std::runtime_error; using ii887522::nitro::AnimationController; namespace ii887522::viewify { ButtonModel::Builder::...
41.683333
176
0.753299
ii887522
50834fe3af291dc4428f09f1282e515a1cbec97e
9,643
cpp
C++
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
1
2018-12-13T14:07:05.000Z
2018-12-13T14:07:05.000Z
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
null
null
null
src/StackAllocator.cpp
richsposato/Memwa
36e6a729b47656db2fc4bb3b9dad9c8d4dd94b2d
[ "MIT" ]
null
null
null
#include "StackAllocator.hpp" #include "LockGuard.hpp" #include "StackBlock.hpp" #include "BlockInfo.hpp" #include "ManagerImpl.hpp" #include <new> #include <algorithm> #include <stdexcept> #include <sstream> #include <iostream> #include <cstdlib> #include <cassert> namespace memwa { // ----...
28.195906
129
0.528259
richsposato
5087ebfff25e60efe17c4cd15c7250142e204835
605
hpp
C++
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/GUI/GUIEventCodes.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE file. #ifndef GT_GUIGameEventCodes #define GT_GUIGameEventCodes namespace GT { enum GUIEventCode { GUIEventCode_Unknown = 0, GUIEventCode_Null = 0, GUIEventCode_OnSize, GUIEventCode_OnMove, GUIEventCode_O...
23.269231
67
0.695868
mackron
508cb54975ad33a85f3058aef14ee81768e2fb9b
864
cpp
C++
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/Color.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#include "Color.hpp" Color Color::Black = Color(0.0f, 0.0f, 0.0f, 1.0f); Color Color::Blue = Color(0.0f, 0.0f, 1.0f, 1.0f); Color Color::Green = Color(0.0f, 1.0f, 0.0f, 1.0f); Color Color::Red = Color(1.0f, 0.0f, 0.0f, 1.0f); Color Color::White = Color(1.0f, 1.0f, 1.0f, 1.0f); Color Color::Transparent = Color(1.0f, 1....
21.073171
57
0.590278
artur-kink
508d00969a74f56aa3d593575309147b53c19f9c
8,491
cpp
C++
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
src/lapel_line.cpp
cjhdev/lapel
9fd86ba900ff3f83154e8ebd1cb8634e58c3ca75
[ "MIT" ]
null
null
null
/* Copyright 2022 Cameron Harper * * */ #include "lapel_line.h" #include "lapel_tty.h" #include "lapel_control_codes.h" #include "lapel_debug.h" #include "lapel_decoder.h" #include "lapel_encoder.h" #include <string.h> using namespace Lapel; static const char Tag[] = "Line"; Line::Line(size_t max, TTY &tty) :...
15.841418
91
0.556354
cjhdev
5091216d51a496241faba50772bcf2bc63090bd8
1,710
cpp
C++
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
src/Set.cpp
leiradel/CheevosTool
a7d0145c7617caf63d42b134a831707f10c1d27b
[ "MIT" ]
null
null
null
#include "Set.h" #include <algorithm> Set::Set(std::vector<uint32_t>&& elements) : _elements(std::move(elements)) { std::sort(_elements.begin(), _elements.end(), [](uint32_t const& a, uint32_t const& b) -> bool { return a < b; }); } Set::Set(Set&& other) : _elements(std::move(other._elements)) {} bool Set::...
27.580645
98
0.608772
leiradel
5099cf0ca7a29075bb45006d9fe89eff33fa757f
1,133
cpp
C++
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
RPC/Server/GpApiTypeDetectorJson.cpp
ITBear/GpApi
fcf114acf28b37682919c9a634d8a2ae3860409b
[ "Apache-2.0" ]
null
null
null
#include "GpApiTypeDetectorJson.hpp" #include "../../../GpJson/GpJsonToStruct.hpp" namespace GPlatform::API::RPC { GpApiTypeDetectorJson::GpApiTypeDetectorJson ( const GpApiMethodsManager& aApiManager, const GpBytesArray& aData ) noexcept: iApiManager(aApiManager), iData(aData) { } Gp...
28.325
109
0.660194
ITBear
509cc14c7d44ded4d84760fb474d27f71680359e
3,314
hpp
C++
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/BloomPrePassBGLight.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
40.414634
123
0.714243
Futuremappermydud
509d293d85bb97a6433e9b07e9656d4649d17fac
1,194
cpp
C++
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
4
2018-12-14T00:22:07.000Z
2021-09-29T08:13:26.000Z
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
7
2020-11-05T11:37:25.000Z
2022-03-01T16:39:40.000Z
HemeraCore/hemerafakehardwareidoperation.cpp
rbino/astarte-device-sdk-qt5
a3c3feea8f77e6e52fd7bac0c9cdaeebd7444291
[ "Apache-2.0" ]
9
2020-01-22T14:15:15.000Z
2022-02-23T10:52:59.000Z
/* * This file is part of Astarte. * * Copyright 2017 Ispirata Srl * * 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 requ...
23.88
75
0.759631
rbino
509fa3a09d73a48b5f393abf9fd2687ce909a8d5
4,516
cpp
C++
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/input/plugins/rules/dmzInputPluginChannelRules.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzInputEventMasks.h> #include <dmzInputModule.h> #include "dmzInputPluginChannelRules.h" #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzRuntimePluginInfo.h> #include <dmzRuntimeConfig.h> #include <dmzTypesDeleteListTemplate.h> /*! \class dmz::InputPlugi...
22.808081
254
0.633747
shillcock
50a26275442c38aff5d3dc4e516020ae7cc4fa3d
236
cpp
C++
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
null
null
null
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
2
2016-09-29T17:26:24.000Z
2016-10-02T08:37:57.000Z
ThirdsEngine/main.cpp
OlisProgramming/ThirdsEngine
0f44ae9e96f47d69222a57f43c1744cd89995e44
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include "GameManager.h" #undef main using namespace te; int main() { // GameManager does nothing until run is called. GameManager manager; manager.setWindow(new Window(800, 600)); manager.run(); return 0; }
14.75
49
0.711864
OlisProgramming
50a9fac1125595ddf868bd83734e7d9489c2eb0d
5,616
cpp
C++
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
null
null
null
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
17
2018-03-19T17:26:04.000Z
2019-06-06T00:15:35.000Z
SourceCode/balance_flows_at_reservoirs.cpp
ChristinaB/Topnet-WM
abfed11a3792a43ad23000cbf3b2cb9161f19218
[ "MIT" ]
2
2018-03-25T01:55:20.000Z
2019-05-09T22:12:50.000Z
/* Copyright 2017 Lambert Rubash This file is part of TopNetCpp, a translation and enhancement of Fortran TopNet. TopNetCpp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
33.428571
146
0.657942
ChristinaB
27063abb862f1822da9e286bd30393dd1b462bfd
935
cpp
C++
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
7
2019-07-11T02:05:32.000Z
2020-11-01T18:57:51.000Z
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
3
2019-02-26T15:59:03.000Z
2019-06-04T10:46:07.000Z
base/src/System/Net/Sockets/UdpClient.cpp
djdron/gamesparks-cpp-base
00b8af5dc2b58b7954cfa5d99c5ea7ded7115af8
[ "Apache-2.0" ]
6
2019-03-18T19:14:04.000Z
2019-06-25T11:55:44.000Z
#include "./UdpClient.hpp" //#include <mbedtls/net.h> namespace System { namespace Net { namespace Sockets { UdpClient::UdpClient() :client(AddressFamily::InterNetwork, SocketType::Dgram, ProtocolType::Udp) { } void UdpClient::BeginConnect( const IPEndPoint& endpoint, const AsyncCallback& requestCallback ) ...
20.777778
74
0.706952
djdron
270734a3c5dc0b702052928f4941484a1c9e6262
575
hpp
C++
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
15
2018-06-25T23:06:57.000Z
2022-03-31T06:00:35.000Z
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
3
2017-11-20T23:00:03.000Z
2018-01-19T16:22:39.000Z
include/imu/MadgwickFilter.hpp
medium-endian/multipid
41ab0c810de04fc48923edf31e3c971826abbaf3
[ "MIT" ]
1
2020-08-24T13:24:39.000Z
2020-08-24T13:24:39.000Z
#ifndef MADGWICK_FILTER_H #define MADGWICK_FILTER_H #include <math.h> #include "SoftwareIMU.hpp" #include "axis.hpp" class MadgwickFilter : public SoftwareIMU { private: float beta = 0.0f; float zeta = 0.0f; /* integration interval */ float deltat = 0.0f; float sum = 0....
18.548387
81
0.638261
medium-endian
270996af510dc2fd9ed3b1ec0b02331f0e9687c1
2,379
cpp
C++
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
10
2021-11-25T09:53:30.000Z
2022-03-04T07:21:38.000Z
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
1
2021-11-24T10:49:21.000Z
2021-11-24T10:49:21.000Z
tests/test_client_examplecom.cpp
lpcvoid/cpp-net-lib
e9961392b847cb39143d6b08dd2406361aff027c
[ "MIT" ]
2
2021-11-27T02:57:18.000Z
2021-11-28T08:55:14.000Z
#include "../doctest/doctest/doctest.h" #include "../src/netlib.hpp" static const std::string basic_get = R"(GET / HTTP/1.1\r\nHost: example.com\r\n\r\n)"; using namespace std::chrono_literals; TEST_CASE("Client example.com async") { netlib::client client; auto connect_future = client.connect_async("...
38.370968
139
0.670029
lpcvoid
270a59ac8c7ecea0aed1e1bb884d6a9461297564
950
hpp
C++
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
7
2019-08-07T21:27:27.000Z
2020-11-27T16:33:16.000Z
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
include/equal/prefab/scene/blank.hpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Equal Games * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
27.941176
75
0.724211
equal-games
270e0169d634c50584bd032ddd200725ff5bacfc
4,064
cpp
C++
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
lib/UserInput/Button.cpp
andhieSetyabudi/continuous_8bit
d3382a8799cd963dbde1833af74e07f5210628df
[ "FSFAP" ]
null
null
null
#define LIBCALL_ENABLEINTERRUPT #include "Config.h" #include "UserInput.h" #include <EnableInterrupt.h> bool UserInput::Button::sleep = false; bool UserInput::Button::sleepBuffer = false; volatile bool UserInput::Button::interruptPressed = false; bool UserInput::Button::pressed = false; bool UserInput::Button::longP...
30.787879
102
0.740404
andhieSetyabudi
270eda5646c1bbbea4ba0a8077d1da80a37c911e
1,936
cpp
C++
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
2
2018-10-18T12:06:15.000Z
2019-06-13T20:41:31.000Z
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
null
null
null
examples/Standard/Roguelike/Components/Destructible.cpp
ptrefall/propcomp
35a751ae0717e5c35621200f64deb373b29341a0
[ "MIT" ]
null
null
null
#include "Destructible.h" #include "../Engine.h" #include "../Systems/RenderSystem.h" #include <iostream> Destructible::Destructible(const EntityWPtr &owner, const RenderSystemPtr &system) : Totem::Component<Destructible, PropertyUserData>("Destructible"), owner(owner), system(system) { user_data.entity = ...
25.813333
97
0.596591
ptrefall
27177f39b59435d67494997ea35736d18a7e26fb
717
hpp
C++
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
src/player.hpp
Sirflankalot/Bomberman
7f2fa5cf657672e070e8850233c9a36a0b480b2f
[ "Apache-2.0" ]
null
null
null
#pragma once #include <GL/glew.h> #include "controller.hpp" #include <array> #include <cstddef> namespace players { struct player_info { enum class direction : uint8_t { up = 0, left = 1, down = 2, right = 3 }; std::size_t loc_x, loc_y; std::size_t last_x, last_y; float factor = 1.0; direction dir; bool...
24.724138
79
0.707113
Sirflankalot
271b4a4bc011154a03033eb7bdb3fd124a627e6f
126
cpp
C++
src/test_gui/test_lab.cpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
src/test_gui/test_lab.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2015-05-26T07:40:19.000Z
2015-05-26T07:40:19.000Z
src/test_gui/test_lab.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
#include "stdafx.h" #include "test_lab.h" #include "lab1.h" #include "lab2.h" void test_lab() { //Lab1(); //Lab2(); }
12.6
21
0.587302
wohaaitinciu
27210af3b8587e5bf55303c787c45d307d8bd970
952
hpp
C++
libs/swm/src/load/LoadV1.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
2
2020-02-10T07:58:21.000Z
2022-03-15T19:13:28.000Z
libs/swm/src/load/LoadV1.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
libs/swm/src/load/LoadV1.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
#ifndef SWM_MODEL_V1_LOAD_HPP #define SWM_MODEL_V1_LOAD_HPP /* Include files */ #include <swm/Swm.hpp> #include <utils/BufferReader.hpp> #include <string> #include <vector> /* Defines */ #define MESH_FLAGS_V1_UV_BIT 0x00 #define MESH_FLAGS_V1_NORMAL_BIT 0x01 #define MESH_FLAGS_V1_COLOR_BIT 0x02 /* Typedefs/enums ...
17.962264
83
0.680672
deathcleaver
27281a041626627abdeddd061b5103e678c5616c
1,254
cpp
C++
src/hash/test/src/HashTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
1
2020-04-18T14:34:16.000Z
2020-04-18T14:34:16.000Z
src/hash/test/src/HashTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
src/hash/test/src/HashTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <Hash.hpp> #include <functional> static algorithms::hash<std::string> stringHasher; static algorithms::hash<double> doubleHasher; TEST(HashTest, String) { std::string v1{"Hello world!"}; std::string v2{"Hello World!"}; EXPECT_EQ(stringHasher(v1), stringHasher(v1)); ...
24.115385
74
0.681021
karz0n