hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
7d5349b730760ebc7b28d1926d464e4456b3954f
3,938
cpp
C++
assignment-3/tracker/imageFactory.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
2
2019-04-18T21:28:18.000Z
2019-04-18T21:28:52.000Z
assignment-3/tracker/imageFactory.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
assignment-3/tracker/imageFactory.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
#include "ioMod.h" #include "renderContext.h" #include "vector2f.h" ImageFactory& ImageFactory::getInstance() { static ImageFactory instance; return instance; } ImageFactory::~ImageFactory() { std::cout << "Deleting images in Factory" << std::endl; // Free single image containers std::map<std::string, SDL_S...
31.758065
75
0.666582
lherman-cs
7d53dc2aa3fc66807c88a01077ede4b0ada3f338
3,741
cc
C++
shell/platform/darwin/common/platform_service_provider.cc
smallZh/flutter_engine
166f44c0f7a84f221df8af66637e3672edbf143c
[ "BSD-3-Clause" ]
1
2021-06-12T00:46:41.000Z
2021-06-12T00:46:41.000Z
shell/platform/darwin/common/platform_service_provider.cc
smallZh/flutter_engine
166f44c0f7a84f221df8af66637e3672edbf143c
[ "BSD-3-Clause" ]
null
null
null
shell/platform/darwin/common/platform_service_provider.cc
smallZh/flutter_engine
166f44c0f7a84f221df8af66637e3672edbf143c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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/shell/platform/darwin/common/platform_service_provider.h" #if TARGET_OS_IPHONE #include "flutter/services/activity/ios/activity_impl.h"...
37.787879
78
0.718792
smallZh
7d563fd3e8a01543274231520fe053ab68adfddc
1,030
cpp
C++
core/src/core/algebra/util.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
12
2017-02-24T19:28:07.000Z
2021-02-05T04:40:47.000Z
core/src/core/algebra/util.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
1
2017-04-15T03:41:18.000Z
2017-04-24T09:06:15.000Z
core/src/core/algebra/util.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
6
2017-05-14T10:12:50.000Z
2021-02-07T03:50:56.000Z
// // Created by Lu WJ on 14/02/2017. // #include "core/algebra/util.hpp" #include <cassert> namespace algebra { NTL::ZZ _InvMod(NTL::ZZ a, NTL::ZZ p) { NTL::ZZ p0(p), t, q; NTL::ZZ x0(0), x1(1); if (p == 1) return NTL::to_ZZ(1); while (a > 1) { q = a / p; t = p; p = a % p; a = t; ...
22.391304
55
0.485437
fionser
7d59efe85bb19cafaced3bc82fde26012ab32009
786
cpp
C++
src/configuration/ListMethods.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
1
2021-11-10T19:36:30.000Z
2021-11-10T19:36:30.000Z
src/configuration/ListMethods.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
null
null
null
src/configuration/ListMethods.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
2
2021-11-02T13:09:57.000Z
2021-11-10T19:36:22.000Z
#include "ListMethods.hpp" #include "AxisConfiguration.hpp" void * GetNextListElement( LIST * psList, int iElementLength) { if( psList->ppArray == NULL) { psList->iMaxCount = 1; psList->ppArray = (void **) malloc( sizeof( void *)); } if( psList->iCount >= psList->iMaxCount) { psList->iMaxCou...
23.818182
94
0.64631
vlsinitsyn
7d5c3a44829e2fe2ee102b363f6b5ca9ae32c90b
1,644
cpp
C++
src/sim/graphics/renderer/basic/model/primitive.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
src/sim/graphics/renderer/basic/model/primitive.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
src/sim/graphics/renderer/basic/model/primitive.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
#include "primitive.h" #include "sim/graphics/renderer/basic/basic_scene_manager.h" namespace sim::graphics::renderer::basic { Primitive::Primitive( BasicSceneManager &mm, const Range &index, const Range &position, const Range &normal, const Range &uv, const AABB &aabb, const PrimitiveTopology &topology, const ...
35.73913
88
0.709246
wumo
7d5e138701f9720ebfbba9b72a8051a9d1e89eb5
5,639
cpp
C++
src/model/AddressBookModel.cpp
Midar/feather
ac9693077c338527a4b31ca6b2d85514f8fe739a
[ "BSD-3-Clause" ]
22
2022-02-03T16:22:35.000Z
2022-03-27T14:06:38.000Z
src/model/AddressBookModel.cpp
Midar/feather
ac9693077c338527a4b31ca6b2d85514f8fe739a
[ "BSD-3-Clause" ]
9
2022-02-11T06:23:59.000Z
2022-03-25T03:42:02.000Z
src/model/AddressBookModel.cpp
Midar/feather
ac9693077c338527a4b31ca6b2d85514f8fe739a
[ "BSD-3-Clause" ]
8
2022-02-06T06:57:49.000Z
2022-03-24T11:58:30.000Z
// SPDX-License-Identifier: BSD-3-Clause // SPDX-FileCopyrightText: 2014-2022 The Monero Project #include "AddressBookModel.h" #include "AddressBook.h" #include "ModelUtils.h" #include "utils/Utils.h" #include "utils/Icons.h" AddressBookModel::AddressBookModel(QObject *parent, AddressBook *addressBook) : QAbstrac...
29.678947
141
0.583259
Midar
7d5e35ce46eb1eb3b51c53e4a32e23080707f448
2,199
cc
C++
vision/fiducial_detection_balsaq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
null
null
null
vision/fiducial_detection_balsaq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
null
null
null
vision/fiducial_detection_balsaq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
null
null
null
//%bin(fiducial_detection_balsaq_main) //%deps(balsa_queue) #include "vision/fiducial_detection_balsaq.hh" #include "camera/camera_image_message.hh" #include "config/fiducial_map/read_fiducial_map.hh" #include "infrastructure/balsa_queue/bq_main_macro.hh" #include "infrastructure/comms/mqtt_comms_factory.hh" #include ...
34.359375
111
0.738518
sentree
7d63148ca38921bacd846f8dfa1bb89b775d5a43
2,673
cpp
C++
test/randnum/generator.cpp
ORNL-QCI/sabot
c33edfc8a4461c67580e8a3cc8454a5a61347412
[ "BSD-3-Clause" ]
1
2020-06-18T23:10:20.000Z
2020-06-18T23:10:20.000Z
test/randnum/generator.cpp
ORNL-QCI/sabot
c33edfc8a4461c67580e8a3cc8454a5a61347412
[ "BSD-3-Clause" ]
null
null
null
test/randnum/generator.cpp
ORNL-QCI/sabot
c33edfc8a4461c67580e8a3cc8454a5a61347412
[ "BSD-3-Clause" ]
1
2020-06-18T23:10:22.000Z
2020-06-18T23:10:22.000Z
#include <randnum/generator.hpp> #include <boost/test/unit_test.hpp> namespace test { namespace randnum { BOOST_AUTO_TEST_SUITE(generator) BOOST_AUTO_TEST_CASE(basics) { ::randnum::generator object(1); BOOST_REQUIRE(object.seed() == 1); BOOST_REQUIRE(object.get_position() == 0); } BOOST_AUTO_TE...
26.205882
98
0.648335
ORNL-QCI
7d6720b2ea7aa3c176dc47f30f94a7dcb720e4b1
31,757
cpp
C++
FastImplementation-BilateralFilter/color.cpp
yoshihiromaed/FastImplementation-BilateralFilter
d81d0cec1ef2304dfa12297c63b59357def04d0f
[ "MIT" ]
16
2018-10-25T11:51:46.000Z
2021-08-02T08:09:34.000Z
FastImplementation-BilateralFilter/color.cpp
yoshihiromaed/FastImplementation-BilateralFilter
d81d0cec1ef2304dfa12297c63b59357def04d0f
[ "MIT" ]
null
null
null
FastImplementation-BilateralFilter/color.cpp
yoshihiromaed/FastImplementation-BilateralFilter
d81d0cec1ef2304dfa12297c63b59357def04d0f
[ "MIT" ]
3
2018-10-25T12:48:33.000Z
2019-09-09T10:08:45.000Z
#include "color.h" #pragma warning(disable:4309) using namespace std; using namespace cv; void mergeLineInterleaveBGRAVX_8u(const Mat& src, Mat& dest) { const int sstep = src.cols * 3; const int dstep = dest.cols * 3; const uchar* bptr = src.ptr<uchar>(0); const uchar* gptr = src.ptr<uchar>(1); const uchar* rp...
31.980866
160
0.623642
yoshihiromaed
7d676898e08ff703577bf9b32b4270822f4c2ad1
586
cpp
C++
test/geometry/geometry.05.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
test/geometry/geometry.05.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
test/geometry/geometry.05.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
/* * @brief 計算幾何学/計算幾何学 (平行 / 垂直) */ #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=CGL_2_A" #include <iostream> #include "../../geometry/geometry.hpp" int main() { int q; std::cin >> q; while (q--) { geometry::Point p0, p1, p2, p3; std::cin >> p0 >> p1 >> p2 >>...
22.538462
83
0.515358
emthrm
de102716c61d2982fb162cebeecb7ede7fb07993
1,738
cpp
C++
aws-cpp-sdk-sagemaker-edge/source/model/SendHeartbeatRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-sagemaker-edge/source/model/SendHeartbeatRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-sagemaker-edge/source/model/SendHeartbeatRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/sagemaker-edge/model/SendHeartbeatRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::SagemakerEdgeManager::Model; using namespace Aws::U...
23.486486
113
0.74626
perfectrecall
de116c4ff6fb4bf9ae831be22c03d5b3e5cbe3c0
252
cpp
C++
Advance Recursion/tiling.cpp
Mythical-stack/C-Crash-Course
323b7f5b1e0b270138e54a1a18fb1e81015a1763
[ "Apache-2.0" ]
1
2021-08-10T11:45:13.000Z
2021-08-10T11:45:13.000Z
Advance Recursion/tiling.cpp
jkbells/C-Crash-Course
323b7f5b1e0b270138e54a1a18fb1e81015a1763
[ "Apache-2.0" ]
null
null
null
Advance Recursion/tiling.cpp
jkbells/C-Crash-Course
323b7f5b1e0b270138e54a1a18fb1e81015a1763
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int tilingways(int n){ if(n==0){ return 0; } if(n==1){ return 1; } return tilingways(n-1) + tilingways(n-2); } int main() { cout << tilingways(4) << endl; return 0; }
14
45
0.531746
Mythical-stack
de127ca4e615591deb7e595999afdd341b3bf529
485
hpp
C++
include/uitsl/mpi/MpiGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uitsl/mpi/MpiGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uitsl/mpi/MpiGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UITSL_MPI_MPIGUARD_HPP_INCLUDE #define UITSL_MPI_MPIGUARD_HPP_INCLUDE #include <functional> #include <mpi.h> #include "../debug/err_verify.hpp" namespace uitsl { struct MpiGuard { #ifndef __EMSCRIPTEN__ MpiGuard() { int argc{}; uitsl::err_verify( MPI_Init(&argc, nullptr) ); } ...
16.724138
54
0.715464
mmore500
de135c7f40ad0a4a983c9c4a12446592e669ab99
34,216
cpp
C++
WRK-V1.2/palrt/src/crypt.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/palrt/src/crypt.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/palrt/src/crypt.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
21.425172
105
0.603168
intj-t
de14006aadce629e04f053adafdb5bc6394c0d07
11,306
cpp
C++
SimTest/geoTest.cpp
doplusplus/Physics_Simulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
null
null
null
SimTest/geoTest.cpp
doplusplus/Physics_Simulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
1
2015-09-03T08:03:12.000Z
2015-10-06T20:11:48.000Z
SimTest/geoTest.cpp
doplusplus/PointSimulator
f562b07fe7c3e245c0ebc9d5618fe0c09114126c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include "..\SimModule\Geo.h" #include <limits> #include <iostream> //#include <functional> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace UnitTesting { const double accuracy = double(1e-10); //approximately the diameter of an hydrogen atom in m...
22.748491
124
0.600566
doplusplus
de1537d3237c8b6421674bbcff531c9a0c570eb5
5,892
cc
C++
velvet_1.2.10/contrib/MetaVelvet-1.2.01/Common/SplitJudge.cc
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
12
2015-10-29T15:55:02.000Z
2021-09-10T05:17:16.000Z
velvet_1.2.10/contrib/MetaVelvet-1.2.01/Common/SplitJudge.cc
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
3
2017-01-13T12:03:29.000Z
2018-10-05T15:02:45.000Z
velvet_1.2.10/contrib/MetaVelvet-1.2.01/Common/SplitJudge.cc
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
7
2017-02-17T21:11:10.000Z
2021-04-08T21:06:56.000Z
#include "SplitJudge.hh" void SplitJudge::setStatsWriter( const string& statsFileName, const string& detailFileName, bool flagReportDetail ){ this->flagReportDetail = flagReportDetail; if( flagReportDetail ){ SplitDetailWriter* writer = new SplitDetailWriter(); writer->open( statsFileName, detailFileName )...
38.509804
142
0.717413
liebermanlab
de183ebf703739a5f70f3d5eccade899b142696f
2,735
cc
C++
cpp/library/src/event/request_context.cc
jc-lab/sipc
825cbf93beb83fb1d7987782716abd4ea80d5d3d
[ "Apache-2.0" ]
null
null
null
cpp/library/src/event/request_context.cc
jc-lab/sipc
825cbf93beb83fb1d7987782716abd4ea80d5d3d
[ "Apache-2.0" ]
null
null
null
cpp/library/src/event/request_context.cc
jc-lab/sipc
825cbf93beb83fb1d7987782716abd4ea80d5d3d
[ "Apache-2.0" ]
null
null
null
/** * @file request_context.cc * @author Joseph Lee <joseph@jc-lab.net> * @date 2021-06-07 * @copyright Copyright (C) 2021 jc-lab. * This software may be modified and distributed under the terms * of the Apache License 2.0. See the LICENSE file for details. */ #include "request_context.h...
34.1875
111
0.735283
jc-lab
de1930e80324e69f2d29a1768e1ea1e31e111941
6,564
cc
C++
maistra/vendor/com_googlesource_chromium_v8/wee8/third_party/zlib/google/zip_writer.cc
Maistra/proxy
96b6aa184db650ec8c3a4b4e82eb54b0b9ab411f
[ "Apache-2.0" ]
null
null
null
maistra/vendor/com_googlesource_chromium_v8/wee8/third_party/zlib/google/zip_writer.cc
Maistra/proxy
96b6aa184db650ec8c3a4b4e82eb54b0b9ab411f
[ "Apache-2.0" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
maistra/vendor/com_googlesource_chromium_v8/wee8/third_party/zlib/google/zip_writer.cc
Maistra/proxy
96b6aa184db650ec8c3a4b4e82eb54b0b9ab411f
[ "Apache-2.0" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.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 "third_party/zlib/google/zip_writer.h" #include "base/files/file.h" #include "base/logging.h" #include "base/strings/string_util.h" #include "th...
29.836364
80
0.661335
Maistra
de1bd58e2423dc4f7285eff653fce1a6ae70b1be
7,811
cpp
C++
tests/unit/model/object_test.cpp
AO-StreetArt/CLyman
b4f3c6fce1c41fb47a6a9d89bb40c05466d0d092
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
1
2018-09-14T13:29:03.000Z
2018-09-14T13:29:03.000Z
tests/unit/model/object_test.cpp
AO-StreetArt/CLyman
b4f3c6fce1c41fb47a6a9d89bb40c05466d0d092
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
62
2016-04-18T06:31:45.000Z
2019-08-22T23:55:22.000Z
tests/unit/model/object_test.cpp
AO-StreetArt/CLyman
b4f3c6fce1c41fb47a6a9d89bb40c05466d0d092
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Apache2 License Notice Copyright 2017 Alex Barry Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
40.262887
116
0.720266
AO-StreetArt
de1d3a6f352f18e402ec238a95f364f71c0bdc12
23,756
cpp
C++
2_localization/djiros_trigger/src/bluefox2/camera.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
8
2018-01-30T11:40:31.000Z
2021-05-03T05:52:47.000Z
2_localization/djiros_trigger/src/bluefox2/camera.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
null
null
null
2_localization/djiros_trigger/src/bluefox2/camera.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
1
2020-12-23T08:14:57.000Z
2020-12-23T08:14:57.000Z
#include "camera.h" #include <algorithm> #include <boost/format.hpp> namespace bluefox2 { Camera::Camera( ros::NodeHandle _param_nh ) : pnode( _param_nh ) , m_fast_mode( false ) , m_hwsync_grab_count( 0 ) , m_max_req_number( -1 ) , m_verbose_output( false ) , m_sync_offset_for_debug( 0.0 ) { int exposure_time_us;...
31.973082
112
0.555817
huying163
de1f058ed55030813b0b71dbc82c090d1273cffe
2,478
cpp
C++
src/JabbrChatCpp/panel.cpp
moozzyk/JabbrClientCpp
283a00f55a3b7c179c0d2a51e2cc0defbc42553e
[ "Apache-2.0" ]
null
null
null
src/JabbrChatCpp/panel.cpp
moozzyk/JabbrClientCpp
283a00f55a3b7c179c0d2a51e2cc0defbc42553e
[ "Apache-2.0" ]
null
null
null
src/JabbrChatCpp/panel.cpp
moozzyk/JabbrClientCpp
283a00f55a3b7c179c0d2a51e2cc0defbc42553e
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "panel.h" panel::panel(short width, short height) : m_width(width), m_height(height) { m_size = { width, height }; m_buffer = new CHAR_INFO[get_buffer_size()]; } panel::~panel() { delete[] m_buffer; } short panel::get_width() const { return m_width; ...
24.294118
114
0.55569
moozzyk
de1fc57127321f8102aeb368832e104d5a5d4768
1,750
cpp
C++
Source/DepthUtils/DepthUtils.cpp
gajgeospatial/OpenNI2-2.2.0.33
86d57aa61bcf1fd96922af1960ab711c2e9c1ed5
[ "Apache-2.0" ]
925
2015-01-04T03:47:56.000Z
2022-03-28T11:18:18.000Z
Source/DepthUtils/DepthUtils.cpp
gajgeospatial/OpenNI2-2.2.0.33
86d57aa61bcf1fd96922af1960ab711c2e9c1ed5
[ "Apache-2.0" ]
125
2015-01-12T11:28:09.000Z
2021-03-29T09:38:04.000Z
Source/DepthUtils/DepthUtils.cpp
gajgeospatial/OpenNI2-2.2.0.33
86d57aa61bcf1fd96922af1960ab711c2e9c1ed5
[ "Apache-2.0" ]
475
2015-01-02T02:58:01.000Z
2022-02-24T06:53:46.000Z
#include "DepthUtils.h" #include "DepthUtilsImpl.h" struct _DepthUtils { DepthUtilsImpl* pDepthUtils; }; XN_C_API XnStatus DepthUtilsInitialize(DepthUtilsSensorCalibrationInfo* pDepthParameters, DepthUtilsHandle* handle) { *handle = new _DepthUtils; (*handle)->pDepthUtils = new DepthUtilsImpl; XnStatus rc = (*han...
26.515152
153
0.748571
gajgeospatial
de217ef8910caf1b54ec176ad6106edcfeb84a50
8,281
cpp
C++
win/devkit/plug-ins/udpDevice/udpDevice.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
win/devkit/plug-ins/udpDevice/udpDevice.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
win/devkit/plug-ins/udpDevice/udpDevice.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
//- // ========================================================================== // Copyright 2011 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies this s...
25.637771
102
0.665982
leegoonz
de225012c6fd445c0e43e312708646c96b1afeeb
1,212
hpp
C++
FPSWidget.hpp
karol57/HBreakout
edbae192dc8e8dfe564c2e011d9090703b3b0ab0
[ "MIT" ]
null
null
null
FPSWidget.hpp
karol57/HBreakout
edbae192dc8e8dfe564c2e011d9090703b3b0ab0
[ "MIT" ]
null
null
null
FPSWidget.hpp
karol57/HBreakout
edbae192dc8e8dfe564c2e011d9090703b3b0ab0
[ "MIT" ]
null
null
null
// // Created by Karol on 03.09.2016. // #ifndef SDLTEST_FPSWIDGET_HPP #define SDLTEST_FPSWIDGET_HPP #include <SDL_render.h> #include "FontMenager.hpp" #include "SDL_memory.hpp" #include "BasicDTMenager.hpp" class FPSWidget { public: FPSWidget(); ~FPSWidget(); bool init(SDL_Renderer * re...
30.3
103
0.670792
karol57
de22b7f8bd845ae18bf0fcfa8ce2484254f8c5c8
8,187
cpp
C++
LJ2/City.cpp
huwlloyd-mmu/LockdownEngine
34a6c3a797173cfc2ce98b01643c64d4ec3bcec2
[ "MIT" ]
null
null
null
LJ2/City.cpp
huwlloyd-mmu/LockdownEngine
34a6c3a797173cfc2ce98b01643c64d4ec3bcec2
[ "MIT" ]
null
null
null
LJ2/City.cpp
huwlloyd-mmu/LockdownEngine
34a6c3a797173cfc2ce98b01643c64d4ec3bcec2
[ "MIT" ]
null
null
null
#include "City.h" #include "LockdownEngine.h" #include "IsoMap.h" #include "Walkways.h" #include "roads.h" #include "AnimatedSprite.h" #include "DbgPosition.h" #include "Vehicle.h" void CityUpdater::Update(float dt) { city->Update(dt); } int City::GetTextureForTile( int i, int j) { // used for building the base map...
23.938596
183
0.58654
huwlloyd-mmu
de2a411bfc13f4b4ade1f457efb6cbed9069cb98
862
cpp
C++
tutorial/int-vector-tutorial.cpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
20
2017-12-26T16:04:18.000Z
2022-02-09T03:30:13.000Z
tutorial/int-vector-tutorial.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
6
2018-11-12T15:14:24.000Z
2021-04-29T14:07:13.000Z
tutorial/int-vector-tutorial.cpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
4
2018-11-12T14:36:34.000Z
2021-01-26T22:16:32.000Z
#include <sdsl/vectors.hpp> #include <iostream> using namespace sdsl; using namespace std; int main() { std::string tmp_file = "tmp_file.sdsl"; { // generate int_vector and store to a file int_vector<> v = {1,3,5,7,2,3,4,9,8,7,10,1}; store_to_file(v, tmp_file); } { // ...
24.628571
57
0.564965
qPCR4vir
de31047d11b81a9d046f8c5dc54ab30b484a5af9
2,835
cpp
C++
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/lookup_table/lookup_table_kernel_base.cpp
mypopydev/dldt
8cd639116b261adbbc8db860c09807c3be2cc2ca
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/lookup_table/lookup_table_kernel_base.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/lookup_table/lookup_table_kernel_base.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
1
2018-12-05T07:38:25.000Z
2018-12-05T07:38:25.000Z
/* // Copyright (c) 2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
31.5
140
0.646914
mypopydev
de333b37888c0e73722e0359fedeb2c9699e4f33
5,888
cpp
C++
qt/PropertyCrossLib/src/favourites.cpp
isabella232/PropertyCross
7bd2c27b3a43aca88b82a1139cf8f0e3aabd29fc
[ "MIT" ]
310
2015-01-06T13:45:11.000Z
2022-02-11T16:13:35.000Z
qt/PropertyCrossLib/src/favourites.cpp
FelgoSDK/PropertyCross
0ca8a254166e0dbd786ea757d92baa0a7f58e841
[ "MIT" ]
52
2015-01-24T01:06:17.000Z
2019-09-10T13:12:38.000Z
qt/PropertyCrossLib/src/favourites.cpp
FelgoSDK/PropertyCross
0ca8a254166e0dbd786ea757d92baa0a7f58e841
[ "MIT" ]
122
2015-01-12T07:00:38.000Z
2022-02-11T16:13:56.000Z
#include "favourites.h" #include <QSettings> #include <QDebug> #include <QSharedPointer> const QString storageKey = "favouritedProperties"; FavouritesStorage::FavouritesStorage(QObject *parent) : QObject(parent) { } void FavouritesStorage::addNewFavourite(Property property) { // qDebug() << "Want to add new Favou...
33.454545
199
0.713315
isabella232
de3453ed179287a0898b8d9239d2962527ed96f8
475
cpp
C++
2018/2018020401-delta/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2018/2018020401-delta/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2018/2018020401-delta/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> template <class T> void put_delta(const T& delta) { std::cout << "delta: " << std::chrono::duration_cast<std::chrono::milliseconds>(delta).count() << " msec\n"; } int main() { auto last_time = std::chrono::high_resolution_clock::now(); while(s...
21.590909
79
0.591579
maku693
de365768bae3ed3813afcd1a7c91bfeae2d778fe
815
cpp
C++
algae-cppserver/src/main/cpp/colorInverter.cpp
sjzeil/AlgAE
578cbb07c0d2f551d6fe787f96317b3247f0aefd
[ "ECL-1.0" ]
2
2021-03-01T07:56:20.000Z
2021-03-11T02:03:01.000Z
algae-cppserver/src/main/cpp/colorInverter.cpp
sjzeil/AlgAE
578cbb07c0d2f551d6fe787f96317b3247f0aefd
[ "ECL-1.0" ]
null
null
null
algae-cppserver/src/main/cpp/colorInverter.cpp
sjzeil/AlgAE
578cbb07c0d2f551d6fe787f96317b3247f0aefd
[ "ECL-1.0" ]
null
null
null
/** * colorInverer.cpp * * An object renderer used to change the color of an object to a complementary color * (generally used in highlighting) * * Created on: Aug 13, 2012 * Author: zeil */ #include <algae/memoryModel/activationStack.h> #include <algae/memoryModel/memoryModel.h> #include <algae/ren...
17.717391
85
0.70184
sjzeil
de3747a4a86e8da35200e4423abafea6e51d2228
2,451
hpp
C++
cuda/buffer.hpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
cuda/buffer.hpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
cuda/buffer.hpp
josephwinston/hpxcl
ebd18f245beea46be943ffa22e2fb8145b0b2836
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2013 Damond Howard // // 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 #if !defined(BUFFER_1_HPP) #define BUFFER_1_HPP #include <hpx/include/components.hpp> #include <hpx/util/serialize_buffer.hpp>...
31.423077
95
0.491228
josephwinston
de37ade73a134d07eb5b53f89623cb9a60638d19
3,555
cpp
C++
bob/blitz/examples/bob.example.extension/bob/example/extension/main.cpp
bioidiap/bob.blitz
348d7cf3866b549cac576efc3c6f3df24245d9fd
[ "BSD-3-Clause" ]
null
null
null
bob/blitz/examples/bob.example.extension/bob/example/extension/main.cpp
bioidiap/bob.blitz
348d7cf3866b549cac576efc3c6f3df24245d9fd
[ "BSD-3-Clause" ]
6
2015-01-01T09:15:28.000Z
2016-10-20T08:09:26.000Z
bob/blitz/examples/bob.example.extension/bob/example/extension/main.cpp
bioidiap/bob.blitz
348d7cf3866b549cac576efc3c6f3df24245d9fd
[ "BSD-3-Clause" ]
3
2015-08-05T12:16:45.000Z
2018-02-01T19:55:40.000Z
// include directly and indirectly dependent libraries #ifdef NO_IMPORT_ARRAY #undef NO_IMPORT_ARRAY #endif #include <bob.blitz/cppapi.h> #include <bob.blitz/cleanup.h> #include <bob.extension/documentation.h> // declare C++ function extern blitz::Array<double,1> reverse (const blitz::Array<double,1>&); // use the d...
29.87395
107
0.688326
bioidiap
de37e23b404644f88403c2cdf810f7fd060d7492
5,186
cpp
C++
samples/SpeechRecognition/src/Main.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
856
2018-03-09T17:26:23.000Z
2022-03-24T21:31:33.000Z
samples/SpeechRecognition/src/Main.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
623
2018-03-13T04:40:42.000Z
2022-03-31T09:45:17.000Z
samples/SpeechRecognition/src/Main.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
284
2018-03-09T23:05:28.000Z
2022-03-29T14:42:28.000Z
// // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include <iostream> #include <map> #include <vector> #include <algorithm> #include <cmath> #include "CmdArgsParser.hpp" #include "ArmnnNetworkExecutor.hpp" #include "AudioCapture.hpp" #include "Preprocess.hpp" #inc...
33.031847
115
0.60297
sahilbandar
de3947086780d2058509bfee647d1b3d1cb5fa2a
192
cpp
C++
Tests/TestProjects/VS2010/C++/DynamicallyLinkedLibrary/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
Tests/TestProjects/VS2010/C++/DynamicallyLinkedLibrary/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
Tests/TestProjects/VS2010/C++/DynamicallyLinkedLibrary/App/main.cpp
veganaize/make-it-so
e1f8a0c6c372891dfda3a807e80f3797efdc4a99
[ "MIT" ]
null
null
null
#include <TextUtils.h> #include <stdio.h> int main(int argc, char** argv) { std::string message = TextUtils::getHello() + ", " + TextUtils::getWorld(); printf(message.c_str()); }
19.2
77
0.625
veganaize
de39e298f8f3c1a4fbbcf8a676f6e1c75e8ca450
5,173
hpp
C++
game_of_life/game_state.hpp
lyrahgames/cpp-basics-game-of-life
380b1c017ceaf7115a3823d0fad62057ff64a981
[ "MIT" ]
null
null
null
game_of_life/game_state.hpp
lyrahgames/cpp-basics-game-of-life
380b1c017ceaf7115a3823d0fad62057ff64a981
[ "MIT" ]
null
null
null
game_of_life/game_state.hpp
lyrahgames/cpp-basics-game-of-life
380b1c017ceaf7115a3823d0fad62057ff64a981
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <vector> namespace game_of_life { struct game_state { // enum type : int { dead = 0, alive = 1 }; using type = int; game_state() = default; game_state(const game_state&) = default; game_state& operator=(const game_state&) = default; game_state(game_state&&) = de...
41.055556
80
0.522521
lyrahgames
de3ad56f462be51279a3429a2fc808c49d08e857
3,087
cc
C++
window.cc
oliviazhouyumeng/groupProject
1fad68cb9ebc170329232b41dfd5d5f8de34ffdc
[ "MIT" ]
null
null
null
window.cc
oliviazhouyumeng/groupProject
1fad68cb9ebc170329232b41dfd5d5f8de34ffdc
[ "MIT" ]
null
null
null
window.cc
oliviazhouyumeng/groupProject
1fad68cb9ebc170329232b41dfd5d5f8de34ffdc
[ "MIT" ]
null
null
null
#include <X11/Xlib.h> #include <X11/Xutil.h> #include <iostream> #include <cstdlib> #include <string> #include <sstream> #include <unistd.h> #include "window.h" using namespace std; Xwindow::Xwindow(int width, int height): width(width), height(height) { d = XOpenDisplay(NULL); if (d == NULL) { cerr << "Canno...
28.063636
117
0.622287
oliviazhouyumeng
de3bec25f21e5bb934ec30f862a9c8ee161c5082
3,366
hpp
C++
Support/Modules/PropertyOperations/StaticBuiltInPropertyDefinitionContainer.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/PropertyOperations/StaticBuiltInPropertyDefinitionContainer.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/PropertyOperations/StaticBuiltInPropertyDefinitionContainer.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
// Contact person: KiP #ifndef STATIC_BUILTIN_PROPERTY_DEFINITION_CONTAINER_HPP #define STATIC_BUILTIN_PROPERTY_DEFINITION_CONTAINER_HPP #pragma once // === Includes ======================================================================================================== // from GSRoot #include "HashTable.hpp" #incl...
46.109589
212
0.746583
graphisoft-python
de3ddcc2248bd9c3ad91d8d9733418bb008a6bde
19,483
cc
C++
tools/gn/functions.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2018-11-24T07:58:44.000Z
2019-02-22T21:02:46.000Z
tools/gn/functions.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/gn/functions.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright (c) 2013 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 "tools/gn/functions.h" #include <iostream> #include "base/strings/string_util.h" #include "tools/gn/config.h" #include "tools/gn/config_val...
35.48816
80
0.619155
MIPS
de40a4e876c53284eeb445b1c477abef7aa9e6ab
1,144
cpp
C++
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonSystem.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
257
2020-01-03T10:13:29.000Z
2022-03-26T14:55:12.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonSystem.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
116
2020-01-09T18:13:13.000Z
2022-03-15T18:32:02.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/SingletonSystem.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
58
2020-01-09T03:07:02.000Z
2022-03-22T17:21:36.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "generators/include/python_CEGUI.h" #include "SingletonSystem.pypp.hpp" namespace bp = boost::python; void register_SingletonSystem_class(){ { //::CEGUI::Singleton< CEGUI::System > typedef bp::class_< CEGUI::Singleton< CEGUI::...
38.133333
122
0.652972
OpenTechEngine-Libraries
de456200b44abe2e3058c548d0d19f3e0a65ba27
1,372
hpp
C++
include/trifinger_object_tracking/base_object_tracker_backend.hpp
open-dynamic-robot-initiative/trifinger_object_tracking
d57cd6abcd880c228b4e26a8b8deeaea55d32828
[ "BSD-3-Clause" ]
6
2020-11-03T12:58:54.000Z
2022-01-05T23:39:52.000Z
include/trifinger_object_tracking/base_object_tracker_backend.hpp
open-dynamic-robot-initiative/trifinger_object_tracking
d57cd6abcd880c228b4e26a8b8deeaea55d32828
[ "BSD-3-Clause" ]
1
2020-12-03T10:06:13.000Z
2020-12-03T10:06:13.000Z
include/trifinger_object_tracking/base_object_tracker_backend.hpp
open-dynamic-robot-initiative/trifinger_object_tracking
d57cd6abcd880c228b4e26a8b8deeaea55d32828
[ "BSD-3-Clause" ]
5
2020-11-12T00:43:41.000Z
2021-05-21T14:21:25.000Z
/** * @file * @copyright 2020, Max Planck Gesellschaft. All rights reserved. */ #pragma once #include <atomic> #include <string> #include <thread> #include "object_pose.hpp" #include "object_tracker_data.hpp" namespace trifinger_object_tracking { /** * @brief Base class for object tracker. * * Implements the ...
23.655172
75
0.687318
open-dynamic-robot-initiative
de4b8434cb3eac3a607fc6cba057e474216de748
599
hpp
C++
addons/backpacks/bussole/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
addons/backpacks/bussole/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
addons/backpacks/bussole/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
class TFAR_bussole: TFAR_Bag_Base { scope = PUBLIC; scopeCurator = PUBLIC; author = "Raspu"; displayName = CSTRING(Bussole); descriptionShort = CSTRING(Bussole_Desc); picture = QPATHTOF(bussole\ui\bussole_icon.paa); maximumLoad = 30; mass = 120; model=QPATHTOF(models\tf_bussole); ...
33.277778
87
0.69783
MrDj200
de4dd61dc1638c358b5572200d923f6face332a6
2,012
cpp
C++
A3/code/version5/version5.cpp
XiaoLing12138/cppwork
ffad5db10d4e839c11275c1b63014d35651e2921
[ "MIT" ]
null
null
null
A3/code/version5/version5.cpp
XiaoLing12138/cppwork
ffad5db10d4e839c11275c1b63014d35651e2921
[ "MIT" ]
null
null
null
A3/code/version5/version5.cpp
XiaoLing12138/cppwork
ffad5db10d4e839c11275c1b63014d35651e2921
[ "MIT" ]
null
null
null
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <iostream> #include <cstdio> #include <fstream> #include <iomanip> #include <ctime> #include <chrono> #include <thread> #include <malloc.h> #include <stdlib.h> using namespace std; int n; __global__ void vec_dot(float* a, float* b, double* resu...
22.10989
84
0.524354
XiaoLing12138
de4e5ac779e45c7e26d9b10770a48b0768ec57c2
248
cpp
C++
2017/J2.cpp
areskng/CCC
9069356d74f256898427714940581601bbcfeda3
[ "MIT" ]
null
null
null
2017/J2.cpp
areskng/CCC
9069356d74f256898427714940581601bbcfeda3
[ "MIT" ]
null
null
null
2017/J2.cpp
areskng/CCC
9069356d74f256898427714940581601bbcfeda3
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int N , K ; cin >> N >> K; int shiftySum = N; for (int i = 0; i < K ; i++){ N = N * 10; shiftySum += N; } cout << shiftySum << endl; return 0; }
12.4
33
0.447581
areskng
de51159260fdac889efbf043283d35fcb7663c9d
10,902
cpp
C++
PhaseCongruency/phase.cpp
RamilKadyrov/PhaseCongruency
381c84531d8220357494415cb22f6f34f90013f5
[ "Unlicense" ]
11
2018-08-04T00:57:14.000Z
2022-03-29T09:50:37.000Z
PhaseCongruency/phase.cpp
RamilKadyrov/PhaseCongruency
381c84531d8220357494415cb22f6f34f90013f5
[ "Unlicense" ]
null
null
null
PhaseCongruency/phase.cpp
RamilKadyrov/PhaseCongruency
381c84531d8220357494415cb22f6f34f90013f5
[ "Unlicense" ]
10
2019-04-11T13:52:43.000Z
2021-12-31T08:26:21.000Z
#include "phase.h" #include <opencv2/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <vector> #define _USE_MATH_DEFINES #include <math.h> using namespace cv; // Rearrange the quadrants of Fourier image so that the origin is at // the image center void shiftDFT(InputArray _src, OutputArray _dst) { M...
30.623596
106
0.55953
RamilKadyrov
de54ac3b20092b165d30411661e8482be38a2b76
4,402
cpp
C++
Intro/program9/diamondJasonDowning.cpp
JasonD94/HighSchool
e37bb56b8149acc87cdb5e37ea619ab6db58fc29
[ "MIT" ]
null
null
null
Intro/program9/diamondJasonDowning.cpp
JasonD94/HighSchool
e37bb56b8149acc87cdb5e37ea619ab6db58fc29
[ "MIT" ]
null
null
null
Intro/program9/diamondJasonDowning.cpp
JasonD94/HighSchool
e37bb56b8149acc87cdb5e37ea619ab6db58fc29
[ "MIT" ]
null
null
null
#include <iostream.h> //in/out put #include <math.h> //math stuff like fabs (absolute value) main() { // So. Many. Comments... char a; //the char variable for the symbol int b,c,d,e,f; //variables for the for loops int x = 1; //variable for the do-while loop do...
34.124031
142
0.449796
JasonD94
de5665d9719557ebf23390bdc7d752e79ac983ef
12,381
cpp
C++
src/Native/libcryptonight/xmrig/crypto/astrobwt/AstroBWT.cpp
afiniel/miningcore
6fa7d3b1d6c85060984116d8161da0f5d384a70f
[ "MIT" ]
75
2021-12-08T11:33:26.000Z
2022-03-30T07:26:12.000Z
src/Native/libcryptonight/xmrig/crypto/astrobwt/AstroBWT.cpp
afiniel/miningcore
6fa7d3b1d6c85060984116d8161da0f5d384a70f
[ "MIT" ]
86
2021-12-08T14:13:56.000Z
2022-03-31T16:57:10.000Z
src/Native/libcryptonight/xmrig/crypto/astrobwt/AstroBWT.cpp
afiniel/miningcore
6fa7d3b1d6c85060984116d8161da0f5d384a70f
[ "MIT" ]
67
2021-12-07T21:44:12.000Z
2022-03-31T12:12:03.000Z
/* XMRig * Copyright (c) 2018 Lee Clagett <https://github.com/vtnerd> * Copyright (c) 2018-2019 tevador <tevador@gmail.com> * Copyright (c) 2000 Transmeta Corporation <https://github.com/intel/msr-tools> * Copyright (c) 2004-2008 H. Peter Anvin <https://github.co...
27.331126
152
0.612875
afiniel
de5bbe752d78eb8b6929fb9968948893409902d0
2,201
hpp
C++
src/core/screensnapshot.hpp
Wiladams/vdj
83a0f083e78955d83717e6008449a252d5b32766
[ "MIT" ]
null
null
null
src/core/screensnapshot.hpp
Wiladams/vdj
83a0f083e78955d83717e6008449a252d5b32766
[ "MIT" ]
null
null
null
src/core/screensnapshot.hpp
Wiladams/vdj
83a0f083e78955d83717e6008449a252d5b32766
[ "MIT" ]
null
null
null
#pragma once // ScreenSnapshot // // Take a snapshot of a portion of the screen and hold // it in a PixelMap (User32PixelMap) // A sampler2D interface is also provided so you can // either use the pixel oriented 'get()' function, or the // parametric 'getValue()' function. // // When constructed, a single snapshot is...
30.150685
106
0.626988
Wiladams
de5c54781385414af25a42e5ffc17dc351c02816
1,636
cc
C++
Framework/AppFilterModule.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
Framework/AppFilterModule.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
Framework/AppFilterModule.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: AppFilterModule.cc 509 2010-01-14 15:18:55Z stroili $ // // Description: // Class AppFilterModule. This is the abstract parent for filter // modules, modules that can terminate processing of a sequence...
22.410959
76
0.52445
brownd1978
de5d7f7ee32aa2f3ae34ad93bfee41aefbd16919
686
cc
C++
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.6-make-pair.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.6-make-pair.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.6-make-pair.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
#include <utility> #include <type_traits> int main() { auto b = std::make_pair(1, 2); } // C++98 template<typename T1, typename T2> std::pair<T1, T2> make_pair_98(T1 const& a, T2 const& b) { return std::pair<T1, T2>(a, b); } // C++03 template<typename T1, typename T2> std::pair<T1, T2> make_pair_03(T1 a, T2 b) {...
21.4375
56
0.604956
RingZEROtlf
de5df6535c5d8f100095ecf25fe2975f22b88ec7
5,108
cpp
C++
sfxvst/sfx_Flanger/SfxFlanger.cpp
Nocorupe/SimpleFxVst
a7e3a623dfa27d81c2d38c4a5a96b6c2364d486c
[ "MIT" ]
1
2021-12-12T19:45:05.000Z
2021-12-12T19:45:05.000Z
sfxvst/sfx_Flanger/SfxFlanger.cpp
Nocorupe/SimpleFxVst
a7e3a623dfa27d81c2d38c4a5a96b6c2364d486c
[ "MIT" ]
null
null
null
sfxvst/sfx_Flanger/SfxFlanger.cpp
Nocorupe/SimpleFxVst
a7e3a623dfa27d81c2d38c4a5a96b6c2364d486c
[ "MIT" ]
null
null
null
 #include "SfxFlanger.h" #define _USE_MATH_DEFINES #include <math.h> #include <stdio.h> #include <memory> std::unique_ptr<SfxFlanger> gFxUniquePtr; AudioEffect* createEffectInstance(audioMasterCallback audioMaster) { gFxUniquePtr = std::unique_ptr<SfxFlanger>(new SfxFlanger(audioMaster)); return gFxUni...
24.09434
108
0.667972
Nocorupe
de67ebe2141055a6c200a5875c016bdf673d9af6
733
hxx
C++
include/osram/extractor/files.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
1
2021-01-25T11:07:22.000Z
2021-01-25T11:07:22.000Z
include/osram/extractor/files.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
null
null
null
include/osram/extractor/files.hxx
ambasta/osram
5415b73292e1387fb1dbcab58296ea6fefab9075
[ "BSD-2-Clause" ]
null
null
null
#ifndef OSRAM_EXTRACTOR_FILES #define OSRAM_EXTRACTOR_FILES #include <filesystem> #include <osram/extractor/node_data_container.hxx> #include <osram/extractor/profile_properties.hxx> #include <osram/storage/serialization.hxx> #include <osram/storage/tar.hxx> namespace osram { namespace extractor { namespace files { ...
28.192308
73
0.751705
ambasta
de6960343dfc4513b199bed8fc9e5a682937c549
3,616
cpp
C++
mp/src/game/server/Mod/SF132_ItemRegister.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
7
2019-02-04T01:17:26.000Z
2022-02-26T21:36:34.000Z
mp/src/game/server/Mod/SF132_ItemRegister.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
11
2016-05-06T22:44:46.000Z
2016-05-06T22:45:03.000Z
mp/src/game/server/Mod/SF132_ItemRegister.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
2
2016-06-28T11:34:53.000Z
2017-04-01T18:08:46.000Z
/* ***** BEGIN LICENSE BLOCK ***** Version: MPL 1.1/LGPL 2.1/GPL 2.0 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with ... for the specific language governing rights and limitations under the License. The Original Code...
23.633987
111
0.674502
hekar
de6a865510bff7146a8b1fde4fd708a98e360331
1,106
cpp
C++
Medium/Sort Characters By Frequency.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Sort Characters By Frequency.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Sort Characters By Frequency.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
class Solution { //Runtime: 8 ms, faster than 96.15% of C++ online submissions for Sort Characters By Frequency. public: static bool chck(pair<char,int> &a, pair<char,int> &b) //Comaparator sort function { return a.second > b.second; //Descending ordder ...
33.515152
122
0.432188
TheCodeAlpha26
de6e132c89ff896498b5d1182eba329eae647b4d
3,116
cpp
C++
Programs/QuickEd/Classes/UI/Dialogs/TableEditorDialog.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/QuickEd/Classes/UI/Dialogs/TableEditorDialog.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/QuickEd/Classes/UI/Dialogs/TableEditorDialog.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "UI/Dialogs/TableEditorDialog.h" #include "FileSystem/LocalizationSystem.h" #include <QStandardItemModel> using namespace DAVA; TableEditorDialog::TableEditorDialog(const QString& values_, const QList<QString>& header_, QWidget* parent) : QDialog(parent) , header(header_) , values(values_) { ...
25.540984
108
0.55199
stinvi
de705bbc96aa23ef890c778e8e602b45300a3394
645
cpp
C++
Playground3D/App.cpp
VasilStamatov/GraphicsLearning
8cf5dc57fedd809066472e96c8182153a1fa54d9
[ "MIT" ]
null
null
null
Playground3D/App.cpp
VasilStamatov/GraphicsLearning
8cf5dc57fedd809066472e96c8182153a1fa54d9
[ "MIT" ]
null
null
null
Playground3D/App.cpp
VasilStamatov/GraphicsLearning
8cf5dc57fedd809066472e96c8182153a1fa54d9
[ "MIT" ]
null
null
null
#include "App.h" #include <GameEngine\ScreenList.h> App::App() { } App::~App() { } // called on initialization void App::OnInit() { //set up the variables for the window creation m_gameName = "3D Playground"; m_screenWidth = 960; m_screenHeight = 540; m_windowFlags = GameEngine::WindowC...
18.970588
66
0.68062
VasilStamatov
de72963195858189b527e4600f49728cba336348
2,930
cpp
C++
Long/03_20/ADASHOP2.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
1
2020-04-12T01:39:10.000Z
2020-04-12T01:39:10.000Z
Long/03_20/ADASHOP2.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
Long/03_20/ADASHOP2.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
/* Contest: CodeChef March 2020 Long challange Problem link: https://www.codechef.com/MARCH20B/problems/ADASHOP2 Author: Vinay Somawat Author's Webpage: http://vinaysomawat.github.io/ */ #include<bits/stdc++.h> #define ll long long int using namespace std; bool isSafe(int r, int c) { if(r>0 && r<...
21.703704
69
0.468259
vinaysomawat
de7382be2a8eea4fe78bf201be74ebedba966187
2,793
hpp
C++
libs/MPILib/include/DelayAssemblyParameter.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
13
2015-09-15T17:28:25.000Z
2022-03-22T20:26:47.000Z
libs/MPILib/include/DelayAssemblyParameter.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
libs/MPILib/include/DelayAssemblyParameter.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
9
2015-09-14T20:52:07.000Z
2022-03-08T12:18:18.000Z
// Copyright (c) 2005 - 2012 Marc de Kamps // 2012 David-Matthias Sichau // 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 copyr...
37.24
162
0.745077
dekamps
de750fa3988e07a6ad01a5ea636cda5429113f3c
882
cpp
C++
Number_Theory/Uva11582_Colossal_Fibonacci_Numbers.cpp
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
1
2017-03-27T13:38:37.000Z
2017-03-27T13:38:37.000Z
Number_Theory/Uva11582_Colossal_Fibonacci_Numbers.cpp
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
null
null
null
Number_Theory/Uva11582_Colossal_Fibonacci_Numbers.cpp
ChuanleiGuo/AlgorithmsPlayground
90b6287b742c8bfd3797540c408d679be2821a40
[ "MIT" ]
null
null
null
#include<cstdio> #include<iostream> using namespace std; typedef unsigned long long ull; int pow_mod(ull a, ull b, int m) { int ret = 1; while (b) { if (b & 1) { ret *= a; ret %= m; } a *= a; a %= m; b >>= 1; } return ret; } void solve(...
16.961538
47
0.35034
ChuanleiGuo
de75eda945cd0cd21c48c67486bce94126bd79e0
657
cpp
C++
1 semester/hw9/9.2/main.cpp
ZaicevDima/HW-144.math.spbu
04b90500d31848629c76f531c2fdd722cc253fd7
[ "Apache-2.0" ]
null
null
null
1 semester/hw9/9.2/main.cpp
ZaicevDima/HW-144.math.spbu
04b90500d31848629c76f531c2fdd722cc253fd7
[ "Apache-2.0" ]
22
2017-12-04T10:02:52.000Z
2018-06-13T09:05:55.000Z
1 semester/hw9/9.2/main.cpp
ZaicevDima/HW-144.math.spbu
04b90500d31848629c76f531c2fdd722cc253fd7
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <string.h> #include "huffman.h" using namespace std; int main() { ifstream fin("input.txt"); ofstream fout("output.txt"); if (!fin.good()) { cout << "error don't open file"; return 1; } char* string = new char[maxSize]{}; ch...
17.289474
41
0.541857
ZaicevDima
de7c4a2ae99c3b06f7bb0d7ee2d1e1fa7b112460
711
cpp
C++
transform3d.cpp
shadown/heap_history_viewer
bb51da640324df5637842d0250f1c741559d1d69
[ "MIT" ]
1
2021-08-03T21:06:09.000Z
2021-08-03T21:06:09.000Z
transform3d.cpp
whitehat42/heap_history_viewer
64666f57059e29cfc438a1885a0372af2b45c2f4
[ "MIT" ]
2
2019-11-19T10:00:02.000Z
2019-11-21T10:47:05.000Z
transform3d.cpp
whitehat42/heap_history_viewer
64666f57059e29cfc438a1885a0372af2b45c2f4
[ "MIT" ]
1
2019-11-18T23:05:50.000Z
2019-11-18T23:05:50.000Z
#include "transform3d.h" Transform3D::Transform3D() : dirty_(true), scale_(1.0, 1.0, 1.0) { } void Transform3D::translate(const QVector3D &dt) { dirty_ = true; translation_ += dt; } void Transform3D::scale(const QVector3D &ds) { dirty_ = true; scale_ *= ds; } void Transform3D::rotate(float angle, const QVec...
20.314286
70
0.682138
shadown
de805ada175db0cc2fe63b6332fcc67e902ffb01
526
cpp
C++
task3.cpp
Hung150/lab12
5065a9285295cf29aba089b2d6beff24bc5a538c
[ "Apache-2.0" ]
null
null
null
task3.cpp
Hung150/lab12
5065a9285295cf29aba089b2d6beff24bc5a538c
[ "Apache-2.0" ]
null
null
null
task3.cpp
Hung150/lab12
5065a9285295cf29aba089b2d6beff24bc5a538c
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<math.h> using namespace std; double rings(double r1,double r2){ return 3.14*(pow(r1,2)-pow(r2,2)); } int main(){ double r1,r2; cout<<"enter radius r1(r1>0): "; cin>>r1; cout<<"enter radius r2(0<r2<r1): "; cin>>r2; if(r1<0||r2<0){ cout<<"error(please enter r...
30.941176
103
0.579848
Hung150
de81aacd7516ae5cae0e7e196403419b5bfb8d2c
46
hpp
C++
src/boost_graph_parallel_algorithm.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_graph_parallel_algorithm.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_graph_parallel_algorithm.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/graph/parallel/algorithm.hpp>
23
45
0.804348
miathedev
de86830a5a60a58a358aade6bf361a086f06c32d
4,904
cc
C++
vm_apps/http_server/net-errors-win.cc
metahashorg/v8_vm
0d2ca034d48cc4b796ddb52730ebc06ed21509ab
[ "BSD-3-Clause" ]
1
2019-04-25T17:50:34.000Z
2019-04-25T17:50:34.000Z
vm_apps/http_server/net-errors-win.cc
metahashorg/v8_vm
0d2ca034d48cc4b796ddb52730ebc06ed21509ab
[ "BSD-3-Clause" ]
null
null
null
vm_apps/http_server/net-errors-win.cc
metahashorg/v8_vm
0d2ca034d48cc4b796ddb52730ebc06ed21509ab
[ "BSD-3-Clause" ]
1
2018-11-28T07:47:41.000Z
2018-11-28T07:47:41.000Z
// Copyright (c) 2012 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. // // Copyright 2018 the MetaHash project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // fo...
41.559322
82
0.702896
metahashorg
de86ca5f5d9bf0719c88a0a1cf36e4e6569b20d0
966
hpp
C++
include/algorithms/hamming_distance.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
null
null
null
include/algorithms/hamming_distance.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
1
2015-10-06T13:03:30.000Z
2015-10-06T13:03:30.000Z
include/algorithms/hamming_distance.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
2
2015-11-05T11:20:06.000Z
2019-04-04T14:26:44.000Z
// hamming_distance.hpp // Copyright 2017 Michele Schimd // 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 applicabl...
25.421053
75
0.740166
skimmy
de8d08cf5179a139cd5e204002a6aed961f510ca
3,364
cpp
C++
src/lib/HNReqWaitQueue.cpp
nottberg/libhnode2
51eef81213c3ead4edcb3d838bbb5773efbc7ca4
[ "MIT" ]
null
null
null
src/lib/HNReqWaitQueue.cpp
nottberg/libhnode2
51eef81213c3ead4edcb3d838bbb5773efbc7ca4
[ "MIT" ]
null
null
null
src/lib/HNReqWaitQueue.cpp
nottberg/libhnode2
51eef81213c3ead4edcb3d838bbb5773efbc7ca4
[ "MIT" ]
null
null
null
#include <unistd.h> #include <sys/eventfd.h> #include <iostream> #include <thread> #include <chrono> #include "HNReqWaitQueue.h" using namespace std::chrono_literals; HNReqWaitAction::HNReqWaitAction() { } HNReqWaitAction::~HNReqWaitAction() { } void HNReqWaitAction::prepare() { // Setup to begin waiting ...
18.585635
116
0.611177
nottberg
de8d684642e6008076e9bdc98f7e5965218a7034
4,711
cpp
C++
cetty-shiro/src/cetty/shiro/authc/WSSE.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
26
2015-11-08T10:58:21.000Z
2021-02-25T08:27:26.000Z
cetty-shiro/src/cetty/shiro/authc/WSSE.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
1
2019-02-18T08:46:17.000Z
2019-02-18T08:46:17.000Z
cetty-shiro/src/cetty/shiro/authc/WSSE.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
8
2016-02-27T02:37:10.000Z
2021-09-29T05:25:00.000Z
/* * WSSE.cpp * * Created on: 2012-9-25 * Author: chenhl */ #include <cetty/shiro/authc/WSSE.h> #include <soci/soci.h> #include <soci/sqlite3/soci-sqlite3.h> #include <cetty/logging/LoggerHelper.h> #include <cetty/config/ConfigCenter.h> #include <cetty/util/StringUtil.h> namespace cetty { namespace shiro...
23.437811
70
0.558692
frankee
de947f74886394776c0b220f387e9fac2269f455
1,170
cpp
C++
Crisp/Renderer/VulkanBufferUtils.cpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
6
2017-09-14T03:26:49.000Z
2021-09-18T05:40:59.000Z
Crisp/Renderer/VulkanBufferUtils.cpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
Crisp/Renderer/VulkanBufferUtils.cpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
#include "VulkanBufferUtils.hpp" namespace crisp { std::unique_ptr<VulkanBuffer> createStagingBuffer(VulkanDevice* device, VkDeviceSize size, const void* data) { auto stagingBuffer = std::make_unique<VulkanBuffer>(device, size, VK_BUFFER_USAGE_TRANSFER_SRC_BIT, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT); ...
48.75
145
0.770085
FallenShard
de97ac6bdada7f6b922d4efa8c87b7f19761eeb8
7,252
hpp
C++
include/float12.hpp
eruffaldi/cppPos
d8e8af5215f45658bdafff385d0062ee212ecc3b
[ "BSD-3-Clause" ]
31
2018-07-04T08:45:18.000Z
2022-02-12T11:16:34.000Z
include/float12.hpp
eruffaldi/cppposit
d8e8af5215f45658bdafff385d0062ee212ecc3b
[ "BSD-3-Clause" ]
2
2018-10-28T12:00:41.000Z
2020-02-11T18:35:52.000Z
include/float12.hpp
eruffaldi/cppPosit
d8e8af5215f45658bdafff385d0062ee212ecc3b
[ "BSD-3-Clause" ]
2
2018-02-01T14:34:37.000Z
2018-06-22T18:07:11.000Z
/** * Copyright (C) 2017-2019 Emanuele Ruffaldi * Distributed under the terms of the BSD 3-Clause License. * * (See accompanying file LICENSE) * * -- */ #include <stdbool.h> #include <stdint.h> #include "platform.h" #include "internals.h" #include "specialize.h" #include "softfloat.h" struct ui12_f12 { }; ...
32.088496
100
0.405543
eruffaldi
de97d47313d638e4dccaeadd4374682077b373dd
6,576
hpp
C++
rete-reasoner/NodeBuilderHelper.hpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
1
2021-12-04T21:29:04.000Z
2021-12-04T21:29:04.000Z
rete-reasoner/NodeBuilderHelper.hpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
null
null
null
rete-reasoner/NodeBuilderHelper.hpp
sempr-tk/rete
a6fd29f50f9e6a259d40ac0850acff7874ccdba0
[ "BSD-3-Clause" ]
null
null
null
#ifndef RETE_PARSER_NODE_BUILDER_HELPER_HPP_ #define RETE_PARSER_NODE_BUILDER_HELPER_HPP_ #include <type_traits> #include "Argument.hpp" #include "../rete-core/Util.hpp" #include "../rete-core/builtins/NumberToNumberConversion.hpp" #include "../rete-core/builtins/NumberToStringConversion.hpp" namespace rete { namespa...
27.982979
83
0.613747
sempr-tk
de9847be95d64b33763b0713218bb0de959832da
435
hpp
C++
Miracle/src/Miracle/Graphics/Implementations/Vulkan/Queue.hpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
Miracle/src/Miracle/Graphics/Implementations/Vulkan/Queue.hpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
3
2021-12-10T23:19:29.000Z
2022-03-27T05:04:14.000Z
Miracle/src/Miracle/Graphics/Implementations/Vulkan/Queue.hpp
McFlyboy/Miracle
03a41bb8e24ecf2dfc18b5e3aee964640ec9a593
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include "Vulkan.hpp" namespace Miracle::Graphics::Implementations::Vulkan { class Queue { protected: vk::raii::Queue m_queue; Queue() : m_queue(nullptr) {} Queue( const vk::raii::Device& device, uint32_t queueFamilyIndex ) : m_queue(device.getQueue(queueFamilyInd...
16.111111
54
0.675862
McFlyboy
de9ca1442df3e923335d260ab7ce61e4ec6f2e0f
4,712
cpp
C++
Samples/HomeGroup/cpp/Scenario4_SearchUser.xaml.cpp
aspexkz/aspex1
157c9eb6127947e71458e473eb796f9585bc248e
[ "MIT" ]
3
2018-11-08T07:00:42.000Z
2019-01-09T12:16:07.000Z
Samples/HomeGroup/cpp/Scenario4_SearchUser.xaml.cpp
aspexkz/aspex1
157c9eb6127947e71458e473eb796f9585bc248e
[ "MIT" ]
4
2018-12-14T21:21:27.000Z
2019-01-07T20:15:17.000Z
Samples/HomeGroup/cpp/Scenario4_SearchUser.xaml.cpp
aspexkz/aspex1
157c9eb6127947e71458e473eb796f9585bc248e
[ "MIT" ]
2
2020-07-13T03:05:00.000Z
2021-08-11T15:16:12.000Z
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "Scenario4_SearchUser.xaml.h" using namespace SDKTemplate; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using namespace Windows:...
39.266667
163
0.627122
aspexkz
dea0792a88eb78219e2d6e9c62cddbfca0b6b7de
2,635
cpp
C++
tutorials/developers/tutorial_05/tutorial_05.cpp
BHafsa/tiramisu
555f48f38b7f3460819d1999e7af5c89457a4c58
[ "MIT" ]
null
null
null
tutorials/developers/tutorial_05/tutorial_05.cpp
BHafsa/tiramisu
555f48f38b7f3460819d1999e7af5c89457a4c58
[ "MIT" ]
null
null
null
tutorials/developers/tutorial_05/tutorial_05.cpp
BHafsa/tiramisu
555f48f38b7f3460819d1999e7af5c89457a4c58
[ "MIT" ]
null
null
null
#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <tiramisu/debug.h> #include <tiramisu/core.h> #include <string.h> #include <Halide.h> /* Sequence of computations. for (i = 0; i < M; i++) S0(i) =...
27.164948
89
0.488805
BHafsa
dea34400b4aaaf9ba105d0b284c51f04ff3eedc7
3,113
hh
C++
src/hkl_controls.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/hkl_controls.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
null
null
null
src/hkl_controls.hh
maciejwlodek/blend
00c892363876692c5370def0e37a106ad5f7b07e
[ "BSD-3-Clause" ]
1
2019-01-24T16:14:56.000Z
2019-01-24T16:14:56.000Z
// hkl_controls.hh // // Selection controls for hkl_unmerge #ifndef HKL_CONTROLS_HEADER #define HKL_CONTROLS_HEADER #include "controls.hh" #include "range.hh" #include "InputAll.hh" namespace scala { //=================================================================== class file_select //! Various things to...
38.432099
99
0.685512
maciejwlodek
dea560edb7c7aec08a9d404f2aad886add1b4920
5,430
cc
C++
challenges/Blubber/cb_3/src/client.cc
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
473
2016-08-01T12:48:16.000Z
2022-03-09T18:13:14.000Z
challenges/Blubber/cb_3/src/client.cc
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
71
2016-08-01T03:33:44.000Z
2022-03-09T18:37:04.000Z
challenges/Blubber/cb_3/src/client.cc
pingjuiliao/cb-multios
64ededd0b87030eda7c40c4388a4ad8283712d8e
[ "MIT" ]
121
2016-08-01T04:07:53.000Z
2022-03-07T11:08:09.000Z
/* * Copyright (c) 2015 Kaprica Security, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
23.71179
82
0.604604
pingjuiliao
dea7bc3828a0fd1c254452f7934de920817e39ac
1,811
cc
C++
src/developer/shell/interpreter/test/interpreter_unit_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/shell/interpreter/test/interpreter_unit_tests.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/developer/shell/interpreter/test/interpreter_unit_tests.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <gmock/gmock.h> #include <gtest/gtest.h> #include "src/developer/shell/interpreter/src/interpreter.h" #include "src/developer/shell/interpreter/s...
43.119048
99
0.742131
allansrc
dea7ef91f9c8021c88fc83041fc9a92fbcd754f1
747
cpp
C++
C++ Competitive Programming/Algorithms/TwoPointerMethod.cpp
arcelioeperez/arcelioeperez
105775426e018c0d07238a78a7ceaef29cc715ed
[ "MIT" ]
2
2020-10-31T17:30:48.000Z
2020-11-09T02:29:15.000Z
C++ Competitive Programming/Algorithms/TwoPointerMethod.cpp
arcelioeperez/arcelioeperez
105775426e018c0d07238a78a7ceaef29cc715ed
[ "MIT" ]
null
null
null
C++ Competitive Programming/Algorithms/TwoPointerMethod.cpp
arcelioeperez/arcelioeperez
105775426e018c0d07238a78a7ceaef29cc715ed
[ "MIT" ]
null
null
null
/* Original Version used an array. This version uses a vector. */ #include <iostream> #include <vector> using namespace std; typedef vector<int> vect; bool pairsum(vect v, int X) { //second pointer int j = v.size() - 1; int i = 0; while (i < j) { //pair if (v[i] + v[j] == X) { return 1; ...
14.365385
59
0.516734
arcelioeperez
deab37f51b11de0332db6a699243bbd22acaef35
1,833
cpp
C++
CarreGameEngine/CarreGameEngine/src/AllStatesFSM.cpp
CordellSmith/ICT397Carre
5241a01f6443df8296344ae79e34bc1b1ac08441
[ "MIT" ]
1
2018-03-13T06:16:47.000Z
2018-03-13T06:16:47.000Z
CarreGameEngine/CarreGameEngine/src/AllStatesFSM.cpp
CordellSmith/ICT397Carre
5241a01f6443df8296344ae79e34bc1b1ac08441
[ "MIT" ]
3
2018-03-29T15:31:15.000Z
2018-05-15T05:54:55.000Z
CarreGameEngine/CarreGameEngine/src/AllStatesFSM.cpp
CordellSmith/ICT397Carre
5241a01f6443df8296344ae79e34bc1b1ac08441
[ "MIT" ]
null
null
null
/* * Implementation of AllStatesFSM.h file * Author - Jack Matters */ // Includes #include <iostream> #include "../headers/AllStatesFSM.h" /*****************************************Class Separator******************************************/ void MoveState::Enter(ComputerAI* compAI) { std::cout << "Entering 'Enter' s...
23.5
100
0.577196
CordellSmith
deb0d82febc2596d4bcd0db3983cd2fadc4182ed
1,544
cpp
C++
kernel/src/memory/memory_map.cpp
Andrispowq/HackOS
73b24450281abbbe5f37b8f2c02904d82a255c25
[ "Apache-2.0" ]
10
2020-12-10T16:36:41.000Z
2021-11-08T12:01:05.000Z
kernel/src/memory/memory_map.cpp
Andrispowq/HackOS
73b24450281abbbe5f37b8f2c02904d82a255c25
[ "Apache-2.0" ]
null
null
null
kernel/src/memory/memory_map.cpp
Andrispowq/HackOS
73b24450281abbbe5f37b8f2c02904d82a255c25
[ "Apache-2.0" ]
1
2020-10-02T05:42:21.000Z
2020-10-02T05:42:21.000Z
#include "memory_map.h" #include "memory/bios_memory_type.h" #include "memory/efi_memory_type.h" static MemoryMapEntry* usuableMemory[20]; static uint32_t usuableMemoryType = 0; static bool usuableMemoryGot = 0; extern bool fromUEFI; bool MemoryMap::IsUsuableMemory(size_t index) { if(index >= entryCount) {...
18.60241
55
0.584845
Andrispowq
deb428f530b204f63685a1172ab98bcd7e308361
2,413
cpp
C++
UVa 10305 - Ordering Tasks/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10305 - Ordering Tasks/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10305 - Ordering Tasks/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <cstdio> #include <cstring> #include <cstdlib> #include <cctype> #include <cmath> #include <iostream> #include <utility> #include <fstream> #include <numeric> #include <string> #include <vector> #include <queue> #include <map> #include <algorithm> #include <set> #include <sstream> #include <stack> #include <li...
20.277311
54
0.477828
tadvi
deb634cf7118c2ff1d5b7e9a97a8406c4405a520
286
cpp
C++
docs/tema3/sesion20.10.02/conversion_grados.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
docs/tema3/sesion20.10.02/conversion_grados.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
docs/tema3/sesion20.10.02/conversion_grados.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
// Ejemplo: conversor de grados celsius (centígrados) a farenheit #include <iostream> using namespace std; int main(){ double gradC, gradF; cout << "Que temperatura hace: "; cin >> gradC; gradF = 1.8*gradC + 32; cout << "En grados Farenheit son " << gradF << endl; return 0; }
19.066667
65
0.667832
GabJL
deb6bd218c57480d21d54bf14abbecdc2c58732d
3,169
cpp
C++
544.cpp
aazhbd/solutions02
b74e573d5d44a34c3245eed4faa632e510427d80
[ "MIT" ]
1
2017-03-25T05:22:14.000Z
2017-03-25T05:22:14.000Z
544.cpp
aazhbd/solutions02
b74e573d5d44a34c3245eed4faa632e510427d80
[ "MIT" ]
null
null
null
544.cpp
aazhbd/solutions02
b74e573d5d44a34c3245eed4faa632e510427d80
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> #include <string> #include <map> using namespace std; class UnionFindDisjointSets { public: UnionFindDisjointSets(int size); int findSet(int a); bool isSameSet(int a, int b); void unionSet(int a, int b); int numDisjointSets(); int sizeOfS...
20.445161
87
0.561691
aazhbd
630cfc606e5090d193c3e280724216df7a96a56b
1,685
cpp
C++
engine/generators/crypts/source/PillarCryptLayoutStrategy.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/generators/crypts/source/PillarCryptLayoutStrategy.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/generators/crypts/source/PillarCryptLayoutStrategy.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "PillarCryptLayoutStrategy.hpp" #include "RNG.hpp" #include "PillarGeneratorFactory.hpp" using namespace std; void PillarCryptLayoutStrategy::create_layout(MapPtr map, const tuple<Coordinate, Coordinate, Coordinate>& stair_loc_and_room_boundary) { // Select a pillar type. PillarType pt = static_cast<Pill...
33.039216
154
0.673591
sidav
6313d6ec1736ae6b08c91aa7adbed116bcc8d0f5
16,804
cpp
C++
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/StyleHelper.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/StyleHelper.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Styling/StyleHelper.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <GraphCanvas/Styling/StyleHelper.h> #include <QDebug> namespace GraphCanvas { names...
35.677282
168
0.592478
BreakerOfThings
63140da73bcf510ea41d42276a2f6b513131cc79
4,234
hpp
C++
source/dependencies/colormap/color.hpp
TheGreatRambler/LedStripFun
f4e3ae93e29273433f0a67f392ecab3f78d3891e
[ "MIT" ]
1
2021-04-26T20:51:01.000Z
2021-04-26T20:51:01.000Z
source/dependencies/colormap/color.hpp
TheGreatRambler/LedStripFun
f4e3ae93e29273433f0a67f392ecab3f78d3891e
[ "MIT" ]
null
null
null
source/dependencies/colormap/color.hpp
TheGreatRambler/LedStripFun
f4e3ae93e29273433f0a67f392ecab3f78d3891e
[ "MIT" ]
null
null
null
// colormap -- color palettes, map iterators, grids, and PPM export // Copyright (C) 2018-2019 Jonas Greitemann // // This program 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; either version 2 of the Lic...
33.338583
103
0.570855
TheGreatRambler
6314a22a18065179df18766d83892a75888f2858
1,152
cpp
C++
examples/register_service.cpp
limenghua/modulespp
3c336d3df5f5efe7e99edcac2c36d3b6d6b22c8a
[ "MIT" ]
1
2018-11-01T11:41:11.000Z
2018-11-01T11:41:11.000Z
examples/register_service.cpp
limenghua/modulespp
3c336d3df5f5efe7e99edcac2c36d3b6d6b22c8a
[ "MIT" ]
null
null
null
examples/register_service.cpp
limenghua/modulespp
3c336d3df5f5efe7e99edcac2c36d3b6d6b22c8a
[ "MIT" ]
null
null
null
// // Created by limenghua on 18-3-10. // #include <modulepp/application.h> #include <iostream> #include <memory> #include <ctime> using namespace modulepp; class time_service{ public: virtual std::time_t get_start_time() =0; }; class time_service_imp:public time_service{ public: time_service_imp(){ ...
18.580645
57
0.642361
limenghua
6315589d14120881ac81f0b8b9bdbec8718e3d4a
4,150
cpp
C++
openbarcode-cli/main.cpp
TrevorMellon/openbarcode
bb0be48d28dccf831e46e05d85dea6f48940587a
[ "MIT" ]
40
2016-02-18T18:47:04.000Z
2022-03-22T07:03:33.000Z
openbarcode-cli/main.cpp
TrevorMellon/openbarcode
bb0be48d28dccf831e46e05d85dea6f48940587a
[ "MIT" ]
3
2017-06-23T16:25:08.000Z
2017-10-26T15:54:41.000Z
openbarcode-cli/main.cpp
TrevorMellon/openbarcode
bb0be48d28dccf831e46e05d85dea6f48940587a
[ "MIT" ]
15
2017-06-16T22:36:56.000Z
2021-06-22T07:48:33.000Z
/** -------------------------------------------------------------------------------- - Module : main.cpp - Description : Example of cli usage of 1D and 2D C++ Barcode Library - Author : Tim Zaman, 18-FEB-2016 -------------------------------------------------------------------------------- - Copy...
35.169492
112
0.584096
TrevorMellon
63178a2ba9d5050dfc7584ba675caf28d41f0262
7,805
cpp
C++
starter-stack/rcssserver-15.2.2/src/initsendermonitor.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/rcssserver-15.2.2/src/initsendermonitor.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/rcssserver-15.2.2/src/initsendermonitor.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
// -*-c++-*- /*************************************************************************** initsendermonitor.cpp Classes for sending sense init messages for monitors ------------------- begin : 2007-11-21 copyright ...
25.2589
94
0.501473
InsperDynamics
631794c3d31933f511f1acf9bb05d2fc5e856440
693
cpp
C++
LeetCode/Problems/Algorithms/#1658_MinimumOperationsToReduceXToZero_sol1_greedy_maximum_contiguous_subarray_of_given_sum_O(N)_time_O(N)_extra_space_432ms_168.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#1658_MinimumOperationsToReduceXToZero_sol1_greedy_maximum_contiguous_subarray_of_given_sum_O(N)_time_O(N)_extra_space_432ms_168.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#1658_MinimumOperationsToReduceXToZero_sol1_greedy_maximum_contiguous_subarray_of_given_sum_O(N)_time_O(N)_extra_space_432ms_168.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int minOperations(vector<int>& nums, int x) { const int N = nums.size(); const int EXPECTED_SUM = accumulate(nums.begin(), nums.end(), 0) - x; unordered_map<int, int> pos; int prefSum = 0; pos[prefSum] = -1; int maxSubarraySize = INT_M...
36.473684
89
0.50938
Tudor67
63182e1f2843d9ee43edaaa28df103dd461a1266
2,814
hxx
C++
private/inet/mshtml/src/edit/delcmd.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/src/edit/delcmd.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/src/edit/delcmd.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+------------------------------------------------------------------------ // // File: DelCmd.hxx // // Contents: CDeleteCommand Class. // // History: 07-14-98 ashrafm - moved from edcom.hxx // //------------------------------------------------------------------------- #ifndef _DELCMD_HXX_ #d...
26.54717
101
0.525942
King0987654
631af9ca41bb18bc92ef33281eda22d6f060dbb5
812
hpp
C++
EPSServer/rt.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
EPSServer/rt.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
EPSServer/rt.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
#ifndef RT_HPP #define RT_HPP #include <memory> #include <mutex> namespace MyLib { class DB; } namespace EPSServer { class DBTables; class RT; } class EPSServer::RT { private: struct StorageStruct { std::string AppPath; }; typedef std::unique_ptr<StorageStruct> Storage_ptr; ...
16.571429
62
0.692118
NuLL3rr0r
631c0e4646faf234509b9e31d212ce3c38ce2fba
3,129
cpp
C++
OpenGLApplication/OpenGLApplication/src/core/Shader.cpp
deg3x/GraphicsPlayground
dd5eb70e4b74c1efa136a49ebef612c2d33a7765
[ "MIT" ]
null
null
null
OpenGLApplication/OpenGLApplication/src/core/Shader.cpp
deg3x/GraphicsPlayground
dd5eb70e4b74c1efa136a49ebef612c2d33a7765
[ "MIT" ]
null
null
null
OpenGLApplication/OpenGLApplication/src/core/Shader.cpp
deg3x/GraphicsPlayground
dd5eb70e4b74c1efa136a49ebef612c2d33a7765
[ "MIT" ]
null
null
null
#include "shader.h" #include <glad/glad.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <string> #include <iostream> #include <fstream> #include <sstream> Shader::Shader(const char* vertPath, const char* fragPath) { std::string vCode; std::string fCode; ReadCodeFromPath(vertPath, vCode); ReadC...
21.729167
93
0.716203
deg3x
631de76eabd43790169bbe4a4fdd4a48e03d65e6
488
cpp
C++
compute_dfxi.cpp
pushkarjain1991/Poisson_FEM
fa0f7d163f0ea858db4ad8235b3629b224ffec48
[ "BSD-3-Clause" ]
null
null
null
compute_dfxi.cpp
pushkarjain1991/Poisson_FEM
fa0f7d163f0ea858db4ad8235b3629b224ffec48
[ "BSD-3-Clause" ]
null
null
null
compute_dfxi.cpp
pushkarjain1991/Poisson_FEM
fa0f7d163f0ea858db4ad8235b3629b224ffec48
[ "BSD-3-Clause" ]
1
2019-04-02T17:16:46.000Z
2019-04-02T17:16:46.000Z
// // Created by Pushkar Kumar Jain on 3/21/17. // #include "Eigen/Dense" Eigen::MatrixXd compute_dfxi(double zi, double eta, int nnode, int ndim) { Eigen::MatrixXd dfxi(nnode, ndim); dfxi(0, 0) = -0.25 * (1 - eta); dfxi(1, 0) = 0.25 * (1 - eta); dfxi(2, 0) = 0.25 * (1 + eta); dfxi(3, 0) = -0.25 * ...
27.111111
74
0.495902
pushkarjain1991
631e2998e9f5025d32dd59517ed64db0c7f9bdf8
3,644
cc
C++
chrome/browser/extensions/api/cast_channel/cast_channel_api_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
chrome/browser/extensions/api/cast_channel/cast_channel_api_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/cast_channel/cast_channel_api_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:13.000Z
2020-11-04T07:24:13.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/api/cast_channel/cast_channel_api.h" #include "base/memory/scoped_ptr.h" #include "net/base/ip_endpoint.h" #include "...
39.608696
80
0.726674
justremotephone
631fde21c3383edbb6822ce100b5b1bff5c7bf90
29,760
cpp
C++
ace/tests/Cached_Accept_Conn_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tests/Cached_Accept_Conn_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tests/Cached_Accept_Conn_Test.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// Cached_Accept_Conn_Test.cpp,v 4.36 2001/06/02 20:02:17 schmidt Exp // ============================================================================ // // = LIBRARY // tests // // = FILENAME // Cached_Accept_Conn_Test.cpp // // = DESCRIPTION // The test illustrates how the <ACE_Strategy_Connector>...
40.270636
160
0.714751
tharindusathis
6323d48ab1df01b40244925ce30bc3281e7206ca
8,330
cpp
C++
platform/usb/core/usb_std.cpp
andryblack/pcb-printer-firmware
da562d2da3c21b0d4776f2bbe5ce3e1e68be6755
[ "MIT" ]
1
2020-07-18T18:34:41.000Z
2020-07-18T18:34:41.000Z
platform/usb/core/usb_std.cpp
andryblack/pcb-printer-firmware
da562d2da3c21b0d4776f2bbe5ce3e1e68be6755
[ "MIT" ]
null
null
null
platform/usb/core/usb_std.cpp
andryblack/pcb-printer-firmware
da562d2da3c21b0d4776f2bbe5ce3e1e68be6755
[ "MIT" ]
1
2020-01-29T10:29:08.000Z
2020-01-29T10:29:08.000Z
#include "usb_std.h" static uint8_t data_buffer[64]; #ifdef USB_DEBUG static const char hex[] = "0123456789abcdef"; static void dump_mem(const void* data,uint32_t length) { const uint8_t* b = static_cast<const uint8_t*>(data); while (length) { char buf[32*3+4]; uint32_t l = length > 32 ? 32 : length; char* o...
21.304348
84
0.641537
andryblack
6325d175d572e410d6ade6a6b6809b86b6f20b25
118
cpp
C++
project754/src/component892/cpp/lib1.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2016-11-23T17:25:24.000Z
2016-11-23T17:25:27.000Z
project754/src/component892/cpp/lib1.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
15
2016-09-15T03:19:32.000Z
2016-09-17T09:15:32.000Z
project754/src/component892/cpp/lib1.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2019-11-09T16:26:55.000Z
2021-01-13T10:51:09.000Z
#include <stdio.h> #include <component892/lib1.h> int component892_1 () { printf("Hello world!\n"); return 0; }
13.111111
30
0.661017
gradle
632c26daf7c061a438238d4911cabad6141f7fd0
4,462
cpp
C++
examples/apps/windows/TalkGrid.xaml.cpp
ltaoti/openthread
b24192267d56c9a175739d8b2a285bc4b701deaf
[ "BSD-3-Clause" ]
1
2020-02-01T04:33:01.000Z
2020-02-01T04:33:01.000Z
examples/apps/windows/TalkGrid.xaml.cpp
ltaoti/openthread
b24192267d56c9a175739d8b2a285bc4b701deaf
[ "BSD-3-Clause" ]
2
2017-03-23T07:47:54.000Z
2017-08-21T03:12:31.000Z
examples/apps/windows/TalkGrid.xaml.cpp
ltaoti/openthread
b24192267d56c9a175739d8b2a285bc4b701deaf
[ "BSD-3-Clause" ]
3
2018-03-14T10:33:34.000Z
2018-09-11T11:04:21.000Z
/* * Copyright (c) 2016, The OpenThread Authors. * 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...
29.549669
96
0.69991
ltaoti
632d0d754083022521dbd08433cf1ebcc525d36e
1,469
cpp
C++
etc/limits.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
etc/limits.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
etc/limits.cpp
angusoutlook/OOProgrammingInCpp
42c66b2652d4814e4f8b31d060189bd853cce416
[ "FSFAP" ]
null
null
null
/* The following code example is taken from the book * "Object-Oriented Programming in C++" * by Nicolai M. Josuttis, Wiley, 2002 * * (C) Copyright Nicolai M. Josuttis 2002. * Permission to copy, use, modify, sell and distribute this software * is granted provided this copyright notice appears in all copies. * T...
31.934783
69
0.635126
angusoutlook
63307c1197d484818bbfe89f6d68667a6295d3c3
1,016
hpp
C++
kernel/include/drivers/keyboard.hpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
kernel/include/drivers/keyboard.hpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
kernel/include/drivers/keyboard.hpp
cekkr/thor-os
841b088eddc378ef38c98878a51958479dce4a31
[ "MIT" ]
null
null
null
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
24.190476
73
0.595472
cekkr
6330bb0599f75aeddb468187c12ff95115c11c63
3,499
cpp
C++
acciv/ScalarField2D.cpp
xylar/acciv
ed99a5019eb66621b932456efe944f9255c7e2a5
[ "MIT" ]
6
2015-06-30T13:01:54.000Z
2021-10-08T15:47:56.000Z
acciv/ScalarField2D.cpp
xylar/acciv
ed99a5019eb66621b932456efe944f9255c7e2a5
[ "MIT" ]
8
2015-06-27T15:43:30.000Z
2018-05-11T19:14:40.000Z
acciv/ScalarField2D.cpp
xylar/acciv
ed99a5019eb66621b932456efe944f9255c7e2a5
[ "MIT" ]
1
2015-07-01T12:47:28.000Z
2015-07-01T12:47:28.000Z
#include "ScalarField2D.h" #include <platform/UStreamFile.h> #include <hdf5.h> #include <hdf5_hl.h> #include <math.h> #include <algorithm> //#include <fftw3.h> // //#include <complex> using namespace std; bool ScalarField2D::read(const UString & fileName) { hid_t fileID = H5Fopen(fileName, H5F_ACC_RDONLY, H5P_DEFA...
28.680328
140
0.7002
xylar