hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
80bd855e82392e09fc83f2c2ad73beb0cbcd3730
9,648
cpp
C++
src/test/fixtures.cpp
KuroGuo/firo
dbce40b3c7edb21fbebb014e6fe7ab700e649b6f
[ "MIT" ]
null
null
null
src/test/fixtures.cpp
KuroGuo/firo
dbce40b3c7edb21fbebb014e6fe7ab700e649b6f
[ "MIT" ]
null
null
null
src/test/fixtures.cpp
KuroGuo/firo
dbce40b3c7edb21fbebb014e6fe7ab700e649b6f
[ "MIT" ]
null
null
null
#include "util.h" #include "clientversion.h" #include "primitives/transaction.h" #include "random.h" #include "sync.h" #include "utilstrencodings.h" #include "utilmoneystr.h" #include "test/test_bitcoin.h" #include <stdint.h> #include <vector> #include <iostream> #include "chainparams.h" #include "consensus/consensu...
31.42671
122
0.671953
KuroGuo
80be77e6041f1ac2db954c1ec238a0dc33252bf1
3,186
cpp
C++
Gui/VtkVis/VtkCompositeThresholdFilter.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
1
2021-11-21T17:29:38.000Z
2021-11-21T17:29:38.000Z
Gui/VtkVis/VtkCompositeThresholdFilter.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
null
null
null
Gui/VtkVis/VtkCompositeThresholdFilter.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
null
null
null
/** * \file * \author Lars Bilke * \date 2010-10-25 * \brief Implementation of the VtkCompositeThresholdFilter class. * * \copyright * Copyright (c) 2013, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt ...
33.1875
95
0.752982
WenjieXu
80c24b7d826a1b034e18ffa62ce8661006267914
5,300
cpp
C++
PersistentDSU.cpp
RohitTheBoss007/CodeforcesSolutions
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
2
2020-06-15T09:20:26.000Z
2020-10-01T19:24:07.000Z
PersistentDSU.cpp
RohitTheBoss007/Coding-Algorithms
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
null
null
null
PersistentDSU.cpp
RohitTheBoss007/Coding-Algorithms
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
null
null
null
// Problem: Persistent UnionFind (https://judge.yosupo.jp/problem/persistent_unionfind) // Contest: Library Checker // Time: 2020-12-16 23:45:07 // 私に忍び寄るのをやめてください、ありがとう #include<bits/stdc++.h> using namespace std; #pragma comment(linker, "/stack:200000000") #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-...
25.603865
118
0.558113
RohitTheBoss007
80c5a2a27d50f3aa69dc4866d2f39309eece010a
3,440
hpp
C++
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2016-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_EVENTS_DEBUG_HPP #define TAO_JSON_EVENTS_DEBUG_HPP #include <cmath> #include <cstddef> #include <cstdint> #include <ostream> #include <string> #include "../binary_vi...
22.193548
82
0.371802
mallexxx
80c73e13996af716a05b3761f690bd9a902903d4
9,090
cpp
C++
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
/** * Translation Unit Base class implementation * * SPDX-License-Identifier: MIT * * Copyright (C) 2022, Reto Achermann (The University of British Columbia) */ #include "pv/PVBusMaster.h" #include "pv/PVAccessWidth.h" #include <framework/translation_unit_base.hpp> #include <framework/interface_base.hpp> #inclu...
30.199336
100
0.562376
achreto
80c7e24023da4a49c724c3ff8c1fd74df3d9528b
5,459
cpp
C++
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
3
2019-05-14T07:19:59.000Z
2019-05-14T08:08:25.000Z
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
null
null
null
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
1
2018-08-08T07:39:16.000Z
2018-08-08T07:39:16.000Z
/** \file UprightFrame.cpp \maintainer Morgan McGuire, http://graphics.cs.williams.edu */ #include "G3D/UprightFrame.h" #include "G3D/BinaryInput.h" #include "G3D/BinaryOutput.h" namespace G3D { UprightFrame::UprightFrame(const CoordinateFrame& cframe) { Vector3 look = cframe.lookVector(); yaw = (float...
25.390698
95
0.599744
DrYaling
80c7ebb1fcac1999f8ba5ef57dd73c1c11ecc57f
68,985
cpp
C++
src/drivers/mcr3.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/mcr3.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/mcr3.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** MCR/III memory map (preliminary) 0000-3fff ROM 0 4000-7fff ROM 1 8000-cfff ROM 2 c000-dfff ROM 3 e000-e7ff RAM e800-e9ff spriteram f000-f7ff tiles f800-f8ff palette ram IN0 bit 0 : left coin bit 1 : right coin bit 2 : 1 player bit 3 : 2 pl...
29.543897
186
0.681757
pierrelouys
80ca4c1fac04ac410563ed7d8aa939c84589ad08
7,349
cpp
C++
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
29.753036
87
0.68608
jinmannwong
80ccef118362e7a49e597bc41752dd6e1eba9513
1,022
cpp
C++
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x): val(x), left(NULL), right(NULL) {} }; class Solution { public: TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) { return f(preorder, 0, pr...
29.2
116
0.605675
Crayzero
80d0dc49bf7c748cde25fa9974b35878fe8d6bde
10,047
hpp
C++
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
/*============================================================================= Spirit v1.6.0 Copyright (c) 2001-2003 Joel de Guzman Copyright (c) 2002-2003 Hartmut Kaiser Copyright (c) 2003 Gustavo Guerra http://spirit.sourceforge.net/ Permission to copy, use, modify, sell and distribute this ...
32.099042
87
0.542052
OLR-xray
80d1daf65975d4ba1be7f6e8b285cceed09f71e9
1,605
cpp
C++
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2005, 2006 // Seweryn Habdank-Wojewodzki // Distributed under the Boost Software License, // Version 1.0. // (copy at http://www.boost.org/LICENSE_1_0.txt) #include "logger.h" #if !defined(CLEANLOG) #define FTLOG #if !defined(DEBUG) #undef FTLOG #undef TLOG #endif //#if defined (FTLOG) //#include ...
24.692308
70
0.721495
chenyoujie
80d25aae65572a296eec5063154ff3838cf4b360
7,058
cpp
C++
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/bit_helpers.h" #include "gtest/gtest.h" using namespace NEO; TEST(IsBitSetTests, givenDifferentValuesWhenTestingIsBitSetThenCorrectValueIsReturned) { size_t field1 = 0; size_t field2 = 0...
35.29
96
0.726693
troels
80d44a51c750cbd6805e532bfbf036a23be0346d
4,283
cpp
C++
src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.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/manual/gestures/graphicsview/gestures.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.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...
34.540323
114
0.646276
power-electro
80d88d4fa9985eeb6a8132df0ff0bd361615a33b
1,966
hpp
C++
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
#ifndef SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP #define SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP //Copyright 2016 Adam G. Smith // //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 :/...
26.931507
88
0.706002
SolaireLibrary
80d950eacccf88a798578ce38845f2308be757aa
757
hpp
C++
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
2
2020-01-07T17:19:02.000Z
2020-01-09T22:04:04.000Z
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // planner/operator/logical_copy_to_file.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_data/copy_info.hpp" #inc...
23.65625
80
0.569353
RelationalAI-oss
80db0115de030b7e18548330d48487d3542a06e7
3,336
cpp
C++
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
#include "WebSocketMocks.h" using std::exception; using std::function; using std::string; namespace Microsoft::React::Test { MockWebSocketResource::~MockWebSocketResource() {} #pragma region IWebSocketResource overrides void MockWebSocketResource::Connect(const Protocols &protocols, const Options &opti...
25.272727
114
0.711331
harinikmsft
80dbdafa854a5fc9ea6377dadef58a78acdda782
1,299
cpp
C++
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/source/sysman/engine/linux/os_engine_imp.h" namespace L0 { const std::string LinuxEngineImp::computeEngineGroupFile("engine/rcs0/name"); const std::string LinuxEngineImp::computeEngineGroupName("rcs0"); ze_...
29.522727
79
0.744419
8tab
80def142bb58b6c555024ff734b0fbd06536ef52
484
cpp
C++
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <BookmarkSerializer.hpp> #include "helpers.hpp" namespace bmrk { struct BookmarkSerializerTest: public testing::Test { BookmarkSerializer bs; }; TEST_F(BookmarkSerializerTest, CanSerialize) { auto bookmark = createMockBookmark( "http://pezzato.net", "one", Tags({"foo", "bar...
22
69
0.700413
alepez
80e2abd0223a3786643b9a2322a3e8e55291ed23
9,383
cpp
C++
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
#include <stddef.h> #include <cstring> #include <assert.h> #include "sd_spi.hpp" #include "FreeRTOS.h" #include "task.h" using namespace drv; using namespace hal; #define WAIT_RESPONSE_CNT 10 #define TRANSMITTER_BIT 6 #define END_BIT 0 #define DATA_TOKEN_CMD17_18_24 0xFE #define DATA_TOKEN_CMD25 0xFC #...
27.925595
81
0.685175
yhsb2k
80e4db6830eb49c5da5e145f6b0ede663193c0df
1,688
cpp
C++
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2018 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include <actl/graph/default_map.hpp> #include <actl/graph/traversal/breadth_first_search.hpp> #include <actl/graph/traver...
26.375
71
0.543839
AlCash07
80e670f7c00b65cb090fa7cd8b7eb8eed5df787c
33,813
cpp
C++
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
90
2019-07-19T13:44:35.000Z
2022-02-17T21:39:15.000Z
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
13
2019-12-02T07:32:18.000Z
2021-08-10T09:38:44.000Z
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
26
2019-05-27T14:43:43.000Z
2022-02-17T21:39:19.000Z
#include <indires_macro_actions/Indires_macro_actions.h> /* Status can take this values: uint8 PENDING = 0 # The goal has yet to be processed by the action server uint8 ACTIVE = 1 # The goal is currently being processed by the action server uint8 PREEMPTED = 2 # The goal received a cancel...
30.683303
107
0.658001
Tutorgaming
80e6d38c87acd8605315d45b0d400b2a3bd80526
49,223
cpp
C++
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
/* * Copyright Copyright 2012, System Insights, 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 requi...
31.232868
124
0.572639
MatthewPowley
80eb98790843ae825cc31caf05545e7d7fc50507
1,382
hpp
C++
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
4
2018-09-29T17:00:16.000Z
2022-01-23T14:53:04.000Z
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
5
2018-11-06T15:45:17.000Z
2018-12-11T13:39:31.000Z
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
null
null
null
#include <map> #include <regex> #define MAX_ARR_LENGTH 16 #define MAX_DATE_LENGTH 26 #define MAX_TITLE_LENGTH 64 #define MAX_AUTHOR_LENGTH 32 typedef struct _frontmatter { std::map<std::string, std::string> list; int categories_length; int tags_length; std::string type; std::string __open_divider;...
23.827586
82
0.631693
foo-dogsquared
80ed2ad5b3adb1be832fa47ad9ed66fd518e0574
4,219
hpp
C++
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
1
2018-09-18T07:09:36.000Z
2018-09-18T07:09:36.000Z
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
null
null
null
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
2
2020-06-18T04:45:30.000Z
2021-07-20T02:11:54.000Z
//$Id$ //------------------------------------------------------------------------------ // Interpolator //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2015 United States Government ...
35.158333
81
0.604172
rockstorm101
80ee8e5fcad8c9774fabe3dc0d0081079af6ae80
4,849
cc
C++
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
ChinaCYong/Paddle-Lite
8d161bd76c86445c42f00421983e389c11323797
[ "Apache-2.0" ]
1
2021-07-12T10:46:19.000Z
2021-07-12T10:46:19.000Z
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
44.081818
78
0.670241
ChinaCYong
80ef0d8a50449bb2b90ce59f752fc9c46bbcd66d
4,254
cpp
C++
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
/* * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibGUI/Event.h> #include <LibGfx/Painter.h> #include <LibGfx/StylePainter.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> #include <LibWeb/HTML/BrowsingContext.h> #include <LibWeb/Layout/...
30.170213
113
0.683827
r00ster91
80f1149c50a621b596022f27e1eb8c5ddc1b3b2f
4,540
hpp
C++
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-14T20:45:54.000Z
2017-03-14T20:45:54.000Z
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-08T17:14:03.000Z
2017-03-08T23:40:35.000Z
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
null
null
null
#pragma once template <typename T, size_t N, size_t M, typename = typefu::for_arithmetic<T>> constexpr tmat<T, N, M> operator+(T s, const tmat<T, N, M>& m); template <typename T, typename U, size_t N, size_t M, typename = typefu::for_arithmetic<T, U>> constexpr tmat<T, N, M> operator+(U s, const tmat<T, N, ...
41.651376
79
0.633921
Thhethssmuz
80f150649a995bbec45e690f159257810537b405
25,084
hpp
C++
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
/*! ****************************************************************************** * * \file * * \brief Header file providing RAJA sort declarations. * ****************************************************************************** */ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // ...
37.271917
155
0.54772
keichi
80f3d98b065279779da3a4fa531dcb89099b8e50
14,935
cc
C++
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
19
2018-07-26T03:17:32.000Z
2021-01-04T02:17:09.000Z
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
null
null
null
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
10
2018-10-17T03:18:16.000Z
2020-07-02T06:18:14.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
36.3382
83
0.640509
DinnerHowe
80f457acb73146c1efd6b335b61609bd3182ebbc
2,890
cpp
C++
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
1
2021-12-31T17:20:01.000Z
2021-12-31T17:20:01.000Z
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////////// // // // ██╗░░██╗░██╗░░░░░░░██╗░█████╗░████████╗████████╗░█████╗░ // ██║░██╔╝░██║░░██╗░░██║██╔══██╗╚══██╔══╝╚══██╔══╝██╔══██╗ // █████═╝░░╚██╗████╗██╔╝███████║░░░██║░░░░░░██║░░░███████║ // ██╔═██╗░░░████╔═████║░██╔...
22.403101
111
0.597924
edwig
80f9094b2e531ee4919911441a2d788de2d55135
2,871
hpp
C++
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Katelyn Kufahl // // 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) ///////////////////////////////////////////...
26.831776
80
0.695925
andreasbuhr
80fd9445db389266bd3811e34ba54dcf7ca678d3
532
cpp
C++
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
1
2021-09-14T12:10:50.000Z
2021-09-14T12:10:50.000Z
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int ncase; while(cin>>ncase){ if(ncase==0){ break; } int a1[ncase+5],a2[ncase+5]; for(int i=0;i<ncase;i++){ cin>>a1[i]>>a2[i]; } bool flag=true; if(ncase%2){ cout<<"NO\n"; }else{ sort(a1,a1+ncase); sort(a...
14
33
0.456767
jasonsie88
44005351e0d4c83cc5ca5c08aee2c529b22f4080
40,782
cc
C++
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
273
2015-01-22T14:14:42.000Z
2022-03-13T10:27:44.000Z
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
104
2015-01-16T16:37:06.000Z
2021-08-08T19:38:45.000Z
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
133
2015-02-21T14:06:39.000Z
2022-02-27T08:56:40.000Z
// Copyright (C) 2012-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <asiolink/io_ad...
42.569937
94
0.597568
oss-mirror
4400ac6a4b285923557ac5fb8ca4f0d259f3ca9e
774
cpp
C++
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <exception> using std::clog; using std::endl; /** * 用两个栈模拟队列操作 画好过程图 * @tparam T */ template <class T> class QStack{ public: QStack(){} ~QStack(){} T q_pop(); void q_push(T x); private: std::stack<T> s1; std::stack<T> s2; }; ...
16.468085
38
0.484496
xiaobinf
44010427dfc62f2f560cc39530688bc9d5ee9cf0
478
cc
C++
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// #include <abel/strings/internal/ostringstream.h> namespace abel { namespace strings_internal { OStringStream::Buf::int_type OStringStream::overflow(int c) { assert(s_); if (!Buf::traits_type::eq_int_type(c, Buf::traits_type::eof())) s_->push_back(static_cast<char>(c)); return 1; } std::streamsize OStr...
19.12
73
0.696653
Conun
4401838fbbaf23517ca138f45a07b2e3294e7e9f
887
cc
C++
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
1
2022-03-03T08:47:33.000Z
2022-03-03T08:47:33.000Z
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
#ifdef OS_AIX #include <memory.h> #endif #ifdef OS_OPENBSD #include <memory.h> #endif #ifdef OS_LINUX #include <string.h> #endif #include "ether_support.h" #include "support.h" c_ether_header::c_ether_header(byte *ether_header) { header = (s_ether_header *)ether_header; } c_ether_header::c_ether_header(s_ether...
14.783333
60
0.706877
PariKhaleghi
4402919f1922b8d1c7aa1b0aba90b53f65624833
1,803
cpp
C++
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
9
2017-04-03T08:52:58.000Z
2020-06-05T18:25:02.000Z
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
6
2018-02-07T18:26:27.000Z
2021-09-02T04:46:06.000Z
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
10
2018-11-12T18:18:47.000Z
2020-06-06T06:17:01.000Z
/* Определить функцию для вычисления по формуле Ньютона приблежённого значения арифметического квадратного корня. В формуле Ньютона итерации определяются по формуле r_[n+1] = (r_[n] + x / r_[n]) / 2 Версия для C++ */ #include <iostream> #include <cmath> #include <clocale> const double PRECISION = 0.00...
28.619048
127
0.688297
posgen
4405819af9694991e962881bc68366cfcf3778a2
116
cpp
C++
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
9
2017-03-18T09:15:36.000Z
2020-05-24T18:00:37.000Z
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
1
2018-06-19T19:36:19.000Z
2018-10-15T16:49:29.000Z
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
3
2017-03-18T01:44:49.000Z
2022-01-04T03:22:02.000Z
#include <cstdlib> #include "virtual_call_in_destructor_lib.hpp" int main() { Child c; return EXIT_SUCCESS; }
12.888889
45
0.732759
geoffviola
440766b9513511298f9600103484d10624b58b09
2,063
cpp
C++
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
11
2015-08-24T13:29:10.000Z
2020-07-18T08:10:55.000Z
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
3
2016-03-28T10:23:15.000Z
2018-11-02T02:13:00.000Z
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
4
2016-01-09T10:42:03.000Z
2019-05-02T03:04:37.000Z
#include <android/log.h> #include "baseutils.h" #include "_onload.h" #include "skbitmap_helper.h" #define LOCAL_DEBUG 0 static JNINativeMethod methods[] = { { "nativeInit", "(Landroid/graphics/Bitmap;[I)Z", (void*)Init }, { "nativeGetBytesPerPixel", "(Landroid/graphics/Bitmap;)I", (void*)GetBytesPerPixel }, ...
28.652778
108
0.672807
badpx
44076f00c9acc115ab70c1121a76857ad79248c9
438
hpp
C++
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
null
null
null
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
null
null
null
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
1
2019-02-18T09:49:32.000Z
2019-02-18T09:49:32.000Z
// Copyright (c) 2015 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once namespace i23dSFM{ namespace matching{ enum EMatcherType { BRU...
19.909091
70
0.730594
zyxrrr
44091448f0282afc5ca5f79268da2865dfb7cf86
2,683
cpp
C++
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- #include "ComponentC_exec.h" #include "ace/Log_Msg.h" namespace CIAO_connector_test_C_Impl { //============================================================ // Pulse generator //============================================================ ComponentC_exec_i::ComponentC_exec_i (void) : topic_...
23.330435
83
0.642564
qinwang13
440d7c861defadb803bd8ec0c6833afed1f8e277
1,165
cpp
C++
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#include <fc/crypto/openssl.hpp> #include <fc/filesystem.hpp> #include <boost/filesystem/path.hpp> #include <cstdlib> #include <string> #include <stdlib.h> namespace fc { struct openssl_scope { static ENGINE* eng; openssl_scope() { ENGINE_load_rdrand(); ENGINE* ...
17.923077
60
0.498712
SophiaTX
440e8c81f92ce8229a8463756046dc9995685f1b
5,679
cpp
C++
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'addressbookpage.h' ** ** Created: Thu Dec 25 23:31:32 2014 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) ** ** WARNING! All changes made in this file will be lost! *******************...
35.49375
168
0.619827
bitcrystal2
440eadb4249244c03db0b3fe9843fed07ecc809f
5,964
cpp
C++
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=530000; const int MOD=998244353; inline int read(){ int x=0,f=0; char ch=getchar(); while(ch<'0'||ch>'9') f|=(ch=='-'),ch=getchar(); while(ch>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^48),ch=getchar(); return f==0 ? x : -x; } inline...
26.986425
88
0.504359
jinzhengyu1212
440f30946cab250c0db8709e14985c206ca8c50e
3,501
cpp
C++
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The Silkworm Authors 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 ...
34.663366
118
0.690089
elmato
4413384da82d02d06b480f9a45319d7c23c375d5
11,826
cpp
C++
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
#include "SixCatsLogger.h" #include <iostream> // cout using namespace std; #define LOCAL_C6_DEBUG 1 // --- ------------------------------------------------------------------------ SixCatsLogger::SixCatsLogger() { selfSetup(); } // --- ----------------------------------------------------------------...
26.635135
89
0.457551
beardog-ukr
4417d0ef2e9a7297d1318a1d2c05a48759ea1c43
27,908
cpp
C++
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
35.326582
198
0.597212
liangoaix
441b00f8c3305aaf2d905c922a5aa42be9464bb5
6,510
cpp
C++
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
13
2019-03-14T09:54:02.000Z
2021-09-26T14:01:30.000Z
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
35
2019-08-29T19:12:05.000Z
2021-07-15T22:17:53.000Z
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
9
2018-10-18T02:43:03.000Z
2021-09-02T22:08:39.000Z
/*! * \file utils.cc * * \author Ethan Adams * \date * * This file contains utility functions for doing and testing * sybolic regression problems in the bingo package */ #include <vector> #include <numeric> #include "BingoCpp/utils.h" namespace bingo { const int kPartialWindowSize = 7; con...
34.812834
84
0.57235
imikejackson
441b4b5e949c2f83acb085cd7d0de23fc52b0032
4,831
hpp
C++
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
24
2015-07-29T22:49:17.000Z
2022-03-25T10:14:17.000Z
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
14
2019-05-10T16:25:50.000Z
2021-11-24T18:04:47.000Z
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
28
2015-04-20T15:50:51.000Z
2022-01-26T14:56:55.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 m...
27.293785
75
0.64438
ulisesten
441baafe9de38c21838a96f15a14d248a133ce2f
289
cc
C++
atcoder/arc118/a.cc
kamal1316/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
atcoder/arc118/a.cc
diegordzr/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
atcoder/arc118/a.cc
diegordzr/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://atcoder.jp/contests/arc118/tasks/arc118_a #include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<ll>; int main() { cin.tie(0), ios::sync_with_stdio(0); ll t, n; cin >> t >> n; ll m = (n * 100 - 1) / t + 1; cout << m + n - 1 << '\n'; }
19.266667
52
0.567474
kamal1316
441fe1eb48a9368cde796d97fb901abdda65153d
131
hxx
C++
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_DARWIN #ifndef __UNIX_STATISTICSSERVICE_PRIVATE_H #define __UNIX_STATISTICSSERVICE_PRIVATE_H #endif #endif
10.916667
42
0.854962
brunolauze
4427ad39d40e59376a5945a389a38c6d6adad970
1,654
hpp
C++
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
3
2019-10-30T16:22:54.000Z
2020-12-10T20:23:40.000Z
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
63
2019-10-06T12:05:11.000Z
2019-12-09T16:22:46.000Z
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <filesystem> #include <Vnavbar.hpp> #include "CharacterCreator.hpp" namespace cf { class CharacterSelector : public sfs::GameObject { public: CharacterSelector(const std::string &directory, const std::string &filename) noexcept : _navbar(nullptr) , _image(nullptr) ...
24.686567
86
0.709794
LeandreBl
442ab6973bd178895d04eb4c8bad071d6ce5c757
3,890
cpp
C++
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
#include <utility> #include "mvSelectable.h" #include "mvApp.h" #include "mvItemRegistry.h" namespace Marvel { void mvSelectable::InsertParser(std::map<std::string, mvPythonParser>* parsers) { parsers->insert({ "add_selectable", mvPythonParser({ {mvPythonDataType::String, "name"}, {mvPythonDataType::Keyword...
30.155039
135
0.70437
liu-kan
442b8734c611d250bdd535cbb037af12fd964656
12,534
cpp
C++
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "JSystem/JUT/JUTException.h" #include "P2DScreen.h" #include "System.h" #include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_8049A6C0 lbl_8049A6C0: .4byte 0x50324453 .4byte 0x63726565 .4byte 0x6E2E6370 .4byte 0x...
25.737166
95
0.655258
projectPiki
442d9a027b4d6a25aebd2c64f082ac438d192a60
3,960
cc
C++
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
/* ** Haaf's Game Engine 1.8 ** Copyright (C) 2003-2007, Relish Games ** hge.relishgames.com ** ** hge_tut05 - Using distortion mesh */ // Copy the files "particles.png", "menu.wav", // "font1.fnt", "font1.png" and "trail.psi" from // the folder "precompiled" to the folder with // executable file. Also copy hge.dll a...
22.372881
116
0.658586
dianpeng
442f94ea5083e8f9b8e8d2d90652d22d4b0240d5
8,270
cpp
C++
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
2
2019-02-22T18:41:05.000Z
2019-05-17T14:45:56.000Z
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
null
null
null
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2017 Madis Kaal <mast@nomad.ee> 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 ...
26.850649
82
0.586699
mastmees
443291baa2a8a1f8c4d2c2d3e4a7761b7f1eae63
2,922
hpp
C++
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Fwd.hpp" # include "IWidget.hpp" # include "WidgetStyle.hpp" name...
19.877551
136
0.689254
Reputeless
4433de13cab58b0713671dab27b56af01cbcca59
3,282
cpp
C++
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
1
2018-04-18T12:54:33.000Z
2018-04-18T12:54:33.000Z
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
#include "WaterParticles.h" #include "Utils.h" #include "Object.h" using namespace glm; inline void compileShader(ShaderProgram& program, const string& fileName) { Shader vShader, fShader; string path = "shaders/" + fileName; vShader.initFromFile(VERTEX_SHADER, path + ".vert"); if (!vShader.isCompiled()) { cout ...
26.467742
86
0.661792
Daryan7
443473d3a57398771341de47c25e2c5042956da2
6,187
cpp
C++
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
#include <pre/geometry/FilePLY> #include <pre/string> #include "rply.h" namespace pre { static void error_cb(p_ply, const char* message) { throw std::runtime_error(message); } static int vertex2_cb(p_ply_argument arg) { void* pointer = nullptr; long index = 0; ply_get_argument_user_data(arg, &pointe...
38.91195
78
0.604008
mgradysaunders
4439fbfbae24e450c574bb98996663db71c45fcd
1,568
cpp
C++
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
1
2022-02-27T17:41:18.000Z
2022-02-27T17:41:18.000Z
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
null
null
null
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
null
null
null
#include <fstream> #include <spdlog/spdlog.h> #include <yaml-cpp/exceptions.h> #include <yaml-cpp/yaml.h> #if defined(MAGFY_WINDOWS) #include <spdlog/sinks/basic_file_sink.h> #include <windows.h> #else #include <spdlog/sinks/stdout_color_sinks.h> #endif #include "Config.h" #include "core.h" // global logger object s...
24.888889
80
0.654337
waneon
443c8776f2e1c50afd1b5db3494cc0b27f391644
3,381
cpp
C++
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
src/pos_normalizer.cpp
andre-nguyen/an_ros_tools
ddfd99405821065cc811c8698c3bfb84880a8c78
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/approximate_time.h> #include <dji_sdk/GlobalPosition.h> #include <dji_sdk/LocalPosition.h> #include <nav_msgs/Odometry.h> #include <eigen3/Eigen/Dense> #include "transform.h" ...
40.25
79
0.699201
andre-nguyen
443d71fbc939af001e7c7c70bdc863a830b41e26
8,085
cpp
C++
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
2
2016-01-01T22:19:04.000Z
2018-12-12T19:06:24.000Z
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
null
null
null
src/common/network_manager.cpp
blackccpie/neurocl
cfbb1978ba92d5085796330846d997944f604c93
[ "MIT" ]
1
2020-10-19T08:17:54.000Z
2020-10-19T08:17:54.000Z
/* The MIT License Copyright (c) 2015-2017 Albert Murienne 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...
27.688356
137
0.660977
blackccpie
443df983b7b87d5189021884753eae575099751f
1,080
cpp
C++
src/timereference.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/timereference.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/timereference.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "timereference.h" #include <ctime> #include "core/tickpoke.h" #include "globalcontext.h" #define INTERVAL 50 static int currentyear = 0; static int currentmonth = 0; static int currentday = 0; TimeReference::TimeReference() { global->getTickPoke()->startPoke(this, "TimeReference", INTERVAL, 0); } void ...
20
87
0.730556
hrxcodes
443e0803e8359c4d4a766b9033599397bebf7154
155
cpp
C++
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/try_catch/try-catch_pointer_01/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
#include<cassert> int main() { try { int x = 5; int *py = &x; throw py; } catch(int*) { } catch(void*) { assert(0); } return 0; }
10.333333
29
0.470968
shmarovfedor
4441450f2bde5590471e665b70f77992f4e9d033
2,192
cpp
C++
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
15
2018-01-31T16:58:36.000Z
2021-08-19T21:37:08.000Z
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
null
null
null
Linux/Ubuntu/64bit/AVAPI/AvapiExamples/MIDPOINT_Example.cpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
4
2018-01-31T17:06:26.000Z
2020-05-03T20:59:27.000Z
#include <string> #include <iostream> #include <sstream> #include "Avapi/AvapiConnection.hpp" #include "Avapi/TECHNICAL_INDICATOR/MIDPOINT.hpp" using namespace std; using namespace Avapi; int main() { string lastHttpRequest = ""; AvapiConnection* avapi_connection; try { avapi_connection =...
31.768116
80
0.542883
AvapiDotNet
4444a57baf0d204dd179fa6c987b85c9d5c67f9a
1,038
cpp
C++
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
CodeForces/879/C - Short Program.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; #pragma comment(linker,"/stack:1024000000,1024000000") #define db(x) cout<<(x)<<endl #define pf(x) push_front(x) #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ms(x,y) memset(x,y,sizeof x) typedef long long LL; const double pi=acos(-1),eps=1e-9; const LL ...
22.085106
54
0.528902
QAQrz
4445f4fe81631651dbad0e6e04930d0403ac9f9a
4,061
cpp
C++
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
2
2015-03-23T01:08:49.000Z
2015-03-23T02:28:17.000Z
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
null
null
null
LibFFmpeg/demo/FFplayer2/player.cpp
sim9108/SDKS
2823124fa0a22f8a77d131e7a2fb7f4aba59129c
[ "MIT" ]
null
null
null
#include "player.h" #include <chrono> #include <iostream> #include <algorithm> extern "C" { #include <libavutil/time.h> } using std::string; using std::unique_ptr; using std::function; using std::thread; using std::chrono::milliseconds; using std::this_thread::sleep_for; using std::exception; using std::cerr; usi...
22.814607
75
0.642206
sim9108
4446ef31fa0e31a790a26a26e115c2a9c225ef3c
2,730
cpp
C++
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
1
2021-09-18T12:50:35.000Z
2021-09-18T12:50:35.000Z
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
World/PolygonBackground.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
/* * ImageBackground.cpp * * Created on: 08.09.2014 * Author: baudenri */ #include "PolygonBackground.h" #include <World/Scene.h> #include <OgreMaterialManager.h> #include <OgrePass.h> #include <OgreRenderQueue.h> #include <OgreAxisAlignedBox.h> #include <OgreSceneNode.h> #include <OgreTechnique.h> #includ...
28.14433
127
0.734432
jess22664
444787f8524a6cd27193bf0c6eff4521bd785e45
4,453
cpp
C++
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/units/test/BTUUnit_GTest.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, 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 published ...
30.710345
82
0.665619
ORNL-BTRIC
44483bc7c56dcad829971fef6fc2e2e9028614aa
209
cpp
C++
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
id1068_Sum/main.cpp
adogadaev/timus
eeadeb3ac60b7259988fe579422d386b95c4ca9d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { int nNum; int nSize; cin >> nNum; nSize = (nNum <= 0) ? (abs(nNum) + 2) : nNum; cout << nSize*(1+nNum)/2 << endl; return 0; }
12.294118
46
0.578947
adogadaev
4448d909d1fc488f10a97031e0c10101927d739d
940
cc
C++
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
quiche/spdy/core/spdy_pinnable_buffer_piece.cc
ktprime/quiche-1
abf85ce22e1409a870b1bf470cb5a68cbdb28e50
[ "BSD-3-Clause" ]
null
null
null
// 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 "quiche/spdy/core/spdy_pinnable_buffer_piece.h" #include <new> namespace spdy { SpdyPinnableBufferPiece::SpdyPinnableBufferPiece() : buffe...
25.405405
73
0.718085
ktprime
444d04dea76bdfbaccccc24835f7a78694f004b3
158
hpp
C++
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
82
2015-03-19T06:28:00.000Z
2021-08-20T17:40:11.000Z
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
6
2015-03-19T08:46:46.000Z
2019-06-04T14:24:52.000Z
include/mockitopp/mockitopp.hpp
tpounds/mockitopp
775b151fa746c81c8762faea2de3429d6f3f46af
[ "MIT" ]
12
2015-03-19T08:15:32.000Z
2021-02-04T11:53:16.000Z
#ifndef __MOCKITOPP_HPP__ #define __MOCKITOPP_HPP__ #include "exceptions.hpp" #include "matchers.hpp" #include "mock_object.hpp" #endif //__MOCKITOPP_HPP__
17.555556
26
0.803797
tpounds
444e6554949ac26cb677efaea689b392b5c1b935
446
cpp
C++
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
1
2021-06-06T21:25:31.000Z
2021-06-06T21:25:31.000Z
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
10
2021-06-04T07:56:41.000Z
2021-12-20T18:12:06.000Z
src/system/system_details_to_json_converter.cpp
connected-digital-energy-meter/connected-digital-energy-meter
e3ce164a10a261efc1d34486abeb0e047f11f31b
[ "MIT" ]
null
null
null
#include "system_details_to_json_converter.h" #include <ArduinoJson.h> namespace CDEM { String SystemDetailsToJsonConverter::to_json_string(String ip, String mac, String libVersion, String pcbVersion) { StaticJsonDocument<128> json; json["ip"] = ip; json["mac"] = mac; json["lib-version"] = libVersio...
23.473684
116
0.688341
connected-digital-energy-meter
44505eaf01b941f116f412cecad8c862c80ebec4
20,448
cpp
C++
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
routing/routing_tests/index_graph_test.cpp
romanblanco/omim
62321c2c51b6cbb677278a6a68d15c73ae3f086e
[ "Apache-2.0" ]
null
null
null
#include "testing/testing.hpp" #include "routing/base/astar_algorithm.hpp" #include "routing/edge_estimator.hpp" #include "routing/index_graph.hpp" #include "routing/index_graph_serialization.hpp" #include "routing/index_graph_starter.hpp" #include "routing/vehicle_mask.hpp" #include "routing/routing_tests/index_grap...
36.319716
100
0.574237
romanblanco
44537f53f1daf89001b5c70fa6f6854aeef40f10
1,479
hpp
C++
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
include/lexy/input/range_input.hpp
IohannRabeson/lexy
881beb56f030e8f4761514e70cb50d809ac4ad17
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2020-2021 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef LEXY_INPUT_RANGE_INPUT_HPP_INCLUDED #define LEXY_INPUT_RANGE_INPUT_HPP_INCLUDED #include <lexy/error.hpp> #inclu...
25.947368
94
0.698445
IohannRabeson
4453e435c0123f74a599736a86a840844104da98
10,278
hpp
C++
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
libuavcan/include/uavcan/util/templates.hpp
hsteinhaus/uavcan
e2e358bb069be4d52442e590fb14a6ceb1b9d65f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #pragma once #include <climits> #include <cstddef> #include <cmath> #include <uavcan/build_config.hpp> #ifndef UAVCAN_CPP_VERSION # error UAVCAN_CPP_VERSION #endif #if UAVCAN_CPP_VERSION < UAVCAN_CPP11 # include <float.h> // cfloat may not b...
24.413302
117
0.659759
hsteinhaus
445537ca757d1ff5e980bf6addabe0fe56aa9cfe
531
hpp
C++
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/ink/anim/TextReplaceInterpolator.hpp
WSSDude420/RED4ext.SDK
eaca8bdf7b92c48422b18431ed8cd0876f53bdb3
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/anim/TextInterpolator.hpp> namespace RED4ext { namespace ink::anim { struct TextReplaceInterpolator : ink::anim::TextInterpolator { static con...
25.285714
76
0.772128
WSSDude420
4457cfae8f4457d78b023463a8041c603db490b8
5,671
hpp
C++
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
9
2018-11-30T08:06:41.000Z
2020-09-10T09:03:07.000Z
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
3
2020-07-08T01:07:18.000Z
2020-07-08T02:11:11.000Z
modules/gapi/include/opencv2/gapi/gcomputation.hpp
satnamsingh8912/opencv
9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6
[ "BSD-3-Clause" ]
3
2018-11-30T08:17:58.000Z
2019-02-23T11:13:48.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #ifndef OPENCV_GAPI_GCOMPUTATION_HPP #define OPENCV_GAPI_GCOMPUTATION_HPP #inclu...
40.507143
116
0.623347
satnamsingh8912
445c1d637e995b4dc455720fc9c006232d0307db
312,429
cpp
C++
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/tailoring_rule_test_zh_big5han_012.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/collation_table.hpp> #include <boost/text/collate.hpp> #include <boost/text/data/all.hpp> #ifndef LIMIT_TESTING_FOR_CI #include <boost/text/save_load_table.hpp> #include <boost/filesystem.hpp> #endif #include <gtest/gtest.h> using namespace boost::text; ...
32.312442
77
0.564141
jan-moeller
44610cf127b3f8fa4ef5ac32e46ded27ec671314
3,371
hpp
C++
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/device_merge_sort_config.hpp
arsenm/rocPRIM
02d6006a7951c53ecfd245200d58809d3eee0b48
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
33.71
80
0.750816
arsenm
446236206dc9c12d0027e3f086606c1adfcaa482
934
cpp
C++
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
POJ/1321/12854802_AC_63ms_708kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2018-03-01 00:07:15 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace st...
15.566667
49
0.543897
BakaErii
44639c0bf345059cb6f2fe1868bb02c818ac2759
2,425
cpp
C++
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testPlanarSDF.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
/** * @file testPlanarSDFutils.cpp * @author Jing Dong * @date May 8 2016 **/ #include <CppUnitLite/TestHarness.h> #include <gtsam/base/numericalDerivative.h> #include <gtsam/base/Matrix.h> #include <gpmp2/obstacle/PlanarSDF.h> #include <iostream> using namespace std; using namespace gtsam; using namespace gpmp...
28.529412
85
0.635876
Cryptum169
44695e046a9f88c516e457a8f7684087f889ddb6
12,464
hpp
C++
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
/* behemoth: A syntax-guided synthesis library * Copyright (C) 2018 EPFL * * 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 right...
24.391389
137
0.638639
gian21391
446fe89cefa2483f6898bf6ff5c1d9a4eeecfa20
4,379
cpp
C++
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
1
2020-04-29T07:08:07.000Z
2020-04-29T07:08:07.000Z
/* * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
31.278571
96
0.738982
romi2002
4476251d4084b04d1d79b25f1d4cb70694b07750
14,334
ipp
C++
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2005-2008. // 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version ...
28.440476
132
0.66876
jonstewart
447794b296f1ca47c7dc73cb484dced1c00fa0e4
1,043
cpp
C++
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "addspatialentitycommand.h" #include <QtWidgets/qcombobox.h> #include "GameData/Components/TransformComponent.generated.h" #include "GameData/World.h" AddSpatialEntityCommand::AddSpatialEntityCommand(const SpatialEntity& entity, const Vector2D& location) : EditorCommand(EffectBitset(EffectType::Entities)) ...
32.59375
112
0.802493
gameraccoon
4477bee1e72e9cab5d423d1d989799ea66e26d96
5,195
cpp
C++
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
#include <szen/System/Window.hpp> #include <szen/Game/Camera.hpp> #include <sstream> #ifdef SFML_SYSTEM_WINDOWS #include <Windows.h> #endif using namespace sz; namespace { sf::RenderWindow* m_window = NULL; float m_aspectRatio; sf::Uint32 m_virtualWidth = 1920; sf::View m_view; std::string m_title; sf:...
23.506787
86
0.596535
Sonaza
4478f21af676c7a08c1b77f5ec68f64e89aed5b3
1,814
cpp
C++
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-11-27T22:56:25.000Z
2021-11-27T22:56:25.000Z
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
null
null
null
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-04-03T09:56:13.000Z
2021-04-03T09:56:13.000Z
/* CatenaBase_NetSave.cpp Mon Dec 03 2018 13:21:28 chwon */ /* Module: CatenaBase_NetSave.cpp Function: Interface from LoRaWAN to FRAM. Version: V0.12.0 Mon Dec 03 2018 13:21:28 chwon Edit level 1 Copyright notice: This file copyright (C) 2018 by MCCI Corporation 3520 Krums Corners Road Ithaca, NY 1485...
19.717391
66
0.723264
dhineshkumarmcci
447aa6c8ff6b0ec4345b7687a3fc26f3c5f4d156
42,601
cc
C++
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
249
2015-01-15T16:50:53.000Z
2022-03-24T13:23:34.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
2,917
2015-01-12T16:17:49.000Z
2022-03-31T11:57:47.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
306
2015-01-12T09:23:20.000Z
2022-01-28T18:06:30.000Z
/* * Copyright (c) 2017, Ford Motor Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of condit...
33.517703
80
0.682284
Sohei-Suzuki-Nexty
4484654fc9ccf6f86d73476a16d233513532cfec
2,099
cc
C++
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: string multiply(string num1, string num2) { vector<string> partial_result; string digit = ""; for_each(num2.rbegin(), num2.rend(), [&num1, &digit, &partial_result](const auto ch2) { const auto op2 = ch2 - '0'; auto carry = 0; stri...
31.80303
95
0.370176
ldy121
44880f86d0d5604e40a1f2a807b1b29becbc23f0
5,080
hpp
C++
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
// // multimap.hpp // bit_array-test // // Created by Nick Fagan on 3/12/18. // #pragma once #include <unordered_map> #include <stdexcept> #include <vector> #include <cstdint> namespace util { template<typename K, typename V> class multimap; } template<typename K, typename V> class util::multimap { publi...
18.608059
90
0.58878
nfagan
44893b29c83a6e917f4d6f2b35baf0c92b912a41
6,472
cpp
C++
external/rapidcheck/test/state/IntegrationTests.cpp
XzoRit/cpp_rapidcheck
292c9943569e52e29fbd11abd31a965efc699a8e
[ "BSL-1.0" ]
876
2015-01-29T00:48:46.000Z
2022-03-23T00:24:34.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
199
2015-05-18T07:04:40.000Z
2022-03-23T02:37:15.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
162
2015-03-12T20:19:31.000Z
2022-03-14T08:42:52.000Z
#include <catch2/catch.hpp> #include <rapidcheck/catch.h> #include <rapidcheck/state.h> #include "util/GenUtils.h" using namespace rc; using namespace rc::test; namespace { struct Bag { std::vector<int> items; bool open = false; }; using BagCommand = state::Command<Bag, Bag>; struct Open : public BagCommand {...
29.285068
79
0.599197
XzoRit
448974faa03164e424ded9451b92a2d0f1423ab7
10,608
hpp
C++
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2020-10-07T01:03:32.000Z
2020-10-07T01:03:32.000Z
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
null
null
null
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2021-09-22T03:02:41.000Z
2021-09-22T03:02:41.000Z
#pragma once #include "DataFileWriter.hpp" #include "GlobalAveragePointsGnuplotFileWriter.hpp" #include "GlobalEloRatingGnuplotFileWriter.hpp" #include "GlobalPlacePercentageGnuplotFileWriter.hpp" #include "IndividualAveragePointsGnuplotFileWriter.hpp" #include "IndividualEloRatingGnuplotFileWriter.hpp" #include "Indi...
51.495146
321
0.737651
acodcha
44899f636f113100199f92c07fd982e9ff82d266
2,160
cpp
C++
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
35
2021-12-13T09:58:08.000Z
2022-03-30T11:03:01.000Z
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
null
null
null
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
3
2022-02-25T06:46:34.000Z
2022-03-16T05:46:53.000Z
#include "energy/soft_volume_constraint.h" #include "matrix_utils.h" #include "surface_derivatives.h" namespace rsurfaces { SoftVolumeConstraint::SoftVolumeConstraint(MeshPtr mesh_, GeomPtr geom_, double weight_) { mesh = mesh_; geom = geom_; weight = weight_; initialVolume = to...
32.238806
92
0.647222
Conrekatsu
448bc7db01bcfd3c2d5c1a5c6fcb052917d460a5
5,934
cpp
C++
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/planner/Query.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 "planner/Query.h" #include <folly/String.h> #include "common/interface/gen-cpp2/graph_types.h" #include "util...
39.825503
99
0.663128
yixinglu
448f176819f901ec6ed652d795b5faf80dd21c2f
1,312
cpp
C++
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * CreatureTemplateReference.cpp * * Created on: 29/04/2012 * Author: victor */ #include "CreatureTemplateReference.h" #include "server/zone/managers/creature/CreatureTemplateManager.h" bool CreatureTemplateReference::toBinaryStream(ObjectOutputStream* stream) { #ifdef ODB_SERIALIZATION templateString.t...
19.58209
88
0.749238
V-Fib
4496bfac111c43a836b8eff2037fcb70f625be3a
2,743
cpp
C++
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_types.h> #include <thread/appl_thread_descriptor.h> #include <object/appl_object.h> #include <buf/appl_buf.h> #include <thread/appl_thread_descriptor_impl.h> #include <heap/appl_heap_handle.h> // // // enum appl_status app...
17.471338
51
0.61502
fboucher9
44970b07e76cabf703195cc926a81dceb9e636af
806
hpp
C++
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
struct Cartridge { #include "memory.hpp" auto pathID() const -> uint { return information.pathID; } auto hash() const -> string { return information.sha256; } auto manifest() const -> string { return information.manifest; } auto title() const -> string { return information.title; } struct Information { ...
22.388889
66
0.66005
13824125580
449a6d2d1ed94330435edd5a25ba9ac3845b028c
2,019
cc
C++
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2009-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an...
33.098361
83
0.505201
andreapiacentini
449b75bc73a0098cc1f0cccc849e41486eabfcba
853
cpp
C++
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
3
2020-11-11T13:04:52.000Z
2021-03-03T06:30:18.000Z
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
null
null
null
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
1
2019-04-11T03:05:59.000Z
2019-04-11T03:05:59.000Z
#include <stdio.h> #include <xtime_l.h> #include "test.h" void test_cls_hls_polling_pre() { // Disable interrupt interrupt_enable(false); } unsigned int test_cls_hls_polling() { XTime tick[4], perf[3] = {0, 0, 0}; unsigned int err = 0; int *label = &testDataLabel[0]; int16_t *x = &testDataI[0][0]; for (size_t ...
25.088235
80
0.635404
zhiyb