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
108
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
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
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
a1b6bf09314cd5b26683a17a0e4e2e8c01b21d5f
1,823
hpp
C++
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakatoa-Engine
ff07f7328d428c04e06b561b6afd315eea39865c
[ "Apache-2.0" ]
1
2020-04-05T13:37:48.000Z
2020-04-05T13:37:48.000Z
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
Krakoa/Source/Graphics/2D/Textures/SubTexture2d.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../Primitives2D/BatchRendererData.hpp" #include "../../../Core/PointerTypes.hpp" #include <Maths/Vectors/Vector2.hpp> #include <Utility/Enum/kEnum.hpp> #include <vector> #include <cstdint> namespace krakoa::gfx { class iTexture2D; using TexCoordsList = std::vector<kmaths::Vector2f>; ENUM_...
28.046154
102
0.752606
KingKiller100
a1b84677e65a81ac1f44d4a6c110c910466bb307
3,377
hpp
C++
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
112
2015-08-12T01:12:46.000Z
2022-03-27T13:11:22.000Z
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
2
2015-11-22T15:04:14.000Z
2018-01-05T05:38:44.000Z
includes/reflex/function/function.hpp
Cylix/Reflex
b51433f6f07e88d5b167ea71f481aa685bedcb86
[ "MIT" ]
17
2015-10-16T02:50:58.000Z
2021-09-10T09:41:58.000Z
#pragma once #include <memory> #include <string> #include <reflex/function/callable_base.hpp> #include <reflex/function/callable_with_instance.hpp> #include <reflex/function/callable_without_instance.hpp> #include <reflex/reflection_exception.hpp> namespace reflex { class function { public: struct functions_con...
39.729412
158
0.703583
Cylix
a1b88a2355cb3220ecebadbf4540b83294441f79
2,145
cpp
C++
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
tests/test_query.cpp
kamchatka-volcano/hot_teacup
ef894b6f333364f9768f1d2477580604affada87
[ "MS-PL" ]
null
null
null
#include <hot_teacup/query.h> #include <gtest/gtest.h> TEST(Query, ToStringSingle) { auto query = http::Query{"foo", "bar"}; EXPECT_EQ(query.toString(), "foo=bar"); } TEST(Query, ToString) { { auto queries = http::Queries{{"name", "test"}, {"foo", "bar"}}; EXPECT_EQ(http::queriesToString(q...
27.857143
84
0.568765
kamchatka-volcano
a1b8ea777b5e7d97ac76aaccf46fd5aed5962867
729
hpp
C++
srook/tmpl/vt/replace.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/tmpl/vt/replace.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/tmpl/vt/replace.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_TMPL_VT_REPLACE_HPP #define INCLUDED_SROOK_TMPL_VT_REPLACE_HPP #include <srook/tmpl/vt/detail/config.hpp> SROOK_NESTED_NAMESPACE(srook, tmpl, vt) { SROOK_INLINE_NAMESPACE(v1) template <class T, class... Ts> struct replace ...
28.038462
101
0.761317
falgon
a1b922b304bdcae834e5f2ca99f020f565a70783
5,942
cpp
C++
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
2
2021-08-03T16:51:20.000Z
2021-08-04T10:39:53.000Z
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
null
null
null
windows/runner/main.cpp
alexmercerind/flutter-win32-acrylic
734094d5f3c445934d1860aef849ddd6b8188d2e
[ "MIT" ]
null
null
null
#include <Unknwn.h> #include <Windows.h> #include <winrt/Windows.Foundation.Collections.h> #include <winrt/Windows.UI.Xaml.Hosting.h> #include <winrt/Windows.UI.Xaml.Controls.h> #include <winrt/Windows.UI.Xaml.Media.h> #include <windows.ui.xaml.hosting.desktopwindowxamlsource.h> #include "utils.h" #include "flutter/ge...
34.346821
126
0.71794
alexmercerind
a1bbfe880b82a0f0ff7a7fcf2d916ea88c83626a
2,839
cpp
C++
dev/Gems/CryLegacy/Code/Source/CryAction/Mannequin/MannequinAGExistanceQuery.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/CryLegacy/Code/Source/CryAction/Mannequin/MannequinAGExistanceQuery.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/CryLegacy/Code/Source/CryAction/Mannequin/MannequinAGExistanceQuery.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * 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...
31.898876
102
0.41106
jeikabu
a1c149a5e8038daf6a0f7347a548e543975552da
170
cpp
C++
released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zball.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zball.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zball.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
#include "zball.h" ZBall::ZBall() { ZBall(0.0, 0.0, 0.0, 0.0); } ZBall::ZBall(double x, double y, double z, double r) { m_x = x; m_y = y; m_z = z; m_r = r; }
11.333333
52
0.529412
zzhmark
a1c21176bcbbeed90dda708c7ebcbac3106573d2
918
cpp
C++
Homeworks/HW 1/PartB/PartB/Actor.cpp
baykamsay/cs-201
e8e2083748643a2bd4eed313ebb73c652d525a50
[ "MIT" ]
null
null
null
Homeworks/HW 1/PartB/PartB/Actor.cpp
baykamsay/cs-201
e8e2083748643a2bd4eed313ebb73c652d525a50
[ "MIT" ]
null
null
null
Homeworks/HW 1/PartB/PartB/Actor.cpp
baykamsay/cs-201
e8e2083748643a2bd4eed313ebb73c652d525a50
[ "MIT" ]
null
null
null
#include <iostream> #include "Actor.h" using namespace std; Actor::Actor(const string aName, const string aBirthPlace, const unsigned int aBirthYear) { name = aName; birthPlace = aBirthPlace; birthYear = aBirthYear; } Actor::Actor(const Actor& actorToCopy) { name = actorToCopy.getName(); birthPlace = actorTo...
20.4
58
0.689542
baykamsay
a1c2ba6577df4940cbd9170a8af486ddddc243b2
25,752
hpp
C++
rope/template/vec/vec3.hpp
StanLepunK/Rope_cpp
4d86200854812295ed8f360af6e50e77fcea3d5e
[ "MIT" ]
null
null
null
rope/template/vec/vec3.hpp
StanLepunK/Rope_cpp
4d86200854812295ed8f360af6e50e77fcea3d5e
[ "MIT" ]
null
null
null
rope/template/vec/vec3.hpp
StanLepunK/Rope_cpp
4d86200854812295ed8f360af6e50e77fcea3d5e
[ "MIT" ]
null
null
null
#ifndef VEC3_H # define VEC3_H /* * vec3 * v 0.0.7 * 2020-2020 * Template Vec adapted from Rope Vector, Processing PVector, Openframework and GLSL. */ #include "vec2.hpp" template <class T> class vec3 : public vec2<T> { private: static int instance; static bool _warning; protected: T _z; public: vec3(); vec3(T co...
21.786802
126
0.605895
StanLepunK
a1c4531959f309f8a8710bb2ed045af97cc5bf32
2,541
hpp
C++
obcsim/obcsim_configuration.hpp
Zethian/proto-cubes-obc
a37aed0e9e3b3fd917baeb29b6279d91845818dd
[ "MIT" ]
null
null
null
obcsim/obcsim_configuration.hpp
Zethian/proto-cubes-obc
a37aed0e9e3b3fd917baeb29b6279d91845818dd
[ "MIT" ]
4
2020-04-16T13:41:11.000Z
2020-06-03T11:30:54.000Z
obcsim/obcsim_configuration.hpp
tstana/proto-cubes-obc
671b0d1c44ee81973275d386ed70912fd06e275c
[ "MIT" ]
2
2021-11-19T09:32:01.000Z
2021-12-28T09:11:00.000Z
/* A generated header file from setup.py */ #ifndef OBCSIM_CONFIGURATION_H #define OBCSIM_CONFIGURATION_H #include "msp_obc.h" #define EXP_ADDR 0x35 #define EXP_MTU 507 #define REQUEST_BUFFER_SIZE 25000 #define MSP_ERROR_THRESHOLD 5 #ifndef MSP_OP_REQ_PAYLOAD #define MSP_OP_REQ_PAYLOAD 0x20 #endif #ifndef MSP_OP_AC...
25.666667
72
0.783943
Zethian
a1c4ffdd5b57aa49d74c6225e0e9575b266d54dd
2,628
cpp
C++
core/cc/connection_test.cpp
cdotstout/gapid
a729b0ca72b2a9fffa208577578725345695ed72
[ "Apache-2.0" ]
1
2021-02-26T16:08:00.000Z
2021-02-26T16:08:00.000Z
core/cc/connection_test.cpp
cdotstout/gapid
a729b0ca72b2a9fffa208577578725345695ed72
[ "Apache-2.0" ]
25
2017-04-25T20:39:25.000Z
2018-06-14T17:10:48.000Z
core/cc/connection_test.cpp
cdotstout/gapid
a729b0ca72b2a9fffa208577578725345695ed72
[ "Apache-2.0" ]
1
2017-07-28T03:00:42.000Z
2017-07-28T03:00:42.000Z
/* * Copyright (C) 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
25.028571
75
0.68417
cdotstout
a1c782b01ed8e6d08690a394a39c4e193bff2f61
25,016
cpp
C++
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
null
null
null
cpp/sdk/src/json_rpc.cpp
violas-core/violas-client-sdk
fc72fc0ea6e8e0e395759020038129736d93b64c
[ "MIT" ]
2
2021-12-28T06:50:27.000Z
2022-02-15T09:28:36.000Z
#include <cpprest/filestream.h> #include <cpprest/http_client.h> #include <cpprest/json.h> #include "../include/utils.hpp" #include "../include/json_rpc.hpp" using namespace std; using namespace utility; using namespace web; using namespace web::http; using namespace web::http::client; namespace json_rpc { class...
42.909091
159
0.473417
violas-core
a1c796e1d20d0cd9b45e813cf3b3102e62059d36
3,315
cpp
C++
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
5
2019-10-06T15:49:10.000Z
2020-01-18T19:37:33.000Z
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
null
null
null
src/sounds/Buzzer.cpp
iw4rr10r/gb-donkey-kong-jr
fe8e755b6c0c9c483ad543b6f2dce3168cdf989c
[ "MIT" ]
1
2020-07-04T17:45:18.000Z
2020-07-04T17:45:18.000Z
// ------------------------------------------------------------------------- // Donkey Kong Jr // a Nintendo's Game & Watch adaptation on Gamebuino META // ------------------------------------------------------------------------- // © 2019 Steph // ...
33.826531
90
0.460633
iw4rr10r
a1c893b151b1541f61768c2725659cf1b48d9591
1,957
cpp
C++
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
src/box_type.cpp
tnoho/cpp-mp4
3686ee530a459a554dee1a5d21a93a537c04e4e0
[ "Apache-2.0" ]
null
null
null
#include "shiguredo/mp4/box_type.hpp" #include <fmt/core.h> #include <algorithm> #include <array> #include <cctype> #include <cstdint> #include <iterator> #include <regex> #include <sstream> #include <stdexcept> #include <string> #include <vector> namespace shiguredo::mp4 { BoxType::BoxType(const std::string& str) ...
27.180556
115
0.650996
tnoho
a1cba7d5801215052aff070ab51177e29b5a4f9c
920
cpp
C++
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
1
2021-04-19T10:23:58.000Z
2021-04-19T10:23:58.000Z
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
418
2020-10-08T07:42:27.000Z
2022-03-08T12:10:52.000Z
src/core/simulate/src/dunesim_impl.cpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
2
2021-09-02T11:20:38.000Z
2021-10-13T14:05:32.000Z
#include "dunesim_impl.hpp" #include "duneconverter.hpp" #include "dunegrid.hpp" #include "logger.hpp" namespace sme::simulate { DuneImpl::DuneImpl(const simulate::DuneConverter &dc) { for (const auto &ini : dc.getIniFiles()) { std::stringstream ssIni(ini.toStdString()); auto &config = configs.emplace_back(...
29.677419
78
0.68587
henryiii
a1cdea98253f76592ae406b07acc3f0ead46e044
1,676
cpp
C++
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
test/unit/jt_test/box2d_joint_test.cpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
#include "box2d_joint.hpp" #include "mocks/box2d_world_mock.hpp" #include "mocks/mock_game.hpp" #include <gmock/gmock.h> #include <gtest/gtest.h> using namespace ::testing; class Box2dJointTest : public ::testing::Test { public: std::shared_ptr<Box2DWorldMock> m_mockWorld; void SetUp() override { m_mockWorl...
22.958904
89
0.713604
Thunraz
a1d04f04c3dab7531aaa6a32c18821df6a9a8a5d
316
cpp
C++
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
null
null
null
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
1
2017-05-16T15:57:29.000Z
2017-05-17T19:43:56.000Z
src/pot.cpp
JulianNeeleman/kattis
035c1113ffb397c2d8538af8ba16b7ee4160393d
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <vector> using namespace std; int main() { int N, ans = 0; cin >> N; for(int i = 0; i < N; i++) { int P; cin >> P; int b = P / 10, e = P % 10; ans += pow(b, e); } cout << ans << endl; return 0; }
11.703704
29
0.531646
JulianNeeleman
a1d2d3fdd5f9cd898d5ad7629afc5b5efab9c5a2
6,106
cxx
C++
Base/IO/Testing/itktubeMetaClassPDFTest.cxx
jcfr/TubeTK
3791790e206b5627a35c46f86eeb9671c8d4190f
[ "Apache-2.0" ]
1
2019-07-19T09:27:37.000Z
2019-07-19T09:27:37.000Z
Base/IO/Testing/itktubeMetaClassPDFTest.cxx
jcfr/TubeTK
3791790e206b5627a35c46f86eeb9671c8d4190f
[ "Apache-2.0" ]
null
null
null
Base/IO/Testing/itktubeMetaClassPDFTest.cxx
jcfr/TubeTK
3791790e206b5627a35c46f86eeb9671c8d4190f
[ "Apache-2.0" ]
1
2019-07-19T09:28:56.000Z
2019-07-19T09:28:56.000Z
/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Lic...
30.683417
76
0.628562
jcfr
a1d322f14d07e8cf043b041acf103d16e6012e80
7,914
cpp
C++
src/nvpsg/WaveformUtility.cpp
DanIverson/OpenVnmrJ
0db324603dbd8f618a6a9526b9477a999c5a4cc3
[ "Apache-2.0" ]
32
2016-06-17T05:04:26.000Z
2022-03-28T17:54:44.000Z
src/nvpsg/WaveformUtility.cpp
timburrow/openvnmrj-source
f5e65eb2db4bded3437701f0fa91abd41928579c
[ "Apache-2.0" ]
128
2016-07-13T17:09:02.000Z
2022-03-28T17:53:52.000Z
src/nvpsg/WaveformUtility.cpp
timburrow/openvnmrj-source
f5e65eb2db4bded3437701f0fa91abd41928579c
[ "Apache-2.0" ]
102
2016-01-23T15:27:16.000Z
2022-03-20T05:41:54.000Z
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* WaveformUtility.cpp */ #include <iostream> #include <string.h> #include <...
26.646465
198
0.580238
DanIverson
a1d3c14a1377aeb241db0d03dba8488685923ac1
1,221
cpp
C++
packages/simulation/tst/gameDataTest.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
2
2021-01-15T13:27:19.000Z
2021-08-04T08:40:52.000Z
packages/simulation/tst/gameDataTest.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
null
null
null
packages/simulation/tst/gameDataTest.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
5
2018-05-01T10:39:31.000Z
2022-03-25T03:02:35.000Z
// Copyright 2018-2019 Coen Tempelaars (Falcons) // SPDX-License-Identifier: Apache-2.0 /* * gameDataTest.cpp * * Created on: Dec 27, 2018 * Author: Coen Tempelaars */ #include <gtest/gtest.h> #include "int/gameDataFactory.hpp" class AGame : public ::testing::Test { public: AGame() { gameD...
20.694915
94
0.692056
Falcons-Robocup
a1d5ed260f26aa9f30174ca4a37bff0e7694c911
4,312
cpp
C++
CHEDAN_Universe/answer.cpp
Kwongrf/CHEDAN_Universe_v2
6d001ce08def738c4a145b4c4752e6b63298ed76
[ "Apache-2.0" ]
null
null
null
CHEDAN_Universe/answer.cpp
Kwongrf/CHEDAN_Universe_v2
6d001ce08def738c4a145b4c4752e6b63298ed76
[ "Apache-2.0" ]
null
null
null
CHEDAN_Universe/answer.cpp
Kwongrf/CHEDAN_Universe_v2
6d001ce08def738c4a145b4c4752e6b63298ed76
[ "Apache-2.0" ]
null
null
null
<<<<<<< HEAD #include "answer.h" #include "global.h" Answer::Answer() { } void Answer::created(int id,int userId,QString content,QString createtime) { this->setId(id); this->setUserId(userId); this->setContent(content); this->setTime(createtime); } int Answer::getPraisedNum() { return this->prai...
21.137255
139
0.649814
Kwongrf
a1d5f4fea153f2541dadf6b73858d3c145f66815
11,899
cc
C++
tile/lang/fpconv.cc
redoclag/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
4,535
2017-10-20T05:03:57.000Z
2022-03-30T15:42:33.000Z
tile/lang/fpconv.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
984
2017-10-20T17:16:09.000Z
2022-03-30T05:43:18.000Z
tile/lang/fpconv.cc
HOZHENWAI/plaidml
46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314
[ "Apache-2.0" ]
492
2017-10-20T18:22:32.000Z
2022-03-30T09:00:05.000Z
/* The MIT License Copyright (c) 2013 Andreas Samoljuk 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, publ...
27.543981
113
0.603328
redoclag
a1d6550c64c7e456709826e6bc241890bb08aa65
567
cpp
C++
src/Looper.cpp
sovcik/iot-minilib
d325710e0476206d1397a3b941ce8e40703b6858
[ "MIT" ]
null
null
null
src/Looper.cpp
sovcik/iot-minilib
d325710e0476206d1397a3b941ce8e40703b6858
[ "MIT" ]
null
null
null
src/Looper.cpp
sovcik/iot-minilib
d325710e0476206d1397a3b941ce8e40703b6858
[ "MIT" ]
null
null
null
#include "Looper.h" LooperHandler::LooperHandler(){ _loopers = 0; } LooperHandler::~LooperHandler(){ LooperEntry *n, *e; e = _loopers; while (e->next){ n = e->next; delete e; e = n; } if (e) delete e; _loopers = 0; } void LooperHandler::registerLooper(Looper *loop...
16.676471
51
0.552028
sovcik
a1d9290a99edc51de314d70e72f64b04709f91a8
3,211
cpp
C++
aws-cpp-sdk-lexv2-models/source/model/ExportSummary.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-lexv2-models/source/model/ExportSummary.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-lexv2-models/source/model/ExportSummary.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/lexv2-models/model/ExportSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
23.785185
117
0.760822
perfectrecall
a1db887ad3e0071857721412f59e517d367fff9b
2,017
cpp
C++
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
1
2021-10-02T15:40:33.000Z
2021-10-02T15:40:33.000Z
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
null
null
null
Contests/Atcoder_ABC_222/probF.cpp
francoisvogel/cp
ae59cf635ab19382d924344fbb137ab9ae631103
[ "MIT" ]
null
null
null
/* * File created on 10/09/2021 at 14:56:58. * Link to problem: * Description: * Time complexity: O() * Space complexity: O() * Status: DEV (most of the time I don't update status, so it stays DEV which is the default value) * Copyright: Ⓒ 2021 Francois Vogel */ #include <bits/stdc++.h> #include <ext/pb_ds/as...
21.923913
100
0.548339
francoisvogel
a1df9c9046e271bdf30acb12203b7fba722c1f0a
3,044
hpp
C++
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder_impl.hpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
1
2018-04-11T15:20:14.000Z
2018-04-11T15:20:14.000Z
/* MIT License Copyright (c) 2018 Cognitive Machines 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, publ...
32.042105
109
0.639947
cognitive-machines
a1e4e796164e3a04eb35f74968455d8692f77745
1,274
cpp
C++
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
null
null
null
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
null
null
null
src/constexpr/static_assert2.cpp
victorcruceru/my_tour_of_cplusplus
c9627e9355a8cf6eaa8f5d51a0001947cfe86e48
[ "Beerware" ]
1
2021-06-21T07:22:10.000Z
2021-06-21T07:22:10.000Z
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * Victor Cruceru wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can bu...
35.388889
80
0.584772
victorcruceru
a1e67ee3ec0a3d9562b8636cac8c53768dc9b838
3,170
cpp
C++
libs/spirit/example/qi/calc6/calc6.cpp
oudream/boost_1_42_0
e92227bf374e478030e89876ec353de6eecaeac0
[ "BSL-1.0" ]
3
2019-06-25T23:20:19.000Z
2021-03-14T19:38:34.000Z
libs/spirit/example/qi/calc6/calc6.cpp
ksundberg/boost-svn
5694e7831f7afc8f6e25d03d0fd375e7be758d0f
[ "BSL-1.0" ]
null
null
null
libs/spirit/example/qi/calc6/calc6.cpp
ksundberg/boost-svn
5694e7831f7afc8f6e25d03d0fd375e7be758d0f
[ "BSL-1.0" ]
3
2016-07-26T08:07:09.000Z
2019-06-25T23:20:21.000Z
/*============================================================================= Copyright (c) 2001-2010 Joel de Guzman 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) =========================================...
30.480769
81
0.436593
oudream
a1e7fe36b81ac869fa99a279404946eada191401
4,095
cpp
C++
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
Brain/sustain.cpp
vikbez/PlayerPianoController
098e0a9df2be3d029490986eedd1bf2eac0a44ca
[ "MIT" ]
null
null
null
#include "sustain.h" #include "sustain.h" #include "serial.h" #include "settings.h" #include "note.h" SustainPedal sustain; SustainPedal::SustainPedal() { //initialize one row of vectors so program won't crash while comparing //initialize sustain as off by default for(int index = 0; index < 4; index++) { schedu...
33.024194
145
0.689133
vikbez
a1e90cce1eb6405ebfb14cec7e15e0ab47a0a40c
4,922
cpp
C++
PathFinding/src/Ember/File/CinderStructure.cpp
strah19/PathFinding
309cf923313feead344acbf3c299f29025d5a66c
[ "MIT" ]
null
null
null
PathFinding/src/Ember/File/CinderStructure.cpp
strah19/PathFinding
309cf923313feead344acbf3c299f29025d5a66c
[ "MIT" ]
null
null
null
PathFinding/src/Ember/File/CinderStructure.cpp
strah19/PathFinding
309cf923313feead344acbf3c299f29025d5a66c
[ "MIT" ]
null
null
null
#include "CinderStructure.h" namespace Ember { bool CinderStructure::Load(const std::string& file_path) { core_file = new File(file_path.c_str()); bool inside_section = false; bool reading_a_key = true; size_t current_section = -1; std::string save_key; core_file->DoEachWord([&](std::string& word, unsign...
30.955975
184
0.646485
strah19
a1ec0ab68080b9c9b82ce1e5dabc4fbc18dde4ab
721
hpp
C++
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/functions/Sumx2py2_1.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/functions/Sumx2py2.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/formula/functions/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <org/apache/poi/ss/formula/functions/XYNumericFunction_Accumulator.hpp> struct default_init_tag; class...
24.862069
80
0.725381
pebble2015
a1ec56221d0b2b9656ed3614ab88d3b3b68e6598
3,724
cpp
C++
tests/tests/referral_mandatory_transfer_test.cpp
edinar-dev/edinarcoin
d3f11ab57acd745fd407f87999f2ab72378f5194
[ "MIT" ]
1
2019-08-05T08:09:37.000Z
2019-08-05T08:09:37.000Z
tests/tests/referral_mandatory_transfer_test.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
tests/tests/referral_mandatory_transfer_test.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <graphene/chain/database.hpp> #include <graphene/chain/exceptions.hpp> #include <graphene/chain/hardfork.hpp> #include <graphene/chain/account_object.hpp> #include <graphene/chain/asset_object.hpp> #include <graphene/chain/committee_member_object.hpp> #include <graphene/ch...
25.861111
86
0.686627
edinar-dev
a1ec7be46d1d5dec918d69c61a92522de5ab7d54
8,633
cpp
C++
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/ir_module.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 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://...
34.810484
81
0.595042
wuxun-zhang
a1ee2fc709c984224707c8ed48f797207f9d69e9
3,564
cc
C++
mindspore/lite/tools/converter/legacy_optimizer/fusion/matmul_biasadd_fusion_pass.cc
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
1
2021-12-27T13:42:29.000Z
2021-12-27T13:42:29.000Z
mindspore/lite/tools/converter/legacy_optimizer/fusion/matmul_biasadd_fusion_pass.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/converter/legacy_optimizer/fusion/matmul_biasadd_fusion_pass.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
38.322581
112
0.717733
PowerOlive
a1f032b3dc62745f9cdad320aca73b9796f99240
1,618
hh
C++
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
functions/concepts.hh
GuylainGreer/manifolds
96f996f67fc523c726f2edbc9705125c212bedae
[ "MIT" ]
null
null
null
#ifndef MANIFOLDS_FUNCTIONS_CONCEPTS_HH #define MANIFOLDS_FUNCTIONS_CONCEPTS_HH #include "variables.hh" #include "composition.hh" #include "addition.hh" #include "multiplication.hh" namespace manifolds { template <class T> struct is_variable : std::false_type {}; template <int N, bool a, bool c> struct is_variable<V...
30.528302
80
0.70581
GuylainGreer
a1f1506404fa5a3207e701f62d2d0d4b679d5156
1,523
cpp
C++
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
1
2022-02-10T02:55:16.000Z
2022-02-10T02:55:16.000Z
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
null
null
null
SQLiteFS/SQLiteArchive.cpp
sedawk/SqliteFS
d308c7d8bc178afffec86290b29c3754188aa4a2
[ "MIT" ]
1
2022-02-10T07:08:58.000Z
2022-02-10T07:08:58.000Z
#include <stdexcept> #include "SQLiteArchive.hpp" #include "Util.hpp" #include "SQLitePreparedStatementFactory.hpp" #include "SQLiteRootDirectory.hpp" #include "SQLiteDirectory.hpp" #include "SQLiteFile.hpp" #include "SQLitePath.hpp" namespace SQLite { void Archive::open(std::shared_ptr<SQLite::Database> db) { mDB...
27.196429
75
0.692712
sedawk
a1f49cd8093ef780910463cf69a89249c7e7138e
4,147
cpp
C++
src/Settings.cpp
discord-intech/MotorDaemon
0521d16e9e97ecae4a48f4727430ae73ac593101
[ "Apache-2.0" ]
null
null
null
src/Settings.cpp
discord-intech/MotorDaemon
0521d16e9e97ecae4a48f4727430ae73ac593101
[ "Apache-2.0" ]
null
null
null
src/Settings.cpp
discord-intech/MotorDaemon
0521d16e9e97ecae4a48f4727430ae73ac593101
[ "Apache-2.0" ]
1
2017-05-04T20:22:38.000Z
2017-05-04T20:22:38.000Z
// // Created by discord on 24/02/17. // #include "Settings.hpp" #define NO_SETTINGS_FAIL "cannot_find_setting" /** * Constructor * @param p path to config file */ Settings::Settings(const std::string &p) : path(p) { parse(); } void Settings::parse(void) { FILE* file = fopen(path.c_str(), "r"); if(fi...
19.199074
82
0.457198
discord-intech
a1f7bfb4375a4eaae3698d9ee7a8f14d0b297603
447
cpp
C++
sources/Panel/src/main.cpp
Sasha7b9Work/S8-53M2
fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e
[ "MIT" ]
null
null
null
sources/Panel/src/main.cpp
Sasha7b9Work/S8-53M2
fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e
[ "MIT" ]
null
null
null
sources/Panel/src/main.cpp
Sasha7b9Work/S8-53M2
fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e
[ "MIT" ]
1
2020-03-08T18:55:21.000Z
2020-03-08T18:55:21.000Z
// (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by #include "defines.h" #include "HAL.h" #include "Interface.h" #include "Keyboard.h" #include "PowerSupply.h" int main() { HAL::Init(); Keyboard::Init(); while (1) { Keyboard::Update(); KeyboardEvent event = Keyboard::Buffer::GetNex...
16.555556
63
0.579418
Sasha7b9Work
a1fa1d0301f911238570cbf318c39dc22b42ded2
5,604
cpp
C++
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
SideProject/Intermediate/Build/Win64/UE4Editor/Inc/SideProject/MyCharacter.gen.cpp
Therobodavo/Purification-Camp
fe511459c4d938157f3ebb7f9256a02c12be675b
[ "MIT" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
52.373832
570
0.813526
Therobodavo
a1faf478182abac5bc9d6ef285c68d1f15532d59
17,327
cpp
C++
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
GraphicsSamples/RawGraphicsOnWindows/RawDX11/RawDX11_Triangle_With_ComPtr/DX11_Triangle.cpp
dmhud/AllSamples
9bfa3d26a51d7722927f05a48e1dbf5fc399d150
[ "Unlicense" ]
null
null
null
#include "DX11_Triangle.h" #include <vector> #include <d3d11.h> #include <dxgi1_2.h> #include <d3dcompiler.h> #include "Common/DX.Utils/DxException.h" #include "Common/Math.Utils/Math.h" #include "Common/Win.Utils/ExePath.h" void DX11_Triangle::DrawTriangle(HWND hWnd, uint32_t windowWidth, uint32_t windowHeight) { ...
36.097917
122
0.702141
dmhud
a1fb06dcff245c9be8201765eb59c7b0851cbfbc
6,898
cpp
C++
src/xlOil-COM/AppObjects.cpp
cunnane/xloil
2c66bdbe47b3de4cb97213351bf5f1099a3c11d2
[ "Apache-2.0" ]
null
null
null
src/xlOil-COM/AppObjects.cpp
cunnane/xloil
2c66bdbe47b3de4cb97213351bf5f1099a3c11d2
[ "Apache-2.0" ]
null
null
null
src/xlOil-COM/AppObjects.cpp
cunnane/xloil
2c66bdbe47b3de4cb97213351bf5f1099a3c11d2
[ "Apache-2.0" ]
null
null
null
#include <xloil/AppObjects.h> #include <xlOil-COM/Connect.h> #include <xlOil-COM/ComVariant.h> #include <xlOil/ExcelTypeLib.h> #include <xlOil/ExcelRange.h> #include <xloil/Log.h> #include <xloil/Throw.h> #include <xloil/State.h> #include <functional> #include <comdef.h> using std::shared_ptr; using std::make_shared; ...
23.304054
97
0.607857
cunnane
a1fc0d174cf444e0ab58d32893339a3af96e1a68
1,620
cpp
C++
Suffix-Array(Doubling).cpp
cirno99/Algorithms
6425b143f406693caf8f882bdfe5497c81df255a
[ "Unlicense" ]
1,210
2016-08-07T13:32:12.000Z
2022-03-21T01:01:57.000Z
Suffix-Array(Doubling).cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
7
2016-09-11T11:41:03.000Z
2017-10-29T02:12:57.000Z
Suffix-Array(Doubling).cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
514
2016-10-17T03:52:16.000Z
2022-03-19T16:23:33.000Z
#include <cstdio> #include <cstring> #define STRING_LENGTH 100000 using namespace std; struct sortinfo { int x, y, ord; }; int l; char s[STRING_LENGTH]; int rank[STRING_LENGTH * 2], sa[STRING_LENGTH]; void radix_sort(sortinfo *d) { static sortinfo _d[STRING_LENGTH], res[STRING_LENGTH]; static int c[STRING_LENGT...
14.210526
77
0.448148
cirno99
a1fe0d7c1cf06943b39286420805b97bd9fdb09b
4,912
cpp
C++
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/common/katanaWorld/src/RoadJunction.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // -- END LICENSE BLOCK ------------------------------------------------ //---------------------------------------------------------------------- /*!\file * * \author ...
30.893082
158
0.652484
KAtana-Karlsruhe
a1ff1251e626289c4dc32899b0f29f8c4cfacc9d
3,105
cpp
C++
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
jit/bf.cpp
Mark1626/performance-case-studies
06890e80a945f66bade639a9dedd6bf6eeb4e2f1
[ "CC0-1.0" ]
null
null
null
#include "parser.h" #include "util.h" #include <cstdint> #include <fstream> #include <iomanip> #include <iostream> #include <vector> constexpr int MEMORY_SIZE = 30000; void interpretor(const Program &p, bool verbose) { std::vector<uint8_t> memory(MEMORY_SIZE, 0); size_t pc = 0; size_t dataptr = 0; while (pc ...
23.171642
72
0.485668
Mark1626
b80026d2b70cfdb47bd1cb5e7d134da481591096
2,257
cpp
C++
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
1
2022-01-30T01:09:15.000Z
2022-01-30T01:09:15.000Z
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
null
null
null
src/tmsocket/cpp/server_communicator.cpp
Timothy-LiuXuefeng/TMChat
cd69441524f1b86914477f3061e36ffbb8d17478
[ "MIT" ]
null
null
null
#include "../include/server_communicator.hpp" #include <prep/include/prep.h> #include <cstddef> #include <string> #include <utility> #include <algorithm> TMSOCKET_NAMESPACE_BEGIN #include "details/protocol.ipp" server_communicator:: server_communicator() { this->m_stm.on_reveive ( [this] (tmsocket_t...
19.626087
90
0.701817
Timothy-LiuXuefeng
b8017d93c4850e975c5fc579e0dd964bfd1b45ab
1,150
cpp
C++
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
Source/Engine/Core/Resources/ResourceFactory.cpp
everard/SELENE-Device
775bb5cf66ba9fdbc55eac7b216e035c36d82954
[ "MIT" ]
null
null
null
// Copyright (c) 2012 Nezametdinov E. Ildus // Licensed under the MIT License (see LICENSE.txt for details) #include "ResourceFactory.h" #include "ResourceManager.h" namespace selene { ResourceFactory::ResourceFactory(FileManager* fileManager): fileManager_(fileManager), resourceManager_(null...
34.848485
98
0.493043
everard
b802a0b7659d1f22dd4ea2aee5aaafc8177026fb
4,853
cpp
C++
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
1
2022-03-04T22:47:19.000Z
2022-03-04T22:47:19.000Z
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
null
null
null
unit_tests/os_interface/windows/driver_info_tests.cpp
abhi5658054/compute-runtime
894060de5010874381fc981cf96a722769e65a76
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 - 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 deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge,...
37.620155
109
0.762209
abhi5658054
b8033f5c4f1d9d07692592354e4e646209e29962
2,563
cpp
C++
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2022/bronze/problem-2/problem-2.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
#include <iostream> #include <ios> using std::cin; int main() { std::ios_base::sync_with_stdio(false); cin.tie(nullptr); int t{0}; cin >> t; for (int i{0}; i < t; ++i) { int die1[4], die2[4]; for (int j{0}; j < 4; ++j) { cin >> die1[j]; } double prob2{0}; double prob1{0}; ...
19.270677
40
0.261022
Yash-Singh1
b803a92fde0ba7aaaa3ced85b55a34f0068c7d3d
46,476
cpp
C++
indra/newview/llpanellandmarks.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llpanellandmarks.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llpanellandmarks.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
/** * @file llpanellandmarks.cpp * @brief Landmarks tab for Side Bar "Places" panel * * $LicenseInfo:firstyear=2009&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of ...
30.101036
184
0.743653
humbletim
b80544cba266f8ae7a54e8f4be80e41852b1af37
7,254
cpp
C++
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
1
2015-03-06T05:33:39.000Z
2015-03-06T05:33:39.000Z
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
src/turtlebot_controller.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
#include <ros/ros.h> #include <math.h> #include <iostream> #include "boost/thread/mutex.hpp" #include <LinearMath/btMatrix3x3.h> #include <sensor_msgs/LaserScan.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/PoseStamped.h> #include <visualization_msgs/Marker.h> #include <tf/transform_listener.h> #include ...
28.447059
89
0.621588
DevasenaInupakutika
b80859b2aecabe1fa51dabf8c71180d89f1db61b
48,944
cpp
C++
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2021-11-21T18:25:08.000Z
2021-11-21T18:25:08.000Z
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2021-11-19T10:42:54.000Z
2021-11-19T10:42:54.000Z
src/coreclr/dlls/mscorpe/ceefilegenwriter.cpp
berkansasmaz/runtime
7626c5d8be527d6735eddcdc7c97423211d8f9e9
[ "MIT" ]
1
2020-01-31T06:16:53.000Z
2020-01-31T06:16:53.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // Derived class from CCeeGen which handles writing out // the exe. All references to PEWriter pulled out of CCeeGen, // and moved here // // #include "stdafx.h" #include <string.h>...
36.744745
147
0.616541
berkansasmaz
b80c8bd5dca485d9744f1e7de8264d7e87f3987a
13,797
cpp
C++
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/crypto/crypto_store/crypto_store_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "crypto/crypto_store/crypto_store_impl.hpp" #include <gmock/gmock.h> #include "crypto/bip39/impl/bip39_provider_impl.hpp" #include "crypto/ed25519/ed25519_provider_impl.hpp" #include "crypto/pbkdf2/impl/pbkd...
38.431755
80
0.718272
Harrm
b80d3c82f849ab216721d0f6d7f6841f90a1f9a2
1,162
hpp
C++
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
4
2018-11-05T03:21:02.000Z
2021-09-25T15:33:52.000Z
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
null
null
null
dylibwrap/DylibWrap.hpp
churuxu/codesnippets
9d01c53a5bd7be29168e3c8bfb27ebacc5164f03
[ "MIT" ]
2
2021-01-28T08:14:07.000Z
2021-09-25T15:33:54.000Z
#pragma once /** 用于动态加载dll/so的包装类 用法示例: class User32DLL { public: DYLIB_LOAD(User32DLL, "user32"); DYLIB_IMPORT(MessageBoxA); DYLIB_IMPORT(MessageBoxW); }; User32DLL user32; user32.MessageBoxA(NULL, "Hello World", "test", MB_OK); */ #include <stdexcept> #include <string> #ifdef _WIN32 #include <...
15.090909
65
0.636833
churuxu
b80f78c2790db3e08720b94e7233247c1f045b58
7,045
cc
C++
third_party/blink/renderer/core/paint/cull_rect_updater_test.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/core/paint/cull_rect_updater_test.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/core/paint/cull_rect_updater_test.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "third_party/blink/renderer/core/paint/cull_rect_updater.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/...
38.708791
80
0.694961
chromium
b810eeff62ded4e90aa3ff240516d4c2003fa9f1
55,677
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/diffeditor/differ.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/diffeditor/differ.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/diffeditor/differ.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 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...
35.713278
127
0.554268
kevinlq
b81874f403f5aa58b31dd0a8fe27df2f303f13ff
1,770
hpp
C++
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjMekSiegeCannon_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjMekSiegeCannon_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------------------...
38.478261
208
0.590395
2bite
b81adeaf4697f45632c66e56d383c6949584a165
4,737
hh
C++
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
dam/source/cc/dam/DataFragmentUnpack.hh
DUNE/dunepdsprce
2a4ca9b5ed08e1ba6ff7972681d8c0076d314d30
[ "BSD-3-Clause-LBNL" ]
null
null
null
// -*-Mode: C++;-*- #ifndef DATAFRAGMENTUNPACK_HH #define DATAFRAGMENTUNPACK_HH /* ---------------------------------------------------------------------- *//*! * * @file DataFragment.hh * @brief Access methods for the RCE data fragments * decoding a binary test file. * @verbatim * ...
35.886364
80
0.410809
DUNE
b81b14fbdab9a89d7245ebe0466bb3ca7fce1725
8,764
cpp
C++
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
main.cpp
Bango1999/cpp-tictactoe-cli
6add1cc62b242212b7106cf79426f674e9b654c8
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // Program: tic tac toe cli // Name: Bango // Purpose: This will be an implementation of a tic-tac-toe game. // This is a 2 player version of tic-tac-toe where 'X' goes first // followed by 'O'. When it is player 1's...
30.430556
507
0.420812
Bango1999
b81e68a74e764c0c9d2c8ccab0ffa0d53c328407
1,967
cpp
C++
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
1
2016-04-09T00:39:04.000Z
2016-04-09T00:39:04.000Z
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
null
null
null
main.cpp
svenpilz/gpgpu
0c74790f3753ecafa10256745531de4e6240787d
[ "MIT" ]
null
null
null
#include <iostream> #include <gpgpu/Context.hpp> #include <gpgpu/Framebuffer.hpp> #include <gpgpu/Program.hpp> #include <OpenImageIO/imagebufalgo.h> using namespace std; int main() { /* * Context */ gpgpu::Context context; cout << context << endl; /* * Shader */ gpgpu::Progr...
20.705263
66
0.571429
svenpilz
b82012b146208c5058594132edee7cb163f2367a
11,745
cc
C++
src/devices/i2c/drivers/i2c/i2c-child-test.cc
dahlia-os/fuchsia-pine64-pinephone
57aace6f0b0bd75306426c98ab9eb3ff4524a61d
[ "BSD-3-Clause" ]
14
2020-10-25T05:48:36.000Z
2021-09-20T02:46:20.000Z
src/devices/i2c/drivers/i2c/i2c-child-test.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
src/devices/i2c/drivers/i2c/i2c-child-test.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
// Copyright 2020 The Fuchsia 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 "i2c-child.h" #include <lib/fake_ddk/fake_ddk.h> #include <ddk/binding.h> #include <zxtest/zxtest.h> #include "i2c-bus.h" namespace i2c { con...
41.501767
100
0.644444
dahlia-os
b821505ac59988b02264175486a38ad044fd3c68
1,192
cpp
C++
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
8
2020-03-10T23:11:09.000Z
2020-03-14T01:19:32.000Z
Extern/il2cpp/24.2/il2cpp/libil2cpp/os/c-api/Path.cpp
TDToolbox/btdapi
b8349ef33d5bc2dacc85e96ced86dc37e972e8ee
[ "MIT" ]
null
null
null
#include "os/c-api/il2cpp-config-platforms.h" #if !IL2CPP_DOTS_WITHOUT_DEBUGGER #include "os/Path.h" #include "utils/PathUtils.h" #include "Allocator.h" extern "C" { const char* UnityPalGetTempPath() { return Allocator::CopyToAllocatedStringBuffer(il2cpp::os::Path::GetTempPath()); } const ch...
25.361702
107
0.647651
TDToolbox
b822c39b7bcda06ac3fd9e243df856767593e48b
2,715
cpp
C++
buffer.cpp
alexander-sholohov/rtlmuxer
cae7fb29f4daa7df0cd74279bf8168e9645a5306
[ "MIT" ]
13
2016-05-15T08:20:43.000Z
2021-05-19T12:53:46.000Z
buffer.cpp
US1GHQ/rtlmuxer
9f317f9730169b074dcd96bfe4eecaeae22aa4de
[ "MIT" ]
1
2018-11-21T18:19:14.000Z
2018-11-27T12:02:03.000Z
buffer.cpp
US1GHQ/rtlmuxer
9f317f9730169b074dcd96bfe4eecaeae22aa4de
[ "MIT" ]
5
2016-10-14T19:45:56.000Z
2020-10-04T19:31:31.000Z
// // Author: Alexander Sholohov <ra9yer@yahoo.com> // // License: MIT // #include <memory.h> #include "buffer.h" //--------------------------------------------------------------------------------------------------- CBuffer::CBuffer(size_t bufferSize) { m_buffer.resize(bufferSize + 16); m_head = 0; m_tai...
23.815789
101
0.402578
alexander-sholohov
b82664066fbd78861a15ddb3e3cc9346ed2cc044
1,203
cpp
C++
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
null
null
null
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
null
null
null
vpi/src/copyMemory.cpp
anycore/anycore-pisa-funcsim
122e08c7b94448ace742bc298740ec4ed1e7ec81
[ "BSD-3-Clause" ]
3
2017-10-14T00:51:39.000Z
2021-03-25T16:37:11.000Z
#include <stdio.h> #include <stdlib.h> #include "vpi_user.h" #include "Thread.h" #include "veri_memory_macros.h" #include "veri_memory.h" #include "global_vars.h" #include "VPI_global_vars.h" int copyMemory_calltf(char *user_data) { vpiHandle systf_handle, arg_iterator, arg_handle, reg_handle; s_vpi_value current...
23.588235
64
0.733167
anycore
b82730c0e9e7b2054c2df23a197819efbbfff9f2
28,511
cpp
C++
Code/Tools/SceneAPI/SceneCore/Tests/Containers/Views/FilterIteratorTests.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Code/Tools/SceneAPI/SceneCore/Tests/Containers/Views/FilterIteratorTests.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Code/Tools/SceneAPI/SceneCore/Tests/Containers/Views/FilterIteratorTests.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.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 * */ #define _SCL_SECURE_NO_WARNINGS #include <AzTest/AzTest.h> #include <AzCore/std/createdestroy.h>...
46.434853
163
0.557118
cypherdotXd
b82924fb36df65496b699a7d66dbbd0b683c3b69
5,584
cc
C++
src/yb/common/placement_info.cc
polarweasel/yugabyte-db
9064eca9dc35769cf6b034e537ee42efed03c47d
[ "Apache-2.0", "CC0-1.0" ]
4
2019-07-19T12:55:40.000Z
2021-03-25T15:59:09.000Z
src/yb/common/placement_info.cc
polarweasel/yugabyte-db
9064eca9dc35769cf6b034e537ee42efed03c47d
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/yb/common/placement_info.cc
polarweasel/yugabyte-db
9064eca9dc35769cf6b034e537ee42efed03c47d
[ "Apache-2.0", "CC0-1.0" ]
1
2021-08-23T10:06:40.000Z
2021-08-23T10:06:40.000Z
//-------------------------------------------------------------------------------------------------- // Copyright (c) Yugabyte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // ht...
40.172662
100
0.643446
polarweasel
b82b4c3f15bb1184cac9ddee7c09be4d04bd31cd
16,663
cpp
C++
Engine/Source/Runtime/Renderer/Private/MobileReflectionEnvironmentCapture.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Renderer/Private/MobileReflectionEnvironmentCapture.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Renderer/Private/MobileReflectionEnvironmentCapture.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= =============================================================================*/ #include "MobileReflectionEnvironmentCapture.h" #include "ReflectionEnvironmentCapture.h" #inclu...
43.393229
188
0.77171
windystrife
b82e11dc7a2ace56a749d7832aa7d3bb29563874
1,030
cpp
C++
core/src/Graphics/Color.cpp
gon6109/Altseed2
976cd17f337575a221e9f8dab0df4063e2ded235
[ "Apache-2.0" ]
29
2019-05-26T10:12:43.000Z
2021-06-24T03:35:03.000Z
core/src/Graphics/Color.cpp
gon6109/Altseed2
976cd17f337575a221e9f8dab0df4063e2ded235
[ "Apache-2.0" ]
448
2019-10-14T03:19:25.000Z
2022-03-30T15:30:33.000Z
core/src/Graphics/Color.cpp
gon6109/Altseed2
976cd17f337575a221e9f8dab0df4063e2ded235
[ "Apache-2.0" ]
18
2019-06-10T11:15:17.000Z
2022-03-27T00:49:27.000Z
#include "Color.h" #include "Graphics.h" namespace Altseed2 { Color::Color() : A(TextureDefaultColor), R(TextureDefaultColor), G(TextureDefaultColor), B(TextureDefaultColor) {} Color::Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a) : A(a), R(r), G(g), B(b) {} Color Color::operator*(const Color& right) { retur...
33.225806
115
0.631068
gon6109
b83058b31b94eb3c8d13f0dbab2514f00cf7ab38
251
hpp
C++
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/boolstring.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
class BoolString { private: std::string value; public: BoolString (std::string const& s) : value(s) { } template<typename T = std::string> T get() const { // get value (converted to T) return value; } };
19.307692
57
0.553785
houruixiang
b8308bc07a36798b295c2d51b1bd93ffa8067edb
213
hpp
C++
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
null
null
null
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
1
2016-06-01T22:47:33.000Z
2016-06-01T22:47:33.000Z
game.hpp
comprogger/Space-Opera
2ff1d62689c31fcf4878d4255125e82136b94d5e
[ "Artistic-2.0" ]
null
null
null
#ifndef GAME_HPP_INCLUDED #define GAME_HPP_INCLUDED #include <SFML/Graphics.hpp> class Game{ public: static void Start(); private: static sf::RenderWindow app; sf::View view1; }; #endif // GAME_HPP_INCLUDED
16.384615
28
0.755869
comprogger
b831ea1e4e61bbd2a76fa445087f7ab49cd35239
3,495
cc
C++
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
1
2019-12-24T18:37:34.000Z
2019-12-24T18:37:34.000Z
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
4
2018-09-23T23:44:59.000Z
2019-01-22T17:32:10.000Z
src/proof_stat_collector.cc
rcurtin/drat2er
77fd5f6abd1ddc5b7ebfdc62d9bf1e3fdd0bfe76
[ "MIT" ]
2
2018-12-13T22:39:55.000Z
2021-08-09T21:06:48.000Z
// MIT License // // Copyright (c) 2018 Benjamin Kiesl // // 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, modi...
27.96
79
0.762232
rcurtin
b836de530818bb730f484311be23e725c3afda4c
1,368
cxx
C++
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
86
2016-05-30T16:08:24.000Z
2022-03-30T22:57:35.000Z
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
41
2017-02-02T22:28:17.000Z
2022-02-22T16:51:14.000Z
src/internal/1m/dot.cxx
devinamatthews/tensor
7d979b6624071879383377611cb2fa483b6a3104
[ "BSD-3-Clause" ]
26
2016-05-30T16:08:33.000Z
2021-12-29T03:02:30.000Z
#include "dot.hpp" namespace tblis { namespace internal { template <typename T> void dot(const communicator& comm, const config& cfg, len_type m, len_type n, bool conj_A, const T* A, stride_type rs_A, stride_type cs_A, bool conj_B, const T* B, stride_type rs_B, stride_type cs_B, T& result) { if ...
26.823529
90
0.592105
devinamatthews
b837888b908cd351f7a3ae13c5f4470191869aba
868
cpp
C++
C++/Codeforces/cf617A.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
C++/Codeforces/cf617A.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
C++/Codeforces/cf617A.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back #define fi first #define se second typedef unsigned long long ul; typedef long long ll; using namespace std; ll t, n; int main(){ ios_base::sync_with_stdio(0); cin.tie(); cout.tie(); cin >> t; while(t--) { cin >> n; ll a[n]; ...
18.083333
56
0.353687
Nicu-Ducal
b83b9d79495d47c49ed32a1dbc8c36093d718ad6
1,567
cpp
C++
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
8
2015-04-03T16:50:59.000Z
2021-01-06T17:12:29.000Z
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-03T18:10:56.000Z
2016-02-18T05:04:21.000Z
BurningGround/src/hooks/consume.cpp
idmontie/gptp
14d68e5eac84c2f3085ac25a7fff31a07ea387f6
[ "0BSD" ]
6
2015-04-04T04:37:33.000Z
2018-04-09T09:03:50.000Z
#include "consume.h" #include "max_unit_energy.h" #include "../SCBW/api.h" #include "../SCBW/scbwdata.h" #include "../SCBW/enumerations.h" /// Helper function: Sets death scores for [unit] owned by [player]. void incrementDeathScores(const CUnit *unit, u8 player); /// Decides whether the given unit can be ...
31.34
86
0.668794
idmontie
b83cafb7bb44272086953fc5bb485628de372e86
3,872
cc
C++
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
179
2020-03-30T20:30:49.000Z
2022-03-31T04:47:55.000Z
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
53
2020-08-31T15:14:30.000Z
2022-03-30T21:28:36.000Z
backend/schema/verifiers/foreign_key_verifiers_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
26
2020-04-02T04:05:58.000Z
2022-02-22T12:05:55.000Z
// // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
31.737705
87
0.668905
sgorse12
b83ee13397a05776a3c1e47ad5d079b0391122d9
2,606
cpp
C++
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/GameTask_script.cpp
ixray-team/ixray-b2939
d9dc2359c0177cd3b58c310e015a1f390af2d8a1
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "GameTask.h" #include "script_space.h" #include <luabind/adopt_policy.hpp> using namespace luabind; #pragma optimize("s",on) void CGameTask::script_register(lua_State *L) { module(L) [ class_<enum_exporter<ETaskState> >("task") .enum_("task_state") [ valu...
46.535714
84
0.651573
ixray-team
b83f048dc7c3b3547b53cb378630a073b7d4552e
1,277
cpp
C++
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
Plugins/VictoryPlugin-master/Source/VictoryBPLibrary/Private/VictoryBPHTML.cpp
crimsonstrife/velorum-defunct
1a6e1eab9057293da2aa045eff021d069df54c5e
[ "CC0-1.0" ]
null
null
null
/* By Rama */ #include "VictoryBPLibraryPrivatePCH.h" #include "VictoryBPHTML.h" #if PLATFORM_HTML5_BROWSER #include "SDL_opengl.h" DEFINE_LOG_CATEGORY_STATIC(VictoryPluginHTML, Log, All); #include "emscripten.h" #include "html5.h" #endif bool UVictoryBPHTML::IsHTML() { #if PLATFORM_HTML5_BROWSER return tr...
20.269841
72
0.729052
crimsonstrife
b84141fe534387171bef980fd9676c08b623280b
1,349
cpp
C++
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
Day 25/Flood Fill - DFS Version (Better).cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/flood-fill/ // Day #25 #include <iostream> #include <vector> #include <queue> using namespace std; class Solution { public: vector<vector<int>> floodFill(vector<vector<int>>& image, int sr, int sc, int newColor) { // We need to consider starting pix...
30.659091
96
0.570793
shtanriverdi
cdc7bd71d9ec72ddccba414e42a22e60c693de99
9,632
cxx
C++
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/geometry_msgs/msg/dds_connext/PoseStamped_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from PoseStamped_.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ #ifndef NDDS_STANDALONE_TYPE #ifn...
34.898551
138
0.48858
Omnirobotic
cdc85a8aaa84d76d1b59685fdf79359face70a9d
3,191
hpp
C++
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/core/operator_multiplication.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_CORE_OPERATOR_MULTIPLICATION_HPP #define STAN_MATH_REV_CORE_OPERATOR_MULTIPLICATION_HPP #include <stan/math/rev/core/var.hpp> #include <stan/math/rev/core/vv_vari.hpp> #include <stan/math/rev/core/vd_vari.hpp> #include <stan/math/prim/scal/fun/is_any_nan.hpp> #include <limits> namespace stan { n...
26.155738
78
0.622689
peterwicksstringfield
cdcb3c9d7b0ab48f58035e94362a02c755229f35
203
cpp
C++
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
null
null
null
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T11:53:02.000Z
2018-10-17T11:54:42.000Z
judges/uri/iniciante/1174.cpp
eduardonunes2525/competitive-programming
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
[ "MIT" ]
1
2018-10-17T12:14:04.000Z
2018-10-17T12:14:04.000Z
#include <bits/stdc++.h> using namespace std; int main (){ double n[100]; for(int i = 0; i < 100; i++){ cin >> n[i]; if(n[i] <= 10){ printf("A[%d] = %.1lf\n", i, n[i]); } } return 0; }
11.277778
38
0.472906
eduardonunes2525
cdcc3ce66639c6fb6bca770b90d0c5faf738e466
2,725
hpp
C++
fw/avrlib/adc.hpp
RoboticsBrno/3piRB-shield
974e327d0a3b5c55d5811eba48c963596f7663da
[ "MIT" ]
1
2021-05-08T05:54:16.000Z
2021-05-08T05:54:16.000Z
fw/avrlib/adc.hpp
RoboticsBrno/3piRB-shield
974e327d0a3b5c55d5811eba48c963596f7663da
[ "MIT" ]
null
null
null
fw/avrlib/adc.hpp
RoboticsBrno/3piRB-shield
974e327d0a3b5c55d5811eba48c963596f7663da
[ "MIT" ]
1
2017-11-13T05:48:29.000Z
2017-11-13T05:48:29.000Z
#ifndef AVRLIB_ADC_HPP #define AVRLIB_ADC_HPP #include <avr/io.h> namespace avrlib { enum adc_timer_mode { adc_prescaler_2 = 1, adc_prescaler_4, adc_prescaler_8, adc_prescaler_16, adc_prescaler_32, adc_prescaler_64, adc_prescaler_128 }; class sync_adc { public: explicit sync_adc(uint8_t channel, bool re...
14.572193
96
0.650275
RoboticsBrno
cdcdda1727cad51d2b9f1d5364b44d01972f86f3
1,317
cc
C++
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
洛谷/提高/P2014.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Author : OFShare * E-mail : OFShare@outlook.com * Created Time : 2020-07-01 13:40:58 PM * File Name : P2014.cc */ #include <bits/stdc++.h> #define ll long long void debug() { #ifdef Acui freopen("data.in", "r", stdin); freopen("data.out", "w", stdout); #endif } const int N = ...
21.241935
65
0.459377
OFShare
cdcdfa70ac642fa745ec04bc6dcd146877c746ac
3,001
cpp
C++
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
src/ldb_reader.cpp
Prime9999/liblcf
3ea048387c36b14af48a4061a7a23d2276f35ac4
[ "MIT" ]
null
null
null
/* * This file is part of liblcf. Copyright (c) 2018 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright and license information, please view the COPYING * file that was distributed with t...
30.01
106
0.715095
Prime9999
cdce7c6e95a62bd75ef115cdc5cbb46bff04970e
1,439
cpp
C++
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
1
2022-02-02T09:06:41.000Z
2022-02-02T09:06:41.000Z
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
null
null
null
Source/RuntimeImageLoader/Private/ImageReaders/ImageReaderLocal.cpp
RaiaN/ue4_runtimeimageimporter
02fec76b591fb9b5988e3355bf73f16248c244a4
[ "MIT" ]
null
null
null
// Copyright 2022 Peter Leontev. All Rights Reserved. #include "ImageReaderLocal.h" #include "HAL/FileManager.h" #include "Misc/FileHelper.h" #include "Stats/Stats.h" bool FImageReaderLocal::ReadImage(const FString& ImageURI, TArray<uint8>& OutImageData) { QUICK_SCOPE_CYCLE_COUNTER(STAT_RuntimeImageUtils_ImportFi...
27.673077
104
0.702571
RaiaN
cdd31d556fdcad78e0b66559b3a5d11b71f88d97
261
hpp
C++
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
lib/tests/ruby/ruby_helper.hpp
mihaibuzgau/facter
451ee4288c61c6185295b454339801b84b8242ef
[ "Apache-2.0" ]
null
null
null
#pragma once #include <facter/facts/collection.hpp> #include <facter/facts/value.hpp> #include <string> bool load_custom_fact(std::string const& filename, facter::facts::collection& facts); std::string ruby_value_to_string(facter::facts::value const* value);
29
85
0.777778
mihaibuzgau
cdd3415aacc6450af278647dd8d7980e2c101d2e
1,460
hpp
C++
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/camera/gx-rnd-cmr-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_CAMERA_MANAGER_HPP #define GEAROENIX_RENDER_CAMERA_MANAGER_HPP #include "../../core/asset/gx-cr-asset-manager.hpp" #include "../../core/cache/gx-cr-cache-file.hpp" #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "gx-rnd-cmr-camera.hpp" namespace gearoenix { namespace system::stre...
33.181818
131
0.65411
Hossein-Noroozpour
cdd41a7a87d3aa9436324e0fac88cf48e70813b3
43,935
cpp
C++
platform/shared/db/DBAdapter.cpp
jjfraz11/rhodes
d7fc4579550e0fa7d93c7b66536d4407ca3afefc
[ "MIT" ]
null
null
null
platform/shared/db/DBAdapter.cpp
jjfraz11/rhodes
d7fc4579550e0fa7d93c7b66536d4407ca3afefc
[ "MIT" ]
null
null
null
platform/shared/db/DBAdapter.cpp
jjfraz11/rhodes
d7fc4579550e0fa7d93c7b66536d4407ca3afefc
[ "MIT" ]
1
2018-02-28T23:51:04.000Z
2018-02-28T23:51:04.000Z
/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, Inc. * * 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 ...
29.645749
165
0.630613
jjfraz11
cdd66f3fdd4f4cbd8a5d1bedc91b172b0727f686
1,824
hpp
C++
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
null
null
null
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
null
null
null
layout/include/nesci/layout/spike_detector.hpp
halfflat/nesci
60f90b41d4d4c50a306fe2af28b322c1cbef943c
[ "Apache-2.0" ]
1
2018-10-11T15:14:36.000Z
2018-10-11T15:14:36.000Z
//------------------------------------------------------------------------------ // nesci -- neuronal simulator conan interface // // Copyright (c) 2018 RWTH Aachen University, Germany, // Virtual Reality & Immersive Visualization Group. //------------------------------------------------------------------------------ /...
35.076923
80
0.645285
halfflat
cdd6d6354490997081eaa944e7bd55f72e3091fb
6,367
cpp
C++
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/corelib/tools/qsize/tst_qsize.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
29.476852
122
0.641275
power-electro
cdd86cd37fbbfb7ed78c314cfa0208fc260b1c1f
2,860
hpp
C++
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
40
2019-05-16T14:37:10.000Z
2022-03-25T11:35:13.000Z
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
2
2019-05-30T09:41:03.000Z
2020-05-27T18:29:38.000Z
lib/dmitigr/fcgi/listener_options.hpp
dmitigr/fcgi
0d3755e87c8fe168a7325c5fb93f450375601bfc
[ "Zlib" ]
6
2019-05-17T13:13:41.000Z
2022-01-18T01:26:50.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or fcgi.hpp #ifndef DMITIGR_FCGI_LISTENER_OPTIONS_HPP #define DMITIGR_FCGI_LISTENER_OPTIONS_HPP #include "dmitigr/fcgi/dll.hpp" #include "dmitigr/fcgi/types_fwd.hpp" #include <dmitigr/misc/filesystem.hpp>...
25.535714
109
0.682517
dmitigr
cdd9dfffa913dd308cd4a4856d4f5dec7a85dfc3
1,603
cpp
C++
client/ModelGenerated/checkinvitation.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
1
2015-08-23T11:03:58.000Z
2015-08-23T11:03:58.000Z
client/ModelGenerated/checkinvitation.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
null
null
null
client/ModelGenerated/checkinvitation.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
3
2016-12-05T02:43:52.000Z
2021-06-30T21:35:46.000Z
#include "listwrapperobjects.h" #include "checkinvitation.h" namespace MoodBox { CheckInvitationData::CheckInvitationData() : QSharedData() { } CheckInvitationData::CheckInvitationData(QString code) : QSharedData() { this->code = code; } CheckInvitationData::~CheckInvitationData() { } CheckInvitation::CheckInvi...
21.662162
106
0.724267
vorushin
cddd2cc64e4c0b9b7997379e13f67349cbe04451
2,340
cpp
C++
test/sql/create_index_options_test.cpp
ScottLiao920/noisepage
4ffb238529645efcaae99255f84d002f8d7fdf7d
[ "MIT" ]
971
2020-09-13T10:24:02.000Z
2022-03-31T07:02:51.000Z
test/sql/create_index_options_test.cpp
ScottLiao920/noisepage
4ffb238529645efcaae99255f84d002f8d7fdf7d
[ "MIT" ]
1,019
2018-07-20T23:11:10.000Z
2020-09-10T06:41:42.000Z
test/sql/create_index_options_test.cpp
ScottLiao920/noisepage
4ffb238529645efcaae99255f84d002f8d7fdf7d
[ "MIT" ]
318
2018-07-23T16:48:16.000Z
2020-09-07T09:46:31.000Z
#include "execution/compiler/output_checker.h" #include "gtest/gtest.h" #include "spdlog/fmt/fmt.h" #include "storage/index/bplustree_index.h" #include "storage/index/index.h" #include "test_util/end_to_end_test.h" #include "test_util/test_harness.h" namespace noisepage::test { class CreateIndexOptionsTest : public ...
43.333333
113
0.784188
ScottLiao920
cdddfff7fb6d83dd203382be1fa4d2d0c3594fc7
3,869
cpp
C++
source/Plugins/Dividers/PhongDivider/PhongDivider.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Plugins/Dividers/PhongDivider/PhongDivider.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Plugins/Dividers/PhongDivider/PhongDivider.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "PhongDivider/PhongDivider.hpp" using namespace castor3d; namespace Phong { namespace { castor::Point3f barycenter( float u , float v , castor::Point3f const & p1 , castor::Point3f const & p2 , castor::Point3f const & p3 ) { float w = 1 - u - v; CU_Ensure( std::abs( u + v + w - 1.0 ) ...
23.591463
114
0.634014
Mu-L
cde33b2e843334d259f12f8a2263cd8d663b6996
701
cpp
C++
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
LeetCode/Tree/same-tree.cpp
vasanth9/coding-universe
69ffcb58af0c163689ab9893e6d1e0581e0247e0
[ "MIT" ]
null
null
null
/** Definition for a binary tree node. */ //https://leetcode.com/problems/same-tree/ #include<bits/stdc++.h> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0), left(nullptr), right(nullptr) {} TreeNode(int x) : val(x), left(nullptr),...
31.863636
92
0.603424
vasanth9
cde3c6083a27b89f1434e2c6a83cba538f12f2fc
11,241
cxx
C++
Code/Core/Applications/Common/vnsAppExtractChannels.cxx
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
57
2020-09-30T08:51:22.000Z
2021-12-19T20:28:30.000Z
Code/Core/Applications/Common/vnsAppExtractChannels.cxx
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
34
2020-09-29T21:27:22.000Z
2022-02-03T09:56:45.000Z
Code/Core/Applications/Common/vnsAppExtractChannels.cxx
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
14
2020-10-11T13:17:59.000Z
2022-03-09T15:58:19.000Z
/* * 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 ...
44.784861
160
0.459123
spacebel
cde4d0857e55da57e987111dce80ed47d38f7872
16,068
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphStateCondition.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphStateCondition.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
dev/Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphStateCondition.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * 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...
36.768879
193
0.642457
crazyskateface
cde815305470ccc734b19a7718cdd93b74788053
607
cpp
C++
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
src/main.cpp
danbz/signsSlippyMap
7b5b1f512479fc27a2ddbdd6b34b074a3c0cae2c
[ "MIT" ]
null
null
null
// // slippy map elements based on example code Copyright (c) 2014 Christopher Baker <https://christopherbaker.net> // SPDX-License-Identifier: MIT // /* Project Title: Signs of Surveillance Description: ©Daniel Buzzo 2019 dan@buzzo.com http://buzzo.com https://github.com/danbz */ #include "ofAppRunner.h" #...
20.931034
112
0.70346
danbz
cdebb80f0ab70fcd88c13f4c41657343898bfbc6
5,744
cpp
C++
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/optimizer/rule/PushFilterDownGetNbrsRule.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "optimizer/rule/PushFilterDownGetNbrsRule.h" #include "common/expression/BinaryExpression.h" #include "common/...
35.02439
95
0.657904
yixinglu
cdec69a15f3729bf283bd45a363b4fe8f6ca7a5b
2,007
cc
C++
examples/inference/cpp/bert_example.cc
onlyrico/lightseq
2e1cf1aa184a011cb71c17acbd4139144188ce7d
[ "Apache-2.0" ]
1
2022-03-27T17:16:16.000Z
2022-03-27T17:16:16.000Z
examples/inference/cpp/bert_example.cc
onlyrico/lightseq
2e1cf1aa184a011cb71c17acbd4139144188ce7d
[ "Apache-2.0" ]
null
null
null
examples/inference/cpp/bert_example.cc
onlyrico/lightseq
2e1cf1aa184a011cb71c17acbd4139144188ce7d
[ "Apache-2.0" ]
null
null
null
#include "model_base.h" #include "util.h" /** @file Example of how to run Bert inference using our implementation. */ int main(int argc, char* argv[]) { std::string model_weights_path = argv[1]; int max_batch_size = 128; auto model = lightseq::cuda::LSModelFactory::GetInstance().CreateModel( "Bert", mode...
30.409091
76
0.642252
onlyrico
cdf05999595b8296f34e1e2e39939a2ca3dbb56e
3,733
cc
C++
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
21
2016-03-10T11:55:45.000Z
2021-02-03T02:49:11.000Z
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/matrix_inverse_op.cc
sylviawhoa/tensorflow
30f3cdfc420d831e2591cce62fa51164cf8a700a
[ "Apache-2.0" ]
39
2016-03-25T05:13:09.000Z
2020-06-16T01:30:53.000Z
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
40.139785
80
0.723547
sylviawhoa