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
c55dabbeed85720cfa30e1c218a6f46416add238
1,976
cpp
C++
aws-cpp-sdk-nimble/source/model/CreateStreamingSessionRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-nimble/source/model/CreateStreamingSessionRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-nimble/source/model/CreateStreamingSessionRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/nimble/model/CreateStreamingSessionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using namespace ...
22.454545
122
0.745951
perfectrecall
c5650825bfa7f67d76aa71a25606738165d66a41
4,125
cpp
C++
KFPlugin/KFBasicDatabase/KFBasicDatabaseMongo.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFBasicDatabase/KFBasicDatabaseMongo.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFBasicDatabase/KFBasicDatabaseMongo.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFBasicDatabaseMongo.hpp" #include "KFProtocol/KFProtocol.h" namespace KFrame { #define __BASIC_TABLE_NAME__ __STRING__( basic ) #define __BASIC_MONGO_DRIVER__ _kf_mongo->Create( __STRING__( basic ) ) void KFBasicDatabaseMongo::UpdateBasicIntValue( uint64 playerid, uint64 serverid, const StringUInt64& ...
33.536585
136
0.640727
282951387
c5698af1c6870f00442bf4f672c635fc3ea44c40
571
hpp
C++
library/ATF/std___String_base.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/std___String_base.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/std___String_base.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <std___Container_base.hpp> START_ATF_NAMESPACE namespace std { struct _String_base : _Container_base { public: _St...
28.55
108
0.674256
lemkova
c56fae0047c497dec32cb86dab3b806b552c1686
475
cpp
C++
src/polynomial.cpp
NChechulin/spline-interpolation
34333b885c435d5dfd1ab892a9cc8a79e016c448
[ "MIT" ]
1
2021-04-26T14:15:20.000Z
2021-04-26T14:15:20.000Z
src/polynomial.cpp
NChechulin/spline-interpolation
34333b885c435d5dfd1ab892a9cc8a79e016c448
[ "MIT" ]
null
null
null
src/polynomial.cpp
NChechulin/spline-interpolation
34333b885c435d5dfd1ab892a9cc8a79e016c448
[ "MIT" ]
null
null
null
#include "polynomial.h" #include <vector> #include <cmath> Polynomial::Polynomial() : a(0), b(0), c(0), d(0) {} Polynomial::Polynomial(double a, double b, double c, double d) : a(a), b(b), c(c), d(d) {} double Polynomial::GetValue(double x) const { return a * std::pow(x, 3) + b * std::pow(x, 2) + c * x + d; } ...
27.941176
86
0.606316
NChechulin
c572bf5ec488bdb44c56a3952413f066e95d87cd
3,348
cc
C++
test/syscalls/linux/mincore.cc
kimmkumsook/gvisor
c611dbc5a7399922588e3fd99b22bda19f684afe
[ "Apache-2.0" ]
1
2019-05-28T03:18:37.000Z
2019-05-28T03:18:37.000Z
test/syscalls/linux/mincore.cc
kimmkumsook/gvisor
c611dbc5a7399922588e3fd99b22bda19f684afe
[ "Apache-2.0" ]
null
null
null
test/syscalls/linux/mincore.cc
kimmkumsook/gvisor
c611dbc5a7399922588e3fd99b22bda19f684afe
[ "Apache-2.0" ]
1
2019-07-17T12:28:43.000Z
2019-07-17T12:28:43.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 w...
34.515464
78
0.718937
kimmkumsook
c579af2f4913efa2b0f0e2db85ba751c2c94eb6a
182
cpp
C++
main.cpp
JokerShao/utilityclasses
cf1a73bc3e5681b1a31b1184e979ca4b1fb062b5
[ "MIT" ]
null
null
null
main.cpp
JokerShao/utilityclasses
cf1a73bc3e5681b1a31b1184e979ca4b1fb062b5
[ "MIT" ]
null
null
null
main.cpp
JokerShao/utilityclasses
cf1a73bc3e5681b1a31b1184e979ca4b1fb062b5
[ "MIT" ]
null
null
null
#if 1 #include <iostream> #include <string> int main() { double aa = 1.23456788; std::cout << std::to_string(aa) << "\n"; std::cout << "Hello World!\n"; return 0; } #endif
10.705882
41
0.587912
JokerShao
c57cd5a194e96ff1c94b9f813df2beea50b8e028
248
cpp
C++
Flow3D/Sandbox/src/Sandbox.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
2
2020-05-09T10:06:00.000Z
2021-03-10T00:10:41.000Z
Flow3D/Sandbox/src/Sandbox.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
1
2022-03-04T09:17:15.000Z
2022-03-04T09:17:15.000Z
Flow3D/Sandbox/src/Sandbox.cpp
florianvoelkers/Flow3D
017d2f321f943dfecc360bec9fc6f17c77ffde68
[ "MIT" ]
2
2020-02-17T00:43:03.000Z
2020-11-26T11:55:19.000Z
#include "Flow3D.hpp" class Sandbox : public Application { public: Sandbox() { FLOW_CLIENT_INFO("Welcome to the Sandbox Application of the Flow3D Engine!"); } ~Sandbox() { } }; Application* CreateApplication() { return new Sandbox(); }
12.4
79
0.693548
florianvoelkers
c5804f2d931366e2e392b9054ffef46000f8cbd5
1,509
hpp
C++
source/Snoopy/X86/Enums.hpp
ttcctt/GAME
982ad68a65f17f3926d713283f73ac858b6820e0
[ "Unlicense" ]
158
2015-02-16T20:32:09.000Z
2022-03-24T04:11:07.000Z
source/Snoopy/X86/Enums.hpp
Maqentaer/YoloMouse
48415f1517591e0445b44e73d05f61d3e35b41f2
[ "Unlicense" ]
22
2015-03-03T23:40:54.000Z
2021-11-14T06:28:25.000Z
source/Snoopy/X86/Enums.hpp
Maqentaer/YoloMouse
48415f1517591e0445b44e73d05f61d3e35b41f2
[ "Unlicense" ]
48
2015-06-12T17:50:39.000Z
2022-03-21T20:59:29.000Z
#pragma once #include <Snoopy/Root.hpp> namespace Snoopy { namespace x86 { // x86 register ids //------------------------------------------------------------------------- enum RegisterId { REGISTER_AX = 0, REGISTER_CX = 1, REGISTER_DX = 2, REGISTER_BX = 3, ...
26.017241
80
0.423459
ttcctt
c58879f63907bf93e1d5ed6d41800be472bd3714
998
cpp
C++
一星題/10235/10235.cpp
LuckyPigeon/CPE_Previous_Questions
14005407c52922dea28e861e8f591d74da3c3df5
[ "MIT" ]
26
2020-10-08T02:44:20.000Z
2022-03-25T09:59:31.000Z
一星題/10235/10235.cpp
LuckyPigeon/CPE_Previous_Questions
14005407c52922dea28e861e8f591d74da3c3df5
[ "MIT" ]
61
2020-10-08T17:03:53.000Z
2021-06-17T01:05:51.000Z
一星題/10235/10235.cpp
LuckyPigeon/CPE_Previous_Questions
14005407c52922dea28e861e8f591d74da3c3df5
[ "MIT" ]
27
2020-10-04T05:30:23.000Z
2021-08-21T15:39:58.000Z
#include <iostream> #include <iostream> #include <cstdio> using namespace std; const int LIMIT = 1000000; int reverse( int a ) { int b = 0; while( a != 0 ) // 讓 b 存入 a 的最小位後,並且在每次存入前讓質乘以 10 ,以讓數字反轉 { b *= 10; b += a%10; a /= 10; } return b; } int main() { bool composite[LIMIT+5] = {true, true}; // 宣告 ...
21.695652
104
0.544088
LuckyPigeon
c58b51b96f3d4c02c7c38de92887498fb6d9046e
10,390
cc
C++
src/pycomp/PythonSymdiffCommands.cc
weatherhead99/symdiff
ba21034fcffcc0fb84e1922549bb969f556c7741
[ "Apache-2.0" ]
8
2016-06-02T17:07:44.000Z
2021-03-13T16:21:54.000Z
src/pycomp/PythonSymdiffCommands.cc
weatherhead99/symdiff
ba21034fcffcc0fb84e1922549bb969f556c7741
[ "Apache-2.0" ]
4
2018-03-04T20:32:01.000Z
2020-01-15T15:42:41.000Z
src/pycomp/PythonSymdiffCommands.cc
devsim/symdiff
1f25961214c25c5142279ec771db3c378637c950
[ "Apache-2.0" ]
7
2015-10-28T17:24:05.000Z
2021-03-13T16:22:01.000Z
/*** Copyright 2012 Devsim 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 writing, software di...
23.295964
113
0.664293
weatherhead99
c59350605a9dc39cfcb19c4be58ec462b7185c42
237
cpp
C++
srcs/server/io/bsd/queuehost.cpp
romi-project/RomiServerAlpha
51bc65e9b1feed1b43ab852dbee78bdf58609f23
[ "MIT" ]
null
null
null
srcs/server/io/bsd/queuehost.cpp
romi-project/RomiServerAlpha
51bc65e9b1feed1b43ab852dbee78bdf58609f23
[ "MIT" ]
null
null
null
srcs/server/io/bsd/queuehost.cpp
romi-project/RomiServerAlpha
51bc65e9b1feed1b43ab852dbee78bdf58609f23
[ "MIT" ]
null
null
null
// The Romi Project // // @ File : queuehost.cpp // @ Author : Tensiya(T2SU) // @ Email : tsi@romi-project.net // @ Since : 2022-03-18 15:23:05 // #include "std.hpp" #include "defines.hpp" #include "server/io/bsd/queuehost.hpp"
19.75
38
0.624473
romi-project
c5989877959ff19f78aca76c05a3c3affd94af61
8,090
cpp
C++
src/main/resources/catalogs/socs/zynqps8/software/programs_pmu/pmu_monitor/src/interrupts/interrupt_handlers.cpp
DeanoC/overlord
e023083e117d89f7b8ea245f1277aa96098d2b06
[ "MIT" ]
null
null
null
src/main/resources/catalogs/socs/zynqps8/software/programs_pmu/pmu_monitor/src/interrupts/interrupt_handlers.cpp
DeanoC/overlord
e023083e117d89f7b8ea245f1277aa96098d2b06
[ "MIT" ]
null
null
null
src/main/resources/catalogs/socs/zynqps8/software/programs_pmu/pmu_monitor/src/interrupts/interrupt_handlers.cpp
DeanoC/overlord
e023083e117d89f7b8ea245f1277aa96098d2b06
[ "MIT" ]
null
null
null
#include "core/core.h" #include "hw/reg_access.h" #include "hw/memory_map.h" #include "hw_regs/pmu/pmu_iomodule.h" #include "hw_regs/pmu/pmu_lmb_bram.h" #include "hw_regs/ipi.h" #include "dbg/raw_print.h" #include "interrupt_handlers.hpp" #include "../rom_extensions.h" #include "../os/ipi3_os_server.hpp" #include "gic...
34.425532
92
0.766749
DeanoC
c59dc90ef8659becd50137e3cfd1feebe3e0256b
869
cpp
C++
projects/engine/src/rendering/renderer.cpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
projects/engine/src/rendering/renderer.cpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
projects/engine/src/rendering/renderer.cpp
zCubed3/Tilt
e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af
[ "MIT" ]
null
null
null
#include <rendering/renderer.hpp> #include <stdexcept> Renderer::Renderer(RI_Impl *ri) { if (ri == nullptr) throw std::runtime_error("RI_Impl was null!"); this->ri = ri; } // // Start // #include <GLFW/glfw3.h> void Renderer::Start() { ri->setup_Initial(); ri->setup_BeforeWindowCreate(); ...
16.092593
66
0.649022
zCubed3
c5ac3cd8e6a0fe97944f3ae0fe570786d058e944
1,011
hpp
C++
gearoenix/dx11/buffer/gx-dx11-buf-mesh.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/dx11/buffer/gx-dx11-buf-mesh.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/dx11/buffer/gx-dx11-buf-mesh.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_DX11_BUFFER_MESH_HPP #define GEAROENIX_DX11_BUFFER_MESH_HPP #include "../../core/gx-cr-build-configuration.hpp" #ifdef GX_USE_DIRECTX11 #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "../../render/buffer/gx-rnd-buf-mesh.hpp" #include <d3d11.h> namespace gearoenix { namespace dx11 { ...
29.735294
70
0.603363
Hossein-Noroozpour
c5b032aeb1916e2632a9eb4b88fe684035e55c49
24,118
cpp
C++
0.55.402/common/CCryptBase.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
2
2020-12-22T17:03:14.000Z
2021-07-31T23:59:05.000Z
0.55.402/common/CCryptBase.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
null
null
null
0.55.402/common/CCryptBase.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
4
2021-04-21T19:43:48.000Z
2021-10-07T00:38:23.000Z
// // CCryptBase.cpp // Copyright Menace Software (www.menasoft.com). // Common for client and server. // #ifdef GRAY_AGENT #include "../grayagent/stdafx.h" #include "../grayagent/grayagent.h" #else #include "graycom.h" #include "graymul.h" #include "grayproto.h" #endif //////////////////////////////////////////////...
20.89948
131
0.632391
Jhobean
c5b2a9fb24346bd217f180e5d53b38e7b25c73b0
1,907
hpp
C++
include/masker_util/masker_util_node.hpp
1487quantum/masker_ros
16416aefce417742fadf97a9932c4d8efbcc5c67
[ "MIT" ]
null
null
null
include/masker_util/masker_util_node.hpp
1487quantum/masker_ros
16416aefce417742fadf97a9932c4d8efbcc5c67
[ "MIT" ]
null
null
null
include/masker_util/masker_util_node.hpp
1487quantum/masker_ros
16416aefce417742fadf97a9932c4d8efbcc5c67
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <geometry_msgs/Point.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <dynamic_reconfigure/server.h> #include <camera_info_manager/camera_info_manager.h> #include "opencv2/core.hpp" #include "masker_util/maskerConfig.h" /* * A ROS package for ima...
34.672727
133
0.611432
1487quantum
c5b3b42cd160ddd3d90a9c8c6b6de14c19b6aaee
1,856
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <snippet0> #using <System.EnterpriseServices.dll> using namespace System; using namespace System::EnterpriseServices; // References: // System.EnterpriseServices // <snippet1> [ObjectPooling(true)] public ref class ObjectPoolingAttributeCtorBool : public ServicedComponent { }; // </snippet1> // <sn...
25.424658
77
0.663254
hamarb123
c5c6edf0f3f3eb796f48afa68786588ac5eb428d
915
cpp
C++
src/lib/user.cpp
hanilr/management-system
c796b1a016f507309c987170345a868b4a0abfb9
[ "MIT" ]
null
null
null
src/lib/user.cpp
hanilr/management-system
c796b1a016f507309c987170345a868b4a0abfb9
[ "MIT" ]
null
null
null
src/lib/user.cpp
hanilr/management-system
c796b1a016f507309c987170345a868b4a0abfb9
[ "MIT" ]
null
null
null
// USER SECTION (USER) #include <iostream> #include "file.hpp" std::string fetch_value(std::string user_name, std::string user_pass) { std::string full_path = "data/" + user_name + "/" + user_pass + ".txt"; std::string temp_value = rfile(full_path); return temp_value; } // CHECK ISSUES WITH ...
25.416667
83
0.642623
hanilr
c5c938b0564f1fa77f331f93522ee68928cae4c8
1,579
cpp
C++
codes/HDU/hdu4937.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4937.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4937.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <ctime> #include <cstdlib> #include <set> #include <algorithm> using namespace std; typedef long long ll; const int maxn = 1e6; ll N; int np, vis[maxn+5], prime[maxn+5]; set<ll> ans; int c, cnt[maxn+5]; ll nowbase, fact[maxn+5]; void prime_table (int n) { np = 0; mems...
13.495726
48
0.485117
JeraKrs
c5d2a73320d1345942e0b813d023a2b6005bf6b4
2,522
cpp
C++
bindings/python/src/OpenSpaceToolkitCorePy/FileSystem/Path.cpp
open-space-collective/library-core
0b031edb403e2d657d02761b07dd4b35680fcafc
[ "Apache-2.0" ]
8
2018-06-13T06:50:34.000Z
2019-07-15T03:36:50.000Z
bindings/python/src/OpenSpaceToolkitCorePy/FileSystem/Path.cpp
open-space-collective/library-core
0b031edb403e2d657d02761b07dd4b35680fcafc
[ "Apache-2.0" ]
37
2018-06-12T07:42:38.000Z
2020-01-05T01:13:27.000Z
bindings/python/src/OpenSpaceToolkitCorePy/FileSystem/Path.cpp
open-space-collective/library-core
0b031edb403e2d657d02761b07dd4b35680fcafc
[ "Apache-2.0" ]
2
2020-03-05T18:17:24.000Z
2020-04-07T18:18:24.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Core /// @file bindings/python/src/OpenSpaceToolkitCorePy/FileSystem/Path.cpp /// @author Lucas Bré...
42.033333
161
0.430214
open-space-collective
c5d3ea2a0c64978ee2cc2cd145951a829afd3ce1
396
hpp
C++
src/common/token.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
2
2019-04-09T01:04:36.000Z
2019-05-12T06:17:03.000Z
src/common/token.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
null
null
null
src/common/token.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
null
null
null
#ifndef TOKEN_H #define TOKEN_H #include <string> #include "typedefs.hpp" #include "sloc.hpp" namespace splicpp { struct token { stid type; uint pos, length, line; token(stid type, uint pos, uint length, uint line) : type(type) , pos(pos) , length(length) , line(line) {} std::string as_st...
13.655172
56
0.65404
Wassasin
c5d4032901abf19b9e9d89e1999c11fa61c2fe3c
543
hpp
C++
library/ATF/_post_result_zoclInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_post_result_zoclInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_post_result_zoclInfo.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 <_post_result_zocl.hpp> START_ATF_NAMESPACE namespace Info { using _post_result_zoclctor__post_result_zocl2_ptr = void (WINAPIV*)(stru...
33.9375
151
0.769797
lemkova
c5d7bf2bf70798d0d517af8aff2b7bda0158034a
748
cpp
C++
[77] Combinations/77.combinations.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[77] Combinations/77.combinations.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[77] Combinations/77.combinations.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=77 lang=cpp * * [77] Combinations */ // @lc code=start class Solution { public: vector<vector<int>> combine(int n, int k) { vector<vector<int>> res; vector<int> temp_list; dfs(1, n, k, temp_list, res); return res; } void dfs(int start, int n, in...
22.666667
89
0.487968
Coolzyh
c5dc0c8ce8d6cd0c69cff08e5f3d717158015e9b
2,219
cpp
C++
17-BinaryImageProcessing/07_blobDetection.cpp
vladcuevas/OpenCV-Labs-Linux
6e19a60555074b846c5c9dd2225a9eb064376325
[ "MIT" ]
null
null
null
17-BinaryImageProcessing/07_blobDetection.cpp
vladcuevas/OpenCV-Labs-Linux
6e19a60555074b846c5c9dd2225a9eb064376325
[ "MIT" ]
null
null
null
17-BinaryImageProcessing/07_blobDetection.cpp
vladcuevas/OpenCV-Labs-Linux
6e19a60555074b846c5c9dd2225a9eb064376325
[ "MIT" ]
null
null
null
#include <iostream> #include <opencv2/opencv.hpp> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <time.h> #include "dataPath.hpp" using namespace std; using namespace cv; int main(){ // Read image Mat img = imread(DATA_PATH + "images/blob_detection.jpg", IMREAD_GRAYSCALE); // Set up detector wit...
23.114583
76
0.694457
vladcuevas
c5dc2c6608faadbccdea8e0081cd3874ff9e5d94
3,132
hpp
C++
include/cert-ledger/cert-ledger.hpp
UCLA-IRL/cert-ledger
3de87488d852648a8ad67a9bc1797a05c8221c6d
[ "Apache-2.0" ]
null
null
null
include/cert-ledger/cert-ledger.hpp
UCLA-IRL/cert-ledger
3de87488d852648a8ad67a9bc1797a05c8221c6d
[ "Apache-2.0" ]
null
null
null
include/cert-ledger/cert-ledger.hpp
UCLA-IRL/cert-ledger
3de87488d852648a8ad67a9bc1797a05c8221c6d
[ "Apache-2.0" ]
null
null
null
#ifndef CERT_LEDGER_CERT_LEDGER_H_ #define CERT_LEDGER_CERT_LEDGER_H_ #include "record.hpp" #include "config.hpp" #include "return-code.hpp" #include "backend.hpp" #include <ndn-svs/svsync.hpp> #include <ndn-cxx/security/key-chain.hpp> #include <ndn-cxx/face.hpp> #include <ndn-cxx/util/scheduler.hpp> #include <ndn-cxx...
31.959184
146
0.715837
UCLA-IRL
c5dce8516d491b8b3167854abc358ac00da4c052
4,889
cpp
C++
Source/Graphics/MaterialCollection.cpp
igorsegallafa/delta3d
1c8e2c0a8bab3e378afcef8718a5175fa62f2bf3
[ "MIT" ]
7
2021-09-01T13:07:14.000Z
2022-03-23T17:23:17.000Z
Source/Graphics/MaterialCollection.cpp
igorsegallafa/Delta3D
1c8e2c0a8bab3e378afcef8718a5175fa62f2bf3
[ "MIT" ]
null
null
null
Source/Graphics/MaterialCollection.cpp
igorsegallafa/Delta3D
1c8e2c0a8bab3e378afcef8718a5175fa62f2bf3
[ "MIT" ]
2
2022-01-20T14:53:19.000Z
2022-03-23T17:18:22.000Z
#include "PrecompiledHeader.h" #include "MaterialCollection.h" #include "Material.h" #include "Texture.h" namespace Delta3D::Graphics { MaterialCollection::MaterialCollection() : GraphicsImpl(), header( -1 ), materials( nullptr ), materialsCount( 0 ), materialType( 0 ), name() { } MaterialCollection::Mate...
24.445
163
0.703007
igorsegallafa
c5de1da0f2086ed71fcbd5fade42a524374987d2
7,419
cpp
C++
codemp/botlib/be_aas_routealt.cpp
xScooper/Makermod
ccf9e10f441503d7b12094168c542a3696ceb314
[ "MIT" ]
11
2015-09-27T22:53:26.000Z
2021-12-25T05:04:12.000Z
codemp/botlib/be_aas_routealt.cpp
xScooper/Makermod
ccf9e10f441503d7b12094168c542a3696ceb314
[ "MIT" ]
1
2016-02-14T14:28:39.000Z
2017-01-11T13:03:39.000Z
codemp/botlib/be_aas_routealt.cpp
xScooper/Makermod
ccf9e10f441503d7b12094168c542a3696ceb314
[ "MIT" ]
11
2015-10-19T15:37:24.000Z
2022-02-07T05:00:20.000Z
/***************************************************************************** * name: be_aas_routealt.c * * desc: AAS * * $Archive: /MissionPack/code/botlib/be_aas_routealt.c $ * $Author: Zaphod $ * $Revision: 5 $ * $Modtime: 11/22/00 8:47a $ * $Date: 11/22/00 8:55a $ * *********************************...
33.120536
113
0.64874
xScooper
c5e3189dad6b3008ece4f025a87edef25a0697e9
855
cpp
C++
leetcode/top_interview_questions/easy/strings/4.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/top_interview_questions/easy/strings/4.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/top_interview_questions/easy/strings/4.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; /* Q: Valid Anagram Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" Output: true Example 2: Input: s = "rat", t = "car" Output: false Note: You may assume the st...
18.191489
98
0.568421
bvbasavaraju
c5e8b979e26d0de935772968c5a2a2b53e78187f
285
hpp
C++
src/threads/renderer_settings.hpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
48
2015-01-27T15:18:23.000Z
2022-02-12T16:26:18.000Z
src/threads/renderer_settings.hpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
17
2015-12-16T04:26:12.000Z
2022-02-09T07:52:19.000Z
src/threads/renderer_settings.hpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
14
2015-01-16T00:15:44.000Z
2022-03-21T08:36:02.000Z
#ifndef _THREADS_RENDERER_SETTINGS_HPP #define _THREADS_RENDERER_SETTINGS_HPP #include <boost/filesystem.hpp> namespace fs = boost::filesystem; struct renderer_settings { bool cache_use; fs::path cache_dir; bool cache_compress; }; #endif /* _THREADS_RENDERER_SETTINGS_HPP */
19
43
0.796491
tanaka141
c5eae63153ab6343e9801c4319241e04c5cda212
1,902
hpp
C++
packages/message_generators/FlatscanGenerator.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
packages/message_generators/FlatscanGenerator.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
packages/message_generators/FlatscanGenerator.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
38.816327
99
0.783912
stereoboy
c5ef293c6737b7ef0fcc774ea2711c391220c919
344
hpp
C++
christmas_class/higher_order.hpp
Nicholas42/Cpp-Bits-and-Pieces
bb0cd359d07187319aa7717788dfb5445df0c66f
[ "CC0-1.0" ]
null
null
null
christmas_class/higher_order.hpp
Nicholas42/Cpp-Bits-and-Pieces
bb0cd359d07187319aa7717788dfb5445df0c66f
[ "CC0-1.0" ]
null
null
null
christmas_class/higher_order.hpp
Nicholas42/Cpp-Bits-and-Pieces
bb0cd359d07187319aa7717788dfb5445df0c66f
[ "CC0-1.0" ]
null
null
null
template<class Ret, class LHS, class RHS> struct lazy_evaluation { lazy_evaluation (Ret (*f) (LHS, RHS), const LHS& l, const RHS& r) : func(f), lhs(l), rhs(r) {} Ret operator()() { return func(lhs, rhs); } private: Ret (*func) (LHS, RHS); LHS lhs; RHS rhs; }; int add(int i, int j)...
17.2
95
0.552326
Nicholas42
c5fc9a53824ca2a48670c0d96a1bb004209a776c
1,103
cpp
C++
Coding/C prgs/Queue.cpp
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
Coding/C prgs/Queue.cpp
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
Coding/C prgs/Queue.cpp
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
#include<stdio.h> #include<conio.h> #include<conio.h> int front=-1,rear=-1; int arr[10]; int max=10; void Insert(){ if(rear==max){ printf("\nQueue Full"); printf("\n%d %d",front,rear); } else if(front==rear){ front=-1; rear=0; scanf("%d",&arr[rear]); } else{ rear++; scanf("%d",&arr[rear]); printf("...
17.234375
49
0.566636
Phantom586
6801d3b848fe98e1ed33905302550464b9d7e869
3,428
cpp
C++
Molecularity/UI/UI.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
1
2021-06-14T22:44:01.000Z
2021-06-14T22:44:01.000Z
Molecularity/UI/UI.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
null
null
null
Molecularity/UI/UI.cpp
kyle-robinson/directx-game
ff5964a6edd3241b703409976f27d68205b9ddd3
[ "CC-BY-4.0" ]
1
2021-06-04T12:44:06.000Z
2021-06-04T12:44:06.000Z
#include "stdafx.h" #include "UI.h" UI::~UI() { } void UI::Initialize(ID3D11Device* device, ID3D11DeviceContext* contex, ConstantBuffer<CB_VS_matrix_2D>* cb_vs_matrix_2d, std::shared_ptr<Fonts> fonts) { FontsList = fonts; _Device = device; _Contex = contex; _cb_vs_matrix_2d = cb_vs_matrix_2d; } //convert from uns...
11.166124
150
0.590432
kyle-robinson
6801e5fd089f1dec58ac286ae62f69a1de8444b4
10,748
cc
C++
Engine/addons/particles/affectors/particleColorAffectorSerialization.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
26
2015-01-15T12:57:40.000Z
2022-02-16T10:07:12.000Z
Engine/addons/particles/affectors/particleColorAffectorSerialization.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
null
null
null
Engine/addons/particles/affectors/particleColorAffectorSerialization.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
17
2015-02-18T07:51:31.000Z
2020-06-01T01:10:12.000Z
/**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn 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...
37.319444
115
0.670543
BikkyS
68048afabed63b3d36a764b738cdeaae5b1c4342
1,468
cc
C++
Core/src/UserInfo.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Core/src/UserInfo.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Core/src/UserInfo.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2020 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/UserInfo> #include <sys/types.h> #include <unistd.h> // sysconf #include <pwd.h> namespace cc { UserInfo::State::State(const struct passwd &info): id{sta...
26.690909
70
0.65327
frankencode
680925e6ac8db11ac6761902255bf37562e55573
3,983
cc
C++
core/src/bbdo/input_buffer.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
core/src/bbdo/input_buffer.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
core/src/bbdo/input_buffer.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2017 Centreon ** ** 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 ...
24.435583
75
0.639719
sdelafond
680cc66d53a00574450fc94f766acd5cb5b0d021
3,706
cpp
C++
src/LightSystem.cpp
imerr/SFMLEngine
0f1569f5ba8bf092e3c32827d159c10aa9463725
[ "MIT" ]
4
2016-12-10T05:03:30.000Z
2017-10-16T08:40:16.000Z
src/LightSystem.cpp
imermcmaps/SFMLEngine
0f1569f5ba8bf092e3c32827d159c10aa9463725
[ "MIT" ]
5
2015-03-21T08:47:59.000Z
2015-03-21T15:55:37.000Z
src/LightSystem.cpp
imermcmaps/SFMLEngine
0f1569f5ba8bf092e3c32827d159c10aa9463725
[ "MIT" ]
1
2017-12-05T05:10:56.000Z
2017-12-05T05:10:56.000Z
/* * File: LightSystem.cpp * Author: iMer * * Created on 17. August 2014, 10:39 */ #include "LightSystem.hpp" #include "Scene.hpp" #include "Game.hpp" #include <iostream> namespace engine { void applyShader(const sf::Shader& shader, sf::RenderTarget& output) { sf::Vector2f outputSize(static_cast<float>(out...
30.130081
112
0.688883
imerr
680dcfcde0297cd0a3f685f7057915b6bf0e7930
1,997
cpp
C++
B_car/src/BalanceCar.cpp
fangshirui/uno
dd7d75594f55274c34883c19a14542b4bab30b55
[ "MIT" ]
2
2019-11-21T04:42:12.000Z
2020-09-14T02:11:37.000Z
B_car/src/BalanceCar.cpp
fangshirui/uno
dd7d75594f55274c34883c19a14542b4bab30b55
[ "MIT" ]
null
null
null
B_car/src/BalanceCar.cpp
fangshirui/uno
dd7d75594f55274c34883c19a14542b4bab30b55
[ "MIT" ]
null
null
null
/* * @Author: FangShiRui * @Date: 2019-08-10 09:11:06 * @LastEditors: FangShiRui * @LastEditTime: 2020-07-16 10:16:57 * @Description: 平衡车pid 输出 pwm 计算 */ #include "BalanceCar.h" void BalanceCar::get_angleout(double kp, double ki, double kd, float angle, float gyro_x) { angleoutput = kp * angle + kd * gyro_x...
23.22093
117
0.598398
fangshirui
680fa1e997c61d0f5845d1958fb5e1b1dfafc071
6,236
cpp
C++
metaspritegen.cpp
pubby/lunarlim
71a3412e02a3909bd2cd39d00a861a37e02fe8fa
[ "CC-BY-4.0" ]
null
null
null
metaspritegen.cpp
pubby/lunarlim
71a3412e02a3909bd2cd39d00a861a37e02fe8fa
[ "CC-BY-4.0" ]
null
null
null
metaspritegen.cpp
pubby/lunarlim
71a3412e02a3909bd2cd39d00a861a37e02fe8fa
[ "CC-BY-4.0" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <fstream> #include <iostream> #include <vector> #include <map> #include <algorithm> //pchar_animation_lo_table: struct sprite_t { int x_off; int y_off; int pattern; int attributes; }; std::uint32_t sprite_byte(sprite_t sprite) { unsigned char const x ...
26.87931
73
0.514432
pubby
681994dc50f63f6a760fc905da62e7e43a92c045
968
cpp
C++
AtCoder/ABC/ABC-017/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-017/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-017/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); const ll MOD = (ll)(1e9 + 7); int n, m; int f[MAX_N]; ll score[MAX_N]; ll ans; int main(void) { // Here your code ! scanf("%d %d", &n, &m); ...
14.028986
46
0.472107
MonadicDavidHuang
681bdb21191e659b28d3696902ceb166bfede81d
1,066
cpp
C++
include/h3api/H3AdventureMap/H3MapTreeOfKnowledge.cpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3AdventureMap/H3MapTreeOfKnowledge.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3AdventureMap/H3MapTreeOfKnowledge.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
38.071429
84
0.446529
Patrulek
6820dbb6499e577d45513c196b19c3a900850540
3,068
cpp
C++
random-chase.cpp
afborchert/pointer-chasing
226c000d7b1905acffc380809b6d606059859555
[ "MIT" ]
58
2017-04-10T21:08:33.000Z
2022-03-30T13:42:38.000Z
random-chase.cpp
afborchert/pointer-chasing
226c000d7b1905acffc380809b6d606059859555
[ "MIT" ]
null
null
null
random-chase.cpp
afborchert/pointer-chasing
226c000d7b1905acffc380809b6d606059859555
[ "MIT" ]
16
2017-05-15T21:25:58.000Z
2022-03-07T16:08:09.000Z
/* Copyright (c) 2016, 2018 Andreas F. Borchert All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
32.294737
72
0.67601
afborchert
68225da83c7555336e5a771c06835a945d66161d
24,261
cpp
C++
src/image/dds.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/image/dds.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/image/dds.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file dds.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2005-08-02 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/image/precompiled.h" #include "o3d/image/dds.h" #include "o3d/core/filemanager.h" #include "o3d...
24.068452
111
0.613536
dream-overflow
682b6ea77127634ad0b633ebf2b5d51cef9e1c7b
11,722
cpp
C++
src/application/test/suits/app_test_parser_arguments.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
177
2020-08-24T19:20:35.000Z
2022-03-27T01:58:04.000Z
src/application/test/suits/app_test_parser_arguments.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
15
2020-08-30T17:59:42.000Z
2022-01-12T11:14:10.000Z
src/application/test/suits/app_test_parser_arguments.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
11
2020-09-17T23:31:10.000Z
2022-03-04T13:15:21.000Z
#include "application/test/fixtures/app_test_parser_fixture.hpp" #include <boost/test/unit_test.hpp> #include <optional> #include <std_fs> #include <string> /*------------------------------------------------------------------------------ TEST PLAN: 1. Argument with value 2. Argument only with default value 3. Argu...
27.071594
80
0.628306
lpea
682dae4039bb24fc9f6dfbabb7ddccd09fc665b5
1,381
cpp
C++
Law_Of_Structure/3.10/BFS.cpp
luochonghai/BeautyOfProgramming
7eacfbf74f1a7eb655f09b4d0f3df9a0a791148f
[ "CECILL-B" ]
null
null
null
Law_Of_Structure/3.10/BFS.cpp
luochonghai/BeautyOfProgramming
7eacfbf74f1a7eb655f09b4d0f3df9a0a791148f
[ "CECILL-B" ]
null
null
null
Law_Of_Structure/3.10/BFS.cpp
luochonghai/BeautyOfProgramming
7eacfbf74f1a7eb655f09b4d0f3df9a0a791148f
[ "CECILL-B" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution {//可以尝试用非递归的方式来实现。 public: vector<vector<int>> levelOrder(TreeNode* root) { vector<vector<in...
26.557692
62
0.446054
luochonghai
682db1513dafdd908c3fdcf8dd567edd2d0d5912
17,105
cpp
C++
main.cpp
jieatcoderrect/jit_vectorize
b20d4b1c64d96d4e42bf618f0c4c66c1f9d5476e
[ "Apache-2.0" ]
2
2020-05-04T06:02:23.000Z
2020-05-04T13:12:54.000Z
main.cpp
jieatcoderrect/jit_vectorize
b20d4b1c64d96d4e42bf618f0c4c66c1f9d5476e
[ "Apache-2.0" ]
null
null
null
main.cpp
jieatcoderrect/jit_vectorize
b20d4b1c64d96d4e42bf618f0c4c66c1f9d5476e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <utility> #include <vector> #include <map> #include <cstdlib> #include <memory> #include <cstring> const uint32_t BATCHES = 100000; /** * Memory management rules * 1. use new/delete * 2. who own who release */ /*******************************************************************...
23.82312
177
0.543467
jieatcoderrect
682eaf43c4a649053bfc051ea2362b98837e2ae0
1,867
hpp
C++
include/misc.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
include/misc.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
include/misc.hpp
dkaramit/comET
dbbb66d5839d6d6d0fd45a32e49fb07b988ddf48
[ "MIT" ]
null
null
null
#ifndef MISC_head #define MISC_head namespace comET{ using unInt = unsigned int; template<bool C, typename T1, typename T2> struct IF{using type=T1;}; template<typename T1, typename T2> struct IF<false,T1,T2>{using type=T2;}; // enable_if::type is only defined if B==true. So, if we ask for enable_if<false,T>::typ...
33.339286
109
0.70541
dkaramit
682ec7b77fa3d0ff1f81ee4bb06ef7e51e41f46e
24,873
inl
C++
include/mathos/vmvector_sse.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
1
2021-03-31T13:14:54.000Z
2021-03-31T13:14:54.000Z
include/mathos/vmvector_sse.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
null
null
null
include/mathos/vmvector_sse.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2010 Ville Ruusutie 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 wi...
31.169173
128
0.662043
napina
683553fab88f23208a8c889422e9d7676a4c30e5
951
cpp
C++
lib/netdata/fragments_npc.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
1
2021-02-05T23:20:07.000Z
2021-02-05T23:20:07.000Z
lib/netdata/fragments_npc.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
lib/netdata/fragments_npc.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "common.h" #include "utils.h" #include "netdata/fragments_npc.h" namespace clientdata { bool identifyFragmentNpcInteract(const barray & dataStream, barray::const_iterator & curPos, unsigned int *id) { size_t bytesLeft = dataStream.end() - curPos; if (bytesLeft < 8...
22.116279
130
0.623554
siilky
6835d2fb78cd744a9f6352c3165bf8282535a8fe
3,726
cpp
C++
src/common/ThreadPool.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
src/common/ThreadPool.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
src/common/ThreadPool.cpp
klx99/Elastos.Service.CarrierGroup
a1922402af66308178f048352ab6038f4c2d848b
[ "MIT" ]
null
null
null
// // ThreadPool.cpp // // Created by mengxk on 19/03/16. // Copyright © 2016 mengxk. All rights reserved. // #include "ThreadPool.hpp" #include "Log.hpp" namespace elastos { /***********************************************/ /***** static variables initialize *************/ /*************************************...
25.006711
90
0.556629
klx99
6836a3e5919d02c7b1e61d0a1bf53fc1e43759bb
1,162
cpp
C++
source/GLRenderer/shaders/HeavyShaders.cpp
GPUPeople/cuRE
ccba6a29bba4445300cbb630befe57e31f0d80cb
[ "MIT" ]
55
2018-07-11T23:40:06.000Z
2022-03-18T05:34:44.000Z
source/GLRenderer/shaders/HeavyShaders.cpp
GPUPeople/cuRE
ccba6a29bba4445300cbb630befe57e31f0d80cb
[ "MIT" ]
1
2018-09-10T09:57:47.000Z
2018-09-10T09:57:47.000Z
source/GLRenderer/shaders/HeavyShaders.cpp
GPUPeople/cuRE
ccba6a29bba4445300cbb630befe57e31f0d80cb
[ "MIT" ]
13
2018-08-16T17:00:36.000Z
2022-01-17T08:33:57.000Z
#include "../config.h" #include "HeavyShaders.h" extern const char heavy_vertex_vs[]; extern const char heavy_vertex_fs[]; extern const char heavy_vertex_interlocked_fs[]; extern const char heavy_fragment_vs[]; extern const char heavy_fragment_fs[]; extern const char heavy_fragment_interlocked_fs[]; namespace GL...
24.208333
117
0.766781
GPUPeople
6839cfa938370f80aef5a0151b9548fc625761e6
330
cpp
C++
MistThread/Input/MouseState.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
2
2015-08-30T00:26:45.000Z
2015-11-13T05:58:30.000Z
MistThread/Input/MouseState.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
1
2015-11-25T06:28:13.000Z
2015-11-25T06:30:32.000Z
MistThread/Input/MouseState.cpp
Neko81795/CBREngine
3ea100f09110d55fcbcadb23c246d47ed46c5121
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "MouseState.h" namespace MistThread { namespace Input { Vector2 MouseState::PositionInGameWorld(const Vector2& camera, float cameraZ, Vector2 windowCenter, float zLayer) const { float addscale = 1 / (-(zLayer + cameraZ) / 30); return ((Position - windowCenter) / addscale) + camera; ...
22
123
0.669697
Neko81795
683e981a35cb41df3c0405940fe8f12d4f7b0817
5,412
cpp
C++
game/src/Map/Map.cpp
jblacklock/Infinite-Resignation
ee968fa296633ae2bac9dd3581b1a7aefcf0a9fb
[ "MIT" ]
null
null
null
game/src/Map/Map.cpp
jblacklock/Infinite-Resignation
ee968fa296633ae2bac9dd3581b1a7aefcf0a9fb
[ "MIT" ]
null
null
null
game/src/Map/Map.cpp
jblacklock/Infinite-Resignation
ee968fa296633ae2bac9dd3581b1a7aefcf0a9fb
[ "MIT" ]
null
null
null
#include "Map/Map.h" #include <fstream> #include <stdio.h> #include <string> #include <iostream> #include "Map/TileFactory.h" #include "components/Components.h" #include "PlayerCharacter.h" using namespace std; SDL_Event e; Map::Map(int mapID, int Rows, int Columns) { int rows = Rows; int columns = Columns; ...
22.739496
189
0.470806
jblacklock
96984babce454b33141e1d919d72e72967f795b7
1,054
cpp
C++
artifact/storm/src/storm/storage/prism/ClockVariable.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/prism/ClockVariable.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/storage/prism/ClockVariable.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/storage/prism/ClockVariable.h" #include "storm/storage/expressions/ExpressionManager.h" #include "storm/utility/constants.h" namespace storm { namespace prism { ClockVariable::ClockVariable(storm::expressions::Variable const& variable, bool observable, std::string const& filename, uint_fas...
42.16
290
0.64611
glatteis
96a5504d934a0b79251e7a209eb0b669eaff9b21
42,694
cpp
C++
external/glbinding-2.1.1/source/glbinding/source/gl/types.cpp
Arduqq/computer-graphics
dbf3f8ad223eac28eba11ee22c06a3893dd38416
[ "MIT" ]
18
2016-09-03T05:12:25.000Z
2022-02-23T15:52:33.000Z
external/glbinding-2.1.1/source/glbinding/source/gl/types.cpp
Arduqq/computer-graphics
dbf3f8ad223eac28eba11ee22c06a3893dd38416
[ "MIT" ]
1
2016-05-04T09:06:29.000Z
2016-05-04T09:06:29.000Z
external/glbinding-2.1.1/source/glbinding/source/gl/types.cpp
Arduqq/computer-graphics
dbf3f8ad223eac28eba11ee22c06a3893dd38416
[ "MIT" ]
7
2016-04-20T13:58:50.000Z
2018-07-09T15:47:26.000Z
#include <glbinding/gl/types.h> #include <glbinding/Meta.h> #include <bitset> #include <sstream> template <typename T> std::string bitfieldString(T value) { std::bitset<sizeof(gl::GLbitfield) * 8> bits(static_cast<gl::GLbitfield>(value)); std::stringstream ss; bool first = true; for (size_t i = 0; i < sizeof...
31.140773
205
0.756055
Arduqq
96a86fabfde93c47e61335d95a8801e4a6146f31
6,820
cpp
C++
plugins/VCard/testplugin.cpp
dusong7/eudora-win
850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2
[ "BSD-3-Clause-Clear" ]
10
2018-05-23T10:43:48.000Z
2021-12-02T17:59:48.000Z
plugins/VCard/testplugin.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
1
2019-03-19T03:56:36.000Z
2021-05-26T18:36:03.000Z
plugins/VCard/testplugin.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
11
2018-05-23T10:43:53.000Z
2021-12-27T15:42:58.000Z
// testplugin.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include <fstream.h> #include "testplugin.h" #include "ems-win.h" #include "SettingsDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // // Note! // // If this DLL is ...
24.532374
173
0.677713
dusong7
96ae558bb0dadc072b180f5da1f28f9a865f25f2
729
cpp
C++
chapter1/account_balance.cpp
hsgrewal/learning-Cpp
c4da6d13a658b2254ab858ddf6beffe75a9fc1ba
[ "MIT" ]
null
null
null
chapter1/account_balance.cpp
hsgrewal/learning-Cpp
c4da6d13a658b2254ab858ddf6beffe75a9fc1ba
[ "MIT" ]
null
null
null
chapter1/account_balance.cpp
hsgrewal/learning-Cpp
c4da6d13a658b2254ab858ddf6beffe75a9fc1ba
[ "MIT" ]
null
null
null
// This program calculates the current balance in a bank account #include <iostream> using namespace std; int main() { double balance, deposits, withdrawals; // Get starting balance cout << "Enter starting balance: $"; cin >> balance; // Get total dollar amount of deposits cout << "Enter tota...
25.137931
75
0.654321
hsgrewal
96b02d6f15005d09c138dbdc838ddce0b22196ad
2,367
cpp
C++
v6/src/platform/opengl/opengl-vertex-array.cpp
MemoryChips/v6-game-engine
b7a6c09dbce34621f4c7045ed2b2319d2ce3413d
[ "MIT" ]
null
null
null
v6/src/platform/opengl/opengl-vertex-array.cpp
MemoryChips/v6-game-engine
b7a6c09dbce34621f4c7045ed2b2319d2ce3413d
[ "MIT" ]
null
null
null
v6/src/platform/opengl/opengl-vertex-array.cpp
MemoryChips/v6-game-engine
b7a6c09dbce34621f4c7045ed2b2319d2ce3413d
[ "MIT" ]
null
null
null
#include "opengl-vertex-array.h" #include "instrumentor.h" #include "log.h" #include <glad/glad.h> namespace v6 { static GLenum ShaderDataTypeToOpenGLBaseType(ShaderDataType type) { switch (type) { case ShaderDataType::Float: return GL_FLOAT; case ShaderDataType::Float2: return GL_FLOAT; case ShaderD...
26.010989
80
0.719054
MemoryChips
96b090b016fa19c863d5e0a8a916bf09941f34e0
15,411
cpp
C++
src/x/events/e_vio.cpp
jpl-x/x_events
e9d0b6e578f045eb7b57acadf75b77d8a323f51d
[ "Apache-2.0" ]
null
null
null
src/x/events/e_vio.cpp
jpl-x/x_events
e9d0b6e578f045eb7b57acadf75b77d8a323f51d
[ "Apache-2.0" ]
null
null
null
src/x/events/e_vio.cpp
jpl-x/x_events
e9d0b6e578f045eb7b57acadf75b77d8a323f51d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 California Institute of Technology (“Caltech”) * * 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 r...
35.756381
142
0.654597
jpl-x
96b3ee5b65bc8a6ebd0dc484669d8c56007717de
3,417
cpp
C++
raygame/Actor.cpp
jasPerSh122902/GameFrameworkCPP
8b9cea376b8f084e869aa2cf68b68e7b8931af6b
[ "MIT" ]
null
null
null
raygame/Actor.cpp
jasPerSh122902/GameFrameworkCPP
8b9cea376b8f084e869aa2cf68b68e7b8931af6b
[ "MIT" ]
null
null
null
raygame/Actor.cpp
jasPerSh122902/GameFrameworkCPP
8b9cea376b8f084e869aa2cf68b68e7b8931af6b
[ "MIT" ]
null
null
null
#include "Actor.h" #include "Transform2D.h" #include <string.h> #include "Collider.h" #include "Componet.h" Actor::Actor() { m_transform = new Transform2D(this); } Actor::~Actor() { delete m_transform; } Actor::Actor(float x, float y, const char* name = "Actor") { //Initialze default values m_transfo...
23.40411
72
0.622769
jasPerSh122902
96cd19a8d7cad6b6b4f1bcd6756d00fd152119fe
1,133
cpp
C++
draw-case-study.cpp
zhaolu996/KPCS
ccefc9139e76f885539c61aaa8f7db598936553e
[ "MIT" ]
null
null
null
draw-case-study.cpp
zhaolu996/KPCS
ccefc9139e76f885539c61aaa8f7db598936553e
[ "MIT" ]
null
null
null
draw-case-study.cpp
zhaolu996/KPCS
ccefc9139e76f885539c61aaa8f7db598936553e
[ "MIT" ]
null
null
null
#include "Snap.h" // Demo drawing of graph with nodes labeled with text void DrawGVizDemo() { PUNGraph UNGraph1; const char * flnm = "../plot/casestudy/data/case1/case_edges.txt"; const char * DIRNAME = "../plot/casestudy"; UNGraph1 = TSnap::LoadEdgeList<PUNGraph>(flnm,0, 1); TStrV LNames; // gvlDot, g...
25.75
78
0.574581
zhaolu996
96cecc1a7809e2db5cfc97f8d794a064fb6c752f
5,567
cpp
C++
src/common/Channel.cpp
nforro/chatterino2
e9868fdd84bd5799b9689fc9d7ee4abed792ecec
[ "MIT" ]
null
null
null
src/common/Channel.cpp
nforro/chatterino2
e9868fdd84bd5799b9689fc9d7ee4abed792ecec
[ "MIT" ]
null
null
null
src/common/Channel.cpp
nforro/chatterino2
e9868fdd84bd5799b9689fc9d7ee4abed792ecec
[ "MIT" ]
null
null
null
#include "common/Channel.hpp" #include "Application.hpp" #include "debug/Log.hpp" #include "messages/Message.hpp" #include "singletons/EmoteManager.hpp" #include "singletons/IrcManager.hpp" #include "singletons/LoggingManager.hpp" #include "singletons/WindowManager.hpp" #include <QJsonArray> #include <QJsonDocument> ...
25.536697
96
0.643614
nforro
96d03aa05a8661f24f81ccdddab5fd93d82b318b
270
cpp
C++
code/min_edge_cover.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2021-08-10T15:08:35.000Z
2021-08-10T15:08:35.000Z
code/min_edge_cover.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
null
null
null
code/min_edge_cover.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2020-10-29T01:38:59.000Z
2020-10-29T01:38:59.000Z
/* If a minimum edge cover contains C edges, and a maximum matching contains M edges, then C + M = jV j. To obtain the edge cover, start with a maximum matching, and then, for every vertex not matched, just select some edge incident upon it and add it to the edge set */
38.571429
60
0.751852
raynoldng
96d305be44fe905043816a241ef23cf504b27ce7
1,237
cpp
C++
dataset/test/modification/1480_all/38/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1480_all/38/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1480_all/38/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include<bits/stdc++.h> using namespace std; using ll = long long; int main(); int main() { int z = 1; cin >> z; if (5 > 3) cout << "new code";for ( ; z--; ) /* 'for' inside */ { std::string lo_ym; cin >> lo_ym; int j = lo_ym.le...
23.339623
64
0.322555
Karina5005
96dce5d5758a81c4b34e55ac794b9264a0eafaeb
2,039
cpp
C++
addons/xmlgui/framework/Controls.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
2
2015-12-01T16:33:43.000Z
2016-04-07T03:43:32.000Z
addons/xmlgui/framework/Controls.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
null
null
null
addons/xmlgui/framework/Controls.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
3
2020-02-17T14:36:18.000Z
2021-08-09T12:02:59.000Z
/** * Controls.cpp * emptyExample * * Created by Marek Bereza on 20/06/2011. * */ #include "Instantiator.h" #include "Gui.h" #include "Slider.h" #include "PushButton.h" #include "Menu.h" #include "MenuItem.h" #include "MenuBar.h" #include "ColorPicker.h" #include "Knob.h" #include "Toggle.h" #include "Contour.h"...
24.27381
80
0.727808
eraly5555
96e6de186e1b24147bb6d7321a571e05b57fee2c
2,665
cpp
C++
test/Plugins/plugin_load_test_10.cpp
opensocsysarch/CoreGen
204e03b8b4a0d23cf8f955ed99af5de7fa07569e
[ "Apache-2.0" ]
6
2019-08-15T23:11:49.000Z
2021-12-17T18:28:37.000Z
test/Plugins/plugin_load_test_10.cpp
rkabrick/CoreGen
e456763d6b669370b9a17d92552516ebc2887ddf
[ "Apache-2.0" ]
245
2018-10-23T12:52:09.000Z
2022-03-31T20:16:04.000Z
test/Plugins/plugin_load_test_10.cpp
rkabrick/CoreGen
e456763d6b669370b9a17d92552516ebc2887ddf
[ "Apache-2.0" ]
5
2019-10-15T15:01:04.000Z
2022-02-18T17:09:12.000Z
// // _PLUGIN_LOAD_TEST_10_CPP // // Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC // All Rights Reserved // contact@tactcomplabs.com // // See LICENSE in the top level directory for licensing details // // #include <iostream> #include "CoreGen/CoreGenBackend/CoreGenBackend.h" std::string PROJNAME = "...
24.227273
95
0.56773
opensocsysarch
96e6e2d5e63f992afb364eea28ec0b4ccf053e30
192
hpp
C++
pomdog/input/button_state.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/input/button_state.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/input/button_state.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #pragma once namespace pomdog { enum class ButtonState : bool { Released = false, Pressed = true }; } // namespace pomdog
14.769231
57
0.697917
mogemimi
96e94936c2a0c303711b74230f3d6d8a9e225ce6
4,737
cpp
C++
blastermaster/Grid/Grid.cpp
ndmnhat/blastermaster
8937b738fe6d1667d0456c495a05b76106cd29ec
[ "MIT" ]
1
2022-02-21T08:11:52.000Z
2022-02-21T08:11:52.000Z
blastermaster/Grid/Grid.cpp
ndmnhat/blastermaster
8937b738fe6d1667d0456c495a05b76106cd29ec
[ "MIT" ]
null
null
null
blastermaster/Grid/Grid.cpp
ndmnhat/blastermaster
8937b738fe6d1667d0456c495a05b76106cd29ec
[ "MIT" ]
1
2022-02-27T07:55:15.000Z
2022-02-27T07:55:15.000Z
#include "Grid.h" #include "..\Utils\Utils.h" CGrid* CGrid::_instance = NULL; void CGrid::addObject(LPGAMEOBJECT object) { if (object == NULL) return; float left, right, top, bottom; object->GetBoundingBox(left, top, right, bottom); int firstRow = top / GRID_CELL_HEIGHT; int lastRow = bottom / GRID_CELL_HEIGHT...
27.540698
198
0.686299
ndmnhat
96fce5bbcfc1243d9921683899fbc3590ca34b77
9,362
cpp
C++
src/connectionhandler.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
null
null
null
src/connectionhandler.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
null
null
null
src/connectionhandler.cpp
smr-llc/wooten-server
b6b347d3b7547e26883838f71e28726154ea6809
[ "MIT" ]
1
2021-03-29T20:19:06.000Z
2021-03-29T20:19:06.000Z
#include "connectionhandler.h" #include <unistd.h> #include <string.h> #include <iostream> #include <random> #include <poll.h> #include <sys/time.h> #include <signal.h> ConnectionHandler::ConnectionHandler(int sock, struct sockaddr_in addr, std::shared_ptr<PacketHandler> pktHandler) : m_sock(sock), m_addr(add...
29.440252
146
0.600192
smr-llc
96fe7428b9c5c0596039e7a4bec9b4357d7ccc58
486
cpp
C++
src/dynfu/utils/frame.cpp
chenguowen/dynfu
5991e43144e9b3a95005c820f87900a6b21c7826
[ "BSD-3-Clause" ]
34
2018-10-10T05:56:53.000Z
2022-03-02T09:17:05.000Z
src/dynfu/utils/frame.cpp
chenguowen/dynfu
5991e43144e9b3a95005c820f87900a6b21c7826
[ "BSD-3-Clause" ]
1
2019-04-29T12:29:22.000Z
2019-05-14T15:33:12.000Z
src/dynfu/utils/frame.cpp
chenguowen/dynfu
5991e43144e9b3a95005c820f87900a6b21c7826
[ "BSD-3-Clause" ]
11
2018-08-13T02:27:29.000Z
2021-12-02T06:43:18.000Z
#include <dynfu/utils/frame.hpp> dynfu::Frame::Frame(int id, pcl::PointCloud<pcl::PointXYZ> vertices, pcl::PointCloud<pcl::Normal> normals) { this->id = id; this->vertices = vertices; this->normals = normals; } dynfu::Frame::~Frame() = default; int dynfu::Frame::getId() { return this->id; } pcl::...
30.375
108
0.670782
chenguowen
8c00288b8cc922285f05f098368cccbd504dfec8
42,484
cpp
C++
Matrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
3
2020-07-29T10:45:32.000Z
2022-02-03T02:32:59.000Z
Matrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
null
null
null
Matrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
5
2020-08-04T14:44:17.000Z
2021-12-11T04:28:47.000Z
#include <iostream> #include <typeinfo> #include <cmath> #include "Matrix.h" using namespace std; // Constructor - using an initialisation list here template<class T> Matrix<T>::Matrix(int rows, int cols, bool preallocate):\ rows(rows), cols(cols), size_of_values(rows * cols), preallocate(preallocate) { // If we w...
29.709091
101
0.468765
Mountiko
8c01635bc1c48bd03201b08d74340bc7293d6ca4
5,217
cpp
C++
Source/AjaMediaEditor/Private/Customizations/AjaMediaTimecodeReferenceCustomization.cpp
ue4plugins/AjaMedia
d7147e4affc2820d36d942ff28f5a5abae5acbd1
[ "MIT" ]
3
2019-10-09T16:05:34.000Z
2020-08-28T12:43:26.000Z
Source/AjaMediaEditor/Private/Customizations/AjaMediaTimecodeReferenceCustomization.cpp
ue4plugins/AjaMedia
d7147e4affc2820d36d942ff28f5a5abae5acbd1
[ "MIT" ]
null
null
null
Source/AjaMediaEditor/Private/Customizations/AjaMediaTimecodeReferenceCustomization.cpp
ue4plugins/AjaMedia
d7147e4affc2820d36d942ff28f5a5abae5acbd1
[ "MIT" ]
2
2019-11-18T00:43:25.000Z
2020-09-18T03:39:36.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "Customizations/AjaMediaTimecodeReferenceCustomization.h" #include "AjaDeviceProvider.h" #include "CommonFrameRates.h" #include "DetailWidgetRow.h" #include "DetailCategoryBuilder.h" #include "DetailLayoutBuilder.h" #include "Framework/Application/...
39.522727
172
0.797968
ue4plugins
8c02ee6e7f8209a9cbb128bd793491c07123ba65
2,343
hpp
C++
lib/winss/path_mutex.hpp
taylorb-microsoft/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
52
2017-01-05T23:39:38.000Z
2020-06-04T03:00:11.000Z
lib/winss/path_mutex.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
24
2017-01-05T05:07:34.000Z
2018-03-09T00:50:58.000Z
lib/winss/path_mutex.hpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
7
2016-12-27T20:55:20.000Z
2018-03-09T00:32:19.000Z
/* * Copyright 2016-2017 Morgan Stanley * * 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 ag...
27.564706
77
0.649595
taylorb-microsoft
22c82ef44310e1ea6020188d36e266daecba58f2
4,889
cpp
C++
MSCKF/main.cpp
michael-fonder/fonder_thesis-2016
59631865169857f935a52ffd89a07243fe00e7d1
[ "MIT" ]
26
2016-09-22T08:41:10.000Z
2022-02-17T02:49:45.000Z
MSCKF/main.cpp
michael-fonder/fonder_thesis-2016
59631865169857f935a52ffd89a07243fe00e7d1
[ "MIT" ]
4
2016-09-06T11:25:16.000Z
2018-05-31T12:29:50.000Z
MSCKF/main.cpp
michael-fonder/fonder_thesis-2016
59631865169857f935a52ffd89a07243fe00e7d1
[ "MIT" ]
19
2016-08-30T07:17:51.000Z
2018-11-08T07:29:18.000Z
/** * Author : Michael Fonder * Year : 2016 **/ #include <iostream> #include <sstream> #include <time.h> #include <stdio.h> #include <stdint.h> #include <math.h> #include <Eigen/Dense> #include <Eigen/QR> #include <Eigen/Dense> #include <Eigen/Eigen> #include <Eigen/Sparse> #include <unordered_map> #include <unor...
28.097701
96
0.662508
michael-fonder
22c8d95d29f3ea36be36b7a7b2ab2de711502728
34,115
cpp
C++
src/map/map_solver_project_between.cpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
1
2020-12-12T16:51:58.000Z
2020-12-12T16:51:58.000Z
src/map/map_solver_project_between.cpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
src/map/map_solver_project_between.cpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
#include "map_run.hpp" #include "map_solver_runner.hpp" #include <gtsam/geometry/Cal3DS2.h> #include <gtsam/geometry/PinholeCamera.h> #include <gtsam/nonlinear/DoglegOptimizer.h> #include <gtsam/nonlinear/ISAM2.h> #include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h> #include <gtsam/slam/BetweenFactor.h> #include...
38.548023
117
0.584904
ptrmu
22ce77d65cf91f2ddb5ab0b8ab45d169dd3b3d71
506
hpp
C++
plugins/openal/include/sge/openal/funcs/alc_create_context.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/openal/include/sge/openal/funcs/alc_create_context.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/openal/include/sge/openal/funcs/alc_create_context.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_OPENAL_FUNCS_ALC_CREATE_CONTEXT_HPP_INCLUDED #define SGE_OPENAL_FUNCS_ALC_CREATE_CONTEX...
25.3
61
0.762846
cpreh
22d0192686fdc48a6c6af68d71821f0a2e92e02a
2,901
cpp
C++
aws-cpp-sdk-wellarchitected/source/model/ChoiceReason.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-wellarchitected/source/model/ChoiceReason.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-wellarchitected/source/model/ChoiceReason.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-02-28T21:36:42.000Z
2022-02-28T21:36:42.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/wellarchitected/model/ChoiceReason.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::...
31.532609
110
0.620131
perfectrecall
22d0cf59a1f45904ce07d85ef5fc846416d07704
1,534
cpp
C++
EU4toV2/Source/EU4World/Regions/Area.cpp
Nyarukocqc/EU4toVic2
8cbe79e3e4b1fa8c35064a1f13a1674b0e87306d
[ "MIT" ]
2
2020-01-02T16:07:51.000Z
2020-01-12T17:55:13.000Z
EU4toV2/Source/EU4World/Regions/Area.cpp
Nyarukocqc/EU4toVic2
8cbe79e3e4b1fa8c35064a1f13a1674b0e87306d
[ "MIT" ]
3
2020-01-12T19:44:56.000Z
2020-01-17T05:40:41.000Z
EU4toV2/Source/EU4World/Regions/Area.cpp
Nyarukocqc/EU4toVic2
8cbe79e3e4b1fa8c35064a1f13a1674b0e87306d
[ "MIT" ]
1
2020-01-12T17:55:40.000Z
2020-01-12T17:55:40.000Z
/*Copyright (c) 2019 The Paradox Game Converters Project Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
35.674419
101
0.767275
Nyarukocqc
22d5384f06ffddfb287bfb0791453e7f3f570e19
386
cpp
C++
src/os/real_os_functions.cpp
juruen/cavalieri
c3451579193fc8f081b6228ae295b463a0fd23bd
[ "MIT" ]
54
2015-01-14T21:11:56.000Z
2021-06-27T13:29:40.000Z
src/os/real_os_functions.cpp
juruen/cavalieri
c3451579193fc8f081b6228ae295b463a0fd23bd
[ "MIT" ]
null
null
null
src/os/real_os_functions.cpp
juruen/cavalieri
c3451579193fc8f081b6228ae295b463a0fd23bd
[ "MIT" ]
10
2015-07-15T05:09:34.000Z
2019-01-10T07:32:02.000Z
#include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <real_os_functions.h> ssize_t real_os_functions::recv(int fd, void *buf, size_t len, int flags) { return ::recv(fd, buf, len, flags); } ssize_t real_os_functions::write(int fd, void *buf, size_t count) { return ::write(fd, buf, count); } ...
24.125
75
0.73057
juruen
22d697183637dd0983153f1e99655ce18452c836
14,005
cpp
C++
src/ledger_rest.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/ledger_rest.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/ledger_rest.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2015-2020 Chad Voegele // 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 notice, this // list of condi...
32.344111
134
0.637558
chadvoegele
22e40f50415059d8cb00e4a6d4e8bdd3c2c127d3
4,226
cpp
C++
lib/OneWireHub/src/BAE910.cpp
tbuz/ArduinoSensorKit
e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0
[ "MIT" ]
null
null
null
lib/OneWireHub/src/BAE910.cpp
tbuz/ArduinoSensorKit
e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0
[ "MIT" ]
null
null
null
lib/OneWireHub/src/BAE910.cpp
tbuz/ArduinoSensorKit
e088fb1a8bd6316664b9fe5354ebc0e2d158b3d0
[ "MIT" ]
null
null
null
#include "BAE910.h" BAE910::BAE910(uint8_t ID1, uint8_t ID2, uint8_t ID3, uint8_t ID4, uint8_t ID5, uint8_t ID6, uint8_t ID7) : OneWireItem(ID1, ID2, ID3, ID4, ID5, ID6, ID7) { static_assert(sizeof(memory) < 256, "Implementation does not cover the whole address-space"); extCommand(0xBB); // clear memory }; ...
33.808
154
0.467108
tbuz
22e7c639a01f7ca69290b817352fa476b9bbfc25
844
cpp
C++
LuoguCodes/UVA10976.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/UVA10976.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/UVA10976.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
#include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <set> #include <map> #include <queue> #include <string> #include <vector> #include <numeric> #include <iostream> #include <algorithm> #define ll long long #define int long long #define rep(i, a, b) for (int i = (a); i <= (b); ++i) #ifdef y...
27.225806
109
0.582938
Anguei
22efb683fd7069a9d93944999dbd73a4ab245808
2,684
hpp
C++
src/openmpt/sounddevice/SoundDeviceRtAudio.hpp
sagamusix/openmpt
6d56d9a31d99c7f9a1f024d3deeb69006117e55c
[ "BSD-3-Clause" ]
8
2019-05-28T20:02:50.000Z
2021-10-12T23:34:02.000Z
src/openmpt/sounddevice/SoundDeviceRtAudio.hpp
sagamusix/openmpt
6d56d9a31d99c7f9a1f024d3deeb69006117e55c
[ "BSD-3-Clause" ]
null
null
null
src/openmpt/sounddevice/SoundDeviceRtAudio.hpp
sagamusix/openmpt
6d56d9a31d99c7f9a1f024d3deeb69006117e55c
[ "BSD-3-Clause" ]
1
2019-12-25T01:02:00.000Z
2019-12-25T01:02:00.000Z
/* SPDX-License-Identifier: BSD-3-Clause */ /* SPDX-FileCopyrightText: OpenMPT Project Developers and Contributors */ #pragma once #include "openmpt/all/BuildSettings.hpp" #include "SoundDeviceBase.hpp" #include "openmpt/base/Types.hpp" #include "openmpt/logging/Logger.hpp" #include <atomic> #include <memory> #in...
27.387755
152
0.797317
sagamusix
22f7ba52c62a55b05a4459aa4249b02970560923
17,606
cpp
C++
VKTexture2D.cpp
TheBearProject/bearvulkan
ea16b0fb4c99246b91088ea196e3448c8a8d680a
[ "MIT" ]
3
2020-07-03T14:32:09.000Z
2020-11-20T12:59:07.000Z
VKTexture2D.cpp
TheBearProject/bearvulkan
ea16b0fb4c99246b91088ea196e3448c8a8d680a
[ "MIT" ]
null
null
null
VKTexture2D.cpp
TheBearProject/bearvulkan
ea16b0fb4c99246b91088ea196e3448c8a8d680a
[ "MIT" ]
2
2020-04-24T20:19:21.000Z
2020-07-03T14:32:12.000Z
#include "VKPCH.h" size_t Texture2DCounter = 0; VKTexture2D::VKTexture2D(size_t width, size_t height, size_t mips, size_t count, BearTexturePixelFormat pixel_format, BearTextureUsage type_usage, void* data) { Texture2DCounter++; m_Format = pixel_format; m_TextureUsage = type_usage; m_TextureType = BearT...
45.611399
301
0.748438
TheBearProject
fe00b0cced55d27fe65133ce53e13522f05088b9
996
cpp
C++
C++/Linux/test/lesson-6-1/main.cpp
DanyloSve/smartHouse
e716591827ccb605b023f0429211cc996404f351
[ "MIT" ]
null
null
null
C++/Linux/test/lesson-6-1/main.cpp
DanyloSve/smartHouse
e716591827ccb605b023f0429211cc996404f351
[ "MIT" ]
null
null
null
C++/Linux/test/lesson-6-1/main.cpp
DanyloSve/smartHouse
e716591827ccb605b023f0429211cc996404f351
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include <QApplication> #include <QWidget> #include <QFrame> #include <QGridLayout> class Cursors : public QWidget { public : Cursors(QWidget *parent = nullptr); }; Cursors::Cursors(QWidget *parent) : QWidget(parent) { QFrame *frame1 = new QFrame(this); frame1->setFrameStyle(QFr...
20.75
53
0.664659
DanyloSve
fe0f46dc3e94734c7136e3db82f94ee72790e783
6,826
cpp
C++
manager/cluster_manager.cpp
FinalLevel/metis
6f0c8c2fc87954881fc243ed3dabfaaf1ee42dc2
[ "BSD-3-Clause" ]
3
2015-03-28T06:01:04.000Z
2018-11-10T15:38:47.000Z
manager/cluster_manager.cpp
FinalLevel/metis
6f0c8c2fc87954881fc243ed3dabfaaf1ee42dc2
[ "BSD-3-Clause" ]
null
null
null
manager/cluster_manager.cpp
FinalLevel/metis
6f0c8c2fc87954881fc243ed3dabfaaf1ee42dc2
[ "BSD-3-Clause" ]
6
2015-02-25T02:38:23.000Z
2022-03-08T10:23:52.000Z
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014 Final Level // Author: Denys Misko <gdraal@gmail.com> // Distributed under BSD (3-Clause) License (See // accompanying file LICENSE) // // Description: Metis cluster control class implementation ////////////////////...
26.053435
120
0.675652
FinalLevel
fe14339e615e864ae9753d01f9818ca5beab5e6d
849
cpp
C++
CudaTracer2/main.cpp
bbtarzan12/CudaTracer2
89b6454bf84ef6b1300f84c6580c867cb8419ce3
[ "MIT" ]
null
null
null
CudaTracer2/main.cpp
bbtarzan12/CudaTracer2
89b6454bf84ef6b1300f84c6580c867cb8419ce3
[ "MIT" ]
null
null
null
CudaTracer2/main.cpp
bbtarzan12/CudaTracer2
89b6454bf84ef6b1300f84c6580c867cb8419ce3
[ "MIT" ]
null
null
null
//#include "CPURenderer.h" #include "CudaRenderer.h" int main(int argc, char **argv) { unique_ptr<Renderer> renderer = make_unique<CudaRenderer>(); RendererOption rendererOption; rendererOption.width = 1280/2; rendererOption.height = 720/2; CameraOption cameraOption; cameraOption.width = rendererOption.width;...
24.970588
63
0.750294
bbtarzan12
fe17e68b2ac452784e239bdaf4e6e0acef4e82cf
15,311
tpp
C++
src/imageio/itkdetails/ImageData.tpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/imageio/itkdetails/ImageData.tpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/imageio/itkdetails/ImageData.tpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
#include "itkdetails/ImageData.hpp" // for IDE #include "itkdetails/ImageIOInfo.hpp" #include "itkdetails/ImageReading.hpp" #include "itkdetails/ImageUtility.hpp" #include "util/HZeeException.hpp" #include <exception> #include <sstream> #include <typeinfo> #include <typeindex> #include <unordered_map> #include <vecto...
28.406308
98
0.631572
halfmvsq
fe1b6be7921d2184a4ff9e7e02334bad65bcee65
89,965
cc
C++
google/cloud/spanner/samples/samples.cc
antfitch/google-cloud-cpp-spanner
05a2e3ad3ee0ac96164013ce4d9cfce251059569
[ "Apache-2.0" ]
null
null
null
google/cloud/spanner/samples/samples.cc
antfitch/google-cloud-cpp-spanner
05a2e3ad3ee0ac96164013ce4d9cfce251059569
[ "Apache-2.0" ]
null
null
null
google/cloud/spanner/samples/samples.cc
antfitch/google-cloud-cpp-spanner
05a2e3ad3ee0ac96164013ce4d9cfce251059569
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 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 w...
41.477639
80
0.646107
antfitch
fe1b83fab51d806b9ab814bc8789528ee07b855c
2,747
cpp
C++
mem/mmap.cpp
IGR2014/kernale
a8b43cf7d89c3d92b14ffdb88683023048f4bf78
[ "MIT" ]
4
2019-08-09T09:20:40.000Z
2021-09-10T00:59:30.000Z
mem/mmap.cpp
IGR2014/kernale
a8b43cf7d89c3d92b14ffdb88683023048f4bf78
[ "MIT" ]
12
2017-10-24T14:22:46.000Z
2020-07-17T16:20:39.000Z
mem/mmap.cpp
IGR2014/kernale
a8b43cf7d89c3d92b14ffdb88683023048f4bf78
[ "MIT" ]
1
2019-08-01T07:49:36.000Z
2019-08-01T07:49:36.000Z
//////////////////////////////////////////////////////////////// // // Memory map operations definition // // File: mmap.cpp // Date: 15 Jan 2021 // // Copyright (c) 2017 - 2021, Igor Baklykov // All rights reserved. // // #include <cstdint> #include <platform.hpp> #include <mem/mmap.hpp> // M...
28.915789
113
0.641427
IGR2014
fe1eaabfa3825cf2ca70ae9c227787c2dc97c4e3
8,823
cpp
C++
sources/samples/air3D/air3D.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/samples/air3D/air3D.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/samples/air3D/air3D.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#define _USE_MATH_DEFINES #include <levelset/levelset.hpp> #include <cmath> #include <numeric> #include <functional> #include <cfloat> #include <sstream> #include <fstream> #include <iomanip> #include <cstring> #include "Air3DSchemeData.hpp" typedef enum ApproximationAccuracy_Type{ ApproximationAccuracy_Invalid, App...
33.420455
136
0.741018
mdoshi96
fe205c9d407117a6769f62f8e8da89f53df60a59
965
hpp
C++
SRC/GLD/VertexArray.hpp
GustavoGLD/CLI-Graphics-Library
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
1
2021-08-29T01:01:41.000Z
2021-08-29T01:01:41.000Z
SRC/GLD/VertexArray.hpp
GustavoGLD/Fast-CLI-Game-Engine
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
null
null
null
SRC/GLD/VertexArray.hpp
GustavoGLD/Fast-CLI-Game-Engine
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
null
null
null
#include <functional> #include <vector> #include <map> #include "Vectors.hpp" #include "Drawable.hpp" #include "Impl/VertexArrayImpl.hpp" namespace gld { enum PrimitiveType { POINTS, LINE_STRIP, LINE_LOOP, TRIANGLES, PrTy_SIZE }; std::map<gld::PrimitiveType, DrawFunc> drawFunc = { {gld::POINTS, drawPoints},...
22.44186
78
0.671503
GustavoGLD
fe27af1b4420b2c81f0f2406a11e8cbdf05e002f
4,549
cpp
C++
ROBIT_master/src/qnode.cpp
zang09/turtlebot3_autorace_ROBIT2_src
adc7225b7e0e5f822e62746beba16cd5a0b20214
[ "Apache-2.0" ]
null
null
null
ROBIT_master/src/qnode.cpp
zang09/turtlebot3_autorace_ROBIT2_src
adc7225b7e0e5f822e62746beba16cd5a0b20214
[ "Apache-2.0" ]
null
null
null
ROBIT_master/src/qnode.cpp
zang09/turtlebot3_autorace_ROBIT2_src
adc7225b7e0e5f822e62746beba16cd5a0b20214
[ "Apache-2.0" ]
null
null
null
/** * @file /src/qnode.cpp * * @brief Ros communication central! * * @date February 2011 **/ /***************************************************************************** ** Includes *****************************************************************************/ #include "../include/ROBIT_master/qnode.hpp" /**...
30.945578
152
0.570015
zang09
fe28cea5519b5f70868dccf8c8aa6ddcf37a6ff4
2,212
cpp
C++
LeetCode/1046.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
LeetCode/1046.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
LeetCode/1046.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: int lastStoneWeight(vector<int>& stones) { priority_queue<int> pq; for(int i=0;i<stones.size();i++) { pq.push(stones[i]); } int m1,m2; while(!pq.empty()) { if(pq.size()==1) return pq.top(); ...
23.531915
100
0.429024
jnvshubham7
fe2f1d65cad7caeb819d4f7732fb572c6473d5a2
3,441
cpp
C++
VC2010Samples/Fusion/traceman/XMLReader.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/Fusion/traceman/XMLReader.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/Fusion/traceman/XMLReader.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
#include "StdAfx.h" #include <atlbase.h> #include <strsafe.h> #include <cassert> #include <shlwapi.h> #include "XMLReader.h" XMLReader::XMLReader(void) { typedef HRESULT (STDAPICALLTYPE *XMLReaderFunc)(__in REFIID riid, __out void ** ppvObject, __in_opt IMalloc * pMalloc); HINSTANCE hInst = ::GetModuleHandleA(...
18.906593
126
0.726533
alonmm
fe32937d5b521cce517c8f35e5e65bbb5887ba2d
41
cpp
C++
examples/ros/main.cpp
sanblch/hunter
a21edf8a43f567d2ae60ea1acdaab7d4facf3db7
[ "BSD-2-Clause" ]
2,146
2015-01-10T07:26:58.000Z
2022-03-21T02:28:01.000Z
examples/ros/main.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
1,778
2015-01-03T11:50:30.000Z
2019-12-26T05:31:20.000Z
examples/ros/main.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
734
2015-03-05T19:52:34.000Z
2022-02-22T23:18:54.000Z
#include <ros/package.h> int main() { }
8.2
24
0.609756
sanblch
fe3481dff9a2b5e774b141fbe28a7a226f922bb5
667
cpp
C++
C-plus-plus/cpp_exercise/Chapter8/exercise2.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
11
2018-10-09T03:45:27.000Z
2020-12-25T11:39:51.000Z
C-plus-plus/cpp_exercise/Chapter8/exercise2.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
2
2019-03-07T02:45:49.000Z
2019-03-07T03:55:08.000Z
C-plus-plus/cpp_exercise/Chapter8/exercise2.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
7
2019-03-07T02:46:14.000Z
2022-03-19T03:30:22.000Z
//C++ Primer Plus Edition 5 //Chapter 8 Homework 2 #include<iostream> #include<string> using namespace std; struct CandyBar { string name; double weight; int hot; }; void set_CandyBar(CandyBar &candy, char* n = "Millennium Munch", double w = 2.85, int h = 360); void show_CandyBar(const CandyBar &c); int main() { Ca...
20.212121
95
0.655172
dqhplhzz2008
fe3b675d53dcf177886e9ba97e92796fffda964a
791
hpp
C++
include/Quasura/ECS.hpp
jcoder39/Quasura
f6a8b43620aa77f5488327f0cfe4773b7301bae4
[ "MIT" ]
null
null
null
include/Quasura/ECS.hpp
jcoder39/Quasura
f6a8b43620aa77f5488327f0cfe4773b7301bae4
[ "MIT" ]
null
null
null
include/Quasura/ECS.hpp
jcoder39/Quasura
f6a8b43620aa77f5488327f0cfe4773b7301bae4
[ "MIT" ]
null
null
null
/* * ECS.hpp * * Created by Viacheslav Borisenko * * Copyright (c) 2018 spectrobyte http://spectrobyte.com * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * */ #ifndef QUASURA_ECS_ENGINE_HPP #define QUASURA_ECS_ENGINE_HPP...
28.25
65
0.749684
jcoder39
fe3b77782ee173c4ed6e9be2bebdd84038a1c8b6
2,177
hpp
C++
src/include/util.hpp
loda-lang/loda-cpp
439ff19ea478eb8f1c07c0a808f8f3628c5e47c0
[ "Apache-2.0" ]
8
2021-08-22T11:12:45.000Z
2022-03-20T16:52:23.000Z
src/include/util.hpp
lodalang/loda-cpp
439ff19ea478eb8f1c07c0a808f8f3628c5e47c0
[ "Apache-2.0" ]
69
2021-08-28T10:34:30.000Z
2022-03-20T19:16:19.000Z
src/include/util.hpp
lodalang/loda-cpp
439ff19ea478eb8f1c07c0a808f8f3628c5e47c0
[ "Apache-2.0" ]
1
2021-08-29T08:36:12.000Z
2021-08-29T08:36:12.000Z
#pragma once #include <chrono> #include <csignal> #include <map> #include <random> #include <string> #include <vector> class Version { public: static const std::string VERSION; static const std::string BRANCH; static const std::string INFO; static const std::string PLATFORM; static const bool IS_RELEASE; }...
20.157407
76
0.715204
loda-lang
fe40a27cfeb5081de4f0a9ed5db01b18145a6ddc
2,379
hpp
C++
NightFall/borealis/library/include/borealis/i18n.hpp
StarDustCFW/NightFall
b66be81a6d10cfd71773e74156fcaf5e513ae262
[ "MIT" ]
57
2020-09-19T00:16:10.000Z
2021-11-30T20:55:18.000Z
NightFall/borealis/library/include/borealis/i18n.hpp
StarDustCFW/NightFall
b66be81a6d10cfd71773e74156fcaf5e513ae262
[ "MIT" ]
23
2020-09-17T20:32:59.000Z
2021-11-12T18:57:25.000Z
NightFall/borealis/library/include/borealis/i18n.hpp
StarDustCFW/NightFall
b66be81a6d10cfd71773e74156fcaf5e513ae262
[ "MIT" ]
9
2020-09-22T01:24:19.000Z
2021-09-29T20:42:23.000Z
/* Borealis, a Nintendo Switch UI Library Copyright (C) 2020 natinusala This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) a...
26.142857
100
0.694409
StarDustCFW