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
12d6710714f7de44b43a998ec1f72793984562dc
367
hpp
C++
library/ATF/tagCONTROLINFO.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/tagCONTROLINFO.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/tagCONTROLINFO.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <HACCEL__.hpp> START_ATF_NAMESPACE struct tagCONTROLINFO { unsigned int cb; HACCEL__ *hAccel; unsigned __int16 cAccel; ...
21.588235
108
0.694823
lemkova
12da3d353b84c8f6e8db0831ff11a4ef89ac2d7c
751
hpp
C++
NINJA/TreeBuilder.hpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilder.hpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilder.hpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
/* * TreeBuilder.hpp * * Created on: Jan 24, 2016 * Author: michel */ #ifndef TREEBUILDER_HPP #define TREEBUILDER_HPP #include <string> #include <vector> #include "TreeNode.hpp" class TreeBuilder{ public: TreeBuilder (std::string** names, int** distances, int namesSize); ~TreeBuilder(); TreeNode* ...
16.326087
68
0.695073
jebrosen
12e2bbd0fd4211ed71f3ca599a3633bc077a2eee
2,292
hpp
C++
code/source/util/profiling.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/util/profiling.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/util/profiling.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_UTIL_PROFILING_HPP #define CLOVER_UTIL_PROFILING_HPP #include "build.hpp" #include "util/preproc_join.hpp" #include <thread> // No profiling on windows due to odd crashes with mingw 4.8.2 #define PROFILING_ENABLED (ATOMIC_PTR_READWRITE == true) namespace clover { namespace util { namespace detail { ...
23.387755
92
0.756108
crafn
12e58bca092d23af2cab801bee2e0b6248e5d27d
7,949
cpp
C++
loginframe.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
6
2020-09-12T08:16:46.000Z
2020-11-19T04:05:35.000Z
loginframe.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
null
null
null
loginframe.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
2
2020-12-11T02:27:56.000Z
2021-11-18T02:15:01.000Z
#include "loginframe.h" #include <QLabel> #include <QLineEdit> #include <QDebug> #include <QCryptographicHash> #include <QMessageBox> #include "vkeyboardex.h" #include "datathread.h" #include "mainwindow.h" extern MainWindow* gWnd; /////////////////////////////////////////////////////////// /// \brief LoginFrame::Lo...
29.550186
119
0.525349
mobile-pos
12ec4045586b0a03ddb1f52dc847cd06f99b7244
7,183
cpp
C++
libgpopt/src/operators/CLogicalDynamicGet.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-05T10:08:56.000Z
2019-03-05T10:08:56.000Z
libgpopt/src/operators/CLogicalDynamicGet.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libgpopt/src/operators/CLogicalDynamicGet.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CLogicalDynamicGet.cpp // // @doc: // Implementation of dynamic table access //--------------------------------------------------------------------------- #include "...
24.940972
174
0.540303
khannaekta
12f20952bf329e98c0583356186b08930a02c495
4,514
hpp
C++
include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: SceneSetupData...
55.728395
208
0.746566
Fernthedev
12f3fcf8b2653271ac4021d0de49448b66472c07
17,881
cpp
C++
OpenXaml/XamlObjects/TextBlock.cpp
benroywillis/OpenXaml
a6313c096b5221344ee2dbcfe6e5a4db8345115c
[ "MIT" ]
1
2019-09-23T03:11:04.000Z
2019-09-23T03:11:04.000Z
OpenXaml/XamlObjects/TextBlock.cpp
benroywillis/OpenXaml
a6313c096b5221344ee2dbcfe6e5a4db8345115c
[ "MIT" ]
null
null
null
OpenXaml/XamlObjects/TextBlock.cpp
benroywillis/OpenXaml
a6313c096b5221344ee2dbcfe6e5a4db8345115c
[ "MIT" ]
2
2019-11-03T01:12:22.000Z
2022-03-07T16:59:32.000Z
#include "OpenXaml/XamlObjects/TextBlock.h" #include "OpenXaml/Environment/Environment.h" #include "OpenXaml/Environment/Window.h" #include "OpenXaml/GL/GLConfig.h" #include "OpenXaml/Properties/Alignment.h" #include "OpenXaml/Properties/TextWrapping.h" #include <algorithm> #include <codecvt> #include <glad/gla...
34.189293
133
0.472904
benroywillis
12f46b29d5676b69947ac6fcd389eb7817116c7a
17,917
cpp
C++
export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_lime_utils_Log #include <lime/utils/Log.h> #endif #ifndef INCLUDED_openfl__internal_stage3D_atf_ATFReader #include <openfl/_internal/stage3D/atf/ATFReader.h> #endif #ifndef INCLUDED_openfl_er...
41.86215
274
0.673718
seanbashaw
12f5591da05d6c59955f5a184bef2c6547d7eee4
1,465
cpp
C++
gym/100283/I.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/100283/I.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/100283/I.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef Adrian #include "debug.h" #else #define debug(...) #endif typedef long long ll; typedef long double ld; typedef complex<ll> point; #define F first #define S second const double EPS=1e-8,oo=1e9; struct fraction { ll x,y; fraction(ll _x, ll _y) { ll g = __gcd(_...
16.647727
59
0.585666
albexl
12fa797a258ef128ff053fdf0cdc7bb9d06a08bc
4,803
hpp
C++
test_interface.hpp
Anadani/oop4
133508256b02dd3cd45569b51cea2367cf880c7a
[ "MIT" ]
null
null
null
test_interface.hpp
Anadani/oop4
133508256b02dd3cd45569b51cea2367cf880c7a
[ "MIT" ]
null
null
null
test_interface.hpp
Anadani/oop4
133508256b02dd3cd45569b51cea2367cf880c7a
[ "MIT" ]
null
null
null
#ifndef TEST_INTERFACE_HPP #define TEST_INTERFACE_HPP #include <iostream> #include <iomanip> #include <limits> #include <string> #include <sstream> #include "tests.hpp" #include "Money.hpp" #include "HotdogStand.hpp" void TEST_INSERTION(bool sign); void TEST_EXTRACTION(bool dSign); void runTests() { using std::c...
48.515152
131
0.549865
Anadani
420173a5e0f49f6d9fc8da4b577e813c3708bfdc
2,152
hh
C++
yagi/include/typemanager.hh
IDAPluginProject/Yagi
a4528c83dff7f87c804140727b06e0359aca1d99
[ "Apache-2.0" ]
null
null
null
yagi/include/typemanager.hh
IDAPluginProject/Yagi
a4528c83dff7f87c804140727b06e0359aca1d99
[ "Apache-2.0" ]
null
null
null
yagi/include/typemanager.hh
IDAPluginProject/Yagi
a4528c83dff7f87c804140727b06e0359aca1d99
[ "Apache-2.0" ]
null
null
null
#ifndef __YAGI_TYPEMANAGER__ #define __YAGI_TYPEMANAGER__ #include <libdecomp.hh> #include <vector> #include <string> #include <optional> #include <map> #include <string> #include "yagiarchitecture.hh" namespace yagi { /*! * \brief Factory become a manager because it's based on the factory backend link to IDA ...
23.139785
89
0.687268
IDAPluginProject
420a42cce075876c01340818edbe4721e3914442
2,370
hpp
C++
include/mgpp/signals/dispatcher.hpp
mjgigli/libmgpp
87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0
[ "MIT" ]
1
2018-12-22T17:35:45.000Z
2018-12-22T17:35:45.000Z
include/mgpp/signals/dispatcher.hpp
mjgigli/libmgpp
87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0
[ "MIT" ]
null
null
null
include/mgpp/signals/dispatcher.hpp
mjgigli/libmgpp
87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Matt Gigli * * 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, publi...
32.465753
79
0.760338
mjgigli
420eea7d8446fc86ddd296db29aee2919795b575
1,733
cpp
C++
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
2
2020-11-18T14:14:06.000Z
2020-11-28T04:55:57.000Z
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
1
2020-12-18T15:47:45.000Z
2020-12-18T15:47:45.000Z
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/fake_quantize_transformation.hpp" #include <memory> #include <tuple> #include <vector> #include <string> #include <ie_core.hpp> #include <transformations/init_node_info.hpp> namespace LayerTests...
34.66
119
0.772072
szabi-luxonis
42190727be040632b2fb81d13aac31992fd155d3
1,333
cpp
C++
f9tws/ExgTradingLineFixFactory.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
21
2019-01-29T14:41:46.000Z
2022-03-11T00:22:56.000Z
f9tws/ExgTradingLineFixFactory.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
f9tws/ExgTradingLineFixFactory.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
9
2019-01-27T14:19:33.000Z
2022-03-11T06:18:24.000Z
// \file f9tws/ExgTradingLineFixFactory.cpp // \author fonwinz@gmail.com #include "f9tws/ExgTradingLineFixFactory.hpp" #include "fon9/fix/FixBusinessReject.hpp" namespace f9tws { ExgTradingLineFixFactory::ExgTradingLineFixFactory(std::string fixLogPathFmt, Named&& name) : base(std::move(fixLogPathFmt), std::move(...
35.078947
94
0.672918
fonwin
4224193f63fde7260b305d76f39e2554c9c08301
1,050
hpp
C++
TypeTraits/IsClassType.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
TypeTraits/IsClassType.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
TypeTraits/IsClassType.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
// // Created by James Landess on 2/4/20. // #ifndef LANDESSDEVCORE_ISCLASSTYPE_HPP #define LANDESSDEVCORE_ISCLASSTYPE_HPP #include "TypeTraits/IsIntegralType.hpp" #include "TypeTraits/IsUnion.hpp" namespace LD { namespace Detail { template<typename T> struct IsClassType { ...
18.421053
102
0.630476
jlandess
4225050630bbee8dac61f9eab48420340b96eec3
624
cpp
C++
thirdparty/ULib/tests/ulib/test_twilio.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/tests/ulib/test_twilio.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/tests/ulib/test_twilio.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// test_twilio.cpp #include <ulib/net/client/twilio.h> int main(int argc, char *argv[]) { U_ULIB_INIT(argv); U_TRACE(5,"main(%d)",argc) UTwilioClient tc(U_STRING_FROM_CONSTANT("SID"), U_STRING_FROM_CONSTANT("TOKEN")); bool ok = tc.getCompletedCalls(); U_INTERNAL_ASSERT(ok) ok = tc.makeCall(U_CO...
24.96
141
0.709936
liftchampion
422833be4725423ad37c6953658757a96f12a245
21,894
cpp
C++
src/lib.cpp
anticrisis/act-http
18a48a35efc76c54e38a1eac762828bd7addf8c0
[ "BSD-3-Clause" ]
2
2021-02-05T21:20:09.000Z
2022-01-19T13:43:39.000Z
src/lib.cpp
anticrisis/tcl-http
18a48a35efc76c54e38a1eac762828bd7addf8c0
[ "BSD-3-Clause" ]
null
null
null
src/lib.cpp
anticrisis/tcl-http
18a48a35efc76c54e38a1eac762828bd7addf8c0
[ "BSD-3-Clause" ]
null
null
null
#include "dllexport.h" #include "http_tcl/http_tcl.h" #include "util.h" #include "version.h" #include <algorithm> #include <iostream> #include <memory> #include <optional> #include <tcl.h> #include <thread> #include <vector> // need a macro for compile-time string concatenation #define theNamespaceName "::act::htt...
27.784264
80
0.591669
anticrisis
42284a1b50025daf4b313acf93994d4c4491247c
4,314
hxx
C++
ImageSharpOpenJpegNative/src/openjpeg.stream.hxx
cinderblocks/ImageSharp.OpenJpeg
bf5c976a6dbfa0d2666be566c845a7410440cea2
[ "Apache-2.0" ]
null
null
null
ImageSharpOpenJpegNative/src/openjpeg.stream.hxx
cinderblocks/ImageSharp.OpenJpeg
bf5c976a6dbfa0d2666be566c845a7410440cea2
[ "Apache-2.0" ]
null
null
null
ImageSharpOpenJpegNative/src/openjpeg.stream.hxx
cinderblocks/ImageSharp.OpenJpeg
bf5c976a6dbfa0d2666be566c845a7410440cea2
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2022 Sjofn LLC. 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 applicab...
44.474227
119
0.64905
cinderblocks
422a2115bc21c765bd1cca906ed584b4d1ca0c01
3,783
cpp
C++
.RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
36
2018-12-18T22:33:36.000Z
2021-10-31T07:03:15.000Z
.RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
1
2020-04-04T16:13:43.000Z
2020-04-05T05:08:17.000Z
.RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
3
2019-04-12T17:37:23.000Z
2020-09-30T15:50:31.000Z
#include "pch.h" #include "rtcvCommon.h" #include "rtcvHookHandler.h" #include "rtcvTalkServer.h" namespace rtcv { TalkServer::TalkServer() { auto exe_path = rt::GetMainModulePath(); auto config_path = rt::GetCurrentModuleDirectory() + "\\" + rtcvConfigFile; auto settings = rt::GetOrAddServerSettings(conf...
27.215827
94
0.597409
i-saint
422abceab02e1f78d551c813dcfafaeb7b3316f8
1,027
cpp
C++
DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp
sumanthbolle/DataStructures-Algorithms
d04edbcdd0794f5668e26bd003b46548150eccbc
[ "MIT" ]
1
2021-02-11T15:07:17.000Z
2021-02-11T15:07:17.000Z
DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp
sumanthbolle/DataStructures-Algorithms
d04edbcdd0794f5668e26bd003b46548150eccbc
[ "MIT" ]
null
null
null
DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp
sumanthbolle/DataStructures-Algorithms
d04edbcdd0794f5668e26bd003b46548150eccbc
[ "MIT" ]
null
null
null
// O(nlogn) #include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; vector<int> arr(n, 0); for (int i = 0; i < n; ++i) cin >> arr[i]; sort(arr.begin(), arr.end()); for (int i = 0; i < n; ++i) cout << arr[i] << " "; c...
13.693333
37
0.351509
sumanthbolle
422f8f65625cf6e361471362aadeddbdb1afa670
2,040
cpp
C++
als/main.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
als/main.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
als/main.cpp
al-petrushin/kubsu-cpp-tasks
c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9
[ "MIT" ]
null
null
null
// // Created by Александр Петрушин on 26.04.2021. // #include <vector> #include <functional> #include <iostream> #include <fstream> #include "linear_regression.h" #include "gradient.h" #include "errors.h" //#include "matplotlibcpp.h" using namespace std; std::function<double(double)> Eval(vector<double> input, vec...
29.565217
111
0.631373
al-petrushin
42343997e5cbaabd2bfbd8b043a5e62720235bc0
3,837
cpp
C++
sysy2riscv/ast_tigger.cpp
Yibo-He/sysyCompiler
fd95b17153b565d9ccb69c296cdcc8be64670b11
[ "MIT" ]
7
2021-06-06T05:26:38.000Z
2021-12-25T08:19:43.000Z
sysy2riscv/ast_tigger.cpp
Yibo-He/sysyCompiler
fd95b17153b565d9ccb69c296cdcc8be64670b11
[ "MIT" ]
null
null
null
sysy2riscv/ast_tigger.cpp
Yibo-He/sysyCompiler
fd95b17153b565d9ccb69c296cdcc8be64670b11
[ "MIT" ]
null
null
null
#include "ast_tigger.hpp" int string2num(const string s){ return atoi(s.c_str()); } string num2string_3(int num){ string ans = to_string(num); return ans; } int op2int(string op){ if(!strcmp(op.c_str(),"+")) return Plus; if(!strcmp(op.c_str(),"-")) return Minus; if(!strcmp(op.c_str(),"*")) retu...
35.201835
135
0.562419
Yibo-He
4236f3c151d40f8581667f417cbe6145c80ffa77
2,335
hpp
C++
addons/main/weapons/CfgWeapMG.hpp
johnb432/Weapons-Balance-FOW
9d72a7f5a86b59ed6c651b62a39cc08dd21f694e
[ "MIT" ]
null
null
null
addons/main/weapons/CfgWeapMG.hpp
johnb432/Weapons-Balance-FOW
9d72a7f5a86b59ed6c651b62a39cc08dd21f694e
[ "MIT" ]
null
null
null
addons/main/weapons/CfgWeapMG.hpp
johnb432/Weapons-Balance-FOW
9d72a7f5a86b59ed6c651b62a39cc08dd21f694e
[ "MIT" ]
null
null
null
//https://old.weaponsystems.net/weaponsystem/AA06%20-%20Bren.html class fow_w_bren: fow_rifle_base { ACE_barrelLength = 635; ACE_barrelTwist = 254; ACE_Overheating_allowSwapBarrel = 1; displayName = "Bren Mk.II"; magazineReloadTime = 0; magazineWell[] += {"CBA_303B_BREN"}; class WeaponSlotsI...
25.944444
65
0.667238
johnb432
423765ec487b397f7871841a4b4f5ae931495248
1,882
cpp
C++
src/ColdTowerShopItem.cpp
dgi09/Tower-Defence
2edd53d50c9f913d00de26e7e2bdc5e8b950cc02
[ "BSD-2-Clause" ]
1
2021-07-28T15:24:00.000Z
2021-07-28T15:24:00.000Z
src/ColdTowerShopItem.cpp
dgi09/Tower-Defence
2edd53d50c9f913d00de26e7e2bdc5e8b950cc02
[ "BSD-2-Clause" ]
null
null
null
src/ColdTowerShopItem.cpp
dgi09/Tower-Defence
2edd53d50c9f913d00de26e7e2bdc5e8b950cc02
[ "BSD-2-Clause" ]
null
null
null
#include "ColdTowerShopItem.h" #include "GamePlayMediator.h" #include "ArenaHeap.h" #include <functional> #include "GUISystem.h" #include "TowerCreationTool.h" #include "ToolManager.h" #include "SplashCreationTool.h" ColdTowerShopItem::ColdTowerShopItem(void) { } ColdTowerShopItem::~ColdTowerShopItem(void) { } vo...
17.109091
103
0.745484
dgi09
423e648f5f47046258fed6b8938ba99d024c7d8f
3,229
cpp
C++
src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the demonstration applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding...
35.483516
102
0.691855
power-electro
4244cf3519c3f83103e5e498a05f02df486a4631
91
cc
C++
muduo/net/boilerplate.cc
923310233/muduoTest
03c291df5605479ece4fc031ab3dd619c8c8f73a
[ "BSD-3-Clause" ]
null
null
null
muduo/net/boilerplate.cc
923310233/muduoTest
03c291df5605479ece4fc031ab3dd619c8c8f73a
[ "BSD-3-Clause" ]
null
null
null
muduo/net/boilerplate.cc
923310233/muduoTest
03c291df5605479ece4fc031ab3dd619c8c8f73a
[ "BSD-3-Clause" ]
null
null
null
#include "muduo/net/BoilerPlate.h" using namespace muduo; using namespace muduo::net;
10.111111
34
0.747253
923310233
424639e79751125238e05d98a96dd490fced1f81
1,074
cpp
C++
workshop8/IntlPhone.cpp
PavanKamra96/BTP200
516f5ed60452da53d47206caef22423825a3145e
[ "MIT" ]
null
null
null
workshop8/IntlPhone.cpp
PavanKamra96/BTP200
516f5ed60452da53d47206caef22423825a3145e
[ "MIT" ]
null
null
null
workshop8/IntlPhone.cpp
PavanKamra96/BTP200
516f5ed60452da53d47206caef22423825a3145e
[ "MIT" ]
null
null
null
#include <iostream> #include "Phone.h" IntlPhone::IntlPhone(){ country_Code = 0; } IntlPhone::IntlPhone(int regionCode, int areaCode, int localNumber): Phone(areaCode, localNumber) { //ctor if (regionCode >= 1 && regionCode <= 999) { country_Code = regionCode; } else *this = IntlPhone(); ...
21.918367
100
0.608007
PavanKamra96
42465f2891251668ec041517ceea4841891deed4
800
cpp
C++
src/components/src/core/Component.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
6
2021-04-20T10:32:29.000Z
2021-06-05T11:48:56.000Z
src/components/src/core/Component.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
1
2021-05-18T21:00:12.000Z
2021-06-02T07:59:03.000Z
src/components/src/core/Component.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
3
2020-09-12T08:54:04.000Z
2021-04-17T11:16:36.000Z
#include "Component.h" #include "ComponentOwner.h" namespace components::core { Component::Component(ComponentOwner* ownerInit) : owner{ownerInit} {} void Component::loadDependentComponents() {} void Component::update(utils::DeltaTime, const input::Input&) {} void Component::lateUpdate(utils::DeltaTime, const inpu...
16
69
0.70625
walter-strazak
4247f6d342a62cdcce8c0dab9c859a873e016ffa
13,178
cpp
C++
Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function BP_FortExpeditionListItem.BP...
33.277778
213
0.773258
Milxnor
424b68c2de65ac475af42da66f7a935a66b8460f
299
cpp
C++
13_ploymorph/main.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
1
2021-06-17T11:37:42.000Z
2021-06-17T11:37:42.000Z
13_ploymorph/main.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
null
null
null
13_ploymorph/main.cpp
Aaron-labo/Cpp_StudyNotes
afff37736468b26dad87e9b5cda90f1e5f1efb06
[ "Unlicense" ]
null
null
null
#include "Circle.h" #include "Rect.h" int main() { Circle c(1, 2, 3); Rect r(10, 20, 30, 40); Shape s(1, 2); s.show(); int input; while (1) { cin >> input; switch (input) { case 1: s = &c;; s->show(); break; case 2: s = &r;; s->show(); break; } } return 0; }
10.678571
24
0.478261
Aaron-labo
424f0a9d20c8f5343f00778ce197924e1945e367
1,178
cpp
C++
Based_Engine/Based_Engine/TextureResource.cpp
Sanmopre/Based_Engine
2a408dc501f6357bde9872e2eef70f67295e0a3a
[ "MIT" ]
null
null
null
Based_Engine/Based_Engine/TextureResource.cpp
Sanmopre/Based_Engine
2a408dc501f6357bde9872e2eef70f67295e0a3a
[ "MIT" ]
null
null
null
Based_Engine/Based_Engine/TextureResource.cpp
Sanmopre/Based_Engine
2a408dc501f6357bde9872e2eef70f67295e0a3a
[ "MIT" ]
null
null
null
#include "TextureResource.h" #include "FileSystem.h" TextureResource::TextureResource(uint uid, const char* assetsFile, const char* libraryFile) : Resource(uid, FileType::IMAGE, assetsFile, libraryFile) { } TextureResource::~TextureResource() { } const Texture TextureResource::GetTexture() const { return te...
20.666667
91
0.643463
Sanmopre
425b96f71cb7f3ec403821d7c11418ca6bf893b4
2,999
hpp
C++
include/libtorrent/aux_/websocket_tracker_connection.hpp
redchief/libtorrent
42917790b1606b5ea0cf5385fde44536c7040a27
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
include/libtorrent/aux_/websocket_tracker_connection.hpp
redchief/libtorrent
42917790b1606b5ea0cf5385fde44536c7040a27
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
include/libtorrent/aux_/websocket_tracker_connection.hpp
redchief/libtorrent
42917790b1606b5ea0cf5385fde44536c7040a27
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2019 Paul-Louis Ageneau Copyright (c) 2020, Paul-Louis Ageneau All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #ifndef TORRENT_WEBSOCKET_TRACKER_CONNECTION_HPP_INCLUDED #define TORRENT_WEBSOCKET_TRACKER_CONNECTION_HPP_INCLUDE...
27.263636
84
0.791931
redchief
425f925acdc49fd521e74e7d0237aea88e107117
470
hpp
C++
Results.hpp
h-g-s/ddtree
4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4
[ "MIT" ]
1
2019-11-30T14:48:40.000Z
2019-11-30T14:48:40.000Z
Results.hpp
h-g-s/ddtree
4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4
[ "MIT" ]
null
null
null
Results.hpp
h-g-s/ddtree
4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4
[ "MIT" ]
null
null
null
/* * Results.hpp * * Created on: 27 de fev de 2019 * Author: haroldo */ #ifndef RESULTS_HPP_ #define RESULTS_HPP_ #include <string> #include <vector> #include "InstanceSet.hpp" class Results { public: Results( const InstanceSet &_iset, const char *resFile ); const std::vector< std::string > &alg...
15.666667
61
0.659574
h-g-s
42659843db1fe95995440df1b137db6d97ff4dfe
16,470
cpp
C++
Windows Pin/Windows Pin.cpp
barty32/windows-pin
d89fb0352c5934c403efcfb6518979717920876c
[ "MIT" ]
null
null
null
Windows Pin/Windows Pin.cpp
barty32/windows-pin
d89fb0352c5934c403efcfb6518979717920876c
[ "MIT" ]
null
null
null
Windows Pin/Windows Pin.cpp
barty32/windows-pin
d89fb0352c5934c403efcfb6518979717920876c
[ "MIT" ]
null
null
null
// Windows Pin.cpp : Defines the entry point for the application. // #include "Windows Pin.h" #include "PinDll.h" bool g_bPinning = false; HCURSOR g_hPinCursor = NULL; std::list<HWND> g_pinnedWnds; // Global Variables: HINSTANCE hInst; HWND hWndMain; const UINT WM_TASKBARCREATED = RegisterWindowMessageW(L"...
29.253996
167
0.702975
barty32
4266219ebae7d643ef0606185beb79535329e25e
54
cpp
C++
source/framework/algorithm/src/local_operation/cos.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/algorithm/src/local_operation/cos.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
131
2020-10-27T13:09:16.000Z
2022-03-29T10:24:26.000Z
source/framework/algorithm/src/local_operation/cos.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
null
null
null
#include "lue/framework/algorithm/definition/cos.hpp"
27
53
0.814815
computationalgeography
4269de30fa7cfb72d6b42b76f5231eb530d0a6ee
12,518
cpp
C++
src/samples/aiff/aiff.cpp
eriser/hivetrekkr
bac051e587fb53fc47bbd18066059c2c402b5720
[ "BSD-2-Clause" ]
1
2018-10-22T11:32:30.000Z
2018-10-22T11:32:30.000Z
src/samples/aiff/aiff.cpp
eriser/hivetrekkr
bac051e587fb53fc47bbd18066059c2c402b5720
[ "BSD-2-Clause" ]
null
null
null
src/samples/aiff/aiff.cpp
eriser/hivetrekkr
bac051e587fb53fc47bbd18066059c2c402b5720
[ "BSD-2-Clause" ]
1
2019-03-05T15:39:57.000Z
2019-03-05T15:39:57.000Z
// ------------------------------------------------------ // Protrekkr // Based on Juan Antonio Arguelles Rius's NoiseTrekker. // // Copyright (C) 2008-2014 Franck Charlet. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided th...
28.067265
81
0.506071
eriser
426d9e182fd082858b230aa1f5cd48f10aac8725
3,192
cc
C++
modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc
minstrelsy/webrtc-official
cfe75c12ee04d17e7898ebc0a8ad1051b6627e53
[ "BSD-3-Clause" ]
305
2020-03-31T14:12:50.000Z
2022-03-19T16:45:49.000Z
modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc
daixy111040536/webrtc
7abfc990c00ab35090fff285fcf635d1d7892433
[ "BSD-3-Clause" ]
23
2020-04-29T11:41:23.000Z
2021-09-07T02:07:57.000Z
modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc
daixy111040536/webrtc
7abfc990c00ab35090fff285fcf635d1d7892433
[ "BSD-3-Clause" ]
122
2020-04-17T11:38:56.000Z
2022-03-25T15:48:42.000Z
/* * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
33.957447
88
0.794486
minstrelsy
f11737a8bdf71e8e728cc3403ef9cde13391f555
3,515
cpp
C++
gfx/region_pixman.cpp
clarfonthey/laf
305592194e3d89dfe6d16648bf84576a2f7b05a5
[ "MIT" ]
186
2017-04-25T12:13:05.000Z
2022-03-30T08:06:47.000Z
gfx/region_pixman.cpp
clarfonthey/laf
305592194e3d89dfe6d16648bf84576a2f7b05a5
[ "MIT" ]
34
2016-12-20T16:33:31.000Z
2022-03-29T21:07:52.000Z
gfx/region_pixman.cpp
clarfonthey/laf
305592194e3d89dfe6d16648bf84576a2f7b05a5
[ "MIT" ]
47
2016-12-19T17:23:46.000Z
2022-03-30T19:45:55.000Z
// LAF Gfx Library // Copyright (C) 2001-2015 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "pixman.h" #include "base/debug.h" #include "gfx/point.h" #include "gfx/region.h" #include <c...
20.085714
83
0.702703
clarfonthey
f119ccfb9176845b806213b365af93a316cf0fff
6,870
cpp
C++
frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzEntityConsts.h> #include "dmzEntityPluginWheels.h" #include <dmzObjectAttributeMasks.h> #include <dmzObjectConsts.h> #include <dmzObjectModule.h> #include <dmzRuntimeConfig.h> #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzRuntimePluginInfo.h> #include ...
22.82392
85
0.604658
shillcock
f11edf0045a11ad72e3bb5d8fd84b19f5e9060ea
977
cpp
C++
Engine/src/Traceability/Logger.cpp
LinMAD/Nibble
65a8d12810335d832512812740f86bd8df14feb0
[ "MIT" ]
null
null
null
Engine/src/Traceability/Logger.cpp
LinMAD/Nibble
65a8d12810335d832512812740f86bd8df14feb0
[ "MIT" ]
null
null
null
Engine/src/Traceability/Logger.cpp
LinMAD/Nibble
65a8d12810335d832512812740f86bd8df14feb0
[ "MIT" ]
null
null
null
#include "pch.h" #include "Logger.h" #include "spdlog/sinks/stdout_color_sinks.h" namespace Nibble { std::shared_ptr<spdlog::logger> Logger::s_CoreLogger; std::shared_ptr<spdlog::logger> Logger::s_ClientLogger; Logger::Logger() { } Logger::~Logger() { } void Logger::Init() { // https:/...
28.735294
77
0.64176
LinMAD
f121c81e2a556a26ce7c1dbda509bdc8ae36dcc9
1,344
hpp
C++
src/sensors/interface.hpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
9
2021-07-31T16:22:24.000Z
2022-01-19T18:14:31.000Z
src/sensors/interface.hpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
91
2021-07-29T18:21:30.000Z
2022-03-31T20:44:55.000Z
src/sensors/interface.hpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include <data/data.hpp> namespace hyped { using data::BatteryData; using data::ImuData; using data::NavigationVector; using data::StripeCounter; using data::TemperatureData; namespace sensors { class SensorInterface { public: /** * @brief Check if sensor is responding, i.e. c...
19.764706
71
0.680804
Hyp-ed
f1221f59c63a06cf4df50f1e2769796ba5ba222c
332
cpp
C++
Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp
redcatbox/Instanced
347790e8ade0c6e6fb9b742afc78c764414ed36a
[ "MIT" ]
1
2022-02-03T17:10:29.000Z
2022-02-03T17:10:29.000Z
Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp
redcatbox/Instanced
347790e8ade0c6e6fb9b742afc78c764414ed36a
[ "MIT" ]
null
null
null
Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp
redcatbox/Instanced
347790e8ade0c6e6fb9b742afc78c764414ed36a
[ "MIT" ]
null
null
null
// redbox, 2021 #include "Components/Operations/IPOperationAlignBase.h" UIPOperationAlignBase::UIPOperationAlignBase() { #if WITH_EDITORONLY_DATA bInstancesNumEditCondition = false; bAlignToSurface = false; OffsetInTraceDirection = 0.f; bReverse = false; bTraceComplex = false; bIgnoreSelf = true; DrawTime = 5....
19.529412
55
0.777108
redcatbox
f1226e2ec401b0be3b8b0af702bb3de980341b25
725
cpp
C++
dmoj/dmopc/2014/contest-2/deforestation.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
dmoj/dmopc/2014/contest-2/deforestation.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
dmoj/dmopc/2014/contest-2/deforestation.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int trees; cin >> trees; vector<unsigned int> prefix_sums(trees + 1); for (unsigned int i ...
16.477273
64
0.56
Rkhoiwal
f124100905a0dd50b377e341d084a768cc278f82
1,151
cpp
C++
cref/10_enums.cpp
admantium-sg/learning-cpp
cc827a8d7eabceac32069bb7f5a64b3c0fe488f4
[ "BSD-3-Clause" ]
null
null
null
cref/10_enums.cpp
admantium-sg/learning-cpp
cc827a8d7eabceac32069bb7f5a64b3c0fe488f4
[ "BSD-3-Clause" ]
null
null
null
cref/10_enums.cpp
admantium-sg/learning-cpp
cc827a8d7eabceac32069bb7f5a64b3c0fe488f4
[ "BSD-3-Clause" ]
null
null
null
/* * --------------------------------------- * Copyright (c) Sebastian Günther 2021 | * | * devcon@admantium.com | * | * SPDX-License-Identifier: BSD-3-Clause | * --------------------------------------- */ #include ...
24.489362
75
0.519548
admantium-sg
f1292ef8610d84e7d6c789af02652b45f680a893
573
cpp
C++
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp
arpangoswami/LeetcodeSolutions
17a2450cacf0020c2626023012a5a354c8fee5da
[ "MIT" ]
null
null
null
class Solution { public: int longestSubarray(vector<int>& nums, int limit) { int left = 0; int n = nums.size(); multiset<int> windowElements; int ans = 1; for(int i=0;i<n;i++){ windowElements.insert(nums[i]); while(left <= i && (*windowElements.rbegin(...
30.157895
93
0.490401
arpangoswami
f12b3726fca9bd6e160b866808b266980538cc88
3,681
cpp
C++
Source/Framework/Core/GameComponentContainer.cpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
Source/Framework/Core/GameComponentContainer.cpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
Source/Framework/Core/GameComponentContainer.cpp
gabr1e11/cornerstone
bc696e22af350b867219ef3ac99840b3e8a3f20a
[ "MIT" ]
null
null
null
// // GameComponentContainer.cpp // // @author Roberto Cano // #include "GameComponentContainer.hpp" using namespace Framework; using namespace Framework::Core; using namespace Framework::Types; void GameComponentContainer::addComponent(Types::GameComponent::PtrType component) { const ComponentId& componentId = com...
25.741259
144
0.784569
gabr1e11
f133409731a3a8155fbf3128a4b1e316847324c6
240
cpp
C++
src/trap_instances/SegmentLdr.cpp
DavidLudwig/executor
eddb527850af639b3ffe314e05d92a083ba47af6
[ "MIT" ]
2
2019-09-16T15:51:39.000Z
2020-03-04T08:47:42.000Z
src/trap_instances/SegmentLdr.cpp
probonopd/executor
0fb82c09109ec27ae8707f07690f7325ee0f98e0
[ "MIT" ]
null
null
null
src/trap_instances/SegmentLdr.cpp
probonopd/executor
0fb82c09109ec27ae8707f07690f7325ee0f98e0
[ "MIT" ]
null
null
null
#define INSTANTIATE_TRAPS_SegmentLdr #include <SegmentLdr.h> // Function for preventing the linker from considering the static constructors in this module unused namespace Executor { namespace ReferenceTraps { void SegmentLdr() {} } }
24
100
0.791667
DavidLudwig
f1368c3c646265606a2f4ca855cf81b325293b08
269
cpp
C++
cpp_algs/bst/test_new.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/bst/test_new.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
cpp_algs/bst/test_new.cpp
vitalir2/AlgorithmsCpp
f9a1b7a0b51c6f122ff600008d2c0ef72a26502f
[ "MIT" ]
null
null
null
#include <iostream> void f(double* n) { n = new double(4); } void g(double* n) { delete n; } int main() { double* x = new double(5); f(x); std::cout << *x << std::endl; g(x); std::cout << *x << std::endl; int* m = nullptr; delete m; return 0; }
12.227273
31
0.520446
vitalir2
f13712f5a4d5b34c049fdc782a7bbe51a4e909a6
9,958
cpp
C++
src/websocket/frame_websocket.cpp
hl4/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
166
2019-04-15T03:19:31.000Z
2022-03-26T05:41:12.000Z
src/websocket/frame_websocket.cpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
9
2019-07-18T06:09:59.000Z
2021-01-27T04:19:04.000Z
src/websocket/frame_websocket.cpp
YangKefan/da4qi4
9dfb8902427d40b392977b4fd706048ce3ee8828
[ "Apache-2.0" ]
43
2019-07-03T05:41:57.000Z
2022-02-24T14:16:09.000Z
#include "daqi/websocket/frame_websocket.hpp" #include <cstring> namespace da4qi4 { namespace Websocket { std::string FrameBuilder::Build(char const* data, size_t len) { std::string buffer; size_t externded_payload_len = (len <= 125 ? 0 : (len <= 65535 ? 2 : 8)); size_t mask_key_len = ((len && _frame_hea...
28.37037
114
0.586463
hl4
f137c5d4c66f20fd9810d8e5203c0a323e4e585e
2,893
cpp
C++
lib/src/agents/proximity_sensor.cpp
eidelen/maf
759b4b4a21962de8ec53dd198bc5bf66c19ee017
[ "MIT" ]
null
null
null
lib/src/agents/proximity_sensor.cpp
eidelen/maf
759b4b4a21962de8ec53dd198bc5bf66c19ee017
[ "MIT" ]
null
null
null
lib/src/agents/proximity_sensor.cpp
eidelen/maf
759b4b4a21962de8ec53dd198bc5bf66c19ee017
[ "MIT" ]
null
null
null
/**************************************************************************** ** Copyright (c) 2021 Adrian Schneider ** ** 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,...
28.93
106
0.663671
eidelen
f137ef2add0af378ea99b08270988355bd06f43b
212
cpp
C++
TestProject/Source/TestProject/TestProject.cpp
1Gokul/TestProject
e732c65440537252bd02b9b527ac9a084f4ce44c
[ "MIT" ]
3
2020-07-06T19:46:42.000Z
2021-12-06T11:23:17.000Z
TestProject/Source/TestProject/TestProject.cpp
1Gokul/TestProject
e732c65440537252bd02b9b527ac9a084f4ce44c
[ "MIT" ]
null
null
null
TestProject/Source/TestProject/TestProject.cpp
1Gokul/TestProject
e732c65440537252bd02b9b527ac9a084f4ce44c
[ "MIT" ]
1
2021-12-06T11:23:48.000Z
2021-12-06T11:23:48.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "TestProject.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultGameModuleImpl, TestProject, "TestProject");
30.285714
83
0.783019
1Gokul
f138a7c9b24826789f4657efba62850bfafede9b
3,047
cpp
C++
go/runtime/cgosymbolizer/symbolizer.cpp
searKing/golang
b386053582e223fc1f4c4ab3c2d73ab423cefef2
[ "MIT" ]
37
2019-11-19T15:42:09.000Z
2022-03-27T07:55:42.000Z
go/runtime/cgosymbolizer/symbolizer.cpp
searKing/golang
b386053582e223fc1f4c4ab3c2d73ab423cefef2
[ "MIT" ]
5
2020-10-28T06:55:54.000Z
2021-06-19T05:25:46.000Z
go/runtime/cgosymbolizer/symbolizer.cpp
searKing/golang
b386053582e223fc1f4c4ab3c2d73ab423cefef2
[ "MIT" ]
8
2019-12-17T05:56:18.000Z
2021-08-17T20:36:41.000Z
// Copyright 2021 The searKing Author. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "symbolizer.h" #include <stdint.h> #include <string.h> #include <sys/types.h> #include <boost/stacktrace/frame.hpp> #include <boost/stacktrace/st...
27.954128
79
0.653758
searKing
f13ca97b2f05ebd5a61231499adceea695401023
7,774
cpp
C++
unique_paths.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
unique_paths.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
unique_paths.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/unique-paths/ #include <vector> #include "utils.h" namespace unique_paths { // Note: All solutions return int as required by the initial problem, but // 32-bit signed integer can hold the result for at most the 17x18 grid. // The straightforward solution, recursively count...
32.123967
97
0.531515
artureganyan
f13e6e63b73ef115d8ca7a445339307d0a7f6eca
176,331
cpp
C++
GCG_Source.build/module.django.utils._os.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.utils._os.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.utils._os.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'django.utils._os' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * 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 ...
33.741102
255
0.714514
Pckool
f149c82d43c60e6684a451990867bad9a9cb791c
866
cpp
C++
InAirState.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
1
2022-03-13T09:02:50.000Z
2022-03-13T09:02:50.000Z
InAirState.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
1
2022-03-13T09:04:33.000Z
2022-03-13T18:56:32.000Z
InAirState.cpp
thomasvt/stuck
eb590f4218d8eb00199518c8f0c1d3225216d412
[ "MIT" ]
null
null
null
#include <InAirState.h> #include <Hero.h> #include "HeroAnimations.h" namespace actors { namespace hero { void InAirState::update(Hero& hero) { if (hero.rigid_body.is_on_floor()) hero.fsm_.change_state(HeroFsm::hero_state::on_floor); if (hero.rigid_body.is_on_ladder() && !hero.rigid_body.is_going_up()...
26.242424
123
0.720554
thomasvt
f14b22aad4767d594ef33df2293217cfc40f5233
4,355
cc
C++
video.cc
SolraBizna/teg
05a307f2f3b359f3462cba23e15dbda8d6af66fc
[ "Zlib" ]
null
null
null
video.cc
SolraBizna/teg
05a307f2f3b359f3462cba23e15dbda8d6af66fc
[ "Zlib" ]
null
null
null
video.cc
SolraBizna/teg
05a307f2f3b359f3462cba23e15dbda8d6af66fc
[ "Zlib" ]
null
null
null
#include "video.hh" #include "config.hh" #include "xgl.hh" using namespace Video; const uint32_t Video::uninitialized_context_cookie = 0; uint32_t Video::opengl_context_cookie = uninitialized_context_cookie; #ifndef DEFAULT_WINDOWED_WIDTH #define DEFAULT_WINDOWED_WIDTH 640 #endif #ifndef DEFAULT_WINDOWED_HEIGHT #d...
27.738854
117
0.702181
SolraBizna
f14c2349718a37f8d01d88242163e8662d181f54
14,692
cpp
C++
OgreMain/src/OgreASTCCodec.cpp
resttime/ogre-next
7435e60bd6df422d2fb4c742a493c3f37ef9a7a9
[ "MIT" ]
701
2019-09-08T15:56:41.000Z
2022-03-31T05:51:26.000Z
OgreMain/src/OgreASTCCodec.cpp
resttime/ogre-next
7435e60bd6df422d2fb4c742a493c3f37ef9a7a9
[ "MIT" ]
204
2019-09-01T23:02:32.000Z
2022-03-28T14:58:39.000Z
OgreMain/src/OgreASTCCodec.cpp
resttime/ogre-next
7435e60bd6df422d2fb4c742a493c3f37ef9a7a9
[ "MIT" ]
188
2019-09-05T05:14:46.000Z
2022-03-22T21:51:39.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person...
37.865979
148
0.487953
resttime
f14ccaa4af8babd8f33583d2a19d07f1d66fe96b
1,409
hh
C++
include/Activia/ActGuiInput.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:23.000Z
2020-11-04T08:32:23.000Z
include/Activia/ActGuiInput.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
null
null
null
include/Activia/ActGuiInput.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:30.000Z
2020-11-04T08:32:30.000Z
#ifdef ACT_USE_QT #ifndef ACT_GUI_INPUT_HH #define ACT_GUI_INPUT_HH #include "Activia/ActAbsInput.hh" #include "Activia/ActOutputSelection.hh" #include "Activia/ActGuiWindow.hh" #include <iostream> #include <fstream> #include <string> /// \brief Define the inputs (target, products, spectrum, algorithms) for the cod...
23.483333
92
0.74237
UniversityofWarwick
f14dd9ea676999232cb222f6795a7e021eb553e4
488
cpp
C++
Leetcode/Leaf-Similar Trees.cpp
Lucifermaniraj/Hacktoberfest2021
ec62edfad0d483e4b65874f37c0142d7154adb7b
[ "MIT" ]
null
null
null
Leetcode/Leaf-Similar Trees.cpp
Lucifermaniraj/Hacktoberfest2021
ec62edfad0d483e4b65874f37c0142d7154adb7b
[ "MIT" ]
null
null
null
Leetcode/Leaf-Similar Trees.cpp
Lucifermaniraj/Hacktoberfest2021
ec62edfad0d483e4b65874f37c0142d7154adb7b
[ "MIT" ]
null
null
null
class Solution { public: vector<int> v; bool leafSimilar(TreeNode* root1, TreeNode* root2) { vector<int> v1, v2; leaves(root1, v1); leaves(root2, v2); return v1==v2; } void leaves(TreeNode* root, vector<int>& v) { if(!root) retur...
21.217391
56
0.471311
Lucifermaniraj
f14f99a466eaf87278065fade561b9f0e0ae7cae
1,097
hpp
C++
libraries/include/Engine/Shader.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
3
2015-04-25T22:57:58.000Z
2019-11-05T18:36:31.000Z
libraries/include/Engine/Shader.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
1
2016-06-23T15:22:41.000Z
2016-06-23T15:22:41.000Z
libraries/include/Engine/Shader.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
null
null
null
#ifndef SHADER_H #define SHADER_H #include <string> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <Engine/NonCopyable.hpp> namespace Engine { class Shader : private NonCopyable { public: /** * Shader types. */ enum Type { VertexShader = GL_VERTEX_SHADER, FragmentShader = GL_FRAGMENT_SHA...
14.824324
67
0.621696
kermado
f150a727cad6a3e7269e4ced9a2a70305180e5ea
6,816
hpp
C++
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
47
2016-07-05T15:20:33.000Z
2021-08-06T05:38:33.000Z
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
30
2016-07-03T22:42:11.000Z
2017-11-17T15:58:10.000Z
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
8
2016-07-22T20:07:58.000Z
2017-11-05T10:40:29.000Z
/* |---------------------------------------------------------| | ___ ___ _ _ | | / _ \ _ __ ___ _ __ |_ _|_ __ | |_ ___ _ __ | |_ | | | | | | '_ \ / _ \ '_ \ | || '_ \| __/ _ \ '_ \| __| | | | |_| | |_) | __/ | | || || | | | || __/ | | | |_ | | \___/| .__/ \...
30.841629
79
0.606808
open-intent-io
f15150a1d26756736ba76e08aba31173a98f6fe0
1,631
hpp
C++
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
#pragma once #include "Common/CommonStandard.hpp" #include "Physics2dCore/Detection/Broadphase/BroadphaseLayerType.hpp" namespace SandboxGeometry { class Ray2d; class RayResult2d; }//SandboxBroadphase2d namespace SandboxBroadphase2d { class IBroadphase2d; }//SandboxBroadphase2d namespace Physics2dCore { class...
22.652778
73
0.83691
jodavis42
f1593e60eb478e7426da26ba59ec367786c7a7c7
18,733
cpp
C++
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018 - 2020 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Api/AccelByteEntitlementApi.h" #include "Core/AccelByteError.h" #include "Core/AccelByteRegistry.h" #include "Core/Accel...
43.363426
373
0.746917
leowind
f15f88b741604ccfffcee89d8b457a4d06de6c7f
949
cpp
C++
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
null
null
null
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
1
2020-01-15T12:46:05.000Z
2020-01-15T12:46:05.000Z
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
null
null
null
#include "role_manager.h" #include "role_rmi.h" #include <third-party/coroutine/gs_co.h> #include <core/tools/gs_random.h> MNG_IMPL(role, IRoleManager, CRoleManager) CRoleManager::CRoleManager() : m_last_call(0) { } CRoleManager::~CRoleManager() { } void CRoleManager::Init() { } void CRoleManager::...
19.367347
50
0.610116
lanhuanjun
f161a296a2b14adc45ae38221a97574055384874
1,449
hpp
C++
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora 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/licen...
23.370968
77
0.6853
ufora
f16775511f36e93433292026986065f31f690529
1,683
hpp
C++
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
#pragma once #include "types.hpp" #include <cstdint> #include <stdexcept> namespace fizzy { template <typename T> std::pair<T, const uint8_t*> leb128u_decode(const uint8_t* input) { static_assert(!std::numeric_limits<T>::is_signed); T result = 0; int result_shift = 0; for (; result_shift < std::nume...
30.053571
100
0.612002
imapp-pl
f16cff1e25753675382ed1c15ea4d3165627f0a0
1,794
cpp
C++
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <vector> #include <algorithm> #include <string> #include <cstdio> using namespace std; const int nmax = 1010; int n,m; int se[nmax][nmax],me[nmax][nmax],u,v; int color_s[nmax],color[nmax]; int nc=1; vector < int > res; void dfs(int u,int c){ color_s[u]...
24.243243
77
0.444259
AmrARaouf
f16d1cdb27f16e68f138487b6cdb79fe5e7f8f74
5,858
hpp
C++
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
1
2020-05-22T08:47:00.000Z
2020-05-22T08:47:00.000Z
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
#ifndef RPC_SERVER_HPP_ #define RPC_SERVER_HPP_ #include <tm_kit/infra/GenericLift.hpp> #include <unordered_map> #include "RpcInterface.hpp" namespace rpc_examples { template <class R> auto simpleFacility() -> typename R::template OnOrderFacilityPtr<Input,Output> { using namespace dev::cd...
40.123288
101
0.485831
cd606
f16de14756fc2d2d5852a7a7a9a4b907937f8e5d
1,348
cpp
C++
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#include "nwnx.hpp" #include "API/CNWRules.hpp" #include "API/CNWSCreature.hpp" #include "API/CNWSCreatureStats.hpp" #include "API/CNWSInventory.hpp" #include "API/CNWSItem.hpp" #include "API/CTwoDimArrays.hpp" namespace Tweaks { using namespace NWNXLib; using namespace NWNXLib::API; void FixArmorDexBonusUnderOne...
28.680851
123
0.660237
summonFox
f16e00fb02c76edea15ca84b7c9d391418773adc
159
cpp
C++
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** Projects ** File description: ** Character */ #include "Character.hpp" Character::Character() { } Character::~Character() { }
9.9375
24
0.660377
iliam-12
f17333fa914f67298836ac2d09f1dc1d58bbd82f
12,350
cpp
C++
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
/* ========================================== Copyright (c) 2016-2021 dynamic_static Licensed under the MIT license http://opensource.org/licenses/MIT ========================================== */ #include "dynamic_static/string.hpp" #include "catch2/catch.hpp" namespace dst { namespace tests { static ...
28.196347
128
0.576923
dynamic-static
f176b8bcd1d2f3be8e21be281432fc659e9960be
7,059
cpp
C++
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
6
2016-10-10T14:27:17.000Z
2020-10-09T09:31:37.000Z
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
9
2021-10-05T11:03:59.000Z
2022-02-25T19:01:53.000Z
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
23
2016-11-05T12:55:01.000Z
2021-05-13T16:55:40.000Z
#include "lab_extra/compute_shaders/compute_shaders.h" #include <string> #include <vector> #include <iostream> using namespace std; using namespace extra; static inline GLuint NumGroupSize(int dataSize, int groupSize) { return (dataSize + groupSize - 1) / groupSize; } static void DispatchCompute(unsigned int ...
26.04797
140
0.627568
MihaiAnghel07
f17ba655540cfb9782ec5e74f3f052b3f38ac763
1,261
cc
C++
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
null
null
null
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
2
2022-03-16T05:29:37.000Z
2022-03-31T05:35:03.000Z
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/aiks/paint_pass_delegate.h" #include "impeller/entity/contents/contents.h" #include "impeller/entity/contents/texture_contents.h" name...
28.659091
79
0.762887
eyebrowsoffire
f17e3fa2dd08809c92c8eb600fd8d011d386bf9f
1,664
cpp
C++
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 09.01.2008 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "property_integer_values_value_getter....
28.20339
77
0.631611
ixray-team
f18e4b27b552d210e912eaf35ef4a0d5efb20573
1,030
cpp
C++
Source/GUI/Submenus/HUD.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
31
2021-07-13T21:24:58.000Z
2022-03-31T13:04:38.000Z
Source/GUI/Submenus/HUD.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
12
2021-07-28T16:53:58.000Z
2022-03-31T22:51:03.000Z
Source/GUI/Submenus/HUD.cpp
HowYouDoinMate/GrandTheftAutoV-Cheat
1a345749fc676b7bf2c5cd4df63ed6c9b80ff377
[ "curl", "MIT" ]
12
2020-08-16T15:57:52.000Z
2021-06-23T13:08:53.000Z
#include "../Header/Cheat Functions/FiberMain.h" using namespace Cheat; int HUDColorRed, HUDColorGreen, HUDColorBlue, HUDColorAlpha; void GUI::Submenus::HUD() { GUI::Title("HUD"); GUI::Toggle("Disable HUD", CheatFeatures::DisableHUDBool, "Prevents all HUD elements from being visible"); GUI::Toggle("Hide Minimap", C...
46.818182
107
0.73301
HatchesPls
f1939d344d0611eefaf236413473731281bb235f
15,136
cpp
C++
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
6
2020-04-25T12:45:52.000Z
2021-12-15T01:24:54.000Z
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
5
2020-04-17T21:03:30.000Z
2020-04-24T20:17:28.000Z
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
null
null
null
/*** Copyright 2020 P.S.Powledge Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
34.636156
185
0.544662
PollyP
f1968e5e82d78cd2ab6a7204e17c7b55d9f51753
202
cpp
C++
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "bp2.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, bp2, "bp2" );
28.857143
78
0.787129
mohamadem60mdem
1af940e1d38d3161c5216d6fae8d230388d44cce
18,618
cpp
C++
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation,...
25.786704
108
0.58422
Matt-Dub
1afcabee2775407f5e2b23d38e2ba2e62705fa63
1,013
hh
C++
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
// Copyright 2021 midnightBITS // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. #pragma once #include <optional> #include <string> #include <variant> #include <vector> namespace distro { class semver { public: class comp { std::variant<unsigned, std::stri...
24.707317
73
0.687068
mbits-libs
2101331a0292dcc4225c749946f0ebf7e07afd9b
7,052
cpp
C++
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
7
2021-03-26T06:52:31.000Z
2022-03-11T09:42:57.000Z
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
null
null
null
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
1
2022-02-25T06:57:17.000Z
2022-02-25T06:57:17.000Z
#include <memory> #include <stdexcept> #include <memory> #include <iostream> #include <llvm/IR/Module.h> #include <llvm/Linker/Linker.h> #include <llvm/Support/raw_ostream.h> #include <llvm/IRReader/IRReader.h> #include <llvm/Support/SourceMgr.h> #include <llvm/IR/Verifier.h> #include "ipc_module.h" #include "llvm_modu...
36.729167
155
0.671583
cali-library-isolation
21041a67704d748cb24c61d6086c7bb68d188097
2,329
hpp
C++
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <filesystem> #include <fstream> #include <iostream> #include <stdexcept> template<typename T> class Matrix { public: Matrix(); Matrix(const std::filesystem::path& path); template<typename Func> Matrix(size_t num_rows, size_t num_cols, Func rng); void write_to_file(const s...
23.29
79
0.656934
TheLandfill
21132bbe7dbd51afb2918827974fcddfdb3c2dcb
269
cpp
C++
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
#include "CNode.h" CNode::CNode() { } void CNode::SetData(int iData) { data = iData; } int CNode::GetData() const { return data; } void CNode::SetNextNode(CNode *newnextNode) { nextNode = newnextNode; } CNode * CNode::GetNextNode() const { return nextNode; }
9.962963
43
0.672862
ferp132
2115560a3bd1e622ef0aad2f7fa0b18a961e5632
4,829
cpp
C++
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
1
2022-03-16T01:41:13.000Z
2022-03-16T01:41:13.000Z
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
null
null
null
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
null
null
null
/* Copyright Disney Enterprises, Inc. All rights reserved. This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" ha...
44.302752
137
0.75937
davidlee80
2115d2997d7bdca32560608377c3a692242d4c9c
1,404
cpp
C++
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
2
2022-01-15T16:27:05.000Z
2022-01-15T16:48:03.000Z
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
#include "shader.hpp" namespace rematrix { shader::shader(GLenum type) : id{glCreateShader(type)} { if (id == 0) { throw runtime_error("couldn't create shader"); } } shader::shader(shader&& other) noexcept : id{other.id} { const_cast<GLuint&>(other.id) = 0; } shader::~shader() { glDe...
18.72
78
0.569088
a12n
2118ad4c107117fafa59610627f5627cff57c214
1,409
hpp
C++
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VULKANRENDERER_WRAPPER_SEMAPHORE_HPP #define NAZARA_VULKANRENDERER_WRAPPER_SEMAPHOR...
32.767442
158
0.771469
jayrulez
2118d9f3e23256b269fc4834c33f50650dc05636
5,646
cc
C++
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
/* $Id: bestpdb.cc,v 1.11 2014/06/12 01:44:07 mp Exp $ AutoDock Copyright (C) 2009 The Scripps Research Institute. All rights reserved. AutoDock is a Trade Mark of The Scripps Research Institute. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
34.851852
128
0.559511
neonious
211b8423298a8334dde179387b9288bb7e847119
68,192
cpp
C++
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "UserInterfaceLocal.h" #include "UserInterfaceExpressions.h" #in...
28.907164
208
0.64534
JasonHutton
211beb59677d3c88fe37fd2d46ea5ced20f24cd1
7,492
cpp
C++
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
#include "server.h" #include <time.h> #include "XMLRead.h" namespace gazebo { HilServer::HilServer() { Fr = 0; Fl = 0; Tr = 0; Tl = 0; } HilServer::~HilServer() { try { } catch (std::exception& e) { std::cout << e.what() << std::endl; } } void HilServer::Update() { // static int i = 0; ...
28.271698
109
0.565937
Guiraffo
21226db6b728ae585642f38bf1fefebb733d5f6f
1,109
cpp
C++
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGTrainStationIdentifier.h" AFGTrainStationIdentifier::AFGTrainStationIdentifier(){ } void AFGTrainStationIdentifier::GetLifetimeReplicatedProps( TArray< FLifetimeProperty >& OutLifetimeProps) const{ } void AFGTrainStatio...
69.3125
115
0.844905
iam-Legend
2124cf8ff359f5a282dceaf7782c4d55b2d40165
16,693
cpp
C++
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
#include "ConvexCast.h" #include <Urho3D/Core/Profiler.h> #include <Urho3D/IO/Log.h> #include <Urho3D/Scene/Node.h> #include <Urho3D/Scene/Scene.h> #include <Urho3D/Graphics/StaticModel.h> #include <Urho3D/Graphics/Model.h> #include <Urho3D/Graphics/DebugRenderer.h> #include <Urho3D/Resource/ResourceCache.h> #include ...
38.641204
162
0.669322
extobias
2133fea2d2f423786a1f5dff1923a21c5d135256
1,218
hpp
C++
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef CLUSTERING_GENERIC_REGISTRATION_METADATA_HPP_ #define CLUSTERING_GENERIC_REGISTRATION_METADATA_HPP_ #include "containers/uuid.hpp" #include "rpc/mailbox/typed.hpp" #include "rpc/semilattice/joins/macros.hpp" template<class business_card_t> class registrar...
32.918919
92
0.791461
sauter-hq
2138950715d1c7f2b8c86bd9a09b4d6ba5a296dc
1,247
cpp
C++
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
11
2016-04-28T15:09:19.000Z
2019-07-15T15:58:59.000Z
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
null
null
null
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
null
null
null
#include <rpav/log.hpp> #include <stdlib.h> #include "gk/gk.hpp" #include "gk/gl.hpp" #include "gk/spritesheet.hpp" using namespace rpav; void gk_process_spritesheet_create(gk_context* gk, gk_cmd_spritesheet_create* cmd) { auto sheet = (gk_spritesheet*)malloc(sizeof(gk_spritesheet)); switch(cmd->format) { ...
22.672727
82
0.648757
rpav
213abf05b084f9f7df27ceb2c4505f6b15f9c57d
797
cpp
C++
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/date_time/gregorian/gregorian.hpp> #include <string> #include <vector> #include <locale> #include <iostream> using namespace boost::gregorian; int main() { std::locale::global(std::locale{"German"}); std::string months[12]{"Januar", "Februar", "M\xe4rz", "April", "Mai", "Juni", "Juli", "August...
33.208333
70
0.643664
KwangjoJeong
213ae5345d9ad68812860bb69e049e602d81045e
683
cpp
C++
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
1
2022-03-22T07:27:29.000Z
2022-03-22T07:27:29.000Z
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
null
null
null
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ConsumableActor.h" #include "TestRyseUp.h" #include "ConsumableActor.h" #include "TestRyseUpCharacter.h" AConsumableActor::AConsumableActor(const class FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { /* A ...
20.088235
85
0.764275
agerith
213bbd49b3a68fc5ca0914014d611b44f3cc9037
1,348
cpp
C++
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
// 378 kth smallest element in a sorted matrix // Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. // Note that it is the kth smallest element in the sorted order, not the kth distinct element. // Example: // matrix = [ // ...
24.962963
135
0.488131
zm66260
214b8ca98d0ead4be58052703f42634928e0f03d
876
cpp
C++
android-31/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JByteArray.hpp" #include "./GCMParameterSpec.hpp" namespace javax::crypto::spec { // Fields // QJniObject forward GCMParameterSpec::GCMParameterSpec(QJniObject obj) : JObject(obj) {} // Constructors GCMParameterSpec::GCMParameterSpec(jint arg0, JByteArray arg1) : JObject( "javax.crypto...
19.043478
85
0.660959
YJBeetle
214e9f5ce6327bebe9d5b15be003ba8b0ab70867
565
cpp
C++
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
2
2019-06-20T13:22:30.000Z
2020-03-05T01:19:19.000Z
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
null
null
null
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
null
null
null
//-std=c++2a -I/opt/compiler-explorer/libs/cmcstl2/include -fconcepts #include <iostream> #include <experimental/ranges/ranges> // from cmcstl2 namespace ranges = std::experimental::ranges; namespace view = std::experimental::ranges::view; //range generators (range adaptors) int main() { auto count_to_10 = view::io...
28.25
69
0.684956
st-louis-cpp-meetup
2152b04ecd089a71683f2dc143d9592c6998b5ec
24,300
cpp
C++
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
/* * ToonRendererDeferred.cpp * * Copyright (C) 2011 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "stdafx.h" #include "mmcore/param/EnumParam.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/IntParam.h" #include "mmcore/param/FloatParam.h" #include "mmcore/view/CallRender3D....
37.732919
144
0.672675
reinago
215435cad45bb8acd7b8cd20bc77538694699099
1,134
cpp
C++
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int power; cin >> power; int num[power+1]; // int i; for (i = 0; i < power+1; ++i) { cin >> num[i]; } // int sub = power; if (num[0] == 1){ cout << "x" << "^" << sub; }else if (num[0] == -1) { cout << "-x^" << sub; ...
15.324324
47
0.395062
ajidow
21552ab246534cf24cf1ad5f67ad7ee779c09346
20,590
hpp
C++
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // 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 BOOST_LOCALE_MESSAGE_HPP_INCLUDED #define BOOST_LOCALE_MESSAGE_HPP_INCLUDED #include <boost...
28.636996
80
0.657067
henrywarhurst