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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e915123ca572f6ea04d3034f4e498cf90597f67 | 2,312 | cpp | C++ | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 12 | 2017-02-25T17:14:15.000Z | 2021-08-02T13:39:18.000Z | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 31 | 2017-02-23T06:59:44.000Z | 2017-05-21T11:49:10.000Z | engine/mono/src/managed_interface/resources/filesystem_collection_provider.cpp | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 5 | 2017-05-02T05:34:53.000Z | 2020-05-19T06:57:50.000Z | /*
* Copyright (c) 2012-2018 Robin Degen
*
* 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,... | 39.862069 | 111 | 0.740052 | aeon-engine |
0e92670f7af3cdc722448aef82c3396557643c5c | 1,309 | hpp | C++ | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 229 | 2018-03-12T19:16:04.000Z | 2022-03-25T15:21:39.000Z | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 504 | 2018-07-03T23:37:14.000Z | 2022-03-23T20:15:26.000Z | src/umpire/util/AllocationRecord.hpp | PhilipDeegan/Umpire | 3f047822380435131a00a0c7e356c9e845bbfef3 | [
"MIT-0",
"MIT"
] | 53 | 2018-06-29T23:37:19.000Z | 2022-03-28T17:39:20.000Z | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-21, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 25.173077 | 105 | 0.640183 | PhilipDeegan |
0e934556ea4c1539cba78495c5ac7be0aaf7fb1e | 6,379 | cpp | C++ | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | stephenzhj/NIM_PC_Demo | 0d2933955e079afa5c9e4df196ee017fad6c79af | [
"BSD-2-Clause",
"OpenSSL"
] | 161 | 2016-01-24T13:55:15.000Z | 2021-06-01T03:48:56.000Z | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | stephenzhj/NIM_PC_Demo | 0d2933955e079afa5c9e4df196ee017fad6c79af | [
"BSD-2-Clause",
"OpenSSL"
] | 49 | 2016-01-24T14:06:52.000Z | 2021-06-01T07:14:53.000Z | tool_kits/ui_component/av_kit/gui/local_video_player/local_video_player_form_ui.cpp | xiejiulong/NIM_PC_Demo | 47f74270b200bb365035209c9734723f1cb7efea | [
"BSD-2-Clause",
"OpenSSL"
] | 140 | 2016-02-22T09:42:07.000Z | 2021-05-26T01:15:12.000Z | #include "stdafx.h"
#include "local_video_player_form.h"
#include "shared/modal_wnd/file_dialog_ex.h"
#ifdef SUPPORTLOCALPLAYER
const LPTSTR LocalVideoPlayerForm::kClassName = L"LocalVideoPlayerForm";
unsigned int LocalVideoPlayerForm::InstanceNum = 0;
using namespace ui;
LocalVideoPlayerForm::LocalVideoPlayerForm(co... | 23.981203 | 141 | 0.726446 | stephenzhj |
0e968553b2656d4f10819f4e7227e479db0c27a2 | 503 | hpp | C++ | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | northstar/include/mock/MockIEnvironmentSensor.hpp | BryanChrisBrown/project_northstar_openvr_driver | cf16e98e24804aee699805dca766b8153f4e52e5 | [
"Unlicense"
] | null | null | null | #pragma once
#include <doctest/doctest.h>
#include <doctest/trompeloeil.hpp>
#include <ST/XRSession.h>
#include <openvr_driver.h>
#include "driver/IEnvironmentSensor.hpp"
namespace northstar {
namespace driver {
class MockIEnvironmentSensor:
public IEnvironmentSensor{
public:
... | 25.15 | 93 | 0.662028 | BryanChrisBrown |
0e98a2ce70cbd34d6e69579e94a6690563bf4c2b | 571 | cpp | C++ | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | cpp/template_debugging/runtime.cpp | jl-wynen/code_stuffs | 91ee6cd9075a7bc8697b03ce2eec13cb4fffb3ad | [
"MIT"
] | null | null | null | // gcc and clang only
// Jonathan O'Connor
// https://www.youtube.com/watch?v=83fMx7Grxys
#include <iostream>
#include <string>
template <typename T>
auto name_of_type(T* = nullptr)
{
std::string const pretty_func{__PRETTY_FUNCTION__};
auto const pos = pretty_func.find('=');
if (pos == std::string::npos)... | 22.84 | 68 | 0.61296 | jl-wynen |
0e9accd60c5b2fc640ba3c5e76b28e269666fff3 | 8,394 | cpp | C++ | segmentation/segmentation_common.cpp | ayghor/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 159 | 2015-01-14T21:24:12.000Z | 2021-08-29T19:38:27.000Z | segmentation/segmentation_common.cpp | Robotertechnik/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 21 | 2015-01-06T15:51:10.000Z | 2020-06-21T18:58:01.000Z | segmentation/segmentation_common.cpp | Robotertechnik/video_segment | c930c4555ff171e5013d525e218a4d8201ed0d51 | [
"BSD-3-Clause"
] | 86 | 2015-01-14T21:25:29.000Z | 2020-06-21T18:52:19.000Z | // Copyright (c) 2010-2014, The Video Segmentation Project
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice... | 38.682028 | 88 | 0.704313 | ayghor |
0e9bbff8a77f5c38b1e1a480ea1a84b99b417eae | 4,750 | cpp | C++ | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | build/luadbg/luadbg.cpp | oceancx/xLua | cba692cc63d1748d876ab7eb3b292d15fd796468 | [
"BSD-3-Clause"
] | null | null | null | #include "luadbg.h"
#include "lua_net.h"
#include "net_thread_queue.h"
#include <functional>
#include <thread>
#include "buffer.h"
#include "luadbg.inl"
#include "lua_bind.h"
#include "asio.hpp"
using namespace cxezio;
using asio::ip::tcp;
std::string LUADBG_LINES_ENDING = "";
bool check_lua_error(lua_State* L, ... | 22.511848 | 86 | 0.717895 | oceancx |
0e9da5e0721ec9c5c076fabe698ab814ad922c4f | 2,799 | cpp | C++ | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | math/modular_inverse_fermat_little_theorem.cpp | dvijaymanohar/C-Plus-Plus | c987381c25858f08d0fe9301712ab6c1a10b433f | [
"MIT"
] | null | null | null | /**
* @file
* @brief C++ Program to find the modular inverse using [Fermat's Little
* Theorem](https://en.wikipedia.org/wiki/Fermat%27s_little_theorem)
*
* Fermat's Little Theorem state that \f[ϕ(m) = m-1\f]
* where \f$m\f$ is a prime number.
* \f{eqnarray*}{
* a \cdot x &≡& 1 \;\text{mod}\; m\\
* x &≡& a^{-... | 23.923077 | 78 | 0.538049 | dvijaymanohar |
0e9db0a3bfc04e857dadce1d7c4bbe6121f1f642 | 5,754 | hpp | C++ | include/eve/function/fuzzy.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/function/fuzzy.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/function/fuzzy.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 36.188679 | 106 | 0.434654 | the-moisrex |
0e9f82aa4cf1defb1eea7821dd5e3e66bfa4c2d9 | 1,342 | cpp | C++ | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | 2 | 2016-12-06T17:51:30.000Z | 2018-06-21T08:52:58.000Z | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | src/voronoi/src/mp_sample_generator.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | #include "mp_sample_generator.h"
#include <iostream>
#include <cstdlib>
#include <time.h>
MPSampleGenerator::MPSampleGenerator()
: seed(time(NULL)),
re(seed)
{
//std::cout << "seed = " << seed << "\n";
unif = std::uniform_real_distribution<long double>(0.0,1.0);
}
MPSampleGenerator::MPSamp... | 22 | 64 | 0.568554 | frmr |
0e9ff7ad7a61bd02bc90ac06cdeb88259c82559b | 1,124 | cc | C++ | references/aoapc-book/TrainingGuide/exercises/ch2/Counting/UVa10081.cc | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | 68 | 2017-10-08T04:44:23.000Z | 2019-08-06T20:15:02.000Z | TG/exercises/ch2/Counting/UVa10081.cc | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | TG/exercises/ch2/Counting/UVa10081.cc | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 18 | 2017-05-31T02:52:23.000Z | 2019-07-05T09:18:34.000Z | // UVa10081 Tight words
// 陈锋
#include<cstring>
#include<iostream>
#include <iomanip>
#include<cmath>
#include<algorithm>
using namespace std;
int k, n;
const int MAXK = 9, MAXN = 100;
double dp[MAXK + 10][MAXN + 10];
bool vis[MAXK + 10][MAXN + 10];
double calc(int c, int n)
{
if(c > k || c < 0) return 0;
doub... | 19.050847 | 71 | 0.515125 | voleking |
0ea00590409e35d12c5d8c1e45c2eac686554e6f | 9,023 | cpp | C++ | src/qt/src/tools/moc/token.cpp | beaglecode/phantomjs | 4f17d94afd02c2d9df7ff2cc568494f194aef15f | [
"BSD-3-Clause"
] | 1 | 2018-09-02T16:08:00.000Z | 2018-09-02T16:08:00.000Z | src/qt/src/tools/moc/token.cpp | beaglecode/phantomjs | 4f17d94afd02c2d9df7ff2cc568494f194aef15f | [
"BSD-3-Clause"
] | null | null | null | src/qt/src/tools/moc/token.cpp | beaglecode/phantomjs | 4f17d94afd02c2d9df7ff2cc568494f194aef15f | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGP... | 40.102222 | 77 | 0.634157 | beaglecode |
0ea071a5f586a6b0e5a3cb694063d1c556e96924 | 8,458 | cpp | C++ | mlmodel/tests/MILBlob/StorageWriterTests.cpp | LaudateCorpus1/coremltools | 777a4460d6823e5e91dea4fa3eacb0b11c7d5dfc | [
"BSD-3-Clause"
] | null | null | null | mlmodel/tests/MILBlob/StorageWriterTests.cpp | LaudateCorpus1/coremltools | 777a4460d6823e5e91dea4fa3eacb0b11c7d5dfc | [
"BSD-3-Clause"
] | null | null | null | mlmodel/tests/MILBlob/StorageWriterTests.cpp | LaudateCorpus1/coremltools | 777a4460d6823e5e91dea4fa3eacb0b11c7d5dfc | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2021, Apple Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-3-clause license that can be
// found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
#include "MILBlob/Blob/StorageFormat.hpp"
#include "MILBlob/Blob/StorageWriter.hpp"
#include "MILBlo... | 37.758929 | 112 | 0.650272 | LaudateCorpus1 |
0ea1c55d0e322ab20fe4d0b38d8691c3c79d64a2 | 5,667 | cpp | C++ | tests/lapack_like/Cholesky.cpp | justusc/Elemental | 145ccb28411f3f0c65ca30ecea776df33297e4ff | [
"BSD-3-Clause"
] | 1 | 2015-12-08T22:54:37.000Z | 2015-12-08T22:54:37.000Z | tests/lapack_like/Cholesky.cpp | justusc/Elemental | 145ccb28411f3f0c65ca30ecea776df33297e4ff | [
"BSD-3-Clause"
] | null | null | null | tests/lapack_like/Cholesky.cpp | justusc/Elemental | 145ccb28411f3f0c65ca30ecea776df33297e4ff | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2015, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include "El.hpp"
using namespace std;
using namespace ... | 33.532544 | 80 | 0.541909 | justusc |
0ea374e31ccd5c47f78b1c466dcfa5c897d56383 | 11,629 | cpp | C++ | swg_generated/cpp/qt5cpp/client/SWGNewOrder.cpp | Reclusive-Trader/upbit-client | ca1fb02c9d4e22f6d726baf30a455a235ce0324a | [
"MIT"
] | 46 | 2021-01-07T14:53:26.000Z | 2022-03-25T10:11:16.000Z | swg_generated/cpp/qt5cpp/client/SWGNewOrder.cpp | Reclusive-Trader/upbit-client | ca1fb02c9d4e22f6d726baf30a455a235ce0324a | [
"MIT"
] | 4 | 2021-02-20T05:21:29.000Z | 2022-03-01T12:53:02.000Z | swg_generated/cpp/qt5cpp/client/SWGNewOrder.cpp | Reclusive-Trader/upbit-client | ca1fb02c9d4e22f6d726baf30a455a235ce0324a | [
"MIT"
] | 59 | 2021-01-07T11:58:10.000Z | 2022-02-15T06:11:33.000Z | /**
* Upbit Open API
* ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [open-api@upbit.com]
*
* OpenAPI spec version: 1.0.0
* Contact: ujhin942@gmail.com
*
* NOTE: This class is auto generated by the swagger co... | 27.622328 | 174 | 0.639436 | Reclusive-Trader |
0ea387cb3bde12039b48aeb0e7caf36c8c8b6f94 | 11,752 | cpp | C++ | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | null | null | null | src/executor/update_executor.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z | //===----------------------------------------------------------------------===//
//
// Peloton
//
// update_executor.cpp
//
// Identification: src/executor/update_executor.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 36.610592 | 80 | 0.604663 | xinzhang1234 |
0ea51f282b2ac2a56f70ddf2af67ec7e664aec40 | 4,498 | cpp | C++ | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-11T14:38:59.000Z | 2022-01-11T14:38:59.000Z | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Terrain/Code/Source/EditorComponents/EditorTerrainSurfaceGradientListComponent.cpp | ComarPers922/o3de | f321789456ceb1bd62405ee647c55900e980b4f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* 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 <EditorComponents/EditorTerrainSurfaceGradientListComponent.h>
#include <AzCore/Serializa... | 44.098039 | 139 | 0.656959 | ComarPers922 |
0ea54bdd25f2cc35ed9e23b1ad43966f30fe73e4 | 8,121 | cpp | C++ | graphics/cgal/Convex_decomposition_3/test/Convex_decomposition_3/reflex_sedge.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | graphics/cgal/Convex_decomposition_3/test/Convex_decomposition_3/reflex_sedge.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | graphics/cgal/Convex_decomposition_3/test/Convex_decomposition_3/reflex_sedge.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | #include <CGAL/Exact_integer.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_S2/Sphere_point.h>
#include <CGAL/Nef_S2/Sphere_circle.h>
#include <CGAL/Nef_S2/Sphere_segment.h>
#include <CGAL/Convex_decomposition_3/is_reflex_sedge.h>
#include <cassert>
template<typename Kernel>
class Test_SNC {
public:
typedef t... | 31.722656 | 64 | 0.629725 | hlzz |
0ea5a92057d14760becf141868d323f41480adae | 1,442 | cpp | C++ | modules/platforms/cpp/binary/src/binary/binary_type.cpp | geertjanw/ignite | 521149998a76d78a72628cf49d1ffad162ed5a01 | [
"Apache-2.0"
] | 6 | 2017-04-17T10:34:21.000Z | 2020-05-17T12:07:42.000Z | modules/platforms/cpp/binary/src/binary/binary_type.cpp | zstan/ignite | f07bdaa07b15465e7bc532630c5c3fe0ee74d23c | [
"CC0-1.0"
] | 27 | 2020-11-16T20:42:27.000Z | 2022-02-01T01:05:23.000Z | modules/platforms/cpp/binary/src/binary/binary_type.cpp | zstan/ignite | f07bdaa07b15465e7bc532630c5c3fe0ee74d23c | [
"CC0-1.0"
] | 3 | 2020-08-18T03:57:25.000Z | 2021-12-20T03:40:47.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 28.27451 | 75 | 0.554092 | geertjanw |
0ea645dc8746ba3c9b1d20f8e3563de325bdb957 | 10,290 | cpp | C++ | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | src/AlienBlob.cpp | gregfriedland/AuroraV6 | 1199e4f7e4a17cf6fa08063ab9f22d6702a4ec5f | [
"MIT"
] | null | null | null | #include <map>
#include <vector>
#include "AlienBlob.h"
#include "Drawer.h"
#include "Util.h"
#define DECAY 0.5f
#define ALIENBLOB_SPEED_MULTIPLIER 0.07f
static void init_noise(void);
static float noise(float x, float y, float z, int octaves, float decay);
static void alienblob(int width, int height, int numColor... | 34.072848 | 135 | 0.563751 | gregfriedland |
0ea7001ff1f926124d546459a7d27c79ea3038d4 | 10,673 | cpp | C++ | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 3 | 2021-12-23T23:31:42.000Z | 2022-02-16T07:17:41.000Z | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | 2 | 2021-11-22T05:33:43.000Z | 2022-01-23T07:01:47.000Z | src/world_interface/simulator_interface.cpp | huskyroboticsteam/Resurgence | 649f78103b6d76709fdf55bb38d08c0ff50da140 | [
"Apache-2.0"
] | null | null | null | #include "../Constants.h"
#include "../Globals.h"
#include "../Networking/websocket/WebSocketProtocol.h"
#include "../Util.h"
#include "../ar/read_landmarks.h"
#include "../base64/base64_img.h"
#include "../camera/Camera.h"
#include "../camera/CameraConfig.h"
#include "../kinematics/DiffDriveKinematics.h"
#include "../... | 27.794271 | 92 | 0.733908 | huskyroboticsteam |
0ea7b29eb1781cfdd6af250e64ceda5b604f54dc | 6,562 | hpp | C++ | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/experimental/commodities/commodityindex.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 J. Erik Radmall
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and... | 31.854369 | 80 | 0.615666 | haozhangphd |
0ea829a616240ef4014e96462dd5fb036c3e06c9 | 981 | cpp | C++ | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | leetcode/problemset-algorithms/two-sum-iv-input-is-a-bst.cpp | riteshkumar99/coding-for-placement | b45f90f662808bf4bf038ff98a016d49b9d71f71 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 25.815789 | 93 | 0.474006 | riteshkumar99 |
0ea90a6de5944af6d2a9c1010401ee43e522f1f0 | 32,135 | hpp | C++ | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | 5 | 2020-04-12T10:00:49.000Z | 2022-01-25T05:29:24.000Z | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | null | null | null | example/GHAME6/class_hierarchy.hpp | SwaggyTyrion/CADAC | f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41 | [
"MIT"
] | 2 | 2022-01-13T19:56:19.000Z | 2022-02-07T20:13:05.000Z | ///////////////////////////////////////////////////////////////////////////////
//FILE: class_hierarchy.hpp
//
//Contains the classes of the hierarchy of base class 'Cadac'
//
//011128 Created by Peter H Zipfel
//030415 Adapted to HYPER simulation, PZi
///////////////////////////////////////////////////////////////////... | 38.716867 | 114 | 0.704466 | SwaggyTyrion |
0ea964c76e00a1d9122e688fd902adf71ab32509 | 716,061 | cpp | C++ | test/bidi_character_test_022.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_character_test_022.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_character_test_022.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/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
TEST(bidi_character, bidi_character_022_000)
{
{
// line 15401
std::vector<uint32_t> const cps = { 0x0028, 0x2680, 0x0029, 0x2681, 0x05D0, 0x0... | 33.71444 | 109 | 0.439169 | eightysquirrels |
0ea9f4977b18998a9f7903fbc5e90955cc00012c | 9,702 | cpp | C++ | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | StateMachine/src/GroupDFA.cpp | krystianAndrzejewski/regular_expression | b49a7e0eb0d9ec8e34db3dbd8701d5b186c59784 | [
"MIT"
] | null | null | null | #include "GroupDFA.h"
#include "NFA.h"
#include <stack>
#include <queue>
#include <sstream>
#include <algorithm>
#include <iterator>
GroupDFA::GroupDFA()
{
}
GroupDFA::~GroupDFA()
{
for (auto state : states)
{
delete state;
}
}
void GroupDFA::createFromInitialDFA(const InitialDFA& initialDfa, ... | 35.28 | 118 | 0.502989 | krystianAndrzejewski |
0eaac8587a2e1ccf18405c65346aa5e87754d22d | 1,370 | hpp | C++ | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 10 | 2020-01-18T09:28:47.000Z | 2020-04-28T15:37:42.000Z | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 1 | 2020-04-28T15:29:52.000Z | 2020-04-28T15:35:03.000Z | socket/tcp_socket.hpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 2 | 2020-01-20T06:54:26.000Z | 2022-01-11T09:01:42.000Z | //
// @author magicxqq <xqq@xqq.im>
//
#ifndef DRAWBOARD_TCP_SOCKET_HPP
#define DRAWBOARD_TCP_SOCKET_HPP
#include <string>
#include <functional>
#include "common/noncopyable.hpp"
struct sockaddr_in;
class ReadWriteBuffer;
class TcpSocket : public Noncopyable {
public:
using OnConnectedCallback = std::function<... | 28.541667 | 112 | 0.683942 | xqq |
0eab754810dc17bd1e95ba081e9ff469a0a04b21 | 630 | cpp | C++ | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | ilya_and_queries.cpp | Delfad0r/CompetitiveProgrammingCourse | a986045372138f550e38f6262933ed34f7a57d77 | [
"Apache-2.0"
] | null | null | null | /*
We build a binary array containing 1 at position n when S[n]==S[n-1],
and then compute prefix sums. Then answering the queries is trivial.
Time complexity: O(N)
Space complexity: O(N)
*/
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie... | 19.090909 | 69 | 0.495238 | Delfad0r |
0ead72ff6767d3c5e8117ef9312f6d7923a04a7a | 13,896 | cpp | C++ | utfdecode_blocks.cpp | fornwall/utfdecode | 66c11fe4dbe5af32c337a9dd8a647970db55402d | [
"Apache-2.0"
] | 3 | 2015-05-16T10:20:11.000Z | 2021-08-02T18:33:30.000Z | utfdecode_blocks.cpp | fornwall/utfdecode | 66c11fe4dbe5af32c337a9dd8a647970db55402d | [
"Apache-2.0"
] | null | null | null | utfdecode_blocks.cpp | fornwall/utfdecode | 66c11fe4dbe5af32c337a9dd8a647970db55402d | [
"Apache-2.0"
] | 2 | 2016-10-15T14:42:37.000Z | 2019-10-27T18:36:19.000Z | // NOTE: File generated by massage_unicode_blocks.py - do not edit
#include <cstdint>
struct unicode_block_t {
uint32_t start;
uint32_t end;
char const* name;
};
static unicode_block_t unicode_blocks[] = {
{ 0x0000, 0x007F, "Basic Latin" },
{ 0x0080, 0x00FF, "Latin-1 Supplement" },
{ 0x0100,... | 43.28972 | 93 | 0.616005 | fornwall |
0ead7fc3e10519080af1382e2a1753de1b53d515 | 1,969 | cpp | C++ | HypercubeLSH/source/main.cpp | NedicNemanja/Locality-sensitive-hashing | 35ac2f503748239983cd38b3b43357c733c442b7 | [
"MIT"
] | 1 | 2021-03-17T00:46:18.000Z | 2021-03-17T00:46:18.000Z | HypercubeLSH/source/main.cpp | NedicNemanja/Locality-sensitive-hashing | 35ac2f503748239983cd38b3b43357c733c442b7 | [
"MIT"
] | null | null | null | HypercubeLSH/source/main.cpp | NedicNemanja/Locality-sensitive-hashing | 35ac2f503748239983cd38b3b43357c733c442b7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <cmath>
#include "ReadInput.hpp"
#include "myvector.hpp"
#include "HashTable.hpp"
#include "utility.hpp"
#include "ErrorCodes.hpp"
#include "LSH.hpp"
#include "Euclidean.hpp"
#include "CosineSimilarity.hpp"
using namespace std;
void PrintList(list<myvector>& myvectors)... | 29.833333 | 78 | 0.623667 | NedicNemanja |
0eae0cf7b092d48af1e0f8dc624bd5bb0f1a94a3 | 650 | cpp | C++ | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | Engine/Firework.cpp | AleixBueso/Engine-Project-v.2 | 6838b18dd508d0404688c5a360706a49acb6c6ac | [
"Apache-2.0"
] | null | null | null | #include "Firework.h"
#include "Globals.h"
#include "OpenGL.h"
#include "Application.h"
#include "ModuleGOmanager.h"
#include "Particle Emitter.h"
Firework::Firework()
{
};
Firework::~Firework()
{
};
void Firework::CreateFirework()
{
Particle_Emitter* tmp = new Particle_Emitter(nullptr, true);
firework_emitters... | 21.666667 | 113 | 0.698462 | AleixBueso |
0eaea8ccaeba5c0b9d1e5fd838e3070230958c47 | 6,754 | hpp | C++ | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | code/vpp/include/vppSampler.hpp | maikebing/vpp | efa6c32f898e103d749764ce3a0b7dc29d6e9a51 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright 2016-2019 SOFT-ERG, Przemek Kuczmierczyk (www.softerg.com)
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... | 32.946341 | 140 | 0.5382 | maikebing |
0eafea9bb20528eefe527882541e98143a0c8dae | 8,618 | cpp | C++ | libtempo/curve_utils.cpp | EgorDm/libtempo | 06fa7d440157b4507261b22896e0d8dd0fb5a85e | [
"MIT"
] | 3 | 2018-12-21T11:21:48.000Z | 2021-03-20T03:00:19.000Z | libtempo/curve_utils.cpp | EgorDm/libtempo | 06fa7d440157b4507261b22896e0d8dd0fb5a85e | [
"MIT"
] | null | null | null | libtempo/curve_utils.cpp | EgorDm/libtempo | 06fa7d440157b4507261b22896e0d8dd0fb5a85e | [
"MIT"
] | null | null | null | //
// Created by egordm on 29-8-2018.
//
#include "curve_utils.h"
#include "signal_utils.h"
#include <float.h>
using namespace libtempo;
using namespace libtempo::signal_utils;
vec curve_utils::correct_curve_by_length(const vec &measurements, int min_length) {
// Split measurements in segments with same value
... | 37.798246 | 115 | 0.614876 | EgorDm |
0eb30d66785902c6e5e4fdb724e2eeb15cacca07 | 3,474 | cpp | C++ | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | Shiny_Engine/ResourcesMesh.cpp | AleixCas95/Shiny_Engine | a5dca52725ed20c11f929a581e1b442988ec3237 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ResourcesMesh.h"
#include "ModuleFBX.h"
#include "Glew/include/glew.h"
#include <gl/GL.h>
ResourceMesh::ResourceMesh(scriptType uuid) : Resource(uuid, ResourceType::Mesh)
{
}
ResourceMesh::~ResourceMesh()
{
if (loaded > 0)
UnloadInMemory(); //TODO!!!
}
bool ResourceMesh::LoadIn... | 24.992806 | 101 | 0.715314 | AleixCas95 |
0eb37f8e4011fd323af5d6683eb764d265c8d6be | 15,063 | cc | C++ | device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h"
#include <cstddef>
#include "base/bind.h"
#include "base/logging.h"
#... | 38.722365 | 82 | 0.726947 | google-ar |
0eb62d4e7bfb93c29c951d9ee803dae02c8feb61 | 4,409 | cc | C++ | cpp/src/gandiva/function_signature_test.cc | timkpaine/arrow | a96297e65e17e728e4321cdecc7ace146e1363fb | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 9,734 | 2016-02-17T13:22:12.000Z | 2022-03-31T09:35:00.000Z | cpp/src/gandiva/function_signature_test.cc | timkpaine/arrow | a96297e65e17e728e4321cdecc7ace146e1363fb | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 11,470 | 2016-02-19T15:30:28.000Z | 2022-03-31T23:27:21.000Z | cpp/src/gandiva/function_signature_test.cc | XpressAI/arrow | eafd885e06f6bbc1eb169ed64016f804c1810bec | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 2,637 | 2016-02-17T10:56:29.000Z | 2022-03-31T08:20:13.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 38.675439 | 88 | 0.683829 | timkpaine |
0eb77d07718e37ad232d72354ccebf3d61e17068 | 1,043 | cpp | C++ | source/oc/ocMain.cpp | mackron/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | 2 | 2021-05-24T21:18:13.000Z | 2021-12-20T07:21:20.000Z | source/oc/ocMain.cpp | openchernobyl/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | null | null | null | source/oc/ocMain.cpp | openchernobyl/openchernobyl | 47c854ce37e1c361b184e29a59e4881a6faa387c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2018 David Reid. See included LICENSE file.
// This is main source file for the entire game, and is the only file that needs to be compiled (not including dependencies).
#include "ocGame/ocGame.cpp"
int ocMain(int argc, char** argv)
{
(void)argc;
(void)argv;
// The first thing to do on ... | 24.833333 | 125 | 0.703739 | mackron |
0eb907efa2a1697d173674628b15cd564f9884c9 | 18,604 | cpp | C++ | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | 5 | 2020-03-24T07:44:49.000Z | 2021-08-30T14:43:31.000Z | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | bulletgba/generator/data/code/kotuanzenx/bb04-r7.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | // XXX uniqID XXX 6dfd0e0d2b04618ffe2fdb6da6d4df76 XXX
#include <gba_types.h>
#include "bullet.hpp"
#include "fixed.hpp"
#include "kotuanzenx/bb04-r7.hpp"
extern const BulletStepFunc bullet_f1f3d5f55c5d318a36d3fbde506fd1af_6dfd0e0d2b04618ffe2fdb6da6d4df76[] = {
stepfunc_05798bae9c12d6be89270ea1e2488f81_6dfd0e0d2... | 72.389105 | 380 | 0.851 | pqrs-org |
0eb949d7077641cea7b7fd343ed17bfb1c3b6940 | 8,907 | cc | C++ | chrome/browser/ui/views/extensions/extension_action_test_helper_views.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/extensions/extension_action_test_helper_views.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/extensions/extension_action_test_helper_views.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 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 "chrome/browser/ui/extensions/extension_action_test_helper.h"
#include <stddef.h>
#include "base/feature_list.h"
#include "base/memory/ptr_util... | 37.741525 | 82 | 0.777029 | Ron423c |
0eb991684de26e856fff5254f586f544f15a6ac0 | 461 | cpp | C++ | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 3 | 2017-05-13T20:36:03.000Z | 2021-07-16T17:23:01.000Z | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | null | null | null | applications/DebugApp/main.cpp | InfiniteInteractive/LimitlessSDK | cb71dde14d8c59cbf8a1ece765989c5787fffefa | [
"MIT"
] | 2 | 2016-08-04T00:16:50.000Z | 2017-09-07T14:50:03.000Z | #include "debugapp.h"
#include <QtWidgets/QApplication>
#include "Media/MediaPluginFactory.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QCoreApplication::setOrganizationName("Infinite Interactive");
QCoreApplication::setOrganizationDomain("infiniteinteractive.com");
QCoreApplication::setAppli... | 21.952381 | 68 | 0.754881 | InfiniteInteractive |
0ebc89a7d0619d64d95806157acd06cea6e38142 | 3,255 | cpp | C++ | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 131 | 2018-09-29T08:11:40.000Z | 2022-03-28T23:24:22.000Z | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 1,656 | 2018-10-02T01:49:24.000Z | 2022-03-31T21:27:31.000Z | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | Yin-YinjianZhao/WarpX | a194b909f73c44703b013b39dbcead0f278a8ba6 | [
"BSD-3-Clause-LBNL"
] | 100 | 2018-10-01T20:41:14.000Z | 2022-03-10T10:30:42.000Z | /* Copyright 2021 Neil Zaim
*
* This file is part of WarpX.
*
* License: BSD-3-Clause-LBNL
*/
#include "FieldReduction.H"
#include "Utils/IntervalsParser.H"
#include "Utils/WarpXAlgorithmSelection.H"
#include "Utils/WarpXUtil.H"
#include <AMReX_Algorithm.H>
#include <AMReX_BLassert.H>
#include <AMReX_ParmParse.... | 30.138889 | 102 | 0.639324 | Yin-YinjianZhao |
0ebe27e4d9ee13dd85d4f0332faf6dce9012d6ca | 654 | hpp | C++ | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | Edge.hpp | opendatasurgeon/DijkstrasShortestPathAlgorithm_cpp | b6cadd89c50762b61fdd868f1ba17bce785400f8 | [
"CC0-1.0"
] | null | null | null | /*
Author: Mihir Patel
Purpose: Following is a header+source file for the Edge. It keeps the graph's
edges, edge's weight.
*/
#ifndef EDGE_HPP
#define EDGE_HPP
#include <string>
class Edge {
private:
std::string edge_a; /*Current edge*/
std::string edge_b; /*adjacent edge*/
unsigned long weigh... | 23.357143 | 79 | 0.652905 | opendatasurgeon |
0ebed2b6e68a98ed86b89b9a16946ccc86225245 | 75,798 | cpp | C++ | src/prod/src/Hosting2/CodePackage.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Hosting2/CodePackage.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Hosting2/CodePackage.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 32.727979 | 213 | 0.650716 | gridgentoo |
b1bf62fa7c639c8168948050a2bcb0f4629838f2 | 292 | cpp | C++ | 2018/27_Remove_Element.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | 4 | 2018-05-30T10:27:07.000Z | 2020-03-07T08:38:53.000Z | 2019/27.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | 1 | 2018-05-30T04:29:32.000Z | 2018-05-31T10:15:40.000Z | 2019/27.cpp | CanftIn/leetcode | 97f45e1ffb0a917ae4fd2321636856e55f615d12 | [
"MIT"
] | null | null | null | class Solution {
public:
int removeElement(vector<int>& nums, int val) {
int size = nums.size();
int count = 0;
for(int i = 0; i < size; ++i)
{
if(nums[i] != val)
nums[count++] = nums[i];
}
return count;
}
}; | 22.461538 | 51 | 0.434932 | CanftIn |
b1c07c928ada0b3e422dd6e8146e58f6e4961140 | 3,494 | cpp | C++ | android/android_9/device/google/cuttlefish_common/common/libs/time/monotonic_time_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/device/google/cuttlefish_common/common/libs/time/monotonic_time_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/device/google/cuttlefish_common/common/libs/time/monotonic_time_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | 31.477477 | 101 | 0.716371 | yakuizhao |
b1c1cea7701da88498bfeb31236e530ee95a8106 | 5,527 | cpp | C++ | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | src/client/commands/CmdImportCash.cpp | rfree2/opentxs | 3f61dd0abe2e35b7bc52008517873174b2f9dfa7 | [
"MIT"
] | null | null | null | /************************************************************
*
* OPEN TRANSACTIONS
*
* Financial Cryptography and Digital Cash
* Library, Protocol, API, Server, CLI, GUI
*
* -- Anonymous Numbered Accounts.
* -- Untraceable Digital Cash.
* -- Triple-Signed Receipts... | 33.907975 | 80 | 0.590194 | rfree2 |
b1c3e7a7beb28365fe2bd951c652708162801550 | 229 | cpp | C++ | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | src/_281A.cpp | Big-Totoro/codeforces | ccead5e7bbb94c635bb6d6132de2aee26acb9e70 | [
"MIT"
] | null | null | null | //
// https://codeforces.com/problemset/problem/281/A
//
#include <iostream>
using namespace std;
int main() {
string input;
cin >> input;
input[0] = toupper(input[0]);
cout << input << "\n";
return 0;
} | 12.722222 | 50 | 0.580786 | Big-Totoro |
b1c43c9897709861b945fb5562f85a413e3363a1 | 9,007 | cpp | C++ | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | 1 | 2021-07-24T16:29:11.000Z | 2021-07-26T20:00:17.000Z | source/libraries/core.cpp | Ragora/TribalScript | b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d | [
"MIT"
] | null | null | null | /**
* Copyright 2021 Robert MacGregor
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish,... | 45.720812 | 207 | 0.709115 | Ragora |
b1c49b3518b299032d8624592aa2ed62f4da5e76 | 4,602 | cc | C++ | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/animation/animeventserver.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// audioserver.cc
// (C) 2008 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "animation/animevents... | 26 | 149 | 0.515428 | gscept |
b1c697629cedc32b9ef2615ab89fb38bfa0c254c | 55 | cpp | C++ | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | test/autogen/smp@utility@is_specialization_of.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #include "jln/mp/smp/utility/is_specialization_of.hpp"
| 27.5 | 54 | 0.818182 | jonathanpoelen |
b1c6e9e0d599ff828661c22f8b2f9ee8329bde2a | 56,223 | inl | C++ | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 15 | 2017-05-27T16:02:51.000Z | 2018-11-30T07:02:22.000Z | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | null | null | null | DrvApp/StlInclude/afxwin1.inl | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 11 | 2017-11-10T01:28:59.000Z | 2018-11-15T11:59:33.000Z | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | 56.448795 | 169 | 0.754318 | jackqk |
b1c8689301f4fa2d10a66fd7f998595402734ebc | 12,882 | cpp | C++ | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | src/d3d12/d3d12-constants.cpp | Impulse21/nvrhi | f272a6595dd0768a8e3419f0075f0edf40d00391 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2014-2021, NVIDIA CORPORATION. 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,... | 41.288462 | 165 | 0.680562 | Impulse21 |
b1c8d4cc5fec8a3d1323059870a603e5b4f1d80a | 57 | cpp | C++ | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | 4 | 2021-02-23T11:24:33.000Z | 2021-09-11T20:10:46.000Z | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | libboost-format/tests/basics/driver.cpp | build2-packaging/boost | 203d505dd3ba04ea50785bc8b247a295db5fc718 | [
"BSL-1.0"
] | null | null | null | #include <boost/format.hpp>
int
main ()
{
return 0;
}
| 7.125 | 27 | 0.614035 | build2-packaging |
b1c970f0df9ed60d27c8752b36c0906ea73620f6 | 1,324 | cpp | C++ | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | Serna_Esteban.assignment1.09/event.cpp | Este-iv/Rouge_like_game | 90cd68608276c593f2c2f5ab369ee149fc9fc6ec | [
"MIT"
] | null | null | null | #include "event.h"
#include "character.h"
static uint32_t next_event_number(void)
{
static uint32_t sequence_number;
/* We need to special case the first PC insert, because monsters go *
* into the queue before the PC. Pre-increment ensures that this *
* starts at 1, so we can use a zero there. ... | 21.354839 | 73 | 0.621601 | Este-iv |
b1caa1215da2e50636d8c3092c2ce18937cc0cf0 | 9,202 | cc | C++ | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | tests/core/test_core_interaction_control_manager.cc | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 41.264574 | 122 | 0.749185 | nugulinux |
b1cb1ad150f4c93dd4e468e7a8f0ac9f7417989f | 1,837 | hpp | C++ | validators/signable_validator.hpp | hyperledger/libiroha | 7c91e2f3821bf7aae5b3ff11d23fe563aff0d9a4 | [
"Apache-2.0"
] | 1 | 2021-12-03T02:01:43.000Z | 2021-12-03T02:01:43.000Z | validators/signable_validator.hpp | hyperledger-archives/libiroha | 7c91e2f3821bf7aae5b3ff11d23fe563aff0d9a4 | [
"Apache-2.0"
] | null | null | null | validators/signable_validator.hpp | hyperledger-archives/libiroha | 7c91e2f3821bf7aae5b3ff11d23fe563aff0d9a4 | [
"Apache-2.0"
] | 1 | 2021-12-03T02:00:05.000Z | 2021-12-03T02:00:05.000Z | /**
* Copyright Soramitsu Co., Ltd. 2018 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | 35.326923 | 79 | 0.718019 | hyperledger |
b1cd6b21651ba38c4d8b89ef4b389a3d08f35c33 | 313 | hxx | C++ | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | type/is.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | #ifndef b_type_is_hxx_
#define b_type_is_hxx_
namespace b {
namespace type {
/*
* Variable template which is true iff `X` is `Y`.
*/
template <typename X, typename Y>
static constexpr
bool
is = false;
template <typename X>
static constexpr
bool
is<X, X> = true;
} // namespace type
} // namespace b
#endif
| 13.041667 | 50 | 0.70607 | blake-sheridan |
b1cf17230e11a7b454b24f47710fd03102b576ad | 17,485 | cc | C++ | chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/printing/cups_print_job_manager_impl.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 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 "chrome/browser/chromeos/printing/cups_print_job_manager.h"
#include <cups/cups.h>
#include <set>
#include <string>
#include <utility>
#include ... | 35.110442 | 86 | 0.673835 | mghgroup |
b1cfb4abed4847b6640b2d9cdd34895a9252261d | 7,218 | cc | C++ | zircon/system/ulib/ftl-mtd/nand-volume-driver.cc | re995/fuchsia | 02cb86f760af2aac974ba654186b73af8c16638f | [
"BSD-2-Clause"
] | 1 | 2021-12-23T01:55:48.000Z | 2021-12-23T01:55:48.000Z | zircon/system/ulib/ftl-mtd/nand-volume-driver.cc | re995/fuchsia | 02cb86f760af2aac974ba654186b73af8c16638f | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | zircon/system/ulib/ftl-mtd/nand-volume-driver.cc | re995/fuchsia | 02cb86f760af2aac974ba654186b73af8c16638f | [
"BSD-2-Clause"
] | 1 | 2021-12-23T06:22:27.000Z | 2021-12-23T06:22:27.000Z | // Copyright 2019 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 <lib/ftl-mtd/nand-volume-driver.h>
#include <stdio.h>
#include <zircon/assert.h>
#include <functional>
#include <utility>
namespace ftl_mtd {
u... | 33.262673 | 98 | 0.697977 | re995 |
b1d0ca61ff8cd47f7e99906e46dc0a46ad270d61 | 1,910 | cpp | C++ | RxMonitor/Strategy/CommandMonitorStrategy.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | 1 | 2020-09-03T07:23:11.000Z | 2020-09-03T07:23:11.000Z | RxMonitor/Strategy/CommandMonitorStrategy.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | RxMonitor/Strategy/CommandMonitorStrategy.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | #include"RxMonitor/Strategy/CommandMonitorStrategy.h"
namespace Reactor { namespace Strategy
{
int MonitorAllCommandControllers::Perform()
{
return monitorControllers();
}
int MonitorAllCommandControllers::monitorControllers()
{
IINFO() << "monitoring controllers";
for (std::pair<CommandController::Ptr, ... | 36.037736 | 136 | 0.602094 | intact-software-systems |
b1d725e32ad398cd2a0c64a37c6c79918e61afe5 | 958 | cpp | C++ | OO1Lab2V2/main.cpp | shkemilo/Lab1HomeworkOO1 | 3f32a980c44c9df009c128791e28e90d23c86358 | [
"MIT"
] | null | null | null | OO1Lab2V2/main.cpp | shkemilo/Lab1HomeworkOO1 | 3f32a980c44c9df009c128791e28e90d23c86358 | [
"MIT"
] | null | null | null | OO1Lab2V2/main.cpp | shkemilo/Lab1HomeworkOO1 | 3f32a980c44c9df009c128791e28e90d23c86358 | [
"MIT"
] | null | null | null | #include <iostream>
#include "TestKorisnik.h"
#include "Objava.h"
#include"Obavestenje.h"
#include"ListaObavestenja.h"
using namespace std;
int main()
{
TestKorisnik test1("Jusuf");
TestKorisnik test2("Bobek");
TestKorisnik test3("Mile");
Obavestenje ob1(test1);
Objava ob2(test2, "Deste bre ljudi");
Objava ob... | 21.288889 | 106 | 0.647182 | shkemilo |
b1d7b0af58d668851ca7b8410165a609920ef712 | 3,816 | cpp | C++ | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | AnalysisExample/TaskA.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | /**
* @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file.
*
* Unless required by applicable law... | 30.774194 | 108 | 0.698113 | MagdaSkurzok |
b1d96d08ebf65c111702e0a56dfc40d9745fcc38 | 244 | hpp | C++ | src/cmd/command.hpp | sop/cygregext | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | 4 | 2017-05-04T17:26:23.000Z | 2020-05-13T16:47:55.000Z | src/cmd/command.hpp | sop/cygregext | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | 2 | 2019-01-07T21:12:34.000Z | 2021-09-08T05:53:25.000Z | src/cmd/command.hpp | sop/cygextreg | 81a8bf7a18cf71729de221b0f1dc0d64e0803d88 | [
"MIT"
] | null | null | null | #ifndef __COMMAND_HPP__
#define __COMMAND_HPP__
namespace cygextreg {
class ICommand
{
public:
virtual ~ICommand() {
}
/**
* Run the command and return exit code.
*
* @return int Exit code
*/
virtual int run() = 0;
};
}
#endif
| 10.608696 | 41 | 0.655738 | sop |
b1d9b9a45ba3ee530604e63da67daed6b33efb92 | 2,695 | cpp | C++ | cpp/ql/test/experimental/library-tests/rangeanalysis/arraylengthanalysis/test.cpp | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | cpp/ql/test/experimental/library-tests/rangeanalysis/arraylengthanalysis/test.cpp | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | cpp/ql/test/experimental/library-tests/rangeanalysis/arraylengthanalysis/test.cpp | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | void *malloc(unsigned long);
void sink(...);
typedef struct A {
int a;
int b;
char * c;
} A;
void test1(unsigned int count) {
if (count < 1) {
return;
}
A* aptr = (A *) malloc(sizeof(A) * count);
sink(aptr); // (count, 0, Zero, 0)
unsigned int* ptr = &count;
sink(ptr); // (Zero, 1, Zero, 0) TODO... | 28.072917 | 83 | 0.520594 | vadi2 |
b1dca098f5e0c28be34296c78398d13ceea7025c | 1,414 | hpp | C++ | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null | src/forms/ModulePropertiesDialog.hpp | stoneface86/gbsynth | b585378227522e02cc76f29e7b4b4be4b0568689 | [
"MIT"
] | null | null | null |
#pragma once
#include "core/Module.hpp"
#include "model/SongListModel.hpp"
#include <QButtonGroup>
#include <QDialog>
#include <QDialogButtonBox>
#include <QLineEdit>
#include <QListView>
#include <QPushButton>
#include <QSpinBox>
class ModulePropertiesDialog : public QDialog {
Q_OBJECT
public:
//
/... | 16.635294 | 98 | 0.686704 | stoneface86 |
b1dd88e9498ab2162abaac6f7ebf2e996ea6a1fa | 71 | inl | C++ | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | serialization/serialize_post.inl | antonthefirst/am_core | b4ec7a70252105c07e6e58b2978d7dd395cee604 | [
"Unlicense"
] | null | null | null | #undef STRUCT
#undef VAR
#undef BUNCH
#undef BIN
#undef END
#undef POD
| 10.142857 | 13 | 0.746479 | antonthefirst |
b1df45b17af4b8e4b8789b0fa42d498dbc27988b | 430 | cc | C++ | CondFormats/DataRecord/src/SiPixelStatusScenariosRcd.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CondFormats/DataRecord/src/SiPixelStatusScenariosRcd.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CondFormats/DataRecord/src/SiPixelStatusScenariosRcd.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | // -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : SiPixelStatusScenariosRcd
//
// Implementation:
// [Notes on implementation]
//
// Author: Marco Musich
// Created: Wed, 22 Feb 2017 10:31:30 GMT
#include "CondFormats/DataRecord/interface/SiPixelStatusScenariosRcd.h"
#include "FWCore... | 30.714286 | 75 | 0.732558 | ckamtsikis |
b1e12379538fa260b24d83a519d2422dce4b2127 | 3,024 | cc | C++ | tensorflow/core/framework/dataset_test.cc | where-is-brett/tensorflow | 5da8599b2cf9edfb9fac4431c705501bf7ceccd8 | [
"Apache-2.0"
] | 50 | 2020-03-15T01:04:36.000Z | 2021-11-21T23:25:44.000Z | tensorflow/core/framework/dataset_test.cc | sagol/tensorflow | 04f2870814d2773e09dcfa00cbe76a66a2c4de88 | [
"Apache-2.0"
] | 58 | 2021-11-22T05:41:28.000Z | 2022-01-19T01:33:40.000Z | tensorflow/core/framework/dataset_test.cc | sagol/tensorflow | 04f2870814d2773e09dcfa00cbe76a66a2c4de88 | [
"Apache-2.0"
] | 66 | 2020-05-15T10:05:12.000Z | 2022-02-14T07:28:18.000Z | /* Copyright 2018 The TensorFlow 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 law or a... | 35.162791 | 80 | 0.690476 | where-is-brett |
b1e5dc035d700101d03d4965786b3ae88dfa7b87 | 1,079 | cpp | C++ | src/TestScenes/TestScene3.cpp | mikoro/raycer | 281cbd42cae21c8612ed99d10eb4c113e6daa3d1 | [
"MIT"
] | 31 | 2016-04-10T16:40:38.000Z | 2021-11-19T13:01:34.000Z | src/TestScenes/TestScene3.cpp | mikoro/raycer | 281cbd42cae21c8612ed99d10eb4c113e6daa3d1 | [
"MIT"
] | null | null | null | src/TestScenes/TestScene3.cpp | mikoro/raycer | 281cbd42cae21c8612ed99d10eb4c113e6daa3d1 | [
"MIT"
] | 3 | 2017-10-01T22:33:57.000Z | 2019-08-17T12:29:33.000Z | // Copyright © 2015 Mikko Ronkainen <firstname@mikkoronkainen.com>
// License: MIT, see the LICENSE file.
#include "stdafx.h"
#include "Raytracing/Scene.h"
using namespace Raycer;
// cornell box (only triangles)
Scene Scene::createTestScene3()
{
Scene scene;
scene.rootBVH.enabled = true;
// CAMERA //
scene.... | 22.479167 | 67 | 0.725672 | mikoro |
b1e6cc23a1928c0a5caa04e6ee9f6d1a9b4414ec | 811 | hpp | C++ | Sources/etwprof/Utility/ResponseFile.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 38 | 2018-06-11T19:09:16.000Z | 2022-03-17T04:15:15.000Z | Sources/etwprof/Utility/ResponseFile.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 12 | 2018-06-12T20:24:05.000Z | 2021-07-31T18:28:48.000Z | Sources/etwprof/Utility/ResponseFile.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 5 | 2019-02-23T04:11:03.000Z | 2022-03-17T04:15:18.000Z | #ifndef ETWP_RESPONSE_FILE_HPP
#define ETWP_RESPONSE_FILE_HPP
#include <memory>
#include <string>
#include <vector>
#include "OS/FileSystem/Utility.hpp"
#include "Utility/Exception.hpp"
#include "Utility/Macros.hpp"
namespace ETWP {
namespace Impl { class ResponseFileImpl; }
class ResponseFile final {
public:
... | 20.794872 | 84 | 0.725031 | Donpedro13 |
b1ead3c9907f402c726df66e655976f7e3c6644e | 1,534 | cc | C++ | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | food-finder/supplier-client.cc | nholbrook/opentelemetry-starter-project | 5a2303f71b1e8eb19cc7d9bdd5bfe7f159339a38 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <memory>
#include <string>
#include <cfloat>
#include "food-finder/supplier-client.h"
#include <grpcpp/grpcpp.h>
#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include "opencensus/trace/span.h"
#ifdef BAZEL_BUILD
#include "proto/foodfinder.grpc.pb.h"
#else
#include "foodfinder.... | 25.147541 | 78 | 0.715124 | nholbrook |
b1eae5878a239f42de7b3f32cda17c5bf0627636 | 432 | cpp | C++ | AuthenticationServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | 1 | 2019-05-01T23:43:55.000Z | 2019-05-01T23:43:55.000Z | JumpgateServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | null | null | null | JumpgateServer/Holder.cpp | zbeckerman/attac | ca07aeb7fbb14e2aea8d19aeb0b044bbc27721e7 | [
"Apache-2.0"
] | null | null | null | // Holder.cpp: implementation of the CHolder class.
//
#include "stdafx.h"
#include "Holder.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
CHolder::CHolder()
{
}
CHolder::~CHolder()
{
}
//////////////////////////////////////////////////////////////////////
SO... | 14.896552 | 70 | 0.465278 | zbeckerman |
b1f019b6e19e7f95e852b3d7ebeba5e08ea0f0dd | 2,804 | cpp | C++ | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | src/affinity.cpp | f-tischler/affinity | 48856696b5e89c676a04d46b25b6694e8655853c | [
"Apache-2.0"
] | null | null | null | #include <thread>
#include <cmath>
#include <cstdint>
#include <cstddef>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <cstdio>
#ifdef __linux
#include <unistd.h>
#include <sys/sysinfo.h>
#include <sys/types.h>
#endif
#include <errno.h>
#include <cassert>
#include "affinity.hpp"
#ifdef __linux
/*... | 23.762712 | 86 | 0.620185 | f-tischler |
b1f04bc86a058896637ebe7ad41d17555f46bedb | 1,675 | cpp | C++ | src/llvm_testing/src/TestBase.cpp | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null | src/llvm_testing/src/TestBase.cpp | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null | src/llvm_testing/src/TestBase.cpp | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null |
/*
* TestBase.cpp
*
* Created on: Jul 20, 2013
* Author: andy
*/
#pragma hdrstop
#include "TestBase.h"
#include "tests.h"
#include "ExecutableModelFactory.h"
#include <SBMLSolverOptions.h>
#include "rrUtils.h"
#include "rrLogger.h"
#include <stdexcept>
#include <fstream>
namespace rr
{
using namespace std... | 22.039474 | 103 | 0.574328 | gitter-badger |
b1f11686f65fefea6527923c8ecd0536ba0f0bd6 | 1,141 | hxx | C++ | ds/adsi/include/indunk.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/admin/adsi/helper/include/indunk.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/admin/adsi/helper/include/indunk.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1997.
//
// File: indunk.hxx
//
// Contents: Definition of the non delegating IUnknown intf methods.
//
// History: 04-11-00 AjayR Created.
... | 29.25641 | 79 | 0.582822 | npocmaka |
b1f1ecc35aeff9501df8276cbb09986826810d59 | 582 | cc | C++ | base/debug/debugger_win.cc | Lynskylate/chromium-base-bazel | e68247d002809f0359e28ee7fc6c5c33de93ce9d | [
"BSD-3-Clause"
] | null | null | null | base/debug/debugger_win.cc | Lynskylate/chromium-base-bazel | e68247d002809f0359e28ee7fc6c5c33de93ce9d | [
"BSD-3-Clause"
] | null | null | null | base/debug/debugger_win.cc | Lynskylate/chromium-base-bazel | e68247d002809f0359e28ee7fc6c5c33de93ce9d | [
"BSD-3-Clause"
] | 1 | 2020-04-30T08:12:46.000Z | 2020-04-30T08:12:46.000Z | // Copyright (c) 2010 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 "base/debug/debugger.h"
#include <stdlib.h>
#include <windows.h>
#include "base/test/clang_coverage.h"
namespace base {
namespace debug {
... | 18.1875 | 73 | 0.71134 | Lynskylate |
b1f29870aa4e3e7592c95f98bf7b08b0c3485b41 | 9,461 | cpp | C++ | ogr/ogrsf_frmts/jml/ogrjmldataset.cpp | gajgeospatial/gdal-3.1.0 | ac735c543bbdb0bfa6c817920a852e38faf84645 | [
"Apache-2.0"
] | null | null | null | ogr/ogrsf_frmts/jml/ogrjmldataset.cpp | gajgeospatial/gdal-3.1.0 | ac735c543bbdb0bfa6c817920a852e38faf84645 | [
"Apache-2.0"
] | null | null | null | ogr/ogrsf_frmts/jml/ogrjmldataset.cpp | gajgeospatial/gdal-3.1.0 | ac735c543bbdb0bfa6c817920a852e38faf84645 | [
"Apache-2.0"
] | 1 | 2020-07-24T11:11:37.000Z | 2020-07-24T11:11:37.000Z | /******************************************************************************
*
* Project: JML Translator
* Purpose: Implements OGRJMLDataset class
* Author: Even Rouault, even dot rouault at spatialys dot com
*
******************************************************************************
* Copyright (c) ... | 38.149194 | 162 | 0.473734 | gajgeospatial |
b1f6083b7e59bd5bcf5a26538fbcca41cfe877d2 | 22,307 | cpp | C++ | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_RuntimeExpression.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: GenProtoS_RuntimeExpression.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/24/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https... | 31.286115 | 86 | 0.530506 | MarkStega |
b1f70752b9c87ca72b1e2761d8384cd75ec7dde1 | 5,747 | cpp | C++ | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2017-06-29T18:25:11.000Z | 2017-06-29T18:25:11.000Z | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | null | null | null | src/vlGraphics/Light.cpp | pasenau/VisualizationLibrary | 2fcf1808475aebd4862f40377754be62a7f77a52 | [
"BSD-2-Clause"
] | 1 | 2021-01-01T10:43:33.000Z | 2021-01-01T10:43:33.000Z | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | 44.550388 | 89 | 0.478163 | pasenau |
b1f8ec6ab4c7de8b6338e7c29e469fb4488766cf | 2,341 | hpp | C++ | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/itempropertyassociation.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 35.469697 | 120 | 0.715933 | Reflectioner |
b1f971bef472db17cb626c90c94b6989adb98ad3 | 21,048 | cpp | C++ | src/cpp/fastrtps_deprecated/subscriber/SubscriberHistory.cpp | jason-fox/Fast-RTPS | af466cfe63a8319cc9d37514267de8952627a9a4 | [
"Apache-2.0"
] | 1 | 2022-01-31T10:04:55.000Z | 2022-01-31T10:04:55.000Z | src/cpp/fastrtps_deprecated/subscriber/SubscriberHistory.cpp | jason-fox/Fast-RTPS | af466cfe63a8319cc9d37514267de8952627a9a4 | [
"Apache-2.0"
] | null | null | null | src/cpp/fastrtps_deprecated/subscriber/SubscriberHistory.cpp | jason-fox/Fast-RTPS | af466cfe63a8319cc9d37514267de8952627a9a4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 30.727007 | 118 | 0.625903 | jason-fox |
b1fb148053d47b0ddea75559a00438966f6ab9c9 | 8,038 | hpp | C++ | include/ensmallen_bits/spalera_sgd/spalera_sgd.hpp | niteya-shah/ensmallen | 7ecc62ed1d7976ec55d844e10dca6686fab5de55 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-06-28T10:05:58.000Z | 2020-06-28T10:05:58.000Z | include/ensmallen_bits/spalera_sgd/spalera_sgd.hpp | niteya-shah/ensmallen | 7ecc62ed1d7976ec55d844e10dca6686fab5de55 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/ensmallen_bits/spalera_sgd/spalera_sgd.hpp | niteya-shah/ensmallen | 7ecc62ed1d7976ec55d844e10dca6686fab5de55 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2019-04-30T02:27:21.000Z | 2019-04-30T02:27:21.000Z | /**
* @file spalera_sgd.hpp
* @author Marcus Edel
*
* SPALeRA Stochastic Gradient Descent (SPALeRASGD).
*
* ensmallen is free software; you may redistribute it and/or modify it under
* the terms of the 3-clause BSD license. You should have received a copy of
* the 3-clause BSD license along with ensmallen. If... | 37.560748 | 80 | 0.707265 | niteya-shah |
b1fb1a15fd0f79b424798f05a074a0f95cc217f4 | 828 | hpp | C++ | RobWorkSim/src/sandbox/grippers/GraspPlugin/SurfaceSample.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWorkSim/src/sandbox/grippers/GraspPlugin/SurfaceSample.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWorkSim/src/sandbox/grippers/GraspPlugin/SurfaceSample.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | /**
* @file SurfaceSample.hpp
* @author Adam Wolniakowski
*/
#pragma once
#include <string>
#include <vector>
#include <rw/math/Transform3D.hpp>
class SurfaceSample
{
public:
/* constructors */
/// Constructor
SurfaceSample(rw::math::Transform3D<> transform=rw::math::Transform3D<>(), double graspW=0.0)... | 19.714286 | 97 | 0.664251 | ZLW07 |
b1fb2348db940335ecbfd3c5cc2777bc11a756fd | 909 | cpp | C++ | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | pair/myPair.cpp | kamal2git/DSA-Practice-Questions | ae2f4e83d0166d046e617e1159c0a55f91591ef0 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
template <typename T,typename V>
class myPair{
T x;
V y;
public:
void setX(T x){
this->x=x;
}
void setY(V y){
this->y=y;
}
T getX(){
return x;
}
V getY(){
return y;
}
void print(myPair<int,int> p){
... | 20.2 | 67 | 0.49725 | kamal2git |
b1fbfe7a5ff366bb7ccec0eb25a89dfad5339add | 3,315 | hpp | C++ | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | Qv2ray/src/Qv2rayApplication.hpp | DWXXX/cnRepo | 3e54581699e4bf4d0d2d8a7c85fe340ebbbb8eef | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "core/handler/ConfigHandler.hpp"
#include "core/handler/RouteHandler.hpp"
#include "libs/QJsonStruct/QJsonStruct.hpp"
#include <QSystemTrayIcon>
#ifdef Q_OS_ANDROID
#include <QApplication>
#else
#include <SingleApplication>
#endif
#ifdef Q_OS_ANDROID
#define QV2RAY_NO_SINGLEAPPLICAT... | 26.102362 | 127 | 0.647059 | DWXXX |
b1fdb59b0eed2154e54ce32a3ea44706c7c97c53 | 911 | hpp | C++ | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 7 | 2019-08-21T11:38:01.000Z | 2021-01-28T06:41:44.000Z | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 7 | 2019-09-03T10:32:03.000Z | 2021-09-01T10:10:56.000Z | src/read_mapper/mapper/align_query_to_reference.hpp | seqan/learning-resources | e6447edca3a349cb350b73b31dbed9e3215447fc | [
"CC0-1.0",
"CC-BY-4.0"
] | 5 | 2019-08-21T11:39:30.000Z | 2020-07-12T14:31:33.000Z |
#pragma once
#include <seqan3/alignment/matrix/detail/aligned_sequence_builder.hpp>
#include <seqan3/alphabet/nucleotide/dna4.hpp>
namespace read_mapper::mapper
{
using alignment_t = typename seqan3::detail::make_pairwise_alignment_type<std::span<seqan3::dna4 const> const,
... | 39.608696 | 117 | 0.635565 | seqan |
b1fe6f3293848d2098433370a85e2147f078d034 | 134,742 | cpp | C++ | lib/DnsStats.cpp | private-octopus/ithitools | 31f6f6802fa761eea8d4cffed03756e5ce495a76 | [
"MIT"
] | 3 | 2018-02-15T20:00:44.000Z | 2020-07-16T06:08:20.000Z | lib/DnsStats.cpp | private-octopus/ithitools | 31f6f6802fa761eea8d4cffed03756e5ce495a76 | [
"MIT"
] | 111 | 2017-11-04T23:13:38.000Z | 2021-05-20T00:12:28.000Z | lib/DnsStats.cpp | private-octopus/ithitools | 31f6f6802fa761eea8d4cffed03756e5ce495a76 | [
"MIT"
] | 5 | 2018-06-21T08:18:26.000Z | 2021-10-11T02:02:54.000Z | /*
* Author: Christian Huitema
* Copyright (c) 2017, Private Octopus, Inc.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THI... | 31.010817 | 167 | 0.524885 | private-octopus |
b1feba8a5885bf5c11508e8c267a9d2c32d45c8b | 4,338 | cpp | C++ | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-19T15:47:43.000Z | 2020-10-19T15:47:43.000Z | dali-toolkit/internal/transition-effects/cube-transition-fold-effect-impl.cpp | zyndor/dali-toolkit | 9e3fd659c4d25706ab65345bc7c562ac27248325 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 29.310811 | 159 | 0.665975 | zyndor |
b1ffe636f815f8a5fb24caac853eac92983f0438 | 666 | cc | C++ | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | 2 | 2015-02-22T14:05:30.000Z | 2016-06-10T02:51:15.000Z | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | null | null | null | lib/asan/lit_tests/TestCases/Linux/syscalls.cc | darnic10/motocompiler | 7cba5f1d950495b02bc8da53d27bdbb1b0d4f117 | [
"MIT"
] | 3 | 2017-07-31T18:26:06.000Z | 2020-02-29T06:06:26.000Z | // RUN: %clangxx_asan -O0 %s -o %t && not %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t && not %t 2>&1 | FileCheck %s
#include <assert.h>
#include <errno.h>
#include <glob.h>
#include <stdio.h>
#include <string.h>
#include <sanitizer/linux_syscall_hooks.h>
/* Test the presence of __sanitizer_syscall_ in ... | 28.956522 | 77 | 0.657658 | darnic10 |
5901717c63546ae5afec50f3c64f3199cde8c715 | 134 | cpp | C++ | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | src/classwork/04_assign/loops.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Hannah-Kim-acc | 6df68153283d7c974bf3fb3f174fd8185fa75372 | [
"MIT"
] | null | null | null | //cpp
#include "loops.h"
int factorial(int num)
{
int fac = 1, i;
for (i=1;i<=num;i++)
{
fac = fac * i;
}
return fac;
} | 11.166667 | 22 | 0.507463 | acc-cosc-1337-spring-2021 |
59039b979d6453c36c53b2459a8b1da67ea5f77a | 5,585 | cpp | C++ | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 7 | 2019-03-06T11:04:52.000Z | 2019-07-10T20:00:51.000Z | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | null | null | null | SDK/PUBG_BP_FlaregunUiWidget_functions.cpp | realrespecter/PUBG-FULL-SDK | 5e2b0f103c74c95d2329c4c9dfbfab48aa0da737 | [
"MIT"
] | 10 | 2019-03-06T11:53:46.000Z | 2021-02-18T14:01:11.000Z | // PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_BP_FlaregunUiWidget_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//----------------------------------------... | 31.553672 | 140 | 0.689705 | realrespecter |
5906cac397f7c101b942357573f9e9c8841ec63c | 8,214 | cpp | C++ | wpilibc/Athena/src/CameraServer.cpp | abigailrose/wpilib-source-clone | 083362bd866f7de7c41a3f3d873cb82b750964f1 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/Athena/src/CameraServer.cpp | abigailrose/wpilib-source-clone | 083362bd866f7de7c41a3f3d873cb82b750964f1 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/Athena/src/CameraServer.cpp | abigailrose/wpilib-source-clone | 083362bd866f7de7c41a3f3d873cb82b750964f1 | [
"BSD-3-Clause"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 29.546763 | 80 | 0.634892 | abigailrose |
5907142b4e8e557b1f22dbc71bf6d3d9c60e6bd0 | 32,923 | cpp | C++ | gdal/ogr/ogrsf_frmts/lvbag/ogrlvbaglayer.cpp | luzpaz/gdal | 618f5c7ab562675de2574d2e3bcb25cdcec91c33 | [
"MIT"
] | null | null | null | gdal/ogr/ogrsf_frmts/lvbag/ogrlvbaglayer.cpp | luzpaz/gdal | 618f5c7ab562675de2574d2e3bcb25cdcec91c33 | [
"MIT"
] | null | null | null | gdal/ogr/ogrsf_frmts/lvbag/ogrlvbaglayer.cpp | luzpaz/gdal | 618f5c7ab562675de2574d2e3bcb25cdcec91c33 | [
"MIT"
] | 1 | 2015-10-05T05:19:59.000Z | 2015-10-05T05:19:59.000Z | /******************************************************************************
*
* Project: LV BAG Translator
* Purpose: Implements OGRLVBAGLayer.
* Author: Laixer B.V., info at laixer dot com
*
******************************************************************************
* Copyright (c) 2021, Laixer B.V. ... | 36.379006 | 126 | 0.507791 | luzpaz |
5907fe3a335f678a2d86107a1b46cfc6fb2ee8e7 | 3,474 | cpp | C++ | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | MyApplication/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/AnimatedImage.cpp | rshane960/TouchGFX | 1f1465f1aa1215d52264ae0199dafa821939de64 | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.18.1 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of thi... | 22.705882 | 109 | 0.553541 | rshane960 |
590bec2b85cb475e5254bcc7c9599cdb701c64bb | 126 | cpp | C++ | Source/FSDEngine/Private/ConvexMeshWithCachedTreeComponent.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSDEngine/Private/ConvexMeshWithCachedTreeComponent.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSDEngine/Private/ConvexMeshWithCachedTreeComponent.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "ConvexMeshWithCachedTreeComponent.h"
UConvexMeshWithCachedTreeComponent::UConvexMeshWithCachedTreeComponent() {
}
| 21 | 74 | 0.865079 | trumank |
590e4e912367f4e3eb59f72fc24f122c1539b204 | 13,487 | cc | C++ | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/queue_base.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | 1 | 2019-11-15T21:19:42.000Z | 2019-11-15T21:19:42.000Z | /* Copyright 2015 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 law or agreed to in ... | 34.670951 | 80 | 0.61259 | ryan-collins-forks |
590ed4ca49028a484fcdebe5965235d7a9b12bff | 9,585 | cpp | C++ | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 7 | 2018-06-25T12:06:13.000Z | 2022-01-18T09:20:13.000Z | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 20 | 2016-12-01T23:46:12.000Z | 2019-08-11T02:41:04.000Z | lib/Transforms/BreakConstantGEPs/BreakConstantGEPs.cpp | seec-team/seec | 4b92456011e86b70f9d88833a95c1f655a21cf1a | [
"MIT"
] | 1 | 2020-10-19T03:20:05.000Z | 2020-10-19T03:20:05.000Z | //===- BreakConstantGEPs.cpp - Change constant GEPs into GEP instructions - --//
//
// The SAFECode Compiler
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===-------------... | 30.819936 | 80 | 0.59614 | seec-team |
590f37657e8ada6e3fe917bbe0be2a57e9a2e329 | 166 | hpp | C++ | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | addons/uh60_sfmplus/script_component.hpp | ZHANGTIANYAO1/H-60 | 4c6764f74190dbe7d81ddeae746cf78d8b7dff92 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #define COMPONENT uh60_sfmplus
#define COMPONENT_BEAUTIFIED UH60_SFMPLUS
#include "\z\vtx\addons\main\script_mod.hpp"
#include "\z\vtx\addons\main\script_macros.hpp" | 33.2 | 47 | 0.819277 | ZHANGTIANYAO1 |
591033ee343329a6afb928d983ea1afe9fb1b32d | 119 | cpp | C++ | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | ThreadsFuturePromise/source/SensorData.cpp | DennyMarx/modern-cpp-samples | d44d46495143795f5a8ddd61a1c21950e76a3ef2 | [
"MIT"
] | null | null | null | #include "SensorData.h"
SensorData::SensorData()
: sensorValue(0)
{
}
SensorData::~SensorData()
{
}
| 8.5 | 26 | 0.588235 | DennyMarx |
5912798544ecddde13b2d3df265a37b6b47accbb | 9,679 | cpp | C++ | orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/visualize/pcshow.cpp | tamaslevente/trai | 4bf68463b941f305d9b25a9374b6c2a2d51a8046 | [
"MIT"
] | 40 | 2020-01-22T12:57:09.000Z | 2022-03-16T02:31:35.000Z | orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/visualize/pcshow.cpp | tamaslevente/trai | 4bf68463b941f305d9b25a9374b6c2a2d51a8046 | [
"MIT"
] | 5 | 2020-07-07T14:10:46.000Z | 2021-12-14T08:10:01.000Z | orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/visualize/pcshow.cpp | tamaslevente/trai | 4bf68463b941f305d9b25a9374b6c2a2d51a8046 | [
"MIT"
] | 14 | 2020-03-13T19:53:41.000Z | 2021-11-30T02:04:34.000Z | //============================================================================
// Name : pcshow.cpp
// Author : adapted from Pangolin by S. Lovegrove and PangoCloud by J. Liu
// Date : 10/2018
// License : MIT License (Pangolin) / GNU General Public License
// Description : display 3D point cloud... | 30.824841 | 101 | 0.620105 | tamaslevente |