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
cf217ad36abf80dcdd19174a48ad7546ea61723f
552
cpp
C++
2021CCPC_val_final/Q1.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
1
2020-10-07T12:03:12.000Z
2020-10-07T12:03:12.000Z
2021CCPC_val_final/Q1.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
2021CCPC_val_final/Q1.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
#include <stdio.h> using namespace std; long long labs(long long x) { if (x < 0) { return -x; } return x; } int main() { long long T; scanf("%lld", &T); long long A, B; for (long long i = 0; i < T; i++) { scanf("%lld%lld", &A, &B); long long C = A - B; ...
15.333333
37
0.36413
Leon-Francis
cf240d70e760c14fe01ee9c18b9db0b675ffa217
772
hh
C++
test/DBAL/DriverTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
test/DBAL/DriverTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
test/DBAL/DriverTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
<?hh // strict namespace Test\DBAL; use Decouple\Console\CLI\CLI; use Decouple\Test\TestCase; use Decouple\DBAL\DPDO\DPDOMySQLDriver; use Decouple\Registry\Paths; class DriverTest extends TestCase { public function __construct() {} public function execute(Paths $paths): void { $db_config = hack_require($paths->...
29.692308
70
0.647668
decouple
cf26dd7e25fcef3fff46825da9cab3aaad586b3f
2,340
cpp
C++
ivb-3-14/bykosvkyAS/lab2.cpp
bykovskyy/2014
474c6eb940978d4f323ef4dc2eac8e0360f19612
[ "BSD-2-Clause" ]
null
null
null
ivb-3-14/bykosvkyAS/lab2.cpp
bykovskyy/2014
474c6eb940978d4f323ef4dc2eac8e0360f19612
[ "BSD-2-Clause" ]
null
null
null
ivb-3-14/bykosvkyAS/lab2.cpp
bykovskyy/2014
474c6eb940978d4f323ef4dc2eac8e0360f19612
[ "BSD-2-Clause" ]
null
null
null
// 2.cpp вариант 7: #include "stdafx.h" #include <conio.h> #include <stdio.h> #include <iostream> #include <clocale> using namespace std; int main() { setlocale(LC_ALL, "Russian"); int i, j; /для циклов bool opt1 = false; //есть ли нули в матрицах bool opt2 = false; //Зададим размеры 2-х матриц ...
26.896552
98
0.406838
bykovskyy
cf27452c0f664212fde5611aaa396ea362b7201e
180,551
cpp
C++
csl/cslbase/cmfont-widths.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/cmfont-widths.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/cmfont-widths.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
// // cmfont-widths.cpp // Widths for characters in Computer Modern Fonts // // extracted from wxfonts/tfm // // // $Id: cmfont-widths.cpp 5331 2020-04-25 13:47:28Z arthurcnorman $ #include <stdint.h> typedef struct font_width { const char *name; int32_t checksum; int32_t designsize; int32_t charwidt...
67.169271
76
0.577626
arthurcnorman
cf29e2709db8fc6534b8a061cdd3efeb43d6beff
1,214
cpp
C++
examples/zoo/main.cpp
sinkarl/asp_db
8dc5b40257b438872a689f5894416ae80db7d7ca
[ "MIT" ]
null
null
null
examples/zoo/main.cpp
sinkarl/asp_db
8dc5b40257b438872a689f5894416ae80db7d7ca
[ "MIT" ]
null
null
null
examples/zoo/main.cpp
sinkarl/asp_db
8dc5b40257b438872a689f5894416ae80db7d7ca
[ "MIT" ]
null
null
null
/** * asp_db - db api of the project 'asp_therm' * =================================================================== * * zoo_example main * * =================================================================== * * Copyright (c) 2020 Mishutinski Yurii * * This library is distributed under the MIT License. * S...
23.803922
70
0.602142
sinkarl
cf2a9d7eea9ebb6abe5e6acffcfa85a09a4458f3
115
cpp
C++
tests/main.cpp
maksym-lepekh/cpp-primitivo
a39a3ccbf6a13427406a56ab9a1a3938555c61ee
[ "MIT" ]
null
null
null
tests/main.cpp
maksym-lepekh/cpp-primitivo
a39a3ccbf6a13427406a56ab9a1a3938555c61ee
[ "MIT" ]
null
null
null
tests/main.cpp
maksym-lepekh/cpp-primitivo
a39a3ccbf6a13427406a56ab9a1a3938555c61ee
[ "MIT" ]
null
null
null
#include <primitivo/p.hpp> #include <iostream> int main() { std::cout << p::text << std::endl; return 0; }
14.375
38
0.591304
maksym-lepekh
cf2dce3a11a3bc2cafa1bdffaf40e28ea4e62b8d
2,780
hpp
C++
sdk/include/xcLayerSheet.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xcLayerSheet.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xcLayerSheet.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#pragma once #include "commctrl.h" #include "xframe.h" #include "vector" namespace Hxsoft{ namespace XFrame { #define XTabStyle int; #define XTabState int; #define LYSN_PRESELECTSHEET 0x0001; #define LYSN_SELECTEDSHEET 0x0002; #define LYSN_CLOSESHEET 0x0003; struct LYSNMHDR : public NMHDR { int nSheet; }...
26.226415
93
0.743525
qianxj
cf353a2fc4d340a971f6871327531bd2b31b89bf
19,271
hpp
C++
include/samurai/subset/node_op.hpp
tbellotti/samurai
b10fa2115d69eb184609103579ba433ff09891df
[ "BSD-3-Clause" ]
13
2021-01-07T19:23:42.000Z
2022-01-26T13:07:41.000Z
include/samurai/subset/node_op.hpp
gouarin/samurai
7ae877997e8b9bdb85b84acaabb3c0483ff78689
[ "BSD-3-Clause" ]
1
2021-07-04T17:30:47.000Z
2021-07-04T17:30:47.000Z
include/samurai/subset/node_op.hpp
gouarin/samurai
7ae877997e8b9bdb85b84acaabb3c0483ff78689
[ "BSD-3-Clause" ]
2
2021-01-07T15:54:49.000Z
2021-02-24T13:11:42.000Z
// Copyright 2021 SAMURAI TEAM. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #pragma once #include <memory> #include <type_traits> #include <xtensor/xexpression.hpp> #include <xtensor/xfixed.hpp> #include <xtl/xtype_traits.hpp> #include...
29.287234
107
0.587463
tbellotti
cf3d247eb6cfe75159784950a2513b695abd87d5
2,635
cpp
C++
KNN.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
4
2016-12-16T16:42:41.000Z
2017-01-27T23:49:33.000Z
KNN.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
null
null
null
KNN.cpp
Quanhaoli2641/MachineLearningVoter
244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string> #include <random> #include <math.h> #include "KNN.h" #include "Data.h" #include <iostream> using namespace std; using namespace DataEntries; // Calculates the Euclidean distance between two data entries namespace KNN { float getDistance (Data& trainingOne, Data& trainingTwo...
29.277778
92
0.566983
Quanhaoli2641
cf3fd2ea2950e0728189fa09032dae6ede750ff7
479
cpp
C++
1022-Circle in Square.cpp
BRAINIAC2677/Lightoj-Solutions
e75f56b2cb4ef8f7e00de39fed447b1b37922427
[ "MIT" ]
null
null
null
1022-Circle in Square.cpp
BRAINIAC2677/Lightoj-Solutions
e75f56b2cb4ef8f7e00de39fed447b1b37922427
[ "MIT" ]
null
null
null
1022-Circle in Square.cpp
BRAINIAC2677/Lightoj-Solutions
e75f56b2cb4ef8f7e00de39fed447b1b37922427
[ "MIT" ]
null
null
null
/*BISMILLAH THE WHITE WOLF NO DREAM IS TOO BIG AND NO DREAMER IS TOO SMALL*/ #include <stdio.h> #include <math.h> using namespace std; int main() { double r; double sarea; double carea; double area; int t; scanf("%d", &t); for (int i = 1; i <= t; i++) { scanf("%lf", &r); ...
15.451613
49
0.48643
BRAINIAC2677
cf44917ab7d700a5e022b4a34a32bd1055dbf27d
2,224
cpp
C++
OrbitCore/src/Game/CompositeTree/Node.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
null
null
null
OrbitCore/src/Game/CompositeTree/Node.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
8
2017-09-05T04:12:03.000Z
2017-10-26T03:17:07.000Z
OrbitCore/src/Game/CompositeTree/Node.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
null
null
null
/*! @file Game/CompositeTree/Node.cpp */ #include "Game/CompositeTree/Node.h" #include "Game/CompositeTree/Visitor.h" #include "Render/Model.h" #include <glm/gtc/matrix_transform.hpp> using namespace Orbit; Node::Node(const std::string& name, const std::shared_ptr<Model>& model) : _name(name), _model(model) { } ...
16.597015
95
0.696942
JusticesHand
cf4aea52b0be67acd6a760cb474aaf2d2361ef85
3,251
cpp
C++
src/CoreGuid.cpp
heikopanjas/ultraschall-core-model
6f3449adb7725c1e5273157e7d0ad6d92a89eaf6
[ "MIT" ]
null
null
null
src/CoreGuid.cpp
heikopanjas/ultraschall-core-model
6f3449adb7725c1e5273157e7d0ad6d92a89eaf6
[ "MIT" ]
null
null
null
src/CoreGuid.cpp
heikopanjas/ultraschall-core-model
6f3449adb7725c1e5273157e7d0ad6d92a89eaf6
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // Copyright (c) The Ultraschall Project (http://ultraschall.fm) // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the ...
23.729927
80
0.64411
heikopanjas
cf5d9093d1d04eda1c43bfd468533d60a2073b10
5,051
cpp
C++
src/tools/SimpleTraversabilityRadialLUT.cpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
15
2016-05-20T05:21:45.000Z
2021-07-21T02:34:18.000Z
src/tools/SimpleTraversabilityRadialLUT.cpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
19
2016-06-22T18:43:36.000Z
2021-09-28T15:20:31.000Z
src/tools/SimpleTraversabilityRadialLUT.cpp
skasperski/slam-maps
916c2ab77573162a17df2567cf6df16c300538bc
[ "BSD-2-Clause" ]
12
2017-03-10T10:19:46.000Z
2021-06-04T05:50:10.000Z
// // Copyright (c) 2015-2017, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // Copyright (c) 2015-2017, University of Bremen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
38.853846
190
0.639477
skasperski
cf66f8acd01b4d0d3d2558c3a53e79b28b442f18
1,295
cpp
C++
plugins/opengl/src/vertex/unset_buffer.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/src/vertex/unset_buffer.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/src/vertex/unset_buffer.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/opengl/context/object_fwd.hpp> #include <sge/opengl/context/use.hpp> #include <sge/op...
41.774194
93
0.744402
cpreh
cf67e9394991fb4ab11bd4270c3818fa07864387
4,326
cpp
C++
smolengine/src/Core/Engine.cpp
YellowDummy/SmolEngine
a5638f7592cc5f5f036c44bab33c51841969e9b1
[ "Apache-2.0" ]
16
2020-06-30T16:27:12.000Z
2021-09-09T15:38:03.000Z
smolengine/src/Core/Engine.cpp
YellowDummy/SmolEngine
a5638f7592cc5f5f036c44bab33c51841969e9b1
[ "Apache-2.0" ]
null
null
null
smolengine/src/Core/Engine.cpp
YellowDummy/SmolEngine
a5638f7592cc5f5f036c44bab33c51841969e9b1
[ "Apache-2.0" ]
2
2021-05-18T05:44:19.000Z
2021-08-24T09:37:11.000Z
#include "stdafx.h" #include "Core/Engine.h" #include "ECS/Systems/ScriptingSystem.h" #include "ECS/Components/Singletons/GraphicsEngineSComponent.h" #include "ECS/Components/Singletons/JobsSystemStateSComponent.h" #include <frostium/Common/DebugLog.h> #include <frostium/GraphicsContext.h> #include <frostium/Multithr...
22.768421
114
0.700416
YellowDummy
cf6c136ae76b45885c6329f4b9529c85f0a846ea
7,019
hpp
C++
src/map/three-stage-image-managers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/map/three-stage-image-managers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/map/three-stage-image-managers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can bu...
37.137566
101
0.66035
tilnewman
cf6f03e439e0c5ed3a9a87663cb2daab90528044
14,680
cpp
C++
Povox/src/Povox/Renderer/VoxelRenderer.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
Povox/src/Povox/Renderer/VoxelRenderer.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
Povox/src/Povox/Renderer/VoxelRenderer.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
#include "pxpch.h" #include "Povox/Renderer/VoxelRenderer.h" #include "Povox/Renderer/VertexArray.h" #include "Povox/Renderer/Shader.h" #include "Povox/Renderer/Texture.h" #include "Povox/Renderer/RenderCommand.h" #include "Povox/Renderer/Renderer2D.h" #include "Povox/Utility/Misc.h" #include <glm/gtc/matrix_transf...
34.060325
162
0.722207
PowerOfNames
cf728ead837fd4e28ad83d375637b3f3b05ceab8
3,108
cpp
C++
libjobject/ClassRegistryWindows.cpp
klemenm81/reflection
4b15a5d33c376414cb6a2ff0f57175d515b47c70
[ "Apache-2.0" ]
null
null
null
libjobject/ClassRegistryWindows.cpp
klemenm81/reflection
4b15a5d33c376414cb6a2ff0f57175d515b47c70
[ "Apache-2.0" ]
null
null
null
libjobject/ClassRegistryWindows.cpp
klemenm81/reflection
4b15a5d33c376414cb6a2ff0f57175d515b47c70
[ "Apache-2.0" ]
null
null
null
#include "ClassRegistry.h" #include "exceptions/InternalErrorException.h" #include <windows.h> #include <tchar.h> #include <dbghelp.h> #include <stdio.h> BOOL CALLBACK MyEnumSymbolsCallback(SYMBOL_INFO* pSymInfo, ULONG SymbolSize, PVOID UserContext) { std::vector<std::string>& classFactoryNames = *(reinterpret_ca...
26.793103
111
0.692728
klemenm81
cf7815a2382d77de44a665c50ad6af7c14edfd86
2,032
cpp
C++
Netcode/Graphics/DX12/DX12ShaderCompiler.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
Netcode/Graphics/DX12/DX12ShaderCompiler.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
Netcode/Graphics/DX12/DX12ShaderCompiler.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
#include "DX12ShaderCompiler.h" #include <memory> #include <Netcode/HandleTypes.h> #include <Netcode/Utility.h> #include "DX12Common.h" #include "DX12Includes.h" #include <d3dcompiler.h> namespace Netcode::Graphics::DX12 { static const char * GetShaderVersion(ShaderType type) { switch(type) { case ShaderType::V...
33.866667
203
0.724902
tyekx
cf78fbf3a30403757cf3a6f8e904e29af49c05c4
13,207
cc
C++
test/extensions/transport_sockets/tls/test_private_key_method_provider.cc
dong-qiu/envoy
e550d8fe66666ac9cf7e15dc28985565f2255a61
[ "Apache-2.0" ]
null
null
null
test/extensions/transport_sockets/tls/test_private_key_method_provider.cc
dong-qiu/envoy
e550d8fe66666ac9cf7e15dc28985565f2255a61
[ "Apache-2.0" ]
null
null
null
test/extensions/transport_sockets/tls/test_private_key_method_provider.cc
dong-qiu/envoy
e550d8fe66666ac9cf7e15dc28985565f2255a61
[ "Apache-2.0" ]
null
null
null
#include "test/extensions/transport_sockets/tls/test_private_key_method_provider.h" #include <memory> #include "envoy/api/api.h" #include "openssl/ssl.h" namespace Envoy { namespace Extensions { namespace PrivateKeyMethodProvider { void TestPrivateKeyConnection::delayed_op() { const std::chrono::milliseconds tim...
34.939153
100
0.682668
dong-qiu
cf7a51eb39090efc37a8cbc218f8674b95708b5c
2,966
cpp
C++
Source.cpp
kenjinote/INIFile
7c4006bc1054b7815cf87fd2a8b678c52234ddca
[ "MIT" ]
2
2017-10-29T15:00:06.000Z
2018-07-07T01:36:29.000Z
Source.cpp
kenjinote/INIFile
7c4006bc1054b7815cf87fd2a8b678c52234ddca
[ "MIT" ]
null
null
null
Source.cpp
kenjinote/INIFile
7c4006bc1054b7815cf87fd2a8b678c52234ddca
[ "MIT" ]
null
null
null
#pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #pragma comment(lib, "shlwapi") #include <windows.h> #include <shlwapi.h> TCHAR szClassName[] = TEXT("Window"); LRESULT...
27.211009
196
0.694538
kenjinote
cf80f50fc4932297b7eb2904d08061c20a6fb2aa
2,954
cpp
C++
src/http/http_connection.cpp
hsbyhub/libxco
e71f995839886c69e710ca5811403f025b8d0c4f
[ "MulanPSL-1.0" ]
3
2022-03-12T03:01:24.000Z
2022-03-23T11:02:48.000Z
src/http/http_connection.cpp
hsbyhub/libxco
e71f995839886c69e710ca5811403f025b8d0c4f
[ "MulanPSL-1.0" ]
null
null
null
src/http/http_connection.cpp
hsbyhub/libxco
e71f995839886c69e710ca5811403f025b8d0c4f
[ "MulanPSL-1.0" ]
1
2022-03-21T05:36:03.000Z
2022-03-21T05:36:03.000Z
/*================================================================* Copyright (C) 2021 All rights reserved, www.hsby.link. 文件名称:http_session.cc 创 建 者:汉森伯逸 创建日期:2021/12/30 *================================================================*/ #include "http/http_connection.h" #include "http/h...
29.247525
105
0.545701
hsbyhub
cf81b19407d8f9067110ded9557085cdfad08621
709
cpp
C++
acmicpcnet/2104.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/2104.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
acmicpcnet/2104.cpp
irresi/algostudy
489739d641d6e36bbedf86be6391d1db27456585
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using pll = pair<ll,ll>; const int inf=1e9+3; #define all(x) (x).begin(),(x).end() #define sync() {ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0); //do not use ; ll sum[100003],arr[100003],ans,n; vector<pll> v; set<ll> lib; int main() { int i,j;...
21.484848
84
0.551481
irresi
cf81eb237624ea699f3ce181c30652a5980a9323
17,994
cpp
C++
simulation/simulation_interface/test/test_conversions.cpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
simulation/simulation_interface/test/test_conversions.cpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
simulation/simulation_interface/test/test_conversions.cpp
autocore-ai/scenario_simulator_v2
bb9569043e20649f0e4390e9225b6bb7b4de10b6
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2020 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 app...
38.366738
100
0.73619
autocore-ai
cf8b7d4183916362f6840e937f3e33a8c970ead9
965
hh
C++
Buggy/EncoderTest/Encoder.hh
FJFranklin/cariot
9e4e93a7f4438c59fa6376dd792ddba44bd1fa6a
[ "MIT" ]
null
null
null
Buggy/EncoderTest/Encoder.hh
FJFranklin/cariot
9e4e93a7f4438c59fa6376dd792ddba44bd1fa6a
[ "MIT" ]
null
null
null
Buggy/EncoderTest/Encoder.hh
FJFranklin/cariot
9e4e93a7f4438c59fa6376dd792ddba44bd1fa6a
[ "MIT" ]
null
null
null
#include <Arduino.h> class Encoder { private: void (*ch_A_interrupt)(); void (*ch_B_interrupt)(); float (*synchronise)(unsigned long & last_elapsed, unsigned long & last_count); // returns latest elapsed time and pulse count float cpr; // counts per revolution = 4 * ppr float sense; // 1 for clockwise-is...
23.536585
128
0.676684
FJFranklin
cf8c59a6caec7321b2149329a82507a33d36ec8c
3,146
cpp
C++
source/data_model/cxx/src/core/array.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/data_model/cxx/src/core/array.cpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/data_model/cxx/src/core/array.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#include "lue/core/array.hpp" #include <cassert> namespace lue { namespace data_model { Array::Array( hdf5::Group const& parent, std::string const& name): hdf5::Dataset{parent, name}, _memory_datatype{hdf5::memory_datatype(datatype())} { assert(id().is_valid()); } Array::Array( hdf5::Grou...
19.300613
104
0.698029
computationalgeography
cf949649599b786fcb2d1a94246b0f9bc3ef9250
19,909
cpp
C++
artifact/storm/src/storm-gspn/builder/JaniGSPNBuilder.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm-gspn/builder/JaniGSPNBuilder.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm-gspn/builder/JaniGSPNBuilder.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "JaniGSPNBuilder.h" #include <memory> #include "storm/logic/Formulas.h" #include "storm/exceptions/InvalidModelException.h" namespace storm { namespace builder { storm::jani::Model* JaniGSPNBuilder::build(std::string const& automatonName) { storm::jani::ModelType modelType = storm::...
62.021807
278
0.595761
glatteis
cfa3dfd0af0e35abcda596de535bc522ae1fb42c
1,108
cpp
C++
PAT_B/B1011|A+B 和 C|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
PAT_B/B1011|A+B 和 C|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
PAT_B/B1011|A+B 和 C|.cpp
FunamiYui/PAT_Code_Akari
52e06689b6bf8177c43ab9256719258c47e80b25
[ "MIT" ]
null
null
null
#include <cstdio> #define ll long long int main() { int T; ll a, b, c; scanf("%d", &T); for (int i = 1; i <= T; i++) { scanf("%lld%lld%lld", &a, &b, &c); if (a + b > c) { printf("Case #%d: true\n", i); } else { printf("Case #%d: false\n", i); } ...
17.587302
81
0.411552
FunamiYui
cfa44f97261a3fc483d73ffec32cb241094440cd
23,301
hpp
C++
project/include/Alter/InstanceLevel.hpp
helixd2s/ZEON
b4b6394fa15e7a8ebeaa336d8bf6f45e2d096d46
[ "MIT" ]
null
null
null
project/include/Alter/InstanceLevel.hpp
helixd2s/ZEON
b4b6394fa15e7a8ebeaa336d8bf6f45e2d096d46
[ "MIT" ]
null
null
null
project/include/Alter/InstanceLevel.hpp
helixd2s/ZEON
b4b6394fa15e7a8ebeaa336d8bf6f45e2d096d46
[ "MIT" ]
null
null
null
#pragma once // #ifdef __cplusplus #include "./Core.hpp" #include "./Instance.hpp" #include "./Device.hpp" #include "./Resource.hpp" #include "./GeometryLevel.hpp" // #ifdef ALT_ENABLE_VMA #include "./MemoryAllocatorVma.hpp" #endif // namespace ANAMED { // class InstanceLevelObj : public BaseObj { public: ...
47.845996
314
0.696622
helixd2s
cfa48ad6c7b190e56690d7eee32d88aa91d4bb44
1,555
cpp
C++
sources/daemon/Point.cpp
InfiernoGamesStudio/KnightScript
bb88f570b25850e6efbbde19d90d86a5e5d1e040
[ "MIT" ]
null
null
null
sources/daemon/Point.cpp
InfiernoGamesStudio/KnightScript
bb88f570b25850e6efbbde19d90d86a5e5d1e040
[ "MIT" ]
null
null
null
sources/daemon/Point.cpp
InfiernoGamesStudio/KnightScript
bb88f570b25850e6efbbde19d90d86a5e5d1e040
[ "MIT" ]
null
null
null
#include <math.h> #include "../../headers/Maths/Point.hpp" void Points::Add( Point target, Point source, float scalar ) { target[ 0 ] = source[ 0 ] + scalar; target[ 1 ] = source[ 1 ] + scalar; } void Points::Add( Point target, Point one, Point two ) { target[ 0 ] = one[ 0 ] + two[ 0 ]; target[ 1 ] = one[ 1 ]...
25.080645
70
0.568489
InfiernoGamesStudio
bbbb41e2aac11a6f8ec31e605efe85c826259bde
596
hpp
C++
falcon/mpl/min_element.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/mpl/min_element.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/mpl/min_element.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_MPL_MIN_ELEMENT_HPP #define FALCON_MPL_MIN_ELEMENT_HPP #include <falcon/mpl/arg.hpp> #include <falcon/mpl/less.hpp> #include <falcon/mpl/begin_end.hpp> #include <falcon/mpl/aux_/min_element_impl.hpp> namespace falcon { namespace mpl { template<typename Sequence, typename Pred = less<arg<1>,arg<2>>> st...
20.551724
65
0.748322
jonathanpoelen
bbbf57f38682ed601e14d95f6124d0fb85d0306c
124
cc
C++
besch/reader/root_reader.cc
4ssfscker/node-sim
2bd3422fd645f415024907c9cf92697057cbc222
[ "Artistic-1.0", "MIT" ]
null
null
null
besch/reader/root_reader.cc
4ssfscker/node-sim
2bd3422fd645f415024907c9cf92697057cbc222
[ "Artistic-1.0", "MIT" ]
null
null
null
besch/reader/root_reader.cc
4ssfscker/node-sim
2bd3422fd645f415024907c9cf92697057cbc222
[ "Artistic-1.0", "MIT" ]
null
null
null
#include "root_reader.h" void root_reader_t::register_obj(obj_besch_t *&data) { delete_node(data); data = NULL; }
13.777778
52
0.693548
4ssfscker
bbc52a59f4c8f617921babcc29a38c9cc782b673
1,541
cpp
C++
SematEngine/SourceCode/RMaterial.cpp
paupedra/SematEngine
bcc264bb996436645f0c84e2c81da8949e5745be
[ "MIT" ]
2
2020-11-12T12:43:43.000Z
2020-12-05T17:57:12.000Z
SematEngine/SourceCode/RMaterial.cpp
paupedra/SematEngine
bcc264bb996436645f0c84e2c81da8949e5745be
[ "MIT" ]
null
null
null
SematEngine/SourceCode/RMaterial.cpp
paupedra/SematEngine
bcc264bb996436645f0c84e2c81da8949e5745be
[ "MIT" ]
null
null
null
//#include "Resource.h" #include "Application.h" #include "Random.h" #include "Config.h" #include "MFileSystem.h" #include "MResourceManager.h" #include "RMaterial.h" #include "RTexture.h" //#include "Dependecies/mmgr/mmgr.h" RMaterial::RMaterial() { resourceData.type = ResourceType::material; color = Color(1,1,1...
18.129412
63
0.716418
paupedra
bbd4e132e184875840ec5497deb4155bcbaca885
441
cpp
C++
src/Externals/spire/es-render/util/Shader.cpp
Nahusa/SCIRun
c54e714d4c7e956d053597cf194e07616e28a498
[ "MIT" ]
1
2019-05-30T06:00:15.000Z
2019-05-30T06:00:15.000Z
src/Externals/spire/es-render/util/Shader.cpp
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
src/Externals/spire/es-render/util/Shader.cpp
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
#include "Shader.hpp" #include "es-render/comp/StaticShaderMan.hpp" namespace ren { void addShaderVSFS(spire::CerealCore& core, uint64_t entityID, const std::string& shader) { std::weak_ptr<ren::ShaderMan> sm = core.getStaticComponent<ren::StaticShaderMan>()->instance_; if (std::shared_ptr<Shad...
27.5625
96
0.716553
Nahusa
bbda2eb4c3bc394d9b6441796529069304623d47
434
cpp
C++
src/reverse/WeakReference.cpp
rednek46/CyberEngineTweaks
961b1a573064770658d36831bc7534bd03ffeb44
[ "MIT" ]
null
null
null
src/reverse/WeakReference.cpp
rednek46/CyberEngineTweaks
961b1a573064770658d36831bc7534bd03ffeb44
[ "MIT" ]
null
null
null
src/reverse/WeakReference.cpp
rednek46/CyberEngineTweaks
961b1a573064770658d36831bc7534bd03ffeb44
[ "MIT" ]
null
null
null
#include "WeakReference.h" #include <RED4ext/REDreverse/Scripting/IScriptable.hpp> WeakReference::WeakReference(sol::state_view aView, WeakHandle aWeakHandle) : Type(aView, aWeakHandle.handle->GetClass()) , m_weakHandle(aWeakHandle) { } WeakReference::~WeakReference() { // Someday maybe actually free memo...
22.842105
75
0.758065
rednek46
bbdcf2bd2e42ad798009a270b09dfcfcf0c203c2
774
cpp
C++
Lab-6/Coin_Change_Greedy.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
1
2022-03-15T07:09:37.000Z
2022-03-15T07:09:37.000Z
Lab-6/Coin_Change_Greedy.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
null
null
null
Lab-6/Coin_Change_Greedy.cpp
Hitesh1309/DAA-Lab-Submissions
acaa495628ea3755a7602cf9d8ee35874bddbe88
[ "MIT" ]
1
2022-03-15T07:09:58.000Z
2022-03-15T07:09:58.000Z
#include<bits/stdc++.h> using namespace std; int main() { int n,t; cout<<"\nEnter the number of denominations: "; cin>>n; vector<int> change; map<int,int> result; change.push_back(1); // default denominations cout<<"\nEnter "<<n<<" denominations:\n"; for(int i=0;i<n;i++) { ...
16.125
54
0.494832
Hitesh1309
bbe0aa9f6b22b951f63e21ce47715d608e8f84e9
684
cpp
C++
Sources/AGEngine/Render/Buffer/UniformBuffer.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Buffer/UniformBuffer.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Buffer/UniformBuffer.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include <Render/Buffer/UniformBuffer.hh> namespace AGE { IBuffer const & UniformBuffer::bind() const { glBindBuffer(GL_UNIFORM_BUFFER, _id); return (*this); } IBuffer const & UniformBuffer::unbind() const { glBindBuffer(GL_UNIFORM_BUFFER, 0); return (*this); } GLenum UniformBuffer::mode() const { ...
19
89
0.711988
Another-Game-Engine
bbe803dc4aebedb33cd48815632f2b5df5c208e7
4,670
cc
C++
docxbox/docx/docx_batch.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
5
2020-04-07T08:32:17.000Z
2020-07-01T18:24:59.000Z
docxbox/docx/docx_batch.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
56
2020-04-07T20:27:39.000Z
2020-07-09T15:38:30.000Z
docxbox/docx/docx_batch.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
2
2020-04-08T11:17:18.000Z
2020-07-01T18:25:04.000Z
// Copyright (c) 2020 gyselroth GmbH // Licensed under the MIT License - https://opensource.org/licenses/MIT #include <docxbox/app/app.h> // forward-declaration #include <docxbox/docx/docx_batch.h> class docx_archive_replace; docx_batch::docx_batch(class docx_archive *archive, std::string json) { archive_ = arch...
29.1875
80
0.655032
gyselroth
bbe808e0cd948e130d157b1da1fbf4e9093b652a
789
cpp
C++
thirdparty/allocator/allocator.cpp
m110h/protopuddlepp
1aeae3ca6188e0e6e934f4275f77304b062dd78a
[ "MIT" ]
4
2020-05-27T01:46:39.000Z
2020-07-21T18:43:18.000Z
thirdparty/allocator/allocator.cpp
m110h/protopuddlepp
1aeae3ca6188e0e6e934f4275f77304b062dd78a
[ "MIT" ]
7
2020-05-10T09:01:48.000Z
2020-07-23T00:17:09.000Z
thirdparty/allocator/allocator.cpp
m110h/protopuddlepp
1aeae3ca6188e0e6e934f4275f77304b062dd78a
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: Allocator.cpp // Description: ... // Author: Mariano Trebino (https://github.com/mtrebi) // Modified by: Alexey Orlov (https://github.com/m110h) // Modified: 08/08/2020 // Licence: MIT licence ////////...
22.542857
99
0.499366
m110h
bbecdcfe91eff3c6738539ebaea673a0934a79f2
1,037
cpp
C++
examples/xtd.core.examples/io/directory_info/src/directory_info.cpp
BaderEddineOuaich/xtd
6f28634c7949a541d183879d2de18d824ec3c8b1
[ "MIT" ]
1
2022-02-25T16:53:06.000Z
2022-02-25T16:53:06.000Z
examples/xtd.core.examples/io/directory_info/src/directory_info.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
examples/xtd.core.examples/io/directory_info/src/directory_info.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
#include <xtd/xtd> using namespace xtd; using namespace xtd::io; int main() { directory_info di("."); console::write_line("full_name = {}", di.full_name()); console::write_line(" attributes = {}", di.attributes()); console::write_line(" creation_time = {}", di.creation_time()); console::write_line(" exis...
34.566667
86
0.65188
BaderEddineOuaich
bbeff9b632796c1faed268a785eb5be8d9e65fb6
2,598
cpp
C++
Project Mania/Source/World/Projectile.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/World/Projectile.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/World/Projectile.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
#include "Pch.h" #include "Collision/DynamicCollision.h" #include "Collision/LinearCollision.h" #include "World/Projectile.h" #include "Game/Game.h" #include <PargonAnimation.h> void Projectile::Initialize(Point2 position, Angle rotation) { ProjectedPosition = position; Position = Game()->World.GetRealPosition(posi...
28.866667
167
0.753657
larsolm
bbf97c861e57bd138250dc38b646985b187887f0
1,796
hpp
C++
test/myarray.hpp
ShadowTeolog/StaticJSON
a3da99eae7fe48212cf193632724705c148e952b
[ "MIT" ]
158
2016-07-11T15:26:40.000Z
2022-01-01T14:12:32.000Z
test/myarray.hpp
ShadowTeolog/StaticJSON
a3da99eae7fe48212cf193632724705c148e952b
[ "MIT" ]
32
2016-07-12T09:28:40.000Z
2021-06-03T12:12:15.000Z
test/myarray.hpp
ShadowTeolog/StaticJSON
a3da99eae7fe48212cf193632724705c148e952b
[ "MIT" ]
31
2016-07-12T01:58:29.000Z
2021-12-08T10:12:02.000Z
#include <deque> #include <staticjson/staticjson.hpp> // This class is used to test custom conversion functions in StaticJSON. template <class T> class Array { private: T* m_data; size_t m_size; public: explicit Array() : m_data(nullptr), m_size(0) {} explicit Array(size_t size) : m_size(size) { m_da...
24.60274
93
0.565145
ShadowTeolog
bbfd2865dd2e103ed56881bd0b0541dcdb354ba6
2,921
cpp
C++
tests/src/NanoWinPrivateProfileTestTools.cpp
openlab-vn-ua/NanoWin32
5d9d2349ca551766213f5e2dcdbed4cc43c91052
[ "MIT" ]
9
2017-09-28T11:37:36.000Z
2021-03-30T14:30:23.000Z
tests/src/NanoWinPrivateProfileTestTools.cpp
openlab-vn-ua/NanoWin32
5d9d2349ca551766213f5e2dcdbed4cc43c91052
[ "MIT" ]
3
2019-11-22T12:09:40.000Z
2020-06-19T16:11:26.000Z
tests/src/NanoWinPrivateProfileTestTools.cpp
openlab-vn-ua/NanoWin32
5d9d2349ca551766213f5e2dcdbed4cc43c91052
[ "MIT" ]
1
2020-04-25T10:13:01.000Z
2020-04-25T10:13:01.000Z
#include <stdio.h> #ifdef __linux #include <unistd.h> #endif #include "NanoWinPrivateProfileTestTools.h" #include "NanoWinStrConvert.h" #ifdef __linux char TestINIFileName[] = "test.ini"; // foreward slash replace test as well wchar_t TestINIFileNameW[] = L"тест.ini"; // foreward slash replace test as well #else...
18.142857
84
0.588497
openlab-vn-ua
0101418ff9a619efb58190d40c9b3056354de9e6
2,120
hpp
C++
experimental/Pomdog.Experimental/UI/UIEventDispatcher.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/UI/UIEventDispatcher.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/UI/UIEventDispatcher.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_UIEVENTDISPATCHER_83873A91_HPP #define POMDOG_UIEVENTDISPATCHER_83873A91_HPP #include "UIView.hpp" #include "PointerPoint.hpp" #include "PointerEventType.hpp" #include "detail/SubscribeRequestDis...
28.266667
116
0.768396
bis83
01016d5372d5d6d26844a7c44e1e187ea8c9fec3
7,298
cpp
C++
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
8
2016-04-26T17:16:24.000Z
2020-01-20T15:45:54.000Z
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
2
2017-08-07T03:39:25.000Z
2017-11-07T18:37:49.000Z
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
1
2019-11-01T18:52:10.000Z
2019-11-01T18:52:10.000Z
// File: EConnection.cpp // // node-odbc (odbc interface for NodeJS) // // Copyright 2017 Clemens Susenbeth // // 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...
27.231343
130
0.680323
ItsClemi
0108b97286aaa56cfa92540d3f03cfc6acb5024a
72,720
cpp
C++
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
24
2019-04-19T02:43:10.000Z
2022-03-21T11:58:37.000Z
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
1
2019-04-23T03:01:16.000Z
2019-04-23T03:01:16.000Z
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
8
2019-03-05T03:42:57.000Z
2021-11-20T01:52:51.000Z
/****************************************************************************** * Copyright 2017-2018 Baidu Robotic Vision Authors. 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 ...
35.490483
104
0.566928
StevenCui
01092b68de09ab803cd9dfbf671e508042cf1231
2,292
cpp
C++
src/config.cpp
ivan-volnov/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
14
2020-04-06T17:02:35.000Z
2022-01-30T14:30:43.000Z
src/config.cpp
Involkers/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
1
2021-07-19T01:05:54.000Z
2021-07-23T08:47:27.000Z
src/config.cpp
Involkers/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
4
2021-03-12T05:40:57.000Z
2022-01-19T11:06:31.000Z
#include "config.h" #include <unistd.h> #include <pwd.h> #include <ctime> #include <fstream> #include <iostream> #include "utility/tools.h" Config::Config() : json({}) { const char *homedir = getenv("HOME"); if (homedir == nullptr) { homedir = getpwuid(getuid())->pw_dir; } app_path.assign(...
24.382979
91
0.637871
ivan-volnov
010dcb62912e2d87aed24182eccd818691a739b2
1,989
cpp
C++
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
91
2018-11-24T05:33:58.000Z
2022-03-16T05:58:05.000Z
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
11
2019-06-02T23:50:17.000Z
2022-02-04T23:58:56.000Z
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
18
2018-11-24T10:35:29.000Z
2021-04-22T07:22:10.000Z
#include "in_memory_async_transporter.h" namespace lightstep { //------------------------------------------------------------------------------ // Send //------------------------------------------------------------------------------ void InMemoryAsyncTransporter::Send(const google::protobuf::Message& request, ...
35.517857
80
0.514832
sergiorr
010e765543cdfbb0e7fc14b5f748cb9308f07665
1,256
cpp
C++
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
330
2016-10-25T14:04:02.000Z
2022-03-30T12:31:41.000Z
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
47
2016-08-25T14:10:23.000Z
2020-09-21T17:25:05.000Z
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
122
2016-10-25T14:04:16.000Z
2022-03-26T21:32:51.000Z
/* * CustomCommand.cpp * * Created on: Feb 15, 2017 * Author: Péter Fankhauser * Institute: ETH Zurich, Robotic Systems Lab */ #include "free_gait_core/step/CustomCommand.hpp" // STD #include <iostream> namespace free_gait { CustomCommand::CustomCommand() : duration_(0.0) { } CustomCommand::~Cust...
17.942857
79
0.697452
HeroWithL
010f9318031968f7d41a3755185a2eda99baf92c
479
cpp
C++
tools/packchk/src/PackChkMain.cpp
tarek-bochkati/devtools
88b60b70d494e00577f432a01076380689cd3efb
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
17
2021-09-01T16:30:45.000Z
2022-03-23T12:33:54.000Z
tools/packchk/src/PackChkMain.cpp
tarek-bochkati/devtools
88b60b70d494e00577f432a01076380689cd3efb
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
158
2021-09-14T09:13:11.000Z
2022-03-31T10:45:46.000Z
tools/packchk/src/PackChkMain.cpp
spcaipers-arm/devtools
973cba2110e373a584ef6faf14ba3cd38f927696
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
32
2021-09-03T08:50:30.000Z
2022-03-14T13:14:39.000Z
/* * Copyright (c) 2020-2021 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include "PackChk.h" #include "CrossPlatform.h" /** * @brief PackChk main entry point * @param argc command line argument * @param argv command line argument * @param envp command line argument (not used...
19.958333
60
0.680585
tarek-bochkati
01108146c191eeeee41ad9c471d1b55074e5cfb3
1,236
cpp
C++
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
1
2021-04-21T07:59:30.000Z
2021-04-21T07:59:30.000Z
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
/* * Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. Example 1: Input: nums = [100,4,200,1,3,2] Output: 4 Explanation: The longest consecutive elements sequence is [1, 2, 3, 4]. Therefore its length is 4. Example 2: Input: nums = [0,3,7,2,5,8,4,6,...
20.949153
110
0.541262
hariharanragothaman
01143c2a451db0b9d533573d60d3b9e50dce2ea2
2,162
cpp
C++
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 759 Employee Free Time // https://leetcode.com/problems/employee-free-time // version: 1; create time: 2020-01-04 18:33:46; /* // Definition for an Interval. class Interval { public: int start; int end; Interval() {} Interval(int _start, int _end) { start = _start; end = _end; ...
29.216216
83
0.474561
levendlee
0115b68cddb2a2bf16245d977fec16f5b6afcb4b
776
hpp
C++
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
1
2019-01-13T19:08:32.000Z
2019-01-13T19:08:32.000Z
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
null
null
null
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <fstream> #include <limits> #include <iomanip> /// /// Writes the contents of the vector 'data' to the textfile filename /// The output format should be load-able in MATLAB and Numpy using the /// load-command. /// template<typename T> void writeToFile(const st...
26.758621
78
0.653351
azurite
0119bf1a401aacbc00c9902f21ebec01e607970e
21
hpp
C++
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
null
null
null
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
7
2021-12-05T13:41:46.000Z
2021-12-13T10:36:43.000Z
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
null
null
null
void testMinimizer();
21
21
0.809524
madagiurgiu25
011efa67eaeed44d76e15eb00a357331ab77da86
155
cpp
C++
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
#include <iostream> void vectorSample(); void mapSample(); int main(int argc, char** argv) { vectorSample(); mapSample(); return 0; }
12.916667
31
0.606452
ponta027
012147dffc314dfe4683e13904661492fa563ee9
632
cpp
C++
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
/** * @file PostEffectFactory.cpp * * Copyright (c) 2015 by Gruzdev Alexey * * Code covered by the MIT License * The authors make no representations about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. */ #include "PostEffectFactory.h" namespace OgreEff...
24.307692
78
0.572785
agruzdev
01244adbd40aeeb930f191ec80214a36cd463207
1,569
cpp
C++
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
20
2016-09-07T10:32:05.000Z
2021-06-04T17:12:17.000Z
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
1
2020-01-16T02:51:21.000Z
2020-02-19T02:34:29.000Z
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
5
2019-04-03T14:27:55.000Z
2021-01-18T13:24:52.000Z
/* * Copyright(c) 2016 Chew Esmero * All rights reserved. */ #include "stdafx.h" #include "issyscam.h" #include <atlbase.h> #include "..\include\libcamera.h" #include "common.h" #include "appcontext.h" int IsSystemCamera(wchar_t *pszFname, BOOL *pIsSysCam) { CComPtr<ICameraMf> spCameraMf = nullptr; int ret...
24.904762
108
0.614404
idrilsilverfoot
0125796f3d116fc70bb74c4fa7c370dd168b3e7b
3,921
cpp
C++
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
miniLV/MNAlertView
262275f6ba6be2537ac362dab4e9f532044c160c
[ "Apache-2.0" ]
146
2019-01-20T15:42:47.000Z
2022-03-14T07:53:53.000Z
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
geniusZhangXu/Interview-series
3222a15a1710f5cd4fc9e6e04d30b337e8eebe46
[ "Apache-2.0" ]
3
2019-07-19T04:46:20.000Z
2022-03-24T01:53:07.000Z
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
geniusZhangXu/Interview-series
3222a15a1710f5cd4fc9e6e04d30b337e8eebe46
[ "Apache-2.0" ]
29
2019-06-23T06:14:00.000Z
2022-01-04T06:38:40.000Z
/* * Copyright (C) 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
26.493243
80
0.609793
miniLV
012a577a28a67e7814a1e4dfba848ef51d09f13a
3,170
hpp
C++
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
4
2021-12-27T17:56:21.000Z
2022-01-05T00:05:01.000Z
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Scott Brauer * * Licensed under the Apache License, Version 2.0 (the ); * 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 writ...
29.082569
147
0.718927
CodeRancher
012ccb8289bdc9798bd4483f925a951eb03bf742
1,166
cpp
C++
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright 2013-2014 EvriChart, Inc. All Rights Reserved. // See LICENSE.txt // // C++ #include <string> #include <mutex> #include <iostream> // Internal #include "ConsoleWriter.h" /////////////////////////////////////////////////////////////////////////////// // ConsoleWriter : Extension //////////////////////...
26.5
95
0.555746
nwehr
012d1231af47e0b07d3a5f2b318dec47eac0278a
733
cpp
C++
src/commands/sd_mount_status_command.cpp
JoeGilkey/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
148
2015-01-01T18:32:25.000Z
2022-03-05T12:02:24.000Z
src/commands/sd_mount_status_command.cpp
ankhntaijitu/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
109
2015-02-11T16:33:49.000Z
2021-01-04T16:14:00.000Z
src/commands/sd_mount_status_command.cpp
ankhntaijitu/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
89
2015-02-04T00:39:29.000Z
2021-10-03T00:01:17.000Z
#include "version_command.h" #include "config.h" #include "diagnostics.h" #include "interface/usb.h" #include "util/log.h" #include "config.h" #include "pb_decode.h" #include <payload/payload.h> #include "signals.h" #include <can/canutil.h> #include <bitfield/bitfield.h> #include <limits.h> #include "sd_mount_status_co...
22.212121
100
0.718963
JoeGilkey
012ee0669647e78ada910b8e5bf3aed68c3cceab
1,339
cpp
C++
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Popp Maksim #include <mpi.h> #include <random> #include "../../../modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.h" int searchMaxSequentially(int* arr, int k, int l) { int max = arr[0]; for (int i = 1; i < k * l; i++) if (max < arr[i]) { max = arr[i]; ...
24.796296
83
0.584018
Oskg
01345605bc1f3c62fa5724499e3b42363548a2e7
6,853
hpp
C++
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
/// Pimpact /// \author huppd /// \date 2018 #pragma once #ifndef PIMPACT_COARSENSTRATEGYGLOBAL_HPP #define PIMPACT_COARSENSTRATEGYGLOBAL_HPP #include "Teuchos_Array.hpp" #include "Teuchos_RCP.hpp" #include "Pimpact_Grid.hpp" namespace Pimpact { /// \brief first model implementation, where one coarsens unt...
32.173709
118
0.584707
huppd
013887115651ceb1f34d8832e853b25b0dbea7fe
7,272
cpp
C++
src/dlib/test/lspi.cpp
prathyusha12924/eye-gaze
a80ad54b46e9cef4e743b53aaff035de83f27154
[ "MIT" ]
11,719
2015-01-03T22:38:57.000Z
2022-03-30T21:45:04.000Z
dlib/test/lspi.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
2,518
2015-01-04T04:38:06.000Z
2022-03-31T11:55:43.000Z
dlib/test/lspi.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
3,308
2015-01-01T14:34:16.000Z
2022-03-31T07:20:07.000Z
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #include "tester.h" #include <dlib/control.h> #include <vector> #include <sstream> #include <ctime> namespace { using namespace test; using namespace dlib; using namespace std...
28.07722
91
0.528878
prathyusha12924
013913dbfd0f4bd1dda1186a04d272d5319904a4
1,438
cc
C++
src/q_351_400/q0387.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-09-28T18:41:03.000Z
2021-09-28T18:42:57.000Z
src/q_351_400/q0387.cc
vNaonLu/Daily_LeetCode
30024b561611d390931cef1b22afd6a5060cf586
[ "MIT" ]
16
2021-09-26T11:44:20.000Z
2021-11-28T06:44:02.000Z
src/q_351_400/q0387.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
1
2021-11-22T09:11:36.000Z
2021-11-22T09:11:36.000Z
#include <gtest/gtest.h> #include <iostream> #include <string> using namespace std; /** * This file is generated by leetcode_add.py v1.0 * * 387. * First Unique Character in a String * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given a string ‘s’ , “find the first non...
22.825397
75
0.565369
vNaonLu
0141138cb2b754fd7d615561bc75ae582f0b4094
38
hpp
C++
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/mpl/erase.hpp>
19
37
0.763158
miathedev
01432332f7fec156396e1962d9855c23c8c049d2
15,143
hpp
C++
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
1
2021-07-15T23:37:39.000Z
2021-07-15T23:37:39.000Z
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
1
2021-03-22T09:53:25.000Z
2021-03-22T09:53:25.000Z
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
null
null
null
#ifndef _GLCSUBGROUPSTESTSUTILS_HPP #define _GLCSUBGROUPSTESTSUTILS_HPP /*------------------------------------------------------------------------ * OpenGL Conformance Tests * ------------------------ * * Copyright (c) 2017-2019 The Khronos Group Inc. * Copyright (c) 2017 Codeplay Software Ltd. * Copyright (c) 20...
31.094456
137
0.750248
tarceri
01432c3a4b4f0b32881b5c472a6cb8c130c765e8
1,854
cpp
C++
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
11
2021-09-12T11:33:44.000Z
2022-02-21T11:55:14.000Z
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
null
null
null
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
1
2021-12-02T01:55:03.000Z
2021-12-02T01:55:03.000Z
// Copyright (c) Lorenz Hübschle-Schneider // All Rights Reserved. This source code is licensed under the Apache 2.0 // License (found in the LICENSE file in the root directory). #include "sorter.hpp" #ifndef RIBBON_USE_STD_SORT // Use in-place super-scalar radix sorter ips2ra, which is around 3x faster for // th...
36.352941
79
0.717907
lorenzhs
01474fef0977153e48b818d2d2218fa7237b4ee2
2,841
cpp
C++
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2012 Eugene Mamin * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE...
29.59375
91
0.69905
Maledictus
0149a87c19d5119489ac1aa2f18579d41b9266b2
1,631
cpp
C++
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
#include "parser.h" #include "lexer.h" #include "node_ast.h" #include "node_bop.h" #include "node_number.h" #include "last_exceptions.h" #include <assert.h> Parser::Parser(Lexer* lex) : m_lex(lex), m_current(m_lex->getNext()) { } NodeAST* Parser::parse() { return expression(); } void Parser::consume(char c)...
18.325843
69
0.626609
crsnplusplus
014e002d891f8c4b5e10b65137f5a9691adb0844
43,313
cpp
C++
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
16
2020-07-09T15:38:41.000Z
2022-03-03T19:05:24.000Z
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
7
2020-07-03T22:38:24.000Z
2022-01-09T18:25:22.000Z
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
2
2021-08-23T08:25:44.000Z
2022-01-09T16:05:46.000Z
#include "kf2.h" #include <QLineEdit> QString KingsFieldII::KF2UTextCodec::convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const { QString result; result.resize(length); ...
61.090268
99
0.686491
IvanDSM
015334043bd7d171106ed59a60c5e3a303d100bf
2,340
cpp
C++
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
1
2018-07-26T14:03:11.000Z
2018-07-26T14:03:11.000Z
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
null
null
null
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
1
2019-02-04T05:55:47.000Z
2019-02-04T05:55:47.000Z
/** * Copyright (c) 2018 Jesse Buhagiar * * 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...
31.2
94
0.652564
Quaker762
01537efe0f5db6f18c1ba065f65126aac69562f5
6,736
hpp
C++
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
1
2019-11-19T20:19:18.000Z
2019-11-19T20:19:18.000Z
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
#ifndef INPUT_HPP_ #define INPUT_HPP_ #include <string_view> std::string_view puzzle_input = R"("sjdivfriyaaqa\xd2v\"k\"mpcu\"yyu\"en" "vcqc" "zbcwgmbpijcxu\"yins\"sfxn" "yumngprx" "bbdj" "czbggabkzo\"wsnw\"voklp\"s" "acwt" "aqttwnsohbzian\"evtllfxwkog\"cunzw" "ugvsgfv" "xlnillibxg" "kexh\"pmi" "syvugow" "m\"ktqnw" "...
21.87013
73
0.735748
Miroslav-Cetojevic
0154687ea02a7da87ac0a0d0c70192c7785c63ab
4,074
hpp
C++
DT3Core/Components/ComponentGUIButton.hpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Components/ComponentGUIButton.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
null
null
null
DT3Core/Components/ComponentGUIButton.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-14T07:51:52.000Z
2021-08-21T08:02:51.000Z
#ifndef DT3_COMPONENTGUICLICKBUTTON #define DT3_COMPONENTGUICLICKBUTTON //============================================================================== /// /// File: ComponentGUIButton.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the ter...
40.336634
141
0.536819
9heart
01559cd75ae6b716ec080ec879644c2faee00819
587
cpp
C++
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 560 Subarray Sum Equals K // https://leetcode.com/problems/subarray-sum-equals-k // version: 1; create time: 2020-01-12 11:49:39; class Solution { public: int subarraySum(vector<int>& nums, int k) { unordered_map<int, int> sums; sums[0] = 1; int acc = 0; long total_cnts = 0; ...
25.521739
54
0.511073
levendlee
015922c6d8f595caddd7e38825a324f2e88f6ac1
385
hpp
C++
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
6
2016-07-28T14:04:02.000Z
2019-06-06T04:03:32.000Z
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
null
null
null
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
1
2018-06-07T05:18:06.000Z
2018-06-07T05:18:06.000Z
#ifndef N2O_OBJECT_INCLUDED #define N2O_OBJECT_INCLUDED #include <n2o/detail/property_value.hpp> namespace n2o { class object { public: explicit object(v8::Handle<v8::Object> o) : obj_(o) {} detail::property_value operator[](const char * name) { return detail::property_value(obj_, name); } ...
17.5
58
0.690909
agnat
015b79d88d8241b4ab3a35cbf2dce57b1f634984
25,353
hpp
C++
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <map> #include <cstddef> #include <iostream> #include <algorithm> #include <string> #include <fstream> #include <random> #include <chrono> #include "abstract_matrix.hpp" #include "csc_matrix.hpp" #include "abstract_vector.hpp" // standard list of list implementation for sparse ...
24.354467
125
0.566324
YuanL12
0165a33bb6ce3fef59e6120f5f1728863b03f9f1
7,200
cpp
C++
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
#include "interface/internal/IShaderDeviceInternal.h" #include "VulkanShaderManager.h" #include <TF2Vulkan/Util/Buffer.h> #include <TF2Vulkan/Util/std_utility.h> #include <stdshader_vulkan/ShaderBlobs.h> #include <materialsystem/shader_vcs_version.h> #include <spirv_cross.hpp> #include <mutex> #include <unordered_m...
28.8
114
0.762083
melvyn2
016626346ec27e6f398e35e662d07cc308d05cc7
4,393
cxx
C++
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:11.000Z
2020-02-08T04:09:11.000Z
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
40
2018-08-26T08:34:34.000Z
2021-09-28T13:01:55.000Z
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:14.000Z
2020-02-08T04:10:14.000Z
// This file is part of the dune-xt-data project: // https://github.com/dune-community/dune-xt-data // Copyright 2009-2018 dune-xt-data developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensou...
52.927711
95
0.70544
dune-community
6c6499c52a63c6d23c927a18b0b9658fd89478c0
1,477
cpp
C++
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <petsc/private/vecimpl.h> #include <petsc/private/matimpl.h> #include <set> #include <vector> #include <string> #include <map> #include "SmartPointers.hpp" #include "UblasIncludes.hpp" #include "ReplicatableVector.hpp" #include "ReplicatableVector.cppwg...
33.568182
102
0.619499
jmsgrogan
6c650b65add649ca9625ae4a3e199882263c4859
6,485
cpp
C++
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
#include "Renderer.h" #include "Vertex.h" #include "Fragment.h" #include "VertexProcessor.h" #include "FragmentProcessor.h" #include "Rasterizer.h" #include "FrameBuffer.h" #include "Texture.h" #include <stdio.h> #define _USE_MATH_DEFINES #include <math.h> #include <stdarg.h> #include <algorithm> static uint32_t _co...
27.133891
81
0.522128
guoxx
6c695dbc387a03fdd6d15c0b7c0282c1194cf329
1,578
cpp
C++
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
/* In the game of Restricted Pacman, an infinite linear path is given. Pacman has to start at position 0 and eat as many candies as possible. In one move he can only jump a distance of either M or N. If M and N are coprime numbers, find how many candies will be left on the board after the game is over. Note: The resul...
21.324324
301
0.558302
Achyut-Saxena
6c6af10c95ef055c15bb95ca9bbc8a416af65083
2,855
cpp
C++
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
// Troy Andrews // SDEV-345-81 // 2/13/2021 // Info: Week 5 Assignment (Linked List) #include <iostream> #include<windows.h> class DoubleLinkedList { protected: struct ListNode { double val; ListNode* next; ListNode* prev; ListNode(double val, ListNode* next = nullptr, ListNode* prev = nullptr) { this-...
18.419355
84
0.633625
YortA
6c6b7075ac8d7a83ce48bc1a13d99a92cefccca7
6,588
cpp
C++
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
2
2015-11-05T03:47:29.000Z
2020-01-24T18:48:09.000Z
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
#include "apsis/registry/interface.h" #include <algorithm> #include <fstream> using namespace Apsis; std::vector<std::string> Registry::Interface::_ids; std::vector<Registry::Interface*> Registry::Interface::_interfaces; const Registry::Interface& Registry::Interface::load(const char* path, ...
31.222749
83
0.501821
wilkie
6c74c8e74f723d505151ad890b5a0189a430d84c
3,024
cpp
C++
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
3
2016-08-04T08:47:13.000Z
2022-03-22T08:57:44.000Z
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
null
null
null
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // created: 2018/02/22 // filename: CommonShare/luac.cpp // author: vesper // /// purpose: ////////////////////////////////////////////////////////////////////// #include <luac.h> #include "Log.h" namespace LuaC { CLuaInt64::CL...
16.8
71
0.580357
soymuchacho
6c7851147dfd020645b1a7d103c5471cd796f3ed
495
hpp
C++
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
null
null
null
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
null
null
null
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
3
2020-10-15T09:15:46.000Z
2021-05-07T02:16:27.000Z
#ifndef BOTHENDSMAPPEDFRAGINFO #define BOTHENDSMAPPEDFRAGINFO class fragInfo_bothEndsMapped_withCuttingSite { public: int end1_chr; int end2_chr; int end1_pos; int end1_cuttingSite; int end2_pos; int end2_cuttingSite; bool end1_strand; bool end2_strand; int fragType; fragInfo_bothEndsMappe...
22.5
183
0.775758
Lan-lab
6c82c4f141d67d1ab246bb3960d9f1a72e7dc97d
5,128
hpp
C++
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Vicente J. Botet Escriba 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // ///////////////////////////////...
28.175824
132
0.624805
jwakely
6c82d3a2de139531551ddda6c648980436b7bbca
740
cc
C++
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
101
2019-11-09T17:46:09.000Z
2022-03-18T09:27:16.000Z
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
30
2019-11-21T06:10:25.000Z
2020-01-14T13:28:00.000Z
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
6
2019-11-18T04:24:11.000Z
2021-05-01T13:47:09.000Z
#include <gtest/gtest.h> #include "format.h" using namespace autumn; namespace { struct Foo { Foo(int a, const std::string& b) : a(a), b(b) {} int a; std::string b; }; std::ostream& operator<<(std::ostream& out, const Foo& foo) { return out << '{' << foo.a << ',' << foo.b << '}'; } TEST(Format, Te...
25.517241
86
0.504054
defined1007
6c85a1d99e95ee040d6696df13e9e97c22068440
3,465
hpp
C++
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
#ifndef ___H_SUB_PROCESS #define ___H_SUB_PROCESS #define VC_EXTRALEAN #define WIN32_LEAN_AND_MEAN #define UNICODE #define _UNICODE #include <windows.h> #include <sstream> #include <cstdint> #include <list> #include <unordered_map> #include <streambuf> #include <ostream> class SubProcess final { public: // Public...
14.497908
76
0.695815
nutbread
6c86be5300e1520e6891ecff458239f11178eb37
388
cpp
C++
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
null
null
null
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
1
2018-07-13T03:30:03.000Z
2018-07-13T03:30:11.000Z
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MaterialComponent.h" #include "Script.h" #include "Resource.h" CMaterialComponent::CMaterialComponent(const std::string& file_path) { } void CMaterialComponent::InitLuaAPI(lua_State *L) { luabridge::getGlobalNamespace(L) .deriveClass<CMaterialComponent, CComponent>("MaterialComponent...
22.823529
68
0.757732
ruochenhua
6c8d4d923e9ca2d75c003b1ec519a6e5bae8793d
1,980
cpp
C++
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
2
2022-03-14T11:04:40.000Z
2022-03-19T23:02:32.000Z
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
#include <cstdint> #include "../error.hpp" #include "digital.hpp" #include "joypad.hpp" namespace Core { Digital::Digital() : m_state(State::Idle) { m_keystate.raw = 0xffff; } void Digital::SetKeystate(const Key& key, bool state) { state = !state; switch (key) { case Key::Select: m_keystate.select ...
24.75
74
0.59596
KieronJ
6c92e24408fccc812bbfa8740806f23f59c722da
2,297
hpp
C++
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2022 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <hpx/config.hpp> #include <hpx/iterator_support/traits/is_...
29.075949
80
0.598607
bhumitattarde
6c96c6737cd96939ebf501cb7c5dd4fc8d4f62b8
61,270
cc
C++
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
4
2020-09-27T10:51:03.000Z
2021-10-22T01:14:03.000Z
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-11-05T04:17:53.000Z
2021-11-05T08:19:28.000Z
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-06-24T02:34:01.000Z
2021-06-24T02:34:01.000Z
/*****************************************************************************/ /* */ /* Routines for Arbitrary Precision Floating-point Arithmetic */ /* and Fast Robust Geometric Predicates ...
38.486181
81
0.411376
WarZhan
6c973a59bc2c13206a115d373f3666db5a369882
1,834
hpp
C++
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
14
2019-12-07T18:17:17.000Z
2021-11-17T11:41:21.000Z
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
9
2019-06-28T19:23:44.000Z
2019-10-03T15:32:07.000Z
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
5
2020-01-05T04:40:20.000Z
2020-11-17T21:56:01.000Z
/*================================================================================ This software is open source software available under the BSD-3 license. Copyright (c) 2017, Los Alamos National Security, LLC. All rights reserved. Authors: - Pascal Grosset ===========================================================...
27.787879
141
0.624318
jinsian
6c982663f70c2a74a85ce1280b4f2fb9ce35db30
7,517
cc
C++
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
220
2015-05-03T02:22:20.000Z
2022-03-30T11:43:14.000Z
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
73
2015-05-04T17:18:27.000Z
2022-03-27T17:53:29.000Z
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
60
2015-04-22T01:08:25.000Z
2022-03-30T11:43:15.000Z
/* * 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 this list * of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce t...
33.86036
113
0.685247
BLumia
6c9a74f68a3d19d01140687f3ab09b77207b8072
3,373
cc
C++
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
24
2015-07-22T05:07:51.000Z
2019-02-28T04:52:33.000Z
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T05:43:02.000Z
2021-07-17T17:14:45.000Z
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T01:07:30.000Z
2021-01-05T09:49:30.000Z
/* * * Copyright (C) 2003-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Michael ...
31.820755
93
0.706196
chrisvana
6c9cb9b771a0ba63060376876988637c25c800c7
247
cpp
C++
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
1
2016-03-26T13:25:08.000Z
2016-03-26T13:25:08.000Z
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
#include "ManipulateDevice.h" namespace Magna{ namespace Render{ ManipulateDevice::ManipulateDevice() :m_engine(){ } ManipulateDevice::~ManipulateDevice(){ } }//namespace Render }//namespace Magna
15.4375
43
0.623482
0of
6c9e78be176b4e788fa7f5047ca9c9b6d04db8e8
346
cpp
C++
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> #include "functions.hpp" int main(void) { try { std::cout << convert_ftoc(-600.0) << std::endl; } catch(std::exception & ex) { std::cout << "Program encountered an error!" << std::endl; std::cout << ex.what() << std::endl; return...
18.210526
66
0.537572
ronyadin
6ca6da066712cb7e886adec3390bc52e95ed02b2
2,658
cpp
C++
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-02-02T13:32:14.000Z
2017-08-20T07:58:49.000Z
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
null
null
null
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-03-09T02:41:25.000Z
2019-07-10T03:22:23.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
36.410959
149
0.665914
zukisoft
6ca9e53761b4fe41122100b9ba2913ab4e1bd6b0
19,619
cpp
C++
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
#include <vban/node/bootstrap/bootstrap.hpp> #include <vban/node/bootstrap/bootstrap_lazy.hpp> #include <vban/node/common.hpp> #include <vban/node/node.hpp> #include <vban/node/transport/tcp.hpp> #include <boost/format.hpp> #include <algorithm> constexpr std::chrono::seconds vban::bootstrap_limits::lazy_flush_delay_...
34.479789
272
0.726694
EduardAl