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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b16dbc2861c7692cb9852fe2459715a6185b3df7 | 8,738 | cpp | C++ | src/chronometer.cpp | cbassem/resilient-icnc | 9f94b185358f2af133244fc8c877190bd15ed413 | [
"BSD-3-Clause"
] | 1 | 2018-05-08T18:26:39.000Z | 2018-05-08T18:26:39.000Z | src/chronometer.cpp | cbassem/resilient-icnc | 9f94b185358f2af133244fc8c877190bd15ed413 | [
"BSD-3-Clause"
] | null | null | null | src/chronometer.cpp | cbassem/resilient-icnc | 9f94b185358f2af133244fc8c877190bd15ed413 | [
"BSD-3-Clause"
] | null | null | null | /* *******************************************************************************
* Copyright (c) 2007-2014, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source c... | 39.538462 | 135 | 0.42916 | cbassem |
b16f8ae238fb5a0a3d9fe4685f185719f6bc296d | 2,254 | hpp | C++ | contracts/eoslib/datastream.hpp | cmpt376temper/eos | 74661de324166e0d99ab43c155b640ac0d665a32 | [
"MIT"
] | null | null | null | contracts/eoslib/datastream.hpp | cmpt376temper/eos | 74661de324166e0d99ab43c155b640ac0d665a32 | [
"MIT"
] | null | null | null | contracts/eoslib/datastream.hpp | cmpt376temper/eos | 74661de324166e0d99ab43c155b640ac0d665a32 | [
"MIT"
] | null | null | null | #pragma once
#include <eoslib/system.h>
#include <eoslib/memory.h>
namespace eos {
template<typename T>
class datastream {
public:
datastream( T start, size_t s )
:_start(start),_pos(start),_end(start+s){};
inline void skip( size_t s ){ _pos += s; }
inline bool read( char* d, ... | 31.305556 | 86 | 0.466726 | cmpt376temper |
b1702c0ea9264ff7aa6d3d4f5add84a770c450fa | 378 | cpp | C++ | GradientDescent/GradientDescent/Add.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | GradientDescent/GradientDescent/Add.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | GradientDescent/GradientDescent/Add.cpp | skostrov/GradientDescent | aed56fa9d1452252f76e8841227283372f2e761d | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Add.h"
Add::Add(AbstractOperation* leftOperand_, AbstractOperation* rightOperand_) :
BinaryOperation("+", leftOperand_, rightOperand_)
{
}
Add::~Add()
{
}
OperationPriority Add::GetPriority() const
{
return OperationPriority::LOW;
}
double Add::Eval(const Point& point) const
{
retur... | 16.434783 | 77 | 0.73545 | skostrov |
b170ee095af006f3cd4badce1f32d6f6bb94c275 | 1,572 | cpp | C++ | software_package/testing/old_dev/lib/old/communication/src/Radio/RadioImpl.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 5 | 2020-10-21T23:35:18.000Z | 2021-02-02T19:44:46.000Z | software_package/testing/old_dev/lib/old/communication/src/Radio/RadioImpl.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | null | null | null | software_package/testing/old_dev/lib/old/communication/src/Radio/RadioImpl.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 1 | 2020-10-26T05:13:21.000Z | 2020-10-26T05:13:21.000Z | /**
Concrete Implementation which will inherit RadioInterface.
This will communicate with other packages to get info where appropriate.
*/
#include "RadioImpl.h"
#include <iostream>
RadioImpl::RadioImpl() = default;
RadioImpl::~RadioImpl() = default;
int RadioImpl::getPostFlightData() {
std::cout << "This is... | 25.770492 | 78 | 0.610051 | scottzach1 |
b1747a3875794f8faeb601bb8fd61b87e43928b4 | 8,953 | cpp | C++ | src/ExtFilterAddNormalAttribute/ExtFilterAddNormalAttribute.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | 4 | 2016-06-03T18:41:43.000Z | 2020-04-17T20:28:58.000Z | src/ExtFilterAddNormalAttribute/ExtFilterAddNormalAttribute.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | null | null | null | src/ExtFilterAddNormalAttribute/ExtFilterAddNormalAttribute.cpp | voxie-viewer/voxie | d2b5e6760519782e9ef2e51f5322a3baa0cb1198 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | 40.328829 | 80 | 0.658662 | voxie-viewer |
b175e87d6fa336f7325806f49e508583bf7ae4ee | 14,467 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/windeployqt/elfreader.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/windeployqt/elfreader.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/windeployqt/elfreader.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 tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding va... | 32.954442 | 134 | 0.616645 | GrinCash |
b176143f759e8100867e9c46f3f1ca50b1a30dc8 | 2,879 | cpp | C++ | test/src/test_construction.cpp | oblanchet/tiny-utf8 | a71a1c4c681ed1eb178db641b3e1bc6298bb2327 | [
"BSD-3-Clause"
] | 362 | 2019-04-09T03:23:50.000Z | 2022-03-14T13:46:51.000Z | test/src/test_construction.cpp | oblanchet/tiny-utf8 | a71a1c4c681ed1eb178db641b3e1bc6298bb2327 | [
"BSD-3-Clause"
] | 38 | 2019-05-09T08:40:40.000Z | 2022-02-19T15:54:38.000Z | test/src/test_construction.cpp | oblanchet/tiny-utf8 | a71a1c4c681ed1eb178db641b3e1bc6298bb2327 | [
"BSD-3-Clause"
] | 29 | 2019-04-16T08:34:56.000Z | 2022-03-28T13:55:53.000Z | #include <gtest/gtest.h>
#include <cstdint>
#include <string>
#include <tinyutf8/tinyutf8.h>
#include "helpers/helpers_ssotestutils.h"
TEST(TinyUTF8, CTor_TakeALiteral)
{
tiny_utf8::string str(U"TEST: ツ♫");
EXPECT_EQ(str.length(), 8);
EXPECT_EQ(str.size(), 12);
EXPECT_TRUE(str.requires_unicode());
EXPECT_TRU... | 32.348315 | 145 | 0.757902 | oblanchet |
b17812dd08c90154c813870e3f0b76dd4adde460 | 20,156 | cpp | C++ | source/Lib/CommonLib/CodingStructure.cpp | 0xflotus/vvdec | df4be18ec6d1f9463c3b07f91867ca2c64dc65c1 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/CommonLib/CodingStructure.cpp | 0xflotus/vvdec | df4be18ec6d1f9463c3b07f91867ca2c64dc65c1 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/CommonLib/CodingStructure.cpp | 0xflotus/vvdec | df4be18ec6d1f9463c3b07f91867ca2c64dc65c1 | [
"BSD-3-Clause"
] | null | null | null | /* -----------------------------------------------------------------------------
Software Copyright License for the Fraunhofer Software Library VVdec
(c) Copyright (2018-2020) Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
1. INTRODUCTION
The Fraunhofer Software Library VVdec (“Fraunhofer V... | 33.989882 | 723 | 0.669032 | 0xflotus |
b179788d3174178cc76d01d256c470769778a70b | 570 | hpp | C++ | fmaspc/include/sym/Plugin.hpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | 14 | 2018-01-25T10:31:05.000Z | 2022-02-19T13:08:11.000Z | fmaspc/include/sym/Plugin.hpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | 1 | 2020-12-24T10:10:28.000Z | 2020-12-24T10:10:28.000Z | fmaspc/include/sym/Plugin.hpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | null | null | null | #ifndef __FMASPC_SYM_PLUGIN_H__
#define __FMASPC_SYM_PLUGIN_H__
#include <fma/plugin/Plugin.hpp>
#include <fma/output/DynamicBuffer.hpp>
namespace FMASPC {
namespace sym {
class SpcOutputPlugin : public FMA::plugin::OutputFileWriterPlugin {
public:
SpcOutputPlugin(FMA::Project *project);
const char *getName()... | 17.8125 | 70 | 0.726316 | BenjaminSchulte |
b17999cb5effe94f0864957df7cce845f27e06a9 | 788 | hpp | C++ | benchmarks/module/math/acot/regular/acot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | benchmarks/module/math/acot/regular/acot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | benchmarks/module/math/acot/regular/acot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#in... | 31.52 | 100 | 0.501269 | clayne |
b17af6f0e426e9937f07390459fd1b5a6b9fb094 | 44,754 | cpp | C++ | spine.cpp | ppiecuch/gd_spine | cb938cacec51bcab85a2a2fd0cd48bc3bbcf0bb3 | [
"MIT"
] | null | null | null | spine.cpp | ppiecuch/gd_spine | cb938cacec51bcab85a2a2fd0cd48bc3bbcf0bb3 | [
"MIT"
] | null | null | null | spine.cpp | ppiecuch/gd_spine | cb938cacec51bcab85a2a2fd0cd48bc3bbcf0bb3 | [
"MIT"
] | null | null | null | /******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install, execute, ... | 30.843556 | 206 | 0.712942 | ppiecuch |
b17d9ea147acf9435c14db9a227b6f751b6c148c | 672 | cpp | C++ | practise/3-6.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | 1 | 2016-01-20T08:26:34.000Z | 2016-01-20T08:26:34.000Z | practise/3-6.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | 1 | 2015-10-21T05:38:17.000Z | 2015-11-02T07:42:55.000Z | practise/3-6.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <string>
using namespace std;
// compare two circular string
int Isless(string &s, int p, int q)
{
int len = s.size();
for (int i = 0; i < len; i++)
{
if (s[(p + i) % len] != s[(q + i) % len])
{
return s[(p + i) % len] < s[(q + i) %... | 17.230769 | 55 | 0.407738 | WIZARD-CXY |
b17e6e6c24b272a02bfb24d200f1f7edaaa8c98b | 11,951 | cpp | C++ | ElementTest/properties.cpp | iSplasher/gSplasher | c4870b91940a42a2c2a8e384fbe202543b88b87a | [
"Apache-2.0"
] | null | null | null | ElementTest/properties.cpp | iSplasher/gSplasher | c4870b91940a42a2c2a8e384fbe202543b88b87a | [
"Apache-2.0"
] | 9 | 2017-02-23T18:03:41.000Z | 2017-02-27T17:00:20.000Z | ElementTest/properties.cpp | iSplasher/gSplasher | c4870b91940a42a2c2a8e384fbe202543b88b87a | [
"Apache-2.0"
] | null | null | null | #include "element/core.h"
#include "element/property.h"
#include "catch.hpp"
#include <chrono>
#include <thread>
USING_NAMESPACE
SCENARIO("Regular properties", "[Property]") {
Application* app = Application::instance();
if( !app )
app = new Application();
GIVEN("Simple read-write properties can be instantiate... | 24.439673 | 127 | 0.499707 | iSplasher |
b17f637c17fda6b145b1d6db74da5d737a696424 | 1,550 | cpp | C++ | tblock/source/GameStates/GS_Menu.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | 1 | 2016-03-09T13:03:48.000Z | 2016-03-09T13:03:48.000Z | tblock/source/GameStates/GS_Menu.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | null | null | null | tblock/source/GameStates/GS_Menu.cpp | maximbilan/T-Block | b2eb3701a2567590090947a3c3dfb4afe282695a | [
"MIT"
] | null | null | null | #include "PlatformPrecomp.h"
#include "GS_Menu.h"
#include "Defines/GUI_IDs.h"
#include "GUI/GUI_MainMenu.h"
#include "Utils/Timer.h"
GS_Menu::GS_Menu() :
m_timer( new Timer() ),
m_startTime( 0.0f ),
m_alpha( 1.0f )
{
m_timer->start();
m_startTime = m_timer->getElapsedTimeInMilliSec();
}
GS_Menu::... | 18.674699 | 85 | 0.604516 | maximbilan |
b180dc7bf6d0b6355caa4eb9712dfbbfd8826242 | 2,085 | cpp | C++ | prep/cpp/learning/cpp_stl/notes/graphs/algos/floodfill.cpp | TanishT/Competitive-Programming | b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0 | [
"MIT"
] | 2 | 2021-02-19T18:15:03.000Z | 2021-03-27T20:26:55.000Z | prep/cpp/learning/cpp_stl/notes/graphs/algos/floodfill.cpp | TanishT/Comp-Programming | b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0 | [
"MIT"
] | 8 | 2021-01-17T16:39:08.000Z | 2021-03-22T01:27:15.000Z | design_project/graphs/notes/algos/floodfill.cpp | anaconda121/CSC-505 | c713e6c646bc0adc41f9551573940050fd055c36 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define MAXN 105 //abitrary
#define MAXM 105 //arbitrary
/*
Flood fill is an algorithm that identifies and labels the connected component that a particular cell belongs to in a multidimensional array.
For example, suppose that we want to split the following grid into co... | 38.611111 | 140 | 0.701199 | TanishT |
b183f157cbb8e668d2821da73cbacb4347cbb7bd | 2,010 | cpp | C++ | aws-cpp-sdk-ssm/source/model/InstanceAssociation.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ssm/source/model/InstanceAssociation.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ssm/source/model/InstanceAssociation.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ssm/model/InstanceAssociation.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... | 19.142857 | 72 | 0.734328 | lintonv |
b189f0c06d794d536cdd618911abf6fc9e9a824e | 2,679 | hpp | C++ | tests/ZsyncRemoteControlFileParser.hpp | azubieta/AppImageUpdaterBridge | b555ad508186c3ca0c285a3de14cde4b76abded6 | [
"BSD-3-Clause"
] | null | null | null | tests/ZsyncRemoteControlFileParser.hpp | azubieta/AppImageUpdaterBridge | b555ad508186c3ca0c285a3de14cde4b76abded6 | [
"BSD-3-Clause"
] | null | null | null | tests/ZsyncRemoteControlFileParser.hpp | azubieta/AppImageUpdaterBridge | b555ad508186c3ca0c285a3de14cde4b76abded6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ZSYNC_REMOTE_CONTROL_FILE_PARSER_TESTS_HPP_INCLUDED
#define ZSYNC_REMOTE_CONTROL_FILE_PARSER_TESTS_HPP_INCLUDED
#include <QTest>
#include <QSignalSpy>
#include <QNetworkAccessManager>
#include "../include/zsyncremotecontrolfileparser_p.hpp"
/*
* Get the official appimage tool to test it with
* our library.
*/... | 34.346154 | 150 | 0.698022 | azubieta |
b18afe75f68a7d88e64d568b5a94a768de9e1680 | 9,941 | cpp | C++ | day-15/part-2/evqna.cpp | badouralix/adventofcode-2018 | 543ce39d4eeb7d9d695459ffadca001a8c56386d | [
"MIT"
] | 31 | 2018-12-01T00:43:40.000Z | 2020-05-30T05:18:59.000Z | day-15/part-2/evqna.cpp | badouralix/adventofcode-2018 | 543ce39d4eeb7d9d695459ffadca001a8c56386d | [
"MIT"
] | 14 | 2018-12-01T12:14:26.000Z | 2021-05-07T22:41:47.000Z | day-15/part-2/evqna.cpp | badouralix/adventofcode-2018 | 543ce39d4eeb7d9d695459ffadca001a8c56386d | [
"MIT"
] | 10 | 2018-12-01T23:38:34.000Z | 2020-12-28T13:36:10.000Z | #include <algorithm>
#include <climits>
#include <ctime>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
// Grid deltas sorted in reading order
const int DELTAS[][2] = {{0,-1}, {-1,0}, {+1,0}, {0,+1}};
enum... | 29.942771 | 90 | 0.532844 | badouralix |
b18c638317a91d7d4e28ebbb93bc81273c479c0b | 581 | cpp | C++ | Data_Structures/Binary_Tree/construction/const_from_preorder_postorder.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 11 | 2020-03-20T17:24:28.000Z | 2022-01-08T02:43:24.000Z | Data_Structures/Binary_Tree/construction/const_from_preorder_postorder.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 1 | 2021-07-25T11:24:46.000Z | 2021-07-25T12:09:25.000Z | Data_Structures/Binary_Tree/construction/const_from_preorder_postorder.cpp | abhishekjha786/ds_algo | 38355ca12e8ac20c4baa8baccf8ad189effaa6ae | [
"MIT"
] | 4 | 2020-03-20T17:24:36.000Z | 2021-12-07T19:22:59.000Z | // https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal/
// Given two integer arrays, preorder and postorder where preorder
// is the preorder traversal of a binary tree of distinct values and postorder
// is the postorder traversal of the same tree, reconstruct and return the bi... | 38.733333 | 93 | 0.729776 | abhishekjha786 |
b18c754e3377a7b6ad1eb5fcc1bd04c9dea3f9f6 | 15,706 | cpp | C++ | Source/TitanUMG/Private/STitanVirtualJoystick.cpp | learnMoreCode/UE4_TitanUMG | e01233801502ca0c026b19bf2d8804fc1b991857 | [
"MIT"
] | 18 | 2020-09-09T13:50:48.000Z | 2022-03-08T11:39:29.000Z | Source/TitanUMG/Private/STitanVirtualJoystick.cpp | irajsb/UE4_TitanUMG | e01233801502ca0c026b19bf2d8804fc1b991857 | [
"MIT"
] | null | null | null | Source/TitanUMG/Private/STitanVirtualJoystick.cpp | irajsb/UE4_TitanUMG | e01233801502ca0c026b19bf2d8804fc1b991857 | [
"MIT"
] | 3 | 2021-07-29T16:28:18.000Z | 2022-02-21T01:58:27.000Z | // Copyright Epic Games, Inc. All Rights Reserved.
#include "STitanVirtualJoystick.h"
#include "Rendering/DrawElements.h"
#include "Misc/ConfigCacheIni.h"
#include "TitanJoystick.h"
#include "Framework/Application/SlateApplication.h"
const float OPACITY_LERP_RATE = 3.f;
static FORCEINLINE float GetScaleFactor(cons... | 28.556364 | 249 | 0.715523 | learnMoreCode |
b18eb201b9e8ca428a05f04a2031f06ad3111520 | 1,781 | cpp | C++ | src/hdk/animation/hdTranslationAction.cpp | cdave1/hdk | 7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6 | [
"Zlib"
] | 2 | 2016-06-15T17:47:50.000Z | 2019-07-29T10:33:05.000Z | src/hdk/animation/hdTranslationAction.cpp | cdave1/hdk | 7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6 | [
"Zlib"
] | null | null | null | src/hdk/animation/hdTranslationAction.cpp | cdave1/hdk | 7c00dcbb255a48ab4a77d808cda0096c7e0a0fa6 | [
"Zlib"
] | null | null | null | /*
* Copyright (c) 2014 Hackdirt Ltd.
* Author: David Petrie (david@davidpetrie.com)
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from the
* use of this software. Permission is granted to anyone to use this so... | 36.346939 | 102 | 0.733296 | cdave1 |
b18f5ac1472778806890adfd1f0e6b92b5622683 | 170 | hpp | C++ | package/broker/broker/broker_multiton.hpp | mambaru/wfc_io | 953f03831e323b85df05d5e0461444f1879e412c | [
"MIT"
] | null | null | null | package/broker/broker/broker_multiton.hpp | mambaru/wfc_io | 953f03831e323b85df05d5e0461444f1879e412c | [
"MIT"
] | 4 | 2019-12-06T01:02:14.000Z | 2021-04-20T19:46:34.000Z | package/broker/broker/broker_multiton.hpp | mambaru/wfc_io | 953f03831e323b85df05d5e0461444f1879e412c | [
"MIT"
] | null | null | null | #pragma once
#include <wfc/module/component.hpp>
namespace wfc{ namespace io{
class broker_multiton
: public ::wfc::component
{
public:
broker_multiton();
};
}}
| 11.333333 | 35 | 0.705882 | mambaru |
b1924bd0e2db117071ee765812688fb3cb7b5c13 | 128 | cc | C++ | tests/parallel_flat_hash_set_test.cc | phprus/parallel-hashmap | 73be7c2ab267778f64c7383b7a8150788ab7e2ef | [
"Apache-2.0"
] | null | null | null | tests/parallel_flat_hash_set_test.cc | phprus/parallel-hashmap | 73be7c2ab267778f64c7383b7a8150788ab7e2ef | [
"Apache-2.0"
] | null | null | null | tests/parallel_flat_hash_set_test.cc | phprus/parallel-hashmap | 73be7c2ab267778f64c7383b7a8150788ab7e2ef | [
"Apache-2.0"
] | null | null | null | #define THIS_HASH_SET parallel_flat_hash_set
#define THIS_TEST_NAME ParallelFlatHashSet
#include "parallel_hash_set_test.cc"
| 21.333333 | 45 | 0.867188 | phprus |
b192c5d599aabab698b2b3fb2ef8999d13de1ead | 2,037 | cpp | C++ | samplecode/SampleDecode.cpp | blackberry/Skia | a55319dfb35814b1d7be4540646891332eac9727 | [
"Apache-2.0"
] | 10 | 2015-02-16T03:19:55.000Z | 2021-06-16T04:33:37.000Z | samplecode/SampleDecode.cpp | blackberry/Skia | a55319dfb35814b1d7be4540646891332eac9727 | [
"Apache-2.0"
] | null | null | null | samplecode/SampleDecode.cpp | blackberry/Skia | a55319dfb35814b1d7be4540646891332eac9727 | [
"Apache-2.0"
] | 13 | 2015-02-10T15:02:31.000Z | 2021-05-25T09:29:03.000Z | #include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkImageDecoder.h"
#include "SkStream.h"
static const struct {
SkBitmap::Config fPrefConfig;
bool fDither;
} gRec[] = {
{ SkBitmap::kIndex8_Config, false },
{ SkBitmap::kARGB_8888_Config, false },
{ Sk... | 29.1 | 78 | 0.563574 | blackberry |
b192fc1caf83d76cdee921d7b98c944ee3560be0 | 23,327 | cpp | C++ | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/voicemail/VoicemailPlaybackFragment.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/voicemail/VoicemailPlaybackFragment.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/voicemail/VoicemailPlaybackFragment.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
//
// ... | 35.505327 | 113 | 0.696232 | jingcao80 |
b1952bcc2a4a4d93bf13ab486f5a2b64dd773d26 | 5,323 | cc | C++ | src/vendor/mariadb-10.6.7/storage/innobase/data/data0type.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/innobase/data/data0type.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/innobase/data/data0type.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | /*****************************************************************************
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public L... | 24.99061 | 78 | 0.637047 | zettadb |
b196f574873787e5bebaffed631140bc467bab7c | 73,964 | cpp | C++ | src/blas/backends/cublas/cublas_level3.cpp | trosenqu/oneMKL | d06919ca0f1c675b170df94259f319eb1d020d5c | [
"Apache-2.0"
] | null | null | null | src/blas/backends/cublas/cublas_level3.cpp | trosenqu/oneMKL | d06919ca0f1c675b170df94259f319eb1d020d5c | [
"Apache-2.0"
] | null | null | null | src/blas/backends/cublas/cublas_level3.cpp | trosenqu/oneMKL | d06919ca0f1c675b170df94259f319eb1d020d5c | [
"Apache-2.0"
] | 1 | 2022-01-10T16:44:10.000Z | 2022-01-10T16:44:10.000Z | /***************************************************************************
* Copyright (C) Codeplay Software Limited
* 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.ap... | 55.61203 | 100 | 0.572062 | trosenqu |
b19734f19a3fed25c8a034f2ab6360310b349392 | 17,641 | cc | C++ | src/ThermalCameraSensor.cc | Levi-Armstrong/ign-sensors | 7affa6a9b0da799db9197b391978032976fb0025 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/ThermalCameraSensor.cc | Levi-Armstrong/ign-sensors | 7affa6a9b0da799db9197b391978032976fb0025 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/ThermalCameraSensor.cc | Levi-Armstrong/ign-sensors | 7affa6a9b0da799db9197b391978032976fb0025 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 30.310997 | 80 | 0.658013 | Levi-Armstrong |
b1989b5a9477e14817141f921a788a3729bc0e14 | 1,853 | cpp | C++ | test/IRGen/prespecialized-metadata/Inputs/extraDataFields.cpp | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 72,551 | 2015-12-03T16:45:13.000Z | 2022-03-31T18:57:59.000Z | test/IRGen/prespecialized-metadata/Inputs/extraDataFields.cpp | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 39,352 | 2015-12-03T16:55:06.000Z | 2022-03-31T23:43:41.000Z | test/IRGen/prespecialized-metadata/Inputs/extraDataFields.cpp | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 13,845 | 2015-12-03T16:45:13.000Z | 2022-03-31T11:32:29.000Z | #include "extraDataFields.h"
#include <swift/Runtime/Metadata.h>
using namespace swift;
namespace llvm {
int DisableABIBreakingChecks;
int EnableABIBreakingChecks;
}
void *completeMetadata(void *uncastMetadata) {
auto *metadata = static_cast<Metadata *>(uncastMetadata);
auto request =
MetadataReques... | 28.507692 | 74 | 0.7415 | gandhi56 |
b198d4947f6c61ffdae52d3bdbf5cc0c348bc882 | 12,185 | cpp | C++ | src/Cip2location_db3.cpp | silgy/ip2loc | 84fc4b0a7f62e2dbe87e6576c08c9afcfb238c40 | [
"MIT"
] | null | null | null | src/Cip2location_db3.cpp | silgy/ip2loc | 84fc4b0a7f62e2dbe87e6576c08c9afcfb238c40 | [
"MIT"
] | null | null | null | src/Cip2location_db3.cpp | silgy/ip2loc | 84fc4b0a7f62e2dbe87e6576c08c9afcfb238c40 | [
"MIT"
] | null | null | null | /* ---------------------------------------------------------------------------
Table access class
Generated on silgy.org on 2020-05-30 11:13:49, generator v.1.0.0
Using C-style strings
Using exceptions
--------------------------------------------------------------------------- */
#include "Cip2location_db3... | 28.738208 | 139 | 0.504473 | silgy |
b198eff6ac64daaa4c2ee7c1636219eddc936459 | 28,522 | cpp | C++ | src/core/NEON/kernels/arm_conv/depthwise/kernels/a64_s8q_packed_to_nhwc_5x5_s1_with_multiplier_output4x2_dot_depthfirst/generic.cpp | MaximMilashchenko/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | 1 | 2022-02-10T11:06:25.000Z | 2022-02-10T11:06:25.000Z | src/core/NEON/kernels/arm_conv/depthwise/kernels/a64_s8q_packed_to_nhwc_5x5_s1_with_multiplier_output4x2_dot_depthfirst/generic.cpp | 0xgpapad/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | null | null | null | src/core/NEON/kernels/arm_conv/depthwise/kernels/a64_s8q_packed_to_nhwc_5x5_s1_with_multiplier_output4x2_dot_depthfirst/generic.cpp | 0xgpapad/ComputeLibrary | 91ee4d0a9ef128b16936921470a0e3ffef347536 | [
"MIT"
] | 1 | 2022-02-04T10:22:53.000Z | 2022-02-04T10:22:53.000Z | /*
* Copyright (c) 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 ... | 42.890226 | 392 | 0.562478 | MaximMilashchenko |
b1a2198cbf1d730812e663b9740bc903ee6b268b | 23,902 | cxx | C++ | src/Cxx/GeometricObjects/LinearCellDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/GeometricObjects/LinearCellDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/GeometricObjects/LinearCellDemo.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkActor.h>
#include <vtkActor2D.h>
#include <vtkCamera.h>
#include <vtkCellArray.h>
#include <vtkDataSetMapper.h>
#include <vtkGlyph3DMapper.h>
#include <vtkLabeledDataMapper.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#include <vtkPoints.h>
#include <vtkProperty.h>
#include <vtkRenderWindow.h>
#inclu... | 33.382682 | 80 | 0.696469 | ajpmaclean |
b1a2f5d4b9059f0b8d6f941dbd7bcb020b3f3f5e | 5,809 | cpp | C++ | src/Factory/Module/Quantizer/Quantizer.cpp | OlivierHartmann/aff3ct | 58c66228b24e09463bd43ea6453ef18bcacd4d8f | [
"MIT"
] | null | null | null | src/Factory/Module/Quantizer/Quantizer.cpp | OlivierHartmann/aff3ct | 58c66228b24e09463bd43ea6453ef18bcacd4d8f | [
"MIT"
] | 4 | 2018-09-27T16:46:31.000Z | 2018-11-22T11:10:41.000Z | src/Factory/Module/Quantizer/Quantizer.cpp | OlivierHartmann/aff3ct | 58c66228b24e09463bd43ea6453ef18bcacd4d8f | [
"MIT"
] | null | null | null | #include <type_traits>
#include "Tools/Exception/exception.hpp"
#include "Module/Quantizer/Pow2/Quantizer_pow2.hpp"
#include "Module/Quantizer/Pow2/Quantizer_pow2_fast.hpp"
#include "Module/Quantizer/Custom/Quantizer_custom.hpp"
#include "Module/Quantizer/NO/Quantizer_NO.hpp"
#include "Quantizer.hpp"
using namespac... | 41.791367 | 159 | 0.659838 | OlivierHartmann |
b1a4abc37739b6ce2e04077b7a109fa92a581850 | 3,109 | cpp | C++ | modules/juce_events/native/juce_win32_WinRTWrapper.cpp | kzantow-audio/JUCE | ddaa09110392a4419fecbb6d3022bede89b7e841 | [
"ISC"
] | 2,270 | 2020-04-15T15:14:37.000Z | 2022-03-31T19:13:53.000Z | modules/juce_events/native/juce_win32_WinRTWrapper.cpp | kzantow-audio/JUCE | ddaa09110392a4419fecbb6d3022bede89b7e841 | [
"ISC"
] | 471 | 2017-04-25T07:57:02.000Z | 2020-04-08T21:06:47.000Z | modules/juce_events/native/juce_win32_WinRTWrapper.cpp | kzantow-audio/JUCE | ddaa09110392a4419fecbb6d3022bede89b7e841 | [
"ISC"
] | 633 | 2020-04-15T16:45:55.000Z | 2022-03-31T13:32:29.000Z | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provid... | 37.457831 | 125 | 0.629463 | kzantow-audio |
b1a916adf403f5dca5537e84a501cfe606982722 | 275 | cpp | C++ | integration/src/angelscript-integration/glm/engine-library-math-vector-swizzle-operators-uvec-xyzw.cpp | Robert42/anglescript-integration | 5688bc3916a47c1cb1e7e08c017d01dcfd201097 | [
"MIT"
] | 1 | 2019-03-26T18:44:55.000Z | 2019-03-26T18:44:55.000Z | integration/src/angelscript-integration/glm/engine-library-math-vector-swizzle-operators-uvec-xyzw.cpp | Robert42/anglescript-integration | 5688bc3916a47c1cb1e7e08c017d01dcfd201097 | [
"MIT"
] | null | null | null | integration/src/angelscript-integration/glm/engine-library-math-vector-swizzle-operators-uvec-xyzw.cpp | Robert42/anglescript-integration | 5688bc3916a47c1cb1e7e08c017d01dcfd201097 | [
"MIT"
] | null | null | null | #include "engine-library-math-vector-swizzle-operators.h"
namespace AngelScriptIntegration {
void initVectorLibrary_swizzle_operators_uvec_xyzw(AngelScript::asIScriptEngine* as_engine)
{
int r;
ALL_SWIZZLE_FOR_VEC_XYZW(uvec);
}
} // namespace Angelscriptintegration
| 19.642857 | 91 | 0.818182 | Robert42 |
b1aaf12dcd81f944f12efc96e0ab444623b0190e | 4,439 | cc | C++ | dreal/contractor/contractor_worklist_fixpoint.cc | chris-lamb/dreal4 | baa54b73d7ef5c224e6eba59f7bbff50c79b65e9 | [
"Apache-2.0"
] | null | null | null | dreal/contractor/contractor_worklist_fixpoint.cc | chris-lamb/dreal4 | baa54b73d7ef5c224e6eba59f7bbff50c79b65e9 | [
"Apache-2.0"
] | null | null | null | dreal/contractor/contractor_worklist_fixpoint.cc | chris-lamb/dreal4 | baa54b73d7ef5c224e6eba59f7bbff50c79b65e9 | [
"Apache-2.0"
] | null | null | null | #include "dreal/contractor/contractor_worklist_fixpoint.h"
#include <algorithm> // To suppress cpplint
#include <cmath>
#include <utility>
#include "dreal/util/assert.h"
#include "dreal/util/logging.h"
using std::ostream;
using std::vector;
namespace dreal {
namespace {
void UpdateWorklist(const ibex::BitSet& ou... | 30.197279 | 80 | 0.626492 | chris-lamb |
b1abcf674734432c46240b8a2713adc6f4d20173 | 2,895 | cc | C++ | compiler/optimizing/x86_memory_gen.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 20 | 2021-06-24T16:38:42.000Z | 2022-01-20T16:15:57.000Z | compiler/optimizing/x86_memory_gen.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | null | null | null | compiler/optimizing/x86_memory_gen.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 4 | 2021-11-03T06:01:12.000Z | 2022-02-24T02:57:31.000Z | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 33.275862 | 91 | 0.687047 | Paschalis |
b1aeaf7c25e1177d262ae832410257749648e474 | 12,273 | cpp | C++ | src/common/classes/misc/string_test.cpp | AlexeyMochalov/firebird | 8b485a455c70d1eaf201192b46b5dd5fdf5ea386 | [
"Condor-1.1"
] | 988 | 2016-03-16T10:27:43.000Z | 2022-03-31T14:52:19.000Z | src/common/classes/misc/string_test.cpp | mistmist/firebird | d31495be14daa8bca46c879bdaf0e30194abd891 | [
"Condor-1.1"
] | 574 | 2016-03-23T15:35:56.000Z | 2022-03-31T07:11:03.000Z | src/common/classes/misc/string_test.cpp | mistmist/firebird | d31495be14daa8bca46c879bdaf0e30194abd891 | [
"Condor-1.1"
] | 241 | 2016-03-17T09:53:16.000Z | 2022-03-29T19:58:29.000Z | char lbl[] = "0123456789";
//#define CHECK_FATAL_RANGE_EXCEPTION
//Don't modify 3 lines upper from this - they are used in file read test
//If you plan to check range exception, you may uncomment it -
//anyway file test should not happen
/*
* PROGRAM: Class library integrity tests
* MODULE: string_test.cpp
* DESC... | 18.128508 | 90 | 0.589831 | AlexeyMochalov |
b1aed871b014f19bf3f4ce3d9054d403e3bd5471 | 453 | hpp | C++ | Bonus.hpp | polinaucc/galaga | 6feea0a6a74669c5d3fa6e106653ceacda19b416 | [
"MIT"
] | null | null | null | Bonus.hpp | polinaucc/galaga | 6feea0a6a74669c5d3fa6e106653ceacda19b416 | [
"MIT"
] | null | null | null | Bonus.hpp | polinaucc/galaga | 6feea0a6a74669c5d3fa6e106653ceacda19b416 | [
"MIT"
] | null | null | null | #pragma once
#include "movingobject.hpp"
enum class BonusType
{
life,
score
};
class Bonus : public MovingObject
{
protected:
BonusType m_type;
public:
Bonus(double x, double y, double s, std::shared_ptr<Sprite> sprite, BonusType type):
MovingObject(x, y, 0.0, s, sprite), m_type(type)
{}
virtu... | 22.65 | 88 | 0.688742 | polinaucc |
b1b1b4513e32142cd145e2384bf9576751263f72 | 2,496 | hxx | C++ | opencascade/StepShape_OrientedPath.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/StepShape_OrientedPath.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/StepShape_OrientedPath.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1995-12-01
// Created by: EXPRESS->CDL V0.2 Translator
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the te... | 28.044944 | 161 | 0.810096 | valgur |
b1b23b1e570ee3407d36e6a469549691513e2688 | 452 | cpp | C++ | solutions/0009.palindrome-number/0009.palindrome-number.1521550303.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 1 | 2021-01-14T06:01:02.000Z | 2021-01-14T06:01:02.000Z | solutions/0009.palindrome-number/0009.palindrome-number.1521550303.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 8 | 2018-03-27T11:47:19.000Z | 2018-11-12T06:02:12.000Z | solutions/0009.palindrome-number/0009.palindrome-number.1521550303.cpp | nettee/leetcode | 19aa8d54d64cce3679db5878ee0194fad95d8fa1 | [
"MIT"
] | 2 | 2020-04-30T09:47:01.000Z | 2020-12-03T09:34:08.000Z | class Solution {
public:
bool isPalindrome(int x) {
if (x < 0) {
return false;
}
vector<int> digits;
while (x > 0) {
int d = x % 10;
digits.push_back(d);
x = x / 10;
}
for (int i = 0, j = digits.size() - 1; i < j; i++, j... | 21.52381 | 65 | 0.362832 | nettee |
b1b2f20120a2b6f012656cc81da468fd47b05b73 | 3,200 | cpp | C++ | src/mame/drivers/itc4.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/itc4.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/itc4.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:AJR
/************************************************************************************************************
Skeleton driver for temperature controller by Oxford Instruments Ltd.
*************************************************************************************... | 31.683168 | 179 | 0.689063 | Robbbert |
b1b3a11ce454a516918aa04720816b6d84c3958c | 4,803 | cpp | C++ | ToolKit/PropertyGrid/XTPPropertyGridItemFont.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/PropertyGrid/XTPPropertyGridItemFont.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/PropertyGrid/XTPPropertyGridItemFont.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPPropertyGridItemFont.cpp : implementation of the CXTPPropertyGridItemFont class.
//
// This file is a part of the XTREME PROPERTYGRID MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEA... | 23.544118 | 96 | 0.713721 | 11Zero |
b1b3b783b11d7c517934de6dd4f83695b30f197c | 1,386 | cpp | C++ | ServoPi/tests/testfiles/servo.cpp | abelectronicsuk/ABElectronics_CPP_Libraries | ff9e884d95d6ff6797b5628683fdac5bb13db267 | [
"MIT"
] | 9 | 2017-11-12T02:11:11.000Z | 2022-01-29T16:57:38.000Z | ServoPi/tests/testfiles/servo.cpp | abelectronicsuk/ABElectronics_CPP_Libraries | ff9e884d95d6ff6797b5628683fdac5bb13db267 | [
"MIT"
] | 2 | 2019-03-04T10:11:34.000Z | 2020-07-01T12:50:37.000Z | ServoPi/tests/testfiles/servo.cpp | abelectronicsuk/ABElectronics_CPP_Libraries | ff9e884d95d6ff6797b5628683fdac5bb13db267 | [
"MIT"
] | 9 | 2017-08-03T00:04:58.000Z | 2021-09-03T12:04:38.000Z | /*
* servo.cpp
*
* Servo class test program
*
*/
#include <stdint.h>
#include <stdio.h>
#include <stdexcept>
#include <time.h>
#include <unistd.h>
#include <iostream>
#include "../../../UnitTest/testlibs.cpp"
#include "../../ABE_ServoPi.h"
using namespace ABElectronics_CPP_Libraries;
using namespace std;
voi... | 21.65625 | 79 | 0.69697 | abelectronicsuk |
b1b6c048dfdba46b87c86a8b93b9ec41d72a6bb9 | 14,724 | cxx | C++ | main/sw/source/core/undo/unsect.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sw/source/core/undo/unsect.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sw/source/core/undo/unsect.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 29.625755 | 93 | 0.633523 | Grosskopf |
04d98ffcbee295d9abca30fd92b2cc6fa7bf997f | 568 | hpp | C++ | Editor/Source/ImGui/Utility/Draw.hpp | AhsanSarwar45/Qombat-OLD | 0247441cf4927733ef0786c6df9a087461b0260b | [
"Apache-2.0"
] | null | null | null | Editor/Source/ImGui/Utility/Draw.hpp | AhsanSarwar45/Qombat-OLD | 0247441cf4927733ef0786c6df9a087461b0260b | [
"Apache-2.0"
] | null | null | null | Editor/Source/ImGui/Utility/Draw.hpp | AhsanSarwar45/Qombat-OLD | 0247441cf4927733ef0786c6df9a087461b0260b | [
"Apache-2.0"
] | null | null | null | #include <stdarg.h>
#include <ImGui/imgui.h>
#include <Qombat/Core.hpp>
#include "Mouse.hpp"
namespace QCreate
{
namespace ImGuiHelper
{
inline void DrawHoverableRect(const ImVec2& a, const ImVec2& b, const ImColor& color, const char* tooltip, ...)
{
ImDrawList* drawList = ImGui::GetWindowDrawList();
dr... | 19.586207 | 113 | 0.679577 | AhsanSarwar45 |
04db26c000551454b59508052976d82ebff80588 | 16,674 | cc | C++ | third_party/gloo/gloo/transport/ibverbs/pair.cc | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/gloo/gloo/transport/ibverbs/pair.cc | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/gloo/gloo/transport/ibverbs/pair.cc | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | 30.935065 | 79 | 0.674223 | gautamkmr |
04e43d84f50f3ef49f015d34e41e73de771451e4 | 483 | cpp | C++ | test/typelist/transform_test.cpp | matrixjoeq/candy | 53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc | [
"MIT"
] | null | null | null | test/typelist/transform_test.cpp | matrixjoeq/candy | 53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc | [
"MIT"
] | null | null | null | test/typelist/transform_test.cpp | matrixjoeq/candy | 53fe18d8b68d2f131c8e1c8f76c7d9b7f752bbdc | [
"MIT"
] | null | null | null |
#include <type_traits>
#include "typelist/transform.hpp"
namespace candy {
namespace test {
namespace {
template <typename T>
struct AddConst
{
using Type = T const;
};
using TL = Typelist<int, char, short, double>;
using TransformedTL = Transform<TL, AddConst>;
using ExpectedTL = Typelist<int const, char const... | 20.125 | 78 | 0.722567 | matrixjoeq |
04e77c5c080e38f14b8cade8354e2fb7c1f493ab | 16,645 | cpp | C++ | src/RenderPrimitives.cpp | Cavantar/SoftRenderer | d6ef9a76ec11088d3af7a59b17c15bb38b5856de | [
"WTFPL"
] | null | null | null | src/RenderPrimitives.cpp | Cavantar/SoftRenderer | d6ef9a76ec11088d3af7a59b17c15bb38b5856de | [
"WTFPL"
] | null | null | null | src/RenderPrimitives.cpp | Cavantar/SoftRenderer | d6ef9a76ec11088d3af7a59b17c15bb38b5856de | [
"WTFPL"
] | null | null | null |
#include "RenderPrimitives.h"
#include <algorithm>
void
TextureBuffer::setPixel(uint32 x, uint32 y, const Vec3f& color)
{
if(x >= 0 && x < dimensions.x &&
y >= 0 && y < dimensions.y)
{
pixelData[x + (uint32)dimensions.x * y] =
(uint32)(color.x) << 24 | (uint32)(color.y) << 16 | (uint32)(color.z) <... | 24.370425 | 107 | 0.642716 | Cavantar |
04e92e8d1599101bc89a2c2e8ed2fb2c5c531376 | 1,991 | cpp | C++ | NearestNeighbor/Tests/TestLinearNeighborSearchSubset.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 39 | 2015-01-01T07:59:51.000Z | 2021-10-01T18:11:46.000Z | NearestNeighbor/Tests/TestLinearNeighborSearchSubset.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 1 | 2019-04-24T09:56:15.000Z | 2019-04-24T14:45:46.000Z | NearestNeighbor/Tests/TestLinearNeighborSearchSubset.cpp | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 18 | 2015-01-11T15:10:23.000Z | 2022-02-24T20:02:10.000Z | #include <iostream>
#include <boost/graph/grid_graph.hpp>
#include "NearestNeighbor/topological_search.hpp"
int main(int argc, char *argv[])
{
typedef boost::grid_graph<2> GraphType;
const unsigned int dimension = 5;
boost::array<std::size_t, 2> lengths = { { dimension, dimension } };
GraphType graph(length... | 31.603175 | 127 | 0.713712 | jingtangliao |
04e9b47ffd8683b57d6dd2a3de55120effec4a85 | 19,906 | cpp | C++ | src/nimbro/behaviour/walk_and_kick/src/wak_sensor_vars.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 45 | 2015-11-04T01:29:12.000Z | 2022-02-11T05:37:42.000Z | src/nimbro/behaviour/walk_and_kick/src/wak_sensor_vars.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T04:00:32.000Z | 2016-08-10T12:59:36.000Z | src/nimbro/behaviour/walk_and_kick/src/wak_sensor_vars.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 20 | 2016-03-05T14:28:45.000Z | 2021-01-30T00:50:47.000Z | // Walk and kick: Sensor variables
// Author: Philipp Allgeuer <pallgeuer@ais.uni-bonn.de>
// Includes
#include <walk_and_kick/wak_sensor_vars.h>
#include <rc_utils/math_vec_mat.h>
#include <rc_utils/math_funcs.h>
// Namespaces
using namespace walk_and_kick;
using namespace rc_utils;
//
// SensorVars class
//
// Co... | 34.32069 | 208 | 0.711243 | hfarazi |
04ec5bcd4269f64a55221478fb714ccc3cbd2cbd | 2,783 | cpp | C++ | src/Pathfinding/visualizer_test.cpp | jonahbardos/PY2020 | af4f61b86ae5013e58faf4842bf20863b3de3957 | [
"Apache-2.0"
] | null | null | null | src/Pathfinding/visualizer_test.cpp | jonahbardos/PY2020 | af4f61b86ae5013e58faf4842bf20863b3de3957 | [
"Apache-2.0"
] | null | null | null | src/Pathfinding/visualizer_test.cpp | jonahbardos/PY2020 | af4f61b86ae5013e58faf4842bf20863b3de3957 | [
"Apache-2.0"
] | null | null | null | #include "Visualizer.h"
#include "ObstacleMap.h"
#include <iostream>
using namespace cv;
void runTest(std::string description, const std::vector<PointXY>& obstacles, PointXY dest) {
Visualizer sim;
Pather2 pather;
pather.updateMap(obstacles, 0.0, 0.0);
std::cout << "Text version of map:\n";
pather... | 27.554455 | 92 | 0.541861 | jonahbardos |
04ee35860e1b30246d19c26e7d2e86c0094c5e31 | 4,262 | hpp | C++ | master/core/third/boost/geometry/strategies/spherical/ssf.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/geometry/strategies/spherical/ssf.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/geometry/strategies/spherical/ssf.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to 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)
... | 31.109489 | 80 | 0.601595 | importlib |
04ef575493ef883169e2906e3647678ce7086341 | 540 | cpp | C++ | Problems/rod.cpp | anand434/-Algorithm-And-DataStructures | e4197db5342def163a8bd22de4187b90bc5ff1d3 | [
"MIT"
] | null | null | null | Problems/rod.cpp | anand434/-Algorithm-And-DataStructures | e4197db5342def163a8bd22de4187b90bc5ff1d3 | [
"MIT"
] | null | null | null | Problems/rod.cpp | anand434/-Algorithm-And-DataStructures | e4197db5342def163a8bd22de4187b90bc5ff1d3 | [
"MIT"
] | null | null | null | // dynamic programing
#include <bits/stdc++.h>
using namespace std;
int calc(int a[] , int l){
int s = sizeof(a)/sizeof(a[0]);
int dp[s][l+1];
for(int i = 1; i <= s; ++i){
for(int j = 0; j <= l; ++j){
if(i == 0)
dp[i][j] = j;
else if(j == 0)
dp[i][j] = i;
else if(j >= i)
dp[i][j] = max(dp... | 16.363636 | 53 | 0.457407 | anand434 |
04f0d25197d445daff19e002885f6396f5cb6346 | 1,569 | cc | C++ | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // List iterator invalidation tests
// Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Sof... | 28.017857 | 79 | 0.715105 | vidkidz |
04f6fcc33c80c183514a66a1ab37f628b573f849 | 3,874 | cpp | C++ | bulletgba/generator/data/code/__system/3way-laser.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | 5 | 2020-03-24T07:44:49.000Z | 2021-08-30T14:43:31.000Z | bulletgba/generator/data/code/__system/3way-laser.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | bulletgba/generator/data/code/__system/3way-laser.cpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | // XXX uniqID XXX 5aa05dce2cc2c392ac12214081381a73 XXX
#include <gba_types.h>
#include "bullet.hpp"
#include "fixed.hpp"
#include "__system/3way-laser.hpp"
extern const BulletStepFunc bullet_0e9cb1a61061b85c007db56fc11fa063_5aa05dce2cc2c392ac12214081381a73[] = {
stepfunc_bbf4d4d1a84fe518316ecf2f20d6a516_5aa05dce... | 62.483871 | 365 | 0.824729 | pqrs-org |
04f80736a2c3d3c9c5b039e15ef358de796909dd | 1,793 | hpp | C++ | 2d-platform-game/Fase2.hpp | hadryansalles/random-projects | 2c97fcb407acd2605a6c46ccc184a86f8130b56f | [
"MIT"
] | 3 | 2021-04-02T02:26:47.000Z | 2021-05-18T01:56:18.000Z | 2d-platform-game/Fase2.hpp | hadryans/random-projects | 2c97fcb407acd2605a6c46ccc184a86f8130b56f | [
"MIT"
] | null | null | null | 2d-platform-game/Fase2.hpp | hadryans/random-projects | 2c97fcb407acd2605a6c46ccc184a86f8130b56f | [
"MIT"
] | null | null | null | #pragma once
#include "Std.hpp"
#include "Fase.hpp"
#include "Janela.hpp"
#include "Ladrao.hpp"
#include "Demonio.hpp"
class Fase2 : public Fase{
private:
// local onde o jogador encerra a fase
sf::RectangleShape _portal_fim_fase;
// cenario em segundo plano
sf::RectangleShape _cenario_dinamico;
sf::Texture... | 27.166667 | 71 | 0.709426 | hadryansalles |
04f8bb24964c293785510004ff2ec82bff01ab3a | 1,933 | cc | C++ | src/curses.cc | lollek/chip8curses | 3f62e01d1f4411a084cc74edc331d75c32ef4e0f | [
"MIT"
] | null | null | null | src/curses.cc | lollek/chip8curses | 3f62e01d1f4411a084cc74edc331d75c32ef4e0f | [
"MIT"
] | null | null | null | src/curses.cc | lollek/chip8curses | 3f62e01d1f4411a084cc74edc331d75c32ef4e0f | [
"MIT"
] | null | null | null | #include <curses.h>
#include <iostream>
#include "curses.h"
using namespace std;
namespace chip8curses {
namespace curses {
Emulator* emulator_ptr{nullptr};
bool double_width;
namespace {
void write_pixel(int x, int y, bool black) {
if (double_width) {
mvaddch(y, x*2, (black ? ' ' | A_STANDOUT : ' '));
... | 21.719101 | 75 | 0.58924 | lollek |
04f94bf3ec5a3f1f5deec0c720be63e2bfdb8713 | 476 | cpp | C++ | src/TEMA DIVIZIBILITATE/64/main.cpp | andrew-miroiu/Cpp-projects | d0917a7f78aef929c25dc9b019e910951c2050ac | [
"MIT"
] | 2 | 2021-11-27T18:29:32.000Z | 2021-11-28T14:35:47.000Z | src/TEMA DIVIZIBILITATE/64/main.cpp | andrew-miroiu/Cpp-projects | d0917a7f78aef929c25dc9b019e910951c2050ac | [
"MIT"
] | null | null | null | src/TEMA DIVIZIBILITATE/64/main.cpp | andrew-miroiu/Cpp-projects | d0917a7f78aef929c25dc9b019e910951c2050ac | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
//Prob. 64
int main()
{
int n, d, s=0, dn;
cout<<"Numarul n= ";
cin>>n;
dn=2*n;
for (d=1; d*d<=n; d++)
{
if (n%d==0)
{
s=s+d;
if (d*d<n)
{
s=s+n/d;
}
}
}
i... | 12.205128 | 47 | 0.357143 | andrew-miroiu |
04fc25fd4c6e974e3cfc27a5dad50b281eca039e | 19,259 | cc | C++ | CCA/Components/Arches/ParticleModels/DepositionVelocity.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 3 | 2020-06-10T08:21:31.000Z | 2020-06-23T18:33:16.000Z | CCA/Components/Arches/ParticleModels/DepositionVelocity.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | null | null | null | CCA/Components/Arches/ParticleModels/DepositionVelocity.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 2 | 2019-12-30T05:48:30.000Z | 2020-02-12T16:24:16.000Z | #include <CCA/Components/Arches/ParticleModels/DepositionVelocity.h>
#include <CCA/Components/Arches/ParticleModels/ParticleTools.h>
#include <Core/Exceptions/ProblemSetupException.h>
#include <CCA/Components/Arches/BoundaryCond_new.h>
#include <CCA/Components/Arches/ParticleModels/CoalHelper.h>
using namespace Uintah... | 53.64624 | 177 | 0.698686 | QuocAnh90 |
04fdf5897e7f819344b3a2a9125f8618fc7e1e50 | 10,157 | cc | C++ | chrome/browser/browser_process_platform_part_chromeos.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/browser_process_platform_part_chromeos.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/browser_process_platform_part_chromeos.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/browser_process_platform_part_chromeos.h"
#include <utility>
#include "base/bind.h"
#include "base/check_op.h"
#include "ba... | 37.479705 | 101 | 0.796003 | mghgroup |
04ff2de91fc7b68d7fc026cf06db3e76205eef92 | 8,488 | hh | C++ | include/qpdf/PointerHolder.hh | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | null | null | null | include/qpdf/PointerHolder.hh | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | 3 | 2021-11-19T15:59:21.000Z | 2021-12-10T20:44:33.000Z | include/qpdf/PointerHolder.hh | m-holger/qpdf | f1a9ba0c622deee0ed05004949b34f0126b12b6a | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2005-2022 Jay Berkenbilt
//
// This file is part of qpdf.
//
// 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 ... | 34.504065 | 80 | 0.719015 | m-holger |
04ffd4107bf79ab03580413b737ec61845049efa | 103 | cpp | C++ | softbody/engine/ui/image.cpp | legsonwings/SoftBody | c918d67338b5677bfb095f3849873bda684f9447 | [
"MIT"
] | null | null | null | softbody/engine/ui/image.cpp | legsonwings/SoftBody | c918d67338b5677bfb095f3849873bda684f9447 | [
"MIT"
] | null | null | null | softbody/engine/ui/image.cpp | legsonwings/SoftBody | c918d67338b5677bfb095f3849873bda684f9447 | [
"MIT"
] | null | null | null | #include "image.h"
gfx::resourcelist ui::image::createresources()
{
return gfx::resourcelist();
}
| 14.714286 | 46 | 0.68932 | legsonwings |
ca00485766f3cf9d916b10ed1d4ae47b064f1162 | 2,381 | cpp | C++ | src/extension-examples/show_image.cpp | 104-Berlin/universal-software-kit | d542d3e3fd01954c1c68ba81e7251926889c9e65 | [
"MIT"
] | 1 | 2021-06-19T12:37:10.000Z | 2021-06-19T12:37:10.000Z | src/extension-examples/show_image.cpp | 104-Berlin/universal-software-kit | d542d3e3fd01954c1c68ba81e7251926889c9e65 | [
"MIT"
] | 46 | 2021-03-26T22:11:59.000Z | 2022-03-29T20:13:59.000Z | src/extension-examples/show_image.cpp | 104-Berlin/universal-software-kit | d542d3e3fd01954c1c68ba81e7251926889c9e65 | [
"MIT"
] | null | null | null | #include "editor_extension.h"
using namespace Engine;
using namespace Graphics;
using namespace Renderer;
E_STORAGE_STRUCT(ImageLayer,
(bool, Visible),
(EResourceLink, resourceLink, "Image"),
(EString, SomeString)
)
class ImageLayerView : public EUIField
{
private:
EUnorderedMap<ERegister::Enti... | 30.922078 | 130 | 0.600168 | 104-Berlin |
ca0231146a7ae9d23c6a0bdde9ff16ccf71cc03a | 4,316 | cpp | C++ | src/test/TestSvfAntisat.cpp | D-J-Roberts/pedalevite | 157611b5ccf2bb97f0007d7d17b4c07bd6a21fba | [
"WTFPL"
] | 69 | 2017-01-17T13:17:31.000Z | 2022-03-01T14:56:32.000Z | src/test/TestSvfAntisat.cpp | D-J-Roberts/pedalevite | 157611b5ccf2bb97f0007d7d17b4c07bd6a21fba | [
"WTFPL"
] | 1 | 2020-11-03T14:52:45.000Z | 2020-12-01T20:31:15.000Z | src/test/TestSvfAntisat.cpp | D-J-Roberts/pedalevite | 157611b5ccf2bb97f0007d7d17b4c07bd6a21fba | [
"WTFPL"
] | 8 | 2017-02-08T13:30:42.000Z | 2021-12-09T08:43:09.000Z | /*****************************************************************************
TestSvfAntisat.cpp
Author: Laurent de Soras, 2020
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under ... | 24.247191 | 86 | 0.561399 | D-J-Roberts |
ca036a16e4c555f1a4fc244dfdc76612f5fa844c | 1,549 | hpp | C++ | include/caffe/layers/faceEvaluateLayer.hpp | yuqj1990/deepano_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 21 | 2019-11-28T06:11:17.000Z | 2020-06-15T00:45:46.000Z | include/caffe/layers/faceEvaluateLayer.hpp | yuqj1990/deepano_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 12 | 2019-11-20T01:38:28.000Z | 2020-06-30T06:29:40.000Z | include/caffe/layers/faceEvaluateLayer.hpp | yuqj1990/deepano_train | c7247801ccea4c3a5c0be9c9091fc91876dbf279 | [
"Unlicense"
] | 10 | 2019-11-26T00:50:06.000Z | 2020-06-20T05:43:45.000Z | #ifndef CAFFE_DETECTION_EVALUATE_LAYER_HPP_
#define CAFFE_DETECTION_EVALUATE_LAYER_HPP_
#include <utility>
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
/**
* @brief Generate the detection evaluation based on DetectionOutputLayer and
* g... | 29.226415 | 79 | 0.737895 | yuqj1990 |
ca03e02f13a17c8571526769a65935c787a8c3ca | 19,358 | cpp | C++ | src/tools/lvr2_viewer/widgets/LVRLabelDialog.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 38 | 2019-06-19T15:10:35.000Z | 2022-02-16T03:08:24.000Z | src/tools/lvr2_viewer/widgets/LVRLabelDialog.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 9 | 2019-06-19T16:19:51.000Z | 2021-09-17T08:31:25.000Z | src/tools/lvr2_viewer/widgets/LVRLabelDialog.cpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 13 | 2019-04-16T11:50:32.000Z | 2020-11-26T07:47:44.000Z | /**
* Copyright (c) 2018, University Osnabrück
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this li... | 37.661479 | 164 | 0.638392 | uos |
ca0d4c711fb548bb7715c588b4a696ea7335564d | 10,984 | cpp | C++ | core/sqf/src/seabed/test/t66ms.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/sqf/src/seabed/test/t66ms.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/sqf/src/seabed/test/t66ms.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | //------------------------------------------------------------------
//
// @@@ START COPYRIGHT @@@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. ... | 38.540351 | 74 | 0.455572 | CoderSong2015 |
ca1544a167c97d250e769ea58e233e5a45fbddc1 | 9,255 | cc | C++ | proxy/http/remap/NextHopStrategyFactory.cc | jpappa200/trafficserver | de6d02b4b27f64437646b106bdcf70712b78dfbc | [
"Apache-2.0"
] | null | null | null | proxy/http/remap/NextHopStrategyFactory.cc | jpappa200/trafficserver | de6d02b4b27f64437646b106bdcf70712b78dfbc | [
"Apache-2.0"
] | null | null | null | proxy/http/remap/NextHopStrategyFactory.cc | jpappa200/trafficserver | de6d02b4b27f64437646b106bdcf70712b78dfbc | [
"Apache-2.0"
] | null | null | null | /** @file
A brief file description
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you und... | 33.654545 | 121 | 0.624851 | jpappa200 |
ca1581293fe58f00e56c910efe420fdfa0932f6a | 1,388 | hpp | C++ | src/process.hpp | cbeck88/HexWarfare | 94a70b1889afc2fbd990892ed66be874ac70d1b4 | [
"Apache-2.0"
] | null | null | null | src/process.hpp | cbeck88/HexWarfare | 94a70b1889afc2fbd990892ed66be874ac70d1b4 | [
"Apache-2.0"
] | null | null | null | src/process.hpp | cbeck88/HexWarfare | 94a70b1889afc2fbd990892ed66be874ac70d1b4 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2014 Kristina Simpson <sweet.kristas@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... | 25.236364 | 75 | 0.711816 | cbeck88 |
ca187040008b6ba3693b3fcf673ec7e9b0d53a92 | 5,374 | cc | C++ | L1Trigger/L1TTwinMux/src/L1TTwinMuxAlgorithm.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | L1Trigger/L1TTwinMux/src/L1TTwinMuxAlgorithm.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | L1Trigger/L1TTwinMux/src/L1TTwinMuxAlgorithm.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | //-------------------------------------------------
//
// Class: L1TwinMuxAlgortithm
//
// L1TwinMuxAlgortithm
//
//
// Author :
// G. Flouris U Ioannina Feb. 2015
// modifications: G Karathanasis
//--------------------------------------------------
#include <iostream>
#include <iomanip>
#in... | 36.310811 | 194 | 0.64626 | nistefan |
ca1e2811d90f1b941c3ada68095c304b16fc4edc | 2,076 | cc | C++ | lullaby/contrib/mutator/mutator_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | 1 | 2018-11-09T03:45:25.000Z | 2018-11-09T03:45:25.000Z | lullaby/contrib/mutator/mutator_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | null | null | null | lullaby/contrib/mutator/mutator_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 32.4375 | 80 | 0.694123 | dd181818 |
ca20024b441ffa9c64706c6f9000c4337c7d0249 | 4,154 | cpp | C++ | src/utils/string_helper.cpp | ppearson/sitemon2 | 22b5eaa03e9036c32b08a485917a3477078e6a57 | [
"Apache-2.0"
] | null | null | null | src/utils/string_helper.cpp | ppearson/sitemon2 | 22b5eaa03e9036c32b08a485917a3477078e6a57 | [
"Apache-2.0"
] | null | null | null | src/utils/string_helper.cpp | ppearson/sitemon2 | 22b5eaa03e9036c32b08a485917a3477078e6a57 | [
"Apache-2.0"
] | null | null | null | /*
Sitemon
Copyright 2010-2019 Peter Pearson.
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 21.523316 | 107 | 0.643476 | ppearson |
ca2211db8adc4d87d99030f2de80e693db109fbe | 6,257 | cc | C++ | RecoMET/METAlgorithms/src/significanceAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoMET/METAlgorithms/src/significanceAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoMET/METAlgorithms/src/significanceAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "RecoMET/METAlgorithms/interface/significanceAlgo.h"
#include <iostream>
#include <string>
#include "TMath.h"
#include <cmath>
#include "TROOT.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
// -*- C++ -*-
//
// Package: METAlgorithms
// Class: SignAlgoResolutions
//
/**\class METSignifi... | 31.923469 | 223 | 0.62506 | nistefan |
ca2368a69914be1e74a7707ed38443480c2c8963 | 14,660 | cpp | C++ | src/main/cpp/hw/DragonFalcon.cpp | Team302/2020InfiniteRecharge | c6355fdc7fcfd1f62b4f0ed5d077f026d3ace8f4 | [
"MIT"
] | 5 | 2020-01-11T14:49:32.000Z | 2020-01-30T01:10:00.000Z | src/main/cpp/hw/DragonFalcon.cpp | Team302/2020InfiniteRecharge | c6355fdc7fcfd1f62b4f0ed5d077f026d3ace8f4 | [
"MIT"
] | 117 | 2020-01-11T14:48:09.000Z | 2020-03-04T01:38:43.000Z | src/main/cpp/hw/DragonFalcon.cpp | Team302/2020InfiniteRecharge | c6355fdc7fcfd1f62b4f0ed5d077f026d3ace8f4 | [
"MIT"
] | null | null | null |
//====================================================================================================================================================
// Copyright 2019 Lake Orion Robotics FIRST Team 302
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ... | 29.796748 | 150 | 0.70382 | Team302 |
ca244e287288abc707731d63c571095c3162952d | 6,497 | cpp | C++ | d912pxy/d3d9_proxy_dll.cpp | febryjp/d912pxy | 208f741135ca108bc4742c69430dc5eb95578480 | [
"MIT"
] | 1,076 | 2019-01-11T02:04:35.000Z | 2022-03-24T19:00:46.000Z | d912pxy/d3d9_proxy_dll.cpp | NaturalBoy/d912pxy | ecca0dfdf8ae58cfb7b0ab9b1d9096acf3d8c829 | [
"MIT"
] | 398 | 2019-01-16T07:58:30.000Z | 2022-02-26T11:53:46.000Z | d912pxy/d3d9_proxy_dll.cpp | NaturalBoy/d912pxy | ecca0dfdf8ae58cfb7b0ab9b1d9096acf3d8c829 | [
"MIT"
] | 140 | 2019-01-25T09:58:31.000Z | 2022-03-24T10:56:41.000Z | /*
Original work: https://github.com/iorlas/D3D9Proxy
*/
//FIXME: correct this to be right, as i'm not shure
/*
MIT License
Copyright(c) 2018-2019 megai2
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... | 25.182171 | 136 | 0.765276 | febryjp |
ca25b22263c02454a60b4625086a193b7b8a1c33 | 18,110 | cpp | C++ | arduino/M5Stack_Radio/src/fdk-aac/libPCMutils/src/limiter.cpp | chcbaram/M5Stack_Example | 008bc628d1ea46ce7dc1c2e8f0eea12279779593 | [
"Apache-2.0"
] | 3 | 2019-04-04T12:57:05.000Z | 2021-06-29T09:49:09.000Z | arduino/M5Stack_Radio/src/fdk-aac/libPCMutils/src/limiter.cpp | chcbaram/M5Stack_Example | 008bc628d1ea46ce7dc1c2e8f0eea12279779593 | [
"Apache-2.0"
] | 4 | 2019-02-12T02:02:12.000Z | 2019-04-28T00:25:50.000Z | examples/Audio/EduBot_Radio/src/fdk-aac/libPCMutils/src/limiter.cpp | oroca/OROCA-EduBot-Library | 7046a1121f26b458800015ee5883c4b78212169b | [
"Apache-2.0"
] | 10 | 2019-04-08T08:40:59.000Z | 2019-12-23T13:46:10.000Z |
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
� Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur F�rderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION... | 36.292585 | 155 | 0.678355 | chcbaram |
ca27e8edb38f080deeb5feba82d5cddf7f7985c4 | 1,387 | hpp | C++ | benchmark/include/uBLAS/convolution.hpp | bebuch/Mitrax | bc33a1b93058886daab3e4ef736ef9b519111454 | [
"BSL-1.0"
] | null | null | null | benchmark/include/uBLAS/convolution.hpp | bebuch/Mitrax | bc33a1b93058886daab3e4ef736ef9b519111454 | [
"BSL-1.0"
] | null | null | null | benchmark/include/uBLAS/convolution.hpp | bebuch/Mitrax | bc33a1b93058886daab3e4ef736ef9b519111454 | [
"BSL-1.0"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2016 Benjamin Buch
//
// https://github.com/bebuch/mitrax
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
//------... | 22.370968 | 79 | 0.561644 | bebuch |
ca28feabad3f8ba6c11daa04fc06d2dc93fa08bc | 1,334 | cpp | C++ | reporting/accuracy/test_agm.cpp | oleg-alexandrov/math | 2137c31eb8e52129d997a76b893f71c1da0ccc5f | [
"BSL-1.0"
] | 233 | 2015-01-12T19:26:01.000Z | 2022-03-11T09:21:47.000Z | reporting/accuracy/test_agm.cpp | oleg-alexandrov/math | 2137c31eb8e52129d997a76b893f71c1da0ccc5f | [
"BSL-1.0"
] | 626 | 2015-02-05T18:12:27.000Z | 2022-03-20T13:19:18.000Z | Libs/boost_1_76_0/libs/math/reporting/accuracy/test_agm.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 243 | 2015-01-17T17:46:32.000Z | 2022-03-07T12:56:26.000Z | // (C) Copyright Nick Thompson 2020.
// Use, modification and distribution are subject to 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)
#include <iostream>
#include <boost/math/tools/ulps_plot.hpp>
#include <boost/core/demangle... | 36.054054 | 130 | 0.686657 | oleg-alexandrov |
ca29c1cd3d03309b1ccbc08e2186aec959775d3e | 15,338 | cpp | C++ | grepWinNP3/sktoolslib_mod/ReaderWriterLock.cpp | X-EcutiOnner/Notepad3 | 275eb630150b55670fbe489ac9a6641a74cc8281 | [
"BSD-3-Clause"
] | 2,761 | 2015-11-13T14:08:44.000Z | 2022-03-31T16:45:42.000Z | grepWinNP3/sktoolslib_mod/ReaderWriterLock.cpp | X-EcutiOnner/Notepad3 | 275eb630150b55670fbe489ac9a6641a74cc8281 | [
"BSD-3-Clause"
] | 1,856 | 2016-01-27T09:48:53.000Z | 2022-03-31T13:53:10.000Z | grepWinNP3/sktoolslib_mod/ReaderWriterLock.cpp | X-EcutiOnner/Notepad3 | 275eb630150b55670fbe489ac9a6641a74cc8281 | [
"BSD-3-Clause"
] | 304 | 2016-06-10T06:25:19.000Z | 2022-03-22T15:25:27.000Z | /*********************************************************************
CReaderWriterLock: A simple and fast reader-writer lock class in C++
has characters of .NET ReaderWriterLock class
Copyright (C) 2006 Quynh Nguyen Huu
This library is free software; you can redistribute it and/or
modify it under the terms of the GN... | 26.399312 | 93 | 0.586061 | X-EcutiOnner |
ca29e4144c861c291ae3e9239284fa93030e0a86 | 5,711 | cpp | C++ | src/gui/graph_manager/graph_tree_model.cpp | swallat/hal | 98b08ac69448c2d7067f1bdd53ba428548c87cc9 | [
"MIT"
] | 1 | 2019-05-13T17:14:35.000Z | 2019-05-13T17:14:35.000Z | src/gui/graph_manager/graph_tree_model.cpp | swallat/hal | 98b08ac69448c2d7067f1bdd53ba428548c87cc9 | [
"MIT"
] | null | null | null | src/gui/graph_manager/graph_tree_model.cpp | swallat/hal | 98b08ac69448c2d7067f1bdd53ba428548c87cc9 | [
"MIT"
] | null | null | null | #include "graph_manager/graph_tree_model.h"
#include "netlist/net.h"
#include <tuple>
graph_tree_model::graph_tree_model(QObject* parent) : QAbstractItemModel(parent)
{
rootItem = new tree_model_item();
/*the header-label for the model*/
m_columns << "Name"
<< "Value";
}
graph_tree_model::~... | 31.379121 | 124 | 0.66013 | swallat |
ca2ba9e3c132322d4f1e76698384f02df89c995b | 2,108 | cpp | C++ | Minigin/Game/TileTexture.cpp | DaanRavelingien/2DGameEngine | d1c9f4864c4183d1e4d8a15c986f2b0ab032f73b | [
"MIT"
] | null | null | null | Minigin/Game/TileTexture.cpp | DaanRavelingien/2DGameEngine | d1c9f4864c4183d1e4d8a15c986f2b0ab032f73b | [
"MIT"
] | null | null | null | Minigin/Game/TileTexture.cpp | DaanRavelingien/2DGameEngine | d1c9f4864c4183d1e4d8a15c986f2b0ab032f73b | [
"MIT"
] | null | null | null | #include "TileTexture.h"
#include <ResourceManager.h>
#include "HexGrid.h"
#include <Render.h>
#include <Transform.h>
#include <GameObject.h>
#include <Texture2D.h>
Comp::TileTexture::TileTexture(const std::string& filePath)
:m_FileName{filePath}
{
GetNeededComponents();
m_NeedsUpdate = true;
}
void Comp::TileText... | 23.422222 | 78 | 0.718691 | DaanRavelingien |
ca2ec71a057171ee721eead2933a80fa4babca1b | 31,288 | cpp | C++ | client/Rendering/WaterRenderer.cpp | gitdnd/NovusCore-Client | 51e76ffe579734cb93a76b6f6d6db8bec8855676 | [
"MIT"
] | null | null | null | client/Rendering/WaterRenderer.cpp | gitdnd/NovusCore-Client | 51e76ffe579734cb93a76b6f6d6db8bec8855676 | [
"MIT"
] | null | null | null | client/Rendering/WaterRenderer.cpp | gitdnd/NovusCore-Client | 51e76ffe579734cb93a76b6f6d6db8bec8855676 | [
"MIT"
] | null | null | null | #include "WaterRenderer.h"
#include "DebugRenderer.h"
#include "../Utils/ServiceLocator.h"
#include "../Utils/MapUtils.h"
#include "RenderResources.h"
#include "CVar/CVarSystem.h"
#include "Camera.h"
#include "RenderUtils.h"
#include <filesystem>
#include <GLFW/glfw3.h>
#include <InputManager.h>
#include <Renderer/Ren... | 44.633381 | 196 | 0.642706 | gitdnd |
ca30cef1cede85822d078168f8789e1a61f01055 | 946 | cpp | C++ | CK2ToEU4/Source/Mappers/ProvinceTitleMapper/ProvinceTitleGrabber.cpp | Grave461/CK2ToEU4 | 659cf5406c7d683649f9c888bc674424a312d10d | [
"MIT"
] | 1 | 2021-05-09T16:49:23.000Z | 2021-05-09T16:49:23.000Z | CK2ToEU4/Source/Mappers/ProvinceTitleMapper/ProvinceTitleGrabber.cpp | PKZB/CK2ToEU4 | 48e7d7a954079e48c74496745f703cd6d128d133 | [
"MIT"
] | null | null | null | CK2ToEU4/Source/Mappers/ProvinceTitleMapper/ProvinceTitleGrabber.cpp | PKZB/CK2ToEU4 | 48e7d7a954079e48c74496745f703cd6d128d133 | [
"MIT"
] | null | null | null | #include "ProvinceTitleGrabber.h"
#include "CommonFunctions.h"
#include "OSCompatibilityLayer.h"
#include "ParserHelpers.h"
mappers::ProvinceTitleGrabber::ProvinceTitleGrabber(const std::string& provincePath)
{
if (!commonItems::DoesFileExist(provincePath))
throw std::runtime_error(provincePath + " does not exist?"... | 28.666667 | 129 | 0.739958 | Grave461 |
ca32298bf218d33165c64faf7d3505221adcc82a | 6,654 | cpp | C++ | games/snake/Snake_mouli.cpp | Sinjide/cpp_arcade | c6a9dc54ed10ea5300d7bf972c5ee2bee2e58116 | [
"MIT"
] | null | null | null | games/snake/Snake_mouli.cpp | Sinjide/cpp_arcade | c6a9dc54ed10ea5300d7bf972c5ee2bee2e58116 | [
"MIT"
] | null | null | null | games/snake/Snake_mouli.cpp | Sinjide/cpp_arcade | c6a9dc54ed10ea5300d7bf972c5ee2bee2e58116 | [
"MIT"
] | null | null | null | //
// Snake_mouli.cpp for in /home/doremi/rendu/cpp/cpp_arcade/games/snake
//
// Made by Guillaume
// Login <doremi@epitech.net>
//
// Started on Mon Apr 3 20:15:30 2017 Guillaume
// Last update Sat Apr 8 10:10:49 2017 Guillaume Doremieux
//
#include "../../my.hpp"
#include "../../Protocol.hpp"
#include <stdlib... | 21.745098 | 150 | 0.575894 | Sinjide |
ca33ddff8fd05f2da62ec22d62c7879e2d382cea | 125 | cc | C++ | src/example.cc | eddiehoyle/sevengine | 4f5bd2b16b1179784c831ef8a0d57ccecee0a92e | [
"MIT"
] | 1 | 2019-08-21T05:06:04.000Z | 2019-08-21T05:06:04.000Z | src/example.cc | eddiehoyle/sevengine | 4f5bd2b16b1179784c831ef8a0d57ccecee0a92e | [
"MIT"
] | null | null | null | src/example.cc | eddiehoyle/sevengine | 4f5bd2b16b1179784c831ef8a0d57ccecee0a92e | [
"MIT"
] | null | null | null | //
// Created by Eddie Hoyle on 5/08/16.
//
#include <cstdio>
#include "example.hh"
void hello() {
printf( "Hey\n" );
} | 12.5 | 37 | 0.592 | eddiehoyle |
ca35bc10244d90a19133d258fedfae9f551b5063 | 720 | cpp | C++ | codeforces/round-273/div-2/random_teams.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-07-16T01:46:38.000Z | 2020-07-16T01:46:38.000Z | codeforces/round-273/div-2/random_teams.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | codeforces/round-273/div-2/random_teams.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-05-27T14:30:43.000Z | 2020-05-27T14:30:43.000Z | #include <iostream>
using namespace std;
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
inline
unsigned long long pairs(unsigned long long people)
{
return people * (people - 1) / 2;
}
int main()
{
use_io_optimizations();
unsigned long long participan... | 18 | 72 | 0.620833 | Rkhoiwal |
ca383561425e35521b3327f114dac0c14e193bae | 2,938 | hpp | C++ | include/impl/timer.hpp | ctu-mrs/mrs_lib | 1df4282d71c2944904676adbb7289ce45004432a | [
"BSD-3-Clause"
] | 1 | 2022-03-17T17:42:09.000Z | 2022-03-17T17:42:09.000Z | include/impl/timer.hpp | ctu-mrs/mrs_lib | 1df4282d71c2944904676adbb7289ce45004432a | [
"BSD-3-Clause"
] | 11 | 2020-10-20T09:36:36.000Z | 2022-03-08T19:17:26.000Z | include/impl/timer.hpp | ctu-mrs/mrs_lib | 1df4282d71c2944904676adbb7289ce45004432a | [
"BSD-3-Clause"
] | 2 | 2019-04-02T08:47:47.000Z | 2021-08-05T12:54:05.000Z | #ifndef MRS_TIMER_HPP
#define MRS_TIMER_HPP
// | ------------------------ ROSTimer ------------------------ |
/* ROSTimer constructors //{ */
// duration + oneshot + autostart
#include <chrono>
#include <mutex>
template <class ObjectType>
ROSTimer::ROSTimer(const ros::NodeHandle& nh, const ros::Duration& duration, v... | 30.604167 | 151 | 0.672566 | ctu-mrs |
ca38739cdfd40bddef3f59a86c1efd5f6f2dfe9d | 627 | cpp | C++ | Templates/print_128.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 3 | 2020-02-08T10:34:16.000Z | 2020-02-09T10:23:19.000Z | Templates/print_128.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | null | null | null | Templates/print_128.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 2 | 2020-10-02T19:05:32.000Z | 2021-09-08T07:01:49.000Z | std::ostream &
operator<<(std::ostream &dest, __int128_t value)
{
std::ostream::sentry s(dest);
if (s)
{
__uint128_t tmp = value < 0 ? -value : value;
char buffer[128];
char *d = std::end(buffer);
do
{
--d;
*d = "0123456789"[tmp % 10];
... | 22.392857 | 53 | 0.406699 | Shahraaz |
ca3c9535a9d3811248523c924715d87f1550a2ab | 455 | cpp | C++ | Basic/Convert Binary to Decimal/solutionByPooja.cpp | rajethanm4/Programmers-Community | d16083eb0e84403159d999d4d1a8bbf652ca51f6 | [
"MIT"
] | 8 | 2020-11-07T10:29:21.000Z | 2020-12-26T16:54:13.000Z | Basic/Convert Binary to Decimal/solutionByPooja.cpp | rajethanm4/Programmers-Community | d16083eb0e84403159d999d4d1a8bbf652ca51f6 | [
"MIT"
] | null | null | null | Basic/Convert Binary to Decimal/solutionByPooja.cpp | rajethanm4/Programmers-Community | d16083eb0e84403159d999d4d1a8bbf652ca51f6 | [
"MIT"
] | 2 | 2019-12-18T13:06:19.000Z | 2021-01-05T18:47:18.000Z | /*
Write a program to convert a binary number into a decimal number.
*/
#include<iostream>
#include<cmath>
using namespace std;
int binary_to_decimal(int n)
{
int sum=0,remainder;
for(int i=0;n>0;i++)
{
remainder=n%10;
sum=sum+(int)(pow(2,i))*remainder;
n/=10;
}
retur... | 14.677419 | 70 | 0.58022 | rajethanm4 |
ca3fa9a3c245f4d94b3ca7b4b4d59bcecb458d09 | 2,413 | cpp | C++ | common/src/filters/buf_filt.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2018-03-09T20:21:47.000Z | 2018-03-09T20:21:47.000Z | common/src/filters/buf_filt.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | null | null | null | common/src/filters/buf_filt.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2020-03-05T23:42:00.000Z | 2020-03-05T23:42:00.000Z | /*
* Buffered Filter
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/buf_filt.h>
#include <botan/mem_ops.h>
#include <botan/internal/rounding.h>
#include <stdexcept>
namespace Botan {
/*
* Buffered_Filter Constructor
*/
Buffered_Filter::Buffered_Filter(size_t b, siz... | 23.201923 | 80 | 0.648985 | ane-community |
ca433727af55d48ca0bc58a45e42eb870e845f20 | 68,757 | cpp | C++ | compiler/luci/logex/src/FormattedGraph.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | null | null | null | compiler/luci/logex/src/FormattedGraph.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | 1 | 2022-02-10T04:18:26.000Z | 2022-02-10T04:18:26.000Z | compiler/luci/logex/src/FormattedGraph.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"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... | 34.241534 | 100 | 0.672659 | dev-hue |
ca4339fe6506211ed23e5a4aff5781c112080817 | 2,595 | cpp | C++ | tests/test_shortest_path.cpp | JohnPapagiannakos/graphcpp | 32291f895c68477d256609d97cf66135926262a4 | [
"MIT"
] | null | null | null | tests/test_shortest_path.cpp | JohnPapagiannakos/graphcpp | 32291f895c68477d256609d97cf66135926262a4 | [
"MIT"
] | null | null | null | tests/test_shortest_path.cpp | JohnPapagiannakos/graphcpp | 32291f895c68477d256609d97cf66135926262a4 | [
"MIT"
] | null | null | null | #include "GraphCpp.hpp"
#include <cassert>
int main()
{
// Example #1
WeightedVertex<int, int> S0(0);
WeightedVertex<int, int> S1(1);
WeightedVertex<int, int> S2(2);
WeightedVertex<int, int> S3(3);
WeightedVertex<int, int> S4(4);
UndirectedWeightedGraph<int, int> testWeightedGraph;
tes... | 30.529412 | 112 | 0.647399 | JohnPapagiannakos |
ca436b2fe57a8965abbb9d44b84287010d66f33c | 4,139 | cpp | C++ | src-native/BCIDynamic/JClass/JFileStream.cpp | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | src-native/BCIDynamic/JClass/JFileStream.cpp | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | src-native/BCIDynamic/JClass/JFileStream.cpp | lta-disco-unimib-it/BCT | 1c7fcb52f42bae9f5169c94032ded919cb1c42c4 | [
"Apache-2.0"
] | null | null | null | /**********************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... | 25.549383 | 80 | 0.473544 | lta-disco-unimib-it |
ca4536e54a4c45a4f1018e1cb736391991d15223 | 12,420 | cpp | C++ | Form_DLL/Source_Files/Form.cpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Form_DLL/Source_Files/Form.cpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Form_DLL/Source_Files/Form.cpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /* Copyright 2020 Sébastien Kéroack. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | 46.343284 | 165 | 0.496618 | SebastienKeroack |
ca45fee4c551f9ff886c63da599d1a4c25f1e741 | 5,343 | cpp | C++ | day10/main.cpp | soerenbnoergaard/adventofcode2020 | eaaf0b670ab581cf993167fa19023fe965cc2eb4 | [
"MIT"
] | null | null | null | day10/main.cpp | soerenbnoergaard/adventofcode2020 | eaaf0b670ab581cf993167fa19023fe965cc2eb4 | [
"MIT"
] | null | null | null | day10/main.cpp | soerenbnoergaard/adventofcode2020 | eaaf0b670ab581cf993167fa19023fe965cc2eb4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <algorithm>
#include <vector>
#include <map>
#include <cstring>
using namespace std;
/* #define INPUT_FILE "test_input.txt" */
/* #define INPUT_FILE "test_input2.txt" */
/* #define INPUT_FILE "test_input3.txt" */
#define INPUT_FILE "puzzle_input.txt"
typedef uint64_t b... | 22.078512 | 97 | 0.521056 | soerenbnoergaard |
ca49acb3a7702340d3e0d74edf3d833d9c4e0624 | 5,703 | hpp | C++ | Graphics/GraphicsEngineVulkan/include/EngineVkImplTraits.hpp | MikhailGorobets/DiligentCore | 340064e521a6012cb6230564fb9d2e3a263b6911 | [
"Apache-2.0"
] | 398 | 2016-04-21T03:38:50.000Z | 2022-03-23T15:27:31.000Z | Graphics/GraphicsEngineVulkan/include/EngineVkImplTraits.hpp | MikhailGorobets/DiligentCore | 340064e521a6012cb6230564fb9d2e3a263b6911 | [
"Apache-2.0"
] | 275 | 2017-12-27T04:11:55.000Z | 2022-03-30T07:35:11.000Z | Graphics/GraphicsEngineVulkan/include/EngineVkImplTraits.hpp | MikhailGorobets/DiligentCore | 340064e521a6012cb6230564fb9d2e3a263b6911 | [
"Apache-2.0"
] | 139 | 2017-09-13T06:19:49.000Z | 2022-03-28T15:01:20.000Z | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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.... | 40.446809 | 89 | 0.716114 | MikhailGorobets |
ca4a3b59709f41f392d1270ee057df2939511ebe | 1,345 | cpp | C++ | Rev/cpp/revMaterialLoader.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | Rev/cpp/revMaterialLoader.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | Rev/cpp/revMaterialLoader.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | #include "revMaterialLoader.h"
const uint32 DATA_VERSION = 1;
revMaterialLoader::revMaterialLoader()
{}
revMaterialLoader::~revMaterialLoader()
{}
bool revMaterialLoader::LoadFromFile(const char* path, revMaterial* material)
{
if (!revResourceLoader::LoadFromFile(path, material)) return false;
uint32 offset = 0;... | 27.44898 | 90 | 0.744981 | YIMonge |
ca4bc3e294c5d263621dca6686ba4d297dfe6373 | 6,984 | cpp | C++ | inference-engine/tests/functional/inference_engine/lp_transformations/fake_quantize_and_two_output_branches_with_convolution.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 1 | 2021-04-22T07:28:03.000Z | 2021-04-22T07:28:03.000Z | inference-engine/tests/functional/inference_engine/lp_transformations/fake_quantize_and_two_output_branches_with_convolution.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 34 | 2020-09-07T09:31:41.000Z | 2022-02-21T13:03:27.000Z | inference-engine/tests/functional/inference_engine/lp_transformations/fake_quantize_and_two_output_branches_with_convolution.cpp | NikDemoShow/openvino | 31907e51e96f1603753dc69811bdf738374ca5e6 | [
"Apache-2.0"
] | 3 | 2021-04-25T06:52:41.000Z | 2021-05-07T02:01:44.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "layer_transformation.hpp"
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <gtest/gtest.h>
#include <low_precision/convolution.hpp>
#include <low_precision/fake_quantize_decomposition.hpp>
... | 40.604651 | 141 | 0.645619 | NikDemoShow |
ca4e292a63712fdf69e6acf422d0e42b0b8ac282 | 123 | cpp | C++ | examples/simple_library/sources/simple_library.cpp | Liastre/CMakeExtended | 806951169ad340afb3d15060dacacf8e19c7facc | [
"MIT"
] | null | null | null | examples/simple_library/sources/simple_library.cpp | Liastre/CMakeExtended | 806951169ad340afb3d15060dacacf8e19c7facc | [
"MIT"
] | null | null | null | examples/simple_library/sources/simple_library.cpp | Liastre/CMakeExtended | 806951169ad340afb3d15060dacacf8e19c7facc | [
"MIT"
] | null | null | null | #include <simple_library.hpp>
#include <iostream>
void Simple::hello() {
std::cout << "Hello World!" << std::endl;
}
| 15.375 | 45 | 0.634146 | Liastre |