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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d4ad4031da83251876e2aa4242449879d011992 | 2,189 | cpp | C++ | problemsets/Codejam/2009/ROUND 1A 2009/PC/PC.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codejam/2009/ROUND 1A 2009/PC/PC.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codejam/2009/ROUND 1A 2009/PC/PC.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <cstring... | 23.793478 | 87 | 0.535861 | juarezpaulino |
8d4bd36bebd7ebb592f68d170be19909aec44c0d | 13,564 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commerci... | 19.947059 | 122 | 0.617148 | GrinCash |
8d4d75eba468a4a2046fb087e3730c283fee453c | 490 | cpp | C++ | ch04/DemoConstCast.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | 3 | 2019-09-21T13:03:57.000Z | 2020-04-05T02:42:53.000Z | ch04/DemoConstCast.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | null | null | null | ch04/DemoConstCast.cpp | imshenzhuo/CppPrimer | 87c74c0a36223e86571c2aedd9da428c06b04f4d | [
"CC0-1.0"
] | null | null | null | /*************************************************************************
> File Name: DemoConstCast.cpp
> Author: shenzhuo
> Mail: im.shenzhuo@gmail.com
> Created Time: 2019年08月29日 星期四 10时39分19秒
************************************************************************/
#include<iostream>
using names... | 18.148148 | 74 | 0.408163 | imshenzhuo |
8d4f50cddfb2355f2a867d814a27879a5dc18d15 | 8,129 | cpp | C++ | ql/experimental/commodities/energycommodity.cpp | igitur/quantlib | 3f6b7271a68004cdb6db90f0e87346e8208234a2 | [
"BSD-3-Clause"
] | 1 | 2021-04-28T02:21:54.000Z | 2021-04-28T02:21:54.000Z | ql/experimental/commodities/energycommodity.cpp | wangpeng-personal/QuantLib | 2e4e4f1662bf15d18d19b396079feb36acb60150 | [
"BSD-3-Clause"
] | 4 | 2021-02-08T06:07:05.000Z | 2022-03-29T12:23:40.000Z | ql/experimental/commodities/energycommodity.cpp | westonsteimel/QuantLib | 739ea894961dc6da5e8aa0b61c392d40637d39c1 | [
"BSD-3-Clause"
] | null | null | null | /* -*- 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... | 45.926554 | 100 | 0.546193 | igitur |
8d500d841fbeb3da1487ce1ee1fcdbc288e73149 | 171 | cxx | C++ | tests/nonsmoke/functional/CompileTests/unparse_template_from_ast/kripke-tpl-005.cxx | ouankou/rose | 76f2a004bd6d8036bc24be2c566a14e33ba4f825 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/nonsmoke/functional/CompileTests/unparse_template_from_ast/kripke-tpl-005.cxx | WildeGeist/rose | 17db6454e8baba0014e30a8ec23df1a11ac55a0c | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/nonsmoke/functional/CompileTests/unparse_template_from_ast/kripke-tpl-005.cxx | WildeGeist/rose | 17db6454e8baba0014e30a8ec23df1a11ac55a0c | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | namespace N {
template <typename T0>
void foo();
template <typename T1>
struct A {};
}
template<typename T2>
void bar() {
N::foo<typename N::A<T2>::X::Y>();
}
| 13.153846 | 36 | 0.602339 | ouankou |
8d52f5de01200eee6b2c6a4af694c61dbc8cd553 | 4,026 | cpp | C++ | 10b/Chapter_13_Binary_Search_Tree_Code.cpp | mparsakia/pic-ucla | bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4 | [
"Unlicense"
] | 1 | 2020-08-07T13:03:14.000Z | 2020-08-07T13:03:14.000Z | 10b/Chapter_13_Binary_Search_Tree_Code.cpp | mparsakia/pic-ucla | bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4 | [
"Unlicense"
] | null | null | null | 10b/Chapter_13_Binary_Search_Tree_Code.cpp | mparsakia/pic-ucla | bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4 | [
"Unlicense"
] | null | null | null | #include <vector>
#include <iostream>
#include <assert.h>
#include <stdio.h>
#include <algorithm>
#include <fstream>
#include <cstring>
#include <string>
#include <iomanip>
#include <sstream>
#include <map>
#include <set>
#include <list>
// Binary Search Tree
using namespace std;
class TreeNode
{
public:
v... | 19.930693 | 66 | 0.633631 | mparsakia |
8d55c465e9037f1d5bb43fa3ec412752ad98af06 | 984 | hpp | C++ | sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp | varchar-io/azure-sdk-for-cpp | 4d498c59baf21fa9160ea913d379380ecc60e65d | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp | varchar-io/azure-sdk-for-cpp | 4d498c59baf21fa9160ea913d379380ecc60e65d | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp | varchar-io/azure-sdk-for-cpp | 4d498c59baf21fa9160ea913d379380ecc60e65d | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include <azure/storage/files/datalake.hpp>
#include "datalake_service_client_test.hpp"
#include "test/ut/test_base.hpp"
namespace Azure { namespace Storage { namespace Test {
class DataLakeFileSystemClientTest : public D... | 28.941176 | 82 | 0.727642 | varchar-io |
8d5a723da6ca46440e400b17cb83be03294901c3 | 596 | hpp | C++ | tcob/include/tcob/game/Config.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | 2 | 2021-08-18T19:14:35.000Z | 2021-12-01T14:14:49.000Z | tcob/include/tcob/game/Config.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | null | null | null | tcob/include/tcob/game/Config.hpp | TobiasBohnen/tcob | 53092b3c8e657f1ff5e48ce961659edf7cb1cb05 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Tobias Bohnen
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include <tcob/tcob_config.hpp>
#include <tcob/script/LuaScript.hpp>
#include <tcob/script/LuaTable.hpp>
namespace tcob {
////////////////////////////////////////////////////... | 22.074074 | 61 | 0.60906 | TobiasBohnen |
8d5d6cf442e98fae60465115280eb60a6be1bb76 | 20,343 | cpp | C++ | xfa/fwl/core/ifwl_datetimepicker.cpp | isabella232/pdfium-1 | d8f710cedd62c1d28beee15d7dc3d31ddd148437 | [
"BSD-3-Clause"
] | 38 | 2015-11-25T02:25:25.000Z | 2022-01-04T01:11:15.000Z | xfa/fwl/core/ifwl_datetimepicker.cpp | isabella232/pdfium-1 | d8f710cedd62c1d28beee15d7dc3d31ddd148437 | [
"BSD-3-Clause"
] | 1 | 2021-02-23T22:36:54.000Z | 2021-02-23T22:36:54.000Z | xfa/fwl/core/ifwl_datetimepicker.cpp | isabella232/pdfium-1 | d8f710cedd62c1d28beee15d7dc3d31ddd148437 | [
"BSD-3-Clause"
] | 13 | 2016-08-03T02:35:18.000Z | 2020-12-17T10:14:04.000Z | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fwl/core/ifwl_datetimepicker.h"
#include "third_party/base/ptr_... | 29.611354 | 80 | 0.683331 | isabella232 |
8d618f3d9bb286ce6ea6d94a5238071ee910f1c1 | 23,407 | cxx | C++ | panda/src/display/graphicsWindow.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/display/graphicsWindow.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/display/graphicsWindow.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file graphicsWindow.cxx
* @... | 29.222222 | 95 | 0.714487 | cmarshall108 |
8d6310fd33b694d7de753c98720e6f3ad6f039a6 | 10,705 | cc | C++ | extensions/browser/guest_view/app_view/app_view_guest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | extensions/browser/guest_view/app_view/app_view_guest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | extensions/browser/guest_view/app_view/app_view_guest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/browser/guest_view/app_view/app_view_guest.h"
#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
#include "ba... | 35.802676 | 80 | 0.725642 | Ron423c |
8d64dc75a23e683306389a96bd8e232ccdb68390 | 1,179 | hpp | C++ | src/HTMLElements/HTMLElement.hpp | windlessStorm/WebWhir | 0ed261427d4f4e4f81b62816dc0d94bfacd0890b | [
"MIT"
] | 90 | 2017-04-03T21:42:57.000Z | 2022-01-22T11:08:56.000Z | src/HTMLElements/HTMLElement.hpp | windlessStorm/WebWhir | 0ed261427d4f4e4f81b62816dc0d94bfacd0890b | [
"MIT"
] | 21 | 2017-03-06T21:45:36.000Z | 2017-03-06T21:45:37.000Z | src/HTMLElements/HTMLElement.hpp | windlessStorm/WebWhir | 0ed261427d4f4e4f81b62816dc0d94bfacd0890b | [
"MIT"
] | 17 | 2017-04-15T22:42:13.000Z | 2021-12-20T09:50:15.000Z | #ifndef HTMLELEMENT_H
#define HTMLELEMENT_H
#include <string>
#include <vector>
#include <memory>
class HTMLElement
{
public:
HTMLElement();
HTMLElement(const HTMLElement &element);
virtual ~HTMLElement();
std::wstring get_id() const;
std::wstring get_title() const;
... | 31.026316 | 71 | 0.64631 | windlessStorm |
8d65d0ce0bc4f84d1a9f3a7f41375fea055d62b3 | 18,694 | cpp | C++ | src/materialsystem/checkmaterials.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/materialsystem/checkmaterials.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/materialsystem/checkmaterials.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "pch_materialsystem.h"
// NOTE: currently this file is marked as "exclude from build"
//#define _CHECK_MATERIALS_FOR_PROBLEMS 1
#ifd... | 28.111278 | 184 | 0.626993 | cstom4994 |
8d66d37fee5dcf53c2a2864894cf5d9dc2201831 | 4,844 | cc | C++ | tests/whitebox/db/wb_redis_db.cc | rohitjoshi/waflz | 220945e6472762af8d8d7e0849699adcfd488605 | [
"Apache-2.0"
] | null | null | null | tests/whitebox/db/wb_redis_db.cc | rohitjoshi/waflz | 220945e6472762af8d8d7e0849699adcfd488605 | [
"Apache-2.0"
] | null | null | null | tests/whitebox/db/wb_redis_db.cc | rohitjoshi/waflz | 220945e6472762af8d8d7e0849699adcfd488605 | [
"Apache-2.0"
] | null | null | null | //: ----------------------------------------------------------------------------
//: Copyright (C) 2016 Verizon. All Rights Reserved.
//: All Rights Reserved
//:
//: \file: TODO.cc
//: \details: TODO
//: \author: Reed P. Morrison
//: \date: 12/06/2016
//:
//: Licensed under the Apache License, Version 2.0 (th... | 47.029126 | 103 | 0.469447 | rohitjoshi |
8d691b5bf46f1cc7c697cf58e3cef0557cf27f99 | 3,307 | cpp | C++ | console/src/boost_1_78_0/libs/system/test/std_interop_test6.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 1 | 2019-10-27T21:15:52.000Z | 2019-10-27T21:15:52.000Z | console/src/boost_1_78_0/libs/system/test/std_interop_test6.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | null | null | null | console/src/boost_1_78_0/libs/system/test/std_interop_test6.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 1 | 2021-08-24T08:49:34.000Z | 2021-08-24T08:49:34.000Z | // Copyright 2021 Peter Dimov.
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
#include <boost/system/error_code.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/config/pragma_message.hpp>
#include <cerrno>
#if !defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR... | 23.453901 | 89 | 0.584215 | vany152 |
8d6b3da54cce67b24cb62b1e53dfa99e7b0679be | 5,147 | cpp | C++ | codeset/CPP/6-3.cpp | onyiny-ang/chloroplasts | 06ea45454f5fd1de88a7ae366130f0521410a7d5 | [
"MIT"
] | 1 | 2019-04-29T19:36:15.000Z | 2019-04-29T19:36:15.000Z | codeset/CPP/6-3.cpp | onyiny-ang/chloroplasts | 06ea45454f5fd1de88a7ae366130f0521410a7d5 | [
"MIT"
] | 13 | 2019-08-19T17:53:32.000Z | 2022-03-02T03:53:20.000Z | codeset/CPP/6-3.cpp | onyiny-ang/chloroplasts-2 | 06ea45454f5fd1de88a7ae366130f0521410a7d5 | [
"MIT"
] | 3 | 2019-04-26T21:34:43.000Z | 2021-01-07T19:48:53.000Z | /**
Name: Phoenix Bishea
Eid: pnb338
*/
#include <iostream>
using namespace std;
/// global constant for fixed rows and cols of the 2D array
int iterationsR = 0, iterationsC = 0, gameCounter = 0, gameCounterMax = 0, aliveCounters = 0, temp = 0;
const int rownumber = 10, columnnumber = 10, minimum = 0, ma... | 26.260204 | 104 | 0.520109 | onyiny-ang |
8d6cb3dee50f6e889499ed9969d9f70c016d518e | 752 | cpp | C++ | test/transducer/remove.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 163 | 2019-11-19T20:58:55.000Z | 2022-03-07T10:30:10.000Z | test/transducer/remove.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 26 | 2019-09-16T18:09:44.000Z | 2022-01-25T10:04:13.000Z | test/transducer/remove.cpp | Yohsi/zug | ec11ca4642c51eb07de76a5b4a3b90a675cc428e | [
"BSL-1.0"
] | 16 | 2019-09-08T15:22:18.000Z | 2022-02-11T20:33:04.000Z | //
// zug: transducers for C++
// Copyright (C) 2019 Juan Pedro Bolivar Puente
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
#include <catch2/catch.hpp>
#include <zug/compose.hpp>
#include <zug/transduc... | 25.931034 | 79 | 0.631649 | Yohsi |
8d6e3fb5d66937ef9de5f31123ca3d62f514b952 | 1,343 | cpp | C++ | source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | 2 | 2018-04-12T20:59:20.000Z | 2018-07-26T16:04:07.000Z | source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | // Houzi Game Engine
// Copyright (c) 2018 Davide Corradi
// Licensed under the MIT license.
#include "hou/test.hpp"
#include "hou/gfx/text_box_formatting_params.hpp"
using namespace hou;
using namespace testing;
namespace
{
class test_text_box_formatting_params : public Test
{};
} // namespace
TEST_F(test_te... | 21.31746 | 73 | 0.743857 | DavideCorradiDev |
8d6f6fdd2ef9f412f9df1d3eae1dbe0bb7401d1e | 2,056 | hpp | C++ | Lib/Chip/MB9AF14xM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 376 | 2015-07-17T01:41:20.000Z | 2022-03-26T04:02:49.000Z | Lib/Chip/MB9AF14xM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 59 | 2015-07-03T21:30:13.000Z | 2021-03-05T11:30:08.000Z | Lib/Chip/MB9AF14xM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 53 | 2015-07-14T12:17:06.000Z | 2021-06-04T07:28:40.000Z | #pragma once
#include <Chip/Unknown/Spansion/MB9AF14xM/FLASH_IF.hpp>
#include <Chip/Unknown/Spansion/MB9AF14xM/CRG.hpp>
#include <Chip/Unknown/Spansion/MB9AF14xM/CRTRIM.hpp>
#include <Chip/Unknown/Spansion/MB9AF14xM/SWWDT.hpp>
#include <Chip/Unknown/Spansion/MB9AF14xM/HWWDT.hpp>
#include <Chip/Unknown/Spansion/MB9AF14... | 50.146341 | 56 | 0.808366 | cjsmeele |
8d71618d28f083bd7dab902c7ca84346c8354bd5 | 8,527 | cc | C++ | src/quantadb/TxEntry.cc | nliao6622/QuantaDB-1 | e5db80c7b9e9f5b3c2c6715ce77c56d56e4c4c94 | [
"Apache-2.0"
] | 12 | 2021-01-20T23:20:27.000Z | 2021-12-10T12:14:26.000Z | src/quantadb/TxEntry.cc | nliao6622/QuantaDB-1 | e5db80c7b9e9f5b3c2c6715ce77c56d56e4c4c94 | [
"Apache-2.0"
] | null | null | null | src/quantadb/TxEntry.cc | nliao6622/QuantaDB-1 | e5db80c7b9e9f5b3c2c6715ce77c56d56e4c4c94 | [
"Apache-2.0"
] | 2 | 2021-01-13T02:03:32.000Z | 2022-01-20T17:26:55.000Z | /* Copyright 2020 Futurewei Technologies, 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 applicabl... | 30.024648 | 120 | 0.602205 | nliao6622 |
8d724197a25d463b41babf68fd595e0f1a389599 | 42,743 | cpp | C++ | pkgs/apps/fluidanimate/src/pthreads.cpp | mariobadr/parsec-benchmarks | df65311b02d96fc6525fd49cf915a1885987d5a1 | [
"BSD-3-Clause"
] | null | null | null | pkgs/apps/fluidanimate/src/pthreads.cpp | mariobadr/parsec-benchmarks | df65311b02d96fc6525fd49cf915a1885987d5a1 | [
"BSD-3-Clause"
] | null | null | null | pkgs/apps/fluidanimate/src/pthreads.cpp | mariobadr/parsec-benchmarks | df65311b02d96fc6525fd49cf915a1885987d5a1 | [
"BSD-3-Clause"
] | null | null | null | //Code written by Richard O. Lee and Christian Bienia
//Modified by Christian Fensch
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <fstream>
#if defined(WIN32)
#define NOMINMAX
#include <windows.h>
#endif
#include <math.h>
#include <pthread.h>
#include <assert.h>
#include <float.h>
#include "f... | 33.445227 | 179 | 0.563624 | mariobadr |
8d736a42ca153192fb308eac032136f93f9f8d9b | 4,668 | cpp | C++ | src/GuiLayout.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 14 | 2020-06-27T18:51:41.000Z | 2022-03-30T18:20:02.000Z | src/GuiLayout.cpp | codenamecpp/GLKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 1 | 2020-06-07T09:48:11.000Z | 2020-06-07T09:48:11.000Z | src/GuiLayout.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 2 | 2020-08-27T09:38:10.000Z | 2021-08-12T01:17:30.000Z | #include "pch.h"
#include "GuiLayout.h"
#include "GuiWidget.h"
GuiLayout::GuiLayout()
: mOrientation(eGuiLayoutOrientation_Horizontal)
, mCols(1)
, mRows(1)
, mSpacingHorz()
, mSpacingVert()
, mPaddingL()
, mPaddingT()
, mPaddingR()
, mPaddingB()
, mLayoutType(eGuiLayo... | 25.096774 | 99 | 0.591688 | codenamecpp |
8d740ee14c6eba58a6d514970a59c5e79e2c3b21 | 550 | hpp | C++ | src/AST/Statements/ProcedureCallStatement.hpp | CarsonFox/CPSL | 07a949166d9399f273ddf15e239ade6e5ea6e4a5 | [
"MIT"
] | null | null | null | src/AST/Statements/ProcedureCallStatement.hpp | CarsonFox/CPSL | 07a949166d9399f273ddf15e239ade6e5ea6e4a5 | [
"MIT"
] | null | null | null | src/AST/Statements/ProcedureCallStatement.hpp | CarsonFox/CPSL | 07a949166d9399f273ddf15e239ade6e5ea6e4a5 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
#include <memory>
#include "Statement.hpp"
#include <src/AST/Expressions/Expression.hpp>
#include <src/AST/Expressions/ExpressionList.hpp>
struct ProcedureCallStatement : Statement {
std::string id;
std::vector<std::shared_ptr<Expression>> args;
Procedure... | 22.916667 | 63 | 0.732727 | CarsonFox |
8d7600502f946ed0f5cb6f0ce49cf39a1d62ff17 | 2,691 | cpp | C++ | src/viewlinecache.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | null | null | null | src/viewlinecache.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | 2 | 2016-11-25T19:52:09.000Z | 2017-04-15T14:49:52.000Z | src/viewlinecache.cpp | alexezh/trv | 1dd97096ed9f60ffb64c4e44e2e309e9c5002224 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 Alexandre Grigorovitch (alexezh@gmail.com).
//
// 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,... | 26.126214 | 96 | 0.733928 | alexezh |
8d76ce6d49188f6daad29d6f68a26819f056b6c3 | 1,087 | hpp | C++ | missions/_missions1/dcg.takistan/cfgParams.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | missions/_missions1/dcg.takistan/cfgParams.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | missions/_missions1/dcg.takistan/cfgParams.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | /*
Types (SCALAR, BOOL, SIDE)
*/
class dcg_main_debug {
title = "Debug Mode";
values[] = {0,1};
texts[] = {"Off", "On"};
default = 0;
setParam = 1;
typeName = "";
};
class dcg_main_loadData {
title = "Load Mission Data";
values[] = {0,1};
texts[] = {"Off", "On"};
default = 1;
setPa... | 20.903846 | 61 | 0.543698 | ademirt |
8d7711a46890e79e299c6f3a5a3576b8420c06a6 | 2,153 | hpp | C++ | modules/kvm/include/virt86/kvm/kvm_platform.hpp | dmiller423/virt86 | f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60 | [
"MIT"
] | 148 | 2019-02-19T11:05:28.000Z | 2022-02-26T11:57:05.000Z | modules/kvm/include/virt86/kvm/kvm_platform.hpp | dmiller423/virt86 | f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60 | [
"MIT"
] | 16 | 2019-02-19T02:51:48.000Z | 2019-12-11T21:17:12.000Z | modules/kvm/include/virt86/kvm/kvm_platform.hpp | dmiller423/virt86 | f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60 | [
"MIT"
] | 17 | 2019-02-19T04:05:33.000Z | 2021-05-02T12:14:13.000Z | /*
Declares the implementation class for the KVM hypervisor platform adapter.
Include this file to use KVM as a platform. The platform instance is exposed
as a singleton:
auto& instance = virt86::kvm::KvmPlatform::Instance();
-------------------------------------------------------------------------------
MIT Licens... | 34.174603 | 98 | 0.739898 | dmiller423 |
8d779bfbd4330c55301b272fca2090606cc1782d | 8,244 | cc | C++ | sandbox/win/src/lpc_policy_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | sandbox/win/src/lpc_policy_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | sandbox/win/src/lpc_policy_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// These tests have been added to specifically tests issues arising from (A)LPC
// lock down.
#include <algorithm>
#include <cctype>
#include <windows.h... | 34.78481 | 80 | 0.724648 | sarang-apps |
8d78a7cbedccd8599f2906804066cfde7f4782a4 | 553 | cpp | C++ | gamma/system/packed_data.cpp | mbellman/gamma | a11a15492366682c2aec0a4570c6d091a83fe632 | [
"Unlicense"
] | null | null | null | gamma/system/packed_data.cpp | mbellman/gamma | a11a15492366682c2aec0a4570c6d091a83fe632 | [
"Unlicense"
] | null | null | null | gamma/system/packed_data.cpp | mbellman/gamma | a11a15492366682c2aec0a4570c6d091a83fe632 | [
"Unlicense"
] | null | null | null | #include "system/packed_data.h"
#include "system/type_aliases.h"
#define CLAMP(f) (f < 0.0f ? 0.0f : f > 1.0f ? 1.0f : f)
namespace Gamma {
/**
* pVec4
* -----
*/
pVec4::pVec4(const Vec3f& value) {
r = uint8(CLAMP(value.x) * 255.0f);
g = uint8(CLAMP(value.y) * 255.0f);
b = uint8(CLAMP(value.z... | 23.041667 | 56 | 0.551537 | mbellman |
8d7930c6c57473ce4bfd2a0f3acb576cb0a0a2b0 | 6,468 | cpp | C++ | serverS.cpp | ksuryakrishna/Socket-Programming | 03c8903f060a59f126156214da191799b0653ac1 | [
"MIT"
] | null | null | null | serverS.cpp | ksuryakrishna/Socket-Programming | 03c8903f060a59f126156214da191799b0653ac1 | [
"MIT"
] | null | null | null | serverS.cpp | ksuryakrishna/Socket-Programming | 03c8903f060a59f126156214da191799b0653ac1 | [
"MIT"
] | null | null | null | /*
** serverS.cpp:
- Creates a map of scores and names
- Receives requests from the central and sends the scores to the central
- Closes the socket
- by Surya Krishna Kasiviswanathan, USC ID: 9083261716
*/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include ... | 26.4 | 92 | 0.655071 | ksuryakrishna |
8d7a0c4969e09c863b8e69d40d7da40793af029e | 493 | cpp | C++ | digitanks/src/dtintro/main.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | digitanks/src/dtintro/main.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | digitanks/src/dtintro/main.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "intro_window.h"
extern tvector<Color> FullScreenShot(int& iWidth, int& iHeight);
void CreateApplication(int argc, char** argv)
{
int iWidth, iHeight;
tvector<Color> aclrScreenshot = FullScreenShot(iWidth, iHeight);
CIntroWindow oWindow(argc, argv);
oWindow.SetScreenshot(aclrScreenshot, iWidth, iHeight... | 22.409091 | 67 | 0.762677 | BSVino |
8d7c18984a43edbda71911ed108cf2c37a42bc24 | 2,892 | cc | C++ | test/tilehierarchy.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | 79 | 2017-02-15T17:35:48.000Z | 2022-03-30T06:16:10.000Z | test/tilehierarchy.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | null | null | null | test/tilehierarchy.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | 12 | 2017-06-16T06:30:54.000Z | 2021-12-16T00:43:12.000Z | #include "baldr/tilehierarchy.h"
#include "baldr/graphid.h"
#include "midgard/pointll.h"
#include "test.h"
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
using namespace std;
using namespace valhalla::baldr;
using namespace valhalla::midgard;
namespace {
void test_parse() ... | 39.616438 | 87 | 0.667358 | molind |
8d7e5dfd75db551d178140dcaacb404d3444bc49 | 11,236 | cpp | C++ | installer/hachi_patch.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | 8 | 2021-11-02T04:07:37.000Z | 2022-01-15T22:49:36.000Z | installer/hachi_patch.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | null | null | null | installer/hachi_patch.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | null | null | null | #include "hachi_patch.hpp"
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <numeric>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <elf.h>
#include "exception.hpp"
#include "iosufsa.hpp"
#include "log.hpp"
#include "util.hpp"
#include "zli... | 39.424561 | 99 | 0.590068 | LRFLEW |
8d82a5e8779fa9593eed9764ca39849885b44c95 | 7,924 | cpp | C++ | vcf/build/vc60/add-ins/COMToVCFClassWizard/Test/tmp/FilgraphManager.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | vcf/build/vc60/add-ins/COMToVCFClassWizard/Test/tmp/FilgraphManager.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | vcf/build/vc60/add-ins/COMToVCFClassWizard/Test/tmp/FilgraphManager.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | //FilgraphManager.cpp
#include "QuartzTypeLib.h"
#include "QuartzTypeLibInterfaces.h"
#include "FilgraphManager.h"
using namespace VCF;
using namespace QuartzTypeLib;
FilgraphManager::FilgraphManager()
{
}
FilgraphManager::~FilgraphManager()
{
}
void FilgraphManager::Run( )
{
}
void Fi... | 13.228715 | 112 | 0.675164 | tharindusathis |
8d838ece296a499f0a7e6ab06e5cb82f6a51d141 | 1,755 | hpp | C++ | psychic-ui/components/Button.hpp | WolfieWerewolf/psychic-ui | d67fc4871a3957cd16c15a42d9ed3e64b65f56bf | [
"MIT"
] | 29 | 2018-01-31T04:58:35.000Z | 2022-03-24T16:37:02.000Z | psychic-ui/components/Button.hpp | WolfieWerewolf/psychic-ui | d67fc4871a3957cd16c15a42d9ed3e64b65f56bf | [
"MIT"
] | 2 | 2018-03-27T22:43:46.000Z | 2022-03-25T14:09:32.000Z | psychic-ui/components/Button.hpp | WolfieWerewolf/psychic-ui | d67fc4871a3957cd16c15a42d9ed3e64b65f56bf | [
"MIT"
] | 11 | 2017-08-28T16:36:49.000Z | 2020-03-26T00:02:55.000Z | #pragma once
#include <functional>
#include <utility>
#include "psychic-ui/psychic-ui.hpp"
#include "psychic-ui/Component.hpp"
#include "psychic-ui/Skin.hpp"
#include "Label.hpp"
namespace psychic_ui {
class Button;
class ButtonSkin : public Skin<Button> {
public:
ButtonSkin() : Skin<Button>() {
... | 25.808824 | 89 | 0.565812 | WolfieWerewolf |
8d83e7a98ffa6b357a0aceb795764b3e31830639 | 3,002 | cpp | C++ | Tools/Common/Tool_Vertex.cpp | Cooolrik/BDR | 2c2bda49259c37bb160daa0f18ac1c666643136f | [
"MIT"
] | 1 | 2021-08-07T14:28:14.000Z | 2021-08-07T14:28:14.000Z | Tools/Common/Tool_Vertex.cpp | Cooolrik/BDR | 2c2bda49259c37bb160daa0f18ac1c666643136f | [
"MIT"
] | null | null | null | Tools/Common/Tool_Vertex.cpp | Cooolrik/BDR | 2c2bda49259c37bb160daa0f18ac1c666643136f | [
"MIT"
] | null | null | null | #include "Tool_Vertex.h"
typedef uint32_t uint;
using std::vector;
inline float clamp( float val, float low, float hi )
{
if( val <= low )
return low;
if( val >= hi )
return hi;
return val;
}
inline int16_t normalizedFloatToInt16( float val )
{
val = clamp( val, -1.f, 1.f );
val *= 32767.f;
val = roundf... | 25.440678 | 113 | 0.635909 | Cooolrik |
8d844ed49c38fe1290550146747d7df716f1fa77 | 5,781 | cpp | C++ | test/blackbox/ReqRepHelloWorldRequester.cpp | ihmcrobotics/Fast-RTPS | 340f5a9fa1c504483c59b73c540f52ab659e1f46 | [
"Apache-2.0"
] | 5 | 2020-04-04T08:01:19.000Z | 2020-11-25T21:33:15.000Z | test/blackbox/ReqRepHelloWorldRequester.cpp | ihmcrobotics/Fast-RTPS | 340f5a9fa1c504483c59b73c540f52ab659e1f46 | [
"Apache-2.0"
] | 1 | 2021-03-05T12:08:31.000Z | 2021-03-05T12:08:31.000Z | test/blackbox/ReqRepHelloWorldRequester.cpp | ihmcrobotics/Fast-RTPS | 340f5a9fa1c504483c59b73c540f52ab659e1f46 | [
"Apache-2.0"
] | 3 | 2020-07-15T01:54:02.000Z | 2021-06-14T04:26:14.000Z | // 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... | 31.939227 | 114 | 0.736551 | ihmcrobotics |
8d866fcdbb9ed25e8f69fe779755689557e29aa3 | 35,494 | cpp | C++ | lib/ProgramOptions.cpp | ToolsOnAir/gl-frame-bender | f2c24ad3ddaeea50b6d69f50890c09a5d59a3a18 | [
"MIT"
] | 6 | 2015-03-20T00:46:06.000Z | 2021-02-01T09:04:59.000Z | lib/ProgramOptions.cpp | ToolsOnAir/gl-frame-bender | f2c24ad3ddaeea50b6d69f50890c09a5d59a3a18 | [
"MIT"
] | null | null | null | lib/ProgramOptions.cpp | ToolsOnAir/gl-frame-bender | f2c24ad3ddaeea50b6d69f50890c09a5d59a3a18 | [
"MIT"
] | 2 | 2016-11-28T20:26:17.000Z | 2021-02-01T09:05:00.000Z | /* Copyright (c) 2015 Heinrich Fink <hfink@toolsonair.com>
* Copyright (c) 2014 ToolsOnAir Broadcast Engineering GmbH
*
* 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 restrictio... | 42.558753 | 159 | 0.665549 | ToolsOnAir |
8d8c3e1b5f9188fcb7dd5f617a2c59533ae50128 | 1,715 | cpp | C++ | Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp | aKhfagy/Data-Structures-and-Algorithms-Specialization | 3f5582f10c55e108add47292fa40e0eda6910e2d | [
"CC0-1.0"
] | 1 | 2021-01-25T09:56:15.000Z | 2021-01-25T09:56:15.000Z | Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp | aKhfagy/data-structures-algorithms | 3f5582f10c55e108add47292fa40e0eda6910e2d | [
"CC0-1.0"
] | null | null | null | Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp | aKhfagy/data-structures-algorithms | 3f5582f10c55e108add47292fa40e0eda6910e2d | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <cassert>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <climits>
using std::vector;
using std::string;
using std::max;
using std::min;
using ll = long long;
long long eval(long long a, long long b, char op) {
if (op == '*') {
return a * b;... | 23.175676 | 75 | 0.377843 | aKhfagy |
8d8caec8ba8a05cb849aab8543e869882170d457 | 8,111 | cc | C++ | old/rama_dialogblocks/sweep.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | old/rama_dialogblocks/sweep.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 127 | 2017-11-01T01:28:28.000Z | 2021-03-18T05:12:21.000Z | old/rama_dialogblocks/sweep.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 2 | 2017-10-20T01:16:49.000Z | 2018-11-04T02:36:53.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: sweep.cc
// Purpose:
// Author:
// Modified by:
// Created:
// RCS-ID:
// Copyright:
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Precompiled header:
#include "../st... | 30.152416 | 153 | 0.670078 | teenylasers |
8d8d3317296e0016bc5ce73a2f7d0e60fe2f33d7 | 12,565 | cpp | C++ | compiler/luci/import/src/GraphBuilderRegistry.cpp | wateret/ONE | 4b1c4721248887d68a18f97d6903e459675163fc | [
"Apache-2.0"
] | null | null | null | compiler/luci/import/src/GraphBuilderRegistry.cpp | wateret/ONE | 4b1c4721248887d68a18f97d6903e459675163fc | [
"Apache-2.0"
] | 1 | 2020-09-23T23:12:23.000Z | 2020-09-23T23:20:34.000Z | compiler/luci/import/src/GraphBuilderRegistry.cpp | s-barannikov/ONE | 608121ca5a790a36a87889934f78574d27df7077 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Samsung Electronics 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... | 75.239521 | 100 | 0.52877 | wateret |
8d8f2ea8a7ecb7dfebcebb3f6227866647f7a0a7 | 44,222 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_FLASH_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_FLASH_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_FLASH_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_FLASH_MIB_
#define _CISCO_FLASH_MIB_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace CISCO_FLASH_MIB {
class CISCOFLASHMIB : public ydk::Entity
{
public:
CISCOFLASHMIB();
~CISCOFLASHMIB();
... | 50.08154 | 162 | 0.696735 | CiscoDevNet |
8d944ad508ecbc8b3457f025a558c30d21065fea | 2,273 | cpp | C++ | cheats/hooks/paintTraverse.cpp | DemonLoverHvH/csgo | f7ff0211fd843bbf00cac5aa62422e5588552b23 | [
"MIT"
] | null | null | null | cheats/hooks/paintTraverse.cpp | DemonLoverHvH/csgo | f7ff0211fd843bbf00cac5aa62422e5588552b23 | [
"MIT"
] | null | null | null | cheats/hooks/paintTraverse.cpp | DemonLoverHvH/csgo | f7ff0211fd843bbf00cac5aa62422e5588552b23 | [
"MIT"
] | null | null | null | #include "hooks.hpp"
#include "../menu/menuX88.hpp"
#include "../features/visuals/player.hpp"
#include "../features/aimbot/aimbot.hpp"
#include "../features/visuals/world.hpp"
#include "../features/visuals/radar.hpp"
#include "../features/misc/misc.hpp"
#include "../menu/GUI/drawing.hpp"
#include "../globals.hpp"
#pra... | 23.677083 | 113 | 0.678839 | DemonLoverHvH |
8d94fb1a5d590c30fa82d32647ef6540e428086d | 9,299 | cpp | C++ | ex_4/ex_4.cpp | davidjgmarques/Monte-Carlo-exercises | 6c31d524ebfcb434799b86714a7209193729d2d7 | [
"MIT"
] | null | null | null | ex_4/ex_4.cpp | davidjgmarques/Monte-Carlo-exercises | 6c31d524ebfcb434799b86714a7209193729d2d7 | [
"MIT"
] | null | null | null | ex_4/ex_4.cpp | davidjgmarques/Monte-Carlo-exercises | 6c31d524ebfcb434799b86714a7209193729d2d7 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <math.h>
#include <chrono>
#include <ctime>
#include <cstdlib>
#include <time.h>
#include <vector>
#include <random>
#include "TCanvas.h"
#include "TStyle.h"
#include "TGraph.h"
#include "TEllipse.h"
#include "TAxis.h"
#include "TLi... | 30.488525 | 126 | 0.600172 | davidjgmarques |
8d953c9d558715d34c2319378d578e180bb35e12 | 3,682 | cpp | C++ | src/VDF/Sources/Evaluateurs/Eval_Puiss_Neutr_VDF_Elem.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | 1 | 2021-10-04T09:20:19.000Z | 2021-10-04T09:20:19.000Z | src/VDF/Sources/Evaluateurs/Eval_Puiss_Neutr_VDF_Elem.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | null | null | null | src/VDF/Sources/Evaluateurs/Eval_Puiss_Neutr_VDF_Elem.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
* Copyright (c) 2015 - 2016, CEA
* 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 mus... | 39.591398 | 260 | 0.63308 | pledac |
8d95b9dab635a3344095a5716af257b108db208f | 43 | hh | C++ | Include/Luce/IsOriginalType.hh | kmc7468/luce | 6f71407f250dbc0428ceba33aeef345cc601db34 | [
"MIT"
] | 23 | 2017-02-09T11:48:01.000Z | 2017-04-08T10:19:21.000Z | Include/Luce/IsOriginalType.hh | kmc7468/luce | 6f71407f250dbc0428ceba33aeef345cc601db34 | [
"MIT"
] | null | null | null | Include/Luce/IsOriginalType.hh | kmc7468/luce | 6f71407f250dbc0428ceba33aeef345cc601db34 | [
"MIT"
] | null | null | null | #include <Luce/TypeTrait/IsOriginalType.hh> | 43 | 43 | 0.837209 | kmc7468 |
8d95dbe987289460d119fa679b03aa406d3fc39d | 1,345 | cpp | C++ | 201-300/279-Perfect_Squares-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | 1 | 2018-10-02T22:44:52.000Z | 2018-10-02T22:44:52.000Z | 201-300/279-Perfect_Squares-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | 201-300/279-Perfect_Squares-m.cpp | ysmiles/leetcode-cpp | e7e6ef11224c7383071ed8efbe2feac313824a71 | [
"BSD-3-Clause"
] | null | null | null | // Given a positive integer n, find the least number of perfect square numbers
// (for example, 1, 4, 9, 16, ...) which sum to n.
// For example, given n = 12, return 3 because 12 = 4 + 4 + 4; given n = 13,
// return 2 because 13 = 4 + 9.
// Credits:
// Special thanks to @jianchao.li.fighter for adding this problem... | 24.907407 | 79 | 0.466171 | ysmiles |
8d95fe88cdcb44732db0ad8b72a04e01decd8489 | 2,279 | cpp | C++ | libsrc/leddevice/dev_other/LedDeviceFile.cpp | Bosken85/hyperion.ng | 55253b53224b2598b454e561127c23376ff73e2e | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 3 | 2017-01-11T07:03:13.000Z | 2020-09-29T05:17:21.000Z | libsrc/leddevice/dev_other/LedDeviceFile.cpp | Bosken85/hyperion.ng | 55253b53224b2598b454e561127c23376ff73e2e | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 4 | 2018-01-02T23:19:58.000Z | 2019-08-31T10:02:52.000Z | libsrc/leddevice/dev_other/LedDeviceFile.cpp | Bosken85/hyperion.ng | 55253b53224b2598b454e561127c23376ff73e2e | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 7 | 2018-01-02T21:30:25.000Z | 2018-10-09T07:28:43.000Z | #include "LedDeviceFile.h"
#include <chrono>
#include <iomanip>
#include <iostream>
LedDeviceFile::LedDeviceFile(const QJsonObject &deviceConfig)
: LedDevice()
{
_devConfig = deviceConfig;
_deviceReady = false;
_printTimeStamp = false;
}
LedDeviceFile::~LedDeviceFile()
{
}
LedDevice* LedDeviceFile::construct(co... | 20.531532 | 109 | 0.663888 | Bosken85 |
8d9c85ff1a60c122b6d7310e71c7d92557198c02 | 2,245 | cpp | C++ | Engine/CherrySoda/Components/Logic/Wiggler.cpp | fountainment/cherry-soda | 3dd0eb7d0b5503ba572ff2104990856ef7a87495 | [
"MIT"
] | null | null | null | Engine/CherrySoda/Components/Logic/Wiggler.cpp | fountainment/cherry-soda | 3dd0eb7d0b5503ba572ff2104990856ef7a87495 | [
"MIT"
] | null | null | null | Engine/CherrySoda/Components/Logic/Wiggler.cpp | fountainment/cherry-soda | 3dd0eb7d0b5503ba572ff2104990856ef7a87495 | [
"MIT"
] | null | null | null | #include <CherrySoda/Components/Logic/Wiggler.h>
#include <CherrySoda/Engine.h>
#include <CherrySoda/Entity.h>
#include <CherrySoda/Util/Math.h>
#include <CherrySoda/Util/STL.h>
namespace cherrysoda {
Wiggler* Wiggler::Create(float duration, float frequency, STL::Action<float> onChange/* = nullptr*/, bool start/* = ... | 19.692982 | 161 | 0.684633 | fountainment |
8d9d6cbf6a5b26984967a25eb16289f9d2a44baf | 1,595 | cpp | C++ | zircon/system/utest/fidl-compiler/flat_ast_tests.cpp | yanyushr/fuchsia | 98e70672a81a206d235503e398f37b7b65581f79 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | zircon/system/utest/fidl-compiler/flat_ast_tests.cpp | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | zircon/system/utest/fidl-compiler/flat_ast_tests.cpp | bootingman/fuchsia2 | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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.
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICEN... | 32.55102 | 98 | 0.775549 | yanyushr |
8d9ddecdf67249e20cdf8922b70bda0bb92f2f9e | 7,037 | cpp | C++ | source/common/rendering/gles/gles_samplers.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 1 | 2022-03-30T15:53:09.000Z | 2022-03-30T15:53:09.000Z | source/common/rendering/gles/gles_samplers.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | source/common/rendering/gles/gles_samplers.cpp | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | /*
** gl_samplers.cpp
**
** Texture sampler handling
**
**---------------------------------------------------------------------------
** Copyright 2015-2019 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that th... | 35.903061 | 116 | 0.77533 | Quake-Backup |
8d9f59e551cb8ff562e4f7744edbcd051282d481 | 2,193 | hpp | C++ | modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2012 - 2013 MetaScale SAS
//
// Distributed under the Boost... | 31.782609 | 191 | 0.639307 | psiha |
8d9fd53c1f599065cd136c0572321601d04fbf26 | 34,009 | cpp | C++ | Sources/ToolChains/Carl/ElCar/Carc/clsbase/create.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/ToolChains/Carl/ElCar/Carc/clsbase/create.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/ToolChains/Carl/ElCar/Carc/clsbase/create.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 28.317236 | 104 | 0.648622 | jingcao80 |
8da01051e45342f754ec1a84c61711a99458bbc5 | 40,282 | ipp | C++ | src/maral/mtl/matrix_ops.ipp | arminms/maral | 72ac000aa5e37702beec3b3423db7ab2e43da01e | [
"BSL-1.0"
] | 1 | 2022-03-01T19:00:17.000Z | 2022-03-01T19:00:17.000Z | src/maral/mtl/matrix_ops.ipp | arminms/maral | 72ac000aa5e37702beec3b3423db7ab2e43da01e | [
"BSL-1.0"
] | 2 | 2016-04-28T18:51:08.000Z | 2016-05-25T19:43:19.000Z | src/maral/mtl/matrix_ops.ipp | arminms/maral | 72ac000aa5e37702beec3b3423db7ab2e43da01e | [
"BSL-1.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// MARAL
// (Molecular Architectural Record & Assembly Library)
//
// Copyright (C) by Armin Madadkar-Sobhani arminms@gmail.com
//
// See the LICENSE file for terms of u... | 34.666093 | 80 | 0.502408 | arminms |
8da624b3256033a18175ddab6f7c33455e62be5a | 8,689 | cpp | C++ | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeRotationLimitNode.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeRotationLimitNode.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeRotationLimitNode.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 36.508403 | 172 | 0.687421 | jeikabu |
8daa226990508d749b8fe10c744ea91111c11ad8 | 14,755 | cpp | C++ | tcp_client/imager/Image_viewer.cpp | v0d0m3r/testing_task | d5fbb01bf4b6736dce43101397247da725df9c65 | [
"MIT"
] | null | null | null | tcp_client/imager/Image_viewer.cpp | v0d0m3r/testing_task | d5fbb01bf4b6736dce43101397247da725df9c65 | [
"MIT"
] | null | null | null | tcp_client/imager/Image_viewer.cpp | v0d0m3r/testing_task | d5fbb01bf4b6736dce43101397247da725df9c65 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// Qt
#include <QtWidgets>
#include <QAction>
//------------------------------------------------------------------------------
// Local
#include "Image_viewer.hpp"
#include "imager_lib/Transmit_image_dialog.hpp"
//-----------------------... | 33.008949 | 115 | 0.564351 | v0d0m3r |
8daa6dd5b5470d4783705cc0136e8ddc06d4b50a | 6,135 | cc | C++ | tests/unit/test_reconstruct.cc | PhilMiller/checkpoint | 7d44a3b56057272fc492a3d7e882a568d1fd411b | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_reconstruct.cc | PhilMiller/checkpoint | 7d44a3b56057272fc492a3d7e882a568d1fd411b | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_reconstruct.cc | PhilMiller/checkpoint | 7d44a3b56057272fc492a3d7e882a568d1fd411b | [
"BSD-3-Clause"
] | null | null | null | /*
//@HEADER
// *****************************************************************************
//
// test_reconstruct.cc
// DARMA Toolkit v. 1.0.0
// DARMA/checkpoint => Serialization Library
//
// Copyright 2019 National Technology & Engineering Solu... | 26.217949 | 81 | 0.704645 | PhilMiller |
8daac0cc288d290bcc9ddf7aac1a4b8862db03a9 | 1,403 | cpp | C++ | source/framework/benchmark/src/dummy_benchmark.cpp | OliverSchmitz/lue | da097e8c1de30724bfe7667cc04344b6535b40cd | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/framework/benchmark/src/dummy_benchmark.cpp | OliverSchmitz/lue | da097e8c1de30724bfe7667cc04344b6535b40cd | [
"MIT"
] | 262 | 2016-08-11T10:12:02.000Z | 2020-10-13T18:09:16.000Z | source/framework/benchmark/src/dummy_benchmark.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 1 | 2020-03-11T09:49:41.000Z | 2020-03-11T09:49:41.000Z | #include "lue/framework/benchmark/benchmark.hpp"
#include "lue/framework/benchmark/main.hpp"
#include <iostream>
#include <random>
#include <thread>
static void dummy(
lue::benchmark::Environment const& environment,
lue::benchmark::Task const& task)
{
using namespace std::chrono_literals;
auto const ... | 26.980769 | 75 | 0.709195 | OliverSchmitz |
8dada646277b764f546a21946958702c52f79cb9 | 337 | cpp | C++ | 1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | 2 | 2021-04-20T21:22:37.000Z | 2021-04-20T21:23:09.000Z | 1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | null | null | null | 1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | null | null | null | // media aritmetica a cifrelor nenule
#include <iostream>
using namespace std;
int main()
{
int sum = 0, nrcif = 0, medie = 0;
int n;
cin>>n;
while(n)
{
int uc = n%10;
if(uc > 0)
{
sum += uc;
nrcif++;
}
n = n/10;
}
medie = sum/nrcif;
cout<<"Media aritmetica este "<<medi... | 13.48 | 40 | 0.525223 | RegusAl |
8dae4a9315bd5bcae393e27e7d9e4a008b502a12 | 2,474 | cpp | C++ | Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS 1
#include <Windows.h>
#include <windowsx.h>
#include <ApplicationBase//Application.hpp>
#include <Application/ApplicationFactory.hpp>
#include <PlatformCore/PlatformCore.hpp>
#include <Core/Log.hpp>
#include <Core/Containers/UniquePointer.hpp>
#include <Core/Timer.hpp>
#include <Core/... | 26.319149 | 109 | 0.731205 | Septus10 |
8daeb8b490e76bb7e5ae3363951261a4bcd50e36 | 26,662 | cpp | C++ | samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp | fynv/Vulkan-Samples | bdb733ca258686668078de9026e11ca21580d6a7 | [
"Apache-2.0"
] | null | null | null | samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp | fynv/Vulkan-Samples | bdb733ca258686668078de9026e11ca21580d6a7 | [
"Apache-2.0"
] | null | null | null | samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp | fynv/Vulkan-Samples | bdb733ca258686668078de9026e11ca21580d6a7 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2019, Sascha Willems
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* Un... | 40.830015 | 181 | 0.746231 | fynv |
8dafa14508f0b02ad248e15e43b72c3c6f628979 | 4,819 | cpp | C++ | Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp | wangminzt/AI_FPS | f04c1d6202a92e362b86eaa60245f2e9f3c252d1 | [
"MIT"
] | 3 | 2020-07-19T22:44:25.000Z | 2020-08-06T08:11:31.000Z | Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp | wangminzt/AI_FPS | f04c1d6202a92e362b86eaa60245f2e9f3c252d1 | [
"MIT"
] | null | null | null | Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp | wangminzt/AI_FPS | f04c1d6202a92e362b86eaa60245f2e9f3c252d1 | [
"MIT"
] | 1 | 2021-04-15T05:56:04.000Z | 2021-04-15T05:56:04.000Z | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "ShooterGame.h"
#include "ShooterStyle.h"
#include "SlateGameResources.h"
TSharedPtr< FSlateStyleSet > FShooterStyle::ShooterStyleInstance = NULL;
void FShooterStyle::Initialize()
{
if ( !ShooterStyleInstance.IsValid() )
{
ShooterS... | 36.233083 | 140 | 0.736252 | wangminzt |
8db2b9ef1e6f924bd79aef48af618ffcb3626b49 | 49,803 | cc | C++ | GeneratorInterface/Hydjet2Interface/src/Hydjet2Hadronizer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | GeneratorInterface/Hydjet2Interface/src/Hydjet2Hadronizer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | GeneratorInterface/Hydjet2Interface/src/Hydjet2Hadronizer.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | /*
##########################
# Hydjet2 #
# version: 2.2.0 patch1 #
##########################
Interface to the HYDJET++ generator, produces HepMC events
Author: Andrey Belyaev (Andrey.Belyaev@cern.ch)
Hydjet2Hadronizer is the modified InitialStateHydjet
HYDJET++
version 2.2:
InitialStateHydjet is ... | 40.65551 | 231 | 0.608257 | nistefan |
8db2c34a04b97b0a5c4c04db0dddd9a87582e51a | 14,334 | cc | C++ | chrome/browser/enterprise/reporting/report_request_queue_generator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/enterprise/reporting/report_request_queue_generator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | chrome/browser/enterprise/reporting/report_request_queue_generator_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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/enterprise/browser/reporting/report_request_queue_generator.h"
#include <vector>
#include "base/run_loop.h"
#include "base/strings/... | 39.706371 | 83 | 0.73657 | Yannic |
8db3164e1e1928594f36744cdde0b2d221b8b750 | 509 | cpp | C++ | Searching & Sorting/Two number with sum closeset to zero.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 9 | 2020-10-01T09:29:10.000Z | 2022-02-12T04:58:41.000Z | Searching & Sorting/Two number with sum closeset to zero.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 6 | 2020-10-03T16:08:58.000Z | 2020-10-14T12:06:25.000Z | Searching & Sorting/Two number with sum closeset to zero.cpp | vermagaurav8/GeeksforGeeks | f54d3297337981b5fc5054272cfa6788011c2c5a | [
"Apache-2.0"
] | 17 | 2020-10-01T09:17:27.000Z | 2021-06-18T09:36:31.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;cin>>n;
while(n--)
{
int m; cin>>m;
vector<int>v(m);
for(int i=0;i<m;i++)
cin>>v[i];
sort(v.begin(),v.end());
int l=0,r=v.size()-1,sum=0;
int m_sum=v[0]+v[r];
while(l<r)
{
... | 14.138889 | 45 | 0.400786 | vermagaurav8 |
8db563593207e9bd12dae2c1e3445a555a504a4c | 10,922 | cpp | C++ | src/lib/tvgShape.cpp | Samsung/thorvg | 906679cbeb62539e25fea1416b35e806c784e952 | [
"MIT"
] | 187 | 2020-08-24T04:45:30.000Z | 2022-03-30T20:14:21.000Z | src/lib/tvgShape.cpp | Samsung/thorvg | 906679cbeb62539e25fea1416b35e806c784e952 | [
"MIT"
] | 666 | 2020-09-10T06:45:14.000Z | 2022-03-30T07:11:16.000Z | src/lib/tvgShape.cpp | Samsung/thorvg | 906679cbeb62539e25fea1416b35e806c784e952 | [
"MIT"
] | 57 | 2020-08-24T05:15:41.000Z | 2022-03-22T11:15:25.000Z | /*
* Copyright (c) 2020-2021 Samsung Electronics Co., Ltd. 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 righ... | 25.578454 | 110 | 0.602088 | Samsung |
8dba60880f4e8f98eb53bb8235ed7a749ee3480c | 2,758 | cpp | C++ | CMinus/CMinus/evaluator/class_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/evaluator/class_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | CMinus/CMinus/evaluator/class_evaluator.cpp | benbraide/CMinus | 3b845e0bc22840b549f108bf6600f1f34d865e7b | [
"MIT"
] | null | null | null | #include "../type/class_type.h"
#include "class_evaluator.h"
cminus::evaluator::class_::~class_() = default;
std::shared_ptr<cminus::memory::reference> cminus::evaluator::class_::evaluate_unary_left(logic::runtime &runtime, const operator_type &op, std::shared_ptr<memory::reference> target) const{
auto callable = f... | 48.385965 | 216 | 0.741842 | benbraide |
8dbb81d0405ac9ac1d8493331358cd49c1650292 | 3,530 | cc | C++ | src/search_local/index_storage/common/plugin_dgram.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | 3 | 2021-08-18T09:59:42.000Z | 2021-09-07T03:11:28.000Z | src/search_local/index_storage/common/plugin_dgram.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null | src/search_local/index_storage/common/plugin_dgram.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/sockios.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include "plugin_agent_mgr.h"
#include "plugin_dgram.h"
#include "plugin_unit.h"
#in... | 26.541353 | 134 | 0.561473 | jdisearch |
8dbd09b2d4428c42a845c34d3c2d54bcf4c221e8 | 3,921 | cpp | C++ | lesson15/src/mainDijkstra.cpp | forsakenmap/CPPExercises2021 | 48b91b86aa0f02d462fd7fac3d08fed8468c1506 | [
"MIT"
] | null | null | null | lesson15/src/mainDijkstra.cpp | forsakenmap/CPPExercises2021 | 48b91b86aa0f02d462fd7fac3d08fed8468c1506 | [
"MIT"
] | null | null | null | lesson15/src/mainDijkstra.cpp | forsakenmap/CPPExercises2021 | 48b91b86aa0f02d462fd7fac3d08fed8468c1506 | [
"MIT"
] | null | null | null | #include <vector>
#include <sstream>
#include <iostream>
#include <stdexcept>
// беда не работает дайте руки и мозг
int debugPoint(int line) {
if (line < 0)
return 0;
// You can put breakpoint at the following line to catch any rassert failure:
return line;
}
#define rassert(condition, message) if... | 29.704545 | 205 | 0.502678 | forsakenmap |
8dbd74f8d6df869cf70a0e3d78d38b3a892d5fdd | 4,711 | cpp | C++ | Test.cpp | shaiBonfil/CPP-Ex1 | ec9a82b8de9b99e3dd4488781b363ec36c95509e | [
"MIT"
] | null | null | null | Test.cpp | shaiBonfil/CPP-Ex1 | ec9a82b8de9b99e3dd4488781b363ec36c95509e | [
"MIT"
] | null | null | null | Test.cpp | shaiBonfil/CPP-Ex1 | ec9a82b8de9b99e3dd4488781b363ec36c95509e | [
"MIT"
] | null | null | null | /**
*
* AUTHOR: <Shai Bonfil>
*
* This is a test that gets input of eight characters(less or more
* is invalid input), and the purpose is to represent snowman in
* a format like you can see in the link below - HNLRXYTB.
* Each valid letter is number between 1 to 4 which presets
* the following things:
*
* H... | 35.421053 | 96 | 0.525791 | shaiBonfil |
8dbda768e6214c57f275a3994a6e46cb9fb44ef4 | 393 | cpp | C++ | pbe/src/pbe/Core/Math/Common.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/Core/Math/Common.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/Core/Math/Common.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "Common.h"
#include <glm/gtx/matrix_decompose.hpp>
std::tuple<glm::vec3, glm::quat, glm::vec3> GetTransformDecomposition(const glm::mat4& transform)
{
glm::vec3 scale, translation, skew;
glm::vec4 perspective;
glm::quat orientation;
glm::decompose(transform, scale, orientation, translat... | 24.5625 | 97 | 0.740458 | pavilbezpravil |
8dc01928c6b39a89fb33198e40721f77c62e262f | 5,077 | cpp | C++ | Modules/Core/vaMemory.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 110 | 2018-09-04T20:33:59.000Z | 2021-12-17T08:46:11.000Z | Modules/Core/vaMemory.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 5 | 2018-09-05T20:57:08.000Z | 2021-02-24T09:02:31.000Z | Modules/Core/vaMemory.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 20 | 2018-09-05T00:41:13.000Z | 2021-08-04T01:31:50.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Intel Corporation
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... | 52.340206 | 1,446 | 0.637187 | magcius |
8dc09ebb1c96844d37a252c065006eefe7b439ea | 2,919 | cpp | C++ | A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp | satoshiSchubert/MIT_6.837_CG | df17d4daafbdf2350d44076205a06f87593bbc4a | [
"MIT"
] | null | null | null | A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp | satoshiSchubert/MIT_6.837_CG | df17d4daafbdf2350d44076205a06f87593bbc4a | [
"MIT"
] | null | null | null | A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp | satoshiSchubert/MIT_6.837_CG | df17d4daafbdf2350d44076205a06f87593bbc4a | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "raytracing_stats.h"
int RayTracingStats::width;
int RayTracingStats::height;
BoundingBox *RayTracingStats::bbox;
int RayTracingStats::num_x;
int RayTracingStats::num_y;
int RayTracingStats::num_z;
unsigned long long RayTracingStats::start_time;
unsigned long long RayTracingStats::num_nons... | 39.986301 | 103 | 0.566975 | satoshiSchubert |
8dc1efe285244301c8bc86b56fd353a27ed544a3 | 10,193 | cpp | C++ | Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | null | null | null | Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | null | null | null | Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T08:20:18.000Z | 2019-01-09T08:20:18.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 29.544928 | 161 | 0.725596 | ZP-Hust |
8dc461f2b0926fdcb082a53c68d6b1ab7f4e71fa | 6,020 | cc | C++ | supersonic/cursor/core/aggregate_scalar_test.cc | ruccsbingo/parallel_supersonic | e21f866b46d00f606d2d0d472346bfb140fa3aba | [
"Apache-2.0"
] | null | null | null | supersonic/cursor/core/aggregate_scalar_test.cc | ruccsbingo/parallel_supersonic | e21f866b46d00f606d2d0d472346bfb140fa3aba | [
"Apache-2.0"
] | null | null | null | supersonic/cursor/core/aggregate_scalar_test.cc | ruccsbingo/parallel_supersonic | e21f866b46d00f606d2d0d472346bfb140fa3aba | [
"Apache-2.0"
] | null | null | null | // Copyright 2010 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... | 40.133333 | 80 | 0.691694 | ruccsbingo |
8dc4be40baf57c5481b922d3345f37176d7c3963 | 1,937 | cpp | C++ | tests/Ontology/AddressTests.cpp | baophucct/wallet-core | 9583b45d732fa442f73090c02903a97f09dff6a8 | [
"MIT"
] | null | null | null | tests/Ontology/AddressTests.cpp | baophucct/wallet-core | 9583b45d732fa442f73090c02903a97f09dff6a8 | [
"MIT"
] | null | null | null | tests/Ontology/AddressTests.cpp | baophucct/wallet-core | 9583b45d732fa442f73090c02903a97f09dff6a8 | [
"MIT"
] | 1 | 2019-03-11T08:54:14.000Z | 2019-03-11T08:54:14.000Z | // Copyright © 2017-2019 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "PublicKey.h"
#include "HexCoding.h"
#include "Ont... | 43.044444 | 120 | 0.782137 | baophucct |
8dc52cbb04c435ac9f0f19ca3807c7f4486c6c31 | 273 | cpp | C++ | Stack_DSA/Stack_DSA/main.cpp | AlexStoyanova/DSA-FMI | 512c925665b63e1c0934954ff26c2b1b755c10a7 | [
"MIT"
] | 1 | 2019-12-22T23:37:32.000Z | 2019-12-22T23:37:32.000Z | Stack_DSA/Stack_DSA/main.cpp | AlexStoyanova/DSA-FMI | 512c925665b63e1c0934954ff26c2b1b755c10a7 | [
"MIT"
] | null | null | null | Stack_DSA/Stack_DSA/main.cpp | AlexStoyanova/DSA-FMI | 512c925665b63e1c0934954ff26c2b1b755c10a7 | [
"MIT"
] | null | null | null | #include <iostream>
#include "Stack.h"
int main()
{
Stack<int> stack(6);
stack.peek();
stack.push(1);
stack.push(5);
std::cout << stack.peek() << std::endl;
stack.pop();
std::cout << stack.peek() << std::endl;
std::cout << stack.size() << std::endl;
return 0;
} | 16.058824 | 40 | 0.593407 | AlexStoyanova |
44ef77164d82668b870baabd6ceb74c9317b7813 | 3,902 | cpp | C++ | thirdparty/vesta/interaction/ObserverController.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 6 | 2018-09-05T12:41:59.000Z | 2021-07-01T05:34:23.000Z | thirdparty/vesta/interaction/ObserverController.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-02-07T19:09:21.000Z | 2015-08-14T03:15:42.000Z | thirdparty/vesta/interaction/ObserverController.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-03-25T15:50:31.000Z | 2017-12-06T12:16:47.000Z | /*
* $Revision: 223 $ $Date: 2010-03-30 05:44:44 -0700 (Tue, 30 Mar 2010) $
*
* Copyright by Astos Solutions GmbH, Germany
*
* this file is published under the Astos Solutions Free Public License
* For details on copyright and terms of use see
* http://www.astos.de/Astos_Solutions_Free_Public_License.html
*/
#... | 25.337662 | 115 | 0.665812 | hoehnp |
44f4a9ce8b35aade21fe0e1c36d12bf44fc6deea | 2,978 | cpp | C++ | Client/test/SCPort.cpp | ecmwf/ecflow | 2498d0401d3d1133613d600d5c0e0a8a30b7b8eb | [
"Apache-2.0"
] | 11 | 2020-08-07T14:42:45.000Z | 2021-10-21T01:59:59.000Z | Client/test/SCPort.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 10 | 2020-08-07T14:36:27.000Z | 2022-02-22T06:51:24.000Z | Client/test/SCPort.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 6 | 2020-08-07T14:34:38.000Z | 2022-01-10T12:06:27.000Z |
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// Name :
// Author : Avi
// Revision : $Revision: #8 $
//
// Copyright 2009-2020 ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/lic... | 33.840909 | 123 | 0.613163 | ecmwf |
44f5b7070c312aa09d95f6581dc550ece247e151 | 279 | hpp | C++ | src/pkao_util.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 37 | 2015-10-30T21:56:26.000Z | 2021-11-30T15:33:26.000Z | src/pkao_util.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 27 | 2015-01-06T05:45:55.000Z | 2020-01-29T21:40:22.000Z | src/pkao_util.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 8 | 2016-02-07T23:31:03.000Z | 2020-07-12T08:51:41.000Z | #ifndef PKAO_UTIL_HPP
#define PKAO_UTIL_HPP
/*
pkao_util.hpp
2014/11/02
psycommando@gmail.com
Description: Function for running the kaomado utility command line tool!
*/
namespace pkao_util
{
//Runs the tool
//int RunPKaoUtil( int argc, const char * argv[] );
};
#endif | 17.4375 | 72 | 0.738351 | SkyTemple |
44f6c833a316625f1aec35de8f1722bfcaa615d8 | 922 | hpp | C++ | include/mizuiro/color/format/homogenous_ns/types/pointer.hpp | cpreh/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | 1 | 2015-08-22T04:19:39.000Z | 2015-08-22T04:19:39.000Z | include/mizuiro/color/format/homogenous_ns/types/pointer.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | include/mizuiro/color/format/homogenous_ns/types/pointer.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// 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)
#ifndef MIZUIRO_COLOR_FORMAT_HOMOGENOUS_NS_TYPES_POINTER_HPP_INCLUDED
#define MIZUIRO_COLOR_FORMAT_... | 32.928571 | 98 | 0.752711 | cpreh |
44f77fe752355062d0b3ad2abb6b9fb2d2e89117 | 4,910 | cpp | C++ | inference-engine/tests/functional/shared_test_classes/src/subgraph/reshape_permute_conv_permute_reshape_act.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 1 | 2020-07-07T10:13:00.000Z | 2020-07-07T10:13:00.000Z | inference-engine/tests/functional/shared_test_classes/src/subgraph/reshape_permute_conv_permute_reshape_act.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 105 | 2020-06-04T00:23:29.000Z | 2022-02-21T13:04:33.000Z | inference-engine/tests/functional/shared_test_classes/src/subgraph/reshape_permute_conv_permute_reshape_act.cpp | v-Golubev/openvino | 26936d1fbb025c503ee43fe74593ee9d7862ab15 | [
"Apache-2.0"
] | 4 | 2021-04-02T08:48:38.000Z | 2021-07-01T06:59:02.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "shared_test_classes/subgraph/reshape_permute_conv_permute_reshape_act.hpp"
namespace SubgraphTestsDefinitions {
std::string ConvReshapeAct::getTestCaseName(testing::TestParamInfo<ConvReshapeActParams> obj) {
I... | 45.462963 | 145 | 0.658656 | NikDemoShow |
44f99489ab1e36fc67b8b82f4daf4bf263a0c57a | 55,164 | cpp | C++ | src/slam/Debug.cpp | meitiever/SLAM-BA | 57ee2af8508300e818feb67f7adbe026eee3ada7 | [
"MIT"
] | null | null | null | src/slam/Debug.cpp | meitiever/SLAM-BA | 57ee2af8508300e818feb67f7adbe026eee3ada7 | [
"MIT"
] | null | null | null | src/slam/Debug.cpp | meitiever/SLAM-BA | 57ee2af8508300e818feb67f7adbe026eee3ada7 | [
"MIT"
] | null | null | null | /*
+-----------------------------------+
| |
| *** Debugging functionality *** |
| |
| Copyright (c) -tHE SWINe- 2015 |
| |
| Debug.cpp ... | 36.339921 | 247 | 0.619335 | meitiever |
44fd3f6002bdfc3d75dcd08eb50bd0e6657ed9ec | 31,190 | cxx | C++ | VTKExtensions/IOGeneral/vtkPhastaReader.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 815 | 2015-01-03T02:14:04.000Z | 2022-03-26T07:48:07.000Z | VTKExtensions/IOGeneral/vtkPhastaReader.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2015-04-28T20:10:37.000Z | 2021-08-20T18:19:01.000Z | VTKExtensions/IOGeneral/vtkPhastaReader.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 328 | 2015-01-22T23:11:46.000Z | 2022-03-14T06:07:52.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPhastaReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed ... | 26.567291 | 99 | 0.588746 | xj361685640 |
44fe008bb5333b2a4a1f2349611e7fb18b6c7013 | 4,022 | hpp | C++ | pythran/pythonic/numpy/fft/ihfft.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/pythonic/numpy/fft/ihfft.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/pythonic/numpy/fft/ihfft.hpp | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | #ifndef PYTHONIC_NUMPY_FFT_IHFFT_HPP
#define PYTHONIC_NUMPY_FFT_IHFFT_HPP
#include "pythonic/include/numpy/fft/ihfft.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/include/utils/array_helper.hpp"
#include "pythonic/types/ndarray.hpp"
#include "pythonic/builtins/None.hpp"
#include "pythonic/numpy/fft/c2c.... | 37.588785 | 79 | 0.584286 | davidbrochart |
44feed8c45f1dcf885a76fabaf3620aecb80c7bc | 4,294 | hpp | C++ | plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.xcframework/ios-x86_64-simulator/WikitudeSDK.framework/Headers/Plane.hpp | Wikitude/wikitude-flutter-plugin-examples | 8ed5e18e8f32e7570328e89df5c69000fda13153 | [
"Apache-2.0"
] | 9 | 2019-12-22T09:03:13.000Z | 2021-08-20T00:46:05.000Z | plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.framework/Headers/Plane.hpp | Wikitude/wikitude-flutter-plugin-examples | 8ed5e18e8f32e7570328e89df5c69000fda13153 | [
"Apache-2.0"
] | 11 | 2019-09-03T15:45:44.000Z | 2022-03-30T11:20:44.000Z | plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.xcframework/ios-arm64/WikitudeSDK.framework/Headers/Plane.hpp | Wikitude/wikitude-flutter-plugin-examples | 8ed5e18e8f32e7570328e89df5c69000fda13153 | [
"Apache-2.0"
] | 3 | 2021-09-01T13:02:11.000Z | 2021-11-26T12:02:26.000Z | //
// Plane.hpp
// WikitudeUniversalSDK
//
// Created by Alexandru Florea on 01.08.18.
// Copyright © 2018 Wikitude. All rights reserved.
//
#ifndef Plane_hpp
#define Plane_hpp
#ifdef __cplusplus
#include <vector>
#include "PlaneType.hpp"
#include "Geometry.hpp"
#include "CompilerAttributes.hpp"
namespace wik... | 38.684685 | 183 | 0.591057 | Wikitude |
44ff9431bee60cd6197bd404e35abce7d38e993a | 15,303 | cpp | C++ | cc/vision/vision.cpp | PEQUI-VSSS/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 9 | 2017-07-18T12:37:09.000Z | 2018-05-01T14:41:48.000Z | cc/vision/vision.cpp | PEQUI-MEC/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 31 | 2018-07-31T13:10:01.000Z | 2022-03-26T16:00:25.000Z | cc/vision/vision.cpp | PEQUI-MEC/VSSS-EMC | 0c2b61e308f754ca91df52e46ba48828168223df | [
"MIT"
] | 2 | 2017-10-01T16:09:20.000Z | 2018-05-01T17:39:59.000Z | #include <Geometry/Geometry.h>
#include <Strategy2/Field.h>
#include "vision.hpp"
using namespace vision;
std::map<unsigned int, Vision::RecognizedTag> Vision::run(cv::Mat raw_frame) {
in_frame = raw_frame.clone();
preProcessing();
findTags();
//findElements();
return pick_a_tag();
}
void Vision::preProcessing... | 33.632967 | 161 | 0.673071 | PEQUI-VSSS |
7800d16778bc873e2a6022ce7c163fe5bd3223cf | 464 | hh | C++ | TrkFitter/TrkLineMaker.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | TrkFitter/TrkLineMaker.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | TrkFitter/TrkLineMaker.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | //--------------------------------------------------------------------------
// File and Version Information:
// $Id: TrkLineMaker.hh 104 2010-01-15 12:13:14Z stroili $
//
// Author(s): Gerhard Raven
//
//------------------------------------------------------------------------
#ifndef TRKLINEMAKER_HH
#define TRKL... | 27.294118 | 76 | 0.506466 | brownd1978 |
78019d43eaf3bd8f6b49eaf96e4ec72b9aa73015 | 4,238 | cpp | C++ | src/Base/View.cpp | geenux/choreonoid | 25e534dd4dbf1ac890cdfe80b51add9c4f81e505 | [
"MIT"
] | null | null | null | src/Base/View.cpp | geenux/choreonoid | 25e534dd4dbf1ac890cdfe80b51add9c4f81e505 | [
"MIT"
] | null | null | null | src/Base/View.cpp | geenux/choreonoid | 25e534dd4dbf1ac890cdfe80b51add9c4f81e505 | [
"MIT"
] | null | null | null | /**
@author Shin'ichiro Nakaoka
*/
#include "View.h"
#include "ViewArea.h"
#include "ViewManager.h"
#include "App.h"
#include "AppConfig.h"
#include <QLayout>
#include <QKeyEvent>
#include <QTabWidget>
using namespace std;
using namespace cnoid;
View::View()
{
isActive_ = false;
viewArea_ = 0;
defaul... | 18.752212 | 97 | 0.614205 | geenux |
780233af3e04cbfb664be3e2a14ea4353dcf9761 | 6,218 | cpp | C++ | fboss/agent/hw/test/HwCpuFb303StatsTests.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/test/HwCpuFb303StatsTests.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/test/HwCpuFb303StatsTests.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-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.
*
*/
#in... | 33.430108 | 80 | 0.680444 | TomMD |
78029370fa5c23f92c6e5694ed03dcd806a2a202 | 3,091 | cc | C++ | srcs/lox/passes/pass_runner.cc | edimetia3d/cppLox | 394bb0855c2a9d9b53f179330c2daa341786a04d | [
"MIT"
] | 2 | 2021-12-25T01:45:26.000Z | 2022-02-10T00:50:25.000Z | srcs/lox/passes/pass_runner.cc | edimetia3d/cppLox | 394bb0855c2a9d9b53f179330c2daa341786a04d | [
"MIT"
] | null | null | null | srcs/lox/passes/pass_runner.cc | edimetia3d/cppLox | 394bb0855c2a9d9b53f179330c2daa341786a04d | [
"MIT"
] | null | null | null | //
// LICENSE: MIT
//
#include "pass_runner.h"
#define RUNPASS_AND_UPDATE(KEY_NAME) \
{ \
auto old_value = (KEY_NAME)(); \
auto new_value = RunPass(old_value); \
if (new_value != old_value) { \
(KEY_N... | 36.364706 | 89 | 0.601747 | edimetia3d |
780320aabb11830497141760c1a02e49bf06a584 | 3,401 | hh | C++ | src/parser/gen_parser.hh | ShreyasKhandekar/IEGenLib | 93bce46a3fe0b829c3cb957746a53b7cfc4373b5 | [
"BSD-2-Clause"
] | 5 | 2019-05-20T03:35:41.000Z | 2021-09-16T22:22:13.000Z | src/parser/gen_parser.hh | ShreyasKhandekar/IEGenLib | 93bce46a3fe0b829c3cb957746a53b7cfc4373b5 | [
"BSD-2-Clause"
] | 160 | 2021-01-05T18:34:10.000Z | 2022-03-03T01:27:49.000Z | src/parser/gen_parser.hh | ShreyasKhandekar/IEGenLib | 93bce46a3fe0b829c3cb957746a53b7cfc4373b5 | [
"BSD-2-Clause"
] | 10 | 2015-11-04T17:45:04.000Z | 2022-01-15T08:43:18.000Z | /* A Bison parser, made by GNU Bison 3.0.2. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
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
t... | 30.63964 | 89 | 0.658924 | ShreyasKhandekar |
78040db4c3e0ec693440e0ac4157139790b53a35 | 3,112 | cc | C++ | server/db.cc | proprietary/prv.ec | 0cc763ca1f27eff53780781d987da1e93455704c | [
"Apache-2.0"
] | 1 | 2022-01-12T18:37:38.000Z | 2022-01-12T18:37:38.000Z | server/db.cc | proprietary/prv.ec | 0cc763ca1f27eff53780781d987da1e93455704c | [
"Apache-2.0"
] | null | null | null | server/db.cc | proprietary/prv.ec | 0cc763ca1f27eff53780781d987da1e93455704c | [
"Apache-2.0"
] | null | null | null | #include "server/db.h"
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <span>
#include <exception>
namespace ec_prv {
namespace db {
auto KVStore::open_default() -> KVStore {
const char* EC_PRV_ROCKSDB_DATADIR_PATH = std::getenv("EC_PRV_ROCKSDB_DATADIR_PATH");
if (nullptr == EC... | 29.084112 | 92 | 0.684769 | proprietary |
78056c583afccd8a1339aff0304be824bd66ecc4 | 26 | cpp | C++ | components/core/src/streaming_compression/Compressor.cpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 28 | 2021-07-18T02:21:14.000Z | 2021-09-30T22:46:24.000Z | components/core/src/streaming_compression/Compressor.cpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 15 | 2021-10-12T03:55:07.000Z | 2022-03-24T09:04:35.000Z | components/core/src/streaming_compression/Compressor.cpp | kirkrodrigues/clp | bb81eec43da218a5fa3f3a367e0a24c144bdf0c8 | [
"Apache-2.0"
] | 11 | 2021-10-06T11:35:47.000Z | 2022-03-20T11:40:49.000Z | #include "Compressor.hpp"
| 13 | 25 | 0.769231 | kirkrodrigues |
7806073556f48b53e9f81b5b30dd04733b5ab553 | 515 | hpp | C++ | src/KawaiiEngine/include/graphics/deps.hpp | Mathieu-Lala/Cute_Solar_System_-3 | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | 4 | 2021-06-03T11:20:09.000Z | 2022-02-11T06:52:54.000Z | src/KawaiiEngine/include/graphics/deps.hpp | Mathieu-Lala/Cute_Solar_System_-3 | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | 35 | 2021-05-29T09:25:57.000Z | 2021-06-28T04:49:22.000Z | src/KawaiiEngine/include/graphics/deps.hpp | Mathieu-Lala/Kawaii_Engine | 0bfe496991344709481995af348da2be37a19cac | [
"MIT"
] | null | null | null | #pragma once
#include "helpers/warnings.hpp"
DISABLE_WARNING_PUSH
DISABLE_WARNING_OLD_CAST
#include <imgui.h>
DISABLE_WARNING_POP
#include <imgui_impl_glfw.h>
#include <imgui_impl_opengl3.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
namespace kawe {
namespace ImGuiHelper {
template<typename... Args>
inline auto... | 19.074074 | 87 | 0.741748 | Mathieu-Lala |
780657d535958102269a41c81530e3dbe2f5352d | 1,131 | cpp | C++ | src/main/util/backtrace.cpp | aaronwald/coypu | 9371736309d3d205a43bd7e8972ea4a5621c176f | [
"Apache-2.0"
] | null | null | null | src/main/util/backtrace.cpp | aaronwald/coypu | 9371736309d3d205a43bd7e8972ea4a5621c176f | [
"Apache-2.0"
] | null | null | null | src/main/util/backtrace.cpp | aaronwald/coypu | 9371736309d3d205a43bd7e8972ea4a5621c176f | [
"Apache-2.0"
] | null | null | null | // http://eli.thegreenplace.net/2015/programmatic-access-to-the-call-stack-in-c
#define UNW_LOCAL_ONLY
#include <cxxabi.h>
#include <libunwind.h>
#include <cstdio>
#include <cstdlib>
#include "backtrace.h"
using namespace coypu::backtrace;
void BackTrace::bt() {
unw_cursor_t cursor;
unw_context_t context;
// ... | 25.704545 | 79 | 0.635721 | aaronwald |
7808eb640a7731eb8e80fc180d245ebebb8d74f0 | 7,658 | cpp | C++ | libcaf_core/test/typed_response_promise.cpp | v2nero/actor-framework | c2f811809143d32c598471a20363238b0882a761 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-07-16T19:01:52.000Z | 2020-07-16T19:01:52.000Z | libcaf_core/test/typed_response_promise.cpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/test/typed_response_promise.cpp | Boubou818/actor-framework | da90ef78b26da5d225f039072e616da415c48494 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-02-19T11:25:15.000Z | 2021-02-19T11:25:15.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 33.884956 | 90 | 0.536432 | v2nero |
780983d251b485f9e963bd8bf9de538eec72a7d9 | 310 | cpp | C++ | 657. Judge Route Circle.cpp | rajeev-ranjan-au6/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | 3 | 2020-12-30T00:29:59.000Z | 2021-01-24T22:43:04.000Z | 657. Judge Route Circle.cpp | rajeevranjancom/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | null | null | null | 657. Judge Route Circle.cpp | rajeevranjancom/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | null | null | null | class Solution {
public:
bool judgeCircle(string moves) {
int v = 0, h = 0;
unordered_map<char, int>m{{'R', 1}, {'L', -1}, {'U', -1}, {'D', 1}};
for(auto x: moves)
if(x == 'L' || x == 'R') h += m[x];
else v += m[x];
return v == 0 && h == 0;
}
};
| 25.833333 | 76 | 0.387097 | rajeev-ranjan-au6 |
780affb20c07c1bf973ccc3754fdbdd3ba7993cb | 1,451 | cpp | C++ | CSC-210/Chapter 8/IC6_P3.cpp | FrancesCoronel/cs-hu | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | 2 | 2016-12-05T06:15:34.000Z | 2016-12-15T10:56:50.000Z | CSC-210/Chapter 8/IC6_P3.cpp | fvcproductions/CS-HU | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | null | null | null | CSC-210/Chapter 8/IC6_P3.cpp | fvcproductions/CS-HU | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | 3 | 2019-04-06T01:45:54.000Z | 2020-04-24T16:55:32.000Z | /*
- Read a set of integers that the user enters until they type -1 (keep max at 50)
- Create a function called statisticsValue which pass in 6 parameters: an array, a size, and then 4 variables for sum, average, min, and max which will pass them by reference.
- The values will be calculated in the function and the ... | 18.602564 | 175 | 0.597519 | FrancesCoronel |
780db0f16d2e1f4dbcef4b9c6a10b024a52df3b9 | 10,225 | cpp | C++ | unittests/unit/test_CollisionGroups.cpp | alinen/dart | e84d236f40238654779a2c1541534906a8ad8b93 | [
"BSD-2-Clause"
] | 6 | 2020-10-08T10:09:53.000Z | 2021-10-01T05:59:33.000Z | unittests/unit/test_CollisionGroups.cpp | alinen/dart | e84d236f40238654779a2c1541534906a8ad8b93 | [
"BSD-2-Clause"
] | null | null | null | unittests/unit/test_CollisionGroups.cpp | alinen/dart | e84d236f40238654779a2c1541534906a8ad8b93 | [
"BSD-2-Clause"
] | 2 | 2021-07-26T15:13:59.000Z | 2021-10-04T07:01:56.000Z | /*
* Copyright (c) 2011-2019, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... | 37.730627 | 80 | 0.714034 | alinen |
780ff2c79e995e6a678625367d678f9f8de1c611 | 4,723 | cpp | C++ | ex_ocare_control/src/diffmodbus.cpp | SiChiTong/ros_ocare_nav | 5df256ae9f398cb05f3d0d8c9be124fed5fc2c26 | [
"Apache-2.0"
] | null | null | null | ex_ocare_control/src/diffmodbus.cpp | SiChiTong/ros_ocare_nav | 5df256ae9f398cb05f3d0d8c9be124fed5fc2c26 | [
"Apache-2.0"
] | null | null | null | ex_ocare_control/src/diffmodbus.cpp | SiChiTong/ros_ocare_nav | 5df256ae9f398cb05f3d0d8c9be124fed5fc2c26 | [
"Apache-2.0"
] | 1 | 2018-08-17T03:31:44.000Z | 2018-08-17T03:31:44.000Z | #include "diffmodbus.h"
DiffModbus::DiffModbus(char* _name, size_t _length) :
HWModule(_name, _length),
m_chassis_mode(ChassisModeCMD::MODE_STOP_CMD),
m_left_wheel_torque(0),
m_right_wheel_torque(0),
m_track_torque_mode(TrackingTorqueModeCMD::TORQUE_MED_CMD),
m_sensor_bw_mode(SensorBWModeCMD::W... | 37.784 | 100 | 0.650646 | SiChiTong |