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
64816aed810016f0fc3c0a944e40d5a6f95082a4
2,502
cpp
C++
thrift/lib/cpp/transport/THDFSFileTransport.cpp
CacheboxInc/fbthrift
b894dd9192ea4684c0067c93bb2ba2b9547749ec
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp/transport/THDFSFileTransport.cpp
CacheboxInc/fbthrift
b894dd9192ea4684c0067c93bb2ba2b9547749ec
[ "Apache-2.0" ]
null
null
null
thrift/lib/cpp/transport/THDFSFileTransport.cpp
CacheboxInc/fbthrift
b894dd9192ea4684c0067c93bb2ba2b9547749ec
[ "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 ma...
36.26087
100
0.672662
CacheboxInc
6482b6702810493c8f2e97a4f76bb0627b5d6b58
4,399
cpp
C++
src/SWCharEst.cpp
tehilinski/SWCharEst
8e07be7888c3aab0d565906d3c49d4fdc078aab8
[ "Apache-2.0" ]
null
null
null
src/SWCharEst.cpp
tehilinski/SWCharEst
8e07be7888c3aab0d565906d3c49d4fdc078aab8
[ "Apache-2.0" ]
null
null
null
src/SWCharEst.cpp
tehilinski/SWCharEst
8e07be7888c3aab0d565906d3c49d4fdc078aab8
[ "Apache-2.0" ]
null
null
null
//----------------------------------------------------------------------------- // file SWCharEst.h // class teh::SWCharEst // brief Estimate values for wilting point, field capacity, // saturated water content, and saturated hydraulic conductivity // from soil texture and organic matter. // Output units are, resp...
30.130137
97
0.562401
tehilinski
6482bbd062534e9bd835e7aefc027b80aab902a8
8,087
hpp
C++
rclpy/src/rclpy/action_server.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
121
2015-11-19T19:46:09.000Z
2022-03-17T16:36:52.000Z
rclpy/src/rclpy/action_server.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
759
2016-01-29T01:44:19.000Z
2022-03-30T13:37:26.000Z
rclpy/src/rclpy/action_server.hpp
RoboStack/rclpy
c67e43a69a1580eeac4a90767e24ceeea31a298e
[ "Apache-2.0" ]
160
2016-01-12T16:56:21.000Z
2022-03-22T23:20:35.000Z
// Copyright 2021 Open Source Robotics Foundation, 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 appli...
31.223938
93
0.709039
RoboStack
648666cb9cf47a42b2ddc9a75f436817a4a5fa04
1,175
cpp
C++
depends/libyarn/src/libyarncommon/Token.cpp
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
450
2015-09-05T09:12:51.000Z
2018-08-30T01:45:36.000Z
depends/libyarn/src/libyarncommon/Token.cpp
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1,274
2015-09-22T20:06:16.000Z
2018-08-31T22:14:00.000Z
depends/libyarn/src/libyarncommon/Token.cpp
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
278
2015-09-21T19:15:06.000Z
2018-08-31T00:36:51.000Z
/* * 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 ...
33.571429
73
0.711489
YangHao666666
6486844a95ba171da71fd56b96a655b1f7b55665
8,566
cpp
C++
common/WhirlyGlobeLib/src/GeographicLib.cpp
akovalov/WhirlyGlobe
09f3e7447ce8c049dedfb92550ff649ad1895bb7
[ "Apache-2.0" ]
null
null
null
common/WhirlyGlobeLib/src/GeographicLib.cpp
akovalov/WhirlyGlobe
09f3e7447ce8c049dedfb92550ff649ad1895bb7
[ "Apache-2.0" ]
null
null
null
common/WhirlyGlobeLib/src/GeographicLib.cpp
akovalov/WhirlyGlobe
09f3e7447ce8c049dedfb92550ff649ad1895bb7
[ "Apache-2.0" ]
null
null
null
// // GeographicLib.cpp // WhirlyGlobeMaplyComponent // // Created by Tim Sylvester on 1/14/22. // Copyright © 2022 mousebird consulting. All rights reserved. // #import "GeographicLib/Geodesic.hpp" #import "GeographicLib/Geocentric.hpp" #import "../include/GeographicLib.h" #import "WhirlyVector.h" #import <cmat...
34.401606
211
0.591174
akovalov
648769951a67175b76153f21a463c6257d104af6
236
hpp
C++
include/magpie/default_engine.hpp
acdemiralp/magpie
adc6594784363278e06f1edb1868a72ca6c45612
[ "MIT" ]
4
2020-03-03T15:16:41.000Z
2022-02-06T12:03:39.000Z
include/magpie/default_engine.hpp
acdemiralp/magpie
adc6594784363278e06f1edb1868a72ca6c45612
[ "MIT" ]
null
null
null
include/magpie/default_engine.hpp
acdemiralp/magpie
adc6594784363278e06f1edb1868a72ca6c45612
[ "MIT" ]
1
2021-02-24T14:08:00.000Z
2021-02-24T14:08:00.000Z
#ifndef MAGPIE_DEFAULT_ENGINE_HPP #define MAGPIE_DEFAULT_ENGINE_HPP #include <memory> #include <magpie/core/engine.hpp> #include <magpie/export.hpp> namespace mp { MAGPIE_EXPORT std::unique_ptr<engine> make_default_engine(); } #endif
18.153846
60
0.805085
acdemiralp
64878d579043e3769dfd277a912ca528da67cae5
924
hpp
C++
include/ECS/Events.hpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
2
2020-02-06T14:39:56.000Z
2022-02-27T08:27:54.000Z
include/ECS/Events.hpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
null
null
null
include/ECS/Events.hpp
InversePalindrome/ProceduralX
f53d734970be4300f06db295d25e1a012b1a8fd9
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 Inverse Palindrome ProceduralX - ECS/Events.hpp https://inversepalindrome.com/ */ #pragma once #include "App/Action.hpp" #include "ECS/State.hpp" #include <SFML/System/Vector2.hpp> #include <entt/entt.hpp> namespace ECS { struct ActionTriggered { App::Action action; }; ...
14.666667
37
0.588745
InversePalindrome
64896a0fdd7193b6121f422b0afc983015f9bce6
4,488
cpp
C++
routing/routing_integration_tests/bicycle_turn_test.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
routing/routing_integration_tests/bicycle_turn_test.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
routing/routing_integration_tests/bicycle_turn_test.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
#include "testing/testing.hpp" #include "routing/routing_integration_tests/routing_test_tools.hpp" #include "routing/route.hpp" using namespace routing; using namespace routing::turns; UNIT_TEST(RussiaMoscowSevTushinoParkBicycleWayTurnTest) { TRouteResult const routeResult = integration::CalculateRoute(inte...
41.174312
93
0.715241
imanmoghimiq30
52bea262efe12c561e9db59ffca7b6e32e31adb2
762
cc
C++
code/foundation/messaging/staticmessagehandler.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
377
2018-10-24T08:34:21.000Z
2022-03-31T23:37:49.000Z
code/foundation/messaging/staticmessagehandler.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
11
2020-01-22T13:34:46.000Z
2022-03-07T10:07:34.000Z
code/foundation/messaging/staticmessagehandler.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
23
2019-07-13T16:28:32.000Z
2022-03-20T09:00:59.000Z
//------------------------------------------------------------------------------ // staticmessagehandler.cc // (C) 2009 Radon Labs GmbH // (C) 2013-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "foundation/stdneb.h" #include "...
34.636364
89
0.492126
sirAgg
52beb0e15483c741bef5c95dfe423fd0773c6ddd
1,346
hpp
C++
include/boost/mpl11/fwd/group.hpp
ldionne/mpl11
927d4339edc0c0cc41fb65ced2bf19d26bcd4a08
[ "BSL-1.0" ]
80
2015-03-09T03:19:12.000Z
2022-03-04T06:44:12.000Z
include/boost/mpl11/fwd/group.hpp
rbock/mpl11
7923ad2bdc0d8ddaa6a6254ebf5be2b5c6f5a277
[ "BSL-1.0" ]
1
2021-07-27T22:37:43.000Z
2021-08-06T17:42:07.000Z
include/boost/mpl11/fwd/group.hpp
rbock/mpl11
7923ad2bdc0d8ddaa6a6254ebf5be2b5c6f5a277
[ "BSL-1.0" ]
8
2015-01-28T00:18:57.000Z
2021-08-06T03:00:49.000Z
/*! * @file * Forward declares the @ref Group typeclass. * * * @copyright Louis Dionne 2014 * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE.md or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_MPL11_FWD_GROUP_HPP #define BOOST...
23.614035
78
0.60104
ldionne
52c0168ef5ef9baf49cf166c8f5310b0a59f2336
41,211
cpp
C++
tests/test_parser/test_primitives/test_directives.cpp
ericcao119/Spimbot
71699d67b9746d078988033b0ace1f180f50fc8c
[ "MIT" ]
null
null
null
tests/test_parser/test_primitives/test_directives.cpp
ericcao119/Spimbot
71699d67b9746d078988033b0ace1f180f50fc8c
[ "MIT" ]
null
null
null
tests/test_parser/test_primitives/test_directives.cpp
ericcao119/Spimbot
71699d67b9746d078988033b0ace1f180f50fc8c
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <iostream> #include "../table.h" #include "../test_parser.h" #include "parser/directive/directive.h" #include "parser/skipper.h" using namespace client::ast; template <typename P> void parse_dir(char const* input, P const& p, Directive& dir, bool full_match = true) { using bo...
54.801862
112
0.674844
ericcao119
52c082f0b5b4595e9dd4666c0c25ca76890faa84
262
cpp
C++
cpp/operator-overloading/call_operator.cpp
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
cpp/operator-overloading/call_operator.cpp
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
cpp/operator-overloading/call_operator.cpp
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Add { int operator()(const int n1, const int n2) { return n1 + n2; } }; int main(void) { auto add_instance = Add(); cout << add_instance(1, 2) << endl; return 0; }
14.555556
49
0.538168
wjiec
52c3dae45df1a9fa234d2c30734c089785bddc41
970
cpp
C++
cf/725div3C.cpp
exoad/competitive-programming
04b4a8d9cd27fd9c1e82783dc685a340cfbd4ec4
[ "MIT" ]
7
2021-08-02T14:04:34.000Z
2022-03-04T02:59:12.000Z
cf/725div3C.cpp
meng-jack/competitive-programming
f2b4fcec1023e8f827f806dcaa0a2b76117b6c7f
[ "MIT" ]
3
2021-11-10T19:32:00.000Z
2021-11-21T17:24:49.000Z
cf/725div3C.cpp
exoad/competitive-programming
04b4a8d9cd27fd9c1e82783dc685a340cfbd4ec4
[ "MIT" ]
1
2021-11-10T19:24:22.000Z
2021-11-10T19:24:22.000Z
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <array> #include <algorithm> #include <utility> #include <map> #include <queue> #include <set> #include <cmath> #include <cstdio> #include <cstring> #define ll long long #define ld long double #define eps 1e-8 #define MOD 1000000007 #...
17.962963
56
0.526804
exoad
52c6589e812a346014aa08688e7d8dfa6ac821ba
8,810
cpp
C++
UiModule/Inworld/ControlPanelManager.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
1
2018-04-02T15:38:10.000Z
2018-04-02T15:38:10.000Z
UiModule/Inworld/ControlPanelManager.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
UiModule/Inworld/ControlPanelManager.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "ControlPanelManager.h" #include "Common/AnchorLayoutManager.h" #include "Common/UiAction.h" #include "Common/ControlButtonAction.h" #include "Inworld/ControlPanel/Backdro...
38.640351
155
0.668785
mattire
52c67e451150e1475f4bc24b21d7384e46871679
2,072
cpp
C++
src/luanode_os.cpp
mkottman/LuaNode
b059225855939477147c5d4a6e8df3350c0a25fb
[ "MIT" ]
1
2015-06-13T18:00:06.000Z
2015-06-13T18:00:06.000Z
src/luanode_os.cpp
mkottman/LuaNode
b059225855939477147c5d4a6e8df3350c0a25fb
[ "MIT" ]
null
null
null
src/luanode_os.cpp
mkottman/LuaNode
b059225855939477147c5d4a6e8df3350c0a25fb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "LuaNode.h" #include "luanode_os.h" #include <boost/bind.hpp> using namespace LuaNode; ////////////////////////////////////////////////////////////////////////// /// static void GetHostname_callback(lua_State* L, int callback, int result, std::string hostname) { lua_rawgeti(L,...
26.909091
112
0.602799
mkottman
52c71519541b07cb6c6547e0bed329b622ee47de
5,410
cpp
C++
test/unit/math/rev/mat/fun/quad_form_diag_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/rev/mat/fun/quad_form_diag_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/rev/mat/fun/quad_form_diag_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <test/unit/math/rev/mat/fun/expect_matrix_eq.hpp> #include <test/unit/math/rev/mat/util.hpp> #include <vector> using Eigen::Dynamic; using Eigen::Matrix; using stan::math::quad_form_diag; using stan::math::var; TEST(MathMatrix, quadFormDiag2_vv) { M...
25.280374
80
0.604621
jrmie
52ca9e57cc8f265da9e456b5a5e9b0745932b6c5
3,765
cc
C++
RecoEgamma/EgammaElectronAlgos/src/GsfElectronTools.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
1
2021-01-04T10:25:39.000Z
2021-01-04T10:25:39.000Z
RecoEgamma/EgammaElectronAlgos/src/GsfElectronTools.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
RecoEgamma/EgammaElectronAlgos/src/GsfElectronTools.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
2
2019-09-27T08:33:22.000Z
2019-11-14T10:52:30.000Z
#include "DataFormats/EgammaCandidates/interface/GsfElectronCoreFwd.h" #include "DataFormats/EgammaCandidates/interface/GsfElectronCore.h" #include "DataFormats/ParticleFlowReco/interface/GsfPFRecTrack.h" #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" #include "DataFormats/EgammaReco/interface/ElectronSeedFwd...
36.911765
120
0.60664
NTrevisani
52ccdcbe5e920fbf1fbb9ed34c60f9e093e9a28e
2,692
cc
C++
src/test/play.cc
asveikau/audio
4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290
[ "0BSD" ]
null
null
null
src/test/play.cc
asveikau/audio
4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290
[ "0BSD" ]
null
null
null
src/test/play.cc
asveikau/audio
4b8978d5a7855a0ee62cd15b1dd76d35fb6c8290
[ "0BSD" ]
null
null
null
/* Copyright (C) 2017, 2018 Andrew Sveikauskas Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. */ #define __STDC_FORMAT_MACROS 1 #include <AudioCodec.h> #...
24.472727
134
0.61627
asveikau
52cd10b38babbb6c3d2dc420bf27509c87f84993
1,023
cpp
C++
lib/CAPI/Registration.cpp
sogartar/torch-mlir
19e9fc4ef12d7207eadd3dc9121aebe1555ea8dd
[ "Apache-2.0" ]
213
2021-09-24T03:26:53.000Z
2022-03-30T07:11:48.000Z
lib/CAPI/Registration.cpp
sogartar/torch-mlir
19e9fc4ef12d7207eadd3dc9121aebe1555ea8dd
[ "Apache-2.0" ]
247
2021-09-23T18:49:45.000Z
2022-03-31T17:19:02.000Z
lib/CAPI/Registration.cpp
sogartar/torch-mlir
19e9fc4ef12d7207eadd3dc9121aebe1555ea8dd
[ "Apache-2.0" ]
68
2021-09-23T18:23:20.000Z
2022-03-29T11:18:58.000Z
//===- Registration.cpp - C Interface for MLIR Registration ---------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // Also available under a BSD-style...
37.888889
80
0.685239
sogartar
52cfb9fe811594b8ba48bea176f983827194ac2a
500
cpp
C++
widget/labeltest.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
1
2021-05-01T16:29:08.000Z
2021-05-01T16:29:08.000Z
widget/labeltest.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
null
null
null
widget/labeltest.cpp
malaise/xfreecell
b44169ac15e82f7cbc5379f8ba8b818e9faab611
[ "Unlicense" ]
null
null
null
#include "widget.h" class TestFrame : public NSFrame { public: TestFrame() : l(""), con(100, 100) { con.add(&l); container(&con); selectInput(ButtonPressMask); } void dispatchEvent(const XEvent&); private: NSLabel l; NSHContainer con; }; void TestFrame::dispatchEvent(const XEvent& ev) { static string str(...
13.888889
100
0.624
malaise
52d5c3901c7c91fb3eb05603d5b90304ae678533
1,574
hpp
C++
extra/fuzzer/fuzzer_input.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
1,964
2016-11-19T19:04:31.000Z
2022-03-31T16:31:00.000Z
extra/fuzzer/fuzzer_input.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
180
2016-11-26T22:46:10.000Z
2022-03-10T10:23:57.000Z
extra/fuzzer/fuzzer_input.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
133
2016-11-27T17:33:20.000Z
2022-03-07T03:12:49.000Z
// // immer: immutable data structures for C++ // Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #pragma once #include <cstdint> #include <memory>...
22.169014
78
0.593393
ikrima
52d5c7ede2e434650fd1b93c18f3793368b04d45
1,278
hpp
C++
bark/world/prediction/prediction_settings.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/prediction/prediction_settings.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/prediction/prediction_settings.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Julian Bernhard, Klemens Esterle, Patrick Hart and // Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #ifndef BARK_WORLD_PREDICTION_HPP_ #define BARK_WORLD_PREDICTION_HPP_ #include <unordered_map> #include ...
27.191489
104
0.796557
GAIL-4-BARK
52dd178f146251eb972d9851384f266eaaaed542
3,283
cpp
C++
src/wsjcpp_package_downloader_http.cpp
AndreyTomsk/wsjcpp
ea8e149b71e3bece3a6a930d2c9fcdf4d6c93300
[ "MIT" ]
null
null
null
src/wsjcpp_package_downloader_http.cpp
AndreyTomsk/wsjcpp
ea8e149b71e3bece3a6a930d2c9fcdf4d6c93300
[ "MIT" ]
null
null
null
src/wsjcpp_package_downloader_http.cpp
AndreyTomsk/wsjcpp
ea8e149b71e3bece3a6a930d2c9fcdf4d6c93300
[ "MIT" ]
null
null
null
#include "wsjcpp_package_downloader_http.h" #include <wsjcpp_core.h> #include <wsjcpp_package_manager.h> // --------------------------------------------------------------------- // WsjcppPackageDownloaderHttp WsjcppPackageDownloaderHttp::WsjcppPackageDownloaderHttp() : WsjcppPackageDownloaderBase("http") { TAG...
39.554217
149
0.614986
AndreyTomsk
52e05e3ae44e9d09543791e7ea859f32e9b44edf
1,840
cpp
C++
GTE/Graphics/GL45/GL45Texture1.cpp
Cadcorp/GeometricTools
5fc64438e05dfb5a2b179eb20e02bb4ed9ddc224
[ "BSL-1.0" ]
null
null
null
GTE/Graphics/GL45/GL45Texture1.cpp
Cadcorp/GeometricTools
5fc64438e05dfb5a2b179eb20e02bb4ed9ddc224
[ "BSL-1.0" ]
1
2021-04-07T09:16:45.000Z
2021-04-07T09:16:45.000Z
GTE/Graphics/GL45/GL45Texture1.cpp
Cadcorp/GeometricTools
5fc64438e05dfb5a2b179eb20e02bb4ed9ddc224
[ "BSL-1.0" ]
null
null
null
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2020 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 4.0.2019.08.13 #include <Graphics/GL45/GTGraphicsGL45PCH.h> #i...
27.462687
83
0.704891
Cadcorp
52e33869b7ac78e50ed4222379d2b598741c2b78
1,677
cc
C++
Fireworks/Core/src/FWSimpleProxyHelper.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Fireworks/Core/src/FWSimpleProxyHelper.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Fireworks/Core/src/FWSimpleProxyHelper.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
// -*- C++ -*- // // Package: Core // Class : FWSimpleProxyHelper // // Implementation: // <Notes on implementation> // // Original Author: Chris Jones // Created: Tue Dec 2 15:13:22 EST 2008 // // system include files #include <sstream> #include <cassert> #include "FWCore/Utilities/interface/...
20.703704
114
0.697078
nistefan
52e43a8fa579a3887f64b378136869e1d662bc0a
970
hpp
C++
render/camera.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
render/camera.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
render/camera.hpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
#ifndef CAMERA_HPP #define CAMERA_HPP #include "vaslib/vas_math.hpp" class Camera final { public: struct Frame { vec2fp pos = {}; ///< Center position float rot = 0.f; ///< Rotation (radians) float mag = 1.f; ///< Magnification factor }; void set_state(Frame frm); const Frame& get_state() const {return...
23.095238
87
0.698969
vasukas
52eb51c0a9e46fca77c5688bceb55ba918a7d598
150
cpp
C++
Spaceship/chunk.cpp
KYHSGeekCode/Spaceship
9752dbcae95cdce188d319f4f71d3b788c3d991d
[ "Apache-2.0" ]
1
2018-12-08T03:02:03.000Z
2018-12-08T03:02:03.000Z
Spaceship/chunk.cpp
KYHSGeekCode/Spaceship
9752dbcae95cdce188d319f4f71d3b788c3d991d
[ "Apache-2.0" ]
null
null
null
Spaceship/chunk.cpp
KYHSGeekCode/Spaceship
9752dbcae95cdce188d319f4f71d3b788c3d991d
[ "Apache-2.0" ]
null
null
null
#if 0 //chunk.cpp #include "terrain.h" terunit Chunk::GetHeight(terunit x, terunit z) { world.WorldToChunkCoord(this,&x,&z); return 0; }w/ #endif
12.5
46
0.693333
KYHSGeekCode
52ec98c956f21b6c9dc93e765d7c5eb68c593b80
594
cpp
C++
C++/brokenswords.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
19
2019-09-20T19:08:24.000Z
2022-03-17T11:54:57.000Z
C++/brokenswords.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
2
2020-11-06T06:40:40.000Z
2021-01-24T08:55:32.000Z
C++/brokenswords.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
18
2019-08-18T03:51:35.000Z
2021-11-23T04:12:29.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int cases, tb = 0, lr = 0; cin >> cases; while (cases-- > 0) { char c; for (int x = 0; x < 2; x++) { cin >> c; if (c == '0') tb++; ...
22
63
0.373737
AllysonWindell
52ee0a7ba587d97104ff0c034c6ab11eb9e79046
676
cpp
C++
contests/Codeforces Round #607 Div 2/Azamon_web_services.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
2
2020-08-27T18:21:04.000Z
2020-08-30T13:24:39.000Z
contests/Codeforces Round #607 Div 2/Azamon_web_services.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
contests/Codeforces Round #607 Div 2/Azamon_web_services.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
// https://codeforces.com/contest/1281/problem/B #include <iostream> using namespace std; int main() { int tc; cin >> tc; while (tc--) { string me, opponent; cin >> me >> opponent; // Getting smallest lexigraphical string of mine int position; char min_char_so_far; for (int i = 0; i < int(me.size()); ++...
18.777778
50
0.553254
Razdeep
52ee55a041b6963ce9c2694cb5d1fc9ca1354771
693
hh
C++
TFM/click-2.0.1/elements/wifi/station/proberequester.hh
wangyang2013/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
3
2018-04-14T14:43:31.000Z
2019-12-06T13:09:58.000Z
TFM/click-2.0.1/elements/wifi/station/proberequester.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
TFM/click-2.0.1/elements/wifi/station/proberequester.hh
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
#ifndef CLICK_PROBEREQUESTER_HH #define CLICK_PROBEREQUESTER_HH #include <click/element.hh> #include <click/etheraddress.hh> CLICK_DECLS class ProbeRequester : public Element { public: ProbeRequester(); ~ProbeRequester(); const char *class_name() const { return "ProbeRequester"; } const char *port_count() co...
20.382353
61
0.74026
wangyang2013
52f1b033de71c4ba54765f24466137a82b890903
3,448
cpp
C++
MSCL/source/mscl/Communication/WsdaFinder.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
53
2015-08-28T02:41:41.000Z
2022-03-03T07:50:53.000Z
MSCL/source/mscl/Communication/WsdaFinder.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
209
2015-09-30T19:36:11.000Z
2022-03-04T21:52:20.000Z
MSCL/source/mscl/Communication/WsdaFinder.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
55
2015-09-03T14:40:01.000Z
2022-02-04T02:02:01.000Z
/******************************************************************************* Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved. MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License. *******************************************************************************/ #include "st...
29.220339
114
0.587877
offworld-projects
52f1f842f9412a6cdc4292c9b48deb8c23b6f393
15,437
cpp
C++
Framework/Sources/o2/Scene/UI/WidgetLayer.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Scene/UI/WidgetLayer.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Scene/UI/WidgetLayer.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "WidgetLayer.h" #include "o2/Scene/UI/Widget.h" #include "o2/Scene/UI/WidgetLayout.h" #include "o2/Scene/Scene.h" namespace o2 { WidgetLayer::WidgetLayer(): layout(this), interactableLayout(Vec2F(), Vec2F(1.0f, 1.0f), Vec2F(), Vec2F()), mUID(Math::Random()) {} WidgetLayer::Widget...
19.970246
129
0.699035
zenkovich
52f2b58e179e2fe04051d3251addcccef8fdae01
3,921
cc
C++
MathEngine/Functions/Operators/Bitwise.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
MathEngine/Functions/Operators/Bitwise.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
MathEngine/Functions/Operators/Bitwise.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
#include <cmath> #include <numeric> #include <gsl/gsl_math.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_sf_gamma.h> #include "../../Expressions/ExpressionFunctions.h" #include "../../Expressions/ExpressionOperations.h" #include "../../Expressions/NumericalExpression.h" #include "../../Utils/Except...
38.821782
106
0.58327
antoniojkim
52f4bc4288185e16d8c11dbdc80b0de03759b008
19,329
cpp
C++
src/libawkward/Content.cpp
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
src/libawkward/Content.cpp
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
src/libawkward/Content.cpp
martindurant/awkward-1.0
a3221ee1bab6551dd01d5dd07a1d2dc24fd02c38
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License; see https://github.com/jpivarski/awkward-1.0/blob/master/LICENSE #include <sstream> #include "awkward/cpu-kernels/operations.h" #include "awkward/cpu-kernels/reducers.h" #include "awkward/array/RegularArray.h" #include "awkward/array/ListArray.h" #include "awkward/array/EmptyArray.h" #include...
39.206897
261
0.663407
martindurant
52f4eaf5f0c362899643d2eecb1792d0c0958e1c
3,223
hpp
C++
include/vcd/actions/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
1
2019-04-30T17:56:23.000Z
2019-04-30T17:56:23.000Z
include/vcd/actions/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
null
null
null
include/vcd/actions/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
4
2018-08-01T08:32:00.000Z
2019-12-18T06:34:33.000Z
// ============================================================================ // Copyright 2018 Paul le Roux and Calvin Maree // // 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 ...
37.917647
81
0.710828
qedalab
52fff7790f5b13d4453334e2c13d2f7235f8c493
1,361
hxx
C++
main/oox/source/ppt/animationtypes.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/oox/source/ppt/animationtypes.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/oox/source/ppt/animationtypes.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
30.931818
82
0.674504
Grosskopf
5e0107d605be9ad35c1666ebec2e55d49b15c0c1
1,679
hpp
C++
mjolnir/core/LoaderBase.hpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
12
2017-02-01T08:28:38.000Z
2018-08-25T15:47:51.000Z
mjolnir/core/LoaderBase.hpp
Mjolnir-MD/Mjolnir
043df4080720837042c6b67a5495ecae198bc2b3
[ "MIT" ]
60
2019-01-14T08:11:33.000Z
2021-07-29T08:26:36.000Z
mjolnir/core/LoaderBase.hpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
8
2019-01-13T11:03:31.000Z
2021-08-01T11:38:00.000Z
#ifndef MJOLNIR_CORE_LOADER_BASE_HPP #define MJOLNIR_CORE_LOADER_BASE_HPP #include <mjolnir/util/binary_io.hpp> #include <fstream> #include <string> namespace mjolnir { template<typename traitsT> class System; template<typename traitsT> class LoaderBase { public: using traits_type = traitsT; using real...
28.948276
84
0.7433
yutakasi634
5e0113474c9d183dab50d3cceeaa606b8ad63077
1,330
cpp
C++
libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/id.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/id.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/id.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
24.62963
80
0.503759
medismailben
5e025c22728d8531b6057985689aa9b830f7eb1c
783
cpp
C++
leetcode/count-artifacts-that-can-be-extracted/attempt-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
leetcode/count-artifacts-that-can-be-extracted/attempt-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
leetcode/count-artifacts-that-can-be-extracted/attempt-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
class Solution { public: int digArtifacts(int n, vector<vector<int>>& artifacts, vector<vector<int>>& dig) { int dugUp{0}; int usedDigs[dig.size()]; for (auto artifact: artifacts) { int artifactEntries{(artifact[2] - artifact[0] + 1) * (artifact[3] - artifact[1] + 1)}; bool used{...
32.625
131
0.492976
Yash-Singh1
5e08a8afea7f5395c0c049681f78e61f71a77d34
3,131
cpp
C++
graph-source-code/527-E/10330073.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/527-E/10330073.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/527-E/10330073.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ //#pragma comment(linker,"/STACK:102400000,102400000") #include <iostream> #include <cstdio> #include <cstdlib> #include <cassert> #include <climits> #include <ctime> #include <numeric> #include <vector> #include <algorithm> #include <bitset> #include <cmath> #include <cstring> #inclu...
22.205674
81
0.577132
AmrARaouf
5e0b38e92a8b35b43b6f54cb1eca6e73d084200e
676
cpp
C++
kernel/Devices/DebugPort/DebugPort.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
63
2020-06-18T11:04:07.000Z
2022-02-24T09:01:44.000Z
kernel/Devices/DebugPort/DebugPort.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
4
2020-08-31T23:07:37.000Z
2021-06-08T21:54:02.000Z
kernel/Devices/DebugPort/DebugPort.cpp
AymenSekhri/CyanOS
1e42772911299a40aab0e7aac50181b180941800
[ "MIT" ]
9
2020-08-03T13:48:50.000Z
2022-03-31T11:50:59.000Z
#include "DebugPort.h" #include "Arch/x86/Asm.h" #include <Clib.h> void DebugPort::write(const char* data, size_t size, DebugColor color) { char num[3]; itoa(num, static_cast<int>(color), 10); put("\x1B[", 2); put(num, 2); put('m'); put(data, size); put("\x1B[0m", 4); } void DebugPort::write(const char* data, D...
18.777778
70
0.628698
AymenSekhri
5e0c84d6167976c417d34aff3e5df3a17edee939
2,569
cpp
C++
src/value.cpp
RAttab/reflect
b600898e4537febade510125daf41736db2ecfcc
[ "BSD-2-Clause" ]
45
2015-03-24T09:35:46.000Z
2021-05-06T11:50:34.000Z
src/value.cpp
RAttab/reflect
b600898e4537febade510125daf41736db2ecfcc
[ "BSD-2-Clause" ]
null
null
null
src/value.cpp
RAttab/reflect
b600898e4537febade510125daf41736db2ecfcc
[ "BSD-2-Clause" ]
11
2015-01-27T12:08:21.000Z
2020-08-29T16:34:13.000Z
/* value.cpp -*- C++ -*- Rémi Attab (remi.attab@gmail.com), 25 Mar 2014 FreeBSD-style copyright and disclaimer apply Value implementation. */ #include "reflect.h" namespace reflect { /******************************************************************************/ /* VALUE ...
17.965035
80
0.561308
RAttab
5e0cf0ee09c930b9e8238716dba0b750e68126b4
3,128
cpp
C++
src/rosrtls/messages/rtls_pose.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
src/rosrtls/messages/rtls_pose.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
src/rosrtls/messages/rtls_pose.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 Group of Electronic Technology and Communications. University of A Coruna. 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...
34.373626
164
0.750639
valentinbarral
5e0e76c5d205136e1d434d25d8c7e1a25c2b9e00
4,945
cc
C++
plugins/header_rewrite/conditions_geo_maxmind.cc
dsouza93/trafficserver
941f994388faecde741db4b9e6d03a753d2038be
[ "Apache-2.0" ]
1
2021-06-13T16:20:12.000Z
2021-06-13T16:20:12.000Z
plugins/header_rewrite/conditions_geo_maxmind.cc
lvf25/trafficserver
3d584af796bad1e9e3c03b2af5485b630ffedafb
[ "Apache-2.0" ]
null
null
null
plugins/header_rewrite/conditions_geo_maxmind.cc
lvf25/trafficserver
3d584af796bad1e9e3c03b2af5485b630ffedafb
[ "Apache-2.0" ]
1
2020-02-11T03:40:20.000Z
2020-02-11T03:40:20.000Z
/* 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 no...
26.72973
94
0.695248
dsouza93
5e0ecfc5113812c3d487f1630c404c3619e03da4
6,480
cpp
C++
examples/RPG/PlayerStates.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
examples/RPG/PlayerStates.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
examples/RPG/PlayerStates.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
#include "PlayerStates.h" #include "Game\Game.h" #include "PlayerController.h" #include "CharacterEnum.h" #include "MessageType.h" ////////////////////////////////////////////////////////////////////////// /** * */ PlayerStateIdle::PlayerStateIdle() { } /** * */ PlayerStateIdle::~PlayerStateIdle() { } /** * *...
26.557377
115
0.677623
xcasadio
5e128c8ea2389fa1b4b8a28b66725bcf46e13ce8
441
cpp
C++
CodeForces/Complete/300-399/387C-GeorgeAndNumber.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/300-399/387C-GeorgeAndNumber.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/300-399/387C-GeorgeAndNumber.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> int main(){ std::ios_base::sync_with_stdio(false); std::string s; std::cin >> s; long ind(0), ans(0); while(ind < s.size()){ long cur = ind + 1; while(cur < s.size() && s[cur] == '0'){++cur;} if((cur - ind > ind) || (cur - ind == ind && s[0] < s[ind...
21
78
0.439909
Ashwanigupta9125
5e153cfdb5a3cbb686dfd3e2fb85717fcffcc061
275
cpp
C++
src/qlift-c-api/qlift-QVBoxLayout.cpp
msenol86/qlift-c-api
b591f1f020a6f35fdaf2a3ffee25aa98662cc027
[ "MIT" ]
null
null
null
src/qlift-c-api/qlift-QVBoxLayout.cpp
msenol86/qlift-c-api
b591f1f020a6f35fdaf2a3ffee25aa98662cc027
[ "MIT" ]
null
null
null
src/qlift-c-api/qlift-QVBoxLayout.cpp
msenol86/qlift-c-api
b591f1f020a6f35fdaf2a3ffee25aa98662cc027
[ "MIT" ]
1
2020-08-18T19:17:21.000Z
2020-08-18T19:17:21.000Z
#include <QVBoxLayout> #include "qlift-QVBoxLayout.h" void* QVBoxLayout_new(void *parent) { return static_cast<void*>(new QVBoxLayout {static_cast<QWidget*>(parent)}); } void QVBoxLayout_delete(void *vBoxLayout) { delete static_cast<QVBoxLayout*>(vBoxLayout); }
19.642857
79
0.741818
msenol86
5e17731587b4d27616943b43893ef0cf40f74b60
5,487
cc
C++
gw6c-messaging/src/windows/pipeio.cc
kevinmark/gw6c-6_0_1
8b774d2164e8964ee132a031b2a028e565b97ab4
[ "BSD-3-Clause" ]
1
2018-01-14T23:24:37.000Z
2018-01-14T23:24:37.000Z
gw6c-messaging/src/windows/pipeio.cc
kevinmark/gw6c-6_0_1
8b774d2164e8964ee132a031b2a028e565b97ab4
[ "BSD-3-Clause" ]
null
null
null
gw6c-messaging/src/windows/pipeio.cc
kevinmark/gw6c-6_0_1
8b774d2164e8964ee132a031b2a028e565b97ab4
[ "BSD-3-Clause" ]
null
null
null
// ************************************************************************** // $Id: pipeio.cc,v 1.4 2008/01/08 19:34:01 cnepveu Exp $ // // Copyright (c) 2007 Hexago Inc. All rights reserved. // // For license information refer to CLIENT-LICENSE.TXT // // Description: // Windows implementation of the PipeIO clas...
27.029557
91
0.531256
kevinmark
5e18e155b88423045bbb6456e5d6e6057c432eac
1,107
cpp
C++
AtCoder/ABC132/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/ABC132/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/ABC132/B.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
#include<iostream> #include<string> #include<cstdio> #include<vector> #include<cmath> #include<algorithm> #include<functional> #include<iomanip> #include<queue> #include<ciso646> #include<random> #include<map> #include<set> #include<complex> #include<bitset> #include<stack> #include<unordered_map> #include<utility> #in...
18.45
43
0.539295
takaaki82
5e1aebe481561d2129791044d1187800e57398e6
1,285
cpp
C++
enduser/troubleshoot/tshoot/mutexowner.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/troubleshoot/tshoot/mutexowner.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/troubleshoot/tshoot/mutexowner.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// // MODULE: MutexOwner.cpp // // PURPOSE: strictly a utility class so we can properly construct & destruct a static mutex. // // COMPANY: Saltmine Creative, Inc. (206)-284-7511 support@saltmine.com // // AUTHOR: Oleg Kalosha, Joe Mabel // // ORIGINAL DATE: 11-04-98 // // NOTES: // // Version Date By ...
23.796296
93
0.535409
npocmaka
5e219979614a3a89bfe2ed0736b7e2962595a3bf
1,183
cpp
C++
qml_2048/src/main.cpp
codingpotato/clean-2048
70e3a7ae31c403195900db9a811985435365edf8
[ "MIT" ]
null
null
null
qml_2048/src/main.cpp
codingpotato/clean-2048
70e3a7ae31c403195900db9a811985435365edf8
[ "MIT" ]
null
null
null
qml_2048/src/main.cpp
codingpotato/clean-2048
70e3a7ae31c403195900db9a811985435365edf8
[ "MIT" ]
null
null
null
#include <QApplication> #include <QQmlApplicationEngine> #include "qt_view_model/BoardViewModel.h" #include "qt_view_model/Controller.h" #include "qt_view_model/GameOverViewModel.h" #include "qt_view_model/ScoreViewModel.h" #include "router/Router.h" #include "storage/Storage.h" int main(int argc, char *argv[]) { p...
36.96875
80
0.671175
codingpotato
5e22d170643be63031a58fb70f2f67444205f08d
6,317
cpp
C++
funcs/http_server_func/func.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
funcs/http_server_func/func.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
funcs/http_server_func/func.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
#include "runtime/func.h" #include "messaging/IMessageManager.h" #include "posix/stdio_stubs.h" #include <stdio.h> #include <inttypes.h> #include "runtime/DiggiAPI.h" #include "network/HTTP.h" #include "network/Connection.h" #include "posix/net_stubs.h" /*HTTP server func*/ static Connection *server_connection = nullp...
26.211618
120
0.721862
andersgjerdrum
5e2fe59e43c6352ff716e678a91e1eca30072d45
720
hpp
C++
src/almost/primesieve-5.6.0/include/primesieve/PrimeGenerator.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/almost/primesieve-5.6.0/include/primesieve/PrimeGenerator.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/almost/primesieve-5.6.0/include/primesieve/PrimeGenerator.hpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
/// /// @file PrimeGenerator.hpp /// /// Copyright (C) 2014 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef PRIMEGENERATOR_HPP #define PRIMEGENERATOR_HPP #include "config.hpp" #include "SieveOfEratosthenes.h...
20.571429
67
0.748611
bgwines
5e34eb513c2b64479d3f73b97ccd486a633c8cf6
902
hpp
C++
libs/PhiCore/include/phi/compiler_support/nodiscard.hpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
3
2020-12-21T13:47:35.000Z
2022-03-16T23:53:21.000Z
libs/PhiCore/include/phi/compiler_support/nodiscard.hpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
53
2020-08-07T07:46:57.000Z
2022-02-12T11:07:08.000Z
libs/PhiCore/include/phi/compiler_support/nodiscard.hpp
AMS21/Phi
d62d7235dc5307dd18607ade0f95432ae3a73dfd
[ "MIT" ]
1
2020-08-19T15:50:02.000Z
2020-08-19T15:50:02.000Z
#ifndef INCG_PHI_CORE_COMPILER_SUPPORT_NODISCARD_HPP #define INCG_PHI_CORE_COMPILER_SUPPORT_NODISCARD_HPP #include "phi/phi_config.hpp" #if PHI_HAS_EXTENSION_PRAGMA_ONCE() # pragma once #endif #include "phi/compiler_support/compiler.hpp" #include "phi/compiler_support/cpp_standard.hpp" #if PHI_HAS_FEATURE_NODISC...
32.214286
67
0.783814
AMS21
5e3501caa01b8de791dc1cedde034bd3a614aedf
13,846
hxx
C++
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
joasiee/elastix
c765ca8959fc288c19b0c7f75875b70f939581de
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
joasiee/elastix
c765ca8959fc288c19b0c7f75875b70f939581de
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/elxStatisticalShapePenalty.hxx
joasiee/elastix
c765ca8959fc288c19b0c7f75875b70f939581de
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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 * * h...
35.231552
120
0.669002
joasiee
5e37b8cc9172d77cb987b9143aa6861d46b6fb4d
664
cpp
C++
views/formview/emptyformwidget.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
2
2017-10-01T07:59:54.000Z
2021-09-09T14:40:41.000Z
views/formview/emptyformwidget.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
3
2017-11-01T15:42:46.000Z
2019-02-18T08:42:33.000Z
views/formview/emptyformwidget.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2012 Giorgio Wicklein <giowckln@gmail.com> */ //----------------------------------------------------------------------------- // Hearders //----------------------------------------------------------------------------- #include "emptyformwidget.h" #include "ui_emptyformwidget.h" //-------------...
23.714286
79
0.356928
DatabasesWorks
5e39b73f987ee318d848bae4454be807c3c02182
13,258
cpp
C++
src/AudioDevicesMacOS.cpp
fredemmott/AudioDeviceLib
01a2776440a4b570bbe18210d0a12858cd7de3b8
[ "MIT" ]
3
2021-06-05T12:14:27.000Z
2021-08-12T05:08:31.000Z
src/AudioDevicesMacOS.cpp
fredemmott/AudioDeviceLib
01a2776440a4b570bbe18210d0a12858cd7de3b8
[ "MIT" ]
null
null
null
src/AudioDevicesMacOS.cpp
fredemmott/AudioDeviceLib
01a2776440a4b570bbe18210d0a12858cd7de3b8
[ "MIT" ]
1
2021-11-17T15:00:51.000Z
2021-11-17T15:00:51.000Z
/* Copyright (c) 2019-present, Fred Emmott * * This source code is licensed under the MIT-style license found in the * LICENSE file. */ #include <CoreAudio/CoreAudio.h> #include "AudioDevices.h" namespace FredEmmott::Audio { namespace { std::string Utf8StringFromCFString(CFStringRef ref, size_t buf_size = 1024...
31.417062
80
0.728843
fredemmott
5e39f466abe1b422f6c4b1f58274b14c8f9dd11c
11,808
cpp
C++
toolboxes/nfft/cpu/hoGriddingConvolution.cpp
roopchansinghv/gadgetron
fb6c56b643911152c27834a754a7b6ee2dd912da
[ "MIT" ]
1
2022-02-22T21:06:36.000Z
2022-02-22T21:06:36.000Z
toolboxes/nfft/cpu/hoGriddingConvolution.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
toolboxes/nfft/cpu/hoGriddingConvolution.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
#include "hoGriddingConvolution.h" #include "hoNDArray_elemwise.h" #include "NDArray_utils.h" #include "ConvolutionMatrix.h" namespace Gadgetron { template<class T, unsigned int D, template<class, unsigned int> class K> hoGriddingConvolution<T, D, K>::hoGriddingConvolution( const vector_td<size_t, D...
50.896552
125
0.721545
roopchansinghv
5e3a956d9ab6f24c2ed4434cdeb62f26069e7902
3,104
hpp
C++
include/codegen/include/UnityEngine/ProBuilder/BezierShape.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/ProBuilder/BezierShape.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/ProBuilder/BezierShape.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:20 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" // Including type: Un...
36.093023
103
0.70232
Futuremappermydud
5e3d2cc60a2c5c1696708cda7276b63940e92e2d
357
cpp
C++
oopAsgn3/prob4.cpp
debargham14/Object-Oriented-Programming-Assignment
25d7c87803e957c16188cac563eb238654c5a87b
[ "MIT" ]
null
null
null
oopAsgn3/prob4.cpp
debargham14/Object-Oriented-Programming-Assignment
25d7c87803e957c16188cac563eb238654c5a87b
[ "MIT" ]
null
null
null
oopAsgn3/prob4.cpp
debargham14/Object-Oriented-Programming-Assignment
25d7c87803e957c16188cac563eb238654c5a87b
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; //max function to return the pointer as the argument int max(int &a, int &b) { return (a > b ? a : b); } int main() { int first, second; cout << "Enter the first and the second numbers respectively :- "; cin >> first >> second; int c = max(first, second); cout << "The m...
21
67
0.635854
debargham14
1e0f92c808d63ebae42b78adb83637f0551918cf
8,682
cc
C++
extensions/browser/computed_hashes_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
extensions/browser/computed_hashes_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
extensions/browser/computed_hashes_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "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 2014 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 "extensions/browser/computed_hashes.h" #include "base/base64.h" #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h" #includ...
37.912664
80
0.702373
zealoussnow
1e13b659bc9bb9a101b1e3e4aaab70c4c2c45449
1,237
hpp
C++
src/coapp/coapp.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
src/coapp/coapp.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
src/coapp/coapp.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
/**@file * This is the internal header file of the C++ CANopen application library. * * @copyright 2018-2019 Lely Industries N.V. * * @author J. S. Seldenthuis <jseldenthuis@lely.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
28.113636
75
0.747777
JoachimDuquesne
1e1415ff66e766405f7012c6d081305b47977a5c
3,463
cpp
C++
cpp-htp/standard/ch12solutions/Ex12_10/ex12_10.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
75
2020-03-23T11:00:31.000Z
2022-02-20T05:22:53.000Z
cpp-htp/standard/ch12solutions/Ex12_10/ex12_10.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
null
null
null
cpp-htp/standard/ch12solutions/Ex12_10/ex12_10.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
39
2020-04-03T23:47:24.000Z
2022-01-19T05:06:39.000Z
// Exercise 12.10 Solution: ex12_10.cpp // Test program for Account hierarchy. #include <iostream> #include <iomanip> #include "Account.h" // Account class definition #include "SavingsAccount.h" // SavingsAccount class definition #include "CheckingAccount.h" // CheckingAccount class definition using namespace st...
48.097222
80
0.600347
yanshengjia
1e14211c6d6d10936884843f06432493915fce7e
3,935
hpp
C++
sferes/sferes/stat/pareto_front.hpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
31
2015-09-20T03:03:29.000Z
2022-01-25T06:50:20.000Z
sferes/sferes/stat/pareto_front.hpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
1
2016-08-11T07:24:50.000Z
2016-08-17T01:19:57.000Z
sferes/sferes/stat/pareto_front.hpp
Evolving-AI-Lab/innovation-engine
58c7fcc3cbe3d6f8f59f87d95bdb5f2302f425ba
[ "MIT" ]
10
2015-11-15T01:52:25.000Z
2018-06-11T23:42:58.000Z
//| This file is a part of the sferes2 framework. //| Copyright 2009, ISIR / Universite Pierre et Marie Curie (UPMC) //| Main contributor(s): Jean-Baptiste Mouret, mouret@isir.fr //| //| This software is a computer program whose purpose is to facilitate //| experiments in evolutionary computation and evolutionary robot...
38.960396
78
0.655654
Evolving-AI-Lab
1e15cb7c065d514b823a305720a5202910558246
6,975
cxx
C++
Seismic/Widgets/qColadaH5SeisModel.cxx
tierra-colada/ColadaSeismic
3a0b6cdcac0650e49c07d2845caab0a929f72d1a
[ "MIT" ]
null
null
null
Seismic/Widgets/qColadaH5SeisModel.cxx
tierra-colada/ColadaSeismic
3a0b6cdcac0650e49c07d2845caab0a929f72d1a
[ "MIT" ]
null
null
null
Seismic/Widgets/qColadaH5SeisModel.cxx
tierra-colada/ColadaSeismic
3a0b6cdcac0650e49c07d2845caab0a929f72d1a
[ "MIT" ]
null
null
null
// Colada includes #include "qColadaH5SeisModel.h" #include "qColadaH5SeisModel_p.h" // Qt includes #include <QIcon> #include <QDebug> // MRML includes #include <vtkMRMLScene.h> #include <vtkMRMLSeisVolumeNode.h> #include <vtkMRMLSeisModelNode.h> // h5gt includes #include <h5gt/H5File.hpp> #include <h5gt/H5Group.hpp...
30.592105
104
0.699498
tierra-colada
1e185f7208af4f6b8b050f2475cab05db595533d
18,162
cpp
C++
test/test_concat.in.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
test/test_concat.in.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
test/test_concat.in.cpp
kthur/he-transformer
5d3294473edba10f2789197043b8d8704409719e
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2018-2019 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...
44.297561
80
0.578846
kthur
1e18d1c01af8e32f561a60976063a2660baeeb12
16,110
cc
C++
upscaler.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
upscaler.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
upscaler.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
// This file implements a ppm to (dc-ppm, ac-ppm) mapping that allows // us to experiment in different ways to compose the image into // (4x4) pseudo-dc and respective ac components. #include "upscaler.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <cmath> #include <vector> #include "butteraugl...
32.944785
80
0.537803
pps83
1e1a0d85f71ca57102048498466f0bfbf3d81021
845
cpp
C++
src/sword_to_offer/sword_q05.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/sword_to_offer/sword_q05.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/sword_to_offer/sword_q05.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #剑指Offer# Q05 从尾到头打印链表 */ #include "leetcode.h" namespace sword_q05 { template<typename T> bool run_testcases() { T slt; { vector<int> input {1,2,3,4,5}, ret {5,4,3,2,1}; auto head = create_list(input); auto check = comp_vector(ret, slt.printFromTail(head)); delete_list(he...
19.651163
66
0.559763
jielyu
1e1afb2e8e01b12b46f84d7c7688dde898413081
2,328
cpp
C++
interview_questions/google_interview_1.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
interview_questions/google_interview_1.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
interview_questions/google_interview_1.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/* A[], {2, 1, 0,0,0,0,0,0, 7, 1} K l - k till 0 + k => Max Sum 10, k = 3 7 to 3 size => k * 2 copying => entries from the ends of the given array calculate MaxSubArraySum of window size k */ #include <iostream> #include <vector> #include <stdint.h> using namespace std; class Solution_t { int MaxSubArraySum...
31.890411
194
0.53823
bvbasavaraju
1e1baafd7ebc907d1cfd55d4372fcb084046ccfd
1,363
cpp
C++
Acepta_El_Reto/problema_342.cpp
paulamlago/EDA-1
201e247f1dfb85bffbe61cce39af244e220152ee
[ "WTFPL" ]
null
null
null
Acepta_El_Reto/problema_342.cpp
paulamlago/EDA-1
201e247f1dfb85bffbe61cce39af244e220152ee
[ "WTFPL" ]
null
null
null
Acepta_El_Reto/problema_342.cpp
paulamlago/EDA-1
201e247f1dfb85bffbe61cce39af244e220152ee
[ "WTFPL" ]
4
2018-10-26T10:01:11.000Z
2021-12-14T09:51:57.000Z
#include <iostream>; // Comentar para AER #define getchar_unlocked getchar #define putchar_unlocked putchar using namespace std; inline void in(int &n) { n = 0; int ch = getchar_unlocked(); int sign = 1; while (ch < '0' || ch > '9') { if (ch == '-')sign = -1; ch = getchar_unlocked(); } while (ch...
15.144444
84
0.505503
paulamlago
1e1d3d52e4526c0368c13fd892e37eeb1cced86e
4,457
cpp
C++
cg/src/debug/AnimatedAlgorithm.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
2
2021-11-23T18:36:51.000Z
2021-11-24T19:38:25.000Z
cg/src/debug/AnimatedAlgorithm.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
1
2022-02-12T20:47:59.000Z
2022-03-17T02:03:25.000Z
cg/src/debug/AnimatedAlgorithm.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
1
2022-02-12T22:31:50.000Z
2022-02-12T22:31:50.000Z
//[]---------------------------------------------------------------[] //| | //| Copyright (C) 2016, 2019 Paulo Pagliosa. | //| | //| This software is provided 'as-is', w...
25.180791
69
0.534889
MachSilva
1e1e0fab26da5f72c84dfcf45c9bf020ea99752c
7,190
cpp
C++
src/esp32ModbusTCP.cpp
bertmelis/esp32ModbusTCP
4e60c5622b3c4d66b0b9c678a8c1073adf57a82f
[ "MIT" ]
58
2018-11-27T01:38:30.000Z
2022-03-20T14:19:38.000Z
src/esp32ModbusTCP.cpp
bertmelis/esp32Modbus
4e60c5622b3c4d66b0b9c678a8c1073adf57a82f
[ "MIT" ]
18
2019-04-29T06:56:14.000Z
2020-08-16T11:12:48.000Z
src/esp32ModbusTCP.cpp
bertmelis/esp32Modbus
4e60c5622b3c4d66b0b9c678a8c1073adf57a82f
[ "MIT" ]
27
2018-11-27T01:38:31.000Z
2022-01-13T18:15:59.000Z
/* esp32ModbusTCP Copyright 2018 Bert Melis 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, dist...
31.955556
98
0.720584
bertmelis
1e1fa50753ad0b5aba2449c6ab62c37e1bb3ac4f
1,245
cpp
C++
src/tray.cpp
AhhNuts/30047W
54bfb5770a9ad08d853395c2b6d659dca27177f6
[ "MIT" ]
null
null
null
src/tray.cpp
AhhNuts/30047W
54bfb5770a9ad08d853395c2b6d659dca27177f6
[ "MIT" ]
null
null
null
src/tray.cpp
AhhNuts/30047W
54bfb5770a9ad08d853395c2b6d659dca27177f6
[ "MIT" ]
null
null
null
#include "tray.h" #include "vex.h" #include "button.h" Button lb; void tray(){ //if both button hold then max speed down if(Controller1.ButtonDown.pressing()){ TRAY.resetPosition(); } else if(Controller1.ButtonR1.pressing() && Controller1.ButtonR2.pressing()){ //Tray Lift Faster Down TRAY.s...
34.583333
128
0.628916
AhhNuts
1e2047c81d9753e18aedcb38899c961a9ab6bba0
10,010
cpp
C++
source/de/hackcraft/proc/Facade.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
23
2015-12-08T19:29:10.000Z
2021-09-22T04:13:31.000Z
source/de/hackcraft/proc/Facade.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
7
2018-04-30T13:05:57.000Z
2021-08-25T03:58:07.000Z
source/de/hackcraft/proc/Facade.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
4
2018-01-25T03:05:19.000Z
2021-08-25T03:30:15.000Z
#include "Facade.h" #include "Noise.h" #include "Distortion.h" #include "de/hackcraft/psi3d/ctrl.h" #include "de/hackcraft/psi3d/math3d.h" void Facade::getVStrings(float x, float y, float* color4f, unsigned char seed) { float x_ = fmod(x, 1.0f); float sinx = Noise::simplex3(((x_ < 0.5f) ? (x_) : (1.0f - x_))...
30.705521
111
0.50959
DMJC
1e2179add4a3e17da484980b4c8374c14b4f4e38
763
hpp
C++
problem/pascaltriangle2.hpp
cloudyfsail/LeetCode
89b341828ec452997d3e05e06b08bfba95216f41
[ "MIT" ]
null
null
null
problem/pascaltriangle2.hpp
cloudyfsail/LeetCode
89b341828ec452997d3e05e06b08bfba95216f41
[ "MIT" ]
null
null
null
problem/pascaltriangle2.hpp
cloudyfsail/LeetCode
89b341828ec452997d3e05e06b08bfba95216f41
[ "MIT" ]
null
null
null
#ifndef _PASCAL_TRIANGLE2_H_ #define _PASCAL_TRIANGLE2_H_ #include <vector> #include "stdint.h" #include <ostream> using std::vector; namespace LeetCode { class Solution { public: vector<int> getRow(int rowIndex) { if(rowIndex < 0) return vector<int>(0); vector<int> r...
19.564103
83
0.461337
cloudyfsail
1e21ef80b6ad93a1aad95da2aa7c4ba7b7d25d72
1,522
cpp
C++
ema-tools/palate-contour/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
null
null
null
ema-tools/palate-contour/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
2
2017-05-29T09:43:01.000Z
2017-05-29T09:50:05.000Z
ema-tools/palate-contour/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
4
2017-05-17T11:56:02.000Z
2022-03-05T09:12:24.000Z
#include "mesh/MeshIO.h" #include "ema/Ema.h" #include "ema-modify/ApplyModifications.h" #include "PalateContour.h" #include "visualize/ProjectMesh.h" #include "settings.h" int main(int argc, char* argv[]) { Settings settings(argc, argv); Ema ema; std::vector<arma::vec> points; for(const std::string& file...
20.026316
74
0.653745
ahewer
1e228ea9477628f70f77e6e834b622cf2b694906
2,861
hpp
C++
dakota-6.3.0.Windows.x86/include/LegendreOrthogPolynomial.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/LegendreOrthogPolynomial.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/LegendreOrthogPolynomial.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
1
2022-03-18T14:13:14.000Z
2022-03-18T14:13:14.000Z
/* _______________________________________________________________________ PECOS: Parallel Environment for Creation Of Stochastics Copyright (c) 2011, Sandia National Laboratories. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in th...
31.097826
78
0.74834
seakers
1e26392b6ad6d77798f57ab019b1a55a6575eeb8
393
cpp
C++
maketutorial/animals/main.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
4
2018-09-23T00:00:13.000Z
2018-11-02T22:56:35.000Z
maketutorial/animals/main.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
null
null
null
maketutorial/animals/main.cpp
keelimepi/CS225
a98871095cc2d488c646a72acd2c28aceb2b3ae7
[ "AFL-1.1" ]
null
null
null
/** * @file main.cpp * @author Lisa Sproat */ #include "dog.hpp" #include <iostream> #include <utility> // std::pair int main(){ Dog my_dog = Dog("Skye"); my_dog.bark(); my_dog.run(30, 10); my_dog.read_tag(); std::pair<int, int> loc = my_dog.radio_collar(); std::cout << "[Main] Location: ("...
20.684211
58
0.541985
keelimepi
1e27526cf94dab43e14065c22570953c28b562a2
191
cpp
C++
src/Step/7. Basic Math 1/1712.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
src/Step/7. Basic Math 1/1712.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
src/Step/7. Basic Math 1/1712.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; int sum = (b > c) ? -1 : (c - b ==0) ? -1 : (a / (c - b) + 1); cout << sum << endl; return 0; }
13.642857
63
0.450262
ljh15952
1e281b3cfd887c10e284dce2d6965d8013c82b64
35,358
cc
C++
unittest/mysqlshdk/libs/config/config_file_t.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
unittest/mysqlshdk/libs/config/config_file_t.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
unittest/mysqlshdk/libs/config/config_file_t.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
/* * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with...
42.395683
80
0.663669
mueller
1e29151475f2ba6e7d204d9813dc77e2134372e4
6,988
cpp
C++
module07/EX01/IFT3100H22_Lighting/src/renderer.cpp
philvoyer/IFT3100H20
17b5c260b7bff2b2df4ed4c61fb078a5841f5c67
[ "MIT" ]
13
2020-01-22T20:17:26.000Z
2020-08-31T01:02:18.000Z
module07/EX01/IFT3100H22_Lighting/src/renderer.cpp
philvoyer/IFT3100H22
17b5c260b7bff2b2df4ed4c61fb078a5841f5c67
[ "MIT" ]
null
null
null
module07/EX01/IFT3100H22_Lighting/src/renderer.cpp
philvoyer/IFT3100H22
17b5c260b7bff2b2df4ed4c61fb078a5841f5c67
[ "MIT" ]
1
2022-01-11T22:05:37.000Z
2022-01-11T22:05:37.000Z
// IFT3100H22_Lighting/renderer.cpp // Classe responsable du rendu de l'application. #include "renderer.h" Renderer::Renderer(){} void Renderer::setup() { ofSetFrameRate(60); ofEnableDepthTest(); ofSetSphereResolution(32); // paramètres camera_offset = 350.0f; speed_motion = 150.0f; oscillation_freque...
24.780142
112
0.694476
philvoyer
1e2a66133bb9ec462c1d844cfa5d294fb39071c1
4,884
cpp
C++
conformance_tests/core/test_ipc/src/test_ipc_event.cpp
oneapi-src/level-zero-tests
aff26cb658dbe0991566a62716be00dde390e793
[ "MIT" ]
32
2020-03-05T19:26:02.000Z
2022-02-21T13:13:52.000Z
conformance_tests/core/test_ipc/src/test_ipc_event.cpp
oneapi-src/level-zero-tests
aff26cb658dbe0991566a62716be00dde390e793
[ "MIT" ]
9
2020-05-04T20:15:09.000Z
2021-12-19T07:17:50.000Z
conformance_tests/core/test_ipc/src/test_ipc_event.cpp
oneapi-src/level-zero-tests
aff26cb658dbe0991566a62716be00dde390e793
[ "MIT" ]
19
2020-04-07T16:00:48.000Z
2022-01-19T00:19:49.000Z
/* * * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "gtest/gtest.h" #include "utils/utils.hpp" #include "test_harness/test_harness.hpp" #include "logging/logging.hpp" #include "test_ipc_event.hpp" #include "test_ipc_comm.hpp" #include <boost/interprocess/shared_memory_obje...
30.716981
103
0.753071
oneapi-src
1e2ac827524f4e4ce531fb752d5de85ede74c238
175
cpp
C++
src/bounce/event/destroy/run.cpp
cbosoft/bounce
f63e5ad1aabe201debf7a9a73525e93973c34932
[ "MIT" ]
null
null
null
src/bounce/event/destroy/run.cpp
cbosoft/bounce
f63e5ad1aabe201debf7a9a73525e93973c34932
[ "MIT" ]
null
null
null
src/bounce/event/destroy/run.cpp
cbosoft/bounce
f63e5ad1aabe201debf7a9a73525e93973c34932
[ "MIT" ]
null
null
null
#include <bounce/physics/engine/engine.hpp> #include <bounce/event/destroy/destroy.hpp> void TransformDestroyEvent::run(Game *game) { this->_to_be_destroyed->destroy(); }
25
43
0.76
cbosoft
1e2bb53bc07b2db5c4f1bcab3ecc603ed609e37b
7,578
cpp
C++
OpenSim/Common/Logger.cpp
tnamayeshi/opensim-core
acbedd604909980293776da3d54b9611732964bf
[ "Apache-2.0" ]
null
null
null
OpenSim/Common/Logger.cpp
tnamayeshi/opensim-core
acbedd604909980293776da3d54b9611732964bf
[ "Apache-2.0" ]
1
2022-03-19T14:24:11.000Z
2022-03-19T14:24:11.000Z
OpenSim/Common/Logger.cpp
tnamayeshi/opensim-core
acbedd604909980293776da3d54b9611732964bf
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- * * OpenSim: Logger.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
37.514851
81
0.598179
tnamayeshi
1e2bfb745beb3e219c8623aaa009f9a221eed121
3,848
hpp
C++
openstudiocore/src/model/LifeCycleCost_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/model/LifeCycleCost_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
null
null
null
openstudiocore/src/model/LifeCycleCost_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
/********************************************************************** * Copyright (c) 2008-2015, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
29.829457
96
0.695166
BIMDataHub
1e2d66959e32676a9103fdfec190eaf20ffb5a54
20,375
cpp
C++
Source/Primative.cpp
findux/ToolKit
3caa97441318d19fe0a6e3d13d88dfbdb60afb44
[ "MIT" ]
32
2020-10-16T00:17:14.000Z
2022-03-02T18:25:58.000Z
Source/Primative.cpp
findux/ToolKit
3caa97441318d19fe0a6e3d13d88dfbdb60afb44
[ "MIT" ]
1
2021-09-19T12:18:17.000Z
2022-02-23T06:53:30.000Z
Source/Primative.cpp
findux/ToolKit
3caa97441318d19fe0a6e3d13d88dfbdb60afb44
[ "MIT" ]
5
2020-09-18T09:04:40.000Z
2022-02-11T12:44:55.000Z
#include "stdafx.h" #include "Primative.h" #include "Mesh.h" #include "ToolKit.h" #include "MathUtil.h" #include "Directional.h" #include "Node.h" #include "DebugNew.h" namespace ToolKit { Billboard::Billboard(const Settings& settings) : m_settings(settings) { } void Billboard::LookAt(Camera* cam, float ...
27.422611
136
0.603337
findux
1e38d528542dffeed2c014b79aa8aaca1f307e44
197
cpp
C++
Baekjoon/Problem_1005/Problem_1005.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
Baekjoon/Problem_1005/Problem_1005.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
Baekjoon/Problem_1005/Problem_1005.cpp
ShinYoung-hwan/Problem_Solving
3f181b0b978ed22f1bbca102d41d45679cfb288f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int Testcase; cin >> Testcase; for(int i = 0; i < Testcase; i++) { int N, K; cin >> N >> K; } return 0; }
11.588235
37
0.507614
ShinYoung-hwan
1e3a7b79774b0beab098cf02618d62aa5e70d5dd
840
cc
C++
test/core/test2.7-2/test.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
63
2018-06-21T14:11:59.000Z
2022-03-30T11:24:36.000Z
test/core/test2.7-2/test.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
5
2018-09-22T14:01:53.000Z
2021-12-27T16:11:05.000Z
test/core/test2.7-2/test.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
12
2018-08-23T15:59:44.000Z
2022-02-20T06:47:22.000Z
#include <frovedis.hpp> #define BOOST_TEST_MODULE FrovedisTest #include <boost/test/unit_test.hpp> using namespace frovedis; using namespace std; std::vector<int> two_times(const std::vector<int>& v) { std::vector<int> r(v.size()); for(size_t i = 0; i < v.size(); i++) r[i] = v[i] * 2; return r; } BOOST_AUTO_T...
24.705882
68
0.652381
XpressAI
1e3b7fbf559f330b42a3455f17d84e8a9259c950
11,605
hpp
C++
include/exces/collection.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
1
2018-03-26T20:51:36.000Z
2018-03-26T20:51:36.000Z
include/exces/collection.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
null
null
null
include/exces/collection.hpp
matus-chochlik/exces
50b57ce4c9f6c41ab2eacfae054529cbbe6164c0
[ "BSL-1.0" ]
null
null
null
/** * @file exces/collection.hpp * @brief Entity collections and classifications * * Copyright 2012-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef EXCES_COLLECTION_1304231...
25.505495
81
0.734856
matus-chochlik
1e3d47053a7917cf34ba4c07e4dd42cf4b22bf39
118
cpp
C++
gxx/print/src/impl/print_cout.cpp
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
gxx/print/src/impl/print_cout.cpp
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
gxx/print/src/impl/print_cout.cpp
Mirmik/gxx
986e4de50a5652ce7d82c01fcf4ff87daa18904a
[ "MIT" ]
null
null
null
#include <gxx/print.h> #include <gxx/io/std.h> namespace gxx { gxx::io::ostream* standart_output = &gxx::io::cout; }
19.666667
52
0.677966
Mirmik
1e43bf5c02a3f4c4fdec95b8cf4eefe0c92bb8cb
11,919
cc
C++
util/buildWeissPalette.cc
MartinezTorres/Edelweiss
ef7eeaa1b8262e85f708c672fbb3310a6912be0c
[ "MIT" ]
2
2021-01-20T13:12:31.000Z
2021-02-24T17:00:36.000Z
util/buildWeissPalette.cc
MartinezTorres/sdcc_msx_interlacedScrollMSX1
69b5463c67c822e6a272acbfdadb6bee81cdbdf7
[ "MIT" ]
1
2021-04-07T20:19:37.000Z
2021-04-07T20:19:37.000Z
util/buildWeissPalette.cc
MartinezTorres/sdcc_msx_interlacedScrollMSX1
69b5463c67c822e6a272acbfdadb6bee81cdbdf7
[ "MIT" ]
1
2021-02-24T17:00:43.000Z
2021-02-24T17:00:43.000Z
//////////////////////////////////////////////////////////////////////// // Build MSX1 palette // // Manuel Martinez (salutte@gmail.com) // // FLAGS: -std=gnu++14 -g `pkg-config opencv --cflags --libs` -Ofast -lpthread -fopenmp -lgomp -Wno-format-nonliteral #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #i...
35.055882
170
0.461784
MartinezTorres
1e464bfa0b9f58f7e86ca7ab23d3cc7ca71f31b9
4,315
hpp
C++
src/arrangement/arrangement.hpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
1
2020-03-28T15:53:08.000Z
2020-03-28T15:53:08.000Z
src/arrangement/arrangement.hpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
null
null
null
src/arrangement/arrangement.hpp
cbosoft/rlp
21adacbb514f3ff68a77577c2d097fcaaaeffe25
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "../util/vec.hpp" #include "../particle/particle.hpp" #include "../util/exception.hpp" class ParticleArrangement { protected: bool get_two_particle_frictional_interaction(const Particle *settling, const Particle *settled, double &time, Vec3 &final_position) const {...
22.710526
141
0.588644
cbosoft
1e4a5478604c5d95ed891603ccbb364a68cfddfa
1,179
cpp
C++
gpu/examples/binarization.cpp
DasudaRunner/CUDA-CV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
146
2018-11-15T13:20:23.000Z
2022-03-30T01:47:37.000Z
gpu/examples/binarization.cpp
layyyang/DeltaCV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
1
2018-12-05T04:44:39.000Z
2020-07-07T01:20:22.000Z
gpu/examples/binarization.cpp
layyyang/DeltaCV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
8
2019-07-19T07:23:38.000Z
2021-09-26T15:36:27.000Z
#include <iostream> #include "opencv2/core.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include <opencv2/opencv.hpp> #include <cuda_runtime.h> #include "deltaCV/gpu/cudaImg.cuh" #include "deltaCV/gpu/cudaUtils.hpp" #include <time.h> #include <algorithm> #include "deltaCV/gpu/cu_wrapper.hpp" ...
19.65
74
0.620865
DasudaRunner
1e4afd6cf260b5d2cea2853dafc16527eb765c58
15,066
cpp
C++
src/replication/replication_manager.cpp
tpan496/terrier
671a55b7036af005359411ecef980e7d6d0313c9
[ "MIT" ]
null
null
null
src/replication/replication_manager.cpp
tpan496/terrier
671a55b7036af005359411ecef980e7d6d0313c9
[ "MIT" ]
null
null
null
src/replication/replication_manager.cpp
tpan496/terrier
671a55b7036af005359411ecef980e7d6d0313c9
[ "MIT" ]
null
null
null
#include "replication/replication_manager.h" #include <chrono> // NOLINT #include <fstream> #include <optional> #include "common/error/exception.h" #include "common/json.h" #include "loggers/replication_logger.h" #include "network/network_io_utils.h" #include "storage/recovery/replication_log_provider.h" #include "s...
44.973134
120
0.707222
tpan496
1e4e7c537a8b0dced7a39d4deea38baed0fb402e
555
cpp
C++
BOCA/CD/src/ac.cpp
Raquel29/PC1-IFB-CC
36b55e95373a5f022651545248d8cb66bac1cd3f
[ "MIT" ]
1
2020-05-24T02:22:13.000Z
2020-05-24T02:22:13.000Z
BOCA/CD/src/ac.cpp
danielsaad/PC1-IFB-CC
36b55e95373a5f022651545248d8cb66bac1cd3f
[ "MIT" ]
null
null
null
BOCA/CD/src/ac.cpp
danielsaad/PC1-IFB-CC
36b55e95373a5f022651545248d8cb66bac1cd3f
[ "MIT" ]
4
2019-05-15T10:55:57.000Z
2019-10-26T13:46:48.000Z
#include <bits/stdc++.h> using namespace std; using ii = pair<int, int>; ii solve(int N, int M, const vector<string>& A) { for (int i = 0; i < N; ++i) for (int j = 0; j < M; ++j) if (A[i][j] == 'W') return ii(i + 1, j + 1); return ii(0, 0); } int main() { ios::sync_w...
15.857143
51
0.445045
Raquel29
1e509b2624970c8e21ea4dd1b744bc24c91f4bce
1,974
cpp
C++
Renderer/VertexCache.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
11
2016-11-15T20:06:19.000Z
2021-03-31T01:04:01.000Z
Renderer/VertexCache.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
1
2016-11-06T23:53:05.000Z
2016-11-07T08:06:07.000Z
Renderer/VertexCache.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
2
2017-09-03T11:18:46.000Z
2019-03-10T06:27:49.000Z
/* * Copyright 2015-2016 Tomas Mikalauskas. All rights reserved. * GitHub repository - https://github.com/TywyllSoftware/TywRenderer * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <RendererPch\stdafx.h> //Renderer Includes #include "VertexCache.h" VertexCache ve...
23.5
106
0.68693
TywyllSoftware
1e51a2a5ba3f41f3bc13ef96d1338fd3983d8255
515
cpp
C++
Arrays/KthRowPascalTriangle.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
Arrays/KthRowPascalTriangle.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
Arrays/KthRowPascalTriangle.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define mod 1000003; using namespace std; long long int fact(long long int A) { return A <= 1 ? 1 : (A * (fact(A - 1))); } vector<int> getRow(int A) { int n = A, r = 0; vector<int> B; int fN = fact(n); for (int i = 0; i <= A; i++) { long long int val = fN / (fact(i) * fact(A...
14.305556
53
0.502913
aviral243
1e5260e1815b2c39538defcb9ea0fe52c102ebdb
362
cpp
C++
p14TimePlus15Minutes/TimePlus15Minutes.cpp
RadoslavEvgeniev/CPlusPlus-Simple-Conditional-Statements
afc3bb8f2b8562c9dc3f2a00d378d92088c7da13
[ "MIT" ]
null
null
null
p14TimePlus15Minutes/TimePlus15Minutes.cpp
RadoslavEvgeniev/CPlusPlus-Simple-Conditional-Statements
afc3bb8f2b8562c9dc3f2a00d378d92088c7da13
[ "MIT" ]
null
null
null
p14TimePlus15Minutes/TimePlus15Minutes.cpp
RadoslavEvgeniev/CPlusPlus-Simple-Conditional-Statements
afc3bb8f2b8562c9dc3f2a00d378d92088c7da13
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> using namespace std; int main() { int hours; int minutes; cin >> hours >> minutes; minutes = minutes + (hours * 60) + 15; hours = minutes / 60; minutes %= 60; hours %= 24; stringstream ss; ss << hours << ":"; if (minutes < 10) { ss << 0 << minutes; } else { ss <...
15.083333
39
0.571823
RadoslavEvgeniev
1e56396e2202753f532533525d93618640102b91
456
hh
C++
include/tr064/serialize/Serializer.hh
awidegreen/tr064
da738c3d3ecc1bf5990d746a49feb6efb7166e1a
[ "BSD-2-Clause" ]
15
2015-03-20T17:05:23.000Z
2021-04-22T14:14:47.000Z
include/tr064/serialize/Serializer.hh
awidegreen/tr064
da738c3d3ecc1bf5990d746a49feb6efb7166e1a
[ "BSD-2-Clause" ]
6
2015-06-01T12:08:28.000Z
2018-04-05T15:49:09.000Z
include/tr064/serialize/Serializer.hh
awidegreen/tr064
da738c3d3ecc1bf5990d746a49feb6efb7166e1a
[ "BSD-2-Clause" ]
4
2016-04-15T18:20:28.000Z
2019-10-21T21:01:18.000Z
#ifndef SERIALIZER_HH #define SERIALIZER_HH #include "Serializable.hh" // stl #include <ostream> #include <istream> namespace tr064 { namespace serialize { class Serializer { public: virtual ~Serializer() { } virtual void serialize(std::ostream& out, const Serializeable& root) const = 0; virtual void deseria...
13.818182
81
0.699561
awidegreen
1e5cc5e4086da84b0346526f7177a30b65b025e2
4,596
hpp
C++
include/signal/controllers/motorcontroller.hpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/signal/controllers/motorcontroller.hpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/signal/controllers/motorcontroller.hpp
Bormachine-Learning/embedded
165daf847fe9c2a7bcc17c7aee4c5e28b3cf4055
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** Copyright 2019 Bosch Engineering Center Cluj and BFMC organizers 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 l...
39.965217
284
0.520017
Bormachine-Learning