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
70e036053ffc63c30da421d96d564d43b8de29da
3,693
cpp
C++
Applications/DataExplorer/DataView/FemConditionModel.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
Applications/DataExplorer/DataView/FemConditionModel.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
Applications/DataExplorer/DataView/FemConditionModel.cpp
MManicaM/ogs
6d5ee002f7ac1d046b34655851b98907d5b8cc4f
[ "BSD-4-Clause" ]
null
null
null
/** * \file * \copyright * Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "FemConditionModel.h" #include ...
33.572727
77
0.679664
MManicaM
70e1bebdcbd96978cdd7c021889ad9f3b7c189e4
1,723
hpp
C++
types/NullCoercibilityCheckMacro.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
types/NullCoercibilityCheckMacro.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
types/NullCoercibilityCheckMacro.hpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.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...
36.659574
78
0.639582
Hacker0912
70e676213a71532c8ff231c8514ae5f76a826ac8
471
cpp
C++
tests/main.cpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
tests/main.cpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
tests/main.cpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
#define CATCH_CONFIG_RUNNER #include <catch2/catch.hpp> #include <Nazara/Audio/Audio.hpp> #include <Nazara/Core/Log.hpp> #include <Nazara/Core/AbstractLogger.hpp> #include <Nazara/Core/Modules.hpp> #include <Nazara/Network/Network.hpp> #include <Nazara/Physics2D/Physics2D.hpp> #include <Nazara/Utility/Utility.hpp> in...
26.166667
72
0.747346
NazaraEngine
70e6892f94a72a7c21bb275f99762fdedde036c3
589
cpp
C++
c-develop/pertemuan ke 6/ifBilTerbesar2.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/pertemuan ke 6/ifBilTerbesar2.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
c-develop/pertemuan ke 6/ifBilTerbesar2.cpp
GustiArsyad123/C-Language-Test
90a2eb45d1db2b039acbe5d3499aaff0aed99f82
[ "MIT" ]
null
null
null
#include <iostream> //import input output using namespace std; //mengguanakan file fungsi std int main() //fungsi { double x, y; //deklarasi variable menggunakan tipe data double cout << "Masukkan x: "; //cetak ke layar monitor x cin >> x; //inputan kemudian di simpan di variable x cout...
32.722222
70
0.570458
GustiArsyad123
70e7b889c539f5c96bd117e38e3670c378800b0f
1,771
cpp
C++
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
29
2020-04-05T21:27:46.000Z
2021-08-29T20:24:21.000Z
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
66
2020-03-31T00:29:00.000Z
2022-03-02T11:54:24.000Z
CK2ToEU4Tests/MapperTests/PrimaryTagMapper/PrimaryTagMapperTests.cpp
Osariusz/CK2ToEU4
a2786f00febb23c63f91b2ff27b788f926e18ea7
[ "MIT" ]
27
2020-03-30T15:56:24.000Z
2022-02-05T22:54:25.000Z
#include "../../CK2ToEU4/Source/Mappers/PrimaryTagMapper/PrimaryTagMapper.h" #include "gtest/gtest.h" #include <sstream> TEST(Mappers_PrimaryTagMapperTests, CultureTagsDefaultToEmpty) { std::stringstream input; const mappers::PrimaryTagMapper tagMapper(input); ASSERT_TRUE(tagMapper.getCultureTags().empty()); } T...
37.680851
95
0.730661
Osariusz
70ea05cbd69458cf0478333141d31420a240b899
10,123
cc
C++
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
src/core/breakpoint/BreakpointManager.cc
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, 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 a...
33.190164
99
0.648721
IntroVirt
70eb371268b94be63aa8e022a1837b2d6bfb77bf
17,204
hpp
C++
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/tuple.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Boost.TypeErasure library // // Copyright 2011-2012 Steven Watanabe // // 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) // // $Id$ #if !defined(BOOST_PP_IS_ITERATING) #ifndef BOOST_TYPE_ERASURE_TUPLE_HPP_INCLU...
35.767152
80
0.659614
henrywarhurst
70f0557ff129f7473a43940ce69dcfc4b5fd7d63
25,506
hpp
C++
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
src/netcdf/lpm_netcdf_impl.hpp
pbosler/lpmKokkos
c8b4a8478c08957ce70a6fbd7da00481c53414b9
[ "BSD-3-Clause" ]
null
null
null
#include "netcdf/lpm_netcdf.hpp" #ifdef LPM_USE_NETCDF #include "util/lpm_string_util.hpp" #include <sstream> namespace Lpm { template <typename Geo> void NcWriter<Geo>::open() { int retval = nc_create(fname.c_str(), NC_NETCDF4 | NC_CLOBBER, &ncid); CHECK_NCERR(retval); text_att_type att = std::make_pair("LPM"...
34.008
113
0.686231
pbosler
70f3b3aa51b0555247cc9f78af7e11a51239c6a5
4,784
cpp
C++
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.blueberry.ui.qt/src/internal/intro/berryIntroRegistry.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2019-01-09T08:20:18.000Z
2019-01-09T08:20:18.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
27.653179
90
0.639214
ZP-Hust
70f631eeeaa44d21e18c79b374369fadbb3ccd72
398
hpp
C++
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
1
2020-12-29T01:35:03.000Z
2020-12-29T01:35:03.000Z
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
null
null
null
Horista.hpp
vinicassol/PolimorfismoEmpregados
b73a35536c1b6f6acd3cf64d02f71a923174e096
[ "MIT" ]
null
null
null
// // Horista.hpp // PolimorfismoEmpregados // // Created by Vini Cassol on 29/05/20. // Copyright © 2020 Vini Cassol. All rights reserved. // #ifndef Horista_hpp #define Horista_hpp #include "Empregado.hpp" class Horista : public Empregado { public: Horista(); double vencimento(); private: ...
14.214286
54
0.673367
vinicassol
70f7688501a0a51d243ec19077826b0657a1e230
32,725
cpp
C++
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
MNE/inverse/hpiFit/hpifit.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file hpifit.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date March, 2017 * * @section LICENSE * * Copyrig...
35.765027
173
0.507288
13grife37
70fc1ccb1df0ebc43bda8ead109ac1b70e7eefe3
5,669
cpp
C++
src/common/commandLine.cpp
salarii/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
1
2015-01-22T11:22:19.000Z
2015-01-22T11:22:19.000Z
src/common/commandLine.cpp
salivan-ratcoin-dev-team/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
null
null
null
src/common/commandLine.cpp
salivan-ratcoin-dev-team/dims
b8008c49edd10a9ca50923b89e3b469c342d9cee
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 DiMS dev-team // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" ...
23.138776
102
0.66943
salarii
cb0080971d43ed9bdd2cc1c9275497a91e86063d
2,922
hpp
C++
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
1
2019-07-25T01:42:22.000Z
2019-07-25T01:42:22.000Z
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
null
null
null
include/mitama/mana/functional/chunkify.hpp
LoliGothick/mitama-mana
32ba02356b6e2bbfdbadd4dd6f8054b2aa1af898
[ "MIT" ]
null
null
null
#ifndef MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP #define MITAMA_MANA_FUNCTIONAL_CHUNKIFY_HPP #include <mitama/mana/algorithm/chunk.hpp> #include <mitama/mana/algorithm/klisli.hpp> #include <mitama/mana/utility/apply.hpp> #include <mitama/mana/utility/peel.hpp> #include <mitama/mana/type_traits/is_tuple_like.hpp> #include <...
38.96
150
0.644079
LoliGothick
cb022d18789e6e9500f206350d0b5990cd80f4d3
385
cpp
C++
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
OOPs/TimeUse.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
1
2021-10-05T10:09:32.000Z
2021-10-05T10:09:32.000Z
#include <bits/stdc++.h> #include "Time.cpp" using namespace std; int main() { Time t1; t1.setHour(3); t1.setMinutes(34); t1.setSeconds(54); Time t2; t2.setHour(2); t2.setMinutes(24); t2.setSeconds(35); Time t3; t3 = t1.add(t2); t1.print(); t2.print(); t3.pri...
14.259259
26
0.532468
Mitushi-23
cb09316a90c30dd0cdfd9be6ec24c1760760f3ad
2,592
cpp
C++
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
255
2015-01-06T15:11:26.000Z
2022-03-30T20:52:58.000Z
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
2
2018-12-18T22:50:25.000Z
2019-01-09T16:57:11.000Z
src/buffer.cpp
plenluno/libnode
9dea4f2390422e70544186df3f5c032cb4a7db08
[ "BSD-2-Clause", "MIT" ]
36
2015-03-28T03:23:57.000Z
2022-01-16T12:51:30.000Z
// Copyright (c) 2012-2014 Plenluno All rights reserved. #include <libnode/buffer.h> #include <libnode/detail/buffer.h> namespace libj { namespace node { Buffer::Ptr Buffer::create(Size length) { return Ptr(new detail::Buffer<Buffer>(length)); } Buffer::Ptr Buffer::create(const void* data, Size length) { if...
30.857143
74
0.615355
plenluno
cb0ac0e955faa7177b861c492357bb98f501d442
3,698
cc
C++
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
2
2016-01-22T03:10:02.000Z
2021-04-21T06:32:11.000Z
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
tests/unittests/test_util.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Embedded Framework 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 "tests/unittests/test_util.h" #include "testing/gtest/include/gtest/gtest.h" void TestBinaryEqual(CefRefPtr<CefBinaryVa...
29.11811
80
0.637372
phuy
cb0b7dde789b57b4cb63bad8b630a434c245d1d3
1,678
hh
C++
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-06-02T11:50:06.000Z
2018-06-02T11:50:06.000Z
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-01-17T04:16:29.000Z
2018-01-30T09:01:44.000Z
policy-decision-point/ast_preprocessor_visitor.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-11-18T20:31:54.000Z
2018-11-18T20:31:54.000Z
// Copyright 2015-2018 RWTH Aachen University // // 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...
37.288889
115
0.721692
SSICLOPS
cb0c4ae2df7edf3b76f081f073c4eef3bf23221e
1,349
hpp
C++
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
6
2017-11-13T02:08:50.000Z
2021-02-21T07:34:31.000Z
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
null
null
null
core/cs_basic_type.hpp
WukongGPU/WukongGPU
7810ecc1328b21230d448c6e64cc6fbd21f3b089
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
22.114754
68
0.717569
WukongGPU
cb0d492f8289909d70483f319fd2aca06f0184cb
233
hpp
C++
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
null
null
null
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
null
null
null
shared/Networking/MpNetworkingEvents.hpp
EnderdracheLP/MultiplayerCore.Quest
fd680fe8eb4dffdd3459059b9058002c3ed24749
[ "MIT" ]
1
2022-03-22T11:36:32.000Z
2022-03-22T11:36:32.000Z
#pragma once #include "../Utils/event.hpp" #include "MpPacketSerializer.hpp" namespace MultiplayerCore::Networking { struct MpNetworkingEvents { static event<Networking::MpPacketSerializer*> RegisterPackets; }; }
19.416667
70
0.729614
EnderdracheLP
cb0d6b53ddd6bc26007aaa873858d9771d92043e
2,069
cpp
C++
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Common/isLocalAddress.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
36.946429
134
0.676655
solotzg
cb0fa89cbbde76c03257ca2722f09e63f855779a
2,309
cpp
C++
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
3
2018-08-30T18:14:40.000Z
2019-02-22T17:12:44.000Z
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
4
2018-05-31T10:01:25.000Z
2018-07-26T15:14:26.000Z
test/cnd_test/cnd_test.cpp
BoostGSoC18/Advanced-Intrusive
30c465125c460e4bc2a9583ce00f0f706ed23e5a
[ "BSL-1.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #include <iostream> // for std::cout #include <utility> // for std::pair #include <algorithm> // for std::for_each #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/adjac...
28.158537
86
0.614985
BoostGSoC18
cb12fa9353b628206ec24432662579cd5bec6fd5
7,232
cpp
C++
src/core/cpp/scene/SceneUtility.cpp
NeroGames/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
26
2020-09-02T18:14:36.000Z
2022-02-08T18:28:36.000Z
src/core/cpp/scene/SceneUtility.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
14
2020-08-30T01:37:04.000Z
2021-07-19T20:47:29.000Z
src/core/cpp/scene/SceneUtility.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
6
2020-09-02T18:14:57.000Z
2021-12-31T00:32:09.000Z
//////////////////////////////////////////////////////////// // Nero Game Engine // Copyright (c) 2016-2020 Sanou A. K. Landry //////////////////////////////////////////////////////////// ///////////////////////////HEADERS////////////////////////// //NERO #include <Nero/core/cpp/scene/SceneUtility.h> //////////////////...
35.106796
98
0.53927
NeroGames
cb174c43dbb3556a123d9d3311e26c54683f224d
538
cpp
C++
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/B1008.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
#include <iostream> #define maxn 101 int main() { int n, m; int a[maxn]; std::cin >> n >> m; for (int i = 0; i < n; ++i) { std::cin >> a[i]; } m = m % n; if (m == 0) { std::cout << a[0]; for (int i = 1; i < n; ++i) { std::cout << " " << a[i]; }...
19.925926
47
0.343866
five-5
0e157a9783dc97f2a93951437eef491917042999
540
cpp
C++
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Array/Sorting/Insertion Sort/Solution_By_Shourya.cpp
surajshah123/Fork_CPP
c85ec3464382db298f2dbac443f3379dd1c1f4a6
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include <iostream> using namespace std; void insert_sort(int a[], int n){ int temp, k; for (int i = 1; i < n; i++){ k = i; temp = a[k]; for (int j = i - 1; j >= 0; j--){ if (a[j] > temp){ a[k] = a[j]; k--; } } a[k] ...
18.62069
41
0.331481
surajshah123
0e15d56105e78a9c42e1d2214c2c580d4caa32ed
53
hpp
C++
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_spirit_home_karma_action_action.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/spirit/home/karma/action/action.hpp>
26.5
52
0.792453
miathedev
0e167340937c0ec900368346616cf65d0432ba4d
315
cpp
C++
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
src/body.cpp
awinabi/capybara-webkit-0.13.0
84e70bad13e9c137bdf77a2af61bbb7ab7f30a77
[ "MIT" ]
null
null
null
#include "Body.h" #include "WebPage.h" #include "WebPageManager.h" Body::Body(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) { } void Body::start() { QString result = page()->currentFrame()->toHtml(); emit finished(new Response(true, result)); }
26.25
122
0.720635
awinabi
0e1cd4dfd145316d3d09108749e51e5356a31259
2,220
hh
C++
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
src/include/syntax/source.hh
awfeequdng/px_cppgo
5a102fce4c919ce93af247deb68241480374bf01
[ "MIT" ]
null
null
null
#pragma once #include "common/types.hh" #include "common/utf8/rune.hh" #include "common/hex_formatter.hh" #include <vector> #include <string> #include <iostream> #include <tuple> #include <fstream> template <typename T> std::vector<T> slice(std::vector<T>& v, std::size_t low, std::size_t high = -1) { std::vector<...
25.813953
81
0.569369
awfeequdng
0e1cfe242aa6f0b92124df6d11ada3782f41ea01
5,531
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
//<Snippet1> #using <System.dll> #using <System.Windows.Forms.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Windows::Forms; public ref class ListViewInsertionMarkExample: public Form { private: ListView^ myListView; public: //<Snippet2> L...
34.354037
175
0.661906
BohdanMosiyuk
0e2c76aecec8ee5d094920e5075b9b368b208575
7,992
cpp
C++
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
1
2022-03-09T23:29:29.000Z
2022-03-09T23:29:29.000Z
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
eprp/eprp.cpp
milad621/livehd
370b4274809ef95f880da07a603245bffcadf05e
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include <ctype.h> #include <algorithm> #include "eprp.hpp" void Eprp::eat_comments() { while (scan_is_token(Token_id_comment) && !scan_is_end()) scan_next(); } // rule_path = (\. | alnum | / | "asdad.." | \,)+ bool Eprp::rule_p...
24.145015
118
0.646021
milad621
0e2ef69313c2609d4b2d4d9e3e853a5dc38131e8
449
cpp
C++
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
void_data.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int a[6] = {[4] = 29, [2] = 15}; struct node { int data; node *next; node(int d) : data(d), next(NULL) {} }; int add_node(void *data) { node *n = (node *)data; cout << n->data << endl; return 0; } int main(int argc, char const *argv[]) { node *n1 = new nod...
11.512821
38
0.514477
shirishbahirat
0e317907bb73e475fe9114aaa47362016e00f1af
6,413
cpp
C++
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
3
2021-07-26T04:03:47.000Z
2021-08-31T15:17:29.000Z
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
null
null
null
SuperMarioBros3/IntroScene.cpp
ThienUIT/Super-Mario-Bros-3
dc14eaa6a20b17a9ec13908e7e42947662c26005
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "IntroScene.h" #include "Textures.h" #include "Utils.h" #include "Brick.h" #include "IntroGround.h" #include "Leaf.h" #include "MushRoom.h" #include "Goomba.h" #include "Koopas.h" using namespace std; CIntroScene::CIntroScene(int id, LPCWSTR filePath) : CScene(id, fil...
27.059072
111
0.684703
ThienUIT
0e3243e42b424f841913651fb56b4e6d859e1e8c
10,153
cpp
C++
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
test/variant_add.t.cpp
sheehamj13/task
67ed9cadfcbccf1f1071fc1b04cde61a2aba2f69
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2013 - 2015, Göteborg Bit Factory. // // 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 witho...
41.781893
92
0.547424
sheehamj13
0e33ea5cfe8ffe7b19dfe9e067fc572c542facfe
9,190
cpp
C++
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
1
2021-11-26T13:23:39.000Z
2021-11-26T13:23:39.000Z
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
null
null
null
Source/Model/Writer/NMR_ModelWriter_3MF_Native.cpp
qmuntal/lib3mf
ad82d2f17bd37b942635c9cc7a33e4ea060b7adf
[ "BSD-2-Clause" ]
null
null
null
/*++ Copyright (C) 2018 3MF Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
40.844444
139
0.783134
qmuntal
0e389f04c7c038d92b3fa332cfb5950e71b90f27
321
cpp
C++
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
3
2020-12-17T19:35:27.000Z
2021-09-29T09:34:51.000Z
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
null
null
null
src/actions/action.cpp
Spark-NF/organizer
d8bcd459f8bebcb76d07ce3a125246944d1a1824
[ "Apache-2.0" ]
1
2019-06-18T17:34:16.000Z
2019-06-18T17:34:16.000Z
#include "action.h" Action::Action(QString name, QKeySequence shortcut, bool terminal) : m_name(name), m_shortcut(shortcut), m_terminal(terminal) {} QString Action::name() const { return m_name; } QKeySequence Action::shortcut() const { return m_shortcut; } bool Action::terminal() const { return m_terminal; }...
13.956522
66
0.732087
Spark-NF
0e3ac1f2b7da5a645ffa48ed25eb3dc94b4788ec
1,325
cpp
C++
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
Source/controls/menu_controls.cpp
julealgon/devilutionX
0c8e4edba1521a78d993a7eceba8bc1df7e28fd5
[ "Unlicense" ]
null
null
null
#include "controls/menu_controls.h" #include "DiabloUI/diabloui.h" #include "controls/remap_keyboard.h" #include "utils/sdl_compat.h" namespace devilution { MenuAction GetMenuAction(const SDL_Event &event) { if (event.type == SDL_KEYDOWN) { auto sym = event.key.keysym.sym; remap_keyboard_key(&sym); ...
22.457627
75
0.687547
julealgon
0e3e0ea60c16aa6aa2ce5a7a33fdc3f93013a929
956
cpp
C++
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2019-10-02T11:10:08.000Z
2019-10-02T11:10:08.000Z
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
null
null
null
examples/undocumented/libshogun/library_hash.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2020-06-02T09:15:40.000Z
2020-06-02T09:15:40.000Z
#include <shogun/lib/Hash.h> #include <stdio.h> using namespace shogun; int main(int argc, char** argv) { uint8_t array[4]={0,1,2,3}; printf("hash(0)=%0x\n", CHash::MurmurHash3(&array[0], 1, 0xDEADBEAF)); printf("hash(1)=%0x\n", CHash::MurmurHash3(&array[1], 1, 0xDEADBEAF)); printf("hash(2)=%0x\n", CHash::Murmu...
30.83871
71
0.65272
Arpit2601
0e3fe2ad88d6866a4396df74bbfbf4539acaabc3
4,279
cpp
C++
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
1
2021-08-16T15:39:56.000Z
2021-08-16T15:39:56.000Z
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
28
2020-10-26T07:29:15.000Z
2022-03-31T01:06:49.000Z
src/widgets/settingspages/IgnoresPage.cpp
NilsIrl/chatterino2
b7e86a8de66e53876d7a71376c43529597ee6c12
[ "MIT" ]
null
null
null
#include "IgnoresPage.hpp" #include "Application.hpp" #include "controllers/accounts/AccountController.hpp" #include "controllers/ignores/IgnoreController.hpp" #include "controllers/ignores/IgnoreModel.hpp" #include "providers/twitch/TwitchAccount.hpp" #include "singletons/Settings.hpp" #include "util/LayoutCreator.hp...
31.932836
149
0.643842
NilsIrl
0e4124b1bc075ab6fb060d145653ac4bbaa95360
2,218
cc
C++
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/film.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 Zhehang Ding 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, ...
33.606061
78
0.693417
zhehangd
0e41a058de70310d29a28a408d1cb8afa336e1aa
336
cpp
C++
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
1
2021-09-23T16:06:39.000Z
2021-09-23T16:06:39.000Z
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
null
null
null
practical 7/task5.cpp
sahilnegi30/C-PLUS-
bd8d9ce79e5ae36b9f8d5e4c88949455dc4a6339
[ "MIT" ]
1
2021-09-24T15:10:07.000Z
2021-09-24T15:10:07.000Z
#include<iostream> using namespace std; int main() { int b[3][3]; int a [3] [3]={1,2,3,4,5,6,7,8,9}; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { b[i][j]=a[2-i] [2-j]; } } for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { cout<<b[i][j]<<" "; } cout<<endl; ...
14.608696
36
0.39881
sahilnegi30
0e424e511af987030f273557f62e14989f01ba2a
851
cpp
C++
src/keyboard.cpp
astrellon/simple-snake
3dbe1f2af1afe31d3cef8bcc995d9150beafa1b2
[ "MIT" ]
1
2020-06-26T07:51:45.000Z
2020-06-26T07:51:45.000Z
src/keyboard.cpp
astrellon/starter-sfml
3679e76c01275d07fa9af5ead92a5d41c6fccfea
[ "MIT" ]
null
null
null
src/keyboard.cpp
astrellon/starter-sfml
3679e76c01275d07fa9af5ead92a5d41c6fccfea
[ "MIT" ]
null
null
null
#include "keyboard.hpp" #include <algorithm> namespace town { Keyboard::KeyList Keyboard::_KeysUp; Keyboard::KeyList Keyboard::_KeysDown; bool Keyboard::isKeyPressed(sf::Keyboard::Key key) { return sf::Keyboard::isKeyPressed(key); } bool Keyboard::isKeyUp(sf::Keyboard::Key key) {...
21.275
85
0.60517
astrellon
0e46f42529f2eed7cb5196249fed406637d1f5d6
5,032
hpp
C++
src/controls/TreeViewModelAdaptor.hpp
oclero/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
5
2021-07-19T19:57:41.000Z
2021-09-25T01:41:13.000Z
src/controls/TreeViewModelAdaptor.hpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
2
2021-09-25T08:35:49.000Z
2021-09-25T11:14:49.000Z
src/controls/TreeViewModelAdaptor.hpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
3
2021-08-20T10:19:12.000Z
2021-09-25T10:46:40.000Z
#pragma once #include <QSet> #include <QPointer> #include <QAbstractItemModel> #include <QItemSelectionModel> #include <QPersistentModelIndex> class TreeViewModelAdaptor : public QAbstractItemModel { Q_OBJECT Q_PROPERTY(QAbstractItemModel* model READ model WRITE setModel NOTIFY modelChanged) Q_PROPERTY(QModelIndex...
32.464516
113
0.783386
oclero
0e4a59069b9151279c3ec782557d638585c2baa2
381
hpp
C++
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
1
2017-10-06T02:01:59.000Z
2017-10-06T02:01:59.000Z
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
1
2016-01-24T04:05:04.000Z
2016-01-25T14:43:35.000Z
EyeOfSauronDHTMonitor/tests/test_esdhttp.hpp
zhaishuai/EyeOfSauronDHTMonitor
5f4fdb6056f54c13b7f47821bb714c1a041f5f16
[ "MIT" ]
null
null
null
// // test_esdhttp.hpp // EyeOfSauronDHTMonitor // // Created by shuaizhai on 4/25/16. // Copyright © 2016 com.dhtMonitor.www. All rights reserved. // #ifndef test_esdhttp_hpp #define test_esdhttp_hpp #include <stdio.h> #include "ESDHttpUtility.hpp" #include "ESDHttpProtocol.hpp" namespace test_esdhttp { ...
16.565217
61
0.711286
zhaishuai
0e4c8eb8d1f3f06e805a435f4d9027e443b1ca1d
31,177
cpp
C++
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
exportGOAT/release/windows/obj/src/polymod/backends/PolymodAssetLibrary.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_StringMap #include <haxe/ds/StringMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes ...
44.411681
253
0.687077
SamuraiOfSecrets
0e5292bed843dd33e904a5cb5caddc5068c38910
24,442
cpp
C++
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
src/common/DecFloat.cpp
sas9mba/FB-ISQL-autopadding
033393aa80de4274ed9469767464e9b189b26838
[ "Condor-1.1" ]
null
null
null
/* * PROGRAM: Decimal 64 & 128 type. * MODULE: DecFloat.cpp * DESCRIPTION: Floating point with decimal exponent. * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. You may ...
20.678511
99
0.699247
sas9mba
0e5508065b0d797d1fe9131d259423bc02830e86
1,161
cpp
C++
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
5
2021-04-30T14:30:20.000Z
2022-03-27T09:58:24.000Z
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
4
2021-06-15T10:52:10.000Z
2021-12-15T10:25:21.000Z
src/sconelib/scone/measures/JointLoadMeasure.cpp
alexxlzhou/scone-core
4a071626e5ee7ba253e72a973d4d214fa6e30cf5
[ "Apache-2.0" ]
2
2021-05-02T13:38:19.000Z
2021-07-22T19:37:07.000Z
/* ** JointLoadMeasure.cpp ** ** Copyright (C) 2013-2019 Thomas Geijtenbeek and contributors. All rights reserved. ** ** This file is part of SCONE. For more information, see http://scone.software. */ #include "JointLoadMeasure.h" #include "scone/model/Model.h" namespace scone { JointLoadMeasure::JointLoadMeasure( ...
24.1875
116
0.701981
alexxlzhou
0e576d935bdfc6164bafd14477acb0af56ca1832
20,328
hh
C++
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
4
2016-01-26T06:03:13.000Z
2020-02-08T04:09:17.000Z
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
89
2016-01-24T22:09:34.000Z
2020-03-25T08:33:43.000Z
dune/xt/la/solver/fasp.hh
dune-community/dune-xt-la
2c3119fcc3798b14aa3c9228aed0e1ae8ee4ebcc
[ "BSD-2-Clause" ]
2
2018-04-09T11:52:25.000Z
2020-02-08T04:10:27.000Z
// This file is part of the dune-xt-la project: // https://github.com/dune-community/dune-xt-la // Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.or...
53.635884
120
0.711531
dune-community
0e58ac0f89a74345cbb8d4ba7f6b0084e0a13a64
2,277
cpp
C++
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
3
2019-02-25T10:13:57.000Z
2020-11-11T14:46:14.000Z
my_vulkan/texture_sampler.cpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
#include "texture_sampler.hpp" #include "utils.hpp" namespace my_vulkan { texture_sampler_t::texture_sampler_t(VkDevice device, filter_mode_t filter_mode) : _device{device} { VkFilter filter; switch(filter_mode) { case filter_mode_t::linear: filter = VK_F...
29.571429
87
0.625823
pixelwise
0e5b6811ac90710d35f50afa1cb894e3193535a4
5,624
cc
C++
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
11
2015-11-10T09:56:37.000Z
2021-02-09T02:10:45.000Z
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
40
2015-01-08T12:16:37.000Z
2016-06-08T19:41:03.000Z
service/testing/epoll_test.cc
datacratic/soa
74eeda506feb522de9181aac4a5543c7766e600e
[ "Apache-2.0" ]
10
2015-01-05T21:46:46.000Z
2021-09-26T10:07:07.000Z
/* epoll_test.cc Wolfgang Sourdeau, 17 November 2014 Copyright (c) 2014 Datacratic. All rights reserved. Assumption tests for epoll */ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <fcntl.h> #include <unistd.h> #include <sys/epoll.h> #include <atomic> #include <iostream> #include <thread> ...
26.403756
76
0.590683
datacratic
0e5ef653e2f5d7b0a25571e20bd63aca77ba7b3b
3,617
cpp
C++
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
43
2017-08-09T04:03:38.000Z
2018-07-17T15:25:32.000Z
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
3
2018-01-23T06:44:41.000Z
2018-05-29T19:22:41.000Z
Sources/Fonts/FontType.cpp
Equilibrium-Games/Flounder
1bd67dc8c2c2ebee2ca95f0cabb40b926f747fcf
[ "MIT" ]
6
2017-11-03T10:48:20.000Z
2018-04-28T21:44:59.000Z
#include "FontType.hpp" #include <tiny_msdf.hpp> #include <ft2build.h> #include FT_FREETYPE_H #include "Files/Files.hpp" #include "Resources/Resources.hpp" #include "Graphics/Graphics.hpp" namespace acid { static const std::wstring_view NEHE = L" \t\r\nABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\"...
26.40146
145
0.697263
Equilibrium-Games
0e606b0a8a475b3df31cfe975fe752e36b16ddd0
855
cpp
C++
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-9-6-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
/* 求四名同学在三次考试中的成绩 */ #include <stdio.h> void mat_add(const int a[4][3], const int b[4][3], int c[4][3]); void mat_print(const int m[4][3]); int main(void) { int sore1[4][3] = { {23, 13,23}, {23, 67, 89}, {34, 56, 67}, {89,98, 32} }; int sore2[4][3] = { {93, 43,33}, {23, 63, 82}, {34, 66, 87}, {69,93, 39} }; ...
21.923077
77
0.493567
duasong111
0e6616c096e92c2c85f7599f6a5a81dfc094f72b
3,273
cpp
C++
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
16
2021-09-14T14:19:08.000Z
2022-02-02T23:51:04.000Z
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
10
2021-09-15T17:51:26.000Z
2022-01-20T11:22:26.000Z
src/python_bindings.cpp
johnlees/mandrake
f34deb1aeed730041398923c1c0d6e6d5ccb9611
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
1
2021-09-28T14:44:12.000Z
2021-09-28T14:44:12.000Z
// 2021 John Lees, Gerry Tonkin-Hill, Zhirong Yang // See LICENSE files #include "pairsnp.hpp" #include "sound.hpp" #include "wtsne.hpp" #include <pybind11/stl.h> namespace py = pybind11; PYBIND11_MODULE(SCE, m) { m.doc() = "Stochastic cluster embedding"; m.attr("version") = VERSION_INFO; // Results class (ne...
46.098592
79
0.62542
johnlees
0e66dadb9b0faf7b9e13c7b977595fcdd3541173
897
hpp
C++
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-core
fc9e1c309e62f5b2d7d4797d4b537ecfb3350d19
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_CORE_VERSION_HPP_ #define BE_CORE_VERSION_HPP_ #include "macros.hpp" #define BE_CORE_VERSION_MAJOR 0 #define BE_CORE_VERSION_MINOR 1 #define BE_CORE_VERSION_REV 32 /*!! include('common/version', 'BE_CORE', 'bengine') !! 6 */ /* ################# !! GENERATED CODE -- DO NOT MODIFY !! #########...
39
155
0.702341
magicmoremagic
0e68cf0eb44496c1dcb61eaaa213e80b23c2f918
26,546
cpp
C++
cross/cocos2d/cocos/2d/platform/android/nativeactivity.cpp
yobiya/tdd_game_sample
d3605c13f1fd97cd3929d5d3054f603edde839db
[ "MIT" ]
20
2015-01-04T03:15:01.000Z
2020-08-14T00:48:34.000Z
cocos2d/cocos/2d/platform/android/nativeactivity.cpp
kobakei/CCLocalNotification
c47ad6ff96409857ee6637892cc2618c1daf7ffa
[ "Apache-2.0" ]
null
null
null
cocos2d/cocos/2d/platform/android/nativeactivity.cpp
kobakei/CCLocalNotification
c47ad6ff96409857ee6637892cc2618c1daf7ffa
[ "Apache-2.0" ]
5
2015-06-15T02:26:05.000Z
2021-10-04T06:57:49.000Z
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org 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 Sof...
35.206897
137
0.616515
yobiya
0e696d20715dc73afc4ae5c530b3ee4f16dbade6
106
cpp
C++
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
27
2015-09-03T18:41:03.000Z
2022-01-17T20:38:54.000Z
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
null
null
null
Engine/Math/Ray3D.cpp
techmatt/Provincial
3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2
[ "MIT" ]
8
2015-02-23T10:04:30.000Z
2020-09-04T10:56:22.000Z
/* Ray3D.cpp Written by Matthew Fisher a 3D ray represented by an origin point and a direction vector. */
17.666667
63
0.764151
techmatt
0e6aa6bb823ed1ac4ac96db47326af50a653daa5
87,738
cpp
C++
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
grid-test/export/macos/obj/src/hscript/Interp.cpp
VehpuS/learning-haxe-and-haxeflixel
cb18c074720656797beed7333eeaced2cf323337
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.4 #include <hxcpp.h> #ifndef INCLUDED_IntIterator #include <IntIterator.h> #endif #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_Type #include <Type.h> #endif #ifndef INCLUDED_haxe_Exception #include <haxe/Exception.h> #endif ...
45.063174
243
0.593745
VehpuS
0e6f241d5b39be52ee550570a5563c2a42aa7e27
3,998
cpp
C++
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/visitor/ScopedModifier.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
/** * @file */ #include "src/visitor/ScopedModifier.hpp" birch::ScopedModifier::ScopedModifier(Package* currentPackage, Class* currentClass) : ContextualModifier(currentPackage, currentClass), inMember(0), inGlobal(0) { if (currentPackage) { scopes.push_back(currentPackage->scope); if (curr...
23.656805
72
0.690595
pranavsubramani
0e6f7fd5bbea687cc6ca4a486d5a07f877207dab
3,380
cc
C++
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-27T09:10:11.000Z
2018-09-27T09:10:11.000Z
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-16T07:17:29.000Z
2018-09-16T07:17:29.000Z
example/Mcached/mraft/floyd/example/simple/t1.cc
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
null
null
null
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include <unistd.h> #inclu...
27.04
148
0.595266
fasShare
0e702dca9016f0b45aac2e65410bd313a18e8745
34,122
hpp
C++
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) AUTOGENERATED. DO NOT EDIT!!! ======...
69.636735
80
0.370523
henrywarhurst
0e70deb4357fff835a0badeff42683287d3c0720
677
cpp
C++
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
44
2016-05-11T06:41:14.000Z
2021-12-20T13:45:41.000Z
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
null
null
null
solutions/1066/union_find.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
10
2016-06-25T08:55:20.000Z
2018-07-06T05:52:53.000Z
#include <iostream> #include <map> using namespace std; map<string, string> s; string represent(string n1) { if (s[n1].empty() || s[n1] == n1) { s[n1] = n1; } else { s[n1] = represent(s[n1]); } return s[n1]; } void merge(string n1, string n2) { s[represent(n1)] = represent(n2); }...
15.744186
57
0.487445
buptlxb
0e740451d792f20641256e992647134aab9abfd4
767
cpp
C++
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
foo_dsp_effect/main.cpp
jpbattaille/foobar2000-plugins
2e52c26a9ab5e65091338e600a2c433d8b600704
[ "Unlicense" ]
null
null
null
#include "../SDK/foobar2000.h" #include "SoundTouch/SoundTouch.h" #include "dsp_guids.h" #define MYVERSION "0.42" static pfc::string_formatter g_get_component_about() { pfc::string_formatter about; about << "A special effect DSP for foobar2000.\n"; about << "Written by mudlord (mudlord@protonmail.com).\n"; about <...
29.5
90
0.73794
jpbattaille
0e748b03089134f5aa06d6003fdd1e9c31123648
975
cpp
C++
codeforces/350div2/D1/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
codeforces/350div2/D1/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
codeforces/350div2/D1/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first <<...
17.105263
49
0.434872
Johniel
0e76e7a7228402d1f5fabcccc065d0865184bfd1
11,207
cpp
C++
src/Core/Bindings/obe/Input/Input.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
187
2021-05-22T07:56:34.000Z
2022-03-30T20:23:16.000Z
src/Core/Bindings/obe/Input/Input.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
48
2021-05-25T01:46:49.000Z
2022-03-23T21:32:54.000Z
src/Core/Bindings/obe/Input/Input.cpp
lukefelsberg/ObEngine
a0385df4944adde7c1c8073ead15419286c70019
[ "MIT" ]
11
2021-05-24T07:01:33.000Z
2022-03-07T12:08:48.000Z
#include <Bindings/obe/Input/Input.hpp> #include <Input/InputAction.hpp> #include <Input/InputButton.hpp> #include <Input/InputButtonMonitor.hpp> #include <Input/InputButtonState.hpp> #include <Input/InputCondition.hpp> #include <Input/InputManager.hpp> #include <Input/InputType.hpp> #include <Bindings/Conf...
61.917127
100
0.640582
lukefelsberg
0e83d914251a5f8264a56b23eb54bbc1ee284629
407
cpp
C++
0200/50/258a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0200/50/258a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0200/50/258a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <string> void answer(const std::string& v) { std::cout << v << '\n'; } void solve(std::string& a) { const size_t n = a.length(); size_t i = 0; while (i < n && a[i] == '1') ++i; if (i == n) a.pop_back(); else a.erase(i, 1); answer(a); ...
11.628571
33
0.461916
actium
0e8a8c778db01a6a05843c460625f9b2cae3a6ce
35,596
cpp
C++
Board.cpp
micheleasara/Chess-Cpp17
0477826a182056879457a0493844a8c9141166e0
[ "MIT" ]
null
null
null
Board.cpp
micheleasara/Chess-Cpp17
0477826a182056879457a0493844a8c9141166e0
[ "MIT" ]
null
null
null
Board.cpp
micheleasara/Chess-Cpp17
0477826a182056879457a0493844a8c9141166e0
[ "MIT" ]
null
null
null
#include "Board.hpp" #include "Zobrist.hpp" #include "Rook.hpp" #include "Bishop.hpp" #include "Queen.hpp" #include "Knight.hpp" #include "King.hpp" #include "Pawn.hpp" #include <iostream> #include <stdexcept> #include <iomanip> #include <sstream> /// Defines the number of squares the king travels to cast...
34.226923
86
0.607428
micheleasara
0e90229439f494fc42492a2ccb9a05b7dc714448
3,048
hpp
C++
include/nonstd/memory_pool.hpp
ortfero/mandalang
b6097dbbb2a16d474ea1a3064f2f66c9195601fc
[ "MIT" ]
null
null
null
include/nonstd/memory_pool.hpp
ortfero/mandalang
b6097dbbb2a16d474ea1a3064f2f66c9195601fc
[ "MIT" ]
null
null
null
include/nonstd/memory_pool.hpp
ortfero/mandalang
b6097dbbb2a16d474ea1a3064f2f66c9195601fc
[ "MIT" ]
null
null
null
#pragma once #include <forward_list> #include <memory> namespace nonstd { template<typename T> class memory_pool { public: using size_type = std::size_t; static constexpr auto default_page_size = 512u; private: union block { alignas(T) cha...
29.307692
97
0.510499
ortfero
0e91f4d7c8d303add464be9d61b35efbd8310885
214
hpp
C++
nacl/math/combinatorics/multinomial.hpp
ToxicPie/NaCl
8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c
[ "MIT" ]
3
2021-08-31T17:51:01.000Z
2021-11-13T16:22:25.000Z
nacl/math/combinatorics/multinomial.hpp
ToxicPie/NaCl
8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c
[ "MIT" ]
null
null
null
nacl/math/combinatorics/multinomial.hpp
ToxicPie/NaCl
8cb50bacc25f2b99a33fb5938ea4ec9906d8d65c
[ "MIT" ]
null
null
null
/// source: KACTL // ways to permute v[i] ll multinomial(vi &v) { ll c = 1, m = v.empty() ? 1 : v[0]; for (int i = 1; i < v.size(); i++) for (int j = 0; i < v[i]; j++) c = c * ++m / (j + 1); return c; }
21.4
57
0.443925
ToxicPie
0e952527ddedcfd90a971a26e758d4102609edfa
3,064
cpp
C++
gEarth.Pack/oepOGRFeatureSourceOptions.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
5
2021-06-16T06:24:29.000Z
2022-03-10T03:41:44.000Z
gEarth.Pack/oepOGRFeatureSourceOptions.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
1
2020-10-14T14:20:58.000Z
2020-10-14T14:20:58.000Z
gEarth.Pack/oepOGRFeatureSourceOptions.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
2
2021-06-16T06:24:32.000Z
2021-08-02T09:05:42.000Z
#include "stdafx.h" #include "oepOGRFeatureSourceOptions.h" using namespace gEarthPack; using namespace osgEarth::Drivers; oepOGRFeatureSourceOptions::oepOGRFeatureSourceOptions() { bind(new OGRFeatureOptions(),true); } void gEarthPack::oepOGRFeatureSourceOptions::binded() { _geometryConfig = gcnew oepConfig(); ...
23.037594
70
0.741841
songgod
0e95c6b5977ed0492064f44464d749de3eb1fc06
8,949
cpp
C++
ODIN_II/SRC/lib_blocks/hard_blocks.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
ODIN_II/SRC/lib_blocks/hard_blocks.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
ODIN_II/SRC/lib_blocks/hard_blocks.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
/* 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, distribute, sublicense, and/or sell copies of t...
24.45082
162
0.659403
rding2454
0e9c8fe4bc86416da5460816edad2fc7822048c5
4,887
cxx
C++
3rd/fltk/src/BarGroup.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
3rd/fltk/src/BarGroup.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
3rd/fltk/src/BarGroup.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
// // "$Id: BarGroup.cxx 5895 2007-06-08 18:17:53Z spitzak $" // // Copyright 1998-2006 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation; either // versio...
25.321244
77
0.631062
MarioHenze
0e9d4c3a1b86afe141b80004ce034c337eddf851
1,764
cpp
C++
UnitTests/Test_Registry_SetBinaryValue.cpp
ossewawiel/LibWinRegUtil
602e391b521685deec809e0ae3ae97376025ffe4
[ "MIT" ]
5
2020-09-17T08:15:14.000Z
2021-06-17T08:35:51.000Z
UnitTests/Test_Registry_SetBinaryValue.cpp
ossewawiel/LibWinRegUtil
602e391b521685deec809e0ae3ae97376025ffe4
[ "MIT" ]
null
null
null
UnitTests/Test_Registry_SetBinaryValue.cpp
ossewawiel/LibWinRegUtil
602e391b521685deec809e0ae3ae97376025ffe4
[ "MIT" ]
4
2019-12-29T00:58:23.000Z
2022-01-27T12:58:36.000Z
#include "stdafx.h" #include "Test_Registry.h" #include "TUtils.h" #include "TConstants.h" using namespace std; using namespace WinReg; using namespace TConst; TEST_F(Test_Registry_SetSBinaryValue, when_calling_setbinaryvalue_with_valid_parameters_values_expect_no_exception) { try { Registry::SetBinaryValue(eHKey...
32.072727
117
0.722222
ossewawiel
0e9f0bbc6f5fd102b02a814a405756e7927f998c
367
cpp
C++
Practice/C++/pattern program.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Practice/C++/pattern program.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Practice/C++/pattern program.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int i,j; for (i = 7; i >=1; i--) { for (j = 1; j <= i; j++) { cout<<'S'; } cout<<endl; } for(i = 2; i <= 7; i++) { for (j = 1;j <= i; j++) { cout<<'...
15.956522
33
0.280654
Sohelr360
0e9f7a1add03fde6e828841efdea7f695012598d
93,533
cpp
C++
src/omnicore/mdex.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
8
2018-11-27T15:43:22.000Z
2020-04-27T08:53:49.000Z
src/omnicore/mdex.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
null
null
null
src/omnicore/mdex.cpp
TradeLayer/TradeLayer
2f1ea1d64870a34703d2f5d230830238c3923691
[ "MIT" ]
null
null
null
#include "omnicore/mdex.h" #include "omnicore/errors.h" #include "omnicore/log.h" #include "omnicore/omnicore.h" #include "omnicore/rules.h" #include "omnicore/sp.h" #include "omnicore/tx.h" #include "omnicore/uint256_extensions.h" #include "arith_uint256.h" #include "chain.h" #include "tinyformat.h" #include "uint25...
39.818221
311
0.625448
TradeLayer
0ea35e383669db72128e85e9a2040af441dae97e
11,050
cpp
C++
nau/src/nau/geometry/box.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/geometry/box.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/geometry/box.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/geometry/box.h" #include "nau/math/vec3.h" #include "nau/geometry/vertexData.h" #include "nau/material/materialGroup.h" using namespace nau::geometry; using namespace nau::math; using namespace nau::render; using namespace nau::material; Box::Box(void) : Primitive() { float n = 1.0f; std::shared_...
45.661157
94
0.648507
Khirion
0ea607cca50a5692e75e755921ca22a0149d13c8
1,129
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Improvement.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Improvement.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Improvement.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/Segment.h" #include "./INCLUDE/LKH.h" /* The Improvement function is used to check whether a done move * has improved the current best tour. * If the tour has been improved, the function computes the penalty gain * and returns 1. Otherwise, the move is undone, and the function returns 0. */ i...
27.536585
76
0.568645
BaiChunhui-9803
0ea62fc4b26eb67e890657b54df620d6c40fa9d8
1,513
hpp
C++
kernels/backend/cuda/image.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
21
2020-05-02T06:32:23.000Z
2021-07-14T11:22:07.000Z
kernels/backend/cuda/image.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
null
null
null
kernels/backend/cuda/image.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
1
2021-05-24T13:44:56.000Z
2021-05-24T13:44:56.000Z
#ifndef KERNELS_BACKEND_CUDA_IMAGE_HPP #define KERNELS_BACKEND_CUDA_IMAGE_HPP #include "kernels/backend/common/image.hpp" namespace nova { using image2d_read_t = cudaTextureObject_t; using image2d_write_t = cudaSurfaceObject_t; using image2d_array_read_t = cudaTextureObject_t; template <typename W, AddressMode A = ...
33.622222
98
0.775942
wchang22
0eaa4e824dee738f47dfa9f67731e15a3043df38
1,855
cpp
C++
inceptor/templates/public/cpp/process_injection/classic-native-syscalls.cpp
whitefi/inceptor
2234740b76c34b2ab91d05ff675748022c476a81
[ "BSD-4-Clause" ]
743
2021-08-02T16:27:27.000Z
2022-03-31T16:34:16.000Z
inceptor/templates/public/cpp/process_injection/classic-native-syscalls.cpp
whitefi/inceptor
2234740b76c34b2ab91d05ff675748022c476a81
[ "BSD-4-Clause" ]
32
2021-08-03T04:47:20.000Z
2022-03-28T23:15:45.000Z
inceptor/templates/public/cpp/process_injection/classic-native-syscalls.cpp
whitefi/inceptor
2234740b76c34b2ab91d05ff675748022c476a81
[ "BSD-4-Clause" ]
138
2021-08-02T16:27:28.000Z
2022-03-31T02:47:20.000Z
#include <Windows.h> #include <stdio.h> #include <stdlib.h> //####USING#### #pragma comment(lib, "ntdll") //####DEFINE#### //####CODE#### int Inject(int pid) { const unsigned char raw[] = ####SHELLCODE####; int length = sizeof(raw); unsigned char* encoded = (unsigned char*)malloc(sizeof(unsigned char) * length...
21.569767
143
0.633962
whitefi
0eb628c74491a49e649fd4f44d9910783a851d2c
3,188
cpp
C++
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/common/checkboxcmn.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/common/checkboxcmn.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
packages/thirdParty/wxWidgets/wxWidgets-2.9.4/src/common/checkboxcmn.cpp
wivlaro/newton-dynamics
2bafd29aea919f237e56784510db1cb8011d0f40
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/common/checkboxcmn.cpp // Purpose: wxCheckBox common code // Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence //...
34.652174
86
0.572459
wivlaro
0eb66e44a2618868d454cbc92f49a0c67f9f43d4
4,805
cpp
C++
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/StateCollection/StateCollectionView.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/StateCollection/StateCollectionView.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/StateCollection/StateCollectionView.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
28.772455
114
0.688033
alonmm
0eb8410a4bd9546f67f93f6ca9fcf994bbce4171
1,329
hh
C++
include/Attributes/CreationDateAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
6
2016-09-28T18:26:42.000Z
2021-04-10T13:19:05.000Z
include/Attributes/CreationDateAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
1
2021-02-09T00:24:04.000Z
2021-02-27T22:08:05.000Z
include/Attributes/CreationDateAttribute.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
5
2017-09-14T09:48:17.000Z
2021-07-19T07:58:34.000Z
/* * Copyright 2021 Aaron Bamberger * Licensed under BSD 2-clause license * See LICENSE file at root of source tree, * or https://opensource.org/licenses/BSD-2-Clause */ #ifndef _CREATION_DATE_ATTRIBUTE_H #define _CREATION_DATE_ATTRIBUTE_H #include "Attributes/StandardAttribute.hh" #include "Util/ValueWithLocati...
30.906977
89
0.762227
aaronbamberger
0eb9802deb40156a423cdb6c4308eaaa24d2e0a0
2,848
hpp
C++
src/pathfinder/yapf/yapf_node.hpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/pathfinder/yapf/yapf_node.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/pathfinder/yapf/yapf_node.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
33.505882
185
0.719803
trademarks
0ebccddc4beac9cf4894a7fa75aef1120720436a
7,956
cpp
C++
Pod/musicFramework/impl/EncodingFunctions.cpp
iKimee/musicXML
5555f5c00e74c8e3f5ddf7e83072bf208602b970
[ "Apache-2.0" ]
3
2018-12-18T06:38:57.000Z
2022-01-25T10:42:19.000Z
Pod/musicFramework/impl/EncodingFunctions.cpp
Bone111/MusicXMLParser
674f6b52634abb95008cc04ee02f4df0055851a6
[ "MIT" ]
null
null
null
Pod/musicFramework/impl/EncodingFunctions.cpp
Bone111/MusicXMLParser
674f6b52634abb95008cc04ee02f4df0055851a6
[ "MIT" ]
1
2021-01-29T10:43:31.000Z
2021-01-29T10:43:31.000Z
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "../impl/EncodingFunctions.h" #include "../core/Date.h" #include "../core/elements/Encoder.h" #include "../core/elements/Encoding.h" #include "../core/elements/Encoding.h" #include "../core/elements/Encodin...
43.005405
123
0.497612
iKimee
0ebcd089e828e911c1d549990b66e6d9869c5758
584
hh
C++
test/DBAL/SchemaTest.hh
decouple/framework
8dcb04e75660c977ed8d53b2e6e3aa7fa5ff9b95
[ "MIT" ]
null
null
null
test/DBAL/SchemaTest.hh
decouple/framework
8dcb04e75660c977ed8d53b2e6e3aa7fa5ff9b95
[ "MIT" ]
null
null
null
test/DBAL/SchemaTest.hh
decouple/framework
8dcb04e75660c977ed8d53b2e6e3aa7fa5ff9b95
[ "MIT" ]
null
null
null
<?hh // partial namespace Test\DBAL; use Decouple\Test\TestCase; use Decouple\DBAL\DPDO\DPDOMySQLDriver; use Decouple\Common\Contract\DB\Schema; class SchemaTest extends TestCase { public function execute() : void { $driver = new DPDOMySQLDriver(); $connected = $driver->connect(Map { "dbname" => "decoup...
26.545455
42
0.630137
decouple
0ebd0a4fc260475489711501e0fde20ea7be290d
10,353
cxx
C++
osprey/be/cg/bblist.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/bblist.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/bblist.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2009 Advanced Micro Devices, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the F...
25.007246
79
0.60736
sharugupta
b1c013defc09cbb37d164ef1765f8b0d754d5a9f
1,215
cpp
C++
math/get_neighbours2D.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
math/get_neighbours2D.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
math/get_neighbours2D.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; const std::pair<int, int> moves[] = {{-1, 0}, {0, -1}, {0, 1}, {1, 0}}; /* for(auto [dx, dy]: moves) { // Here nr and nc are what comes into the queue - i & j dx += nr; dy += nc; } */ vector<vector<int>> getNeighbours(int r, int c, int R, int C) { vect...
22.5
76
0.438683
hariharanragothaman
b1c0e98ec3849d065085b7114a0535471daa9396
2,072
cpp
C++
extra/news/src/apk/dataset/config/config-dialog-console/main.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/dataset/config/config-dialog-console/main.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
extra/news/src/apk/dataset/config/config-dialog-console/main.cpp
scignscape/PGVM
e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0
[ "BSL-1.0" ]
null
null
null
// Copyright Nathaniel Christen 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "application-model/application-config-model.h" #include "config-dialog/config-dialog.h" #inc...
21.142857
96
0.689189
scignscape
b1c355b9c8abc786c5156b692cc8dbd37374cf30
1,468
cpp
C++
codeforces/F - The Number of Subpermutations/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - The Number of Subpermutations/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - The Number of Subpermutations/Time limit exceeded on test 3.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jul/09/2019 19:04 * solution_verdict: Time limit exceeded on test 3 language: GNU C++14 * run...
34.952381
111
0.424387
kzvd4729
b1c4430b410f7e361b37593904e11d8dd9dbf90c
4,813
inl
C++
src/atta/core/math/matrix.inl
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-06-18T00:48:13.000Z
2021-06-18T00:48:13.000Z
src/atta/core/math/matrix.inl
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
6
2021-03-11T21:01:27.000Z
2021-09-06T19:41:46.000Z
src/atta/core/math/matrix.inl
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-09-04T19:54:41.000Z
2021-09-04T19:54:41.000Z
//-------------------------------------------------- // Atta Math // matrix.inl // Date: 2021-04-09 // By Breno Cunha Queiroz //-------------------------------------------------- namespace atta { template <typename T> matrix<T>::matrix(size_t _nrows, size_t _ncols): nrows(_nrows), ncols(_ncols) { ...
24.18593
84
0.446291
Brenocq
b1c6b8eef546084dcea55ebd8b3d2248adb23535
901
cpp
C++
src/lib/file_interpreter.cpp
cuttle-system/cuttle-fileui
f0444501be19352c4734a8c1b2f301c4e17d71ac
[ "MIT" ]
null
null
null
src/lib/file_interpreter.cpp
cuttle-system/cuttle-fileui
f0444501be19352c4734a8c1b2f301c4e17d71ac
[ "MIT" ]
null
null
null
src/lib/file_interpreter.cpp
cuttle-system/cuttle-fileui
f0444501be19352c4734a8c1b2f301c4e17d71ac
[ "MIT" ]
null
null
null
#include <sstream> #include "file_interpreter.hpp" #include "interpreter.hpp" using namespace cuttle; namespace fs = boost::filesystem; void fileui::interpret_file(compile_state_t &state, vm::context_t &context, const fs::path &file_path, std::deque<vm::value_t> &arg_stack) { if (state.cached_files.count(file_pa...
40.954545
140
0.63374
cuttle-system
b1cdccc1020badc02ff098d6542f43c889ec72e8
21,461
cpp
C++
src/base/command/RunSimulator.cpp
Randl/GMAT
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
2
2020-01-01T13:14:57.000Z
2020-12-09T07:05:07.000Z
src/base/command/RunSimulator.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
1
2018-03-15T08:58:37.000Z
2018-03-20T20:11:26.000Z
src/base/command/RunSimulator.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
3
2019-10-13T10:26:49.000Z
2020-12-09T07:06:55.000Z
//$Id$ //------------------------------------------------------------------------------ // ClassName //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2015 United States Government as represented by ...
32.966206
80
0.501281
Randl
b1d36c9eb1587cbe78acaf59ce35de0a417cfdd2
13,625
cpp
C++
src/bytearray.cpp
dongzx666/cool
6d13b767491f52ac6c4ee96a3e69d481600e22f7
[ "MIT" ]
null
null
null
src/bytearray.cpp
dongzx666/cool
6d13b767491f52ac6c4ee96a3e69d481600e22f7
[ "MIT" ]
null
null
null
src/bytearray.cpp
dongzx666/cool
6d13b767491f52ac6c4ee96a3e69d481600e22f7
[ "MIT" ]
null
null
null
#include "bytearray.h" #include "endian.h" #include "log.h" #include "socket.h" #include <cmath> #include <cstddef> #include <cstdint> #include <cstring> #include <endian.h> #include <fstream> #include <iomanip> #include <memory> #include <sstream> #include <stdexcept> #include <string> namespace cool { static cool::...
22.263072
80
0.584294
dongzx666
b1d378f667928cda69bc2a142c51252e1a566759
966
cpp
C++
breath/path/brt/directory_separators.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/path/brt/directory_separators.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
breath/path/brt/directory_separators.cpp
erez-o/breath
adf197b4e959beffce11e090c5e806d2ff4df38a
[ "BSD-3-Clause" ]
null
null
null
// =========================================================================== // This is an open source non-commercial project. // Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: // http://www.viva64.c...
42
78
0.516563
erez-o
b1d4484f5cd5bbafd7d091be3c8116d6b2e93104
5,263
cpp
C++
Raytracer/src/world.cpp
rickyguerin/Animated-Ray-Tracer
cc1afe776c904b2280e5552f5c4654391658382a
[ "MIT" ]
null
null
null
Raytracer/src/world.cpp
rickyguerin/Animated-Ray-Tracer
cc1afe776c904b2280e5552f5c4654391658382a
[ "MIT" ]
null
null
null
Raytracer/src/world.cpp
rickyguerin/Animated-Ray-Tracer
cc1afe776c904b2280e5552f5c4654391658382a
[ "MIT" ]
null
null
null
#include "../header/world.h" #include "../header/WorldProgram/sphereProgram.h" #include "../header/WorldProgram/triangleProgram.h" #include "../header/Shape/shape.h" #include "../header/Math/intersection.h" World::World(const glm::vec3& color) { backgroundColor = color; } World::~World() { for (const ShapeProgram* ...
30.247126
131
0.694091
rickyguerin
b1d62dbd78a341ebaa4756b65b603bef0b7853a1
666
cc
C++
codeforces/1253/e.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
codeforces/1253/e.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
codeforces/1253/e.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://codeforces.com/contest/1253/problem/E #include <bits/stdc++.h> using namespace std; using ii = tuple<int, int>; using vi = vector<int>; using vii = vector<ii>; int main() { int n, m, x, s, l, r; cin >> n >> m; vii a(n); for (int i = 0; i < n; i++) { cin >> x >> s; a[i] = { x - s, x + s }; ...
21.483871
54
0.408408
Ashindustry007
b1de7160e7d1447732775e18dd2b58e730305d7c
9,667
cpp
C++
gui/src/gui_statusbar.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
gui/src/gui_statusbar.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
gui/src/gui_statusbar.cpp
unnamed-mmo/lxgui
5c4b9d0c164d2d35cfe5c59888b10020184f717d
[ "MIT" ]
null
null
null
#include "lxgui/gui_statusbar.hpp" #include "lxgui/gui_frame.hpp" #include "lxgui/gui_manager.hpp" #include "lxgui/gui_texture.hpp" #include "lxgui/gui_out.hpp" #include "lxgui/gui_alive_checker.hpp" #include "lxgui/gui_uiobject_tpl.hpp" #include <sstream> namespace lxgui { namespace gui { std::array<flo...
27.463068
122
0.589531
unnamed-mmo
b1e12b044d201b5c67c0ceeea3023c68e4072d17
3,837
cc
C++
flow/matrix_decomposition.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
1
2020-06-30T13:16:14.000Z
2020-06-30T13:16:14.000Z
flow/matrix_decomposition.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
null
null
null
flow/matrix_decomposition.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
1
2020-03-05T02:44:12.000Z
2020-03-05T02:44:12.000Z
// Copyright 2017 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 "flutter/flow/matrix_decomposition.h" namespace flow { static inline SkVector3 SkVector3Combine(const SkVector3& a, ...
27.021127
80
0.551733
alibitek
b1e1b63be32d9ae14afacee97ad9ef162e3ae6b5
8,608
cc
C++
src/3d/mpi/relax_planes.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
9
2018-03-07T19:15:27.000Z
2019-02-22T20:10:23.000Z
src/3d/mpi/relax_planes.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
5
2018-11-13T19:59:46.000Z
2020-04-09T19:31:25.000Z
src/3d/mpi/relax_planes.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
2
2018-07-20T01:06:48.000Z
2019-11-25T12:15:16.000Z
#include <cedar/3d/mpi/plane_mempool.h> #include <cedar/3d/mpi/plane_mpi.h> #include <cedar/3d/mpi/relax_planes.h> namespace cedar { namespace cdr3 { namespace mpi { template<relax_dir rdir> std::shared_ptr<grid_topo> planes<rdir>::slice_topo(const grid_topo & topo3) { auto igrd = std::make_shared<std::vector<len_t...
42.196078
152
0.599907
cedar-framework
b1e5565e834926da666656b23cae4639dc61b21e
984
cpp
C++
Axis.Core/application/parsing/preprocessing/SymbolTable.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Core/application/parsing/preprocessing/SymbolTable.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Core/application/parsing/preprocessing/SymbolTable.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "SymbolTable.hpp" #include "foundation/ArgumentException.hpp" namespace aapp = axis::application::parsing::preprocessing; aapp::SymbolTable::SymbolTable(void) { // no op } aapp::SymbolTable::~SymbolTable(void) { // erases symbol table and call destructors of every every contained element _table.clear(); ...
21.391304
81
0.716463
renato-yuzup
b1e6fe39ea7a5e5a8fd4d0adef72a983b9f20547
11,788
cpp
C++
libatlaspack/src/textureatlaspacker.cpp
bzeller/atlaspack
abc80eff35b25af367c7b9e91272f5ff82e09272
[ "MIT" ]
null
null
null
libatlaspack/src/textureatlaspacker.cpp
bzeller/atlaspack
abc80eff35b25af367c7b9e91272f5ff82e09272
[ "MIT" ]
null
null
null
libatlaspack/src/textureatlaspacker.cpp
bzeller/atlaspack
abc80eff35b25af367c7b9e91272f5ff82e09272
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2017 Benjamin Zeller * * 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, ...
36.495356
141
0.625382
bzeller
b1e72c610db4b5556b161f6eedb7b96a501e00c3
2,387
hpp
C++
src/base/factory/AtmosphereFactory.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/factory/AtmosphereFactory.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
src/base/factory/AtmosphereFactory.hpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
null
null
null
//$Id$ //------------------------------------------------------------------------------ // AtmosphereFactory //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2017 United States Government as represe...
31.407895
80
0.617093
supalogix
b1e762019e0a0c1218fa988e80a15a94a950c77d
26,612
hh
C++
gazebo/rendering/Camera.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
8
2015-07-02T08:23:30.000Z
2020-11-17T19:00:38.000Z
gazebo/rendering/Camera.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/rendering/Camera.hh
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
10
2015-04-22T18:33:15.000Z
2021-11-16T10:17:45.000Z
/* * Copyright 2012 Open Source Robotics Foundation * * 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 applicab...
37.534556
80
0.645498
thomas-moulard