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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33bba9bd041c2043a160aeaf81019a293ef92540 | 38,601 | cpp | C++ | src/llvm/tools/clang/lib/Lex/HeaderSearch.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2015-02-04T20:57:19.000Z | 2015-02-04T20:57:19.000Z | src/llvm/tools/clang/lib/Lex/HeaderSearch.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/llvm/tools/clang/lib/Lex/HeaderSearch.cpp | jeltz/rust-debian-package | 07eaa3658867408248c555b1b3a593c012b4f931 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | //===--- HeaderSearch.cpp - Resolve Header File Locations ---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------------------------------... | 36.313264 | 80 | 0.660346 | jeltz |
33bcb4d6dacdd0c5bb38dab41e6e8c3ee1336848 | 7,847 | cpp | C++ | src/ExtLib/MediaInfo/MediaInfo/Audio/File_Mpc.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | src/ExtLib/MediaInfo/MediaInfo/Audio/File_Mpc.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | 1 | 2019-11-14T04:18:32.000Z | 2019-11-14T04:18:32.000Z | src/ExtLib/MediaInfo/MediaInfo/Audio/File_Mpc.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Source: http://trac.musepac... | 36.668224 | 212 | 0.364216 | chinajeffery |
33bf2eacf0638c532946b398809a687075c53969 | 2,805 | cpp | C++ | cppip/icmpv6.cpp | fwmiller/cppip | d2920c579a3045c15e789994550e63dda34899e6 | [
"MIT"
] | 2 | 2021-05-15T06:51:30.000Z | 2022-02-06T17:01:34.000Z | cppip/icmpv6.cpp | fwmiller/cppip | d2920c579a3045c15e789994550e63dda34899e6 | [
"MIT"
] | null | null | null | cppip/icmpv6.cpp | fwmiller/cppip | d2920c579a3045c15e789994550e63dda34899e6 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "cppip.h"
static void icmp_dump_type(uint8_t type);
icmpv6::icmpv6()
{
this->buf = nullptr;
}
buf_t
icmpv6::get_buf()
{
return this->buf;
}
void
icmpv6::set_buf(buf_t buf)
{
this->buf = buf;
}
void
icmpv6::receive()
{
return;
}
void
icmpv6::dump()
{
if (this->buf == nullptr)
ret... | 35.506329 | 91 | 0.77754 | fwmiller |
33c0da4900003c4ac0fd3795067b7c54a3689917 | 3,059 | hpp | C++ | sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/printdocumentimageablearea.hpp | csoap/csoap.github.io | 2a8db44eb63425deff147652b65c5912f065334e | [
"Apache-2.0"
] | 5 | 2017-03-03T02:13:16.000Z | 2021-08-18T09:59:56.000Z | sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/printdocumentimageablearea.hpp | 295007712/295007712.github.io | 25241dbf774427545c3ece6534be6667848a6faf | [
"Apache-2.0"
] | null | null | null | sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/printdocumentimageablearea.hpp | 295007712/295007712.github.io | 25241dbf774427545c3ece6534be6667848a6faf | [
"Apache-2.0"
] | 4 | 2016-11-15T05:20:12.000Z | 2021-11-13T16:32:11.000Z |
#ifndef __PRINTDOCUMENTIMAGEABLEAREA_HPP__
#define __PRINTDOCUMENTIMAGEABLEAREA_HPP__
/*++
Copyright (C) 2002 - 2005 Microsoft Corporation
All rights reserved.
Module Name:
PrintDocumentImageableArea.hpp
Abstract:
This file includes the declarations of the PrintDocumentImageableArea... | 21.391608 | 104 | 0.510951 | csoap |
33ca74191dfa2b600f199988b3be0d1ea19b177c | 714 | hpp | C++ | dometer/dns/event/parse_message_event.hpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | dometer/dns/event/parse_message_event.hpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | dometer/dns/event/parse_message_event.hpp | maxenglander/dometer | baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9 | [
"MIT"
] | null | null | null | #pragma once
#include "dometer/dns/message/message.hpp"
#include "dometer/util/error.hpp"
#include "std/x/expected.hpp"
namespace util = dometer::util;
namespace dometer::dns::event {
class parse_message_event {
public:
parse_message_event(const uint64_t session_id, const std::x::expected<dns... | 34 | 119 | 0.666667 | maxenglander |
33cbf8a5cfc33318401601973f431c2ed7a60eb5 | 941 | hh | C++ | source/inc/Dno.hh | juliyla/Dron | 3e2872ae928e5abb6c6dd6b84b0c9a9076e83e0a | [
"MIT"
] | null | null | null | source/inc/Dno.hh | juliyla/Dron | 3e2872ae928e5abb6c6dd6b84b0c9a9076e83e0a | [
"MIT"
] | null | null | null | source/inc/Dno.hh | juliyla/Dron | 3e2872ae928e5abb6c6dd6b84b0c9a9076e83e0a | [
"MIT"
] | null | null | null | #ifndef DNO_HH
#define DNO_HH
#include "Powierzchnia.hh"
class Dno : public Powierzchnia{
public:
void InicjalizujPowierzchnie() {
std::vector<drawNS::Point3D> W;
for (int i = -10; i <= 10; i+=2) {
W.clear();
for (int j = -10; j <= 10; j += 2) {
W.push_back(drawNS::Point3D(i, j... | 21.386364 | 82 | 0.476089 | juliyla |
33d76a9464a9ad3de570deaff0f5ce9eae3c8d89 | 39,875 | cpp | C++ | OgreMain/src/OgreCamera.cpp | NoreChair/ogre | 568cc307eba457f434496af7517a55dfda35ce1b | [
"MIT"
] | 2 | 2019-01-22T13:17:47.000Z | 2019-01-22T13:17:49.000Z | OgreMain/src/OgreCamera.cpp | NoreChair/ogre | 568cc307eba457f434496af7517a55dfda35ce1b | [
"MIT"
] | null | null | null | OgreMain/src/OgreCamera.cpp | NoreChair/ogre | 568cc307eba457f434496af7517a55dfda35ce1b | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person o... | 34.886264 | 122 | 0.482257 | NoreChair |
33d90292846cee189ec4d507269afcca7c49844d | 618 | cpp | C++ | Hurikan/src/Hurikan/Renderer/VertexArray.cpp | RikalSiHurikan/Hurikan | c871a7b926214f7f8ef6b5afd2daf85725af3e22 | [
"Apache-2.0"
] | 1 | 2022-03-21T13:30:53.000Z | 2022-03-21T13:30:53.000Z | Hurikan/src/Hurikan/Renderer/VertexArray.cpp | RikalSiHurikan/Hurikan | c871a7b926214f7f8ef6b5afd2daf85725af3e22 | [
"Apache-2.0"
] | 2 | 2021-09-23T21:26:26.000Z | 2022-01-04T12:06:50.000Z | Hurikan/src/Hurikan/Renderer/VertexArray.cpp | RikalSiHurikan/Hurikan | c871a7b926214f7f8ef6b5afd2daf85725af3e22 | [
"Apache-2.0"
] | null | null | null | #include "hupch.h"
#include "VertexArray.h"
#include "Hurikan/Renderer/Renderer.h"
#include "Platform/OpenGL/OpenGLVertexArray.h"
namespace Hurikan {
Ref<VertexArray> VertexArray::Create()
{
switch (Renderer::GetAPI()) {
case RendererAPI::API::None:
HU_CORE_ASSERT(false, "RendererAPI: None is an invalid AP... | 23.769231 | 73 | 0.728155 | RikalSiHurikan |
33dbdcdf0b184f8192354dd85b1ebe6ed4c58035 | 1,364 | hpp | C++ | test/cppworkspace/test/src/testcase_namespaces/pp.hpp | farre/midas | f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d | [
"MIT"
] | null | null | null | test/cppworkspace/test/src/testcase_namespaces/pp.hpp | farre/midas | f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d | [
"MIT"
] | 16 | 2022-02-09T09:46:20.000Z | 2022-03-28T13:03:31.000Z | test/cppworkspace/test/src/testcase_namespaces/pp.hpp | farre/midas | f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d | [
"MIT"
] | null | null | null | #pragma once
// Types to check if pretty printing works properly for all scenarios
#include <tuple>
#include <vector>
#include <string>
#include <iostream>
namespace prettyprinting {
// These types are not meant to be good design.
// In fact they're meant to be as convoluted as possible
template <typename... | 26.230769 | 86 | 0.584311 | farre |
33ddbf8c6e013df78d2f5d0fc2e23867ea694d09 | 463 | cpp | C++ | source/sharpextern-1.1/features2d.cpp | InstytutXR/OpenCV-Unity | 3a5da9f245b0e4a8cd01147ffdd5d6291347fbd1 | [
"Apache-2.0"
] | 4 | 2021-11-15T13:48:25.000Z | 2021-12-15T23:23:09.000Z | source/sharpextern-1.1/features2d.cpp | InstytutXR/OpenCV-Unity | 3a5da9f245b0e4a8cd01147ffdd5d6291347fbd1 | [
"Apache-2.0"
] | null | null | null | source/sharpextern-1.1/features2d.cpp | InstytutXR/OpenCV-Unity | 3a5da9f245b0e4a8cd01147ffdd5d6291347fbd1 | [
"Apache-2.0"
] | null | null | null | #include "features2d.h"
#include "features2d_DescriptorMatcher.h"
#include "features2d_FeatureDetector.h"
#include "features2d_AgastFeatureDetector.h"
#include "features2d_AKAZE.h"
#include "features2d_BRISK.h"
#include "features2d_GFTTDetector.h"
#include "features2d_KAZE.h"
#include "features2d_MSER.h"
#include "fea... | 28.9375 | 44 | 0.827214 | InstytutXR |
33e03a6bf7d3c12f6587c753e85c39c070612047 | 508 | hpp | C++ | inc/main.hpp | BlockoS/chrgfx | dc30ef5a1e32a5b33c6657271f322b83da5e5309 | [
"MIT"
] | 1 | 2019-11-21T06:11:19.000Z | 2019-11-21T06:11:19.000Z | inc/main.hpp | BlockoS/chrgfx | dc30ef5a1e32a5b33c6657271f322b83da5e5309 | [
"MIT"
] | null | null | null | inc/main.hpp | BlockoS/chrgfx | dc30ef5a1e32a5b33c6657271f322b83da5e5309 | [
"MIT"
] | null | null | null | #ifndef MAIN_H
#define MAIN_H
#include <getopt.h>
#include <iostream>
#include <stdio.h>
#include "chr_conv.hpp"
#include "import_defs.hpp"
#include "pal_conv.hpp"
#include "render.hpp"
struct runtime_config {
std::string gfxdef_name{""}, chrdef_name{""}, paldef_name{""};
std::string chrdata_name{""}, paldata_name... | 18.142857 | 63 | 0.714567 | BlockoS |
33e067a59ca257644729fde9e199bc71f592c45a | 1,906 | cpp | C++ | Eldritch-Source/Code/Libraries/Math/src/line.cpp | inferno986return/eldritch-mirror | fefdb06f392b3f8c17f0617a1101c503620bc6fd | [
"Zlib",
"Unlicense"
] | 91 | 2015-01-27T22:56:26.000Z | 2022-03-25T13:33:18.000Z | Code/Libraries/Math/src/line.cpp | ctreffs/Eldritch | a6554a05c55920d32ed2f6c5d3f9770e8e2cf517 | [
"Zlib"
] | 2 | 2019-01-04T21:42:26.000Z | 2019-01-06T14:34:08.000Z | Code/Libraries/Math/src/line.cpp | Neb-Software/mEldritch | 7d07a845b3f04242ddf1f0abbad606c830ac8f20 | [
"Zlib"
] | 21 | 2015-04-06T17:41:17.000Z | 2021-06-15T00:26:18.000Z | #include "core.h"
#include "line.h"
#include "plane.h"
#include "sphere.h"
#include "triangle.h"
#include "mathcore.h"
Line::Line()
: m_Point( Vector( 0, 0, 0 ) ),
m_Direction( Vector( 0, 0, 1 ) ) {}
Line::Line( const Vector& Point, const Vector& Direction )
: m_Point( Point ),
m_Direction( Direction )... | 26.472222 | 104 | 0.614376 | inferno986return |
33e33056ccd62a342e8cfabb11bf3a21bc466365 | 17,064 | cpp | C++ | src/cppad.git/test_more/deprecated/old_usead_2.cpp | yinzixuan126/my_udacity | cada1bc047cd21282b008a0eb85a1df52fd94034 | [
"MIT"
] | 1 | 2019-11-05T02:23:47.000Z | 2019-11-05T02:23:47.000Z | src/cppad.git/test_more/deprecated/old_usead_2.cpp | yinzixuan126/my_udacity | cada1bc047cd21282b008a0eb85a1df52fd94034 | [
"MIT"
] | null | null | null | src/cppad.git/test_more/deprecated/old_usead_2.cpp | yinzixuan126/my_udacity | cada1bc047cd21282b008a0eb85a1df52fd94034 | [
"MIT"
] | 1 | 2019-11-05T02:23:51.000Z | 2019-11-05T02:23:51.000Z | /* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
CppAD is distributed under the terms of the
Eclipse Public License Version 2.0.
This Source Code may also be made available under the following
Secon... | 34.54251 | 79 | 0.403833 | yinzixuan126 |
33e474a804fb5174dd63c6d4e57de0d126fb1b3d | 27,098 | hpp | C++ | test/beast/websocket/test.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | test/beast/websocket/test.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | test/beast/websocket/test.hpp | bebuch/beast | 2454d671653844d8435f4f066946a7751a758db7 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (w) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BEAST_TEST_W... | 26.437073 | 80 | 0.477378 | bebuch |
33e5d55d1cb5e38fd6aeb83f2da16d14e9d5ebbc | 4,825 | hxx | C++ | bpkg/fetch.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 19 | 2018-05-30T12:01:25.000Z | 2022-01-29T21:37:23.000Z | bpkg/fetch.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 2 | 2019-03-18T22:31:45.000Z | 2020-07-28T06:44:03.000Z | bpkg/fetch.hxx | build2/bpkg | bd939839b44d90d027517e447537dd52539269ff | [
"MIT"
] | 1 | 2019-02-04T02:58:14.000Z | 2019-02-04T02:58:14.000Z | // file : bpkg/fetch.hxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#ifndef BPKG_FETCH_HXX
#define BPKG_FETCH_HXX
#include <ctime> // time_t
#include <libbpkg/manifest.hxx>
#include <bpkg/types.hxx>
#include <bpkg/utility.hxx>
#include <bpkg/common-options.hxx>
namespace bpkg
{
// Reposi... | 33.978873 | 78 | 0.661554 | build2 |
33e62b401bfaf0d414cc744d23dde6ce2f48b234 | 32,617 | hpp | C++ | include/seqan3/utility/views/pairwise_combine.hpp | eaasna/seqan3 | 02d00cf9ac57b17469db44b52efe7cae25700b98 | [
"CC0-1.0",
"CC-BY-4.0"
] | 1 | 2020-11-11T13:58:13.000Z | 2020-11-11T13:58:13.000Z | include/seqan3/utility/views/pairwise_combine.hpp | eaasna/seqan3 | 02d00cf9ac57b17469db44b52efe7cae25700b98 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | include/seqan3/utility/views/pairwise_combine.hpp | eaasna/seqan3 | 02d00cf9ac57b17469db44b52efe7cae25700b98 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 45.427577 | 174 | 0.623908 | eaasna |
33e81480d1d7fb808835ae8ffe5eac0d216ae463 | 2,327 | cpp | C++ | examples/example_convexHull.cpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 22 | 2016-10-05T12:19:01.000Z | 2022-01-23T09:14:41.000Z | examples/example_convexHull.cpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 23 | 2017-05-08T15:02:39.000Z | 2021-11-03T16:43:39.000Z | examples/example_convexHull.cpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 12 | 2017-06-07T23:51:09.000Z | 2022-01-04T13:06:21.000Z |
#include "../src/hypro/datastructures/Point.h"
#include "../src/hypro/algorithms/convexHull/ConvexHull.h"
int main() {
using Number = mpq_class;
std::vector<hypro::Point<Number>> points;
points.push_back( hypro::Point<Number>({ Number(-9)/Number(100), 15 , Number(14)/Number(10)}) );
points.push_back( hypro::Poi... | 51.711111 | 97 | 0.65578 | hypro |
33e8af64750a5993554f806f0c60a0f9c7b693ba | 2,782 | cc | C++ | src/builder.cc | alibenD/design_pattern | 1e40d3890145e7fa9385b72da9c1d50203db3346 | [
"MIT"
] | null | null | null | src/builder.cc | alibenD/design_pattern | 1e40d3890145e7fa9385b72da9c1d50203db3346 | [
"MIT"
] | null | null | null | src/builder.cc | alibenD/design_pattern | 1e40d3890145e7fa9385b72da9c1d50203db3346 | [
"MIT"
] | null | null | null | /**
* @Copyright (C) 2019 All rights reserved.
* @date: 2019
* @file: buidler.cc
* @version: v0.0.1
* @author: aliben.develop@gmail.com
* @create_date: 2019-08-06 14:19:28
* @last_modified_date: 2019-08-06 15:38:18
* @brief: TODO
* @details: TODO
*/
//INCLUDE
#include <design_pattern/builder.hh>
#i... | 19.186207 | 62 | 0.623293 | alibenD |
33e90e882ebf6daf1c4dbc65acbea97d7a4ae0ab | 19,222 | cc | C++ | modules/audio_processing/aec3/echo_canceller3.cc | jtg-gg/nwjs-webrtc | 1268b89b15692e094c3b4dc6ab59d7af704330ed | [
"BSD-3-Clause"
] | null | null | null | modules/audio_processing/aec3/echo_canceller3.cc | jtg-gg/nwjs-webrtc | 1268b89b15692e094c3b4dc6ab59d7af704330ed | [
"BSD-3-Clause"
] | null | null | null | modules/audio_processing/aec3/echo_canceller3.cc | jtg-gg/nwjs-webrtc | 1268b89b15692e094c3b4dc6ab59d7af704330ed | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 36.965385 | 80 | 0.695297 | jtg-gg |
33ec56f802b9533021ce5ddc32447043c26422f3 | 2,849 | cpp | C++ | runtime/command_stream/create_command_stream_impl.cpp | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | null | null | null | runtime/command_stream/create_command_stream_impl.cpp | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | 1 | 2019-09-17T08:06:24.000Z | 2019-09-17T08:06:24.000Z | runtime/command_stream/create_command_stream_impl.cpp | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | 2 | 2019-09-12T05:03:02.000Z | 2020-03-12T02:17:34.000Z | /*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/command_stream/aub_command_stream_receiver.h"
#include "runtime/command_stream/command_stream_receiver_with_aub_dump.h"
#include "runtime/command_stream/tbx_command_stream_receiver.h"
#include "runtime/execution... | 36.525641 | 121 | 0.70867 | tripzero |
33ec977974cd71c860ffc26a5453fbf30b688c33 | 491 | cpp | C++ | KvGlobal/KvGlobal.cpp | kael0930/Kvms.rtti | dba6b7fb93ba8e7dc41f62ee82eac1238917fb90 | [
"MIT"
] | 1 | 2021-08-31T08:36:02.000Z | 2021-08-31T08:36:02.000Z | KvGlobal/KvGlobal.cpp | kael0930/Kvms.rtti | dba6b7fb93ba8e7dc41f62ee82eac1238917fb90 | [
"MIT"
] | null | null | null | KvGlobal/KvGlobal.cpp | kael0930/Kvms.rtti | dba6b7fb93ba8e7dc41f62ee82eac1238917fb90 | [
"MIT"
] | null | null | null | #include "KvGlobal.h"
void kv_assert(const char *assertion, const char *file, int line)
{
kFatal("ASSERT: \"%s\" in file %s, line %d", assertion, file, line);
}
void kv_assert_x(const char *where, const char *what, const char *file, int line)
{
kFatal("ASSERT failure in %s: \"%s\", file %s, line %d", where, what, f... | 15.34375 | 83 | 0.615071 | kael0930 |
33eeaa34d235903a7ecad0e4c37dc3d85d3c62d5 | 18,640 | hpp | C++ | linalg/tmatrix.hpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | linalg/tmatrix.hpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | linalg/tmatrix.hpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 34.264706 | 80 | 0.559496 | henrykrumb |
33ef83c0085e4baf46a70af66bf2e9b96a76e180 | 6,345 | cpp | C++ | deps/gwen/Renderers/OpenGL/OpenGL.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | 1 | 2022-02-06T10:36:59.000Z | 2022-02-06T10:36:59.000Z | deps/gwen/Renderers/OpenGL/OpenGL.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | null | null | null | deps/gwen/Renderers/OpenGL/OpenGL.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | null | null | null |
#include "Gwen/Renderers/OpenGL.h"
#include "Gwen/Utility.h"
#include "Gwen/Font.h"
#include "Gwen/Texture.h"
#include <math.h>
#include "GL/glew.h"
#include "FreeImage/FreeImage.h"
namespace Gwen
{
namespace Renderer
{
OpenGL::OpenGL()
{
m_iVertNum = 0;
::FreeImage_Initialise();
for ( int i=0; i<... | 23.072727 | 153 | 0.638455 | haileys |
33f2b164ac8df9cadfee8de285006429c5d9da8c | 5,266 | cpp | C++ | src/dawn/tests/unittests/SlabAllocatorTests.cpp | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/dawn/tests/unittests/SlabAllocatorTests.cpp | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | src/dawn/tests/unittests/SlabAllocatorTests.cpp | encounter/dawn-cmake | 64a23ce0ede5f232cc209b69d64164ede6810b65 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 28.934066 | 89 | 0.607292 | encounter |
33f33056ff639f2608d89519b754e86cdac8e1ec | 48,179 | hpp | C++ | src/coreclr/jit/ICorJitInfo_API_wrapper.hpp | ThE-TiGeR/DotnetRuntime | 1701d13135149e0c5295ce4045967792df390a37 | [
"MIT"
] | 9 | 2019-11-26T05:20:24.000Z | 2021-12-10T21:37:26.000Z | src/coreclr/jit/ICorJitInfo_API_wrapper.hpp | ThE-TiGeR/DotnetRuntime | 1701d13135149e0c5295ce4045967792df390a37 | [
"MIT"
] | 6 | 2020-03-17T17:55:36.000Z | 2021-11-28T11:16:55.000Z | src/coreclr/jit/ICorJitInfo_API_wrapper.hpp | ThE-TiGeR/DotnetRuntime | 1701d13135149e0c5295ce4045967792df390a37 | [
"MIT"
] | 1 | 2021-05-26T03:22:17.000Z | 2021-05-26T03:22:17.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// DO NOT EDIT THIS FILE! IT IS AUTOGENERATED
// To regenerate run the gen script in src/coreclr/tools/Common/JitInterface/ThunkGenerator
// and follow the instructions in docs/proje... | 28.457767 | 130 | 0.727661 | ThE-TiGeR |
33f4ebca1dc02f4eb3116e5467b03cd2b1e3c3ec | 811 | hpp | C++ | include/nn/nn.hpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | 1 | 2020-11-17T14:25:28.000Z | 2020-11-17T14:25:28.000Z | include/nn/nn.hpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | include/nn/nn.hpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | #pragma once
#include "network.hpp"
#include "optimizable_weights.hpp"
#include "prediction_batch_provider.hpp"
#include "serializer.hpp"
#include "techniques/adagrad.hpp"
#include "techniques/adam.hpp"
#include "techniques/convolutional.hpp"
#include "techniques/dropout.hpp"
#include "techniques/fully_connected.hpp"
... | 32.44 | 48 | 0.805179 | shibii |
33f5d3c5545b3b3934e6360112d004b65e6d00ca | 6,331 | cpp | C++ | aws-cpp-sdk-awstransfer/source/model/DescribedServer.cpp | neil-b/aws-sdk-cpp | 1602b75abbca880b770c12788f6d2bac0c87176a | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-awstransfer/source/model/DescribedServer.cpp | neil-b/aws-sdk-cpp | 1602b75abbca880b770c12788f6d2bac0c87176a | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-awstransfer/source/model/DescribedServer.cpp | neil-b/aws-sdk-cpp | 1602b75abbca880b770c12788f6d2bac0c87176a | [
"Apache-2.0"
] | 1 | 2020-11-04T03:18:11.000Z | 2020-11-04T03:18:11.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/awstransfer/model/DescribedServer.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
n... | 24.256705 | 133 | 0.738746 | neil-b |
33f662589ed507759ec1b5080fb319b8e039e8ae | 2,880 | cpp | C++ | es-core/src/components/ButtonComponent.cpp | PascalLeroi/emulstation | c874c506d98252b6564fd42b22d62865d6f4a676 | [
"Apache-2.0",
"MIT"
] | 1,550 | 2015-01-01T09:04:26.000Z | 2022-03-31T16:38:15.000Z | es-core/src/components/ButtonComponent.cpp | PascalLeroi/emulstation | c874c506d98252b6564fd42b22d62865d6f4a676 | [
"Apache-2.0",
"MIT"
] | 567 | 2015-01-01T05:20:50.000Z | 2022-03-27T19:22:07.000Z | es-core/src/components/ButtonComponent.cpp | PascalLeroi/emulstation | c874c506d98252b6564fd42b22d62865d6f4a676 | [
"Apache-2.0",
"MIT"
] | 637 | 2015-01-01T15:53:55.000Z | 2022-03-30T06:38:18.000Z | #include "components/ButtonComponent.h"
#include "Renderer.h"
#include "Window.h"
#include "Util.h"
#include "Log.h"
ButtonComponent::ButtonComponent(Window* window, const std::string& text, const std::string& helpText, const std::function<void()>& func) : GuiComponent(window),
mBox(window, ":/button.png"),
mFont(Fo... | 23.606557 | 161 | 0.725347 | PascalLeroi |
33f66e9d2640eb60fc050c82cf79a1770f433161 | 2,865 | cpp | C++ | attacker/ReplaceNetFile.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | null | null | null | attacker/ReplaceNetFile.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | null | null | null | attacker/ReplaceNetFile.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | 1 | 2022-03-20T03:21:00.000Z | 2022-03-20T03:21:00.000Z |
#include "ReplaceNetFile.h"
#include "FileOper.h"
#include "cipher/CryptoUtils.h"
ReplaceNetFile::~ReplaceNetFile() {
}
ReplaceNetFile::ReplaceNetFile() {
}
int ReplaceNetFile::sendReplaceFile(pcap_t * pcapT,const char * lppacket, int packetsize, char * ip,int type,LPPPPOEHEADER pppoe) {
int ret = 0;
if (m_dat... | 21.704545 | 131 | 0.709599 | satadriver |
33f6ac790592f39757a6c9ae82a74454676b2c50 | 1,866 | cpp | C++ | src/test/storage/storage_manager_test.cpp | ramboldio/dyod1920 | c2b7d023acf405914b6043efc157e7e011564552 | [
"MIT"
] | null | null | null | src/test/storage/storage_manager_test.cpp | ramboldio/dyod1920 | c2b7d023acf405914b6043efc157e7e011564552 | [
"MIT"
] | 2 | 2019-11-11T10:39:45.000Z | 2019-12-01T17:48:53.000Z | src/test/storage/storage_manager_test.cpp | ramboldio/dyod1920 | c2b7d023acf405914b6043efc157e7e011564552 | [
"MIT"
] | null | null | null | #include <memory>
#include "../base_test.hpp"
#include "gtest/gtest.h"
#include "../lib/storage/storage_manager.hpp"
#include "../lib/storage/table.hpp"
namespace opossum {
class StorageStorageManagerTest : public BaseTest {
protected:
void SetUp() override {
auto& sm = StorageManager::get();
auto t1 = s... | 27.441176 | 64 | 0.717578 | ramboldio |
33fa2f59d066a5b7df025964da39148b28824840 | 41,545 | cc | C++ | src/tint/reader/spirv/function_memory_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 9 | 2021-11-05T11:08:14.000Z | 2022-03-18T05:14:34.000Z | src/tint/reader/spirv/function_memory_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 2 | 2021-12-01T05:08:59.000Z | 2022-02-18T08:14:30.000Z | src/tint/reader/spirv/function_memory_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 1 | 2022-02-11T17:39:44.000Z | 2022-02-11T17:39:44.000Z | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 32.155573 | 87 | 0.673655 | hexops |
33fa3d2d89ac46826fed970487d6a0d30e06935d | 2,805 | hpp | C++ | src/sweepers/cmdo/moc_sweeper_2d3d.hpp | tp-ntouran/mocc | 77d386cdf341b1a860599ff7c6e4017d46e0b102 | [
"Apache-2.0"
] | 11 | 2016-03-31T17:46:15.000Z | 2022-02-14T01:07:56.000Z | src/sweepers/cmdo/moc_sweeper_2d3d.hpp | tp-ntouran/mocc | 77d386cdf341b1a860599ff7c6e4017d46e0b102 | [
"Apache-2.0"
] | 3 | 2016-04-04T16:40:47.000Z | 2019-10-16T22:22:54.000Z | src/sweepers/cmdo/moc_sweeper_2d3d.hpp | tp-ntouran/mocc | 77d386cdf341b1a860599ff7c6e4017d46e0b102 | [
"Apache-2.0"
] | 3 | 2019-10-16T22:20:15.000Z | 2019-11-28T11:59:03.000Z | /*
Copyright 2016 Mitchell Young
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 ... | 30.824176 | 80 | 0.679857 | tp-ntouran |
33fb2e0cb3450c57822f780c5bb3f87f3348f03b | 4,554 | cpp | C++ | mr.Sadman/Classes/GameAct/Objects/Tech/Impeller.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Tech/Impeller.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Tech/Impeller.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #include "Director.hpp"
#include "GameAct/Act.hpp"
#include "GameAct/Objects/Factories/ObjectsFactory.hpp"
#include "Impeller.hpp"
#include "GameAct/Objects/SubTypes/Stream.hpp"
namespace GameAct
{
namespace Tech
{
Impeller::Impeller()
: _decorator( Director::getInstance().getGameAct()->getObjectsFacto... | 23 | 114 | 0.636364 | 1pkg |
33fd53064c21ef565ce79193a10ca8970fba4be4 | 9,615 | hh | C++ | src/mem/ruby/system/Sequencer.hh | dragonswordsman/gem5 | 47ab272811bf4d5795a9bbcdecf2413c903464c0 | [
"BSD-3-Clause"
] | 1 | 2021-08-06T08:52:30.000Z | 2021-08-06T08:52:30.000Z | src/mem/ruby/system/Sequencer.hh | dragonswordsman/gem5 | 47ab272811bf4d5795a9bbcdecf2413c903464c0 | [
"BSD-3-Clause"
] | 1 | 2021-08-05T15:29:03.000Z | 2021-08-06T08:57:01.000Z | src/mem/ruby/system/Sequencer.hh | dragonswordsman/gem5 | 47ab272811bf4d5795a9bbcdecf2413c903464c0 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T14:07:31.000Z | 2022-03-08T14:07:31.000Z | /*
* Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
* 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 l... | 38.154762 | 79 | 0.714613 | dragonswordsman |
33fddbbd646f2c0b1e7709efb2394c51eab60a1e | 1,523 | hpp | C++ | include/opentxs/consensus/TransactionStatement.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | include/opentxs/consensus/TransactionStatement.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | include/opentxs/consensus/TransactionStatement.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | // Copyright (c) 2018 The Open-Transactions developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef OPENTXS_CONSENSUS_TRANSACTIONSTATEMENT_HPP
#define OPE... | 28.203704 | 78 | 0.738017 | nopdotcom |
d50113026eb2d3b7c3c04f4db58638e39432ca13 | 377 | cc | C++ | Examens/Entrenament Control 2/ex2.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | Examens/Entrenament Control 2/ex2.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | Examens/Entrenament Control 2/ex2.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
char atbash(char c){
if (c >= 'a' and c<= 'z') c = c-' ';
if (c >= 'A' and c<= 'Z') return 'Z'-(c+25-'Z');
}
void print_atbash_encipherment() {
char c;
while (cin >> c and c != '#') {
if ((c >='A' and c<='Z') or (c>= 'a' and c<='z')) cout << atbash(c);
}
cout << '#' <<... | 17.952381 | 70 | 0.514589 | angelgomezsa |
d5056d8596460b104f6bc4677283cc70e72a1375 | 2,155 | cc | C++ | metadb/fstat_test.cc | yux20000304/indexfs | e0b9a742e2fe9b231f06803a5af2e0c596e0d7c6 | [
"BSD-3-Clause"
] | 2 | 2021-05-29T07:27:23.000Z | 2022-02-26T18:16:07.000Z | metadb/fstat_test.cc | yux20000304/indexfs | e0b9a742e2fe9b231f06803a5af2e0c596e0d7c6 | [
"BSD-3-Clause"
] | null | null | null | metadb/fstat_test.cc | yux20000304/indexfs | e0b9a742e2fe9b231f06803a5af2e0c596e0d7c6 | [
"BSD-3-Clause"
] | 3 | 2021-01-18T03:42:53.000Z | 2022-01-02T14:50:03.000Z | // Copyright (c) 2014 The IndexFS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "metadb/fstat.h"
#include "common/unit_test.h"
namespace indexfs { namespace mdb { namespace ... | 27.628205 | 77 | 0.744316 | yux20000304 |
d5065c9cb3be2daeafbb50707775a3b9d6ec884d | 1,899 | cpp | C++ | 2985/5966960_RE.cpp | twilightgod/twilight-poj-solution | 3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82 | [
"Apache-2.0"
] | 21 | 2015-05-26T10:18:12.000Z | 2021-06-01T09:39:47.000Z | 2985/5966960_RE.cpp | twilightgod/twilight-poj-solution | 3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82 | [
"Apache-2.0"
] | null | null | null | 2985/5966960_RE.cpp | twilightgod/twilight-poj-solution | 3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82 | [
"Apache-2.0"
] | 8 | 2015-09-30T08:41:15.000Z | 2020-03-11T03:49:42.000Z | /*******************************************************************************
* Online Judge : POJ
* Problem Title : The k-th Largest Group
* Problem URL : http://acm.pku.edu.cn/JudgeOnline/problem?id=2985
* ID : 2985
* Date : 10/7/2009
* Time : 10... | 14.066667 | 80 | 0.482886 | twilightgod |
d50738a5b6ca8bce50ab0ac2ae4e1fa698a598de | 362,760 | cpp | C++ | examples/simpleapp/htmlcpp/htm_js_d3_d3.min.js.cpp | summit4you/QThybrid | e29d9cec4bea55a7cc53ec2aed7ff44b5aff79f4 | [
"MIT",
"Unlicense"
] | 1 | 2015-03-19T23:27:26.000Z | 2015-03-19T23:27:26.000Z | plugin-in/example/htm_js_d3_d3.min.js.cpp | summit4you/QThybrid | e29d9cec4bea55a7cc53ec2aed7ff44b5aff79f4 | [
"MIT",
"Unlicense"
] | null | null | null | plugin-in/example/htm_js_d3_d3.min.js.cpp | summit4you/QThybrid | e29d9cec4bea55a7cc53ec2aed7ff44b5aff79f4 | [
"MIT",
"Unlicense"
] | null | null | null |
extern const char data_T1354214889I17[] =
{
0x28, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x28, 0x29, 0x7b, 0x66, 0x75, 0x6e, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x28, 0x61, 0x29, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x62, 0x3d,
0x2d, 0x31, 0x2c, 0x63, 0x3d, 0x61, 0x2e, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0... | 96.813451 | 96 | 0.659814 | summit4you |
d50a02d778058f5f7936760109472aa7a98ca84f | 223 | cpp | C++ | Bridge/CivilianTime.cpp | kovgergo2001/DesignPatterns | 64997205a1338c67ab5282f90c631a1031a87dd6 | [
"MIT"
] | null | null | null | Bridge/CivilianTime.cpp | kovgergo2001/DesignPatterns | 64997205a1338c67ab5282f90c631a1031a87dd6 | [
"MIT"
] | null | null | null | Bridge/CivilianTime.cpp | kovgergo2001/DesignPatterns | 64997205a1338c67ab5282f90c631a1031a87dd6 | [
"MIT"
] | null | null | null | #include <iostream>
#include "TimeImp.hpp"
#include "CivilianTimeImp.hpp"
#include "Time.hpp"
#include "CivilianTime.hpp"
CivilianTime::CivilianTime(int hr, int min, int pm) {
imp_ = new CivilianTimeImp(hr, min, pm);
} | 24.777778 | 53 | 0.726457 | kovgergo2001 |
d510680b1417a78a2853cfebe9121d7c642c1883 | 6,209 | cpp | C++ | API/Yap/PipelineConstructor.cpp | yangshadip/YAP-SELF | c715baa61c9504304629f28c05fd0f70b629f32a | [
"MIT"
] | 20 | 2016-07-05T05:23:04.000Z | 2021-11-07T14:25:59.000Z | API/Yap/PipelineConstructor.cpp | yangshadip/YAP-SELF | c715baa61c9504304629f28c05fd0f70b629f32a | [
"MIT"
] | 20 | 2016-06-08T06:36:55.000Z | 2018-04-25T09:52:18.000Z | API/Yap/PipelineConstructor.cpp | yangshadip/YAP-SELF | c715baa61c9504304629f28c05fd0f70b629f32a | [
"MIT"
] | 21 | 2016-05-31T15:34:09.000Z | 2021-11-07T14:26:03.000Z | #include "PipelineConstructor.h"
#include "ModuleManager.h"
#include "ProcessorAgent.h"
#include "Implement/CompositeProcessor.h"
#include "Implement/LogImpl.h"
using namespace Yap;
using namespace std;
ConstructError::ConstructError() :
_error_number(ConstructErrorSuccess)
{
}
ConstructError::ConstructError(unsign... | 23.16791 | 107 | 0.736189 | yangshadip |
d513d8e597888f63840cf0bd56a5c0ef3f6978fe | 854 | cpp | C++ | POJ/17 - 19/poj1920.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2017-08-19T16:02:15.000Z | 2017-08-19T16:02:15.000Z | POJ/17 - 19/poj1920.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | null | null | null | POJ/17 - 19/poj1920.cpp | bilibiliShen/CodeBank | 49a69b2b2c3603bf105140a9d924946ed3193457 | [
"MIT"
] | 1 | 2018-01-05T23:37:23.000Z | 2018-01-05T23:37:23.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
const int MaxN = 100010;
int n, top, ans, num[4], dp[MaxN], s[MaxN];
int main()
{
int i, j, begin, mid, end;
scanf("%d", &n);
dp[1] = 1, top = 2;
while (top <= n)
dp[top++] = ((dp[top - 1] << ... | 19.409091 | 55 | 0.38993 | bilibiliShen |
d513e069c1933f3708de723b28e64d22a04b6d48 | 1,404 | cpp | C++ | leetcode/leetcode039.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | leetcode/leetcode039.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | leetcode/leetcode039.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
using namespace std;
vector<vector<int>> combinationSum(vector<int>& candidates, int target);
void combinationSum(vector<int>& candidates, int target, int sum, int m,
vector<int>& current, vector<vector<int>>& result);
int main(){
vector<vector<int>> can... | 31.2 | 128 | 0.57906 | KevinYang515 |
d5146e7c1130226062f9d3fca1b867e9bc1d69df | 9,292 | cpp | C++ | Source/Urho3D/UI/UIComponent.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | Source/Urho3D/UI/UIComponent.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | Source/Urho3D/UI/UIComponent.cpp | jayrulez/alimer-1 | 3b40798cbf21650ba37e9750dd24d8aa7efadf22 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2008-2022 the Urho3D project.
//
// 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, m... | 35.064151 | 126 | 0.641627 | jayrulez |
d515995828917185f0f4ec73242939030df90baf | 374 | cpp | C++ | InstallShieldDecompiler/FuncCallAction.cpp | jte/installscript-decompiler | 4ec88fb5f1892ebc310c8dec471406322421b1c0 | [
"MIT"
] | null | null | null | InstallShieldDecompiler/FuncCallAction.cpp | jte/installscript-decompiler | 4ec88fb5f1892ebc310c8dec471406322421b1c0 | [
"MIT"
] | 1 | 2020-12-13T03:44:07.000Z | 2020-12-13T03:44:07.000Z | InstallShieldDecompiler/FuncCallAction.cpp | jte/installscript-decompiler | 4ec88fb5f1892ebc310c8dec471406322421b1c0 | [
"MIT"
] | null | null | null | #include "FuncCallAction.h"
CFuncCallAction::CFuncCallAction(CIScript* script, StreamPtr& filePtr) :
CActionWithArgs(script)
{
Parse(filePtr);
}
void CFuncCallAction::Parse(StreamPtr& filePtr)
{
filePtr.Read(m_actionId);
filePtr.Read(m_functionId);
uint16_t numArguments = 0;
filePtr.Read(numArguments);
m_argum... | 22 | 72 | 0.783422 | jte |
d517b3b40ae36b1c930b4b84783a2917159ab1e6 | 954 | hpp | C++ | bm3d-sycl/params.hpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 58 | 2020-08-06T18:53:44.000Z | 2021-10-01T07:59:46.000Z | bm3d-sycl/params.hpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 2 | 2020-12-04T12:35:02.000Z | 2021-03-04T22:49:25.000Z | bm3d-sycl/params.hpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 13 | 2020-08-19T13:44:18.000Z | 2021-09-08T04:25:34.000Z | #ifndef _PARAMS_HPP_
#define _PARAMS_HPP_
struct Params
{
// RESTRICTIONS: k must be divisible by p
unsigned int n; // Half of area (in each dim) in which the similar blocks are searched
unsigned int k; // width and height of a patch
unsigned int N; // Maximal number of similar blocks in stack (withou... | 36.692308 | 111 | 0.675052 | BeauJoh |
d51ae57beac42873439f3d2a1d66c5faffbaf4a7 | 444 | cpp | C++ | 3. Tablouri unidimensionale - Vectori/Sortari/Sortare prin selectia maximului/selectionsort(max).cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | 2 | 2021-04-20T21:22:37.000Z | 2021-04-20T21:23:09.000Z | 3. Tablouri unidimensionale - Vectori/Sortari/Sortare prin selectia maximului/selectionsort(max).cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | null | null | null | 3. Tablouri unidimensionale - Vectori/Sortari/Sortare prin selectia maximului/selectionsort(max).cpp | RegusAl/School | 87deb27f241aab1a93fd1cab0de2c7d8ee93df71 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int v[100], n, max, poz_max;
cin>>n;
for(int i = 0; i < n; i++)
cin>>v[i];
for(int i = 0; i < n-1; i++)
{
max = v[i];
poz_max = i;
for(int j = i+1; j < n; j++)
if(v[j] > max)
{
max = v[j];
poz_max = j;
}
... | 14.8 | 32 | 0.391892 | RegusAl |
d51df5bebe4c50db63ddef3e3429a7a882292eb6 | 10,171 | cpp | C++ | libgpopt/src/xforms/CXform.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/xforms/CXform.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/xforms/CXform.cpp | soumyadeep2007/gporca | f255dea5a93a9e1fdd1b3303779866799fd13cb5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 Greenplum, Inc.
//
// @filename:
// CXform.cpp
//
// @doc:
// Base class for all transformations
//---------------------------------------------------------------------------
#include "gpos/base.... | 30.361194 | 77 | 0.656474 | soumyadeep2007 |
d51f3361478e0e8366482ab495639b97b1eb32f2 | 143 | hpp | C++ | Axis.Core/foundation/Axis.Core.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Core/foundation/Axis.Core.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Core/foundation/Axis.Core.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #pragma once
#if defined(AXISCORE_EXPORTS)
#define AXISCORE_API __declspec(dllexport)
#else
#define AXISCORE_API __declspec(dllimport)
#endif
| 17.875 | 42 | 0.825175 | renato-yuzup |
d520691ec2460fc4083d7621fd7102d2e84710dd | 22,052 | cxx | C++ | Modules/Core/Transform/test/itkBSplineTransformTest.cxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | null | null | null | Modules/Core/Transform/test/itkBSplineTransformTest.cxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | null | null | null | Modules/Core/Transform/test/itkBSplineTransformTest.cxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 29.246684 | 120 | 0.652911 | jond01 |
d522bab4dac645291f4a53019aefb1cc850c5dbf | 147,845 | cpp | C++ | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_2_11.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_2_11.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_2_11.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | #include "Matrix_Vector_Activa_2.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void Matrix_Vector_Activa_2::thread_tmp_5988_fu_39848_p3() {
tmp_5988_fu_39848_p3 = weights2_m_weights_V_29_q0.read().range(31, 31);
}
void Matrix_Vector_Activa_2::thread_tmp_5989_fu_39868_p3() {
tmp_5989_fu_39... | 36.869077 | 81 | 0.810423 | IceyFong |
d524c0bed2e6ca693610ae2f367fee607e931914 | 5,161 | hpp | C++ | core/src/api/CosmosLikeValidator.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 92 | 2016-11-13T01:28:34.000Z | 2022-03-25T01:11:37.000Z | core/src/api/CosmosLikeValidator.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 242 | 2016-11-28T11:13:09.000Z | 2022-03-04T13:02:53.000Z | core/src/api/CosmosLikeValidator.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 91 | 2017-06-20T10:35:28.000Z | 2022-03-09T14:15:40.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from validators.djinni
#ifndef DJINNI_GENERATED_COSMOSLIKEVALIDATOR_HPP
#define DJINNI_GENERATED_COSMOSLIKEVALIDATOR_HPP
#include "../utils/optional.hpp"
#include "CosmosLikeValidatorCommission.hpp"
#include "CosmosLikeValidatorDescription.hpp"
#... | 43.008333 | 225 | 0.704515 | RomanWlm |
d528562fa1318e9d36680c0c93e3e3f61feecb30 | 271 | cpp | C++ | main.cpp | fuhuasuiyue/Hecate | 099c172016cd4b8b4a89d485b0c80d59d1036d9f | [
"MIT"
] | null | null | null | main.cpp | fuhuasuiyue/Hecate | 099c172016cd4b8b4a89d485b0c80d59d1036d9f | [
"MIT"
] | null | null | null | main.cpp | fuhuasuiyue/Hecate | 099c172016cd4b8b4a89d485b0c80d59d1036d9f | [
"MIT"
] | null | null | null | #include "ApplicationCommon.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setStyle(new Qtitan::RibbonStyle());
a.setApplicationName("Hacate Software");
ApplicationCommonWindow w;
w.show();
return a.exec();
}
| 20.846154 | 41 | 0.730627 | fuhuasuiyue |
d52afd50aff8fabcb5b791db04ac9a17d4da3d0f | 2,885 | hpp | C++ | tests/test_resources.hpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | 97 | 2021-01-15T15:33:47.000Z | 2022-03-25T16:24:00.000Z | tests/test_resources.hpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | 32 | 2021-01-28T19:56:06.000Z | 2022-03-16T15:30:12.000Z | tests/test_resources.hpp | Audionut/torrenttools | 1d365e0629abe1b23b5be5bac16b24dd38ae56b5 | [
"MIT"
] | 8 | 2021-01-15T16:16:52.000Z | 2022-03-27T09:00:01.000Z | #include <filesystem>
#include <exception>
#include <fstream>
#include <iostream>
#include <random>
#include <sstream>
namespace fs = std::filesystem;
inline auto fedora_torrent = fs::path(TEST_RESOURCES_DIR) / "Fedora-Workstation-Live-x86_64-30.torrent";
inline auto bittorrent_hybrid = fs::path(TEST_RESOURCES_D... | 34.759036 | 111 | 0.659272 | Audionut |
d52b1a0b60cd13bd9dc8fcc926e4886e92101338 | 1,021 | hpp | C++ | stan/math/prim/scal/fun/erfc.hpp | sakrejda/math | 3cc99955807cf1f4ea51efd79aa3958b74d24af2 | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/scal/fun/erfc.hpp | sakrejda/math | 3cc99955807cf1f4ea51efd79aa3958b74d24af2 | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/scal/fun/erfc.hpp | sakrejda/math | 3cc99955807cf1f4ea51efd79aa3958b74d24af2 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_SCAL_FUN_ERFC_HPP
#define STAN_MATH_PRIM_SCAL_FUN_ERFC_HPP
#include <stan/math/prim/scal/fun/boost_policy.hpp>
#include <stan/math/prim/scal/fun/is_nan.hpp>
#include <boost/math/special_functions/erf.hpp>
#include <limits>
namespace stan {
namespace math {
/**
* Return the complementary error... | 25.525 | 66 | 0.70617 | sakrejda |
d52b2e822f1c70605c1f4315c2cfcbe9e527bcd0 | 4,701 | hpp | C++ | armadillo_matrix/include/armadillo_bits/eop_core_bones.hpp | Lauradejong92/wire-grad | 0bfd3fb42df363f43eb89f35c2f0769fb805f6cd | [
"BSD-2-Clause"
] | 1 | 2022-02-02T15:47:24.000Z | 2022-02-02T15:47:24.000Z | armadillo_matrix/include/armadillo_bits/eop_core_bones.hpp | Lauradejong92/wire-grad | 0bfd3fb42df363f43eb89f35c2f0769fb805f6cd | [
"BSD-2-Clause"
] | null | null | null | armadillo_matrix/include/armadillo_bits/eop_core_bones.hpp | Lauradejong92/wire-grad | 0bfd3fb42df363f43eb89f35c2f0769fb805f6cd | [
"BSD-2-Clause"
] | 2 | 2019-02-28T17:36:19.000Z | 2021-01-24T14:04:18.000Z | // Copyright (C) 2010-2011 NICTA (www.nicta.com.au)
// Copyright (C) 2010-2011 Conrad Sanderson
//
// This file is part of the Armadillo C++ library.
// It is provided without any warranty of fitness
// for any purpose. You can redistribute this file
// and/or modify it under the terms of the GNU
// Lesser General Pub... | 52.233333 | 139 | 0.626888 | Lauradejong92 |
d52cc4501f64703a649988e52f3ff2a16e34120e | 6,917 | cpp | C++ | scene/3d/instantiation.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 8 | 2019-09-03T19:58:19.000Z | 2021-06-18T07:11:26.000Z | scene/3d/instantiation.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-09-03T17:35:45.000Z | 2020-10-27T14:36:02.000Z | scene/3d/instantiation.cpp | Segs/SegsEngine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2019-09-27T15:44:35.000Z | 2021-01-23T18:52:51.000Z | /*************************************************************************/
/* multimesh_instance_3d.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 40.688235 | 132 | 0.615007 | Segs |
d52cd6c961fe9a1542d411fb4d1ed0b12baeeac6 | 730 | hpp | C++ | sources/RessourceManager/Models3DManager.hpp | MA-School/IndieStudio | 8069c992ccea3ee1dec0a9e8c3929333697ffe46 | [
"MIT"
] | 1 | 2018-02-06T16:07:17.000Z | 2018-02-06T16:07:17.000Z | sources/RessourceManager/Models3DManager.hpp | MaximeAubanel/IndieStudio | 8069c992ccea3ee1dec0a9e8c3929333697ffe46 | [
"MIT"
] | null | null | null | sources/RessourceManager/Models3DManager.hpp | MaximeAubanel/IndieStudio | 8069c992ccea3ee1dec0a9e8c3929333697ffe46 | [
"MIT"
] | 3 | 2018-02-06T16:07:22.000Z | 2018-07-12T15:02:03.000Z | /*
** Models3DManager.hpp for cpp_indie_studio in /home/sshsupreme/tek2/cpp_indie_studio/include
**
** Made by sshSupreme
** Login <sshsupreme@epitech.net>
**
** Started on Fri May 12 23:27:15 2017 sshSupreme
** Last update Fri May 19 03:54:39 2017 sshSupreme
*/
#ifndef _MODELS3DMANAGER_HPP_
# define _MODELS3DMANAG... | 22.121212 | 93 | 0.710959 | MA-School |
d52e856a7311e785352218f1f4cf0e97c5d4ec30 | 16,461 | cc | C++ | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/video_capture/test/video_capture_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/video_capture/test/video_capture_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/video_capture/test/video_capture_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 39.007109 | 134 | 0.717271 | Yash-Wasalwar-07 |
d52f0da96c830ab22ec1918e90e8f0309d7b0ae4 | 3,800 | hpp | C++ | include/VROSC/HelmRecorder.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/HelmRecorder.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/HelmRecorder.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: VROSC.SourceRecorder
#include "VROS... | 43.678161 | 169 | 0.718158 | RedBrumbler |
d535d1151c8d72fe54b0fc9734c7948442fd09dc | 1,491 | hpp | C++ | tests/math_unit/math/mix/mat/vectorize/expect_mix_std_vector_value.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | tests/math_unit/math/mix/mat/vectorize/expect_mix_std_vector_value.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | tests/math_unit/math/mix/mat/vectorize/expect_mix_std_vector_value.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef TEST_UNIT_MATH_MIX_MAT_VECTORIZE_STD_VECTOR_VALUE_HPP
#define TEST_UNIT_MATH_MIX_MAT_VECTORIZE_STD_VECTOR_VALUE_HPP
#include <math/mix/mat/vectorize/build_mix_vector.hpp>
#include <math/mix/mat/vectorize/expect_val_deriv_eq.hpp>
#include <vector>
template <typename F, typename T>
void expect_mix_std_vector_va... | 33.886364 | 78 | 0.614353 | alashworth |
d53609e8780eca4944689a08dead591d41260f4f | 3,293 | cpp | C++ | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/CrossServerMultiPossessionTest.cpp | AshHipgrave/UnrealGDK | 21c819d3782280e9cf3674f9616d749de0443b82 | [
"MIT"
] | 1 | 2020-07-15T12:43:02.000Z | 2020-07-15T12:43:02.000Z | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/CrossServerMultiPossessionTest.cpp | AshHipgrave/UnrealGDK | 21c819d3782280e9cf3674f9616d749de0443b82 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKFunctionalTests/SpatialGDK/SpatialTestPossession/CrossServerMultiPossessionTest.cpp | AshHipgrave/UnrealGDK | 21c819d3782280e9cf3674f9616d749de0443b82 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "CrossServerMultiPossessionTest.h"
#include "Containers/Array.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "GameFramework/GameModeBase.h"
#include "GameFramework/PlayerController.h"
#include "GameMapsSettings.h"
#include "SpatialFunctiona... | 38.290698 | 126 | 0.763741 | AshHipgrave |
d536f6a9f491c068f8eafdf634917de2700a2a6c | 1,272 | cpp | C++ | src/image/ppm.cpp | physacco/cv-test | 9ff95bae8c0d6c90a12807610fb6e5503fa04997 | [
"Unlicense"
] | null | null | null | src/image/ppm.cpp | physacco/cv-test | 9ff95bae8c0d6c90a12807610fb6e5503fa04997 | [
"Unlicense"
] | null | null | null | src/image/ppm.cpp | physacco/cv-test | 9ff95bae8c0d6c90a12807610fb6e5503fa04997 | [
"Unlicense"
] | null | null | null | #include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "ppm.h"
int write_ppm_data_ascii(FILE* f, uint8_t* data, int w, int h) {
for (int i = 0; i < h; ++i) {
for (int j = 0; j < w; ++j) {
int offset = (i * w + j) * 3;
int r = data[offset + 0];
int g = data[offset... | 23.127273 | 81 | 0.536164 | physacco |
d53903c25979fe9ff5b0997b3eaacf5456339e55 | 6,586 | cpp | C++ | src/mlpack/tests/perceptron_test.cpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4,216 | 2015-01-01T02:06:12.000Z | 2022-03-31T19:12:06.000Z | src/mlpack/tests/perceptron_test.cpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,621 | 2015-01-01T01:41:47.000Z | 2022-03-31T19:01:26.000Z | src/mlpack/tests/perceptron_test.cpp | florian-rosenthal/mlpack | 4287a89886e39703571165ef1d40693eb51d22c6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,972 | 2015-01-01T23:37:13.000Z | 2022-03-28T06:03:41.000Z | /**
* @file tests/perceptron_test.cpp
* @author Udit Saxena
*
* Tests for perceptron.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http://www.... | 26.556452 | 87 | 0.597328 | florian-rosenthal |
d53adbc472f2a5c57c07945a3c4aed47386c4f91 | 1,431 | cpp | C++ | Practica3/GestorTextos.cpp | Adry2317/Estructuras-de-datos-Universidad-de-Ja-n-2020-2021 | 86ff92b54ca39689e2e6e9057246d91b34e09b47 | [
"Apache-2.0"
] | null | null | null | Practica3/GestorTextos.cpp | Adry2317/Estructuras-de-datos-Universidad-de-Ja-n-2020-2021 | 86ff92b54ca39689e2e6e9057246d91b34e09b47 | [
"Apache-2.0"
] | null | null | null | Practica3/GestorTextos.cpp | Adry2317/Estructuras-de-datos-Universidad-de-Ja-n-2020-2021 | 86ff92b54ca39689e2e6e9057246d91b34e09b47 | [
"Apache-2.0"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: GestorTextos.cpp
* Author: Adrian
*
* Created on 19 de octubre de 2020, 16:51
*/
#include "GestorTextos.h"
Gesto... | 19.337838 | 84 | 0.699511 | Adry2317 |
d53d95f63cd3dd9dca0325566f9dc287c2bfb4e2 | 1,392 | cpp | C++ | sample/code/random_StringGenerator.cpp | Khoronus/CommonObjects | 98a2c37923529333fecc2cf0b6103d2db9fdaa97 | [
"MIT"
] | null | null | null | sample/code/random_StringGenerator.cpp | Khoronus/CommonObjects | 98a2c37923529333fecc2cf0b6103d2db9fdaa97 | [
"MIT"
] | null | null | null | sample/code/random_StringGenerator.cpp | Khoronus/CommonObjects | 98a2c37923529333fecc2cf0b6103d2db9fdaa97 | [
"MIT"
] | null | null | null | /**
* @file random_StringGenerator.cpp
* @brief Example of the referred class.
*
* @section LICENSE
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTIC... | 34.8 | 78 | 0.727011 | Khoronus |
d53fb257d914eec0eff6dc997a0a9f3138be3c97 | 895 | cpp | C++ | Tests/Renderer/ShapeDrawer.cpp | RizzlaPlus/Vortex2D | 88545834444262d101c5686bd70d125bff2654d9 | [
"MIT"
] | 103 | 2016-05-05T17:44:01.000Z | 2022-03-15T20:36:25.000Z | Tests/Renderer/ShapeDrawer.cpp | RizzlaPlus/Vortex2D | 88545834444262d101c5686bd70d125bff2654d9 | [
"MIT"
] | 22 | 2018-02-26T10:13:19.000Z | 2021-05-03T20:55:13.000Z | Tests/Renderer/ShapeDrawer.cpp | RizzlaPlus/Vortex2D | 88545834444262d101c5686bd70d125bff2654d9 | [
"MIT"
] | 13 | 2017-01-08T15:31:50.000Z | 2021-10-19T11:40:14.000Z | //
// ShapeDrawer.cpp
// Vortex
//
#include "ShapeDrawer.h"
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/rotate_vector.hpp>
void DrawEllipse(int width,
int height,
std::vector<float>& data,
const glm::vec2& centre,
const glm::vec2& radius,
... | 22.375 | 63 | 0.502793 | RizzlaPlus |
d540eae412e38056e21095074852e8b111b91c39 | 15,449 | cpp | C++ | es-app/src/views/ViewController.cpp | trngaje/emulationstation-go2-kor | c75cffbacf18ecf8dd710a89e04ffc00c7823153 | [
"Apache-2.0",
"MIT"
] | null | null | null | es-app/src/views/ViewController.cpp | trngaje/emulationstation-go2-kor | c75cffbacf18ecf8dd710a89e04ffc00c7823153 | [
"Apache-2.0",
"MIT"
] | null | null | null | es-app/src/views/ViewController.cpp | trngaje/emulationstation-go2-kor | c75cffbacf18ecf8dd710a89e04ffc00c7823153 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-01-31T08:16:26.000Z | 2021-01-31T08:16:26.000Z | #include "views/ViewController.h"
#include "animations/Animation.h"
#include "animations/LambdaAnimation.h"
#include "animations/LaunchAnimation.h"
#include "animations/MoveCameraAnimation.h"
#include "guis/GuiMenu.h"
#include "views/gamelist/DetailedGameListView.h"
#include "views/gamelist/IGameListView.h"
#include "... | 27.246914 | 127 | 0.710855 | trngaje |
d540fd5bb3d55bab47bd42e3a000fc7fd590a818 | 7,483 | cpp | C++ | examples/simple/otherImplementations/taskStealingPar.cpp | ge49nuk/BCLmatrix | f04368cc88ff9b2b652a403c69075a036b2b5586 | [
"BSD-3-Clause"
] | null | null | null | examples/simple/otherImplementations/taskStealingPar.cpp | ge49nuk/BCLmatrix | f04368cc88ff9b2b652a403c69075a036b2b5586 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T20:27:02.000Z | 2021-05-21T21:54:46.000Z | examples/simple/otherImplementations/taskStealingPar.cpp | ge49nuk/BCLmatrix | f04368cc88ff9b2b652a403c69075a036b2b5586 | [
"BSD-3-Clause"
] | null | null | null | #include <bcl/bcl.hpp>
#include <bcl/containers/CircularQueue.hpp>
#include <bcl/containers/FastQueue.hpp>
#include <string>
#include <cstdlib>
#include <time.h>
#include <omp.h>
#include <algorithm>
#include <bitset>
#include <random>
double stealPerc;
bool verifyResults = false;
void multiply(double *matrix, double... | 27.01444 | 168 | 0.501136 | ge49nuk |
d5410563ca800abe6d886e60752bc4273b4b8bd8 | 378 | cpp | C++ | src/multiply.cpp | yangzhiyuan0928/newcoder | 359f93967ff6c5d28c90f397025b920d65e34328 | [
"MIT"
] | null | null | null | src/multiply.cpp | yangzhiyuan0928/newcoder | 359f93967ff6c5d28c90f397025b920d65e34328 | [
"MIT"
] | null | null | null | src/multiply.cpp | yangzhiyuan0928/newcoder | 359f93967ff6c5d28c90f397025b920d65e34328 | [
"MIT"
] | null | null | null | #include <vector>
using namespace std;
class Solution {
public:
vector<int> multiply(const vector<int>& A) {
int len = A.size();
if (len <= 1)
return A;
vector<int> res;
for (int i = 0; i < len; ++i)
{
int val = 1;
for (int j = 0; j < len; j++)
{
if (j != i)
val *= A[j];... | 16.434783 | 46 | 0.484127 | yangzhiyuan0928 |
d54174a85cee78089334434faaf9962238b51803 | 22,790 | cpp | C++ | src/tsplugins/tsplugin_inject.cpp | spnngl/tsduck | ca411244bf7dfe741466762baf96e16a4a5867cc | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_inject.cpp | spnngl/tsduck | ca411244bf7dfe741466762baf96e16a4a5867cc | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_inject.cpp | spnngl/tsduck | ca411244bf7dfe741466762baf96e16a4a5867cc | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 41.211573 | 132 | 0.594208 | spnngl |
d547b524291363bf156d558999406da6d4cf4900 | 415 | cpp | C++ | Core/Components/mesh_renderer.cpp | everfor/Frankenstein | a1d0d8f7cb7a2c23e5da9c3c9ecf39a80e5b9e9c | [
"Apache-2.0"
] | 4 | 2015-03-26T20:15:59.000Z | 2019-07-04T00:50:30.000Z | Core/Components/mesh_renderer.cpp | everfor/Frankenstein | a1d0d8f7cb7a2c23e5da9c3c9ecf39a80e5b9e9c | [
"Apache-2.0"
] | null | null | null | Core/Components/mesh_renderer.cpp | everfor/Frankenstein | a1d0d8f7cb7a2c23e5da9c3c9ecf39a80e5b9e9c | [
"Apache-2.0"
] | null | null | null | #include "mesh_renderer.h"
#include "rendering_engine.h"
#include "shader.h"
MeshRenderer::MeshRenderer(Mesh *init_mesh, Material *init_material) :
mesh(init_mesh), material(init_material)
{
}
MeshRenderer::~MeshRenderer()
{
}
void MeshRenderer::render(Shader *shader, RenderingEngine *rendering_engine)
{
shader-... | 20.75 | 76 | 0.756627 | everfor |
d54b9241512e9a21e67b4d4cf39e9ad607b731a2 | 1,167 | cc | C++ | complejos/src/complejo.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-franmv21 | 6b6ca9027a8cf099834148b525183851ba39d47a | [
"MIT"
] | null | null | null | complejos/src/complejo.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-franmv21 | 6b6ca9027a8cf099834148b525183851ba39d47a | [
"MIT"
] | null | null | null | complejos/src/complejo.cc | ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-franmv21 | 6b6ca9027a8cf099834148b525183851ba39d47a | [
"MIT"
] | null | null | null | /**
* Universidad de La Laguna
* Escuela Superior de Ingeniería y Tecnología
* Grado en Ingeniería Informática
* Informática Básica
*
* @author Francisco F. Martín Vide
* @date 29.diciembre.2020
* @brief Este archivo contiene la definición de las funciones miembro.
*
* @see https://www.learncpp.com/cp... | 24.829787 | 74 | 0.658955 | ULL-ESIT-IB-2020-2021 |
d54effa32d72be63684c680eb415dca49e8bf802 | 952 | cpp | C++ | samples/Ch02_where_code_runs/fig_2_12_multiple_selectors.cpp | kgeorgen/data-parallel-CPP | c1fc8f5f9e3029be0c97f680649f07ab3f86d295 | [
"MIT"
] | null | null | null | samples/Ch02_where_code_runs/fig_2_12_multiple_selectors.cpp | kgeorgen/data-parallel-CPP | c1fc8f5f9e3029be0c97f680649f07ab3f86d295 | [
"MIT"
] | null | null | null | samples/Ch02_where_code_runs/fig_2_12_multiple_selectors.cpp | kgeorgen/data-parallel-CPP | c1fc8f5f9e3029be0c97f680649f07ab3f86d295 | [
"MIT"
] | null | null | null | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: MIT
#include <CL/sycl.hpp>
#include <CL/sycl/intel/fpga_extensions.hpp> // For fpga_selector
#include <iostream>
#include <string>
using namespace sycl;
void output_dev_info( const device& dev, const std::string& selector_name) {
std::cout << sele... | 32.827586 | 77 | 0.684874 | kgeorgen |
d5503c1be0d17977539587516b8b29353846ad35 | 22,720 | cpp | C++ | rai/LGP/LGP_tree.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 52 | 2018-05-25T07:26:18.000Z | 2022-03-27T07:37:44.000Z | rai/LGP/LGP_tree.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 4 | 2019-04-09T19:10:27.000Z | 2021-12-09T11:11:22.000Z | rai/LGP/LGP_tree.cpp | Zwoelf12/rai | b4e7082f3b7e8be5a0490f37e57d442047aaa020 | [
"MIT"
] | 32 | 2018-06-22T20:47:47.000Z | 2022-03-07T00:19:54.000Z | /* ------------------------------------------------------------------
Copyright (c) 2011-2020 Marc Toussaint
email: toussaint@tu-berlin.de
This code is distributed under the MIT License.
Please see <root-path>/LICENSE for details.
-------------------------------------------------------------- */
... | 31.038251 | 195 | 0.623856 | Zwoelf12 |
d553007e1df8a5e252653ab422213c9c7f6722d7 | 1,453 | cpp | C++ | src/test/main.cpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | null | null | null | src/test/main.cpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-06T23:15:30.000Z | 2019-11-11T10:04:32.000Z | src/test/main.cpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-10T00:01:07.000Z | 2019-11-10T00:01:07.000Z | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "apiclient/HitBTC/balancerequestbuildertestsuite.hpp"
#include "apiclient/HitBTC/candlesrequestbuildertestsuite.hpp"
#include "apiclient/HitBTC/orderbookrequestbuildertestsuite.hpp"
#include "apiclient/HitBTC/tradesrequestbuildertestsuite.hpp"
#include "core/b... | 46.870968 | 70 | 0.841707 | AndreaCitrolo |
d55463dda33ea6a716293058ad273a2b7d965aee | 2,184 | cpp | C++ | bfs-min-knight-moves/min_knight_moves.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | bfs-min-knight-moves/min_knight_moves.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | bfs-min-knight-moves/min_knight_moves.cpp | JBlakd/self-study | 71cb86d43fe7f6514657958db0c0e81113bd4c43 | [
"MIT"
] | null | null | null | #include <iostream>
#include <limits>
#include <queue>
#include <string>
#include <tuple>
#include <unordered_set>
#include <vector>
using namespace std;
class Solution {
public:
int minKnightMoves(int x, int y) {
x = abs(x);
y = abs(y);
// tuple<row, col, steps>
queue<tuple... | 23.483871 | 107 | 0.457875 | JBlakd |
d554ee720e0e032f06e6d386419394b31cf22937 | 745 | hh | C++ | packages/utilities/Dense_Solver_Factory.hh | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 2 | 2020-04-13T20:06:41.000Z | 2021-02-12T17:55:54.000Z | packages/utilities/Dense_Solver_Factory.hh | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 1 | 2018-10-22T21:03:35.000Z | 2018-10-22T21:03:35.000Z | packages/utilities/Dense_Solver_Factory.hh | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 3 | 2019-04-03T02:15:37.000Z | 2022-01-04T05:50:23.000Z | #ifndef Dense_Solver_Factory_hh
#define Dense_Solver_Factory_hh
#include <memory>
#include "Dense_Solver.hh"
class Dense_Solver_Factory
{
public:
typedef double Scalar;
enum class Type
{
DEFAULT,
DIRECT,
EIGEN,
EIGEN_FIXED,
EPETRA
};
Dense_Solver... | 20.135135 | 87 | 0.634899 | brbass |
d5556a1dc1d40cc078a073712184f853a89723a7 | 719 | cpp | C++ | Source/FactoryGame/FGProductionIndicatorInstanceComponent.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGProductionIndicatorInstanceComponent.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGProductionIndicatorInstanceComponent.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | // This file has been automatically generated by the Unreal Header Implementation tool
#include "FGProductionIndicatorInstanceComponent.h"
UFGProductionIndicatorInstanceComponent::UFGProductionIndicatorInstanceComponent(){ }
void UFGProductionIndicatorInstanceComponent::OnProductionStatusChanged( EProductionStatus st... | 59.916667 | 101 | 0.869263 | iam-Legend |
d55571114d57ac28d3898599ee4b1c9e71483eba | 6,729 | cpp | C++ | media/papers/OpenPatternMatching/artifact/code/shape7.cpp | akrzemi1/Mach7 | eef288eb9fe59712ff153dd70791365391b7b118 | [
"BSD-3-Clause"
] | 1,310 | 2015-01-04T03:44:04.000Z | 2022-03-18T04:44:01.000Z | media/papers/OpenPatternMatching/artifact/code/shape7.cpp | akrzemi1/Mach7 | eef288eb9fe59712ff153dd70791365391b7b118 | [
"BSD-3-Clause"
] | 62 | 2015-01-12T07:59:17.000Z | 2021-11-14T22:02:14.000Z | media/papers/OpenPatternMatching/artifact/code/shape7.cpp | akrzemi1/Mach7 | eef288eb9fe59712ff153dd70791365391b7b118 | [
"BSD-3-Clause"
] | 108 | 2015-02-13T17:39:07.000Z | 2021-11-18T11:06:59.000Z | ///
/// \file
///
/// This file is a part of pattern matching testing suite.
///
/// \author Yuriy Solodkyy <yuriy.solodkyy@gmail.com>
///
/// This file is a part of Mach7 library (http://parasol.tamu.edu/mach7/).
/// Copyright (C) 2011-2012 Texas A&M University.
/// All rights reserved.
///
#include "matc... | 32.985294 | 191 | 0.599643 | akrzemi1 |
d5587e76fc4a4febe2501a03007606ab72da1991 | 11,537 | cpp | C++ | SFML Tutorial/SpongeBob.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null | SFML Tutorial/SpongeBob.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null | SFML Tutorial/SpongeBob.cpp | arsenalgunnershubert777/LazerMan_Game | cea1f55b8e055052116be6ccf4e76b7d61bfdcf6 | [
"MIT"
] | null | null | null | #include "SpongeBob.hpp"
#include <iostream>
#include <array>
#include <cmath>
namespace g35 {
SpongeBob::SpongeBob(GameDataRef data):_data(data) //class for the main player object, which isn't really spongebob
{
_SpongeBobSprite.setTexture(_data->assets.GetTexture("MainCharacter"));
... | 39.510274 | 303 | 0.538788 | arsenalgunnershubert777 |
d559581faf748b036640a5142dd04d9a71cf7c26 | 2,142 | cpp | C++ | GAMENUMB.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-01-18T13:39:48.000Z | 2018-09-18T09:27:07.000Z | GAMENUMB.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | null | null | null | GAMENUMB.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-09-30T19:12:02.000Z | 2018-10-01T09:31:55.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
long int t;
cin>>t;
while(t--)
{
long long int n,k;
cin>>n>>k;
vector<long int>a(n+5);
vector<long int>d(k);
vector<long int>b(n+5);
map<long int,long int>m;
vector<bool> flag(1000005,0);
... | 22.082474 | 49 | 0.319795 | yashji9 |
f65cc11352fc4faf2a6e9e624b2a8538e9ce0615 | 1,031 | cpp | C++ | 61-RotateList.cpp | zjukk/LeetCode-is-my-son | d8851bd2a76f77e4bec89c6a5947acb435fff074 | [
"Apache-2.0"
] | null | null | null | 61-RotateList.cpp | zjukk/LeetCode-is-my-son | d8851bd2a76f77e4bec89c6a5947acb435fff074 | [
"Apache-2.0"
] | 1 | 2019-08-15T16:55:04.000Z | 2019-08-15T16:55:04.000Z | 61-RotateList.cpp | zjukk/LeetCode-is-my-son | d8851bd2a76f77e4bec89c6a5947acb435fff074 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode* rotateRight(ListNode* head, int k) {
if (head == NULL) return NU... | 23.976744 | 61 | 0.484966 | zjukk |
f65e063aefd35e4d6e5800c5354369220acf6d8b | 445 | hpp | C++ | src/Color.hpp | kcowolf/GenImageTool | 4f4fcf483383468f48fd8c9c47bf5909f5472e91 | [
"MIT"
] | 1 | 2022-01-11T14:29:56.000Z | 2022-01-11T14:29:56.000Z | src/Color.hpp | kcowolf/GenImageTool | 4f4fcf483383468f48fd8c9c47bf5909f5472e91 | [
"MIT"
] | null | null | null | src/Color.hpp | kcowolf/GenImageTool | 4f4fcf483383468f48fd8c9c47bf5909f5472e91 | [
"MIT"
] | null | null | null | #ifndef COLOR_HPP
#define COLOR_HPP
#include <cstdint>
namespace GenImageTool
{
class Color
{
public:
Color
(
uint8_t r,
uint8_t g,
uint8_t b,
bool fix
);
bool operator==
(
const Color& rhs
... | 13.90625 | 38 | 0.460674 | kcowolf |
f65e8aa8a1c39385b6c8151a956246427c63de3a | 846 | cpp | C++ | set_ipv4.cpp | soulofmachines/i3barout | 5dddaa2a22a10cead45ebb67e1947abb60d97dcf | [
"MIT"
] | null | null | null | set_ipv4.cpp | soulofmachines/i3barout | 5dddaa2a22a10cead45ebb67e1947abb60d97dcf | [
"MIT"
] | null | null | null | set_ipv4.cpp | soulofmachines/i3barout | 5dddaa2a22a10cead45ebb67e1947abb60d97dcf | [
"MIT"
] | null | null | null | #include "set_ipv4.hpp"
#include <string.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <unistd.h>
int set_ipv4 (bar_config &my_bar_config) {
int fd, return_value = 99;
struct ifreq ifr;
fd = socket (AF_INET, SOCK_DGRAM, 0);
strncpy (ifr.ifr_name, ... | 27.290323 | 96 | 0.622931 | soulofmachines |
f65f1480267bb038a83c8a5f49611f8a4dc1c12b | 8,796 | cpp | C++ | src/triangular.cpp | erikedwards4/dsp | 28880ede8ca715c2a5a9b596742070f9bda9830e | [
"BSD-3-Clause"
] | 1 | 2020-08-26T09:22:40.000Z | 2020-08-26T09:22:40.000Z | src/triangular.cpp | erikedwards4/dsp | 28880ede8ca715c2a5a9b596742070f9bda9830e | [
"BSD-3-Clause"
] | null | null | null | src/triangular.cpp | erikedwards4/dsp | 28880ede8ca715c2a5a9b596742070f9bda9830e | [
"BSD-3-Clause"
] | 1 | 2021-10-05T13:50:32.000Z | 2021-10-05T13:50:32.000Z | //@author Erik Edwards
//@date 2018-present
//@license BSD 3-clause
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <string>
#include <cstring>
#include <valarray>
#include <unordered_map>
#include <argtable2.h>
#include "../util/cmli.hpp"
#include "triangular.c"
#ifdef I
#undef I
#endif
int ma... | 39.800905 | 157 | 0.552979 | erikedwards4 |
f65f7e1ddb97ee64eda81f270115ec5027895620 | 78,136 | cc | C++ | src/mem/dram_ctrl.cc | cmlasu/smm_gem5 | 2865229999904d531f5510ca50552b396efeaea0 | [
"BSD-3-Clause"
] | 4 | 2017-03-31T02:20:00.000Z | 2019-04-26T10:21:12.000Z | src/mem/dram_ctrl.cc | jcai19/smm_gem5 | 15e10bd32ef4a4d18e5d846b015d11317d319bcc | [
"BSD-3-Clause"
] | null | null | null | src/mem/dram_ctrl.cc | jcai19/smm_gem5 | 15e10bd32ef4a4d18e5d846b015d11317d319bcc | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010-2014 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the ... | 36.461036 | 85 | 0.594476 | cmlasu |
f666ff6fe39a1c0133046365273b7946b44d4768 | 1,560 | cpp | C++ | source/Foundation/Time.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | source/Foundation/Time.cpp | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | source/Foundation/Time.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #include <Nephilim/Foundation/Time.h>
NEPHILIM_NS_BEGIN
const Time Time::Zero = Time::fromSeconds(0.f);
Time::Time()
{
m_microSeconds = 0;
}
Time::Time(Int64 microSeconds)
{
m_microSeconds = microSeconds;
}
float Time::seconds() const
{
return static_cast<float>(m_microSeconds / 1000000.f);
}
Int64 Time::mill... | 17.52809 | 58 | 0.728205 | GrimshawA |
f66722630a06459ea1d816bd11483086b01820f0 | 2,297 | cpp | C++ | src/aadcUser/src/HSOG_Runtime/a2o/meta/impl/CarMetaModel.cpp | AppliedAutonomyOffenburg/AADC_2015_A2O | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | 1 | 2018-09-09T21:39:29.000Z | 2018-09-09T21:39:29.000Z | src/aadcUser/src/HSOG_Runtime/a2o/meta/impl/CarMetaModel.cpp | TeamAutonomousCarOffenburg/A2O_2015 | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | null | null | null | src/aadcUser/src/HSOG_Runtime/a2o/meta/impl/CarMetaModel.cpp | TeamAutonomousCarOffenburg/A2O_2015 | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | 1 | 2016-04-05T06:34:08.000Z | 2016-04-05T06:34:08.000Z | #include "CarMetaModel.h"
using namespace A2O;
CarMetaModel::CarMetaModel(const double& floorHeight,
const std::string& steeringServoName,
const std::string& mainMotorName)
: _floorHeight(floorHeight), _steeringServoName(steeringServoName), _mainMotorName(mainMotorName)
{
}
CarMetaModel::~CarMetaM... | 21.669811 | 103 | 0.780148 | AppliedAutonomyOffenburg |
f6679d10861324ece4e6da9f836e88d38c6b95be | 256 | cxx | C++ | test/input/Function-calling-convention-ms-dllexport.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 428 | 2015-01-06T17:01:38.000Z | 2022-03-22T12:34:03.000Z | test/input/Function-calling-convention-ms-dllexport.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 175 | 2015-01-06T17:07:37.000Z | 2022-03-07T23:06:02.000Z | test/input/Function-calling-convention-ms-dllexport.cxx | radoslawcybulski/CastXML | 7d8d719fdea8cad7702e62b6174b2665a4bf2ca5 | [
"Apache-2.0"
] | 101 | 2015-01-25T14:18:42.000Z | 2022-02-05T08:56:06.000Z | __declspec(dllexport) void __cdecl start(void(__cdecl*)());
__declspec(dllexport) void __stdcall start(void(__stdcall*)());
__declspec(dllexport) void __fastcall start(void(__fastcall*)());
__declspec(dllexport) void __thiscall start(void(__thiscall*)());
| 51.2 | 65 | 0.78125 | radoslawcybulski |
f66a1bb46adb2e403ef78a9ee625e670c9c24dfe | 2,558 | cpp | C++ | tests/test_identity.cpp | open-simulation-platform/proxy-fmu | cac7c4e5ff0fe43cfea29106c7ae23a6b2c903b1 | [
"MIT"
] | 3 | 2021-04-14T07:50:13.000Z | 2022-03-05T05:42:27.000Z | tests/test_identity.cpp | open-simulation-platform/proxy-fmu | cac7c4e5ff0fe43cfea29106c7ae23a6b2c903b1 | [
"MIT"
] | 25 | 2021-04-07T12:31:23.000Z | 2022-02-17T08:00:23.000Z | tests/test_identity.cpp | open-simulation-platform/proxy-fmu | cac7c4e5ff0fe43cfea29106c7ae23a6b2c903b1 | [
"MIT"
] | null | null | null | #define BOOST_TEST_MODULE test_identity
#include <proxyfmu/client/proxy_fmu.hpp>
#include <boost/test/unit_test.hpp>
using namespace proxyfmu;
using namespace proxyfmu::fmi;
namespace
{
void test(fmu& fmu)
{
const auto d = fmu.get_model_description();
BOOST_TEST(d.modelName == "no.viproma.demo.identity");
... | 28.10989 | 104 | 0.597342 | open-simulation-platform |
f66c383f42891a43e95af1c31350cc639a8c1d8f | 3,583 | cpp | C++ | src/CoreNode.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | src/CoreNode.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | src/CoreNode.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... | 38.945652 | 137 | 0.71002 | threeal |
f670bb7583320e674abbe7e7c0427e7ff2d464f2 | 2,855 | cpp | C++ | core/silkworm/state/delta.cpp | MarcoGuarducci/silkworm | 2387ce8dea4df54daa208dedf50bc88ab6adf101 | [
"Apache-2.0"
] | 1 | 2021-06-30T22:56:09.000Z | 2021-06-30T22:56:09.000Z | core/silkworm/state/delta.cpp | MarcoGuarducci/silkworm | 2387ce8dea4df54daa208dedf50bc88ab6adf101 | [
"Apache-2.0"
] | null | null | null | core/silkworm/state/delta.cpp | MarcoGuarducci/silkworm | 2387ce8dea4df54daa208dedf50bc88ab6adf101 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020-2021 The Silkworm Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | 43.257576 | 120 | 0.769177 | MarcoGuarducci |
f670e78b9536d3621b785cc73c0f34944d49d5ed | 3,700 | hpp | C++ | code/include/aton/range/adaptors/transform.hpp | Angew/aton | eed02bdcb1d5304bc89d615b465f8d479dd19475 | [
"BSL-1.0"
] | null | null | null | code/include/aton/range/adaptors/transform.hpp | Angew/aton | eed02bdcb1d5304bc89d615b465f8d479dd19475 | [
"BSL-1.0"
] | null | null | null | code/include/aton/range/adaptors/transform.hpp | Angew/aton | eed02bdcb1d5304bc89d615b465f8d479dd19475 | [
"BSL-1.0"
] | null | null | null | /*
Copyright Petr Kmoch 2014.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef ATON_GUARD_RANGE_L_ADAPTORS_D_TRANSFORM
#define ATON_GUARD_RANGE_L_ADAPTORS_D_TRANSFORM
#include "aton/range/aton_/range_adaptor_wrapper.h... | 29.133858 | 96 | 0.788919 | Angew |
f6749c3c1db8b6eacec780977cf904bf6917e740 | 80,870 | cpp | C++ | src/debug/daccess/enummem.cpp | tobias-loew/coreclr | 5feeba3957f379b98d9412deb9f09b6c3fe72b8e | [
"MIT"
] | 1 | 2019-05-19T20:44:03.000Z | 2019-05-19T20:44:03.000Z | src/debug/daccess/enummem.cpp | tobias-loew/coreclr | 5feeba3957f379b98d9412deb9f09b6c3fe72b8e | [
"MIT"
] | null | null | null | src/debug/daccess/enummem.cpp | tobias-loew/coreclr | 5feeba3957f379b98d9412deb9f09b6c3fe72b8e | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//*****************************************************************************
// File: enummem.cpp
//
//
// ICLRD... | 40.114087 | 219 | 0.60915 | tobias-loew |
f67c88b698627d2c7f97a0a231230d585f27c361 | 866 | hpp | C++ | source/problem/SWE/discretization_IHDG/kernels_processor/ihdg_swe_proc_bound.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_IHDG/kernels_processor/ihdg_swe_proc_bound.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_IHDG/kernels_processor/ihdg_swe_proc_bound.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | #ifndef IHDG_SWE_PROC_BOUND_HPP
#define IHDG_SWE_PROC_BOUND_HPP
namespace SWE {
namespace IHDG {
template <typename StepperType, typename BoundaryType>
void Problem::init_boundary_kernel(const StepperType& stepper, BoundaryType& bound) {
if (stepper.GetOrder() == 2) {
const uint stage = stepper.GetStage();... | 27.935484 | 86 | 0.720554 | kentonwho |
f67e210d301ede8dcf5505632e43976f18a02e52 | 9,315 | cpp | C++ | eramobi/EraMobiConvert.cpp | Mimars-Project/OpenReadEra-20.03.26 | 8db0c096e681947d02fa15c3eaa283e389ccf8a9 | [
"FTL"
] | null | null | null | eramobi/EraMobiConvert.cpp | Mimars-Project/OpenReadEra-20.03.26 | 8db0c096e681947d02fa15c3eaa283e389ccf8a9 | [
"FTL"
] | null | null | null | eramobi/EraMobiConvert.cpp | Mimars-Project/OpenReadEra-20.03.26 | 8db0c096e681947d02fa15c3eaa283e389ccf8a9 | [
"FTL"
] | 1 | 2021-07-21T07:50:33.000Z | 2021-07-21T07:50:33.000Z | /*
* Copyright (C) 2013-2020 READERA LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | 37.111554 | 103 | 0.612453 | Mimars-Project |
f67f988a413c01fe41344835d72234720d825284 | 2,459 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_HealAura_Passive_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_HealAura_Passive_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_HealAura_Passive_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_HealAura_Passive_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------... | 46.396226 | 208 | 0.594144 | 2bite |
f6827d071b6c9c7e3622dc0f8e3eb850d7ed3e6d | 6,761 | cpp | C++ | core/src/utils/NoiseUtils.cpp | hexrain/utymap | 39cb7684bf014ecc770ed1c46d953f13e103f3f5 | [
"Apache-2.0"
] | 946 | 2016-03-13T23:00:37.000Z | 2022-03-29T08:35:30.000Z | core/src/utils/NoiseUtils.cpp | hexrain/utymap | 39cb7684bf014ecc770ed1c46d953f13e103f3f5 | [
"Apache-2.0"
] | 136 | 2016-03-30T11:54:45.000Z | 2020-10-31T13:05:27.000Z | core/src/utils/NoiseUtils.cpp | hexrain/utymap | 39cb7684bf014ecc770ed1c46d953f13e103f3f5 | [
"Apache-2.0"
] | 168 | 2016-05-02T15:04:53.000Z | 2022-03-28T17:23:26.000Z | #include "utils/NoiseUtils.hpp"
using namespace utymap::math;
using namespace utymap::utils;
const double Sqr2 = std::sqrt(2);
const int NoiseUtils::Hash[] =
{
151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225,
140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148... | 38.856322 | 84 | 0.560864 | hexrain |
f6842fbd54516dc85d749f3e049e7cf90585d2a0 | 554 | cpp | C++ | opencl/source/gen8/windows/command_stream_receiver_gen8.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | 1 | 2019-03-01T13:54:45.000Z | 2019-03-01T13:54:45.000Z | opencl/source/gen8/windows/command_stream_receiver_gen8.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | 5 | 2019-03-26T17:26:07.000Z | 2021-03-30T12:17:10.000Z | opencl/source/gen8/windows/command_stream_receiver_gen8.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | 4 | 2018-05-09T10:04:27.000Z | 2018-07-12T13:33:31.000Z | /*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/command_stream/command_stream_receiver_with_aub_dump.inl"
#include "opencl/source/os_interface/windows/device_command_stream.inl"
#include "opencl/source/os_interface/windows/wddm_device_command_stream.inl... | 30.777778 | 86 | 0.82852 | kcencele |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.