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
60079244b23b0bc4aadd32f995204b72fb4de077
2,569
cc
C++
contrib/gcc-4.1/libstdc++-v3/src/stdexcept.cc
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
3
2017-03-06T14:12:57.000Z
2019-11-23T09:35:10.000Z
contrib/gcc-4.1/libstdc++-v3/src/stdexcept.cc
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
contrib/gcc-4.1/libstdc++-v3/src/stdexcept.cc
masami256/dfly-3.0.2-bhyve
6f6c18db6fa90734135a2044769035eb82b821c1
[ "BSD-3-Clause" ]
null
null
null
// Methods for Exception Support for -*- C++ -*- // Copyright (C) 1997, 1999, 2001, 2002 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by th...
32.518987
79
0.72752
masami256
60088ca33cc474a4f64ad94b1e97e5089f097db0
495,429
cpp
C++
perf/collation_element_lookup_perf_000.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
null
null
null
perf/collation_element_lookup_perf_000.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
perf/collation_element_lookup_perf_000.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/collate.hpp> #include <boost/text/collation_table.hpp> #include <benchmark/benchmark.h> boost::text::detail::collation_trie_t const & trie() { static auto const retval = boost::text::detail::make_default_trie(); return retval; } boost::text::collat...
80.926005
691
0.655196
eightysquirrels
6008a6bcc844d9941ce830952ce2b028223e2c89
81,901
cpp
C++
windows/richedit/re41/ols.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/richedit/re41/ols.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/richedit/re41/ols.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* * @doc INTERNAL * * @module OLS.CPP -- COls LineServices object class * * Authors: * Murray Sargent: initial coding up to nonLS RichEdit functionality * (with lots of help from RickSa's ols code) * Keith Curtis and Worachai Chaoweeraprasit: complex script support, * etc. * * @todo * L...
27.34591
121
0.652275
npocmaka
6008daff397dd8cce7326b0a0de22834c2d95aaa
1,550
cpp
C++
opencl/test/unit_test/gen12lp/rkl/test_hw_info_config_rkl.cpp
zboszor/compute-runtime
e241f2d8d6fc08d144858009c226e38603fad966
[ "Intel", "MIT" ]
1
2019-04-25T23:21:01.000Z
2019-04-25T23:21:01.000Z
opencl/test/unit_test/gen12lp/rkl/test_hw_info_config_rkl.cpp
zboszor/compute-runtime
e241f2d8d6fc08d144858009c226e38603fad966
[ "Intel", "MIT" ]
null
null
null
opencl/test/unit_test/gen12lp/rkl/test_hw_info_config_rkl.cpp
zboszor/compute-runtime
e241f2d8d6fc08d144858009c226e38603fad966
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/compiler_hw_info_config.h" #include "shared/source/os_interface/hw_info_config.h" #include "shared/test/common/helpers/default_hw_info.h" #include "test.h" #include <array> using namespace NEO; usin...
33.695652
115
0.768387
zboszor
600afc24f9fd5020507343c361e01efafcfc9780
58,388
cpp
C++
test/unit/api/x_init_reset_close.cpp
wd13384/oneVPL-cpu
f46bc287cbd4f7438d96ac76e460ccbf561fd958
[ "MIT" ]
null
null
null
test/unit/api/x_init_reset_close.cpp
wd13384/oneVPL-cpu
f46bc287cbd4f7438d96ac76e460ccbf561fd958
[ "MIT" ]
null
null
null
test/unit/api/x_init_reset_close.cpp
wd13384/oneVPL-cpu
f46bc287cbd4f7438d96ac76e460ccbf561fd958
[ "MIT" ]
null
null
null
/*############################################################################ # Copyright (C) 2020 Intel Corporation # # SPDX-License-Identifier: MIT ############################################################################*/ #include <gtest/gtest.h> #include "vpl/mfxjpeg.h" #include "vpl/mfxvideo.h" /* I...
37.452213
168
0.697249
wd13384
600edb88e66f1e9a3d53f6be9c357d8c3e6b074d
3,724
cpp
C++
third-part/7z/CPP/7zip/UI/FileManager/RegistryPlugins.cpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
33
2018-07-04T09:38:12.000Z
2021-06-19T06:11:45.000Z
third-part/7z/CPP/7zip/UI/FileManager/RegistryPlugins.cpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
null
null
null
third-part/7z/CPP/7zip/UI/FileManager/RegistryPlugins.cpp
wzaen/soui2
30735bbb84184fc26f0e70edbfede889e24fba5b
[ "MIT" ]
13
2018-07-01T01:55:17.000Z
2021-08-03T10:55:45.000Z
// RegistryPlugins.cpp #include "../../../Windows/DLL.h" #include "../../../Windows/FileFind.h" #include "../../../Windows/PropVariant.h" #include "IFolder.h" #include "RegistryPlugins.h" using namespace NWindows; using namespace NFile; /* static const TCHAR *kLMBasePath = TEXT("Software\\7-Zip\\FM...
26.985507
101
0.667562
wzaen
6010d295332ffaeb8b43347412f2b95e7f55ad2d
209
cpp
C++
src/SeekProcess.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
src/SeekProcess.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
src/SeekProcess.cpp
stevefolta/dawlet
429ffba85f00acf05c15daf2597d97f79cb4f2f2
[ "MIT" ]
null
null
null
#include "SeekProcess.h" bool SeekProcess::is_done() { return state == Done; } void SeekProcess::next() { switch (state) { case InEngine: engine->seek(position); state = Done; break; } }
9.5
27
0.62201
stevefolta
6011013701aa982641f9644bb36224a0b8dfd54e
19,713
cpp
C++
src/libtriton/format/pe/peOptionalHeader.cpp
codesabaka/triton
ec90cfc94d86dcfff03d0753ff4ec98154c07d4c
[ "BSD-3-Clause" ]
1
2020-11-15T15:21:12.000Z
2020-11-15T15:21:12.000Z
src/libtriton/format/pe/peOptionalHeader.cpp
codesabaka/triton
ec90cfc94d86dcfff03d0753ff4ec98154c07d4c
[ "BSD-3-Clause" ]
null
null
null
src/libtriton/format/pe/peOptionalHeader.cpp
codesabaka/triton
ec90cfc94d86dcfff03d0753ff4ec98154c07d4c
[ "BSD-3-Clause" ]
null
null
null
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the BSD License. */ #include <cstdio> #include <exceptions.hpp> #include <peOptionalHeader.hpp> namespace triton { namespace format { namespace pe { PeOptionalHeader::PeOptionalHeader() { this->magic ...
41.676533
91
0.601583
codesabaka
6012229fe08b52d7e777d669d85f746b83a2458b
4,511
cc
C++
content/browser/webui/content_web_ui_controller_factory.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/webui/content_web_ui_controller_factory.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/webui/content_web_ui_controller_factory.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.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 "content/browser/webui/content_web_ui_controller_factory.h" #include "build/build_config.h" #include "content/browser/appcache/appcache_inte...
40.276786
77
0.765462
mghgroup
60124f52773fa9d49e337d3185b9833be2bf9d6e
515
cpp
C++
Loyalty/DataModel/Entities/BuyTxDesc.cpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
null
null
null
Loyalty/DataModel/Entities/BuyTxDesc.cpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
1
2021-03-06T11:38:01.000Z
2021-03-15T21:33:16.000Z
Loyalty/DataModel/Entities/BuyTxDesc.cpp
uno-labs-solana-hackathon/core-server
fdbdefd32e12fcaa19227f56154e0163c18a35cb
[ "Apache-2.0" ]
null
null
null
#include "BuyTxDesc.hpp" namespace Sol::Loyalty::DataModel { TYPE_STRUCT_IMPLEMENT(BuyTxDesc, GP_MODULE_UUID) BuyTxDesc::BuyTxDesc (void) noexcept { } BuyTxDesc::~BuyTxDesc (void) noexcept { } void BuyTxDesc::_SCollectStructProps (GpTypePropInfo::C::Vec::Val& aPropsOut) { PROP(id); PROP(items); PROP(create_ts)...
16.612903
77
0.743689
uno-labs-solana-hackathon
6012b1628e02d90ba4b9f08ce9f1c7d7f84048fe
1,753
cpp
C++
third_party/WebKit/Source/core/inspector/InspectorResourceContainer.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/inspector/InspectorResourceContainer.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/inspector/InspectorResourceContainer.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "core/inspector/InspectorResourceContainer.h" #include "core/inspector/InspectedFrames.h" namespace blink { InspectorResourceContainer::Inspec...
31.303571
80
0.714204
metux
6013cd3b9f85f93d7c99e790ff95d7ac72ebf5de
1,261
cc
C++
src/utl/tsk_js_c_opts.cc
FRG-UPC-Deliverables/tsk-js
9dd4fcd1c88cb690361cc2a8429cdd127684acea
[ "MIT" ]
null
null
null
src/utl/tsk_js_c_opts.cc
FRG-UPC-Deliverables/tsk-js
9dd4fcd1c88cb690361cc2a8429cdd127684acea
[ "MIT" ]
5
2021-05-08T07:21:28.000Z
2021-09-21T03:54:39.000Z
src/utl/tsk_js_c_opts.cc
FRG-UPC-Deliverables/tsk-js
9dd4fcd1c88cb690361cc2a8429cdd127684acea
[ "MIT" ]
null
null
null
#include "tsk_js_utl.h" #include <string.h> namespace tsk_js { using v8::Isolate; using v8::HandleScope; using v8::Local; using v8::Object; using v8::Number; using v8::String; using v8::Boolean; using v8::Value; // ----------------------------- // --- B a s e O b j e c t --- // ----------------------------- T...
17.513889
80
0.596352
FRG-UPC-Deliverables
6018651204911f2d607fa6455647577e5c205620
2,079
cpp
C++
third-party/llvm/llvm-src/lib/Target/AVR/AVRSubtarget.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
third-party/llvm/llvm-src/lib/Target/AVR/AVRSubtarget.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
410
2019-06-06T20:52:32.000Z
2022-01-18T14:21:48.000Z
third-party/llvm/llvm-src/lib/Target/AVR/AVRSubtarget.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
188
2018-06-19T22:43:57.000Z
2022-03-23T09:28:41.000Z
//===-- AVRSubtarget.cpp - AVR Subtarget Information ----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
35.844828
80
0.647427
jhh67
601cbb05fa4c299c79eaee4848350840ea6c9000
4,022
cpp
C++
src/Nes.cpp
amaiorano/nes-emu
6e4e446d8eee923de48db6e2a2c800b38dfb333e
[ "MIT" ]
54
2015-03-24T14:05:12.000Z
2022-03-24T14:03:01.000Z
src/Nes.cpp
amaiorano/nes-emu
6e4e446d8eee923de48db6e2a2c800b38dfb333e
[ "MIT" ]
3
2015-02-03T17:43:26.000Z
2020-11-12T19:56:01.000Z
src/Nes.cpp
amaiorano/nes-emu
6e4e446d8eee923de48db6e2a2c800b38dfb333e
[ "MIT" ]
18
2015-02-01T15:27:27.000Z
2021-07-19T04:17:16.000Z
#include "Nes.h" #include "Stream.h" #include "Rom.h" #include "System.h" #include "Serializer.h" #include "Renderer.h" #include "IO.h" #include "CircularBuffer.h" Nes::~Nes() { // Save sram on exit SerializeSaveRam(true); } void Nes::Initialize() { m_apu.Initialize(); m_cpu.Initialize(m_cpuMemoryBus, m_apu); m_...
21.740541
111
0.712829
amaiorano
6020b30a6da64902670d8e8d93a3c43c8c701135
1,579
cpp
C++
src/python/PyImath/PyImathBox2Array.cpp
JenusL/Imath
749a1bfe017b2daccb3eb9759fbe837ea4718a0a
[ "BSD-3-Clause" ]
156
2020-06-14T06:29:06.000Z
2022-03-29T22:55:55.000Z
src/python/PyImath/PyImathBox2Array.cpp
JenusL/Imath
749a1bfe017b2daccb3eb9759fbe837ea4718a0a
[ "BSD-3-Clause" ]
146
2020-06-13T18:17:33.000Z
2022-03-28T16:47:29.000Z
src/python/PyImath/PyImathBox2Array.cpp
JenusL/Imath
749a1bfe017b2daccb3eb9759fbe837ea4718a0a
[ "BSD-3-Clause" ]
48
2020-06-16T18:44:16.000Z
2022-03-24T20:50:06.000Z
// // SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenEXR Project. // // clang-format off #include "PyImathBoxArrayImpl.h" #include "PyImathExport.h" namespace PyImath { using namespace boost::python; template PYIMATH_EXPORT class_<FixedArray<IMATH_NAMESPACE::Box2s> > register_BoxArray<...
60.730769
156
0.79734
JenusL
e741e5e46ed8a9522b78aa49d8b2608048a33145
32,085
cpp
C++
squid/test/unit/test_parameter.cpp
patrick-rotsaert/squid
385159c17924d910c0f8a966b4b5dc531b0c1d49
[ "BSL-1.0" ]
null
null
null
squid/test/unit/test_parameter.cpp
patrick-rotsaert/squid
385159c17924d910c0f8a966b4b5dc531b0c1d49
[ "BSL-1.0" ]
null
null
null
squid/test/unit/test_parameter.cpp
patrick-rotsaert/squid
385159c17924d910c0f8a966b4b5dc531b0c1d49
[ "BSL-1.0" ]
null
null
null
#include <gtest/gtest.h> #include <squid/parameter.h> namespace squid { TEST(ParameterTest, ByValueConstructFromScalars) { #define TEST_CONSTRUCT_FROM_SCALAR(TYPE, VALUE) \ do ...
48.835616
140
0.463519
patrick-rotsaert
e74758b9c44dd3fd33ec02416c67fe0ff297a090
15,805
cpp
C++
tests/test_selu.cpp
Arech/nntl
fdcd7f33216c6414547acea3c4c172734ef9412a
[ "BSD-3-Clause" ]
12
2015-12-22T19:55:56.000Z
2020-05-28T13:10:19.000Z
tests/test_selu.cpp
Arech/nntl
fdcd7f33216c6414547acea3c4c172734ef9412a
[ "BSD-3-Clause" ]
null
null
null
tests/test_selu.cpp
Arech/nntl
fdcd7f33216c6414547acea3c4c172734ef9412a
[ "BSD-3-Clause" ]
1
2017-10-15T11:12:33.000Z
2017-10-15T11:12:33.000Z
/* This file is a part of NNTL project (https://github.com/Arech/nntl) Copyright (c) 2015-2021, Arech (aradvert@gmail.com; https://github.com/Arech) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
39.811083
145
0.690984
Arech
e747cf2b8153a583fb1bdf40968e68f15a614ca8
7,664
cc
C++
general/type_overflow.cc
aakbar5/handy-cplusplus
fd8ae187811f1ff9a6d19909202ed31564c4e384
[ "MIT" ]
null
null
null
general/type_overflow.cc
aakbar5/handy-cplusplus
fd8ae187811f1ff9a6d19909202ed31564c4e384
[ "MIT" ]
null
null
null
general/type_overflow.cc
aakbar5/handy-cplusplus
fd8ae187811f1ff9a6d19909202ed31564c4e384
[ "MIT" ]
null
null
null
// // Program // Overflow validation. // Using GCC built-in function to validate whether result // of a given operation will overflow the available width // of that datatype or not. // // Compile // g++ -Wall -Wextra -pedantic -std=c++17 -o type_overflow type_overflow.cc // // Execution // ./type_overflow // #in...
44.818713
109
0.44298
aakbar5
e7484af3bd1c0655640406fc4a79bdc42ac7ef31
756
cpp
C++
src/mbedTLS++/X509Cert.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
4,126
2015-06-12T21:56:49.000Z
2022-03-31T06:33:12.000Z
src/mbedTLS++/X509Cert.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
2,931
2015-06-11T17:13:15.000Z
2022-03-31T22:46:31.000Z
src/mbedTLS++/X509Cert.cpp
wbrbr/MCServer
a7bbca30c560c581127f7b6c49ca427c3e96a1da
[ "Apache-2.0" ]
917
2015-06-11T21:47:41.000Z
2022-03-30T10:32:55.000Z
// X509Cert.cpp // Implements the cX509Cert class representing a wrapper over X509 certs in mbedTLS #include "Globals.h" #include "X509Cert.h" cX509Cert::cX509Cert(void) { mbedtls_x509_crt_init(&m_Cert); } cX509Cert::~cX509Cert() { mbedtls_x509_crt_free(&m_Cert); } int cX509Cert::Parse(const void * ...
18
118
0.752646
wbrbr
e74924e4795f20886230b003db010ded654123b7
660
cpp
C++
c++ problems asked in interview/Half N by M(GFG).cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
41
2021-10-03T16:03:52.000Z
2021-11-14T18:15:33.000Z
c++ problems asked in interview/Half N by M(GFG).cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
175
2021-10-03T10:47:31.000Z
2021-10-20T11:55:32.000Z
c++ problems asked in interview/Half N by M(GFG).cpp
rj011/Hacktoberfest2021-4
0aa981d4ba5e71c86cc162d34fe57814050064c2
[ "MIT" ]
208
2021-10-03T11:24:04.000Z
2021-10-31T17:27:59.000Z
Given two values N and M. Give the value when N is halved M-1 times. Example 1: Input: N = 100, M = 4 Output: 12 Explaination: The sequence of numbers is 100, 50, 25, 12. Example 2: Input: N = 10, M = 5 Output: 0 Explaination: The sequence is 10, 5, 2, 1 and 0. Your Task: You do not need to read input...
21.290323
112
0.648485
rj011
e74c0afe217fe60aa8b452bae7356604500f7509
11,042
cpp
C++
Source/CNTKv2LibraryDll/proto/onnx/core/graph/model.cpp
DEVESHTARASIA/CNTK
e160304efc5f7287c5ba0c1ecc7ab2dacbba5e7d
[ "MIT" ]
null
null
null
Source/CNTKv2LibraryDll/proto/onnx/core/graph/model.cpp
DEVESHTARASIA/CNTK
e160304efc5f7287c5ba0c1ecc7ab2dacbba5e7d
[ "MIT" ]
null
null
null
Source/CNTKv2LibraryDll/proto/onnx/core/graph/model.cpp
DEVESHTARASIA/CNTK
e160304efc5f7287c5ba0c1ecc7ab2dacbba5e7d
[ "MIT" ]
1
2019-10-14T06:26:34.000Z
2019-10-14T06:26:34.000Z
#ifdef _MSC_VER #pragma warning(push) // 'type' : forcing value to bool 'true' or 'false' (performance warning) #pragma warning(disable : 4800) #endif #include <google/protobuf/io/coded_stream.h> #ifdef _MSC_VER #pragma warning(pop) #endif #include "proto/onnx/core/common/CommonSTD.h" #include <google/protobuf/io/zero...
30.587258
163
0.688372
DEVESHTARASIA
e74f144bc86d3f5cc1801042f1cdbe5a7e1c4223
982
cpp
C++
TLG.cpp
absnaik810/SPOJ-Repository
ec938a4670491f915432e25490b72a765089ae6c
[ "Unlicense" ]
3
2015-06-07T15:53:42.000Z
2018-02-20T06:15:10.000Z
TLG.cpp
harrypotter0/SPOJ
3965c5a2c01e47a6cda06f26c26c871a3a1fc028
[ "Unlicense" ]
null
null
null
TLG.cpp
harrypotter0/SPOJ
3965c5a2c01e47a6cda06f26c26c871a3a1fc028
[ "Unlicense" ]
null
null
null
#include <iostream> #include <stdlib.h> using namespace std; int main() { std::ios::sync_with_stdio(false); int rounds,j=0,k=0; cin>>rounds; int player1[rounds]; int player2[rounds]; abc: for(;j<rounds;) { cin>>player1[j]; //cout<<"For player 1: "<<player1[j]<<endl; j++; break; } for(;k<rounds;) ...
14.231884
45
0.541752
absnaik810
e74f19c2b5c15730ec3ed7de359009d08922fc20
5,345
hpp
C++
pythran/pythonic/include/types/nditerator.hpp
sthagen/serge-sans-paille-pythran
fe41dcd069404a75ff56b537b7ac87a0e3c04dc2
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/include/types/nditerator.hpp
sthagen/serge-sans-paille-pythran
fe41dcd069404a75ff56b537b7ac87a0e3c04dc2
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/include/types/nditerator.hpp
sthagen/serge-sans-paille-pythran
fe41dcd069404a75ff56b537b7ac87a0e3c04dc2
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_INCLUDE_TYPES_NDITERATOR_HPP #define PYTHONIC_INCLUDE_TYPES_NDITERATOR_HPP #include <iterator> #ifdef USE_XSIMD #include <xsimd/xsimd.hpp> #endif PYTHONIC_NS_BEGIN namespace types { struct fast { }; template <class T> auto fast_begin(T const &e) -> typename std::enable_if<has_fast_it...
31.627219
79
0.652572
sthagen
e7517568e361d2c3f382730cc309db3bfab875d8
287
cpp
C++
LeetCode/InterviewSchool/27. Remove Element.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
LeetCode/InterviewSchool/27. Remove Element.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
LeetCode/InterviewSchool/27. Remove Element.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
class Solution { public: int removeElement(vector<int>& nums, int val) { int left = 0; for(int i=0;i<nums.size();i++){ if(nums[i]!=val){ nums[left++] = nums[i]; } } return left; } };
17.9375
51
0.393728
Sowmik23
e757083bcf6dd36e445dfd7c6979d13f34f85cac
3,289
cpp
C++
3DLfC4D/source/DisplayTranslator.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
3
2018-10-06T17:05:53.000Z
2020-06-29T21:31:11.000Z
3DLfC4D/source/DisplayTranslator.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
28
2018-11-14T19:08:18.000Z
2019-06-30T10:25:13.000Z
3DLfC4D/source/DisplayTranslator.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
6
2018-08-29T11:02:39.000Z
2019-05-13T13:35:17.000Z
#include "DisplayTranslator.h" #include "odisplay.h" #include "DL_Utilities.h" #include "DL_TypeConversions.h" #include "c4d.h" #include "nsi.hpp" #include <customgui_inexclude.h> void DisplayTranslator::CreateNSINodes(const char* Handle, const char* ParentTransformHandle, BaseList2D* C4DNode, BaseDocument* ...
29.366071
159
0.704165
FMalmberg
e75b5c2af3210bbbd4937b94f76f297b8d6726c0
18,455
cpp
C++
1.1/HalPolicy.cpp
jeongjoonyoo/arm_AndroidNN
a0baa17e501970f5a60227a9ccaa95ab0b9730c9
[ "MIT" ]
null
null
null
1.1/HalPolicy.cpp
jeongjoonyoo/arm_AndroidNN
a0baa17e501970f5a60227a9ccaa95ab0b9730c9
[ "MIT" ]
null
null
null
1.1/HalPolicy.cpp
jeongjoonyoo/arm_AndroidNN
a0baa17e501970f5a60227a9ccaa95ab0b9730c9
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "HalPolicy.hpp" #include "Utils.hpp" #include "../1.0/HalPolicy.hpp" namespace { static std::vector<V1_0::OperationType> opsEquivalentInV10({ V1_0::OperationType::ADD, V1_0::OperationType::AVERAGE_POOL_2D, V...
35.085551
117
0.644432
jeongjoonyoo
e75d645f7158893e94f742050edd45f7d6346ba8
6,211
hpp
C++
Code/Runtime/BerserkCore/Platform/Memory.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
43
2018-12-21T15:01:20.000Z
2022-01-12T04:22:38.000Z
Code/Runtime/BerserkCore/Platform/Memory.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
22
2018-10-06T14:10:05.000Z
2021-12-31T17:58:40.000Z
Code/Runtime/BerserkCore/Platform/Memory.hpp
EgorOrachyov/Berserk
0fcd3571b5aa0a1e073a2280035d445b2be94cbf
[ "MIT" ]
4
2019-04-14T05:59:33.000Z
2021-05-21T10:34:57.000Z
/**********************************************************************************/ /* This file is part of Berserk Engine project */ /* https://github.com/EgorOrachyov/Berserk */ /****************************************************************...
39.814103
93
0.506038
EgorOrachyov
e75d9a4b97316da4250a8a0c8380bea0f9dba715
2,341
cpp
C++
src/imu/imu.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
src/imu/imu.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
src/imu/imu.cpp
tmaltesen/IOsonata
3ada9216305653670fccfca8fd53c6597ace8f12
[ "MIT" ]
null
null
null
/**------------------------------------------------------------------------- @file imu.cpp @brief Implementation of an Inertial Measurement Unit This a generic abstraction layer for IMU sensor fusion. It is a mean to provide a common interface to different sensor fusion library out there. @author Hoang Nguyen Hoan ...
29.632911
112
0.717642
tmaltesen
e75f69c99b99b76826e5c7d40159b11ca2c248b6
386
cpp
C++
cpp/KalkCpp/main.cpp
ScrappyCocco/Kalk
d5b258d06634f86f051d564d4937994486df62dc
[ "MIT" ]
null
null
null
cpp/KalkCpp/main.cpp
ScrappyCocco/Kalk
d5b258d06634f86f051d564d4937994486df62dc
[ "MIT" ]
null
null
null
cpp/KalkCpp/main.cpp
ScrappyCocco/Kalk
d5b258d06634f86f051d564d4937994486df62dc
[ "MIT" ]
1
2021-01-21T11:58:35.000Z
2021-01-21T11:58:35.000Z
#include <QApplication> #include <iostream> #include "UI/calculatormaininterface.h" int main(int argc, char *argv[]) { CalculatorMainInterface::PrintLog("Main - Starting MainWIndowInterface..."); QApplication app(argc, argv); CalculatorMainInterface calc; calc.show(); CalculatorMainInterface::Print...
27.571429
80
0.722798
ScrappyCocco
e75fa381871d53bbbda3e6d16fe87968c88090f5
6,218
cc
C++
src/clustering/administration/servers/auto_reconnect.cc
zadcha/rethinkdb
bb4f5cc28242dc1e29e9a46a8a931ec54420070c
[ "Apache-2.0" ]
21,684
2015-01-01T03:42:20.000Z
2022-03-30T13:32:44.000Z
src/clustering/administration/servers/auto_reconnect.cc
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
4,067
2015-01-01T00:04:51.000Z
2022-03-30T13:42:56.000Z
src/clustering/administration/servers/auto_reconnect.cc
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
1,901
2015-01-01T21:05:59.000Z
2022-03-21T08:14:25.000Z
// Copyright 2010-2012 RethinkDB, all rights reserved. #include "clustering/administration/servers/auto_reconnect.hpp" #include "arch/timing.hpp" #include "clustering/administration/servers/config_client.hpp" #include "concurrency/exponential_backoff.hpp" #include "concurrency/wait_any.hpp" auto_reconnector_t::auto_r...
45.386861
95
0.639434
zadcha
e760465d02d1b604c9b96d129a71fe677636455c
2,180
cc
C++
snapshot/ios/memory_snapshot_ios.cc
rbxeyl/crashpad
95b4e6276836283a91e18382fb258598bd77f8aa
[ "Apache-2.0" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
snapshot/ios/memory_snapshot_ios.cc
rbxeyl/crashpad
95b4e6276836283a91e18382fb258598bd77f8aa
[ "Apache-2.0" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
snapshot/ios/memory_snapshot_ios.cc
rbxeyl/crashpad
95b4e6276836283a91e18382fb258598bd77f8aa
[ "Apache-2.0" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
33.030303
78
0.760092
rbxeyl
e76161d4ecc79d48ad8d9444a24f31a2c93e68b7
2,878
cpp
C++
aws-cpp-sdk-servicediscovery/source/model/HttpInstanceSummary.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-servicediscovery/source/model/HttpInstanceSummary.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-servicediscovery/source/model/HttpInstanceSummary.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/servicediscovery/model/HttpInstanceSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
22.310078
106
0.74114
lintonv
e764037cd2d2b44a760465b8b68a2aef1705c258
334
cpp
C++
impuestoVehicular/src/Moto.cpp
Kamjue/Tricode
430ce79a4b3cbd198bf32f1fbe90dd4947507d4d
[ "MIT" ]
null
null
null
impuestoVehicular/src/Moto.cpp
Kamjue/Tricode
430ce79a4b3cbd198bf32f1fbe90dd4947507d4d
[ "MIT" ]
1
2018-05-05T04:41:35.000Z
2018-05-05T04:51:31.000Z
impuestoVehicular/src/Moto.cpp
Kamjue/Tricode
430ce79a4b3cbd198bf32f1fbe90dd4947507d4d
[ "MIT" ]
null
null
null
#include <Moto.h> Moto::Moto(){ motorCC = 0; tasa = 2; } Moto::Moto(float cc){ motorCC = cc; } Moto::Moto(Moto &m){ motorCC = m.getMotorCC(); } Moto::~Moto(){} void Moto::setMotorCC(float cc){ motorCC = cc; } float Moto::getMotorCC(){ return motorCC; } float Moto::calcularMontoExtra(){ return tasa * ge...
12.846154
33
0.625749
Kamjue
e76475bc04c5960058152e7de517efc2c1684cf9
8,466
hpp
C++
Viewer/ecflowUI/src/AbstractNodeView.hpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
Viewer/ecflowUI/src/AbstractNodeView.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
Viewer/ecflowUI/src/AbstractNodeView.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
//============================================================================ // Copyright 2017 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privileges ...
36.334764
110
0.715923
mpartio
e7650657d0b9f21048651a2be989ca9c116e6950
527
cpp
C++
src/openpose/wrapper/wrapperStructVnect.cpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
src/openpose/wrapper/wrapperStructVnect.cpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
src/openpose/wrapper/wrapperStructVnect.cpp
mooktj/openpose
f4ee9cba3621093bba88bb17d1ea6a19ff3236ad
[ "DOC" ]
null
null
null
#include <openpose/wrapper/wrapperStructVnect.hpp> #include <iostream> namespace op { WrapperStructVnect::WrapperStructVnect( const bool vnectEnable_, const std::string& modelFolder_, const std::string& protoTxtFile_, const std::string& trainedModelFile_) : vnectEnable{vnectEnable_}, ...
31
82
0.70019
mooktj
e76963e4e642b52b8152cde7a256f3a5e0ff5a4d
492
cpp
C++
examples/chrono.cpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
null
null
null
examples/chrono.cpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
null
null
null
examples/chrono.cpp
tobanteAudio/taetl
0aa6365aa156b297745f395882ff366a8626e5e0
[ "BSL-1.0" ]
1
2019-04-29T20:09:19.000Z
2019-04-29T20:09:19.000Z
/// \copyright Tobias Hienzsch 2019-2021 /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt #include <stdio.h> #include "etl/chrono.hpp" auto main() -> int { using namespace etl::literals; { auto hour = etl::chr...
23.428571
77
0.603659
tobanteAudio
e7699a65fcbdc716b64dfadd1bb2b3f0f47335ad
9,567
cpp
C++
daito-manabe-01/src/ofApp.cpp
eaviles/sfpc-2020-rtp
ca36258cf126ce668c6688ba88986d88407fe6b6
[ "MIT" ]
5
2020-07-12T08:02:28.000Z
2021-11-21T17:56:48.000Z
daito-manabe-01/src/ofApp.cpp
eaviles/sfpc-2020-rtp
ca36258cf126ce668c6688ba88986d88407fe6b6
[ "MIT" ]
null
null
null
daito-manabe-01/src/ofApp.cpp
eaviles/sfpc-2020-rtp
ca36258cf126ce668c6688ba88986d88407fe6b6
[ "MIT" ]
1
2021-11-21T17:57:05.000Z
2021-11-21T17:57:05.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetWindowShape(IMAGE_WIDTH * 2, IMAGE_HEIGHT * 2); ofSetFrameRate(60); ofSetVerticalSync(true); // grabber.setDeviceID(1); grabber.setup(IMAGE_WIDTH, IMAGE_HEIGHT); tracker.setup(); ...
31.996656
80
0.503711
eaviles
e769d813b5c51759681e90356c3301b0d2c7685b
4,979
cc
C++
src/google_cloud_debugger/google_cloud_debugger_lib/breakpoint_location_collection.cc
emzeq/google-cloud-dotnet-debugger
8eafe29b40582ebf735186b574af4d544158033e
[ "Apache-2.0" ]
12
2018-06-05T04:06:26.000Z
2021-10-09T14:14:18.000Z
src/google_cloud_debugger/google_cloud_debugger_lib/breakpoint_location_collection.cc
emzeq/google-cloud-dotnet-debugger
8eafe29b40582ebf735186b574af4d544158033e
[ "Apache-2.0" ]
47
2018-06-01T20:26:22.000Z
2021-03-20T14:26:21.000Z
src/google_cloud_debugger/google_cloud_debugger_lib/breakpoint_location_collection.cc
emzeq/google-cloud-dotnet-debugger
8eafe29b40582ebf735186b574af4d544158033e
[ "Apache-2.0" ]
14
2018-06-04T17:12:25.000Z
2021-10-09T14:14:04.000Z
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
30.359756
77
0.709982
emzeq
e770b1b430223a781c8d895aa0861d711ebb383d
898
cpp
C++
src/127.word_ladder/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/127.word_ladder/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/127.word_ladder/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: int ladderLength(string beginWord, string endWord, unordered_set<string>& wordList) { queue<pair<string, int> > q; q.push(make_pair(beginWord, 1)); wordList.erase(beginWord); while (!q.empty()) { string u = q.front().first; int len = q...
33.259259
89
0.398664
cloudzfy
e773122ab12d5e4f909382d14ac428b88265be8a
1,071
cpp
C++
src/grid_service/src/MappedCell.cpp
phildkim/Swarmathon-PCC
20cae8db6e58f696b83eb4ce71a7cb8913bde1aa
[ "MIT" ]
null
null
null
src/grid_service/src/MappedCell.cpp
phildkim/Swarmathon-PCC
20cae8db6e58f696b83eb4ce71a7cb8913bde1aa
[ "MIT" ]
null
null
null
src/grid_service/src/MappedCell.cpp
phildkim/Swarmathon-PCC
20cae8db6e58f696b83eb4ce71a7cb8913bde1aa
[ "MIT" ]
null
null
null
#include <cmath> #include <sys/types.h> #include <sys/mman.h> #include <new> #include <unistd.h> #include "MappedCell.h" // Static Class Variables const uint8_t MappedCell::STATUS_REGISTER_OFFSET = 0; const uint8_t MappedCell::STATISTIC_REGISTER_OFFSET = 4; // Public Member Functions MappedCell::MappedCell(uint8_t * ...
28.945946
95
0.754435
phildkim
e773f15b47c74bd35627b9449f0eb54959361bc0
4,433
cpp
C++
iotivity-1.0.1/service/resource-encapsulation/src/resourceBroker/unittest/DevicePresenceUnitTest.cpp
gerald-yang/ubuntu-iotivity-demo
17e799e209442bbefb2df846e329c802ee5255f7
[ "Apache-2.0" ]
1,433
2015-04-30T09:26:53.000Z
2022-03-26T12:44:12.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/resource-encapsulation/src/resourceBroker/unittest/DevicePresenceUnitTest.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
530
2015-05-02T09:12:48.000Z
2018-01-03T17:52:01.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/resource-encapsulation/src/resourceBroker/unittest/DevicePresenceUnitTest.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
1,878
2015-04-30T04:18:57.000Z
2022-03-15T16:51:17.000Z
//****************************************************************** // // Copyright 2015 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
29.164474
126
0.708775
gerald-yang
e7754e57ce66ff347cb643c30aae7259efb503fd
8,577
cpp
C++
Source/SpaceTarget/Private/ARCoreSlamGenerator.cpp
zhmxiaowo/SpaceTarget
32649a9eef3e6a1806cde7589f5065b17d3e72ab
[ "MIT" ]
1
2021-12-13T12:43:03.000Z
2021-12-13T12:43:03.000Z
Source/SpaceTarget/Private/ARCoreSlamGenerator.cpp
zhmxiaowo/SpaceTarget
32649a9eef3e6a1806cde7589f5065b17d3e72ab
[ "MIT" ]
null
null
null
Source/SpaceTarget/Private/ARCoreSlamGenerator.cpp
zhmxiaowo/SpaceTarget
32649a9eef3e6a1806cde7589f5065b17d3e72ab
[ "MIT" ]
1
2022-03-02T08:51:59.000Z
2022-03-02T08:51:59.000Z
#include "ARCoreSlamGenerator.h" #if PLATFORM_ANDROID #include "Runtime/Launch/Public/Android/AndroidJNI.h" #include "Runtime/ApplicationCore/Public/Android/AndroidApplication.h" #include "GoogleARCoreCameraImage.h" #include "GoogleARCoreTypes.h" #include "GoogleARCoreFunctionLibrary.h" #include "GoogleARCoreCameraInt...
30.30742
186
0.689868
zhmxiaowo
e7755520e3fdbf4ffeb37d622272a8394fe24d10
5,586
cpp
C++
smartswitch/sensor_trans.cpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
smartswitch/sensor_trans.cpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
smartswitch/sensor_trans.cpp
goodspeed24e/2014iOT
139f6e2131f8a94cb876328b5f733e3feef77707
[ "MIT" ]
null
null
null
#include <math.h> #include "sensor_trans.h" #include "sensor_prototype.h" // Radio pipe addresses for the 2 nodes to communicate. // First pipe is for writing, 2nd, 3rd, 4th, 5th & 6th is for reading... const uint64_t pipes[6] = { 0xF0F0F0F0D2LL, 0xF0F0F0F0E1LL, 0xF0F0F0F0E2LL, 0xF0F0F0F0E3LL, 0xF0F0F0F0F1LL, 0xF0F0F0...
28.35533
125
0.664339
goodspeed24e
e77577f22813efd31df50c61b65bd19daff9e6f1
2,205
cc
C++
test/perf/linux/verity_open_read_close_benchmark.cc
xyzst/gvisor
58b9bdfc21e792c5d529ec9f4ab0b2f2cd1ee082
[ "Apache-2.0" ]
12,536
2018-05-02T09:57:54.000Z
2022-03-31T14:25:15.000Z
test/perf/linux/verity_open_read_close_benchmark.cc
xyzst/gvisor
58b9bdfc21e792c5d529ec9f4ab0b2f2cd1ee082
[ "Apache-2.0" ]
2,478
2018-05-02T14:01:30.000Z
2022-03-31T19:57:47.000Z
test/perf/linux/verity_open_read_close_benchmark.cc
xyzst/gvisor
58b9bdfc21e792c5d529ec9f4ab0b2f2cd1ee082
[ "Apache-2.0" ]
1,163
2018-05-02T10:03:44.000Z
2022-03-29T17:15:01.000Z
// Copyright 2021 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
29.013158
80
0.699773
xyzst
e7762c1af9f76f7f0cf1fc5c23eb79de6b34696b
5,727
cpp
C++
scanner/engine/save_worker.cpp
agirbau/scanner
04a0c4b4196341995985acd729c0788aab823e1c
[ "Apache-2.0" ]
618
2017-02-15T02:49:25.000Z
2022-03-26T13:22:08.000Z
scanner/engine/save_worker.cpp
agirbau/scanner
04a0c4b4196341995985acd729c0788aab823e1c
[ "Apache-2.0" ]
258
2017-02-14T23:37:35.000Z
2020-01-17T07:50:30.000Z
scanner/engine/save_worker.cpp
agirbau/scanner
04a0c4b4196341995985acd729c0788aab823e1c
[ "Apache-2.0" ]
108
2017-02-23T01:43:33.000Z
2022-03-23T02:44:10.000Z
/* Copyright 2018 Carnegie Mellon 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 o...
32.355932
90
0.681683
agirbau
e776594fbd598c95b3e81560af668d272e915e5b
1,119
cpp
C++
nowcoder/contest/33540/L.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
nowcoder/contest/33540/L.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
nowcoder/contest/33540/L.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <chrono> using namespace std; //========================================== typedef long long ll; inline ll s(ll a,ll b) { return a*(a+1)/2*b*(b+1)/2; } signed main(signed argc, char const *argv[]) { #ifdef LOCAL freopen("in.in", "r", stdin); freopen("out.out", "w", stdout); auto...
27.292683
95
0.495085
StableAgOH
e778ec4d3da8ac94dd9032ea7022f11425a361fd
1,798
cpp
C++
Facebook-Hacker-Cup/2018/Round-01/Ethan-Traverses-a-Tree/Ethan-Traverses-a-Tree.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
Facebook-Hacker-Cup/2018/Round-01/Ethan-Traverses-a-Tree/Ethan-Traverses-a-Tree.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
Facebook-Hacker-Cup/2018/Round-01/Ethan-Traverses-a-Tree/Ethan-Traverses-a-Tree.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author: TISparta * > Date: 21-07-18 * > Tags: DSU * > Difficulty: 4 / 10 */ #include <bits/stdc++.h> using namespace std; const int MAX_V = 2e3 + 10, ROOT = 1; int n, k, _left[MAX_V], _right[MAX_V], color[MAX_V]; vector <int> pre, post; namespace DSU { int root[MAX_V]; void build () { for (int...
19.333333
89
0.520578
TISparta
e77a26c34f01769bc8dc5eff54281cff525c16ea
1,235
cpp
C++
BZOJ/4518/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4518/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4518/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rep(i,x,y) for(register int i=(x);i<=(y);++i) #define per(i,x,y) for(register int i=(x);i>=(y);--i) typedef long long LL; const int maxn=3010; using namespace std; inline LL sqr(LL x){return x*x;} inline LL read(){LL tmp=0;char c=getchar();while(c<'0'||c>'9')c=getchar();while...
30.121951
136
0.551417
sjj118
e77b4a11904c392c447225070b2450d49233651b
1,637
cc
C++
L1TriggerConfig/RCTConfigProducers/src/L1RCTParametersTester.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1TriggerConfig/RCTConfigProducers/src/L1RCTParametersTester.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1TriggerConfig/RCTConfigProducers/src/L1RCTParametersTester.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Package: RCTConfigTester // Class: RCTConfigTester // /**\class RCTConfigTester RCTConfigTester.h L1TriggerConfig/RCTConfigTester/src/RCTConfigTester.cc Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: Sridhara Dasu // ...
23.056338
98
0.750153
pasmuss
e77bd28725cce947d5285e06c0006be2daa9a6e2
2,142
cc
C++
src/xqp/qpconfig.cc
DouglasRMiles/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
5
2019-11-20T02:05:31.000Z
2022-01-06T18:59:16.000Z
src/xqp/qpconfig.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
null
null
null
src/xqp/qpconfig.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
2
2022-01-08T13:52:24.000Z
2022-03-07T17:41:37.000Z
/*************************************************************************** qpconfig.cc - configuration ------------------- begin : April 2004 copyright : (C) 2004 by Peter Robinson email : pjr@itee.uq.edu.au ...
33.46875
77
0.457983
DouglasRMiles
e77cfd5b99f366a07db61d2aa365c203a381c272
1,213
cpp
C++
Plugins/CaptionMod/SourceSDK/scheme.cpp
anchurcn/MetaHookSv
8408f57d5abb2109285ed9f7897e3a0776e51c87
[ "MIT" ]
31
2021-01-20T08:12:48.000Z
2022-03-29T16:47:50.000Z
Plugins/CaptionMod/SourceSDK/scheme.cpp
anchurcn/MetaHookSv
8408f57d5abb2109285ed9f7897e3a0776e51c87
[ "MIT" ]
118
2021-02-04T17:57:48.000Z
2022-03-31T13:03:21.000Z
Plugins/CaptionMod/SourceSDK/scheme.cpp
anchurcn/MetaHookSv
8408f57d5abb2109285ed9f7897e3a0776e51c87
[ "MIT" ]
13
2021-01-21T01:43:19.000Z
2022-03-15T04:51:19.000Z
#include <vgui/IScheme.h> using namespace vgui; //----------------------------------------------------------------------------- // Purpose: // Input : font - // Output : char const //----------------------------------------------------------------------------- char const *IScheme::GetFontName( const HFont& font ) ...
31.921053
110
0.564716
anchurcn
e780f72bbebf1dd2ddbdde14ef266bebf9bf5557
504
cpp
C++
src/mdlitr2d.cpp
degarashi/beat
456cc4469067509f0746fbe4eca0d3a0879cb894
[ "MIT" ]
null
null
null
src/mdlitr2d.cpp
degarashi/beat
456cc4469067509f0746fbe4eca0d3a0879cb894
[ "MIT" ]
null
null
null
src/mdlitr2d.cpp
degarashi/beat
456cc4469067509f0746fbe4eca0d3a0879cb894
[ "MIT" ]
null
null
null
#include "tfnode_base2d.hpp" namespace beat { namespace g2 { MdlItr::MdlItr(const Tf_SP& sp): _sp(sp) {} MdlItr& MdlItr::operator ++ () { _sp = _sp->getSibling(); return *this; } bool MdlItr::operator == (const MdlItr& m) const { return _sp == m._sp; } bool MdlItr::operator != (const MdlItr&...
19.384615
52
0.597222
degarashi
e78114aaae1075dd73c71898b3fe53a8fc32ebec
12,461
cpp
C++
amd_openvx_extensions/amd_winml/utilities/MIVisionX-WinML-Validate/source/mivisionx_winml_validate.cpp
Indumathi31/MIVisionX
e58c8b63d51e3f857d5f1c8750433d1ec887d7f0
[ "MIT" ]
null
null
null
amd_openvx_extensions/amd_winml/utilities/MIVisionX-WinML-Validate/source/mivisionx_winml_validate.cpp
Indumathi31/MIVisionX
e58c8b63d51e3f857d5f1c8750433d1ec887d7f0
[ "MIT" ]
8
2021-12-10T14:07:28.000Z
2022-03-04T02:53:11.000Z
amd_openvx_extensions/amd_winml/utilities/MIVisionX-WinML-Validate/source/mivisionx_winml_validate.cpp
Indumathi31/MIVisionX
e58c8b63d51e3f857d5f1c8750433d1ec887d7f0
[ "MIT" ]
2
2021-06-01T09:42:51.000Z
2021-11-09T14:35:36.000Z
/* Copyright (c) 2019 - 2022 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,...
32.792105
149
0.654843
Indumathi31
e782a4e227c4c146fe76286be7a466a8071860b5
528
hpp
C++
include/burndown/parser.hpp
winsider/burndown
fe1242ead437002184d4062797a8c0387cdd7fcc
[ "MIT" ]
null
null
null
include/burndown/parser.hpp
winsider/burndown
fe1242ead437002184d4062797a8c0387cdd7fcc
[ "MIT" ]
null
null
null
include/burndown/parser.hpp
winsider/burndown
fe1242ead437002184d4062797a8c0387cdd7fcc
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <burndown/string_segment.hpp> namespace ltc { namespace bd { /** * Parse buffer with csp template data * * \param csp_txt Buffer with CSP data */ std::vector<string_segment> parse_csp_buffer(const std:...
22.956522
87
0.573864
winsider
e7847ae921d8cfcad9b52e0f998ab2337f272f23
1,494
cpp
C++
cc_oct_long/finalFENWITER.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
cc_oct_long/finalFENWITER.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
cc_oct_long/finalFENWITER.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int t; cin>>t; while(t-- > 0){ string str1, str2, str3; int n; cin>>str1>>str2>>str3; cin>>n; int size1 = str1.size(); int size2 = str2.size(); int size3 = str3.size(); in...
24.9
63
0.375502
nileshleve
e789335121602f1b3bc54f2053422f413dad0433
6,801
cxx
C++
Qt/ApplicationComponents/pqAxesToolbar.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-09-27T08:04:34.000Z
2019-10-16T22:30:54.000Z
Qt/ApplicationComponents/pqAxesToolbar.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Qt/ApplicationComponents/pqAxesToolbar.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-03-13T03:35:01.000Z
2021-03-13T03:35:01.000Z
/*========================================================================= Program: ParaView Module: pqAxesToolbar.cxx Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaV...
36.564516
100
0.660785
brown-ccv
e7899ddaaaf11e9348d60698ee382a470bf9d35e
1,464
cpp
C++
frameworks/qt/libs/util/dmzQtUtil.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
1
2016-05-08T22:02:35.000Z
2016-05-08T22:02:35.000Z
frameworks/qt/libs/util/dmzQtUtil.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
frameworks/qt/libs/util/dmzQtUtil.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
#include <dmzQtUtil.h> #include <math.h> #include <QtGui/QtGui> dmz::Float64 dmz::get_qmatrix_scale (const QMatrix &Source) { qreal scaleX = Source.m11 (); qreal scaleY = Source.m12 (); qreal scale = sqrt (scaleX * scaleX + scaleY + scaleY); return scale; } void dmz::set_qobject_properties (const Strin...
20.914286
89
0.599044
tongli
e78a7495dc31b658e56b1ac6c1de7d0089ab3979
15,856
cpp
C++
engine/graphics/opengl/android/OGLRenderDeviceAndroid.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/opengl/android/OGLRenderDeviceAndroid.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/opengl/android/OGLRenderDeviceAndroid.cpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #include "../../../core/Setup.h" #if defined(__ANDROID__) && OUZEL_COMPILE_OPENGL #include <algorithm> #include "OGLRenderDeviceAndroid.hpp" #include "../EGLErrorCategory.hpp" #include "../../../core/Engine.hpp" #include "../../../core/Window.hpp" #include "../../../core/android/NativeWi...
40.243655
116
0.60135
tsukoyumi
e78dde6fb3c664160aa0d6e2f4ad2c601381c0b5
2,741
cpp
C++
pytorch_blade/src/compiler/tensorrt/bridge/tensorrt_common.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
328
2021-12-20T03:29:35.000Z
2022-03-31T14:27:23.000Z
pytorch_blade/src/compiler/tensorrt/bridge/tensorrt_common.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
82
2021-12-20T09:15:16.000Z
2022-03-31T09:33:48.000Z
pytorch_blade/src/compiler/tensorrt/bridge/tensorrt_common.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
66
2021-12-21T17:28:27.000Z
2022-03-29T12:08:34.000Z
// Copyright 2022 The BladeDISC Authors. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable l...
31.505747
80
0.683327
JamesTheZ
e78feb19e9af87d73f00bc2d2232fd9613159261
393
cpp
C++
2016-maximum-difference-between-increasing-elements/2016-maximum-difference-between-increasing-elements.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
2016-maximum-difference-between-increasing-elements/2016-maximum-difference-between-increasing-elements.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
2016-maximum-difference-between-increasing-elements/2016-maximum-difference-between-increasing-elements.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { public: int maximumDifference(vector<int>& nums) { int n=nums.size(); int dif=0; for(int i=0;i<n;i++){ for(int j=i+1;j<n;j++){ if(nums[i]<nums[j] && i<j){ dif=max((nums[j]-nums[i]),dif); } } ...
23.117647
51
0.379135
SouvikChan
e7900826538ef87df6c4a7bb709a6b6bad5f9456
3,379
cpp
C++
test/txpl/vm/value_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
null
null
null
test/txpl/vm/value_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
14
2015-03-02T14:02:32.000Z
2015-05-17T21:50:30.000Z
test/txpl/vm/value_test.cpp
ptomulik/txpl
109b5847abe0d46c598ada46f411f98ebe8dc4c8
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2015, Pawel Tomulik <ptomulik@meil.pw.edu.pl> // // 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) #define BOOST_TEST_MODULE test_txpl_vm_value #include <txpl/test_config.hpp> #include <boost/tes...
29.902655
66
0.681267
ptomulik
e79339d8380068bb8c9df637b649068911060de7
419
cpp
C++
01.02-variadicTemplateSum1/main.cpp
curtkim/programming-with-cpp20
7f2e4441e3ea550a9177499b0805481efc23685d
[ "MIT" ]
null
null
null
01.02-variadicTemplateSum1/main.cpp
curtkim/programming-with-cpp20
7f2e4441e3ea550a9177499b0805481efc23685d
[ "MIT" ]
null
null
null
01.02-variadicTemplateSum1/main.cpp
curtkim/programming-with-cpp20
7f2e4441e3ea550a9177499b0805481efc23685d
[ "MIT" ]
null
null
null
// Copyright (c) Andreas Fertig. // SPDX-License-Identifier: MIT #include <cstdio> #include <type_traits> template<typename T, typename... Ts> inline constexpr bool are_same_v = std::conjunction_v<std::is_same<T, Ts>...>; template<typename... Args> auto add(Args&&... args) { static_assert(are_same_v<Args...>); ...
17.458333
45
0.639618
curtkim
e794dd27b5ee186d36ca63a6c095d14583731dea
1,099
cc
C++
src/reindexer/core/perfstatcounter.cc
arock121/pocketnet.core
bc08bf9dc565c60d7e7d53e3cc615408b76f9bde
[ "ECL-2.0", "Apache-2.0" ]
72
2019-06-23T07:48:03.000Z
2022-03-31T03:47:04.000Z
src/reindexer/core/perfstatcounter.cc
arock121/pocketnet.core
bc08bf9dc565c60d7e7d53e3cc615408b76f9bde
[ "ECL-2.0", "Apache-2.0" ]
153
2021-01-20T08:10:23.000Z
2022-03-31T23:30:50.000Z
src/reindexer/core/perfstatcounter.cc
arock121/pocketnet.core
bc08bf9dc565c60d7e7d53e3cc615408b76f9bde
[ "ECL-2.0", "Apache-2.0" ]
20
2019-10-10T22:18:25.000Z
2022-02-12T01:08:29.000Z
#include "perfstatcounter.h" #include "estl/shared_mutex.h" namespace reindexer { template <typename Mutex> void PerfStatCounter<Mutex>::Hit(std::chrono::microseconds time) { std::unique_lock<Mutex> lck(mtx_); totalTime += time; calcTime += time; calcHitCount++; totalHitCount++; lap(); } template <typename Mu...
26.166667
112
0.744313
arock121
e799e5200c3b712f05fa4d9eac62ff44ad540739
17,007
cc
C++
chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// 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 "chrome/browser/chromeos/certificate_provider/certificate_provider_service.h" #include <stddef.h> #include <string> #include <utility> #include...
36.185106
86
0.748927
mghgroup
e79c0d1778b4cde8c5ba93a0b52a63d628bca142
3,061
cpp
C++
tests/src/parse_string_tests.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
null
null
null
tests/src/parse_string_tests.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
null
null
null
tests/src/parse_string_tests.cpp
stac47/jsoncons
b9e95d6a0bcb2dc8a821d33f98a530f10cfe1bc0
[ "BSL-1.0" ]
2
2020-09-15T13:00:19.000Z
2020-11-13T13:17:44.000Z
// Copyright 2016 Daniel Parker // Distributed under Boost license #include <jsoncons/json.hpp> #include <jsoncons/json_encoder.hpp> #include <jsoncons/json_reader.hpp> #include <catch/catch.hpp> #include <sstream> #include <vector> #include <utility> #include <ctime> using namespace jsoncons; struct jsonpath_filter...
23.015038
87
0.590003
stac47
e79c72a44324f0144f0045a376336532d007edc2
3,183
cpp
C++
libraries/utilities/test/src/main.cpp
awf/ELL
25c94a1422efc41d5560db11b136f9d8f957ad41
[ "MIT" ]
1
2020-09-18T04:38:45.000Z
2020-09-18T04:38:45.000Z
libraries/utilities/test/src/main.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
null
null
null
libraries/utilities/test/src/main.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: main.cpp (utilities_test) // Authors: Ofer Dekel // //////////////////////////////////////////////////////////////////////////////////////////////////// ...
23.932331
100
0.587496
awf
e79cb8a889ad000ef8c44f80dc3b099d29f3b058
15,837
cpp
C++
src/examples/source/Metabolomics_Classification.cpp
dmccloskey/smartPeak_cpp
47a19a804b65daef712418b4e278704b340d20b9
[ "MIT" ]
null
null
null
src/examples/source/Metabolomics_Classification.cpp
dmccloskey/smartPeak_cpp
47a19a804b65daef712418b4e278704b340d20b9
[ "MIT" ]
7
2018-01-11T20:39:09.000Z
2018-01-11T21:02:31.000Z
src/examples/source/Metabolomics_Classification.cpp
dmccloskey/smartPeak_cpp
47a19a804b65daef712418b4e278704b340d20b9
[ "MIT" ]
null
null
null
/**TODO: Add copyright*/ #include <EvoNet/ml/ModelInterpreterDefaultDevice.h> #include <EvoNet/io/ModelInterpreterFileDefaultDevice.h> #include <EvoNet/simulator/MetabolomicsClassificationDataSimulator.h> #include <EvoNet/models/CVAEFullyConnDefaultDevice.h> #include <unsupported/Eigen/CXX11/Tensor> #include "Metabol...
86.070652
686
0.833681
dmccloskey
e79e0c8f527fcec565ec54f980be810dc9b7c57d
3,618
cpp
C++
PROJECTS/smarthome/hub/multiregistrar/registrar.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
PROJECTS/smarthome/hub/multiregistrar/registrar.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
PROJECTS/smarthome/hub/multiregistrar/registrar.cpp
afatom/core-program
7886acf67f6b81bd06edef41f6ddab83cc993927
[ "MIT" ]
null
null
null
#include <multiregistrar.h> typedef std::map<const string, vector<Ilistener_t*> > SingleMap; typedef std::map<const string, map <const string, vector<Ilistener_t*> > > DualMap; typedef std::map<const string, map < const string, map <const string, vector<Ilistener_t*> > > > TrippleMap; MRegistrar_t::MRegistrar_t() {...
25.125
124
0.694859
afatom
e79e39b55e2233cf58c603da71ec8aa82e5cc591
12,744
cpp
C++
lib/_studio/mfx_lib/shared/src/libmfxsw_plugin.cpp
3xLOGICKevinHan/MediaSDK
92b6ee70f5ea45d08527f81cb93105f9ee71d84e
[ "MIT" ]
null
null
null
lib/_studio/mfx_lib/shared/src/libmfxsw_plugin.cpp
3xLOGICKevinHan/MediaSDK
92b6ee70f5ea45d08527f81cb93105f9ee71d84e
[ "MIT" ]
null
null
null
lib/_studio/mfx_lib/shared/src/libmfxsw_plugin.cpp
3xLOGICKevinHan/MediaSDK
92b6ee70f5ea45d08527f81cb93105f9ee71d84e
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publ...
31.312039
114
0.579488
3xLOGICKevinHan
e79ebd9d3f1a4d91954888a8a46f89065e9ff6a2
553
cpp
C++
src/distance.cpp
dickoa/euclid
6588a6f56c73779152ff99eb06f41b3ec61170bc
[ "MIT" ]
68
2020-09-17T13:17:03.000Z
2022-02-20T09:14:54.000Z
src/distance.cpp
dickoa/euclid
6588a6f56c73779152ff99eb06f41b3ec61170bc
[ "MIT" ]
27
2020-09-17T13:35:53.000Z
2022-01-20T09:12:48.000Z
src/distance.cpp
dickoa/euclid
6588a6f56c73779152ff99eb06f41b3ec61170bc
[ "MIT" ]
11
2020-09-17T11:43:37.000Z
2022-01-10T13:08:27.000Z
#include "geometry_vector.h" #include "exact_numeric.h" #include <cpp11/matrix.hpp> #include <cpp11/external_pointer.hpp> [[cpp11::register]] exact_numeric_p geometry_squared_distance(geometry_vector_base_p geo1, geometry_vector_base_p geo2) { std::vector<Exact_number> res = geo1->squared_distance(*geo2); exact_nu...
32.529412
116
0.792043
dickoa
e7a12ce94f49e99bbfdd6fd80e4ea05440370372
766
cpp
C++
src/Memory/FrameMemoryResource.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
src/Memory/FrameMemoryResource.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
src/Memory/FrameMemoryResource.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
#include "FrameMemoryResource.h" #include "MemoryResource.h" XE::FrameMemoryResource::FrameMemoryResource() :std::pmr::monotonic_buffer_resource( KBYTE( 16 ), MemoryResource::GetDefaultMemoryResource() ) { } XE::FrameMemoryResource::~FrameMemoryResource() noexcept { } void * XE::FrameMemoryResource::do_allocate(...
25.533333
99
0.766319
xenginez
e7a1e9d61a3a125bb6ddbcd3f3ae7ea581885cca
15,656
cc
C++
src/xenia/cpu/frontend/ppc_emit_fpu.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/cpu/frontend/ppc_emit_fpu.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
null
null
null
src/xenia/cpu/frontend/ppc_emit_fpu.cc
Parovozik/Xenia_UI
3f12becc1845a8fc264ae74d25e28e543f61b5b4
[ "BSD-3-Clause" ]
1
2018-10-16T16:45:27.000Z
2018-10-16T16:45:27.000Z
/* ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
26.762393
79
0.627172
Parovozik
e7a232b376eb7f58d05f150495b52e63d05dda83
598
cpp
C++
checkersProgram/checkersProgram/checker.cpp
madv/CheckersProgram
b671efbdbe3d0e7442d347eb361bc35d771f78da
[ "MIT" ]
null
null
null
checkersProgram/checkersProgram/checker.cpp
madv/CheckersProgram
b671efbdbe3d0e7442d347eb361bc35d771f78da
[ "MIT" ]
null
null
null
checkersProgram/checkersProgram/checker.cpp
madv/CheckersProgram
b671efbdbe3d0e7442d347eb361bc35d771f78da
[ "MIT" ]
null
null
null
#include "checker.h" checker::checker(const char& color, const bool& isKing, int x, int y) : color(color), isKing(isKing), x(x), y(y) { } checker::~checker() { } void checker::setColor(char color) { this->color = color; } void checker::setKing(bool isKing) { this->isKing = isKing; } char checker::getColor() const { ...
13.590909
112
0.658863
madv
e7a640e4dd78ce1e0a3243720c6aeee719b78355
47
cpp
C++
core/Drawable.cpp
Xecutor/glider
811bfa91a76cb5dbc918a219681ad2e97cb553fa
[ "MIT" ]
null
null
null
core/Drawable.cpp
Xecutor/glider
811bfa91a76cb5dbc918a219681ad2e97cb553fa
[ "MIT" ]
null
null
null
core/Drawable.cpp
Xecutor/glider
811bfa91a76cb5dbc918a219681ad2e97cb553fa
[ "MIT" ]
null
null
null
#include "Drawable.hpp" namespace glider{ }
6.714286
23
0.702128
Xecutor
e7a93bae2839fd191bd203886d64b8d3822a87a6
678
hpp
C++
libcore/include/sirikata/core/util/Base64.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
31
2015-01-28T17:01:10.000Z
2021-11-04T08:30:37.000Z
libcore/include/sirikata/core/util/Base64.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
null
null
null
libcore/include/sirikata/core/util/Base64.hpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
9
2015-08-02T18:39:49.000Z
2019-10-11T10:32:30.000Z
// Copyright (c) 2011 Sirikata Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE file. #ifndef SIRIKATA_CORE_UTIL_BASE64_HPP__ #define SIRIKATA_CORE_UTIL_BASE64_HPP__ #include <sirikata/core/util/Platform.hpp> namespace Sirikata { namespac...
30.818182
79
0.809735
sirikata
e7a9a1d731a4f54e845be7ee2cd398ad8dd3f193
1,753
cpp
C++
source/serialization/EpAttribute.cpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
3
2018-02-16T04:30:22.000Z
2021-03-26T02:06:51.000Z
source/serialization/EpAttribute.cpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
null
null
null
source/serialization/EpAttribute.cpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
null
null
null
// // EpAttribute.cpp // Tape // // Created by Steven Massey on 6/23/20. // Copyright © 2020 Massey Plugins Inc. All rights reserved. // #include <string_view> #include "EpAttribute.hpp" u8 EpAttributes::GetTypeForName_ (const string & i_attributeName) { return m_attributes [i_attributeName].type; } string EpA...
22.766234
138
0.6081
soundandform
e7aab713ad1ba20154560e68f28536dfec1fe541
6,186
cpp
C++
cvs/objects/target_finder/source/target_factory.cpp
cmcormack/gcam-core
ccbe826dbfeb9ed85472977aac6d36dbbf763a23
[ "ECL-2.0" ]
157
2016-10-13T17:44:11.000Z
2022-03-30T09:34:50.000Z
cvs/objects/target_finder/source/target_factory.cpp
cmcormack/gcam-core
ccbe826dbfeb9ed85472977aac6d36dbbf763a23
[ "ECL-2.0" ]
190
2016-10-13T20:19:10.000Z
2022-03-25T19:17:05.000Z
cvs/objects/target_finder/source/target_factory.cpp
cmcormack/gcam-core
ccbe826dbfeb9ed85472977aac6d36dbbf763a23
[ "ECL-2.0" ]
95
2016-10-13T17:44:44.000Z
2022-03-28T02:10:52.000Z
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE USE OF...
45.485294
86
0.622373
cmcormack
e7aee99a19c3e594eb93e9aef69b4c41d41fe0b9
151
cpp
C++
src/src/XEngine/Components/SpawnComponent.cpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/src/XEngine/Components/SpawnComponent.cpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/src/XEngine/Components/SpawnComponent.cpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
#include <XEngine/Components/SpawnComponent.hpp> namespace XE { SpawnComponent::SpawnComponent() : group(0) , spawnPointId(0) { } } // ns XE
11.615385
48
0.682119
devxkh
e7b360ab160b9b751a5d1e68f47fd9cd95e23e58
1,669
hpp
C++
generator/list.hpp
kindone/cppproptest
db3cace33af7914d6d2b65945baa5554da281725
[ "MIT" ]
1
2021-06-19T05:40:33.000Z
2021-06-19T05:40:33.000Z
generator/list.hpp
kindone/cppproptest
db3cace33af7914d6d2b65945baa5554da281725
[ "MIT" ]
null
null
null
generator/list.hpp
kindone/cppproptest
db3cace33af7914d6d2b65945baa5554da281725
[ "MIT" ]
null
null
null
#pragma once #include "../gen.hpp" #include "../Random.hpp" #include "../util/printing.hpp" #include "../shrinker/listlike.hpp" #include "util.hpp" #include "../util/std.hpp" namespace proptest { template <typename T> class PROPTEST_API Arbi<list<T>> final : public ArbiContainer<list<T>> { public: using List = l...
29.803571
109
0.673457
kindone
e7b381e3f873fbfa51b325a861c14378c6fd0d60
5,921
cc
C++
third_party/libkml-1.2.0/src/kml/dom/link.cc
mmertama/QtKMLLib
bcc4fa7344d9c9fd4f8d8b9b968e7b6c35ba3c78
[ "MIT" ]
1
2017-08-18T10:06:55.000Z
2017-08-18T10:06:55.000Z
third_party/libkml-1.2.0/src/kml/dom/link.cc
mmertama/QtKMLLib
bcc4fa7344d9c9fd4f8d8b9b968e7b6c35ba3c78
[ "MIT" ]
2
2015-05-07T17:45:16.000Z
2015-09-10T14:34:59.000Z
src/kml/dom/link.cc
Kitware/libkml
71c58679e959927d2c0a5b5ffab884f2f3150e13
[ "BSD-3-Clause" ]
5
2015-05-04T18:13:24.000Z
2019-02-26T21:38:08.000Z
// Copyright 2008, Google Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions an...
29.605
80
0.706975
mmertama
e7b4027dbb3b186fae3b8eac56714ab036cf69dc
321
cpp
C++
ch03/ex3_25.cpp
yunongzhou/cppprimer
331cdc69f9063fca3466fda994a06de12387d0b3
[ "MIT" ]
2
2018-08-22T15:04:17.000Z
2018-08-26T16:05:59.000Z
ch03/ex3_25.cpp
yunongzhou/cppprimer
331cdc69f9063fca3466fda994a06de12387d0b3
[ "MIT" ]
null
null
null
ch03/ex3_25.cpp
yunongzhou/cppprimer
331cdc69f9063fca3466fda994a06de12387d0b3
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using std::cin; using std::cout; using std::endl; using std::vector; using Vector = vector<unsigned>; int main(){ Vector score(11,0); unsigned grade; while(cin >> grade){ ++(*(score.begin() + grade/10)); } for(auto i:score) cout << i << endl; return 0; } // main...
13.956522
38
0.619938
yunongzhou
e7b62e065c3d6af8f7e7ea9c15e25b7eecc968f5
8,812
cpp
C++
TRTCSDK/Windows/QTDemo/TestAudioSetting.cpp
aliyunvideo/Queen_SDK_Android
e46e32e16f8a6ecf3746a5c397a6a1f36189e93c
[ "Apache-2.0" ]
2
2021-07-06T03:32:25.000Z
2021-12-17T02:24:16.000Z
TRTCSDK/Mac/QTDemo/TestAudioSetting.cpp
aliyunvideo/Queen_SDK_Android
e46e32e16f8a6ecf3746a5c397a6a1f36189e93c
[ "Apache-2.0" ]
null
null
null
TRTCSDK/Mac/QTDemo/TestAudioSetting.cpp
aliyunvideo/Queen_SDK_Android
e46e32e16f8a6ecf3746a5c397a6a1f36189e93c
[ "Apache-2.0" ]
1
2022-03-31T09:07:26.000Z
2022-03-31T09:07:26.000Z
// QTSimpleDemo // // Copyright © 2020 tencent. All rights reserved. // #include "TestAudioSetting.h" #include "ui_TestAudioSetting.h" #include <QtDebug> #include <QLineEdit> #include <QFileDialog> #include <QDateTime> #define RECORD_ID 100 TestAudioSetting::TestAudioSetting(QWidget *parent) : QDialo...
35.967347
216
0.68645
aliyunvideo
e7b74716b794efab682d5f4411659fc61074f5ea
1,027
cpp
C++
src/Core/InterpolateDescription.cpp
chalice19/ClickHouse
2f38e7bc5c2113935ab86260439bb543a1737291
[ "Apache-2.0" ]
8,629
2016-06-14T21:03:01.000Z
2019-09-23T07:46:38.000Z
src/Core/InterpolateDescription.cpp
chalice19/ClickHouse
2f38e7bc5c2113935ab86260439bb543a1737291
[ "Apache-2.0" ]
4,335
2016-06-15T12:58:31.000Z
2019-09-23T11:18:43.000Z
src/Core/InterpolateDescription.cpp
chalice19/ClickHouse
2f38e7bc5c2113935ab86260439bb543a1737291
[ "Apache-2.0" ]
1,700
2016-06-15T09:25:11.000Z
2019-09-23T11:16:38.000Z
#include <Core/Block.h> #include <IO/Operators.h> #include <Common/JSONBuilder.h> #include <Core/InterpolateDescription.h> #include <Interpreters/convertFieldToType.h> namespace DB { InterpolateDescription::InterpolateDescription(ActionsDAGPtr actions_, const Aliases & aliases) : actions(actions_) { ...
31.121212
99
0.618306
chalice19
e7b788bd461f209151b61cf5f52dd1ea7f50de69
974
cpp
C++
kalimat/Parser/parserexception.cpp
mobadarah/kalimat-lang
9eb6c64dd5380efaf863b619a506ebf000be7fd9
[ "Apache-2.0" ]
6
2021-07-05T15:35:33.000Z
2022-03-25T21:21:43.000Z
kalimat/Parser/parserexception.cpp
anasawad/kalimat
830cbe9ddde13865bc1f77a2f74efd3dac3b58cc
[ "Apache-2.0" ]
null
null
null
kalimat/Parser/parserexception.cpp
anasawad/kalimat
830cbe9ddde13865bc1f77a2f74efd3dac3b58cc
[ "Apache-2.0" ]
1
2022-03-25T21:15:33.000Z
2022-03-25T21:15:33.000Z
#include "../Lexer/token.h" #include "parserexception.h" ParserException::ParserException(QString fileName, QString msg) { this->fileName = fileName; message = msg; hasPosInfo = false; ErrType = -1; } ParserException::ParserException(QString fileName, Token pos, QString msg) { this->f...
24.974359
75
0.568789
mobadarah
e7b7db709e137c39e4fac6d2d4c394eb1d98e3d7
10,673
cc
C++
sparse_operation_kit/kit_cc/kit_cc_infra/src/embeddings/embedding_layer.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
sparse_operation_kit/kit_cc/kit_cc_infra/src/embeddings/embedding_layer.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
sparse_operation_kit/kit_cc/kit_cc_infra/src/embeddings/embedding_layer.cc
marsmiao/HugeCTR
c9ff359a69565200fcc0c7aae291d9c297bea70e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA 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 ...
45.033755
120
0.696805
marsmiao
e7b99034c1c8599cfc2357ce4c88c3db1cbf532e
885
cpp
C++
TAO/orbsvcs/DevGuideExamples/NotifyService/OfferSubscriptions/StructuredEventSupplier_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/DevGuideExamples/NotifyService/OfferSubscriptions/StructuredEventSupplier_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/DevGuideExamples/NotifyService/OfferSubscriptions/StructuredEventSupplier_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: StructuredEventSupplier_i.cpp 83415 2008-10-23 08:18:15Z johnnyw $ #include "StructuredEventSupplier_i.h" #include "tao/PortableServer/PS_CurrentC.h" StructuredEventSupplier_i::StructuredEventSupplier_i(CORBA::ORB_ptr orb) : orb_(CORBA::ORB::_duplicate(orb)) { } void StructuredEventSupplier_i::disconnect_s...
29.5
75
0.719774
cflowe
e7baf270c19223d17fd5cefdf85648a50b45b32b
325
cpp
C++
test/main.cpp
Sharma117555448/Robot_Contoller-1
2656345bd24b34153ea1f5751d99438e199e8546
[ "MIT" ]
1
2022-03-25T13:42:01.000Z
2022-03-25T13:42:01.000Z
test/main.cpp
Sharma117555448/Robot_Contoller-1
2656345bd24b34153ea1f5751d99438e199e8546
[ "MIT" ]
null
null
null
test/main.cpp
Sharma117555448/Robot_Contoller-1
2656345bd24b34153ea1f5751d99438e199e8546
[ "MIT" ]
1
2021-10-06T19:48:46.000Z
2021-10-06T19:48:46.000Z
/** * @file main.cpp * @authors Vivek Sood and Charu Sharma * @brief primary source file * @date 2021-10-16 * @copyright Copyright (c) 2021 * * ENPM808X Midterm - Phase 0 Proposal * */ #include <gtest/gtest.h> int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(...
18.055556
41
0.661538
Sharma117555448
e7bc2583c932526c7b2ac848e5fc24c434699a22
561
cc
C++
lib/sk/net/test/functional/get-localhost.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/net/test/functional/get-localhost.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/net/test/functional/get-localhost.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* vim: sw=2: * Copyright (c) 2011, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. * * Author: Gennady Bystritsky */ #include <iostream> #include <iomanip> #include <exceptio...
22.44
77
0.672014
stemkit-collection
e7bee55e91e5a5bbd78a2d33b7476b5cc8e5e5ff
4,750
cc
C++
src/attributes/WindAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/WindAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/WindAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
29.874214
94
0.717053
b8raoult
e7c0f769c870cef1dee6a63a884e943e9cff3765
5,774
cpp
C++
blingfireclient.library/src/FAWftConfKeeper.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfireclient.library/src/FAWftConfKeeper.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfireclient.library/src/FAWftConfKeeper.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #include "blingfire-client_src_pch.h" #include "FAConfig.h" #include "FAWftConfKeeper.h" #include "FAFsmConst.h" #include "FALDB.h" #include "FARSDfa_pack_triv.h" #include "FAState2Ows_pack_triv.h" #in...
23.376518
91
0.520783
ameyac-msft
b10e05d29d08ba326046ea0d635cd56fedada92d
3,572
cpp
C++
src/event/event_emitter.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
2
2021-03-18T16:25:04.000Z
2021-11-13T00:29:27.000Z
src/event/event_emitter.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
null
null
null
src/event/event_emitter.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
1
2021-11-13T00:29:30.000Z
2021-11-13T00:29:30.000Z
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #include "event_emitter.hpp" namespace Zen { std::vector<std::string> EventEmitter::getEventNames (Entity entity_) { auto iterator_ = eventMap.fi...
22.465409
92
0.707167
hexoctal
b10fd16450cdf7f7e9297470721840559327135b
1,557
cpp
C++
src/util/Test.cpp
cvjena/cn24-active
5f40b63aebd14c0658136b402e3df010e405de05
[ "BSD-3-Clause" ]
2
2019-08-22T02:15:03.000Z
2020-02-13T13:28:56.000Z
src/util/Test.cpp
cvjena/cn24-active
5f40b63aebd14c0658136b402e3df010e405de05
[ "BSD-3-Clause" ]
1
2019-12-26T16:58:51.000Z
2019-12-26T17:01:06.000Z
src/util/Test.cpp
cvjena/cn24-active
5f40b63aebd14c0658136b402e3df010e405de05
[ "BSD-3-Clause" ]
1
2020-10-12T13:10:27.000Z
2020-10-12T13:10:27.000Z
/* * This file is part of the CN24 semantic segmentation software, * copyright (C) 2015 Clemens-Alexander Brust (ikosa dot de at gmail dot com). * * For licensing information, see the LICENSE file included with this project. */ #include "Config.h" #include "Test.h" namespace Conv { template void AssertEqual<da...
57.666667
97
0.777136
cvjena
b1113c895c52c9ea12d0332e7e26c57b72f5c320
936
cpp
C++
connect_nodes_at_same_level.cpp
Gauawa12/GFG-codes
c790efb783c463187dcfce4b7155d9f86227dbed
[ "MIT" ]
null
null
null
connect_nodes_at_same_level.cpp
Gauawa12/GFG-codes
c790efb783c463187dcfce4b7155d9f86227dbed
[ "MIT" ]
null
null
null
connect_nodes_at_same_level.cpp
Gauawa12/GFG-codes
c790efb783c463187dcfce4b7155d9f86227dbed
[ "MIT" ]
null
null
null
void connect(Node *p) { queue<Node*>q; q.push(p); while(!q.empty()) { int s=q.size(); while(s>=1) { if(s==1) { Node* t=q.front(); q.pop(); if(t->left) { q.push(t->left); ...
19.5
36
0.208333
Gauawa12
b1118c1008c7ac10f8f94b2174409eed8c829373
386
cpp
C++
templates/others/zeller.cpp
st1vdy/Algorithm-Library
7fdab3190afbb7076e95650bce712857107c80ef
[ "MIT" ]
4
2021-11-05T08:57:30.000Z
2022-03-23T06:45:38.000Z
templates/others/zeller.cpp
st1vdy/Algorithm-Library
7fdab3190afbb7076e95650bce712857107c80ef
[ "MIT" ]
null
null
null
templates/others/zeller.cpp
st1vdy/Algorithm-Library
7fdab3190afbb7076e95650bce712857107c80ef
[ "MIT" ]
null
null
null
int zeller(int y, int m, int d) { // 蔡勒公式 返回星期几 if (m <= 2) y--, m += 12; int c = y / 100; y %= 100; int w = ((c >> 2) - (c << 1) + y + (y >> 2) + (13 * (m + 1) / 5) + d - 1) % 7; if (w < 0) w += 7; return (w); } int getId(int y, int m, int d) { // 返回到公元1年1月1日的天数 if (m < 3) { y--; m += 12; } return 365 * y + ...
29.692308
50
0.401554
st1vdy
b111a24146b20b1b91f6f267045611d2c5b15212
1,049
cpp
C++
coordinate.cpp
nyczbrandon/RushHour
decb78ae430314a07f2cde5673e36a7b6ec9976a
[ "Xnet", "X11", "CECILL-B" ]
1
2018-02-11T01:33:53.000Z
2018-02-11T01:33:53.000Z
coordinate.cpp
nyczbrandon/RushHour
decb78ae430314a07f2cde5673e36a7b6ec9976a
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
coordinate.cpp
nyczbrandon/RushHour
decb78ae430314a07f2cde5673e36a7b6ec9976a
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
#include "coordinate.hh" Coordinate::Coordinate(char r, int c) { row = r; col = c; } char Coordinate::getRow() { return row; } int Coordinate::getColumn() { return col; } Coordinate Coordinate::getLeft() { return Coordinate(row, col - 1); } Coordinate Coordinate::getRight() { return ...
14.774648
48
0.628217
nyczbrandon
b111e59f63297c0c9ef425fe2e9b59a3c4d2ceae
399
cc
C++
leetcode/powx-n.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/powx-n.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/powx-n.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Pow(x,n) class Solution { public: double myPow(double x, int n) { if (x == 0) return 0; if (n == 0) return 1; if (n < 0) { n = abs(n); x = 1 / x; } double t = myPow(x, n/2); double res; if (n % 2) res = t * t * x; ...
19.95
37
0.353383
Waywrong
b11225f85adcbb6befe38f5161391a8f99f2951f
6,104
cpp
C++
Source/Foundation/bsfCore/Renderer/BsSkybox.cpp
hhyyrylainen/bsf
b8c1f88d9e5a236a8623a39d0fb91d65995a7660
[ "MIT" ]
null
null
null
Source/Foundation/bsfCore/Renderer/BsSkybox.cpp
hhyyrylainen/bsf
b8c1f88d9e5a236a8623a39d0fb91d65995a7660
[ "MIT" ]
null
null
null
Source/Foundation/bsfCore/Renderer/BsSkybox.cpp
hhyyrylainen/bsf
b8c1f88d9e5a236a8623a39d0fb91d65995a7660
[ "MIT" ]
null
null
null
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Renderer/BsSkybox.h" #include "Private/RTTI/BsSkyboxRTTI.h" ...
25.864407
124
0.710518
hhyyrylainen
b11287fc8947b21abad95bc44b75be916432c536
2,628
hpp
C++
AirLib/include/common/UpdatableContainer.hpp
altay13/AirSim
a42fb69e6a692ec154f25abd80c0b49ef45caac4
[ "MIT" ]
6,115
2019-05-07T05:29:14.000Z
2022-03-31T12:46:36.000Z
AirLib/include/common/UpdatableContainer.hpp
altay13/AirSim
a42fb69e6a692ec154f25abd80c0b49ef45caac4
[ "MIT" ]
2,306
2019-05-07T00:17:31.000Z
2022-03-31T23:31:46.000Z
AirLib/include/common/UpdatableContainer.hpp
altay13/AirSim
a42fb69e6a692ec154f25abd80c0b49ef45caac4
[ "MIT" ]
2,059
2019-05-07T03:07:43.000Z
2022-03-31T06:31:19.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef airsim_core_UpdatableContainer_hpp #define airsim_core_UpdatableContainer_hpp #include "UpdatableObject.hpp" #include "common/Common.hpp" namespace msr { namespace airlib { template <typename TU...
32.444444
99
0.605403
altay13
b112e414aa2b845b9f802e3984e0a1456b520baa
22,515
cc
C++
content/browser/renderer_host/media/media_devices_dispatcher_host.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
content/browser/renderer_host/media/media_devices_dispatcher_host.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
content/browser/renderer_host/media/media_devices_dispatcher_host.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2016 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 "content/browser/renderer_host/media/media_devices_dispatcher_host.h" #include <stddef.h> #include <algorithm> #include <utility> #include "ba...
41.694444
80
0.737908
zealoussnow
b1135147f3327846a203cb35f53ff558946f9eb5
2,718
hpp
C++
include/boost/webclient/asio/has_timeout.hpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
3
2020-06-12T02:22:41.000Z
2021-03-23T14:18:01.000Z
include/boost/webclient/asio/has_timeout.hpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
1
2020-06-12T02:29:08.000Z
2020-07-18T10:07:05.000Z
include/boost/webclient/asio/has_timeout.hpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2020 Richard Hodges (hodges.r@gmail.com) // // 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) // // Official repository: https://github.com/madmongo1/webclient // // This project was made possible ...
28.610526
94
0.668874
madmongo1