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
143b6b698831ee4bf8d154e9568860a5354cbb5c
2,764
cc
C++
shared/ortcustomops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
59
2021-04-29T07:39:42.000Z
2022-03-29T21:12:05.000Z
shared/ortcustomops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
45
2021-05-12T08:32:58.000Z
2022-03-29T21:11:59.000Z
shared/ortcustomops.cc
vvchernov/onnxruntime-extensions
cc858e831b719d31e4f34ee9adb391105b4ce26b
[ "MIT" ]
18
2021-05-10T10:15:46.000Z
2022-03-22T10:46:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <set> #include "onnxruntime_extensions.h" #include "ocos.h" class ExternalCustomOps { public: ExternalCustomOps() { } static ExternalCustomOps& instance() { static ExternalCustomOps g_instance; r...
24.678571
105
0.686686
vvchernov
143ca63aa83dc435341cc33e07f47564e0b7c809
8,593
cpp
C++
viceplugins/retrojsvice/src/vice_plugin_api.cpp
hackyannick/browservice
10022849a15683e0f72a14aaee475b8daf13dbb1
[ "MIT" ]
null
null
null
viceplugins/retrojsvice/src/vice_plugin_api.cpp
hackyannick/browservice
10022849a15683e0f72a14aaee475b8daf13dbb1
[ "MIT" ]
null
null
null
viceplugins/retrojsvice/src/vice_plugin_api.cpp
hackyannick/browservice
10022849a15683e0f72a14aaee475b8daf13dbb1
[ "MIT" ]
null
null
null
#include "context.hpp" #include "../../../vice_plugin_api.h" namespace { using namespace retrojsvice; const char* RetrojsviceVersion = "0.9.2.1"; template <typename T> class GlobalCallback { private: struct Inner { T callback; void* data; void (*destructorCallback)(void* data); ...
24.481481
82
0.669615
hackyannick
143d80b09390681feecdc7626536dd75e5a15255
888
cpp
C++
libs/renderer/src/renderer/state/ffp/lighting/light/scoped.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/src/renderer/state/ffp/lighting/light/scoped.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/src/renderer/state/ffp/lighting/light/scoped.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/renderer/context/ffp.hpp> #include <sge/renderer/context/ffp_ref.hpp> #include <sge/r...
37
87
0.726351
cpreh
1444e3d97396e6cdfa54f9f2bc84a35e5748a8af
753
hpp
C++
include/RED4ext/Types/generated/AI/ArgumentSerializableValue.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/AI/ArgumentSerializableValue.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/AI/ArgumentSerializableValue.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/Types/generated/AI/ArgumentDefinition.hpp> #include <RED4ext/Types/generated/AI/ArgumentType.hpp> namespace RED4ext { ...
25.965517
70
0.756972
Cyberpunk-Extended-Development-Team
144a15106536480fac3c3a2f7bd5bca269c4dd10
3,760
hpp
C++
include/np/ndarray/static/NDArrayStaticIndexImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
include/np/ndarray/static/NDArrayStaticIndexImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
include/np/ndarray/static/NDArrayStaticIndexImpl.hpp
mgorshkov/np
75c7adff38e7260371135839b547d5340f3ca367
[ "MIT" ]
null
null
null
/* C++ numpy-like template-based array implementation Copyright (c) 2022 Mikhail Gorshkov (mikhail.gorshkov@gmail.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, includi...
41.777778
138
0.645213
mgorshkov
144c4dcff9515405e869ec9fd60e94b33c61d40b
5,771
hpp
C++
Engine/UserInterface/UICommon.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/UserInterface/UICommon.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/UserInterface/UICommon.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
//============================================================================================================== //UserInterfaceCommon.hpp //by Albert Chen Apr-18-2016. //============================================================================================================== #pragma once #ifndef _included_UserI...
34.556886
112
0.634032
achen889
144ed7f11ac26f0182a4b081598643bb3c088ece
18,652
cc
C++
src/swig_siqadconn/siqadconn.cc
samuelngsh/qpuanneal-sidb
ba0341a0ba852241de7c9a4e45f6a0a252bc48b4
[ "Apache-2.0" ]
null
null
null
src/swig_siqadconn/siqadconn.cc
samuelngsh/qpuanneal-sidb
ba0341a0ba852241de7c9a4e45f6a0a252bc48b4
[ "Apache-2.0" ]
null
null
null
src/swig_siqadconn/siqadconn.cc
samuelngsh/qpuanneal-sidb
ba0341a0ba852241de7c9a4e45f6a0a252bc48b4
[ "Apache-2.0" ]
null
null
null
// @file: siqadconn.cc // @author: Samuel // @created: 2017.08.23 // @editted: 2019.01.23 - Nathan // @license: Apache License 2.0 // // @desc: Convenient functions for interacting with SiQAD #include "siqadconn.h" #include <iostream> #include <stdexcept> #include <boost/property_tree/ptree.hpp> #include ...
33.546763
154
0.670974
samuelngsh
1450fa120cf1fb191e79295c4e1457d208e06999
6,323
cpp
C++
src/aries/utility/Polygon.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/aries/utility/Polygon.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/aries/utility/Polygon.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
#include <aries/utility/Polygon.h> #include <cmath> #include <cstdlib> #include <iostream> #include <string> #include <vector> namespace aries { Polygon::Polygon() { } const Polygon& Polygon::operator = (const Polygon& p) { _Vertex = p._Vertex; _EdgeVertexSN = p._EdgeVertexSN; _FaceVertexSN = p._FaceVertexS...
25.393574
148
0.603037
IAries
1451044b38ed0271bae68880cb6828154f585caf
3,193
cpp
C++
cpp/leetcode/57.insert-interval.cpp
Gerrard-YNWA/piece_of_code
ea8c9f05a453c893cc1f10e9b91d4393838670c1
[ "MIT" ]
1
2021-11-02T05:17:24.000Z
2021-11-02T05:17:24.000Z
cpp/leetcode/57.insert-interval.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
cpp/leetcode/57.insert-interval.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=57 lang=cpp * * [57] Insert Interval */ #include <iostream> #include <vector> using namespace std; // @lc code=start class Solution { public: vector<vector<int>> insert(vector<vector<int>>& intervals, vector<int>& newInterval) { vector<vector<int>> res; auto len = in...
26.38843
90
0.57125
Gerrard-YNWA
145630173d390683f362c3890da6cdc56da711b8
17,862
cpp
C++
export/debug/windows/obj/src/openfl/display3D/textures/RectangleTexture.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
export/debug/windows/obj/src/openfl/display3D/textures/RectangleTexture.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/debug/windows/obj/src/openfl/display3D/textures/RectangleTexture.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_lime__internal_backend_native_NativeOpenGLRenderContext #include <lime/_interna...
46.155039
279
0.716269
bobisdabbing
145b245c696f7437af7e97ce08cf77482ea0acd9
878
cpp
C++
1. Basic Recursion/All_Indices.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
1. Basic Recursion/All_Indices.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
1. Basic Recursion/All_Indices.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; int allIndexes(int input[], int size, int x, int output[]) { if(size == 0) return 0; int ans=allIndexes(input, size-1, x, output); if(input[size-1] == x) { output[ans]=size-1; return ans+1; } retu...
15.678571
60
0.477221
bhavinvirani
145f91f53a91148d68c786f4c75d6d4b4f28cbe1
349
hpp
C++
libs/gui/include/sge/gui/master_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/gui/include/sge/gui/master_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/gui/include/sge/gui/master_fwd.hpp
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) #ifndef SGE_GUI_MASTER_FWD_HPP_INCLUDED #define SGE_GUI_MASTER_FWD_HPP_INCLUDED namespace sge::gui...
20.529412
61
0.727794
cpreh
1460b9a061802c50f96cf0d13a7cff4b9c091db9
2,703
cpp
C++
src/routes/miners/MercuryMiner.cpp
xXNurioXx/gta-samp-driver
9bd2b0863281cf5bd68a2b699217d3ef73afc3ca
[ "MIT" ]
3
2020-07-12T15:57:39.000Z
2020-09-06T11:00:06.000Z
src/routes/miners/MercuryMiner.cpp
xXNurioXx/gta-sa-self-driving-car
9bd2b0863281cf5bd68a2b699217d3ef73afc3ca
[ "MIT" ]
null
null
null
src/routes/miners/MercuryMiner.cpp
xXNurioXx/gta-sa-self-driving-car
9bd2b0863281cf5bd68a2b699217d3ef73afc3ca
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <Windows.h> #include "../../drivers/Walker.cpp" #include "../../interactions/CaptchaSolver.cpp" #include "../../interactions/ChatManager.cpp" #include "Miner.cpp" class MercuryMiner { private: Movement *movement = new Movement(); ChatManager *chat = new ChatManager()...
26.5
71
0.63781
xXNurioXx
1463a9000c0501599b36fc1dd05ddfa1bb9e47bd
73,362
cpp
C++
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/propgrid/props.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/propgrid/props.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/propgrid/props.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/propgrid/props.cpp // Purpose: Basic Property Classes // Author: Jaakko Salli // Modified by: // Created: 2005-05-14 // RCS-ID: $Id$ // Copyright: (c) Jaakko Salli // Licence: wxWindows licence ////...
26.638344
113
0.543388
wivlaro
146932c4f16d0460bd1ae613ca1b5851eaed0b9a
1,098
cpp
C++
Qualification_Round_2/Editorials/cutting_paper_tester.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
null
null
null
Qualification_Round_2/Editorials/cutting_paper_tester.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
null
null
null
Qualification_Round_2/Editorials/cutting_paper_tester.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
2
2015-07-25T11:44:07.000Z
2019-07-14T11:33:48.000Z
#include<bits/stdc++.h> using namespace std; int mat[101][101]; void solve() { mat[0][0] = 0; mat[0][1] = 0; mat[1][0] = 0; for(int i = 1; i <= 100; i++) { mat[i][1] = i; mat[1][i] = i; } for(int i = 2; i <= 100; i++) { for(int j = 2; j <= 100; j++) { ...
18.931034
52
0.264117
manojpandey
146bc487becac75c3f0629a658fd1aa5d58c7bcf
13,052
cpp
C++
src/SwingCompiler.cpp
SilverJun/SWING
0a9c35d74b3ec75d349a14a59e4d731dbd016069
[ "MIT" ]
8
2017-07-17T16:12:20.000Z
2021-02-20T13:18:33.000Z
src/SwingCompiler.cpp
SilverJun/SWING
0a9c35d74b3ec75d349a14a59e4d731dbd016069
[ "MIT" ]
null
null
null
src/SwingCompiler.cpp
SilverJun/SWING
0a9c35d74b3ec75d349a14a59e4d731dbd016069
[ "MIT" ]
1
2020-02-19T06:51:03.000Z
2020-02-19T06:51:03.000Z
#include "SwingCompiler.h" #include <fstream> #include <sstream> #include "llvm/Support/TargetSelect.h" #include "Type.h" #include "Method.h" #include "StructType.h" #include "ProtocolType.h" #include <iostream> #include "Error.h" #include "FunctionDeclAST.h" namespace swing { std::unique_ptr<SwingCompiler> SwingC...
31.990196
213
0.690699
SilverJun
146c552bb08d097cab3c561a85b5ec36e7bfe2d8
4,482
cc
C++
sdk/test/metrics/histogram_aggregator_test.cc
padmaja-nadkarni/opentelemetry-cpp
4751ae5a29e5eeed1b775b7c337bdbe294165346
[ "Apache-2.0" ]
2
2020-06-26T15:26:35.000Z
2020-06-28T16:47:35.000Z
sdk/test/metrics/histogram_aggregator_test.cc
padmaja-nadkarni/opentelemetry-cpp
4751ae5a29e5eeed1b775b7c337bdbe294165346
[ "Apache-2.0" ]
3
2020-07-08T22:36:00.000Z
2020-08-26T16:21:07.000Z
sdk/test/metrics/histogram_aggregator_test.cc
padmaja-nadkarni/opentelemetry-cpp
4751ae5a29e5eeed1b775b7c337bdbe294165346
[ "Apache-2.0" ]
4
2020-05-27T22:08:57.000Z
2020-05-29T19:13:11.000Z
#include "opentelemetry/sdk/metrics/aggregator/histogram_aggregator.h" #include <gtest/gtest.h> #include <iostream> #include <numeric> #include <thread> // #include <chrono> namespace metrics_api = opentelemetry::metrics; OPENTELEMETRY_BEGIN_NAMESPACE namespace sdk { namespace metrics { // Test updating with a unif...
26.678571
99
0.676261
padmaja-nadkarni
146f86d183582cec69a730b2040e6f7acad0f3f1
2,485
cc
C++
Source/Plugins/SubsystemPlugins/BladeGame/source/interface_imp/GameWorldData.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/SubsystemPlugins/BladeGame/source/interface_imp/GameWorldData.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/SubsystemPlugins/BladeGame/source/interface_imp/GameWorldData.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2011/05/03 filename: GameWorldData.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include "GameWorldData.h" #include <interface/public/graphics/IGraphicsScene.h...
36.014493
98
0.426559
OscarGame
1471da20d296f07168d10e313d63602c9ddc7654
15,291
cpp
C++
OsirisInventory/Memory.cpp
danielkrupinski/OsirisInventory
e4716de9b05d0c257a1733d96c503e64104b3657
[ "MIT" ]
31
2021-07-08T12:24:40.000Z
2022-03-07T11:24:53.000Z
OsirisInventory/Memory.cpp
danielkrupinski/OsirisInventory
e4716de9b05d0c257a1733d96c503e64104b3657
[ "MIT" ]
21
2021-07-21T11:39:16.000Z
2022-03-24T02:03:26.000Z
OsirisInventory/Memory.cpp
danielkrupinski/OsirisInventory
e4716de9b05d0c257a1733d96c503e64104b3657
[ "MIT" ]
8
2021-12-05T11:29:21.000Z
2022-03-06T06:21:51.000Z
#include <algorithm> #include <array> #include <cassert> #include <cstring> #include <limits> #include <string_view> #include <utility> #ifdef _WIN32 #include <Windows.h> #include <Psapi.h> #elif __linux__ #include <fcntl.h> #include <link.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #endif #inc...
62.158537
207
0.703943
danielkrupinski
14759b72b661dd3dc94bee2b69b06a9d624bbf83
3,324
cpp
C++
src/common/buses/network/TCPIPv4SocketBus.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
null
null
null
src/common/buses/network/TCPIPv4SocketBus.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
null
null
null
src/common/buses/network/TCPIPv4SocketBus.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
1
2020-07-03T08:36:47.000Z
2020-07-03T08:36:47.000Z
/***************************************************//** * @file TCPIPv4SocketBus.cpp * @date February 2016 * @author Ocean Optics, Inc. * * LICENSE: * * SeaBreeze Copyright (C) 2016, Ocean Optics Inc * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software an...
32.588235
88
0.679904
udyni
1477b1da3f5a6f2bf0785334beaf19fdd22eacc1
1,609
hpp
C++
header/p6_side_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_side_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_side_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
/* This software is distributed under MIT License, which means: - Do whatever you want - Please keep this notice and include the license file to your project - I provide no warranty Created by Kyrylo Sovailo (github.com/Meta-chan, k.sovailo@gmail.com) Reinventing bicycles since 2020 */ #ifndef P6_SIDE_PANEL ...
26.377049
93
0.697328
Meta-chan
147907f259fe06961c980374d4046b8f6e8cc18e
6,733
cpp
C++
ds2/lib_demonsaw/component/router/router_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
132
2017-03-22T03:46:38.000Z
2022-03-08T15:08:16.000Z
ds2/lib_demonsaw/component/router/router_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
4
2017-04-06T17:46:10.000Z
2018-08-08T18:27:59.000Z
ds2/lib_demonsaw/component/router/router_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
30
2017-03-26T22:38:17.000Z
2021-11-21T20:50:17.000Z
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, c...
23.297578
111
0.655428
demonsaw
147b12c0fc00d5ec514f907043bb5151e513d59b
12,821
cc
C++
tests/test_csp.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
4
2020-11-10T17:46:57.000Z
2022-03-22T06:24:17.000Z
tests/test_csp.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
null
null
null
tests/test_csp.cc
RReverser/libwebp2
c90b5b476004c9a98731ae1c175cebab5de50fbf
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
38.969605
80
0.566492
RReverser
148014ae662c05e88edbc8c6a03d58093a3ed202
544
hpp
C++
src/ssmkit/map/transition_matrix.hpp
vahid-bastani/ssmpack
68aed98b1c661a7d1c9e5610656de57f6a967532
[ "MIT" ]
7
2016-07-08T09:18:49.000Z
2018-03-10T06:46:55.000Z
src/ssmkit/map/transition_matrix.hpp
vahidbas/ssmkit
68aed98b1c661a7d1c9e5610656de57f6a967532
[ "MIT" ]
null
null
null
src/ssmkit/map/transition_matrix.hpp
vahidbas/ssmkit
68aed98b1c661a7d1c9e5610656de57f6a967532
[ "MIT" ]
1
2018-01-03T17:46:08.000Z
2018-01-03T17:46:08.000Z
#ifndef SSMPACK_MODEL_TRANSITION_MATRIX_HPP #define SSMPACK_MODEL_TRANSITION_MATRIX_HPP #include <armadillo> namespace ssmkit { namespace map { struct TransitionMatrix { using TParameter = arma::vec; using TConditionVAR = int; TransitionMatrix(arma::mat t) : transfer{t} {} // should not be overloaded, sho...
20.148148
55
0.744485
vahid-bastani
1487ff58e867aa7b2353c2e6e82ed1a0ccbe752b
1,551
cpp
C++
examples/GLUT/28-voxel-basic/WifiSend.cpp
zwells1/HapticMoCap
0f102834b44f6f38473145da4e39090fafa126b2
[ "BSD-3-Clause" ]
null
null
null
examples/GLUT/28-voxel-basic/WifiSend.cpp
zwells1/HapticMoCap
0f102834b44f6f38473145da4e39090fafa126b2
[ "BSD-3-Clause" ]
null
null
null
examples/GLUT/28-voxel-basic/WifiSend.cpp
zwells1/HapticMoCap
0f102834b44f6f38473145da4e39090fafa126b2
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <sstream> #include <boost/array.hpp> #include <boost/asio.hpp> using boost::asio::ip::udp; class UDPClient { public: UDPClient( boost::asio::io_service& io_service, const std::string& host, const std::string& port ) : io_service_(io_service), socket_(io_service, udp::endpoint(udp:...
18.247059
80
0.630561
zwells1
149bb0962c3483d3de9ae32d6163b3a4678fb0c4
17,022
cpp
C++
Plugins/DotNET/DotNETExports.cpp
Lord-Nightmare/unified
4b6c7351f1389b741667abe03f950313dcde8e1c
[ "MIT" ]
null
null
null
Plugins/DotNET/DotNETExports.cpp
Lord-Nightmare/unified
4b6c7351f1389b741667abe03f950313dcde8e1c
[ "MIT" ]
null
null
null
Plugins/DotNET/DotNETExports.cpp
Lord-Nightmare/unified
4b6c7351f1389b741667abe03f950313dcde8e1c
[ "MIT" ]
null
null
null
#include "nwnx.hpp" #include "API/CNWSObject.hpp" #include "API/CAppManager.hpp" #include "API/CServerAIMaster.hpp" #include "API/CServerExoApp.hpp" #include "API/CVirtualMachine.hpp" #include "API/CNWVirtualMachineCommands.hpp" #include "API/CWorldTimer.hpp" #include <dlfcn.h> using namespace NWNXLib; using namespa...
30.560144
123
0.663024
Lord-Nightmare
149da88c83d91c82c5e6ce254eedb3cdc0cf1e1b
1,951
cpp
C++
Mastermind/src/GameState.cpp
olafur-skulason/CodeExamples
2365bb075695e31ca0d006f2e57479e2c3c67ef3
[ "MIT" ]
null
null
null
Mastermind/src/GameState.cpp
olafur-skulason/CodeExamples
2365bb075695e31ca0d006f2e57479e2c3c67ef3
[ "MIT" ]
null
null
null
Mastermind/src/GameState.cpp
olafur-skulason/CodeExamples
2365bb075695e31ca0d006f2e57479e2c3c67ef3
[ "MIT" ]
null
null
null
/* * GameState.cpp * * Created on: Feb 28, 2020 * Author: olafur */ #include "../inc/GameState.h" #include <iostream> GameState::GameState(unsigned int codeLength, unsigned int attemptLimit, ColorSelector * colorSelector) : color_selector(colorSelector), code_length(codeLength), attempt_limit(attemptLi...
18.580952
105
0.655561
olafur-skulason
149ddcab7d584c53e3ceaf9d30b61fb03d6f5a3f
725
hpp
C++
tc_alt.hpp
arbrk1/typeclasses_cpp
7bb180f0daaa7dfeb84387f9913c99b99702be2c
[ "MIT" ]
10
2018-11-16T14:34:50.000Z
2021-11-25T04:37:39.000Z
tc_alt.hpp
arbrk1/typeclasses_cpp
7bb180f0daaa7dfeb84387f9913c99b99702be2c
[ "MIT" ]
null
null
null
tc_alt.hpp
arbrk1/typeclasses_cpp
7bb180f0daaa7dfeb84387f9913c99b99702be2c
[ "MIT" ]
3
2020-06-01T14:22:06.000Z
2021-11-22T20:26:24.000Z
// An alternative to the tc.hpp // arbrk1@gmail.com, 2018 #ifndef _TC_ALT_HPP_ #define _TC_ALT_HPP_ #define TC_DEF(name, params, body...) \ template< params > struct name; \ template< params > struct _tc_methods_##name body; #define TC_INSTANCE(name, params, body...) \ struct name< params > : _tc_method...
26.851852
77
0.706207
arbrk1
14a8b78c1f826693f60734320b02233323f1a920
2,763
cpp
C++
firmware/utility/ServoFirmata.cpp
fgu-cas/arenomat
81954e82f58178586a31886136d3047cf5a0c4d2
[ "MIT" ]
null
null
null
firmware/utility/ServoFirmata.cpp
fgu-cas/arenomat
81954e82f58178586a31886136d3047cf5a0c4d2
[ "MIT" ]
null
null
null
firmware/utility/ServoFirmata.cpp
fgu-cas/arenomat
81954e82f58178586a31886136d3047cf5a0c4d2
[ "MIT" ]
null
null
null
/* ServoFirmata.cpp - Firmata library Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved. Copyright (C) 2010-2011 Paul Stoffregen. All rights reserved. Copyright (C) 2009 Shigeru Kobayashi. All rights reserved. Copyright (C) 2009-2011 Jeff Hoefs. All rights reserved. Copyright (C) 2013 ...
24.026087
80
0.661962
fgu-cas
14ab7a328a5431e82e49e9d14d89cb901a13213b
732
hpp
C++
source/framework/algorithm/include/lue/framework/algorithm/default_policies/tan.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
1
2019-04-14T15:51:12.000Z
2019-04-14T15:51:12.000Z
source/framework/algorithm/include/lue/framework/algorithm/default_policies/tan.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/algorithm/include/lue/framework/algorithm/default_policies/tan.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include "lue/framework/algorithm/tan.hpp" namespace lue { namespace policy::tan { template< typename Element> using DefaultPolicies = policy::DefaultPolicies< AllValuesWithinDomain<Element>, OutputElements<Element>, InputElements<Eleme...
22.181818
67
0.584699
pcraster
14ae7a0477b0d332f10a0616ce21b5df60e761b9
2,310
cpp
C++
code/nes/gamepad.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
code/nes/gamepad.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
code/nes/gamepad.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
struct gamepad_frame { u8 Gamepad[2]; u8 Flags; }; struct gamepad_playback { u32 Size; u32 Index; gamepad_frame Frames[1]; }; struct gamepad { console *Console; gamepad_playback *Playback; u8 Strobe; u8 ReadSerial[2]; }; inline u8 Gamepad_GetPlaybackButtons(gamepad_playback *Pla...
19.411765
71
0.6329
oldGanon
14b0fdd10453ce38cdd6d6f7d42f88cf84701581
237
cc
C++
cpp/badmacro.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/badmacro.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/badmacro.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
#include <cassert> //@include // Avoid overhead of a function call. #define isvowel(c) (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') //@exclude int main(int argc, char** argv) { char c = 'a'; assert(isvowel(c)); }
19.75
77
0.514768
iskhanba
14b115bcd2464a7ef5ba44a606d04d8bc42b7edc
12,259
cp
C++
Std/Mod/Dialog.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2016-03-17T08:27:05.000Z
2016-03-17T08:27:05.000Z
Std/Mod/Dialog.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
null
null
null
Std/Mod/Dialog.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2018-03-14T17:53:27.000Z
2018-03-14T17:53:27.000Z
MODULE StdDialog; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = "" issues = "" **) IMPORT Kernel, Meta...
40.062092
126
0.502488
romiras
14b2a7c9b582160d72dc604e7e9deefbf9355764
899
cpp
C++
13.cpp
Sherryhaha/LeetCode
128e344575f8e745b28ff88e6c443b18281ffdc9
[ "MIT" ]
null
null
null
13.cpp
Sherryhaha/LeetCode
128e344575f8e745b28ff88e6c443b18281ffdc9
[ "MIT" ]
null
null
null
13.cpp
Sherryhaha/LeetCode
128e344575f8e745b28ff88e6c443b18281ffdc9
[ "MIT" ]
null
null
null
// // Created by sunguoyan on 2017/3/30. // 将罗马数字转为整数,整数是在1-3999范围内,要先把握下罗马数字的规律,1是"I",两个I就是2...到4是IV,5是V... // 9是IX,10是X,50是L,100是C,500是D,10000是M,因此要注意的是如果识别类似IV,IX,XL....等组合成的罗马数字需要 // 有方法,方法就是从字符串后面往前遍历,如果后一个数字大于前一个数字,那么就减去前一个数字,否则就加上前一个数字 #include "LeetCode.h" int romanToInt(string s) { unordered_map<char,int...
28.09375
74
0.451613
Sherryhaha
14b2e7a935998e4d3e3501b08fa2de9ea72eaceb
2,846
cpp
C++
Engine/Source/Render/Shader/SShaderCompiler.cpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
9
2018-07-21T00:30:35.000Z
2021-09-04T02:54:11.000Z
Engine/Source/Render/Shader/SShaderCompiler.cpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
null
null
null
Engine/Source/Render/Shader/SShaderCompiler.cpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
1
2021-12-03T14:12:41.000Z
2021-12-03T14:12:41.000Z
/// \file SShaderCompiler.cpp /// \date 21/07/2018 /// \project OOM-Engine /// \package Render/Shader /// \author Vincent STEHLY--CALISTO #include <malloc.h> #include "Core/Debug/SLogger.hpp" #include "Render/Shader/SShaderCompiler.hpp" namespace Oom { GLuint SShaderCompiler::CreateProgram(con...
31.622222
97
0.68201
Aredhele
14b78b3f6db46cf1f7e7774ccce5b9db20263e6f
9,747
cpp
C++
test/afu/Commands.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
3
2019-10-10T19:39:12.000Z
2021-04-05T17:36:33.000Z
test/afu/Commands.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
8
2019-10-25T12:51:45.000Z
2021-04-06T09:31:39.000Z
test/afu/Commands.cpp
OpenCAPI/ocse
ddc640fbafe9d027c0218ccad366bc6ce37c34c8
[ "Apache-2.0" ]
4
2019-10-31T13:05:39.000Z
2021-04-05T17:36:28.000Z
/* * Copyright 2015,2017 International Business Machines * * 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...
31.543689
150
0.672104
OpenCAPI
14b8aa4305d6ab8ad4d5e5b3259e4a80725b823c
3,262
hpp
C++
include/codegen/include/Zenject/StaticMemoryPool_8.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/StaticMemoryPool_8.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/StaticMemoryPool_8.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:45 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: Zenject.StaticMemoryPoolBase`1 #include "Zenject/StaticMemoryPoolBase_1.hpp" // Includin...
62.730769
324
0.745555
Futuremappermydud
14bcb0cdb3954fea721d40b8fc65340cab770211
985
cpp
C++
FTSE/entities/Book.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
3
2019-10-05T15:51:12.000Z
2021-01-08T21:58:48.000Z
FTSE/entities/Book.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
2
2021-06-04T13:42:16.000Z
2021-07-27T10:38:38.000Z
FTSE/entities/Book.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
2
2018-07-03T11:31:11.000Z
2021-06-16T21:05:38.000Z
#include "Book.h" #include "LuaHelper.h" #include "Helpers.h" Book::Book(EntityID id) : Collectable(id) { } Book::Book(void * ptr) : Collectable(ptr) { } Book::~Book() { } void Book::MakeLuaObject(lua_State * l) { lua_newtable(l); lua_pushinteger(l, GetID()); lua_setfield(l, -2, "id"); lua_getglobal(l, "Book...
18.240741
79
0.694416
melindil
14c09198d6978f73bc5b6839d7d58a6e12850347
1,367
cpp
C++
src/ui/uicheckbox.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
src/ui/uicheckbox.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
src/ui/uicheckbox.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
#include "uicheckbox.h" UICheckBox::UICheckBox(UIManager* manager): UIElement(manager, false), checked(false) { } void UICheckBox::render(Texture* out) { unsigned color = isPressed() ? _manager->style()->colorActivated : _manager->style()->colorNormal; if(checked) _manager->style()->checkboxChecked.draw(out, b...
28.479167
121
0.693489
alexeyden
14c5028ed5cc6188928c31226565c539e32d5163
986
cpp
C++
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
// // Created by teeebor on 2017-10-05. // #include <glbinding/gl/gl.h> #include "../../../include/interface/Buffer.h" namespace proton{ using namespace gl; Buffer::Buffer(const void *data, int count, unsigned int componentCount) { load(data,count,componentCount); } void Buffer::load(const vo...
25.947368
83
0.64503
FuriousProton
14c921fdda223e050127c85ea61d0bba4216faf4
10,741
hpp
C++
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the BSD 3-Clause License * which accompanies this distribution. * * Contributors: ...
36.534014
81
0.699935
moar55
14c9cda500cfb12a37e94ef483653a53c21f9ca9
3,898
hpp
C++
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_GPU_MULTIPLY_HPP #define STAN_MATH_GPU_MULTIPLY_HPP #ifdef STAN_OPENCL #include <stan/math/gpu/matrix_gpu.hpp> #include <stan/math/gpu/kernels/scalar_mul.hpp> #include <stan/math/gpu/kernels/matrix_multiply.hpp> #include <Eigen/Dense> namespace stan { namespace math { /** * Multiplies the specified ...
31.691057
78
0.65803
jrmie
14c9fce899e636ec1555150d0e5145862770f74d
15,557
cpp
C++
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
null
null
null
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
2
2019-02-23T20:46:12.000Z
2019-07-11T15:34:13.000Z
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
null
null
null
/* ============================================================================ * Copyright (c) 2009-2016 BlueQuartz Software, LLC * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code...
39.787724
171
0.588353
mmarineBlueQuartz
14c9fe8f249b93c1711aa7410d5ea6873577134b
181
cpp
C++
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include <optional> #include "ParallelAccumulate.hpp" TEST_CASE("test the execution of foo", "[foo]") { REQUIRE( 1 == 1); std::optional<int> var; }
18.1
47
0.679558
spjuanjoc
14ca452d2c14a4d2f80275281caaa38f78c4b4a9
790
cpp
C++
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string.h> #include <sstream> #include <map> #include <memory> #include <unistd.h> #include <thread> #include <sys/socket.h> #include <netinet/in.h> #include <sys/types.h> #include <state.h> #include "render.h" #include "engine.h" #include "ai.h" #include "client.h" usi...
18.809524
71
0.694937
Kuga23
14d6287cf9a4fb3b87856cf5b60c6159e1a453b6
3,420
hpp
C++
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.IDisposable #include "System/IDisposable.hpp" // Including typ...
46.849315
143
0.709942
darknight1050
14d6f2d5ba03d1e3a04bb3b24bc95652e7125096
426
cpp
C++
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
#include "ModdingAPI.hpp" #include <cmath> #include <iostream> chunkified_pos<int> world_to_chunk(int px, int py) { chunkified_pos<int> ch; ch.chunk_x = floor(px / 64.0f); ch.chunk_y = floor(py / 64.0f); ch.x = abs(px) % 64; ch.y = abs(py) % 64; if (ch.chunk_x < 0) { ch.x = 64 - ch.x; } i...
14.689655
50
0.561033
MagicRB
14d733430d971b341d314683fcf38baac9a5ed93
5,887
cpp
C++
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
/* * (C) Copyright 2019 * The Seraphim Project Developers. * * SPDX-License-Identifier: MIT */ #include <csignal> #include <opencv2/imgproc.hpp> #include <opencv2/videoio.hpp> #include <optparse.h> #include <seraphim/polygon.h> #include <seraphim/face/lbf_facemark_detector.h> #include <seraphim/face/lbp_face_dete...
31.31383
96
0.572278
raymanfx
14d83ad941e48001baf6ddca0f1e927411a145c8
2,652
cpp
C++
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
1
2020-10-11T23:37:48.000Z
2020-10-11T23:37:48.000Z
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
null
null
null
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
null
null
null
#include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <glove/Model.h> #include <iostream> void process_node(const aiScene *scene, const aiNode *node, std::vector<Vertex3DNormTex> &vertices, std::vector<uint32_t> & indices) { for (si...
30.482759
79
0.662519
TurboCartPig
14db6b31e4a4b8e990d68887ddbc99eae9c16b18
9,281
cpp
C++
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
/* ** ClanLib SDK ** Copyright (c) 1997-2016 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
26.979651
92
0.715225
ValtoFrameworks
14db6e74a5db750e5d0085a2240a93f419041cfc
9,285
cpp
C++
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
1
2019-10-22T07:32:45.000Z
2019-10-22T07:32:45.000Z
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
null
null
null
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2010 cocos2d-x.org http://www.cocos2d-x.org 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 with...
28.925234
123
0.548088
wingver
14dccff1101fa5ec14a714131603e19e95bb6f57
3,277
cc
C++
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
1
2017-01-18T17:04:40.000Z
2017-01-18T17:04:40.000Z
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
null
null
null
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
1
2015-07-14T02:36:29.000Z
2015-07-14T02:36:29.000Z
// Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // A portion of this file was generated by the ...
23.746377
79
0.732072
desura
14dd6e9a9e101b9f91e2d0ac0255f434f62d4dcb
3,472
cpp
C++
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
1
2020-04-21T18:47:09.000Z
2020-04-21T18:47:09.000Z
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
#include "TreeGenerator.h" #include "../../Chunk/Chunk.h" #include "StructureBuilder.h" constexpr BlockId CACTUS = BlockId::Cactus; namespace { void makeCactus1 (Chunk& chunk, Random<std::minstd_rand>& rand, int x, int y, int z) { StructureBuilder builder; builder.makeColumn(x, z, y, rand.intInRange(4, 7), C...
30.191304
102
0.601094
UglySwedishFish
14df380632e44f767b2aae86c8fc5b4a9c599bd3
21,582
hpp
C++
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
2
2016-01-08T19:32:57.000Z
2019-10-11T03:50:34.000Z
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/obsolete/conversion_veneer.hpp * * Purpose: Raw conversion veneer class. * * Created: 30th July 2002 * Updated: 10th August 2009 * * Home: http://stlsoft.org/ * * Copyright (c) 2002-2009, Mat...
31.69163
205
0.660921
wohaaitinciu
14df72b15cb24dfe3065db9ce7c11d1c257a2752
1,677
cpp
C++
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
11
2020-06-19T15:23:36.000Z
2022-03-29T09:58:48.000Z
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
647
2020-04-07T18:40:51.000Z
2022-03-31T21:07:46.000Z
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
785
2020-03-18T01:47:46.000Z
2022-03-31T15:31:52.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 RDK Management * * 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 cop...
49.323529
173
0.702445
dautapankumardora
14e0fa9bf144ac034c73caec50fdca8ffac24f0e
2,089
cc
C++
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:22:38.000Z
2021-03-02T22:22:38.000Z
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
null
null
null
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:23:12.000Z
2021-03-02T22:23:12.000Z
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33.693548
77
0.721398
pikacuh
14e26e4628e22a4a8033745d60c59083df74d500
836
cpp
C++
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> #include <algorithm> using namespace std; int w, m; vector<long long> powers, all[2]; void rec(int i, long long sum, int end, int idx) { if(i == end) { all[idx].push_back(sum); return; } rec(i + 1, sum, end, idx); rec(i + 1, sum + powers[i], end, idx); rec(i + 1, sum - ...
16.076923
66
0.535885
khaled-farouk
14ef66febc537f75f74c13bcd7779b5054b50de8
7,942
cpp
C++
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include <boost/test/unit_test.hpp> #include "test/TensorHelpers.hpp" #include "LayerTests.hpp" #include "backends/CpuTensorHandle.hpp" #include "backends/RefWorkloadFactory.hpp" #include <st...
33.091667
105
0.801939
KevinRodrigues05
14f342ae30c8f9eeecb5589c60e4246f99a48a5f
3,772
hpp
C++
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
4
2022-01-05T14:40:40.000Z
2022-03-05T08:03:19.000Z
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
#include "template/template.hpp" /* * reference : * https://tjkendev.github.io/procon-library/cpp/range_query/kd-tree.html * verify : * https://onlinejudge.u-aizu.ac.jp/problems/DSL_2_C 21/03/29 * https://atcoder.jp/contests/arc010/tasks/arc010_4 21/03/30 */ struct kdtree { struct Point { ...
34.290909
94
0.423383
kuhaku-space
14f3bc9e292df48bb32a96d981acff7f45cdee51
3,063
cpp
C++
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * AbstractTexQuartzRenderer.cpp * * Copyright (C) 2018 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "AbstractTexQuartzRenderer.h" #include "vislib/graphics/gl/IncludeAllGL.h" #include <vector> namespace megamol { namespace demos { /* * AbstractTexQuartzRenderer...
30.326733
106
0.624551
azuki-monster
14f689dd9f23ac8156584dcddb473a9d0edd1df0
220
hh
C++
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
#ifndef USERMODEL #define USERMODEL #include "user.hh" class UserModel{ public: bool insert(User &user); User query(int id); bool updateState(User user); void resetState(); }; #endif /* USERMODEL */
12.941176
32
0.663636
MUCZ
14ff9bff8bce2f9903a8b29a82d16116d03dae0c
580
cpp
C++
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
1
2018-09-15T20:35:23.000Z
2018-09-15T20:35:23.000Z
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
#include <iostream> #include "GetType.h" int main() { const int i = 0; //Output: std::cout << getType(i) << '\n'; //int const unsigned int ui = 0; std::cout << getType(ui) << '\n'; //unsigned int const char c = 0; std::cout << getType(c) << '\n'; //char const bool b = false; std::...
23.2
95
0.527586
GamesTrap
090221e48f082706e2d7383b62d0adb119fdb096
21,652
cpp
C++
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
8
2015-03-16T18:16:35.000Z
2020-10-30T06:35:31.000Z
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
null
null
null
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
3
2016-03-17T08:27:13.000Z
2020-10-30T06:46:50.000Z
/* * Copyright (c) 2006-2009 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
29.024129
338
0.787225
jlclemon
0904adf7cbbba585ae156ead415d792a96316750
4,027
cpp
C++
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
24
2016-07-04T07:17:24.000Z
2021-12-03T18:58:52.000Z
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
2
2018-01-27T11:11:26.000Z
2018-03-19T11:59:01.000Z
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
7
2017-01-04T16:35:57.000Z
2021-10-03T03:40:23.000Z
/* ============================================================================== This file was auto-generated! ============================================================================== */ #include "../JuceLibraryCode/JuceHeader.h" #include "ff_gui_attachments/ff_gui_attachments.h" #include "MainCompone...
31.460938
97
0.636951
modosc
0908e52a400c8c065bc1b489e94b58c6bfe7c914
710
cpp
C++
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
/* bpred-taken.cpp: Static always taken predictor */ /* * __COPYRIGHT__ GT */ #define COMPONENT_NAME "taken" #ifdef BPRED_PARSE_ARGS if(!strcasecmp(COMPONENT_NAME,type)) { return new bpred_taken_t(); } #else class bpred_taken_t:public bpred_dir_t { public: /* CREATE */ bpred_taken_t() { init(); ...
15.106383
52
0.638028
Basseuph
0909e18cd34a9a51ec677dd6746c0a2232c25038
145
hpp
C++
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
#pragma once #include <mlibc/tcb.hpp> #include <stdint.h> namespace mlibc { Tcb *get_current_tcb(); uintptr_t get_sp(); } // namespace mlibc
12.083333
24
0.710345
vinix-os
0909ffb20f77ce06f1a6e30ed5c60373befc0468
1,845
hpp
C++
src/libs/dotparser/Expression.hpp
AirbusCyber/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
171
2017-11-09T00:37:58.000Z
2021-10-20T08:58:44.000Z
src/libs/dotparser/Expression.hpp
QuoSecGmbH/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
2
2018-01-09T12:13:39.000Z
2019-03-11T09:58:36.000Z
src/libs/dotparser/Expression.hpp
AirbusCyber/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
18
2017-11-09T01:17:23.000Z
2020-04-23T07:02:32.000Z
/* * Expression.h * Definition of the structure used to build the syntax tree. */ #ifndef __EXPRESSION_H__ #define __EXPRESSION_H__ #include "graph.hpp" #include "graphIO.hpp" #include "node_info.hpp" #include <stddef.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <iostream> typedef struc...
19.21875
69
0.737127
AirbusCyber
090dcddd5f26674efa0d9183b86319b3f794d507
134,724
cpp
C++
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
1
2022-03-29T23:17:59.000Z
2022-03-29T23:17:59.000Z
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
null
null
null
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
null
null
null
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC // Version: 2018.3 // Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved. // // =========================================================== #include "x_order_fir.h"...
46.94216
519
0.69364
xupsh
090fd6e6ba328840af358250e489abbf6db83d71
817
cpp
C++
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
////////////////////////////////////////////////////// // Copyright (C) Microsoft. 2018. All rights reserved. ////////////////////////////////////////////////////// #include "PlayFabCommonSettings.h" namespace PlayFabCommon { const FString PlayFabCommonSettings::sdkVersion = "1.70.211209"; const FString Play...
37.136364
112
0.69645
parnic-sks
09102ed991acec6383ecdecda5e7412b631308c3
38,522
hxx
C++
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#ifndef OPENGM_LABEL_ORDER_FUNCTION_HXX_ #define OPENGM_LABEL_ORDER_FUNCTION_HXX_ #include <algorithm> #include <vector> #include <cmath> #include <opengm/opengm.hxx> #include <opengm/functions/function_registration.hxx> #include <opengm/utilities/subsequence_iterator.hxx> #include <opengm/functions/constraint_funct...
48.885787
361
0.741005
jasjuang
091037d464c88f3b2609bbc9a494b4f1ac29dd5d
4,219
cpp
C++
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
null
null
null
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
null
null
null
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
1
2021-05-05T08:37:05.000Z
2021-05-05T08:37:05.000Z
/* The MIT License (MIT) Copyright (c) 2014 CantTouchDis <bauschp@informatik.uni-freiburg.de> Copyright (c) 2014 brio1009 <christoph1009@gmail.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...
33.220472
80
0.670301
CantTouchDis
09175a1772e49e91cbe95ac21f6acd5fc93d53db
6,153
hpp
C++
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
1
2020-04-07T07:23:34.000Z
2020-04-07T07:23:34.000Z
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright (c) 2020 INRIA // #ifndef __pinocchio_math_mutliprecision_hpp__ #define __pinocchio_math_mutliprecision_hpp__ #include "pinocchio/math/fwd.hpp" #include <boost/multiprecision/number.hpp> #include <Eigen/Dense> namespace Eigen { namespace internal { template <class Backend, boost::multiprecis...
41.295302
278
0.671705
yDMhaven
091bdd16b600da8268d9fca5284b072e5e926705
1,803
hpp
C++
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
null
null
null
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
null
null
null
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
2
2020-05-31T11:50:35.000Z
2020-06-07T18:38:12.000Z
// Copyright 2020 Anatoliy Petrov // (apetrov.projects@gmail.com) // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #ifndef VARIADIC_DETAIL_NUMERATE_HPP #define VARIADIC_DETAIL_NUMERATE_HPP /* variadic */ #i...
29.557377
77
0.707709
AnatoliyProjects
091f18e0ba1f8dbb57b3151dcacdd3982b303e3b
11,739
cpp
C++
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
1
2022-02-17T21:18:24.000Z
2022-02-17T21:18:24.000Z
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
null
null
null
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2022 Baldur Karlsson * * 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...
30.973615
113
0.653037
orsonbraines
091f4406216dd8f9ec0b6f5bd1801b12107496b4
316
cpp
C++
skia/src/core/SkQuadTreePicture.cpp
bonescreater/bones
618ced87a9a2061b0a7879be32b2fea263880f1b
[ "MIT" ]
16
2015-09-02T17:47:53.000Z
2022-03-01T19:12:53.000Z
src/core/SkQuadTreePicture.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
null
null
null
src/core/SkQuadTreePicture.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
6
2015-11-11T13:22:59.000Z
2022-03-01T19:13:02.000Z
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkQuadTreePicture.h" #include "SkQuadTree.h" SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { return SkNEW_ARGS(SkQuadTree, (fBounds)); }
21.066667
73
0.731013
bonescreater
0926ecc53d84b320e1f4c0f74bdb29549382911e
16,609
cc
C++
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
// this is a silly solution // just to show you how different // components of this framework work // please bring your wise to write // a 'real' solution :) #include <iostream> #include <fstream> #include <string> #include <vector> #include <sstream> #include <map> #include "json/json.h" #include "IR.h...
31.396975
158
0.582756
nbdhhzh
092734362d089f28b986ea8a7a86fa36e070fdf2
11,087
cpp
C++
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard SplitCFA Process Module Version 1.0.6 // ---------------------------...
35.308917
128
0.56697
fmeschia
092cc8fb137d57a9aa8a1af54cbe1913ebfef4c7
772
cpp
C++
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include<bits/stdc++.h> using namespace std; int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while (t--) { int n; cin >> n; vector<pair<int, int>> a; for (int i = 1; i <= n; i++) { int k; cin >> k; a.push_back({k, i}); } sort(a.begin(), a.end()); ...
22.705882
64
0.392487
Tech-Intellegent
092d511caf89f0dfdfe395abed1f9bfbe9c430a1
9,954
cpp
C++
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
#include <memory> #include <optional> #include <utility> #include "Entities/Entity.hpp" #include "Scripting/ScriptEngine.hpp" #include "Audio/SoundTrigger.hpp" #include "Engine/Camera.hpp" #include "Engine/Trigger.hpp" #include "Actor/_TalkingState.hpp" namespace ng { struct Entity::Impl { Engine &_engine; std::ma...
29.713433
104
0.703335
Mac1512
092ddcb732ca5a2361c9dd48e6a35c5f50853686
350
hpp
C++
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
PolyEngineTeam/PolyDock
27a105b2cc80db4286e03a2a1e5bee64438d37c8
[ "MIT" ]
3
2020-05-16T16:33:51.000Z
2021-08-05T18:48:13.000Z
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
30
2020-03-25T17:22:51.000Z
2020-08-17T00:33:04.000Z
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
5
2020-03-26T17:12:34.000Z
2021-03-05T08:08:39.000Z
#pragma once namespace pd::ecs::cmp::tabbedWindow { // --------------------------------------------------------------------------------------------------------- class CloseRequest { public: }; // --------------------------------------------------------------------------------------------------------- class R...
20.588235
109
0.245714
PolyEngineTeam
09341207e208e5874f8eb2ea1c598eb265e9033e
864
cpp
C++
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
class NumArray { private: const int N = 1e5; int n; vector<int> t = vector<int>(2*N); public: void build(){ for(int i=n-1;i>0;i--) t[i] = t[i<<1] +t[i<<1 | 1]; } NumArray(vector<int> nums) { n=nums.size(); for(int i=0; i<n; i++) t[n+i]=nums...
20.571429
66
0.431713
Competitive-Programmers-Community
09397e65e69a15cd883f4dbf77802cee6d966d6a
1,372
cpp
C++
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/base_controller/src/Imu.cpp
AntoBrandi/Dextro-Bot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
3
2021-07-02T15:40:32.000Z
2022-01-09T15:09:51.000Z
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/simplified_controller/src/Imu.cpp
AntoBrandi/DextroBot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
null
null
null
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/simplified_controller/src/Imu.cpp
AntoBrandi/DextroBot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
1
2021-05-22T09:14:18.000Z
2021-05-22T09:14:18.000Z
#include <Imu.h> Imu::Imu(/* args */) { } Imu::~Imu() { } // convert RPY degrees angles to Radians float Imu::toRadians(float degree){ return degree*PI/180; } // reads the value coming from the IMU sensor and update the class parameters void Imu::sense(){ Vector normAccel = mpu.readNormalizeAccel(); ...
27.44
165
0.605685
AntoBrandi
093b3fca4883fb98169ba8001ff1444991746728
3,097
cpp
C++
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#include "Mesh/boundarymeshinfo.hpp" #include <cassert> #include <mpi.h> using namespace mesh; /*--------------------------------------------------------------------------*/ BoundaryMeshInfo::~BoundaryMeshInfo() {} BoundaryMeshInfo::BoundaryMeshInfo(): GeometryObject(){} BoundaryMeshInfo::BoundaryMeshInfo( const B...
40.220779
113
0.699387
beckerrh
093f08509d481524d8ae4aa5c308632a3ebf7aef
356
cpp
C++
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: int findMaxLength(vector<int> &nums) { int n = nums.size(); unordered_map<int, int> dp; int c = 0; int ans = 0; dp[0] = -1; for (int i = 0; i < n; i++) { c += nums[i] ? 1 : -1; if (dp.count(c)) ans = max(ans, i - dp[c]); else dp[c]...
14.833333
40
0.438202
satu0king
0948608a7b29eaae18fdb49ef752352d112ed26c
12,232
cpp
C++
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
1
2019-03-17T06:06:19.000Z
2019-03-17T06:06:19.000Z
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
13
2019-02-21T21:27:44.000Z
2019-02-28T22:47:13.000Z
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
null
null
null
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
39.079872
115
0.805347
rwalraven343
094b05ca1bfdaef50c964e7dda8ac06f8ed3a7db
396
cpp
C++
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <sys/wait.h> // wait #include <stdio.h> #include <unistd.h> //fork int value = 5; int main(){ pid_t pid; pid = fork(); if (pid == 0) { /* child process */ value += 15; return 0; } else if (pid > 0) { /* parent process */ wait(NULL); p...
19.8
58
0.494949
xdanielsb
094d3141328f988eef54456acd4d36168c361e9a
8,596
cpp
C++
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
null
null
null
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
null
null
null
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
1
2019-11-07T16:06:03.000Z
2019-11-07T16:06:03.000Z
/* * Copyright (c) 2015-2015 Irlan Robson http://www.irlans.wordpress.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any...
31.487179
124
0.668334
ChestnutGames
0959eded48ad3f2cf9e3c83095eff3cf19ee341f
4,582
cxx
C++
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015-2016 Intel Corporation. * * 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 limi...
23.141414
83
0.606285
whpenner
0959f0c4e1b8fd7238398cf8b691ed44e495d065
2,953
hpp
C++
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/V...
44.074627
240
0.709448
v0idp
095a7b30837fe2e296d01cf71c341c322ad91b94
4,679
cpp
C++
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
1
2020-03-18T17:00:15.000Z
2020-03-18T17:04:05.000Z
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 /* Purpose: query_items.cpp demonstrates how to perfrom Query operation and retrieve items from an Amazon DynamoDB table. */ //snippet-start:[dynamodb.cpp.query_items.inc] #include <aws/core/Aws.h> #includ...
36.554688
130
0.60312
brmur
095a954b9b931effd33d133383a2ae1d34574731
4,391
cpp
C++
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
90
2020-06-06T12:11:33.000Z
2022-01-04T11:30:24.000Z
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
80
2020-05-19T14:33:34.000Z
2022-03-25T08:00:54.000Z
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
14
2020-07-16T11:35:47.000Z
2022-01-04T03:10:44.000Z
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "../../src/common/DateTime.h" #include "../../src/common/Utility.h" #include "../catch.hpp" #include <ace/Init_ACE.h> #include <ace/OS.h> #include <chrono> #include <fstream> #include <iostream> #include <log4cpp/A...
38.858407
141
0.669551
HanixNicolas
095a9f4ba64148dadce2bc756c03e8ab9972ae13
2,168
cpp
C++
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing-Python-Programs
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
4
2019-10-03T21:16:51.000Z
2019-10-04T01:28:08.000Z
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
/* CH08-320143 a4_p3.cpp Syeda Alizae Fatima s.fatima@jacobs-university.de */ #include <iostream> #include <cstdlib> #include <set> #include <algorithm> using namespace std; int main(){ int n; set <int> A; multiset <int> B; multiset <int> uni; set <int> intersection; ...
22.821053
105
0.480627
aerolalit
095f1354b8a02f6f329d7736e4bb603f5ed9f2b4
710
cpp
C++
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> using namespace std; int N; int S[21][21]; int A[21]; int answer = 99999999; void go(int idx, int cnt) { if (cnt == N / 2) { int A_score = 0; int B_score = 0; for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { if (A[i] == 1 && A[j] == 1...
16.904762
51
0.473239
sjnov11
095feab036982b34e11aea96d4377a8f1939e700
967
cpp
C++
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int n, m, mp[502][502], a[4]={0,1,0,-1}, sx, sy, ex, ey, ans[505][505]; char c[505]; struct node{ int x, y, time; }; queue<node> q; void dfs(){ node s; while(!q.empty()){ s = q.front();q.pop(); if(ans[s.x][s.y] <= s.time) continue; ans[s.x][s.y...
23.02381
71
0.4788
swwind
8231328deb968f632cee6436163ddb145cf4a364
1,093
cpp
C++
libvast/test/index/enumeration_index.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
1
2021-05-14T02:03:17.000Z
2021-05-14T02:03:17.000Z
libvast/test/index/enumeration_index.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
libvast/test/index/enumeration_index.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2020 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #define SUITE value_index #include "vast/index/enumerat...
30.361111
77
0.673376
lava
82375faee2505d17fdd5800bfc7c7b69f49302b5
2,309
cpp
C++
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
#include "HRI.h" #include "bgfx/bgfx.h" #include "bx/math.h" #include <array> #include <vector> #include <memory_resource> using mat4 = std::array<float, 16>; struct HRIContext; static mat4 makeMat4(); struct HRIContext { std::vector<mat4> modelMatrixs; std::vector<mat4> viewMatrixs; std::vector<mat4> projectMa...
18.181102
109
0.689476
qqzz0xx
8241cba0d258a27076a85a09fb31795eaae60bd6
3,995
hpp
C++
tlx/thread_barrier_spin.hpp
mullovc/tlx
e7c17b5981cbd7912b689fa0ad993e18424e26fe
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tlx/thread_barrier_spin.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tlx/thread_barrier_spin.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/thread_barrier_spin.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2015-2019 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ******************...
34.145299
80
0.609262
mullovc
82450868873c8ef8d2b6bbbe2e481dc5b7857c12
1,530
hxx
C++
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
7
2015-04-29T20:38:59.000Z
2021-06-02T11:47:37.000Z
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
null
null
null
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
2
2016-02-02T07:13:45.000Z
2020-10-18T21:39:15.000Z
/* * Copyright (C) 2015,2017 Opersys inc. * * 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 ...
25.5
75
0.690196
ostosh
824afca41ba01026ae5a840d80d20113822a46ed
300
cpp
C++
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
2
2021-03-19T17:42:04.000Z
2021-03-19T18:10:42.000Z
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
19
2016-01-10T23:01:30.000Z
2020-03-05T10:54:06.000Z
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
2
2020-02-28T23:42:41.000Z
2021-03-19T17:42:05.000Z
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include "deep_ptr.h" using namespace jbcoe; TEST_CASE("Ensure that deep_ptr default construction produces a default initialised deep_ptr", "[deep_ptr.constructor]") { deep_ptr<int> instance; REQUIRE(instance.operator->() == nullptr); }
27.272727
120
0.76
jbcoe
82502b5efb095f696d705a99b0e69570d2a5f736
5,604
cpp
C++
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "Commands/AutoSlalom.h" AutoSlalom::AutoSlalom(DriveTrainSubsystemBase *pDrive) { // Use Requires() here to ...
19.257732
106
0.601713
1828Boxerbots