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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3db11026f8a1ee573b6de54f080be4cc6a948a9f | 5,028 | hpp | C++ | src/Input.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | 4 | 2021-03-01T13:33:30.000Z | 2021-03-14T20:05:00.000Z | src/Input.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | null | null | null | src/Input.hpp | mechanicsfoundry/raytracinginoneweekend-glsl | 515905135456fe263be9bc13b708222c28827a4d | [
"MIT"
] | null | null | null | #pragma once
enum class DPadDirection
{
UP,
DOWN,
LEFT,
RIGHT
};
// these are matched to SDL key map scancodes
enum class Scancode
{
S_UNKNOWN = 0,
S_A = 4,
S_B = 5,
S_C = 6,
S_D = 7,
S_E = 8,
S_F = 9,
S_G = 10,
S_H = 11,
S_I = 12,
S_J = 13,
S_K = 14,
... | 19.413127 | 45 | 0.552506 | mechanicsfoundry |
3db1981084b1813f6fd4be3eb695e9820fb1ef9e | 507 | cpp | C++ | utils/src/drawing/Point.cpp | AleksievAleksandar/Chess | 4dd9e27ddf3302aa959d3a8854d3bc5fcb970dde | [
"MIT"
] | null | null | null | utils/src/drawing/Point.cpp | AleksievAleksandar/Chess | 4dd9e27ddf3302aa959d3a8854d3bc5fcb970dde | [
"MIT"
] | null | null | null | utils/src/drawing/Point.cpp | AleksievAleksandar/Chess | 4dd9e27ddf3302aa959d3a8854d3bc5fcb970dde | [
"MIT"
] | null | null | null | //Coresponding header
#include "utils/drawing/Point.h"
//C system includes
//C++ system includes
//Thitrd-party includes
//Own includes
//Forward Declarations
const Point Point::ZERO(0, 0);
const Point Point::UNDEFINED(1000, 1000);
Point::Point(int32_t inputX, int32_t inputY) :
x(inputX), y(inputY)
{}
bool P... | 15.363636 | 55 | 0.674556 | AleksievAleksandar |
3db1ea476c051e3c77f16173d80f015e29e591c8 | 4,549 | cpp | C++ | src/lib/logic/triple_to_fact.cpp | ethz-asl/libowlcpp | 42d342bd901c19cfe090d20c6481d061a76f0fec | [
"BSL-1.0"
] | 10 | 2017-12-21T05:20:40.000Z | 2021-09-18T05:14:01.000Z | src/lib/logic/triple_to_fact.cpp | ethz-asl/libowlcpp | 42d342bd901c19cfe090d20c6481d061a76f0fec | [
"BSL-1.0"
] | 2 | 2017-12-21T07:31:54.000Z | 2021-06-23T08:52:35.000Z | src/lib/logic/triple_to_fact.cpp | ethz-asl/libowlcpp | 42d342bd901c19cfe090d20c6481d061a76f0fec | [
"BSL-1.0"
] | 7 | 2016-02-17T13:20:31.000Z | 2021-11-08T09:30:43.000Z | /** @file "/owlcpp/lib/logic/triple_to_fact.cpp"
part of owlcpp project.
@n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt.
@n Copyright Mikhail K Levin 2013
*******************************************************************************/
#ifndef OWLCPP_LOGIC_SOURCE
#define OWLCPP_LOG... | 31.811189 | 85 | 0.513959 | ethz-asl |
3db374f94ab913c1d8f1e0148d5847f4bf406d94 | 1,961 | cpp | C++ | NatureUserInterfaceApp/GUI/NuiPangoPolygonMeshShader.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 3 | 2016-07-14T13:04:35.000Z | 2017-04-01T09:58:27.000Z | NatureUserInterfaceApp/GUI/NuiPangoPolygonMeshShader.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | null | null | null | NatureUserInterfaceApp/GUI/NuiPangoPolygonMeshShader.cpp | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 1 | 2021-11-21T15:33:35.000Z | 2021-11-21T15:33:35.000Z | #include "NuiPangoPolygonMeshShader.h"
#include "Shape\NuiPolygonMesh.h"
NuiPangoPolygonMeshShader::NuiPangoPolygonMeshShader()
: m_numTriangles(0)
{
glGenBuffers(1, &m_vbo);
glGenBuffers(1, &m_ibo);
}
NuiPangoPolygonMeshShader::~NuiPangoPolygonMeshShader()
{
uninitializeBuffers();
}
bool NuiPangoPolygonMeshSha... | 26.146667 | 113 | 0.782764 | hustztz |
3db437c0abe19da4bb1dadb1d6c2e45b4ee1a2bc | 3,235 | cpp | C++ | src/bindings.cpp | joshuarrrrr/wand | b53bb4880714bf39ce9c6e3f903d0f1edcaf8047 | [
"MIT"
] | null | null | null | src/bindings.cpp | joshuarrrrr/wand | b53bb4880714bf39ce9c6e3f903d0f1edcaf8047 | [
"MIT"
] | null | null | null | src/bindings.cpp | joshuarrrrr/wand | b53bb4880714bf39ce9c6e3f903d0f1edcaf8047 | [
"MIT"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/chrono.h>
#include <pybind11/numpy.h>
#include <pybind11/stl.h>
#include <string>
#include <multitouch_device.hpp>
#include <touch_point.hpp>
namespace py = pybind11;
using namespace wand;
PYBIND11_MODULE(wand, m) {
m.doc() = "";
py::class_<TouchPoint, std::s... | 46.884058 | 118 | 0.622875 | joshuarrrrr |
3db522672c3dbbd2ca95b86041fb79a5c4bc9c59 | 2,480 | cpp | C++ | BashuOJ-Code/5187.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/5187.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/5187.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cmath>
#include<cstdlib>
#include<cstring>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<queue>
#include<stack>
#define ri register int
#define ll long long
using namespace std;
const int MAXN=50005;
const int MAXM=100005;
int c[MAXN],dep[MAXN];
int n,m,sil... | 20.495868 | 71 | 0.568548 | magicgh |
3db59b7cf39b7d2b23adf4cccdd86667cbe9e717 | 303 | cc | C++ | cpp_gui_wt/itp.cc | hpepper/idea-to-product | 64b72a2dff0fd1edc0ef6886f49a095e72febbcb | [
"Apache-2.0"
] | null | null | null | cpp_gui_wt/itp.cc | hpepper/idea-to-product | 64b72a2dff0fd1edc0ef6886f49a095e72febbcb | [
"Apache-2.0"
] | null | null | null | cpp_gui_wt/itp.cc | hpepper/idea-to-product | 64b72a2dff0fd1edc0ef6886f49a095e72febbcb | [
"Apache-2.0"
] | null | null | null | /*
* itp.cc
*
* Created on: Nov 13, 2015
*/
#include <Wt/WApplication>
#include "IdeaToProduct.h"
Wt::WApplication *createApplication(const Wt::WEnvironment& env)
{
return new IdeaToProduct(env);
}
int main(int argc, char **argv)
{
return Wt::WRun(argc, argv, &createApplication);
}
| 13.173913 | 64 | 0.666667 | hpepper |
3db73ec1c3b65834ef9d175708b430a03d76ff31 | 12,569 | cpp | C++ | ThirdParty/JSBSim/include/math/FGLocation.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | 1 | 2022-02-03T08:29:35.000Z | 2022-02-03T08:29:35.000Z | ThirdParty/JSBSim/include/math/FGLocation.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | null | null | null | ThirdParty/JSBSim/include/math/FGLocation.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | null | null | null | /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Module: FGLocation.cpp
Author: Jon S. Berndt
Date started: 04/04/2004
Purpose: Store an arbitrary location on the globe
------- Copyright (C) 1999 Jon S. Berndt (jon@jsbsim.org) ------------------
------- ... | 28.565909 | 89 | 0.557403 | Lynnvon |
3db9b42621692c39fcbfa859c884a09e9241a09b | 2,140 | cpp | C++ | src/planner/logical_operator.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 1 | 2022-03-09T03:05:00.000Z | 2022-03-09T03:05:00.000Z | src/planner/logical_operator.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | null | null | null | src/planner/logical_operator.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 1 | 2022-01-18T09:38:19.000Z | 2022-01-18T09:38:19.000Z | #include "duckdb/planner/logical_operator.hpp"
#include "duckdb/common/printer.hpp"
#include "duckdb/common/string_util.hpp"
using namespace duckdb;
using namespace std;
string LogicalOperator::ParamsToString() const {
string result = "";
if (expressions.size() > 0) {
result += "[";
result += StringUtil::Join(... | 25.47619 | 114 | 0.684112 | rainmaple |
3dbc6b4a4e76a80b1006d2832fe4f8eb1fc8cd74 | 667 | cpp | C++ | tests/all.cpp | robclu/wrench | 8fff96c35b4d2ff351edd8ec2b7ce0d03343bda7 | [
"MIT"
] | null | null | null | tests/all.cpp | robclu/wrench | 8fff96c35b4d2ff351edd8ec2b7ce0d03343bda7 | [
"MIT"
] | null | null | null | tests/all.cpp | robclu/wrench | 8fff96c35b4d2ff351edd8ec2b7ce0d03343bda7 | [
"MIT"
] | null | null | null | //==--- wrench/tests/all.cpp ------------------------------- -*- C++ -*- ---==//
//
// Wrench
//
// Copyright (c) 2020 Rob Clucas.
//
// This file is distributed under the MIT License. See LICENSE for details.
//
//==------------------------------------------------... | 30.318182 | 80 | 0.4003 | robclu |
3dbd2980368ebc42b00ccbf542aa0777d2c7b032 | 2,137 | cc | C++ | fides/mock_settings_document.cc | cschuet/fides | c31ad020f213f859ddeb7a7be558e7769a501044 | [
"FSFAP"
] | 2 | 2018-07-27T00:29:35.000Z | 2018-07-29T14:44:59.000Z | fides/mock_settings_document.cc | cschuet/fides | c31ad020f213f859ddeb7a7be558e7769a501044 | [
"FSFAP"
] | null | null | null | fides/mock_settings_document.cc | cschuet/fides | c31ad020f213f859ddeb7a7be558e7769a501044 | [
"FSFAP"
] | null | null | null | // Copyright 2015 The Chromium OS 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 "fides/mock_settings_document.h"
#include "fides/identifier_utils.h"
namespace fides {
MockSettingsDocument::MockSettingsDocument(const Ver... | 27.753247 | 77 | 0.750585 | cschuet |
3dbdc45ea055ecc6fc7cf67d92f3a5c3fad796cc | 3,509 | cpp | C++ | EngCode/SOHTA engine/Graphics.cpp | AthosMatos/ATHOS-Engine | 24b09042cd8d661ac70d0f6b302a8b129a843fbd | [
"MIT"
] | null | null | null | EngCode/SOHTA engine/Graphics.cpp | AthosMatos/ATHOS-Engine | 24b09042cd8d661ac70d0f6b302a8b129a843fbd | [
"MIT"
] | null | null | null | EngCode/SOHTA engine/Graphics.cpp | AthosMatos/ATHOS-Engine | 24b09042cd8d661ac70d0f6b302a8b129a843fbd | [
"MIT"
] | null | null | null | #include "Graphics.h"
#include <string.h>
void Graphics::init(HWND hwnd)
{
cout << "GRAPHICS STARTED\n";
d3d = new D3D;
d2d = new D2D;
RQ2D = new RenderQueue_2D;
fistscene = new StdScene;
d3d->InitD3D(hwnd);
InitSharedScreen(d3d->Adapter);
d2d->InitD2D(sharedSurface10);
d2d->Updat... | 30.513043 | 124 | 0.647763 | AthosMatos |
3dc027a80e734cfd2994279d3c7f8335c3b04428 | 2,661 | hpp | C++ | query_optimizer/strategy/Strategy.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 31 | 2016-01-20T05:43:46.000Z | 2022-02-07T09:14:06.000Z | query_optimizer/strategy/Strategy.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 221 | 2016-01-20T18:25:10.000Z | 2016-06-26T02:58:12.000Z | query_optimizer/strategy/Strategy.hpp | spring-operator/quickstep | 3e98776002eb5db7154031fd6ef1a7f000a89d81 | [
"Apache-2.0"
] | 17 | 2016-01-20T04:00:21.000Z | 2019-03-12T02:41:25.000Z | /**
* Copyright 2011-2015 Quickstep Technologies LLC.
* Copyright 2015 Pivotal Software, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | 28.923913 | 80 | 0.699361 | spring-operator |
3dc6dd6bd96bf2220ffed2970168c76685ac3ccd | 1,263 | cpp | C++ | c11httpd/worker_pool.cpp | toalexjin/c11httpd | 6774d96c72d60ad8c371a6d846744a9ccc98d7ee | [
"MIT"
] | null | null | null | c11httpd/worker_pool.cpp | toalexjin/c11httpd | 6774d96c72d60ad8c371a6d846744a9ccc98d7ee | [
"MIT"
] | null | null | null | c11httpd/worker_pool.cpp | toalexjin/c11httpd | 6774d96c72d60ad8c371a6d846744a9ccc98d7ee | [
"MIT"
] | null | null | null | /**
* Process worker pool.
*
* Copyright (c) 2015 Alex Jin (toalexjin@hotmail.com)
*/
#include "c11httpd/worker_pool.h"
#include <signal.h>
namespace c11httpd {
err_t worker_pool_t::create(int number) {
if (!this->m_main_process) {
return err_t();
}
for (int i = 0; i < number; ++i) {
const auto pid = f... | 15.592593 | 79 | 0.618369 | toalexjin |
3dc96b363b476cb806b23b85e70a33eedc144b2d | 1,643 | hpp | C++ | libff/algebra/curves/mcl_bn128/mcl_bn128_gt.hpp | CortexFoundation/libff | 5e87e58d6636125052030ad8a2fb93677e327bcd | [
"MIT"
] | null | null | null | libff/algebra/curves/mcl_bn128/mcl_bn128_gt.hpp | CortexFoundation/libff | 5e87e58d6636125052030ad8a2fb93677e327bcd | [
"MIT"
] | null | null | null | libff/algebra/curves/mcl_bn128/mcl_bn128_gt.hpp | CortexFoundation/libff | 5e87e58d6636125052030ad8a2fb93677e327bcd | [
"MIT"
] | 1 | 2019-07-10T09:31:25.000Z | 2019-07-10T09:31:25.000Z | /** @file
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
* and contributors (see AUTHORS).
* @copyright MIT license (see LICENSE file)
********************************************************************... | 28.327586 | 81 | 0.637858 | CortexFoundation |
3dc9b780ad76b91d41cd5cfa6d53f48ee32f9807 | 1,595 | cpp | C++ | Gems/LandscapeCanvas/Code/Tests/LandscapeCanvasTest.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/LandscapeCanvas/Code/Tests/LandscapeCanvasTest.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/LandscapeCanvas/Code/Tests/LandscapeCanvasTest.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzTest/AzTest.h>
#include <AzCore/Component/ComponentApplication.h>
#include <AzCore/Com... | 27.5 | 119 | 0.742947 | cypherdotXd |
3dcc020c864f9a41ba0be26926ad485193f0f698 | 2,958 | hpp | C++ | include/CppML/Functional/Bind.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 48 | 2019-05-14T10:07:08.000Z | 2021-04-08T08:26:20.000Z | include/CppML/Functional/Bind.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | null | null | null | include/CppML/Functional/Bind.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 4 | 2019-11-18T15:35:32.000Z | 2021-12-02T05:23:04.000Z | /**
* Copyright Žiga Sajovic, XLAB 2019
* Distributed under the MIT License
*
* https://github.com/ZigaSajovic/CppML
**/
#ifndef CPPML_BIND_HPP
#define CPPML_BIND_HPP
#include "../Pack/Insert.hpp"
#include "./Compose.hpp"
#include "./Partial.hpp"
namespace ml {
/*
* # Par:
* Is a parameter holder for ml::Bind.
... | 34.395349 | 74 | 0.647059 | changjurhee |
3dd1088d19894069d000f8e7b0e2e9eaeaad9467 | 1,857 | cpp | C++ | src/python/compiled_analysis_plugins/box_parallel.cpp | confitarlaburra/pteros2.0 | 25de81f39bc8948a37e10e3b389d58ca71195d8d | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2019-02-19T14:36:10.000Z | 2019-02-19T14:36:10.000Z | src/python/compiled_analysis_plugins/box_parallel.cpp | confitarlaburra/pteros2.0 | 25de81f39bc8948a37e10e3b389d58ca71195d8d | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/python/compiled_analysis_plugins/box_parallel.cpp | confitarlaburra/pteros2.0 | 25de81f39bc8948a37e10e3b389d58ca71195d8d | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
* This file is a part of
*
* ============================================
* ### Pteros molecular modeling library ###
* ============================================
*
* (C) 2009-2018, Semen Yesylevskyy
*
* All works, which use Pteros, should cite the following papers:
*
* 1. Semen O. Yesylevskyy, "... | 26.913043 | 97 | 0.6042 | confitarlaburra |
3dd3c37f0f0095ce5a16fc2bbd023478f50d6855 | 14,921 | hpp | C++ | kaluun/parser.hpp | dimitarm/kaluun | 1fd73fafcc2853f9cd2cebbc08dafef93e17ea28 | [
"MIT"
] | 2 | 2016-09-09T10:36:20.000Z | 2017-08-14T02:41:43.000Z | kaluun/parser.hpp | dimitarm/kaluun | 1fd73fafcc2853f9cd2cebbc08dafef93e17ea28 | [
"MIT"
] | null | null | null | kaluun/parser.hpp | dimitarm/kaluun | 1fd73fafcc2853f9cd2cebbc08dafef93e17ea28 | [
"MIT"
] | null | null | null | /*
* parser.hpp
*
* Created on: Jun 23, 2015
* Author: dimitar
*/
#include "template.hpp"
#include <ostream>
#include <sstream>
#include <utility>
#include <tuple>
#include <typeinfo>
#include <vector>
#include <algorithm>
#include <boost/range.hpp>
#include <boost/range/algorithm/find.hpp>
#include <boost/... | 36.392683 | 170 | 0.66765 | dimitarm |
3dd4ca477e3afdbe065a75f914787087cabd4fcd | 5,036 | hpp | C++ | engine/src/main_check.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 20 | 2020-07-07T18:28:35.000Z | 2022-03-21T04:35:28.000Z | engine/src/main_check.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 46 | 2021-01-20T10:13:09.000Z | 2022-03-29T12:27:19.000Z | engine/src/main_check.hpp | Sidharth-S-S/cloe | 974ef649e7dc6ec4e6869e4cf690c5b021e5091e | [
"Apache-2.0"
] | 12 | 2021-01-25T08:01:24.000Z | 2021-07-27T10:09:53.000Z | /*
* Copyright 2020 Robert Bosch GmbH
*
* 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 agre... | 28.292135 | 98 | 0.623114 | Sidharth-S-S |
3dd4d9409d3676ff423e59449739cdc779baf087 | 2,198 | cpp | C++ | contact/contact.cpp | anantja-in/usaco | 1b680b40cfba18fa4dadf031c39dff3f0f2b7c30 | [
"MIT"
] | null | null | null | contact/contact.cpp | anantja-in/usaco | 1b680b40cfba18fa4dadf031c39dff3f0f2b7c30 | [
"MIT"
] | null | null | null | contact/contact.cpp | anantja-in/usaco | 1b680b40cfba18fa4dadf031c39dff3f0f2b7c30 | [
"MIT"
] | null | null | null | /*
ID: anant901
PROG: contact
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <utility>
#include <vector>
#include <algorithm>
using namespace std;
int compare(pair<int, string>& a, pair<int,string>& b){
return a.first > b.first;
}
int val(string a){
int res = 0;
int p... | 19.113043 | 91 | 0.568699 | anantja-in |
3dda02f59f4eced11592b7858f2f8b49aed73d4f | 8,021 | cc | C++ | art/runtime/base/unix_file/mapped_file_test.cc | CanPisces/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 1,306 | 2015-09-01T05:06:16.000Z | 2022-03-10T07:13:10.000Z | art/runtime/base/unix_file/mapped_file_test.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 11 | 2015-09-02T09:06:42.000Z | 2020-12-26T04:59:34.000Z | art/runtime/base/unix_file/mapped_file_test.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 598 | 2015-09-01T05:06:18.000Z | 2022-03-27T07:59:49.000Z | /*
* Copyright (C) 2008 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... | 30.154135 | 80 | 0.731829 | CanPisces |
3ddac18b8dea1f584d40151ca4efb8bad8b28d0b | 5,812 | hpp | C++ | src/gui/logind_session_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/gui/logind_session_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/gui/logind_session_lnx.hpp | CoSoSys/cppdevtk | 99d6c3d328c05a55dae54e82fcbedad93d0cfaa0 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// \file
///
/// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n
/// Licensed under the Apache License, Version 2.0 (the "License");\n
/// you may not use this file e... | 37.986928 | 180 | 0.682725 | CoSoSys |
3ddbaa2d7749a946d533e6e07fa4456bdf001396 | 234 | cpp | C++ | Engine/Source/Color.cpp | Denisdrk6/ProjectIII | 89634bcf4a3520ba78158dff50aee568089968cb | [
"MIT"
] | 7 | 2022-02-16T12:09:19.000Z | 2022-03-14T15:59:48.000Z | Engine/Source/Color.cpp | Denisdrk6/Dune-Fremen-s-Rising | 89634bcf4a3520ba78158dff50aee568089968cb | [
"MIT"
] | 1 | 2022-03-18T19:46:23.000Z | 2022-03-18T19:46:23.000Z | Engine/Source/Color.cpp | Denisdrk6/Dune-Fremen-s-Rising | 89634bcf4a3520ba78158dff50aee568089968cb | [
"MIT"
] | 1 | 2022-02-20T19:49:09.000Z | 2022-02-20T19:49:09.000Z | #include "Color.h"
#include "Profiling.h"
Color red = Color(1.0f, 0.0f, 0.0f);
Color green = Color(0.0f, 1.0f, 0.0f);
Color blue = Color(0.0f, 0.0f, 1.0f);
Color black = Color(0.0f, 0.0f, 0.0f);
Color white = Color(1.0f, 1.0f, 1.0f); | 29.25 | 38 | 0.628205 | Denisdrk6 |
3de170da2c63cee6ebe2b839d9a4196efaa7e167 | 1,336 | hpp | C++ | include/blokus/ai/logic.hpp | sunfl0w/CPP_HokusBlokus | aedb8d42143cce9fe2b7107ce4f6d15ef76dc58c | [
"MIT"
] | 1 | 2020-09-04T16:35:38.000Z | 2020-09-04T16:35:38.000Z | include/blokus/ai/logic.hpp | sunfl0w/CPP_HokusBlokus | aedb8d42143cce9fe2b7107ce4f6d15ef76dc58c | [
"MIT"
] | null | null | null | include/blokus/ai/logic.hpp | sunfl0w/CPP_HokusBlokus | aedb8d42143cce9fe2b7107ce4f6d15ef76dc58c | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <random>
#include <iostream>
#include "gameState.hpp"
#include "move.hpp"
#include "player.hpp"
#include "color.hpp"
#include "logger.hpp"
namespace HokusBlokus::Blokus::AI {
/**
* @brief This class defines some virtual methods for creating AIs for the game of Blokus.... | 27.265306 | 120 | 0.589072 | sunfl0w |
3de36dc5c4b8cba188c1f118d9c6432d64853f12 | 3,070 | cc | C++ | onnxruntime/test/optimizer/rule_based_graph_transformer_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 5 | 2021-02-20T04:53:48.000Z | 2021-03-09T19:29:27.000Z | onnxruntime/test/optimizer/rule_based_graph_transformer_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 17 | 2020-07-21T11:13:27.000Z | 2022-03-27T02:37:05.000Z | onnxruntime/test/optimizer/rule_based_graph_transformer_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 2 | 2020-05-21T20:08:25.000Z | 2021-04-19T10:39:13.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/graph/graph_viewer.h"
#include "core/graph/model.h"
#include "core/optimizer/graph_transformer.h"
#include "core/optimizer/graph_transformer_mgr.h"
#include "test/framework/test_utils.h"
#include "test/test_e... | 42.638889 | 126 | 0.780782 | dennyac |
3de3f318da6b1e6d8388c4dfd36caed2720b60e0 | 2,950 | cpp | C++ | breakpad_wrapper.cpp | lgirdk/breakpad-wrapper | 5df474a3be17ca3f7289829b48a6da78e915554d | [
"Apache-2.0"
] | null | null | null | breakpad_wrapper.cpp | lgirdk/breakpad-wrapper | 5df474a3be17ca3f7289829b48a6da78e915554d | [
"Apache-2.0"
] | null | null | null | breakpad_wrapper.cpp | lgirdk/breakpad-wrapper | 5df474a3be17ca3f7289829b48a6da78e915554d | [
"Apache-2.0"
] | 2 | 2018-08-16T20:50:29.000Z | 2020-08-19T00:15:32.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
*
* 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 ... | 32.777778 | 147 | 0.626102 | lgirdk |
3de67ac7a4b63b7c9d67d2d2ac6d85223f0a8b12 | 53,170 | cpp | C++ | src/core/blocks/chains.cpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 12 | 2021-07-11T11:14:14.000Z | 2022-03-28T11:37:29.000Z | src/core/blocks/chains.cpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 103 | 2021-06-26T17:09:43.000Z | 2022-03-30T12:05:18.000Z | src/core/blocks/chains.cpp | fragcolor-xyz/chainblocks | bf83f8dc8f46637bc42713d1fa77e81228ddfccf | [
"BSD-3-Clause"
] | 8 | 2021-07-27T14:45:26.000Z | 2022-03-01T08:07:18.000Z | /* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright © 2019 Fragcolor Pte. Ltd. */
#include "foundation.hpp"
#include "shared.hpp"
#include <chrono>
#include <memory>
#include <set>
#if !defined(__EMSCRIPTEN__) || defined(__EMSCRIPTEN_PTHREADS__)
#include <taskflow/taskflow.hpp>
#endif
namespace chainblocks {
enu... | 29.391929 | 80 | 0.602276 | fragcolor-xyz |
3de6fdd38554b4043a8a064ba5229b2c48b65f20 | 3,549 | hpp | C++ | Source/Common/Context.hpp | gunstarpl/Perim-Game-07-2015 | 58efdee1857f5cccad909d5c2a76f2d6871657e6 | [
"Unlicense",
"MIT"
] | null | null | null | Source/Common/Context.hpp | gunstarpl/Perim-Game-07-2015 | 58efdee1857f5cccad909d5c2a76f2d6871657e6 | [
"Unlicense",
"MIT"
] | null | null | null | Source/Common/Context.hpp | gunstarpl/Perim-Game-07-2015 | 58efdee1857f5cccad909d5c2a76f2d6871657e6 | [
"Unlicense",
"MIT"
] | null | null | null | #pragma once
#include "Precompiled.hpp"
//
// Context
//
// Conveniently holds pointers to instances of different types.
// Use when you have to pass a non trivial number of references as a single argument.
//
class Context
{
public:
// Type declarations.
typedef std::pair<std::type_index, void*> InstanceP... | 22.75 | 102 | 0.554804 | gunstarpl |
3de704a700d839d5f6b20357eda6a3740fc4021e | 4,675 | cpp | C++ | Libraries/graphics/Tests/test_PixelFormat.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 9 | 2018-04-30T23:18:27.000Z | 2021-06-20T15:13:38.000Z | Libraries/graphics/Tests/test_PixelFormat.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | null | null | null | Libraries/graphics/Tests/test_PixelFormat.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 4 | 2018-10-10T19:44:17.000Z | 2020-01-12T11:56:31.000Z | /**
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*/
#include <gtest/gtest.... | 46.287129 | 137 | 0.706952 | djgalloway |
3de76419cd60453f8a99d7b4a59f72ef8da81325 | 3,597 | cpp | C++ | chapter6/Base.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | chapter6/Base.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | chapter6/Base.cpp | zzq1996/OJ | 359d0ad532732092a5afe5995312b12e8da74953 | [
"Apache-2.0"
] | null | null | null | /**
* @Author : zhang
* @create 2022/3/1 19:56
*/
#include "Base.h"
#include "iostream"
#include "vector"
using namespace std;
/*
* @Description 十进制整数转二进制
* 方法:除2取余,逆序排序
*/
void Base::f6_1() {
unsigned int n=0;
while (cin>>n){
if(n==0){
break;
}else{
vector<int> ... | 17.632353 | 56 | 0.48179 | zzq1996 |
3de7fde1b18eda98ac3b0ca94181b6a68699e670 | 2,916 | cpp | C++ | p4c_bm/templates/src/pd_counters.cpp | krambn/p4c-bm | e6be2c76f4568d5e01f62a8955ce2839d2fa0b36 | [
"Apache-2.0"
] | null | null | null | p4c_bm/templates/src/pd_counters.cpp | krambn/p4c-bm | e6be2c76f4568d5e01f62a8955ce2839d2fa0b36 | [
"Apache-2.0"
] | null | null | null | p4c_bm/templates/src/pd_counters.cpp | krambn/p4c-bm | e6be2c76f4568d5e01f62a8955ce2839d2fa0b36 | [
"Apache-2.0"
] | 6 | 2019-09-17T13:52:51.000Z | 2022-03-03T06:51:31.000Z | /* Copyright 2013-present Barefoot Networks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 25.356522 | 75 | 0.665295 | krambn |
3de8cc79512d5f92f99f5ac061e38ead93af1ea8 | 1,126 | hpp | C++ | applications/CoSimulationApplication/custom_external_libraries/co_sim_io/impl/define.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/CoSimulationApplication/custom_external_libraries/co_sim_io/impl/define.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/CoSimulationApplication/custom_external_libraries/co_sim_io/impl/define.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | // ______ _____ _ ________
// / ____/___ / ___/(_)___ ___ / _/ __ |
// / / / __ \\__ \/ / __ `__ \ / // / / /
// / /___/ /_/ /__/ / / / / / / // // /_/ /
// \____/\____/____/_/_/ /_/ /_/___/\____/
// Kratos CoSimulationApplication
//
// License: BSD License, see license.txt
//
// ... | 20.107143 | 67 | 0.647425 | ma6yu |
3dee4a30782c12cfb5950567fb9c4ccce426e50f | 369 | cpp | C++ | UESTC/2352.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 18 | 2019-01-01T13:16:59.000Z | 2022-02-28T04:51:50.000Z | UESTC/2352.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | null | null | null | UESTC/2352.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 5 | 2019-09-13T08:48:17.000Z | 2022-02-19T06:59:03.000Z | #include <cstdio>
using namespace std;
double p, k, a, r = 1.0, b, m, f;
int n;
int main()
{
scanf("%lf %lf %lf %d", &p, &k, &a, &n);
b = 1 - p;
k /= 100.0;
a /= 100.0;
for (int i = 0; i < n; i++)
{
f = p * r;
m += f * (k + i * a) * p + f * (1 - p);
r *= b;
}
m += r * (k + n * a) * p + r * (1 - p);
pri... | 16.772727 | 41 | 0.382114 | HeRaNO |
3df1534cd72d4c9bd9a355c602e7d34e307a79fb | 8,097 | inl | C++ | SoftRP/ArrayAllocatorImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | SoftRP/ArrayAllocatorImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | SoftRP/ArrayAllocatorImpl.inl | loreStefani/SoftRP | 2676145f74c734b272268820b1e1c503aa8ff765 | [
"MIT"
] | null | null | null | #ifndef SOFTRP_ARRAY_ALLOCATOR_IMPL_INL_
#define SOFTRP_ARRAY_ALLOCATOR_IMPL_INL_
#include "ArrayAllocator.h"
#include <utility>
#include <cassert>
namespace SoftRP {
/* ArrayAllocator implementation */
template<typename T, typename AllocationDesc, typename ArrayAllocationDesc>
inline ArrayAllocator<T, AllocationD... | 31.628906 | 152 | 0.742003 | loreStefani |
3df481b716a20386bdfc817ae6f34ebc9ba138e1 | 731 | cpp | C++ | mahbubul-hassan/0-Programming_Contest_DS_Algorithms/bigmod.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | mahbubul-hassan/0-Programming_Contest_DS_Algorithms/bigmod.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | mahbubul-hassan/0-Programming_Contest_DS_Algorithms/bigmod.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | #include <bits/stdc++.h>
using namespace std;
/*
(ab) mod M = (a mod M)(b mod M) mod M
(a^b) mod M = ?
x1 = b/2, x2 = b-x1
so, ? = (a^x1 mod M)(a^x2 mod M) mod M
*/
class BigMod{
public:
BigMod(){}
~BigMod(){}
int bigMod(int a, int M){
if(a<M) return a%M;
int x1 = a/2;
... | 18.275 | 49 | 0.47606 | fahimfarhan |
3df4e145efc231fe90839d5fcdb465909749575f | 6,676 | cc | C++ | SgtCore/YamlSupport.cc | dexterurbane/SmartGridToolbox | ff2eb98e28b0c0ea9690ec6f522ccf1c306f79b7 | [
"Apache-2.0"
] | null | null | null | SgtCore/YamlSupport.cc | dexterurbane/SmartGridToolbox | ff2eb98e28b0c0ea9690ec6f522ccf1c306f79b7 | [
"Apache-2.0"
] | null | null | null | SgtCore/YamlSupport.cc | dexterurbane/SmartGridToolbox | ff2eb98e28b0c0ea9690ec6f522ccf1c306f79b7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015 National ICT Australia Limited (NICTA)
//
// 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 appl... | 28.288136 | 82 | 0.529359 | dexterurbane |
3df7f6d89615362870ec054b8e351555f944c33a | 8,488 | cc | C++ | DPGAnalysis/SiStripTools/plugins/APVCyclePhaseDebuggerFromL1TS.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DPGAnalysis/SiStripTools/plugins/APVCyclePhaseDebuggerFromL1TS.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | DPGAnalysis/SiStripTools/plugins/APVCyclePhaseDebuggerFromL1TS.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
//
// Package: SiStripTools
// Class: APVCyclePhaseDebuggerFromL1TS
//
/**\class APVCyclePhaseDebuggerFromL1TS APVCyclePhaseDebuggerFromL1TS.cc DPGAnalysis/SiStripTools/plugins/APVCyclePhaseDebuggerFromL1TS.cc
Description: EDproducer for APVCyclePhaseCollection which uses the configuration file... | 31.909774 | 164 | 0.701225 | nistefan |
3dfa677e09fb7c346df47ca3ec87038ad93c7094 | 446 | cpp | C++ | data_structures/Range_query_cpp/C++/Update_array.cpp | CarbonDDR/al-go-rithms | 8e65affbe812931b7dde0e2933eb06c0f44b4130 | [
"CC0-1.0"
] | 1,253 | 2017-06-06T07:19:25.000Z | 2022-03-30T17:07:58.000Z | data_structures/Range_query_cpp/C++/Update_array.cpp | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 554 | 2017-09-29T18:56:01.000Z | 2022-02-21T15:48:13.000Z | data_structures/Range_query_cpp/C++/Update_array.cpp | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 2,226 | 2017-09-29T19:59:59.000Z | 2022-03-25T08:59:55.000Z | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,q;
long long int arr[n],upd[n+1];
cin>>n>>q;
for(int i=0;i<n;i++){
cin>>arr[i];
upd[i]=0;
}
upd[n]=0;
long long int start,end,val;
for(int i=0;i<q;i++){
cin>>start>>end>>val;
upd[start]+=val;
upd[end+1]-=val;
}
long long int kk=0;
cout... | 15.37931 | 31 | 0.547085 | CarbonDDR |
ad00e2cc97e83b0ef6f2e972fd07520e98889fdc | 7,398 | cc | C++ | mysql-dst/mysql-cluster/ndb/memcache/src/ndb_configuration.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | mysql-dst/mysql-cluster/ndb/memcache/src/ndb_configuration.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | mysql-dst/mysql-cluster/storage/ndb/memcache/src/ndb_configuration.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | /*
Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the ... | 29.710843 | 81 | 0.659232 | SJTU-IPADS |
ad0573882fe9cb2c61661fd4dfc0449f6af0996c | 1,486 | cpp | C++ | src/dll/Handler.cpp | Mathieu-Lala/unamed00 | e9a7bc3f2c0c791d719c1f3f68f23c2734f70f10 | [
"MIT"
] | 5 | 2020-02-23T13:48:42.000Z | 2020-04-12T17:43:12.000Z | src/dll/Handler.cpp | Mathieu-Lala/unamed00 | e9a7bc3f2c0c791d719c1f3f68f23c2734f70f10 | [
"MIT"
] | null | null | null | src/dll/Handler.cpp | Mathieu-Lala/unamed00 | e9a7bc3f2c0c791d719c1f3f68f23c2734f70f10 | [
"MIT"
] | null | null | null | /**
* @file src/dll/Handler.cpp
*
*/
#include <utility>
#include "dll/Handler.hpp"
dll::Handler::Handler() noexcept :
m_handler (EMPTY)
{ }
dll::Handler::Handler(Handler &&o) noexcept :
m_handler (std::exchange(o.m_handler, EMPTY)),
m_libpath (std::move(o.m_libpath))
{ }
dll::Handler &dll::Hand... | 19.051282 | 67 | 0.62786 | Mathieu-Lala |
ad0b8fdc4c44bab64898742b0fceedd610732829 | 1,549 | hpp | C++ | include/SSVUtils/Range/Internal/Base/Range.hpp | SuperV1234/SSVUtils | a0e801b180bf65d7b3be4ea1e15b840c52e92efc | [
"AFL-3.0"
] | 55 | 2015-01-27T09:45:01.000Z | 2020-05-18T18:26:44.000Z | include/SSVUtils/Range/Internal/Base/Range.hpp | vittorioromeo/SSVUtils | dafa2499bcd350c3bfdbfb84d522e022c3513a93 | [
"AFL-3.0"
] | 10 | 2015-01-12T20:08:59.000Z | 2020-08-29T23:40:59.000Z | include/SSVUtils/Range/Internal/Base/Range.hpp | vittorioromeo/SSVUtils | dafa2499bcd350c3bfdbfb84d522e022c3513a93 | [
"AFL-3.0"
] | 8 | 2015-02-24T04:30:50.000Z | 2021-02-04T04:37:58.000Z | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#ifndef SSVU_RANGE_INTERNAL_BASE_RANGE
#define SSVU_RANGE_INTERNAL_BASE_RANGE
#include "SSVUtils/Range/Internal/Base/Adaptor.hpp"
namespace ssvu
{
/// @brief Simple r... | 25.393443 | 79 | 0.711427 | SuperV1234 |
ad105cce07ac486786a156bf00bdcebbe804aa66 | 1,610 | cpp | C++ | LeetCode/ThousandOne/0394-decode_string.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0394-decode_string.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0394-decode_string.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 394. 字符串解码
给定一个经过编码的字符串,返回它解码后的字符串。
编码规则为: k[encoded_string],表示其中方括号内部的 encoded_string 正好重复 k 次。
注意 k 保证为正整数。
你可以认为输入字符串总是有效的;
输入字符串中没有额外的空格,且输入的方括号总是符合格式要求的。
此外,你可以认为原始数据不包含数字,所有的数字只表示重复的次数 k。
例如不会出现像 3a 或 2[4] 的输入。
示例:
s = "3[a]2[bc]", 返回 "aaabcbc".
s = "3[a2[c]]", 返回 "accaccacc".
s =... | 18.089888 | 60 | 0.526087 | Ginkgo-Biloba |
ad10652207b6a8e6dbe40723e9792d48315ad841 | 5,141 | hpp | C++ | mcdc/Include/parser.hpp | yadaniel/MCDC | 6ca4475d813ddd19741f38f8f91c9dd477ebe4dd | [
"BSD-3-Clause"
] | 16 | 2020-04-23T09:18:07.000Z | 2022-02-06T11:14:22.000Z | mcdc/Include/parser.hpp | yadaniel/MCDC | 6ca4475d813ddd19741f38f8f91c9dd477ebe4dd | [
"BSD-3-Clause"
] | 1 | 2021-12-01T15:42:30.000Z | 2021-12-01T15:42:30.000Z | mcdc/Include/parser.hpp | yadaniel/MCDC | 6ca4475d813ddd19741f38f8f91c9dd477ebe4dd | [
"BSD-3-Clause"
] | 10 | 2019-11-15T22:14:05.000Z | 2021-08-02T09:04:28.000Z | // --------------------------------------------------------------------------------------------------------------------------------
// License: BSD-3-Clause
// --------------------------------------------------------------------------------------------------------------------------------
//
// Copyright 2019 Armin... | 43.940171 | 223 | 0.682163 | yadaniel |
ad119d5094d271a992db1bcfec3d54870b927abb | 32,968 | cpp | C++ | serializer/tengine/v2/tm2_op_load.cpp | ArmstrongYang/Tengine | 69c610b7a38e3022e69ccaf9119901f3402af567 | [
"Apache-2.0"
] | 1 | 2019-06-20T04:35:17.000Z | 2019-06-20T04:35:17.000Z | serializer/tengine/v2/tm2_op_load.cpp | ArmstrongYang/Tengine | 69c610b7a38e3022e69ccaf9119901f3402af567 | [
"Apache-2.0"
] | null | null | null | serializer/tengine/v2/tm2_op_load.cpp | ArmstrongYang/Tengine | 69c610b7a38e3022e69ccaf9119901f3402af567 | [
"Apache-2.0"
] | null | null | null | /*
* 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 ma... | 36.794643 | 126 | 0.712388 | ArmstrongYang |
ad11dd5be153140c3c4eaa023dc8c6a12e2bd6e7 | 3,367 | cpp | C++ | Engine/src/shader.cpp | scilus/dmri-explorer | f23a9bf1af0ec41ef1f7b126bec237b6add542fb | [
"MIT"
] | 1 | 2021-10-01T16:28:38.000Z | 2021-10-01T16:28:38.000Z | Engine/src/shader.cpp | scilus/dmri-explorer | f23a9bf1af0ec41ef1f7b126bec237b6add542fb | [
"MIT"
] | 12 | 2021-09-16T20:01:24.000Z | 2022-03-24T00:24:17.000Z | Engine/src/shader.cpp | scilus/dmri-explorer | f23a9bf1af0ec41ef1f7b126bec237b6add542fb | [
"MIT"
] | 3 | 2021-09-16T19:06:18.000Z | 2022-02-17T19:49:05.000Z | #include "shader.h"
#include "utils.hpp"
#include <algorithm>
#include <cstring>
namespace
{
const int NUM_SHADER_INCLUDES = 3;
const char* SHADER_INCLUDE_PATHS[NUM_SHADER_INCLUDES] = {
"/include/camera_util.glsl",
"/include/orthogrid_util.glsl",
"/include/shfield_util.glsl"
};
}
namespace Slicer
{
names... | 31.46729 | 99 | 0.702703 | scilus |
ad12b5d0153251ff19e9a2d64e2af07605ceb6be | 1,408 | hpp | C++ | icarus/tcpserver.hpp | Jusot/icarus | 1b908b0d7ff03d6ee088c94730acfef36101ef32 | [
"MIT"
] | 4 | 2019-04-01T10:49:54.000Z | 2020-12-24T11:46:45.000Z | icarus/tcpserver.hpp | Jusot/Icarus | 1b908b0d7ff03d6ee088c94730acfef36101ef32 | [
"MIT"
] | null | null | null | icarus/tcpserver.hpp | Jusot/Icarus | 1b908b0d7ff03d6ee088c94730acfef36101ef32 | [
"MIT"
] | 1 | 2019-04-04T02:36:29.000Z | 2019-04-04T02:36:29.000Z | #ifndef ICARUS_TCPSERVER_HPP
#define ICARUS_TCPSERVER_HPP
#include <unordered_map>
#include <string>
#include <memory>
#include "noncopyable.hpp"
#include "inetaddress.hpp"
#include "callbacks.hpp"
namespace icarus
{
class InetAddress;
class EventLoop;
class Acceptor;
class EventLoopThreadPool;
class TcpServer : n... | 25.142857 | 81 | 0.769176 | Jusot |
ad15ead714a8b3aa17abbd0a86b611b5e9148c17 | 743 | cpp | C++ | Recursive Algorithms/josephus.cpp | iabhimanyu/Algorithms | adefcd165e591d2338be8fc8a62629ff072620dd | [
"MIT"
] | 715 | 2018-10-01T21:30:10.000Z | 2022-03-23T09:14:10.000Z | Recursive Algorithms/josephus.cpp | iabhimanyu/Algorithms | adefcd165e591d2338be8fc8a62629ff072620dd | [
"MIT"
] | 157 | 2018-10-01T20:53:11.000Z | 2021-08-03T07:00:58.000Z | Recursive Algorithms/josephus.cpp | iabhimanyu/Algorithms | adefcd165e591d2338be8fc8a62629ff072620dd | [
"MIT"
] | 1,225 | 2018-10-01T20:56:22.000Z | 2022-02-22T04:00:27.000Z | #include <stdio.h>
#include <iostream>
using namespace std;
/**
* Algoritmo recursivo de Flavious Josephus
* @author: Mateus Tranquilino
* */
/**
* Calcula o sobrevivente no problema de Flavious Josephus
* em um circulo de N pessoas e de salto K.
* */
int josephus(int n, int k){
if(n==1) return 1;
r... | 21.228571 | 83 | 0.577389 | iabhimanyu |
ad1b2e863fddd09f85e37a396ef59dc41467dbf0 | 957 | cpp | C++ | runnable/getaudioinforunnable.cpp | ilaotan/xmly-downloader-qt5 | c263f0688f46d282f095ece6772f5e17d7d20478 | [
"MIT"
] | null | null | null | runnable/getaudioinforunnable.cpp | ilaotan/xmly-downloader-qt5 | c263f0688f46d282f095ece6772f5e17d7d20478 | [
"MIT"
] | null | null | null | runnable/getaudioinforunnable.cpp | ilaotan/xmly-downloader-qt5 | c263f0688f46d282f095ece6772f5e17d7d20478 | [
"MIT"
] | null | null | null | #include "getaudioinforunnable.h"
#include <QDebug>
GetAudioInfoRunnable::GetAudioInfoRunnable(int trackID, int page, int pageSize)
: audioId_(trackID), page_(page), pageSize_(pageSize) {}
void GetAudioInfoRunnable::run() {
auto dataError = CgoGetAudioInfo(audioId_, page_, pageSize_);
if (dataError->error) {... | 29.90625 | 79 | 0.639498 | ilaotan |
ad1baaeb48291a3c19560b3429294248ab62682a | 2,737 | cpp | C++ | dialog_search.cpp | farkoo/Real-Estate-Agency | 9a30ea6bcaae836a6ec2ae09960e57636d8787fe | [
"MIT"
] | null | null | null | dialog_search.cpp | farkoo/Real-Estate-Agency | 9a30ea6bcaae836a6ec2ae09960e57636d8787fe | [
"MIT"
] | null | null | null | dialog_search.cpp | farkoo/Real-Estate-Agency | 9a30ea6bcaae836a6ec2ae09960e57636d8787fe | [
"MIT"
] | 1 | 2021-02-20T15:55:26.000Z | 2021-02-20T15:55:26.000Z | #include "dialog_search.h"
#include<QDesktopWidget>
Dialog_search::Dialog_search(QWidget *parent,int x) :
QDialog(parent)
{
QDesktopWidget dw;
int xx=dw.width()*0.2;
int y=dw.height()*0.2;
setFixedSize(xx,y);
s=x;
hint=new QLabel;
label1=new QLabel;
label2=new QLabel;... | 27.09901 | 120 | 0.575082 | farkoo |
ad1c520897b33c1ff46e05cfb8905dd4051d53ba | 361 | hpp | C++ | Helios/src/Input.hpp | rgracari/helio_test | 2d516d16da4252c8f92f5c265b6151c6e87bc907 | [
"Apache-2.0"
] | null | null | null | Helios/src/Input.hpp | rgracari/helio_test | 2d516d16da4252c8f92f5c265b6151c6e87bc907 | [
"Apache-2.0"
] | null | null | null | Helios/src/Input.hpp | rgracari/helio_test | 2d516d16da4252c8f92f5c265b6151c6e87bc907 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Bitmask.hpp"
namespace Helio
{
class Input
{
private:
Bitmask thisFrameKeys;
Bitmask lastFrameKeys;
public:
enum class Key
{
None = 0,
ArrowLeft,
ArrowRight,
ArrowUp,
ArrowDown,
Esc
};
void Update();
bool IsKeyPressed(Key keycode);
bool IsKeyDown(Key key... | 12.033333 | 33 | 0.66205 | rgracari |
ad1d0040093879727d9f4956bb9fa75b2636b318 | 6,640 | cpp | C++ | quadrotor_motion_with_pid_control/subpackages/thrust_controller/src/source/thrust_controller.cpp | lesmesrafa/Multi-drone-behaviors | 1d35e4f1df6d9dd8e158b01ec7577aa21ce0b9a3 | [
"CC0-1.0"
] | null | null | null | quadrotor_motion_with_pid_control/subpackages/thrust_controller/src/source/thrust_controller.cpp | lesmesrafa/Multi-drone-behaviors | 1d35e4f1df6d9dd8e158b01ec7577aa21ce0b9a3 | [
"CC0-1.0"
] | null | null | null | quadrotor_motion_with_pid_control/subpackages/thrust_controller/src/source/thrust_controller.cpp | lesmesrafa/Multi-drone-behaviors | 1d35e4f1df6d9dd8e158b01ec7577aa21ce0b9a3 | [
"CC0-1.0"
] | null | null | null | #include "thrust_controller.hpp"
void ThrustController::ownSetUp()
{
static ros::NodeHandle nh;
std::string n_space ;
std::string estimated_speed_topic;
std::string estimated_pose_topic;
std::string altitude_rate_yaw_rate_topic;
std::string thrust_topic;
std::string flight_action_topic;
std::string robot_co... | 40.487805 | 152 | 0.72997 | lesmesrafa |
ad1d17efdba15af877522e3cd424bd40c8b47693 | 22,069 | cpp | C++ | modules/tracktion_engine/plugins/ARA/tracktion_MelodyneFileReader.cpp | adamnemecek/tracktion_engine | 6770c21dd44b78dae4ae5da823a8e5094660c1de | [
"MIT",
"Unlicense"
] | 734 | 2018-11-16T09:39:40.000Z | 2022-03-30T16:56:14.000Z | modules/tracktion_engine/plugins/ARA/tracktion_MelodyneFileReader.cpp | adamnemecek/tracktion_engine | 6770c21dd44b78dae4ae5da823a8e5094660c1de | [
"MIT",
"Unlicense"
] | 100 | 2018-11-16T18:04:08.000Z | 2022-03-31T17:47:53.000Z | modules/tracktion_engine/plugins/ARA/tracktion_MelodyneFileReader.cpp | adamnemecek/tracktion_engine | 6770c21dd44b78dae4ae5da823a8e5094660c1de | [
"MIT",
"Unlicense"
] | 123 | 2018-11-16T15:51:50.000Z | 2022-03-29T12:21:27.000Z | /*
,--. ,--. ,--. ,--.
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
| | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
`---' `--' `... | 31.662841 | 156 | 0.544338 | adamnemecek |
ad1da01581127b3687354f7b2d6dc194de671b41 | 696 | cpp | C++ | test_gendata.cpp | campfireai/lavastone | 5c15a922172c1aa567a582ae6625d150b7a154ab | [
"Unlicense"
] | 9 | 2021-09-14T23:10:26.000Z | 2021-11-28T12:02:02.000Z | test_gendata.cpp | campfireai/lavastone | 5c15a922172c1aa567a582ae6625d150b7a154ab | [
"Unlicense"
] | null | null | null | test_gendata.cpp | campfireai/lavastone | 5c15a922172c1aa567a582ae6625d150b7a154ab | [
"Unlicense"
] | 1 | 2021-09-16T04:54:31.000Z | 2021-09-16T04:54:31.000Z | #include "gendata.hpp"
#include <fstream>
#include <iostream>
int main(int argc, char *argv[]) {
if (argc != 2) {
std::cerr << "usage:\n"
<< "./test_gendata NUM_RECORDS\n";
exit(1);
}
size_t num_records = std::stoi(argv[1]);
std::string fname = "data.csv";
std::cout << "writing " << n... | 25.777778 | 76 | 0.54023 | campfireai |
ad1ddad5142a021dc6e1cc083c4914ea6cea0fce | 494 | cpp | C++ | src/render/idle_recognizer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 3 | 2015-02-22T20:34:28.000Z | 2020-03-04T08:55:25.000Z | src/render/idle_recognizer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 22 | 2015-12-13T16:29:40.000Z | 2017-03-04T15:45:44.000Z | src/render/idle_recognizer.cpp | Reaping2/Reaping2 | 0d4c988c99413e50cc474f6206cf64176eeec95d | [
"MIT"
] | 14 | 2015-11-23T21:25:09.000Z | 2020-07-17T17:03:23.000Z | #include "render/idle_recognizer.h"
#include "core/i_move_component.h"
namespace render {
IdleRecognizer::IdleRecognizer( int32_t Id )
: Recognizer( Id )
{
}
bool IdleRecognizer::Recognize( Actor const& actor ) const
{
Opt<IMoveComponent> moveC = actor.Get<IMoveComponent>();
if ( !moveC.IsValid() )
{... | 18.296296 | 60 | 0.615385 | MrPepperoni |
ad1e47e3e76af6fb97e3579a685fa52edbe3ea85 | 368 | cpp | C++ | bucket_6C/gnucash/ctemplate-patches/patch-libgnucash_engine_qofevent.cpp | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 17 | 2017-04-22T21:53:52.000Z | 2021-01-21T16:57:55.000Z | bucket_6C/gnucash/ctemplate-patches/patch-libgnucash_engine_qofevent.cpp | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 186 | 2017-09-12T20:46:52.000Z | 2021-11-27T18:15:14.000Z | bucket_6C/gnucash/ctemplate-patches/patch-libgnucash_engine_qofevent.cpp | jrmarino/ravensource | 91d599fd1f2af55270258d15e72c62774f36033e | [
"FTL"
] | 74 | 2017-09-06T14:48:01.000Z | 2021-08-28T02:48:27.000Z | --- libgnucash/engine/qofevent.cpp.orig 2020-06-07 16:56:25 UTC
+++ libgnucash/engine/qofevent.cpp
@@ -22,12 +22,8 @@
* *
********************************************************************/
-extern "C"
-{
#include <config.h>
#include <glib.h>
-}... | 23 | 71 | 0.388587 | jrmarino |
ad20873ab7d37247c6e6e99af3c83c82b6db1521 | 409 | cpp | C++ | cmake/test/main.cpp | blagodarin/seir | fec45228d161dabb8bb4aaa23c64ea218b84e8fd | [
"Apache-2.0"
] | null | null | null | cmake/test/main.cpp | blagodarin/seir | fec45228d161dabb8bb4aaa23c64ea218b84e8fd | [
"Apache-2.0"
] | null | null | null | cmake/test/main.cpp | blagodarin/seir | fec45228d161dabb8bb4aaa23c64ea218b84e8fd | [
"Apache-2.0"
] | null | null | null | // This file is part of Seir.
// Copyright (C) Sergei Blagodarin.
// SPDX-License-Identifier: Apache-2.0
#include <seir_base/string_utils.hpp>
#include <seir_u8main/u8main.hpp>
#include <iostream>
#include <plf_colony.h>
int u8main(int, char**)
{
std::string helloWorld = "Hello world!";
seir::normalizeWhitespace(... | 21.526316 | 68 | 0.713936 | blagodarin |
ad22235ea03fb2f5c75be30d908be9762dad4ebe | 745 | cpp | C++ | countFrequency.cpp | harshallgarg/CPP | 4d15c5e5d426bb00d192368d21924ec9f017445f | [
"MIT"
] | 2 | 2020-08-09T02:09:50.000Z | 2020-08-09T07:07:47.000Z | countFrequency.cpp | harshallgarg/CPP | 4d15c5e5d426bb00d192368d21924ec9f017445f | [
"MIT"
] | null | null | null | countFrequency.cpp | harshallgarg/CPP | 4d15c5e5d426bb00d192368d21924ec9f017445f | [
"MIT"
] | 4 | 2020-05-25T10:24:14.000Z | 2021-05-03T07:52:35.000Z | //
// CountFrequency.cpp
// AnishC++
//
// Created by Anish Mookherjee on 20/10/19.
// Copyright © 2019 Anish Mookherjee. All rights reserved.
//
#include <iostream>
using namespace std;
int main()
{
int i,n;
cout<<"Enter no. of elements you want to enter."<<endl;
cin>>n;
int a[n];
int b[9];
... | 17.325581 | 59 | 0.42953 | harshallgarg |
ad235f037bda26e9d8c38565b992726f81e290b0 | 2,078 | cpp | C++ | src/corners_cpp/main.cpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | null | null | null | src/corners_cpp/main.cpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | null | null | null | src/corners_cpp/main.cpp | satvik007/Scanner_OP | c146f67e3851cd537d62989842abfee7d34de2c0 | [
"MIT"
] | 1 | 2021-05-10T10:14:27.000Z | 2021-05-10T10:14:27.000Z | /**
* g++ main.cpp corners.cpp -o main.o `pkg-config --cflags --libs opencv4` -DDEBUG && ./main.o ../../data/img_23.jpg
*
* This document is part of the project ScanIN. See License for more details.
* This is alternative implementation of corner detection algorithm.
* Author : Satvik Choudhary
* Created on :... | 29.267606 | 116 | 0.550529 | satvik007 |
ad266f076a48f37607ab583853ff65d659e79f8a | 5,190 | hh | C++ | src/transport/CMR.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 4 | 2015-03-07T16:20:23.000Z | 2020-02-10T13:40:16.000Z | src/transport/CMR.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 3 | 2018-02-27T21:24:22.000Z | 2020-12-16T00:56:44.000Z | src/transport/CMR.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 9 | 2015-03-07T16:20:26.000Z | 2022-01-29T00:14:23.000Z | /*
* CMR.hh
*
* Created on: May 17, 2012
* Author: robertsj
*/
#ifndef CMR_HH_
#define CMR_HH_
// Detran
#include "WithinGroupAcceleration.hh"
// System
namespace detran
{
/*!
* \class CMR
* \brief Coarse Mesh Rebalance
*
* Consider the one group problem
* \f[
* \Big ( \mu \frac{\parti... | 27.172775 | 75 | 0.584971 | RLReed |
ad270fc135aa168a8214ef24fd5419b8cad51509 | 11,906 | cpp | C++ | src/CoreGenPortal/PortalCore/CoreRegInfoWin.cpp | opensocsysarch/CoreGenPortal | b6c8c9ca13fa8add969511f153331cad83953799 | [
"Apache-2.0"
] | 1 | 2019-06-25T13:06:14.000Z | 2019-06-25T13:06:14.000Z | src/CoreGenPortal/PortalCore/CoreRegInfoWin.cpp | opensocsysarch/CoreGenPortal | b6c8c9ca13fa8add969511f153331cad83953799 | [
"Apache-2.0"
] | 128 | 2018-10-23T12:45:15.000Z | 2021-12-28T13:09:39.000Z | src/CoreGenPortal/PortalCore/CoreRegInfoWin.cpp | opensocsysarch/CoreGenPortal | b6c8c9ca13fa8add969511f153331cad83953799 | [
"Apache-2.0"
] | 1 | 2021-01-20T23:17:34.000Z | 2021-01-20T23:17:34.000Z | //
// _COREREGINFOWIN_CPP_
//
// Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC
// All Rights Reserved
// contact@tactcomplabs.com
//
// See LICENSE in the top level directory for licensing details
//
#include "CoreGenPortal/PortalCore/CoreRegInfoWin.h"
// Event Table
wxBEGIN_EVENT_TABLE(CoreRegInfoWin,... | 34.914956 | 83 | 0.484378 | opensocsysarch |
ad275d65ce1a69ad14aa13f5123e9981e71c79e0 | 3,886 | cc | C++ | FWCore/Utilities/src/EDMException.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | FWCore/Utilities/src/EDMException.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | null | null | null | FWCore/Utilities/src/EDMException.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 1 | 2019-04-03T19:23:27.000Z | 2019-04-03T19:23:27.000Z |
#include "FWCore/Utilities/interface/EDMException.h"
#define FILLENTRY( name ) {name, #name }
namespace edm {
namespace errors {
static const std::map<ErrorCodes, std::string> codeMap =
{
FILLENTRY(CommandLineProcessing),
FILLENTRY(ConfigFileNotFound),
FILLENTRY(ConfigFileReadError),
... | 29.664122 | 112 | 0.673958 | bisnupriyasahu |
ad2c6f33cff15e436e69dd2540314cc2cc8144ad | 4,895 | cpp | C++ | src/XliPlatform/sdl2/SDL2GLContext.cpp | mortend/uno-base | 53bf65ca269f89e3b6ac01845a1de498963c5cca | [
"MIT"
] | 4 | 2018-05-14T07:49:34.000Z | 2018-05-21T06:40:17.000Z | src/XliPlatform/sdl2/SDL2GLContext.cpp | mortend/uno-base | 53bf65ca269f89e3b6ac01845a1de498963c5cca | [
"MIT"
] | 2 | 2018-10-21T12:40:49.000Z | 2020-04-16T17:55:55.000Z | src/XliPlatform/sdl2/SDL2GLContext.cpp | mortend/uno-base | 53bf65ca269f89e3b6ac01845a1de498963c5cca | [
"MIT"
] | 4 | 2018-05-14T17:03:51.000Z | 2018-12-01T08:05:02.000Z | #include <XliPlatform/GLContext.h>
#include <XliPlatform/GL.h>
#include <XliPlatform/PlatformSpecific/SDL2.h>
#include <uBase/Memory.h>
namespace Xli
{
namespace PlatformSpecific
{
class SDL2GLContext: public GLContext
{
SDL_Window* window;
SDL_GLContext context;
... | 36.804511 | 92 | 0.595914 | mortend |
ad2fca2be272ebdf99a91378118a5b9f0eb02e6a | 1,263 | cc | C++ | PhysicsTools/JetCharge/plugins/JetChargeProducer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | PhysicsTools/JetCharge/plugins/JetChargeProducer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | PhysicsTools/JetCharge/plugins/JetChargeProducer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "PhysicsTools/JetCharge/plugins/JetChargeProducer.h"
JetChargeProducer::JetChargeProducer(const edm::ParameterSet &cfg) :
srcToken_(consumes<reco::JetTracksAssociationCollection>(cfg.getParameter<edm::InputTag>("src"))),
algo_(cfg) {
produces<JetChargeCollection>();
}
void JetChargeProducer::prod... | 42.1 | 106 | 0.675376 | nistefan |
ad31f62e3f5313fa323f59cdd539a1bc6d62e9d6 | 14,715 | cpp | C++ | patch/game/clawmute.cpp | Tonyx97/TombMP | 7eb2d265df2fe7312b7ed07dd5943736340b921c | [
"MIT"
] | 3 | 2021-10-10T11:12:03.000Z | 2021-11-04T16:46:57.000Z | patch/game/clawmute.cpp | Tonyx97/TombMP | 7eb2d265df2fe7312b7ed07dd5943736340b921c | [
"MIT"
] | null | null | null | patch/game/clawmute.cpp | Tonyx97/TombMP | 7eb2d265df2fe7312b7ed07dd5943736340b921c | [
"MIT"
] | null | null | null | #include "objects.h"
#include "lara.h"
#include "control.h"
#include "effect2.h"
#include "sphere.h"
#include "people.h"
#include "traps.h"
#include <specific/standard.h>
#include <specific/fn_stubs.h>
#define CLAW_PLASMA_DAMAGE 200
#define CLAW_BITE_DAMAGE 100
#define CLAW_TOUCH (0x90)
#define CLAW_DIE_ANIM 20
#defi... | 26.705989 | 167 | 0.648726 | Tonyx97 |
ad32728610e0ead04a587989b860f9c32b6e0ab6 | 3,308 | hpp | C++ | OpenSimRoot/src/export/ExportBaseClass.hpp | nb-e/OpenRootSim | aaa1cd18e94ebf613c28737842401daba3b8d5ef | [
"BSD-3-Clause"
] | 1 | 2021-08-03T00:52:58.000Z | 2021-08-03T00:52:58.000Z | OpenSimRoot/src/export/ExportBaseClass.hpp | nb-e/OpenRootSim | aaa1cd18e94ebf613c28737842401daba3b8d5ef | [
"BSD-3-Clause"
] | null | null | null | OpenSimRoot/src/export/ExportBaseClass.hpp | nb-e/OpenRootSim | aaa1cd18e94ebf613c28737842401daba3b8d5ef | [
"BSD-3-Clause"
] | 1 | 2021-08-03T00:52:59.000Z | 2021-08-03T00:52:59.000Z | /*
Copyright © 2016, The Pennsylvania State University
All rights reserved.
Copyright © 2016 Forschungszentrum Jülich GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi... | 49.373134 | 755 | 0.796856 | nb-e |
ad34ff41bef08907bfa1b5c76777f7f6632f4050 | 19,327 | cpp | C++ | Pesto/src/EditorLayer.cpp | Tamookk/Basil | bdcdf4e6e13e64a34416b4412d366594f9d46f56 | [
"Apache-2.0"
] | null | null | null | Pesto/src/EditorLayer.cpp | Tamookk/Basil | bdcdf4e6e13e64a34416b4412d366594f9d46f56 | [
"Apache-2.0"
] | null | null | null | Pesto/src/EditorLayer.cpp | Tamookk/Basil | bdcdf4e6e13e64a34416b4412d366594f9d46f56 | [
"Apache-2.0"
] | null | null | null | #include "EditorLayer.h"
#include "Core/Application.h"
#include "Math/Math.h"
#include "Scene/SceneSerializer.h"
#include "Utils/PlatfomUtils.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <imgui.h>
#include <ImGuizmo.h>
namespace Basil
{
extern const std::filesystem::path assetP... | 29.551988 | 149 | 0.699384 | Tamookk |
ad35292af1d0299a74c438036ecdb3f975a4beb3 | 3,712 | cpp | C++ | engine/screens/source/EquipmentScreen.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/screens/source/EquipmentScreen.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/screens/source/EquipmentScreen.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "Conversion.hpp"
#include "EquipmentScreen.hpp"
#include "EquipmentTextKeys.hpp"
#include "EquipmentTranslator.hpp"
#include "Game.hpp"
#include "OptionsComponent.hpp"
#include "PromptTextKeys.hpp"
#include "TextComponent.hpp"
#include "TextKeys.hpp"
using namespace std;
EquipmentScreen::EquipmentScreen(Disp... | 33.142857 | 110 | 0.739763 | prolog |
ad392c4204e6794d3d7960ac0f35c44a5daf9403 | 1,213 | cpp | C++ | Arc/src/Arc/Renderer/EditorCamera.cpp | MohitSethi99/AGE | 4291ebeaa4af5b60518bc55eae079fd2cfe55d8f | [
"Apache-2.0"
] | null | null | null | Arc/src/Arc/Renderer/EditorCamera.cpp | MohitSethi99/AGE | 4291ebeaa4af5b60518bc55eae079fd2cfe55d8f | [
"Apache-2.0"
] | null | null | null | Arc/src/Arc/Renderer/EditorCamera.cpp | MohitSethi99/AGE | 4291ebeaa4af5b60518bc55eae079fd2cfe55d8f | [
"Apache-2.0"
] | null | null | null | #include "arcpch.h"
#include "EditorCamera.h"
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/quaternion.hpp>
namespace ArcEngine
{
EditorCamera::EditorCamera(float fov, float aspectRatio, float nearClip, float farClip)
: m_Fov(fov), m_AspectRatio(aspectRatio), m_NearClip(nearClip), m_FarClip(farClip), Camera(gl... | 28.880952 | 161 | 0.727947 | MohitSethi99 |
ad3de03e4e9883f4a0183218a96a066647b2f42a | 415 | cpp | C++ | leetcode/268_missing_number_xor.cpp | haohaibo/learn | 7a30489e76abeda1465fe610b1c5cf4c4de7e3b6 | [
"MIT"
] | 1 | 2021-02-20T00:14:35.000Z | 2021-02-20T00:14:35.000Z | leetcode/268_missing_number_xor.cpp | haohaibo/learn | 7a30489e76abeda1465fe610b1c5cf4c4de7e3b6 | [
"MIT"
] | null | null | null | leetcode/268_missing_number_xor.cpp | haohaibo/learn | 7a30489e76abeda1465fe610b1c5cf4c4de7e3b6 | [
"MIT"
] | null | null | null | /*
*
* Filename: 268_missing_number_xor.cpp
*
* Author: Haibo Hao
* Email : haohaibo@ncic.ac.cn
* Description: ---
* Create: 2017-10-28 22:49:10
* Last Modified: 2017-10-28 22:49:26
**/
class Solution {
public:
int missingNumber(vector<int>& nums) {
int res = 0;
for (int i... | 19.761905 | 44 | 0.53012 | haohaibo |
ad3ec48083799e0c7cc8f15845653aae4698aa4c | 6,512 | cc | C++ | components/viz/common/gl_nv12_converter_pixeltest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/viz/common/gl_nv12_converter_pixeltest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/viz/common/gl_nv12_converter_pixeltest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "components/viz/common/gl_nv12_converter.h"
#include <GLES2/gl2ext.h>
#include "cc/test/pixel_test.h"
#include "cc/test/pixel_test_utils.h"
#in... | 42.012903 | 80 | 0.697942 | zealoussnow |
ad40256c053577a8bbb2d49273a2a3265ecf901c | 655 | cpp | C++ | application/robotcontrol.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | application/robotcontrol.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | application/robotcontrol.cpp | hcmarchezi/manipulator-robot-api | 6ec50278496b10d3b31557f92f62d1521edefa2a | [
"MIT"
] | null | null | null | #include "robotcontrol.h"
#include <QLabel>
#include <QMessageBox>
#include <iostream>
namespace HIC
{
RobotControl::RobotControl(QWidget *parent) : QWidget(parent), _glWidget(NULL)
{
this->setLayout(new QVBoxLayout(this));
}
void RobotControl::setGLWidget(HIC::ApplicationGLWidget* glWidget)
{
_glWidget = ... | 20.46875 | 87 | 0.674809 | hcmarchezi |
ad423dd0a3c0fb482672ce144132846e1a433c65 | 640 | cpp | C++ | Group4StudentApp/Group4StudentApp/Semester.cpp | Skinny229/CMPSCGroup4 | 078d84266633a2c5730d758d62c631c5c0c05712 | [
"MIT"
] | null | null | null | Group4StudentApp/Group4StudentApp/Semester.cpp | Skinny229/CMPSCGroup4 | 078d84266633a2c5730d758d62c631c5c0c05712 | [
"MIT"
] | null | null | null | Group4StudentApp/Group4StudentApp/Semester.cpp | Skinny229/CMPSCGroup4 | 078d84266633a2c5730d758d62c631c5c0c05712 | [
"MIT"
] | null | null | null | #include<iostream>
#include <cstdlib>
#include "Semester.h"
#include <string>
using namespace std;
namespace SpaghettiLizards
{
Semester::Semester(string year1,string springOrFall1)
{
year = year1;
springOrFall = springOrFall1;
}
void Semester::setSemester(string springOrFall1, string year1)
{
springOrFall... | 17.297297 | 63 | 0.726563 | Skinny229 |
ad42adce43dc6195ea01496eb87eca5dde246f17 | 4,403 | cpp | C++ | globe/globe_overlay.cpp | MarkY-LunarG/LunarGlobe | d32a6145eebc68ad4d7e28bdd4fab88cbdd33545 | [
"Apache-2.0"
] | 2 | 2018-06-20T15:19:38.000Z | 2018-07-13T15:13:30.000Z | globe/globe_overlay.cpp | MarkY-LunarG/LunarGlobe | d32a6145eebc68ad4d7e28bdd4fab88cbdd33545 | [
"Apache-2.0"
] | 25 | 2018-07-27T23:02:01.000Z | 2019-03-15T17:00:05.000Z | globe/globe_overlay.cpp | MarkY-LunarG/LunarGravity | d32a6145eebc68ad4d7e28bdd4fab88cbdd33545 | [
"Apache-2.0"
] | null | null | null | //
// Project: LunarGlobe
// SPDX-License-Identifier: Apache-2.0
//
// File: globe/globe_overlay.hpp
// Copyright(C): 2019; LunarG, Inc.
// Author(s): Mark Young <marky@lunarg.com>
//
#include "globe_resource_manager.hpp"
#include "globe_submit_manager.hpp"
#... | 40.394495 | 117 | 0.642062 | MarkY-LunarG |
ad445921ebab16d57cc5dc642653ff473b7d0f9e | 3,596 | cpp | C++ | compiler/ProcessGroup.cpp | astronalta/gamepython | 3927dfbb0ae9706cd99d4f15ea792b30512dd4c1 | [
"MIT"
] | null | null | null | compiler/ProcessGroup.cpp | astronalta/gamepython | 3927dfbb0ae9706cd99d4f15ea792b30512dd4c1 | [
"MIT"
] | null | null | null | compiler/ProcessGroup.cpp | astronalta/gamepython | 3927dfbb0ae9706cd99d4f15ea792b30512dd4c1 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2010 Matt Fichman
*
* 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, publis... | 30.218487 | 88 | 0.587041 | astronalta |
ad45686ea7db59413c54e15914aaabc500880acf | 6,211 | cpp | C++ | v1/z80gpu/gpu_protocol.cpp | amirgeva/z80pc | 2daaa319ad7b313abdf0c73fc3faee8d6c36ed3e | [
"BSD-2-Clause"
] | null | null | null | v1/z80gpu/gpu_protocol.cpp | amirgeva/z80pc | 2daaa319ad7b313abdf0c73fc3faee8d6c36ed3e | [
"BSD-2-Clause"
] | null | null | null | v1/z80gpu/gpu_protocol.cpp | amirgeva/z80pc | 2daaa319ad7b313abdf0c73fc3faee8d6c36ed3e | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <chrono>
#include "gpu_protocol.h"
namespace gpu {
Protocol prot;
bool flip_screen = false;
unsigned long millis()
{
static auto start = std::chrono::system_clock::now();
auto cur = std::chrono::system_clock::now();
return uint32_t(std::chrono::duration_cast<std::chro... | 27.361233 | 122 | 0.610047 | amirgeva |
ad48b051ae477621bc78908566c8ef6c1b8c7e37 | 6,093 | cpp | C++ | src/cws_in_ascii.cpp | kampersanda/consistent_weighted_sampling | 6fbcf372a23d778b4f346e1c181004d7a9e555c0 | [
"MIT"
] | 6 | 2019-07-22T08:53:14.000Z | 2021-12-21T22:03:37.000Z | src/cws_in_ascii.cpp | kampersanda/consistent_weighted_sampling | 6fbcf372a23d778b4f346e1c181004d7a9e555c0 | [
"MIT"
] | null | null | null | src/cws_in_ascii.cpp | kampersanda/consistent_weighted_sampling | 6fbcf372a23d778b4f346e1c181004d7a9e555c0 | [
"MIT"
] | 2 | 2021-02-17T17:09:58.000Z | 2021-03-01T11:09:33.000Z | #include <chrono>
#include <numeric>
#include "cmdline.h"
#include "misc.hpp"
#include "splitmix.hpp"
using namespace ascii_format;
constexpr size_t BUFFER_VECS = 100'000;
template <int Flags>
int run(const cmdline::parser& p) {
using data_loader_type = data_loader<Flags>;
using data_vec_type = vector<elem_... | 34.423729 | 113 | 0.561792 | kampersanda |
ad4be77542a61d5c46736bdd62c5d2aa2b560d07 | 22,634 | cpp | C++ | toonz/sources/toonzlib/sandor_fxs/blend.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonzlib/sandor_fxs/blend.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonzlib/sandor_fxs/blend.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T17:12:30.000Z | 2019-10-07T17:12:30.000Z |
#include "blend.h"
//TPoint structure
#include "tgeometry.h"
//Palette - pixel functions
#include "tpalette.h"
#include "tpixelutils.h"
#include <vector>
//=================================================================================
//===========================
// Blur pattern class
//------------------... | 31.133425 | 121 | 0.635769 | ss23 |
ad4c8405afdb704229054c88a16e06129c3a9ab6 | 1,945 | cpp | C++ | algorithm-contest-3/code/2.cpp | crupest/what-can-a-programmer-do | e704ef15dcb0663192a353760108ce7d52ab840b | [
"MIT"
] | 2 | 2021-11-28T06:38:13.000Z | 2021-12-18T12:55:37.000Z | algorithm-contest-3/code/2.cpp | crupest/what-can-a-programmer-do | e704ef15dcb0663192a353760108ce7d52ab840b | [
"MIT"
] | null | null | null | algorithm-contest-3/code/2.cpp | crupest/what-can-a-programmer-do | e704ef15dcb0663192a353760108ce7d52ab840b | [
"MIT"
] | 1 | 2021-12-18T14:03:19.000Z | 2021-12-18T14:03:19.000Z | #include <algorithm>
#include <cstdio>
#include <vector>
int ConvertYear(int x) {
if (x >= 60)
return 1900 + x;
return 2000 + x;
}
bool CheckMonth(int x) {
if (x <= 0 && x >= 13) {
return false;
}
return true;
}
bool IsLeapYear(int y) {
if (y == 2000)
return false;
if (y % 4)
return fa... | 18.17757 | 76 | 0.56401 | crupest |
ad4d51bdc877c068b8abe47c0a95ed2d7697aa3d | 401 | cpp | C++ | components/xtl/tests/xtl/utils/sprintf.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/xtl/utils/sprintf.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/xtl/utils/sprintf.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include <stdio.h>
#include <xtl/string.h>
using namespace xtl;
int main ()
{
printf ("Results of sprintf_test:\n");
char char_buffer [9];
char_buffer [8] = 'A';
printf ("result='%s', len=%d\n", char_buffer, xsnprintf (char_buffer, 8, "Hello %s","world"));
printf ("control: '%c'\n", char_buffer [8... | 19.095238 | 96 | 0.59601 | untgames |
ad4f06230200f81f285126c1848aa00b63ec353d | 1,124 | cpp | C++ | llarp/path/ihophandler.cpp | da4089/llarp | e223f5d023b1794638b9e9b47a86ed03c8c25306 | [
"Zlib"
] | 28 | 2018-01-25T17:39:25.000Z | 2022-03-26T15:23:12.000Z | llarp/path/ihophandler.cpp | da4089/llarp | e223f5d023b1794638b9e9b47a86ed03c8c25306 | [
"Zlib"
] | 1 | 2021-05-05T12:20:41.000Z | 2021-05-05T13:21:38.000Z | llarp/path/ihophandler.cpp | da4089/llarp | e223f5d023b1794638b9e9b47a86ed03c8c25306 | [
"Zlib"
] | 7 | 2018-05-21T12:34:50.000Z | 2021-05-05T11:57:50.000Z | #include <path/ihophandler.hpp>
namespace llarp
{
namespace path
{
// handle data in upstream direction
bool
IHopHandler::HandleUpstream(const llarp_buffer_t& X, const TunnelNonce& Y,
AbstractRouter*)
{
if(m_UpstreamQueue == nullptr)
m_UpstreamQueue = s... | 29.578947 | 80 | 0.607651 | da4089 |
ad4f1244ee9f9444f461a2951d54f5b78e6d7cca | 7,887 | cpp | C++ | src/third_party/skia/tests/DataRefTest.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | src/third_party/skia/tests/DataRefTest.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | src/third_party/skia/tests/DataRefTest.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkData.h"
#include "include/core/SkDataTable.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"... | 34.592105 | 96 | 0.640801 | rhencke |
ad51652b42155e2d682c2a5f2b97729194d11156 | 291 | cpp | C++ | algorithm_cpp/basic/get_line.cpp | eunjin115/TIL | 2c9179e4dabdf5d8876871987de8b705c011b672 | [
"MIT"
] | null | null | null | algorithm_cpp/basic/get_line.cpp | eunjin115/TIL | 2c9179e4dabdf5d8876871987de8b705c011b672 | [
"MIT"
] | null | null | null | algorithm_cpp/basic/get_line.cpp | eunjin115/TIL | 2c9179e4dabdf5d8876871987de8b705c011b672 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(void){
char arr[10];
cout << "문자 입력";
cin.getline(arr,10, ' '); // 10은 최대 입력 가능 문자수, default 종결 문자는 \n (개행문자)
// cin.getline(arr,10,' '); // [예] 세 번째 인자는 종결 문자 설정 -> 공백(' ')
cout << arr << endl;
return 0;
} | 22.384615 | 75 | 0.522337 | eunjin115 |
ad51ad55a69883bc105c21095ef684ebc96c5c35 | 633 | cpp | C++ | EVENTS/UI/SiteConfig.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | null | null | null | EVENTS/UI/SiteConfig.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | null | null | null | EVENTS/UI/SiteConfig.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | null | null | null | #include "SiteConfig.h"
SiteConfig::SiteConfig(QObject *parent) : QObject(parent)
{
m_type = SiteType::Grid;
m_site.location().set(0.0, 0.0);
}
Site &SiteConfig::site()
{
return m_site;
}
SiteGrid &SiteConfig::siteGrid()
{
return m_siteGrid;
}
SiteConfig::SiteType SiteConfig::getType() const
{
r... | 15.825 | 57 | 0.638231 | claudioperez |
ad51e5ab2ec0c7ecd6be302e3cc13731df5d6bce | 4,387 | hpp | C++ | include/sprout/darkroom/intersects/intersection.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | 4 | 2021-12-29T22:17:40.000Z | 2022-03-23T11:53:44.000Z | dsp/lib/sprout/sprout/darkroom/intersects/intersection.hpp | TheSlowGrowth/TapeLooper | ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264 | [
"MIT"
] | 16 | 2021-10-31T21:41:09.000Z | 2022-01-22T10:51:34.000Z | include/sprout/darkroom/intersects/intersection.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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)
==... | 34.81746 | 143 | 0.681787 | thinkoid |
ad53b323f2df0022f44b976a29c07a49db8ce267 | 233 | cpp | C++ | Examples/mp_subsystem/mp_subsystem.cpp | drbenmorgan/MicroPipeline | 01a59f6ac79431f39917f58bf5a0ed297bf6b32d | [
"BSD-3-Clause"
] | null | null | null | Examples/mp_subsystem/mp_subsystem.cpp | drbenmorgan/MicroPipeline | 01a59f6ac79431f39917f58bf5a0ed297bf6b32d | [
"BSD-3-Clause"
] | null | null | null | Examples/mp_subsystem/mp_subsystem.cpp | drbenmorgan/MicroPipeline | 01a59f6ac79431f39917f58bf5a0ed297bf6b32d | [
"BSD-3-Clause"
] | null | null | null | // mp_subsystem - test of Poco's application/subsystem
//
// Copyright (c) 2013 by Ben Morgan <bmorgan.warwick@gmail.com>
// Copyright (c) 2013 by The University of Warwick
#include "MPSApplication.h"
POCO_APP_MAIN(MPSApplication)
| 29.125 | 64 | 0.759657 | drbenmorgan |
ad569ed3e7dcd557c7fb5d3e4feff9445d941e8f | 2,906 | hpp | C++ | src/px4/mavlink/common/mavlink_msg_param_ack_transaction.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 10 | 2021-03-15T03:58:06.000Z | 2021-12-30T15:33:38.000Z | src/px4/mavlink/common/mavlink_msg_param_ack_transaction.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | src/px4/mavlink/common/mavlink_msg_param_ack_transaction.hpp | mfkiwl/GLMocap | 72de3cc11256d0d8567e86b8a2487ffc81fc984e | [
"MIT"
] | 8 | 2021-10-09T08:47:53.000Z | 2022-01-17T07:45:33.000Z | // MESSAGE PARAM_ACK_TRANSACTION support class
#pragma once
namespace mavlink {
namespace common {
namespace msg {
/**
* @brief PARAM_ACK_TRANSACTION message
*
* Response from a PARAM_SET message when it is used in a transaction.
*/
struct PARAM_ACK_TRANSACTION : mavlink::Message {
static constexpr msgid_t M... | 35.876543 | 281 | 0.579147 | mfkiwl |
ad57bfa905c555a89c327f57f1996baca4213954 | 3,069 | hpp | C++ | include/CobraModelParser/MatlabV5/ParserImpl.hpp | qacwnfq/CobraModelParser | 9e03ff6e9f05e4a971b39a85360494925c72dbeb | [
"MIT"
] | null | null | null | include/CobraModelParser/MatlabV5/ParserImpl.hpp | qacwnfq/CobraModelParser | 9e03ff6e9f05e4a971b39a85360494925c72dbeb | [
"MIT"
] | null | null | null | include/CobraModelParser/MatlabV5/ParserImpl.hpp | qacwnfq/CobraModelParser | 9e03ff6e9f05e4a971b39a85360494925c72dbeb | [
"MIT"
] | null | null | null | #ifndef COBRAMODELPARSER_MATLABV5_PARSERIMPL_HPP
#define COBRAMODELPARSER_MATLABV5_PARSERIMPL_HPP
#include <algorithm>
#include <fstream>
#include <vector>
#include <ostream>
#include "CobraModelParser/Exceptions.hpp"
#include "CobraModelParser/FileLoader.hpp"
#include "CobraModelParser/ModelBuilder.hpp"
#include "Co... | 40.92 | 111 | 0.623004 | qacwnfq |
ad57c191e0688deba12bf9b3fb676cf283bd46fe | 2,024 | hpp | C++ | Libraries/Physics/Analyzer.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | 3 | 2022-02-11T10:34:33.000Z | 2022-02-24T17:44:17.000Z | Libraries/Physics/Analyzer.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | Libraries/Physics/Analyzer.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#pragma once
/// Tracks down which object, if any, was not sent to be checked
/// for collision when it should have (assuming at least one broad phase caught
/// it).
#define OBJECT_TRACKING 1
namespace Zero
{
namespace Physics
{
// The result of a single frame
struct BroadPhaseFra... | 23.534884 | 79 | 0.731719 | RyanTylerRae |
ad5868309d617990cf94e0603699f7c75e01f739 | 635 | hpp | C++ | src/jellyfish/Material.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | src/jellyfish/Material.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | src/jellyfish/Material.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | #pragma once
extern bool pbr;
class Material
{
private:
public:
unsigned int m_texAlbedo;
// TODO change to textures
unsigned int m_texMetallic;
unsigned int m_texNormal;
unsigned int m_texRoughness;
unsigned int m_texAo;
// Load Ao Roughness and Metallic on one texture
unsigned in... | 19.242424 | 70 | 0.677165 | FelipeEd |
ad5920935ac5a29a023ee509a94db7e1f3378b70 | 719 | cpp | C++ | algorithms_2/BinaryInsertionSort/BinaryInsertionSort.cpp | neutrinobomber/c-stuff | 0a98d8d618a8226e7e2a63b262ef8fe3ec43e185 | [
"MIT"
] | null | null | null | algorithms_2/BinaryInsertionSort/BinaryInsertionSort.cpp | neutrinobomber/c-stuff | 0a98d8d618a8226e7e2a63b262ef8fe3ec43e185 | [
"MIT"
] | null | null | null | algorithms_2/BinaryInsertionSort/BinaryInsertionSort.cpp | neutrinobomber/c-stuff | 0a98d8d618a8226e7e2a63b262ef8fe3ec43e185 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void BinaryInsertionSort(int arr[], int len)
{
for (int i = 1; i < len; i++)
{
int begin = 0;
int end = i;
int mid = i / 2;
do
{
if (arr[i] > arr[mid])
{
begin = mid + 1;
}
else if (arr[i] < arr[mid])
{
end = mid;
}
else
{
break... | 12.614035 | 44 | 0.456189 | neutrinobomber |
ad5b9b85e72ccbcdee2181faec7b1f7565d41fe5 | 16,081 | cc | C++ | components/zucchini/algorithm_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/zucchini/algorithm_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/zucchini/algorithm_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "components/zucchini/algorithm.h"
#include <stddef.h>
#include <stdint.h>
#include "base/logging.h"
#include "testing/gtest/include/gtest/gtest... | 46.077364 | 80 | 0.699646 | sarang-apps |
ad5fc91f5069b2eaa46e855e02c428883200814d | 17,358 | cpp | C++ | src/libtsduck/dtv/tsSignalizationDemux.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | 2 | 2020-02-27T04:34:41.000Z | 2020-04-29T10:43:23.000Z | src/libtsduck/dtv/tsSignalizationDemux.cpp | mirakc/tsduck-arib | c400025b7d31e26c0c15471e81adf2ad50632281 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/tsSignalizationDemux.cpp | mirakc/tsduck-arib | c400025b7d31e26c0c15471e81adf2ad50632281 | [
"BSD-2-Clause"
] | 1 | 2019-10-27T03:19:28.000Z | 2019-10-27T03:19:28.000Z | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 34.372277 | 137 | 0.474997 | ASTRO-Strobel |
ad6222e6c100a11297409217fcdb1f11d8d82b08 | 3,880 | cpp | C++ | project/Windows/Engine/BlurEffect.cpp | mholtkamp/vakz | ad72c9b971c442450d530b82fb8d976c0fccbff7 | [
"MIT"
] | 5 | 2016-12-15T18:36:40.000Z | 2019-12-04T00:48:40.000Z | project/Windows/Engine/BlurEffect.cpp | mholtkamp/vakz | ad72c9b971c442450d530b82fb8d976c0fccbff7 | [
"MIT"
] | null | null | null | project/Windows/Engine/BlurEffect.cpp | mholtkamp/vakz | ad72c9b971c442450d530b82fb8d976c0fccbff7 | [
"MIT"
] | 1 | 2021-04-15T09:37:43.000Z | 2021-04-15T09:37:43.000Z | #include "BlurEffect.h"
#include "Log.h"
#include "VGL.h"
#include "VInput.h"
#include "Settings.h"
// Vertex data needed to render quad that covers entire screen
static float s_arPosition[8] = {-1.0f, -1.0f,
-1.0f, 1.0f,
1.0f, 1.0f,
... | 32.066116 | 81 | 0.439948 | mholtkamp |
ad642f05c572a280b07527fb1a0008e24f52ff10 | 3,923 | cpp | C++ | day05/ex00/Bureaucrat.cpp | psprawka/Cpp_Piscine | 73fdb50d654c49587d7d3a2d475b1c57033c8dd4 | [
"MIT"
] | 1 | 2019-09-15T08:29:00.000Z | 2019-09-15T08:29:00.000Z | day05/ex00/Bureaucrat.cpp | psprawka/Cpp_Piscine | 73fdb50d654c49587d7d3a2d475b1c57033c8dd4 | [
"MIT"
] | 1 | 2019-09-15T08:28:48.000Z | 2019-09-15T08:28:48.000Z | day05/ex00/Bureaucrat.cpp | psprawka/Cpp_Piscine | 73fdb50d654c49587d7d3a2d475b1c57033c8dd4 | [
"MIT"
] | 1 | 2020-03-04T16:14:40.000Z | 2020-03-04T16:14:40.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... | 27.822695 | 128 | 0.503696 | psprawka |
ad66124e89381da2a18d6281e39597f5fa615abe | 2,041 | cpp | C++ | src/wspp_wrapper.cpp | osmiumhydorogen/CppRosBridge_demo | a8b9eb442654f54465cf58ca62da8c583fb746e4 | [
"MIT"
] | null | null | null | src/wspp_wrapper.cpp | osmiumhydorogen/CppRosBridge_demo | a8b9eb442654f54465cf58ca62da8c583fb746e4 | [
"MIT"
] | null | null | null | src/wspp_wrapper.cpp | osmiumhydorogen/CppRosBridge_demo | a8b9eb442654f54465cf58ca62da8c583fb746e4 | [
"MIT"
] | 1 | 2022-03-17T01:38:05.000Z | 2022-03-17T01:38:05.000Z | #include <wspp_wrapper.hpp>
//#include <websocketpp/common/memory.hpp>
namespace crb_sock
{
WsppWrapper::WsppWrapper()
{
_client_ep.clear_access_channels(websocketpp::log::alevel::all);
_client_ep.clear_error_channels(websocketpp::log::elevel::all);
_client_ep.init_asio();
_client_ep.start_perpetual();
m... | 25.197531 | 97 | 0.66242 | osmiumhydorogen |
ad66cdab6826874238158ee269e325fe71d062e1 | 1,255 | cpp | C++ | src/Disks/LocalDirectorySyncGuard.cpp | evryfs/ClickHouse | a9648af0b9e2506ce783106315814ed8dbd0a952 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | src/Disks/LocalDirectorySyncGuard.cpp | evryfs/ClickHouse | a9648af0b9e2506ce783106315814ed8dbd0a952 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | src/Disks/LocalDirectorySyncGuard.cpp | evryfs/ClickHouse | a9648af0b9e2506ce783106315814ed8dbd0a952 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | #include <Disks/LocalDirectorySyncGuard.h>
#include <Common/Exception.h>
#include <Disks/IDisk.h>
#include <fcntl.h> // O_RDWR
/// OSX does not have O_DIRECTORY
#ifndef O_DIRECTORY
#define O_DIRECTORY O_RDWR
#endif
namespace DB
{
namespace ErrorCodes
{
extern const int CANNOT_FSYNC;
extern const int FILE_DOE... | 24.607843 | 92 | 0.680478 | evryfs |
ad66eb1e8eb04907ffcbcead70c6462695a816a0 | 1,017 | cpp | C++ | stringPattern.cpp | thomasjmurphy/dataStructures | 1a2fef47cb3734574e7bd7948b0a705b915940da | [
"MIT"
] | null | null | null | stringPattern.cpp | thomasjmurphy/dataStructures | 1a2fef47cb3734574e7bd7948b0a705b915940da | [
"MIT"
] | null | null | null | stringPattern.cpp | thomasjmurphy/dataStructures | 1a2fef47cb3734574e7bd7948b0a705b915940da | [
"MIT"
] | null | null | null | #include <sstream>
#include <string>
#include <unordered_map>
using namespace std;
//Given a pattern and a string, check if the string can be mapped bijectively to that
//pattern. see LeetCode problem 290.
vector<string> split(string str)
{
stringstream ss(str);
vector<string> ret;
string word;
while... | 20.34 | 85 | 0.52999 | thomasjmurphy |
ad682fe7eebba2cddbcfd6d37f866fd2258444ea | 655 | inl | C++ | src/ivorium_core/Attribute/Fields/PrivField.inl | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | 3 | 2021-02-26T02:59:09.000Z | 2022-02-08T16:44:21.000Z | src/ivorium_core/Attribute/Fields/PrivField.inl | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | src/ivorium_core/Attribute/Fields/PrivField.inl | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | namespace iv
{
//==================== PrivField_Owner =================================
template< class T >
void PrivField_Owner< T >::Field_Modify( PrivField< T > * field, T const & val )
{
field->Modify( val );
}
//==================== LField_RW =================================
template< class T >
PrivField< T... | 20.46875 | 80 | 0.519084 | ivorne |
ad696df102133daeabc06ece304610ebe0163a3a | 1,610 | hpp | C++ | Lib/Chip/ATSAMD21G18A.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/ATSAMD21G18A.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/ATSAMD21G18A.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstdint>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/AC.hpp>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/ADC.hpp>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/DAC.hpp>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/DMAC.hpp>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/DSU.hpp>
#include <Chip/CM0+/Atmel/ATSAMD21G18A/EIC.hpp>... | 46 | 51 | 0.775776 | operativeF |