hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
d438abe67c1676b40403894170606937e5375ab9
1,054
cpp
C++
test/math/box/corner_points.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/math/box/corner_points.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/math/box/corner_points.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/array/object.hpp> #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hpp> #...
31.939394
99
0.685958
[ "object", "vector" ]
d4391ecdfca8c6f94c26b1b9778b19c8c79436ee
3,194
cpp
C++
include/IMAGE_TRACKER/runtracker.cpp
lanfis/Camera_Controler
b63b61722f5ca8505ae017962bc1ccfbc1879c2b
[ "BSD-2-Clause" ]
null
null
null
include/IMAGE_TRACKER/runtracker.cpp
lanfis/Camera_Controler
b63b61722f5ca8505ae017962bc1ccfbc1879c2b
[ "BSD-2-Clause" ]
null
null
null
include/IMAGE_TRACKER/runtracker.cpp
lanfis/Camera_Controler
b63b61722f5ca8505ae017962bc1ccfbc1879c2b
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <algorithm> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include "kcftracker.hpp" #include <dirent.h> using namespace std; using namespace cv; int main(int argc, char* argv[]){ if (argc > 5) return -1;...
22.814286
136
0.595492
[ "object" ]
d43a72ba19eb4697dbfbde55d2cecd605595a894
2,536
cpp
C++
src/Stencils/Stencil_Creater.cpp
fossabot/mpicartreorderlib
8ca5ff41c34011de03deb2d853f385677f7e65f4
[ "MIT" ]
1
2020-06-19T10:22:53.000Z
2020-06-19T10:22:53.000Z
src/Stencils/Stencil_Creater.cpp
fossabot/mpicartreorderlib
8ca5ff41c34011de03deb2d853f385677f7e65f4
[ "MIT" ]
1
2020-06-10T09:50:43.000Z
2020-06-10T09:50:43.000Z
src/Stencils/Stencil_Creater.cpp
fossabot/mpicartreorderlib
8ca5ff41c34011de03deb2d853f385677f7e65f4
[ "MIT" ]
2
2020-06-10T08:35:57.000Z
2020-06-10T09:45:17.000Z
// // Created by konradvonkirchbach on 5/27/20. // #include "Stencil_Creater.h" namespace mpireorderinglib { void five_point_stencil(std::vector< int >& stencil, const int ndims, int * n_neighbors){ int stencil_size = 2*ndims*ndims + ndims; *n_neighbors = 2*ndims + 1; int dim_to_set = 0; stencil.resize...
31.7
118
0.684937
[ "vector" ]
d4427ef7ec05afb3f01ce79948c6bf900a8fb32d
2,861
cpp
C++
Andromeda/Graphics/Animation/DualQuaternion.cpp
DrakonPL/Andromeda-Lib
47cd3b74a736b21050222ef57c45e326304e85a6
[ "MIT", "Unlicense" ]
1
2020-04-01T12:19:48.000Z
2020-04-01T12:19:48.000Z
Andromeda/Graphics/Animation/DualQuaternion.cpp
DrakonPL/Andromeda-Lib
47cd3b74a736b21050222ef57c45e326304e85a6
[ "MIT", "Unlicense" ]
null
null
null
Andromeda/Graphics/Animation/DualQuaternion.cpp
DrakonPL/Andromeda-Lib
47cd3b74a736b21050222ef57c45e326304e85a6
[ "MIT", "Unlicense" ]
1
2020-12-25T18:15:37.000Z
2020-12-25T18:15:37.000Z
#include "DualQuaternion.h" #include <cmath> DualQuaternion operator+(const DualQuaternion& l, const DualQuaternion& r) { return DualQuaternion(real(l) + real(r), dual(l) + dual(r)); } DualQuaternion operator*(const DualQuaternion& dq, float f) { return DualQuaternion(real(dq) * f, dual(dq) * f); } bool operator==...
25.096491
93
0.68158
[ "transform" ]
d44569290f7fed48dcc7cfbe898be64fe26b9682
11,869
cpp
C++
src/GameLogic/Systems/DebugDrawSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/GameLogic/Systems/DebugDrawSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/GameLogic/Systems/DebugDrawSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "Base/precomp.h" #include "GameLogic/Systems/DebugDrawSystem.h" #include <algorithm> #include "Base/Random/Random.h" #include "Base/Types/TemplateHelpers.h" #include "GameData/Components/AiControllerComponent.generated.h" #include "GameData/Components/CharacterStateComponent.generated.h" #include "GameData...
43.16
151
0.758362
[ "geometry", "render", "vector", "transform" ]
d44b8bf417f091f733311d99219986a3f0535425
6,799
hpp
C++
src/layer/common/softmax_func_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/layer/common/softmax_func_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/layer/common/softmax_func_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#ifndef TEXTNET_LAYER_SOFTMAX_FUNC_LAYER_INL_HPP_ #define TEXTNET_LAYER_SOFTMAX_FUNC_LAYER_INL_HPP_ #include <iostream> #include <fstream> #include <sstream> #include <set> #include <mshadow/tensor.h> #include "../layer.h" #include "../op.h" namespace textnet { namespace layer { template<typename xpu> class Softmax...
34.338384
116
0.591116
[ "shape", "vector" ]
d454b21a9b0989c10305cc17fad42d2c3cd13f73
852
cpp
C++
HDUOJ/3232/math_expectation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
HDUOJ/3232/math_expectation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
HDUOJ/3232/math_expectation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <vector> #include <set> #include <queue> #include <map> using namespace std; int main() { ios::sync_with_stdio(false); int riverNum, dis, casePt = 1; ...
21.846154
95
0.518779
[ "vector" ]
d4554aa9de7b8a880299656baa913a0aa54ab0dd
1,413
cpp
C++
platform/android/src/test/render_test_runner.cpp
cristianadam/mapbox-gl-native
5b38cfee18800cbb3c6a3186882744592662c3d6
[ "BSL-1.0", "Apache-2.0" ]
1
2019-11-09T17:52:14.000Z
2019-11-09T17:52:14.000Z
platform/android/src/test/render_test_runner.cpp
cristianadam/mapbox-gl-native
5b38cfee18800cbb3c6a3186882744592662c3d6
[ "BSL-1.0", "Apache-2.0" ]
1
2020-11-21T06:55:47.000Z
2020-11-21T06:55:52.000Z
platform/android/src/test/render_test_runner.cpp
cristianadam/mapbox-gl-native
5b38cfee18800cbb3c6a3186882744592662c3d6
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <android_native_app_glue.h> #include <mbgl/render_test.hpp> #include "jni.hpp" #include "logger.hpp" #include <string> #include <vector> #include <mbgl/util/logging.hpp> #include <android/log.h> namespace mbgl { namespace { int severityToPriority(EventSeverity severity) { switch (severity) { ...
24.789474
120
0.661713
[ "render", "vector" ]
d45abbed9c48229665d58897e20b71697a35a58b
1,291
cpp
C++
Direct3D/PngImage.cpp
AinoMegumi/Direct3D12
d9540baa71b304f7307c70ac5581b13eded1c7b3
[ "MIT" ]
4
2018-11-28T03:14:30.000Z
2020-11-02T15:06:23.000Z
Direct3D/PngImage.cpp
AinoMegumi/Direct3D12
d9540baa71b304f7307c70ac5581b13eded1c7b3
[ "MIT" ]
null
null
null
Direct3D/PngImage.cpp
AinoMegumi/Direct3D12
d9540baa71b304f7307c70ac5581b13eded1c7b3
[ "MIT" ]
1
2021-05-29T12:22:53.000Z
2021-05-29T12:22:53.000Z
#include "PictureLoad.hpp" #include <png.h> #include <pngconf.h> #include <type_traits> #include <tuple> namespace { template<typename Func, std::enable_if_t< std::is_same< decltype(std::declval<Func>()(std::declval<png_image*>()), std::true_type{}), std::true_type>::value, std::nullptr_t > = nullptr> s...
34.891892
149
0.711077
[ "vector" ]
d45b3921f5de71d54dc1b09ef97770b13bef3836
9,901
cpp
C++
src/Graphics/VulkanPipeline.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
1
2022-01-24T18:15:56.000Z
2022-01-24T18:15:56.000Z
src/Graphics/VulkanPipeline.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
src/Graphics/VulkanPipeline.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
#include "Vulkan.hpp" #include "FileSystem.hpp" #include "VulkanDevice.hpp" #include "VulkanPipeline.hpp" #include "VulkanDescriptor.hpp" #include "VulkanRenderPass.hpp" namespace Ondine::Graphics { VulkanShader::VulkanShader( const VulkanDevice &device, const Buffer &source, VulkanShaderType type) : mType(type...
31.632588
81
0.763458
[ "geometry" ]
d460570408cad8d7f3499faf0cea0d28cbfd7ca9
6,573
cpp
C++
dev/Code/Sandbox/Plugins/EditorUI_QT/VariableWidgets/QAmazonDoubleSpinBox.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
1
2021-07-09T06:32:31.000Z
2021-07-09T06:32:31.000Z
dev/Code/Sandbox/Plugins/EditorUI_QT/VariableWidgets/QAmazonDoubleSpinBox.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
null
null
null
dev/Code/Sandbox/Plugins/EditorUI_QT/VariableWidgets/QAmazonDoubleSpinBox.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
30.430556
115
0.628632
[ "geometry" ]
d460c54cbbb3e53e188fd42e7b8c2acbbcad452c
3,529
cpp
C++
src/STEPS.cpp
tymoshenko/cf
4f4e9465ec3700ec16e03e24e9f09542a88534ec
[ "MIT" ]
1
2018-03-01T03:21:10.000Z
2018-03-01T03:21:10.000Z
src/STEPS.cpp
tymoshenko/cf
4f4e9465ec3700ec16e03e24e9f09542a88534ec
[ "MIT" ]
null
null
null
src/STEPS.cpp
tymoshenko/cf
4f4e9465ec3700ec16e03e24e9f09542a88534ec
[ "MIT" ]
null
null
null
#include "cf.hpp" struct STEPS : Module { enum ParamIds { LEVEL1_PARAM, TRIM1_PARAM, NUM_PARAMS }; enum InputIds { LIN1_INPUT, IN1_INPUT, NUM_INPUTS }; enum OutputIds { OUT1_OUTPUT, NUM_OUTPUTS }; int max_steps = 8 ; STEPS() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS) {} void step() overrid...
28.92623
303
0.68943
[ "model" ]
d4661e09e6a5d525cf613bb31c5f7d7556cb8f4e
10,859
cpp
C++
logdevice/test/StreamWriterIntegrationTest.cpp
yzhdanov/LogDevice
809262310df981eb8ed1e2b3252b1ccf4f6aa875
[ "BSD-3-Clause" ]
1
2018-09-12T15:45:05.000Z
2018-09-12T15:45:05.000Z
logdevice/test/StreamWriterIntegrationTest.cpp
march-github/LogDevice
e32e9fd8337cfbe7861c5f78846d42a9abd82d96
[ "BSD-3-Clause" ]
null
null
null
logdevice/test/StreamWriterIntegrationTest.cpp
march-github/LogDevice
e32e9fd8337cfbe7861c5f78846d42a9abd82d96
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <mutex> #include <string> #include <thread> #include <gtest/gtest.h> #includ...
33.309816
80
0.679713
[ "vector" ]
d46759a933a1576051906b43365906fc28a53f88
7,142
cpp
C++
test/rewrite_pooling_test.cpp
pfultz2/AMDMIGraphX
25fffe5984f54590d76f94ff58c0d6b7034df8ea
[ "MIT" ]
null
null
null
test/rewrite_pooling_test.cpp
pfultz2/AMDMIGraphX
25fffe5984f54590d76f94ff58c0d6b7034df8ea
[ "MIT" ]
null
null
null
test/rewrite_pooling_test.cpp
pfultz2/AMDMIGraphX
25fffe5984f54590d76f94ff58c0d6b7034df8ea
[ "MIT" ]
null
null
null
#include <migraphx/rewrite_pooling.hpp> #include <migraphx/dead_code_elimination.hpp> #include <migraphx/program.hpp> #include <migraphx/ref/target.hpp> #include <migraphx/instruction.hpp> #include <migraphx/generate.hpp> #include <migraphx/ranges.hpp> #include <test.hpp> #include <migraphx/make_op.hpp> #include <migr...
37.989362
99
0.475777
[ "shape", "vector" ]
d46a6bde8eae01ff01ffd400b8b6e2a1e63d4fcc
2,704
cpp
C++
src/InitialExperience/SdkModel/InitialExperienceModuleBase.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
69
2017-06-07T10:47:03.000Z
2022-03-24T08:33:33.000Z
src/InitialExperience/SdkModel/InitialExperienceModuleBase.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
23
2017-06-07T10:47:00.000Z
2020-07-09T10:31:17.000Z
src/InitialExperience/SdkModel/InitialExperienceModuleBase.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
31
2017-08-12T13:19:32.000Z
2022-01-04T20:33:40.000Z
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "InitialExperienceModuleBase.h" #include "InitialExperience.h" #include "InitialExperienceModel.h" #include "InitialExperienceController.h" namespace ExampleApp { namespace InitialExperience { namespace SdkModel { Ini...
40.358209
170
0.668639
[ "vector", "model" ]
d46aa490a32cf64eabeb5df724c9bcbc43f16ad1
18,055
cpp
C++
util/def.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
util/def.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
util/def.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * * def.cpp * * $Id: //stdlib/dev/source/stdlib/util/def.cpp#2 $ * *************************************************************************** * * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave * Software divis...
29.892384
78
0.550706
[ "object", "vector" ]
d474aa3362bb63569e49f4ba3bba329b8f74a5df
1,436
cpp
C++
COMP1005/a5/a5.cpp
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
COMP1005/a5/a5.cpp
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
COMP1005/a5/a5.cpp
hansolo669/Class
cf05e0aad68ccc53311cda2c945b6ac5cd5faf2b
[ "MIT" ]
null
null
null
#include <set> #include <map> #include <vector> #include <iterator> #include <iostream> #include <algorithm> #include "a5.h" using namespace std; vector<int> unique(vector<int> a){ set<int> b{a.begin(), a.end()}; vector<int> y; for (std::vector<int>::iterator i = a.begin(); i != a.end(); ++i){ if (b.count(...
24.338983
308
0.490251
[ "vector" ]
d480392fd2ed277e9fc3c396658d748f886bd724
9,041
cpp
C++
controller/src/utils/infobus.cpp
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
controller/src/utils/infobus.cpp
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
controller/src/utils/infobus.cpp
GuttinRibeiro/TCC
fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd
[ "MIT" ]
null
null
null
#include "infobus.hpp" #include "../utils/groups.hpp" InfoBus::InfoBus(qint8 id, std::string team, rclcpp::Client<ctr_msgs::srv::Elementrequest>::SharedPtr *clientPosition, rclcpp::Client<ctr_msgs::srv::Idrequest>::SharedPtr *clientInformation, rclcpp::Client<ctr_msgs...
28.977564
111
0.691738
[ "vector" ]
d4808664209846cb68a22693213ba8298a6d7b1f
929
cpp
C++
src/application/EditCommands/RemoveObjectCommand.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/application/EditCommands/RemoveObjectCommand.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/application/EditCommands/RemoveObjectCommand.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <stdexcept> #include <mtt/application/EditCommands/RemoveObjectCommand.h> #include <mtt/utilities/Abort.h> using namespace mtt; RemoveObjectCommand::RemoveObjectCommand(Object& object, Object& group) : _objectRef(object), _group(group) { if(!_group.subobjectCanBeAddedAndRemoved(_objectRef)) Abort("Rem...
33.178571
144
0.757804
[ "object" ]
d483c6fa6f0bec8161aef4dad8870e2ca2edd6d7
44,125
cxx
C++
opal-3.16.2/src/sip/sippres.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
opal-3.16.2/src/sip/sippres.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
opal-3.16.2/src/sip/sippres.cxx
wwl33695/myopal
d302113c8ad8156b3392ce514cde491cf42d51af
[ "MIT" ]
null
null
null
/* * sippres.cxx * * SIP Presence classes for Opal * * Open Phone Abstraction Library (OPAL) * * Copyright (c) 2009 Post Increment * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may ...
35.699838
152
0.679705
[ "object" ]
d48de53c3509005dd3cd920a4ff40cece438cc47
6,002
cpp
C++
mozilla/gfx/2d/ExtendInputEffectD2D1.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
5
2016-12-20T15:48:05.000Z
2020-05-01T20:12:09.000Z
mozilla/gfx/2d/ExtendInputEffectD2D1.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
null
null
null
mozilla/gfx/2d/ExtendInputEffectD2D1.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
2
2016-12-20T15:48:13.000Z
2019-12-10T15:15:05.000Z
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ExtendInputEffectD2D1.h...
29.278049
151
0.657781
[ "vector", "transform" ]
d48e1722515d31629e33ef0da9232337ee5a496b
7,489
cpp
C++
src/memory/basic_memory.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
6
2017-09-01T11:27:47.000Z
2020-01-16T18:53:10.000Z
src/memory/basic_memory.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
src/memory/basic_memory.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /* Copyright (C) 2017 LePtitDev All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for de...
34.671296
120
0.580051
[ "object" ]
d49315880e0efb78a32ce833f807fb132e45d5bc
2,111
hpp
C++
Spike/Models/SpikingModel.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
39
2016-01-28T17:09:23.000Z
2021-05-04T18:40:19.000Z
Spike/Models/SpikingModel.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
19
2016-03-24T13:52:33.000Z
2019-10-12T09:12:07.000Z
Spike/Models/SpikingModel.hpp
wxie2013/Spike
36a3cfab2390a3d4b6dea9e49e1465987f469cd0
[ "MIT" ]
12
2016-11-05T10:48:55.000Z
2021-07-15T10:08:12.000Z
#ifndef SpikingModel_H #define SpikingModel_H #define SILENCE_MODEL_SETUP class SpikingModel; // Forward Declaration #include <stdio.h> #include "../Backend/Context.hpp" #include "../Synapses/SpikingSynapses.hpp" #include "../Plasticity/STDPPlasticity.hpp" #include "../Neurons/Neurons.hpp" #include "../Neurons/Spikin...
30.157143
126
0.789673
[ "vector" ]
d49744936e46b2618b829783f87bba2c0f78187d
1,475
cpp
C++
2M3/Source/Client/Systems/NetworkWorldState.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
null
null
null
2M3/Source/Client/Systems/NetworkWorldState.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
45
2020-10-08T13:32:36.000Z
2020-12-17T14:41:40.000Z
2M3/Source/Client/Systems/NetworkWorldState.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
3
2020-10-02T09:02:20.000Z
2020-11-07T00:14:13.000Z
#include <Client/Systems/NetworkWorldState.h> #include <Common/Managers/GameManager.h> NetworkWorldState::NetworkWorldState(GameManager* const gameManager, ClientNetworkModule* const networkModule) : ClientNetworkSystem<Transform>(gameManager, networkModule) {} void NetworkWorldState::applyWorldStateEntities(const s...
39.864865
150
0.671186
[ "vector", "transform" ]
d49b257005ff0ab4d6e5854db906b0cbd05f7715
4,125
cpp
C++
Source/SystemQOR/MSWindows/WinQL/Application/Backup/WinQLBackup.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/Application/Backup/WinQLBackup.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/Application/Backup/WinQLBackup.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLBackup.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the Sof...
38.551402
188
0.646545
[ "object" ]
d49e1afaeb2661c8684dd4d1a2804e5f3da4578e
2,597
cc
C++
src/test/cpp/util/strings_windows_test.cc
sevki/bazel
b18915752a69fbbc6ed94e1710198167593565fc
[ "Apache-2.0" ]
5
2019-01-10T09:41:11.000Z
2020-07-15T12:02:22.000Z
src/test/cpp/util/strings_windows_test.cc
sevki/bazel
b18915752a69fbbc6ed94e1710198167593565fc
[ "Apache-2.0" ]
1
2020-01-19T03:55:41.000Z
2020-01-19T03:55:41.000Z
src/test/cpp/util/strings_windows_test.cc
sevki/bazel
b18915752a69fbbc6ed94e1710198167593565fc
[ "Apache-2.0" ]
3
2019-05-05T01:52:36.000Z
2020-11-04T03:16:14.000Z
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
31.670732
75
0.682326
[ "vector" ]
d4a0497c2147649b2ec4b08496e6a19911552e21
4,254
cc
C++
contrib/kafka/filters/network/test/mesh/upstream_kafka_facade_unit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
contrib/kafka/filters/network/test/mesh/upstream_kafka_facade_unit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
contrib/kafka/filters/network/test/mesh/upstream_kafka_facade_unit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include "envoy/thread/thread.h" #include "envoy/thread_local/thread_local.h" #include "test/mocks/thread_local/mocks.h" #include "test/test_common/thread_factory_for_test.h" #include "contrib/kafka/filters/network/source/mesh/upstream_kafka_facade.h" #include "gmock/gmock.h" #include "gtest/gtest.h" using testing::...
39.388889
100
0.77339
[ "mesh" ]
d4abed332160c2f7036a7de15601dfb2014ff65b
1,627
cpp
C++
encrypt-config/ConfigFile.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
encrypt-config/ConfigFile.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
encrypt-config/ConfigFile.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
40.675
150
0.762754
[ "vector" ]
d4b1306bbc995502d041fa445e87670129eee82c
2,660
cc
C++
y2020/vision/sift/testing_sift.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
39
2021-06-18T03:22:30.000Z
2022-03-21T15:23:43.000Z
y2020/vision/sift/testing_sift.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
10
2021-06-18T03:22:19.000Z
2022-03-18T22:14:15.000Z
y2020/vision/sift/testing_sift.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
4
2021-08-19T19:20:04.000Z
2022-03-08T07:33:18.000Z
#include <memory> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> #include "aos/init.h" #include "aos/time/time.h" #include "y2020/vision/sift/fast_gaussian.h" #include "glog/logging.h" #include "y2020/vision/sift/sift971.h" DEFINE_string(image, "", "Image to te...
30.227273
89
0.68609
[ "vector" ]
d4b5b2212928cd76a3191dcf45bf086baa52b6a8
4,767
hpp
C++
src/readScl.hpp
choltz95/c-pcb-annealer
ca962f5fe5a6e398e4f8ef8d1142e619817beb1b
[ "BSD-3-Clause" ]
12
2019-11-01T00:57:42.000Z
2022-02-27T05:38:17.000Z
src/readScl.hpp
sethhillbrand/SA-PCB
5403d495f4478861fa61592481342820046e4dcd
[ "BSD-3-Clause" ]
1
2019-12-23T17:22:24.000Z
2019-12-23T17:22:24.000Z
src/readScl.hpp
sethhillbrand/SA-PCB
5403d495f4478861fa61592481342820046e4dcd
[ "BSD-3-Clause" ]
7
2020-01-30T20:44:11.000Z
2021-12-21T13:17:38.000Z
/////////////////////////////////////////////////////////////////////////////// // Authors: Chester Holtz, Devon Merrill, James (Ting-Chou) Lin, Connie (Yen-Yi) Wu // (respective Ph.D. advisors: Chung-Kuan Cheng, Andrew B. Kahng, Steven Swanson). // // BSD 3-Clause License // // Copyright (c) 2018, The Regents...
36.113636
158
0.639815
[ "vector" ]
d4b8bcc9919a7febca69a72ce43c16c0f1899c85
3,730
hh
C++
construct/UnitBuilder.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
construct/UnitBuilder.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
construct/UnitBuilder.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file construct/UnitBuilder.hh * \brief UnitBuilder class declaration * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //---------------------------------------------------------------------------//...
31.344538
79
0.568633
[ "geometry", "shape", "vector" ]
d4ba27181a3fd19755124cc60d866c675187d5f9
16,788
cc
C++
components/autofill/content/common/autofill_types_struct_traits_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/content/common/autofill_types_struct_traits_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/content/common/autofill_types_struct_traits_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium 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 <utility> #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "base/strings/utf_string_conversions.h" #include "comp...
37.9819
80
0.719621
[ "vector" ]
d4be793b87c2c20f23cc110a430dc6e96bafcd17
2,488
cpp
C++
spmv/crs/spmv.cpp
ada-hackathon/team05
561cc3669b0b4e537e82817e87ebfd25e8912e6d
[ "BSD-3-Clause" ]
null
null
null
spmv/crs/spmv.cpp
ada-hackathon/team05
561cc3669b0b4e537e82817e87ebfd25e8912e6d
[ "BSD-3-Clause" ]
null
null
null
spmv/crs/spmv.cpp
ada-hackathon/team05
561cc3669b0b4e537e82817e87ebfd25e8912e6d
[ "BSD-3-Clause" ]
null
null
null
/* Based on algorithm described here: http://www.cs.berkeley.edu/~mhoemmen/matrix-seminar/slides/UCB_sparse_tutorial_1.pdf */ #include "spmv.h" #include "xcl2.hpp" void spmv(TYPE val[NNZ], int32_t cols[NNZ], int32_t rowDelimiters[N_MAT+1], TYPE vec[N_MAT], TYPE out[N_MAT]){ //OPENCL HOST CODE AREA START std::...
38.875
110
0.677653
[ "vector" ]
d4c00fb8915c886e8852939088d73cfa8d3b707c
1,363
cpp
C++
Train/Sheet/Sheet-B/base/60-80/61-70/65.Mr. Kitayuta's Colorful Graph.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/Sheet/Sheet-B/base/60-80/61-70/65.Mr. Kitayuta's Colorful Graph.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/Sheet/Sheet-B/base/60-80/61-70/65.Mr. Kitayuta's Colorful Graph.cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void fl() { #ifndef ONLINE_JUDGE freopen("in.txt", "r", stdin); // freopen("ot.txt", "w", stdout); #else // freopen("jumping.in", "r", stdin); // HERE #endif } typedef vector<int> vi; #define in(n) scanf("%d",&n) //scan int #define ot(x) printf("%d", x) //output int #defi...
22.716667
96
0.495965
[ "vector" ]
d4c073123f30c4e9cf9336b583666a72118c9d89
655
hpp
C++
src/gaia/DebugDraw.hpp
tomrosling/gaia
cb26e9951d399a402d4ab4deca5f75b64cf13700
[ "MIT" ]
null
null
null
src/gaia/DebugDraw.hpp
tomrosling/gaia
cb26e9951d399a402d4ab4deca5f75b64cf13700
[ "MIT" ]
null
null
null
src/gaia/DebugDraw.hpp
tomrosling/gaia
cb26e9951d399a402d4ab4deca5f75b64cf13700
[ "MIT" ]
null
null
null
#pragma once namespace gaia { class Renderer; class DebugDraw { public: struct DebugVertex; static DebugDraw& Instance() { static DebugDraw inst; return inst; } void Init(Renderer& renderer); void Render(Renderer& renderer); void Point(Vec3f pos, float halfSize, Vec4u8 c...
19.264706
63
0.69771
[ "render" ]
d4c6ed646a67f1cc5cebb476c8c30d56d6e01e65
557
cpp
C++
codeforces/467B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/467B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/467B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// B. Fedor and New Game #include <iostream> #include <vector> #include <bitset> #include <algorithm> using namespace std; int main(){ size_t n; int m, k; cin >> n >> m >> k; int tmp; vector< bitset<20> > v(m+1); for (int i=0; i<m+1; ++i){ cin >> tmp; v[i] = bitset<20>(tmp)...
15.914286
53
0.472172
[ "vector" ]
d4c7e635c4579b4456df1a7328073658f3c25db6
7,745
cpp
C++
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/Line.cpp
MitkoDyakov/RED
3bacb4df47867bbbf23c3c02d0ea1f8faa8d5779
[ "MIT" ]
15
2021-09-21T13:55:54.000Z
2022-03-08T14:05:39.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/Line.cpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
7
2021-09-22T07:56:52.000Z
2022-03-21T17:39:34.000Z
Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/Line.cpp
DynamixYANG/Roendi
2f6703d63922071fd0dfc8e4d2c9bba95ea04f08
[ "MIT" ]
1
2022-03-07T07:51:50.000Z
2022-03-07T07:51:50.000Z
/****************************************************************************** * Copyright (c) 2018(-2021) STMicroelectronics. * All rights reserved. * * This file is part of the TouchGFX 4.17.0 distribution. * * This software is licensed under terms that can be found in the LICENSE file in * the root directory of thi...
26.799308
134
0.557779
[ "render" ]
d4cbeaee7a5e188b648deea1dd3b733988868e4e
4,850
hpp
C++
ShadowPeople/dx11/CommandBufferImpl.hpp
SamuelSiltanen/ShadowPeople
58f94a4397dc5084d9705d4378599cae480b4776
[ "Apache-2.0" ]
null
null
null
ShadowPeople/dx11/CommandBufferImpl.hpp
SamuelSiltanen/ShadowPeople
58f94a4397dc5084d9705d4378599cae480b4776
[ "Apache-2.0" ]
null
null
null
ShadowPeople/dx11/CommandBufferImpl.hpp
SamuelSiltanen/ShadowPeople
58f94a4397dc5084d9705d4378599cae480b4776
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Samuel Siltanen CommandBufferImpl.hpp */ #pragma once #include <d3d11.h> #include <cstdint> #include "DX11Utils.hpp" #include "../Types.hpp" #include "../Errors.hpp" namespace graphics { class DeviceImpl; class TextureImpl; class TextureViewImpl; class BufferImpl; class...
40.416667
115
0.657113
[ "vector" ]
d4dcf6f46ff6518350be6d4699bd1b94364b33f8
19,568
cc
C++
cpp_src/core/cbinding/reindexer_c.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
cpp_src/core/cbinding/reindexer_c.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
cpp_src/core/cbinding/reindexer_c.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
#include "reindexer_c.h" #include <stdlib.h> #include <string.h> #include <locale> #include <mutex> #include "cgocancelcontextpool.h" #include "core/selectfunc/selectfuncparser.h" #include "core/transactionimpl.h" #include "debug/allocdebug.h" #include "estl/syncpool.h" #include "reindexer_version.h" #include "result...
29.874809
139
0.71668
[ "vector" ]
d4e0137ee00a23de2629ab7e3b723173b51ed0e8
117,275
cpp
C++
wxWidgets-2.9.1/src/osx/carbon/dataview.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
wxWidgets-2.9.1/src/osx/carbon/dataview.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
wxWidgets-2.9.1/src/osx/carbon/dataview.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
///////////////////////////////////////////////////////////////////////////// // Name: src/osx/carbon/dataview.cpp // Purpose: wxDataViewCtrl native carbon implementation // Author: // Id: $Id: dataview.cpp 58317 2009-01-23 // Copyright: (c) 2009 // Licence: wxWindows licence //////////...
42.261261
239
0.710936
[ "render", "object", "model" ]
d4e21d44053496e952fe26c16e57239c243b2ae9
2,022
cpp
C++
data/dailyCodingProblem68.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem68.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem68.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* On our special chessboard, two bishops attack each other if they share the same diagonal. This includes bishops that have another bishop located between them, i.e. bishops can attack through pieces. You are given N bishops, represented as (row, column) tuples on a M by...
18.722222
66
0.578635
[ "vector" ]
d4e743026c62f18d64cfbbed29020ed920f6a9a2
1,472
cpp
C++
Code/Framework/AzFramework/Platform/Mac/AzFramework/TargetManagement/TargetManagementComponent_Mac.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Framework/AzFramework/Platform/Mac/AzFramework/TargetManagement/TargetManagementComponent_Mac.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzFramework/Platform/Mac/AzFramework/TargetManagement/TargetManagementComponent_Mac.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzFramework/StringFunc/StringFunc.h> #include <AzCore/IO/SystemFile.h> #include <AzCore/Ut...
31.319149
158
0.616168
[ "3d" ]
d4e981f33c55a43d5ae3b1271ca94d9d58fe775c
3,130
cpp
C++
src/gltf/GltfModel.cpp
ZLima12/FBX2glTF
aa536080ce893a2b5066e18476f343bfeedb9323
[ "BSD-3-Clause" ]
1,495
2017-10-19T16:41:38.000Z
2022-03-31T23:12:49.000Z
src/gltf/GltfModel.cpp
ZLima12/FBX2glTF
aa536080ce893a2b5066e18476f343bfeedb9323
[ "BSD-3-Clause" ]
238
2017-10-19T17:17:45.000Z
2022-03-28T01:36:27.000Z
src/gltf/GltfModel.cpp
ZLima12/FBX2glTF
aa536080ce893a2b5066e18476f343bfeedb9323
[ "BSD-3-Clause" ]
285
2017-10-20T00:32:28.000Z
2022-03-28T07:43:22.000Z
/** * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "GltfModel.hpp" std::shared_ptr<BufferViewData> GltfModel::GetAlignedBufferView( Buffe...
36.395349
96
0.715016
[ "object", "vector" ]
d4ec2898ef56139936581b70e2453dec70aeb779
28,549
cpp
C++
vectorforth/compiler.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
5
2020-10-06T14:06:26.000Z
2022-01-28T16:45:41.000Z
vectorforth/compiler.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
1
2020-06-13T13:01:03.000Z
2020-06-13T15:48:20.000Z
vectorforth/compiler.cpp
janm31415/vectorforth
be0c4e5f7338c922be1975dd4c4321f89cce7cc6
[ "MIT" ]
null
null
null
#include "compiler.h" #include "compile_data.h" #include "compile_error.h" #include "constant_folding.h" #include "context_defs.h" #include "expand.h" #include "expand_data.h" #include "primitives.h" #include "strength_reduction.h" #include "superoperators.h" #include "asm_aux.h" #include "tokenize.h" #include <casser...
40.266573
139
0.66223
[ "vector" ]
d4f0b35f4117d4a64fc11027168aaf8a3f354de7
3,217
cc
C++
src/backend/Win32Backend.cc
NodeOS/node-canvas
e3efd6800ba5b44c210868de10bc11f30910ac8b
[ "Unlicense" ]
2
2015-07-06T21:09:28.000Z
2016-06-08T17:07:15.000Z
src/backend/Win32Backend.cc
NodeOS/node-canvas
e3efd6800ba5b44c210868de10bc11f30910ac8b
[ "Unlicense" ]
null
null
null
src/backend/Win32Backend.cc
NodeOS/node-canvas
e3efd6800ba5b44c210868de10bc11f30910ac8b
[ "Unlicense" ]
2
2015-07-06T21:09:28.000Z
2017-01-24T15:38:59.000Z
#include "Win32Backend.h" using namespace v8; UINT style = WS_BORDER | WS_CAPTION | WS_MINIMIZEBOX | WS_OVERLAPPED; void adjustWindowRect(LPRECT pRect, int width, int height) { pRect->left = CW_USEDEFAULT; pRect->top = CW_USEDEFAULT; pRect->right = width; pRect->bottom = height; if(!AdjustWindowRect(pR...
21.884354
78
0.695679
[ "object" ]
d4f524f8a20b2eb95fb965ee9b8331d2c365b3dd
4,022
cpp
C++
lumino/Graphics/src/GraphicsCommandBuffer.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/Graphics/src/GraphicsCommandBuffer.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
lumino/Graphics/src/GraphicsCommandBuffer.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "Internal.hpp" #include "GraphicsManager.hpp" #include "RHIs/GraphicsDeviceContext.hpp" #include <LuminoGraphics/GraphicsCommandBuffer.hpp> #include <LuminoGraphics/Shader.hpp> #include <LuminoGraphics/ShaderDescriptor.hpp> #include "SingleFrameAllocator.hpp" namespace ln { namespace detail { //=======...
28.125874
152
0.727001
[ "object" ]
d4f7ddde0dd41895ffa1e97fd608c864f4ee4185
16,121
cpp
C++
Classifiers/GRT/ClusteringModules/SelfOrganizingMap/SelfOrganizingMap.cpp
humberto-trujillo/Badminton_Shot_Classifier
402dfed5824c957a415b0f1a5d8a51b3494fb164
[ "MIT" ]
2
2018-12-19T05:43:35.000Z
2018-12-20T04:15:26.000Z
Classifiers/GRT/ClusteringModules/SelfOrganizingMap/SelfOrganizingMap.cpp
humberto-trujillo/IMU_GestureClassifier
402dfed5824c957a415b0f1a5d8a51b3494fb164
[ "MIT" ]
null
null
null
Classifiers/GRT/ClusteringModules/SelfOrganizingMap/SelfOrganizingMap.cpp
humberto-trujillo/IMU_GestureClassifier
402dfed5824c957a415b0f1a5d8a51b3494fb164
[ "MIT" ]
null
null
null
/* GRT MIT License Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT> 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,...
31.986111
228
0.601203
[ "object", "vector", "model" ]
d4faed20f4a476ceff81356da765aeab010a29c8
35,837
cpp
C++
Editor/Source/Editor.cpp
SemperParatusGithub/MiniEngine
bd362c8644f92b041163b30bd33e5d51d0283fb1
[ "MIT" ]
3
2021-04-25T20:13:28.000Z
2021-08-10T20:58:51.000Z
Editor/Source/Editor.cpp
SemperParatusGithub/MiniEngine
bd362c8644f92b041163b30bd33e5d51d0283fb1
[ "MIT" ]
null
null
null
Editor/Source/Editor.cpp
SemperParatusGithub/MiniEngine
bd362c8644f92b041163b30bd33e5d51d0283fb1
[ "MIT" ]
1
2021-08-10T20:58:54.000Z
2021-08-10T20:58:54.000Z
#include "Editor.h" #define NOMINMAX #include <Windows.h> #include <Glad/glad.h> #include <imgui/imgui.h> #include <imgui/imgui_internal.h> #include <glm/gtc/matrix_transform.hpp> #include <ImGuizmo/ImGuizmo.h> #include <stb_image/stb_image.h> #include <GLFW/glfw3.h> #define GLFW_EXPOSE_NATIVE_WIN32 #include <GL...
32.054562
161
0.70324
[ "mesh", "render", "vector", "transform" ]
d4ff596c4e5f6828c3f71e423695903f547d0b2e
9,322
hpp
C++
include/eos/render/detail/render_affine_detail.hpp
srxdev0619/eos-expression-aware-proxy
74de8379be25e8b718059d28e406a9a60e13176b
[ "Apache-2.0" ]
13
2019-08-15T12:16:54.000Z
2022-03-29T02:45:18.000Z
include/eos/render/detail/render_affine_detail.hpp
srxdev0619/eos-expression-aware-proxy
74de8379be25e8b718059d28e406a9a60e13176b
[ "Apache-2.0" ]
2
2019-11-28T05:19:55.000Z
2019-12-17T01:32:50.000Z
include/eos/render/detail/render_affine_detail.hpp
srxdev0619/eos-expression-aware-proxy
74de8379be25e8b718059d28e406a9a60e13176b
[ "Apache-2.0" ]
4
2019-09-03T12:11:12.000Z
2020-12-21T08:36:43.000Z
/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: include/eos/render/detail/render_affine_detail.hpp * * Copyright 2014, 2015 Patrik Huber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
48.806283
301
0.650826
[ "geometry", "render", "vector", "model", "3d" ]
d4ffced7f69dba9d9783a5fb68362b3e109d434b
38,925
cpp
C++
demo_lib_sift.cpp
Jorann/CTImageComp
51356597d9481eca28b99fcaa09ea102dd510257
[ "BSD-2-Clause" ]
1
2017-08-23T19:04:50.000Z
2017-08-23T19:04:50.000Z
demo_lib_sift.cpp
Jorann/CTImageComp
51356597d9481eca28b99fcaa09ea102dd510257
[ "BSD-2-Clause" ]
null
null
null
demo_lib_sift.cpp
Jorann/CTImageComp
51356597d9481eca28b99fcaa09ea102dd510257
[ "BSD-2-Clause" ]
7
2016-04-22T01:36:27.000Z
2022-03-12T06:22:12.000Z
// Authors: Unknown. Please, if you are the author of this file, or if you // know who are the authors of this file, let us know, so we can give the // adequate credits and/or get the adequate authorizations. // WARNING: // This file implements an algorithm possibly linked to the patent // // David Lowe "Method an...
31.827473
167
0.617187
[ "object", "vector", "3d" ]
be0dab4bed9cacca64ec9c70ab675d0e63abe15b
14,479
hh
C++
Kaskade/io/rangecoder.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
Kaskade/io/rangecoder.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:31.000Z
2021-12-09T22:02:36.000Z
Kaskade/io/rangecoder.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the library KASKADE 7 */ /* see http://www.zib.de/projects/kaskade7-finite-element-toolbox ...
32.319196
105
0.591339
[ "vector" ]
be29ab1744e56d01019920820ea8dd2657c37775
2,062
cxx
C++
Code/Graph/SingleSourceShortestPath/testCaseBellmanFord.cxx
konny0311/algorithms-nutshell-2ed
760b0b8a296fb6be923c89406f61e773a48c59db
[ "MIT" ]
522
2016-02-21T18:44:23.000Z
2022-03-31T09:29:04.000Z
Code/Graph/SingleSourceShortestPath/testCaseBellmanFord.cxx
linfachen/algorithms-nutshell-2ed
17bd6e9cf9917727501f9eeadbfb2100f94eede0
[ "MIT" ]
3
2020-04-09T01:52:52.000Z
2022-01-13T08:18:55.000Z
Code/Graph/SingleSourceShortestPath/testCaseBellmanFord.cxx
linfachen/algorithms-nutshell-2ed
17bd6e9cf9917727501f9eeadbfb2100f94eede0
[ "MIT" ]
216
2015-10-16T16:50:10.000Z
2022-02-10T00:57:20.000Z
/** * @file testCaseBellmanFord.cxx another test case for Bellman Ford * @brief * * A test case * * @author George Heineman * @date 6/15/08 */ #include <cassert> #include <iostream> #include "singleSourceShortest.h" /** * A test case for Bellman Ford. * Note there are two versions of the code, whi...
21.040816
73
0.559651
[ "vector" ]
be2ab42b0406f244f3531be7bb6653cbd68b48e0
4,072
hh
C++
3rd_party/augustus-3.2.1/include/orthoexon.hh
genomecuration/JAM
8b834d3efe32f79c48887c2797005619ac2c3a1d
[ "BSD-3-Clause" ]
null
null
null
3rd_party/augustus-3.2.1/include/orthoexon.hh
genomecuration/JAM
8b834d3efe32f79c48887c2797005619ac2c3a1d
[ "BSD-3-Clause" ]
null
null
null
3rd_party/augustus-3.2.1/include/orthoexon.hh
genomecuration/JAM
8b834d3efe32f79c48887c2797005619ac2c3a1d
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************** * file: orthoexon.hh * licence: Artistic Licence, see file LICENCE.TXT or * http://www.opensource.org/licenses/artistic-license.php * descr.: maintains orthologous exons for comparative gene prediction * authors: Stefanie König ...
40.72
128
0.688605
[ "vector" ]
be2ad37b0a9173c5eefccda1403960f280cc42b5
4,823
hpp
C++
src/cxx/pathfinder2d/cfg/pathfinder2d.hpp
c0de4un/pathfinder_2d
778a7f6281d5816ca42ac9071794cc61a4420ec1
[ "MIT" ]
1
2019-03-10T04:12:29.000Z
2019-03-10T04:12:29.000Z
src/cxx/pathfinder2d/cfg/pathfinder2d.hpp
c0de4un/pathfinder_2d
778a7f6281d5816ca42ac9071794cc61a4420ec1
[ "MIT" ]
null
null
null
src/cxx/pathfinder2d/cfg/pathfinder2d.hpp
c0de4un/pathfinder_2d
778a7f6281d5816ca42ac9071794cc61a4420ec1
[ "MIT" ]
null
null
null
/** * Copyright © 2019 Denis Z. (code4un@yandex.ru) All rights reserved. * Authors: Denis Z. (code4un@yandex.ru) * All rights reserved. * License: see LICENSE.txt * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * T...
23.526829
80
0.496164
[ "vector" ]
be30f7fdd73a7b9b102c30bf956d7fe3afd60beb
16,596
cpp
C++
N64 Midi Tool/N64MidiLibrary/NaganoDecoder.cpp
Raspberryfloof/N64-Tools
96738d434ce3922dec0168cdd42f8e7ca131d0c5
[ "Unlicense" ]
160
2018-09-15T00:33:00.000Z
2022-03-28T23:39:46.000Z
N64 Midi Tool/N64MidiLibrary/NaganoDecoder.cpp
Raspberryfloof/N64-Tools
96738d434ce3922dec0168cdd42f8e7ca131d0c5
[ "Unlicense" ]
32
2018-09-15T17:49:01.000Z
2022-03-17T21:38:46.000Z
N64 Midi Tool/N64MidiLibrary/NaganoDecoder.cpp
Raspberryfloof/N64-Tools
96738d434ce3922dec0168cdd42f8e7ca131d0c5
[ "Unlicense" ]
132
2018-09-15T00:44:39.000Z
2022-03-26T01:46:36.000Z
#include "StdAfx.h" #include "NaganoDecoder.h" #include <algorithm> #include <vector> // By Zoinkity!!! CNaganoDecoder::CNaganoDecoder(void) { } CNaganoDecoder::~CNaganoDecoder(void) { } void WriteLongToBuffer(unsigned char* Buffer, unsigned long address, unsigned long data) { Buffer[address] = ((data >> 24) & 0xF...
25.890796
197
0.467944
[ "object", "vector", "model" ]
be36595e377af39a02063f8c7448b80c19a55295
17,036
cpp
C++
vipss/src/rbf_Hermite.cpp
ErvinXie/VIPSS
f60a3bb0149c9d8d025060c25122da9eeb537f75
[ "MIT" ]
null
null
null
vipss/src/rbf_Hermite.cpp
ErvinXie/VIPSS
f60a3bb0149c9d8d025060c25122da9eeb537f75
[ "MIT" ]
null
null
null
vipss/src/rbf_Hermite.cpp
ErvinXie/VIPSS
f60a3bb0149c9d8d025060c25122da9eeb537f75
[ "MIT" ]
null
null
null
#include "rbfcore.h" #include "utility.h" #include "Solver.h" #include <armadillo> #include <fstream> #include <limits> #include <unordered_map> #include <ctime> #include <chrono> #include <iomanip> #include <algorithm> #include <queue> #include "readers.h" //#include "mymesh/UnionFind.h" //#include "mymesh/tinyply.h" ...
29.679443
130
0.494247
[ "vector" ]
be4256d5329894044beae678ed1b0946157fe1ba
3,061
cpp
C++
chres/chres.cpp
xKippi/chres
1a8f05096404f0de0dabe07e0f71bb893cb9a759
[ "Apache-2.0" ]
null
null
null
chres/chres.cpp
xKippi/chres
1a8f05096404f0de0dabe07e0f71bb893cb9a759
[ "Apache-2.0" ]
null
null
null
chres/chres.cpp
xKippi/chres
1a8f05096404f0de0dabe07e0f71bb893cb9a759
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "chres.h" #include <stdio.h> #include <winuser.h> #include <iostream> #include <fstream> #include <sstream> #include <vector> #pragma warning(disable : 4996) void GetCurrentResolution(unsigned int& horizontal, unsigned int& vertical) { DEVMODE dm; //Getting current dis...
26.162393
160
0.669389
[ "vector" ]
be4a561f79f8b4e753b86e1db1e86dda43babd0e
3,422
cpp
C++
source/specfun.cpp
cet-ivan/cppexts
bc57045cafecfadcf3c5e3c1ac4896b79028b97a
[ "BSL-1.0" ]
null
null
null
source/specfun.cpp
cet-ivan/cppexts
bc57045cafecfadcf3c5e3c1ac4896b79028b97a
[ "BSL-1.0" ]
null
null
null
source/specfun.cpp
cet-ivan/cppexts
bc57045cafecfadcf3c5e3c1ac4896b79028b97a
[ "BSL-1.0" ]
null
null
null
// Copyright Ivan Stanojevic 2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #include "specfun.h" #include "qde.h" // *** STIRLING_NUMBER_OF_1ST_KIND *** // pre: n >= 0, 0 <= k <= n exint stirlin...
18.010526
77
0.526885
[ "vector" ]
be4dcd4585593f3b5c8d4327c14f4c180135b860
1,033,703
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_pmengine_oper_12.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_pmengine_oper_12.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_pmengine_oper_12.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_pmengine_oper_12.hpp" #include "Cisco_IOS_XR_pmengine_oper_13.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_pmengine_oper { Perfo...
52.188772
2,457
0.781001
[ "vector" ]
be51d3917ca577d99a6d449307d8ac97e8962203
845
cpp
C++
ABC/ABC079/B.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC079/B.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC079/B.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //const int MOD = 100000...
18.777778
48
0.513609
[ "vector" ]
be53bfddd37bd45e55b7dff9d18bdd48888bd18e
680
cc
C++
hw2/lib/triangle.cc
mrinaldhillon/oop-cpp
b2c1b766f8856390dbeeef484367dea14ff6cf78
[ "MIT" ]
null
null
null
hw2/lib/triangle.cc
mrinaldhillon/oop-cpp
b2c1b766f8856390dbeeef484367dea14ff6cf78
[ "MIT" ]
null
null
null
hw2/lib/triangle.cc
mrinaldhillon/oop-cpp
b2c1b766f8856390dbeeef484367dea14ff6cf78
[ "MIT" ]
null
null
null
#include "lib/triangle.h" #include <math.h> #include <memory> #include <string> #include <vector> #include "lib/point.h" // Should <memory> be included here since it has already been included in header using namespace std; Triangle::Triangle(Point a, Point b, Point c) { a_ = a; b_ = b; c_ = c; } const std::vec...
22.666667
80
0.645588
[ "vector" ]
be541fc976712e2b82256d7e21135715edd52995
2,987
cpp
C++
aws-cpp-sdk-support/source/model/TrustedAdvisorResourcesSummary.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-support/source/model/TrustedAdvisorResourcesSummary.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-support/source/model/TrustedAdvisorResourcesSummary.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2019-10-31T11:19:50.000Z
2019-10-31T11:19:50.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
24.284553
102
0.762638
[ "model" ]
be5453c08e1532f4e570cdab81fadcc5df0f81ad
20,856
hpp
C++
include/cilantro/registration/icp_common_instances.hpp
baoyufuyou/cilantro
d9e9bacbd4b703e1c96b2b610c4173efd9095b05
[ "MIT" ]
2
2020-10-14T15:49:29.000Z
2021-06-15T05:52:36.000Z
include/cilantro/registration/icp_common_instances.hpp
baoyufuyou/cilantro
d9e9bacbd4b703e1c96b2b610c4173efd9095b05
[ "MIT" ]
null
null
null
include/cilantro/registration/icp_common_instances.hpp
baoyufuyou/cilantro
d9e9bacbd4b703e1c96b2b610c4173efd9095b05
[ "MIT" ]
null
null
null
#pragma once #include <cilantro/correspondence_search/common_transformable_feature_adaptors.hpp> #include <cilantro/correspondence_search/correspondence_search_kd_tree.hpp> #include <cilantro/correspondence_search/correspondence_search_projective.hpp> #include <cilantro/registration/icp_single_transform_point_to_point...
75.84
533
0.763713
[ "vector" ]
be5b7afedd6b13b535c5a18b56709aa247900a0e
28,232
cxx
C++
Modules/Visualization/MonteverdiCore/src/mvdVectorImageModel.cxx
kikislater/OTB
8271c62b5891d3da9cb2e9ba3a2706a26de8c323
[ "Apache-2.0" ]
1
2019-09-12T00:53:05.000Z
2019-09-12T00:53:05.000Z
Modules/Visualization/MonteverdiCore/src/mvdVectorImageModel.cxx
ThomasWangWeiHong/OTB
569686e40f0ae146e726bd3cfd253e67ec2b4533
[ "Apache-2.0" ]
null
null
null
Modules/Visualization/MonteverdiCore/src/mvdVectorImageModel.cxx
ThomasWangWeiHong/OTB
569686e40f0ae146e726bd3cfd253e67ec2b4533
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
28.175649
146
0.609131
[ "vector", "model" ]
be5c8daea8a05a65ffb68a3b4a769794411a9e68
275
cpp
C++
old/Codeforces/337/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/Codeforces/337/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/Codeforces/337/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { int n, m, res = numeric_limits<int>::max(); cin >> n >> m; vector<int> f(m); for (int& i : f) cin >> i; sort(f.begin(), f.end()); for (int i = 0; i <= m - n; ++i) res = min(res, f[i + n - 1] - f[i]); cout << res << endl; }
22.916667
71
0.483636
[ "vector" ]
415abc08003a4edfd8cd54148c7bbe58befef51e
5,263
hpp
C++
src/nnfusion/frontend/onnx_import/core/tensor.hpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
src/nnfusion/frontend/onnx_import/core/tensor.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
src/nnfusion/frontend/onnx_import/core/tensor.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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://w...
43.139344
100
0.503325
[ "shape", "vector" ]
4161417bc6ed0b0c47d9b0cad7490495a1eec02c
27,274
cpp
C++
toonz/sources/toonz/cleanuppreview.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
36
2020-05-18T22:26:35.000Z
2022-02-19T00:09:25.000Z
toonz/sources/toonz/cleanuppreview.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
16
2020-05-14T17:51:08.000Z
2022-02-11T01:49:38.000Z
toonz/sources/toonz/cleanuppreview.cpp
morevnaproject-org/opentoonz
3335715599092c3f173c2ffd015f09b1a0b3cb91
[ "BSD-3-Clause" ]
8
2020-06-12T17:01:20.000Z
2021-09-15T07:03:12.000Z
// TnzCore #include "timagecache.h" #include "tcurveutil.h" // ToonzLib #include "toonz/stage2.h" #include "toonz/txshsimplelevel.h" #include "toonz/txshlevelhandle.h" #include "toonz/tcleanupper.h" #include "toonz/palettecontroller.h" #include "toonz/tpalettehandle.h" #include "toonz/observer.h" #include "toonz/ima...
30.748591
84
0.598189
[ "model", "transform" ]
416603c8dfa11b8dc219c8d964994b21c83d4f7e
3,610
hh
C++
TrackerGeom/inc/TrackerG4Info.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
TrackerGeom/inc/TrackerG4Info.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
TrackerGeom/inc/TrackerG4Info.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
#ifndef TrackerGeom_TrackerG4Info_hh #define TrackerGeom_TrackerG4Info_hh /// // Tracker geometry content specific to building the G4 model // Extracted from the original Tracker // #include "Offline/GeomPrimitives/inc/TubsParams.hh" #include "Offline/GeomPrimitives/inc/PlacedTubs.hh" #include "Offline/TrackerGeom/inc/...
45.696203
98
0.742105
[ "geometry", "shape", "model" ]
4166129e358ece891e19fa0f3ddce0d5b7faea91
18,393
cc
C++
tests/unit/test_graph_mapper_tools.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
60
2019-07-09T14:57:48.000Z
2022-03-29T06:53:39.000Z
tests/unit/test_graph_mapper_tools.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
2
2019-05-28T01:59:50.000Z
2021-05-18T13:15:10.000Z
tests/unit/test_graph_mapper_tools.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
4
2019-05-25T15:41:56.000Z
2019-07-10T11:44:22.000Z
#include <gtest/gtest.h> #include <tests/unit/test_graph_mapper.h> #include <raptor/graph_mapper.h> #include <graph/segment_graph_parser.h> #include <cstdint> #include <algorithm> #include <set> #include <vector> #include <log/log_tools.h> #include <containers/mapping_result/linear_mapping_result.h> #include <utility...
37.923711
156
0.49807
[ "vector" ]
416703a7c07f0b870b290abec84817a9af5d8451
1,498
cpp
C++
aws-cpp-sdk-storagegateway/source/model/ListVolumeRecoveryPointsResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-storagegateway/source/model/ListVolumeRecoveryPointsResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-storagegateway/source/model/ListVolumeRecoveryPointsResult.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/storagegateway/model/ListVolumeRecoveryPointsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h...
29.96
162
0.78972
[ "model" ]
4167837069147e47d14dd49cb76e0b6bee45fd14
50,459
cpp
C++
3rdparty/webkit/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2016-2018 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
43.953833
481
0.748588
[ "object", "vector" ]
41682cb1fc1e53a5fc7ad31a7e4a4752ad9ef126
11,943
cpp
C++
src/services/hardwareFileSystem/system.cpp
patrick-lafferty/saturn
6dc36adb42ad9b647704dd19247423a522eeb551
[ "BSD-3-Clause" ]
26
2018-03-19T15:59:46.000Z
2021-08-06T16:13:16.000Z
src/services/hardwareFileSystem/system.cpp
patrick-lafferty/saturn
6dc36adb42ad9b647704dd19247423a522eeb551
[ "BSD-3-Clause" ]
34
2018-01-21T17:43:29.000Z
2020-06-27T02:00:53.000Z
src/services/hardwareFileSystem/system.cpp
patrick-lafferty/saturn
6dc36adb42ad9b647704dd19247423a522eeb551
[ "BSD-3-Clause" ]
3
2019-12-08T22:26:35.000Z
2021-06-25T17:05:57.000Z
/* Copyright (c) 2017, Patrick Lafferty 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 conditions and the...
34.819242
131
0.558486
[ "object", "vector" ]
416e127a7dc38d2cf6a93e1d2a71bd8f4bdfdd51
6,088
cpp
C++
src/apps/haikudepot/server/ServerRepositoryDataUpdateProcess.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/apps/haikudepot/server/ServerRepositoryDataUpdateProcess.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/apps/haikudepot/server/ServerRepositoryDataUpdateProcess.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2017-2020, Andrew Lindesay <apl@lindesay.co.nz>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "ServerRepositoryDataUpdateProcess.h" #include <stdio.h> #include <sys/stat.h> #include <time.h> #include <AutoDeleter.h> #include <Autolock.h> #include <Catalog.h> #in...
24.449799
77
0.767247
[ "model" ]
4175e763e21572c17f0e5c17d053f181c7b3b8df
20,131
cpp
C++
src/multicast/MulticastComponent.cpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
1
2020-05-22T08:47:03.000Z
2020-05-22T08:47:03.000Z
src/multicast/MulticastComponent.cpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
null
null
null
src/multicast/MulticastComponent.cpp
cd606/tm_transport
58a338a7a90608703ab6a13092be75bcc5e8ea2e
[ "Apache-2.0" ]
null
null
null
#include <thread> #include <mutex> #include <cstring> #include <unordered_map> #include <boost/asio.hpp> #include <boost/bind/bind.hpp> #include <tm_kit/transport/multicast/MulticastComponent.hpp> namespace dev { namespace cd606 { namespace tm { namespace transport { namespace multicast { enum class Multicas...
46.707657
182
0.509761
[ "vector" ]
4176131f321d489ae839dd427327811c02a77d1e
1,587
cpp
C++
rancha-imgui/Account.cpp
towbes/rancha
156c69ca298d489cd660ee7ab2ba96bdec455e44
[ "MIT" ]
null
null
null
rancha-imgui/Account.cpp
towbes/rancha
156c69ca298d489cd660ee7ab2ba96bdec455e44
[ "MIT" ]
null
null
null
rancha-imgui/Account.cpp
towbes/rancha
156c69ca298d489cd660ee7ab2ba96bdec455e44
[ "MIT" ]
1
2022-01-03T16:46:02.000Z
2022-01-03T16:46:02.000Z
#include "Account.h" Account::Account() { acctName = L""; acctPassword = L""; charList; } Account::Account(std::wstring name, std::wstring pass) { acctName = name; acctPassword = pass; charList; } std::wstring Account::GetAcctName() { return acctName; } std::wstring Account::GetAcctPassword() { return acct...
16.360825
67
0.699433
[ "vector" ]
417fa5cea504c3eb12b1327d67bbe38b1e0a9df1
59,450
cpp
C++
src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
thenerdie/etterna
341b7c506c785e3a15e7af18814791aefff5c958
[ "MIT" ]
null
null
null
#include "Etterna/Globals/global.h" #include "Etterna/Actor/Base/ActorUtil.h" #include "Etterna/Models/Misc/AdjustSync.h" #include "Etterna/Actor/Gameplay/ArrowEffects.h" #include "Etterna/Actor/Gameplay/Background.h" #include "Etterna/Models/Misc/CommonMetrics.h" #include "Etterna/Models/Misc/Foreach.h" #includ...
31.076843
81
0.706762
[ "object" ]
418510037a3986665238115f249c4db2fc916841
2,923
cxx
C++
lib/combilp_srmp_stub.cxx
fgrsnau/combilp
915b2a82f683996d3a015039a93474c81cec77d1
[ "MIT" ]
5
2018-06-27T10:45:58.000Z
2019-10-02T21:39:40.000Z
lib/combilp_srmp_stub.cxx
vislearn/combilp
915b2a82f683996d3a015039a93474c81cec77d1
[ "MIT" ]
null
null
null
lib/combilp_srmp_stub.cxx
vislearn/combilp
915b2a82f683996d3a015039a93474c81cec77d1
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Stefan Haller // // 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, publish,...
28.940594
116
0.74752
[ "shape" ]
4189816bf40dfab5c48e3a13a4ea6d42ed1b303f
10,568
hpp
C++
X1/Cheat/Engine/SDK/IClientUnknown.hpp
Galenika/Xone-Cheat-90--
44e79f03128194de17a900def38735d29bc85572
[ "Apache-2.0" ]
12
2019-03-30T18:57:45.000Z
2021-04-18T13:44:52.000Z
X1/Cheat/Engine/SDK/IClientUnknown.hpp
CSGOLeaks/Xone-Cheat-90--
44e79f03128194de17a900def38735d29bc85572
[ "Apache-2.0" ]
null
null
null
X1/Cheat/Engine/SDK/IClientUnknown.hpp
CSGOLeaks/Xone-Cheat-90--
44e79f03128194de17a900def38735d29bc85572
[ "Apache-2.0" ]
16
2019-03-30T18:57:55.000Z
2021-12-19T22:44:55.000Z
#pragma once #include "IHandleEntity.hpp" namespace SDK { class ICollideable; class IClientNetworkable; class IClientRenderable; class IClientEntity; class AngularImpulse; class IPhysicsShadowController; class IPhysicsObject { public: virtual ~IPhysicsObject(void) {} // returns true if this object is ...
47.178571
170
0.737226
[ "mesh", "object", "vector", "solid" ]
41901e6e9de4bb1df1d23772fcb65e28693cb916
4,802
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/componentcore/changestyleaction.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/componentcore/changestyleaction.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/componentcore/changestyleaction.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
34.546763
141
0.650979
[ "model" ]
4192c31b02b7489cc1b5e2061ffd0e2079060e48
14,960
cpp
C++
Source/Core/System/vaThreading.cpp
xingyulu-rgb/VRS-DoF
e94d7ed2019b3935ee1665f9667f4e078d95d047
[ "MIT" ]
1
2021-11-18T07:44:23.000Z
2021-11-18T07:44:23.000Z
Source/Core/System/vaThreading.cpp
xingyulu-rgb/VRS-DoF
e94d7ed2019b3935ee1665f9667f4e078d95d047
[ "MIT" ]
null
null
null
Source/Core/System/vaThreading.cpp
xingyulu-rgb/VRS-DoF
e94d7ed2019b3935ee1665f9667f4e078d95d047
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Intel Corporation // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to de...
35.961538
332
0.604746
[ "vector" ]
4196f6b8738c8abc78d032a6ce41b9752b912c51
5,618
cc
C++
kythe/cxx/verifier/verifier_main.cc
wlynch/kythe
55231f7e76f202827e4fe3fcf36270d36543414f
[ "Apache-2.0" ]
null
null
null
kythe/cxx/verifier/verifier_main.cc
wlynch/kythe
55231f7e76f202827e4fe3fcf36270d36543414f
[ "Apache-2.0" ]
null
null
null
kythe/cxx/verifier/verifier_main.cc
wlynch/kythe
55231f7e76f202827e4fe3fcf36270d36543414f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 The Kythe Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
31.211111
80
0.685119
[ "vector" ]
419ececbdc01526f8de5016702d79e268ad99558
2,286
cpp
C++
src/ui/widgets/Viewport.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
65
2018-06-03T23:09:46.000Z
2021-07-22T22:03:34.000Z
src/ui/widgets/Viewport.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
8
2018-06-20T17:21:30.000Z
2020-06-30T01:06:26.000Z
src/ui/widgets/Viewport.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
34
2018-06-04T03:40:52.000Z
2022-02-15T07:02:05.000Z
#include "Vorb/stdafx.h" #include "Vorb/ui/InputDispatcher.h" #include "Vorb/ui/widgets/Viewport.h" #include "Vorb/ui/widgets/Widget.h" #include "Vorb/ui/GameWindow.h" vui::Viewport::Viewport(const GameWindow* window /*= nullptr*/) : Widget(), m_window(window) { m_clipping = Clipping{ ClippingState::HIDDEN...
25.977273
180
0.692476
[ "render" ]
419ed418153a25e86a3d3299d772bc002ce71c77
17,119
cpp
C++
tests/brokertest/BytesMessageTest.cpp
AlphaHot/broker
671e1f06901b0f4b9db19864e2e8eb2cd5408310
[ "Apache-2.0" ]
null
null
null
tests/brokertest/BytesMessageTest.cpp
AlphaHot/broker
671e1f06901b0f4b9db19864e2e8eb2cd5408310
[ "Apache-2.0" ]
null
null
null
tests/brokertest/BytesMessageTest.cpp
AlphaHot/broker
671e1f06901b0f4b9db19864e2e8eb2cd5408310
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014-present IVK JSC. 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 appl...
33.305447
124
0.616683
[ "object", "vector" ]
41a002b627e49ae83ad27c0023f0ebebe652b33d
748
cc
C++
cpp/api/user/ExitWindowsEx.cc
giuliohome/node-expose-sspi
344aac68e94f9b5a99bce42651bf669b415c92d8
[ "ISC" ]
90
2020-02-13T17:27:27.000Z
2022-03-07T23:02:37.000Z
cpp/api/user/ExitWindowsEx.cc
giuliohome/node-expose-sspi
344aac68e94f9b5a99bce42651bf669b415c92d8
[ "ISC" ]
76
2020-03-19T06:29:23.000Z
2022-03-28T05:27:29.000Z
cpp/api/user/ExitWindowsEx.cc
giuliohome/node-expose-sspi
344aac68e94f9b5a99bce42651bf669b415c92d8
[ "ISC" ]
20
2020-04-30T07:45:45.000Z
2022-02-23T10:59:09.000Z
#include "../../misc.h" namespace myAddon { void e_ExitWindowsEx(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); CHECK_INPUT("ExitWindowsEx({flag: string, reason: string[]})", 1); Napi::Object input = info[0].As<Napi::Object>(); CHECK_PROP(input, "flag", IsString); CHECK_PROP(input, "reason"...
28.769231
77
0.635027
[ "object" ]
41a2e516e96e3d9cf61607c2ce27f9a84e0443d3
28,032
cpp
C++
src/lib/npfg/npfg.cpp
MarvinHarms/ethzasl_fw_px4
93b2cd1cd8e761383134884e4183f84107824a9f
[ "BSD-3-Clause" ]
9
2021-02-09T20:54:46.000Z
2021-11-10T12:49:09.000Z
src/lib/npfg/npfg.cpp
MarvinHarms/ethzasl_fw_px4
93b2cd1cd8e761383134884e4183f84107824a9f
[ "BSD-3-Clause" ]
27
2021-02-09T20:30:51.000Z
2022-03-31T07:15:05.000Z
src/lib/npfg/npfg.cpp
MarvinHarms/ethzasl_fw_px4
93b2cd1cd8e761383134884e4183f84107824a9f
[ "BSD-3-Clause" ]
6
2021-09-03T15:50:42.000Z
2022-02-17T08:27:14.000Z
/**************************************************************************** * * Copyright (c) 2021 Autonomous Systems Lab, ETH Zurich. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * *...
42.796947
139
0.764305
[ "vector" ]
41a3d9c63a3f0e75b3f15fc65102a0d5027a80cc
5,427
cc
C++
src/engine/scripting/script_system.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
11
2017-12-19T14:33:02.000Z
2022-03-26T00:34:48.000Z
src/engine/scripting/script_system.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2018-05-28T10:32:32.000Z
2018-05-28T10:32:35.000Z
src/engine/scripting/script_system.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2021-01-25T11:31:57.000Z
2021-01-25T11:31:57.000Z
#include "script_system.h" #include "engine/scripting/script_register.h" #include "engine/core/script_debug.h" #include "engine/systems/components/mesh_render_system.h" #include "engine/systems/components/skinned_mesh_render_system.h" #include "engine/systems/components/camera_system.h" #include "engine/systems/compon...
35.940397
91
0.664824
[ "vector" ]
41ad562001f4bbea2ef5d6d62ec265132039cefe
4,863
cpp
C++
src/ara/com/option/ipv4_endpoint_option.cpp
bigdark1024/Adaptive-AUTOSAR
b7ebbbd123761bf3f73b1ef425c14c7705c967f8
[ "MIT" ]
49
2021-07-26T14:28:55.000Z
2022-03-29T03:33:32.000Z
src/ara/com/option/ipv4_endpoint_option.cpp
bigdark1024/Adaptive-AUTOSAR
b7ebbbd123761bf3f73b1ef425c14c7705c967f8
[ "MIT" ]
9
2021-07-26T14:35:20.000Z
2022-02-05T15:49:43.000Z
src/ara/com/option/ipv4_endpoint_option.cpp
bigdark1024/Adaptive-AUTOSAR
b7ebbbd123761bf3f73b1ef425c14c7705c967f8
[ "MIT" ]
17
2021-09-03T15:38:27.000Z
2022-03-27T15:48:01.000Z
#include "./ipv4_endpoint_option.h" namespace ara { namespace com { namespace option { uint16_t Ipv4EndpointOption::Length() const noexcept { const uint8_t cOptionLength = 9; return cOptionLength; } helper::Ipv4Add...
33.770833
92
0.48468
[ "vector" ]
41b038a35ec3908bacb062cc205a77e4a69244ed
1,077
cpp
C++
components/SFMLJoystickComponent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
components/SFMLJoystickComponent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
components/SFMLJoystickComponent.cpp
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#include "SFMLJoystickComponent.hh" SFMLJoystickComponent::SFMLJoystickComponent() : ACopyableComponent("SFMLJoystickComponent") { this->_inputs["UP"] = {SFMLJoystickEvent::JoystickButton::UP}; this->_inputs["LEFT"] = {SFMLJoystickEvent::JoystickButton::LEFT}; this->_inputs["DOWN"] = {SFMLJoystickEvent::Joy...
31.676471
118
0.763231
[ "vector" ]
41b040356ebaeb1085d5074069a493065ed518c3
1,575
cc
C++
src/composite/menu.cc
Edlward/DesignPattern-CPP
53b1d68786e837d893790be9a5387f885a93cc9d
[ "Apache-2.0" ]
47
2015-03-30T12:24:48.000Z
2021-07-27T20:21:08.000Z
src/composite/menu.cc
shishougang/DesignPattern-CPP
53b1d68786e837d893790be9a5387f885a93cc9d
[ "Apache-2.0" ]
null
null
null
src/composite/menu.cc
shishougang/DesignPattern-CPP
53b1d68786e837d893790be9a5387f885a93cc9d
[ "Apache-2.0" ]
34
2015-01-09T04:13:39.000Z
2021-04-19T06:36:43.000Z
/* * \copyright Copyright 2014 * \license @{ * Licensed under the Apache License, Version 2.0 (the "License"); * @} */ #include "composite/menu.h" #include <iostream> // NOLINT using std::cout; using std::endl; #include <algorithm> using std::find; #include "composite/menu_iterator.h" #include "composite/composi...
25
73
0.659683
[ "vector" ]
41b4c705ddf63ef41741bf6e30da08cc813f378c
5,092
cpp
C++
TreeSim.cpp
aabyaneh/MCTED
7fe480134fd8515ad9f1c41168847d7db17362cc
[ "Apache-2.0" ]
1
2018-04-26T07:33:15.000Z
2018-04-26T07:33:15.000Z
TreeSim.cpp
aabyaneh/MCTED
7fe480134fd8515ad9f1c41168847d7db17362cc
[ "Apache-2.0" ]
null
null
null
TreeSim.cpp
aabyaneh/MCTED
7fe480134fd8515ad9f1c41168847d7db17362cc
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2017, Alireza Abyaneh et al. All rights reserved. // Please see LICENSE file #include <iostream> #include <fstream> #include <sys/time.h> #include <string> #include <cstring> #include <unordered_map> #include <vector> #include <assert.h> #include <atomic> #include <pthread.h> #include "src/preprocess...
29.952941
112
0.587392
[ "vector" ]
41b771150c4600fe5eadb2717d72a4e507e2d286
6,239
cc
C++
src/Bank/simpleContigLoader.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/Bank/simpleContigLoader.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/Bank/simpleContigLoader.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include "foundation_AMOS.hh" #include <iostream> #include <cassert> #include <unistd.h> using namespace std; using namespace AMOS; //=============================================================== Globals ====// string OPT_BankName; string OPT_ContigFile; bool VERBOSE = 0; bool OPT_APPEND = 0; bool OPT_EID = 0; ...
21.738676
90
0.468985
[ "object" ]
41b8921600e55a9a7247a66b2673c0635559d9a4
11,551
cpp
C++
pomdog/experimental/spine/skinned_mesh_loader.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/experimental/spine/skinned_mesh_loader.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/experimental/spine/skinned_mesh_loader.cpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #include "pomdog/experimental/spine/skinned_mesh_loader.hpp" #include "pomdog/basic/conditional_compilation.hpp" #include "pomdog/experimental/skeletal2d/skeleton_pose.hpp" #include "pomdog/experimental/skeletal2d/skinned_mesh.hpp" #include "pomdog/experimental...
36.323899
134
0.653969
[ "vector", "transform" ]
41bb89043789929b12ce0e552374f955c53e2a77
2,595
cpp
C++
src/engine/ui/Gui.cpp
Ri0ee/Pwned2D
aa67e11449a174289bc75e2e75495ab24f34bae3
[ "MIT" ]
1
2018-03-21T17:42:26.000Z
2018-03-21T17:42:26.000Z
src/engine/ui/Gui.cpp
Ri0ee/Pwned2D
aa67e11449a174289bc75e2e75495ab24f34bae3
[ "MIT" ]
null
null
null
src/engine/ui/Gui.cpp
Ri0ee/Pwned2D
aa67e11449a174289bc75e2e75495ab24f34bae3
[ "MIT" ]
null
null
null
#include "Gui.h" namespace gui { TGui::TGui(freetype::TFreeType *ftlib, graphics::TRenderer *renderer, input::TInputManager *inputmngr) { cout << "gui constructor called" << endl; m_ftlib = ftlib; m_renderer = renderer; m_input_manager = inputmngr; m_window_width = rend...
32.037037
155
0.576108
[ "vector" ]
41c10cb69ef6b04db79ca152773c77d54c0e148e
31,558
cpp
C++
dist/wcdx/src/wcdx.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
14
2015-01-13T18:33:37.000Z
2022-01-10T22:17:41.000Z
dist/wcdx/src/wcdx.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
5
2020-07-12T22:54:11.000Z
2022-01-30T12:18:56.000Z
dist/wcdx/src/wcdx.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
1
2019-05-24T22:18:10.000Z
2019-05-24T22:18:10.000Z
#include "wcdx.h" #include <image/image.h> #include <image/resources.h> #include <stdext/array_view.h> #include <stdext/scope_guard.h> #include <stdext/file.h> #include <stdext/format.h> #include <stdext/multi.h> #include <stdext/utility.h> #include <algorithm> #include <iterator> #include <limits> #include <random>...
29.328996
156
0.60796
[ "transform" ]
41c3c648a9f6649a90f3dad69afcc8878ffe3a73
42,762
cpp
C++
hyperUI/source/StandardUI/UISliderElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
2
2019-05-17T16:16:21.000Z
2019-08-21T20:18:22.000Z
hyperUI/source/StandardUI/UISliderElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
1
2018-10-18T22:05:12.000Z
2018-10-18T22:05:12.000Z
hyperUI/source/StandardUI/UISliderElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
null
null
null
#include "stdafx.h" //#define BUTTON_SPACING upToScreen(6.0) #define BUTTON_SPACING upToScreen(0) #define VALUE_ANIM_TIME 0.10 #define SLIDER_MULT_HOR_PADDING 0.5 #define VALUE_DISPLAY_FADE_SECONDS 0.10 // Note that the larger the divisor, the flatter the curve - i.e. the faster it rises at first. #...
37.775618
195
0.673331
[ "render" ]
41cb7dc2fc0ca54e3831dc4d28e01adb247ee3b4
257
cpp
C++
5e/C++11/353_lambdaReturn.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
5e/C++11/353_lambdaReturn.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
5e/C++11/353_lambdaReturn.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(void) { vector<int> vi{1,2,3,4,5}; //transform(vi.begin, vi.end(), vi.begin(), //[](int i) -> int //{ if(i < 0) return -i; else return i; }); return 0; }
18.357143
49
0.59144
[ "vector", "transform" ]
41d32a7f0c36ff16c4340137cb9394b582b2196b
20,478
cpp
C++
editor.cpp
roelfdutoit/libchars
675658ba87e59a57caa16cae8248971941c89a55
[ "MIT" ]
2
2015-02-04T07:13:33.000Z
2015-05-07T02:49:24.000Z
editor.cpp
roelfdutoit/libchars
675658ba87e59a57caa16cae8248971941c89a55
[ "MIT" ]
null
null
null
editor.cpp
roelfdutoit/libchars
675658ba87e59a57caa16cae8248971941c89a55
[ "MIT" ]
null
null
null
/* Copyright (C) 2013-2015 Roelof Nico du Toit. @description Editor implementation 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 ...
39.380769
144
0.449116
[ "render" ]
41e1021deb11abfc5848bdfcba6b572fc3abbd4d
6,887
cpp
C++
src/graph.cpp
H1d3r/binmap
78f5454690958871846a2417513ae75e9a4bacdd
[ "Apache-2.0" ]
235
2016-03-09T16:04:19.000Z
2021-05-13T09:05:39.000Z
src/graph.cpp
H1d3r/binmap
78f5454690958871846a2417513ae75e9a4bacdd
[ "Apache-2.0" ]
12
2016-03-10T12:35:42.000Z
2018-07-13T11:06:52.000Z
src/graph.cpp
H1d3r/binmap
78f5454690958871846a2417513ae75e9a4bacdd
[ "Apache-2.0" ]
64
2016-03-08T14:19:29.000Z
2022-02-09T12:08:10.000Z
// // Copyright 2014 QuarksLab // // 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 ...
33.595122
122
0.692754
[ "vector" ]
41e19ffdcda0d80dcb6db560496f3d0fdecee389
8,514
cpp
C++
lonestar/experimental/aigRewriting/main.cpp
vancemiller/Galois
e462b92888c073f765e5bc1b77100ccc668fc716
[ "BSD-3-Clause" ]
null
null
null
lonestar/experimental/aigRewriting/main.cpp
vancemiller/Galois
e462b92888c073f765e5bc1b77100ccc668fc716
[ "BSD-3-Clause" ]
null
null
null
lonestar/experimental/aigRewriting/main.cpp
vancemiller/Galois
e462b92888c073f765e5bc1b77100ccc668fc716
[ "BSD-3-Clause" ]
null
null
null
/* * This file belongs to the Galois project, a C++ library for exploiting parallelism. * The code is being released under the terms of the 3-Clause BSD License (a * copy is located in LICENSE.txt at the top-level directory). * * Copyright (C) 2018, The University of Texas at Austin. All rights reserved. * UNIVER...
34.893443
85
0.600423
[ "object", "vector" ]
41eb1f00ed14eec6e44946842e8450536f3895f8
2,254
hpp
C++
src/share/monitor/grabber_alerts_monitor.hpp
iove8319/Karabiner-Elements
18698c792991da080f8ac91f8eb7936dd4aea6e5
[ "Unlicense" ]
null
null
null
src/share/monitor/grabber_alerts_monitor.hpp
iove8319/Karabiner-Elements
18698c792991da080f8ac91f8eb7936dd4aea6e5
[ "Unlicense" ]
null
null
null
src/share/monitor/grabber_alerts_monitor.hpp
iove8319/Karabiner-Elements
18698c792991da080f8ac91f8eb7936dd4aea6e5
[ "Unlicense" ]
null
null
null
#pragma once // `krbn::grabber_alerts_monitor` can be used safely in a multi-threaded environment. #include "constants.hpp" #include "logger.hpp" #include <fstream> #include <nod/nod.hpp> #include <pqrs/filesystem.hpp> #include <pqrs/json.hpp> #include <pqrs/osx/file_monitor.hpp> namespace krbn { class grabber_alert...
28.531646
94
0.590949
[ "vector" ]