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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f6475358ea4f20ea6132cf0f3024214390efed3 | 35,038 | cpp | C++ | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | //************************************************************************
// *
// Copyright (C) 2004 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//**********************************************************... | 40.181193 | 152 | 0.74345 | yyr |
4f671ee6b7f0441b33f170e19d26423416e82475 | 15,036 | hpp | C++ | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | // Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#de... | 29.774257 | 187 | 0.64186 | JhonArroyo |
4f67aec09b687a25b9d124c18f425af17d41eb39 | 8,233 | hpp | C++ | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2002 2004 2006 Joel de Guzman
Copyright (c) 2004 Eric Niebler
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file... | 26.905229 | 109 | 0.604154 | AishwaryaDoosa |
4f67c83ad2ec31451a95d7a1f6300e2aef3a1be4 | 5,017 | cpp | C++ | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 664 | 2017-08-14T22:25:24.000Z | 2022-03-29T13:54:39.000Z | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 21 | 2018-11-05T22:03:20.000Z | 2022-03-25T15:04:59.000Z | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 65 | 2019-07-23T11:56:01.000Z | 2022-03-16T06:17:37.000Z | /*
Copyright (c) 2003-2017, Arvid Norberg
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 conditions and ... | 32.577922 | 109 | 0.662348 | adem4ik |
4f6807621b084880fd71a1172b9a6873733aa067 | 3,731 | hpp | C++ | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T10:25:40.000Z | 2022-03-22T10:25:40.000Z | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 13 | 2021-11-08T13:44:57.000Z | 2022-03-07T14:09:29.000Z | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 3 | 2021-11-10T07:09:05.000Z | 2022-03-02T12:07:52.000Z | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// Copyright (c) 2020-2021, deCODE Genetics
// This file may be used, modifie... | 30.333333 | 119 | 0.65532 | Irallia |
4f6b0e4eb05519c6036c5c4daeef080b4004a5bd | 2,695 | hpp | C++ | master/core/third/boost/container/scoped_allocator_fwd.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/container/scoped_allocator_fwd.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/container/scoped_allocator_fwd.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2011-2012. 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)
//
// See http://www.boost.org/libs/c... | 32.083333 | 95 | 0.724675 | importlib |
4f6b6ef94e3024d5eb2e7f6608890e06db804b5c | 10,397 | cpp | C++ | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | #include "core.h"
#include "profilerUI.h"
#include <sstream>
#include <GL/glew.h>
#include "texture.h"
#include "path/path.h"
#include "gui/gui.h"
#include "font.h"
#include "../physics/math/constants.h"
#include "../physics/datastructures/boundsTree.h"
namespace P3D::Graphics {
#pragma region PieChart
//! PieCh... | 30.136232 | 200 | 0.684717 | wulcat |
4f6ca398b4bb22460582d766f5c7790540a67c5e | 1,994 | cpp | C++ | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | GregB76/EU4toVic2 | 0a8822101a36a16036fdc315e706d113d9231101 | [
"MIT"
] | 1 | 2020-10-03T16:01:28.000Z | 2020-10-03T16:01:28.000Z | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | #include "PopRatio.h"
#include <algorithm>
#include <cmath>
EU4::PopRatio::PopRatio(std::string _culture, std::string _religion):
culture(std::move(_culture)), religion(std::move(_religion)){}
void EU4::PopRatio::decay(const float diffInYears, const double assimilationFactor)
{
// for standard factor 0.0025 ratio wi... | 30.676923 | 111 | 0.724674 | GregB76 |
4f736dcc08124129e0d0e1043725ca89833f13f7 | 3,419 | hh | C++ | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | 1 | 2020-08-20T22:34:36.000Z | 2020-08-20T22:34:36.000Z | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | 1 | 2020-08-27T00:01:42.000Z | 2020-11-27T17:18:58.000Z | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "flaviadb_definitions.hh"
#include <exception>
#include <iostream>
#include <string>
enum ErrorCode
{
NON_EXISTING_TABLE,
UNREADABLE_METADATA,
DIFFERENT_METADATA_NAME,
MISSING_VALUES,
TOO_MANY_VALUES,
CHAR_TOO_BIG,
INVALID_DATE,
INVALID_DATA_TYPE,
STAR_NOT_ALONE,
REPEATED_F... | 28.731092 | 79 | 0.677099 | mgonnav |
4f73861469819179cc75136ea8eb8d761e9630df | 2,454 | cpp | C++ | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 58 | 2020-03-28T11:46:07.000Z | 2022-03-17T10:42:05.000Z | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 78 | 2019-09-09T21:03:47.000Z | 2019-12-09T10:28:16.000Z | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 12 | 2020-06-09T08:13:24.000Z | 2022-02-21T01:31:40.000Z | /*
* Copyright 2002 Adrian Thurston <thurston@colm.net>
*
* 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, mo... | 26.106383 | 81 | 0.679299 | podsvirov |
4f7db0d717ace1ab1003adee24901def6e872b7b | 12,620 | cpp | C++ | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | 3 | 2021-09-20T18:54:47.000Z | 2022-02-28T03:27:26.000Z | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | null | null | null | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | 2 | 2021-09-20T18:54:50.000Z | 2021-10-04T13:51:24.000Z | #include "Offsets.h"
#include "SDK.h"
void Offsets(ClientClass* ClientClass)
{
assert(ClientClass);
m_flNextAttack = GetNetVarOffset("DT_BaseCombatCharacter", "m_flNextAttack", ClientClass); assert(m_flNextAttack);
m_hMyWeapons = GetNetVarOffset("DT_BaseCombatCharacter", "m_hMyWeapons", ClientClass); assert(m_hM... | 35.153203 | 178 | 0.754596 | ALEHACKsp |
4f7e6044b233581bf259d1ee9aa0713defa7aac9 | 3,024 | cpp | C++ | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2008-2020 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include "fost-core-test.hpp"
#include <fost/exception/json_error.hpp>
#include <fost/exception/not_null.hpp>
FSL_TEST_SUITE(json_object);
FSL... | 30.24 | 75 | 0.635582 | KayEss |
4f87d02c28fc170936dab8960d83d96476ef951e | 1,889 | hpp | C++ | modules/wechat_qrcode/src/zxing/common/str.hpp | WeChatCV/opencv_contrib | 273246d8572cf005c7648e60c6cef78240edfb3e | [
"Apache-2.0"
] | 35 | 2021-01-07T11:58:58.000Z | 2022-03-25T11:35:25.000Z | modules/wechat_qrcode/src/zxing/common/str.hpp | WeChatCV/opencv_contrib | 273246d8572cf005c7648e60c6cef78240edfb3e | [
"Apache-2.0"
] | null | null | null | modules/wechat_qrcode/src/zxing/common/str.hpp | WeChatCV/opencv_contrib | 273246d8572cf005c7648e60c6cef78240edfb3e | [
"Apache-2.0"
] | 9 | 2020-12-14T09:13:30.000Z | 2021-12-13T07:03:53.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Tencent is pleased to support the open source community by making WeChat QRCode available.
// Copyright (C) 2020 THL A29... | 27.779412 | 93 | 0.714134 | WeChatCV |
4f8a46af53dadc2519db45598f77f6cd62d4b1e7 | 37,670 | cpp | C++ | Builds/JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | null | null | null | Builds/JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | null | null | null | Builds/JuceLibraryCode/modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | 28.733791 | 132 | 0.525644 | eriser |
4f8bb671c52e3e1374f12486cd1d563eae5565d8 | 1,303 | cpp | C++ | Chat/chatty/SendRawDlg.cpp | BinToss/UniSpySDK | 0082b3e5db8381464ea47560968ed64f343c07ad | [
"BSD-3-Clause"
] | 23 | 2017-12-03T19:18:16.000Z | 2020-11-01T01:11:53.000Z | Chat/chatty/SendRawDlg.cpp | BinToss/UniSpySDK | 0082b3e5db8381464ea47560968ed64f343c07ad | [
"BSD-3-Clause"
] | 21 | 2018-05-25T21:27:14.000Z | 2020-05-20T16:31:47.000Z | Chat/chatty/SendRawDlg.cpp | BinToss/UniSpySDK | 0082b3e5db8381464ea47560968ed64f343c07ad | [
"BSD-3-Clause"
] | 11 | 2018-03-14T06:06:49.000Z | 2020-05-20T18:34:16.000Z | ///////////////////////////////////////////////////////////////////////////////
// File: SendRawDlg.cpp
// SDK: GameSpy Chat SDK
//
// Copyright (c) IGN Entertainment, Inc. All rights reserved.
// This software is made available only pursuant to certain license terms offered
// by IGN or its subsidiary GameSpy Indu... | 26.591837 | 81 | 0.606293 | BinToss |
4f8d7d8f4724ea9f7e7e6fd7e7d0437c68b92d35 | 65,624 | cpp | C++ | src/mongo/db/repl/oplog_buffer_collection_test.cpp | sgweon/mongo | 5273c2bad7df58c44afdd677609b8656f399a906 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/repl/oplog_buffer_collection_test.cpp | sgweon/mongo | 5273c2bad7df58c44afdd677609b8656f399a906 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/repl/oplog_buffer_collection_test.cpp | sgweon/mongo | 5273c2bad7df58c44afdd677609b8656f399a906 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2015 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
... | 40.433765 | 100 | 0.708658 | sgweon |
4f9397a9298d27cf9d996ec795d980c62c505c44 | 3,292 | cc | C++ | java/src/main/c++/vowpalWabbit_learner_VWLearners.cc | josepowera/vowpal_wabbit | 823e7683e3b231a952bd378ecd1905c20af28132 | [
"BSD-3-Clause"
] | 27 | 2016-06-15T15:49:03.000Z | 2019-11-12T06:52:49.000Z | java/src/main/c++/vowpalWabbit_learner_VWLearners.cc | kumpera/vowpal_wabbit | 0c5d5c400f28a6c2b4917278b66d57e7a40fecae | [
"BSD-3-Clause"
] | 1 | 2019-04-12T14:44:13.000Z | 2019-04-12T14:44:13.000Z | java/src/main/c++/vowpalWabbit_learner_VWLearners.cc | kumpera/vowpal_wabbit | 0c5d5c400f28a6c2b4917278b66d57e7a40fecae | [
"BSD-3-Clause"
] | 14 | 2016-07-15T19:47:12.000Z | 2020-01-09T03:38:40.000Z | #include "vowpalWabbit_learner_VWLearners.h"
#include "../../../../vowpalwabbit/vw.h"
#include "jni_base_learner.h"
#define RETURN_TYPE "vowpalWabbit/learner/VWLearners$VWReturnType"
#define RETURN_TYPE_INSTANCE "L" RETURN_TYPE ";"
JNIEXPORT jlong JNICALL Java_vowpalWabbit_learner_VWLearners_initialize(JNIEnv *env, j... | 35.397849 | 125 | 0.73633 | josepowera |
4f9582a32d81a4428f2de88dd930b5f5515c2702 | 10,421 | cpp | C++ | oslo/node/ipc/ipc_broker.cpp | oslocurrency/oslo-node | a38aed4e5845c11dd952e338e1ae27f836e3d0dc | [
"BSD-3-Clause"
] | null | null | null | oslo/node/ipc/ipc_broker.cpp | oslocurrency/oslo-node | a38aed4e5845c11dd952e338e1ae27f836e3d0dc | [
"BSD-3-Clause"
] | null | null | null | oslo/node/ipc/ipc_broker.cpp | oslocurrency/oslo-node | a38aed4e5845c11dd952e338e1ae27f836e3d0dc | [
"BSD-3-Clause"
] | null | null | null | #include <oslo/node/ipc/action_handler.hpp>
#include <oslo/node/ipc/flatbuffers_handler.hpp>
#include <oslo/node/ipc/flatbuffers_util.hpp>
#include <oslo/node/ipc/ipc_broker.hpp>
#include <oslo/node/ipc/ipc_server.hpp>
#include <oslo/node/node.hpp>
oslo::ipc::broker::broker (oslo::node & node_a) :
node (node_a)
{
}
s... | 40.080769 | 310 | 0.680261 | oslocurrency |
4f975673ba431225edc305fc6f6cc10d873ab52c | 10,646 | cpp | C++ | xo/Dom/DomNode.cpp | bmharper/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 7 | 2015-12-18T04:17:29.000Z | 2020-03-13T15:38:54.000Z | xo/Dom/DomNode.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | null | null | null | xo/Dom/DomNode.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 4 | 2016-09-18T13:16:02.000Z | 2022-03-23T11:33:53.000Z | #include "pch.h"
#include "Doc.h"
#include "DomNode.h"
#include "DomCanvas.h"
#include "../Parse/DocParser.h"
namespace xo {
DomNode::DomNode(xo::Doc* doc, xo::Tag tag, xo::InternalID parentID) : DomEl(doc, tag, parentID) {
}
DomNode::~DomNode() {
if (!!(AllEventMask & EventDestroy)) {
Event ev;
ev.Doc = Doc... | 25.839806 | 125 | 0.683731 | bmharper |
4f98c7dbfa1945586191e41fd03086f1ac168cf9 | 12,411 | cpp | C++ | src/find_db.cpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 745 | 2017-07-01T22:03:25.000Z | 2022-03-26T23:46:27.000Z | src/find_db.cpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 1,348 | 2017-07-02T12:37:48.000Z | 2022-03-31T23:45:51.000Z | src/find_db.cpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 158 | 2017-07-01T19:37:04.000Z | 2022-03-30T11:57:04.000Z | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2019 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | 38.424149 | 99 | 0.55338 | j4yan |
4fa4e3a2bb85083e33db74f58dce25542b0d25df | 12,762 | hpp | C++ | dynadjust/include/io/dnaiodnatypes.hpp | ccrook/DynAdjust | d8e5c3c441c3a7065807915d83fe623af0add2b8 | [
"Apache-2.0"
] | 44 | 2018-08-30T04:18:27.000Z | 2022-02-01T05:37:18.000Z | dynadjust/include/io/dnaiodnatypes.hpp | ccrook/DynAdjust | d8e5c3c441c3a7065807915d83fe623af0add2b8 | [
"Apache-2.0"
] | 112 | 2018-08-30T09:33:42.000Z | 2022-03-30T00:32:29.000Z | dynadjust/include/io/dnaiodnatypes.hpp | ccrook/DynAdjust | d8e5c3c441c3a7065807915d83fe623af0add2b8 | [
"Apache-2.0"
] | 29 | 2018-08-30T09:07:36.000Z | 2022-02-25T05:16:08.000Z | //============================================================================
// Name : dnaiodnatypes.hpp
// Author : Roger Fraser
// Contributors :
// Version : 1.00
// Copyright : Copyright 2017 Geoscience Australia
//
// Licensed under the Apache License, Version 2.0 (the "Licen... | 21.704082 | 90 | 0.662514 | ccrook |
4fa5f6fe6e85d0ee3d668b0875442ea4a0da6b96 | 14,861 | cc | C++ | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc | tomerv/grpc | 27662173e750107a4520d5d6972544d67a6a0203 | [
"Apache-2.0"
] | 4 | 2018-10-12T17:18:41.000Z | 2020-06-21T19:31:47.000Z | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc | stanley-cheung/grpc | 7d6000082a0e79a5307d04454a572a924a4d940d | [
"BSD-3-Clause"
] | 9 | 2021-06-01T23:18:19.000Z | 2022-02-22T17:54:02.000Z | src/core/ext/filters/load_reporting/server_load_reporting_filter.cc | stanley-cheung/grpc | 7d6000082a0e79a5307d04454a572a924a4d940d | [
"BSD-3-Clause"
] | null | null | null | /*
*
* Copyright 2016 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 41.980226 | 80 | 0.713949 | tomerv |
4fa85184210eae8aa8a195c90e09344951c74d41 | 1,544 | cpp | C++ | Archives/Aggressive_cows.cpp | pawan-nirpal-031/Algorithms-And-ProblemSolving | 24ce9649345dabe7275920f6912e410efc2c8e84 | [
"Apache-2.0"
] | 2 | 2021-03-05T08:40:01.000Z | 2021-04-25T13:58:42.000Z | Archives/Aggressive_cows.cpp | pawan-nirpal-031/Algorithms-And-ProblemSolving | 24ce9649345dabe7275920f6912e410efc2c8e84 | [
"Apache-2.0"
] | null | null | null | Archives/Aggressive_cows.cpp | pawan-nirpal-031/Algorithms-And-ProblemSolving | 24ce9649345dabe7275920f6912e410efc2c8e84 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long int ull;
typedef long long int ll;
typedef long double ld;
#define Mod 1000000007
#define Infinity (ll)1e18
#define Append(a) push_back(a)
#define Pair(a,b) make_pair(a,b)
#define Clear(a) for(ll &x : a){x=0;}
#define Point(x) std::fixed<<setpreci... | 23.753846 | 69 | 0.599093 | pawan-nirpal-031 |
4fa86d2258bf897c321493a684e0f9dfe13a1ead | 80,335 | cpp | C++ | c_glib/arrow-glib/basic-array.cpp | crcrpar/arrow | 9b162ee6c6f2525cf3c177de442dded5813bd0c3 | [
"Apache-2.0"
] | null | null | null | c_glib/arrow-glib/basic-array.cpp | crcrpar/arrow | 9b162ee6c6f2525cf3c177de442dded5813bd0c3 | [
"Apache-2.0"
] | 6 | 2020-07-01T20:18:37.000Z | 2021-01-07T16:22:13.000Z | c_glib/arrow-glib/basic-array.cpp | nevi-me/arrow | 4909403a9b0bc89335fb071ede4ffab9244dd616 | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 30.009339 | 84 | 0.65126 | crcrpar |
4fa90f8bd3fd068cd6e68cbcaa7c9e6fb516af6a | 3,451 | hpp | C++ | threads/Thread.hpp | NiklasWang/Voyager | abff720bd5330b5e7146fcc3e0816b9dddf856ee | [
"BSD-2-Clause"
] | null | null | null | threads/Thread.hpp | NiklasWang/Voyager | abff720bd5330b5e7146fcc3e0816b9dddf856ee | [
"BSD-2-Clause"
] | null | null | null | threads/Thread.hpp | NiklasWang/Voyager | abff720bd5330b5e7146fcc3e0816b9dddf856ee | [
"BSD-2-Clause"
] | null | null | null | #include "Memory.h"
#include "Thread.h"
namespace voyager {
#define INTERNAL true
template <typename T>
int32_t Thread::run(std::function<int32_t (T *)> func, T *arg,
std::function<int32_t (Thread *)> cb)
{
return run<T>(func, arg, ASYNC_TYPE, cb, INTERNAL);
}
template <typename T>
int32_t Thread::runWait(s... | 23.47619 | 78 | 0.490872 | NiklasWang |
4fa992803b1a7293a08c300ad41f128be098f3ba | 270 | hxx | C++ | dust/policies/None.hxx | JeneLitsch/Dust | 85e3ef191e58b3438501b52f9d72edd8064e5a27 | [
"MIT"
] | null | null | null | dust/policies/None.hxx | JeneLitsch/Dust | 85e3ef191e58b3438501b52f9d72edd8064e5a27 | [
"MIT"
] | null | null | null | dust/policies/None.hxx | JeneLitsch/Dust | 85e3ef191e58b3438501b52f9d72edd8064e5a27 | [
"MIT"
] | null | null | null | #pragma once
namespace dust {
namespace policy {
template<unsigned x>
struct None {
inline void operator()(auto & particle) const {
(void)(particle);
}
void operator()(auto & particle, double dt) {
(void)(particle);
(void)(dt);
};
};
}
} | 16.875 | 50 | 0.6 | JeneLitsch |
4fb143ca157e3824726165ecd678f0bd9eb58b82 | 9,960 | cpp | C++ | code/src/gles2rice/src/RSP_S2DEX.cpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 335 | 2021-10-16T14:56:14.000Z | 2022-03-31T15:50:11.000Z | code/src/gles2rice/src/RSP_S2DEX.cpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 10 | 2021-11-09T19:20:34.000Z | 2022-03-14T13:17:47.000Z | code/src/gles2rice/src/RSP_S2DEX.cpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 29 | 2021-10-19T00:38:18.000Z | 2022-03-31T19:03:47.000Z | /*
Copyright (C) 2002 Rice1964
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it... | 28.869565 | 121 | 0.650602 | OotinnyoO1 |
4fb18bc9fc385dd6b2911b0a0835ef6bfa69011d | 140,716 | cpp | C++ | lib/Sema/TypeCheckAvailability.cpp | jerodji/swift | d1bb98b11ede375a1cee739f964b7d23b6657aaf | [
"Apache-2.0"
] | 72,551 | 2015-12-03T16:45:13.000Z | 2022-03-31T18:57:59.000Z | lib/Sema/TypeCheckAvailability.cpp | jerodji/swift | d1bb98b11ede375a1cee739f964b7d23b6657aaf | [
"Apache-2.0"
] | 39,352 | 2015-12-03T16:55:06.000Z | 2022-03-31T23:43:41.000Z | lib/Sema/TypeCheckAvailability.cpp | jerodji/swift | d1bb98b11ede375a1cee739f964b7d23b6657aaf | [
"Apache-2.0"
] | 13,845 | 2015-12-03T16:45:13.000Z | 2022-03-31T11:32:29.000Z | //===--- TypeCheckAvailability.cpp - Availability Diagnostics -------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.875262 | 105 | 0.664281 | jerodji |
4fb197049c9ba6c7ae2020943c3eb1a69f51263b | 36,544 | cpp | C++ | nano/qt_test/qt.cpp | MacroChip/nano-node | d555eae77a564550c76cc541a47d297a1dcd59d1 | [
"BSD-2-Clause"
] | 1 | 2021-05-23T11:23:01.000Z | 2021-05-23T11:23:01.000Z | nano/qt_test/qt.cpp | MacroChip/nano-node | d555eae77a564550c76cc541a47d297a1dcd59d1 | [
"BSD-2-Clause"
] | 5 | 2020-11-23T23:18:27.000Z | 2020-11-24T23:40:23.000Z | nano/qt_test/qt.cpp | MacroChip/nano-node | d555eae77a564550c76cc541a47d297a1dcd59d1 | [
"BSD-2-Clause"
] | null | null | null | #include <nano/core_test/testutil.hpp>
#include <nano/node/testing.hpp>
#include <nano/qt/qt.hpp>
#include <gtest/gtest.h>
#include <boost/property_tree/json_parser.hpp>
#include <algorithm>
#include <nano/qt_test/QTest>
#include <thread>
using namespace std::chrono_literals;
extern QApplication * test_application... | 44.565854 | 192 | 0.735333 | MacroChip |
4fb647f0f51f84d042a62042a7bd5aa55662dc40 | 10,846 | cpp | C++ | Lumos/Source/Lumos/Physics/LumosPhysicsEngine/Manifold.cpp | perefm/Lumos | 2f0ae4d0bad1447b5318043500751be1753666a2 | [
"MIT"
] | 672 | 2019-01-29T18:14:40.000Z | 2022-03-31T20:38:40.000Z | Lumos/Source/Lumos/Physics/LumosPhysicsEngine/Manifold.cpp | gameconstructer/Lumos | 92f6e812fdfc9404bf557e131679ae9071f25c80 | [
"MIT"
] | 25 | 2019-10-05T17:16:13.000Z | 2021-12-29T01:40:04.000Z | Lumos/Source/Lumos/Physics/LumosPhysicsEngine/Manifold.cpp | gameconstructer/Lumos | 92f6e812fdfc9404bf557e131679ae9071f25c80 | [
"MIT"
] | 83 | 2019-03-13T14:11:12.000Z | 2022-03-30T02:52:49.000Z | #include "Precompiled.h"
#include "Manifold.h"
#include "Maths/Matrix3.h"
#include "LumosPhysicsEngine.h"
#include "Graphics/Renderers/DebugRenderer.h"
namespace Lumos
{
#define persistentThresholdSq 0.025f
Manifold::Manifold()
: m_pNodeA(nullptr)
, m_pNodeB(nullptr)
{
}
Manifold::... | 38.735714 | 302 | 0.56288 | perefm |
4fb7929c972c19e05b6b160cb4443e0210c86bc3 | 619 | cpp | C++ | level1/p01_runningLetter/1_roll.cpp | himcrh/c2021 | be65b096302013f2cbded6cf0ac52a148bddfb09 | [
"MIT"
] | null | null | null | level1/p01_runningLetter/1_roll.cpp | himcrh/c2021 | be65b096302013f2cbded6cf0ac52a148bddfb09 | [
"MIT"
] | null | null | null | level1/p01_runningLetter/1_roll.cpp | himcrh/c2021 | be65b096302013f2cbded6cf0ac52a148bddfb09 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
#include<windows.h>
using namespace std;
char c[]="zly yyds!!!";
int main(){
system("mode con cols=80 lines=3");
//change width and high
int N=80;
int x=0,d1=1,d2=1;
int L=strlen(c);
int color = 0;
HANDLE hConsole;
hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
//color handl... | 16.72973 | 44 | 0.602585 | himcrh |
4fb901acf611f3e1a51577cfb6f2c5f9bf72afb5 | 5,840 | cpp | C++ | Source/CollisionDetection/CollisionDetection/imstkPointSetToSphereCD.cpp | BH4DKC/iMSTK | 10f8e2bf11b06e68bbfe7fbd461a5254e7ece01c | [
"Apache-2.0"
] | null | null | null | Source/CollisionDetection/CollisionDetection/imstkPointSetToSphereCD.cpp | BH4DKC/iMSTK | 10f8e2bf11b06e68bbfe7fbd461a5254e7ece01c | [
"Apache-2.0"
] | null | null | null | Source/CollisionDetection/CollisionDetection/imstkPointSetToSphereCD.cpp | BH4DKC/iMSTK | 10f8e2bf11b06e68bbfe7fbd461a5254e7ece01c | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Library: iMSTK
Copyright (c) Kitware, Inc. & Center for Modeling, Simulation,
& Imaging in Medicine, Rensselaer Polytechnic Institute.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file e... | 37.435897 | 103 | 0.593322 | BH4DKC |
4fbbc9e87b9c35166359aaa62deed6148352deff | 10,754 | cpp | C++ | features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 8 | 2017-01-20T13:14:49.000Z | 2020-10-22T01:12:40.000Z | features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 5 | 2018-08-15T12:02:20.000Z | 2018-09-03T11:28:18.000Z | features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 5 | 2018-03-09T15:48:38.000Z | 2020-10-22T01:12:44.000Z | /* mbed Microcontroller Library
* Copyright (c) 2017-2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 25.423168 | 116 | 0.689883 | mtvg |
4fc07087a063eb7539dcbfe5f73bb7433d4a4d96 | 978 | cpp | C++ | src/backend/gporca/libnaucrates/src/operators/CDXLScalarRecheckCondFilter.cpp | fanfuxiaoran/gpdb | 84e73a9eb2d4a7aff8ab66c0ee76e47b51676be6 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/backend/gporca/libnaucrates/src/operators/CDXLScalarRecheckCondFilter.cpp | fanfuxiaoran/gpdb | 84e73a9eb2d4a7aff8ab66c0ee76e47b51676be6 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/backend/gporca/libnaucrates/src/operators/CDXLScalarRecheckCondFilter.cpp | fanfuxiaoran/gpdb | 84e73a9eb2d4a7aff8ab66c0ee76e47b51676be6 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 VMware, Inc. or its affiliates.
//
// @filename:
// CDXLScalarRecheckCondFilter.h
//
// @doc:
// Filter for rechecking an index condition on the operator upstream of the index scan
//
// @owner:
/... | 25.076923 | 87 | 0.503067 | fanfuxiaoran |
4fc2ad4f2a2ea302589a2df21f086754315c8198 | 3,045 | cpp | C++ | src/purple/core/core.cpp | snailbaron/purple | 1dc5ae84c7fd702d5aea27e33c557f48ac564e77 | [
"MIT"
] | null | null | null | src/purple/core/core.cpp | snailbaron/purple | 1dc5ae84c7fd702d5aea27e33c557f48ac564e77 | [
"MIT"
] | null | null | null | src/purple/core/core.cpp | snailbaron/purple | 1dc5ae84c7fd702d5aea27e33c557f48ac564e77 | [
"MIT"
] | null | null | null | #include "core.hpp"
#include <purple/core/tile_map.h>
#include <purple/core/component.hpp>
#include <iostream>
#include <algorithm>
void Core::attach(std::shared_ptr<View> view)
{
_views.push_back(view);
}
void Core::update(double deltaSec)
{
for (auto actor : _actors) {
auto movement = actor->get<Mov... | 27.1875 | 76 | 0.560263 | snailbaron |
4fc2d97be4d02d9c4431966b87f09e202f367cef | 12,138 | cpp | C++ | cegui/src/Font.cpp | arkana-fts/cegui | 60b287b78808545628d87ac20397273ddb43472e | [
"MIT"
] | null | null | null | cegui/src/Font.cpp | arkana-fts/cegui | 60b287b78808545628d87ac20397273ddb43472e | [
"MIT"
] | null | null | null | cegui/src/Font.cpp | arkana-fts/cegui | 60b287b78808545628d87ac20397273ddb43472e | [
"MIT"
] | null | null | null | /***********************************************************************
created: 21/2/2004
author: Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/***************************************************************************
* Copyright (C) ... | 33.530387 | 110 | 0.532707 | arkana-fts |
4fc9886ce0ec1a33cf1fe8c6e4dbcca51f97869d | 4,108 | cc | C++ | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/experimental/string_view/capacity/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | // { dg-do run { target c++14 } }
// Copyright (C) 2013-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundatio... | 25.202454 | 78 | 0.628043 | best08618 |
4fcb7bebf779e749ae71968f399fd268871d8c79 | 87 | cpp | C++ | test/llvm_test_code/call_graphs/global_ctor_dtor_1.cpp | ga0/phasar | b9ecb9a1f0353501376021fab67057a713fa70dc | [
"MIT"
] | 581 | 2018-06-10T10:37:55.000Z | 2022-03-30T14:56:53.000Z | test/llvm_test_code/call_graphs/global_ctor_dtor_1.cpp | meret-boe/phasar | 2b394d5611b107e4fd3d8eec37f26abca8ef1e9a | [
"MIT"
] | 172 | 2018-06-13T12:33:26.000Z | 2022-03-26T07:21:41.000Z | test/llvm_test_code/call_graphs/global_ctor_dtor_1.cpp | meret-boe/phasar | 2b394d5611b107e4fd3d8eec37f26abca8ef1e9a | [
"MIT"
] | 137 | 2018-06-10T10:31:14.000Z | 2022-03-06T11:53:56.000Z | __attribute__((constructor)) void before_main();
void before_main() {}
int main() {}
| 14.5 | 48 | 0.701149 | ga0 |
4fd2a9775b0f946af8e01d4a0d2ba60c5cc7bd7a | 4,801 | cpp | C++ | source/Lib/TLibEncoder/TEncPic.cpp | henryhuang329/h266 | ff05b4a10abe3e992a11e5481fa86bc671574a3b | [
"BSD-3-Clause"
] | 9 | 2019-10-30T06:29:33.000Z | 2021-11-19T08:34:08.000Z | source/Lib/TLibEncoder/TEncPic.cpp | hexiaoyi95/DL-HM-16.6-JEM-7.0-dev | 80206bf91a2be1c62589bee0af4ca4251d0a7e09 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/TLibEncoder/TEncPic.cpp | hexiaoyi95/DL-HM-16.6-JEM-7.0-dev | 80206bf91a2be1c62589bee0af4ca4251d0a7e09 | [
"BSD-3-Clause"
] | 2 | 2019-03-29T15:14:34.000Z | 2019-04-27T10:46:40.000Z | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2015, ITU/ISO/IEC
* All rights r... | 30.194969 | 116 | 0.713393 | henryhuang329 |
4fd472eb613836f29da61ab1c4ea0f154ae4df3c | 1,200 | hpp | C++ | src/shared/game_settings.hpp | sathwikmatsa/ndn-agar.io | a758414d0bb221a6183f20d332f101f3850505cf | [
"MIT"
] | 1 | 2020-06-10T07:44:43.000Z | 2020-06-10T07:44:43.000Z | src/shared/game_settings.hpp | sathwikmatsa/ndn-agar.io | a758414d0bb221a6183f20d332f101f3850505cf | [
"MIT"
] | null | null | null | src/shared/game_settings.hpp | sathwikmatsa/ndn-agar.io | a758414d0bb221a6183f20d332f101f3850505cf | [
"MIT"
] | null | null | null | #pragma once
inline const int PELLET_RADIUS = 20;
inline const int VIRUS_RADIUS = 110;
inline const int AGAR_RADIUS = 25;
inline const int MAX_AGAR_RADIUS = 250;
inline const int SCREEN_WIDTH = 640 * 3 / 2;
inline const int SCREEN_HEIGHT = 480 * 3 / 2;
inline const float MAX_ZOOM = 2.;
inline const int SCREEN_FPS = 60... | 36.363636 | 59 | 0.775 | sathwikmatsa |
4fd659a412a71bfb41ddac375dd470e3a352ff4c | 306 | cpp | C++ | Blue-Flame-Engine/Core/BF/AI/Astar/AstarNode.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | 2 | 2020-10-12T13:40:05.000Z | 2021-09-17T08:37:03.000Z | Blue-Flame-Engine/Core/BF/AI/Astar/AstarNode.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | null | null | null | Blue-Flame-Engine/Core/BF/AI/Astar/AstarNode.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | null | null | null | #include "AstarNode.h"
namespace BF
{
namespace AI
{
namespace Astar
{
AstarNode::AstarNode() :
AstarComponent(AstarComponent::Type::AstarNode),
gValue(0), hValue(0), fValue(0), walkable(false), inClosedList(false), parent(nullptr)
{
}
AstarNode::~AstarNode()
{
}
}
}
} | 15.3 | 90 | 0.633987 | FantasyVII |
4fd680025aed2991539efb69456b2af46bbd40a9 | 21,217 | cpp | C++ | libraries/script-engine/src/ScriptEngines.cpp | PhilipRosedale/hifi | e07674134f23a73cec46c7e02cd7fa69ed13abc5 | [
"Apache-2.0"
] | 7 | 2015-08-24T17:01:00.000Z | 2021-03-30T09:30:40.000Z | libraries/script-engine/src/ScriptEngines.cpp | PhilipRosedale/hifi | e07674134f23a73cec46c7e02cd7fa69ed13abc5 | [
"Apache-2.0"
] | 1 | 2016-01-17T17:49:05.000Z | 2016-01-17T17:49:05.000Z | libraries/script-engine/src/ScriptEngines.cpp | PhilipRosedale/hifi | e07674134f23a73cec46c7e02cd7fa69ed13abc5 | [
"Apache-2.0"
] | 1 | 2021-12-07T23:16:45.000Z | 2021-12-07T23:16:45.000Z | //
// Created by Bradley Austin Davis on 2016/01/08
// Copyright 2013-2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "ScriptEngines.h"
#include <QtCore/QStandardPaths>
#include <... | 37.485866 | 130 | 0.650893 | PhilipRosedale |
4fd7c45abb50a6efdf6ab904c4be5d7787c9c7b0 | 3,189 | hpp | C++ | dgl/Vulkan.hpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 372 | 2015-02-09T15:05:16.000Z | 2022-03-30T15:35:17.000Z | dgl/Vulkan.hpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 324 | 2015-10-05T14:30:41.000Z | 2022-03-30T07:06:04.000Z | dgl/Vulkan.hpp | noisecode3/DPF | 86a621bfd86922a49ce593fec2a618a1e0cc6ef3 | [
"0BSD"
] | 89 | 2015-02-20T11:26:50.000Z | 2022-02-11T00:07:27.000Z | /*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
* permission notice appear in all copies.
... | 30.663462 | 119 | 0.609909 | noisecode3 |
4fd813deb905745338ac5bfa21e3f9b60575eb4f | 1,980 | cc | C++ | src/meili/universal_cost.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | 79 | 2017-02-15T17:35:48.000Z | 2022-03-30T06:16:10.000Z | src/meili/universal_cost.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/meili/universal_cost.cc | molind/valhalla | 7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c | [
"BSD-2-Clause",
"MIT"
] | 12 | 2017-06-16T06:30:54.000Z | 2021-12-16T00:43:12.000Z | #include "midgard/logging.h"
#include "sif/dynamiccost.h"
#include "meili/universal_cost.h"
namespace valhalla {
namespace meili {
class UniversalCost : public sif::DynamicCost
{
public:
UniversalCost(const boost::property_tree::ptree& pt)
: DynamicCost(pt, kUniversalTravelMode) {}
bool Allowed(const b... | 24.146341 | 78 | 0.638384 | molind |
4fd873351eabedb130361bed044d3acba4853e21 | 20,145 | cpp | C++ | src/PE/signature/x509.cpp | ienho/LIEF | 29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8 | [
"Apache-2.0"
] | null | null | null | src/PE/signature/x509.cpp | ienho/LIEF | 29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8 | [
"Apache-2.0"
] | null | null | null | src/PE/signature/x509.cpp | ienho/LIEF | 29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2021 R. Thomas
* Copyright 2017 - 2021 Quarkslab
*
* 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 req... | 31.378505 | 124 | 0.660164 | ienho |
4fd9f79949952974dcc3698a12c9bed58858e51b | 19,833 | cpp | C++ | components/storage/blockdevice/COMPONENT_SD/TESTS/filesystem/seek/main.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 8 | 2017-01-20T13:14:49.000Z | 2020-10-22T01:12:40.000Z | components/storage/blockdevice/COMPONENT_SD/TESTS/filesystem/seek/main.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 5 | 2018-08-15T12:02:20.000Z | 2018-09-03T11:28:18.000Z | components/storage/blockdevice/COMPONENT_SD/TESTS/filesystem/seek/main.cpp | mtvg/mbed-os | df44c55cfd1b8323bb5368e2cdaffe1a284e8d01 | [
"Apache-2.0"
] | 5 | 2018-03-09T15:48:38.000Z | 2020-10-22T01:12:44.000Z | /* mbed Microcontroller Library
* Copyright (c) 2016 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 30.187215 | 141 | 0.570262 | mtvg |
4fda9f2847b07fb16d9617023aeec24d2d1d0c0f | 188 | cpp | C++ | library/L3_Application/commands/test/i2c_command_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | 1 | 2019-11-25T20:31:07.000Z | 2019-11-25T20:31:07.000Z | library/L3_Application/commands/test/i2c_command_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | null | null | null | library/L3_Application/commands/test/i2c_command_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | null | null | null | #include "L4_Testing/testing_frameworks.hpp"
#include "L3_Application/commands/i2c_command.hpp"
namespace sjsu
{
TEST_CASE("Testing I2c Command", "[i2c-command]") {}
} // namespace sjsu
| 23.5 | 52 | 0.760638 | diarkia124 |
4fdad9b8a94016750d13c59ec0f4789342641a26 | 10,051 | cpp | C++ | camera/hal/intel/ipu6/src/hal/ICamera.cpp | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | camera/hal/intel/ipu6/src/hal/ICamera.cpp | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | camera/hal/intel/ipu6/src/hal/ICamera.cpp | dgreid/platform2 | 9b8b30df70623c94f1c8aa634dba94195343f37b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015-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.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 27.018817 | 123 | 0.704408 | dgreid |
4fdb906fb048284aa4823b7a1160db1cf0179e7b | 22,159 | cpp | C++ | plugins/peperoni/unix/peperonidevice.cpp | joepadmiraal/qlcplus | ca7f083012c92eb4263bc38d957b2feda6d04185 | [
"Apache-2.0"
] | 1 | 2015-03-03T17:30:10.000Z | 2015-03-03T17:30:10.000Z | plugins/peperoni/unix/peperonidevice.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | plugins/peperoni/unix/peperonidevice.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | /*
Q Light Controller
peperonidevice.cpp
Copyright (c) Heikki Junnila
Massimo Callegari
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/lice... | 37.055184 | 136 | 0.512794 | joepadmiraal |
4fdc73f41e98b89d482a9903128c50ce8d876c67 | 21 | cpp | C++ | src/addrman.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 10 | 2019-06-06T04:08:38.000Z | 2022-01-07T13:02:17.000Z | src/addrman.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 21 | 2019-07-19T18:36:34.000Z | 2022-03-06T09:59:51.000Z | src/addrman.cpp | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 24 | 2019-04-19T12:24:16.000Z | 2022-01-07T13:02:20.000Z | #include "addrman.h"
| 10.5 | 20 | 0.714286 | 2a5A1Ghu1 |
4fde0d29bd076128bf0780a3836c18d2f676f074 | 134 | hxx | C++ | src/Providers/UNIXProviders/FilterListInSystem/UNIX_FilterListInSystem_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/FilterListInSystem/UNIX_FilterListInSystem_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/FilterListInSystem/UNIX_FilterListInSystem_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_FILTERLISTINSYSTEM_PRIVATE_H
#define __UNIX_FILTERLISTINSYSTEM_PRIVATE_H
#endif
#endif
| 11.166667 | 43 | 0.858209 | brunolauze |
4fde335b5aa114c1e3f77085150bed1ec91e8924 | 6,517 | cpp | C++ | src/coreclr/debug/createdump/main.cpp | mklement0/runtime | 664e232c51a5223ca41a6db5a02e824815c483ec | [
"MIT"
] | 28 | 2021-02-08T01:22:52.000Z | 2022-01-19T08:01:48.000Z | src/coreclr/debug/createdump/main.cpp | mklement0/runtime | 664e232c51a5223ca41a6db5a02e824815c483ec | [
"MIT"
] | 2 | 2020-07-08T00:29:12.000Z | 2020-11-26T05:18:56.000Z | src/coreclr/debug/createdump/main.cpp | mklement0/runtime | 664e232c51a5223ca41a6db5a02e824815c483ec | [
"MIT"
] | 4 | 2021-05-27T08:39:33.000Z | 2021-06-24T09:17:05.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "createdump.h"
#ifdef HOST_WINDOWS
#define DEFAULT_DUMP_PATH "%TEMP%\\"
#define DEFAULT_DUMP_TEMPLATE "dump.%p.dmp"
#else
#define DEFAULT_DUMP_PATH "/tmp/"
#define DEFAULT_... | 36.205556 | 165 | 0.483812 | mklement0 |
4fe46c342c29ee74e19c4e302af5d0a62b29d856 | 25,489 | cpp | C++ | third_party/llvm/mlir/unittests/Analysis/AffineStructuresTest.cpp | procedural/clspv_04_Sep_2021 | 3f408df6a0dd6b3b0d9d86b04b45a6cab0bb1796 | [
"Apache-2.0"
] | 61 | 2019-04-12T18:49:57.000Z | 2022-03-19T22:23:16.000Z | third_party/llvm/mlir/unittests/Analysis/AffineStructuresTest.cpp | procedural/clspv_04_Sep_2021 | 3f408df6a0dd6b3b0d9d86b04b45a6cab0bb1796 | [
"Apache-2.0"
] | 127 | 2019-04-09T00:55:50.000Z | 2022-03-21T15:35:41.000Z | third_party/llvm/mlir/unittests/Analysis/AffineStructuresTest.cpp | procedural/clspv_04_Sep_2021 | 3f408df6a0dd6b3b0d9d86b04b45a6cab0bb1796 | [
"Apache-2.0"
] | 10 | 2019-04-02T18:25:40.000Z | 2022-02-15T07:11:37.000Z | //===- AffineStructuresTest.cpp - Tests for AffineStructures ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 41.513029 | 80 | 0.438267 | procedural |
4fe5f68ed76fdada74c0315b398cfe1a42bc9249 | 1,229 | cpp | C++ | lib/src/Delphi/Syntax/Expressions/DelphiBadExpressionSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | lib/src/Delphi/Syntax/Expressions/DelphiBadExpressionSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | 50 | 2021-06-30T20:01:50.000Z | 2021-11-28T16:21:26.000Z | lib/src/Delphi/Syntax/Expressions/DelphiBadExpressionSyntax.cpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | #include "Delphi/Syntax/Expressions/DelphiBadExpressionSyntax.hpp"
#include <cassert>
#include "interlinck/Core/Syntax/ISyntaxToken.hpp"
#include "Core/Support/SyntaxFactory.hpp"
namespace interlinck::Delphi::Syntax
{
using Core::Support::SyntaxFactory;
using namespace Core::Syntax;
DelphiBadExpressionSyntax::Delphi... | 34.138889 | 105 | 0.676159 | henrikfroehling |
4fe9278e81107e12cca584b303816ccbe7edb38d | 4,969 | cpp | C++ | examples/diskbuffer.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | null | null | null | examples/diskbuffer.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | 2 | 2020-12-22T19:22:37.000Z | 2020-12-22T19:44:09.000Z | examples/diskbuffer.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | 3 | 2020-07-23T00:16:54.000Z | 2022-02-05T08:28:34.000Z |
#include "tinc/DiskBuffer.hpp"
#include "tinc/DiskBufferImage.hpp"
#include "tinc/DiskBufferJson.hpp"
#include "tinc/DiskBufferNetCDF.hpp"
#include "tinc/TincServer.hpp"
#include "al/app/al_App.hpp"
#include "al/graphics/al_Font.hpp"
#include "al/math/al_Random.hpp"
#include "al/types/al_Color.hpp"
#include "al/ui/al... | 27.91573 | 80 | 0.654256 | MyunginLee |
4feb132b9b522635e5c39d5b5e15aad1ed70f9c2 | 4,433 | cpp | C++ | src/node.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | src/node.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | src/node.cpp | icedac/nativecoin-cpp | cc5ea9c9dfc7e8974f3b580cbb3767354d0b9b78 | [
"BSL-1.0",
"BSD-3-Clause",
"OpenSSL",
"MIT"
] | null | null | null | /****************************************************************************
*
* node.cpp
* ($\nativecoin-cpp\src)
*
* by icedac
*
***/
#include "stdafx.h"
#include "node.h"
namespace nc {
//
void node::init()
{
bc.init();
const auto& genesis_wallet = c... | 28.235669 | 95 | 0.502594 | icedac |
4fee62134b463231c8de07de4bdfdaed91cb19ad | 7,923 | cpp | C++ | rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display.cpp | nbbrooks/rviz | e6a4c36a22cab690d97774d3afc8ffaae758e2d9 | [
"BSD-3-Clause-Clear"
] | 5 | 2020-01-14T06:45:59.000Z | 2021-03-11T11:22:35.000Z | rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display.cpp | nbbrooks/rviz | e6a4c36a22cab690d97774d3afc8ffaae758e2d9 | [
"BSD-3-Clause-Clear"
] | 2 | 2019-02-12T21:55:08.000Z | 2019-02-20T01:01:24.000Z | rviz_default_plugins/src/rviz_default_plugins/displays/pose/pose_display.cpp | nbbrooks/rviz | e6a4c36a22cab690d97774d3afc8ffaae758e2d9 | [
"BSD-3-Clause-Clear"
] | 9 | 2018-09-09T20:48:17.000Z | 2021-03-11T11:22:52.000Z | /*
* Copyright (c) 2008, Willow Garage, 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 l... | 33.0125 | 89 | 0.749337 | nbbrooks |
4feef10237a29bfadda2ab47cc6f86e6df72adf6 | 18,206 | cpp | C++ | VC2010Samples/ATL/Controls/ATLFire/FireWnd.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/ATL/Controls/ATLFire/FireWnd.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/ATL/Controls/ATLFire/FireWnd.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // FireWnd.cpp : Implementation of CFireWnd
//
// This is a part of the Active Template Library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the lib... | 28.852615 | 105 | 0.576623 | alonmm |
4fef29c4b9f72e3fc25bbfb054f2854111772056 | 1,426 | cpp | C++ | Event/Channel.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | Event/Channel.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | Event/Channel.cpp | zhangyins1/streactor | 24d5ca9afcdd83f92a3fe583b46dff150dbf7d01 | [
"Apache-2.0"
] | null | null | null | #include "Channel.h"
#include "../Common/Platform.h"
#include "../Util/TypeDef.h"
#include "EventLoop.h"
const int CChannel::kNoneEvent = 0;
const int CChannel::kReadEvent = XPOLLIN | XPOLLPRI;
const int CChannel::kWriteEvent = XPOLLOUT;
CChannel::CChannel(CEventLoop *loop, int fd) : m_events(0), m_revents(0), m_fd(f... | 15.67033 | 109 | 0.681627 | zhangyins1 |
4fefe4b9a036476c3e2fce016ff338cd49f161aa | 1,607 | hpp | C++ | asps/modbus/adu/session/client_session.hpp | activesys/asps | 36cc90a192d13df8669f9743f80a0662fe888d16 | [
"MIT"
] | null | null | null | asps/modbus/adu/session/client_session.hpp | activesys/asps | 36cc90a192d13df8669f9743f80a0662fe888d16 | [
"MIT"
] | null | null | null | asps/modbus/adu/session/client_session.hpp | activesys/asps | 36cc90a192d13df8669f9743f80a0662fe888d16 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The asps Authors. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Modbus Client Session.
#ifndef ASPS_MODBUS_ADU_SESSION_CLIENT_SESSION_HPP
#define ASPS_MODBUS_ADU_SESSION_... | 23.289855 | 77 | 0.749222 | activesys |
4ff096389a828db2f4a28759c16e0954ea7a8728 | 4,103 | cpp | C++ | apps/rawlog-edit/rawlog-edit_anemometer.cpp | zarmomin/mrpt | 1baff7cf8ec9fd23e1a72714553bcbd88c201966 | [
"BSD-3-Clause"
] | 1 | 2021-12-10T06:24:08.000Z | 2021-12-10T06:24:08.000Z | apps/rawlog-edit/rawlog-edit_anemometer.cpp | gao-ouyang/mrpt | 4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7 | [
"BSD-3-Clause"
] | null | null | null | apps/rawlog-edit/rawlog-edit_anemometer.cpp | gao-ouyang/mrpt | 4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7 | [
"BSD-3-Clause"
] | 1 | 2019-09-11T02:55:04.000Z | 2019-09-11T02:55:04.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | 29.099291 | 80 | 0.563734 | zarmomin |
4ff359e7db127977ad65f22ab26d30a2aec9457f | 32,101 | cpp | C++ | src/BreakoutSDK/Breakout.cpp | dsghi/Breakout_Arduino_Library | 4438eb7f3e6f2807cb32a47e1491dd54e9ca17de | [
"Apache-2.0"
] | null | null | null | src/BreakoutSDK/Breakout.cpp | dsghi/Breakout_Arduino_Library | 4438eb7f3e6f2807cb32a47e1491dd54e9ca17de | [
"Apache-2.0"
] | null | null | null | src/BreakoutSDK/Breakout.cpp | dsghi/Breakout_Arduino_Library | 4438eb7f3e6f2807cb32a47e1491dd54e9ca17de | [
"Apache-2.0"
] | null | null | null | /*
* Breakout.cpp
* Twilio Breakout SDK
*
* Copyright (c) 2018 Twilio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | 35.867039 | 120 | 0.662129 | dsghi |
4ff3742da805c4f37b01e02ae8d7ec976ccdaea3 | 1,353 | cpp | C++ | CPP_Classes/Histogram3D.cpp | bobdavies2000/OpenCVB | 1d339a94643a97e2d34f82dc7776677a8566d71d | [
"MIT"
] | 69 | 2019-07-17T21:20:37.000Z | 2022-03-23T08:38:03.000Z | CPP_Classes/Histogram3D.cpp | bobdavies2000/OpenCVB | 1d339a94643a97e2d34f82dc7776677a8566d71d | [
"MIT"
] | 5 | 2021-02-05T05:48:50.000Z | 2022-03-12T01:43:15.000Z | CPP_Classes/Histogram3D.cpp | bobdavies2000/OpenCVB | 1d339a94643a97e2d34f82dc7776677a8566d71d | [
"MIT"
] | 6 | 2019-12-24T05:36:52.000Z | 2021-02-19T15:55:13.000Z | #include <cstdlib>
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
using namespace std;
using namespace cv;
// https://docs.opencv.org/3.4/d1/d1d/tutorial_histo3D.html
// https://docs.opencv.org/trunk/d1/d1d/tutorial_... | 39.794118 | 124 | 0.711752 | bobdavies2000 |
4ff50e341c2b25bb481d6dcd7100c960aaf3e833 | 4,812 | cpp | C++ | src/Subdiv.cpp | algisb/shadiray | eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a | [
"MIT"
] | null | null | null | src/Subdiv.cpp | algisb/shadiray | eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a | [
"MIT"
] | null | null | null | src/Subdiv.cpp | algisb/shadiray | eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a | [
"MIT"
] | null | null | null | #include "Subdiv.h"
using namespace kelp;
Subdiv::Subdiv(float * _vertexSoup, uint64_t _numVertex)
{
std::vector<Vertex> vTmp;
std::vector<Triangle> tTmp;
//extract verticies
allocToLocalStructure(_vertexSoup, _numVertex, &vTmp, &tTmp);
indexVerticies(&tTmp);
genEdges();
//genVertexNeighbou... | 30.264151 | 141 | 0.44202 | algisb |
4ff5c0935a20de1d5b9d7de93aedabbad15cec81 | 7,488 | cpp | C++ | src/modules/math/BezierCurve.cpp | cigumo/love | 0b06d0d1f9defaef0353523012acf918cbc01954 | [
"Apache-2.0"
] | 2 | 2021-08-15T04:38:35.000Z | 2022-01-15T15:08:46.000Z | src/modules/math/BezierCurve.cpp | cigumo/love | 0b06d0d1f9defaef0353523012acf918cbc01954 | [
"Apache-2.0"
] | 2 | 2020-08-20T20:10:22.000Z | 2022-02-05T14:58:06.000Z | src/modules/math/BezierCurve.cpp | MikuAuahDark/livesim3-love | a893c17aa2c53fbe1843a18f744cb1c88142e6bb | [
"Apache-2.0"
] | 5 | 2020-09-04T21:49:38.000Z | 2022-03-14T20:48:02.000Z | /**
* Copyright (c) 2006-2020 LOVE Development Team
*
* 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 software for any purpose,
* ... | 27.032491 | 88 | 0.670406 | cigumo |
4ff9f7ecf5c82afc15a3c6ee1c19464f319dc2cf | 3,079 | cpp | C++ | Samples/DeviceEnumerationAndPairing/cpp/Scenario5_GetSingleDevice.xaml.cpp | aspexkz/aspex1 | 157c9eb6127947e71458e473eb796f9585bc248e | [
"MIT"
] | 3 | 2018-11-08T07:00:42.000Z | 2019-01-09T12:16:07.000Z | Samples/DeviceEnumerationAndPairing/cpp/Scenario5_GetSingleDevice.xaml.cpp | aspexkz/aspex1 | 157c9eb6127947e71458e473eb796f9585bc248e | [
"MIT"
] | 4 | 2018-12-14T21:21:27.000Z | 2019-01-07T20:15:17.000Z | Samples/DeviceEnumerationAndPairing/cpp/Scenario5_GetSingleDevice.xaml.cpp | aspexkz/aspex1 | 157c9eb6127947e71458e473eb796f9585bc248e | [
"MIT"
] | 2 | 2020-07-13T03:05:00.000Z | 2021-08-11T15:16:12.000Z | // Copyright (c) Microsoft. All rights reserved.
#include "pch.h"
#include "Scenario5_GetSingleDevice.xaml.h"
using namespace SDKTemplate;
using namespace Platform;
using namespace Platform::Collections;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace... | 36.654762 | 107 | 0.699578 | aspexkz |
4ffa276be1dbc60e1d79929c95d638dcf0ef4573 | 5,783 | cpp | C++ | src/vidhrdw/copsnrob.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-01-25T20:16:33.000Z | 2021-01-25T20:16:33.000Z | src/vidhrdw/copsnrob.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-05-24T20:28:35.000Z | 2021-05-25T14:44:54.000Z | src/vidhrdw/copsnrob.cpp | PSP-Archive/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | null | null | null | /***************************************************************************
vidhrdw.c
Functions to emulate the video hardware of the machine.
***************************************************************************/
#include "driver.h"
#include "vidhrdw/generic.h"
#define COPSNROB_COLOR_BLUE 0
#define CO... | 29.35533 | 123 | 0.502162 | pierrelouys |
4ffdbcc4410954bf9c1056ef338595d6d3cbc325 | 4,189 | cpp | C++ | openni2_camera_param/src/openni2_video_mode.cpp | TimCraig/openni2_camera_param | c50cd11ffd39f950501b92e933cb4582195fdfee | [
"Apache-2.0"
] | null | null | null | openni2_camera_param/src/openni2_video_mode.cpp | TimCraig/openni2_camera_param | c50cd11ffd39f950501b92e933cb4582195fdfee | [
"Apache-2.0"
] | null | null | null | openni2_camera_param/src/openni2_video_mode.cpp | TimCraig/openni2_camera_param | c50cd11ffd39f950501b92e933cb4582195fdfee | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013, Willow Garage, 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 l... | 35.5 | 107 | 0.682263 | TimCraig |
8b0251e0815f45ac7959c762e99938257f43c20f | 1,968 | cpp | C++ | Assignment 5/Program 1.cpp | ANSEduGroup/collegecpp | 168050e59da7e8bffcc518f80c48dcf10459d0c4 | [
"MIT"
] | null | null | null | Assignment 5/Program 1.cpp | ANSEduGroup/collegecpp | 168050e59da7e8bffcc518f80c48dcf10459d0c4 | [
"MIT"
] | null | null | null | Assignment 5/Program 1.cpp | ANSEduGroup/collegecpp | 168050e59da7e8bffcc518f80c48dcf10459d0c4 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstring>
using namespace std;
class math
{
float a;
public:
void showchoice()
{
cout<<"Enter the no. :"<<endl;
cin>>a;
}
void display()
{
cout<<"Result is: "<<a<<endl;
}
math operator+(math b)
{
math c;
c.a=a+b.a;
... | 20.93617 | 58 | 0.446646 | ANSEduGroup |
8b039376e0acd58fbee66f3181dd21a42c9cdfc6 | 8,688 | cpp | C++ | Gameplay/entities/player/BulletController.cpp | AkitaInteractive/Hachiko-Engine | 9d682ed7e00e1f6b889e6e73afa36f290cfb2222 | [
"MIT"
] | 4 | 2022-02-17T11:44:39.000Z | 2022-03-10T02:20:05.000Z | Gameplay/entities/player/BulletController.cpp | AkitaInteractive/Hachiko-Engine | 9d682ed7e00e1f6b889e6e73afa36f290cfb2222 | [
"MIT"
] | 26 | 2022-02-17T20:02:51.000Z | 2022-03-31T22:52:14.000Z | Gameplay/entities/player/BulletController.cpp | AkitaInteractive/Hachiko-Engine | 9d682ed7e00e1f6b889e6e73afa36f290cfb2222 | [
"MIT"
] | null | null | null | #include "scriptingUtil/gameplaypch.h"
#include "constants/Scenes.h"
#include "entities/crystals/CrystalExplosion.h"
#include "entities/enemies/EnemyController.h"
#include "entities/player/PlayerController.h"
#include "entities/player/BulletController.h"
// TODO: Delete this include:
#include <modules/ModuleSceneMa... | 29.85567 | 176 | 0.753913 | AkitaInteractive |
8b03ace58b2cc624bc2d19b9c8f4ccbdd983c74e | 22,430 | hh | C++ | gecode/int/bool.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | gecode/int/bool.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | gecode/int/bool.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Christian Schulte, 2002
* Guido Tack, 2004
*
* This file is part of Gecode, the generic constraint
* development env... | 33.628186 | 105 | 0.664735 | Dekker1 |
8b0a657ff56a3e8a21c4ecce72638f139c323681 | 157,777 | cpp | C++ | src/blockchain_db/lmdb/db_lmdb.cpp | edo3/safexcore | 38cb06b3c5cb5554620728d565f9cc8b493730e7 | [
"BSD-3-Clause"
] | null | null | null | src/blockchain_db/lmdb/db_lmdb.cpp | edo3/safexcore | 38cb06b3c5cb5554620728d565f9cc8b493730e7 | [
"BSD-3-Clause"
] | null | null | null | src/blockchain_db/lmdb/db_lmdb.cpp | edo3/safexcore | 38cb06b3c5cb5554620728d565f9cc8b493730e7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018, The Safex Project
// 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
// cond... | 32.377796 | 390 | 0.694366 | edo3 |
8b0b0da02de1e86deb0d360f74b1da9471eb9f8b | 2,670 | cpp | C++ | 2-Queue-Implementation/mycode.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | 1 | 2019-06-24T11:34:23.000Z | 2019-06-24T11:34:23.000Z | 2-Queue-Implementation/mycode.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | null | null | null | 2-Queue-Implementation/mycode.cpp | InamTaj/data-structures | 7a662a8e635402bab3481d69d8df9164499da6b4 | [
"Apache-2.0"
] | 1 | 2020-11-23T03:28:52.000Z | 2020-11-23T03:28:52.000Z | #include <conio.h>
#include <iostream>
#include "myhead.h" //I included my header file
using namespace std;
void main() //Main function to test queue class
{
cout<<"\t\t\t>>Static Queue<<\n\n";
int opt; //opt variable to store option entered by user
int choice; //same purpose
char exit_var; //variabl... | 19.777778 | 116 | 0.535581 | InamTaj |
8b0bd49a72537c032edbfcd21e728d638eaefe6e | 6,612 | cc | C++ | tensorflow/core/util/ctc/ctc_beam_search_test.cc | vmalarcon/tensorflow | eda89e930cfcbd992ecacafd40267d733e2153dc | [
"Apache-2.0"
] | 21 | 2016-03-10T11:55:45.000Z | 2021-02-03T02:49:11.000Z | tensorflow/core/util/ctc/ctc_beam_search_test.cc | vmalarcon/tensorflow | eda89e930cfcbd992ecacafd40267d733e2153dc | [
"Apache-2.0"
] | null | null | null | tensorflow/core/util/ctc/ctc_beam_search_test.cc | vmalarcon/tensorflow | eda89e930cfcbd992ecacafd40267d733e2153dc | [
"Apache-2.0"
] | 39 | 2016-03-25T05:13:09.000Z | 2020-06-16T01:30:53.000Z | /* Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 36.530387 | 80 | 0.685874 | vmalarcon |
8b0c0f877c2b566ee9ca1de42c4baefa6b72b229 | 17,825 | cpp | C++ | Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | Marlin/src/lcd/extui/ftdi_eve_touch_ui/archim2-flash/flash_storage.cpp | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | /*********************
* flash_storage.cpp *
*********************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | 32.17509 | 106 | 0.622889 | tom-2273 |
8b0da6f5bb5e7aacdc5a96024a1023bd9a66ff39 | 1,644 | hpp | C++ | VSAnalysis/VSAAtmosphere.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | 1 | 2018-04-17T14:03:36.000Z | 2018-04-17T14:03:36.000Z | VSAnalysis/VSAAtmosphere.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | VSAnalysis/VSAAtmosphere.hpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSAAtmosphere.hpp
Integrated atmospheric thickness profile
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\version 0.1
\date 03/20/2006
*/
#ifndef VSAATMOSPHERE_... | 24.176471 | 77 | 0.600973 | sfegan |
8b0e3c85e195201394be0fe6d2ec33c39520eaf8 | 17,461 | cpp | C++ | libraries/ine-vm/tests/spec/br_if_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | libraries/ine-vm/tests/spec/br_if_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | libraries/ine-vm/tests/spec/br_if_tests.cpp | inery-blockchain/inery | 2823539f76a0debae22b6783781b1374c63a59d8 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <vector>
#include <iostream>
#include <iterator>
#include <cmath>
#include <cstdlib>
#include <catch2/catch.hpp>
#include <utils.hpp>
#include <wasm_config.hpp>
#include <inery/vm/backend.hpp>
using namespace inery;
using namespace inery::vm;
extern wasm_allocator wa;
BACKEND_TEST_CASE( ... | 60.839721 | 132 | 0.708722 | inery-blockchain |
8b133c6998479dd1857b6d030bc954a103772e3b | 2,442 | cpp | C++ | src/xray/fastdelegate/LocatorAPI_auth.cpp | ixray-team/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | 3 | 2021-10-30T09:36:14.000Z | 2022-03-26T17:00:06.000Z | src/xrCore/LocatorAPI_auth.cpp | Samsuper12/ixray-1.6 | 95b8ad458d4550118c7fbf34c5de872f3d1ca75e | [
"Linux-OpenIB"
] | null | null | null | src/xrCore/LocatorAPI_auth.cpp | Samsuper12/ixray-1.6 | 95b8ad458d4550118c7fbf34c5de872f3d1ca75e | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:08.000Z | 2022-03-26T17:00:08.000Z | #include "stdafx.h"
#pragma hdrstop
struct auth_options {
xr_vector<shared_str> ignore;
xr_vector<shared_str> important;
};
void auth_entry (void* p)
{
FS.auth_runtime (p);
}
void CLocatorAPI::auth_generate (xr_vector<shared_str>& ignore, xr_vector<shared_str>& important)
{
auth_options* ... | 21.610619 | 99 | 0.594185 | ixray-team |
8b14a033cbe45430150d86654f16be723a39cd52 | 5,040 | cpp | C++ | src/robobreizh/src/robobreizh/grasp_plotter.cpp | Maelic/robocup-at-home-2021-challenge | f074d92bf21ddb68c9a0507579738aa2a1d0d30c | [
"BSD-3-Clause-Clear"
] | null | null | null | src/robobreizh/src/robobreizh/grasp_plotter.cpp | Maelic/robocup-at-home-2021-challenge | f074d92bf21ddb68c9a0507579738aa2a1d0d30c | [
"BSD-3-Clause-Clear"
] | null | null | null | src/robobreizh/src/robobreizh/grasp_plotter.cpp | Maelic/robocup-at-home-2021-challenge | f074d92bf21ddb68c9a0507579738aa2a1d0d30c | [
"BSD-3-Clause-Clear"
] | null | null | null | #include <robobreizh/grasp_plotter.h>
GraspPlotter::GraspPlotter(ros::NodeHandle& node, const gpd::candidate::HandGeometry& params)
{
std::string rviz_topic;
node.param("rviz_topic", rviz_topic, std::string(""));
rviz_pub_ = node.advertise<visualization_msgs::MarkerArray>(rviz_topic, 1);
hand_depth_ = params... | 36.521739 | 134 | 0.719246 | Maelic |
8b187cfd6a3aae793a87fa9c099378bdf89ca2e9 | 15,092 | cpp | C++ | resources/sceneResources/src/4.advanced_opengl/5.1.framebuffers/framebuffers.cpp | SleepinWei/CG-project | 28f8cbb9ca1f82fbd8956eef59cd0ccf7667a65a | [
"Apache-2.0"
] | 3 | 2021-11-01T11:53:16.000Z | 2021-11-27T04:21:08.000Z | resources/sceneResources/src/4.advanced_opengl/5.1.framebuffers/framebuffers.cpp | SleepinWei/CG-project | 28f8cbb9ca1f82fbd8956eef59cd0ccf7667a65a | [
"Apache-2.0"
] | null | null | null | resources/sceneResources/src/4.advanced_opengl/5.1.framebuffers/framebuffers.cpp | SleepinWei/CG-project | 28f8cbb9ca1f82fbd8956eef59cd0ccf7667a65a | [
"Apache-2.0"
] | 4 | 2021-11-01T12:39:47.000Z | 2021-11-15T10:38:02.000Z | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <learnopengl/filesystem.h>
#include <learnopengl/shader_m.h>
#include <learnopengl/camera.h>
#include <learnopengl/model.h>
#include <iostream>... | 38.207595 | 160 | 0.607275 | SleepinWei |
8b18fb75115bca1e5f91c7c25ef3306d4dfbdd0c | 25,315 | cpp | C++ | src/SFML/Graphics/Image.cpp | darealshinji/SFML-1.6 | 6ded0374d982aec66d8be0a31fcbc5f0e4f357eb | [
"Zlib"
] | null | null | null | src/SFML/Graphics/Image.cpp | darealshinji/SFML-1.6 | 6ded0374d982aec66d8be0a31fcbc5f0e4f357eb | [
"Zlib"
] | null | null | null | src/SFML/Graphics/Image.cpp | darealshinji/SFML-1.6 | 6ded0374d982aec66d8be0a31fcbc5f0e4f357eb | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | 32.53856 | 140 | 0.512937 | darealshinji |
8b19ce9ed36344522bee684d287eee2c3bf8c026 | 4,314 | cpp | C++ | source/gui/extentions/text_combo_box.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/gui/extentions/text_combo_box.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null | source/gui/extentions/text_combo_box.cpp | zeplaz/s_liz_rz | 612ebd97be4d0624b967b1968c45f092ea1c8ddb | [
"MIT"
] | null | null | null |
#include "text_combo_box.hpp"
bool ImGui::identical(const char* buf, const char* item) {
size_t buf_size = strlen(buf);
size_t item_size = strlen(item);
//Check if the item length is shorter or equal --> exclude
if (buf_size >= item_size) return false;
for (int i = 0; i < strlen(buf); ++i)
// set the ... | 34.790323 | 163 | 0.679879 | zeplaz |
8b1c3f5b43771c1c83590bfdd6efebb2001b24fe | 65,354 | cpp | C++ | GCG_Source.build/module.chardet.euctwprober.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.chardet.euctwprober.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.chardet.euctwprober.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | /* Generated code for Python source for module 'chardet.euctwprober'
* 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 co... | 32.841206 | 235 | 0.720048 | Pckool |
8b1cd3aea0879a8a3ef3a63fe54d73081d4d7bb0 | 620 | cpp | C++ | cpp_sandbox/type_check/checker.cpp | kjgonzalez/codefiles | b86f25182d1b5553a331f8721dd06b51fa157c3e | [
"MIT"
] | null | null | null | cpp_sandbox/type_check/checker.cpp | kjgonzalez/codefiles | b86f25182d1b5553a331f8721dd06b51fa157c3e | [
"MIT"
] | 10 | 2019-10-01T20:48:15.000Z | 2020-04-14T18:21:09.000Z | cpp_sandbox/type_check/checker.cpp | kjgonzalez/codefiles | b86f25182d1b5553a331f8721dd06b51fa157c3e | [
"MIT"
] | null | null | null | /*
author: kris gonzalez
date: 190521
objective: have an overloaded function be able to return the type of a variable.
*/
#include <iostream>
#include <vector>
#include <string.h>
#include "typecheck.h"
int main(){
float a=1.5;
double b=1.6;
std::string s="yes";
printf("Type Checker:\n");
printf(... | 22.142857 | 80 | 0.604839 | kjgonzalez |
8b234c9c5eb546da78dbabd26cc4ce879d7f2c2c | 4,109 | cpp | C++ | Source/SystemQOR/MSWindows/WinQL/Application/Roles/WinQLCmdLineToolRole.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/SystemQOR/MSWindows/WinQL/Application/Roles/WinQLCmdLineToolRole.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/SystemQOR/MSWindows/WinQL/Application/Roles/WinQLCmdLineToolRole.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //WinQLCmdLineToolRole.cpp
// Copyright Querysoft Limited 2016
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmi... | 39.893204 | 125 | 0.654417 | mfaithfull |
8b2619e6919a48572ab13184d29513d53d60609c | 2,329 | cpp | C++ | lib/ocpp1_6/messages/TriggerMessage.cpp | EVerest/libocpp | e2378e4fcef88e4be82b057626086c899a186b14 | [
"Apache-2.0"
] | 9 | 2022-01-16T05:13:16.000Z | 2022-03-18T22:15:16.000Z | lib/ocpp1_6/messages/TriggerMessage.cpp | EVerest/libocpp | e2378e4fcef88e4be82b057626086c899a186b14 | [
"Apache-2.0"
] | null | null | null | lib/ocpp1_6/messages/TriggerMessage.cpp | EVerest/libocpp | e2378e4fcef88e4be82b057626086c899a186b14 | [
"Apache-2.0"
] | 3 | 2022-01-20T04:51:01.000Z | 2022-03-13T07:16:49.000Z | // SPDX-License-Identifier: Apache-2.0
// Copyright 2020 - 2022 Pionix GmbH and Contributors to EVerest
#include <ostream>
#include <string>
#include <boost/optional/optional.hpp>
#include <nlohmann/json.hpp>
#include <ocpp1_6/enums.hpp>
#include <ocpp1_6/messages/TriggerMessage.hpp>
#include <ocpp1_6/ocpp_types.hpp... | 30.246753 | 117 | 0.712323 | EVerest |
8b281adaa6ea211ae99917eb07163fd46a36ccbd | 78,751 | cpp | C++ | misc/JUCE/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | lysdexic-audio/gen-plugin-export | 35b1135880dce70bf7b75234bfe3b2b43217d6d1 | [
"MIT"
] | 180 | 2015-11-17T22:53:08.000Z | 2022-03-29T16:22:58.000Z | misc/JUCE/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | lysdexic-audio/gen-plugin-export | 35b1135880dce70bf7b75234bfe3b2b43217d6d1 | [
"MIT"
] | 14 | 2018-04-27T12:50:21.000Z | 2020-04-09T20:37:27.000Z | misc/JUCE/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | lysdexic-audio/gen-plugin-export | 35b1135880dce70bf7b75234bfe3b2b43217d6d1 | [
"MIT"
] | 30 | 2015-11-18T20:23:13.000Z | 2022-01-17T02:39:43.000Z | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the... | 34.969361 | 170 | 0.570736 | lysdexic-audio |
8b288016e8168c2334e658c7ef1f39f6aa73351e | 2,511 | cpp | C++ | Ruken/Source/Src/Vulkan/FencePool.cpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 6 | 2020-09-12T19:16:49.000Z | 2022-03-17T14:10:16.000Z | Ruken/Source/Src/Vulkan/FencePool.cpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 1 | 2021-11-15T10:13:17.000Z | 2021-11-15T10:13:17.000Z | Ruken/Source/Src/Vulkan/FencePool.cpp | BluTree/Ruken | 0c8e8d2f80d3e7fbf9138f1761b045dc682301ba | [
"MIT"
] | 3 | 2020-09-03T16:41:35.000Z | 2022-01-24T09:35:55.000Z | /*
* MIT License
*
* Copyright (c) 2019-2020 Basile Combet, Philippe Yi
*
* 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 ri... | 31 | 143 | 0.712863 | BluTree |
8b2b3c6f4c6600ba0d091e3ea5272729e411548b | 240 | cpp | C++ | C++/09_constructor_inheritance/main.cpp | de-souza/embedded-cpp-training | 370225ea95e5b61f52203761c01a8daaa0909fc0 | [
"Apache-2.0"
] | null | null | null | C++/09_constructor_inheritance/main.cpp | de-souza/embedded-cpp-training | 370225ea95e5b61f52203761c01a8daaa0909fc0 | [
"Apache-2.0"
] | null | null | null | C++/09_constructor_inheritance/main.cpp | de-souza/embedded-cpp-training | 370225ea95e5b61f52203761c01a8daaa0909fc0 | [
"Apache-2.0"
] | null | null | null | /* How inheritance affects class constructors and destructors. */
#include "parent.h"
#include "child.h"
#include <memory>
int main()
{
{auto pParent = std::make_unique<Parent>();}
{auto pChild = std::make_unique<Child>("Eve");}
}
| 21.818182 | 65 | 0.675 | de-souza |
8b2d194983e50be9eb453b65b9ee1306f93fabba | 14,104 | cpp | C++ | node_modules/node-sass/src/libsass/src/file.cpp | KJ-B/Aloha | 0d8bc1ed745963e5ec41be29b6429e7631181238 | [
"MIT"
] | 2 | 2018-11-15T09:17:44.000Z | 2018-11-19T05:39:33.000Z | node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/src/libsass/src/file.cpp | asadmanzoor93/laravel-basics | 186f973448d25006a1b418ff992fe003d0e944fb | [
"MIT"
] | null | null | null | node_modules/laravel-elixir/node_modules/gulp-sass/node_modules/node-sass/src/libsass/src/file.cpp | asadmanzoor93/laravel-basics | 186f973448d25006a1b418ff992fe003d0e944fb | [
"MIT"
] | null | null | null | #ifdef _WIN32
# ifdef __MINGW32__
# ifndef off64_t
# define off64_t _off64_t /* Workaround for http://sourceforge.net/p/mingw/bugs/2024/ */
# endif
# endif
# include <direct.h>
# define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
#else
# include <unistd.h>
#endif
#include "sass.hpp"
#include <iostream>
#include... | 33.661098 | 120 | 0.580686 | KJ-B |
8b2fad950a19a6a1b36325d2b98f0e6fba9ed1ab | 9,548 | cpp | C++ | core/raddi_database.cpp | raddinet/raddi | 87e4996dda8ccc0591ffecbd8d717a1a2947e8a9 | [
"MIT"
] | 39 | 2018-05-20T14:08:46.000Z | 2022-02-23T15:46:03.000Z | core/raddi_database.cpp | raddinet/raddi | 87e4996dda8ccc0591ffecbd8d717a1a2947e8a9 | [
"MIT"
] | null | null | null | core/raddi_database.cpp | raddinet/raddi | 87e4996dda8ccc0591ffecbd8d717a1a2947e8a9 | [
"MIT"
] | 3 | 2019-02-26T21:00:19.000Z | 2022-02-03T22:30:52.000Z | #include <windows.h>
#include <algorithm>
#include <cstring>
#include "raddi_database.h"
#include "raddi_database_row.h"
#include "raddi_database_shard.h"
#include "raddi_database_table.h"
#include "raddi_database_peerset.h"
#include "raddi_timestamp.h"
#include "raddi_channel.h"
#include "raddi_identity.h"
#include... | 36.030189 | 139 | 0.530897 | raddinet |
8b31f24ab5d8e5aa233944e8147c6b221383dfe9 | 12,612 | cpp | C++ | TongueQT/TongueQT/src/Vega/libraries/stvk/StVKInternalForces.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | 2 | 2020-03-28T03:15:49.000Z | 2020-09-09T02:54:33.000Z | TongueQT/TongueQT/src/Vega/libraries/stvk/StVKInternalForces.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | null | null | null | TongueQT/TongueQT/src/Vega/libraries/stvk/StVKInternalForces.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | 2 | 2020-09-08T19:28:19.000Z | 2021-07-25T00:35:26.000Z | /*************************************************************************
* *
* Vega FEM Simulation Library Version 2.2 *
* *
* "StVK" library , ... | 36.985337 | 281 | 0.576277 | lrkk1234 |
8b3320f2e670404b0e30608398a18cff95a91dae | 2,296 | cpp | C++ | linked list/Reverse a Linked List in groups of given size.cpp | BhavinRaichura/algo | 126f4063383a0942f6829a54090d72893ce188a4 | [
"MIT"
] | null | null | null | linked list/Reverse a Linked List in groups of given size.cpp | BhavinRaichura/algo | 126f4063383a0942f6829a54090d72893ce188a4 | [
"MIT"
] | null | null | null | linked list/Reverse a Linked List in groups of given size.cpp | BhavinRaichura/algo | 126f4063383a0942f6829a54090d72893ce188a4 | [
"MIT"
] | null | null | null | // GFG
// Reverse a Linked List in groups of given size
// Link : https://practice.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-given-size/1#
/*
Given a linked list of size N. The task is to reverse every k nodes (where k is an input to the function) in the linked list. If the number of nodes is not a... | 27.011765 | 292 | 0.59669 | BhavinRaichura |
8b358dc7a6aa6dc6ea23bcfa557231cf89115bbd | 1,513 | cpp | C++ | NGS/IO/Writer/uWriterBed4.cpp | NGS-lib/NGSplusplus | 7fa9fff2453917f24e9e35dab1f04a9be67f7f13 | [
"BSL-1.0"
] | 3 | 2015-11-23T14:24:06.000Z | 2017-11-21T21:04:06.000Z | NGS/IO/Writer/uWriterBed4.cpp | NGS-lib/NGSplusplus | 7fa9fff2453917f24e9e35dab1f04a9be67f7f13 | [
"BSL-1.0"
] | null | null | null | NGS/IO/Writer/uWriterBed4.cpp | NGS-lib/NGSplusplus | 7fa9fff2453917f24e9e35dab1f04a9be67f7f13 | [
"BSL-1.0"
] | null | null | null | // ***************************************************************************
// uWriterBed4.cpp (c) 2013
// Alexei Nordell-Markovits : Sherbrooke University
// Charles Joly Beauparlant : Laval University
//
// This file is part of the NGS++ library.
//
// The NGS++ library is free software: you can redistrib... | 32.891304 | 90 | 0.617317 | NGS-lib |
8b3679ce3ffd944dc1f097d4ba6c84bd282413bc | 920 | hpp | C++ | source/xyo/xyo-datastructures-ttransfer.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | source/xyo/xyo-datastructures-ttransfer.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | source/xyo/xyo-datastructures-ttransfer.hpp | g-stefan/xyo | e203cb699d6bba46eae6c8157f27ea29ab7506f1 | [
"MIT",
"Unlicense"
] | null | null | null | //
// XYO
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef XYO_DATASTRUCTURES_TTRANSFER_HPP
#define XYO_DATASTRUCTURES_TTRANSFER_HPP
namespace XYO {
namespace DataSt... | 21.904762 | 94 | 0.651087 | g-stefan |
8b38e0e43f371163d282a9583819df65f79aafde | 1,701 | hpp | C++ | examples/tsp/src/multi_obj/heuristics/greedy_tour.hpp | ceandrade/brkga_mp_ipr | a79886d4d439eb1cc4f803877f40489ab7612366 | [
"MIT"
] | null | null | null | examples/tsp/src/multi_obj/heuristics/greedy_tour.hpp | ceandrade/brkga_mp_ipr | a79886d4d439eb1cc4f803877f40489ab7612366 | [
"MIT"
] | null | null | null | examples/tsp/src/multi_obj/heuristics/greedy_tour.hpp | ceandrade/brkga_mp_ipr | a79886d4d439eb1cc4f803877f40489ab7612366 | [
"MIT"
] | null | null | null | /******************************************************************************
* greedy_tour.hpp: Interface for greedy_tour heuristic.
*
* Created on : Mar 06, 2019 by andrade
* Last update: Mar 06, 2019 by andrade
*
* (c) Copyright 2015-2022, Carlos Eduardo de Andrade.
* All Rights Reserved.
*
* This code is... | 40.5 | 83 | 0.687243 | ceandrade |
8b3918ab1b34cdaa0c904ce58ed1324d2fee63f2 | 1,640 | cpp | C++ | Userland/Applications/ClockSettings/main.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | 2 | 2022-02-16T02:12:38.000Z | 2022-02-20T18:40:41.000Z | Userland/Applications/ClockSettings/main.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/ClockSettings/main.cpp | Anon1428/serenity | 0daf5cc434e7a998da15330bd8b4d46ae1759485 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2022, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "ClockSettingsWidget.h"
#include "TimeZoneSettingsWidget.h"
#include <LibConfig/Client.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/System.h>
#include <LibGUI/Application.h>
#include <LibGUI/... | 34.166667 | 115 | 0.697561 | Anon1428 |
8b39fc51766daf80d2e12efa9a38532c71b0e3e6 | 9,145 | cpp | C++ | Blizzlike/Trinity/Scripts/Dungeons/DraktharonKeep/boss_dred.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/Trinity/Scripts/Dungeons/DraktharonKeep/boss_dred.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/Trinity/Scripts/Dungeons/DraktharonKeep/boss_dred.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | 29.983607 | 116 | 0.502351 | 499453466 |
8b3aab681ffa7d03df0c66b19ded5d5b12531b3d | 35,373 | cpp | C++ | ColorImageProcessingPipelineSimulation/Unit1.cpp | yanhongwang/ColorImageProcessingPipeline | 87b584442ed5e2ea9cfbc27eada5067cd1c2e601 | [
"MIT"
] | 2 | 2016-06-29T06:54:35.000Z | 2021-01-07T11:56:02.000Z | ColorImageProcessingPipelineSimulation/Unit1.cpp | yanhongwang/ColorImageProcessingPipeline | 87b584442ed5e2ea9cfbc27eada5067cd1c2e601 | [
"MIT"
] | null | null | null | ColorImageProcessingPipelineSimulation/Unit1.cpp | yanhongwang/ColorImageProcessingPipeline | 87b584442ed5e2ea9cfbc27eada5067cd1c2e601 | [
"MIT"
] | 1 | 2016-01-17T09:51:12.000Z | 2016-01-17T09:51:12.000Z |
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "RGBCIELAB.h"
#include "bmp.h"
#include "edge.h"
#include "Interpolation.h"
#include "AutoLevel.h"
#include "AutoWhiteBalance.h"
#include "Utility.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
... | 33.624525 | 158 | 0.532468 | yanhongwang |
8b407dfe76e35987d2378aae616ad126f7af6699 | 4,085 | cpp | C++ | login.cpp | kudryafuka/Software-Engineering-Fundamentals-Course-Homework- | 441a7d4c419b25c1e779156e39f37735cb954fa8 | [
"MIT"
] | null | null | null | login.cpp | kudryafuka/Software-Engineering-Fundamentals-Course-Homework- | 441a7d4c419b25c1e779156e39f37735cb954fa8 | [
"MIT"
] | null | null | null | login.cpp | kudryafuka/Software-Engineering-Fundamentals-Course-Homework- | 441a7d4c419b25c1e779156e39f37735cb954fa8 | [
"MIT"
] | null | null | null | #include "login.h"
#include "ui_login.h"
#include "QMessageBox"
#include <QButtonGroup>
#include <QDebug>
#include<QFile>
#include<QFileDialog>
#include<QDir>
#include<QTextStream>
#include <QPlainTextEdit>
#include <QTextStream>
#include <QDir>
#include <iostream>
using namespace std;
Login::Login(QWid... | 26.875 | 96 | 0.554223 | kudryafuka |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.