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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
612162de4c5e1dd79b5da101291f113d4f8c40e9 | 22,412 | cpp | C++ | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | ControlWnd.cpp | Memotech-Bill/CamTest | 5b45ed610ba84ce4ef6feb5c5cd53a75f8797b2d | [
"BSD-2-Clause"
] | null | null | null | // ControlWnd.cpp - A window for containing camera controls.
#include <wx/panel.h>
#include <wx/choice.h>
#include <wx/checkbox.h>
#include <wx/slider.h>
#include <wx/spinctrl.h>
#include <wx/stattext.h>
#include <libcamera/controls.h>
#include <libcamera/control_ids.h>
#include "ControlWnd.h"
BEGIN_EVENT_TABLE(Cont... | 36.983498 | 104 | 0.543727 | Memotech-Bill |
6121bd54330ddad58bd7d2f63de990cc1fca7162 | 1,830 | cpp | C++ | src/bind/enums.cpp | jonathf/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 13 | 2021-12-28T13:04:45.000Z | 2022-01-06T22:05:51.000Z | src/bind/enums.cpp | VROOM-Project/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 26 | 2022-01-06T09:36:45.000Z | 2022-03-26T11:43:14.000Z | src/bind/enums.cpp | VROOM-Project/pyvroom | 7f7c755c763ddc416455ea8c5168b53ae1477084 | [
"BSD-2-Clause"
] | 4 | 2022-01-06T14:34:56.000Z | 2022-03-29T11:53:48.000Z | #include <pybind11/pybind11.h>
#include "structures/typedefs.h"
namespace py = pybind11;
void init_enums(py::module_ &m) {
py::enum_<vroom::ROUTER>(m, "ROUTER")
.value("OSRM", vroom::ROUTER::OSRM)
.value("LIBOSRM", vroom::ROUTER::LIBOSRM)
.value("ORS", vroom::ROUTER::ORS)
.value("VALHALLA"... | 34.528302 | 65 | 0.636612 | jonathf |
6129455e861a8422a65a57f3961ec70be44e7e88 | 1,789 | hh | C++ | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 5 | 2015-09-04T11:54:52.000Z | 2016-12-29T02:36:21.000Z | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 19 | 2015-07-29T10:00:06.000Z | 2022-03-09T08:42:10.000Z | test/centreon-benchmark/connector/inc/com/centreon/benchmark/connector/plugin.hh | centreon-lab/centreon-connectors | 3e80bea5c5d999bbce0fcb33b819ddc1cab4d917 | [
"Apache-2.0"
] | 6 | 2016-02-05T15:12:03.000Z | 2021-09-02T19:40:35.000Z | /*
** Copyright 2011-2013 Centreon
**
** 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... | 27.523077 | 79 | 0.735048 | centreon-lab |
612b25568304beac9252ad293051a6b32b490e51 | 640 | hpp | C++ | nall/algorithm.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | nall/algorithm.hpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | nall/algorithm.hpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #pragma once
#include <nall/traits.hpp>
#undef min
#undef max
namespace nall { namespace {
template<typename T, typename U> auto min(const T& t, const U& u) -> T {
return t < u ? t : u;
}
template<typename T, typename U, typename... P> auto min(const T& t, const U& u, P&&... p) -> T {
return t < u ? min(t, for... | 23.703704 | 97 | 0.578125 | 13824125580 |
612b89d2508c51039bb46e37ae3fadc8963ded74 | 10,582 | cpp | C++ | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | 13 | 2016-04-05T23:23:16.000Z | 2022-03-20T11:06:04.000Z | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | null | null | null | game/server/tfo/weapon_stg44.cpp | BerntA/tfo-code | afa3ea06a64cbbf7a9370b214ea5e80e69d9d7a1 | [
"MIT"
] | 4 | 2016-04-05T23:23:19.000Z | 2021-05-16T05:09:46.000Z | //========= Copyright Bernt Andreas Eide, All rights reserved. ============//
//
// Purpose: MP44 / STG44
//
//=============================================================================//
#include "cbase.h"
#include "basehlcombatweapon.h"
#include "NPCevent.h"
#include "basecombatcharacter.h"
#include "AI_BaseNPC.h... | 32.965732 | 181 | 0.626347 | BerntA |
612b9a750ba7eaff8b20a1e339279183d01df9ff | 4,488 | cpp | C++ | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | null | null | null | tf2_src/utils/vgui_panel_zoo/QueryBoxDemo.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "DemoPage.h"
#include <VGUI/IVGui.h>
#include <vgui_controls/Controls.h>
#include <Keyvalues.h>
#include <vgui_co... | 30.324324 | 86 | 0.552362 | IamIndeedGamingAsHardAsICan03489 |
612be61ed565e42e7d013d3e11699fdc54e7f1f8 | 4,004 | hpp | C++ | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | Library/Deps/MessagePack/Include/msgpack/preprocessor/iteration/iterate.hpp | rneogns/simpleio | 20830a2b9b22c31eab23508acd25b275b53103c9 | [
"MIT"
] | null | null | null | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0... | 48.240964 | 146 | 0.731518 | rneogns |
612da374e6268428770467a74984697b73f626f1 | 7,226 | cpp | C++ | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | export/debug/macos/obj/src/__ASSET__flixel_flixel_ui_img_finger_small_png.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED___ASSET__flixel_flixel_ui_img_finger_small_png
#include <__ASSET__flixel_flixel_ui_img_finger_small_png.h>
#endif
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCL... | 48.173333 | 313 | 0.822862 | EnvyBun |
9ecea26f4cd94cceb3df7ad768c739f9a2fb80fe | 1,151 | hpp | C++ | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2021-06-03T15:56:32.000Z | 2021-06-03T15:56:32.000Z | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2015-08-05T05:51:49.000Z | 2015-08-05T05:51:49.000Z | src/sip-0x/parser/tokens/TokenSIPVersion.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | null | null | null | #if !defined(SIP0X_PARSER_TOKENSIPVERSION_HPP__)
#define SIP0X_PARSER_TOKENSIPVERSION_HPP__
#include "parser/tokens/TokenAbstract.hpp"
#include "parser/tokens/Operators.hpp"
#include "parser/tokens/Token.hpp"
#include "parser/tokens/TokenRegex.hpp"
#include "parser/factory/FactoryContextSIPVersion.hpp"
namespace sip... | 26.767442 | 113 | 0.694179 | zanfire |
9ecf6445c565af4b25c30b86595de8d8d9ebadfe | 6,194 | cpp | C++ | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_ballSMC.cpp | Ruochun/chrono | 7b0f09242ef540ae56cfc8add3a5dc7985c654d2 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 34.220994 | 130 | 0.638683 | Ruochun |
9ed36b848f34902d45895d054f7e3672e71cc7a6 | 636 | cpp | C++ | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | cses/Two_Sets.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll n;
cin >> n;
vector<ll> v1, v2;
ll sum = n * (n + 1) / 2;
if (sum % 2 != 0) {
cout << "NO" << endl;
return 0;
}
sum /= 2;
for (int i = n; i > 0; i--) {
if (sum - i >= 0) {
... | 18.705882 | 33 | 0.386792 | st3v3nmw |
9ed42813791eb28e968c11a32c0668ffdf14571b | 15,456 | cpp | C++ | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | 1 | 2021-04-11T23:44:43.000Z | 2021-04-11T23:44:43.000Z | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | Source/AliveLibAE/ParticleBurst.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ParticleBurst.hpp"
#include "Math.hpp"
#include "Game.hpp"
#include "Function.hpp"
#include "Events.hpp"
#include "Sfx.hpp"
#include "ScreenManager.hpp"
#include "Map.hpp"
#include "stdlib.hpp"
struct ParticleBurst_Item
{
FP field_0_x;
FP field_4_y;
FP field_8_z;
FP field_... | 35.777778 | 170 | 0.551889 | THEONLYDarkShadow |
9ed55f3e8b285a0b17d289c1443def0bd4afc0b4 | 854 | hpp | C++ | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | 1 | 2015-05-06T09:21:07.000Z | 2015-05-06T09:21:07.000Z | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | 1 | 2015-06-14T17:23:11.000Z | 2015-06-15T09:41:16.000Z | inc/RingBuffer.hpp | izissise/network | 7267690fdaa379331b130e5bdd7ee87649c240b2 | [
"MIT"
] | null | null | null | #ifndef RINGBUFFER_H
# define RINGBUFFER_H
# include <cstdint>
# include <memory>
# include <cstring>
# include "ASocket.hpp"
namespace Network {
class RingBuffer
{
public:
RingBuffer(size_t size = 4096);
virtual ~RingBuffer() = default;
void writeBuffer(const Network::Buffer& data);
void readBuffer(Networ... | 18.977778 | 59 | 0.687354 | izissise |
9edb100510240b459c4ce833507d90c8772568b3 | 134 | hxx | C++ | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/PackageInConnector/UNIX_PackageInConnector_SOLARIS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_SOLARIS
#ifndef __UNIX_PACKAGEINCONNECTOR_PRIVATE_H
#define __UNIX_PACKAGEINCONNECTOR_PRIVATE_H
#endif
#endif
| 11.166667 | 43 | 0.858209 | brunolauze |
9ee49a10c4b53cd5e34bfb1f8b4fa06ec39e7967 | 4,988 | cpp | C++ | src/archutils/Darwin/Crash.cpp | SharpnelXu/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2022-02-22T01:24:02.000Z | 2022-02-22T01:24:02.000Z | src/archutils/Darwin/Crash.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2019-05-04T02:30:57.000Z | 2019-05-04T02:30:57.000Z | src/archutils/Darwin/Crash.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 3 | 2019-05-02T01:50:23.000Z | 2020-05-25T01:08:36.000Z | #include "Etterna/Globals/global.h"
#include "Crash.h"
#include "Core/Services/Locator.hpp"
#include "Core/Platform/Platform.hpp"
#include "Core/Misc/AppInfo.hpp"
#include <CoreServices/CoreServices.h>
#include <sys/types.h>
#include <fmt/format.h>
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#include <sys/sys... | 35.884892 | 135 | 0.722735 | SharpnelXu |
9ee63a11f3a00f146be2413047aad5fc8465af25 | 461 | cpp | C++ | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | Fast Fibonacci/Fast Fibonacci/main.cpp | brunorabelo/URI-Online-Judge | 87051c4fa7339c0ed6d9613739b70cedea2fe090 | [
"MIT"
] | null | null | null | //
// main.cpp
// Fast Fibonacci
//
// Created by MacBook on 02/05/17.
// Copyright © 2017 Bruno Botelho. All rights reserved.
//
#include <stdio.h>
#include <math.h>
int main(int argc, const char * argv[]) {
// insert code here...
int n;
double result;
scanf("%d",&n);
result= pow(((... | 15.366667 | 61 | 0.518438 | brunorabelo |
9eeabe215b2ffe2a8763142d9ee64ea8c27c4a8b | 2,834 | cc | C++ | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 921 | 2019-01-13T18:47:47.000Z | 2022-03-28T03:36:18.000Z | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 93 | 2019-01-11T15:35:01.000Z | 2022-01-14T17:42:05.000Z | libcurv/program.cc | curv3d/curv | f3b7a0045b681df86ec25f1f97c4e6feb7dd5c6a | [
"Apache-2.0"
] | 59 | 2019-01-20T09:37:59.000Z | 2022-02-17T15:12:10.000Z | // Copyright 2016-2021 Doug Moen
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#include <libcurv/program.h>
#include <libcurv/analyser.h>
#include <libcurv/builtin.h>
#include <libcurv/context.h>
#include <libcurv/definition.h>
#inclu... | 24.859649 | 79 | 0.666196 | curv3d |
9eeb5a2ef550c476cc02eb2855487ed91a5cf6e8 | 2,391 | cpp | C++ | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 94 | 2015-01-18T09:40:36.000Z | 2022-03-02T21:14:55.000Z | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 72 | 2015-01-05T22:00:31.000Z | 2021-07-17T11:35:03.000Z | src/runtime/fnput/fnput_impl.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 27 | 2015-01-18T20:20:54.000Z | 2020-11-01T18:01:07.000Z | /*
* Copyright 2006-2008 The FLWOR Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 23.91 | 81 | 0.668758 | jsoniq |
9eef58a4eb99274a4f325f64f7f4d500fe773df8 | 13,202 | cpp | C++ | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrGame/ActorEffector.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 3 | 2020-06-26T11:41:44.000Z | 2021-09-29T19:35:04.000Z | #include "stdafx.h"
#include "PostprocessAnimator.h"
#include "../xrEngine/effectorPP.h"
#include "../xrEngine/ObjectAnimator.h"
#include "object_broker.h"
#include "Actor.h"
void GAME_API AddEffector(CActor* A, int type, const shared_str& sect_name)
{
bool bCyclic = false;
if (pSettings->line_exist(sect_name, "pp_... | 25.585271 | 176 | 0.722391 | Rikoshet-234 |
9ef0de28456ebc1de37f6154aaebdc16fc6e0add | 59,522 | cpp | C++ | Src/ime/PhoneKeyboard.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/ime/PhoneKeyboard.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/ime/PhoneKeyboard.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 34.445602 | 271 | 0.707453 | ericblade |
9ef12f1194d9b7fd6992a0f83ae2c1dda78d3b04 | 30,109 | cpp | C++ | src/Tableau.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 13 | 2019-11-28T16:33:10.000Z | 2021-12-10T12:03:35.000Z | src/Tableau.cpp | boennecd/causaloptim | b32016510e64ca4c688ff7df9fcf049404223630 | [
"MIT"
] | 8 | 2020-05-04T14:32:49.000Z | 2021-12-09T13:10:07.000Z | src/Tableau.cpp | boennecd/causaloptim | b32016510e64ca4c688ff7df9fcf049404223630 | [
"MIT"
] | 3 | 2020-04-22T23:18:06.000Z | 2020-12-10T09:32:05.000Z | //#include <afx.h>
#include <R.h>
//#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <math.h>
#include "MyUtils.h"
#include "Tableau.h"
#define AUG_COST -1000000.00
#define LEEWAY ((double) 0.00001)
#define LINE_LEN 1024
#define MAX_SOL 50.00
float SolFactor[3] = // Index... | 21.369056 | 82 | 0.565877 | gjo11 |
9ef6e673919e22248aea4048d92925eaef6af77d | 8,951 | hpp | C++ | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | original_periodic/src/discrete_function.hpp | four-spins/dissertation | 6a61b6d5b133c8839b7aa740784472c2beb5912e | [
"MIT"
] | null | null | null | /******************************************************************************
*
* @file: discrete_function.hpp
*
* @date: 12/06/2012 01:39:53 PM (CET)
*
* @author: Marco Müller <muelma@gmail.com>
*
******************************************************************************/
#pragma once
#include <vector>
... | 35.804 | 110 | 0.662272 | four-spins |
9ef70ccca3e23f25edaadde59f7b308c8c1c461b | 2,922 | cpp | C++ | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | 1 | 2020-10-12T19:32:33.000Z | 2020-10-12T19:32:33.000Z | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | null | null | null | src/wham/Simulation.cpp | seanmarks/wham | 3ffdfcd46d165836c236588c6444acc0cb01fa6b | [
"MIT"
] | 1 | 2020-10-15T19:02:21.000Z | 2020-10-15T19:02:21.000Z | #include "Simulation.h"
#include "OrderParameterRegistry.h"
Simulation::Simulation(
const std::string& data_set_label, const double t_min, const double t_max,
const double temperature, const bool use_floored_times,
const OrderParameterRegistry& op_registry
):
data_set_label_(data_set_label),
t_min_(t_min), t_ma... | 34.785714 | 112 | 0.714921 | seanmarks |
9ef7d2e7aa8de4f68131f4e7790c3bc8ed59b423 | 5,246 | cpp | C++ | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | 1 | 2019-10-08T03:55:46.000Z | 2019-10-08T03:55:46.000Z | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | null | null | null | software_embedded/squantorProgger/src/commands.cpp | Squantor/squantProgger | c3a7eecdb6fdb5d3aa717bf14bde615e73b0f236 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019 Bart Bilos
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, publish, dis... | 33.414013 | 112 | 0.705871 | Squantor |
9ef9ff178da35b4381c5aa73d9e92ef318162b3a | 776 | cpp | C++ | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 23 | 2015-12-11T20:06:57.000Z | 2021-01-15T18:59:58.000Z | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 2 | 2015-12-15T08:12:01.000Z | 2016-07-17T01:36:56.000Z | src/test/scalar/operators/nonsmooth_operators/operator_unary_not_test.cpp | stan-dev/nomad | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | [
"BSD-3-Clause"
] | 2 | 2017-10-13T17:40:34.000Z | 2021-03-08T19:17:51.000Z | #include <gtest/gtest.h>
#include <math.h>
#include <string>
#include <src/autodiff/base_functor.hpp>
#include <src/scalar/functions.hpp>
#include <src/scalar/operators.hpp>
#include <src/test/io_validation.hpp>
#include <src/test/finite_difference.hpp>
template <typename T>
class operator_unary_not_eval_func: publi... | 22.823529 | 67 | 0.699742 | stan-dev |
9efb6742f2eaca1021e1d86f2c7f977927373c63 | 4,080 | hpp | C++ | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | include/http/request.hpp | anand-gs/cplusplus | 97f9115df1920c811531b053fc8b9fc9b1ad2ed2 | [
"MIT"
] | null | null | null | /*
LICENSE: BEGIN
===============================================================================
@author Shan Anand
@email anand.gs@gmail.com
@source https://github.com/shan-anand
@brief HTTP library implementation in C++
===============================================================================
MIT License
Copy... | 31.145038 | 99 | 0.672059 | anand-gs |
7301b4da087636648f8729e62b532567a4f5d715 | 362 | cpp | C++ | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/mfc/codesnippet/CPP/clistbox-class_23.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Initialize the storage of the list box to be 256 strings with
// about 10 characters per string, performance improvement.
int n = m_myListBox.InitStorage(256, 16 * sizeof(TCHAR));
ASSERT(n != LB_ERRSPACE);
// Add 256 items to the list box.
CString str;
for (int i = 0; i < 256; i++)
{
str.Format(_T("item string %... | 27.846154 | 64 | 0.690608 | bobbrow |
7308e85e1bf6a7cae25f7e841e1503edfa31a09c | 16,180 | cpp | C++ | configuration/configurator/ConfiguratorAPI.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | configuration/configurator/ConfiguratorAPI.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 1 | 2018-03-01T18:15:12.000Z | 2018-03-01T18:15:12.000Z | configuration/configurator/ConfiguratorAPI.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2015 HPCC Systems®.
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... | 28.738899 | 145 | 0.686836 | miguelvazq |
730daedec1ae75a1acd8b2fbe243881225858d2f | 1,333 | cpp | C++ | Common_3/ThirdParty/OpenSource/meshoptimizer/src/allocator.cpp | Mercesa/The-Forge | 13d7604bde91f90188c9dcb480ea6e97f60f1645 | [
"Apache-2.0"
] | 1 | 2021-11-16T08:35:01.000Z | 2021-11-16T08:35:01.000Z | Common_3/ThirdParty/OpenSource/meshoptimizer/src/allocator.cpp | Mercesa/The-Forge | 13d7604bde91f90188c9dcb480ea6e97f60f1645 | [
"Apache-2.0"
] | null | null | null | Common_3/ThirdParty/OpenSource/meshoptimizer/src/allocator.cpp | Mercesa/The-Forge | 13d7604bde91f90188c9dcb480ea6e97f60f1645 | [
"Apache-2.0"
] | null | null | null | // This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
#include "../../../../OS/Interfaces/ILog.h"
#include "../../../../ThirdParty/OpenSource/ModifiedSonyMath/vectormath_settings.hpp"
#define MEM_MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN_ALLOC_ALI... | 26.137255 | 94 | 0.740435 | Mercesa |
730e961086ae68d929f9d93fd746fb8faee658fb | 18,430 | cpp | C++ | Classes/GameSceneEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 39 | 2016-05-07T06:39:54.000Z | 2021-04-13T15:00:52.000Z | Classes/GameSceneEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 8 | 2016-07-17T06:39:54.000Z | 2021-07-06T15:14:19.000Z | Classes/GameSceneEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 13 | 2016-03-11T11:46:19.000Z | 2018-08-10T16:34:33.000Z | #include "stdafx.h"
#include "GameSceneEx.h"
cocos2d::Scene* CGameSceneEx::CreateScene(const TGameSceneContext* pContext /*= nullptr*/)
{
auto scene = Scene::create();
auto layer = CGameSceneEx::create(pContext);
scene->addChild(layer);
scene->setTag(GAME_SCENE_TAG);
return scene;
}
cocos2d::LayerColor* CGameS... | 33.941068 | 144 | 0.741671 | lfeng1420 |
731157651556f53e1b0fd10738e263f79fd480aa | 4,159 | cc | C++ | tests/registrationbuilder_tests.cc | aghoward/cdif | 838bab6eb5c52f6cad47018860d37bb1d18c723f | [
"MIT"
] | 10 | 2017-06-24T12:54:48.000Z | 2020-02-17T07:58:33.000Z | tests/registrationbuilder_tests.cc | aghoward/cdif | 838bab6eb5c52f6cad47018860d37bb1d18c723f | [
"MIT"
] | 2 | 2018-01-26T19:01:03.000Z | 2018-03-15T23:34:20.000Z | tests/registrationbuilder_tests.cc | aghoward/cdif | 838bab6eb5c52f6cad47018860d37bb1d18c723f | [
"MIT"
] | null | null | null | #include "cdif.h"
#include "test_types.h"
#include <gtest/gtest.h>
#include <functional>
#include <string>
#include <thread>
class RegistrationBuilderTests : public ::testing::Test
{
protected:
cdif::Container _subject;
template <typename T>
void givenRegistrationReturningValue(T value, ... | 29.707143 | 111 | 0.716999 | aghoward |
73121d342e29deaab3ef11167a551b144578f7db | 3,475 | cpp | C++ | src/TableFunctions/TableFunctionS3.cpp | monadbobo/ClickHouse | 73b0f8db8c327a1d63cc7ebcc56087a3f9866dae | [
"Apache-2.0"
] | null | null | null | src/TableFunctions/TableFunctionS3.cpp | monadbobo/ClickHouse | 73b0f8db8c327a1d63cc7ebcc56087a3f9866dae | [
"Apache-2.0"
] | 1 | 2020-04-04T04:25:47.000Z | 2020-04-04T04:25:47.000Z | src/TableFunctions/TableFunctionS3.cpp | monadbobo/ClickHouse | 73b0f8db8c327a1d63cc7ebcc56087a3f9866dae | [
"Apache-2.0"
] | null | null | null | #include <Common/config.h>
#if USE_AWS_S3
#include <IO/S3Common.h>
#include <Storages/StorageS3.h>
#include <Access/AccessFlags.h>
#include <Interpreters/evaluateConstantExpression.h>
#include <Interpreters/Context.h>
#include <TableFunctions/TableFunctionFactory.h>
#include <TableFunctions/TableFunctionS3.h>
#includ... | 30.482456 | 173 | 0.688345 | monadbobo |
7314ebc2c980d79fa0bbb381775a016c107d5f95 | 1,004,280 | cpp | C++ | test/bidi_test_147.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_test_147.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_test_147.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
std::vector<int> expected_levels;
std::vector<int> expected_reordered_indices;
TEST(bidi, bidi_147_000)
{
expected_levels = { 1, 1, -1, -1 };
expected_re... | 32.966124 | 77 | 0.403859 | eightysquirrels |
731a636f01532dd8c90e3c135801e84941f53c85 | 1,833 | cpp | C++ | EZOJ/Contests/1046/A.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | EZOJ/Contests/1046/A.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | EZOJ/Contests/1046/A.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
#include <vector>
using namespace std;
typedef long long lint;
#define cout cerr
#define ni (next_num<int>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool flag=c=='-';
flag... | 18.148515 | 61 | 0.575559 | sshockwave |
731b64739268775e4a0cce56af12df7e76201772 | 4,979 | cc | C++ | src/AutoPilotPlugins/Common/SyslinkComponentController.cc | uav-operation-system/qgroundcontrol | c24029938e88d7a45a04f4e4e64bf588f595afed | [
"Apache-2.0"
] | 2,133 | 2015-01-04T03:10:22.000Z | 2022-03-31T01:51:07.000Z | src/AutoPilotPlugins/Common/SyslinkComponentController.cc | uav-operation-system/qgroundcontrol | c24029938e88d7a45a04f4e4e64bf588f595afed | [
"Apache-2.0"
] | 6,166 | 2015-01-02T18:47:42.000Z | 2022-03-31T03:44:10.000Z | src/AutoPilotPlugins/Common/SyslinkComponentController.cc | uav-operation-system/qgroundcontrol | c24029938e88d7a45a04f4e4e64bf588f595afed | [
"Apache-2.0"
] | 2,980 | 2015-01-01T03:09:18.000Z | 2022-03-31T04:13:55.000Z | /****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | 36.07971 | 112 | 0.573408 | uav-operation-system |
731d865dfa99b5897ff8777ef1c573abe68940d4 | 480 | hpp | C++ | qflow/system.hpp | johanere/qflow | 5453cd5c3230ad7f082adf9ec1aea63ab0a4312a | [
"MIT"
] | 5 | 2019-07-24T21:46:24.000Z | 2021-06-11T18:18:24.000Z | qflow/system.hpp | johanere/qflow | 5453cd5c3230ad7f082adf9ec1aea63ab0a4312a | [
"MIT"
] | 22 | 2019-02-19T10:49:26.000Z | 2019-07-18T09:42:13.000Z | qflow/system.hpp | bsamseth/FYS4411 | 72b879e7978364498c48fc855b5df676c205f211 | [
"MIT"
] | 2 | 2020-11-04T15:17:24.000Z | 2021-11-03T16:37:38.000Z | #pragma once
#include "definitions.hpp"
#include "vector.hpp"
#include <Eigen/Dense>
using System = Matrix;
namespace Distance
{
void init(const System&);
Real probe(const System&, int i, int j);
void invalidate_cache(int i);
// The plain, non-memoized euclidian norm.
// Fall back to this if not initialized, or wh... | 20 | 70 | 0.71875 | johanere |
732198936b16b5117cc7dcfd2dd2ace65dae8bc4 | 1,235 | cpp | C++ | src/expectation.cpp | xchrishawk/spookshow | 139910e97330a387213a504ae77c2f3dbcb06134 | [
"MIT"
] | null | null | null | src/expectation.cpp | xchrishawk/spookshow | 139910e97330a387213a504ae77c2f3dbcb06134 | [
"MIT"
] | null | null | null | src/expectation.cpp | xchrishawk/spookshow | 139910e97330a387213a504ae77c2f3dbcb06134 | [
"MIT"
] | null | null | null | /**
* @file expectation.cpp
* @author Chris Vig (chris@invictus.so)
* @date 2016/12/30
*/
/* -- Includes -- */
#include <sstream>
#include <string>
#include <spookshow/spookshow.hpp>
/* -- Namespaces -- */
using namespace spookshow;
/* -- Procedures -- */
expectation::expectation(const std::string& name, int... | 21.666667 | 95 | 0.610526 | xchrishawk |
732d7fb51c8b50ec5af805bb6831d3ce0aaf348a | 8,977 | hpp | C++ | Libraries/Zilch/Project/Zilch/Any.hpp | jodavis42/ZilchShaders | a161323165c54d2824fe184f5d540e0a008b4d59 | [
"MIT"
] | 1 | 2019-08-31T00:45:45.000Z | 2019-08-31T00:45:45.000Z | Libraries/Zilch/Project/Zilch/Any.hpp | jodavis42/ZilchShaders | a161323165c54d2824fe184f5d540e0a008b4d59 | [
"MIT"
] | 5 | 2020-04-13T00:17:11.000Z | 2021-04-20T23:11:42.000Z | Libraries/Zilch/Project/Zilch/Any.hpp | jodavis42/ZilchShaders | a161323165c54d2824fe184f5d540e0a008b4d59 | [
"MIT"
] | null | null | null | /**************************************************************\
* Author: Trevor Sundberg
* Copyright 2016, DigiPen Institute of Technology
\**************************************************************/
#pragma once
#ifndef ZILCH_ANY_HPP
#define ZILCH_ANY_HPP
namespace Zilch
{
// Returns an invalid type that is ... | 35.908 | 192 | 0.670046 | jodavis42 |
73310779d3c6123b480f17b97154b7eca5a24326 | 1,977 | cpp | C++ | spoj/classical/is_it_a_tree.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | spoj/classical/is_it_a_tree.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | spoj/classical/is_it_a_tree.cpp | Rkhoiwal/Competitive-prog-Archive | 18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
class UnionFind
{
public:
UnionFind(unsigned int items):
components(items),
parents(items),
ranks(items)
{
for (unsigne... | 16.754237 | 59 | 0.486596 | Rkhoiwal |
7331bc71b35fc7565e2f49b2c05132709eab4e38 | 237 | hpp | C++ | sdk/procmonsdk/logger.hpp | Syr0/openprocmon | 2a4b7b9f5da97215fcb59354a2951a62a3aa41a7 | [
"MIT"
] | 90 | 2020-07-28T06:44:56.000Z | 2022-03-10T03:59:33.000Z | sdk/procmonsdk/logger.hpp | L4ys/openprocmon | 44fb542922f31f9548739dc81d7a7269a564ea41 | [
"MIT"
] | 4 | 2021-02-24T09:13:27.000Z | 2022-01-18T08:44:52.000Z | sdk/procmonsdk/logger.hpp | L4ys/openprocmon | 44fb542922f31f9548739dc81d7a7269a564ea41 | [
"MIT"
] | 27 | 2020-07-28T06:49:22.000Z | 2022-02-14T05:09:56.000Z | #pragma once
#include <windows.h>
typedef enum { L_DEBUG, L_INFO, L_WARN, L_ERROR } LEVEL, *PLEVEL;
//
// A quick logging routine for debug messages.
//
#define MAX_LOG_MESSAGE 1024
BOOL LogMessage(LEVEL Level, LPCTSTR Format, ...); | 18.230769 | 65 | 0.721519 | Syr0 |
7332011fd8ef0f0410b36e59d441bb91b8c0ed3b | 4,415 | cc | C++ | src/sst/core/cfgoutput/dotConfigOutput.cc | gvoskuilen/sst-core | 6fe68d7b2a0b306d78ca39e7a4a822f1582ca86e | [
"BSD-3-Clause"
] | null | null | null | src/sst/core/cfgoutput/dotConfigOutput.cc | gvoskuilen/sst-core | 6fe68d7b2a0b306d78ca39e7a4a822f1582ca86e | [
"BSD-3-Clause"
] | 10 | 2020-04-24T15:24:14.000Z | 2020-11-07T20:41:07.000Z | src/sst/core/cfgoutput/dotConfigOutput.cc | gvoskuilen/sst-core | 6fe68d7b2a0b306d78ca39e7a4a822f1582ca86e | [
"BSD-3-Clause"
] | 2 | 2021-08-17T19:36:15.000Z | 2021-08-19T13:38:14.000Z | // Copyright 2009-2020 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2020, NTESS
// All rights reserved.
//
// This file is part of the SST software package. For license
// information, see the LICENSE file in the ... | 36.487603 | 120 | 0.577576 | gvoskuilen |
73394a30c9d65051b6f05a321260f387a2f93fcb | 316 | cc | C++ | python/src/main.cc | jareddk/triton | ea03d6207728315312d9cb6fa014f6a394b79c71 | [
"MIT"
] | null | null | null | python/src/main.cc | jareddk/triton | ea03d6207728315312d9cb6fa014f6a394b79c71 | [
"MIT"
] | null | null | null | python/src/main.cc | jareddk/triton | ea03d6207728315312d9cb6fa014f6a394b79c71 | [
"MIT"
] | null | null | null | #include <pybind11/pybind11.h>
void init_superblocking(pybind11::module &m);
void init_torch_utils(pybind11::module &m);
void init_triton(pybind11::module &m);
PYBIND11_MODULE(libtriton, m) {
m.doc() = "Python bindings to the C++ Triton API";
init_triton(m);
init_torch_utils(m);
init_superblocking(m);
}
| 24.307692 | 52 | 0.734177 | jareddk |
733a9d52bd96985bf4be21d4aaa0a2d18e70ffa9 | 4,835 | hpp | C++ | Testbed/Tests/Tiles.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 32 | 2016-10-20T05:55:04.000Z | 2021-11-25T16:34:41.000Z | Testbed/Tests/Tiles.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 50 | 2017-01-07T21:40:16.000Z | 2018-01-31T10:04:05.000Z | Testbed/Tests/Tiles.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 7 | 2017-02-09T10:02:02.000Z | 2020-07-23T22:49:04.000Z | /*
* Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
* Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/Box2D
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising ... | 31.601307 | 91 | 0.543123 | louis-langholtz |
733bc8cee3fc21b6dd27ea32daf1a64358b6eb66 | 23,145 | cpp | C++ | Pod/Classes/algorithms/extractor/lowlevelspectralextractor.cpp | jbloit/iosEssentia | 785ba29e8178942b396575dd3872bdf3d5d63cd5 | [
"MIT"
] | null | null | null | Pod/Classes/algorithms/extractor/lowlevelspectralextractor.cpp | jbloit/iosEssentia | 785ba29e8178942b396575dd3872bdf3d5d63cd5 | [
"MIT"
] | null | null | null | Pod/Classes/algorithms/extractor/lowlevelspectralextractor.cpp | jbloit/iosEssentia | 785ba29e8178942b396575dd3872bdf3d5d63cd5 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia 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 (FSF), either version... | 57.574627 | 207 | 0.710002 | jbloit |
734069140143a9873c0f3f6ae8b77658fbe7345c | 1,414 | cpp | C++ | lintcode/strstr.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | lintcode/strstr.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | lintcode/strstr.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int BASE = 1000000;
/**
* @param source:
* @param target:
* @return: return the index
*/
int strStr(string &source, string &target) {
// Write your code here
int tLength = target.size();
if (tLength == 0) {
return 0;
... | 26.185185 | 75 | 0.37553 | Broadroad |
73426bc70010195b7165a0466a2d9fe8a2ac35d9 | 2,031 | hpp | C++ | src/limonp/CastFloat.hpp | ultimate010/cppjieba | ada3f5cf76d1f99570d92bc38d5e42a573839a88 | [
"MIT"
] | 2 | 2015-10-25T17:41:22.000Z | 2015-10-28T08:46:12.000Z | Jieba/src/limonp/CastFloat.hpp | sakamoto-poteko/neko | 642cbc59e1c1241a835f8d9c2590c1935a9e321b | [
"MIT",
"Unlicense"
] | null | null | null | Jieba/src/limonp/CastFloat.hpp | sakamoto-poteko/neko | 642cbc59e1c1241a835f8d9c2590c1935a9e321b | [
"MIT",
"Unlicense"
] | null | null | null | #ifndef LIMONP_CAST_FUNCTS_H
#define LIMONP_CAST_FUNCTS_H
namespace limonp {
namespace CastFloat {
//logical and or
static const int sign_32 = 0xC0000000;
static const int exponent_32 = 0x07800000;
static const int mantissa_32 = 0x007FE000;
static const int sign_exponent_32 = 0x40000000;
static const int loss_32 = 0x3... | 24.46988 | 71 | 0.66519 | ultimate010 |
734492a91e88681108a94ec80c3213c341e6f064 | 4,887 | cpp | C++ | cocos2d/cocos/editor-support/spine/spine-cocos2dx.cpp | davidyuan/WagonWar | a52211c0e5490dffaacfa1c722d321d969ae612c | [
"MIT"
] | 174 | 2015-01-01T15:12:53.000Z | 2022-03-23T03:06:07.000Z | cocos2d/cocos/editor-support/spine/spine-cocos2dx.cpp | davidyuan/WagonWar | a52211c0e5490dffaacfa1c722d321d969ae612c | [
"MIT"
] | 2 | 2015-05-20T14:34:48.000Z | 2019-08-14T00:54:40.000Z | cocos2d/cocos/editor-support/spine/spine-cocos2dx.cpp | davidyuan/WagonWar | a52211c0e5490dffaacfa1c722d321d969ae612c | [
"MIT"
] | 103 | 2015-01-10T13:34:24.000Z | 2022-01-10T00:55:33.000Z | /******************************************************************************
* Spine Runtime Software License - Version 1.1
*
* Copyright (c) 2013, Esoteric Software
* All rights reserved.
*
* Redistribution and use in source and binary forms in whole or in part, with
* or without modification, are permitte... | 39.096 | 126 | 0.683855 | davidyuan |
7346fb41b297d5a0520770ad4d0fcc0e746e143e | 5,897 | cpp | C++ | corelib/src/OdometryICP.cpp | redater/PAM-BATR | 3fc8f95972ec13963a53c5448921b59df80a8c8b | [
"BSD-3-Clause"
] | 1 | 2017-05-25T20:41:33.000Z | 2017-05-25T20:41:33.000Z | corelib/src/OdometryICP.cpp | redater/PAM-BATR | 3fc8f95972ec13963a53c5448921b59df80a8c8b | [
"BSD-3-Clause"
] | null | null | null | corelib/src/OdometryICP.cpp | redater/PAM-BATR | 3fc8f95972ec13963a53c5448921b59df80a8c8b | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2014, 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
... | 30.713542 | 155 | 0.716636 | redater |
734850c46ab274fe820c5910550cbfbf2dd11176 | 4,082 | hpp | C++ | source/pattern/Map.hpp | Superone77/PMPP-Compositional-GPU | e1f5a24563572604880a73db55757363cd3c5b3c | [
"CECILL-B"
] | 1 | 2022-02-13T13:14:08.000Z | 2022-02-13T13:14:08.000Z | source/pattern/Map.hpp | Superone77/PMPP-Compositional-GPU | e1f5a24563572604880a73db55757363cd3c5b3c | [
"CECILL-B"
] | null | null | null | source/pattern/Map.hpp | Superone77/PMPP-Compositional-GPU | e1f5a24563572604880a73db55757363cd3c5b3c | [
"CECILL-B"
] | null | null | null | #pragma once
#include "../Commons.hpp"
#include "../interfaces/PatternInterface.hpp"
#include "../interfaces/ThreadSafeQueue.hpp"
#include "../interfaces/Executor.hpp"
#include "../interfaces/LoadBalancer.hpp"
#include <cassert>
#include <future>
#include <thread>
#include <vector>
template<typename T_input, typena... | 23.45977 | 172 | 0.66291 | Superone77 |
734a4641678a890b978562fb5146e6b52dbbfe72 | 1,505 | cpp | C++ | apps/scheduler/client/assfire/scheduler/RemoteWaybillSchedulingAlgorithm.cpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/scheduler/client/assfire/scheduler/RemoteWaybillSchedulingAlgorithm.cpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | apps/scheduler/client/assfire/scheduler/RemoteWaybillSchedulingAlgorithm.cpp | Eaglegor/assfire-suite | 6c8140e848932b6ce22b6addd07a93abba652c01 | [
"MIT"
] | null | null | null | #include "RemoteWaybillSchedulingAlgorithm.hpp"
#include "assfire/api/v1/scheduler/translators/Translators.hpp"
#include "assfire/api/v1/router/translators/Translators.hpp"
using namespace assfire::scheduler;
using namespace assfire::api::v1::scheduler;
RemoteWaybillSchedulingAlgorithm::RemoteWaybillSchedulingAlgorit... | 51.896552 | 196 | 0.780066 | Eaglegor |
734a5413924f3b88dfeea748e2162f43cbbf7a73 | 503 | cpp | C++ | 3-Behavioral/14.Command/src/Command/Factory/DivideFactory.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 21 | 2017-11-08T11:32:48.000Z | 2021-03-29T08:58:04.000Z | 3-Behavioral/14.Command/src/Command/Factory/DivideFactory.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | null | null | null | 3-Behavioral/14.Command/src/Command/Factory/DivideFactory.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 8 | 2017-11-26T13:57:50.000Z | 2021-08-23T06:52:57.000Z | #include "Command/Factory/DivideFactory.h"
namespace GoF {
namespace Command {
namespace Factory {
Command * DivideFactory::createCommand(double _operand, double _operator)
{
return new Divide(this->createReceiver(_operand, _operator));
}
... | 20.958333 | 87 | 0.574553 | gfa99 |
734bf82529614ce4230de06837fae7e75d94dad3 | 5,460 | cpp | C++ | src/extralibs/sdl_draw/src/draw_line.cpp | SamuraiCrow/protrekkr | 4bf6f52635ac722e7a9370dacfbc8807a4043c4a | [
"BSD-3-Clause"
] | 22 | 2018-02-13T12:29:23.000Z | 2022-02-21T16:18:15.000Z | src/extralibs/sdl_draw/src/draw_line.cpp | PaulBatchelor/protrekkr | 0f93032913bf111b0721901691dd351a165c3d61 | [
"BSD-2-Clause"
] | 5 | 2018-02-13T13:43:55.000Z | 2021-12-14T07:55:07.000Z | src/extralibs/sdl_draw/src/draw_line.cpp | hitchhikr/protrekkr | d14b83f1a2570ea31deced97972839b621710c9e | [
"BSD-3-Clause"
] | 5 | 2019-05-02T13:07:28.000Z | 2022-01-07T17:51:37.000Z | /*!
\file Draw_Line.c
\author Mario Palomo <mpalomo@ihman.com>
\author Jose M. de la Huerga Fern�ndez
\author Pepe Gonz�lez Mora
\date 05-2002
Based in Kenny Hoff sourcer.
*/
/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
... | 35.225806 | 119 | 0.621062 | SamuraiCrow |
734ce4bd9eaaac6d65d346567b122ea6fce575f4 | 4,897 | cpp | C++ | src/goto-diff/goto_diff_base.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | src/goto-diff/goto_diff_base.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | src/goto-diff/goto_diff_base.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: GOTO-DIFF Base Class
Author: Peter Schrammel
\*******************************************************************/
/// \file
/// GOTO-DIFF Base Class
#include "goto_diff.h"
#include <util/json_expr.h>
#include <util/options.h>
#include... | 30.798742 | 78 | 0.687768 | DamonLiuTHU |
734eb180fcc67783c5a416b81f6120750a9dc422 | 12,088 | cpp | C++ | win32/VandaEngine1/GraphicsEngine/ActionsAPI.cpp | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | 12 | 2021-06-22T11:28:12.000Z | 2022-03-21T00:56:33.000Z | win32/VandaEngine1/GraphicsEngine/ActionsAPI.cpp | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | null | null | null | win32/VandaEngine1/GraphicsEngine/ActionsAPI.cpp | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | 1 | 2018-10-05T08:17:29.000Z | 2018-10-05T08:17:29.000Z | /// ActionsAPI.cpp
///
/// Copyright 1997-2007 by David K. McAllister
/// http://www.ParticleSystems.org
///
/// This file implements the action API calls by creating action class instances,
/// which are either executed or added to an action list.
#include "stdafx.h"
#include "pAPI.h"
#include "PInternalState.h"
name... | 24.51927 | 162 | 0.669838 | ehsankamrani |
73572cf8f43a6a762ad86c09396af4ce7b8ed709 | 29,831 | cpp | C++ | src/signalrclient/connection_impl.cpp | tonerdo/SignalR-Client-Cpp | ea4ad5b0a50a7483aec4b4dcfd316c635ccdfdfd | [
"MIT"
] | null | null | null | src/signalrclient/connection_impl.cpp | tonerdo/SignalR-Client-Cpp | ea4ad5b0a50a7483aec4b4dcfd316c635ccdfdfd | [
"MIT"
] | null | null | null | src/signalrclient/connection_impl.cpp | tonerdo/SignalR-Client-Cpp | ea4ad5b0a50a7483aec4b4dcfd316c635ccdfdfd | [
"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.
#include "stdafx.h"
#include <thread>
#include <algorithm>
#include "constants.h"
#include "connection_impl.h"
#incl... | 39.511258 | 185 | 0.554457 | tonerdo |
735739922baebe75d65a9e4911c708981faf4497 | 1,569 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_BrainSlugShoulderVisualCient_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_BrainSlugShoulderVisualCient_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_BrainSlugShoulderVisualCient_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_BrainSlugShoulderVisualCient_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------... | 34.866667 | 208 | 0.656469 | 2bite |
735a91fc08d33d73a2499cfb32fdf0824c242084 | 6,059 | cpp | C++ | tests/test_buffer.cpp | ximenpo/simple-cpp | 0779674dbea5cd8f4081140cad90edeaa31da7c8 | [
"MIT"
] | 2 | 2015-04-10T04:07:24.000Z | 2015-10-21T07:13:11.000Z | tests/test_buffer.cpp | ximenpo/simple_cpp | 0779674dbea5cd8f4081140cad90edeaa31da7c8 | [
"MIT"
] | 1 | 2015-04-18T02:31:22.000Z | 2015-04-21T20:21:02.000Z | tests/test_buffer.cpp | ximenpo/simple_cpp | 0779674dbea5cd8f4081140cad90edeaa31da7c8 | [
"MIT"
] | null | null | null | #include "simple/igloo.h"
using namespace igloo;
#include <map>
#include <set>
#include <list>
#include <deque>
#include <vector>
#include "simple/buffer.h"
struct testBufferMsg1 {
enum {ID = 1};
int n;
std::string s;
};
buffer& operator>>(buffer& buf, testBufferMsg1& obj) {
uintmax_t size;
... | 23.484496 | 88 | 0.474006 | ximenpo |
735b8df02e43154b2ba8d201d130aaeca3d79db3 | 2,036 | cpp | C++ | src/llvmir2hll/ir/unary_op_expr.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | src/llvmir2hll/ir/unary_op_expr.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | src/llvmir2hll/ir/unary_op_expr.cpp | Andrik-555/retdec | 1ac63a520da02912daf836b924f41d95b1b5fa10 | [
"MIT",
"BSD-3-Clause"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /**
* @file src/llvmir2hll/ir/unary_op_expr.cpp
* @brief Implementation of UnaryOpExpr.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "retdec/llvmir2hll/ir/unary_op_expr.h"
#include "retdec/llvmir2hll/support/debug.h"
namespace retdec {
namespace llvmir2hll {
/**
* @brief Construct... | 21.208333 | 81 | 0.711198 | Andrik-555 |
735cc339feadfdb26e310462205e801aa6cf08f4 | 943 | hpp | C++ | include/mizuiro/color/format/homogenous_dynamic_ns/tag_of.hpp | cpreh/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | 1 | 2015-08-22T04:19:39.000Z | 2015-08-22T04:19:39.000Z | include/mizuiro/color/format/homogenous_dynamic_ns/tag_of.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | include/mizuiro/color/format/homogenous_dynamic_ns/tag_of.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef MIZUIRO_COLOR_FORMAT_HOMOGENOUS_DYNAMIC_NS_TAG_OF_HPP_INCLUDED
#define MIZUIRO_COLOR_FORMAT... | 34.925926 | 91 | 0.78685 | cpreh |
735d2a1d595e33ce6a12e792ba751952e6ec9ab9 | 120,271 | hpp | C++ | zeccup/zeccup/military/desert/construction.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2016-08-29T09:23:49.000Z | 2019-06-13T20:29:28.000Z | zeccup/zeccup/military/desert/construction.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | zeccup/zeccup/military/desert/construction.hpp | LISTINGS09/ZECCUP | e0ad1fae580dde6e5d90903b1295fecc41684f63 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | class ConstructionLarge
{
name = $STR_ZECCUP_ConstructionLarge;
// EAST
class LightFactory_CUP_O_TK {
name = $STR_ZECCUP_MilitaryDesert_ConstructionLarge_LightFactory_CUP_O_TK; // Credit: 2600K
icon = "\ca\data\flag_rus_co.paa";
side = 8;
class Object0 {side = 8; vehicle = "Land_tent_eas... | 111.88 | 139 | 0.617597 | LISTINGS09 |
7360de20d55505eeb7792ff907993656516448fd | 810 | hpp | C++ | src/mesh/meshSetup.hpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | src/mesh/meshSetup.hpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | src/mesh/meshSetup.hpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | #if !defined(nekrs_meshsetup_hpp_)
#define nekrs_meshsetup_hpp_
#include "nrs.hpp"
mesh_t* createMeshDummy(MPI_Comm comm,
int N,
int cubN,
setupAide &options,
occa::device device,
occa::properties &k... | 28.928571 | 54 | 0.455556 | roystgnr |
73618c5ca41ce308cb5d7dfecd62df237fbd6307 | 631 | cpp | C++ | atcoder/abc096/D.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | 1 | 2019-08-03T13:42:16.000Z | 2019-08-03T13:42:16.000Z | atcoder/abc096/D.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | atcoder/abc096/D.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int maxn = 55555;
int main() {
int n;
cin >> n;
vector<bool> primes(maxn, true);
for (int i = 2; i < maxn; ++i) {
if (primes[i]) {
for (int j = i + i; j < maxn; j += i) {
primes[j] = false;
}
}
... | 20.354839 | 51 | 0.37401 | SashiRin |
736288df4279cc9a5bb7d7918ae3bb03915977d9 | 4,306 | cpp | C++ | SimulationTest/gpuTests/CollisionTestGpu.cpp | KevinMcGin/Simulation | f1dbed05d6024274f6a69e0679f529feaae1e26e | [
"MIT"
] | 4 | 2021-12-11T17:59:07.000Z | 2021-12-24T11:08:55.000Z | SimulationTest/gpuTests/CollisionTestGpu.cpp | KevinMcGin/Simulation | f1dbed05d6024274f6a69e0679f529feaae1e26e | [
"MIT"
] | 121 | 2021-12-11T09:20:47.000Z | 2022-03-13T18:36:48.000Z | SimulationTest/gpuTests/CollisionTestGpu.cpp | KevinMcGin/Simulation | f1dbed05d6024274f6a69e0679f529feaae1e26e | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "law/collision/Collision.h"
#include "law/collision/detector/CollisionDetectorSimple.cuh"
#include "law/collision/resolver/CollisionResolverCoalesce.cuh"
#include "LawHelper.h"
#include "CollisionTestHelper.h"
TEST(CollisionTest, ParticlesCollideGpu) {
auto law = std::make_shared<Co... | 44.391753 | 138 | 0.774268 | KevinMcGin |
736877c8b40a7cdb42de867111f7b7484a4c1df6 | 357 | cpp | C++ | 2.1 Pointer/array.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | 2.1 Pointer/array.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | 2.1 Pointer/array.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
//Pointer declaration
int *p;
//Array declaration
int arr[]={1, 2, 3, 4, 5, 6};
//Assignment
p = arr;
for(int i=0; i<6;i++){
cout<<*p<<endl;
// cout<<sizeof(p)<<endl;
//++ moves the pointer to next int position... | 14.875 | 51 | 0.498599 | arryaaas |
736a350791245f317f077731db992826be4c9aa1 | 6,502 | cpp | C++ | FMU/Source/Model_ExternalShading.cpp | kwabenantim/No-MASS | 843ccaa461923e227a8e854daaa6952d14cb8bed | [
"MIT"
] | null | null | null | FMU/Source/Model_ExternalShading.cpp | kwabenantim/No-MASS | 843ccaa461923e227a8e854daaa6952d14cb8bed | [
"MIT"
] | 1 | 2020-08-28T18:11:26.000Z | 2020-08-28T18:11:26.000Z | FMU/Source/Model_ExternalShading.cpp | kwabenantim/No-MASS | 843ccaa461923e227a8e854daaa6952d14cb8bed | [
"MIT"
] | 2 | 2020-02-05T10:49:42.000Z | 2020-08-28T08:23:28.000Z | // Copyright 2015 Jacob Chapman
#include <cmath>
#include <algorithm>
#include "Utility.hpp"
#include "Model_ExternalShading.hpp"
Model_ExternalShading::Model_ExternalShading() {
a01arr = -7.41;
b01inarr = 0.001035;
b01sarr = 2.17;
// Probability of raising on arrival
a10arr = -1.520;
b10inarr = -0.000654... | 30.961905 | 80 | 0.665488 | kwabenantim |
736dc38180ef41f17243d9ce252f186d6be1eafc | 656 | h++ | C++ | clauses/select_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 4 | 2018-03-03T13:45:35.000Z | 2021-05-22T12:11:08.000Z | clauses/select_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 1 | 2018-03-03T13:49:40.000Z | 2019-01-22T07:58:47.000Z | clauses/select_clause.h++ | snawaz/tagsql | 1b6d6c9eb9aa2d01ff3276414d714f3b6e6a9ee3 | [
"MIT"
] | 1 | 2018-03-03T13:45:36.000Z | 2018-03-03T13:45:36.000Z |
#pragma once
#include <memory>
#include <pqxx/pqxx>
#include <tagsql/anatomy/table.h++>
namespace tagsql
{
template<typename SelectQuery>
class composite_table;
template<typename SelectQuery>
class select_clause
{
public:
select_clause(std::shared_ptr<pqxx::connection> & connection) : _connect... | 21.16129 | 105 | 0.705793 | snawaz |
737448c247448c9b272305bbc67b3dde1ebbe09c | 7,037 | cpp | C++ | src/modeler/UpdateRulesHandler/update_rules_editor.cpp | rff255/Genesis | d87ff57e2c36f39bf62b4953f5f99190e82588f8 | [
"MIT"
] | 7 | 2017-08-08T17:10:58.000Z | 2020-10-02T04:33:03.000Z | src/modeler/UpdateRulesHandler/update_rules_editor.cpp | rff255/Genesis | d87ff57e2c36f39bf62b4953f5f99190e82588f8 | [
"MIT"
] | 1 | 2017-05-02T01:50:22.000Z | 2017-05-02T01:50:22.000Z | src/modeler/UpdateRulesHandler/update_rules_editor.cpp | rff255/Genesis | d87ff57e2c36f39bf62b4953f5f99190e82588f8 | [
"MIT"
] | 3 | 2017-09-01T08:04:44.000Z | 2020-08-21T01:38:24.000Z | #include "update_rules_editor.h"
#include "nodes_editor/imguinodegrapheditor.h"
#include "UpdateRulesHandler/node_graph_instance.h"
#include "JSON_nlohmann/json.hpp"
#include <vector>
#include <string>
using json = nlohmann::json;
UpdateRulesEditor::UpdateRulesEditor(){
mEditor = ImGui::NodeGraphEditor();
mEdit... | 38.453552 | 155 | 0.68623 | rff255 |
73748955ce3f0f2a433ed54e4ef630ed4017c670 | 10,852 | hh | C++ | EnergyPlus/PoweredInductionUnits.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | EnergyPlus/PoweredInductionUnits.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | 1 | 2020-07-08T13:32:09.000Z | 2020-07-08T13:32:09.000Z | EnergyPlus/PoweredInductionUnits.hh | yurigabrich/EnergyPlusShadow | 396ca83aa82b842e6b177ba35c91b3f481dfbbf9 | [
"BSD-3-Clause"
] | null | null | null | // EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois,
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
// National Laboratory, managed by UT-Batt... | 50.948357 | 149 | 0.670015 | yurigabrich |
737916aa21b542adcc8c48d41953b70d67589cfb | 499 | cpp | C++ | test/doc/all_of.cpp | jfalcou/kumi | 09116696274bd38254d89636ea3d0d4b5eb43103 | [
"MIT"
] | 14 | 2021-11-20T15:21:08.000Z | 2022-03-14T21:47:22.000Z | test/doc/all_of.cpp | jfalcou/kumi | 09116696274bd38254d89636ea3d0d4b5eb43103 | [
"MIT"
] | 6 | 2021-11-27T17:50:48.000Z | 2022-02-01T18:17:38.000Z | test/doc/all_of.cpp | jfalcou/kumi | 09116696274bd38254d89636ea3d0d4b5eb43103 | [
"MIT"
] | 1 | 2022-02-21T23:06:03.000Z | 2022-02-21T23:06:03.000Z | //==================================================================================================
/*
KUMI - Compact Tuple Tools
Copyright : KUMI Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#inclu... | 31.1875 | 100 | 0.368737 | jfalcou |
737be9cd1d1475cf0bcf3826189369c0bf03ac8f | 2,091 | cpp | C++ | Sample/Sample/CustomFilter.cpp | timtianyang/PCL_region_growing | b138d257ca836bdd4d960014944d4991bfa12e79 | [
"MIT"
] | null | null | null | Sample/Sample/CustomFilter.cpp | timtianyang/PCL_region_growing | b138d257ca836bdd4d960014944d4991bfa12e79 | [
"MIT"
] | null | null | null | Sample/Sample/CustomFilter.cpp | timtianyang/PCL_region_growing | b138d257ca836bdd4d960014944d4991bfa12e79 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "CustomFilter.h"
/*
CustomFilter::CustomFilter(pcl::PointCloud<pcl::PointXYZRGB>::Ptr *input, double xmin, double xmax, double ymin, double ymax){
input_cloud_XYZRGB = input;
std::cout << xmin << xmax << ymin << ymax <<std::endl;
std::cout << "before filtering " << (*input)->points.si... | 37.339286 | 126 | 0.735533 | timtianyang |
737f32c7f1f444d613d4345d25985acd5d111aff | 1,277 | cpp | C++ | Driver/src/AlephManager.cpp | gganis/AlphappLite | e52a184c2d39a3acdd6ff09d1d61bcfca7807460 | [
"Apache-2.0"
] | null | null | null | Driver/src/AlephManager.cpp | gganis/AlphappLite | e52a184c2d39a3acdd6ff09d1d61bcfca7807460 | [
"Apache-2.0"
] | null | null | null | Driver/src/AlephManager.cpp | gganis/AlphappLite | e52a184c2d39a3acdd6ff09d1d61bcfca7807460 | [
"Apache-2.0"
] | null | null | null | //////////////////////////////////////////////////////
//
// Implementation of class AlephManager
//
// The Base Class for an AlephManager (IO, DB, EXE,...)
//
// Author : G. Dissertori , 02.11.98
//
//////////////////////////////////////////////////////
#include <string>
#include <iostream>
#include <fstream>
... | 14.678161 | 64 | 0.638215 | gganis |
7383b64784e5cd275669abc164dd5559126314d3 | 90 | cpp | C++ | src/examples/06_module/02_shapes/circle.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-boscojohn-ship | 7b050c896252bd7c32972728e4a0792bdf1f0fa0 | [
"MIT"
] | null | null | null | src/examples/06_module/02_shapes/circle.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-boscojohn-ship | 7b050c896252bd7c32972728e4a0792bdf1f0fa0 | [
"MIT"
] | null | null | null | src/examples/06_module/02_shapes/circle.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-boscojohn-ship | 7b050c896252bd7c32972728e4a0792bdf1f0fa0 | [
"MIT"
] | null | null | null | //circle.cpp
#include "circle.h"
void Circle::draw()
{
std::cout<<"draw circle\n";
}; | 12.857143 | 31 | 0.611111 | acc-cosc-1337-fall-2020 |
7387f9f8992e8b6c6a6aa4cc11eb4add18c8e617 | 3,159 | cpp | C++ | tests/test_depth_maps_pm.cpp | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | tests/test_depth_maps_pm.cpp | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | tests/test_depth_maps_pm.cpp | kpilyugin/PhotogrammetryTasks2021 | 7da69f04909075340a220a7021efeeb42283d9dc | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <opencv2/core.hpp>
#include <opencv2/opencv.hpp>
#include <fstream>
#include <libutils/timer.h>
#include <libutils/rasserts.h>
#include <libutils/string_utils.h>
#include <phg/utils/point_cloud_export.h>
#include <phg/utils/cameras_bundler_import.h>
#include <phg/mvs/depth_maps/pm_... | 41.565789 | 171 | 0.716682 | kpilyugin |
738c7f95937e3f405448f7d9b026ded9d81c9c0f | 25 | cc | C++ | physicalBox.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | 1 | 2016-10-16T21:19:21.000Z | 2016-10-16T21:19:21.000Z | physicalBox.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | physicalBox.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | #include "physicalBox.h"
| 12.5 | 24 | 0.76 | dfyzy |
738e715543f861d974c6fb8e827a5889e462391c | 7,577 | cpp | C++ | src/modules/events/temperature_calibration/gyro.cpp | mgkim3070/Drone_Firmware | 6843061ce5eb573424424598cf3bac33e037d4d0 | [
"BSD-3-Clause"
] | null | null | null | src/modules/events/temperature_calibration/gyro.cpp | mgkim3070/Drone_Firmware | 6843061ce5eb573424424598cf3bac33e037d4d0 | [
"BSD-3-Clause"
] | null | null | null | src/modules/events/temperature_calibration/gyro.cpp | mgkim3070/Drone_Firmware | 6843061ce5eb573424424598cf3bac33e037d4d0 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2017 PX4 Development Team. 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. ... | 35.078704 | 123 | 0.686287 | mgkim3070 |
7393c79c57121f10e1fa8e964b56e5a068e2892d | 2,926 | cpp | C++ | Src/Common/SceneControl/PointLightSceneNode.cpp | StavrosBizelis/NetworkDistributedDeferredShading | 07c03ce9b13bb5adb164cd4321b2bba284e49b4d | [
"MIT"
] | null | null | null | Src/Common/SceneControl/PointLightSceneNode.cpp | StavrosBizelis/NetworkDistributedDeferredShading | 07c03ce9b13bb5adb164cd4321b2bba284e49b4d | [
"MIT"
] | null | null | null | Src/Common/SceneControl/PointLightSceneNode.cpp | StavrosBizelis/NetworkDistributedDeferredShading | 07c03ce9b13bb5adb164cd4321b2bba284e49b4d | [
"MIT"
] | null | null | null | #include "Common/SceneControl/PointLightSceneNode.h"
#include <algorithm>
#include <iostream>
namespace SceneControl
{
PointLightSceneNode::PointLightSceneNode(SceneNode* a_parent, std::shared_ptr<ASphere> a_sphere )
: LightSceneNode(a_parent)
{
m_sphere = a_sphere;
}
PointLightSceneNode::~PointLightScen... | 26.36036 | 150 | 0.678742 | StavrosBizelis |
739491676802e865170067d53256855ed137f7fe | 44,364 | cpp | C++ | cocos2d/cocos/scripting/javascript/bindings/ScriptingCore.cpp | hiepns/OpenBird | 9e0198a1a2295f03fa1e8676e216e22c9c7d380b | [
"MIT"
] | 174 | 2015-01-01T15:12:53.000Z | 2022-03-23T03:06:07.000Z | cocos2d/cocos/scripting/javascript/bindings/ScriptingCore.cpp | shuaibin-lam/OpenBird | 762ab527a4a6bc7ede02ae6eb4f0702d21943f1b | [
"MIT"
] | 2 | 2015-05-20T14:34:48.000Z | 2019-08-14T00:54:40.000Z | cocos2d/cocos/scripting/javascript/bindings/ScriptingCore.cpp | shuaibin-lam/OpenBird | 762ab527a4a6bc7ede02ae6eb4f0702d21943f1b | [
"MIT"
] | 103 | 2015-01-10T13:34:24.000Z | 2022-01-10T00:55:33.000Z | //
// ScriptingCore.cpp
// testmonkey
//
// Created by Rolando Abarca on 3/14/12.
// Copyright (c) 2012 Zynga Inc. All rights reserved.
//
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <vector>
#include <map>
#include "ScriptingCore.h"
#include "jsdbga... | 29.225296 | 154 | 0.630128 | hiepns |
7397f201bc888d8a436aeb6e83868b36eec85a4f | 305 | hpp | C++ | library/ATF/$7A7EAA273238A7AEE4EBCB8D42B7FAA9.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/$7A7EAA273238A7AEE4EBCB8D42B7FAA9.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/$7A7EAA273238A7AEE4EBCB8D42B7FAA9.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
enum $7A7EAA273238A7AEE4EBCB8D42B7FAA9
{
combineslot_base = 0x0,
combineslot_max = 0x5,
};
END_ATF_NAMESPACE
| 21.785714 | 108 | 0.734426 | lemkova |
739dcd6701e5b595ac5bf68d0c537a9d7c46e90f | 10,785 | hpp | C++ | yolox_ros_cpp/yolox_cpp/include/yolox_cpp/core.hpp | HarvestX/YOLOX-ROS | f73bf6ab8f11ac0f720d4e5b3acc9737dfa44498 | [
"Apache-2.0"
] | 2 | 2022-02-21T09:56:42.000Z | 2022-02-22T00:38:41.000Z | yolox_ros_cpp/yolox_cpp/include/yolox_cpp/core.hpp | HarvestX/YOLOX-ROS | f73bf6ab8f11ac0f720d4e5b3acc9737dfa44498 | [
"Apache-2.0"
] | 5 | 2022-02-22T05:38:54.000Z | 2022-03-29T09:17:32.000Z | yolox_ros_cpp/yolox_cpp/include/yolox_cpp/core.hpp | HarvestX/YOLOX-ROS | f73bf6ab8f11ac0f720d4e5b3acc9737dfa44498 | [
"Apache-2.0"
] | null | null | null | #ifndef _YOLOX_CPP_CORE_HPP
#define _YOLOX_CPP_CORE_HPP
#include <opencv2/core/types.hpp>
namespace yolox_cpp{
/**
* @brief Define names based depends on Unicode path support
*/
#define tcout std::cout
#define file_name_t std::string
#define imread_t ... | 38.935018 | 212 | 0.418544 | HarvestX |
739e0781817325c9c53c2d1b9c20358752c73dc8 | 8,713 | cpp | C++ | packages/utility/system/test/tstSphericalDirectionalCoordinateConversionPolicy.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/utility/system/test/tstSphericalDirectionalCoordinateConversionPolicy.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/utility/system/test/tstSphericalDirectionalCoordinateConversionPolicy.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file tstSphericalDirectionalCoordinateConversionPolicy.cpp
//! \author Alex Robinson
//! \brief Spherical directional coordinate conversion policy unit tests
//!
//----------------------------------------------------------------... | 44.682051 | 89 | 0.596236 | bam241 |
73a02df7bd3f19fc1efb0e588c8be63205f76042 | 2,119 | cpp | C++ | extensions_loader.cpp | kevinfrei/neutralinojs | d6433ec105d102a25a011897fa1c0a45dce8aca3 | [
"WTFPL"
] | 1 | 2018-06-23T03:45:10.000Z | 2018-06-23T03:45:10.000Z | extensions_loader.cpp | kevinfrei/neutralinojs | d6433ec105d102a25a011897fa1c0a45dce8aca3 | [
"WTFPL"
] | null | null | null | extensions_loader.cpp | kevinfrei/neutralinojs | d6433ec105d102a25a011897fa1c0a45dce8aca3 | [
"WTFPL"
] | null | null | null | #include <string>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <regex>
#include <vector>
#include "extensions_loader.h"
#include "settings.h"
#include "helpers.h"
#include "auth/authbasic.h"
#include "api/os/os.h"
using namespace std;
using json = nlohmann::json;
namespace extensions {
vecto... | 27.881579 | 117 | 0.657857 | kevinfrei |
73a32a7eab079e8d8054f8741b4a29111e5c527e | 2,159 | hpp | C++ | Testbed/Tests/HalfPipe.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 32 | 2016-10-20T05:55:04.000Z | 2021-11-25T16:34:41.000Z | Testbed/Tests/HalfPipe.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 50 | 2017-01-07T21:40:16.000Z | 2018-01-31T10:04:05.000Z | Testbed/Tests/HalfPipe.hpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 7 | 2017-02-09T10:02:02.000Z | 2020-07-23T22:49:04.000Z | /*
* Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/Box2D
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this sof... | 39.981481 | 98 | 0.592867 | louis-langholtz |
73a3cc66a9df48306cf9b544108bedb734859e28 | 6,876 | cpp | C++ | test-rpg/src/Character.cpp | sps1112/test-rpg | 28b2acb4379695ad7e04401161ecca92cab9e3a6 | [
"MIT"
] | 2 | 2021-07-09T12:25:24.000Z | 2021-12-22T12:38:47.000Z | test-rpg/src/Character.cpp | sps1112/test-rpg | 28b2acb4379695ad7e04401161ecca92cab9e3a6 | [
"MIT"
] | null | null | null | test-rpg/src/Character.cpp | sps1112/test-rpg | 28b2acb4379695ad7e04401161ecca92cab9e3a6 | [
"MIT"
] | null | null | null | #include "Character.h"
namespace rpgText
{
Character::Character(std::string name_, int level, float str, float sta,
float inte, float agi, float luck)
{
name = name_;
BaseStats bs(str, sta, inte, agi, luck);
stats = Stats(bs, level);
cStats = stats;
... | 31.113122 | 100 | 0.557446 | sps1112 |
73a47a22080908680a30abee01a81c8c63776d50 | 2,243 | cpp | C++ | src/scripting/CameraScripting.cpp | ZaOniRinku/NeigeEngine | 8dfe06e428ec1751ba0b5003ccdf5162474f002b | [
"MIT"
] | 9 | 2020-10-06T11:17:07.000Z | 2022-03-29T20:28:07.000Z | src/scripting/CameraScripting.cpp | ZaOniRinku/NeigeEngine | 8dfe06e428ec1751ba0b5003ccdf5162474f002b | [
"MIT"
] | 1 | 2020-10-06T11:55:45.000Z | 2020-10-06T12:07:46.000Z | src/scripting/CameraScripting.cpp | ZaOniRinku/NeigeEngine | 8dfe06e428ec1751ba0b5003ccdf5162474f002b | [
"MIT"
] | null | null | null | #include "CameraScripting.h"
void CameraScripting::init() {
lua_register(L, "getMainCameraIndex", getMainCameraIndex);
lua_register(L, "setMainCameraIndex", setMainCameraIndex);
lua_register(L, "getMainCameraEntity", getMainCameraEntity);
lua_register(L, "getCameraCount", getCameraCount);
}
int CameraScr... | 24.380435 | 127 | 0.644226 | ZaOniRinku |
73ae11d09c48fe3a211b70bcb657f26912d2af0b | 780 | hpp | C++ | include/lol/def/LolCollectionsCollectionsTopChampionMasteries.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T11:14:55.000Z | 2020-07-22T11:14:55.000Z | include/lol/def/LolCollectionsCollectionsTopChampionMasteries.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | null | null | null | include/lol/def/LolCollectionsCollectionsTopChampionMasteries.hpp | Maufeat/LeagueAPI | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | [
"BSD-3-Clause"
] | 4 | 2018-12-01T22:48:21.000Z | 2020-07-22T11:14:56.000Z | #pragma once
#include "../base_def.hpp"
#include "LolCollectionsCollectionsChampionMastery.hpp"
namespace lol {
struct LolCollectionsCollectionsTopChampionMasteries {
uint64_t summonerId;
uint64_t score;
std::vector<LolCollectionsCollectionsChampionMastery> masteries;
};
inline void to_json(json& j... | 39 | 98 | 0.725641 | Maufeat |
73b20b0eb8bcfd36319ab1f750b27f5a1e3c8f30 | 12,275 | hpp | C++ | src/ropufu/format/mat4_header.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null | src/ropufu/format/mat4_header.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null | src/ropufu/format/mat4_header.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null |
#ifndef ROPUFU_AFTERMATH_FORMAT_MAT4_HEADER_HPP_INCLUDED
#define ROPUFU_AFTERMATH_FORMAT_MAT4_HEADER_HPP_INCLUDED
#include "../algebra/matrix.hpp"
#include <cstddef> // std::size_t
#include <cstdint> // std::int32_t
#include <fstream> // std::ifstream, std::ofstream
#include <ios> // std::ios_base::failure
#incl... | 47.211538 | 141 | 0.635682 | ropufu |
73b2de56a733c2aebe2a6c67cc40186136ea0917 | 1,425 | hpp | C++ | src/cpu/x64/brgemm/brgemm_amx.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 4 | 2019-02-01T11:16:59.000Z | 2020-04-27T17:27:06.000Z | src/cpu/x64/brgemm/brgemm_amx.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 1 | 2020-04-17T22:23:01.000Z | 2020-04-23T21:11:41.000Z | src/cpu/x64/brgemm/brgemm_amx.hpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 5 | 2019-02-08T07:36:01.000Z | 2021-07-14T07:58:50.000Z | /*******************************************************************************
* Copyright 2020 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.o... | 29.6875 | 80 | 0.657544 | IvanNovoselov |
73b3a4596cd78848524d1c62f38c0ef15d1fa680 | 14,544 | cpp | C++ | test/api/wallets.cpp | dated/cpp-client | 392ad9ad87004165651aee61feca1b0320b287f8 | [
"MIT"
] | 11 | 2018-10-23T15:06:01.000Z | 2021-11-17T08:02:24.000Z | test/api/wallets.cpp | dated/cpp-client | 392ad9ad87004165651aee61feca1b0320b287f8 | [
"MIT"
] | 160 | 2018-10-24T17:29:11.000Z | 2021-05-10T14:14:29.000Z | test/api/wallets.cpp | dated/cpp-client | 392ad9ad87004165651aee61feca1b0320b287f8 | [
"MIT"
] | 28 | 2018-10-19T10:05:30.000Z | 2020-11-23T23:31:40.000Z |
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include <arkClient.h>
#include "mocks/mock_api.h"
using testing::_;
using testing::Return;
namespace {
using namespace Ark::Client;
using namespace Ark::Client::api;
constexpr const char* tIp = "167.114.29.55";
constexpr const int tPort = 4003;
} // namespace
/*... | 33.981308 | 166 | 0.656216 | dated |
73b9eb40e4d41b656d279febf6f9387e66b4d3e2 | 3,735 | cpp | C++ | rocsolver/library/src/lapack/roclapack_potrf.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/lapack/roclapack_potrf.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/lapack/roclapack_potrf.cpp | leekillough/rocSOLVER | a0fa2af65be983dcec60081ed618b0642867aef0 | [
"BSD-2-Clause"
] | null | null | null | /* ************************************************************************
* Copyright 2019-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "roclapack_potrf.hpp"
template <typename S, typename T, typename U>
rocblas_status rocsolver_potrf_imp... | 36.262136 | 117 | 0.578849 | leekillough |
73bf6f8d6f2592fe2a09c64173e1b709630ed9ad | 18,066 | cpp | C++ | utils/errmsg/errmsg.cpp | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 1 | 2019-12-11T17:43:58.000Z | 2019-12-11T17:43:58.000Z | utils/errmsg/errmsg.cpp | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 2 | 2019-12-29T21:15:40.000Z | 2020-06-15T11:21:10.000Z | utils/errmsg/errmsg.cpp | kammerdienerb/flang | 8cc4a02b94713750f09fe6b756d33daced0b4a74 | [
"Apache-2.0"
] | 3 | 2019-12-21T06:35:35.000Z | 2020-06-07T23:18:58.000Z | /*
* Copyright (c) 2016-2018, NVIDIA CORPORATION. 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 ... | 31.918728 | 80 | 0.579154 | kammerdienerb |
73c20d2ab7b184acabd3485d0ca0ca8267bb8a70 | 2,751 | hpp | C++ | breeze/debugging/dump_expression.hpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | 1 | 2021-04-03T22:35:52.000Z | 2021-04-03T22:35:52.000Z | breeze/debugging/dump_expression.hpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | null | null | null | breeze/debugging/dump_expression.hpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T04:26:48.000Z | 2021-10-01T04:26:48.000Z | // ===========================================================================
// Copyright 2013 Gennaro Prota
//
// Licensed under the 3-Clause BSD License.
// (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or
// <https://opensource.org/licenses/BSD-3-C... | 45.85 | 78 | 0.455107 | gennaroprota |
73c2fd63df7c371a3d3378954583d8eb779433c2 | 10,153 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_RebarTest/cpp/MainFrm.cpp | sashang/docs-1 | 8399f7c62a5ed6031ee7c576503cc73c268c09bb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_RebarTest/cpp/MainFrm.cpp | sashang/docs-1 | 8399f7c62a5ed6031ee7c576503cc73c268c09bb | [
"CC-BY-4.0",
"MIT"
] | 15 | 2022-03-23T00:40:19.000Z | 2022-03-23T00:40:39.000Z | samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_RebarTest/cpp/MainFrm.cpp | sashang/docs-1 | 8399f7c62a5ed6031ee7c576503cc73c268c09bb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | 26.578534 | 97 | 0.751699 | sashang |
73c35c2ac358da87aa1b59edd3d1c2f9ce8d68f9 | 1,601 | cpp | C++ | src/trainerwrapper.cpp | roloza7/nn-test | 3400e6e065be68858c6ce692d349f3ddb8596033 | [
"MIT"
] | null | null | null | src/trainerwrapper.cpp | roloza7/nn-test | 3400e6e065be68858c6ce692d349f3ddb8596033 | [
"MIT"
] | null | null | null | src/trainerwrapper.cpp | roloza7/nn-test | 3400e6e065be68858c6ce692d349f3ddb8596033 | [
"MIT"
] | null | null | null | #include "trainerwrapper.h"
#ifdef TrainerWrapper
#undef TrainerWrapper
#endif
#ifndef TrainerWrapper_API
#define TrainerWrapper_API TrainerWrapper
#endif
TrainerWrapper_API::TrainerWrapper_API(int n_subjects, int network_size) {
pImpl = new TrainerWrapper_impl(n_subjects, network_size);
}
Trainer... | 26.245902 | 81 | 0.695815 | roloza7 |
73c4be390e11a7acd2aec5c9e208abbb026fa126 | 4,687 | cpp | C++ | VAIC_ISU_24/src/map.cpp | wpivex/vaic-v5-20_21 | ee3528ac0c2a0760ff7e15500a3160f297f889c7 | [
"MIT"
] | null | null | null | VAIC_ISU_24/src/map.cpp | wpivex/vaic-v5-20_21 | ee3528ac0c2a0760ff7e15500a3160f297f889c7 | [
"MIT"
] | null | null | null | VAIC_ISU_24/src/map.cpp | wpivex/vaic-v5-20_21 | ee3528ac0c2a0760ff7e15500a3160f297f889c7 | [
"MIT"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* */
/* Module: map.cpp */
/* Author: Jatin ... | 27.570588 | 100 | 0.550245 | wpivex |
73c803497dd0add1806b854d80e19b0e6e6afda1 | 216 | hpp | C++ | dynamic/wrappers/mesh/PottsElement3.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-02-04T16:10:53.000Z | 2021-07-01T08:03:16.000Z | dynamic/wrappers/mesh/PottsElement3.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-06-22T08:50:41.000Z | 2019-12-15T20:17:29.000Z | dynamic/wrappers/mesh/PottsElement3.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 3 | 2017-05-15T21:33:58.000Z | 2019-10-27T21:43:07.000Z | #ifndef PottsElement3_hpp__pyplusplus_wrapper
#define PottsElement3_hpp__pyplusplus_wrapper
namespace py = pybind11;
void register_PottsElement3_class(py::module &m);
#endif // PottsElement3_hpp__pyplusplus_wrapper
| 30.857143 | 49 | 0.87037 | jmsgrogan |
73c8b0cdf0697dc2df99d8caf25bec80359fc3e0 | 2,567 | cpp | C++ | tree/medium/173.BinarySearchTreeIterator.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | tree/medium/173.BinarySearchTreeIterator.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | tree/medium/173.BinarySearchTreeIterator.cpp | XiaotaoGuo/Leetcode-Solution-In-Cpp | 8e01e35c742a7afb0c8cdd228a6a5e564375434e | [
"Apache-2.0"
] | null | null | null | /*
* @lc app=leetcode id=173 lang=cpp
*
* [173] Binary Search Tree Iterator
*
* https://leetcode.com/problems/binary-search-tree-iterator/description/
*
* algorithms
* Medium (57.87%)
* Likes: 2998
* Dislikes: 285
* Total Accepted: 347.9K
* Total Submissions: 599.5K
* Testcase Example:
'["BSTIterato... | 23.990654 | 95 | 0.609661 | XiaotaoGuo |
73ca25d498b6dcf5c52c1a246fe269a47609b4af | 3,357 | cpp | C++ | src/PhyloAcc-GT/profile.cpp | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | src/PhyloAcc-GT/profile.cpp | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | src/PhyloAcc-GT/profile.cpp | gwct/PhyloAcc | 089162e2bce5a17b95d71add074bf51bccc8a266 | [
"MIT"
] | null | null | null | #include "profile.h"
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cstring>
#include <vector>
#include <map>
#include <cassert>
#include "utils.h"
using namespace std;
// load the phylogenetic profile
PhyloProf LoadPhyloProfiles(string profile_path, string ... | 27.975 | 107 | 0.563003 | gwct |
73ca3792a03420a375b91425d40f8015d5fd3bb8 | 2,922 | cpp | C++ | cpp/cpp/721. Accounts Merge.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | 3 | 2021-08-07T07:01:34.000Z | 2021-08-07T07:03:02.000Z | cpp/cpp/721. Accounts Merge.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | cpp/cpp/721. Accounts Merge.cpp | longwangjhu/LeetCode | a5c33e8d67e67aedcd439953d96ac7f443e2817b | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/accounts-merge/
// Given a list of accounts where each element accounts[i] is a list of strings,
// where the first element accounts[i][0] is a name, and the rest of the elements
// are emails representing emails of the account.
// Now, we would like to merge these accounts. Two accou... | 37.948052 | 81 | 0.562628 | longwangjhu |
73cb633f5fa1a764c122a608cc4757ef3cd2d568 | 2,001 | hpp | C++ | hpx/runtime/components/server/preprocessed/runtime_support_create_component_capabilities.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/components/server/preprocessed/runtime_support_create_component_capabilities.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/components/server/preprocessed/runtime_support_create_component_capabilities.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
// Copyright (c) 2012-2013 Thomas Heller
//
// 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)
#if !defined(HPX_PREPROCESSED_RUNTIME_COMPONENTS_SERVER_RUNTIME_SUPPORT_CREA... | 54.081081 | 106 | 0.86007 | andreasbuhr |
73cc4087180868f033aaa43bc7724e5ad04010e0 | 3,341 | cpp | C++ | AudioSynthesis/Audio/loop.cpp | eliasrm87/AudioSynthesisQt | feb05c74d85494300d0fca868a37015042ec74c8 | [
"Unlicense"
] | 1 | 2021-09-03T11:06:45.000Z | 2021-09-03T11:06:45.000Z | AudioSynthesis/Audio/loop.cpp | eliasrm87/AudioSynthesisQt | feb05c74d85494300d0fca868a37015042ec74c8 | [
"Unlicense"
] | null | null | null | AudioSynthesis/Audio/loop.cpp | eliasrm87/AudioSynthesisQt | feb05c74d85494300d0fca868a37015042ec74c8 | [
"Unlicense"
] | 2 | 2021-09-03T11:06:53.000Z | 2021-09-03T11:07:25.000Z | #include <QDebug>
#include <QJsonArray>
#include "loop.h"
Loop::Loop(QJsonObject *params, QObject *parent) :
Source("Loop", params, parent)
{
//Path
path_ = params_->value("path").toString("");
//Parts
QJsonArray parts = params_->value("parts").toArray();
foreach (QJsonValue part, parts) {
... | 21.280255 | 77 | 0.57408 | eliasrm87 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.