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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12e1ea4e39550673c30f59bd9bc947d4f9ffc50d | 1,819 | hpp | C++ | ObjectHandler/Examples/ExampleObjects/Objects/accountobject.hpp | txu2014/quantlib | 95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec | [
"BSD-3-Clause"
] | null | null | null | ObjectHandler/Examples/ExampleObjects/Objects/accountobject.hpp | txu2014/quantlib | 95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec | [
"BSD-3-Clause"
] | null | null | null | ObjectHandler/Examples/ExampleObjects/Objects/accountobject.hpp | txu2014/quantlib | 95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec | [
"BSD-3-Clause"
] | 1 | 2022-02-24T04:54:18.000Z | 2022-02-24T04:54:18.000Z |
/*!
Copyright (C) 2004, 2005, 2006, 2007 Eric Ehlers
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or modify it
under the terms of the QuantLib license. You shou... | 28.873016 | 78 | 0.672347 | txu2014 |
12e2bbd0fd4211ed71f3ca599a3633bc077a2eee | 2,292 | hpp | C++ | code/source/util/profiling.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/util/profiling.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/util/profiling.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | #ifndef CLOVER_UTIL_PROFILING_HPP
#define CLOVER_UTIL_PROFILING_HPP
#include "build.hpp"
#include "util/preproc_join.hpp"
#include <thread>
// No profiling on windows due to odd crashes with mingw 4.8.2
#define PROFILING_ENABLED (ATOMIC_PTR_READWRITE == true)
namespace clover {
namespace util {
namespace detail {
... | 23.387755 | 92 | 0.756108 | crafn |
12e58bca092d23af2cab801bee2e0b6248e5d27d | 7,949 | cpp | C++ | loginframe.cpp | mobile-pos/amp | efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763 | [
"MIT"
] | 6 | 2020-09-12T08:16:46.000Z | 2020-11-19T04:05:35.000Z | loginframe.cpp | mobile-pos/amp | efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763 | [
"MIT"
] | null | null | null | loginframe.cpp | mobile-pos/amp | efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763 | [
"MIT"
] | 2 | 2020-12-11T02:27:56.000Z | 2021-11-18T02:15:01.000Z | #include "loginframe.h"
#include <QLabel>
#include <QLineEdit>
#include <QDebug>
#include <QCryptographicHash>
#include <QMessageBox>
#include "vkeyboardex.h"
#include "datathread.h"
#include "mainwindow.h"
extern MainWindow* gWnd;
///////////////////////////////////////////////////////////
/// \brief LoginFrame::Lo... | 29.550186 | 119 | 0.525349 | mobile-pos |
12ea62d0db69b61036a551c835420cfeb49ab506 | 3,229 | cxx | C++ | modules/ardrivo/test/Servo.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 4 | 2020-06-02T16:01:10.000Z | 2021-10-17T22:23:26.000Z | modules/ardrivo/test/Servo.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 76 | 2020-04-03T09:15:45.000Z | 2020-12-17T16:55:14.000Z | modules/ardrivo/test/Servo.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 1 | 2020-06-02T15:52:31.000Z | 2020-06-02T15:52:31.000Z | #include <catch2/catch.hpp>
#include <range/v3/algorithm/for_each.hpp>
#include "BoardDataDef.hxx"
#include "Entrypoint.hxx"
#include "Servo.h"
static void init_fake() {
if(board_data)
(delete board_data), board_data = nullptr;
if(board_info)
(delete board_info), board_info = nullptr;
auto... | 29.09009 | 120 | 0.663983 | platisd |
12eb3ee17b7645d9c852af55f8621a97b515b1e0 | 4,197 | cpp | C++ | hihope_neptune-oh_hid/00_src/v0.1/base/global/i18n_lite/frameworks/i18n/src/date_time_data.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.1/base/global/i18n_lite/frameworks/i18n/src/date_time_data.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.1/base/global/i18n_lite/frameworks/i18n/src/date_time_data.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 28.746575 | 97 | 0.573505 | dawmlight |
12ec1ed28f7742e603f70263f0fc5939e8d1c872 | 2,807 | cpp | C++ | moe/natj/natj/natj-cxxtests/src/test/native/binding/Functions.cpp | ark100/multi-os-engine | f71d66a58b3d7e5eb2a68541480b7a0d88c7b908 | [
"Apache-2.0"
] | 3 | 2016-08-25T03:26:16.000Z | 2017-04-23T11:42:36.000Z | moe/natj/natj/natj-cxxtests/src/test/native/binding/Functions.cpp | ark100/multi-os-engine | f71d66a58b3d7e5eb2a68541480b7a0d88c7b908 | [
"Apache-2.0"
] | 1 | 2016-11-23T03:11:01.000Z | 2016-11-23T03:11:01.000Z | moe/natj/natj/natj-cxxtests/src/test/native/binding/Functions.cpp | ark100/multi-os-engine | f71d66a58b3d7e5eb2a68541480b7a0d88c7b908 | [
"Apache-2.0"
] | 7 | 2016-09-10T02:19:04.000Z | 2021-07-29T17:19:41.000Z | /*
Copyright 2014-2016 Intel Corporation
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 writing, s... | 41.279412 | 93 | 0.58746 | ark100 |
12ec4045586b0a03ddb1f52dc847cd06f99b7244 | 7,183 | cpp | C++ | libgpopt/src/operators/CLogicalDynamicGet.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-05T10:08:56.000Z | 2019-03-05T10:08:56.000Z | libgpopt/src/operators/CLogicalDynamicGet.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/operators/CLogicalDynamicGet.cpp | khannaekta/gporca | 94e509d0a2456851a2cabf02e933c3523946b87b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CLogicalDynamicGet.cpp
//
// @doc:
// Implementation of dynamic table access
//---------------------------------------------------------------------------
#include "... | 24.940972 | 174 | 0.540303 | khannaekta |
12ee154c18c8d7d109812ea326b135f82a7bdae4 | 6,486 | cpp | C++ | src/customprofession.cpp | jimhester/dwarftherapist | 44b48fc87f07011d348be12b9abdf5206d54ba40 | [
"MIT"
] | 3 | 2015-03-21T00:24:13.000Z | 2021-08-04T07:18:46.000Z | src/customprofession.cpp | jimhester/dwarftherapist | 44b48fc87f07011d348be12b9abdf5206d54ba40 | [
"MIT"
] | null | null | null | src/customprofession.cpp | jimhester/dwarftherapist | 44b48fc87f07011d348be12b9abdf5206d54ba40 | [
"MIT"
] | null | null | null | /*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
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... | 30.739336 | 113 | 0.707524 | jimhester |
12ef742d3c9a363edfe3a16ac10836266ef09723 | 6,179 | cpp | C++ | visualization/determinant/determinant.cpp | mika314/simuleios | 0b05660c7df0cd6e31eb5e70864cbedaec29b55a | [
"MIT"
] | 197 | 2015-07-26T02:04:17.000Z | 2022-01-21T11:53:33.000Z | visualization/determinant/determinant.cpp | shiffman/simuleios | 57239350d2cbed10893483bda65fa323e5e3a06d | [
"MIT"
] | 18 | 2015-08-04T22:55:46.000Z | 2020-11-06T02:33:48.000Z | visualization/determinant/determinant.cpp | shiffman/simuleios | 57239350d2cbed10893483bda65fa323e5e3a06d | [
"MIT"
] | 55 | 2015-08-02T21:43:18.000Z | 2021-12-13T18:25:08.000Z | /*-------------determinant.cpp------------------------------------------------//
*
* Purpose: Simple multiplication to help visualize eigenvectors
*
* Notes: compile with:
* g++ -I /usr/include/eigen3/ eigentest.cpp -Wno-ignored-attributes -Wno-deprecated-declarations
*
*-----------------------------------... | 29.564593 | 107 | 0.362195 | mika314 |
12f20952bf329e98c0583356186b08930a02c495 | 4,514 | hpp | C++ | include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/BeatmapEditorSceneSetupData.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: SceneSetupData... | 55.728395 | 208 | 0.746566 | Fernthedev |
12f215192f86742dedb82ba99afe65550028fa23 | 886 | cpp | C++ | mcomp_C/common/datatypes/path/Path.cpp | kasmaslrn/MCOMP_Team_Project_2017-2018 | 5e20c49c0d7a30083944ddc71ed9d595783a12a5 | [
"MIT"
] | 1 | 2019-03-18T14:27:46.000Z | 2019-03-18T14:27:46.000Z | mcomp_C/common/datatypes/path/Path.cpp | kasmaslrn/MCOMP_Team_Project_2017-2018 | 5e20c49c0d7a30083944ddc71ed9d595783a12a5 | [
"MIT"
] | null | null | null | mcomp_C/common/datatypes/path/Path.cpp | kasmaslrn/MCOMP_Team_Project_2017-2018 | 5e20c49c0d7a30083944ddc71ed9d595783a12a5 | [
"MIT"
] | null | null | null | /*
* mcomp_C.ino
*
* Created on: 26 Nov 2017
* Author: David Avery 15823926
*
*/
#include "Path.h"
#include "../Waypoint.h"
int length;
Path::Path(Waypoint w) {
destination = new LinkedItem(w);
head = nullptr;
lastItem = nullptr;
length = 0;
}
Path::~Path() {
// TODO Auto-... | 15.821429 | 44 | 0.544018 | kasmaslrn |
12f3fcf8b2653271ac4021d0de49448b66472c07 | 17,881 | cpp | C++ | OpenXaml/XamlObjects/TextBlock.cpp | benroywillis/OpenXaml | a6313c096b5221344ee2dbcfe6e5a4db8345115c | [
"MIT"
] | 1 | 2019-09-23T03:11:04.000Z | 2019-09-23T03:11:04.000Z | OpenXaml/XamlObjects/TextBlock.cpp | benroywillis/OpenXaml | a6313c096b5221344ee2dbcfe6e5a4db8345115c | [
"MIT"
] | null | null | null | OpenXaml/XamlObjects/TextBlock.cpp | benroywillis/OpenXaml | a6313c096b5221344ee2dbcfe6e5a4db8345115c | [
"MIT"
] | 2 | 2019-11-03T01:12:22.000Z | 2022-03-07T16:59:32.000Z | #include "OpenXaml/XamlObjects/TextBlock.h"
#include "OpenXaml/Environment/Environment.h"
#include "OpenXaml/Environment/Window.h"
#include "OpenXaml/GL/GLConfig.h"
#include "OpenXaml/Properties/Alignment.h"
#include "OpenXaml/Properties/TextWrapping.h"
#include <algorithm>
#include <codecvt>
#include <glad/gla... | 34.189293 | 133 | 0.472904 | benroywillis |
12f46b29d5676b69947ac6fcd389eb7817116c7a | 17,917 | cpp | C++ | export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/_internal/stage3D/atf/ATFReader.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_lime_utils_Log
#include <lime/utils/Log.h>
#endif
#ifndef INCLUDED_openfl__internal_stage3D_atf_ATFReader
#include <openfl/_internal/stage3D/atf/ATFReader.h>
#endif
#ifndef INCLUDED_openfl_er... | 41.86215 | 274 | 0.673718 | seanbashaw |
12f5591da05d6c59955f5a184bef2c6547d7eee4 | 1,465 | cpp | C++ | gym/100283/I.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/100283/I.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/100283/I.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#ifdef Adrian
#include "debug.h"
#else
#define debug(...)
#endif
typedef long long ll;
typedef long double ld;
typedef complex<ll> point;
#define F first
#define S second
const double EPS=1e-8,oo=1e9;
struct fraction
{
ll x,y;
fraction(ll _x, ll _y)
{
ll g = __gcd(_... | 16.647727 | 59 | 0.585666 | albexl |
12fa797a258ef128ff053fdf0cdc7bb9d06a08bc | 4,803 | hpp | C++ | test_interface.hpp | Anadani/oop4 | 133508256b02dd3cd45569b51cea2367cf880c7a | [
"MIT"
] | null | null | null | test_interface.hpp | Anadani/oop4 | 133508256b02dd3cd45569b51cea2367cf880c7a | [
"MIT"
] | null | null | null | test_interface.hpp | Anadani/oop4 | 133508256b02dd3cd45569b51cea2367cf880c7a | [
"MIT"
] | null | null | null | #ifndef TEST_INTERFACE_HPP
#define TEST_INTERFACE_HPP
#include <iostream>
#include <iomanip>
#include <limits>
#include <string>
#include <sstream>
#include "tests.hpp"
#include "Money.hpp"
#include "HotdogStand.hpp"
void TEST_INSERTION(bool sign);
void TEST_EXTRACTION(bool dSign);
void runTests()
{
using std::c... | 48.515152 | 131 | 0.549865 | Anadani |
420173a5e0f49f6d9fc8da4b577e813c3708bfdc | 2,152 | hh | C++ | yagi/include/typemanager.hh | IDAPluginProject/Yagi | a4528c83dff7f87c804140727b06e0359aca1d99 | [
"Apache-2.0"
] | null | null | null | yagi/include/typemanager.hh | IDAPluginProject/Yagi | a4528c83dff7f87c804140727b06e0359aca1d99 | [
"Apache-2.0"
] | null | null | null | yagi/include/typemanager.hh | IDAPluginProject/Yagi | a4528c83dff7f87c804140727b06e0359aca1d99 | [
"Apache-2.0"
] | null | null | null | #ifndef __YAGI_TYPEMANAGER__
#define __YAGI_TYPEMANAGER__
#include <libdecomp.hh>
#include <vector>
#include <string>
#include <optional>
#include <map>
#include <string>
#include "yagiarchitecture.hh"
namespace yagi
{
/*!
* \brief Factory become a manager because it's based on the factory backend link to IDA
... | 23.139785 | 89 | 0.687268 | IDAPluginProject |
4202991db01e0316b69e96b60cf6cbb67b6cd5c4 | 4,708 | hh | C++ | RAVL2/Math/Optimisation/ObsVectorBiGaussian.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/ObsVectorBiGaussian.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/ObsVectorBiGaussian.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2002, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 32.468966 | 81 | 0.692863 | isuhao |
4209ff0888a7f6dca51e4085495aad3986c64da4 | 4,052 | cpp | C++ | qamsource/podmgr/podserver/cardmanager/cardMibAcc.cpp | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | qamsource/podmgr/podserver/cardmanager/cardMibAcc.cpp | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | qamsource/podmgr/podserver/cardmanager/cardMibAcc.cpp | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2011 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... | 31.905512 | 131 | 0.662142 | rdkcmf |
420a42cce075876c01340818edbe4721e3914442 | 2,370 | hpp | C++ | include/mgpp/signals/dispatcher.hpp | mjgigli/libmgpp | 87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0 | [
"MIT"
] | 1 | 2018-12-22T17:35:45.000Z | 2018-12-22T17:35:45.000Z | include/mgpp/signals/dispatcher.hpp | mjgigli/libmgpp | 87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0 | [
"MIT"
] | null | null | null | include/mgpp/signals/dispatcher.hpp | mjgigli/libmgpp | 87cec591ccb2a9d9e1f0eb4a2121ff95128c0bb0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018 Matt Gigli
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | 32.465753 | 79 | 0.760338 | mjgigli |
420a73e53d87a32974de4f226355d88e52041e13 | 1,245 | hpp | C++ | gvsoc/gvsoc_gap/models/pulp/udma/sfu/udma_sfu_v1_empty.hpp | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 118 | 2018-05-22T08:45:59.000Z | 2022-03-30T07:00:45.000Z | gvsoc/gvsoc_gap/models/pulp/udma/sfu/udma_sfu_v1_empty.hpp | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 213 | 2018-07-25T02:37:32.000Z | 2022-03-30T18:04:01.000Z | gvsoc/gvsoc_gap/models/pulp/udma/sfu/udma_sfu_v1_empty.hpp | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 76 | 2018-07-04T08:19:27.000Z | 2022-03-24T09:58:05.000Z | /*
* Copyright (C) 2020 GreenWaves Technologies, SAS
*
* 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.
* ... | 27.666667 | 100 | 0.738956 | 00-01 |
420eea7d8446fc86ddd296db29aee2919795b575 | 1,733 | cpp | C++ | inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 1 | 2020-12-18T15:47:45.000Z | 2020-12-18T15:47:45.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "low_precision_transformations/fake_quantize_transformation.hpp"
#include <memory>
#include <tuple>
#include <vector>
#include <string>
#include <ie_core.hpp>
#include <transformations/init_node_info.hpp>
namespace LayerTests... | 34.66 | 119 | 0.772072 | szabi-luxonis |
420fa54eaa3be9dcf96fa5c8b82d540805cf1f24 | 2,021 | cpp | C++ | src/test/mempool_sync_tests.cpp | MONIMAKER365/BitcoinUnlimited | 8aea282c44ee23ca65cdd895c99b3f6347f46dfc | [
"MIT"
] | 535 | 2015-09-04T15:10:08.000Z | 2022-03-17T20:51:05.000Z | src/test/mempool_sync_tests.cpp | MONIMAKER365/BitcoinUnlimited | 8aea282c44ee23ca65cdd895c99b3f6347f46dfc | [
"MIT"
] | 1,269 | 2016-01-31T20:21:24.000Z | 2022-03-16T01:20:08.000Z | src/test/mempool_sync_tests.cpp | MONIMAKER365/BitcoinUnlimited | 8aea282c44ee23ca65cdd895c99b3f6347f46dfc | [
"MIT"
] | 295 | 2015-10-19T16:12:29.000Z | 2021-08-02T20:05:17.000Z | // Copyright (c) 2018-2019 The Bitcoin Unlimited developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "blockrelay/mempool_sync.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_bitcoin.h"
#include... | 41.244898 | 120 | 0.787234 | MONIMAKER365 |
4216b89205de378cc7124b41a1112dcc6c99396b | 1,804 | cpp | C++ | pyis/bindings/python/model_context_exports.cpp | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | 5 | 2021-11-29T01:49:22.000Z | 2022-02-23T10:26:46.000Z | pyis/bindings/python/model_context_exports.cpp | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | 1 | 2021-11-01T02:22:32.000Z | 2021-11-01T02:22:32.000Z | pyis/bindings/python/model_context_exports.cpp | microsoft/python-inference-script | cbbbe9d16be0839e4df357b1bd9e8274ca44f1f7 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "pyis/share/model_context.h"
namespace pyis {
namespace python {
namespace py = pybind11;
void init_model_context(py::module& m) {
py::class_<ModelCo... | 39.217391 | 118 | 0.618625 | microsoft |
42190727be040632b2fb81d13aac31992fd155d3 | 1,333 | cpp | C++ | f9tws/ExgTradingLineFixFactory.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 21 | 2019-01-29T14:41:46.000Z | 2022-03-11T00:22:56.000Z | f9tws/ExgTradingLineFixFactory.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | null | null | null | f9tws/ExgTradingLineFixFactory.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 9 | 2019-01-27T14:19:33.000Z | 2022-03-11T06:18:24.000Z | // \file f9tws/ExgTradingLineFixFactory.cpp
// \author fonwinz@gmail.com
#include "f9tws/ExgTradingLineFixFactory.hpp"
#include "fon9/fix/FixBusinessReject.hpp"
namespace f9tws {
ExgTradingLineFixFactory::ExgTradingLineFixFactory(std::string fixLogPathFmt, Named&& name)
: base(std::move(fixLogPathFmt), std::move(... | 35.078947 | 94 | 0.672918 | fonwin |
421973a95cbe356d815d7aec228dca6a50238f5f | 17,585 | cpp | C++ | aws-cpp-sdk-appflow/source/model/ConnectorConfiguration.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-appflow/source/model/ConnectorConfiguration.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-appflow/source/model/ConnectorConfiguration.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appflow/model/ConnectorConfiguration.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... | 34.616142 | 223 | 0.799488 | truthiswill |
4221d95f7fba35dfefa01fc155e4456ebdb81482 | 1,188 | cpp | C++ | lang/C++/zeckendorf-number-representation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/C++/zeckendorf-number-representation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/zeckendorf-number-representation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | // For a class N which implements Zeckendorf numbers:
// I define an increment operation ++()
// I define a comparison operation <=(other N)
// Nigel Galloway October 22nd., 2012
#include <iostream>
class N {
private:
int dVal = 0, dLen;
public:
N(char const* x = "0"){
int i = 0, q = 1;
for (; x[i] > 0; i++... | 33 | 87 | 0.509259 | ethansaxenian |
4224193f63fde7260b305d76f39e2554c9c08301 | 1,050 | hpp | C++ | TypeTraits/IsClassType.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 2 | 2021-06-09T00:38:46.000Z | 2021-09-04T21:55:33.000Z | TypeTraits/IsClassType.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | null | null | null | TypeTraits/IsClassType.hpp | jlandess/LandessDevCore | 3319c36c3232415d6bdba7da8b4896c0638badf2 | [
"BSD-3-Clause"
] | 1 | 2021-08-30T00:46:12.000Z | 2021-08-30T00:46:12.000Z | //
// Created by James Landess on 2/4/20.
//
#ifndef LANDESSDEVCORE_ISCLASSTYPE_HPP
#define LANDESSDEVCORE_ISCLASSTYPE_HPP
#include "TypeTraits/IsIntegralType.hpp"
#include "TypeTraits/IsUnion.hpp"
namespace LD
{
namespace Detail
{
template<typename T>
struct IsClassType
{
... | 18.421053 | 102 | 0.630476 | jlandess |
4224b28d0f04b68fc399e1a3533d685b15c63cfe | 6,066 | cpp | C++ | Source/WebCore/loader/ResourceCryptographicDigest.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/loader/ResourceCryptographicDigest.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/loader/ResourceCryptographicDigest.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 38.392405 | 168 | 0.760303 | jacadcaps |
4225050630bbee8dac61f9eab48420340b96eec3 | 624 | cpp | C++ | thirdparty/ULib/tests/ulib/test_twilio.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/tests/ulib/test_twilio.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | thirdparty/ULib/tests/ulib/test_twilio.cpp | liftchampion/nativejson-benchmark | 6d575ffa4359a5c4230f74b07d994602a8016fb5 | [
"MIT"
] | null | null | null | // test_twilio.cpp
#include <ulib/net/client/twilio.h>
int main(int argc, char *argv[])
{
U_ULIB_INIT(argv);
U_TRACE(5,"main(%d)",argc)
UTwilioClient tc(U_STRING_FROM_CONSTANT("SID"), U_STRING_FROM_CONSTANT("TOKEN"));
bool ok = tc.getCompletedCalls();
U_INTERNAL_ASSERT(ok)
ok = tc.makeCall(U_CO... | 24.96 | 141 | 0.709936 | liftchampion |
422833be4725423ad37c6953658757a96f12a245 | 21,894 | cpp | C++ | src/lib.cpp | anticrisis/act-http | 18a48a35efc76c54e38a1eac762828bd7addf8c0 | [
"BSD-3-Clause"
] | 2 | 2021-02-05T21:20:09.000Z | 2022-01-19T13:43:39.000Z | src/lib.cpp | anticrisis/tcl-http | 18a48a35efc76c54e38a1eac762828bd7addf8c0 | [
"BSD-3-Clause"
] | null | null | null | src/lib.cpp | anticrisis/tcl-http | 18a48a35efc76c54e38a1eac762828bd7addf8c0 | [
"BSD-3-Clause"
] | null | null | null | #include "dllexport.h"
#include "http_tcl/http_tcl.h"
#include "util.h"
#include "version.h"
#include <algorithm>
#include <iostream>
#include <memory>
#include <optional>
#include <tcl.h>
#include <thread>
#include <vector>
// need a macro for compile-time string concatenation
#define theNamespaceName "::act::htt... | 27.784264 | 80 | 0.591669 | anticrisis |
42284a1b50025daf4b313acf93994d4c4491247c | 4,314 | hxx | C++ | ImageSharpOpenJpegNative/src/openjpeg.stream.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | ImageSharpOpenJpegNative/src/openjpeg.stream.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | ImageSharpOpenJpegNative/src/openjpeg.stream.hxx | cinderblocks/ImageSharp.OpenJpeg | bf5c976a6dbfa0d2666be566c845a7410440cea2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2022 Sjofn LLC. 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 applicab... | 44.474227 | 119 | 0.64905 | cinderblocks |
422a2115bc21c765bd1cca906ed584b4d1ca0c01 | 3,783 | cpp | C++ | .RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 36 | 2018-12-18T22:33:36.000Z | 2021-10-31T07:03:15.000Z | .RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 1 | 2020-04-04T16:13:43.000Z | 2020-04-05T05:08:17.000Z | .RemoteTalk/Plugin/RemoteTalkCeVIOCS/rtcvTalkServer.cpp | i-saint/RemoteTalk | 3ac2528ab66ed923cb9c56596944effdeaecee50 | [
"MIT"
] | 3 | 2019-04-12T17:37:23.000Z | 2020-09-30T15:50:31.000Z | #include "pch.h"
#include "rtcvCommon.h"
#include "rtcvHookHandler.h"
#include "rtcvTalkServer.h"
namespace rtcv {
TalkServer::TalkServer()
{
auto exe_path = rt::GetMainModulePath();
auto config_path = rt::GetCurrentModuleDirectory() + "\\" + rtcvConfigFile;
auto settings = rt::GetOrAddServerSettings(conf... | 27.215827 | 94 | 0.597409 | i-saint |
422abceab02e1f78d551c813dcfafaeb7b3316f8 | 1,027 | cpp | C++ | DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | 1 | 2021-02-11T15:07:17.000Z | 2021-02-11T15:07:17.000Z | DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | null | null | null | DSA Crack Sheet/solutions/4. Sort An Array Of 0s 1s And 2s.cpp | sumanthbolle/DataStructures-Algorithms | d04edbcdd0794f5668e26bd003b46548150eccbc | [
"MIT"
] | null | null | null | // O(nlogn)
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int n;
cin >> n;
vector<int> arr(n, 0);
for (int i = 0; i < n; ++i)
cin >> arr[i];
sort(arr.begin(), arr.end());
for (int i = 0; i < n; ++i)
cout << arr[i] << " ";
c... | 13.693333 | 37 | 0.351509 | sumanthbolle |
422f8f65625cf6e361471362aadeddbdb1afa670 | 2,040 | cpp | C++ | als/main.cpp | al-petrushin/kubsu-cpp-tasks | c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9 | [
"MIT"
] | null | null | null | als/main.cpp | al-petrushin/kubsu-cpp-tasks | c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9 | [
"MIT"
] | null | null | null | als/main.cpp | al-petrushin/kubsu-cpp-tasks | c280a7c7a743742f5b0ba2bb8bc0e02cd2e7bdc9 | [
"MIT"
] | null | null | null | //
// Created by Александр Петрушин on 26.04.2021.
//
#include <vector>
#include <functional>
#include <iostream>
#include <fstream>
#include "linear_regression.h"
#include "gradient.h"
#include "errors.h"
//#include "matplotlibcpp.h"
using namespace std;
std::function<double(double)> Eval(vector<double> input, vec... | 29.565217 | 111 | 0.631373 | al-petrushin |
4230390bb7e512943db7e5e32ea2f6b9d20132e2 | 4,489 | cpp | C++ | Classes/dragondash/TowerManager.cpp | Dotosoft/game02-cpp-blueprints | 781db6935658cdef7e07087a88f9ce1a22aee2d5 | [
"MIT"
] | 1 | 2016-08-25T15:33:09.000Z | 2016-08-25T15:33:09.000Z | Classes/dragondash/TowerManager.cpp | Dotosoft/game02-cpp-blueprints | 781db6935658cdef7e07087a88f9ce1a22aee2d5 | [
"MIT"
] | null | null | null | Classes/dragondash/TowerManager.cpp | Dotosoft/game02-cpp-blueprints | 781db6935658cdef7e07087a88f9ce1a22aee2d5 | [
"MIT"
] | 2 | 2020-03-06T01:00:56.000Z | 2020-03-25T06:07:52.000Z | #include "dragondash\TowerManager.h"
using namespace dragondash;
dragondash::TowerManager::TowerManager(Vec2 position)
{
this->lowerSprite = NULL;
this->upperSprite = NULL;
this->position = position;
}
dragondash::TowerManager::TowerManager(GameWorld * parent)
{
// save reference to GameWorld
this->gameworld = ... | 36.495935 | 140 | 0.736021 | Dotosoft |
42343997e5cbaabd2bfbd8b043a5e62720235bc0 | 3,837 | cpp | C++ | sysy2riscv/ast_tigger.cpp | Yibo-He/sysyCompiler | fd95b17153b565d9ccb69c296cdcc8be64670b11 | [
"MIT"
] | 7 | 2021-06-06T05:26:38.000Z | 2021-12-25T08:19:43.000Z | sysy2riscv/ast_tigger.cpp | Yibo-He/sysyCompiler | fd95b17153b565d9ccb69c296cdcc8be64670b11 | [
"MIT"
] | null | null | null | sysy2riscv/ast_tigger.cpp | Yibo-He/sysyCompiler | fd95b17153b565d9ccb69c296cdcc8be64670b11 | [
"MIT"
] | null | null | null | #include "ast_tigger.hpp"
int string2num(const string s){
return atoi(s.c_str());
}
string num2string_3(int num){
string ans = to_string(num);
return ans;
}
int op2int(string op){
if(!strcmp(op.c_str(),"+")) return Plus;
if(!strcmp(op.c_str(),"-")) return Minus;
if(!strcmp(op.c_str(),"*")) retu... | 35.201835 | 135 | 0.562419 | Yibo-He |
4236cbcd2e4cad1781694ca6d2e1c343d97cd435 | 775 | cpp | C++ | System/test_Triangle/Triangle1.cpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | 2 | 2018-10-30T08:06:57.000Z | 2019-12-12T03:05:58.000Z | System/test_Triangle/Triangle1.cpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | null | null | null | System/test_Triangle/Triangle1.cpp | Mr-Hunter/Linux | dc222abe4e961a65282d7bc8ac6a301657386ddc | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: Triangle1.cpp
> Author: Hunter
> Mail: hunter.520@qq.com
> Created Time: Tue 02 Apr 2019 11:21:37 PM PDT
************************************************************************/
#include <iostrea... | 24.21875 | 74 | 0.383226 | Mr-Hunter |
4236d0f908e7d559293bd761abda432e8267c9c3 | 4,973 | cpp | C++ | source/scene/Scene.cpp | freneticmonkey/epsilonc | 0fb7c6c4c6342a770e2882bfd67ed34719e79066 | [
"MIT"
] | null | null | null | source/scene/Scene.cpp | freneticmonkey/epsilonc | 0fb7c6c4c6342a770e2882bfd67ed34719e79066 | [
"MIT"
] | null | null | null | source/scene/Scene.cpp | freneticmonkey/epsilonc | 0fb7c6c4c6342a770e2882bfd67ed34719e79066 | [
"MIT"
] | null | null | null | #include "scene/Scene.h"
namespace epsilon
{
Scene::Ptr Scene::Create(std::string name)
{
Scene::Ptr newScene = std::make_shared<Scene>(private_struct(), name);
newScene->Setup();
return newScene;
}
Scene::Scene(const private_struct &, std::string sceneName) : name(sceneName)
{
}
Scene::~Scene(void)
... | 20.052419 | 112 | 0.645285 | freneticmonkey |
4236f3c151d40f8581667f417cbe6145c80ffa77 | 2,335 | hpp | C++ | addons/main/weapons/CfgWeapMG.hpp | johnb432/Weapons-Balance-FOW | 9d72a7f5a86b59ed6c651b62a39cc08dd21f694e | [
"MIT"
] | null | null | null | addons/main/weapons/CfgWeapMG.hpp | johnb432/Weapons-Balance-FOW | 9d72a7f5a86b59ed6c651b62a39cc08dd21f694e | [
"MIT"
] | null | null | null | addons/main/weapons/CfgWeapMG.hpp | johnb432/Weapons-Balance-FOW | 9d72a7f5a86b59ed6c651b62a39cc08dd21f694e | [
"MIT"
] | null | null | null | //https://old.weaponsystems.net/weaponsystem/AA06%20-%20Bren.html
class fow_w_bren: fow_rifle_base {
ACE_barrelLength = 635;
ACE_barrelTwist = 254;
ACE_Overheating_allowSwapBarrel = 1;
displayName = "Bren Mk.II";
magazineReloadTime = 0;
magazineWell[] += {"CBA_303B_BREN"};
class WeaponSlotsI... | 25.944444 | 65 | 0.667238 | johnb432 |
42370348e04d00d16d863f09edf9807461c0286b | 2,982 | cpp | C++ | src/kmr_behaviortree/plugins/action/plan_manipulator_path.cpp | stoic-roboticist/kmriiwa_ws_devel | 582c2477ec29c9eb68bd826c64f2ec1f76feb4a6 | [
"Apache-2.0"
] | 22 | 2020-04-06T16:35:33.000Z | 2022-03-29T07:47:38.000Z | src/kmr_behaviortree/plugins/action/plan_manipulator_path.cpp | stoic-roboticist/kmriiwa_ws_devel | 582c2477ec29c9eb68bd826c64f2ec1f76feb4a6 | [
"Apache-2.0"
] | 2 | 2020-09-04T10:09:25.000Z | 2021-11-30T20:43:50.000Z | src/kmr_behaviortree/plugins/action/plan_manipulator_path.cpp | stoic-roboticist/kmriiwa_ws_devel | 582c2477ec29c9eb68bd826c64f2ec1f76feb4a6 | [
"Apache-2.0"
] | 10 | 2020-06-16T08:36:56.000Z | 2022-03-29T07:48:11.000Z |
// Copyright 2019 Nina Marie Wahl and Charlotte Heggem.
// Copyright 2019 Norwegian University of Science and Technology.
//
// 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:/... | 33.505618 | 133 | 0.724346 | stoic-roboticist |
423765ec487b397f7871841a4b4f5ae931495248 | 1,882 | cpp | C++ | src/ColdTowerShopItem.cpp | dgi09/Tower-Defence | 2edd53d50c9f913d00de26e7e2bdc5e8b950cc02 | [
"BSD-2-Clause"
] | 1 | 2021-07-28T15:24:00.000Z | 2021-07-28T15:24:00.000Z | src/ColdTowerShopItem.cpp | dgi09/Tower-Defence | 2edd53d50c9f913d00de26e7e2bdc5e8b950cc02 | [
"BSD-2-Clause"
] | null | null | null | src/ColdTowerShopItem.cpp | dgi09/Tower-Defence | 2edd53d50c9f913d00de26e7e2bdc5e8b950cc02 | [
"BSD-2-Clause"
] | null | null | null | #include "ColdTowerShopItem.h"
#include "GamePlayMediator.h"
#include "ArenaHeap.h"
#include <functional>
#include "GUISystem.h"
#include "TowerCreationTool.h"
#include "ToolManager.h"
#include "SplashCreationTool.h"
ColdTowerShopItem::ColdTowerShopItem(void)
{
}
ColdTowerShopItem::~ColdTowerShopItem(void)
{
}
vo... | 17.109091 | 103 | 0.745484 | dgi09 |
423e648f5f47046258fed6b8938ba99d024c7d8f | 3,229 | cpp | C++ | src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/examples/widgets/graphicsview/boxes/glextensions.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding... | 35.483516 | 102 | 0.691855 | power-electro |
4244cf3519c3f83103e5e498a05f02df486a4631 | 91 | cc | C++ | muduo/net/boilerplate.cc | 923310233/muduoTest | 03c291df5605479ece4fc031ab3dd619c8c8f73a | [
"BSD-3-Clause"
] | null | null | null | muduo/net/boilerplate.cc | 923310233/muduoTest | 03c291df5605479ece4fc031ab3dd619c8c8f73a | [
"BSD-3-Clause"
] | null | null | null | muduo/net/boilerplate.cc | 923310233/muduoTest | 03c291df5605479ece4fc031ab3dd619c8c8f73a | [
"BSD-3-Clause"
] | null | null | null |
#include "muduo/net/BoilerPlate.h"
using namespace muduo;
using namespace muduo::net;
| 10.111111 | 34 | 0.747253 | 923310233 |
424639e79751125238e05d98a96dd490fced1f81 | 1,074 | cpp | C++ | workshop8/IntlPhone.cpp | PavanKamra96/BTP200 | 516f5ed60452da53d47206caef22423825a3145e | [
"MIT"
] | null | null | null | workshop8/IntlPhone.cpp | PavanKamra96/BTP200 | 516f5ed60452da53d47206caef22423825a3145e | [
"MIT"
] | null | null | null | workshop8/IntlPhone.cpp | PavanKamra96/BTP200 | 516f5ed60452da53d47206caef22423825a3145e | [
"MIT"
] | null | null | null | #include <iostream>
#include "Phone.h"
IntlPhone::IntlPhone(){
country_Code = 0;
}
IntlPhone::IntlPhone(int regionCode, int areaCode, int localNumber): Phone(areaCode, localNumber) {
//ctor
if (regionCode >= 1 && regionCode <= 999) {
country_Code = regionCode;
} else
*this = IntlPhone();
... | 21.918367 | 100 | 0.608007 | PavanKamra96 |
42465f2891251668ec041517ceea4841891deed4 | 800 | cpp | C++ | src/components/src/core/Component.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 6 | 2021-04-20T10:32:29.000Z | 2021-06-05T11:48:56.000Z | src/components/src/core/Component.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 1 | 2021-05-18T21:00:12.000Z | 2021-06-02T07:59:03.000Z | src/components/src/core/Component.cpp | walter-strazak/chimarrao | b4c9f9d726eb5e46d61b33e10b7579cc5512cd09 | [
"MIT"
] | 3 | 2020-09-12T08:54:04.000Z | 2021-04-17T11:16:36.000Z | #include "Component.h"
#include "ComponentOwner.h"
namespace components::core
{
Component::Component(ComponentOwner* ownerInit) : owner{ownerInit} {}
void Component::loadDependentComponents() {}
void Component::update(utils::DeltaTime, const input::Input&) {}
void Component::lateUpdate(utils::DeltaTime, const inpu... | 16 | 69 | 0.70625 | walter-strazak |
4247f6d342a62cdcce8c0dab9c859a873e016ffa | 13,178 | cpp | C++ | Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_BP_FortExpeditionListItem_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | // Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function BP_FortExpeditionListItem.BP... | 33.277778 | 213 | 0.773258 | Milxnor |
4249a13c522a0727ca53058a12a138656bd75265 | 3,962 | cxx | C++ | Google_hashcode/2018/main.cxx | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | Google_hashcode/2018/main.cxx | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | Google_hashcode/2018/main.cxx | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<random>
#include<algorithm>
#include<tuple>
using namespace std;
const int INF = 2000*1000*1000;
struct Ride{
int x1, y1;
int x2, y2;
int l, r;
int index;
int getLen(int, int, int) const;
int getCost(int, int, int) const;
};
int Ride::getL... | 25.235669 | 124 | 0.513882 | mstrechen |
424b58ad8420784e1df4081159cab8fabb0cb5d7 | 1,073 | cpp | C++ | CodeChef/TSHIRTS.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | CodeChef/TSHIRTS.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | CodeChef/TSHIRTS.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
const int ms = 123;
const int mv = 11;
ll dp[ms][1 << mv];
ll ways(int x, ll mask, ll limit, vector<int> shirts[], int n){
if(shirts[x].size() == 0) return ways(x+1, mask, limit, shirts, n);
if(mask == limit){
retu... | 17.031746 | 68 | 0.520969 | ggml1 |
424b68c2de65ac475af42da66f7a935a66b8460f | 299 | cpp | C++ | 13_ploymorph/main.cpp | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | 1 | 2021-06-17T11:37:42.000Z | 2021-06-17T11:37:42.000Z | 13_ploymorph/main.cpp | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | null | null | null | 13_ploymorph/main.cpp | Aaron-labo/Cpp_StudyNotes | afff37736468b26dad87e9b5cda90f1e5f1efb06 | [
"Unlicense"
] | null | null | null | #include "Circle.h"
#include "Rect.h"
int main()
{
Circle c(1, 2, 3);
Rect r(10, 20, 30, 40);
Shape s(1, 2);
s.show();
int input;
while (1) {
cin >> input;
switch (input)
{
case 1:
s = &c;;
s->show();
break;
case 2:
s = &r;;
s->show();
break;
}
}
return 0;
} | 10.678571 | 24 | 0.478261 | Aaron-labo |
424f0a9d20c8f5343f00778ce197924e1945e367 | 1,178 | cpp | C++ | Based_Engine/Based_Engine/TextureResource.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | Based_Engine/Based_Engine/TextureResource.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | Based_Engine/Based_Engine/TextureResource.cpp | Sanmopre/Based_Engine | 2a408dc501f6357bde9872e2eef70f67295e0a3a | [
"MIT"
] | null | null | null | #include "TextureResource.h"
#include "FileSystem.h"
TextureResource::TextureResource(uint uid, const char* assetsFile, const char* libraryFile)
: Resource(uid, FileType::IMAGE, assetsFile, libraryFile)
{
}
TextureResource::~TextureResource()
{
}
const Texture TextureResource::GetTexture() const
{
return te... | 20.666667 | 91 | 0.643463 | Sanmopre |
4250158ef2b3d006b1cdb28c80860f418155bc23 | 1,269 | cpp | C++ | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/common/base-types.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 5 | 2020-02-08T20:57:21.000Z | 2021-12-23T06:24:41.000Z | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/common/base-types.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 2 | 2020-03-02T14:44:55.000Z | 2020-11-11T16:25:33.000Z | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/common/base-types.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 4 | 2020-09-27T17:30:03.000Z | 2022-02-16T09:48:23.000Z | #include "base-types.hpp"
#include <ostream>
#include <cmath>
bool yakovlev::operator==(const point_t & lhs, const point_t & rhs) noexcept
{
return (lhs.x == rhs.x) && (lhs.y == rhs.y);
}
bool yakovlev::operator!=(const point_t & lhs, const point_t & rhs) noexcept
{
return !(lhs == rhs);
}
std::ostream& yakovl... | 22.660714 | 90 | 0.63357 | NekoSilverFox |
4252acccfbd215a271503823aa57cb38bd306a22 | 25,064 | cc | C++ | videoenhan/src/VideoenhanClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | videoenhan/src/VideoenhanClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | videoenhan/src/VideoenhanClient.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 35.703704 | 214 | 0.787464 | aliyun |
4252b1138e785857031adf5a59146588d37796ea | 5,448 | cc | C++ | chromeos/components/string_matching/prefix_matcher.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chromeos/components/string_matching/prefix_matcher.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chromeos/components/string_matching/prefix_matcher.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2020 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 "chromeos/components/string_matching/prefix_matcher.h"
#include "base/check.h"
#include "base/macros.h"
#include "chromeos/components/string_mat... | 35.607843 | 80 | 0.699523 | mghgroup |
425a0925749b56a4129bb1aa0bb244bc4080c218 | 2,543 | cc | C++ | src/app-framework/LookupHandler.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | 1 | 2022-03-30T20:16:43.000Z | 2022-03-30T20:16:43.000Z | src/app-framework/LookupHandler.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | null | null | null | src/app-framework/LookupHandler.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2006-2021, Universities Space Research Association (USRA).
* 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 copyr... | 36.855072 | 80 | 0.714117 | taless474 |
425b96f71cb7f3ec403821d7c11418ca6bf893b4 | 2,999 | hpp | C++ | include/libtorrent/aux_/websocket_tracker_connection.hpp | redchief/libtorrent | 42917790b1606b5ea0cf5385fde44536c7040a27 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/libtorrent/aux_/websocket_tracker_connection.hpp | redchief/libtorrent | 42917790b1606b5ea0cf5385fde44536c7040a27 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/libtorrent/aux_/websocket_tracker_connection.hpp | redchief/libtorrent | 42917790b1606b5ea0cf5385fde44536c7040a27 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2019 Paul-Louis Ageneau
Copyright (c) 2020, Paul-Louis Ageneau
All rights reserved.
You may use, distribute and modify this code under the terms of the BSD license,
see LICENSE file.
*/
#ifndef TORRENT_WEBSOCKET_TRACKER_CONNECTION_HPP_INCLUDED
#define TORRENT_WEBSOCKET_TRACKER_CONNECTION_HPP_INCLUDE... | 27.263636 | 84 | 0.791931 | redchief |
425cb4ef757c75bd9497830c265e4ba465955905 | 1,577 | cpp | C++ | ch3/useEigen/hw.cpp | MrCocoaCat/slambook | 1eb2c3b081c6f668f342ae8d3fa536748bedc77d | [
"MIT"
] | 3 | 2018-02-13T05:39:05.000Z | 2019-06-15T17:35:25.000Z | ch3/useEigen/hw.cpp | MrCocoaCat/slambook | 1eb2c3b081c6f668f342ae8d3fa536748bedc77d | [
"MIT"
] | null | null | null | ch3/useEigen/hw.cpp | MrCocoaCat/slambook | 1eb2c3b081c6f668f342ae8d3fa536748bedc77d | [
"MIT"
] | 1 | 2018-12-21T13:59:20.000Z | 2018-12-21T13:59:20.000Z | //
// Created by liyubo on 12/15/17.
//
#include <iostream>
using namespace std;
#include <ctime>
// Eigen 部分
#include <Eigen/Core>
// 稠密矩阵的代数运算(逆,特征值等)
#include <Eigen/Dense>
#include"hw.h"
#define MATRIX_SIZE 50
void homework()
{
//作业
Eigen::MatrixXd matrix_A;
matrix_A = Eigen::MatrixXd::Random( 100, 100 ... | 28.672727 | 114 | 0.608751 | MrCocoaCat |
425d2a724c3d5b91385c065199075392ac4744c4 | 57,201 | cpp | C++ | net/snmp/subagent/snmpevnt/evntagnt/snmptrlg.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/snmp/subagent/snmpevnt/evntagnt/snmptrlg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/snmp/subagent/snmpevnt/evntagnt/snmptrlg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1994 Microsoft Corporation
Module Name:
SNMPTRLG.CPP
Abstract:
This module is the tracing and logging routines for the SNMP Event Log
Extension Agent DLL.
Author:
Randy G. Braze (Braze Computing Services) Created 7 February 1996
Revision History:
--*... | 39.098428 | 138 | 0.542665 | npocmaka |
425f7cffba510b1b9021dcb5f89123bd5c20110c | 72 | cpp | C++ | utils/globals.cpp | RapidsAtHKUST/ContinuousSubgraphMatching | f786d19561c8ae13cc7aa2af6e4d41a52aa2aba5 | [
"MIT"
] | null | null | null | utils/globals.cpp | RapidsAtHKUST/ContinuousSubgraphMatching | f786d19561c8ae13cc7aa2af6e4d41a52aa2aba5 | [
"MIT"
] | null | null | null | utils/globals.cpp | RapidsAtHKUST/ContinuousSubgraphMatching | f786d19561c8ae13cc7aa2af6e4d41a52aa2aba5 | [
"MIT"
] | null | null | null | #include "utils/globals.h"
std::atomic<bool> reach_time_limit = false;
| 18 | 43 | 0.75 | RapidsAtHKUST |
425f925acdc49fd521e74e7d0237aea88e107117 | 470 | hpp | C++ | Results.hpp | h-g-s/ddtree | 4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4 | [
"MIT"
] | 1 | 2019-11-30T14:48:40.000Z | 2019-11-30T14:48:40.000Z | Results.hpp | h-g-s/ddtree | 4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4 | [
"MIT"
] | null | null | null | Results.hpp | h-g-s/ddtree | 4941baf6d66374f5a7c3b7eadd994c2ff8ae55f4 | [
"MIT"
] | null | null | null | /*
* Results.hpp
*
* Created on: 27 de fev de 2019
* Author: haroldo
*/
#ifndef RESULTS_HPP_
#define RESULTS_HPP_
#include <string>
#include <vector>
#include "InstanceSet.hpp"
class Results
{
public:
Results( const InstanceSet &_iset, const char *resFile );
const std::vector< std::string > &alg... | 15.666667 | 61 | 0.659574 | h-g-s |
42659843db1fe95995440df1b137db6d97ff4dfe | 16,470 | cpp | C++ | Windows Pin/Windows Pin.cpp | barty32/windows-pin | d89fb0352c5934c403efcfb6518979717920876c | [
"MIT"
] | null | null | null | Windows Pin/Windows Pin.cpp | barty32/windows-pin | d89fb0352c5934c403efcfb6518979717920876c | [
"MIT"
] | null | null | null | Windows Pin/Windows Pin.cpp | barty32/windows-pin | d89fb0352c5934c403efcfb6518979717920876c | [
"MIT"
] | null | null | null | // Windows Pin.cpp : Defines the entry point for the application.
//
#include "Windows Pin.h"
#include "PinDll.h"
bool g_bPinning = false;
HCURSOR g_hPinCursor = NULL;
std::list<HWND> g_pinnedWnds;
// Global Variables:
HINSTANCE hInst;
HWND hWndMain;
const UINT WM_TASKBARCREATED = RegisterWindowMessageW(L"... | 29.253996 | 167 | 0.702975 | barty32 |
4266219ebae7d643ef0606185beb79535329e25e | 54 | cpp | C++ | source/framework/algorithm/src/local_operation/cos.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 2 | 2021-02-26T22:45:56.000Z | 2021-05-02T10:28:48.000Z | source/framework/algorithm/src/local_operation/cos.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | 131 | 2020-10-27T13:09:16.000Z | 2022-03-29T10:24:26.000Z | source/framework/algorithm/src/local_operation/cos.cpp | computationalgeography/lue | 71993169bae67a9863d7bd7646d207405dc6f767 | [
"MIT"
] | null | null | null | #include "lue/framework/algorithm/definition/cos.hpp"
| 27 | 53 | 0.814815 | computationalgeography |
4267171e4f2224965ac76a9a6d9575f74ce643b2 | 1,640 | cpp | C++ | Source/SHOOTACUBE/Accessories/Gun/Ammo.cpp | marvkey/SHOOTACUBE | b98665dec593d2a5b33b66bcb1ebb5a4b896b23f | [
"Apache-2.0"
] | null | null | null | Source/SHOOTACUBE/Accessories/Gun/Ammo.cpp | marvkey/SHOOTACUBE | b98665dec593d2a5b33b66bcb1ebb5a4b896b23f | [
"Apache-2.0"
] | null | null | null | Source/SHOOTACUBE/Accessories/Gun/Ammo.cpp | marvkey/SHOOTACUBE | b98665dec593d2a5b33b66bcb1ebb5a4b896b23f | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Ammo.h"
#include "SHOOTACUBE/Player/Player1.h"
#include "Components/BoxComponent.h"
AAmmo::AAmmo(){}
void AAmmo::BeginPlay(){
Super::BeginPlay();
Collider->OnComponentBeginOverlap.AddDynamic(this,&AAmmo::OnOverlapBegin);
... | 37.272727 | 185 | 0.679268 | marvkey |
4269de30fa7cfb72d6b42b76f5231eb530d0a6ee | 12,518 | cpp | C++ | src/samples/aiff/aiff.cpp | eriser/hivetrekkr | bac051e587fb53fc47bbd18066059c2c402b5720 | [
"BSD-2-Clause"
] | 1 | 2018-10-22T11:32:30.000Z | 2018-10-22T11:32:30.000Z | src/samples/aiff/aiff.cpp | eriser/hivetrekkr | bac051e587fb53fc47bbd18066059c2c402b5720 | [
"BSD-2-Clause"
] | null | null | null | src/samples/aiff/aiff.cpp | eriser/hivetrekkr | bac051e587fb53fc47bbd18066059c2c402b5720 | [
"BSD-2-Clause"
] | 1 | 2019-03-05T15:39:57.000Z | 2019-03-05T15:39:57.000Z | // ------------------------------------------------------
// Protrekkr
// Based on Juan Antonio Arguelles Rius's NoiseTrekker.
//
// Copyright (C) 2008-2014 Franck Charlet.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided th... | 28.067265 | 81 | 0.506071 | eriser |
426c13fd0ff5d057eb38130136cf45fe3043ea2c | 6,174 | hpp | C++ | inference-engine/thirdparty/mkl-dnn/src/cpu/jit_avx512_core_x8s8s32x_1x1_deconvolution.hpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 52 | 2019-12-11T14:33:19.000Z | 2021-09-24T14:09:54.000Z | inference-engine/thirdparty/mkl-dnn/src/cpu/jit_avx512_core_x8s8s32x_1x1_deconvolution.hpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 13 | 2019-12-12T04:15:23.000Z | 2021-09-06T01:16:04.000Z | inference-engine/thirdparty/mkl-dnn/src/cpu/jit_avx512_core_x8s8s32x_1x1_deconvolution.hpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 15 | 2019-12-12T00:58:07.000Z | 2021-09-15T09:37:39.000Z |
/*******************************************************************************
* Copyright 2018 Intel Corporation
*
* 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.... | 37.877301 | 88 | 0.573858 | zhoub |
426d393697ce31c2e9966196878a5b2b0785e8d7 | 693 | cpp | C++ | HOL6/unified/main.cpp | sudopluto/GPUClassS19 | 6bc0ff715b0c2082e46fd77d33fe1cf8486b09f4 | [
"MIT"
] | null | null | null | HOL6/unified/main.cpp | sudopluto/GPUClassS19 | 6bc0ff715b0c2082e46fd77d33fe1cf8486b09f4 | [
"MIT"
] | null | null | null | HOL6/unified/main.cpp | sudopluto/GPUClassS19 | 6bc0ff715b0c2082e46fd77d33fe1cf8486b09f4 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
void initialize (int N, float *a, float *b, float *c){
for (int i = 0; i < N; i++){
if (i < N){
c[i] = 0;
a[i] = 1 + i;
b[i] = 1 - i;
}
}
}
void addVectors (int N, float *a, float *b, float *c){
for (int i = 0; i < N; i++){
if (i < N){
c[i] = a[i] + b[i];
... | 15.75 | 54 | 0.486291 | sudopluto |
426d9e182fd082858b230aa1f5cd48f10aac8725 | 3,192 | cc | C++ | modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc | minstrelsy/webrtc-official | cfe75c12ee04d17e7898ebc0a8ad1051b6627e53 | [
"BSD-3-Clause"
] | 305 | 2020-03-31T14:12:50.000Z | 2022-03-19T16:45:49.000Z | modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc | daixy111040536/webrtc | 7abfc990c00ab35090fff285fcf635d1d7892433 | [
"BSD-3-Clause"
] | 23 | 2020-04-29T11:41:23.000Z | 2021-09-07T02:07:57.000Z | modules/congestion_controller/goog_cc/congestion_window_pushback_controller_unittest.cc | daixy111040536/webrtc | 7abfc990c00ab35090fff285fcf635d1d7892433 | [
"BSD-3-Clause"
] | 122 | 2020-04-17T11:38:56.000Z | 2022-03-25T15:48:42.000Z | /*
* Copyright (c) 2018 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... | 33.957447 | 88 | 0.794486 | minstrelsy |
f11737a8bdf71e8e728cc3403ef9cde13391f555 | 3,515 | cpp | C++ | gfx/region_pixman.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | 186 | 2017-04-25T12:13:05.000Z | 2022-03-30T08:06:47.000Z | gfx/region_pixman.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | 34 | 2016-12-20T16:33:31.000Z | 2022-03-29T21:07:52.000Z | gfx/region_pixman.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | 47 | 2016-12-19T17:23:46.000Z | 2022-03-30T19:45:55.000Z | // LAF Gfx Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "pixman.h"
#include "base/debug.h"
#include "gfx/point.h"
#include "gfx/region.h"
#include <c... | 20.085714 | 83 | 0.702703 | clarfonthey |
f119ccfb9176845b806213b365af93a316cf0fff | 6,870 | cpp | C++ | frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp | shillcock/dmz | 02174b45089e12cd7f0840d5259a00403cd1ccff | [
"MIT"
] | 2 | 2015-11-05T03:03:40.000Z | 2016-02-03T21:50:40.000Z | frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | frameworks/entity/plugins/wheels/dmzEntityPluginWheels.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | #include <dmzEntityConsts.h>
#include "dmzEntityPluginWheels.h"
#include <dmzObjectAttributeMasks.h>
#include <dmzObjectConsts.h>
#include <dmzObjectModule.h>
#include <dmzRuntimeConfig.h>
#include <dmzRuntimeConfigToTypesBase.h>
#include <dmzRuntimePluginFactoryLinkSymbol.h>
#include <dmzRuntimePluginInfo.h>
#include ... | 22.82392 | 85 | 0.604658 | shillcock |
f11edf0045a11ad72e3bb5d8fd84b19f5e9060ea | 977 | cpp | C++ | Engine/src/Traceability/Logger.cpp | LinMAD/Nibble | 65a8d12810335d832512812740f86bd8df14feb0 | [
"MIT"
] | null | null | null | Engine/src/Traceability/Logger.cpp | LinMAD/Nibble | 65a8d12810335d832512812740f86bd8df14feb0 | [
"MIT"
] | null | null | null | Engine/src/Traceability/Logger.cpp | LinMAD/Nibble | 65a8d12810335d832512812740f86bd8df14feb0 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Logger.h"
#include "spdlog/sinks/stdout_color_sinks.h"
namespace Nibble {
std::shared_ptr<spdlog::logger> Logger::s_CoreLogger;
std::shared_ptr<spdlog::logger> Logger::s_ClientLogger;
Logger::Logger()
{
}
Logger::~Logger()
{
}
void Logger::Init()
{
// https:/... | 28.735294 | 77 | 0.64176 | LinMAD |
f121c81e2a556a26ce7c1dbda509bdc8ae36dcc9 | 1,344 | hpp | C++ | src/sensors/interface.hpp | Hyp-ed/hyped-2022 | 9cac4632b660f569629cf0ad4048787f6017905d | [
"Apache-2.0"
] | 9 | 2021-07-31T16:22:24.000Z | 2022-01-19T18:14:31.000Z | src/sensors/interface.hpp | Hyp-ed/hyped-2022 | 9cac4632b660f569629cf0ad4048787f6017905d | [
"Apache-2.0"
] | 91 | 2021-07-29T18:21:30.000Z | 2022-03-31T20:44:55.000Z | src/sensors/interface.hpp | Hyp-ed/hyped-2022 | 9cac4632b660f569629cf0ad4048787f6017905d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include <data/data.hpp>
namespace hyped {
using data::BatteryData;
using data::ImuData;
using data::NavigationVector;
using data::StripeCounter;
using data::TemperatureData;
namespace sensors {
class SensorInterface {
public:
/**
* @brief Check if sensor is responding, i.e. c... | 19.764706 | 71 | 0.680804 | Hyp-ed |
f1221f59c63a06cf4df50f1e2769796ba5ba222c | 332 | cpp | C++ | Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp | redcatbox/Instanced | 347790e8ade0c6e6fb9b742afc78c764414ed36a | [
"MIT"
] | 1 | 2022-02-03T17:10:29.000Z | 2022-02-03T17:10:29.000Z | Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp | redcatbox/Instanced | 347790e8ade0c6e6fb9b742afc78c764414ed36a | [
"MIT"
] | null | null | null | Plugins/InstancedPlugin/Source/InstancedPlugin/Private/Components/Operations/IPOperationAlignBase.cpp | redcatbox/Instanced | 347790e8ade0c6e6fb9b742afc78c764414ed36a | [
"MIT"
] | null | null | null | // redbox, 2021
#include "Components/Operations/IPOperationAlignBase.h"
UIPOperationAlignBase::UIPOperationAlignBase()
{
#if WITH_EDITORONLY_DATA
bInstancesNumEditCondition = false;
bAlignToSurface = false;
OffsetInTraceDirection = 0.f;
bReverse = false;
bTraceComplex = false;
bIgnoreSelf = true;
DrawTime = 5.... | 19.529412 | 55 | 0.777108 | redcatbox |
f1226e2ec401b0be3b8b0af702bb3de980341b25 | 725 | cpp | C++ | dmoj/dmopc/2014/contest-2/deforestation.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-07-16T01:46:38.000Z | 2020-07-16T01:46:38.000Z | dmoj/dmopc/2014/contest-2/deforestation.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | dmoj/dmopc/2014/contest-2/deforestation.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | 1 | 2020-05-27T14:30:43.000Z | 2020-05-27T14:30:43.000Z | #include <iostream>
#include <vector>
using namespace std;
inline void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
int main()
{
use_io_optimizations();
unsigned int trees;
cin >> trees;
vector<unsigned int> prefix_sums(trees + 1);
for (unsigned int i ... | 16.477273 | 64 | 0.56 | Rkhoiwal |
f124100905a0dd50b377e341d084a768cc278f82 | 1,151 | cpp | C++ | cref/10_enums.cpp | admantium-sg/learning-cpp | cc827a8d7eabceac32069bb7f5a64b3c0fe488f4 | [
"BSD-3-Clause"
] | null | null | null | cref/10_enums.cpp | admantium-sg/learning-cpp | cc827a8d7eabceac32069bb7f5a64b3c0fe488f4 | [
"BSD-3-Clause"
] | null | null | null | cref/10_enums.cpp | admantium-sg/learning-cpp | cc827a8d7eabceac32069bb7f5a64b3c0fe488f4 | [
"BSD-3-Clause"
] | null | null | null | /*
* ---------------------------------------
* Copyright (c) Sebastian Günther 2021 |
* |
* devcon@admantium.com |
* |
* SPDX-License-Identifier: BSD-3-Clause |
* ---------------------------------------
*/
#include ... | 24.489362 | 75 | 0.519548 | admantium-sg |
f12445216f388fed4e59651814fdd8bac1bae6e2 | 3,016 | cpp | C++ | src/fuel.cpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | null | null | null | src/fuel.cpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | null | null | null | src/fuel.cpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | null | null | null | #include "ball.h"
#include "main.h"
Fuel::Fuel(float x, float y, float z, color_t color) {
this->position = glm::vec3(x, y, z);
this->rotation = 0;
this->kill = 0;
this->fuel_box.height = 15;
this->fuel_box.width = 15;
this->fuel_box.depth = 15;
this->fuel_box.x = x;
this->fuel_box.y... | 34.272727 | 107 | 0.556698 | BonJovi1 |
f1292ef8610d84e7d6c789af02652b45f680a893 | 573 | cpp | C++ | 1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp | arpangoswami/LeetcodeSolutions | 17a2450cacf0020c2626023012a5a354c8fee5da | [
"MIT"
] | null | null | null | 1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp | arpangoswami/LeetcodeSolutions | 17a2450cacf0020c2626023012a5a354c8fee5da | [
"MIT"
] | null | null | null | 1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/1438-longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit.cpp | arpangoswami/LeetcodeSolutions | 17a2450cacf0020c2626023012a5a354c8fee5da | [
"MIT"
] | null | null | null | class Solution {
public:
int longestSubarray(vector<int>& nums, int limit) {
int left = 0;
int n = nums.size();
multiset<int> windowElements;
int ans = 1;
for(int i=0;i<n;i++){
windowElements.insert(nums[i]);
while(left <= i && (*windowElements.rbegin(... | 30.157895 | 93 | 0.490401 | arpangoswami |
f12ad4de9a7ae79ebaa583594bdcce5ade49214d | 10,437 | cc | C++ | hookflash-core/webRTC/webRTC_ios/src/modules/video_coding/codecs/test/videoprocessor.cc | ilin-in/OP | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | [
"Unlicense"
] | 1 | 2020-02-19T09:55:55.000Z | 2020-02-19T09:55:55.000Z | hookflash-core/webRTC/webRTC_ios/src/modules/video_coding/codecs/test/videoprocessor.cc | ilin-in/OP | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | [
"Unlicense"
] | null | null | null | hookflash-core/webRTC/webRTC_ios/src/modules/video_coding/codecs/test/videoprocessor.cc | ilin-in/OP | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | [
"Unlicense"
] | 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... | 36.239583 | 80 | 0.696465 | ilin-in |
f12b3726fca9bd6e160b866808b266980538cc88 | 3,681 | cpp | C++ | Source/Framework/Core/GameComponentContainer.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | Source/Framework/Core/GameComponentContainer.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | Source/Framework/Core/GameComponentContainer.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | //
// GameComponentContainer.cpp
//
// @author Roberto Cano
//
#include "GameComponentContainer.hpp"
using namespace Framework;
using namespace Framework::Core;
using namespace Framework::Types;
void GameComponentContainer::addComponent(Types::GameComponent::PtrType component)
{
const ComponentId& componentId = com... | 25.741259 | 144 | 0.784569 | gabr1e11 |
f12d0977ce64856eef91ed814818316579c52041 | 1,013 | cpp | C++ | code/baseline-system/src/sensors/sensor_random.cpp | jo-jstrm/rime-data-streaming-iot | 8caf549868c6f5ebacb201cb21be9ae5b641ee0b | [
"MIT"
] | null | null | null | code/baseline-system/src/sensors/sensor_random.cpp | jo-jstrm/rime-data-streaming-iot | 8caf549868c6f5ebacb201cb21be9ae5b641ee0b | [
"MIT"
] | 1 | 2021-08-16T09:19:17.000Z | 2021-08-16T09:19:17.000Z | code/baseline-system/src/sensors/sensor_random.cpp | jo-jstrm/rime-data-streaming-iot | 8caf549868c6f5ebacb201cb21be9ae5b641ee0b | [
"MIT"
] | null | null | null | #include "sensor_random.hpp"
#include <random>
#include <chrono>
#include <utility>
#include "results.hpp"
using namespace caf;
using namespace std;
using namespace std::chrono;
using read = atom_constant<atom("read")>;
using state = atom_constant<atom("state")>;
behavior random_sensor(stateful_actor<sensor_state>*... | 24.707317 | 76 | 0.586377 | jo-jstrm |
f132ed9ead1956efad145f4b362f7737812a27b8 | 6,264 | cpp | C++ | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/FieldInfos.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/FieldInfos.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/FieldInfos.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
*
* Changes are Copyright (C) 2015 The Qt Company Ltd.
*/
#include "CLucene/StdHeader.h"
#in... | 26.43038 | 85 | 0.685983 | wgnet |
f133409731a3a8155fbf3128a4b1e316847324c6 | 240 | cpp | C++ | src/trap_instances/SegmentLdr.cpp | DavidLudwig/executor | eddb527850af639b3ffe314e05d92a083ba47af6 | [
"MIT"
] | 2 | 2019-09-16T15:51:39.000Z | 2020-03-04T08:47:42.000Z | src/trap_instances/SegmentLdr.cpp | probonopd/executor | 0fb82c09109ec27ae8707f07690f7325ee0f98e0 | [
"MIT"
] | null | null | null | src/trap_instances/SegmentLdr.cpp | probonopd/executor | 0fb82c09109ec27ae8707f07690f7325ee0f98e0 | [
"MIT"
] | null | null | null | #define INSTANTIATE_TRAPS_SegmentLdr
#include <SegmentLdr.h>
// Function for preventing the linker from considering the static constructors in this module unused
namespace Executor {
namespace ReferenceTraps {
void SegmentLdr() {}
}
}
| 24 | 100 | 0.791667 | DavidLudwig |
f1368c3c646265606a2f4ca855cf81b325293b08 | 269 | cpp | C++ | cpp_algs/bst/test_new.cpp | vitalir2/AlgorithmsCpp | f9a1b7a0b51c6f122ff600008d2c0ef72a26502f | [
"MIT"
] | null | null | null | cpp_algs/bst/test_new.cpp | vitalir2/AlgorithmsCpp | f9a1b7a0b51c6f122ff600008d2c0ef72a26502f | [
"MIT"
] | null | null | null | cpp_algs/bst/test_new.cpp | vitalir2/AlgorithmsCpp | f9a1b7a0b51c6f122ff600008d2c0ef72a26502f | [
"MIT"
] | null | null | null | #include <iostream>
void f(double* n) {
n = new double(4);
}
void g(double* n) {
delete n;
}
int main() {
double* x = new double(5);
f(x);
std::cout << *x << std::endl;
g(x);
std::cout << *x << std::endl;
int* m = nullptr;
delete m;
return 0;
}
| 12.227273 | 31 | 0.520446 | vitalir2 |
f136c9e05ffcde42149c9d9ba3a27c2ddca3539c | 774 | cpp | C++ | 2021_March/30.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | 17 | 2018-08-23T08:53:56.000Z | 2021-04-17T00:06:13.000Z | 2021_March/30.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | null | null | null | 2021_March/30.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | null | null | null | class Solution {
public:
int maxEnvelopes(vector<vector<int>>& envelopes) {
if (envelopes.empty() || envelopes[0].size() == 0) return 0;
int res = 1, n = envelopes.size();
vector<int> dp(n,1);
sort(envelopes.begin(), envelopes.end());
for (int i = 1; i < n; i++){
... | 36.857143 | 94 | 0.425065 | zzz0906 |
f13712f5a4d5b34c049fdc782a7bbe51a4e909a6 | 9,958 | cpp | C++ | src/websocket/frame_websocket.cpp | hl4/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 166 | 2019-04-15T03:19:31.000Z | 2022-03-26T05:41:12.000Z | src/websocket/frame_websocket.cpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 9 | 2019-07-18T06:09:59.000Z | 2021-01-27T04:19:04.000Z | src/websocket/frame_websocket.cpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 43 | 2019-07-03T05:41:57.000Z | 2022-02-24T14:16:09.000Z | #include "daqi/websocket/frame_websocket.hpp"
#include <cstring>
namespace da4qi4
{
namespace Websocket
{
std::string FrameBuilder::Build(char const* data, size_t len)
{
std::string buffer;
size_t externded_payload_len = (len <= 125 ? 0 : (len <= 65535 ? 2 : 8));
size_t mask_key_len = ((len && _frame_hea... | 28.37037 | 114 | 0.586463 | hl4 |
f137c5d4c66f20fd9810d8e5203c0a323e4e585e | 2,893 | cpp | C++ | lib/src/agents/proximity_sensor.cpp | eidelen/maf | 759b4b4a21962de8ec53dd198bc5bf66c19ee017 | [
"MIT"
] | null | null | null | lib/src/agents/proximity_sensor.cpp | eidelen/maf | 759b4b4a21962de8ec53dd198bc5bf66c19ee017 | [
"MIT"
] | null | null | null | lib/src/agents/proximity_sensor.cpp | eidelen/maf | 759b4b4a21962de8ec53dd198bc5bf66c19ee017 | [
"MIT"
] | null | null | null | /****************************************************************************
** Copyright (c) 2021 Adrian Schneider
**
** 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,... | 28.93 | 106 | 0.663671 | eidelen |
f137ef2add0af378ea99b08270988355bd06f43b | 212 | cpp | C++ | TestProject/Source/TestProject/TestProject.cpp | 1Gokul/TestProject | e732c65440537252bd02b9b527ac9a084f4ce44c | [
"MIT"
] | 3 | 2020-07-06T19:46:42.000Z | 2021-12-06T11:23:17.000Z | TestProject/Source/TestProject/TestProject.cpp | 1Gokul/TestProject | e732c65440537252bd02b9b527ac9a084f4ce44c | [
"MIT"
] | null | null | null | TestProject/Source/TestProject/TestProject.cpp | 1Gokul/TestProject | e732c65440537252bd02b9b527ac9a084f4ce44c | [
"MIT"
] | 1 | 2021-12-06T11:23:48.000Z | 2021-12-06T11:23:48.000Z | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "TestProject.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE(FDefaultGameModuleImpl, TestProject, "TestProject");
| 30.285714 | 83 | 0.783019 | 1Gokul |
f138a7c9b24826789f4657efba62850bfafede9b | 3,047 | cpp | C++ | go/runtime/cgosymbolizer/symbolizer.cpp | searKing/golang | b386053582e223fc1f4c4ab3c2d73ab423cefef2 | [
"MIT"
] | 37 | 2019-11-19T15:42:09.000Z | 2022-03-27T07:55:42.000Z | go/runtime/cgosymbolizer/symbolizer.cpp | searKing/golang | b386053582e223fc1f4c4ab3c2d73ab423cefef2 | [
"MIT"
] | 5 | 2020-10-28T06:55:54.000Z | 2021-06-19T05:25:46.000Z | go/runtime/cgosymbolizer/symbolizer.cpp | searKing/golang | b386053582e223fc1f4c4ab3c2d73ab423cefef2 | [
"MIT"
] | 8 | 2019-12-17T05:56:18.000Z | 2021-08-17T20:36:41.000Z | // Copyright 2021 The searKing Author. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "symbolizer.h"
#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include <boost/stacktrace/frame.hpp>
#include <boost/stacktrace/st... | 27.954128 | 79 | 0.653758 | searKing |
f13ca70aaf155bb98e21ed8269ff4fbac2b742b0 | 1,187 | cpp | C++ | src/BabylonImGui/src/inspector/components/sceneexplorer/entities/transform_node_tree_item_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 277 | 2017-05-18T08:27:10.000Z | 2022-03-26T01:31:37.000Z | src/BabylonImGui/src/inspector/components/sceneexplorer/entities/transform_node_tree_item_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 77 | 2017-09-03T15:35:02.000Z | 2022-03-28T18:47:20.000Z | src/BabylonImGui/src/inspector/components/sceneexplorer/entities/transform_node_tree_item_component.cpp | sacceus/BabylonCpp | 94669cf7cbe3214ec6e905cbf249fa0c9daf6222 | [
"Apache-2.0"
] | 37 | 2017-03-30T03:36:24.000Z | 2022-01-28T08:28:36.000Z | #include <babylon/inspector/components/sceneexplorer/entities/transform_node_tree_item_component.h>
#include <babylon/inspector/components/sceneexplorer/tree_item_label_component.h>
#include <babylon/meshes/transform_node.h>
#include <babylon/misc/string_tools.h>
#include <imgui_utils/imgui_utils.h>
namespace BABYLON... | 31.236842 | 99 | 0.781803 | sacceus |
f13ca97b2f05ebd5a61231499adceea695401023 | 7,774 | cpp | C++ | unique_paths.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | unique_paths.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | unique_paths.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | // Problem: https://leetcode.com/problems/unique-paths/
#include <vector>
#include "utils.h"
namespace unique_paths {
// Note: All solutions return int as required by the initial problem, but
// 32-bit signed integer can hold the result for at most the 17x18 grid.
// The straightforward solution, recursively count... | 32.123967 | 97 | 0.531515 | artureganyan |
f13e6e63b73ef115d8ca7a445339307d0a7f6eca | 176,331 | cpp | C++ | GCG_Source.build/module.django.utils._os.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.django.utils._os.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.django.utils._os.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | /* Generated code for Python source for module 'django.utils._os'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 ... | 33.741102 | 255 | 0.714514 | Pckool |
f13f7aaa59f43d9abf2c92c59d09202cf868232e | 1,842 | cc | C++ | core/paddlefl_mpc/mpc_protocol/network/mesh_network_test.cc | barrierye/PaddleFL | eff6ef28491fa2011686ca3daa4f680e5ef83deb | [
"Apache-2.0"
] | 379 | 2019-09-27T14:26:42.000Z | 2022-03-29T14:28:12.000Z | core/paddlefl_mpc/mpc_protocol/network/mesh_network_test.cc | Sprate/PaddleFL | 583691acd5db0a7ca331cc9a72415017b18669b8 | [
"Apache-2.0"
] | 132 | 2019-10-16T03:22:03.000Z | 2022-03-23T08:54:29.000Z | core/paddlefl_mpc/mpc_protocol/network/mesh_network_test.cc | Sprate/PaddleFL | 583691acd5db0a7ca331cc9a72415017b18669b8 | [
"Apache-2.0"
] | 106 | 2019-09-27T12:47:18.000Z | 2022-03-29T09:07:25.000Z | // Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 24.891892 | 77 | 0.652552 | barrierye |
f13fc487d8527459ed97e5c7d6f4c59b8252446b | 24,584 | cpp | C++ | Source/Controls/TextEditorPackage/GuiTextCommonInterface.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | 1 | 2019-04-22T09:09:37.000Z | 2019-04-22T09:09:37.000Z | Source/Controls/TextEditorPackage/GuiTextCommonInterface.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | null | null | null | Source/Controls/TextEditorPackage/GuiTextCommonInterface.cpp | JamesLinus/GacUI | b16f5919e03d5e24cb1e4509111e12aa28e6b827 | [
"MS-PL"
] | null | null | null | #include "GuiTextCommonInterface.h"
#include <math.h>
namespace vl
{
namespace presentation
{
namespace controls
{
using namespace elements;
using namespace elements::text;
using namespace compositions;
/***********************************************************************
GuiTextBoxCommonInterface::... | 27.164641 | 173 | 0.662219 | JamesLinus |
f1477f3ace2bd40604255b6996713b24abb8a69f | 15,362 | cpp | C++ | hihope_neptune-oh_hid/00_src/v0.1/foundation/distributedschedule/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/tlv_parse_test.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.3/foundation/distributedschedule/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/tlv_parse_test.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.3/foundation/distributedschedule/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/tlv_parse_test.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 35.725581 | 93 | 0.648744 | dawmlight |
f147a63ef44cc2117e7b3f5b5e19f0184f9e3d10 | 2,186 | cpp | C++ | src/randact/randomdata.cpp | nicholasjalbert/Thrille | 117dbdbe93f81eec9398a75aebc62543498363ac | [
"OLDAP-2.8"
] | 2 | 2015-02-19T13:15:08.000Z | 2018-05-30T05:34:15.000Z | src/randact/randomdata.cpp | nicholasjalbert/Thrille | 117dbdbe93f81eec9398a75aebc62543498363ac | [
"OLDAP-2.8"
] | null | null | null | src/randact/randomdata.cpp | nicholasjalbert/Thrille | 117dbdbe93f81eec9398a75aebc62543498363ac | [
"OLDAP-2.8"
] | null | null | null | #define UNLOCKASSERT
#include "randomdata.h"
RandomDataTester::RandomDataTester(thrID myself) : RandomActiveTester(myself) {
setTestingTargets();
printf("Random Active (Data) Testing started...\n");
printf("iid 1: %p, iid 2: %p\n", target1, target2);
}
RandomDataTester::RandomDataTester(thrID myself,
... | 29.540541 | 79 | 0.587374 | nicholasjalbert |
f149c82d43c60e6684a451990867bad9a9cb791c | 866 | cpp | C++ | InAirState.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | 1 | 2022-03-13T09:02:50.000Z | 2022-03-13T09:02:50.000Z | InAirState.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | 1 | 2022-03-13T09:04:33.000Z | 2022-03-13T18:56:32.000Z | InAirState.cpp | thomasvt/stuck | eb590f4218d8eb00199518c8f0c1d3225216d412 | [
"MIT"
] | null | null | null | #include <InAirState.h>
#include <Hero.h>
#include "HeroAnimations.h"
namespace actors
{
namespace hero
{
void InAirState::update(Hero& hero)
{
if (hero.rigid_body.is_on_floor())
hero.fsm_.change_state(HeroFsm::hero_state::on_floor);
if (hero.rigid_body.is_on_ladder() && !hero.rigid_body.is_going_up()... | 26.242424 | 123 | 0.720554 | thomasvt |
f149d8f61c22066d21811d6764bdac4816de4330 | 5,484 | cpp | C++ | external/webkit/Source/WebCore/bindings/v8/PageScriptDebugServer.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebCore/bindings/v8/PageScriptDebugServer.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | Source/WebCore/bindings/v8/PageScriptDebugServer.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
* Copyright (c) 2011 Google Inc. 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 list of conditio... | 33.036145 | 140 | 0.715536 | ghsecuritylab |
f14b22aad4767d594ef33df2293217cfc40f5233 | 4,355 | cc | C++ | video.cc | SolraBizna/teg | 05a307f2f3b359f3462cba23e15dbda8d6af66fc | [
"Zlib"
] | null | null | null | video.cc | SolraBizna/teg | 05a307f2f3b359f3462cba23e15dbda8d6af66fc | [
"Zlib"
] | null | null | null | video.cc | SolraBizna/teg | 05a307f2f3b359f3462cba23e15dbda8d6af66fc | [
"Zlib"
] | null | null | null | #include "video.hh"
#include "config.hh"
#include "xgl.hh"
using namespace Video;
const uint32_t Video::uninitialized_context_cookie = 0;
uint32_t Video::opengl_context_cookie = uninitialized_context_cookie;
#ifndef DEFAULT_WINDOWED_WIDTH
#define DEFAULT_WINDOWED_WIDTH 640
#endif
#ifndef DEFAULT_WINDOWED_HEIGHT
#d... | 27.738854 | 117 | 0.702181 | SolraBizna |
f14c2349718a37f8d01d88242163e8662d181f54 | 14,692 | cpp | C++ | OgreMain/src/OgreASTCCodec.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 701 | 2019-09-08T15:56:41.000Z | 2022-03-31T05:51:26.000Z | OgreMain/src/OgreASTCCodec.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 204 | 2019-09-01T23:02:32.000Z | 2022-03-28T14:58:39.000Z | OgreMain/src/OgreASTCCodec.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 188 | 2019-09-05T05:14:46.000Z | 2022-03-22T21:51:39.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE-Next
(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... | 37.865979 | 148 | 0.487953 | resttime |
f14ccaa4af8babd8f33583d2a19d07f1d66fe96b | 1,409 | hh | C++ | include/Activia/ActGuiInput.hh | UniversityofWarwick/ACTIVIA | bbd0dfa71337602f94d911fa5101a440e8c16606 | [
"BSL-1.0"
] | 1 | 2020-11-04T08:32:23.000Z | 2020-11-04T08:32:23.000Z | include/Activia/ActGuiInput.hh | UniversityofWarwick/ACTIVIA | bbd0dfa71337602f94d911fa5101a440e8c16606 | [
"BSL-1.0"
] | null | null | null | include/Activia/ActGuiInput.hh | UniversityofWarwick/ACTIVIA | bbd0dfa71337602f94d911fa5101a440e8c16606 | [
"BSL-1.0"
] | 1 | 2020-11-04T08:32:30.000Z | 2020-11-04T08:32:30.000Z | #ifdef ACT_USE_QT
#ifndef ACT_GUI_INPUT_HH
#define ACT_GUI_INPUT_HH
#include "Activia/ActAbsInput.hh"
#include "Activia/ActOutputSelection.hh"
#include "Activia/ActGuiWindow.hh"
#include <iostream>
#include <fstream>
#include <string>
/// \brief Define the inputs (target, products, spectrum, algorithms) for the cod... | 23.483333 | 92 | 0.74237 | UniversityofWarwick |
f14dd9ea676999232cb222f6795a7e021eb553e4 | 488 | cpp | C++ | Leetcode/Leaf-Similar Trees.cpp | Lucifermaniraj/Hacktoberfest2021 | ec62edfad0d483e4b65874f37c0142d7154adb7b | [
"MIT"
] | null | null | null | Leetcode/Leaf-Similar Trees.cpp | Lucifermaniraj/Hacktoberfest2021 | ec62edfad0d483e4b65874f37c0142d7154adb7b | [
"MIT"
] | null | null | null | Leetcode/Leaf-Similar Trees.cpp | Lucifermaniraj/Hacktoberfest2021 | ec62edfad0d483e4b65874f37c0142d7154adb7b | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> v;
bool leafSimilar(TreeNode* root1, TreeNode* root2) {
vector<int> v1, v2;
leaves(root1, v1);
leaves(root2, v2);
return v1==v2;
}
void leaves(TreeNode* root, vector<int>& v) {
if(!root)
retur... | 21.217391 | 56 | 0.471311 | Lucifermaniraj |
f14f99a466eaf87278065fade561b9f0e0ae7cae | 1,097 | hpp | C++ | libraries/include/Engine/Shader.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | 3 | 2015-04-25T22:57:58.000Z | 2019-11-05T18:36:31.000Z | libraries/include/Engine/Shader.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | 1 | 2016-06-23T15:22:41.000Z | 2016-06-23T15:22:41.000Z | libraries/include/Engine/Shader.hpp | kermado/Total-Resistance | debaf40ba3be6590a70c9922e1d1a5e075f4ede3 | [
"MIT"
] | null | null | null | #ifndef SHADER_H
#define SHADER_H
#include <string>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <Engine/NonCopyable.hpp>
namespace Engine
{
class Shader : private NonCopyable
{
public:
/**
* Shader types.
*/
enum Type
{
VertexShader = GL_VERTEX_SHADER,
FragmentShader = GL_FRAGMENT_SHA... | 14.824324 | 67 | 0.621696 | kermado |